blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
721
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
57
| license_type
stringclasses 2
values | repo_name
stringlengths 5
91
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 321
values | visit_date
timestamp[ns]date 2016-08-12 09:31:09
2023-09-06 10:45:07
| revision_date
timestamp[ns]date 2010-09-28 14:01:40
2023-09-06 06:22:19
| committer_date
timestamp[ns]date 2010-09-28 14:01:40
2023-09-06 06:22:19
| github_id
int64 426
681M
| star_events_count
int64 101
243k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 23
values | gha_event_created_at
timestamp[ns]date 2012-06-28 18:51:49
2023-09-14 21:59:16
⌀ | gha_created_at
timestamp[ns]date 2008-02-11 22:55:26
2023-08-10 11:14:58
⌀ | gha_language
stringclasses 147
values | src_encoding
stringclasses 26
values | language
stringclasses 2
values | is_vendor
bool 2
classes | is_generated
bool 2
classes | length_bytes
int64 6
10.2M
| extension
stringclasses 115
values | filename
stringlengths 3
113
| content
stringlengths 6
10.2M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
412576b135bfd4452915cb3109471aca484984f6
|
37a06095ec3cbb1891a29e9959fc3d500bb3a6dc
|
/getln2.c
|
c3bf79aeaaf900bf775cf7fa25bf08ac4c0cdf9c
|
[
"LicenseRef-scancode-public-domain"
] |
permissive
|
notqmail/notqmail
|
bb5e9b2c6b2e8b5d38e87ebc6dc6c59663720ca0
|
1fd3f91cf93e96be9bc9b8c6e7babc769fda359d
|
refs/heads/master
| 2023-08-30T21:17:49.742353
| 2020-06-17T17:37:59
| 2022-11-15T13:11:47
| 195,577,352
| 294
| 31
|
NOASSERTION
| 2022-11-16T16:28:19
| 2019-07-06T19:46:51
|
C
|
UTF-8
|
C
| false
| false
| 692
|
c
|
getln2.c
|
#include "substdio.h"
#include "stralloc.h"
#include "byte.h"
#include "getln.h"
int getln2(substdio *ss, stralloc *sa,
/*@out@*/char **cont, /*@out@*/unsigned int *clen,
int sep)
{
char *x;
unsigned int i;
if (!stralloc_ready(sa,0)) return -1;
sa->len = 0;
for (;;) {
ssize_t n, m;
n = substdio_feed(ss);
if (n < 0) return -1;
if (n == 0) { *clen = 0; return 0; }
x = substdio_PEEK(ss);
i = byte_chr(x,n,sep);
if (i < n) { substdio_SEEK(ss,*clen = i + 1); *cont = x; return 0; }
if (!stralloc_readyplus(sa,n)) return -1;
i = sa->len;
m = substdio_get(ss,sa->s + i,n);
if (m != -1)
sa->len = i + m;
}
}
|
211771c37e19e643c89b52fd93f5c3cce46648df
|
35c04ea32351dc95bc18d46e5c70dda9c1e08668
|
/Examples/CodeWarrior/FRDM-KL25Z/Freedom_Radio/Sources/Radio.h
|
24e84937ba3726f9cf2d43f2977cfe2b44e8a204
|
[
"LicenseRef-scancode-warranty-disclaimer"
] |
no_license
|
ErichStyger/mcuoneclipse
|
0f8e7a2056a26ed79d9d4a0afd64777ff0b2b2fe
|
04ad311b11860ae5f8285316010961a87fa06d0c
|
refs/heads/master
| 2023-08-28T22:54:08.501719
| 2023-08-25T15:11:44
| 2023-08-25T15:11:44
| 7,446,094
| 620
| 1,191
|
NOASSERTION
| 2020-10-16T03:13:28
| 2013-01-04T19:38:12
|
Batchfile
|
UTF-8
|
C
| false
| false
| 1,594
|
h
|
Radio.h
|
/**
* \file
* \brief Radio Module
* \author Erich Styger, erich.styger@hslu.ch
*
* Interface to handle everything around the radio transceiver
*/
#ifndef RADIO_H_
#define RADIO_H_
#include "Platform.h"
#if PL_HAS_RADIO
#if 0
#include "FSSH1.h"
#include "SMAC1.h"
#endif
#include "Event.h"
/*! \brief Event called in case of radio transceiver reset */
void RADIO_ResetIndication(void);
/*!
* \brief Event called on reception of a data packet
* \param[in] sRxPacket Pointer to the data packet received
*/
void RADIO_DataIndicationPacket(tRxPacket *sRxPacket);
#if 0
/*!
* \brief Parses a command
* \param cmd Command string to be parsed
* \param handled Sets this variable to TRUE if command was handled
* \param io I/O stream to be used for input/output
* \return Error code, ERR_OK if everything was fine
*/
uint8_t RADIO_ParseCommand(const unsigned char *cmd, bool *handled, const FSSH1_StdIOType *io);
#endif
/*!
* \brief Event handler for Radio events. Needs to be called as part of the normal event handling
* \param[in] event Event to be processed
*/
void RADIO_AppHandleEvent(EVNT_Handle event);
/*! \brief Handler to deal with the Radio state machine. Needs to be called periodically to advance the state machine */
void RADIO_Handle(void);
/*!
* \brief Sends a data packet trough the Radio
* \param[in] data Data to be sent (binary), zero terminated
*/
void RADIO_SendString(const char *data);
void RADIO_SendStringRaw(const char *data);
/*! \brief Radio driver initialization */
void RADIO_Init(void);
#endif /* PL_HAS_RADIO */
#endif /* RADIO_H_ */
|
8c56a80bf1db918f2e3dd50e53aab2a75a268e2e
|
ae31542273a142210a1ff30fb76ed9d45d38eba9
|
/src/include/utils/sync_guc_name.h
|
3baa5ddc0fb852205e1ea50cbbfcb71ced5431e5
|
[
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"PostgreSQL",
"OpenSSL",
"LicenseRef-scancode-stream-benchmark",
"ISC",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-ssleay-windows",
"BSD-2-Clause",
"Python-2.0"
] |
permissive
|
greenplum-db/gpdb
|
8334837bceb2d5d51a684500793d11b190117c6a
|
2c0f8f0fb24a2d7a7da114dc80f5f5a2712fca50
|
refs/heads/main
| 2023-08-22T02:03:03.806269
| 2023-08-21T22:59:53
| 2023-08-22T01:17:10
| 44,781,140
| 6,417
| 2,082
|
Apache-2.0
| 2023-09-14T20:33:42
| 2015-10-23T00:25:17
|
C
|
UTF-8
|
C
| false
| false
| 5,098
|
h
|
sync_guc_name.h
|
/* items in this file should be ordered */
"allow_in_place_tablespaces",
"allow_segment_DML",
"allow_system_table_mods",
"array_nulls",
"backend_flush_after",
"backslash_quote",
"bytea_output",
"client_min_messages",
"commit_delay",
"commit_siblings",
"coredump_on_memerror",
"DateStyle",
"Debug_appendonly_print_append_block",
"debug_appendonly_print_blockdirectory",
"debug_appendonly_print_compaction",
"debug_appendonly_print_datumstream",
"debug_appendonly_print_delete",
"debug_appendonly_print_insert",
"debug_appendonly_print_insert_tuple",
"Debug_appendonly_print_read_block",
"debug_appendonly_print_scan",
"debug_appendonly_print_scan_tuple",
"debug_appendonly_print_segfile_choice",
"debug_appendonly_print_storage_headers",
"debug_appendonly_print_verify_write_block",
"debug_appendonly_print_visimap",
"debug_appendonly_use_no_toast",
"default_table_access_method",
"default_tablespace",
"dml_ignore_target_partition_check",
"execute_pruned_plan",
"explain_memory_verbosity",
"force_parallel_mode",
"gin_fuzzy_search_limit",
"gin_pending_list_limit",
"gp_allow_date_field_width_5digits",
"gp_appendonly_compaction",
"gp_appendonly_compaction_threshold",
"gp_appendonly_verify_block_checksums",
"gp_appendonly_verify_write_block",
"gp_blockdirectory_entry_min_range",
"gp_blockdirectory_minipage_size",
"gp_debug_linger",
"gp_default_storage_options",
"gp_disable_tuple_hints",
"gp_enable_interconnect_aggressive_retry",
"gp_enable_segment_copy_checking",
"gp_external_enable_filter_pushdown",
"gp_hashjoin_tuples_per_bucket",
"gp_ignore_error_table",
"gp_indexcheck_insert",
"gp_initial_bad_row_limit",
"gp_interconnect_address_type",
"gp_interconnect_cache_future_packets",
"gp_interconnect_debug_retry_interval",
"gp_interconnect_default_rtt",
"gp_interconnect_fc_method",
"gp_interconnect_full_crc",
"gp_interconnect_log_stats",
"gp_interconnect_min_retries_before_timeout",
"gp_interconnect_min_rto",
"gp_interconnect_proxy_addresses",
"gp_interconnect_queue_depth",
"gp_interconnect_setup_timeout",
"gp_interconnect_snd_queue_depth",
"gp_interconnect_tcp_listener_backlog",
"gp_interconnect_timer_checking_period",
"gp_interconnect_timer_period",
"gp_interconnect_transmit_timeout",
"gp_interconnect_type",
"gp_log_endpoints",
"gp_log_interconnect",
"gp_log_resgroup_memory",
"gp_log_resqueue_memory",
"gp_log_stack_trace_lines",
"gp_log_suboverflow_statement",
"gp_max_packet_size",
"gp_motion_slice_noop",
"gp_quicklz_fallback",
"gp_resgroup_debug_wait_queue",
"gp_resgroup_memory_policy_auto_fixed_mem",
"gp_resqueue_memory_policy_auto_fixed_mem",
"gp_resqueue_print_operator_memory_limits",
"gp_select_invisible",
"gp_sessionstate_loglevel",
"gp_snapshotadd_timeout",
"gp_udp_bufsize_k",
"gp_udpic_dropacks_percent",
"gp_udpic_dropseg",
"gp_udpic_dropxmit_percent",
"gp_udpic_fault_inject_bitmap",
"gp_udpic_fault_inject_percent",
"gp_udpic_network_disable_ipv6",
"gp_workfile_caching_loglevel",
"gp_workfile_compression",
"gp_workfile_limit_files_per_query",
"gp_workfile_limit_per_query",
"gp_write_shared_snapshot",
"ignore_checksum_failure",
"ignore_system_indexes",
"IntervalStyle",
"jit",
"jit_above_cost",
"jit_debugging_support",
"jit_dump_bitcode",
"jit_expressions",
"jit_inline_above_cost",
"jit_optimize_above_cost",
"jit_profiling_support",
"jit_tuple_deforming",
"lc_messages",
"lc_monetary",
"lc_numeric",
"lc_time",
"lock_timeout",
"log_btree_build_stats",
"log_dispatch_stats",
"log_duration",
"log_error_verbosity",
"log_executor_stats",
"log_min_duration_statement",
"log_min_error_statement",
"log_min_messages",
"log_statement_stats",
"maintenance_work_mem",
"max_parallel_workers_per_gather",
"max_statement_mem",
"memory_profiler_dataset_id",
"memory_profiler_dataset_size",
"memory_profiler_query_id",
"memory_profiler_run_id",
"optimize_bounded_sort",
"optimizer_jit_above_cost",
"optimizer_jit_inline_above_cost",
"optimizer_jit_optimize_above_cost",
"pljava_classpath",
"pljava_release_lingering_savepoints",
"pljava_statement_cache_size",
"pljava_vmoptions",
"readable_external_table_timeout",
"row_security",
"search_path",
"seed",
"statement_mem",
"statement_timeout",
"stats_queue_level",
"synchronize_seqscans",
"tcp_keepalives_count",
"tcp_keepalives_idle",
"tcp_keepalives_interval",
"tcp_user_timeout",
"temp_buffers",
"temp_tablespaces",
"test_copy_qd_qe_split",
"TimeZone",
"timezone_abbreviations",
"trace_syncscan",
"vacuum_cleanup_index_scale_factor",
"vacuum_cost_delay",
"vacuum_cost_page_dirty",
"vacuum_cost_page_hit",
"vacuum_cost_page_miss",
"vacuum_freeze_min_age",
"vacuum_freeze_table_age",
"vacuum_multixact_freeze_min_age",
"vacuum_multixact_freeze_table_age",
"verify_gpfdists_cert",
"vmem_process_interrupt",
"wal_debug",
"wal_sender_timeout",
"work_mem",
"zero_damaged_pages",
|
d657ce2a45b56ee727e084f59a319f0d5f76ed90
|
909095842af0bbf2e769aff361b5af344abc7433
|
/engine/source/2d/assets/ParticleAsset_ScriptBinding.h
|
98ab3670af667a261ad772c6f5cbbfbce41f4f28
|
[
"MIT"
] |
permissive
|
TorqueGameEngines/Torque2D
|
316105e8b91cebf8660ff43871440e1c4d0b1c5e
|
2c555d6dd0172a05ddb6a14f014d22f335b4ccad
|
refs/heads/master
| 2023-09-01T02:22:53.663431
| 2023-05-02T20:45:37
| 2023-05-02T20:45:37
| 268,352,960
| 1,001
| 117
|
MIT
| 2023-05-02T20:19:19
| 2020-05-31T19:51:55
|
C
|
UTF-8
|
C
| false
| false
| 17,699
|
h
|
ParticleAsset_ScriptBinding.h
|
//-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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.
//-----------------------------------------------------------------------------
ConsoleMethodGroupBeginWithDocs(ParticleAsset, AssetBase)
//-----------------------------------------------------------------------------
/// Particle asset accessors.
//-----------------------------------------------------------------------------
/*! Sets the life-mode of the particle effect.
@param lifeMode The life-mode of the particle effect (either INFINITE, CYCLE, KILL or STOP.
A life-mode of INFINITE causes the particle effect to last forever.
A life-mode of CYCLE causes the particle effect to restart playing when its specified 'lifetime' has been reached.
A life-mode of KILL causes the particle effect to be deleted when its specified 'lifetime' has been reached.
A life-mode of STOP causes the particle effect to stop playing (but not be deleted) when its specified lifetime has been reached.
@return No return value.
*/
ConsoleMethodWithDocs(ParticleAsset, setLifeMode, ConsoleVoid, 3, 3, (lifeMode))
{
object->setLifeMode( ParticleAsset::getParticleAssetLifeModeEnum( argv[2] ) );
}
//-----------------------------------------------------------------------------
/*! Gets the life-mode of the particle effect.
@return The life-mode of the particle effect.
*/
ConsoleMethodWithDocs( ParticleAsset, getLifeMode, ConsoleString, 2, 2, ())
{
return ParticleAsset::getParticleAssetLifeModeDescription( object->getLifeMode() );
}
//-----------------------------------------------------------------------------
/*! Sets the lifetime of the particle effect.
@param lifeTime The lifetime of the particle effect. This is used according to the 'lifeMode' setting.
@return No return value.
*/
ConsoleMethodWithDocs(ParticleAsset, setLifetime, ConsoleVoid, 3, 3, (lifeTime))
{
object->setLifetime( dAtof(argv[2]) );
}
//-----------------------------------------------------------------------------
/*! Gets the lifetime of the particle effect.
@return The lifetime of the particle effect.
*/
ConsoleMethodWithDocs(ParticleAsset, getLifetime, ConsoleFloat, 2, 2, ())
{
return object->getLifetime();
}
//-----------------------------------------------------------------------------
/// Particle asset fields.
//-----------------------------------------------------------------------------
/*! Gets the number of available selectable fields.
@return The number of available selectable fields.
*/
ConsoleMethodWithDocs(ParticleAsset, getSelectableFieldCount, ConsoleInt, 2, 2, ())
{
return object->getParticleFields().getFields().size();
}
//-----------------------------------------------------------------------------
/*! Gets the selectable field at the specified index.
@return The selectable field name at the specified index.
*/
ConsoleMethodWithDocs(ParticleAsset, getSelectableFieldName, ConsoleString, 3, 3, (fieldIndex))
{
// Fetch the field hash.
const ParticleAssetFieldCollection::typeFieldHash& fieldHash = object->getParticleFields().getFields();
// Fetch the index.
S32 fieldIndex = dAtoi( argv[2] );
// Is the field index valid?
if ( fieldIndex >= 0 && fieldIndex < (S32)fieldHash.size() )
{
// Yes, but because the fields are in a hash-table, we'll have to iterate and get O(index).
for( ParticleAssetFieldCollection::typeFieldHash::const_iterator fieldItr = fieldHash.begin(); fieldItr != fieldHash.end(); ++fieldItr, --fieldIndex )
{
// Skip if this is not the field index we're looking for?
if ( fieldIndex != 0 )
continue;
// Found it so return the field name.
return fieldItr->value->getFieldName();
}
}
// Warn.
Con::warnf( "ParticleAsset::getSelectableFieldName() - Index '%d' is out of range.", fieldIndex );
return StringTable->EmptyString;
}
//-----------------------------------------------------------------------------
/*! Select the specified field by its name.
@param fieldName The field name to use for the selection. Use an empty name to deselect to stop accidental changes.
@return Whether the field was successfully selected or not.
*/
ConsoleMethodWithDocs(ParticleAsset, selectField, ConsoleBool, 3, 3, (fieldName))
{
return object->getParticleFields().selectField( argv[2] ) != NULL;
}
//-----------------------------------------------------------------------------
/*! Deselect any selected field. If no field is selected then nothing happens.
@return No return value.
*/
ConsoleMethodWithDocs(ParticleAsset, deselectField, ConsoleVoid, 2, 2, ())
{
object->getParticleFields().deselectField();
}
//-----------------------------------------------------------------------------
/*! Gets the selected field name or nothing if no field is selected.
@return The selected field name or nothing if no fields is selected.
*/
ConsoleMethodWithDocs(ParticleAsset, getSelectedField, ConsoleString, 2, 2, ())
{
// Get the selected field.
const ParticleAssetField* pParticleAssetField = object->getParticleFields().getSelectedField();
return pParticleAssetField == NULL ? StringTable->EmptyString : pParticleAssetField->getFieldName();
}
//-----------------------------------------------------------------------------
/*! Sets a single data-key at time-zero with the specified value. All existing keys are cleared.
@param value The value to set the key to.
@return Returns the index of the new data-key (always zero) or -1 on failure.
*/
ConsoleMethodWithDocs(ParticleAsset, setSingleDataKey, ConsoleInt, 3, 3, (value))
{
return object->getParticleFields().setSingleDataKey( dAtof(argv[2]) );
}
//-----------------------------------------------------------------------------
/*! Add Data-Key to Graph.
@param time The key time.
@param value The value at specified time
@return Returns the index of the new data-key or -1 on failure.
*/
ConsoleMethodWithDocs(ParticleAsset, addDataKey, ConsoleInt, 4, 4, (time, value))
{
return object->getParticleFields().addDataKey( dAtof(argv[2]), dAtof(argv[3]) );
}
//-----------------------------------------------------------------------------
/*! Remove the data-key from the field.
@param keyIndex The index of the data-key you want to remove.
@return Whether the operation was successful or not.
*/
ConsoleMethodWithDocs(ParticleAsset, removeDataKey, ConsoleBool, 3, 3, (keyIndex))
{
return object->getParticleFields().removeDataKey( dAtoi(argv[2]) );
}
//-----------------------------------------------------------------------------
/*! Clears all data-key(s) from the field.
@return Whether the operation was successful or not.
*/
ConsoleMethodWithDocs(ParticleAsset, clearDataKeys, ConsoleBool, 2, 2, ())
{
return object->getParticleFields().clearDataKeys();
}
//-----------------------------------------------------------------------------
/*! Set data-key value for the field.
@param keyIndex The index of the key to be modified.
@param value The value to change the key to.
@return Whether the operation was successful or not.
*/
ConsoleMethodWithDocs(ParticleAsset, setDataKeyValue, ConsoleBool, 4, 4, (keyIndex, value))
{
// Set Data Key.
return object->getParticleFields().setDataKey( dAtoi(argv[2]), dAtof(argv[3]) );
}
//-----------------------------------------------------------------------------
/*! Gets the data-key count.
@return The number of data-keys in the currently selected field or -1 if no field is selected.
*/
ConsoleMethodWithDocs(ParticleAsset, getDataKeyCount, ConsoleInt, 2, 2, ())
{
// Get Data Key Count.
return object->getParticleFields().getDataKeyCount();
}
//-----------------------------------------------------------------------------
/*! Gets the data-key at the specified index from the field.
@param keyIndex The index of the data-key to be retrieved.
@return The data-key comprising both the time and value or nothing if the key is invalid.
*/
ConsoleMethodWithDocs(ParticleAsset, getDataKey, ConsoleString, 3, 3, (keyIndex))
{
// Fetch the key index.
const S32 keyIndex = dAtoi(argv[2]);
// Fetch the data-key.
const ParticleAssetField::DataKey dataKey = object->getParticleFields().getDataKey( keyIndex );
// Finish if the data-key is bad.
if ( dataKey == ParticleAssetField::BadDataKey )
return StringTable->EmptyString;
// Create Returnable Buffer.
char* pBuffer = Con::getReturnBuffer(32);
// Format Buffer.
dSprintf(pBuffer, 32, "%f %f", dataKey.mTime, dataKey.mValue );
// Return buffer.
return pBuffer;
}
//-----------------------------------------------------------------------------
/*! Get the minimum value for the field.
@return The minimum value for the field or always 0.0 if no field is selected.
*/
ConsoleMethodWithDocs(ParticleAsset, getMinValue, ConsoleFloat, 2, 2, ())
{
return object->getParticleFields().getMinValue();
}
//-----------------------------------------------------------------------------
/*! Get the maximum value for the field.
@return The maximum value for the field or always 0.0 if no field is selected.
*/
ConsoleMethodWithDocs(ParticleAsset, getMaxValue, ConsoleFloat, 2, 2, ())
{
return object->getParticleFields().getMaxValue();
}
//-----------------------------------------------------------------------------
/*! Get the minimum time for the field.
@return The minimum time for the field or always 0.0 if no field is selected.
*/
ConsoleMethodWithDocs(ParticleAsset, getMinTime, ConsoleFloat, 2, 2, ())
{
return object->getParticleFields().getMinTime();
}
//-----------------------------------------------------------------------------
/*! Get the maximum time for the field.
@return The maximum time for the field or always 0.0 if no field is selected.
*/
ConsoleMethodWithDocs(ParticleAsset, getMaxTime, ConsoleFloat, 2, 2, ())
{
return object->getParticleFields().getMaxTime();
}
//-----------------------------------------------------------------------------
/*! Get the fields' value at the specified time.
@param time The time to sample the field value at.
@return The fields' value at the specified time or always 0.0 if no field is selected.
*/
ConsoleMethodWithDocs(ParticleAsset, getFieldValue, ConsoleFloat, 3, 3, (time))
{
return object->getParticleFields().getFieldValue( dAtof(argv[2]) );
}
//-----------------------------------------------------------------------------
/*! Sets the time period to repeat (cycle) the fields' values at.
@return Whether the operation was successful or not.
*/
ConsoleMethodWithDocs(ParticleAsset, setRepeatTime, ConsoleBool, 3, 3, (repeatTime))
{
return object->getParticleFields().setRepeatTime( dAtof(argv[2]) );
}
//-----------------------------------------------------------------------------
/*! Gets the time period that the fields' value repeat (cycle) at.
@return The time period that the fields' value repeat (cycle) at.
*/
ConsoleMethodWithDocs(ParticleAsset, getRepeatTime, ConsoleFloat, 2, 2, ())
{
return object->getParticleFields().getRepeatTime();
}
//-----------------------------------------------------------------------------
/*! Set the scaling of field values retrieved from the field. This does not alter the actual data-key values.
@param valueScale The scale for field values retrieved from the field.
@return Whether the operation was successful or not.
*/
ConsoleMethodWithDocs(ParticleAsset, setValueScale, ConsoleBool, 3, 3, (valueScale))
{
return object->getParticleFields().setValueScale( dAtof(argv[2]) );
}
//-----------------------------------------------------------------------------
/*! Gets the scaling of field values' retrieved from the field.
@return The scaling of field values' retrieved from the field.
*/
ConsoleMethodWithDocs(ParticleAsset, getValueScale, ConsoleFloat, 2, 2, ())
{
return object->getParticleFields().getValueScale();
}
//-----------------------------------------------------------------------------
/// Emitter asset methods.
//-----------------------------------------------------------------------------
/*! Creates and add a new emitter.
@return The new emitter that was added or 0 if failed.
*/
ConsoleMethodWithDocs(ParticleAsset, createEmitter, ConsoleString, 2, 2, ())
{
// Find the emitter.
ParticleAssetEmitter* pEmitter = object->createEmitter();
return pEmitter == NULL ? StringTable->EmptyString : pEmitter->getIdString();
}
//-----------------------------------------------------------------------------
/*! Adds an existing emitter.
@param emitterId The emitter to add.
@return On success it returns the ID of the emitter, or 0 if failed.
*/
ConsoleMethodWithDocs(ParticleAsset, addEmitter, ConsoleBool, 3, 3, (emitterId))
{
// Find the emitter.
ParticleAssetEmitter* pEmitter = Sim::findObject<ParticleAssetEmitter>( argv[2] );
// Did we find the emitter?
if ( pEmitter == NULL )
{
// No, so warn.
Con::warnf( "ParticleAsset::addEmitter() - Could not find the emitter '%s'.", argv[2] );
return false;
}
return object->addEmitter(pEmitter);
}
//-----------------------------------------------------------------------------
/*! Removes an emitter.
@param emitterId The emitter to remove.
@return No return value.
*/
ConsoleMethodWithDocs(ParticleAsset, removeEmitter, ConsoleBool, 3, 4, (emitterId, [bool deleteEmitter]))
{
// Find the emitter.
ParticleAssetEmitter* pEmitter = Sim::findObject<ParticleAssetEmitter>( argv[2] );
// Did we find the emitter?
if ( pEmitter == NULL )
{
// No, so warn.
Con::warnf( "ParticleAsset::removeEmitter() - Could not find the emitter '%s'.", argv[2] );
return false;
}
bool deleteEmitter = true;
if (argc > 3)
deleteEmitter = dAtob(argv[3]);
// Remove the emitter.
object->removeEmitter( pEmitter, deleteEmitter );
return true;
}
//-----------------------------------------------------------------------------
/*! Clear all the emitters.
@return No return Value.
*/
ConsoleMethodWithDocs(ParticleAsset, clearEmitters, ConsoleVoid, 2, 2, ())
{
// Clear Emitters.
object->clearEmitters();
}
//-----------------------------------------------------------------------------
/*! Gets the emitter count.
@return Returns the number of emitters as an integer.
*/
ConsoleMethodWithDocs(ParticleAsset, getEmitterCount, ConsoleInt, 2, 2, ())
{
// Get Emitter Count.
return object->getEmitterCount();
}
//-----------------------------------------------------------------------------
/*! Gets the emitter at the specified index.
@param emitterIndex The index for the desired emitter
@return The emitter or 0 if not found.
*/
ConsoleMethodWithDocs(ParticleAsset, getEmitter, ConsoleInt, 3, 3, (emitterIndex))
{
// Get the emitter.
ParticleAssetEmitter* pEmitter = object->getEmitter( dAtoi(argv[2]) );
return pEmitter == NULL ? 0 : pEmitter->getId();
}
//-----------------------------------------------------------------------------
/*! Finds the emitter by its name.
@param emitterName The name of the desired emitter.
@return The emitter or 0 if not found.
*/
ConsoleMethodWithDocs(ParticleAsset, findEmitter, ConsoleInt, 3, 3, (emitterName))
{
// Find the emitter.
ParticleAssetEmitter* pEmitter = object->findEmitter( argv[2] );
return pEmitter == NULL ? 0 : pEmitter->getId();
}
//-----------------------------------------------------------------------------
/*! Moves the emitter order.
@param fromEmitterIndex The source index of the emitter to move.
@param toEmitterIndex The destination index to move the emitter to.
@return No return value.
*/
ConsoleMethodWithDocs(ParticleAsset, moveEmitter, ConsoleVoid, 4, 4, (fromEmitterIndex, toEmitterIndex))
{
// Move Emitter Object.
object->moveEmitter( dAtoi(argv[2]), dAtoi(argv[3]) );
}
ConsoleMethodGroupEndWithDocs(ParticleAsset)
|
644e8dadb6c25087e88050fea649df48efc633ac
|
167c6226bc77c5daaedab007dfdad4377f588ef4
|
/cpp/ql/src/Likely Bugs/Conversion/ImplicitDowncastFromBitfield.c
|
4fce71d425964640485b53c5bcca633ac1c4d8eb
|
[
"MIT"
] |
permissive
|
github/codeql
|
1eebb449a34f774db9e881b52cb8f7a1b1a53612
|
d109637e2d7ab3b819812eb960c05cb31d9d2168
|
refs/heads/main
| 2023-08-20T11:32:39.162059
| 2023-08-18T14:33:32
| 2023-08-18T14:33:32
| 143,040,428
| 5,987
| 1,363
|
MIT
| 2023-09-14T19:36:50
| 2018-07-31T16:35:51
|
CodeQL
|
UTF-8
|
C
| false
| false
| 534
|
c
|
ImplicitDowncastFromBitfield.c
|
typedef struct {
unsigned int x : 24;
} my_struct;
unsigned short getX(my_struct s ) {
return s.x; //BAD: implicit truncation
}
unsigned int getXGood(my_struct s) {
return s.x //GOOD: no truncation
}
int main (int argc, char **argv) {
my_struct s;
s.x = USHORT_MAX + 1;
int* array = calloc(sizeof(int), getX(s)); //BAD: buffer allocated is smaller than intended
for (int i = 0; i < s.x; i++) {
array[i] = i;
}
int* array2 = calloc(sizeof(int), getXGood(s)); //GOOD
for (int i = 0; i < s.x; i++) {
array[i] = i;
}
}
|
715f1dd663157b76faaca475124cbac70bf49daa
|
d2a4cf4e6fff810e94c85c1c94ebef6638469ff4
|
/Graph Traversal/BFS/bfs_adjMatrix.c
|
29d4d42350ec3d0920bb6ca1ff2940a4bc74ec76
|
[
"MIT"
] |
permissive
|
iam-abbas/cs-algorithms
|
8be8dd665cb3abd5fce2b9de09519d0597e59e45
|
d04aa8fd9a1fa290266dde96afe9b90ee23c5a92
|
refs/heads/master
| 2021-10-07T09:57:04.943048
| 2021-10-01T18:24:24
| 2021-10-01T18:24:24
| 213,309,115
| 255
| 443
|
MIT
| 2021-10-01T18:23:12
| 2019-10-07T06:18:54
|
C++
|
UTF-8
|
C
| false
| false
| 1,342
|
c
|
bfs_adjMatrix.c
|
//Program to implement BFS using Adjacency Matrix
#include<stdio.h>
int visit[100];
void creategraph();
void bfs(int);
void qinsert(int);
int qdelete();
int qisempty();
int a[100][100],n;
int q[100];
int f,r;
int main()
{
int i,v,k;
printf("Enter the number of vertices..");
scanf("%d",&n);
creategraph();
printf("Enter the source vertex..\n");
scanf("%d",&v);
printf("The vertices reachable from %d using BFS are..\n",v);
bfs(v);
}
void creategraph()
{
int i,j;
while(1)
{
printf("Enter the source and the destination vertex..");
scanf("%d%d",&i,&j);
if((i==0)&&(j==0))
break;
a[i][j]=1;
}
}
void bfs(int v)
{
int x,w;
visit[v]=1;
printf("%d ",v);
qinsert(v);
while(!qisempty())
{
x=qdelete();
for(w=1;w<=n;w++)
{
if((a[x][w]==1)&&(visit[w]==0))
{
visit[w]=1;
printf("%d ",w);
qinsert(w);
}
}
}
}
void qinsert(int v)
{
r++;
q[r]=v;
if(f==-1) //Front must be initially to 0 index
f=0;
}
int qdelete()
{
int x;
x=q[f];
if(f==r) //Empty
f=r=-1;
else
f++;
return x;
}
int qisempty()
{
if(f==-1)
return 1;
return 0;
}
|
0edc153f905452ade521f5ed202948302cf87cdf
|
25b3e07cc932d924705efe14c6b417a3c4d4f731
|
/src/main.c
|
bc5a6e30c6ceb46b7b670d388a6d766253a9de85
|
[
"MIT"
] |
permissive
|
mengyao/Complete-Striped-Smith-Waterman-Library
|
c8a670d8e5a149c2ab08da22af9874b9381ba555
|
c32f4c2b07df137a0fce72ec7c7e60474937a52e
|
refs/heads/master
| 2023-05-11T18:36:42.792525
| 2023-04-21T19:31:07
| 2023-04-21T19:31:07
| 2,607,365
| 256
| 123
| null | 2023-04-21T18:04:07
| 2011-10-19T16:32:25
|
C
|
UTF-8
|
C
| false
| false
| 18,183
|
c
|
main.c
|
/* main.c
* Created by Mengyao Zhao on 06/23/11.
* Version 1.2.2
* Last revision by Mengyao Zhao on 2022-May-21.
*/
#include <stdlib.h>
#include <stdint.h>
#include <zlib.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <math.h>
#include <unistd.h>
#include "ssw.h"
#include "kseq.h"
#ifdef __ARM_NEON // (M1)
#include "sse2neon.h"
#else // x86 (Intel)
#include <emmintrin.h>
#endif
#ifdef __GNUC__
#define LIKELY(x) __builtin_expect((x),1)
#define UNLIKELY(x) __builtin_expect((x),0)
#else
#define LIKELY(x) (x)
#define UNLIKELY(x) (x)
#endif
/*! @function
@abstract Round an integer to the next closest power-2 integer.
@param x integer to be rounded (in place)
@discussion x will be modified.
*/
#define kroundup32(x) (--(x), (x)|=(x)>>1, (x)|=(x)>>2, (x)|=(x)>>4, (x)|=(x)>>8, (x)|=(x)>>16, ++(x))
KSEQ_INIT(gzFile, gzread)
static void reverse_comple(const char* seq, char* rc) {
int32_t end = strlen(seq), start = 0;
static const int8_t rc_table[128] = {
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 84, 4, 71, 4, 4, 4, 67, 4, 4, 4, 4, 4, 4, 78, 4,
4, 4, 4, 4, 65, 65, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 84, 4, 71, 4, 4, 4, 67, 4, 4, 4, 4, 4, 4, 78, 4,
4, 4, 4, 4, 65, 65, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
};
rc[end] = '\0';
-- end;
while (LIKELY(start < end)) {
rc[start] = (char)rc_table[(int8_t)seq[end]];
rc[end] = (char)rc_table[(int8_t)seq[start]];
++ start;
-- end;
}
if (start == end) rc[start] = (char)rc_table[(int8_t)seq[start]];
}
static void ssw_write (s_align* a,
const kseq_t* ref_seq,
const kseq_t* read,
const char* read_seq, // strand == 0: original read; strand == 1: reverse complement read
const int8_t* ref_num,
const int8_t* read_num,
const int8_t* table,
int8_t strand, // 0: forward aligned ; 1: reverse complement aligned
int8_t sam) { // 0: Blast like output; 1: Sam format output
int32_t mismatch;
if (sam == 0) { // Blast like output
fprintf(stdout, "target_name: %s\nquery_name: %s\noptimal_alignment_score: %d\t", ref_seq->name.s, read->name.s, a->score1);
if (a->score2 > 0) fprintf(stdout, "suboptimal_alignment_score: %d\t", a->score2);
if (strand == 0) fprintf(stdout, "strand: +\t");
else fprintf(stdout, "strand: -\t");
if (a->ref_begin1 + 1) fprintf(stdout, "target_begin: %d\t", a->ref_begin1 + 1);
fprintf(stdout, "target_end: %d\t", a->ref_end1 + 1);
if (a->read_begin1 + 1) fprintf(stdout, "query_begin: %d\t", a->read_begin1 + 1);
fprintf(stdout, "query_end: %d\n\n", a->read_end1 + 1);
if (a->cigar) {
int32_t c = 0, left = 0, e = 0, qb = a->ref_begin1, pb = a->read_begin1;
uint32_t i;
while (e < a->cigarLen || left > 0) {
int32_t count = 0;
int32_t q = qb;
int32_t p = pb;
fprintf(stdout, "Target: %8d ", q + 1);
for (c = e; c < a->cigarLen; ++c) {
char letter = cigar_int_to_op(a->cigar[c]);
uint32_t length = cigar_int_to_len(a->cigar[c]);
uint32_t l = (count == 0 && left > 0) ? left: length;
for (i = 0; i < l; ++i) {
if (letter == 'I') fprintf(stdout, "-");
else {
fprintf(stdout, "%c", *(ref_seq->seq.s + q));
++ q;
}
++ count;
if (count == 60) goto step2;
}
}
step2:
fprintf(stdout, " %d\n ", q);
q = qb;
count = 0;
for (c = e; c < a->cigarLen; ++c) {
char letter = cigar_int_to_op(a->cigar[c]);
uint32_t length = cigar_int_to_len(a->cigar[c]);
uint32_t l = (count == 0 && left > 0) ? left: length;
for (i = 0; i < l; ++i){
if (letter == 'M') {
if (table[(int)*(ref_seq->seq.s + q)] == table[(int)*(read_seq + p)])fprintf(stdout, "|");
else fprintf(stdout, "*");
++q;
++p;
} else {
fprintf(stdout, " ");
if (letter == 'I') ++p;
else ++q;
}
++ count;
if (count == 60) {
qb = q;
goto step3;
}
}
}
step3:
p = pb;
fprintf(stdout, "\nQuery: %8d ", p + 1);
count = 0;
for (c = e; c < a->cigarLen; ++c) {
char letter = cigar_int_to_op(a->cigar[c]);
uint32_t length = cigar_int_to_len(a->cigar[c]);
uint32_t l = (count == 0 && left > 0) ? left: length;
for (i = 0; i < l; ++i) {
if (letter == 'D') fprintf(stdout, "-");
else {
fprintf(stdout, "%c", *(read_seq + p));
++p;
}
++ count;
if (count == 60) {
pb = p;
left = l - i - 1;
e = (left == 0) ? (c + 1) : c;
goto end;
}
}
}
e = c;
left = 0;
end:
fprintf(stdout, " %d\n\n", p);
}
}
}else { // Sam format output
fprintf(stdout, "%s\t", read->name.s);
if (a->score1 == 0) fprintf(stdout, "4\t*\t0\t255\t*\t*\t0\t0\t*\t*\n");
else {
int32_t c, p;
uint32_t mapq = -4.343 * log(1 - (double)abs(a->score1 - a->score2)/(double)a->score1);
mapq = (uint32_t) (mapq + 4.99);
mapq = mapq < 254 ? mapq : 254;
if (strand) fprintf(stdout, "16\t");
else fprintf(stdout, "0\t");
fprintf(stdout, "%s\t%d\t%d\t", ref_seq->name.s, a->ref_begin1 + 1, mapq);
mismatch = mark_mismatch(a->ref_begin1, a->read_begin1, a->read_end1, ref_num, read_num, read->seq.l, &a->cigar, &a->cigarLen);
for (c = 0; c < a->cigarLen; ++c) {
char letter = cigar_int_to_op(a->cigar[c]);
uint32_t length = cigar_int_to_len(a->cigar[c]);
fprintf(stdout, "%lu%c", (unsigned long)length, letter);
}
fprintf(stdout, "\t*\t0\t0\t");
fprintf(stdout, "%s", read_seq);
fprintf(stdout, "\t");
if (read->qual.s && strand) {
for (p = read->qual.l - 1; p >= 0; --p) fprintf(stdout, "%c", read->qual.s[p]);
}else if (read->qual.s) fprintf (stdout, "%s", read->qual.s);
else fprintf(stdout, "*");
fprintf(stdout, "\tAS:i:%d", a->score1);
fprintf(stdout,"\tNM:i:%d\t", mismatch);
if (a->score2 > 0) fprintf(stdout, "ZS:i:%d\n", a->score2);
else fprintf(stdout, "\n");
}
}
}
int main (int argc, char * const argv[]) {
clock_t start, end;
float cpu_time;
gzFile read_fp, ref_fp;
kseq_t *read_seq, *ref_seq;
int32_t l, m, k, match = 2, mismatch = 2, gap_open = 3, gap_extension = 1, path = 0, reverse = 0, n = 5, sam = 0, protein = 0, header = 0, s1 = 67108864, s2 = 128, filter = 0;
int8_t *mata, *ref_num, *num, *num_rc = 0;
const int8_t* mat;
char* read_rc = 0, *mat_name = 0;
static const int8_t mat50[] = {
// A R N D C Q E G H I L K M F P S T W Y V B Z X *
5, -2, -1, -2, -1, -1, -1, 0, -2, -1, -2, -1, -1, -3, -1, 1, 0, -3, -2, 0, -2, -1, -1, -5, // A
-2, 7, -1, -2, -4, 1, 0, -3, 0, -4, -3, 3, -2, -3, -3, -1, -1, -3, -1, -3, -1, 0, -1, -5, // R
-1, -1, 7, 2, -2, 0, 0, 0, 1, -3, -4, 0, -2, -4, -2, 1, 0, -4, -2, -3, 5, 0, -1, -5, // N
-2, -2, 2, 8, -4, 0, 2, -1, -1, -4, -4, -1, -4, -5, -1, 0, -1, -5, -3, -4, 6, 1, -1, -5, // D
-1, -4, -2, -4, 13, -3, -3, -3, -3, -2, -2, -3, -2, -2, -4, -1, -1, -5, -3, -1, -3, -3, -1, -5, // C
-1, 1, 0, 0, -3, 7, 2, -2, 1, -3, -2, 2, 0, -4, -1, 0, -1, -1, -1, -3, 0, 4, -1, -5, // Q
-1, 0, 0, 2, -3, 2, 6, -3, 0, -4, -3, 1, -2, -3, -1, -1, -1, -3, -2, -3, 1, 5, -1, -5, // E
0, -3, 0, -1, -3, -2, -3, 8, -2, -4, -4, -2, -3, -4, -2, 0, -2, -3, -3, -4, -1, -2, -1, -5, // G
-2, 0, 1, -1, -3, 1, 0, -2, 10, -4, -3, 0, -1, -1, -2, -1, -2, -3, 2, -4, 0, 0, -1, -5, // H
-1, -4, -3, -4, -2, -3, -4, -4, -4, 5, 2, -3, 2, 0, -3, -3, -1, -3, -1, 4, -4, -3, -1, -5, // I
-2, -3, -4, -4, -2, -2, -3, -4, -3, 2, 5, -3, 3, 1, -4, -3, -1, -2, -1, 1, -4, -3, -1, -5, // L
-1, 3, 0, -1, -3, 2, 1, -2, 0, -3, -3, 6, -2, -4, -1, 0, -1, -3, -2, -3, 0, 1, -1, -5, // K
-1, -2, -2, -4, -2, 0, -2, -3, -1, 2, 3, -2, 7, 0, -3, -2, -1, -1, 0, 1, -3, -1, -1, -5, // M
-3, -3, -4, -5, -2, -4, -3, -4, -1, 0, 1, -4, 0, 8, -4, -3, -2, 1, 4, -1, -4, -4, -1, -5, // F
-1, -3, -2, -1, -4, -1, -1, -2, -2, -3, -4, -1, -3, -4, 10, -1, -1, -4, -3, -3, -2, -1, -1, -5, // P
1, -1, 1, 0, -1, 0, -1, 0, -1, -3, -3, 0, -2, -3, -1, 5, 2, -4, -2, -2, 0, 0, -1, -5, // S
0, -1, 0, -1, -1, -1, -1, -2, -2, -1, -1, -1, -1, -2, -1, 2, 5, -3, -2, 0, 0, -1, -1, -5, // T
-3, -3, -4, -5, -5, -1, -3, -3, -3, -3, -2, -3, -1, 1, -4, -4, -3, 15, 2, -3, -5, -2, -1, -5, // W
-2, -1, -2, -3, -3, -1, -2, -3, 2, -1, -1, -2, 0, 4, -3, -2, -2, 2, 8, -1, -3, -2, -1, -5, // Y
0, -3, -3, -4, -1, -3, -3, -4, -4, 4, 1, -3, 1, -1, -3, -2, 0, -3, -1, 5, -3, -3, -1, -5, // V
-2, -1, 5, 6, -3, 0, 1, -1, 0, -4, -4, 0, -3, -4, -2, 0, 0, -5, -3, -3, 6, 1, -1, -5, // B
-1, 0, 0, 1, -3, 4, 5, -2, 0, -3, -3, 1, -1, -4, -1, 0, -1, -2, -2, -3, 1, 5, -1, -5, // Z
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -5, // X
-5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, 1 // *
};
/* This table is used to transform amino acid letters into numbers. */
int8_t aa_table[128] = {
23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 0, 20, 4, 3, 6, 13, 7, 8, 9, 23, 11, 10, 12, 2, 23,
14, 5, 1, 15, 16, 23, 19, 17, 22, 18, 21, 23, 23, 23, 23, 23,
23, 0, 20, 4, 3, 6, 13, 7, 8, 9, 23, 11, 10, 12, 2, 23,
14, 5, 1, 15, 16, 23, 19, 17, 22, 18, 21, 23, 23, 23, 23, 23
};
/* This table is used to transform nucleotide letters into numbers. */
int8_t nt_table[128] = {
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 0, 4, 1, 4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 0, 4, 1, 4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
};
int8_t* table = nt_table;
if (optind + 2 > argc) {
fprintf(stderr, "\n");
fprintf(stderr, "Usage: ssw_test [options] ... <target.fasta> <query.fasta>(or <query.fastq>)\n");
fprintf(stderr, "Options:\n");
fprintf(stderr, "\t-m N\tN is a positive integer for weight match in genome sequence alignment. [default: 2]\n");
fprintf(stderr, "\t-x N\tN is a positive integer. -N will be used as weight mismatch in genome sequence alignment. [default: 2]\n");
fprintf(stderr, "\t-o N\tN is a positive integer. -N will be used as the weight for the gap opening. [default: 3]\n");
fprintf(stderr, "\t-e N\tN is a positive integer. -N will be used as the weight for the gap extension. [default: 1]\n");
fprintf(stderr, "\t-p\tDo protein sequence alignment. Without this option, the ssw_test will do genome sequence alignment.\n");
fprintf(stderr, "\t-a FILE\tFILE is either the Blosum or Pam weight matrix. [default: Blosum50]\n");
fprintf(stderr, "\t-c\tReturn the alignment path.\n");
fprintf(stderr, "\t-f N\tN is a positive integer. Only output the alignments with the Smith-Waterman score >= N.\n");
fprintf(stderr, "\t-r\tThe best alignment will be picked between the original read alignment and the reverse complement read alignment.\n");
fprintf(stderr, "\t-s\tOutput in SAM format. [default: no header]\n");
fprintf(stderr, "\t-h\tIf -s is used, include header in SAM output.\n\n");
return 1;
}
// Parse command line.
while ((l = getopt(argc, argv, "m:x:o:e:a:f:pcrsh")) >= 0) {
switch (l) {
case 'm': match = atoi(optarg); break;
case 'x': mismatch = atoi(optarg); break;
case 'o': gap_open = atoi(optarg); break;
case 'e': gap_extension = atoi(optarg); break;
case 'a':
mat_name = (char*)malloc(strlen(optarg) + 1);
strcpy(mat_name, optarg);
break;
case 'f': filter = atoi(optarg); break;
case 'p': protein = 1; break;
case 'c': path = 1; break;
case 'r': reverse = 1; break;
case 's': sam = 1; break;
case 'h': header = 1; break;
}
}
// initialize scoring matrix for genome sequences
mata = (int8_t*)calloc(25, sizeof(int8_t));
for (l = k = 0; LIKELY(l < 4); ++l) {
for (m = 0; LIKELY(m < 4); ++m) mata[k++] = l == m ? match : -mismatch; /* weight_match : -weight_mismatch */
mata[k++] = 0; // ambiguous base
}
for (m = 0; LIKELY(m < 5); ++m) mata[k++] = 0;
mat = mata;
if (protein == 1 && mat_name == 0) {
n = 24;
table = aa_table;
mat = mat50;
} else if (mat_name != 0) {
// Parse score matrix.
FILE *f_mat = fopen(mat_name, "r");
free(mat_name);
if (f_mat == NULL) {
fprintf(stderr, "Failed to open the weight matrix file.\n");
free(mata);
return 1;
}
char line[128];
mata = (int8_t*)realloc(mata, 1024 * sizeof(int8_t));
k = 0;
m = 0;
while (fgets(line, 128, f_mat)) {
if (line[0] == '*' || (line[0] >= 'A' && line[0] <= 'Z')) {
if (line[0] >= 'A' && line[0] <= 'Z') aa_table[(int)line[0]] = aa_table[(int)line[0] + 32] = m;
char str[4], *s = str;
str[0] = '\0';
l = 1;
while (line[l]) {
if ((line[l] >= '0' && line[l] <= '9') || line[l] == '-') *s++ = line[l];
else if (str[0] != '\0') {
*s = '\0';
mata[k++] = (int8_t)atoi(str);
s = str;
str[0] = '\0';
}
++l;
}
if (str[0] != '\0') {
*s = '\0';
mata[k++] = (int8_t)atoi(str);
s = str;
str[0] = '\0';
}
++m;
}
}
if (k == 0) {
fprintf(stderr, "Problem of reading the weight matrix file.\n");
free(mata);
return 1;
}
fclose(f_mat);
n = m;
table = aa_table;
mat = mata;
}
read_fp = gzopen(argv[optind + 1], "r");
if (! read_fp) {
fprintf (stderr, "gzopen of '%s' failed.\n", argv[optind + 1]);
exit (EXIT_FAILURE);
}
read_seq = kseq_init(read_fp);
if (sam && header && path) {
fprintf(stdout, "@HD\tVN:1.4\tSO:queryname\n");
ref_fp = gzopen(argv[optind], "r");
ref_seq = kseq_init(ref_fp);
while ((l = kseq_read(ref_seq)) >= 0) fprintf(stdout, "@SQ\tSN:%s\tLN:%d\n", ref_seq->name.s, (int32_t)ref_seq->seq.l);
kseq_destroy(ref_seq);
gzclose(ref_fp);
} else if (sam && !path) {
fprintf(stderr, "SAM format output is only available together with option -c.\n");
sam = 0;
}
// alignment
ref_num = (int8_t*)malloc(s1);
num = (int8_t*)malloc(s2);
if (reverse == 1 && n == 5) {
read_rc = (char*)malloc(s2);
num_rc = (int8_t*)malloc(s2);
}
start = clock();
while (kseq_read(read_seq) >= 0) {
s_profile* p, *p_rc = 0;
int32_t readLen = read_seq->seq.l;
int32_t maskLen = readLen / 2;
while (readLen >= s2) {
++s2;
kroundup32(s2);
num = (int8_t*)realloc(num, s2);
if (reverse == 1 && n == 5) {
read_rc = (char*)realloc(read_rc, s2);
num_rc = (int8_t*)realloc(num_rc, s2);
}
}
for (m = 0; m < readLen; ++m) num[m] = table[(int)read_seq->seq.s[m]];
p = ssw_init(num, readLen, mat, n, 2);
if (reverse == 1 && n == 5) {
reverse_comple(read_seq->seq.s, read_rc);
for (m = 0; m < readLen; ++m) num_rc[m] = table[(int)read_rc[m]];
p_rc = ssw_init(num_rc, readLen, mat, n, 2);
}else if (reverse == 1 && n == 24) {
fprintf (stderr, "Reverse complement alignment is not available for protein sequences. \n");
free(num);
free(ref_num);
if (num_rc) {
free(num_rc);
free(read_rc);
}
return 1;
}
ref_fp = gzopen(argv[optind], "r");
ref_seq = kseq_init(ref_fp);
while (kseq_read(ref_seq) >= 0) {
s_align* result, *result_rc = 0;
int32_t refLen = ref_seq->seq.l;
int8_t flag = 0;
while (refLen > s1) {
++s1;
kroundup32(s1);
ref_num = (int8_t*)realloc(ref_num, s1);
}
for (m = 0; m < refLen; ++m) ref_num[m] = table[(int)ref_seq->seq.s[m]];
if (path == 1) flag = 2;
result = ssw_align (p, ref_num, refLen, gap_open, gap_extension, flag, filter, 0, maskLen);
if (reverse == 1 && protein == 0)
result_rc = ssw_align(p_rc, ref_num, refLen, gap_open, gap_extension, flag, filter, 0, maskLen);
if (result_rc && result_rc->score1 > result->score1 && result_rc->score1 >= filter) {
if (result_rc->flag == 2) fprintf(stderr, "Warning: The reverse compliment alignment of the following sequences may miss a small part.\nref_seq: %s\nread_seq: %s\n\n", ref_seq->name.s, read_seq->name.s);
if (sam) ssw_write (result_rc, ref_seq, read_seq, read_rc, ref_num, num_rc, table, 1, 1);
else ssw_write (result_rc, ref_seq, read_seq, read_rc, ref_num, num_rc, table, 1, 0);
}else if (result && result->score1 >= filter){
if (result->flag == 2) fprintf(stderr, "Warning: The alignment of the following sequences may miss a small part.\nref_seq: %s\nread_seq: %s\n\n", ref_seq->name.s, read_seq->name.s);
if (sam) ssw_write(result, ref_seq, read_seq, read_seq->seq.s, ref_num, num, table, 0, 1);
else ssw_write(result, ref_seq, read_seq, read_seq->seq.s, ref_num, num, table, 0, 0);
} else if (! result) {
fprintf(stderr, "Warning: Alignment between the following sequences is failed.\nref_seq: %s\nread_seq: %s\n\n", ref_seq->name.s, read_seq->name.s);
continue;
}
if (result_rc) align_destroy(result_rc);
align_destroy(result);
}
if(p_rc) init_destroy(p_rc);
init_destroy(p);
kseq_destroy(ref_seq);
gzclose(ref_fp);
}
end = clock();
cpu_time = ((float) (end - start)) / CLOCKS_PER_SEC;
fprintf(stderr, "CPU time: %f seconds\n", cpu_time);
if (num_rc) {
free(num_rc);
free(read_rc);
}
kseq_destroy(read_seq);
gzclose(read_fp);
free(num);
free(ref_num);
free(mata);
return 0;
}
|
f11caba5a78918875e79423ad6cd7ee9af8f1963
|
c457e26ca3d5b00d9970ad32db924fa0d9e6c132
|
/Backends/Kinc-HL/hl/src/opcodes.h
|
b6dae53e421695affec989b0a7dc459a25c287cb
|
[
"Zlib",
"MIT"
] |
permissive
|
Kode/Kha
|
115d8c44a3a4d585dd5ca4970ddb945866f03b9d
|
e9a1848f4738868b5e690c566dd0e78dc92ad67a
|
refs/heads/main
| 2023-09-04T04:43:47.647813
| 2023-08-30T17:37:11
| 2023-08-30T17:37:11
| 13,816,197
| 1,187
| 320
|
Zlib
| 2023-09-10T14:41:48
| 2013-10-23T22:07:47
|
C
|
UTF-8
|
C
| false
| false
| 2,979
|
h
|
opcodes.h
|
/*
* Copyright (C)2005-2016 Haxe Foundation
*
* 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.
*/
#ifndef OP_BEGIN
# define OP_BEGIN typedef enum {
# define OP_END } hl_op;
#endif
#ifndef OP
# define OP(o,_) o,
#endif
OP_BEGIN
OP(OMov,2)
OP(OInt,2)
OP(OFloat,2)
OP(OBool,2)
OP(OBytes,2)
OP(OString,2)
OP(ONull,1)
OP(OAdd,3)
OP(OSub,3)
OP(OMul,3)
OP(OSDiv,3)
OP(OUDiv,3)
OP(OSMod,3)
OP(OUMod,3)
OP(OShl,3)
OP(OSShr,3)
OP(OUShr,3)
OP(OAnd,3)
OP(OOr,3)
OP(OXor,3)
OP(ONeg,2)
OP(ONot,2)
OP(OIncr,1)
OP(ODecr,1)
OP(OCall0,2)
OP(OCall1,3)
OP(OCall2,4)
OP(OCall3,5)
OP(OCall4,6)
OP(OCallN,-1)
OP(OCallMethod,-1)
OP(OCallThis,-1)
OP(OCallClosure,-1)
OP(OStaticClosure,2)
OP(OInstanceClosure,3)
OP(OVirtualClosure,3)
OP(OGetGlobal, 2)
OP(OSetGlobal,2)
OP(OField,3)
OP(OSetField,3)
OP(OGetThis,2)
OP(OSetThis,2)
OP(ODynGet,3)
OP(ODynSet,3)
OP(OJTrue,2)
OP(OJFalse,2)
OP(OJNull,2)
OP(OJNotNull,2)
OP(OJSLt,3)
OP(OJSGte,3)
OP(OJSGt,3)
OP(OJSLte,3)
OP(OJULt,3)
OP(OJUGte,3)
OP(OJNotLt,3)
OP(OJNotGte,3)
OP(OJEq,3)
OP(OJNotEq,3)
OP(OJAlways,1)
OP(OToDyn,2)
OP(OToSFloat,2)
OP(OToUFloat,2)
OP(OToInt,2)
OP(OSafeCast,2)
OP(OUnsafeCast,2)
OP(OToVirtual,2)
OP(OLabel,0)
OP(ORet,1)
OP(OThrow,1)
OP(ORethrow,1)
OP(OSwitch,-1)
OP(ONullCheck,1)
OP(OTrap,2)
OP(OEndTrap,1)
OP(OGetI8,3)
OP(OGetI16,3)
OP(OGetMem,3)
OP(OGetArray,3)
OP(OSetI8,3)
OP(OSetI16,3)
OP(OSetMem,3)
OP(OSetArray,3)
OP(ONew,1)
OP(OArraySize,2)
OP(OType,2)
OP(OGetType,2)
OP(OGetTID,2)
OP(ORef,2)
OP(OUnref,2)
OP(OSetref,2)
OP(OMakeEnum,-1)
OP(OEnumAlloc,2)
OP(OEnumIndex,2)
OP(OEnumField,4)
OP(OSetEnumField,3)
OP(OAssert,0)
OP(ORefData,2)
OP(ORefOffset,3)
OP(ONop,0)
// --
OP(OLast,0)
OP_END
#undef OP_BEGIN
#undef OP_END
#undef OP
|
955676ecd1ed1884583f9ea93c256947adac9df6
|
fbef550c1f0206aac0582a58f7e3db945f442a9a
|
/Pods/Headers/Public/CocoaHTTPServer/MultipartFormDataParser.h
|
f3e7255170807d1c1057fbaa4c35b63e001bc57a
|
[
"MIT"
] |
permissive
|
Hammerspoon/hammerspoon
|
0f03b4dd2ef3b44ea4c0a1cd0b94fcb513b5f2b7
|
0ccc9d07641a660140d1d2f05b76f682b501a0e8
|
refs/heads/master
| 2023-08-19T01:26:41.898873
| 2023-06-20T22:52:50
| 2023-06-20T22:52:50
| 24,956,772
| 11,379
| 676
|
MIT
| 2023-06-09T02:51:33
| 2014-10-08T19:24:44
|
Objective-C
|
UTF-8
|
C
| false
| false
| 60
|
h
|
MultipartFormDataParser.h
|
../../../CocoaHTTPServer/Core/Mime/MultipartFormDataParser.h
|
dc3cc91e0b38ac71586a3a77990fb20b6aac22a5
|
de21f9075f55640514c29ef0f1fe3f0690845764
|
/regression/contracts/invar_dynamic_struct_member/main.c
|
71af535f801db776c0ea3625e4c3dfdbc91be50a
|
[
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-4-Clause"
] |
permissive
|
diffblue/cbmc
|
975a074ac445febb3b5715f8792beb545522dc18
|
decd2839c2f51a54b2ad0f3e89fdc1b4bf78cd16
|
refs/heads/develop
| 2023-08-31T05:52:05.342195
| 2023-08-30T13:31:51
| 2023-08-30T13:31:51
| 51,877,056
| 589
| 309
|
NOASSERTION
| 2023-09-14T18:49:17
| 2016-02-16T23:03:52
|
C++
|
UTF-8
|
C
| false
| false
| 403
|
c
|
main.c
|
typedef struct test
{
int x;
} test;
void main()
{
struct test *t = malloc(sizeof(test));
t->x = 0;
unsigned n;
for(unsigned i = 0; i < n; ++i)
__CPROVER_loop_invariant(i <= n)
{
switch(i % 4)
{
case 0:
break;
case 1:
case 2:
t->x += 1;
default:
t->x += 2;
}
}
assert(t->x == 0 || t->x == 1 || t->x == 2);
}
|
ec391e3698271037fd60912e456e0d772c4ebe59
|
d53b3727b12818d992a661266d325b27e8af013e
|
/show.c
|
2e8e9dd2c7c7959417cb64463c86eac4fe496776
|
[
"BSD-3-Clause",
"ISC",
"BSD-2-Clause"
] |
permissive
|
yellowman/nsh
|
9f496366ed4152795b970eae2b71f25a4f21f1e8
|
444134c06cbc0ad8b7366aba187ea98566b758a5
|
refs/heads/master
| 2023-08-31T21:00:58.141210
| 2023-08-22T11:30:19
| 2023-08-22T11:30:19
| 4,527,265
| 136
| 30
|
NOASSERTION
| 2023-09-10T14:57:06
| 2012-06-02T06:15:46
|
C
|
UTF-8
|
C
| false
| false
| 18,094
|
c
|
show.c
|
/* From: $OpenBSD: /usr/src/sbin/route/show.c,v 1.61 2007/09/05 20:30:21 claudio Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <sys/param.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/mbuf.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/pfkeyv2.h>
#include <net/route.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
#include <netinet/ip_ipsp.h>
#include <arpa/inet.h>
#include <err.h>
#include <errno.h>
#include <netdb.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "externs.h"
char *any_ntoa(const struct sockaddr *);
char *link_print(struct sockaddr *);
#define PLEN (LONG_BIT / 4 + 2)
#define PFKEYV2_CHUNK sizeof(u_int64_t)
/*
* Definitions for showing gateway flags.
*/
struct bits {
int b_mask;
char b_val;
};
static const struct bits bits[] = {
{ RTF_UP, 'U' },
{ RTF_GATEWAY, 'G' },
{ RTF_HOST, 'H' },
{ RTF_REJECT, 'R' },
{ RTF_BLACKHOLE, 'B' },
{ RTF_DYNAMIC, 'D' },
{ RTF_MODIFIED, 'M' },
{ RTF_DONE, 'd' }, /* Completed -- for routing messages only */
{ RTF_CLONING, 'C' },
{ RTF_LLINFO, 'L' },
{ RTF_STATIC, 'S' },
{ RTF_PROTO1, '1' },
{ RTF_PROTO2, '2' },
{ RTF_PROTO3, '3' },
{ RTF_CLONED, 'c' },
{ RTF_MPLS, 'T' },
{ 0, 0 }
};
void pr_rthdr(int);
void pr_flags(int);
void p_rtentry(struct rt_msghdr *);
void p_pfkentry(struct sadb_msg *);
void pr_family(int);
void p_encap(struct sockaddr *, struct sockaddr *, int);
void p_protocol(struct sadb_protocol *, struct sockaddr *, struct
sadb_protocol *, int);
void p_sockaddr(struct sockaddr *, struct sockaddr *, int, int);
void p_flags(int, char *);
void index_pfk(struct sadb_msg *, void **);
/*
* nsh print
*/
void
pr_flags(int af)
{
printf("Flags: U - up, G - gateway, H - host, L - link layer, R - reject (unreachable),\n");
printf(" D - dynamic, S - static, T - MPLS, c - CLONED, l - LOCAL\n");
}
/*
* Print routing tables.
*/
void
p_rttables(int af, u_int tableid, int flags)
{
struct rt_msghdr *rtm;
struct sadb_msg *msg;
char *next, *buf = NULL, *lim = NULL;
size_t needed;
int mib[7];
struct sockaddr *sa;
struct rtdump *rtdump;
rtdump = getrtdump(af, flags, tableid);
if (rtdump == NULL)
return;
for (next = rtdump->buf; next < rtdump->lim; next += rtm->rtm_msglen) {
rtm = (struct rt_msghdr *)next;
if (rtm->rtm_version != RTM_VERSION)
continue;
sa = (struct sockaddr *)(next + rtm->rtm_hdrlen);
if (af != AF_UNSPEC && sa->sa_family != af)
continue;
if (next == rtdump->buf) {
/* start of the loop? print headers */
pr_flags(sa->sa_family);
pr_family(sa->sa_family);
pr_rthdr(sa->sa_family);
}
p_rtentry(rtm);
}
freertdump(rtdump);
if (af != 0 && af != PF_KEY)
return;
mib[0] = CTL_NET;
mib[1] = PF_KEY;
mib[2] = PF_KEY_V2;
mib[3] = NET_KEY_SPD_DUMP;
mib[4] = mib[5] = 0;
if (sysctl(mib, 4, NULL, &needed, NULL, 0) == -1) {
if (errno != ENOPROTOOPT)
printf("%% p_rttables: spd-sysctl-estimate: %s\n",
strerror(errno));
return;
}
if (needed > 0) {
if ((buf = malloc(needed)) == 0) {
printf("%% p_rttables: spd malloc: %s\n",
strerror(errno));
return;
}
if (sysctl(mib, 4, buf, &needed, NULL, 0) == -1) {
free(buf);
printf("%% p_rttables: spd sysctl: %s\n",
strerror(errno));
return;
}
lim = buf + needed;
}
if (buf) {
printf("\n%% Encap:\n");
for (next = buf; next < lim; next += msg->sadb_msg_len *
PFKEYV2_CHUNK) {
msg = (struct sadb_msg *)next;
if (msg->sadb_msg_len == 0)
break;
if (next == buf)
pr_rthdr(PF_KEY);
p_pfkentry(msg);
}
free(buf);
buf = NULL;
} else {
printf("%% SADB empty\n");
}
}
/*
* column widths; each followed by one space
* width of destination/gateway column
* strlen("fe80::aaaa:bbbb:cccc:dddd@gif0") == 30, strlen("/128") == 4
*/
#define WID_DST(af) ((af) == AF_INET6 ? 34 : 18)
#define WID_GW(af) ((af) == AF_INET6 ? 30 : 18)
/*
* Print header for routing table columns.
*/
void
pr_rthdr(int af)
{
if (af != PF_KEY)
printf("%-*.*s %-*.*s %-6.6s %6.6s %8.8s %6.6s %s\n",
WID_DST(af), WID_DST(af), "Destination",
WID_GW(af), WID_GW(af), "Gateway",
"Flags", "Refs", "Use", "Mtu", "Interface");
else
printf("%-18s %-5s %-18s %-5s %-5s %-22s\n",
"Source", "Port", "Destination",
"Port", "Proto", "SA(Address/Proto/Type/Direction)");
}
static void
get_rtaddrs(int addrs, struct sockaddr *sa, struct sockaddr **rti_info)
{
int i;
for (i = 0; i < RTAX_MAX; i++) {
if (addrs & (1 << i)) {
rti_info[i] = sa;
sa = (struct sockaddr *)((char *)(sa) +
ROUNDUP(sa->sa_len));
} else
rti_info[i] = NULL;
}
}
/*
* Print a routing table entry.
*/
void
p_rtentry(struct rt_msghdr *rtm)
{
struct sockaddr *sa = (struct sockaddr *)((char *)rtm + rtm->rtm_hdrlen);
struct sockaddr *mask, *rti_info[RTAX_MAX];
char ifbuf[IF_NAMESIZE];
int interesting = RTF_UP | RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC |
RTF_LLINFO | RTF_STATIC | RTF_REJECT | RTF_MPLS | RTF_CLONED |
RTF_LOCAL;
if (sa->sa_family == AF_KEY)
return;
get_rtaddrs(rtm->rtm_addrs, sa, rti_info);
mask = rti_info[RTAX_NETMASK];
if ((sa = rti_info[RTAX_DST]) == NULL)
return;
p_sockaddr(sa, mask, rtm->rtm_flags, WID_DST(sa->sa_family));
p_sockaddr(rti_info[RTAX_GATEWAY], NULL, RTF_HOST,
WID_GW(sa->sa_family));
p_flags(rtm->rtm_flags & interesting, "%-6.6s ");
printf("%6u %8llu ", rtm->rtm_rmx.rmx_refcnt,
rtm->rtm_rmx.rmx_pksent);
if (rtm->rtm_rmx.rmx_mtu)
printf("%6u ", rtm->rtm_rmx.rmx_mtu);
else
printf("%6s ", "-");
putchar((rtm->rtm_rmx.rmx_locks & RTV_MTU) ? 'L' : ' ');
printf(" %.16s", if_indextoname(rtm->rtm_index, ifbuf));
putchar('\n');
}
/*
* Print a pfkey/encap entry.
*/
void
p_pfkentry(struct sadb_msg *msg)
{
struct sadb_address *saddr;
struct sadb_protocol *sap, *saft;
struct sockaddr *sa, *mask;
void *headers[SADB_EXT_MAX + 1];
bzero(headers, sizeof(headers));
index_pfk(msg, headers);
/* These are always set */
saddr = headers[SADB_X_EXT_SRC_FLOW];
sa = (struct sockaddr *)(saddr + 1);
saddr = headers[SADB_X_EXT_SRC_MASK];
mask = (struct sockaddr *)(saddr + 1);
p_encap(sa, mask, WID_DST(sa->sa_family));
/* These are always set, too. */
saddr = headers[SADB_X_EXT_DST_FLOW];
sa = (struct sockaddr *)(saddr + 1);
saddr = headers[SADB_X_EXT_DST_MASK];
mask = (struct sockaddr *)(saddr + 1);
p_encap(sa, mask, WID_DST(sa->sa_family));
/* Bypass and deny flows do not set SADB_EXT_ADDRESS_DST! */
sap = headers[SADB_X_EXT_PROTOCOL];
saft = headers[SADB_X_EXT_FLOW_TYPE];
saddr = headers[SADB_EXT_ADDRESS_DST];
if (saddr)
sa = (struct sockaddr *)(saddr + 1);
else
sa = NULL;
p_protocol(sap, sa, saft, msg->sadb_msg_satype);
printf("\n");
}
/*
* Print address family header before a section of the routing table.
*/
void
pr_family(int af)
{
char *afname;
switch (af) {
case AF_INET:
afname = "IPv4";
break;
case AF_INET6:
afname = "IPv6";
break;
case PF_KEY:
afname = "Encap";
break;
default:
afname = NULL;
break;
}
if (afname)
printf("\n%% %s:\n", afname);
else
printf("\n%% Protocol Family %d:\n", af);
}
void
p_encap(struct sockaddr *sa, struct sockaddr *mask, int width)
{
char *cp;
unsigned short port = 0;
if (mask)
cp = netname(sa, mask);
else
cp = routename(sa);
switch (sa->sa_family) {
case AF_INET:
port = ntohs(((struct sockaddr_in *)sa)->sin_port);
break;
case AF_INET6:
port = ntohs(((struct sockaddr_in6 *)sa)->sin6_port);
break;
}
if (width < 0)
printf("%s", cp);
else {
printf("%-*s %-5u ", width, cp, port);
}
}
void
p_protocol(struct sadb_protocol *sap, struct sockaddr *sa, struct sadb_protocol
*saft, int proto)
{
printf("%-6u", sap->sadb_protocol_proto);
if (sa)
p_sockaddr(sa, NULL, 0, -1);
else
printf("none");
switch (proto) {
case SADB_SATYPE_ESP:
printf("/esp");
break;
case SADB_SATYPE_AH:
printf("/ah");
break;
case SADB_X_SATYPE_IPCOMP:
printf("/ipcomp");
break;
case SADB_X_SATYPE_IPIP:
printf("/ipip");
break;
default:
printf("/<unknown>");
}
switch(saft->sadb_protocol_proto) {
case SADB_X_FLOW_TYPE_USE:
printf("/use");
break;
case SADB_X_FLOW_TYPE_REQUIRE:
printf("/require");
break;
case SADB_X_FLOW_TYPE_ACQUIRE:
printf("/acquire");
break;
case SADB_X_FLOW_TYPE_DENY:
printf("/deny");
break;
case SADB_X_FLOW_TYPE_BYPASS:
printf("/bypass");
break;
case SADB_X_FLOW_TYPE_DONTACQ:
printf("/dontacq");
break;
default:
printf("/<unknown type>");
}
switch(saft->sadb_protocol_direction) {
case IPSP_DIRECTION_IN:
printf("/in");
break;
case IPSP_DIRECTION_OUT:
printf("/out");
break;
default:
printf("/<unknown>");
}
}
void
p_sockaddr(struct sockaddr *sa, struct sockaddr *mask, int flags, int width)
{
char *cp;
switch (sa->sa_family) {
case AF_INET6:
{
in6_fillscopeid((struct sockaddr_in6 *)sa);
if (flags & RTF_HOST)
cp = routename(sa);
else
cp = netname(sa, mask);
break;
}
default:
if ((flags & RTF_HOST) || mask == NULL)
cp = routename(sa);
else
cp = netname(sa, mask);
break;
}
if (width < 0)
printf("%s", cp);
else {
printf("%-*s ", width, cp);
}
}
void
p_flags(int f, char *format)
{
char name[33], *flags;
const struct bits *p = bits;
for (flags = name; p->b_mask && flags < &name[sizeof(name) - 2]; p++)
if (p->b_mask & f)
*flags++ = p->b_val;
*flags = '\0';
printf(format, name);
}
static char line_show[MAXHOSTNAMELEN];
static char domain[MAXHOSTNAMELEN];
char *
routename(struct sockaddr *sa)
{
char *cp = NULL;
static int first = 1;
struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa;
if (first) {
first = 0;
if (gethostname(domain, sizeof(domain)) == 0 &&
(cp = strchr(domain, '.')))
(void)strlcpy(domain, cp + 1, sizeof(domain));
else
domain[0] = '\0';
cp = NULL;
}
switch (sa->sa_family) {
case AF_INET:
if (sa->sa_len == 0)
return("0.0.0.0");
else
return
(routename4(((struct sockaddr_in *)sa)->
sin_addr.s_addr));
case AF_INET6:
if (sa->sa_len == sizeof(struct sockaddr_in6))
in6_fillscopeid(sin6);
return (routename6(sin6));
case AF_LINK:
return (link_print(sa));
case AF_UNSPEC:
if (sa->sa_len == sizeof(struct sockaddr_rtlabel)) {
static char name[RTLABEL_LEN];
struct sockaddr_rtlabel *sr;
sr = (struct sockaddr_rtlabel *)sa;
(void)strlcpy(name, sr->sr_label, sizeof(name));
return (name);
}
/* FALLTHROUGH */
default:
(void)snprintf(line_show, sizeof(line_show), "(%d) %s",
sa->sa_family, any_ntoa(sa));
break;
}
return (line_show);
}
void
in6_fillscopeid(struct sockaddr_in6 *sin6)
{
if ((IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr) ||
IN6_IS_ADDR_MC_LINKLOCAL(&sin6->sin6_addr) ||
IN6_IS_ADDR_MC_INTFACELOCAL(&sin6->sin6_addr)) &&
sin6->sin6_scope_id == 0) {
sin6->sin6_scope_id =
ntohs(*(u_int16_t *)&sin6->sin6_addr.s6_addr[2]);
sin6->sin6_addr.s6_addr[2] = sin6->sin6_addr.s6_addr[3] = 0;
}
}
void
in6_clearscopeid(struct sockaddr_in6 *sin6)
{
if ((IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr) ||
IN6_IS_ADDR_MC_LINKLOCAL(&sin6->sin6_addr) ||
IN6_IS_ADDR_MC_INTFACELOCAL(&sin6->sin6_addr)) &&
*(u_int16_t *)&sin6->sin6_addr.s6_addr[2] == 0 &&
sin6->sin6_scope_id) {
*(u_int16_t *)&sin6->sin6_addr.s6_addr[2] =
htons(sin6->sin6_scope_id & 0xffff);
sin6->sin6_scope_id = 0;
}
}
char *
routename4(in_addr_t in)
{
struct in_addr ina;
ina.s_addr = in;
strlcpy(line_show, inet_ntoa(ina), sizeof(line_show));
return (line_show);
}
char *
routename6(struct sockaddr_in6 *sin6)
{
if (getnameinfo((struct sockaddr *)sin6, sin6->sin6_len,
line_show, sizeof(line_show), NULL, 0, NI_NUMERICHOST) != 0)
strncpy(line_show, "", sizeof(line_show));
return (line_show);
}
/*
* Return the name of the network whose address is given.
* The address is assumed to be that of a net or subnet, not a host.
*/
char *
netname4(in_addr_t in, struct sockaddr_in *maskp)
{
in_addr_t mask;
int mbits;
if (maskp->sin_len == 0) {
/*
* annoying. why can't the kernel just tell the truth?
*/
maskp->sin_addr.s_addr = 0;
}
in = ntohl(in);
mask = maskp ? ntohl(maskp->sin_addr.s_addr) : 0;
mbits = mask ? 33 - ffs(mask) : 0;
#define C(x) ((x) & 0xff)
snprintf(line_show, sizeof(line_show), "%u.%u.%u.%u/%d", C(in >> 24),
C(in >> 16), C(in >> 8), C(in), mbits);
#undef C
return (line_show);
}
char *
netname6(struct sockaddr_in6 *sa6, struct sockaddr_in6 *mask)
{
struct sockaddr_in6 sin6;
u_char *p;
int masklen, final = 0, illegal = 0;
int i, lim, error;
char hbuf[NI_MAXHOST];
sin6 = *sa6;
masklen = 0;
if (mask) {
lim = mask->sin6_len - offsetof(struct sockaddr_in6, sin6_addr);
lim = lim < (int)sizeof(struct in6_addr) ?
lim : (int)sizeof(struct in6_addr);
for (p = (u_char *)&mask->sin6_addr, i = 0; i < lim; p++) {
if (final && *p) {
illegal++;
continue;
}
switch (*p & 0xff) {
case 0xff:
masklen += 8;
break;
case 0xfe:
masklen += 7;
final++;
break;
case 0xfc:
masklen += 6;
final++;
break;
case 0xf8:
masklen += 5;
final++;
break;
case 0xf0:
masklen += 4;
final++;
break;
case 0xe0:
masklen += 3;
final++;
break;
case 0xc0:
masklen += 2;
final++;
break;
case 0x80:
masklen += 1;
final++;
break;
case 0x00:
final++;
break;
default:
final++;
illegal++;
break;
}
i++;
}
} else
masklen = 128;
/* This will warn us if the kernel supplies an insane mask */
if (illegal)
printf("%% netname6: illegal prefixlen\n");
error = getnameinfo((struct sockaddr *)&sin6, sin6.sin6_len,
hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST);
if (error)
hbuf[0] = '\0';
snprintf(line_show, sizeof(line_show), "%s/%d", hbuf, masklen);
return (line_show);
}
/*
* Return the name of the network whose address is given.
* The address is assumed to be that of a net or subnet, not a host.
*/
char *
netname(struct sockaddr *sa, struct sockaddr *mask)
{
switch (sa->sa_family) {
case AF_INET:
return netname4(((struct sockaddr_in *)sa)->sin_addr.s_addr,
(struct sockaddr_in *)mask);
case AF_INET6:
return netname6((struct sockaddr_in6 *)sa,
(struct sockaddr_in6 *)mask);
case AF_LINK:
return (link_print(sa));
default:
snprintf(line_show, sizeof(line_show), "af %d: %s",
sa->sa_family, any_ntoa(sa));
break;
}
return (line_show);
}
static const char hexlist[] = "0123456789abcdef";
char *
any_ntoa(const struct sockaddr *sa)
{
static char obuf[240];
const char *in = sa->sa_data;
char *out = obuf;
int len = sa->sa_len - offsetof(struct sockaddr, sa_data);
*out++ = 'Q';
do {
*out++ = hexlist[(*in >> 4) & 15];
*out++ = hexlist[(*in++) & 15];
*out++ = '.';
} while (--len > 0 && (out + 3) < &obuf[sizeof(obuf) - 1]);
out[-1] = '\0';
return (obuf);
}
char *
link_print(struct sockaddr *sa)
{
struct sockaddr_dl *sdl = (struct sockaddr_dl *)sa;
u_char *lla = (u_char *)sdl->sdl_data + sdl->sdl_nlen;
if (sdl->sdl_nlen == 0 && sdl->sdl_alen == 0 &&
sdl->sdl_slen == 0)
return "";
switch (sdl->sdl_type) {
case IFT_ETHER:
case IFT_CARP:
return (ether_ntoa((struct ether_addr *)lla));
default:
return (link_ntoa(sdl));
}
}
void
index_pfk(struct sadb_msg *msg, void **headers)
{
struct sadb_ext *ext;
for (ext = (struct sadb_ext *)(msg + 1);
(size_t)((u_int8_t *)ext - (u_int8_t *)msg) <
msg->sadb_msg_len * PFKEYV2_CHUNK && ext->sadb_ext_len > 0;
ext = (struct sadb_ext *)((u_int8_t *)ext +
ext->sadb_ext_len * PFKEYV2_CHUNK)) {
switch (ext->sadb_ext_type) {
case SADB_EXT_ADDRESS_SRC:
headers[SADB_EXT_ADDRESS_SRC] = (void *)ext;
break;
case SADB_EXT_ADDRESS_DST:
headers[SADB_EXT_ADDRESS_DST] = (void *)ext;
break;
case SADB_X_EXT_PROTOCOL:
headers[SADB_X_EXT_PROTOCOL] = (void *)ext;
break;
case SADB_X_EXT_SRC_FLOW:
headers[SADB_X_EXT_SRC_FLOW] = (void *)ext;
break;
case SADB_X_EXT_DST_FLOW:
headers[SADB_X_EXT_DST_FLOW] = (void *)ext;
break;
case SADB_X_EXT_SRC_MASK:
headers[SADB_X_EXT_SRC_MASK] = (void *)ext;
break;
case SADB_X_EXT_DST_MASK:
headers[SADB_X_EXT_DST_MASK] = (void *)ext;
break;
case SADB_X_EXT_FLOW_TYPE:
headers[SADB_X_EXT_FLOW_TYPE] = (void *)ext;
default:
/* Ignore. */
break;
}
}
}
|
50ae611272d54ef2266e985704049d9f29c588bb
|
e7614b7c1d0c8d133d5b56db665e6aab66fefe4f
|
/src/sqlite_constants.h
|
843c9dfc9c5440058214ecde7dbb9d1353c30eef
|
[
"Zlib"
] |
permissive
|
ghaering/pysqlite
|
f35c57ac1db4f5c77ea956926a50281bd9a93264
|
4f32165fc628a1dc10c9449b8f4e1ddb3cfe6222
|
refs/heads/master
| 2023-08-22T14:45:50.645199
| 2022-08-13T19:27:27
| 2022-08-15T06:43:58
| 13,468,979
| 380
| 113
|
Zlib
| 2022-08-15T06:43:59
| 2013-10-10T11:02:40
|
C
|
UTF-8
|
C
| false
| false
| 30,042
|
h
|
sqlite_constants.h
|
#ifdef SQLITE_VERSION_NUMBER
{"SQLITE_VERSION_NUMBER", SQLITE_VERSION_NUMBER},
#endif
#ifdef SQLITE_ABORT
{"SQLITE_ABORT", SQLITE_ABORT},
#endif
#ifdef SQLITE_AUTH
{"SQLITE_AUTH", SQLITE_AUTH},
#endif
#ifdef SQLITE_BUSY
{"SQLITE_BUSY", SQLITE_BUSY},
#endif
#ifdef SQLITE_CANTOPEN
{"SQLITE_CANTOPEN", SQLITE_CANTOPEN},
#endif
#ifdef SQLITE_CONSTRAINT
{"SQLITE_CONSTRAINT", SQLITE_CONSTRAINT},
#endif
#ifdef SQLITE_CORRUPT
{"SQLITE_CORRUPT", SQLITE_CORRUPT},
#endif
#ifdef SQLITE_DONE
{"SQLITE_DONE", SQLITE_DONE},
#endif
#ifdef SQLITE_EMPTY
{"SQLITE_EMPTY", SQLITE_EMPTY},
#endif
#ifdef SQLITE_ERROR
{"SQLITE_ERROR", SQLITE_ERROR},
#endif
#ifdef SQLITE_FORMAT
{"SQLITE_FORMAT", SQLITE_FORMAT},
#endif
#ifdef SQLITE_FULL
{"SQLITE_FULL", SQLITE_FULL},
#endif
#ifdef SQLITE_INTERNAL
{"SQLITE_INTERNAL", SQLITE_INTERNAL},
#endif
#ifdef SQLITE_INTERRUPT
{"SQLITE_INTERRUPT", SQLITE_INTERRUPT},
#endif
#ifdef SQLITE_IOERR
{"SQLITE_IOERR", SQLITE_IOERR},
#endif
#ifdef SQLITE_LOCKED
{"SQLITE_LOCKED", SQLITE_LOCKED},
#endif
#ifdef SQLITE_MISMATCH
{"SQLITE_MISMATCH", SQLITE_MISMATCH},
#endif
#ifdef SQLITE_MISUSE
{"SQLITE_MISUSE", SQLITE_MISUSE},
#endif
#ifdef SQLITE_NOLFS
{"SQLITE_NOLFS", SQLITE_NOLFS},
#endif
#ifdef SQLITE_NOMEM
{"SQLITE_NOMEM", SQLITE_NOMEM},
#endif
#ifdef SQLITE_NOTADB
{"SQLITE_NOTADB", SQLITE_NOTADB},
#endif
#ifdef SQLITE_NOTFOUND
{"SQLITE_NOTFOUND", SQLITE_NOTFOUND},
#endif
#ifdef SQLITE_NOTICE
{"SQLITE_NOTICE", SQLITE_NOTICE},
#endif
#ifdef SQLITE_OK
{"SQLITE_OK", SQLITE_OK},
#endif
#ifdef SQLITE_PERM
{"SQLITE_PERM", SQLITE_PERM},
#endif
#ifdef SQLITE_PROTOCOL
{"SQLITE_PROTOCOL", SQLITE_PROTOCOL},
#endif
#ifdef SQLITE_RANGE
{"SQLITE_RANGE", SQLITE_RANGE},
#endif
#ifdef SQLITE_READONLY
{"SQLITE_READONLY", SQLITE_READONLY},
#endif
#ifdef SQLITE_ROW
{"SQLITE_ROW", SQLITE_ROW},
#endif
#ifdef SQLITE_SCHEMA
{"SQLITE_SCHEMA", SQLITE_SCHEMA},
#endif
#ifdef SQLITE_TOOBIG
{"SQLITE_TOOBIG", SQLITE_TOOBIG},
#endif
#ifdef SQLITE_WARNING
{"SQLITE_WARNING", SQLITE_WARNING},
#endif
#ifdef SQLITE_ABORT_ROLLBACK
{"SQLITE_ABORT_ROLLBACK", SQLITE_ABORT_ROLLBACK},
#endif
#ifdef SQLITE_AUTH_USER
{"SQLITE_AUTH_USER", SQLITE_AUTH_USER},
#endif
#ifdef SQLITE_BUSY_RECOVERY
{"SQLITE_BUSY_RECOVERY", SQLITE_BUSY_RECOVERY},
#endif
#ifdef SQLITE_BUSY_SNAPSHOT
{"SQLITE_BUSY_SNAPSHOT", SQLITE_BUSY_SNAPSHOT},
#endif
#ifdef SQLITE_CANTOPEN_CONVPATH
{"SQLITE_CANTOPEN_CONVPATH", SQLITE_CANTOPEN_CONVPATH},
#endif
#ifdef SQLITE_CANTOPEN_FULLPATH
{"SQLITE_CANTOPEN_FULLPATH", SQLITE_CANTOPEN_FULLPATH},
#endif
#ifdef SQLITE_CANTOPEN_ISDIR
{"SQLITE_CANTOPEN_ISDIR", SQLITE_CANTOPEN_ISDIR},
#endif
#ifdef SQLITE_CANTOPEN_NOTEMPDIR
{"SQLITE_CANTOPEN_NOTEMPDIR", SQLITE_CANTOPEN_NOTEMPDIR},
#endif
#ifdef SQLITE_CONSTRAINT_CHECK
{"SQLITE_CONSTRAINT_CHECK", SQLITE_CONSTRAINT_CHECK},
#endif
#ifdef SQLITE_CONSTRAINT_COMMITHOOK
{"SQLITE_CONSTRAINT_COMMITHOOK", SQLITE_CONSTRAINT_COMMITHOOK},
#endif
#ifdef SQLITE_CONSTRAINT_FOREIGNKEY
{"SQLITE_CONSTRAINT_FOREIGNKEY", SQLITE_CONSTRAINT_FOREIGNKEY},
#endif
#ifdef SQLITE_CONSTRAINT_FUNCTION
{"SQLITE_CONSTRAINT_FUNCTION", SQLITE_CONSTRAINT_FUNCTION},
#endif
#ifdef SQLITE_CONSTRAINT_NOTNULL
{"SQLITE_CONSTRAINT_NOTNULL", SQLITE_CONSTRAINT_NOTNULL},
#endif
#ifdef SQLITE_CONSTRAINT_PRIMARYKEY
{"SQLITE_CONSTRAINT_PRIMARYKEY", SQLITE_CONSTRAINT_PRIMARYKEY},
#endif
#ifdef SQLITE_CONSTRAINT_ROWID
{"SQLITE_CONSTRAINT_ROWID", SQLITE_CONSTRAINT_ROWID},
#endif
#ifdef SQLITE_CONSTRAINT_TRIGGER
{"SQLITE_CONSTRAINT_TRIGGER", SQLITE_CONSTRAINT_TRIGGER},
#endif
#ifdef SQLITE_CONSTRAINT_UNIQUE
{"SQLITE_CONSTRAINT_UNIQUE", SQLITE_CONSTRAINT_UNIQUE},
#endif
#ifdef SQLITE_CONSTRAINT_VTAB
{"SQLITE_CONSTRAINT_VTAB", SQLITE_CONSTRAINT_VTAB},
#endif
#ifdef SQLITE_CORRUPT_VTAB
{"SQLITE_CORRUPT_VTAB", SQLITE_CORRUPT_VTAB},
#endif
#ifdef SQLITE_IOERR_ACCESS
{"SQLITE_IOERR_ACCESS", SQLITE_IOERR_ACCESS},
#endif
#ifdef SQLITE_IOERR_AUTH
{"SQLITE_IOERR_AUTH", SQLITE_IOERR_AUTH},
#endif
#ifdef SQLITE_IOERR_BLOCKED
{"SQLITE_IOERR_BLOCKED", SQLITE_IOERR_BLOCKED},
#endif
#ifdef SQLITE_IOERR_CHECKRESERVEDLOCK
{"SQLITE_IOERR_CHECKRESERVEDLOCK", SQLITE_IOERR_CHECKRESERVEDLOCK},
#endif
#ifdef SQLITE_IOERR_CLOSE
{"SQLITE_IOERR_CLOSE", SQLITE_IOERR_CLOSE},
#endif
#ifdef SQLITE_IOERR_CONVPATH
{"SQLITE_IOERR_CONVPATH", SQLITE_IOERR_CONVPATH},
#endif
#ifdef SQLITE_IOERR_DELETE
{"SQLITE_IOERR_DELETE", SQLITE_IOERR_DELETE},
#endif
#ifdef SQLITE_IOERR_DELETE_NOENT
{"SQLITE_IOERR_DELETE_NOENT", SQLITE_IOERR_DELETE_NOENT},
#endif
#ifdef SQLITE_IOERR_DIR_CLOSE
{"SQLITE_IOERR_DIR_CLOSE", SQLITE_IOERR_DIR_CLOSE},
#endif
#ifdef SQLITE_IOERR_DIR_FSYNC
{"SQLITE_IOERR_DIR_FSYNC", SQLITE_IOERR_DIR_FSYNC},
#endif
#ifdef SQLITE_IOERR_FSTAT
{"SQLITE_IOERR_FSTAT", SQLITE_IOERR_FSTAT},
#endif
#ifdef SQLITE_IOERR_FSYNC
{"SQLITE_IOERR_FSYNC", SQLITE_IOERR_FSYNC},
#endif
#ifdef SQLITE_IOERR_GETTEMPPATH
{"SQLITE_IOERR_GETTEMPPATH", SQLITE_IOERR_GETTEMPPATH},
#endif
#ifdef SQLITE_IOERR_LOCK
{"SQLITE_IOERR_LOCK", SQLITE_IOERR_LOCK},
#endif
#ifdef SQLITE_IOERR_MMAP
{"SQLITE_IOERR_MMAP", SQLITE_IOERR_MMAP},
#endif
#ifdef SQLITE_IOERR_NOMEM
{"SQLITE_IOERR_NOMEM", SQLITE_IOERR_NOMEM},
#endif
#ifdef SQLITE_IOERR_RDLOCK
{"SQLITE_IOERR_RDLOCK", SQLITE_IOERR_RDLOCK},
#endif
#ifdef SQLITE_IOERR_READ
{"SQLITE_IOERR_READ", SQLITE_IOERR_READ},
#endif
#ifdef SQLITE_IOERR_SEEK
{"SQLITE_IOERR_SEEK", SQLITE_IOERR_SEEK},
#endif
#ifdef SQLITE_IOERR_SHMLOCK
{"SQLITE_IOERR_SHMLOCK", SQLITE_IOERR_SHMLOCK},
#endif
#ifdef SQLITE_IOERR_SHMMAP
{"SQLITE_IOERR_SHMMAP", SQLITE_IOERR_SHMMAP},
#endif
#ifdef SQLITE_IOERR_SHMOPEN
{"SQLITE_IOERR_SHMOPEN", SQLITE_IOERR_SHMOPEN},
#endif
#ifdef SQLITE_IOERR_SHMSIZE
{"SQLITE_IOERR_SHMSIZE", SQLITE_IOERR_SHMSIZE},
#endif
#ifdef SQLITE_IOERR_SHORT_READ
{"SQLITE_IOERR_SHORT_READ", SQLITE_IOERR_SHORT_READ},
#endif
#ifdef SQLITE_IOERR_TRUNCATE
{"SQLITE_IOERR_TRUNCATE", SQLITE_IOERR_TRUNCATE},
#endif
#ifdef SQLITE_IOERR_UNLOCK
{"SQLITE_IOERR_UNLOCK", SQLITE_IOERR_UNLOCK},
#endif
#ifdef SQLITE_IOERR_VNODE
{"SQLITE_IOERR_VNODE", SQLITE_IOERR_VNODE},
#endif
#ifdef SQLITE_IOERR_WRITE
{"SQLITE_IOERR_WRITE", SQLITE_IOERR_WRITE},
#endif
#ifdef SQLITE_LOCKED_SHAREDCACHE
{"SQLITE_LOCKED_SHAREDCACHE", SQLITE_LOCKED_SHAREDCACHE},
#endif
#ifdef SQLITE_NOTICE_RECOVER_ROLLBACK
{"SQLITE_NOTICE_RECOVER_ROLLBACK", SQLITE_NOTICE_RECOVER_ROLLBACK},
#endif
#ifdef SQLITE_NOTICE_RECOVER_WAL
{"SQLITE_NOTICE_RECOVER_WAL", SQLITE_NOTICE_RECOVER_WAL},
#endif
#ifdef SQLITE_READONLY_CANTLOCK
{"SQLITE_READONLY_CANTLOCK", SQLITE_READONLY_CANTLOCK},
#endif
#ifdef SQLITE_READONLY_DBMOVED
{"SQLITE_READONLY_DBMOVED", SQLITE_READONLY_DBMOVED},
#endif
#ifdef SQLITE_READONLY_RECOVERY
{"SQLITE_READONLY_RECOVERY", SQLITE_READONLY_RECOVERY},
#endif
#ifdef SQLITE_READONLY_ROLLBACK
{"SQLITE_READONLY_ROLLBACK", SQLITE_READONLY_ROLLBACK},
#endif
#ifdef SQLITE_WARNING_AUTOINDEX
{"SQLITE_WARNING_AUTOINDEX", SQLITE_WARNING_AUTOINDEX},
#endif
#ifdef SQLITE_OPEN_AUTOPROXY
{"SQLITE_OPEN_AUTOPROXY", SQLITE_OPEN_AUTOPROXY},
#endif
#ifdef SQLITE_OPEN_CREATE
{"SQLITE_OPEN_CREATE", SQLITE_OPEN_CREATE},
#endif
#ifdef SQLITE_OPEN_DELETEONCLOSE
{"SQLITE_OPEN_DELETEONCLOSE", SQLITE_OPEN_DELETEONCLOSE},
#endif
#ifdef SQLITE_OPEN_EXCLUSIVE
{"SQLITE_OPEN_EXCLUSIVE", SQLITE_OPEN_EXCLUSIVE},
#endif
#ifdef SQLITE_OPEN_FULLMUTEX
{"SQLITE_OPEN_FULLMUTEX", SQLITE_OPEN_FULLMUTEX},
#endif
#ifdef SQLITE_OPEN_MAIN_DB
{"SQLITE_OPEN_MAIN_DB", SQLITE_OPEN_MAIN_DB},
#endif
#ifdef SQLITE_OPEN_MAIN_JOURNAL
{"SQLITE_OPEN_MAIN_JOURNAL", SQLITE_OPEN_MAIN_JOURNAL},
#endif
#ifdef SQLITE_OPEN_MASTER_JOURNAL
{"SQLITE_OPEN_MASTER_JOURNAL", SQLITE_OPEN_MASTER_JOURNAL},
#endif
#ifdef SQLITE_OPEN_MEMORY
{"SQLITE_OPEN_MEMORY", SQLITE_OPEN_MEMORY},
#endif
#ifdef SQLITE_OPEN_NOMUTEX
{"SQLITE_OPEN_NOMUTEX", SQLITE_OPEN_NOMUTEX},
#endif
#ifdef SQLITE_OPEN_PRIVATECACHE
{"SQLITE_OPEN_PRIVATECACHE", SQLITE_OPEN_PRIVATECACHE},
#endif
#ifdef SQLITE_OPEN_READONLY
{"SQLITE_OPEN_READONLY", SQLITE_OPEN_READONLY},
#endif
#ifdef SQLITE_OPEN_READWRITE
{"SQLITE_OPEN_READWRITE", SQLITE_OPEN_READWRITE},
#endif
#ifdef SQLITE_OPEN_SHAREDCACHE
{"SQLITE_OPEN_SHAREDCACHE", SQLITE_OPEN_SHAREDCACHE},
#endif
#ifdef SQLITE_OPEN_SUBJOURNAL
{"SQLITE_OPEN_SUBJOURNAL", SQLITE_OPEN_SUBJOURNAL},
#endif
#ifdef SQLITE_OPEN_TEMP_DB
{"SQLITE_OPEN_TEMP_DB", SQLITE_OPEN_TEMP_DB},
#endif
#ifdef SQLITE_OPEN_TEMP_JOURNAL
{"SQLITE_OPEN_TEMP_JOURNAL", SQLITE_OPEN_TEMP_JOURNAL},
#endif
#ifdef SQLITE_OPEN_TRANSIENT_DB
{"SQLITE_OPEN_TRANSIENT_DB", SQLITE_OPEN_TRANSIENT_DB},
#endif
#ifdef SQLITE_OPEN_URI
{"SQLITE_OPEN_URI", SQLITE_OPEN_URI},
#endif
#ifdef SQLITE_OPEN_WAL
{"SQLITE_OPEN_WAL", SQLITE_OPEN_WAL},
#endif
#ifdef SQLITE_IOCAP_ATOMIC
{"SQLITE_IOCAP_ATOMIC", SQLITE_IOCAP_ATOMIC},
#endif
#ifdef SQLITE_IOCAP_ATOMIC16K
{"SQLITE_IOCAP_ATOMIC16K", SQLITE_IOCAP_ATOMIC16K},
#endif
#ifdef SQLITE_IOCAP_ATOMIC1K
{"SQLITE_IOCAP_ATOMIC1K", SQLITE_IOCAP_ATOMIC1K},
#endif
#ifdef SQLITE_IOCAP_ATOMIC2K
{"SQLITE_IOCAP_ATOMIC2K", SQLITE_IOCAP_ATOMIC2K},
#endif
#ifdef SQLITE_IOCAP_ATOMIC32K
{"SQLITE_IOCAP_ATOMIC32K", SQLITE_IOCAP_ATOMIC32K},
#endif
#ifdef SQLITE_IOCAP_ATOMIC4K
{"SQLITE_IOCAP_ATOMIC4K", SQLITE_IOCAP_ATOMIC4K},
#endif
#ifdef SQLITE_IOCAP_ATOMIC512
{"SQLITE_IOCAP_ATOMIC512", SQLITE_IOCAP_ATOMIC512},
#endif
#ifdef SQLITE_IOCAP_ATOMIC64K
{"SQLITE_IOCAP_ATOMIC64K", SQLITE_IOCAP_ATOMIC64K},
#endif
#ifdef SQLITE_IOCAP_ATOMIC8K
{"SQLITE_IOCAP_ATOMIC8K", SQLITE_IOCAP_ATOMIC8K},
#endif
#ifdef SQLITE_IOCAP_IMMUTABLE
{"SQLITE_IOCAP_IMMUTABLE", SQLITE_IOCAP_IMMUTABLE},
#endif
#ifdef SQLITE_IOCAP_POWERSAFE_OVERWRITE
{"SQLITE_IOCAP_POWERSAFE_OVERWRITE", SQLITE_IOCAP_POWERSAFE_OVERWRITE},
#endif
#ifdef SQLITE_IOCAP_SAFE_APPEND
{"SQLITE_IOCAP_SAFE_APPEND", SQLITE_IOCAP_SAFE_APPEND},
#endif
#ifdef SQLITE_IOCAP_SEQUENTIAL
{"SQLITE_IOCAP_SEQUENTIAL", SQLITE_IOCAP_SEQUENTIAL},
#endif
#ifdef SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN
{"SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN", SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN},
#endif
#ifdef SQLITE_LOCK_EXCLUSIVE
{"SQLITE_LOCK_EXCLUSIVE", SQLITE_LOCK_EXCLUSIVE},
#endif
#ifdef SQLITE_LOCK_NONE
{"SQLITE_LOCK_NONE", SQLITE_LOCK_NONE},
#endif
#ifdef SQLITE_LOCK_PENDING
{"SQLITE_LOCK_PENDING", SQLITE_LOCK_PENDING},
#endif
#ifdef SQLITE_LOCK_RESERVED
{"SQLITE_LOCK_RESERVED", SQLITE_LOCK_RESERVED},
#endif
#ifdef SQLITE_LOCK_SHARED
{"SQLITE_LOCK_SHARED", SQLITE_LOCK_SHARED},
#endif
#ifdef SQLITE_SYNC_DATAONLY
{"SQLITE_SYNC_DATAONLY", SQLITE_SYNC_DATAONLY},
#endif
#ifdef SQLITE_SYNC_FULL
{"SQLITE_SYNC_FULL", SQLITE_SYNC_FULL},
#endif
#ifdef SQLITE_SYNC_NORMAL
{"SQLITE_SYNC_NORMAL", SQLITE_SYNC_NORMAL},
#endif
#ifdef SQLITE_FCNTL_BUSYHANDLER
{"SQLITE_FCNTL_BUSYHANDLER", SQLITE_FCNTL_BUSYHANDLER},
#endif
#ifdef SQLITE_FCNTL_CHUNK_SIZE
{"SQLITE_FCNTL_CHUNK_SIZE", SQLITE_FCNTL_CHUNK_SIZE},
#endif
#ifdef SQLITE_FCNTL_COMMIT_PHASETWO
{"SQLITE_FCNTL_COMMIT_PHASETWO", SQLITE_FCNTL_COMMIT_PHASETWO},
#endif
#ifdef SQLITE_FCNTL_FILE_POINTER
{"SQLITE_FCNTL_FILE_POINTER", SQLITE_FCNTL_FILE_POINTER},
#endif
#ifdef SQLITE_FCNTL_GET_LOCKPROXYFILE
{"SQLITE_FCNTL_GET_LOCKPROXYFILE", SQLITE_FCNTL_GET_LOCKPROXYFILE},
#endif
#ifdef SQLITE_FCNTL_HAS_MOVED
{"SQLITE_FCNTL_HAS_MOVED", SQLITE_FCNTL_HAS_MOVED},
#endif
#ifdef SQLITE_FCNTL_JOURNAL_POINTER
{"SQLITE_FCNTL_JOURNAL_POINTER", SQLITE_FCNTL_JOURNAL_POINTER},
#endif
#ifdef SQLITE_FCNTL_LAST_ERRNO
{"SQLITE_FCNTL_LAST_ERRNO", SQLITE_FCNTL_LAST_ERRNO},
#endif
#ifdef SQLITE_FCNTL_LOCKSTATE
{"SQLITE_FCNTL_LOCKSTATE", SQLITE_FCNTL_LOCKSTATE},
#endif
#ifdef SQLITE_FCNTL_MMAP_SIZE
{"SQLITE_FCNTL_MMAP_SIZE", SQLITE_FCNTL_MMAP_SIZE},
#endif
#ifdef SQLITE_FCNTL_OVERWRITE
{"SQLITE_FCNTL_OVERWRITE", SQLITE_FCNTL_OVERWRITE},
#endif
#ifdef SQLITE_FCNTL_PERSIST_WAL
{"SQLITE_FCNTL_PERSIST_WAL", SQLITE_FCNTL_PERSIST_WAL},
#endif
#ifdef SQLITE_FCNTL_POWERSAFE_OVERWRITE
{"SQLITE_FCNTL_POWERSAFE_OVERWRITE", SQLITE_FCNTL_POWERSAFE_OVERWRITE},
#endif
#ifdef SQLITE_FCNTL_PRAGMA
{"SQLITE_FCNTL_PRAGMA", SQLITE_FCNTL_PRAGMA},
#endif
#ifdef SQLITE_FCNTL_RBU
{"SQLITE_FCNTL_RBU", SQLITE_FCNTL_RBU},
#endif
#ifdef SQLITE_FCNTL_SET_LOCKPROXYFILE
{"SQLITE_FCNTL_SET_LOCKPROXYFILE", SQLITE_FCNTL_SET_LOCKPROXYFILE},
#endif
#ifdef SQLITE_FCNTL_SIZE_HINT
{"SQLITE_FCNTL_SIZE_HINT", SQLITE_FCNTL_SIZE_HINT},
#endif
#ifdef SQLITE_FCNTL_SYNC
{"SQLITE_FCNTL_SYNC", SQLITE_FCNTL_SYNC},
#endif
#ifdef SQLITE_FCNTL_SYNC_OMITTED
{"SQLITE_FCNTL_SYNC_OMITTED", SQLITE_FCNTL_SYNC_OMITTED},
#endif
#ifdef SQLITE_FCNTL_TEMPFILENAME
{"SQLITE_FCNTL_TEMPFILENAME", SQLITE_FCNTL_TEMPFILENAME},
#endif
#ifdef SQLITE_FCNTL_TRACE
{"SQLITE_FCNTL_TRACE", SQLITE_FCNTL_TRACE},
#endif
#ifdef SQLITE_FCNTL_VFSNAME
{"SQLITE_FCNTL_VFSNAME", SQLITE_FCNTL_VFSNAME},
#endif
#ifdef SQLITE_FCNTL_VFS_POINTER
{"SQLITE_FCNTL_VFS_POINTER", SQLITE_FCNTL_VFS_POINTER},
#endif
#ifdef SQLITE_FCNTL_WAL_BLOCK
{"SQLITE_FCNTL_WAL_BLOCK", SQLITE_FCNTL_WAL_BLOCK},
#endif
#ifdef SQLITE_FCNTL_WIN32_AV_RETRY
{"SQLITE_FCNTL_WIN32_AV_RETRY", SQLITE_FCNTL_WIN32_AV_RETRY},
#endif
#ifdef SQLITE_FCNTL_WIN32_SET_HANDLE
{"SQLITE_FCNTL_WIN32_SET_HANDLE", SQLITE_FCNTL_WIN32_SET_HANDLE},
#endif
#ifdef SQLITE_FCNTL_ZIPVFS
{"SQLITE_FCNTL_ZIPVFS", SQLITE_FCNTL_ZIPVFS},
#endif
#ifdef SQLITE_ACCESS_EXISTS
{"SQLITE_ACCESS_EXISTS", SQLITE_ACCESS_EXISTS},
#endif
#ifdef SQLITE_ACCESS_READ
{"SQLITE_ACCESS_READ", SQLITE_ACCESS_READ},
#endif
#ifdef SQLITE_ACCESS_READWRITE
{"SQLITE_ACCESS_READWRITE", SQLITE_ACCESS_READWRITE},
#endif
#ifdef SQLITE_SHM_EXCLUSIVE
{"SQLITE_SHM_EXCLUSIVE", SQLITE_SHM_EXCLUSIVE},
#endif
#ifdef SQLITE_SHM_LOCK
{"SQLITE_SHM_LOCK", SQLITE_SHM_LOCK},
#endif
#ifdef SQLITE_SHM_SHARED
{"SQLITE_SHM_SHARED", SQLITE_SHM_SHARED},
#endif
#ifdef SQLITE_SHM_UNLOCK
{"SQLITE_SHM_UNLOCK", SQLITE_SHM_UNLOCK},
#endif
#ifdef SQLITE_SHM_NLOCK
{"SQLITE_SHM_NLOCK", SQLITE_SHM_NLOCK},
#endif
#ifdef SQLITE_CONFIG_COVERING_INDEX_SCAN
{"SQLITE_CONFIG_COVERING_INDEX_SCAN", SQLITE_CONFIG_COVERING_INDEX_SCAN},
#endif
#ifdef SQLITE_CONFIG_GETMALLOC
{"SQLITE_CONFIG_GETMALLOC", SQLITE_CONFIG_GETMALLOC},
#endif
#ifdef SQLITE_CONFIG_GETMUTEX
{"SQLITE_CONFIG_GETMUTEX", SQLITE_CONFIG_GETMUTEX},
#endif
#ifdef SQLITE_CONFIG_GETPCACHE
{"SQLITE_CONFIG_GETPCACHE", SQLITE_CONFIG_GETPCACHE},
#endif
#ifdef SQLITE_CONFIG_GETPCACHE2
{"SQLITE_CONFIG_GETPCACHE2", SQLITE_CONFIG_GETPCACHE2},
#endif
#ifdef SQLITE_CONFIG_HEAP
{"SQLITE_CONFIG_HEAP", SQLITE_CONFIG_HEAP},
#endif
#ifdef SQLITE_CONFIG_LOG
{"SQLITE_CONFIG_LOG", SQLITE_CONFIG_LOG},
#endif
#ifdef SQLITE_CONFIG_LOOKASIDE
{"SQLITE_CONFIG_LOOKASIDE", SQLITE_CONFIG_LOOKASIDE},
#endif
#ifdef SQLITE_CONFIG_MALLOC
{"SQLITE_CONFIG_MALLOC", SQLITE_CONFIG_MALLOC},
#endif
#ifdef SQLITE_CONFIG_MEMSTATUS
{"SQLITE_CONFIG_MEMSTATUS", SQLITE_CONFIG_MEMSTATUS},
#endif
#ifdef SQLITE_CONFIG_MMAP_SIZE
{"SQLITE_CONFIG_MMAP_SIZE", SQLITE_CONFIG_MMAP_SIZE},
#endif
#ifdef SQLITE_CONFIG_MULTITHREAD
{"SQLITE_CONFIG_MULTITHREAD", SQLITE_CONFIG_MULTITHREAD},
#endif
#ifdef SQLITE_CONFIG_MUTEX
{"SQLITE_CONFIG_MUTEX", SQLITE_CONFIG_MUTEX},
#endif
#ifdef SQLITE_CONFIG_PAGECACHE
{"SQLITE_CONFIG_PAGECACHE", SQLITE_CONFIG_PAGECACHE},
#endif
#ifdef SQLITE_CONFIG_PCACHE
{"SQLITE_CONFIG_PCACHE", SQLITE_CONFIG_PCACHE},
#endif
#ifdef SQLITE_CONFIG_PCACHE2
{"SQLITE_CONFIG_PCACHE2", SQLITE_CONFIG_PCACHE2},
#endif
#ifdef SQLITE_CONFIG_PCACHE_HDRSZ
{"SQLITE_CONFIG_PCACHE_HDRSZ", SQLITE_CONFIG_PCACHE_HDRSZ},
#endif
#ifdef SQLITE_CONFIG_PMASZ
{"SQLITE_CONFIG_PMASZ", SQLITE_CONFIG_PMASZ},
#endif
#ifdef SQLITE_CONFIG_SCRATCH
{"SQLITE_CONFIG_SCRATCH", SQLITE_CONFIG_SCRATCH},
#endif
#ifdef SQLITE_CONFIG_SERIALIZED
{"SQLITE_CONFIG_SERIALIZED", SQLITE_CONFIG_SERIALIZED},
#endif
#ifdef SQLITE_CONFIG_SINGLETHREAD
{"SQLITE_CONFIG_SINGLETHREAD", SQLITE_CONFIG_SINGLETHREAD},
#endif
#ifdef SQLITE_CONFIG_SQLLOG
{"SQLITE_CONFIG_SQLLOG", SQLITE_CONFIG_SQLLOG},
#endif
#ifdef SQLITE_CONFIG_STMTJRNL_SPILL
{"SQLITE_CONFIG_STMTJRNL_SPILL", SQLITE_CONFIG_STMTJRNL_SPILL},
#endif
#ifdef SQLITE_CONFIG_URI
{"SQLITE_CONFIG_URI", SQLITE_CONFIG_URI},
#endif
#ifdef SQLITE_CONFIG_WIN32_HEAPSIZE
{"SQLITE_CONFIG_WIN32_HEAPSIZE", SQLITE_CONFIG_WIN32_HEAPSIZE},
#endif
#ifdef SQLITE_DBCONFIG_ENABLE_FKEY
{"SQLITE_DBCONFIG_ENABLE_FKEY", SQLITE_DBCONFIG_ENABLE_FKEY},
#endif
#ifdef SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER
{"SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER", SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER},
#endif
#ifdef SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION
{"SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION", SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION},
#endif
#ifdef SQLITE_DBCONFIG_ENABLE_TRIGGER
{"SQLITE_DBCONFIG_ENABLE_TRIGGER", SQLITE_DBCONFIG_ENABLE_TRIGGER},
#endif
#ifdef SQLITE_DBCONFIG_LOOKASIDE
{"SQLITE_DBCONFIG_LOOKASIDE", SQLITE_DBCONFIG_LOOKASIDE},
#endif
#ifdef SQLITE_DENY
{"SQLITE_DENY", SQLITE_DENY},
#endif
#ifdef SQLITE_IGNORE
{"SQLITE_IGNORE", SQLITE_IGNORE},
#endif
#ifdef SQLITE_ALTER_TABLE
{"SQLITE_ALTER_TABLE", SQLITE_ALTER_TABLE},
#endif
#ifdef SQLITE_ANALYZE
{"SQLITE_ANALYZE", SQLITE_ANALYZE},
#endif
#ifdef SQLITE_ATTACH
{"SQLITE_ATTACH", SQLITE_ATTACH},
#endif
#ifdef SQLITE_COPY
{"SQLITE_COPY", SQLITE_COPY},
#endif
#ifdef SQLITE_CREATE_INDEX
{"SQLITE_CREATE_INDEX", SQLITE_CREATE_INDEX},
#endif
#ifdef SQLITE_CREATE_TABLE
{"SQLITE_CREATE_TABLE", SQLITE_CREATE_TABLE},
#endif
#ifdef SQLITE_CREATE_TEMP_INDEX
{"SQLITE_CREATE_TEMP_INDEX", SQLITE_CREATE_TEMP_INDEX},
#endif
#ifdef SQLITE_CREATE_TEMP_TABLE
{"SQLITE_CREATE_TEMP_TABLE", SQLITE_CREATE_TEMP_TABLE},
#endif
#ifdef SQLITE_CREATE_TEMP_TRIGGER
{"SQLITE_CREATE_TEMP_TRIGGER", SQLITE_CREATE_TEMP_TRIGGER},
#endif
#ifdef SQLITE_CREATE_TEMP_VIEW
{"SQLITE_CREATE_TEMP_VIEW", SQLITE_CREATE_TEMP_VIEW},
#endif
#ifdef SQLITE_CREATE_TRIGGER
{"SQLITE_CREATE_TRIGGER", SQLITE_CREATE_TRIGGER},
#endif
#ifdef SQLITE_CREATE_VIEW
{"SQLITE_CREATE_VIEW", SQLITE_CREATE_VIEW},
#endif
#ifdef SQLITE_CREATE_VTABLE
{"SQLITE_CREATE_VTABLE", SQLITE_CREATE_VTABLE},
#endif
#ifdef SQLITE_DELETE
{"SQLITE_DELETE", SQLITE_DELETE},
#endif
#ifdef SQLITE_DETACH
{"SQLITE_DETACH", SQLITE_DETACH},
#endif
#ifdef SQLITE_DROP_INDEX
{"SQLITE_DROP_INDEX", SQLITE_DROP_INDEX},
#endif
#ifdef SQLITE_DROP_TABLE
{"SQLITE_DROP_TABLE", SQLITE_DROP_TABLE},
#endif
#ifdef SQLITE_DROP_TEMP_INDEX
{"SQLITE_DROP_TEMP_INDEX", SQLITE_DROP_TEMP_INDEX},
#endif
#ifdef SQLITE_DROP_TEMP_TABLE
{"SQLITE_DROP_TEMP_TABLE", SQLITE_DROP_TEMP_TABLE},
#endif
#ifdef SQLITE_DROP_TEMP_TRIGGER
{"SQLITE_DROP_TEMP_TRIGGER", SQLITE_DROP_TEMP_TRIGGER},
#endif
#ifdef SQLITE_DROP_TEMP_VIEW
{"SQLITE_DROP_TEMP_VIEW", SQLITE_DROP_TEMP_VIEW},
#endif
#ifdef SQLITE_DROP_TRIGGER
{"SQLITE_DROP_TRIGGER", SQLITE_DROP_TRIGGER},
#endif
#ifdef SQLITE_DROP_VIEW
{"SQLITE_DROP_VIEW", SQLITE_DROP_VIEW},
#endif
#ifdef SQLITE_DROP_VTABLE
{"SQLITE_DROP_VTABLE", SQLITE_DROP_VTABLE},
#endif
#ifdef SQLITE_FUNCTION
{"SQLITE_FUNCTION", SQLITE_FUNCTION},
#endif
#ifdef SQLITE_INSERT
{"SQLITE_INSERT", SQLITE_INSERT},
#endif
#ifdef SQLITE_PRAGMA
{"SQLITE_PRAGMA", SQLITE_PRAGMA},
#endif
#ifdef SQLITE_READ
{"SQLITE_READ", SQLITE_READ},
#endif
#ifdef SQLITE_RECURSIVE
{"SQLITE_RECURSIVE", SQLITE_RECURSIVE},
#endif
#ifdef SQLITE_REINDEX
{"SQLITE_REINDEX", SQLITE_REINDEX},
#endif
#ifdef SQLITE_SAVEPOINT
{"SQLITE_SAVEPOINT", SQLITE_SAVEPOINT},
#endif
#ifdef SQLITE_SELECT
{"SQLITE_SELECT", SQLITE_SELECT},
#endif
#ifdef SQLITE_TRANSACTION
{"SQLITE_TRANSACTION", SQLITE_TRANSACTION},
#endif
#ifdef SQLITE_UPDATE
{"SQLITE_UPDATE", SQLITE_UPDATE},
#endif
#ifdef SQLITE_LIMIT_ATTACHED
{"SQLITE_LIMIT_ATTACHED", SQLITE_LIMIT_ATTACHED},
#endif
#ifdef SQLITE_LIMIT_COLUMN
{"SQLITE_LIMIT_COLUMN", SQLITE_LIMIT_COLUMN},
#endif
#ifdef SQLITE_LIMIT_COMPOUND_SELECT
{"SQLITE_LIMIT_COMPOUND_SELECT", SQLITE_LIMIT_COMPOUND_SELECT},
#endif
#ifdef SQLITE_LIMIT_EXPR_DEPTH
{"SQLITE_LIMIT_EXPR_DEPTH", SQLITE_LIMIT_EXPR_DEPTH},
#endif
#ifdef SQLITE_LIMIT_FUNCTION_ARG
{"SQLITE_LIMIT_FUNCTION_ARG", SQLITE_LIMIT_FUNCTION_ARG},
#endif
#ifdef SQLITE_LIMIT_LENGTH
{"SQLITE_LIMIT_LENGTH", SQLITE_LIMIT_LENGTH},
#endif
#ifdef SQLITE_LIMIT_LIKE_PATTERN_LENGTH
{"SQLITE_LIMIT_LIKE_PATTERN_LENGTH", SQLITE_LIMIT_LIKE_PATTERN_LENGTH},
#endif
#ifdef SQLITE_LIMIT_SQL_LENGTH
{"SQLITE_LIMIT_SQL_LENGTH", SQLITE_LIMIT_SQL_LENGTH},
#endif
#ifdef SQLITE_LIMIT_TRIGGER_DEPTH
{"SQLITE_LIMIT_TRIGGER_DEPTH", SQLITE_LIMIT_TRIGGER_DEPTH},
#endif
#ifdef SQLITE_LIMIT_VARIABLE_NUMBER
{"SQLITE_LIMIT_VARIABLE_NUMBER", SQLITE_LIMIT_VARIABLE_NUMBER},
#endif
#ifdef SQLITE_LIMIT_VDBE_OP
{"SQLITE_LIMIT_VDBE_OP", SQLITE_LIMIT_VDBE_OP},
#endif
#ifdef SQLITE_LIMIT_WORKER_THREADS
{"SQLITE_LIMIT_WORKER_THREADS", SQLITE_LIMIT_WORKER_THREADS},
#endif
#ifdef SQLITE_BLOB
{"SQLITE_BLOB", SQLITE_BLOB},
#endif
#ifdef SQLITE_FLOAT
{"SQLITE_FLOAT", SQLITE_FLOAT},
#endif
#ifdef SQLITE_INTEGER
{"SQLITE_INTEGER", SQLITE_INTEGER},
#endif
#ifdef SQLITE_NULL
{"SQLITE_NULL", SQLITE_NULL},
#endif
#ifdef SQLITE_TEXT
{"SQLITE_TEXT", SQLITE_TEXT},
#endif
#ifdef SQLITE_ANY
{"SQLITE_ANY", SQLITE_ANY},
#endif
#ifdef SQLITE_UTF16
{"SQLITE_UTF16", SQLITE_UTF16},
#endif
#ifdef SQLITE_UTF16BE
{"SQLITE_UTF16BE", SQLITE_UTF16BE},
#endif
#ifdef SQLITE_UTF16LE
{"SQLITE_UTF16LE", SQLITE_UTF16LE},
#endif
#ifdef SQLITE_UTF16_ALIGNED
{"SQLITE_UTF16_ALIGNED", SQLITE_UTF16_ALIGNED},
#endif
#ifdef SQLITE_UTF8
{"SQLITE_UTF8", SQLITE_UTF8},
#endif
#ifdef SQLITE_DETERMINISTIC
{"SQLITE_DETERMINISTIC", SQLITE_DETERMINISTIC},
#endif
#ifdef SQLITE_STATIC
{"SQLITE_STATIC", SQLITE_STATIC},
#endif
#ifdef SQLITE_TRANSIENT
{"SQLITE_TRANSIENT", SQLITE_TRANSIENT},
#endif
#ifdef SQLITE_INDEX_SCAN_UNIQUE
{"SQLITE_INDEX_SCAN_UNIQUE", SQLITE_INDEX_SCAN_UNIQUE},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_EQ
{"SQLITE_INDEX_CONSTRAINT_EQ", SQLITE_INDEX_CONSTRAINT_EQ},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_GE
{"SQLITE_INDEX_CONSTRAINT_GE", SQLITE_INDEX_CONSTRAINT_GE},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_GLOB
{"SQLITE_INDEX_CONSTRAINT_GLOB", SQLITE_INDEX_CONSTRAINT_GLOB},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_GT
{"SQLITE_INDEX_CONSTRAINT_GT", SQLITE_INDEX_CONSTRAINT_GT},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_LE
{"SQLITE_INDEX_CONSTRAINT_LE", SQLITE_INDEX_CONSTRAINT_LE},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_LIKE
{"SQLITE_INDEX_CONSTRAINT_LIKE", SQLITE_INDEX_CONSTRAINT_LIKE},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_LT
{"SQLITE_INDEX_CONSTRAINT_LT", SQLITE_INDEX_CONSTRAINT_LT},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_MATCH
{"SQLITE_INDEX_CONSTRAINT_MATCH", SQLITE_INDEX_CONSTRAINT_MATCH},
#endif
#ifdef SQLITE_INDEX_CONSTRAINT_REGEXP
{"SQLITE_INDEX_CONSTRAINT_REGEXP", SQLITE_INDEX_CONSTRAINT_REGEXP},
#endif
#ifdef SQLITE_MUTEX_FAST
{"SQLITE_MUTEX_FAST", SQLITE_MUTEX_FAST},
#endif
#ifdef SQLITE_MUTEX_RECURSIVE
{"SQLITE_MUTEX_RECURSIVE", SQLITE_MUTEX_RECURSIVE},
#endif
#ifdef SQLITE_MUTEX_STATIC_APP1
{"SQLITE_MUTEX_STATIC_APP1", SQLITE_MUTEX_STATIC_APP1},
#endif
#ifdef SQLITE_MUTEX_STATIC_APP2
{"SQLITE_MUTEX_STATIC_APP2", SQLITE_MUTEX_STATIC_APP2},
#endif
#ifdef SQLITE_MUTEX_STATIC_APP3
{"SQLITE_MUTEX_STATIC_APP3", SQLITE_MUTEX_STATIC_APP3},
#endif
#ifdef SQLITE_MUTEX_STATIC_LRU
{"SQLITE_MUTEX_STATIC_LRU", SQLITE_MUTEX_STATIC_LRU},
#endif
#ifdef SQLITE_MUTEX_STATIC_LRU2
{"SQLITE_MUTEX_STATIC_LRU2", SQLITE_MUTEX_STATIC_LRU2},
#endif
#ifdef SQLITE_MUTEX_STATIC_MASTER
{"SQLITE_MUTEX_STATIC_MASTER", SQLITE_MUTEX_STATIC_MASTER},
#endif
#ifdef SQLITE_MUTEX_STATIC_MEM
{"SQLITE_MUTEX_STATIC_MEM", SQLITE_MUTEX_STATIC_MEM},
#endif
#ifdef SQLITE_MUTEX_STATIC_MEM2
{"SQLITE_MUTEX_STATIC_MEM2", SQLITE_MUTEX_STATIC_MEM2},
#endif
#ifdef SQLITE_MUTEX_STATIC_OPEN
{"SQLITE_MUTEX_STATIC_OPEN", SQLITE_MUTEX_STATIC_OPEN},
#endif
#ifdef SQLITE_MUTEX_STATIC_PMEM
{"SQLITE_MUTEX_STATIC_PMEM", SQLITE_MUTEX_STATIC_PMEM},
#endif
#ifdef SQLITE_MUTEX_STATIC_PRNG
{"SQLITE_MUTEX_STATIC_PRNG", SQLITE_MUTEX_STATIC_PRNG},
#endif
#ifdef SQLITE_MUTEX_STATIC_VFS1
{"SQLITE_MUTEX_STATIC_VFS1", SQLITE_MUTEX_STATIC_VFS1},
#endif
#ifdef SQLITE_MUTEX_STATIC_VFS2
{"SQLITE_MUTEX_STATIC_VFS2", SQLITE_MUTEX_STATIC_VFS2},
#endif
#ifdef SQLITE_MUTEX_STATIC_VFS3
{"SQLITE_MUTEX_STATIC_VFS3", SQLITE_MUTEX_STATIC_VFS3},
#endif
#ifdef SQLITE_TESTCTRL_ALWAYS
{"SQLITE_TESTCTRL_ALWAYS", SQLITE_TESTCTRL_ALWAYS},
#endif
#ifdef SQLITE_TESTCTRL_ASSERT
{"SQLITE_TESTCTRL_ASSERT", SQLITE_TESTCTRL_ASSERT},
#endif
#ifdef SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS
{"SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS", SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS},
#endif
#ifdef SQLITE_TESTCTRL_BITVEC_TEST
{"SQLITE_TESTCTRL_BITVEC_TEST", SQLITE_TESTCTRL_BITVEC_TEST},
#endif
#ifdef SQLITE_TESTCTRL_BYTEORDER
{"SQLITE_TESTCTRL_BYTEORDER", SQLITE_TESTCTRL_BYTEORDER},
#endif
#ifdef SQLITE_TESTCTRL_EXPLAIN_STMT
{"SQLITE_TESTCTRL_EXPLAIN_STMT", SQLITE_TESTCTRL_EXPLAIN_STMT},
#endif
#ifdef SQLITE_TESTCTRL_FAULT_INSTALL
{"SQLITE_TESTCTRL_FAULT_INSTALL", SQLITE_TESTCTRL_FAULT_INSTALL},
#endif
#ifdef SQLITE_TESTCTRL_FIRST
{"SQLITE_TESTCTRL_FIRST", SQLITE_TESTCTRL_FIRST},
#endif
#ifdef SQLITE_TESTCTRL_IMPOSTER
{"SQLITE_TESTCTRL_IMPOSTER", SQLITE_TESTCTRL_IMPOSTER},
#endif
#ifdef SQLITE_TESTCTRL_ISINIT
{"SQLITE_TESTCTRL_ISINIT", SQLITE_TESTCTRL_ISINIT},
#endif
#ifdef SQLITE_TESTCTRL_ISKEYWORD
{"SQLITE_TESTCTRL_ISKEYWORD", SQLITE_TESTCTRL_ISKEYWORD},
#endif
#ifdef SQLITE_TESTCTRL_LAST
{"SQLITE_TESTCTRL_LAST", SQLITE_TESTCTRL_LAST},
#endif
#ifdef SQLITE_TESTCTRL_LOCALTIME_FAULT
{"SQLITE_TESTCTRL_LOCALTIME_FAULT", SQLITE_TESTCTRL_LOCALTIME_FAULT},
#endif
#ifdef SQLITE_TESTCTRL_NEVER_CORRUPT
{"SQLITE_TESTCTRL_NEVER_CORRUPT", SQLITE_TESTCTRL_NEVER_CORRUPT},
#endif
#ifdef SQLITE_TESTCTRL_OPTIMIZATIONS
{"SQLITE_TESTCTRL_OPTIMIZATIONS", SQLITE_TESTCTRL_OPTIMIZATIONS},
#endif
#ifdef SQLITE_TESTCTRL_PENDING_BYTE
{"SQLITE_TESTCTRL_PENDING_BYTE", SQLITE_TESTCTRL_PENDING_BYTE},
#endif
#ifdef SQLITE_TESTCTRL_PRNG_RESET
{"SQLITE_TESTCTRL_PRNG_RESET", SQLITE_TESTCTRL_PRNG_RESET},
#endif
#ifdef SQLITE_TESTCTRL_PRNG_RESTORE
{"SQLITE_TESTCTRL_PRNG_RESTORE", SQLITE_TESTCTRL_PRNG_RESTORE},
#endif
#ifdef SQLITE_TESTCTRL_PRNG_SAVE
{"SQLITE_TESTCTRL_PRNG_SAVE", SQLITE_TESTCTRL_PRNG_SAVE},
#endif
#ifdef SQLITE_TESTCTRL_RESERVE
{"SQLITE_TESTCTRL_RESERVE", SQLITE_TESTCTRL_RESERVE},
#endif
#ifdef SQLITE_TESTCTRL_SCRATCHMALLOC
{"SQLITE_TESTCTRL_SCRATCHMALLOC", SQLITE_TESTCTRL_SCRATCHMALLOC},
#endif
#ifdef SQLITE_TESTCTRL_SORTER_MMAP
{"SQLITE_TESTCTRL_SORTER_MMAP", SQLITE_TESTCTRL_SORTER_MMAP},
#endif
#ifdef SQLITE_TESTCTRL_VDBE_COVERAGE
{"SQLITE_TESTCTRL_VDBE_COVERAGE", SQLITE_TESTCTRL_VDBE_COVERAGE},
#endif
#ifdef SQLITE_STATUS_MALLOC_COUNT
{"SQLITE_STATUS_MALLOC_COUNT", SQLITE_STATUS_MALLOC_COUNT},
#endif
#ifdef SQLITE_STATUS_MALLOC_SIZE
{"SQLITE_STATUS_MALLOC_SIZE", SQLITE_STATUS_MALLOC_SIZE},
#endif
#ifdef SQLITE_STATUS_MEMORY_USED
{"SQLITE_STATUS_MEMORY_USED", SQLITE_STATUS_MEMORY_USED},
#endif
#ifdef SQLITE_STATUS_PAGECACHE_OVERFLOW
{"SQLITE_STATUS_PAGECACHE_OVERFLOW", SQLITE_STATUS_PAGECACHE_OVERFLOW},
#endif
#ifdef SQLITE_STATUS_PAGECACHE_SIZE
{"SQLITE_STATUS_PAGECACHE_SIZE", SQLITE_STATUS_PAGECACHE_SIZE},
#endif
#ifdef SQLITE_STATUS_PAGECACHE_USED
{"SQLITE_STATUS_PAGECACHE_USED", SQLITE_STATUS_PAGECACHE_USED},
#endif
#ifdef SQLITE_STATUS_PARSER_STACK
{"SQLITE_STATUS_PARSER_STACK", SQLITE_STATUS_PARSER_STACK},
#endif
#ifdef SQLITE_STATUS_SCRATCH_OVERFLOW
{"SQLITE_STATUS_SCRATCH_OVERFLOW", SQLITE_STATUS_SCRATCH_OVERFLOW},
#endif
#ifdef SQLITE_STATUS_SCRATCH_SIZE
{"SQLITE_STATUS_SCRATCH_SIZE", SQLITE_STATUS_SCRATCH_SIZE},
#endif
#ifdef SQLITE_STATUS_SCRATCH_USED
{"SQLITE_STATUS_SCRATCH_USED", SQLITE_STATUS_SCRATCH_USED},
#endif
#ifdef SQLITE_DBSTATUS_CACHE_HIT
{"SQLITE_DBSTATUS_CACHE_HIT", SQLITE_DBSTATUS_CACHE_HIT},
#endif
#ifdef SQLITE_DBSTATUS_CACHE_MISS
{"SQLITE_DBSTATUS_CACHE_MISS", SQLITE_DBSTATUS_CACHE_MISS},
#endif
#ifdef SQLITE_DBSTATUS_CACHE_USED
{"SQLITE_DBSTATUS_CACHE_USED", SQLITE_DBSTATUS_CACHE_USED},
#endif
#ifdef SQLITE_DBSTATUS_CACHE_WRITE
{"SQLITE_DBSTATUS_CACHE_WRITE", SQLITE_DBSTATUS_CACHE_WRITE},
#endif
#ifdef SQLITE_DBSTATUS_DEFERRED_FKS
{"SQLITE_DBSTATUS_DEFERRED_FKS", SQLITE_DBSTATUS_DEFERRED_FKS},
#endif
#ifdef SQLITE_DBSTATUS_LOOKASIDE_HIT
{"SQLITE_DBSTATUS_LOOKASIDE_HIT", SQLITE_DBSTATUS_LOOKASIDE_HIT},
#endif
#ifdef SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL
{"SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL", SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL},
#endif
#ifdef SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE
{"SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE", SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE},
#endif
#ifdef SQLITE_DBSTATUS_LOOKASIDE_USED
{"SQLITE_DBSTATUS_LOOKASIDE_USED", SQLITE_DBSTATUS_LOOKASIDE_USED},
#endif
#ifdef SQLITE_DBSTATUS_MAX
{"SQLITE_DBSTATUS_MAX", SQLITE_DBSTATUS_MAX},
#endif
#ifdef SQLITE_DBSTATUS_SCHEMA_USED
{"SQLITE_DBSTATUS_SCHEMA_USED", SQLITE_DBSTATUS_SCHEMA_USED},
#endif
#ifdef SQLITE_DBSTATUS_STMT_USED
{"SQLITE_DBSTATUS_STMT_USED", SQLITE_DBSTATUS_STMT_USED},
#endif
#ifdef SQLITE_STMTSTATUS_AUTOINDEX
{"SQLITE_STMTSTATUS_AUTOINDEX", SQLITE_STMTSTATUS_AUTOINDEX},
#endif
#ifdef SQLITE_STMTSTATUS_FULLSCAN_STEP
{"SQLITE_STMTSTATUS_FULLSCAN_STEP", SQLITE_STMTSTATUS_FULLSCAN_STEP},
#endif
#ifdef SQLITE_STMTSTATUS_SORT
{"SQLITE_STMTSTATUS_SORT", SQLITE_STMTSTATUS_SORT},
#endif
#ifdef SQLITE_STMTSTATUS_VM_STEP
{"SQLITE_STMTSTATUS_VM_STEP", SQLITE_STMTSTATUS_VM_STEP},
#endif
#ifdef SQLITE_CHECKPOINT_FULL
{"SQLITE_CHECKPOINT_FULL", SQLITE_CHECKPOINT_FULL},
#endif
#ifdef SQLITE_CHECKPOINT_PASSIVE
{"SQLITE_CHECKPOINT_PASSIVE", SQLITE_CHECKPOINT_PASSIVE},
#endif
#ifdef SQLITE_CHECKPOINT_RESTART
{"SQLITE_CHECKPOINT_RESTART", SQLITE_CHECKPOINT_RESTART},
#endif
#ifdef SQLITE_CHECKPOINT_TRUNCATE
{"SQLITE_CHECKPOINT_TRUNCATE", SQLITE_CHECKPOINT_TRUNCATE},
#endif
#ifdef SQLITE_VTAB_CONSTRAINT_SUPPORT
{"SQLITE_VTAB_CONSTRAINT_SUPPORT", SQLITE_VTAB_CONSTRAINT_SUPPORT},
#endif
#ifdef SQLITE_FAIL
{"SQLITE_FAIL", SQLITE_FAIL},
#endif
#ifdef SQLITE_REPLACE
{"SQLITE_REPLACE", SQLITE_REPLACE},
#endif
#ifdef SQLITE_ROLLBACK
{"SQLITE_ROLLBACK", SQLITE_ROLLBACK},
#endif
#ifdef SQLITE_SCANSTAT_EST
{"SQLITE_SCANSTAT_EST", SQLITE_SCANSTAT_EST},
#endif
#ifdef SQLITE_SCANSTAT_EXPLAIN
{"SQLITE_SCANSTAT_EXPLAIN", SQLITE_SCANSTAT_EXPLAIN},
#endif
#ifdef SQLITE_SCANSTAT_NAME
{"SQLITE_SCANSTAT_NAME", SQLITE_SCANSTAT_NAME},
#endif
#ifdef SQLITE_SCANSTAT_NLOOP
{"SQLITE_SCANSTAT_NLOOP", SQLITE_SCANSTAT_NLOOP},
#endif
#ifdef SQLITE_SCANSTAT_NVISIT
{"SQLITE_SCANSTAT_NVISIT", SQLITE_SCANSTAT_NVISIT},
#endif
#ifdef SQLITE_SCANSTAT_SELECTID
{"SQLITE_SCANSTAT_SELECTID", SQLITE_SCANSTAT_SELECTID},
#endif
|
57d440faf28da56183794a8a3b0d9d2dafd7fd5e
|
0cc343d927d5db6693006018986715c43acab961
|
/examples/lemmafuncptr/linkedlist_with_lemmaptr.c
|
8fecee28453bfaf662a902f0655ce772d41ad46c
|
[
"MIT"
] |
permissive
|
verifast/verifast
|
ec0101fc4a69bd33c5f66be4444169c4e060ead8
|
d152da790c7ebf72ce616533a6c83082629adbdb
|
refs/heads/master
| 2023-08-25T00:13:51.464802
| 2023-08-13T10:00:00
| 2023-08-13T10:00:00
| 14,519,163
| 325
| 64
|
NOASSERTION
| 2023-08-10T21:16:08
| 2013-11-19T08:57:02
|
OCaml
|
UTF-8
|
C
| false
| false
| 3,229
|
c
|
linkedlist_with_lemmaptr.c
|
#include "stdlib.h"
struct node {
int value;
struct node* next;
};
struct list {
struct node* head;
};
/*@
predicate lseg(struct node* from, struct node* to; list<int> vs) =
from == to ?
vs == nil
:
from != 0 &*& from->value |-> ?value &*& from->next |-> ?next &*& malloc_block_node(from) &*&
lseg(next, to, ?vs2) &*& vs == cons(value, vs2);
predicate list(struct list* l; list<int> vs) =
l->head |-> ?head &*& lseg(head, 0, vs) &*& malloc_block_list(l);
lemma_auto void lseg_zero()
requires lseg(?from, ?to, ?vs);
ensures lseg(from, to, vs) &*& true && (from == to) == (vs == nil);
{
open lseg(from, to, vs);
}
typedef lemma void update_last(predicate() p, struct node* head, struct node* curr, list<int> vs, int x)();
requires p() &*& curr->next |-> ?new_node &*& lseg(new_node, 0, cons(x, nil));
ensures lseg(head, 0, append(vs, cons(x, nil)));
@*/
struct list* create_list()
//@ requires true;
//@ ensures result != 0 ? list(result, nil) : true;
{
struct list* l = malloc(sizeof(struct list));
if(l == 0) return 0;
l->head = 0;
return l;
}
void add(struct list* l, int x)
//@ requires list(l, ?vs);
//@ ensures list(l, append(vs, cons(x, nil)));
{
struct node* nn = malloc(sizeof(struct node));
if(nn == 0) abort();
nn->next = 0;
nn->value = x;
if(l->head == 0) {
l->head = nn;
return;
}
//@ struct node* head = l->head;
struct node* curr = l->head;
//@ open lseg(head, 0, vs);
for(;;)
//@ requires curr != 0 &*& lseg(curr, 0, ?cvs);
//@ ensures is_update_last(_, ?pred, old_curr, curr, cvs, x) &*& pred() &*& curr->next |-> _;
{
//@ struct node* currnext = curr->next;
//@ int currval = curr->value;
if(curr->next == 0) {
/*@
{
predicate P() =
old_curr->value |-> currval &*& malloc_block_node(old_curr);
lemma void update_last_curr()
requires P() &*& curr->next |-> ?new_node &*& lseg(new_node, 0, cons(x, nil));
ensures lseg(old_curr, 0, append(cvs, cons(x, nil)));
{
open P();
close lseg(new_node, 0, cons(x, nil));
}
produce_lemma_function_pointer_chunk(update_last_curr) : update_last(P, old_curr, curr, cvs, x)() { call(); };
close P();
} @*/
break;
}
curr = curr->next;
//@ recursive_call();
//@ assert is_update_last(?doit0, ?P0, currnext, curr, tail(cvs), x);
/*@
{
predicate P() =
old_curr->next |-> currnext &*& old_curr->value |-> currval &*&
malloc_block_node(old_curr) &*& P0() &*&
is_update_last(doit0, P0, currnext, curr, tail(cvs), x);
lemma void update_last_curr()
requires P() &*& curr->next |-> ?new_node &*& lseg(new_node, 0, cons(x, nil));
ensures lseg(old_curr, 0, append(cvs, cons(x, nil)));
{
open P();
doit0();
leak is_update_last(_, _, _, _, _, _);
}
produce_lemma_function_pointer_chunk(update_last_curr) : update_last(P, old_curr, curr, cvs, x)() { call(); };
close P();
} @*/
}
curr->next = nn;
//@ assert is_update_last(?lem, _, _, _, _, _);
//@ lem();
//@ leak is_update_last(_, _, _, _, _, _);
}
|
a01eeb291f853f36ad165a81413695fa556e47ba
|
407c96d904cf46a5f95217e44071f999783698a3
|
/trezor-crypto/include/TrezorCrypto/TrezorCrypto.h
|
8aa414c9a503584e93832b582f2b2c56a1fd7eb0
|
[
"BSD-3-Clause",
"LicenseRef-scancode-protobuf",
"LGPL-2.1-only",
"Swift-exception",
"MIT",
"BSL-1.0",
"Apache-2.0"
] |
permissive
|
trustwallet/wallet-core
|
dfeb276ddf1e3faf46c82f0a0cda2551e9c873f6
|
0c8e2e58aa8eb1360e4a6b03df91fb2de97e3caa
|
refs/heads/master
| 2023-08-21T11:58:43.983035
| 2023-08-18T10:51:13
| 2023-08-18T10:51:13
| 170,738,310
| 2,311
| 1,283
|
Apache-2.0
| 2023-09-08T11:26:39
| 2019-02-14T18:25:54
|
C++
|
UTF-8
|
C
| false
| false
| 1,062
|
h
|
TrezorCrypto.h
|
// Copyright © 2017-2020 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include <TrezorCrypto/options.h>
#include <TrezorCrypto/address.h>
#include <TrezorCrypto/aes.h>
#include <TrezorCrypto/base32.h>
#include <TrezorCrypto/bignum.h>
#include <TrezorCrypto/bip32.h>
#include <TrezorCrypto/bip39.h>
#include <TrezorCrypto/blake2b.h>
#include <TrezorCrypto/blake256.h>
#include <TrezorCrypto/cash_addr.h>
#include <TrezorCrypto/curves.h>
#include <TrezorCrypto/ed25519.h>
#include <TrezorCrypto/hasher.h>
#include <TrezorCrypto/hmac.h>
#include <TrezorCrypto/memzero.h>
//#include <TrezorCrypto/monero.h>
//#include <TrezorCrypto/nem.h>
#include <TrezorCrypto/nist256p1.h>
#include <TrezorCrypto/pbkdf2.h>
#include <TrezorCrypto/rand.h>
#include <TrezorCrypto/ripemd160.h>
#include <TrezorCrypto/secp256k1.h>
#include <TrezorCrypto/sha2.h>
#include <TrezorCrypto/sha3.h>
|
0971b8ab69e68e8152bc408919d41358de3d5108
|
a09d2734b97a58d06e79182666a4ebc27360d3d5
|
/vkFFT/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_KernelStartEnd.h
|
822b3a34ad3597142bb4e126ede9c10125a3297b
|
[
"MIT"
] |
permissive
|
DTolm/VkFFT
|
9c4aadb51ab776918822c7483fc1f6db62eba415
|
116bf7ff92a9dde115957bb7beb33c2d89c87fda
|
refs/heads/master
| 2023-08-10T03:53:00.613036
| 2023-08-01T17:42:19
| 2023-08-01T17:42:19
| 284,421,891
| 1,320
| 77
|
MIT
| 2023-09-12T23:27:43
| 2020-08-02T08:28:36
|
C++
|
UTF-8
|
C
| false
| false
| 19,530
|
h
|
vkFFT_KernelStartEnd.h
|
// This file is part of VkFFT
//
// Copyright (C) 2021 - present Dmitrii Tolmachev <dtolm96@gmail.com>
//
// 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.
#ifndef VKFFT_KERNELSTARTEND_H
#define VKFFT_KERNELSTARTEND_H
#include "vkFFT/vkFFT_Structs/vkFFT_Structs.h"
#include "vkFFT/vkFFT_CodeGen/vkFFT_StringManagement/vkFFT_StringManager.h"
#include "vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel0/vkFFT_MemoryManagement/vkFFT_MemoryInitialization/vkFFT_SharedMemory.h"
static inline void appendKernelStart(VkFFTSpecializationConstantsLayout* sc, int64_t type) {
if (sc->res != VKFFT_SUCCESS) return;
uint64_t locType = (((type == 0) || (type == 5) || (type == 6) || (type == 110) || (type == 120) || (type == 130) || (type == 140) || (type == 142) || (type == 144)) && (sc->axisSwapped)) ? 1 : type;
PfContainer* floatType;
PfGetTypeFromCode(sc, sc->floatTypeCode, &floatType);
PfContainer* floatTypeInputMemory;
PfGetTypeFromCode(sc, sc->floatTypeInputMemoryCode, &floatTypeInputMemory);
PfContainer* floatTypeOutputMemory;
PfGetTypeFromCode(sc, sc->floatTypeOutputMemoryCode, &floatTypeOutputMemory);
PfContainer* floatTypeKernelMemory;
PfGetTypeFromCode(sc, sc->floatTypeKernelMemoryCode, &floatTypeKernelMemory);
PfContainer* vecType;
PfGetTypeFromCode(sc, sc->vecTypeCode, &vecType);
PfContainer* vecTypeInputMemory;
PfGetTypeFromCode(sc, sc->vecTypeInputMemoryCode, &vecTypeInputMemory);
PfContainer* vecTypeOutputMemory;
PfGetTypeFromCode(sc, sc->vecTypeOutputMemoryCode, &vecTypeOutputMemory);
PfContainer* vecTypeKernelMemory;
PfGetTypeFromCode(sc, sc->vecTypeKernelMemoryCode, &vecTypeKernelMemory);
PfContainer* uintType;
PfGetTypeFromCode(sc, sc->uintTypeCode, &uintType);
PfContainer* uintType32;
PfGetTypeFromCode(sc, sc->uintType32Code, &uintType32);
#if(VKFFT_BACKEND==0)
appendSharedMemoryVkFFT(sc, (int)locType);
sc->tempLen = sprintf(sc->tempStr, "void main() {\n");
PfAppendLine(sc);
#elif(VKFFT_BACKEND==1)
sc->tempLen = sprintf(sc->tempStr, "extern __shared__ float shared[];\n");
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "extern \"C\" __global__ void __launch_bounds__(%" PRIi64 ") VkFFT_main ", sc->localSize[0].data.i * sc->localSize[1].data.i * sc->localSize[2].data.i);
PfAppendLine(sc);
switch (type) {
case 5:
{
sc->tempLen = sprintf(sc->tempStr, "(%s* inputs, %s* outputs", floatTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
break;
}
case 6:
{
sc->tempLen = sprintf(sc->tempStr, "(%s* inputs, %s* outputs", vecTypeInputMemory->data.s, floatTypeOutputMemory->data.s);
break;
}
case 110:case 111:case 120:case 121:case 130:case 131:case 140:case 141:case 142:case 143:case 144:case 145:
{
sc->tempLen = sprintf(sc->tempStr, "(%s* inputs, %s* outputs", floatTypeInputMemory->data.s, floatTypeOutputMemory->data.s);
break;
}
default:
{
sc->tempLen = sprintf(sc->tempStr, "(%s* inputs, %s* outputs", vecTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
break;
}
}
PfAppendLine(sc);
if (sc->convolutionStep) {
sc->tempLen = sprintf(sc->tempStr, ", %s* kernel_obj", vecType->data.s);
PfAppendLine(sc);
}
if (sc->LUT) {
sc->tempLen = sprintf(sc->tempStr, ", %s* twiddleLUT", vecType->data.s);
PfAppendLine(sc);
}
if (sc->raderUintLUT) {
sc->tempLen = sprintf(sc->tempStr, ", %s* g_pow", uintType32->data.s);
PfAppendLine(sc);
}
if (sc->BluesteinConvolutionStep) {
sc->tempLen = sprintf(sc->tempStr, ", %s* BluesteinConvolutionKernel", vecType->data.s);
PfAppendLine(sc);
}
if (sc->BluesteinPreMultiplication || sc->BluesteinPostMultiplication) {
sc->tempLen = sprintf(sc->tempStr, ", %s* BluesteinMultiplication", vecType->data.s);
PfAppendLine(sc);
}
sc->tempLen = sprintf(sc->tempStr, ") {\n");
PfAppendLine(sc);
//sc->tempLen = sprintf(sc->tempStr, ", const PushConsts consts) {\n");
appendSharedMemoryVkFFT(sc, (int)locType);
#elif(VKFFT_BACKEND==2)
sc->tempLen = sprintf(sc->tempStr, "extern __shared__ float shared[];\n");
PfAppendLine(sc);
if (!sc->useUint64 && sc->useStrict32BitAddress > 0) {
// These wrappers help hipcc to generate faster code for load and store operations where
// 64-bit scalar + 32-bit vector registers are used instead of 64-bit vector saving a few
// instructions for computing 64-bit vector addresses.
sc->tempLen = sprintf(sc->tempStr,
"template<typename T>\n"
"struct Inputs\n"
"{\n"
" const T* buffer;\n"
" inline __device__ Inputs(const T* buffer) : buffer(buffer) {}\n"
" inline __device__ const T& operator[](unsigned int idx) const { return *reinterpret_cast<const T*>(reinterpret_cast<const char*>(buffer) + idx * static_cast<unsigned int>(sizeof(T))); }\n"
"};\n"
"template<typename T>\n"
"struct Outputs\n"
"{\n"
" T* buffer;\n"
" inline __device__ Outputs(T* buffer) : buffer(buffer) {}\n"
" inline __device__ T& operator[](unsigned int idx) const { return *reinterpret_cast<T*>(reinterpret_cast<char*>(buffer) + idx * static_cast<unsigned int>(sizeof(T))); }\n"
"};\n"
);
}
else {
sc->tempLen = sprintf(sc->tempStr,
"template<typename T>\n"
"using Inputs = const T*;\n"
"template<typename T>\n"
"using Outputs = T*;\n"
);
}
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "extern \"C\" __launch_bounds__(%" PRIi64 ") __global__ void VkFFT_main ", sc->localSize[0].data.i * sc->localSize[1].data.i * sc->localSize[2].data.i);
PfAppendLine(sc);
switch (type) {
case 5:
{
sc->tempLen = sprintf(sc->tempStr, "(const Inputs<%s> inputs, Outputs<%s> outputs", floatTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
break;
}
case 6:
{
sc->tempLen = sprintf(sc->tempStr, "(const Inputs<%s> inputs, Outputs<%s> outputs", vecTypeInputMemory->data.s, floatTypeOutputMemory->data.s);
break;
}
case 110:case 111:case 120:case 121:case 130:case 131:case 140:case 141:case 142:case 143:case 144:case 145:
{
sc->tempLen = sprintf(sc->tempStr, "(const Inputs<%s> inputs, Outputs<%s> outputs", floatTypeInputMemory->data.s, floatTypeOutputMemory->data.s);
break;
}
default:
{
sc->tempLen = sprintf(sc->tempStr, "(const Inputs<%s> inputs, Outputs<%s> outputs", vecTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
break;
}
}
PfAppendLine(sc);
if (sc->convolutionStep) {
sc->tempLen = sprintf(sc->tempStr, ", const Inputs<%s> kernel_obj", vecType->data.s);
PfAppendLine(sc);
}
if (sc->LUT) {
sc->tempLen = sprintf(sc->tempStr, ", const Inputs<%s> twiddleLUT", vecType->data.s);
PfAppendLine(sc);
}
if (sc->raderUintLUT) {
sc->tempLen = sprintf(sc->tempStr, ", const Inputs<%s> g_pow", uintType32->data.s);
PfAppendLine(sc);
}
if (sc->BluesteinConvolutionStep) {
sc->tempLen = sprintf(sc->tempStr, ", const Inputs<%s> BluesteinConvolutionKernel", vecType->data.s);
PfAppendLine(sc);
}
if (sc->BluesteinPreMultiplication || sc->BluesteinPostMultiplication) {
sc->tempLen = sprintf(sc->tempStr, ", const Inputs<%s> BluesteinMultiplication", vecType->data.s);
PfAppendLine(sc);
}
sc->tempLen = sprintf(sc->tempStr, ") {\n");
PfAppendLine(sc);
//sc->tempLen = sprintf(sc->tempStr, ", const PushConsts consts) {\n");
appendSharedMemoryVkFFT(sc, (int)locType);
#elif((VKFFT_BACKEND==3)||(VKFFT_BACKEND==4))
sc->tempLen = sprintf(sc->tempStr, "__kernel __attribute__((reqd_work_group_size(%" PRIi64 ", %" PRIi64 ", %" PRIi64 "))) void VkFFT_main ", sc->localSize[0].data.i, sc->localSize[1].data.i, sc->localSize[2].data.i);
PfAppendLine(sc);
switch (type) {
case 5:
{
sc->tempLen = sprintf(sc->tempStr, "(__global %s* inputs, __global %s* outputs", floatTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
break;
}
case 6:
{
sc->tempLen = sprintf(sc->tempStr, "(__global %s* inputs, __global %s* outputs", vecTypeInputMemory->data.s, floatTypeOutputMemory->data.s);
break;
}
case 110:case 111:case 120:case 121:case 130:case 131:case 140:case 141:case 142:case 143:case 144:case 145:
{
sc->tempLen = sprintf(sc->tempStr, "(__global %s* inputs, __global %s* outputs", floatTypeInputMemory->data.s, floatTypeOutputMemory->data.s);
break;
}
default:
{
sc->tempLen = sprintf(sc->tempStr, "(__global %s* inputs, __global %s* outputs", vecTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
break;
}
}
PfAppendLine(sc);
int args_id = 2;
if (sc->convolutionStep) {
sc->tempLen = sprintf(sc->tempStr, ", __global %s* kernel_obj", vecType->data.s);
PfAppendLine(sc);
args_id++;
}
if (sc->LUT) {
sc->tempLen = sprintf(sc->tempStr, ", __global %s* twiddleLUT", vecType->data.s);
PfAppendLine(sc);
args_id++;
}
if (sc->raderUintLUT) {
sc->tempLen = sprintf(sc->tempStr, ", __global %s* g_pow", uintType32->data.s);
PfAppendLine(sc);
args_id++;
}
if (sc->BluesteinConvolutionStep) {
sc->tempLen = sprintf(sc->tempStr, ", __global %s* BluesteinConvolutionKernel", vecType->data.s);
PfAppendLine(sc);
args_id++;
}
if (sc->BluesteinPreMultiplication || sc->BluesteinPostMultiplication) {
sc->tempLen = sprintf(sc->tempStr, ", __global %s* BluesteinMultiplication", vecType->data.s);
PfAppendLine(sc);
args_id++;
}
if (sc->pushConstantsStructSize > 0) {
sc->tempLen = sprintf(sc->tempStr, ", PushConsts consts");
PfAppendLine(sc);
}
sc->tempLen = sprintf(sc->tempStr, ") {\n");
PfAppendLine(sc);
//sc->tempLen = sprintf(sc->tempStr, ", const PushConsts consts) {\n");
appendSharedMemoryVkFFT(sc, (int)locType);
#elif(VKFFT_BACKEND==5)
sc->tempLen = sprintf(sc->tempStr, "kernel void VkFFT_main ");
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "(%s3 thread_position_in_grid [[thread_position_in_grid]], ", uintType->data.s);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "%s3 threadgroup_position_in_grid [[threadgroup_position_in_grid]], ", uintType->data.s);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "%s3 thread_position_in_threadgroup [[thread_position_in_threadgroup]], ", uintType->data.s);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "threadgroup %s* sdata [[threadgroup(0)]], ", vecType->data.s);
PfAppendLine(sc);
switch (type) {
case 5:
{
sc->tempLen = sprintf(sc->tempStr, "device %s* inputs[[buffer(0)]], device %s* outputs[[buffer(1)]]", floatTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
break;
}
case 6:
{
sc->tempLen = sprintf(sc->tempStr, "device %s* inputs[[buffer(0)]], device %s* outputs[[buffer(1)]]", vecTypeInputMemory->data.s, floatTypeOutputMemory->data.s);
break;
}
case 110:case 111:case 120:case 121:case 130:case 131:case 140:case 141:case 142:case 143:case 144:case 145:
{
sc->tempLen = sprintf(sc->tempStr, "device %s* inputs[[buffer(0)]], device %s* outputs[[buffer(1)]]", floatTypeInputMemory->data.s, floatTypeOutputMemory->data.s);
break;
}
default:
{
sc->tempLen = sprintf(sc->tempStr, "device %s* inputs[[buffer(0)]], device %s* outputs[[buffer(1)]]", vecTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
break;
}
}
PfAppendLine(sc);
int args_id = 2;
if (sc->convolutionStep) {
sc->tempLen = sprintf(sc->tempStr, ", constant %s* kernel_obj[[buffer(%d)]]", vecType->data.s, args_id);
PfAppendLine(sc);
args_id++;
}
if (sc->LUT) {
sc->tempLen = sprintf(sc->tempStr, ", constant %s* twiddleLUT[[buffer(%d)]]", vecType->data.s, args_id);
PfAppendLine(sc);
args_id++;
}
if (sc->raderUintLUT) {
sc->tempLen = sprintf(sc->tempStr, ", constant %s* g_pow[[buffer(%d)]]", uintType32->data.s, args_id);
PfAppendLine(sc);
args_id++;
}
if (sc->BluesteinConvolutionStep) {
sc->tempLen = sprintf(sc->tempStr, ", constant %s* BluesteinConvolutionKernel[[buffer(%d)]]", vecType->data.s, args_id);
PfAppendLine(sc);
args_id++;
}
if (sc->BluesteinPreMultiplication || sc->BluesteinPostMultiplication) {
sc->tempLen = sprintf(sc->tempStr, ", constant %s* BluesteinMultiplication[[buffer(%d)]]", vecType->data.s, args_id);
PfAppendLine(sc);
args_id++;
}
if (sc->pushConstantsStructSize > 0) {
sc->tempLen = sprintf(sc->tempStr, ", constant PushConsts& consts[[buffer(%d)]]", args_id);
PfAppendLine(sc);
args_id++;
}
sc->tempLen = sprintf(sc->tempStr, ") {\n");
PfAppendLine(sc);
//sc->tempLen = sprintf(sc->tempStr, ", const PushConsts consts) {\n");
appendSharedMemoryVkFFT(sc, (int)locType);
#endif
return;
}
static inline void appendKernelStart_R2C(VkFFTSpecializationConstantsLayout* sc, int64_t type) {
if (sc->res != VKFFT_SUCCESS) return;
uint64_t locType = (((type == 0) || (type == 5) || (type == 6) || (type == 110) || (type == 120) || (type == 130) || (type == 140) || (type == 142) || (type == 144)) && (sc->axisSwapped)) ? 1 : type;
PfContainer* floatType;
PfGetTypeFromCode(sc, sc->floatTypeCode, &floatType);
PfContainer* floatTypeInputMemory;
PfGetTypeFromCode(sc, sc->floatTypeInputMemoryCode, &floatTypeInputMemory);
PfContainer* floatTypeOutputMemory;
PfGetTypeFromCode(sc, sc->floatTypeOutputMemoryCode, &floatTypeOutputMemory);
PfContainer* floatTypeKernelMemory;
PfGetTypeFromCode(sc, sc->floatTypeKernelMemoryCode, &floatTypeKernelMemory);
PfContainer* vecType;
PfGetTypeFromCode(sc, sc->vecTypeCode, &vecType);
PfContainer* vecTypeInputMemory;
PfGetTypeFromCode(sc, sc->vecTypeInputMemoryCode, &vecTypeInputMemory);
PfContainer* vecTypeOutputMemory;
PfGetTypeFromCode(sc, sc->vecTypeOutputMemoryCode, &vecTypeOutputMemory);
PfContainer* vecTypeKernelMemory;
PfGetTypeFromCode(sc, sc->vecTypeKernelMemoryCode, &vecTypeKernelMemory);
PfContainer* uintType;
PfGetTypeFromCode(sc, sc->uintTypeCode, &uintType);
PfContainer* uintType32;
PfGetTypeFromCode(sc, sc->uintType32Code, &uintType32);
#if(VKFFT_BACKEND==0)
sc->tempLen = sprintf(sc->tempStr, "void main() {\n");
PfAppendLine(sc);
#elif(VKFFT_BACKEND==1)
sc->tempLen = sprintf(sc->tempStr, "extern \"C\" __global__ void __launch_bounds__(%" PRIi64 ") VkFFT_main_R2C ", sc->localSize[0].data.i * sc->localSize[1].data.i * sc->localSize[2].data.i);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "(%s* inputs, %s* outputs", vecTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
PfAppendLine(sc);
if (sc->LUT) {
sc->tempLen = sprintf(sc->tempStr, ", %s* twiddleLUT", vecType->data.s);
PfAppendLine(sc);
}
sc->tempLen = sprintf(sc->tempStr, ") {\n");
PfAppendLine(sc);
//sc->tempLen = sprintf(sc->tempStr, ", const PushConsts consts) {\n");
#elif(VKFFT_BACKEND==2)
if (!sc->useUint64 && sc->useStrict32BitAddress > 0) {
// These wrappers help hipcc to generate faster code for load and store operations where
// 64-bit scalar + 32-bit vector registers are used instead of 64-bit vector saving a few
// instructions for computing 64-bit vector addresses.
sc->tempLen = sprintf(sc->tempStr,
"template<typename T>\n"
"struct Inputs\n"
"{\n"
" const T* buffer;\n"
" inline __device__ Inputs(const T* buffer) : buffer(buffer) {}\n"
" inline __device__ const T& operator[](unsigned int idx) const { return *reinterpret_cast<const T*>(reinterpret_cast<const char*>(buffer) + idx * static_cast<unsigned int>(sizeof(T))); }\n"
"};\n"
"template<typename T>\n"
"struct Outputs\n"
"{\n"
" T* buffer;\n"
" inline __device__ Outputs(T* buffer) : buffer(buffer) {}\n"
" inline __device__ T& operator[](unsigned int idx) const { return *reinterpret_cast<T*>(reinterpret_cast<char*>(buffer) + idx * static_cast<unsigned int>(sizeof(T))); }\n"
"};\n"
);
}
else {
sc->tempLen = sprintf(sc->tempStr,
"template<typename T>\n"
"using Inputs = const T*;\n"
"template<typename T>\n"
"using Outputs = T*;\n"
);
}
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "extern \"C\" __launch_bounds__(%" PRIi64 ") __global__ void VkFFT_main_R2C ", sc->localSize[0].data.i * sc->localSize[1].data.i * sc->localSize[2].data.i);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "(const Inputs<%s> inputs, Outputs<%s> outputs", vecTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
PfAppendLine(sc);
if (sc->LUT) {
sc->tempLen = sprintf(sc->tempStr, ", const Inputs<%s> twiddleLUT", vecType->data.s);
PfAppendLine(sc);
}
sc->tempLen = sprintf(sc->tempStr, ") {\n");
PfAppendLine(sc);
//sc->tempLen = sprintf(sc->tempStr, ", const PushConsts consts) {\n");
#elif((VKFFT_BACKEND==3)||(VKFFT_BACKEND==4))
sc->tempLen = sprintf(sc->tempStr, "__kernel __attribute__((reqd_work_group_size(%" PRIi64 ", %" PRIi64 ", %" PRIi64 "))) void VkFFT_main_R2C ", sc->localSize[0].data.i, sc->localSize[1].data.i, sc->localSize[2].data.i);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "(__global %s* inputs, __global %s* outputs", vecTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
PfAppendLine(sc);
int args_id = 2;
if (sc->LUT) {
sc->tempLen = sprintf(sc->tempStr, ", __global %s* twiddleLUT", vecType->data.s);
PfAppendLine(sc);
args_id++;
}
if (sc->pushConstantsStructSize > 0) {
sc->tempLen = sprintf(sc->tempStr, ", PushConsts consts");
PfAppendLine(sc);
}
sc->tempLen = sprintf(sc->tempStr, ") {\n");
PfAppendLine(sc);
//sc->tempLen = sprintf(sc->tempStr, ", const PushConsts consts) {\n");
#elif(VKFFT_BACKEND==5)
sc->tempLen = sprintf(sc->tempStr, "kernel void VkFFT_main_R2C ");
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "(%s3 thread_position_in_grid [[thread_position_in_grid]], ", uintType->data.s);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "%s3 threadgroup_position_in_grid [[threadgroup_position_in_grid]], ", uintType->data.s);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "%s3 thread_position_in_threadgroup [[thread_position_in_threadgroup]], ", uintType->data.s);
PfAppendLine(sc);
sc->tempLen = sprintf(sc->tempStr, "device %s* inputs[[buffer(0)]], device %s* outputs[[buffer(1)]]", vecTypeInputMemory->data.s, vecTypeOutputMemory->data.s);
PfAppendLine(sc);
int args_id = 2;
if (sc->LUT) {
sc->tempLen = sprintf(sc->tempStr, ", constant %s* twiddleLUT[[buffer(%d)]]", vecType->data.s, args_id);
PfAppendLine(sc);
args_id++;
}
if (sc->pushConstantsStructSize > 0) {
sc->tempLen = sprintf(sc->tempStr, ", constant PushConsts& consts[[buffer(%d)]]", args_id);
PfAppendLine(sc);
args_id++;
}
sc->tempLen = sprintf(sc->tempStr, ") {\n");
PfAppendLine(sc);
//sc->tempLen = sprintf(sc->tempStr, ", const PushConsts consts) {\n");
#endif
return;
}
static inline void appendKernelEnd(VkFFTSpecializationConstantsLayout* sc) {
if (sc->res != VKFFT_SUCCESS) return;
sc->tempLen = sprintf(sc->tempStr, "}\n");
PfAppendLine(sc);
return;
}
#endif
|
395e48f2bcae3611a0441e53af949bfeab128da2
|
2f58e877a1e317cab8ccadd03e001bbe561ed191
|
/src/ngx_stream_lua_log.h
|
9ad0234ba31c0399be4cc2e478f7a7a109f068ed
|
[
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] |
permissive
|
openresty/stream-lua-nginx-module
|
8b054bba72fd743b04d95cb1abe1b42f200382a1
|
d23c27819d3199d96fdcde2b56cf3e8610e207f2
|
refs/heads/master
| 2023-08-31T17:28:07.097731
| 2023-08-23T00:38:52
| 2023-08-23T00:38:52
| 49,554,190
| 734
| 261
|
BSD-2-Clause
| 2023-09-07T08:59:13
| 2016-01-13T06:23:38
|
C
|
UTF-8
|
C
| false
| false
| 660
|
h
|
ngx_stream_lua_log.h
|
/*
* !!! DO NOT EDIT DIRECTLY !!!
* This file was automatically generated from the following template:
*
* src/subsys/ngx_subsys_lua_log.h.tt2
*/
/*
* Copyright (C) Xiaozhe Wang (chaoslawful)
* Copyright (C) Yichun Zhang (agentzh)
*/
#ifndef _NGX_STREAM_LUA_LOG_H_INCLUDED_
#define _NGX_STREAM_LUA_LOG_H_INCLUDED_
#include "ngx_stream_lua_common.h"
void ngx_stream_lua_inject_log_api(lua_State *L);
#ifdef HAVE_INTERCEPT_ERROR_LOG_PATCH
ngx_int_t ngx_stream_lua_capture_log_handler(ngx_log_t *log,
ngx_uint_t level, u_char *buf, size_t n);
#endif
#endif /* _NGX_STREAM_LUA_LOG_H_INCLUDED_ */
/* vi:set ft=c ts=4 sw=4 et fdm=marker: */
|
a5ad5922bcbdf67ee7bf529607c36bd5ff7c697f
|
7664f318ed04bd0680f3d82321c18896e3ef6ad5
|
/src/code/z_effect_soft_sprite_dlftbls.c
|
e8e2f9280bf204e7c053f6459f0ab1f035436d18
|
[] |
no_license
|
zeldaret/oot
|
9c80ce17f2d8fd61514b375f92ee4739b5ce9d4e
|
2875ab4fcf5c5f81d76353d1ee0024c9ea8d0b23
|
refs/heads/master
| 2023-08-29T05:29:31.356427
| 2023-08-28T22:48:52
| 2023-08-28T22:48:52
| 247,875,738
| 4,401
| 802
| null | 2023-09-14T13:34:38
| 2020-03-17T04:02:19
|
C
|
UTF-8
|
C
| false
| false
| 1,213
|
c
|
z_effect_soft_sprite_dlftbls.c
|
#include "global.h"
// Linker symbol declarations (used in the table below)
#define DEFINE_EFFECT_SS(name, _1) DECLARE_OVERLAY_SEGMENT(name)
#define DEFINE_EFFECT_SS_UNSET(_0)
#include "tables/effect_ss_table.h"
#undef DEFINE_EFFECT_SS
#undef DEFINE_EFFECT_SS_UNSET
// Init Vars declarations (also used in the table below)
#define DEFINE_EFFECT_SS(name, _1) extern EffectSsInit name##_InitVars;
#define DEFINE_EFFECT_SS_UNSET(_0)
#include "tables/effect_ss_table.h"
#undef DEFINE_EFFECT_SS
#undef DEFINE_EFFECT_SS_UNSET
// Effect SS Overlay Table definition
#define DEFINE_EFFECT_SS(name, _1) \
{ \
(uintptr_t)_ovl_##name##SegmentRomStart, \
(uintptr_t)_ovl_##name##SegmentRomEnd, \
_ovl_##name##SegmentStart, \
_ovl_##name##SegmentEnd, \
NULL, \
&name##_InitVars, \
1, \
},
#define DEFINE_EFFECT_SS_UNSET(_0) { 0 },
EffectSsOverlay gEffectSsOverlayTable[] = {
#include "tables/effect_ss_table.h"
};
#undef DEFINE_EFFECT_SS
#undef DEFINE_EFFECT_SS_UNSET
|
830c879a9223b488a1cc45d5d3a83dedf4e65d18
|
b33394c69589d95e38530fa80c74cf796ba6a5af
|
/felix/bpf-gpl/include/libbpf/src/libbpf.h
|
0b7362397ea34a57940f4e22beb319f4aceb53ff
|
[
"Apache-2.0",
"GPL-2.0-or-later",
"GPL-1.0-or-later",
"GPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.1-or-later",
"LicenseRef-scancode-unknown-license-reference"
] |
permissive
|
projectcalico/calico
|
3212e99d951dd17a50d95ec585676d525eae26ec
|
b494be8fc7d135034a482322119d6d9f1bbf9c0f
|
refs/heads/master
| 2023-08-29T21:50:21.982251
| 2023-08-29T09:31:32
| 2023-08-29T09:31:32
| 63,882,194
| 5,115
| 1,407
|
Apache-2.0
| 2023-09-14T18:55:43
| 2016-07-21T15:45:54
|
Go
|
UTF-8
|
C
| false
| false
| 65,749
|
h
|
libbpf.h
|
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
/*
* Common eBPF ELF object loading operations.
*
* Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org>
* Copyright (C) 2015 Wang Nan <wangnan0@huawei.com>
* Copyright (C) 2015 Huawei Inc.
*/
#ifndef __LIBBPF_LIBBPF_H
#define __LIBBPF_LIBBPF_H
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h> // for size_t
#include <linux/bpf.h>
#include "libbpf_common.h"
#include "libbpf_legacy.h"
#ifdef __cplusplus
extern "C" {
#endif
LIBBPF_API __u32 libbpf_major_version(void);
LIBBPF_API __u32 libbpf_minor_version(void);
LIBBPF_API const char *libbpf_version_string(void);
enum libbpf_errno {
__LIBBPF_ERRNO__START = 4000,
/* Something wrong in libelf */
LIBBPF_ERRNO__LIBELF = __LIBBPF_ERRNO__START,
LIBBPF_ERRNO__FORMAT, /* BPF object format invalid */
LIBBPF_ERRNO__KVERSION, /* Incorrect or no 'version' section */
LIBBPF_ERRNO__ENDIAN, /* Endian mismatch */
LIBBPF_ERRNO__INTERNAL, /* Internal error in libbpf */
LIBBPF_ERRNO__RELOC, /* Relocation failed */
LIBBPF_ERRNO__LOAD, /* Load program failure for unknown reason */
LIBBPF_ERRNO__VERIFY, /* Kernel verifier blocks program loading */
LIBBPF_ERRNO__PROG2BIG, /* Program too big */
LIBBPF_ERRNO__KVER, /* Incorrect kernel version */
LIBBPF_ERRNO__PROGTYPE, /* Kernel doesn't support this program type */
LIBBPF_ERRNO__WRNGPID, /* Wrong pid in netlink message */
LIBBPF_ERRNO__INVSEQ, /* Invalid netlink sequence */
LIBBPF_ERRNO__NLPARSE, /* netlink parsing error */
__LIBBPF_ERRNO__END,
};
LIBBPF_API int libbpf_strerror(int err, char *buf, size_t size);
/**
* @brief **libbpf_bpf_attach_type_str()** converts the provided attach type
* value into a textual representation.
* @param t The attach type.
* @return Pointer to a static string identifying the attach type. NULL is
* returned for unknown **bpf_attach_type** values.
*/
LIBBPF_API const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t);
/**
* @brief **libbpf_bpf_link_type_str()** converts the provided link type value
* into a textual representation.
* @param t The link type.
* @return Pointer to a static string identifying the link type. NULL is
* returned for unknown **bpf_link_type** values.
*/
LIBBPF_API const char *libbpf_bpf_link_type_str(enum bpf_link_type t);
/**
* @brief **libbpf_bpf_map_type_str()** converts the provided map type value
* into a textual representation.
* @param t The map type.
* @return Pointer to a static string identifying the map type. NULL is
* returned for unknown **bpf_map_type** values.
*/
LIBBPF_API const char *libbpf_bpf_map_type_str(enum bpf_map_type t);
/**
* @brief **libbpf_bpf_prog_type_str()** converts the provided program type
* value into a textual representation.
* @param t The program type.
* @return Pointer to a static string identifying the program type. NULL is
* returned for unknown **bpf_prog_type** values.
*/
LIBBPF_API const char *libbpf_bpf_prog_type_str(enum bpf_prog_type t);
enum libbpf_print_level {
LIBBPF_WARN,
LIBBPF_INFO,
LIBBPF_DEBUG,
};
typedef int (*libbpf_print_fn_t)(enum libbpf_print_level level,
const char *, va_list ap);
/**
* @brief **libbpf_set_print()** sets user-provided log callback function to
* be used for libbpf warnings and informational messages.
* @param fn The log print function. If NULL, libbpf won't print anything.
* @return Pointer to old print function.
*
* This function is thread-safe.
*/
LIBBPF_API libbpf_print_fn_t libbpf_set_print(libbpf_print_fn_t fn);
/* Hide internal to user */
struct bpf_object;
struct bpf_object_open_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* object name override, if provided:
* - for object open from file, this will override setting object
* name from file path's base name;
* - for object open from memory buffer, this will specify an object
* name and will override default "<addr>-<buf-size>" name;
*/
const char *object_name;
/* parse map definitions non-strictly, allowing extra attributes/data */
bool relaxed_maps;
/* maps that set the 'pinning' attribute in their definition will have
* their pin_path attribute set to a file in this directory, and be
* auto-pinned to that path on load; defaults to "/sys/fs/bpf".
*/
const char *pin_root_path;
__u32 :32; /* stub out now removed attach_prog_fd */
/* Additional kernel config content that augments and overrides
* system Kconfig for CONFIG_xxx externs.
*/
const char *kconfig;
/* Path to the custom BTF to be used for BPF CO-RE relocations.
* This custom BTF completely replaces the use of vmlinux BTF
* for the purpose of CO-RE relocations.
* NOTE: any other BPF feature (e.g., fentry/fexit programs,
* struct_ops, etc) will need actual kernel BTF at /sys/kernel/btf/vmlinux.
*/
const char *btf_custom_path;
/* Pointer to a buffer for storing kernel logs for applicable BPF
* commands. Valid kernel_log_size has to be specified as well and are
* passed-through to bpf() syscall. Keep in mind that kernel might
* fail operation with -ENOSPC error if provided buffer is too small
* to contain entire log output.
* See the comment below for kernel_log_level for interaction between
* log_buf and log_level settings.
*
* If specified, this log buffer will be passed for:
* - each BPF progral load (BPF_PROG_LOAD) attempt, unless overriden
* with bpf_program__set_log() on per-program level, to get
* BPF verifier log output.
* - during BPF object's BTF load into kernel (BPF_BTF_LOAD) to get
* BTF sanity checking log.
*
* Each BPF command (BPF_BTF_LOAD or BPF_PROG_LOAD) will overwrite
* previous contents, so if you need more fine-grained control, set
* per-program buffer with bpf_program__set_log_buf() to preserve each
* individual program's verification log. Keep using kernel_log_buf
* for BTF verification log, if necessary.
*/
char *kernel_log_buf;
size_t kernel_log_size;
/*
* Log level can be set independently from log buffer. Log_level=0
* means that libbpf will attempt loading BTF or program without any
* logging requested, but will retry with either its own or custom log
* buffer, if provided, and log_level=1 on any error.
* And vice versa, setting log_level>0 will request BTF or prog
* loading with verbose log from the first attempt (and as such also
* for successfully loaded BTF or program), and the actual log buffer
* could be either libbpf's own auto-allocated log buffer, if
* kernel_log_buffer is NULL, or user-provided custom kernel_log_buf.
* If user didn't provide custom log buffer, libbpf will emit captured
* logs through its print callback.
*/
__u32 kernel_log_level;
size_t :0;
};
#define bpf_object_open_opts__last_field kernel_log_level
/**
* @brief **bpf_object__open()** creates a bpf_object by opening
* the BPF ELF object file pointed to by the passed path and loading it
* into memory.
* @param path BPF object file path.
* @return pointer to the new bpf_object; or NULL is returned on error,
* error code is stored in errno
*/
LIBBPF_API struct bpf_object *bpf_object__open(const char *path);
/**
* @brief **bpf_object__open_file()** creates a bpf_object by opening
* the BPF ELF object file pointed to by the passed path and loading it
* into memory.
* @param path BPF object file path
* @param opts options for how to load the bpf object, this parameter is
* optional and can be set to NULL
* @return pointer to the new bpf_object; or NULL is returned on error,
* error code is stored in errno
*/
LIBBPF_API struct bpf_object *
bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts);
/**
* @brief **bpf_object__open_mem()** creates a bpf_object by reading
* the BPF objects raw bytes from a memory buffer containing a valid
* BPF ELF object file.
* @param obj_buf pointer to the buffer containing ELF file bytes
* @param obj_buf_sz number of bytes in the buffer
* @param opts options for how to load the bpf object
* @return pointer to the new bpf_object; or NULL is returned on error,
* error code is stored in errno
*/
LIBBPF_API struct bpf_object *
bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz,
const struct bpf_object_open_opts *opts);
/**
* @brief **bpf_object__load()** loads BPF object into kernel.
* @param obj Pointer to a valid BPF object instance returned by
* **bpf_object__open*()** APIs
* @return 0, on success; negative error code, otherwise, error code is
* stored in errno
*/
LIBBPF_API int bpf_object__load(struct bpf_object *obj);
/**
* @brief **bpf_object__close()** closes a BPF object and releases all
* resources.
* @param obj Pointer to a valid BPF object
*/
LIBBPF_API void bpf_object__close(struct bpf_object *obj);
/**
* @brief **bpf_object__pin_maps()** pins each map contained within
* the BPF object at the passed directory.
* @param obj Pointer to a valid BPF object
* @param path A directory where maps should be pinned.
* @return 0, on success; negative error code, otherwise
*
* If `path` is NULL `bpf_map__pin` (which is being used on each map)
* will use the pin_path attribute of each map. In this case, maps that
* don't have a pin_path set will be ignored.
*/
LIBBPF_API int bpf_object__pin_maps(struct bpf_object *obj, const char *path);
/**
* @brief **bpf_object__unpin_maps()** unpins each map contained within
* the BPF object found in the passed directory.
* @param obj Pointer to a valid BPF object
* @param path A directory where pinned maps should be searched for.
* @return 0, on success; negative error code, otherwise
*
* If `path` is NULL `bpf_map__unpin` (which is being used on each map)
* will use the pin_path attribute of each map. In this case, maps that
* don't have a pin_path set will be ignored.
*/
LIBBPF_API int bpf_object__unpin_maps(struct bpf_object *obj,
const char *path);
LIBBPF_API int bpf_object__pin_programs(struct bpf_object *obj,
const char *path);
LIBBPF_API int bpf_object__unpin_programs(struct bpf_object *obj,
const char *path);
LIBBPF_API int bpf_object__pin(struct bpf_object *object, const char *path);
LIBBPF_API const char *bpf_object__name(const struct bpf_object *obj);
LIBBPF_API unsigned int bpf_object__kversion(const struct bpf_object *obj);
LIBBPF_API int bpf_object__set_kversion(struct bpf_object *obj, __u32 kern_version);
struct btf;
LIBBPF_API struct btf *bpf_object__btf(const struct bpf_object *obj);
LIBBPF_API int bpf_object__btf_fd(const struct bpf_object *obj);
LIBBPF_API struct bpf_program *
bpf_object__find_program_by_name(const struct bpf_object *obj,
const char *name);
LIBBPF_API int
libbpf_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type,
enum bpf_attach_type *expected_attach_type);
LIBBPF_API int libbpf_attach_type_by_name(const char *name,
enum bpf_attach_type *attach_type);
LIBBPF_API int libbpf_find_vmlinux_btf_id(const char *name,
enum bpf_attach_type attach_type);
/* Accessors of bpf_program */
struct bpf_program;
LIBBPF_API struct bpf_program *
bpf_object__next_program(const struct bpf_object *obj, struct bpf_program *prog);
#define bpf_object__for_each_program(pos, obj) \
for ((pos) = bpf_object__next_program((obj), NULL); \
(pos) != NULL; \
(pos) = bpf_object__next_program((obj), (pos)))
LIBBPF_API struct bpf_program *
bpf_object__prev_program(const struct bpf_object *obj, struct bpf_program *prog);
LIBBPF_API void bpf_program__set_ifindex(struct bpf_program *prog,
__u32 ifindex);
LIBBPF_API const char *bpf_program__name(const struct bpf_program *prog);
LIBBPF_API const char *bpf_program__section_name(const struct bpf_program *prog);
LIBBPF_API bool bpf_program__autoload(const struct bpf_program *prog);
LIBBPF_API int bpf_program__set_autoload(struct bpf_program *prog, bool autoload);
LIBBPF_API bool bpf_program__autoattach(const struct bpf_program *prog);
LIBBPF_API void bpf_program__set_autoattach(struct bpf_program *prog, bool autoattach);
struct bpf_insn;
/**
* @brief **bpf_program__insns()** gives read-only access to BPF program's
* underlying BPF instructions.
* @param prog BPF program for which to return instructions
* @return a pointer to an array of BPF instructions that belong to the
* specified BPF program
*
* Returned pointer is always valid and not NULL. Number of `struct bpf_insn`
* pointed to can be fetched using **bpf_program__insn_cnt()** API.
*
* Keep in mind, libbpf can modify and append/delete BPF program's
* instructions as it processes BPF object file and prepares everything for
* uploading into the kernel. So depending on the point in BPF object
* lifetime, **bpf_program__insns()** can return different sets of
* instructions. As an example, during BPF object load phase BPF program
* instructions will be CO-RE-relocated, BPF subprograms instructions will be
* appended, ldimm64 instructions will have FDs embedded, etc. So instructions
* returned before **bpf_object__load()** and after it might be quite
* different.
*/
LIBBPF_API const struct bpf_insn *bpf_program__insns(const struct bpf_program *prog);
/**
* @brief **bpf_program__set_insns()** can set BPF program's underlying
* BPF instructions.
*
* WARNING: This is a very advanced libbpf API and users need to know
* what they are doing. This should be used from prog_prepare_load_fn
* callback only.
*
* @param prog BPF program for which to return instructions
* @param new_insns a pointer to an array of BPF instructions
* @param new_insn_cnt number of `struct bpf_insn`'s that form
* specified BPF program
* @return 0, on success; negative error code, otherwise
*/
LIBBPF_API int bpf_program__set_insns(struct bpf_program *prog,
struct bpf_insn *new_insns, size_t new_insn_cnt);
/**
* @brief **bpf_program__insn_cnt()** returns number of `struct bpf_insn`'s
* that form specified BPF program.
* @param prog BPF program for which to return number of BPF instructions
*
* See **bpf_program__insns()** documentation for notes on how libbpf can
* change instructions and their count during different phases of
* **bpf_object** lifetime.
*/
LIBBPF_API size_t bpf_program__insn_cnt(const struct bpf_program *prog);
LIBBPF_API int bpf_program__fd(const struct bpf_program *prog);
/**
* @brief **bpf_program__pin()** pins the BPF program to a file
* in the BPF FS specified by a path. This increments the programs
* reference count, allowing it to stay loaded after the process
* which loaded it has exited.
*
* @param prog BPF program to pin, must already be loaded
* @param path file path in a BPF file system
* @return 0, on success; negative error code, otherwise
*/
LIBBPF_API int bpf_program__pin(struct bpf_program *prog, const char *path);
/**
* @brief **bpf_program__unpin()** unpins the BPF program from a file
* in the BPFFS specified by a path. This decrements the programs
* reference count.
*
* The file pinning the BPF program can also be unlinked by a different
* process in which case this function will return an error.
*
* @param prog BPF program to unpin
* @param path file path to the pin in a BPF file system
* @return 0, on success; negative error code, otherwise
*/
LIBBPF_API int bpf_program__unpin(struct bpf_program *prog, const char *path);
LIBBPF_API void bpf_program__unload(struct bpf_program *prog);
struct bpf_link;
LIBBPF_API struct bpf_link *bpf_link__open(const char *path);
LIBBPF_API int bpf_link__fd(const struct bpf_link *link);
LIBBPF_API const char *bpf_link__pin_path(const struct bpf_link *link);
/**
* @brief **bpf_link__pin()** pins the BPF link to a file
* in the BPF FS specified by a path. This increments the links
* reference count, allowing it to stay loaded after the process
* which loaded it has exited.
*
* @param link BPF link to pin, must already be loaded
* @param path file path in a BPF file system
* @return 0, on success; negative error code, otherwise
*/
LIBBPF_API int bpf_link__pin(struct bpf_link *link, const char *path);
/**
* @brief **bpf_link__unpin()** unpins the BPF link from a file
* in the BPFFS specified by a path. This decrements the links
* reference count.
*
* The file pinning the BPF link can also be unlinked by a different
* process in which case this function will return an error.
*
* @param prog BPF program to unpin
* @param path file path to the pin in a BPF file system
* @return 0, on success; negative error code, otherwise
*/
LIBBPF_API int bpf_link__unpin(struct bpf_link *link);
LIBBPF_API int bpf_link__update_program(struct bpf_link *link,
struct bpf_program *prog);
LIBBPF_API void bpf_link__disconnect(struct bpf_link *link);
LIBBPF_API int bpf_link__detach(struct bpf_link *link);
LIBBPF_API int bpf_link__destroy(struct bpf_link *link);
/**
* @brief **bpf_program__attach()** is a generic function for attaching
* a BPF program based on auto-detection of program type, attach type,
* and extra paremeters, where applicable.
*
* @param prog BPF program to attach
* @return Reference to the newly created BPF link; or NULL is returned on error,
* error code is stored in errno
*
* This is supported for:
* - kprobe/kretprobe (depends on SEC() definition)
* - uprobe/uretprobe (depends on SEC() definition)
* - tracepoint
* - raw tracepoint
* - tracing programs (typed raw TP/fentry/fexit/fmod_ret)
*/
LIBBPF_API struct bpf_link *
bpf_program__attach(const struct bpf_program *prog);
struct bpf_perf_event_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* custom user-provided value fetchable through bpf_get_attach_cookie() */
__u64 bpf_cookie;
/* don't use BPF link when attach BPF program */
bool force_ioctl_attach;
size_t :0;
};
#define bpf_perf_event_opts__last_field force_ioctl_attach
LIBBPF_API struct bpf_link *
bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd);
LIBBPF_API struct bpf_link *
bpf_program__attach_perf_event_opts(const struct bpf_program *prog, int pfd,
const struct bpf_perf_event_opts *opts);
/**
* enum probe_attach_mode - the mode to attach kprobe/uprobe
*
* force libbpf to attach kprobe/uprobe in specific mode, -ENOTSUP will
* be returned if it is not supported by the kernel.
*/
enum probe_attach_mode {
/* attach probe in latest supported mode by kernel */
PROBE_ATTACH_MODE_DEFAULT = 0,
/* attach probe in legacy mode, using debugfs/tracefs */
PROBE_ATTACH_MODE_LEGACY,
/* create perf event with perf_event_open() syscall */
PROBE_ATTACH_MODE_PERF,
/* attach probe with BPF link */
PROBE_ATTACH_MODE_LINK,
};
struct bpf_kprobe_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* custom user-provided value fetchable through bpf_get_attach_cookie() */
__u64 bpf_cookie;
/* function's offset to install kprobe to */
size_t offset;
/* kprobe is return probe */
bool retprobe;
/* kprobe attach mode */
enum probe_attach_mode attach_mode;
size_t :0;
};
#define bpf_kprobe_opts__last_field attach_mode
LIBBPF_API struct bpf_link *
bpf_program__attach_kprobe(const struct bpf_program *prog, bool retprobe,
const char *func_name);
LIBBPF_API struct bpf_link *
bpf_program__attach_kprobe_opts(const struct bpf_program *prog,
const char *func_name,
const struct bpf_kprobe_opts *opts);
struct bpf_kprobe_multi_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* array of function symbols to attach */
const char **syms;
/* array of function addresses to attach */
const unsigned long *addrs;
/* array of user-provided values fetchable through bpf_get_attach_cookie */
const __u64 *cookies;
/* number of elements in syms/addrs/cookies arrays */
size_t cnt;
/* create return kprobes */
bool retprobe;
size_t :0;
};
#define bpf_kprobe_multi_opts__last_field retprobe
LIBBPF_API struct bpf_link *
bpf_program__attach_kprobe_multi_opts(const struct bpf_program *prog,
const char *pattern,
const struct bpf_kprobe_multi_opts *opts);
struct bpf_ksyscall_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* custom user-provided value fetchable through bpf_get_attach_cookie() */
__u64 bpf_cookie;
/* attach as return probe? */
bool retprobe;
size_t :0;
};
#define bpf_ksyscall_opts__last_field retprobe
/**
* @brief **bpf_program__attach_ksyscall()** attaches a BPF program
* to kernel syscall handler of a specified syscall. Optionally it's possible
* to request to install retprobe that will be triggered at syscall exit. It's
* also possible to associate BPF cookie (though options).
*
* Libbpf automatically will determine correct full kernel function name,
* which depending on system architecture and kernel version/configuration
* could be of the form __<arch>_sys_<syscall> or __se_sys_<syscall>, and will
* attach specified program using kprobe/kretprobe mechanism.
*
* **bpf_program__attach_ksyscall()** is an API counterpart of declarative
* **SEC("ksyscall/<syscall>")** annotation of BPF programs.
*
* At the moment **SEC("ksyscall")** and **bpf_program__attach_ksyscall()** do
* not handle all the calling convention quirks for mmap(), clone() and compat
* syscalls. It also only attaches to "native" syscall interfaces. If host
* system supports compat syscalls or defines 32-bit syscalls in 64-bit
* kernel, such syscall interfaces won't be attached to by libbpf.
*
* These limitations may or may not change in the future. Therefore it is
* recommended to use SEC("kprobe") for these syscalls or if working with
* compat and 32-bit interfaces is required.
*
* @param prog BPF program to attach
* @param syscall_name Symbolic name of the syscall (e.g., "bpf")
* @param opts Additional options (see **struct bpf_ksyscall_opts**)
* @return Reference to the newly created BPF link; or NULL is returned on
* error, error code is stored in errno
*/
LIBBPF_API struct bpf_link *
bpf_program__attach_ksyscall(const struct bpf_program *prog,
const char *syscall_name,
const struct bpf_ksyscall_opts *opts);
struct bpf_uprobe_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* offset of kernel reference counted USDT semaphore, added in
* a6ca88b241d5 ("trace_uprobe: support reference counter in fd-based uprobe")
*/
size_t ref_ctr_offset;
/* custom user-provided value fetchable through bpf_get_attach_cookie() */
__u64 bpf_cookie;
/* uprobe is return probe, invoked at function return time */
bool retprobe;
/* Function name to attach to. Could be an unqualified ("abc") or library-qualified
* "abc@LIBXYZ" name. To specify function entry, func_name should be set while
* func_offset argument to bpf_prog__attach_uprobe_opts() should be 0. To trace an
* offset within a function, specify func_name and use func_offset argument to specify
* offset within the function. Shared library functions must specify the shared library
* binary_path.
*/
const char *func_name;
/* uprobe attach mode */
enum probe_attach_mode attach_mode;
size_t :0;
};
#define bpf_uprobe_opts__last_field attach_mode
/**
* @brief **bpf_program__attach_uprobe()** attaches a BPF program
* to the userspace function which is found by binary path and
* offset. You can optionally specify a particular proccess to attach
* to. You can also optionally attach the program to the function
* exit instead of entry.
*
* @param prog BPF program to attach
* @param retprobe Attach to function exit
* @param pid Process ID to attach the uprobe to, 0 for self (own process),
* -1 for all processes
* @param binary_path Path to binary that contains the function symbol
* @param func_offset Offset within the binary of the function symbol
* @return Reference to the newly created BPF link; or NULL is returned on error,
* error code is stored in errno
*/
LIBBPF_API struct bpf_link *
bpf_program__attach_uprobe(const struct bpf_program *prog, bool retprobe,
pid_t pid, const char *binary_path,
size_t func_offset);
/**
* @brief **bpf_program__attach_uprobe_opts()** is just like
* bpf_program__attach_uprobe() except with a options struct
* for various configurations.
*
* @param prog BPF program to attach
* @param pid Process ID to attach the uprobe to, 0 for self (own process),
* -1 for all processes
* @param binary_path Path to binary that contains the function symbol
* @param func_offset Offset within the binary of the function symbol
* @param opts Options for altering program attachment
* @return Reference to the newly created BPF link; or NULL is returned on error,
* error code is stored in errno
*/
LIBBPF_API struct bpf_link *
bpf_program__attach_uprobe_opts(const struct bpf_program *prog, pid_t pid,
const char *binary_path, size_t func_offset,
const struct bpf_uprobe_opts *opts);
struct bpf_usdt_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* custom user-provided value accessible through usdt_cookie() */
__u64 usdt_cookie;
size_t :0;
};
#define bpf_usdt_opts__last_field usdt_cookie
/**
* @brief **bpf_program__attach_usdt()** is just like
* bpf_program__attach_uprobe_opts() except it covers USDT (User-space
* Statically Defined Tracepoint) attachment, instead of attaching to
* user-space function entry or exit.
*
* @param prog BPF program to attach
* @param pid Process ID to attach the uprobe to, 0 for self (own process),
* -1 for all processes
* @param binary_path Path to binary that contains provided USDT probe
* @param usdt_provider USDT provider name
* @param usdt_name USDT probe name
* @param opts Options for altering program attachment
* @return Reference to the newly created BPF link; or NULL is returned on error,
* error code is stored in errno
*/
LIBBPF_API struct bpf_link *
bpf_program__attach_usdt(const struct bpf_program *prog,
pid_t pid, const char *binary_path,
const char *usdt_provider, const char *usdt_name,
const struct bpf_usdt_opts *opts);
struct bpf_tracepoint_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* custom user-provided value fetchable through bpf_get_attach_cookie() */
__u64 bpf_cookie;
};
#define bpf_tracepoint_opts__last_field bpf_cookie
LIBBPF_API struct bpf_link *
bpf_program__attach_tracepoint(const struct bpf_program *prog,
const char *tp_category,
const char *tp_name);
LIBBPF_API struct bpf_link *
bpf_program__attach_tracepoint_opts(const struct bpf_program *prog,
const char *tp_category,
const char *tp_name,
const struct bpf_tracepoint_opts *opts);
LIBBPF_API struct bpf_link *
bpf_program__attach_raw_tracepoint(const struct bpf_program *prog,
const char *tp_name);
struct bpf_trace_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* custom user-provided value fetchable through bpf_get_attach_cookie() */
__u64 cookie;
};
#define bpf_trace_opts__last_field cookie
LIBBPF_API struct bpf_link *
bpf_program__attach_trace(const struct bpf_program *prog);
LIBBPF_API struct bpf_link *
bpf_program__attach_trace_opts(const struct bpf_program *prog, const struct bpf_trace_opts *opts);
LIBBPF_API struct bpf_link *
bpf_program__attach_lsm(const struct bpf_program *prog);
LIBBPF_API struct bpf_link *
bpf_program__attach_cgroup(const struct bpf_program *prog, int cgroup_fd);
LIBBPF_API struct bpf_link *
bpf_program__attach_netns(const struct bpf_program *prog, int netns_fd);
LIBBPF_API struct bpf_link *
bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex);
LIBBPF_API struct bpf_link *
bpf_program__attach_freplace(const struct bpf_program *prog,
int target_fd, const char *attach_func_name);
struct bpf_map;
LIBBPF_API struct bpf_link *bpf_map__attach_struct_ops(const struct bpf_map *map);
LIBBPF_API int bpf_link__update_map(struct bpf_link *link, const struct bpf_map *map);
struct bpf_iter_attach_opts {
size_t sz; /* size of this struct for forward/backward compatibility */
union bpf_iter_link_info *link_info;
__u32 link_info_len;
};
#define bpf_iter_attach_opts__last_field link_info_len
LIBBPF_API struct bpf_link *
bpf_program__attach_iter(const struct bpf_program *prog,
const struct bpf_iter_attach_opts *opts);
LIBBPF_API enum bpf_prog_type bpf_program__type(const struct bpf_program *prog);
/**
* @brief **bpf_program__set_type()** sets the program
* type of the passed BPF program.
* @param prog BPF program to set the program type for
* @param type program type to set the BPF map to have
* @return error code; or 0 if no error. An error occurs
* if the object is already loaded.
*
* This must be called before the BPF object is loaded,
* otherwise it has no effect and an error is returned.
*/
LIBBPF_API int bpf_program__set_type(struct bpf_program *prog,
enum bpf_prog_type type);
LIBBPF_API enum bpf_attach_type
bpf_program__expected_attach_type(const struct bpf_program *prog);
/**
* @brief **bpf_program__set_expected_attach_type()** sets the
* attach type of the passed BPF program. This is used for
* auto-detection of attachment when programs are loaded.
* @param prog BPF program to set the attach type for
* @param type attach type to set the BPF map to have
* @return error code; or 0 if no error. An error occurs
* if the object is already loaded.
*
* This must be called before the BPF object is loaded,
* otherwise it has no effect and an error is returned.
*/
LIBBPF_API int
bpf_program__set_expected_attach_type(struct bpf_program *prog,
enum bpf_attach_type type);
LIBBPF_API __u32 bpf_program__flags(const struct bpf_program *prog);
LIBBPF_API int bpf_program__set_flags(struct bpf_program *prog, __u32 flags);
/* Per-program log level and log buffer getters/setters.
* See bpf_object_open_opts comments regarding log_level and log_buf
* interactions.
*/
LIBBPF_API __u32 bpf_program__log_level(const struct bpf_program *prog);
LIBBPF_API int bpf_program__set_log_level(struct bpf_program *prog, __u32 log_level);
LIBBPF_API const char *bpf_program__log_buf(const struct bpf_program *prog, size_t *log_size);
LIBBPF_API int bpf_program__set_log_buf(struct bpf_program *prog, char *log_buf, size_t log_size);
/**
* @brief **bpf_program__set_attach_target()** sets BTF-based attach target
* for supported BPF program types:
* - BTF-aware raw tracepoints (tp_btf);
* - fentry/fexit/fmod_ret;
* - lsm;
* - freplace.
* @param prog BPF program to set the attach type for
* @param type attach type to set the BPF map to have
* @return error code; or 0 if no error occurred.
*/
LIBBPF_API int
bpf_program__set_attach_target(struct bpf_program *prog, int attach_prog_fd,
const char *attach_func_name);
/**
* @brief **bpf_object__find_map_by_name()** returns BPF map of
* the given name, if it exists within the passed BPF object
* @param obj BPF object
* @param name name of the BPF map
* @return BPF map instance, if such map exists within the BPF object;
* or NULL otherwise.
*/
LIBBPF_API struct bpf_map *
bpf_object__find_map_by_name(const struct bpf_object *obj, const char *name);
LIBBPF_API int
bpf_object__find_map_fd_by_name(const struct bpf_object *obj, const char *name);
LIBBPF_API struct bpf_map *
bpf_object__next_map(const struct bpf_object *obj, const struct bpf_map *map);
#define bpf_object__for_each_map(pos, obj) \
for ((pos) = bpf_object__next_map((obj), NULL); \
(pos) != NULL; \
(pos) = bpf_object__next_map((obj), (pos)))
#define bpf_map__for_each bpf_object__for_each_map
LIBBPF_API struct bpf_map *
bpf_object__prev_map(const struct bpf_object *obj, const struct bpf_map *map);
/**
* @brief **bpf_map__set_autocreate()** sets whether libbpf has to auto-create
* BPF map during BPF object load phase.
* @param map the BPF map instance
* @param autocreate whether to create BPF map during BPF object load
* @return 0 on success; -EBUSY if BPF object was already loaded
*
* **bpf_map__set_autocreate()** allows to opt-out from libbpf auto-creating
* BPF map. By default, libbpf will attempt to create every single BPF map
* defined in BPF object file using BPF_MAP_CREATE command of bpf() syscall
* and fill in map FD in BPF instructions.
*
* This API allows to opt-out of this process for specific map instance. This
* can be useful if host kernel doesn't support such BPF map type or used
* combination of flags and user application wants to avoid creating such
* a map in the first place. User is still responsible to make sure that their
* BPF-side code that expects to use such missing BPF map is recognized by BPF
* verifier as dead code, otherwise BPF verifier will reject such BPF program.
*/
LIBBPF_API int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate);
LIBBPF_API bool bpf_map__autocreate(const struct bpf_map *map);
/**
* @brief **bpf_map__fd()** gets the file descriptor of the passed
* BPF map
* @param map the BPF map instance
* @return the file descriptor; or -EINVAL in case of an error
*/
LIBBPF_API int bpf_map__fd(const struct bpf_map *map);
LIBBPF_API int bpf_map__reuse_fd(struct bpf_map *map, int fd);
/* get map name */
LIBBPF_API const char *bpf_map__name(const struct bpf_map *map);
/* get/set map type */
LIBBPF_API enum bpf_map_type bpf_map__type(const struct bpf_map *map);
LIBBPF_API int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type);
/* get/set map size (max_entries) */
LIBBPF_API __u32 bpf_map__max_entries(const struct bpf_map *map);
LIBBPF_API int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries);
/* get/set map flags */
LIBBPF_API __u32 bpf_map__map_flags(const struct bpf_map *map);
LIBBPF_API int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags);
/* get/set map NUMA node */
LIBBPF_API __u32 bpf_map__numa_node(const struct bpf_map *map);
LIBBPF_API int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node);
/* get/set map key size */
LIBBPF_API __u32 bpf_map__key_size(const struct bpf_map *map);
LIBBPF_API int bpf_map__set_key_size(struct bpf_map *map, __u32 size);
/* get/set map value size */
LIBBPF_API __u32 bpf_map__value_size(const struct bpf_map *map);
LIBBPF_API int bpf_map__set_value_size(struct bpf_map *map, __u32 size);
/* get map key/value BTF type IDs */
LIBBPF_API __u32 bpf_map__btf_key_type_id(const struct bpf_map *map);
LIBBPF_API __u32 bpf_map__btf_value_type_id(const struct bpf_map *map);
/* get/set map if_index */
LIBBPF_API __u32 bpf_map__ifindex(const struct bpf_map *map);
LIBBPF_API int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex);
/* get/set map map_extra flags */
LIBBPF_API __u64 bpf_map__map_extra(const struct bpf_map *map);
LIBBPF_API int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
LIBBPF_API int bpf_map__set_initial_value(struct bpf_map *map,
const void *data, size_t size);
LIBBPF_API const void *bpf_map__initial_value(struct bpf_map *map, size_t *psize);
/**
* @brief **bpf_map__is_internal()** tells the caller whether or not the
* passed map is a special map created by libbpf automatically for things like
* global variables, __ksym externs, Kconfig values, etc
* @param map the bpf_map
* @return true, if the map is an internal map; false, otherwise
*/
LIBBPF_API bool bpf_map__is_internal(const struct bpf_map *map);
/**
* @brief **bpf_map__set_pin_path()** sets the path attribute that tells where the
* BPF map should be pinned. This does not actually create the 'pin'.
* @param map The bpf_map
* @param path The path
* @return 0, on success; negative error, otherwise
*/
LIBBPF_API int bpf_map__set_pin_path(struct bpf_map *map, const char *path);
/**
* @brief **bpf_map__pin_path()** gets the path attribute that tells where the
* BPF map should be pinned.
* @param map The bpf_map
* @return The path string; which can be NULL
*/
LIBBPF_API const char *bpf_map__pin_path(const struct bpf_map *map);
/**
* @brief **bpf_map__is_pinned()** tells the caller whether or not the
* passed map has been pinned via a 'pin' file.
* @param map The bpf_map
* @return true, if the map is pinned; false, otherwise
*/
LIBBPF_API bool bpf_map__is_pinned(const struct bpf_map *map);
/**
* @brief **bpf_map__pin()** creates a file that serves as a 'pin'
* for the BPF map. This increments the reference count on the
* BPF map which will keep the BPF map loaded even after the
* userspace process which loaded it has exited.
* @param map The bpf_map to pin
* @param path A file path for the 'pin'
* @return 0, on success; negative error, otherwise
*
* If `path` is NULL the maps `pin_path` attribute will be used. If this is
* also NULL, an error will be returned and the map will not be pinned.
*/
LIBBPF_API int bpf_map__pin(struct bpf_map *map, const char *path);
/**
* @brief **bpf_map__unpin()** removes the file that serves as a
* 'pin' for the BPF map.
* @param map The bpf_map to unpin
* @param path A file path for the 'pin'
* @return 0, on success; negative error, otherwise
*
* The `path` parameter can be NULL, in which case the `pin_path`
* map attribute is unpinned. If both the `path` parameter and
* `pin_path` map attribute are set, they must be equal.
*/
LIBBPF_API int bpf_map__unpin(struct bpf_map *map, const char *path);
LIBBPF_API int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd);
LIBBPF_API struct bpf_map *bpf_map__inner_map(struct bpf_map *map);
/**
* @brief **bpf_map__lookup_elem()** allows to lookup BPF map value
* corresponding to provided key.
* @param map BPF map to lookup element in
* @param key pointer to memory containing bytes of the key used for lookup
* @param key_sz size in bytes of key data, needs to match BPF map definition's **key_size**
* @param value pointer to memory in which looked up value will be stored
* @param value_sz size in byte of value data memory; it has to match BPF map
* definition's **value_size**. For per-CPU BPF maps value size has to be
* a product of BPF map value size and number of possible CPUs in the system
* (could be fetched with **libbpf_num_possible_cpus()**). Note also that for
* per-CPU values value size has to be aligned up to closest 8 bytes for
* alignment reasons, so expected size is: `round_up(value_size, 8)
* * libbpf_num_possible_cpus()`.
* @flags extra flags passed to kernel for this operation
* @return 0, on success; negative error, otherwise
*
* **bpf_map__lookup_elem()** is high-level equivalent of
* **bpf_map_lookup_elem()** API with added check for key and value size.
*/
LIBBPF_API int bpf_map__lookup_elem(const struct bpf_map *map,
const void *key, size_t key_sz,
void *value, size_t value_sz, __u64 flags);
/**
* @brief **bpf_map__update_elem()** allows to insert or update value in BPF
* map that corresponds to provided key.
* @param map BPF map to insert to or update element in
* @param key pointer to memory containing bytes of the key
* @param key_sz size in bytes of key data, needs to match BPF map definition's **key_size**
* @param value pointer to memory containing bytes of the value
* @param value_sz size in byte of value data memory; it has to match BPF map
* definition's **value_size**. For per-CPU BPF maps value size has to be
* a product of BPF map value size and number of possible CPUs in the system
* (could be fetched with **libbpf_num_possible_cpus()**). Note also that for
* per-CPU values value size has to be aligned up to closest 8 bytes for
* alignment reasons, so expected size is: `round_up(value_size, 8)
* * libbpf_num_possible_cpus()`.
* @flags extra flags passed to kernel for this operation
* @return 0, on success; negative error, otherwise
*
* **bpf_map__update_elem()** is high-level equivalent of
* **bpf_map_update_elem()** API with added check for key and value size.
*/
LIBBPF_API int bpf_map__update_elem(const struct bpf_map *map,
const void *key, size_t key_sz,
const void *value, size_t value_sz, __u64 flags);
/**
* @brief **bpf_map__delete_elem()** allows to delete element in BPF map that
* corresponds to provided key.
* @param map BPF map to delete element from
* @param key pointer to memory containing bytes of the key
* @param key_sz size in bytes of key data, needs to match BPF map definition's **key_size**
* @flags extra flags passed to kernel for this operation
* @return 0, on success; negative error, otherwise
*
* **bpf_map__delete_elem()** is high-level equivalent of
* **bpf_map_delete_elem()** API with added check for key size.
*/
LIBBPF_API int bpf_map__delete_elem(const struct bpf_map *map,
const void *key, size_t key_sz, __u64 flags);
/**
* @brief **bpf_map__lookup_and_delete_elem()** allows to lookup BPF map value
* corresponding to provided key and atomically delete it afterwards.
* @param map BPF map to lookup element in
* @param key pointer to memory containing bytes of the key used for lookup
* @param key_sz size in bytes of key data, needs to match BPF map definition's **key_size**
* @param value pointer to memory in which looked up value will be stored
* @param value_sz size in byte of value data memory; it has to match BPF map
* definition's **value_size**. For per-CPU BPF maps value size has to be
* a product of BPF map value size and number of possible CPUs in the system
* (could be fetched with **libbpf_num_possible_cpus()**). Note also that for
* per-CPU values value size has to be aligned up to closest 8 bytes for
* alignment reasons, so expected size is: `round_up(value_size, 8)
* * libbpf_num_possible_cpus()`.
* @flags extra flags passed to kernel for this operation
* @return 0, on success; negative error, otherwise
*
* **bpf_map__lookup_and_delete_elem()** is high-level equivalent of
* **bpf_map_lookup_and_delete_elem()** API with added check for key and value size.
*/
LIBBPF_API int bpf_map__lookup_and_delete_elem(const struct bpf_map *map,
const void *key, size_t key_sz,
void *value, size_t value_sz, __u64 flags);
/**
* @brief **bpf_map__get_next_key()** allows to iterate BPF map keys by
* fetching next key that follows current key.
* @param map BPF map to fetch next key from
* @param cur_key pointer to memory containing bytes of current key or NULL to
* fetch the first key
* @param next_key pointer to memory to write next key into
* @param key_sz size in bytes of key data, needs to match BPF map definition's **key_size**
* @return 0, on success; -ENOENT if **cur_key** is the last key in BPF map;
* negative error, otherwise
*
* **bpf_map__get_next_key()** is high-level equivalent of
* **bpf_map_get_next_key()** API with added check for key size.
*/
LIBBPF_API int bpf_map__get_next_key(const struct bpf_map *map,
const void *cur_key, void *next_key, size_t key_sz);
struct bpf_xdp_set_link_opts {
size_t sz;
int old_fd;
size_t :0;
};
#define bpf_xdp_set_link_opts__last_field old_fd
struct bpf_xdp_attach_opts {
size_t sz;
int old_prog_fd;
size_t :0;
};
#define bpf_xdp_attach_opts__last_field old_prog_fd
struct bpf_xdp_query_opts {
size_t sz;
__u32 prog_id; /* output */
__u32 drv_prog_id; /* output */
__u32 hw_prog_id; /* output */
__u32 skb_prog_id; /* output */
__u8 attach_mode; /* output */
__u64 feature_flags; /* output */
size_t :0;
};
#define bpf_xdp_query_opts__last_field feature_flags
LIBBPF_API int bpf_xdp_attach(int ifindex, int prog_fd, __u32 flags,
const struct bpf_xdp_attach_opts *opts);
LIBBPF_API int bpf_xdp_detach(int ifindex, __u32 flags,
const struct bpf_xdp_attach_opts *opts);
LIBBPF_API int bpf_xdp_query(int ifindex, int flags, struct bpf_xdp_query_opts *opts);
LIBBPF_API int bpf_xdp_query_id(int ifindex, int flags, __u32 *prog_id);
/* TC related API */
enum bpf_tc_attach_point {
BPF_TC_INGRESS = 1 << 0,
BPF_TC_EGRESS = 1 << 1,
BPF_TC_CUSTOM = 1 << 2,
};
#define BPF_TC_PARENT(a, b) \
((((a) << 16) & 0xFFFF0000U) | ((b) & 0x0000FFFFU))
enum bpf_tc_flags {
BPF_TC_F_REPLACE = 1 << 0,
};
struct bpf_tc_hook {
size_t sz;
int ifindex;
enum bpf_tc_attach_point attach_point;
__u32 parent;
size_t :0;
};
#define bpf_tc_hook__last_field parent
struct bpf_tc_opts {
size_t sz;
int prog_fd;
__u32 flags;
__u32 prog_id;
__u32 handle;
__u32 priority;
size_t :0;
};
#define bpf_tc_opts__last_field priority
LIBBPF_API int bpf_tc_hook_create(struct bpf_tc_hook *hook);
LIBBPF_API int bpf_tc_hook_destroy(struct bpf_tc_hook *hook);
LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook,
struct bpf_tc_opts *opts);
LIBBPF_API int bpf_tc_detach(const struct bpf_tc_hook *hook,
const struct bpf_tc_opts *opts);
LIBBPF_API int bpf_tc_query(const struct bpf_tc_hook *hook,
struct bpf_tc_opts *opts);
/* Ring buffer APIs */
struct ring_buffer;
struct user_ring_buffer;
typedef int (*ring_buffer_sample_fn)(void *ctx, void *data, size_t size);
struct ring_buffer_opts {
size_t sz; /* size of this struct, for forward/backward compatibility */
};
#define ring_buffer_opts__last_field sz
LIBBPF_API struct ring_buffer *
ring_buffer__new(int map_fd, ring_buffer_sample_fn sample_cb, void *ctx,
const struct ring_buffer_opts *opts);
LIBBPF_API void ring_buffer__free(struct ring_buffer *rb);
LIBBPF_API int ring_buffer__add(struct ring_buffer *rb, int map_fd,
ring_buffer_sample_fn sample_cb, void *ctx);
LIBBPF_API int ring_buffer__poll(struct ring_buffer *rb, int timeout_ms);
LIBBPF_API int ring_buffer__consume(struct ring_buffer *rb);
LIBBPF_API int ring_buffer__epoll_fd(const struct ring_buffer *rb);
struct user_ring_buffer_opts {
size_t sz; /* size of this struct, for forward/backward compatibility */
};
#define user_ring_buffer_opts__last_field sz
/**
* @brief **user_ring_buffer__new()** creates a new instance of a user ring
* buffer.
*
* @param map_fd A file descriptor to a BPF_MAP_TYPE_USER_RINGBUF map.
* @param opts Options for how the ring buffer should be created.
* @return A user ring buffer on success; NULL and errno being set on a
* failure.
*/
LIBBPF_API struct user_ring_buffer *
user_ring_buffer__new(int map_fd, const struct user_ring_buffer_opts *opts);
/**
* @brief **user_ring_buffer__reserve()** reserves a pointer to a sample in the
* user ring buffer.
* @param rb A pointer to a user ring buffer.
* @param size The size of the sample, in bytes.
* @return A pointer to an 8-byte aligned reserved region of the user ring
* buffer; NULL, and errno being set if a sample could not be reserved.
*
* This function is *not* thread safe, and callers must synchronize accessing
* this function if there are multiple producers. If a size is requested that
* is larger than the size of the entire ring buffer, errno will be set to
* E2BIG and NULL is returned. If the ring buffer could accommodate the size,
* but currently does not have enough space, errno is set to ENOSPC and NULL is
* returned.
*
* After initializing the sample, callers must invoke
* **user_ring_buffer__submit()** to post the sample to the kernel. Otherwise,
* the sample must be freed with **user_ring_buffer__discard()**.
*/
LIBBPF_API void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size);
/**
* @brief **user_ring_buffer__reserve_blocking()** reserves a record in the
* ring buffer, possibly blocking for up to @timeout_ms until a sample becomes
* available.
* @param rb The user ring buffer.
* @param size The size of the sample, in bytes.
* @param timeout_ms The amount of time, in milliseconds, for which the caller
* should block when waiting for a sample. -1 causes the caller to block
* indefinitely.
* @return A pointer to an 8-byte aligned reserved region of the user ring
* buffer; NULL, and errno being set if a sample could not be reserved.
*
* This function is *not* thread safe, and callers must synchronize
* accessing this function if there are multiple producers
*
* If **timeout_ms** is -1, the function will block indefinitely until a sample
* becomes available. Otherwise, **timeout_ms** must be non-negative, or errno
* is set to EINVAL, and NULL is returned. If **timeout_ms** is 0, no blocking
* will occur and the function will return immediately after attempting to
* reserve a sample.
*
* If **size** is larger than the size of the entire ring buffer, errno is set
* to E2BIG and NULL is returned. If the ring buffer could accommodate
* **size**, but currently does not have enough space, the caller will block
* until at most **timeout_ms** has elapsed. If insufficient space is available
* at that time, errno is set to ENOSPC, and NULL is returned.
*
* The kernel guarantees that it will wake up this thread to check if
* sufficient space is available in the ring buffer at least once per
* invocation of the **bpf_ringbuf_drain()** helper function, provided that at
* least one sample is consumed, and the BPF program did not invoke the
* function with BPF_RB_NO_WAKEUP. A wakeup may occur sooner than that, but the
* kernel does not guarantee this. If the helper function is invoked with
* BPF_RB_FORCE_WAKEUP, a wakeup event will be sent even if no sample is
* consumed.
*
* When a sample of size **size** is found within **timeout_ms**, a pointer to
* the sample is returned. After initializing the sample, callers must invoke
* **user_ring_buffer__submit()** to post the sample to the ring buffer.
* Otherwise, the sample must be freed with **user_ring_buffer__discard()**.
*/
LIBBPF_API void *user_ring_buffer__reserve_blocking(struct user_ring_buffer *rb,
__u32 size,
int timeout_ms);
/**
* @brief **user_ring_buffer__submit()** submits a previously reserved sample
* into the ring buffer.
* @param rb The user ring buffer.
* @param sample A reserved sample.
*
* It is not necessary to synchronize amongst multiple producers when invoking
* this function.
*/
LIBBPF_API void user_ring_buffer__submit(struct user_ring_buffer *rb, void *sample);
/**
* @brief **user_ring_buffer__discard()** discards a previously reserved sample.
* @param rb The user ring buffer.
* @param sample A reserved sample.
*
* It is not necessary to synchronize amongst multiple producers when invoking
* this function.
*/
LIBBPF_API void user_ring_buffer__discard(struct user_ring_buffer *rb, void *sample);
/**
* @brief **user_ring_buffer__free()** frees a ring buffer that was previously
* created with **user_ring_buffer__new()**.
* @param rb The user ring buffer being freed.
*/
LIBBPF_API void user_ring_buffer__free(struct user_ring_buffer *rb);
/* Perf buffer APIs */
struct perf_buffer;
typedef void (*perf_buffer_sample_fn)(void *ctx, int cpu,
void *data, __u32 size);
typedef void (*perf_buffer_lost_fn)(void *ctx, int cpu, __u64 cnt);
/* common use perf buffer options */
struct perf_buffer_opts {
size_t sz;
__u32 sample_period;
size_t :0;
};
#define perf_buffer_opts__last_field sample_period
/**
* @brief **perf_buffer__new()** creates BPF perfbuf manager for a specified
* BPF_PERF_EVENT_ARRAY map
* @param map_fd FD of BPF_PERF_EVENT_ARRAY BPF map that will be used by BPF
* code to send data over to user-space
* @param page_cnt number of memory pages allocated for each per-CPU buffer
* @param sample_cb function called on each received data record
* @param lost_cb function called when record loss has occurred
* @param ctx user-provided extra context passed into *sample_cb* and *lost_cb*
* @return a new instance of struct perf_buffer on success, NULL on error with
* *errno* containing an error code
*/
LIBBPF_API struct perf_buffer *
perf_buffer__new(int map_fd, size_t page_cnt,
perf_buffer_sample_fn sample_cb, perf_buffer_lost_fn lost_cb, void *ctx,
const struct perf_buffer_opts *opts);
enum bpf_perf_event_ret {
LIBBPF_PERF_EVENT_DONE = 0,
LIBBPF_PERF_EVENT_ERROR = -1,
LIBBPF_PERF_EVENT_CONT = -2,
};
struct perf_event_header;
typedef enum bpf_perf_event_ret
(*perf_buffer_event_fn)(void *ctx, int cpu, struct perf_event_header *event);
/* raw perf buffer options, giving most power and control */
struct perf_buffer_raw_opts {
size_t sz;
long :0;
long :0;
/* if cpu_cnt == 0, open all on all possible CPUs (up to the number of
* max_entries of given PERF_EVENT_ARRAY map)
*/
int cpu_cnt;
/* if cpu_cnt > 0, cpus is an array of CPUs to open ring buffers on */
int *cpus;
/* if cpu_cnt > 0, map_keys specify map keys to set per-CPU FDs for */
int *map_keys;
};
#define perf_buffer_raw_opts__last_field map_keys
struct perf_event_attr;
LIBBPF_API struct perf_buffer *
perf_buffer__new_raw(int map_fd, size_t page_cnt, struct perf_event_attr *attr,
perf_buffer_event_fn event_cb, void *ctx,
const struct perf_buffer_raw_opts *opts);
LIBBPF_API void perf_buffer__free(struct perf_buffer *pb);
LIBBPF_API int perf_buffer__epoll_fd(const struct perf_buffer *pb);
LIBBPF_API int perf_buffer__poll(struct perf_buffer *pb, int timeout_ms);
LIBBPF_API int perf_buffer__consume(struct perf_buffer *pb);
LIBBPF_API int perf_buffer__consume_buffer(struct perf_buffer *pb, size_t buf_idx);
LIBBPF_API size_t perf_buffer__buffer_cnt(const struct perf_buffer *pb);
LIBBPF_API int perf_buffer__buffer_fd(const struct perf_buffer *pb, size_t buf_idx);
/**
* @brief **perf_buffer__buffer()** returns the per-cpu raw mmap()'ed underlying
* memory region of the ring buffer.
* This ring buffer can be used to implement a custom events consumer.
* The ring buffer starts with the *struct perf_event_mmap_page*, which
* holds the ring buffer managment fields, when accessing the header
* structure it's important to be SMP aware.
* You can refer to *perf_event_read_simple* for a simple example.
* @param pb the perf buffer structure
* @param buf_idx the buffer index to retreive
* @param buf (out) gets the base pointer of the mmap()'ed memory
* @param buf_size (out) gets the size of the mmap()'ed region
* @return 0 on success, negative error code for failure
*/
LIBBPF_API int perf_buffer__buffer(struct perf_buffer *pb, int buf_idx, void **buf,
size_t *buf_size);
struct bpf_prog_linfo;
struct bpf_prog_info;
LIBBPF_API void bpf_prog_linfo__free(struct bpf_prog_linfo *prog_linfo);
LIBBPF_API struct bpf_prog_linfo *
bpf_prog_linfo__new(const struct bpf_prog_info *info);
LIBBPF_API const struct bpf_line_info *
bpf_prog_linfo__lfind_addr_func(const struct bpf_prog_linfo *prog_linfo,
__u64 addr, __u32 func_idx, __u32 nr_skip);
LIBBPF_API const struct bpf_line_info *
bpf_prog_linfo__lfind(const struct bpf_prog_linfo *prog_linfo,
__u32 insn_off, __u32 nr_skip);
/*
* Probe for supported system features
*
* Note that running many of these probes in a short amount of time can cause
* the kernel to reach the maximal size of lockable memory allowed for the
* user, causing subsequent probes to fail. In this case, the caller may want
* to adjust that limit with setrlimit().
*/
/**
* @brief **libbpf_probe_bpf_prog_type()** detects if host kernel supports
* BPF programs of a given type.
* @param prog_type BPF program type to detect kernel support for
* @param opts reserved for future extensibility, should be NULL
* @return 1, if given program type is supported; 0, if given program type is
* not supported; negative error code if feature detection failed or can't be
* performed
*
* Make sure the process has required set of CAP_* permissions (or runs as
* root) when performing feature checking.
*/
LIBBPF_API int libbpf_probe_bpf_prog_type(enum bpf_prog_type prog_type, const void *opts);
/**
* @brief **libbpf_probe_bpf_map_type()** detects if host kernel supports
* BPF maps of a given type.
* @param map_type BPF map type to detect kernel support for
* @param opts reserved for future extensibility, should be NULL
* @return 1, if given map type is supported; 0, if given map type is
* not supported; negative error code if feature detection failed or can't be
* performed
*
* Make sure the process has required set of CAP_* permissions (or runs as
* root) when performing feature checking.
*/
LIBBPF_API int libbpf_probe_bpf_map_type(enum bpf_map_type map_type, const void *opts);
/**
* @brief **libbpf_probe_bpf_helper()** detects if host kernel supports the
* use of a given BPF helper from specified BPF program type.
* @param prog_type BPF program type used to check the support of BPF helper
* @param helper_id BPF helper ID (enum bpf_func_id) to check support for
* @param opts reserved for future extensibility, should be NULL
* @return 1, if given combination of program type and helper is supported; 0,
* if the combination is not supported; negative error code if feature
* detection for provided input arguments failed or can't be performed
*
* Make sure the process has required set of CAP_* permissions (or runs as
* root) when performing feature checking.
*/
LIBBPF_API int libbpf_probe_bpf_helper(enum bpf_prog_type prog_type,
enum bpf_func_id helper_id, const void *opts);
/**
* @brief **libbpf_num_possible_cpus()** is a helper function to get the
* number of possible CPUs that the host kernel supports and expects.
* @return number of possible CPUs; or error code on failure
*
* Example usage:
*
* int ncpus = libbpf_num_possible_cpus();
* if (ncpus < 0) {
* // error handling
* }
* long values[ncpus];
* bpf_map_lookup_elem(per_cpu_map_fd, key, values);
*/
LIBBPF_API int libbpf_num_possible_cpus(void);
struct bpf_map_skeleton {
const char *name;
struct bpf_map **map;
void **mmaped;
};
struct bpf_prog_skeleton {
const char *name;
struct bpf_program **prog;
struct bpf_link **link;
};
struct bpf_object_skeleton {
size_t sz; /* size of this struct, for forward/backward compatibility */
const char *name;
const void *data;
size_t data_sz;
struct bpf_object **obj;
int map_cnt;
int map_skel_sz; /* sizeof(struct bpf_map_skeleton) */
struct bpf_map_skeleton *maps;
int prog_cnt;
int prog_skel_sz; /* sizeof(struct bpf_prog_skeleton) */
struct bpf_prog_skeleton *progs;
};
LIBBPF_API int
bpf_object__open_skeleton(struct bpf_object_skeleton *s,
const struct bpf_object_open_opts *opts);
LIBBPF_API int bpf_object__load_skeleton(struct bpf_object_skeleton *s);
LIBBPF_API int bpf_object__attach_skeleton(struct bpf_object_skeleton *s);
LIBBPF_API void bpf_object__detach_skeleton(struct bpf_object_skeleton *s);
LIBBPF_API void bpf_object__destroy_skeleton(struct bpf_object_skeleton *s);
struct bpf_var_skeleton {
const char *name;
struct bpf_map **map;
void **addr;
};
struct bpf_object_subskeleton {
size_t sz; /* size of this struct, for forward/backward compatibility */
const struct bpf_object *obj;
int map_cnt;
int map_skel_sz; /* sizeof(struct bpf_map_skeleton) */
struct bpf_map_skeleton *maps;
int prog_cnt;
int prog_skel_sz; /* sizeof(struct bpf_prog_skeleton) */
struct bpf_prog_skeleton *progs;
int var_cnt;
int var_skel_sz; /* sizeof(struct bpf_var_skeleton) */
struct bpf_var_skeleton *vars;
};
LIBBPF_API int
bpf_object__open_subskeleton(struct bpf_object_subskeleton *s);
LIBBPF_API void
bpf_object__destroy_subskeleton(struct bpf_object_subskeleton *s);
struct gen_loader_opts {
size_t sz; /* size of this struct, for forward/backward compatibility */
const char *data;
const char *insns;
__u32 data_sz;
__u32 insns_sz;
};
#define gen_loader_opts__last_field insns_sz
LIBBPF_API int bpf_object__gen_loader(struct bpf_object *obj,
struct gen_loader_opts *opts);
enum libbpf_tristate {
TRI_NO = 0,
TRI_YES = 1,
TRI_MODULE = 2,
};
struct bpf_linker_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
};
#define bpf_linker_opts__last_field sz
struct bpf_linker_file_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
};
#define bpf_linker_file_opts__last_field sz
struct bpf_linker;
LIBBPF_API struct bpf_linker *bpf_linker__new(const char *filename, struct bpf_linker_opts *opts);
LIBBPF_API int bpf_linker__add_file(struct bpf_linker *linker,
const char *filename,
const struct bpf_linker_file_opts *opts);
LIBBPF_API int bpf_linker__finalize(struct bpf_linker *linker);
LIBBPF_API void bpf_linker__free(struct bpf_linker *linker);
/*
* Custom handling of BPF program's SEC() definitions
*/
struct bpf_prog_load_opts; /* defined in bpf.h */
/* Called during bpf_object__open() for each recognized BPF program. Callback
* can use various bpf_program__set_*() setters to adjust whatever properties
* are necessary.
*/
typedef int (*libbpf_prog_setup_fn_t)(struct bpf_program *prog, long cookie);
/* Called right before libbpf performs bpf_prog_load() to load BPF program
* into the kernel. Callback can adjust opts as necessary.
*/
typedef int (*libbpf_prog_prepare_load_fn_t)(struct bpf_program *prog,
struct bpf_prog_load_opts *opts, long cookie);
/* Called during skeleton attach or through bpf_program__attach(). If
* auto-attach is not supported, callback should return 0 and set link to
* NULL (it's not considered an error during skeleton attach, but it will be
* an error for bpf_program__attach() calls). On error, error should be
* returned directly and link set to NULL. On success, return 0 and set link
* to a valid struct bpf_link.
*/
typedef int (*libbpf_prog_attach_fn_t)(const struct bpf_program *prog, long cookie,
struct bpf_link **link);
struct libbpf_prog_handler_opts {
/* size of this struct, for forward/backward compatibility */
size_t sz;
/* User-provided value that is passed to prog_setup_fn,
* prog_prepare_load_fn, and prog_attach_fn callbacks. Allows user to
* register one set of callbacks for multiple SEC() definitions and
* still be able to distinguish them, if necessary. For example,
* libbpf itself is using this to pass necessary flags (e.g.,
* sleepable flag) to a common internal SEC() handler.
*/
long cookie;
/* BPF program initialization callback (see libbpf_prog_setup_fn_t).
* Callback is optional, pass NULL if it's not necessary.
*/
libbpf_prog_setup_fn_t prog_setup_fn;
/* BPF program loading callback (see libbpf_prog_prepare_load_fn_t).
* Callback is optional, pass NULL if it's not necessary.
*/
libbpf_prog_prepare_load_fn_t prog_prepare_load_fn;
/* BPF program attach callback (see libbpf_prog_attach_fn_t).
* Callback is optional, pass NULL if it's not necessary.
*/
libbpf_prog_attach_fn_t prog_attach_fn;
};
#define libbpf_prog_handler_opts__last_field prog_attach_fn
/**
* @brief **libbpf_register_prog_handler()** registers a custom BPF program
* SEC() handler.
* @param sec section prefix for which custom handler is registered
* @param prog_type BPF program type associated with specified section
* @param exp_attach_type Expected BPF attach type associated with specified section
* @param opts optional cookie, callbacks, and other extra options
* @return Non-negative handler ID is returned on success. This handler ID has
* to be passed to *libbpf_unregister_prog_handler()* to unregister such
* custom handler. Negative error code is returned on error.
*
* *sec* defines which SEC() definitions are handled by this custom handler
* registration. *sec* can have few different forms:
* - if *sec* is just a plain string (e.g., "abc"), it will match only
* SEC("abc"). If BPF program specifies SEC("abc/whatever") it will result
* in an error;
* - if *sec* is of the form "abc/", proper SEC() form is
* SEC("abc/something"), where acceptable "something" should be checked by
* *prog_init_fn* callback, if there are additional restrictions;
* - if *sec* is of the form "abc+", it will successfully match both
* SEC("abc") and SEC("abc/whatever") forms;
* - if *sec* is NULL, custom handler is registered for any BPF program that
* doesn't match any of the registered (custom or libbpf's own) SEC()
* handlers. There could be only one such generic custom handler registered
* at any given time.
*
* All custom handlers (except the one with *sec* == NULL) are processed
* before libbpf's own SEC() handlers. It is allowed to "override" libbpf's
* SEC() handlers by registering custom ones for the same section prefix
* (i.e., it's possible to have custom SEC("perf_event/LLC-load-misses")
* handler).
*
* Note, like much of global libbpf APIs (e.g., libbpf_set_print(),
* libbpf_set_strict_mode(), etc)) these APIs are not thread-safe. User needs
* to ensure synchronization if there is a risk of running this API from
* multiple threads simultaneously.
*/
LIBBPF_API int libbpf_register_prog_handler(const char *sec,
enum bpf_prog_type prog_type,
enum bpf_attach_type exp_attach_type,
const struct libbpf_prog_handler_opts *opts);
/**
* @brief *libbpf_unregister_prog_handler()* unregisters previously registered
* custom BPF program SEC() handler.
* @param handler_id handler ID returned by *libbpf_register_prog_handler()*
* after successful registration
* @return 0 on success, negative error code if handler isn't found
*
* Note, like much of global libbpf APIs (e.g., libbpf_set_print(),
* libbpf_set_strict_mode(), etc)) these APIs are not thread-safe. User needs
* to ensure synchronization if there is a risk of running this API from
* multiple threads simultaneously.
*/
LIBBPF_API int libbpf_unregister_prog_handler(int handler_id);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* __LIBBPF_LIBBPF_H */
|
681d4cd246b37b44bbb8672ea78b465305126804
|
e814383d36a10839104efaa4df277996ab220fa3
|
/3rd-party/romio341/test/syshints.c
|
5723e06c72cb298d10d878451590e13c54dc2b00
|
[
"mpich2",
"BSD-3-Clause-Open-MPI"
] |
permissive
|
open-mpi/ompi
|
a1d7483ae1d83dd8fd8ae3ee95e832e0a0ee04e3
|
1edfdb025c4450f694600083ad871cf06c8d45cd
|
refs/heads/main
| 2023-09-01T01:30:02.040705
| 2023-08-29T17:32:18
| 2023-08-29T17:32:18
| 24,107,001
| 2,008
| 973
|
NOASSERTION
| 2023-09-14T20:59:26
| 2014-09-16T16:08:30
|
C
|
UTF-8
|
C
| false
| false
| 1,654
|
c
|
syshints.c
|
/*
* Copyright (C) by Argonne National Laboratory
* See COPYRIGHT in top-level directory
*/
#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
static void handle_error(int errcode, const char *str)
{
char msg[MPI_MAX_ERROR_STRING];
int resultlen;
MPI_Error_string(errcode, msg, &resultlen);
fprintf(stderr, "%s: %s\n", str, msg);
MPI_Abort(MPI_COMM_WORLD, 1);
}
#define CHECK(fn) {int errcode; errcode = (fn); if (errcode != MPI_SUCCESS) handle_error(errcode, #fn); }
static int hint_check(MPI_Info info_used, const char *key, const char *expected)
{
char value[MPI_MAX_INFO_VAL + 1];
int flag;
CHECK(MPI_Info_get(info_used, key, MPI_MAX_INFO_VAL, value, &flag));
if (strcmp(expected, value)) {
fprintf(stderr, "expected value \"%s\" for key \"%s\" got \"%s\"\n", expected, key, value);
return 1;
}
return 0;
}
int main(int argc, char **argv)
{
setenv("ROMIO_HINTS", argv[1], 1);
MPI_File fh;
MPI_Info info_used, info_mine;
int nr_errors = 0;
MPI_Init(&argc, &argv);
MPI_Info_create(&info_mine);
MPI_Info_set(info_mine, "romio_cb_read", "disable");
CHECK(MPI_File_open(MPI_COMM_WORLD, argv[1], MPI_MODE_RDONLY, info_mine, &fh));
CHECK(MPI_File_get_info(fh, &info_used));
nr_errors += hint_check(info_used, "ind_rd_buffer_size", "49");
nr_errors += hint_check(info_used, "romio_no_indep_rw", "true");
if (nr_errors == 0)
printf(" No Errors\n");
CHECK(MPI_Info_free(&info_mine));
CHECK(MPI_Info_free(&info_used));
CHECK(MPI_File_close(&fh));
MPI_Finalize();
return nr_errors;
}
|
78eda2b510622a01d3f172407c9548a64021d86d
|
ea8fc70c7dbf49059431fa45a940742736c68fb8
|
/ext/queue/beanstalk.c
|
a7b2a863ce6d18780648af415a38553cbf78d747
|
[
"BSD-3-Clause"
] |
permissive
|
dreamsxin/cphalcon7
|
1bd2194a251657b48857326927db69fef617ab91
|
1b8c6b04b4ca237a5ead87d4752df0d2e85c7a9d
|
refs/heads/master
| 2023-03-08T04:53:08.829432
| 2022-07-07T07:48:59
| 2022-07-07T07:48:59
| 47,245,335
| 298
| 73
| null | 2021-06-22T11:53:25
| 2015-12-02T07:44:43
|
C
|
UTF-8
|
C
| false
| false
| 28,007
|
c
|
beanstalk.c
|
/*
+------------------------------------------------------------------------+
| Phalcon Framework |
+------------------------------------------------------------------------+
| Copyright (c) 2011-2014 Phalcon Team (http://www.phalconphp.com) |
+------------------------------------------------------------------------+
| This source file is subject to the New BSD License that is bundled |
| with this package in the file docs/LICENSE.txt. |
| |
| If you did not receive a copy of the license and are unable to |
| obtain it through the world-wide-web, please send an email |
| to license@phalconphp.com so we can send you a copy immediately. |
+------------------------------------------------------------------------+
| Authors: Andres Gutierrez <andres@phalconphp.com> |
| Eduar Carvajal <eduar@phalconphp.com> |
| ZhuZongXin <dreamsxin@qq.com> |
+------------------------------------------------------------------------+
*/
#include "queue/beanstalk.h"
#include "queue/beanstalk/job.h"
#include "queue/../exception.h"
#include <ext/standard/file.h>
#include <main/php_streams.h>
#include "kernel/main.h"
#include "kernel/memory.h"
#include "kernel/array.h"
#include "kernel/object.h"
#include "kernel/fcall.h"
#include "kernel/exception.h"
#include "kernel/variables.h"
#include "kernel/string.h"
#include "kernel/concat.h"
#include "kernel/operators.h"
/**
* Phalcon\Queue\Beanstalk
*
* Class to access the beanstalk queue service.
* Partially implements the protocol version 1.2
*
* @see http://www.igvita.com/2010/05/20/scalable-work-queues-with-beanstalk/
*/
zend_class_entry *phalcon_queue_beanstalk_ce;
PHP_METHOD(Phalcon_Queue_Beanstalk, __construct);
PHP_METHOD(Phalcon_Queue_Beanstalk, connect);
PHP_METHOD(Phalcon_Queue_Beanstalk, put);
PHP_METHOD(Phalcon_Queue_Beanstalk, reserve);
PHP_METHOD(Phalcon_Queue_Beanstalk, choose);
PHP_METHOD(Phalcon_Queue_Beanstalk, watch);
PHP_METHOD(Phalcon_Queue_Beanstalk, stats);
PHP_METHOD(Phalcon_Queue_Beanstalk, statsTube);
PHP_METHOD(Phalcon_Queue_Beanstalk, peekReady);
PHP_METHOD(Phalcon_Queue_Beanstalk, peekDelayed);
PHP_METHOD(Phalcon_Queue_Beanstalk, peekBuried);
PHP_METHOD(Phalcon_Queue_Beanstalk, jobPeek);
PHP_METHOD(Phalcon_Queue_Beanstalk, readStatus);
PHP_METHOD(Phalcon_Queue_Beanstalk, readYaml);
PHP_METHOD(Phalcon_Queue_Beanstalk, read);
PHP_METHOD(Phalcon_Queue_Beanstalk, write);
PHP_METHOD(Phalcon_Queue_Beanstalk, disconnect);
PHP_METHOD(Phalcon_Queue_Beanstalk, quit);
PHP_METHOD(Phalcon_Queue_Beanstalk, listTubes);
PHP_METHOD(Phalcon_Queue_Beanstalk, listTubeUsed);
PHP_METHOD(Phalcon_Queue_Beanstalk, listTubesWatched);
PHP_METHOD(Phalcon_Queue_Beanstalk, ignore);
PHP_METHOD(Phalcon_Queue_Beanstalk, __sleep);
PHP_METHOD(Phalcon_Queue_Beanstalk, __wakeup);
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk___construct, 0, 0, 0)
ZEND_ARG_INFO(0, options)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_put, 0, 0, 1)
ZEND_ARG_INFO(0, data)
ZEND_ARG_INFO(0, options)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_reserve, 0, 0, 0)
ZEND_ARG_TYPE_INFO(0, timeout, IS_LONG, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_choose, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, tube, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_watch, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, tube, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_statstube, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, tube, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_read, 0, 0, 0)
ZEND_ARG_INFO(0, length)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_write, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_ignore, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, tube, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_jobpeek, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, id, IS_LONG, 0)
ZEND_END_ARG_INFO()
static const zend_function_entry phalcon_queue_beanstalk_method_entry[] = {
PHP_ME(Phalcon_Queue_Beanstalk, __construct, arginfo_phalcon_queue_beanstalk___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(Phalcon_Queue_Beanstalk, connect, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, put, arginfo_phalcon_queue_beanstalk_put, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, reserve, arginfo_phalcon_queue_beanstalk_reserve, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, choose, arginfo_phalcon_queue_beanstalk_choose, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, watch, arginfo_phalcon_queue_beanstalk_watch, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, stats, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, statsTube, arginfo_phalcon_queue_beanstalk_statstube, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, peekReady, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, peekDelayed, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, peekBuried, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, jobPeek, arginfo_phalcon_queue_beanstalk_jobpeek, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, readStatus, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, readYaml, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, read, arginfo_phalcon_queue_beanstalk_read, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, write, arginfo_phalcon_queue_beanstalk_write, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, disconnect, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, quit, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, listTubes, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, listTubeUsed, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, listTubesWatched, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, ignore, arginfo_phalcon_queue_beanstalk_ignore, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, __sleep, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Queue_Beanstalk, __wakeup, arginfo_empty, ZEND_ACC_PUBLIC)
PHP_FE_END
};
/**
* Phalcon\Queue\Beanstalk initializer
*/
PHALCON_INIT_CLASS(Phalcon_Queue_Beanstalk){
PHALCON_REGISTER_CLASS(Phalcon\\Queue, Beanstalk, queue_beanstalk, phalcon_queue_beanstalk_method_entry, 0);
zend_declare_property_null(phalcon_queue_beanstalk_ce, SL("_connection"), ZEND_ACC_PROTECTED);
zend_declare_property_null(phalcon_queue_beanstalk_ce, SL("_parameters"), ZEND_ACC_PROTECTED);
return SUCCESS;
}
/**
* Phalcon\Queue\Beanstalk
*
* @param array $options
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, __construct){
zval *options = NULL, parameters = {};
phalcon_fetch_params(1, 0, 1, &options);
if (!options) {
options = &PHALCON_GLOBAL(z_null);
}
if (Z_TYPE_P(options) != IS_ARRAY) {
array_init_size(¶meters, 2);
} else {
ZVAL_DUP(¶meters, options);
}
PHALCON_MM_ADD_ENTRY(¶meters);
if (!phalcon_array_isset_str(¶meters, SL("host"))) {
phalcon_array_update_str_str(¶meters, SL("host"), SL("127.0.0.1"), 0);
}
if (!phalcon_array_isset_str(¶meters, SL("port"))) {
phalcon_array_update_str_long(¶meters, SL("port"), 11300, 0);
}
phalcon_update_property(getThis(), SL("_parameters"), ¶meters);
RETURN_MM();
}
PHP_METHOD(Phalcon_Queue_Beanstalk, connect){
zval connection = {}, parameters = {}, host = {}, port = {}, new_connection = {};
PHALCON_MM_INIT();
phalcon_read_property(&connection, getThis(), SL("_connection"), PH_NOISY|PH_READONLY);
if (Z_TYPE(connection) == IS_RESOURCE) {
PHALCON_MM_CALL_METHOD(NULL, getThis(), "disconnect");
}
phalcon_read_property(¶meters, getThis(), SL("_parameters"), PH_NOISY|PH_READONLY);
if (!phalcon_array_isset_fetch_str(&host, ¶meters, SL("host"), PH_READONLY)
|| !phalcon_array_isset_fetch_str(&port, ¶meters, SL("port"), PH_READONLY)) {
PHALCON_MM_THROW_EXCEPTION_STR(phalcon_exception_ce, "Unexpected inconsistency in options");
return;
}
convert_to_string(&host);
convert_to_long(&port);
ZVAL_NULL(&new_connection);
{
ulong timeout = (ulong)(FG(default_socket_timeout) * 1000000.0);
char *hostname;
long int hostname_len = spprintf(&hostname, 0, "%s:%ld", Z_STRVAL(host), Z_LVAL(port));
struct timeval tv;
php_stream *stream;
int err;
zend_string *errstr = NULL;
tv.tv_sec = timeout / 1000000;
tv.tv_usec = timeout % 1000000;
stream = php_stream_xport_create(hostname, hostname_len, REPORT_ERRORS, STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, NULL, &tv, NULL, &errstr, &err);
efree(hostname);
if (!stream) {
zend_throw_exception_ex(phalcon_exception_ce, err, "Unable to connect to Beanstalk server at %s:%ld (%s)", Z_STRVAL(host), Z_LVAL(port), (errstr == NULL ? "Unknown error" : errstr->val));
}
if (errstr) {
zend_string_release(errstr);
}
if (!stream) {
RETURN_MM_NULL();
}
tv.tv_sec = -1;
tv.tv_usec = 0;
php_stream_set_option(stream, PHP_STREAM_OPTION_READ_TIMEOUT, 0, &tv);
php_stream_to_zval(stream, &new_connection);
phalcon_update_property(getThis(), SL("_connection"), &new_connection);
}
RETURN_MM_NCTOR(&new_connection);
}
/**
* Inserts jobs into the queue
*
* @param string $data
* @param array $options
* @return string|boolean
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, put){
zval *data, *options = NULL, priority = {}, delay = {}, ttr = {}, serialized = {}, serialized_length = {}, command = {}, response = {}, status = {}, job_id = {};
phalcon_fetch_params(1, 1, 1, &data, &options);
if (!options) {
options = &PHALCON_GLOBAL(z_null);
}
/**
* Priority is 100 by default
*/
if (!phalcon_array_isset_fetch_str(&priority, options, SL("priority"), PH_READONLY)) {
PHALCON_MM_ZVAL_STRING(&priority, "100");
}
if (!phalcon_array_isset_fetch_str(&delay, options, SL("delay"), PH_READONLY)) {
PHALCON_MM_ZVAL_STRING(&delay, "0");
}
if (!phalcon_array_isset_fetch_str(&ttr, options, SL("ttr"), PH_READONLY)) {
PHALCON_MM_ZVAL_STRING(&ttr, "86400");
}
/**
* Data is automatically serialized before be sent to the server
*/
phalcon_serialize(&serialized, data);
PHALCON_MM_ADD_ENTRY(&serialized);
if (Z_TYPE(serialized) == IS_STRING) {
ZVAL_LONG(&serialized_length, Z_STRLEN(serialized));
} else {
RETURN_MM_FALSE;
}
/**
* Create the command
*/
PHALCON_CONCAT_SVSV(&command, "put ", &priority, " ", &delay);
PHALCON_MM_ADD_ENTRY(&command);
PHALCON_SCONCAT_SVSV(&command, " ", &ttr, " ", &serialized_length);
PHALCON_MM_ADD_ENTRY(&command);
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &serialized);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "INSERTED")) {
phalcon_array_fetch_long(&job_id, &response, 1, PH_NOISY|PH_READONLY);
RETURN_MM_CTOR(&job_id);
} else if (PHALCON_IS_STRING(&status, "BURIED")) {
phalcon_array_fetch_long(&job_id, &response, 1, PH_NOISY|PH_READONLY);
RETURN_MM_CTOR(&job_id);
}
RETURN_MM_FALSE;;
}
/**
* Reserves a job in the queue
*
* @return boolean|\Phalcon\Queue\Beanstalk\Job
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, reserve){
zval *timeout = NULL, command = {}, response = {}, status = {}, job_id = {}, length = {}, serialized_body = {}, body = {};
phalcon_fetch_params(1, 0, 1, &timeout);
if (!timeout) {
timeout = &PHALCON_GLOBAL(z_null);
}
if (zend_is_true(timeout)) {
PHALCON_CONCAT_SV(&command, "reserve-with-timeout ", timeout);
} else {
ZVAL_STRING(&command, "reserve");
}
PHALCON_MM_ADD_ENTRY(&command);
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "RESERVED")) {
/**
* The job is in the first position
*/
phalcon_array_fetch_long(&job_id, &response, 1, PH_NOISY|PH_READONLY);
/**
* Next is the job length
*/
phalcon_array_fetch_long(&length, &response, 2, PH_NOISY|PH_READONLY);
/**
* The body is serialized
*/
PHALCON_MM_CALL_METHOD(&serialized_body, getThis(), "read", &length);
PHALCON_MM_ADD_ENTRY(&serialized_body);
phalcon_unserialize(&body, &serialized_body);
PHALCON_MM_ADD_ENTRY(&body);
/**
* Create a beanstalk job abstraction
*/
object_init_ex(return_value, phalcon_queue_beanstalk_job_ce);
PHALCON_MM_CALL_METHOD(NULL, return_value, "__construct", getThis(), &job_id, &body);
RETURN_MM();
}
RETURN_MM_FALSE;
}
/**
* Change the active tube. By default the tube is 'default'
*
* @param string $tube
* @return string|boolean
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, choose){
zval *tube, command = {}, response = {}, status = {}, using_tube = {};
phalcon_fetch_params(1, 1, 0, &tube);
PHALCON_CONCAT_SV(&command, "use ", tube);
PHALCON_MM_ADD_ENTRY(&command);
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "USING")) {
phalcon_array_fetch_long(&using_tube, &response, 1, PH_NOISY|PH_READONLY);
RETURN_MM_CTOR(&using_tube);
}
RETURN_MM_FALSE;
}
/**
* Change the active tube. By default the tube is 'default'
*
* @param string $tube
* @return string|boolean
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, watch){
zval *tube, command = {}, response = {}, status = {}, watching_tube = {};
phalcon_fetch_params(1, 1, 0, &tube);
PHALCON_CONCAT_SV(&command, "watch ", tube);
PHALCON_MM_ADD_ENTRY(&command);
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "WATCHING")) {
phalcon_array_fetch_long(&watching_tube, &response, 1, PH_NOISY|PH_READONLY);
RETURN_MM_CTOR(&watching_tube);
}
RETURN_MM_FALSE;
}
/**
* Get stats of the Beanstalk server.
*
* @return boolean|array
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, stats){
zval command = {}, response = {}, status = {}, stats = {};
PHALCON_MM_INIT();
PHALCON_MM_ZVAL_STRING(&command, "stats");
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readyaml");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "OK")) {
phalcon_array_fetch_long(&stats, &response, 2, PH_NOISY|PH_READONLY);
RETURN_MM_CTOR(&stats);
}
RETURN_MM_FALSE;
}
/**
* Get stats of a tube
*
* @param string $tube
* @return boolean|array
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, statsTube){
zval *tube, command = {}, response = {}, status = {}, stats_tube = {};
phalcon_fetch_params(1, 1, 0, &tube);
PHALCON_CONCAT_SV(&command, "stats-tube ", tube);
PHALCON_MM_ADD_ENTRY(&command);
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readyaml");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "OK")) {
phalcon_array_fetch_long(&stats_tube, &response, 2, PH_NOISY|PH_READONLY);
RETURN_MM_CTOR(&stats_tube);
}
RETURN_MM_FALSE;
}
static inline void phalcon_queue_beanstalk_peek_common(zval *return_value, zval *this_ptr, zval *response)
{
zval job_id = {}, length = {}, serialized = {}, body = {};
if (!phalcon_array_isset_fetch_long(&job_id, response, 1, PH_READONLY)) {
ZVAL_NULL(&job_id);
}
if (!phalcon_array_isset_fetch_long(&length, response, 2, PH_READONLY)) {
ZVAL_NULL(&length);
}
PHALCON_CALL_METHOD(&serialized, this_ptr, "read", &length);
phalcon_unserialize(&body, &serialized);
zval_ptr_dtor(&serialized);
object_init_ex(return_value, phalcon_queue_beanstalk_job_ce);
PHALCON_CALL_METHOD(NULL, return_value, "__construct", this_ptr, &job_id, &body);
zval_ptr_dtor(&body);
}
/**
* Inspect the next ready job.
*
* @return boolean|\Phalcon\Queue\Beanstalk\Job
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, peekReady){
zval command = {}, response = {}, status = {};
PHALCON_MM_INIT();
PHALCON_MM_ZVAL_STRING(&command, "peek-ready");
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "FOUND")) {
phalcon_queue_beanstalk_peek_common(return_value, getThis(), &response);
RETURN_MM();
}
RETURN_MM_FALSE;
}
/**
* Return the delayed job with the shortest delay left
*
* @return boolean|Phalcon\Queue\Beanstalk\Job
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, peekDelayed){
zval command = {}, response = {}, status = {};
PHALCON_MM_INIT();
PHALCON_MM_ZVAL_STRING(&command, "peek-delayed");
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "FOUND")) {
phalcon_queue_beanstalk_peek_common(return_value, getThis(), &response);
RETURN_MM();
}
RETURN_MM_FALSE;
}
/**
* Return the next job in the list of buried jobs
*
* @return boolean|Phalcon\Queue\Beanstalk\Job
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, peekBuried){
zval command = {}, response = {}, status = {};
PHALCON_MM_INIT();
PHALCON_MM_ZVAL_STRING(&command, "peek-buried");
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "FOUND")) {
phalcon_queue_beanstalk_peek_common(return_value, getThis(), &response);
RETURN_MM();
}
RETURN_MM_FALSE;
}
/**
* The peek commands let the client inspect a job in the system.
*
* @return boolean|\Phalcon\Queue\Beanstalk\Job
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, jobPeek){
zval *id, command = {}, response = {}, status = {};
phalcon_fetch_params(1, 1, 0, &id);
PHALCON_CONCAT_SV(&command, "peek ", id);
PHALCON_MM_ADD_ENTRY(&command);
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "FOUND")) {
phalcon_queue_beanstalk_peek_common(return_value, getThis(), &response);
RETURN_MM();
}
RETURN_MM_FALSE;
}
/**
* Reads the latest status from the Beanstalkd server
*
* @return array
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, readStatus){
zval response = {};
PHALCON_CALL_METHOD(&response, getThis(), "read");
phalcon_fast_explode_str(return_value, SL(" "), &response);
zval_ptr_dtor(&response);
}
/**
* Fetch a YAML payload from the Beanstalkd server
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, readYaml){
zval response = {}, status = {}, num_bytes = {}, yaml_data = {}, data = {};
PHALCON_MM_INIT();
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (phalcon_array_isset_fetch_long(&num_bytes, &response, 1, PH_READONLY)) {
PHALCON_MM_CALL_METHOD(&yaml_data, getThis(), "read", &num_bytes);
PHALCON_MM_ADD_ENTRY(&yaml_data);
PHALCON_MM_CALL_FUNCTION(&data, "yaml_parse", &yaml_data);
} else {
ZVAL_LONG(&num_bytes, 0);
array_init(&data);
}
PHALCON_MM_ADD_ENTRY(&data);
array_init_size(return_value, 3);
phalcon_array_append(return_value, &status, PH_COPY);
phalcon_array_append(return_value, &num_bytes, PH_COPY);
phalcon_array_append(return_value, &data, PH_COPY);
RETURN_MM();
}
/**
* Reads a packet from the socket. Prior to reading from the socket will
* check for availability of the connection.
*
* @param int $length Number of bytes to read.
* @return string|boolean Data or `false` on error.
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, read){
zval *length = NULL, connection = {}, meta = {}, timed_out = {};
zend_bool timeout = 0;
php_stream *stream;
long int total_length;
long int len;
char *buf;
phalcon_fetch_params(1, 0, 1, &length);
if (!length) {
length = &PHALCON_GLOBAL(z_zero);
} else {
PHALCON_ENSURE_IS_LONG(length);
}
phalcon_read_property(&connection, getThis(), SL("_connection"), PH_READONLY);
if (Z_TYPE(connection) != IS_RESOURCE) {
PHALCON_MM_CALL_METHOD(&connection, getThis(), "connect");
PHALCON_MM_ADD_ENTRY(&connection);
if (Z_TYPE(connection) != IS_RESOURCE) {
RETURN_MM_FALSE;
}
}
php_stream_from_zval_no_verify(stream, &connection);
if (!stream) {
RETURN_MM_FALSE;
}
if (zend_is_true(length)) {
if (php_stream_eof(stream)) {
RETURN_MM_FALSE;
}
total_length = Z_LVAL_P(length) + 2;
buf = ecalloc(1, total_length + 1);
len = php_stream_read(stream, buf, total_length);
ZVAL_STRINGL(return_value, buf, len);
efree(buf);
array_init_size(&meta, 4);
PHALCON_MM_ADD_ENTRY(&meta);
if (php_stream_populate_meta_data(stream, &meta)) {
if (phalcon_array_isset_fetch_str(&timed_out, &meta, SL("timed_out"), PH_READONLY)) {
timeout = zend_is_true(&timed_out);
}
}
if (timeout) {
PHALCON_MM_THROW_EXCEPTION_STR(phalcon_exception_ce, "Connection timed out");
return;
}
} else {
size_t line_len = 0;
long int len = 16384;
char *buf = ecalloc(1, len+1);
if (php_stream_get_line(stream, buf, len, &line_len) != NULL) {
if (line_len < 512) {
buf = erealloc(buf, line_len + 1);
}
ZVAL_STRINGL(return_value, buf, line_len);
efree(buf);
} else {
efree(buf);
ZVAL_FALSE(return_value);
}
}
if (Z_TYPE_P(return_value) == IS_STRING && Z_STRLEN_P(return_value) >= 2) {
char *s = Z_STRVAL_P(return_value);
long int len = Z_STRLEN_P(return_value);
if (s[len-1] == '\n' && s[len-2] == '\r') {
s[len-2] = '\0';
Z_STRLEN_P(return_value) -= 2;
}
}
RETURN_MM();
}
/**
* Writes data to the socket. Performs a connection if none is available
*
* @param string $data
* @return integer|boolean
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, write){
zval *data, connection = {}, packet = {};
php_stream *stream;
phalcon_fetch_params(0, 1, 0, &data);
phalcon_read_property(&connection, getThis(), SL("_connection"), PH_READONLY);
if (Z_TYPE(connection) != IS_RESOURCE) {
PHALCON_CALL_METHOD(&connection, getThis(), "connect");
if (Z_TYPE(connection) != IS_RESOURCE) {
RETURN_FALSE;
}
}
php_stream_from_zval_no_verify(stream, &connection);
if (!stream) {
RETURN_FALSE;
}
PHALCON_CONCAT_VS(&packet, data, "\r\n");
php_stream_write(stream, Z_STRVAL(packet), Z_STRLEN(packet));
zval_ptr_dtor(&packet);
}
/**
* Closes the connection to the beanstalk server.
*
* @return boolean
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, disconnect){
zval connection = {};
php_stream *stream;
phalcon_read_property(&connection, getThis(), SL("_connection"), PH_READONLY);
if (Z_TYPE(connection) != IS_RESOURCE) {
RETURN_FALSE;
}
php_stream_from_zval_no_verify(stream, &connection);
if (!stream) {
RETURN_FALSE;
}
if ((stream->flags & PHP_STREAM_FLAG_NO_FCLOSE) == 0) {
if (!stream->is_persistent) {
zend_list_delete(stream->res);
}
else {
php_stream_pclose(stream);
}
}
RETURN_TRUE;
}
/**
* Simply closes the connection.
*
* @return boolean
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, quit){
zval command = {};
PHALCON_MM_INIT();
PHALCON_MM_ZVAL_STRING(&command, "quit");
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(return_value, getThis(), "disconnect");
RETURN_MM();
}
/**
* Returns a list of all existing tubes.
*
* @return array
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, listTubes){
zval command = {}, response = {}, status = {};
PHALCON_MM_INIT();
PHALCON_MM_ZVAL_STRING(&command, "list-tubes");
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readyaml");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "OK")) {
phalcon_array_fetch_long(return_value, &response, 2, PH_NOISY|PH_COPY);
RETURN_MM();
}
RETURN_MM_FALSE;
}
/**
* Returns the tube currently being used by the client.
*
* @return array
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, listTubeUsed){
zval command = {}, response = {}, status = {};
PHALCON_MM_INIT();
PHALCON_MM_ZVAL_STRING(&command, "list-tube-used");
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readyaml");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "USING")) {
phalcon_array_fetch_long(return_value, &response, 2, PH_NOISY|PH_COPY);
RETURN_MM();
}
RETURN_MM_FALSE;
}
/**
* Returns a list tubes currently being watched by the client.
*
* @return array
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, listTubesWatched){
zval command = {}, response = {}, status = {};
PHALCON_MM_INIT();
PHALCON_MM_ZVAL_STRING(&command, "list-tube-watched");
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readyaml");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "OK")) {
phalcon_array_fetch_long(return_value, &response, 2, PH_NOISY|PH_COPY);
RETURN_MM();
}
RETURN_MM_FALSE;
}
/**
* It removes the named tube from the watch list for the current connection.
*
* @return boolean|int
*/
PHP_METHOD(Phalcon_Queue_Beanstalk, ignore){
zval *tube, command = {}, response = {}, status = {};
phalcon_fetch_params(1, 1, 0, &tube);
PHALCON_CONCAT_SV(&command, "ignore ", tube);
PHALCON_MM_ADD_ENTRY(&command);
PHALCON_MM_CALL_METHOD(NULL, getThis(), "write", &command);
PHALCON_MM_CALL_METHOD(&response, getThis(), "readstatus");
PHALCON_MM_ADD_ENTRY(&response);
phalcon_array_fetch_long(&status, &response, 0, PH_NOISY|PH_READONLY);
if (PHALCON_IS_STRING(&status, "WATCHING")) {
phalcon_array_fetch_long(return_value, &response, 1, PH_NOISY|PH_COPY);
RETURN_MM();
}
RETURN_MM_FALSE;
}
PHP_METHOD(Phalcon_Queue_Beanstalk, __sleep){
array_init_size(return_value, 1);
add_next_index_string(return_value, "_parameters");
}
PHP_METHOD(Phalcon_Queue_Beanstalk, __wakeup){
zval params = {}, host = {}, port = {};
int fail;
phalcon_update_property_null(getThis(), SL("_connection"));
phalcon_read_property(¶ms, getThis(), SL("_parameters"), PH_NOISY|PH_READONLY);
if (
Z_TYPE(params) != IS_ARRAY
|| !phalcon_array_isset_fetch_str(&host, ¶ms, SL("host"), PH_READONLY)
|| !phalcon_array_isset_fetch_str(&port, ¶ms, SL("port"), PH_READONLY)
) {
fail = 1;
} else if (Z_TYPE(host) != IS_STRING || Z_TYPE(port) != IS_LONG) {
fail = 1;
} else {
fail = 0;
}
if (fail) {
zend_throw_exception_ex(phalcon_exception_ce, 0, "Invalid serialization data");
}
}
|
ed739d6d4ab666b4060bfc0674463fc167c0a677
|
a7aa520d61dda45642c0bf6788158e4beda68644
|
/examples/WiFiPhotoFrame/JpegFunc.h
|
a716eb638052cb6f0668bc52a4249c5181f90907
|
[
"BSD-3-Clause",
"BSD-2-Clause"
] |
permissive
|
moononournation/Arduino_GFX
|
9fd73be56357878c5e211cd3e85d8f5b4ee133d3
|
fe6f9dd5751729ef5d60a4944dadfaacc4fe077e
|
refs/heads/master
| 2023-08-30T16:49:17.856531
| 2023-08-30T12:29:06
| 2023-08-30T12:29:06
| 197,129,020
| 567
| 115
|
NOASSERTION
| 2023-09-14T10:20:07
| 2019-07-16T05:52:13
|
C
|
UTF-8
|
C
| false
| false
| 3,090
|
h
|
JpegFunc.h
|
/*******************************************************************************
* JPEGDEC related function
*
* Dependent libraries:
* JPEGDEC: https://github.com/bitbank2/JPEGDEC.git
******************************************************************************/
#ifndef _JPEGFUNC_H_
#define _JPEGFUNC_H_
#include <JPEGDEC.h>
static JPEGDEC _jpeg;
static int _x, _y, _x_bound, _y_bound;
static void jpegCloseHttpStream(void *pHandle)
{
// printf("jpegCloseHttpStream\n");
// WiFiClient *http_stream = (WiFiClient *)pHandle;
// do nothing
}
static int32_t readStream(WiFiClient *http_stream, uint8_t *pBuf, int32_t iLen)
{
uint8_t wait = 0;
size_t a = http_stream->available();
size_t r = 0;
while ((r < iLen) && (wait < 10))
{
if (a)
{
wait = 0; // reset wait count once available
r += http_stream->readBytes(pBuf + r, iLen - r);
// printf("1st byte: %d, 2nd byte: %d, last byte: %d, iLen: %d, r: %d, wait: %d\n", pBuf[0], pBuf[1], pBuf[r - 1], iLen, r, wait);
}
else
{
delay(100);
wait++;
}
a = http_stream->available();
}
return r;
}
static int32_t jpegReadHttpStream(JPEGFILE *pFile, uint8_t *pBuf, int32_t iLen)
{
// printf("jpegReadHttpStream, iLen: %d\n", iLen);
WiFiClient *http_stream = (WiFiClient *)pFile->fHandle;
return readStream(http_stream, pBuf, iLen);
}
static int32_t jpegSeekHttpStream(JPEGFILE *pFile, int32_t iPosition)
{
// printf("jpegSeekHttpStream, pFile->iPos: %d, iPosition: %d\n", pFile->iPos, iPosition);
WiFiClient *http_stream = (WiFiClient *)pFile->fHandle;
http_stream->readBytes((uint8_t *)nullptr, iPosition - pFile->iPos);
return iPosition;
}
static int jpegOpenHttpStreamWithBuffer(WiFiClient *http_stream, uint8_t *buf, int32_t dataSize, JPEG_DRAW_CALLBACK *jpegDrawCallback)
{
int32_t r = readStream(http_stream, buf, dataSize);
if (r != dataSize)
{
return 0;
}
return _jpeg.openRAM(buf, dataSize, jpegDrawCallback);
}
static int jpegOpenHttpStream(WiFiClient *http_stream, int32_t dataSize, JPEG_DRAW_CALLBACK *jpegDrawCallback)
{
return _jpeg.open(http_stream, dataSize, jpegCloseHttpStream, jpegReadHttpStream, jpegSeekHttpStream, jpegDrawCallback);
}
static int jpegDraw(bool useBigEndian,
int x, int y, int widthLimit, int heightLimit)
{
_x = x;
_y = y;
_x_bound = _x + widthLimit - 1;
_y_bound = _y + heightLimit - 1;
// scale to fit height
int _scale;
int iMaxMCUs;
float ratio = (float)_jpeg.getHeight() / heightLimit;
if (ratio <= 1)
{
_scale = 0;
iMaxMCUs = widthLimit / 16;
}
else if (ratio <= 2)
{
_scale = JPEG_SCALE_HALF;
iMaxMCUs = widthLimit / 8;
}
else if (ratio <= 4)
{
_scale = JPEG_SCALE_QUARTER;
iMaxMCUs = widthLimit / 4;
}
else
{
_scale = JPEG_SCALE_EIGHTH;
iMaxMCUs = widthLimit / 2;
}
_jpeg.setMaxOutputSize(iMaxMCUs);
if (useBigEndian)
{
_jpeg.setPixelType(RGB565_BIG_ENDIAN);
}
int decode_result = _jpeg.decode(x, y, _scale);
_jpeg.close();
return decode_result;
}
#endif // _JPEGFUNC_H_
|
84a58d6d6b9fedc5b7466f6d3e1c5651f10f6436
|
24017cc0b56b68e19e76a5ee36f16ea5db04e69b
|
/examples/http-chat.c
|
0a9eebaba243f47f8916b843480fa9e660e7f0bd
|
[
"MIT",
"LicenseRef-scancode-public-domain"
] |
permissive
|
boazsegev/facil.io
|
45376dafd161618551091d1b300f2ca3d6cd9a31
|
7b8e5fcf5e945d07df92aca7728909c5887a80fc
|
refs/heads/master
| 2023-08-09T08:43:42.285506
| 2021-12-11T16:09:59
| 2021-12-11T16:13:13
| 49,816,276
| 1,822
| 153
|
MIT
| 2023-02-12T12:59:14
| 2016-01-17T12:28:48
|
C
|
UTF-8
|
C
| false
| false
| 12,821
|
c
|
http-chat.c
|
/**
In this a Hello World example using the bundled HTTP / WebSockets extension.
Compile using:
NAME=http make
Or test the `poll` engine's performance by compiling with `poll`:
FIO_POLL=1 NAME=http make
Run with:
./tmp/http -t 1
Benchmark with keep-alive:
ab -c 200 -t 4 -n 1000000 -k http://127.0.0.1:3000/
wrk -c200 -d4 -t1 http://localhost:3000/
Benchmark with higher load:
ab -c 4400 -t 4 -n 1000000 -k http://127.0.0.1:3000/
wrk -c4400 -d4 -t1 http://localhost:3000/
Use a javascript console to connect to the WebSocket chat service... maybe using
the following javascript code:
// run 1st client app on port 3000.
ws = new WebSocket("ws://localhost:3000/Mitchel");
ws.onmessage = function(e) { console.log(e.data); };
ws.onclose = function(e) { console.log("closed"); };
ws.onopen = function(e) { e.target.send("Yo!"); };
// run 2nd client app on port 3030, to test Redis
ws = new WebSocket("ws://localhost:3030/Johana");
ws.onmessage = function(e) { console.log(e.data); };
ws.onclose = function(e) { console.log("closed"); };
ws.onopen = function(e) { e.target.send("Brut."); };
It's possible to use SSE (Server-Sent-Events / EventSource) for listening in on
the chat:
var source = new EventSource("/Watcher");
source.addEventListener('message', (e) => { console.log(e.data); });
source.addEventListener('open', (e) => {
console.log("SSE Connection open.");
}); source.addEventListener('close', (e) => {
console.log("SSE Connection lost."); });
Remember that published messages will now be printed to the console both by
Mitchel and Johana, which means messages will be delivered twice unless using
two different browser windows.
*/
/* Include the core library */
#include <fio.h>
/* Include the TLS, CLI, FIOBJ and HTTP / WebSockets extensions */
#include <fio_cli.h>
#include <fio_tls.h>
#include <http.h>
#include <redis_engine.h>
/* *****************************************************************************
The main function
***************************************************************************** */
/* HTTP request handler */
static void on_http_request(http_s *h);
/* HTTP upgrade request handler */
static void on_http_upgrade(http_s *h, char *requested_protocol, size_t len);
/* Command Line Arguments Management */
static void initialize_cli(int argc, char const *argv[]);
/* Initializes Redis, if set by command line arguments */
static void initialize_redis(void);
int main(int argc, char const *argv[]) {
initialize_cli(argc, argv);
initialize_redis();
/* TLS support */
fio_tls_s *tls = NULL;
if (fio_cli_get_bool("-tls")) {
char local_addr[1024];
local_addr[fio_local_addr(local_addr, 1023)] = 0;
tls = fio_tls_new(local_addr, NULL, NULL, NULL);
}
/* optimize WebSocket pub/sub for multi-connection broadcasting */
websocket_optimize4broadcasts(WEBSOCKET_OPTIMIZE_PUBSUB, 1);
/* listen for inncoming connections */
if (http_listen(fio_cli_get("-p"), fio_cli_get("-b"),
.on_request = on_http_request, .on_upgrade = on_http_upgrade,
.max_body_size = (fio_cli_get_i("-maxbd") * 1024 * 1024),
.ws_max_msg_size = (fio_cli_get_i("-maxms") * 1024),
.public_folder = fio_cli_get("-public"),
.log = fio_cli_get_bool("-log"),
.timeout = fio_cli_get_i("-keep-alive"), .tls = tls,
.ws_timeout = fio_cli_get_i("-ping")) == -1) {
/* listen failed ?*/
perror(
"ERROR: facil.io couldn't initialize HTTP service (already running?)");
exit(1);
}
fio_start(.threads = fio_cli_get_i("-t"), .workers = fio_cli_get_i("-w"));
fio_cli_end();
fio_tls_destroy(tls);
return 0;
}
/* *****************************************************************************
HTTP Request / Response Handling
***************************************************************************** */
static void on_http_request(http_s *h) {
/* set a response and send it (finnish vs. destroy). */
http_send_body(h, "Hello World!", 12);
}
/* *****************************************************************************
HTTP Upgrade Handling
***************************************************************************** */
/* Server Sent Event Handlers */
static void sse_on_open(http_sse_s *sse);
static void sse_on_close(http_sse_s *sse);
/* WebSocket Handlers */
static void ws_on_open(ws_s *ws);
static void ws_on_message(ws_s *ws, fio_str_info_s msg, uint8_t is_text);
static void ws_on_shutdown(ws_s *ws);
static void ws_on_close(intptr_t uuid, void *udata);
/* HTTP upgrade callback */
static void on_http_upgrade(http_s *h, char *requested_protocol, size_t len) {
/* Upgrade to SSE or WebSockets and set the request path as a nickname. */
FIOBJ nickname;
if (fiobj_obj2cstr(h->path).len > 1) {
nickname = fiobj_str_new(fiobj_obj2cstr(h->path).data + 1,
fiobj_obj2cstr(h->path).len - 1);
} else {
nickname = fiobj_str_new("Guest", 5);
}
/* Test for upgrade protocol (websocket vs. sse) */
if (len == 3 && requested_protocol[1] == 's') {
if (fio_cli_get_bool("-v")) {
fprintf(stderr, "* (%d) new SSE connection: %s.\n", getpid(),
fiobj_obj2cstr(nickname).data);
}
http_upgrade2sse(h, .on_open = sse_on_open, .on_close = sse_on_close,
.udata = (void *)nickname);
} else if (len == 9 && requested_protocol[1] == 'e') {
if (fio_cli_get_bool("-v")) {
fprintf(stderr, "* (%d) new WebSocket connection: %s.\n", getpid(),
fiobj_obj2cstr(nickname).data);
}
http_upgrade2ws(h, .on_message = ws_on_message, .on_open = ws_on_open,
.on_shutdown = ws_on_shutdown, .on_close = ws_on_close,
.udata = (void *)nickname);
} else {
fprintf(stderr, "WARNING: unrecognized HTTP upgrade request: %s\n",
requested_protocol);
http_send_error(h, 400);
fiobj_free(nickname); // we didn't use this
}
}
/* *****************************************************************************
Globals
***************************************************************************** */
static fio_str_info_s CHAT_CANNEL = {.data = "chat", .len = 4};
/* *****************************************************************************
HTTP SSE (Server Sent Events) Callbacks
***************************************************************************** */
/**
* The (optional) on_open callback will be called once the EventSource
* connection is established.
*/
static void sse_on_open(http_sse_s *sse) {
http_sse_write(sse, .data = {.data = "Welcome to the SSE chat channel.\r\n"
"You can only listen, not write.",
.len = 65});
http_sse_subscribe(sse, .channel = CHAT_CANNEL);
http_sse_set_timout(sse, fio_cli_get_i("-ping"));
FIOBJ tmp = fiobj_str_copy((FIOBJ)sse->udata);
fiobj_str_write(tmp, " joind the chat only to listen.", 31);
fio_publish(.channel = CHAT_CANNEL, .message = fiobj_obj2cstr(tmp));
fiobj_free(tmp);
}
static void sse_on_close(http_sse_s *sse) {
/* Let everyone know we left the chat */
fiobj_str_write((FIOBJ)sse->udata, " left the chat.", 15);
fio_publish(.channel = CHAT_CANNEL,
.message = fiobj_obj2cstr((FIOBJ)sse->udata));
/* free the nickname */
fiobj_free((FIOBJ)sse->udata);
}
/* *****************************************************************************
WebSockets Callbacks
***************************************************************************** */
static void ws_on_message(ws_s *ws, fio_str_info_s msg, uint8_t is_text) {
// Add the Nickname to the message
FIOBJ str = fiobj_str_copy((FIOBJ)websocket_udata_get(ws));
fiobj_str_write(str, ": ", 2);
fiobj_str_write(str, msg.data, msg.len);
// publish
fio_publish(.channel = CHAT_CANNEL, .message = fiobj_obj2cstr(str));
// free the string
fiobj_free(str);
(void)is_text; // we don't care.
(void)ws; // this could be used to send an ACK, but we don't.
}
static void ws_on_open(ws_s *ws) {
websocket_subscribe(ws, .channel = CHAT_CANNEL);
websocket_write(
ws, (fio_str_info_s){.data = "Welcome to the chat-room.", .len = 25}, 1);
FIOBJ tmp = fiobj_str_copy((FIOBJ)websocket_udata_get(ws));
fiobj_str_write(tmp, " joind the chat.", 16);
fio_publish(.channel = CHAT_CANNEL, .message = fiobj_obj2cstr(tmp));
fiobj_free(tmp);
}
static void ws_on_shutdown(ws_s *ws) {
websocket_write(
ws, (fio_str_info_s){.data = "Server shutting down, goodbye.", .len = 30},
1);
}
static void ws_on_close(intptr_t uuid, void *udata) {
/* Let everyone know we left the chat */
fiobj_str_write((FIOBJ)udata, " left the chat.", 15);
fio_publish(.channel = CHAT_CANNEL, .message = fiobj_obj2cstr((FIOBJ)udata));
/* free the nickname */
fiobj_free((FIOBJ)udata);
(void)uuid; // we don't use the ID
}
/* *****************************************************************************
Redis initialization
***************************************************************************** */
static void initialize_redis(void) {
if (!fio_cli_get("-redis") || !strlen(fio_cli_get("-redis")))
return;
FIO_LOG_STATE("* Initializing Redis connection to %s\n",
fio_cli_get("-redis"));
fio_url_s info =
fio_url_parse(fio_cli_get("-redis"), strlen(fio_cli_get("-redis")));
fio_pubsub_engine_s *e =
redis_engine_create(.address = info.host, .port = info.port,
.auth = info.password);
if (e)
fio_state_callback_add(FIO_CALL_ON_FINISH,
(void (*)(void *))redis_engine_destroy, e);
FIO_PUBSUB_DEFAULT = e;
}
/* *****************************************************************************
CLI helpers
***************************************************************************** */
static void initialize_cli(int argc, char const *argv[]) {
/* **** Command line arguments **** */
fio_cli_start(
argc, argv, 0, 0, NULL,
// Address Binding
FIO_CLI_PRINT_HEADER("Address Binding:"),
FIO_CLI_INT("-port -p port number to listen to. defaults port 3000"),
"-bind -b address to listen to. defaults any available.",
FIO_CLI_BOOL("-tls use a self signed certificate for TLS."),
// Concurrency
FIO_CLI_PRINT_HEADER("Concurrency:"),
FIO_CLI_INT("-workers -w number of processes to use."),
FIO_CLI_INT("-threads -t number of threads per process."),
// HTTP Settings
FIO_CLI_PRINT_HEADER("HTTP Settings:"),
"-public -www public folder, for static file service.",
FIO_CLI_INT(
"-keep-alive -k HTTP keep-alive timeout (0..255). default: 10s"),
FIO_CLI_INT(
"-max-body -maxbd HTTP upload limit in Mega Bytes. default: 50Mb"),
FIO_CLI_BOOL("-log -v request verbosity (logging)."),
// WebSocket Settings
FIO_CLI_PRINT_HEADER("WebSocket Settings:"),
FIO_CLI_INT("-ping websocket ping interval (0..255). default: 40s"),
FIO_CLI_INT("-max-msg -maxms incoming websocket message "
"size limit in Kb. default: 250Kb"),
// Misc Settings
FIO_CLI_PRINT_HEADER("Misc:"),
FIO_CLI_STRING("-redis -r an optional Redis URL server address."),
FIO_CLI_PRINT("\t\ta valid Redis URL would follow the pattern:"),
FIO_CLI_PRINT("\t\t\tredis://user:password@localhost:6379/"),
FIO_CLI_INT("-verbosity -V facil.io verbocity 0..5 (logging level)."));
/* Test and set any default options */
if (!fio_cli_get("-p")) {
/* Test environment as well */
char *tmp = getenv("PORT");
if (!tmp)
tmp = "3000";
/* CLI et functions (unlike fio_cli_start) ignores aliases */
fio_cli_set("-p", tmp);
fio_cli_set("-port", tmp);
}
if (!fio_cli_get("-b")) {
char *tmp = getenv("ADDRESS");
if (tmp) {
fio_cli_set("-b", tmp);
fio_cli_set("-bind", tmp);
}
}
if (!fio_cli_get("-public")) {
char *tmp = getenv("HTTP_PUBLIC_FOLDER");
if (tmp) {
fio_cli_set("-public", tmp);
fio_cli_set("-www", tmp);
}
}
if (!fio_cli_get("-redis")) {
char *tmp = getenv("REDIS_URL");
if (tmp) {
fio_cli_set("-redis", tmp);
fio_cli_set("-r", tmp);
}
}
if (fio_cli_get("-V")) {
FIO_LOG_LEVEL = fio_cli_get_i("-V");
}
fio_cli_set_default("-ping", "40");
/* CLI set functions (unlike fio_cli_start) ignores aliases */
fio_cli_set_default("-k", "10");
fio_cli_set_default("-keep-alive", "10");
fio_cli_set_default("-max-body", "50");
fio_cli_set_default("-maxbd", "50");
fio_cli_set_default("-max-message", "250");
fio_cli_set_default("-maxms", "250");
}
|
7f7e8f863f314c89a5d4da9caa7e671eaafabeca
|
85f102d784e784c136cee43c07c6aa31a074b933
|
/modules/dasAudio/mit-hrtf-lib/source/diffuse/mit_hrtf_diffuse_88200.h
|
4b3d300dd0f848c6d667ba0a331797abf143a894
|
[
"BSD-3-Clause",
"MIT"
] |
permissive
|
GaijinEntertainment/daScript
|
a2a030194d14cb51734b6f22e50a3fcb6773cbef
|
9cd426488ce99c232498b05b3a758f6d309d2dcf
|
refs/heads/master
| 2023-09-05T00:36:32.740952
| 2023-09-04T22:01:31
| 2023-09-04T22:01:31
| 146,238,112
| 622
| 91
|
BSD-3-Clause
| 2023-09-14T08:35:30
| 2018-08-27T02:41:40
|
C
|
UTF-8
|
C
| false
| false
| 860,567
|
h
|
mit_hrtf_diffuse_88200.h
|
/*############################################################################*/
/*# #*/
/*# MIT HRTF C Library #*/
/*# Filter table for diffused set at 88200Hz #*/
/*# Copyright � 2007 Aristotel Digenis #*/
/*# #*/
/*# Filename: mit_hrtf_diffuse_88200.h #*/
/*# Version: 0.1 #*/
/*# Date: 04/05/2007 #*/
/*# Author(s): Aristotel Digenis #*/
/*# Credit: Bill Gardner and Keith Martin #*/
/*# Licence: MIT #*/
/*# #*/
/*############################################################################*/
#include "../mit_hrtf_filter.h"
const mit_hrtf_filter_set_88 diffuse_88 =
{
{ // elev-10
{ // H-10e000a.wav
{-2,6,9,-11,-19,15,35,-14,-57,-1,68,5,-96,-31,118,58,-154,-121,163,176,-178,-239,189,265,-73,1213,5337,8676,5252,-4818,-12389,-8913,2048,7713,1702,-7591,-7483,3124,13013,12856,5228,-689,-7,5196,10856,14088,12403,4643,-5587,-10728,-6522,2528,7268,3358,-4865,-9764,-7926,-2110,2507,2841,-388,-3958,-5003,-3311,-1045,-123,-274,-73,677,665,-753,-2204,-1848,244,2065,1956,300,-1148,-1163,-46,919,751,-386,-1429,-1504,-800,-262,-472,-1080,-1420,-1366,-1315,-1507,-1739,-1761,-1619,-1497,-1436,-1370,-1326,-1396,-1551,-1599,-1366,-883,-400,-191,-304,-500,-490,-244,4,62,-20,-89,-105,-126,-168,-195,-201,-196,-145,-31,47,-29,-207,-303,-245,-166,-205,-325,-404,-413,-417,-450,-478,-480,-467,-459,-464,-483,-489,-438,-335,-266,-294,-353,-324,-204,-100,-77,-80,-52,-33,-80,-163,-201,-176,-142,-138,-158,-186,-223,-254,-253,-227,-216,-239,-262,-247,-204,-178,-191,-220,-236,-233,-234,-246,-252,-223,-162,-110,-104,-127,-128,-92,-61,-73,-101,-97,-59,-30,-28,-20,11,28,-7,-67,-91,-73,-72,-122,-181,-195,-168,-145,-137,-119,-79,-43,-33,-40,-40,-22,2,17,14,-4,-19,-17,-6,-6,-19,-24,-14,-2,-1,-4,4,23,42,56,60,46,19,-1,-1,8,9,9,27,58,80,91,109,138,153,144,129,128,133,138,143,143,117,58},
{-2,6,9,-11,-19,15,35,-14,-57,-1,68,5,-96,-31,118,58,-154,-121,163,176,-178,-239,189,265,-73,1213,5337,8676,5252,-4818,-12389,-8913,2048,7713,1702,-7591,-7483,3124,13013,12856,5228,-689,-7,5196,10856,14088,12403,4643,-5587,-10728,-6522,2528,7268,3358,-4865,-9764,-7926,-2110,2507,2841,-388,-3958,-5003,-3311,-1045,-123,-274,-73,677,665,-753,-2204,-1848,244,2065,1956,300,-1148,-1163,-46,919,751,-386,-1429,-1504,-800,-262,-472,-1080,-1420,-1366,-1315,-1507,-1739,-1761,-1619,-1497,-1436,-1370,-1326,-1396,-1551,-1599,-1366,-883,-400,-191,-304,-500,-490,-244,4,62,-20,-89,-105,-126,-168,-195,-201,-196,-145,-31,47,-29,-207,-303,-245,-166,-205,-325,-404,-413,-417,-450,-478,-480,-467,-459,-464,-483,-489,-438,-335,-266,-294,-353,-324,-204,-100,-77,-80,-52,-33,-80,-163,-201,-176,-142,-138,-158,-186,-223,-254,-253,-227,-216,-239,-262,-247,-204,-178,-191,-220,-236,-233,-234,-246,-252,-223,-162,-110,-104,-127,-128,-92,-61,-73,-101,-97,-59,-30,-28,-20,11,28,-7,-67,-91,-73,-72,-122,-181,-195,-168,-145,-137,-119,-79,-43,-33,-40,-40,-22,2,17,14,-4,-19,-17,-6,-6,-19,-24,-14,-2,-1,-4,4,23,42,56,60,46,19,-1,-1,8,9,9,27,58,80,91,109,138,153,144,129,128,133,138,143,143,117,58}
},
{ // H-10e005a.wav
{1,2,2,9,6,-13,-12,19,27,-18,-42,13,55,-11,-80,-3,105,23,-140,-68,159,111,-179,-153,204,176,-3,1516,5268,7571,3651,-5206,-10640,-6415,2876,6302,105,-7249,-5667,4024,11678,10496,3933,-289,986,5420,9826,12201,10568,3961,-4489,-8486,-4814,2469,5901,2346,-4371,-8132,-6434,-1663,1985,2081,-673,-3532,-4199,-2721,-998,-437,-553,-182,569,471,-835,-1988,-1508,309,1695,1433,71,-895,-646,305,819,307,-756,-1395,-1165,-568,-393,-800,-1268,-1348,-1168,-1096,-1214,-1332,-1360,-1379,-1404,-1330,-1130,-955,-959,-1119,-1283,-1306,-1128,-807,-510,-389,-420,-436,-353,-263,-265,-299,-247,-113,-16,-27,-109,-186,-211,-166,-88,-68,-155,-269,-289,-223,-198,-288,-421,-490,-484,-464,-468,-484,-490,-470,-425,-390,-398,-420,-383,-282,-216,-250,-311,-288,-185,-107,-99,-110,-100,-102,-138,-168,-155,-129,-133,-160,-182,-206,-245,-266,-231,-172,-164,-218,-270,-266,-225,-199,-194,-187,-174,-180,-213,-253,-268,-248,-211,-187,-182,-175,-144,-101,-83,-98,-110,-88,-50,-30,-27,-15,11,17,-16,-61,-81,-80,-91,-126,-156,-154,-128,-102,-85,-67,-41,-16,-9,-20,-35,-36,-20,0,4,-10,-28,-32,-25,-25,-37,-47,-47,-45,-51,-51,-27,11,36,36,29,31,35,29,21,23,31,35,40,58,84,100,103,111,126,127,106,91,110,138,126,64},
{15,2,-23,-1,41,14,-56,-33,66,51,-86,-91,95,137,-105,-214,79,284,-49,-355,22,404,-12,359,4008,9034,8511,-1076,-12346,-13299,-2346,7895,5513,-5396,-9749,-684,12246,15720,8335,-113,-1487,3654,10399,15025,14884,7925,-3716,-12134,-10216,-115,7902,6116,-2946,-10277,-9991,-3878,2095,3634,752,-3406,-5472,-4400,-1901,-310,-93,48,778,969,-458,-2414,-2579,-346,2195,2580,655,-1489,-1862,-411,1259,1561,305,-1279,-1811,-1111,-247,-229,-914,-1423,-1376,-1249,-1530,-2031,-2252,-2079,-1818,-1702,-1682,-1648,-1608,-1590,-1534,-1349,-1019,-618,-296,-192,-286,-366,-244,28,230,241,135,17,-84,-166,-205,-212,-229,-233,-165,-57,-38,-144,-234,-186,-86,-94,-216,-322,-346,-346,-370,-396,-402,-414,-450,-495,-534,-558,-524,-408,-286,-273,-354,-382,-278,-139,-91,-113,-107,-67,-69,-128,-176,-171,-146,-133,-128,-136,-181,-245,-264,-218,-182,-218,-283,-290,-237,-199,-217,-248,-238,-203,-195,-225,-247,-220,-161,-124,-130,-138,-102,-37,-2,-22,-57,-58,-35,-31,-45,-31,15,36,-12,-85,-108,-78,-63,-107,-171,-198,-189,-184,-191,-177,-131,-84,-63,-56,-37,-8,14,25,31,23,-7,-38,-40,-14,6,2,-4,6,21,21,17,33,66,91,93,77,54,29,6,-10,-18,-17,-3,23,50,69,92,134,176,183,157,144,165,187,171,137,127,138,122,63}
},
{ // H-10e010a.wav
{-4,-3,0,-1,2,9,3,-12,-5,20,15,-23,-27,24,39,-27,-60,23,83,-17,-119,-11,143,36,-168,-52,201,67,133,1970,5285,6358,1850,-5664,-8814,-3974,3334,4501,-1402,-6287,-3253,4966,9967,7950,2923,511,2043,5450,8799,10667,9046,3116,-3972,-6773,-3247,2558,4664,1277,-4048,-6638,-4980,-1186,1505,1330,-993,-3184,-3504,-2227,-959,-618,-612,-126,480,217,-917,-1670,-1055,421,1354,1003,-57,-700,-387,413,767,198,-844,-1454,-1237,-686,-529,-880,-1238,-1221,-986,-893,-1015,-1156,-1189,-1161,-1123,-1043,-904,-771,-735,-825,-995,-1136,-1136,-970,-746,-595,-535,-484,-401,-331,-303,-277,-210,-134,-110,-157,-241,-312,-323,-266,-196,-192,-255,-305,-289,-260,-291,-372,-438,-469,-490,-506,-494,-460,-435,-420,-392,-363,-365,-377,-332,-227,-154,-174,-228,-222,-161,-122,-129,-136,-116,-104,-127,-161,-172,-163,-153,-150,-163,-202,-251,-271,-245,-211,-216,-249,-263,-241,-218,-220,-231,-223,-200,-191,-208,-234,-244,-235,-223,-221,-220,-197,-146,-94,-72,-78,-82,-66,-47,-41,-37,-16,8,1,-40,-78,-88,-90,-111,-136,-133,-102,-76,-71,-65,-39,-12,-8,-21,-29,-26,-25,-28,-29,-29,-38,-53,-60,-58,-59,-68,-76,-74,-66,-58,-47,-29,-7,16,36,48,49,46,49,48,33,16,28,68,95,87,76,96,122,111,75,68,100,112,65},
{-24,-18,34,37,-44,-70,34,90,-42,-139,22,185,-1,-259,-70,308,146,-354,-217,399,231,-124,2405,8183,10898,3705,-9851,-16396,-8217,5437,8456,-1720,-10459,-4773,10161,18177,12228,1079,-3244,1689,10031,16030,16832,10731,-1226,-12116,-13159,-3455,7225,8218,-744,-10149,-11545,-5352,1695,4071,1413,-2973,-5552,-4978,-2569,-699,-305,-224,665,1428,336,-2172,-3332,-1442,1712,2832,993,-1496,-1997,-333,1534,1844,560,-1028,-1662,-1136,-307,-163,-809,-1482,-1565,-1325,-1439,-2040,-2602,-2685,-2415,-2153,-1985,-1765,-1464,-1265,-1298,-1433,-1381,-1005,-485,-140,-89,-133,-45,139,213,135,68,109,148,70,-66,-158,-213,-271,-279,-194,-116,-162,-264,-249,-112,-31,-109,-239,-287,-269,-282,-346,-403,-420,-413,-422,-473,-550,-570,-458,-276,-193,-277,-392,-372,-240,-143,-129,-117,-65,-47,-115,-201,-213,-160,-120,-128,-150,-165,-180,-195,-194,-185,-201,-253,-304,-315,-285,-248,-223,-201,-172,-154,-172,-220,-247,-213,-141,-101,-119,-138,-95,-12,35,17,-10,5,35,29,-3,-7,17,4,-71,-142,-140,-92,-84,-141,-200,-206,-184,-183,-200,-190,-142,-93,-68,-57,-37,-6,21,34,27,4,-21,-25,-7,10,13,10,17,30,35,31,38,64,96,113,106,84,59,38,19,4,0,8,20,29,42,74,121,159,173,172,179,199,221,228,207,166,130,122,129,114,60}
},
{ // H-10e015a.wav
{5,1,-5,-4,-1,0,2,5,-2,-11,-2,15,6,-22,-17,22,23,-29,-41,27,55,-32,-88,13,106,-4,-129,1,149,6,281,2163,4916,5225,856,-5292,-7162,-2679,2974,3240,-1645,-4932,-1878,4610,8109,6372,2752,1171,2332,4917,7765,9516,8076,2804,-3254,-5425,-2339,2360,3850,950,-3353,-5391,-4045,-1022,1074,823,-1126,-2842,-2970,-1903,-994,-813,-704,-92,482,131,-956,-1548,-863,484,1234,865,-31,-541,-329,195,386,-25,-720,-1144,-1066,-772,-681,-864,-1048,-1026,-890,-835,-898,-964,-954,-904,-874,-860,-819,-745,-698,-749,-886,-994,-971,-851,-762,-750,-710,-544,-321,-203,-249,-366,-441,-448,-419,-382,-357,-356,-363,-345,-307,-292,-317,-335,-302,-254,-264,-347,-442,-490,-486,-463,-452,-455,-447,-407,-352,-332,-357,-360,-283,-170,-116,-141,-170,-148,-113,-115,-135,-127,-102,-111,-160,-202,-207,-194,-188,-187,-189,-211,-251,-275,-261,-236,-239,-266,-277,-259,-237,-236,-246,-248,-237,-227,-228,-235,-236,-220,-194,-173,-167,-168,-158,-135,-113,-98,-80,-53,-29,-22,-26,-27,-28,-42,-67,-86,-88,-87,-99,-117,-122,-108,-87,-70,-58,-45,-30,-20,-20,-30,-45,-53,-49,-40,-42,-57,-74,-83,-87,-91,-89,-78,-67,-66,-64,-50,-24,0,12,22,39,55,55,42,32,33,40,50,66,85,98,100,97,97,95,79,49,19},
{12,51,-5,-81,-19,97,34,-133,-75,161,126,-201,-228,197,322,-188,-417,188,473,-160,858,6065,11618,8842,-4278,-16563,-14721,-619,9112,3504,-8367,-8960,4988,18538,17635,5363,-3995,-2026,7571,16534,19499,14404,2132,-11156,-15794,-7718,5228,10101,2527,-9051,-13325,-7761,831,4873,2699,-2199,-5643,-5791,-3505,-1048,-20,-55,217,934,667,-1256,-3127,-2662,-31,2111,1755,-250,-1492,-779,926,1888,1290,-279,-1522,-1560,-696,-64,-389,-1226,-1670,-1572,-1613,-2242,-3036,-3311,-2945,-2345,-1843,-1474,-1230,-1207,-1427,-1686,-1672,-1228,-520,50,189,3,-134,-31,131,140,74,130,261,250,52,-146,-222,-239,-245,-192,-102,-119,-269,-358,-246,-79,-85,-242,-338,-295,-245,-290,-368,-390,-378,-398,-459,-507,-492,-395,-255,-182,-251,-381,-403,-271,-119,-76,-102,-96,-66,-95,-186,-248,-228,-174,-147,-150,-162,-181,-202,-200,-178,-183,-244,-308,-308,-253,-210,-214,-229,-210,-173,-164,-194,-219,-194,-139,-110,-130,-155,-124,-38,35,42,14,17,58,78,49,16,17,14,-51,-150,-190,-143,-95,-124,-194,-215,-178,-154,-174,-191,-161,-110,-86,-85,-70,-34,-8,-11,-31,-48,-53,-37,-2,31,41,33,27,34,46,55,64,73,80,88,98,94,66,33,25,34,30,12,14,46,76,83,95,134,172,173,158,178,233,275,268,235,203,173,140,120,114,96,49}
},
{ // H-10e020a.wav
{-5,0,3,-1,-5,-4,-1,-1,1,3,-3,-9,0,12,2,-20,-13,19,16,-26,-31,23,38,-31,-65,19,79,-13,-94,15,100,-1,387,2137,4385,4327,410,-4639,-5886,-2008,2531,2575,-1386,-3887,-1342,3828,6658,5472,2770,1454,2195,4289,6904,8616,7385,2746,-2492,-4329,-1731,2172,3384,957,-2650,-4409,-3381,-969,673,423,-1124,-2430,-2536,-1808,-1177,-916,-569,53,381,-110,-1002,-1278,-510,636,1145,684,-190,-676,-465,68,300,-34,-612,-920,-821,-625,-637,-808,-905,-859,-798,-797,-795,-748,-725,-784,-870,-888,-826,-744,-697,-705,-754,-785,-736,-630,-580,-640,-711,-664,-528,-454,-507,-594,-606,-552,-511,-507,-499,-458,-402,-353,-318,-301,-303,-308,-298,-285,-300,-353,-422,-474,-490,-471,-434,-403,-386,-367,-338,-317,-311,-285,-210,-125,-99,-135,-160,-126,-79,-79,-115,-130,-119,-128,-176,-225,-240,-234,-235,-247,-258,-264,-266,-254,-227,-210,-227,-268,-298,-300,-286,-270,-254,-235,-219,-214,-222,-231,-225,-199,-164,-143,-145,-153,-146,-124,-108,-102,-89,-56,-22,-11,-19,-25,-26,-43,-84,-122,-130,-116,-106,-110,-111,-104,-96,-93,-86,-68,-45,-30,-27,-28,-27,-24,-25,-37,-60,-85,-99,-99,-91,-83,-75,-65,-58,-59,-62,-52,-27,1,20,31,39,40,31,24,30,48,68,85,102,112,108,95,87,82,64,30},
{38,-65,-74,60,95,-76,-152,65,207,-55,-302,-15,365,80,-437,-145,502,138,-96,3318,10034,12368,3296,-12012,-18631,-9338,4862,7389,-2814,-9853,-1725,14122,20586,12003,-646,-4184,3304,14200,20571,18432,7516,-7463,-16788,-12920,420,10018,6603,-5360,-13380,-10734,-1979,4138,3796,-466,-4382,-5718,-4610,-2423,-612,310,858,1277,684,-1547,-3937,-3881,-888,2325,2768,534,-1606,-1504,353,1948,1918,476,-1146,-1779,-1212,-319,-153,-822,-1542,-1793,-1971,-2628,-3507,-3789,-3135,-2050,-1256,-1047,-1292,-1713,-2012,-1957,-1517,-883,-304,46,91,-104,-300,-261,-4,229,289,255,228,170,27,-125,-186,-182,-185,-174,-114,-80,-161,-288,-307,-217,-169,-243,-348,-380,-359,-359,-385,-395,-380,-358,-349,-371,-422,-440,-354,-206,-140,-215,-314,-292,-167,-71,-56,-65,-61,-87,-168,-246,-258,-219,-185,-180,-191,-205,-208,-190,-161,-166,-227,-299,-313,-265,-214,-198,-193,-171,-149,-168,-223,-262,-241,-170,-102,-79,-92,-96,-58,5,43,36,15,15,35,48,44,35,17,-35,-113,-167,-164,-138,-147,-193,-218,-192,-149,-132,-137,-133,-114,-97,-87,-73,-55,-49,-55,-66,-77,-92,-97,-70,-15,29,38,28,31,51,72,84,96,111,117,105,79,50,30,25,32,39,41,45,52,56,59,79,123,166,175,160,169,223,286,307,283,253,233,204,156,118,118,136,121,62}
},
{ // H-10e025a.wav
{0,-2,-2,0,1,-1,-3,-3,-2,-1,2,2,-5,-8,2,11,-1,-18,-7,19,13,-23,-25,18,28,-26,-48,17,58,-15,-70,15,68,8,424,1968,3816,3644,288,-3902,-4878,-1626,2151,2223,-1040,-3196,-1234,3030,5587,4889,2734,1469,1893,3688,6158,7864,6890,2855,-1737,-3408,-1264,2036,3099,1083,-1998,-3627,-2961,-1060,349,266,-972,-2166,-2414,-1838,-1162,-763,-425,18,236,-124,-778,-987,-414,453,832,458,-222,-570,-368,52,199,-89,-527,-724,-597,-404,-408,-600,-781,-826,-780,-744,-750,-771,-792,-828,-875,-885,-805,-653,-529,-517,-577,-589,-523,-502,-637,-840,-914,-802,-657,-623,-672,-692,-654,-614,-593,-562,-518,-493,-474,-406,-291,-223,-262,-350,-388,-372,-372,-415,-447,-424,-373,-350,-363,-376,-359,-317,-280,-271,-275,-254,-193,-130,-114,-139,-154,-133,-101,-89,-92,-97,-119,-172,-236,-275,-281,-277,-274,-266,-256,-260,-276,-278,-253,-232,-245,-282,-303,-293,-270,-256,-249,-236,-215,-194,-185,-190,-199,-195,-174,-154,-148,-145,-127,-99,-83,-85,-83,-64,-42,-36,-39,-37,-40,-70,-123,-163,-164,-143,-130,-130,-125,-106,-91,-88,-89,-77,-50,-24,-14,-17,-21,-23,-31,-48,-67,-77,-80,-86,-93,-92,-78,-62,-54,-51,-45,-34,-23,-12,1,12,17,20,31,52,71,81,88,97,106,107,98,82,57,26},
{-94,12,113,6,-155,-49,188,102,-233,-199,239,290,-248,-383,277,443,-276,1015,6789,12766,9954,-3685,-16993,-16627,-3762,6218,2800,-6305,-5696,7191,18814,16921,5054,-3179,55,10739,19817,20958,12550,-2119,-14642,-15973,-5371,6720,8435,-948,-10837,-11687,-4606,2150,3172,-71,-3361,-4556,-4035,-2809,-1518,-399,629,1421,1040,-1286,-4259,-4881,-1843,2258,3493,1151,-1641,-1876,94,1767,1697,496,-628,-1139,-1088,-733,-505,-783,-1466,-2111,-2559,-3028,-3497,-3473,-2675,-1595,-1036,-1237,-1752,-2080,-2084,-1839,-1382,-759,-173,96,-61,-430,-615,-399,47,351,360,251,207,164,-2,-201,-241,-131,-55,-84,-113,-98,-129,-240,-306,-252,-199,-268,-386,-417,-384,-404,-475,-488,-420,-366,-380,-404,-383,-330,-265,-183,-118,-136,-215,-232,-136,-35,-42,-107,-112,-68,-92,-209,-302,-282,-205,-168,-180,-180,-154,-140,-154,-181,-221,-279,-324,-304,-225,-160,-159,-181,-169,-139,-156,-228,-280,-244,-144,-68,-60,-76,-48,26,78,60,4,-16,13,38,26,8,10,-4,-71,-149,-160,-113,-101,-169,-241,-234,-171,-132,-133,-125,-91,-66,-71,-75,-53,-24,-20,-40,-69,-105,-138,-139,-95,-36,-2,6,15,36,56,71,88,108,121,126,126,112,78,42,33,53,72,70,55,45,43,51,77,119,158,183,201,225,259,292,309,300,271,242,221,198,162,135,143,167,151,78}
},
{ // H-10e030a.wav
{-1,1,2,0,-1,1,3,1,-1,-1,0,1,3,4,0,-3,3,9,1,-10,-1,18,11,-19,-19,19,28,-17,-37,13,48,-6,-50,11,51,21,398,1700,3251,3146,394,-3123,-4046,-1415,1800,2000,-719,-2725,-1298,2315,4756,4434,2610,1335,1565,3187,5517,7169,6457,3068,-896,-2506,-902,1835,2864,1286,-1407,-3063,-2723,-1104,239,219,-961,-2125,-2314,-1638,-891,-525,-329,-53,84,-228,-767,-903,-356,430,764,426,-179,-495,-337,13,151,-45,-337,-423,-278,-157,-273,-568,-820,-907,-886,-855,-836,-809,-779,-765,-755,-708,-600,-469,-402,-463,-615,-734,-737,-673,-660,-737,-819,-817,-753,-710,-719,-730,-698,-641,-599,-582,-568,-536,-480,-408,-344,-315,-331,-369,-397,-401,-389,-374,-361,-347,-324,-295,-279,-292,-316,-316,-287,-265,-267,-260,-211,-145,-116,-131,-145,-132,-117,-126,-142,-148,-158,-195,-248,-281,-284,-275,-269,-268,-274,-294,-316,-316,-291,-270,-270,-274,-257,-230,-222,-231,-229,-203,-177,-174,-187,-193,-188,-182,-182,-179,-166,-144,-120,-99,-84,-75,-71,-71,-69,-66,-68,-83,-110,-136,-149,-151,-152,-154,-148,-128,-105,-91,-87,-83,-77,-71,-63,-47,-25,-10,-12,-24,-34,-42,-55,-75,-91,-92,-82,-70,-61,-52,-45,-43,-45,-45,-37,-23,-6,12,33,54,70,78,79,78,79,85,90,82,56,23},
{72,68,-89,-133,77,188,-69,-278,11,343,39,-429,-91,522,67,-268,3100,10098,13384,5556,-9675,-18621,-12988,-533,4357,-1141,-5424,1269,13598,18206,10728,433,-1443,6662,17363,22337,17529,4306,-10408,-16938,-10695,1808,8113,2704,-7363,-11232,-6377,415,2434,-221,-3327,-4387,-3876,-2750,-1300,4,460,93,-505,-1260,-2394,-3154,-2208,250,2035,1491,-375,-1255,-411,837,1162,610,-112,-667,-1008,-1026,-833,-951,-1716,-2730,-3291,-3187,-2735,-2247,-1841,-1643,-1753,-1988,-1999,-1724,-1475,-1460,-1450,-1101,-465,-3,-74,-513,-778,-513,61,405,297,49,33,174,133,-143,-336,-239,-24,53,-15,-96,-167,-258,-304,-245,-188,-275,-438,-486,-407,-386,-501,-595,-524,-373,-321,-390,-456,-420,-294,-139,-24,-10,-88,-165,-152,-79,-39,-61,-96,-115,-150,-216,-262,-246,-190,-146,-129,-129,-142,-161,-170,-166,-178,-230,-285,-286,-231,-184,-185,-199,-176,-131,-129,-189,-251,-245,-171,-96,-71,-81,-74,-28,29,53,34,8,5,20,28,23,13,-8,-56,-114,-134,-105,-83,-120,-191,-227,-211,-192,-193,-181,-131,-78,-60,-57,-29,16,33,11,-24,-61,-107,-149,-151,-110,-70,-59,-52,-22,19,41,50,69,102,129,139,136,122,102,91,94,92,73,52,48,52,48,50,81,129,157,165,192,251,298,298,277,274,280,267,239,221,207,178,151,159,186,171,89}
},
{ // H-10e035a.wav
{1,-1,-2,-1,1,-1,-3,-2,1,1,-1,-3,-4,-2,2,3,-1,-5,-1,5,1,-8,-3,10,6,-15,-16,12,20,-13,-30,6,35,-3,-38,5,37,19,324,1386,2711,2759,610,-2339,-3312,-1301,1421,1768,-461,-2339,-1361,1703,4007,3937,2392,1205,1357,2781,4854,6426,6089,3430,3,-1708,-681,1595,2650,1426,-968,-2577,-2392,-1019,87,-31,-1063,-1898,-1822,-1161,-699,-678,-664,-335,14,-71,-490,-665,-278,339,613,355,-118,-371,-243,88,309,243,-24,-257,-331,-344,-465,-703,-905,-953,-884,-802,-745,-688,-624,-588,-599,-625,-632,-636,-671,-721,-727,-664,-596,-606,-692,-765,-760,-714,-710,-758,-793,-767,-709,-666,-642,-616,-587,-565,-529,-457,-379,-355,-385,-400,-355,-295,-290,-335,-361,-333,-290,-276,-287,-293,-288,-288,-300,-306,-286,-237,-177,-136,-133,-155,-171,-171,-168,-174,-185,-194,-205,-224,-245,-259,-267,-278,-292,-300,-306,-317,-326,-311,-273,-242,-244,-262,-259,-225,-185,-166,-170,-181,-190,-196,-201,-207,-211,-204,-185,-166,-159,-156,-141,-117,-102,-104,-108,-100,-89,-94,-112,-126,-131,-139,-152,-155,-139,-117,-110,-115,-113,-96,-81,-81,-89,-85,-66,-46,-37,-36,-33,-29,-32,-43,-56,-62,-64,-66,-68,-63,-53,-49,-57,-63,-53,-29,-8,3,13,31,51,63,67,69,71,69,64,55,39,17},
{35,-144,-80,163,122,-205,-218,205,306,-215,-414,239,511,-331,305,5523,12438,12341,950,-13659,-18267,-9959,337,1901,-2495,-1764,7457,15998,14439,5224,-716,3268,13595,21619,21057,11049,-3716,-14526,-14160,-4140,5159,4701,-3504,-9414,-7144,-901,1816,-580,-3783,-4431,-3362,-2537,-2048,-1223,-450,-364,-554,-483,-711,-1764,-2534,-1489,778,1875,762,-893,-1096,-22,758,601,152,-127,-538,-1247,-1832,-2038,-2235,-2735,-3156,-2931,-2148,-1457,-1325,-1678,-2157,-2414,-2225,-1636,-1025,-814,-1020,-1233,-1093,-672,-343,-325,-458,-420,-131,154,166,-27,-115,14,124,-12,-266,-334,-151,51,80,-24,-143,-231,-281,-268,-230,-273,-422,-551,-549,-475,-454,-484,-474,-416,-393,-431,-454,-403,-303,-197,-100,-34,-35,-83,-97,-51,-19,-63,-133,-145,-118,-135,-203,-234,-182,-116,-110,-146,-160,-142,-131,-144,-162,-182,-220,-257,-246,-183,-128,-130,-165,-176,-160,-162,-199,-228,-204,-138,-85,-79,-99,-95,-45,13,29,2,-14,15,56,61,31,4,-14,-47,-92,-106,-83,-77,-133,-212,-245,-224,-201,-201,-195,-158,-105,-60,-20,25,65,76,52,1,-65,-125,-151,-137,-104,-79,-66,-53,-36,-23,-9,17,55,96,133,162,173,158,125,100,93,93,85,76,75,75,70,67,85,124,158,176,197,240,286,299,279,264,272,277,256,226,218,218,200,179,192,223,203,107}
},
{ // H-10e040a.wav
{3,1,-1,-1,0,1,0,-1,-1,1,2,1,-1,-2,-1,2,3,1,-2,-2,3,6,0,-6,-1,9,5,-12,-11,11,17,-12,-28,6,38,7,-35,-8,33,30,244,1060,2190,2431,885,-1545,-2618,-1243,986,1480,-237,-1921,-1331,1161,3231,3360,2164,1195,1315,2462,4173,5637,5712,3811,919,-908,-489,1257,2283,1473,-458,-1920,-1994,-1055,-188,-153,-823,-1476,-1579,-1250,-933,-783,-568,-158,167,70,-333,-551,-288,226,534,443,145,-44,17,219,326,177,-171,-495,-619,-580,-551,-624,-725,-743,-674,-605,-602,-652,-714,-767,-807,-818,-780,-706,-641,-623,-636,-634,-607,-601,-650,-718,-735,-701,-689,-744,-814,-819,-754,-681,-643,-622,-591,-556,-525,-486,-428,-371,-337,-321,-302,-282,-284,-310,-336,-341,-330,-318,-308,-298,-286,-277,-270,-263,-253,-233,-205,-181,-177,-194,-212,-216,-211,-210,-218,-229,-242,-255,-261,-256,-247,-248,-259,-272,-282,-292,-298,-290,-272,-262,-263,-258,-234,-203,-187,-185,-182,-174,-176,-192,-208,-211,-205,-200,-197,-187,-173,-163,-160,-158,-152,-144,-136,-126,-117,-114,-120,-126,-125,-118,-114,-113,-111,-106,-104,-106,-105,-99,-95,-99,-107,-105,-87,-62,-42,-33,-34,-37,-37,-34,-35,-45,-57,-61,-54,-46,-47,-53,-53,-41,-23,-7,5,18,31,41,47,51,55,56,49,35,18,6},
{-170,36,208,2,-279,-86,325,170,-388,-272,470,326,-562,1213,7665,13743,10696,-2755,-16065,-17620,-8292,253,710,-1556,2215,10999,15244,10070,1977,893,8967,19291,23292,17219,3667,-9875,-15012,-9057,1209,5244,-156,-7503,-8002,-2053,2400,560,-4085,-5740,-3743,-1780,-2015,-3015,-2868,-1631,-304,584,674,-380,-1857,-2030,-351,1376,1189,-374,-1133,-344,583,434,-222,-368,-252,-804,-2048,-3085,-3388,-3231,-2906,-2316,-1513,-1011,-1205,-1834,-2309,-2343,-2030,-1524,-964,-597,-664,-1067,-1355,-1175,-672,-309,-309,-420,-300,-4,115,-64,-237,-141,51,1,-262,-390,-239,-39,-1,-42,-33,-51,-200,-364,-375,-304,-346,-502,-583,-525,-468,-493,-501,-409,-318,-351,-456,-485,-392,-256,-155,-105,-97,-106,-92,-42,-1,-16,-60,-75,-70,-101,-172,-217,-196,-146,-120,-124,-137,-147,-151,-140,-117,-112,-152,-211,-227,-179,-114,-96,-127,-156,-151,-139,-167,-222,-238,-184,-114,-97,-132,-148,-99,-24,7,-12,-27,0,42,55,41,31,25,-8,-61,-83,-55,-39,-97,-196,-245,-222,-199,-219,-239,-203,-133,-88,-65,-17,56,99,80,28,-24,-79,-135,-164,-137,-78,-37,-34,-46,-46,-29,-10,3,19,59,121,170,172,140,116,115,113,92,74,79,94,97,90,89,96,109,134,176,217,240,253,266,272,263,254,259,260,239,215,220,238,231,206,209,234,211,109}
},
{ // H-10e045a.wav
{0,0,0,0,0,0,0,-1,-1,-1,0,0,0,-1,-2,-2,-1,0,0,-1,-2,-1,2,4,0,-6,-4,3,3,-6,-7,4,5,-11,-15,12,28,-4,-34,1,42,22,139,749,1719,2129,1130,-789,-1922,-1180,490,1088,-39,-1396,-1178,606,2326,2723,2062,1398,1389,2114,3418,4816,5328,4163,1788,-152,-354,843,1883,1605,232,-1111,-1569,-1192,-650,-520,-830,-1180,-1239,-1047,-836,-667,-399,-17,225,97,-254,-413,-142,372,728,686,334,-37,-181,-91,12,-90,-365,-566,-528,-361,-299,-411,-568,-651,-689,-761,-858,-908,-888,-840,-801,-764,-716,-665,-626,-600,-583,-580,-600,-638,-677,-699,-700,-700,-721,-758,-780,-770,-740,-709,-668,-607,-544,-510,-497,-468,-409,-353,-330,-325,-312,-296,-302,-328,-346,-342,-335,-339,-341,-319,-278,-244,-236,-253,-273,-273,-247,-218,-213,-234,-253,-254,-249,-250,-248,-230,-212,-218,-240,-246,-229,-217,-232,-259,-272,-276,-291,-310,-309,-283,-258,-252,-249,-223,-184,-164,-176,-194,-189,-171,-170,-197,-226,-230,-213,-201,-202,-201,-187,-173,-173,-177,-165,-139,-119,-116,-114,-98,-76,-72,-87,-103,-107,-109,-116,-120,-110,-98,-102,-120,-128,-115,-93,-76,-61,-42,-29,-31,-41,-43,-35,-31,-36,-39,-32,-23,-23,-30,-32,-26,-17,-10,0,17,36,46,42,31,22,16,11,5},
{55,171,-43,-260,-12,338,81,-425,-154,542,163,-599,1939,8992,14403,9651,-4892,-17609,-17809,-7937,374,1245,381,4782,11834,13125,6811,946,3732,14020,22992,22871,12631,-2221,-13086,-13545,-4879,3787,3913,-3220,-8199,-5145,1337,2886,-1697,-5992,-5359,-2404,-1922,-3993,-4894,-2946,-290,737,277,-424,-895,-999,-283,1014,1442,190,-1332,-1137,509,1386,404,-1082,-1485,-1187,-1602,-2897,-3846,-3659,-2879,-2307,-1957,-1484,-1043,-1116,-1703,-2213,-2155,-1602,-955,-532,-482,-797,-1226,-1351,-997,-497,-324,-482,-516,-189,160,99,-253,-397,-169,52,-67,-350,-420,-239,-85,-105,-172,-162,-134,-171,-240,-298,-380,-502,-578,-545,-480,-481,-501,-434,-310,-270,-365,-481,-494,-408,-300,-208,-134,-87,-70,-54,-10,31,17,-41,-76,-66,-66,-126,-204,-216,-158,-115,-141,-178,-152,-81,-50,-88,-134,-144,-139,-149,-147,-105,-66,-88,-146,-168,-141,-135,-182,-221,-192,-131,-122,-165,-175,-102,-2,34,0,-30,-5,48,68,39,1,-20,-35,-55,-64,-47,-34,-72,-151,-216,-233,-224,-220,-212,-177,-121,-71,-33,3,36,53,46,14,-42,-110,-152,-139,-92,-59,-51,-38,-6,18,12,-5,3,37,73,97,112,120,119,114,114,118,111,93,79,82,99,114,117,113,116,139,177,210,223,226,238,254,258,252,251,257,251,236,238,263,272,240,203,205,225,194,98}
},
{ // H-10e050a.wav
{-1,-1,0,1,0,-1,-2,-2,-1,-1,-1,-2,-3,-2,-1,-1,-2,-4,-4,-3,-1,-1,-2,-2,1,3,-1,-8,-8,2,8,0,-12,-10,1,3,-1,3,8,-4,-14,8,29,7,71,497,1277,1800,1323,-63,-1225,-1118,-35,661,154,-848,-1004,65,1464,2173,2049,1641,1467,1783,2700,4000,4876,4399,2556,569,-149,628,1755,1900,766,-809,-1755,-1669,-979,-413,-357,-646,-884,-871,-698,-504,-289,-13,233,292,159,33,99,317,456,331,-9,-320,-384,-204,5,38,-107,-267,-328,-341,-420,-583,-753,-861,-906,-913,-893,-859,-831,-815,-791,-740,-671,-603,-558,-556,-604,-668,-689,-653,-616,-637,-704,-752,-747,-720,-711,-719,-717,-686,-626,-555,-497,-472,-469,-457,-420,-375,-347,-335,-325,-320,-330,-350,-363,-362,-357,-354,-342,-317,-289,-271,-267,-272,-280,-282,-269,-248,-239,-249,-264,-264,-250,-234,-222,-216,-216,-224,-232,-236,-239,-246,-250,-249,-256,-283,-314,-319,-294,-268,-260,-254,-230,-201,-192,-202,-203,-185,-171,-179,-199,-209,-208,-213,-225,-231,-223,-210,-201,-192,-176,-159,-150,-144,-128,-102,-80,-72,-75,-77,-79,-87,-102,-113,-115,-113,-118,-129,-137,-136,-129,-118,-101,-79,-60,-52,-47,-36,-20,-11,-11,-10,-3,-1,-14,-33,-40,-35,-32,-35,-31,-12,12,25,25,23,22,19,11,3},
{196,-97,-280,24,347,40,-441,-117,552,102,-613,2146,9452,14906,9812,-5425,-18848,-19223,-8642,1012,3038,2308,5610,10964,11099,5126,1153,6273,17584,25120,21720,8689,-6162,-14173,-11521,-2344,4166,2348,-4041,-6513,-2331,2532,1761,-3202,-6105,-4698,-2732,-3475,-5185,-4572,-1863,59,19,-578,-617,-541,-601,-59,1119,1536,451,-734,-416,749,839,-443,-1546,-1647,-1777,-2852,-4017,-3945,-2872,-2156,-2255,-2331,-1793,-1171,-1147,-1528,-1673,-1434,-1137,-945,-767,-659,-809,-1101,-1122,-752,-400,-449,-686,-606,-149,190,52,-303,-386,-150,-6,-190,-448,-435,-214,-117,-254,-400,-357,-206,-123,-150,-236,-371,-538,-632,-582,-475,-444,-463,-405,-286,-269,-416,-562,-538,-385,-254,-193,-138,-69,-33,-42,-36,2,20,-12,-47,-49,-63,-137,-225,-240,-178,-120,-113,-117,-87,-49,-54,-100,-136,-139,-129,-121,-106,-81,-69,-90,-125,-144,-146,-156,-181,-191,-167,-135,-136,-164,-161,-92,0,37,5,-28,-3,55,71,21,-43,-71,-75,-82,-82,-52,-18,-36,-113,-191,-216,-199,-185,-182,-165,-123,-74,-36,-5,23,35,15,-33,-88,-128,-142,-130,-97,-55,-15,9,16,15,18,30,41,50,67,97,118,105,72,62,90,118,110,80,69,89,110,111,109,124,148,164,175,192,209,212,206,213,237,259,262,255,253,255,259,266,274,264,230,198,196,203,169,83}
},
{ // H-10e055a.wav
{0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-2,-2,-2,-1,-1,-1,0,0,-1,-2,-2,0,2,2,-2,-6,-6,0,6,3,-7,-11,-2,8,7,0,2,7,1,-4,13,29,1,10,280,893,1484,1433,547,-555,-972,-488,183,233,-322,-712,-327,673,1627,2037,1885,1522,1452,2073,3304,4421,4504,3289,1530,383,381,1029,1358,811,-337,-1299,-1471,-913,-230,9,-249,-608,-705,-519,-237,28,274,448,424,178,-121,-256,-177,-18,65,35,-28,-33,31,84,32,-143,-366,-547,-658,-729,-782,-812,-818,-825,-854,-887,-883,-824,-739,-676,-662,-677,-678,-643,-600,-591,-620,-649,-651,-644,-659,-694,-716,-704,-674,-654,-650,-642,-613,-567,-523,-497,-486,-472,-443,-406,-375,-358,-357,-369,-388,-398,-390,-372,-364,-368,-365,-343,-314,-296,-289,-278,-264,-262,-272,-274,-257,-237,-236,-255,-272,-270,-252,-234,-229,-234,-241,-242,-241,-246,-256,-264,-263,-258,-258,-264,-269,-271,-272,-272,-264,-249,-233,-221,-207,-189,-175,-176,-189,-198,-198,-198,-210,-228,-234,-222,-201,-186,-177,-169,-159,-151,-142,-124,-96,-71,-64,-72,-81,-86,-96,-115,-131,-132,-122,-120,-134,-149,-147,-129,-108,-92,-73,-46,-22,-12,-14,-12,-3,3,-6,-26,-42,-48,-49,-47,-40,-26,-12,-4,1,11,24,33,30,18,6},
{-4,-241,-64,299,132,-375,-215,473,219,-597,1659,8865,15317,11485,-4012,-19570,-21850,-10649,1693,5620,4117,5124,9116,9682,4881,1818,7590,19274,26196,21004,6387,-8178,-14293,-10224,-1442,3893,2011,-3080,-4472,-704,2734,899,-4166,-6655,-4884,-2732,-3439,-5301,-4880,-2064,254,344,-759,-1424,-1256,-551,457,1225,1038,168,-99,701,1264,338,-1324,-2040,-1719,-1897,-3229,-4387,-4025,-2713,-1994,-2232,-2432,-1944,-1276,-1094,-1278,-1332,-1170,-1019,-921,-785,-724,-910,-1147,-1032,-577,-284,-452,-736,-626,-170,116,-27,-290,-297,-121,-109,-341,-533,-458,-235,-120,-188,-323,-418,-446,-395,-279,-199,-264,-436,-553,-541,-498,-513,-523,-439,-324,-325,-442,-508,-422,-276,-202,-196,-166,-97,-57,-66,-58,4,59,30,-57,-120,-132,-139,-167,-183,-158,-119,-103,-96,-64,-21,-22,-82,-148,-170,-156,-136,-116,-84,-53,-52,-83,-113,-126,-144,-178,-200,-178,-134,-115,-126,-117,-55,18,34,-11,-49,-23,32,45,0,-55,-81,-87,-93,-90,-63,-35,-48,-106,-162,-180,-167,-152,-143,-131,-109,-78,-42,-7,11,1,-28,-63,-100,-139,-164,-150,-96,-33,7,22,34,52,63,56,40,40,65,98,112,102,84,76,78,77,70,63,65,75,88,100,111,127,153,182,202,211,213,209,197,186,195,225,253,261,257,261,274,280,273,258,236,205,182,185,193,161,79}
},
{ // H-10e060a.wav
{1,1,0,0,2,3,2,1,1,1,1,0,0,1,1,0,0,0,1,1,1,1,1,1,0,1,3,5,3,-1,-3,-2,2,4,2,-2,-2,3,9,8,1,0,8,15,12,7,3,-12,-4,158,590,1161,1431,1010,43,-777,-838,-255,243,114,-398,-550,74,1134,1901,1965,1569,1362,1858,3001,4121,4364,3374,1682,354,122,777,1406,1236,283,-756,-1178,-855,-234,163,181,27,-67,-73,-70,-66,-8,69,41,-132,-308,-303,-91,173,313,270,109,-64,-178,-239,-311,-445,-610,-720,-732,-697,-694,-745,-805,-836,-843,-842,-828,-794,-759,-743,-727,-680,-611,-574,-597,-643,-653,-623,-602,-618,-647,-652,-637,-627,-625,-612,-588,-576,-585,-583,-542,-479,-442,-444,-451,-434,-411,-416,-443,-453,-427,-389,-369,-367,-358,-337,-319,-316,-315,-302,-282,-273,-278,-282,-274,-262,-257,-260,-264,-270,-280,-289,-283,-262,-242,-237,-240,-239,-236,-240,-249,-250,-239,-231,-240,-263,-283,-290,-286,-279,-269,-251,-227,-205,-189,-181,-178,-180,-187,-195,-198,-196,-195,-198,-202,-205,-205,-201,-187,-162,-139,-131,-132,-125,-106,-90,-90,-100,-108,-112,-121,-133,-134,-121,-111,-114,-123,-124,-115,-104,-93,-73,-45,-23,-17,-22,-31,-41,-53,-60,-56,-44,-34,-30,-27,-19,-8,-1,2,8,20,34,39,29,12},
{-223,-108,242,219,-269,-334,319,403,-500,661,7063,15019,14397,135,-18480,-25297,-15023,943,8518,6531,4237,6529,8541,5728,2746,7468,18942,26542,21545,6365,-8501,-14320,-10203,-1907,3470,2864,-807,-2222,91,2089,-211,-5031,-7052,-4683,-2081,-3070,-5803,-5707,-2070,1146,837,-1566,-2710,-1616,61,795,604,168,-27,299,993,1180,135,-1461,-2111,-1605,-1482,-2815,-4468,-4553,-3050,-1766,-1839,-2447,-2305,-1447,-861,-971,-1285,-1294,-1047,-811,-710,-788,-1043,-1251,-1088,-600,-262,-379,-652,-588,-179,116,11,-276,-394,-307,-248,-339,-454,-423,-251,-101,-111,-272,-453,-529,-484,-401,-367,-389,-419,-432,-462,-529,-588,-562,-448,-346,-348,-419,-433,-333,-205,-165,-206,-213,-136,-51,-36,-56,-35,18,21,-50,-122,-139,-129,-138,-147,-120,-83,-87,-111,-90,-26,-4,-70,-163,-201,-182,-156,-136,-98,-50,-32,-56,-87,-98,-108,-135,-162,-165,-149,-136,-123,-87,-22,44,69,35,-27,-58,-32,5,-13,-82,-130,-108,-55,-33,-45,-54,-60,-97,-165,-210,-188,-130,-96,-99,-98,-61,-6,24,13,-22,-57,-91,-136,-181,-191,-144,-70,-18,-1,12,42,71,75,64,65,79,86,80,75,77,80,80,83,88,78,50,27,34,65,91,102,116,152,196,222,222,216,219,220,206,188,192,217,235,233,232,252,279,286,271,250,225,191,166,172,188,162,81}
},
{ // H-10e065a.wav
{1,0,0,2,3,2,1,1,2,2,1,1,2,1,0,0,2,2,1,0,1,2,2,1,0,1,2,3,3,2,0,-1,0,2,2,0,1,5,5,1,-1,6,15,16,9,2,0,0,0,-5,-3,82,371,876,1320,1249,489,-506,-965,-576,131,346,-99,-547,-284,677,1677,2135,2029,1746,1688,2054,2752,3363,3335,2477,1284,577,715,1227,1313,663,-268,-757,-496,199,741,771,369,-130,-454,-548,-491,-345,-128,105,243,209,59,-62,-66,-7,-15,-156,-364,-516,-551,-514,-493,-529,-602,-674,-724,-747,-749,-758,-804,-880,-926,-891,-795,-711,-680,-678,-664,-638,-620,-610,-591,-567,-562,-578,-591,-585,-579,-594,-617,-616,-587,-564,-570,-586,-571,-520,-470,-461,-487,-506,-496,-473,-461,-455,-429,-382,-343,-332,-335,-329,-318,-322,-339,-346,-330,-307,-296,-292,-283,-275,-280,-293,-294,-279,-268,-277,-291,-287,-263,-239,-231,-236,-239,-235,-229,-228,-237,-253,-269,-277,-277,-274,-271,-264,-249,-231,-218,-211,-204,-194,-186,-184,-181,-172,-163,-168,-187,-203,-202,-195,-196,-201,-191,-165,-147,-152,-164,-159,-140,-131,-137,-136,-115,-95,-99,-121,-130,-114,-92,-84,-88,-90,-88,-93,-102,-101,-84,-66,-65,-75,-78,-69,-60,-57,-49,-28,-6,-2,-11,-11,7,24,24,20,31,51,52,27},
{-289,128,377,-63,-479,22,587,-141,-349,4236,13125,17063,6708,-13842,-27464,-21755,-3316,10185,10344,4779,3640,6436,6613,4263,6782,16804,25816,23195,8678,-7337,-14534,-11197,-3123,2886,3972,1953,478,951,1129,-1511,-5598,-7012,-4504,-1863,-2874,-5924,-6152,-2286,1530,1329,-1725,-3480,-2232,15,936,436,-281,-470,-73,631,915,60,-1466,-2144,-1454,-929,-2114,-4128,-4643,-3113,-1527,-1603,-2580,-2647,-1563,-683,-841,-1401,-1459,-1019,-647,-633,-894,-1259,-1476,-1258,-669,-238,-336,-652,-605,-165,133,-38,-385,-459,-255,-131,-285,-530,-567,-339,-69,-3,-166,-377,-474,-475,-490,-544,-564,-518,-470,-481,-537,-576,-548,-437,-296,-242,-340,-480,-473,-288,-106,-82,-151,-159,-96,-65,-86,-69,14,64,8,-91,-140,-138,-137,-140,-117,-82,-75,-87,-75,-45,-58,-128,-194,-204,-179,-159,-140,-95,-44,-29,-51,-66,-58,-64,-106,-151,-160,-139,-124,-119,-89,-17,63,97,68,12,-21,-19,-21,-66,-137,-171,-134,-64,-19,-10,-11,-25,-76,-157,-217,-218,-175,-128,-93,-62,-31,-1,25,35,10,-49,-109,-144,-167,-192,-188,-122,-24,36,35,23,43,75,82,71,74,96,109,97,73,57,57,67,75,71,58,52,61,69,64,65,98,158,208,226,223,217,212,205,198,197,202,211,216,212,206,215,244,273,277,260,242,225,197,172,177,197,174,89}
},
{ // H-10e070a.wav
{0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,0,0,1,2,1,0,0,0,0,0,2,4,2,-2,-3,1,5,3,-1,-1,2,3,2,5,12,12,3,-5,-2,6,8,6,1,-8,24,224,671,1179,1298,719,-271,-910,-704,6,403,135,-274,-84,759,1581,1787,1462,1141,1209,1691,2426,3159,3487,3055,1984,947,599,937,1349,1287,777,254,58,168,326,292,4,-398,-660,-593,-231,193,434,402,171,-127,-375,-500,-484,-387,-318,-350,-456,-542,-549,-507,-491,-533,-603,-663,-713,-768,-823,-855,-860,-851,-834,-805,-768,-736,-708,-668,-616,-575,-562,-560,-545,-523,-517,-529,-545,-559,-580,-606,-616,-601,-579,-570,-574,-575,-564,-546,-526,-510,-505,-506,-497,-464,-417,-380,-362,-350,-337,-332,-345,-366,-376,-371,-359,-347,-336,-325,-317,-311,-302,-292,-284,-277,-269,-265,-274,-290,-295,-282,-262,-250,-244,-234,-225,-228,-244,-260,-267,-267,-265,-261,-250,-235,-223,-216,-215,-214,-214,-214,-210,-198,-181,-164,-156,-159,-171,-183,-190,-195,-203,-210,-208,-200,-196,-198,-195,-180,-163,-156,-156,-150,-134,-116,-104,-100,-101,-104,-105,-99,-89,-82,-85,-97,-111,-121,-125,-124,-121,-115,-100,-76,-51,-36,-30,-24,-15,-12,-13,-6,15,37,44,43,52,66,63,34},
{-198,333,303,-367,-425,430,472,-628,1064,8875,17342,14352,-4184,-24979,-29008,-12797,7367,14429,8599,2518,3139,5809,5645,6446,13718,23551,24989,13298,-3763,-14182,-13240,-5542,1704,4876,4653,3338,2220,732,-2115,-5484,-6805,-4991,-2555,-2803,-5266,-6007,-2983,916,1560,-1109,-3385,-2766,-555,658,259,-537,-744,-357,229,484,-144,-1466,-2262,-1719,-858,-1401,-3228,-4262,-3270,-1588,-1203,-2077,-2526,-1791,-902,-929,-1511,-1631,-1080,-506,-439,-834,-1364,-1690,-1540,-948,-392,-323,-598,-663,-330,-11,-89,-373,-418,-163,12,-174,-549,-715,-506,-133,69,-30,-277,-441,-459,-447,-519,-647,-713,-655,-531,-456,-483,-535,-480,-314,-205,-295,-486,-532,-354,-142,-86,-140,-145,-83,-62,-99,-84,21,101,60,-47,-108,-117,-136,-164,-151,-102,-82,-107,-116,-79,-54,-101,-187,-234,-223,-193,-163,-113,-43,1,-10,-45,-54,-44,-62,-119,-167,-165,-127,-92,-66,-18,62,126,121,51,-21,-45,-36,-52,-113,-172,-166,-97,-26,3,0,-12,-45,-116,-198,-232,-202,-148,-112,-91,-59,-11,33,49,26,-26,-81,-117,-141,-167,-181,-149,-70,4,34,34,41,57,64,62,67,77,79,73,73,76,71,68,79,90,74,46,43,71,91,82,82,128,199,241,237,213,189,168,152,151,167,192,217,233,230,214,215,245,271,259,228,217,223,211,188,196,226,208,110}
},
{ // H-10e075a.wav
{0,0,-1,-1,0,1,0,0,0,0,0,-1,0,1,0,-1,0,1,0,-1,-1,0,0,0,0,0,-1,-1,0,1,0,0,1,1,-1,-1,2,3,-1,-3,2,7,4,-2,0,7,4,-4,1,17,19,0,-14,-5,6,29,169,527,978,1148,739,-70,-661,-531,172,752,658,36,-441,-255,499,1300,1721,1732,1605,1664,2075,2720,3204,3118,2436,1628,1260,1443,1732,1598,944,147,-341,-365,-108,138,211,151,86,78,75,0,-145,-300,-430,-543,-637,-668,-606,-493,-416,-427,-499,-559,-558,-513,-488,-532,-633,-739,-804,-822,-810,-789,-782,-799,-822,-819,-776,-713,-651,-592,-538,-509,-517,-533,-519,-486,-481,-522,-568,-582,-577,-588,-609,-607,-582,-570,-589,-607,-589,-545,-507,-488,-473,-453,-434,-420,-403,-380,-364,-366,-377,-383,-380,-381,-392,-399,-384,-350,-320,-308,-305,-294,-275,-267,-276,-287,-286,-281,-285,-292,-286,-268,-255,-255,-258,-254,-244,-238,-236,-236,-236,-237,-233,-219,-203,-198,-207,-216,-214,-203,-194,-192,-193,-191,-185,-175,-165,-165,-181,-206,-225,-229,-227,-224,-221,-214,-203,-191,-183,-173,-157,-140,-134,-138,-138,-125,-110,-108,-119,-127,-122,-110,-101,-98,-100,-110,-125,-137,-139,-129,-110,-85,-56,-30,-13,-5,-5,-10,-15,-11,8,37,63,81,91,89,67,31},
{-13,439,95,-571,-186,715,121,-769,3198,13014,18956,9026,-14172,-31194,-25689,-3462,14200,14848,5945,1079,2947,5253,6063,10490,19840,25701,19221,2816,-11666,-15300,-9333,-907,4709,6630,6095,4242,1625,-1514,-4662,-6574,-6123,-4049,-2832,-3810,-5177,-4212,-1104,1034,194,-2053,-2855,-1645,-212,30,-540,-904,-713,-225,155,-60,-1074,-2198,-2341,-1547,-1239,-2297,-3599,-3435,-1944,-946,-1395,-2182,-1928,-939,-555,-1171,-1835,-1685,-953,-415,-462,-942,-1490,-1740,-1490,-933,-553,-579,-705,-546,-197,-76,-289,-473,-325,-28,4,-322,-662,-659,-332,-8,50,-130,-346,-457,-482,-507,-576,-660,-693,-638,-534,-472,-488,-490,-386,-246,-248,-425,-575,-505,-281,-124,-118,-146,-103,-39,-34,-54,-17,63,91,26,-67,-120,-134,-145,-159,-158,-143,-131,-123,-107,-91,-104,-160,-224,-251,-232,-191,-146,-91,-32,2,-6,-29,-34,-33,-64,-124,-163,-151,-113,-80,-38,40,126,155,98,3,-61,-74,-72,-94,-131,-140,-103,-45,-8,-4,-14,-36,-89,-171,-236,-240,-191,-135,-104,-85,-53,-6,34,42,7,-52,-101,-129,-152,-173,-161,-93,-3,44,37,20,28,41,33,14,13,29,41,50,68,91,104,109,113,105,76,47,48,71,83,83,107,168,228,242,211,165,130,108,97,105,134,179,222,242,234,223,238,267,266,227,198,212,230,209,180,202,252,237,125}
},
{ // H-10e080a.wav
{-1,-2,-2,-1,-1,-2,-2,0,0,-1,-1,0,0,0,0,0,0,-1,0,1,0,-1,-1,0,0,-2,-2,0,1,1,0,0,0,0,0,-1,-2,0,4,5,1,-2,-1,2,0,-5,0,12,15,4,-3,6,14,9,2,2,-1,19,153,449,781,913,749,455,262,191,70,-193,-447,-461,-164,323,851,1338,1709,1863,1775,1627,1742,2307,3126,3679,3516,2653,1589,884,696,718,578,244,15,143,526,804,720,327,-128,-456,-629,-691,-676,-618,-579,-603,-660,-686,-664,-625,-583,-524,-461,-449,-513,-596,-633,-634,-653,-702,-747,-765,-775,-790,-795,-783,-770,-764,-737,-665,-571,-503,-484,-494,-507,-511,-504,-492,-491,-515,-553,-578,-583,-590,-610,-625,-613,-584,-565,-561,-548,-512,-471,-452,-454,-456,-444,-428,-421,-419,-408,-391,-386,-401,-415,-404,-371,-345,-337,-329,-308,-288,-290,-306,-307,-286,-271,-282,-303,-305,-288,-277,-281,-280,-261,-239,-233,-239,-234,-214,-197,-198,-207,-206,-199,-200,-212,-217,-204,-184,-177,-185,-194,-194,-193,-201,-213,-214,-202,-197,-211,-233,-240,-226,-211,-208,-210,-203,-189,-180,-175,-164,-145,-136,-149,-168,-170,-152,-135,-132,-134,-126,-109,-99,-103,-113,-118,-115,-109,-100,-85,-66,-49,-36,-24,-10,2,6,3,4,15,32,48,67,91,103,84,39},
{165,468,-117,-669,70,865,-220,-659,5137,15815,18908,3886,-21136,-32768,-21212,3443,17549,13705,3905,573,2981,4909,7086,14301,23723,24807,12462,-5260,-15582,-13847,-5359,2682,7188,8298,6753,3560,127,-2762,-5197,-6819,-6531,-4411,-2610,-2909,-4143,-3693,-1263,563,-120,-1995,-2496,-1204,17,-213,-1239,-1640,-995,-27,341,-307,-1618,-2602,-2488,-1726,-1622,-2629,-3559,-3097,-1625,-724,-1049,-1630,-1451,-810,-630,-1049,-1386,-1226,-875,-763,-923,-1164,-1359,-1418,-1271,-1016,-884,-901,-811,-466,-120,-112,-382,-532,-360,-105,-107,-372,-591,-523,-237,-1,8,-166,-361,-469,-502,-524,-565,-601,-598,-558,-524,-524,-517,-434,-290,-215,-310,-499,-589,-490,-309,-194,-159,-113,-25,39,33,6,20,61,58,-12,-96,-137,-137,-137,-152,-157,-137,-114,-112,-124,-129,-143,-192,-258,-279,-234,-165,-116,-82,-41,-7,-2,-10,-6,-7,-48,-111,-139,-115,-83,-63,-24,58,138,145,75,-12,-60,-71,-80,-106,-131,-120,-65,2,34,21,-14,-59,-126,-210,-267,-257,-195,-133,-93,-60,-17,25,43,25,-21,-74,-111,-132,-147,-154,-122,-37,54,84,48,3,-7,4,1,-18,-22,-2,29,57,81,103,128,154,164,141,100,77,82,85,66,58,102,176,219,208,176,151,124,89,71,92,138,178,205,225,239,248,264,280,271,233,205,214,230,217,197,224,274,255,135}
},
{ // H-10e085a.wav
{0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,1,0,0,0,1,2,3,1,-2,-2,3,8,6,1,0,1,-2,-3,5,13,11,4,2,4,3,6,21,27,-1,-36,-26,33,111,249,563,1020,1297,1023,240,-521,-727,-369,102,311,296,326,532,839,1149,1458,1778,2072,2313,2552,2844,3117,3156,2751,1908,933,278,237,713,1278,1506,1284,830,421,141,-104,-395,-679,-848,-870,-805,-728,-678,-674,-718,-768,-757,-667,-565,-527,-556,-590,-592,-581,-583,-594,-605,-631,-683,-739,-770,-772,-764,-751,-727,-699,-681,-663,-615,-537,-470,-454,-478,-501,-502,-492,-489,-498,-517,-542,-570,-595,-611,-610,-591,-564,-543,-532,-526,-519,-513,-503,-481,-456,-452,-475,-489,-459,-399,-361,-367,-384,-376,-353,-346,-357,-355,-330,-306,-305,-313,-304,-284,-279,-298,-314,-305,-281,-265,-263,-259,-243,-227,-223,-225,-219,-202,-185,-179,-179,-180,-186,-200,-215,-215,-197,-180,-181,-195,-200,-194,-190,-200,-219,-232,-232,-224,-218,-217,-217,-214,-210,-206,-202,-199,-200,-205,-206,-200,-191,-181,-170,-160,-158,-163,-166,-157,-140,-126,-119,-113,-105,-96,-88,-78,-69,-61,-51,-36,-21,-16,-19,-16,-4,7,10,13,23,33,35,37,53,74,71,38},
{262,486,-226,-719,206,948,-393,-616,6064,17080,18637,1107,-24523,-32768,-18433,7062,18934,12762,2803,490,3160,4850,7806,16375,25297,23197,7607,-10205,-17409,-12186,-2125,5692,9318,9336,6518,2438,-843,-2922,-5035,-7208,-7416,-4789,-1847,-1602,-3412,-3907,-1836,272,-96,-1933,-2435,-1019,212,-314,-1676,-2100,-1263,-235,61,-468,-1452,-2345,-2615,-2280,-2088,-2591,-3217,-2939,-1778,-870,-898,-1237,-1043,-520,-465,-959,-1265,-960,-504,-515,-991,-1471,-1636,-1490,-1177,-882,-785,-881,-924,-707,-366,-216,-338,-487,-443,-286,-249,-395,-541,-478,-213,28,32,-189,-419,-485,-433,-426,-513,-587,-562,-502,-511,-564,-530,-365,-201,-199,-360,-533,-580,-498,-371,-265,-184,-106,-23,46,83,86,73,54,18,-51,-130,-169,-153,-120,-110,-117,-116,-114,-124,-134,-133,-152,-224,-304,-312,-241,-163,-121,-82,-21,21,9,-11,10,31,-17,-109,-148,-109,-59,-43,-17,61,143,145,63,-26,-66,-68,-82,-120,-147,-117,-34,46,69,41,5,-41,-130,-250,-317,-276,-180,-121,-109,-81,-8,59,65,18,-35,-73,-104,-137,-157,-144,-90,-16,39,48,28,11,7,0,-16,-25,-18,-6,8,37,84,126,151,171,190,184,142,93,72,67,48,30,60,138,203,206,165,129,116,108,96,94,117,160,202,223,225,234,266,295,278,225,199,224,250,232,208,241,300,279,146}
},
{ // H-10e090a.wav
{0,0,-1,-1,0,1,0,-1,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,1,2,2,1,0,1,3,3,0,-3,-2,3,8,8,3,-4,-6,0,7,7,6,12,15,1,-13,1,30,26,-15,-32,4,31,20,105,426,839,944,541,-47,-291,-52,303,404,299,277,414,514,449,367,502,924,1538,2211,2773,2982,2692,2089,1617,1554,1725,1730,1421,1073,1054,1416,1840,1942,1576,885,153,-383,-639,-691,-684,-714,-776,-823,-841,-846,-839,-799,-723,-652,-628,-657,-705,-727,-695,-619,-545,-521,-549,-592,-627,-668,-720,-750,-730,-684,-663,-677,-686,-666,-631,-600,-562,-510,-464,-452,-472,-495,-502,-497,-491,-497,-520,-554,-577,-577,-566,-561,-560,-547,-530,-533,-559,-575,-557,-525,-508,-502,-476,-429,-391,-381,-377,-356,-336,-344,-374,-386,-364,-335,-330,-341,-337,-314,-298,-304,-310,-289,-252,-236,-253,-272,-262,-233,-219,-226,-224,-198,-172,-173,-190,-195,-184,-182,-200,-219,-219,-210,-210,-214,-204,-185,-181,-202,-223,-219,-202,-204,-232,-256,-247,-218,-201,-208,-221,-222,-218,-225,-239,-243,-228,-208,-198,-193,-179,-157,-147,-158,-172,-162,-130,-104,-98,-97,-84,-60,-41,-33,-28,-17,-5,0,-2,-3,-2,-4,-9,-12,-7,3,10,14,20,30,36,31,16},
{234,534,-186,-784,133,1022,-304,-852,5527,16820,19086,1840,-24363,-32768,-18931,7321,19624,13051,2475,119,3220,5159,7958,16279,24984,22407,6060,-12132,-18643,-11809,-190,8211,11258,10041,6106,1622,-1279,-2752,-4757,-7438,-8085,-5141,-1343,-625,-2841,-4105,-2335,53,-29,-1937,-2604,-1109,308,-252,-1839,-2382,-1488,-434,-208,-713,-1503,-2244,-2554,-2302,-2079,-2557,-3310,-3143,-1835,-663,-702,-1354,-1329,-540,-66,-452,-1006,-956,-511,-369,-712,-1178,-1481,-1595,-1497,-1164,-782,-623,-683,-709,-594,-511,-577,-637,-513,-305,-264,-443,-613,-540,-248,13,31,-173,-386,-443,-387,-374,-454,-527,-512,-474,-509,-571,-522,-338,-169,-174,-341,-521,-584,-518,-395,-294,-238,-193,-108,12,107,130,103,70,25,-57,-152,-190,-157,-112,-102,-107,-96,-94,-120,-142,-134,-147,-236,-342,-355,-264,-170,-129,-87,-11,40,19,-10,18,51,-6,-120,-167,-113,-51,-41,-19,71,166,161,55,-52,-94,-94,-104,-132,-145,-110,-28,54,87,67,28,-22,-113,-240,-325,-303,-207,-132,-111,-91,-30,43,72,46,-6,-61,-113,-160,-192,-189,-133,-38,40,55,22,-1,11,21,1,-23,-18,6,24,40,78,131,170,180,172,153,119,78,48,33,24,29,64,122,167,177,161,139,119,107,111,125,135,144,170,208,230,234,250,279,275,225,188,214,260,259,232,255,314,297,160}
},
{ // H-10e095a.wav
{0,1,1,0,-1,0,1,1,0,0,1,2,1,0,1,1,1,1,1,1,1,1,2,1,0,1,3,3,1,0,2,4,2,0,1,2,1,2,5,6,2,-2,-2,0,2,10,20,17,0,-6,10,19,-3,-25,-10,17,10,36,244,624,885,700,103,-478,-630,-317,185,612,863,917,781,545,378,378,516,765,1186,1769,2264,2372,2118,1859,1821,1767,1338,645,295,718,1629,2314,2377,2035,1710,1523,1276,800,173,-390,-726,-808,-723,-629,-653,-786,-897,-886,-793,-732,-747,-782,-777,-745,-730,-739,-734,-688,-617,-561,-548,-573,-613,-651,-675,-673,-641,-604,-598,-630,-659,-647,-606,-576,-563,-539,-491,-451,-450,-475,-493,-494,-498,-513,-526,-526,-521,-522,-531,-541,-554,-575,-601,-615,-606,-580,-554,-533,-504,-456,-407,-388,-398,-402,-376,-340,-333,-353,-365,-355,-348,-366,-385,-369,-324,-285,-268,-254,-230,-216,-230,-257,-264,-246,-225,-217,-214,-204,-189,-178,-177,-182,-191,-203,-216,-225,-227,-226,-224,-219,-207,-190,-179,-184,-202,-216,-214,-204,-202,-216,-235,-246,-248,-249,-252,-253,-250,-246,-244,-242,-234,-219,-206,-200,-201,-200,-190,-172,-152,-133,-119,-108,-98,-85,-70,-53,-38,-24,-11,0,7,11,10,5,-4,-12,-17,-21,-26,-28,-24,-17,-12,-6,4,15,18,10},
{65,597,34,-807,-150,1039,94,-1198,3569,14748,19902,6182,-20075,-32768,-23008,3575,19484,15132,3442,-737,2527,5571,7900,14474,22880,22355,7976,-10706,-19271,-13313,-446,9690,13199,11204,6349,1445,-1458,-2737,-4554,-7314,-8311,-5512,-1306,-55,-2342,-4217,-2761,-10,286,-1917,-3183,-1708,348,251,-1589,-2676,-1960,-684,-239,-701,-1522,-2333,-2751,-2453,-1899,-2075,-3006,-3368,-2282,-759,-401,-1170,-1586,-951,-200,-275,-758,-727,-233,-92,-594,-1196,-1404,-1314,-1199,-1094,-959,-862,-811,-674,-451,-396,-651,-943,-892,-531,-271,-366,-606,-620,-338,-38,1,-204,-403,-418,-322,-299,-395,-482,-464,-414,-445,-527,-523,-379,-209,-159,-262,-437,-564,-562,-440,-301,-252,-273,-237,-82,95,163,122,67,28,-43,-144,-186,-132,-72,-90,-141,-134,-79,-64,-106,-144,-163,-220,-320,-366,-300,-188,-119,-83,-25,33,34,-3,-6,21,0,-80,-139,-121,-76,-56,-26,60,156,168,79,-33,-100,-125,-140,-156,-153,-112,-30,63,117,107,54,-15,-105,-215,-296,-290,-214,-144,-117,-94,-37,29,54,26,-28,-85,-138,-180,-200,-190,-145,-66,18,56,33,-3,-3,24,35,17,2,13,41,70,96,120,136,141,130,101,61,35,35,41,30,22,57,129,183,185,157,132,115,102,106,130,157,167,170,184,206,226,247,267,261,223,193,209,245,253,248,278,321,287,148}
},
{ // H-10e100a.wav
{0,1,1,-1,-2,-1,0,0,0,1,1,0,0,1,1,1,0,0,0,0,1,1,0,-1,0,2,2,0,0,2,3,2,1,0,0,1,3,3,0,-1,3,6,-1,-8,0,17,17,0,-3,20,30,-3,-40,-32,-3,16,117,438,871,1003,517,-349,-933,-796,-152,416,578,497,524,767,1009,990,737,600,912,1588,2136,2149,1723,1308,1190,1279,1369,1388,1295,955,368,-65,184,1142,2171,2582,2293,1758,1352,1044,650,173,-227,-467,-593,-659,-671,-660,-688,-760,-806,-794,-788,-846,-910,-881,-772,-711,-764,-838,-807,-679,-578,-574,-610,-603,-558,-541,-575,-614,-613,-582,-560,-571,-605,-632,-620,-560,-485,-446,-461,-497,-509,-497,-492,-508,-519,-505,-484,-490,-527,-568,-590,-599,-605,-605,-587,-559,-539,-530,-516,-486,-453,-430,-414,-392,-368,-356,-357,-359,-355,-358,-374,-385,-367,-323,-280,-258,-247,-232,-218,-221,-240,-252,-239,-212,-199,-208,-223,-224,-212,-201,-201,-207,-212,-217,-225,-234,-235,-229,-222,-220,-215,-200,-183,-178,-188,-201,-206,-212,-230,-254,-264,-258,-257,-274,-296,-294,-267,-240,-235,-242,-238,-221,-208,-206,-202,-184,-164,-158,-158,-141,-102,-67,-58,-62,-55,-33,-14,-10,-9,-1,7,2,-10,-14,-10,-12,-27,-44,-49,-44,-41,-41,-37,-27,-18,-15,-13,-7},
{-214,571,376,-674,-579,806,698,-1149,910,10558,19364,12584,-11049,-31838,-28894,-4910,16520,18309,6796,-1131,479,5008,7858,12252,19414,21807,11953,-5775,-17913,-15870,-3473,9020,14702,13192,7802,2235,-1273,-2956,-4668,-7028,-8020,-5711,-1729,-19,-1850,-4013,-3144,-299,653,-1485,-3654,-2895,-291,821,-622,-2466,-2583,-1334,-415,-609,-1455,-2279,-2672,-2467,-1996,-2022,-2731,-3139,-2310,-888,-415,-1177,-1789,-1231,-270,-176,-814,-992,-316,299,16,-862,-1483,-1485,-1116,-727,-546,-677,-974,-1058,-746,-366,-376,-748,-1009,-879,-592,-503,-605,-609,-371,-81,-18,-223,-472,-529,-391,-254,-268,-376,-432,-403,-389,-440,-476,-400,-251,-166,-230,-395,-536,-553,-445,-309,-253,-282,-288,-181,-7,110,122,83,38,-32,-133,-193,-153,-68,-46,-101,-141,-117,-80,-86,-120,-151,-200,-282,-337,-300,-199,-119,-82,-40,16,34,5,-17,-4,-9,-69,-133,-134,-95,-70,-47,25,122,153,86,-17,-86,-119,-145,-164,-157,-116,-42,53,132,147,87,-7,-96,-179,-246,-262,-210,-130,-84,-81,-81,-58,-31,-28,-57,-102,-141,-160,-163,-162,-150,-102,-19,47,52,20,12,40,58,39,11,11,34,55,71,92,116,127,110,72,29,3,4,21,33,41,68,125,183,206,186,144,105,88,99,128,155,175,196,212,210,202,220,260,270,231,193,204,241,249,239,266,311,280,143}
},
{ // H-10e105a.wav
{1,0,-1,0,1,-1,-2,0,2,1,-1,0,1,0,-1,0,1,0,-1,0,2,1,-1,0,2,2,1,1,1,1,2,3,1,-2,0,6,6,-2,-5,4,8,-3,-11,2,18,9,-9,1,28,23,-13,-22,1,-6,-5,210,721,1179,1022,135,-862,-1185,-688,66,495,556,563,665,720,624,544,746,1283,1922,2335,2329,1951,1432,1031,867,881,941,983,1004,978,818,478,80,-115,93,657,1311,1770,1913,1786,1496,1127,735,363,37,-227,-412,-506,-539,-576,-656,-747,-791,-789,-800,-859,-928,-947,-907,-852,-823,-816,-798,-742,-652,-564,-517,-522,-546,-553,-544,-546,-565,-573,-551,-527,-539,-578,-590,-547,-488,-470,-499,-527,-516,-483,-468,-484,-515,-546,-570,-583,-576,-554,-535,-531,-535,-538,-539,-545,-552,-547,-523,-487,-450,-420,-396,-379,-373,-378,-384,-376,-351,-320,-298,-286,-277,-267,-258,-250,-240,-227,-216,-213,-214,-214,-210,-207,-208,-216,-231,-251,-267,-266,-245,-214,-194,-196,-214,-230,-233,-227,-220,-215,-208,-196,-184,-182,-193,-216,-245,-275,-299,-307,-296,-275,-260,-257,-258,-257,-254,-254,-253,-243,-221,-195,-174,-160,-149,-136,-124,-117,-114,-107,-86,-55,-28,-15,-10,-6,-4,-9,-20,-28,-28,-27,-28,-26,-21,-21,-35,-55,-66,-62,-54,-52,-53,-46,-29,-12,-2},
{-474,324,648,-248,-861,189,1094,-343,-1022,5037,15746,17818,1547,-22984,-32724,-17407,7771,19737,12999,1445,-1833,2297,6829,10560,16041,20326,15871,1404,-13524,-17546,-8682,5107,14446,15624,10865,4567,-177,-2967,-5110,-7191,-7886,-5804,-2154,-186,-1445,-3672,-3547,-969,809,-527,-3294,-4010,-1827,605,652,-1250,-2657,-2283,-1095,-636,-1276,-2244,-2668,-2322,-1753,-1806,-2659,-3335,-2715,-1112,-139,-684,-1726,-1753,-790,-161,-505,-1007,-764,-49,231,-217,-899,-1277,-1216,-851,-447,-329,-604,-944,-938,-641,-498,-704,-942,-880,-644,-592,-772,-861,-618,-198,34,-91,-404,-606,-562,-387,-273,-279,-319,-314,-299,-340,-412,-417,-319,-205,-197,-323,-492,-572,-503,-345,-224,-216,-270,-266,-150,1,77,63,28,3,-51,-146,-201,-151,-49,-10,-56,-106,-107,-93,-108,-138,-165,-211,-275,-298,-238,-142,-79,-47,-10,19,5,-31,-36,-25,-62,-139,-170,-125,-68,-48,-21,56,130,115,18,-75,-114,-122,-131,-141,-129,-77,13,111,160,129,48,-41,-125,-204,-248,-224,-158,-118,-123,-132,-110,-73,-55,-60,-82,-119,-160,-179,-167,-134,-87,-19,55,88,59,14,7,32,37,2,-32,-24,20,64,89,105,119,119,85,27,-13,-8,21,33,28,44,103,177,222,222,190,140,92,73,96,141,181,209,228,231,218,214,234,253,241,214,207,221,229,236,268,297,252,123}
},
{ // H-10e110a.wav
{1,1,2,2,1,1,1,1,1,3,4,2,1,2,3,3,0,-1,2,4,2,-1,0,3,4,2,0,0,2,4,4,0,-2,3,10,7,-3,-3,8,11,-1,-8,4,13,2,-5,14,29,8,-16,-1,14,-9,72,477,1098,1361,764,-441,-1332,-1232,-387,387,614,509,500,666,775,706,649,889,1504,2267,2775,2707,2065,1217,637,541,761,965,972,829,660,511,356,185,38,-39,-37,43,216,504,879,1250,1505,1559,1391,1053,651,294,26,-179,-356,-495,-570,-599,-636,-707,-782,-837,-896,-978,-1036,-1004,-891,-789,-760,-766,-728,-631,-536,-502,-525,-558,-564,-542,-516,-502,-497,-491,-486,-499,-534,-567,-567,-532,-489,-465,-466,-488,-521,-552,-567,-569,-566,-563,-547,-513,-479,-474,-499,-525,-532,-529,-532,-536,-525,-497,-465,-442,-425,-407,-383,-353,-321,-297,-291,-295,-293,-277,-254,-237,-229,-223,-217,-215,-216,-216,-208,-197,-193,-207,-236,-265,-277,-270,-258,-254,-253,-240,-215,-195,-191,-198,-206,-215,-225,-229,-219,-203,-203,-224,-250,-264,-271,-282,-296,-299,-285,-265,-253,-250,-248,-243,-241,-242,-237,-217,-188,-162,-144,-128,-112,-100,-97,-96,-89,-77,-66,-56,-40,-22,-13,-17,-24,-27,-29,-39,-52,-54,-43,-29,-25,-31,-41,-52,-64,-75,-77,-66,-48,-31,-19,-11,-4},
{-434,-131,508,333,-588,-561,687,731,-1002,313,8663,17482,13170,-7402,-27903,-28155,-7556,13814,18291,8442,-819,-1348,3267,8009,12964,18067,18236,8900,-5944,-15650,-13196,-1444,10682,16219,14267,8372,2508,-1704,-4863,-7512,-8570,-6666,-2705,99,-494,-3089,-4200,-2349,259,504,-1877,-4065,-3555,-982,870,355,-1477,-2528,-2088,-1230,-1203,-2032,-2719,-2477,-1620,-1246,-2000,-3178,-3362,-2101,-572,-206,-966,-1559,-1232,-605,-547,-919,-952,-442,37,-11,-449,-853,-981,-830,-531,-332,-427,-683,-753,-558,-449,-699,-1068,-1099,-760,-487,-594,-873,-904,-577,-189,-63,-235,-486,-606,-553,-432,-349,-320,-292,-243,-224,-282,-372,-387,-295,-204,-237,-388,-523,-526,-402,-251,-171,-189,-245,-242,-143,-19,32,5,-26,-34,-70,-152,-194,-134,-36,-8,-54,-94,-95,-95,-111,-127,-152,-209,-263,-242,-152,-78,-63,-56,-22,-7,-40,-70,-54,-47,-114,-201,-210,-140,-77,-47,7,98,145,86,-29,-108,-124,-121,-129,-130,-92,-2,104,167,154,92,25,-52,-165,-286,-332,-268,-166,-111,-108,-101,-71,-55,-75,-109,-135,-149,-157,-145,-106,-49,10,58,79,58,5,-41,-48,-25,-7,-16,-33,-24,18,69,104,121,130,123,81,17,-24,-18,10,23,30,69,147,224,253,227,168,112,85,92,121,160,205,244,254,233,210,211,223,222,212,215,227,229,230,258,283,238,116}
},
{ // H-10e115a.wav
{-1,-1,-1,-1,0,0,0,0,1,1,0,0,1,2,0,-1,0,2,1,0,0,0,0,0,2,1,-1,0,4,5,1,-3,1,7,4,-3,0,7,4,-5,0,11,5,-10,-1,26,22,-9,-6,29,9,-24,215,887,1563,1433,227,-1247,-1795,-1069,121,773,701,454,475,657,711,667,856,1490,2385,3052,3046,2313,1288,597,534,833,1000,850,619,566,618,504,162,-163,-224,-73,30,-59,-228,-274,-122,157,470,779,1059,1261,1327,1230,982,630,257,-50,-257,-390,-482,-543,-590,-673,-811,-943,-988,-957,-933,-941,-910,-797,-676,-648,-696,-712,-642,-546,-506,-521,-537,-527,-503,-478,-458,-458,-489,-526,-533,-512,-504,-527,-549,-537,-507,-504,-539,-574,-573,-541,-510,-503,-512,-516,-508,-501,-506,-516,-515,-505,-500,-507,-509,-482,-427,-371,-336,-326,-327,-327,-319,-304,-285,-266,-246,-223,-204,-203,-218,-231,-225,-204,-191,-197,-216,-239,-261,-278,-281,-271,-258,-254,-257,-257,-249,-236,-222,-207,-196,-194,-205,-225,-246,-261,-268,-269,-271,-274,-273,-267,-265,-273,-284,-283,-269,-256,-251,-245,-226,-202,-188,-185,-177,-154,-131,-122,-122,-113,-91,-72,-68,-71,-67,-58,-55,-61,-64,-59,-53,-56,-62,-58,-48,-46,-56,-64,-58,-49,-52,-65,-70,-62,-52,-48,-45,-37,-29,-25,-21,-11},
{-3,-405,-79,528,192,-677,-348,844,405,-1127,1554,10527,17051,9027,-12099,-28174,-23195,-2009,15300,16068,6149,-1348,-1244,3122,8594,14649,18634,15276,3510,-9553,-14425,-8159,3769,13278,15936,12530,6618,1206,-2965,-6483,-8993,-8747,-5047,-383,1353,-931,-4146,-4520,-1828,656,169,-2497,-4217,-3173,-611,880,215,-1423,-2304,-2036,-1595,-1864,-2586,-2795,-2064,-1108,-1061,-2141,-3258,-3146,-1829,-596,-449,-999,-1202,-815,-537,-821,-1194,-999,-335,121,-17,-507,-883,-896,-599,-260,-189,-440,-691,-616,-357,-366,-772,-1154,-1104,-757,-561,-674,-823,-741,-482,-281,-268,-394,-539,-597,-535,-426,-381,-401,-379,-268,-184,-237,-352,-355,-232,-157,-252,-426,-506,-437,-307,-210,-180,-199,-224,-199,-117,-41,-30,-61,-70,-64,-96,-159,-175,-119,-57,-49,-69,-68,-55,-61,-82,-102,-140,-200,-231,-191,-122,-93,-96,-74,-32,-30,-76,-104,-96,-111,-184,-246,-225,-149,-85,-30,53,136,137,40,-75,-130,-128,-115,-104,-75,-13,71,144,163,109,7,-97,-185,-264,-317,-304,-222,-130,-89,-94,-101,-93,-90,-100,-109,-103,-93,-92,-93,-81,-52,-18,9,17,-2,-35,-56,-52,-35,-33,-50,-59,-33,24,87,134,156,150,108,41,-22,-50,-35,5,43,72,110,169,233,259,221,148,97,91,112,137,172,219,251,240,208,193,201,208,204,208,223,233,239,259,276,234,118}
},
{ // H-10e120a.wav
{3,1,-1,0,2,1,0,0,1,0,0,1,1,0,0,1,1,-1,-1,2,3,1,-1,1,2,0,-1,1,2,0,1,4,2,-4,-1,9,9,-4,-6,12,17,-6,-18,12,36,4,-29,11,53,0,36,538,1445,1933,1151,-643,-2061,-1954,-608,672,1012,687,443,538,678,658,733,1296,2360,3410,3753,3071,1734,566,168,434,787,847,733,696,680,429,-55,-413,-363,-64,81,-91,-362,-454,-348,-214,-147,-87,37,204,381,595,858,1078,1131,997,764,511,249,-23,-268,-458,-603,-714,-769,-764,-761,-817,-899,-923,-862,-778,-731,-717,-709,-698,-677,-628,-558,-508,-505,-521,-516,-494,-481,-476,-466,-468,-508,-561,-565,-512,-470,-489,-537,-551,-531,-524,-542,-542,-502,-465,-477,-525,-553,-540,-515,-510,-516,-506,-470,-425,-387,-359,-338,-328,-335,-353,-366,-354,-315,-266,-228,-208,-204,-212,-226,-232,-220,-200,-194,-211,-235,-244,-237,-232,-241,-260,-275,-276,-267,-260,-262,-265,-256,-238,-229,-235,-242,-239,-238,-254,-282,-296,-287,-271,-263,-260,-254,-253,-267,-286,-288,-268,-244,-230,-219,-200,-175,-156,-149,-145,-138,-129,-120,-110,-98,-85,-76,-70,-66,-66,-72,-80,-83,-80,-75,-75,-82,-91,-91,-78,-63,-59,-69,-81,-81,-69,-55,-46,-42,-40,-38,-35,-31,-26,-20,-13,-7,-2},
{327,-124,-426,42,549,60,-699,-187,872,203,-1070,2127,10770,15869,6930,-12940,-26393,-20144,-355,14661,14694,5635,-1323,-1804,2166,8462,15381,18512,13097,621,-10400,-12082,-4253,6670,14009,15108,11224,5355,29,-4000,-7161,-9110,-8246,-4076,688,2047,-890,-4606,-5035,-2060,692,254,-2474,-4182,-3067,-541,809,122,-1305,-1985,-1855,-1834,-2386,-2976,-2829,-1875,-907,-860,-1871,-2999,-3089,-2015,-831,-515,-869,-1011,-677,-462,-782,-1201,-1071,-430,87,44,-408,-826,-887,-573,-170,-52,-295,-566,-542,-352,-391,-734,-1029,-995,-779,-677,-726,-737,-608,-430,-329,-349,-473,-622,-672,-566,-418,-381,-442,-445,-334,-237,-261,-317,-263,-129,-92,-228,-407,-463,-376,-254,-190,-193,-218,-215,-158,-79,-41,-65,-102,-105,-100,-135,-187,-180,-104,-33,-25,-47,-47,-28,-24,-37,-61,-114,-194,-243,-215,-145,-103,-94,-74,-49,-67,-126,-161,-150,-150,-196,-234,-207,-139,-81,-25,59,134,128,37,-58,-98,-97,-86,-69,-37,0,32,56,61,27,-42,-118,-185,-246,-288,-278,-214,-147,-117,-110,-87,-48,-26,-35,-57,-80,-108,-134,-144,-131,-98,-50,4,34,13,-38,-71,-63,-45,-48,-58,-42,3,55,97,125,138,125,86,33,-15,-37,-20,27,77,111,142,191,244,259,214,144,94,84,106,147,193,225,232,222,211,203,200,206,219,225,218,224,261,291,247,124}
},
{ // H-10e125a.wav
{1,2,3,2,0,1,3,3,1,1,2,1,0,1,2,1,-1,1,4,3,-1,0,3,3,1,3,5,2,-1,3,7,1,-4,6,16,5,-12,-1,23,15,-17,-11,32,33,-19,-21,48,46,-18,240,1125,2111,2022,348,-1830,-2719,-1676,166,1230,1098,565,408,592,701,733,1154,2240,3581,4306,3822,2366,850,106,228,648,814,681,532,484,372,56,-331,-541,-498,-346,-250,-248,-291,-340,-374,-360,-273,-146,-58,-41,-41,5,106,242,421,648,852,921,823,629,403,125,-215,-519,-661,-647,-606,-621,-660,-679,-712,-792,-863,-845,-750,-664,-630,-623,-624,-640,-650,-600,-494,-424,-465,-567,-613,-557,-468,-429,-448,-476,-482,-488,-524,-576,-591,-541,-471,-451,-489,-523,-510,-483,-497,-539,-549,-508,-458,-435,-421,-388,-350,-342,-360,-364,-341,-318,-312,-305,-277,-246,-239,-249,-246,-220,-194,-192,-210,-227,-233,-236,-242,-245,-234,-213,-203,-216,-244,-266,-274,-276,-283,-288,-280,-264,-256,-266,-284,-296,-297,-291,-280,-264,-251,-251,-262,-270,-266,-258,-255,-254,-244,-229,-217,-211,-202,-183,-160,-139,-124,-115,-109,-103,-97,-93,-91,-87,-81,-77,-81,-88,-90,-88,-90,-100,-107,-103,-93,-88,-93,-99,-99,-93,-85,-78,-71,-63,-55,-47,-40,-35,-31,-27,-21,-14,-6,0,3,3,1},
{70,242,-40,-341,-7,462,95,-596,-206,755,231,-930,1842,9685,14670,7051,-10934,-23839,-19133,-1469,12948,14147,6240,-1046,-2769,625,7479,15077,18141,12376,302,-9453,-10022,-2183,7762,14005,14483,10325,4220,-1162,-4662,-6798,-7985,-7254,-3823,471,2018,-565,-4388,-5312,-2633,336,358,-2098,-3877,-3055,-817,469,37,-1002,-1512,-1579,-1887,-2591,-3153,-2995,-2072,-981,-603,-1349,-2578,-3065,-2318,-1143,-620,-808,-931,-628,-380,-624,-1033,-1010,-526,-86,-52,-332,-635,-750,-604,-305,-112,-184,-369,-412,-336,-404,-687,-930,-904,-719,-633,-691,-718,-598,-407,-301,-358,-539,-717,-754,-624,-449,-376,-406,-424,-372,-320,-321,-313,-217,-78,-39,-158,-336,-419,-357,-226,-145,-161,-221,-234,-163,-69,-35,-72,-117,-132,-146,-185,-206,-153,-52,15,11,-18,-25,-15,-9,-13,-40,-117,-225,-285,-246,-161,-111,-104,-94,-76,-93,-141,-166,-157,-161,-201,-227,-193,-126,-66,-4,82,150,138,52,-37,-87,-115,-138,-142,-110,-51,15,74,100,65,-26,-133,-224,-289,-314,-279,-192,-102,-51,-37,-36,-39,-51,-75,-107,-141,-163,-156,-124,-89,-64,-37,-3,10,-20,-63,-69,-35,-7,-15,-37,-36,-7,32,71,105,126,123,95,53,16,4,25,59,87,114,159,214,249,237,186,125,82,76,114,174,219,234,234,231,220,205,210,236,243,215,199,238,290,258,129}
},
{ // H-10e130a.wav
{1,1,-1,0,3,2,-2,-3,1,3,-1,-3,-1,1,-1,-2,1,1,-1,-2,0,1,-2,-2,4,5,-2,-3,4,4,-5,-4,10,11,-10,-15,12,23,-11,-31,13,50,4,-47,11,79,6,38,716,1974,2650,1524,-1053,-3087,-2893,-862,1076,1566,962,421,447,670,771,1081,2107,3685,4854,4657,3068,1108,-28,16,602,907,739,490,444,406,56,-542,-957,-890,-498,-207,-264,-541,-723,-632,-359,-124,-62,-139,-223,-218,-133,-61,-71,-126,-124,-15,150,315,485,653,710,546,230,-26,-120,-168,-315,-515,-610,-563,-504,-547,-662,-751,-770,-738,-690,-656,-651,-657,-639,-609,-617,-659,-657,-572,-477,-460,-492,-479,-414,-398,-483,-590,-618,-571,-520,-495,-477,-463,-479,-522,-546,-521,-469,-428,-404,-387,-381,-399,-430,-444,-424,-389,-366,-354,-331,-290,-253,-243,-254,-258,-240,-221,-224,-242,-248,-237,-232,-244,-251,-233,-204,-194,-204,-215,-216,-220,-236,-254,-267,-281,-302,-316,-311,-299,-302,-322,-334,-322,-301,-291,-291,-284,-265,-251,-252,-261,-264,-257,-247,-234,-216,-194,-179,-177,-180,-175,-156,-131,-111,-100,-94,-88,-80,-74,-72,-77,-88,-103,-117,-126,-130,-131,-128,-119,-108,-102,-106,-112,-112,-105,-97,-91,-84,-74,-66,-65,-69,-70,-65,-57,-45,-28,-8,6,9,6,3,2,2,1},
{-213,44,254,4,-322,-75,398,167,-495,-296,601,361,-791,1006,7684,13290,8540,-6855,-20430,-19303,-4559,10222,13895,7513,-429,-3686,-1166,5645,13606,17472,13031,2184,-7310,-8646,-1811,7593,13741,14140,9682,3233,-2099,-4856,-5834,-6313,-6016,-3830,-423,1371,-331,-3780,-5248,-3279,-288,435,-1503,-3514,-3320,-1371,200,211,-666,-1283,-1429,-1674,-2329,-3025,-3148,-2453,-1339,-651,-992,-2046,-2757,-2428,-1482,-856,-845,-939,-724,-444,-481,-728,-778,-524,-246,-200,-369,-585,-687,-589,-352,-186,-231,-363,-365,-261,-299,-569,-835,-845,-657,-529,-577,-669,-641,-487,-346,-354,-523,-732,-814,-707,-511,-376,-350,-364,-358,-343,-347,-338,-263,-142,-73,-131,-273,-373,-339,-202,-87,-87,-178,-252,-237,-158,-94,-83,-97,-107,-123,-158,-180,-145,-63,6,24,13,3,-12,-44,-79,-112,-168,-248,-295,-258,-176,-129,-134,-135,-109,-101,-133,-166,-163,-152,-169,-189,-160,-92,-34,2,42,85,81,1,-117,-201,-213,-163,-88,-25,18,47,64,50,-10,-95,-166,-213,-248,-262,-227,-150,-84,-72,-102,-128,-130,-117,-103,-95,-99,-115,-131,-132,-118,-94,-62,-27,-4,-8,-32,-50,-46,-32,-26,-32,-36,-18,23,69,99,109,109,101,80,53,42,52,65,71,87,131,185,211,195,154,112,89,98,139,189,223,238,241,232,213,205,222,236,223,205,222,251,220,111}
},
{ // H-10e135a.wav
{0,-1,2,4,1,-2,0,3,0,-3,-1,4,2,-3,-1,4,2,-2,-1,3,1,-2,2,6,1,-3,4,8,-3,-10,8,22,2,-24,-5,32,15,-35,-21,46,43,-36,-32,75,68,-32,347,1605,2923,2636,151,-2873,-3923,-2250,412,1834,1516,646,339,570,817,1126,2064,3742,5271,5430,3868,1558,-27,-211,436,894,771,469,425,493,214,-489,-1141,-1255,-879,-498,-470,-685,-793,-653,-448,-385,-419,-356,-150,20,-11,-189,-314,-272,-132,-48,-104,-232,-274,-136,93,230,211,159,200,279,249,96,-56,-141,-235,-395,-539,-563,-505,-487,-549,-631,-694,-747,-783,-757,-673,-612,-627,-662,-629,-530,-445,-427,-455,-486,-510,-538,-566,-574,-550,-508,-480,-490,-523,-534,-496,-432,-384,-365,-357,-347,-351,-378,-409,-414,-392,-365,-353,-356,-361,-353,-321,-271,-225,-203,-208,-225,-240,-250,-257,-262,-264,-260,-247,-222,-192,-172,-170,-183,-201,-218,-233,-245,-256,-275,-306,-336,-348,-341,-332,-329,-327,-320,-314,-314,-312,-299,-283,-275,-270,-256,-238,-231,-236,-239,-230,-215,-198,-175,-144,-120,-116,-122,-120,-107,-94,-86,-79,-70,-67,-75,-88,-102,-119,-141,-160,-166,-162,-155,-149,-137,-118,-98,-85,-81,-81,-82,-83,-83,-84,-84,-82,-77,-72,-66,-60,-52,-41,-27,-9,8,16,17,18,23,24,14},
{12,-163,-71,178,111,-218,-186,245,272,-290,-406,324,506,-485,84,5075,11268,10258,-1487,-15665,-19272,-8736,6150,13063,9098,850,-4111,-2941,3194,11107,16155,14191,5521,-3965,-7339,-2577,6267,13031,13967,9413,2668,-2556,-4649,-4741,-4723,-4823,-3778,-1337,538,-220,-3009,-4914,-3960,-1304,201,-770,-2768,-3452,-2158,-303,434,-181,-1114,-1508,-1530,-1830,-2534,-3030,-2710,-1722,-913,-981,-1758,-2395,-2268,-1584,-1029,-934,-1024,-925,-652,-472,-479,-509,-422,-286,-266,-423,-655,-770,-642,-358,-174,-243,-426,-462,-323,-248,-396,-625,-690,-572,-468,-508,-607,-621,-531,-436,-421,-501,-631,-730,-723,-599,-439,-340,-320,-328,-327,-323,-314,-271,-191,-144,-198,-320,-391,-330,-175,-40,-16,-103,-229,-299,-268,-173,-89,-54,-52,-60,-83,-117,-127,-88,-31,-12,-40,-78,-99,-106,-114,-132,-175,-243,-296,-288,-229,-179,-166,-155,-120,-92,-100,-120,-114,-100,-117,-154,-159,-120,-85,-85,-89,-64,-31,-38,-90,-137,-138,-99,-58,-39,-33,-21,0,11,-10,-59,-115,-168,-223,-268,-271,-222,-159,-132,-139,-142,-120,-96,-95,-112,-125,-130,-134,-133,-116,-83,-49,-28,-22,-28,-43,-57,-54,-32,-10,-7,-16,-12,20,63,96,111,113,105,89,68,50,42,45,56,74,98,126,156,172,161,131,110,120,156,195,226,248,255,242,219,206,204,202,203,219,231,191,95}
},
{ // H-10e140a.wav
{0,5,5,0,-1,2,2,-2,-2,2,2,-3,-2,4,5,-1,-2,2,2,-1,2,9,3,-8,-2,13,7,-15,-9,22,23,-15,-25,18,34,-16,-41,21,63,-9,-62,39,118,-4,96,1140,2845,3477,1542,-2086,-4517,-3742,-742,1724,2071,1074,331,399,788,1224,2152,3875,5660,6137,4645,2041,22,-393,337,977,861,383,220,392,321,-325,-1145,-1476,-1159,-674,-554,-823,-1076,-1000,-692,-450,-393,-388,-308,-210,-207,-274,-288,-204,-108,-96,-171,-263,-299,-260,-206,-241,-382,-481,-365,-63,196,248,170,139,185,191,74,-117,-282,-375,-416,-456,-537,-647,-719,-709,-669,-682,-732,-718,-613,-521,-526,-577,-571,-507,-474,-512,-566,-581,-570,-559,-539,-499,-457,-430,-407,-378,-369,-396,-424,-405,-348,-310,-317,-335,-325,-303,-310,-344,-361,-334,-288,-265,-275,-290,-282,-259,-247,-256,-262,-246,-220,-212,-225,-235,-223,-198,-182,-182,-187,-195,-210,-231,-249,-265,-293,-334,-365,-364,-343,-333,-341,-346,-331,-310,-302,-300,-285,-256,-237,-241,-256,-263,-258,-250,-240,-220,-188,-157,-139,-132,-123,-102,-78,-67,-74,-82,-76,-66,-72,-96,-117,-126,-136,-157,-178,-184,-174,-162,-152,-137,-117,-100,-90,-82,-72,-69,-76,-86,-89,-86,-85,-84,-79,-72,-67,-64,-58,-47,-34,-18,2,18,24,23,25,30,27,14},
{81,51,-98,-113,85,155,-83,-218,66,291,-44,-395,6,501,-56,-435,2447,8313,10882,4042,-9212,-17515,-12805,610,10740,10401,2890,-3654,-4306,579,7905,13823,14684,9199,568,-5042,-3466,3880,11337,13677,9803,2878,-2627,-4452,-3772,-3175,-3607,-3742,-2317,-300,49,-1960,-4359,-4659,-2623,-445,-246,-1833,-3144,-2644,-888,347,111,-907,-1519,-1478,-1480,-2004,-2623,-2600,-1862,-1118,-1066,-1664,-2242,-2220,-1652,-1065,-868,-981,-1043,-868,-603,-462,-449,-404,-269,-188,-327,-635,-850,-757,-434,-196,-256,-486,-572,-401,-199,-237,-485,-658,-579,-374,-287,-390,-541,-588,-520,-438,-434,-522,-633,-671,-594,-462,-376,-364,-362,-318,-264,-248,-243,-197,-142,-174,-310,-432,-413,-268,-118,-55,-82,-153,-215,-221,-158,-69,-16,-15,-31,-44,-68,-104,-124,-111,-97,-113,-144,-155,-144,-133,-143,-183,-248,-309,-317,-257,-178,-133,-120,-101,-71,-63,-81,-95,-98,-124,-182,-224,-207,-151,-106,-78,-42,-6,-12,-73,-145,-171,-142,-88,-42,-13,5,14,5,-34,-96,-156,-197,-225,-249,-251,-212,-154,-127,-148,-178,-177,-150,-128,-118,-109,-99,-99,-108,-104,-79,-50,-34,-30,-31,-37,-46,-45,-22,15,36,28,10,16,52,92,108,101,90,82,65,41,32,51,76,79,70,84,127,163,163,140,127,140,172,214,254,272,262,236,212,189,167,168,202,231,196,97}
},
{ // H-10e145a.wav
{5,1,-3,0,3,-1,-5,-1,3,0,-4,0,4,1,-3,-1,1,-4,-4,6,8,-6,-11,4,10,-9,-18,8,25,-5,-33,-1,37,1,-51,-9,65,22,-76,-19,125,61,-20,719,2536,3960,2859,-905,-4583,-5085,-2233,1177,2490,1659,477,193,625,1275,2337,4155,6129,6816,5338,2467,81,-529,272,1085,1010,387,63,233,284,-300,-1226,-1718,-1420,-775,-496,-797,-1241,-1298,-931,-559,-505,-631,-589,-308,-76,-148,-423,-579,-440,-145,25,-68,-299,-425,-350,-235,-305,-548,-715,-630,-404,-245,-186,-97,75,226,265,225,169,91,-35,-180,-308,-425,-534,-586,-561,-538,-601,-716,-761,-696,-604,-566,-563,-546,-528,-553,-617,-662,-640,-554,-444,-362,-347,-393,-445,-454,-427,-401,-388,-368,-334,-308,-309,-326,-331,-310,-272,-235,-221,-241,-283,-315,-320,-311,-310,-316,-305,-271,-232,-209,-203,-205,-209,-216,-222,-220,-209,-202,-212,-238,-262,-264,-246,-234,-251,-293,-332,-351,-356,-359,-358,-348,-332,-319,-307,-285,-257,-244,-254,-268,-270,-266,-265,-259,-235,-201,-178,-171,-161,-135,-105,-88,-80,-69,-57,-59,-78,-98,-108,-115,-128,-148,-169,-187,-198,-198,-184,-161,-138,-119,-103,-88,-71,-61,-63,-76,-92,-103,-105,-103,-98,-90,-80,-73,-72,-73,-68,-56,-45,-37,-23,0,23,29,18,7,11,24,29,17},
{-66,22,87,-10,-126,-33,137,58,-170,-112,191,165,-235,-256,270,305,-368,488,4777,9509,8061,-1800,-12911,-14908,-5617,6210,10349,5294,-2081,-4856,-1706,4541,10532,13577,11776,5563,-1120,-3144,1239,8443,12572,10464,4002,-2074,-4401,-3384,-1907,-2027,-3121,-3207,-1684,-211,-736,-3049,-4814,-4130,-1708,-92,-769,-2538,-3038,-1577,202,458,-711,-1731,-1685,-1221,-1344,-2021,-2390,-1983,-1257,-969,-1364,-2029,-2339,-1989,-1250,-718,-734,-1038,-1109,-808,-488,-460,-567,-476,-204,-113,-401,-807,-918,-656,-327,-247,-415,-574,-533,-356,-257,-339,-493,-533,-417,-278,-256,-345,-426,-421,-375,-383,-472,-581,-629,-592,-510,-436,-381,-328,-273,-243,-255,-272,-240,-168,-134,-199,-323,-405,-385,-290,-189,-130,-122,-139,-137,-89,-26,-4,-35,-74,-83,-84,-111,-149,-155,-132,-127,-168,-224,-251,-239,-213,-199,-207,-229,-244,-229,-189,-148,-123,-109,-103,-114,-134,-140,-127,-127,-158,-184,-163,-109,-77,-85,-98,-91,-84,-105,-140,-145,-110,-66,-46,-50,-58,-61,-66,-78,-96,-117,-143,-180,-224,-252,-243,-208,-180,-181,-197,-200,-179,-147,-117,-93,-79,-80,-92,-97,-82,-53,-28,-20,-24,-30,-35,-33,-16,18,48,47,21,7,30,70,89,80,67,66,65,54,45,52,66,71,67,69,88,117,142,153,152,157,185,229,256,250,230,216,197,164,145,173,214,195,99}
},
{ // H-10e150a.wav
{-3,-1,2,-1,-6,-3,2,0,-6,-3,3,1,-5,-4,1,-2,-6,1,8,-1,-11,-1,11,-4,-22,-3,25,7,-33,-17,33,19,-47,-35,57,56,-64,-73,93,123,-32,399,2107,4099,3956,513,-4089,-6068,-3897,150,2613,2334,870,84,352,1170,2473,4517,6737,7600,6038,2812,47,-685,275,1296,1240,434,-83,66,247,-254,-1287,-2000,-1813,-1040,-510,-684,-1236,-1484,-1161,-661,-499,-687,-791,-548,-214,-195,-490,-702,-552,-207,-35,-174,-419,-493,-355,-221,-303,-563,-751,-691,-486,-376,-436,-500,-401,-182,-18,5,-29,5,127,237,210,23,-214,-360,-397,-427,-517,-607,-610,-562,-569,-646,-693,-643,-565,-558,-612,-633,-576,-481,-410,-393,-422,-465,-472,-422,-353,-324,-341,-355,-340,-326,-346,-370,-341,-256,-179,-173,-235,-299,-316,-290,-263,-261,-274,-277,-263,-249,-246,-239,-215,-190,-188,-208,-223,-219,-217,-235,-261,-272,-267,-265,-271,-274,-275,-289,-316,-334,-328,-315,-317,-327,-317,-288,-270,-275,-285,-281,-275,-284,-296,-283,-248,-215,-202,-199,-183,-150,-117,-100,-96,-93,-85,-78,-84,-101,-114,-116,-119,-139,-167,-180,-175,-171,-182,-195,-189,-165,-138,-115,-92,-70,-52,-42,-40,-48,-67,-92,-112,-122,-122,-111,-91,-74,-69,-74,-74,-62,-46,-35,-28,-17,0,18,29,27,15,4,7,19,24,14},
{28,-41,-45,45,64,-55,-109,32,132,-25,-180,-8,218,31,-289,-82,351,68,-292,1679,6328,9110,4632,-5776,-13262,-10478,-131,7798,6952,445,-4193,-3201,1620,6947,10826,12003,9417,3984,-470,-73,4980,10077,10441,5562,-681,-3971,-3344,-1298,-676,-1873,-3069,-2735,-1389,-809,-1891,-3631,-4231,-3037,-1227,-537,-1376,-2412,-2175,-803,175,-240,-1357,-1820,-1355,-917,-1261,-1972,-2144,-1580,-943,-902,-1449,-2036,-2139,-1674,-1023,-688,-820,-1083,-1053,-728,-474,-503,-602,-486,-243,-221,-531,-866,-870,-566,-308,-343,-556,-652,-512,-300,-233,-331,-434,-411,-299,-215,-216,-262,-297,-303,-307,-347,-441,-557,-613,-558,-437,-344,-312,-293,-250,-220,-238,-264,-237,-181,-187,-272,-344,-314,-204,-109,-91,-138,-209,-257,-243,-160,-60,-6,-7,-27,-54,-112,-192,-237,-217,-179,-184,-228,-257,-250,-233,-228,-225,-216,-211,-210,-197,-171,-152,-151,-148,-128,-104,-94,-97,-103,-116,-143,-167,-168,-149,-135,-129,-112,-82,-66,-85,-124,-149,-137,-100,-68,-60,-75,-93,-100,-103,-120,-152,-182,-205,-233,-261,-262,-225,-181,-170,-187,-188,-152,-110,-93,-93,-87,-72,-62,-60,-51,-30,-9,-5,-13,-23,-25,-14,10,34,41,31,20,28,53,77,84,75,66,64,63,53,40,42,62,79,75,66,86,130,158,155,153,180,217,230,224,221,218,195,164,160,178,163,88}
},
{ // H-10e155a.wav
{5,4,-2,-2,4,4,-2,-2,6,8,1,-2,2,2,-2,2,10,4,-6,2,16,5,-18,-7,27,19,-27,-27,30,38,-34,-54,40,86,-24,-95,42,147,9,224,1714,3997,4696,1873,-3180,-6511,-5416,-1230,2287,2887,1473,202,104,948,2514,4872,7404,8484,6849,3199,-75,-1008,185,1586,1655,617,-219,-163,169,-185,-1284,-2225,-2206,-1384,-645,-649,-1213,-1608,-1384,-813,-504,-654,-859,-692,-281,-136,-458,-871,-887,-487,-95,-62,-324,-554,-555,-428,-404,-558,-741,-762,-601,-412,-339,-385,-461,-493,-458,-354,-210,-85,-20,-4,-15,-57,-122,-150,-104,-55,-120,-299,-464,-523,-523,-549,-598,-601,-543,-476,-448,-468,-523,-582,-593,-527,-435,-397,-416,-411,-343,-276,-286,-351,-385,-353,-306,-293,-298,-280,-245,-237,-269,-308,-312,-277,-231,-202,-202,-220,-235,-228,-196,-159,-147,-171,-216,-252,-264,-260,-252,-245,-240,-247,-270,-298,-310,-295,-275,-278,-306,-331,-330,-308,-286,-274,-267,-261,-260,-269,-280,-283,-282,-287,-295,-290,-260,-216,-177,-148,-121,-92,-72,-72,-86,-96,-95,-94,-110,-143,-172,-182,-176,-163,-150,-139,-138,-156,-185,-201,-187,-154,-127,-113,-98,-75,-52,-38,-32,-29,-34,-52,-77,-96,-105,-109,-109,-100,-84,-71,-62,-52,-40,-32,-32,-30,-17,5,23,29,26,18,11,9,15,25,26,15},
{-7,32,10,-45,-21,59,36,-79,-76,75,101,-86,-153,75,199,-77,-274,65,337,-104,-10,2709,7025,7882,1741,-7580,-11539,-6315,2520,6338,2952,-2240,-3523,-493,3785,7301,9799,10583,8464,4271,1427,2619,6489,8730,6547,1429,-2626,-3171,-1306,68,-589,-2265,-3026,-2315,-1372,-1610,-2941,-3901,-3324,-1678,-585,-1013,-2165,-2437,-1360,-156,-164,-1171,-1799,-1357,-630,-686,-1478,-2055,-1843,-1206,-823,-938,-1318,-1623,-1647,-1414,-1149,-1065,-1102,-1007,-720,-507,-573,-734,-669,-399,-274,-479,-775,-827,-618,-432,-471,-642,-710,-566,-321,-167,-188,-298,-350,-292,-200,-164,-187,-218,-236,-272,-341,-415,-452,-440,-398,-358,-343,-348,-340,-294,-238,-226,-254,-256,-198,-139,-159,-238,-269,-204,-108,-77,-131,-215,-277,-300,-283,-234,-178,-131,-86,-40,-28,-86,-185,-255,-272,-271,-283,-287,-254,-207,-193,-219,-251,-259,-238,-194,-136,-92,-84,-103,-122,-134,-145,-151,-142,-135,-151,-177,-176,-145,-126,-137,-145,-120,-88,-87,-109,-116,-103,-100,-119,-136,-135,-128,-131,-138,-142,-150,-173,-205,-229,-236,-227,-209,-191,-181,-181,-182,-175,-154,-120,-83,-58,-49,-47,-40,-27,-23,-31,-36,-25,-10,-8,-12,1,33,56,47,23,18,41,66,68,55,53,65,67,49,34,45,68,71,52,46,72,108,131,144,163,181,188,193,208,218,202,175,167,172,145,72}
},
{ // H-10e160a.wav
{-4,-6,-1,1,-3,-4,2,3,-2,-3,0,0,-5,-2,7,4,-8,-5,11,7,-17,-16,17,21,-21,-35,14,38,-21,-61,12,79,0,-91,7,134,28,137,1436,3806,5091,2940,-2135,-6427,-6505,-2697,1478,3058,2098,586,18,661,2418,5183,8105,9384,7659,3641,-100,-1323,-60,1681,2040,975,-156,-353,-4,-181,-1235,-2374,-2595,-1799,-853,-638,-1171,-1706,-1612,-1033,-611,-676,-893,-775,-352,-115,-361,-808,-956,-679,-316,-230,-423,-617,-606,-467,-435,-619,-864,-927,-758,-554,-504,-556,-516,-330,-159,-162,-294,-379,-330,-236,-231,-333,-430,-406,-264,-123,-83,-126,-172,-205,-281,-398,-446,-344,-180,-137,-292,-532,-686,-688,-589,-467,-376,-341,-363,-404,-421,-402,-369,-335,-297,-264,-270,-325,-383,-380,-310,-240,-232,-276,-306,-285,-242,-225,-233,-224,-176,-123,-107,-128,-153,-167,-187,-229,-270,-280,-269,-270,-295,-315,-309,-288,-279,-283,-284,-280,-284,-298,-303,-289,-277,-288,-311,-313,-284,-251,-243,-261,-281,-287,-280,-267,-245,-207,-161,-125,-108,-97,-75,-48,-41,-68,-110,-143,-167,-197,-227,-228,-194,-153,-139,-148,-155,-152,-155,-170,-181,-168,-137,-108,-91,-79,-63,-46,-39,-44,-51,-56,-63,-78,-92,-92,-78,-66,-68,-77,-76,-63,-48,-38,-32,-25,-18,-9,4,18,24,19,10,4,-1,-3,5,21,28,17},
{-6,-25,4,32,-7,-50,-3,62,7,-93,-41,98,58,-127,-110,131,150,-156,-219,174,268,-208,339,3433,7064,6445,-125,-7653,-9136,-3634,2612,3637,197,-2480,-1490,1534,4182,6353,8703,10147,8935,5632,3205,3639,5530,5772,3163,-388,-2153,-1453,3,244,-996,-2419,-2824,-2288,-1830,-2200,-3102,-3499,-2694,-1185,-331,-919,-2157,-2497,-1481,-302,-259,-1136,-1642,-1197,-577,-692,-1381,-1793,-1549,-1055,-824,-919,-1100,-1185,-1172,-1166,-1276,-1452,-1439,-1050,-500,-253,-475,-809,-829,-575,-441,-615,-848,-821,-567,-398,-492,-691,-711,-480,-199,-94,-176,-276,-266,-179,-121,-130,-176,-229,-274,-302,-313,-341,-400,-430,-367,-252,-200,-248,-304,-283,-229,-222,-241,-195,-85,-23,-83,-195,-247,-228,-215,-249,-296,-313,-298,-269,-234,-202,-185,-181,-174,-165,-174,-202,-224,-230,-245,-289,-333,-334,-287,-227,-177,-136,-110,-112,-137,-158,-165,-174,-192,-198,-176,-146,-135,-140,-143,-145,-159,-179,-183,-167,-151,-144,-134,-112,-92,-95,-119,-144,-155,-154,-152,-155,-161,-160,-149,-144,-161,-187,-199,-192,-189,-201,-212,-204,-191,-197,-215,-209,-163,-106,-70,-53,-38,-23,-23,-38,-51,-47,-30,-14,-4,1,2,4,14,32,43,36,22,20,33,46,46,40,42,50,53,47,42,46,52,52,46,46,66,104,138,150,148,157,180,192,178,160,169,186,161,81}
},
{ // H-10e165a.wav
{1,2,-3,-4,2,5,0,-4,-1,-1,-5,-2,7,4,-9,-7,11,10,-14,-17,13,21,-17,-36,7,38,-13,-60,-2,71,14,-80,-8,119,34,94,1263,3630,5269,3674,-1191,-6006,-7049,-3886,448,2748,2427,1057,216,535,2237,5305,8714,10331,8544,4110,-95,-1543,-221,1711,2227,1200,-13,-345,-78,-229,-1231,-2432,-2846,-2206,-1210,-775,-1132,-1682,-1724,-1228,-779,-796,-1019,-912,-420,-67,-262,-763,-996,-753,-378,-279,-477,-689,-715,-613,-555,-646,-867,-1094,-1157,-961,-598,-304,-241,-341,-411,-362,-282,-272,-302,-288,-260,-334,-521,-660,-616,-467,-396,-444,-461,-319,-82,93,126,57,-49,-162,-265,-341,-389,-418,-421,-385,-343,-356,-431,-491,-466,-384,-330,-337,-364,-370,-368,-382,-393,-357,-276,-209,-209,-269,-331,-343,-303,-244,-198,-173,-157,-138,-116,-104,-117,-151,-193,-228,-252,-266,-273,-276,-281,-292,-307,-317,-314,-298,-277,-260,-254,-260,-270,-279,-288,-305,-326,-337,-327,-299,-267,-238,-216,-203,-202,-210,-219,-220,-205,-174,-136,-97,-67,-55,-66,-96,-134,-165,-182,-192,-201,-203,-192,-177,-171,-171,-166,-154,-151,-160,-164,-149,-126,-112,-106,-92,-66,-44,-38,-44,-53,-64,-79,-92,-98,-94,-82,-65,-49,-42,-42,-39,-28,-16,-14,-22,-29,-27,-17,-5,6,13,15,13,9,-2,-17,-24,-11,15,30,20},
{10,14,-13,-22,14,29,-20,-45,16,60,-15,-89,-7,101,15,-137,-53,157,84,-198,-138,238,172,-240,679,3831,6708,5246,-913,-6769,-7172,-2735,1246,1335,-661,-1203,342,2104,3340,5310,8472,10807,10072,6782,3746,2872,3350,3151,1559,-268,-920,-329,329,0,-1241,-2449,-2845,-2509,-2158,-2328,-2803,-2859,-2127,-1124,-747,-1213,-1793,-1732,-1178,-858,-1023,-1179,-926,-578,-666,-1147,-1490,-1400,-1074,-818,-721,-762,-930,-1138,-1224,-1170,-1144,-1222,-1236,-1033,-738,-590,-609,-625,-579,-595,-734,-863,-833,-673,-531,-484,-499,-511,-478,-388,-271,-191,-187,-221,-217,-148,-66,-40,-97,-206,-310,-364,-367,-345,-317,-288,-263,-259,-266,-245,-172,-86,-45,-59,-87,-99,-116,-164,-230,-279,-296,-301,-311,-325,-339,-351,-351,-323,-270,-216,-181,-157,-141,-156,-221,-311,-365,-356,-312,-270,-228,-169,-114,-99,-126,-159,-172,-176,-187,-199,-200,-197,-198,-197,-182,-161,-146,-139,-136,-140,-156,-178,-190,-188,-178,-162,-141,-124,-123,-134,-147,-157,-164,-162,-151,-146,-159,-174,-170,-157,-162,-186,-198,-186,-178,-198,-223,-220,-193,-177,-178,-169,-129,-78,-46,-36,-30,-21,-15,-20,-30,-30,-15,1,2,-8,-7,13,35,36,23,18,25,27,19,19,36,53,51,38,33,40,48,51,51,49,48,54,70,90,108,128,148,158,155,159,185,203,167,79}
},
{ // H-10e170a.wav
{-3,-5,-1,2,-1,-3,-1,-3,-7,-3,5,2,-9,-6,8,4,-17,-16,13,18,-18,-36,4,33,-13,-56,-3,61,5,-80,-4,117,26,62,1176,3532,5335,4084,-520,-5490,-7128,-4602,-476,2147,2359,1333,499,627,2189,5356,9112,11117,9449,4732,39,-1735,-389,1769,2432,1354,-2,-407,-98,-174,-1168,-2468,-3043,-2532,-1547,-998,-1205,-1687,-1779,-1369,-944,-921,-1117,-1031,-549,-143,-269,-766,-1045,-809,-378,-242,-461,-678,-648,-552,-707,-1105,-1392,-1299,-942,-647,-565,-580,-538,-441,-388,-417,-467,-459,-368,-237,-163,-239,-453,-674,-776,-761,-707,-626,-461,-233,-87,-118,-225,-215,-43,140,175,60,-92,-198,-254,-279,-277,-258,-252,-293,-371,-446,-484,-480,-449,-412,-389,-388,-396,-381,-327,-262,-235,-268,-323,-338,-293,-227,-189,-186,-183,-156,-120,-105,-123,-157,-194,-233,-274,-297,-283,-241,-211,-222,-260,-287,-286,-275,-273,-278,-280,-279,-283,-290,-291,-287,-293,-312,-321,-294,-241,-198,-189,-197,-196,-183,-177,-185,-186,-167,-141,-132,-140,-145,-140,-137,-146,-157,-157,-152,-160,-184,-202,-195,-173,-157,-154,-155,-154,-155,-160,-162,-145,-114,-90,-85,-82,-63,-36,-27,-40,-57,-67,-78,-97,-112,-104,-77,-52,-40,-34,-21,0,18,23,11,-8,-22,-25,-22,-16,-4,11,17,9,-1,-3,-9,-27,-35,-1,59,86,53},
{-8,-7,13,12,-14,-14,20,21,-26,-33,29,48,-31,-72,19,84,-20,-120,-1,148,19,-194,-49,249,71,-206,964,3954,6206,4484,-917,-5707,-6170,-3129,-320,277,-91,247,1075,1576,2441,5083,9057,11698,10808,7053,3192,1330,1338,1713,1389,552,-3,46,194,-254,-1368,-2486,-2913,-2627,-2230,-2227,-2468,-2382,-1739,-1031,-939,-1477,-1912,-1629,-880,-450,-686,-1136,-1205,-887,-663,-831,-1173,-1266,-968,-542,-378,-624,-1057,-1327,-1307,-1165,-1088,-1042,-903,-722,-695,-862,-1002,-899,-612,-405,-442,-641,-796,-782,-640,-504,-459,-461,-412,-301,-228,-253,-296,-235,-80,32,7,-114,-235,-304,-327,-320,-298,-282,-269,-233,-166,-108,-91,-87,-54,-10,-19,-96,-178,-203,-194,-216,-283,-350,-379,-383,-389,-403,-407,-392,-360,-319,-276,-234,-194,-156,-134,-149,-202,-260,-291,-289,-271,-245,-210,-173,-151,-146,-148,-156,-188,-240,-273,-259,-209,-158,-132,-132,-153,-186,-211,-209,-185,-161,-153,-155,-161,-172,-186,-194,-190,-177,-161,-143,-128,-126,-138,-152,-159,-166,-178,-188,-188,-182,-179,-180,-177,-173,-175,-186,-196,-196,-188,-175,-159,-135,-103,-66,-32,-11,-5,-9,-16,-23,-31,-36,-31,-17,-7,-3,0,7,16,19,14,7,9,17,22,20,22,34,46,45,34,31,37,39,31,29,41,55,60,70,96,122,128,134,170,213,194,99}
},
{ // H-10e175a.wav
{1,3,-1,-2,0,-2,-7,-3,6,2,-10,-6,10,5,-17,-15,15,17,-23,-35,10,32,-22,-59,6,67,-5,-89,4,126,10,30,1158,3536,5378,4241,-171,-5046,-6899,-4853,-1130,1479,2022,1352,663,753,2261,5476,9405,11662,10203,5483,506,-1676,-582,1624,2511,1581,159,-443,-264,-288,-1125,-2348,-3040,-2759,-1923,-1325,-1349,-1679,-1751,-1431,-1108,-1126,-1293,-1141,-599,-151,-266,-808,-1186,-1017,-504,-141,-197,-539,-858,-977,-941,-907,-981,-1128,-1209,-1116,-876,-636,-519,-517,-532,-508,-479,-477,-464,-395,-330,-384,-565,-722,-711,-558,-428,-420,-477,-486,-422,-340,-280,-222,-128,-8,81,85,11,-68,-83,-37,-4,-39,-126,-214,-280,-334,-375,-393,-391,-394,-417,-445,-455,-437,-395,-336,-284,-276,-318,-360,-345,-274,-205,-181,-186,-178,-150,-132,-141,-165,-186,-205,-236,-272,-288,-270,-234,-207,-199,-205,-219,-243,-272,-293,-298,-297,-302,-306,-292,-260,-234,-234,-247,-247,-224,-198,-190,-196,-196,-182,-172,-180,-197,-200,-180,-152,-135,-132,-132,-136,-153,-180,-199,-199,-188,-180,-177,-171,-159,-146,-139,-140,-145,-153,-162,-166,-156,-133,-107,-88,-73,-54,-34,-21,-24,-40,-58,-73,-90,-104,-98,-70,-40,-29,-30,-19,6,25,26,17,10,5,-4,-12,-13,-8,1,14,25,20,1,-13,-11,-8,-13,0,57,125,138,77},
{5,1,-10,-4,13,7,-15,-8,20,11,-27,-22,31,34,-34,-53,25,60,-33,-91,19,111,-17,-152,7,204,-1,-115,1146,3866,5753,4178,-559,-5017,-6090,-3976,-1224,353,872,1020,958,979,2183,5404,9588,12072,10896,6698,2195,-144,67,1299,1838,1257,365,-33,-51,-395,-1365,-2459,-2958,-2710,-2203,-1970,-2033,-2003,-1641,-1193,-1101,-1427,-1732,-1567,-982,-439,-298,-533,-890,-1149,-1213,-1078,-833,-614,-502,-491,-573,-771,-1050,-1270,-1321,-1235,-1109,-962,-775,-607,-574,-690,-832,-870,-786,-641,-499,-418,-436,-530,-621,-653,-637,-587,-479,-307,-144,-81,-124,-194,-217,-184,-135,-120,-170,-262,-319,-283,-185,-103,-67,-39,1,16,-29,-106,-158,-178,-202,-249,-294,-309,-300,-292,-299,-326,-371,-424,-462,-464,-427,-369,-314,-274,-236,-190,-144,-122,-136,-167,-186,-192,-206,-230,-241,-228,-212,-217,-237,-246,-240,-237,-244,-238,-207,-177,-177,-200,-215,-207,-195,-189,-177,-149,-132,-155,-203,-231,-216,-188,-183,-195,-193,-166,-140,-136,-144,-144,-134,-136,-163,-199,-213,-200,-184,-184,-189,-173,-141,-128,-152,-186,-192,-173,-161,-164,-154,-116,-71,-42,-26,-7,8,0,-28,-50,-53,-49,-51,-49,-32,-5,11,10,4,7,17,20,11,0,4,23,33,25,17,29,44,34,10,9,32,40,17,5,39,90,110,113,143,192,188,101}
},
{ // H-10e180a.wav
{-3,-2,4,-1,-10,-4,10,5,-12,-7,13,7,-20,-14,23,20,-31,-39,22,43,-31,-71,17,84,-16,-112,14,153,-9,-19,1190,3680,5482,4188,-232,-4852,-6484,-4616,-1383,902,1565,1232,728,798,2289,5592,9630,11970,10649,6122,1213,-1184,-486,1429,2308,1574,340,-238,-205,-412,-1300,-2402,-2952,-2709,-2098,-1694,-1675,-1773,-1665,-1365,-1183,-1305,-1497,-1353,-814,-308,-279,-675,-1018,-976,-716,-623,-772,-856,-645,-356,-394,-829,-1295,-1431,-1266,-1067,-961,-858,-703,-586,-580,-610,-579,-516,-515,-581,-635,-630,-582,-511,-438,-421,-499,-601,-594,-445,-271,-191,-194,-194,-165,-148,-165,-181,-164,-124,-80,-33,11,29,7,-37,-84,-137,-205,-267,-298,-305,-326,-372,-410,-403,-363,-335,-345,-375,-396,-393,-372,-339,-304,-277,-261,-243,-207,-158,-121,-115,-135,-165,-197,-228,-251,-257,-246,-229,-218,-217,-224,-234,-249,-269,-288,-293,-277,-249,-226,-214,-205,-196,-197,-207,-210,-191,-164,-158,-182,-213,-226,-220,-210,-201,-186,-158,-127,-115,-127,-148,-160,-166,-181,-203,-212,-200,-184,-181,-177,-155,-127,-121,-144,-170,-176,-166,-156,-145,-125,-95,-65,-43,-27,-15,-12,-21,-42,-64,-78,-80,-73,-60,-40,-18,-2,2,4,14,24,21,6,-1,7,14,8,1,7,19,23,21,22,19,4,-11,-4,20,43,71,122,173,166,87},
{-3,-2,4,-1,-10,-4,10,5,-12,-7,13,7,-20,-14,23,20,-31,-39,22,43,-31,-71,17,84,-16,-112,14,153,-9,-19,1190,3680,5482,4188,-232,-4852,-6484,-4616,-1383,902,1565,1232,728,798,2289,5592,9630,11970,10649,6122,1213,-1184,-486,1429,2308,1574,340,-238,-205,-412,-1300,-2402,-2952,-2709,-2098,-1694,-1675,-1773,-1665,-1365,-1183,-1305,-1497,-1353,-814,-308,-279,-675,-1018,-976,-716,-623,-772,-856,-645,-356,-394,-829,-1295,-1431,-1266,-1067,-961,-858,-703,-586,-580,-610,-579,-516,-515,-581,-635,-630,-582,-511,-438,-421,-499,-601,-594,-445,-271,-191,-194,-194,-165,-148,-165,-181,-164,-124,-80,-33,11,29,7,-37,-84,-137,-205,-267,-298,-305,-326,-372,-410,-403,-363,-335,-345,-375,-396,-393,-372,-339,-304,-277,-261,-243,-207,-158,-121,-115,-135,-165,-197,-228,-251,-257,-246,-229,-218,-217,-224,-234,-249,-269,-288,-293,-277,-249,-226,-214,-205,-196,-197,-207,-210,-191,-164,-158,-182,-213,-226,-220,-210,-201,-186,-158,-127,-115,-127,-148,-160,-166,-181,-203,-212,-200,-184,-181,-177,-155,-127,-121,-144,-170,-176,-166,-156,-145,-125,-95,-65,-43,-27,-15,-12,-21,-42,-64,-78,-80,-73,-60,-40,-18,-2,2,4,14,24,21,6,-1,7,14,8,1,7,19,23,21,22,19,4,-11,-4,20,43,71,122,173,166,87}
}
},
{ // elev-20
{ // H-20e000a.wav
{-2,5,6,-11,-17,9,28,-6,-43,-8,48,9,-78,-44,84,71,-102,-129,85,163,-90,-217,84,235,-22,831,4274,7933,6244,-2508,-11438,-11310,-2076,5685,3287,-5038,-7484,313,10310,12814,7713,2265,1140,3065,5845,9401,12567,11296,3616,-5611,-8623,-3562,3239,4439,-706,-6693,-8075,-4172,1363,4085,2184,-2285,-5295,-4617,-1800,4,-245,-858,-319,607,343,-950,-1496,-328,1470,2148,1210,-364,-1339,-1287,-703,-455,-1014,-1992,-2510,-2188,-1628,-1692,-2422,-2993,-2762,-2027,-1552,-1570,-1571,-1078,-346,-64,-462,-966,-858,-130,514,486,-49,-464,-418,-135,2,-98,-249,-281,-194,-90,-63,-132,-222,-247,-228,-280,-433,-544,-463,-255,-138,-220,-380,-436,-348,-224,-186,-262,-383,-444,-406,-342,-343,-391,-381,-286,-206,-220,-260,-223,-126,-73,-95,-123,-123,-135,-176,-188,-141,-103,-148,-252,-331,-351,-337,-312,-275,-243,-241,-256,-247,-208,-176,-176,-192,-202,-206,-209,-204,-196,-198,-212,-218,-211,-211,-216,-192,-124,-57,-46,-84,-123,-132,-122,-109,-102,-122,-184,-249,-244,-150,-40,-3,-44,-88,-72,-3,65,90,71,35,16,37,91,141,154,120,61,18,18,46,58,18,-60,-125,-144,-134,-136,-156,-158,-112,-39,16,37,45,56,56,34,12,17,41,56,57,62,70,54,6,-47,-79,-94,-98,-83,-58,-65,-119,-165,-146,-99,-111,-179,-200,-116},
{-2,5,6,-11,-17,9,28,-6,-43,-8,48,9,-78,-44,84,71,-102,-129,85,163,-90,-217,84,235,-22,831,4274,7933,6244,-2508,-11438,-11310,-2076,5685,3287,-5038,-7484,313,10310,12814,7713,2265,1140,3065,5845,9401,12567,11296,3616,-5611,-8623,-3562,3239,4439,-706,-6693,-8075,-4172,1363,4085,2184,-2285,-5295,-4617,-1800,4,-245,-858,-319,607,343,-950,-1496,-328,1470,2148,1210,-364,-1339,-1287,-703,-455,-1014,-1992,-2510,-2188,-1628,-1692,-2422,-2993,-2762,-2027,-1552,-1570,-1571,-1078,-346,-64,-462,-966,-858,-130,514,486,-49,-464,-418,-135,2,-98,-249,-281,-194,-90,-63,-132,-222,-247,-228,-280,-433,-544,-463,-255,-138,-220,-380,-436,-348,-224,-186,-262,-383,-444,-406,-342,-343,-391,-381,-286,-206,-220,-260,-223,-126,-73,-95,-123,-123,-135,-176,-188,-141,-103,-148,-252,-331,-351,-337,-312,-275,-243,-241,-256,-247,-208,-176,-176,-192,-202,-206,-209,-204,-196,-198,-212,-218,-211,-211,-216,-192,-124,-57,-46,-84,-123,-132,-122,-109,-102,-122,-184,-249,-244,-150,-40,-3,-44,-88,-72,-3,65,90,71,35,16,37,91,141,154,120,61,18,18,46,58,18,-60,-125,-144,-134,-136,-156,-158,-112,-39,16,37,45,56,56,34,12,17,41,56,57,62,70,54,6,-47,-79,-94,-98,-83,-58,-65,-119,-165,-146,-99,-111,-179,-200,-116}
},
{ // H-20e005a.wav
{-2,-2,0,6,11,1,-12,0,24,14,-24,-22,27,33,-36,-60,28,84,-18,-117,-11,136,29,-165,-47,192,61,209,2237,5765,6826,1803,-6686,-10727,-6048,1853,3677,-2102,-7156,-3889,5139,10992,9429,4557,2060,2847,4751,6974,9645,10713,7181,-23,-5357,-4529,403,3396,1152,-3892,-6855,-5306,-874,2755,2948,51,-3111,-3909,-2363,-692,-479,-1004,-744,282,636,-322,-1397,-1105,417,1615,1340,-25,-1202,-1369,-774,-283,-501,-1266,-1900,-1935,-1575,-1409,-1732,-2238,-2395,-2036,-1522,-1328,-1514,-1668,-1386,-758,-275,-247,-459,-485,-226,26,15,-188,-346,-348,-252,-144,-72,-68,-137,-226,-278,-290,-277,-233,-182,-210,-354,-500,-486,-315,-163,-160,-260,-345,-372,-360,-318,-259,-240,-295,-369,-375,-319,-285,-313,-353,-344,-285,-211,-158,-152,-196,-240,-219,-141,-94,-135,-209,-222,-162,-107,-121,-197,-285,-338,-333,-282,-235,-235,-266,-269,-230,-196,-201,-218,-215,-208,-227,-258,-255,-215,-179,-174,-181,-183,-186,-187,-161,-99,-42,-33,-68,-108,-131,-140,-140,-142,-165,-208,-228,-179,-83,-17,-21,-56,-65,-35,11,50,67,50,13,2,43,108,144,136,106,68,24,-18,-51,-92,-158,-218,-221,-166,-110,-87,-69,-23,33,57,47,24,2,-14,-8,28,71,95,97,85,53,-3,-65,-114,-155,-191,-190,-139,-89,-100,-149,-161,-134,-144,-208,-228,-135},
{11,-2,-22,-6,32,22,-38,-44,32,54,-44,-93,30,126,-15,-178,-37,201,70,-242,-114,264,114,148,2612,7297,8952,2410,-9063,-14592,-7986,3362,6393,-1363,-8515,-4418,7503,14867,11826,4270,354,1533,4814,8794,13019,14043,7840,-3242,-10379,-7621,920,5646,2056,-5380,-9177,-6383,-122,4271,3696,-768,-5083,-5801,-3150,-408,-17,-1062,-1152,126,923,55,-1241,-1034,729,2242,2045,474,-1010,-1366,-768,-244,-671,-1926,-2968,-2929,-2109,-1654,-2202,-3156,-3454,-2825,-1952,-1514,-1423,-1144,-542,-103,-274,-809,-983,-438,376,715,370,-178,-391,-226,-22,-23,-172,-291,-288,-198,-116,-112,-163,-176,-129,-142,-304,-501,-527,-367,-234,-285,-428,-474,-378,-243,-166,-172,-254,-378,-467,-468,-421,-395,-378,-309,-211,-172,-213,-241,-180,-75,-17,-23,-51,-79,-108,-128,-133,-151,-212,-290,-339,-353,-357,-346,-302,-255,-256,-291,-285,-220,-164,-170,-196,-182,-148,-156,-198,-211,-178,-156,-183,-225,-236,-220,-195,-155,-98,-61,-83,-148,-193,-182,-132,-86,-82,-136,-218,-256,-201,-93,-28,-51,-107,-116,-55,37,110,126,84,29,25,85,150,159,118,74,48,35,42,72,89,46,-39,-98,-99,-91,-120,-162,-163,-114,-52,-6,25,47,63,73,76,65,45,31,31,35,40,53,63,39,-21,-70,-73,-54,-51,-57,-56,-69,-114,-141,-101,-60,-131,-282,-334,-198}
},
{ // H-20e010a.wav
{0,-1,-1,-2,-1,6,8,-3,-9,7,20,-1,-26,-5,32,10,-48,-33,51,54,-55,-89,39,107,-35,-128,42,144,2,588,2981,5777,5149,-626,-7417,-8617,-3081,2642,1933,-3574,-6016,-1254,6240,9453,7085,3520,2382,3305,4783,6790,9060,9214,5264,-748,-4040,-2445,1114,2148,-517,-4127,-5371,-3398,10,2223,1758,-672,-2814,-2989,-1648,-560,-591,-922,-551,209,305,-436,-1013,-599,424,981,528,-501,-1271,-1323,-861,-464,-561,-1073,-1539,-1613,-1411,-1323,-1534,-1811,-1800,-1452,-1099,-1077,-1336,-1483,-1238,-754,-417,-384,-453,-391,-238,-191,-303,-435,-459,-383,-272,-174,-134,-187,-296,-366,-353,-301,-248,-182,-126,-162,-307,-431,-400,-258,-172,-216,-305,-341,-326,-300,-276,-263,-290,-348,-372,-332,-293,-321,-382,-388,-323,-245,-200,-184,-190,-218,-241,-212,-141,-104,-141,-197,-197,-144,-107,-129,-193,-262,-309,-318,-291,-254,-239,-247,-259,-265,-267,-259,-239,-226,-243,-273,-279,-250,-214,-189,-167,-139,-128,-142,-147,-115,-68,-49,-58,-65,-68,-90,-130,-154,-155,-168,-206,-225,-179,-94,-43,-57,-91,-88,-43,9,39,45,37,30,38,66,102,123,109,62,0,-52,-85,-119,-167,-215,-226,-183,-112,-58,-35,-22,1,23,19,-8,-28,-22,2,31,66,106,125,97,31,-36,-84,-124,-168,-199,-201,-185,-174,-170,-160,-149,-154,-164,-139,-70},
{-11,-17,15,36,-9,-53,-2,67,8,-101,-45,120,87,-140,-156,127,208,-128,-268,129,286,-53,1109,5500,9868,7280,-3904,-14694,-13939,-2389,6641,3240,-6441,-8078,2444,14320,15984,8347,1016,-181,3065,7703,12756,15825,12106,886,-10062,-11349,-2946,5267,4634,-3214,-9526,-8381,-1704,4201,4857,641,-4445,-6377,-4420,-1400,-398,-1347,-1664,-65,1638,1168,-913,-1848,-276,2096,2709,1113,-873,-1448,-608,229,-162,-1703,-3229,-3660,-3012,-2288,-2356,-3026,-3364,-2845,-1949,-1506,-1655,-1722,-1138,-227,153,-296,-873,-697,184,839,595,-179,-592,-310,183,304,13,-323,-438,-358,-228,-149,-147,-183,-186,-164,-213,-370,-500,-444,-254,-161,-285,-484,-539,-408,-239,-186,-268,-379,-412,-364,-326,-358,-406,-376,-275,-203,-204,-206,-142,-56,-21,-25,-16,-7,-55,-141,-182,-153,-131,-180,-268,-328,-348,-352,-346,-327,-312,-312,-302,-251,-183,-153,-178,-218,-227,-203,-167,-141,-136,-153,-177,-193,-202,-212,-207,-163,-90,-44,-68,-142,-208,-224,-192,-133,-87,-98,-172,-244,-231,-126,-25,-20,-93,-142,-99,-1,77,99,79,44,23,46,114,178,179,113,42,20,47,86,110,106,72,26,-5,-23,-55,-111,-154,-148,-105,-63,-33,1,41,75,98,115,113,78,31,8,17,33,47,68,79,41,-29,-64,-44,-25,-45,-66,-55,-50,-84,-106,-78,-83,-223,-416,-446,-246}
},
{ // H-20e015a.wav
{1,0,-2,-3,-4,-5,-1,5,2,-9,-8,9,13,-10,-23,2,23,-8,-44,-10,49,18,-69,-53,60,66,-64,-79,74,75,36,974,3369,5280,3529,-2108,-7091,-6517,-1248,2484,522,-3989,-4574,461,6290,7862,5465,2944,2506,3410,4711,6552,8334,7912,4187,-612,-2858,-1548,774,1113,-927,-3330,-3988,-2416,148,1748,1190,-885,-2524,-2424,-1215,-456,-664,-955,-564,72,99,-445,-699,-212,465,500,-251,-1162,-1536,-1215,-612,-288,-491,-996,-1361,-1358,-1155,-1077,-1229,-1405,-1350,-1065,-817,-835,-1044,-1152,-1002,-750,-640,-680,-658,-465,-261,-258,-451,-647,-693,-596,-439,-297,-218,-218,-258,-278,-258,-219,-173,-125,-121,-211,-349,-410,-339,-230,-207,-277,-349,-361,-329,-284,-241,-225,-263,-338,-393,-401,-385,-370,-347,-305,-259,-227,-203,-187,-196,-227,-239,-203,-153,-141,-164,-173,-148,-126,-141,-187,-241,-290,-320,-312,-271,-241,-252,-280,-285,-272,-276,-304,-317,-291,-252,-234,-233,-218,-180,-142,-130,-140,-145,-127,-93,-66,-55,-51,-50,-68,-112,-153,-157,-136,-145,-203,-254,-235,-159,-95,-78,-77,-60,-36,-22,0,45,84,73,25,1,30,74,79,39,-15,-67,-118,-164,-190,-194,-185,-165,-123,-63,-11,10,3,-13,-24,-29,-31,-26,-6,32,81,118,120,83,21,-47,-111,-163,-192,-202,-208,-219,-218,-194,-162,-148,-142,-112,-52},
{-8,39,27,-45,-48,44,63,-60,-111,44,151,-28,-212,-27,244,66,-293,-108,328,96,121,3082,8648,10601,2952,-10487,-17229,-10175,2449,6150,-1749,-8721,-3353,10148,17944,13739,4383,-636,829,5627,11460,16415,15898,6450,-7109,-13723,-8035,2683,6474,47,-8633,-10313,-4031,3610,6111,2507,-3310,-6737,-6074,-3222,-1244,-1098,-1112,204,1795,1514,-624,-2076,-960,1542,2693,1457,-620,-1476,-688,468,499,-999,-3120,-4460,-4318,-3280,-2516,-2520,-2730,-2455,-1844,-1634,-2069,-2446,-1924,-592,522,554,-227,-746,-367,416,654,122,-482,-474,23,368,224,-168,-427,-441,-333,-240,-213,-235,-253,-243,-265,-375,-483,-426,-209,-53,-137,-375,-541,-533,-424,-326,-293,-325,-379,-387,-337,-305,-343,-378,-312,-185,-127,-159,-167,-88,-1,8,-29,-48,-67,-122,-166,-132,-64,-73,-182,-300,-353,-357,-349,-329,-300,-287,-292,-277,-231,-202,-228,-271,-271,-228,-186,-162,-146,-143,-160,-180,-182,-176,-188,-195,-148,-59,-11,-56,-152,-220,-227,-194,-154,-139,-169,-225,-233,-147,-22,29,-34,-131,-154,-79,28,88,73,15,-26,0,80,154,170,129,74,45,56,95,134,141,108,68,58,70,55,-10,-86,-123,-109,-77,-52,-32,-4,29,60,94,127,139,109,52,10,8,34,63,80,82,63,26,-12,-32,-39,-45,-48,-41,-36,-52,-74,-75,-88,-192,-387,-528,-463,-222}
},
{ // H-20e020a.wav
{-2,0,2,1,-1,-2,-3,-3,3,8,1,-9,-3,13,10,-12,-15,11,18,-16,-34,8,44,-3,-62,-18,67,34,-68,-37,75,28,131,1279,3453,4563,2211,-2839,-6275,-4740,-189,2006,-448,-3876,-3274,1493,5875,6405,4227,2550,2603,3479,4601,6231,7681,7030,3571,-567,-2381,-1230,695,965,-728,-2724,-3218,-1782,401,1520,705,-1143,-2262,-1883,-891,-514,-826,-955,-471,77,62,-353,-536,-279,-1,-158,-717,-1235,-1301,-884,-357,-189,-523,-1025,-1233,-1035,-736,-672,-858,-1041,-1026,-867,-756,-795,-893,-891,-765,-661,-707,-837,-868,-735,-575,-545,-639,-721,-697,-586,-446,-309,-192,-119,-110,-157,-219,-246,-213,-163,-176,-273,-375,-390,-327,-277,-289,-322,-327,-307,-283,-252,-221,-231,-300,-375,-393,-364,-348,-353,-332,-272,-220,-213,-224,-220,-213,-219,-213,-167,-115,-118,-175,-217,-202,-166,-172,-229,-291,-317,-307,-285,-275,-283,-297,-303,-300,-298,-293,-274,-245,-227,-228,-223,-194,-158,-144,-149,-143,-123,-114,-126,-128,-95,-54,-50,-93,-145,-170,-169,-162,-164,-177,-195,-202,-179,-124,-64,-33,-38,-51,-38,4,45,55,31,1,-10,0,15,19,7,-28,-87,-151,-189,-187,-168,-158,-147,-106,-39,14,19,-10,-36,-43,-40,-34,-19,10,46,76,93,95,74,19,-60,-132,-175,-194,-209,-223,-221,-200,-179,-169,-154,-112,-50},
{46,-22,-74,-6,77,7,-120,-56,130,92,-162,-178,138,223,-151,-299,153,323,-132,986,5783,11013,9026,-2742,-15371,-16542,-5553,4592,2899,-5729,-7132,3541,15900,17897,9809,1433,-447,3237,9219,15390,18109,12327,-1347,-13122,-12921,-2421,6044,3534,-5865,-11051,-6812,1877,6798,4648,-1627,-6872,-7901,-5173,-1742,-272,-553,-357,1188,2219,869,-1671,-2326,-146,2366,2390,150,-1688,-1356,237,927,-352,-2818,-4841,-5299,-4235,-2640,-1630,-1604,-2086,-2399,-2391,-2381,-2460,-2170,-1112,288,1007,557,-379,-715,-209,377,349,-109,-348,-156,110,121,-63,-248,-383,-477,-462,-319,-184,-194,-309,-403,-449,-473,-431,-271,-89,-73,-259,-470,-530,-447,-346,-315,-350,-401,-418,-388,-356,-364,-379,-323,-195,-94,-86,-117,-107,-62,-35,-28,-8,9,-26,-100,-136,-105,-78,-126,-238,-335,-367,-344,-304,-283,-292,-308,-293,-242,-200,-209,-257,-297,-308,-294,-257,-197,-140,-120,-136,-155,-165,-187,-219,-212,-134,-36,-5,-67,-157,-209,-211,-187,-169,-182,-228,-258,-201,-63,48,32,-81,-160,-127,-29,42,48,12,-32,-55,-29,46,121,139,101,61,68,116,162,170,134,89,80,108,120,72,-11,-67,-69,-50,-44,-46,-34,-10,19,60,115,153,144,99,56,30,14,13,40,82,104,90,60,26,-18,-66,-83,-56,-22,-21,-43,-44,-24,-51,-190,-407,-572,-566,-386,-153}
},
{ // H-20e025a.wav
{0,0,2,5,4,1,0,0,0,1,5,6,0,-4,4,12,4,-11,-5,15,11,-18,-20,19,33,-16,-49,5,63,14,-60,-12,59,10,237,1448,3302,3813,1284,-3005,-5274,-3372,314,1420,-1057,-3488,-2201,2008,5169,5083,3312,2369,2742,3513,4455,5909,7078,6190,2885,-679,-1932,-663,978,973,-656,-2296,-2489,-1149,527,1123,227,-1219,-1906,-1497,-800,-616,-808,-733,-264,61,-160,-654,-870,-653,-340,-300,-562,-852,-886,-628,-329,-296,-570,-859,-849,-558,-317,-402,-745,-1024,-1015,-801,-644,-680,-783,-767,-649,-637,-841,-1101,-1167,-992,-752,-612,-578,-564,-518,-433,-319,-213,-174,-212,-258,-253,-225,-231,-262,-275,-273,-303,-364,-390,-345,-284,-274,-306,-321,-291,-248,-228,-242,-281,-330,-364,-365,-341,-315,-298,-288,-280,-268,-240,-201,-179,-194,-220,-213,-171,-141,-158,-200,-226,-230,-235,-254,-279,-302,-322,-331,-317,-290,-276,-283,-291,-280,-258,-243,-230,-209,-190,-189,-205,-212,-196,-165,-141,-132,-135,-141,-144,-140,-130,-125,-130,-142,-153,-161,-165,-162,-153,-149,-154,-150,-115,-58,-19,-18,-36,-42,-28,-9,4,11,6,-15,-40,-48,-36,-31,-55,-101,-145,-173,-183,-174,-146,-108,-69,-33,-2,12,-4,-39,-63,-58,-32,-3,22,47,69,80,74,46,-6,-74,-138,-182,-204,-208,-193,-167,-159,-183,-203,-168,-80},
{-49,-40,51,68,-56,-110,46,160,-21,-218,-35,255,82,-305,-127,366,121,-101,2617,8618,11944,5582,-8366,-17840,-13813,-1865,4032,-1030,-6978,-2462,10196,18378,15069,5861,230,1379,6752,13442,18461,16794,5633,-8973,-15242,-8448,2606,5336,-2168,-9968,-8850,-351,6619,6036,-398,-6744,-8608,-5890,-1849,53,-690,-1435,82,2555,2694,-164,-2769,-2034,1001,2640,1231,-1185,-1879,-682,361,-342,-2455,-4472,-5159,-4302,-2658,-1404,-1282,-2027,-2720,-2773,-2434,-2222,-2088,-1478,-253,822,851,-42,-736,-433,389,662,110,-509,-501,-69,162,14,-213,-330,-431,-546,-522,-329,-186,-251,-406,-481,-484,-480,-411,-227,-76,-143,-368,-502,-436,-310,-283,-348,-411,-429,-414,-382,-356,-353,-345,-281,-181,-120,-118,-104,-35,31,33,11,27,52,17,-56,-83,-56,-68,-175,-317,-394,-384,-333,-286,-261,-258,-257,-234,-199,-195,-240,-300,-330,-325,-301,-254,-181,-119,-104,-123,-138,-151,-189,-230,-206,-101,-3,-9,-107,-205,-237,-212,-175,-158,-173,-203,-198,-119,-5,40,-30,-136,-157,-68,43,83,38,-39,-89,-84,-29,39,78,76,63,76,120,174,210,204,153,96,86,126,153,111,25,-31,-33,-24,-35,-43,-21,18,49,79,127,173,173,123,64,31,20,23,46,80,104,110,102,68,-4,-88,-118,-71,-11,-5,-25,-2,46,8,-177,-423,-582,-581,-455,-275,-107}
},
{ // H-20e030a.wav
{0,1,0,-1,0,1,1,0,-1,-1,-2,0,3,3,-3,-5,3,9,0,-10,-2,13,5,-18,-14,18,21,-21,-35,16,49,-5,-52,2,42,2,303,1481,3021,3156,726,-2806,-4287,-2420,410,831,-1352,-2932,-1380,2083,4283,3990,2779,2413,2895,3481,4234,5457,6285,5236,2312,-475,-1186,-27,1117,843,-548,-1746,-1798,-794,359,691,-33,-1095,-1545,-1181,-654,-574,-803,-810,-483,-250,-442,-839,-972,-685,-271,-104,-271,-543,-641,-500,-300,-252,-374,-496,-479,-375,-363,-541,-812,-971,-902,-695,-565,-631,-793,-870,-829,-808,-911,-1053,-1063,-895,-656,-474,-387,-373,-395,-414,-398,-357,-331,-338,-352,-346,-327,-304,-270,-237,-248,-321,-400,-413,-357,-298,-281,-292,-296,-287,-275,-262,-257,-274,-312,-339,-333,-308,-294,-295,-289,-270,-250,-237,-229,-225,-231,-236,-223,-201,-199,-227,-253,-248,-230,-240,-283,-325,-340,-331,-312,-285,-257,-239,-243,-261,-278,-285,-278,-256,-226,-204,-198,-196,-181,-160,-153,-166,-181,-185,-180,-173,-165,-158,-155,-157,-157,-156,-158,-159,-151,-136,-126,-121,-102,-63,-22,-5,-15,-33,-51,-67,-69,-48,-20,-14,-32,-51,-61,-76,-105,-136,-157,-172,-182,-172,-131,-77,-37,-21,-19,-26,-41,-58,-63,-48,-17,18,46,56,48,37,27,4,-42,-98,-143,-172,-188,-179,-143,-122,-157,-215,-209,-111},
{-25,77,37,-108,-82,116,125,-134,-208,104,264,-100,-350,89,409,-134,319,4576,10794,11442,1615,-12517,-18249,-10947,-200,1992,-3679,-5522,3008,14604,17852,11193,3062,817,4564,10954,17133,19259,12696,-1585,-13693,-13597,-3289,4519,1331,-7393,-10004,-3170,5259,6698,1003,-5498,-7780,-5885,-2812,-1084,-1126,-1462,-383,1861,2891,1088,-1835,-2510,-161,2287,1905,-665,-2403,-1863,-596,-728,-2358,-3871,-4063,-3211,-2332,-2047,-2280,-2616,-2691,-2410,-2005,-1818,-1879,-1737,-969,135,691,255,-500,-524,269,861,479,-411,-785,-398,70,63,-223,-367,-346,-380,-470,-457,-363,-361,-467,-543,-540,-529,-487,-316,-89,-50,-273,-516,-525,-346,-217,-246,-347,-416,-431,-410,-371,-346,-352,-346,-274,-159,-81,-75,-89,-72,-26,27,75,104,91,46,10,3,-9,-75,-197,-335,-430,-439,-367,-280,-246,-254,-227,-148,-102,-172,-309,-393,-382,-336,-298,-241,-153,-91,-98,-134,-140,-132,-162,-205,-180,-81,-13,-59,-176,-253,-245,-199,-170,-173,-193,-200,-159,-63,31,44,-33,-116,-114,-35,40,44,-15,-77,-91,-53,-1,26,24,25,51,97,145,186,212,209,175,145,150,173,163,101,26,-16,-19,-10,-4,5,17,29,47,85,136,175,177,144,98,60,36,32,50,82,111,124,114,75,2,-79,-115,-81,-21,0,-9,22,94,86,-105,-405,-611,-608,-466,-317,-201,-93}
},
{ // H-20e035a.wav
{-1,-2,-2,-2,-3,-4,-2,0,-1,-3,-4,-4,-4,-3,0,-1,-6,-7,0,5,-2,-11,-5,7,0,-17,-11,14,12,-22,-28,15,35,-12,-44,1,22,6,340,1411,2673,2639,502,-2376,-3460,-1907,237,410,-1309,-2349,-935,1800,3462,3305,2589,2505,2924,3333,3890,4811,5358,4435,2164,91,-440,329,1053,798,-234,-1188,-1384,-762,121,504,68,-759,-1264,-1213,-974,-904,-898,-691,-367,-290,-584,-923,-912,-524,-84,87,-49,-282,-374,-273,-138,-159,-345,-516,-520,-414,-396,-564,-799,-900,-808,-671,-675,-826,-946,-886,-719,-646,-736,-836,-770,-564,-397,-383,-470,-546,-561,-532,-488,-452,-436,-426,-391,-336,-305,-315,-323,-297,-278,-325,-413,-449,-395,-310,-267,-267,-267,-254,-249,-263,-282,-284,-273,-267,-278,-300,-318,-321,-313,-305,-294,-270,-241,-235,-257,-272,-256,-230,-231,-251,-251,-227,-217,-242,-275,-288,-289,-300,-313,-300,-267,-249,-270,-306,-326,-320,-293,-253,-206,-167,-149,-152,-163,-171,-175,-180,-190,-202,-208,-200,-183,-164,-151,-145,-148,-159,-169,-160,-130,-97,-79,-72,-59,-34,-14,-18,-43,-67,-73,-66,-55,-40,-20,-10,-30,-77,-124,-149,-158,-166,-173,-167,-141,-104,-66,-36,-23,-32,-49,-54,-41,-28,-22,-9,17,42,49,40,18,-20,-67,-99,-108,-117,-140,-152,-130,-106,-131,-186,-189,-104},
{95,-30,-133,-10,161,48,-208,-132,214,196,-244,-281,279,321,-310,1014,6417,12157,10233,-1826,-15141,-17825,-8989,43,110,-4452,-2702,7493,16529,15720,7640,1532,2430,8380,15367,19895,17837,6904,-7716,-15023,-9678,603,3443,-3388,-9954,-7330,1622,7003,4124,-2627,-6697,-6279,-3894,-2179,-1768,-1802,-1023,989,2813,2267,-632,-2799,-1539,1760,3041,654,-2696,-3612,-2136,-1021,-1808,-3230,-3442,-2456,-1714,-2059,-2944,-3417,-3152,-2447,-1730,-1319,-1354,-1598,-1476,-685,262,483,-134,-659,-274,596,822,101,-672,-670,-181,3,-244,-401,-248,-150,-351,-571,-523,-379,-434,-617,-668,-588,-556,-547,-382,-113,-41,-264,-510,-508,-328,-214,-252,-343,-394,-403,-390,-370,-363,-358,-307,-193,-82,-47,-76,-114,-131,-115,-37,93,181,154,71,45,72,37,-108,-267,-344,-359,-368,-370,-336,-285,-246,-200,-133,-101,-166,-296,-382,-377,-335,-302,-256,-179,-112,-94,-106,-111,-121,-155,-179,-143,-75,-60,-129,-218,-254,-234,-203,-189,-196,-212,-208,-145,-35,43,29,-41,-73,-33,22,27,-22,-80,-107,-88,-31,27,43,17,-5,20,82,144,188,212,213,194,180,185,186,153,96,56,43,29,-2,-22,-6,27,48,63,92,130,148,141,127,117,100,75,61,72,96,114,118,107,70,3,-68,-98,-75,-37,-22,-11,45,135,146,-25,-335,-599,-660,-532,-349,-212,-124,-52}
},
{ // H-20e040a.wav
{1,1,0,-1,0,1,0,-1,0,2,2,1,-1,-2,-2,1,4,3,-1,-2,2,5,0,-5,0,7,1,-10,-3,14,9,-17,-16,20,31,-12,-37,2,20,19,333,1274,2356,2324,514,-1931,-2903,-1690,51,230,-1115,-1929,-775,1471,2915,2943,2509,2515,2834,3067,3388,4055,4558,4000,2336,657,59,519,1085,937,75,-846,-1139,-643,125,390,-147,-1002,-1437,-1240,-827,-625,-611,-545,-422,-456,-693,-865,-691,-209,258,409,205,-142,-371,-385,-297,-278,-362,-442,-433,-396,-456,-641,-841,-928,-885,-799,-750,-729,-673,-563,-465,-457,-527,-586,-573,-519,-504,-560,-648,-697,-666,-573,-484,-456,-476,-476,-422,-361,-352,-379,-377,-343,-341,-396,-440,-403,-314,-258,-262,-273,-253,-226,-228,-252,-269,-274,-286,-307,-322,-331,-346,-366,-365,-330,-282,-256,-262,-281,-289,-281,-262,-243,-232,-230,-233,-232,-228,-228,-242,-271,-306,-336,-350,-349,-340,-330,-319,-305,-290,-271,-242,-205,-176,-168,-176,-182,-181,-184,-197,-208,-206,-202,-209,-217,-204,-173,-149,-144,-146,-144,-142,-140,-126,-96,-66,-54,-56,-54,-46,-44,-52,-57,-50,-40,-33,-29,-30,-48,-87,-136,-177,-197,-193,-174,-153,-133,-101,-54,-17,-17,-46,-69,-64,-47,-33,-18,4,21,18,5,-7,-27,-63,-99,-111,-109,-116,-124,-113,-101,-125,-172,-172,-94},
{-51,-113,30,158,-8,-228,-64,261,118,-321,-191,385,195,-381,1710,7843,12938,9055,-4326,-16789,-17537,-8099,-203,-764,-3795,110,10231,16611,13211,5021,1057,4558,12205,19173,21288,15095,1331,-11805,-14304,-5710,2862,1319,-7277,-11063,-4559,5090,7762,2092,-4904,-7164,-5083,-2551,-1850,-2335,-2236,-591,1799,2804,1138,-1623,-2281,86,2578,1884,-1533,-4071,-3544,-1572,-1012,-2312,-3484,-3058,-1801,-1387,-2262,-3402,-3720,-3098,-2122,-1359,-1066,-1218,-1456,-1232,-412,363,342,-305,-601,-72,565,415,-323,-697,-390,-46,-183,-471,-408,-130,-90,-311,-454,-444,-514,-690,-727,-584,-528,-655,-697,-473,-220,-227,-394,-418,-264,-164,-234,-354,-405,-410,-402,-353,-274,-251,-302,-326,-244,-112,-39,-57,-115,-148,-113,-9,103,145,113,85,96,91,8,-126,-241,-315,-359,-362,-320,-280,-284,-295,-238,-135,-97,-169,-271,-315,-310,-309,-307,-263,-187,-132,-111,-91,-74,-103,-174,-213,-167,-87,-69,-134,-217,-252,-237,-206,-192,-204,-218,-189,-108,-27,-9,-46,-65,-26,33,54,30,-14,-64,-102,-93,-29,32,30,-13,-20,37,107,146,169,198,216,204,183,179,178,154,117,101,105,93,49,0,-19,-2,32,65,86,91,92,95,100,105,116,131,136,120,101,103,118,115,74,10,-48,-77,-71,-47,-27,-7,52,149,184,43,-255,-541,-655,-585,-423,-247,-92,9,31}
},
{ // H-20e045a.wav
{0,0,0,0,-1,-2,-1,0,-1,-3,-3,-1,0,-1,-3,-3,-2,0,1,-1,-4,-4,2,5,-2,-8,-2,7,1,-12,-8,10,10,-13,-17,14,26,-11,-37,-7,14,21,295,1114,2089,2135,612,-1571,-2572,-1642,-96,206,-875,-1645,-752,1206,2602,2766,2419,2364,2562,2678,2860,3408,3979,3766,2549,1123,474,753,1237,1147,344,-666,-1209,-984,-318,107,-109,-701,-1069,-953,-633,-481,-530,-580,-552,-538,-554,-455,-153,207,373,243,-60,-335,-460,-436,-345,-280,-282,-334,-407,-513,-673,-848,-935,-856,-655,-467,-398,-431,-466,-443,-404,-429,-529,-628,-650,-608,-582,-627,-711,-749,-694,-587,-508,-492,-502,-491,-461,-451,-464,-455,-399,-339,-335,-377,-396,-356,-294,-260,-253,-245,-235,-244,-267,-276,-272,-291,-343,-386,-380,-342,-322,-333,-345,-335,-316,-308,-307,-299,-281,-264,-256,-252,-242,-223,-208,-215,-245,-282,-308,-326,-345,-362,-361,-342,-322,-312,-302,-275,-240,-221,-219,-217,-204,-193,-199,-215,-223,-218,-209,-205,-203,-197,-188,-183,-182,-177,-162,-145,-139,-141,-136,-117,-97,-90,-93,-90,-73,-53,-41,-35,-26,-17,-17,-24,-32,-42,-65,-108,-163,-205,-214,-193,-161,-129,-95,-63,-46,-50,-60,-62,-60,-65,-65,-42,-4,12,-6,-30,-32,-27,-42,-74,-96,-103,-110,-119,-116,-111,-126,-152,-142,-76},
{-130,76,169,-57,-245,-9,290,59,-364,-125,443,105,-424,2108,8645,13447,8606,-5532,-17885,-18015,-8248,-336,-457,-2453,2039,11255,15714,11054,3358,1230,6732,15509,21923,21510,12086,-2884,-13642,-12302,-2592,3005,-2055,-10252,-9873,-158,8156,6659,-1355,-6819,-6078,-2938,-1813,-2764,-3293,-2062,260,2149,2229,292,-1895,-1872,484,2205,700,-2744,-4413,-2888,-686,-734,-2678,-3831,-2937,-1492,-1399,-2598,-3596,-3494,-2676,-1864,-1357,-1192,-1336,-1457,-1039,-126,470,162,-499,-489,225,601,27,-786,-845,-265,38,-266,-575,-406,-74,-59,-261,-314,-259,-409,-746,-909,-779,-630,-650,-671,-524,-356,-382,-511,-482,-255,-63,-85,-259,-417,-473,-432,-331,-226,-183,-218,-269,-266,-201,-124,-89,-99,-108,-59,48,140,150,94,48,50,54,0,-116,-240,-323,-352,-345,-330,-315,-288,-238,-176,-139,-149,-192,-239,-268,-273,-254,-223,-201,-194,-183,-146,-99,-91,-142,-200,-201,-145,-102,-126,-192,-234,-230,-205,-186,-180,-185,-195,-180,-116,-39,-25,-82,-119,-62,45,97,62,4,-23,-30,-41,-46,-33,-20,-15,6,62,125,160,164,162,168,183,204,217,198,150,116,125,146,133,92,62,48,30,14,23,46,48,26,19,48,90,125,155,177,172,145,128,129,117,75,27,-7,-36,-59,-54,-21,7,37,113,195,133,-147,-486,-645,-579,-439,-320,-167,44,184,142}
},
{ // H-20e050a.wav
{0,0,0,-1,-1,0,0,0,0,0,-1,-1,0,0,-1,-1,0,0,-2,-2,1,2,-1,-3,1,5,0,-6,-1,8,4,-10,-9,8,11,-9,-14,14,26,-12,-42,-8,28,31,239,953,1888,2046,726,-1338,-2408,-1634,-134,286,-665,-1459,-721,1104,2460,2607,2191,2048,2201,2300,2442,2956,3605,3637,2753,1595,1024,1141,1277,825,-135,-1004,-1243,-793,-91,287,95,-399,-723,-704,-563,-536,-579,-513,-335,-203,-186,-177,-80,48,82,-23,-209,-386,-470,-418,-288,-221,-309,-482,-592,-591,-561,-576,-586,-500,-332,-213,-251,-416,-576,-629,-588,-537,-538,-587,-639,-665,-671,-677,-688,-692,-671,-624,-572,-542,-538,-537,-519,-489,-463,-440,-404,-359,-336,-346,-357,-332,-277,-235,-233,-258,-283,-297,-302,-299,-297,-311,-342,-369,-371,-359,-356,-366,-370,-356,-338,-327,-316,-293,-266,-249,-242,-235,-232,-247,-276,-299,-302,-300,-311,-328,-331,-314,-296,-293,-297,-292,-273,-254,-245,-240,-230,-219,-222,-238,-249,-239,-215,-196,-188,-182,-177,-178,-187,-192,-179,-156,-144,-145,-142,-127,-111,-106,-107,-102,-91,-80,-66,-41,-11,8,7,-7,-25,-45,-70,-101,-139,-175,-193,-186,-160,-132,-109,-87,-70,-67,-76,-84,-80,-69,-57,-44,-29,-21,-27,-37,-40,-37,-40,-50,-63,-83,-110,-131,-133,-127,-135,-146,-125,-62},
{32,145,-19,-225,-51,267,103,-344,-184,423,182,-485,1697,8251,13837,9925,-4336,-18151,-19817,-10105,-707,684,-1150,2322,10554,14794,10366,2902,1229,7768,17610,23866,21734,10503,-4489,-13538,-10962,-2219,1290,-4178,-10101,-7074,2693,8439,4688,-2982,-6441,-4651,-2377,-2547,-3595,-3226,-1408,640,1975,1817,-94,-2255,-2254,26,1547,-72,-3084,-3804,-1664,95,-994,-3389,-3997,-2399,-973,-1422,-2874,-3611,-3263,-2597,-2074,-1586,-1212,-1245,-1463,-1186,-319,307,78,-444,-301,405,610,-140,-985,-968,-335,-40,-334,-571,-340,-27,-67,-260,-228,-110,-294,-706,-912,-812,-737,-829,-801,-497,-244,-369,-663,-673,-353,-82,-97,-250,-332,-348,-374,-366,-274,-183,-197,-258,-235,-136,-95,-162,-226,-172,-20,121,179,169,138,112,78,12,-85,-187,-271,-334,-374,-374,-335,-295,-276,-251,-182,-100,-84,-157,-250,-287,-260,-212,-176,-155,-150,-154,-148,-133,-139,-184,-226,-205,-134,-95,-137,-218,-261,-244,-205,-179,-170,-173,-178,-162,-112,-59,-55,-97,-116,-60,33,79,55,12,-4,2,6,1,-11,-32,-47,-20,53,126,155,151,156,176,186,182,180,183,170,147,147,170,172,133,87,70,69,52,28,18,12,-10,-30,-10,48,108,150,181,196,178,141,122,122,105,61,22,5,-12,-35,-36,-1,49,106,164,147,-49,-386,-635,-624,-445,-306,-223,-46,226,367,239}
},
{ // H-20e055a.wav
{2,0,0,1,2,1,0,1,2,1,0,0,1,1,0,-1,0,1,0,-2,-2,1,4,4,1,-1,2,6,2,-5,-1,9,6,-8,-10,8,16,0,-10,7,16,-12,-29,8,33,16,187,846,1744,1945,753,-1197,-2272,-1593,-134,380,-442,-1232,-635,1030,2299,2383,1864,1643,1842,2067,2257,2712,3375,3633,3033,1905,1019,752,788,590,-3,-660,-905,-553,103,520,376,-148,-583,-654,-476,-313,-271,-280,-274,-262,-259,-242,-192,-124,-71,-78,-195,-402,-567,-551,-378,-224,-211,-278,-299,-264,-260,-318,-373,-374,-361,-400,-498,-609,-680,-679,-614,-543,-540,-610,-674,-668,-628,-634,-700,-750,-717,-629,-566,-564,-586,-579,-538,-494,-468,-441,-390,-329,-299,-310,-325,-306,-268,-257,-282,-309,-313,-310,-316,-319,-310,-310,-345,-399,-429,-420,-397,-385,-376,-354,-322,-295,-280,-275,-273,-274,-278,-287,-298,-302,-292,-275,-269,-280,-295,-302,-300,-297,-290,-274,-256,-250,-262,-278,-283,-276,-263,-246,-223,-204,-198,-205,-215,-220,-218,-212,-203,-191,-174,-156,-142,-134,-131,-130,-129,-128,-124,-112,-92,-71,-57,-49,-42,-30,-18,-18,-34,-56,-70,-78,-95,-127,-160,-173,-166,-152,-137,-116,-89,-69,-69,-84,-94,-86,-63,-43,-37,-44,-52,-53,-49,-46,-41,-34,-36,-62,-107,-142,-150,-147,-152,-154,-122,-57},
{177,-7,-240,-98,259,178,-303,-274,367,322,-500,976,7194,13915,11977,-1770,-17710,-22184,-12876,-1101,2549,353,1758,8957,14032,10577,2849,599,7731,18887,25425,22156,9928,-4781,-13215,-11128,-3516,92,-3535,-7695,-4858,3184,7642,4014,-2980,-6317,-4881,-2714,-2597,-3438,-3160,-1440,706,2103,1723,-563,-2957,-2974,-622,1025,-357,-3051,-3513,-1249,545,-562,-3071,-3890,-2453,-965,-1146,-2381,-3208,-3251,-2986,-2568,-1859,-1173,-1057,-1354,-1286,-611,-42,-158,-484,-219,472,621,-127,-970,-1053,-557,-250,-349,-417,-222,-66,-171,-286,-168,-53,-268,-663,-825,-714,-666,-785,-786,-518,-281,-381,-654,-709,-479,-244,-208,-290,-355,-385,-383,-301,-157,-85,-160,-265,-252,-150,-107,-170,-230,-184,-52,81,164,202,212,194,138,35,-105,-246,-349,-401,-409,-383,-335,-290,-263,-235,-175,-95,-58,-103,-199,-276,-287,-237,-163,-110,-102,-116,-112,-91,-107,-183,-260,-259,-183,-117,-125,-184,-232,-246,-235,-212,-186,-171,-168,-153,-107,-61,-61,-99,-108,-45,51,103,80,21,-21,-23,5,33,34,3,-31,-25,27,92,133,151,167,185,192,181,166,153,143,142,163,202,225,205,155,109,79,52,23,3,-7,-25,-50,-49,4,85,150,181,189,183,156,117,91,85,82,72,61,52,35,9,-6,12,66,131,142,20,-244,-518,-621,-512,-337,-222,-113,102,349,416,237}
},
{ // H-20e060a.wav
{1,2,2,0,0,1,2,2,1,1,1,1,0,0,1,1,1,0,0,1,2,1,-1,1,4,4,0,-2,3,6,2,-3,2,9,4,-8,-5,13,16,-4,-13,8,22,-3,-24,5,31,22,179,770,1584,1778,702,-1093,-2110,-1493,-97,468,-234,-984,-503,968,2076,2067,1510,1326,1679,2109,2368,2617,2902,2923,2474,1801,1317,1108,927,568,81,-337,-494,-286,199,631,661,270,-205,-442,-449,-435,-490,-513,-416,-261,-163,-150,-175,-202,-245,-336,-468,-566,-516,-281,21,195,156,0,-133,-219,-329,-483,-595,-586,-491,-436,-507,-663,-773,-741,-606,-506,-535,-645,-713,-693,-652,-663,-711,-729,-692,-640,-612,-609,-603,-575,-522,-455,-399,-370,-360,-344,-317,-298,-302,-318,-321,-307,-299,-317,-352,-372,-357,-326,-322,-365,-423,-450,-437,-411,-392,-370,-338,-311,-309,-321,-321,-307,-297,-300,-303,-294,-283,-281,-282,-277,-274,-281,-289,-283,-267,-260,-267,-273,-268,-263,-266,-268,-259,-244,-235,-232,-228,-228,-239,-256,-258,-240,-216,-200,-188,-169,-143,-123,-116,-119,-123,-126,-124,-114,-99,-84,-71,-62,-61,-65,-68,-66,-64,-67,-70,-67,-67,-86,-122,-154,-168,-164,-148,-123,-95,-74,-67,-69,-72,-72,-71,-66,-60,-58,-62,-64,-58,-48,-43,-42,-47,-67,-103,-134,-144,-145,-158,-171,-144,-71},
{137,-182,-230,155,306,-152,-413,158,506,-296,56,5144,13005,14498,2960,-15181,-24532,-17488,-3016,4597,2686,880,5988,12654,11866,4253,-116,5874,18261,26623,23890,11165,-4121,-13311,-12362,-5178,-170,-1594,-5106,-3763,2642,7138,4541,-2271,-6576,-5897,-3395,-2477,-2974,-2887,-1505,316,1513,1347,-384,-2587,-3221,-1623,127,-420,-2682,-3622,-1895,258,115,-1909,-3146,-2391,-1116,-1033,-1988,-2802,-3035,-3000,-2767,-2166,-1495,-1310,-1492,-1329,-655,-195,-427,-764,-410,384,623,-32,-832,-1011,-704,-486,-484,-394,-151,-45,-187,-299,-193,-99,-286,-600,-694,-566,-533,-695,-764,-539,-264,-291,-564,-714,-581,-387,-363,-452,-483,-437,-390,-332,-199,-50,-26,-128,-202,-168,-134,-203,-297,-263,-93,78,162,195,226,227,155,32,-89,-199,-320,-431,-471,-422,-342,-296,-281,-244,-162,-76,-50,-104,-202,-285,-308,-259,-167,-89,-65,-79,-84,-71,-83,-152,-234,-256,-206,-149,-147,-191,-233,-248,-244,-227,-194,-162,-152,-156,-140,-100,-76,-92,-107,-58,49,135,133,64,-3,-24,-12,3,4,-5,-15,-12,16,67,124,166,183,181,168,151,137,128,126,133,160,205,243,249,218,168,120,75,28,-13,-38,-52,-64,-64,-26,51,132,180,192,181,154,109,65,48,65,90,99,97,94,83,50,14,16,68,108,40,-166,-419,-565,-529,-379,-234,-121,28,235,387,358,174}
},
{ // H-20e065a.wav
{1,1,3,4,3,1,1,3,3,2,1,2,2,1,1,2,2,1,1,2,3,2,0,-1,0,2,4,4,2,2,3,3,1,1,5,7,1,-6,-2,9,10,0,0,13,11,-12,-16,18,37,36,199,730,1411,1525,561,-987,-1855,-1323,-90,487,-9,-622,-293,837,1730,1811,1515,1464,1636,1649,1537,1737,2358,2893,2824,2240,1643,1302,1046,641,127,-233,-203,236,831,1154,898,177,-540,-859,-790,-607,-477,-353,-188,-81,-155,-371,-555,-576,-451,-284,-154,-60,43,173,274,256,85,-168,-389,-517,-566,-573,-560,-535,-514,-527,-591,-687,-752,-731,-645,-585,-617,-702,-742,-705,-653,-648,-676,-684,-659,-630,-615,-596,-555,-498,-445,-410,-391,-378,-363,-345,-334,-335,-337,-335,-332,-339,-357,-379,-398,-408,-400,-375,-361,-384,-428,-442,-407,-362,-348,-357,-351,-327,-315,-327,-338,-327,-306,-297,-297,-290,-277,-271,-276,-279,-273,-265,-264,-267,-262,-247,-233,-230,-233,-232,-231,-241,-262,-279,-279,-268,-265,-270,-265,-241,-214,-202,-195,-177,-148,-128,-124,-126,-123,-117,-114,-110,-100,-89,-87,-93,-99,-97,-90,-88,-91,-90,-79,-64,-61,-75,-99,-122,-141,-154,-150,-122,-84,-61,-62,-70,-69,-64,-64,-69,-73,-76,-79,-74,-62,-54,-60,-70,-73,-79,-98,-118,-124,-129,-156,-183,-161,-81},
{-28,-257,-50,309,99,-405,-175,504,131,-533,2481,10400,16034,9339,-9151,-24828,-23599,-8176,5237,6385,1513,2255,9279,12778,7466,611,2876,14933,26417,26720,14512,-2283,-13466,-13947,-6883,-401,144,-2812,-2779,2203,6834,5338,-1193,-6438,-6647,-4086,-2700,-3093,-3148,-1729,176,1231,982,-423,-2251,-3051,-1957,-314,-531,-2788,-4309,-2920,-123,833,-778,-2547,-2457,-1272,-837,-1485,-2217,-2529,-2731,-2851,-2482,-1759,-1430,-1676,-1718,-1045,-298,-316,-823,-830,-126,430,157,-570,-975,-892,-706,-611,-447,-171,-35,-162,-306,-230,-91,-193,-499,-664,-550,-419,-515,-685,-623,-344,-182,-314,-543,-610,-534,-494,-540,-572,-540,-495,-439,-306,-117,-8,-41,-109,-106,-94,-182,-319,-342,-202,-24,88,165,252,288,194,17,-117,-173,-232,-347,-455,-466,-393,-320,-284,-247,-174,-92,-60,-108,-211,-310,-344,-288,-176,-76,-35,-42,-55,-60,-77,-125,-192,-235,-224,-175,-143,-172,-244,-296,-283,-224,-173,-154,-152,-144,-132,-126,-126,-122,-104,-59,18,106,160,147,78,2,-40,-41,-29,-31,-45,-38,13,87,140,156,164,181,184,148,98,80,100,123,140,176,237,279,264,208,157,124,83,24,-34,-73,-95,-102,-78,-8,91,175,212,199,156,108,70,46,40,57,92,125,137,123,89,49,23,28,51,32,-92,-307,-500,-548,-439,-271,-129,-6,145,301,367,287,125}
},
{ // H-20e070a.wav
{0,0,0,0,1,1,0,0,1,2,1,1,1,1,0,0,1,1,0,-1,1,3,2,0,0,1,2,2,2,3,2,1,1,2,2,3,4,3,-1,-2,2,7,7,4,3,2,-4,-6,8,27,29,66,277,724,1172,1137,349,-810,-1477,-1119,-143,484,299,-145,18,877,1629,1569,924,504,730,1295,1752,2074,2471,2883,2960,2529,1838,1273,966,785,610,480,494,638,757,663,287,-246,-686,-842,-721,-485,-304,-254,-321,-445,-550,-562,-438,-199,64,234,247,155,79,82,92,-5,-216,-426,-535,-558,-571,-596,-594,-549,-513,-549,-660,-781,-839,-809,-730,-664,-649,-671,-687,-667,-625,-597,-606,-634,-640,-601,-541,-505,-503,-498,-458,-405,-383,-398,-408,-383,-349,-346,-373,-394,-391,-388,-410,-443,-455,-437,-412,-399,-394,-382,-363,-352,-354,-358,-355,-350,-355,-367,-371,-358,-335,-315,-301,-289,-277,-271,-275,-278,-270,-257,-251,-252,-249,-235,-220,-218,-227,-231,-225,-226,-247,-281,-306,-313,-309,-295,-266,-226,-192,-179,-181,-184,-183,-181,-176,-163,-143,-126,-116,-111,-108,-106,-107,-110,-113,-115,-111,-104,-99,-99,-96,-83,-69,-67,-81,-101,-117,-128,-132,-121,-94,-64,-48,-47,-59,-79,-95,-94,-82,-75,-75,-71,-65,-73,-95,-104,-90,-78,-93,-116,-119,-119,-151,-195,-183,-96},
{-203,-200,186,311,-196,-451,213,567,-382,99,6003,14667,15372,1054,-19716,-28617,-17699,1012,9783,5522,436,3888,10782,10821,4027,1115,9337,22832,28707,20276,2850,-11894,-15812,-9862,-1834,1304,-428,-1457,1833,6359,6307,664,-5469,-7176,-5050,-3087,-3142,-3550,-2510,-540,793,878,19,-1348,-2492,-2441,-1311,-817,-2185,-4037,-3840,-1408,604,153,-1658,-2425,-1671,-907,-1121,-1724,-1976,-2064,-2326,-2448,-2115,-1727,-1751,-1851,-1422,-676,-414,-777,-1009,-594,5,72,-391,-836,-966,-921,-813,-563,-214,-28,-123,-264,-210,-78,-152,-432,-615,-533,-381,-408,-546,-538,-348,-211,-290,-448,-484,-423,-431,-534,-605,-594,-582,-588,-502,-285,-88,-50,-96,-78,-24,-89,-275,-389,-304,-119,10,79,176,277,263,105,-72,-160,-193,-266,-380,-441,-402,-322,-274,-253,-209,-132,-77,-95,-189,-308,-380,-350,-223,-78,-5,-22,-60,-59,-40,-65,-145,-221,-234,-193,-157,-170,-227,-280,-287,-243,-178,-130,-113,-118,-131,-143,-144,-134,-114,-78,-11,80,153,163,115,52,2,-35,-64,-72,-55,-21,20,68,116,149,160,164,168,158,128,99,92,99,105,119,163,228,275,281,251,202,142,76,11,-52,-110,-143,-123,-50,46,131,191,216,196,141,82,48,42,52,76,112,145,156,136,89,33,-1,8,28,-25,-191,-400,-520,-485,-349,-201,-66,84,245,350,337,221,83}
},
{ // H-20e075a.wav
{0,-1,0,2,2,0,0,2,3,1,0,1,2,2,1,1,1,1,2,2,2,2,2,3,2,1,1,2,2,2,3,4,3,0,0,2,4,4,4,5,3,-1,-2,3,9,9,3,-3,0,10,16,21,53,163,378,646,816,695,189,-527,-1012,-854,-81,743,974,514,-87,-208,218,737,961,965,1074,1427,1890,2303,2620,2809,2771,2476,2074,1763,1553,1277,838,377,147,225,416,426,135,-317,-675,-795,-730,-625,-556,-496,-397,-267,-149,-52,52,168,250,236,118,-34,-131,-142,-132,-192,-345,-519,-621,-624,-577,-540,-543,-587,-662,-748,-819,-856,-848,-791,-696,-607,-575,-607,-646,-638,-592,-557,-557,-564,-550,-524,-512,-514,-511,-489,-459,-437,-428,-421,-404,-386,-383,-402,-434,-460,-470,-469,-466,-461,-446,-419,-382,-346,-324,-326,-344,-358,-357,-355,-369,-389,-391,-371,-348,-337,-329,-307,-275,-253,-249,-252,-249,-246,-254,-269,-270,-250,-220,-200,-199,-211,-226,-243,-263,-278,-280,-273,-271,-275,-269,-245,-213,-193,-188,-191,-195,-201,-208,-208,-196,-173,-147,-123,-105,-96,-96,-103,-109,-115,-116,-111,-102,-94,-87,-80,-75,-74,-77,-84,-95,-106,-110,-102,-86,-67,-52,-48,-64,-98,-124,-121,-96,-76,-69,-62,-54,-65,-97,-119,-110,-95,-103,-121,-121,-117,-146,-190,-181,-96},
{-340,-81,388,222,-444,-354,543,416,-742,1287,9358,17097,12449,-7072,-26684,-28146,-10717,7603,11253,3860,31,5193,10702,8409,2788,4578,15937,26775,25694,11608,-5926,-15807,-14173,-5958,710,1944,617,1639,5386,7194,3527,-3180,-7294,-6542,-3843,-2800,-3488,-3577,-2023,-39,914,577,-568,-1876,-2518,-2027,-1264,-1754,-3464,-4275,-2654,-27,808,-739,-2473,-2487,-1358,-750,-1066,-1516,-1713,-1958,-2244,-2115,-1610,-1397,-1699,-1860,-1373,-709,-584,-889,-946,-568,-259,-397,-764,-992,-1027,-970,-785,-424,-67,41,-82,-193,-179,-186,-354,-564,-590,-416,-271,-317,-438,-417,-258,-174,-282,-447,-485,-410,-366,-418,-518,-610,-667,-634,-475,-271,-158,-148,-131,-70,-66,-185,-326,-348,-249,-121,4,151,277,277,137,-25,-108,-138,-197,-294,-363,-365,-324,-280,-247,-213,-174,-136,-111,-128,-208,-324,-391,-332,-174,-34,1,-39,-58,-27,-13,-73,-175,-235,-223,-183,-171,-202,-251,-279,-259,-195,-122,-78,-73,-95,-127,-154,-156,-125,-74,-20,40,106,151,139,71,-3,-39,-41,-36,-36,-32,-5,46,102,140,158,172,188,181,137,86,69,80,84,78,102,170,244,284,296,294,258,172,63,-24,-83,-131,-151,-104,4,116,182,199,188,156,110,69,54,62,81,104,132,157,164,136,71,1,-26,-1,9,-80,-263,-430,-477,-407,-290,-162,-11,161,298,343,286,173,64}
},
{ // H-20e080a.wav
{0,0,0,0,0,0,1,1,0,-1,0,2,2,0,0,1,2,2,1,0,1,2,1,0,0,1,1,-1,-1,2,3,1,-1,0,1,-2,-3,2,9,8,0,-5,-2,1,-1,-2,3,10,9,2,-1,4,16,47,120,243,381,473,468,355,168,-13,-90,-18,111,110,-118,-411,-450,-70,551,1067,1296,1341,1400,1558,1809,2167,2638,3087,3252,2962,2324,1633,1112,778,534,321,170,127,160,138,-72,-474,-891,-1087,-951,-583,-192,63,157,157,142,145,145,103,11,-100,-184,-220,-222,-224,-262,-353,-474,-573,-618,-620,-619,-637,-675,-731,-794,-835,-823,-768,-712,-678,-645,-597,-563,-574,-602,-591,-533,-484,-485,-511,-519,-511,-518,-540,-541,-504,-456,-432,-432,-437,-442,-456,-480,-501,-507,-497,-478,-456,-430,-403,-379,-365,-362,-359,-348,-333,-331,-347,-365,-369,-362,-360,-361,-349,-320,-292,-281,-281,-273,-255,-242,-244,-255,-262,-257,-246,-237,-228,-217,-207,-207,-224,-248,-258,-248,-236,-241,-255,-258,-247,-237,-237,-238,-232,-225,-226,-227,-219,-204,-190,-177,-156,-128,-106,-96,-95,-94,-93,-93,-94,-93,-89,-83,-77,-76,-80,-83,-82,-81,-83,-85,-81,-72,-70,-77,-90,-106,-128,-147,-141,-108,-71,-52,-48,-49,-60,-83,-107,-118,-123,-131,-134,-123,-116,-138,-168,-153,-79},
{-426,22,506,107,-622,-237,771,250,-923,2363,11717,18133,9415,-12978,-30428,-26203,-5231,11440,11285,2571,110,5827,9704,6493,3301,8810,20569,27092,20596,4534,-10596,-16418,-12143,-3574,2346,3261,2467,3965,6942,6700,1157,-5705,-8273,-5831,-2683,-2335,-3753,-3897,-1980,193,989,409,-811,-2049,-2678,-2363,-1843,-2312,-3551,-3732,-1877,387,674,-1080,-2671,-2566,-1500,-907,-1029,-1268,-1465,-1840,-2167,-1977,-1440,-1208,-1396,-1442,-1077,-760,-886,-1131,-992,-578,-417,-703,-1119,-1321,-1246,-969,-566,-177,20,-2,-89,-124,-172,-338,-569,-677,-562,-341,-223,-269,-333,-264,-126,-115,-284,-460,-487,-412,-376,-413,-475,-547,-623,-616,-464,-272,-202,-242,-240,-160,-153,-289,-414,-359,-178,-34,42,138,252,259,108,-76,-157,-154,-183,-277,-356,-349,-284,-236,-226,-209,-151,-86,-79,-157,-277,-371,-384,-303,-169,-58,-25,-46,-50,-19,-16,-94,-208,-263,-230,-175,-172,-219,-263,-264,-225,-164,-101,-54,-46,-82,-136,-164,-142,-95,-55,-18,39,103,127,92,33,-7,-29,-53,-67,-52,-15,20,55,110,174,212,212,187,147,87,22,-12,0,37,80,137,210,272,302,301,278,226,146,58,-18,-79,-118,-110,-48,35,104,153,183,174,120,63,49,69,81,81,100,145,178,166,117,55,-1,-31,-32,-48,-142,-306,-437,-446,-347,-219,-99,30,170,276,302,248,152,57}
},
{ // H-20e085a.wav
{0,0,0,0,0,0,0,1,1,1,0,0,1,2,1,0,1,3,3,2,0,0,1,2,1,0,0,0,1,2,2,1,0,-1,0,1,2,2,4,7,6,0,-3,1,6,2,-4,3,15,13,-2,-2,15,17,7,58,205,346,353,299,428,773,934,450,-564,-1348,-1234,-377,417,574,315,271,712,1307,1594,1514,1411,1629,2203,2874,3303,3264,2761,2031,1401,1066,968,893,679,336,-3,-228,-346,-455,-619,-775,-782,-567,-211,121,322,385,346,235,86,-57,-171,-260,-313,-300,-228,-180,-230,-351,-447,-485,-530,-632,-736,-756,-700,-666,-709,-781,-801,-757,-701,-674,-667,-653,-619,-575,-537,-514,-504,-498,-491,-486,-490,-508,-533,-552,-548,-520,-486,-474,-488,-508,-515,-513,-515,-519,-510,-488,-471,-469,-465,-440,-401,-376,-377,-386,-378,-353,-333,-330,-332,-322,-308,-307,-321,-330,-327,-322,-327,-332,-315,-278,-250,-248,-256,-252,-238,-234,-240,-238,-219,-203,-208,-229,-243,-238,-230,-234,-245,-247,-239,-241,-266,-295,-301,-281,-255,-240,-227,-207,-185,-174,-172,-164,-147,-132,-126,-119,-99,-72,-55,-57,-70,-81,-89,-97,-103,-97,-80,-65,-67,-79,-83,-74,-71,-90,-120,-140,-149,-160,-171,-159,-116,-69,-44,-41,-46,-58,-83,-113,-131,-139,-144,-141,-123,-108,-122,-148,-136,-70},
{-474,76,587,68,-722,-198,903,204,-1055,2729,12687,18569,8021,-15658,-31999,-25031,-2477,13223,11212,1996,180,5832,8673,5411,4230,11820,22873,25939,16353,207,-12516,-15903,-10651,-2121,3743,4819,4028,5105,7296,6131,-105,-6996,-8842,-5456,-1874,-1797,-3744,-4186,-2270,9,929,487,-701,-2157,-3134,-2983,-2298,-2440,-3396,-3368,-1388,789,733,-1374,-2999,-2617,-1309,-746,-1049,-1381,-1535,-1837,-2102,-1833,-1229,-1008,-1254,-1286,-817,-449,-702,-1192,-1237,-847,-611,-846,-1284,-1527,-1432,-1053,-523,-54,152,86,-68,-165,-241,-398,-618,-749,-657,-399,-195,-186,-251,-175,20,62,-180,-485,-570,-457,-381,-434,-503,-508,-498,-492,-423,-294,-226,-271,-326,-308,-289,-360,-442,-389,-198,-4,108,172,221,214,112,-34,-139,-181,-212,-273,-339,-351,-290,-205,-158,-148,-124,-69,-48,-132,-297,-429,-432,-310,-154,-53,-30,-42,-39,-21,-38,-115,-213,-265,-245,-193,-167,-191,-239,-259,-221,-140,-68,-38,-49,-81,-116,-142,-140,-109,-61,-8,48,100,119,91,35,-16,-51,-74,-79,-60,-22,29,97,176,230,230,191,144,91,21,-41,-54,-17,29,72,138,229,301,321,308,286,240,153,50,-28,-72,-88,-72,-18,53,108,141,154,137,86,39,37,67,84,84,102,149,188,181,131,63,1,-33,-39,-65,-170,-331,-443,-425,-309,-177,-61,60,182,258,257,199,119,46}
},
{ // H-20e090a.wav
{0,0,0,0,0,1,2,3,2,1,0,0,1,2,2,2,1,1,2,3,2,1,2,3,2,0,0,2,4,2,0,0,2,2,-1,-4,0,8,10,3,-4,-1,7,7,0,1,11,12,-4,-13,4,23,12,-16,-16,20,72,177,424,773,961,719,112,-451,-640,-539,-465,-496,-365,132,773,1105,969,691,724,1199,1862,2357,2509,2388,2203,2140,2210,2237,2034,1615,1202,989,945,861,552,6,-618,-1064,-1116,-762,-244,121,216,195,249,375,417,293,86,-90,-219,-337,-428,-431,-343,-244,-214,-266,-362,-469,-569,-646,-692,-719,-743,-755,-732,-685,-662,-690,-734,-730,-670,-611,-600,-610,-576,-493,-427,-433,-487,-525,-521,-508,-517,-537,-539,-518,-496,-493,-509,-534,-557,-571,-566,-541,-508,-484,-475,-474,-469,-456,-441,-427,-411,-388,-363,-343,-331,-317,-293,-269,-263,-281,-305,-317,-317,-322,-336,-343,-332,-312,-298,-286,-262,-224,-192,-186,-202,-218,-223,-228,-243,-258,-254,-232,-217,-226,-252,-271,-272,-269,-277,-292,-294,-279,-259,-243,-224,-194,-165,-150,-147,-143,-134,-128,-127,-122,-105,-81,-64,-61,-64,-67,-70,-80,-95,-104,-100,-85,-72,-68,-71,-79,-92,-113,-137,-157,-174,-187,-187,-162,-117,-76,-55,-48,-46,-53,-77,-108,-129,-139,-144,-137,-113,-90,-95,-117,-111,-59},
{-507,30,616,138,-751,-306,925,356,-1164,2124,12103,18830,9116,-14790,-32238,-25958,-2922,13719,11967,2189,-256,5202,8154,5164,4491,12573,23394,25289,14516,-1666,-13276,-15517,-9854,-1276,4894,6321,5257,5460,6976,5798,-232,-7240,-9302,-5670,-1473,-1125,-3462,-4456,-2693,-236,812,387,-732,-2142,-3324,-3491,-2805,-2537,-3109,-3072,-1272,875,899,-1279,-3103,-2763,-1258,-511,-842,-1326,-1604,-1998,-2338,-2018,-1169,-684,-893,-1118,-836,-468,-584,-964,-1029,-787,-759,-1148,-1599,-1722,-1481,-1032,-517,-88,112,87,-23,-125,-257,-460,-671,-775,-703,-498,-293,-205,-183,-78,108,158,-77,-419,-577,-511,-430,-457,-511,-503,-466,-431,-357,-249,-212,-288,-377,-399,-411,-477,-511,-395,-177,-8,76,158,252,252,108,-71,-154,-157,-189,-281,-355,-338,-253,-177,-143,-123,-87,-49,-55,-140,-284,-415,-451,-355,-184,-49,-15,-42,-49,-28,-39,-119,-218,-266,-250,-214,-196,-202,-223,-231,-198,-122,-49,-27,-61,-112,-148,-161,-145,-101,-39,22,71,100,99,66,18,-24,-53,-65,-55,-30,-5,21,75,154,209,199,153,118,85,19,-58,-83,-44,4,39,105,221,327,362,346,324,283,182,43,-58,-88,-76,-50,-5,60,116,130,106,67,35,26,45,72,83,84,103,145,185,194,165,104,32,-18,-36,-75,-194,-360,-460,-422,-293,-159,-45,72,184,241,221,156,87,33}
},
{ // H-20e095a.wav
{0,0,0,0,0,0,0,0,0,1,0,-1,0,1,1,0,0,1,1,1,1,1,0,-1,0,1,1,0,0,1,1,2,2,0,-3,-2,4,8,2,-6,-2,8,8,-3,-4,13,23,6,-14,-7,12,4,-18,-10,18,20,58,312,807,1180,930,11,-957,-1240,-723,26,399,311,105,81,276,591,934,1214,1376,1507,1789,2224,2501,2295,1691,1170,1123,1475,1835,1915,1712,1370,1021,744,547,316,-103,-690,-1153,-1156,-647,80,641,843,734,480,240,95,27,-42,-166,-316,-421,-455,-447,-424,-377,-306,-266,-324,-481,-652,-749,-762,-743,-736,-735,-716,-675,-637,-628,-650,-677,-673,-625,-560,-515,-496,-481,-459,-454,-487,-535,-557,-546,-530,-523,-507,-476,-462,-495,-555,-593,-595,-584,-576,-555,-513,-478,-475,-490,-484,-452,-425,-418,-406,-365,-313,-292,-308,-324,-312,-285,-271,-276,-284,-287,-298,-324,-348,-352,-334,-308,-278,-240,-201,-181,-189,-213,-230,-235,-240,-255,-273,-283,-282,-276,-272,-270,-268,-268,-271,-275,-273,-264,-251,-239,-227,-211,-186,-157,-133,-120,-116,-114,-110,-107,-107,-108,-108,-104,-95,-85,-79,-77,-76,-78,-84,-92,-98,-101,-102,-98,-92,-93,-110,-140,-170,-190,-197,-190,-166,-131,-97,-71,-54,-49,-60,-84,-107,-118,-122,-125,-120,-102,-86,-90,-103,-91,-47},
{-478,-121,545,315,-638,-528,771,690,-1070,747,9816,18425,12414,-10029,-30510,-28807,-7004,12520,13721,3597,-1132,3580,7936,5949,4284,10912,21962,25486,15748,-869,-13394,-15933,-9974,-964,5680,7507,6276,5637,6484,5632,432,-6489,-9414,-6420,-1769,-539,-2749,-4434,-3235,-713,605,224,-908,-2169,-3272,-3654,-3186,-2767,-3003,-2901,-1300,794,1018,-1050,-3024,-2814,-1186,-262,-625,-1250,-1550,-1917,-2403,-2324,-1499,-748,-685,-869,-695,-407,-554,-965,-1011,-645,-490,-926,-1610,-1978,-1815,-1253,-554,-9,174,46,-137,-212,-253,-388,-604,-769,-771,-608,-396,-268,-214,-90,132,238,29,-353,-569,-516,-415,-447,-534,-534,-466,-406,-336,-232,-179,-253,-384,-455,-479,-529,-551,-424,-175,21,80,102,176,226,142,-29,-142,-155,-167,-250,-340,-338,-243,-150,-120,-120,-96,-53,-54,-136,-275,-396,-428,-342,-187,-60,-26,-50,-54,-25,-30,-110,-217,-271,-259,-225,-211,-218,-232,-229,-187,-107,-37,-23,-67,-126,-168,-180,-158,-101,-32,26,68,97,100,70,29,5,-7,-31,-55,-52,-22,8,36,84,143,172,156,123,87,32,-42,-90,-79,-33,23,104,221,331,385,383,359,309,210,81,-23,-73,-86,-71,-22,45,89,89,64,38,18,12,36,78,102,100,105,147,202,226,202,143,73,13,-32,-90,-203,-356,-458,-429,-294,-143,-30,58,143,202,202,149,79,25}
},
{ // H-20e100a.wav
{-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,-1,-1,0,1,1,1,0,0,0,0,0,0,1,1,-1,-2,0,3,2,-3,-5,1,7,3,-5,-3,5,3,-7,-7,8,16,5,-4,5,12,-6,-26,-18,-4,8,130,492,961,1093,560,-391,-1083,-1075,-573,-97,119,248,477,719,771,618,473,589,1085,1860,2564,2747,2236,1397,868,934,1259,1333,1084,899,1075,1432,1555,1287,843,483,235,-22,-328,-585,-682,-583,-297,142,629,976,1014,740,316,-57,-264,-305,-265,-258,-344,-479,-552,-505,-396,-328,-347,-423,-522,-637,-752,-823,-817,-758,-701,-664,-629,-591,-580,-613,-652,-642,-576,-504,-472,-480,-500,-516,-528,-531,-516,-494,-487,-502,-518,-516,-506,-511,-535,-555,-557,-555,-569,-589,-587,-554,-511,-477,-447,-414,-385,-377,-387,-394,-384,-364,-345,-330,-311,-288,-271,-267,-271,-279,-290,-302,-307,-297,-278,-265,-261,-259,-252,-241,-232,-225,-222,-231,-257,-292,-322,-337,-337,-326,-306,-279,-254,-241,-242,-247,-245,-236,-225,-214,-201,-182,-161,-142,-125,-112,-106,-108,-111,-108,-98,-95,-107,-124,-130,-124,-116,-111,-105,-96,-89,-88,-91,-96,-106,-120,-129,-131,-134,-149,-173,-191,-190,-172,-150,-136,-128,-114,-90,-68,-64,-80,-97,-102,-102,-106,-108,-98,-89,-97,-112,-99,-51},
{-323,-322,325,534,-310,-760,316,1003,-521,-701,5993,16209,16338,-1500,-25024,-31756,-14891,7929,15557,7125,-1245,667,6700,7406,4783,7921,18058,25078,19494,3467,-11837,-17156,-11802,-1767,6100,8605,7297,5907,6069,5550,1498,-4949,-8930,-7380,-2836,-400,-1738,-3848,-3573,-1367,185,-72,-1219,-2254,-3041,-3507,-3398,-3016,-2955,-2864,-1711,255,1105,-294,-2431,-2952,-1642,-330,-238,-839,-1334,-1791,-2357,-2491,-1812,-941,-687,-886,-817,-424,-312,-673,-977,-844,-578,-663,-1127,-1628,-1851,-1641,-1017,-256,217,209,-64,-282,-363,-428,-558,-700,-757,-675,-496,-338,-266,-185,11,207,146,-197,-518,-563,-437,-398,-482,-531,-476,-401,-357,-293,-210,-204,-314,-448,-518,-532,-514,-424,-239,-41,74,111,140,168,132,16,-104,-160,-175,-214,-283,-317,-269,-173,-104,-91,-107,-110,-102,-124,-212,-338,-415,-359,-190,-33,6,-46,-76,-45,-25,-90,-202,-276,-281,-257,-236,-226,-232,-249,-236,-158,-48,14,-14,-95,-170,-207,-192,-129,-45,22,66,105,133,120,65,8,-24,-46,-72,-82,-58,-15,28,74,122,145,127,92,65,32,-21,-64,-59,-13,42,103,192,294,362,382,377,350,276,154,30,-56,-102,-114,-82,-14,45,61,48,31,18,9,23,69,116,132,130,155,214,257,237,162,78,24,-4,-56,-174,-335,-448,-435,-311,-161,-47,36,107,157,164,128,73,26}
},
{ // H-20e105a.wav
{6,6,6,7,8,7,7,8,9,8,6,6,8,9,8,6,6,7,8,8,7,7,8,8,8,9,9,7,5,6,10,10,5,4,9,11,5,0,7,16,12,-1,-1,11,16,9,10,20,16,-1,0,13,-6,0,232,772,1267,1111,125,-1067,-1557,-1076,-212,306,346,292,423,629,711,699,791,1101,1581,2083,2416,2405,2033,1499,1050,772,615,580,729,989,1113,948,658,542,675,838,798,531,155,-214,-471,-492,-257,55,223,255,374,684,968,918,503,2,-307,-382,-351,-328,-354,-429,-515,-540,-476,-399,-416,-521,-609,-631,-658,-754,-850,-823,-674,-540,-523,-580,-613,-595,-568,-559,-551,-534,-520,-511,-490,-460,-453,-481,-510,-507,-490,-500,-535,-550,-521,-479,-473,-507,-548,-571,-580,-581,-560,-505,-436,-392,-388,-402,-410,-414,-420,-420,-398,-358,-326,-315,-312,-301,-281,-262,-244,-224,-208,-213,-240,-268,-279,-275,-273,-273,-264,-246,-240,-260,-296,-323,-334,-338,-340,-335,-318,-295,-276,-258,-233,-203,-184,-181,-182,-174,-163,-159,-161,-156,-140,-123,-114,-112,-108,-96,-81,-76,-88,-113,-135,-145,-147,-147,-144,-129,-106,-88,-84,-92,-102,-109,-116,-127,-144,-161,-171,-169,-159,-151,-146,-142,-139,-137,-130,-110,-83,-67,-69,-74,-71,-70,-83,-99,-99,-92,-102,-122,-112,-58},
{-18,-450,-79,582,210,-723,-355,915,415,-1207,1737,11276,17854,8686,-14098,-30658,-24399,-1959,14305,12318,1657,-2128,3082,7650,6577,6024,12509,21801,22887,11075,-6301,-17142,-15468,-5099,5348,9918,8863,6404,5603,5415,2779,-2787,-7703,-8107,-4431,-958,-831,-2790,-3524,-2051,-383,-375,-1590,-2595,-2953,-3103,-3219,-3176,-3084,-2942,-2195,-608,726,404,-1293,-2499,-2092,-929,-362,-542,-869,-1248,-1911,-2478,-2255,-1371,-730,-752,-917,-734,-443,-461,-681,-744,-650,-687,-955,-1293,-1535,-1560,-1247,-637,-66,125,-29,-225,-312,-399,-575,-748,-786,-681,-517,-384,-322,-281,-161,30,110,-64,-368,-529,-475,-390,-421,-498,-498,-428,-367,-318,-255,-216,-262,-372,-470,-525,-532,-456,-270,-47,90,111,105,128,128,37,-104,-191,-194,-184,-221,-277,-276,-205,-125,-93,-108,-128,-128,-127,-166,-253,-342,-349,-237,-74,19,0,-56,-65,-47,-78,-174,-268,-305,-296,-277,-258,-243,-241,-235,-187,-96,-22,-21,-77,-138,-177,-187,-153,-76,12,70,100,123,129,90,15,-50,-81,-90,-92,-78,-41,8,58,99,119,110,85,64,41,1,-37,-34,7,53,95,162,258,335,359,354,349,319,227,96,-15,-82,-120,-132,-99,-30,25,37,25,20,27,38,60,100,142,166,180,204,240,251,205,117,37,-1,-30,-118,-276,-423,-453,-348,-190,-68,2,52,99,126,118,79,33}
},
{ // H-20e110a.wav
{-2,-4,-5,-4,-3,-3,-4,-5,-4,-3,-2,-2,-3,-3,-3,-3,-4,-4,-4,-3,-2,-3,-4,-4,-3,-2,-3,-5,-3,0,-1,-5,-6,-1,0,-6,-10,-4,4,1,-6,-6,-2,-5,-5,6,9,-10,-20,8,24,-16,36,435,1117,1487,923,-442,-1659,-1857,-1082,-111,434,572,624,714,739,656,595,742,1210,1971,2759,3111,2698,1708,764,370,490,719,764,653,550,523,533,526,463,330,184,141,253,410,424,221,-81,-291,-301,-124,144,377,482,470,464,563,696,664,363,-72,-391,-477,-430,-410,-465,-535,-561,-545,-523,-522,-555,-612,-659,-670,-668,-694,-735,-726,-635,-530,-505,-571,-644,-649,-593,-531,-490,-457,-428,-424,-461,-519,-558,-558,-528,-492,-468,-465,-480,-504,-525,-534,-530,-519,-506,-493,-481,-475,-479,-485,-479,-457,-431,-416,-409,-402,-394,-396,-402,-391,-349,-290,-242,-216,-205,-201,-204,-217,-234,-249,-262,-277,-294,-308,-314,-316,-323,-336,-346,-345,-337,-336,-339,-334,-310,-277,-255,-245,-227,-190,-152,-134,-131,-130,-131,-147,-174,-186,-168,-136,-116,-113,-109,-94,-79,-86,-116,-149,-167,-170,-170,-169,-158,-135,-112,-104,-111,-122,-130,-135,-135,-130,-127,-137,-159,-175,-170,-153,-144,-149,-155,-149,-128,-103,-84,-78,-77,-71,-60,-59,-74,-93,-103,-114,-140,-161,-138,-68},
{297,-298,-435,263,592,-229,-788,202,1015,-347,-915,4727,14372,15833,726,-21347,-29758,-16006,5754,15159,8350,-1142,-1576,4357,7567,6659,8330,15736,22190,18451,3839,-12044,-18146,-11571,986,10080,11484,8162,5399,4860,3844,-165,-5564,-8165,-6155,-2258,-475,-1611,-3049,-2560,-954,-463,-1665,-3105,-3496,-3078,-2730,-2782,-3039,-3196,-2808,-1534,74,674,-320,-1769,-2122,-1318,-572,-561,-822,-932,-1209,-1853,-2276,-1922,-1161,-749,-778,-781,-609,-548,-674,-710,-560,-505,-747,-1128,-1407,-1496,-1333,-853,-238,99,-24,-323,-440,-395,-441,-635,-788,-759,-607,-464,-384,-338,-265,-135,-18,-46,-243,-449,-502,-431,-387,-426,-472,-459,-405,-336,-265,-226,-255,-331,-400,-455,-512,-512,-362,-94,116,152,92,75,99,53,-88,-211,-222,-174,-178,-246,-285,-234,-147,-110,-131,-144,-111,-77,-105,-199,-302,-343,-283,-145,-12,37,-4,-66,-96,-117,-172,-248,-302,-318,-312,-295,-270,-256,-260,-243,-164,-60,-18,-59,-119,-142,-142,-143,-123,-60,15,60,78,99,113,79,-5,-95,-147,-152,-124,-78,-24,36,99,143,140,93,51,39,28,-12,-48,-27,41,105,149,210,294,351,347,310,277,237,162,61,-31,-98,-141,-152,-119,-56,4,43,58,53,43,50,85,126,147,156,181,226,258,239,163,67,2,-21,-59,-178,-355,-470,-424,-261,-110,-37,0,54,104,105,61,19}
},
{ // H-20e115a.wav
{3,3,1,2,3,2,1,3,5,4,1,2,5,5,2,1,3,3,2,3,5,5,2,2,5,5,2,3,7,8,4,4,7,6,0,1,7,7,2,5,13,7,-8,1,28,23,-18,-21,30,38,-11,154,795,1593,1673,516,-1244,-2290,-1943,-776,170,502,590,803,1033,1007,764,646,943,1671,2576,3227,3214,2472,1428,668,414,414,365,282,360,593,714,522,138,-140,-151,13,144,116,-35,-152,-79,175,394,336,11,-278,-240,96,429,537,486,469,547,611,555,380,138,-131,-378,-531,-566,-549,-559,-591,-586,-539,-518,-563,-622,-618,-562,-540,-604,-704,-746,-694,-603,-548,-550,-571,-569,-534,-486,-450,-442,-464,-494,-501,-482,-465,-473,-487,-474,-444,-440,-471,-494,-471,-428,-420,-457,-495,-504,-501,-503,-494,-456,-412,-405,-434,-454,-439,-409,-393,-381,-346,-294,-258,-252,-250,-226,-193,-179,-189,-204,-215,-240,-290,-346,-374,-369,-354,-349,-348,-336,-318,-308,-309,-306,-288,-264,-244,-225,-200,-171,-151,-143,-138,-128,-119,-119,-129,-139,-144,-142,-135,-121,-102,-90,-94,-112,-134,-154,-168,-172,-164,-154,-149,-148,-144,-135,-126,-115,-101,-90,-91,-107,-126,-140,-148,-153,-156,-153,-145,-135,-131,-135,-141,-133,-107,-78,-64,-62,-55,-41,-41,-67,-99,-116,-128,-153,-171,-144,-70},
{301,89,-365,-243,406,407,-447,-599,517,791,-756,-141,6779,15174,12881,-4483,-23849,-26629,-10073,9096,14041,5663,-2232,-1201,4422,7277,7546,10534,17018,20407,14062,-545,-13974,-16856,-7960,5074,12811,12100,7330,4229,3624,2090,-2274,-6773,-7474,-4258,-939,-582,-2226,-2877,-1623,-423,-1112,-3041,-4244,-3931,-2958,-2373,-2428,-2834,-3088,-2562,-1101,330,408,-859,-1949,-1719,-768,-344,-624,-896,-960,-1283,-1879,-2057,-1516,-861,-685,-792,-730,-570,-623,-784,-718,-484,-467,-782,-1159,-1373,-1407,-1205,-687,-64,218,-11,-423,-618,-578,-541,-617,-702,-692,-601,-502,-427,-351,-230,-87,-36,-169,-403,-538,-493,-385,-355,-396,-423,-412,-385,-334,-253,-201,-237,-327,-397,-439,-475,-449,-277,-10,174,180,98,63,63,-3,-143,-243,-233,-186,-206,-274,-280,-186,-83,-61,-98,-113,-86,-77,-127,-215,-285,-299,-237,-117,-6,19,-40,-108,-132,-144,-193,-272,-328,-341,-327,-307,-291,-281,-261,-199,-96,-14,-7,-62,-119,-153,-174,-173,-120,-29,43,71,83,99,91,36,-49,-123,-169,-179,-141,-60,33,106,152,172,154,104,50,15,-11,-35,-34,14,85,144,195,256,314,331,305,269,237,187,107,21,-48,-99,-133,-136,-100,-40,19,66,92,91,72,61,75,106,137,170,211,250,260,220,138,50,-6,-36,-101,-248,-413,-468,-356,-168,-42,-12,-8,26,66,66,32}
},
{ // H-20e120a.wav
{-1,-1,0,1,0,-1,0,1,0,-1,0,1,-1,-2,0,2,0,-2,-1,1,1,0,0,0,-1,0,3,4,0,0,6,6,-3,-7,2,8,-3,-10,5,18,-1,-22,1,35,13,-35,-13,48,15,-15,364,1292,2071,1626,-208,-2193,-2821,-1847,-380,475,652,737,994,1159,1019,790,868,1441,2397,3371,3820,3317,2012,676,58,189,486,502,343,322,438,418,153,-146,-253,-205,-191,-273,-342,-299,-176,-68,-18,-3,23,89,170,181,58,-118,-137,118,497,714,648,456,353,366,358,229,0,-256,-488,-645,-679,-615,-553,-557,-578,-539,-468,-471,-574,-676,-679,-610,-572,-604,-648,-645,-604,-574,-572,-568,-542,-502,-465,-435,-415,-414,-434,-459,-472,-467,-450,-423,-390,-368,-380,-428,-484,-515,-512,-488,-456,-429,-421,-442,-477,-497,-487,-459,-430,-405,-381,-363,-353,-342,-321,-296,-274,-250,-214,-180,-177,-216,-271,-308,-317,-317,-330,-351,-371,-383,-383,-366,-333,-294,-264,-248,-240,-231,-223,-220,-220,-212,-195,-178,-167,-153,-131,-110,-106,-116,-121,-115,-112,-121,-133,-134,-130,-138,-161,-182,-190,-191,-191,-188,-177,-160,-146,-136,-124,-104,-80,-61,-56,-68,-94,-126,-159,-184,-193,-179,-152,-128,-118,-116,-117,-122,-132,-134,-115,-81,-51,-35,-35,-51,-81,-113,-134,-146,-157,-156,-122,-57},
{-58,272,106,-355,-214,413,337,-490,-501,593,641,-834,351,7465,14751,10852,-6487,-23526,-23840,-7261,9706,12804,4463,-2613,-1539,3714,7139,8731,11963,16693,17826,10961,-2004,-13194,-14808,-5784,6889,14102,12593,6830,2940,2021,612,-3231,-6802,-6516,-2963,-253,-773,-2604,-2701,-1048,-245,-1721,-4023,-4991,-4263,-3020,-2245,-2108,-2417,-2720,-2289,-948,242,33,-1257,-1985,-1354,-359,-187,-634,-851,-864,-1295,-1989,-2053,-1264,-484,-411,-723,-804,-666,-655,-742,-667,-502,-557,-852,-1115,-1220,-1244,-1126,-702,-104,222,33,-410,-693,-710,-637,-621,-645,-647,-609,-548,-468,-356,-208,-76,-75,-255,-494,-597,-518,-393,-345,-355,-357,-356,-365,-339,-250,-171,-190,-291,-389,-452,-484,-436,-250,12,186,188,110,65,41,-47,-186,-269,-242,-184,-192,-243,-241,-153,-58,-37,-75,-98,-82,-75,-126,-220,-300,-312,-240,-122,-31,-19,-68,-120,-152,-191,-260,-337,-382,-381,-345,-291,-244,-224,-211,-163,-81,-26,-47,-119,-177,-198,-195,-165,-93,-7,40,41,38,54,61,27,-40,-107,-153,-163,-125,-48,37,105,155,185,175,122,53,-4,-42,-60,-40,25,107,172,222,272,312,317,286,240,188,122,48,-17,-67,-107,-130,-115,-59,8,61,95,111,102,70,40,42,75,120,162,203,241,251,205,112,23,-19,-48,-146,-325,-469,-448,-274,-99,-36,-50,-42,8,42,28}
},
{ // H-20e125a.wav
{2,4,3,1,2,5,4,0,-1,2,4,2,1,3,3,0,0,3,4,1,-1,2,4,2,2,4,4,2,4,9,6,-3,-1,10,8,-7,-4,19,19,-14,-22,23,46,-7,-45,21,74,-8,60,772,1959,2451,1183,-1340,-3220,-3069,-1403,150,712,744,965,1337,1367,988,723,1090,2131,3434,4344,4249,3020,1295,74,-179,108,256,147,169,485,723,491,-82,-525,-603,-496,-448,-478,-488,-459,-413,-304,-102,70,44,-141,-238,-102,121,198,106,20,57,167,269,364,456,484,402,274,189,134,16,-187,-389,-507,-552,-573,-578,-556,-530,-535,-558,-559,-531,-514,-530,-562,-597,-643,-696,-713,-660,-569,-506,-494,-490,-450,-396,-380,-413,-444,-424,-368,-329,-339,-380,-422,-454,-474,-470,-438,-401,-393,-417,-443,-452,-456,-474,-494,-483,-440,-402,-396,-405,-396,-366,-341,-328,-306,-266,-232,-234,-265,-289,-290,-284,-291,-309,-324,-335,-349,-364,-367,-351,-325,-300,-276,-247,-220,-208,-216,-228,-229,-221,-216,-216,-210,-190,-164,-144,-130,-114,-97,-87,-89,-98,-108,-121,-143,-171,-192,-197,-194,-198,-212,-223,-220,-201,-174,-145,-115,-84,-56,-38,-29,-28,-37,-62,-98,-137,-172,-200,-211,-197,-162,-125,-102,-95,-98,-109,-124,-132,-121,-94,-69,-59,-63,-76,-91,-102,-107,-109,-115,-114,-90,-43},
{-232,-6,266,65,-337,-168,394,290,-459,-442,548,568,-760,389,6960,13696,10216,-5655,-21496,-22176,-7151,8714,12038,4391,-2774,-2452,2639,7022,9600,12440,15533,15500,9354,-1460,-10890,-12421,-4590,6985,13972,12668,6703,2086,609,-544,-3454,-6136,-5557,-2266,30,-756,-2674,-2772,-1091,-264,-1792,-4267,-5451,-4807,-3402,-2272,-1761,-1855,-2190,-2014,-1017,-79,-324,-1452,-1953,-1152,-97,35,-509,-811,-832,-1207,-1870,-1976,-1239,-421,-238,-502,-682,-700,-749,-769,-616,-466,-600,-927,-1122,-1113,-1066,-975,-651,-159,118,-46,-434,-690,-725,-676,-646,-624,-593,-562,-531,-478,-386,-256,-132,-108,-247,-470,-605,-571,-449,-358,-321,-302,-290,-286,-263,-212,-180,-213,-298,-393,-473,-507,-428,-218,23,153,149,105,87,51,-52,-175,-230,-207,-176,-189,-210,-183,-108,-42,-27,-56,-90,-110,-124,-157,-221,-293,-319,-254,-130,-43,-61,-144,-207,-223,-237,-285,-335,-350,-331,-301,-266,-232,-212,-202,-170,-107,-60,-74,-134,-187,-214,-220,-194,-117,-18,39,41,38,64,82,44,-37,-110,-141,-134,-101,-44,28,103,161,187,171,122,61,2,-46,-63,-27,50,126,176,221,279,323,316,267,212,159,89,5,-63,-98,-112,-109,-74,1,85,134,137,113,77,36,5,8,49,105,153,191,226,240,196,100,12,-30,-78,-211,-397,-488,-389,-189,-60,-60,-96,-74,-16,10}
},
{ // H-20e130a.wav
{1,0,-1,1,2,0,-2,0,3,2,-2,-2,1,1,-2,-1,2,2,-1,-1,1,0,-2,2,5,2,-2,3,7,-1,-6,6,16,-1,-20,1,32,11,-36,-19,48,42,-43,-46,64,70,-39,279,1455,2748,2531,150,-2870,-4131,-2879,-645,692,856,853,1279,1676,1487,966,883,1683,3132,4521,5020,4138,2227,407,-354,-132,216,145,-56,85,455,532,150,-313,-496,-489,-571,-776,-914,-884,-744,-535,-258,-26,-21,-218,-337,-200,0,-25,-205,-192,120,395,306,-21,-187,-38,212,331,314,253,160,41,-15,38,65,-98,-393,-585,-568,-484,-498,-575,-577,-486,-425,-476,-587,-663,-681,-668,-640,-595,-549,-524,-512,-489,-456,-437,-432,-409,-348,-282,-270,-330,-417,-471,-464,-422,-386,-371,-368,-370,-385,-414,-442,-452,-449,-449,-458,-459,-439,-410,-395,-399,-397,-365,-317,-290,-299,-321,-325,-309,-297,-302,-314,-316,-312,-319,-341,-364,-369,-352,-323,-291,-260,-239,-237,-249,-256,-249,-240,-238,-235,-219,-200,-196,-206,-204,-180,-150,-134,-126,-111,-93,-88,-101,-120,-138,-157,-181,-205,-223,-235,-239,-235,-222,-203,-180,-157,-137,-115,-84,-43,-7,8,5,-4,-19,-52,-106,-165,-208,-225,-216,-187,-151,-123,-105,-91,-83,-92,-117,-137,-135,-119,-107,-101,-90,-76,-71,-73,-69,-62,-67,-81,-77,-42},
{30,-183,-90,199,127,-257,-224,282,329,-319,-472,361,594,-536,17,5461,12154,10694,-2622,-18125,-21307,-9088,6395,11481,5138,-2636,-3616,1310,6652,9796,11994,14078,14002,9146,146,-8155,-9987,-3657,6328,12741,11925,6525,1781,-128,-1122,-3207,-5284,-4912,-2147,89,-374,-2328,-3017,-1774,-639,-1497,-3772,-5413,-5300,-3981,-2555,-1674,-1472,-1665,-1649,-1086,-492,-678,-1499,-1840,-1108,-76,207,-224,-627,-809,-1182,-1733,-1832,-1213,-464,-222,-409,-590,-654,-735,-782,-660,-505,-583,-869,-1089,-1120,-1047,-875,-516,-89,76,-150,-516,-718,-734,-711,-695,-632,-521,-437,-417,-432,-440,-403,-305,-208,-224,-378,-537,-559,-459,-358,-323,-311,-278,-229,-188,-167,-182,-246,-339,-423,-476,-487,-422,-253,-35,118,151,116,84,52,-21,-121,-180,-166,-123,-112,-133,-147,-128,-95,-78,-89,-115,-139,-152,-168,-210,-282,-334,-309,-213,-132,-136,-197,-234,-222,-214,-247,-301,-334,-338,-326,-296,-249,-208,-188,-167,-126,-92,-107,-166,-222,-245,-241,-203,-121,-17,53,67,56,53,44,2,-62,-111,-125,-108,-69,-17,37,86,127,153,147,108,59,22,-3,-15,-2,44,102,149,195,256,310,319,272,201,130,55,-25,-88,-117,-116,-90,-34,51,129,163,148,106,49,-10,-47,-33,26,87,129,169,214,226,166,64,-10,-44,-117,-279,-445,-471,-326,-147,-79,-119,-153,-111,-37}
},
{ // H-20e135a.wav
{-2,-2,3,4,-1,-3,1,4,0,-3,0,1,-1,-3,0,3,0,-3,0,1,-2,-2,4,3,-4,-2,9,6,-11,-9,17,20,-16,-29,14,40,-9,-51,3,70,15,-71,-5,108,16,-10,791,2444,3420,1966,-1571,-4517,-4542,-2114,287,1074,881,1043,1706,1994,1517,990,1360,2796,4564,5579,5078,3170,917,-414,-439,95,273,27,-55,273,545,270,-374,-791,-735,-527,-557,-832,-1082,-1120,-952,-673,-396,-240,-242,-287,-240,-142,-146,-245,-239,-38,156,118,-65,-116,16,86,-58,-240,-218,-27,109,103,65,74,75,31,1,7,-53,-252,-490,-606,-588,-550,-556,-561,-538,-539,-594,-640,-606,-518,-469,-495,-532,-509,-430,-358,-339,-366,-396,-403,-393,-383,-374,-354,-331,-330,-359,-395,-412,-407,-393,-380,-375,-388,-421,-450,-453,-432,-413,-404,-385,-348,-319,-327,-363,-392,-390,-362,-326,-297,-287,-300,-329,-356,-368,-368,-361,-346,-319,-288,-267,-261,-265,-271,-278,-279,-270,-253,-239,-232,-225,-213,-200,-198,-203,-199,-176,-147,-131,-130,-131,-126,-123,-134,-158,-186,-208,-221,-223,-216,-208,-208,-216,-219,-206,-178,-148,-125,-103,-73,-35,-4,12,17,18,12,-16,-69,-134,-193,-231,-241,-221,-179,-136,-112,-105,-102,-98,-102,-120,-141,-153,-152,-137,-109,-75,-50,-42,-43,-41,-41,-55,-72,-68,-36},
{113,49,-135,-114,132,160,-153,-249,142,343,-130,-464,113,588,-206,-378,3476,9974,11274,1615,-13342,-20124,-12047,2779,10448,6296,-1906,-4557,-215,5796,9332,10966,12513,13052,9844,2448,-5281,-7851,-3065,5560,11546,11067,5954,1088,-779,-1001,-2101,-4087,-4670,-2730,-174,297,-1489,-3124,-2794,-1431,-1248,-2878,-4811,-5376,-4421,-2957,-1887,-1462,-1454,-1420,-1061,-621,-698,-1368,-1835,-1360,-282,384,207,-341,-779,-1160,-1577,-1707,-1269,-565,-173,-252,-513,-706,-809,-820,-707,-569,-582,-750,-913,-986,-1003,-907,-578,-124,104,-82,-462,-697,-712,-667,-651,-614,-527,-446,-412,-406,-407,-406,-378,-315,-282,-351,-473,-516,-430,-310,-267,-294,-307,-268,-209,-175,-182,-225,-293,-372,-449,-494,-454,-301,-86,77,123,99,87,98,77,7,-59,-75,-71,-103,-164,-195,-171,-131,-125,-145,-155,-147,-147,-181,-247,-324,-372,-351,-256,-148,-106,-145,-208,-242,-253,-276,-315,-346,-352,-329,-283,-233,-208,-210,-199,-151,-104,-114,-173,-218,-219,-201,-177,-124,-36,36,44,11,-6,5,2,-36,-82,-96,-71,-33,1,35,77,122,147,136,101,72,56,35,4,-6,31,92,141,181,240,307,328,277,191,118,56,-21,-102,-146,-128,-66,10,82,136,154,132,82,22,-32,-56,-35,19,72,110,146,179,176,114,32,-18,-50,-141,-312,-456,-444,-292,-150,-128,-177,-174,-88}
},
{ // H-20e140a.wav
{2,5,3,0,2,5,2,-2,0,4,2,-3,0,7,6,-1,-1,3,1,-2,4,10,2,-7,3,15,2,-15,0,26,9,-28,-11,41,27,-46,-42,55,70,-46,-71,86,119,-71,229,1747,3626,3569,410,-3884,-5820,-4081,-797,1136,1156,859,1400,2189,2177,1501,1329,2450,4436,6016,6024,4222,1577,-375,-783,-179,265,92,-135,138,592,502,-211,-866,-935,-666,-635,-970,-1293,-1301,-1075,-830,-627,-457,-388,-449,-500,-395,-225,-189,-265,-211,35,216,109,-149,-269,-204,-139,-160,-181,-184,-279,-455,-480,-215,138,270,167,75,114,135,-8,-230,-355,-362,-377,-472,-588,-644,-629,-577,-517,-467,-438,-420,-390,-352,-344,-387,-456,-495,-474,-411,-351,-321,-319,-326,-333,-346,-366,-379,-370,-351,-345,-361,-384,-402,-411,-410,-394,-365,-337,-325,-334,-362,-399,-421,-410,-373,-343,-336,-336,-324,-314,-330,-363,-374,-346,-311,-304,-315,-314,-298,-296,-316,-331,-313,-275,-247,-240,-242,-245,-249,-250,-238,-213,-191,-182,-177,-164,-148,-142,-152,-170,-182,-186,-186,-190,-197,-201,-198,-193,-192,-197,-201,-198,-191,-182,-170,-150,-127,-108,-93,-69,-34,-1,17,23,29,32,16,-30,-98,-164,-210,-228,-222,-200,-170,-141,-123,-118,-120,-119,-116,-121,-134,-141,-128,-99,-70,-50,-39,-28,-17,-16,-32,-55,-67,-55,-26},
{-77,58,107,-52,-152,26,185,-9,-245,-38,301,93,-375,-164,464,176,-505,1500,7121,10975,5886,-7234,-17430,-14784,-2035,8145,7320,-376,-4860,-1887,4321,8340,9654,10780,12069,10821,5311,-1943,-5745,-2964,4328,10384,10691,5784,290,-1881,-1126,-724,-2360,-4160,-3518,-846,773,-492,-2955,-3734,-2403,-1210,-1964,-3927,-5095,-4617,-3261,-2105,-1565,-1505,-1559,-1324,-750,-398,-808,-1585,-1684,-758,305,505,-99,-737,-1048,-1257,-1454,-1353,-849,-335,-214,-432,-676,-809,-871,-861,-740,-583,-541,-663,-860,-991,-929,-624,-210,31,-69,-366,-573,-577,-493,-451,-468,-512,-565,-591,-550,-460,-378,-317,-252,-223,-313,-501,-614,-530,-333,-206,-213,-268,-278,-247,-217,-204,-211,-251,-331,-425,-484,-462,-339,-141,48,148,159,150,162,157,88,-17,-88,-109,-132,-190,-244,-242,-199,-174,-189,-205,-191,-167,-178,-232,-295,-332,-318,-255,-178,-142,-174,-242,-290,-298,-297,-319,-351,-362,-335,-283,-236,-215,-213,-201,-161,-115,-105,-136,-174,-193,-201,-202,-172,-101,-30,-4,-15,-16,6,15,-13,-49,-59,-43,-22,2,41,87,121,132,123,106,84,62,39,16,6,30,89,159,212,249,281,294,262,190,109,37,-34,-104,-144,-125,-59,15,71,105,119,111,81,29,-31,-68,-50,12,68,91,103,123,120,58,-20,-46,-45,-128,-316,-464,-435,-282,-181,-192,-204,-122}
},
{ // H-20e145a.wav
{4,0,-2,2,4,-1,-5,1,5,0,-5,0,5,1,-3,1,2,-3,-2,8,8,-5,-5,12,10,-16,-17,20,30,-17,-40,16,56,-8,-72,-2,91,19,-101,-4,167,36,-60,949,3169,4537,2595,-2232,-6235,-6140,-2628,717,1587,966,967,1952,2606,2190,1632,2291,4290,6338,6870,5278,2376,-157,-1065,-526,200,205,-185,-134,420,661,64,-843,-1166,-796,-465,-745,-1377,-1726,-1565,-1164,-813,-572,-442,-458,-546,-530,-401,-370,-502,-507,-149,301,343,-59,-402,-323,-64,-66,-352,-576,-544,-401,-326,-314,-295,-275,-251,-157,12,125,87,-18,-51,-17,-33,-138,-270,-399,-551,-692,-702,-520,-265,-125,-167,-300,-406,-445,-448,-443,-424,-379,-326,-308,-343,-395,-413,-385,-343,-319,-318,-330,-348,-360,-357,-347,-352,-368,-363,-323,-287,-304,-363,-411,-416,-400,-386,-366,-336,-317,-328,-352,-358,-346,-337,-335,-320,-289,-268,-286,-328,-361,-371,-369,-359,-330,-281,-235,-215,-222,-243,-262,-266,-247,-215,-190,-180,-175,-166,-164,-181,-208,-222,-222,-223,-229,-223,-200,-181,-182,-191,-184,-166,-157,-162,-166,-161,-155,-153,-149,-135,-111,-78,-40,-4,17,23,22,20,13,-4,-28,-60,-103,-151,-190,-210,-214,-205,-186,-165,-155,-153,-145,-126,-110,-106,-103,-87,-61,-44,-41,-39,-30,-23,-22,-23,-29,-48,-72,-71,-38},
{6,-66,-19,88,39,-114,-83,119,114,-144,-180,147,250,-157,-345,163,421,-239,112,3951,9139,8831,-507,-12437,-15786,-7306,4049,7323,1701,-4150,-3333,2330,6893,8243,8911,10641,11339,8160,1913,-2963,-2569,2731,8508,10002,6163,443,-2609,-1805,-82,-637,-3004,-3941,-1941,607,492,-2154,-4155,-3473,-1608,-1282,-2947,-4637,-4697,-3439,-2152,-1550,-1539,-1735,-1698,-1144,-409,-298,-1014,-1625,-1163,12,628,143,-711,-1101,-1085,-1122,-1197,-994,-586,-400,-568,-785,-818,-773,-785,-770,-640,-521,-587,-791,-924,-856,-612,-306,-75,-38,-195,-397,-477,-411,-314,-302,-391,-509,-572,-553,-504,-476,-448,-363,-255,-248,-389,-547,-560,-435,-315,-281,-275,-229,-168,-156,-204,-271,-332,-385,-419,-408,-335,-211,-60,76,153,160,135,126,127,88,-10,-121,-190,-221,-245,-267,-260,-223,-201,-220,-243,-220,-161,-127,-156,-229,-302,-341,-328,-268,-211,-216,-278,-326,-314,-277,-282,-329,-360,-341,-295,-254,-225,-198,-172,-147,-129,-131,-160,-198,-219,-219,-209,-183,-130,-66,-28,-22,-18,-2,9,-1,-15,-16,-15,-22,-18,19,73,111,122,120,110,92,73,63,55,42,46,88,152,201,227,250,264,238,167,81,4,-69,-131,-149,-107,-36,24,62,84,89,75,48,10,-36,-67,-49,6,47,52,56,72,54,-19,-74,-53,-28,-122,-313,-439,-409,-306,-238,-193,-107}
},
{ // H-20e150a.wav
{-5,-2,4,1,-5,-2,4,0,-7,-3,6,4,-5,-3,4,-1,-9,0,11,2,-10,2,16,-3,-26,-3,33,9,-42,-19,50,30,-64,-53,72,78,-81,-99,125,169,-85,328,2328,4705,4427,111,-5468,-7691,-5027,-548,1819,1468,761,1403,2591,2813,2208,2348,4129,6568,7710,6407,3273,174,-1256,-878,49,294,-125,-293,195,640,225,-806,-1407,-1067,-429,-427,-1139,-1825,-1900,-1504,-1096,-871,-738,-629,-556,-492,-419,-437,-595,-672,-415,32,214,-20,-296,-270,-121,-211,-475,-531,-326,-239,-472,-717,-635,-362,-269,-399,-457,-300,-115,-79,-101,-29,82,67,-94,-257,-314,-288,-248,-227,-235,-273,-317,-326,-296,-263,-262,-289,-319,-341,-362,-392,-426,-437,-402,-340,-308,-335,-382,-393,-359,-317,-289,-272,-264,-276,-306,-330,-341,-358,-392,-417,-407,-373,-346,-336,-334,-337,-344,-340,-312,-279,-272,-291,-302,-291,-291,-332,-390,-418,-401,-368,-343,-317,-280,-246,-236,-247,-255,-250,-239,-226,-208,-189,-183,-196,-214,-219,-219,-234,-266,-288,-276,-238,-200,-183,-182,-181,-176,-171,-164,-150,-130,-117,-122,-142,-158,-157,-141,-119,-90,-52,-14,7,9,9,17,24,17,-6,-32,-54,-81,-118,-158,-189,-208,-218,-215,-200,-181,-166,-152,-134,-116,-100,-81,-51,-18,-1,-3,-10,-17,-32,-53,-61,-45,-34,-57,-98,-104,-58},
{27,35,-34,-60,31,83,-32,-125,5,147,5,-203,-52,243,97,-309,-170,366,190,-347,1306,6000,9288,5183,-5498,-13630,-11348,-1542,5315,3448,-2365,-4012,118,5025,6857,7103,8689,10907,10346,5840,532,-1269,1611,6243,8390,6142,1364,-2154,-2262,-387,293,-1418,-3395,-3009,-632,716,-781,-3408,-4184,-2649,-1207,-1844,-3756,-4727,-3901,-2344,-1369,-1269,-1586,-1794,-1545,-862,-318,-513,-1171,-1277,-424,508,459,-430,-1135,-1166,-983,-1038,-1130,-929,-607,-542,-731,-873,-859,-823,-807,-695,-500,-424,-579,-812,-884,-714,-400,-109,19,-56,-235,-356,-341,-258,-217,-264,-367,-456,-479,-444,-418,-439,-457,-419,-378,-430,-543,-565,-434,-274,-230,-284,-316,-287,-255,-254,-247,-218,-212,-253,-295,-276,-190,-70,55,147,158,81,-12,-44,-24,-27,-88,-164,-209,-239,-277,-301,-273,-208,-167,-177,-200,-197,-180,-190,-242,-310,-355,-353,-306,-249,-232,-269,-318,-329,-305,-287,-298,-315,-307,-274,-238,-216,-210,-214,-213,-196,-173,-167,-185,-203,-202,-189,-176,-150,-100,-44,-12,-8,-6,5,11,3,-8,-14,-19,-17,5,52,106,141,147,131,109,93,86,79,66,62,89,143,190,206,200,191,173,128,55,-23,-84,-115,-112,-73,-12,40,59,49,30,19,13,-3,-31,-49,-37,-10,5,2,1,4,-13,-55,-79,-55,-30,-91,-250,-406,-444,-347,-192,-65}
},
{ // H-20e155a.wav
{3,5,-2,-5,2,5,-2,-5,3,7,-1,-5,1,3,-4,-3,8,6,-8,-4,16,10,-22,-18,25,30,-27,-44,26,58,-27,-82,20,110,-8,-136,14,204,35,52,1509,4222,5457,2470,-3668,-8176,-7372,-2635,1407,2116,1021,893,2160,3121,2876,2652,4031,6692,8495,7612,4296,619,-1362,-1221,-187,301,-19,-313,37,563,344,-707,-1616,-1514,-704,-277,-790,-1681,-2068,-1758,-1257,-1007,-972,-923,-792,-634,-495,-446,-565,-729,-624,-172,219,96,-411,-715,-512,-112,33,-137,-387,-572,-702,-758,-698,-591,-548,-536,-431,-256,-184,-276,-388,-383,-299,-221,-138,-27,35,-24,-128,-140,-57,-8,-64,-153,-191,-191,-207,-247,-288,-327,-370,-398,-386,-345,-312,-311,-342,-382,-402,-383,-331,-281,-259,-261,-275,-298,-323,-332,-319,-313,-340,-386,-413,-408,-387,-366,-340,-309,-285,-269,-246,-219,-217,-258,-313,-339,-336,-341,-374,-409,-414,-389,-355,-325,-293,-261,-235,-218,-217,-236,-264,-273,-247,-211,-202,-226,-251,-256,-256,-271,-289,-285,-258,-228,-208,-192,-179,-176,-180,-175,-154,-129,-112,-105,-104,-112,-129,-144,-143,-126,-99,-67,-34,-7,7,12,13,14,13,11,5,-9,-34,-67,-104,-145,-184,-211,-219,-217,-213,-202,-176,-146,-124,-107,-82,-49,-18,5,19,19,3,-18,-34,-48,-64,-75,-73,-75,-104,-141,-135,-71},
{-31,-5,46,18,-57,-33,71,57,-86,-97,81,127,-92,-186,81,246,-71,-330,51,408,-74,-104,2653,7175,8050,1567,-8091,-12053,-6937,980,3435,-165,-3375,-1663,2727,5324,5646,6607,9295,11073,9203,4604,1053,1240,4249,6643,5725,1951,-1580,-2203,-385,916,-283,-2683,-3410,-1674,230,-159,-2412,-3917,-3246,-1748,-1543,-2850,-4049,-3883,-2711,-1630,-1193,-1276,-1540,-1617,-1232,-589,-335,-724,-1101,-733,88,377,-183,-874,-1042,-914,-988,-1189,-1127,-845,-735,-867,-923,-780,-686,-776,-826,-654,-444,-449,-609,-680,-584,-423,-266,-119,-46,-114,-243,-269,-170,-90,-136,-255,-345,-379,-394,-414,-431,-425,-394,-372,-418,-529,-600,-534,-377,-268,-265,-295,-284,-258,-259,-259,-215,-147,-115,-124,-134,-134,-138,-129,-83,-21,0,-24,-33,-2,10,-51,-151,-214,-226,-232,-251,-254,-229,-213,-236,-267,-264,-233,-213,-223,-256,-300,-343,-359,-327,-279,-271,-306,-325,-292,-247,-247,-284,-303,-284,-253,-239,-233,-222,-212,-211,-213,-212,-210,-207,-194,-172,-153,-137,-108,-62,-24,-10,-11,-7,3,9,11,15,14,4,4,38,94,134,139,128,120,112,98,83,77,79,90,113,143,162,160,143,118,78,23,-33,-73,-91,-84,-49,5,47,50,18,-18,-35,-37,-36,-33,-27,-23,-28,-40,-50,-49,-46,-59,-88,-97,-55,-3,-39,-199,-385,-442,-320,-126}
},
{ // H-20e160a.wav
{0,-5,-1,4,-1,-6,-1,6,2,-4,-1,2,-5,-7,5,10,-5,-10,8,15,-12,-27,8,34,-6,-45,-2,53,3,-77,-23,95,47,-110,-61,155,112,-8,962,3524,5687,4219,-1440,-7431,-8906,-5102,30,2359,1688,820,1557,2950,3406,3216,4094,6614,9004,8826,5581,1311,-1348,-1510,-426,199,-60,-360,-5,587,458,-604,-1707,-1856,-1099,-449,-697,-1561,-2124,-1926,-1354,-1014,-1029,-1096,-996,-798,-658,-635,-695,-733,-608,-311,-77,-140,-380,-441,-232,-73,-229,-524,-632,-559,-572,-735,-828,-726,-578,-534,-528,-455,-377,-400,-462,-424,-297,-218,-235,-266,-256,-239,-223,-146,17,181,252,229,164,66,-84,-262,-399,-443,-398,-315,-255,-254,-292,-312,-293,-273,-289,-321,-327,-309,-302,-320,-337,-330,-313,-307,-317,-337,-357,-367,-364,-360,-366,-375,-361,-317,-263,-221,-193,-182,-199,-245,-296,-325,-336,-350,-373,-386,-378,-364,-354,-338,-302,-255,-223,-220,-236,-258,-282,-301,-302,-284,-268,-271,-283,-282,-265,-255,-260,-268,-258,-229,-199,-183,-179,-181,-180,-170,-149,-126,-110,-102,-99,-100,-107,-115,-118,-116,-109,-90,-54,-14,5,-1,-12,-11,-1,8,19,32,34,11,-35,-89,-142,-191,-226,-238,-230,-213,-188,-155,-128,-116,-107,-79,-33,5,23,29,29,16,-13,-40,-52,-61,-84,-113,-128,-133,-146,-155,-128,-62},
{22,-8,-30,10,44,-10,-63,0,80,9,-109,-40,121,59,-155,-111,172,160,-208,-240,237,304,-263,401,3806,7448,6234,-1022,-8578,-9624,-4277,839,936,-1777,-2269,517,3430,4398,4983,7214,10092,10756,8203,4496,2458,2971,4526,4810,2756,-437,-2254,-1350,823,1399,-641,-3170,-3429,-1402,196,-657,-2877,-3881,-2914,-1696,-1900,-3086,-3640,-2945,-1821,-1194,-1159,-1353,-1484,-1344,-853,-352,-363,-819,-980,-451,159,62,-600,-1026,-941,-833,-1036,-1244,-1127,-894,-887,-1011,-968,-779,-698,-735,-666,-461,-351,-448,-579,-561,-431,-295,-171,-66,-58,-166,-254,-191,-39,24,-77,-251,-376,-416,-408,-400,-406,-396,-345,-294,-315,-403,-459,-422,-359,-355,-384,-360,-275,-206,-191,-185,-157,-140,-164,-201,-212,-196,-173,-140,-96,-66,-66,-62,-15,43,38,-45,-147,-214,-253,-289,-308,-289,-250,-236,-253,-270,-269,-266,-274,-288,-306,-335,-364,-358,-311,-273,-285,-315,-306,-257,-227,-244,-271,-269,-249,-243,-252,-255,-248,-244,-243,-236,-222,-206,-189,-168,-150,-133,-107,-68,-35,-24,-22,-6,21,39,42,42,37,18,-1,10,55,101,118,113,106,99,88,78,78,86,96,110,126,129,111,80,51,20,-18,-53,-67,-58,-39,-16,5,13,1,-23,-49,-67,-69,-50,-23,-13,-30,-58,-80,-95,-100,-91,-83,-99,-117,-80,2,7,-148,-352,-390,-212}
},
{ // H-20e165a.wav
{-3,3,1,-5,-2,6,4,-3,-2,1,-3,-5,5,11,-1,-12,3,17,-3,-25,-2,30,6,-38,-14,44,19,-63,-46,68,71,-66,-81,95,120,-4,675,2930,5446,5156,522,-5876,-9193,-7098,-2029,1666,2185,1270,1291,2489,3502,3793,4483,6592,9122,9645,6900,2390,-966,-1639,-634,92,-159,-521,-137,604,616,-446,-1713,-2084,-1434,-680,-728,-1526,-2233,-2197,-1588,-1048,-941,-1088,-1134,-955,-708,-623,-794,-1052,-1041,-585,18,238,-73,-492,-569,-367,-273,-433,-635,-711,-750,-842,-878,-755,-587,-556,-649,-693,-609,-473,-357,-259,-188,-195,-285,-387,-449,-469,-432,-289,-46,182,280,251,184,134,83,3,-104,-217,-311,-361,-350,-291,-220,-172,-166,-203,-266,-321,-343,-330,-301,-276,-280,-322,-381,-411,-387,-343,-329,-344,-350,-333,-317,-311,-294,-265,-256,-279,-285,-232,-158,-146,-211,-283,-307,-309,-340,-383,-385,-339,-295,-285,-287,-270,-245,-242,-269,-306,-338,-360,-365,-343,-304,-276,-273,-282,-278,-259,-243,-240,-241,-231,-207,-179,-166,-174,-183,-170,-137,-105,-91,-91,-96,-102,-108,-107,-96,-81,-73,-70,-60,-42,-27,-22,-23,-19,-8,4,17,32,48,56,44,3,-57,-117,-164,-197,-220,-228,-216,-188,-157,-129,-101,-73,-46,-24,-4,14,28,32,25,6,-20,-45,-68,-97,-132,-156,-153,-139,-142,-154,-133,-68},
{-14,12,19,-15,-23,21,33,-26,-46,29,63,-33,-95,18,117,-13,-161,-18,196,45,-254,-94,317,126,-287,1012,4537,7073,4599,-2276,-7908,-7784,-3553,-392,-548,-1622,-850,1362,3052,3964,5481,8016,10067,10030,7961,5312,3524,3049,3173,2611,796,-1222,-1682,-246,1261,836,-1293,-2938,-2624,-1255,-758,-1684,-2817,-2980,-2424,-2163,-2512,-2861,-2654,-2023,-1424,-1101,-1078,-1272,-1396,-1089,-441,-102,-484,-1081,-1052,-369,137,-80,-643,-940,-959,-1047,-1234,-1255,-1088,-980,-998,-948,-787,-718,-793,-772,-517,-259,-255,-413,-474,-399,-332,-304,-224,-104,-65,-112,-118,-49,-31,-135,-258,-291,-281,-322,-392,-391,-299,-197,-159,-198,-285,-370,-402,-371,-322,-306,-315,-309,-282,-255,-237,-227,-237,-268,-290,-278,-258,-260,-253,-177,-50,34,26,-17,-25,-16,-50,-123,-176,-188,-198,-235,-279,-297,-299,-313,-338,-349,-335,-309,-292,-298,-328,-360,-365,-334,-296,-282,-287,-281,-257,-237,-240,-251,-254,-258,-276,-295,-289,-260,-241,-246,-248,-223,-184,-164,-162,-155,-127,-95,-74,-57,-35,-14,-4,2,19,44,57,49,30,17,15,21,33,49,66,81,90,93,93,97,109,117,106,80,56,41,24,-3,-27,-41,-53,-63,-56,-26,-2,-9,-36,-47,-44,-51,-64,-57,-33,-26,-46,-63,-69,-93,-133,-136,-93,-77,-132,-173,-102,14,6,-141,-244,-166}
},
{ // H-20e170a.wav
{1,-6,-4,4,3,-3,-2,2,-4,-9,1,10,0,-12,0,15,-1,-24,-7,24,6,-37,-21,36,24,-52,-49,48,61,-56,-75,84,110,-38,494,2549,5152,5504,1760,-4342,-8518,-7953,-3858,171,1820,1666,1555,2289,3283,4006,4962,6881,9198,9982,7802,3537,-166,-1403,-701,18,-227,-693,-364,502,708,-300,-1699,-2251,-1674,-856,-795,-1557,-2342,-2428,-1877,-1290,-1068,-1085,-1033,-870,-804,-954,-1165,-1162,-824,-318,18,-30,-340,-579,-560,-423,-397,-509,-623,-682,-761,-889,-985,-990,-943,-871,-732,-528,-373,-352,-394,-388,-339,-327,-353,-347,-301,-282,-303,-295,-227,-156,-118,-54,77,205,215,98,-41,-112,-122,-124,-149,-183,-198,-182,-160,-167,-218,-282,-320,-329,-333,-341,-349,-355,-362,-361,-350,-346,-364,-387,-378,-337,-307,-306,-302,-266,-221,-203,-206,-197,-174,-172,-205,-245,-259,-263,-283,-313,-325,-317,-310,-315,-313,-290,-267,-275,-315,-361,-391,-401,-392,-362,-324,-298,-291,-286,-270,-248,-237,-241,-245,-238,-220,-197,-175,-164,-165,-167,-154,-129,-104,-88,-81,-83,-95,-105,-98,-78,-65,-62,-55,-35,-20,-23,-33,-30,-19,-15,-15,1,38,72,82,64,25,-29,-89,-142,-178,-198,-205,-200,-186,-164,-133,-94,-60,-43,-35,-17,11,27,23,13,6,-14,-56,-97,-118,-129,-147,-161,-151,-136,-151,-180,-164,-85},
{6,-12,-8,15,10,-19,-12,26,18,-34,-29,38,38,-50,-65,45,80,-57,-122,45,155,-45,-217,31,286,-31,-154,1552,4836,6478,3545,-2607,-7173,-7049,-3867,-1340,-882,-996,-116,1557,3105,4416,5996,7909,9484,9854,8567,5997,3360,1877,1563,1214,22,-1191,-1017,436,1322,253,-1897,-3000,-2223,-902,-787,-1995,-3122,-3094,-2310,-1855,-2100,-2456,-2297,-1670,-1061,-820,-953,-1214,-1258,-894,-366,-182,-501,-867,-792,-419,-270,-481,-690,-684,-724,-1045,-1419,-1475,-1230,-994,-893,-811,-696,-640,-648,-584,-419,-301,-320,-368,-331,-256,-235,-249,-231,-199,-198,-196,-130,-34,-1,-57,-149,-232,-295,-317,-274,-200,-160,-175,-211,-246,-279,-293,-261,-204,-178,-196,-216,-222,-257,-346,-439,-469,-434,-383,-343,-308,-270,-232,-192,-146,-104,-75,-45,4,53,55,-8,-94,-160,-201,-239,-279,-311,-331,-353,-381,-399,-389,-351,-304,-273,-274,-306,-345,-361,-344,-317,-303,-297,-277,-247,-235,-253,-279,-290,-289,-288,-278,-249,-216,-204,-208,-200,-174,-152,-146,-140,-120,-97,-87,-83,-68,-44,-25,-10,9,30,44,47,43,30,12,2,7,21,34,51,77,102,110,107,108,107,84,43,9,-8,-23,-47,-68,-75,-76,-74,-59,-33,-19,-32,-54,-60,-45,-29,-20,-19,-29,-53,-75,-83,-89,-108,-125,-118,-106,-128,-176,-187,-131,-55,-18,-19,-18}
},
{ // H-20e175a.wav
{-4,4,3,-4,-2,3,-2,-8,0,10,1,-12,0,17,1,-24,-7,26,7,-39,-23,38,27,-54,-55,49,66,-61,-88,87,129,-65,341,2285,4954,5646,2420,-3306,-7626,-7828,-4726,-1237,694,1310,1760,2518,3299,4004,5158,7192,9448,10246,8335,4380,693,-844,-469,94,-213,-776,-533,365,683,-275,-1733,-2365,-1814,-972,-875,-1611,-2418,-2600,-2149,-1547,-1213,-1203,-1290,-1213,-918,-643,-687,-1006,-1161,-822,-236,22,-228,-581,-628,-460,-415,-553,-670,-710,-840,-1099,-1269,-1187,-960,-768,-632,-511,-469,-554,-631,-526,-293,-151,-177,-239,-243,-266,-371,-450,-366,-166,-20,-5,-45,-55,-41,-45,-65,-77,-76,-75,-70,-49,-15,6,-20,-100,-205,-290,-337,-360,-374,-372,-351,-338,-358,-387,-382,-342,-316,-341,-394,-422,-402,-348,-282,-219,-176,-158,-152,-137,-113,-101,-118,-155,-195,-232,-270,-308,-335,-339,-326,-314,-321,-341,-351,-335,-310,-314,-358,-408,-419,-390,-356,-338,-318,-279,-237,-220,-229,-239,-239,-238,-239,-227,-192,-156,-145,-157,-164,-150,-127,-108,-93,-78,-72,-81,-93,-88,-65,-39,-27,-27,-24,-13,-3,-5,-14,-18,-14,-4,11,39,79,108,100,55,-5,-58,-103,-145,-176,-184,-176,-165,-155,-135,-96,-52,-24,-14,-6,10,23,18,0,-16,-31,-58,-97,-126,-129,-120,-124,-145,-165,-177,-186,-183,-143,-68},
{-3,9,4,-9,-1,15,5,-14,-1,24,6,-30,-10,40,20,-49,-37,51,51,-63,-81,61,106,-70,-146,86,206,-94,58,1925,4889,6011,3006,-2686,-6919,-7047,-4295,-1716,-747,-453,482,2103,3601,4625,5689,7380,9364,10303,8982,5708,2359,666,548,539,-194,-891,-509,589,922,-249,-1972,-2726,-2114,-1124,-907,-1633,-2566,-2964,-2710,-2192,-1812,-1668,-1593,-1389,-1043,-774,-809,-1067,-1170,-879,-442,-301,-499,-632,-448,-224,-345,-735,-991,-961,-888,-978,-1127,-1170,-1130,-1086,-993,-797,-603,-538,-538,-455,-309,-248,-300,-333,-279,-235,-280,-348,-338,-255,-168,-101,-43,-7,-11,-39,-77,-144,-244,-318,-312,-252,-195,-145,-78,-22,-39,-121,-181,-175,-161,-210,-312,-398,-435,-443,-442,-427,-398,-369,-355,-356,-353,-330,-272,-187,-104,-47,-16,5,19,11,-26,-79,-133,-193,-265,-333,-372,-379,-371,-366,-359,-342,-320,-305,-302,-308,-327,-358,-382,-376,-344,-314,-302,-294,-277,-258,-253,-263,-270,-265,-251,-231,-209,-191,-180,-169,-153,-142,-146,-150,-135,-108,-95,-99,-98,-78,-53,-31,-3,31,47,30,5,1,11,10,0,3,24,47,62,79,100,112,105,84,52,12,-28,-58,-76,-91,-107,-117,-113,-97,-74,-48,-33,-38,-49,-41,-11,13,13,-3,-27,-64,-108,-127,-111,-93,-105,-131,-141,-150,-187,-220,-179,-63,36,47}
},
{ // H-20e180a.wav
{3,-5,-2,7,3,-8,-3,10,4,-10,0,17,2,-23,-6,29,10,-42,-27,43,35,-58,-65,53,81,-64,-112,83,160,-78,196,2060,4839,5798,2833,-2747,-7051,-7415,-4738,-1854,-364,310,1276,2597,3624,4253,5251,7232,9554,10505,8824,5112,1523,-163,-91,228,-160,-722,-508,339,648,-299,-1803,-2520,-1983,-1063,-908,-1676,-2509,-2637,-2193,-1841,-1846,-1842,-1460,-858,-498,-598,-957,-1221,-1167,-813,-400,-215,-325,-492,-481,-359,-374,-588,-831,-984,-1111,-1239,-1235,-1022,-771,-705,-808,-874,-801,-666,-544,-407,-240,-121,-116,-197,-290,-368,-423,-418,-328,-194,-86,-20,28,54,20,-92,-229,-307,-280,-181,-89,-50,-34,8,56,44,-53,-171,-248,-296,-355,-407,-408,-371,-356,-379,-395,-379,-366,-380,-392,-369,-338,-338,-341,-288,-180,-85,-42,-21,5,4,-59,-153,-211,-220,-227,-265,-314,-342,-357,-379,-397,-382,-334,-289,-283,-316,-362,-396,-405,-389,-361,-336,-317,-294,-264,-238,-228,-234,-243,-243,-230,-209,-186,-170,-162,-158,-154,-150,-145,-132,-110,-92,-88,-90,-84,-68,-48,-29,-11,3,7,2,-3,-4,-4,-5,0,12,25,39,60,89,108,104,76,34,-15,-68,-113,-137,-141,-141,-146,-143,-120,-83,-52,-34,-20,-4,10,14,10,3,-9,-38,-81,-115,-120,-108,-104,-118,-136,-157,-188,-215,-203,-138,-55,-4},
{3,-5,-2,7,3,-8,-3,10,4,-10,0,17,2,-23,-6,29,10,-42,-27,43,35,-58,-65,53,81,-64,-112,83,160,-78,196,2060,4839,5798,2833,-2747,-7051,-7415,-4738,-1854,-364,310,1276,2597,3624,4253,5251,7232,9554,10505,8824,5112,1523,-163,-91,228,-160,-722,-508,339,648,-299,-1803,-2520,-1983,-1063,-908,-1676,-2509,-2637,-2193,-1841,-1846,-1842,-1460,-858,-498,-598,-957,-1221,-1167,-813,-400,-215,-325,-492,-481,-359,-374,-588,-831,-984,-1111,-1239,-1235,-1022,-771,-705,-808,-874,-801,-666,-544,-407,-240,-121,-116,-197,-290,-368,-423,-418,-328,-194,-86,-20,28,54,20,-92,-229,-307,-280,-181,-89,-50,-34,8,56,44,-53,-171,-248,-296,-355,-407,-408,-371,-356,-379,-395,-379,-366,-380,-392,-369,-338,-338,-341,-288,-180,-85,-42,-21,5,4,-59,-153,-211,-220,-227,-265,-314,-342,-357,-379,-397,-382,-334,-289,-283,-316,-362,-396,-405,-389,-361,-336,-317,-294,-264,-238,-228,-234,-243,-243,-230,-209,-186,-170,-162,-158,-154,-150,-145,-132,-110,-92,-88,-90,-84,-68,-48,-29,-11,3,7,2,-3,-4,-4,-5,0,12,25,39,60,89,108,104,76,34,-15,-68,-113,-137,-141,-141,-146,-143,-120,-83,-52,-34,-20,-4,10,14,10,3,-9,-38,-81,-115,-120,-108,-104,-118,-136,-157,-188,-215,-203,-138,-55,-4}
}
},
{ // elev-30
{ // H-30e000a.wav
{-1,-2,-9,-5,11,12,-12,-20,10,29,-5,-39,-5,42,6,-66,-37,65,55,-76,-98,59,114,-68,-152,69,160,-44,685,3609,6973,6171,-869,-9224,-10892,-4237,3043,2734,-3664,-6765,-1212,7825,11663,8572,4123,2841,3745,4524,5904,9108,11506,8749,1138,-5332,-5580,-1214,1750,-177,-4771,-7238,-5108,-79,3849,3788,319,-3137,-3655,-1592,287,239,-761,-908,-83,310,-504,-1688,-2020,-1376,-691,-799,-1616,-2317,-2181,-1337,-692,-983,-1935,-2551,-2241,-1415,-884,-955,-1281,-1413,-1231,-919,-708,-665,-642,-443,-98,119,23,-220,-310,-195,-86,-137,-288,-409,-440,-360,-181,-8,11,-130,-273,-302,-267,-247,-221,-174,-197,-356,-534,-561,-450,-360,-362,-378,-351,-334,-353,-333,-228,-133,-157,-260,-310,-266,-207,-199,-219,-210,-159,-102,-80,-108,-153,-160,-118,-99,-171,-291,-344,-288,-200,-164,-175,-184,-180,-174,-153,-103,-59,-69,-122,-160,-155,-137,-120,-82,-31,-23,-78,-131,-122,-82,-91,-160,-225,-242,-239,-250,-264,-243,-175,-81,-12,-37,-192,-413,-562,-568,-508,-497,-523,-456,-217,104,330,367,269,167,142,164,133,-7,-195,-310,-308,-264,-273,-352,-454,-539,-580,-537,-370,-112,126,244,238,191,176,188,178,125,63,33,27,9,-28,-43,-2,78,157,215,249,245,194,126,86,78,62,22,-12,-14,6,22,21,-4,-56,-113,-125,-72},
{-1,-2,-9,-5,11,12,-12,-20,10,29,-5,-39,-5,42,6,-66,-37,65,55,-76,-98,59,114,-68,-152,69,160,-44,685,3609,6973,6171,-869,-9224,-10892,-4237,3043,2734,-3664,-6765,-1212,7825,11663,8572,4123,2841,3745,4524,5904,9108,11506,8749,1138,-5332,-5580,-1214,1750,-177,-4771,-7238,-5108,-79,3849,3788,319,-3137,-3655,-1592,287,239,-761,-908,-83,310,-504,-1688,-2020,-1376,-691,-799,-1616,-2317,-2181,-1337,-692,-983,-1935,-2551,-2241,-1415,-884,-955,-1281,-1413,-1231,-919,-708,-665,-642,-443,-98,119,23,-220,-310,-195,-86,-137,-288,-409,-440,-360,-181,-8,11,-130,-273,-302,-267,-247,-221,-174,-197,-356,-534,-561,-450,-360,-362,-378,-351,-334,-353,-333,-228,-133,-157,-260,-310,-266,-207,-199,-219,-210,-159,-102,-80,-108,-153,-160,-118,-99,-171,-291,-344,-288,-200,-164,-175,-184,-180,-174,-153,-103,-59,-69,-122,-160,-155,-137,-120,-82,-31,-23,-78,-131,-122,-82,-91,-160,-225,-242,-239,-250,-264,-243,-175,-81,-12,-37,-192,-413,-562,-568,-508,-497,-523,-456,-217,104,330,367,269,167,142,164,133,-7,-195,-310,-308,-264,-273,-352,-454,-539,-580,-537,-370,-112,126,244,238,191,176,188,178,125,63,33,27,9,-28,-43,-2,78,157,215,249,245,194,126,86,78,62,22,-12,-14,6,22,21,-4,-56,-113,-125,-72}
},
{ // H-30e006a.wav
{3,-1,-3,-1,-4,-7,2,13,3,-15,-6,20,15,-19,-22,19,30,-25,-54,8,62,-3,-86,-27,85,35,-103,-49,111,37,130,1616,4525,6093,3028,-3830,-8776,-7096,-1101,1989,-1269,-6124,-5484,1321,8040,9326,6342,3757,3680,4750,5787,7287,8986,8573,4563,-826,-3528,-2199,395,711,-1844,-4775,-5266,-2654,1209,3519,2795,150,-1813,-1625,-297,189,-677,-1568,-1263,-224,96,-890,-2197,-2428,-1366,-229,-328,-1584,-2589,-2211,-892,-75,-480,-1407,-1781,-1437,-1031,-1030,-1250,-1322,-1203,-1083,-1047,-998,-835,-593,-430,-471,-630,-637,-351,-13,8,-295,-516,-351,20,186,10,-274,-384,-273,-110,-103,-304,-532,-533,-278,-45,-92,-324,-439,-344,-243,-293,-397,-396,-318,-285,-302,-282,-220,-198,-240,-284,-292,-292,-299,-279,-222,-174,-162,-155,-132,-129,-171,-220,-218,-167,-127,-138,-192,-247,-253,-186,-88,-43,-85,-146,-138,-67,-16,-29,-66,-73,-57,-50,-57,-72,-107,-170,-233,-257,-250,-255,-296,-343,-351,-297,-190,-71,-24,-130,-373,-609,-692,-621,-527,-499,-476,-334,-54,233,382,369,284,220,189,137,24,-122,-235,-286,-311,-354,-419,-490,-571,-656,-677,-546,-278,-15,106,92,48,40,45,29,7,14,51,92,120,132,130,121,118,129,158,200,236,228,157,66,25,40,41,-17,-90,-113,-89,-70,-68,-58,-48,-80,-142,-161,-93},
{-7,-10,7,17,-4,-24,0,33,7,-42,-22,43,28,-63,-66,52,89,-52,-134,20,150,-16,-193,0,210,-11,354,3070,7183,7814,1242,-8781,-13012,-7127,2046,3992,-2507,-7702,-3280,7236,13424,10902,5073,2526,3484,4745,6039,9175,12443,10771,2803,-5569,-7350,-2632,1781,475,-4921,-8405,-6271,-363,4296,4237,351,-3337,-3674,-1293,640,303,-983,-1038,161,727,-366,-1952,-2329,-1367,-462,-801,-2139,-3188,-2942,-1661,-645,-909,-2063,-2735,-2153,-990,-465,-933,-1678,-1900,-1499,-907,-526,-446,-501,-459,-255,-75,-112,-273,-283,-83,72,-23,-269,-442,-474,-428,-331,-194,-93,-98,-152,-159,-132,-137,-167,-174,-199,-314,-461,-496,-413,-361,-417,-488,-486,-454,-452,-427,-317,-195,-184,-266,-305,-242,-148,-110,-125,-146,-141,-99,-41,-31,-103,-183,-167,-78,-64,-200,-369,-410,-322,-230,-213,-238,-249,-234,-195,-132,-72,-66,-115,-159,-159,-137,-123,-103,-61,-29,-46,-84,-87,-55,-47,-86,-133,-159,-184,-230,-272,-271,-222,-142,-49,10,-42,-231,-457,-575,-561,-525,-546,-549,-403,-98,217,375,343,224,150,165,195,132,-37,-205,-260,-219,-200,-279,-421,-554,-639,-651,-542,-295,7,229,300,268,222,201,186,147,87,34,12,20,34,46,72,125,187,232,256,266,248,188,111,66,57,40,-4,-35,-21,5,-2,-27,-31,-25,-61,-131,-155,-91}
},
{ // H-30e012a.wav
{-3,4,5,0,-2,1,-1,-3,4,10,1,-11,-1,19,12,-16,-14,20,21,-25,-38,18,49,-15,-70,-6,75,13,-89,-16,99,14,213,1709,4230,5196,2079,-3819,-7485,-5511,-559,1356,-1828,-5527,-4185,1870,7104,7631,5120,3499,3990,5015,5594,6404,7480,7063,3942,-233,-2386,-1495,377,567,-1417,-3715,-4111,-2011,1082,2814,2035,-135,-1493,-1097,-92,-49,-1003,-1638,-1162,-313,-314,-1321,-2265,-2114,-1026,-164,-442,-1531,-2210,-1726,-622,-50,-423,-1077,-1242,-944,-745,-908,-1175,-1247,-1143,-1027,-945,-840,-700,-590,-583,-685,-792,-744,-498,-240,-203,-361,-438,-264,2,77,-107,-350,-433,-323,-169,-150,-303,-462,-413,-156,59,23,-182,-308,-271,-215,-264,-362,-400,-377,-353,-332,-286,-233,-219,-241,-262,-271,-287,-298,-278,-244,-238,-252,-234,-180,-146,-161,-175,-137,-83,-85,-153,-222,-236,-200,-153,-121,-115,-132,-146,-124,-63,0,26,7,-37,-76,-89,-79,-77,-116,-192,-259,-286,-293,-317,-360,-384,-352,-262,-146,-73,-121,-312,-546,-672,-633,-528,-479,-466,-361,-113,165,324,334,280,237,194,110,-16,-140,-225,-275,-313,-351,-387,-426,-491,-581,-638,-576,-378,-138,23,70,70,87,109,94,44,4,4,20,19,6,15,54,98,122,138,168,202,203,156,94,59,54,47,19,-20,-52,-73,-83,-89,-106,-146,-179,-158,-80},
{0,19,6,-24,-12,32,27,-34,-43,30,52,-40,-91,17,110,-2,-148,-43,157,63,-192,-96,215,77,35,2128,6608,9151,4402,-6401,-14089,-11037,-972,4477,-161,-7254,-5782,4683,13849,13780,7437,2793,2730,4448,6215,9334,13071,12593,5074,-4699,-8574,-4519,1058,1055,-4445,-9151,-7918,-1673,4267,5427,1808,-2687,-4107,-2058,456,742,-667,-1295,-259,739,2,-1790,-2564,-1595,-358,-670,-2585,-4376,-4347,-2514,-538,-56,-1088,-2201,-2194,-1325,-737,-1002,-1627,-1862,-1525,-965,-547,-385,-393,-408,-324,-207,-208,-313,-336,-187,-30,-52,-219,-375,-463,-513,-498,-368,-193,-118,-168,-228,-205,-116,-18,37,-17,-204,-413,-483,-404,-333,-369,-435,-443,-442,-496,-537,-463,-330,-297,-392,-462,-379,-190,-37,11,-15,-48,-34,23,49,-26,-156,-205,-125,-43,-107,-284,-407,-390,-308,-268,-287,-320,-336,-324,-269,-178,-101,-83,-106,-121,-116,-110,-103,-75,-33,-11,-17,-23,-18,-29,-69,-111,-133,-153,-195,-241,-259,-243,-195,-107,-3,28,-99,-341,-545,-603,-558,-518,-508,-450,-273,-8,229,334,292,197,162,203,221,124,-51,-170,-167,-117,-146,-290,-487,-658,-750,-721,-534,-217,108,303,332,280,246,237,197,104,13,-15,14,49,70,102,163,234,287,316,327,313,258,171,91,50,43,39,14,-20,-38,-38,-46,-68,-71,-41,-22,-69,-153,-178,-104}
},
{ // H-30e018a.wav
{0,-4,-2,2,1,-3,-2,-1,-4,-5,3,8,-2,-11,-2,14,5,-16,-10,17,12,-26,-30,18,34,-22,-56,6,60,-3,-73,2,76,-1,266,1677,3794,4357,1481,-3410,-6150,-4331,-481,666,-2032,-4633,-3042,1938,5848,6090,4381,3623,4249,4807,4842,5307,6278,6110,3656,273,-1489,-823,565,587,-1034,-2782,-3025,-1455,756,1957,1404,-106,-1084,-899,-285,-252,-833,-1236,-1031,-710,-971,-1762,-2290,-1931,-955,-279,-501,-1248,-1592,-1097,-294,-1,-354,-766,-757,-488,-394,-595,-882,-1082,-1190,-1211,-1102,-896,-725,-677,-728,-815,-877,-837,-655,-428,-314,-330,-329,-222,-112,-143,-296,-420,-407,-283,-149,-101,-160,-236,-201,-54,48,-22,-180,-251,-211,-196,-285,-390,-402,-340,-293,-284,-275,-257,-251,-259,-267,-286,-337,-398,-418,-380,-316,-254,-194,-140,-110,-104,-99,-85,-85,-117,-165,-203,-218,-210,-183,-148,-132,-142,-149,-123,-76,-41,-31,-36,-46,-64,-88,-107,-126,-162,-215,-258,-272,-275,-300,-340,-352,-304,-213,-143,-163,-295,-484,-623,-639,-561,-481,-435,-358,-177,68,245,280,227,183,164,111,-7,-142,-233,-270,-289,-317,-355,-402,-467,-546,-601,-570,-423,-204,-12,86,108,117,133,119,53,-20,-44,-27,-23,-48,-63,-37,17,72,124,174,199,182,138,99,78,65,53,35,1,-43,-71,-73,-89,-151,-218,-207,-107},
{18,-16,-26,18,40,-15,-57,1,64,-3,-100,-35,108,61,-131,-118,120,148,-139,-202,150,208,-116,1055,5239,9547,7736,-2198,-13002,-14533,-5793,2877,2003,-5233,-7192,1213,12280,15619,10398,4221,2553,4086,6131,9138,13251,14316,8061,-2642,-9091,-6636,-372,1060,-4340,-10208,-9623,-2500,5047,7156,3301,-2146,-4457,-2729,10,602,-817,-1640,-521,919,497,-1497,-2732,-1933,-502,-763,-3177,-5717,-5897,-3261,105,1538,326,-1811,-2746,-2117,-1206,-1057,-1406,-1468,-1078,-679,-585,-707,-814,-741,-429,-32,112,-134,-452,-448,-191,-95,-305,-543,-571,-489,-470,-470,-375,-247,-216,-254,-234,-119,16,97,73,-96,-345,-485,-414,-270,-254,-354,-412,-395,-420,-509,-530,-436,-370,-442,-539,-482,-285,-116,-64,-65,-27,61,151,174,79,-101,-234,-215,-105,-73,-184,-332,-388,-355,-314,-311,-339,-379,-397,-346,-232,-137,-130,-169,-162,-98,-52,-58,-68,-46,-25,-33,-35,0,26,-15,-87,-109,-84,-98,-184,-271,-285,-243,-185,-103,-4,22,-119,-382,-597,-649,-585,-517,-474,-385,-189,72,274,321,244,172,199,271,255,115,-38,-86,-52,-53,-157,-334,-531,-718,-839,-794,-529,-124,228,378,337,243,206,210,169,65,-20,-12,54,92,90,120,219,330,386,387,369,333,261,172,109,88,82,66,35,-9,-59,-94,-98,-84,-73,-64,-48,-46,-88,-148,-155,-84}
},
{ // H-30e024a.wav
{1,3,0,-2,0,4,3,-1,0,3,1,-2,3,7,1,-6,2,13,5,-11,-5,16,11,-19,-21,16,28,-15,-39,10,48,-3,-50,11,57,-6,260,1490,3269,3729,1362,-2664,-5006,-3725,-763,202,-1759,-3673,-2424,1435,4613,5163,4229,3761,4000,4070,3967,4508,5518,5475,3486,754,-672,-221,764,727,-531,-1952,-2356,-1376,309,1454,1240,50,-909,-888,-328,-159,-636,-1195,-1342,-1271,-1451,-1885,-2061,-1605,-784,-256,-372,-815,-972,-618,-117,58,-135,-356,-376,-305,-349,-538,-769,-970,-1119,-1181,-1139,-1042,-950,-870,-806,-802,-853,-835,-654,-413,-318,-404,-485,-411,-256,-185,-231,-282,-243,-134,-43,-43,-124,-191,-150,-25,46,-27,-166,-236,-223,-226,-292,-350,-334,-278,-254,-269,-284,-287,-300,-334,-375,-408,-426,-419,-384,-341,-307,-271,-212,-144,-101,-93,-96,-92,-94,-118,-151,-177,-196,-210,-208,-183,-157,-156,-169,-163,-130,-99,-93,-105,-111,-104,-90,-82,-92,-129,-182,-227,-251,-265,-289,-311,-300,-246,-190,-194,-290,-447,-586,-634,-585,-500,-431,-351,-200,6,164,195,138,91,89,77,4,-110,-208,-266,-299,-329,-359,-390,-428,-474,-511,-502,-406,-229,-38,85,122,122,125,110,47,-40,-90,-83,-61,-69,-97,-99,-46,45,129,173,174,149,112,69,32,21,33,32,-3,-40,-46,-49,-99,-176,-192,-109},
{-33,6,53,15,-58,-32,62,46,-79,-86,73,121,-67,-171,36,204,-23,-259,7,302,-36,193,3333,8589,10186,3071,-9245,-16072,-11207,-1008,2750,-2579,-7349,-2349,9251,16229,13310,6162,2582,3741,6385,9363,13243,15329,10828,375,-8033,-7847,-2332,-539,-5739,-11499,-10032,-1553,6510,7982,3492,-1752,-3662,-2283,-444,-413,-1765,-2266,-753,1254,1306,-889,-2974,-2820,-1200,-875,-3201,-6293,-6887,-3841,516,2635,1227,-1710,-3262,-2583,-1187,-706,-1128,-1402,-1034,-518,-453,-830,-1199,-1158,-635,48,367,77,-457,-645,-379,-116,-224,-542,-717,-683,-616,-585,-505,-361,-247,-201,-166,-100,-29,17,16,-73,-244,-384,-385,-299,-269,-323,-364,-348,-349,-403,-436,-398,-370,-438,-540,-535,-389,-203,-90,-70,-82,-45,71,187,171,-4,-189,-220,-118,-60,-151,-306,-389,-372,-326,-305,-316,-347,-374,-355,-271,-172,-137,-168,-188,-143,-70,-35,-45,-64,-70,-66,-46,-5,23,-6,-78,-119,-95,-60,-80,-145,-198,-221,-229,-204,-107,16,26,-166,-468,-685,-707,-594,-477,-405,-311,-122,128,302,307,206,161,246,356,344,202,54,-5,-14,-72,-217,-413,-618,-798,-890,-794,-467,-12,348,450,334,192,151,153,86,-28,-57,42,154,164,113,132,262,413,485,463,394,318,247,187,145,128,133,138,100,8,-90,-134,-126,-115,-113,-85,-31,-8,-47,-100,-98,-45,-3}
},
{ // H-30e030a.wav
{2,1,1,2,1,0,1,3,3,1,2,3,1,0,4,7,1,-4,2,11,5,-7,-2,14,9,-14,-14,15,23,-12,-30,9,42,3,-38,5,42,-1,223,1236,2740,3237,1421,-1912,-4095,-3366,-1027,-13,-1354,-2929,-2146,914,3791,4661,4033,3404,3309,3362,3488,4052,4815,4743,3275,1269,156,367,989,891,-157,-1423,-1948,-1301,66,1114,1075,175,-636,-740,-458,-494,-1003,-1492,-1547,-1335,-1286,-1491,-1605,-1301,-681,-193,-156,-421,-543,-291,90,195,-51,-345,-415,-333,-342,-528,-763,-912,-968,-988,-1001,-1007,-999,-975,-938,-905,-870,-788,-637,-483,-423,-455,-466,-374,-223,-117,-97,-115,-112,-74,-40,-66,-157,-232,-201,-80,5,-35,-148,-223,-238,-252,-290,-311,-295,-286,-316,-349,-348,-332,-341,-368,-380,-380,-392,-412,-405,-364,-320,-289,-246,-179,-121,-112,-141,-160,-146,-125,-135,-177,-213,-211,-184,-175,-200,-230,-228,-192,-158,-145,-131,-96,-59,-52,-76,-104,-122,-147,-186,-222,-237,-243,-264,-288,-278,-228,-199,-262,-408,-546,-591,-545,-476,-425,-362,-241,-75,62,106,74,29,11,5,-29,-103,-189,-255,-297,-325,-345,-357,-372,-402,-432,-418,-330,-190,-52,41,84,95,89,68,26,-36,-98,-131,-127,-107,-92,-77,-45,5,55,93,115,107,62,6,-11,18,45,29,-8,-25,-29,-58,-108,-120,-69},
{34,40,-29,-60,19,71,-23,-112,-8,132,34,-168,-94,173,132,-205,-192,231,196,-194,1320,6162,10740,8308,-2703,-14175,-15789,-7171,1074,257,-5604,-5426,4162,14469,15971,9505,3398,2700,5682,9476,13607,16570,14010,4380,-6171,-9400,-5193,-1940,-5504,-11490,-11148,-2681,6686,9356,5016,-815,-3407,-2494,-810,-721,-2200,-3179,-1877,896,2208,310,-3021,-4385,-2838,-1013,-1812,-4781,-6587,-4868,-875,1933,1510,-964,-2753,-2504,-1206,-531,-906,-1469,-1421,-858,-382,-385,-804,-1250,-1262,-688,55,341,34,-382,-474,-358,-371,-539,-650,-661,-700,-759,-697,-524,-401,-357,-246,-40,96,66,-22,-89,-207,-401,-515,-427,-260,-202,-246,-269,-274,-350,-448,-430,-319,-310,-475,-620,-534,-268,-59,-47,-143,-165,-34,148,194,32,-194,-269,-153,-27,-63,-224,-353,-372,-339,-319,-321,-336,-357,-351,-281,-181,-143,-193,-237,-181,-60,9,-18,-80,-108,-99,-79,-50,-16,-9,-48,-96,-103,-76,-74,-114,-159,-180,-196,-218,-193,-75,61,53,-179,-520,-750,-748,-590,-439,-362,-280,-91,167,333,304,175,131,241,386,415,309,170,78,13,-89,-255,-466,-691,-883,-955,-801,-400,99,439,475,305,151,106,77,-26,-124,-80,85,205,185,126,178,346,504,549,493,404,323,256,201,166,163,189,203,149,22,-105,-158,-142,-123,-125,-109,-57,-17,-29,-59,-44,16,56,40}
},
{ // H-30e036a.wav
{-4,-2,-3,-6,-6,-3,-3,-5,-5,-2,-1,-3,-4,-3,-5,-6,-3,1,-3,-9,-5,3,1,-10,-9,3,2,-15,-18,4,15,-12,-29,3,34,2,-40,-9,31,0,159,977,2298,2906,1563,-1288,-3451,-3180,-1248,-124,-1012,-2389,-1936,612,3253,4168,3561,2840,2750,2980,3191,3541,4043,4108,3230,1813,854,818,1162,1008,68,-1118,-1696,-1217,-36,918,933,164,-589,-790,-682,-813,-1257,-1565,-1421,-1054,-907,-1072,-1212,-994,-462,19,139,-69,-303,-321,-179,-101,-181,-292,-298,-248,-290,-467,-680,-827,-898,-925,-926,-914,-917,-953,-1003,-1027,-975,-817,-588,-392,-310,-312,-289,-193,-94,-80,-140,-190,-178,-134,-116,-157,-238,-294,-259,-139,-32,-40,-152,-264,-304,-303,-323,-362,-373,-342,-306,-305,-327,-338,-333,-339,-374,-418,-435,-417,-399,-406,-414,-371,-278,-198,-185,-213,-220,-188,-160,-165,-184,-190,-194,-218,-244,-237,-200,-178,-188,-196,-164,-109,-79,-89,-111,-118,-120,-136,-164,-190,-210,-232,-256,-272,-272,-258,-242,-245,-286,-367,-454,-501,-489,-443,-399,-358,-288,-173,-46,33,33,-16,-59,-75,-90,-135,-204,-264,-297,-312,-324,-330,-326,-324,-333,-332,-286,-192,-88,-18,11,23,35,36,7,-51,-113,-151,-159,-149,-131,-109,-87,-65,-32,18,65,73,35,-11,-21,3,22,12,-12,-31,-46,-60,-59,-33},
{20,-60,-38,61,48,-83,-94,71,127,-68,-185,29,217,-13,-280,-16,324,-39,-10,2984,8654,11338,5129,-7721,-16704,-14080,-4298,1141,-2054,-5964,-1480,9380,16171,13329,6020,2296,4129,8540,13433,17674,17608,9556,-3170,-10902,-8534,-2504,-2800,-9731,-13435,-6919,4843,11129,7824,457,-3670,-2947,-822,-548,-2185,-3591,-2915,-361,1780,1158,-2038,-4849,-4625,-2105,-618,-2115,-4837,-5447,-2965,206,1167,-338,-2098,-2248,-1134,-339,-629,-1399,-1758,-1473,-865,-358,-285,-722,-1266,-1290,-681,-30,119,-83,-178,-142,-291,-631,-813,-725,-662,-784,-848,-660,-430,-415,-474,-316,14,194,104,-84,-226,-359,-491,-511,-374,-217,-167,-198,-231,-273,-341,-372,-328,-299,-401,-581,-649,-501,-246,-81,-83,-136,-76,107,231,123,-152,-339,-282,-99,-19,-108,-238,-287,-270,-268,-311,-373,-413,-400,-320,-211,-153,-186,-249,-240,-139,-24,16,-21,-75,-100,-95,-76,-51,-31,-27,-39,-52,-64,-95,-148,-184,-171,-141,-159,-215,-209,-78,82,81,-166,-523,-745,-706,-515,-372,-346,-306,-112,182,362,314,163,123,251,410,451,359,219,102,10,-95,-249,-460,-698,-894,-951,-779,-371,128,466,489,290,103,39,5,-92,-175,-113,63,183,175,153,251,450,605,619,518,397,318,278,240,195,187,238,279,202,12,-150,-173,-109,-87,-131,-154,-101,-26,5,8,32,68,69,32,0}
},
{ // H-30e042a.wav
{1,-1,-1,1,1,-2,-2,1,1,-2,-3,0,1,-1,-2,-2,-2,-3,0,3,0,-5,-1,7,4,-8,-9,5,9,-8,-17,2,18,1,-21,-1,28,8,-28,-6,29,-4,97,762,1942,2627,1642,-821,-2918,-2954,-1345,-185,-727,-1874,-1612,456,2699,3501,2986,2406,2434,2713,2837,2991,3392,3670,3273,2284,1405,1127,1206,1026,284,-737,-1411,-1255,-356,597,855,310,-449,-838,-879,-963,-1200,-1294,-1046,-694,-591,-737,-797,-547,-126,136,55,-258,-516,-515,-299,-90,-44,-117,-179,-202,-265,-414,-595,-736,-822,-869,-886,-888,-907,-950,-970,-913,-769,-575,-379,-237,-190,-223,-256,-229,-169,-149,-194,-257,-284,-265,-231,-218,-236,-260,-246,-186,-138,-166,-258,-333,-341,-316,-309,-321,-321,-309,-309,-323,-331,-329,-340,-375,-413,-434,-445,-458,-469,-458,-415,-349,-280,-232,-218,-225,-226,-209,-190,-193,-216,-233,-224,-198,-177,-175,-184,-188,-174,-137,-96,-80,-98,-131,-157,-170,-179,-190,-200,-203,-203,-211,-236,-267,-281,-265,-240,-250,-314,-396,-436,-410,-357,-325,-316,-282,-199,-102,-41,-34,-61,-94,-122,-144,-167,-198,-241,-286,-313,-310,-284,-258,-247,-251,-252,-232,-186,-130,-87,-62,-41,-13,9,2,-39,-95,-144,-176,-193,-191,-167,-130,-93,-57,-16,25,49,42,14,-8,-7,6,9,-6,-26,-33,-23,-8},
{-75,9,80,-3,-116,-40,126,75,-149,-144,134,189,-146,-262,155,296,-234,477,4738,10493,10907,1727,-11602,-17820,-12282,-2640,560,-3115,-4402,2569,12310,15356,10134,3678,2364,6281,12363,18053,20111,14539,1997,-9215,-10747,-4631,-1425,-6614,-13161,-10740,609,10387,10325,2958,-3279,-3968,-1474,-37,-1063,-3000,-3700,-2321,-27,835,-947,-3754,-4622,-2741,-613,-1037,-3617,-5236,-3862,-876,752,-90,-1777,-2247,-1312,-356,-383,-1078,-1644,-1773,-1575,-1131,-600,-398,-724,-1123,-995,-458,-152,-262,-310,-44,109,-231,-734,-891,-786,-826,-979,-853,-451,-231,-368,-481,-281,-10,-5,-168,-215,-166,-244,-432,-499,-382,-266,-260,-272,-226,-188,-208,-233,-257,-379,-619,-785,-683,-377,-130,-99,-184,-178,-6,198,228,31,-223,-306,-184,-44,-60,-195,-288,-267,-206,-205,-278,-379,-450,-442,-349,-236,-189,-215,-235,-189,-110,-72,-86,-104,-96,-70,-38,-3,15,-12,-63,-81,-51,-39,-102,-191,-210,-151,-115,-171,-246,-208,-38,120,87,-180,-529,-726,-662,-460,-338,-356,-344,-126,216,417,346,161,110,253,427,463,346,183,69,6,-81,-253,-496,-730,-874,-870,-676,-293,152,433,422,221,45,-23,-75,-172,-222,-124,52,148,131,140,296,540,699,676,531,394,333,316,278,221,207,261,298,214,20,-149,-186,-130,-94,-119,-146,-114,-35,38,78,94,94,74,38,6,-5}
},
{ // H-30e048a.wav
{1,3,2,-1,-1,2,3,0,-1,1,2,0,-1,1,3,2,1,1,0,-1,2,4,1,-4,1,10,8,-5,-7,8,15,-1,-13,3,21,7,-16,-4,25,15,-18,-7,22,-4,66,610,1645,2342,1627,-471,-2433,-2691,-1395,-254,-480,-1360,-1256,293,2079,2799,2504,2158,2254,2458,2458,2506,2889,3308,3212,2557,1869,1546,1394,951,79,-884,-1417,-1201,-357,558,917,529,-213,-773,-983,-1025,-1025,-888,-559,-238,-187,-403,-611,-572,-316,-79,-60,-248,-449,-469,-288,-60,55,33,-55,-159,-286,-441,-609,-773,-902,-937,-845,-696,-618,-649,-691,-641,-512,-390,-322,-301,-312,-338,-343,-298,-238,-231,-286,-336,-323,-271,-247,-278,-332,-355,-323,-262,-233,-269,-333,-355,-317,-276,-287,-330,-349,-334,-324,-344,-374,-390,-393,-399,-413,-434,-460,-480,-476,-440,-382,-322,-273,-241,-229,-235,-247,-254,-254,-250,-240,-217,-191,-172,-159,-147,-145,-163,-185,-182,-151,-123,-122,-138,-151,-163,-184,-207,-213,-201,-199,-227,-269,-293,-287,-269,-269,-294,-326,-340,-326,-297,-271,-252,-223,-170,-111,-82,-98,-136,-163,-169,-166,-171,-195,-236,-281,-310,-308,-277,-234,-199,-185,-191,-203,-205,-192,-169,-138,-96,-46,-7,-5,-46,-107,-161,-199,-221,-222,-193,-144,-101,-77,-56,-21,21,41,28,2,-10,-5,0,-7,-19,-21,-11},
{22,71,-22,-113,-13,136,44,-173,-112,175,159,-205,-232,237,255,-323,820,5772,11509,10643,-147,-13777,-18675,-11743,-2032,558,-2740,-2610,4908,13071,13729,7639,2473,3317,8911,15588,20249,19472,10872,-2109,-10562,-9259,-3552,-3014,-8854,-12189,-5966,5422,11370,7525,-443,-4707,-3466,-610,27,-1823,-3874,-4002,-2052,95,227,-1859,-3904,-3658,-1621,-523,-1964,-4376,-4881,-2703,15,807,-435,-1786,-1814,-988,-576,-944,-1486,-1729,-1755,-1632,-1224,-710,-628,-1054,-1297,-836,-134,26,-315,-472,-228,-69,-299,-602,-685,-735,-936,-1017,-722,-335,-279,-437,-377,-81,35,-178,-381,-314,-176,-242,-431,-488,-381,-274,-247,-253,-266,-287,-267,-186,-169,-359,-667,-818,-665,-364,-175,-176,-219,-129,96,265,198,-68,-291,-281,-112,-7,-66,-188,-244,-226,-204,-223,-290,-394,-477,-455,-326,-208,-207,-277,-283,-184,-76,-54,-99,-142,-151,-132,-83,-7,48,36,-12,-27,1,-7,-96,-199,-217,-147,-94,-127,-194,-177,-34,129,124,-137,-520,-750,-677,-447,-326,-370,-356,-93,291,483,366,148,99,254,431,466,353,195,73,-9,-109,-286,-528,-748,-847,-778,-541,-181,190,405,363,145,-62,-157,-189,-220,-209,-96,67,151,126,128,287,556,747,729,561,410,369,380,342,253,205,242,280,208,32,-122,-162,-125,-101,-116,-125,-88,-14,69,137,164,133,68,25,31,51,40}
},
{ // H-30e054a.wav
{2,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,0,-2,-1,2,3,1,1,4,3,-2,-1,7,6,-6,-9,7,16,-2,-19,0,28,13,-21,-10,21,4,65,524,1397,2001,1442,-283,-1961,-2298,-1327,-338,-336,-908,-885,155,1459,2135,2139,2033,2100,2143,2054,2127,2609,3208,3340,2797,1953,1288,899,526,-41,-684,-1034,-789,-26,761,1014,573,-195,-765,-900,-732,-494,-314,-225,-244,-358,-492,-555,-502,-350,-168,-62,-107,-249,-325,-235,-53,65,47,-71,-256,-494,-727,-845,-791,-622,-447,-337,-317,-387,-507,-596,-597,-530,-465,-436,-428,-419,-403,-379,-347,-318,-312,-326,-340,-346,-352,-366,-382,-400,-416,-413,-380,-340,-327,-339,-335,-304,-289,-323,-376,-395,-378,-362,-367,-375,-377,-387,-413,-436,-441,-436,-436,-432,-406,-359,-317,-293,-285,-285,-289,-285,-265,-237,-219,-218,-221,-213,-192,-171,-168,-189,-214,-211,-172,-127,-110,-121,-132,-131,-138,-170,-211,-234,-243,-262,-299,-326,-320,-289,-264,-258,-256,-245,-233,-229,-227,-209,-175,-143,-130,-135,-149,-167,-186,-199,-202,-203,-219,-250,-286,-303,-290,-252,-208,-175,-165,-181,-213,-239,-242,-220,-183,-142,-102,-68,-55,-76,-123,-169,-190,-188,-181,-177,-169,-148,-117,-81,-42,-4,16,11,-7,-15,-10,-6,-12,-17,-11},
{84,-30,-117,-10,138,46,-177,-124,175,181,-199,-264,226,300,-322,705,5757,11908,11294,47,-14523,-19932,-12571,-1959,1270,-1809,-1695,5458,12749,12513,6361,2110,4060,10208,16853,21076,19402,9688,-3744,-11474,-9128,-3332,-3440,-9032,-10589,-2769,7937,11259,5400,-2265,-4942,-2993,-892,-1163,-2893,-4121,-3738,-1856,174,476,-1423,-3576,-3640,-1873,-941,-2410,-4549,-4485,-1868,740,1024,-573,-1893,-1776,-942,-555,-868,-1445,-1939,-2181,-1950,-1275,-739,-893,-1430,-1487,-825,-151,-79,-336,-350,-155,-185,-460,-602,-543,-617,-896,-980,-663,-306,-269,-353,-192,86,53,-310,-560,-453,-246,-253,-404,-456,-369,-286,-271,-279,-303,-356,-374,-295,-226,-345,-620,-775,-617,-293,-113,-172,-260,-153,105,256,142,-123,-295,-266,-133,-54,-80,-153,-205,-209,-188,-195,-279,-418,-502,-447,-303,-216,-247,-307,-285,-185,-105,-92,-113,-131,-150,-169,-153,-85,-14,9,6,37,93,93,-6,-133,-190,-165,-129,-137,-162,-129,-2,146,155,-89,-486,-754,-704,-463,-329,-384,-391,-126,288,509,397,166,99,238,402,433,338,212,117,36,-91,-303,-559,-756,-802,-685,-444,-128,187,370,318,76,-178,-305,-315,-284,-218,-83,81,165,138,134,293,569,759,730,562,434,414,420,366,278,240,260,253,152,-5,-123,-150,-119,-87,-77,-72,-49,6,88,169,201,160,80,31,48,92,95,49}
},
{ // H-30e060a.wav
{0,0,0,1,1,1,0,0,1,2,1,0,0,1,2,1,-1,-1,1,1,1,1,1,0,1,3,3,1,2,5,4,0,-1,3,3,-3,-3,7,11,0,-8,4,17,7,-8,2,13,7,111,531,1201,1587,1092,-217,-1467,-1770,-1135,-412,-296,-593,-584,63,968,1580,1787,1869,2022,2159,2164,2132,2246,2490,2616,2397,1853,1217,713,396,164,-80,-275,-230,150,670,943,726,147,-422,-690,-636,-428,-247,-182,-232,-340,-434,-455,-379,-226,-72,-17,-98,-227,-263,-174,-81,-120,-280,-433,-489,-467,-423,-366,-286,-207,-175,-214,-316,-454,-587,-659,-644,-575,-518,-500,-493,-462,-412,-376,-375,-393,-399,-387,-386,-423,-482,-512,-492,-459,-452,-453,-422,-368,-340,-353,-362,-341,-325,-353,-395,-393,-352,-336,-373,-416,-415,-388,-386,-413,-424,-400,-373,-380,-408,-410,-370,-319,-298,-305,-303,-271,-233,-225,-243,-252,-233,-212,-214,-226,-215,-180,-152,-145,-137,-113,-95,-109,-142,-164,-171,-191,-238,-286,-307,-307,-309,-315,-300,-252,-198,-172,-175,-178,-167,-159,-172,-193,-191,-165,-147,-162,-191,-201,-193,-196,-221,-249,-262,-267,-278,-281,-253,-199,-158,-159,-191,-226,-254,-278,-292,-273,-214,-139,-86,-73,-90,-114,-132,-147,-163,-178,-181,-169,-151,-132,-107,-70,-32,-11,-12,-18,-18,-15,-17,-18,-11},
{28,-101,-59,126,118,-132,-187,125,264,-113,-347,122,427,-214,212,4818,11776,12875,2286,-13908,-21777,-15037,-2576,2749,-275,-1800,4202,11944,12691,6574,1482,3047,10051,18077,22833,20301,9138,-5061,-12432,-9308,-3163,-3242,-8353,-8864,-472,9411,11076,4225,-3175,-5259,-3423,-1875,-2144,-3144,-3779,-3522,-1995,167,953,-805,-3360,-3866,-2166,-1056,-2367,-4393,-4260,-1770,543,776,-392,-1254,-1279,-1072,-1021,-1005,-1103,-1599,-2239,-2289,-1618,-1069,-1303,-1815,-1670,-854,-220,-200,-331,-167,21,-177,-570,-700,-609,-680,-907,-868,-465,-138,-172,-267,-82,173,65,-359,-626,-531,-362,-386,-475,-397,-220,-177,-291,-383,-374,-360,-391,-385,-333,-384,-601,-777,-656,-293,-22,-38,-165,-127,72,173,30,-218,-342,-292,-183,-112,-86,-93,-140,-196,-202,-171,-201,-335,-467,-455,-315,-210,-243,-330,-329,-227,-133,-122,-158,-179,-182,-189,-181,-127,-48,1,18,51,112,140,81,-31,-108,-117,-105,-122,-159,-148,-29,154,234,47,-359,-702,-730,-515,-363,-415,-458,-223,214,498,424,182,94,233,400,415,303,197,151,103,-31,-268,-535,-722,-745,-605,-371,-109,136,299,288,79,-217,-434,-489,-415,-269,-83,88,159,130,136,304,575,748,712,564,469,462,456,392,315,285,280,227,98,-54,-147,-152,-106,-68,-53,-35,6,63,118,164,191,177,119,61,60,110,144,113,44}
},
{ // H-30e066a.wav
{0,0,0,0,0,1,2,1,0,0,1,1,1,1,1,1,0,0,1,2,2,1,1,2,2,1,1,2,2,2,2,3,3,1,0,0,1,3,5,6,2,-4,-5,3,11,10,3,-3,-3,42,219,577,978,1087,647,-205,-956,-1156,-847,-476,-390,-489,-405,50,725,1353,1800,2048,2069,1850,1529,1369,1534,1922,2255,2298,1994,1457,897,507,346,322,331,403,624,913,979,608,-45,-558,-653,-433,-203,-137,-186,-241,-272,-297,-301,-254,-175,-125,-142,-215,-309,-392,-427,-377,-247,-104,-32,-58,-131,-183,-194,-195,-216,-259,-323,-419,-546,-661,-705,-666,-588,-522,-483,-458,-444,-451,-474,-492,-492,-487,-494,-515,-535,-541,-529,-509,-491,-473,-445,-409,-382,-379,-386,-375,-345,-329,-350,-388,-408,-403,-392,-385,-378,-370,-371,-383,-390,-383,-382,-404,-433,-432,-394,-348,-324,-314,-298,-275,-264,-270,-272,-253,-224,-210,-213,-210,-187,-160,-150,-152,-145,-122,-103,-110,-139,-171,-200,-235,-273,-294,-288,-273,-271,-274,-258,-214,-164,-137,-136,-144,-151,-163,-184,-203,-205,-188,-169,-163,-171,-185,-197,-210,-225,-242,-257,-271,-282,-278,-252,-211,-182,-186,-222,-268,-300,-312,-306,-284,-242,-180,-115,-75,-72,-94,-119,-136,-150,-165,-177,-179,-170,-153,-127,-91,-52,-24,-16,-23,-33,-35,-25,-10},
{-66,-100,52,158,-33,-235,-26,291,75,-377,-142,461,102,-359,2706,10000,14476,7296,-9807,-22750,-19847,-5792,4105,2703,-1822,970,9466,13439,8515,1379,819,8317,18422,24370,21691,10210,-4222,-12486,-10583,-4379,-2661,-6064,-6826,-100,8785,10965,4973,-2527,-5565,-4569,-3162,-2925,-3112,-3145,-3011,-2235,-593,564,-367,-2611,-3538,-2262,-1027,-2006,-4091,-4416,-2307,-2,507,-300,-888,-897,-942,-1131,-1048,-873,-1287,-2179,-2517,-1869,-1163,-1369,-2085,-2173,-1381,-519,-185,-134,-17,-3,-315,-688,-755,-640,-704,-895,-828,-448,-142,-126,-134,89,325,202,-229,-555,-576,-503,-556,-628,-506,-234,-68,-130,-291,-391,-425,-453,-471,-465,-510,-658,-781,-671,-333,-34,16,-82,-82,57,133,3,-232,-384,-388,-305,-196,-94,-49,-94,-169,-183,-144,-159,-270,-386,-393,-313,-263,-300,-358,-350,-274,-197,-168,-179,-205,-229,-236,-205,-135,-59,-8,27,76,135,156,114,34,-34,-70,-87,-106,-135,-148,-81,96,272,227,-126,-569,-754,-599,-387,-393,-509,-397,19,409,444,205,55,177,387,435,312,196,181,178,54,-207,-500,-690,-700,-542,-302,-68,120,247,256,85,-225,-510,-616,-527,-332,-122,41,108,89,100,263,538,728,710,577,502,515,504,413,324,319,345,281,100,-95,-190,-170,-102,-51,-31,-14,29,98,164,198,197,171,134,103,101,133,169,165,113,45}
},
{ // H-30e072a.wav
{4,4,4,5,6,5,4,4,5,5,5,5,5,5,5,4,5,6,7,6,4,5,8,9,6,4,5,8,7,4,4,7,8,5,4,9,11,5,0,6,16,14,0,-6,4,16,17,12,9,2,11,100,322,605,757,618,228,-199,-468,-559,-588,-622,-584,-344,103,591,924,1059,1120,1230,1369,1425,1365,1314,1441,1781,2174,2360,2155,1599,968,608,678,1009,1251,1176,843,472,204,21,-136,-254,-278,-212,-133,-108,-142,-201,-252,-272,-258,-246,-292,-408,-516,-516,-383,-190,-23,84,137,136,74,-33,-144,-229,-283,-312,-327,-353,-426,-544,-650,-679,-625,-546,-501,-500,-515,-531,-554,-586,-604,-591,-558,-534,-533,-542,-545,-543,-539,-520,-476,-424,-401,-417,-441,-433,-396,-367,-367,-381,-386,-384,-387,-392,-385,-369,-365,-383,-401,-399,-385,-384,-404,-422,-416,-388,-358,-335,-314,-293,-281,-281,-282,-269,-244,-224,-216,-210,-194,-172,-158,-153,-145,-129,-117,-123,-144,-168,-192,-219,-249,-269,-271,-260,-249,-242,-228,-197,-159,-139,-148,-169,-177,-166,-155,-158,-171,-178,-176,-176,-185,-199,-207,-207,-206,-214,-232,-258,-286,-307,-314,-302,-273,-241,-223,-228,-250,-273,-288,-293,-284,-253,-198,-137,-95,-83,-91,-109,-132,-160,-183,-192,-183,-164,-142,-117,-88,-57,-36,-35,-50,-62,-52,-24},
{-137,-51,156,117,-190,-224,180,315,-192,-441,202,529,-327,354,6106,13809,13281,-925,-19308,-25149,-13651,1984,6674,1084,-1960,4107,11843,11451,4097,-304,4618,15562,24147,23998,14189,-366,-11281,-12799,-7285,-2646,-3060,-4426,-866,6504,10552,7167,-77,-5009,-5704,-4539,-3666,-3131,-2674,-2674,-2848,-2056,-315,505,-812,-2770,-3070,-1858,-1404,-2668,-3931,-3354,-1458,-81,98,-228,-586,-1138,-1660,-1477,-724,-541,-1453,-2442,-2354,-1550,-1266,-1776,-2154,-1769,-1060,-641,-439,-156,51,-136,-559,-784,-754,-772,-909,-889,-588,-261,-125,-34,210,458,387,-16,-400,-504,-456,-521,-700,-732,-479,-137,0,-121,-308,-409,-445,-485,-530,-588,-711,-856,-829,-517,-106,93,25,-70,-17,75,15,-190,-371,-425,-372,-256,-109,-10,-37,-143,-190,-134,-95,-187,-346,-411,-339,-248,-255,-339,-388,-347,-261,-200,-186,-207,-242,-270,-256,-184,-83,-6,35,76,139,189,175,97,7,-46,-58,-61,-87,-131,-128,-1,221,341,156,-285,-659,-695,-488,-369,-464,-520,-268,178,420,289,54,61,297,459,382,220,178,231,183,-62,-397,-642,-693,-561,-328,-85,118,267,318,193,-127,-500,-719,-687,-478,-227,-30,68,66,52,160,413,657,722,620,519,516,534,473,370,334,376,368,206,-44,-214,-213,-111,-34,-27,-30,20,115,201,241,232,188,143,128,146,167,163,145,131,110,62}
},
{ // H-30e078a.wav
{0,0,0,0,0,0,0,0,0,1,1,0,0,1,2,2,1,1,2,3,2,1,1,2,2,1,0,-1,0,1,1,0,0,2,4,3,1,1,1,1,3,7,8,1,-5,1,10,8,0,2,9,6,37,181,420,571,458,149,-85,-96,-42,-137,-323,-340,-121,78,27,-134,-57,365,875,1195,1336,1467,1623,1689,1650,1678,1902,2196,2288,2048,1609,1217,1020,993,992,865,562,186,-81,-140,-50,44,49,-30,-141,-236,-285,-289,-297,-365,-490,-596,-599,-479,-277,-49,157,289,305,210,68,-50,-123,-181,-251,-325,-381,-414,-446,-494,-548,-579,-575,-556,-546,-554,-571,-595,-624,-650,-655,-638,-615,-597,-575,-542,-515,-516,-540,-555,-540,-503,-467,-443,-434,-443,-461,-465,-441,-403,-378,-373,-370,-359,-355,-374,-407,-431,-436,-433,-429,-418,-395,-368,-350,-345,-346,-347,-345,-339,-325,-301,-275,-260,-261,-267,-259,-233,-205,-191,-187,-171,-138,-107,-102,-122,-150,-174,-196,-217,-230,-231,-230,-239,-252,-253,-234,-205,-179,-158,-142,-138,-150,-170,-179,-166,-145,-139,-155,-180,-199,-210,-222,-235,-241,-239,-242,-262,-296,-328,-346,-351,-341,-309,-257,-210,-196,-216,-245,-261,-261,-250,-228,-194,-157,-129,-122,-133,-151,-164,-169,-168,-157,-138,-120,-112,-110,-99,-78,-66,-74,-86,-75,-37},
{-194,3,229,46,-313,-167,336,252,-415,-392,480,437,-610,1304,8767,15588,10663,-7475,-24447,-24239,-8162,6466,7224,0,-1566,5430,11399,8932,2431,1481,9187,19778,25029,20522,7803,-6402,-14044,-12069,-5322,-1204,-1390,-1067,3350,8721,9233,3904,-2600,-5862,-5772,-4564,-3464,-2595,-2361,-2958,-3252,-1992,4,505,-1049,-2653,-2575,-1690,-1885,-3115,-3586,-2458,-861,-72,-69,-340,-918,-1761,-2072,-1316,-393,-635,-1859,-2534,-1953,-1142,-1241,-1936,-2138,-1576,-902,-581,-450,-318,-300,-461,-614,-665,-769,-985,-1061,-796,-377,-121,-36,108,361,483,280,-123,-411,-440,-368,-424,-609,-693,-518,-215,-54,-129,-302,-427,-486,-522,-569,-673,-849,-972,-837,-435,-33,110,31,-45,-25,-12,-101,-257,-393,-450,-376,-169,49,102,-30,-172,-173,-100,-123,-273,-415,-434,-357,-284,-266,-284,-304,-304,-276,-231,-201,-218,-273,-308,-267,-152,-31,43,77,115,164,181,140,68,13,-9,-16,-33,-74,-116,-84,82,300,342,54,-412,-699,-635,-434,-405,-530,-488,-126,277,348,115,-30,139,413,471,310,190,234,271,97,-253,-566,-684,-601,-393,-144,75,233,318,283,61,-316,-663,-779,-632,-368,-152,-44,-15,1,85,280,524,678,674,580,513,498,475,419,381,401,420,330,110,-127,-233,-178,-69,-16,-20,-1,83,197,277,292,243,159,104,126,193,219,174,120,111,115,72}
},
{ // H-30e084a.wav
{0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,2,2,1,1,2,3,2,1,0,0,0,0,0,0,0,0,0,2,4,3,0,-2,0,5,7,3,0,5,12,11,0,-8,-5,4,10,11,11,28,100,247,397,395,179,-60,-11,363,665,437,-278,-912,-983,-602,-249,-128,34,522,1193,1646,1720,1633,1642,1768,1917,2091,2333,2523,2416,1921,1251,733,533,580,702,748,632,361,54,-125,-107,14,75,-3,-178,-366,-525,-642,-690,-633,-479,-286,-107,52,203,322,356,285,152,17,-99,-206,-299,-355,-377,-399,-442,-491,-523,-540,-557,-571,-567,-560,-584,-638,-678,-667,-626,-606,-617,-624,-603,-571,-555,-554,-547,-530,-519,-520,-520,-510,-499,-499,-504,-495,-465,-425,-390,-367,-352,-349,-366,-403,-442,-463,-460,-448,-438,-426,-403,-369,-337,-317,-306,-302,-306,-322,-341,-349,-340,-320,-296,-271,-244,-220,-207,-201,-192,-178,-161,-143,-124,-107,-99,-111,-143,-184,-216,-233,-239,-241,-239,-230,-216,-205,-197,-188,-174,-157,-143,-134,-129,-128,-134,-149,-169,-187,-202,-218,-238,-260,-277,-288,-297,-306,-319,-336,-356,-368,-358,-321,-271,-227,-201,-190,-187,-190,-198,-207,-212,-211,-206,-197,-188,-182,-181,-178,-166,-145,-123,-106,-98,-100,-109,-115,-112,-107,-105,-100,-76,-36},
{-226,54,284,-2,-381,-104,448,200,-553,-331,674,371,-788,1858,10200,16310,8886,-11069,-26767,-23157,-4966,8833,7656,-239,-1440,5215,10038,7436,2719,3936,12063,20993,23839,17505,4078,-9584,-15604,-11671,-3556,1108,1106,1441,5249,9148,8018,1904,-4267,-6675,-5819,-4107,-2827,-2235,-2568,-3443,-3386,-1584,446,454,-1471,-2940,-2548,-1607,-1907,-3066,-3312,-2097,-578,177,156,-403,-1455,-2445,-2338,-1078,-126,-704,-2089,-2605,-1894,-1158,-1274,-1734,-1695,-1195,-787,-619,-466,-338,-440,-709,-860,-853,-903,-1036,-991,-655,-264,-65,11,165,370,395,129,-240,-432,-380,-282,-341,-509,-562,-409,-210,-154,-239,-344,-425,-516,-601,-652,-731,-893,-998,-828,-403,-21,90,11,-46,-34,-58,-171,-319,-432,-457,-340,-99,120,156,23,-108,-135,-127,-203,-358,-483,-495,-408,-301,-240,-238,-261,-266,-247,-227,-224,-240,-268,-285,-253,-159,-43,35,73,116,177,209,171,84,7,-28,-31,-33,-59,-89,-40,145,362,360,11,-482,-744,-649,-458,-457,-568,-463,-67,286,275,23,-65,157,417,433,276,209,280,274,32,-340,-608,-652,-506,-268,-31,147,254,290,208,-54,-442,-744,-769,-543,-275,-130,-104,-98,-39,94,288,493,629,648,582,506,461,436,418,413,422,401,288,87,-106,-186,-149,-82,-46,-15,59,162,242,277,274,225,137,74,102,186,219,163,98,92,105,68}
},
{ // H-30e090a.wav
{0,0,0,0,0,0,0,0,0,1,1,0,0,1,3,4,3,2,2,2,2,2,3,3,1,0,0,2,2,1,0,1,3,4,3,1,-1,0,4,6,4,0,1,6,9,8,7,6,0,-10,-8,11,23,7,-6,43,160,290,399,508,602,561,276,-171,-551,-728,-772,-772,-656,-306,194,599,813,1003,1340,1736,1982,2074,2210,2459,2592,2359,1839,1369,1158,1088,936,670,462,454,598,718,670,436,121,-119,-188,-131,-104,-230,-486,-734,-840,-755,-509,-180,126,311,343,286,237,235,235,170,28,-145,-294,-397,-459,-490,-496,-484,-475,-491,-538,-597,-635,-636,-610,-588,-592,-621,-649,-644,-601,-553,-542,-569,-593,-580,-549,-540,-559,-569,-547,-518,-516,-533,-530,-496,-459,-442,-433,-410,-383,-380,-402,-420,-420,-421,-445,-475,-475,-437,-392,-363,-343,-314,-286,-284,-310,-338,-349,-350,-352,-347,-316,-267,-229,-217,-218,-209,-187,-166,-154,-144,-130,-116,-109,-109,-115,-128,-150,-177,-198,-207,-212,-223,-239,-249,-245,-226,-194,-155,-118,-98,-101,-119,-138,-157,-183,-215,-243,-260,-271,-286,-303,-316,-324,-337,-356,-372,-374,-361,-340,-314,-281,-241,-198,-161,-135,-125,-131,-150,-178,-207,-230,-242,-245,-240,-223,-189,-147,-120,-115,-117,-109,-96,-96,-110,-120,-114,-101,-87,-64,-29},
{-248,51,310,8,-416,-130,484,242,-592,-394,719,470,-899,1455,9872,16507,9513,-10666,-27065,-23826,-5165,9546,8808,366,-2001,3773,8699,7129,3596,5252,12780,20601,22642,16135,2859,-10663,-16385,-11606,-2231,3319,3188,2627,5589,9106,7736,1176,-5361,-7504,-5804,-3426,-2250,-2275,-3003,-3698,-3205,-1204,656,358,-1748,-3209,-2734,-1750,-2030,-3070,-3055,-1610,-135,300,-21,-587,-1435,-2330,-2383,-1327,-350,-699,-1936,-2559,-2069,-1413,-1406,-1678,-1513,-929,-439,-258,-250,-369,-648,-925,-981,-906,-965,-1144,-1119,-731,-224,84,160,190,261,258,51,-289,-520,-485,-309,-248,-359,-443,-341,-163,-117,-228,-373,-491,-601,-682,-701,-734,-870,-994,-858,-435,-15,125,29,-72,-80,-90,-193,-360,-491,-490,-316,-39,174,197,73,-48,-96,-136,-242,-397,-514,-530,-452,-336,-253,-228,-234,-229,-206,-189,-194,-224,-270,-301,-269,-167,-46,34,81,140,204,220,164,78,8,-33,-51,-47,-40,-46,-9,144,348,361,27,-469,-740,-643,-447,-455,-583,-488,-95,245,210,-48,-107,154,424,427,277,244,330,284,-15,-387,-591,-565,-403,-194,12,168,243,234,120,-140,-495,-749,-724,-469,-214,-118,-134,-128,-42,91,241,406,555,628,596,509,446,443,464,459,414,343,249,123,-12,-106,-132,-111,-68,2,105,207,267,280,264,212,124,56,74,150,186,143,90,87,99,63}
},
{ // H-30e096a.wav
{1,0,0,1,2,2,1,1,1,1,1,2,3,3,2,3,4,4,3,3,4,4,3,2,3,5,5,1,-1,1,3,3,3,4,3,0,1,7,9,3,-1,4,11,8,3,6,12,10,5,7,7,-9,-19,1,21,3,35,296,786,1139,911,108,-720,-1024,-811,-519,-426,-386,-163,200,490,648,789,968,1150,1405,1889,2519,2872,2618,1970,1480,1397,1425,1189,750,493,597,825,852,634,386,306,401,523,494,230,-174,-492,-574,-500,-483,-600,-698,-585,-255,116,359,439,415,351,281,213,137,33,-99,-234,-346,-435,-513,-572,-588,-556,-503,-474,-497,-566,-643,-681,-657,-597,-556,-562,-589,-592,-559,-524,-525,-557,-588,-594,-582,-569,-560,-550,-538,-527,-519,-511,-506,-504,-497,-467,-415,-371,-368,-406,-450,-470,-467,-459,-448,-423,-388,-365,-369,-383,-382,-361,-338,-328,-326,-320,-309,-300,-295,-290,-278,-256,-225,-188,-155,-140,-145,-157,-159,-149,-138,-133,-128,-111,-88,-78,-96,-133,-170,-200,-226,-252,-270,-272,-255,-221,-175,-124,-85,-79,-109,-151,-184,-211,-244,-281,-304,-308,-307,-317,-335,-346,-348,-351,-359,-365,-358,-339,-316,-288,-246,-187,-124,-83,-75,-92,-121,-158,-202,-242,-262,-259,-243,-221,-192,-157,-131,-123,-124,-119,-107,-99,-97,-90,-74,-62,-58,-50,-27},
{-248,-35,289,115,-369,-263,396,401,-454,-592,520,752,-742,188,7489,15753,12587,-5627,-24739,-26356,-9453,8077,10775,2289,-2851,1287,7376,7698,4407,4855,11435,19385,22229,16664,4066,-9592,-16343,-12395,-2428,4678,5178,3469,4921,8350,8083,2094,-5131,-8146,-6396,-3393,-1985,-2268,-3115,-3627,-3100,-1336,474,489,-1451,-3278,-3264,-2207,-2007,-2808,-2982,-1706,-83,565,239,-430,-1288,-2216,-2469,-1572,-433,-461,-1668,-2642,-2464,-1738,-1435,-1561,-1495,-1033,-492,-109,99,38,-381,-915,-1169,-1105,-1052,-1157,-1174,-867,-367,22,190,250,281,220,-17,-371,-630,-627,-424,-263,-280,-351,-293,-138,-71,-167,-330,-476,-606,-708,-739,-746,-833,-948,-866,-494,-65,114,22,-110,-133,-122,-199,-355,-480,-479,-325,-71,155,227,134,-10,-97,-139,-219,-368,-513,-558,-483,-361,-280,-254,-235,-197,-169,-180,-213,-236,-253,-269,-248,-155,-24,71,108,134,172,186,138,52,-19,-51,-54,-49,-59,-82,-51,109,335,396,117,-358,-668,-630,-454,-443,-576,-544,-217,127,156,-55,-127,106,390,439,316,276,346,291,-16,-392,-576,-515,-337,-156,6,137,207,195,80,-166,-494,-728,-702,-456,-209,-121,-142,-130,-36,84,195,319,463,568,574,505,449,462,507,504,421,304,215,156,84,-18,-110,-136,-83,20,126,203,246,267,260,204,106,28,34,106,157,138,95,78,74,45}
},
{ // H-30e102a.wav
{-2,0,1,1,-1,-1,0,1,1,0,0,0,0,0,0,0,1,1,1,1,2,2,-1,-1,1,1,-1,-1,1,1,-1,0,1,0,-1,1,4,2,-1,2,6,3,-2,2,11,8,-4,-2,18,22,-2,-16,-1,-1,-21,86,470,972,1116,590,-319,-956,-991,-709,-544,-527,-357,100,610,885,896,820,831,1039,1491,2060,2416,2306,1875,1529,1453,1424,1193,872,759,875,911,678,378,316,482,592,483,277,161,153,167,166,136,-5,-327,-710,-886,-718,-364,-90,23,110,292,504,588,484,275,79,-48,-117,-169,-247,-374,-521,-617,-615,-550,-504,-514,-546,-553,-547,-573,-631,-664,-625,-544,-500,-527,-586,-614,-594,-554,-524,-512,-513,-522,-536,-555,-575,-589,-580,-542,-488,-446,-433,-443,-457,-464,-461,-450,-437,-434,-443,-453,-454,-448,-448,-451,-441,-411,-378,-364,-368,-366,-345,-316,-296,-280,-255,-222,-197,-188,-186,-177,-163,-155,-156,-159,-160,-160,-161,-156,-135,-102,-74,-65,-74,-93,-124,-173,-232,-278,-294,-282,-255,-226,-197,-168,-142,-127,-130,-155,-201,-262,-320,-354,-358,-347,-335,-327,-318,-312,-317,-334,-353,-361,-352,-327,-291,-251,-212,-175,-139,-110,-94,-97,-121,-162,-210,-246,-257,-247,-228,-208,-189,-174,-166,-158,-140,-115,-97,-92,-85,-64,-42,-41,-55,-56,-31},
{-162,-159,164,257,-170,-400,118,529,-71,-703,14,907,-83,-880,3670,12720,15542,3018,-17829,-27850,-17185,2551,11985,6261,-2283,-2010,4720,8279,5904,3954,8202,16613,22024,18965,7533,-6661,-15468,-13774,-4229,4706,7049,4862,4207,6764,8046,4022,-3200,-7916,-7480,-4359,-2205,-2071,-2815,-3315,-3099,-1950,-302,454,-641,-2603,-3491,-2901,-2281,-2582,-2877,-1972,-334,624,464,-153,-839,-1707,-2377,-2035,-837,-179,-949,-2285,-2763,-2221,-1627,-1535,-1541,-1192,-627,-181,71,133,-87,-531,-895,-1011,-1074,-1260,-1366,-1081,-482,20,182,140,126,149,42,-272,-637,-790,-639,-375,-260,-321,-346,-203,-25,-16,-194,-416,-575,-658,-683,-693,-763,-884,-892,-635,-222,54,44,-109,-194,-180,-188,-283,-403,-441,-338,-119,108,212,149,3,-104,-146,-196,-313,-451,-518,-476,-380,-309,-286,-274,-238,-186,-150,-142,-162,-204,-248,-242,-157,-29,72,121,146,162,147,90,13,-55,-109,-138,-121,-83,-69,-53,74,322,475,283,-205,-615,-666,-488,-421,-539,-570,-313,33,121,-61,-171,20,331,454,372,312,351,292,-11,-396,-583,-499,-300,-131,-4,107,178,168,61,-152,-440,-674,-693,-484,-228,-106,-114,-119,-50,52,148,260,400,511,534,486,448,471,524,529,445,312,211,174,144,56,-68,-132,-80,39,134,175,196,221,226,177,89,22,20,70,123,139,118,83,49,19}
},
{ // H-30e108a.wav
{0,-1,0,2,1,-1,0,2,2,0,0,2,3,1,0,1,2,2,2,3,3,2,2,2,2,1,1,1,1,2,4,2,-1,0,5,5,-1,-4,3,8,2,-2,6,11,-1,-10,8,27,9,-18,2,38,7,-7,264,877,1355,1043,-83,-1213,-1508,-1001,-442,-323,-370,-86,516,977,1028,873,853,1090,1514,2020,2448,2550,2186,1528,934,623,564,641,779,891,876,753,669,676,611,332,-10,-106,95,295,233,17,-56,103,294,312,144,-119,-416,-672,-739,-520,-118,237,413,464,480,458,351,182,28,-80,-178,-287,-379,-434,-481,-551,-610,-600,-524,-460,-468,-523,-559,-561,-572,-617,-653,-629,-559,-512,-521,-552,-557,-533,-511,-501,-492,-484,-494,-520,-532,-518,-505,-521,-546,-537,-488,-437,-417,-421,-424,-426,-451,-500,-539,-537,-500,-464,-449,-444,-433,-417,-406,-395,-362,-302,-244,-222,-229,-227,-196,-159,-143,-144,-139,-129,-133,-158,-184,-192,-191,-193,-186,-147,-79,-24,-18,-50,-86,-117,-163,-229,-287,-306,-288,-264,-250,-230,-193,-159,-159,-195,-243,-286,-327,-365,-379,-358,-321,-298,-294,-292,-284,-284,-301,-321,-321,-296,-267,-249,-236,-215,-187,-165,-159,-158,-151,-147,-164,-200,-225,-218,-198,-196,-210,-209,-180,-148,-137,-132,-110,-80,-69,-72,-61,-35,-25,-43,-56,-36},
{35,-213,-95,250,150,-325,-280,348,403,-399,-579,458,730,-677,54,6785,14702,12131,-4777,-23078,-25107,-9099,8201,11170,2297,-4034,-480,6551,8215,5019,4567,10859,19318,21714,13966,-387,-12670,-15370,-8015,2428,8012,7113,4614,4979,6863,5681,149,-5859,-7985,-6068,-3318,-2186,-2486,-2956,-2970,-2440,-1372,-283,-213,-1470,-2913,-3273,-2768,-2522,-2690,-2297,-970,316,614,162,-390,-1034,-1862,-2209,-1433,-260,-181,-1457,-2694,-2701,-1895,-1400,-1473,-1494,-1079,-483,-53,115,11,-340,-710,-837,-803,-935,-1254,-1352,-944,-285,151,212,105,30,-43,-234,-536,-776,-778,-561,-352,-330,-404,-340,-95,99,29,-244,-504,-629,-649,-640,-665,-755,-842,-773,-484,-134,32,-43,-192,-245,-210,-199,-264,-348,-352,-224,-11,155,164,35,-102,-159,-178,-252,-392,-506,-512,-423,-316,-245,-215,-206,-201,-187,-153,-114,-116,-176,-232,-203,-90,24,80,100,119,117,62,-22,-88,-134,-174,-183,-134,-69,-34,32,221,444,432,60,-425,-651,-560,-439,-494,-573,-428,-104,90,6,-138,-64,202,401,406,344,334,273,11,-366,-587,-512,-278,-94,-14,42,111,144,78,-103,-355,-577,-642,-506,-280,-126,-91,-94,-59,9,87,197,346,468,496,449,419,459,529,546,470,335,223,187,185,129,0,-108,-92,25,126,148,137,155,185,168,93,18,1,42,100,134,127,90,46,15}
},
{ // H-30e114a.wav
{-2,-1,-1,-1,-1,-1,-1,-1,0,0,-1,-2,0,1,0,-2,-2,0,1,0,0,1,0,-1,0,1,-1,-2,1,3,0,-3,0,5,1,-6,-5,2,0,-7,-1,13,6,-17,-15,18,26,-11,-24,25,41,-14,105,683,1464,1610,581,-1050,-2031,-1769,-900,-385,-349,-173,474,1173,1383,1146,927,1011,1356,1882,2536,3037,2929,2089,1011,365,318,472,413,161,43,250,632,865,756,401,87,16,95,47,-236,-508,-429,13,442,506,249,14,26,169,168,-80,-407,-558,-424,-104,208,384,419,377,307,216,102,-18,-123,-212,-297,-384,-462,-513,-526,-507,-482,-480,-507,-541,-553,-540,-524,-528,-551,-579,-598,-600,-581,-543,-504,-483,-482,-479,-454,-418,-406,-439,-500,-549,-559,-538,-509,-488,-476,-469,-471,-484,-498,-499,-483,-466,-471,-503,-542,-561,-546,-506,-455,-402,-352,-308,-275,-254,-239,-224,-202,-170,-136,-117,-121,-140,-153,-155,-161,-181,-205,-208,-185,-153,-131,-114,-90,-61,-45,-54,-83,-122,-173,-233,-286,-312,-311,-302,-294,-282,-255,-224,-220,-256,-310,-349,-365,-367,-357,-329,-285,-245,-228,-232,-245,-258,-270,-277,-270,-249,-225,-218,-234,-259,-269,-253,-224,-200,-185,-174,-170,-181,-203,-218,-211,-189,-168,-151,-136,-124,-118,-115,-104,-87,-71,-58,-44,-34,-40,-56,-58,-33},
{169,-54,-230,-4,272,39,-368,-150,422,252,-512,-395,620,480,-836,905,8193,14573,9278,-8345,-23771,-21874,-4838,9867,9691,73,-4827,133,7323,8459,5043,4948,11659,19684,20234,10115,-4848,-14510,-12908,-3054,6387,9302,6904,4529,4865,5560,3207,-1957,-6332,-7166,-5218,-3163,-2509,-2764,-2915,-2629,-2018,-1223,-633,-856,-1924,-2956,-3148,-2741,-2444,-2249,-1583,-479,284,297,-37,-395,-1008,-1797,-1907,-898,175,-136,-1708,-2916,-2707,-1729,-1160,-1219,-1305,-1036,-573,-191,-34,-178,-535,-800,-779,-698,-876,-1185,-1177,-717,-176,75,68,32,13,-120,-419,-744,-892,-775,-504,-310,-315,-383,-289,-40,111,-16,-313,-546,-622,-616,-620,-668,-745,-777,-657,-377,-103,-18,-119,-236,-251,-205,-195,-243,-289,-266,-152,12,129,113,-24,-174,-249,-270,-321,-419,-488,-451,-326,-201,-144,-148,-172,-189,-187,-160,-124,-123,-174,-228,-212,-126,-31,30,69,93,79,16,-62,-125,-179,-217,-201,-131,-66,-13,118,348,483,286,-176,-549,-595,-467,-445,-536,-502,-253,-4,27,-86,-94,85,290,371,357,340,278,54,-302,-572,-567,-336,-95,13,21,28,64,71,-24,-229,-465,-595,-529,-323,-136,-69,-83,-84,-36,40,139,270,395,442,409,378,418,498,534,483,376,274,220,203,164,59,-67,-108,-26,88,126,95,90,140,169,108,2,-50,-12,67,122,134,116,79,35}
},
{ // H-30e120a.wav
{1,-1,-1,1,2,0,-1,0,2,2,1,1,1,-1,-1,2,3,1,-1,1,3,2,0,0,1,1,2,4,3,-1,0,6,6,-3,-4,6,8,-7,-12,10,24,-2,-29,-3,36,13,-38,-10,59,27,7,423,1375,2080,1472,-452,-2296,-2653,-1625,-537,-256,-321,120,1053,1705,1637,1226,1066,1351,1957,2730,3394,3457,2626,1309,352,176,397,402,103,-100,43,307,335,95,-133,-120,73,203,90,-228,-523,-567,-340,-57,56,12,20,194,386,372,149,-51,-48,86,139,20,-166,-261,-201,-25,184,334,342,197,-9,-144,-160,-133,-170,-293,-434,-524,-561,-573,-562,-504,-417,-360,-376,-448,-523,-571,-595,-600,-577,-523,-459,-413,-396,-406,-445,-503,-543,-523,-445,-368,-353,-409,-493,-560,-594,-598,-574,-524,-467,-433,-443,-487,-534,-557,-550,-521,-483,-449,-428,-416,-396,-358,-308,-262,-227,-192,-150,-112,-104,-136,-186,-218,-215,-188,-161,-148,-145,-144,-139,-130,-118,-108,-101,-97,-95,-97,-109,-132,-162,-196,-235,-280,-325,-353,-347,-312,-277,-271,-299,-336,-359,-361,-349,-329,-299,-261,-227,-209,-207,-211,-215,-217,-211,-193,-173,-172,-200,-242,-275,-297,-313,-321,-308,-274,-235,-204,-184,-174,-178,-193,-205,-197,-166,-126,-94,-77,-68,-66,-70,-77,-80,-72,-54,-34,-25,-33,-45,-42,-21},
{37,129,-30,-192,-7,239,35,-328,-126,387,213,-478,-337,584,396,-774,1054,7970,13713,8385,-8206,-22335,-20160,-4058,9567,9019,-563,-5587,-621,7275,9397,6080,4898,10384,18003,18720,8748,-5793,-14113,-10699,5,8687,10174,6866,4101,3879,3889,1544,-2623,-5829,-6283,-4768,-3286,-2882,-3099,-3077,-2553,-1786,-1111,-837,-1226,-2154,-2993,-3191,-2833,-2320,-1728,-925,-146,148,-22,-207,-348,-840,-1554,-1589,-569,429,52,-1520,-2755,-2676,-1824,-1216,-1104,-1085,-890,-591,-331,-239,-427,-783,-957,-798,-634,-803,-1100,-1032,-542,-87,3,-103,-105,-21,-92,-402,-766,-937,-816,-519,-277,-229,-283,-236,-59,54,-64,-343,-579,-663,-637,-598,-614,-680,-704,-573,-304,-74,-42,-169,-282,-287,-235,-202,-197,-191,-168,-116,-27,57,53,-61,-202,-265,-258,-275,-362,-440,-408,-272,-144,-102,-126,-151,-161,-173,-191,-203,-220,-256,-277,-230,-116,0,64,79,66,27,-31,-91,-144,-194,-217,-183,-115,-64,5,182,413,443,113,-367,-616,-538,-400,-423,-491,-380,-131,9,-48,-120,-30,166,310,361,381,351,163,-196,-542,-645,-459,-161,34,60,11,-5,22,9,-113,-324,-505,-531,-382,-175,-52,-49,-82,-65,2,86,186,296,369,364,329,354,447,515,486,396,323,292,265,200,92,-31,-110,-91,6,87,92,69,94,148,140,39,-69,-88,-14,83,145,155,118,54}
},
{ // H-30e126a.wav
{-2,-1,1,0,-2,-1,1,0,-2,0,2,0,-3,-2,2,1,-3,-3,1,3,0,-1,0,0,0,3,5,0,-3,4,10,2,-9,0,15,4,-19,-10,25,22,-22,-29,25,42,-24,-52,31,70,-15,167,1076,2277,2393,591,-2081,-3503,-2755,-1046,-99,-151,-91,746,1732,1977,1528,1152,1341,2012,2924,3824,4210,3541,1948,386,-261,-62,216,127,-67,15,277,342,99,-219,-404,-472,-505,-501,-461,-457,-512,-505,-325,-68,48,-38,-157,-140,-12,95,140,188,272,332,305,201,67,-71,-198,-275,-269,-194,-85,45,181,260,197,-13,-249,-368,-345,-285,-295,-374,-440,-447,-429,-440,-476,-489,-463,-427,-408,-397,-378,-373,-416,-496,-560,-564,-514,-444,-380,-339,-342,-398,-485,-555,-572,-541,-494,-466,-473,-512,-560,-589,-588,-566,-537,-504,-463,-423,-400,-401,-409,-404,-377,-337,-296,-262,-236,-218,-208,-208,-216,-222,-215,-194,-170,-156,-155,-160,-160,-148,-126,-101,-80,-72,-82,-110,-146,-175,-194,-209,-227,-245,-256,-264,-277,-292,-295,-286,-286,-319,-378,-429,-441,-413,-365,-312,-256,-201,-160,-146,-158,-181,-198,-199,-182,-153,-127,-124,-153,-205,-265,-319,-360,-381,-378,-350,-306,-257,-215,-189,-186,-200,-212,-202,-164,-115,-78,-60,-49,-33,-20,-23,-38,-46,-36,-19,-17,-31,-44,-40,-22,-6},
{-113,20,138,-2,-187,-48,212,80,-280,-174,312,259,-376,-393,440,480,-615,473,6355,12418,9381,-4873,-19263,-19961,-6354,7623,9215,476,-6060,-2738,5823,10296,8081,5184,7863,14561,17128,9861,-3447,-12359,-9925,645,9824,11425,7359,3421,2405,2420,744,-2567,-5198,-5537,-4240,-3102,-3065,-3599,-3678,-2943,-1855,-1055,-873,-1298,-2071,-2780,-3094,-2965,-2491,-1706,-717,63,242,-16,-205,-266,-622,-1251,-1364,-523,429,255,-1049,-2233,-2362,-1771,-1295,-1200,-1191,-1028,-725,-398,-241,-451,-912,-1164,-969,-692,-786,-1085,-1020,-469,53,108,-130,-246,-166,-142,-335,-632,-816,-771,-537,-284,-184,-231,-249,-134,-14,-84,-342,-593,-685,-642,-581,-577,-620,-628,-511,-278,-74,-54,-205,-357,-376,-290,-209,-183,-174,-134,-52,47,113,85,-45,-205,-290,-277,-248,-282,-353,-366,-283,-179,-145,-186,-236,-247,-226,-201,-190,-207,-250,-278,-242,-141,-27,47,70,52,10,-37,-79,-128,-189,-224,-196,-132,-76,11,199,394,350,-27,-475,-645,-517,-381,-400,-425,-281,-62,18,-49,-78,26,171,265,339,406,346,48,-386,-677,-635,-332,-13,128,75,-44,-94,-58,-41,-148,-353,-502,-465,-275,-96,-42,-74,-80,-20,64,139,215,282,291,243,231,331,476,526,444,339,309,324,285,161,6,-109,-147,-104,-10,70,95,90,102,123,93,-9,-116,-131,-32,107,185,160,73}
},
{ // H-30e132a.wav
{1,1,-1,0,2,2,0,-1,2,3,0,-2,1,3,0,-2,1,4,2,-1,0,1,0,3,8,6,-2,0,11,10,-6,-8,13,18,-9,-22,12,35,-5,-45,0,61,18,-64,-17,88,24,-3,682,2167,3126,1912,-1281,-4052,-4204,-2143,-194,237,-20,451,1638,2358,2023,1308,1155,1809,2972,4240,5036,4635,2883,727,-519,-497,-32,23,-261,-288,91,420,318,-91,-466,-662,-721,-698,-673,-785,-1035,-1137,-802,-180,213,88,-269,-378,-161,36,-42,-236,-222,68,400,530,416,175,-50,-161,-136,-56,-55,-181,-333,-369,-263,-115,-23,11,31,35,-18,-139,-274,-358,-384,-393,-409,-415,-388,-341,-309,-307,-323,-348,-384,-424,-441,-424,-389,-366,-372,-406,-458,-505,-521,-496,-459,-447,-465,-486,-494,-507,-542,-581,-593,-580,-565,-556,-529,-472,-407,-364,-342,-315,-273,-240,-242,-279,-323,-346,-338,-309,-276,-253,-240,-226,-198,-160,-136,-141,-162,-170,-150,-116,-95,-96,-108,-122,-141,-176,-222,-263,-283,-279,-263,-250,-247,-253,-257,-250,-238,-248,-299,-383,-462,-497,-480,-426,-355,-274,-188,-114,-74,-82,-127,-171,-180,-148,-103,-81,-96,-138,-196,-266,-336,-385,-398,-381,-353,-323,-291,-260,-242,-242,-245,-229,-188,-139,-101,-80,-65,-48,-30,-17,-3,19,47,64,57,28,-5,-30,-43,-45,-35,-16},
{28,-79,-43,102,71,-123,-114,137,162,-160,-246,158,338,-154,-456,156,578,-254,-248,3883,10252,10800,426,-14208,-19594,-10396,3778,9060,2676,-5377,-5048,2897,9740,9871,6427,6165,10774,14623,11149,731,-8665,-9116,-667,8963,12287,8744,3495,972,921,411,-1901,-4460,-5177,-3989,-2687,-2701,-3670,-4219,-3636,-2412,-1419,-1067,-1278,-1805,-2362,-2680,-2675,-2419,-1912,-1108,-250,193,103,-108,-147,-278,-724,-1005,-536,300,397,-626,-1852,-2212,-1697,-1088,-896,-1009,-1131,-1095,-861,-564,-505,-791,-1082,-1003,-721,-722,-1040,-1141,-682,-17,287,136,-131,-264,-315,-395,-505,-586,-589,-485,-312,-199,-224,-285,-229,-95,-76,-259,-508,-648,-646,-589,-548,-540,-535,-477,-336,-180,-136,-243,-381,-405,-303,-177,-107,-85,-64,-18,52,117,124,38,-101,-203,-230,-241,-305,-402,-444,-385,-275,-198,-183,-199,-213,-215,-207,-201,-214,-248,-267,-231,-141,-41,32,67,64,26,-29,-78,-121,-169,-205,-199,-157,-101,-7,163,318,251,-101,-500,-638,-502,-352,-345,-351,-216,-17,64,16,-13,47,133,212,323,424,342,-12,-458,-684,-555,-212,85,178,76,-90,-172,-138,-101,-189,-378,-488,-398,-192,-55,-57,-101,-70,33,132,196,242,262,224,157,169,313,487,539,451,347,319,317,241,87,-57,-127,-127,-78,3,80,107,89,77,86,59,-45,-153,-146,-4,149,182,97}
},
{ // H-30e138a.wav
{0,-2,0,2,1,-2,-1,1,0,-2,0,3,0,-4,-1,4,2,-2,-1,1,-2,-4,4,9,1,-6,4,13,0,-14,3,24,4,-28,-6,41,22,-46,-37,53,61,-47,-65,77,96,-60,313,1831,3547,3246,4,-4059,-5616,-3742,-794,568,309,295,1422,2620,2644,1751,1168,1614,2904,4486,5668,5598,3870,1293,-549,-844,-299,-79,-387,-521,-91,424,404,-111,-608,-788,-770,-757,-826,-1001,-1247,-1350,-1067,-502,-124,-220,-500,-467,-107,99,-130,-475,-458,-80,230,206,22,-31,81,194,205,129,-20,-236,-433,-487,-398,-307,-312,-333,-239,-41,112,118,24,-60,-88,-90,-102,-135,-198,-303,-426,-494,-453,-340,-248,-222,-223,-219,-239,-322,-434,-483,-439,-374,-373,-438,-502,-522,-511,-499,-494,-496,-506,-519,-525,-527,-543,-575,-590,-550,-461,-368,-310,-285,-269,-251,-249,-275,-314,-329,-305,-268,-258,-281,-304,-290,-242,-194,-175,-179,-180,-165,-148,-149,-167,-183,-184,-178,-178,-188,-204,-220,-238,-255,-265,-265,-259,-254,-245,-223,-191,-174,-206,-292,-399,-481,-514,-502,-457,-383,-286,-187,-112,-76,-77,-100,-123,-122,-92,-53,-42,-75,-139,-212,-283,-349,-394,-402,-377,-342,-314,-287,-257,-240,-253,-278,-273,-216,-135,-78,-68,-83,-85,-55,-7,38,78,117,144,134,82,21,-11,-11,-8,-17,-24,-15},
{37,49,-36,-72,38,102,-35,-145,12,177,2,-241,-54,296,111,-371,-191,451,208,-499,1381,6906,10830,5955,-6941,-16998,-14388,-2067,7099,5004,-3158,-6305,-629,7425,10202,7577,5555,8048,12135,11694,4665,-4077,-7204,-2082,6684,11778,9970,4330,160,-462,223,-724,-3313,-5067,-4402,-2553,-1885,-3020,-4397,-4424,-3202,-1931,-1363,-1381,-1661,-2057,-2399,-2456,-2200,-1782,-1244,-580,-32,76,-168,-343,-316,-354,-493,-327,243,531,-142,-1417,-2209,-1974,-1216,-712,-690,-874,-975,-922,-819,-855,-1088,-1279,-1118,-689,-461,-669,-962,-860,-380,42,132,2,-132,-213,-284,-381,-508,-618,-599,-401,-172,-120,-231,-283,-174,-78,-187,-439,-622,-644,-588,-550,-549,-556,-528,-420,-251,-130,-161,-300,-393,-350,-230,-135,-93,-57,9,99,171,171,68,-101,-242,-299,-302,-322,-371,-399,-370,-305,-255,-238,-242,-248,-244,-224,-195,-185,-210,-245,-242,-181,-90,-6,49,66,41,-17,-86,-147,-193,-220,-219,-197,-154,-56,108,240,166,-151,-495,-602,-467,-320,-305,-315,-205,-31,54,32,15,57,116,190,324,443,349,-32,-476,-664,-496,-152,124,199,79,-130,-273,-272,-219,-270,-421,-487,-346,-120,-24,-98,-174,-108,53,172,206,214,224,202,153,167,299,460,501,404,299,280,282,200,49,-68,-102,-96,-78,-27,47,83,58,31,38,18,-79,-175,-148,-11,95,77}
},
{ // H-30e144a.wav
{-2,2,2,-2,-3,1,2,-2,-3,1,2,-3,-4,0,2,-1,-2,0,-2,-5,1,9,2,-9,-2,15,6,-20,-13,24,22,-26,-32,30,50,-26,-66,22,88,-13,-102,34,159,-21,36,1356,3606,4389,1623,-3416,-6693,-5655,-1997,605,785,345,1156,2699,3238,2361,1345,1462,2831,4764,6344,6565,4837,1851,-598,-1248,-617,-170,-469,-759,-322,444,638,64,-661,-998,-1010,-998,-1064,-1173,-1330,-1453,-1298,-779,-249,-169,-507,-755,-591,-272,-211,-397,-471,-262,33,178,168,93,-42,-227,-322,-221,-51,-45,-226,-385,-384,-330,-371,-468,-469,-343,-215,-166,-121,22,228,351,292,96,-111,-240,-283,-277,-251,-221,-204,-215,-246,-272,-279,-271,-259,-246,-245,-280,-353,-431,-479,-499,-516,-534,-530,-497,-468,-473,-499,-515,-513,-507,-498,-470,-427,-399,-407,-429,-421,-371,-309,-272,-262,-256,-236,-212,-206,-228,-261,-280,-272,-242,-211,-197,-205,-222,-233,-240,-249,-259,-260,-242,-208,-177,-172,-196,-231,-253,-254,-241,-225,-215,-212,-209,-195,-168,-156,-200,-309,-439,-523,-534,-495,-438,-369,-280,-184,-113,-89,-101,-121,-122,-95,-49,-12,-7,-43,-115,-213,-318,-397,-424,-404,-368,-333,-295,-247,-208,-213,-260,-300,-286,-218,-138,-84,-63,-62,-62,-49,-14,42,104,149,162,140,95,50,26,27,34,27,4,-14,-13},
{-38,-6,53,22,-64,-39,76,59,-96,-102,96,139,-110,-209,96,276,-88,-372,69,459,-124,-153,3093,8391,9295,1288,-10644,-15503,-8672,2125,5679,225,-5554,-3821,3613,8991,8462,5596,5744,9322,11666,8618,1360,-4303,-3368,3439,10089,10920,5934,223,-1741,-459,241,-1693,-4352,-4807,-2954,-1394,-2007,-3857,-4770,-3996,-2598,-1757,-1610,-1720,-1855,-1988,-2033,-1956,-1852,-1665,-1135,-283,354,329,-111,-411,-465,-524,-538,-189,358,376,-466,-1511,-1864,-1449,-940,-829,-981,-1035,-882,-672,-607,-785,-1096,-1250,-1075,-766,-665,-786,-783,-442,15,219,93,-141,-281,-313,-324,-382,-484,-542,-452,-249,-111,-148,-251,-248,-165,-184,-369,-574,-641,-578,-497,-466,-475,-483,-443,-333,-211,-182,-274,-378,-370,-253,-135,-84,-70,-37,21,75,92,51,-48,-162,-231,-246,-259,-313,-384,-406,-362,-299,-266,-266,-268,-254,-229,-207,-197,-203,-218,-223,-198,-141,-67,-3,30,25,-12,-69,-136,-199,-242,-250,-232,-190,-98,60,200,162,-111,-446,-591,-491,-333,-286,-301,-229,-62,69,86,46,30,72,179,343,460,360,3,-408,-593,-463,-167,82,163,58,-157,-333,-363,-307,-320,-435,-492,-354,-126,-34,-131,-230,-155,49,208,248,233,220,195,156,169,276,404,436,369,303,285,253,150,21,-53,-67,-76,-86,-56,10,48,32,6,-1,-27,-101,-169,-157,-77,-11}
},
{ // H-30e150a.wav
{4,1,-2,2,4,0,-3,2,5,0,-4,0,5,1,-3,0,2,-2,-2,9,9,-6,-7,13,16,-13,-22,17,35,-13,-45,12,64,-2,-82,-10,109,37,-123,-39,188,87,-90,890,3387,5195,3276,-2275,-7253,-7536,-3628,234,1203,542,940,2698,3822,3114,1682,1363,2741,5027,6975,7430,5748,2521,-413,-1486,-946,-369,-645,-1078,-681,320,817,316,-562,-1047,-1094,-1114,-1286,-1481,-1612,-1667,-1494,-961,-336,-140,-482,-855,-792,-473,-399,-628,-714,-388,77,286,206,42,-133,-344,-473,-367,-151,-156,-454,-709,-624,-345,-237,-394,-556,-491,-261,-76,-37,-83,-122,-112,-50,50,145,184,149,68,-13,-62,-77,-80,-93,-130,-192,-263,-308,-289,-218,-165,-196,-301,-409,-474,-506,-529,-533,-504,-459,-429,-420,-421,-433,-466,-504,-508,-467,-418,-400,-411,-416,-397,-367,-345,-330,-305,-261,-205,-160,-151,-180,-221,-240,-231,-225,-249,-295,-326,-320,-291,-263,-249,-244,-236,-220,-200,-191,-202,-227,-243,-238,-223,-217,-218,-212,-193,-164,-130,-101,-114,-205,-359,-500,-563,-551,-506,-441,-341,-215,-112,-75,-98,-140,-166,-157,-109,-39,20,34,-9,-103,-231,-357,-433,-435,-386,-335,-302,-270,-225,-190,-199,-249,-291,-272,-196,-117,-78,-72,-58,-21,21,51,77,113,142,136,96,56,45,63,83,87,71,36,-5,-27,-19},
{23,-9,-34,11,53,-2,-68,-7,87,19,-117,-53,131,82,-165,-143,181,207,-208,-297,231,366,-284,351,4229,8640,7340,-1630,-11370,-12720,-5066,2680,2768,-2570,-5023,-809,5662,8324,6609,4858,6339,9611,10543,6919,988,-2266,224,6228,9951,7771,1965,-2020,-1667,332,51,-2775,-4928,-4140,-1810,-917,-2341,-4225,-4576,-3401,-2119,-1692,-1926,-2181,-2111,-1753,-1365,-1264,-1482,-1567,-1055,-176,308,75,-347,-376,-154,-147,-334,-321,-128,-251,-847,-1391,-1376,-983,-755,-867,-1043,-1035,-876,-718,-662,-748,-903,-945,-782,-591,-608,-760,-722,-368,38,178,42,-148,-242,-270,-312,-392,-467,-466,-355,-206,-152,-218,-276,-226,-155,-218,-412,-567,-568,-474,-411,-420,-453,-446,-377,-277,-222,-269,-377,-426,-349,-202,-91,-52,-43,-21,11,26,8,-43,-112,-166,-189,-204,-254,-336,-395,-384,-325,-279,-279,-299,-298,-270,-235,-212,-202,-201,-203,-197,-165,-111,-61,-38,-37,-43,-59,-101,-158,-200,-217,-229,-235,-175,-9,174,190,-46,-387,-582,-530,-369,-284,-286,-248,-103,65,134,87,12,6,111,291,425,366,80,-275,-469,-408,-194,2,73,-4,-181,-348,-403,-359,-343,-428,-507,-427,-214,-71,-114,-216,-175,31,238,306,256,193,168,166,184,239,320,374,370,329,278,211,114,17,-36,-47,-57,-79,-78,-34,14,16,-24,-63,-91,-128,-162,-147,-73}
},
{ // H-30e156a.wav
{-4,0,6,2,-4,1,7,1,-7,-2,8,5,-4,-3,3,0,-4,5,11,-2,-10,9,21,-7,-29,2,37,2,-49,-10,63,24,-82,-50,96,81,-106,-102,154,165,-87,595,3071,5584,4608,-920,-7208,-9037,-5452,-590,1410,814,741,2519,4301,4068,2372,1459,2637,5233,7560,8135,6380,3024,-110,-1441,-1068,-494,-759,-1326,-1099,-69,680,421,-396,-943,-1063,-1174,-1479,-1763,-1860,-1843,-1693,-1222,-519,-124,-400,-961,-1097,-695,-335,-437,-709,-643,-234,97,112,-39,-169,-274,-368,-382,-327,-366,-574,-770,-754,-588,-489,-505,-478,-321,-159,-144,-255,-341,-307,-181,-53,4,-28,-96,-112,-22,143,295,360,321,213,87,-23,-115,-193,-240,-246,-238,-265,-331,-389,-405,-401,-409,-414,-392,-366,-384,-443,-495,-514,-523,-533,-510,-438,-363,-347,-381,-399,-365,-311,-288,-305,-328,-319,-275,-216,-178,-186,-229,-270,-282,-280,-294,-325,-342,-319,-272,-239,-238,-251,-249,-224,-187,-162,-164,-190,-222,-241,-243,-236,-225,-209,-188,-169,-145,-108,-79,-114,-244,-417,-539,-566,-531,-483,-418,-312,-182,-89,-71,-109,-154,-173,-157,-111,-51,1,20,-19,-124,-265,-378,-408,-368,-322,-317,-325,-291,-220,-173,-191,-243,-264,-227,-163,-114,-92,-71,-28,30,75,94,108,133,151,128,72,35,50,88,103,92,80,65,23,-40,-73,-49},
{-14,9,20,-12,-26,18,40,-20,-57,19,79,-14,-111,-10,131,23,-176,-68,210,115,-260,-186,309,226,-320,845,4811,8156,5599,-2938,-10418,-10108,-3563,1394,272,-3343,-3347,1181,5809,6904,5505,5034,6943,9395,9490,6272,1964,270,2762,6777,7755,4147,-748,-2562,-856,798,-482,-3467,-4765,-3199,-1024,-879,-2714,-4298,-4098,-2744,-1776,-1798,-2217,-2295,-1895,-1355,-1063,-1174,-1431,-1318,-638,83,146,-398,-770,-515,-64,5,-197,-207,-84,-331,-1022,-1559,-1475,-1028,-758,-794,-868,-810,-707,-677,-732,-833,-891,-782,-501,-271,-300,-475,-486,-249,-14,-21,-205,-332,-304,-218,-204,-291,-396,-402,-277,-138,-131,-247,-320,-260,-181,-238,-406,-516,-483,-388,-352,-397,-462,-478,-418,-311,-234,-245,-309,-327,-259,-166,-124,-127,-119,-77,-29,-8,-21,-62,-116,-165,-196,-225,-281,-354,-395,-374,-324,-302,-322,-338,-313,-259,-214,-193,-182,-171,-164,-157,-137,-109,-94,-98,-97,-78,-69,-98,-149,-188,-207,-215,-181,-58,108,165,4,-300,-533,-559,-438,-324,-288,-264,-161,12,143,135,15,-78,-16,186,370,371,162,-123,-311,-328,-220,-87,-19,-63,-210,-374,-445,-399,-347,-401,-510,-502,-315,-105,-59,-149,-164,9,242,343,280,174,122,120,142,192,269,332,346,318,268,195,104,34,16,21,-2,-55,-88,-77,-52,-53,-79,-112,-140,-153,-129,-66}
},
{ // H-30e162a.wav
{2,-1,-8,-6,2,1,-7,-7,1,2,-6,-7,-3,-5,-8,0,7,-4,-14,1,16,-7,-33,-7,33,6,-52,-27,53,34,-76,-74,72,98,-80,-131,102,185,-42,478,2828,5681,5458,309,-6676,-9883,-7112,-1804,1234,1105,699,2176,4355,4854,3415,2114,2837,5395,7952,8629,6764,3300,156,-1208,-967,-520,-825,-1422,-1313,-428,285,136,-507,-887,-890,-1013,-1504,-2028,-2206,-2076,-1835,-1461,-887,-370,-295,-641,-958,-939,-752,-681,-699,-596,-338,-86,55,71,-82,-406,-685,-651,-370,-244,-495,-856,-918,-660,-422,-438,-599,-671,-577,-403,-249,-154,-113,-103,-108,-144,-219,-279,-245,-111,38,134,200,285,372,395,318,164,-8,-136,-188,-192,-213,-277,-333,-334,-309,-326,-385,-424,-412,-392,-410,-456,-497,-526,-549,-550,-507,-434,-372,-338,-313,-274,-232,-216,-233,-266,-291,-293,-278,-272,-298,-344,-369,-347,-304,-285,-300,-317,-305,-273,-246,-231,-222,-217,-219,-217,-198,-174,-168,-183,-196,-194,-190,-197,-204,-199,-190,-184,-159,-103,-63,-119,-288,-486,-602,-601,-534,-457,-370,-248,-110,-25,-43,-136,-217,-225,-170,-98,-38,6,14,-46,-174,-311,-381,-365,-315,-295,-316,-329,-284,-202,-159,-200,-275,-289,-219,-134,-95,-84,-47,21,77,96,98,113,137,146,124,82,57,75,118,137,111,78,72,57,-22,-134,-176,-105},
{8,-8,-12,11,17,-14,-21,22,34,-23,-46,24,62,-28,-92,14,114,-9,-159,-24,195,55,-252,-108,308,132,-280,1069,4781,7506,4850,-2709,-9020,-8850,-3867,-200,-881,-2936,-2115,1748,5283,6131,5297,5261,6980,9029,9152,6610,3257,2002,3692,5812,5117,1480,-1842,-2097,-273,392,-1452,-3772,-3939,-1989,-371,-895,-2806,-4030,-3633,-2498,-1896,-2043,-2252,-1988,-1395,-946,-936,-1273,-1535,-1283,-543,76,29,-466,-688,-388,-67,-166,-423,-378,-164,-293,-828,-1256,-1237,-1024,-989,-1100,-1086,-882,-658,-542,-525,-559,-580,-500,-330,-239,-336,-459,-361,-62,144,69,-160,-303,-292,-239,-258,-347,-409,-358,-212,-106,-149,-279,-330,-257,-201,-281,-424,-476,-407,-325,-316,-358,-386,-366,-301,-227,-207,-279,-385,-412,-319,-189,-123,-122,-119,-83,-52,-61,-98,-132,-158,-187,-225,-270,-322,-371,-393,-378,-348,-336,-342,-331,-282,-215,-166,-147,-142,-146,-155,-160,-150,-132,-118,-104,-77,-51,-56,-93,-133,-161,-191,-206,-143,3,114,43,-211,-475,-579,-519,-417,-360,-316,-206,-22,142,172,51,-99,-114,50,267,351,231,-3,-200,-275,-242,-164,-107,-125,-231,-367,-439,-411,-366,-411,-521,-538,-364,-114,2,-56,-112,-5,204,324,272,144,67,67,97,135,193,263,307,304,263,205,145,99,73,54,21,-28,-72,-93,-98,-111,-151,-201,-218,-167,-75}
},
{ // H-30e168a.wav
{-4,-2,4,2,-5,-4,4,4,-3,-3,1,-1,-5,2,9,-1,-9,7,20,-3,-28,-4,33,8,-47,-25,51,38,-63,-68,58,87,-64,-110,87,153,-25,535,2845,5696,5708,925,-6036,-9867,-7974,-3018,464,1014,839,2117,4236,5117,4181,3064,3623,5937,8301,8794,6801,3402,475,-798,-750,-581,-948,-1409,-1258,-581,-131,-319,-755,-902,-823,-991,-1552,-2144,-2411,-2360,-2104,-1604,-903,-365,-358,-755,-1065,-1050,-919,-880,-813,-555,-239,-95,-98,-89,-119,-350,-662,-713,-441,-232,-407,-784,-956,-839,-701,-725,-795,-733,-548,-369,-273,-247,-243,-204,-105,-11,-26,-151,-251,-213,-74,45,94,110,128,142,137,119,96,77,71,62,11,-96,-206,-267,-298,-354,-427,-449,-392,-323,-324,-396,-482,-538,-555,-532,-472,-402,-356,-339,-322,-285,-237,-208,-213,-244,-278,-290,-278,-268,-283,-317,-342,-345,-338,-337,-336,-323,-295,-263,-234,-209,-191,-185,-188,-189,-185,-180,-181,-182,-174,-160,-154,-161,-169,-171,-174,-187,-186,-136,-51,-19,-126,-353,-575,-671,-627,-516,-404,-289,-153,-26,22,-42,-165,-248,-235,-148,-52,12,30,-8,-109,-241,-339,-355,-312,-280,-297,-328,-310,-238,-176,-188,-260,-306,-261,-158,-84,-72,-64,-6,71,99,74,59,92,140,155,140,129,131,136,142,151,149,121,78,30,-41,-147,-238,-231,-121},
{-10,3,8,-6,-9,10,14,-11,-13,22,26,-22,-35,26,49,-29,-73,20,91,-18,-128,-5,157,22,-209,-58,262,72,-196,1159,4494,6860,4566,-1992,-7749,-8291,-4646,-1507,-1414,-2384,-1302,2015,5047,5892,5231,5112,6560,8558,9118,7345,4532,2956,3377,4098,2991,182,-2019,-1944,-573,-202,-1572,-3099,-2986,-1436,-304,-847,-2408,-3407,-3191,-2474,-2160,-2271,-2205,-1680,-1035,-743,-916,-1281,-1438,-1139,-542,-147,-272,-617,-600,-155,170,-11,-391,-490,-382,-511,-952,-1286,-1230,-995,-899,-933,-908,-795,-712,-687,-645,-556,-446,-306,-141,-44,-96,-204,-194,-52,49,-8,-135,-180,-129,-100,-177,-325,-433,-423,-329,-263,-291,-344,-315,-215,-170,-244,-344,-341,-242,-156,-150,-201,-266,-329,-373,-382,-372,-376,-388,-363,-286,-207,-176,-180,-173,-143,-118,-115,-129,-149,-183,-232,-283,-325,-359,-382,-380,-353,-329,-331,-342,-324,-271,-210,-165,-132,-104,-94,-108,-126,-128,-117,-101,-77,-40,-15,-33,-92,-162,-225,-266,-242,-120,32,57,-130,-418,-599,-585,-467,-378,-335,-258,-100,79,167,103,-50,-140,-58,141,280,231,42,-139,-224,-232,-213,-191,-193,-256,-368,-444,-422,-353,-352,-436,-482,-376,-163,-7,1,-52,-16,131,260,252,134,33,23,68,106,134,179,235,266,257,228,196,160,124,98,72,13,-78,-148,-166,-169,-207,-251,-224,-114}
},
{ // H-30e174a.wav
{4,-1,-7,-2,5,1,-5,-1,3,-4,-8,3,11,-2,-10,6,19,-3,-25,-1,29,0,-45,-14,49,20,-68,-46,70,60,-88,-84,117,116,-61,656,3094,5810,5560,809,-5749,-9330,-7841,-3681,-598,303,757,2315,4341,5195,4543,3813,4550,6730,8741,8844,6670,3463,928,-186,-432,-719,-1236,-1462,-1083,-537,-470,-880,-1148,-935,-686,-1024,-1852,-2446,-2407,-2094,-1979,-1942,-1563,-893,-480,-615,-963,-1076,-942,-817,-772,-682,-513,-353,-223,-93,-52,-212,-446,-488,-342,-340,-678,-1095,-1206,-992,-762,-713,-750,-718,-615,-525,-467,-389,-261,-100,42,86,-10,-172,-248,-173,-38,29,14,-3,22,48,16,-71,-146,-139,-47,57,87,28,-56,-114,-166,-249,-346,-399,-389,-356,-344,-364,-405,-449,-465,-435,-380,-350,-359,-371,-354,-324,-310,-311,-304,-286,-271,-256,-231,-209,-221,-272,-318,-323,-307,-313,-345,-361,-337,-292,-257,-236,-208,-166,-129,-117,-132,-156,-172,-171,-158,-142,-133,-138,-158,-185,-210,-224,-216,-172,-86,0,-4,-164,-429,-644,-688,-586,-457,-360,-251,-90,58,83,-32,-182,-245,-189,-71,26,50,-1,-97,-199,-277,-314,-309,-290,-296,-334,-353,-303,-216,-183,-238,-307,-291,-189,-85,-43,-38,-15,36,74,68,39,34,71,124,154,160,169,192,208,199,178,161,135,78,0,-71,-133,-198,-242,-210,-103},
{6,-1,-7,-1,1,-8,-10,6,9,-11,-14,13,19,-18,-31,15,36,-25,-64,9,73,-9,-106,-18,120,27,-163,-57,207,73,-139,1020,4010,6422,4838,-942,-6788,-8380,-5745,-2591,-1589,-1728,-547,2348,4989,5691,4969,4704,5997,8071,9107,8040,5595,3506,2671,2318,1203,-640,-1881,-1655,-741,-600,-1532,-2360,-1991,-821,-251,-1013,-2379,-3120,-2884,-2334,-2117,-2128,-1904,-1374,-923,-851,-1072,-1304,-1323,-1055,-615,-295,-290,-415,-326,-32,69,-212,-531,-506,-306,-407,-881,-1302,-1345,-1152,-1008,-944,-827,-652,-526,-480,-464,-456,-446,-368,-189,-22,0,-77,-84,18,82,4,-131,-177,-121,-72,-106,-200,-293,-341,-346,-345,-370,-393,-352,-241,-137,-103,-110,-95,-63,-77,-162,-274,-358,-404,-423,-420,-408,-409,-423,-411,-349,-265,-210,-194,-187,-172,-165,-178,-198,-213,-235,-275,-319,-342,-346,-349,-359,-366,-363,-349,-322,-277,-224,-179,-141,-102,-70,-70,-102,-129,-118,-82,-54,-45,-50,-75,-130,-200,-257,-286,-274,-197,-62,31,-47,-297,-553,-644,-563,-439,-360,-289,-158,18,139,118,-23,-155,-147,7,169,194,71,-89,-193,-239,-258,-257,-252,-285,-371,-442,-418,-320,-260,-305,-383,-368,-228,-65,8,-9,-14,56,149,171,109,38,21,47,76,103,145,194,224,233,233,224,198,166,136,89,1,-103,-174,-206,-237,-263,-229,-117}
},
{ // H-30e180a.wav
{-6,2,9,3,-5,0,5,-2,-5,6,11,-3,-8,14,22,-9,-26,10,36,-9,-52,-1,63,8,-85,-31,96,46,-120,-65,164,95,-96,842,3541,6092,5211,42,-6093,-8759,-6912,-3428,-1335,-710,324,2562,4748,5400,4704,4263,5314,7454,9019,8602,6309,3564,1700,816,108,-871,-1648,-1598,-914,-472,-795,-1448,-1618,-1129,-656,-909,-1806,-2610,-2784,-2479,-2137,-1886,-1552,-1106,-803,-833,-1063,-1212,-1147,-925,-676,-516,-466,-395,-158,142,180,-173,-605,-734,-595,-555,-777,-1025,-1047,-909,-828,-859,-889,-840,-723,-564,-388,-254,-190,-131,-25,47,-33,-218,-313,-218,-38,75,92,75,51,-6,-109,-225,-309,-331,-290,-221,-172,-151,-120,-60,-24,-65,-156,-228,-257,-275,-301,-328,-352,-384,-417,-421,-395,-375,-381,-385,-356,-311,-283,-268,-248,-230,-237,-259,-261,-243,-242,-274,-306,-308,-296,-305,-339,-362,-356,-332,-303,-262,-206,-148,-106,-87,-85,-97,-117,-133,-132,-114,-96,-90,-106,-142,-187,-231,-264,-267,-213,-99,6,-10,-198,-463,-634,-629,-517,-410,-332,-226,-65,78,104,1,-136,-189,-113,25,109,75,-41,-160,-233,-267,-280,-281,-291,-335,-396,-402,-317,-213,-199,-279,-334,-269,-129,-32,-18,-23,17,80,102,68,23,13,42,86,123,150,176,208,234,236,216,192,166,117,37,-48,-112,-165,-221,-252,-211,-103},
{-6,2,9,3,-5,0,5,-2,-5,6,11,-3,-8,14,22,-9,-26,10,36,-9,-52,-1,63,8,-85,-31,96,46,-120,-65,164,95,-96,842,3541,6092,5211,42,-6093,-8759,-6912,-3428,-1335,-710,324,2562,4748,5400,4704,4263,5314,7454,9019,8602,6309,3564,1700,816,108,-871,-1648,-1598,-914,-472,-795,-1448,-1618,-1129,-656,-909,-1806,-2610,-2784,-2479,-2137,-1886,-1552,-1106,-803,-833,-1063,-1212,-1147,-925,-676,-516,-466,-395,-158,142,180,-173,-605,-734,-595,-555,-777,-1025,-1047,-909,-828,-859,-889,-840,-723,-564,-388,-254,-190,-131,-25,47,-33,-218,-313,-218,-38,75,92,75,51,-6,-109,-225,-309,-331,-290,-221,-172,-151,-120,-60,-24,-65,-156,-228,-257,-275,-301,-328,-352,-384,-417,-421,-395,-375,-381,-385,-356,-311,-283,-268,-248,-230,-237,-259,-261,-243,-242,-274,-306,-308,-296,-305,-339,-362,-356,-332,-303,-262,-206,-148,-106,-87,-85,-97,-117,-133,-132,-114,-96,-90,-106,-142,-187,-231,-264,-267,-213,-99,6,-10,-198,-463,-634,-629,-517,-410,-332,-226,-65,78,104,1,-136,-189,-113,25,109,75,-41,-160,-233,-267,-280,-281,-291,-335,-396,-402,-317,-213,-199,-279,-334,-269,-129,-32,-18,-23,17,80,102,68,23,13,42,86,123,150,176,208,234,236,216,192,166,117,37,-48,-112,-165,-221,-252,-211,-103}
}
},
{ // elev-40
{ // H-40e000a.wav
{-2,-7,-10,2,13,-2,-19,-3,23,6,-31,-16,31,17,-51,-47,43,60,-49,-93,31,107,-36,-143,35,159,-64,264,2505,5820,6465,1650,-5935,-9591,-5891,863,3360,-85,-3785,-1994,4213,8944,8851,6068,4111,3593,3256,3232,4855,7620,8619,5864,976,-2470,-2726,-1263,-722,-2191,-4356,-4825,-2449,1210,2958,1121,-2508,-4515,-3604,-1683,-1134,-2029,-2686,-2176,-1220,-842,-1122,-1482,-1501,-1174,-797,-800,-1312,-1761,-1373,-287,348,-220,-1304,-1668,-1115,-545,-571,-803,-663,-277,-153,-368,-527,-373,-68,102,41,-160,-338,-360,-240,-155,-255,-451,-519,-396,-254,-268,-415,-540,-527,-392,-249,-209,-249,-227,-90,-9,-182,-520,-707,-610,-463,-525,-707,-695,-384,2,198,185,143,205,334,397,314,144,29,28,40,-65,-262,-398,-410,-422,-574,-819,-971,-914,-713,-518,-405,-335,-233,-86,30,39,-26,-44,36,116,74,-63,-152,-132,-97,-157,-283,-380,-432,-497,-585,-622,-552,-408,-267,-173,-122,-93,-59,0,65,83,41,-5,-4,16,-7,-76,-136,-155,-159,-170,-165,-127,-93,-114,-185,-251,-270,-244,-196,-147,-110,-81,-45,-2,18,-10,-63,-96,-100,-99,-115,-136,-150,-159,-163,-140,-81,-14,22,25,21,27,37,43,48,57,71,89,99,88,59,37,38,41,21,-10,-23,-20,-25,-36,-26,6,19,-15,-62,-72,-40,-6,3,0},
{-2,-7,-10,2,13,-2,-19,-3,23,6,-31,-16,31,17,-51,-47,43,60,-49,-93,31,107,-36,-143,35,159,-64,264,2505,5820,6465,1650,-5935,-9591,-5891,863,3360,-85,-3785,-1994,4213,8944,8851,6068,4111,3593,3256,3232,4855,7620,8619,5864,976,-2470,-2726,-1263,-722,-2191,-4356,-4825,-2449,1210,2958,1121,-2508,-4515,-3604,-1683,-1134,-2029,-2686,-2176,-1220,-842,-1122,-1482,-1501,-1174,-797,-800,-1312,-1761,-1373,-287,348,-220,-1304,-1668,-1115,-545,-571,-803,-663,-277,-153,-368,-527,-373,-68,102,41,-160,-338,-360,-240,-155,-255,-451,-519,-396,-254,-268,-415,-540,-527,-392,-249,-209,-249,-227,-90,-9,-182,-520,-707,-610,-463,-525,-707,-695,-384,2,198,185,143,205,334,397,314,144,29,28,40,-65,-262,-398,-410,-422,-574,-819,-971,-914,-713,-518,-405,-335,-233,-86,30,39,-26,-44,36,116,74,-63,-152,-132,-97,-157,-283,-380,-432,-497,-585,-622,-552,-408,-267,-173,-122,-93,-59,0,65,83,41,-5,-4,16,-7,-76,-136,-155,-159,-170,-165,-127,-93,-114,-185,-251,-270,-244,-196,-147,-110,-81,-45,-2,18,-10,-63,-96,-100,-99,-115,-136,-150,-159,-163,-140,-81,-14,22,25,21,27,37,43,48,57,71,89,99,88,59,37,38,41,21,-10,-23,-20,-25,-36,-26,6,19,-15,-62,-72,-40,-6,3,0}
},
{ // H-40e006a.wav
{2,-2,1,2,-4,-2,10,10,-6,-9,14,22,-4,-22,6,31,-3,-42,-7,50,17,-60,-34,68,50,-78,-62,99,61,-36,868,3336,5588,4434,-879,-6548,-7599,-3584,583,371,-2909,-3881,124,5920,8595,7149,4652,3763,4085,4133,4032,4899,6423,6668,4511,1237,-843,-897,-232,-655,-2517,-4317,-4143,-1656,1291,2290,765,-1548,-2642,-2333,-1919,-2201,-2612,-2324,-1465,-821,-792,-1093,-1290,-1229,-1019,-902,-1078,-1419,-1451,-890,-142,73,-407,-991,-1099,-799,-542,-539,-639,-663,-594,-485,-383,-341,-362,-356,-253,-141,-159,-287,-378,-366,-329,-327,-333,-341,-393,-474,-494,-418,-320,-269,-252,-260,-330,-435,-455,-366,-348,-531,-739,-657,-252,148,249,120,43,142,286,308,195,62,0,-8,-37,-109,-164,-152,-133,-228,-453,-666,-728,-657,-577,-555,-536,-447,-298,-159,-94,-110,-149,-127,-25,71,63,-32,-94,-68,-48,-138,-304,-431,-485,-537,-627,-692,-656,-532,-396,-286,-192,-106,-45,-20,-23,-37,-39,-9,42,64,17,-70,-125,-121,-107,-127,-157,-155,-133,-144,-206,-282,-329,-340,-320,-280,-236,-213,-218,-227,-208,-162,-113,-82,-64,-44,-10,35,63,44,-18,-79,-103,-104,-115,-136,-134,-95,-38,12,46,56,36,1,-14,-1,14,9,-1,7,33,58,79,96,92,53,8,7,49,66,14,-66,-97,-64,-22,-13,-22,-18},
{-13,-11,8,8,-17,-20,13,22,-20,-41,8,41,-21,-77,-9,80,14,-111,-57,107,63,-145,-102,163,85,-100,1203,4676,7480,5128,-2708,-9859,-9564,-2542,3285,2073,-3024,-4174,1304,8197,10470,8088,5260,4238,3777,3052,3737,6867,9801,8652,3223,-2358,-4182,-2510,-752,-1463,-3963,-5398,-3656,448,3569,2842,-1108,-4625,-4862,-2661,-1051,-1504,-2728,-2952,-2127,-1396,-1360,-1648,-1733,-1453,-951,-606,-834,-1480,-1667,-837,267,366,-649,-1524,-1341,-651,-488,-883,-1039,-630,-193,-235,-566,-698,-486,-160,28,-18,-222,-373,-299,-97,-54,-269,-494,-465,-251,-130,-223,-403,-497,-445,-312,-216,-232,-292,-256,-141,-168,-462,-798,-851,-638,-503,-631,-788,-647,-225,161,284,220,181,261,363,336,158,-26,-60,24,31,-143,-374,-492,-518,-619,-843,-1029,-1008,-795,-536,-347,-240,-168,-87,8,68,47,-9,6,115,197,144,11,-67,-72,-114,-252,-402,-473,-502,-568,-648,-636,-497,-315,-192,-149,-143,-125,-74,-3,42,29,-11,-16,23,39,-10,-82,-111,-99,-93,-99,-85,-50,-44,-95,-173,-225,-232,-203,-158,-115,-86,-60,-18,22,18,-37,-96,-115,-111,-122,-146,-155,-147,-144,-143,-114,-54,-4,3,-15,-20,-2,22,37,43,49,66,100,126,120,90,74,79,69,20,-34,-47,-31,-35,-68,-84,-60,-30,-35,-59,-59,-23,18,35,27,11}
},
{ // H-40e013a.wav
{2,3,-2,-3,0,-1,-5,0,7,1,-9,-3,14,10,-14,-14,15,18,-22,-36,13,42,-11,-58,0,68,7,-81,-8,97,-3,118,1431,3828,5078,2715,-2578,-6604,-5879,-1799,793,-599,-3146,-2394,2101,6392,7124,5166,3640,3775,4242,3992,3876,4895,6154,5763,3348,635,-576,-309,-44,-932,-2662,-3846,-3309,-1201,958,1540,293,-1517,-2515,-2496,-2171,-2012,-1833,-1399,-921,-755,-930,-1178,-1266,-1139,-880,-683,-722,-917,-956,-704,-442,-504,-798,-915,-690,-397,-359,-561,-755,-782,-673,-536,-455,-448,-447,-361,-212,-141,-224,-364,-419,-373,-313,-287,-289,-325,-398,-450,-417,-329,-276,-287,-325,-379,-441,-449,-354,-258,-322,-504,-532,-248,143,309,203,83,143,283,293,143,-19,-72,-47,-50,-122,-207,-229,-195,-211,-352,-558,-681,-653,-558,-511,-511,-465,-332,-185,-118,-138,-173,-155,-89,-44,-77,-162,-216,-196,-154,-177,-275,-376,-433,-479,-559,-640,-647,-555,-415,-292,-205,-140,-83,-36,-9,-4,-9,-3,18,24,-18,-91,-136,-132,-127,-166,-221,-231,-193,-172,-217,-298,-352,-357,-332,-295,-251,-214,-203,-214,-213,-180,-136,-115,-117,-112,-71,-2,55,61,14,-51,-92,-100,-96,-97,-95,-74,-34,11,43,52,35,3,-19,-19,-13,-23,-46,-54,-30,15,60,90,94,71,38,26,42,52,24,-30,-61,-45,-6,17,13},
{3,14,-4,-24,-1,31,6,-43,-22,43,25,-66,-64,56,82,-62,-123,42,143,-50,-199,38,221,-76,258,2975,7064,7820,1757,-7677,-12064,-7285,1050,3848,-602,-4898,-2132,5730,11112,10373,6844,4852,4438,3648,3194,5469,9607,10876,6308,-1051,-5273,-4138,-1037,-512,-3265,-5942,-5042,-563,3882,4387,502,-4249,-5888,-3933,-1374,-926,-2288,-3391,-3250,-2590,-2227,-2034,-1574,-874,-293,-152,-655,-1624,-2216,-1567,-37,855,222,-1010,-1345,-696,-290,-789,-1448,-1338,-624,-155,-279,-601,-693,-530,-307,-178,-209,-337,-362,-174,38,-5,-274,-441,-323,-105,-58,-208,-370,-410,-350,-289,-290,-326,-298,-181,-123,-310,-686,-943,-878,-653,-590,-735,-799,-531,-36,342,396,246,156,224,290,175,-58,-161,-37,113,40,-235,-471,-554,-621,-818,-1064,-1140,-965,-662,-393,-217,-103,-11,70,124,125,77,37,61,127,158,125,76,43,-14,-143,-308,-430,-501,-580,-684,-730,-636,-429,-218,-98,-84,-123,-140,-94,-14,28,6,-20,15,82,90,11,-81,-110,-86,-58,-38,-6,23,9,-58,-137,-186,-191,-159,-106,-56,-24,3,32,38,-9,-82,-120,-116,-122,-161,-188,-167,-128,-115,-111,-72,-6,29,9,-26,-34,-18,0,16,34,57,87,119,133,118,96,99,111,80,6,-48,-41,-18,-38,-86,-108,-88,-67,-63,-52,-23,5,24,56,98,107,61}
},
{ // H-40e019a.wav
{-1,-2,1,3,0,-2,0,0,-2,2,7,2,-6,1,15,9,-12,-10,17,19,-18,-30,12,38,-7,-47,2,60,10,-64,-3,80,0,144,1329,3401,4414,2314,-2221,-5609,-5000,-1647,475,-544,-2345,-1525,2000,5092,5470,4162,3480,3899,4141,3662,3515,4479,5552,5126,3097,975,39,73,-27,-938,-2350,-3313,-2959,-1264,656,1316,246,-1520,-2561,-2472,-1917,-1539,-1323,-1026,-734,-704,-932,-1151,-1160,-957,-646,-376,-309,-466,-658,-693,-618,-609,-675,-658,-512,-410,-505,-726,-889,-910,-836,-727,-604,-472,-337,-216,-167,-242,-393,-473,-402,-263,-191,-208,-249,-283,-334,-389,-392,-335,-269,-244,-268,-320,-355,-315,-213,-171,-270,-391,-318,-40,190,179,46,43,196,296,209,42,-43,-44,-69,-153,-231,-254,-254,-301,-425,-594,-724,-741,-646,-525,-457,-421,-339,-195,-73,-53,-108,-143,-113,-74,-104,-204,-293,-302,-253,-231,-278,-355,-409,-450,-524,-623,-673,-609,-459,-305,-198,-130,-76,-37,-21,-25,-32,-32,-30,-38,-66,-106,-137,-148,-152,-176,-221,-255,-252,-228,-228,-269,-324,-353,-346,-313,-266,-219,-193,-199,-217,-212,-178,-144,-134,-133,-106,-43,23,52,31,-18,-64,-87,-89,-79,-65,-49,-28,1,26,31,9,-21,-33,-24,-17,-34,-67,-87,-78,-43,4,47,67,57,36,35,62,86,76,39,12,11,19,14},
{11,-18,-15,28,28,-30,-42,30,55,-38,-93,15,111,-1,-143,-33,159,49,-204,-84,234,55,-75,1885,6270,9016,4968,-5034,-12761,-10936,-2104,3827,1366,-4164,-3835,3597,10864,11851,8270,5470,5022,4638,3750,4902,8765,11212,7979,683,-4568,-4403,-1703,-1308,-4037,-6306,-4762,15,4252,4539,735,-3995,-6007,-4461,-1845,-1060,-2419,-3982,-4290,-3706,-3093,-2401,-1177,278,1034,576,-775,-2203,-2795,-1988,-228,1056,805,-429,-1174,-898,-488,-771,-1374,-1457,-978,-595,-625,-743,-628,-385,-252,-281,-402,-523,-499,-243,52,61,-227,-443,-318,-40,38,-142,-348,-395,-321,-255,-269,-333,-341,-216,-61,-119,-477,-881,-1002,-838,-698,-779,-909,-781,-339,163,430,396,241,173,206,186,26,-142,-142,-15,16,-146,-362,-495,-611,-835,-1103,-1209,-1067,-791,-517,-273,-50,117,195,209,191,136,52,0,22,75,98,100,114,104,-5,-198,-372,-471,-546,-647,-723,-681,-514,-316,-179,-131,-145,-166,-138,-52,29,45,21,40,121,178,134,18,-76,-100,-77,-41,0,38,54,32,-16,-72,-113,-121,-97,-59,-20,27,80,97,37,-64,-119,-107,-100,-160,-239,-247,-180,-111,-73,-30,44,99,79,8,-42,-44,-30,-28,-22,9,59,103,123,125,119,118,122,107,52,-18,-47,-22,2,-34,-107,-143,-113,-64,-42,-32,0,41,59,70,116,179,184,102}
},
{ // H-40e026a.wav
{2,0,-4,-2,3,3,-2,-3,0,-1,-2,3,6,0,-5,4,14,3,-13,-3,17,7,-22,-14,24,24,-25,-33,30,52,-22,-57,32,67,-15,324,1701,3492,3706,1047,-2996,-5115,-3714,-797,399,-747,-1772,-484,2335,4233,4243,3601,3589,3914,3723,3248,3467,4445,4999,4184,2458,1017,417,220,-277,-1320,-2528,-3097,-2360,-541,1061,1124,-350,-2013,-2616,-2155,-1464,-1085,-912,-737,-628,-706,-891,-1006,-964,-755,-420,-126,-94,-334,-575,-597,-491,-483,-599,-674,-634,-590,-654,-791,-903,-939,-882,-725,-505,-315,-226,-241,-320,-414,-453,-387,-253,-157,-149,-181,-206,-247,-324,-378,-341,-237,-155,-138,-154,-161,-154,-156,-202,-307,-410,-384,-188,37,108,31,-11,85,201,184,60,-27,-30,-42,-130,-249,-327,-370,-433,-542,-670,-768,-785,-701,-558,-432,-359,-292,-179,-50,15,-11,-64,-79,-67,-88,-167,-262,-319,-329,-331,-359,-407,-446,-472,-513,-578,-630,-614,-509,-356,-213,-106,-35,-1,-10,-51,-94,-112,-106,-94,-93,-109,-135,-163,-189,-214,-239,-256,-256,-240,-232,-253,-296,-330,-329,-296,-250,-209,-191,-206,-235,-243,-210,-158,-126,-120,-105,-59,-1,28,17,-12,-36,-49,-56,-60,-61,-57,-43,-18,2,1,-19,-39,-46,-47,-53,-64,-74,-84,-92,-81,-40,15,51,58,59,80,113,128,108,68,33,14,6},
{-32,4,46,9,-55,-25,60,36,-77,-71,74,98,-77,-142,61,173,-65,-233,55,258,-112,273,3445,8194,9065,2045,-8932,-14257,-9128,284,3797,-599,-4798,-1334,7311,12615,10957,6783,5185,5597,4981,3997,5922,10222,11463,6242,-1619,-5418,-3740,-1517,-3029,-6477,-6742,-2015,4002,6131,2819,-2837,-6339,-5767,-2968,-1226,-1971,-3893,-4978,-4661,-3680,-2582,-1261,210,1171,1033,-89,-1531,-2497,-2343,-1047,448,896,93,-874,-1034,-690,-729,-1231,-1476,-1151,-775,-826,-1058,-982,-583,-223,-126,-236,-413,-509,-391,-128,-19,-221,-475,-429,-135,23,-132,-375,-427,-288,-143,-116,-200,-302,-307,-180,-73,-206,-585,-937,-1010,-868,-786,-886,-981,-802,-317,199,432,342,180,178,278,254,56,-117,-117,-56,-116,-276,-392,-473,-671,-1000,-1240,-1205,-959,-689,-461,-223,27,205,260,235,186,124,52,-3,-27,-27,-1,66,137,125,-11,-200,-346,-446,-560,-683,-723,-625,-442,-275,-173,-133,-139,-160,-143,-67,11,31,23,67,168,229,175,49,-50,-76,-55,-20,18,48,57,51,35,8,-30,-58,-53,-19,27,76,108,83,-7,-101,-127,-103,-117,-193,-255,-234,-156,-88,-35,35,115,151,117,48,-11,-45,-65,-76,-71,-36,34,110,142,119,90,101,127,104,28,-31,-22,21,27,-23,-90,-129,-126,-94,-57,-30,-6,27,68,104,142,193,231,202,101}
},
{ // H-40e032a.wav
{-3,-1,2,0,-3,-1,3,2,-2,-1,2,1,-2,1,5,1,-3,4,11,2,-10,0,17,7,-17,-10,22,20,-20,-23,27,42,-18,-41,33,50,-20,296,1502,3037,3213,952,-2494,-4350,-3222,-700,499,-341,-1365,-669,1457,3238,3712,3494,3444,3525,3325,3043,3259,3935,4279,3700,2499,1412,760,279,-424,-1430,-2383,-2642,-1777,-172,996,759,-636,-1958,-2275,-1740,-1087,-714,-532,-436,-499,-718,-897,-879,-701,-451,-176,16,-48,-367,-664,-671,-454,-307,-377,-542,-647,-697,-769,-865,-910,-852,-704,-521,-373,-314,-337,-388,-417,-401,-334,-230,-142,-125,-173,-229,-267,-303,-321,-257,-102,40,57,-33,-117,-134,-137,-197,-312,-407,-411,-314,-184,-114,-120,-120,-42,65,82,-13,-115,-136,-122,-164,-259,-333,-365,-412,-512,-630,-709,-733,-706,-625,-504,-384,-290,-200,-91,6,42,17,-19,-41,-76,-155,-256,-331,-358,-362,-378,-417,-468,-513,-548,-578,-596,-579,-505,-378,-234,-114,-40,-21,-51,-115,-171,-186,-165,-143,-143,-155,-164,-172,-190,-218,-242,-257,-265,-268,-264,-257,-260,-273,-280,-265,-233,-202,-189,-202,-233,-258,-247,-196,-136,-101,-89,-71,-38,-13,-12,-20,-18,-12,-23,-55,-86,-96,-83,-58,-33,-22,-33,-56,-74,-77,-75,-83,-103,-122,-126,-102,-48,22,79,102,99,99,114,127,111,68,25,3},
{30,29,-34,-52,26,64,-31,-103,5,122,14,-155,-58,166,78,-213,-130,239,97,-186,1590,6298,10064,6877,-3722,-13630,-13878,-5094,2779,2264,-2915,-3351,3722,11464,12831,8865,5407,4735,4534,3983,5820,10722,13624,9396,457,-5332,-4436,-1685,-3061,-7458,-8474,-3134,4242,7187,3895,-1998,-5869,-6049,-4103,-2608,-2847,-4072,-4693,-4091,-3037,-2361,-1844,-832,504,1170,538,-908,-2034,-2006,-904,316,602,-165,-1017,-1079,-657,-700,-1360,-1782,-1402,-753,-644,-1063,-1356,-1148,-630,-143,86,-56,-429,-593,-298,81,-14,-488,-680,-326,62,-39,-436,-587,-371,-124,-80,-154,-211,-237,-224,-156,-147,-372,-775,-1053,-1024,-862,-857,-1021,-1068,-759,-182,320,473,328,172,199,304,273,91,-66,-107,-132,-234,-353,-438,-585,-878,-1173,-1231,-1026,-760,-570,-389,-138,98,191,160,125,126,101,21,-55,-68,-22,49,123,160,110,-23,-180,-326,-487,-664,-774,-731,-558,-369,-242,-170,-132,-122,-117,-77,-3,42,30,23,88,184,206,117,-5,-68,-53,1,49,68,60,55,80,111,98,37,-12,2,61,115,133,103,20,-86,-149,-146,-141,-197,-267,-249,-136,-29,8,31,105,189,195,115,24,-27,-55,-88,-109,-89,-28,42,84,83,62,62,94,114,81,22,4,35,55,23,-33,-72,-97,-123,-128,-88,-28,11,31,67,127,174,189,191,188,153,76}
},
{ // H-40e039a.wav
{1,-1,-1,2,3,0,-2,0,2,1,-1,-1,1,0,0,3,4,-1,-1,7,9,0,-3,8,14,-2,-15,4,26,9,-22,-7,33,20,-30,-13,50,19,7,524,1787,2918,2416,-92,-2899,-3682,-2026,60,452,-702,-1407,-350,1699,3127,3388,3179,3149,3186,3030,2904,3152,3583,3624,3036,2147,1367,749,89,-733,-1595,-2154,-1995,-1023,190,692,61,-1094,-1757,-1552,-953,-545,-428,-411,-438,-570,-731,-746,-589,-385,-210,-70,-52,-275,-633,-804,-613,-273,-124,-241,-435,-558,-646,-763,-860,-836,-678,-478,-341,-313,-369,-435,-443,-392,-335,-305,-283,-242,-193,-168,-179,-204,-205,-150,-39,73,110,45,-68,-163,-230,-303,-394,-465,-467,-394,-293,-228,-222,-230,-192,-116,-75,-112,-178,-202,-185,-195,-255,-312,-330,-349,-423,-535,-621,-651,-642,-603,-528,-427,-325,-231,-134,-44,5,-1,-32,-61,-101,-176,-273,-345,-367,-361,-363,-390,-434,-480,-516,-536,-540,-519,-459,-354,-226,-122,-78,-95,-144,-192,-216,-213,-196,-184,-188,-201,-205,-195,-184,-191,-219,-258,-289,-295,-276,-253,-246,-250,-245,-225,-204,-195,-194,-196,-207,-224,-224,-190,-136,-98,-87,-80,-56,-30,-29,-50,-63,-56,-47,-60,-87,-103,-92,-63,-37,-31,-47,-74,-93,-97,-98,-108,-123,-129,-117,-85,-35,25,77,99,94,89,103,122,116,77,29},
{32,-50,-48,50,63,-61,-100,48,131,-36,-175,1,201,14,-260,-50,299,-6,-125,2349,7546,10580,5677,-5993,-15148,-13676,-4138,2966,1653,-2875,-1759,5959,12752,12642,7774,3886,3014,3658,5597,9906,14374,13616,6033,-2507,-5207,-2867,-2256,-6343,-10051,-7225,1018,7446,6954,1237,-4356,-6406,-5395,-3800,-3437,-4187,-4587,-3666,-2184,-1662,-2295,-2591,-1384,509,1231,140,-1507,-2021,-1002,437,879,0,-1170,-1429,-794,-392,-943,-1834,-2014,-1384,-767,-744,-1109,-1375,-1297,-849,-201,204,9,-487,-579,-121,229,-22,-475,-483,-127,-15,-324,-617,-564,-338,-202,-156,-130,-179,-301,-322,-187,-135,-387,-798,-1038,-1019,-941,-979,-1072,-1028,-711,-178,315,489,330,128,148,319,380,236,27,-123,-229,-325,-394,-475,-667,-954,-1143,-1097,-905,-731,-586,-375,-113,66,96,58,45,51,37,6,-24,-43,-21,81,222,272,157,-32,-167,-265,-437,-677,-822,-757,-558,-381,-277,-200,-132,-102,-94,-49,31,66,26,-4,60,174,209,116,-23,-88,-42,57,120,107,61,59,116,163,134,56,14,50,125,184,193,132,9,-117,-174,-165,-173,-235,-275,-211,-77,24,59,92,164,227,217,137,40,-37,-90,-119,-118,-88,-37,25,73,85,63,47,65,90,82,47,30,47,60,36,-8,-44,-77,-123,-159,-136,-52,33,72,90,134,193,217,191,155,138,116,62}
},
{ // H-40e045a.wav
{1,2,1,-1,0,2,1,-2,-1,2,3,0,-1,1,1,0,2,4,2,-1,3,10,8,-1,0,11,10,-5,-7,13,20,-4,-18,9,33,5,-24,11,39,-11,105,810,1971,2532,1427,-980,-2830,-2613,-884,343,-70,-1160,-1187,270,2032,2912,2935,2834,2922,2933,2739,2640,2854,3127,3062,2616,2031,1423,688,-220,-1124,-1741,-1844,-1355,-477,264,347,-232,-905,-1117,-861,-525,-367,-332,-320,-355,-456,-527,-493,-404,-330,-261,-211,-287,-520,-701,-582,-221,46,3,-228,-407,-484,-568,-696,-768,-703,-544,-393,-312,-311,-374,-464,-529,-533,-465,-335,-179,-55,-9,-32,-80,-111,-111,-83,-48,-48,-108,-196,-247,-255,-288,-391,-506,-538,-475,-390,-346,-329,-294,-234,-186,-178,-200,-222,-225,-221,-234,-265,-290,-296,-306,-355,-442,-526,-574,-584,-566,-518,-442,-355,-273,-198,-128,-79,-67,-84,-112,-152,-221,-310,-374,-373,-326,-290,-302,-352,-404,-440,-455,-454,-438,-399,-334,-254,-184,-151,-164,-209,-256,-278,-266,-235,-211,-209,-217,-213,-192,-179,-200,-252,-296,-302,-276,-249,-238,-237,-232,-222,-212,-203,-193,-183,-177,-175,-171,-162,-146,-127,-112,-105,-100,-91,-83,-85,-97,-104,-95,-80,-74,-78,-81,-76,-67,-55,-45,-48,-69,-93,-101,-95,-98,-114,-122,-107,-80,-53,-16,37,80,89,85,104,136,130,68},
{-70,-4,80,24,-97,-60,102,100,-102,-149,83,184,-87,-249,82,284,-170,185,3665,9149,10688,3351,-9337,-16856,-12731,-2309,3391,863,-2465,1118,9338,13509,10098,4238,1900,3277,5737,9074,13714,16184,11787,2096,-5042,-5097,-2689,-4603,-9655,-10079,-2545,6693,9207,3896,-3216,-6644,-6152,-4591,-3894,-3991,-4001,-3325,-2124,-1308,-1671,-2717,-2887,-1407,519,974,-394,-1917,-1836,-267,1060,836,-437,-1262,-1017,-549,-845,-1703,-2147,-1799,-1220,-983,-1056,-1198,-1347,-1378,-1008,-318,90,-111,-402,-176,287,248,-291,-550,-193,165,-70,-606,-794,-562,-331,-279,-230,-136,-179,-360,-420,-268,-183,-405,-791,-1023,-1021,-959,-989,-1065,-1020,-716,-192,301,483,328,112,100,262,370,292,97,-84,-206,-298,-416,-605,-842,-1025,-1058,-961,-829,-705,-549,-344,-155,-51,-20,-15,-23,-43,-44,-4,42,59,78,155,256,273,163,5,-123,-258,-463,-676,-756,-657,-485,-355,-277,-214,-170,-161,-147,-76,19,54,19,-4,40,106,117,60,-9,-29,25,125,198,184,109,68,108,167,158,90,51,89,165,214,200,121,1,-110,-167,-183,-204,-234,-221,-138,-26,54,99,144,198,227,204,133,44,-32,-79,-100,-108,-100,-59,8,65,78,58,44,54,74,89,95,86,53,11,-11,-10,-20,-70,-142,-177,-137,-43,46,92,117,165,232,260,215,140,106,116,111,59}
},
{ // H-40e051a.wav
{-4,-5,-5,-4,-5,-6,-5,-3,-4,-6,-6,-4,-3,-4,-4,-3,-4,-4,-2,0,-1,-3,-1,3,1,-3,-1,4,-1,-10,-4,13,11,-12,-17,8,20,-6,-21,6,10,-16,172,841,1720,1928,846,-956,-2055,-1661,-516,-12,-540,-1123,-706,594,1797,2299,2366,2472,2632,2598,2404,2356,2561,2773,2731,2425,1948,1287,421,-502,-1205,-1491,-1322,-780,-96,354,295,-149,-543,-590,-389,-203,-128,-94,-90,-187,-369,-506,-519,-458,-386,-299,-221,-240,-365,-438,-307,-55,72,-45,-278,-442,-499,-524,-556,-563,-519,-452,-414,-433,-499,-561,-560,-474,-338,-204,-94,-23,-8,-52,-126,-190,-234,-269,-286,-271,-246,-253,-300,-346,-369,-397,-452,-500,-497,-457,-434,-437,-418,-342,-244,-185,-186,-219,-248,-261,-265,-269,-278,-294,-320,-362,-421,-483,-525,-536,-523,-495,-450,-389,-327,-276,-231,-189,-166,-174,-206,-242,-274,-308,-338,-336,-293,-243,-234,-270,-315,-338,-343,-347,-349,-338,-315,-294,-282,-279,-280,-288,-300,-306,-292,-259,-229,-223,-239,-253,-250,-243,-253,-275,-287,-272,-247,-233,-229,-226,-224,-227,-226,-207,-177,-156,-154,-155,-147,-135,-134,-142,-146,-140,-131,-130,-135,-138,-136,-131,-124,-114,-98,-83,-78,-78,-69,-45,-27,-38,-70,-90,-83,-74,-84,-100,-103,-103,-111,-111,-78,-20,26,52,81,114,115,64},
{-22,73,32,-97,-76,93,109,-96,-169,63,198,-65,-273,42,307,-138,45,3367,9107,11288,4299,-8932,-17549,-14078,-3327,3272,1512,-1478,1952,9431,12533,8580,3312,2137,4128,6491,9879,15009,17473,11946,991,-6212,-5477,-2938,-5578,-10594,-9319,-12,8885,9144,2032,-4925,-7149,-5999,-4511,-3763,-3451,-3314,-3041,-2257,-1379,-1419,-2336,-2625,-1339,293,320,-1264,-2403,-1597,277,1187,435,-751,-987,-414,-245,-1037,-2046,-2321,-1857,-1326,-1107,-1099,-1220,-1464,-1527,-1056,-337,-101,-441,-567,-8,573,352,-362,-580,-124,191,-137,-629,-691,-454,-349,-366,-260,-122,-218,-446,-451,-229,-165,-447,-819,-1000,-1023,-1041,-1055,-995,-870,-684,-365,59,351,311,72,-29,140,372,407,221,-4,-134,-208,-356,-623,-908,-1068,-1065,-970,-845,-680,-480,-314,-239,-212,-159,-97,-94,-128,-93,44,175,200,163,167,220,236,174,70,-54,-235,-470,-655,-689,-587,-450,-332,-229,-159,-173,-251,-275,-173,-21,47,11,-31,-7,52,76,44,-9,-30,18,126,217,216,146,113,161,219,200,127,90,118,160,171,150,102,23,-72,-147,-191,-216,-218,-170,-80,4,53,91,148,204,223,198,143,68,-10,-63,-78,-80,-85,-69,-13,53,77,58,39,46,64,82,103,111,73,-1,-48,-34,-10,-45,-128,-173,-129,-35,38,69,96,155,235,282,259,186,121,98,99,82,39}
},
{ // H-40e058a.wav
{3,3,2,2,2,2,1,1,2,3,2,1,2,4,5,5,3,2,2,4,6,4,2,4,8,7,2,3,9,9,1,-1,10,15,2,-9,2,17,5,-13,0,16,-2,63,437,1096,1528,1138,-17,-1096,-1303,-761,-315,-479,-849,-697,103,1005,1538,1783,2040,2328,2442,2358,2285,2342,2396,2302,2103,1877,1529,906,73,-670,-1053,-1017,-664,-161,264,398,225,-26,-114,-23,86,111,76,2,-141,-327,-438,-406,-311,-270,-282,-278,-260,-283,-327,-291,-154,-42,-72,-208,-324,-368,-390,-432,-470,-478,-476,-494,-521,-520,-481,-418,-338,-241,-142,-81,-83,-136,-201,-253,-293,-333,-365,-374,-361,-349,-356,-368,-362,-349,-364,-419,-477,-500,-496,-493,-488,-441,-340,-231,-171,-172,-200,-227,-248,-268,-286,-305,-332,-371,-416,-456,-486,-501,-495,-468,-433,-407,-391,-372,-336,-289,-251,-232,-223,-216,-218,-244,-287,-316,-306,-269,-236,-227,-234,-247,-262,-278,-289,-291,-292,-302,-316,-319,-309,-301,-304,-310,-303,-283,-265,-261,-268,-274,-275,-272,-268,-264,-262,-262,-258,-247,-227,-206,-196,-202,-210,-209,-199,-189,-180,-168,-153,-141,-135,-132,-129,-130,-136,-143,-148,-151,-152,-150,-143,-129,-108,-86,-72,-69,-70,-62,-44,-29,-29,-40,-50,-54,-58,-67,-82,-99,-115,-121,-112,-89,-56,-15,30,63,63,33},
{75,32,-91,-84,77,121,-70,-184,20,211,-4,-285,-41,333,-26,-205,2507,8386,11971,6488,-7010,-17859,-16444,-5461,3213,2967,-511,1408,8171,11809,8670,3620,2153,3884,6337,10168,15883,18652,12779,980,-6928,-6329,-3517,-5782,-10299,-8353,1376,9890,9115,1195,-5727,-7398,-5882,-4403,-3698,-3271,-3071,-2937,-2278,-1280,-1087,-1944,-2371,-1243,212,-107,-2100,-3292,-1994,498,1589,553,-920,-1157,-459,-236,-948,-1742,-1888,-1657,-1561,-1517,-1288,-1149,-1400,-1606,-1139,-324,-141,-701,-960,-295,500,419,-248,-463,-55,159,-221,-631,-550,-252,-196,-285,-221,-128,-288,-544,-504,-209,-113,-411,-809,-1017,-1083,-1138,-1126,-966,-752,-601,-440,-161,125,182,-7,-166,-41,290,513,429,151,-71,-160,-276,-555,-890,-1068,-1039,-945,-871,-742,-512,-305,-251,-290,-266,-172,-140,-190,-168,21,247,322,250,190,218,252,204,93,-35,-202,-420,-605,-644,-539,-397,-289,-208,-155,-173,-258,-307,-233,-90,-6,-21,-61,-57,-15,23,36,24,4,15,85,167,189,151,139,201,273,271,212,172,175,178,149,103,58,5,-57,-119,-172,-210,-208,-145,-49,23,59,92,141,183,196,189,165,106,24,-32,-38,-34,-55,-63,-13,58,70,20,-11,22,76,94,87,91,90,47,-19,-47,-24,-14,-65,-135,-139,-61,28,64,73,118,203,268,261,206,159,139,120,81,37,11}
},
{ // H-40e064a.wav
{3,5,4,2,2,3,3,2,2,3,4,3,3,4,4,4,4,5,5,4,3,4,4,2,2,6,8,5,2,3,6,4,2,6,10,3,-8,-5,8,9,-2,1,15,2,-2,157,567,1010,1052,506,-272,-704,-615,-387,-441,-699,-714,-259,406,897,1158,1427,1830,2202,2314,2156,1914,1751,1696,1709,1734,1672,1396,850,150,-452,-713,-552,-109,341,582,611,579,581,552,397,167,10,-20,-23,-98,-214,-285,-304,-325,-357,-355,-313,-289,-315,-334,-277,-164,-81,-82,-151,-248,-354,-457,-534,-560,-529,-459,-383,-334,-324,-326,-303,-248,-199,-191,-222,-268,-315,-361,-401,-429,-447,-459,-458,-432,-394,-369,-366,-370,-379,-413,-477,-537,-549,-512,-460,-414,-357,-278,-201,-166,-183,-223,-256,-282,-316,-363,-407,-436,-454,-469,-481,-481,-468,-452,-440,-426,-406,-385,-366,-337,-283,-216,-171,-172,-203,-234,-255,-281,-311,-322,-297,-257,-235,-241,-253,-252,-243,-244,-258,-274,-285,-291,-296,-300,-301,-301,-303,-305,-301,-290,-280,-281,-291,-296,-289,-275,-269,-271,-268,-249,-220,-196,-189,-197,-216,-238,-250,-240,-209,-173,-149,-136,-124,-111,-107,-118,-134,-145,-152,-160,-168,-163,-140,-111,-91,-84,-84,-84,-80,-69,-49,-26,-13,-16,-27,-34,-41,-59,-90,-117,-128,-128,-126,-118,-95,-56,-19,0,3},
{70,-63,-113,27,140,0,-188,-72,195,110,-247,-187,282,173,-342,1375,6991,12305,9345,-3815,-17550,-19410,-8516,3066,4981,467,-32,6221,11595,9807,4046,1148,2783,6402,11052,16626,19171,13518,1640,-7259,-7748,-4818,-5727,-8913,-6647,2574,10453,9260,1100,-5966,-7764,-6415,-4954,-3809,-2647,-2147,-2543,-2616,-1636,-811,-1343,-2220,-1678,-203,-99,-1989,-3555,-2612,-113,1174,307,-985,-1017,-281,-244,-1080,-1690,-1525,-1206,-1288,-1452,-1334,-1287,-1637,-1832,-1210,-251,-81,-783,-1201,-655,94,97,-365,-387,67,211,-217,-584,-426,-87,-20,-94,-22,18,-269,-666,-689,-342,-135,-346,-721,-956,-1085,-1222,-1253,-1040,-732,-577,-544,-382,-57,132,-28,-321,-326,52,463,539,309,78,-12,-135,-461,-859,-1059,-1003,-883,-829,-761,-581,-378,-303,-338,-343,-268,-208,-205,-162,14,246,376,354,269,215,189,150,78,-31,-191,-386,-538,-569,-484,-354,-235,-138,-86,-124,-240,-335,-315,-204,-102,-73,-90,-101,-86,-49,-4,20,17,25,87,174,203,158,128,181,261,277,236,216,240,244,186,105,48,2,-60,-126,-167,-185,-189,-158,-76,28,99,121,124,135,153,162,153,123,81,48,32,13,-21,-40,-7,48,56,1,-44,-17,50,81,64,49,66,82,66,33,13,-1,-42,-98,-119,-80,-16,28,59,116,201,260,248,186,138,133,137,108,49,1,-12}
},
{ // H-40e071a.wav
{1,1,2,2,2,1,1,1,2,3,3,3,2,2,3,3,3,3,4,4,2,1,2,2,1,1,4,6,5,3,3,4,2,0,3,7,3,-4,-1,11,11,-3,-6,8,6,-7,77,358,718,835,516,-33,-388,-379,-258,-334,-563,-620,-321,183,641,981,1266,1500,1615,1614,1593,1595,1562,1473,1435,1542,1691,1639,1254,652,89,-210,-146,218,663,937,950,834,746,671,492,216,9,-26,15,-22,-147,-259,-310,-343,-377,-375,-335,-325,-375,-403,-322,-170,-73,-97,-198,-314,-430,-539,-590,-535,-396,-253,-170,-161,-206,-270,-316,-323,-311,-320,-364,-415,-442,-447,-452,-462,-463,-450,-435,-429,-430,-430,-423,-413,-412,-430,-468,-507,-522,-507,-475,-439,-395,-333,-257,-191,-164,-188,-246,-312,-367,-410,-447,-475,-486,-480,-467,-460,-458,-454,-441,-422,-401,-377,-342,-291,-232,-184,-166,-180,-211,-243,-271,-301,-330,-345,-334,-308,-288,-283,-279,-261,-228,-199,-189,-203,-234,-268,-291,-299,-298,-296,-296,-296,-295,-297,-303,-311,-314,-309,-299,-288,-281,-277,-272,-262,-246,-229,-220,-224,-238,-252,-254,-238,-208,-172,-140,-117,-105,-101,-102,-108,-122,-139,-152,-155,-151,-143,-135,-126,-116,-104,-91,-80,-72,-63,-45,-21,-6,-8,-21,-34,-47,-67,-96,-122,-137,-140,-139,-135,-124,-99,-61,-23},
{43,-98,-96,85,141,-78,-215,27,259,-6,-347,-39,408,-42,-135,3376,10184,13029,4511,-11813,-21848,-16112,-1527,6700,3559,-1278,1783,9488,11896,6689,1036,903,5022,10032,15179,19021,16881,6791,-4952,-9763,-7352,-5042,-6401,-6324,89,8660,10765,4471,-3725,-7614,-7311,-5960,-4630,-2853,-1453,-1700,-2739,-2556,-1204,-721,-1701,-2244,-1118,18,-916,-3032,-3518,-1592,474,589,-581,-1117,-667,-425,-929,-1383,-1217,-987,-1244,-1519,-1235,-871,-1232,-1970,-1924,-912,-113,-357,-971,-921,-347,-142,-451,-553,-155,152,-86,-455,-392,-46,95,21,77,224,49,-483,-850,-693,-319,-235,-498,-808,-1014,-1185,-1295,-1182,-871,-636,-615,-590,-327,10,37,-281,-498,-247,276,558,413,145,60,49,-183,-634,-985,-1028,-893,-802,-761,-643,-451,-335,-358,-405,-358,-258,-199,-155,-15,223,412,427,314,206,159,119,34,-82,-204,-336,-462,-517,-450,-302,-166,-86,-50,-64,-155,-290,-368,-330,-233,-171,-162,-152,-109,-58,-26,-9,7,31,77,151,218,233,201,173,180,199,205,209,227,237,214,169,121,62,-22,-105,-147,-152,-161,-173,-141,-46,63,126,136,131,137,147,151,141,117,87,67,53,24,-12,-14,35,75,39,-44,-72,-6,73,75,25,13,62,108,103,68,38,5,-47,-90,-85,-42,-5,18,68,160,246,266,218,158,133,131,111,53,-14,-46,-32}
},
{ // H-40e077a.wav
{-1,0,0,0,0,1,1,1,0,0,0,1,2,2,1,0,1,2,2,0,-1,-1,0,0,0,0,0,0,1,1,0,0,2,2,0,-2,1,4,3,0,1,2,-2,-6,-1,5,0,23,153,393,587,530,206,-149,-283,-208,-153,-243,-325,-176,195,546,692,680,666,720,820,970,1195,1443,1598,1623,1621,1687,1757,1668,1361,956,649,563,686,886,988,896,682,514,475,482,412,257,110,17,-61,-156,-238,-277,-303,-354,-407,-418,-402,-411,-434,-395,-273,-166,-191,-343,-497,-538,-461,-338,-227,-139,-69,-35,-64,-163,-296,-412,-476,-490,-482,-480,-499,-528,-537,-499,-425,-366,-368,-422,-478,-498,-488,-475,-465,-451,-438,-448,-483,-517,-523,-502,-473,-437,-380,-307,-248,-231,-252,-285,-317,-353,-394,-433,-462,-483,-493,-480,-443,-406,-394,-403,-402,-374,-333,-302,-284,-260,-223,-191,-189,-218,-261,-300,-332,-359,-379,-389,-389,-376,-344,-290,-228,-173,-137,-124,-136,-172,-221,-265,-289,-299,-307,-317,-322,-318,-315,-319,-326,-327,-323,-317,-312,-307,-301,-290,-274,-258,-250,-251,-252,-247,-240,-232,-214,-181,-147,-128,-122,-115,-102,-95,-102,-113,-118,-120,-131,-150,-166,-166,-149,-123,-99,-82,-71,-62,-52,-44,-37,-29,-25,-31,-44,-56,-66,-87,-121,-146,-149,-146,-159,-171,-142,-69},
{15,-123,-61,149,114,-181,-211,171,290,-186,-404,196,475,-300,462,5914,12826,11618,-2215,-18858,-22506,-9930,4895,7798,1141,-1769,4383,11160,9834,3107,-287,2700,8420,13761,18014,18611,11825,-432,-9780,-10632,-6663,-4518,-4234,-775,6348,10705,7399,-493,-6368,-7820,-7001,-5613,-3422,-1090,-680,-2392,-3549,-2334,-502,-601,-2071,-2356,-1066,-498,-1843,-3214,-2511,-519,411,-270,-1031,-936,-768,-1223,-1617,-1201,-602,-793,-1412,-1361,-720,-694,-1594,-2165,-1460,-311,-92,-749,-1092,-668,-240,-392,-673,-508,-156,-177,-463,-459,-98,161,122,101,268,286,-131,-681,-850,-606,-381,-438,-630,-774,-929,-1158,-1269,-1070,-728,-595,-706,-709,-412,-116,-195,-509,-529,-61,473,586,320,85,43,-38,-346,-715,-870,-796,-694,-672,-653,-560,-455,-424,-444,-432,-362,-279,-202,-77,132,352,449,367,201,89,65,49,-30,-155,-272,-364,-428,-427,-327,-164,-27,22,-15,-108,-225,-323,-363,-346,-314,-286,-240,-160,-75,-24,-9,-4,13,47,103,176,239,259,236,196,167,169,204,247,255,215,165,136,101,17,-88,-129,-89,-56,-106,-184,-173,-50,85,141,130,123,147,168,160,133,113,104,95,75,42,13,8,26,34,6,-35,-42,-6,32,39,29,38,76,121,144,127,61,-31,-97,-93,-43,-3,12,45,126,221,266,241,187,146,121,91,45,-6,-41,-45,-24}
},
{ // H-40e084a.wav
{1,1,1,2,1,-1,0,3,4,2,1,3,5,4,1,0,2,3,2,1,0,-1,-1,0,2,3,2,1,1,2,2,2,3,4,2,-1,0,5,8,6,2,2,3,-1,-6,-3,3,-2,1,73,241,420,456,280,-3,-192,-172,4,187,256,183,24,-121,-150,-18,227,484,692,889,1151,1480,1767,1897,1868,1805,1831,1936,1973,1787,1374,907,603,542,612,632,530,387,323,363,427,420,301,95,-130,-290,-338,-302,-270,-301,-371,-418,-420,-411,-417,-422,-403,-380,-395,-443,-460,-382,-217,-44,53,49,-16,-86,-148,-231,-359,-505,-602,-609,-549,-492,-486,-521,-544,-517,-448,-385,-368,-401,-452,-487,-495,-491,-491,-494,-490,-477,-469,-479,-501,-512,-494,-453,-408,-373,-348,-330,-319,-314,-312,-313,-325,-358,-406,-447,-461,-449,-425,-398,-370,-346,-333,-326,-312,-290,-273,-269,-271,-266,-254,-251,-272,-314,-362,-406,-438,-446,-422,-368,-299,-229,-168,-120,-89,-84,-113,-169,-230,-277,-307,-327,-339,-341,-335,-331,-333,-335,-333,-328,-324,-315,-301,-289,-289,-294,-289,-271,-251,-240,-235,-227,-214,-200,-185,-161,-134,-113,-105,-106,-104,-96,-90,-100,-124,-148,-160,-163,-164,-157,-136,-108,-88,-77,-64,-51,-49,-56,-55,-39,-27,-35,-52,-62,-73,-99,-132,-148,-152,-165,-179,-153,-78},
{4,-144,-48,185,104,-237,-205,253,301,-291,-431,333,516,-450,677,6935,13736,10687,-5146,-21385,-22113,-7058,7375,8124,379,-1887,4779,10758,8473,2075,-46,3938,10067,15468,18984,17577,8574,-4220,-12088,-11040,-5946,-2909,-1349,2748,8526,10224,5183,-2460,-7210,-7990,-6829,-4799,-2081,-236,-1041,-3325,-3854,-1838,-133,-959,-2670,-2500,-856,-492,-2103,-3274,-2191,-197,422,-409,-1111,-1109,-1190,-1606,-1571,-892,-568,-1138,-1639,-1126,-309,-523,-1591,-2017,-1202,-239,-205,-726,-853,-539,-429,-651,-697,-403,-228,-429,-622,-427,-60,80,50,157,342,224,-267,-707,-744,-536,-447,-550,-657,-717,-868,-1105,-1173,-937,-652,-648,-837,-825,-511,-271,-402,-637,-478,94,565,565,290,122,83,-92,-466,-776,-807,-650,-531,-514,-513,-479,-457,-476,-497,-477,-418,-332,-204,-12,207,364,382,273,132,49,28,6,-60,-156,-246,-313,-349,-330,-242,-121,-32,-15,-70,-165,-254,-302,-310,-320,-356,-378,-322,-187,-53,12,15,7,16,35,66,130,221,286,276,209,162,188,252,274,224,161,142,138,71,-61,-157,-128,-30,2,-81,-178,-170,-56,64,113,109,108,134,168,184,175,147,113,87,70,52,29,11,10,15,7,-20,-45,-49,-28,7,42,71,97,131,167,164,79,-61,-161,-147,-48,42,79,107,172,248,272,224,150,98,75,57,24,-15,-39,-37,-18}
},
{ // H-40e090a.wav
{1,1,1,1,1,1,2,3,4,4,4,4,4,3,3,3,3,3,2,2,2,2,1,0,0,2,4,5,3,1,2,5,6,4,2,2,2,2,3,6,6,3,1,2,0,-7,-10,-4,1,3,34,134,273,350,304,216,230,355,405,199,-203,-541,-622,-488,-286,-61,258,683,1081,1300,1343,1367,1531,1849,2199,2432,2478,2358,2117,1757,1270,727,299,139,242,438,544,499,363,230,161,165,197,166,8,-229,-405,-413,-294,-187,-192,-285,-379,-429,-457,-504,-565,-590,-527,-376,-192,-44,34,56,51,28,-28,-126,-249,-364,-453,-520,-575,-613,-614,-569,-502,-458,-462,-494,-508,-480,-430,-397,-399,-426,-463,-502,-529,-529,-504,-479,-479,-501,-521,-528,-527,-519,-489,-431,-363,-314,-291,-283,-283,-300,-336,-370,-382,-377,-377,-386,-379,-345,-310,-307,-332,-344,-323,-295,-291,-307,-314,-306,-303,-318,-341,-362,-384,-411,-428,-411,-359,-295,-241,-191,-140,-102,-98,-132,-186,-238,-281,-314,-334,-336,-328,-329,-342,-350,-336,-313,-304,-309,-306,-289,-278,-290,-308,-304,-275,-243,-227,-221,-214,-203,-191,-175,-153,-129,-113,-104,-98,-92,-90,-98,-117,-142,-165,-177,-175,-166,-154,-137,-120,-106,-92,-74,-57,-52,-54,-48,-33,-28,-43,-62,-70,-77,-97,-116,-119,-120,-145,-176,-159,-82},
{13,-165,-63,211,129,-260,-234,282,342,-323,-488,375,606,-525,410,6760,13858,10880,-5265,-21797,-22328,-6642,8347,9111,736,-2504,3437,9456,7901,2268,448,4470,10769,16269,19226,16602,6539,-6430,-13608,-11365,-4783,-335,1723,4835,8753,9082,3830,-3381,-7729,-8085,-6210,-3558,-1012,-86,-1649,-3865,-3848,-1594,-164,-1333,-3083,-2753,-970,-473,-1897,-2995,-2117,-404,230,-309,-875,-1107,-1448,-1773,-1477,-810,-766,-1441,-1709,-991,-262,-579,-1428,-1517,-715,-125,-370,-830,-785,-446,-391,-616,-701,-575,-529,-627,-611,-382,-166,-104,-34,167,294,84,-362,-667,-648,-489,-441,-510,-574,-643,-824,-1056,-1090,-842,-596,-659,-913,-959,-693,-465,-543,-677,-439,141,584,586,339,167,86,-102,-430,-701,-747,-613,-448,-349,-340,-396,-465,-505,-523,-543,-538,-436,-213,57,265,342,294,175,62,12,19,18,-38,-131,-209,-248,-256,-236,-181,-107,-57,-67,-135,-221,-277,-289,-282,-299,-348,-382,-337,-210,-75,-8,-13,-30,-12,35,88,155,241,303,286,209,167,219,301,305,222,146,133,121,28,-118,-191,-130,-18,18,-46,-119,-112,-36,40,75,86,102,127,154,184,202,184,131,85,79,88,65,16,-4,20,33,-13,-83,-103,-53,19,59,65,73,111,168,186,110,-44,-170,-165,-40,95,153,156,176,231,269,240,157,75,31,18,6,-18,-42,-44,-23}
},
{ // H-40e096a.wav
{1,0,0,0,1,1,0,1,2,3,2,1,2,3,3,1,0,0,1,1,0,0,0,0,0,0,0,1,2,1,0,-1,0,2,3,2,2,3,2,-2,-4,-1,2,-2,-7,-5,-1,-5,-11,-3,11,8,30,196,552,912,941,490,-204,-715,-833,-697,-532,-373,-105,286,646,840,911,1007,1200,1447,1703,1983,2294,2555,2621,2397,1927,1386,965,740,630,506,336,210,208,283,305,203,31,-102,-135,-73,34,109,71,-93,-285,-361,-272,-121,-57,-137,-308,-490,-641,-724,-694,-525,-260,-4,145,161,87,-6,-75,-126,-196,-305,-426,-505,-523,-521,-547,-592,-602,-551,-477,-437,-446,-473,-483,-473,-459,-450,-449,-460,-482,-503,-511,-515,-533,-567,-594,-594,-568,-529,-479,-414,-350,-314,-318,-338,-343,-330,-321,-325,-328,-311,-285,-274,-286,-305,-318,-332,-357,-382,-390,-376,-351,-329,-318,-322,-338,-355,-362,-360,-361,-366,-367,-350,-322,-296,-274,-251,-229,-220,-233,-259,-282,-289,-281,-271,-268,-277,-295,-319,-337,-337,-316,-288,-272,-270,-274,-281,-294,-311,-317,-302,-275,-250,-232,-210,-188,-175,-171,-163,-145,-124,-108,-99,-95,-97,-108,-126,-149,-172,-188,-193,-191,-188,-180,-159,-133,-115,-106,-90,-64,-45,-42,-44,-41,-43,-57,-70,-67,-62,-75,-92,-93,-93,-127,-176,-172,-93},
{78,-155,-133,180,211,-197,-323,183,442,-169,-589,170,755,-288,-367,4780,12690,12841,-969,-19122,-23974,-10553,6598,10846,2816,-3262,638,7809,8624,3564,473,3503,10000,15965,19080,16870,7524,-5502,-13848,-12386,-4874,1182,3393,5008,7779,8610,4456,-2647,-7721,-8338,-5941,-2920,-702,-224,-1767,-3787,-3865,-1805,-272,-1242,-3160,-3201,-1378,-381,-1518,-2928,-2464,-656,414,23,-813,-1253,-1440,-1532,-1280,-845,-916,-1551,-1817,-1158,-379,-517,-1276,-1471,-756,-19,-35,-521,-794,-710,-576,-540,-527,-548,-687,-833,-767,-488,-229,-120,-58,60,133,-2,-321,-604,-666,-533,-383,-357,-454,-616,-808,-974,-998,-838,-668,-709,-907,-967,-774,-590,-656,-769,-528,82,612,699,462,232,103,-74,-365,-629,-710,-608,-442,-327,-317,-396,-490,-533,-530,-523,-507,-420,-229,15,218,313,289,180,57,-13,-20,-16,-52,-122,-181,-201,-192,-168,-134,-100,-93,-128,-191,-246,-269,-269,-276,-308,-359,-391,-358,-251,-119,-35,-28,-51,-35,33,123,207,273,298,257,179,151,211,295,308,244,178,151,110,-1,-142,-213,-169,-70,-13,-25,-55,-45,7,57,76,75,76,85,103,141,185,196,159,115,113,130,104,31,-20,-10,4,-38,-106,-117,-53,19,43,34,40,84,147,181,137,13,-114,-139,-42,89,153,149,154,207,259,242,154,60,15,16,23,8,-18,-28,-16}
},
{ // H-40e103a.wav
{3,3,3,3,4,4,3,3,4,6,6,5,4,3,4,5,6,5,3,3,4,5,3,1,2,4,4,3,3,3,3,4,5,5,4,5,8,8,3,0,3,4,-1,-4,2,6,-2,-7,6,14,1,46,278,671,944,783,197,-444,-774,-758,-610,-457,-231,132,520,763,829,831,870,983,1218,1638,2179,2584,2589,2180,1630,1249,1128,1127,1066,902,732,649,619,512,256,-54,-232,-191,-38,43,-25,-158,-218,-150,-6,116,142,58,-81,-180,-172,-88,-50,-167,-417,-655,-738,-637,-434,-215,-17,137,200,135,-21,-172,-256,-298,-353,-428,-485,-500,-495,-496,-501,-492,-474,-466,-473,-480,-484,-494,-512,-516,-493,-461,-451,-474,-513,-549,-577,-591,-580,-542,-490,-446,-418,-405,-402,-406,-405,-384,-343,-299,-271,-255,-241,-233,-247,-283,-315,-329,-338,-361,-385,-386,-367,-355,-361,-365,-346,-319,-313,-327,-337,-335,-334,-341,-340,-322,-303,-306,-329,-351,-362,-365,-359,-337,-299,-262,-241,-239,-246,-256,-268,-278,-279,-266,-248,-237,-239,-250,-265,-284,-304,-318,-315,-293,-259,-228,-205,-188,-176,-168,-159,-146,-129,-111,-90,-74,-74,-96,-126,-150,-169,-190,-208,-213,-205,-194,-184,-167,-143,-123,-108,-88,-59,-37,-33,-37,-37,-40,-50,-58,-52,-45,-52,-66,-72,-84,-122,-165,-157,-83},
{144,-94,-204,68,277,-29,-370,-49,455,136,-565,-238,709,266,-809,1960,9661,14194,5770,-12598,-24240,-17049,1201,11636,6784,-2388,-2775,4594,8978,5733,996,1825,7976,14693,18506,17536,10174,-2100,-12445,-13804,-6691,1379,4803,5156,6340,7804,5713,-610,-6873,-8799,-6452,-2885,-531,-121,-1452,-3400,-4025,-2467,-504,-629,-2630,-3724,-2446,-678,-832,-2411,-2914,-1441,323,637,-292,-1233,-1606,-1539,-1162,-683,-648,-1279,-1880,-1638,-835,-509,-965,-1373,-1017,-257,82,-189,-587,-721,-644,-559,-547,-610,-731,-825,-788,-620,-420,-255,-121,-15,16,-72,-275,-521,-667,-598,-372,-214,-292,-547,-796,-926,-929,-838,-734,-745,-885,-972,-852,-661,-652,-778,-671,-141,504,806,675,389,172,-21,-291,-572,-707,-646,-488,-360,-328,-383,-479,-560,-586,-549,-459,-331,-179,-20,130,242,271,196,71,-17,-31,-24,-61,-133,-176,-161,-122,-103,-102,-102,-119,-177,-255,-293,-266,-228,-246,-321,-395,-418,-379,-288,-162,-47,3,-18,-46,-8,102,226,299,294,229,157,133,176,246,289,287,251,194,109,-5,-127,-216,-230,-158,-47,23,22,1,22,74,95,69,43,53,80,104,134,171,181,152,125,132,139,94,15,-39,-52,-67,-105,-124,-89,-27,10,17,31,78,141,177,149,61,-35,-74,-40,30,89,126,158,192,213,201,152,91,53,54,72,68,31,-6,-13}
},
{ // H-40e109a.wav
{2,3,3,3,3,3,3,4,4,4,5,5,4,3,4,5,5,4,3,4,5,5,3,2,3,6,7,4,0,1,4,4,0,0,6,8,2,0,8,13,2,-8,1,15,5,-14,-3,23,13,27,256,756,1186,1025,158,-870,-1352,-1115,-593,-228,-14,292,715,1019,1053,929,845,888,1088,1501,2086,2571,2623,2177,1514,974,665,497,402,425,605,855,997,909,619,283,57,-29,-73,-173,-301,-339,-233,-77,-10,-65,-142,-124,10,178,270,224,74,-69,-116,-98,-137,-299,-506,-612,-561,-419,-273,-140,-9,89,91,-19,-176,-296,-345,-348,-347,-366,-404,-445,-465,-458,-441,-442,-472,-518,-557,-572,-561,-535,-518,-524,-537,-529,-493,-464,-473,-505,-513,-474,-421,-399,-416,-442,-449,-437,-418,-389,-340,-278,-227,-206,-219,-255,-303,-347,-371,-372,-367,-370,-372,-356,-333,-329,-347,-355,-332,-304,-306,-335,-354,-347,-332,-332,-343,-352,-362,-383,-413,-429,-423,-404,-382,-358,-331,-303,-276,-252,-235,-226,-220,-211,-198,-187,-185,-196,-217,-240,-259,-274,-290,-304,-307,-291,-261,-225,-190,-160,-143,-145,-154,-152,-132,-105,-86,-77,-76,-88,-115,-150,-183,-209,-230,-237,-228,-211,-196,-181,-161,-130,-92,-56,-34,-31,-36,-37,-35,-42,-53,-51,-34,-24,-38,-57,-61,-68,-105,-152,-149,-80},
{125,51,-162,-133,168,205,-191,-332,156,442,-139,-599,107,752,-216,-507,4151,11877,12643,-191,-18019,-23428,-10482,7035,11762,3047,-4671,-1648,6367,8619,4030,631,3898,11242,17091,18284,13775,3839,-7703,-13773,-10335,-1406,5143,6289,5517,6052,6045,2249,-4166,-8388,-7720,-4094,-972,81,-656,-2373,-3820,-3555,-1636,-224,-1087,-3065,-3515,-2005,-812,-1493,-2676,-2239,-377,857,419,-758,-1450,-1495,-1263,-884,-531,-647,-1293,-1775,-1517,-938,-845,-1238,-1336,-766,-88,18,-389,-727,-676,-439,-362,-536,-799,-947,-900,-714,-498,-322,-211,-168,-166,-171,-205,-343,-563,-671,-513,-226,-122,-331,-668,-889,-931,-868,-782,-744,-809,-921,-928,-800,-699,-726,-694,-346,244,691,738,512,277,97,-130,-411,-606,-614,-500,-403,-389,-435,-500,-569,-626,-627,-526,-337,-131,19,105,161,191,164,79,3,-5,21,1,-84,-165,-178,-143,-119,-126,-137,-151,-196,-272,-325,-307,-254,-243,-298,-369,-400,-385,-333,-234,-99,9,26,-27,-52,18,149,255,284,242,174,126,129,184,256,297,281,213,120,23,-78,-184,-256,-233,-109,21,58,18,6,60,102,70,16,20,66,83,73,100,164,188,143,103,127,156,100,-20,-105,-116,-111,-135,-154,-121,-54,0,33,75,132,171,158,104,43,-1,-28,-35,-12,46,116,166,183,179,166,140,105,83,85,92,77,41,10}
},
{ // H-40e116a.wav
{3,4,4,4,3,2,3,5,5,4,3,2,4,6,5,2,3,6,7,4,3,5,6,4,4,6,6,3,1,2,2,0,2,7,4,-3,0,13,13,-6,-13,8,21,0,-15,11,26,3,109,575,1255,1514,818,-552,-1635,-1751,-1146,-542,-234,80,658,1265,1501,1338,1100,1029,1133,1409,1929,2586,2971,2706,1863,909,269,23,22,123,258,374,430,438,433,408,324,194,80,11,-49,-129,-200,-222,-204,-180,-148,-80,6,48,23,-8,35,154,259,265,165,23,-106,-218,-335,-456,-539,-546,-474,-355,-217,-81,28,77,51,-32,-142,-259,-363,-423,-423,-390,-382,-420,-471,-495,-501,-526,-575,-608,-589,-532,-485,-480,-505,-528,-527,-500,-456,-404,-361,-344,-363,-405,-446,-466,-462,-438,-400,-353,-306,-271,-258,-270,-303,-342,-369,-375,-368,-358,-344,-323,-305,-311,-350,-394,-401,-359,-307,-292,-324,-368,-391,-391,-382,-371,-353,-337,-340,-371,-413,-444,-452,-440,-414,-379,-340,-308,-284,-262,-240,-219,-196,-170,-149,-144,-157,-178,-195,-209,-228,-254,-280,-294,-291,-274,-252,-226,-196,-164,-140,-127,-120,-112,-107,-110,-118,-120,-115,-113,-125,-148,-172,-194,-215,-229,-228,-216,-198,-175,-147,-119,-93,-68,-45,-31,-27,-28,-32,-39,-45,-40,-28,-28,-46,-60,-54,-50,-79,-125,-129,-71},
{-9,130,33,-177,-84,211,140,-267,-254,279,366,-304,-506,346,630,-505,136,5928,12737,10299,-4706,-20416,-20891,-5322,9853,10306,95,-5663,-540,7277,8168,3385,1291,5863,13292,17846,16715,9766,-984,-10417,-12508,-6183,2650,7152,6552,5040,4852,3660,-736,-6123,-8271,-6083,-2342,-49,71,-1248,-3035,-4031,-3163,-1091,-93,-1325,-3095,-3093,-1599,-919,-1883,-2682,-1652,314,1121,251,-995,-1506,-1368,-1041,-657,-404,-661,-1345,-1732,-1412,-944,-1037,-1476,-1437,-721,-41,-41,-510,-791,-630,-345,-307,-544,-823,-945,-873,-676,-435,-230,-135,-169,-248,-281,-298,-415,-606,-658,-438,-144,-115,-423,-787,-927,-850,-752,-754,-822,-867,-845,-778,-739,-762,-748,-517,-38,464,707,635,416,198,-15,-254,-459,-536,-489,-422,-419,-474,-536,-587,-636,-668,-615,-431,-166,52,143,146,146,164,146,74,9,5,25,-7,-104,-191,-204,-162,-138,-167,-221,-259,-271,-271,-267,-262,-265,-289,-329,-358,-357,-325,-260,-160,-47,24,17,-31,-38,40,165,257,269,215,148,122,154,214,258,260,221,155,75,-13,-113,-209,-252,-193,-61,41,45,4,14,75,99,57,22,45,76,60,41,88,170,189,139,113,147,156,63,-83,-170,-171,-150,-152,-152,-114,-45,27,87,129,150,151,138,113,69,6,-50,-65,-25,54,132,174,174,156,140,122,100,92,110,129,110,52}
},
{ // H-40e122a.wav
{2,1,1,3,4,3,2,2,3,3,2,1,2,4,5,5,3,3,5,7,5,2,3,7,8,5,3,4,2,-4,-2,8,9,-4,-8,8,19,-1,-22,-5,22,6,-26,-4,39,13,41,469,1336,1952,1420,-262,-1934,-2398,-1658,-721,-287,-74,480,1286,1759,1660,1355,1249,1374,1642,2156,2945,3575,3411,2326,924,-46,-356,-298,-202,-144,-58,64,149,121,-44,-286,-453,-402,-161,54,60,-95,-197,-130,11,62,-13,-101,-90,12,100,94,24,-3,71,188,239,195,119,53,-53,-250,-479,-606,-572,-448,-331,-241,-141,-24,74,117,90,-5,-146,-279,-351,-368,-387,-443,-515,-563,-573,-553,-503,-433,-383,-394,-462,-535,-572,-572,-553,-511,-434,-336,-262,-256,-319,-407,-469,-482,-460,-427,-393,-350,-299,-260,-261,-310,-382,-430,-428,-389,-351,-333,-321,-304,-303,-347,-423,-480,-480,-438,-395,-374,-368,-361,-351,-345,-343,-338,-327,-315,-316,-337,-374,-414,-446,-471,-485,-476,-432,-363,-296,-251,-229,-215,-197,-174,-152,-140,-142,-152,-159,-161,-170,-199,-238,-264,-270,-263,-255,-247,-229,-196,-156,-118,-88,-69,-69,-96,-142,-181,-194,-183,-167,-158,-153,-150,-150,-158,-172,-184,-187,-175,-152,-129,-115,-106,-93,-74,-54,-40,-31,-27,-28,-30,-27,-25,-35,-54,-61,-47,-40,-65,-103,-104,-56},
{-106,3,134,31,-170,-86,190,138,-235,-246,235,344,-250,-471,280,590,-416,53,5253,11787,10214,-3250,-18379,-20062,-6229,8581,10114,627,-5912,-1986,5990,8387,4753,2355,5859,12602,16935,15526,8407,-1700,-9731,-10711,-4303,3992,8037,6978,4510,3116,1436,-2252,-6387,-7701,-5363,-1792,292,170,-1382,-3250,-4185,-3277,-1188,-29,-972,-2609,-2767,-1475,-752,-1538,-2348,-1563,199,1035,326,-806,-1270,-1115,-826,-557,-402,-665,-1323,-1751,-1501,-1018,-1032,-1473,-1571,-983,-275,-124,-480,-775,-690,-434,-342,-484,-689,-787,-735,-582,-393,-232,-157,-186,-269,-336,-398,-524,-676,-667,-401,-97,-102,-463,-838,-903,-721,-607,-703,-854,-872,-782,-741,-801,-834,-676,-301,156,509,654,604,423,163,-130,-378,-497,-479,-417,-411,-476,-545,-572,-596,-660,-710,-613,-322,24,213,187,92,90,172,203,121,11,-27,-13,-45,-155,-262,-278,-216,-170,-203,-283,-332,-316,-269,-238,-243,-267,-288,-294,-290,-285,-277,-242,-159,-57,6,2,-26,-5,85,196,258,243,175,109,96,141,200,225,207,167,122,59,-38,-157,-252,-268,-186,-57,30,33,7,24,77,95,58,27,44,69,56,37,70,139,172,147,118,121,112,31,-100,-201,-223,-191,-156,-131,-93,-24,59,117,134,130,133,138,119,65,-2,-49,-50,-6,56,101,120,130,141,133,95,69,102,167,176,97}
},
{ // H-40e129a.wav
{0,0,1,2,1,1,2,1,0,1,3,3,1,1,3,3,2,3,4,2,1,5,9,6,1,4,9,3,-6,1,15,8,-12,-6,22,21,-17,-28,13,32,-15,-39,23,52,-9,164,978,2096,2327,852,-1544,-3024,-2630,-1233,-295,-124,125,977,1875,2069,1655,1320,1398,1701,2145,2918,3883,4283,3465,1724,96,-664,-657,-426,-293,-221,-113,-12,-30,-226,-544,-816,-857,-650,-414,-375,-485,-484,-253,14,80,-23,-64,61,212,227,121,23,12,80,183,247,194,22,-148,-181,-87,-11,-58,-186,-292,-345,-374,-383,-336,-227,-103,-15,32,53,50,5,-93,-236,-393,-516,-561,-524,-446,-382,-356,-357,-371,-397,-442,-498,-542,-549,-515,-460,-397,-332,-287,-300,-383,-486,-533,-495,-411,-337,-292,-262,-242,-242,-269,-315,-367,-410,-429,-418,-388,-363,-354,-364,-403,-481,-572,-617,-579,-488,-407,-368,-351,-327,-294,-271,-264,-266,-266,-265,-273,-303,-354,-411,-456,-483,-501,-511,-498,-451,-381,-310,-250,-198,-148,-115,-111,-131,-157,-173,-173,-160,-147,-147,-166,-198,-232,-256,-266,-262,-243,-208,-157,-100,-58,-46,-66,-105,-150,-189,-215,-221,-211,-194,-174,-149,-119,-96,-97,-119,-144,-152,-144,-131,-121,-110,-96,-84,-80,-81,-76,-61,-40,-23,-13,-9,-12,-24,-39,-48,-50,-59,-80,-97,-83,-41},
{6,-83,-24,108,49,-139,-97,154,142,-190,-238,186,328,-193,-446,206,555,-322,-41,4570,10853,10181,-1709,-16258,-19250,-7366,6923,9681,1361,-5584,-2909,4798,8307,5725,3100,5575,11696,16087,14815,7734,-1894,-8835,-8897,-2572,4813,7970,6469,3771,2145,416,-2982,-6703,-7755,-5279,-1565,579,295,-1483,-3358,-4127,-3192,-1275,-171,-861,-2207,-2371,-1284,-603,-1187,-1846,-1188,287,910,139,-941,-1262,-917,-525,-321,-314,-669,-1364,-1859,-1686,-1166,-1016,-1329,-1474,-1044,-435,-267,-568,-844,-759,-474,-331,-435,-619,-687,-600,-450,-322,-238,-202,-232,-321,-408,-467,-548,-653,-637,-391,-93,-96,-469,-854,-893,-679,-588,-742,-887,-810,-648,-656,-810,-832,-552,-99,285,496,572,544,382,87,-240,-459,-510,-461,-436,-492,-571,-582,-526,-504,-572,-630,-510,-196,114,213,120,39,97,209,218,105,-8,-38,-40,-104,-230,-327,-332,-275,-240,-273,-337,-356,-296,-208,-174,-219,-282,-297,-267,-246,-260,-273,-231,-134,-36,14,20,25,59,121,185,222,210,150,74,40,72,135,174,167,134,92,23,-87,-210,-283,-265,-166,-47,28,39,25,35,68,80,49,18,29,63,66,39,44,107,170,167,113,72,52,-1,-111,-217,-246,-205,-151,-109,-55,23,90,111,99,94,108,118,100,55,5,-19,-7,21,34,36,59,108,136,106,58,67,129,156,94}
},
{ // H-40e135a.wav
{1,3,1,-1,1,2,0,-2,0,3,2,0,1,3,2,1,3,3,1,2,7,9,2,0,9,12,-1,-9,7,19,0,-18,4,33,10,-33,-13,40,18,-54,-26,76,41,-26,477,1804,2932,2251,-448,-3220,-3856,-2304,-514,61,-17,537,1747,2484,2173,1506,1336,1672,2141,2820,3915,4886,4666,2929,662,-804,-1063,-702,-400,-317,-287,-217,-170,-244,-496,-870,-1152,-1117,-813,-577,-656,-887,-906,-610,-258,-109,-121,-85,71,228,264,193,118,118,188,241,178,5,-145,-153,-65,-26,-82,-126,-73,14,5,-126,-287,-379,-375,-300,-202,-135,-119,-117,-81,-28,-26,-97,-191,-256,-301,-352,-388,-370,-316,-288,-322,-390,-449,-488,-512,-514,-479,-412,-353,-354,-422,-508,-545,-509,-437,-373,-318,-247,-159,-99,-109,-185,-286,-373,-425,-442,-439,-437,-447,-470,-510,-579,-668,-729,-710,-614,-497,-412,-361,-316,-260,-209,-181,-179,-190,-206,-227,-258,-299,-344,-388,-431,-477,-526,-565,-572,-530,-449,-357,-278,-213,-156,-112,-96,-114,-147,-166,-158,-137,-124,-128,-145,-168,-196,-227,-254,-262,-243,-203,-155,-112,-81,-67,-77,-111,-155,-191,-208,-208,-200,-191,-183,-168,-143,-112,-89,-80,-81,-84,-93,-112,-133,-143,-137,-117,-93,-75,-69,-67,-54,-28,-7,-6,-21,-33,-37,-42,-55,-70,-80,-87,-89,-73,-37},
{51,30,-58,-56,66,87,-71,-134,59,175,-55,-251,11,315,31,-403,-84,503,61,-467,2126,7998,10864,4063,-9525,-17791,-12435,762,8291,4489,-3100,-4340,1545,7128,7215,4350,4158,8350,13476,14826,10316,1839,-5738,-7678,-3175,3633,7367,6348,3261,1107,-141,-2242,-5275,-7063,-5960,-2952,-501,-60,-1233,-2751,-3506,-2981,-1573,-510,-749,-1778,-2135,-1313,-440,-619,-1308,-1128,74,960,541,-604,-1280,-1141,-699,-382,-250,-389,-913,-1552,-1777,-1488,-1171,-1204,-1336,-1118,-604,-295,-461,-825,-944,-721,-428,-340,-459,-585,-575,-458,-333,-242,-190,-212,-321,-428,-444,-435,-517,-614,-514,-240,-136,-420,-819,-901,-670,-525,-663,-821,-727,-533,-558,-769,-810,-499,-53,239,357,441,496,385,70,-278,-463,-461,-403,-413,-497,-576,-578,-509,-454,-478,-527,-454,-193,107,220,102,-39,4,184,276,170,-3,-74,-59,-107,-271,-434,-461,-370,-291,-305,-361,-355,-256,-145,-118,-181,-257,-274,-242,-221,-239,-258,-229,-146,-42,41,91,111,113,112,121,139,146,117,52,-12,-30,5,56,90,102,91,41,-61,-182,-263,-261,-189,-95,-20,18,31,47,72,76,41,1,7,51,69,42,34,94,172,180,111,39,4,-33,-113,-205,-244,-212,-142,-66,2,54,79,77,66,61,68,72,63,43,30,37,45,22,-22,-31,27,102,120,82,53,67,81,52}
},
{ // H-40e141a.wav
{1,-2,-1,2,0,-3,-1,3,1,-4,-3,3,3,-1,-2,2,2,-1,3,8,4,0,8,15,1,-14,2,25,8,-27,-11,41,32,-36,-38,48,64,-47,-80,64,113,-45,241,1665,3433,3353,343,-3630,-5223,-3437,-645,484,82,214,1674,3036,2923,1881,1348,1706,2326,2997,4117,5423,5614,3845,1016,-1058,-1519,-1003,-519,-390,-385,-336,-308,-393,-628,-995,-1339,-1397,-1118,-832,-888,-1173,-1233,-885,-448,-304,-417,-471,-317,-80,81,137,119,64,55,153,266,216,-11,-194,-161,-17,15,-94,-169,-107,-2,22,-20,-45,-54,-122,-270,-432,-510,-455,-289,-95,30,52,20,0,-8,-40,-97,-133,-133,-139,-200,-308,-416,-488,-523,-535,-530,-494,-424,-361,-373,-483,-615,-653,-558,-398,-259,-160,-76,-9,0,-68,-184,-301,-390,-448,-491,-537,-588,-623,-630,-635,-676,-749,-791,-740,-606,-458,-352,-289,-234,-171,-122,-116,-152,-193,-208,-208,-227,-282,-354,-416,-464,-508,-549,-570,-553,-497,-425,-362,-318,-282,-240,-190,-148,-123,-111,-100,-90,-89,-104,-127,-148,-161,-170,-179,-187,-191,-188,-179,-169,-165,-166,-165,-155,-137,-119,-110,-114,-130,-155,-178,-188,-177,-147,-109,-74,-50,-42,-53,-86,-131,-170,-184,-170,-138,-100,-64,-38,-22,-8,10,22,8,-28,-54,-55,-52,-68,-92,-99,-93,-102,-120,-110,-57},
{-37,23,52,-23,-75,15,96,-10,-137,-25,159,45,-215,-116,242,180,-288,-270,341,321,-440,664,5421,9991,7306,-3762,-14368,-14377,-4295,5037,5170,-852,-3855,-158,5440,7197,5277,4135,6525,10863,13371,11327,4965,-2293,-5762,-3254,2570,6509,5904,2719,333,-554,-1797,-4324,-6463,-6130,-3554,-1003,-293,-1338,-2832,-3558,-3009,-1561,-335,-340,-1348,-2020,-1523,-582,-401,-928,-993,-97,815,681,-275,-991,-976,-634,-432,-414,-538,-897,-1386,-1601,-1343,-973,-942,-1171,-1203,-872,-516,-490,-722,-863,-737,-498,-394,-475,-591,-595,-481,-331,-203,-136,-182,-335,-464,-448,-363,-393,-526,-536,-355,-252,-456,-774,-834,-628,-513,-653,-784,-666,-476,-526,-748,-768,-439,-21,202,260,329,406,336,79,-206,-360,-383,-378,-416,-496,-575,-598,-544,-464,-440,-467,-416,-195,91,213,95,-66,-38,156,280,191,5,-91,-94,-151,-325,-495,-522,-428,-345,-344,-367,-321,-205,-106,-98,-166,-228,-228,-192,-186,-234,-282,-266,-180,-66,33,107,155,163,132,91,69,61,34,-22,-76,-85,-44,17,65,84,67,6,-87,-180,-240,-249,-205,-124,-35,26,47,47,48,44,21,-2,9,47,66,46,33,72,138,161,112,36,-16,-50,-102,-177,-227,-206,-121,-26,34,53,50,41,33,33,42,44,28,11,25,62,67,11,-56,-58,12,86,110,96,79,62,32}
},
{ // H-40e148a.wav
{-2,2,5,1,-2,2,5,1,-3,1,5,2,0,3,3,0,3,12,11,-1,2,20,18,-9,-12,23,33,-12,-35,20,62,-2,-69,1,104,33,-107,-28,160,57,-50,929,3160,4538,2503,-2426,-6253,-5684,-1944,865,811,-68,781,2877,3815,2820,1533,1467,2309,3170,4123,5462,6280,5155,2180,-739,-1915,-1493,-747,-436,-406,-375,-380,-504,-695,-960,-1347,-1658,-1559,-1115,-872,-1148,-1530,-1403,-795,-320,-336,-551,-549,-344,-214,-233,-228,-100,70,193,255,225,70,-116,-167,-78,-42,-165,-288,-223,-34,42,-73,-208,-191,-56,41,20,-84,-205,-295,-324,-288,-218,-150,-80,12,112,173,166,114,53,-14,-125,-296,-477,-584,-581,-510,-440,-394,-356,-341,-398,-525,-630,-621,-504,-362,-245,-135,-22,53,36,-73,-223,-365,-471,-536,-568,-582,-585,-582,-596,-664,-777,-858,-824,-673,-489,-349,-264,-202,-150,-117,-113,-129,-155,-182,-208,-236,-272,-327,-394,-451,-483,-497,-510,-522,-515,-473,-410,-356,-328,-309,-271,-213,-165,-143,-131,-105,-73,-63,-85,-117,-136,-140,-141,-143,-141,-132,-125,-130,-151,-187,-224,-239,-216,-166,-116,-82,-68,-72,-91,-114,-127,-122,-103,-80,-58,-44,-46,-71,-114,-162,-198,-210,-192,-153,-112,-78,-41,7,56,82,77,46,3,-37,-62,-74,-87,-106,-114,-102,-91,-107,-135,-127,-67},
{8,-29,-8,45,18,-58,-34,72,54,-91,-95,91,128,-108,-200,91,264,-81,-354,66,446,-118,-220,2767,7855,9066,1978,-9125,-14219,-8782,701,4524,991,-2988,-1510,3650,6817,5949,4154,4995,8526,11821,11823,7573,1086,-3529,-3115,1415,5591,5797,2710,-253,-1274,-1683,-3252,-5407,-6033,-4334,-1814,-486,-928,-2237,-3208,-3161,-2156,-944,-479,-980,-1598,-1405,-616,-264,-698,-1048,-492,514,833,151,-718,-974,-668,-323,-219,-350,-710,-1218,-1561,-1456,-1057,-808,-872,-974,-841,-591,-532,-724,-906,-836,-568,-356,-358,-496,-591,-554,-425,-275,-165,-156,-267,-399,-410,-315,-289,-411,-525,-484,-411,-514,-732,-796,-648,-536,-614,-701,-595,-435,-489,-699,-722,-415,-24,176,221,289,378,325,92,-163,-291,-315,-335,-395,-477,-553,-595,-572,-500,-452,-456,-418,-234,36,183,101,-59,-64,106,245,189,16,-92,-103,-149,-303,-470,-519,-456,-386,-364,-348,-290,-204,-147,-146,-181,-209,-204,-177,-171,-211,-266,-274,-213,-120,-35,41,120,178,176,110,25,-33,-56,-67,-74,-68,-41,-3,27,30,1,-53,-118,-179,-221,-229,-196,-126,-43,23,58,66,56,31,-6,-34,-31,2,33,36,31,54,104,138,116,50,-13,-52,-85,-130,-168,-163,-107,-34,16,26,8,-12,-14,5,24,20,-2,-7,24,58,49,-4,-51,-46,4,62,99,107,86,43}
},
{ // H-40e154a.wav
{3,-2,-5,0,4,-1,-6,-1,6,3,-3,-2,0,-2,1,11,11,-4,-6,16,22,-9,-25,13,41,-3,-46,6,74,19,-84,-33,113,79,-110,-85,164,133,-112,662,3143,5339,3857,-1756,-7205,-7639,-3239,1086,1719,224,324,2646,4417,3732,1952,1378,2318,3594,4716,5974,6816,5827,2749,-618,-2249,-1981,-1146,-696,-512,-301,-248,-556,-998,-1282,-1456,-1644,-1693,-1463,-1217,-1314,-1594,-1530,-1004,-514,-487,-729,-780,-559,-345,-289,-259,-151,-41,10,69,146,113,-72,-233,-205,-94,-124,-301,-412,-351,-251,-250,-286,-216,-50,66,49,-32,-69,-32,28,47,-5,-112,-213,-239,-161,-22,96,145,141,116,59,-80,-295,-487,-551,-493,-412,-360,-302,-223,-212,-346,-552,-659,-589,-428,-286,-177,-71,5,-14,-133,-282,-392,-451,-480,-497,-516,-548,-588,-619,-644,-689,-757,-790,-722,-556,-374,-251,-185,-122,-40,17,-4,-96,-196,-255,-282,-313,-363,-417,-458,-489,-515,-530,-528,-514,-492,-457,-404,-344,-295,-260,-226,-183,-144,-124,-121,-117,-105,-95,-100,-114,-122,-121,-121,-123,-118,-101,-88,-97,-129,-167,-197,-214,-214,-194,-158,-119,-90,-73,-59,-43,-26,-17,-21,-34,-45,-51,-66,-102,-154,-201,-228,-231,-208,-164,-111,-64,-22,28,82,112,100,58,15,-18,-47,-74,-95,-109,-117,-117,-110,-108,-121,-131,-109,-53},
{5,22,-2,-26,8,45,2,-56,-9,73,22,-97,-53,111,83,-135,-142,139,199,-153,-280,168,355,-229,104,3402,7847,7829,487,-9143,-12459,-7020,630,2926,-175,-2551,-258,4325,6667,5773,4440,5318,8215,10730,10391,6538,1207,-1970,-873,2789,5030,3751,643,-1398,-1796,-2293,-3943,-5487,-5111,-2908,-804,-388,-1485,-2784,-3226,-2648,-1592,-846,-887,-1430,-1652,-1129,-397,-253,-649,-753,-148,539,488,-209,-730,-614,-216,-65,-237,-509,-779,-1055,-1223,-1147,-942,-871,-968,-978,-744,-462,-422,-615,-762,-683,-495,-407,-450,-491,-437,-326,-224,-149,-124,-197,-350,-453,-412,-324,-352,-496,-598,-596,-605,-697,-753,-662,-526,-507,-559,-505,-365,-367,-568,-699,-507,-111,160,199,189,267,330,224,-9,-205,-292,-332,-390,-460,-517,-556,-568,-534,-477,-445,-430,-345,-153,39,82,-18,-81,16,178,217,103,-23,-58,-70,-172,-338,-444,-440,-402,-405,-428,-412,-351,-290,-259,-248,-229,-192,-153,-145,-182,-235,-251,-217,-167,-125,-67,34,140,171,100,-10,-76,-73,-39,-21,-32,-49,-47,-27,-19,-50,-109,-162,-187,-192,-190,-171,-118,-38,40,85,84,49,1,-41,-68,-78,-66,-31,10,35,44,57,81,96,79,35,-8,-35,-54,-81,-105,-98,-58,-16,-8,-32,-52,-42,-19,-14,-27,-27,-1,27,34,29,23,8,-20,-28,16,84,107,62}
},
{ // H-40e161a.wav
{-5,-3,3,2,-4,-2,5,5,-2,-2,2,-1,-3,7,14,0,-11,8,28,3,-31,-5,46,22,-51,-35,65,66,-63,-93,66,136,-49,-156,80,230,-62,166,2297,5367,5651,764,-6323,-9453,-6088,-263,2393,1194,118,1818,4399,4739,2873,1435,1936,3498,4949,6214,7163,6659,3967,330,-2035,-2316,-1580,-1032,-781,-490,-298,-529,-1016,-1351,-1520,-1758,-1949,-1760,-1335,-1247,-1632,-1892,-1533,-886,-597,-715,-752,-502,-287,-348,-454,-318,-50,70,31,8,-4,-137,-334,-372,-244,-218,-412,-573,-446,-171,-91,-261,-398,-302,-102,-23,-75,-98,-14,97,145,134,98,33,-74,-185,-237,-213,-149,-72,15,79,39,-136,-345,-432,-367,-281,-284,-319,-269,-165,-171,-359,-586,-661,-561,-409,-293,-194,-85,-11,-24,-114,-232,-350,-460,-539,-564,-551,-542,-556,-583,-623,-691,-764,-768,-653,-457,-280,-178,-119,-47,36,69,13,-102,-210,-277,-317,-353,-393,-436,-481,-526,-562,-580,-582,-573,-544,-484,-404,-325,-260,-206,-165,-150,-162,-174,-159,-125,-100,-98,-102,-95,-84,-89,-110,-125,-117,-93,-75,-80,-110,-153,-192,-211,-204,-181,-161,-148,-132,-99,-49,1,32,35,22,4,-16,-42,-83,-140,-202,-246,-253,-224,-177,-131,-92,-51,-3,46,81,87,67,37,12,-7,-27,-52,-80,-104,-122,-133,-132,-119,-102,-87,-73,-52,-24},
{-12,-12,12,17,-15,-22,20,32,-24,-49,19,61,-24,-95,4,113,4,-157,-47,181,78,-234,-137,284,161,-301,909,4740,8023,5787,-2347,-10075,-10716,-4749,1019,1624,-965,-1566,1497,5222,6430,5373,4627,5859,8333,9855,8648,4913,1026,-302,1324,3451,3391,1088,-1239,-2042,-2078,-2832,-4224,-4718,-3464,-1474,-454,-994,-2245,-3042,-2921,-2177,-1388,-1016,-1137,-1380,-1278,-824,-507,-631,-824,-519,192,584,245,-376,-583,-297,-16,-75,-334,-568,-785,-1028,-1141,-990,-745,-697,-851,-932,-793,-609,-584,-655,-611,-399,-187,-122,-182,-268,-325,-337,-284,-191,-152,-240,-399,-498,-502,-498,-550,-620,-651,-655,-662,-644,-571,-498,-498,-519,-451,-326,-320,-493,-642,-533,-207,76,171,177,232,301,257,76,-137,-292,-379,-426,-457,-499,-561,-604,-567,-470,-410,-425,-423,-303,-111,-1,-27,-67,10,160,226,153,41,-16,-51,-143,-278,-371,-403,-437,-507,-556,-532,-467,-425,-408,-364,-280,-197,-156,-157,-184,-224,-251,-238,-189,-137,-95,-36,49,108,83,-11,-88,-86,-30,6,-12,-56,-82,-82,-88,-124,-180,-219,-218,-188,-154,-123,-81,-20,41,76,70,32,-16,-58,-88,-110,-119,-106,-68,-26,-1,9,22,50,74,67,30,-11,-36,-47,-56,-60,-54,-44,-43,-52,-62,-69,-75,-77,-67,-43,-22,-13,-5,14,33,27,0,-14,1,20,18}
},
{ // H-40e167a.wav
{3,0,-8,-6,3,3,-4,-4,0,-3,-7,4,14,0,-16,3,28,5,-36,-15,43,28,-51,-47,56,71,-59,-107,50,141,-37,-170,57,241,-41,137,2302,5673,6370,1486,-6310,-10410,-7423,-1085,2363,1474,237,1921,4894,5570,3505,1569,1913,3820,5604,6737,7277,6610,4178,899,-1414,-2039,-1820,-1644,-1409,-830,-345,-531,-1133,-1445,-1412,-1597,-2125,-2409,-2103,-1671,-1634,-1764,-1526,-990,-705,-810,-850,-555,-246,-253,-386,-286,-18,85,-24,-101,-88,-198,-476,-643,-534,-380,-444,-596,-526,-250,-101,-232,-404,-353,-153,-57,-125,-183,-100,54,139,127,70,1,-79,-142,-150,-118,-111,-148,-166,-122,-96,-211,-440,-581,-488,-254,-104,-115,-161,-140,-135,-287,-562,-760,-733,-521,-264,-59,68,116,89,7,-105,-239,-382,-493,-534,-519,-515,-558,-620,-657,-673,-695,-704,-643,-492,-311,-176,-102,-46,25,90,104,54,-40,-151,-263,-360,-431,-479,-516,-546,-562,-566,-572,-585,-584,-543,-466,-381,-306,-240,-186,-162,-173,-193,-188,-154,-121,-110,-106,-87,-56,-37,-35,-33,-24,-24,-51,-97,-142,-173,-189,-196,-196,-190,-181,-170,-153,-124,-76,-11,55,96,94,56,5,-42,-84,-131,-180,-219,-236,-225,-191,-147,-103,-61,-14,38,77,89,75,51,27,4,-19,-43,-69,-96,-113,-114,-108,-108,-106,-86,-52,-29,-29,-32,-20},
{0,2,-11,-11,10,14,-13,-19,17,29,-19,-43,14,51,-18,-78,0,92,6,-129,-43,148,68,-190,-115,235,141,-222,884,4351,7476,5753,-1539,-9052,-10492,-5546,47,1383,-447,-899,1933,5494,6586,5210,4015,4956,7361,8951,8117,5253,2315,1096,1665,2432,1864,50,-1638,-2269,-2304,-2682,-3410,-3563,-2614,-1272,-736,-1363,-2390,-2888,-2645,-2069,-1575,-1294,-1195,-1176,-1074,-817,-576,-546,-600,-406,39,290,48,-376,-457,-160,65,-58,-329,-490,-596,-798,-992,-971,-787,-695,-766,-791,-626,-418,-374,-457,-466,-323,-156,-96,-133,-175,-175,-150,-138,-164,-244,-363,-467,-505,-475,-426,-419,-489,-611,-710,-712,-628,-546,-530,-534,-462,-330,-272,-372,-520,-517,-304,-24,153,200,201,213,208,147,22,-140,-305,-427,-477,-481,-504,-560,-584,-524,-431,-398,-429,-425,-320,-171,-81,-52,2,119,224,231,150,55,-25,-115,-227,-324,-388,-448,-528,-592,-592,-546,-515,-512,-486,-403,-293,-211,-178,-184,-215,-248,-247,-194,-121,-72,-47,-8,52,90,69,10,-33,-36,-24,-34,-70,-110,-134,-149,-173,-212,-244,-237,-182,-103,-35,7,34,57,75,74,48,3,-46,-90,-130,-166,-179,-154,-104,-61,-42,-31,-1,52,97,102,70,32,16,17,9,-23,-63,-79,-64,-48,-60,-93,-114,-100,-64,-35,-25,-21,-1,34,59,49,11,-18,-18}
},
{ // H-40e174a.wav
{-6,-6,4,6,-2,-4,2,1,-6,0,14,7,-13,-5,25,17,-26,-24,33,41,-33,-59,32,84,-23,-113,2,139,17,-167,-18,236,46,-27,1638,5081,6971,3531,-4262,-10239,-9317,-3254,1593,1823,239,1112,4387,6365,5042,2503,1829,3473,5633,6898,7148,6455,4620,2034,-134,-1144,-1451,-1787,-2042,-1696,-952,-634,-1010,-1473,-1546,-1555,-1951,-2483,-2569,-2200,-1883,-1807,-1632,-1176,-765,-692,-743,-595,-354,-320,-430,-354,-79,44,-123,-278,-188,-60,-185,-456,-565,-507,-543,-720,-762,-524,-245,-208,-339,-359,-207,-86,-129,-218,-197,-95,-45,-69,-77,-31,-3,-49,-110,-104,-51,-38,-83,-120,-139,-244,-493,-747,-782,-567,-316,-229,-266,-266,-203,-213,-367,-551,-604,-494,-305,-110,61,172,185,120,46,-19,-128,-305,-471,-535,-514,-515,-588,-674,-701,-682,-674,-668,-595,-429,-242,-119,-57,5,91,154,151,89,-2,-116,-249,-371,-443,-473,-512,-580,-640,-649,-617,-583,-554,-504,-421,-332,-266,-224,-200,-201,-224,-236,-203,-139,-97,-98,-103,-69,-7,34,31,6,-15,-34,-65,-109,-152,-182,-196,-196,-189,-185,-186,-181,-154,-97,-19,56,101,103,72,30,-14,-62,-114,-158,-184,-196,-202,-197,-175,-139,-98,-51,10,74,113,107,73,42,25,7,-27,-65,-87,-90,-92,-105,-120,-120,-97,-62,-30,-11,-5,-4,-3,-1},
{-2,-6,0,-1,-11,-5,14,10,-15,-11,24,22,-26,-34,24,43,-30,-67,20,82,-20,-118,-5,141,18,-186,-41,242,54,-120,1423,4976,7363,4550,-3080,-9718,-9900,-4518,501,1222,-379,-3,3255,6308,6447,4523,3407,4537,6771,8058,7380,5241,2965,1669,1472,1462,657,-886,-2152,-2428,-2151,-2193,-2613,-2640,-1903,-1110,-1180,-2051,-2795,-2786,-2271,-1802,-1542,-1347,-1163,-1018,-832,-553,-369,-459,-616,-459,-42,140,-138,-463,-374,-17,102,-150,-440,-544,-611,-784,-897,-765,-532,-480,-602,-638,-482,-320,-327,-416,-396,-245,-110,-91,-145,-181,-171,-143,-126,-129,-156,-203,-252,-276,-271,-294,-412,-617,-789,-803,-676,-565,-577,-631,-571,-385,-236,-260,-392,-448,-332,-118,64,158,183,177,162,139,81,-46,-228,-384,-437,-415,-422,-509,-606,-619,-559,-519,-535,-538,-447,-282,-132,-41,28,114,191,208,161,85,-4,-112,-227,-311,-359,-421,-533,-647,-682,-637,-583,-564,-540,-457,-336,-244,-215,-225,-247,-266,-259,-201,-108,-39,-23,-21,15,73,93,52,-13,-51,-57,-61,-91,-142,-188,-210,-211,-212,-218,-206,-155,-75,-2,40,59,69,72,59,31,-8,-56,-109,-156,-182,-187,-176,-152,-118,-82,-55,-28,16,73,112,107,73,51,55,53,8,-64,-109,-98,-65,-65,-104,-132,-109,-55,-21,-23,-35,-24,10,41,47,32,12}
},
{ // H-40e180a.wav
{1,6,-1,-5,1,1,-8,-5,13,13,-10,-11,20,24,-17,-33,18,46,-16,-64,7,83,5,-109,-33,125,56,-152,-77,208,112,-114,1097,4387,7092,5058,-2149,-9266,-10320,-5215,363,1757,263,307,3305,6282,6264,4000,2554,3484,5631,7095,7125,6043,4378,2604,1166,182,-658,-1553,-2149,-2045,-1546,-1384,-1714,-1917,-1579,-1190,-1466,-2303,-2898,-2796,-2312,-1889,-1535,-1106,-747,-678,-773,-732,-555,-482,-517,-402,-104,48,-123,-329,-249,-33,-55,-334,-537,-524,-511,-649,-752,-630,-429,-407,-524,-505,-278,-86,-134,-316,-390,-293,-161,-103,-93,-72,-46,-53,-84,-101,-98,-106,-130,-128,-88,-104,-293,-623,-883,-898,-725,-573,-530,-486,-337,-173,-168,-337,-504,-507,-346,-124,74,208,251,207,126,59,-16,-148,-311,-415,-424,-416,-482,-608,-696,-695,-657,-643,-634,-560,-405,-224,-80,20,107,182,215,183,100,-11,-134,-252,-338,-384,-426,-505,-608,-678,-681,-644,-608,-569,-493,-385,-289,-237,-221,-220,-227,-235,-220,-170,-110,-77,-65,-41,7,46,48,21,-7,-29,-57,-94,-132,-165,-193,-211,-214,-201,-180,-153,-118,-71,-17,33,66,73,55,24,-8,-39,-73,-111,-149,-179,-196,-193,-170,-137,-105,-72,-25,37,91,110,94,68,54,45,18,-32,-81,-98,-85,-74,-92,-127,-138,-104,-50,-15,-10,-10,6,28,34,19},
{1,6,-1,-5,1,1,-8,-5,13,13,-10,-11,20,24,-17,-33,18,46,-16,-64,7,83,5,-109,-33,125,56,-152,-77,208,112,-114,1097,4387,7092,5058,-2149,-9266,-10320,-5215,363,1757,263,307,3305,6282,6264,4000,2554,3484,5631,7095,7125,6043,4378,2604,1166,182,-658,-1553,-2149,-2045,-1546,-1384,-1714,-1917,-1579,-1190,-1466,-2303,-2898,-2796,-2312,-1889,-1535,-1106,-747,-678,-773,-732,-555,-482,-517,-402,-104,48,-123,-329,-249,-33,-55,-334,-537,-524,-511,-649,-752,-630,-429,-407,-524,-505,-278,-86,-134,-316,-390,-293,-161,-103,-93,-72,-46,-53,-84,-101,-98,-106,-130,-128,-88,-104,-293,-623,-883,-898,-725,-573,-530,-486,-337,-173,-168,-337,-504,-507,-346,-124,74,208,251,207,126,59,-16,-148,-311,-415,-424,-416,-482,-608,-696,-695,-657,-643,-634,-560,-405,-224,-80,20,107,182,215,183,100,-11,-134,-252,-338,-384,-426,-505,-608,-678,-681,-644,-608,-569,-493,-385,-289,-237,-221,-220,-227,-235,-220,-170,-110,-77,-65,-41,7,46,48,21,-7,-29,-57,-94,-132,-165,-193,-211,-214,-201,-180,-153,-118,-71,-17,33,66,73,55,24,-8,-39,-73,-111,-149,-179,-196,-193,-170,-137,-105,-72,-25,37,91,110,94,68,54,45,18,-32,-81,-98,-85,-74,-92,-127,-138,-104,-50,-15,-10,-10,6,28,34,19}
}
},
{ // elev0
{ // H0e000a.wav
{-5,7,10,-15,-19,23,35,-25,-54,23,74,-22,-106,7,136,7,-186,-52,227,106,-268,-161,309,181,-106,1775,6204,8643,4075,-5088,-9463,-3810,5110,6029,-2323,-9046,-4811,6390,12577,8433,458,-1990,3215,10839,14785,12404,4709,-4262,-8799,-5549,2458,7523,4599,-3668,-10011,-9939,-5135,-359,1312,28,-2321,-3866,-3646,-1970,-158,608,340,-100,-235,-334,-555,-465,218,904,782,-58,-719,-700,-433,-525,-933,-1165,-963,-482,-15,193,17,-367,-504,-168,243,134,-479,-918,-714,-214,-137,-718,-1509,-1934,-1841,-1513,-1306,-1328,-1409,-1333,-1102,-917,-928,-1059,-1114,-988,-717,-409,-189,-157,-285,-402,-371,-248,-190,-228,-252,-202,-152,-173,-224,-230,-195,-173,-177,-184,-191,-222,-276,-325,-351,-362,-368,-374,-378,-379,-382,-401,-438,-458,-424,-359,-326,-340,-339,-282,-209,-182,-192,-186,-161,-159,-190,-218,-231,-253,-280,-268,-202,-141,-143,-184,-201,-177,-155,-165,-184,-174,-133,-91,-76,-86,-103,-110,-104,-94,-82,-71,-72,-106,-167,-220,-225,-185,-134,-99,-74,-48,-29,-36,-65,-88,-82,-65,-68,-94,-112,-97,-65,-51,-56,-51,-20,12,15,-13,-51,-79,-82,-53,-4,41,59,52,40,33,24,14,13,24,29,10,-28,-62,-72,-54,-23,-2,-5,-23,-35,-25,2,34,59,69,68,68,79,94,96,84,75,79,90,95,88,71,46,18},
{-5,7,10,-15,-19,23,35,-25,-54,23,74,-22,-106,7,136,7,-186,-52,227,106,-268,-161,309,181,-106,1775,6204,8643,4075,-5088,-9463,-3810,5110,6029,-2323,-9046,-4811,6390,12577,8433,458,-1990,3215,10839,14785,12404,4709,-4262,-8799,-5549,2458,7523,4599,-3668,-10011,-9939,-5135,-359,1312,28,-2321,-3866,-3646,-1970,-158,608,340,-100,-235,-334,-555,-465,218,904,782,-58,-719,-700,-433,-525,-933,-1165,-963,-482,-15,193,17,-367,-504,-168,243,134,-479,-918,-714,-214,-137,-718,-1509,-1934,-1841,-1513,-1306,-1328,-1409,-1333,-1102,-917,-928,-1059,-1114,-988,-717,-409,-189,-157,-285,-402,-371,-248,-190,-228,-252,-202,-152,-173,-224,-230,-195,-173,-177,-184,-191,-222,-276,-325,-351,-362,-368,-374,-378,-379,-382,-401,-438,-458,-424,-359,-326,-340,-339,-282,-209,-182,-192,-186,-161,-159,-190,-218,-231,-253,-280,-268,-202,-141,-143,-184,-201,-177,-155,-165,-184,-174,-133,-91,-76,-86,-103,-110,-104,-94,-82,-71,-72,-106,-167,-220,-225,-185,-134,-99,-74,-48,-29,-36,-65,-88,-82,-65,-68,-94,-112,-97,-65,-51,-56,-51,-20,12,15,-13,-51,-79,-82,-53,-4,41,59,52,40,33,24,14,13,24,29,10,-28,-62,-72,-54,-23,-2,-5,-23,-35,-25,2,34,59,69,68,68,79,94,96,84,75,79,90,95,88,71,46,18}
},
{ // H0e005a.wav
{3,-1,-3,8,8,-12,-12,19,20,-26,-35,31,54,-35,-86,22,112,-12,-153,-18,190,53,-229,-87,271,108,18,1949,5809,7457,3017,-4760,-7832,-2523,4757,4789,-2578,-7800,-3638,5834,10647,7003,646,-966,3497,9689,12837,10852,4457,-3056,-6890,-4283,2133,6011,3426,-3280,-8293,-8220,-4480,-719,730,-112,-1915,-3213,-3123,-1813,-340,344,244,-14,-143,-359,-671,-620,6,643,572,-144,-749,-762,-459,-356,-563,-805,-824,-567,-151,189,227,-13,-223,-180,-52,-156,-494,-733,-670,-506,-571,-920,-1305,-1463,-1357,-1157,-1068,-1145,-1246,-1187,-957,-730,-659,-736,-859,-945,-934,-781,-529,-324,-284,-364,-432,-435,-420,-405,-350,-252,-177,-176,-225,-275,-309,-322,-300,-259,-247,-286,-337,-361,-373,-401,-433,-435,-401,-361,-343,-350,-371,-381,-356,-301,-258,-251,-253,-223,-172,-144,-159,-194,-217,-220,-210,-203,-221,-268,-303,-281,-219,-180,-191,-208,-183,-132,-107,-119,-136,-133,-112,-90,-74,-73,-97,-135,-155,-138,-104,-91,-116,-161,-194,-201,-185,-157,-127,-97,-73,-62,-67,-82,-95,-102,-102,-103,-107,-110,-106,-93,-71,-48,-29,-15,-4,4,1,-20,-51,-72,-62,-26,9,26,30,37,50,54,44,32,32,35,25,-2,-33,-53,-57,-44,-22,-8,-14,-34,-44,-32,-6,18,33,38,34,28,33,54,75,78,66,60,71,81,68,34},
{17,-7,-30,8,50,-1,-68,-9,89,22,-123,-59,145,97,-179,-167,197,248,-208,-334,225,393,-187,809,5263,9629,7126,-2794,-10700,-7454,3208,7902,549,-9170,-7960,4051,13755,11559,2066,-3117,1155,10132,16137,15047,7268,-3268,-10196,-8456,417,8135,7195,-1548,-10107,-11800,-7057,-1186,1540,670,-1849,-3924,-4293,-2852,-710,635,655,57,-362,-578,-779,-627,220,1188,1235,245,-715,-783,-341,-312,-873,-1372,-1279,-724,-165,53,-145,-512,-570,-89,484,432,-303,-946,-825,-196,106,-365,-1287,-2038,-2262,-2033,-1689,-1538,-1599,-1637,-1495,-1302,-1244,-1247,-1080,-720,-387,-229,-180,-162,-212,-326,-369,-264,-128,-105,-157,-155,-97,-81,-130,-162,-133,-97,-103,-127,-136,-137,-155,-195,-251,-309,-342,-344,-341,-361,-389,-404,-422,-460,-482,-442,-377,-362,-391,-379,-297,-224,-225,-256,-241,-188,-157,-167,-193,-223,-260,-273,-228,-155,-127,-162,-193,-162,-103,-89,-143,-209,-226,-184,-120,-83,-90,-121,-134,-110,-69,-47,-60,-100,-149,-194,-213,-187,-125,-64,-33,-27,-24,-23,-41,-69,-79,-61,-45,-61,-89,-84,-48,-31,-54,-75,-49,4,22,-14,-67,-95,-92,-71,-36,7,40,49,40,30,25,19,10,6,10,12,-5,-44,-76,-69,-24,13,3,-37,-55,-28,12,33,44,63,84,89,93,116,146,148,115,88,96,117,113,82,54,45,39,22}
},
{ // H0e010a.wav
{-9,-2,5,1,0,7,1,-16,-7,23,16,-29,-30,31,44,-33,-64,29,83,-30,-118,15,151,1,-190,-14,233,39,169,2195,5511,6321,1897,-4588,-6358,-1329,4359,3503,-2878,-6536,-2329,5526,8989,5733,807,-60,3796,8830,11298,9477,3938,-2436,-5539,-3268,1911,4801,2504,-2901,-6878,-6890,-3991,-890,512,-46,-1628,-2862,-2796,-1587,-282,278,183,-28,-197,-505,-809,-638,44,559,317,-399,-795,-570,-174,-126,-424,-706,-723,-490,-160,76,85,-64,-135,-24,55,-155,-574,-856,-823,-661,-645,-820,-1022,-1112,-1090,-1030,-1000,-1020,-1043,-992,-834,-637,-512,-521,-643,-804,-912,-900,-781,-639,-550,-516,-501,-486,-475,-464,-442,-403,-351,-291,-242,-243,-312,-405,-453,-434,-387,-357,-360,-387,-422,-443,-439,-414,-376,-325,-269,-242,-259,-284,-269,-226,-209,-226,-224,-179,-143,-166,-214,-231,-214,-206,-218,-223,-216,-229,-264,-278,-244,-201,-195,-210,-193,-134,-80,-75,-104,-125,-123,-117,-125,-136,-133,-124,-127,-143,-152,-147,-148,-174,-208,-213,-182,-141,-115,-98,-75,-53,-53,-80,-110,-119,-106,-95,-101,-115,-113,-90,-64,-50,-46,-37,-19,-2,3,-8,-31,-56,-64,-44,-6,28,46,53,56,52,37,21,12,10,7,-2,-17,-32,-36,-26,-13,-19,-43,-62,-58,-41,-27,-13,8,23,21,16,30,55,63,50,45,59,64,37},
{-34,-7,55,26,-74,-57,81,83,-96,-128,99,172,-120,-267,96,361,-58,-463,15,543,-19,57,3878,9721,10013,694,-10518,-11173,-279,8561,3941,-7931,-10740,756,14026,14879,4468,-3871,-1107,9171,17384,17553,9763,-1888,-10864,-11030,-2174,7733,9137,629,-9680,-13021,-8446,-1823,1438,689,-1712,-3672,-4277,-3328,-1401,211,620,189,-254,-579,-1018,-1131,-207,1304,1866,811,-651,-1004,-352,2,-543,-1306,-1528,-1265,-898,-518,-134,51,-15,-5,263,399,-23,-708,-915,-446,57,-110,-970,-1955,-2503,-2461,-2099,-1853,-1928,-2111,-2041,-1656,-1225,-958,-799,-623,-443,-302,-170,-50,-47,-188,-308,-257,-132,-124,-225,-248,-122,28,74,34,-27,-87,-133,-126,-63,-13,-34,-105,-174,-225,-271,-310,-333,-340,-346,-372,-435,-510,-533,-469,-384,-369,-415,-420,-345,-270,-270,-303,-289,-223,-167,-148,-154,-191,-260,-312,-280,-181,-112,-122,-157,-143,-96,-83,-124,-172,-177,-151,-130,-135,-156,-176,-183,-170,-134,-88,-64,-87,-139,-176,-171,-134,-92,-56,-21,12,30,24,-2,-33,-53,-57,-57,-71,-93,-95,-63,-25,-16,-32,-35,-10,13,3,-42,-96,-127,-117,-70,-17,13,17,17,21,18,3,-6,1,12,7,-14,-38,-50,-45,-23,1,3,-21,-48,-49,-21,15,44,62,71,80,105,147,179,178,147,119,115,125,124,98,58,34,45,74,80,46}
},
{ // H0e015a.wav
{6,0,-5,-2,1,-2,0,7,1,-12,-5,15,7,-24,-16,29,26,-38,-49,34,67,-34,-97,19,117,-14,-146,16,185,12,256,2176,5010,5439,1397,-4092,-5303,-839,3848,2836,-2659,-5568,-1774,4939,7807,5027,934,310,3656,7963,10066,8491,3721,-1786,-4542,-2740,1594,4101,2259,-2306,-5803,-5967,-3545,-836,423,-63,-1451,-2514,-2460,-1453,-349,168,109,-148,-412,-668,-759,-475,38,295,48,-371,-480,-234,-9,-89,-384,-624,-645,-456,-184,-20,-72,-206,-169,71,212,-32,-540,-897,-860,-604,-476,-634,-935,-1128,-1093,-920,-796,-811,-874,-840,-688,-535,-493,-567,-698,-821,-888,-873,-806,-756,-748,-727,-651,-570,-557,-595,-591,-501,-385,-326,-341,-382,-405,-410,-426,-466,-499,-486,-430,-382,-378,-394,-379,-324,-266,-232,-218,-215,-222,-233,-231,-215,-204,-209,-212,-196,-176,-174,-191,-206,-207,-200,-194,-200,-224,-254,-260,-234,-207,-210,-227,-218,-178,-140,-130,-135,-136,-133,-133,-128,-116,-116,-143,-177,-184,-163,-149,-162,-187,-200,-200,-196,-184,-151,-101,-63,-51,-52,-49,-48,-67,-100,-121,-119,-113,-120,-129,-118,-89,-70,-68,-60,-27,11,22,0,-28,-38,-30,-18,-9,6,24,33,26,11,1,-1,-1,-3,-4,1,5,-3,-21,-32,-30,-32,-53,-80,-84,-56,-20,-1,1,1,7,15,22,35,53,62,51,24},
{39,54,-36,-82,37,116,-36,-170,13,226,19,-306,-95,371,189,-433,-286,502,330,-339,2048,8388,12135,5726,-7531,-13977,-6010,6491,7529,-3963,-12010,-4377,11353,17670,9040,-2662,-3776,6304,17386,20343,13469,882,-10457,-13450,-5865,5782,10549,3748,-8021,-14070,-10626,-3035,1621,1327,-1372,-3674,-4503,-3758,-1853,26,670,156,-444,-676,-1010,-1407,-876,847,2215,1631,-268,-1311,-622,406,170,-1178,-2293,-2344,-1515,-386,464,588,86,-254,152,782,600,-465,-1302,-1048,-179,158,-517,-1693,-2605,-2915,-2763,-2505,-2394,-2367,-2129,-1557,-924,-607,-660,-811,-795,-545,-154,182,246,9,-276,-337,-213,-153,-227,-253,-114,58,99,31,-28,-46,-50,-21,51,95,36,-80,-156,-174,-193,-239,-274,-284,-299,-346,-414,-477,-509,-489,-434,-402,-422,-441,-396,-313,-271,-284,-288,-246,-194,-176,-190,-219,-260,-287,-249,-151,-77,-94,-158,-167,-103,-52,-79,-151,-189,-167,-132,-132,-172,-223,-252,-236,-173,-96,-52,-65,-112,-151,-160,-143,-108,-52,14,65,89,91,66,10,-56,-85,-65,-40,-51,-73,-59,-20,-11,-40,-53,-15,32,28,-31,-97,-133,-134,-103,-50,-1,23,22,16,11,-2,-22,-32,-24,-5,2,-19,-54,-68,-35,21,42,5,-44,-53,-22,8,24,44,73,91,100,128,175,201,179,139,124,133,134,111,79,54,45,59,88,104,82,34}
},
{ // H0e020a.wav
{-4,2,6,-1,-7,-2,4,3,2,4,-2,-10,-2,14,5,-20,-12,26,23,-31,-40,30,57,-28,-80,16,96,-11,-115,21,151,8,273,1997,4460,4776,1221,-3522,-4510,-615,3389,2424,-2353,-4792,-1420,4383,6788,4377,961,556,3449,7077,8892,7697,3733,-1089,-3733,-2397,1350,3684,2237,-1704,-4841,-5134,-3145,-814,340,-23,-1255,-2271,-2281,-1373,-364,46,-118,-389,-510,-563,-597,-464,-122,178,173,-68,-243,-199,-76,-86,-272,-496,-591,-480,-249,-87,-107,-199,-149,75,230,68,-355,-717,-778,-613,-498,-612,-874,-1043,-974,-754,-603,-635,-758,-810,-755,-688,-686,-726,-747,-737,-727,-744,-799,-879,-938,-920,-825,-719,-664,-647,-607,-523,-441,-410,-428,-454,-455,-431,-407,-406,-426,-442,-437,-416,-386,-342,-288,-248,-238,-239,-224,-205,-212,-236,-237,-202,-168,-165,-174,-168,-154,-159,-182,-202,-210,-215,-216,-213,-217,-236,-253,-243,-210,-190,-201,-218,-211,-186,-167,-162,-161,-157,-153,-149,-144,-145,-160,-183,-197,-192,-174,-157,-150,-156,-168,-174,-164,-137,-101,-67,-43,-34,-45,-71,-94,-100,-98,-107,-129,-144,-138,-117,-97,-84,-66,-38,-9,8,10,4,-7,-23,-36,-35,-23,-14,-17,-22,-17,-7,-6,-13,-14,1,19,18,-4,-26,-31,-25,-25,-36,-45,-45,-44,-47,-41,-18,7,11,-3,-6,16,43,46,23},
{4,-94,-34,119,64,-147,-110,170,158,-218,-269,225,389,-214,-515,207,612,-218,453,5775,12207,10661,-1504,-13432,-12029,645,8388,1587,-9627,-8566,5735,17193,13518,1037,-4543,2992,15510,21589,16977,5000,-7663,-13901,-9636,1642,9685,6642,-4529,-13182,-12485,-5517,207,1227,-526,-2375,-3650,-4228,-3362,-1089,895,1090,-12,-980,-1413,-1671,-1400,65,1951,2337,705,-1088,-1179,-113,123,-1121,-2499,-2592,-1482,-219,445,458,183,96,430,833,639,-258,-1106,-1142,-514,-80,-440,-1443,-2535,-3281,-3540,-3389,-2960,-2313,-1512,-805,-563,-851,-1236,-1223,-798,-321,-12,188,290,156,-200,-490,-482,-274,-95,-14,25,23,-48,-113,-80,9,39,12,31,113,147,61,-91,-206,-246,-235,-215,-223,-259,-292,-314,-363,-453,-513,-483,-418,-416,-461,-444,-342,-262,-273,-311,-293,-239,-207,-195,-183,-199,-263,-302,-227,-84,-13,-58,-115,-89,-33,-54,-159,-249,-259,-219,-197,-209,-228,-229,-208,-165,-108,-61,-55,-97,-152,-178,-161,-115,-58,6,72,124,139,107,43,-21,-54,-52,-39,-41,-54,-52,-32,-15,-19,-28,-18,8,18,-15,-87,-159,-186,-148,-72,-6,23,31,40,42,18,-19,-39,-34,-28,-38,-54,-63,-59,-44,-16,14,19,-10,-40,-33,9,51,64,60,65,89,123,155,174,173,152,126,113,115,112,92,72,77,104,124,123,116,114,100,57}
},
{ // H0e025a.wav
{5,0,-4,1,7,3,-3,-2,2,2,2,5,2,-5,0,13,7,-13,-8,21,19,-25,-32,27,51,-21,-70,9,84,3,-87,18,127,10,232,1707,3867,4250,1289,-2829,-3850,-646,2833,2182,-1803,-3980,-1293,3572,5751,3933,1154,721,2997,6056,7848,7172,3918,-406,-3020,-2093,1157,3359,2298,-1057,-3896,-4374,-2824,-828,242,-40,-1146,-2056,-2042,-1259,-491,-261,-379,-424,-356,-402,-539,-460,-79,265,239,-46,-213,-121,17,-29,-249,-468,-542,-437,-218,-34,-9,-97,-112,20,121,-25,-368,-620,-606,-453,-411,-556,-746,-828,-792,-733,-727,-782,-858,-904,-886,-810,-727,-693,-720,-768,-795,-809,-852,-930,-989,-976,-899,-807,-721,-631,-542,-488,-483,-493,-475,-429,-392,-382,-385,-384,-381,-386,-401,-420,-427,-403,-344,-274,-222,-195,-186,-189,-202,-206,-181,-141,-122,-137,-165,-180,-184,-192,-204,-209,-207,-208,-215,-221,-226,-232,-235,-230,-221,-218,-222,-221,-210,-196,-190,-192,-198,-200,-191,-172,-156,-158,-174,-186,-181,-166,-147,-129,-115,-112,-127,-146,-150,-134,-112,-94,-82,-76,-78,-86,-92,-91,-91,-99,-111,-119,-119,-112,-101,-85,-63,-40,-21,-9,-6,-16,-37,-59,-67,-55,-35,-23,-22,-27,-31,-35,-36,-33,-21,-3,10,7,-7,-20,-23,-16,-5,0,-5,-19,-33,-37,-32,-25,-21,-19,-14,-4,4,5},
{-92,71,127,-70,-182,49,233,-40,-335,-34,416,124,-493,-209,579,225,-367,2657,9708,13452,6264,-7878,-14960,-7672,4171,5567,-3852,-9269,-829,12858,16056,6279,-3238,-473,11970,21791,20558,9599,-3905,-12424,-11466,-2453,6712,7431,-1061,-10536,-12659,-7529,-1820,-168,-1277,-2051,-2097,-2648,-3363,-2685,-621,974,895,-187,-1181,-1797,-1861,-837,1050,2248,1555,-203,-1248,-1191,-1140,-1675,-2019,-1492,-650,-333,-404,-183,383,772,793,698,500,-58,-798,-1054,-585,-89,-446,-1698,-3081,-3867,-3906,-3449,-2761,-1989,-1265,-794,-748,-1051,-1334,-1244,-792,-292,34,206,260,112,-232,-521,-513,-275,-68,-12,-20,-24,-52,-96,-79,7,65,39,9,51,116,99,-21,-168,-258,-263,-221,-190,-200,-225,-236,-267,-360,-464,-477,-398,-351,-407,-476,-446,-347,-292,-300,-291,-227,-164,-156,-188,-229,-276,-311,-273,-143,-5,38,-12,-61,-54,-50,-123,-250,-332,-314,-241,-197,-204,-221,-206,-157,-103,-71,-70,-96,-129,-151,-154,-137,-94,-21,63,125,151,146,110,42,-32,-67,-53,-32,-37,-51,-40,-12,-4,-18,-18,5,19,-11,-83,-162,-206,-187,-113,-32,14,29,43,59,51,13,-22,-33,-35,-46,-59,-62,-64,-66,-51,-14,10,-4,-32,-31,3,41,60,70,80,89,100,125,155,165,146,116,92,81,82,93,102,104,117,153,181,171,141,138,160,149,78}
},
{ // H0e030a.wav
{-2,0,2,-1,-4,1,6,1,-4,-1,3,0,-2,2,3,-4,-3,8,7,-10,-10,14,18,-16,-28,18,43,-13,-61,-3,69,17,-62,8,96,2,160,1363,3253,3802,1501,-2070,-3299,-852,2248,2104,-1107,-3252,-1407,2640,4830,3662,1348,732,2443,5089,6913,6699,4129,346,-2236,-1806,888,3020,2439,-345,-3001,-3737,-2606,-915,72,-83,-955,-1724,-1828,-1354,-798,-484,-337,-206,-171,-347,-564,-495,-100,275,311,80,-101,-74,24,-7,-189,-373,-401,-243,-25,58,-69,-265,-304,-140,28,-12,-231,-404,-389,-277,-270,-460,-751,-968,-1009,-918,-828,-836,-917,-972,-944,-870,-822,-825,-853,-872,-872,-864,-862,-875,-890,-881,-834,-755,-670,-597,-542,-502,-473,-446,-419,-398,-393,-398,-405,-412,-421,-427,-422,-411,-407,-400,-369,-308,-233,-170,-133,-125,-140,-161,-172,-172,-175,-186,-198,-201,-198,-195,-191,-187,-192,-208,-224,-232,-240,-259,-276,-269,-242,-222,-224,-230,-220,-202,-195,-202,-211,-212,-206,-197,-186,-174,-165,-161,-155,-138,-115,-98,-96,-109,-129,-143,-143,-135,-127,-122,-115,-105,-98,-97,-98,-95,-90,-90,-95,-99,-100,-100,-101,-100,-89,-70,-51,-38,-34,-41,-58,-76,-78,-61,-39,-31,-39,-48,-51,-50,-48,-42,-29,-10,5,8,5,4,6,8,9,7,0,-13,-29,-39,-39,-31,-22,-15,-11,-6},
{128,21,-165,-86,181,140,-220,-247,218,350,-219,-471,227,575,-287,296,5553,12489,12325,1340,-11593,-13721,-4298,3989,1540,-5597,-4562,6190,14515,10892,939,-1988,6828,18885,22838,15365,1909,-9251,-12209,-6296,2964,7129,2197,-7057,-11979,-9333,-3825,-1307,-2170,-2937,-2127,-1557,-2413,-3067,-1779,477,1397,417,-1053,-1779,-1633,-747,719,1848,1375,-579,-2208,-2131,-1063,-658,-1278,-1820,-1444,-530,120,274,225,276,532,862,892,329,-530,-951,-638,-236,-668,-2088,-3671,-4389,-3881,-2676,-1699,-1481,-1761,-1873,-1527,-1042,-808,-776,-656,-380,-134,-33,-32,-94,-211,-281,-198,-63,-88,-267,-352,-214,-18,40,-3,-3,56,86,66,38,12,-30,-76,-113,-172,-260,-303,-246,-157,-134,-175,-214,-256,-341,-427,-432,-376,-367,-420,-429,-345,-255,-245,-268,-242,-186,-170,-200,-226,-242,-272,-282,-212,-83,1,-13,-63,-71,-59,-96,-189,-270,-278,-229,-180,-170,-193,-212,-195,-142,-89,-73,-94,-126,-145,-150,-139,-96,-19,65,119,139,145,137,94,19,-43,-60,-52,-56,-67,-53,-15,6,-6,-16,7,36,20,-55,-149,-209,-207,-151,-73,-8,28,45,55,56,40,14,-11,-33,-52,-62,-64,-67,-70,-50,-3,34,21,-26,-51,-30,8,34,53,76,93,97,109,143,170,158,117,86,77,75,70,75,101,137,172,200,211,195,164,149,158,158,118,52}
},
{ // H0e035a.wav
{3,0,-5,-3,2,1,-3,-2,2,1,-2,-1,1,0,-2,1,3,-2,-3,5,6,-7,-10,11,19,-10,-29,5,40,3,-52,-19,58,40,-41,-21,60,22,114,997,2588,3357,1800,-1225,-2764,-1154,1608,2071,-340,-2522,-1578,1667,3916,3410,1552,766,1927,4130,5939,6203,4401,1220,-1357,-1497,587,2626,2516,309,-2127,-3100,-2420,-1069,-117,-43,-672,-1431,-1754,-1474,-886,-406,-206,-202,-283,-399,-463,-345,-35,273,360,217,40,-8,54,90,9,-147,-259,-252,-167,-126,-193,-288,-262,-78,116,131,-62,-310,-446,-455,-460,-583,-814,-1016,-1064,-978,-904,-950,-1070,-1127,-1064,-956,-901,-908,-923,-909,-867,-806,-736,-685,-682,-713,-726,-690,-628,-576,-535,-486,-432,-406,-422,-451,-456,-440,-433,-446,-454,-436,-408,-397,-395,-369,-310,-253,-224,-202,-162,-125,-134,-185,-222,-210,-179,-173,-187,-191,-183,-188,-210,-223,-215,-208,-226,-260,-282,-284,-277,-268,-254,-234,-214,-202,-201,-202,-202,-203,-208,-214,-213,-198,-173,-152,-149,-156,-155,-136,-109,-89,-82,-90,-111,-139,-159,-159,-142,-125,-120,-122,-117,-105,-97,-100,-106,-103,-93,-91,-100,-107,-100,-84,-74,-74,-76,-73,-69,-74,-85,-86,-70,-50,-46,-59,-69,-62,-46,-40,-42,-37,-19,1,12,16,19,17,8,0,3,10,8,-4,-15,-17,-16,-18,-18,-10},
{-49,-159,17,206,5,-286,-76,347,149,-428,-243,526,287,-548,1635,8339,13821,9920,-2808,-13152,-11790,-2787,2046,-1128,-3948,1279,10109,12016,5149,-745,3307,14595,22301,19250,7716,-4420,-10301,-7855,-497,4936,3382,-3611,-9305,-9101,-5253,-3064,-3928,-4584,-2784,-621,-1007,-3115,-3575,-1238,1478,1969,348,-1466,-2032,-1086,780,2135,1368,-1424,-3766,-3285,-694,927,-93,-2145,-2664,-1257,331,683,116,-228,179,926,1276,840,-102,-829,-899,-714,-1137,-2449,-3865,-4259,-3317,-1855,-1045,-1336,-2134,-2486,-2040,-1255,-734,-564,-450,-269,-199,-330,-471,-422,-210,16,162,151,-83,-424,-579,-400,-101,26,-13,-2,110,163,76,-29,-51,-51,-115,-198,-228,-228,-255,-278,-237,-157,-119,-149,-210,-279,-356,-420,-432,-394,-340,-292,-243,-197,-176,-189,-217,-239,-243,-225,-196,-194,-243,-296,-281,-193,-109,-86,-90,-65,-24,-41,-133,-224,-238,-185,-138,-137,-159,-170,-163,-149,-132,-115,-117,-143,-163,-146,-99,-56,-29,5,68,139,178,167,115,47,-12,-48,-67,-81,-86,-71,-44,-30,-32,-23,14,52,52,3,-74,-156,-217,-219,-150,-49,22,46,55,71,72,36,-15,-46,-49,-46,-54,-68,-72,-52,-12,25,30,4,-24,-27,-14,1,16,38,65,90,116,143,158,146,116,93,84,83,84,90,104,124,149,176,197,198,183,167,158,155,148,129,92,42}
},
{ // H0e040a.wav
{-2,-1,2,1,-3,-2,1,1,-2,-3,1,3,0,-2,-2,-1,-1,2,3,-1,-4,2,6,-2,-7,5,13,-7,-24,1,34,9,-43,-25,48,47,-34,-39,50,50,54,626,1947,2936,2092,-403,-2233,-1444,963,2010,416,-1761,-1714,687,2961,3143,1797,862,1445,3169,4952,5702,4686,2139,-409,-1153,224,2089,2468,946,-1193,-2429,-2266,-1254,-266,83,-331,-1128,-1678,-1596,-1039,-473,-194,-158,-208,-277,-328,-255,12,344,504,403,199,90,94,82,-26,-165,-233,-209,-156,-130,-134,-131,-92,-33,-23,-131,-345,-552,-626,-559,-487,-566,-811,-1079,-1214,-1193,-1125,-1108,-1135,-1132,-1065,-976,-919,-899,-877,-816,-720,-626,-576,-576,-594,-598,-591,-596,-609,-593,-532,-461,-429,-442,-470,-489,-497,-496,-478,-442,-408,-395,-395,-388,-365,-335,-308,-283,-257,-228,-198,-177,-173,-185,-196,-195,-186,-183,-192,-206,-219,-228,-232,-232,-235,-244,-252,-257,-263,-272,-276,-263,-236,-213,-210,-218,-219,-207,-194,-191,-196,-200,-193,-177,-160,-151,-150,-148,-141,-131,-120,-109,-104,-113,-136,-155,-156,-147,-146,-151,-146,-126,-111,-114,-124,-118,-98,-86,-92,-101,-97,-88,-90,-102,-106,-97,-89,-91,-90,-79,-70,-79,-94,-92,-71,-52,-50,-52,-42,-26,-20,-23,-19,-3,15,21,17,11,8,6,4,6,10,8,-2,-13,-15,-8},
{-150,134,194,-142,-289,111,384,-75,-501,35,632,-85,-463,3254,10574,14123,7363,-5828,-13792,-10548,-2603,422,-1587,-830,5614,10822,8094,1363,883,10006,20615,22329,13200,219,-8189,-8415,-2672,3310,4169,-876,-7026,-8684,-5630,-2874,-3935,-6419,-5860,-2208,218,-1103,-3598,-3451,-630,1667,1452,-119,-926,-342,752,1150,131,-1949,-3473,-2871,-623,856,10,-1915,-2532,-1338,3,126,-479,-590,79,879,1239,1057,440,-394,-1095,-1517,-1956,-2697,-3418,-3424,-2551,-1495,-1113,-1554,-2198,-2351,-1881,-1228,-854,-775,-682,-448,-304,-440,-650,-585,-223,123,225,118,-85,-320,-480,-445,-259,-112,-71,-8,131,191,62,-106,-127,-61,-93,-229,-315,-298,-276,-287,-261,-186,-155,-202,-241,-231,-247,-337,-407,-365,-270,-227,-223,-171,-80,-49,-116,-205,-244,-245,-251,-268,-285,-303,-309,-268,-178,-89,-52,-59,-70,-76,-100,-146,-182,-175,-128,-81,-74,-116,-172,-188,-148,-96,-87,-116,-132,-109,-85,-93,-103,-56,45,131,159,156,154,131,59,-34,-91,-102,-104,-113,-104,-69,-37,-28,-14,28,74,71,2,-101,-185,-213,-176,-102,-33,15,54,90,94,56,6,-21,-29,-45,-66,-68,-51,-39,-30,-6,24,22,-13,-38,-28,-3,8,14,40,80,110,127,139,145,134,112,91,80,85,110,139,145,130,130,162,187,170,140,144,168,160,121,106,130,134,76}
},
{ // H0e045a.wav
{4,4,1,0,3,3,0,-1,2,2,-1,-1,2,4,2,-1,0,2,3,3,2,-2,-4,3,11,5,-7,-2,12,7,-12,-5,24,19,-22,-26,29,50,-7,-34,30,52,20,348,1370,2449,2236,354,-1599,-1583,335,1820,1062,-965,-1721,-211,1988,2818,2021,1002,1060,2321,4025,5152,4845,2966,551,-741,-114,1508,2360,1547,-269,-1721,-1986,-1244,-290,114,-287,-1117,-1682,-1561,-940,-353,-121,-139,-165,-132,-98,-35,158,434,571,430,151,-6,43,145,141,44,-37,-62,-92,-175,-284,-353,-356,-320,-306,-362,-486,-613,-664,-635,-619,-726,-962,-1208,-1327,-1285,-1168,-1085,-1061,-1040,-975,-886,-828,-807,-774,-691,-585,-513,-494,-503,-513,-526,-545,-556,-546,-526,-519,-522,-518,-503,-497,-503,-499,-466,-423,-404,-410,-410,-390,-374,-377,-374,-339,-286,-249,-234,-216,-188,-177,-200,-229,-230,-212,-210,-231,-244,-232,-217,-226,-251,-263,-254,-240,-234,-236,-240,-244,-249,-250,-244,-231,-217,-203,-189,-175,-166,-166,-173,-177,-170,-154,-143,-144,-155,-166,-167,-156,-145,-142,-146,-151,-155,-157,-156,-149,-135,-120,-113,-115,-117,-115,-111,-106,-97,-85,-82,-97,-118,-123,-110,-98,-97,-96,-88,-82,-91,-104,-101,-82,-66,-61,-56,-41,-25,-20,-22,-18,-7,1,-1,-2,5,12,6,-7,-12,-4,6,5,-3,-7,-4},
{173,85,-210,-195,218,308,-220,-438,230,571,-343,-142,4600,11999,14053,5564,-7798,-14516,-10412,-2745,263,-318,1886,7342,9377,4803,293,4408,15825,23741,19864,6939,-5137,-9075,-5101,1324,4384,1753,-3954,-7461,-6108,-2874,-2704,-6019,-8054,-5393,-820,399,-2395,-4671,-3062,487,2011,797,-576,-307,681,743,-336,-1667,-2465,-2329,-1241,40,292,-774,-1900,-1775,-729,-166,-580,-1015,-546,508,1172,1031,400,-362,-1163,-1931,-2469,-2670,-2635,-2476,-2178,-1746,-1401,-1437,-1831,-2125,-1857,-1128,-548,-552,-904,-1062,-866,-619,-541,-495,-308,-78,14,-18,-63,-140,-294,-405,-321,-124,-38,-88,-80,61,159,59,-138,-237,-211,-188,-250,-354,-416,-400,-328,-257,-227,-218,-188,-155,-188,-286,-349,-316,-245,-210,-182,-100,-9,-1,-78,-153,-188,-231,-302,-345,-332,-310,-316,-301,-208,-80,-14,-41,-91,-102,-90,-104,-147,-168,-131,-68,-49,-99,-166,-178,-125,-67,-52,-70,-80,-71,-69,-90,-112,-102,-49,33,113,171,190,164,99,17,-50,-90,-117,-141,-148,-124,-85,-56,-36,4,64,95,59,-31,-122,-176,-188,-160,-98,-22,43,81,90,77,50,20,-7,-35,-62,-72,-61,-39,-23,-7,14,25,4,-33,-50,-37,-22,-17,2,52,107,133,133,133,140,135,115,99,103,119,132,140,145,145,144,149,151,138,119,119,139,142,113,92,123,175,172,93}
},
{ // H0e050a.wav
{0,-1,0,1,0,-2,0,2,0,-2,-1,1,0,-2,-2,0,0,-1,-1,-1,-2,0,2,1,-3,-3,3,3,-6,-7,5,7,-9,-13,10,22,-6,-29,2,39,13,-28,3,42,10,151,861,1906,2205,989,-889,-1530,-222,1479,1500,-196,-1552,-930,1028,2378,2165,1192,818,1616,3160,4531,4806,3576,1435,-211,-264,1006,2196,2098,723,-905,-1740,-1483,-641,-33,-155,-823,-1392,-1376,-868,-334,-80,-25,29,104,107,61,108,284,442,441,330,265,305,355,297,104,-170,-436,-599,-600,-484,-389,-411,-509,-581,-605,-650,-746,-819,-803,-753,-799,-983,-1199,-1304,-1249,-1102,-961,-879,-849,-841,-828,-793,-730,-649,-573,-525,-497,-471,-444,-441,-476,-525,-551,-548,-544,-555,-560,-538,-504,-487,-488,-478,-448,-422,-420,-428,-419,-396,-382,-381,-371,-338,-296,-266,-248,-227,-210,-221,-261,-296,-292,-255,-221,-211,-218,-229,-240,-249,-249,-238,-225,-222,-229,-238,-243,-245,-244,-237,-224,-208,-196,-190,-183,-171,-159,-157,-166,-176,-178,-173,-170,-174,-184,-193,-196,-190,-175,-158,-147,-144,-147,-152,-152,-143,-126,-111,-107,-113,-119,-117,-105,-92,-86,-93,-108,-121,-125,-119,-110,-104,-103,-105,-106,-100,-89,-80,-76,-72,-60,-45,-37,-35,-29,-16,-8,-14,-25,-28,-22,-19,-20,-19,-14,-13,-16,-12,3,16,12},
{125,-217,-202,227,295,-243,-414,272,528,-411,38,5187,12714,14350,5111,-8882,-15808,-11377,-2810,1441,1677,3370,6982,7301,3015,1104,8044,19696,24518,16581,2047,-7931,-8109,-2022,3380,3789,-318,-5009,-6327,-4000,-1869,-3411,-7111,-8087,-4537,-382,-193,-3260,-4881,-2698,747,1990,849,-478,-801,-712,-812,-931,-989,-1219,-1349,-763,211,291,-907,-1983,-1566,-290,94,-786,-1478,-813,580,1247,655,-600,-1787,-2562,-2758,-2368,-1787,-1593,-1879,-2124,-1907,-1469,-1324,-1519,-1577,-1175,-592,-367,-661,-1112,-1276,-1054,-681,-420,-351,-389,-391,-271,-82,9,-103,-294,-333,-176,-26,-47,-134,-86,78,140,-4,-210,-303,-294,-305,-378,-456,-494,-492,-435,-308,-164,-91,-120,-187,-233,-259,-277,-264,-196,-106,-47,-28,-20,-19,-62,-167,-283,-338,-312,-259,-246,-280,-308,-276,-185,-93,-46,-36,-26,-14,-38,-112,-187,-197,-140,-81,-69,-88,-103,-101,-92,-73,-43,-21,-31,-58,-70,-65,-72,-88,-67,18,123,182,178,143,94,22,-66,-135,-158,-149,-137,-126,-105,-67,-20,30,71,83,53,-21,-116,-191,-208,-154,-62,17,55,69,81,86,63,16,-27,-46,-50,-52,-50,-30,5,33,38,22,-2,-26,-49,-66,-67,-44,-4,39,78,117,153,176,176,160,141,127,117,113,120,140,159,166,161,155,151,139,115,92,84,89,87,86,118,190,244,213,104}
},
{ // H0e055a.wav
{-1,2,2,-1,-1,2,3,0,-2,0,1,0,-1,0,0,-1,-1,1,1,-1,-1,1,1,-1,-1,0,-1,-1,2,3,-2,-5,2,8,-1,-8,5,19,1,-24,-7,35,28,-19,-15,34,22,39,453,1348,1994,1444,-134,-1227,-612,1004,1650,469,-1180,-1363,156,1807,2161,1391,746,1124,2414,3836,4509,3909,2267,610,52,794,1889,2137,1176,-304,-1298,-1331,-708,-128,-90,-548,-1032,-1109,-750,-270,34,115,93,61,54,113,279,510,682,704,593,410,189,-50,-260,-406,-512,-615,-689,-671,-589,-571,-690,-847,-889,-809,-737,-757,-811,-814,-786,-816,-933,-1065,-1126,-1088,-974,-832,-721,-694,-744,-799,-783,-690,-580,-508,-478,-461,-444,-441,-467,-506,-527,-521,-516,-538,-568,-568,-531,-494,-482,-483,-471,-451,-440,-437,-422,-394,-376,-381,-390,-375,-339,-311,-302,-296,-276,-259,-271,-304,-318,-290,-245,-222,-225,-230,-222,-217,-228,-240,-232,-214,-212,-228,-236,-222,-206,-208,-217,-212,-198,-197,-208,-209,-189,-167,-164,-183,-200,-201,-193,-190,-192,-194,-194,-192,-184,-170,-157,-155,-161,-163,-154,-138,-125,-115,-105,-99,-103,-110,-109,-98,-92,-102,-117,-118,-108,-105,-115,-123,-116,-103,-98,-98,-88,-70,-58,-60,-63,-57,-46,-42,-46,-48,-44,-40,-42,-47,-46,-37,-24,-15,-12,-10,-4,3,6,4},
{-178,-161,181,277,-178,-407,176,516,-305,-60,4791,12654,15251,6369,-8829,-17564,-13470,-3127,3258,3822,3859,5599,5512,2469,2406,10468,21605,24350,14157,-935,-9179,-6902,67,4206,2945,-1257,-4502,-4674,-2856,-2228,-4533,-7515,-7242,-3304,55,-859,-4307,-5334,-2173,1758,2476,61,-2344,-2657,-1488,-422,-250,-849,-1537,-1377,-59,1273,1011,-777,-2106,-1551,-112,242,-733,-1433,-789,372,605,-397,-1826,-2866,-3189,-2757,-1851,-1173,-1307,-1993,-2336,-1881,-1124,-804,-983,-1115,-847,-448,-387,-745,-1155,-1241,-986,-661,-501,-515,-562,-525,-382,-199,-87,-112,-212,-236,-123,2,-7,-105,-122,-9,86,25,-160,-342,-464,-547,-597,-586,-515,-426,-347,-281,-227,-182,-143,-127,-165,-244,-279,-207,-85,-26,-56,-92,-73,-46,-82,-171,-246,-273,-269,-255,-240,-242,-271,-288,-232,-109,-1,28,-2,-33,-57,-107,-174,-197,-144,-67,-42,-78,-118,-110,-61,-14,6,-3,-24,-41,-57,-85,-117,-115,-46,67,156,178,158,130,87,3,-100,-171,-184,-166,-152,-142,-113,-60,1,54,88,88,43,-41,-134,-196,-197,-142,-64,3,49,81,93,73,30,-5,-19,-29,-48,-62,-47,-8,29,47,48,35,9,-24,-52,-70,-81,-82,-63,-17,45,106,155,186,199,192,169,138,114,110,127,150,164,169,172,170,157,132,104,78,58,53,61,74,95,145,223,272,229,109}
},
{ // H0e060a.wav
{-1,-3,-3,-1,0,-2,-2,0,1,-1,-2,0,1,-1,-3,-2,-1,-2,-4,-3,-1,-1,-2,-1,-1,-2,-2,0,-1,-4,-3,0,-1,-7,-5,4,6,-3,-4,6,4,-15,-15,20,37,3,-25,2,18,2,193,837,1604,1637,575,-674,-750,455,1457,913,-659,-1448,-521,1152,1977,1545,815,851,1833,3186,4150,4146,3031,1372,245,377,1400,2155,1803,561,-654,-1124,-840,-304,-28,-184,-568,-815,-709,-351,-16,143,213,339,514,607,566,482,437,372,185,-96,-325,-408,-414,-482,-661,-864,-970,-939,-839,-784,-831,-931,-972,-896,-761,-673,-670,-701,-717,-737,-808,-917,-986,-952,-833,-707,-645,-664,-723,-761,-733,-643,-540,-476,-466,-476,-471,-454,-455,-483,-514,-525,-525,-534,-548,-547,-527,-503,-487,-475,-457,-438,-425,-417,-406,-395,-394,-399,-396,-381,-363,-352,-343,-328,-312,-302,-299,-296,-288,-278,-267,-251,-228,-205,-195,-204,-219,-221,-209,-200,-207,-217,-209,-189,-184,-205,-229,-232,-221,-219,-227,-227,-209,-188,-184,-195,-204,-200,-186,-176,-177,-185,-191,-192,-189,-182,-168,-154,-150,-158,-159,-142,-114,-95,-96,-105,-106,-98,-94,-99,-102,-96,-87,-88,-100,-112,-113,-107,-104,-106,-104,-89,-69,-62,-71,-80,-78,-71,-72,-76,-71,-57,-46,-45,-43,-33,-22,-16,-13,-6,2,4,0,-2},
{-287,99,360,-38,-465,-22,574,-42,-422,3399,11561,16409,9519,-6726,-18965,-16980,-4946,4741,6289,4298,3933,4030,2591,3413,11156,21764,24258,13723,-1752,-9769,-6648,819,4582,2863,-940,-3314,-3357,-2463,-2799,-5149,-7485,-6732,-2833,264,-839,-4374,-5368,-2035,1928,2175,-1010,-3713,-3493,-1595,-409,-583,-1191,-1365,-872,148,1099,1080,-62,-1163,-1032,-87,192,-614,-1287,-831,37,-104,-1449,-2854,-3348,-3003,-2362,-1772,-1452,-1602,-2059,-2225,-1722,-915,-456,-484,-595,-521,-441,-594,-884,-1043,-982,-830,-721,-685,-697,-702,-625,-433,-217,-117,-161,-229,-198,-90,-14,-18,-42,-29,-10,-47,-132,-222,-321,-467,-636,-723,-669,-541,-437,-368,-292,-206,-150,-131,-122,-131,-194,-276,-278,-166,-44,-26,-88,-117,-77,-47,-94,-176,-210,-191,-186,-231,-288,-300,-255,-183,-105,-31,19,16,-38,-95,-118,-116,-112,-106,-87,-71,-83,-109,-98,-35,29,38,1,-29,-34,-43,-78,-119,-117,-50,58,153,198,190,148,84,-4,-106,-188,-220,-208,-178,-139,-92,-39,16,69,112,120,70,-27,-129,-198,-219,-186,-103,-4,66,87,78,63,43,13,-17,-38,-49,-55,-46,-10,42,78,79,51,15,-14,-39,-69,-102,-119,-97,-38,31,88,133,173,199,200,180,154,131,120,131,162,187,185,167,158,156,140,109,83,70,62,58,70,101,140,183,226,243,196,93}
},
{ // H0e065a.wav
{7,9,9,9,9,10,10,10,10,11,11,9,9,10,11,9,8,9,10,8,7,9,11,10,9,10,10,7,7,11,13,7,3,9,15,10,3,9,22,19,4,0,11,16,15,27,37,14,-19,-5,34,25,69,440,1138,1579,1130,41,-572,-18,977,1049,-66,-1116,-850,485,1560,1608,1140,1068,1655,2523,3245,3557,3235,2257,1141,695,1192,1970,2071,1217,14,-738,-762,-368,-40,-45,-314,-547,-462,-48,417,641,591,454,360,261,91,-72,-100,-18,-9,-190,-480,-715,-834,-902,-977,-1031,-1012,-928,-855,-855,-918,-964,-912,-757,-581,-482,-496,-575,-655,-711,-756,-803,-836,-824,-754,-656,-595,-616,-692,-740,-700,-595,-501,-464,-465,-465,-455,-454,-472,-494,-503,-500,-503,-518,-531,-526,-502,-472,-449,-435,-429,-430,-432,-428,-414,-400,-395,-396,-391,-379,-369,-368,-365,-348,-317,-289,-278,-281,-285,-276,-251,-219,-195,-187,-188,-187,-182,-182,-190,-199,-199,-191,-185,-189,-203,-220,-234,-243,-245,-241,-229,-212,-196,-185,-178,-174,-172,-174,-176,-175,-176,-183,-191,-189,-176,-164,-162,-164,-157,-142,-132,-128,-119,-100,-82,-79,-86,-88,-79,-71,-72,-76,-76,-76,-85,-102,-114,-114,-109,-110,-115,-115,-106,-94,-87,-85,-84,-80,-74,-67,-58,-47,-36,-30,-27,-22,-13,-5,-5,-11,-13,-7},
{-146,326,240,-378,-353,442,382,-555,1420,8956,16615,13924,-1641,-18294,-21300,-9459,4383,9056,5972,2811,2297,2402,3992,10717,20566,24084,15040,-462,-9806,-7543,294,4870,3690,262,-1872,-2271,-2339,-3330,-5366,-7022,-6256,-2974,-150,-759,-3727,-4828,-2136,1268,1289,-1880,-4328,-3634,-1419,-443,-1095,-1790,-1548,-729,151,908,1130,411,-671,-889,-53,569,50,-847,-925,-454,-752,-2129,-3372,-3421,-2635,-2000,-1854,-1922,-2054,-2245,-2214,-1638,-766,-236,-253,-397,-332,-268,-504,-891,-1046,-897,-716,-702,-788,-833,-786,-647,-434,-230,-152,-208,-265,-216,-102,-30,-30,-38,-15,-5,-79,-232,-380,-447,-455,-489,-582,-673,-675,-573,-426,-293,-198,-137,-102,-95,-133,-220,-308,-325,-250,-147,-88,-62,-20,25,8,-79,-159,-176,-159,-160,-182,-202,-222,-249,-246,-170,-50,29,27,-17,-52,-82,-122,-149,-124,-65,-35,-58,-88,-72,-20,19,21,5,-5,-13,-35,-71,-104,-108,-62,30,126,180,181,153,108,28,-88,-189,-219,-192,-166,-163,-141,-66,34,108,143,150,116,20,-111,-212,-238,-202,-135,-55,27,86,103,83,50,21,-4,-33,-61,-69,-41,11,56,75,78,75,53,1,-59,-92,-97,-98,-96,-64,6,81,130,158,182,197,183,148,122,125,152,181,192,180,160,151,154,150,132,116,107,88,58,56,107,172,192,175,177,203,188,100}
},
{ // H0e070a.wav
{1,1,0,-1,0,1,1,0,0,1,2,2,2,3,2,1,1,2,2,1,0,0,0,1,2,2,0,-1,0,2,4,3,0,-3,0,7,8,-3,-10,3,22,16,-10,-16,10,28,12,-5,8,18,-5,-21,9,33,28,172,664,1280,1394,715,-151,-284,378,860,386,-552,-757,160,1317,1672,1203,745,948,1754,2716,3424,3576,3026,2021,1210,1117,1592,1938,1617,726,-187,-642,-534,-95,318,458,338,176,143,187,145,-15,-159,-180,-138,-149,-221,-283,-333,-456,-689,-941,-1083,-1087,-1024,-969,-940,-926,-915,-898,-865,-819,-769,-708,-617,-500,-414,-421,-525,-658,-741,-750,-722,-706,-709,-701,-665,-632,-644,-685,-692,-631,-545,-500,-502,-506,-489,-476,-485,-496,-487,-473,-482,-508,-520,-506,-483,-470,-466,-461,-456,-458,-463,-455,-432,-408,-399,-405,-411,-407,-399,-391,-380,-357,-328,-311,-312,-313,-293,-258,-234,-228,-221,-199,-179,-180,-196,-202,-191,-184,-194,-209,-211,-204,-208,-230,-254,-260,-247,-232,-224,-217,-199,-175,-165,-175,-190,-191,-181,-178,-184,-185,-175,-170,-183,-199,-194,-168,-147,-144,-144,-126,-99,-85,-89,-91,-81,-71,-73,-77,-68,-53,-56,-83,-112,-122,-120,-128,-145,-153,-141,-124,-117,-117,-109,-93,-84,-84,-81,-64,-45,-41,-50,-53,-41,-23,-15,-19,-23,-18,-8},
{135,361,-106,-527,68,666,-185,-279,4942,14314,17747,6653,-13037,-24203,-17110,-239,10532,9581,3854,781,1022,3391,9427,18633,23837,17665,2877,-8813,-9263,-1807,4487,5094,2319,-114,-1257,-2127,-3499,-5274,-6598,-6144,-3514,-637,-319,-2682,-4439,-2946,120,803,-1869,-4628,-4333,-1786,-133,-687,-1924,-2083,-1141,-36,684,875,428,-339,-591,-14,527,140,-703,-854,-350,-503,-1930,-3492,-3757,-2797,-1845,-1657,-1966,-2292,-2481,-2397,-1822,-911,-251,-174,-341,-303,-160,-305,-735,-1027,-940,-705,-643,-773,-889,-854,-676,-423,-199,-130,-241,-378,-348,-152,17,13,-90,-126,-71,-63,-196,-384,-487,-489,-493,-557,-632,-647,-591,-482,-343,-220,-171,-192,-212,-194,-197,-263,-329,-302,-201,-126,-101,-60,26,84,40,-71,-160,-183,-165,-143,-143,-180,-237,-256,-198,-85,12,46,19,-38,-96,-138,-154,-143,-112,-76,-54,-49,-42,-12,31,47,21,-12,-20,-16,-36,-81,-107,-78,-4,78,133,149,134,96,34,-57,-153,-208,-199,-158,-132,-118,-78,1,87,144,160,131,50,-72,-192,-258,-247,-172,-69,26,81,89,71,47,21,-8,-34,-52,-64,-62,-32,22,73,91,77,50,19,-22,-73,-115,-131,-118,-78,-17,54,117,161,184,188,175,150,123,105,109,137,172,183,163,144,153,172,163,126,97,94,93,84,97,148,199,203,176,167,176,152,77}
},
{ // H0e075a.wav
{-1,-1,0,1,0,-1,-1,-1,0,0,0,0,0,1,2,1,0,1,2,2,0,-1,0,1,0,-1,0,0,0,0,0,0,0,0,0,-1,0,3,3,-4,-8,4,22,19,-7,-22,-3,25,26,6,0,6,-3,-17,3,31,12,32,322,917,1393,1209,414,-238,-97,584,923,481,-225,-389,158,876,1229,1217,1201,1487,2138,2980,3621,3608,2828,1755,1124,1246,1717,1859,1399,656,145,102,361,584,534,206,-213,-501,-559,-462,-355,-319,-345,-402,-492,-616,-742,-836,-907,-986,-1067,-1096,-1038,-931,-849,-823,-820,-797,-755,-722,-704,-673,-603,-507,-425,-397,-441,-544,-659,-722,-705,-648,-625,-658,-698,-689,-641,-609,-617,-631,-613,-571,-539,-525,-511,-491,-476,-474,-475,-469,-466,-476,-489,-489,-478,-472,-479,-486,-484,-475,-467,-460,-448,-430,-415,-410,-413,-413,-403,-386,-374,-368,-361,-344,-319,-296,-276,-256,-237,-224,-220,-218,-213,-205,-198,-194,-195,-201,-208,-214,-219,-226,-231,-229,-219,-212,-215,-222,-220,-207,-193,-189,-193,-193,-185,-177,-178,-185,-187,-182,-179,-184,-192,-193,-183,-165,-144,-124,-109,-102,-103,-103,-96,-83,-75,-75,-77,-76,-75,-83,-97,-107,-109,-113,-126,-141,-147,-144,-142,-143,-138,-121,-105,-99,-97,-85,-66,-55,-61,-72,-70,-54,-39,-34,-35,-31,-19,-7},
{400,211,-468,-419,540,540,-739,893,8942,17830,15458,-1908,-21198,-24835,-10460,7017,13187,8226,1619,-720,1047,6510,15548,23220,21312,8331,-6163,-11018,-5216,2879,6113,4628,2120,293,-1407,-3289,-4913,-5976,-6106,-4610,-1835,11,-912,-3281,-3864,-1836,-78,-1262,-4087,-4997,-2915,-423,-120,-1499,-2258,-1464,-178,473,465,189,-213,-511,-300,259,330,-413,-1119,-967,-531,-1032,-2454,-3394,-2942,-1858,-1460,-1992,-2642,-2741,-2319,-1683,-1052,-621,-512,-554,-432,-154,-91,-437,-883,-1017,-833,-661,-699,-830,-855,-714,-472,-234,-110,-159,-310,-397,-321,-163,-70,-78,-93,-54,-31,-128,-321,-483,-533,-525,-546,-601,-627,-589,-499,-388,-285,-224,-219,-244,-270,-299,-327,-315,-244,-168,-144,-145,-99,-6,56,51,18,-17,-77,-155,-186,-153,-138,-205,-279,-243,-95,44,84,43,-23,-89,-147,-178,-166,-122,-76,-53,-55,-53,-14,51,83,52,3,-6,10,-12,-73,-111,-86,-29,26,80,134,152,111,36,-40,-113,-181,-212,-181,-116,-63,-29,14,71,123,148,136,73,-38,-155,-224,-228,-186,-112,-11,81,114,80,31,9,3,-19,-56,-76,-66,-39,-6,32,71,93,84,46,-5,-53,-93,-124,-135,-109,-43,38,106,155,195,222,211,155,89,56,69,108,150,179,187,176,163,161,162,151,130,109,97,97,117,160,205,215,186,153,147,148,119,58}
},
{ // H0e080a.wav
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,-1,0,1,2,1,0,0,0,0,0,0,0,0,1,1,1,0,0,5,12,10,-4,-13,0,25,35,17,-6,-13,-9,-7,-2,6,0,14,190,641,1204,1456,1129,476,63,143,383,323,-17,-167,183,806,1234,1288,1206,1332,1823,2589,3342,3680,3328,2451,1658,1511,1982,2460,2334,1540,545,-130,-315,-207,-117,-217,-464,-699,-800,-782,-745,-758,-799,-820,-834,-894,-1006,-1096,-1092,-1009,-928,-894,-875,-820,-732,-665,-653,-677,-689,-664,-612,-554,-504,-465,-441,-445,-487,-558,-632,-676,-677,-646,-614,-608,-633,-663,-667,-638,-602,-585,-581,-565,-532,-506,-504,-508,-491,-455,-433,-445,-468,-473,-463,-467,-491,-508,-497,-478,-480,-495,-488,-451,-417,-413,-422,-415,-400,-401,-413,-401,-355,-312,-304,-315,-307,-275,-252,-256,-263,-248,-221,-211,-221,-228,-218,-208,-216,-230,-230,-213,-197,-193,-193,-189,-187,-197,-213,-219,-212,-202,-200,-202,-199,-190,-184,-186,-191,-192,-188,-184,-182,-177,-166,-154,-148,-144,-134,-118,-106,-103,-102,-97,-91,-93,-103,-109,-106,-102,-106,-113,-114,-110,-113,-126,-140,-146,-145,-144,-144,-138,-123,-109,-104,-106,-105,-93,-77,-67,-66,-68,-67,-63,-60,-54,-39,-17},
{556,14,-696,-208,850,258,-1015,2331,12058,19310,12036,-8685,-25564,-23006,-4738,11373,13777,6645,79,-1363,2003,9859,19860,24366,16611,501,-11195,-10292,-1190,6074,7072,4592,2122,54,-2205,-4147,-5212,-5670,-5457,-3814,-1154,271,-961,-3140,-3482,-1989,-1395,-3079,-4895,-4131,-1370,252,-764,-2497,-2411,-553,996,984,78,-592,-731,-548,-170,113,-205,-1070,-1600,-1258,-800,-1274,-2391,-2815,-2068,-1218,-1379,-2282,-2844,-2599,-1956,-1371,-919,-594,-486,-543,-546,-436,-408,-568,-751,-789,-752,-793,-891,-904,-769,-530,-267,-77,-63,-229,-417,-454,-337,-198,-124,-83,-35,-6,-49,-168,-326,-484,-603,-650,-624,-579,-561,-551,-489,-370,-265,-238,-269,-300,-320,-354,-377,-328,-211,-118,-108,-125,-83,12,82,84,38,-29,-103,-153,-154,-143,-183,-257,-270,-170,-22,77,90,41,-44,-138,-198,-198,-153,-98,-52,-24,-21,-23,2,50,68,37,2,5,12,-28,-93,-118,-87,-30,34,104,149,131,62,-4,-59,-135,-215,-226,-149,-60,-22,-6,50,132,175,157,101,19,-93,-204,-254,-222,-137,-41,44,99,103,64,19,-9,-29,-58,-86,-96,-81,-44,9,59,83,76,49,18,-21,-71,-114,-129,-109,-64,-3,64,126,175,203,204,171,115,63,42,62,112,166,194,186,162,153,164,168,147,120,109,109,112,128,168,209,212,172,133,129,137,113,55}
},
{ // H0e085a.wav
{0,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,1,2,2,2,2,2,1,0,0,0,1,1,1,0,0,0,1,0,-1,-1,1,2,0,0,3,6,2,-5,-5,7,19,15,0,-6,8,25,25,8,-9,-18,-26,-23,7,47,58,86,315,861,1481,1634,1017,35,-474,-97,690,1048,707,191,129,558,1022,1187,1153,1220,1572,2227,3088,3891,4236,3876,3022,2219,1852,1807,1650,1089,241,-501,-804,-655,-367,-322,-639,-1088,-1337,-1282,-1103,-1014,-1041,-1073,-1046,-1005,-1005,-1023,-999,-916,-809,-722,-675,-662,-656,-627,-579,-548,-559,-583,-569,-514,-466,-463,-488,-507,-524,-568,-633,-669,-646,-595,-576,-608,-654,-666,-638,-596,-566,-549,-540,-536,-536,-529,-504,-469,-445,-442,-449,-452,-453,-463,-481,-495,-499,-501,-505,-501,-482,-460,-450,-450,-445,-427,-408,-398,-389,-369,-338,-313,-304,-304,-303,-298,-292,-287,-278,-265,-253,-245,-241,-240,-238,-231,-217,-201,-191,-190,-192,-188,-174,-160,-157,-171,-193,-207,-207,-202,-205,-214,-216,-206,-190,-179,-175,-174,-175,-176,-176,-169,-158,-148,-145,-145,-144,-140,-136,-132,-122,-106,-91,-90,-104,-120,-125,-120,-117,-124,-131,-128,-117,-111,-114,-120,-125,-133,-144,-149,-139,-119,-107,-108,-112,-106,-94,-87,-87,-88,-83,-74,-63,-48,-29,-11},
{627,-95,-802,-84,998,97,-1122,3120,13556,19722,9883,-12240,-27427,-21517,-1484,13569,13859,5649,-725,-1430,2996,11940,21736,23795,12835,-4267,-13684,-9364,1551,8516,8431,5039,1786,-868,-3002,-4109,-4481,-5038,-5340,-3889,-982,718,-477,-2867,-3728,-2991,-2818,-3945,-4475,-2881,-585,-140,-1676,-2736,-1667,334,1151,523,-191,-281,-320,-684,-865,-619,-641,-1366,-2012,-1730,-1066,-1181,-1991,-2273,-1607,-1045,-1463,-2285,-2449,-1925,-1477,-1382,-1226,-802,-455,-438,-539,-529,-527,-684,-856,-844,-735,-751,-894,-954,-793,-479,-170,-2,-42,-241,-439,-500,-418,-272,-115,18,76,24,-94,-212,-326,-467,-607,-673,-652,-614,-598,-561,-458,-332,-269,-282,-306,-302,-312,-369,-414,-355,-203,-76,-55,-90,-78,6,95,120,71,-25,-124,-178,-174,-161,-191,-243,-238,-145,-16,74,90,34,-72,-171,-206,-170,-114,-69,-30,6,13,-2,6,48,65,21,-31,-28,-1,-26,-100,-136,-91,-5,65,107,120,96,44,-10,-64,-135,-198,-202,-141,-73,-32,15,99,182,209,174,102,-2,-134,-241,-264,-201,-106,-14,70,125,119,58,-4,-31,-45,-74,-108,-118,-91,-42,11,55,76,70,45,9,-34,-72,-94,-97,-89,-64,-9,71,145,185,192,181,154,111,67,50,70,111,153,184,198,194,180,166,155,139,115,94,88,101,131,171,201,201,174,145,131,122,94,46}
},
{ // H0e090a.wav
{-2,-1,0,-1,-3,-3,-1,0,-1,-2,-1,0,-1,-2,-1,0,0,-1,-1,-1,0,0,0,-1,-1,0,1,1,0,-1,0,1,0,-2,-3,-2,0,-1,-2,-1,3,4,0,-4,-3,2,7,11,15,13,1,-7,2,19,16,-10,-27,-18,-1,35,167,431,673,647,337,100,307,851,1185,950,433,242,580,1031,1094,765,458,467,686,848,898,1063,1636,2700,3990,4946,5026,4111,2662,1403,790,744,846,725,290,-294,-768,-976,-971,-961,-1097,-1325,-1464,-1424,-1291,-1197,-1160,-1102,-997,-912,-904,-924,-882,-767,-660,-623,-630,-618,-570,-518,-486,-469,-470,-502,-551,-565,-524,-477,-492,-562,-614,-607,-583,-599,-639,-640,-592,-560,-588,-636,-632,-572,-517,-509,-521,-512,-490,-488,-506,-504,-469,-436,-440,-469,-483,-476,-477,-501,-520,-509,-487,-487,-505,-499,-453,-402,-384,-386,-369,-331,-307,-317,-335,-330,-308,-298,-303,-302,-292,-291,-305,-310,-282,-236,-205,-200,-202,-196,-189,-192,-197,-188,-166,-146,-140,-150,-169,-193,-216,-226,-219,-201,-187,-182,-183,-181,-175,-171,-174,-182,-183,-170,-153,-147,-159,-175,-180,-171,-157,-145,-130,-111,-96,-95,-107,-121,-130,-138,-146,-150,-142,-127,-118,-120,-125,-123,-118,-122,-134,-140,-131,-117,-114,-118,-116,-107,-104,-113,-119,-108,-84,-59,-39,-20,-5,1},
{646,-64,-821,-128,1026,160,-1224,2803,13323,19858,10172,-12316,-27953,-21905,-1183,14348,14391,5574,-1037,-1407,3466,12424,21668,22880,11220,-6035,-14887,-9459,2661,10405,10277,5993,1520,-1831,-3643,-3783,-3478,-4234,-5319,-4419,-1300,1133,392,-2455,-4443,-4479,-3906,-3811,-3518,-2237,-827,-748,-1813,-2250,-1106,481,917,240,-298,-190,-117,-529,-955,-1056,-1319,-2048,-2499,-1949,-1036,-978,-1737,-2097,-1562,-1052,-1368,-1990,-2013,-1515,-1202,-1207,-1086,-750,-599,-733,-747,-467,-288,-542,-966,-1110,-951,-805,-823,-866,-777,-547,-260,-43,-32,-230,-452,-505,-398,-268,-165,-45,79,108,5,-166,-343,-515,-647,-673,-609,-572,-623,-658,-549,-343,-217,-243,-311,-314,-298,-355,-437,-401,-226,-59,-22,-64,-57,19,87,95,59,-4,-91,-169,-195,-185,-198,-239,-240,-159,-36,59,89,44,-64,-176,-210,-153,-71,-25,-3,15,14,-4,3,51,71,13,-69,-86,-50,-45,-90,-114,-75,-6,51,91,110,90,40,-11,-61,-132,-200,-201,-126,-46,-1,46,129,198,194,140,82,7,-118,-244,-277,-201,-90,-1,74,131,130,59,-19,-49,-52,-81,-130,-149,-112,-49,7,48,77,86,67,21,-37,-88,-119,-128,-117,-77,-2,91,166,198,195,178,148,99,48,27,55,113,170,205,215,206,187,163,136,108,87,79,79,90,116,157,191,194,165,133,119,112,87,43}
},
{ // H0e095a.wav
{0,-3,-4,-1,1,-1,-3,-2,0,-1,-2,-1,0,-1,-2,-1,1,0,-2,-1,1,1,-1,-1,1,1,-1,-1,1,0,-1,-1,0,-1,-3,-2,0,-2,-3,0,3,-1,-6,-3,4,6,4,6,10,7,4,9,12,-2,-17,-7,8,5,54,272,617,811,597,79,-327,-302,94,567,905,1076,1115,1038,880,751,803,1128,1598,1797,1297,204,-669,-445,910,2508,3460,3701,3752,3872,3745,3019,1855,809,298,318,556,631,296,-398,-1105,-1456,-1406,-1244,-1244,-1384,-1463,-1393,-1274,-1207,-1157,-1039,-873,-767,-774,-823,-816,-737,-645,-583,-543,-505,-469,-435,-403,-398,-458,-562,-622,-581,-503,-496,-570,-635,-629,-595,-596,-615,-599,-558,-550,-584,-605,-576,-531,-507,-495,-472,-459,-488,-540,-559,-526,-479,-460,-466,-469,-465,-473,-503,-535,-546,-531,-506,-484,-462,-434,-403,-380,-365,-348,-330,-324,-333,-340,-329,-308,-300,-315,-334,-339,-328,-312,-289,-254,-217,-197,-199,-206,-203,-195,-193,-191,-179,-160,-151,-158,-172,-182,-189,-200,-211,-209,-187,-159,-146,-157,-179,-193,-193,-186,-182,-182,-183,-185,-189,-194,-193,-183,-169,-159,-152,-142,-128,-119,-124,-136,-143,-141,-136,-137,-142,-146,-145,-142,-142,-145,-146,-139,-126,-114,-110,-115,-123,-128,-128,-122,-112,-102,-96,-93,-89,-79,-60,-33,-8,6,6},
{605,97,-754,-351,907,470,-1201,1500,11299,19488,12777,-8746,-26878,-24178,-4124,13549,15603,6749,-921,-1751,3102,11580,20294,22062,11748,-5047,-14983,-10714,1842,11306,12385,7738,1971,-2345,-4203,-3720,-2728,-3316,-4979,-4932,-2018,1186,1307,-1773,-5014,-5892,-4737,-3383,-2708,-2236,-1564,-1107,-1224,-1398,-915,0,458,207,-114,-103,-169,-631,-1054,-1099,-1323,-2240,-3095,-2700,-1325,-561,-1142,-2003,-1972,-1370,-1203,-1541,-1658,-1339,-1063,-1028,-895,-571,-459,-711,-887,-664,-380,-486,-853,-1030,-931,-854,-944,-1014,-883,-587,-269,-51,-41,-251,-496,-548,-398,-236,-166,-97,34,124,57,-126,-311,-464,-599,-675,-650,-593,-606,-653,-595,-410,-247,-222,-271,-288,-295,-368,-452,-405,-215,-51,-33,-79,-52,39,89,63,18,-15,-67,-138,-182,-189,-208,-251,-259,-187,-66,37,84,57,-38,-144,-180,-134,-72,-31,10,54,49,-12,-43,9,62,22,-67,-96,-66,-73,-131,-151,-86,-4,37,61,95,104,57,-12,-67,-116,-166,-174,-116,-41,4,46,124,197,199,135,62,-12,-114,-218,-248,-183,-87,-8,60,118,127,68,-6,-47,-70,-111,-154,-153,-104,-42,12,61,99,96,46,-21,-76,-112,-133,-138,-122,-78,-1,97,181,217,204,165,119,75,44,42,74,124,169,198,208,198,173,146,127,112,95,77,63,64,86,124,158,167,153,137,132,124,95,45}
},
{ // H0e100a.wav
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,-1,0,1,0,0,2,3,1,-1,1,4,2,-1,0,3,2,-2,-1,3,3,-1,-2,1,3,4,7,10,6,2,7,17,16,5,2,5,-9,-1,157,517,874,873,400,-214,-478,-230,239,536,549,450,444,600,882,1219,1527,1750,1916,2078,2120,1737,772,-391,-942,-336,1122,2493,3052,2865,2519,2430,2520,2476,2131,1544,889,366,129,153,179,-75,-615,-1159,-1441,-1458,-1387,-1349,-1334,-1304,-1257,-1195,-1101,-984,-889,-844,-829,-807,-768,-716,-651,-575,-507,-457,-417,-382,-371,-403,-465,-526,-566,-582,-578,-567,-577,-618,-655,-638,-576,-531,-543,-579,-580,-541,-504,-495,-495,-483,-469,-477,-503,-523,-527,-524,-522,-512,-489,-474,-489,-528,-555,-544,-508,-478,-466,-455,-427,-393,-375,-378,-384,-377,-360,-343,-327,-311,-304,-315,-337,-353,-350,-330,-298,-259,-224,-207,-211,-221,-221,-209,-196,-188,-182,-177,-177,-183,-190,-190,-183,-173,-166,-163,-164,-167,-168,-167,-164,-160,-159,-165,-179,-198,-214,-219,-214,-204,-194,-186,-178,-171,-165,-163,-165,-168,-168,-162,-150,-138,-132,-131,-134,-139,-146,-151,-152,-150,-150,-150,-146,-136,-127,-124,-124,-122,-119,-114,-103,-85,-71,-68,-69,-62,-50,-43,-42,-35,-15,3,7},
{431,352,-486,-633,534,858,-800,-167,7593,17610,16421,-1536,-22722,-26976,-10540,9860,16793,9698,364,-2463,1527,9480,18044,21335,13833,-1683,-13589,-12512,-953,10441,14065,10335,3766,-1858,-4580,-4180,-2582,-2490,-4241,-5118,-2923,721,1950,-776,-4926,-6859,-5630,-3323,-2184,-2303,-2302,-1514,-663,-490,-668,-499,-36,161,2,-146,-225,-503,-925,-1190,-1482,-2250,-3135,-3056,-1804,-684,-873,-1821,-2140,-1578,-1121,-1326,-1621,-1404,-919,-666,-619,-526,-465,-603,-742,-606,-384,-480,-864,-1091,-964,-771,-805,-978,-1016,-811,-460,-134,-9,-159,-440,-582,-488,-314,-215,-144,-9,115,88,-78,-255,-396,-539,-659,-675,-610,-586,-625,-595,-428,-257,-230,-297,-311,-272,-299,-392,-404,-266,-109,-62,-81,-47,39,85,64,29,-8,-77,-158,-188,-167,-170,-222,-257,-214,-117,-12,72,93,14,-119,-184,-134,-54,-23,-7,39,62,7,-54,-24,50,41,-55,-112,-80,-59,-119,-183,-154,-60,13,49,82,107,91,40,-16,-77,-140,-166,-123,-51,-2,41,119,199,208,142,64,-4,-99,-210,-253,-188,-78,3,58,114,139,87,-10,-73,-84,-90,-120,-138,-107,-41,21,60,76,65,25,-33,-88,-122,-127,-111,-92,-73,-33,46,142,207,216,186,148,112,77,53,57,90,131,163,183,196,199,180,141,100,75,64,52,42,56,105,159,175,154,132,133,134,103,47}
},
{ // H0e105a.wav
{0,1,0,-1,-1,0,1,1,0,0,0,1,2,1,-1,-1,1,2,0,-1,0,2,1,0,0,1,0,0,2,3,1,0,1,2,1,0,1,1,0,0,1,-1,-2,7,17,11,-8,-9,16,30,10,-8,9,23,0,51,346,822,1086,784,56,-519,-498,-4,469,591,445,306,314,406,496,661,1104,1911,2802,3219,2785,1733,756,371,471,565,406,246,461,1050,1621,1829,1709,1562,1602,1776,1870,1723,1325,793,297,-29,-169,-230,-356,-611,-950,-1267,-1459,-1469,-1323,-1140,-1045,-1060,-1095,-1069,-1003,-955,-914,-824,-695,-606,-593,-590,-529,-436,-383,-384,-394,-398,-432,-508,-579,-601,-589,-588,-608,-623,-617,-598,-577,-555,-530,-509,-498,-493,-489,-480,-471,-472,-489,-509,-509,-490,-482,-507,-551,-578,-576,-556,-529,-500,-474,-460,-455,-439,-407,-381,-385,-406,-410,-390,-369,-364,-362,-347,-326,-319,-324,-322,-304,-281,-265,-255,-242,-226,-215,-211,-207,-196,-186,-188,-202,-215,-213,-200,-191,-191,-188,-171,-145,-130,-138,-161,-178,-181,-174,-167,-165,-169,-180,-196,-208,-208,-201,-198,-199,-196,-184,-173,-175,-188,-200,-202,-195,-184,-172,-158,-142,-131,-130,-141,-154,-160,-155,-146,-139,-137,-139,-144,-149,-148,-140,-130,-118,-101,-75,-50,-37,-36,-36,-30,-23,-24,-29,-29,-20,-10,-4,-1},
{59,534,7,-755,-129,973,96,-1161,2983,13054,18443,7987,-13590,-26925,-19088,1518,15499,13883,4118,-2308,-1124,5670,14468,20160,16813,3863,-9999,-13769,-5274,7236,14262,13080,6979,302,-4070,-4957,-3390,-2193,-3127,-4625,-3778,-465,1944,491,-3786,-7003,-6689,-4078,-2130,-2081,-2609,-2106,-777,16,-203,-583,-409,-8,43,-191,-358,-474,-705,-984,-1343,-2107,-3164,-3521,-2471,-902,-465,-1425,-2335,-2070,-1224,-982,-1406,-1617,-1210,-632,-339,-296,-358,-524,-692,-630,-374,-302,-606,-993,-1098,-948,-824,-841,-878,-804,-605,-346,-159,-177,-368,-520,-490,-376,-325,-295,-157,38,99,-22,-188,-317,-468,-646,-719,-626,-512,-519,-569,-495,-318,-220,-261,-320,-308,-290,-330,-363,-301,-189,-125,-107,-61,21,72,69,46,11,-68,-167,-208,-174,-150,-188,-234,-214,-140,-57,23,85,65,-57,-180,-187,-99,-31,-17,-2,30,23,-25,-36,14,37,-27,-109,-121,-93,-108,-160,-174,-127,-59,5,73,125,118,64,13,-27,-90,-157,-161,-87,-5,41,87,158,202,162,69,-12,-75,-152,-223,-223,-138,-28,55,106,127,102,33,-42,-85,-95,-98,-106,-113,-106,-70,-5,60,83,56,9,-37,-84,-133,-162,-151,-111,-62,3,97,196,250,233,171,109,65,36,24,42,93,156,199,207,191,162,123,80,50,48,60,65,65,87,131,164,161,142,134,132,103,47}
},
{ // H0e110a.wav
{-1,-2,-1,0,0,-1,0,1,0,0,1,2,0,-1,0,2,1,0,0,1,0,-1,0,2,1,0,0,1,1,1,3,3,0,-1,2,4,1,-1,2,2,-4,-7,6,19,10,-10,-7,15,18,2,7,27,9,-1,196,692,1190,1170,471,-412,-764,-371,314,696,615,349,202,224,316,484,881,1590,2397,2859,2681,2037,1440,1246,1318,1266,943,592,469,484,349,24,-159,113,727,1232,1327,1147,1047,1183,1387,1403,1137,686,210,-154,-338,-384,-432,-601,-862,-1082,-1185,-1211,-1215,-1187,-1108,-1031,-1021,-1054,-1035,-922,-776,-669,-608,-562,-525,-504,-483,-439,-393,-391,-444,-511,-545,-544,-539,-555,-586,-609,-609,-593,-573,-550,-519,-488,-479,-498,-516,-508,-485,-468,-462,-457,-464,-505,-569,-604,-579,-531,-515,-528,-520,-473,-426,-420,-442,-448,-425,-401,-396,-401,-399,-392,-394,-403,-394,-354,-300,-265,-257,-259,-255,-250,-253,-253,-237,-211,-196,-197,-199,-191,-189,-206,-229,-232,-213,-193,-185,-174,-152,-135,-145,-171,-181,-169,-162,-180,-209,-218,-202,-184,-179,-179,-175,-169,-169,-175,-180,-185,-198,-218,-233,-232,-218,-203,-192,-182,-171,-163,-161,-160,-153,-145,-143,-146,-144,-138,-139,-150,-161,-160,-147,-130,-111,-91,-74,-62,-53,-40,-23,-9,-3,-1,-1,-2,-5,-10,-15,-17,-13,-6},
{-353,398,507,-414,-721,436,925,-659,-467,6337,15804,15610,-91,-19786,-24951,-10901,8191,15968,10303,1099,-2719,621,8619,16874,19099,11027,-3278,-12758,-9914,1672,11992,14702,10710,4139,-1708,-4884,-4817,-3092,-2386,-3374,-3857,-1955,858,1241,-1857,-5781,-7155,-5435,-2971,-2000,-2365,-2400,-1367,-213,24,-370,-456,-94,75,-210,-517,-552,-548,-725,-1048,-1634,-2666,-3628,-3456,-1996,-617,-645,-1665,-2200,-1752,-1204,-1275,-1558,-1374,-798,-359,-231,-242,-334,-531,-655,-514,-281,-320,-660,-964,-1005,-902,-852,-857,-796,-614,-369,-190,-198,-383,-555,-543,-405,-333,-359,-327,-170,-28,-34,-138,-244,-369,-547,-678,-642,-507,-446,-490,-492,-374,-246,-228,-281,-302,-294,-328,-380,-354,-236,-133,-112,-111,-50,45,93,78,37,-25,-122,-211,-225,-171,-137,-164,-196,-167,-87,-5,51,58,-11,-132,-209,-182,-101,-46,-22,7,27,5,-30,-20,11,-13,-94,-146,-132,-113,-138,-160,-128,-65,-17,23,76,112,94,44,3,-37,-98,-144,-121,-44,22,60,107,158,164,107,32,-32,-103,-183,-221,-177,-84,6,78,131,143,93,12,-52,-91,-128,-166,-175,-142,-82,-9,66,118,118,62,-18,-94,-154,-191,-190,-146,-74,9,91,161,201,197,157,106,65,44,43,58,88,128,160,166,150,130,118,105,87,73,69,66,62,76,117,160,172,158,149,145,114,52}
},
{ // H0e115a.wav
{-1,1,1,-1,-1,0,1,0,0,1,1,0,0,2,1,-1,-1,2,2,-1,-2,1,3,2,1,1,0,0,2,5,3,-1,-1,4,4,0,1,8,6,-5,-7,7,16,4,-5,7,17,3,-2,27,33,-9,70,500,1166,1499,1005,-85,-910,-820,-25,694,814,486,179,126,227,386,747,1492,2469,3140,3021,2174,1209,737,860,1207,1392,1331,1133,853,475,61,-225,-289,-209,-134,-100,-8,230,559,826,932,920,913,973,1032,952,645,174,-265,-473,-425,-308,-360,-641,-992,-1222,-1281,-1241,-1163,-1058,-950,-892,-894,-888,-817,-706,-617,-565,-524,-488,-480,-499,-512,-504,-497,-506,-513,-503,-492,-504,-537,-561,-560,-545,-531,-523,-519,-520,-523,-519,-503,-487,-486,-502,-522,-528,-522,-519,-527,-528,-500,-453,-425,-437,-468,-478,-461,-440,-433,-432,-426,-421,-428,-439,-433,-400,-347,-293,-252,-232,-232,-243,-256,-263,-261,-247,-221,-193,-179,-188,-208,-220,-214,-200,-192,-192,-194,-191,-183,-175,-169,-166,-165,-170,-182,-200,-218,-228,-228,-217,-199,-182,-172,-170,-169,-161,-151,-151,-166,-189,-211,-228,-243,-252,-246,-225,-201,-188,-186,-183,-173,-163,-159,-159,-154,-145,-141,-147,-157,-160,-155,-144,-130,-112,-90,-70,-55,-44,-35,-28,-25,-23,-13,4,17,17,8,1,-4,-14,-28,-31,-17},
{-405,-79,482,239,-592,-441,708,583,-983,593,8414,16102,12164,-4999,-21345,-21344,-5555,10676,14759,8060,46,-2558,1374,9687,17278,17145,6748,-6815,-12225,-5510,6385,13893,13693,8618,2409,-2703,-5249,-4814,-3079,-2390,-2899,-2646,-798,716,-367,-3588,-6178,-6203,-4384,-2775,-2340,-2326,-1742,-747,-222,-375,-500,-137,236,28,-524,-773,-630,-529,-703,-1118,-1879,-2980,-3725,-3255,-1825,-780,-923,-1591,-1770,-1478,-1405,-1644,-1608,-1051,-430,-176,-205,-291,-428,-602,-610,-376,-188,-337,-696,-916,-888,-797,-789,-804,-718,-508,-258,-110,-175,-409,-608,-610,-472,-362,-334,-310,-244,-188,-188,-230,-303,-426,-558,-597,-510,-411,-413,-467,-435,-303,-201,-216,-283,-309,-308,-346,-389,-341,-206,-103,-98,-111,-46,63,116,87,22,-58,-158,-231,-216,-138,-98,-132,-167,-134,-58,5,29,0,-93,-208,-250,-184,-85,-36,-27,-12,-2,-26,-52,-38,-17,-54,-126,-152,-125,-111,-136,-138,-82,-15,15,26,50,72,68,46,15,-38,-102,-129,-91,-28,16,55,109,147,126,68,17,-35,-119,-203,-210,-127,-23,51,105,143,124,27,-87,-144,-138,-126,-131,-121,-73,-7,44,71,76,55,5,-62,-117,-142,-140,-128,-110,-73,-7,70,128,154,156,143,119,86,55,38,41,65,99,129,142,145,144,134,112,87,73,69,65,71,105,153,180,177,168,162,133,65}
},
{ // H0e120a.wav
{1,0,-1,0,1,0,-1,0,2,1,0,0,1,0,-1,0,1,0,-1,0,1,0,0,1,1,-1,-1,2,4,1,-1,2,4,0,-1,7,10,0,-8,3,15,4,-12,2,25,12,-15,8,54,26,3,290,1008,1682,1552,451,-820,-1222,-539,473,949,735,291,43,47,229,688,1568,2690,3474,3377,2431,1296,698,800,1154,1242,985,691,606,637,527,192,-180,-344,-254,-96,-97,-292,-489,-461,-168,215,481,582,613,675,766,805,741,597,420,221,-13,-253,-427,-507,-569,-719,-959,-1164,-1212,-1104,-942,-823,-784,-804,-833,-818,-746,-660,-611,-595,-578,-557,-557,-575,-567,-517,-464,-448,-455,-453,-446,-464,-504,-532,-533,-525,-525,-528,-534,-557,-595,-615,-588,-532,-492,-480,-472,-448,-424,-421,-436,-449,-448,-442,-441,-444,-445,-448,-463,-490,-506,-487,-430,-359,-301,-268,-256,-257,-263,-265,-260,-248,-236,-227,-224,-226,-229,-224,-210,-191,-176,-168,-169,-178,-188,-189,-181,-174,-176,-182,-184,-186,-200,-225,-246,-253,-247,-234,-215,-190,-168,-160,-168,-176,-170,-158,-160,-180,-205,-220,-226,-232,-240,-241,-231,-216,-204,-196,-189,-179,-168,-158,-151,-151,-162,-176,-180,-166,-144,-128,-118,-105,-85,-65,-51,-46,-44,-39,-27,-11,-1,-1,-6,-6,-1,1,-2,-6,-12,-22,-31,-30,-15},
{23,-352,-96,454,193,-584,-336,730,414,-970,1157,8913,15279,9977,-6589,-20412,-18490,-3349,10724,13625,7391,45,-2718,812,9124,16600,15768,5001,-7397,-10592,-2550,8666,14342,12737,7327,1440,-3256,-5507,-4890,-2981,-1969,-2069,-1766,-611,-181,-1768,-4334,-5693,-5089,-3723,-2928,-2679,-2152,-1168,-446,-482,-770,-531,141,412,-70,-704,-846,-634,-570,-783,-1190,-1924,-2957,-3591,-3096,-1840,-1024,-1182,-1621,-1593,-1310,-1352,-1616,-1522,-961,-406,-182,-174,-250,-453,-688,-659,-330,-95,-268,-660,-867,-801,-691,-689,-718,-648,-457,-219,-65,-121,-373,-617,-655,-519,-398,-377,-371,-311,-254,-263,-318,-377,-448,-523,-530,-436,-341,-355,-428,-412,-281,-179,-208,-291,-313,-292,-311,-351,-314,-197,-117,-125,-131,-44,80,133,96,24,-55,-145,-205,-179,-104,-75,-120,-160,-133,-70,-27,-27,-70,-156,-245,-261,-185,-91,-49,-52,-56,-58,-69,-70,-47,-37,-76,-126,-129,-100,-98,-123,-115,-57,0,23,37,58,65,45,25,10,-34,-103,-135,-92,-18,26,49,89,128,118,63,4,-48,-114,-172,-165,-90,-13,18,26,42,46,6,-53,-83,-78,-77,-98,-113,-95,-50,2,45,73,72,35,-28,-97,-147,-169,-162,-134,-86,-16,70,142,170,148,104,63,32,10,10,43,98,138,147,141,140,140,126,102,87,84,81,81,99,137,173,188,189,179,143,73}
},
{ // H0e125a.wav
{-2,-1,1,0,-2,-1,1,0,-3,-2,1,1,-3,-4,-1,0,-2,-2,0,1,-2,-3,-1,-1,-2,-1,1,-1,-4,-1,3,-1,-7,1,12,4,-14,-10,13,14,-12,-17,16,27,-10,-21,34,55,2,138,780,1690,2007,1115,-485,-1499,-1147,60,970,991,466,24,-83,87,578,1555,2881,3911,3927,2848,1413,572,650,1155,1377,1097,660,434,377,190,-223,-583,-558,-171,186,148,-240,-586,-579,-306,-112,-179,-335,-294,5,349,507,462,384,427,579,693,628,371,32,-258,-445,-545,-592,-617,-658,-740,-841,-899,-884,-826,-779,-763,-768,-782,-793,-786,-755,-712,-671,-628,-574,-521,-490,-478,-467,-447,-431,-427,-428,-429,-441,-478,-536,-594,-631,-638,-623,-603,-587,-564,-522,-469,-434,-427,-428,-415,-396,-394,-413,-432,-436,-434,-446,-477,-507,-506,-462,-396,-340,-310,-293,-278,-272,-285,-299,-289,-253,-224,-227,-251,-261,-246,-220,-197,-177,-161,-159,-169,-177,-173,-168,-176,-188,-183,-164,-159,-186,-228,-254,-260,-264,-270,-259,-222,-183,-172,-185,-192,-180,-166,-170,-183,-190,-194,-211,-238,-254,-247,-230,-222,-220,-208,-184,-168,-170,-180,-181,-175,-174,-179,-180,-169,-155,-147,-144,-132,-106,-78,-59,-47,-34,-23,-23,-33,-35,-21,-5,-5,-17,-24,-18,-13,-19,-28,-29,-23,-24,-31,-32,-18},
{279,-39,-353,-52,431,142,-554,-289,675,363,-884,1060,8106,14001,9474,-5376,-18204,-17113,-3740,9471,13026,7812,520,-3225,-766,7213,15230,15476,5821,-5920,-9145,-1620,9010,14276,12411,6838,924,-3648,-5702,-4850,-2621,-1277,-1323,-1475,-1078,-1140,-2536,-4379,-5062,-4304,-3279,-2899,-2767,-2087,-999,-431,-730,-1083,-622,320,633,-36,-843,-976,-656,-565,-858,-1290,-1871,-2670,-3208,-2869,-1909,-1323,-1523,-1841,-1623,-1165,-1097,-1354,-1363,-968,-553,-367,-288,-248,-381,-629,-664,-376,-118,-233,-577,-767,-699,-588,-598,-656,-615,-433,-189,-34,-98,-358,-612,-672,-563,-444,-396,-366,-318,-292,-316,-360,-407,-477,-544,-524,-400,-291,-309,-397,-406,-303,-206,-205,-249,-257,-245,-269,-305,-277,-191,-141,-163,-176,-102,26,118,137,96,8,-101,-168,-149,-97,-97,-155,-194,-168,-117,-85,-79,-105,-180,-271,-298,-229,-133,-87,-90,-96,-97,-102,-95,-64,-45,-69,-105,-100,-70,-72,-105,-111,-69,-17,19,52,78,65,20,-10,-12,-35,-97,-139,-103,-25,29,57,91,123,109,54,0,-46,-113,-191,-218,-166,-75,2,56,90,87,36,-33,-84,-114,-137,-149,-132,-85,-21,45,95,105,60,-21,-101,-151,-169,-158,-124,-84,-52,-19,28,78,101,86,56,34,27,30,45,74,108,137,153,154,142,123,107,98,94,92,99,115,132,146,167,197,206,163,78}
},
{ // H0e130a.wav
{1,1,-1,-1,2,2,-1,-2,1,2,-1,-3,0,1,-1,-2,1,2,-1,-3,0,1,-2,-2,1,1,-3,-2,6,6,-6,-8,7,14,-2,-14,2,17,0,-18,6,32,4,-30,13,70,23,44,558,1593,2340,1813,68,-1562,-1750,-542,802,1209,727,93,-188,-68,468,1572,3114,4374,4482,3270,1569,520,576,1196,1510,1191,627,322,301,182,-272,-824,-1026,-737,-274,-70,-226,-469,-503,-327,-168,-167,-237,-236,-168,-146,-208,-258,-177,43,299,455,443,318,216,214,231,126,-118,-354,-442,-399,-346,-359,-432,-538,-665,-781,-839,-829,-798,-797,-831,-866,-869,-824,-739,-641,-566,-526,-509,-502,-494,-470,-419,-371,-383,-466,-556,-581,-554,-542,-573,-602,-588,-549,-528,-528,-519,-490,-458,-439,-426,-409,-394,-392,-403,-422,-444,-459,-449,-404,-342,-302,-302,-320,-326,-319,-317,-322,-315,-283,-249,-245,-271,-291,-276,-233,-194,-173,-164,-155,-152,-163,-184,-200,-200,-186,-171,-163,-159,-157,-163,-185,-220,-251,-266,-267,-260,-246,-222,-192,-171,-172,-190,-204,-203,-193,-189,-197,-210,-224,-242,-260,-264,-243,-208,-182,-172,-166,-155,-149,-158,-177,-190,-192,-190,-186,-173,-150,-124,-106,-93,-78,-59,-43,-35,-32,-25,-15,-11,-18,-30,-36,-34,-32,-36,-41,-41,-37,-38,-42,-41,-32,-24,-21,-19,-10},
{-23,206,67,-269,-143,320,227,-401,-363,479,459,-664,447,6267,12364,10181,-2139,-14976,-16602,-5915,7091,12489,8874,1489,-3684,-2855,4327,13144,15724,8446,-2825,-7789,-2356,7730,13877,12792,7093,728,-3889,-5651,-4554,-2156,-652,-809,-1546,-1795,-1902,-2705,-3984,-4619,-4078,-3054,-2480,-2392,-2116,-1381,-750,-766,-1060,-793,95,681,281,-629,-1101,-934,-701,-820,-1206,-1721,-2341,-2789,-2628,-1958,-1509,-1699,-2036,-1847,-1250,-899,-1001,-1129,-959,-670,-525,-489,-437,-415,-475,-491,-361,-228,-298,-519,-658,-615,-518,-499,-543,-544,-433,-238,-85,-114,-333,-574,-657,-576,-454,-371,-316,-284,-301,-353,-383,-392,-443,-531,-548,-436,-308,-301,-387,-411,-317,-202,-161,-174,-181,-195,-246,-290,-255,-166,-122,-157,-189,-138,-31,64,119,133,87,-19,-117,-138,-108,-118,-190,-248,-232,-174,-130,-116,-131,-186,-267,-315,-283,-201,-140,-125,-134,-141,-131,-93,-38,-11,-40,-84,-89,-65,-66,-97,-107,-70,-18,19,49,71,61,19,-14,-20,-42,-98,-136,-96,-3,68,91,96,95,60,-11,-79,-114,-132,-148,-146,-104,-34,25,51,43,9,-36,-77,-103,-113,-104,-74,-41,-25,-22,-8,22,39,15,-34,-78,-108,-134,-151,-142,-106,-67,-42,-21,12,54,82,80,56,35,36,57,87,119,151,167,156,130,115,119,123,115,108,117,128,130,142,181,212,178,84}
},
{ // H0e135a.wav
{1,0,1,2,0,-2,0,1,-1,-3,0,2,0,-2,0,2,0,-2,-1,0,-3,-4,1,4,-2,-7,0,6,-2,-9,2,14,1,-17,-5,17,4,-25,-9,35,23,-34,-19,65,60,11,362,1401,2509,2451,770,-1382,-2244,-1257,435,1325,1014,216,-288,-247,363,1635,3400,4868,5047,3700,1732,458,464,1202,1672,1396,716,235,134,77,-288,-879,-1261,-1129,-643,-274,-324,-645,-840,-703,-395,-190,-159,-162,-100,-36,-72,-188,-281,-291,-240,-170,-99,-40,-6,0,-15,-42,-61,-39,34,103,90,-19,-157,-243,-264,-277,-351,-512,-716,-872,-918,-877,-829,-818,-814,-782,-736,-703,-673,-612,-530,-479,-491,-535,-558,-541,-508,-488,-487,-492,-494,-496,-511,-540,-560,-550,-519,-496,-495,-498,-486,-467,-458,-457,-449,-423,-384,-342,-310,-295,-296,-297,-285,-270,-272,-293,-311,-313,-311,-320,-333,-328,-303,-271,-244,-217,-188,-168,-167,-178,-187,-188,-191,-202,-214,-219,-214,-200,-179,-156,-145,-157,-185,-212,-231,-244,-250,-241,-215,-188,-179,-192,-213,-224,-220,-212,-211,-220,-232,-239,-243,-246,-245,-236,-218,-198,-178,-160,-147,-145,-156,-173,-187,-197,-201,-195,-175,-147,-123,-107,-92,-68,-40,-21,-17,-22,-29,-36,-43,-47,-45,-42,-44,-53,-61,-64,-63,-64,-64,-60,-51,-40,-33,-30,-27,-22,-13,-5},
{-143,-54,156,114,-176,-189,186,270,-213,-402,224,520,-342,-199,3914,10044,10929,2213,-10421,-15762,-8969,3517,11338,10047,2974,-3568,-4704,978,10077,15390,11655,1596,-5682,-3684,5124,12637,13334,8043,1110,-3834,-5406,-4100,-1683,-200,-500,-1709,-2485,-2544,-2646,-3316,-4089,-4127,-3271,-2233,-1757,-1813,-1785,-1369,-917,-789,-737,-323,285,425,-130,-843,-1128,-1022,-934,-1093,-1474,-1989,-2425,-2441,-1982,-1543,-1632,-2048,-2099,-1531,-867,-674,-878,-1011,-871,-647,-535,-514,-501,-480,-443,-369,-300,-332,-476,-602,-590,-474,-391,-415,-479,-457,-312,-156,-146,-319,-533,-613,-530,-398,-322,-304,-307,-324,-355,-372,-364,-378,-446,-511,-486,-384,-318,-344,-386,-349,-248,-166,-136,-130,-140,-190,-253,-251,-167,-87,-86,-126,-116,-46,21,46,44,21,-35,-100,-117,-92,-101,-183,-277,-297,-242,-180,-152,-165,-217,-295,-349,-330,-254,-182,-151,-147,-144,-129,-92,-37,1,-17,-69,-96,-78,-59,-72,-89,-71,-30,3,25,47,53,28,-12,-30,-29,-38,-58,-55,-21,10,13,4,6,16,16,-1,-29,-67,-109,-136,-132,-104,-71,-42,-18,-4,-10,-29,-45,-50,-55,-66,-74,-66,-46,-25,-6,10,10,-20,-76,-129,-153,-149,-136,-118,-88,-48,-10,21,52,77,80,58,37,42,72,106,132,151,161,158,149,144,138,127,120,125,127,112,102,129,173,167,89}
},
{ // H0e140a.wav
{0,2,1,-2,-1,2,1,-3,-3,1,1,-2,-2,1,1,-2,-2,1,0,-4,-2,4,2,-5,-2,6,2,-9,-3,12,7,-14,-10,17,14,-22,-23,26,37,-23,-37,52,86,6,220,1207,2577,2986,1509,-1019,-2571,-1980,-90,1305,1311,445,-327,-467,183,1682,3750,5449,5664,4136,1888,409,381,1218,1798,1541,782,205,71,46,-300,-960,-1484,-1459,-954,-464,-415,-742,-1006,-902,-576,-384,-425,-461,-288,-22,74,-59,-223,-228,-105,-27,-111,-323,-526,-588,-485,-326,-247,-266,-267,-152,47,216,288,271,192,60,-109,-273,-391,-459,-514,-595,-702,-788,-808,-774,-740,-729,-715,-682,-673,-719,-763,-720,-601,-516,-524,-563,-540,-467,-431,-466,-515,-520,-494,-480,-490,-507,-520,-529,-532,-520,-495,-462,-420,-367,-316,-293,-301,-312,-297,-257,-224,-217,-229,-241,-255,-280,-311,-328,-318,-294,-274,-268,-264,-249,-225,-200,-182,-174,-177,-186,-198,-213,-236,-258,-261,-237,-199,-171,-162,-167,-179,-198,-219,-228,-216,-190,-168,-160,-166,-179,-198,-220,-236,-237,-229,-227,-238,-252,-252,-239,-227,-219,-209,-191,-170,-153,-145,-148,-162,-184,-203,-208,-199,-185,-170,-149,-115,-76,-45,-29,-21,-16,-15,-23,-38,-53,-60,-61,-60,-61,-65,-71,-78,-82,-78,-67,-56,-54,-59,-61,-54,-39,-25,-16,-13,-12,-10,-5},
{75,-73,-121,54,157,-41,-212,8,264,19,-354,-77,444,65,-480,1630,6953,10571,6424,-4538,-13280,-11659,-1199,8765,10695,4946,-2508,-5715,-2179,6150,13521,13940,6678,-1949,-4115,1815,9954,13147,9443,2425,-3155,-5006,-3712,-1328,109,-289,-1828,-3013,-3054,-2557,-2623,-3452,-4104,-3672,-2404,-1414,-1356,-1748,-1749,-1254,-807,-655,-447,21,322,14,-649,-1041,-1016,-963,-1153,-1456,-1725,-1986,-2168,-2049,-1691,-1536,-1793,-2020,-1689,-973,-556,-728,-1068,-1082,-794,-540,-466,-470,-477,-506,-532,-488,-409,-411,-498,-534,-449,-351,-370,-469,-489,-358,-180,-121,-240,-440,-562,-527,-396,-296,-284,-320,-348,-359,-364,-359,-345,-352,-387,-396,-345,-295,-329,-415,-425,-309,-173,-128,-153,-162,-146,-154,-175,-144,-65,-23,-58,-97,-70,-9,10,-28,-83,-135,-179,-188,-144,-94,-113,-202,-285,-302,-270,-233,-218,-239,-295,-351,-351,-284,-200,-150,-136,-135,-138,-133,-98,-42,-13,-39,-75,-68,-36,-38,-79,-103,-79,-34,-1,25,52,60,37,5,-17,-44,-82,-103,-73,-10,37,49,46,39,18,-21,-66,-110,-154,-189,-187,-141,-77,-25,6,17,3,-30,-61,-70,-62,-56,-55,-54,-55,-62,-66,-55,-42,-51,-85,-120,-134,-131,-119,-97,-62,-27,-6,4,20,43,57,59,58,67,89,115,136,149,157,165,168,157,136,121,116,108,91,85,110,145,137,73}
},
{ // H0e145a.wav
{3,-1,-2,0,0,-4,-4,1,2,-2,-3,1,2,-2,-3,1,1,-5,-5,1,2,-4,-3,5,2,-10,-7,12,11,-16,-20,15,26,-17,-39,12,50,-9,-60,19,101,26,124,1017,2574,3430,2240,-553,-2778,-2687,-720,1160,1567,727,-292,-670,-39,1703,4150,6130,6331,4514,1930,305,360,1360,2007,1666,746,59,-60,23,-239,-938,-1615,-1752,-1301,-730,-544,-797,-1092,-1065,-775,-553,-547,-564,-403,-165,-101,-242,-344,-229,-9,75,-53,-272,-436,-511,-551,-610,-691,-730,-643,-422,-178,-39,-8,26,143,287,334,220,-9,-245,-390,-417,-379,-362,-411,-502,-584,-645,-708,-780,-827,-817,-760,-706,-690,-700,-691,-639,-570,-531,-531,-541,-534,-514,-498,-491,-494,-512,-542,-561,-533,-457,-375,-331,-333,-356,-371,-367,-344,-309,-269,-234,-210,-202,-210,-228,-246,-260,-268,-266,-254,-238,-230,-237,-252,-260,-254,-239,-223,-208,-196,-192,-203,-226,-250,-262,-259,-246,-228,-210,-199,-200,-213,-226,-230,-223,-205,-178,-148,-132,-140,-165,-190,-206,-215,-218,-214,-211,-220,-236,-242,-231,-216,-211,-206,-190,-168,-159,-167,-179,-187,-194,-202,-205,-201,-192,-174,-139,-91,-45,-16,-2,2,-1,-16,-40,-65,-82,-89,-90,-87,-85,-86,-87,-85,-82,-78,-73,-67,-66,-71,-74,-65,-49,-35,-26,-17,-10,-14,-25,-28,-16},
{-7,61,14,-95,-54,99,79,-122,-133,125,180,-152,-267,164,328,-251,140,3619,8446,8886,1668,-8432,-12238,-5981,4439,9826,6766,-504,-5416,-4342,2077,9921,13907,10892,3253,-2263,-719,6024,11317,10447,4578,-1523,-4263,-3457,-1196,282,-76,-1769,-3288,-3453,-2567,-2055,-2771,-3927,-4026,-2732,-1312,-1054,-1712,-2016,-1433,-711,-585,-698,-333,315,365,-392,-1157,-1269,-1017,-1004,-1266,-1487,-1656,-1940,-2148,-1944,-1514,-1409,-1670,-1683,-1123,-523,-537,-1008,-1246,-993,-629,-498,-509,-477,-467,-579,-687,-627,-482,-447,-508,-487,-348,-268,-357,-490,-474,-297,-124,-107,-244,-413,-491,-450,-358,-304,-313,-353,-384,-383,-339,-271,-239,-280,-338,-325,-253,-232,-312,-395,-370,-267,-192,-173,-150,-104,-86,-110,-110,-55,-16,-56,-126,-133,-75,-27,-31,-69,-131,-222,-303,-306,-234,-176,-194,-249,-270,-250,-230,-231,-247,-279,-327,-353,-318,-237,-166,-137,-138,-148,-155,-141,-94,-43,-31,-55,-67,-46,-32,-55,-89,-88,-55,-22,-1,14,17,-3,-24,-17,12,25,14,8,19,23,-2,-37,-59,-70,-85,-102,-114,-127,-146,-152,-128,-83,-42,-18,-5,-3,-18,-43,-63,-71,-76,-84,-91,-94,-97,-102,-99,-84,-68,-68,-80,-89,-84,-72,-65,-59,-51,-39,-23,0,32,64,83,87,86,95,115,136,149,156,160,156,142,127,115,101,84,81,104,128,113,55}
},
{ // H0e150a.wav
{-2,0,1,-2,-4,-1,2,-1,-3,0,2,0,-2,-1,-1,-4,-2,4,2,-6,-6,7,8,-9,-12,10,17,-12,-27,6,30,-8,-44,2,58,8,-69,-8,104,45,56,849,2531,3791,2940,-2,-2840,-3318,-1414,870,1730,1044,-146,-809,-308,1630,4535,6917,7131,4924,1885,89,297,1544,2307,1895,785,-103,-311,-141,-223,-834,-1624,-1978,-1648,-1006,-661,-835,-1181,-1234,-942,-653,-617,-684,-574,-300,-141,-235,-392,-366,-171,-22,-59,-233,-430,-572,-624,-596,-567,-616,-711,-723,-588,-397,-270,-205,-116,16,104,83,4,-39,-30,-34,-95,-181,-239,-274,-335,-428,-502,-528,-553,-631,-731,-769,-728,-683,-697,-735,-726,-669,-627,-623,-619,-591,-573,-598,-635,-626,-555,-456,-362,-291,-265,-294,-349,-373,-346,-309,-304,-319,-312,-274,-237,-225,-221,-204,-186,-193,-221,-238,-229,-215,-222,-241,-244,-223,-198,-189,-198,-218,-241,-256,-256,-246,-244,-257,-271,-265,-243,-221,-214,-222,-232,-237,-237,-234,-225,-206,-182,-166,-166,-178,-185,-179,-168,-168,-180,-189,-185,-177,-180,-194,-204,-200,-186,-175,-175,-183,-191,-196,-201,-210,-216,-211,-195,-172,-144,-110,-72,-37,-9,9,15,4,-23,-57,-86,-106,-115,-118,-112,-99,-85,-77,-75,-76,-80,-85,-85,-77,-69,-67,-67,-58,-39,-23,-20,-23,-23,-21,-24,-31,-30,-17},
{-21,-35,19,52,-23,-89,-1,107,13,-149,-58,167,86,-219,-146,260,151,-278,1024,5075,8612,6413,-1923,-9565,-9114,-1014,6795,7537,2010,-3785,-5060,-1197,5447,11230,12562,8370,2055,-757,2291,7711,9871,6710,1101,-2748,-3131,-1350,236,142,-1489,-3246,-3694,-2742,-1769,-2104,-3445,-4169,-3271,-1593,-798,-1364,-2135,-1913,-946,-355,-487,-578,-82,430,129,-820,-1490,-1438,-1101,-1000,-1152,-1397,-1734,-2060,-2046,-1638,-1307,-1404,-1554,-1188,-488,-235,-697,-1242,-1233,-822,-560,-593,-636,-556,-529,-648,-749,-700,-598,-559,-520,-387,-237,-229,-363,-471,-423,-258,-120,-110,-215,-340,-403,-401,-382,-374,-359,-332,-313,-301,-267,-223,-228,-286,-307,-238,-164,-195,-294,-318,-225,-135,-135,-164,-135,-81,-89,-146,-161,-114,-85,-119,-158,-142,-100,-95,-131,-173,-213,-264,-303,-295,-253,-239,-277,-323,-321,-265,-198,-169,-200,-271,-328,-325,-267,-200,-162,-152,-159,-174,-180,-149,-89,-46,-51,-72,-60,-26,-22,-67,-118,-131,-106,-62,-7,48,82,85,77,74,56,8,-44,-61,-50,-47,-68,-87,-86,-84,-100,-123,-131,-127,-121,-107,-74,-36,-19,-30,-51,-65,-74,-82,-89,-93,-99,-107,-116,-122,-121,-108,-79,-46,-32,-44,-63,-71,-70,-70,-67,-53,-33,-16,2,33,69,91,95,97,108,121,126,130,140,148,140,123,114,112,103,90,89,96,85,44}
},
{ // H0e155a.wav
{2,1,-2,-1,2,1,-3,0,4,2,-2,-1,1,-2,-3,4,6,-2,-5,6,9,-6,-12,9,21,-7,-30,1,35,3,-46,-12,60,30,-62,-29,97,63,17,710,2462,4066,3574,589,-2775,-3845,-2111,490,1799,1330,41,-878,-545,1517,4852,7696,8011,5420,1836,-209,172,1744,2660,2156,848,-217,-537,-384,-354,-792,-1521,-2028,-1947,-1407,-918,-862,-1128,-1291,-1129,-842,-715,-723,-631,-394,-247,-339,-489,-430,-180,-9,-86,-315,-523,-647,-709,-720,-697,-681,-679,-629,-505,-392,-388,-457,-452,-308,-129,-60,-123,-215,-231,-160,-76,-54,-101,-160,-177,-162,-169,-229,-321,-406,-469,-520,-572,-633,-695,-733,-724,-678,-646,-668,-733,-788,-795,-752,-674,-572,-468,-394,-367,-365,-347,-306,-272,-266,-276,-279,-278,-293,-319,-319,-271,-201,-155,-157,-189,-222,-239,-239,-226,-208,-195,-193,-195,-191,-183,-181,-191,-203,-206,-205,-217,-250,-295,-329,-337,-318,-280,-231,-184,-163,-183,-229,-264,-270,-258,-248,-238,-215,-184,-168,-174,-184,-181,-165,-146,-136,-132,-132,-138,-150,-165,-177,-184,-184,-179,-173,-170,-172,-178,-188,-197,-199,-191,-173,-146,-110,-67,-27,-1,8,1,-21,-57,-95,-122,-132,-129,-121,-108,-93,-81,-75,-74,-74,-75,-80,-87,-91,-87,-77,-66,-56,-47,-35,-23,-16,-19,-30,-40,-40,-31,-19,-9,-3},
{23,14,-29,-24,40,46,-46,-76,40,103,-36,-145,15,184,2,-242,-28,302,16,-147,1833,5882,7968,4087,-3854,-8659,-5648,1793,6122,3983,-1214,-4208,-2926,1475,6869,10872,11116,7254,2454,982,3719,7166,7348,3889,-230,-2127,-1481,-69,231,-1059,-2864,-3654,-2938,-1782,-1661,-2803,-3916,-3674,-2224,-971,-949,-1729,-2085,-1501,-643,-316,-417,-285,179,310,-316,-1207,-1575,-1311,-962,-955,-1243,-1606,-1887,-1922,-1634,-1276,-1224,-1414,-1329,-750,-180,-208,-711,-1060,-977,-772,-754,-814,-742,-614,-624,-744,-789,-715,-630,-574,-466,-303,-216,-288,-415,-434,-308,-144,-69,-122,-250,-363,-399,-362,-302,-267,-276,-316,-346,-317,-233,-169,-189,-244,-232,-147,-97,-151,-226,-206,-106,-40,-57,-99,-119,-153,-219,-261,-232,-179,-181,-230,-247,-206,-162,-159,-178,-196,-223,-257,-261,-220,-193,-243,-345,-409,-388,-312,-233,-178,-164,-188,-222,-230,-210,-197,-205,-212,-200,-182,-164,-127,-76,-56,-90,-133,-131,-94,-73,-76,-63,-15,35,56,54,50,43,30,19,11,-4,-32,-56,-65,-68,-78,-90,-94,-96,-100,-93,-72,-60,-77,-106,-112,-95,-87,-97,-102,-90,-83,-94,-107,-101,-87,-86,-99,-107,-105,-99,-89,-72,-52,-43,-47,-54,-55,-49,-42,-35,-28,-13,13,42,63,75,87,104,116,121,125,134,139,128,112,107,109,99,84,86,102,95,51}
},
{ // H0e160a.wav
{-3,-1,3,1,-2,0,4,2,-2,-1,2,-1,-3,2,5,-1,-4,7,11,-5,-14,6,22,-4,-32,-5,36,9,-48,-20,60,39,-64,-42,102,85,-11,601,2409,4294,4112,1125,-2648,-4235,-2727,53,1735,1544,277,-849,-749,1346,5106,8495,8983,5986,1767,-584,7,1976,3066,2432,893,-325,-713,-596,-556,-901,-1507,-1991,-2045,-1693,-1263,-1076,-1154,-1258,-1199,-1026,-883,-773,-599,-395,-335,-471,-595,-493,-234,-79,-145,-318,-471,-614,-780,-899,-895,-816,-757,-715,-613,-460,-357,-355,-386,-374,-330,-298,-283,-276,-308,-398,-484,-459,-303,-117,-9,11,-2,-30,-104,-230,-343,-376,-349,-347,-424,-541,-628,-665,-693,-741,-780,-763,-687,-610,-590,-625,-656,-620,-508,-369,-269,-237,-253,-282,-309,-336,-355,-343,-288,-213,-159,-146,-163,-186,-204,-218,-227,-229,-224,-215,-205,-199,-199,-203,-196,-169,-135,-125,-151,-193,-225,-250,-286,-334,-364,-352,-306,-251,-208,-188,-196,-224,-259,-283,-285,-263,-227,-199,-192,-201,-205,-195,-178,-162,-141,-111,-92,-103,-139,-171,-185,-187,-182,-163,-132,-110,-111,-124,-131,-134,-149,-175,-188,-174,-141,-106,-74,-44,-20,-13,-28,-58,-92,-124,-149,-162,-157,-136,-109,-87,-75,-66,-56,-52,-62,-80,-95,-98,-93,-83,-70,-55,-40,-29,-26,-32,-42,-47,-43,-37,-37,-33,-10,23,38,24},
{-18,-2,25,5,-37,-14,49,27,-67,-59,66,78,-80,-125,72,163,-79,-227,75,285,-99,48,2438,6111,6980,2469,-4242,-6883,-3254,2238,3955,1211,-2169,-2920,-894,2669,6788,10053,10416,7353,3393,1926,3533,5526,5182,2577,-39,-932,-402,11,-724,-2219,-3227,-2998,-2048,-1594,-2236,-3328,-3688,-2846,-1520,-857,-1240,-1917,-1881,-1045,-276,-229,-527,-414,82,187,-453,-1237,-1449,-1161,-956,-1098,-1387,-1624,-1777,-1758,-1477,-1121,-1012,-1116,-1039,-637,-276,-309,-576,-703,-665,-725,-937,-1056,-945,-773,-725,-749,-711,-620,-562,-538,-483,-402,-362,-373,-368,-304,-202,-108,-66,-111,-233,-352,-385,-330,-264,-244,-262,-285,-288,-259,-198,-139,-118,-123,-112,-78,-71,-115,-163,-161,-124,-103,-111,-120,-130,-175,-262,-336,-353,-329,-305,-295,-283,-257,-221,-185,-163,-174,-215,-246,-231,-198,-205,-266,-335,-368,-362,-329,-274,-216,-188,-196,-198,-164,-127,-138,-189,-233,-253,-261,-255,-210,-134,-79,-73,-79,-54,-15,-6,-27,-39,-21,5,14,5,-9,-19,-20,-12,-10,-24,-45,-53,-51,-59,-77,-83,-71,-59,-61,-66,-65,-75,-111,-152,-165,-151,-140,-142,-137,-116,-90,-76,-72,-69,-69,-81,-101,-114,-113,-103,-90,-73,-54,-37,-25,-18,-16,-19,-24,-24,-15,0,18,41,70,96,113,121,130,135,124,103,93,101,105,90,75,85,108,102,54}
},
{ // H0e165a.wav
{3,1,-2,1,5,3,-2,-1,2,-1,-3,2,6,-1,-6,4,11,-4,-15,5,24,-3,-37,-13,36,15,-48,-30,56,47,-62,-57,94,99,-20,528,2361,4464,4561,1621,-2464,-4506,-3247,-377,1589,1652,475,-754,-858,1170,5219,9146,9960,6711,1845,-963,-275,2134,3513,2789,961,-466,-905,-767,-706,-1019,-1575,-2037,-2145,-1895,-1523,-1284,-1235,-1247,-1216,-1163,-1109,-954,-626,-291,-243,-516,-762,-652,-285,-56,-163,-419,-574,-624,-717,-880,-998,-1001,-926,-816,-671,-526,-458,-475,-474,-369,-227,-198,-337,-539,-648,-598,-453,-330,-301,-342,-367,-313,-197,-90,-46,-64,-113,-169,-229,-297,-366,-420,-452,-468,-480,-487,-489,-502,-554,-641,-715,-723,-662,-572,-479,-386,-306,-280,-323,-389,-410,-373,-318,-283,-266,-252,-241,-230,-206,-165,-139,-157,-201,-217,-189,-166,-193,-243,-253,-207,-148,-123,-133,-152,-170,-194,-223,-249,-273,-303,-329,-329,-293,-244,-212,-211,-238,-278,-309,-310,-277,-232,-202,-192,-190,-183,-169,-158,-155,-158,-159,-151,-140,-141,-161,-188,-199,-183,-153,-123,-99,-78,-59,-48,-52,-74,-106,-133,-146,-147,-142,-128,-102,-75,-60,-57,-55,-54,-73,-118,-168,-194,-190,-171,-147,-113,-75,-50,-47,-54,-58,-62,-73,-86,-88,-77,-63,-53,-46,-40,-38,-37,-34,-34,-41,-48,-44,-33,-23,-4,36,81,89,50},
{14,-1,-17,4,24,-4,-36,1,52,9,-72,-34,75,46,-98,-83,107,119,-125,-174,141,219,-160,272,2781,5925,6070,1746,-3677,-5315,-2367,1264,1923,35,-1570,-1394,136,2631,6137,9546,10511,8009,4070,1869,2403,3836,3961,2494,786,-69,-270,-673,-1603,-2523,-2752,-2284,-1801,-1939,-2647,-3263,-3142,-2247,-1233,-896,-1369,-1904,-1666,-741,-46,-147,-572,-572,-202,-142,-609,-1056,-1040,-837,-930,-1293,-1552,-1587,-1574,-1558,-1394,-1092,-874,-814,-729,-518,-359,-421,-588,-644,-598,-629,-787,-935,-980,-967,-936,-839,-650,-465,-406,-478,-570,-579,-500,-396,-311,-231,-126,-30,-31,-161,-323,-380,-310,-218,-198,-238,-273,-266,-218,-144,-68,-30,-38,-51,-41,-49,-125,-230,-269,-219,-163,-167,-201,-210,-209,-247,-315,-347,-330,-317,-341,-365,-342,-283,-227,-188,-159,-153,-180,-214,-216,-206,-238,-318,-381,-370,-299,-225,-183,-174,-189,-220,-247,-253,-242,-226,-208,-194,-197,-214,-213,-171,-112,-77,-66,-45,-12,-5,-42,-91,-109,-99,-87,-76,-51,-17,7,15,17,13,-5,-29,-44,-50,-59,-72,-77,-74,-77,-87,-92,-93,-105,-134,-161,-170,-170,-175,-172,-147,-110,-87,-81,-76,-67,-68,-83,-101,-109,-108,-100,-82,-54,-27,-10,-4,-8,-17,-25,-23,-15,-8,2,26,62,93,106,112,121,125,114,96,87,85,78,71,77,91,84,45}
},
{ // H0e170a.wav
{-2,0,3,1,-2,0,1,-3,-5,2,6,-3,-9,3,11,-4,-16,4,24,-2,-38,-14,36,15,-51,-34,55,50,-65,-67,91,107,-24,501,2372,4621,4890,1977,-2309,-4657,-3603,-731,1389,1645,602,-625,-857,1073,5280,9636,10814,7478,2092,-1209,-565,2188,3886,3159,1088,-571,-1111,-983,-889,-1124,-1585,-2029,-2248,-2159,-1854,-1525,-1305,-1200,-1178,-1229,-1277,-1143,-744,-304,-194,-485,-801,-748,-381,-103,-158,-407,-605,-705,-815,-965,-1077,-1089,-1010,-863,-686,-558,-533,-552,-520,-455,-463,-548,-570,-452,-318,-328,-455,-531,-493,-445,-467,-488,-406,-259,-178,-209,-268,-274,-258,-288,-355,-370,-281,-141,-59,-99,-238,-398,-510,-554,-549,-529,-512,-493,-462,-426,-402,-400,-402,-386,-353,-336,-356,-390,-392,-343,-273,-217,-181,-154,-140,-160,-212,-259,-266,-233,-193,-170,-162,-155,-141,-127,-123,-135,-162,-198,-237,-278,-316,-342,-346,-330,-298,-251,-198,-163,-175,-229,-289,-317,-308,-276,-235,-197,-171,-160,-152,-137,-126,-139,-172,-197,-199,-190,-188,-192,-182,-151,-111,-82,-69,-62,-48,-30,-19,-23,-39,-61,-87,-117,-142,-149,-139,-120,-98,-75,-57,-58,-86,-131,-172,-196,-198,-181,-150,-116,-89,-74,-69,-69,-69,-66,-63,-63,-65,-65,-60,-51,-39,-28,-24,-31,-41,-43,-33,-24,-25,-26,-18,-2,15,42,83,117,108,55},
{-10,2,10,-7,-18,4,20,-8,-30,8,42,-7,-64,-16,67,21,-92,-50,103,75,-128,-116,151,145,-154,448,2847,5547,5497,1726,-2874,-4495,-2594,-1,808,111,-518,-454,219,2040,5564,9508,11030,8649,4195,1105,1031,2662,3653,3015,1471,109,-728,-1320,-1864,-2214,-2208,-1990,-1917,-2208,-2714,-2999,-2679,-1822,-1039,-956,-1492,-1839,-1380,-466,14,-239,-640,-621,-364,-392,-742,-972,-853,-647,-678,-972,-1378,-1742,-1866,-1581,-1033,-672,-734,-916,-791,-412,-216,-396,-673,-735,-630,-589,-668,-747,-777,-822,-893,-896,-778,-606,-481,-432,-431,-448,-462,-445,-383,-290,-196,-125,-98,-129,-201,-261,-260,-202,-141,-125,-150,-175,-158,-100,-41,-21,-43,-75,-103,-148,-228,-315,-351,-322,-271,-246,-252,-267,-288,-323,-359,-365,-333,-293,-275,-271,-257,-228,-201,-189,-186,-184,-189,-201,-216,-235,-263,-304,-346,-364,-338,-275,-209,-170,-164,-172,-186,-213,-251,-269,-245,-204,-186,-186,-162,-106,-68,-78,-106,-109,-98,-113,-152,-167,-136,-94,-74,-63,-35,1,20,23,29,38,28,-8,-51,-79,-92,-102,-111,-113,-102,-84,-74,-82,-105,-134,-163,-190,-208,-205,-178,-140,-109,-88,-73,-66,-72,-87,-96,-93,-83,-76,-70,-58,-40,-22,-12,-11,-12,-12,-9,-6,-3,3,14,30,51,76,101,116,118,111,100,86,70,63,71,81,69,33}
},
{ // H0e175a.wav
{5,2,-2,0,2,-3,-5,3,7,-2,-9,2,10,-5,-15,7,25,-4,-40,-13,40,18,-51,-34,57,49,-69,-69,92,103,-32,512,2439,4762,5090,2186,-2163,-4649,-3763,-1002,1137,1537,666,-484,-775,1058,5302,9906,11397,8170,2555,-1137,-712,2144,4088,3468,1277,-589,-1266,-1189,-1107,-1305,-1650,-1970,-2202,-2306,-2217,-1918,-1510,-1179,-1083,-1222,-1386,-1286,-841,-337,-185,-464,-811,-828,-519,-224,-187,-343,-528,-710,-926,-1125,-1210,-1174,-1075,-919,-696,-510,-524,-727,-879,-772,-484,-285,-318,-479,-590,-590,-531,-467,-424,-430,-492,-546,-515,-411,-339,-378,-483,-551,-539,-474,-371,-204,5,137,84,-111,-280,-312,-253,-216,-236,-276,-319,-384,-457,-470,-394,-294,-265,-321,-401,-457,-487,-495,-459,-375,-279,-213,-178,-154,-149,-185,-249,-290,-279,-242,-221,-215,-199,-162,-119,-89,-87,-117,-166,-209,-234,-259,-309,-372,-405,-380,-314,-243,-183,-143,-139,-180,-239,-274,-267,-241,-222,-211,-200,-189,-180,-168,-153,-146,-158,-181,-196,-193,-181,-169,-156,-136,-106,-73,-46,-27,-15,-3,9,11,-10,-50,-90,-115,-128,-135,-134,-122,-102,-84,-76,-82,-105,-140,-177,-200,-200,-181,-153,-124,-100,-82,-71,-67,-71,-78,-78,-69,-61,-62,-63,-49,-25,-9,-11,-18,-19,-18,-26,-36,-34,-21,-8,4,24,51,74,91,106,112,92,45},
{4,-5,-9,1,6,-6,-10,8,15,-10,-23,10,33,-10,-52,-7,54,10,-75,-32,84,48,-107,-77,133,103,-107,538,2745,5193,5246,1965,-2335,-4341,-3176,-816,586,690,261,-181,-139,1484,5313,9739,11508,8883,3780,91,-33,2165,3861,3491,1655,-175,-1188,-1533,-1666,-1794,-1886,-1940,-2064,-2335,-2629,-2658,-2221,-1496,-1000,-1098,-1534,-1632,-1074,-321,-71,-408,-759,-686,-414,-400,-672,-853,-748,-586,-654,-938,-1239,-1439,-1518,-1436,-1179,-870,-681,-638,-608,-508,-414,-425,-519,-601,-638,-666,-697,-693,-642,-600,-624,-692,-731,-701,-627,-547,-464,-374,-317,-347,-443,-486,-384,-188,-46,-32,-81,-102,-91,-103,-142,-153,-120,-100,-135,-183,-180,-133,-109,-144,-209,-271,-332,-394,-427,-408,-364,-336,-324,-301,-271,-268,-301,-329,-316,-277,-247,-231,-202,-151,-103,-94,-131,-191,-243,-270,-280,-295,-325,-360,-378,-362,-314,-244,-174,-126,-112,-126,-152,-184,-219,-244,-249,-241,-238,-235,-207,-154,-112,-108,-122,-125,-120,-131,-156,-166,-146,-115,-93,-72,-39,-2,23,36,45,46,26,-16,-62,-100,-126,-138,-133,-114,-91,-75,-73,-88,-118,-155,-186,-202,-204,-193,-168,-134,-105,-90,-82,-75,-72,-79,-89,-89,-79,-71,-66,-57,-37,-14,1,5,2,-4,-9,-12,-14,-13,-4,16,43,67,84,99,111,108,88,69,70,80,71,36}
},
{ // H0e180a.wav
{-3,0,1,-6,-7,3,6,-7,-12,3,11,-8,-19,8,27,-7,-44,-11,42,11,-59,-30,65,42,-85,-68,106,94,-61,539,2575,4936,5176,2179,-2131,-4506,-3642,-1103,817,1239,620,-292,-550,1152,5287,9948,11663,8683,3148,-715,-589,2081,4078,3631,1506,-483,-1359,-1406,-1339,-1491,-1759,-1978,-2150,-2330,-2446,-2312,-1856,-1296,-1012,-1169,-1478,-1440,-913,-312,-158,-477,-802,-765,-499,-363,-451,-559,-560,-587,-795,-1109,-1318,-1316,-1162,-977,-855,-838,-875,-835,-651,-433,-354,-441,-543,-545,-515,-569,-685,-723,-625,-485,-424,-453,-497,-517,-550,-627,-692,-649,-481,-296,-216,-246,-275,-215,-99,-20,-13,-34,-48,-77,-149,-240,-296,-291,-245,-193,-164,-184,-255,-341,-398,-421,-438,-459,-455,-405,-338,-296,-282,-268,-244,-230,-234,-244,-247,-247,-244,-226,-188,-147,-122,-112,-114,-138,-192,-259,-307,-326,-336,-354,-362,-337,-280,-220,-175,-144,-126,-135,-179,-233,-258,-242,-216,-212,-228,-238,-225,-199,-172,-144,-116,-102,-116,-149,-177,-186,-181,-164,-128,-71,-15,17,28,36,42,29,-10,-56,-87,-105,-121,-134,-130,-112,-97,-93,-94,-95,-106,-137,-175,-199,-201,-188,-167,-138,-105,-79,-69,-73,-78,-80,-81,-83,-79,-66,-50,-38,-29,-13,4,8,-4,-16,-19,-19,-22,-23,-13,6,28,54,85,108,110,98,89,86,70,35},
{-3,0,1,-6,-7,3,6,-7,-12,3,11,-8,-19,8,27,-7,-44,-11,42,11,-59,-30,65,42,-85,-68,106,94,-61,539,2575,4936,5176,2179,-2131,-4506,-3642,-1103,817,1239,620,-292,-550,1152,5287,9948,11663,8683,3148,-715,-589,2081,4078,3631,1506,-483,-1359,-1406,-1339,-1491,-1759,-1978,-2150,-2330,-2446,-2312,-1856,-1296,-1012,-1169,-1478,-1440,-913,-312,-158,-477,-802,-765,-499,-363,-451,-559,-560,-587,-795,-1109,-1318,-1316,-1162,-977,-855,-838,-875,-835,-651,-433,-354,-441,-543,-545,-515,-569,-685,-723,-625,-485,-424,-453,-497,-517,-550,-627,-692,-649,-481,-296,-216,-246,-275,-215,-99,-20,-13,-34,-48,-77,-149,-240,-296,-291,-245,-193,-164,-184,-255,-341,-398,-421,-438,-459,-455,-405,-338,-296,-282,-268,-244,-230,-234,-244,-247,-247,-244,-226,-188,-147,-122,-112,-114,-138,-192,-259,-307,-326,-336,-354,-362,-337,-280,-220,-175,-144,-126,-135,-179,-233,-258,-242,-216,-212,-228,-238,-225,-199,-172,-144,-116,-102,-116,-149,-177,-186,-181,-164,-128,-71,-15,17,28,36,42,29,-10,-56,-87,-105,-121,-134,-130,-112,-97,-93,-94,-95,-106,-137,-175,-199,-201,-188,-167,-138,-105,-79,-69,-73,-78,-80,-81,-83,-79,-66,-50,-38,-29,-13,4,8,-4,-16,-19,-19,-22,-23,-13,6,28,54,85,108,110,98,89,86,70,35}
}
},
{ // elev10
{ // H10e000a.wav
{1,-8,4,6,-18,-16,25,27,-34,-44,38,64,-47,-104,32,134,-24,-185,-10,227,41,-282,-78,337,86,-63,2151,6513,8336,3567,-4493,-7414,-2147,4057,2522,-5078,-8329,-1622,8350,11054,5107,-804,1040,8933,14877,13376,5674,-2758,-6807,-4697,1184,5760,4990,-694,-6827,-9110,-7009,-3242,-610,10,-827,-2260,-3381,-3296,-1829,-4,816,347,-456,-674,-356,-74,-59,-168,-336,-578,-697,-479,-133,-108,-430,-630,-450,-206,-256,-462,-473,-271,-99,-24,60,126,44,-116,-159,-147,-366,-842,-1173,-1016,-519,-98,16,-124,-392,-687,-913,-1036,-1131,-1251,-1309,-1205,-1007,-879,-863,-879,-881,-896,-900,-822,-664,-523,-447,-393,-351,-376,-460,-483,-379,-251,-244,-358,-480,-543,-572,-589,-571,-504,-412,-314,-213,-129,-104,-151,-224,-262,-244,-193,-160,-182,-251,-304,-284,-209,-158,-186,-271,-342,-358,-333,-313,-329,-370,-384,-339,-255,-194,-186,-205,-212,-205,-208,-224,-232,-212,-174,-139,-116,-99,-88,-85,-90,-98,-108,-122,-136,-139,-122,-96,-76,-61,-40,-17,-11,-30,-51,-55,-54,-74,-112,-141,-150,-148,-144,-136,-121,-103,-78,-38,6,28,11,-27,-51,-43,-6,43,76,79,65,61,70,66,32,-10,-28,-18,-4,2,4,5,9,24,51,69,47,-6,-42,-24,28,69,76,66,66,87,114,117,84,33,1,9,40,59,52,31,11},
{1,-8,4,6,-18,-16,25,27,-34,-44,38,64,-47,-104,32,134,-24,-185,-10,227,41,-282,-78,337,86,-63,2151,6513,8336,3567,-4493,-7414,-2147,4057,2522,-5078,-8329,-1622,8350,11054,5107,-804,1040,8933,14877,13376,5674,-2758,-6807,-4697,1184,5760,4990,-694,-6827,-9110,-7009,-3242,-610,10,-827,-2260,-3381,-3296,-1829,-4,816,347,-456,-674,-356,-74,-59,-168,-336,-578,-697,-479,-133,-108,-430,-630,-450,-206,-256,-462,-473,-271,-99,-24,60,126,44,-116,-159,-147,-366,-842,-1173,-1016,-519,-98,16,-124,-392,-687,-913,-1036,-1131,-1251,-1309,-1205,-1007,-879,-863,-879,-881,-896,-900,-822,-664,-523,-447,-393,-351,-376,-460,-483,-379,-251,-244,-358,-480,-543,-572,-589,-571,-504,-412,-314,-213,-129,-104,-151,-224,-262,-244,-193,-160,-182,-251,-304,-284,-209,-158,-186,-271,-342,-358,-333,-313,-329,-370,-384,-339,-255,-194,-186,-205,-212,-205,-208,-224,-232,-212,-174,-139,-116,-99,-88,-85,-90,-98,-108,-122,-136,-139,-122,-96,-76,-61,-40,-17,-11,-30,-51,-55,-54,-74,-112,-141,-150,-148,-144,-136,-121,-103,-78,-38,6,28,11,-27,-51,-43,-6,43,76,79,65,61,70,66,32,-10,-28,-18,-4,2,4,5,9,24,51,69,47,-6,-42,-24,28,69,76,66,66,87,114,117,84,33,1,9,40,59,52,31,11}
},
{ // H10e005a.wav
{-7,3,-2,-6,4,1,-18,-13,22,20,-30,-36,31,47,-44,-81,34,105,-34,-155,2,186,19,-232,-44,274,50,57,2158,5926,7245,2895,-3959,-6134,-1433,3641,1888,-4770,-7261,-1147,7419,9455,4222,-537,1565,8568,13415,11712,4984,-1984,-5141,-3323,1381,4858,3904,-1001,-6061,-7740,-5799,-2713,-788,-494,-1150,-2091,-2790,-2656,-1515,-109,502,111,-487,-570,-270,-118,-249,-402,-436,-433,-401,-272,-165,-308,-630,-756,-531,-241,-189,-291,-289,-147,-6,82,142,111,-61,-212,-152,-14,-152,-624,-1026,-962,-517,-127,-114,-431,-788,-917,-780,-605,-652,-912,-1113,-1065,-880,-770,-761,-735,-669,-659,-734,-823,-878,-907,-873,-711,-485,-375,-456,-576,-562,-447,-390,-448,-523,-531,-501,-496,-518,-515,-451,-341,-230,-164,-161,-206,-266,-306,-301,-248,-187,-180,-231,-278,-261,-209,-196,-235,-274,-276,-264,-269,-284,-291,-301,-326,-337,-299,-227,-179,-182,-207,-215,-204,-201,-207,-200,-170,-133,-110,-103,-98,-88,-82,-85,-91,-98,-112,-136,-156,-150,-111,-61,-27,-22,-37,-54,-63,-69,-81,-99,-113,-121,-128,-133,-125,-104,-91,-100,-113,-101,-65,-35,-30,-37,-39,-30,-12,14,44,64,71,75,82,76,45,3,-24,-25,-11,6,17,17,11,17,40,56,39,-1,-21,1,40,62,60,51,54,73,102,116,92,37,-3,2,34,48,28},
{-4,12,-8,-29,7,44,-8,-68,-5,87,14,-123,-52,140,78,-183,-144,204,215,-231,-303,251,353,-217,861,5238,9380,7096,-1738,-8529,-5797,2363,4650,-2428,-9223,-5443,6052,12769,8444,249,-915,6707,15085,16140,9081,-778,-7261,-7103,-1394,4965,6501,1732,-5421,-9472,-8460,-4781,-1713,-446,-487,-1362,-2755,-3702,-3078,-1093,614,800,-63,-681,-582,-264,-130,-78,-80,-368,-845,-960,-500,-23,-72,-384,-366,-52,3,-354,-648,-525,-200,-9,48,93,44,-197,-466,-538,-483,-546,-769,-931,-833,-493,-94,136,49,-304,-702,-1010,-1300,-1619,-1794,-1634,-1261,-1004,-1012,-1151,-1262,-1285,-1145,-770,-300,-52,-146,-344,-374,-277,-250,-307,-292,-171,-99,-185,-364,-514,-588,-589,-529,-447,-397,-372,-306,-177,-56,-27,-87,-166,-205,-194,-170,-192,-271,-342,-321,-221,-152,-186,-277,-339,-347,-336,-334,-347,-379,-413,-403,-320,-208,-148,-164,-203,-216,-211,-222,-246,-251,-220,-170,-126,-102,-96,-100,-102,-96,-88,-90,-108,-133,-153,-153,-127,-78,-23,11,11,-7,-18,-20,-36,-83,-141,-176,-179,-166,-143,-107,-68,-49,-48,-35,5,41,37,4,-20,-16,6,34,63,86,91,82,74,63,38,-2,-35,-40,-21,5,21,19,7,10,38,62,43,-14,-58,-50,-5,37,57,62,67,88,129,165,148,71,-6,-20,22,58,53,32,27,28,16}
},
{ // H10e010a.wav
{-1,-9,-1,6,-1,-2,5,0,-15,-4,24,11,-32,-22,36,32,-48,-55,51,78,-59,-123,43,157,-31,-194,29,236,-11,242,2470,5687,6110,1711,-3884,-4780,-402,3094,634,-4759,-5600,256,6746,7355,3023,297,3090,8682,11616,9396,3843,-1404,-3555,-1971,1542,3745,2443,-1525,-5125,-6070,-4621,-2575,-1240,-795,-1007,-1663,-2291,-2211,-1263,-160,263,-21,-367,-368,-241,-301,-470,-486,-332,-194,-169,-240,-418,-677,-816,-646,-293,-88,-136,-213,-136,0,44,33,58,57,-63,-210,-227,-163,-219,-431,-604,-586,-456,-393,-466,-613,-721,-698,-544,-410,-476,-732,-965,-1005,-903,-804,-746,-681,-615,-616,-702,-831,-959,-1044,-1016,-843,-628,-527,-567,-624,-600,-541,-533,-563,-556,-498,-442,-434,-462,-493,-498,-452,-354,-247,-192,-212,-270,-308,-301,-266,-240,-245,-264,-258,-217,-177,-171,-196,-219,-225,-222,-222,-229,-254,-297,-331,-321,-270,-222,-211,-218,-209,-184,-173,-187,-202,-195,-167,-135,-112,-98,-92,-91,-93,-95,-100,-110,-121,-131,-141,-149,-143,-112,-70,-45,-50,-65,-68,-65,-77,-105,-130,-140,-138,-128,-107,-84,-81,-105,-130,-124,-88,-55,-46,-50,-46,-24,7,34,48,50,50,57,65,59,36,11,-3,-8,-7,-6,-9,-14,-7,21,56,68,44,6,-11,3,31,52,57,53,56,75,99,100,65,20,-3,0,5},
{9,-27,-10,50,26,-66,-46,83,75,-101,-120,105,165,-118,-241,110,332,-82,-426,59,513,-64,81,3795,9317,9749,1679,-7955,-8732,-505,5222,257,-8665,-8355,3085,13323,11602,2045,-2309,4405,15064,18832,12286,792,-7777,-8875,-3218,4157,7140,3161,-4479,-9664,-9248,-5327,-1940,-829,-1061,-1562,-2316,-3194,-3219,-1839,-80,559,-33,-661,-583,-244,-203,-273,-152,-136,-571,-1067,-982,-429,-91,-157,-149,159,324,-18,-533,-668,-368,13,211,150,-206,-719,-974,-699,-219,-137,-578,-1042,-1026,-559,-48,166,30,-276,-539,-734,-1047,-1572,-2055,-2132,-1807,-1469,-1396,-1471,-1447,-1263,-980,-625,-271,-101,-183,-307,-243,-75,-50,-178,-220,-76,51,-45,-292,-473,-501,-457,-424,-413,-410,-388,-309,-164,-18,39,-13,-110,-171,-171,-151,-177,-267,-359,-369,-294,-216,-208,-258,-309,-334,-339,-329,-319,-342,-403,-436,-372,-237,-132,-118,-157,-187,-202,-230,-267,-280,-251,-210,-187,-177,-153,-106,-59,-38,-43,-62,-92,-137,-181,-192,-155,-91,-32,8,28,25,-4,-47,-88,-123,-151,-169,-168,-151,-118,-73,-27,-1,-3,-6,17,56,69,38,-6,-25,-3,42,84,102,91,74,73,80,64,17,-30,-43,-22,6,20,17,7,8,31,59,50,-12,-83,-101,-55,6,34,31,37,78,141,189,187,128,50,7,22,58,61,23,-10,6,54,78,51}
},
{ // H10e015a.wav
{4,8,-2,-9,-2,3,-2,-1,3,-4,-14,0,21,4,-30,-14,34,21,-44,-39,47,51,-63,-88,59,121,-52,-148,64,184,-39,359,2500,5213,5223,1203,-3428,-3889,-181,2455,223,-4043,-4412,437,5554,6072,2969,1218,3543,7760,9845,8027,3661,-551,-2445,-1454,1089,2741,1841,-1072,-3887,-4947,-4230,-2755,-1417,-634,-596,-1242,-1997,-2077,-1280,-255,225,67,-246,-382,-442,-552,-564,-329,-34,-2,-274,-589,-723,-664,-494,-282,-127,-112,-180,-174,-57,41,36,15,58,79,-47,-272,-425,-418,-304,-168,-79,-124,-346,-631,-770,-669,-442,-277,-275,-433,-685,-918,-1026,-995,-907,-830,-762,-696,-675,-727,-808,-858,-883,-913,-920,-864,-770,-709,-694,-673,-624,-590,-596,-599,-558,-497,-465,-475,-497,-512,-512,-479,-398,-293,-221,-215,-258,-295,-290,-256,-234,-250,-276,-263,-201,-138,-124,-155,-191,-208,-208,-207,-214,-237,-276,-306,-296,-250,-206,-191,-194,-188,-172,-168,-185,-202,-194,-166,-138,-122,-114,-107,-105,-111,-117,-115,-110,-117,-141,-163,-162,-137,-104,-80,-69,-64,-60,-61,-70,-89,-112,-132,-146,-151,-144,-125,-105,-97,-96,-87,-64,-43,-39,-48,-52,-43,-26,-5,20,41,47,40,35,39,40,26,4,-8,-4,5,4,-8,-15,-1,32,62,61,33,2,-7,7,32,51,56,47,39,47,70,84,68,33,7},
{-37,33,60,-38,-90,36,122,-34,-175,5,216,14,-292,-77,361,161,-432,-255,506,300,-382,1843,7836,11651,6498,-4816,-10743,-5204,3510,3122,-5801,-10069,-1678,11064,14218,5998,-1694,1464,12529,20040,16689,5092,-6433,-10895,-6722,1807,7459,5479,-2326,-9359,-10628,-6939,-2683,-745,-727,-1274,-2122,-3279,-3744,-2500,-306,837,146,-1048,-1208,-466,33,-104,-333,-364,-512,-867,-990,-697,-415,-410,-285,272,773,550,-209,-649,-381,109,183,-248,-805,-1069,-842,-292,77,-135,-747,-1155,-1016,-556,-178,-36,-84,-251,-443,-585,-795,-1302,-2034,-2547,-2532,-2188,-1872,-1608,-1232,-814,-605,-611,-590,-450,-344,-321,-219,6,130,4,-174,-147,21,63,-91,-260,-314,-322,-382,-460,-464,-366,-209,-53,48,57,-6,-88,-143,-164,-165,-181,-250,-362,-427,-373,-250,-186,-235,-321,-358,-342,-323,-323,-340,-373,-403,-381,-283,-160,-93,-104,-143,-166,-187,-233,-296,-332,-319,-271,-213,-153,-93,-41,-16,-22,-56,-105,-155,-190,-194,-171,-130,-80,-27,8,0,-39,-71,-78,-87,-125,-170,-180,-145,-93,-47,-7,21,27,22,32,62,79,60,19,-10,-6,28,75,108,110,92,83,86,69,21,-28,-43,-27,-5,13,26,26,18,22,45,52,3,-81,-129,-107,-49,-6,12,24,55,111,174,202,166,88,30,28,57,69,48,16,2,18,57,91,86,42}
},
{ // H10e020a.wav
{-5,-5,5,7,-2,-6,2,5,-2,-2,3,0,-8,2,17,3,-23,-8,30,16,-38,-30,41,43,-50,-68,50,95,-45,-111,64,142,-34,389,2313,4661,4622,1109,-2929,-3400,-249,2102,329,-3338,-3873,98,4635,5516,3181,1594,3239,6648,8580,7356,3824,122,-1850,-1388,634,2258,1897,-368,-2983,-4376,-4096,-2734,-1200,-244,-271,-1110,-1977,-2037,-1187,-158,288,71,-348,-605,-667,-575,-320,-25,30,-250,-583,-641,-452,-294,-286,-297,-226,-136,-84,-25,56,71,-8,-59,-4,25,-132,-390,-479,-276,49,225,131,-159,-470,-636,-595,-432,-305,-312,-443,-649,-882,-1071,-1139,-1075,-952,-844,-774,-749,-783,-848,-862,-787,-696,-690,-767,-841,-861,-846,-810,-740,-649,-595,-606,-637,-628,-582,-547,-537,-525,-486,-431,-381,-345,-312,-278,-251,-240,-243,-248,-246,-245,-257,-273,-265,-222,-171,-143,-146,-163,-179,-184,-182,-183,-202,-240,-270,-260,-218,-182,-178,-190,-193,-185,-181,-188,-195,-192,-182,-171,-158,-143,-130,-124,-121,-115,-110,-115,-130,-145,-156,-159,-149,-123,-91,-70,-70,-80,-86,-86,-91,-107,-127,-144,-154,-152,-135,-109,-85,-69,-53,-31,-16,-18,-32,-47,-54,-49,-31,-4,21,35,37,35,29,18,2,-11,-15,-8,5,13,8,-5,-7,12,39,48,32,7,-5,3,22,38,37,21,15,39,77,84,46},
{73,11,-93,-31,123,65,-151,-116,169,170,-201,-262,216,382,-204,-505,205,624,-216,207,5016,11303,10912,1055,-9419,-9611,-1031,3770,-1780,-8934,-5645,6495,14013,9391,533,50,9699,19388,19373,9535,-2679,-9718,-8658,-1828,4918,5994,514,-6830,-10320,-8589,-4822,-2280,-1254,-641,-587,-1938,-3878,-4114,-1865,747,1221,-303,-1593,-1353,-423,-37,-235,-442,-601,-907,-1091,-807,-390,-392,-585,-232,652,1138,678,-139,-476,-333,-296,-577,-823,-730,-396,-101,-23,-201,-560,-916,-1088,-1010,-710,-294,6,-48,-402,-717,-856,-1135,-1851,-2730,-3153,-2857,-2116,-1310,-656,-340,-486,-870,-1007,-717,-345,-232,-249,-104,117,90,-200,-383,-224,88,232,125,-100,-305,-419,-410,-316,-231,-189,-112,57,220,215,20,-205,-292,-232,-163,-210,-351,-447,-400,-269,-193,-229,-310,-350,-341,-319,-312,-332,-383,-431,-409,-295,-155,-78,-75,-92,-103,-144,-234,-328,-359,-313,-234,-175,-145,-121,-87,-54,-42,-54,-80,-119,-175,-229,-245,-210,-152,-105,-71,-40,-12,-6,-26,-62,-101,-133,-145,-132,-97,-47,5,42,48,33,29,53,81,82,57,27,8,10,43,95,127,118,95,92,92,55,-10,-47,-32,-1,8,6,12,20,23,34,53,41,-28,-113,-144,-104,-46,-15,-2,31,95,169,211,191,118,40,10,30,57,56,37,26,38,61,81,85,69,40,14}
},
{ // H10e025a.wav
{6,6,-2,-4,5,9,3,-3,1,4,2,3,7,2,-6,3,17,5,-18,-7,26,16,-29,-24,36,40,-40,-59,43,87,-31,-95,53,131,-18,322,1986,4117,4239,1224,-2473,-3115,-357,1964,592,-2819,-3680,-301,4029,5229,3229,1518,2687,5744,7755,6965,3941,539,-1492,-1349,419,2134,2141,172,-2439,-3986,-3773,-2372,-874,-101,-289,-1101,-1819,-1808,-1043,-145,212,-75,-556,-767,-612,-292,-52,-29,-208,-423,-489,-396,-304,-310,-314,-195,-20,57,20,-27,-54,-113,-166,-89,90,146,-50,-297,-288,12,318,344,55,-362,-662,-692,-489,-275,-271,-488,-752,-938,-1075,-1206,-1265,-1168,-962,-797,-761,-813,-861,-849,-770,-659,-586,-604,-696,-794,-858,-890,-892,-846,-752,-656,-609,-616,-642,-646,-606,-529,-446,-393,-372,-350,-309,-272,-263,-277,-286,-278,-268,-268,-274,-281,-283,-271,-237,-191,-153,-134,-128,-126,-129,-144,-167,-194,-220,-241,-247,-234,-207,-179,-162,-163,-181,-206,-226,-230,-222,-208,-190,-169,-148,-135,-131,-127,-118,-108,-111,-132,-159,-173,-167,-149,-130,-111,-92,-81,-80,-88,-94,-95,-101,-119,-137,-139,-124,-105,-94,-87,-75,-55,-35,-24,-20,-19,-24,-37,-46,-34,-2,24,24,9,7,16,9,-21,-44,-35,-10,0,-7,-6,10,20,16,17,31,37,16,-10,-8,15,27,16,7,18,32,24},
{-50,-82,49,123,-50,-184,20,230,-5,-320,-64,398,150,-484,-253,574,304,-469,1959,8542,12986,7995,-3903,-11140,-7239,471,851,-5495,-7248,1207,11301,11777,3896,-365,6163,17344,21621,14579,1847,-7739,-9343,-4175,2477,5021,1538,-4775,-8777,-8381,-5849,-4145,-3437,-2149,-316,45,-1895,-3976,-3552,-937,1022,595,-972,-1538,-794,-58,-157,-655,-943,-1020,-1039,-897,-609,-493,-607,-469,230,1015,1135,452,-502,-1150,-1213,-696,41,368,3,-528,-487,49,230,-421,-1361,-1714,-1264,-501,15,61,-281,-778,-1222,-1630,-2184,-2836,-3149,-2738,-1789,-912,-530,-587,-792,-913,-847,-620,-385,-288,-279,-209,-94,-112,-293,-401,-237,81,262,193,-8,-193,-302,-324,-269,-187,-130,-65,67,221,252,95,-133,-265,-272,-252,-287,-352,-381,-351,-288,-228,-196,-208,-258,-310,-326,-318,-337,-400,-449,-414,-298,-177,-112,-104,-120,-145,-180,-222,-256,-266,-243,-199,-166,-162,-161,-126,-61,-14,-20,-64,-118,-179,-247,-296,-299,-258,-193,-116,-39,11,18,-6,-37,-70,-105,-123,-107,-70,-39,-19,2,24,38,54,87,118,111,67,27,13,16,33,75,127,145,114,76,69,70,40,-12,-38,-24,-1,5,3,5,16,33,49,43,-5,-79,-128,-124,-81,-37,-6,25,76,145,202,205,146,66,20,25,46,46,25,7,17,51,84,93,75,54,49,48,30}
},
{ // H10e030a.wav
{-2,-5,-1,1,-2,-3,2,4,-1,-4,0,2,-1,0,3,-1,-7,0,12,3,-18,-10,21,17,-25,-30,23,39,-24,-54,20,68,-14,-73,38,105,-30,217,1625,3574,3904,1406,-1968,-2813,-475,1783,780,-2359,-3474,-638,3431,4835,3130,1388,2215,4977,7021,6583,4004,889,-1138,-1202,365,2066,2253,528,-1906,-3399,-3267,-2067,-803,-153,-280,-938,-1577,-1628,-998,-223,52,-254,-629,-611,-278,-40,-111,-326,-426,-361,-265,-243,-256,-200,-57,62,44,-85,-181,-156,-69,-6,54,163,248,178,-14,-110,24,233,239,-39,-426,-683,-698,-523,-326,-293,-494,-809,-1050,-1154,-1199,-1241,-1224,-1094,-916,-806,-797,-821,-814,-764,-686,-607,-573,-614,-703,-784,-834,-868,-888,-861,-774,-674,-613,-595,-583,-555,-518,-480,-438,-389,-342,-310,-297,-294,-291,-296,-317,-345,-350,-315,-266,-248,-262,-260,-214,-153,-124,-128,-133,-129,-133,-150,-166,-175,-195,-228,-247,-231,-198,-185,-194,-201,-200,-210,-239,-258,-241,-200,-173,-175,-180,-163,-132,-113,-118,-131,-134,-132,-141,-162,-180,-176,-150,-119,-99,-93,-92,-87,-84,-91,-108,-124,-127,-117,-101,-87,-81,-84,-88,-79,-51,-17,-1,-9,-25,-32,-27,-21,-20,-21,-23,-26,-27,-24,-19,-22,-35,-47,-44,-27,-7,5,10,18,32,42,34,9,-15,-23,-15,-5,0,-1,-2,-1},
{-39,117,75,-141,-125,155,179,-181,-269,186,385,-166,-502,163,632,-195,-35,4492,11327,12634,4257,-7093,-10779,-5528,-561,-2357,-5767,-2280,6756,11370,6964,1058,3485,13641,21277,18436,7249,-3782,-8159,-5453,192,3653,2163,-2880,-7268,-8069,-6314,-4986,-4927,-4228,-1771,433,-204,-2936,-4212,-2215,791,1484,-363,-2060,-1707,-201,551,22,-935,-1524,-1573,-1169,-588,-343,-617,-773,-110,949,1148,35,-1336,-1640,-767,286,646,294,-215,-345,22,482,416,-376,-1367,-1804,-1466,-776,-263,-142,-372,-868,-1553,-2301,-2890,-3031,-2550,-1657,-933,-814,-1124,-1307,-1086,-685,-410,-293,-235,-255,-386,-511,-496,-389,-313,-247,-90,97,130,-15,-145,-128,-71,-126,-248,-260,-111,72,160,170,179,186,107,-78,-267,-349,-338,-342,-392,-401,-302,-168,-115,-154,-205,-228,-263,-327,-372,-369,-356,-366,-359,-288,-186,-131,-142,-159,-146,-135,-167,-222,-237,-190,-124,-97,-113,-121,-90,-45,-35,-74,-134,-190,-240,-285,-308,-288,-223,-134,-53,-5,8,8,8,-3,-42,-90,-111,-97,-75,-59,-24,35,88,105,105,117,130,108,58,20,21,44,68,92,116,126,118,98,77,51,16,-17,-33,-29,-8,14,25,27,39,65,74,34,-42,-102,-117,-100,-74,-39,12,72,132,188,223,205,134,61,32,38,39,18,2,12,40,71,90,85,55,31,43,75,80,42}
},
{ // H10e035a.wav
{0,1,-3,-5,0,3,-2,-5,0,4,0,-5,-2,2,0,-2,1,-1,-6,-2,9,3,-14,-10,16,17,-20,-29,19,42,-15,-60,1,68,11,-67,4,88,-6,128,1226,2978,3580,1687,-1356,-2497,-684,1503,967,-1806,-3185,-995,2731,4359,3041,1341,1823,4228,6252,6159,4064,1294,-693,-984,308,1929,2305,900,-1298,-2769,-2817,-1881,-819,-213,-241,-765,-1347,-1460,-966,-307,-40,-221,-434,-391,-250,-276,-415,-404,-192,-20,-70,-224,-257,-128,13,46,-1,-34,-7,62,134,196,250,284,252,129,-31,-117,-88,-39,-112,-337,-598,-742,-712,-578,-479,-522,-705,-932,-1107,-1209,-1256,-1237,-1129,-975,-861,-824,-823,-807,-774,-740,-696,-639,-605,-623,-669,-704,-737,-793,-843,-821,-719,-609,-550,-533,-516,-495,-491,-493,-467,-408,-350,-321,-315,-314,-315,-326,-349,-367,-359,-318,-264,-228,-221,-226,-215,-182,-144,-121,-123,-140,-157,-161,-159,-169,-198,-227,-233,-220,-217,-233,-245,-234,-211,-202,-212,-226,-229,-219,-200,-179,-162,-153,-146,-134,-120,-115,-125,-144,-161,-174,-181,-175,-153,-127,-113,-113,-113,-104,-92,-88,-92,-95,-92,-88,-87,-85,-76,-64,-57,-55,-53,-44,-34,-31,-38,-47,-48,-40,-34,-40,-50,-50,-37,-24,-25,-32,-35,-37,-41,-37,-14,17,33,27,17,18,18,1,-27,-41,-30,-9,2,2},
{136,-45,-190,-5,222,35,-292,-115,340,199,-404,-308,480,382,-541,1013,7005,12887,11156,1130,-8596,-10089,-5488,-2725,-3868,-3141,2941,9054,8352,2944,2010,9729,19364,20962,12327,432,-6399,-5594,-661,3025,2343,-1857,-5958,-7039,-5692,-4913,-6021,-6782,-4566,-497,1349,-899,-4245,-4443,-1216,1732,1545,-673,-1996,-1387,-173,264,-148,-854,-1448,-1597,-1112,-439,-319,-670,-593,123,358,-721,-2069,-1886,-85,1445,1240,-30,-688,-171,654,859,381,-346,-1016,-1460,-1491,-1076,-546,-379,-762,-1482,-2216,-2756,-2967,-2697,-1944,-1077,-659,-908,-1421,-1592,-1238,-689,-289,-77,19,-76,-418,-798,-897,-656,-318,-97,3,36,-19,-160,-262,-218,-101,-66,-137,-191,-140,-36,37,87,173,269,259,86,-153,-311,-356,-378,-425,-429,-324,-175,-108,-146,-199,-207,-202,-223,-257,-293,-354,-435,-458,-369,-230,-149,-149,-159,-134,-108,-130,-184,-214,-190,-139,-109,-115,-130,-116,-83,-75,-110,-155,-180,-196,-227,-263,-271,-248,-205,-142,-51,36,73,53,14,-24,-78,-141,-172,-141,-79,-26,12,55,101,130,138,134,119,85,44,18,15,29,52,87,121,135,123,95,60,19,-22,-49,-55,-45,-23,8,39,57,62,57,43,10,-38,-78,-96,-97,-89,-62,-1,88,177,232,232,183,117,68,46,32,8,-16,-14,18,56,74,68,50,31,19,26,55,85,85,48}
},
{ // H10e040a.wav
{-1,-3,0,2,-1,-4,-1,1,-1,-4,-1,4,1,-4,-3,2,1,-2,-1,-1,-4,-2,6,3,-11,-11,11,16,-12,-24,11,37,-5,-51,-10,57,23,-52,-8,77,5,39,852,2393,3230,1955,-691,-2114,-917,1114,1099,-1165,-2771,-1359,1893,3791,3020,1425,1472,3427,5450,5770,4168,1713,-219,-693,303,1753,2264,1223,-673,-2127,-2408,-1756,-868,-286,-209,-553,-993,-1134,-850,-420,-211,-276,-375,-357,-311,-324,-297,-139,6,-71,-301,-375,-136,214,378,303,175,149,212,273,276,211,98,-16,-80,-94,-106,-155,-233,-328,-448,-595,-732,-804,-787,-707,-623,-615,-728,-933,-1138,-1254,-1246,-1144,-1010,-910,-873,-869,-846,-797,-756,-737,-699,-616,-536,-527,-592,-666,-704,-707,-692,-659,-612,-573,-554,-541,-519,-497,-489,-480,-450,-407,-377,-366,-355,-335,-317,-320,-344,-368,-368,-334,-280,-233,-207,-197,-191,-185,-173,-155,-137,-135,-155,-182,-195,-200,-216,-241,-251,-240,-230,-237,-245,-230,-202,-189,-199,-211,-208,-195,-185,-181,-173,-159,-145,-137,-137,-142,-150,-162,-175,-183,-179,-164,-148,-139,-136,-131,-117,-98,-81,-69,-62,-60,-64,-71,-77,-78,-74,-72,-76,-81,-79,-71,-64,-61,-58,-54,-53,-57,-58,-51,-44,-41,-40,-34,-26,-25,-34,-41,-33,-15,-1,-1,-8,-12,-7,3,10,4,-14,-29,-28,-13},
{-98,-136,76,186,-78,-275,38,358,7,-468,-69,592,72,-551,2249,8921,13544,9686,-935,-9415,-10100,-6409,-4262,-3434,304,6428,8817,4957,1239,5376,15714,22135,17592,5684,-4017,-5810,-1710,2550,3057,-142,-4217,-6192,-5466,-4305,-5168,-7364,-7503,-3944,365,1035,-2206,-4986,-3759,-93,1781,459,-1481,-1479,-64,678,80,-882,-1385,-1411,-1007,-199,401,-1,-1151,-1876,-1684,-1346,-1464,-1386,-334,1071,1456,606,-239,-98,594,845,423,-170,-592,-913,-1151,-1120,-846,-768,-1277,-2207,-2945,-3020,-2497,-1811,-1339,-1161,-1167,-1255,-1346,-1328,-1105,-716,-321,-52,40,-87,-434,-820,-933,-655,-249,-73,-169,-265,-178,-36,-53,-218,-327,-265,-129,-77,-127,-166,-101,41,162,200,163,93,12,-76,-178,-294,-408,-464,-408,-260,-123,-84,-132,-182,-184,-164,-175,-235,-322,-389,-403,-360,-293,-237,-197,-157,-111,-76,-69,-97,-152,-203,-209,-172,-143,-163,-198,-179,-108,-52,-59,-102,-139,-172,-217,-254,-256,-221,-168,-97,-6,76,109,85,25,-50,-126,-176,-174,-130,-75,-28,16,64,107,140,163,167,135,74,19,-4,1,20,54,102,143,157,137,93,41,-8,-45,-65,-70,-59,-29,13,51,70,75,71,53,14,-32,-68,-86,-94,-90,-55,26,133,218,247,223,173,121,73,36,16,8,1,0,20,58,79,62,33,32,47,42,25,40,91,115,71}
},
{ // H10e045a.wav
{0,2,1,-1,0,1,-1,-3,0,3,1,-3,-1,4,3,-1,-1,2,1,-1,1,2,0,-2,3,5,-4,-8,6,17,1,-16,2,27,4,-37,-15,46,36,-34,-25,55,28,5,532,1790,2789,2157,18,-1624,-1107,657,1149,-507,-2256,-1653,1025,3143,2962,1550,1194,2665,4625,5329,4253,2181,343,-346,282,1510,2155,1504,-69,-1495,-1995,-1604,-857,-250,-31,-238,-694,-1041,-994,-616,-239,-107,-179,-290,-359,-386,-345,-218,-75,-11,2,101,334,573,652,546,354,170,36,-30,-41,-52,-118,-217,-275,-268,-262,-331,-473,-621,-717,-751,-754,-762,-777,-768,-716,-672,-729,-915,-1137,-1261,-1228,-1088,-942,-858,-843,-852,-833,-775,-708,-659,-613,-546,-481,-471,-526,-592,-618,-606,-593,-592,-587,-566,-536,-511,-499,-499,-497,-481,-452,-420,-393,-369,-345,-331,-338,-358,-372,-367,-344,-307,-259,-211,-184,-187,-204,-212,-202,-185,-176,-181,-195,-210,-221,-228,-233,-232,-226,-221,-222,-222,-213,-200,-193,-191,-183,-169,-167,-183,-199,-195,-178,-170,-175,-177,-167,-156,-158,-170,-175,-170,-161,-154,-143,-125,-108,-104,-106,-97,-72,-50,-47,-60,-70,-71,-73,-84,-96,-98,-89,-81,-79,-75,-63,-52,-53,-64,-73,-71,-63,-55,-45,-31,-17,-13,-18,-23,-23,-22,-27,-33,-32,-25,-20,-16,-6,9,18,12,0,-4},
{-137,126,176,-133,-253,118,340,-98,-454,72,582,-119,-406,3127,10021,13877,8988,-1984,-10276,-11004,-7447,-4487,-1857,2888,7670,7506,2939,1706,9101,19655,22333,13331,387,-6114,-3643,1970,4182,1604,-2694,-5214,-4875,-3383,-3507,-6146,-8728,-7626,-2795,1239,398,-3785,-5858,-3238,806,1756,-486,-2274,-1441,472,1125,342,-633,-1165,-1225,-542,752,1249,-335,-2986,-4117,-2781,-829,-285,-779,-588,631,1513,1147,261,-28,319,565,351,-101,-559,-960,-1159,-1051,-977,-1524,-2678,-3557,-3286,-2040,-901,-707,-1275,-1808,-1813,-1440,-1058,-796,-562,-303,-108,-87,-273,-584,-822,-782,-456,-119,-74,-313,-517,-433,-156,25,-29,-194,-287,-267,-226,-228,-237,-179,-51,74,129,116,71,15,-44,-94,-144,-234,-356,-422,-351,-195,-95,-103,-146,-152,-143,-162,-192,-207,-240,-315,-377,-355,-271,-202,-168,-122,-53,-15,-47,-119,-185,-229,-250,-247,-232,-219,-193,-131,-57,-26,-46,-75,-93,-125,-184,-229,-228,-198,-157,-85,24,116,132,87,31,-26,-101,-173,-190,-146,-89,-47,4,76,140,164,155,138,109,59,5,-20,-4,39,86,124,149,156,141,99,31,-36,-73,-78,-71,-61,-34,17,68,89,81,65,46,17,-21,-59,-87,-100,-87,-31,68,177,249,254,205,147,113,93,57,8,-18,-4,30,54,63,67,63,51,46,55,52,22,4,45,116,136,76}
},
{ // H10e050a.wav
{1,-1,-1,1,1,-1,-2,-1,-1,-2,-2,0,-1,-3,-2,1,1,-1,-1,0,-2,-4,-1,3,0,-6,-3,3,-1,-9,-1,14,8,-14,-13,14,16,-17,-26,13,31,-8,-23,31,37,-8,279,1218,2269,2229,700,-1014,-1185,143,1033,91,-1604,-1766,185,2366,2782,1682,1025,2011,3841,4852,4253,2573,905,86,351,1263,1939,1669,521,-738,-1381,-1293,-842,-400,-146,-157,-419,-733,-810,-573,-272,-204,-381,-551,-504,-255,38,240,314,320,370,522,691,699,471,140,-91,-149,-125,-131,-205,-325,-454,-536,-524,-448,-413,-497,-658,-778,-792,-741,-712,-743,-792,-796,-746,-714,-789,-971,-1149,-1201,-1113,-978,-883,-835,-798,-758,-727,-708,-678,-618,-532,-454,-421,-451,-517,-569,-575,-546,-520,-521,-542,-560,-557,-535,-509,-492,-482,-467,-442,-417,-405,-403,-394,-375,-360,-357,-351,-324,-286,-259,-251,-248,-238,-231,-240,-258,-263,-247,-224,-214,-217,-216,-206,-201,-212,-224,-219,-200,-190,-196,-200,-187,-172,-175,-192,-201,-195,-188,-192,-203,-206,-199,-192,-191,-187,-175,-162,-154,-151,-146,-140,-134,-128,-119,-112,-111,-110,-101,-84,-68,-63,-68,-78,-88,-95,-94,-86,-78,-78,-82,-81,-72,-66,-71,-83,-89,-86,-78,-65,-46,-25,-13,-14,-18,-18,-17,-26,-42,-50,-42,-26,-19,-22,-21,-6,15,23,14},
{115,115,-129,-205,115,292,-102,-406,78,521,-144,-311,3324,10321,14326,9413,-2100,-11325,-12567,-8347,-3844,-103,4239,7454,6175,2297,3162,12015,21571,21208,9700,-2891,-6527,-1410,4330,4545,222,-3888,-4864,-3454,-2362,-3680,-6920,-8951,-6913,-1937,1207,-585,-4720,-5899,-2710,852,883,-1579,-2657,-1030,956,1067,-162,-942,-606,381,1398,1581,-69,-3120,-5060,-3842,-805,646,-609,-2053,-1175,1139,2150,1115,-136,-109,573,643,55,-419,-578,-816,-1239,-1619,-2037,-2741,-3377,-3122,-1857,-622,-473,-1262,-1957,-1932,-1480,-1118,-901,-598,-206,10,-110,-435,-712,-794,-677,-446,-240,-186,-291,-420,-421,-285,-146,-117,-163,-175,-139,-164,-304,-433,-381,-169,4,16,-32,1,74,50,-81,-194,-229,-258,-323,-336,-236,-114,-92,-152,-179,-135,-90,-90,-117,-158,-235,-330,-371,-327,-240,-158,-84,-22,-8,-54,-127,-191,-245,-282,-273,-232,-215,-233,-210,-99,16,25,-51,-100,-85,-82,-136,-200,-218,-197,-159,-83,35,142,172,127,48,-39,-122,-172,-170,-138,-106,-66,3,83,130,139,134,118,73,11,-21,-6,26,51,84,134,173,169,127,74,20,-34,-74,-90,-88,-78,-47,15,82,114,100,65,33,3,-30,-61,-87,-101,-84,-12,105,210,251,229,186,153,128,95,53,15,-3,7,35,62,73,70,66,65,62,49,26,2,-1,31,86,124,112,56}
},
{ // H10e055a.wav
{0,3,4,2,1,3,5,3,0,0,2,2,1,2,2,1,0,2,4,2,0,0,1,1,2,4,2,-3,-2,4,4,-3,-1,12,13,-6,-12,11,25,-2,-30,-7,32,22,-5,18,38,-8,104,742,1732,2137,1230,-354,-1055,-259,789,503,-920,-1632,-482,1494,2392,1777,1041,1546,3061,4236,4135,2950,1510,572,496,1138,1866,1930,1088,-157,-1036,-1193,-825,-323,42,121,-138,-596,-932,-912,-617,-318,-161,-59,113,340,515,577,536,429,306,237,247,265,189,9,-182,-308,-387,-474,-580,-670,-713,-696,-619,-524,-496,-586,-733,-815,-780,-706,-702,-779,-845,-817,-728,-698,-807,-998,-1130,-1108,-967,-821,-746,-737,-745,-731,-686,-622,-567,-543,-532,-498,-441,-409,-438,-500,-533,-524,-510,-522,-545,-552,-537,-512,-486,-464,-458,-466,-471,-456,-427,-400,-380,-360,-339,-321,-309,-302,-302,-308,-310,-299,-283,-278,-286,-292,-283,-258,-227,-204,-194,-195,-198,-193,-184,-184,-195,-204,-198,-187,-186,-194,-197,-191,-192,-206,-218,-212,-196,-190,-199,-208,-205,-194,-185,-177,-159,-135,-122,-129,-144,-148,-136,-122,-114,-111,-106,-102,-102,-99,-87,-70,-62,-68,-77,-79,-75,-76,-86,-96,-98,-94,-89,-82,-74,-70,-73,-75,-63,-39,-18,-13,-18,-19,-15,-19,-32,-44,-42,-29,-16,-11,-12,-13,-10,-4},
{174,-108,-244,64,313,-25,-409,-26,506,-13,-380,2797,9868,14872,10901,-1121,-12127,-14525,-9487,-3132,1440,4901,6777,5205,2273,4360,13621,22274,20150,7377,-4731,-6407,301,5767,4434,-752,-4096,-3738,-2017,-1858,-4188,-7515,-8876,-6293,-1428,1169,-1057,-5204,-6079,-2606,925,565,-2366,-3560,-1529,1022,1319,-134,-960,-109,1402,2014,911,-1596,-3979,-4333,-2355,-170,-45,-1482,-1866,-120,1785,1651,65,-679,148,1058,769,-200,-747,-828,-1139,-1883,-2649,-3110,-3172,-2662,-1581,-567,-461,-1255,-1995,-1921,-1305,-893,-890,-879,-552,-136,-20,-265,-594,-737,-663,-516,-434,-437,-460,-437,-346,-216,-108,-89,-155,-214,-196,-164,-235,-386,-444,-325,-159,-108,-143,-126,-40,1,-52,-117,-147,-209,-335,-422,-363,-210,-104,-83,-73,-36,-19,-54,-102,-131,-172,-248,-313,-311,-254,-195,-146,-83,-19,-6,-66,-161,-234,-265,-263,-251,-247,-247,-218,-133,-23,42,29,-24,-61,-82,-119,-175,-215,-212,-170,-99,-8,80,134,143,118,63,-24,-119,-175,-169,-129,-91,-54,2,70,119,135,119,80,30,-10,-19,-2,20,46,91,148,185,178,137,81,19,-39,-73,-83,-88,-93,-67,5,90,129,109,70,45,22,-22,-76,-114,-118,-81,1,116,218,262,243,196,155,126,92,48,9,-3,23,67,97,94,73,62,66,63,38,3,-17,-10,21,64,103,116,91,41}
},
{ // H10e060a.wav
{2,1,-1,0,1,0,-1,0,2,1,-1,0,2,1,-1,-1,0,0,-1,0,1,0,-1,0,1,0,-1,0,0,-2,-2,2,3,-2,-1,9,11,-5,-15,5,25,3,-34,-22,32,47,8,-9,14,3,28,393,1190,1844,1548,331,-683,-511,392,636,-282,-1233,-870,627,1789,1721,1122,1259,2395,3606,3930,3265,2184,1295,917,1073,1482,1659,1275,478,-257,-597,-577,-414,-259,-192,-275,-477,-608,-484,-144,194,394,500,567,526,314,43,-81,-2,137,179,111,2,-125,-289,-474,-618,-691,-723,-757,-797,-808,-753,-639,-533,-521,-631,-788,-875,-845,-752,-682,-679,-718,-755,-773,-791,-838,-906,-946,-914,-824,-738,-698,-687,-670,-645,-632,-627,-603,-548,-483,-433,-408,-411,-441,-483,-511,-514,-511,-520,-533,-530,-507,-481,-468,-470,-477,-475,-459,-432,-403,-376,-357,-352,-356,-357,-346,-336,-342,-356,-350,-313,-276,-274,-299,-308,-277,-230,-201,-196,-196,-190,-182,-177,-176,-182,-199,-216,-218,-202,-188,-189,-199,-204,-204,-206,-212,-212,-203,-192,-190,-197,-205,-204,-191,-170,-150,-140,-138,-136,-131,-126,-125,-127,-125,-121,-117,-111,-95,-71,-54,-55,-67,-77,-81,-86,-94,-100,-100,-97,-93,-86,-74,-65,-66,-74,-75,-64,-47,-31,-20,-13,-12,-17,-23,-26,-24,-19,-14,-15,-22,-29,-26,-13},
{20,-222,-77,277,145,-344,-232,416,251,-440,1642,8377,15030,13375,1589,-11856,-16734,-11613,-3239,2592,5436,6266,4706,2448,4726,13620,22060,20001,7097,-5290,-6771,659,6568,4927,-710,-3875,-2938,-1073,-1379,-4113,-7341,-8507,-6156,-1765,703,-1205,-5070,-6021,-2763,723,406,-2630,-4015,-2034,596,950,-330,-626,761,1940,1194,-1023,-2935,-3283,-2125,-601,-115,-1064,-2132,-1552,615,2219,1601,-266,-1079,-157,980,877,-148,-965,-1343,-1907,-2869,-3617,-3530,-2647,-1478,-577,-360,-894,-1698,-2031,-1612,-898,-511,-551,-654,-557,-372,-313,-390,-456,-442,-437,-535,-690,-760,-663,-467,-290,-165,-55,35,36,-78,-228,-325,-364,-383,-383,-335,-252,-188,-163,-153,-136,-119,-116,-132,-180,-271,-379,-438,-399,-272,-114,5,46,26,0,-3,-10,-72,-183,-278,-310,-294,-265,-221,-146,-59,-7,-14,-63,-124,-184,-237,-269,-270,-249,-221,-181,-107,1,94,111,40,-66,-143,-179,-202,-221,-207,-139,-42,41,96,129,144,123,56,-37,-118,-159,-162,-141,-107,-58,9,79,128,139,116,70,15,-31,-48,-31,5,43,86,142,194,206,164,90,22,-24,-56,-86,-111,-111,-64,22,105,137,114,73,42,18,-21,-73,-111,-113,-76,0,106,207,258,245,201,165,140,100,41,-2,2,43,87,111,114,104,89,74,57,27,-16,-46,-37,9,61,93,108,111,92,47}
},
{ // H10e065a.wav
{0,0,0,0,0,-1,0,1,0,-1,0,1,1,0,0,1,0,-1,-1,0,0,0,0,0,-1,-1,0,1,0,-2,-2,-1,0,0,0,1,4,6,3,-5,-5,7,14,-5,-27,-10,36,48,5,-25,-2,10,0,181,755,1460,1608,863,-173,-511,29,544,190,-686,-950,-129,1007,1457,1228,1216,2019,3220,3901,3584,2558,1499,953,1064,1544,1868,1643,906,45,-557,-758,-609,-218,245,538,518,299,138,145,198,157,48,-18,-24,-48,-117,-169,-167,-163,-207,-276,-327,-384,-497,-647,-756,-797,-817,-849,-848,-766,-651,-610,-677,-774,-806,-765,-713,-693,-689,-678,-667,-676,-699,-713,-725,-763,-825,-853,-801,-700,-635,-644,-679,-682,-654,-630,-612,-569,-496,-435,-415,-422,-428,-437,-467,-507,-525,-513,-495,-495,-504,-498,-472,-452,-457,-472,-467,-433,-397,-385,-395,-400,-391,-383,-388,-390,-369,-335,-317,-318,-315,-295,-278,-280,-284,-263,-224,-200,-202,-204,-187,-166,-168,-192,-213,-215,-209,-208,-210,-205,-195,-193,-206,-222,-223,-210,-198,-196,-198,-195,-192,-196,-203,-198,-177,-152,-137,-131,-126,-124,-127,-131,-125,-111,-101,-99,-96,-85,-74,-74,-82,-85,-81,-82,-90,-95,-90,-83,-84,-89,-85,-72,-61,-61,-64,-61,-49,-35,-27,-24,-22,-19,-16,-15,-13,-13,-21,-40,-56,-50,-24},
{-188,-154,198,268,-206,-397,214,491,-308,334,5797,13848,15948,6438,-9078,-18327,-15292,-5274,3039,6386,6314,4418,2452,4367,12379,20990,20460,8654,-4435,-7414,-371,6558,6009,561,-3030,-2509,-880,-1224,-3650,-6417,-7638,-6123,-2576,-12,-1093,-4569,-6116,-3611,8,538,-2033,-3875,-2644,-185,666,-39,-237,633,966,-288,-2012,-2583,-1924,-1110,-775,-779,-903,-952,-486,634,1550,1195,-120,-813,-84,976,875,-354,-1517,-2089,-2655,-3553,-4075,-3441,-1985,-792,-479,-796,-1238,-1547,-1609,-1324,-785,-336,-240,-406,-559,-581,-538,-468,-330,-176,-199,-500,-894,-1057,-877,-550,-321,-201,-51,146,223,66,-205,-369,-371,-348,-399,-455,-402,-260,-157,-152,-182,-181,-175,-217,-292,-343,-369,-403,-417,-328,-133,41,79,28,13,54,57,-32,-149,-226,-279,-342,-373,-306,-162,-34,28,37,11,-63,-171,-256,-275,-245,-215,-196,-157,-74,37,123,130,59,-44,-128,-182,-220,-234,-203,-133,-57,12,81,143,166,135,69,-11,-102,-183,-207,-159,-88,-44,-13,49,132,175,144,72,10,-28,-53,-61,-40,8,73,143,202,222,187,115,40,-15,-53,-85,-110,-112,-67,20,107,148,130,81,34,0,-31,-65,-95,-104,-74,2,103,189,227,220,195,171,143,102,51,7,-3,29,83,126,137,122,103,91,75,37,-22,-69,-67,-12,56,94,102,113,128,114,59}
},
{ // H10e070a.wav
{0,1,0,-1,-1,0,0,-1,-1,-1,0,0,0,0,0,0,0,-1,-1,-1,0,0,-1,-1,0,0,-2,-2,0,0,-2,-3,0,2,0,-3,-1,5,5,-2,-5,0,8,8,-1,-9,-7,9,25,21,-6,-22,-3,15,6,79,428,1027,1447,1206,388,-284,-223,299,446,-124,-781,-670,252,1204,1560,1540,1800,2545,3291,3456,2960,2195,1584,1287,1231,1255,1198,964,599,285,218,450,834,1110,1068,668,69,-460,-691,-570,-254,-4,-7,-244,-520,-641,-581,-464,-409,-416,-433,-460,-540,-662,-744,-747,-729,-765,-840,-882,-865,-830,-802,-752,-668,-601,-613,-686,-733,-697,-607,-538,-537,-597,-676,-736,-758,-746,-714,-680,-658,-657,-670,-681,-674,-648,-608,-556,-499,-454,-437,-443,-447,-439,-436,-458,-492,-507,-494,-475,-474,-485,-487,-473,-454,-444,-440,-433,-422,-415,-418,-424,-424,-419,-412,-395,-361,-320,-299,-310,-327,-318,-285,-262,-266,-274,-258,-223,-196,-191,-193,-188,-181,-183,-197,-213,-222,-224,-221,-215,-210,-209,-214,-218,-216,-206,-194,-189,-191,-195,-193,-189,-190,-194,-190,-171,-147,-133,-130,-126,-115,-104,-102,-107,-110,-108,-106,-105,-100,-87,-74,-70,-75,-79,-79,-78,-81,-86,-87,-83,-76,-69,-63,-61,-62,-58,-48,-38,-33,-30,-25,-22,-28,-38,-41,-39,-45,-56,-52,-28},
{-309,51,388,38,-491,-137,598,140,-557,2540,10593,16948,12576,-2529,-17034,-19648,-10476,1144,7487,7760,4843,1986,2972,10108,19347,21364,11689,-2188,-8027,-2610,5529,7293,2834,-1447,-2017,-951,-1268,-3239,-5404,-6542,-5883,-3401,-857,-858,-3602,-5846,-4666,-1372,121,-1525,-3520,-2980,-624,812,481,-109,-17,-206,-1463,-2685,-2405,-1058,-354,-833,-1368,-1058,-329,183,661,1320,1525,699,-427,-558,330,877,145,-1361,-2700,-3646,-4289,-4254,-3152,-1529,-546,-679,-1296,-1605,-1492,-1256,-987,-599,-205,-78,-279,-577,-728,-665,-437,-148,19,-110,-511,-920,-1076,-951,-712,-500,-304,-68,167,264,148,-88,-269,-320,-328,-398,-503,-520,-400,-239,-161,-180,-221,-239,-264,-327,-395,-419,-401,-367,-311,-206,-74,23,61,81,106,90,-10,-155,-259,-295,-309,-332,-322,-237,-92,41,101,70,-24,-132,-210,-248,-251,-222,-170,-110,-48,32,127,176,118,-18,-130,-168,-177,-204,-217,-171,-90,-29,18,90,167,177,100,-5,-83,-139,-184,-193,-146,-72,-9,43,107,166,173,113,23,-44,-66,-57,-40,-17,33,117,204,239,203,130,61,6,-42,-80,-97,-94,-71,-14,72,142,149,98,42,16,1,-34,-85,-118,-104,-35,72,174,228,221,183,152,133,105,57,9,-8,19,71,118,141,143,130,107,76,42,2,-44,-73,-47,29,99,115,100,108,141,138,74}
},
{ // H10e075a.wav
{1,1,1,0,0,0,1,1,1,1,1,1,1,2,2,1,1,2,2,1,0,0,1,1,1,1,1,2,2,2,1,-1,-2,0,4,4,0,-3,1,7,5,-3,-4,8,18,12,-3,-8,2,12,13,7,-1,-6,2,18,23,51,236,671,1161,1273,791,89,-179,160,551,378,-240,-574,-188,569,1089,1305,1691,2519,3393,3638,3027,1984,1160,916,1193,1693,2116,2284,2175,1860,1419,910,416,57,-100,-137,-229,-454,-704,-805,-719,-590,-579,-698,-812,-799,-674,-552,-518,-554,-585,-570,-539,-544,-607,-711,-832,-943,-1008,-989,-879,-727,-611,-575,-603,-645,-663,-651,-615,-558,-495,-459,-483,-564,-659,-717,-720,-691,-664,-653,-657,-667,-675,-667,-636,-590,-546,-512,-482,-453,-438,-442,-452,-452,-446,-451,-467,-476,-470,-464,-472,-483,-476,-451,-427,-422,-431,-442,-447,-446,-441,-430,-414,-394,-371,-346,-326,-318,-322,-324,-312,-286,-262,-250,-247,-240,-228,-215,-206,-199,-193,-192,-199,-210,-220,-228,-236,-241,-239,-229,-215,-203,-194,-188,-186,-189,-194,-193,-184,-175,-173,-175,-175,-173,-172,-168,-154,-131,-112,-104,-103,-100,-98,-103,-110,-109,-96,-82,-79,-83,-82,-70,-58,-58,-67,-73,-70,-66,-69,-76,-76,-68,-62,-60,-56,-46,-37,-37,-44,-51,-55,-54,-51,-48,-48,-47,-36,-17},
{-286,260,401,-246,-552,239,696,-357,-180,5385,14363,17299,7294,-10126,-21161,-17900,-5284,6047,10038,7484,2607,690,5808,16084,22371,16608,2195,-8077,-6103,2939,8157,5793,989,-1036,-761,-1157,-2872,-4571,-5513,-5581,-4295,-1928,-612,-2131,-4941,-5543,-3084,-627,-996,-3064,-3606,-1698,539,1199,641,-76,-1004,-2421,-3331,-2517,-683,60,-934,-1929,-1333,124,738,417,473,1264,1619,860,-27,45,554,179,-1306,-2924,-3931,-4339,-4151,-3137,-1645,-739,-990,-1702,-1858,-1400,-1010,-937,-755,-242,152,-42,-612,-943,-750,-289,50,94,-120,-470,-798,-962,-922,-767,-600,-429,-206,48,208,171,-8,-161,-209,-244,-378,-553,-600,-466,-291,-227,-259,-271,-234,-230,-313,-421,-465,-439,-396,-343,-246,-112,-10,22,34,80,115,49,-114,-264,-325,-325,-322,-303,-221,-89,25,80,82,31,-73,-187,-241,-218,-171,-147,-127,-69,31,130,182,163,78,-34,-126,-183,-214,-221,-192,-131,-69,-19,38,107,147,123,48,-37,-114,-174,-192,-156,-98,-50,1,84,171,192,129,40,-21,-52,-72,-69,-24,45,108,159,203,226,194,110,19,-35,-55,-70,-95,-103,-57,38,130,166,140,90,47,13,-18,-49,-83,-112,-104,-21,114,222,240,193,149,133,110,58,3,-17,4,50,100,139,154,143,122,104,83,44,-13,-61,-65,-11,70,123,126,114,127,149,130,63}
},
{ // H10e080a.wav
{1,1,1,1,1,1,1,0,-1,-1,1,2,1,0,0,1,1,1,2,2,1,0,0,1,1,0,0,0,0,1,2,2,0,-3,-3,1,5,4,-2,-4,2,8,4,-7,-5,14,27,12,-15,-16,9,21,1,-20,-8,25,43,39,24,16,86,355,815,1178,1104,656,355,561,905,652,-313,-1153,-970,149,1260,1688,1691,1912,2476,2907,2824,2424,2216,2458,2961,3324,3255,2721,1922,1137,543,143,-126,-274,-310,-353,-576,-989,-1351,-1390,-1107,-783,-687,-820,-961,-933,-757,-581,-504,-511,-533,-538,-556,-627,-750,-879,-955,-953,-884,-781,-680,-615,-606,-636,-661,-645,-595,-539,-491,-446,-412,-421,-492,-598,-683,-713,-699,-672,-651,-642,-646,-658,-660,-633,-585,-539,-508,-486,-465,-453,-459,-473,-474,-455,-435,-433,-447,-459,-459,-456,-460,-468,-467,-455,-444,-444,-454,-460,-452,-432,-407,-383,-367,-365,-371,-371,-352,-320,-292,-276,-268,-257,-242,-232,-232,-236,-234,-227,-223,-226,-230,-229,-231,-244,-260,-264,-249,-224,-206,-198,-191,-181,-179,-189,-201,-198,-179,-161,-154,-157,-162,-168,-178,-186,-183,-164,-137,-119,-114,-112,-102,-88,-83,-91,-97,-91,-82,-84,-93,-91,-71,-50,-44,-50,-57,-60,-67,-78,-85,-84,-79,-76,-75,-70,-62,-57,-58,-63,-66,-62,-56,-54,-58,-60,-48,-23},
{-201,380,311,-446,-472,520,594,-718,498,7746,16506,16228,2629,-15064,-22678,-15479,-1253,9255,11248,6579,810,595,8937,19975,22177,10856,-4577,-10113,-2900,6803,9084,4740,655,-272,-552,-2160,-3934,-4645,-4850,-4844,-3673,-1526,-759,-2727,-5188,-4978,-2409,-815,-1882,-3535,-3082,-741,1139,1221,121,-1222,-2486,-3223,-2677,-1082,-61,-722,-1973,-1880,-354,802,573,81,631,1621,1584,565,49,587,871,-388,-2693,-4477,-4879,-4132,-2790,-1427,-772,-1220,-2143,-2406,-1715,-908,-706,-811,-577,-83,23,-458,-970,-927,-374,180,331,43,-440,-806,-884,-755,-636,-619,-572,-356,-41,153,115,-43,-145,-150,-171,-303,-497,-611,-562,-409,-279,-241,-266,-290,-285,-284,-329,-422,-504,-516,-444,-316,-170,-40,32,32,4,4,16,-35,-163,-290,-337,-319,-291,-252,-162,-28,84,123,83,-17,-141,-234,-247,-189,-123,-86,-57,-2,82,163,198,154,45,-69,-137,-172,-210,-239,-213,-132,-52,-1,52,118,145,87,-18,-105,-155,-186,-191,-147,-71,-5,48,109,168,171,98,1,-59,-75,-68,-46,-2,64,135,196,231,222,165,80,-4,-62,-91,-100,-101,-85,-26,80,180,205,144,59,11,-1,-19,-59,-102,-115,-75,17,129,206,211,166,122,100,79,35,-17,-40,-8,61,129,163,162,144,125,99,59,8,-37,-58,-39,24,99,139,129,109,120,142,124,59}
},
{ // H10e085a.wav
{0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,1,0,1,2,1,0,-1,1,1,-1,-2,0,1,0,-1,-1,-1,-3,-3,1,4,3,-1,-3,0,4,2,-5,-3,15,31,16,-21,-37,-11,20,17,4,23,54,42,-9,-38,-26,25,229,742,1433,1792,1445,702,282,410,501,-20,-860,-1178,-665,134,673,1151,2103,3496,4627,4904,4420,3680,3041,2560,2202,1946,1726,1448,1084,654,135,-487,-1073,-1369,-1284,-1046,-982,-1159,-1349,-1328,-1131,-950,-881,-844,-743,-606,-529,-547,-607,-655,-684,-705,-716,-724,-748,-786,-797,-756,-696,-670,-678,-677,-643,-595,-547,-488,-419,-374,-382,-432,-501,-578,-654,-698,-687,-648,-626,-630,-639,-638,-635,-626,-589,-523,-472,-472,-499,-504,-480,-463,-469,-470,-443,-409,-405,-431,-453,-456,-458,-476,-495,-491,-465,-444,-443,-445,-430,-402,-386,-389,-394,-385,-365,-348,-330,-301,-265,-243,-245,-255,-253,-241,-235,-242,-250,-252,-255,-267,-280,-281,-270,-259,-251,-236,-209,-186,-182,-193,-202,-198,-189,-185,-183,-175,-161,-150,-149,-156,-165,-171,-174,-176,-173,-162,-145,-128,-116,-107,-95,-82,-75,-77,-83,-86,-87,-87,-85,-79,-68,-56,-45,-43,-54,-76,-93,-95,-88,-86,-90,-92,-88,-85,-83,-78,-69,-63,-64,-66,-65,-66,-67,-55,-27},
{-149,434,260,-532,-416,652,528,-883,853,8840,17350,15437,179,-17459,-23228,-13983,1074,11063,11825,5974,-52,864,10679,21431,20983,6978,-8267,-10831,-875,9108,10076,4910,919,-90,-1020,-2945,-4115,-4002,-4082,-4565,-3799,-1693,-824,-2676,-4963,-4671,-2345,-1158,-2293,-3486,-2448,59,1499,731,-1211,-2804,-3311,-2637,-1169,-2,-279,-1700,-2458,-1383,400,919,76,-313,726,1880,1587,385,10,668,667,-1131,-3677,-5052,-4577,-3047,-1554,-789,-1022,-1922,-2541,-2165,-1213,-721,-940,-1074,-565,32,-116,-872,-1282,-813,62,542,363,-152,-594,-790,-776,-671,-577,-508,-383,-158,69,130,-6,-179,-226,-171,-190,-368,-580,-642,-519,-345,-254,-251,-266,-263,-264,-306,-386,-471,-522,-521,-463,-338,-152,22,86,23,-57,-57,-28,-83,-216,-303,-288,-249,-253,-239,-134,17,108,112,65,-21,-145,-247,-246,-156,-73,-42,-14,58,149,203,192,120,8,-96,-151,-169,-193,-218,-198,-126,-53,-1,59,132,152,72,-57,-151,-190,-202,-188,-134,-53,18,77,141,187,165,77,-19,-74,-90,-78,-35,34,100,154,207,250,238,151,36,-42,-65,-70,-82,-85,-52,25,119,187,192,135,57,4,-13,-22,-53,-100,-119,-69,45,161,210,186,134,99,80,53,11,-25,-32,5,79,156,194,181,143,111,84,44,-7,-43,-41,-1,62,120,141,124,105,115,132,112,52}
},
{ // H10e090a.wav
{1,1,3,4,3,1,1,2,2,2,3,2,0,0,2,4,3,2,2,3,3,4,5,5,2,0,2,4,2,-2,-1,3,4,1,0,1,1,0,2,6,4,-1,-1,4,6,3,2,8,18,25,20,-5,-34,-29,21,65,52,6,-7,13,5,-15,71,310,576,732,841,1035,1264,1353,1292,1201,942,102,-1364,-2666,-2742,-1323,844,2847,4355,5393,5772,5199,3866,2537,1876,1894,2141,2239,2079,1667,1034,304,-336,-802,-1144,-1380,-1421,-1241,-1033,-1051,-1304,-1510,-1409,-1060,-753,-670,-725,-744,-698,-681,-719,-729,-663,-593,-592,-624,-626,-624,-689,-791,-817,-729,-623,-590,-603,-580,-511,-447,-412,-386,-376,-422,-526,-625,-656,-625,-589,-586,-611,-636,-642,-627,-606,-585,-555,-510,-472,-471,-498,-514,-495,-464,-451,-448,-430,-406,-407,-438,-468,-472,-466,-471,-483,-480,-458,-437,-431,-434,-428,-408,-385,-372,-366,-355,-330,-300,-278,-267,-259,-251,-249,-256,-263,-259,-248,-249,-270,-295,-305,-297,-285,-275,-262,-237,-207,-187,-184,-187,-187,-188,-196,-202,-192,-171,-158,-162,-169,-161,-144,-137,-146,-156,-155,-149,-149,-153,-147,-127,-105,-95,-93,-88,-76,-66,-67,-72,-72,-66,-64,-68,-72,-73,-76,-84,-89,-85,-78,-78,-84,-87,-87,-92,-104,-108,-98,-84,-78,-74,-62,-51,-58,-74,-70,-37},
{-184,433,298,-528,-468,637,595,-892,594,8474,17243,15668,355,-17692,-23642,-14009,1613,11735,12156,5969,-80,928,10622,20994,20097,5781,-9458,-11549,-710,10183,11584,6157,1425,-336,-1606,-3303,-3880,-3270,-3348,-4330,-4147,-2222,-1023,-2402,-4549,-4547,-2589,-1467,-2357,-3245,-2003,558,1719,190,-2579,-4169,-3527,-1537,64,124,-1100,-2190,-1889,-442,601,239,-645,-415,1026,1994,1336,70,-113,607,336,-1836,-4397,-5165,-3749,-1665,-523,-733,-1688,-2476,-2432,-1603,-786,-724,-1195,-1306,-743,-215,-430,-1080,-1258,-642,189,538,298,-170,-534,-698,-709,-646,-557,-424,-210,21,126,50,-96,-171,-180,-227,-353,-488,-564,-575,-528,-417,-272,-180,-192,-257,-302,-335,-411,-510,-553,-520,-457,-368,-201,12,119,43,-88,-113,-64,-96,-224,-301,-262,-210,-229,-236,-131,33,122,99,21,-71,-163,-215,-187,-110,-56,-31,14,93,164,193,177,106,-17,-133,-179,-176,-188,-210,-181,-98,-34,-11,30,108,138,56,-72,-152,-184,-214,-224,-161,-49,39,84,134,189,183,86,-35,-104,-109,-79,-27,42,109,162,204,233,218,142,41,-33,-56,-51,-45,-45,-34,14,100,178,188,121,38,-3,-7,-24,-72,-116,-111,-45,57,151,198,182,125,67,34,20,5,-17,-22,18,95,163,178,151,126,120,102,48,-17,-52,-45,-7,51,109,138,125,101,106,125,110,52}
},
{ // H10e095a.wav
{0,1,1,1,0,0,0,1,1,1,0,0,1,1,0,-1,0,1,1,0,0,1,2,2,1,0,0,1,2,0,-2,-2,1,2,0,-2,0,4,3,-3,-4,2,6,2,-4,-1,9,13,4,-4,2,16,16,0,-10,5,29,31,6,-12,39,217,503,732,666,263,-133,-20,720,1617,2063,1889,1306,388,-978,-2471,-3042,-1754,1048,3783,5046,4781,3966,3404,3143,2891,2566,2292,2131,2035,1928,1689,1168,404,-254,-474,-381,-460,-950,-1521,-1684,-1393,-1057,-1018,-1193,-1282,-1154,-936,-804,-800,-849,-860,-795,-682,-593,-577,-607,-609,-559,-526,-588,-723,-811,-768,-635,-531,-525,-577,-605,-569,-493,-425,-399,-425,-487,-547,-573,-568,-563,-577,-598,-608,-607,-606,-604,-588,-556,-524,-503,-491,-485,-486,-491,-489,-471,-446,-435,-441,-452,-457,-462,-473,-479,-465,-440,-431,-452,-482,-487,-460,-422,-393,-376,-362,-346,-325,-301,-278,-265,-267,-274,-273,-264,-261,-272,-290,-301,-298,-288,-280,-277,-276,-273,-265,-252,-239,-227,-213,-196,-181,-176,-182,-191,-195,-195,-193,-187,-175,-163,-152,-141,-129,-120,-121,-132,-143,-141,-130,-123,-126,-129,-120,-105,-98,-98,-91,-69,-44,-37,-54,-80,-95,-97,-97,-101,-102,-92,-76,-69,-76,-87,-91,-95,-109,-124,-123,-105,-89,-89,-93,-84,-68,-63,-69,-62,-33},
{-278,379,412,-415,-597,467,773,-689,-152,6683,16040,16772,3226,-15559,-23905,-15825,143,11414,12584,6678,520,640,8985,19060,19685,7109,-8356,-12339,-2488,9739,13259,8430,2555,-491,-2084,-3445,-3647,-2737,-2631,-3859,-4355,-2890,-1396,-2118,-4088,-4547,-3002,-1716,-2161,-2895,-1835,573,1687,-60,-3192,-4774,-3522,-935,504,-143,-1647,-2199,-1265,109,567,-128,-887,-529,810,1743,1291,143,-291,93,-172,-2041,-4342,-4964,-3344,-1062,-4,-565,-1734,-2384,-2146,-1413,-862,-868,-1163,-1184,-819,-577,-852,-1296,-1232,-543,200,446,209,-154,-411,-560,-648,-657,-552,-334,-71,110,117,5,-72,-67,-103,-276,-489,-582,-555,-530,-536,-469,-300,-159,-162,-249,-305,-334,-415,-526,-564,-513,-457,-404,-264,-36,110,61,-70,-107,-73,-114,-234,-287,-226,-180,-221,-240,-132,34,113,80,7,-74,-162,-207,-155,-62,-21,-25,9,97,162,165,137,94,3,-121,-199,-204,-191,-197,-179,-107,-29,9,37,83,101,39,-63,-130,-165,-204,-224,-170,-61,25,69,118,177,181,98,-16,-89,-110,-96,-47,28,97,142,185,237,249,180,64,-18,-36,-28,-31,-42,-32,15,89,157,172,122,42,-12,-25,-32,-60,-96,-100,-44,54,148,190,169,115,69,44,25,-2,-28,-32,7,79,151,185,176,148,124,94,43,-18,-60,-66,-36,26,99,145,142,116,107,114,97,46}
},
{ // H10e100a.wav
{2,0,-1,1,2,0,-1,0,2,1,-1,0,2,2,0,0,1,1,1,1,1,0,0,1,2,1,1,2,2,0,-1,1,2,0,-3,-1,4,6,2,-2,-3,-1,2,4,3,2,6,11,7,-8,-13,7,35,38,14,-6,-9,-9,21,166,462,770,835,531,43,-247,-90,396,849,1020,989,967,926,582,-146,-759,-518,740,2284,3142,3036,2524,2276,2412,2606,2619,2512,2400,2230,1895,1436,1023,764,614,467,261,-7,-310,-613,-878,-1088,-1237,-1302,-1250,-1104,-974,-975,-1092,-1177,-1110,-938,-804,-770,-766,-713,-630,-582,-577,-573,-562,-578,-626,-658,-640,-594,-558,-541,-544,-576,-627,-638,-569,-466,-417,-444,-485,-493,-497,-541,-598,-610,-571,-537,-547,-573,-573,-547,-525,-520,-512,-488,-463,-458,-470,-479,-475,-471,-477,-484,-477,-460,-451,-455,-460,-457,-453,-457,-460,-450,-432,-418,-407,-382,-343,-311,-300,-297,-281,-256,-246,-262,-284,-294,-296,-306,-324,-327,-301,-261,-233,-229,-238,-247,-251,-253,-254,-249,-233,-211,-191,-180,-180,-187,-196,-202,-200,-190,-174,-157,-141,-125,-110,-103,-107,-116,-120,-113,-105,-107,-119,-129,-130,-126,-122,-113,-94,-73,-63,-68,-79,-86,-90,-95,-96,-90,-81,-78,-84,-92,-96,-101,-112,-124,-126,-114,-101,-100,-109,-113,-102,-84,-74,-71,-63,-42,-16},
{-379,218,502,-175,-687,112,877,-215,-869,3875,13275,17612,8156,-10510,-22994,-19077,-3764,9683,13124,8198,1711,186,6295,15843,19129,10130,-4933,-12319,-5653,7224,14057,11334,4809,124,-2242,-3601,-3743,-2627,-2010,-3061,-4228,-3577,-1994,-1912,-3549,-4578,-3614,-2074,-1820,-2394,-1882,42,1319,72,-2851,-4621,-3580,-1035,373,-357,-1787,-2051,-962,177,317,-322,-776,-410,542,1241,1051,248,-292,-291,-603,-2055,-3982,-4656,-3309,-1145,8,-392,-1406,-1948,-1780,-1330,-1033,-1009,-1096,-1064,-886,-811,-1033,-1335,-1271,-716,-44,297,218,-60,-326,-513,-620,-634,-535,-321,-50,143,152,35,-34,-8,-45,-268,-542,-639,-558,-497,-538,-532,-372,-191,-170,-275,-335,-323,-361,-484,-568,-534,-460,-415,-323,-120,69,82,-34,-98,-77,-107,-231,-304,-237,-148,-168,-226,-170,-15,90,78,16,-48,-125,-190,-177,-90,-25,-19,-9,55,125,142,119,81,11,-99,-192,-220,-212,-211,-198,-140,-61,-4,36,82,99,47,-44,-110,-147,-188,-214,-170,-70,6,37,78,146,171,103,-8,-82,-109,-113,-81,-2,90,148,185,232,264,218,102,0,-32,-23,-24,-41,-37,8,79,138,153,116,51,-2,-27,-39,-59,-84,-91,-57,27,131,200,194,133,71,38,12,-28,-63,-53,8,89,155,190,193,166,115,53,-4,-46,-70,-71,-39,27,99,136,125,99,95,103,86,39}
},
{ // H10e105a.wav
{0,1,1,0,-1,0,2,1,-2,-2,1,1,-1,-1,1,1,-1,-1,0,0,-1,-1,1,1,-1,-1,1,1,-1,-2,0,2,2,0,-2,-3,-1,2,2,-2,-4,0,4,0,-4,3,14,10,-6,-11,4,16,12,12,28,26,-4,49,330,777,1055,849,245,-284,-323,94,565,745,618,374,157,21,73,499,1339,2276,2793,2613,1973,1405,1257,1456,1705,1820,1835,1837,1816,1699,1482,1254,1098,996,870,686,503,384,299,146,-123,-427,-642,-741,-816,-952,-1114,-1192,-1139,-1030,-981,-1024,-1078,-1046,-920,-787,-727,-725,-708,-646,-577,-545,-544,-547,-556,-578,-589,-562,-522,-531,-598,-659,-656,-603,-551,-513,-471,-435,-441,-495,-549,-561,-544,-536,-545,-540,-511,-488,-502,-537,-545,-511,-470,-461,-479,-491,-485,-484,-501,-514,-494,-454,-438,-464,-499,-501,-470,-438,-426,-420,-405,-390,-389,-394,-384,-356,-329,-312,-296,-271,-250,-256,-288,-319,-329,-320,-306,-292,-271,-243,-223,-223,-233,-234,-227,-232,-254,-269,-256,-228,-218,-229,-233,-212,-188,-189,-205,-201,-167,-134,-131,-144,-140,-113,-90,-91,-102,-103,-96,-98,-113,-124,-122,-117,-125,-141,-147,-136,-119,-107,-99,-85,-69,-63,-72,-82,-80,-74,-81,-104,-126,-132,-129,-129,-135,-135,-124,-111,-106,-107,-104,-89,-71,-64,-70,-74,-59,-27},
{-363,-49,434,178,-544,-347,662,450,-924,855,8579,16398,13661,-1889,-18568,-22053,-10441,5056,12808,10587,4026,119,2925,11107,17364,13788,1047,-9951,-8942,2318,12569,13871,8285,2176,-1513,-3455,-4094,-3191,-1879,-1986,-3319,-3856,-2907,-2156,-2951,-4216,-4125,-2757,-1759,-1820,-1829,-783,476,214,-1803,-3687,-3537,-1677,-200,-429,-1520,-1839,-1034,-134,12,-363,-577,-333,221,757,894,463,-194,-583,-858,-1731,-3260,-4287,-3668,-1800,-291,-165,-947,-1562,-1568,-1269,-1039,-963,-966,-980,-978,-994,-1093,-1229,-1205,-884,-390,0,128,29,-191,-439,-615,-637,-508,-302,-86,90,172,137,53,2,-46,-194,-434,-607,-604,-514,-485,-510,-464,-324,-224,-252,-330,-351,-345,-404,-505,-541,-482,-401,-328,-205,-34,71,38,-57,-106,-131,-199,-273,-258,-170,-124,-151,-154,-69,40,83,55,-6,-83,-158,-181,-138,-83,-60,-38,20,82,103,97,90,51,-56,-177,-232,-225,-222,-228,-190,-102,-27,13,56,108,106,24,-80,-141,-171,-192,-178,-101,-7,44,62,91,121,95,8,-83,-127,-121,-75,6,95,157,189,214,234,213,138,49,-7,-26,-32,-34,-24,3,48,102,143,139,83,13,-30,-44,-57,-79,-89,-58,22,124,199,204,141,56,-1,-18,-17,-15,-8,18,68,128,172,180,145,85,26,-15,-38,-53,-59,-42,7,71,111,109,90,89,100,88,42}
},
{ // H10e110a.wav
{0,0,-1,-1,0,1,0,-1,0,1,1,0,0,1,1,0,0,0,0,0,0,1,0,-1,0,1,1,0,0,0,0,0,1,0,-1,0,2,1,-3,-3,4,7,0,-6,0,9,7,-1,2,9,4,-3,13,31,11,20,235,714,1172,1158,551,-208,-508,-179,376,658,546,265,27,-109,-66,353,1241,2310,3008,2984,2408,1793,1516,1543,1588,1458,1210,1018,953,928,824,644,519,565,750,908,898,729,522,381,316,280,225,113,-65,-282,-486,-654,-800,-934,-1022,-1033,-998,-988,-1020,-1038,-995,-919,-867,-838,-783,-687,-592,-541,-523,-513,-514,-545,-594,-618,-594,-558,-558,-593,-616,-600,-569,-554,-545,-516,-476,-464,-490,-517,-517,-507,-511,-517,-496,-459,-449,-478,-507,-504,-488,-496,-523,-531,-507,-482,-479,-486,-487,-488,-501,-508,-483,-438,-413,-418,-419,-389,-352,-351,-386,-410,-389,-342,-311,-310,-318,-319,-319,-325,-327,-309,-273,-240,-227,-228,-228,-222,-218,-222,-230,-235,-233,-232,-240,-251,-253,-244,-238,-244,-250,-239,-210,-183,-171,-162,-144,-123,-118,-126,-128,-111,-91,-85,-91,-93,-90,-95,-113,-130,-133,-130,-139,-160,-170,-156,-129,-110,-99,-84,-64,-52,-57,-70,-80,-88,-105,-127,-140,-140,-138,-142,-148,-144,-128,-110,-97,-88,-79,-72,-70,-75,-79,-72,-49,-20},
{-132,-286,107,417,-79,-590,23,772,-97,-824,3170,11722,16195,8108,-8987,-20907,-17603,-3334,9332,12484,7779,1792,286,5218,12962,15653,8383,-3866,-9771,-3803,7688,14155,12022,5818,664,-2381,-4060,-4180,-2764,-1475,-1819,-3062,-3495,-3006,-2912,-3636,-4061,-3341,-2158,-1607,-1648,-1389,-599,-168,-880,-2216,-2838,-2188,-1125,-787,-1200,-1465,-1096,-553,-393,-505,-478,-250,1,261,536,566,141,-479,-946,-1459,-2433,-3546,-3790,-2722,-1170,-332,-506,-1060,-1367,-1332,-1132,-908,-776,-828,-993,-1093,-1077,-1067,-1100,-1021,-713,-303,-25,16,-124,-346,-548,-625,-531,-334,-143,3,120,188,160,47,-76,-176,-289,-435,-552,-572,-523,-481,-460,-413,-334,-286,-305,-347,-363,-379,-435,-497,-493,-413,-314,-222,-122,-24,18,-13,-75,-131,-192,-252,-258,-191,-117,-98,-101,-61,14,60,56,23,-33,-118,-189,-190,-135,-94,-85,-61,1,57,76,76,61,-3,-119,-217,-246,-241,-243,-229,-160,-66,-4,32,80,117,84,-11,-99,-145,-170,-179,-136,-45,29,47,47,65,72,22,-60,-110,-102,-59,0,72,138,178,192,197,194,160,91,20,-20,-28,-22,-12,3,32,78,125,139,103,37,-16,-36,-39,-47,-57,-47,-6,59,120,151,139,97,54,29,18,11,4,6,28,68,110,130,119,88,57,28,-4,-42,-72,-75,-41,22,88,125,123,100,79,58,30}
},
{ // H10e115a.wav
{2,2,2,2,2,2,3,3,2,1,3,4,3,1,2,4,3,1,1,2,3,2,2,2,2,2,2,2,2,3,5,5,2,0,4,7,3,-1,3,10,7,-2,-1,10,12,0,-1,17,21,-2,-8,23,35,15,132,578,1206,1479,992,16,-665,-544,112,621,613,269,-65,-224,-133,380,1410,2626,3340,3099,2166,1307,1090,1435,1831,1885,1614,1270,1005,752,390,-40,-315,-249,90,404,453,299,223,385,633,689,488,246,190,290,323,147,-153,-391,-488,-520,-601,-760,-929,-1025,-1028,-985,-960,-966,-963,-906,-801,-696,-629,-593,-563,-537,-539,-578,-627,-645,-625,-593,-576,-564,-547,-537,-554,-587,-597,-563,-510,-476,-471,-475,-473,-474,-485,-490,-474,-446,-433,-446,-469,-488,-508,-537,-558,-548,-515,-499,-515,-532,-511,-460,-427,-434,-447,-428,-387,-363,-372,-387,-386,-374,-367,-363,-353,-345,-354,-377,-392,-383,-350,-305,-258,-217,-192,-188,-197,-204,-205,-208,-218,-229,-233,-233,-237,-246,-251,-248,-243,-245,-249,-245,-230,-209,-190,-175,-163,-151,-138,-127,-121,-116,-108,-95,-86,-89,-100,-106,-105,-108,-128,-157,-175,-169,-149,-131,-123,-121,-119,-117,-113,-101,-82,-66,-64,-76,-91,-107,-126,-146,-154,-147,-136,-133,-134,-126,-108,-93,-91,-97,-96,-85,-73,-67,-63,-53,-33,-12},
{183,-240,-276,246,384,-271,-548,286,707,-451,-380,4872,12929,14505,3854,-12242,-20069,-13434,645,10638,11441,6108,775,295,5757,12743,13648,5466,-5112,-7755,4,10205,13947,10299,4397,9,-2817,-4502,-4306,-2433,-961,-1404,-2846,-3593,-3489,-3492,-3768,-3550,-2607,-1723,-1536,-1687,-1492,-967,-736,-1107,-1662,-1831,-1596,-1385,-1384,-1320,-991,-664,-654,-787,-659,-296,-80,-74,55,350,356,-168,-822,-1231,-1670,-2502,-3312,-3258,-2238,-1101,-622,-749,-1004,-1153,-1195,-1085,-834,-675,-804,-1053,-1108,-962,-878,-945,-941,-684,-304,-62,-63,-227,-426,-556,-547,-414,-246,-111,3,117,183,139,5,-140,-250,-338,-418,-482,-517,-526,-502,-435,-348,-304,-331,-381,-389,-368,-380,-439,-477,-434,-339,-247,-169,-93,-39,-41,-81,-111,-133,-182,-233,-219,-134,-61,-52,-53,-6,53,58,13,-33,-84,-162,-225,-211,-141,-100,-109,-101,-38,30,50,33,-1,-65,-159,-238,-260,-243,-221,-186,-124,-55,-5,34,74,85,43,-27,-82,-120,-158,-168,-116,-31,17,19,29,59,59,2,-63,-80,-54,-21,19,79,137,162,162,167,169,134,61,-4,-22,-6,8,9,15,43,89,124,123,83,31,-3,-18,-32,-53,-74,-71,-28,53,142,191,172,108,47,15,-1,-17,-31,-21,17,68,110,125,109,73,34,-1,-33,-61,-75,-61,-17,42,91,108,92,62,36,17}
},
{ // H10e120a.wav
{-1,0,0,-1,-1,0,1,1,0,0,1,0,-1,0,0,-2,-2,0,1,-1,-2,0,1,0,-1,-1,-1,-2,-1,2,2,-2,-2,2,2,-3,-2,6,8,-2,-8,0,6,-2,-4,15,26,3,-19,5,34,15,74,463,1168,1672,1382,344,-652,-835,-228,466,651,334,-104,-342,-208,442,1613,2914,3646,3357,2311,1305,968,1258,1624,1612,1261,943,891,954,810,358,-162,-433,-383,-222,-175,-247,-268,-126,92,224,235,249,365,511,524,359,152,62,91,104,-5,-213,-419,-558,-646,-737,-852,-960,-1010,-980,-897,-814,-766,-744,-717,-672,-629,-614,-630,-654,-662,-646,-621,-603,-595,-584,-565,-546,-544,-558,-569,-560,-529,-492,-465,-452,-449,-452,-458,-461,-457,-449,-449,-463,-480,-488,-495,-526,-584,-632,-625,-559,-478,-427,-412,-407,-396,-386,-387,-395,-400,-398,-391,-376,-353,-337,-347,-383,-419,-434,-424,-396,-354,-303,-261,-239,-229,-213,-190,-175,-178,-188,-196,-205,-224,-246,-255,-248,-238,-239,-247,-248,-239,-230,-225,-217,-197,-174,-162,-164,-166,-158,-145,-136,-129,-114,-93,-78,-83,-104,-130,-150,-162,-168,-166,-155,-139,-127,-122,-119,-114,-110,-115,-127,-131,-118,-96,-86,-95,-114,-130,-136,-137,-135,-130,-125,-119,-112,-103,-97,-100,-111,-119,-113,-95,-74,-60,-55,-54,-49,-34,-14},
{209,75,-248,-178,279,284,-330,-441,373,576,-551,-26,5432,12692,12949,2005,-12609,-18386,-11008,2091,10646,10755,5408,70,-594,4754,11782,12861,5210,-4347,-6041,1707,10840,13409,9384,3800,-279,-3106,-4791,-4320,-2060,-431,-1052,-2855,-3908,-3874,-3653,-3553,-3060,-2118,-1482,-1624,-2015,-1876,-1221,-748,-859,-1217,-1349,-1304,-1407,-1580,-1394,-828,-472,-680,-982,-768,-227,-14,-196,-211,92,138,-422,-1108,-1402,-1570,-2117,-2791,-2842,-2122,-1303,-950,-948,-965,-977,-1051,-1043,-849,-688,-804,-1048,-1072,-849,-691,-759,-847,-705,-381,-126,-93,-234,-404,-490,-463,-365,-251,-137,-17,88,126,79,-20,-138,-266,-381,-445,-456,-458,-472,-456,-380,-301,-305,-380,-427,-391,-345,-371,-438,-445,-371,-293,-254,-202,-107,-33,-51,-113,-127,-98,-109,-164,-171,-91,-11,-8,-37,-15,39,47,-14,-92,-157,-210,-240,-219,-165,-128,-122,-109,-73,-36,-18,-18,-46,-113,-193,-232,-220,-200,-191,-163,-100,-42,-16,1,35,56,26,-34,-80,-110,-138,-149,-111,-44,4,24,49,78,73,18,-43,-69,-60,-32,15,75,120,137,145,160,160,118,51,3,-5,7,15,18,31,62,103,132,126,79,13,-43,-70,-68,-47,-20,5,35,84,140,163,126,55,-3,-28,-33,-31,-15,18,55,80,92,93,81,56,25,-1,-23,-45,-62,-62,-37,7,51,72,62,36,12}
},
{ // H10e125a.wav
{2,0,-1,2,4,2,0,1,4,3,1,1,2,1,-1,1,3,2,-1,0,3,4,1,0,1,2,2,2,1,-1,0,4,5,1,-1,5,8,1,-4,4,10,-3,-14,6,32,19,-14,0,41,24,28,349,1106,1835,1777,730,-564,-1100,-614,243,676,465,-59,-449,-359,428,1842,3324,4056,3612,2386,1284,949,1294,1717,1711,1266,751,485,442,365,107,-196,-308,-177,0,-4,-220,-475,-580,-492,-312,-163,-81,-26,42,122,197,262,320,350,321,231,121,33,-34,-113,-231,-380,-530,-651,-729,-770,-791,-806,-811,-793,-753,-717,-713,-733,-740,-711,-666,-646,-659,-670,-648,-606,-580,-583,-590,-576,-544,-510,-484,-469,-469,-480,-481,-453,-412,-395,-421,-463,-479,-465,-461,-502,-576,-631,-628,-576,-518,-482,-462,-434,-393,-357,-347,-365,-391,-403,-394,-374,-357,-349,-353,-370,-400,-428,-431,-395,-339,-299,-293,-300,-291,-260,-227,-208,-195,-178,-164,-171,-201,-232,-245,-241,-235,-235,-235,-227,-217,-211,-210,-207,-202,-196,-187,-170,-151,-144,-151,-160,-155,-137,-118,-105,-98,-101,-117,-143,-169,-185,-187,-176,-153,-127,-106,-96,-96,-105,-118,-129,-133,-128,-118,-111,-112,-119,-130,-144,-152,-143,-119,-95,-86,-90,-94,-95,-97,-102,-107,-106,-102,-98,-90,-76,-61,-51,-46,-38,-22,-5,3},
{-76,172,122,-209,-199,232,282,-279,-421,314,537,-469,-23,4931,11636,12068,2246,-11148,-16707,-10221,1838,10079,10472,5224,-642,-2110,2931,10646,13154,6762,-2569,-5085,1640,10356,13099,9285,3656,-513,-3243,-4731,-4131,-1802,-126,-822,-2869,-4135,-4037,-3527,-3194,-2704,-1943,-1551,-1908,-2359,-2034,-1086,-510,-782,-1269,-1218,-854,-943,-1501,-1684,-1078,-401,-456,-935,-945,-396,-42,-216,-397,-233,-180,-670,-1287,-1419,-1279,-1543,-2203,-2519,-2131,-1526,-1239,-1181,-1039,-859,-857,-951,-914,-800,-843,-1014,-1025,-789,-570,-587,-718,-697,-464,-201,-96,-182,-349,-455,-436,-338,-241,-158,-59,36,61,2,-81,-156,-254,-380,-459,-440,-384,-377,-398,-370,-303,-288,-354,-407,-380,-333,-355,-418,-425,-358,-297,-282,-251,-155,-55,-27,-56,-68,-54,-67,-110,-115,-57,-1,-5,-40,-44,-19,-15,-55,-121,-192,-249,-270,-245,-197,-158,-136,-123,-116,-111,-89,-54,-54,-120,-203,-231,-204,-184,-182,-152,-82,-30,-30,-36,-6,22,-7,-68,-101,-98,-102,-114,-94,-33,22,46,58,74,67,17,-49,-85,-76,-34,24,79,111,119,125,139,139,107,57,27,26,35,38,38,41,47,57,64,62,46,25,12,10,9,5,-2,-10,-6,19,61,89,75,31,-5,-14,-9,-7,-4,13,43,75,97,104,92,60,14,-30,-62,-81,-87,-78,-50,-8,30,45,33,10}
},
{ // H10e130a.wav
{-3,-3,-2,-3,-4,-2,0,-1,-5,-5,-2,-1,-4,-6,-4,-2,-2,-3,-3,-3,-4,-4,-3,-4,-4,-1,0,-3,-6,-3,1,-3,-8,-1,7,-1,-14,-8,10,5,-18,-12,22,26,-13,-19,30,41,21,261,1008,1919,2131,1166,-378,-1306,-1026,-65,617,563,19,-486,-472,377,2000,3719,4536,3946,2469,1217,915,1380,1880,1864,1343,703,292,160,110,-66,-380,-644,-664,-442,-176,-71,-156,-297,-365,-357,-351,-373,-372,-306,-218,-178,-189,-175,-66,124,305,378,310,157,23,-32,-40,-74,-161,-265,-347,-414,-492,-581,-659,-715,-752,-777,-790,-794,-786,-761,-723,-692,-688,-700,-702,-682,-656,-639,-621,-586,-540,-505,-488,-483,-480,-477,-469,-452,-428,-405,-392,-400,-448,-535,-623,-661,-637,-587,-550,-520,-468,-398,-351,-359,-404,-438,-435,-402,-364,-339,-336,-355,-384,-406,-413,-409,-390,-352,-306,-281,-290,-309,-306,-283,-267,-266,-256,-221,-186,-185,-215,-240,-242,-234,-237,-246,-244,-224,-200,-189,-189,-189,-184,-182,-185,-187,-182,-174,-168,-160,-144,-122,-110,-113,-121,-120,-117,-130,-165,-202,-215,-201,-177,-157,-141,-121,-101,-91,-95,-106,-115,-124,-135,-144,-142,-128,-119,-127,-144,-149,-137,-119,-106,-92,-74,-66,-80,-103,-111,-101,-89,-89,-93,-89,-75,-60,-49,-43,-37,-24,0,26,34,19},
{-120,-61,133,116,-152,-191,156,271,-175,-397,175,511,-279,-227,3672,9917,11626,4041,-8301,-15013,-10607,377,9025,10294,5332,-1112,-3647,693,9075,13709,9367,90,-4411,360,8929,12857,9825,3938,-650,-3203,-4296,-3731,-1743,-168,-679,-2668,-4111,-4081,-3341,-2787,-2434,-2076,-1957,-2242,-2404,-1824,-819,-410,-944,-1530,-1230,-423,-307,-1163,-1877,-1493,-544,-217,-664,-973,-663,-277,-329,-520,-458,-435,-864,-1399,-1394,-999,-1005,-1626,-2171,-2086,-1669,-1446,-1383,-1155,-821,-718,-871,-977,-924,-910,-1009,-999,-742,-459,-433,-614,-704,-540,-256,-85,-127,-298,-436,-442,-341,-220,-127,-54,-14,-43,-122,-177,-186,-222,-326,-414,-397,-325,-317,-378,-392,-313,-238,-263,-339,-365,-339,-340,-383,-399,-354,-299,-281,-263,-192,-91,-27,-16,-20,-18,-30,-59,-72,-53,-29,-33,-57,-76,-81,-79,-85,-120,-197,-284,-316,-277,-220,-193,-182,-155,-128,-124,-123,-95,-70,-108,-194,-246,-228,-187,-167,-146,-95,-43,-30,-39,-36,-31,-55,-95,-109,-93,-75,-64,-40,-2,23,25,29,42,39,6,-33,-52,-48,-28,10,59,93,101,107,131,151,135,89,50,35,27,11,-8,-13,7,49,98,128,119,80,39,10,-13,-39,-63,-75,-66,-31,21,63,68,38,4,-6,4,14,22,39,68,91,93,75,46,13,-24,-64,-92,-99,-90,-71,-42,-1,37,48,28}
},
{ // H10e135a.wav
{1,0,-1,0,2,1,-2,-1,1,0,-3,-3,0,0,-2,-2,1,1,-2,-2,0,0,-2,-2,0,-1,-3,-1,3,1,-5,-2,6,3,-9,-7,9,6,-17,-15,21,31,-9,-22,31,51,5,184,932,1998,2454,1596,-129,-1419,-1403,-427,480,644,146,-479,-595,293,2161,4166,5071,4295,2524,1107,854,1477,2101,2113,1525,746,169,-82,-158,-285,-537,-774,-810,-638,-443,-399,-484,-538,-463,-324,-233,-207,-182,-150,-193,-350,-518,-547,-413,-236,-130,-92,-56,10,85,135,134,68,-31,-87,-60,-12,-46,-178,-318,-391,-425,-501,-637,-768,-828,-817,-780,-750,-732,-719,-716,-727,-739,-726,-680,-624,-585,-561,-537,-515,-513,-529,-526,-479,-410,-370,-389,-456,-538,-600,-619,-606,-593,-595,-581,-516,-418,-350,-352,-397,-429,-431,-425,-424,-416,-392,-370,-370,-388,-401,-387,-348,-302,-274,-273,-284,-286,-279,-279,-287,-285,-261,-234,-234,-257,-269,-252,-233,-243,-274,-290,-274,-247,-228,-210,-180,-152,-152,-176,-193,-188,-178,-182,-190,-184,-166,-151,-142,-124,-96,-81,-100,-143,-181,-197,-200,-200,-196,-181,-163,-155,-155,-150,-130,-106,-98,-113,-136,-148,-149,-151,-155,-149,-132,-121,-124,-127,-113,-89,-79,-88,-100,-103,-104,-109,-110,-99,-83,-76,-78,-76,-63,-45,-28,-14,-5,-1,4,16,31,34,20},
{65,-74,-111,62,148,-58,-208,31,263,-13,-359,-33,450,1,-413,2060,7596,10981,6503,-4330,-12702,-11368,-2020,7206,9864,5667,-1029,-4652,-1580,6748,13492,12089,3683,-3086,-1340,6501,12093,10659,4777,-468,-2992,-3616,-3147,-1798,-493,-625,-2256,-3832,-4045,-3201,-2428,-2247,-2391,-2532,-2535,-2210,-1437,-620,-487,-1147,-1713,-1310,-302,61,-724,-1680,-1639,-768,-220,-491,-905,-806,-478,-486,-731,-768,-669,-857,-1253,-1306,-933,-756,-1180,-1779,-1944,-1704,-1493,-1412,-1223,-907,-748,-853,-993,-993,-966,-1011,-978,-724,-413,-338,-526,-708,-650,-386,-129,-57,-186,-381,-467,-380,-208,-82,-52,-91,-155,-209,-223,-201,-205,-274,-352,-357,-305,-287,-330,-359,-320,-261,-254,-284,-292,-277,-293,-342,-361,-315,-254,-236,-246,-224,-158,-92,-52,-26,-5,-8,-42,-74,-75,-59,-62,-92,-121,-127,-114,-108,-136,-204,-282,-319,-297,-257,-239,-233,-205,-163,-140,-137,-121,-95,-110,-176,-234,-231,-195,-177,-168,-129,-70,-41,-53,-67,-63,-65,-91,-112,-102,-69,-38,-15,6,16,12,7,11,14,5,-12,-23,-26,-20,7,54,95,109,109,120,129,106,53,11,7,24,39,49,63,77,85,91,93,76,34,-16,-50,-64,-73,-84,-88,-78,-53,-16,24,54,62,53,44,41,40,34,29,29,30,26,18,6,-14,-43,-69,-81,-79,-68,-46,-10,26,40,25}
},
{ // H10e140a.wav
{-1,-1,1,1,-1,-2,0,0,-2,-2,-1,0,-1,-2,0,1,-1,-3,-1,0,-2,-3,0,1,-3,-3,2,2,-4,-2,7,4,-12,-11,11,15,-16,-29,9,36,-1,-31,22,67,13,119,829,2036,2771,2067,166,-1519,-1794,-807,320,692,259,-435,-663,204,2246,4565,5680,4792,2654,929,662,1502,2331,2394,1740,863,173,-208,-384,-530,-740,-948,-1006,-863,-639,-509,-522,-585,-606,-598,-600,-556,-372,-93,75,-14,-263,-444,-465,-423,-417,-423,-380,-311,-274,-263,-222,-139,-50,30,105,141,90,-23,-95,-79,-52,-119,-279,-440,-542,-605,-668,-728,-765,-776,-772,-753,-721,-692,-679,-674,-655,-617,-581,-571,-579,-571,-523,-459,-439,-494,-579,-612,-570,-517,-524,-587,-632,-607,-525,-439,-386,-369,-377,-398,-421,-437,-446,-450,-451,-451,-448,-436,-401,-338,-265,-220,-224,-252,-269,-263,-254,-259,-267,-260,-243,-243,-266,-286,-277,-249,-237,-256,-285,-299,-298,-292,-279,-248,-205,-171,-158,-158,-165,-179,-197,-205,-192,-172,-165,-170,-163,-135,-106,-99,-113,-131,-146,-164,-184,-195,-190,-177,-170,-168,-162,-152,-143,-141,-143,-142,-139,-140,-151,-166,-174,-168,-152,-133,-117,-103,-90,-81,-76,-76,-83,-98,-118,-132,-131,-115,-93,-75,-64,-60,-58,-54,-45,-31,-17,-3,10,22,28,25,15,6,1,0},
{3,56,-4,-96,-25,114,44,-154,-96,174,139,-223,-220,261,256,-337,626,4826,9440,8584,393,-9108,-11511,-4928,4361,8762,6065,-245,-4739,-3461,3661,11725,13858,7912,-236,-2312,3309,10094,11124,6225,420,-2537,-2919,-2451,-1755,-933,-742,-1795,-3319,-3871,-3128,-2188,-2096,-2705,-3129,-2815,-1929,-995,-500,-680,-1319,-1746,-1385,-461,86,-337,-1200,-1469,-913,-337,-433,-887,-981,-659,-489,-727,-1017,-1051,-988,-1020,-996,-796,-704,-1029,-1550,-1760,-1566,-1329,-1270,-1223,-1047,-903,-941,-1019,-954,-842,-877,-981,-892,-582,-342,-395,-618,-707,-535,-250,-87,-143,-315,-412,-339,-178,-83,-114,-196,-242,-237,-212,-192,-196,-233,-281,-296,-276,-274,-320,-363,-338,-262,-218,-235,-261,-246,-210,-203,-226,-241,-236,-236,-246,-238,-195,-137,-95,-74,-62,-61,-76,-96,-101,-95,-101,-123,-142,-144,-136,-131,-136,-166,-227,-291,-315,-291,-260,-256,-261,-243,-204,-165,-133,-104,-99,-139,-199,-224,-199,-164,-153,-153,-137,-111,-96,-91,-80,-68,-65,-70,-70,-59,-41,-20,0,6,-6,-19,-13,5,16,16,17,20,23,29,47,65,64,47,47,79,114,121,103,88,89,94,91,74,53,35,25,18,-1,-35,-69,-83,-79,-73,-71,-69,-59,-38,-4,38,73,81,63,37,22,20,15,3,-10,-15,-14,-13,-15,-18,-18,-16,-19,-26,-27,-14,5,13,7}
},
{ // H10e145a.wav
{1,2,-1,-3,-1,0,-2,-4,-2,0,-2,-3,0,2,0,-2,-1,0,-3,-3,1,1,-4,-3,2,1,-8,-7,8,11,-10,-19,4,20,-7,-30,1,35,1,-41,11,80,28,74,742,2063,3058,2532,499,-1574,-2184,-1233,114,731,391,-368,-704,155,2370,4969,6259,5268,2808,797,484,1492,2513,2642,1932,958,188,-255,-489,-683,-919,-1140,-1220,-1107,-882,-683,-589,-587,-628,-681,-724,-707,-579,-370,-203,-178,-252,-294,-254,-216,-268,-380,-459,-478,-481,-492,-490,-464,-422,-352,-228,-68,54,90,71,54,44,7,-65,-144,-212,-278,-356,-443,-535,-625,-696,-720,-698,-663,-649,-652,-649,-634,-621,-614,-599,-566,-538,-548,-593,-628,-615,-577,-572,-615,-655,-638,-574,-512,-473,-441,-401,-370,-371,-395,-419,-440,-470,-503,-515,-491,-437,-370,-304,-257,-243,-251,-253,-234,-210,-204,-211,-212,-207,-219,-254,-285,-281,-251,-230,-235,-251,-262,-275,-298,-319,-318,-292,-257,-222,-186,-159,-156,-177,-198,-201,-195,-196,-201,-194,-168,-136,-110,-95,-94,-114,-147,-175,-181,-172,-163,-163,-165,-164,-159,-154,-150,-146,-139,-130,-124,-130,-151,-176,-190,-187,-173,-156,-139,-116,-86,-57,-40,-42,-63,-92,-118,-131,-128,-113,-93,-74,-57,-43,-36,-39,-46,-43,-28,-9,3,7,10,13,14,12,5,-9,-23,-26,-15},
{-32,-25,38,40,-56,-81,47,108,-49,-159,27,200,-17,-273,-12,336,-20,-163,2167,6783,9151,4865,-4067,-9938,-7439,578,6577,6143,1059,-3792,-4409,436,8277,13518,11609,4247,-1260,412,6671,10297,7762,2197,-1558,-2261,-1778,-1492,-1251,-1017,-1481,-2698,-3509,-3057,-2081,-1963,-2878,-3609,-3123,-1747,-622,-424,-910,-1456,-1644,-1361,-739,-176,-129,-625,-1101,-1029,-589,-417,-714,-1012,-918,-676,-724,-1010,-1141,-1018,-899,-899,-856,-752,-837,-1202,-1531,-1516,-1276,-1123,-1112,-1082,-1004,-989,-1013,-922,-737,-687,-851,-992,-875,-591,-422,-472,-584,-576,-432,-270,-204,-251,-323,-304,-182,-75,-98,-227,-334,-334,-254,-163,-116,-133,-202,-271,-291,-282,-297,-337,-333,-259,-184,-178,-208,-193,-131,-100,-136,-188,-206,-213,-247,-278,-250,-171,-109,-102,-125,-142,-156,-173,-176,-154,-128,-126,-141,-149,-147,-148,-155,-167,-194,-242,-283,-289,-269,-260,-270,-275,-261,-241,-217,-173,-118,-95,-126,-171,-183,-168,-166,-181,-186,-169,-149,-134,-111,-75,-41,-25,-25,-32,-42,-49,-44,-33,-30,-29,-12,22,46,40,19,6,1,-3,4,33,71,92,98,113,143,165,160,134,107,88,68,35,-11,-56,-79,-75,-61,-56,-60,-55,-39,-26,-27,-33,-35,-33,-23,2,34,49,35,7,-5,0,0,-16,-33,-33,-19,-5,4,13,23,26,17,2,-9,-10,-4,0}
},
{ // H10e150a.wav
{-1,-2,0,2,-1,-3,0,2,0,-2,1,4,1,-2,-1,2,0,-2,1,2,-2,-2,5,6,-5,-8,7,14,-6,-19,3,22,-3,-30,1,42,6,-51,-1,90,43,39,668,2094,3338,2991,841,-1605,-2553,-1663,-121,737,509,-291,-726,122,2512,5413,6896,5781,2938,593,253,1494,2754,2940,2121,1004,148,-324,-567,-777,-1036,-1281,-1397,-1338,-1152,-918,-701,-572,-588,-729,-872,-877,-709,-471,-309,-282,-327,-351,-338,-341,-376,-389,-344,-299,-337,-451,-555,-594,-587,-556,-488,-386,-296,-249,-209,-125,-9,69,58,-23,-116,-174,-193,-205,-253,-341,-425,-463,-461,-469,-520,-598,-657,-656,-593,-525,-536,-644,-756,-753,-634,-522,-523,-605,-662,-655,-633,-645,-665,-635,-547,-443,-369,-344,-365,-415,-474,-522,-547,-535,-478,-388,-308,-274,-283,-295,-279,-244,-216,-203,-195,-191,-201,-228,-250,-247,-223,-203,-201,-212,-226,-240,-248,-253,-262,-282,-308,-320,-302,-262,-227,-211,-205,-199,-194,-197,-205,-209,-204,-195,-186,-176,-158,-133,-112,-110,-128,-152,-165,-166,-163,-161,-158,-156,-159,-164,-164,-154,-139,-126,-116,-111,-118,-139,-166,-189,-202,-203,-186,-146,-93,-48,-25,-28,-51,-86,-116,-128,-119,-98,-74,-53,-41,-41,-45,-44,-37,-32,-30,-24,-10,1,1,-7,-13,-17,-20,-16,-7,-6,-27,-54,-59,-33},
{29,-1,-38,-3,54,9,-82,-38,93,61,-119,-109,129,156,-151,-228,166,276,-198,366,3616,7643,7590,1475,-6070,-8146,-3286,3143,5244,2293,-2089,-4102,-1925,4032,10656,13111,9108,2374,-468,2802,7596,8259,4434,232,-1399,-1212,-1063,-1262,-1298,-1430,-2166,-2972,-2863,-2061,-1889,-2871,-3846,-3436,-1822,-463,-329,-1009,-1541,-1539,-1252,-912,-534,-235,-270,-622,-891,-813,-619,-648,-825,-869,-827,-973,-1222,-1156,-717,-438,-700,-1146,-1197,-897,-789,-1073,-1367,-1326,-1097,-990,-1036,-1070,-1029,-949,-820,-654,-595,-740,-937,-935,-724,-544,-555,-653,-654,-521,-355,-253,-238,-276,-294,-243,-159,-133,-198,-282,-305,-267,-211,-159,-123,-125,-175,-229,-246,-247,-272,-299,-274,-196,-132,-118,-118,-100,-90,-119,-166,-192,-202,-232,-273,-277,-230,-180,-166,-172,-165,-160,-185,-222,-224,-182,-146,-155,-190,-209,-197,-171,-150,-147,-175,-232,-281,-288,-263,-243,-250,-267,-272,-259,-232,-198,-167,-150,-143,-136,-132,-147,-176,-197,-196,-181,-161,-130,-85,-47,-33,-31,-22,-14,-24,-46,-59,-58,-57,-54,-33,5,36,42,31,22,23,37,65,100,125,136,146,162,170,155,119,79,41,1,-42,-79,-104,-110,-92,-54,-14,8,9,1,-11,-29,-49,-61,-65,-59,-44,-20,3,9,-4,-19,-22,-17,-12,-6,3,11,15,18,25,29,24,15,12,16,17,10}
},
{ // H10e155a.wav
{0,2,1,-1,0,3,1,-1,1,4,2,0,2,3,-1,-3,3,6,0,-4,4,7,-3,-7,7,15,-7,-23,3,31,3,-38,-9,50,22,-54,-20,91,59,12,596,2117,3615,3464,1207,-1623,-2929,-2107,-369,729,615,-217,-744,85,2645,5870,7587,6365,3110,384,-13,1460,2965,3216,2312,1079,138,-390,-666,-887,-1150,-1407,-1546,-1527,-1399,-1194,-902,-595,-468,-644,-961,-1086,-874,-533,-372,-439,-501,-383,-202,-196,-398,-601,-623,-508,-411,-392,-408,-432,-479,-528,-530,-491,-470,-473,-433,-340,-276,-293,-312,-234,-101,-50,-119,-206,-220,-194,-193,-205,-190,-179,-241,-363,-451,-465,-481,-580,-720,-773,-687,-554,-505,-562,-646,-681,-669,-655,-654,-650,-632,-608,-577,-528,-468,-435,-456,-506,-533,-512,-465,-419,-380,-346,-322,-310,-295,-261,-214,-180,-176,-193,-211,-225,-238,-246,-236,-210,-187,-187,-205,-220,-217,-203,-198,-212,-237,-259,-271,-281,-292,-289,-260,-217,-194,-205,-229,-236,-225,-213,-208,-202,-187,-169,-155,-145,-137,-137,-146,-157,-162,-161,-160,-158,-152,-145,-145,-151,-155,-147,-129,-110,-99,-98,-106,-124,-150,-179,-201,-203,-180,-140,-99,-66,-42,-29,-35,-61,-93,-108,-92,-56,-21,-3,-4,-17,-34,-46,-47,-39,-28,-25,-26,-23,-18,-20,-29,-33,-25,-14,-12,-17,-24,-39,-67,-92,-86,-44},
{-20,11,27,-13,-36,17,50,-24,-83,7,103,1,-144,-35,173,64,-223,-114,268,132,-234,1036,4622,7542,5714,-600,-5972,-5667,-957,2872,2656,-235,-2696,-2730,395,6078,11347,12110,7499,1894,562,3704,6669,5898,2608,98,-525,-552,-960,-1408,-1581,-1866,-2373,-2502,-2052,-1875,-2689,-3776,-3708,-2222,-621,-202,-854,-1512,-1549,-1224,-963,-761,-477,-269,-375,-661,-761,-636,-605,-803,-978,-957,-959,-1146,-1216,-837,-305,-271,-817,-1301,-1242,-926,-878,-1094,-1177,-1015,-890,-978,-1113,-1101,-969,-814,-641,-486,-491,-692,-876,-828,-636,-574,-723,-869,-790,-516,-258,-162,-201,-269,-298,-295,-287,-274,-240,-198,-185,-205,-210,-167,-110,-97,-129,-160,-175,-200,-234,-240,-204,-164,-148,-131,-88,-57,-97,-188,-248,-245,-234,-265,-304,-289,-228,-191,-204,-219,-195,-163,-170,-207,-226,-215,-211,-236,-258,-248,-211,-177,-161,-165,-190,-229,-259,-260,-248,-245,-258,-272,-271,-254,-224,-193,-177,-177,-175,-158,-143,-153,-181,-198,-190,-166,-135,-95,-55,-36,-44,-60,-66,-68,-75,-79,-75,-65,-57,-44,-17,14,36,50,66,81,87,88,99,116,123,118,117,123,117,85,35,-8,-35,-51,-65,-75,-75,-60,-34,-10,1,-2,-14,-28,-42,-55,-68,-86,-106,-111,-87,-46,-16,-12,-18,-13,3,16,19,15,10,6,6,13,21,31,42,49,43,22}
},
{ // H10e160a.wav
{-2,-5,-2,1,-1,-4,-1,3,1,-3,-1,1,-3,-6,0,4,-2,-7,2,8,-4,-13,3,16,-7,-31,-5,31,5,-45,-19,52,30,-63,-38,94,75,-20,517,2136,3893,3939,1569,-1647,-3304,-2546,-621,700,692,-160,-760,55,2774,6319,8292,6990,3319,176,-301,1418,3193,3497,2460,1082,78,-452,-716,-933,-1217,-1532,-1739,-1760,-1643,-1442,-1130,-729,-452,-539,-919,-1189,-1036,-614,-373,-503,-708,-613,-267,-72,-252,-584,-725,-629,-519,-542,-620,-625,-546,-440,-351,-318,-382,-499,-544,-469,-391,-438,-561,-596,-493,-367,-315,-303,-252,-174,-134,-136,-116,-48,7,-33,-182,-371,-505,-536,-497,-466,-489,-540,-571,-574,-585,-626,-684,-727,-734,-705,-649,-590,-550,-537,-540,-550,-558,-547,-500,-432,-391,-398,-417,-399,-342,-286,-252,-221,-181,-160,-188,-245,-276,-258,-222,-205,-205,-202,-196,-199,-209,-208,-197,-193,-202,-214,-219,-228,-254,-284,-288,-260,-226,-212,-219,-231,-237,-238,-237,-234,-225,-210,-195,-185,-179,-170,-160,-159,-171,-183,-180,-167,-161,-165,-166,-156,-145,-140,-135,-119,-99,-89,-93,-102,-112,-129,-156,-181,-191,-182,-161,-136,-113,-94,-77,-67,-64,-64,-59,-44,-21,-1,11,15,15,13,6,-8,-26,-45,-61,-72,-78,-80,-77,-65,-45,-27,-20,-22,-27,-30,-35,-44,-57,-73,-85,-81,-57,-23},
{12,-10,-11,18,17,-22,-22,34,35,-46,-63,43,84,-48,-123,38,162,-30,-219,13,279,-19,-120,1662,5097,6927,4270,-1314,-4974,-4012,-597,1429,826,-899,-1999,-1407,1718,7000,11444,11361,6695,1839,920,3337,5231,4431,2242,717,101,-472,-1209,-1671,-1801,-1923,-2029,-1918,-1885,-2479,-3469,-3764,-2727,-1098,-218,-533,-1288,-1587,-1326,-979,-820,-700,-481,-321,-405,-608,-669,-592,-628,-879,-1138,-1199,-1095,-940,-735,-491,-391,-582,-907,-1065,-1003,-941,-993,-1034,-965,-908,-985,-1092,-1060,-902,-760,-672,-574,-479,-476,-562,-624,-620,-648,-774,-908,-906,-738,-489,-268,-151,-172,-287,-383,-385,-327,-285,-266,-218,-135,-73,-67,-85,-80,-59,-59,-88,-132,-183,-231,-254,-233,-181,-138,-125,-135,-152,-178,-214,-252,-280,-297,-303,-296,-276,-252,-230,-205,-175,-162,-183,-215,-219,-195,-185,-216,-262,-284,-276,-256,-228,-192,-173,-198,-246,-263,-241,-223,-240,-267,-263,-231,-203,-186,-166,-146,-149,-177,-208,-221,-215,-197,-167,-133,-109,-102,-100,-93,-80,-65,-55,-58,-78,-98,-98,-76,-55,-42,-22,15,52,70,76,86,98,98,86,80,82,78,67,66,80,90,74,36,-1,-24,-39,-53,-61,-53,-33,-15,-11,-23,-42,-53,-56,-62,-79,-101,-116,-118,-108,-84,-50,-20,-6,-2,9,29,40,32,17,12,17,20,26,45,70,72,41}
},
{ // H10e165a.wav
{-5,0,1,-2,-2,3,2,-3,-2,1,-2,-7,-2,4,-1,-7,1,9,-3,-14,2,19,-3,-32,-10,33,12,-47,-28,53,41,-66,-58,94,100,-32,440,2124,4139,4430,1997,-1617,-3684,-3021,-880,700,787,-122,-808,9,2891,6744,8988,7664,3619,28,-606,1324,3404,3806,2630,1070,-7,-524,-773,-990,-1258,-1556,-1809,-1949,-1949,-1771,-1374,-838,-451,-500,-927,-1285,-1167,-672,-311,-417,-751,-820,-495,-150,-167,-482,-737,-745,-632,-578,-610,-660,-681,-642,-515,-362,-309,-387,-458,-411,-341,-422,-638,-787,-747,-618,-543,-524,-473,-373,-274,-194,-110,-44,-60,-152,-215,-181,-120,-154,-294,-420,-431,-360,-326,-395,-524,-633,-691,-713,-711,-685,-655,-650,-672,-671,-598,-472,-366,-338,-382,-455,-516,-535,-494,-401,-292,-214,-183,-187,-206,-235,-264,-273,-249,-210,-196,-216,-242,-240,-209,-177,-168,-180,-192,-193,-190,-196,-215,-239,-257,-263,-262,-255,-239,-217,-203,-210,-230,-239,-229,-217,-217,-219,-208,-193,-191,-200,-200,-187,-180,-190,-200,-191,-169,-155,-155,-153,-139,-121,-112,-109,-102,-87,-74,-76,-92,-113,-133,-158,-189,-208,-193,-144,-91,-61,-53,-53,-51,-51,-53,-47,-26,4,34,62,87,97,80,39,-6,-42,-69,-92,-110,-116,-110,-97,-81,-63,-46,-35,-33,-37,-42,-47,-55,-65,-69,-62,-45,-27,-13,-5},
{-6,8,4,-14,-6,18,7,-25,-11,32,13,-53,-39,51,49,-71,-86,70,115,-82,-168,85,212,-108,77,2068,5122,6260,3535,-1218,-4142,-3561,-1252,266,273,-530,-1253,-744,2297,7446,11455,10902,6205,1598,581,2494,4197,3963,2562,1254,247,-730,-1518,-1804,-1712,-1614,-1654,-1843,-2311,-3037,-3497,-3064,-1813,-621,-308,-830,-1440,-1533,-1174,-817,-706,-680,-535,-352,-350,-533,-687,-708,-738,-901,-1100,-1158,-1042,-837,-606,-424,-430,-669,-937,-972,-791,-680,-809,-1033,-1137,-1097,-1028,-968,-872,-741,-639,-585,-541,-490,-463,-473,-501,-542,-622,-739,-840,-858,-756,-551,-322,-193,-235,-374,-456,-404,-286,-210,-194,-182,-138,-74,-10,39,52,14,-57,-128,-190,-259,-325,-339,-282,-201,-162,-174,-197,-210,-228,-264,-298,-308,-300,-295,-292,-277,-250,-222,-200,-181,-172,-184,-207,-216,-208,-207,-230,-262,-281,-280,-269,-253,-237,-233,-244,-254,-247,-230,-222,-226,-230,-226,-216,-196,-163,-132,-128,-157,-195,-218,-230,-239,-238,-214,-171,-124,-84,-54,-43,-52,-70,-85,-100,-112,-114,-99,-76,-58,-39,-7,35,64,72,69,68,65,57,51,53,55,51,49,56,68,71,60,39,17,-1,-13,-25,-41,-55,-61,-62,-65,-71,-75,-74,-78,-92,-107,-114,-116,-118,-111,-83,-44,-12,7,21,34,38,32,23,15,8,10,32,60,64,35}
},
{ // H10e170a.wav
{2,-4,-4,2,2,-3,-3,0,-3,-7,-2,4,-1,-9,-1,9,-2,-16,-1,19,-3,-38,-15,36,18,-51,-39,52,51,-66,-76,85,115,-33,396,2127,4350,4865,2413,-1536,-4011,-3500,-1179,690,910,-76,-894,-74,3020,7197,9672,8302,3935,-34,-828,1238,3570,4084,2796,1032,-156,-640,-808,-997,-1291,-1610,-1865,-2050,-2172,-2114,-1710,-1011,-419,-385,-906,-1435,-1403,-829,-299,-290,-646,-828,-597,-262,-225,-488,-740,-791,-728,-689,-687,-685,-680,-646,-540,-413,-402,-528,-609,-491,-297,-286,-510,-758,-839,-788,-725,-665,-551,-411,-352,-411,-491,-466,-319,-140,-36,-43,-118,-194,-234,-239,-219,-187,-181,-245,-379,-519,-607,-643,-664,-680,-675,-649,-618,-572,-486,-384,-337,-375,-443,-468,-446,-424,-418,-396,-340,-286,-267,-267,-244,-202,-183,-211,-262,-295,-291,-262,-225,-192,-171,-164,-169,-180,-194,-206,-210,-204,-201,-214,-242,-267,-275,-267,-248,-219,-189,-177,-192,-217,-228,-223,-217,-218,-219,-213,-209,-213,-220,-219,-209,-199,-189,-177,-162,-150,-145,-142,-136,-126,-115,-108,-104,-98,-85,-75,-83,-111,-140,-156,-160,-161,-152,-122,-77,-43,-33,-41,-54,-60,-58,-43,-14,21,52,75,95,109,106,81,39,-6,-44,-74,-98,-121,-141,-146,-131,-102,-74,-56,-47,-42,-45,-56,-70,-79,-80,-72,-53,-25,3,19,19,9},
{1,-8,-2,9,4,-9,0,16,3,-19,-1,30,4,-46,-22,48,30,-64,-54,72,80,-85,-117,98,149,-106,252,2219,4944,5833,3334,-973,-3877,-3806,-1884,-104,489,-61,-940,-542,2605,7741,11416,10507,5733,1161,10,1781,3715,4027,2966,1485,74,-1063,-1650,-1622,-1370,-1360,-1675,-2131,-2609,-3015,-3066,-2461,-1361,-457,-365,-974,-1549,-1503,-987,-602,-629,-766,-640,-336,-225,-429,-711,-854,-893,-919,-917,-881,-887,-917,-799,-499,-310,-504,-892,-1005,-717,-428,-538,-946,-1238,-1207,-1009,-860,-794,-724,-610,-494,-419,-399,-428,-481,-524,-540,-552,-596,-668,-708,-661,-544,-440,-406,-405,-360,-270,-217,-243,-276,-232,-132,-61,-45,-26,20,33,-34,-137,-208,-253,-317,-392,-412,-354,-274,-233,-228,-230,-237,-263,-289,-284,-257,-253,-285,-311,-292,-243,-204,-188,-183,-183,-191,-202,-207,-214,-238,-272,-288,-275,-252,-234,-220,-209,-217,-250,-280,-275,-242,-216,-215,-224,-220,-203,-183,-167,-158,-160,-169,-177,-181,-189,-200,-202,-188,-169,-150,-127,-98,-73,-65,-71,-81,-92,-106,-117,-113,-90,-59,-30,-2,25,46,58,60,52,36,22,18,22,27,31,43,64,83,89,83,71,51,19,-19,-49,-68,-82,-93,-95,-88,-83,-89,-101,-107,-104,-102,-106,-111,-107,-90,-62,-27,6,29,35,30,22,16,12,14,27,44,46,26}
},
{ // H10e175a.wav
{-5,3,5,-1,-3,0,-2,-7,-2,5,-1,-9,0,12,1,-16,-2,21,1,-38,-19,36,24,-48,-44,50,60,-60,-84,76,120,-32,372,2130,4500,5213,2812,-1349,-4179,-3903,-1532,585,1012,26,-943,-209,3034,7547,10304,8947,4325,35,-934,1170,3664,4306,2991,1053,-320,-847,-905,-969,-1247,-1626,-1920,-2118,-2315,-2417,-2119,-1325,-470,-213,-728,-1447,-1620,-1106,-473,-306,-562,-732,-545,-271,-283,-554,-763,-773,-746,-809,-867,-800,-666,-580,-534,-479,-470,-567,-662,-592,-404,-339,-508,-754,-867,-831,-758,-691,-598,-507,-496,-562,-598,-532,-411,-320,-278,-244,-206,-194,-221,-251,-235,-166,-102,-120,-245,-412,-526,-556,-546,-544,-540,-497,-425,-372,-364,-377,-379,-374,-383,-407,-427,-430,-418,-397,-363,-316,-267,-229,-210,-216,-241,-272,-292,-294,-283,-265,-244,-218,-190,-165,-152,-159,-185,-213,-220,-204,-193,-211,-249,-278,-285,-277,-260,-229,-193,-176,-187,-205,-205,-192,-193,-215,-242,-254,-249,-232,-210,-193,-188,-193,-194,-184,-167,-151,-139,-131,-127,-127,-124,-115,-103,-94,-90,-97,-117,-143,-155,-142,-116,-96,-84,-70,-49,-30,-20,-18,-23,-38,-54,-52,-24,19,58,85,101,108,103,84,56,24,-8,-40,-75,-111,-138,-148,-142,-127,-106,-85,-67,-59,-64,-73,-79,-81,-81,-71,-47,-17,3,10,15,23,25,14},
{-4,2,0,-7,-3,5,1,-8,0,12,0,-17,-1,24,0,-42,-20,39,23,-54,-44,58,61,-72,-91,86,120,-70,342,2215,4760,5614,3269,-946,-3998,-4104,-2064,60,828,133,-913,-440,2843,7854,11185,10041,5260,707,-501,1335,3596,4251,3197,1412,-216,-1218,-1479,-1282,-1158,-1405,-1867,-2268,-2563,-2783,-2718,-2082,-1046,-309,-421,-1129,-1607,-1377,-795,-525,-699,-841,-591,-190,-120,-455,-836,-963,-882,-791,-785,-846,-910,-870,-665,-432,-428,-676,-861,-727,-440,-378,-623,-899,-987,-973,-1007,-1033,-910,-667,-461,-369,-340,-349,-432,-558,-608,-531,-434,-443,-536,-579,-509,-400,-352,-374,-402,-381,-314,-241,-194,-182,-195,-211,-203,-164,-112,-81,-85,-123,-189,-281,-383,-449,-443,-385,-336,-327,-329,-302,-249,-214,-217,-237,-247,-251,-272,-305,-316,-286,-232,-189,-173,-181,-201,-219,-224,-216,-208,-216,-242,-270,-281,-269,-239,-202,-175,-178,-214,-259,-283,-278,-259,-245,-241,-236,-217,-180,-141,-126,-142,-167,-178,-178,-178,-179,-172,-158,-150,-153,-155,-147,-133,-117,-96,-74,-64,-73,-89,-95,-91,-83,-68,-40,-5,22,33,34,29,15,-1,-8,0,15,33,60,94,118,117,93,60,26,-7,-36,-60,-80,-95,-106,-109,-106,-102,-99,-97,-98,-103,-107,-108,-106,-97,-74,-37,0,18,19,16,18,21,22,25,31,29,15}
},
{ // H10e180a.wav
{3,-3,-4,0,-3,-8,-3,5,0,-10,-2,11,0,-18,-4,20,1,-38,-22,33,22,-49,-45,48,57,-63,-87,72,113,-44,363,2158,4618,5450,3119,-1113,-4170,-4153,-1887,355,1006,119,-949,-341,2973,7770,10813,9541,4797,304,-845,1144,3626,4376,3186,1215,-380,-1119,-1164,-1026,-1148,-1561,-1974,-2219,-2410,-2593,-2468,-1752,-736,-181,-510,-1282,-1649,-1287,-682,-462,-647,-745,-485,-167,-208,-575,-871,-873,-750,-746,-860,-923,-847,-677,-507,-436,-526,-705,-765,-589,-350,-338,-604,-888,-951,-847,-786,-834,-857,-728,-502,-340,-332,-431,-524,-542,-496,-435,-393,-367,-346,-322,-290,-253,-227,-240,-295,-360,-402,-412,-390,-331,-260,-233,-279,-342,-339,-265,-206,-229,-303,-359,-393,-441,-491,-480,-386,-274,-225,-241,-264,-261,-249,-248,-249,-249,-264,-298,-314,-279,-215,-177,-181,-194,-186,-174,-183,-208,-225,-228,-238,-263,-287,-283,-249,-207,-187,-198,-222,-234,-230,-225,-233,-245,-246,-234,-216,-198,-179,-167,-170,-180,-181,-174,-172,-179,-179,-162,-141,-132,-129,-119,-105,-100,-107,-112,-111,-109,-110,-109,-105,-97,-82,-56,-23,2,6,-3,-12,-15,-17,-16,-4,20,48,71,86,93,91,80,61,35,3,-34,-69,-98,-117,-127,-128,-122,-112,-100,-92,-90,-94,-98,-98,-94,-84,-67,-42,-10,17,27,20,10,9,16,20,13},
{3,-3,-4,0,-3,-8,-3,5,0,-10,-2,11,0,-18,-4,20,1,-38,-22,33,22,-49,-45,48,57,-63,-87,72,113,-44,363,2158,4618,5450,3119,-1113,-4170,-4153,-1887,355,1006,119,-949,-341,2973,7770,10813,9541,4797,304,-845,1144,3626,4376,3186,1215,-380,-1119,-1164,-1026,-1148,-1561,-1974,-2219,-2410,-2593,-2468,-1752,-736,-181,-510,-1282,-1649,-1287,-682,-462,-647,-745,-485,-167,-208,-575,-871,-873,-750,-746,-860,-923,-847,-677,-507,-436,-526,-705,-765,-589,-350,-338,-604,-888,-951,-847,-786,-834,-857,-728,-502,-340,-332,-431,-524,-542,-496,-435,-393,-367,-346,-322,-290,-253,-227,-240,-295,-360,-402,-412,-390,-331,-260,-233,-279,-342,-339,-265,-206,-229,-303,-359,-393,-441,-491,-480,-386,-274,-225,-241,-264,-261,-249,-248,-249,-249,-264,-298,-314,-279,-215,-177,-181,-194,-186,-174,-183,-208,-225,-228,-238,-263,-287,-283,-249,-207,-187,-198,-222,-234,-230,-225,-233,-245,-246,-234,-216,-198,-179,-167,-170,-180,-181,-174,-172,-179,-179,-162,-141,-132,-129,-119,-105,-100,-107,-112,-111,-109,-110,-109,-105,-97,-82,-56,-23,2,6,-3,-12,-15,-17,-16,-4,20,48,71,86,93,91,80,61,35,3,-34,-69,-98,-117,-127,-128,-122,-112,-100,-92,-90,-94,-98,-98,-94,-84,-67,-42,-10,17,27,20,10,9,16,20,13}
}
},
{ // elev20
{ // H20e000a.wav
{-15,7,12,-10,-11,10,5,-18,0,35,7,-46,-12,67,26,-89,-54,104,83,-128,-133,143,194,-153,-261,171,324,-146,471,3760,7498,6987,1408,-3760,-3332,357,530,-4128,-7014,-2751,4912,7876,4449,1178,3840,10239,13556,10401,3494,-2194,-3752,-1430,2266,4116,2359,-1748,-5127,-5982,-5150,-4238,-3462,-2151,-643,-336,-1675,-3147,-2942,-1157,392,432,-431,-817,-382,48,-146,-588,-607,-171,215,178,-276,-944,-1479,-1472,-877,-280,-292,-709,-712,18,853,1069,722,375,259,150,-116,-424,-663,-866,-993,-882,-539,-268,-353,-724,-1021,-936,-469,74,306,97,-277,-412,-231,-32,-90,-356,-621,-801,-940,-1045,-1082,-1072,-1063,-1037,-969,-926,-979,-1026,-883,-556,-287,-277,-464,-646,-725,-731,-700,-618,-502,-407,-361,-336,-309,-301,-327,-356,-343,-300,-281,-314,-359,-351,-275,-184,-135,-132,-140,-139,-143,-170,-215,-255,-278,-287,-287,-276,-255,-232,-216,-210,-210,-214,-227,-249,-265,-254,-227,-213,-214,-195,-130,-52,-17,-37,-78,-115,-154,-190,-202,-181,-151,-131,-107,-64,-18,0,-12,-37,-64,-96,-126,-135,-121,-95,-64,-34,-10,7,23,44,53,33,-7,-38,-43,-30,-9,15,31,27,6,-14,-32,-61,-100,-120,-101,-61,-31,-16,2,34,66,77,58,25,5,13,38,53,54,65,107,164,201,201,168,120,76,58,66,75,59,24},
{-15,7,12,-10,-11,10,5,-18,0,35,7,-46,-12,67,26,-89,-54,104,83,-128,-133,143,194,-153,-261,171,324,-146,471,3760,7498,6987,1408,-3760,-3332,357,530,-4128,-7014,-2751,4912,7876,4449,1178,3840,10239,13556,10401,3494,-2194,-3752,-1430,2266,4116,2359,-1748,-5127,-5982,-5150,-4238,-3462,-2151,-643,-336,-1675,-3147,-2942,-1157,392,432,-431,-817,-382,48,-146,-588,-607,-171,215,178,-276,-944,-1479,-1472,-877,-280,-292,-709,-712,18,853,1069,722,375,259,150,-116,-424,-663,-866,-993,-882,-539,-268,-353,-724,-1021,-936,-469,74,306,97,-277,-412,-231,-32,-90,-356,-621,-801,-940,-1045,-1082,-1072,-1063,-1037,-969,-926,-979,-1026,-883,-556,-287,-277,-464,-646,-725,-731,-700,-618,-502,-407,-361,-336,-309,-301,-327,-356,-343,-300,-281,-314,-359,-351,-275,-184,-135,-132,-140,-139,-143,-170,-215,-255,-278,-287,-287,-276,-255,-232,-216,-210,-210,-214,-227,-249,-265,-254,-227,-213,-214,-195,-130,-52,-17,-37,-78,-115,-154,-190,-202,-181,-151,-131,-107,-64,-18,0,-12,-37,-64,-96,-126,-135,-121,-95,-64,-34,-10,7,23,44,53,33,-7,-38,-43,-30,-9,15,31,27,6,-14,-32,-61,-100,-120,-101,-61,-31,-16,2,34,66,77,58,25,5,13,38,53,54,65,107,164,201,201,168,120,76,58,66,75,59,24}
},
{ // H20e005a.wav
{13,-8,-10,7,9,-6,-4,8,-1,-13,10,30,-4,-38,6,57,0,-79,-16,100,34,-131,-72,154,120,-172,-160,208,196,-142,847,4025,6854,5564,471,-3331,-2269,712,137,-4052,-5982,-1917,4407,6651,4058,1884,4229,9167,11610,9045,3373,-1571,-3067,-947,2490,4043,2149,-1769,-4859,-5661,-4910,-3832,-2684,-1348,-447,-868,-2301,-3152,-2306,-491,574,187,-703,-873,-290,139,-90,-528,-536,-126,180,3,-589,-1223,-1458,-1084,-413,-105,-426,-828,-588,237,875,844,469,279,294,189,-123,-432,-614,-735,-813,-755,-584,-482,-544,-628,-552,-312,-57,80,54,-96,-265,-341,-315,-280,-315,-420,-566,-745,-927,-1046,-1071,-1037,-977,-887,-793,-778,-870,-960,-912,-734,-562,-496,-527,-607,-704,-781,-780,-689,-564,-461,-383,-312,-274,-302,-373,-412,-378,-311,-282,-311,-351,-352,-304,-240,-189,-161,-154,-170,-201,-230,-248,-263,-281,-287,-265,-229,-205,-201,-199,-185,-171,-178,-208,-239,-246,-225,-197,-185,-185,-172,-129,-77,-48,-52,-76,-109,-148,-182,-194,-187,-176,-156,-106,-32,25,32,3,-28,-54,-90,-133,-161,-154,-118,-72,-33,-11,-3,3,15,23,16,-5,-22,-24,-11,10,31,41,28,-2,-31,-55,-79,-105,-117,-101,-66,-37,-26,-21,-2,32,57,50,22,7,25,58,76,77,85,118,161,187,183,155,118,86,65,48,25},
{16,-2,-18,4,16,-12,-19,26,33,-35,-51,43,75,-51,-117,39,150,-37,-211,8,274,34,-341,-81,409,99,-161,2113,6733,8936,4830,-2299,-5019,-1630,1162,-2196,-7506,-6200,2335,9168,7565,1788,1113,7804,14782,14541,7061,-1525,-5486,-3593,1266,4698,3820,-661,-5158,-6688,-5541,-4104,-3613,-3166,-1877,-628,-858,-2306,-3090,-2092,-351,359,-245,-872,-588,47,29,-598,-916,-490,154,346,7,-566,-1114,-1405,-1236,-775,-539,-703,-748,-162,737,1173,935,542,411,361,79,-372,-744,-970,-1075,-971,-631,-335,-425,-854,-1190,-1079,-582,-53,180,61,-182,-258,-131,-45,-189,-443,-584,-624,-755,-1012,-1213,-1249,-1216,-1219,-1220,-1159,-1057,-923,-680,-338,-103,-165,-431,-631,-649,-608,-619,-625,-530,-370,-264,-258,-302,-333,-341,-332,-315,-308,-332,-369,-370,-307,-212,-138,-110,-111,-119,-129,-142,-152,-161,-185,-238,-301,-334,-320,-278,-242,-225,-216,-209,-206,-218,-246,-274,-278,-250,-216,-201,-194,-162,-103,-58,-57,-86,-118,-145,-173,-188,-179,-155,-136,-117,-84,-48,-35,-44,-55,-60,-73,-98,-118,-120,-111,-91,-52,-2,34,42,41,45,41,14,-27,-53,-50,-25,11,43,55,42,18,-6,-37,-80,-111,-106,-70,-34,-18,-8,16,55,93,106,82,35,2,9,37,51,52,72,127,185,205,177,123,74,52,60,75,67,31,-2,-8}
},
{ // H20e010a.wav
{-2,11,5,-9,-5,6,2,-7,0,5,-7,-8,15,19,-16,-27,21,40,-23,-60,19,81,-16,-114,-3,149,34,-174,-51,213,64,-23,1418,4395,6123,3976,-512,-2791,-1117,899,-734,-4485,-5013,-453,4827,5832,3194,1893,4728,9144,10581,7407,2012,-1861,-2129,468,3202,3495,940,-2555,-4732,-4939,-4057,-3006,-1983,-1081,-813,-1488,-2438,-2501,-1378,-66,291,-289,-797,-568,-6,131,-236,-528,-373,-41,-8,-382,-892,-1194,-1089,-648,-239,-235,-549,-649,-217,399,640,464,301,363,385,115,-282,-510,-553,-593,-669,-675,-608,-576,-571,-433,-94,265,381,169,-215,-510,-560,-435,-341,-396,-509,-556,-579,-721,-972,-1138,-1093,-928,-812,-787,-791,-791,-797,-796,-765,-727,-722,-723,-683,-629,-652,-760,-833,-767,-599,-450,-381,-353,-326,-316,-351,-408,-429,-394,-341,-319,-332,-339,-311,-258,-215,-202,-216,-235,-244,-245,-248,-262,-278,-275,-245,-204,-171,-150,-135,-126,-134,-163,-203,-230,-230,-206,-177,-160,-157,-151,-128,-98,-81,-89,-115,-141,-156,-158,-158,-163,-160,-128,-69,-18,-3,-12,-18,-24,-54,-105,-145,-154,-147,-135,-105,-55,-11,4,-1,0,10,11,-4,-16,-12,4,22,35,38,24,-2,-31,-61,-95,-121,-123,-103,-80,-66,-53,-28,5,35,53,56,44,28,28,49,73,85,96,124,160,178,167,139,104,66,27},
{-14,-9,17,3,-26,7,52,2,-69,-8,96,25,-130,-61,152,97,-189,-160,219,245,-238,-336,269,417,-253,589,4852,9431,8410,1210,-5041,-4293,-22,-380,-6044,-8502,-2052,7507,10186,4990,825,4614,12910,16781,11997,2338,-5236,-6457,-1987,3695,5542,1896,-4085,-7631,-7099,-4824,-3484,-3117,-2319,-1072,-836,-2078,-3200,-2542,-620,521,-63,-1172,-1224,-293,260,-239,-993,-989,-273,338,329,-188,-857,-1318,-1279,-840,-578,-860,-1168,-666,566,1478,1372,724,387,468,435,3,-592,-1048,-1255,-1176,-873,-647,-787,-1129,-1185,-793,-325,-150,-184,-141,8,67,-51,-239,-384,-464,-497,-538,-694,-994,-1308,-1479,-1519,-1536,-1520,-1348,-993,-606,-337,-204,-164,-204,-315,-436,-515,-560,-590,-569,-467,-337,-264,-250,-228,-182,-183,-276,-396,-441,-400,-346,-325,-304,-242,-154,-87,-56,-52,-72,-115,-156,-171,-181,-233,-316,-364,-333,-264,-220,-213,-212,-204,-203,-219,-243,-260,-258,-226,-181,-161,-177,-185,-147,-89,-71,-101,-139,-160,-174,-185,-179,-165,-167,-171,-137,-65,-12,-18,-49,-61,-63,-85,-115,-124,-108,-85,-55,-7,36,41,20,12,21,14,-22,-51,-41,-1,41,70,82,74,53,33,11,-30,-85,-117,-101,-55,-18,0,20,56,94,112,101,67,32,18,23,35,50,79,127,178,204,190,142,82,39,31,46,48,27,6,9,21,17}
},
{ // H20e015a.wav
{-2,-9,0,8,1,-9,-3,5,0,-5,1,2,-7,-4,15,11,-18,-16,23,25,-32,-43,32,58,-39,-90,31,123,-14,-149,10,181,3,136,1748,4341,5291,2901,-791,-2075,-456,547,-1597,-4471,-3733,842,4770,4622,2279,2158,5495,9057,9164,5545,1054,-1332,-740,1484,3062,2457,-44,-2724,-4056,-3912,-3173,-2497,-1889,-1309,-1089,-1457,-1970,-1880,-1052,-192,-7,-376,-601,-347,6,-10,-308,-444,-277,-117,-260,-626,-917,-942,-712,-384,-184,-249,-450,-483,-214,161,391,459,473,410,180,-135,-331,-356,-362,-445,-528,-534,-522,-528,-440,-152,226,433,315,-52,-464,-725,-743,-593,-454,-443,-520,-605,-713,-893,-1069,-1094,-953,-804,-774,-815,-812,-751,-696,-682,-683,-686,-703,-730,-749,-760,-775,-780,-744,-672,-602,-549,-490,-414,-352,-339,-365,-392,-405,-416,-429,-425,-388,-327,-269,-238,-234,-242,-248,-247,-245,-249,-256,-260,-253,-235,-206,-171,-138,-114,-105,-110,-124,-147,-176,-200,-205,-190,-174,-166,-155,-133,-111,-109,-127,-144,-147,-144,-146,-147,-137,-122,-115,-109,-93,-70,-52,-46,-48,-54,-70,-99,-134,-157,-154,-125,-86,-56,-37,-18,5,21,17,1,-8,-7,-6,-6,4,22,27,13,-7,-22,-43,-83,-127,-142,-113,-70,-49,-52,-46,-10,36,56,41,19,21,41,56,64,80,106,130,146,160,164,133,65},
{8,19,-20,-23,39,42,-48,-61,62,93,-73,-142,63,185,-62,-258,36,341,9,-428,-54,532,76,-271,2513,8074,10686,5883,-2433,-5898,-2772,-290,-3856,-8516,-5770,3722,10185,7791,2319,3073,10759,17155,15287,6441,-2672,-6601,-4456,777,4501,3520,-1431,-6330,-7869,-6467,-4749,-3886,-2841,-1007,151,-932,-3263,-4043,-2104,547,1202,-292,-1695,-1423,-304,8,-671,-1162,-765,-11,332,122,-409,-1032,-1398,-1169,-621,-534,-1048,-1211,-240,1215,1805,1245,549,501,711,440,-298,-929,-1191,-1299,-1433,-1495,-1353,-1041,-694,-448,-390,-439,-376,-105,159,145,-125,-388,-481,-458,-415,-412,-557,-944,-1482,-1917,-2089,-2014,-1717,-1193,-585,-206,-208,-374,-392,-244,-158,-246,-384,-445,-460,-495,-511,-437,-299,-172,-84,-29,-44,-172,-354,-456,-429,-359,-346,-366,-326,-199,-67,-6,-14,-44,-75,-119,-180,-245,-297,-324,-321,-296,-264,-235,-205,-184,-189,-214,-228,-221,-218,-228,-217,-169,-136,-161,-199,-167,-75,-25,-66,-140,-177,-192,-223,-251,-238,-201,-177,-157,-106,-43,-17,-34,-49,-48,-61,-97,-121,-111,-89,-72,-47,-10,14,10,1,6,7,-15,-38,-35,-7,30,73,117,141,125,85,42,-8,-73,-125,-124,-77,-29,1,30,74,113,121,98,60,25,12,26,45,51,56,94,162,211,205,158,104,57,25,17,27,21,-13,-32,7,77,103,60}
},
{ // H20e020a.wav
{2,6,-1,-5,3,8,-1,-6,1,5,-3,-5,2,3,-6,-1,16,9,-17,-11,24,19,-28,-29,33,41,-41,-61,48,93,-39,-114,49,146,-24,253,1865,4068,4571,2311,-671,-1523,-356,-58,-2018,-3811,-2421,1425,4008,3463,2027,2851,5916,8244,7498,4271,1002,-404,247,1742,2476,1574,-475,-2323,-3069,-2954,-2700,-2505,-2053,-1322,-866,-1095,-1624,-1671,-1025,-283,-69,-309,-469,-311,-107,-130,-267,-288,-236,-315,-526,-658,-611,-492,-396,-304,-246,-332,-521,-550,-253,182,439,443,358,278,146,-49,-183,-179,-129,-169,-315,-479,-575,-541,-340,-23,242,275,44,-321,-643,-814,-816,-701,-542,-421,-431,-632,-957,-1199,-1175,-936,-730,-716,-809,-838,-773,-708,-676,-623,-548,-540,-638,-764,-825,-826,-813,-782,-712,-637,-613,-621,-587,-486,-388,-362,-394,-420,-417,-418,-447,-474,-443,-348,-245,-197,-207,-231,-235,-232,-243,-259,-261,-245,-228,-212,-184,-144,-108,-91,-92,-105,-126,-149,-165,-169,-166,-164,-163,-162,-158,-148,-137,-133,-140,-145,-138,-129,-135,-155,-165,-152,-128,-110,-99,-86,-69,-61,-70,-89,-109,-124,-130,-126,-113,-94,-73,-57,-48,-37,-14,13,23,11,-8,-16,-15,-14,-9,5,17,15,-1,-20,-44,-77,-106,-113,-99,-85,-78,-67,-42,-10,14,28,32,25,19,35,72,97,89,80,108,153,149,79},
{4,-38,2,59,1,-83,-10,109,22,-152,-65,174,95,-224,-167,260,255,-298,-365,341,464,-358,529,5280,10565,9981,2604,-4542,-5257,-2338,-2846,-7026,-7538,-555,7724,9084,4465,2545,8115,16099,17995,11293,1062,-5748,-5916,-1323,3189,3570,-325,-4977,-6988,-6356,-5459,-5423,-4880,-2554,253,901,-1227,-3694,-3740,-1414,719,741,-594,-1318,-878,-429,-811,-1389,-1204,-384,219,222,-143,-653,-1173,-1347,-977,-569,-755,-1174,-781,573,1693,1594,818,546,933,1081,425,-630,-1458,-1912,-2076,-1885,-1328,-729,-461,-522,-606,-510,-297,-117,-49,-93,-202,-318,-408,-463,-461,-411,-461,-830,-1538,-2277,-2627,-2386,-1676,-833,-239,-123,-379,-623,-559,-271,-69,-84,-183,-248,-343,-537,-698,-624,-319,1,150,128,22,-110,-239,-318,-334,-344,-396,-430,-357,-202,-98,-98,-112,-56,2,-50,-197,-306,-313,-284,-290,-307,-289,-242,-201,-167,-137,-137,-181,-231,-241,-222,-204,-185,-150,-123,-127,-133,-98,-43,-33,-83,-148,-198,-243,-278,-276,-245,-221,-204,-153,-69,-17,-31,-60,-51,-31,-50,-96,-120,-116,-115,-113,-80,-25,8,5,4,23,32,9,-22,-22,13,67,125,167,174,140,82,15,-59,-120,-135,-92,-26,17,38,64,105,135,129,93,51,23,16,20,28,42,78,137,195,218,193,134,71,27,9,9,7,-7,-18,-2,45,97,120,96,45}
},
{ // H20e025a.wav
{-5,-7,1,4,-3,-5,2,5,-1,-5,0,2,-3,-3,3,1,-6,0,13,3,-18,-7,22,12,-29,-24,30,31,-37,-47,42,67,-40,-80,56,104,-33,311,1809,3694,4032,2063,-464,-1287,-550,-437,-1861,-2953,-1652,1276,3142,2870,2235,3286,5651,7117,6255,3745,1358,326,684,1564,1886,1121,-335,-1613,-2250,-2479,-2623,-2545,-1950,-1057,-567,-859,-1470,-1600,-1023,-294,-37,-263,-494,-411,-157,-28,-104,-263,-396,-459,-429,-335,-289,-350,-412,-369,-319,-431,-620,-576,-184,280,489,444,367,348,292,167,82,81,34,-187,-512,-732,-709,-467,-142,95,106,-120,-442,-675,-743,-703,-634,-568,-516,-526,-658,-904,-1140,-1203,-1045,-796,-648,-673,-776,-825,-782,-697,-613,-540,-489,-489,-555,-674,-806,-899,-908,-829,-717,-644,-625,-616,-579,-524,-481,-456,-438,-419,-410,-417,-431,-434,-408,-344,-261,-197,-182,-207,-239,-251,-240,-225,-223,-233,-231,-202,-156,-119,-106,-106,-102,-99,-112,-138,-160,-163,-153,-146,-150,-161,-167,-160,-146,-135,-134,-140,-150,-163,-176,-181,-174,-161,-145,-125,-100,-82,-81,-93,-103,-105,-108,-117,-124,-117,-95,-75,-67,-66,-56,-34,-11,2,5,4,0,-9,-16,-14,-6,-2,-5,-8,-12,-27,-56,-83,-89,-80,-76,-84,-91,-84,-58,-19,21,45,44,34,36,47,50,51,66,90,89,49},
{-34,39,50,-52,-74,61,105,-74,-160,58,199,-61,-280,28,364,19,-467,-82,583,113,-463,2101,7974,11697,8206,84,-5129,-4767,-3742,-6000,-7866,-3784,4256,8422,5862,2811,6058,13905,18464,14984,6123,-1980,-5208,-3374,649,2881,1075,-3251,-6378,-6523,-5471,-5547,-6203,-5042,-1706,1003,497,-2234,-3747,-2318,166,858,-507,-1682,-1151,22,6,-1209,-2030,-1544,-448,220,230,-172,-813,-1376,-1365,-839,-583,-942,-1071,-113,1334,1849,1164,525,874,1572,1355,-44,-1743,-2765,-2741,-1892,-831,-271,-449,-845,-797,-340,-85,-313,-610,-518,-172,-49,-308,-639,-707,-545,-494,-867,-1626,-2353,-2557,-2108,-1338,-712,-443,-450,-561,-644,-600,-398,-129,48,48,-109,-369,-661,-838,-733,-351,69,273,235,114,24,-55,-161,-257,-298,-311,-332,-340,-297,-228,-182,-156,-119,-88,-106,-164,-208,-234,-288,-359,-369,-296,-213,-180,-155,-100,-68,-117,-197,-221,-197,-195,-211,-183,-119,-99,-133,-130,-56,2,-33,-116,-170,-200,-246,-287,-281,-251,-239,-223,-150,-46,9,-3,-29,-42,-75,-133,-171,-160,-135,-125,-112,-71,-22,8,27,44,46,21,-3,5,37,75,117,161,180,151,94,39,-18,-83,-126,-108,-47,-2,12,39,104,169,179,134,76,37,19,11,7,13,43,102,173,221,219,168,96,34,3,-4,-7,-18,-23,-2,44,89,111,109,89,56,20}
},
{ // H20e030a.wav
{4,4,-3,-4,3,5,-2,-4,2,6,1,-2,2,4,-1,-1,5,4,-2,3,12,3,-13,-1,22,11,-24,-15,33,30,-34,-43,39,68,-25,-69,37,82,-11,315,1633,3303,3660,1982,-308,-1225,-702,-480,-1468,-2337,-1407,902,2579,2683,2407,3265,5053,6179,5557,3622,1661,661,763,1370,1636,1090,-24,-1085,-1763,-2191,-2482,-2395,-1715,-791,-358,-730,-1389,-1541,-990,-293,-62,-295,-508,-372,-37,139,11,-276,-489,-496,-321,-129,-111,-293,-498,-558,-516,-501,-483,-303,50,382,547,610,657,615,399,125,-10,-24,-129,-416,-702,-765,-593,-347,-175,-146,-276,-508,-699,-732,-631,-524,-494,-531,-610,-748,-939,-1103,-1136,-1015,-818,-664,-630,-704,-804,-839,-779,-656,-523,-426,-396,-450,-575,-721,-836,-894,-888,-823,-722,-634,-597,-601,-602,-571,-523,-484,-455,-422,-389,-375,-384,-390,-369,-324,-277,-242,-216,-198,-200,-215,-222,-210,-194,-191,-193,-181,-155,-139,-142,-145,-129,-105,-97,-113,-135,-145,-141,-137,-142,-155,-166,-168,-162,-155,-154,-158,-167,-178,-185,-180,-165,-153,-148,-139,-121,-103,-95,-93,-87,-82,-90,-110,-122,-116,-98,-80,-63,-44,-24,-10,-1,5,7,0,-13,-26,-31,-28,-20,-9,-2,-4,-16,-33,-52,-69,-79,-78,-70,-62,-57,-48,-28,0,25,36,32,18,10,19,42,58,51,25},
{59,6,-84,-25,105,43,-144,-96,153,128,-197,-212,213,305,-231,-431,241,556,-289,-70,3991,9958,11715,6440,-1251,-5210,-5455,-6252,-8002,-6181,672,6850,6722,3037,3657,10905,18215,18090,10378,1320,-3352,-2704,343,2077,601,-2928,-5485,-5444,-4445,-5115,-7250,-7705,-4532,23,1769,-551,-3776,-4018,-1068,1687,1459,-866,-2303,-1573,-204,-36,-954,-1613,-1416,-845,-378,-109,-198,-770,-1361,-1330,-877,-797,-1064,-672,700,1840,1624,738,719,1621,1832,338,-1860,-3006,-2584,-1502,-761,-577,-622,-587,-409,-244,-313,-625,-873,-747,-339,-73,-229,-649,-972,-1047,-1057,-1261,-1651,-1904,-1729,-1247,-903,-941,-1117,-1042,-696,-397,-326,-331,-223,-71,-65,-243,-486,-680,-761,-664,-383,-59,123,148,156,212,208,61,-125,-193,-167,-198,-327,-416,-356,-218,-143,-153,-172,-164,-168,-209,-262,-305,-341,-352,-308,-225,-166,-153,-138,-87,-44,-60,-115,-159,-178,-193,-199,-183,-161,-152,-134,-78,-20,-15,-61,-103,-133,-188,-268,-313,-294,-252,-221,-173,-85,0,23,-7,-49,-97,-166,-229,-238,-196,-148,-112,-72,-22,16,34,50,62,51,21,10,37,79,111,138,163,166,132,75,13,-52,-110,-130,-93,-32,8,30,71,139,193,193,142,77,26,0,-6,0,17,59,133,208,237,203,136,72,23,-12,-32,-35,-29,-16,15,67,117,132,113,86,69,53,28}
},
{ // H20e035a.wav
{-2,-4,-2,0,-3,-5,-1,0,-4,-5,0,3,-2,-5,-1,0,-5,-5,1,0,-6,-3,4,-2,-14,-6,15,8,-22,-18,22,22,-31,-39,32,57,-27,-73,24,82,1,250,1383,2919,3371,1955,-179,-1168,-735,-380,-1124,-1990,-1394,576,2242,2567,2367,2994,4476,5532,5128,3512,1777,834,843,1310,1535,1127,242,-683,-1395,-1925,-2261,-2162,-1494,-632,-254,-637,-1301,-1492,-995,-314,-45,-212,-352,-162,145,173,-140,-483,-558,-366,-129,-54,-195,-439,-592,-546,-381,-253,-173,-2,327,666,808,705,471,234,67,0,-2,-68,-306,-650,-883,-848,-602,-345,-249,-355,-574,-748,-764,-648,-525,-480,-503,-576,-726,-947,-1121,-1116,-948,-761,-672,-679,-728,-787,-827,-800,-688,-553,-473,-463,-483,-514,-580,-685,-784,-826,-808,-761,-715,-672,-634,-605,-584,-561,-529,-494,-461,-431,-401,-374,-355,-347,-341,-327,-299,-261,-222,-194,-181,-179,-177,-177,-184,-198,-210,-214,-210,-200,-181,-151,-117,-94,-87,-93,-110,-135,-159,-171,-172,-176,-188,-197,-190,-172,-159,-160,-171,-183,-187,-183,-175,-168,-162,-151,-135,-117,-100,-87,-84,-92,-102,-105,-100,-96,-92,-78,-54,-34,-29,-28,-18,-4,-8,-32,-54,-55,-41,-27,-19,-11,-5,-9,-25,-43,-53,-57,-61,-64,-58,-44,-35,-38,-41,-29,-3,15,12,0,1,18,28,18},
{-20,-72,23,106,-18,-153,-13,183,30,-247,-86,307,161,-373,-261,453,349,-528,659,5680,11132,11303,5277,-1841,-5656,-7143,-8584,-8232,-3145,4215,7294,4349,1832,6234,15196,19971,15655,6055,-1391,-2912,-209,2572,2314,-1190,-5237,-6597,-4934,-3391,-4810,-7866,-8341,-4445,521,1803,-1222,-4408,-3885,-452,1935,1197,-853,-1558,-816,-417,-1057,-1636,-1303,-639,-440,-554,-575,-720,-1191,-1453,-1070,-643,-876,-1157,-326,1312,2115,1485,746,1015,1399,433,-1491,-2513,-1892,-876,-759,-1203,-1112,-360,176,-27,-567,-866,-853,-737,-574,-366,-310,-625,-1202,-1680,-1858,-1832,-1694,-1356,-799,-350,-428,-999,-1509,-1469,-961,-446,-188,-81,13,8,-217,-564,-797,-808,-682,-522,-361,-221,-134,-68,64,257,372,302,130,25,-1,-92,-308,-485,-443,-236,-91,-114,-196,-211,-192,-225,-294,-322,-314,-328,-351,-309,-206,-134,-120,-90,-5,56,13,-88,-152,-169,-191,-230,-238,-198,-138,-79,-22,10,-13,-78,-138,-178,-222,-270,-288,-263,-215,-157,-86,-21,0,-24,-57,-88,-146,-229,-281,-265,-215,-168,-113,-28,55,91,89,88,83,44,-8,-10,47,110,138,149,169,174,132,54,-29,-98,-145,-149,-97,-17,43,76,113,168,209,195,130,55,7,-10,-12,-1,34,96,168,217,223,191,132,65,6,-31,-45,-46,-39,-15,32,91,136,150,132,102,77,61,46,24}
},
{ // H20e040a.wav
{3,4,0,-2,2,3,-2,-3,2,3,-3,-5,1,6,2,-3,-1,2,0,0,5,5,-3,-3,7,6,-6,-3,16,15,-10,-15,16,24,-16,-30,24,51,-15,-56,29,84,-1,171,1143,2570,3115,1936,-35,-1040,-665,-249,-878,-1781,-1413,340,1981,2406,2223,2702,3999,5016,4776,3429,1902,997,900,1259,1507,1248,510,-365,-1101,-1653,-1986,-1906,-1306,-524,-182,-554,-1197,-1381,-872,-164,125,-61,-257,-136,96,41,-324,-620,-547,-213,40,13,-214,-419,-423,-210,67,220,214,189,273,414,465,377,235,127,55,-30,-174,-402,-684,-898,-898,-680,-425,-335,-453,-653,-785,-780,-672,-550,-485,-495,-556,-661,-821,-998,-1086,-1006,-814,-660,-637,-710,-790,-822,-798,-731,-646,-572,-515,-467,-433,-451,-539,-653,-726,-739,-727,-720,-708,-677,-635,-600,-574,-546,-517,-491,-465,-423,-373,-339,-334,-338,-325,-293,-261,-242,-223,-192,-159,-149,-170,-205,-231,-239,-234,-222,-204,-182,-158,-138,-121,-103,-90,-94,-119,-155,-185,-202,-208,-206,-193,-173,-161,-166,-177,-176,-164,-158,-167,-178,-178,-171,-165,-156,-135,-110,-96,-93,-87,-73,-66,-74,-88,-91,-83,-77,-75,-67,-48,-28,-20,-26,-35,-39,-40,-43,-47,-43,-26,-6,5,2,-7,-15,-26,-44,-63,-69,-62,-51,-45,-41,-32,-18,-4,3,4,1,0,1},
{-69,61,97,-70,-147,51,182,-49,-251,17,325,29,-415,-90,527,121,-577,1391,6860,11741,11027,4820,-2168,-6663,-9196,-10103,-7205,-94,6283,6537,2574,2242,9291,17949,19516,12310,2773,-2090,-1039,2144,3258,920,-3127,-5807,-5497,-3747,-3697,-6274,-8640,-7365,-2814,809,203,-3158,-4823,-2676,774,1801,19,-1677,-1225,204,374,-886,-1918,-1763,-1022,-452,-104,-48,-662,-1698,-2085,-1386,-573,-554,-698,115,1538,2104,1366,419,112,-41,-664,-1294,-1201,-711,-710,-1170,-1186,-459,195,45,-568,-866,-711,-550,-599,-657,-653,-865,-1471,-2189,-2538,-2312,-1660,-877,-247,-18,-287,-862,-1330,-1377,-1038,-598,-276,-82,46,57,-147,-506,-782,-809,-676,-592,-614,-599,-432,-176,37,177,292,374,359,244,102,-28,-178,-337,-404,-316,-165,-96,-128,-168,-178,-210,-282,-331,-323,-319,-368,-404,-349,-226,-111,-22,68,132,108,2,-109,-182,-230,-256,-238,-182,-130,-93,-38,21,21,-56,-140,-174,-190,-230,-270,-263,-221,-182,-134,-58,10,15,-31,-71,-106,-181,-284,-334,-293,-211,-140,-69,24,105,133,119,94,64,21,-9,11,70,125,152,168,178,164,112,30,-66,-151,-186,-154,-78,-10,35,84,156,222,241,201,124,43,-17,-40,-27,8,56,118,185,232,232,185,118,58,11,-29,-61,-71,-46,9,73,123,151,158,147,120,86,57,36,18,4}
},
{ // H20e045a.wav
{1,-1,2,3,-1,-3,1,2,-1,-4,-1,2,-1,-4,0,4,0,-5,-2,2,0,-2,1,0,-6,-5,3,4,-6,-4,14,14,-12,-20,11,24,-13,-34,13,50,-3,-52,13,71,-5,102,914,2217,2832,1897,137,-843,-548,-152,-731,-1653,-1438,149,1746,2212,2013,2375,3566,4615,4543,3385,1959,1051,912,1268,1576,1394,695,-177,-889,-1370,-1647,-1609,-1141,-465,-101,-352,-910,-1141,-772,-170,117,-24,-245,-259,-168,-209,-359,-379,-186,30,87,39,41,121,180,150,54,-58,-127,-75,113,313,353,200,-5,-126,-180,-274,-460,-677,-814,-794,-647,-502,-482,-593,-725,-778,-745,-673,-593,-522,-496,-540,-637,-752,-872,-976,-997,-891,-729,-655,-719,-825,-851,-784,-702,-653,-610,-540,-457,-402,-405,-464,-551,-624,-656,-658,-665,-693,-719,-709,-654,-583,-530,-508,-501,-481,-436,-379,-337,-323,-326,-326,-309,-281,-256,-239,-222,-200,-182,-185,-209,-233,-239,-227,-213,-204,-195,-182,-170,-160,-147,-128,-117,-130,-163,-194,-206,-201,-196,-197,-196,-184,-168,-158,-156,-152,-145,-145,-160,-178,-182,-171,-156,-146,-135,-117,-96,-80,-72,-69,-69,-75,-85,-93,-91,-81,-72,-69,-68,-58,-40,-27,-29,-41,-46,-40,-34,-32,-24,-4,14,14,-2,-15,-21,-34,-61,-81,-76,-53,-36,-31,-25,-8,9,12,3,-3},
{66,57,-86,-113,75,147,-84,-216,67,289,-44,-387,6,505,-14,-524,1812,7400,12082,11213,4953,-2498,-7973,-10973,-10772,-5855,2120,7238,5705,1751,3312,11736,19238,17961,9027,568,-1549,1299,3919,3074,-565,-4222,-5566,-4423,-2998,-3881,-7005,-9055,-6968,-1952,1239,-380,-4378,-5707,-2702,1174,1901,-304,-2002,-1342,89,220,-675,-1108,-858,-813,-1060,-830,-189,-207,-1161,-1904,-1603,-920,-665,-353,764,1959,1749,143,-1147,-969,-91,143,-402,-902,-936,-779,-642,-421,-158,-141,-408,-618,-560,-446,-528,-729,-893,-1163,-1790,-2629,-3090,-2703,-1623,-506,62,-10,-410,-806,-1058,-1135,-985,-622,-226,-28,-67,-185,-260,-321,-421,-513,-556,-618,-764,-897,-837,-554,-207,56,232,363,410,317,138,-2,-62,-114,-211,-294,-285,-196,-109,-72,-75,-106,-176,-275,-365,-414,-427,-413,-366,-286,-189,-85,28,134,179,126,4,-125,-220,-271,-268,-211,-135,-74,-28,12,24,-20,-92,-138,-154,-191,-261,-308,-290,-229,-161,-88,-11,34,21,-19,-57,-118,-227,-329,-342,-261,-163,-93,-22,67,130,128,90,64,50,27,12,37,96,147,167,172,173,155,97,0,-111,-193,-210,-158,-76,-6,48,109,177,225,231,193,127,50,-14,-44,-35,2,59,133,203,235,217,171,120,64,1,-50,-69,-51,-9,43,97,137,152,152,148,135,101,54,22,17,22,16}
},
{ // H20e050a.wav
{0,3,2,0,1,2,0,-2,0,2,-1,-4,-2,0,-2,-3,2,4,0,-4,-1,3,1,-3,-1,1,-3,-3,4,5,-4,-2,14,14,-11,-21,8,26,-6,-30,8,47,4,-51,-2,65,7,57,704,1860,2532,1862,353,-589,-419,-106,-651,-1546,-1425,0,1498,1961,1774,2103,3254,4326,4351,3312,1973,1097,955,1312,1641,1485,805,-31,-654,-1013,-1214,-1209,-864,-319,-18,-253,-777,-1042,-797,-320,-42,-72,-190,-207,-163,-147,-110,41,255,387,389,331,240,69,-155,-283,-238,-133,-108,-126,-73,19,6,-138,-266,-280,-280,-407,-624,-762,-730,-608,-530,-558,-657,-751,-777,-723,-640,-585,-570,-571,-578,-610,-677,-769,-868,-942,-951,-884,-791,-745,-757,-764,-718,-646,-602,-584,-551,-491,-439,-426,-445,-473,-506,-554,-617,-675,-704,-700,-670,-628,-586,-547,-513,-486,-464,-435,-393,-350,-329,-333,-341,-331,-302,-271,-252,-243,-235,-223,-208,-195,-194,-209,-232,-242,-230,-209,-203,-210,-210,-189,-161,-152,-167,-186,-189,-182,-184,-197,-204,-196,-179,-166,-156,-145,-134,-133,-143,-155,-159,-159,-162,-171,-174,-161,-136,-112,-97,-85,-70,-58,-62,-79,-93,-92,-85,-85,-91,-92,-81,-64,-49,-39,-34,-33,-35,-38,-40,-35,-20,-2,9,10,4,-8,-25,-45,-61,-65,-56,-43,-33,-25,-16,-7,-1,0},
{66,-86,-116,69,143,-77,-209,54,269,-35,-363,-6,465,-11,-496,1744,7287,12269,11911,5700,-2579,-9155,-12379,-11162,-4951,3346,7684,5363,1640,4206,13100,19600,16462,6563,-857,-793,3311,5182,2650,-1689,-4454,-4534,-3212,-2770,-4640,-7749,-8906,-6037,-1180,1038,-1393,-5220,-5664,-2185,1120,907,-1436,-2282,-776,600,19,-1314,-1435,-477,59,-225,-489,-478,-836,-1565,-1700,-912,-176,-171,-169,541,1112,312,-1280,-1744,-510,774,529,-714,-1318,-794,-98,-25,-318,-421,-315,-290,-375,-405,-399,-543,-916,-1471,-2181,-2935,-3352,-2974,-1813,-523,142,12,-458,-781,-886,-942,-945,-720,-281,48,3,-280,-437,-324,-135,-114,-294,-555,-793,-952,-970,-822,-567,-291,-30,199,332,294,132,0,-16,1,-72,-219,-299,-235,-104,-30,-34,-56,-72,-117,-221,-354,-458,-499,-466,-363,-226,-112,-38,28,106,152,111,-6,-126,-199,-227,-226,-199,-148,-87,-20,44,71,29,-62,-145,-197,-253,-320,-349,-301,-206,-119,-51,13,50,30,-35,-97,-148,-213,-281,-296,-230,-130,-53,-3,48,101,126,108,66,26,6,14,45,86,127,169,202,203,157,72,-33,-140,-223,-238,-172,-72,1,44,101,186,248,237,165,86,29,-10,-37,-37,4,75,151,206,222,200,154,101,47,-6,-42,-43,-11,32,71,109,142,155,145,132,125,101,43,-11,-3,59,99,67}
},
{ // H20e055a.wav
{0,-2,0,2,0,-2,0,1,-1,-2,0,1,-2,-5,-3,1,0,-3,-1,2,0,-3,-1,2,-1,-4,-1,2,-3,-6,1,6,0,-2,8,9,-9,-19,4,24,0,-26,1,37,4,-48,-9,62,17,17,508,1511,2225,1820,581,-311,-280,-73,-584,-1435,-1415,-186,1198,1693,1575,1897,2998,4077,4195,3260,1964,1085,956,1358,1727,1586,941,224,-218,-454,-702,-904,-809,-430,-170,-361,-819,-1029,-726,-172,168,119,-88,-121,116,443,613,517,241,-7,-61,45,105,-38,-296,-447,-412,-332,-342,-389,-347,-231,-174,-221,-291,-339,-427,-586,-712,-691,-564,-484,-532,-650,-740,-763,-731,-675,-628,-609,-608,-603,-599,-636,-731,-849,-936,-960,-921,-839,-750,-684,-644,-607,-570,-560,-584,-597,-556,-477,-420,-425,-471,-519,-556,-582,-596,-599,-605,-619,-624,-599,-549,-502,-475,-459,-438,-411,-385,-363,-345,-333,-331,-330,-313,-279,-246,-232,-228,-219,-206,-205,-221,-239,-248,-251,-253,-253,-243,-225,-211,-205,-199,-192,-189,-192,-192,-183,-172,-171,-178,-180,-172,-159,-149,-140,-131,-126,-132,-148,-163,-168,-169,-173,-177,-164,-131,-97,-81,-78,-71,-63,-70,-93,-109,-102,-87,-86,-96,-99,-90,-78,-68,-54,-38,-27,-28,-35,-36,-29,-19,-9,0,5,3,-3,-12,-26,-42,-51,-47,-38,-35,-37,-32,-16},
{-45,-104,22,131,-19,-189,-16,241,52,-318,-118,400,136,-489,1120,6343,12101,13095,7385,-1813,-9746,-13530,-11951,-5139,3573,8143,5821,1809,4111,13090,19698,16117,5503,-1860,-669,4495,6205,2689,-2078,-4239,-3582,-2267,-2362,-4597,-7775,-9045,-6355,-1411,1177,-1080,-5231,-6148,-2734,925,948,-1662,-3008,-1635,197,258,-825,-1237,-744,-359,-310,7,407,-88,-1421,-2104,-1223,266,938,651,84,-618,-1566,-2057,-1191,457,1096,52,-1241,-1211,-203,285,-192,-666,-419,70,72,-302,-474,-381,-540,-1303,-2428,-3366,-3655,-3112,-1942,-731,-92,-151,-490,-661,-649,-712,-887,-888,-533,-73,58,-209,-484,-394,-30,191,22,-384,-725,-869,-882,-850,-781,-636,-394,-87,171,240,105,-73,-114,-36,-18,-150,-300,-289,-126,15,27,-26,-42,-23,-53,-164,-309,-424,-481,-470,-386,-258,-130,-25,65,130,132,57,-43,-112,-150,-188,-218,-203,-137,-57,12,71,101,65,-38,-159,-251,-315,-357,-352,-280,-174,-87,-33,7,31,15,-35,-86,-125,-173,-229,-251,-207,-125,-52,-2,46,103,145,141,89,18,-28,-23,23,78,122,158,190,203,175,97,-19,-142,-228,-239,-174,-80,-9,35,90,169,238,247,186,92,8,-42,-56,-36,13,82,153,207,229,213,165,101,37,-14,-39,-26,19,72,106,123,144,167,167,134,93,66,40,0,-15,41,137,172,102}
},
{ // H20e060a.wav
{0,2,2,-1,-1,1,1,-1,0,2,1,-2,-1,2,1,-2,-1,2,1,-1,0,3,2,-2,-1,1,1,-2,-1,2,0,-3,2,9,4,-5,0,8,1,-11,-1,16,7,-13,-1,25,4,-35,-5,61,31,1,350,1190,1918,1761,794,-37,-131,-19,-504,-1342,-1447,-398,920,1480,1426,1739,2814,3909,4061,3142,1876,1079,1054,1530,1945,1863,1285,585,81,-261,-630,-970,-1005,-644,-203,-97,-368,-636,-515,-19,486,673,551,363,275,233,120,-49,-146,-110,-29,-38,-187,-412,-600,-674,-638,-556,-480,-410,-329,-264,-264,-328,-405,-473,-553,-628,-627,-526,-421,-439,-589,-749,-807,-764,-698,-662,-652,-644,-630,-626,-658,-732,-819,-879,-893,-865,-801,-709,-613,-553,-544,-567,-593,-602,-583,-536,-488,-481,-519,-550,-526,-471,-455,-499,-552,-568,-561,-565,-573,-554,-508,-471,-462,-457,-429,-390,-371,-371,-363,-333,-303,-294,-293,-273,-237,-217,-229,-252,-254,-238,-233,-255,-283,-286,-265,-244,-240,-241,-232,-218,-213,-215,-204,-176,-152,-153,-169,-176,-166,-159,-164,-166,-149,-124,-119,-138,-155,-153,-145,-151,-167,-169,-149,-126,-117,-113,-98,-75,-65,-77,-94,-99,-95,-97,-107,-112,-105,-95,-91,-85,-65,-39,-25,-27,-31,-28,-27,-32,-31,-14,8,22,20,10,-1,-10,-20,-32,-45,-51,-43,-22},
{-115,-24,125,51,-164,-109,187,171,-225,-266,258,337,-363,272,4616,11081,14181,9978,304,-9306,-14383,-13262,-6458,2757,8489,7046,2392,3049,11437,19308,17138,6280,-2358,-1520,4608,7156,3448,-1783,-3820,-2838,-1681,-2087,-4088,-6808,-8388,-6830,-2666,323,-944,-4666,-5971,-3072,487,666,-1892,-3302,-1945,-120,-173,-1318,-1455,-458,112,-240,-429,43,186,-608,-1248,-533,867,1222,76,-1347,-1906,-1636,-1046,-362,167,93,-538,-917,-514,67,-59,-705,-870,-235,394,303,-183,-374,-346,-823,-2084,-3456,-4006,-3428,-2193,-1036,-419,-349,-526,-642,-612,-560,-603,-682,-638,-436,-251,-267,-416,-412,-103,285,357,0,-497,-787,-815,-766,-769,-764,-635,-377,-103,61,67,-23,-101,-117,-132,-215,-334,-377,-283,-115,20,78,79,60,27,-31,-125,-245,-358,-422,-424,-375,-290,-175,-42,76,139,128,54,-44,-123,-165,-184,-193,-180,-119,-19,77,126,113,46,-57,-168,-255,-307,-329,-322,-275,-190,-97,-31,2,15,15,-1,-35,-87,-149,-205,-226,-198,-135,-66,-2,64,129,169,160,103,23,-41,-58,-23,40,100,144,176,195,186,128,21,-103,-196,-220,-177,-101,-30,25,79,147,215,243,200,101,-3,-62,-66,-38,5,65,139,200,226,220,192,142,71,2,-36,-32,4,56,110,152,172,176,173,155,114,64,27,4,-5,24,106,192,198,106}
},
{ // H20e065a.wav
{0,-2,-1,1,0,-3,-2,1,1,-2,-2,0,1,-1,-1,0,-1,-2,-1,1,-1,-4,-3,2,2,-2,-3,0,0,-4,-3,1,0,-4,0,7,2,-7,-1,11,2,-18,-11,18,22,-9,-22,2,10,-13,-2,47,33,-11,221,912,1637,1682,956,205,36,76,-417,-1298,-1543,-633,665,1305,1324,1652,2705,3766,3894,3029,1944,1372,1447,1834,2082,1879,1216,414,-146,-369,-452,-544,-550,-341,-30,136,113,129,361,645,649,298,-97,-199,-30,90,-38,-283,-408,-378,-348,-422,-553,-669,-744,-754,-653,-471,-336,-340,-421,-452,-412,-388,-438,-517,-556,-540,-493,-448,-447,-529,-673,-793,-819,-768,-714,-695,-691,-669,-643,-649,-695,-752,-783,-774,-740,-702,-665,-625,-590,-576,-581,-584,-571,-555,-555,-566,-565,-540,-503,-470,-449,-444,-456,-479,-501,-514,-520,-528,-532,-523,-501,-475,-451,-430,-414,-402,-384,-354,-317,-291,-285,-289,-285,-271,-258,-259,-271,-280,-279,-271,-266,-266,-270,-274,-273,-265,-254,-247,-246,-239,-219,-192,-172,-164,-162,-160,-161,-166,-169,-167,-162,-155,-144,-133,-130,-136,-142,-140,-136,-140,-148,-149,-139,-127,-119,-112,-102,-93,-88,-89,-95,-105,-114,-115,-109,-98,-90,-87,-82,-70,-56,-45,-39,-34,-31,-31,-31,-24,-7,15,30,31,24,17,10,-6,-30,-46,-40,-18},
{-104,75,138,-74,-196,59,266,-32,-352,-3,448,-27,-359,2396,8789,14294,13059,4203,-7138,-14653,-15147,-8934,784,8279,8705,3827,1913,8333,17538,18618,9035,-1539,-2994,3310,7763,5102,-670,-3446,-2506,-1235,-1757,-3555,-5623,-7141,-6765,-3918,-837,-863,-3979,-6114,-4213,-354,1022,-1057,-3272,-2869,-988,-275,-1051,-1555,-984,-321,-278,-239,217,281,-574,-1171,-126,1745,2039,-73,-2593,-3136,-1657,-18,459,51,-411,-606,-616,-503,-388,-487,-748,-756,-297,242,358,89,-189,-507,-1339,-2770,-4004,-4066,-2887,-1406,-593,-567,-766,-739,-555,-481,-546,-555,-420,-284,-317,-517,-708,-688,-363,142,511,464,27,-477,-752,-788,-763,-770,-731,-556,-292,-80,-14,-64,-121,-121,-115,-197,-366,-504,-512,-398,-236,-67,89,182,168,80,-7,-77,-171,-287,-369,-383,-349,-284,-178,-45,58,93,78,40,-24,-109,-175,-193,-186,-169,-116,-9,104,152,122,51,-36,-137,-227,-280,-300,-310,-299,-233,-126,-37,1,12,27,34,7,-52,-124,-193,-231,-209,-135,-53,3,50,116,179,186,123,27,-49,-81,-66,-11,62,124,161,181,189,161,74,-59,-176,-217,-175,-96,-31,10,54,120,191,226,197,108,-2,-80,-93,-53,5,60,114,170,217,236,218,168,98,27,-23,-36,-15,29,86,142,178,190,192,187,156,93,28,-2,3,24,69,146,209,192,95}
},
{ // H20e070a.wav
{2,3,2,1,2,4,3,0,1,4,4,1,1,4,5,4,2,2,1,1,2,4,2,-1,-1,3,5,2,1,2,2,0,2,6,3,-2,1,9,7,0,4,12,3,-14,-2,31,30,-15,-37,-1,30,11,0,37,40,-7,141,704,1396,1578,1061,429,241,208,-351,-1323,-1704,-894,440,1224,1369,1730,2769,3842,4026,3220,2139,1455,1288,1406,1546,1510,1217,784,423,194,-10,-185,-107,352,896,1020,579,-22,-279,-123,96,82,-119,-293,-371,-441,-547,-621,-618,-603,-638,-681,-668,-630,-624,-612,-517,-388,-366,-471,-547,-476,-356,-359,-490,-591,-569,-486,-441,-452,-506,-612,-757,-860,-856,-778,-712,-683,-652,-606,-588,-623,-668,-671,-640,-631,-667,-705,-694,-634,-575,-557,-575,-594,-590,-571,-551,-530,-504,-484,-477,-469,-442,-410,-407,-442,-479,-489,-487,-501,-523,-519,-479,-439,-428,-430,-410,-364,-323,-307,-304,-295,-284,-286,-299,-306,-298,-288,-287,-287,-277,-265,-264,-274,-280,-274,-266,-266,-266,-253,-232,-215,-206,-195,-177,-161,-157,-161,-164,-163,-162,-162,-157,-144,-130,-124,-130,-134,-128,-120,-120,-126,-129,-127,-128,-135,-139,-132,-118,-106,-99,-93,-88,-92,-102,-106,-97,-84,-79,-82,-81,-74,-64,-54,-40,-22,-9,-5,-2,7,21,28,25,19,17,14,4,-10,-16,-10},
{-40,136,68,-174,-122,206,190,-245,-284,290,357,-404,397,5317,12383,15268,9557,-2279,-13099,-17048,-12713,-2813,6890,10261,6259,1679,4603,13949,19199,13060,1276,-4073,648,7264,7254,1662,-2624,-2584,-1139,-1386,-3014,-4560,-5704,-6144,-4853,-2208,-938,-2822,-5589,-5436,-2190,370,-349,-2548,-3040,-1628,-641,-1126,-1702,-1185,-353,-301,-600,-314,195,-29,-558,-9,1454,1738,-280,-2750,-3019,-1065,642,498,-496,-671,-38,193,-391,-1022,-1098,-874,-711,-469,-2,362,252,-228,-851,-1758,-3046,-4075,-3889,-2457,-956,-490,-891,-1168,-852,-402,-334,-500,-452,-163,-26,-265,-677,-921,-838,-456,84,517,558,173,-339,-647,-723,-752,-805,-754,-509,-199,-27,-42,-112,-121,-94,-135,-286,-470,-583,-595,-538,-421,-228,7,174,199,128,52,-10,-96,-201,-277,-307,-312,-283,-183,-39,54,57,27,16,-9,-86,-168,-188,-161,-145,-131,-60,65,162,170,103,9,-87,-167,-219,-256,-301,-330,-290,-175,-53,18,45,57,55,28,-20,-81,-158,-224,-226,-149,-50,12,49,106,172,187,128,37,-39,-85,-92,-44,45,121,151,157,175,187,134,5,-136,-206,-182,-105,-31,17,57,107,164,203,195,130,28,-68,-110,-83,-16,53,112,172,226,254,239,188,120,48,-12,-37,-19,29,86,139,176,191,193,196,193,159,91,26,4,26,66,114,166,192,156,71}
},
{ // H20e075a.wav
{1,-1,-1,2,2,0,-1,1,1,-1,-1,2,3,0,-1,2,3,1,-1,0,1,0,-1,1,1,-1,-2,3,7,3,-3,-3,1,3,2,1,-2,-3,3,10,6,-3,-1,7,3,-7,4,27,16,-30,-43,7,47,23,0,34,45,-14,70,547,1216,1495,1146,631,436,295,-397,-1475,-1912,-1078,399,1444,1873,2370,3244,3858,3500,2367,1332,979,1212,1643,1979,2018,1675,1146,837,928,1122,1003,554,153,75,181,154,-86,-337,-418,-379,-390,-519,-686,-795,-828,-813,-769,-717,-686,-673,-636,-560,-508,-530,-563,-508,-386,-330,-405,-518,-549,-508,-490,-526,-559,-543,-502,-480,-508,-603,-752,-876,-881,-771,-652,-603,-598,-575,-539,-537,-571,-605,-627,-658,-699,-706,-663,-613,-603,-621,-622,-592,-555,-533,-522,-511,-498,-488,-478,-459,-428,-398,-388,-405,-436,-462,-480,-498,-512,-505,-474,-442,-431,-425,-396,-345,-309,-310,-325,-323,-306,-301,-316,-327,-316,-296,-288,-291,-290,-281,-276,-281,-283,-274,-262,-262,-269,-264,-242,-220,-213,-213,-204,-183,-166,-163,-166,-160,-147,-142,-149,-155,-144,-122,-109,-113,-120,-116,-108,-112,-129,-142,-144,-145,-151,-150,-131,-106,-92,-89,-85,-80,-86,-99,-105,-96,-84,-83,-87,-80,-61,-43,-30,-16,1,12,10,4,5,12,18,20,21,20,15,7,1},
{42,136,-39,-207,4,270,30,-365,-96,463,90,-544,1661,8083,14609,14474,5359,-7742,-16861,-17045,-8732,2953,10614,9652,3474,1437,8332,17295,17172,6689,-3241,-2925,4610,8840,5368,-465,-2566,-1424,-1005,-2447,-3944,-4589,-5001,-4969,-3574,-1718,-1819,-4145,-5703,-4153,-1184,-194,-1691,-3054,-2517,-1247,-969,-1413,-1300,-615,-363,-654,-615,-92,67,-287,-72,1048,1457,-273,-2810,-3301,-1139,1134,1207,-156,-689,64,524,-240,-1240,-1295,-712,-484,-682,-604,-95,201,-173,-1028,-2068,-3164,-3915,-3635,-2278,-886,-548,-1117,-1495,-1084,-402,-160,-309,-320,-63,65,-211,-673,-934,-854,-532,-99,295,450,262,-127,-459,-632,-726,-788,-732,-505,-222,-59,-49,-82,-77,-78,-164,-327,-485,-585,-644,-676,-626,-436,-153,78,151,108,54,21,-35,-126,-201,-231,-245,-256,-218,-107,9,51,26,-5,-26,-74,-142,-180,-170,-155,-153,-118,-13,116,184,157,66,-34,-111,-163,-214,-283,-341,-331,-240,-123,-38,18,67,92,65,0,-66,-125,-193,-238,-203,-92,9,45,56,102,162,158,65,-54,-122,-117,-64,9,84,136,156,159,160,144,73,-55,-181,-224,-163,-60,11,38,67,125,182,193,143,53,-42,-109,-122,-73,15,102,165,207,232,234,202,139,61,-8,-45,-38,3,60,118,165,188,189,184,185,176,132,63,15,17,50,82,108,137,152,125,60}
},
{ // H20e080a.wav
{-1,1,2,1,1,2,1,0,1,3,1,-2,-1,3,4,1,0,2,2,0,0,2,2,0,-1,1,2,0,-1,2,3,0,-2,-1,1,1,0,-1,-3,-1,5,8,2,-5,2,13,7,-8,-2,15,1,-36,-29,36,70,25,-17,10,25,-26,54,498,1128,1433,1209,829,614,267,-626,-1662,-1786,-586,1064,1995,2062,2039,2398,2775,2681,2231,1886,1817,1867,1967,2217,2562,2692,2376,1713,973,352,-44,-132,50,236,111,-351,-830,-992,-829,-621,-617,-806,-1000,-1051,-958,-807,-677,-609,-609,-638,-631,-561,-470,-405,-364,-333,-353,-460,-595,-645,-589,-531,-552,-597,-577,-514,-511,-595,-690,-730,-729,-719,-692,-634,-571,-535,-521,-512,-520,-565,-629,-669,-669,-651,-637,-634,-642,-653,-647,-613,-567,-535,-522,-511,-497,-489,-481,-458,-422,-398,-399,-408,-409,-417,-450,-488,-499,-482,-468,-466,-455,-421,-381,-355,-344,-336,-332,-335,-341,-339,-330,-323,-319,-313,-302,-292,-289,-291,-291,-289,-286,-284,-277,-268,-261,-255,-245,-236,-236,-243,-247,-237,-215,-187,-161,-141,-132,-135,-144,-150,-145,-129,-112,-104,-108,-119,-128,-131,-130,-132,-138,-145,-147,-140,-126,-113,-108,-108,-105,-96,-87,-88,-96,-99,-93,-84,-76,-67,-54,-43,-39,-36,-25,-8,4,7,7,10,15,18,19,20,19,13,5},
{99,108,-113,-184,113,268,-109,-386,90,514,-162,-470,2871,10057,15635,13078,1815,-11566,-18806,-15843,-4822,7194,12292,8166,1591,2260,11199,18210,13905,1978,-4918,-786,7204,9054,4016,-1028,-1902,-986,-1579,-3250,-4093,-4154,-4361,-4206,-2925,-1764,-2585,-4662,-5179,-3185,-1018,-995,-2390,-2949,-2182,-1482,-1553,-1507,-712,23,-176,-797,-800,-211,193,292,530,579,-488,-2354,-3088,-1565,694,1323,226,-504,273,1207,636,-964,-1786,-1237,-409,-246,-438,-371,-207,-485,-1261,-2198,-3066,-3643,-3472,-2379,-1081,-631,-1161,-1700,-1423,-614,-92,-89,-158,-7,94,-165,-625,-872,-759,-468,-185,54,225,229,27,-259,-480,-608,-680,-674,-537,-314,-136,-65,-39,-1,-4,-129,-335,-494,-551,-579,-652,-717,-651,-420,-135,57,107,73,25,-19,-73,-129,-168,-191,-209,-201,-141,-43,33,49,26,-5,-47,-106,-155,-163,-151,-152,-147,-81,47,159,184,126,41,-33,-93,-153,-224,-293,-326,-287,-186,-80,-9,34,70,90,70,13,-63,-146,-215,-227,-156,-42,37,58,68,106,141,117,26,-79,-135,-119,-43,50,115,141,156,184,197,145,18,-124,-206,-196,-124,-38,30,75,108,142,173,176,125,24,-79,-125,-93,-13,70,135,183,215,223,207,176,130,60,-19,-63,-39,33,103,147,175,200,213,207,186,151,98,39,8,27,76,115,132,140,140,112,55}
},
{ // H20e085a.wav
{2,1,0,0,1,2,3,2,1,0,1,2,1,-1,0,3,3,1,1,3,3,1,1,3,2,-1,-1,1,1,-1,-1,2,3,0,-3,-1,2,3,1,-1,-1,2,5,4,1,4,13,13,-4,-18,-7,13,10,-5,8,41,38,-4,-20,8,8,-13,130,573,1121,1407,1336,1140,918,404,-556,-1494,-1666,-893,260,1208,1917,2590,3106,3144,2739,2360,2378,2705,3024,3131,2956,2474,1797,1222,953,813,449,-163,-633,-653,-422,-410,-771,-1170,-1218,-933,-684,-739,-987,-1117,-988,-744,-609,-644,-729,-722,-589,-408,-292,-298,-380,-441,-445,-463,-561,-687,-726,-653,-564,-546,-578,-597,-598,-613,-632,-621,-591,-588,-612,-615,-574,-531,-524,-541,-557,-577,-610,-635,-628,-606,-606,-631,-651,-644,-620,-591,-561,-534,-518,-511,-495,-460,-419,-395,-397,-415,-431,-435,-429,-427,-439,-457,-467,-463,-452,-437,-411,-378,-356,-354,-360,-356,-346,-346,-358,-364,-348,-320,-296,-284,-281,-285,-296,-307,-307,-298,-290,-285,-274,-253,-233,-227,-240,-262,-282,-290,-279,-245,-198,-156,-132,-127,-129,-129,-125,-122,-122,-121,-118,-119,-126,-136,-140,-137,-131,-125,-120,-117,-116,-117,-117,-116,-119,-125,-126,-112,-87,-68,-64,-68,-67,-60,-54,-54,-55,-53,-48,-41,-30,-12,5,14,16,17,22,26,25,19,11,4},
{126,97,-146,-177,151,261,-164,-384,166,516,-279,-411,3435,10902,15943,12157,-166,-13562,-19534,-14633,-2238,9495,12818,7106,725,2858,12297,17717,11410,-464,-5226,700,8479,9117,3719,-719,-1348,-1050,-2190,-3564,-3743,-3573,-3972,-3986,-2827,-1931,-2916,-4670,-4671,-2698,-1155,-1577,-2714,-2782,-2000,-1700,-1958,-1646,-498,339,39,-714,-811,-177,469,678,374,-614,-2146,-3110,-2280,-114,1314,787,-441,-380,941,1597,528,-1079,-1570,-928,-331,-314,-386,-241,-338,-1100,-2236,-3160,-3591,-3454,-2682,-1548,-807,-980,-1624,-1782,-1146,-336,10,-16,17,135,-10,-491,-902,-864,-472,-102,48,65,69,44,-73,-264,-456,-588,-620,-537,-386,-262,-196,-113,30,128,30,-244,-496,-580,-560,-580,-666,-710,-619,-415,-188,-22,48,38,-5,-45,-88,-141,-185,-197,-181,-150,-100,-26,44,67,40,-10,-65,-119,-154,-152,-139,-141,-133,-58,73,167,160,85,15,-33,-87,-159,-233,-286,-301,-258,-160,-52,17,44,60,74,61,8,-72,-156,-217,-217,-142,-34,40,61,73,107,130,91,-4,-99,-142,-117,-39,55,122,147,160,190,207,146,-3,-162,-233,-195,-103,-19,40,85,122,151,167,158,106,12,-82,-118,-78,6,88,147,188,215,222,208,175,121,44,-35,-70,-37,41,118,169,198,209,207,194,172,133,74,17,0,34,90,132,151,154,138,97,42}
},
{ // H20e090a.wav
{0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,2,4,3,0,0,2,2,1,0,0,-1,-1,0,2,2,1,-1,-1,0,2,2,-1,-3,1,7,6,1,4,15,13,-9,-26,-10,22,34,20,8,7,3,-4,2,10,-10,-22,89,391,837,1364,1942,2364,2110,745,-1384,-3077,-3223,-1800,210,1831,2793,3274,3394,3227,3063,3213,3542,3536,2959,2211,1845,1904,1953,1667,1125,536,-48,-610,-980,-981,-724,-567,-727,-1048,-1209,-1082,-833,-695,-743,-879,-962,-930,-819,-705,-629,-570,-491,-396,-333,-341,-408,-485,-537,-567,-600,-643,-676,-673,-636,-596,-576,-573,-570,-561,-554,-551,-553,-564,-589,-614,-615,-586,-551,-541,-554,-566,-561,-553,-565,-600,-638,-653,-635,-597,-567,-561,-570,-566,-533,-483,-440,-415,-404,-404,-416,-437,-454,-456,-445,-432,-427,-430,-435,-432,-415,-394,-381,-380,-381,-375,-369,-370,-376,-376,-362,-341,-319,-300,-284,-274,-276,-290,-310,-327,-328,-310,-279,-253,-242,-247,-260,-277,-294,-304,-299,-276,-241,-203,-171,-148,-136,-131,-126,-119,-114,-115,-124,-137,-147,-150,-145,-137,-131,-126,-118,-107,-102,-110,-125,-133,-128,-120,-121,-125,-118,-95,-68,-47,-36,-34,-44,-63,-76,-73,-60,-51,-50,-43,-25,-5,4,7,17,32,38,24,3,-9,-7},
{110,110,-124,-185,128,273,-132,-397,126,539,-222,-511,3096,10560,15883,12304,-162,-13793,-19642,-14282,-1583,10009,13009,7143,703,2575,11558,16696,10548,-871,-5214,934,8824,9601,4356,-82,-992,-1125,-2483,-3633,-3343,-2921,-3536,-4026,-3191,-2254,-2936,-4397,-4333,-2551,-1284,-1830,-2868,-2760,-1916,-1699,-2068,-1773,-531,413,116,-734,-835,21,863,780,-298,-1790,-2857,-2721,-1295,372,890,114,-562,43,1290,1526,306,-1045,-1219,-488,-12,-199,-488,-524,-723,-1523,-2651,-3442,-3546,-3058,-2247,-1464,-1111,-1304,-1631,-1537,-961,-352,-47,63,165,141,-222,-762,-1013,-746,-233,104,145,69,40,29,-59,-237,-433,-560,-563,-454,-329,-273,-243,-124,75,165,2,-306,-523,-569,-568,-624,-686,-661,-548,-403,-252,-111,-23,-13,-39,-60,-93,-163,-223,-215,-157,-113,-88,-34,49,97,73,8,-57,-109,-142,-146,-137,-138,-123,-43,84,161,137,63,8,-35,-104,-182,-230,-251,-262,-242,-157,-43,28,45,58,82,73,-2,-105,-180,-210,-196,-135,-45,29,62,81,111,126,80,-22,-119,-157,-123,-34,69,136,152,153,175,190,131,-10,-154,-216,-185,-107,-23,48,97,122,137,155,158,111,9,-93,-126,-77,15,102,165,205,224,224,209,176,116,29,-50,-73,-25,60,133,174,189,191,186,177,159,123,66,14,3,40,95,135,152,150,131,89,37}
},
{ // H20e095a.wav
{1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,2,0,-2,-1,1,3,2,1,0,0,1,2,1,-2,-3,0,1,-2,-4,0,4,2,-1,-1,0,-1,-2,0,0,-1,2,8,5,-3,0,13,12,-11,-24,-2,30,36,21,10,-2,-28,-34,9,38,-12,-14,290,956,1697,2166,2231,1814,677,-1199,-3039,-3563,-2214,118,1946,2682,2956,3490,4126,4191,3504,2624,2181,2280,2589,2734,2492,1839,1005,384,194,220,50,-438,-935,-1092,-927,-745,-745,-845,-877,-810,-739,-733,-788,-870,-934,-922,-810,-664,-583,-569,-531,-431,-363,-423,-560,-634,-596,-533,-534,-583,-620,-628,-626,-611,-571,-529,-513,-522,-537,-560,-603,-647,-658,-629,-589,-563,-547,-533,-521,-509,-498,-505,-553,-622,-657,-628,-572,-544,-550,-555,-541,-520,-502,-480,-453,-433,-426,-426,-428,-438,-455,-461,-444,-413,-392,-391,-403,-410,-401,-386,-382,-395,-410,-407,-383,-359,-349,-344,-327,-305,-293,-293,-289,-281,-285,-308,-329,-324,-297,-271,-261,-265,-275,-292,-312,-317,-294,-253,-221,-210,-205,-188,-163,-145,-138,-131,-120,-114,-124,-142,-152,-149,-142,-136,-129,-116,-105,-105,-114,-122,-123,-125,-132,-132,-116,-92,-81,-86,-85,-65,-40,-30,-38,-47,-52,-59,-69,-73,-64,-50,-38,-27,-10,7,16,15,12,9,4,-4,-8,-5},
{62,139,-59,-212,37,289,-12,-402,-40,529,5,-661,1975,8997,15300,13441,1887,-12248,-19291,-14944,-2777,8962,12933,8135,1468,1627,9269,15197,11128,575,-4935,-123,8117,10366,5878,936,-728,-1089,-2414,-3595,-3170,-2363,-2883,-3923,-3738,-2793,-2921,-4047,-4178,-2682,-1383,-1763,-2830,-2869,-2004,-1613,-1933,-1791,-669,340,127,-796,-999,-61,927,731,-683,-2249,-2857,-2189,-824,230,318,-257,-493,201,1213,1367,362,-801,-1026,-392,135,8,-419,-699,-1008,-1739,-2740,-3378,-3285,-2701,-2083,-1677,-1509,-1516,-1539,-1361,-930,-444,-113,58,137,41,-341,-829,-1019,-725,-214,123,192,174,182,136,-37,-259,-408,-463,-466,-438,-380,-314,-235,-106,50,103,-40,-287,-459,-516,-562,-649,-696,-633,-506,-395,-299,-191,-102,-72,-79,-86,-111,-178,-240,-228,-163,-117,-92,-32,60,108,80,27,-10,-54,-119,-162,-153,-125,-106,-60,40,133,140,73,-1,-56,-118,-189,-236,-252,-253,-226,-147,-42,26,45,55,76,64,-10,-109,-181,-216,-213,-155,-49,44,75,73,90,111,75,-26,-124,-153,-111,-35,47,114,148,157,163,162,113,0,-127,-194,-177,-108,-27,46,98,122,129,138,142,102,7,-93,-127,-76,20,112,180,224,239,225,195,164,118,46,-30,-63,-27,51,121,160,173,171,161,153,149,132,86,29,1,26,81,125,142,138,117,79,33}
},
{ // H20e100a.wav
{1,0,0,0,0,-1,-1,1,1,-1,-2,0,1,0,-1,0,1,0,-1,1,2,1,-1,0,1,0,-2,-3,-1,0,1,1,0,-1,0,2,1,-2,-3,-1,0,-2,-1,4,6,1,-2,2,5,0,-3,6,14,3,-2,24,48,17,-40,-40,10,25,55,348,1024,1745,1955,1500,795,241,-290,-1130,-2073,-2328,-1350,505,2313,3440,3870,3842,3487,2908,2355,2101,2197,2456,2642,2589,2194,1466,627,24,-159,-68,-1,-110,-334,-568,-771,-901,-884,-710,-506,-432,-522,-687,-829,-907,-899,-808,-703,-677,-730,-745,-646,-514,-487,-574,-649,-625,-552,-514,-511,-499,-481,-501,-556,-593,-587,-565,-555,-549,-544,-567,-634,-708,-728,-679,-600,-538,-508,-496,-489,-484,-485,-495,-515,-542,-568,-586,-590,-570,-527,-485,-473,-495,-524,-530,-510,-484,-464,-449,-434,-424,-424,-431,-429,-412,-389,-379,-386,-397,-402,-405,-414,-424,-418,-391,-360,-339,-329,-319,-308,-301,-298,-294,-290,-294,-305,-311,-306,-298,-299,-307,-309,-301,-296,-299,-301,-286,-254,-222,-202,-193,-189,-184,-176,-164,-148,-136,-135,-145,-157,-160,-152,-139,-127,-118,-111,-107,-110,-121,-132,-136,-134,-129,-123,-111,-92,-72,-58,-53,-52,-51,-52,-55,-56,-51,-44,-45,-57,-69,-68,-54,-35,-18,-4,3,0,-13,-24,-23,-11,2,7,4},
{-19,154,48,-201,-99,248,162,-315,-259,396,324,-593,557,6313,13604,14807,5769,-8555,-18038,-16373,-5643,6415,12289,9633,3117,790,5961,12706,12173,3712,-3562,-1842,5922,10517,8026,2810,-115,-953,-2129,-3462,-3271,-2093,-2066,-3373,-4090,-3497,-3074,-3706,-4102,-3060,-1620,-1504,-2489,-2918,-2267,-1630,-1682,-1647,-791,183,132,-762,-1164,-422,563,509,-704,-2017,-2415,-1819,-873,-225,-97,-273,-304,116,781,1052,544,-333,-763,-474,-22,-16,-398,-742,-1007,-1544,-2406,-3083,-3114,-2641,-2150,-1870,-1694,-1528,-1415,-1317,-1074,-651,-231,-2,27,-92,-363,-725,-943,-806,-392,13,240,337,367,277,37,-230,-373,-388,-378,-389,-384,-337,-257,-146,-20,38,-53,-244,-397,-461,-517,-612,-671,-615,-493,-402,-341,-256,-156,-107,-120,-139,-146,-172,-217,-230,-193,-147,-105,-34,65,128,114,64,24,-20,-89,-146,-150,-125,-112,-85,-3,100,140,93,17,-48,-116,-191,-241,-251,-245,-225,-161,-56,27,48,42,52,57,11,-76,-157,-205,-217,-174,-74,33,82,77,74,89,72,-6,-96,-131,-101,-44,18,80,130,154,157,150,120,39,-79,-170,-179,-112,-18,56,93,105,111,119,118,87,20,-56,-94,-69,10,109,190,230,230,212,198,187,154,85,4,-42,-29,21,79,128,163,175,164,149,146,138,98,35,-1,19,69,107,125,138,139,106,47}
},
{ // H20e105a.wav
{0,0,1,1,1,0,0,1,1,1,0,0,1,2,2,3,3,3,2,2,2,2,1,0,0,1,1,0,0,1,3,2,1,2,4,2,0,1,2,1,0,3,6,4,0,2,8,7,-1,-4,3,11,15,17,13,2,-2,19,37,17,19,235,782,1441,1734,1385,663,115,-58,-210,-744,-1488,-1735,-945,700,2457,3639,4005,3679,2925,2087,1570,1636,2155,2646,2676,2204,1535,985,649,438,248,48,-142,-283,-348,-337,-293,-278,-332,-442,-547,-574,-500,-394,-373,-496,-696,-839,-851,-775,-706,-693,-721,-753,-763,-745,-704,-653,-601,-543,-477,-424,-409,-433,-464,-478,-489,-525,-589,-645,-654,-623,-600,-629,-696,-740,-716,-637,-552,-498,-474,-469,-474,-481,-481,-473,-474,-493,-519,-531,-521,-501,-483,-474,-481,-503,-529,-539,-525,-499,-476,-458,-435,-408,-389,-389,-398,-400,-392,-390,-407,-431,-439,-419,-385,-359,-347,-340,-327,-311,-302,-303,-307,-303,-293,-285,-287,-296,-307,-317,-328,-337,-336,-321,-295,-272,-260,-255,-244,-225,-207,-197,-191,-181,-169,-165,-168,-168,-164,-164,-170,-168,-151,-128,-118,-121,-123,-117,-113,-121,-134,-138,-130,-120,-113,-104,-89,-71,-59,-52,-45,-36,-34,-43,-57,-64,-60,-53,-50,-50,-48,-43,-39,-37,-35,-31,-28,-27,-27,-26,-20,-11,-2,3,2},
{-108,103,147,-107,-211,97,282,-96,-395,77,511,-175,-450,3048,10234,14948,10452,-2420,-14715,-17558,-9802,2204,10488,10934,5552,911,2509,8812,12177,7703,-192,-2725,2470,8873,9732,5609,1491,-413,-1690,-3222,-3606,-2338,-1377,-2259,-3808,-4184,-3636,-3541,-3861,-3404,-2154,-1499,-2040,-2700,-2471,-1801,-1538,-1462,-861,12,143,-650,-1293,-900,13,234,-579,-1589,-1903,-1519,-1015,-718,-513,-279,-86,63,320,637,644,145,-459,-598,-300,-139,-428,-851,-1062,-1237,-1724,-2401,-2795,-2720,-2436,-2168,-1856,-1461,-1187,-1170,-1198,-971,-535,-201,-132,-220,-359,-564,-791,-844,-604,-200,146,353,453,424,219,-82,-300,-353,-331,-332,-349,-332,-278,-212,-134,-64,-66,-169,-311,-417,-487,-560,-614,-591,-504,-424,-372,-306,-216,-158,-160,-179,-179,-184,-216,-239,-213,-160,-116,-64,25,117,150,117,59,-4,-75,-131,-139,-118,-114,-119,-71,33,110,100,36,-28,-92,-171,-239,-260,-249,-233,-195,-108,-10,33,22,16,33,25,-37,-121,-177,-196,-181,-121,-26,50,70,61,63,65,26,-52,-115,-121,-79,-17,46,98,129,143,150,138,80,-22,-123,-166,-135,-57,27,83,98,88,84,97,98,54,-22,-76,-68,-4,79,154,206,227,219,204,202,193,138,42,-36,-46,-1,54,97,134,163,167,148,132,123,93,32,-14,-1,57,109,134,151,159,130,61}
},
{ // H20e110a.wav
{0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,0,0,0,0,0,0,-1,-1,0,1,1,0,0,0,0,0,0,0,-1,-1,3,5,2,-2,0,4,2,-3,2,11,6,-8,-6,17,26,6,-9,5,17,42,229,721,1361,1686,1356,567,-97,-263,-132,-194,-648,-1162,-1161,-300,1270,2961,4047,4070,3162,2007,1372,1527,2081,2400,2199,1709,1317,1133,955,600,152,-141,-151,5,95,-15,-263,-461,-458,-266,-48,32,-54,-215,-354,-437,-461,-426,-378,-419,-600,-826,-927,-846,-709,-684,-791,-901,-887,-750,-585,-471,-419,-400,-398,-415,-446,-474,-494,-522,-574,-641,-690,-703,-692,-679,-674,-670,-663,-648,-619,-573,-526,-498,-486,-467,-431,-403,-410,-445,-469,-462,-447,-458,-493,-519,-516,-503,-507,-524,-530,-514,-492,-479,-466,-438,-401,-378,-385,-417,-450,-461,-441,-402,-369,-357,-355,-341,-316,-302,-313,-332,-334,-317,-299,-294,-295,-295,-299,-318,-345,-359,-350,-326,-305,-292,-278,-256,-233,-220,-217,-215,-207,-196,-187,-182,-179,-180,-186,-193,-191,-177,-158,-143,-133,-127,-125,-130,-140,-148,-145,-132,-120,-116,-117,-110,-93,-76,-70,-73,-70,-57,-42,-36,-37,-38,-41,-52,-66,-70,-58,-39,-29,-35,-47,-55,-53,-47,-41,-36,-27,-14,-6,-9,-18,-20,-11},
{-127,-11,153,54,-186,-108,221,177,-271,-274,333,350,-495,395,5573,12420,13703,5267,-8102,-16468,-14065,-3768,6676,11061,8343,2664,260,3966,9772,10668,5004,-983,-621,5110,9436,8394,4345,1094,-842,-2657,-3859,-3163,-1427,-1036,-2573,-4189,-4439,-3925,-3655,-3400,-2625,-1837,-1853,-2392,-2485,-1960,-1489,-1314,-932,-203,146,-415,-1256,-1337,-607,-56,-380,-1161,-1544,-1333,-1020,-944,-880,-549,-113,102,141,296,531,452,-58,-555,-620,-440,-490,-827,-1091,-1131,-1233,-1634,-2155,-2492,-2580,-2480,-2151,-1592,-1082,-939,-1089,-1132,-874,-534,-381,-393,-414,-443,-571,-727,-705,-439,-82,203,382,460,394,176,-82,-247,-301,-312,-318,-308,-280,-250,-211,-150,-105,-135,-236,-347,-429,-502,-563,-566,-501,-424,-379,-339,-269,-203,-190,-208,-206,-193,-214,-250,-236,-163,-97,-71,-31,56,140,154,100,27,-41,-99,-125,-117,-109,-124,-123,-59,35,80,54,1,-51,-116,-195,-250,-261,-249,-224,-166,-79,-14,-3,-12,2,20,-3,-65,-124,-159,-172,-149,-82,0,43,43,44,62,55,-8,-94,-140,-122,-61,15,81,120,133,140,147,125,50,-53,-127,-139,-100,-38,30,83,100,86,77,89,90,42,-34,-73,-42,33,109,171,219,243,235,211,191,161,97,14,-35,-18,41,93,119,129,131,122,108,99,87,59,24,16,48,102,149,173,166,122,54}
},
{ // H20e115a.wav
{1,0,0,0,1,1,0,-1,0,1,2,2,2,2,2,1,0,1,2,2,0,-1,0,1,1,-1,-1,0,1,2,1,0,-1,0,2,1,0,1,3,2,0,3,5,-1,-7,0,13,9,-7,-6,15,19,-6,-13,20,34,21,157,650,1376,1813,1509,607,-243,-518,-305,-112,-304,-749,-945,-415,916,2569,3741,3853,3023,1983,1465,1630,2066,2279,2108,1720,1321,966,618,284,38,-77,-113,-156,-224,-254,-201,-108,-66,-116,-204,-239,-176,-48,65,95,29,-100,-243,-364,-438,-460,-467,-525,-662,-818,-893,-859,-786,-756,-770,-759,-673,-535,-415,-368,-396,-464,-523,-543,-534,-535,-570,-628,-678,-703,-706,-689,-658,-627,-616,-632,-655,-659,-627,-566,-494,-430,-384,-358,-351,-364,-390,-419,-443,-463,-480,-495,-511,-524,-526,-511,-487,-476,-488,-501,-487,-452,-438,-465,-496,-483,-431,-386,-371,-358,-324,-292,-294,-323,-338,-325,-311,-317,-327,-319,-302,-303,-326,-348,-352,-342,-330,-314,-293,-276,-274,-279,-270,-242,-212,-197,-194,-193,-192,-198,-210,-214,-205,-192,-187,-186,-175,-151,-130,-127,-138,-145,-141,-136,-142,-152,-151,-135,-113,-98,-91,-87,-80,-72,-66,-64,-64,-60,-52,-42,-36,-37,-41,-46,-49,-52,-55,-58,-56,-50,-44,-42,-42,-40,-35,-29,-23,-17,-16,-24,-36,-35,-18},
{-34,-108,15,145,-2,-200,-37,252,77,-334,-147,424,155,-542,1286,7140,12896,11603,1500,-10640,-15644,-10473,53,8461,10237,5998,627,-242,4636,10148,9987,4181,-639,731,6048,9190,7652,3956,874,-1455,-3412,-3975,-2529,-780,-955,-2908,-4559,-4713,-4023,-3385,-2818,-2205,-1930,-2189,-2447,-2172,-1591,-1190,-913,-450,-34,-239,-1007,-1499,-1154,-448,-269,-780,-1309,-1302,-975,-853,-979,-929,-507,-38,144,162,299,456,286,-226,-675,-791,-764,-856,-1006,-1032,-1013,-1193,-1592,-1997,-2270,-2415,-2360,-1970,-1360,-917,-877,-1035,-1049,-864,-676,-587,-524,-456,-472,-591,-667,-566,-322,-61,162,340,427,365,184,-18,-175,-282,-334,-319,-270,-245,-246,-215,-148,-127,-208,-326,-394,-419,-464,-522,-517,-441,-372,-352,-329,-263,-203,-206,-239,-235,-205,-207,-236,-224,-151,-75,-40,-13,44,107,124,80,6,-60,-99,-112,-119,-139,-152,-119,-45,16,28,9,-15,-60,-137,-212,-243,-245,-250,-242,-181,-88,-33,-37,-45,-19,5,-18,-77,-127,-151,-152,-122,-60,2,27,26,31,37,11,-56,-125,-149,-116,-39,52,119,137,125,123,134,113,31,-72,-133,-129,-84,-26,34,83,98,85,77,87,85,36,-39,-77,-38,52,140,197,225,232,222,200,170,132,81,28,-2,10,50,85,95,82,69,74,94,110,104,78,52,47,69,108,146,157,123,57}
},
{ // H20e120a.wav
{-2,-2,-1,0,0,-1,-1,-1,0,0,0,0,0,0,0,0,0,-1,-1,-1,0,-1,-2,-1,0,0,-1,-1,0,-1,-3,-2,1,0,-3,-1,3,1,-4,-2,6,3,-9,-10,5,13,2,-5,7,11,-9,-13,20,32,3,112,605,1396,1935,1682,711,-294,-698,-486,-161,-177,-534,-797,-435,768,2433,3730,3961,3143,1997,1316,1361,1813,2185,2193,1837,1302,816,517,359,177,-128,-468,-650,-573,-330,-128,-107,-239,-365,-341,-160,50,137,57,-94,-162,-74,94,185,99,-126,-362,-506,-537,-503,-477,-524,-649,-781,-824,-758,-656,-600,-591,-575,-531,-499,-517,-568,-605,-606,-587,-576,-585,-612,-645,-667,-663,-633,-602,-601,-635,-679,-699,-682,-642,-589,-521,-434,-350,-303,-308,-346,-385,-411,-428,-443,-460,-477,-492,-501,-500,-491,-478,-467,-468,-496,-546,-584,-570,-507,-443,-413,-398,-356,-289,-249,-269,-319,-344,-331,-307,-302,-312,-320,-324,-339,-364,-378,-364,-328,-294,-277,-274,-276,-277,-275,-271,-262,-243,-214,-186,-173,-182,-202,-222,-234,-237,-226,-204,-181,-166,-157,-146,-136,-136,-145,-151,-146,-138,-138,-145,-145,-131,-112,-103,-102,-98,-84,-69,-63,-65,-63,-56,-51,-54,-57,-52,-44,-44,-52,-58,-58,-59,-61,-57,-43,-28,-24,-26,-27,-27,-33,-41,-41,-37,-40,-51,-50,-28},
{78,-59,-113,51,154,-36,-204,14,265,19,-346,-62,446,46,-477,1797,7652,12455,9930,-314,-11030,-14100,-7972,1988,8872,9098,4034,-1076,-879,5005,10763,10275,4277,-372,1099,6164,9020,7483,3858,598,-1940,-3698,-3741,-2019,-492,-1050,-3169,-4766,-4788,-3898,-3030,-2426,-2069,-2075,-2330,-2358,-1909,-1273,-809,-507,-281,-319,-779,-1324,-1375,-858,-374,-485,-1033,-1359,-1139,-741,-676,-907,-946,-562,-65,175,209,278,334,117,-373,-814,-990,-1005,-1010,-986,-926,-983,-1254,-1586,-1796,-1931,-2095,-2145,-1847,-1291,-883,-857,-1018,-1049,-897,-716,-601,-534,-511,-559,-629,-609,-462,-259,-65,123,300,395,348,189,5,-145,-248,-299,-292,-252,-217,-200,-188,-183,-212,-276,-336,-366,-388,-426,-457,-442,-395,-365,-355,-321,-249,-192,-191,-215,-215,-198,-202,-217,-198,-142,-90,-61,-29,27,79,91,61,8,-52,-103,-132,-141,-143,-136,-104,-51,-11,-2,-11,-30,-75,-145,-204,-227,-237,-254,-249,-186,-100,-58,-67,-67,-34,-9,-32,-83,-122,-138,-134,-100,-40,9,14,-4,-6,1,-19,-72,-120,-124,-82,-11,68,124,138,124,117,121,99,23,-75,-133,-120,-59,12,65,91,96,91,85,77,57,19,-24,-44,-12,69,163,218,218,195,188,196,188,147,87,36,5,-3,15,52,85,94,86,89,113,135,124,80,36,27,59,104,124,101,49}
},
{ // H20e125a.wav
{-2,-1,1,0,-1,1,3,1,-1,1,4,3,0,-2,0,1,0,-1,0,0,-2,-2,1,2,-1,-3,0,1,-2,-4,0,3,0,-2,1,3,-1,-2,3,4,-4,-7,2,6,-4,-5,17,27,-3,-27,4,37,14,86,542,1381,2062,1925,910,-294,-895,-725,-273,-111,-369,-662,-406,717,2400,3793,4102,3269,2035,1282,1328,1825,2212,2161,1699,1078,591,388,368,279,-28,-446,-737,-771,-618,-437,-326,-289,-299,-331,-346,-298,-177,-35,56,72,44,13,-12,-38,-61,-70,-85,-142,-251,-369,-441,-449,-420,-405,-441,-528,-611,-623,-560,-501,-532,-641,-735,-743,-689,-641,-631,-638,-633,-614,-595,-586,-590,-600,-608,-612,-622,-644,-668,-676,-661,-624,-563,-483,-406,-355,-342,-355,-378,-402,-422,-426,-413,-405,-424,-457,-466,-442,-432,-483,-577,-635,-609,-538,-495,-496,-485,-419,-332,-288,-298,-314,-307,-296,-303,-315,-310,-302,-318,-352,-373,-367,-354,-344,-323,-284,-251,-248,-268,-281,-277,-270,-269,-258,-226,-193,-184,-196,-209,-213,-218,-231,-243,-234,-204,-170,-151,-147,-146,-144,-144,-147,-149,-146,-140,-136,-134,-131,-125,-117,-106,-95,-89,-87,-82,-73,-65,-64,-65,-61,-55,-56,-62,-65,-65,-69,-74,-69,-52,-38,-37,-38,-28,-15,-14,-24,-32,-36,-44,-53,-54,-54,-70,-94,-92,-50},
{38,53,-54,-101,39,130,-39,-186,13,235,4,-323,-49,408,22,-417,1801,7277,11606,9052,-501,-10182,-12589,-6579,2622,8507,7872,2398,-2482,-1524,5219,11496,11048,4756,-294,881,5911,8948,7543,3812,378,-2092,-3543,-3393,-1806,-543,-1192,-3215,-4709,-4679,-3714,-2783,-2247,-2064,-2168,-2349,-2230,-1658,-930,-457,-372,-547,-835,-1113,-1214,-1028,-680,-502,-711,-1129,-1317,-1055,-634,-515,-746,-903,-658,-190,123,196,204,175,-51,-491,-907,-1092,-1080,-1007,-944,-954,-1107,-1348,-1495,-1496,-1543,-1762,-1941,-1777,-1321,-953,-910,-1036,-1046,-873,-662,-541,-531,-597,-684,-705,-601,-407,-213,-56,92,239,322,283,143,-13,-126,-193,-231,-236,-212,-187,-195,-232,-263,-269,-270,-291,-331,-368,-391,-399,-398,-391,-378,-348,-290,-222,-177,-171,-180,-186,-194,-206,-203,-176,-151,-147,-137,-83,-4,50,56,34,-6,-69,-131,-153,-134,-119,-125,-117,-70,-21,-11,-37,-70,-108,-159,-203,-220,-224,-234,-233,-196,-144,-116,-109,-86,-45,-27,-54,-95,-121,-132,-128,-94,-40,-6,-15,-38,-38,-27,-37,-69,-92,-87,-56,-4,57,102,113,103,100,99,73,12,-58,-95,-80,-22,48,93,94,70,55,60,64,50,23,1,-2,26,82,146,185,187,175,175,183,173,132,74,26,4,11,36,68,94,108,108,101,95,95,87,56,13,-4,22,60,66,35}
},
{ // H20e130a.wav
{-1,1,2,1,0,0,0,0,1,1,0,0,1,1,-1,-2,0,1,0,-1,0,1,0,-1,0,1,-1,-2,0,0,-2,-1,4,4,-3,-4,4,6,-5,-11,2,12,-1,-12,6,27,9,-19,0,32,12,64,494,1370,2177,2163,1132,-246,-1044,-942,-412,-125,-314,-613,-390,730,2471,3960,4330,3454,2090,1227,1269,1841,2282,2218,1715,1066,537,238,114,21,-158,-428,-696,-848,-829,-663,-445,-290,-274,-377,-489,-486,-336,-145,-59,-116,-193,-148,11,126,75,-103,-267,-325,-289,-213,-140,-101,-115,-177,-251,-303,-319,-307,-296,-329,-436,-590,-726,-803,-829,-825,-790,-728,-671,-647,-642,-623,-587,-567,-579,-602,-617,-631,-648,-653,-625,-572,-526,-504,-489,-467,-447,-443,-452,-455,-440,-416,-400,-398,-397,-379,-352,-357,-429,-541,-620,-619,-569,-534,-531,-515,-452,-372,-329,-337,-358,-358,-337,-315,-303,-302,-314,-337,-360,-372,-367,-347,-313,-274,-247,-247,-263,-273,-269,-269,-282,-292,-277,-240,-209,-203,-215,-225,-228,-228,-228,-225,-219,-213,-206,-193,-174,-158,-148,-142,-137,-137,-146,-158,-161,-151,-136,-127,-123,-119,-113,-105,-94,-81,-70,-66,-68,-70,-70,-72,-77,-80,-81,-82,-82,-77,-66,-59,-60,-61,-49,-29,-16,-14,-16,-18,-21,-23,-27,-38,-58,-77,-87,-94,-106,-113,-92,-45},
{-54,27,66,-37,-106,16,127,-13,-177,-22,215,47,-286,-103,352,100,-384,1326,6177,10546,8987,695,-8440,-11288,-6202,2177,7561,6735,1324,-3367,-2185,4940,11889,12089,5783,-70,261,5206,8791,7791,3983,421,-1855,-3069,-3077,-1913,-830,-1254,-2981,-4406,-4464,-3569,-2681,-2225,-2108,-2186,-2278,-2066,-1391,-598,-262,-562,-1076,-1270,-1061,-785,-712,-764,-776,-803,-979,-1176,-1093,-726,-452,-525,-716,-660,-357,-87,34,108,122,-103,-573,-991,-1112,-1014,-928,-952,-1061,-1225,-1382,-1402,-1274,-1211,-1391,-1660,-1688,-1401,-1083,-986,-1040,-1008,-812,-586,-481,-529,-660,-766,-758,-615,-398,-199,-55,53,139,185,176,119,34,-60,-144,-190,-191,-176,-184,-220,-255,-262,-250,-250,-274,-307,-333,-349,-358,-363,-364,-360,-335,-277,-202,-154,-147,-158,-164,-174,-191,-195,-176,-164,-185,-207,-171,-79,6,36,13,-39,-102,-147,-144,-106,-89,-111,-129,-100,-47,-22,-38,-75,-123,-173,-206,-211,-206,-215,-225,-208,-175,-155,-146,-120,-76,-50,-62,-89,-111,-128,-133,-108,-58,-25,-36,-63,-65,-44,-32,-42,-59,-61,-43,-6,38,67,67,57,65,87,93,62,8,-32,-34,1,50,78,68,41,32,52,76,78,56,28,14,25,63,116,158,169,155,139,139,149,143,109,63,37,42,63,78,82,78,67,55,54,64,58,20,-24,-29,7,36,26}
},
{ // H20e135a.wav
{0,-1,0,2,2,2,2,2,0,-1,0,1,-1,-2,0,1,0,-1,1,2,0,-1,1,2,-2,-4,0,3,0,-2,2,5,0,-2,4,7,-4,-11,1,11,-2,-15,4,28,10,-20,1,43,16,31,436,1366,2308,2410,1363,-171,-1157,-1150,-576,-168,-258,-550,-398,671,2481,4141,4646,3746,2228,1226,1241,1866,2351,2284,1745,1042,446,101,6,7,-106,-432,-865,-1179,-1205,-947,-570,-286,-222,-345,-497,-519,-386,-220,-161,-222,-287,-262,-178,-129,-141,-165,-177,-217,-307,-387,-378,-273,-130,-2,82,88,5,-109,-160,-132,-119,-218,-418,-627,-776,-860,-891,-870,-807,-734,-680,-648,-632,-635,-652,-659,-638,-611,-613,-642,-651,-599,-499,-406,-364,-379,-432,-501,-561,-584,-558,-506,-461,-425,-377,-331,-335,-414,-515,-555,-522,-489,-511,-551,-534,-456,-386,-373,-388,-379,-345,-324,-331,-347,-356,-368,-389,-405,-399,-370,-328,-281,-239,-219,-227,-243,-239,-223,-229,-266,-302,-302,-275,-255,-250,-240,-216,-200,-212,-241,-255,-243,-220,-204,-197,-191,-181,-167,-150,-134,-126,-131,-144,-154,-156,-154,-157,-161,-156,-136,-110,-89,-78,-73,-70,-68,-66,-65,-65,-70,-80,-92,-103,-107,-102,-88,-73,-63,-58,-55,-50,-44,-37,-30,-22,-16,-13,-13,-16,-26,-45,-69,-90,-101,-104,-102,-94,-76,-47,-18},
{-3,-43,2,60,-1,-90,-22,108,40,-140,-79,164,119,-207,-187,247,223,-310,602,4521,9121,9282,2862,-5854,-9918,-6523,804,6052,5730,955,-3570,-2878,3841,11442,13109,7567,823,-440,3897,8201,8108,4526,840,-1331,-2421,-2769,-2206,-1299,-1305,-2553,-3902,-4183,-3492,-2701,-2299,-2182,-2171,-2149,-1866,-1159,-390,-244,-874,-1564,-1522,-839,-336,-496,-926,-1009,-771,-716,-993,-1176,-937,-528,-378,-492,-570,-493,-368,-218,14,159,-83,-658,-1092,-1069,-825,-779,-995,-1232,-1340,-1356,-1295,-1144,-1026,-1120,-1372,-1502,-1372,-1158,-1074,-1076,-981,-750,-528,-443,-499,-632,-766,-806,-688,-449,-215,-81,-40,-25,14,80,134,125,31,-99,-186,-198,-181,-185,-210,-224,-224,-232,-257,-280,-286,-285,-290,-298,-307,-321,-340,-338,-291,-213,-149,-124,-123,-131,-150,-179,-195,-186,-182,-213,-248,-229,-146,-58,-20,-30,-63,-105,-143,-149,-117,-87,-97,-128,-129,-86,-40,-32,-67,-121,-170,-201,-210,-209,-208,-208,-202,-194,-188,-178,-153,-120,-93,-78,-74,-87,-121,-151,-139,-90,-53,-58,-78,-69,-36,-18,-28,-47,-52,-43,-24,3,28,39,42,60,98,127,115,66,10,-16,-3,34,62,59,35,22,42,78,96,81,45,14,8,34,85,135,156,147,132,136,155,162,140,98,61,44,40,40,38,29,15,5,9,22,28,21,14,19,26,19}
},
{ // H20e140a.wav
{-2,-2,-2,-2,-1,-1,-3,-4,-3,-2,-4,-5,-4,-4,-6,-6,-3,-1,-3,-5,-3,-3,-6,-7,-3,-2,-6,-7,-1,2,-5,-10,-1,6,-6,-18,-6,11,-1,-24,-10,25,17,-23,-12,41,28,18,374,1325,2414,2691,1664,-64,-1305,-1410,-759,-206,-217,-519,-406,660,2535,4315,4923,4020,2375,1229,1218,1942,2524,2436,1786,987,352,-21,-160,-156,-160,-339,-737,-1188,-1426,-1315,-967,-621,-433,-392,-410,-422,-398,-323,-219,-148,-161,-246,-338,-376,-348,-290,-267,-329,-451,-535,-500,-365,-216,-111,-40,20,65,90,111,130,110,10,-160,-343,-498,-619,-713,-773,-794,-781,-746,-703,-675,-683,-723,-758,-756,-720,-679,-647,-614,-561,-490,-420,-372,-354,-362,-397,-455,-526,-587,-609,-577,-508,-453,-449,-486,-514,-504,-483,-494,-530,-536,-477,-392,-354,-380,-418,-412,-362,-315,-303,-322,-356,-397,-442,-479,-483,-437,-351,-265,-217,-213,-223,-219,-206,-207,-226,-243,-242,-239,-255,-287,-302,-282,-245,-226,-236,-251,-248,-232,-223,-226,-229,-221,-204,-185,-163,-143,-133,-136,-142,-140,-134,-141,-163,-182,-181,-165,-150,-142,-128,-99,-65,-46,-47,-61,-75,-84,-90,-95,-100,-104,-105,-98,-85,-73,-69,-72,-72,-64,-52,-44,-43,-41,-31,-15,-7,-14,-32,-50,-66,-80,-90,-91,-84,-76,-69,-58,-38,-17,-4},
{26,10,-37,-20,46,28,-69,-62,68,82,-82,-126,81,168,-93,-242,88,299,-138,13,2713,7200,9176,5210,-2589,-7972,-6837,-1038,4065,4641,994,-3169,-3359,2146,9899,13456,9700,2641,-655,2208,6914,8156,5334,1645,-588,-1645,-2319,-2416,-1821,-1438,-2082,-3239,-3761,-3368,-2740,-2416,-2311,-2191,-2000,-1641,-999,-372,-388,-1166,-1893,-1686,-725,-66,-320,-955,-1117,-761,-548,-817,-1162,-1096,-705,-408,-368,-439,-511,-550,-431,-92,167,-72,-718,-1139,-957,-560,-561,-998,-1399,-1469,-1348,-1227,-1092,-938,-921,-1112,-1315,-1317,-1172,-1074,-1046,-951,-741,-532,-434,-452,-551,-702,-822,-788,-575,-315,-162,-145,-165,-126,-18,96,143,93,-14,-108,-158,-185,-214,-235,-224,-192,-173,-192,-233,-265,-268,-250,-235,-246,-281,-322,-340,-319,-261,-189,-131,-107,-115,-144,-180,-208,-214,-208,-220,-251,-261,-211,-121,-61,-69,-115,-150,-151,-132,-112,-102,-108,-123,-126,-108,-82,-69,-79,-105,-137,-166,-184,-192,-203,-219,-226,-216,-198,-183,-169,-146,-119,-102,-102,-112,-128,-144,-143,-120,-92,-83,-89,-82,-52,-20,-9,-22,-42,-54,-46,-17,19,42,50,67,104,139,136,92,38,8,9,28,46,49,36,21,28,63,98,101,65,21,6,31,78,118,140,148,150,150,149,147,133,95,42,5,-2,5,-1,-22,-31,-12,21,45,58,65,65,49,22}
},
{ // H20e145a.wav
{1,0,2,3,1,-1,0,2,0,-2,-1,1,0,-1,0,2,0,-2,0,1,-2,-4,-1,3,1,-3,1,5,0,-5,2,9,-1,-14,-3,15,4,-22,-11,25,20,-21,-11,50,40,5,331,1322,2551,2976,1953,44,-1434,-1654,-943,-254,-181,-492,-422,656,2639,4577,5281,4322,2500,1192,1155,1989,2704,2656,1928,996,255,-163,-306,-288,-259,-374,-701,-1143,-1471,-1496,-1225,-849,-580,-506,-566,-623,-564,-377,-162,-50,-82,-187,-280,-344,-398,-434,-435,-434,-490,-596,-665,-619,-468,-280,-116,-7,38,40,49,98,154,153,70,-63,-209,-356,-495,-594,-622,-592,-554,-554,-603,-680,-760,-828,-869,-866,-809,-716,-623,-547,-480,-412,-356,-338,-361,-402,-440,-465,-474,-468,-471,-520,-608,-664,-630,-538,-483,-508,-551,-535,-466,-415,-417,-430,-404,-346,-301,-289,-292,-301,-332,-393,-458,-485,-460,-403,-344,-303,-283,-272,-253,-218,-184,-174,-189,-209,-221,-232,-253,-274,-276,-254,-229,-221,-232,-247,-251,-244,-236,-235,-241,-244,-234,-210,-180,-153,-136,-126,-119,-119,-132,-152,-168,-171,-166,-164,-164,-159,-143,-121,-99,-77,-60,-54,-63,-79,-90,-96,-103,-112,-114,-100,-78,-62,-58,-61,-62,-61,-60,-58,-53,-45,-37,-30,-20,-11,-13,-33,-61,-77,-75,-67,-64,-66,-66,-61,-53,-40,-17,9,22,14},
{-25,11,30,-13,-38,17,51,-23,-81,9,100,-2,-134,-22,166,47,-215,-90,264,98,-239,1106,4848,8200,7076,1100,-5116,-6592,-3003,1621,3283,1215,-2213,-3354,232,7252,12592,11648,5482,255,611,4812,7533,6214,2884,392,-825,-1718,-2383,-2277,-1723,-1735,-2514,-3200,-3170,-2759,-2518,-2449,-2258,-1882,-1414,-894,-501,-627,-1340,-1975,-1748,-773,-27,-178,-813,-1073,-775,-497,-675,-1054,-1141,-870,-557,-416,-408,-466,-550,-519,-254,31,-80,-609,-1020,-876,-459,-406,-860,-1354,-1491,-1381,-1282,-1182,-966,-763,-815,-1088,-1283,-1231,-1052,-906,-796,-664,-550,-515,-531,-539,-559,-637,-720,-698,-551,-386,-302,-277,-219,-96,39,116,115,59,-21,-105,-172,-208,-212,-201,-184,-164,-153,-167,-199,-216,-202,-186,-210,-267,-315,-332,-326,-298,-241,-172,-129,-132,-158,-177,-187,-201,-217,-231,-247,-257,-236,-179,-121,-105,-133,-165,-168,-146,-119,-106,-117,-145,-162,-149,-115,-87,-82,-94,-113,-132,-146,-157,-178,-210,-238,-238,-213,-189,-179,-167,-142,-118,-115,-131,-151,-160,-157,-144,-127,-116,-108,-89,-51,-9,13,4,-27,-59,-72,-50,-2,49,80,97,119,141,138,96,39,3,2,24,47,57,51,35,25,40,76,106,100,61,29,34,70,104,123,134,141,135,115,98,91,75,35,-12,-34,-27,-14,-9,-3,14,36,55,71,79,66,31}
},
{ // H20e150a.wav
{2,3,1,-1,0,1,-1,-3,-1,2,1,-2,-1,3,2,-1,0,2,-1,-5,-1,4,1,-5,-1,6,2,-6,0,9,0,-14,-3,19,8,-25,-18,26,28,-23,-24,49,56,-3,275,1294,2690,3309,2301,159,-1625,-1977,-1155,-267,-101,-466,-479,619,2751,4876,5679,4659,2650,1153,1058,1997,2876,2899,2084,989,140,-287,-406,-397,-380,-444,-681,-1095,-1510,-1666,-1461,-1062,-737,-612,-627,-664,-647,-551,-387,-215,-101,-74,-124,-238,-390,-514,-540,-487,-469,-568,-726,-798,-701,-482,-264,-137,-104,-98,-47,53,127,105,2,-98,-148,-184,-259,-363,-432,-430,-387,-363,-390,-467,-583,-726,-862,-936,-912,-813,-698,-602,-520,-441,-375,-347,-359,-387,-406,-419,-448,-505,-572,-607,-578,-508,-469,-509,-596,-641,-600,-513,-457,-457,-480,-478,-436,-369,-304,-264,-262,-299,-359,-418,-447,-430,-379,-327,-300,-294,-283,-251,-215,-202,-211,-217,-211,-207,-225,-257,-278,-273,-252,-232,-220,-211,-205,-207,-216,-225,-230,-240,-255,-263,-251,-225,-199,-175,-145,-115,-101,-110,-129,-143,-156,-172,-185,-183,-170,-155,-137,-110,-79,-58,-57,-69,-85,-101,-115,-125,-127,-122,-112,-97,-79,-60,-44,-34,-36,-48,-61,-65,-59,-49,-36,-19,-2,1,-14,-39,-63,-79,-85,-79,-66,-55,-53,-52,-43,-28,-13,3,22,39,40,21},
{9,-17,-9,25,14,-29,-15,41,22,-59,-45,66,64,-80,-99,86,138,-97,-197,104,250,-136,90,2492,6209,7677,4459,-1396,-5161,-4396,-1003,1441,1144,-1047,-2701,-1252,3997,10187,12443,8738,2701,41,2337,5866,6564,4326,1700,105,-995,-2047,-2498,-2088,-1638,-1914,-2576,-2850,-2674,-2536,-2567,-2412,-1885,-1241,-805,-694,-927,-1419,-1817,-1671,-968,-281,-162,-522,-815,-749,-575,-640,-909,-1058,-938,-717,-597,-574,-529,-439,-359,-308,-277,-317,-465,-614,-611,-505,-532,-798,-1124,-1290,-1311,-1319,-1293,-1117,-844,-717,-850,-1070,-1135,-1010,-829,-687,-594,-549,-564,-593,-566,-494,-462,-519,-610,-660,-660,-626,-540,-366,-134,60,142,120,54,-16,-80,-130,-151,-143,-134,-149,-179,-198,-191,-167,-145,-138,-157,-202,-257,-304,-338,-361,-358,-306,-220,-148,-130,-154,-184,-201,-208,-211,-213,-224,-242,-248,-223,-184,-161,-162,-168,-163,-155,-151,-150,-154,-167,-181,-178,-152,-120,-99,-88,-86,-98,-118,-137,-154,-182,-222,-251,-247,-220,-195,-177,-156,-131,-119,-130,-154,-180,-195,-190,-163,-126,-98,-81,-59,-27,-1,-1,-24,-50,-58,-39,-1,42,73,88,99,113,119,101,61,22,3,10,34,59,67,54,32,28,56,96,115,100,70,53,57,70,80,82,79,75,74,78,82,71,41,7,-12,-11,0,8,7,5,14,37,60,61,34}
},
{ // H20e155a.wav
{2,-1,-1,2,1,-3,-2,2,2,-1,-1,3,3,0,0,1,-2,-4,0,5,1,-6,0,10,4,-9,-3,12,5,-18,-13,16,16,-19,-22,23,32,-23,-34,49,74,-10,207,1242,2818,3678,2729,346,-1812,-2373,-1460,-323,10,-381,-521,537,2816,5193,6152,5060,2812,1102,960,2006,3032,3139,2294,1060,33,-505,-609,-512,-432,-485,-711,-1088,-1491,-1713,-1623,-1300,-963,-767,-709,-708,-695,-626,-482,-307,-180,-143,-172,-234,-331,-455,-549,-563,-536,-563,-674,-780,-768,-618,-420,-277,-220,-201,-157,-81,-24,-34,-101,-171,-204,-217,-251,-314,-365,-354,-276,-190,-174,-259,-413,-574,-694,-755,-763,-739,-705,-665,-605,-522,-438,-383,-356,-343,-357,-432,-555,-648,-643,-565,-497,-486,-499,-486,-454,-450,-495,-559,-601,-602,-563,-498,-425,-368,-339,-337,-351,-370,-374,-348,-302,-275,-298,-352,-376,-334,-253,-186,-158,-155,-164,-189,-234,-279,-300,-292,-273,-261,-259,-253,-231,-196,-169,-168,-192,-217,-224,-221,-226,-245,-258,-247,-214,-177,-151,-135,-123,-118,-124,-139,-158,-176,-190,-192,-176,-147,-121,-103,-87,-69,-58,-65,-85,-104,-119,-134,-152,-161,-150,-121,-84,-51,-27,-17,-22,-37,-53,-61,-58,-47,-33,-17,-2,8,4,-17,-48,-76,-90,-88,-76,-62,-50,-39,-27,-12,3,14,20,27,40,50,43,21},
{0,12,-5,-18,4,22,-8,-31,8,37,-17,-67,-1,76,4,-107,-30,126,48,-169,-91,202,105,-206,709,3616,6612,6512,2574,-2250,-4396,-3216,-874,353,-172,-1516,-1750,1003,6478,11193,11155,6366,1396,532,3283,5733,5419,3298,1305,-107,-1380,-2320,-2378,-1837,-1600,-1956,-2365,-2449,-2456,-2604,-2579,-2041,-1237,-749,-814,-1173,-1481,-1598,-1500,-1177,-712,-332,-239,-407,-618,-706,-710,-762,-878,-940,-884,-794,-743,-657,-450,-225,-197,-395,-588,-560,-369,-245,-329,-571,-839,-1044,-1163,-1220,-1241,-1210,-1097,-935,-834,-863,-949,-960,-856,-710,-609,-578,-601,-636,-619,-520,-393,-344,-410,-530,-639,-722,-775,-744,-587,-347,-115,54,155,180,109,-28,-146,-184,-157,-124,-115,-127,-154,-190,-215,-204,-163,-142,-174,-237,-292,-330,-368,-393,-366,-278,-187,-147,-157,-174,-183,-197,-215,-213,-195,-199,-241,-280,-273,-225,-183,-171,-174,-173,-169,-173,-184,-195,-199,-192,-173,-146,-116,-90,-80,-91,-114,-131,-143,-169,-214,-248,-247,-223,-206,-200,-181,-146,-120,-121,-137,-151,-165,-183,-193,-179,-148,-118,-90,-54,-15,4,-7,-31,-44,-34,-4,31,56,65,67,77,93,101,89,62,34,17,17,32,47,46,31,26,53,101,136,133,97,54,25,14,14,19,33,52,67,76,82,86,77,51,23,14,21,19,-3,-23,-18,3,15,10}
},
{ // H20e160a.wav
{-2,0,1,-2,-2,2,2,-2,-2,2,2,-2,-2,1,-1,-5,-2,4,1,-6,-2,8,4,-10,-7,10,5,-20,-17,18,21,-22,-34,19,43,-22,-56,33,92,-2,138,1149,2893,4047,3237,635,-1963,-2823,-1852,-426,125,-285,-583,410,2855,5539,6701,5533,2998,1028,831,2003,3189,3374,2503,1164,-8,-672,-830,-708,-565,-557,-734,-1083,-1494,-1757,-1710,-1416,-1110,-950,-897,-845,-763,-668,-542,-375,-230,-186,-229,-278,-310,-391,-545,-675,-680,-604,-592,-699,-803,-749,-536,-314,-215,-224,-241,-210,-165,-164,-221,-303,-368,-383,-355,-325,-330,-352,-333,-258,-188,-194,-276,-376,-455,-519,-580,-619,-616,-576,-519,-455,-395,-360,-382,-464,-562,-618,-603,-542,-493,-499,-544,-568,-530,-453,-399,-406,-459,-513,-541,-550,-557,-559,-540,-499,-452,-409,-357,-287,-229,-223,-277,-349,-386,-372,-326,-269,-212,-170,-155,-166,-187,-205,-220,-234,-249,-270,-302,-331,-327,-276,-204,-157,-157,-188,-215,-220,-210,-205,-214,-226,-229,-222,-210,-195,-173,-145,-124,-120,-131,-149,-170,-190,-201,-197,-180,-157,-130,-101,-75,-62,-65,-77,-92,-106,-120,-138,-161,-181,-179,-145,-92,-45,-18,-12,-22,-46,-70,-77,-62,-37,-17,-1,15,24,15,-15,-53,-82,-92,-82,-62,-42,-29,-22,-18,-12,0,16,32,39,36,35,46,59,53,26},
{-9,-10,8,10,-9,-11,14,16,-16,-18,23,24,-35,-46,31,59,-37,-87,30,113,-28,-157,17,200,-29,-81,1354,4290,6480,5490,1562,-2460,-4048,-3110,-1295,-190,-377,-1172,-710,2638,7901,11291,9766,4707,775,902,3558,5293,4684,2845,1072,-444,-1741,-2378,-2136,-1609,-1507,-1808,-2083,-2256,-2504,-2652,-2276,-1431,-783,-820,-1280,-1558,-1471,-1308,-1251,-1098,-656,-153,-19,-331,-712,-814,-714,-708,-868,-1002,-975,-850,-697,-493,-284,-241,-417,-590,-529,-311,-200,-283,-431,-580,-818,-1151,-1376,-1317,-1063,-847,-781,-824,-912,-999,-999,-838,-588,-435,-482,-636,-721,-657,-494,-335,-265,-313,-449,-601,-706,-741,-714,-639,-522,-366,-173,23,161,186,102,-24,-128,-189,-215,-215,-197,-176,-165,-165,-173,-196,-234,-265,-266,-249,-259,-315,-377,-388,-336,-262,-206,-168,-135,-118,-142,-194,-230,-231,-227,-253,-293,-302,-269,-230,-210,-199,-180,-162,-161,-175,-185,-190,-201,-212,-201,-159,-107,-77,-84,-112,-134,-144,-163,-204,-246,-256,-227,-192,-177,-173,-157,-132,-117,-114,-113,-120,-149,-188,-204,-185,-156,-136,-114,-74,-31,-12,-17,-22,-10,15,40,59,65,56,42,41,59,79,83,68,47,32,26,22,14,9,21,54,98,130,133,105,58,11,-17,-19,0,23,40,53,68,85,100,107,102,81,50,22,2,-17,-38,-51,-44,-21}
},
{ // H20e165a.wav
{0,-3,-2,2,3,-2,-3,2,3,-2,-2,3,1,-7,-6,4,5,-4,-4,8,7,-8,-8,11,10,-19,-24,14,30,-15,-42,10,52,-9,-66,16,103,11,74,1022,2900,4386,3824,1086,-1992,-3289,-2365,-627,250,-119,-631,189,2763,5836,7334,6157,3286,955,648,1965,3350,3626,2725,1293,0,-790,-1031,-916,-721,-649,-779,-1104,-1520,-1813,-1793,-1497,-1179,-1038,-1033,-1010,-911,-780,-626,-419,-213,-145,-260,-417,-455,-388,-384,-534,-728,-801,-743,-685,-707,-730,-642,-456,-293,-222,-196,-163,-155,-231,-369,-481,-511,-485,-459,-458,-464,-449,-395,-314,-252,-255,-315,-375,-393,-381,-383,-420,-473,-485,-415,-283,-188,-235,-422,-616,-680,-609,-516,-495,-532,-556,-538,-500,-469,-445,-426,-424,-449,-490,-525,-546,-562,-575,-574,-543,-472,-363,-247,-174,-182,-259,-344,-382,-367,-334,-304,-270,-222,-178,-164,-181,-202,-208,-205,-211,-233,-261,-283,-292,-291,-281,-257,-217,-176,-159,-177,-209,-222,-213,-208,-223,-240,-231,-196,-156,-130,-117,-112,-117,-138,-168,-194,-207,-206,-194,-174,-154,-136,-116,-89,-63,-53,-65,-90,-113,-130,-146,-161,-169,-161,-136,-99,-57,-23,-7,-15,-39,-63,-75,-74,-60,-39,-12,20,49,58,35,-12,-59,-86,-87,-69,-42,-18,-4,3,13,29,42,40,31,29,35,41,48,65,84,79,42},
{1,-2,-11,-5,8,2,-14,-5,16,6,-20,-9,24,9,-41,-29,39,34,-53,-60,51,76,-65,-113,71,142,-92,133,1851,4617,6218,4788,935,-2772,-4225,-3290,-1351,-41,-150,-849,13,3789,8765,11027,8474,3429,319,1049,3600,4986,4305,2566,760,-830,-1957,-2246,-1817,-1359,-1350,-1648,-1965,-2277,-2534,-2410,-1749,-1016,-846,-1235,-1565,-1458,-1205,-1203,-1288,-991,-312,161,-7,-543,-845,-745,-610,-755,-1036,-1125,-947,-674,-462,-358,-391,-533,-615,-473,-210,-108,-259,-453,-529,-615,-883,-1208,-1303,-1117,-884,-786,-776,-758,-765,-836,-873,-755,-545,-436,-512,-655,-696,-582,-389,-232,-199,-315,-517,-688,-730,-642,-509,-415,-374,-334,-246,-116,3,66,63,4,-98,-221,-324,-366,-343,-279,-212,-172,-174,-208,-248,-270,-277,-286,-304,-324,-336,-333,-304,-249,-188,-147,-138,-149,-167,-193,-227,-264,-295,-318,-329,-319,-283,-231,-181,-153,-151,-162,-171,-176,-188,-213,-238,-240,-212,-170,-130,-101,-91,-106,-139,-172,-195,-209,-219,-220,-211,-196,-182,-169,-150,-121,-92,-77,-86,-120,-162,-189,-194,-188,-181,-168,-139,-99,-61,-28,5,32,40,32,27,32,37,31,24,35,60,76,69,46,27,20,19,13,6,6,17,35,62,96,120,111,64,9,-20,-18,-2,15,35,62,90,111,123,122,103,69,31,-6,-44,-74,-74,-39}
},
{ // H20e170a.wav
{-5,0,4,0,-4,0,4,0,-3,0,1,-5,-6,3,4,-6,-6,8,10,-8,-12,9,15,-15,-30,6,32,-8,-45,1,56,2,-75,-8,105,30,25,881,2841,4658,4434,1669,-1876,-3724,-2984,-965,325,95,-635,-82,2547,6051,8011,6925,3707,918,415,1868,3500,3899,2950,1396,-6,-872,-1174,-1106,-928,-816,-852,-1093,-1512,-1890,-1939,-1620,-1226,-1060,-1114,-1160,-1070,-910,-744,-528,-252,-66,-133,-405,-637,-642,-493,-414,-524,-725,-844,-822,-739,-685,-655,-592,-468,-310,-166,-86,-107,-222,-377,-508,-595,-646,-659,-621,-552,-501,-484,-467,-423,-372,-351,-357,-364,-376,-419,-473,-465,-355,-207,-137,-194,-314,-395,-407,-403,-440,-511,-568,-578,-548,-511,-490,-481,-462,-422,-386,-398,-473,-571,-639,-658,-637,-568,-439,-280,-169,-160,-223,-284,-306,-306,-315,-333,-341,-329,-300,-266,-233,-204,-180,-169,-178,-203,-230,-248,-258,-269,-281,-284,-272,-244,-208,-181,-180,-204,-227,-225,-208,-205,-227,-247,-236,-198,-156,-125,-104,-93,-99,-124,-160,-191,-209,-214,-212,-204,-187,-155,-116,-86,-72,-69,-70,-83,-110,-140,-156,-161,-164,-161,-136,-91,-46,-21,-15,-21,-38,-61,-79,-79,-63,-42,-22,0,23,38,38,22,-5,-31,-45,-46,-40,-32,-21,-1,24,47,63,69,60,38,18,12,19,33,54,81,97,81,38},
{-5,-2,5,-1,-11,-5,7,1,-11,-2,14,3,-17,-3,21,0,-38,-16,35,16,-53,-36,58,50,-75,-79,88,99,-88,333,2180,4783,6003,4258,313,-3301,-4505,-3185,-929,349,-40,-758,567,4725,9290,10491,7196,2364,11,1207,3680,4814,4020,2247,401,-1101,-1941,-1946,-1469,-1152,-1272,-1618,-1956,-2227,-2310,-2010,-1434,-1054,-1147,-1421,-1440,-1236,-1168,-1279,-1164,-594,40,169,-239,-670,-743,-629,-703,-985,-1153,-997,-665,-437,-417,-518,-616,-626,-510,-312,-160,-145,-237,-375,-571,-835,-1048,-1064,-925,-846,-919,-979,-846,-595,-458,-520,-650,-701,-670,-631,-615,-598,-553,-464,-334,-218,-207,-332,-502,-585,-544,-452,-387,-352,-308,-248,-202,-188,-181,-153,-117,-121,-190,-296,-386,-431,-434,-401,-329,-234,-159,-141,-173,-220,-257,-283,-304,-323,-332,-321,-285,-233,-181,-150,-151,-181,-221,-249,-255,-260,-289,-333,-347,-307,-239,-185,-160,-148,-142,-153,-179,-205,-223,-246,-271,-273,-235,-172,-121,-97,-90,-90,-103,-133,-171,-205,-226,-235,-232,-218,-190,-152,-114,-86,-69,-68,-86,-123,-165,-190,-189,-178,-173,-165,-137,-90,-46,-18,-2,10,18,21,21,21,18,14,21,47,79,92,72,30,-9,-30,-34,-28,-16,0,22,51,86,114,120,98,57,17,-2,0,12,26,44,71,101,118,115,96,69,31,-16,-54,-59,-32}
},
{ // H20e175a.wav
{4,-2,-6,-1,4,-1,-5,0,2,-6,-9,0,5,-5,-9,4,10,-6,-15,4,15,-12,-32,0,31,-4,-48,-7,56,11,-78,-25,104,44,-14,751,2746,4839,4978,2313,-1582,-4006,-3604,-1429,300,328,-563,-354,2212,6119,8636,7765,4258,977,197,1723,3594,4164,3223,1545,-30,-1018,-1332,-1216,-1032,-979,-1041,-1196,-1494,-1854,-2002,-1766,-1343,-1094,-1124,-1228,-1214,-1090,-924,-684,-343,-38,12,-242,-604,-816,-786,-623,-508,-541,-684,-817,-832,-727,-601,-553,-570,-535,-359,-109,33,-54,-312,-572,-708,-725,-705,-712,-734,-714,-616,-482,-401,-419,-486,-514,-476,-419,-388,-392,-418,-451,-456,-385,-243,-116,-98,-193,-320,-402,-428,-430,-439,-468,-511,-536,-502,-414,-335,-336,-427,-557,-662,-707,-677,-566,-402,-256,-196,-216,-247,-237,-206,-203,-239,-281,-307,-336,-377,-394,-346,-252,-180,-163,-181,-196,-200,-207,-224,-247,-273,-300,-314,-296,-244,-183,-147,-151,-184,-220,-243,-253,-257,-257,-242,-210,-172,-140,-114,-92,-84,-100,-136,-170,-190,-201,-208,-208,-198,-179,-160,-142,-122,-102,-88,-82,-84,-95,-117,-145,-166,-172,-165,-144,-107,-58,-14,8,0,-27,-57,-75,-77,-66,-47,-22,7,34,49,44,18,-13,-38,-49,-44,-27,-5,15,34,55,73,80,74,59,41,19,-1,-7,9,39,64,79,87,87,69,33},
{8,4,-4,-1,5,-1,-8,-1,8,0,-8,4,15,0,-15,3,22,-3,-35,-9,36,10,-50,-23,60,37,-74,-56,94,77,-60,496,2421,4890,5774,3679,-404,-3808,-4506,-2691,-345,564,-181,-726,1156,5503,9428,9658,5974,1607,-36,1439,3721,4595,3704,1939,155,-1169,-1751,-1618,-1230,-1095,-1290,-1569,-1797,-1992,-2064,-1852,-1447,-1180,-1207,-1322,-1302,-1216,-1210,-1164,-827,-262,118,24,-355,-632,-697,-755,-927,-1046,-919,-635,-467,-522,-641,-658,-591,-537,-487,-357,-162,-42,-116,-371,-694,-940,-1004,-899,-777,-782,-882,-895,-725,-494,-383,-423,-508,-567,-622,-688,-710,-638,-498,-354,-249,-199,-216,-285,-356,-381,-372,-374,-394,-384,-312,-220,-180,-214,-282,-338,-374,-408,-441,-455,-441,-415,-393,-366,-323,-268,-217,-179,-153,-145,-166,-218,-282,-334,-361,-361,-331,-274,-208,-163,-160,-192,-230,-250,-250,-252,-273,-303,-313,-287,-239,-190,-153,-134,-143,-175,-214,-242,-257,-269,-277,-264,-220,-156,-96,-60,-58,-83,-117,-145,-169,-199,-231,-245,-232,-205,-177,-148,-113,-78,-61,-69,-90,-112,-135,-162,-186,-192,-175,-145,-115,-82,-41,-1,14,-3,-28,-29,-8,9,9,14,42,79,92,68,23,-19,-50,-67,-65,-40,-2,30,51,76,110,133,119,74,36,27,32,25,13,20,47,68,71,73,86,91,62,11,-22,-19}
},
{ // H20e180a.wav
{-7,-2,5,1,-5,-3,0,-6,-10,0,6,-5,-12,2,12,-5,-19,0,17,-9,-35,-5,34,3,-51,-18,56,22,-79,-43,98,60,-39,626,2604,4913,5434,3007,-1077,-4056,-4164,-2043,86,523,-396,-590,1732,5962,9156,8696,4995,1189,60,1599,3654,4355,3449,1736,45,-1115,-1540,-1395,-1128,-1072,-1200,-1371,-1591,-1875,-2023,-1831,-1421,-1150,-1165,-1272,-1269,-1188,-1105,-928,-545,-99,101,-75,-434,-714,-840,-875,-839,-714,-573,-556,-684,-789,-721,-557,-486,-538,-530,-326,-45,54,-137,-482,-763,-873,-846,-786,-770,-791,-773,-659,-502,-421,-460,-531,-527,-460,-435,-508,-617,-647,-540,-344,-172,-113,-168,-256,-295,-283,-286,-343,-418,-445,-410,-353,-315,-303,-318,-378,-494,-622,-678,-615,-479,-367,-328,-329,-317,-280,-240,-205,-165,-129,-130,-189,-287,-378,-425,-413,-352,-271,-204,-173,-173,-185,-196,-207,-226,-257,-290,-307,-298,-270,-238,-205,-169,-141,-147,-191,-240,-263,-261,-259,-264,-252,-202,-132,-81,-67,-76,-90,-111,-148,-196,-231,-235,-217,-199,-186,-166,-134,-106,-96,-95,-89,-85,-100,-129,-151,-158,-163,-174,-170,-129,-62,-7,14,8,-10,-33,-55,-65,-52,-20,16,44,60,59,40,5,-32,-55,-58,-46,-26,-3,22,50,80,107,121,113,83,46,16,-2,-9,-4,17,48,74,88,91,84,67,40,14},
{-7,-2,5,1,-5,-3,0,-6,-10,0,6,-5,-12,2,12,-5,-19,0,17,-9,-35,-5,34,3,-51,-18,56,22,-79,-43,98,60,-39,626,2604,4913,5434,3007,-1077,-4056,-4164,-2043,86,523,-396,-590,1732,5962,9156,8696,4995,1189,60,1599,3654,4355,3449,1736,45,-1115,-1540,-1395,-1128,-1072,-1200,-1371,-1591,-1875,-2023,-1831,-1421,-1150,-1165,-1272,-1269,-1188,-1105,-928,-545,-99,101,-75,-434,-714,-840,-875,-839,-714,-573,-556,-684,-789,-721,-557,-486,-538,-530,-326,-45,54,-137,-482,-763,-873,-846,-786,-770,-791,-773,-659,-502,-421,-460,-531,-527,-460,-435,-508,-617,-647,-540,-344,-172,-113,-168,-256,-295,-283,-286,-343,-418,-445,-410,-353,-315,-303,-318,-378,-494,-622,-678,-615,-479,-367,-328,-329,-317,-280,-240,-205,-165,-129,-130,-189,-287,-378,-425,-413,-352,-271,-204,-173,-173,-185,-196,-207,-226,-257,-290,-307,-298,-270,-238,-205,-169,-141,-147,-191,-240,-263,-261,-259,-264,-252,-202,-132,-81,-67,-76,-90,-111,-148,-196,-231,-235,-217,-199,-186,-166,-134,-106,-96,-95,-89,-85,-100,-129,-151,-158,-163,-174,-170,-129,-62,-7,14,8,-10,-33,-55,-65,-52,-20,16,44,60,59,40,5,-32,-55,-58,-46,-26,-3,22,50,80,107,121,113,83,46,16,-2,-9,-4,17,48,74,88,91,84,67,40,14}
}
},
{ // elev30
{ // H30e000a.wav
{15,-11,-14,23,19,-36,-30,49,45,-70,-81,72,109,-88,-166,86,231,-75,-308,60,390,-49,-82,2238,5971,7113,3747,-681,-1856,-889,-2414,-6614,-7605,-1787,5907,7876,4023,1712,5635,11791,13068,7853,827,-2905,-2063,1353,4243,4101,664,-3445,-5042,-3852,-2603,-3268,-4538,-3968,-1605,7,-771,-2626,-3107,-1644,61,336,-563,-1131,-646,109,106,-569,-997,-710,-140,102,-113,-533,-850,-798,-371,-64,-451,-1284,-1509,-597,575,758,-52,-677,-370,359,659,409,51,-173,-333,-450,-474,-513,-704,-887,-767,-387,-165,-359,-738,-883,-658,-268,25,127,105,81,119,183,201,139,0,-232,-562,-911,-1167,-1296,-1345,-1311,-1138,-872,-703,-769,-985,-1142,-1144,-1040,-884,-677,-455,-317,-317,-385,-418,-408,-417,-459,-484,-465,-452,-488,-528,-487,-353,-210,-145,-156,-194,-229,-264,-301,-334,-358,-369,-355,-313,-274,-264,-263,-231,-173,-140,-162,-205,-226,-219,-202,-183,-165,-151,-132,-93,-46,-39,-93,-165,-206,-215,-223,-233,-223,-193,-160,-124,-70,-11,17,8,-15,-45,-99,-169,-205,-177,-119,-74,-45,-12,20,27,12,-5,-17,-38,-63,-68,-45,-13,13,34,54,65,56,29,-11,-56,-90,-94,-72,-45,-26,-11,11,34,45,43,29,6,-17,-22,-7,13,24,39,77,133,176,186,172,150,123,94,75,74,79,81,89,114,138,123,64},
{15,-11,-14,23,19,-36,-30,49,45,-70,-81,72,109,-88,-166,86,231,-75,-308,60,390,-49,-82,2238,5971,7113,3747,-681,-1856,-889,-2414,-6614,-7605,-1787,5907,7876,4023,1712,5635,11791,13068,7853,827,-2905,-2063,1353,4243,4101,664,-3445,-5042,-3852,-2603,-3268,-4538,-3968,-1605,7,-771,-2626,-3107,-1644,61,336,-563,-1131,-646,109,106,-569,-997,-710,-140,102,-113,-533,-850,-798,-371,-64,-451,-1284,-1509,-597,575,758,-52,-677,-370,359,659,409,51,-173,-333,-450,-474,-513,-704,-887,-767,-387,-165,-359,-738,-883,-658,-268,25,127,105,81,119,183,201,139,0,-232,-562,-911,-1167,-1296,-1345,-1311,-1138,-872,-703,-769,-985,-1142,-1144,-1040,-884,-677,-455,-317,-317,-385,-418,-408,-417,-459,-484,-465,-452,-488,-528,-487,-353,-210,-145,-156,-194,-229,-264,-301,-334,-358,-369,-355,-313,-274,-264,-263,-231,-173,-140,-162,-205,-226,-219,-202,-183,-165,-151,-132,-93,-46,-39,-93,-165,-206,-215,-223,-233,-223,-193,-160,-124,-70,-11,17,8,-15,-45,-99,-169,-205,-177,-119,-74,-45,-12,20,27,12,-5,-17,-38,-63,-68,-45,-13,13,34,54,65,56,29,-11,-56,-90,-94,-72,-45,-26,-11,11,34,45,43,29,6,-17,-22,-7,13,24,39,77,133,176,186,172,150,123,94,75,74,79,81,89,114,138,123,64}
},
{ // H30e006a.wav
{-2,19,11,-5,14,33,2,-27,19,61,-2,-71,5,107,21,-126,-30,182,89,-199,-113,270,176,-194,812,3763,6155,5019,1235,-1249,-1002,-1122,-3991,-6585,-4246,2050,6110,4736,2032,3547,8682,11722,9236,3604,-631,-1402,378,2714,3695,2236,-860,-3231,-3454,-2723,-3038,-4249,-4282,-2275,-86,3,-1812,-3188,-2536,-693,415,67,-764,-915,-382,6,-194,-591,-647,-352,-75,-59,-278,-569,-708,-552,-314,-460,-1040,-1366,-801,259,746,273,-382,-367,187,540,391,70,-117,-222,-359,-476,-538,-622,-707,-619,-332,-120,-242,-569,-712,-455,20,329,233,-149,-440,-360,-12,222,112,-200,-444,-568,-716,-955,-1168,-1224,-1121,-941,-770,-685,-732,-855,-934,-918,-886,-902,-895,-749,-502,-339,-377,-526,-610,-571,-490,-449,-444,-443,-456,-494,-517,-474,-372,-273,-211,-175,-163,-196,-269,-339,-373,-384,-393,-388,-349,-294,-254,-230,-205,-182,-176,-183,-185,-175,-159,-137,-113,-105,-116,-117,-89,-63,-83,-138,-179,-189,-198,-215,-211,-170,-126,-106,-94,-64,-27,-8,-4,-13,-44,-98,-142,-146,-125,-109,-92,-53,-4,19,13,6,4,-13,-44,-58,-42,-21,-15,-9,16,44,51,35,10,-14,-38,-55,-57,-48,-35,-18,5,26,39,42,33,8,-23,-40,-34,-20,-8,16,64,119,155,168,166,148,117,92,87,87,73,62,83,122,122,64},
{-24,20,37,-30,-56,36,77,-50,-125,35,158,-35,-223,5,286,32,-370,-90,454,129,-322,1586,5893,8365,5533,66,-2428,-1492,-2280,-6770,-9213,-3989,5228,9339,5936,2312,5179,11853,14435,9804,2124,-2971,-3372,-317,3448,4775,2011,-2924,-5934,-5272,-3369,-3208,-4318,-4020,-1740,7,-834,-3011,-3633,-1825,406,808,-529,-1643,-1240,-50,403,-246,-1009,-1007,-436,-11,-60,-434,-842,-945,-532,43,-20,-900,-1600,-1095,196,838,259,-574,-575,106,571,455,108,-141,-296,-379,-332,-290,-493,-860,-973,-638,-200,-151,-584,-1156,-1434,-1191,-522,201,572,499,268,202,323,394,224,-148,-532,-786,-928,-1096,-1359,-1575,-1522,-1205,-916,-905,-1086,-1171,-1036,-821,-687,-634,-571,-468,-351,-241,-166,-189,-326,-470,-499,-430,-411,-505,-586,-503,-288,-123,-110,-174,-202,-189,-200,-249,-299,-334,-364,-374,-334,-266,-225,-219,-194,-133,-95,-133,-215,-269,-269,-241,-213,-191,-175,-148,-94,-31,-10,-50,-109,-147,-182,-241,-292,-282,-222,-166,-127,-73,-6,26,6,-28,-55,-101,-177,-231,-212,-147,-94,-63,-29,14,39,35,15,-14,-50,-75,-74,-47,-11,31,79,110,102,65,29,-5,-55,-109,-128,-99,-59,-41,-30,6,62,99,94,61,27,6,-7,-12,-2,24,60,97,135,174,201,195,158,123,111,109,91,65,63,93,125,133,126,115,88,40}
},
{ // H30e012a.wav
{6,-9,-4,9,2,-6,11,21,-7,-23,16,40,-16,-59,8,76,-3,-101,-8,136,36,-163,-51,215,76,-132,915,3428,5247,4186,1172,-775,-779,-1199,-3526,-5306,-3318,1406,4435,3823,2566,4174,7833,9675,7707,3666,474,-461,553,2306,3203,2141,-330,-2369,-2925,-2834,-3280,-3887,-3324,-1518,-130,-532,-2068,-2869,-2039,-491,303,-66,-765,-877,-392,10,-106,-480,-614,-394,-113,-58,-243,-482,-590,-539,-521,-734,-1033,-961,-329,386,520,53,-369,-266,139,350,242,46,-83,-198,-331,-430,-484,-519,-469,-260,-28,-58,-415,-776,-758,-323,193,409,197,-257,-612,-635,-383,-126,-70,-206,-417,-641,-861,-1023,-1063,-998,-902,-819,-754,-726,-753,-784,-748,-674,-680,-809,-932,-901,-730,-564,-501,-510,-532,-556,-584,-582,-526,-459,-450,-494,-520,-484,-416,-360,-312,-252,-205,-215,-279,-349,-393,-419,-431,-417,-373,-323,-286,-251,-203,-158,-143,-156,-168,-160,-136,-110,-96,-103,-121,-123,-99,-76,-89,-133,-171,-184,-185,-187,-182,-166,-148,-129,-99,-61,-33,-23,-21,-22,-41,-85,-128,-142,-131,-121,-114,-93,-56,-21,-1,7,9,-2,-26,-49,-56,-49,-32,-7,22,43,43,24,-2,-26,-45,-57,-60,-55,-45,-29,-5,23,44,44,25,-1,-23,-34,-30,-15,4,21,42,74,113,138,137,118,101,85,65,50,58,82,86,50},
{46,-14,-67,13,94,-10,-141,-23,166,41,-222,-93,274,163,-334,-256,394,335,-377,787,5086,8986,7693,1995,-2241,-2376,-2636,-6642,-10128,-6233,3555,9791,7511,2960,4751,12102,16285,12059,3212,-3150,-3950,-892,2771,4230,2074,-2390,-5653,-5597,-3975,-3820,-5097,-4894,-1984,916,523,-2642,-4778,-3398,-97,1658,592,-1377,-1894,-872,10,-226,-872,-923,-443,-133,-250,-544,-833,-989,-718,-37,306,-331,-1322,-1352,-244,672,389,-441,-572,76,552,358,-58,-224,-238,-307,-337,-261,-307,-592,-801,-620,-276,-305,-855,-1495,-1693,-1319,-660,-96,210,359,505,618,545,271,-10,-153,-241,-422,-702,-1015,-1361,-1704,-1859,-1678,-1308,-1058,-996,-921,-732,-609,-698,-822,-717,-410,-171,-127,-155,-143,-168,-310,-468,-496,-425,-405,-464,-476,-370,-236,-181,-173,-128,-61,-68,-173,-299,-373,-399,-398,-363,-290,-218,-173,-139,-102,-87,-126,-200,-264,-290,-280,-244,-201,-172,-149,-96,-14,38,11,-65,-131,-178,-237,-291,-290,-234,-175,-137,-88,-23,18,8,-21,-48,-100,-187,-257,-256,-207,-163,-125,-62,10,43,31,14,4,-27,-74,-86,-39,26,65,80,95,103,87,46,-1,-53,-109,-147,-147,-114,-70,-18,46,108,144,145,117,69,16,-20,-28,-20,-6,26,90,168,219,224,200,169,138,110,94,89,81,70,79,110,138,133,108,97,100,88,47}
},
{ // H30e018a.wav
{-4,7,3,-8,-4,5,0,-6,7,15,-6,-18,10,28,-13,-45,5,55,-3,-75,-9,98,30,-113,-37,145,41,-66,835,2891,4427,3698,1333,-347,-558,-1033,-2977,-4563,-3156,708,3601,3624,2737,3788,6597,8338,7122,3900,994,-90,672,2234,3086,2205,17,-1943,-2669,-2633,-2773,-3044,-2642,-1463,-545,-808,-1838,-2355,-1705,-524,93,-188,-726,-786,-364,-34,-148,-457,-537,-332,-116,-87,-198,-334,-448,-540,-625,-722,-770,-617,-227,141,170,-90,-252,-90,185,261,134,28,25,6,-110,-250,-320,-312,-253,-184,-203,-396,-673,-777,-547,-121,175,126,-201,-545,-674,-560,-370,-276,-292,-334,-395,-564,-839,-1051,-1051,-891,-749,-707,-707,-696,-693,-703,-684,-634,-635,-734,-850,-869,-787,-695,-645,-602,-536,-493,-517,-577,-605,-581,-544,-520,-494,-454,-423,-417,-413,-379,-319,-271,-267,-305,-366,-423,-445,-413,-349,-295,-269,-245,-201,-148,-116,-113,-122,-128,-127,-125,-125,-128,-126,-109,-80,-65,-83,-120,-146,-151,-153,-164,-175,-176,-167,-146,-107,-58,-22,-12,-24,-51,-86,-121,-141,-143,-138,-132,-117,-88,-55,-31,-16,-4,-1,-12,-26,-29,-24,-24,-25,-10,16,31,24,7,-12,-37,-65,-82,-75,-52,-32,-18,-4,14,31,42,44,33,14,-2,-9,-12,-17,-15,4,34,64,87,101,99,81,65,68,79,71,36},
{-64,-13,88,32,-123,-77,137,112,-172,-178,200,271,-213,-377,230,490,-255,17,3587,8473,9502,5050,-397,-2599,-3459,-6828,-10560,-8219,872,8721,8666,4329,4453,10948,16678,14882,6747,-1304,-4565,-2765,1429,4279,2970,-1849,-6045,-6326,-4115,-3420,-5252,-6338,-3916,197,1774,-545,-3758,-4262,-1848,647,936,-409,-1308,-937,-356,-628,-1329,-1374,-637,24,15,-456,-962,-1236,-1012,-246,411,131,-841,-1240,-479,441,348,-419,-601,96,701,486,-143,-475,-431,-306,-177,-39,-104,-474,-801,-731,-498,-624,-1118,-1444,-1293,-966,-837,-783,-423,270,850,902,477,-8,-227,-204,-169,-256,-438,-719,-1203,-1864,-2370,-2327,-1708,-910,-376,-256,-448,-775,-1040,-1053,-776,-391,-120,-3,56,61,-87,-368,-559,-491,-289,-222,-361,-507,-470,-294,-149,-107,-103,-82,-69,-101,-181,-296,-420,-487,-434,-296,-192,-179,-183,-124,-44,-44,-139,-248,-304,-307,-277,-228,-175,-128,-65,23,84,54,-44,-117,-140,-173,-246,-298,-273,-207,-151,-97,-17,50,49,-5,-57,-104,-181,-271,-308,-272,-216,-172,-118,-40,22,35,19,8,-5,-33,-59,-54,-20,23,71,122,153,138,82,9,-68,-141,-184,-175,-123,-59,8,84,156,197,189,145,84,23,-21,-33,-23,-9,14,67,148,222,254,244,210,166,118,82,66,62,61,70,101,141,161,149,122,103,93,79,51,19}
},
{ // H30e024a.wav
{5,-4,-3,6,3,-6,-4,5,3,-3,5,12,-3,-14,7,24,-6,-37,-1,46,6,-61,-18,78,41,-83,-49,100,50,-38,637,2309,3721,3372,1565,106,-266,-864,-2675,-4172,-3028,409,3120,3236,2369,3194,5773,7562,6660,3819,1221,294,987,2296,2944,2113,160,-1592,-2192,-2012,-2029,-2419,-2437,-1672,-792,-724,-1431,-1948,-1571,-650,-84,-247,-667,-719,-374,-95,-161,-370,-411,-271,-131,-61,-18,-56,-277,-611,-831,-816,-652,-447,-219,-6,77,2,-81,-23,132,247,288,307,289,160,-72,-287,-385,-371,-306,-270,-349,-560,-767,-763,-498,-171,-43,-188,-455,-623,-593,-444,-340,-362,-434,-438,-405,-492,-748,-1003,-1043,-869,-677,-618,-665,-712,-708,-669,-628,-615,-652,-721,-762,-748,-724,-734,-746,-690,-570,-475,-479,-557,-632,-659,-645,-602,-538,-476,-447,-450,-450,-420,-370,-329,-308,-304,-321,-358,-389,-380,-331,-276,-243,-219,-186,-150,-131,-129,-124,-109,-102,-117,-145,-162,-151,-116,-74,-50,-57,-86,-116,-138,-155,-171,-178,-174,-158,-133,-103,-78,-67,-67,-70,-75,-94,-126,-151,-154,-140,-124,-104,-75,-44,-29,-28,-26,-17,-11,-15,-24,-27,-23,-17,-12,-6,-3,-6,-14,-24,-37,-51,-58,-53,-42,-34,-27,-15,8,34,48,47,35,18,2,-11,-20,-25,-25,-16,6,36,59,68,71,80,87,74,37},
{59,62,-83,-123,72,159,-86,-238,68,323,-36,-425,-7,546,23,-489,1800,6816,10097,8055,2817,-1117,-3449,-7155,-11335,-10276,-1950,6952,8740,5010,4315,10234,16674,16219,9073,1394,-2287,-2028,110,2138,2144,-683,-4424,-5989,-4973,-4176,-5462,-6847,-5285,-1241,1448,305,-2783,-3990,-2078,524,989,-609,-1854,-1270,25,167,-949,-1847,-1606,-775,-238,-191,-471,-975,-1330,-948,16,464,-188,-978,-702,257,487,-277,-761,-127,787,787,-13,-602,-578,-369,-256,-51,230,120,-593,-1401,-1631,-1209,-644,-439,-689,-1119,-1336,-1096,-488,150,530,598,453,198,-76,-276,-371,-418,-510,-742,-1214,-1901,-2480,-2474,-1728,-680,0,18,-391,-834,-1088,-1099,-874,-498,-146,47,94,55,-70,-274,-431,-398,-230,-158,-294,-478,-485,-305,-122,-60,-74,-71,-50,-66,-149,-285,-429,-517,-491,-372,-250,-187,-151,-96,-43,-46,-107,-186,-254,-298,-294,-234,-167,-135,-101,-10,94,109,28,-49,-74,-115,-220,-314,-306,-227,-161,-109,-26,64,87,32,-36,-91,-173,-281,-345,-324,-266,-225,-180,-96,1,59,68,46,-1,-67,-119,-120,-74,-11,54,122,170,169,118,44,-38,-118,-171,-167,-114,-48,15,86,162,211,210,168,107,41,-13,-36,-29,-14,4,48,132,223,272,265,228,186,144,102,64,39,34,54,96,143,171,172,150,123,99,78,54,27,5,-3}
},
{ // H30e030a.wav
{-6,4,5,-5,-7,2,3,-5,-6,2,2,-4,-1,6,-2,-13,1,17,-4,-30,-5,36,8,-52,-25,63,48,-66,-64,69,62,-39,407,1740,3079,3112,1822,539,-20,-749,-2408,-3762,-2848,104,2520,2711,2009,2775,5118,6797,6102,3704,1529,757,1259,2212,2666,1982,384,-1075,-1561,-1385,-1472,-2034,-2319,-1762,-867,-582,-1093,-1639,-1497,-802,-259,-268,-560,-650,-422,-150,-78,-165,-236,-212,-103,47,119,-61,-492,-866,-864,-553,-300,-288,-315,-155,104,227,186,155,227,314,328,282,190,19,-218,-397,-419,-338,-309,-425,-645,-840,-875,-698,-397,-167,-159,-352,-579,-679,-613,-466,-357,-333,-357,-384,-442,-591,-805,-956,-942,-807,-680,-637,-653,-676,-682,-674,-655,-635,-631,-641,-649,-656,-681,-724,-747,-715,-641,-575,-554,-577,-616,-643,-644,-621,-585,-545,-501,-450,-405,-380,-373,-362,-332,-298,-289,-315,-351,-357,-320,-262,-212,-182,-165,-156,-152,-147,-134,-119,-113,-118,-127,-138,-147,-140,-108,-70,-61,-86,-114,-123,-126,-144,-167,-176,-169,-160,-153,-135,-103,-77,-74,-86,-99,-112,-130,-145,-141,-116,-86,-64,-53,-43,-30,-19,-19,-30,-41,-45,-43,-41,-33,-15,3,6,-5,-16,-18,-20,-30,-40,-43,-41,-43,-45,-33,-7,21,36,37,29,18,7,-2,-9,-15,-16,-8,5,19,36,56,69,58,27},
{-3,-136,-34,164,53,-225,-110,279,189,-340,-296,414,417,-499,160,4247,9123,10089,6437,1825,-1731,-6164,-11661,-12973,-5960,4525,9006,5697,3018,7903,16245,18588,12242,3404,-1322,-1154,981,2567,2164,-791,-4691,-6276,-4566,-2846,-4536,-8066,-8433,-3899,1324,2108,-1479,-4652,-3802,-280,1939,1057,-1092,-1923,-1134,-334,-525,-1096,-1198,-963,-908,-990,-929,-876,-1012,-948,-346,210,-64,-759,-691,219,650,-91,-882,-423,780,1153,295,-652,-761,-352,-74,51,176,-28,-858,-1779,-1875,-1037,-169,-100,-696,-1212,-1221,-916,-641,-423,-80,368,615,438,-2,-347,-468,-551,-797,-1205,-1659,-2018,-2089,-1710,-1021,-475,-383,-561,-627,-538,-573,-812,-941,-702,-282,-54,-97,-182,-153,-97,-114,-157,-162,-191,-311,-435,-415,-261,-121,-71,-36,42,79,-21,-207,-347,-410,-466,-530,-522,-396,-229,-122,-79,-50,-27,-44,-107,-178,-229,-255,-254,-225,-175,-106,-12,90,142,107,23,-52,-115,-197,-277,-296,-242,-169,-105,-32,49,90,65,10,-45,-133,-267,-381,-397,-326,-242,-172,-91,5,72,81,51,-4,-82,-161,-189,-141,-56,20,77,127,155,136,79,12,-43,-85,-104,-89,-48,2,56,124,196,237,219,151,66,-2,-39,-49,-39,-13,36,111,195,261,284,262,215,164,121,84,52,35,45,82,132,169,178,163,138,113,86,52,23,18,39,54,38}
},
{ // H30e036a.wav
{3,-4,-6,1,4,-2,-4,1,1,-5,-4,3,1,-6,-2,8,2,-12,-5,15,7,-21,-12,24,14,-37,-29,45,51,-43,-67,42,69,-33,220,1239,2483,2833,2005,906,227,-569,-2076,-3351,-2734,-268,1926,2268,1735,2380,4439,6035,5621,3694,1872,1127,1356,1996,2405,2007,772,-523,-1050,-926,-1000,-1618,-2119,-1794,-930,-471,-819,-1393,-1428,-879,-343,-266,-486,-548,-292,18,73,-131,-348,-361,-155,110,201,-30,-469,-765,-675,-352,-151,-168,-146,95,357,345,99,-60,31,213,268,174,24,-139,-310,-434,-461,-445,-499,-655,-825,-886,-776,-529,-276,-181,-310,-547,-697,-671,-546,-434,-367,-316,-296,-368,-547,-753,-876,-872,-793,-720,-692,-689,-683,-671,-663,-654,-631,-595,-568,-569,-602,-657,-715,-753,-751,-714,-669,-636,-608,-578,-559,-568,-598,-614,-591,-540,-491,-457,-425,-382,-341,-328,-345,-357,-334,-290,-267,-280,-296,-277,-226,-176,-147,-135,-128,-128,-139,-155,-160,-145,-127,-125,-139,-145,-131,-111,-104,-108,-105,-96,-105,-144,-185,-198,-185,-172,-162,-139,-100,-71,-70,-83,-89,-92,-106,-131,-145,-132,-101,-74,-61,-56,-49,-39,-31,-32,-41,-47,-42,-31,-23,-19,-11,2,11,4,-14,-31,-40,-43,-47,-52,-52,-45,-32,-15,6,26,36,31,18,8,3,-1,-5,-8,-4,9,24,31,26,13},
{-128,96,164,-108,-239,95,326,-69,-437,28,572,-12,-616,1516,6458,10243,9524,5537,1163,-3709,-10099,-14498,-10990,-282,8367,7942,3091,3992,12438,19373,16834,7486,35,-1183,1216,3063,2712,367,-3064,-5672,-5645,-3859,-3551,-6094,-8551,-7131,-2350,1197,346,-2958,-4320,-2198,755,1428,-84,-1294,-868,-4,-257,-1337,-1838,-1323,-633,-472,-731,-1146,-1612,-1722,-979,183,532,-269,-967,-469,496,482,-419,-712,203,1141,886,-172,-787,-519,61,319,28,-784,-1750,-2075,-1264,24,485,-287,-1290,-1419,-809,-448,-753,-1107,-793,56,688,642,141,-335,-616,-883,-1300,-1765,-2007,-1848,-1345,-762,-424,-502,-839,-1045,-873,-489,-277,-389,-602,-647,-534,-462,-479,-427,-203,57,143,28,-138,-242,-308,-372,-379,-266,-88,38,76,75,55,-22,-159,-290,-375,-454,-548,-581,-492,-340,-230,-166,-83,14,40,-31,-126,-180,-206,-229,-223,-169,-93,-21,57,130,140,61,-46,-115,-161,-223,-281,-280,-216,-133,-48,42,109,108,46,-37,-130,-246,-353,-382,-324,-240,-173,-104,-21,40,48,25,-4,-54,-131,-186,-170,-109,-61,-30,24,104,156,144,90,31,-24,-73,-98,-83,-36,28,104,183,240,249,205,125,39,-26,-58,-64,-52,-20,47,143,232,279,279,250,206,152,96,51,33,47,87,132,164,174,166,144,114,84,59,34,13,13,45,79,76,36}
},
{ // H30e042a.wav
{-5,-1,1,-3,-5,0,5,0,-5,-2,2,-2,-4,1,2,-4,-4,3,2,-8,-3,14,9,-16,-16,16,18,-25,-32,29,54,-22,-71,11,75,-5,84,792,1903,2518,2126,1223,462,-347,-1660,-2876,-2643,-738,1262,1859,1552,2032,3760,5316,5251,3753,2135,1330,1372,1856,2265,2067,1112,-27,-582,-536,-616,-1232,-1856,-1751,-1010,-448,-583,-1071,-1238,-879,-367,-132,-223,-385,-403,-297,-209,-202,-194,-86,111,257,195,-97,-423,-503,-251,82,158,-53,-239,-152,75,145,-1,-142,-108,19,70,2,-129,-281,-425,-501,-486,-473,-577,-769,-888,-813,-595,-386,-300,-351,-475,-580,-615,-594,-561,-520,-444,-349,-315,-409,-600,-784,-870,-842,-753,-678,-662,-687,-692,-645,-589,-585,-628,-652,-624,-592,-615,-683,-734,-732,-701,-673,-644,-600,-552,-530,-540,-557,-561,-554,-542,-521,-490,-463,-448,-429,-388,-338,-310,-311,-311,-287,-254,-244,-255,-262,-238,-191,-149,-133,-137,-144,-146,-148,-157,-171,-177,-172,-162,-154,-147,-138,-130,-125,-123,-123,-129,-143,-158,-167,-166,-157,-139,-115,-95,-86,-85,-85,-89,-105,-126,-135,-130,-118,-110,-101,-84,-63,-48,-39,-31,-23,-24,-34,-44,-45,-39,-32,-24,-14,-3,0,-10,-28,-41,-43,-41,-44,-50,-46,-30,-10,4,15,24,26,17,5,2,4,3,-2,-1,8,14,9},
{151,37,-200,-118,230,201,-267,-317,302,447,-398,-292,2922,7912,10677,9263,5236,31,-6798,-13676,-14931,-7048,4435,9494,5907,2331,6748,15727,19103,13065,3973,-447,698,3151,3634,1836,-1331,-4499,-5768,-4484,-2974,-4270,-7743,-9073,-5668,-497,1190,-1727,-4996,-4388,-668,1930,1142,-1099,-1826,-730,274,45,-720,-1123,-1254,-1389,-1253,-771,-625,-1201,-1680,-1165,-197,-1,-537,-584,185,588,-99,-816,-288,952,1282,333,-594,-452,237,311,-541,-1647,-2194,-1807,-679,451,718,-47,-1034,-1325,-934,-638,-875,-1221,-1042,-329,338,486,164,-300,-732,-1201,-1738,-2116,-2026,-1449,-754,-360,-364,-556,-724,-810,-808,-690,-488,-337,-347,-479,-617,-694,-682,-536,-254,25,112,-20,-187,-232,-203,-238,-328,-315,-125,107,194,117,7,-40,-60,-135,-285,-453,-564,-579,-515,-424,-339,-247,-131,-24,17,-19,-85,-138,-167,-171,-142,-101,-72,-40,38,133,154,67,-42,-92,-120,-198,-290,-298,-213,-129,-91,-43,42,102,76,-3,-80,-159,-259,-337,-331,-254,-175,-125,-73,-6,42,39,-2,-57,-112,-156,-177,-168,-135,-80,-1,83,141,157,136,82,2,-72,-103,-91,-63,-27,40,140,232,270,249,190,109,21,-44,-67,-63,-54,-25,52,165,260,296,279,238,187,129,75,40,35,62,110,160,188,185,162,133,104,72,38,11,1,17,56,92,100,73,31}
},
{ // H30e048a.wav
{3,0,-4,-2,2,0,-3,-1,3,1,-3,-1,3,0,-3,0,3,-1,-3,2,4,-2,-1,11,11,-10,-16,10,22,-12,-32,12,50,0,-60,-7,73,17,-1,452,1399,2165,2116,1432,703,-34,-1170,-2410,-2619,-1263,601,1509,1456,1775,3163,4656,4894,3770,2336,1506,1404,1728,2111,2109,1449,447,-200,-268,-301,-819,-1521,-1656,-1049,-345,-207,-583,-917,-866,-590,-421,-444,-476,-354,-131,22,39,20,85,226,334,324,194,3,-161,-221,-185,-161,-221,-293,-261,-151,-113,-211,-325,-312,-192,-98,-108,-196,-311,-411,-460,-461,-498,-645,-835,-890,-722,-450,-280,-306,-453,-591,-648,-636,-604,-579,-544,-470,-382,-365,-477,-667,-811,-828,-749,-664,-632,-643,-657,-652,-641,-649,-675,-689,-667,-626,-606,-625,-654,-660,-642,-618,-594,-567,-547,-544,-543,-522,-492,-488,-519,-545,-533,-499,-477,-465,-428,-360,-302,-286,-292,-286,-269,-266,-276,-270,-240,-211,-199,-187,-154,-118,-117,-152,-193,-212,-215,-217,-216,-198,-168,-147,-148,-157,-154,-137,-121,-117,-118,-116,-115,-127,-148,-153,-131,-102,-94,-106,-111,-100,-93,-107,-128,-132,-118,-106,-103,-96,-77,-52,-36,-32,-36,-41,-45,-47,-44,-42,-44,-42,-28,-10,-1,-6,-17,-28,-41,-53,-56,-47,-33,-22,-12,1,12,13,5,0,4,12,13,7,3,3,4},
{14,-203,-63,255,121,-324,-214,401,310,-551,35,3733,8639,11035,9511,5204,-1279,-9619,-16035,-14276,-3569,7500,9679,4553,2554,9027,17175,17345,9415,1855,555,3196,4553,3040,366,-2092,-3988,-4740,-4186,-3891,-5505,-7830,-7637,-4060,-429,-395,-3301,-5074,-3398,-286,973,-66,-1186,-948,-255,-343,-836,-721,-191,-244,-938,-1352,-1195,-1172,-1498,-1356,-420,226,-335,-1226,-977,191,677,-8,-539,77,974,875,51,-271,75,3,-1037,-2151,-2213,-1270,-252,227,271,155,-81,-465,-882,-1176,-1298,-1256,-1021,-593,-131,106,-21,-419,-905,-1400,-1866,-2105,-1853,-1157,-506,-346,-566,-690,-519,-329,-385,-549,-558,-446,-456,-640,-790,-755,-592,-403,-207,-46,-39,-206,-369,-353,-219,-163,-228,-250,-112,82,156,87,13,26,66,11,-166,-378,-526,-572,-534,-448,-355,-283,-226,-159,-76,-12,-10,-66,-129,-151,-125,-86,-58,-25,42,130,177,133,29,-64,-118,-170,-238,-282,-263,-204,-152,-105,-36,41,74,46,-7,-59,-124,-212,-284,-295,-247,-175,-101,-30,30,60,50,2,-75,-159,-215,-218,-171,-92,1,94,161,180,150,89,15,-54,-101,-112,-92,-55,-2,74,164,239,269,243,172,80,-1,-50,-73,-76,-51,16,116,212,270,285,267,223,165,107,65,46,50,78,124,169,189,180,156,135,114,81,37,4,6,40,79,100,103,96,77,40}
},
{ // H30e054a.wav
{-3,-2,2,1,-4,-4,0,0,-3,-2,1,0,-3,-2,3,2,-3,-4,1,1,-3,-3,2,2,1,6,8,-4,-14,1,18,2,-24,-6,32,16,-35,-22,42,27,-17,242,965,1745,1981,1589,971,285,-735,-1977,-2543,-1710,-46,1127,1381,1624,2684,4057,4542,3757,2473,1609,1423,1673,2025,2116,1667,828,159,-13,-30,-391,-995,-1232,-839,-297,-240,-693,-1108,-1041,-592,-185,-84,-188,-233,-93,146,344,453,492,450,304,97,-74,-166,-215,-260,-303,-355,-437,-514,-509,-425,-371,-408,-443,-358,-197,-113,-162,-247,-284,-312,-403,-547,-674,-743,-745,-665,-514,-380,-371,-495,-641,-696,-654,-588,-558,-558,-549,-512,-473,-478,-545,-642,-711,-720,-686,-650,-642,-664,-696,-709,-695,-678,-683,-694,-668,-598,-535,-531,-571,-597,-581,-552,-545,-551,-541,-509,-480,-473,-484,-501,-519,-531,-519,-477,-425,-390,-379,-372,-349,-312,-283,-277,-285,-286,-269,-242,-220,-209,-200,-185,-172,-172,-187,-205,-217,-225,-233,-234,-222,-205,-191,-178,-159,-137,-125,-123,-120,-107,-94,-94,-109,-128,-140,-140,-133,-125,-119,-111,-100,-92,-95,-106,-115,-119,-123,-124,-112,-88,-69,-65,-66,-56,-42,-40,-50,-52,-38,-27,-35,-51,-51,-33,-17,-17,-26,-29,-30,-36,-45,-44,-31,-19,-15,-14,-6,4,7,5,8,22,35,32,15},
{-214,-2,263,71,-333,-168,409,260,-567,81,3772,8742,11443,10200,5540,-2031,-11299,-17380,-14053,-1891,9255,10344,4340,2527,9557,17341,16136,7270,515,1202,5073,5785,2699,-657,-2328,-3051,-3520,-3691,-4302,-6270,-8268,-7382,-3278,209,-562,-4213,-5908,-3482,100,976,-787,-2098,-1387,-163,-124,-765,-762,-244,-263,-817,-951,-575,-648,-1375,-1644,-830,56,-96,-770,-745,-77,138,-295,-346,455,1156,847,-19,-512,-693,-1227,-1979,-2038,-1145,-185,42,-153,-22,425,472,-221,-1131,-1558,-1399,-1051,-802,-611,-417,-371,-631,-1108,-1547,-1795,-1825,-1588,-1081,-558,-407,-668,-885,-651,-157,67,-134,-401,-433,-399,-590,-924,-1037,-775,-358,-77,-19,-112,-263,-397,-445,-394,-316,-284,-274,-205,-58,91,157,134,89,69,48,-35,-193,-365,-483,-521,-499,-439,-355,-268,-194,-135,-84,-41,-21,-36,-80,-126,-136,-95,-29,27,69,120,168,158,71,-41,-116,-164,-229,-306,-333,-281,-192,-112,-46,22,78,91,46,-41,-144,-236,-288,-286,-230,-140,-45,25,53,49,30,-13,-94,-190,-237,-201,-114,-29,38,102,165,196,167,87,-11,-92,-135,-138,-113,-67,3,92,179,238,253,216,131,31,-38,-57,-50,-42,-21,41,139,231,281,283,249,197,143,97,62,40,45,84,140,180,189,175,153,128,100,72,45,23,25,63,107,117,94,77,82,80,44}
},
{ // H30e060a.wav
{3,3,0,-1,1,2,-1,-2,1,2,-1,-1,2,2,0,-1,2,3,-1,-3,0,2,-1,-1,5,7,3,2,5,1,-7,0,15,7,-18,-13,24,28,-17,-32,19,39,-1,121,635,1356,1775,1647,1190,586,-340,-1588,-2443,-2065,-624,743,1307,1578,2400,3614,4204,3637,2487,1663,1484,1699,1985,2095,1821,1197,631,462,449,34,-832,-1477,-1303,-543,4,-110,-572,-787,-545,-125,127,163,178,302,455,479,332,121,-29,-76,-55,-48,-149,-379,-622,-712,-629,-534,-554,-623,-598,-484,-401,-385,-343,-226,-125,-139,-239,-330,-385,-452,-549,-633,-662,-635,-572,-509,-498,-566,-662,-693,-632,-552,-532,-567,-592,-571,-527,-501,-517,-569,-633,-676,-684,-676,-680,-702,-725,-727,-707,-678,-657,-644,-621,-572,-509,-474,-494,-544,-574,-561,-528,-503,-488,-476,-473,-484,-496,-492,-475,-463,-462,-456,-433,-408,-398,-400,-389,-355,-313,-284,-273,-272,-273,-264,-245,-227,-223,-235,-246,-240,-221,-207,-209,-221,-230,-233,-232,-228,-217,-197,-171,-142,-118,-108,-112,-116,-109,-98,-95,-105,-120,-133,-141,-142,-132,-114,-100,-98,-103,-107,-108,-108,-110,-112,-112,-107,-99,-89,-78,-65,-52,-42,-41,-45,-46,-44,-46,-55,-60,-49,-30,-19,-20,-24,-25,-27,-31,-28,-19,-16,-25,-32,-21,0,12,16,26,43,47,27},
{-101,219,170,-257,-269,299,382,-418,-268,2879,8059,11730,11338,6744,-1348,-11285,-18084,-15295,-2803,9704,11951,5467,1929,7949,16408,16316,7479,29,725,5484,6731,3232,-598,-1986,-2196,-2793,-3485,-4122,-5621,-7579,-7480,-4223,-755,-803,-3773,-5373,-3385,-407,117,-1484,-2273,-1236,-260,-728,-1455,-917,208,247,-764,-1283,-779,-359,-705,-987,-478,60,-343,-1123,-973,70,662,217,-300,32,734,762,-49,-1042,-1740,-2069,-1914,-1211,-397,-109,-305,-269,324,841,514,-509,-1338,-1417,-1035,-776,-814,-915,-923,-987,-1282,-1688,-1872,-1658,-1209,-823,-652,-670,-782,-864,-754,-399,0,151,-2,-228,-346,-441,-648,-874,-887,-643,-344,-183,-158,-179,-216,-295,-396,-453,-445,-409,-381,-332,-207,-1,198,280,222,101,2,-77,-186,-328,-440,-479,-459,-411,-342,-254,-168,-106,-61,-22,-7,-35,-86,-111,-89,-53,-35,-22,30,119,189,185,114,25,-60,-158,-273,-359,-368,-305,-217,-130,-41,44,94,96,55,-23,-137,-256,-319,-285,-185,-83,-14,32,66,77,46,-25,-107,-166,-182,-156,-101,-31,43,109,156,182,177,123,18,-95,-158,-154,-118,-80,-26,58,153,219,237,207,134,33,-50,-75,-52,-21,9,63,149,232,274,274,246,195,131,77,49,45,59,96,151,195,202,182,161,140,106,62,31,27,45,77,110,123,107,85,82,93,83,40}
},
{ // H30e066a.wav
{-1,-3,-1,1,0,-2,-2,-1,-2,-4,-3,-2,-3,-3,-1,0,-2,-3,0,1,-3,-6,-3,0,-1,-2,2,3,-1,-3,1,0,-5,-3,8,4,-17,-18,14,29,-6,-34,1,37,12,64,423,1037,1525,1602,1344,862,-5,-1297,-2376,-2330,-1069,422,1240,1593,2265,3312,3898,3449,2419,1685,1589,1869,2202,2385,2179,1458,555,43,47,76,-278,-751,-778,-301,136,94,-245,-375,-105,279,413,249,30,-27,69,156,108,-62,-247,-350,-362,-373,-488,-694,-824,-730,-491,-368,-502,-728,-774,-585,-350,-242,-244,-257,-251,-252,-259,-268,-330,-479,-643,-699,-635,-564,-572,-625,-644,-620,-597,-590,-579,-561,-555,-565,-571,-563,-555,-563,-585,-610,-636,-670,-710,-741,-745,-715,-667,-632,-628,-636,-620,-572,-520,-491,-487,-499,-522,-541,-533,-490,-446,-442,-476,-504,-495,-462,-440,-437,-438,-436,-438,-442,-434,-408,-381,-371,-372,-362,-333,-300,-280,-277,-281,-281,-277,-273,-271,-267,-256,-241,-230,-228,-230,-228,-225,-225,-222,-209,-189,-172,-161,-146,-125,-112,-114,-122,-121,-111,-105,-109,-116,-121,-127,-134,-134,-124,-112,-108,-107,-101,-92,-93,-107,-119,-114,-97,-85,-84,-85,-79,-69,-64,-66,-65,-55,-42,-38,-43,-47,-44,-37,-33,-31,-26,-17,-10,-10,-16,-22,-25,-22,-12,2,18,31,36,29,13},
{111,194,-106,-305,87,433,-113,-558,1430,6304,11203,12547,8925,927,-9524,-17820,-17371,-6096,8168,13663,8039,1708,4746,13801,16937,9814,947,-312,4578,7295,4416,122,-1446,-1264,-1941,-3355,-4128,-4700,-6039,-6869,-5212,-2181,-1284,-3450,-5358,-3999,-872,309,-1195,-2635,-2083,-814,-717,-1367,-1186,-218,70,-679,-1197,-744,-222,-497,-924,-524,258,230,-583,-928,-268,471,440,106,302,761,475,-767,-2026,-2392,-1913,-1235,-795,-620,-550,-379,37,559,750,297,-564,-1210,-1244,-863,-588,-717,-1114,-1483,-1718,-1883,-1946,-1727,-1201,-674,-499,-672,-891,-941,-849,-662,-336,74,304,162,-208,-484,-535,-499,-523,-589,-597,-511,-372,-241,-175,-199,-280,-349,-380,-407,-461,-520,-517,-393,-147,127,289,270,145,32,-53,-170,-325,-432,-439,-394,-359,-322,-244,-146,-77,-44,-20,-4,-14,-46,-67,-73,-84,-90,-55,34,136,197,198,145,55,-57,-171,-273,-350,-379,-338,-237,-120,-28,36,80,94,58,-31,-145,-243,-292,-275,-196,-90,-2,46,64,70,64,30,-39,-118,-167,-162,-107,-30,44,102,146,179,183,132,28,-82,-144,-150,-131,-107,-63,14,106,178,215,210,156,62,-27,-65,-53,-30,-6,47,136,221,263,261,238,198,137,72,33,32,58,104,163,214,231,213,181,148,112,69,33,18,29,58,93,115,111,95,96,116,123,92,39}
},
{ // H30e072a.wav
{0,1,1,1,1,1,0,0,1,1,-1,-2,0,1,0,-1,0,1,0,1,3,2,-2,-3,0,2,0,0,4,4,0,0,6,6,-2,-2,8,5,-15,-15,17,34,2,-30,-3,35,24,60,336,841,1299,1493,1443,1121,261,-1177,-2469,-2582,-1338,283,1277,1722,2343,3249,3719,3283,2441,1990,2039,2099,1894,1619,1449,1267,992,783,723,569,115,-373,-407,64,530,519,113,-239,-269,-96,23,-15,-130,-202,-189,-158,-230,-455,-720,-825,-686,-452,-359,-465,-601,-595,-496,-490,-627,-740,-671,-480,-344,-317,-297,-227,-180,-230,-338,-425,-492,-584,-671,-675,-598,-540,-561,-608,-605,-562,-541,-559,-585,-598,-603,-596,-568,-540,-557,-621,-680,-698,-693,-701,-712,-691,-636,-588,-581,-602,-611,-584,-535,-497,-488,-502,-513,-505,-483,-464,-457,-457,-455,-451,-452,-455,-453,-441,-427,-420,-421,-420,-412,-397,-385,-382,-387,-390,-380,-359,-336,-317,-307,-306,-309,-306,-293,-277,-269,-268,-263,-248,-234,-230,-230,-220,-198,-180,-176,-181,-182,-177,-169,-158,-141,-125,-121,-127,-127,-114,-98,-94,-104,-117,-125,-127,-124,-120,-117,-113,-103,-89,-79,-79,-86,-94,-102,-108,-109,-104,-99,-96,-89,-72,-53,-42,-39,-34,-29,-32,-41,-44,-35,-25,-24,-24,-16,-2,6,8,9,11,11,5,3,10,16,11},
{228,47,-283,-152,347,249,-506,3,3606,9149,12903,11737,5022,-5592,-15928,-19395,-11489,3561,13924,11983,3637,1471,8883,16043,13391,4170,-786,2374,6954,6250,1812,-945,-879,-1000,-2639,-4034,-4235,-4589,-5625,-5576,-3569,-1874,-2808,-4939,-4896,-2288,-238,-813,-2344,-2351,-1162,-820,-1596,-1762,-626,304,-243,-1344,-1424,-598,-160,-417,-475,-16,139,-406,-743,-62,953,1073,335,-120,144,248,-585,-1824,-2369,-1971,-1327,-1014,-912,-672,-270,99,333,407,203,-340,-955,-1189,-911,-546,-631,-1231,-1910,-2254,-2208,-1909,-1432,-871,-478,-475,-749,-971,-983,-878,-698,-335,167,458,265,-223,-555,-548,-406,-367,-434,-488,-479,-422,-334,-249,-220,-255,-296,-309,-341,-437,-556,-602,-513,-301,-48,132,168,105,43,-3,-109,-283,-416,-420,-354,-323,-317,-252,-125,-24,4,0,5,-2,-35,-67,-75,-80,-96,-85,-9,110,201,219,165,66,-49,-159,-256,-334,-370,-334,-242,-145,-75,-10,67,115,85,-13,-121,-206,-271,-302,-257,-134,-3,65,75,77,88,72,6,-79,-133,-140,-113,-60,17,98,154,175,171,139,61,-57,-159,-188,-153,-104,-72,-33,44,142,214,224,172,84,0,-48,-55,-41,-18,26,95,170,223,247,246,213,149,78,34,28,48,89,152,220,256,244,210,179,145,91,29,-5,4,36,68,95,115,123,121,121,127,122,91,42}
},
{ // H30e078a.wav
{-2,-1,1,1,-1,-1,0,0,0,1,1,-1,-3,-2,1,1,-1,-1,1,2,1,1,1,-1,-4,-2,1,1,-2,-1,2,1,-1,2,6,2,-3,2,7,-6,-20,-4,30,29,-11,-25,11,27,-2,61,359,803,1167,1388,1511,1305,311,-1410,-2837,-2800,-1278,539,1627,2162,2862,3695,3838,2899,1601,994,1334,2028,2443,2405,2032,1504,1078,993,1161,1161,729,133,-144,-5,179,85,-196,-371,-352,-296,-327,-395,-423,-451,-566,-746,-860,-809,-622,-417,-305,-327,-445,-554,-560,-470,-411,-495,-682,-797,-713,-479,-261,-180,-231,-337,-429,-474,-474,-471,-516,-602,-650,-598,-493,-443,-491,-571,-600,-580,-574,-611,-654,-652,-605,-558,-552,-594,-661,-717,-733,-702,-651,-618,-613,-609,-582,-545,-535,-554,-563,-532,-486,-472,-493,-508,-490,-462,-455,-461,-449,-420,-407,-427,-453,-451,-428,-414,-416,-410,-386,-370,-381,-404,-408,-392,-377,-377,-380,-374,-364,-359,-354,-334,-302,-279,-277,-280,-270,-252,-247,-254,-251,-222,-186,-169,-173,-181,-183,-188,-199,-202,-183,-152,-133,-133,-134,-123,-108,-105,-112,-114,-106,-100,-109,-126,-132,-122,-108,-99,-94,-85,-75,-77,-94,-114,-123,-122,-120,-120,-112,-89,-61,-45,-43,-43,-36,-28,-29,-37,-41,-36,-27,-19,-11,0,13,21,23,22,20,16,9,0,-4,-3},
{233,-89,-323,23,427,-7,-623,823,5412,10956,13432,10076,945,-10847,-19149,-17334,-4647,10067,15135,8618,1064,2868,11459,15324,9490,1421,164,4776,7424,4710,683,-627,-450,-1600,-3583,-4222,-3737,-4020,-4964,-4638,-2968,-2348,-3810,-5082,-3913,-1509,-712,-1865,-2703,-1998,-1077,-1256,-1726,-1176,-118,-53,-1011,-1531,-968,-303,-373,-624,-317,108,-137,-657,-366,732,1412,996,239,21,29,-549,-1581,-2102,-1721,-1113,-977,-1152,-1077,-651,-218,38,209,244,-96,-761,-1226,-1079,-622,-586,-1255,-2133,-2544,-2324,-1797,-1262,-794,-471,-447,-712,-993,-1055,-930,-725,-393,100,493,429,-66,-536,-623,-432,-296,-336,-425,-443,-403,-351,-298,-254,-237,-236,-233,-256,-351,-497,-603,-594,-460,-251,-52,51,38,-22,-65,-118,-226,-344,-382,-344,-320,-329,-284,-141,12,72,54,37,32,-8,-80,-122,-109,-83,-67,-30,53,148,196,173,94,-11,-120,-216,-290,-335,-335,-284,-204,-127,-60,13,85,112,64,-39,-151,-245,-305,-303,-216,-76,43,92,91,85,81,51,-19,-98,-138,-118,-53,21,79,117,145,166,160,96,-22,-141,-203,-196,-155,-106,-47,29,112,180,217,211,148,45,-45,-76,-57,-28,-3,42,116,190,228,231,214,177,117,55,23,36,80,136,196,246,265,247,206,161,116,69,25,2,10,44,86,117,132,134,129,124,118,106,80,40}
},
{ // H30e084a.wav
{2,0,-1,1,3,1,-1,0,2,2,1,1,1,-1,-1,1,2,0,-1,1,3,2,0,0,1,0,-1,-1,-1,-1,2,6,4,-2,-1,7,10,3,-1,4,1,-13,-9,23,42,14,-20,-10,6,-23,-11,199,579,910,1112,1344,1567,1214,-219,-2203,-3262,-2382,-145,1865,2673,2595,2410,2382,2301,2104,2011,2132,2315,2422,2490,2518,2352,1930,1481,1257,1165,885,349,-126,-253,-151,-157,-375,-583,-583,-467,-474,-685,-945,-1047,-925,-672,-453,-385,-461,-555,-542,-422,-306,-278,-327,-412,-527,-660,-738,-692,-563,-468,-456,-467,-444,-418,-434,-464,-461,-441,-466,-535,-571,-524,-443,-411,-455,-535,-608,-652,-661,-647,-635,-642,-647,-626,-593,-592,-635,-681,-687,-657,-625,-613,-605,-577,-529,-487,-476,-495,-518,-520,-503,-487,-483,-483,-477,-469,-462,-448,-422,-397,-391,-407,-424,-427,-420,-414,-406,-391,-374,-369,-378,-385,-381,-375,-383,-404,-421,-422,-407,-382,-352,-320,-291,-274,-269,-269,-266,-260,-256,-250,-233,-204,-180,-178,-194,-206,-203,-193,-185,-176,-161,-147,-143,-146,-142,-129,-118,-117,-115,-103,-89,-89,-100,-109,-109,-111,-118,-120,-108,-91,-84,-87,-92,-98,-109,-122,-124,-109,-88,-73,-65,-56,-46,-40,-37,-32,-22,-12,-10,-13,-13,-6,4,8,8,12,23,34,35,25,12,4,1},
{210,-141,-302,108,418,-137,-595,1317,6307,11763,13461,8704,-1851,-13789,-19929,-14610,-5,13068,14564,6246,32,3777,12000,13803,7232,838,1460,5948,7181,3951,747,47,-344,-2332,-4249,-4116,-3099,-3355,-4398,-4227,-2992,-2802,-4062,-4606,-3148,-1390,-1396,-2524,-2702,-1714,-1199,-1727,-1901,-832,258,-90,-1302,-1678,-877,-121,-180,-493,-479,-442,-653,-531,396,1379,1300,323,-290,-11,262,-361,-1446,-1920,-1541,-1017,-872,-907,-786,-570,-440,-318,-95,-3,-340,-932,-1224,-1010,-774,-1104,-1925,-2555,-2493,-1904,-1279,-864,-603,-463,-538,-804,-1030,-1022,-802,-476,-76,316,470,223,-240,-542,-528,-391,-349,-399,-419,-378,-326,-285,-239,-200,-187,-187,-187,-227,-341,-492,-591,-583,-464,-268,-78,2,-53,-150,-193,-207,-268,-361,-397,-354,-297,-259,-185,-50,74,112,88,65,44,-13,-93,-133,-112,-72,-43,-5,67,148,183,143,46,-65,-156,-223,-277,-315,-311,-260,-187,-119,-52,28,98,108,41,-66,-168,-248,-288,-260,-159,-35,46,70,75,85,79,35,-36,-91,-105,-75,-14,57,110,133,140,147,130,52,-77,-187,-219,-187,-141,-98,-29,70,164,216,222,191,120,18,-67,-90,-61,-23,7,52,125,197,233,229,199,152,95,48,34,62,116,173,216,239,242,230,203,160,107,60,34,32,47,75,107,131,136,124,108,102,106,105,82,40}
},
{ // H30e090a.wav
{1,1,0,-1,0,1,0,-1,1,3,2,0,1,2,0,-2,0,2,0,-2,0,2,1,-1,0,2,1,-2,-2,-1,-1,1,5,5,-1,-3,4,8,1,-5,0,2,-4,2,28,37,1,-34,-19,4,-25,-23,176,555,883,1053,1237,1484,1329,239,-1477,-2621,-2281,-814,647,1503,2076,2751,3257,3110,2435,1919,2016,2522,2967,3111,2948,2506,1867,1275,959,857,688,317,-86,-310,-378,-464,-630,-775,-828,-852,-919,-974,-912,-733,-555,-473,-481,-518,-535,-495,-373,-219,-156,-260,-449,-566,-558,-527,-576,-686,-762,-757,-688,-581,-461,-373,-358,-392,-414,-412,-430,-485,-524,-499,-447,-442,-501,-573,-618,-644,-670,-690,-692,-676,-650,-617,-588,-580,-595,-620,-636,-640,-634,-613,-568,-506,-452,-429,-440,-474,-510,-528,-517,-489,-467,-463,-472,-476,-463,-431,-396,-377,-382,-402,-417,-419,-413,-404,-393,-380,-366,-352,-346,-357,-387,-424,-446,-445,-432,-416,-395,-363,-325,-296,-282,-277,-275,-273,-271,-262,-245,-230,-228,-233,-232,-220,-203,-187,-170,-152,-145,-153,-165,-168,-161,-155,-152,-143,-125,-107,-98,-101,-103,-97,-90,-94,-110,-127,-135,-130,-116,-101,-90,-84,-82,-83,-89,-99,-107,-106,-98,-85,-68,-48,-33,-23,-18,-12,-3,5,4,-5,-12,-9,2,11,16,19,22,26,28,26,19,8},
{204,-114,-290,76,400,-93,-593,1144,6042,11637,13466,8505,-2413,-14237,-19550,-13356,1290,13534,14168,5605,-472,3190,11078,12853,6868,1227,2091,6230,7109,4015,1257,720,-42,-2560,-4617,-4118,-2609,-2685,-3971,-4239,-3292,-3020,-3903,-4132,-2759,-1432,-1798,-2902,-2808,-1649,-1184,-1814,-2019,-961,98,-201,-1240,-1463,-672,-25,-155,-536,-677,-771,-857,-414,637,1322,830,-185,-419,220,511,-261,-1308,-1541,-1036,-695,-869,-1056,-840,-460,-305,-347,-375,-444,-727,-1093,-1208,-1061,-1071,-1545,-2215,-2519,-2236,-1653,-1144,-795,-539,-431,-578,-871,-1011,-854,-544,-268,-27,216,337,176,-180,-454,-501,-441,-425,-450,-433,-365,-282,-190,-95,-57,-113,-200,-236,-237,-294,-427,-551,-573,-474,-301,-141,-74,-120,-209,-264,-287,-328,-385,-402,-358,-291,-220,-119,12,108,120,85,60,42,-5,-66,-95,-85,-71,-61,-23,55,129,154,118,43,-55,-161,-248,-294,-299,-278,-240,-184,-114,-40,30,78,82,29,-69,-176,-249,-261,-206,-110,-20,30,45,49,57,55,27,-23,-70,-89,-65,-1,73,124,138,136,134,107,22,-105,-203,-220,-178,-126,-75,-2,92,170,204,204,178,112,10,-75,-93,-56,-13,18,60,126,188,217,217,199,160,100,50,40,74,123,168,206,235,243,227,197,161,119,74,44,45,72,106,129,136,128,109,88,78,86,95,82,42}
},
{ // H30e096a.wav
{0,1,1,0,0,1,1,1,2,2,1,1,1,2,1,-1,-1,1,1,-1,-1,1,2,1,1,2,1,-1,-1,1,-1,-3,0,4,3,1,5,7,-2,-9,2,17,11,-2,11,33,13,-36,-36,19,23,-44,3,320,762,1067,1275,1629,1923,1347,-554,-2896,-3935,-2748,-164,2139,3204,3263,2977,2706,2525,2480,2567,2665,2684,2700,2754,2653,2181,1468,904,666,534,254,-105,-300,-301,-344,-607,-989,-1248,-1241,-995,-648,-384,-354,-544,-744,-741,-538,-325,-240,-243,-243,-251,-320,-418,-459,-449,-497,-660,-847,-929,-884,-779,-653,-500,-350,-283,-323,-390,-399,-368,-380,-463,-551,-576,-544,-514,-528,-577,-627,-658,-673,-687,-699,-691,-648,-591,-553,-552,-577,-604,-616,-607,-570,-515,-468,-452,-457,-460,-458,-471,-502,-522,-507,-469,-448,-461,-481,-475,-439,-404,-393,-399,-402,-397,-396,-402,-399,-375,-343,-331,-348,-375,-393,-404,-419,-438,-446,-433,-408,-380,-350,-317,-293,-290,-302,-305,-288,-267,-264,-274,-279,-271,-255,-238,-212,-174,-139,-130,-146,-164,-166,-159,-159,-162,-156,-142,-134,-137,-138,-125,-106,-95,-98,-105,-110,-114,-123,-132,-132,-118,-98,-84,-78,-76,-76,-80,-90,-100,-102,-94,-79,-59,-37,-19,-9,-7,-8,-8,-3,2,2,-2,-4,0,7,11,12,14,23,36,43,34,15},
{189,-20,-263,-61,338,99,-542,422,4618,10463,13440,9679,-598,-12457,-18596,-13946,-567,12013,14351,6760,-506,1185,8876,12529,8185,2228,1819,5657,7366,4900,1977,1195,566,-1970,-4541,-4412,-2525,-2003,-3391,-4369,-3803,-3195,-3622,-3848,-2715,-1440,-1742,-2971,-3087,-1862,-1091,-1612,-2069,-1273,-164,-261,-1253,-1528,-617,271,128,-633,-1114,-1099,-787,-182,565,813,206,-518,-333,556,839,-94,-1270,-1459,-769,-301,-566,-987,-922,-515,-286,-373,-541,-683,-904,-1190,-1341,-1314,-1357,-1677,-2116,-2316,-2127,-1710,-1263,-847,-508,-397,-593,-894,-959,-702,-365,-177,-85,65,213,162,-107,-371,-461,-443,-453,-493,-479,-385,-248,-95,33,55,-54,-194,-251,-251,-303,-418,-502,-499,-446,-373,-267,-154,-120,-199,-309,-367,-388,-412,-419,-363,-266,-184,-118,-30,70,121,100,52,17,-10,-40,-61,-67,-70,-70,-39,28,94,118,98,47,-39,-153,-251,-292,-283,-263,-239,-191,-114,-39,12,41,49,18,-62,-164,-240,-252,-200,-111,-25,25,37,36,37,31,4,-38,-71,-81,-62,-13,54,111,133,128,117,92,20,-98,-198,-221,-175,-114,-61,4,86,152,175,167,144,97,17,-58,-82,-52,-8,25,61,113,165,194,202,197,168,109,49,31,61,112,159,201,236,248,230,194,157,120,80,51,53,84,120,138,136,121,96,71,60,71,85,75,39}
},
{ // H30e102a.wav
{1,0,-1,0,1,0,-1,1,4,2,-1,0,3,3,0,-2,0,2,0,-2,0,2,1,0,1,2,0,-1,0,-1,-3,-1,5,4,-4,-5,6,9,-4,-13,0,16,11,1,12,24,3,-27,-15,17,0,-33,67,387,864,1433,2057,2431,1848,-158,-2869,-4492,-3660,-841,2030,3378,3240,2721,2607,2794,2850,2664,2431,2310,2317,2420,2516,2384,1867,1132,581,419,433,296,-30,-323,-476,-632,-898,-1116,-1059,-760,-493,-440,-521,-571,-548,-498,-429,-332,-260,-273,-323,-305,-220,-190,-291,-456,-591,-697,-816,-918,-925,-831,-711,-614,-516,-399,-311,-301,-346,-376,-371,-378,-438,-530,-601,-622,-611,-599,-597,-599,-600,-611,-643,-683,-700,-677,-630,-588,-563,-545,-528,-515,-507,-495,-478,-470,-477,-487,-484,-472,-469,-479,-488,-483,-469,-459,-460,-467,-471,-467,-454,-432,-404,-380,-370,-375,-380,-368,-344,-335,-356,-389,-402,-393,-388,-402,-420,-422,-407,-386,-362,-333,-306,-299,-314,-328,-324,-309,-306,-319,-328,-311,-269,-218,-174,-146,-137,-145,-162,-172,-169,-158,-151,-149,-146,-137,-131,-135,-145,-148,-138,-124,-116,-117,-119,-121,-126,-132,-129,-111,-88,-78,-83,-90,-88,-85,-90,-97,-92,-70,-47,-37,-36,-32,-22,-15,-15,-15,-7,4,8,2,-5,-7,-5,-3,4,19,38,48,42,26,11,3},
{106,110,-132,-211,137,300,-248,-312,2361,7909,12639,11641,3371,-8371,-16564,-15443,-4897,8096,13989,9331,907,-1178,5058,11552,10701,4673,1427,3820,7019,6424,3469,1749,1139,-817,-3766,-4717,-2995,-1528,-2433,-4157,-4396,-3562,-3383,-3706,-3061,-1653,-1324,-2486,-3278,-2442,-1199,-1171,-1852,-1664,-619,-232,-991,-1570,-918,183,347,-504,-1300,-1338,-825,-192,300,381,-64,-545,-332,480,876,211,-858,-1226,-771,-346,-496,-815,-721,-329,-189,-467,-814,-939,-957,-1085,-1299,-1445,-1530,-1698,-1968,-2157,-2093,-1799,-1406,-1001,-641,-452,-540,-784,-883,-683,-360,-174,-132,-51,104,144,-45,-306,-421,-392,-382,-452,-498,-424,-247,-47,93,109,1,-138,-208,-230,-296,-415,-492,-476,-425,-385,-317,-209,-146,-198,-308,-375,-394,-419,-433,-373,-255,-169,-137,-92,2,78,76,31,8,3,-21,-58,-76,-72,-66,-49,3,73,110,90,30,-47,-130,-201,-242,-256,-262,-253,-206,-129,-62,-23,6,29,16,-53,-145,-207,-222,-204,-155,-74,9,48,39,19,12,0,-38,-85,-101,-73,-22,31,75,106,119,114,90,36,-52,-140,-182,-168,-125,-76,-17,55,117,146,147,134,100,31,-44,-72,-40,7,31,48,92,154,195,199,183,154,104,50,31,63,120,168,199,224,238,229,198,159,121,87,65,68,92,119,133,132,117,91,66,61,75,83,64,28}
},
{ // H30e108a.wav
{0,0,0,0,0,1,2,1,0,-1,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,-1,-1,0,0,0,3,5,3,-1,-2,0,0,-2,2,10,11,3,2,11,13,-2,-10,4,7,-15,45,390,1106,1969,2485,2149,780,-1251,-3046,-3611,-2541,-408,1637,2782,3087,3126,3219,3189,2796,2194,1814,1901,2286,2585,2507,2003,1269,641,379,447,546,422,98,-235,-486,-710,-917,-987,-835,-570,-388,-359,-401,-427,-433,-429,-382,-276,-167,-136,-191,-265,-295,-279,-271,-335,-498,-711,-869,-903,-842,-769,-716,-651,-555,-467,-427,-415,-389,-355,-354,-395,-444,-474,-503,-555,-622,-673,-687,-662,-608,-558,-551,-600,-667,-702,-692,-661,-626,-577,-504,-426,-382,-395,-447,-498,-514,-497,-476,-474,-485,-486,-469,-450,-450,-469,-490,-497,-489,-476,-468,-463,-448,-412,-364,-330,-327,-346,-369,-386,-395,-392,-374,-357,-362,-387,-402,-388,-363,-352,-357,-357,-343,-328,-326,-336,-350,-369,-387,-387,-354,-294,-233,-189,-164,-150,-145,-151,-167,-181,-179,-160,-139,-133,-143,-151,-147,-139,-135,-135,-132,-132,-142,-156,-159,-144,-124,-112,-110,-107,-97,-84,-78,-85,-100,-110,-105,-87,-67,-51,-38,-25,-17,-17,-23,-26,-23,-17,-12,-7,-1,0,-6,-14,-11,4,21,31,37,41,33,7,-23,-34,-20},
{-48,153,83,-201,-146,256,187,-414,308,4220,9913,12601,8319,-1918,-12232,-15908,-10082,1722,11220,11636,4334,-1807,337,8073,12350,8948,3043,1635,4763,7061,5786,3271,1830,397,-2295,-4472,-3886,-1756,-1295,-3090,-4629,-4327,-3440,-3366,-3381,-2421,-1351,-1637,-2772,-2932,-1818,-995,-1317,-1720,-1188,-444,-627,-1321,-1203,-200,340,-347,-1391,-1583,-898,-191,25,-91,-258,-339,-185,246,596,388,-298,-816,-769,-496,-509,-741,-712,-316,-36,-277,-829,-1164,-1116,-998,-1111,-1383,-1574,-1646,-1759,-1957,-2059,-1901,-1546,-1175,-880,-662,-563,-620,-726,-689,-477,-267,-194,-170,-65,55,24,-160,-319,-351,-341,-384,-436,-397,-259,-91,48,120,90,-27,-152,-227,-281,-362,-442,-465,-437,-400,-347,-260,-182,-189,-269,-336,-356,-376,-402,-372,-270,-183,-166,-159,-87,8,34,-5,-24,-1,1,-44,-86,-87,-74,-67,-34,45,117,116,45,-37,-97,-142,-183,-216,-240,-248,-224,-163,-96,-54,-33,-13,-4,-32,-92,-146,-176,-189,-180,-128,-43,22,31,8,-2,-1,-21,-65,-99,-95,-60,-13,36,79,99,95,84,71,34,-39,-116,-152,-137,-99,-55,-2,61,114,141,143,122,71,-1,-55,-52,-4,42,66,89,130,172,190,179,152,117,81,59,71,112,160,194,212,216,207,188,168,149,126,101,88,91,104,116,125,124,105,76,59,65,75,62,28}
},
{ // H30e114a.wav
{1,2,3,3,2,1,2,3,3,2,1,1,1,2,2,1,0,1,3,3,2,2,3,2,-1,0,4,5,0,-2,3,7,4,-1,2,5,0,-6,1,13,10,0,5,20,11,-15,-9,28,25,8,217,894,1872,2507,2170,827,-917,-2281,-2770,-2286,-1052,484,1823,2687,3135,3336,3298,2931,2343,1900,1888,2206,2473,2387,1928,1282,686,328,257,327,305,95,-182,-367,-460,-570,-715,-773,-664,-483,-392,-419,-442,-355,-196,-85,-83,-150,-213,-233,-209,-151,-91,-92,-209,-429,-658,-791,-795,-720,-643,-610,-614,-623,-603,-548,-486,-456,-467,-484,-473,-443,-434,-461,-499,-525,-548,-589,-639,-667,-657,-625,-599,-594,-610,-639,-666,-674,-653,-598,-511,-412,-347,-353,-414,-470,-478,-458,-456,-480,-496,-481,-451,-435,-443,-465,-494,-525,-541,-525,-484,-442,-413,-392,-374,-367,-373,-376,-363,-346,-350,-372,-386,-375,-354,-345,-346,-340,-326,-318,-325,-341,-354,-364,-376,-392,-408,-415,-407,-376,-322,-257,-201,-170,-162,-164,-168,-174,-179,-175,-158,-138,-133,-143,-153,-152,-147,-146,-144,-134,-121,-120,-136,-156,-164,-158,-145,-129,-108,-86,-73,-75,-89,-102,-107,-103,-95,-82,-63,-40,-23,-17,-18,-17,-11,-7,-10,-16,-19,-17,-14,-14,-12,-3,11,24,30,28,20,7,-9,-23,-28,-22,-11,-3},
{-136,23,171,9,-231,-59,300,63,-427,869,5257,10452,11558,5695,-4624,-12943,-13614,-5946,4863,11010,8382,920,-2613,2148,10112,12681,7927,2187,1535,4859,6985,5847,3535,1682,-476,-3138,-4354,-2989,-1120,-1432,-3519,-4783,-4247,-3358,-3185,-2995,-2131,-1476,-1916,-2661,-2411,-1416,-983,-1347,-1464,-891,-492,-853,-1209,-716,42,-134,-1195,-1831,-1312,-376,-48,-322,-507,-319,-49,107,250,369,220,-229,-636,-723,-631,-608,-608,-445,-227,-288,-693,-1079,-1114,-929,-916,-1209,-1549,-1670,-1623,-1634,-1757,-1823,-1693,-1424,-1152,-925,-736,-620,-609,-623,-543,-391,-305,-317,-290,-138,13,-8,-167,-289,-305,-306,-349,-362,-275,-131,-13,61,95,59,-58,-193,-273,-305,-343,-399,-436,-435,-401,-331,-238,-178,-198,-266,-311,-319,-326,-330,-295,-229,-195,-203,-188,-114,-40,-30,-55,-52,-27,-33,-76,-109,-110,-97,-72,-14,69,119,97,30,-35,-85,-131,-174,-204,-220,-223,-206,-166,-115,-76,-54,-41,-38,-51,-81,-120,-156,-173,-152,-97,-43,-24,-32,-34,-16,-8,-35,-82,-112,-106,-69,-15,42,79,85,75,74,78,52,-20,-99,-134,-119,-85,-51,-7,53,107,133,128,101,54,-2,-32,-12,37,73,82,90,116,150,173,181,171,140,98,74,84,118,152,179,197,201,190,176,168,159,136,107,91,92,102,114,122,115,86,56,51,68,69,38}
},
{ // H30e120a.wav
{2,3,3,2,3,4,3,2,1,1,1,1,2,2,1,0,2,4,3,2,2,3,1,-1,0,2,2,2,5,5,1,-2,2,5,0,-5,3,14,8,-7,-3,17,16,-9,-7,26,23,5,221,920,1913,2507,2070,664,-969,-2046,-2282,-1844,-995,91,1268,2360,3189,3598,3480,2883,2120,1643,1713,2174,2593,2600,2116,1340,595,143,43,129,160,17,-240,-484,-651,-736,-735,-643,-500,-395,-391,-456,-484,-397,-221,-64,-15,-54,-86,-55,-10,-32,-123,-200,-212,-217,-311,-500,-683,-755,-702,-592,-494,-433,-408,-419,-471,-551,-618,-630,-587,-533,-517,-537,-553,-546,-536,-547,-564,-559,-542,-555,-612,-673,-693,-674,-650,-637,-617,-573,-517,-473,-448,-433,-424,-423,-427,-425,-420,-426,-449,-472,-473,-453,-439,-452,-486,-518,-536,-543,-537,-505,-447,-395,-385,-415,-438,-420,-376,-345,-340,-338,-328,-329,-352,-375,-363,-320,-284,-279,-296,-316,-337,-369,-409,-441,-455,-449,-422,-373,-312,-257,-223,-206,-196,-188,-184,-184,-182,-177,-172,-169,-165,-154,-139,-131,-135,-147,-155,-154,-145,-135,-132,-136,-144,-148,-145,-138,-130,-120,-106,-89,-78,-79,-90,-100,-101,-93,-77,-58,-41,-30,-23,-16,-10,-8,-10,-13,-14,-16,-19,-19,-11,1,11,17,21,17,0,-22,-35,-34,-26,-16,0,19,27,16},
{-20,-113,3,151,16,-210,-51,279,47,-374,969,5199,9970,10635,4761,-4862,-11971,-11622,-3995,5376,9469,5715,-1009,-2648,3476,11355,12998,7563,1689,1088,4515,6977,6252,3921,1571,-906,-3251,-3933,-2507,-1025,-1578,-3523,-4617,-4142,-3326,-3032,-2739,-2051,-1653,-2045,-2465,-2026,-1160,-913,-1272,-1314,-804,-503,-771,-938,-537,-235,-780,-1657,-1718,-880,-220,-376,-736,-538,-3,180,-14,-23,292,415,5,-588,-848,-731,-529,-407,-364,-467,-773,-1087,-1102,-825,-644,-860,-1325,-1648,-1658,-1524,-1469,-1514,-1535,-1462,-1335,-1202,-1045,-843,-650,-542,-514,-495,-456,-437,-436,-371,-202,-35,-9,-123,-249,-303,-304,-283,-224,-133,-59,-28,-4,28,15,-79,-195,-251,-262,-297,-375,-437,-438,-385,-305,-221,-172,-182,-230,-264,-269,-273,-280,-265,-231,-219,-240,-241,-185,-113,-81,-83,-76,-59,-67,-106,-134,-127,-103,-74,-28,38,89,92,53,2,-50,-108,-165,-202,-219,-225,-220,-189,-136,-85,-59,-54,-54,-56,-72,-105,-140,-156,-143,-112,-83,-72,-72,-67,-51,-43,-61,-99,-124,-111,-64,-4,46,70,71,67,74,78,47,-20,-84,-105,-89,-67,-48,-17,28,69,93,105,105,80,36,10,25,56,64,56,67,107,154,185,197,190,155,101,63,68,105,142,163,176,188,193,187,171,149,126,107,93,88,97,115,120,99,67,57,71,74,43}
},
{ // H30e126a.wav
{0,0,1,1,-1,-2,0,1,-1,-4,-3,0,0,-2,-2,0,1,-1,-2,-2,-2,-1,0,0,-3,-3,2,4,-1,-5,0,5,-3,-12,-4,12,9,-7,-5,15,11,-18,-17,21,25,22,281,1045,2062,2568,1946,398,-1189,-2038,-2036,-1534,-825,59,1146,2312,3286,3768,3586,2851,2001,1554,1716,2219,2571,2461,1919,1196,563,193,106,156,121,-121,-485,-758,-804,-695,-621,-690,-814,-819,-648,-421,-288,-260,-235,-151,-62,-35,-52,-47,-12,3,-28,-73,-109,-166,-279,-421,-525,-556,-528,-475,-420,-381,-362,-346,-326,-333,-409,-540,-650,-684,-669,-662,-673,-663,-617,-575,-571,-587,-578,-538,-504,-518,-585,-671,-730,-727,-661,-564,-482,-439,-431,-441,-457,-473,-480,-470,-445,-418,-402,-401,-414,-437,-462,-484,-500,-516,-531,-535,-516,-484,-466,-477,-494,-480,-434,-394,-385,-385,-360,-320,-311,-342,-366,-345,-299,-276,-284,-293,-290,-301,-344,-398,-430,-434,-428,-418,-397,-364,-325,-286,-248,-221,-216,-223,-218,-194,-173,-177,-197,-204,-188,-165,-151,-147,-143,-139,-140,-144,-148,-151,-155,-154,-146,-135,-132,-136,-135,-121,-104,-98,-103,-105,-97,-89,-89,-90,-82,-67,-53,-43,-31,-19,-15,-23,-32,-31,-24,-20,-18,-10,5,17,17,7,-7,-21,-35,-45,-45,-35,-20,-9,-2,5,17,27,26,13},
{83,-23,-116,-10,138,30,-189,-77,237,86,-337,652,4288,8814,10044,5306,-3339,-10177,-10346,-3824,4257,7511,3905,-1843,-2507,3968,11756,13353,7898,1675,513,3793,6769,6655,4424,1821,-710,-2859,-3558,-2497,-1262,-1591,-3146,-4188,-3986,-3362,-3017,-2661,-2052,-1722,-2025,-2310,-1847,-1022,-777,-1148,-1286,-836,-403,-485,-744,-757,-780,-1180,-1588,-1372,-709,-415,-707,-883,-442,142,191,-141,-176,209,446,153,-374,-675,-681,-586,-498,-488,-690,-1083,-1319,-1092,-610,-429,-789,-1352,-1645,-1571,-1384,-1304,-1324,-1328,-1274,-1211,-1171,-1105,-943,-707,-516,-464,-517,-572,-579,-535,-426,-246,-74,-29,-125,-251,-306,-281,-212,-122,-47,-40,-87,-102,-50,-15,-75,-179,-224,-213,-235,-316,-389,-402,-372,-320,-242,-164,-146,-193,-237,-235,-224,-245,-272,-270,-260,-276,-294,-263,-189,-127,-98,-84,-81,-102,-134,-142,-123,-107,-103,-77,-13,51,73,59,33,-10,-80,-158,-211,-230,-233,-225,-191,-136,-91,-74,-68,-57,-48,-63,-102,-141,-161,-158,-143,-127,-118,-116,-111,-95,-73,-67,-85,-113,-119,-84,-20,38,63,61,57,64,65,35,-20,-64,-73,-60,-50,-47,-35,-8,27,64,102,129,120,73,29,19,36,48,52,73,119,163,181,179,172,150,107,66,65,103,141,154,154,163,175,171,153,138,130,118,100,91,100,112,106,88,79,82,73,39}
},
{ // H30e132a.wav
{3,5,3,1,2,3,1,-1,0,3,3,1,1,3,4,3,2,1,0,0,3,4,1,-1,4,7,3,-2,2,6,0,-7,0,9,3,-6,8,26,10,-22,-9,33,22,30,375,1264,2315,2671,1791,69,-1474,-2104,-1882,-1306,-673,109,1203,2501,3601,4052,3674,2732,1824,1481,1780,2336,2648,2463,1852,1066,374,-33,-115,-11,48,-104,-439,-764,-878,-766,-619,-652,-863,-1021,-934,-681,-496,-456,-395,-176,79,136,-25,-180,-146,1,65,-20,-153,-237,-280,-328,-377,-397,-391,-380,-361,-311,-233,-170,-161,-215,-310,-411,-484,-518,-543,-604,-702,-786,-803,-753,-680,-620,-581,-560,-562,-582,-604,-611,-606,-599,-590,-569,-532,-486,-446,-422,-417,-424,-434,-446,-463,-485,-497,-482,-437,-385,-361,-395,-482,-568,-595,-552,-492,-474,-497,-508,-477,-437,-433,-449,-429,-362,-304,-310,-361,-391,-370,-326,-292,-270,-252,-249,-279,-332,-379,-401,-403,-396,-380,-358,-342,-334,-322,-294,-264,-250,-248,-237,-213,-199,-210,-229,-226,-198,-171,-161,-157,-145,-130,-130,-148,-166,-171,-163,-152,-143,-137,-136,-138,-134,-121,-106,-98,-98,-97,-95,-96,-100,-98,-89,-80,-76,-65,-41,-14,-3,-12,-27,-37,-43,-44,-36,-16,7,22,27,23,10,-15,-47,-69,-69,-50,-28,-14,-3,11,25,28,19,9,7,9,6},
{-26,61,31,-83,-60,92,86,-117,-136,139,171,-224,154,2818,7068,9437,6676,-588,-7627,-9385,-4816,2059,5429,2923,-1835,-2477,3403,11138,13633,9025,2468,86,2630,6037,6842,5117,2574,77,-2104,-3229,-2786,-1700,-1525,-2528,-3550,-3730,-3398,-3103,-2734,-2117,-1693,-1872,-2176,-1840,-1024,-643,-982,-1275,-897,-279,-208,-701,-1146,-1245,-1225,-1229,-1097,-829,-720,-843,-819,-404,57,100,-165,-235,37,287,220,-44,-283,-482,-683,-796,-791,-854,-1106,-1300,-1100,-614,-365,-669,-1251,-1590,-1498,-1222,-1080,-1132,-1222,-1217,-1132,-1052,-1000,-910,-750,-590,-527,-567,-627,-641,-591,-473,-302,-151,-109,-171,-240,-252,-226,-189,-128,-57,-46,-111,-160,-117,-45,-54,-133,-179,-163,-161,-221,-298,-340,-352,-342,-288,-202,-148,-161,-189,-184,-180,-230,-305,-337,-321,-308,-316,-300,-236,-161,-114,-99,-102,-117,-133,-133,-116,-111,-124,-123,-83,-22,22,37,27,-4,-56,-114,-164,-202,-224,-219,-184,-141,-115,-98,-69,-33,-24,-55,-104,-144,-175,-201,-208,-183,-144,-121,-116,-104,-77,-62,-82,-117,-125,-91,-39,2,27,45,61,69,61,35,-3,-37,-54,-52,-42,-33,-22,-1,32,70,104,119,103,63,30,30,53,69,73,86,115,142,151,152,157,153,127,96,93,116,133,129,124,134,148,153,156,163,161,137,106,92,96,100,100,102,101,80,37}
},
{ // H30e138a.wav
{-1,-2,-2,-2,-3,-3,-1,-1,-2,-2,-1,0,0,-1,-1,-2,-3,-2,0,-1,-4,-3,3,3,-4,-6,2,4,-7,-13,0,10,-3,-16,1,24,8,-22,-4,31,8,52,520,1550,2607,2756,1569,-338,-1814,-2204,-1760,-1110,-529,201,1352,2802,4013,4394,3768,2575,1606,1416,1920,2545,2750,2393,1678,892,247,-135,-235,-167,-135,-298,-640,-963,-1036,-803,-481,-395,-660,-1046,-1205,-1035,-740,-547,-455,-328,-144,-31,-68,-150,-129,-14,46,-46,-220,-336,-338,-292,-290,-356,-433,-439,-339,-179,-52,-21,-77,-163,-234,-283,-318,-350,-391,-460,-561,-666,-738,-760,-749,-728,-707,-682,-655,-643,-657,-682,-686,-645,-565,-475,-408,-384,-402,-437,-454,-440,-413,-403,-420,-451,-479,-498,-502,-489,-468,-454,-452,-460,-490,-560,-643,-664,-577,-435,-351,-367,-415,-418,-382,-368,-390,-400,-370,-332,-325,-335,-329,-306,-298,-315,-336,-343,-340,-337,-330,-319,-317,-326,-329,-312,-289,-283,-290,-281,-250,-226,-233,-257,-265,-248,-228,-217,-201,-170,-136,-122,-127,-136,-140,-149,-166,-180,-180,-172,-167,-161,-144,-118,-98,-94,-99,-99,-94,-93,-99,-103,-101,-96,-91,-82,-62,-38,-24,-27,-36,-39,-34,-30,-31,-29,-19,0,18,25,13,-18,-53,-74,-73,-56,-40,-31,-24,-13,2,13,18,20,21,20,13,4,-2,-2},
{-37,-46,21,50,-30,-81,16,98,-20,-145,4,187,-36,-167,1269,4766,8150,7921,2857,-4073,-7927,-6143,-862,3002,2307,-1194,-2375,1971,9269,13315,10698,4392,346,1222,4544,6492,5838,3741,1339,-993,-2711,-3069,-2274,-1599,-1909,-2752,-3265,-3310,-3201,-2912,-2284,-1687,-1662,-1996,-1884,-1153,-599,-795,-1195,-971,-293,-95,-698,-1392,-1474,-1112,-894,-967,-1036,-945,-814,-679,-435,-139,-37,-185,-302,-155,126,261,185,6,-239,-582,-932,-1122,-1135,-1101,-1059,-905,-646,-521,-726,-1121,-1360,-1289,-1081,-986,-1054,-1148,-1143,-1042,-927,-853,-809,-757,-686,-620,-584,-581,-593,-590,-541,-437,-317,-234,-204,-198,-192,-188,-182,-157,-126,-134,-186,-205,-130,-15,30,-19,-91,-130,-155,-194,-231,-255,-288,-332,-338,-275,-190,-150,-152,-151,-154,-205,-297,-364,-368,-344,-332,-316,-260,-178,-118,-102,-112,-123,-122,-112,-107,-122,-154,-174,-151,-91,-31,3,7,-10,-41,-78,-115,-152,-184,-195,-179,-146,-119,-103,-81,-47,-25,-39,-84,-137,-185,-221,-233,-212,-172,-139,-124,-109,-80,-54,-58,-88,-112,-104,-72,-38,-11,14,38,57,67,63,41,8,-18,-25,-19,-12,-3,14,39,62,77,85,84,72,60,64,82,94,90,84,91,108,126,146,167,176,163,138,122,120,121,118,121,134,149,161,171,178,173,151,124,106,98,97,100,98,77,36}
},
{ // H30e144a.wav
{2,1,-1,0,2,1,-1,1,4,4,0,0,2,1,-2,-2,2,2,-1,1,7,5,-3,-2,8,7,-8,-10,7,13,-7,-17,9,29,2,-25,10,45,6,89,705,1906,2967,2856,1290,-833,-2214,-2309,-1612,-892,-370,331,1580,3200,4490,4745,3844,2420,1421,1391,2089,2786,2899,2361,1488,650,63,-227,-297,-286,-329,-498,-783,-1075,-1191,-1003,-617,-360,-493,-910,-1224,-1166,-850,-585,-504,-474,-350,-181,-117,-179,-234,-181,-80,-68,-186,-342,-423,-403,-338,-302,-326,-385,-412,-343,-180,-7,68,10,-116,-218,-259,-272,-293,-325,-372,-452,-562,-654,-679,-648,-625,-649,-701,-748,-786,-816,-812,-741,-615,-491,-412,-370,-342,-325,-331,-356,-383,-406,-432,-458,-466,-449,-432,-438,-461,-485,-517,-584,-677,-725,-664,-520,-402,-382,-418,-417,-360,-317,-343,-395,-401,-358,-331,-351,-376,-364,-334,-330,-355,-372,-354,-312,-279,-269,-274,-280,-281,-279,-278,-278,-271,-256,-244,-250,-271,-288,-285,-271,-262,-258,-247,-223,-193,-164,-140,-126,-126,-136,-140,-135,-135,-154,-180,-190,-174,-152,-141,-137,-124,-100,-83,-86,-97,-99,-91,-87,-92,-95,-83,-63,-49,-47,-48,-43,-34,-31,-36,-41,-34,-13,11,25,24,11,-13,-43,-70,-80,-70,-52,-38,-25,-9,7,14,13,12,16,20,21,21,19,11,-3,-12,-9},
{27,-4,-46,-20,42,23,-60,-50,60,65,-80,-104,91,126,-146,196,2369,5875,7944,5923,312,-5116,-6606,-3819,23,1331,-355,-1863,387,6330,11677,11979,7253,1962,337,2461,5224,6111,5009,2919,496,-1749,-2994,-2825,-1969,-1577,-1958,-2561,-2958,-3166,-3123,-2604,-1830,-1471,-1718,-1889,-1409,-716,-606,-992,-1046,-525,-190,-639,-1375,-1523,-1055,-713,-881,-1150,-1064,-747,-550,-489,-370,-234,-274,-407,-314,55,353,297,18,-220,-422,-758,-1174,-1376,-1216,-886,-664,-630,-701,-822,-985,-1119,-1123,-1011,-929,-976,-1085,-1108,-996,-837,-737,-714,-722,-715,-675,-595,-501,-463,-528,-639,-663,-539,-350,-223,-182,-167,-154,-183,-254,-294,-254,-183,-147,-130,-77,4,43,9,-61,-125,-182,-239,-282,-306,-325,-337,-314,-250,-183,-149,-146,-161,-203,-274,-342,-369,-361,-350,-338,-299,-228,-157,-116,-107,-116,-135,-155,-162,-160,-168,-185,-186,-151,-99,-61,-46,-47,-57,-74,-98,-125,-152,-175,-181,-165,-142,-127,-112,-83,-49,-40,-66,-110,-156,-203,-245,-263,-243,-202,-163,-131,-93,-51,-32,-52,-93,-125,-129,-106,-69,-30,4,30,51,68,74,64,37,5,-19,-28,-25,-18,-8,10,37,65,83,87,82,78,78,76,68,58,54,63,88,122,156,178,182,170,148,125,110,105,107,113,124,140,159,172,173,157,122,79,49,47,59,56,30}
},
{ // H30e150a.wav
{-3,-3,0,0,-2,-2,1,1,-1,-1,0,-1,-4,-3,1,0,-3,0,5,1,-7,-4,7,4,-12,-12,8,12,-13,-21,10,28,-6,-28,18,47,-1,144,933,2315,3358,2943,956,-1402,-2677,-2446,-1462,-653,-182,502,1870,3670,5017,5090,3863,2208,1239,1432,2329,3040,3000,2265,1261,394,-137,-333,-338,-345,-480,-741,-1038,-1257,-1292,-1086,-715,-418,-437,-785,-1196,-1346,-1135,-742,-428,-308,-312,-323,-305,-293,-297,-269,-193,-147,-235,-435,-583,-538,-353,-224,-273,-423,-497,-407,-218,-53,10,-37,-153,-264,-295,-234,-151,-141,-231,-373,-490,-542,-540,-516,-500,-512,-564,-658,-775,-875,-914,-871,-755,-599,-448,-351,-330,-358,-376,-354,-323,-328,-367,-401,-411,-414,-419,-413,-415,-480,-623,-763,-797,-719,-620,-557,-498,-398,-294,-261,-316,-394,-422,-390,-341,-315,-322,-350,-389,-427,-448,-430,-368,-291,-244,-250,-282,-296,-279,-258,-260,-276,-274,-245,-214,-211,-240,-277,-298,-295,-281,-272,-272,-272,-260,-233,-201,-173,-154,-142,-134,-129,-131,-144,-164,-177,-175,-163,-153,-145,-134,-118,-105,-102,-105,-110,-114,-118,-117,-110,-99,-89,-78,-64,-50,-43,-44,-47,-47,-43,-40,-37,-28,-11,9,23,19,-5,-41,-74,-87,-78,-57,-40,-31,-26,-17,-5,8,20,29,30,24,20,21,19,3,-19,-27,-14,3,7},
{-21,7,25,-10,-42,-5,44,7,-58,-20,70,31,-93,-53,117,52,-132,608,3090,6228,7285,4482,-824,-5059,-5647,-3209,-629,-91,-955,-477,3172,8495,11601,9964,5106,1132,714,2994,5265,5787,4561,2308,-250,-2272,-3004,-2505,-1696,-1423,-1757,-2328,-2869,-3161,-2909,-2147,-1483,-1447,-1736,-1613,-993,-557,-697,-955,-810,-523,-673,-1170,-1346,-991,-665,-829,-1165,-1105,-678,-398,-476,-613,-560,-442,-405,-298,26,342,305,-37,-318,-403,-550,-935,-1294,-1259,-884,-579,-590,-764,-859,-861,-889,-960,-985,-946,-923,-952,-966,-916,-842,-790,-733,-631,-531,-510,-554,-567,-515,-489,-567,-671,-659,-504,-321,-215,-174,-153,-163,-233,-317,-333,-271,-195,-143,-89,-21,16,-8,-56,-85,-118,-195,-296,-360,-369,-356,-336,-285,-198,-122,-103,-140,-200,-262,-311,-332,-325,-317,-324,-324,-288,-222,-163,-135,-138,-150,-156,-155,-159,-181,-209,-215,-184,-139,-110,-97,-78,-57,-60,-95,-136,-158,-167,-173,-172,-155,-132,-116,-100,-72,-42,-38,-71,-128,-184,-231,-263,-268,-240,-192,-146,-110,-77,-49,-41,-62,-97,-120,-113,-83,-47,-17,7,31,55,72,73,57,33,12,-4,-23,-45,-58,-48,-13,34,81,116,131,124,101,72,42,15,3,18,61,117,170,207,218,201,165,131,109,99,99,110,129,144,147,146,145,134,102,64,46,48,46,25}
},
{ // H30e156a.wav
{1,0,-1,1,3,2,0,1,2,-1,-4,0,5,2,-3,1,9,5,-6,-3,9,5,-12,-8,15,14,-17,-21,18,31,-15,-32,31,55,-4,216,1213,2798,3798,3010,544,-2054,-3181,-2579,-1289,-390,35,724,2244,4236,5598,5410,3800,1930,1065,1551,2660,3349,3103,2128,963,58,-396,-457,-358,-356,-568,-929,-1282,-1485,-1452,-1180,-786,-485,-454,-698,-1057,-1313,-1311,-1034,-618,-288,-193,-289,-401,-402,-314,-237,-229,-289,-394,-510,-575,-538,-428,-345,-356,-426,-468,-427,-311,-165,-51,-39,-144,-297,-390,-379,-304,-227,-176,-164,-217,-341,-478,-545,-517,-453,-430,-484,-606,-759,-874,-872,-736,-548,-425,-408,-440,-447,-418,-389,-379,-373,-356,-331,-310,-305,-333,-412,-529,-631,-674,-671,-669,-676,-646,-546,-423,-363,-389,-429,-406,-330,-271,-274,-315,-357,-394,-433,-459,-444,-381,-301,-248,-244,-278,-309,-305,-273,-247,-246,-256,-253,-239,-233,-243,-251,-248,-245,-254,-267,-272,-271,-273,-271,-250,-217,-191,-180,-171,-154,-140,-140,-150,-160,-166,-174,-182,-179,-160,-128,-96,-74,-68,-76,-92,-107,-119,-128,-132,-126,-114,-107,-103,-93,-70,-45,-29,-27,-33,-41,-45,-42,-30,-11,8,16,8,-16,-45,-67,-75,-73,-64,-50,-32,-15,-4,5,14,23,28,31,33,31,22,10,1,-5,-7,4,34,67,71,39},
{14,-9,-18,7,18,-15,-37,2,36,-6,-54,-5,64,9,-90,-25,110,13,-68,870,3372,6163,6734,3776,-1186,-4957,-5486,-3459,-1239,-417,-342,1016,4645,8920,10739,8547,4083,832,801,3068,5228,5645,4212,1729,-789,-2435,-2778,-2165,-1434,-1210,-1567,-2233,-2835,-2991,-2536,-1806,-1403,-1492,-1605,-1296,-762,-524,-689,-904,-947,-958,-1037,-1009,-796,-673,-881,-1163,-1062,-593,-275,-437,-799,-898,-662,-363,-164,1,147,143,-49,-267,-397,-547,-827,-1077,-1044,-771,-591,-685,-860,-854,-710,-673,-815,-955,-951,-876,-857,-873,-838,-770,-756,-782,-725,-538,-353,-325,-448,-582,-630,-613,-592,-576,-533,-447,-330,-208,-115,-98,-172,-283,-350,-347,-315,-287,-236,-137,-34,-3,-57,-136,-193,-236,-287,-331,-345,-334,-319,-299,-255,-189,-129,-101,-116,-173,-254,-322,-346,-333,-316,-311,-303,-273,-230,-195,-178,-172,-167,-160,-158,-171,-202,-234,-236,-202,-156,-126,-110,-96,-86,-94,-116,-137,-154,-178,-202,-204,-176,-133,-97,-72,-53,-47,-63,-101,-149,-199,-241,-259,-243,-208,-176,-153,-125,-84,-46,-31,-42,-65,-81,-78,-59,-38,-24,-14,2,29,54,59,43,19,-7,-34,-60,-75,-68,-36,15,72,118,140,131,99,60,27,9,6,18,47,93,147,192,212,205,182,153,126,107,102,106,107,100,96,106,122,126,112,93,78,58,28}
},
{ // H30e162a.wav
{-2,-1,2,1,-1,0,1,-3,-6,-2,3,0,-4,2,8,0,-10,-3,10,1,-18,-10,17,12,-23,-22,22,27,-27,-33,45,56,-12,302,1528,3318,4252,3060,92,-2753,-3721,-2721,-1099,-101,266,952,2637,4847,6223,5727,3678,1593,897,1742,3064,3670,3167,1952,651,-290,-692,-635,-417,-378,-650,-1096,-1489,-1675,-1601,-1291,-874,-563,-511,-697,-980,-1224,-1329,-1211,-855,-415,-152,-201,-428,-565,-478,-279,-178,-268,-463,-606,-617,-528,-428,-380,-390,-439,-499,-523,-459,-305,-143,-80,-149,-286,-407,-469,-468,-404,-298,-205,-184,-244,-338,-417,-459,-466,-465,-504,-606,-720,-747,-646,-490,-387,-373,-409,-447,-471,-476,-458,-427,-397,-370,-343,-338,-382,-460,-516,-527,-534,-578,-632,-635,-572,-493,-453,-456,-465,-453,-415,-365,-326,-316,-337,-376,-418,-450,-448,-391,-297,-221,-208,-244,-282,-293,-290,-292,-295,-286,-265,-250,-253,-265,-263,-243,-225,-231,-252,-263,-257,-251,-257,-265,-258,-236,-211,-190,-170,-153,-150,-163,-177,-180,-178,-183,-192,-189,-169,-144,-127,-112,-88,-58,-40,-46,-72,-104,-130,-145,-149,-142,-125,-104,-85,-70,-57,-48,-50,-61,-71,-67,-49,-26,-6,7,9,-2,-25,-50,-65,-67,-59,-48,-38,-27,-14,-2,4,9,19,31,35,29,21,18,12,0,-7,7,37,67,94,121,134,109,51},
{-6,9,12,-6,-12,8,15,-16,-32,6,35,-7,-50,-4,57,7,-77,-17,94,7,-7,972,3379,5961,6380,3453,-1365,-5057,-5642,-3672,-1307,-89,407,1849,5053,8625,9941,7726,3568,612,717,3029,5186,5486,3858,1314,-997,-2319,-2475,-1863,-1193,-1019,-1436,-2135,-2661,-2693,-2252,-1702,-1422,-1427,-1381,-1051,-617,-464,-726,-1142,-1336,-1160,-782,-528,-612,-939,-1151,-967,-510,-219,-390,-835,-1082,-876,-408,-56,11,-81,-134,-108,-116,-266,-546,-826,-948,-847,-638,-535,-643,-836,-890,-755,-608,-625,-767,-859,-823,-746,-735,-788,-833,-825,-762,-648,-499,-367,-314,-358,-462,-575,-653,-659,-578,-445,-331,-279,-257,-212,-151,-135,-200,-296,-350,-351,-357,-398,-418,-345,-198,-83,-83,-174,-270,-319,-329,-327,-319,-296,-254,-205,-168,-157,-164,-173,-178,-189,-215,-253,-294,-332,-361,-364,-332,-280,-231,-198,-177,-166,-169,-182,-196,-210,-227,-242,-237,-207,-167,-137,-120,-109,-103,-107,-122,-147,-178,-207,-218,-204,-175,-145,-115,-80,-50,-45,-70,-109,-149,-187,-218,-229,-215,-191,-169,-145,-106,-55,-15,-4,-22,-49,-66,-64,-52,-41,-34,-26,-12,7,23,27,12,-20,-54,-73,-72,-55,-27,12,57,96,115,111,90,62,40,30,30,36,52,82,119,151,172,185,185,165,133,108,100,96,86,78,85,103,116,125,136,139,111,53}
},
{ // H30e168a.wav
{2,0,-3,-2,-2,-7,-8,-2,2,-4,-7,2,7,-4,-14,-2,11,-4,-25,-10,20,7,-32,-22,30,25,-42,-39,55,55,-16,405,1871,3862,4711,3101,-369,-3457,-4272,-2887,-937,170,501,1209,3083,5512,6871,6022,3515,1234,745,1976,3511,4014,3221,1743,309,-650,-992,-823,-496,-417,-737,-1266,-1702,-1870,-1746,-1394,-955,-625,-543,-693,-946,-1181,-1316,-1277,-1018,-612,-263,-160,-319,-555,-639,-493,-272,-223,-426,-686,-736,-535,-303,-255,-376,-499,-531,-513,-488,-436,-347,-281,-289,-335,-371,-410,-480,-529,-472,-325,-214,-228,-328,-420,-474,-520,-572,-609,-623,-619,-582,-493,-375,-297,-295,-336,-368,-377,-380,-383,-379,-384,-423,-492,-542,-532,-480,-452,-489,-558,-595,-574,-531,-509,-498,-467,-412,-368,-359,-366,-365,-369,-402,-449,-467,-437,-382,-326,-274,-232,-215,-227,-245,-247,-240,-246,-267,-287,-299,-312,-327,-324,-290,-244,-216,-214,-223,-231,-239,-250,-264,-276,-276,-257,-221,-185,-163,-154,-150,-149,-158,-179,-203,-217,-216,-202,-182,-162,-146,-128,-105,-79,-59,-47,-44,-56,-88,-129,-154,-148,-126,-111,-99,-75,-43,-30,-50,-87,-112,-113,-95,-67,-37,-12,2,2,-11,-32,-54,-66,-63,-47,-27,-10,-1,0,-2,3,17,30,35,37,40,37,19,-7,-22,-16,7,44,92,134,151,147,141,136,109,54},
{6,-4,-6,8,12,-6,-14,4,12,-15,-30,4,32,-4,-46,-7,52,9,-72,-21,88,19,8,924,3211,5706,6140,3296,-1460,-5142,-5711,-3644,-1096,304,841,2081,4896,8115,9323,7244,3288,451,597,2928,5066,5282,3591,1128,-968,-2091,-2176,-1597,-984,-856,-1292,-1959,-2428,-2469,-2138,-1695,-1398,-1281,-1142,-830,-512,-540,-988,-1451,-1440,-943,-459,-440,-802,-1067,-914,-502,-243,-371,-753,-1036,-959,-564,-159,-31,-173,-312,-252,-115,-168,-455,-742,-809,-695,-593,-604,-676,-730,-742,-718,-669,-625,-617,-627,-621,-611,-654,-764,-873,-902,-837,-703,-518,-320,-201,-246,-425,-593,-632,-552,-454,-399,-360,-297,-219,-175,-186,-229,-269,-300,-329,-358,-390,-442,-516,-567,-533,-408,-264,-182,-175,-208,-256,-312,-356,-351,-288,-210,-161,-143,-135,-134,-159,-209,-253,-269,-272,-293,-335,-367,-364,-331,-291,-255,-218,-183,-166,-179,-210,-231,-230,-222,-225,-233,-227,-201,-168,-142,-127,-120,-124,-140,-165,-191,-211,-219,-212,-191,-163,-136,-113,-89,-67,-58,-74,-114,-162,-198,-211,-202,-179,-149,-114,-75,-36,-7,-1,-21,-54,-79,-85,-73,-58,-48,-41,-27,-8,3,-5,-30,-61,-86,-93,-79,-47,-7,32,68,99,116,110,83,50,28,22,30,49,76,100,115,125,132,132,124,115,110,107,102,98,98,96,92,103,135,162,141,71}
},
{ // H30e174a.wav
{-1,1,1,-5,-6,3,6,-3,-7,5,13,0,-12,1,14,-4,-24,-4,26,5,-36,-15,43,25,-53,-36,71,54,-16,529,2244,4417,5154,3126,-813,-4114,-4790,-3064,-815,409,731,1484,3557,6206,7537,6313,3334,875,632,2268,3995,4351,3241,1502,-43,-994,-1269,-1017,-617,-497,-821,-1395,-1882,-2059,-1893,-1494,-1050,-734,-613,-658,-831,-1094,-1324,-1343,-1089,-713,-432,-329,-348,-428,-534,-592,-525,-396,-387,-559,-726,-664,-404,-195,-203,-353,-478,-514,-498,-470,-448,-456,-495,-510,-464,-418,-457,-548,-551,-408,-235,-192,-311,-490,-626,-692,-705,-686,-647,-592,-509,-396,-291,-248,-274,-313,-305,-253,-217,-255,-364,-479,-527,-493,-431,-403,-426,-473,-526,-579,-616,-611,-566,-508,-457,-407,-357,-330,-343,-375,-393,-395,-390,-369,-320,-271,-271,-317,-346,-309,-231,-176,-172,-199,-230,-257,-281,-304,-324,-336,-328,-297,-258,-231,-221,-218,-218,-225,-236,-244,-248,-253,-259,-254,-233,-200,-165,-137,-125,-132,-151,-172,-190,-207,-222,-225,-208,-178,-146,-117,-89,-58,-31,-25,-49,-96,-142,-164,-151,-116,-83,-63,-52,-44,-42,-56,-82,-106,-113,-103,-83,-62,-43,-28,-20,-20,-30,-48,-67,-75,-60,-29,-2,6,2,2,14,30,46,62,73,69,50,29,16,6,-7,-13,0,33,76,122,163,185,178,156,142,131,100,46},
{-10,1,6,-3,-7,6,11,-5,-14,4,14,-12,-31,-1,30,0,-43,-10,50,15,-67,-28,84,34,2,806,2941,5369,5885,3208,-1411,-5032,-5575,-3472,-878,527,968,1985,4516,7540,8770,6901,3173,431,532,2767,4830,5030,3409,1113,-778,-1764,-1839,-1343,-823,-735,-1146,-1762,-2217,-2316,-2075,-1668,-1309,-1085,-896,-665,-546,-774,-1259,-1534,-1266,-700,-398,-566,-849,-830,-532,-309,-380,-636,-839,-852,-670,-397,-206,-219,-343,-364,-238,-173,-329,-572,-658,-579,-545,-653,-756,-713,-601,-571,-616,-613,-523,-435,-423,-485,-594,-728,-837,-861,-808,-740,-668,-528,-312,-138,-140,-301,-475,-536,-480,-382,-311,-292,-300,-287,-235,-186,-210,-322,-456,-527,-519,-490,-497,-531,-541,-501,-440,-401,-377,-328,-251,-197,-208,-259,-291,-283,-257,-229,-192,-147,-122,-136,-182,-245,-311,-358,-361,-328,-302,-312,-332,-317,-265,-214,-191,-187,-188,-196,-211,-225,-233,-244,-260,-262,-234,-186,-146,-126,-120,-123,-140,-173,-206,-220,-213,-202,-195,-184,-155,-113,-77,-60,-58,-69,-96,-137,-172,-179,-158,-131,-112,-94,-67,-34,-13,-15,-36,-64,-85,-93,-88,-76,-61,-46,-31,-15,-3,-9,-39,-81,-110,-108,-80,-42,0,44,84,108,114,107,89,59,29,19,31,49,60,68,79,87,89,96,113,126,122,113,114,121,121,120,135,151,129,64}
},
{ // H30e180a.wav
{1,-7,-9,0,5,-3,-7,3,9,-5,-14,1,14,-8,-29,-4,28,3,-40,-13,46,19,-62,-33,80,45,-12,665,2609,4932,5552,3152,-1186,-4668,-5241,-3261,-789,538,902,1761,4047,6886,8170,6603,3206,584,545,2540,4460,4702,3282,1251,-431,-1357,-1525,-1175,-736,-629,-975,-1553,-2031,-2196,-2016,-1609,-1176,-872,-709,-647,-725,-994,-1317,-1398,-1116,-710,-510,-551,-595,-506,-409,-451,-579,-644,-618,-583,-567,-519,-427,-345,-293,-254,-257,-358,-509,-568,-500,-458,-566,-718,-713,-552,-442,-500,-594,-548,-380,-258,-291,-448,-640,-798,-869,-827,-715,-607,-526,-436,-326,-244,-228,-248,-255,-256,-294,-374,-439,-435,-370,-300,-275,-305,-369,-443,-514,-572,-603,-598,-565,-524,-482,-435,-392,-375,-392,-410,-390,-325,-248,-197,-195,-240,-304,-338,-309,-235,-168,-143,-161,-209,-274,-337,-367,-355,-322,-299,-290,-279,-258,-233,-213,-202,-206,-222,-235,-237,-239,-254,-272,-267,-233,-191,-161,-141,-129,-130,-150,-175,-191,-200,-215,-227,-217,-184,-149,-124,-98,-62,-34,-39,-76,-121,-151,-162,-155,-132,-97,-64,-43,-33,-28,-34,-60,-98,-122,-117,-88,-59,-44,-38,-30,-20,-23,-45,-72,-86,-81,-66,-46,-21,7,32,52,72,91,98,85,59,37,29,29,29,24,17,17,34,71,113,140,146,143,140,137,137,143,141,111,53},
{1,-7,-9,0,5,-3,-7,3,9,-5,-14,1,14,-8,-29,-4,28,3,-40,-13,46,19,-62,-33,80,45,-12,665,2609,4932,5552,3152,-1186,-4668,-5241,-3261,-789,538,902,1761,4047,6886,8170,6603,3206,584,545,2540,4460,4702,3282,1251,-431,-1357,-1525,-1175,-736,-629,-975,-1553,-2031,-2196,-2016,-1609,-1176,-872,-709,-647,-725,-994,-1317,-1398,-1116,-710,-510,-551,-595,-506,-409,-451,-579,-644,-618,-583,-567,-519,-427,-345,-293,-254,-257,-358,-509,-568,-500,-458,-566,-718,-713,-552,-442,-500,-594,-548,-380,-258,-291,-448,-640,-798,-869,-827,-715,-607,-526,-436,-326,-244,-228,-248,-255,-256,-294,-374,-439,-435,-370,-300,-275,-305,-369,-443,-514,-572,-603,-598,-565,-524,-482,-435,-392,-375,-392,-410,-390,-325,-248,-197,-195,-240,-304,-338,-309,-235,-168,-143,-161,-209,-274,-337,-367,-355,-322,-299,-290,-279,-258,-233,-213,-202,-206,-222,-235,-237,-239,-254,-272,-267,-233,-191,-161,-141,-129,-130,-150,-175,-191,-200,-215,-227,-217,-184,-149,-124,-98,-62,-34,-39,-76,-121,-151,-162,-155,-132,-97,-64,-43,-33,-28,-34,-60,-98,-122,-117,-88,-59,-44,-38,-30,-20,-23,-45,-72,-86,-81,-66,-46,-21,7,32,52,72,91,98,85,59,37,29,29,29,24,17,17,34,71,113,140,146,143,140,137,137,143,141,111,53}
}
},
{ // elev40
{ // H40e000a.wav
{-18,5,19,-6,-23,2,16,-9,-14,23,23,-28,-28,43,40,-65,-74,68,98,-90,-156,87,217,-81,-293,74,391,-59,-241,1602,4735,5903,3647,491,-1143,-3096,-8075,-13194,-11630,-2008,8081,10975,8399,8020,12214,15097,11221,2876,-3393,-4471,-2198,660,2725,3127,1483,-785,-1444,-514,-493,-2620,-4651,-3833,-948,517,-1076,-3508,-3716,-1535,473,331,-1244,-2135,-1446,-249,46,-591,-1057,-654,161,557,317,-153,-429,-407,-246,-241,-554,-899,-766,-197,2,-714,-1676,-1679,-589,402,308,-460,-787,-311,329,474,137,-277,-501,-517,-407,-289,-253,-267,-215,-91,-46,-201,-471,-649,-590,-306,57,292,268,64,-95,-60,87,157,61,-140,-348,-520,-662,-789,-904,-985,-998,-948,-894,-882,-892,-884,-879,-944,-1060,-1090,-919,-604,-333,-238,-288,-372,-420,-428,-405,-366,-361,-436,-561,-637,-610,-533,-477,-444,-396,-338,-304,-295,-283,-274,-299,-347,-356,-306,-241,-202,-182,-162,-154,-168,-188,-203,-236,-291,-331,-324,-293,-269,-232,-154,-69,-34,-47,-52,-35,-43,-101,-164,-183,-169,-151,-126,-79,-30,-16,-36,-57,-64,-69,-86,-105,-106,-81,-36,11,41,54,62,66,46,-5,-67,-110,-127,-128,-117,-90,-52,-13,23,52,60,35,-8,-42,-57,-63,-65,-58,-32,5,42,71,88,87,70,45,17,-7,-17,-4,23,54,92,140,169,142,66},
{-18,5,19,-6,-23,2,16,-9,-14,23,23,-28,-28,43,40,-65,-74,68,98,-90,-156,87,217,-81,-293,74,391,-59,-241,1602,4735,5903,3647,491,-1143,-3096,-8075,-13194,-11630,-2008,8081,10975,8399,8020,12214,15097,11221,2876,-3393,-4471,-2198,660,2725,3127,1483,-785,-1444,-514,-493,-2620,-4651,-3833,-948,517,-1076,-3508,-3716,-1535,473,331,-1244,-2135,-1446,-249,46,-591,-1057,-654,161,557,317,-153,-429,-407,-246,-241,-554,-899,-766,-197,2,-714,-1676,-1679,-589,402,308,-460,-787,-311,329,474,137,-277,-501,-517,-407,-289,-253,-267,-215,-91,-46,-201,-471,-649,-590,-306,57,292,268,64,-95,-60,87,157,61,-140,-348,-520,-662,-789,-904,-985,-998,-948,-894,-882,-892,-884,-879,-944,-1060,-1090,-919,-604,-333,-238,-288,-372,-420,-428,-405,-366,-361,-436,-561,-637,-610,-533,-477,-444,-396,-338,-304,-295,-283,-274,-299,-347,-356,-306,-241,-202,-182,-162,-154,-168,-188,-203,-236,-291,-331,-324,-293,-269,-232,-154,-69,-34,-47,-52,-35,-43,-101,-164,-183,-169,-151,-126,-79,-30,-16,-36,-57,-64,-69,-86,-105,-106,-81,-36,11,41,54,62,66,46,-5,-67,-110,-127,-128,-117,-90,-52,-13,23,52,60,35,-8,-42,-57,-63,-65,-58,-32,5,42,71,88,87,70,45,17,-7,-17,-4,23,54,92,140,169,142,66}
},
{ // H40e006a.wav
{18,3,-14,0,17,2,-16,-3,13,-2,-13,13,22,-16,-27,27,42,-36,-70,29,83,-42,-131,26,174,-4,-219,-12,288,35,-217,978,3505,4979,3715,1156,-514,-2129,-6060,-10971,-11483,-4959,3931,8343,7606,7156,10354,13862,12520,6184,-472,-3476,-2677,-186,1948,2437,1154,-456,-617,473,628,-1337,-3670,-3800,-1740,-79,-652,-2406,-3010,-1775,-223,-4,-1008,-1769,-1356,-366,8,-525,-1130,-981,-200,447,460,0,-418,-417,-51,219,-7,-522,-681,-315,-129,-768,-1733,-1856,-867,161,190,-498,-825,-360,312,526,281,-35,-209,-281,-309,-314,-340,-388,-352,-175,-5,-70,-380,-660,-605,-183,328,564,370,-80,-442,-483,-251,15,102,-36,-297,-538,-688,-780,-874,-961,-969,-875,-757,-706,-712,-700,-657,-670,-806,-998,-1079,-946,-658,-386,-265,-301,-406,-486,-501,-469,-438,-451,-520,-609,-661,-649,-582,-492,-410,-356,-326,-301,-272,-267,-315,-386,-419,-393,-347,-311,-259,-176,-107,-112,-186,-263,-301,-311,-313,-309,-302,-297,-280,-221,-126,-44,-7,0,0,-16,-62,-118,-154,-166,-166,-154,-118,-71,-40,-31,-25,-20,-33,-66,-93,-90,-67,-46,-30,-7,23,45,51,39,13,-25,-71,-112,-141,-150,-134,-94,-44,2,39,66,75,57,18,-27,-66,-92,-97,-73,-27,18,47,65,84,95,83,49,15,-5,-13,-7,20,56,70,44},
{21,9,-27,-19,15,7,-21,2,35,-5,-48,9,69,-17,-117,-12,141,26,-196,-78,237,135,-293,-221,349,309,-364,349,3510,6501,5859,2226,-701,-2342,-6222,-12805,-15467,-8191,4813,12711,11459,8300,10815,16248,15919,7450,-2389,-6484,-4535,-683,2066,2999,2095,62,-1236,-783,-259,-1865,-4664,-5249,-2428,725,599,-2438,-4650,-3567,-628,968,29,-1735,-2170,-1125,-145,-269,-898,-902,-155,513,514,60,-356,-503,-403,-239,-323,-753,-1075,-760,-111,-92,-990,-1803,-1484,-357,334,60,-471,-445,64,438,359,-14,-406,-642,-637,-455,-296,-264,-245,-134,-61,-197,-452,-577,-512,-429,-415,-325,-27,365,585,499,221,-24,-98,-55,-69,-250,-527,-741,-846,-923,-1033,-1122,-1123,-1070,-1045,-1066,-1082,-1066,-1030,-967,-847,-681,-533,-428,-327,-207,-138,-191,-318,-397,-389,-385,-460,-564,-593,-534,-458,-415,-394,-380,-373,-355,-307,-255,-258,-306,-321,-268,-213,-216,-235,-197,-121,-88,-123,-180,-226,-271,-310,-317,-295,-276,-252,-176,-61,11,-2,-42,-47,-46,-94,-173,-213,-196,-165,-136,-90,-32,-9,-40,-83,-96,-89,-95,-115,-124,-105,-62,-9,34,58,65,68,64,31,-33,-98,-137,-149,-144,-118,-67,-8,35,60,71,63,28,-18,-54,-77,-96,-103,-76,-18,40,76,91,92,75,40,3,-17,-14,6,38,78,114,138,154,167,162,121,56}
},
{ // H40e013a.wav
{-10,5,13,-2,-9,6,12,-5,-13,2,9,-5,-4,15,8,-21,-9,33,16,-49,-38,50,46,-72,-81,78,121,-77,-159,87,208,-93,11,1495,3584,4196,2700,759,-506,-2550,-6660,-10264,-8897,-2252,4439,6586,5749,6760,10601,13026,10359,4157,-956,-2347,-943,990,1943,1528,341,-362,122,846,170,-1959,-3564,-3002,-1067,-20,-844,-2254,-2484,-1366,-270,-293,-1068,-1442,-954,-278,-227,-734,-1044,-712,-49,356,275,-69,-316,-253,26,180,-12,-331,-403,-310,-557,-1252,-1712,-1294,-350,139,-179,-644,-550,-12,378,387,247,147,21,-186,-365,-430,-435,-417,-316,-142,-75,-257,-553,-651,-390,75,421,435,145,-238,-491,-529,-411,-247,-122,-94,-202,-433,-698,-889,-952,-903,-796,-694,-650,-669,-689,-650,-585,-600,-740,-907,-958,-855,-687,-542,-431,-343,-315,-387,-513,-591,-584,-555,-567,-602,-614,-598,-577,-546,-478,-383,-306,-276,-287,-323,-373,-409,-401,-357,-320,-308,-291,-244,-189,-167,-187,-237,-298,-347,-360,-334,-294,-257,-211,-140,-67,-29,-25,-27,-26,-38,-69,-101,-123,-139,-148,-135,-98,-61,-42,-33,-25,-25,-38,-53,-58,-61,-68,-67,-44,-13,3,3,5,9,-4,-41,-83,-110,-127,-139,-132,-92,-28,29,61,72,71,53,12,-42,-86,-106,-100,-73,-29,25,68,86,84,79,72,54,25,3,6,23,28,14},
{-9,-28,2,18,-14,-17,30,27,-41,-35,60,52,-92,-103,89,135,-109,-202,109,284,-98,-387,73,501,-59,-364,1828,5741,7379,4784,835,-1602,-4635,-11160,-17181,-14265,-1287,11628,14758,10715,9708,14893,18517,13284,2097,-6237,-7301,-3619,551,2990,2967,799,-1436,-1460,-28,-418,-3667,-6352,-4874,-539,1795,-234,-3820,-4787,-2476,168,532,-935,-1987,-1523,-524,-346,-941,-1190,-537,392,741,396,-177,-572,-643,-443,-267,-468,-919,-1004,-494,-81,-505,-1398,-1671,-982,-158,8,-275,-325,18,357,397,171,-197,-573,-736,-577,-316,-244,-298,-208,-4,-24,-362,-681,-718,-663,-760,-807,-393,427,1042,968,397,-76,-131,24,31,-192,-448,-574,-625,-740,-946,-1145,-1271,-1351,-1416,-1419,-1289,-1049,-823,-725,-759,-833,-831,-689,-423,-127,66,72,-73,-240,-340,-396,-481,-581,-605,-515,-398,-357,-391,-421,-406,-363,-314,-267,-248,-274,-308,-295,-243,-211,-204,-168,-93,-49,-89,-170,-231,-267,-300,-316,-296,-268,-255,-214,-102,28,77,38,-9,-24,-58,-149,-241,-259,-207,-141,-86,-35,-2,-12,-61,-109,-132,-138,-141,-145,-138,-104,-42,23,58,61,61,73,67,10,-81,-154,-183,-177,-150,-99,-28,39,84,110,115,86,20,-58,-113,-132,-126,-100,-53,7,59,86,85,69,46,22,6,7,29,59,81,98,125,160,183,178,153,123,86,40}
},
{ // H40e019a.wav
{5,-5,-8,4,8,-3,-8,5,10,-4,-11,1,7,-3,-2,12,5,-16,-7,26,13,-39,-32,36,36,-53,-62,58,91,-59,-121,66,155,-73,26,1218,2921,3525,2499,1041,-64,-1945,-5495,-8587,-7701,-2619,2608,4534,4471,6031,9608,11618,9312,4274,285,-821,-49,922,1328,1115,533,158,407,735,67,-1635,-2913,-2472,-886,18,-656,-1922,-2254,-1377,-375,-251,-836,-1225,-955,-456,-350,-661,-883,-658,-144,254,307,80,-173,-207,-3,178,75,-232,-448,-525,-721,-1099,-1264,-890,-269,-8,-231,-456,-290,106,355,367,285,153,-83,-343,-455,-409,-370,-410,-415,-314,-234,-323,-508,-545,-301,90,342,269,-63,-405,-551,-498,-390,-319,-252,-168,-166,-354,-673,-918,-951,-824,-688,-627,-624,-634,-629,-604,-578,-588,-656,-747,-797,-782,-733,-673,-582,-451,-338,-325,-417,-536,-614,-654,-683,-692,-653,-579,-520,-506,-516,-503,-441,-352,-290,-298,-359,-407,-393,-341,-310,-316,-321,-303,-275,-257,-245,-236,-243,-272,-297,-291,-263,-237,-210,-163,-98,-43,-17,-12,-20,-39,-63,-87,-109,-129,-139,-127,-95,-62,-40,-23,-12,-16,-35,-52,-62,-77,-99,-110,-88,-48,-20,-13,-11,-7,-17,-46,-77,-95,-103,-110,-107,-78,-27,24,52,57,48,31,3,-36,-74,-98,-100,-79,-41,7,55,91,108,103,81,49,19,0,-4,-1},
{-10,19,-4,-22,20,39,-25,-51,37,74,-55,-129,34,156,-41,-227,12,303,36,-391,-105,489,160,-519,898,4838,7803,6608,2773,-427,-3857,-10704,-18386,-18064,-5833,9707,16452,13461,10790,14716,19397,15962,4983,-4764,-7348,-4638,-1133,1253,2323,1600,-464,-1695,-1016,-574,-2727,-5909,-6098,-2406,1233,909,-2441,-4525,-3130,-371,500,-926,-2321,-1934,-555,-10,-695,-1391,-1092,-135,573,650,271,-301,-768,-805,-495,-414,-824,-1116,-678,8,-108,-1070,-1742,-1368,-540,-188,-302,-239,155,438,362,118,-142,-477,-770,-719,-340,-55,-97,-185,-48,94,-134,-668,-1093,-1199,-1103,-869,-385,312,869,947,607,200,-27,-97,-137,-198,-265,-346,-470,-648,-868,-1121,-1403,-1662,-1781,-1648,-1269,-828,-578,-639,-890,-1077,-1031,-768,-413,-72,184,281,180,-56,-290,-438,-509,-539,-519,-454,-400,-403,-429,-411,-358,-320,-300,-262,-221,-235,-303,-339,-293,-211,-155,-116,-72,-49,-78,-137,-189,-242,-313,-362,-346,-290,-242,-187,-79,49,108,79,32,12,-22,-102,-184,-212,-197,-174,-137,-67,0,11,-31,-74,-98,-125,-164,-193,-190,-157,-101,-31,35,75,88,87,61,-5,-98,-173,-202,-192,-159,-106,-36,34,94,138,152,117,39,-44,-99,-128,-138,-124,-83,-33,3,29,60,89,97,81,59,48,47,51,65,92,129,167,195,198,174,134,96,66,39,14}
},
{ // H40e026a.wav
{-5,4,4,-6,-7,4,6,-3,-4,7,7,-5,-7,3,6,-2,0,8,0,-12,3,22,-1,-35,-11,38,14,-54,-29,69,54,-75,-74,89,92,-95,177,1354,2694,2962,2067,1001,-20,-2087,-5389,-7623,-6227,-1883,1967,3373,4026,6263,9321,10183,7589,3563,828,103,408,836,1102,1050,661,353,480,580,-154,-1556,-2362,-1748,-481,-47,-863,-1874,-1922,-1051,-277,-308,-847,-1133,-879,-480,-404,-624,-735,-475,5,346,315,-13,-324,-328,-43,212,164,-116,-378,-551,-744,-922,-849,-468,-99,-57,-247,-316,-140,84,176,167,121,4,-189,-342,-386,-416,-520,-585,-459,-228,-166,-373,-608,-559,-197,195,306,65,-328,-593,-588,-398,-220,-169,-213,-279,-365,-512,-708,-861,-885,-786,-651,-574,-585,-630,-634,-578,-530,-563,-663,-737,-723,-661,-632,-635,-601,-503,-404,-384,-443,-524,-596,-669,-734,-742,-672,-572,-512,-508,-522,-515,-475,-408,-337,-297,-313,-361,-387,-367,-330,-315,-327,-335,-315,-274,-237,-220,-216,-210,-203,-217,-257,-283,-247,-155,-64,-20,-11,-8,-10,-37,-84,-119,-123,-110,-98,-86,-67,-48,-41,-44,-47,-46,-46,-54,-72,-95,-111,-112,-99,-77,-48,-17,4,2,-19,-40,-51,-63,-87,-107,-97,-56,-16,4,13,29,44,38,5,-35,-64,-80,-85,-68,-27,19,51,70,87,99,88,49,8,-8},
{17,-26,-15,41,18,-57,-26,75,30,-121,-82,127,105,-172,-180,191,265,-210,-381,221,514,-263,-377,2348,6533,8121,5785,2293,-940,-6746,-16001,-21659,-15159,1246,14681,16603,12577,13105,18677,19968,11634,-407,-6998,-6092,-2280,417,1428,1181,-115,-1308,-1045,-295,-1654,-5198,-7253,-4920,-329,1645,-644,-3851,-4082,-1457,697,214,-1707,-2594,-1769,-612,-382,-819,-972,-577,-75,216,300,118,-367,-801,-764,-489,-605,-1088,-1157,-505,59,-273,-1109,-1455,-1121,-752,-646,-395,211,682,565,106,-216,-372,-578,-739,-596,-243,-24,20,134,273,25,-724,-1416,-1436,-892,-441,-420,-470,-109,569,983,761,146,-327,-401,-247,-137,-155,-255,-441,-760,-1176,-1560,-1797,-1825,-1605,-1159,-674,-446,-623,-1032,-1325,-1284,-951,-498,-59,280,426,314,6,-306,-455,-442,-392,-391,-425,-440,-421,-388,-357,-339,-345,-355,-324,-249,-197,-220,-276,-285,-243,-200,-172,-126,-62,-31,-62,-129,-203,-285,-362,-387,-344,-272,-205,-122,-7,89,107,73,50,39,-16,-120,-198,-199,-151,-111,-86,-53,-20,-12,-36,-66,-89,-116,-159,-206,-220,-178,-94,-12,34,49,52,46,9,-65,-145,-197,-212,-192,-141,-67,8,68,113,142,137,83,1,-67,-103,-120,-133,-132,-104,-50,9,58,94,116,118,96,61,36,37,61,94,127,159,186,198,187,154,113,77,56,48,41,25}
},
{ // H40e032a.wav
{3,-4,-4,3,3,-4,-6,2,5,-2,-3,4,5,-4,-5,3,4,-4,-3,7,5,-8,-3,14,5,-20,-10,25,14,-36,-27,45,45,-50,-65,54,79,-60,93,956,2089,2535,2053,1282,441,-1257,-4088,-6401,-5992,-2884,500,2319,3363,5313,7873,8921,7302,4248,1791,727,585,785,1045,1092,778,429,457,608,171,-918,-1729,-1451,-500,-68,-668,-1567,-1736,-1045,-296,-217,-700,-1077,-941,-516,-266,-342,-500,-469,-236,0,58,-65,-197,-138,136,402,399,105,-256,-484,-562,-550,-459,-313,-227,-285,-394,-388,-241,-76,20,53,21,-113,-308,-434,-441,-427,-467,-481,-385,-278,-343,-558,-665,-470,-83,192,160,-121,-432,-574,-494,-294,-141,-139,-258,-402,-514,-609,-705,-781,-797,-747,-673,-628,-623,-625,-600,-558,-543,-572,-610,-610,-575,-559,-586,-623,-627,-593,-547,-506,-481,-492,-550,-628,-674,-672,-654,-645,-626,-573,-507,-468,-456,-430,-374,-327,-327,-361,-389,-393,-384,-364,-326,-278,-247,-239,-238,-228,-215,-206,-199,-190,-186,-194,-200,-181,-135,-83,-48,-36,-35,-39,-49,-70,-97,-113,-108,-90,-79,-81,-82,-74,-65,-62,-63,-61,-65,-84,-111,-124,-113,-89,-63,-34,-1,20,15,-9,-35,-59,-84,-104,-104,-80,-46,-19,2,24,42,44,21,-12,-43,-65,-74,-63,-34,-2,20,37,57,73,66,34},
{-28,28,45,-35,-60,46,81,-69,-139,52,173,-60,-252,31,335,16,-436,-86,562,159,-666,684,4719,8041,7614,4716,1666,-3303,-12825,-22290,-21321,-6755,10648,17749,14629,12583,17416,21800,16638,4114,-5484,-6665,-3070,-168,883,1205,707,-793,-1767,-1202,-1023,-3492,-6981,-7263,-3295,809,818,-2377,-4286,-2669,143,844,-726,-2117,-1856,-941,-822,-1325,-1316,-548,170,309,141,-61,-432,-895,-954,-534,-339,-805,-1284,-979,-252,-129,-739,-1192,-1015,-771,-926,-976,-305,688,1049,548,-166,-543,-644,-665,-560,-299,-51,93,234,306,-31,-821,-1451,-1276,-524,-100,-438,-930,-727,158,885,817,177,-371,-504,-397,-289,-212,-169,-300,-721,-1305,-1759,-1881,-1659,-1200,-702,-430,-548,-926,-1232,-1254,-1065,-835,-595,-280,78,312,296,84,-155,-295,-340,-368,-422,-467,-442,-344,-243,-215,-272,-358,-393,-343,-253,-212,-250,-298,-278,-215,-183,-181,-139,-49,-5,-64,-158,-204,-221,-273,-340,-353,-306,-249,-184,-71,67,141,119,69,50,25,-52,-147,-187,-160,-114,-73,-31,12,28,8,-28,-65,-105,-150,-187,-197,-172,-117,-54,-12,0,0,4,-1,-43,-115,-177,-201,-192,-165,-123,-61,20,103,157,157,105,30,-39,-93,-139,-168,-158,-104,-26,50,107,136,134,106,67,35,24,37,66,95,121,153,192,210,193,160,135,111,70,35,45,90,106,60}
},
{ // H40e039a.wav
{1,6,4,-2,-2,4,3,-3,-2,4,6,0,0,6,6,-2,-2,5,4,-3,0,8,3,-7,1,15,5,-14,-4,22,10,-27,-14,37,26,-42,-33,58,46,-55,161,959,1888,2211,1838,1260,472,-1229,-3861,-5827,-5348,-2650,230,1944,3199,5151,7306,7966,6445,3896,1896,978,777,883,1055,1034,733,471,544,652,216,-711,-1315,-1025,-308,-128,-755,-1464,-1451,-769,-183,-240,-706,-951,-726,-368,-307,-543,-712,-550,-158,165,236,112,3,92,367,600,538,166,-270,-516,-531,-450,-399,-409,-453,-479,-429,-299,-181,-172,-253,-304,-259,-176,-156,-233,-367,-487,-530,-472,-378,-369,-492,-631,-599,-334,20,213,107,-210,-497,-567,-436,-271,-206,-239,-312,-412,-554,-698,-774,-768,-737,-723,-710,-672,-629,-605,-576,-521,-474,-486,-539,-567,-554,-558,-616,-679,-673,-603,-535,-508,-503,-501,-521,-572,-622,-633,-619,-615,-622,-599,-531,-451,-406,-403,-412,-406,-389,-377,-375,-375,-362,-331,-293,-263,-246,-228,-204,-184,-180,-183,-175,-161,-162,-184,-204,-196,-161,-115,-71,-38,-23,-28,-48,-75,-101,-123,-134,-130,-110,-85,-70,-71,-77,-73,-55,-45,-62,-97,-119,-115,-99,-87,-67,-25,21,38,20,-11,-36,-62,-91,-108,-99,-73,-48,-24,4,30,41,35,20,-3,-34,-64,-75,-62,-38,-13,11,29,33,19},
{41,24,-54,-35,74,52,-112,-112,107,144,-137,-226,133,316,-122,-435,94,583,-85,-662,1352,5584,8365,7533,4832,1489,-5171,-16243,-24490,-19718,-2394,14007,18113,13825,13193,19069,21929,14260,1241,-6375,-5350,-1241,722,691,576,320,-570,-1166,-1077,-2033,-5107,-7791,-6611,-2240,661,-706,-3741,-4097,-1313,1091,562,-1524,-2330,-1339,-367,-629,-1350,-1343,-652,-50,205,301,116,-545,-1231,-1231,-682,-463,-854,-1116,-723,-238,-398,-944,-1113,-881,-855,-1089,-890,21,902,943,281,-335,-542,-551,-564,-486,-221,106,276,165,-214,-674,-894,-711,-387,-374,-751,-1068,-855,-170,473,637,324,-147,-477,-580,-528,-426,-351,-390,-640,-1100,-1577,-1775,-1533,-990,-503,-383,-664,-1074,-1268,-1116,-792,-560,-499,-473,-349,-159,-25,5,-14,-26,-59,-173,-365,-535,-570,-447,-265,-151,-154,-218,-257,-245,-222,-244,-312,-368,-352,-274,-198,-161,-128,-67,-14,-28,-98,-155,-181,-218,-283,-331,-328,-294,-240,-140,5,118,132,84,55,53,14,-77,-153,-165,-137,-106,-67,-5,56,72,37,-16,-62,-102,-142,-174,-178,-145,-91,-51,-40,-36,-12,16,5,-54,-125,-175,-206,-219,-193,-123,-40,31,95,150,161,99,-5,-92,-141,-169,-175,-132,-42,55,123,159,165,136,84,36,15,18,37,70,107,129,142,169,202,206,166,122,107,99,68,44,75,138,152,85}
},
{ // H40e045a.wav
{2,-1,-1,2,1,-2,-1,1,-2,-5,-1,3,2,-3,-1,4,2,-4,-2,3,-1,-6,-1,6,-1,-9,1,13,2,-15,-3,17,1,-28,-12,31,17,-37,-22,45,18,-46,209,936,1697,1928,1655,1252,540,-1149,-3660,-5420,-4911,-2484,60,1678,3026,4939,6810,7209,5750,3554,1915,1168,954,960,1026,959,703,521,619,705,306,-480,-957,-707,-187,-177,-783,-1307,-1127,-452,-38,-294,-864,-1114,-850,-434,-267,-356,-413,-247,61,309,378,306,240,325,533,623,369,-146,-565,-631,-457,-343,-412,-521,-521,-451,-449,-538,-599,-517,-316,-125,-56,-113,-224,-330,-420,-479,-480,-436,-433,-539,-677,-659,-390,-4,235,169,-128,-442,-592,-547,-405,-290,-260,-299,-379,-489,-617,-723,-772,-775,-769,-763,-730,-657,-571,-505,-467,-459,-487,-540,-582,-591,-587,-601,-626,-628,-600,-572,-563,-549,-504,-455,-455,-515,-584,-609,-595,-580,-585,-588,-561,-504,-450,-426,-427,-426,-405,-372,-350,-345,-340,-321,-292,-262,-229,-187,-147,-133,-150,-175,-188,-193,-200,-205,-195,-172,-150,-129,-97,-60,-41,-53,-80,-103,-121,-142,-156,-146,-113,-81,-67,-69,-70,-65,-62,-69,-81,-89,-94,-98,-96,-76,-38,-2,12,7,-4,-15,-37,-70,-95,-95,-79,-67,-61,-44,-9,24,36,29,16,-3,-31,-60,-72,-63,-46,-32,-20,-9},
{1,-61,-2,84,-1,-139,-44,155,62,-214,-134,249,214,-294,-335,333,476,-427,-431,2413,6601,8619,7512,4904,323,-8973,-20878,-25517,-15170,4205,17486,17629,12911,14175,19963,19876,10049,-1521,-5781,-2996,411,1098,703,767,429,-774,-1588,-1688,-2846,-5739,-7678,-5864,-1815,15,-1995,-4554,-3964,-851,1140,287,-1543,-2012,-1200,-631,-774,-849,-466,-124,-128,-128,5,-194,-851,-1274,-983,-572,-791,-1293,-1162,-434,-97,-562,-1100,-1077,-882,-1066,-1247,-678,456,1110,737,-92,-562,-545,-413,-343,-213,-13,37,-184,-470,-500,-222,41,-91,-631,-1169,-1265,-871,-309,103,268,220,5,-295,-550,-694,-771,-831,-868,-910,-1037,-1231,-1305,-1122,-800,-596,-613,-743,-865,-948,-959,-826,-556,-309,-238,-327,-428,-433,-341,-206,-79,-9,-40,-171,-345,-481,-524,-463,-330,-184,-78,-42,-73,-144,-223,-284,-323,-345,-343,-304,-234,-161,-110,-79,-51,-30,-39,-96,-185,-266,-307,-308,-287,-248,-178,-73,39,110,121,91,52,8,-51,-119,-169,-174,-133,-71,-11,35,58,51,17,-27,-57,-77,-108,-149,-167,-138,-81,-42,-29,-16,12,28,-1,-72,-154,-213,-232,-210,-160,-100,-39,29,94,123,93,17,-65,-127,-159,-155,-112,-44,23,77,122,154,157,123,74,42,37,44,51,61,79,106,134,160,179,181,159,127,109,109,104,83,79,127,193,194,107}
},
{ // H40e051a.wav
{0,2,1,-1,1,3,2,-3,-3,2,2,-3,-4,0,2,-1,-1,2,2,-2,-2,0,-2,-5,-1,4,-2,-8,0,14,7,-12,-9,11,5,-21,-15,22,20,-27,-29,26,24,-31,127,677,1336,1645,1567,1382,929,-451,-2802,-4813,-4916,-3047,-672,1044,2406,4165,5975,6616,5579,3719,2220,1468,1162,1020,969,906,736,600,689,833,617,-10,-534,-499,-120,-28,-467,-1013,-1126,-787,-443,-436,-640,-702,-482,-169,-15,-57,-128,-52,191,455,548,406,183,114,246,338,137,-287,-585,-537,-310,-245,-463,-773,-917,-819,-601,-431,-393,-435,-429,-306,-136,-61,-133,-271,-383,-462,-542,-610,-619,-559,-457,-328,-167,-15,34,-76,-287,-472,-548,-523,-454,-390,-356,-364,-417,-508,-618,-720,-787,-803,-771,-708,-633,-561,-507,-490,-521,-577,-611,-591,-537,-502,-518,-570,-614,-622,-595,-556,-520,-490,-458,-429,-421,-450,-509,-564,-587,-580,-571,-582,-599,-584,-523,-446,-396,-385,-385,-372,-353,-344,-337,-311,-263,-213,-179,-160,-149,-151,-168,-188,-197,-194,-191,-195,-196,-188,-172,-153,-129,-103,-86,-89,-107,-124,-132,-136,-140,-141,-132,-112,-90,-72,-60,-51,-45,-48,-60,-76,-85,-85,-78,-65,-50,-34,-19,-8,-4,-12,-31,-53,-74,-91,-100,-95,-73,-40,-9,13,26,27,14,-9,-31,-51,-70,-82,-72,-37},
{-71,11,92,-8,-140,-31,162,52,-219,-119,260,203,-304,-319,351,467,-451,-470,2311,6477,8724,8058,5619,488,-9773,-22107,-26082,-14528,5515,18507,17926,12678,13607,18971,18550,9055,-1399,-4524,-1509,1171,1067,647,1327,1394,-203,-1938,-2706,-3754,-5882,-7018,-5012,-1560,-608,-2971,-5091,-3889,-778,650,-506,-1905,-1722,-797,-626,-1005,-827,-87,301,151,99,216,-195,-1174,-1688,-1168,-472,-592,-1153,-1144,-582,-381,-788,-1074,-878,-795,-1195,-1387,-644,538,1005,478,-229,-431,-296,-248,-289,-238,-191,-328,-488,-331,110,368,97,-512,-984,-1078,-923,-716,-474,-168,81,85,-144,-392,-547,-737,-1066,-1366,-1394,-1177,-967,-884,-817,-703,-656,-744,-823,-758,-640,-639,-720,-694,-507,-318,-268,-321,-368,-367,-339,-295,-243,-211,-215,-240,-281,-352,-432,-444,-338,-170,-50,-32,-76,-121,-154,-193,-245,-293,-311,-294,-256,-207,-146,-80,-38,-40,-75,-113,-149,-201,-259,-286,-260,-202,-138,-64,27,107,130,93,35,-15,-67,-132,-185,-186,-130,-54,8,47,64,52,8,-44,-74,-82,-99,-131,-144,-108,-44,2,16,23,35,31,-14,-92,-170,-218,-220,-181,-128,-85,-46,10,70,89,43,-33,-89,-115,-124,-116,-79,-21,31,70,106,136,141,113,76,53,47,49,57,69,86,111,139,157,158,151,145,135,114,97,102,118,124,132,172,219,202,104}
},
{ // H40e058a.wav
{0,-1,1,2,0,-1,1,3,1,-1,-1,1,0,-2,0,3,1,-2,0,3,1,-3,-1,1,-2,-4,1,3,-4,-6,9,18,2,-16,-5,14,3,-22,-9,25,13,-30,-19,33,18,-16,185,710,1248,1465,1447,1384,918,-603,-2967,-4726,-4541,-2659,-512,1051,2464,4245,5813,6079,4879,3204,2045,1529,1266,1047,909,832,747,720,836,934,729,236,-177,-256,-202,-386,-815,-1090,-897,-399,-44,-68,-288,-370,-205,36,145,94,18,45,170,277,260,138,44,71,142,91,-121,-345,-443,-469,-569,-740,-822,-727,-564,-490,-525,-584,-604,-559,-415,-184,5,-4,-210,-440,-538,-521,-498,-509,-510,-463,-375,-259,-136,-67,-121,-283,-445,-514,-502,-479,-476,-468,-445,-443,-496,-579,-642,-671,-689,-706,-704,-672,-631,-607,-600,-589,-566,-542,-522,-504,-493,-506,-545,-582,-587,-562,-530,-502,-472,-437,-406,-398,-420,-465,-513,-549,-570,-583,-597,-606,-590,-541,-474,-419,-395,-398,-402,-383,-338,-290,-258,-245,-236,-223,-207,-190,-173,-159,-152,-154,-165,-187,-212,-225,-215,-193,-178,-170,-154,-124,-102,-105,-124,-138,-142,-148,-157,-153,-128,-92,-60,-38,-26,-26,-40,-60,-73,-76,-76,-78,-79,-72,-56,-35,-18,-13,-17,-23,-31,-47,-70,-86,-88,-83,-75,-55,-22,6,12,6,5,-3,-37,-83,-93,-52},
{-12,85,19,-129,-64,142,88,-190,-162,215,251,-235,-372,249,525,-308,-659,1625,5779,8668,8741,6666,1640,-8680,-21675,-27041,-16531,4105,18885,19232,12913,12108,17151,17994,9729,-554,-3951,-850,1981,1538,697,1636,2387,864,-1661,-3162,-4161,-5903,-7078,-5412,-1899,-393,-2414,-4885,-4364,-1598,-11,-837,-2064,-1926,-1135,-994,-1160,-619,322,560,131,72,502,344,-770,-1684,-1450,-754,-714,-1129,-1026,-430,-316,-932,-1391,-1150,-820,-1003,-1204,-668,303,704,263,-285,-326,-81,-34,-234,-445,-580,-623,-404,151,658,558,-181,-928,-1096,-779,-528,-599,-703,-515,-168,-45,-236,-479,-629,-866,-1310,-1701,-1684,-1295,-885,-660,-548,-486,-553,-732,-814,-680,-497,-464,-532,-532,-460,-438,-459,-397,-237,-129,-169,-290,-394,-460,-484,-431,-319,-247,-273,-319,-287,-196,-134,-122,-111,-79,-71,-113,-177,-226,-259,-282,-277,-222,-135,-65,-46,-70,-105,-133,-159,-195,-229,-237,-214,-173,-113,-27,66,114,94,43,7,-17,-68,-147,-201,-187,-125,-60,-10,33,63,56,8,-49,-85,-105,-132,-153,-128,-55,18,49,50,59,72,49,-22,-103,-164,-199,-208,-178,-117,-63,-36,-10,34,60,27,-46,-99,-109,-102,-96,-73,-26,22,58,92,126,139,115,72,37,19,18,40,79,114,135,156,179,181,154,122,110,108,94,85,105,142,162,171,196,219,185,89}
},
{ // H40e064a.wav
{1,3,1,-1,1,3,1,-1,1,4,2,-1,0,2,0,-2,0,3,2,-1,1,4,2,-2,-1,2,0,-2,2,4,-2,-2,11,16,-2,-16,-1,17,1,-22,-4,29,11,-32,-15,41,26,-17,155,623,1098,1298,1342,1403,1069,-359,-2695,-4509,-4449,-2703,-638,897,2269,3952,5405,5623,4485,2962,1994,1637,1431,1156,935,858,864,919,1021,1022,707,136,-298,-300,-51,7,-263,-533,-443,-56,238,198,-30,-163,-119,-34,-32,-92,-132,-110,-25,89,154,101,-25,-94,-79,-136,-383,-678,-743,-531,-313,-348,-571,-718,-670,-566,-570,-651,-651,-500,-292,-163,-149,-195,-248,-309,-401,-508,-580,-580,-510,-395,-263,-160,-145,-237,-368,-442,-434,-411,-442,-522,-592,-611,-580,-521,-458,-428,-469,-580,-704,-779,-787,-747,-680,-599,-524,-487,-500,-531,-534,-499,-465,-473,-517,-547,-529,-478,-440,-437,-449,-445,-420,-401,-414,-457,-511,-553,-570,-561,-539,-526,-531,-537,-518,-470,-419,-383,-351,-310,-270,-256,-270,-283,-270,-236,-199,-171,-152,-142,-142,-154,-174,-195,-212,-221,-224,-222,-211,-187,-155,-132,-128,-139,-150,-152,-146,-133,-114,-94,-80,-71,-62,-47,-33,-29,-39,-54,-63,-66,-70,-78,-84,-76,-56,-36,-23,-13,0,5,-11,-42,-71,-91,-103,-101,-81,-49,-22,-6,3,5,-8,-32,-43,-27},
{79,27,-117,-87,116,119,-148,-200,144,282,-141,-403,112,551,-110,-773,856,4812,8345,9328,7778,3005,-7137,-20620,-27651,-18893,1852,18723,20725,13574,10524,14741,17083,10714,781,-3454,-856,2240,2104,1268,2315,3369,1801,-1283,-3190,-3964,-5383,-6894,-6030,-2886,-951,-2299,-4468,-4031,-1485,-196,-1389,-2815,-2513,-1423,-1233,-1579,-1049,206,757,335,143,640,725,-311,-1432,-1406,-663,-471,-937,-1099,-688,-506,-949,-1351,-1174,-890,-1046,-1226,-733,160,502,50,-426,-308,73,59,-400,-805,-806,-471,-1,442,642,380,-272,-873,-1005,-726,-476,-529,-695,-652,-423,-321,-473,-672,-783,-985,-1420,-1816,-1780,-1344,-914,-704,-548,-343,-282,-494,-727,-663,-381,-222,-307,-459,-535,-571,-569,-429,-161,22,-41,-260,-448,-554,-623,-633,-528,-347,-210,-167,-171,-179,-199,-215,-177,-87,-19,-34,-107,-177,-221,-250,-256,-216,-134,-54,-20,-43,-96,-147,-186,-222,-255,-258,-209,-121,-37,24,72,107,106,56,-14,-73,-122,-176,-215,-199,-125,-46,-6,5,18,26,-1,-59,-105,-122,-132,-147,-131,-58,36,87,90,88,97,81,14,-75,-147,-186,-198,-178,-129,-77,-42,-11,30,55,28,-36,-85,-101,-107,-116,-103,-53,11,60,95,122,126,92,42,4,-10,-6,18,62,112,149,178,207,219,192,139,98,83,74,65,77,115,154,169,175,192,200,158,73}
},
{ // H40e071a.wav
{-1,-1,1,1,-1,-1,2,2,-1,-1,2,2,-1,-1,2,2,-2,-3,1,2,-1,-1,3,3,-2,-4,1,2,-2,-3,2,1,-2,3,14,8,-12,-14,9,16,-10,-22,8,27,-5,-27,13,42,-7,11,301,780,1122,1234,1341,1383,697,-1186,-3505,-4649,-3795,-1754,120,1460,2821,4359,5297,4923,3594,2347,1765,1615,1463,1222,1016,865,731,681,780,892,797,499,254,233,295,192,-74,-238,-118,141,240,70,-201,-354,-337,-241,-160,-126,-133,-144,-105,-10,45,-51,-284,-506,-579,-495,-345,-229,-214,-317,-489,-626,-652,-586,-522,-538,-635,-731,-707,-507,-217,-28,-62,-256,-439,-513,-517,-524,-534,-497,-394,-260,-162,-163,-276,-426,-496,-451,-388,-430,-568,-677,-666,-570,-477,-429,-420,-460,-564,-699,-789,-786,-714,-632,-573,-539,-522,-518,-515,-499,-470,-451,-460,-477,-473,-450,-436,-451,-474,-471,-439,-412,-416,-438,-454,-464,-484,-511,-524,-520,-522,-543,-561,-539,-475,-407,-367,-350,-330,-303,-287,-287,-282,-257,-222,-201,-193,-181,-159,-145,-150,-167,-184,-200,-224,-251,-259,-239,-208,-185,-172,-156,-138,-127,-127,-125,-112,-96,-92,-99,-100,-83,-55,-37,-37,-44,-46,-46,-55,-75,-90,-89,-75,-57,-38,-19,-4,0,-8,-21,-36,-57,-82,-101,-105,-93,-74,-55,-37,-20,-7,-1,-1,-2},
{86,-59,-138,28,165,-21,-232,-28,290,89,-366,-190,451,313,-624,-293,2739,6893,9399,9186,5865,-2385,-15602,-26587,-24297,-6550,14049,22152,16553,9865,11293,15859,13709,4705,-2200,-1852,1539,2400,1454,2239,4158,3565,32,-2992,-3686,-4049,-5614,-6442,-4581,-1958,-1879,-3951,-4601,-2473,-299,-640,-2351,-2866,-2075,-1725,-2084,-1676,-175,789,285,-369,188,1100,711,-745,-1516,-986,-318,-411,-718,-582,-453,-949,-1612,-1582,-988,-680,-852,-856,-387,24,-70,-326,-233,64,20,-464,-908,-889,-459,59,423,536,353,-94,-618,-925,-855,-570,-410,-524,-710,-720,-598,-583,-736,-908,-1053,-1298,-1625,-1753,-1503,-1081,-791,-639,-457,-280,-297,-470,-522,-344,-154,-172,-341,-482,-546,-557,-470,-264,-69,-46,-179,-336,-466,-606,-717,-687,-509,-314,-205,-157,-126,-131,-181,-205,-147,-59,-33,-79,-131,-162,-196,-233,-225,-151,-58,-6,-11,-50,-102,-160,-214,-251,-256,-223,-159,-80,-2,71,130,147,101,9,-78,-134,-176,-212,-215,-159,-79,-29,-13,2,20,-4,-75,-132,-126,-92,-93,-115,-92,-12,64,92,101,126,135,84,-14,-101,-151,-176,-179,-147,-95,-55,-32,2,49,67,30,-31,-78,-106,-130,-138,-105,-34,41,94,120,117,85,37,-1,-20,-22,-6,32,87,138,176,211,237,229,181,124,93,84,73,63,79,119,151,156,157,178,195,164,82}
},
{ // H40e077a.wav
{2,2,1,2,3,3,0,1,4,3,1,1,3,2,1,2,3,1,-2,0,3,2,0,2,4,2,-1,2,4,-1,-5,1,8,4,-1,5,12,2,-10,-1,14,4,-17,-7,25,24,-10,-9,27,11,-38,76,458,899,1139,1243,1380,1225,83,-2086,-4081,-4435,-2933,-761,916,2054,3197,4324,4761,4146,2979,2045,1623,1452,1257,1028,872,854,989,1232,1427,1384,1096,779,619,552,388,101,-130,-170,-98,-86,-179,-286,-335,-346,-346,-322,-276,-257,-276,-273,-231,-256,-428,-609,-556,-257,6,-13,-238,-410,-428,-403,-421,-441,-442,-514,-698,-848,-788,-549,-339,-289,-343,-394,-420,-449,-468,-447,-413,-415,-439,-409,-298,-178,-155,-259,-424,-547,-570,-514,-456,-466,-545,-628,-648,-600,-535,-499,-495,-509,-542,-602,-671,-712,-703,-653,-586,-519,-469,-449,-454,-456,-435,-406,-400,-421,-442,-449,-456,-473,-481,-461,-426,-408,-414,-423,-423,-431,-461,-504,-534,-540,-525,-501,-475,-454,-439,-421,-395,-358,-321,-294,-275,-258,-241,-228,-219,-207,-191,-174,-164,-163,-170,-182,-200,-224,-249,-264,-261,-242,-209,-169,-132,-109,-103,-107,-111,-113,-114,-114,-108,-97,-85,-76,-65,-49,-34,-29,-36,-50,-62,-70,-74,-73,-63,-44,-25,-15,-12,-11,-11,-21,-44,-74,-99,-111,-109,-96,-72,-41,-11,8,12,6},
{42,-106,-89,106,117,-131,-188,129,266,-119,-377,84,517,-62,-759,570,4291,8178,9940,8609,2891,-8499,-21959,-27310,-16635,4572,20206,20372,11836,8099,12223,15132,9986,1424,-2093,205,2475,1939,1631,3613,4931,2516,-1703,-3783,-3527,-3787,-5194,-5352,-3438,-2078,-3201,-4771,-3891,-1336,-325,-1673,-2946,-2496,-1628,-1850,-2270,-1376,155,495,-324,-530,406,945,59,-1118,-1129,-335,-23,-341,-458,-269,-513,-1283,-1689,-1277,-738,-743,-927,-653,-130,-38,-388,-535,-232,17,-244,-763,-958,-646,-126,258,397,323,47,-394,-807,-920,-666,-354,-367,-693,-937,-859,-691,-757,-1007,-1175,-1231,-1362,-1547,-1523,-1219,-896,-749,-649,-451,-281,-303,-386,-298,-94,-42,-211,-396,-443,-417,-396,-337,-216,-138,-187,-299,-386,-475,-612,-719,-682,-514,-334,-206,-116,-73,-108,-184,-206,-145,-75,-62,-89,-113,-141,-187,-217,-184,-97,-18,9,-13,-58,-107,-154,-197,-232,-240,-201,-120,-32,33,75,106,108,58,-24,-95,-142,-186,-220,-205,-131,-51,-21,-29,-35,-40,-70,-112,-121,-93,-79,-98,-99,-43,35,75,83,107,144,141,74,-20,-96,-144,-167,-153,-112,-76,-56,-25,32,79,71,22,-28,-67,-110,-146,-138,-79,-10,37,67,92,97,64,11,-26,-31,-15,13,50,99,150,196,228,235,208,157,111,90,89,91,90,96,113,130,137,147,174,195,168,87}
},
{ // H40e084a.wav
{0,1,0,-1,0,1,0,-1,0,1,-1,-2,1,3,0,-4,-2,1,0,-4,-3,0,0,-1,0,1,-1,-3,-2,1,-2,-6,-2,4,1,-4,2,9,1,-11,-5,8,1,-15,-3,28,25,-9,-13,11,-11,-57,56,422,851,1107,1243,1394,1241,121,-2006,-3989,-4371,-2875,-632,1107,2132,2961,3780,4164,3767,2853,1983,1469,1288,1336,1503,1615,1542,1381,1355,1480,1508,1265,897,658,548,349,-10,-311,-342,-194,-129,-238,-373,-407,-405,-465,-524,-459,-319,-307,-501,-704,-662,-366,-61,35,-73,-227,-310,-313,-278,-245,-257,-352,-508,-635,-654,-591,-547,-585,-660,-684,-636,-564,-501,-436,-370,-338,-359,-394,-400,-378,-351,-310,-246,-214,-288,-450,-573,-564,-475,-433,-496,-611,-699,-725,-686,-591,-478,-406,-412,-482,-578,-671,-733,-732,-661,-557,-474,-437,-427,-421,-412,-404,-395,-392,-406,-441,-479,-499,-495,-474,-443,-409,-385,-384,-407,-438,-464,-483,-499,-508,-500,-479,-463,-462,-466,-455,-427,-396,-369,-337,-297,-263,-248,-245,-238,-225,-214,-210,-206,-195,-186,-189,-205,-220,-229,-237,-245,-244,-225,-193,-158,-130,-114,-107,-106,-109,-117,-126,-129,-122,-108,-94,-81,-67,-52,-39,-33,-35,-43,-56,-71,-81,-80,-66,-45,-26,-16,-12,-13,-21,-38,-61,-82,-96,-101,-99,-87,-62,-29,-1,11,7},
{11,-113,-51,121,68,-164,-133,179,202,-202,-315,202,453,-246,-686,1055,4908,8650,10142,8027,676,-12005,-24201,-25464,-11102,9722,21252,17798,9170,7424,12308,14120,8280,802,-1238,1175,2628,1927,2245,4315,4662,1361,-2609,-3785,-3045,-3338,-4668,-4600,-2906,-2238,-3715,-4876,-3506,-1146,-717,-2197,-3086,-2423,-1747,-1992,-1946,-712,409,-2,-998,-709,602,914,-364,-1517,-1170,-115,257,-41,-212,-286,-812,-1492,-1443,-697,-286,-669,-1093,-836,-261,-89,-294,-350,-200,-270,-666,-947,-771,-327,13,147,176,94,-197,-625,-888,-772,-438,-297,-545,-919,-1029,-857,-746,-900,-1143,-1253,-1288,-1380,-1431,-1271,-992,-840,-813,-690,-434,-279,-320,-340,-173,2,-56,-272,-390,-352,-304,-300,-254,-166,-165,-284,-395,-428,-477,-607,-709,-657,-491,-339,-228,-117,-42,-80,-200,-263,-198,-89,-41,-64,-105,-141,-178,-196,-162,-86,-18,1,-23,-63,-102,-141,-187,-225,-224,-166,-74,2,39,53,58,42,-4,-54,-85,-114,-167,-213,-192,-107,-33,-26,-59,-77,-84,-106,-127,-110,-74,-76,-112,-107,-26,68,101,92,101,129,122,60,-21,-83,-124,-147,-139,-107,-76,-50,-5,59,95,67,4,-46,-76,-104,-126,-113,-65,-16,15,36,58,64,41,2,-25,-26,-7,24,60,101,144,184,211,212,184,144,110,92,87,90,100,115,130,134,129,135,163,189,165,85}
},
{ // H40e090a.wav
{1,3,2,0,0,2,2,-1,-1,2,3,1,0,2,3,1,-1,1,3,1,-1,1,3,0,-1,2,4,0,-2,1,2,-1,-2,2,3,-1,0,9,10,-2,-7,5,9,-6,-8,24,44,11,-27,-9,16,-31,-60,134,560,959,1168,1326,1458,1042,-506,-2798,-4371,-4005,-1991,241,1649,2361,2965,3520,3608,3089,2372,1927,1829,1878,1922,1917,1823,1639,1485,1468,1486,1324,970,664,565,504,224,-223,-499,-413,-162,-75,-244,-508,-689,-718,-593,-395,-322,-525,-841,-879,-482,26,198,-15,-268,-295,-176,-106,-125,-174,-274,-454,-601,-556,-372,-300,-484,-781,-959,-948,-835,-686,-507,-340,-268,-312,-383,-396,-369,-364,-379,-365,-312,-270,-277,-315,-356,-403,-467,-535,-591,-649,-719,-764,-722,-595,-463,-402,-412,-450,-506,-591,-676,-705,-656,-575,-512,-466,-416,-374,-366,-378,-375,-357,-369,-434,-509,-536,-508,-462,-427,-399,-372,-359,-378,-423,-467,-486,-481,-470,-466,-467,-462,-449,-436,-428,-420,-406,-385,-358,-326,-292,-265,-253,-253,-253,-245,-231,-221,-216,-215,-214,-213,-209,-201,-194,-194,-204,-215,-214,-195,-163,-130,-106,-94,-92,-100,-116,-132,-135,-122,-101,-84,-75,-68,-57,-45,-37,-38,-46,-55,-63,-68,-69,-61,-41,-18,-7,-11,-22,-32,-42,-57,-72,-80,-81,-76,-62,-35,-4,15,13},
{12,-98,-40,111,60,-144,-110,164,175,-184,-270,195,405,-235,-627,999,4711,8551,10252,7942,-40,-12907,-24041,-23622,-8660,10861,20327,15822,7562,6553,11692,13582,8217,1386,-492,1574,2805,2310,2809,4559,4294,675,-3088,-3797,-2628,-2631,-3884,-4038,-2726,-2250,-3582,-4567,-3359,-1417,-1224,-2544,-3142,-2405,-1848,-2120,-1906,-507,580,-9,-1152,-909,406,737,-495,-1599,-1250,-218,183,-32,-171,-313,-880,-1429,-1132,-254,57,-527,-1055,-791,-221,-115,-356,-361,-159,-280,-781,-1080,-801,-257,51,35,-97,-252,-488,-741,-803,-602,-372,-419,-750,-1038,-1017,-814,-764,-962,-1177,-1237,-1246,-1326,-1347,-1150,-865,-753,-791,-724,-490,-310,-296,-271,-108,15,-101,-330,-394,-271,-173,-188,-201,-151,-146,-257,-396,-467,-513,-591,-644,-591,-466,-358,-271,-164,-73,-82,-181,-248,-210,-123,-71,-70,-88,-114,-151,-176,-152,-88,-27,-5,-23,-65,-115,-158,-185,-190,-170,-123,-60,-7,21,33,35,15,-37,-93,-116,-114,-123,-149,-151,-105,-50,-35,-58,-83,-99,-119,-138,-129,-102,-95,-106,-86,-13,68,105,106,112,121,100,45,-14,-61,-101,-127,-121,-90,-64,-45,0,67,103,69,-3,-55,-75,-89,-101,-90,-53,-16,6,21,36,36,15,-11,-19,-8,13,38,65,95,128,162,188,189,162,126,107,106,108,105,106,122,145,155,148,147,170,189,160,81}
},
{ // H40e096a.wav
{-1,0,0,-2,-2,0,1,-1,-2,-1,1,0,-1,0,1,0,-2,-1,0,0,-2,-2,-2,-2,-3,0,2,-1,-4,-2,0,-2,-3,1,2,-4,-6,3,7,-5,-13,-1,11,-1,-14,9,40,23,-26,-31,4,-10,-56,47,405,849,1159,1363,1533,1313,73,-2156,-4182,-4535,-2924,-504,1364,2331,2894,3398,3642,3389,2829,2354,2121,2030,1991,1982,1916,1682,1362,1205,1294,1374,1154,694,327,225,201,10,-303,-478,-404,-271,-316,-526,-681,-648,-551,-597,-790,-893,-690,-262,65,57,-189,-359,-268,-17,156,117,-93,-338,-489,-479,-352,-253,-311,-521,-766,-947,-1040,-1030,-879,-606,-347,-242,-294,-387,-431,-438,-447,-453,-435,-399,-357,-300,-222,-165,-185,-292,-438,-571,-669,-728,-745,-718,-667,-611,-555,-494,-440,-420,-452,-528,-613,-663,-653,-596,-525,-463,-409,-360,-327,-320,-337,-365,-401,-451,-504,-535,-525,-480,-426,-385,-366,-365,-378,-399,-427,-461,-496,-516,-503,-460,-413,-392,-398,-407,-399,-380,-367,-360,-346,-326,-312,-307,-301,-288,-273,-266,-266,-259,-238,-209,-184,-171,-169,-176,-191,-210,-224,-223,-204,-171,-136,-109,-95,-92,-96,-105,-114,-121,-123,-122,-116,-105,-90,-76,-64,-53,-42,-37,-42,-56,-70,-73,-63,-46,-29,-16,-8,-7,-15,-32,-49,-60,-64,-64,-58,-41,-18,0,5,3},
{28,-81,-61,80,78,-102,-129,105,188,-101,-274,76,383,-67,-604,469,3752,7782,10159,8610,1360,-10908,-22199,-23231,-10289,8317,18623,15398,7271,5516,10641,13775,9577,2578,-271,1388,3017,2792,2966,4405,4361,1052,-2898,-3986,-2689,-2129,-3147,-3668,-2734,-2142,-3180,-4239,-3394,-1628,-1338,-2624,-3357,-2629,-1843,-1980,-1961,-810,342,15,-1046,-939,320,772,-403,-1640,-1400,-295,172,-193,-537,-619,-870,-1161,-847,-70,171,-460,-1025,-710,4,169,-229,-476,-349,-330,-667,-947,-774,-354,-128,-193,-349,-487,-637,-747,-689,-495,-404,-586,-910,-1076,-959,-759,-751,-945,-1117,-1142,-1153,-1266,-1340,-1180,-877,-705,-725,-722,-563,-376,-289,-221,-90,-22,-149,-342,-360,-213,-125,-181,-221,-147,-86,-172,-339,-444,-486,-539,-587,-554,-458,-384,-338,-246,-117,-66,-142,-237,-229,-139,-77,-83,-107,-115,-127,-155,-157,-107,-38,-6,-29,-79,-125,-160,-183,-182,-152,-105,-64,-37,-15,11,29,17,-30,-84,-113,-117,-123,-136,-132,-97,-57,-44,-55,-69,-84,-115,-148,-150,-127,-115,-118,-93,-16,65,93,85,93,120,115,58,-12,-55,-78,-99,-106,-90,-64,-40,-7,45,85,73,18,-35,-66,-84,-96,-85,-50,-15,3,14,30,37,17,-19,-38,-24,9,42,69,93,116,140,161,168,153,125,103,105,120,127,123,124,138,151,151,154,176,197,170,87}
},
{ // H40e103a.wav
{-1,0,1,1,1,2,1,-1,0,2,2,0,-1,1,2,1,0,1,1,-1,-1,1,1,-1,-1,3,5,1,-2,1,2,-2,-3,3,6,1,-2,3,3,-9,-12,4,15,4,-3,17,32,7,-24,-10,10,-30,-53,124,528,958,1271,1546,1718,1233,-470,-2984,-4816,-4634,-2569,-15,1795,2731,3324,3832,4036,3742,3105,2436,1936,1684,1689,1812,1785,1486,1130,1036,1208,1304,1059,604,256,112,-2,-210,-395,-415,-345,-371,-496,-543,-469,-484,-745,-1052,-1026,-583,-66,132,-20,-244,-306,-201,-42,90,139,45,-170,-349,-344,-207,-163,-354,-680,-931,-1014,-989,-915,-780,-583,-409,-340,-354,-372,-384,-444,-543,-590,-534,-438,-384,-357,-287,-175,-111,-159,-289,-435,-559,-648,-682,-665,-642,-651,-672,-648,-567,-473,-415,-413,-464,-557,-652,-690,-639,-526,-411,-334,-300,-299,-321,-355,-391,-428,-467,-501,-512,-490,-447,-411,-394,-388,-376,-363,-372,-420,-486,-527,-514,-463,-415,-393,-384,-372,-358,-353,-358,-359,-353,-346,-344,-341,-334,-330,-334,-336,-322,-287,-240,-192,-153,-135,-148,-183,-217,-233,-232,-222,-204,-174,-140,-116,-107,-103,-97,-92,-95,-104,-111,-116,-125,-134,-130,-106,-75,-56,-52,-51,-49,-53,-66,-76,-69,-47,-25,-14,-9,-2,1,-8,-28,-46,-53,-53,-49,-40,-24,-7,1,0,-1},
{49,-43,-80,25,91,-29,-133,5,173,26,-229,-88,291,162,-442,-165,2220,6165,9485,9550,4215,-6599,-18436,-22867,-14283,2659,15327,15525,8117,4534,8807,13856,12011,4894,19,572,2927,3454,3124,3922,4463,2221,-1800,-3981,-3192,-1994,-2410,-3259,-2864,-2085,-2627,-3838,-3623,-1969,-1149,-2201,-3413,-3114,-2073,-1793,-1945,-1259,-75,61,-894,-1186,-73,875,182,-1257,-1574,-639,65,-222,-794,-981,-1009,-1078,-794,-86,260,-269,-935,-736,96,465,29,-448,-400,-228,-473,-897,-906,-484,-185,-325,-661,-834,-796,-681,-558,-449,-461,-683,-998,-1132,-969,-717,-675,-865,-1033,-1021,-994,-1150,-1361,-1312,-976,-684,-660,-738,-656,-439,-286,-227,-151,-76,-135,-290,-328,-196,-102,-183,-284,-219,-74,-73,-234,-373,-406,-428,-503,-547,-495,-409,-360,-303,-187,-86,-108,-215,-261,-189,-91,-65,-99,-130,-144,-157,-160,-126,-69,-32,-38,-72,-112,-150,-179,-187,-168,-133,-97,-64,-35,-11,5,6,-11,-41,-71,-95,-122,-150,-152,-113,-59,-35,-47,-66,-76,-100,-141,-161,-140,-113,-116,-119,-69,21,76,73,62,87,114,89,21,-35,-59,-73,-92,-99,-84,-58,-26,17,60,72,42,-9,-50,-76,-90,-86,-58,-22,2,16,32,40,24,-15,-45,-40,-9,26,57,83,104,119,133,147,150,135,116,114,127,134,127,123,133,141,136,142,181,220,196,100}
},
{ // H40e109a.wav
{1,1,-1,0,2,2,-1,-1,1,1,-1,-1,1,1,-1,-1,1,2,-1,-2,0,2,1,-1,0,1,0,-1,0,1,-1,-1,3,3,-2,-1,7,7,-7,-14,-1,10,0,-7,15,36,14,-25,-17,16,-4,-49,55,412,918,1409,1813,1954,1326,-509,-3116,-5057,-4979,-2885,-127,1910,2919,3459,3979,4324,4135,3405,2523,1897,1670,1705,1729,1529,1137,840,889,1179,1300,992,448,73,5,9,-150,-408,-550,-515,-414,-320,-239,-272,-577,-1062,-1300,-961,-260,216,150,-201,-375,-229,24,153,123,4,-140,-231,-184,-25,63,-93,-466,-857,-1100,-1161,-1066,-834,-530,-301,-262,-370,-471,-484,-468,-505,-574,-596,-552,-491,-446,-395,-321,-256,-232,-241,-263,-311,-402,-503,-561,-569,-574,-603,-630,-626,-602,-578,-549,-507,-478,-498,-558,-608,-615,-582,-514,-414,-310,-255,-281,-353,-410,-435,-454,-480,-487,-456,-409,-385,-387,-391,-389,-400,-435,-469,-470,-444,-429,-439,-444,-414,-365,-340,-347,-358,-350,-339,-344,-357,-358,-350,-356,-381,-402,-392,-349,-284,-214,-156,-131,-148,-190,-226,-242,-245,-240,-221,-188,-156,-137,-127,-116,-103,-95,-92,-94,-101,-115,-130,-135,-125,-111,-103,-95,-78,-58,-52,-67,-87,-91,-79,-65,-52,-30,2,25,23,4,-13,-22,-32,-47,-55,-48,-36,-29,-22,-6,16,26,17},
{36,12,-57,-44,49,50,-69,-90,67,129,-68,-196,43,275,-41,-451,432,3372,7315,9733,7844,186,-11252,-20025,-18803,-6642,7953,14206,10207,4614,5889,12216,14800,9651,2131,-732,1379,3746,3917,3594,4019,3464,555,-2751,-3692,-2580,-1910,-2490,-2848,-2307,-2163,-3139,-3768,-2721,-1196,-1265,-2716,-3463,-2719,-1826,-1757,-1688,-841,-93,-476,-1220,-864,323,669,-301,-1183,-917,-254,-335,-965,-1238,-1058,-962,-939,-547,2,-24,-589,-747,-87,557,360,-270,-401,-18,54,-505,-1041,-941,-481,-343,-689,-1073,-1096,-810,-505,-384,-479,-728,-1002,-1130,-1018,-768,-616,-687,-852,-905,-868,-964,-1239,-1405,-1200,-793,-590,-693,-793,-642,-372,-230,-221,-193,-130,-134,-196,-213,-187,-222,-306,-293,-148,-40,-100,-240,-307,-310,-357,-451,-498,-463,-396,-325,-226,-130,-121,-205,-274,-245,-163,-113,-105,-104,-114,-161,-211,-194,-112,-43,-43,-83,-112,-124,-147,-177,-191,-179,-156,-129,-93,-48,-10,5,-1,-18,-35,-50,-77,-120,-157,-153,-106,-58,-51,-69,-79,-81,-100,-131,-140,-121,-113,-131,-130,-72,4,40,38,49,85,100,63,5,-33,-53,-75,-97,-100,-85,-59,-20,26,54,40,-2,-35,-49,-62,-76,-69,-36,-2,17,31,43,35,-2,-40,-47,-28,-6,16,47,79,96,106,126,150,152,134,125,136,141,124,107,110,119,119,136,191,242,216,109}
},
{ // H40e116a.wav
{0,0,0,1,1,0,0,2,1,-1,0,3,3,0,-1,1,2,0,-1,0,1,0,0,2,2,-1,-1,1,1,-2,-1,4,4,-2,-3,3,6,-2,-9,-4,2,-1,-3,10,20,9,-7,0,10,-18,-38,86,454,1028,1666,2138,2044,908,-1338,-3876,-5291,-4641,-2301,383,2289,3289,3887,4359,4471,3952,2983,2101,1701,1745,1901,1861,1542,1107,828,846,1011,1000,671,225,-46,-122,-219,-434,-590,-517,-319,-224,-265,-313,-371,-603,-995,-1196,-890,-251,190,138,-172,-307,-135,119,206,97,-76,-182,-163,-38,84,53,-196,-563,-875,-1041,-1073,-992,-785,-488,-239,-172,-274,-418,-518,-589,-655,-670,-589,-467,-406,-426,-446,-404,-336,-309,-329,-355,-368,-384,-410,-439,-476,-530,-571,-550,-478,-435,-483,-588,-659,-653,-606,-568,-552,-538,-512,-479,-444,-409,-376,-356,-360,-387,-424,-449,-453,-435,-410,-387,-367,-355,-366,-407,-456,-478,-462,-432,-417,-419,-422,-416,-402,-383,-358,-331,-321,-337,-364,-372,-357,-347,-370,-413,-435,-410,-351,-282,-224,-186,-171,-181,-209,-239,-257,-261,-253,-233,-204,-174,-153,-142,-133,-120,-108,-102,-102,-105,-111,-120,-130,-135,-131,-117,-95,-73,-61,-63,-72,-80,-86,-94,-98,-87,-58,-25,1,20,33,34,15,-15,-41,-56,-64,-66,-54,-28,-1,15,23,29,28,15},
{0,34,-2,-54,-18,54,19,-78,-46,90,77,-109,-132,119,202,-175,-317,1032,4256,7954,9373,5836,-3124,-13812,-19208,-14240,-1616,9197,10977,6332,4213,8848,14781,14240,7016,214,-812,2125,4248,4169,3757,3694,2443,-461,-2930,-3194,-2222,-1933,-2397,-2448,-2121,-2511,-3462,-3406,-1946,-847,-1534,-2959,-3220,-2283,-1609,-1655,-1470,-706,-331,-837,-1197,-512,425,341,-517,-869,-469,-331,-928,-1458,-1251,-790,-746,-871,-619,-221,-253,-536,-379,216,480,111,-244,-46,287,55,-640,-1065,-909,-617,-673,-1000,-1184,-1025,-677,-423,-428,-667,-962,-1109,-1027,-811,-635,-603,-683,-755,-776,-845,-1058,-1297,-1296,-995,-681,-641,-791,-814,-603,-364,-266,-231,-142,-53,-75,-173,-243,-281,-334,-346,-235,-67,-17,-121,-233,-249,-240,-309,-418,-462,-418,-338,-251,-168,-132,-181,-269,-298,-247,-183,-150,-130,-110,-126,-189,-228,-182,-90,-45,-74,-120,-134,-130,-142,-170,-191,-200,-193,-163,-108,-49,-15,-9,-13,-17,-24,-39,-65,-103,-141,-156,-135,-97,-71,-62,-60,-66,-86,-109,-119,-122,-138,-156,-135,-68,-5,16,17,39,73,75,39,-1,-27,-54,-83,-95,-84,-70,-60,-33,10,30,7,-27,-34,-26,-37,-59,-56,-24,10,30,44,47,25,-15,-40,-37,-24,-12,10,43,70,88,112,146,163,152,139,146,148,119,86,87,114,130,142,184,233,215,111}
},
{ // H40e122a.wav
{0,1,1,0,-1,0,2,2,1,2,2,0,-1,0,1,0,-1,0,1,0,0,1,2,0,-1,0,1,0,-1,2,4,2,-1,1,3,-1,-6,-4,2,1,-3,2,14,13,-4,-10,5,9,-15,19,280,870,1675,2319,2276,1133,-1048,-3514,-5077,-4855,-2942,-335,1884,3301,4147,4673,4756,4172,3079,2032,1511,1534,1757,1842,1679,1371,1108,1032,1100,1080,768,231,-246,-479,-559,-648,-730,-677,-496,-343,-287,-240,-196,-346,-791,-1229,-1174,-548,146,340,17,-330,-296,27,250,170,-65,-191,-115,50,143,77,-142,-449,-749,-954,-1015,-928,-719,-449,-221,-134,-200,-340,-468,-566,-653,-706,-671,-550,-426,-378,-398,-423,-420,-407,-401,-400,-403,-421,-450,-473,-486,-502,-509,-468,-374,-290,-290,-380,-502,-602,-669,-703,-692,-629,-537,-454,-404,-394,-416,-455,-489,-502,-494,-471,-433,-384,-339,-316,-323,-356,-402,-439,-441,-406,-365,-357,-390,-433,-457,-453,-427,-387,-349,-334,-343,-352,-341,-328,-346,-396,-442,-452,-425,-375,-314,-250,-201,-180,-186,-206,-231,-259,-279,-278,-260,-241,-231,-215,-180,-138,-114,-114,-121,-120,-117,-124,-135,-137,-128,-119,-117,-116,-108,-93,-77,-64,-53,-50,-60,-81,-98,-95,-73,-43,-17,6,26,35,26,5,-16,-35,-57,-75,-75,-51,-16,16,40,53,48,27,5,-3},
{-22,4,27,-6,-46,-16,40,14,-59,-36,64,54,-81,-98,87,150,-137,-237,928,3846,7396,8905,5607,-2850,-12599,-17107,-12476,-1909,6460,7584,4696,5022,10650,15835,14181,6553,-143,-1116,1847,4214,4370,3809,3410,2192,-266,-2444,-2883,-2171,-1805,-2042,-2154,-2144,-2668,-3422,-3166,-1758,-790,-1430,-2701,-2926,-2070,-1437,-1494,-1444,-903,-587,-917,-1124,-522,273,281,-321,-628,-526,-701,-1257,-1452,-983,-552,-720,-1016,-796,-312,-220,-456,-400,47,331,198,59,214,321,-19,-596,-911,-890,-877,-1039,-1175,-1084,-838,-627,-546,-607,-783,-974,-1034,-908,-704,-573,-559,-600,-635,-687,-824,-1040,-1195,-1137,-905,-731,-760,-865,-823,-621,-430,-331,-236,-89,3,-57,-198,-298,-349,-390,-369,-222,-32,30,-64,-172,-195,-197,-269,-369,-397,-341,-268,-215,-176,-168,-221,-303,-336,-298,-239,-198,-160,-122,-123,-173,-210,-177,-110,-86,-113,-135,-124,-112,-131,-166,-195,-216,-227,-207,-150,-87,-47,-26,-5,10,-1,-35,-73,-108,-140,-156,-142,-107,-75,-56,-43,-42,-64,-96,-114,-124,-144,-161,-136,-71,-25,-29,-38,-7,47,70,50,17,-11,-45,-81,-98,-95,-89,-82,-55,-13,12,6,-8,-12,-18,-36,-47,-33,-6,12,23,38,43,22,-11,-27,-24,-19,-17,-6,19,49,82,121,156,172,167,151,128,100,88,105,131,137,137,166,208,193,100}
},
{ // H40e129a.wav
{0,0,-1,-1,0,1,1,-1,-1,0,1,0,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,-1,-2,-1,2,3,0,-2,0,2,-1,-5,-4,-1,-2,-4,4,13,7,-8,-6,8,-1,-11,137,646,1510,2352,2540,1575,-511,-3014,-4833,-5076,-3620,-1178,1246,3043,4198,4888,5065,4538,3405,2194,1475,1394,1642,1816,1726,1433,1123,981,1053,1163,1043,604,45,-377,-619,-806,-972,-993,-805,-550,-415,-398,-378,-366,-523,-875,-1137,-969,-387,183,332,83,-171,-136,77,143,-53,-277,-248,20,251,218,-50,-378,-643,-822,-913,-897,-767,-552,-301,-85,5,-90,-326,-573,-714,-727,-656,-548,-441,-378,-387,-442,-484,-476,-436,-407,-409,-432,-459,-488,-530,-580,-595,-526,-381,-243,-204,-272,-371,-434,-473,-536,-622,-675,-654,-577,-496,-442,-420,-432,-479,-542,-586,-588,-544,-465,-369,-292,-277,-332,-405,-429,-389,-334,-314,-329,-353,-378,-412,-447,-454,-423,-382,-362,-358,-350,-341,-354,-392,-427,-429,-405,-376,-350,-315,-270,-231,-214,-214,-220,-224,-230,-239,-253,-269,-280,-273,-244,-203,-166,-138,-117,-106,-111,-129,-146,-151,-150,-150,-148,-133,-111,-98,-96,-90,-72,-56,-57,-69,-73,-69,-70,-74,-62,-26,13,31,28,20,8,-17,-53,-80,-81,-62,-37,-15,6,26,42,49,39,11,-19,-30,-18},
{-1,-18,-1,19,-4,-36,-16,24,8,-42,-27,41,34,-59,-70,59,104,-106,-177,807,3420,6823,8486,5591,-2255,-11261,-15391,-11502,-2817,3840,5000,3938,6156,12141,16343,13793,6144,-210,-1186,1523,3873,4272,3844,3384,2198,-48,-2113,-2688,-2102,-1620,-1696,-1912,-2176,-2782,-3355,-2967,-1663,-827,-1382,-2448,-2602,-1844,-1309,-1406,-1435,-1017,-734,-971,-1118,-571,200,333,-165,-621,-814,-1049,-1297,-1145,-673,-531,-901,-1110,-693,-173,-238,-644,-617,-60,380,347,188,221,220,-94,-531,-766,-863,-1074,-1320,-1280,-918,-584,-548,-708,-831,-863,-883,-896,-832,-684,-539,-476,-500,-572,-669,-798,-943,-1038,-1018,-916,-843,-850,-852,-761,-617,-511,-425,-269,-75,8,-83,-234,-320,-356,-390,-367,-222,-37,32,-32,-110,-134,-169,-263,-345,-341,-283,-243,-221,-186,-176,-245,-357,-405,-350,-260,-200,-162,-131,-129,-167,-201,-187,-147,-129,-132,-123,-101,-99,-131,-174,-210,-243,-263,-243,-184,-119,-73,-37,-2,10,-15,-57,-87,-108,-134,-153,-142,-109,-79,-61,-49,-46,-63,-88,-101,-109,-133,-162,-155,-109,-68,-62,-62,-26,33,68,57,21,-19,-62,-103,-125,-123,-107,-85,-53,-14,13,16,5,-9,-22,-32,-33,-22,-10,-3,6,23,38,34,12,-8,-15,-17,-21,-22,-4,36,85,128,155,165,155,129,101,98,121,140,136,134,162,196,176,90}
},
{ // H40e135a.wav
{-3,-1,1,0,-2,-2,0,2,0,-3,-3,-2,-1,-2,-2,-2,-1,0,1,0,-2,-3,-2,0,-1,-2,0,3,2,-2,-2,1,-1,-7,-7,-2,-1,-7,-6,8,13,-2,-13,1,9,-11,69,504,1395,2392,2762,1886,-224,-2814,-4771,-5226,-4009,-1691,830,2891,4320,5185,5427,4876,3639,2277,1437,1317,1588,1799,1753,1511,1208,973,901,965,968,713,232,-240,-537,-710,-866,-973,-926,-751,-618,-621,-662,-621,-569,-694,-1000,-1180,-910,-253,328,440,173,-44,17,139,12,-301,-428,-188,162,240,-15,-348,-546,-640,-746,-854,-851,-679,-395,-107,82,92,-91,-380,-635,-757,-731,-598,-423,-295,-286,-384,-494,-533,-510,-480,-464,-445,-428,-458,-551,-648,-664,-572,-420,-288,-227,-242,-303,-370,-418,-447,-475,-509,-536,-538,-513,-484,-475,-491,-524,-567,-615,-644,-619,-533,-435,-387,-394,-402,-369,-320,-302,-314,-318,-303,-305,-347,-397,-412,-392,-376,-381,-386,-375,-367,-387,-425,-446,-432,-397,-363,-334,-305,-279,-267,-269,-269,-254,-231,-216,-219,-234,-252,-267,-275,-270,-246,-211,-178,-158,-146,-134,-125,-128,-143,-159,-165,-161,-155,-151,-143,-128,-108,-89,-74,-63,-58,-64,-80,-94,-92,-72,-43,-16,10,36,54,52,24,-21,-67,-101,-114,-100,-64,-18,22,48,59,56,38,8,-26,-52,-60,-46,-20},
{8,8,-2,0,11,5,-16,-17,5,10,-14,-20,12,29,-10,-44,5,70,-7,-143,258,2002,5078,7727,7016,1355,-7064,-13000,-12462,-6560,-382,2407,3203,5969,11580,16017,14793,8267,1452,-1214,217,2630,3828,3981,3783,2913,938,-1332,-2479,-2185,-1454,-1221,-1504,-2003,-2649,-3186,-2989,-1941,-1003,-1138,-1972,-2285,-1736,-1191,-1272,-1492,-1248,-856,-909,-1152,-841,-12,464,94,-653,-1120,-1200,-1083,-842,-596,-626,-920,-991,-569,-150,-330,-842,-863,-208,415,441,155,81,175,40,-365,-722,-907,-1093,-1309,-1295,-932,-516,-420,-648,-904,-980,-913,-812,-707,-585,-476,-440,-486,-556,-595,-616,-684,-819,-947,-987,-945,-883,-816,-722,-626,-577,-534,-396,-176,-38,-91,-232,-292,-266,-273,-330,-322,-197,-54,1,-12,-37,-88,-196,-305,-332,-287,-249,-242,-226,-203,-233,-329,-408,-393,-306,-218,-161,-129,-125,-158,-202,-212,-180,-142,-120,-105,-93,-98,-127,-165,-204,-246,-282,-284,-239,-172,-112,-64,-23,0,-12,-46,-78,-103,-129,-149,-145,-119,-92,-74,-55,-36,-35,-60,-89,-105,-121,-143,-154,-135,-100,-80,-70,-40,12,49,43,7,-32,-68,-104,-130,-133,-117,-94,-61,-13,35,55,40,11,-12,-30,-46,-47,-28,-4,9,18,34,49,44,22,-1,-15,-25,-26,-7,30,69,99,122,139,140,128,126,143,154,143,134,158,190,170,86}
},
{ // H40e141a.wav
{0,1,1,0,0,1,1,-1,-2,-2,-1,-1,-1,0,0,0,0,1,0,-1,0,1,0,-2,0,2,1,-2,-1,3,0,-8,-8,1,2,-8,-9,8,16,-2,-16,4,17,-4,105,656,1722,2783,2934,1587,-960,-3640,-5282,-5251,-3669,-1205,1354,3487,5011,5853,5845,4893,3326,1886,1202,1299,1688,1888,1775,1479,1157,916,822,840,799,538,85,-371,-683,-849,-920,-900,-779,-628,-571,-657,-791,-833,-772,-774,-986,-1275,-1269,-757,-13,441,408,200,172,243,85,-308,-529,-304,101,207,-94,-477,-653,-666,-696,-763,-756,-627,-431,-216,-4,130,75,-175,-478,-672,-706,-619,-459,-282,-174,-208,-352,-493,-549,-536,-510,-494,-486,-509,-584,-676,-696,-597,-427,-281,-214,-219,-266,-338,-420,-488,-520,-509,-466,-405,-350,-333,-376,-467,-566,-638,-676,-692,-686,-645,-562,-455,-366,-329,-342,-365,-361,-332,-310,-316,-332,-329,-312,-314,-344,-370,-363,-341,-347,-391,-436,-447,-423,-389,-359,-334,-316,-307,-303,-293,-271,-244,-219,-204,-208,-235,-276,-306,-306,-280,-244,-211,-181,-155,-139,-133,-133,-137,-147,-161,-171,-173,-169,-163,-152,-132,-112,-101,-97,-92,-83,-79,-85,-94,-95,-87,-71,-47,-13,26,57,68,57,29,-10,-53,-87,-100,-91,-67,-36,-1,35,60,62,43,13,-17,-41,-55,-53,-36,-15,-3},
{-2,7,11,3,-3,2,5,-5,-14,-7,4,2,-8,-6,6,4,-16,-15,26,25,-72,41,1123,3658,6646,7441,3747,-3632,-10457,-12389,-8944,-3636,55,2259,5611,10962,15384,15087,9760,3159,-585,-518,1378,3023,3886,4140,3495,1639,-721,-2188,-2150,-1356,-896,-1118,-1746,-2482,-3031,-2945,-2106,-1206,-1096,-1663,-1961,-1559,-1096,-1199,-1522,-1404,-983,-899,-1123,-936,-143,453,137,-737,-1275,-1168,-832,-671,-698,-779,-812,-690,-420,-290,-542,-907,-833,-251,271,299,81,67,202,79,-380,-820,-993,-1032,-1102,-1107,-917,-644,-522,-602,-751,-863,-921,-892,-728,-487,-342,-396,-561,-651,-581,-450,-427,-582,-825,-1003,-1038,-961,-834,-697,-590,-547,-533,-458,-301,-163,-143,-200,-223,-204,-231,-321,-370,-298,-162,-67,-33,-25,-47,-129,-243,-314,-315,-295,-285,-265,-234,-237,-298,-365,-369,-307,-234,-186,-158,-148,-165,-199,-212,-185,-143,-120,-117,-117,-119,-134,-162,-201,-246,-287,-300,-271,-214,-157,-112,-71,-37,-25,-38,-62,-86,-117,-151,-167,-152,-122,-96,-74,-48,-29,-35,-61,-90,-116,-143,-161,-149,-114,-83,-67,-46,-10,18,13,-17,-50,-78,-107,-129,-134,-123,-101,-62,-4,48,63,45,22,6,-16,-47,-64,-54,-31,-12,6,31,50,48,31,11,-7,-22,-23,-3,23,40,57,86,118,136,145,158,168,159,143,150,169,151,79}
},
{ // H40e148a.wav
{0,0,1,1,0,-1,-1,-1,-2,-3,-2,0,1,0,0,0,-1,-2,-2,-1,-1,-2,0,3,2,-2,-2,1,0,-8,-9,0,3,-9,-15,1,17,3,-17,0,21,-3,67,583,1706,2936,3247,1892,-856,-3793,-5593,-5586,-3958,-1422,1253,3567,5314,6341,6388,5309,3478,1787,1016,1208,1749,2028,1901,1561,1197,898,727,692,666,468,65,-392,-743,-949,-1032,-992,-836,-644,-542,-591,-737,-855,-856,-796,-846,-1089,-1328,-1229,-705,-74,288,350,340,330,153,-224,-488,-348,29,174,-104,-514,-696,-639,-590,-675,-786,-777,-621,-370,-93,107,115,-83,-354,-538,-588,-548,-458,-329,-208,-169,-232,-333,-406,-450,-498,-549,-575,-580,-605,-660,-691,-635,-491,-328,-220,-198,-241,-314,-391,-462,-522,-554,-531,-443,-330,-263,-289,-381,-475,-548,-633,-743,-814,-760,-582,-393,-304,-321,-370,-396,-404,-412,-406,-367,-313,-284,-295,-323,-339,-338,-337,-347,-365,-376,-368,-343,-320,-322,-350,-381,-389,-366,-324,-281,-245,-221,-210,-215,-233,-261,-290,-308,-307,-288,-261,-230,-196,-161,-133,-118,-115,-120,-132,-150,-171,-189,-195,-184,-157,-128,-106,-90,-77,-73,-85,-107,-126,-132,-125,-110,-85,-49,-6,32,56,61,47,16,-24,-56,-69,-66,-57,-42,-18,11,29,29,17,6,-3,-16,-30,-35,-27,-16,-15,-21,-23,-14},
{1,-5,-2,7,9,1,-5,-2,0,-7,-14,-10,2,3,-8,-11,2,5,-13,-11,20,-5,-44,428,2178,5068,7175,5807,180,-7005,-11395,-10788,-6805,-2571,765,4492,9509,14064,15079,11478,5548,850,-759,96,1832,3402,4317,4087,2456,76,-1700,-2024,-1322,-677,-722,-1346,-2164,-2810,-2907,-2305,-1452,-1092,-1376,-1659,-1432,-1045,-1103,-1487,-1557,-1191,-924,-988,-893,-300,252,40,-749,-1233,-1027,-639,-622,-853,-883,-624,-364,-328,-489,-714,-843,-728,-379,-35,92,77,118,179,25,-396,-829,-1028,-1016,-947,-878,-790,-710,-680,-674,-660,-681,-770,-832,-739,-528,-387,-432,-575,-642,-554,-383,-279,-355,-607,-896,-1053,-1023,-883,-733,-609,-505,-426,-373,-327,-283,-261,-261,-247,-209,-205,-276,-361,-361,-271,-176,-134,-118,-98,-102,-164,-250,-301,-303,-294,-289,-280,-274,-292,-321,-320,-272,-214,-184,-182,-189,-196,-203,-200,-180,-155,-143,-145,-148,-146,-147,-156,-177,-218,-273,-314,-311,-269,-218,-173,-124,-65,-19,-10,-37,-80,-127,-168,-190,-184,-156,-121,-85,-50,-28,-30,-52,-80,-109,-140,-159,-148,-113,-81,-67,-57,-34,-10,-9,-28,-50,-70,-92,-116,-132,-131,-111,-74,-23,29,62,68,54,32,5,-26,-58,-80,-83,-63,-26,14,45,57,47,21,-4,-12,-5,0,-4,1,33,81,119,140,157,172,172,161,156,155,128,64}
},
{ // H40e154a.wav
{3,3,1,0,0,1,0,-1,0,2,3,3,2,1,0,-1,0,1,1,1,3,5,1,-3,-1,5,2,-8,-8,5,8,-8,-15,4,18,-1,-18,10,29,-3,126,835,2199,3472,3428,1421,-1894,-4942,-6337,-5673,-3474,-626,2149,4485,6225,7130,6834,5246,2990,1204,681,1230,1983,2259,2009,1542,1105,791,632,581,480,199,-212,-599,-886,-1082,-1158,-1059,-837,-652,-608,-670,-764,-851,-887,-841,-798,-917,-1174,-1268,-953,-378,63,204,212,225,130,-161,-426,-371,-71,71,-159,-526,-685,-606,-525,-584,-694,-724,-655,-526,-348,-155,-51,-116,-292,-438,-481,-457,-412,-336,-221,-119,-105,-187,-303,-392,-448,-493,-545,-606,-673,-722,-704,-585,-399,-238,-177,-218,-304,-388,-457,-508,-530,-509,-452,-380,-320,-293,-319,-403,-530,-662,-750,-754,-662,-511,-373,-305,-311,-356,-408,-451,-470,-449,-392,-337,-320,-339,-364,-375,-380,-383,-370,-329,-271,-225,-211,-232,-278,-330,-368,-381,-371,-344,-305,-263,-233,-227,-239,-253,-264,-277,-293,-301,-297,-286,-273,-249,-207,-156,-116,-98,-96,-105,-128,-160,-187,-193,-179,-158,-136,-113,-89,-74,-75,-88,-100,-108,-115,-125,-131,-123,-98,-60,-18,20,45,49,28,-8,-42,-62,-69,-67,-54,-24,18,53,62,45,18,-7,-28,-46,-57,-56,-44,-23,-1,10,1,-18,-27,-16},
{-4,0,1,0,1,6,8,2,-4,-2,2,-4,-14,-9,7,7,-14,-18,9,18,-14,-24,16,8,0,564,2424,5228,6891,4970,-758,-7381,-11084,-10364,-6757,-2532,1612,6197,10925,13939,13430,9560,4482,628,-823,-106,1798,3713,4553,3742,1658,-495,-1581,-1406,-709,-362,-688,-1463,-2272,-2719,-2556,-1905,-1285,-1134,-1312,-1335,-1091,-986,-1273,-1604,-1520,-1113,-815,-710,-513,-207,-186,-600,-989,-906,-578,-547,-833,-919,-562,-163,-185,-539,-795,-773,-643,-550,-433,-220,12,140,128,-13,-281,-638,-954,-1086,-996,-785,-605,-555,-623,-711,-737,-701,-651,-602,-545,-509,-545,-635,-678,-605,-455,-318,-248,-267,-396,-618,-835,-932,-888,-771,-639,-505,-382,-305,-283,-289,-303,-333,-365,-361,-319,-298,-330,-365,-341,-281,-259,-282,-281,-214,-137,-125,-182,-251,-293,-307,-306,-302,-307,-317,-307,-257,-186,-142,-146,-179,-211,-231,-241,-236,-213,-180,-156,-148,-148,-148,-151,-170,-216,-283,-340,-350,-311,-254,-205,-163,-117,-73,-49,-51,-71,-101,-139,-176,-192,-179,-153,-130,-109,-86,-66,-62,-71,-83,-95,-113,-131,-133,-115,-93,-75,-53,-21,4,5,-17,-44,-70,-102,-137,-159,-152,-116,-59,5,61,92,91,68,34,-6,-49,-88,-110,-110,-90,-52,-4,36,53,50,41,32,15,-11,-28,-17,18,61,105,146,171,170,157,152,147,115,54}
},
{ // H40e161a.wav
{0,0,0,0,0,0,0,1,1,2,3,3,0,-3,-1,2,1,-2,0,5,4,-3,-3,5,4,-9,-13,2,11,-5,-18,0,21,1,-24,5,40,3,87,773,2239,3734,3860,1771,-1886,-5328,-6932,-6214,-3789,-680,2312,4812,6688,7708,7450,5729,3161,1041,378,1048,2037,2462,2207,1651,1122,738,541,496,418,122,-348,-770,-1015,-1143,-1211,-1159,-956,-724,-624,-682,-810,-919,-950,-874,-763,-788,-1013,-1224,-1117,-673,-188,88,181,204,112,-162,-451,-470,-208,-8,-161,-539,-767,-670,-431,-325,-429,-613,-714,-660,-487,-307,-237,-307,-429,-489,-459,-399,-357,-314,-241,-161,-122,-138,-182,-240,-327,-443,-555,-630,-671,-681,-629,-490,-317,-214,-228,-296,-340,-365,-425,-515,-559,-516,-431,-365,-320,-290,-321,-462,-664,-798,-786,-672,-541,-425,-322,-259,-276,-353,-415,-412,-369,-342,-349,-373,-400,-429,-456,-465,-447,-399,-323,-235,-167,-152,-190,-249,-291,-307,-308,-306,-302,-296,-289,-285,-284,-279,-267,-249,-238,-247,-276,-310,-329,-320,-287,-241,-196,-158,-128,-106,-94,-99,-121,-153,-181,-194,-185,-155,-115,-84,-72,-72,-73,-74,-84,-106,-126,-129,-114,-94,-76,-56,-32,-8,6,9,2,-11,-31,-54,-72,-77,-64,-36,0,38,69,81,67,33,-7,-42,-66,-76,-68,-43,-13,4,6,2,4,9,10,5},
{-5,-5,-1,2,0,-2,1,7,6,-2,-5,0,2,-10,-18,-5,12,2,-21,-12,19,12,-28,-19,29,4,78,954,3152,5777,6462,3318,-2843,-8683,-11055,-9423,-5500,-1018,3540,8109,11813,13184,11496,7534,3095,-63,-971,257,2509,4220,4287,2748,646,-830,-1176,-751,-294,-323,-887,-1690,-2332,-2500,-2142,-1553,-1162,-1124,-1192,-1106,-977,-1102,-1445,-1601,-1324,-849,-551,-488,-496,-540,-683,-809,-719,-499,-483,-728,-848,-561,-151,-106,-445,-738,-733,-624,-633,-648,-456,-129,71,54,-58,-202,-460,-829,-1094,-1059,-791,-545,-477,-537,-612,-658,-678,-652,-563,-467,-457,-557,-678,-705,-613,-464,-331,-255,-262,-365,-520,-631,-647,-617,-613,-624,-575,-455,-343,-301,-298,-283,-278,-336,-440,-507,-499,-453,-410,-363,-311,-292,-326,-360,-326,-236,-165,-155,-179,-209,-251,-312,-359,-359,-320,-274,-229,-179,-138,-134,-164,-196,-214,-231,-257,-270,-247,-201,-163,-150,-155,-168,-190,-226,-271,-313,-335,-327,-294,-251,-209,-165,-116,-72,-50,-56,-79,-112,-153,-193,-216,-209,-179,-142,-110,-88,-77,-76,-79,-84,-94,-111,-127,-125,-105,-77,-43,-6,21,23,3,-23,-51,-87,-128,-157,-158,-135,-94,-37,28,82,104,93,59,12,-42,-93,-127,-133,-112,-73,-28,10,37,55,64,56,32,5,-8,-4,12,41,83,125,149,158,163,159,124,59}
},
{ // H40e167a.wav
{-2,-2,-3,-4,-3,0,1,1,0,-1,-4,-5,-2,0,-2,-4,0,6,2,-7,-7,2,0,-14,-15,3,9,-12,-23,3,21,-10,-34,9,43,-1,169,1112,2878,4386,4008,1078,-3238,-6725,-7765,-6243,-3153,342,3502,6038,7818,8536,7747,5410,2435,349,104,1246,2440,2754,2259,1526,929,542,370,356,279,-76,-635,-1097,-1287,-1294,-1253,-1161,-985,-799,-722,-774,-890,-994,-1016,-912,-755,-733,-928,-1149,-1113,-771,-345,-48,92,118,21,-177,-343,-356,-285,-307,-479,-675,-750,-675,-512,-340,-243,-285,-436,-568,-586,-522,-478,-497,-541,-563,-553,-510,-432,-333,-243,-176,-134,-130,-184,-279,-365,-427,-500,-602,-666,-608,-436,-265,-198,-234,-298,-342,-376,-424,-473,-491,-468,-423,-381,-360,-378,-453,-569,-672,-705,-664,-592,-529,-482,-448,-431,-426,-401,-333,-246,-192,-197,-243,-304,-381,-473,-552,-574,-522,-415,-294,-199,-160,-180,-229,-266,-272,-260,-249,-243,-243,-253,-272,-290,-299,-296,-283,-263,-246,-251,-281,-316,-331,-323,-301,-268,-221,-171,-140,-136,-142,-141,-139,-151,-173,-184,-175,-153,-131,-111,-93,-79,-74,-76,-80,-84,-91,-100,-104,-100,-86,-66,-42,-20,-6,-4,-16,-37,-59,-76,-87,-95,-96,-80,-42,5,42,59,59,49,30,1,-32,-59,-70,-63,-42,-16,0,0,-8,-10,-4,2,1,-3,-3},
{4,3,-1,-4,-2,1,0,-3,0,8,8,-2,-7,2,7,-8,-21,-6,15,4,-24,-13,25,17,-33,-26,36,19,64,853,2916,5425,6133,3234,-2560,-8170,-10618,-9224,-5394,-804,3733,7852,10894,11976,10652,7340,3257,28,-1037,213,2518,4077,3893,2355,612,-446,-657,-385,-126,-233,-778,-1531,-2108,-2236,-1935,-1476,-1153,-1048,-1024,-962,-950,-1136,-1428,-1500,-1174,-684,-432,-541,-782,-886,-791,-599,-440,-414,-530,-643,-565,-314,-135,-208,-435,-610,-692,-760,-790,-668,-403,-164,-60,-43,-84,-269,-619,-940,-1001,-818,-613,-538,-548,-554,-547,-543,-513,-453,-434,-515,-640,-692,-633,-529,-445,-389,-351,-345,-377,-417,-423,-387,-343,-339,-396,-489,-554,-536,-441,-335,-282,-298,-359,-439,-519,-581,-608,-590,-530,-446,-367,-319,-302,-296,-288,-283,-273,-241,-192,-173,-223,-316,-385,-392,-344,-265,-175,-104,-89,-131,-188,-226,-250,-276,-290,-272,-234,-213,-217,-218,-202,-189,-203,-236,-266,-290,-317,-339,-330,-282,-213,-147,-96,-64,-57,-78,-115,-155,-193,-219,-225,-210,-183,-153,-125,-100,-83,-78,-83,-90,-98,-107,-112,-101,-73,-39,-12,7,21,23,7,-21,-49,-76,-109,-141,-153,-136,-97,-50,0,46,73,71,45,6,-38,-84,-118,-128,-112,-80,-36,19,68,87,70,36,10,-4,-7,4,30,56,73,94,132,161,140,69}
},
{ // H40e174a.wav
{-2,-2,0,2,2,2,2,1,-2,-4,-2,1,0,-3,0,7,5,-4,-5,4,3,-12,-17,1,12,-9,-26,0,28,0,-39,-2,51,10,115,989,2849,4673,4616,1684,-3054,-7122,-8536,-7030,-3696,141,3643,6461,8421,9223,8440,5987,2706,206,-289,971,2531,3115,2590,1637,855,404,234,245,218,-96,-690,-1260,-1524,-1486,-1326,-1163,-1013,-885,-817,-832,-932,-1076,-1141,-1002,-732,-607,-793,-1089,-1144,-873,-509,-255,-94,15,-10,-193,-341,-277,-141,-228,-562,-846,-863,-720,-603,-495,-301,-112,-126,-345,-542,-573,-540,-592,-694,-711,-624,-531,-481,-420,-316,-227,-206,-226,-245,-286,-391,-523,-585,-540,-451,-387,-347,-297,-250,-249,-292,-327,-330,-340,-389,-443,-446,-408,-394,-440,-513,-570,-605,-623,-605,-550,-507,-523,-569,-569,-503,-425,-376,-325,-235,-144,-123,-189,-293,-391,-473,-520,-493,-386,-268,-216,-238,-277,-285,-264,-237,-218,-210,-217,-240,-266,-282,-282,-269,-247,-227,-224,-241,-268,-292,-311,-327,-332,-318,-284,-240,-197,-160,-133,-121,-127,-148,-176,-197,-200,-187,-169,-151,-132,-111,-94,-83,-73,-60,-55,-68,-93,-106,-97,-78,-60,-41,-15,8,13,-2,-23,-42,-65,-98,-129,-140,-123,-84,-35,11,43,56,53,38,15,-12,-35,-49,-52,-46,-28,-1,20,21,6,-10,-17,-17,-14,-5,9,17,11},
{6,7,6,4,1,-1,0,3,4,3,6,11,9,0,-2,6,6,-10,-15,5,20,-2,-25,-2,33,9,-38,-9,51,15,126,1102,3263,5475,5515,2074,-3617,-8491,-10088,-8180,-4216,278,4491,8012,10357,10977,9566,6396,2556,-282,-829,755,2887,3878,3252,1781,483,-176,-277,-109,2,-217,-816,-1535,-1999,-2025,-1715,-1316,-1032,-918,-902,-916,-995,-1195,-1396,-1338,-946,-524,-455,-744,-1013,-958,-667,-427,-368,-398,-412,-394,-351,-265,-169,-181,-380,-685,-898,-891,-713,-512,-366,-236,-97,-41,-186,-489,-748,-814,-742,-675,-656,-628,-574,-534,-505,-424,-300,-255,-381,-601,-748,-736,-604,-434,-298,-250,-304,-393,-425,-381,-320,-286,-265,-248,-272,-363,-476,-538,-525,-469,-408,-374,-401,-494,-598,-638,-607,-564,-546,-522,-453,-357,-282,-245,-230,-228,-248,-285,-311,-312,-303,-304,-312,-311,-287,-243,-193,-158,-150,-162,-181,-210,-259,-312,-330,-298,-250,-225,-224,-218,-203,-201,-225,-256,-277,-293,-316,-336,-325,-274,-204,-142,-102,-86,-94,-122,-157,-184,-201,-209,-209,-201,-186,-163,-135,-110,-93,-81,-71,-68,-80,-99,-105,-91,-68,-48,-23,10,37,38,15,-16,-48,-85,-125,-154,-162,-147,-110,-56,1,39,51,47,32,2,-42,-82,-102,-104,-94,-65,-10,49,78,66,31,-2,-20,-19,-2,18,29,41,72,108,107,57}
},
{ // H40e180a.wav
{-4,-2,0,0,0,-1,-3,-6,-5,-1,0,-3,-1,5,5,-5,-9,0,3,-12,-22,-5,14,-2,-28,-11,25,9,-38,-18,44,17,67,833,2712,4838,5228,2487,-2574,-7306,-9287,-7971,-4485,-318,3581,6793,9046,9984,9211,6663,3127,217,-634,599,2479,3426,2997,1856,819,219,20,77,149,-63,-651,-1348,-1772,-1780,-1519,-1214,-999,-903,-884,-898,-965,-1123,-1274,-1201,-853,-528,-570,-919,-1147,-987,-624,-375,-287,-214,-144,-194,-321,-320,-164,-124,-402,-804,-971,-829,-627,-539,-460,-260,-55,-72,-318,-568,-655,-642,-665,-726,-733,-658,-562,-480,-386,-279,-219,-252,-347,-455,-565,-653,-645,-493,-290,-199,-271,-383,-401,-331,-274,-273,-285,-278,-282,-329,-400,-462,-510,-548,-560,-536,-510,-522,-563,-582,-565,-550,-564,-572,-528,-439,-350,-283,-224,-175,-167,-225,-323,-406,-435,-405,-338,-271,-235,-241,-267,-276,-252,-213,-191,-203,-242,-285,-313,-316,-292,-249,-205,-185,-200,-236,-268,-282,-288,-298,-312,-319,-310,-287,-252,-205,-153,-115,-105,-122,-151,-179,-203,-214,-207,-190,-174,-164,-150,-121,-82,-52,-44,-55,-74,-93,-108,-111,-94,-58,-17,15,31,30,15,-12,-47,-86,-124,-153,-162,-145,-106,-53,-1,37,50,41,22,2,-19,-43,-64,-70,-59,-38,-9,23,45,38,7,-17,-15,-4,-6,-12,6,43,61,38},
{-4,-2,0,0,0,-1,-3,-6,-5,-1,0,-3,-1,5,5,-5,-9,0,3,-12,-22,-5,14,-2,-28,-11,25,9,-38,-18,44,17,67,833,2712,4838,5228,2487,-2574,-7306,-9287,-7971,-4485,-318,3581,6793,9046,9984,9211,6663,3127,217,-634,599,2479,3426,2997,1856,819,219,20,77,149,-63,-651,-1348,-1772,-1780,-1519,-1214,-999,-903,-884,-898,-965,-1123,-1274,-1201,-853,-528,-570,-919,-1147,-987,-624,-375,-287,-214,-144,-194,-321,-320,-164,-124,-402,-804,-971,-829,-627,-539,-460,-260,-55,-72,-318,-568,-655,-642,-665,-726,-733,-658,-562,-480,-386,-279,-219,-252,-347,-455,-565,-653,-645,-493,-290,-199,-271,-383,-401,-331,-274,-273,-285,-278,-282,-329,-400,-462,-510,-548,-560,-536,-510,-522,-563,-582,-565,-550,-564,-572,-528,-439,-350,-283,-224,-175,-167,-225,-323,-406,-435,-405,-338,-271,-235,-241,-267,-276,-252,-213,-191,-203,-242,-285,-313,-316,-292,-249,-205,-185,-200,-236,-268,-282,-288,-298,-312,-319,-310,-287,-252,-205,-153,-115,-105,-122,-151,-179,-203,-214,-207,-190,-174,-164,-150,-121,-82,-52,-44,-55,-74,-93,-108,-111,-94,-58,-17,15,31,30,15,-12,-47,-86,-124,-153,-162,-145,-106,-53,-1,37,50,41,22,2,-19,-43,-64,-70,-59,-38,-9,23,45,38,7,-17,-15,-4,-6,-12,6,43,61,38}
}
},
{ // elev50
{ // H50e000a.wav
{14,-29,-12,50,19,-80,-51,91,75,-119,-129,130,190,-142,-275,147,378,-144,-247,1553,4241,5053,3478,1967,1283,-1906,-9533,-16210,-13722,-1952,9360,12114,9311,9314,13480,14833,8744,-351,-4938,-3356,240,2295,2650,2062,646,-788,-755,395,164,-2493,-4933,-4050,-715,1102,-555,-3305,-3795,-1811,64,30,-1119,-1669,-1227,-696,-703,-885,-688,-178,193,245,122,-75,-337,-524,-475,-343,-460,-786,-876,-554,-233,-298,-515,-472,-321,-550,-1075,-1192,-570,194,346,-91,-489,-491,-280,-117,-30,-8,-121,-312,-342,-121,101,63,-139,-238,-235,-404,-828,-1177,-1074,-551,-3,243,185,16,-109,-125,-33,95,120,-39,-285,-432,-427,-389,-428,-508,-552,-607,-795,-1108,-1355,-1362,-1158,-923,-792,-749,-709,-628,-521,-424,-374,-401,-502,-616,-659,-615,-549,-522,-506,-437,-318,-229,-223,-265,-302,-337,-386,-426,-423,-392,-371,-353,-298,-214,-152,-130,-118,-113,-165,-280,-385,-408,-370,-335,-313,-269,-208,-175,-175,-172,-154,-155,-190,-219,-206,-168,-136,-104,-51,4,23,3,-19,-20,-16,-30,-57,-73,-64,-36,-7,8,10,16,29,34,10,-39,-86,-112,-118,-110,-87,-50,-6,28,46,45,28,1,-25,-48,-73,-94,-94,-63,-14,26,42,46,50,53,47,30,12,7,26,63,98,114,115,116,114,90,40,-7,-23,-12,7,33,77,122,123,68},
{14,-29,-12,50,19,-80,-51,91,75,-119,-129,130,190,-142,-275,147,378,-144,-247,1553,4241,5053,3478,1967,1283,-1906,-9533,-16210,-13722,-1952,9360,12114,9311,9314,13480,14833,8744,-351,-4938,-3356,240,2295,2650,2062,646,-788,-755,395,164,-2493,-4933,-4050,-715,1102,-555,-3305,-3795,-1811,64,30,-1119,-1669,-1227,-696,-703,-885,-688,-178,193,245,122,-75,-337,-524,-475,-343,-460,-786,-876,-554,-233,-298,-515,-472,-321,-550,-1075,-1192,-570,194,346,-91,-489,-491,-280,-117,-30,-8,-121,-312,-342,-121,101,63,-139,-238,-235,-404,-828,-1177,-1074,-551,-3,243,185,16,-109,-125,-33,95,120,-39,-285,-432,-427,-389,-428,-508,-552,-607,-795,-1108,-1355,-1362,-1158,-923,-792,-749,-709,-628,-521,-424,-374,-401,-502,-616,-659,-615,-549,-522,-506,-437,-318,-229,-223,-265,-302,-337,-386,-426,-423,-392,-371,-353,-298,-214,-152,-130,-118,-113,-165,-280,-385,-408,-370,-335,-313,-269,-208,-175,-175,-172,-154,-155,-190,-219,-206,-168,-136,-104,-51,4,23,3,-19,-20,-16,-30,-57,-73,-64,-36,-7,8,10,16,29,34,10,-39,-86,-112,-118,-110,-87,-50,-6,28,46,45,28,1,-25,-48,-73,-94,-94,-63,-14,26,42,46,50,53,47,30,12,7,26,63,98,114,115,116,114,90,40,-7,-23,-12,7,33,77,122,123,68}
},
{ // H50e008a.wav
{-12,4,26,3,-27,5,46,-2,-69,-15,84,24,-119,-60,141,100,-168,-150,211,226,-221,75,1924,3943,4100,2704,1701,771,-3046,-10040,-14701,-11274,-1574,6449,8394,8061,10686,14835,14548,8038,327,-3127,-2180,-217,721,940,904,551,349,926,1518,510,-1974,-3533,-2494,-345,68,-1761,-3447,-2895,-848,342,-310,-1566,-1846,-1068,-305,-258,-641,-859,-699,-297,118,246,-98,-600,-590,85,646,310,-583,-973,-533,-71,-308,-920,-1183,-1053,-998,-1073,-860,-276,188,193,14,25,134,49,-178,-266,-199,-223,-381,-414,-188,64,78,-91,-223,-305,-516,-878,-1125,-988,-507,19,333,390,277,86,-94,-168,-122,-86,-215,-475,-645,-575,-382,-298,-403,-577,-713,-836,-993,-1112,-1084,-915,-743,-680,-711,-744,-708,-584,-408,-257,-232,-373,-611,-809,-875,-812,-684,-545,-430,-357,-320,-289,-250,-235,-284,-372,-430,-424,-394,-388,-396,-376,-324,-266,-219,-179,-161,-189,-258,-330,-387,-438,-472,-453,-364,-252,-175,-137,-106,-79,-83,-125,-172,-190,-179,-158,-133,-90,-31,18,34,20,3,0,-3,-30,-79,-113,-105,-67,-27,7,43,74,75,43,0,-37,-79,-132,-174,-172,-124,-56,6,56,92,107,93,49,-14,-81,-131,-150,-137,-101,-53,-1,53,101,129,122,85,40,10,-1,3,21,58,105,138,141,119,86,44,-3,-36,-39,-21,-5},
{-33,50,51,-76,-101,69,134,-80,-202,60,268,-41,-364,-7,467,49,-469,947,4100,5892,4616,2569,1743,-826,-8763,-17930,-18114,-5805,9342,15314,12099,9745,13320,16439,11613,1336,-5498,-4951,-946,1755,2499,2339,1150,-825,-1632,-384,482,-1603,-4992,-5467,-2099,1172,655,-2468,-4129,-2682,-372,167,-950,-1784,-1413,-707,-664,-1069,-1083,-483,212,526,430,75,-402,-738,-675,-384,-372,-772,-1063,-821,-375,-295,-508,-485,-208,-257,-824,-1248,-916,-151,235,5,-373,-489,-394,-261,-111,8,-62,-291,-372,-144,118,87,-132,-182,-59,-164,-702,-1289,-1360,-835,-185,129,96,16,83,215,235,104,-67,-161,-159,-140,-194,-337,-495,-572,-561,-575,-747,-1080,-1425,-1603,-1544,-1307,-998,-700,-474,-375,-424,-559,-658,-637,-523,-418,-392,-435,-498,-528,-485,-368,-240,-183,-202,-224,-217,-244,-355,-484,-524,-475,-422,-391,-317,-180,-63,-39,-79,-123,-169,-238,-299,-313,-303,-314,-329,-292,-212,-156,-145,-137,-110,-107,-157,-220,-241,-222,-188,-144,-77,-6,32,30,9,-14,-37,-59,-75,-83,-82,-62,-24,11,23,24,34,44,26,-31,-97,-134,-136,-120,-97,-65,-19,35,72,74,44,5,-32,-72,-113,-128,-95,-30,25,46,45,44,51,55,46,25,7,10,33,61,81,96,112,120,105,72,37,15,8,19,45,69,80,94,128,160,142,69}
},
{ // H50e016a.wav
{7,0,-10,5,19,-4,-23,9,36,-10,-56,-4,65,3,-99,-33,115,56,-141,-85,181,128,-194,216,1819,3368,3395,2358,1669,711,-2862,-8786,-12354,-9314,-1571,4689,6507,6969,9628,12890,12322,7073,1151,-1552,-1095,157,872,1148,1076,613,329,788,1281,484,-1468,-2719,-2052,-603,-390,-1675,-2729,-2173,-672,85,-505,-1449,-1585,-896,-247,-224,-619,-888,-756,-328,83,153,-179,-524,-365,249,605,190,-578,-847,-448,-59,-225,-709,-998,-1018,-1000,-932,-616,-138,142,105,22,84,122,-56,-307,-369,-261,-213,-290,-326,-223,-105,-109,-202,-292,-396,-588,-820,-916,-751,-380,16,273,329,223,45,-121,-237,-309,-361,-403,-428,-439,-454,-489,-535,-572,-603,-658,-756,-866,-923,-888,-780,-657,-578,-567,-605,-644,-635,-560,-452,-380,-397,-500,-638,-751,-810,-800,-711,-561,-412,-327,-308,-307,-293,-292,-327,-380,-414,-426,-436,-443,-420,-361,-297,-263,-263,-283,-303,-311,-314,-332,-376,-419,-420,-368,-293,-218,-143,-76,-48,-73,-122,-152,-161,-169,-173,-145,-81,-19,12,21,27,29,12,-21,-48,-59,-63,-70,-72,-52,-12,26,39,28,9,-12,-41,-80,-114,-129,-124,-104,-65,-8,48,75,67,43,19,-15,-67,-116,-131,-106,-69,-40,-11,35,87,112,94,54,25,20,27,32,38,55,79,97,102,98,87,62,26,-2,-7},
{84,-43,-136,10,164,4,-228,-54,287,120,-357,-220,428,320,-500,150,3280,6210,5927,3657,2448,716,-6491,-17787,-22399,-12177,6193,17472,16030,11189,12635,17122,14775,4279,-5193,-6395,-1925,1654,2272,1854,1226,-246,-1650,-1282,-148,-1202,-4498,-6143,-3581,424,1254,-1521,-3943,-3134,-625,384,-749,-2004,-1859,-956,-604,-926,-1113,-772,-226,202,489,512,35,-720,-1071,-751,-366,-538,-992,-1020,-593,-332,-464,-524,-271,-183,-637,-1148,-1000,-314,118,-54,-401,-471,-354,-299,-272,-162,-92,-189,-285,-153,70,68,-136,-188,11,70,-369,-1078,-1467,-1269,-769,-358,-90,206,525,630,387,-8,-237,-209,-100,-85,-157,-234,-307,-412,-523,-600,-721,-1023,-1500,-1913,-1986,-1656,-1101,-573,-250,-205,-401,-673,-805,-706,-492,-355,-348,-372,-353,-334,-368,-401,-345,-216,-113,-91,-132,-219,-358,-504,-563,-509,-418,-354,-290,-195,-114,-104,-127,-110,-71,-97,-202,-298,-327,-320,-317,-295,-227,-148,-100,-78,-60,-64,-119,-197,-245,-245,-221,-178,-98,1,68,69,29,-12,-44,-77,-110,-127,-112,-69,-17,18,27,30,43,48,15,-52,-115,-141,-140,-133,-118,-82,-30,20,57,74,66,30,-24,-77,-116,-127,-101,-47,6,35,45,54,66,67,52,31,18,19,31,46,55,57,67,91,111,102,71,50,51,53,41,35,61,111,152,169,173,166,129,63}
},
{ // H50e024a.wav
{-11,-6,4,-2,-10,3,12,-7,-20,7,24,-14,-47,-3,46,-7,-80,-20,91,34,-114,-58,141,78,-150,248,1572,2807,2860,2143,1671,796,-2344,-7374,-10433,-8144,-2016,3132,4982,5827,8288,11084,10805,6768,2011,-407,-336,540,1108,1258,1021,511,300,778,1253,608,-1037,-2175,-1783,-682,-444,-1352,-2147,-1767,-667,-109,-557,-1260,-1329,-767,-262,-270,-608,-833,-722,-354,23,132,-121,-448,-394,81,448,241,-303,-537,-267,30,-96,-517,-831,-914,-898,-812,-562,-217,-12,-15,-49,0,7,-148,-340,-363,-233,-161,-262,-427,-485,-390,-227,-119,-153,-341,-593,-763,-753,-575,-309,-43,147,205,132,-5,-134,-239,-345,-452,-519,-524,-503,-513,-563,-608,-613,-591,-589,-633,-701,-749,-746,-698,-634,-584,-559,-552,-554,-563,-569,-548,-495,-450,-467,-557,-669,-737,-740,-701,-642,-563,-463,-362,-299,-296,-339,-384,-401,-406,-435,-490,-528,-504,-424,-335,-278,-261,-276,-307,-334,-343,-339,-339,-340,-331,-304,-267,-225,-174,-120,-84,-80,-97,-119,-143,-166,-168,-131,-67,-10,22,32,27,9,-15,-30,-35,-45,-66,-85,-81,-56,-31,-16,-2,13,14,-8,-43,-70,-82,-88,-94,-91,-66,-25,12,31,34,29,16,-15,-60,-99,-114,-100,-65,-21,20,51,72,82,75,47,15,-2,3,22,43,58,68,77,86,92,86,62,27},
{-130,-56,142,100,-182,-181,203,282,-212,-409,212,560,-232,-524,1858,5615,6961,5165,3429,2365,-2991,-14911,-24705,-20028,-1230,16385,20148,14426,12189,16392,17515,9020,-2805,-7649,-4111,991,2772,2233,1408,92,-1640,-2009,-753,-732,-3740,-6812,-5707,-1109,1769,-21,-3510,-4101,-1453,841,369,-1518,-2320,-1659,-944,-952,-1092,-772,-269,1,157,343,228,-401,-1017,-988,-564,-516,-925,-1097,-733,-382,-462,-564,-267,-5,-409,-1155,-1289,-612,44,32,-327,-429,-273,-227,-336,-366,-294,-281,-270,-64,215,192,-151,-341,-73,278,90,-716,-1567,-1860,-1476,-714,53,562,695,499,180,-49,-124,-118,-110,-103,-91,-108,-193,-322,-445,-566,-764,-1099,-1528,-1897,-2020,-1786,-1263,-686,-320,-269,-430,-616,-702,-658,-517,-341,-214,-197,-283,-401,-466,-423,-283,-119,-24,-32,-109,-212,-332,-450,-517,-502,-439,-375,-306,-215,-132,-103,-105,-85,-54,-86,-190,-282,-306,-299,-305,-291,-214,-116,-69,-68,-58,-37,-65,-158,-247,-267,-225,-157,-78,7,73,92,66,19,-31,-76,-114,-140,-147,-120,-51,30,70,55,28,23,17,-31,-109,-162,-168,-149,-133,-110,-61,5,51,59,42,20,-4,-36,-71,-90,-82,-59,-41,-28,3,52,90,91,62,36,30,33,29,19,14,25,60,108,146,152,122,79,46,29,20,23,54,115,180,207,185,147,131,131,110,54}
},
{ // H50e032a.wav
{5,0,-9,-6,3,0,-5,3,8,-6,-14,8,20,-12,-37,0,38,-5,-63,-16,71,29,-85,-46,101,53,-103,248,1321,2326,2436,1979,1681,933,-1783,-6127,-8920,-7340,-2465,1890,3763,4826,7110,9625,9634,6489,2561,407,306,927,1270,1210,880,470,388,830,1212,684,-659,-1655,-1463,-637,-388,-1040,-1698,-1497,-682,-203,-494,-1037,-1124,-699,-283,-265,-534,-747,-706,-449,-146,-11,-140,-338,-257,160,509,400,-21,-254,-105,101,16,-315,-639,-862,-1009,-996,-718,-311,-72,-93,-163,-107,-33,-118,-315,-427,-398,-361,-413,-477,-433,-292,-166,-136,-193,-300,-438,-584,-674,-625,-408,-100,145,206,82,-120,-285,-374,-421,-464,-506,-533,-552,-591,-651,-688,-647,-533,-429,-428,-542,-689,-770,-746,-656,-563,-507,-485,-489,-514,-550,-573,-556,-506,-469,-489,-562,-638,-674,-674,-669,-661,-613,-504,-375,-310,-342,-421,-469,-470,-469,-499,-531,-515,-444,-357,-292,-261,-260,-281,-304,-313,-308,-305,-311,-309,-281,-239,-206,-187,-165,-130,-95,-81,-90,-108,-117,-112,-99,-79,-53,-23,-2,-1,-16,-29,-31,-34,-56,-89,-105,-92,-63,-36,-14,8,23,20,-1,-26,-47,-66,-85,-96,-85,-56,-28,-14,-7,4,16,17,-4,-38,-66,-77,-74,-58,-26,18,53,65,60,52,39,12,-20,-27,1,40,63,71,83,96,86,44},
{36,161,-32,-252,-18,335,86,-430,-188,538,301,-657,198,3786,6996,6793,4775,3723,927,-8894,-22507,-26616,-12927,9119,21660,19288,13365,14469,18423,14676,2889,-6490,-6477,-1110,2318,2373,1785,1285,-309,-2151,-2149,-1152,-2325,-5765,-7292,-4262,170,1031,-1865,-4083,-2782,0,872,-438,-1658,-1594,-1192,-1350,-1537,-1047,-288,8,0,225,418,-107,-1094,-1455,-875,-327,-597,-1150,-1093,-571,-363,-535,-457,-64,-67,-732,-1293,-1056,-403,-143,-322,-366,-107,25,-197,-459,-480,-397,-365,-223,127,361,154,-234,-233,190,358,-291,-1451,-2220,-2008,-1027,35,640,701,448,142,-87,-232,-312,-299,-166,29,140,61,-170,-431,-671,-945,-1283,-1586,-1712,-1627,-1424,-1195,-967,-744,-576,-513,-543,-584,-556,-431,-260,-142,-159,-302,-466,-521,-417,-225,-74,-33,-64,-89,-99,-167,-323,-487,-553,-514,-440,-363,-252,-114,-21,-17,-59,-94,-132,-202,-273,-299,-292,-291,-282,-220,-119,-43,-22,-26,-34,-70,-142,-210,-234,-222,-189,-123,-17,86,127,102,55,16,-26,-88,-154,-183,-151,-69,14,58,62,50,39,17,-26,-81,-131,-172,-193,-181,-141,-98,-68,-30,29,80,77,27,-26,-54,-72,-93,-100,-75,-31,15,55,87,93,63,19,-3,2,10,2,-7,19,87,162,198,177,127,86,63,42,22,22,54,104,145,162,161,153,148,150,147,122,72,23}
},
{ // H50e040a.wav
{-8,-4,4,0,-9,-6,1,-1,-6,0,4,-7,-12,6,15,-13,-32,0,31,-6,-54,-15,56,21,-73,-40,81,44,-79,214,1100,1947,2099,1821,1670,1072,-1285,-5132,-7782,-6755,-2792,988,2853,4035,6156,8426,8601,6104,2866,1024,838,1203,1308,1123,823,530,487,833,1147,755,-331,-1209,-1141,-497,-278,-817,-1405,-1275,-590,-166,-402,-859,-928,-590,-319,-413,-694,-823,-676,-356,-39,108,15,-158,-107,242,569,525,186,-58,-24,71,-34,-327,-651,-935,-1136,-1117,-798,-367,-124,-135,-205,-210,-243,-380,-490,-423,-269,-254,-413,-538,-465,-264,-104,-51,-74,-179,-396,-656,-781,-649,-329,-25,98,18,-169,-337,-404,-376,-332,-359,-469,-601,-687,-710,-683,-611,-502,-402,-383,-470,-606,-704,-718,-665,-596,-549,-529,-522,-513,-503,-499,-496,-482,-459,-453,-492,-569,-645,-681,-675,-655,-642,-630,-596,-534,-466,-424,-419,-435,-452,-467,-488,-510,-513,-479,-405,-312,-235,-203,-217,-247,-271,-292,-317,-337,-329,-286,-230,-187,-160,-137,-110,-86,-76,-82,-95,-106,-112,-114,-112,-102,-83,-63,-50,-46,-45,-46,-55,-70,-79,-76,-66,-57,-44,-22,5,23,24,12,-9,-36,-68,-96,-110,-102,-78,-49,-24,-2,19,33,28,2,-31,-60,-81,-90,-75,-37,6,35,49,55,49,26,-3,-18,-18,-16,-2,36,81,90,50},
{154,-176,-241,165,341,-146,-468,110,624,-90,-721,1233,5214,7522,6592,4999,3691,-1963,-14908,-26995,-24415,-4989,16193,23289,17643,13054,15856,17974,10967,-953,-7015,-4188,957,2677,1956,1585,1113,-695,-2347,-2110,-1693,-3763,-6919,-6901,-2956,435,-443,-3536,-4181,-1517,957,641,-1104,-1738,-1120,-832,-1295,-1439,-779,-135,-78,-65,323,420,-412,-1485,-1634,-924,-483,-783,-1111,-886,-512,-489,-536,-236,43,-311,-1039,-1261,-769,-290,-339,-531,-333,66,119,-224,-525,-537,-406,-257,-23,239,277,60,-65,113,220,-290,-1308,-2024,-1822,-974,-250,12,124,394,596,333,-310,-784,-720,-303,57,184,141,-19,-302,-656,-997,-1308,-1580,-1676,-1449,-1017,-745,-841,-1094,-1132,-850,-481,-282,-276,-323,-330,-320,-353,-426,-468,-414,-277,-140,-85,-109,-135,-95,-17,-9,-150,-389,-571,-585,-464,-330,-254,-200,-116,-23,20,-16,-100,-187,-251,-286,-301,-306,-294,-238,-139,-42,1,-7,-25,-36,-66,-135,-211,-247,-228,-170,-86,17,113,157,129,59,-6,-51,-95,-140,-151,-101,-18,40,52,48,54,54,22,-37,-97,-146,-184,-206,-201,-174,-137,-84,-1,85,122,83,5,-58,-90,-107,-116,-106,-67,-1,69,116,116,71,14,-24,-39,-45,-40,-10,47,112,166,196,199,169,119,77,62,61,57,54,68,96,115,118,124,149,178,181,150,110,82,61,33}
},
{ // H50e048a.wav
{4,1,-5,-2,4,3,-3,-3,1,-1,-3,2,4,-5,-7,8,13,-9,-22,6,28,-6,-43,-5,50,12,-65,-26,79,38,-66,200,966,1686,1839,1683,1650,1148,-993,-4501,-6983,-6245,-2875,480,2304,3543,5488,7468,7655,5616,2962,1429,1201,1372,1321,1078,806,580,557,837,1094,794,-64,-778,-764,-312,-203,-674,-1133,-978,-391,-76,-362,-848,-982,-707,-404,-354,-475,-536,-423,-175,88,209,111,-57,-17,286,554,482,148,-100,-93,-6,-70,-321,-667,-1016,-1235,-1153,-770,-375,-271,-419,-512,-389,-205,-166,-262,-360,-418,-476,-498,-392,-187,-41,-45,-115,-149,-193,-363,-635,-812,-731,-439,-142,-11,-68,-220,-361,-426,-410,-362,-358,-438,-571,-676,-693,-632,-549,-490,-465,-465,-491,-549,-624,-674,-666,-616,-568,-542,-513,-462,-411,-397,-423,-456,-476,-497,-534,-579,-617,-645,-666,-675,-665,-644,-621,-587,-526,-450,-402,-410,-455,-494,-501,-482,-453,-415,-358,-288,-233,-215,-228,-247,-256,-266,-287,-307,-303,-267,-217,-168,-123,-84,-66,-77,-102,-120,-125,-128,-137,-146,-148,-142,-129,-110,-86,-62,-42,-31,-30,-35,-45,-55,-61,-61,-49,-22,12,34,34,17,-5,-31,-65,-99,-116,-104,-68,-28,2,19,26,25,14,-9,-40,-69,-85,-85,-69,-41,-7,24,44,51,46,31,9,-10,-13,1,19,25,15},
{-226,-110,255,230,-279,-371,296,539,-349,-580,1932,5862,7704,6799,5516,3289,-4757,-18985,-28668,-21409,490,19789,23415,16493,12787,15753,16369,8466,-1987,-5735,-2302,1648,2401,1993,2201,1469,-1078,-3072,-2749,-2254,-4161,-6744,-6147,-2463,-121,-1693,-4355,-4099,-1205,767,167,-1182,-1386,-950,-1068,-1382,-898,28,230,-258,-298,321,430,-593,-1700,-1703,-963,-642,-940,-1104,-824,-576,-586,-464,-88,-10,-552,-1148,-1130,-685,-458,-526,-416,-11,210,-71,-524,-666,-462,-208,-49,88,230,305,294,226,9,-511,-1231,-1703,-1546,-921,-403,-319,-372,-89,457,655,148,-653,-1030,-769,-268,47,115,37,-193,-592,-1028,-1324,-1441,-1405,-1192,-849,-617,-728,-1068,-1245,-1032,-603,-271,-153,-159,-216,-338,-516,-660,-673,-533,-302,-85,25,6,-70,-106,-77,-53,-110,-241,-371,-437,-444,-423,-378,-287,-161,-51,0,-4,-33,-86,-171,-264,-317,-317,-295,-267,-209,-106,-4,34,11,-19,-36,-72,-150,-227,-242,-190,-118,-54,14,88,124,88,12,-37,-47,-64,-109,-130,-78,13,67,67,60,71,68,21,-53,-114,-156,-193,-223,-226,-192,-126,-37,53,105,95,41,-19,-68,-113,-147,-147,-104,-40,26,79,105,92,45,-7,-42,-56,-50,-21,27,82,129,163,180,177,157,131,105,79,63,64,72,74,73,85,110,132,146,159,166,145,102,76,81,84,50}
},
{ // H50e056a.wav
{-4,-2,2,0,-3,1,4,1,-3,0,3,-2,-4,3,6,-3,-6,7,10,-9,-16,10,24,-11,-39,1,45,4,-57,-11,72,21,-51,234,924,1518,1640,1581,1621,1077,-1067,-4347,-6498,-5681,-2594,423,2140,3384,5131,6725,6725,4954,2811,1626,1424,1450,1275,1001,782,649,676,901,1065,793,123,-407,-396,-105,-121,-573,-964,-834,-363,-121,-344,-693,-741,-480,-228,-188,-272,-310,-239,-85,89,173,83,-89,-110,110,360,368,144,-63,-104,-87,-185,-424,-729,-1030,-1251,-1265,-1005,-602,-304,-234,-287,-304,-262,-263,-366,-495,-515,-383,-195,-87,-100,-149,-139,-90,-121,-315,-614,-848,-870,-662,-349,-109,-54,-170,-338,-440,-436,-368,-309,-319,-416,-564,-683,-706,-635,-537,-481,-483,-517,-557,-592,-615,-616,-592,-558,-533,-515,-483,-434,-393,-380,-397,-434,-485,-537,-572,-584,-596,-632,-676,-689,-656,-607,-577,-563,-539,-501,-469,-454,-444,-426,-407,-401,-404,-397,-365,-315,-266,-235,-223,-221,-224,-234,-247,-254,-248,-229,-201,-165,-125,-97,-93,-109,-126,-138,-154,-178,-196,-195,-177,-156,-134,-105,-71,-42,-22,-11,-12,-27,-49,-64,-64,-55,-41,-20,9,35,45,34,9,-23,-58,-91,-107,-95,-62,-27,-1,13,19,16,2,-21,-48,-69,-79,-78,-66,-45,-20,6,29,47,55,49,33,14,1,-5,-4},
{-155,268,246,-299,-379,322,539,-391,-609,1923,5847,7824,7256,6094,3268,-5788,-20336,-29046,-20332,2153,20838,23523,16090,12121,14669,15038,7718,-1463,-4305,-1109,1900,2126,2099,3018,2452,-700,-3546,-3679,-3009,-4321,-6324,-5572,-2261,-456,-2190,-4553,-4068,-1468,-15,-660,-1452,-1150,-798,-1291,-1627,-721,571,744,8,-213,327,391,-608,-1634,-1658,-1091,-881,-1054,-1024,-760,-685,-747,-512,-91,-126,-721,-1174,-1017,-658,-610,-661,-341,184,286,-180,-674,-722,-430,-155,-2,151,357,518,491,177,-419,-1091,-1499,-1444,-1065,-699,-539,-476,-278,97,387,278,-229,-752,-907,-677,-345,-144,-99,-191,-452,-851,-1211,-1358,-1272,-1052,-805,-644,-666,-843,-980,-914,-692,-477,-326,-191,-96,-158,-396,-657,-779,-733,-578,-352,-102,70,88,3,-63,-72,-90,-161,-246,-295,-323,-371,-421,-407,-302,-151,-30,24,19,-24,-97,-190,-274,-316,-312,-282,-235,-164,-70,12,40,16,-23,-53,-88,-146,-204,-214,-160,-79,-12,30,60,65,28,-33,-72,-78,-83,-104,-102,-41,51,107,110,95,88,73,32,-31,-103,-178,-236,-245,-199,-134,-72,-6,65,104,80,19,-34,-75,-127,-173,-165,-96,-14,36,55,61,52,23,-10,-28,-29,-15,15,53,87,112,137,166,181,167,133,97,69,55,61,83,99,100,103,118,131,129,127,139,144,117,81,77,101,102,54}
},
{ // H50e064a.wav
{1,-4,-6,-1,3,0,-3,0,2,-1,-2,1,0,-5,-3,5,3,-7,-5,7,4,-13,-8,18,14,-25,-33,15,35,-18,-46,23,67,-19,-25,356,1005,1437,1500,1548,1586,728,-1731,-4803,-6233,-4822,-1751,881,2374,3593,5111,6162,5746,4095,2440,1622,1459,1387,1190,969,812,752,848,1049,1086,742,193,-142,-122,-59,-277,-643,-732,-400,9,80,-194,-466,-489,-338,-208,-167,-172,-194,-220,-197,-101,-25,-74,-177,-139,85,285,249,38,-113,-111,-119,-333,-734,-1103,-1241,-1119,-858,-605,-443,-379,-374,-380,-364,-329,-321,-376,-442,-408,-236,-37,27,-78,-240,-344,-385,-426,-496,-578,-641,-650,-569,-403,-241,-188,-257,-354,-381,-337,-296,-318,-401,-510,-603,-648,-639,-604,-584,-592,-602,-583,-539,-503,-497,-515,-536,-545,-538,-511,-463,-411,-380,-383,-412,-453,-500,-546,-579,-596,-609,-627,-645,-650,-637,-613,-583,-545,-504,-471,-448,-431,-415,-403,-399,-398,-390,-373,-346,-309,-265,-225,-199,-188,-185,-190,-204,-224,-239,-240,-222,-189,-152,-128,-127,-142,-159,-177,-199,-218,-219,-196,-162,-131,-105,-77,-49,-26,-16,-20,-32,-49,-65,-72,-66,-47,-22,4,29,48,55,41,8,-34,-70,-95,-107,-101,-75,-35,0,17,21,17,3,-25,-60,-84,-89,-80,-63,-41,-14,13,35,50,54,46,28,11,2},
{202,214,-211,-370,193,536,-212,-725,1168,4966,7660,7876,6897,4164,-4261,-18469,-28547,-22410,-1181,18985,24060,17096,11548,13026,14448,8979,313,-3476,-1182,1769,2250,2356,3596,3582,480,-3185,-4157,-3393,-4044,-5961,-5895,-3048,-830,-1861,-4099,-4037,-1794,-431,-1171,-2112,-1726,-1030,-1306,-1750,-979,464,921,276,-20,548,773,-190,-1430,-1711,-1206,-884,-968,-980,-831,-843,-908,-613,-146,-201,-845,-1295,-1075,-668,-621,-668,-302,238,261,-313,-808,-728,-310,-26,39,119,334,535,491,88,-558,-1138,-1370,-1251,-1013,-829,-668,-435,-140,100,160,-33,-414,-744,-792,-586,-381,-345,-419,-518,-692,-968,-1186,-1165,-960,-791,-750,-756,-740,-732,-734,-667,-506,-344,-264,-237,-219,-255,-403,-605,-733,-729,-620,-436,-207,-6,73,26,-48,-71,-73,-121,-211,-282,-312,-335,-363,-355,-270,-134,-20,25,4,-54,-128,-200,-256,-288,-294,-274,-221,-139,-49,20,46,27,-20,-68,-107,-144,-179,-187,-143,-64,3,35,42,34,-3,-65,-117,-136,-140,-144,-119,-36,67,125,128,123,132,122,64,-24,-111,-184,-229,-225,-174,-113,-65,-7,71,123,99,22,-47,-95,-146,-190,-177,-99,-17,17,15,17,25,18,-3,-16,-13,-1,15,39,69,100,136,175,193,170,118,70,47,45,56,76,95,107,115,127,138,139,134,137,138,117,77,57,75,101,91,45}
},
{ // H50e072a.wav
{-1,1,-2,-5,-2,2,0,-4,-1,3,1,-3,-1,1,-3,-5,2,5,-4,-9,2,10,-3,-13,4,19,-6,-36,-13,30,14,-33,-9,55,19,-64,102,624,1167,1396,1471,1624,1348,-301,-3221,-5645,-5671,-3284,-278,1800,3009,4146,5227,5474,4538,3067,1955,1479,1355,1290,1189,1035,875,861,1057,1220,1012,463,18,5,215,188,-168,-469,-368,6,236,123,-162,-367,-428,-413,-359,-274,-222,-261,-336,-326,-221,-138,-150,-185,-137,-5,122,166,82,-147,-458,-689,-718,-620,-586,-690,-816,-827,-726,-605,-502,-397,-303,-282,-349,-425,-414,-301,-167,-113,-178,-313,-416,-425,-370,-331,-363,-445,-522,-558,-553,-519,-460,-382,-310,-274,-277,-291,-292,-301,-366,-493,-620,-682,-681,-661,-646,-623,-582,-540,-510,-477,-438,-423,-456,-514,-548,-541,-513,-477,-427,-376,-360,-402,-475,-533,-560,-578,-604,-634,-651,-654,-639,-595,-525,-458,-432,-454,-490,-496,-465,-423,-395,-381,-366,-346,-324,-299,-266,-226,-191,-173,-172,-182,-202,-227,-249,-258,-251,-234,-214,-194,-177,-166,-164,-170,-182,-197,-206,-200,-175,-137,-99,-71,-54,-43,-36,-36,-46,-59,-68,-68,-59,-43,-19,8,32,47,51,41,14,-26,-64,-89,-101,-102,-88,-55,-16,11,19,13,1,-15,-38,-63,-80,-82,-71,-53,-33,-12,11,33,48,49,34,13},
{320,-57,-419,-62,523,169,-721,-11,3138,6619,8135,7854,5979,-355,-13075,-25812,-26247,-9834,12120,23222,19739,12559,11521,13956,11657,3944,-2072,-2111,604,1876,2274,3795,4850,2601,-1753,-4132,-3550,-3158,-4811,-6115,-4596,-1982,-1651,-3454,-4137,-2416,-646,-913,-2104,-2214,-1537,-1593,-2171,-1682,-50,939,433,-226,227,1008,692,-528,-1310,-1229,-1014,-1049,-939,-598,-563,-943,-1071,-647,-341,-712,-1260,-1241,-829,-677,-732,-404,247,417,-223,-940,-940,-366,80,131,104,262,458,410,44,-480,-936,-1179,-1212,-1118,-941,-675,-378,-170,-85,-63,-122,-359,-701,-845,-645,-372,-391,-680,-909,-938,-930,-1000,-1015,-865,-680,-635,-700,-728,-689,-643,-586,-457,-290,-193,-196,-232,-267,-349,-501,-656,-733,-704,-575,-355,-108,49,53,-34,-97,-98,-95,-149,-250,-333,-356,-326,-274,-213,-135,-41,30,28,-51,-150,-213,-238,-256,-277,-275,-234,-166,-87,-4,66,83,30,-51,-106,-132,-158,-182,-156,-70,13,35,12,-5,-15,-54,-117,-159,-163,-161,-159,-119,-20,88,145,159,168,172,133,40,-70,-157,-205,-212,-182,-127,-63,7,80,124,111,54,-10,-70,-140,-199,-195,-122,-44,-16,-21,-10,19,31,17,4,2,-1,-7,3,35,78,124,171,207,201,145,77,40,39,50,58,66,77,94,118,145,164,170,167,158,132,86,44,40,72,100,89,45}
},
{ // H50e080a.wav
{-2,0,3,2,-2,-1,2,2,-1,0,3,2,-1,0,2,-1,-2,4,7,-1,-7,3,12,0,-12,3,21,2,-31,-16,30,29,-15,-11,41,19,-64,45,497,1036,1325,1446,1630,1482,80,-2694,-5308,-5768,-3678,-610,1685,2914,3820,4701,5016,4356,3136,2101,1551,1325,1253,1275,1257,1068,856,920,1232,1350,977,403,155,301,391,113,-280,-337,-27,254,208,-63,-309,-460,-575,-622,-515,-318,-219,-288,-391,-397,-342,-301,-235,-86,50,3,-217,-377,-305,-115,-67,-257,-531,-693,-711,-688,-703,-732,-717,-636,-510,-369,-250,-204,-267,-400,-509,-527,-469,-390,-313,-242,-203,-232,-315,-393,-435,-459,-482,-488,-474,-476,-506,-504,-404,-238,-122,-141,-278,-462,-629,-736,-755,-700,-624,-577,-557,-537,-509,-481,-448,-401,-367,-392,-477,-560,-584,-551,-498,-441,-383,-347,-368,-441,-519,-567,-600,-639,-667,-647,-585,-525,-494,-474,-447,-432,-459,-509,-528,-488,-424,-380,-360,-338,-305,-274,-255,-237,-215,-198,-199,-212,-217,-214,-224,-257,-292,-301,-277,-243,-214,-188,-159,-139,-145,-170,-189,-186,-170,-155,-137,-107,-76,-62,-63,-61,-48,-38,-45,-59,-62,-49,-30,-11,8,26,38,41,33,14,-13,-43,-70,-91,-98,-86,-58,-26,0,17,26,24,7,-22,-52,-73,-81,-73,-55,-35,-18,0,24,43,42,21},
{256,-211,-370,173,512,-166,-733,770,4207,7254,8412,7820,4313,-4935,-18532,-27004,-20376,-748,17283,21726,15599,10773,12209,13774,9314,1682,-2221,-1016,1122,1829,2817,4798,4950,1458,-2833,-4133,-3029,-2984,-4698,-5386,-3708,-2072,-2710,-4140,-3646,-1569,-581,-1487,-2381,-2001,-1479,-1912,-2303,-1351,153,507,-191,-323,539,1026,268,-793,-1021,-700,-679,-890,-768,-462,-535,-860,-838,-563,-718,-1321,-1558,-1085,-562,-530,-563,-146,298,36,-727,-1046,-578,32,167,10,49,304,403,161,-275,-703,-1044,-1251,-1252,-1030,-685,-379,-229,-219,-237,-237,-311,-522,-723,-705,-520,-460,-674,-972,-1107,-1069,-987,-899,-772,-665,-651,-667,-602,-507,-518,-604,-571,-369,-178,-148,-202,-216,-232,-353,-545,-674,-698,-665,-567,-350,-70,95,59,-67,-131,-122,-131,-197,-274,-315,-322,-300,-233,-131,-34,20,25,-10,-76,-159,-232,-275,-287,-275,-243,-197,-139,-66,17,82,83,18,-60,-104,-123,-144,-151,-112,-43,0,-3,-17,-20,-42,-99,-155,-173,-169,-173,-167,-108,-7,81,132,166,190,176,108,16,-69,-141,-194,-198,-146,-72,-8,48,104,130,98,30,-34,-90,-150,-188,-162,-89,-39,-41,-48,-16,32,45,21,-2,-10,-16,-20,-3,40,94,143,183,199,175,118,67,49,54,54,45,41,55,82,114,145,171,185,182,161,127,88,56,48,68,91,86,47}
},
{ // H50e088a.wav
{-1,-2,1,1,-2,-4,0,3,-1,-4,0,3,0,-4,-1,1,-2,-2,4,5,-5,-8,4,8,-8,-15,5,18,-6,-27,-1,34,17,-20,1,36,-19,-77,123,628,1121,1360,1507,1662,1231,-592,-3484,-5642,-5354,-2786,240,2200,3123,3822,4509,4652,3947,2835,1959,1517,1323,1227,1210,1210,1138,1067,1170,1411,1478,1153,623,268,203,191,18,-210,-238,-29,175,138,-133,-452,-652,-684,-591,-458,-371,-367,-417,-461,-449,-364,-242,-191,-296,-471,-477,-185,212,365,152,-216,-476,-579,-623,-653,-652,-649,-700,-750,-663,-418,-185,-154,-340,-600,-784,-813,-673,-429,-208,-118,-152,-215,-246,-274,-344,-435,-485,-472,-436,-428,-458,-494,-489,-415,-299,-215,-232,-358,-529,-670,-744,-755,-716,-637,-536,-450,-409,-412,-427,-428,-413,-402,-414,-461,-531,-582,-567,-488,-404,-373,-401,-446,-482,-520,-570,-612,-617,-588,-553,-525,-496,-466,-451,-461,-481,-490,-480,-459,-432,-398,-361,-328,-302,-277,-250,-230,-225,-233,-241,-241,-237,-242,-262,-290,-312,-318,-304,-270,-225,-182,-153,-144,-149,-158,-163,-162,-157,-150,-141,-130,-119,-109,-94,-70,-43,-28,-32,-47,-56,-55,-49,-40,-21,9,36,45,36,20,4,-18,-49,-81,-96,-88,-67,-46,-21,13,42,45,22,-5,-22,-37,-59,-75,-70,-51,-37,-28,-4,32,50,32},
{193,-229,-297,217,424,-252,-626,964,4246,7234,8597,7861,3317,-6942,-19753,-25515,-16717,2104,17048,19242,13496,10336,12497,13564,8725,1488,-1936,-748,1263,2150,3253,4832,4450,988,-2774,-3744,-2731,-2696,-4064,-4536,-3262,-2311,-3186,-4300,-3531,-1598,-860,-1720,-2395,-1990,-1601,-1972,-2066,-993,194,87,-751,-661,452,998,187,-900,-1100,-688,-482,-498,-348,-214,-480,-872,-856,-619,-791,-1327,-1530,-1154,-699,-480,-226,155,159,-461,-1056,-887,-194,180,0,-182,24,313,260,-99,-473,-778,-1076,-1285,-1226,-903,-534,-319,-280,-312,-329,-333,-391,-516,-613,-596,-548,-631,-859,-1062,-1122,-1086,-1014,-877,-691,-588,-630,-663,-544,-384,-394,-534,-554,-366,-162,-116,-166,-190,-222,-349,-526,-635,-661,-656,-585,-375,-91,81,58,-52,-117,-142,-185,-238,-259,-262,-285,-301,-245,-128,-26,17,23,7,-53,-157,-250,-288,-287,-280,-258,-197,-115,-48,-3,34,51,27,-27,-75,-103,-120,-123,-99,-58,-34,-36,-41,-42,-63,-111,-156,-176,-189,-202,-178,-93,13,82,110,135,160,149,90,17,-48,-112,-166,-175,-123,-47,14,58,96,113,88,37,-20,-80,-141,-173,-147,-89,-56,-56,-45,-3,39,41,11,-17,-32,-37,-27,5,51,94,133,167,184,161,108,64,55,63,59,41,32,46,72,99,128,162,188,190,169,139,110,81,64,71,92,92,53}
},
{ // H50e096a.wav
{1,-2,0,2,0,-3,0,3,1,-2,0,4,2,-1,0,1,-1,-1,5,6,-2,-5,4,10,-4,-15,0,17,1,-22,-1,39,27,-20,-13,36,6,-79,28,470,1015,1354,1530,1691,1430,-60,-2787,-5261,-5620,-3511,-449,1823,2906,3522,4167,4539,4208,3307,2362,1723,1411,1324,1342,1302,1130,993,1126,1454,1584,1271,741,403,332,249,-29,-322,-359,-155,27,10,-156,-361,-562,-708,-685,-477,-281,-314,-520,-615,-458,-268,-348,-662,-826,-544,34,462,458,152,-126,-210,-205,-290,-502,-732,-855,-816,-638,-415,-276,-297,-432,-571,-665,-745,-805,-760,-573,-352,-241,-251,-273,-242,-204,-214,-259,-305,-364,-450,-514,-494,-407,-337,-337,-390,-455,-497,-488,-425,-376,-437,-612,-777,-800,-683,-536,-439,-384,-338,-316,-347,-412,-457,-465,-467,-488,-511,-507,-481,-460,-457,-464,-472,-487,-508,-520,-516,-513,-528,-550,-548,-518,-487,-481,-488,-479,-446,-407,-381,-366,-351,-333,-319,-313,-308,-294,-272,-251,-241,-243,-255,-271,-290,-309,-321,-320,-302,-273,-241,-213,-190,-171,-156,-148,-144,-140,-138,-143,-153,-155,-144,-126,-113,-102,-81,-50,-28,-29,-46,-59,-60,-52,-39,-19,8,31,40,33,17,0,-19,-40,-62,-77,-77,-62,-39,-13,13,36,46,40,24,8,-11,-39,-67,-77,-67,-50,-30,0,31,43,27},
{181,-170,-268,145,378,-147,-574,588,3461,6583,8523,8248,3938,-5846,-17939,-23753,-16572,-33,13899,17060,12935,10495,12549,13772,9559,2522,-1528,-971,1168,2489,3474,4530,4090,1185,-2201,-3412,-2655,-2291,-3156,-3726,-3058,-2432,-3092,-4042,-3591,-2071,-1301,-1810,-2318,-2028,-1715,-1983,-2000,-996,136,74,-785,-883,79,727,160,-820,-1109,-802,-588,-508,-221,65,-138,-670,-914,-805,-856,-1195,-1332,-1013,-596,-386,-216,17,-20,-489,-894,-720,-226,-53,-248,-273,83,374,186,-311,-707,-899,-1038,-1153,-1114,-881,-586,-385,-328,-362,-387,-361,-350,-426,-540,-577,-565,-657,-879,-1057,-1074,-1028,-1020,-963,-767,-567,-553,-644,-601,-411,-317,-416,-497,-375,-165,-85,-137,-173,-174,-255,-439,-605,-669,-659,-593,-423,-167,37,80,7,-74,-133,-200,-264,-278,-255,-247,-260,-239,-161,-69,-10,11,1,-49,-132,-207,-247,-270,-292,-287,-226,-134,-61,-19,11,31,25,-6,-41,-73,-104,-121,-106,-71,-51,-51,-48,-42,-65,-122,-165,-172,-175,-196,-191,-116,-3,73,97,111,132,124,74,16,-27,-71,-126,-156,-126,-57,6,54,93,113,99,57,8,-46,-108,-151,-144,-103,-71,-60,-39,2,32,26,2,-13,-23,-37,-37,-3,52,96,121,144,162,151,110,71,61,66,59,40,31,44,70,96,123,156,183,192,181,158,127,95,80,93,116,109,59}
},
{ // H50e104a.wav
{-1,-2,0,1,-2,-3,0,1,-2,-3,1,2,-2,-3,1,1,-2,-2,3,3,-4,-4,7,7,-10,-17,1,11,-10,-22,11,43,15,-28,-7,32,-17,-75,108,598,1128,1465,1690,1796,1197,-776,-3680,-5742,-5361,-2756,292,2272,3149,3714,4288,4488,4014,3148,2386,1918,1651,1499,1426,1330,1119,903,908,1144,1313,1147,728,363,203,115,-58,-272,-372,-321,-237,-234,-326,-456,-554,-556,-459,-363,-370,-434,-415,-331,-411,-762,-1091,-958,-320,345,551,305,-2,-93,-32,-22,-156,-405,-687,-874,-826,-551,-261,-184,-329,-526,-661,-759,-838,-817,-643,-426,-341,-407,-477,-440,-348,-296,-278,-229,-166,-177,-293,-433,-507,-501,-450,-380,-319,-320,-402,-502,-534,-499,-484,-540,-621,-657,-644,-615,-573,-491,-382,-303,-290,-325,-373,-424,-476,-510,-509,-488,-477,-485,-492,-486,-476,-474,-479,-484,-493,-508,-521,-519,-510,-518,-547,-560,-525,-454,-391,-362,-348,-324,-294,-286,-309,-339,-352,-348,-337,-319,-293,-271,-273,-297,-319,-323,-311,-295,-278,-261,-248,-241,-230,-208,-180,-158,-145,-134,-126,-131,-152,-172,-173,-153,-127,-104,-82,-63,-54,-57,-62,-59,-52,-50,-48,-36,-12,9,17,18,19,17,4,-19,-40,-54,-63,-67,-60,-38,-7,24,47,60,59,44,18,-14,-45,-67,-75,-68,-48,-17,20,47,48,24},
{177,-46,-234,-17,299,83,-440,-70,1952,4999,7723,8725,6140,-1704,-13107,-21267,-18933,-6294,7758,14258,13040,10999,12427,14252,11574,4924,-509,-1447,532,2439,3502,4250,4117,2093,-1015,-2974,-2912,-2224,-2306,-2781,-2721,-2456,-2884,-3666,-3557,-2433,-1615,-1880,-2390,-2206,-1758,-1854,-2076,-1444,-254,153,-515,-967,-318,550,380,-614,-1232,-1059,-704,-552,-348,-33,-46,-506,-876,-806,-692,-958,-1292,-1128,-522,-34,57,-75,-269,-513,-681,-590,-360,-322,-474,-427,-17,362,245,-310,-847,-1063,-1029,-960,-957,-962,-850,-585,-313,-236,-347,-436,-390,-345,-431,-556,-582,-583,-716,-934,-1047,-1022,-990,-982,-885,-697,-585,-619,-634,-506,-361,-364,-438,-384,-201,-73,-79,-115,-116,-162,-319,-512,-630,-663,-639,-527,-304,-59,75,68,-6,-87,-177,-266,-307,-286,-249,-234,-222,-178,-112,-57,-32,-36,-70,-119,-156,-179,-218,-280,-317,-279,-188,-106,-56,-14,28,38,3,-41,-66,-85,-113,-130,-109,-68,-46,-44,-46,-57,-92,-138,-166,-173,-180,-182,-145,-69,8,58,92,120,122,83,27,-17,-59,-111,-148,-138,-86,-28,23,75,117,120,85,38,-9,-64,-117,-135,-112,-85,-77,-64,-24,18,26,4,-13,-16,-21,-29,-18,20,65,101,130,148,140,106,71,57,57,50,36,30,40,60,85,118,155,181,189,182,165,138,107,93,106,122,105,53}
},
{ // H50e112a.wav
{-2,0,2,-1,-3,-1,2,0,-2,0,2,0,-2,0,2,-1,-2,4,6,-2,-6,4,10,-2,-13,-2,11,-5,-24,-1,37,26,-19,-13,34,10,-70,24,447,1028,1492,1806,1961,1482,-318,-3237,-5691,-5886,-3575,-307,2151,3324,3858,4296,4502,4171,3405,2598,2015,1705,1640,1707,1660,1327,893,749,982,1197,993,473,93,66,132,-22,-331,-485,-372,-212,-241,-446,-639,-678,-557,-368,-236,-229,-290,-321,-366,-588,-967,-1152,-807,-85,453,457,142,-52,1,76,-30,-284,-550,-736,-767,-592,-302,-126,-202,-427,-613,-717,-809,-861,-746,-469,-243,-256,-443,-586,-579,-496,-427,-354,-239,-132,-130,-247,-394,-481,-499,-484,-457,-415,-364,-322,-307,-333,-411,-527,-624,-651,-620,-594,-598,-584,-504,-387,-314,-321,-367,-395,-401,-414,-449,-488,-512,-515,-501,-479,-458,-444,-432,-424,-435,-477,-533,-570,-574,-563,-552,-532,-489,-439,-405,-384,-349,-298,-264,-270,-300,-324,-335,-348,-362,-361,-342,-325,-327,-338,-339,-324,-300,-275,-251,-239,-245,-261,-265,-245,-213,-184,-161,-139,-125,-130,-152,-172,-177,-169,-156,-140,-117,-90,-68,-56,-53,-57,-64,-67,-60,-46,-35,-29,-21,-4,17,30,27,15,3,-11,-30,-51,-62,-55,-37,-14,14,47,71,72,51,23,-3,-28,-52,-65,-56,-31,-1,27,52,64,52,24},
{89,77,-96,-142,90,220,-94,-364,415,2639,5655,8137,8209,3750,-5574,-15775,-19836,-13822,-1587,8479,11836,11396,12175,14394,13941,8761,2088,-1399,-692,1626,3251,4008,4214,3282,881,-1767,-2992,-2656,-2030,-1953,-2120,-2206,-2543,-3234,-3510,-2794,-1794,-1632,-2216,-2472,-2058,-1757,-1960,-1904,-1015,-85,-154,-826,-816,66,624,72,-908,-1295,-1047,-723,-490,-212,-97,-442,-947,-1008,-660,-557,-927,-1177,-781,-43,358,224,-123,-397,-556,-615,-585,-559,-595,-542,-227,183,263,-169,-797,-1145,-1070,-841,-792,-966,-1089,-899,-471,-159,-175,-357,-428,-374,-379,-485,-541,-496,-513,-697,-920,-1018,-1012,-994,-943,-803,-655,-624,-666,-628,-498,-411,-411,-373,-226,-82,-56,-96,-96,-88,-181,-368,-532,-610,-632,-599,-457,-220,-12,60,22,-44,-111,-199,-289,-324,-291,-238,-203,-178,-147,-115,-96,-87,-83,-89,-111,-148,-196,-252,-291,-286,-240,-184,-135,-79,-10,37,28,-21,-64,-90,-117,-143,-142,-109,-70,-49,-40,-37,-54,-93,-130,-149,-162,-178,-175,-132,-64,-6,38,81,111,102,60,13,-29,-82,-139,-163,-135,-80,-25,34,95,127,110,67,34,3,-48,-104,-126,-108,-86,-77,-63,-30,3,11,1,-4,-4,-8,-11,-1,23,55,92,126,137,117,83,62,56,48,36,32,39,50,68,100,144,179,190,183,173,158,133,110,101,98,77,36}
},
{ // H50e120a.wav
{1,0,-3,-2,2,3,-2,-3,2,4,0,-3,0,1,-2,-1,5,4,-4,-5,6,7,-6,-12,3,10,-10,-23,4,33,10,-25,-2,40,0,-66,77,545,1170,1721,2106,2118,1172,-1171,-4249,-6275,-5747,-2905,492,2835,3870,4298,4615,4675,4191,3257,2284,1647,1482,1662,1855,1732,1290,908,934,1228,1286,849,205,-192,-265,-294,-458,-612,-563,-375,-269,-339,-487,-590,-607,-543,-427,-320,-262,-217,-181,-302,-701,-1151,-1148,-496,335,653,322,-131,-196,49,152,-119,-563,-844,-809,-540,-236,-90,-168,-360,-509,-590,-693,-820,-821,-602,-306,-174,-270,-440,-535,-560,-570,-537,-399,-200,-83,-138,-313,-484,-569,-569,-526,-477,-437,-392,-328,-265,-257,-334,-450,-528,-544,-551,-590,-626,-589,-479,-376,-351,-387,-419,-419,-415,-437,-485,-530,-545,-523,-474,-420,-385,-381,-399,-419,-437,-470,-531,-609,-661,-649,-574,-479,-409,-368,-331,-290,-269,-284,-315,-327,-321,-327,-355,-379,-373,-351,-347,-367,-380,-358,-310,-266,-246,-250,-268,-289,-299,-287,-254,-214,-180,-154,-137,-132,-144,-166,-185,-191,-185,-172,-157,-143,-127,-106,-83,-66,-60,-59,-57,-57,-65,-73,-67,-44,-16,3,13,21,26,21,5,-14,-27,-34,-38,-35,-18,11,39,53,51,39,23,4,-21,-45,-57,-49,-24,8,36,56,62,53,32,12,1},
{-36,72,55,-85,-95,88,148,-113,-253,521,2600,5554,8019,7774,2787,-6399,-15250,-17793,-11914,-1718,6434,10040,11567,13696,15271,13176,7175,1019,-1502,-253,2108,3557,4049,3978,2949,699,-1764,-2953,-2585,-1738,-1419,-1674,-2153,-2723,-3190,-3084,-2309,-1590,-1641,-2161,-2310,-1984,-1826,-1982,-1769,-900,-185,-367,-902,-729,107,514,-47,-884,-1175,-953,-678,-476,-310,-387,-818,-1180,-1015,-593,-571,-955,-1011,-357,444,632,203,-255,-396,-400,-525,-747,-874,-772,-440,-30,173,-47,-585,-1049,-1134,-917,-731,-798,-1010,-1068,-818,-423,-184,-206,-325,-363,-352,-405,-491,-481,-390,-403,-619,-910,-1086,-1088,-975,-813,-664,-603,-648,-710,-689,-594,-498,-408,-280,-133,-48,-47,-65,-64,-96,-212,-373,-506,-586,-614,-564,-413,-211,-56,1,-15,-66,-135,-207,-251,-253,-241,-234,-223,-195,-165,-152,-145,-120,-84,-72,-104,-160,-214,-254,-274,-271,-247,-209,-160,-97,-33,3,-1,-30,-64,-104,-149,-174,-156,-110,-71,-50,-34,-25,-43,-85,-117,-125,-137,-166,-180,-144,-75,-21,8,37,77,100,82,31,-32,-94,-146,-171,-156,-108,-39,37,95,114,97,75,59,27,-35,-99,-125,-113,-94,-81,-60,-28,-2,8,12,16,11,-4,-14,-7,13,44,85,120,130,110,81,64,55,44,35,35,40,48,69,112,158,185,195,198,185,145,99,85,100,97,53}
},
{ // H50e128a.wav
{0,-3,-1,1,0,-2,0,2,0,-3,-1,2,-1,-4,-1,4,1,-5,-1,5,-1,-12,-5,9,1,-20,-13,17,20,-13,-19,21,26,-40,-25,281,896,1626,2240,2453,1766,-285,-3372,-6027,-6524,-4379,-838,2254,3969,4631,4925,5031,4675,3732,2534,1618,1305,1503,1806,1804,1419,984,903,1195,1437,1223,607,-1,-320,-442,-593,-800,-906,-825,-650,-526,-509,-566,-622,-592,-455,-308,-258,-272,-242,-231,-469,-945,-1195,-760,147,742,548,-51,-316,-65,193,-19,-576,-976,-934,-588,-238,-68,-99,-254,-427,-554,-660,-771,-813,-664,-351,-97,-102,-328,-546,-602,-542,-477,-419,-307,-159,-99,-214,-437,-608,-643,-592,-546,-523,-480,-400,-329,-316,-351,-380,-378,-373,-406,-474,-524,-508,-438,-380,-386,-444,-497,-505,-479,-462,-482,-530,-576,-588,-549,-468,-377,-311,-282,-292,-355,-478,-623,-709,-682,-579,-492,-465,-455,-403,-318,-257,-251,-274,-292,-312,-348,-384,-391,-376,-373,-394,-409,-392,-349,-303,-264,-232,-222,-253,-309,-346,-340,-309,-276,-238,-185,-132,-111,-129,-159,-174,-178,-188,-203,-205,-184,-153,-132,-125,-117,-99,-79,-71,-76,-83,-85,-83,-77,-62,-36,-7,15,27,28,18,-3,-26,-41,-44,-36,-17,12,43,62,64,53,35,12,-15,-40,-58,-66,-61,-37,2,40,63,70,68,56,29,-4,-22,-17},
{-35,-18,36,30,-44,-59,41,93,-50,-173,315,1983,4778,7484,7761,3528,-4739,-13063,-16342,-12538,-4398,3388,8479,11791,14514,15583,13011,7132,1257,-1322,-331,1929,3424,3919,3892,3124,1172,-1321,-2820,-2583,-1487,-920,-1315,-2131,-2776,-3012,-2751,-2094,-1523,-1521,-1917,-2101,-1914,-1793,-1901,-1747,-1047,-395,-451,-876,-782,-89,335,-40,-709,-949,-750,-551,-524,-581,-753,-1052,-1193,-945,-633,-742,-1072,-875,44,884,839,123,-408,-392,-255,-456,-867,-1041,-786,-322,-10,-71,-454,-879,-1043,-906,-719,-730,-905,-1002,-878,-630,-444,-378,-360,-320,-280,-299,-366,-400,-361,-320,-397,-624,-904,-1089,-1081,-895,-656,-522,-561,-686,-753,-710,-631,-568,-471,-295,-109,-28,-54,-86,-77,-98,-213,-375,-496,-554,-577,-553,-438,-253,-97,-42,-65,-103,-134,-172,-205,-209,-196,-202,-230,-245,-226,-195,-171,-144,-101,-67,-76,-130,-195,-246,-276,-288,-279,-252,-208,-147,-77,-25,-18,-46,-77,-105,-138,-169,-171,-137,-92,-62,-44,-31,-35,-62,-93,-110,-125,-153,-179,-169,-123,-70,-24,23,73,103,96,58,-2,-79,-157,-202,-194,-143,-70,9,77,111,108,91,73,40,-24,-96,-135,-126,-93,-65,-46,-27,-5,13,18,10,-2,-10,-10,-4,10,38,75,103,109,100,88,76,60,44,34,31,32,42,69,109,151,185,201,187,144,106,106,130,123,65}
},
{ // H50e136a.wav
{-2,1,1,-1,-1,2,1,-2,-2,0,-1,-4,-1,5,3,-3,-1,5,2,-8,-7,4,2,-15,-15,8,17,-7,-19,12,31,-18,-38,189,782,1624,2423,2753,2057,-75,-3280,-6140,-6929,-4993,-1372,2080,4193,5073,5404,5479,5065,3988,2586,1502,1150,1417,1808,1852,1462,973,818,1081,1390,1293,735,84,-305,-436,-548,-754,-935,-949,-830,-729,-750,-869,-953,-858,-572,-284,-215,-332,-365,-216,-186,-572,-1107,-1107,-322,625,891,386,-186,-250,-6,-37,-499,-969,-1020,-687,-321,-159,-174,-239,-301,-389,-538,-729,-869,-824,-545,-172,42,-39,-304,-530,-602,-556,-448,-287,-111,-36,-155,-405,-613,-672,-625,-566,-530,-496,-459,-436,-428,-418,-407,-410,-420,-406,-365,-330,-322,-327,-329,-345,-396,-465,-507,-514,-524,-568,-625,-649,-624,-566,-491,-406,-321,-268,-279,-358,-470,-564,-606,-599,-569,-532,-485,-417,-337,-272,-247,-263,-299,-329,-342,-347,-360,-388,-425,-449,-442,-401,-338,-274,-228,-215,-236,-276,-312,-329,-330,-320,-298,-262,-224,-196,-179,-162,-144,-139,-154,-179,-192,-188,-180,-178,-177,-165,-139,-112,-95,-89,-86,-88,-100,-118,-125,-110,-78,-41,-6,22,38,35,15,-10,-31,-48,-58,-53,-25,18,57,79,85,80,66,37,-4,-46,-74,-79,-66,-42,-15,13,38,54,59,57,51,39,18,-5,-16,-11},
{8,-13,-20,2,18,-6,-34,-10,43,15,-95,45,1078,3409,6337,7753,5310,-1375,-9522,-14682,-14010,-8274,-683,6012,11016,14430,15635,13543,8419,2698,-675,-714,1114,2800,3628,3900,3555,2038,-431,-2394,-2588,-1442,-556,-864,-1883,-2671,-2856,-2585,-2060,-1531,-1342,-1575,-1850,-1833,-1696,-1721,-1715,-1318,-731,-541,-801,-878,-419,78,14,-438,-658,-504,-391,-583,-890,-1069,-1111,-1057,-919,-842,-977,-1082,-655,308,1040,863,71,-451,-364,-180,-410,-870,-1012,-682,-258,-166,-466,-881,-1069,-901,-576,-451,-668,-979,-1023,-750,-450,-382,-498,-573,-489,-326,-219,-205,-235,-268,-330,-475,-695,-890,-949,-853,-688,-557,-518,-566,-647,-690,-663,-610,-588,-567,-461,-263,-93,-51,-96,-125,-128,-186,-328,-480,-565,-585,-558,-462,-297,-140,-75,-94,-125,-134,-148,-175,-184,-164,-159,-204,-264,-284,-254,-207,-158,-106,-63,-60,-104,-168,-227,-277,-317,-336,-322,-277,-206,-123,-53,-23,-34,-63,-95,-133,-174,-193,-173,-128,-88,-62,-42,-31,-39,-66,-100,-135,-172,-196,-185,-138,-83,-37,7,55,90,92,60,8,-56,-128,-186,-202,-172,-114,-44,30,93,122,109,73,32,-16,-72,-115,-120,-92,-60,-46,-37,-17,9,24,22,13,4,-3,-6,1,19,43,68,87,92,85,78,76,68,46,22,20,45,76,101,127,157,170,153,134,146,169,150,76}
},
{ // H50e144a.wav
{1,-1,0,5,4,-2,-3,1,2,-1,0,4,4,0,1,6,2,-8,-7,6,6,-11,-16,5,18,-1,-16,8,29,-10,-30,198,851,1847,2794,3077,2058,-520,-4007,-6812,-7274,-4928,-959,2727,4947,5807,6005,5868,5190,3849,2278,1211,1040,1497,1943,1911,1429,912,761,998,1255,1142,625,13,-399,-594,-720,-836,-880,-832,-777,-794,-872,-970,-1047,-1028,-847,-592,-465,-511,-498,-261,-53,-293,-900,-1189,-640,378,950,654,-9,-306,-150,-62,-396,-895,-1069,-793,-382,-164,-175,-263,-329,-391,-493,-637,-783,-847,-722,-398,-51,75,-92,-371,-531,-512,-400,-271,-146,-71,-130,-324,-532,-635,-633,-599,-563,-510,-452,-429,-441,-449,-441,-451,-480,-472,-397,-307,-270,-278,-280,-272,-304,-384,-456,-475,-479,-535,-641,-724,-724,-645,-523,-396,-301,-280,-340,-436,-505,-524,-520,-517,-506,-467,-408,-356,-323,-297,-269,-255,-274,-316,-354,-378,-404,-440,-465,-449,-387,-308,-244,-212,-211,-236,-278,-321,-345,-342,-317,-283,-251,-228,-212,-198,-179,-161,-157,-169,-188,-198,-197,-188,-176,-161,-148,-139,-130,-116,-99,-88,-90,-98,-105,-111,-116,-114,-95,-62,-25,4,23,29,18,-10,-43,-65,-63,-38,0,35,59,73,82,85,75,48,12,-22,-46,-58,-55,-40,-21,-2,18,37,49,48,37,24,15,12,16,24,25,14},
{-14,-3,4,-5,-13,-1,14,2,-23,-8,33,0,-65,304,1800,4475,6947,6844,2643,-4604,-11467,-14373,-11984,-5698,1834,8472,13127,15206,14241,10416,5222,997,-650,48,1628,2942,3751,3955,3038,854,-1496,-2424,-1614,-432,-326,-1308,-2332,-2694,-2513,-2115,-1637,-1256,-1232,-1514,-1708,-1632,-1531,-1573,-1508,-1135,-756,-742,-901,-748,-285,-10,-138,-323,-284,-268,-592,-1077,-1277,-1101,-881,-891,-1073,-1179,-976,-375,408,863,646,32,-343,-255,-121,-355,-773,-884,-590,-307,-416,-829,-1151,-1110,-766,-412,-323,-525,-779,-823,-651,-481,-476,-583,-640,-574,-430,-279,-169,-129,-174,-300,-497,-721,-868,-827,-615,-397,-330,-419,-552,-643,-671,-643,-583,-543,-556,-570,-503,-361,-231,-167,-141,-124,-157,-275,-429,-538,-576,-562,-492,-360,-216,-137,-131,-136,-117,-105,-129,-158,-158,-152,-185,-246,-279,-257,-209,-168,-135,-104,-91,-112,-158,-209,-262,-316,-354,-360,-326,-259,-177,-101,-54,-39,-44,-59,-95,-154,-208,-217,-178,-127,-89,-62,-40,-36,-59,-95,-125,-151,-176,-183,-154,-101,-55,-22,13,53,76,66,30,-16,-70,-126,-166,-175,-152,-103,-31,48,101,109,84,53,18,-31,-87,-121,-119,-94,-65,-32,6,40,56,53,35,9,-16,-25,-16,0,13,31,58,85,97,97,93,81,59,39,39,55,71,83,100,120,134,151,182,202,169,82}
},
{ // H50e152a.wav
{0,2,0,-4,-4,-2,-2,-3,-1,2,1,-3,-2,3,0,-9,-8,2,2,-12,-15,2,11,-8,-21,5,29,-8,-30,215,958,2125,3209,3403,1991,-1100,-4895,-7608,-7658,-4824,-476,3441,5777,6641,6702,6286,5258,3622,1927,941,979,1630,2141,2032,1412,795,617,865,1119,978,444,-148,-528,-718,-856,-950,-919,-804,-755,-833,-945,-1015,-1061,-1068,-944,-701,-545,-616,-723,-572,-236,-163,-573,-1055,-974,-241,552,789,463,42,-157,-257,-499,-828,-949,-730,-391,-231,-293,-381,-362,-321,-405,-626,-855,-957,-859,-565,-189,59,25,-221,-445,-485,-381,-259,-172,-116,-123,-233,-404,-532,-572,-576,-590,-588,-532,-447,-394,-392,-416,-437,-445,-433,-401,-368,-355,-361,-364,-353,-343,-344,-354,-378,-438,-543,-658,-725,-708,-620,-512,-433,-395,-377,-361,-362,-410,-500,-578,-587,-521,-420,-331,-271,-238,-230,-247,-283,-325,-363,-394,-421,-438,-435,-405,-353,-300,-265,-255,-258,-264,-274,-292,-309,-313,-307,-303,-304,-294,-259,-208,-165,-148,-151,-164,-181,-200,-213,-214,-208,-203,-195,-174,-140,-108,-87,-76,-71,-77,-98,-123,-134,-125,-104,-81,-58,-35,-13,0,-4,-24,-50,-65,-65,-54,-39,-18,14,50,80,96,95,73,33,-9,-37,-46,-46,-40,-26,-5,12,22,30,35,28,9,-4,0,9,8,13,43,83,90,50},
{4,-14,-17,3,13,-6,-20,1,24,2,-33,-7,45,-4,-39,522,2298,4975,6859,5779,902,-6154,-12051,-13819,-10610,-3889,3756,10049,13714,14378,12286,8294,3893,710,-397,237,1645,3045,3959,3846,2323,-53,-1782,-1788,-648,50,-505,-1660,-2383,-2425,-2154,-1798,-1375,-1075,-1148,-1449,-1568,-1433,-1360,-1463,-1441,-1128,-827,-824,-899,-678,-237,30,9,-89,-210,-545,-1051,-1317,-1117,-801,-840,-1169,-1276,-858,-148,395,516,284,-31,-170,-107,-77,-287,-613,-732,-565,-425,-615,-1026,-1258,-1089,-694,-406,-373,-473,-504,-411,-332,-428,-671,-857,-824,-623,-413,-282,-204,-155,-172,-288,-471,-645,-733,-677,-479,-246,-129,-195,-369,-535,-638,-682,-670,-612,-553,-541,-568,-577,-524,-419,-301,-206,-166,-200,-294,-405,-492,-535,-519,-446,-349,-274,-227,-174,-105,-57,-65,-104,-131,-145,-179,-232,-262,-244,-207,-186,-181,-172,-161,-162,-174,-187,-211,-263,-332,-377,-372,-325,-256,-175,-96,-42,-29,-48,-83,-130,-186,-228,-232,-195,-140,-89,-54,-41,-51,-76,-104,-134,-163,-180,-169,-134,-96,-66,-32,14,54,67,52,25,-11,-57,-108,-146,-158,-139,-89,-16,56,98,97,66,26,-13,-53,-93,-122,-125,-94,-38,22,64,79,70,44,10,-21,-38,-39,-29,-9,17,44,69,91,105,103,87,71,65,65,65,66,71,74,77,101,155,200,179,90}
},
{ // H50e160a.wav
{1,-2,-2,0,-1,-3,1,5,3,-2,0,5,0,-10,-8,4,6,-9,-14,3,13,-5,-20,5,30,-7,-20,283,1175,2549,3729,3698,1711,-2029,-6130,-8577,-7942,-4383,433,4516,6833,7580,7413,6630,5171,3209,1442,644,980,1852,2406,2186,1402,666,456,726,983,790,186,-427,-762,-891,-993,-1055,-962,-770,-693,-820,-1021,-1150,-1191,-1152,-982,-713,-540,-597,-717,-620,-326,-193,-466,-923,-1086,-726,-75,437,560,352,26,-260,-479,-653,-746,-695,-518,-340,-266,-280,-309,-349,-459,-653,-851,-959,-931,-760,-472,-165,9,-34,-217,-372,-396,-316,-224,-186,-208,-257,-303,-349,-425,-529,-603,-590,-505,-420,-383,-379,-380,-381,-382,-371,-348,-347,-388,-439,-445,-406,-371,-374,-402,-443,-511,-608,-688,-703,-655,-579,-490,-377,-264,-218,-288,-435,-564,-609,-574,-501,-420,-343,-282,-249,-244,-248,-248,-253,-286,-349,-412,-437,-411,-358,-310,-284,-278,-283,-286,-279,-264,-259,-276,-302,-317,-317,-313,-307,-281,-228,-172,-146,-154,-171,-178,-176,-178,-189,-205,-219,-223,-212,-187,-152,-115,-81,-58,-54,-67,-85,-99,-108,-112,-104,-80,-47,-19,-1,6,-1,-26,-61,-88,-95,-83,-61,-31,8,51,87,103,95,65,24,-14,-41,-54,-54,-41,-18,9,36,55,56,42,22,5,-6,-10,-3,13,29,43,64,95,116,99,48},
{-5,7,2,-15,-15,5,10,-11,-20,5,22,-9,-36,5,48,-18,-14,663,2505,5014,6477,4976,6,-6698,-11975,-13126,-9489,-2629,4767,10379,13113,13026,10774,7258,3567,816,-295,186,1621,3166,3993,3475,1647,-466,-1489,-1001,-8,171,-685,-1716,-2175,-2113,-1887,-1583,-1198,-972,-1102,-1358,-1385,-1249,-1285,-1478,-1447,-1100,-821,-858,-912,-613,-102,182,97,-163,-472,-841,-1138,-1141,-932,-877,-1076,-1133,-708,-52,290,162,-96,-158,-59,-8,-94,-260,-419,-504,-511,-554,-772,-1104,-1269,-1080,-695,-440,-430,-478,-379,-173,-73,-223,-558,-877,-1003,-894,-638,-368,-177,-99,-130,-249,-414,-562,-621,-551,-377,-191,-95,-119,-206,-298,-402,-545,-691,-764,-743,-690,-657,-631,-583,-524,-477,-430,-356,-275,-240,-272,-339,-403,-452,-475,-458,-409,-355,-303,-227,-121,-27,3,-33,-92,-150,-214,-278,-312,-296,-250,-210,-188,-176,-172,-180,-202,-233,-274,-322,-359,-362,-328,-283,-239,-190,-134,-88,-74,-92,-120,-146,-171,-195,-207,-199,-176,-146,-110,-76,-61,-74,-106,-139,-163,-177,-176,-157,-124,-82,-34,17,59,78,65,28,-20,-71,-112,-131,-126,-103,-64,-8,49,76,60,23,-6,-24,-45,-76,-102,-108,-87,-40,17,59,68,52,31,12,-11,-34,-41,-26,0,25,50,76,94,98,95,93,88,76,66,58,43,25,38,99,164,163,86}
},
{ // H50e168a.wav
{-3,0,-2,-4,0,5,2,-4,-2,4,0,-10,-10,1,2,-10,-13,3,11,-9,-22,5,31,-11,-12,375,1463,3069,4301,3933,1253,-3182,-7532,-9588,-8130,-3742,1587,5816,8039,8569,8075,6844,4908,2638,888,388,1089,2175,2717,2332,1350,479,237,548,839,614,-67,-726,-1041,-1113,-1158,-1165,-1017,-786,-697,-828,-1035,-1181,-1263,-1277,-1139,-856,-615,-565,-601,-515,-309,-206,-355,-664,-928,-998,-797,-329,222,517,337,-168,-604,-706,-542,-357,-311,-371,-410,-352,-248,-232,-394,-684,-944,-1044,-971,-795,-588,-388,-224,-133,-135,-210,-294,-327,-306,-280,-286,-306,-309,-321,-396,-519,-595,-551,-416,-283,-215,-227,-306,-413,-475,-442,-358,-314,-340,-373,-364,-349,-390,-480,-561,-609,-655,-720,-773,-767,-679,-517,-320,-164,-129,-231,-394,-515,-550,-528,-488,-441,-383,-327,-288,-262,-239,-221,-225,-259,-306,-340,-344,-326,-309,-311,-329,-340,-322,-277,-229,-209,-227,-268,-309,-334,-342,-337,-318,-283,-240,-205,-183,-162,-136,-122,-141,-186,-222,-228,-217,-212,-212,-197,-166,-135,-115,-99,-82,-72,-77,-93,-105,-106,-97,-77,-48,-17,7,17,13,-2,-27,-58,-89,-109,-108,-85,-46,-1,43,79,94,78,33,-16,-46,-53,-51,-48,-38,-13,20,47,60,60,51,34,15,5,6,11,12,15,30,60,91,102,86,52,21,4},
{3,-6,-2,6,-1,-15,-12,5,6,-13,-15,10,19,-15,-34,12,45,-27,0,688,2439,4734,5990,4487,-201,-6464,-11354,-12317,-8719,-2125,4783,9769,11969,11723,9800,6898,3709,1084,-191,136,1573,3127,3789,3049,1274,-410,-958,-365,342,210,-693,-1575,-1918,-1852,-1661,-1393,-1082,-936,-1058,-1220,-1201,-1147,-1293,-1495,-1403,-1044,-820,-878,-861,-473,37,210,-30,-390,-660,-860,-1013,-1070,-1041,-976,-800,-418,-1,103,-159,-407,-318,-44,47,-115,-282,-295,-269,-362,-586,-866,-1124,-1242,-1102,-765,-478,-405,-429,-340,-136,-25,-147,-424,-679,-813,-829,-762,-629,-444,-241,-93,-84,-224,-410,-505,-467,-360,-256,-175,-125,-135,-206,-291,-356,-434,-571,-745,-878,-915,-852,-718,-561,-445,-410,-428,-434,-398,-356,-339,-333,-319,-321,-365,-429,-458,-431,-364,-274,-167,-61,4,2,-61,-160,-264,-336,-349,-311,-265,-240,-228,-212,-196,-196,-214,-240,-274,-316,-350,-357,-339,-310,-273,-219,-154,-103,-83,-86,-101,-131,-175,-216,-234,-229,-207,-170,-125,-90,-82,-95,-114,-134,-158,-177,-175,-150,-113,-72,-25,22,50,50,35,16,-13,-51,-81,-90,-85,-79,-66,-35,9,42,48,31,6,-18,-42,-68,-93,-106,-95,-57,-9,29,49,55,51,37,16,-4,-16,-17,-6,18,49,79,100,107,99,81,66,57,38,7,-5,34,99,119,69}
},
{ // H50e176a.wav
{0,-4,1,8,5,-2,-1,4,0,-11,-9,3,3,-11,-12,7,14,-10,-24,9,35,-16,-2,492,1810,3656,4898,4121,698,-4426,-8971,-10575,-8258,-3028,2830,7229,9358,9607,8675,6920,4528,2042,379,186,1234,2541,3092,2524,1283,222,-59,317,665,424,-316,-1011,-1313,-1335,-1311,-1255,-1080,-860,-777,-872,-1035,-1190,-1325,-1367,-1217,-943,-752,-700,-609,-361,-128,-140,-358,-562,-690,-863,-1054,-989,-505,127,410,136,-403,-730,-635,-311,-103,-161,-330,-368,-237,-141,-284,-642,-999,-1159,-1086,-874,-644,-469,-350,-252,-172,-159,-238,-349,-405,-395,-372,-363,-349,-349,-418,-550,-634,-561,-350,-128,-19,-65,-226,-401,-488,-463,-396,-360,-338,-276,-208,-240,-406,-607,-731,-778,-821,-875,-865,-728,-499,-288,-190,-223,-325,-408,-431,-417,-404,-403,-393,-371,-355,-349,-332,-292,-245,-214,-196,-183,-183,-211,-263,-318,-361,-384,-373,-320,-244,-189,-182,-211,-247,-281,-316,-348,-360,-343,-309,-275,-242,-202,-154,-114,-98,-113,-149,-189,-220,-238,-244,-236,-209,-168,-131,-112,-106,-103,-99,-98,-103,-112,-121,-123,-105,-64,-16,19,35,40,38,18,-22,-67,-97,-108,-107,-91,-51,6,57,77,64,31,-6,-36,-56,-67,-73,-69,-49,-11,31,60,68,61,49,39,33,28,21,12,8,16,36,62,88,102,91,56,15,-8,-10,-3},
{4,8,0,-8,-3,6,-1,-15,-13,3,3,-14,-16,7,14,-15,-31,9,38,-25,1,609,2163,4238,5458,4254,125,-5608,-10291,-11466,-8375,-2380,3991,8595,10663,10618,9198,6889,4090,1503,21,121,1422,2877,3445,2727,1208,-101,-437,63,531,273,-572,-1334,-1617,-1564,-1444,-1297,-1093,-937,-937,-1016,-1067,-1148,-1331,-1459,-1318,-998,-811,-817,-725,-358,22,53,-242,-538,-676,-793,-998,-1143,-1000,-558,-68,156,-17,-403,-623,-465,-123,21,-137,-330,-306,-159,-171,-447,-837,-1138,-1237,-1109,-821,-540,-401,-365,-289,-151,-89,-199,-396,-538,-586,-578,-535,-476,-456,-497,-513,-406,-220,-107,-143,-247,-310,-316,-312,-314,-307,-287,-268,-259,-272,-335,-461,-632,-808,-947,-995,-902,-688,-461,-334,-328,-377,-414,-419,-400,-360,-316,-301,-329,-377,-412,-419,-395,-331,-236,-143,-88,-77,-98,-149,-227,-310,-361,-364,-334,-295,-257,-222,-196,-190,-207,-242,-286,-327,-351,-355,-345,-324,-283,-222,-160,-117,-98,-96,-111,-145,-189,-222,-234,-230,-218,-196,-162,-129,-110,-104,-101,-103,-118,-141,-153,-142,-115,-82,-46,-8,23,39,43,38,19,-19,-63,-90,-95,-90,-78,-49,-2,40,55,42,18,-8,-36,-65,-87,-97,-93,-70,-25,27,64,74,66,52,35,19,10,9,10,12,27,57,88,102,101,89,60,14,-20,-10,34,59,39}
}
},
{ // elev60
{ // H60e000a.wav
{-59,-62,53,93,-59,-146,43,196,-27,-270,-16,342,49,-357,603,2838,4202,3659,3087,3764,2708,-3727,-12573,-14943,-6458,6153,12384,10120,6394,6671,8307,6333,1528,-1003,729,3582,4330,3243,1891,361,-1623,-2871,-2244,-980,-1346,-3207,-3952,-2215,42,162,-1666,-2873,-2004,-329,206,-560,-1301,-1223,-799,-672,-761,-705,-515,-347,-100,231,180,-576,-1427,-1384,-481,133,-247,-911,-817,-86,310,12,-358,-272,10,36,-167,-350,-520,-762,-893,-721,-463,-479,-694,-674,-277,133,205,19,-146,-216,-304,-433,-501,-445,-324,-225,-188,-211,-269,-328,-379,-444,-520,-557,-514,-422,-340,-292,-259,-211,-127,-12,67,28,-125,-273,-327,-346,-436,-583,-651,-588,-515,-584,-803,-1043,-1195,-1239,-1187,-1033,-789,-533,-363,-313,-332,-360,-391,-451,-527,-573,-563,-525,-495,-467,-411,-334,-276,-254,-245,-224,-203,-213,-253,-294,-318,-334,-355,-362,-321,-230,-135,-92,-111,-153,-183,-208,-247,-291,-310,-297,-285,-300,-320,-298,-218,-119,-56,-48,-72,-101,-131,-170,-210,-220,-180,-100,-14,53,86,86,68,55,54,47,18,-18,-32,-19,-5,-7,-10,4,29,41,29,2,-25,-45,-59,-66,-61,-37,7,48,60,42,18,10,10,-3,-29,-46,-41,-19,11,45,73,90,98,100,93,70,41,31,51,84,103,101,92,92,98,94,69,31,4,3,14,14},
{-59,-62,53,93,-59,-146,43,196,-27,-270,-16,342,49,-357,603,2838,4202,3659,3087,3764,2708,-3727,-12573,-14943,-6458,6153,12384,10120,6394,6671,8307,6333,1528,-1003,729,3582,4330,3243,1891,361,-1623,-2871,-2244,-980,-1346,-3207,-3952,-2215,42,162,-1666,-2873,-2004,-329,206,-560,-1301,-1223,-799,-672,-761,-705,-515,-347,-100,231,180,-576,-1427,-1384,-481,133,-247,-911,-817,-86,310,12,-358,-272,10,36,-167,-350,-520,-762,-893,-721,-463,-479,-694,-674,-277,133,205,19,-146,-216,-304,-433,-501,-445,-324,-225,-188,-211,-269,-328,-379,-444,-520,-557,-514,-422,-340,-292,-259,-211,-127,-12,67,28,-125,-273,-327,-346,-436,-583,-651,-588,-515,-584,-803,-1043,-1195,-1239,-1187,-1033,-789,-533,-363,-313,-332,-360,-391,-451,-527,-573,-563,-525,-495,-467,-411,-334,-276,-254,-245,-224,-203,-213,-253,-294,-318,-334,-355,-362,-321,-230,-135,-92,-111,-153,-183,-208,-247,-291,-310,-297,-285,-300,-320,-298,-218,-119,-56,-48,-72,-101,-131,-170,-210,-220,-180,-100,-14,53,86,86,68,55,54,47,18,-18,-32,-19,-5,-7,-10,4,29,41,29,2,-25,-45,-59,-66,-61,-37,7,48,60,42,18,10,10,-3,-29,-46,-41,-19,11,45,73,90,98,100,93,70,41,31,51,84,103,101,92,92,98,94,69,31,4,3,14,14}
},
{ // H60e010a.wav
{37,1,-63,-29,71,48,-91,-89,99,131,-113,-197,112,268,-112,-174,1111,3004,3671,3028,2901,3349,1117,-5639,-12420,-11890,-2941,6995,10451,8168,6264,7250,7726,4773,654,-622,1263,3333,3679,2892,1774,179,-1550,-2101,-1186,-517,-1543,-3172,-3148,-1278,207,-355,-1975,-2535,-1519,-313,-154,-764,-1168,-1058,-839,-776,-709,-525,-356,-221,43,319,123,-653,-1295,-1073,-298,23,-436,-914,-698,-90,161,-60,-250,-146,-4,-52,-185,-286,-447,-685,-776,-601,-403,-450,-617,-578,-290,-20,42,-29,-112,-216,-369,-498,-525,-471,-399,-320,-231,-173,-203,-308,-421,-488,-506,-493,-463,-413,-335,-251,-207,-215,-202,-93,52,64,-137,-420,-578,-550,-453,-412,-440,-497,-584,-725,-892,-1006,-1019,-962,-888,-812,-715,-594,-478,-393,-333,-301,-326,-434,-591,-707,-719,-639,-527,-431,-370,-340,-332,-327,-309,-279,-253,-243,-252,-276,-307,-333,-348,-345,-325,-289,-242,-196,-165,-160,-181,-218,-253,-275,-286,-296,-306,-305,-289,-259,-212,-142,-70,-35,-54,-96,-122,-131,-147,-171,-171,-128,-56,11,53,68,63,52,50,53,41,7,-27,-34,-12,15,28,27,24,26,29,21,-6,-42,-63,-62,-47,-29,-7,18,36,34,18,1,-13,-26,-34,-24,0,22,32,38,48,64,82,95,97,84,64,52,57,69,77,80,82,83,83,83,82,70,44,16},
{-4,121,24,-169,-65,216,127,-263,-209,313,304,-362,-33,2236,4526,4572,3514,3951,4253,-758,-11142,-17814,-11998,2838,13749,13457,7744,5801,8070,8077,3418,-946,-442,3079,5011,4134,2350,635,-1470,-3305,-3255,-1710,-1270,-3012,-4575,-3420,-603,548,-1054,-2959,-2645,-670,529,-47,-1149,-1404,-958,-673,-728,-715,-544,-450,-355,-40,150,-398,-1408,-1715,-853,100,-43,-886,-1051,-203,556,362,-278,-435,-76,154,-23,-343,-610,-863,-1016,-878,-576,-498,-705,-777,-415,122,367,210,-88,-292,-376,-405,-409,-395,-350,-257,-146,-100,-152,-246,-334,-443,-583,-666,-622,-514,-453,-419,-303,-87,99,142,59,-55,-142,-193,-231,-290,-392,-501,-544,-508,-486,-596,-852,-1153,-1373,-1449,-1382,-1185,-878,-531,-277,-229,-356,-495,-515,-443,-395,-422,-460,-444,-390,-353,-347,-347,-326,-278,-208,-141,-119,-165,-256,-338,-378,-381,-368,-338,-272,-171,-75,-41,-77,-131,-155,-161,-195,-256,-294,-292,-291,-318,-329,-272,-167,-88,-67,-70,-70,-90,-156,-245,-298,-276,-186,-69,30,86,102,99,94,79,42,-8,-44,-40,-6,25,27,11,7,26,42,25,-17,-51,-59,-53,-57,-70,-72,-42,16,70,83,55,26,26,39,21,-35,-84,-81,-30,33,77,94,95,97,105,103,74,31,14,39,82,107,109,109,111,102,80,53,27,8,13,52,95,95,47}
},
{ // H60e020a.wav
{-23,7,32,-8,-53,-5,63,12,-89,-37,107,63,-136,-108,163,161,-169,62,1407,2856,3097,2603,2759,2783,-209,-6561,-11380,-9201,-902,6713,8732,7066,6326,7244,6782,3616,360,-155,1580,3116,3292,2626,1565,113,-1137,-1270,-573,-524,-1717,-2810,-2309,-715,77,-748,-1998,-2159,-1219,-362,-339,-792,-1048,-974,-834,-733,-574,-372,-238,-111,137,320,40,-656,-1119,-870,-287,-125,-492,-767,-527,-86,60,-86,-184,-119,-60,-94,-155,-254,-471,-706,-718,-494,-335,-445,-640,-618,-363,-109,-9,-29,-122,-302,-525,-643,-555,-337,-162,-128,-193,-271,-328,-389,-471,-535,-528,-457,-392,-373,-351,-271,-171,-140,-191,-240,-234,-222,-275,-376,-435,-411,-360,-363,-449,-582,-709,-793,-827,-817,-784,-748,-718,-692,-663,-623,-570,-501,-422,-360,-355,-421,-531,-631,-679,-667,-608,-525,-447,-400,-381,-365,-333,-295,-273,-278,-299,-318,-330,-337,-342,-345,-339,-320,-289,-255,-225,-202,-193,-200,-217,-234,-254,-276,-293,-290,-265,-229,-190,-141,-85,-49,-57,-94,-123,-128,-123,-124,-123,-107,-75,-35,4,34,48,48,47,53,56,43,18,1,4,17,22,13,3,4,12,14,0,-26,-50,-62,-57,-35,-5,17,23,19,13,3,-14,-29,-29,-10,17,38,47,49,50,58,75,92,95,79,59,51,55,63,66,65,64,71,88,100,85,41},
{128,-141,-193,141,277,-132,-384,107,506,-98,-537,1137,4141,5400,4326,3967,5112,2688,-7192,-18162,-17991,-3841,12243,16950,10937,5490,6572,8873,6121,613,-1174,1820,4900,4920,3213,1508,-669,-3362,-4469,-2921,-1232,-2269,-4801,-5002,-2044,554,-180,-2703,-3372,-1390,631,574,-731,-1353,-974,-654,-834,-918,-590,-314,-348,-306,-96,-355,-1305,-1942,-1309,-88,181,-693,-1265,-584,496,679,36,-379,-151,159,92,-195,-489,-851,-1200,-1193,-803,-525,-678,-885,-623,4,415,325,-16,-276,-389,-427,-412,-347,-273,-213,-149,-90,-81,-137,-232,-355,-506,-645,-722,-742,-717,-590,-326,-30,123,103,46,40,19,-92,-237,-324,-369,-436,-501,-485,-418,-459,-720,-1132,-1506,-1691,-1641,-1372,-945,-494,-216,-233,-451,-615,-559,-371,-265,-316,-402,-397,-330,-304,-331,-336,-279,-196,-133,-103,-113,-179,-283,-364,-379,-350,-328,-318,-278,-188,-90,-44,-58,-84,-91,-102,-158,-242,-300,-312,-307,-299,-260,-180,-107,-91,-110,-103,-74,-87,-174,-281,-324,-277,-171,-62,14,54,84,126,153,117,16,-79,-96,-43,12,22,6,8,44,84,84,30,-43,-90,-99,-98,-111,-121,-96,-35,36,87,104,87,54,27,10,-18,-65,-97,-74,-3,63,91,97,106,115,107,80,51,32,27,38,62,88,105,109,103,87,62,39,33,45,66,84,96,100,89,62,29}
},
{ // H60e030a.wav
{15,-8,-17,12,23,-20,-42,14,53,-15,-77,2,97,8,-130,-29,170,61,-159,311,1599,2630,2620,2345,2634,2122,-1462,-7207,-10264,-6923,594,6381,7524,6432,6337,6886,5696,2628,247,327,1867,2933,2929,2330,1383,174,-696,-670,-277,-611,-1695,-2275,-1545,-362,-156,-1083,-1934,-1755,-901,-348,-452,-791,-929,-873,-784,-649,-422,-222,-148,-73,128,243,-51,-627,-923,-657,-234,-192,-485,-617,-381,-84,-31,-135,-171,-131,-135,-187,-227,-303,-476,-629,-591,-431,-407,-583,-713,-579,-293,-136,-196,-317,-345,-299,-272,-285,-291,-264,-232,-236,-288,-369,-450,-507,-521,-480,-404,-349,-356,-400,-413,-372,-325,-317,-316,-265,-179,-145,-219,-353,-445,-442,-387,-370,-445,-581,-696,-737,-714,-673,-645,-634,-644,-674,-703,-693,-626,-525,-426,-358,-343,-396,-499,-599,-653,-663,-650,-617,-549,-459,-393,-376,-380,-365,-329,-307,-317,-340,-353,-357,-362,-360,-334,-294,-270,-271,-271,-243,-199,-173,-176,-191,-204,-224,-257,-281,-272,-230,-179,-136,-105,-85,-82,-99,-121,-129,-119,-104,-96,-94,-84,-58,-22,11,34,50,62,69,66,55,39,19,0,-11,-10,-4,-1,-1,1,2,-4,-21,-41,-52,-52,-42,-21,3,17,17,12,7,-3,-20,-26,-6,28,51,57,59,66,68,62,58,63,65,56,49,54,62,57,49,56,76,76,42},
{-245,-26,304,128,-365,-249,428,383,-513,-173,2609,5465,5585,4371,5000,5386,-907,-13808,-21810,-14014,4837,18059,16460,7837,4530,7550,8593,4030,-560,156,3897,5447,4029,2264,787,-1757,-4570,-4883,-2643,-1439,-3330,-5541,-4479,-1114,364,-1485,-3550,-2782,-217,1008,61,-1104,-1022,-456,-568,-1043,-957,-420,-196,-320,-284,-270,-935,-1946,-2014,-829,194,-155,-1108,-1078,10,750,397,-237,-221,215,329,3,-387,-723,-1095,-1321,-1145,-779,-685,-856,-791,-267,304,424,105,-274,-456,-460,-399,-330,-264,-189,-102,-40,-46,-99,-148,-213,-363,-598,-821,-941,-905,-680,-313,-9,28,-127,-170,27,221,134,-160,-360,-356,-312,-368,-458,-481,-498,-652,-978,-1356,-1630,-1700,-1531,-1169,-737,-398,-264,-327,-462,-527,-468,-347,-256,-232,-254,-306,-371,-402,-348,-226,-112,-62,-59,-78,-135,-243,-350,-385,-341,-288,-274,-276,-239,-160,-81,-39,-32,-47,-81,-139,-212,-275,-312,-315,-274,-194,-115,-83,-96,-101,-71,-55,-114,-230,-314,-305,-227,-138,-72,-25,25,90,151,161,90,-18,-79,-62,-15,1,-14,-14,23,74,102,85,25,-44,-84,-91,-100,-132,-160,-143,-76,10,87,136,140,94,26,-31,-68,-92,-93,-55,6,55,84,117,150,154,117,70,44,36,27,24,42,76,102,108,95,71,52,53,71,87,89,86,89,91,88,93,106,98,52}
},
{ // H60e040a.wav
{-1,11,8,-12,-9,16,10,-29,-26,29,35,-37,-58,33,76,-34,-104,35,146,-24,-93,565,1726,2392,2271,2227,2477,1318,-2729,-7713,-9132,-4911,1824,6177,6771,6100,6219,6227,4542,1850,343,835,2085,2721,2586,2060,1224,225,-363,-262,-108,-639,-1529,-1734,-982,-235,-428,-1267,-1704,-1302,-624,-359,-535,-745,-786,-760,-720,-572,-327,-160,-127,-56,137,208,-82,-539,-714,-495,-243,-268,-436,-442,-274,-162,-197,-250,-233,-214,-235,-232,-199,-255,-447,-617,-609,-496,-481,-611,-737,-724,-574,-345,-97,72,47,-155,-349,-367,-262,-221,-318,-439,-458,-398,-372,-414,-449,-423,-393,-449,-582,-673,-612,-411,-187,-63,-87,-213,-339,-390,-365,-323,-310,-319,-332,-375,-481,-616,-691,-665,-594,-566,-603,-661,-695,-695,-668,-621,-559,-494,-434,-391,-388,-439,-521,-585,-604,-604,-621,-647,-638,-575,-488,-420,-380,-353,-333,-334,-354,-367,-358,-342,-338,-338,-320,-287,-261,-252,-243,-220,-192,-176,-170,-163,-163,-185,-227,-262,-266,-240,-198,-154,-120,-102,-99,-104,-111,-121,-129,-127,-110,-84,-54,-26,1,25,42,53,61,64,57,40,20,3,-7,-13,-14,-9,2,13,15,3,-14,-27,-36,-44,-47,-38,-20,-3,7,16,25,26,15,5,7,19,31,40,51,61,64,60,58,58,56,53,53,54,50,45,51,62,57,29},
{26,313,34,-421,-121,541,216,-666,284,3568,6124,5757,4849,5837,4827,-4224,-17907,-22565,-9981,10252,20412,15178,5909,4099,7796,8108,3297,-215,1444,4729,5219,3467,1941,316,-2686,-5358,-4921,-2391,-1765,-4083,-5720,-3843,-734,-400,-2737,-3916,-2037,492,806,-572,-1222,-555,-76,-568,-1062,-746,-230,-247,-431,-294,-381,-1283,-2202,-1858,-560,38,-650,-1293,-700,439,716,76,-358,-57,377,358,23,-357,-840,-1371,-1527,-1137,-694,-691,-890,-686,-35,465,363,-146,-563,-634,-471,-300,-234,-220,-151,-23,47,-9,-109,-167,-253,-486,-811,-1025,-990,-744,-416,-155,-87,-195,-275,-146,93,160,-26,-242,-283,-227,-269,-413,-510,-521,-589,-836,-1194,-1481,-1572,-1468,-1250,-998,-750,-528,-374,-328,-363,-383,-333,-260,-242,-283,-336,-367,-367,-316,-211,-109,-80,-106,-108,-68,-70,-172,-309,-375,-349,-301,-278,-260,-210,-129,-51,-9,-17,-72,-144,-204,-245,-277,-287,-248,-164,-95,-91,-122,-108,-38,-6,-87,-234,-319,-286,-203,-152,-128,-74,21,105,139,121,68,4,-40,-42,-20,-13,-24,-17,30,85,100,66,13,-34,-66,-92,-122,-151,-161,-137,-86,-27,37,103,143,115,28,-53,-79,-70,-66,-66,-40,13,65,109,147,166,144,96,64,57,44,13,-3,23,69,93,89,79,77,85,99,108,92,59,46,74,110,118,105,108,124,110,54}
},
{ // H60e050a.wav
{-4,-7,5,14,-1,-14,2,19,-4,-32,-4,38,8,-54,-26,60,40,-70,-55,94,89,-92,74,916,1866,2163,2043,2229,2151,0,-4482,-8248,-7573,-2389,3385,6183,6205,5817,5892,5258,3280,1235,637,1370,2211,2469,2286,1810,1006,188,-103,68,-32,-742,-1399,-1232,-499,-183,-681,-1337,-1375,-851,-404,-380,-565,-672,-697,-721,-662,-435,-177,-87,-111,-34,144,157,-128,-470,-557,-410,-295,-334,-399,-383,-342,-345,-350,-304,-253,-248,-247,-210,-208,-314,-462,-543,-600,-749,-940,-947,-662,-270,-39,-22,-75,-94,-116,-194,-295,-360,-389,-409,-408,-358,-289,-279,-371,-522,-646,-693,-677,-629,-549,-427,-276,-155,-130,-214,-347,-436,-419,-311,-197,-160,-220,-331,-436,-514,-564,-590,-588,-571,-563,-578,-610,-643,-664,-658,-619,-567,-530,-513,-493,-458,-432,-449,-504,-560,-595,-622,-657,-684,-666,-597,-510,-439,-392,-360,-340,-336,-339,-337,-328,-326,-331,-326,-298,-259,-232,-224,-218,-203,-186,-177,-173,-167,-164,-179,-212,-245,-258,-244,-212,-171,-131,-106,-105,-120,-135,-138,-130,-117,-99,-69,-27,12,34,38,37,41,45,44,33,15,-2,-11,-13,-13,-9,1,16,24,17,0,-17,-29,-40,-50,-50,-34,-12,2,11,24,39,43,33,20,15,17,19,22,32,47,59,62,60,58,54,46,35,32,42,51,44,22},
{362,-100,-472,0,600,87,-736,515,3942,6390,6069,5460,6332,4279,-5962,-19518,-22468,-8116,12330,21249,14753,5117,3500,7367,7903,3637,650,2197,4797,4805,3244,2153,520,-2965,-6023,-5480,-2542,-1606,-3869,-5624,-3949,-1056,-818,-3040,-4025,-2105,297,553,-676,-1148,-496,-142,-600,-859,-377,44,-209,-546,-434,-485,-1289,-2061,-1681,-579,-239,-939,-1337,-571,471,583,-30,-309,28,347,265,13,-271,-780,-1417,-1650,-1269,-767,-643,-708,-470,75,420,223,-308,-709,-730,-491,-275,-219,-210,-97,65,96,-13,-104,-161,-389,-826,-1139,-1012,-589,-302,-322,-435,-416,-280,-143,-47,2,-30,-126,-201,-218,-251,-349,-449,-491,-539,-712,-1017,-1313,-1447,-1370,-1162,-962,-857,-805,-701,-515,-326,-214,-185,-209,-273,-354,-396,-382,-349,-320,-256,-142,-54,-63,-119,-115,-47,-27,-119,-255,-335,-346,-330,-309,-264,-185,-94,-27,-7,-36,-94,-155,-213,-265,-288,-250,-169,-107,-102,-114,-87,-28,-12,-82,-190,-251,-237,-197,-181,-172,-121,-23,67,99,84,60,46,29,2,-26,-42,-39,-9,41,76,72,43,24,16,-19,-88,-152,-170,-153,-130,-104,-58,5,64,98,96,53,-14,-65,-74,-61,-55,-54,-30,23,82,126,148,149,126,92,67,51,29,2,-5,20,56,79,91,106,122,124,110,87,59,38,42,79,120,136,124,112,117,119,94,45}
},
{ // H60e060a.wav
{-1,-1,-6,-1,12,7,-11,-8,13,8,-24,-21,23,28,-29,-45,26,58,-25,-75,32,111,-24,-68,458,1379,1947,1953,2022,2220,1147,-2344,-6647,-8086,-4818,865,5007,6105,5724,5521,5219,3915,2043,955,1127,1793,2188,2256,2084,1510,629,45,108,291,-110,-899,-1193,-691,-129,-275,-923,-1259,-962,-483,-318,-435,-540,-567,-630,-688,-563,-273,-63,-56,-91,-3,106,33,-212,-425,-493,-484,-470,-429,-365,-362,-435,-467,-381,-275,-266,-294,-229,-125,-190,-486,-805,-913,-806,-641,-517,-411,-296,-201,-150,-137,-147,-183,-237,-283,-313,-344,-372,-363,-316,-305,-408,-602,-758,-764,-634,-480,-398,-390,-400,-388,-357,-327,-309,-306,-316,-317,-281,-218,-183,-225,-332,-444,-511,-529,-521,-505,-497,-510,-544,-582,-613,-636,-648,-636,-602,-569,-551,-538,-507,-466,-452,-486,-547,-597,-620,-630,-640,-646,-631,-582,-505,-422,-357,-322,-315,-321,-323,-317,-310,-310,-309,-296,-266,-232,-213,-210,-210,-204,-197,-192,-184,-171,-164,-178,-212,-246,-260,-247,-214,-173,-136,-113,-109,-120,-132,-134,-125,-110,-88,-55,-13,24,42,40,33,33,36,32,17,-3,-17,-23,-23,-19,-9,9,28,37,29,8,-14,-31,-43,-46,-38,-21,-3,10,24,39,47,41,29,22,20,17,15,21,36,48,52,53,56,57,49,39,35,36,31,16},
{25,-407,-114,525,207,-672,215,3492,6359,6579,5980,6504,4533,-5139,-18671,-22784,-9753,10824,21293,15937,5752,2810,6357,7880,4574,1508,2360,4563,4669,3360,2540,1192,-2309,-5956,-6151,-3292,-1659,-3269,-5151,-4155,-1691,-1266,-3036,-3841,-2168,-177,-100,-1092,-1122,-252,-84,-840,-1101,-304,388,107,-429,-431,-450,-1198,-1961,-1593,-512,-237,-1037,-1501,-726,356,486,-117,-353,35,349,209,-59,-264,-685,-1353,-1714,-1391,-789,-520,-559,-408,67,407,193,-405,-836,-787,-457,-237,-252,-281,-133,80,127,10,-112,-258,-612,-1095,-1270,-878,-271,-35,-289,-608,-616,-365,-126,-25,-25,-80,-173,-264,-312,-335,-372,-426,-489,-602,-812,-1087,-1306,-1344,-1182,-932,-763,-745,-780,-713,-521,-323,-222,-202,-217,-269,-363,-437,-425,-344,-267,-211,-148,-81,-55,-68,-62,-20,-12,-101,-242,-332,-333,-301,-288,-278,-222,-120,-27,6,-19,-72,-138,-216,-281,-285,-219,-134,-99,-113,-114,-67,-19,-38,-123,-196,-200,-165,-161,-195,-195,-112,4,64,52,32,49,72,53,0,-39,-40,-12,25,52,53,29,13,29,40,-4,-95,-169,-181,-150,-114,-80,-37,7,38,58,65,46,-1,-50,-70,-67,-63,-57,-26,31,91,130,146,143,123,91,58,27,-3,-21,-11,27,74,111,131,137,127,106,83,60,41,35,54,95,134,144,127,105,99,110,117,97,48}
},
{ // H60e070a.wav
{-3,3,2,-6,-2,12,12,-6,-8,12,13,-16,-21,17,30,-17,-41,17,58,-8,-67,16,104,-1,-86,314,1154,1781,1882,1946,2162,1375,-1662,-5867,-7888,-5469,-144,4341,5936,5652,5239,4895,3874,2305,1248,1228,1698,2022,2158,2163,1761,874,101,43,395,305,-405,-968,-770,-209,-103,-584,-1022,-940,-545,-291,-292,-375,-461,-601,-719,-635,-348,-89,-22,-55,-40,-7,-75,-234,-369,-445,-520,-581,-536,-400,-326,-400,-502,-472,-328,-219,-228,-319,-434,-537,-574,-509,-416,-421,-525,-581,-483,-317,-243,-280,-311,-260,-185,-167,-206,-253,-296,-367,-474,-575,-621,-604,-557,-515,-482,-443,-403,-390,-428,-497,-536,-493,-374,-246,-187,-231,-330,-388,-351,-263,-224,-284,-392,-461,-459,-426,-414,-440,-488,-538,-577,-600,-612,-624,-638,-647,-640,-613,-573,-529,-497,-491,-515,-552,-577,-582,-582,-593,-608,-605,-566,-499,-426,-366,-326,-306,-299,-298,-297,-296,-293,-284,-269,-253,-243,-240,-237,-230,-222,-213,-202,-186,-172,-168,-180,-207,-241,-264,-258,-222,-173,-130,-104,-98,-111,-132,-145,-140,-121,-97,-66,-28,7,26,28,26,31,40,41,29,8,-15,-34,-43,-36,-14,14,38,50,47,29,5,-16,-29,-33,-30,-21,-9,2,14,28,41,47,44,35,26,21,23,28,27,22,23,37,55,62,56,48,43,34,16},
{-331,-195,371,361,-460,-338,2170,5492,6900,6594,6650,5554,-1637,-14507,-22530,-15113,4138,19057,18726,8934,2854,4657,7606,6053,2564,1954,3867,4777,3912,3060,2148,-704,-4825,-6578,-4517,-1937,-2326,-4504,-4815,-2747,-1377,-2402,-3711,-2897,-863,-130,-996,-1551,-906,-263,-566,-1000,-597,108,134,-263,-256,-78,-606,-1600,-1800,-928,-248,-640,-1275,-986,-68,309,-87,-388,-107,256,198,-82,-281,-586,-1187,-1693,-1575,-949,-432,-312,-297,-80,188,149,-254,-685,-801,-601,-364,-283,-265,-143,31,69,-47,-177,-328,-672,-1136,-1290,-872,-241,1,-261,-589,-616,-412,-209,-78,0,-31,-203,-392,-448,-397,-368,-407,-482,-615,-852,-1120,-1255,-1183,-1002,-851,-777,-727,-641,-511,-391,-340,-357,-370,-330,-281,-291,-353,-390,-364,-307,-248,-178,-99,-43,-23,-11,3,-20,-114,-233,-299,-298,-284,-291,-286,-226,-127,-47,-15,-17,-40,-99,-198,-282,-284,-206,-127,-109,-126,-112,-60,-34,-78,-149,-168,-126,-95,-133,-207,-225,-148,-37,26,34,42,70,81,44,-11,-36,-25,-3,22,44,44,15,-2,25,54,16,-83,-155,-152,-115,-99,-95,-67,-18,21,45,64,62,21,-36,-68,-70,-68,-66,-39,17,77,118,143,153,139,99,51,9,-26,-45,-30,23,88,136,155,148,119,84,60,49,43,46,71,110,134,130,114,106,102,98,106,121,109,57}
},
{ // H60e080a.wav
{-2,-2,2,0,-4,2,12,6,-7,-1,15,4,-22,-11,26,20,-30,-31,34,50,-28,-57,45,95,-41,-65,424,1243,1766,1856,1996,2094,878,-2496,-6408,-7577,-4466,832,4764,5870,5396,4883,4395,3362,2058,1355,1485,1871,2067,2148,2129,1698,820,88,28,343,313,-201,-631,-567,-297,-299,-560,-705,-598,-449,-412,-394,-331,-356,-550,-726,-658,-395,-172,-81,-29,6,-85,-301,-450,-415,-343,-419,-575,-603,-477,-369,-369,-392,-384,-429,-560,-619,-471,-238,-165,-284,-394,-363,-299,-355,-501,-588,-546,-434,-323,-236,-184,-182,-213,-249,-313,-455,-646,-752,-671,-471,-327,-335,-422,-463,-425,-383,-399,-457,-506,-516,-483,-406,-309,-253,-290,-390,-451,-405,-293,-214,-219,-276,-330,-365,-394,-426,-459,-490,-517,-536,-553,-583,-636,-693,-725,-717,-679,-630,-577,-526,-490,-483,-506,-536,-555,-564,-574,-581,-566,-517,-443,-373,-331,-316,-312,-302,-284,-265,-254,-255,-263,-271,-275,-276,-275,-270,-260,-243,-222,-201,-185,-179,-184,-200,-224,-246,-249,-224,-181,-139,-113,-104,-110,-126,-145,-154,-146,-123,-93,-64,-40,-22,-8,7,23,37,43,39,24,3,-16,-27,-27,-19,-7,10,28,41,43,35,23,10,-3,-16,-25,-27,-19,-2,18,34,43,46,45,40,31,24,21,20,16,14,20,35,50,60,64,61,46,21},
{-383,48,484,44,-628,374,3395,6206,7050,6930,6587,2974,-6924,-18409,-20302,-7477,10773,19569,14751,5941,3244,6018,7250,4567,1995,2540,4292,4576,3787,3094,1467,-2180,-5727,-5945,-3281,-1593,-2829,-4624,-4222,-2468,-1992,-2996,-3273,-1918,-602,-752,-1474,-1333,-662,-664,-1191,-1050,-140,336,-122,-565,-301,-55,-615,-1366,-1266,-588,-468,-1019,-1164,-423,310,184,-371,-452,-44,184,2,-255,-478,-927,-1541,-1760,-1281,-536,-137,-142,-176,-52,37,-112,-411,-618,-630,-543,-471,-394,-231,-21,74,-22,-211,-407,-672,-1013,-1181,-928,-425,-149,-292,-545,-559,-368,-210,-140,-67,-27,-146,-378,-520,-494,-421,-404,-432,-517,-742,-1067,-1266,-1182,-937,-776,-758,-738,-600,-399,-270,-276,-373,-459,-461,-386,-305,-273,-280,-296,-314,-331,-307,-211,-77,20,50,36,-6,-91,-206,-291,-306,-281,-266,-263,-232,-160,-77,-26,-15,-35,-85,-163,-237,-260,-215,-151,-128,-145,-145,-97,-47,-60,-124,-160,-125,-71,-81,-161,-226,-202,-111,-33,-2,19,63,102,81,12,-44,-48,-20,4,17,25,21,15,25,44,27,-43,-114,-129,-101,-83,-89,-85,-54,-18,13,51,84,69,4,-58,-76,-70,-69,-64,-25,36,85,115,141,157,135,76,14,-25,-42,-39,-9,44,101,141,154,136,94,55,43,53,66,80,105,129,130,109,93,93,92,89,101,124,117,61}
},
{ // H60e090a.wav
{0,-3,0,2,-3,-2,8,10,-3,-5,11,13,-14,-24,9,28,-10,-39,7,56,8,-58,-1,93,18,-111,142,877,1584,1849,1950,2126,1530,-1039,-4993,-7476,-5987,-1229,3493,5660,5551,4851,4323,3584,2491,1656,1542,1862,2127,2249,2270,1962,1180,343,46,251,328,-41,-451,-447,-213,-250,-594,-781,-563,-254,-237,-442,-547,-485,-460,-553,-600,-497,-365,-317,-263,-109,14,-90,-360,-529,-491,-413,-447,-512,-461,-343,-342,-516,-717,-766,-620,-378,-188,-152,-245,-323,-270,-150,-142,-315,-532,-617,-548,-434,-361,-324,-294,-281,-310,-388,-496,-595,-634,-584,-479,-390,-365,-392,-427,-434,-405,-354,-312,-317,-382,-478,-553,-566,-514,-439,-397,-411,-439,-411,-307,-182,-116,-142,-234,-337,-408,-431,-423,-416,-429,-463,-508,-563,-632,-705,-766,-804,-813,-775,-678,-545,-434,-390,-416,-479,-545,-594,-610,-584,-523,-448,-384,-346,-334,-335,-327,-297,-256,-228,-229,-250,-272,-287,-297,-306,-309,-305,-295,-281,-259,-229,-201,-187,-189,-200,-212,-221,-221,-207,-179,-146,-120,-108,-113,-129,-145,-152,-147,-135,-120,-102,-82,-62,-40,-16,6,21,27,28,26,19,7,-5,-11,-12,-14,-14,-1,25,50,59,52,38,20,-2,-23,-33,-25,-7,11,26,39,47,46,37,26,21,22,22,17,11,13,25,42,56,61,55,38,16},
{-330,101,429,-50,-565,583,3517,6216,7213,7164,6155,1453,-8508,-18271,-18068,-5010,11332,18195,13311,5793,3890,6249,6792,4058,1852,2584,4328,4687,3941,3005,1083,-2421,-5453,-5395,-2951,-1516,-2614,-4170,-3966,-2743,-2491,-3159,-3016,-1653,-615,-900,-1552,-1408,-857,-861,-1209,-990,-262,43,-291,-483,-206,-159,-754,-1252,-933,-328,-403,-995,-1071,-362,267,181,-191,-220,-30,-83,-346,-491,-599,-1015,-1595,-1713,-1110,-304,58,-70,-250,-209,-89,-128,-342,-550,-620,-577,-509,-425,-284,-113,-30,-103,-289,-536,-825,-1051,-1010,-659,-304,-296,-575,-723,-512,-159,12,-32,-120,-185,-286,-421,-501,-492,-447,-409,-415,-542,-829,-1136,-1242,-1092,-867,-743,-701,-617,-451,-282,-209,-259,-386,-488,-483,-383,-283,-245,-246,-254,-283,-338,-353,-263,-100,28,69,51,-1,-99,-227,-315,-319,-273,-235,-214,-178,-120,-70,-47,-40,-46,-88,-168,-238,-243,-190,-144,-147,-169,-151,-95,-60,-82,-123,-121,-77,-56,-102,-181,-217,-178,-104,-51,-21,16,66,93,67,9,-36,-49,-41,-22,0,15,15,17,37,51,17,-54,-99,-91,-72,-82,-97,-75,-29,-2,10,42,82,77,15,-50,-73,-71,-75,-70,-31,29,79,113,142,153,124,62,5,-26,-35,-27,1,44,88,118,126,109,80,63,70,83,86,89,110,134,132,106,85,80,76,73,87,113,109,58}
},
{ // H60e100a.wav
{-1,-4,0,1,-4,-1,10,8,-6,-7,11,13,-13,-22,8,23,-15,-40,7,53,5,-55,5,91,8,-115,145,876,1589,1895,2034,2163,1423,-1268,-5181,-7466,-5777,-952,3700,5740,5499,4679,4082,3379,2421,1734,1696,2010,2246,2363,2394,2069,1229,325,6,246,364,-41,-564,-641,-349,-224,-471,-741,-692,-426,-251,-270,-381,-518,-666,-726,-594,-368,-276,-366,-428,-307,-122,-80,-190,-320,-426,-542,-599,-471,-245,-231,-567,-958,-985,-609,-211,-121,-275,-380,-295,-137,-79,-161,-293,-382,-404,-393,-393,-409,-414,-399,-401,-468,-583,-659,-616,-477,-355,-348,-436,-511,-504,-446,-404,-383,-334,-252,-204,-250,-368,-483,-554,-589,-603,-593,-564,-523,-459,-346,-199,-88,-72,-143,-246,-335,-393,-413,-391,-349,-335,-381,-471,-567,-654,-740,-826,-889,-897,-829,-694,-529,-393,-339,-379,-477,-573,-621,-609,-548,-459,-375,-327,-323,-335,-325,-287,-245,-224,-225,-240,-263,-290,-311,-320,-325,-335,-343,-337,-311,-275,-241,-214,-192,-181,-188,-205,-213,-203,-182,-160,-139,-121,-114,-122,-135,-142,-140,-140,-146,-148,-134,-104,-74,-52,-34,-13,4,9,11,17,24,18,-1,-21,-28,-19,0,24,50,70,76,63,38,12,-9,-21,-24,-16,0,18,32,41,44,42,35,25,19,19,21,21,19,21,32,44,48,41,28,16,6},
{-270,11,342,63,-459,222,2701,5581,7176,7354,6203,1945,-6780,-16046,-17543,-7322,7884,16476,14142,7355,4307,5684,6509,4373,2008,2238,4057,4923,4313,3125,1279,-1721,-4604,-5115,-3201,-1504,-1952,-3428,-3817,-3066,-2706,-3121,-3076,-1954,-843,-808,-1359,-1458,-1141,-1096,-1249,-937,-256,-57,-511,-760,-347,-8,-457,-1158,-1151,-552,-292,-606,-771,-364,96,86,-122,-51,138,-14,-461,-769,-870,-1093,-1453,-1480,-926,-226,25,-195,-408,-303,-59,-20,-259,-559,-690,-631,-510,-424,-365,-294,-232,-231,-321,-503,-743,-907,-828,-536,-327,-455,-767,-851,-535,-92,127,68,-98,-255,-394,-483,-479,-418,-381,-381,-406,-523,-792,-1096,-1207,-1067,-858,-750,-705,-591,-403,-252,-214,-259,-331,-396,-423,-394,-329,-270,-234,-223,-252,-321,-372,-328,-186,-28,61,64,6,-90,-197,-275,-295,-270,-231,-196,-161,-126,-94,-67,-48,-48,-84,-151,-213,-232,-209,-179,-169,-171,-155,-115,-83,-87,-112,-112,-74,-42,-71,-152,-213,-198,-126,-59,-28,-2,40,74,63,12,-36,-57,-56,-42,-16,10,15,10,21,43,35,-18,-69,-78,-65,-73,-91,-75,-26,12,25,41,70,75,31,-32,-69,-76,-75,-67,-37,12,63,108,143,151,120,63,10,-20,-29,-19,8,42,72,94,107,104,88,80,91,104,102,97,110,134,137,113,85,69,59,56,73,102,102,55}
},
{ // H60e110a.wav
{-7,-4,1,-3,-7,2,10,1,-12,-2,14,2,-23,-11,22,10,-37,-31,34,44,-30,-46,51,78,-63,-66,431,1248,1839,2071,2231,2023,317,-3262,-6799,-7260,-3647,1677,5311,6022,5129,4232,3600,2819,2001,1675,1915,2275,2455,2500,2362,1799,887,187,92,282,162,-322,-686,-652,-508,-601,-810,-782,-499,-293,-352,-499,-524,-480,-525,-632,-639,-514,-382,-319,-269,-195,-162,-220,-313,-370,-387,-381,-353,-359,-515,-799,-956,-760,-357,-151,-305,-529,-474,-181,6,-96,-313,-393,-306,-209,-220,-312,-400,-432,-422,-431,-517,-663,-755,-689,-492,-318,-292,-394,-510,-559,-535,-464,-362,-251,-179,-190,-273,-366,-420,-447,-494,-579,-664,-691,-633,-503,-345,-221,-169,-180,-205,-208,-208,-245,-320,-380,-379,-336,-311,-345,-438,-573,-726,-858,-924,-904,-820,-708,-591,-484,-417,-414,-467,-534,-574,-569,-523,-449,-374,-329,-321,-320,-295,-249,-215,-213,-228,-241,-255,-279,-308,-331,-346,-360,-372,-367,-334,-285,-242,-216,-201,-192,-191,-200,-210,-205,-180,-149,-128,-121,-119,-118,-122,-133,-143,-145,-142,-142,-140,-124,-96,-69,-53,-41,-25,-7,4,5,-1,-10,-20,-25,-20,-2,25,56,82,93,87,68,44,21,0,-13,-12,1,18,30,37,43,47,44,35,26,23,24,24,26,35,45,46,35,26,27,32,29,16,4},
{-146,-130,157,221,-205,-247,1260,4039,6465,7416,6774,3802,-2862,-11782,-16842,-12096,803,12560,15364,10573,5634,4838,5848,5006,2712,1898,3319,4875,4883,3701,2011,-384,-3207,-4775,-3903,-1893,-1173,-2260,-3441,-3423,-2873,-2856,-3051,-2513,-1414,-831,-1086,-1429,-1352,-1208,-1272,-1138,-545,-60,-256,-737,-736,-332,-282,-762,-1110,-909,-567,-532,-577,-313,84,177,-3,-70,31,-16,-327,-655,-869,-1119,-1403,-1370,-837,-198,-12,-301,-570,-458,-124,40,-126,-451,-684,-714,-604,-485,-437,-447,-449,-408,-363,-400,-549,-700,-679,-476,-335,-498,-855,-1003,-708,-186,157,161,-31,-242,-411,-515,-508,-404,-305,-282,-330,-452,-683,-970,-1142,-1090,-906,-767,-715,-647,-502,-341,-252,-241,-264,-297,-335,-366,-367,-333,-277,-227,-221,-280,-363,-385,-295,-131,9,58,20,-60,-143,-209,-251,-260,-236,-194,-161,-151,-143,-112,-64,-38,-68,-139,-204,-228,-218,-201,-194,-193,-177,-142,-102,-83,-95,-115,-103,-60,-37,-84,-176,-225,-180,-88,-29,-18,-4,36,60,28,-38,-82,-84,-62,-33,-3,17,17,14,24,34,17,-25,-59,-66,-66,-73,-71,-42,-1,30,50,66,65,33,-18,-58,-76,-78,-68,-43,-4,39,81,117,136,124,84,35,-3,-24,-26,-11,16,48,79,100,104,94,90,101,113,109,98,104,122,125,106,83,69,56,46,58,88,94,54}
},
{ // H60e120a.wav
{-2,4,1,-4,3,13,6,-9,-2,16,7,-19,-12,23,21,-27,-34,25,48,-18,-48,39,88,-37,-85,340,1168,1882,2233,2407,2171,500,-3056,-6768,-7583,-4180,1350,5456,6472,5491,4313,3527,2783,2030,1684,1881,2266,2530,2654,2552,1969,970,157,31,320,315,-204,-752,-872,-721,-727,-938,-1021,-805,-505,-380,-429,-514,-592,-665,-652,-495,-326,-328,-451,-445,-225,-20,-73,-321,-499,-462,-308,-232,-356,-650,-916,-901,-561,-196,-156,-411,-570,-393,-106,-69,-287,-438,-340,-159,-133,-263,-376,-388,-365,-388,-463,-557,-632,-636,-541,-407,-352,-421,-534,-582,-545,-477,-411,-326,-219,-152,-195,-324,-437,-462,-427,-421,-489,-594,-656,-625,-503,-342,-221,-199,-260,-323,-321,-266,-220,-218,-241,-264,-290,-328,-378,-445,-552,-698,-829,-878,-830,-734,-642,-566,-508,-489,-518,-565,-581,-548,-490,-437,-396,-363,-335,-312,-286,-252,-219,-202,-206,-222,-240,-259,-282,-309,-339,-369,-391,-390,-357,-305,-256,-225,-210,-206,-210,-218,-220,-206,-182,-160,-149,-143,-135,-120,-110,-115,-130,-142,-146,-144,-138,-125,-107,-90,-78,-67,-52,-34,-22,-18,-21,-31,-46,-57,-50,-20,20,56,81,97,102,91,67,41,21,9,6,12,24,34,39,41,44,46,45,40,30,20,16,24,39,46,41,33,33,41,45,39,25,12,4,1},
{51,-159,-104,183,146,-261,-24,1762,4510,6656,7232,5904,1862,-5361,-13074,-15392,-8550,3867,13207,14137,9395,5391,4751,5056,3868,2207,2292,3981,5165,4692,3178,1264,-1132,-3518,-4398,-3133,-1274,-913,-2151,-3294,-3300,-2826,-2729,-2722,-2156,-1295,-940,-1194,-1452,-1410,-1314,-1245,-918,-365,-121,-418,-748,-632,-371,-517,-967,-1135,-867,-584,-535,-468,-164,165,246,144,42,-97,-365,-639,-768,-850,-1034,-1160,-939,-455,-157,-279,-543,-561,-318,-102,-106,-285,-498,-648,-691,-642,-585,-590,-625,-594,-476,-361,-346,-421,-482,-454,-403,-483,-738,-976,-919,-517,-40,190,106,-132,-356,-504,-549,-467,-305,-186,-196,-318,-509,-743,-966,-1073,-1007,-851,-737,-690,-633,-519,-390,-307,-269,-248,-248,-286,-342,-368,-336,-276,-238,-254,-315,-370,-361,-268,-133,-22,23,3,-57,-136,-210,-252,-247,-211,-176,-164,-165,-154,-122,-87,-79,-110,-168,-216,-231,-221,-209,-211,-215,-198,-151,-92,-58,-67,-97,-107,-86,-73,-114,-188,-219,-164,-69,-13,-11,-15,4,17,-13,-70,-107,-103,-70,-29,7,28,29,21,20,21,5,-27,-53,-59,-56,-57,-52,-25,14,43,50,44,30,9,-22,-54,-73,-71,-53,-26,4,39,76,108,121,109,77,37,0,-26,-34,-18,18,59,90,102,100,96,102,110,111,107,103,103,102,98,89,75,57,49,61,81,79,43}
},
{ // H60e130a.wav
{3,-2,-5,6,14,2,-11,1,16,0,-24,-7,27,11,-35,-23,38,34,-43,-45,63,81,-69,-54,492,1396,2135,2524,2648,2034,-320,-4327,-7662,-7360,-2915,2844,6419,6766,5422,4146,3323,2572,1905,1692,1962,2356,2635,2764,2569,1807,696,-62,-57,288,248,-293,-806,-920,-862,-978,-1179,-1132,-821,-581,-608,-734,-744,-669,-638,-620,-512,-362,-302,-307,-235,-91,-70,-264,-493,-518,-342,-197,-283,-589,-906,-967,-659,-201,-3,-232,-578,-604,-292,-44,-143,-407,-486,-323,-161,-187,-338,-453,-468,-424,-391,-429,-541,-625,-557,-359,-219,-287,-498,-661,-675,-584,-463,-333,-209,-148,-195,-317,-426,-470,-466,-464,-488,-524,-537,-504,-434,-368,-341,-349,-349,-313,-265,-259,-312,-367,-354,-268,-184,-177,-255,-382,-528,-677,-794,-827,-767,-661,-570,-519,-508,-537,-597,-646,-638,-570,-491,-440,-414,-385,-348,-318,-294,-261,-219,-191,-191,-211,-236,-260,-289,-322,-353,-378,-388,-373,-331,-282,-250,-243,-246,-244,-235,-225,-214,-202,-192,-188,-184,-174,-158,-143,-132,-126,-126,-131,-138,-141,-140,-136,-127,-109,-85,-66,-56,-49,-40,-35,-39,-52,-66,-73,-68,-48,-19,12,41,66,84,89,79,59,39,27,28,39,50,52,44,33,29,34,41,44,40,34,30,29,29,27,24,22,26,37,50,57,52,37,20,8,3,1},
{111,26,-136,-83,156,131,-216,-30,1559,4154,6329,6972,5605,1617,-5164,-12266,-14495,-8383,3125,12300,13889,9766,5615,4329,4296,3392,2205,2470,4064,5162,4702,3193,1280,-1012,-3230,-4059,-2882,-1063,-597,-1757,-3017,-3215,-2773,-2552,-2483,-2014,-1279,-957,-1212,-1518,-1514,-1363,-1194,-839,-340,-148,-452,-764,-617,-317,-483,-1052,-1337,-1023,-545,-368,-378,-232,71,268,246,78,-196,-552,-841,-899,-779,-667,-615,-543,-453,-451,-533,-557,-452,-313,-239,-229,-272,-400,-589,-730,-766,-762,-772,-741,-618,-465,-362,-294,-216,-187,-299,-522,-732,-848,-850,-710,-413,-77,96,19,-201,-402,-509,-506,-395,-223,-112,-153,-313,-499,-669,-828,-946,-965,-885,-773,-687,-630,-576,-512,-428,-325,-237,-214,-262,-326,-346,-323,-292,-276,-276,-295,-328,-340,-292,-187,-76,-5,11,-24,-103,-199,-261,-258,-212,-172,-166,-177,-177,-159,-136,-122,-129,-161,-205,-237,-244,-237,-231,-227,-206,-156,-88,-35,-28,-69,-122,-142,-131,-134,-176,-212,-179,-86,-12,-7,-38,-47,-30,-30,-65,-101,-104,-73,-32,4,24,26,20,19,20,10,-15,-39,-47,-46,-46,-42,-24,3,23,32,36,32,13,-16,-43,-59,-66,-60,-35,4,44,71,86,96,95,78,47,15,-10,-19,-8,21,53,76,89,98,103,104,103,105,105,96,86,86,94,91,70,52,58,75,72,39}
},
{ // H60e140a.wav
{-6,-3,9,8,-9,-11,10,13,-15,-24,9,26,-15,-43,4,51,0,-67,-7,92,20,-116,128,937,1921,2621,2953,2722,1084,-2530,-6752,-8479,-5660,288,5572,7528,6585,4849,3647,2901,2249,1810,1816,2157,2563,2867,2865,2259,1090,9,-293,86,351,-15,-688,-1050,-1016,-988,-1162,-1279,-1096,-782,-659,-764,-891,-924,-911,-853,-672,-415,-271,-296,-301,-138,45,-12,-307,-567,-574,-391,-259,-372,-711,-1013,-946,-471,14,54,-308,-570,-419,-124,-117,-382,-527,-368,-160,-193,-410,-559,-543,-469,-436,-451,-501,-567,-571,-437,-231,-144,-277,-514,-660,-637,-511,-369,-248,-167,-165,-261,-410,-525,-553,-521,-501,-517,-525,-468,-361,-284,-291,-351,-387,-367,-322,-299,-311,-338,-351,-334,-298,-271,-282,-348,-465,-611,-738,-786,-731,-610,-497,-443,-457,-513,-581,-631,-636,-592,-527,-467,-417,-375,-350,-344,-332,-285,-215,-169,-176,-210,-234,-248,-282,-344,-399,-410,-376,-323,-273,-239,-229,-241,-261,-267,-253,-229,-208,-199,-200,-207,-212,-209,-197,-177,-148,-119,-109,-125,-150,-158,-146,-132,-130,-130,-115,-86,-58,-38,-27,-24,-33,-50,-67,-75,-74,-66,-52,-32,-7,18,40,54,58,53,47,45,47,50,53,54,53,49,44,41,37,31,25,26,34,41,40,28,14,6,11,25,40,48,49,46,42,38,34,30,22,10},
{-58,81,84,-90,-132,89,179,-121,-176,983,3320,5602,6597,5727,2474,-3502,-10485,-13947,-9880,417,10299,13742,10810,6349,4109,3705,3153,2274,2380,3713,4898,4795,3590,1842,-349,-2610,-3727,-2882,-1080,-307,-1227,-2579,-3016,-2665,-2398,-2349,-1988,-1290,-907,-1150,-1545,-1602,-1414,-1212,-895,-408,-135,-380,-755,-672,-288,-332,-971,-1481,-1252,-605,-243,-285,-300,-62,190,207,24,-250,-596,-920,-978,-669,-249,-94,-293,-594,-718,-629,-494,-454,-462,-377,-197,-117,-291,-616,-849,-900,-878,-850,-765,-614,-501,-445,-306,-44,101,-118,-584,-918,-921,-723,-509,-312,-131,-50,-131,-286,-389,-419,-409,-340,-204,-97,-142,-310,-459,-529,-603,-745,-891,-936,-864,-754,-676,-641,-612,-540,-417,-295,-242,-264,-300,-303,-291,-294,-299,-286,-274,-290,-315,-298,-225,-132,-56,-12,-14,-76,-173,-243,-248,-222,-211,-218,-214,-191,-171,-163,-156,-147,-155,-188,-227,-245,-241,-232,-226,-212,-178,-120,-54,-11,-25,-90,-157,-182,-175,-178,-201,-201,-148,-69,-19,-18,-39,-51,-52,-54,-66,-81,-85,-62,-18,19,24,11,12,27,30,7,-21,-35,-39,-44,-44,-28,-4,13,23,33,38,25,-3,-30,-46,-53,-51,-32,0,28,44,56,71,82,82,72,53,26,4,3,23,46,61,74,90,99,98,95,99,101,90,77,80,93,92,76,68,74,68,36}
},
{ // H60e150a.wav
{5,11,-2,-13,2,15,-6,-27,-4,27,2,-42,-18,45,25,-60,-45,74,72,-94,-30,644,1737,2705,3253,3202,1863,-1511,-6086,-8915,-7229,-1440,4812,7969,7524,5536,3943,3078,2457,1964,1850,2144,2590,2964,3059,2549,1329,-27,-628,-260,295,184,-533,-1120,-1202,-1123,-1258,-1433,-1274,-858,-622,-753,-998,-1088,-1041,-968,-839,-619,-435,-395,-374,-193,44,46,-249,-545,-560,-345,-179,-271,-620,-1018,-1137,-780,-163,189,3,-409,-533,-297,-89,-178,-384,-417,-301,-278,-418,-556,-566,-510,-498,-541,-588,-616,-602,-505,-327,-172,-168,-324,-509,-581,-504,-350,-213,-141,-139,-205,-334,-493,-621,-672,-649,-572,-457,-330,-252,-273,-356,-401,-358,-285,-268,-314,-365,-383,-374,-350,-314,-290,-320,-425,-574,-710,-784,-759,-635,-471,-366,-374,-454,-523,-546,-545,-544,-533,-498,-453,-422,-406,-387,-355,-311,-263,-217,-188,-190,-213,-244,-278,-319,-358,-372,-350,-309,-277,-263,-258,-252,-244,-234,-217,-199,-194,-207,-228,-240,-241,-237,-228,-208,-175,-142,-123,-121,-128,-135,-142,-151,-161,-162,-147,-118,-83,-52,-29,-18,-19,-27,-31,-30,-37,-59,-82,-85,-63,-32,-5,17,35,42,36,31,37,46,48,45,48,55,57,53,51,51,45,34,30,36,39,31,19,15,25,39,45,41,34,31,37,49,56,55,55,64,71,58,27},
{-32,-69,20,95,-10,-132,-14,172,27,-235,298,2096,4401,5942,5938,3896,-765,-7432,-12694,-11949,-4037,6397,12642,12108,7919,4568,3420,3035,2411,2213,3075,4292,4730,4116,2767,796,-1549,-3200,-3029,-1418,-193,-589,-1914,-2691,-2549,-2250,-2229,-2058,-1445,-894,-960,-1410,-1643,-1526,-1310,-1023,-549,-152,-253,-673,-744,-339,-171,-728,-1446,-1451,-776,-225,-210,-339,-194,72,114,-80,-327,-599,-882,-925,-520,51,213,-203,-728,-847,-595,-403,-489,-619,-491,-167,-6,-215,-619,-900,-957,-914,-870,-799,-689,-598,-508,-295,35,215,1,-478,-834,-858,-678,-484,-312,-161,-115,-222,-366,-409,-360,-313,-275,-198,-131,-176,-314,-407,-402,-407,-525,-710,-851,-904,-896,-842,-748,-649,-576,-511,-427,-344,-304,-298,-285,-259,-255,-284,-307,-297,-272,-259,-252,-230,-190,-143,-99,-69,-74,-123,-188,-234,-255,-267,-275,-268,-240,-204,-174,-155,-146,-152,-173,-196,-215,-232,-244,-241,-219,-189,-161,-124,-71,-28,-36,-100,-175,-216,-222,-219,-214,-191,-140,-79,-31,-12,-19,-40,-55,-59,-63,-73,-74,-50,-13,8,5,1,13,26,22,6,-8,-18,-30,-39,-32,-15,-2,6,23,46,51,26,-13,-39,-46,-40,-28,-16,-3,12,35,62,84,90,81,65,49,37,33,36,43,53,66,80,87,87,88,92,91,83,78,80,84,87,90,91,75,38}
},
{ // H60e160a.wav
{0,-18,-9,11,-2,-32,-18,23,12,-43,-39,33,40,-51,-77,43,98,-60,-106,458,1616,2818,3591,3663,2408,-956,-5823,-9334,-8306,-2538,4438,8465,8360,6118,4152,3162,2592,2095,1903,2178,2698,3145,3259,2733,1437,-119,-965,-667,89,242,-426,-1187,-1419,-1309,-1344,-1517,-1440,-1043,-723,-766,-1000,-1130,-1124,-1077,-950,-695,-472,-463,-543,-422,-121,3,-236,-580,-663,-448,-182,-91,-266,-674,-1095,-1155,-694,-53,218,-20,-371,-448,-298,-204,-256,-314,-302,-315,-424,-551,-589,-548,-517,-545,-622,-710,-761,-712,-533,-295,-142,-176,-351,-505,-505,-361,-195,-103,-86,-117,-209,-386,-605,-769,-801,-688,-475,-256,-154,-223,-368,-428,-360,-275,-283,-353,-380,-342,-310,-330,-371,-401,-446,-543,-673,-777,-807,-749,-622,-474,-369,-345,-380,-427,-460,-482,-492,-480,-447,-411,-386,-374,-372,-373,-356,-303,-227,-171,-172,-227,-299,-354,-373,-357,-317,-277,-256,-257,-266,-270,-263,-243,-215,-191,-184,-195,-213,-232,-255,-278,-282,-254,-206,-164,-143,-135,-131,-135,-151,-170,-181,-185,-184,-168,-127,-74,-37,-26,-28,-27,-22,-23,-34,-50,-65,-75,-78,-69,-48,-23,0,17,26,28,25,18,9,2,4,18,37,50,53,47,37,27,23,28,32,29,16,5,9,27,43,45,38,35,38,40,36,36,47,63,70,67,65,64,54,28},
{51,10,-66,-38,72,65,-80,-104,83,145,-113,-142,847,2798,4725,5657,5031,2195,-3225,-9548,-12601,-8894,281,9099,12386,10087,6136,3754,3015,2595,2191,2436,3385,4238,4349,3662,2208,42,-2105,-2939,-1991,-472,-58,-1011,-2109,-2381,-2132,-2054,-2085,-1729,-1083,-795,-1094,-1510,-1602,-1436,-1179,-781,-319,-177,-486,-748,-518,-168,-395,-1111,-1462,-1030,-376,-174,-317,-296,-57,30,-178,-452,-637,-768,-752,-393,144,304,-157,-751,-851,-496,-270,-470,-740,-636,-230,19,-144,-535,-831,-927,-927,-920,-886,-788,-644,-473,-254,-19,89,-41,-318,-521,-559,-528,-516,-468,-332,-210,-237,-362,-410,-328,-235,-223,-244,-239,-242,-294,-344,-335,-315,-369,-498,-636,-763,-894,-983,-944,-783,-617,-536,-507,-459,-389,-341,-321,-295,-259,-244,-258,-271,-267,-260,-259,-247,-210,-169,-152,-158,-160,-156,-170,-212,-259,-286,-297,-306,-305,-271,-204,-145,-128,-148,-170,-172,-170,-188,-225,-253,-253,-232,-209,-190,-161,-115,-68,-49,-77,-141,-213,-261,-268,-236,-183,-132,-90,-48,-12,0,-18,-48,-66,-67,-63,-57,-43,-25,-16,-17,-14,1,18,26,25,18,1,-20,-34,-31,-17,-4,9,30,50,48,21,-13,-36,-42,-35,-19,-4,4,11,32,65,87,82,63,53,56,60,58,56,59,66,72,77,80,79,77,77,77,71,63,68,88,101,83,40}
},
{ // H60e170a.wav
{-7,19,11,-27,-24,24,28,-31,-45,30,62,-29,-87,23,120,-20,-144,330,1546,2968,3967,4155,2930,-503,-5695,-9819,-9323,-3483,4234,9100,9292,6749,4350,3187,2668,2222,2014,2303,2899,3402,3496,2896,1475,-285,-1350,-1110,-169,246,-337,-1233,-1628,-1546,-1515,-1646,-1555,-1110,-732,-798,-1127,-1298,-1207,-1040,-885,-688,-510,-488,-555,-486,-274,-197,-402,-663,-696,-508,-293,-147,-102,-269,-679,-1048,-992,-507,-15,117,-64,-284,-387,-382,-313,-231,-232,-357,-505,-536,-456,-398,-439,-546,-660,-762,-834,-835,-743,-576,-375,-206,-155,-243,-372,-398,-291,-150,-66,-48,-99,-259,-520,-754,-812,-668,-433,-246,-182,-236,-333,-377,-338,-283,-290,-343,-367,-332,-290,-294,-345,-430,-554,-702,-818,-855,-813,-719,-590,-455,-365,-350,-381,-399,-385,-366,-364,-364,-354,-345,-347,-354,-354,-342,-311,-255,-197,-180,-225,-300,-349,-347,-313,-278,-256,-247,-250,-259,-260,-243,-212,-183,-168,-168,-182,-205,-230,-254,-273,-280,-263,-219,-167,-133,-124,-127,-128,-136,-160,-193,-217,-218,-192,-144,-87,-43,-24,-20,-13,-3,-4,-22,-45,-61,-68,-69,-62,-44,-20,3,23,36,34,20,8,8,11,4,-6,-1,20,39,46,47,44,38,27,18,16,16,15,20,35,50,55,53,56,62,64,60,56,57,61,68,77,81,75,65,63,64,52,25},
{-41,10,46,-9,-67,-8,81,25,-102,-53,125,83,-170,21,1209,3048,4611,5187,4232,978,-4628,-10230,-11626,-6490,2567,9777,11409,8632,5203,3384,2796,2402,2157,2506,3319,3974,4047,3376,1831,-342,-2110,-2346,-1166,-27,-145,-1200,-1997,-2044,-1874,-1937,-1932,-1484,-900,-770,-1132,-1492,-1531,-1331,-1009,-597,-290,-350,-641,-673,-343,-183,-589,-1150,-1182,-689,-278,-251,-302,-169,-61,-240,-567,-746,-721,-576,-287,95,237,-109,-639,-779,-452,-186,-363,-706,-722,-378,-85,-133,-422,-704,-869,-940,-949,-911,-831,-686,-458,-210,-66,-89,-203,-274,-252,-212,-253,-386,-517,-547,-478,-394,-347,-314,-262,-222,-242,-301,-335,-326,-311,-307,-292,-270,-285,-358,-460,-571,-712,-872,-970,-936,-801,-665,-571,-496,-428,-392,-385,-362,-304,-253,-249,-268,-266,-248,-248,-265,-264,-235,-210,-211,-221,-217,-210,-222,-253,-281,-296,-309,-317,-305,-266,-216,-170,-136,-120,-128,-154,-181,-203,-233,-271,-292,-274,-230,-192,-168,-140,-102,-76,-84,-125,-185,-243,-275,-258,-198,-130,-85,-64,-47,-28,-15,-18,-32,-46,-51,-44,-37,-43,-58,-58,-30,5,22,26,36,45,30,-7,-34,-31,-16,-7,2,23,46,48,27,0,-20,-29,-25,-10,6,15,21,32,49,62,67,68,69,69,68,68,69,67,68,77,85,80,67,61,60,55,51,64,87,85,45}
},
{ // H60e180a.wav
{18,-27,-36,17,39,-23,-60,11,71,-9,-101,-11,128,22,-172,187,1425,3060,4313,4662,3524,96,-5372,-10176,-10412,-4705,3715,9579,10280,7536,4665,3239,2715,2309,2101,2428,3121,3690,3769,3108,1573,-417,-1777,-1675,-570,164,-252,-1242,-1808,-1780,-1706,-1822,-1751,-1265,-772,-767,-1153,-1443,-1400,-1163,-878,-593,-426,-491,-625,-538,-284,-261,-611,-943,-867,-521,-294,-254,-198,-124,-266,-643,-917,-822,-463,-112,78,59,-182,-499,-600,-393,-168,-251,-550,-685,-509,-267,-231,-395,-599,-757,-873,-933,-910,-809,-644,-425,-216,-127,-190,-292,-298,-210,-125,-107,-159,-282,-465,-634,-679,-572,-393,-246,-187,-222,-314,-386,-379,-317,-275,-288,-315,-312,-296,-314,-389,-514,-666,-800,-869,-870,-831,-760,-634,-471,-351,-332,-373,-387,-361,-337,-322,-282,-226,-217,-280,-350,-361,-320,-272,-230,-188,-172,-217,-301,-352,-340,-305,-288,-281,-260,-233,-219,-209,-184,-153,-148,-177,-205,-211,-212,-232,-263,-280,-268,-234,-193,-157,-130,-112,-100,-103,-135,-195,-250,-263,-226,-165,-112,-78,-55,-34,-14,3,7,-9,-36,-58,-67,-69,-68,-59,-35,-3,24,39,45,39,21,-1,-14,-14,-10,-6,4,22,37,38,29,17,8,2,2,6,13,16,18,26,42,59,68,71,71,70,67,65,68,73,75,74,75,77,72,60,53,57,63,54,27},
{18,-27,-36,17,39,-23,-60,11,71,-9,-101,-11,128,22,-172,187,1425,3060,4313,4662,3524,96,-5372,-10176,-10412,-4705,3715,9579,10280,7536,4665,3239,2715,2309,2101,2428,3121,3690,3769,3108,1573,-417,-1777,-1675,-570,164,-252,-1242,-1808,-1780,-1706,-1822,-1751,-1265,-772,-767,-1153,-1443,-1400,-1163,-878,-593,-426,-491,-625,-538,-284,-261,-611,-943,-867,-521,-294,-254,-198,-124,-266,-643,-917,-822,-463,-112,78,59,-182,-499,-600,-393,-168,-251,-550,-685,-509,-267,-231,-395,-599,-757,-873,-933,-910,-809,-644,-425,-216,-127,-190,-292,-298,-210,-125,-107,-159,-282,-465,-634,-679,-572,-393,-246,-187,-222,-314,-386,-379,-317,-275,-288,-315,-312,-296,-314,-389,-514,-666,-800,-869,-870,-831,-760,-634,-471,-351,-332,-373,-387,-361,-337,-322,-282,-226,-217,-280,-350,-361,-320,-272,-230,-188,-172,-217,-301,-352,-340,-305,-288,-281,-260,-233,-219,-209,-184,-153,-148,-177,-205,-211,-212,-232,-263,-280,-268,-234,-193,-157,-130,-112,-100,-103,-135,-195,-250,-263,-226,-165,-112,-78,-55,-34,-14,3,7,-9,-36,-58,-67,-69,-68,-59,-35,-3,24,39,45,39,21,-1,-14,-14,-10,-6,4,22,37,38,29,17,8,2,2,6,13,16,18,26,42,59,68,71,71,70,67,65,68,73,75,74,75,77,72,60,53,57,63,54,27}
}
},
{ // elev70
{ // H70e000a.wav
{-5,12,1,-19,-10,8,-1,-10,13,24,-14,-33,17,44,-27,-75,18,98,-11,-136,-11,174,41,-227,-96,275,146,-311,216,2103,3683,3605,3148,3912,3848,-1023,-9756,-14657,-9405,2566,11276,11460,7253,5091,5693,5482,3230,1508,2131,3592,3821,2940,1959,656,-1467,-3322,-3328,-1989,-1515,-2678,-3661,-2748,-856,-230,-1326,-2350,-1825,-399,355,33,-500,-593,-490,-535,-544,-301,-74,-158,-319,-220,-119,-512,-1168,-1266,-612,-56,-321,-962,-1050,-481,9,-27,-265,-293,-169,-115,-116,-130,-310,-720,-1060,-1022,-751,-626,-696,-656,-355,-11,120,54,-44,-98,-137,-184,-229,-258,-240,-161,-88,-122,-262,-399,-465,-497,-529,-524,-466,-420,-428,-431,-387,-358,-404,-445,-366,-208,-132,-178,-208,-121,-11,-36,-205,-387,-484,-513,-539,-590,-670,-796,-970,-1144,-1227,-1152,-932,-648,-406,-280,-283,-372,-475,-529,-504,-415,-305,-219,-191,-228,-301,-370,-399,-380,-332,-289,-278,-303,-341,-366,-368,-358,-341,-305,-247,-180,-124,-89,-82,-113,-172,-225,-248,-250,-254,-254,-236,-209,-191,-178,-152,-120,-113,-144,-189,-221,-236,-229,-187,-115,-45,1,35,67,79,53,12,-8,-5,-4,-13,-10,16,51,75,81,71,47,16,-8,-22,-34,-44,-41,-21,9,40,64,67,45,13,-9,-18,-33,-53,-51,-11,46,86,102,103,93,76,70,84,95,78,34},
{-5,12,1,-19,-10,8,-1,-10,13,24,-14,-33,17,44,-27,-75,18,98,-11,-136,-11,174,41,-227,-96,275,146,-311,216,2103,3683,3605,3148,3912,3848,-1023,-9756,-14657,-9405,2566,11276,11460,7253,5091,5693,5482,3230,1508,2131,3592,3821,2940,1959,656,-1467,-3322,-3328,-1989,-1515,-2678,-3661,-2748,-856,-230,-1326,-2350,-1825,-399,355,33,-500,-593,-490,-535,-544,-301,-74,-158,-319,-220,-119,-512,-1168,-1266,-612,-56,-321,-962,-1050,-481,9,-27,-265,-293,-169,-115,-116,-130,-310,-720,-1060,-1022,-751,-626,-696,-656,-355,-11,120,54,-44,-98,-137,-184,-229,-258,-240,-161,-88,-122,-262,-399,-465,-497,-529,-524,-466,-420,-428,-431,-387,-358,-404,-445,-366,-208,-132,-178,-208,-121,-11,-36,-205,-387,-484,-513,-539,-590,-670,-796,-970,-1144,-1227,-1152,-932,-648,-406,-280,-283,-372,-475,-529,-504,-415,-305,-219,-191,-228,-301,-370,-399,-380,-332,-289,-278,-303,-341,-366,-368,-358,-341,-305,-247,-180,-124,-89,-82,-113,-172,-225,-248,-250,-254,-254,-236,-209,-191,-178,-152,-120,-113,-144,-189,-221,-236,-229,-187,-115,-45,1,35,67,79,53,12,-8,-5,-4,-13,-10,16,51,75,81,71,47,16,-8,-22,-34,-44,-41,-21,9,40,64,67,45,13,-9,-18,-33,-53,-51,-11,46,86,102,103,93,76,70,84,95,78,34}
},
{ // H70e015a.wav
{1,-11,-2,9,-1,-15,-6,5,-5,-9,11,18,-12,-22,19,30,-30,-57,23,74,-25,-110,6,140,12,-186,-50,227,80,-241,327,1940,3176,3082,2795,3419,3021,-1508,-8922,-12696,-7957,2123,9444,9988,7079,5537,5700,4931,2709,1288,1948,3251,3473,2752,1931,856,-857,-2374,-2498,-1605,-1333,-2229,-2939,-2221,-788,-314,-1138,-1938,-1605,-573,14,-188,-588,-691,-608,-566,-488,-284,-130,-164,-175,16,102,-307,-942,-1075,-546,-78,-294,-857,-991,-567,-151,-127,-283,-300,-205,-157,-148,-148,-278,-594,-873,-874,-694,-612,-662,-613,-354,-72,20,-57,-143,-159,-154,-184,-247,-292,-264,-168,-95,-132,-252,-352,-398,-446,-517,-554,-530,-508,-526,-503,-374,-235,-241,-384,-480,-407,-244,-141,-139,-165,-168,-178,-235,-329,-416,-466,-488,-513,-571,-681,-832,-975,-1042,-988,-828,-628,-460,-361,-339,-385,-469,-542,-560,-521,-460,-403,-356,-323,-321,-351,-380,-376,-346,-324,-327,-336,-333,-332,-348,-367,-352,-302,-256,-246,-249,-222,-169,-137,-155,-195,-215,-217,-231,-261,-276,-255,-211,-170,-140,-117,-107,-123,-161,-202,-225,-215,-177,-128,-78,-28,22,56,57,31,7,4,11,8,0,5,25,46,65,84,96,85,51,14,-7,-17,-29,-41,-37,-11,19,33,27,14,7,4,-7,-27,-41,-38,-13,27,72,109,125,118,98,77,54,26},
{10,-17,-11,12,3,-14,13,37,-4,-39,17,68,-10,-98,-8,122,26,-159,-59,203,120,-238,-188,285,272,-336,-49,1995,4109,4303,3618,4350,4903,359,-9608,-16710,-12290,1415,12685,13620,8050,4510,5281,6081,4217,2084,2344,3823,4035,2966,1992,884,-1444,-4046,-4543,-2769,-1476,-2513,-4164,-3729,-1486,-219,-1218,-2638,-2282,-511,645,360,-331,-432,-234,-355,-595,-444,-71,-26,-287,-403,-410,-779,-1392,-1453,-728,-114,-410,-1111,-1142,-411,174,90,-207,-195,-17,-21,-140,-190,-335,-771,-1218,-1237,-899,-687,-748,-712,-328,124,236,28,-152,-114,-8,-50,-235,-359,-261,-19,116,-14,-298,-507,-563,-560,-554,-496,-380,-319,-382,-484,-514,-479,-433,-362,-248,-170,-197,-242,-158,25,105,-24,-236,-362,-399,-449,-551,-657,-760,-916,-1144,-1359,-1428,-1283,-955,-566,-281,-225,-381,-576,-621,-471,-255,-116,-85,-98,-118,-173,-279,-381,-406,-347,-266,-229,-256,-324,-392,-422,-407,-374,-340,-287,-191,-79,-11,-16,-63,-111,-147,-180,-209,-230,-244,-248,-237,-209,-173,-133,-95,-76,-98,-160,-227,-266,-272,-246,-187,-107,-33,19,58,90,92,51,-3,-29,-24,-16,-12,8,51,90,102,87,56,17,-24,-52,-64,-70,-71,-56,-21,25,67,97,106,81,31,-12,-30,-38,-50,-50,-19,34,75,92,103,122,136,128,102,74,54,41,29,14}
},
{ // H70e030a.wav
{1,8,1,-6,1,10,1,-10,-4,4,-3,-4,14,17,-7,-14,16,23,-24,-41,23,58,-21,-83,12,112,4,-148,-32,185,62,-178,316,1655,2698,2682,2498,2973,2505,-1419,-7754,-11127,-7389,1097,7745,8958,7011,5677,5455,4515,2552,1331,1814,2838,3045,2560,2027,1235,-209,-1622,-1914,-1265,-1011,-1719,-2375,-1911,-785,-326,-914,-1586,-1440,-721,-252,-307,-508,-562,-573,-627,-558,-287,-55,-51,-86,62,176,-118,-674,-886,-538,-154,-274,-704,-853,-579,-286,-259,-343,-321,-249,-249,-255,-196,-210,-436,-726,-815,-693,-594,-618,-597,-400,-164,-108,-231,-320,-227,-39,44,-68,-264,-361,-297,-179,-138,-191,-272,-362,-484,-607,-643,-579,-510,-496,-484,-410,-331,-347,-436,-467,-371,-222,-136,-151,-224,-298,-327,-294,-233,-220,-295,-419,-526,-593,-648,-706,-751,-767,-760,-737,-695,-628,-547,-475,-434,-433,-464,-504,-525,-517,-496,-480,-467,-447,-412,-370,-334,-317,-327,-354,-375,-374,-359,-355,-368,-371,-342,-295,-263,-254,-244,-218,-191,-181,-182,-179,-178,-194,-222,-242,-241,-225,-202,-170,-134,-112,-117,-144,-177,-200,-205,-185,-143,-95,-53,-20,8,26,30,26,26,33,39,38,34,33,38,50,63,68,63,54,44,23,-12,-44,-54,-42,-23,-7,7,15,11,-1,-3,4,1,-19,-30,-10,30,63,88,117,137,116,56},
{-21,12,12,-18,-1,43,16,-48,-16,70,27,-98,-57,117,88,-146,-144,169,224,-175,-314,185,432,-206,-420,1376,4080,5034,4280,4584,5780,2701,-7388,-17448,-16302,-2498,12254,16121,10047,4133,4050,6193,5652,3284,2627,3827,4249,3128,1995,1158,-850,-3925,-5445,-4012,-1931,-2107,-3912,-4316,-2470,-820,-1336,-2737,-2604,-857,488,376,-176,-94,199,-102,-652,-587,-34,128,-267,-532,-471,-723,-1469,-1810,-1130,-254,-346,-1148,-1363,-577,231,236,-165,-213,74,195,57,-100,-324,-825,-1374,-1461,-1070,-750,-790,-818,-438,129,357,127,-181,-238,-114,-72,-200,-322,-235,30,205,80,-243,-485,-539,-545,-592,-561,-367,-197,-293,-592,-768,-642,-373,-229,-273,-360,-332,-164,45,152,82,-106,-275,-338,-333,-356,-456,-619,-808,-1012,-1230,-1434,-1528,-1395,-1022,-583,-321,-329,-471,-536,-449,-293,-169,-97,-49,-23,-49,-138,-247,-315,-316,-271,-224,-211,-253,-341,-433,-468,-432,-369,-312,-245,-142,-36,11,-14,-61,-91,-117,-155,-193,-216,-232,-244,-229,-172,-103,-64,-58,-71,-103,-166,-240,-284,-276,-231,-169,-106,-48,2,49,87,95,57,-2,-45,-55,-42,-15,24,63,87,97,100,84,33,-38,-89,-106,-113,-123,-110,-55,26,95,132,134,100,43,-8,-34,-45,-59,-69,-56,-12,56,133,191,199,155,103,78,65,32,-7,-8,30,55,35}
},
{ // H70e045a.wav
{-6,-8,0,5,-2,-7,0,5,-4,-9,-2,1,-8,-5,10,10,-11,-11,16,14,-28,-33,23,38,-34,-66,26,86,-24,-123,7,158,9,-134,421,1595,2386,2348,2315,2704,1857,-2105,-7655,-9992,-6090,1448,7049,8084,6606,5504,5030,3924,2257,1414,1874,2596,2681,2366,2033,1340,30,-1173,-1380,-875,-773,-1410,-1901,-1495,-670,-419,-888,-1310,-1135,-643,-363,-369,-415,-438,-548,-665,-555,-235,-16,-35,-54,105,199,-77,-539,-695,-434,-186,-303,-601,-706,-584,-477,-471,-441,-347,-305,-335,-302,-190,-195,-427,-698,-758,-634,-558,-622,-685,-596,-377,-149,4,51,-4,-111,-197,-236,-260,-291,-296,-252,-201,-214,-313,-456,-577,-624,-590,-537,-535,-584,-594,-499,-353,-275,-309,-383,-405,-354,-272,-208,-190,-217,-260,-283,-276,-268,-291,-343,-405,-472,-548,-624,-677,-700,-708,-716,-718,-693,-634,-554,-480,-438,-445,-490,-535,-548,-529,-504,-493,-491,-477,-439,-384,-337,-323,-346,-381,-395,-383,-366,-363,-363,-348,-316,-279,-245,-217,-199,-196,-197,-187,-168,-158,-166,-184,-205,-229,-251,-250,-213,-159,-122,-116,-130,-152,-177,-195,-193,-166,-126,-80,-36,2,29,45,53,55,52,46,40,33,26,23,27,35,39,41,44,45,31,1,-29,-44,-43,-33,-19,-5,3,4,4,7,10,12,12,13,18,36,69,96,90,47},
{21,-10,-26,24,46,-23,-59,29,80,-40,-126,22,160,-12,-221,-30,279,88,-345,-169,424,262,-523,38,2706,5172,5323,4771,5814,5693,-1164,-13401,-19998,-11973,5339,16949,15107,6680,2514,4485,6645,5484,3534,3536,4257,3643,2358,1719,654,-2335,-5604,-5916,-3300,-1456,-2626,-4574,-4149,-1900,-953,-2239,-3342,-2272,-199,626,67,-298,112,323,-190,-585,-198,299,68,-525,-668,-548,-921,-1600,-1614,-866,-454,-971,-1526,-1109,-114,328,10,-279,-84,203,199,55,-85,-452,-1122,-1623,-1523,-1064,-782,-732,-540,-96,253,228,-27,-209,-243,-250,-297,-314,-214,-12,159,149,-54,-310,-483,-574,-624,-578,-393,-220,-287,-572,-768,-664,-411,-309,-414,-515,-433,-211,2,113,110,11,-142,-282,-355,-378,-426,-554,-754,-978,-1186,-1348,-1412,-1326,-1100,-842,-661,-560,-457,-309,-176,-128,-142,-143,-106,-78,-102,-157,-195,-199,-190,-188,-195,-214,-254,-324,-400,-440,-422,-371,-314,-247,-156,-64,-19,-26,-43,-51,-83,-153,-219,-234,-214,-201,-189,-144,-73,-26,-25,-50,-82,-136,-212,-270,-277,-241,-189,-130,-65,-7,37,71,88,69,12,-47,-67,-49,-19,10,41,72,95,106,98,56,-23,-105,-150,-154,-139,-115,-71,-6,61,112,139,132,84,19,-28,-52,-80,-112,-104,-25,88,170,198,195,175,129,65,14,-5,-7,-6,14,65,117,120,66}
},
{ // H70e060a.wav
{1,-1,-7,-5,3,3,-4,-3,4,1,-8,-7,1,-1,-7,1,12,1,-13,1,19,-3,-34,-10,36,13,-51,-29,61,47,-75,-77,86,113,-84,0,792,1806,2215,2133,2331,2385,402,-4241,-8630,-8524,-3129,3652,7346,7252,5844,4980,4294,3056,1838,1584,2107,2488,2415,2227,1917,1066,-186,-984,-886,-543,-762,-1351,-1479,-952,-471,-595,-1002,-1059,-704,-386,-350,-406,-388,-409,-547,-605,-406,-124,-40,-109,-51,149,170,-144,-492,-521,-318,-249,-433,-651,-713,-676,-633,-546,-392,-291,-336,-411,-357,-227,-222,-411,-666,-851,-920,-832,-543,-158,68,-14,-247,-343,-217,-48,-33,-175,-331,-383,-331,-252,-228,-287,-395,-496,-568,-622,-654,-629,-529,-397,-317,-342,-449,-555,-580,-505,-373,-252,-183,-172,-210,-280,-341,-345,-277,-185,-145,-196,-312,-431,-506,-531,-538,-565,-629,-711,-777,-801,-768,-680,-565,-475,-451,-486,-532,-542,-518,-492,-487,-503,-522,-520,-479,-402,-326,-298,-325,-369,-388,-381,-370,-362,-341,-303,-268,-252,-241,-219,-197,-190,-199,-202,-188,-169,-163,-177,-207,-243,-268,-260,-217,-161,-121,-107,-118,-147,-182,-202,-191,-155,-112,-71,-30,9,36,46,49,51,49,38,23,14,12,9,5,8,21,38,49,47,33,9,-16,-34,-40,-36,-26,-14,-2,9,22,37,48,44,27,17,30,52,54,30},
{-13,-20,31,42,-32,-55,41,77,-54,-125,37,157,-34,-221,-2,283,51,-359,-124,451,209,-563,145,2944,5461,5740,5398,6322,5426,-2390,-14751,-20274,-10867,6906,17817,14958,6040,1981,4271,6739,5858,4046,3882,4233,3396,2210,1778,724,-2469,-5937,-6286,-3566,-1530,-2464,-4294,-4071,-2273,-1577,-2578,-3150,-1957,-341,30,-392,-228,409,318,-519,-777,30,720,315,-524,-740,-567,-867,-1458,-1400,-716,-517,-1210,-1746,-1198,-146,251,-97,-339,-84,222,204,20,-186,-594,-1211,-1598,-1448,-1039,-796,-684,-393,62,331,225,-72,-308,-407,-408,-339,-234,-137,-46,50,82,-46,-304,-532,-614,-575,-498,-442,-432,-466,-484,-440,-396,-471,-638,-703,-535,-247,-58,-38,-79,-81,-65,-97,-187,-294,-395,-501,-647,-850,-1079,-1252,-1293,-1203,-1059,-934,-843,-748,-610,-419,-203,-25,43,-14,-134,-219,-231,-203,-177,-155,-120,-98,-128,-203,-264,-280,-291,-334,-383,-386,-340,-286,-235,-162,-69,-1,4,-40,-94,-142,-185,-213,-220,-211,-188,-143,-77,-20,3,-5,-34,-85,-153,-214,-244,-249,-237,-196,-118,-33,20,43,62,73,48,-10,-53,-53,-29,-9,12,47,81,99,98,79,27,-60,-146,-186,-171,-130,-83,-32,22,78,126,149,125,56,-24,-76,-96,-97,-75,-19,58,126,167,188,187,147,77,16,-7,-5,-1,7,39,93,135,136,95,39}
},
{ // H70e075a.wav
{-3,1,-1,-7,-4,4,4,-3,-2,4,3,-5,-5,2,0,-6,1,12,3,-11,0,18,1,-29,-12,31,15,-44,-32,51,54,-53,-74,64,110,-62,-39,618,1574,2073,2083,2240,2283,582,-3610,-7919,-8399,-3811,2675,6747,7141,5809,4733,4008,3022,2032,1728,2046,2332,2348,2319,2142,1372,126,-742,-723,-383,-547,-1127,-1325,-868,-397,-514,-957,-1051,-656,-237,-156,-288,-390,-463,-568,-573,-351,-81,-47,-207,-230,0,185,42,-300,-502,-480,-437,-506,-600,-626,-622,-635,-615,-522,-419,-363,-308,-239,-285,-547,-861,-914,-625,-260,-115,-204,-313,-302,-226,-199,-234,-259,-226,-174,-182,-276,-383,-405,-338,-292,-373,-565,-731,-745,-594,-373,-210,-184,-292,-459,-594,-639,-585,-470,-364,-326,-353,-381,-353,-281,-221,-204,-207,-205,-204,-219,-247,-280,-319,-362,-400,-436,-501,-614,-744,-835,-861,-836,-773,-669,-545,-460,-458,-510,-546,-530,-493,-478,-489,-498,-483,-442,-384,-327,-299,-315,-352,-370,-356,-330,-314,-303,-285,-264,-254,-253,-251,-242,-231,-221,-208,-193,-181,-176,-180,-200,-237,-269,-265,-218,-155,-109,-94,-103,-130,-165,-189,-187,-160,-123,-84,-45,-11,9,19,28,39,45,40,28,12,-5,-17,-14,4,25,42,55,59,46,18,-7,-19,-23,-24,-17,1,19,30,39,51,56,43,23,20,37,45,26},
{-23,17,50,-5,-61,2,78,-2,-116,-26,140,49,-184,-106,214,175,-249,-272,283,393,-341,-355,1791,4769,6083,5899,6278,6073,544,-10891,-19515,-15124,942,15315,17067,9126,2604,2941,6016,6515,4755,3805,4050,3750,2722,2114,1418,-1106,-4838,-6521,-4653,-1951,-1767,-3638,-4446,-3123,-1809,-2215,-3136,-2620,-977,-34,-293,-564,-183,80,-335,-671,-183,509,390,-303,-551,-276,-376,-1075,-1459,-1005,-508,-818,-1463,-1390,-589,-32,-174,-431,-237,158,252,21,-282,-639,-1124,-1524,-1524,-1166,-779,-521,-277,24,245,244,37,-258,-498,-553,-407,-215,-139,-137,-64,43,-26,-318,-598,-650,-542,-482,-532,-575,-516,-380,-258,-250,-419,-686,-825,-668,-314,-38,-3,-123,-220,-227,-194,-181,-213,-302,-454,-651,-862,-1049,-1168,-1190,-1124,-1015,-898,-772,-632,-497,-377,-255,-123,-25,-16,-90,-180,-233,-248,-233,-179,-102,-66,-112,-195,-234,-223,-235,-305,-374,-374,-320,-275,-245,-187,-93,-18,-5,-34,-70,-113,-174,-231,-248,-224,-182,-137,-86,-32,8,20,2,-48,-119,-186,-229,-247,-243,-205,-127,-45,5,26,47,67,50,-8,-59,-63,-34,-6,15,40,67,81,77,61,23,-45,-123,-173,-178,-147,-95,-32,31,87,133,156,128,43,-58,-114,-111,-80,-44,3,66,126,161,173,164,128,69,18,0,3,0,-1,29,88,130,118,68,20,-1}
},
{ // H70e090a.wav
{-2,2,4,0,-3,2,5,1,-1,4,6,0,-4,1,3,-2,-1,12,13,-4,-7,14,18,-12,-23,14,34,-14,-48,10,69,8,-75,-6,115,32,-118,180,1039,1836,2086,2151,2344,1656,-1344,-5912,-8595,-6460,-529,5042,7192,6413,4982,4050,3272,2407,1921,2053,2329,2346,2307,2371,2078,1026,-260,-820,-532,-253,-599,-1152,-1190,-746,-475,-674,-944,-855,-500,-225,-135,-135,-239,-500,-735,-643,-244,68,29,-170,-211,-105,-101,-254,-369,-359,-380,-533,-668,-626,-510,-524,-642,-643,-461,-308,-389,-634,-790,-702,-446,-221,-174,-280,-380,-347,-228,-178,-246,-305,-244,-139,-150,-294,-429,-446,-390,-365,-408,-483,-553,-595,-586,-513,-404,-310,-267,-279,-333,-402,-447,-438,-400,-395,-461,-571,-650,-622,-467,-252,-92,-64,-141,-229,-257,-234,-208,-210,-233,-260,-289,-331,-399,-499,-625,-757,-872,-941,-937,-849,-699,-548,-454,-437,-469,-506,-524,-520,-500,-468,-425,-373,-319,-283,-284,-320,-353,-345,-301,-264,-264,-285,-293,-283,-279,-290,-298,-288,-269,-252,-234,-208,-185,-180,-195,-216,-234,-241,-229,-196,-152,-113,-94,-97,-117,-143,-161,-165,-157,-142,-117,-82,-49,-31,-25,-11,17,39,39,23,7,-5,-17,-20,-7,17,34,42,48,54,49,30,10,-1,-2,3,16,33,46,49,45,41,37,37,45,54,48,24},
{-19,28,46,-19,-53,24,72,-27,-107,10,133,2,-180,-39,226,95,-273,-168,331,256,-422,-84,2250,5025,6201,6217,6402,4897,-2048,-12926,-18666,-11613,4171,15766,15298,7602,2616,3615,6096,5975,4307,3683,3977,3659,2787,2198,1136,-1678,-5069,-6052,-3924,-1586,-1763,-3550,-4200,-3124,-2203,-2529,-2916,-2111,-797,-330,-624,-611,-175,-184,-742,-834,-34,647,288,-525,-677,-252,-224,-777,-1085,-788,-592,-1010,-1440,-1107,-315,22,-276,-523,-284,94,135,-148,-516,-918,-1349,-1596,-1447,-1010,-584,-292,-52,174,282,174,-111,-416,-563,-483,-302,-222,-264,-244,-74,34,-156,-536,-756,-673,-498,-465,-544,-556,-438,-290,-232,-318,-517,-701,-707,-493,-217,-78,-117,-219,-274,-268,-236,-205,-216,-320,-520,-751,-936,-1043,-1079,-1067,-1027,-957,-831,-637,-426,-283,-236,-229,-198,-148,-124,-136,-155,-167,-186,-205,-195,-154,-126,-137,-160,-168,-181,-241,-329,-379,-365,-322,-281,-222,-127,-33,3,-19,-57,-87,-124,-178,-226,-243,-231,-199,-145,-79,-21,10,15,-1,-43,-106,-170,-218,-245,-240,-188,-101,-25,10,22,41,54,29,-27,-70,-71,-45,-13,24,60,75,65,49,36,5,-57,-127,-163,-151,-111,-64,-13,44,104,151,158,102,0,-91,-119,-92,-52,-21,16,73,134,172,174,145,98,52,23,12,7,3,14,46,82,92,71,37,11,0}
},
{ // H70e105a.wav
{0,5,5,-2,-3,4,7,2,0,6,7,0,-2,3,3,-4,1,14,11,-7,-5,16,14,-17,-19,22,31,-23,-46,21,68,-7,-75,17,120,4,-122,258,1161,1934,2180,2278,2350,1248,-2185,-6676,-8612,-5580,698,5900,7397,6151,4546,3606,2920,2240,1958,2206,2510,2533,2463,2398,1943,870,-255,-664,-416,-296,-699,-1156,-1130,-804,-728,-974,-1088,-804,-393,-211,-244,-285,-309,-418,-537,-466,-223,-60,-98,-163,-100,-41,-192,-477,-620,-521,-362,-332,-425,-549,-659,-698,-590,-407,-396,-674,-980,-923,-482,-62,-15,-254,-440,-415,-311,-285,-316,-287,-171,-64,-67,-182,-331,-432,-466,-479,-526,-607,-656,-607,-463,-311,-255,-326,-451,-522,-490,-394,-294,-220,-183,-216,-345,-535,-696,-752,-691,-556,-399,-270,-203,-192,-195,-181,-166,-178,-207,-217,-203,-202,-244,-316,-391,-468,-573,-714,-863,-972,-997,-918,-755,-576,-463,-447,-489,-528,-540,-532,-502,-432,-329,-248,-236,-280,-321,-321,-289,-255,-234,-231,-252,-290,-322,-329,-322,-322,-331,-329,-303,-262,-227,-208,-207,-221,-244,-258,-244,-202,-152,-120,-112,-114,-115,-121,-140,-158,-156,-138,-127,-129,-127,-108,-81,-61,-46,-24,1,11,4,-6,-9,-14,-26,-32,-20,2,20,32,45,57,59,49,33,18,7,8,26,48,59,56,52,51,46,38,38,44,42,22},
{-20,12,43,3,-47,-4,61,9,-88,-35,100,53,-130,-100,146,156,-160,-231,173,324,-212,-340,1283,4024,5886,6296,6262,5128,-86,-9581,-16816,-13715,-586,12396,15632,9960,3924,3055,5172,5834,4498,3534,3795,3972,3329,2484,1465,-698,-3752,-5463,-4354,-2029,-1282,-2541,-3728,-3446,-2627,-2582,-2899,-2378,-1115,-343,-522,-834,-669,-449,-606,-697,-241,290,153,-421,-582,-244,-178,-668,-1017,-734,-383,-661,-1230,-1226,-585,-82,-131,-297,-150,68,-61,-450,-743,-914,-1182,-1491,-1495,-1078,-546,-215,-65,87,244,221,-59,-410,-565,-461,-298,-282,-370,-351,-187,-103,-284,-588,-721,-621,-485,-458,-475,-439,-385,-376,-388,-390,-429,-531,-591,-496,-306,-187,-198,-248,-257,-243,-241,-235,-224,-276,-445,-685,-893,-1004,-1032,-1017,-981,-920,-809,-632,-426,-272,-214,-217,-219,-206,-197,-187,-154,-112,-114,-169,-219,-216,-179,-155,-151,-147,-152,-204,-295,-367,-380,-352,-313,-254,-154,-40,25,13,-45,-106,-151,-182,-199,-207,-214,-219,-201,-147,-74,-15,14,10,-25,-80,-138,-184,-217,-232,-209,-140,-58,-6,11,22,34,24,-17,-64,-85,-73,-42,-2,40,67,69,57,40,12,-39,-99,-138,-140,-111,-64,-11,37,79,117,139,118,44,-47,-100,-97,-65,-31,4,51,103,144,164,156,120,69,30,18,19,17,15,27,49,61,55,38,22,8}
},
{ // H70e120a.wav
{0,2,-4,-8,-1,4,0,-4,1,5,0,-5,-2,0,-6,-5,9,11,-7,-12,8,14,-15,-28,9,32,-13,-52,-1,61,8,-76,-14,110,38,-129,123,977,1886,2314,2452,2501,1546,-1642,-6218,-8771,-6423,-210,5625,7800,6672,4714,3477,2810,2273,2028,2243,2575,2676,2648,2591,2152,1050,-214,-772,-496,-178,-469,-1084,-1331,-1102,-902,-1043,-1243,-1121,-732,-406,-297,-322,-412,-550,-602,-390,-3,199,27,-265,-324,-173,-129,-319,-534,-572,-510,-516,-575,-553,-437,-364,-441,-651,-890,-1004,-847,-446,-76,-30,-278,-494,-463,-321,-300,-400,-422,-279,-101,-38,-94,-187,-279,-377,-476,-557,-619,-654,-623,-507,-364,-287,-308,-380,-439,-463,-455,-409,-324,-229,-187,-241,-379,-537,-645,-663,-599,-494,-397,-346,-339,-338,-302,-236,-183,-169,-171,-161,-146,-156,-205,-274,-356,-465,-599,-724,-808,-848,-851,-808,-716,-615,-563,-570,-596,-599,-575,-525,-438,-323,-240,-241,-299,-326,-281,-212,-183,-200,-223,-235,-256,-295,-331,-347,-355,-367,-367,-338,-289,-249,-233,-233,-238,-249,-261,-261,-236,-189,-140,-107,-97,-102,-114,-129,-147,-161,-163,-153,-142,-137,-129,-105,-73,-53,-50,-50,-38,-20,-11,-16,-29,-42,-49,-47,-34,-14,8,30,50,57,48,32,26,30,35,37,43,54,65,71,78,84,77,52,25,17,25,29,17},
{-4,-13,19,36,-9,-39,11,50,-16,-78,0,96,11,-128,-41,157,83,-188,-137,230,209,-298,-105,1726,4267,5825,6142,5793,3624,-2553,-11262,-15727,-10128,2767,13108,14063,8352,3587,3302,4885,5036,3959,3525,3937,3998,3312,2368,1009,-1348,-3942,-4809,-3330,-1411,-1203,-2485,-3377,-3075,-2569,-2684,-2798,-2066,-908,-379,-620,-877,-788,-712,-778,-554,44,334,-115,-692,-617,-153,-163,-728,-1045,-747,-438,-649,-997,-866,-395,-164,-237,-183,80,113,-296,-787,-1006,-1089,-1277,-1406,-1164,-653,-294,-233,-191,43,267,166,-217,-522,-518,-351,-296,-401,-479,-404,-295,-341,-525,-656,-622,-502,-404,-333,-282,-309,-431,-529,-486,-372,-347,-428,-478,-429,-367,-355,-330,-237,-151,-162,-224,-234,-215,-288,-490,-712,-850,-917,-969,-1005,-976,-868,-714,-555,-415,-310,-247,-220,-218,-222,-215,-182,-136,-112,-130,-165,-184,-180,-173,-173,-170,-169,-190,-239,-295,-330,-343,-343,-321,-255,-149,-48,-3,-20,-69,-121,-163,-188,-195,-193,-199,-211,-202,-156,-88,-32,-8,-15,-43,-83,-129,-177,-218,-231,-199,-132,-66,-28,-11,4,14,2,-33,-65,-75,-63,-38,-2,35,54,51,40,30,8,-37,-87,-117,-114,-85,-45,-4,30,61,96,124,115,58,-18,-68,-81,-71,-43,7,65,105,126,142,153,132,73,15,0,18,28,19,19,43,68,66,40,13}
},
{ // H70e135a.wav
{-2,-9,-7,2,3,-5,-5,4,3,-8,-9,0,0,-8,-3,10,5,-13,-9,12,5,-27,-21,23,22,-38,-48,30,60,-33,-86,32,120,-30,-124,368,1393,2276,2653,2788,2496,551,-3663,-8055,-8807,-4284,2736,7586,8148,6076,4049,3044,2538,2165,2143,2484,2774,2802,2739,2550,1817,484,-698,-958,-506,-270,-684,-1242,-1345,-1126,-1113,-1376,-1461,-1111,-630,-435,-545,-697,-751,-715,-537,-179,165,208,-21,-175,-81,-3,-229,-610,-754,-579,-395,-438,-589,-619,-524,-483,-595,-782,-890,-802,-518,-197,-64,-183,-376,-450,-426,-441,-501,-472,-313,-157,-124,-176,-220,-257,-332,-429,-502,-559,-613,-606,-465,-248,-133,-219,-419,-568,-585,-494,-352,-216,-154,-210,-355,-504,-592,-616,-594,-528,-423,-325,-291,-333,-397,-416,-370,-291,-220,-170,-145,-153,-196,-246,-274,-296,-363,-503,-675,-802,-836,-778,-663,-547,-492,-529,-623,-696,-692,-618,-516,-420,-346,-305,-296,-293,-264,-214,-178,-177,-193,-203,-212,-241,-286,-324,-344,-358,-372,-367,-331,-280,-244,-234,-238,-245,-256,-268,-261,-227,-178,-140,-127,-131,-132,-122,-113,-120,-140,-159,-169,-172,-171,-154,-115,-69,-43,-41,-41,-27,-11,-14,-35,-54,-63,-67,-68,-56,-27,4,24,32,34,32,25,13,8,19,39,58,72,86,97,99,88,72,59,49,38,29,29,35,35,20},
{10,-2,-14,12,35,2,-36,-3,45,3,-67,-23,77,36,-100,-71,113,112,-126,-166,141,237,-176,-237,1106,3428,5204,5773,5507,3757,-1316,-9128,-14322,-11022,22,10776,13823,9601,4469,2915,3909,4443,3874,3540,3910,4087,3545,2645,1424,-621,-3087,-4299,-3292,-1393,-775,-1813,-2940,-2985,-2513,-2482,-2655,-2178,-1130,-469,-608,-954,-956,-806,-776,-616,-114,276,33,-531,-667,-330,-214,-617,-996,-872,-551,-550,-762,-731,-423,-203,-181,-121,11,-65,-437,-804,-948,-1031,-1199,-1232,-909,-459,-292,-390,-353,-33,232,113,-250,-472,-431,-337,-379,-504,-564,-530,-490,-502,-539,-559,-553,-505,-375,-185,-77,-189,-458,-638,-560,-332,-196,-251,-396,-508,-558,-543,-430,-240,-90,-72,-143,-202,-235,-304,-432,-571,-682,-784,-894,-976,-983,-907,-775,-617,-467,-368,-334,-327,-300,-250,-203,-177,-158,-134,-118,-123,-139,-150,-156,-169,-197,-224,-239,-249,-269,-300,-328,-336,-320,-283,-227,-158,-97,-66,-72,-105,-144,-171,-179,-176,-178,-188,-191,-175,-141,-100,-62,-38,-39,-71,-121,-170,-209,-233,-228,-185,-121,-69,-41,-22,1,13,-5,-40,-65,-65,-46,-21,4,21,27,26,22,10,-14,-47,-77,-93,-93,-72,-31,17,54,77,95,103,85,38,-14,-49,-61,-54,-24,26,75,104,115,123,124,99,50,9,-1,13,28,39,53,65,59,31}
},
{ // H70e150a.wav
{-8,0,4,-2,-5,2,4,-5,-10,-3,-1,-9,-5,12,10,-13,-16,11,14,-24,-34,14,35,-23,-60,9,70,-7,-98,-9,128,23,-158,183,1222,2343,2960,3170,2932,1168,-3005,-7923,-9623,-5648,1838,7780,9064,6856,4280,2996,2607,2390,2329,2564,2852,2944,2901,2691,1937,528,-838,-1273,-801,-357,-609,-1225,-1513,-1391,-1327,-1512,-1585,-1248,-746,-518,-636,-837,-938,-928,-756,-364,62,188,-10,-163,-39,102,-90,-497,-694,-572,-451,-557,-702,-633,-436,-390,-583,-847,-990,-916,-604,-166,121,34,-320,-597,-612,-489,-415,-392,-332,-254,-241,-285,-305,-294,-330,-448,-586,-658,-636,-528,-354,-171,-69,-106,-252,-422,-528,-523,-419,-286,-206,-215,-298,-434,-597,-725,-726,-572,-365,-251,-277,-357,-381,-329,-262,-238,-253,-267,-257,-238,-235,-257,-304,-388,-514,-652,-743,-747,-678,-584,-502,-457,-472,-550,-639,-657,-575,-453,-379,-370,-378,-363,-337,-320,-297,-243,-175,-141,-159,-200,-235,-267,-308,-348,-364,-350,-320,-288,-258,-239,-237,-248,-257,-257,-254,-247,-226,-192,-164,-156,-158,-152,-137,-126,-126,-135,-152,-176,-195,-192,-166,-134,-108,-87,-66,-44,-23,-7,0,-5,-21,-43,-69,-87,-87,-65,-31,-3,12,20,22,14,-1,-9,-2,13,27,45,71,95,101,92,82,73,56,35,26,33,43,49,55,61,53,27},
{-17,1,10,-7,-8,21,24,-16,-26,21,35,-30,-58,23,74,-21,-103,5,131,15,-168,-47,217,84,-287,130,1827,3868,5057,5275,4577,1705,-4409,-11240,-13001,-6405,4657,12195,12037,7236,3462,2874,3613,3740,3463,3627,3993,3856,3210,2321,886,-1316,-3291,-3544,-2073,-679,-845,-2040,-2745,-2533,-2251,-2393,-2371,-1654,-751,-489,-834,-1097,-996,-826,-710,-397,75,207,-188,-584,-499,-240,-387,-857,-1037,-738,-429,-471,-646,-605,-376,-185,-91,-66,-194,-513,-823,-917,-875,-879,-882,-723,-494,-440,-534,-464,-134,138,65,-214,-368,-339,-332,-452,-595,-654,-655,-641,-593,-516,-472,-475,-447,-325,-171,-102,-162,-298,-422,-464,-403,-282,-211,-277,-460,-642,-697,-585,-368,-159,-46,-53,-136,-230,-298,-338,-381,-467,-607,-764,-877,-917,-900,-847,-754,-624,-495,-416,-396,-394,-371,-319,-252,-175,-99,-56,-75,-138,-189,-192,-166,-154,-170,-204,-251,-308,-354,-360,-328,-298,-296,-299,-271,-215,-163,-129,-106,-90,-92,-115,-144,-166,-185,-202,-202,-182,-149,-113,-80,-61,-70,-107,-155,-201,-242,-265,-242,-174,-102,-62,-41,-11,18,18,-12,-41,-50,-51,-51,-39,-10,15,18,9,4,-2,-19,-46,-68,-76,-65,-35,3,34,54,73,88,86,63,37,24,13,-8,-26,-18,9,33,48,69,94,105,97,82,66,44,22,23,45,55,33}
},
{ // H70e165a.wav
{6,-3,-5,4,5,-7,-11,0,3,-8,-6,14,13,-14,-18,14,19,-23,-36,17,41,-24,-66,13,83,-7,-114,-14,145,29,-185,181,1352,2657,3414,3649,3260,1115,-3574,-8799,-10241,-5485,2772,8912,9762,6942,4047,2826,2659,2614,2626,2863,3099,3106,2979,2670,1744,106,-1392,-1723,-990,-367,-661,-1422,-1766,-1600,-1523,-1763,-1833,-1352,-678,-424,-673,-1003,-1110,-1010,-747,-327,48,72,-201,-323,-91,101,-161,-643,-768,-452,-210,-389,-718,-770,-558,-406,-473,-654,-826,-926,-839,-487,-57,101,-140,-518,-687,-576,-368,-248,-256,-321,-352,-316,-269,-310,-458,-616,-687,-676,-638,-573,-439,-246,-73,-9,-83,-259,-437,-497,-391,-207,-100,-158,-347,-568,-722,-739,-616,-443,-344,-363,-423,-418,-332,-229,-169,-161,-190,-234,-275,-303,-331,-381,-458,-555,-663,-762,-808,-755,-613,-460,-385,-412,-488,-542,-537,-486,-420,-356,-298,-253,-240,-268,-317,-345,-323,-264,-208,-194,-222,-267,-304,-326,-335,-331,-311,-276,-238,-213,-207,-216,-228,-233,-230,-222,-216,-211,-206,-200,-197,-191,-173,-146,-120,-108,-117,-146,-189,-225,-230,-199,-153,-117,-95,-72,-44,-21,-9,-6,-10,-24,-43,-56,-57,-51,-44,-36,-25,-13,-7,-4,-2,-1,-5,-8,-1,16,37,57,76,89,87,71,53,42,35,29,28,37,50,54,50,54,73,88,76,37},
{7,-13,-17,0,4,-12,-7,19,13,-24,-23,21,21,-37,-46,30,53,-43,-89,28,111,-24,-156,-1,200,13,-265,286,1897,3625,4562,4711,3895,789,-5183,-11059,-11569,-4615,5452,11585,10881,6544,3330,2730,3171,3272,3234,3513,3780,3599,3084,2321,915,-1161,-2814,-2818,-1476,-463,-838,-1906,-2409,-2193,-2035,-2213,-2134,-1438,-675,-531,-879,-1111,-1027,-868,-692,-322,103,135,-265,-549,-379,-162,-412,-914,-1023,-622,-260,-334,-602,-639,-414,-194,-152,-277,-519,-798,-956,-883,-658,-454,-374,-432,-595,-722,-610,-250,62,49,-192,-337,-298,-289,-454,-656,-725,-695,-678,-662,-581,-467,-392,-327,-220,-138,-181,-291,-304,-196,-136,-238,-402,-466,-422,-398,-474,-594,-653,-587,-412,-209,-83,-81,-158,-231,-264,-287,-335,-415,-513,-625,-745,-850,-901,-867,-754,-618,-525,-493,-479,-446,-405,-374,-328,-233,-117,-62,-102,-180,-219,-211,-193,-181,-169,-176,-237,-338,-412,-414,-373,-341,-327,-301,-257,-217,-194,-171,-137,-106,-96,-105,-121,-151,-195,-233,-240,-214,-174,-138,-114,-106,-114,-135,-167,-209,-252,-266,-230,-162,-105,-76,-52,-20,4,3,-15,-32,-47,-63,-68,-48,-16,-3,-14,-24,-16,-4,-10,-30,-45,-47,-37,-21,1,26,47,63,74,79,73,58,38,19,4,-4,-6,-6,-4,9,38,74,99,101,86,70,64,61,49,24}
},
{ // H70e180a.wav
{-7,7,8,-8,-12,2,5,-9,-6,16,14,-16,-17,19,20,-29,-37,27,48,-33,-74,25,96,-19,-131,1,172,11,-221,260,1651,3145,3981,4174,3528,797,-4602,-10056,-10791,-4740,4417,10387,10300,6658,3600,2688,2837,2911,2950,3219,3450,3353,3040,2499,1306,-565,-2113,-2235,-1179,-378,-736,-1660,-2081,-1888,-1772,-1985,-1985,-1399,-676,-461,-749,-1044,-1094,-993,-754,-302,131,126,-278,-508,-265,-11,-275,-817,-946,-525,-143,-254,-603,-705,-508,-329,-356,-516,-706,-880,-924,-711,-319,-52,-139,-491,-782,-745,-400,-43,29,-190,-417,-415,-276,-266,-463,-686,-762,-716,-659,-613,-530,-394,-232,-90,-36,-130,-319,-429,-343,-152,-54,-141,-343,-541,-653,-649,-556,-469,-465,-496,-449,-307,-185,-165,-197,-200,-186,-217,-293,-354,-390,-462,-603,-762,-860,-861,-779,-651,-528,-458,-450,-468,-468,-443,-404,-348,-268,-184,-141,-162,-221,-268,-274,-247,-213,-202,-231,-292,-350,-377,-374,-360,-343,-310,-259,-209,-182,-174,-167,-158,-157,-168,-176,-177,-183,-207,-234,-239,-211,-168,-134,-123,-126,-131,-142,-172,-216,-243,-226,-177,-132,-104,-76,-38,-8,-3,-13,-21,-29,-45,-59,-52,-33,-27,-36,-37,-19,-1,2,-6,-13,-21,-29,-27,-6,26,54,73,87,90,78,57,37,20,4,0,13,32,39,39,48,63,70,69,75,86,77,39},
{-7,7,8,-8,-12,2,5,-9,-6,16,14,-16,-17,19,20,-29,-37,27,48,-33,-74,25,96,-19,-131,1,172,11,-221,260,1651,3145,3981,4174,3528,797,-4602,-10056,-10791,-4740,4417,10387,10300,6658,3600,2688,2837,2911,2950,3219,3450,3353,3040,2499,1306,-565,-2113,-2235,-1179,-378,-736,-1660,-2081,-1888,-1772,-1985,-1985,-1399,-676,-461,-749,-1044,-1094,-993,-754,-302,131,126,-278,-508,-265,-11,-275,-817,-946,-525,-143,-254,-603,-705,-508,-329,-356,-516,-706,-880,-924,-711,-319,-52,-139,-491,-782,-745,-400,-43,29,-190,-417,-415,-276,-266,-463,-686,-762,-716,-659,-613,-530,-394,-232,-90,-36,-130,-319,-429,-343,-152,-54,-141,-343,-541,-653,-649,-556,-469,-465,-496,-449,-307,-185,-165,-197,-200,-186,-217,-293,-354,-390,-462,-603,-762,-860,-861,-779,-651,-528,-458,-450,-468,-468,-443,-404,-348,-268,-184,-141,-162,-221,-268,-274,-247,-213,-202,-231,-292,-350,-377,-374,-360,-343,-310,-259,-209,-182,-174,-167,-158,-157,-168,-176,-177,-183,-207,-234,-239,-211,-168,-134,-123,-126,-131,-142,-172,-216,-243,-226,-177,-132,-104,-76,-38,-8,-3,-13,-21,-29,-45,-59,-52,-33,-27,-36,-37,-19,-1,2,-6,-13,-21,-29,-27,-6,26,54,73,87,90,78,57,37,20,4,0,13,32,39,39,48,63,70,69,75,86,77,39}
}
},
{ // elev80
{ // H80e000a.wav
{-10,-11,21,24,-22,-32,25,39,-39,-69,32,88,-36,-129,19,169,5,-216,-38,276,75,-316,318,2123,3541,3616,3626,4587,4131,-1125,-9493,-13574,-8099,3148,10942,10640,6011,3095,3306,4082,3848,3498,3775,3907,3289,2546,2061,965,-1276,-3327,-3465,-2084,-1285,-2005,-2917,-2596,-1576,-1343,-2021,-2297,-1455,-342,7,-229,-245,41,50,-322,-499,-220,33,-130,-396,-387,-377,-773,-1262,-1176,-586,-296,-653,-1036,-811,-232,39,-95,-217,-145,-96,-170,-195,-159,-331,-789,-1167,-1128,-825,-648,-675,-658,-468,-273,-247,-321,-305,-151,6,29,-66,-130,-64,56,62,-112,-359,-563,-715,-840,-875,-739,-474,-222,-73,-21,-62,-222,-458,-634,-648,-535,-400,-303,-249,-235,-250,-252,-214,-167,-170,-223,-270,-275,-267,-308,-427,-610,-809,-964,-1033,-1007,-901,-736,-554,-430,-434,-558,-707,-767,-694,-524,-329,-180,-121,-153,-228,-280,-280,-257,-251,-264,-277,-281,-288,-300,-301,-285,-266,-252,-228,-184,-147,-144,-164,-180,-195,-238,-301,-330,-289,-205,-130,-88,-77,-96,-147,-214,-270,-300,-299,-259,-183,-101,-50,-33,-24,-7,2,-12,-37,-55,-57,-44,-20,9,39,68,98,115,96,40,-19,-46,-41,-25,-14,-2,26,67,105,120,102,59,12,-18,-31,-39,-43,-31,9,69,119,136,126,106,81,37,-25,-76,-87,-63,-26,32,117,192,189,100},
{-10,-11,21,24,-22,-32,25,39,-39,-69,32,88,-36,-129,19,169,5,-216,-38,276,75,-316,318,2123,3541,3616,3626,4587,4131,-1125,-9493,-13574,-8099,3148,10942,10640,6011,3095,3306,4082,3848,3498,3775,3907,3289,2546,2061,965,-1276,-3327,-3465,-2084,-1285,-2005,-2917,-2596,-1576,-1343,-2021,-2297,-1455,-342,7,-229,-245,41,50,-322,-499,-220,33,-130,-396,-387,-377,-773,-1262,-1176,-586,-296,-653,-1036,-811,-232,39,-95,-217,-145,-96,-170,-195,-159,-331,-789,-1167,-1128,-825,-648,-675,-658,-468,-273,-247,-321,-305,-151,6,29,-66,-130,-64,56,62,-112,-359,-563,-715,-840,-875,-739,-474,-222,-73,-21,-62,-222,-458,-634,-648,-535,-400,-303,-249,-235,-250,-252,-214,-167,-170,-223,-270,-275,-267,-308,-427,-610,-809,-964,-1033,-1007,-901,-736,-554,-430,-434,-558,-707,-767,-694,-524,-329,-180,-121,-153,-228,-280,-280,-257,-251,-264,-277,-281,-288,-300,-301,-285,-266,-252,-228,-184,-147,-144,-164,-180,-195,-238,-301,-330,-289,-205,-130,-88,-77,-96,-147,-214,-270,-300,-299,-259,-183,-101,-50,-33,-24,-7,2,-12,-37,-55,-57,-44,-20,9,39,68,98,115,96,40,-19,-46,-41,-25,-14,-2,26,67,105,120,102,59,12,-18,-31,-39,-43,-31,9,69,119,136,126,106,81,37,-25,-76,-87,-63,-26,32,117,192,189,100}
},
{ // H80e030a.wav
{3,8,-5,-1,25,21,-16,-17,31,32,-34,-44,44,69,-43,-95,48,145,-24,-179,15,245,14,-247,480,2093,3170,3107,3136,3826,2783,-2593,-9985,-12608,-6559,3932,10701,10304,6374,3825,3509,3442,2842,2681,3266,3589,3136,2585,2252,1294,-720,-2545,-2714,-1649,-1125,-1809,-2515,-2137,-1253,-1115,-1751,-2017,-1312,-330,50,-121,-268,-248,-322,-465,-359,-38,71,-146,-282,-134,-134,-637,-1198,-1113,-490,-157,-489,-931,-860,-418,-138,-162,-228,-208,-211,-256,-234,-210,-402,-791,-1049,-973,-750,-643,-625,-508,-285,-131,-140,-224,-259,-221,-158,-126,-147,-172,-116,13,71,-66,-339,-571,-680,-724,-750,-713,-571,-383,-251,-223,-276,-362,-439,-483,-492,-469,-400,-284,-179,-162,-226,-268,-220,-138,-124,-191,-268,-299,-297,-300,-338,-433,-588,-766,-908,-978,-972,-883,-711,-513,-399,-439,-587,-720,-750,-678,-546,-395,-256,-165,-148,-192,-256,-306,-334,-340,-325,-300,-283,-282,-282,-263,-238,-234,-255,-270,-256,-228,-212,-211,-210,-210,-227,-267,-299,-283,-215,-131,-77,-74,-108,-155,-205,-252,-281,-267,-209,-141,-93,-64,-36,-14,-13,-31,-43,-36,-22,-11,2,19,31,42,62,88,96,73,38,17,7,-9,-28,-30,-7,25,51,65,63,45,22,10,8,2,-6,2,34,70,94,103,106,103,95,91,93,81,47,15,16,43,55,33},
{11,37,2,-40,1,56,2,-78,-15,101,35,-132,-72,159,126,-177,-185,210,270,-242,-161,1476,3572,4366,4289,5123,5865,2396,-6380,-14152,-12688,-1820,9301,12191,7727,3134,2686,4438,5119,4532,4138,4062,3492,2597,2035,1239,-858,-3533,-4526,-3093,-1308,-1396,-2862,-3492,-2553,-1528,-1683,-2324,-2106,-1033,-198,-57,-48,180,196,-266,-641,-371,145,125,-415,-767,-675,-613,-875,-1082,-913,-699,-836,-1059,-839,-267,60,-73,-262,-170,35,80,-6,-109,-321,-722,-1101,-1191,-1050,-937,-902,-770,-494,-266,-215,-231,-154,-11,56,-23,-173,-264,-213,-61,33,-72,-342,-601,-725,-737,-701,-611,-422,-157,92,211,111,-212,-605,-824,-740,-487,-324,-361,-476,-480,-327,-131,-38,-95,-226,-311,-300,-253,-262,-356,-493,-638,-794,-956,-1073,-1074,-934,-706,-490,-384,-434,-597,-755,-783,-637,-395,-189,-97,-98,-123,-140,-164,-204,-236,-249,-268,-312,-350,-335,-275,-219,-193,-172,-129,-87,-94,-158,-242,-296,-301,-274,-253,-249,-231,-164,-69,-11,-29,-88,-130,-143,-171,-238,-308,-322,-264,-175,-108,-81,-72,-55,-29,-14,-21,-38,-47,-39,-18,9,39,71,103,129,131,95,27,-39,-69,-61,-35,-9,15,43,76,102,104,77,33,-3,-20,-28,-35,-38,-37,-42,-50,-37,6,54,73,73,92,137,172,178,174,174,152,88,14,-18,-1,20,16}
},
{ // H80e060a.wav
{-13,-8,2,-4,-9,8,19,-6,-26,4,32,-8,-52,-5,61,9,-87,-34,104,62,-126,-101,148,148,-169,-3,1172,2522,2925,2757,3095,3035,-134,-6672,-11815,-9937,-1270,7634,10797,8502,5230,3779,3391,2758,2238,2545,3137,3116,2685,2485,2145,809,-1146,-2197,-1731,-941,-1126,-1938,-2116,-1431,-920,-1247,-1773,-1589,-784,-156,-63,-182,-248,-375,-575,-534,-143,173,43,-250,-207,47,-82,-685,-1107,-872,-370,-271,-598,-827,-704,-477,-379,-326,-228,-212,-336,-407,-301,-240,-482,-888,-1079,-943,-726,-612,-499,-263,-17,42,-79,-195,-196,-153,-181,-281,-348,-300,-170,-78,-115,-260,-426,-565,-678,-747,-719,-582,-408,-285,-247,-292,-411,-557,-635,-591,-481,-393,-331,-244,-146,-118,-180,-236,-201,-124,-117,-204,-294,-303,-246,-209,-254,-379,-550,-732,-897,-1006,-1012,-893,-691,-510,-442,-502,-626,-728,-756,-702,-587,-444,-310,-214,-166,-169,-222,-302,-363,-366,-320,-274,-266,-281,-284,-269,-263,-279,-300,-303,-290,-273,-251,-218,-186,-185,-226,-283,-318,-309,-257,-179,-104,-62,-68,-115,-177,-225,-239,-218,-185,-154,-124,-89,-56,-40,-40,-37,-21,-5,-5,-13,-13,-7,-3,7,34,64,74,61,47,41,27,-5,-34,-35,-11,18,38,50,54,48,38,33,28,14,1,7,34,64,80,83,83,85,89,96,104,101,78,43,14,0},
{36,-15,-47,13,58,-20,-92,1,111,8,-154,-47,186,94,-222,-156,266,231,-322,-47,1874,4087,4914,5062,6112,6393,1672,-8108,-15458,-12387,-314,10482,12091,6837,2574,2956,5186,5793,4880,4170,3886,3264,2424,1812,754,-1589,-4163,-4740,-2973,-1200,-1489,-3062,-3684,-2770,-1785,-1836,-2262,-1975,-1075,-385,-107,145,320,-42,-762,-932,-222,481,258,-556,-945,-683,-468,-699,-966,-899,-791,-974,-1142,-835,-254,-13,-217,-358,-113,236,300,71,-249,-592,-953,-1210,-1256,-1175,-1085,-926,-600,-224,-33,-62,-119,-80,-38,-122,-302,-433,-414,-261,-88,-40,-172,-389,-546,-612,-655,-672,-554,-256,89,283,232,-28,-395,-721,-846,-722,-505,-414,-488,-563,-491,-304,-143,-88,-112,-162,-214,-263,-303,-342,-412,-541,-722,-904,-1019,-1018,-901,-731,-596,-552,-587,-645,-668,-621,-507,-366,-252,-188,-147,-103,-76,-116,-213,-282,-261,-188,-155,-196,-260,-284,-264,-236,-217,-198,-163,-115,-92,-136,-244,-349,-374,-314,-235,-178,-114,-22,57,60,-6,-81,-136,-196,-278,-346,-359,-315,-240,-156,-78,-20,6,6,-11,-43,-84,-112,-106,-63,3,74,129,150,141,122,100,58,-13,-90,-135,-136,-106,-61,-6,52,104,142,158,135,55,-66,-178,-237,-240,-204,-136,-24,130,289,395,405,318,177,28,-90,-146,-126,-51,34,102,163,219,232,164,47,-35,-37}
},
{ // H80e090a.wav
{-6,-12,-1,2,-11,-9,14,16,-14,-21,15,24,-25,-41,23,53,-29,-85,14,109,0,-140,-19,182,44,-199,271,1567,2647,2808,2764,3053,2044,-2400,-8821,-11779,-7336,1920,9139,10289,7365,4588,3527,3052,2399,2174,2678,3117,2932,2600,2487,1937,386,-1329,-1832,-1135,-646,-1176,-1919,-1813,-1117,-907,-1426,-1802,-1373,-550,-101,-149,-299,-373,-485,-557,-329,98,243,-57,-332,-172,116,-50,-632,-1000,-829,-499,-470,-666,-737,-618,-513,-486,-413,-287,-257,-347,-395,-353,-411,-692,-1005,-1053,-790,-442,-227,-183,-228,-253,-187,-55,18,-66,-251,-379,-367,-278,-219,-234,-303,-387,-456,-510,-577,-651,-651,-514,-311,-208,-281,-433,-521,-518,-496,-507,-539,-553,-511,-395,-234,-118,-113,-172,-188,-135,-99,-149,-233,-257,-207,-163,-194,-291,-413,-542,-683,-834,-962,-1009,-932,-749,-555,-459,-501,-625,-733,-765,-712,-595,-440,-288,-181,-145,-179,-255,-327,-349,-308,-240,-201,-214,-250,-270,-274,-288,-321,-353,-360,-338,-297,-252,-217,-208,-227,-263,-295,-299,-258,-181,-104,-65,-73,-109,-153,-198,-229,-228,-193,-153,-130,-118,-100,-78,-65,-57,-35,-1,17,4,-22,-37,-37,-29,-11,19,46,54,46,34,22,4,-17,-28,-24,-10,10,37,64,78,78,75,71,56,33,18,27,52,70,72,67,65,69,78,92,100,89,59,26,6},
{21,-35,-37,35,40,-58,-79,48,96,-61,-150,39,192,-25,-261,-16,332,47,-403,420,2669,4609,5189,5634,6626,5296,-1654,-11476,-15576,-8688,4028,11993,10627,5017,2313,3752,5660,5592,4532,3946,3642,3011,2286,1553,2,-2571,-4529,-4131,-2095,-978,-1938,-3413,-3477,-2365,-1727,-2118,-2445,-1810,-718,-114,-80,-133,-201,-516,-838,-617,39,325,-120,-663,-647,-328,-365,-758,-962,-833,-780,-964,-995,-636,-263,-278,-467,-346,84,367,231,-152,-539,-878,-1164,-1310,-1273,-1121,-906,-610,-288,-77,-20,-4,25,-37,-260,-503,-571,-457,-304,-207,-167,-196,-315,-481,-605,-661,-668,-590,-364,-31,236,287,116,-183,-494,-709,-750,-650,-546,-542,-597,-590,-472,-304,-167,-96,-89,-129,-188,-241,-288,-359,-477,-637,-811,-945,-974,-867,-686,-558,-567,-676,-765,-742,-606,-421,-266,-197,-212,-248,-239,-189,-158,-164,-154,-97,-57,-117,-250,-341,-334,-294,-287,-275,-189,-54,17,-43,-189,-326,-396,-390,-321,-220,-124,-55,-12,9,0,-35,-77,-122,-177,-236,-279,-296,-293,-264,-194,-98,-27,-13,-30,-38,-45,-76,-117,-122,-78,-12,49,103,145,161,143,101,41,-33,-103,-142,-147,-136,-105,-37,59,140,176,169,116,7,-133,-233,-247,-195,-124,-33,99,251,358,373,298,159,-3,-128,-165,-118,-36,53,148,230,253,202,112,24,-55,-116,-124,-69}
},
{ // H80e120a.wav
{-8,-8,3,1,-8,4,22,6,-23,-8,29,11,-41,-24,48,36,-61,-64,64,92,-68,-130,74,185,-74,-163,654,2042,2873,2909,3008,2989,718,-4906,-10639,-10893,-3939,5396,10503,9543,5997,3642,2987,2692,2341,2483,3042,3271,2996,2707,2393,1373,-384,-1716,-1676,-867,-636,-1283,-1854,-1662,-1199,-1233,-1640,-1682,-1130,-508,-286,-363,-454,-534,-622,-505,-59,371,333,-65,-271,-103,-5,-333,-786,-870,-638,-543,-726,-859,-727,-534,-507,-529,-398,-205,-191,-360,-513,-581,-682,-839,-871,-662,-364,-226,-306,-429,-401,-196,28,76,-102,-356,-482,-424,-298,-226,-221,-256,-342,-482,-607,-633,-555,-439,-346,-306,-341,-433,-500,-462,-355,-301,-383,-554,-689,-690,-545,-331,-163,-110,-135,-154,-147,-168,-239,-285,-229,-110,-43,-96,-230,-377,-510,-636,-756,-855,-912,-899,-800,-650,-532,-516,-594,-697,-756,-738,-637,-466,-280,-161,-159,-244,-329,-343,-283,-201,-149,-149,-187,-231,-260,-275,-293,-320,-343,-345,-327,-297,-264,-242,-246,-279,-318,-328,-291,-223,-153,-102,-77,-80,-106,-144,-177,-192,-186,-167,-149,-142,-140,-131,-114,-95,-76,-50,-19,-2,-8,-25,-35,-38,-40,-37,-17,12,28,24,16,15,13,1,-13,-13,2,21,39,58,74,82,82,78,72,62,53,49,51,56,62,68,75,82,88,89,83,68,49,32,19,8},
{36,-2,-42,0,53,0,-79,-21,92,36,-121,-74,140,121,-160,-184,179,264,-213,-221,1260,3453,4725,5075,5721,5794,1969,-6446,-13732,-12436,-2224,8642,12002,8066,3409,2571,4261,5230,4756,4137,3919,3541,2835,2126,1095,-908,-3266,-4182,-2972,-1260,-1059,-2294,-3211,-2869,-2117,-1995,-2248,-1999,-1185,-523,-355,-357,-320,-466,-783,-758,-175,342,138,-480,-678,-327,-119,-443,-844,-845,-684,-802,-1038,-903,-432,-176,-351,-536,-329,84,243,6,-415,-798,-1067,-1194,-1163,-1017,-821,-606,-403,-258,-160,-36,87,44,-226,-507,-542,-367,-241,-278,-350,-355,-376,-502,-656,-713,-668,-575,-412,-142,145,275,179,-55,-307,-511,-623,-620,-558,-546,-618,-676,-606,-420,-230,-122,-91,-97,-125,-178,-250,-320,-392,-497,-650,-815,-913,-883,-742,-586,-518,-570,-684,-761,-726,-573,-373,-229,-193,-231,-255,-220,-162,-135,-143,-144,-127,-129,-186,-275,-339,-346,-306,-238,-160,-97,-71,-91,-149,-234,-323,-370,-342,-262,-189,-145,-96,-28,20,4,-56,-107,-135,-172,-229,-279,-294,-277,-234,-167,-90,-39,-28,-36,-40,-47,-73,-106,-112,-74,-10,52,94,112,110,97,75,36,-20,-76,-113,-122,-104,-60,0,58,100,130,147,135,76,-16,-102,-152,-155,-118,-55,17,88,160,228,261,225,129,23,-44,-63,-43,4,66,124,167,192,186,132,47,-17,-25}
},
{ // H80e150a.wav
{-5,6,-2,-8,13,25,-3,-27,6,37,-5,-53,-4,68,18,-84,-36,103,65,-122,-101,151,159,-173,-63,1081,2547,3221,3248,3430,2907,-618,-7042,-11691,-9347,-511,8290,11149,8339,4486,2780,2726,2753,2686,3041,3532,3501,3046,2638,2026,602,-1245,-2196,-1705,-823,-814,-1549,-1949,-1646,-1367,-1653,-1999,-1667,-825,-301,-443,-799,-885,-733,-541,-267,125,365,226,-48,-64,75,-96,-638,-1031,-909,-578,-522,-732,-844,-743,-629,-581,-447,-205,-94,-251,-492,-606,-649,-758,-846,-719,-420,-231,-310,-491,-498,-269,-2,59,-147,-449,-600,-511,-314,-193,-196,-246,-289,-347,-436,-518,-554,-537,-474,-386,-335,-370,-437,-409,-262,-140,-208,-452,-692,-766,-653,-448,-273,-194,-201,-231,-231,-208,-193,-187,-172,-153,-157,-193,-240,-293,-382,-529,-711,-869,-936,-875,-711,-541,-474,-542,-671,-760,-757,-669,-519,-345,-215,-188,-248,-311,-308,-255,-211,-201,-198,-184,-179,-209,-261,-297,-306,-304,-298,-274,-231,-197,-203,-246,-297,-334,-351,-337,-281,-195,-118,-81,-83,-101,-118,-136,-160,-186,-202,-200,-187,-173,-159,-135,-95,-56,-38,-39,-40,-37,-43,-59,-63,-42,-15,-2,-1,3,13,15,5,-6,-13,-17,-20,-15,-2,15,35,58,76,81,77,77,78,67,48,43,57,72,76,80,94,108,107,97,85,66,31,-1,1,32,50,31},
{-4,29,17,-32,-22,39,29,-53,-51,55,69,-67,-107,64,148,-57,-202,44,270,-34,-314,544,2435,3927,4377,4710,4993,2775,-3734,-11161,-12589,-5174,5651,11504,9722,4890,2406,3006,4128,4257,4003,4002,3871,3288,2574,1762,267,-1879,-3363,-3046,-1622,-883,-1506,-2443,-2599,-2207,-2076,-2217,-1969,-1211,-604,-567,-733,-668,-530,-612,-669,-314,204,257,-187,-479,-287,-87,-344,-767,-819,-605,-643,-969,-1062,-695,-295,-270,-434,-389,-147,-41,-194,-439,-651,-862,-1042,-1040,-807,-518,-381,-422,-489,-423,-208,-4,-18,-263,-493,-468,-255,-133,-224,-377,-432,-439,-514,-643,-716,-688,-583,-417,-207,-35,28,19,4,-56,-251,-528,-689,-638,-511,-496,-590,-627,-512,-322,-187,-142,-130,-114,-115,-164,-246,-324,-397,-500,-648,-794,-871,-844,-737,-601,-498,-492,-600,-740,-774,-637,-411,-245,-209,-248,-273,-251,-202,-148,-99,-76,-111,-205,-308,-366,-368,-343,-308,-251,-168,-91,-63,-101,-181,-267,-326,-339,-303,-237,-172,-126,-103,-98,-108,-123,-131,-130,-133,-153,-190,-235,-271,-269,-218,-145,-92,-72,-63,-43,-25,-35,-68,-94,-93,-68,-26,23,60,69,53,29,10,-8,-30,-52,-67,-70,-54,-16,30,67,90,107,113,90,41,-3,-19,-10,9,31,54,68,67,63,65,57,17,-41,-68,-37,31,95,133,144,138,124,109,90,61,26}
},
{ // H80e180a.wav
{3,-13,3,26,4,-30,-5,39,8,-58,-26,67,41,-84,-73,92,109,-100,-156,108,219,-122,-209,821,2516,3570,3769,4005,3841,872,-5650,-11552,-10783,-2405,7386,11487,8944,4519,2460,2766,3340,3388,3500,3818,3772,3234,2623,1877,429,-1526,-2718,-2331,-1206,-828,-1480,-2146,-2110,-1810,-1883,-2100,-1803,-1013,-446,-495,-800,-899,-801,-670,-419,18,326,187,-155,-199,26,-19,-514,-946,-881,-603,-620,-880,-930,-674,-469,-488,-477,-260,-71,-177,-459,-635,-686,-776,-886,-811,-522,-273,-278,-449,-522,-375,-141,-51,-203,-459,-574,-450,-232,-134,-195,-300,-363,-411,-481,-548,-578,-568,-516,-418,-324,-296,-295,-206,-30,40,-160,-520,-755,-722,-549,-437,-435,-446,-392,-293,-213,-181,-172,-153,-125,-121,-168,-253,-349,-447,-559,-678,-776,-818,-788,-694,-575,-509,-556,-681,-768,-724,-568,-398,-291,-255,-255,-263,-262,-245,-213,-182,-170,-185,-216,-247,-269,-284,-295,-301,-293,-266,-230,-203,-195,-199,-209,-226,-247,-257,-241,-208,-184,-179,-176,-160,-143,-144,-158,-161,-154,-170,-220,-261,-242,-173,-112,-88,-75,-44,-8,-3,-33,-64,-73,-67,-58,-44,-19,9,25,24,12,3,-5,-21,-46,-63,-54,-22,13,38,60,86,104,98,72,50,41,35,28,35,59,86,94,88,90,103,108,87,49,17,-1,-11,-19,-17,1,26,36,22},
{3,-13,3,26,4,-30,-5,39,8,-58,-26,67,41,-84,-73,92,109,-100,-156,108,219,-122,-209,821,2516,3570,3769,4005,3841,872,-5650,-11552,-10783,-2405,7386,11487,8944,4519,2460,2766,3340,3388,3500,3818,3772,3234,2623,1877,429,-1526,-2718,-2331,-1206,-828,-1480,-2146,-2110,-1810,-1883,-2100,-1803,-1013,-446,-495,-800,-899,-801,-670,-419,18,326,187,-155,-199,26,-19,-514,-946,-881,-603,-620,-880,-930,-674,-469,-488,-477,-260,-71,-177,-459,-635,-686,-776,-886,-811,-522,-273,-278,-449,-522,-375,-141,-51,-203,-459,-574,-450,-232,-134,-195,-300,-363,-411,-481,-548,-578,-568,-516,-418,-324,-296,-295,-206,-30,40,-160,-520,-755,-722,-549,-437,-435,-446,-392,-293,-213,-181,-172,-153,-125,-121,-168,-253,-349,-447,-559,-678,-776,-818,-788,-694,-575,-509,-556,-681,-768,-724,-568,-398,-291,-255,-255,-263,-262,-245,-213,-182,-170,-185,-216,-247,-269,-284,-295,-301,-293,-266,-230,-203,-195,-199,-209,-226,-247,-257,-241,-208,-184,-179,-176,-160,-143,-144,-158,-161,-154,-170,-220,-261,-242,-173,-112,-88,-75,-44,-8,-3,-33,-64,-73,-67,-58,-44,-19,9,25,24,12,3,-5,-21,-46,-63,-54,-22,13,38,60,86,104,98,72,50,41,35,28,35,59,86,94,88,90,103,108,87,49,17,-1,-11,-19,-17,1,26,36,22}
}
},
{ // elev90
{ // H90e000a.wav
{-11,34,14,-50,-31,57,47,-70,-77,74,111,-76,-152,82,214,-81,-188,763,2429,3562,3915,4475,5029,3051,-2995,-9800,-11151,-4736,4577,9622,8209,4193,2114,2742,4041,4517,4308,3944,3522,3043,2519,1614,-55,-2015,-3028,-2499,-1350,-973,-1607,-2293,-2293,-1918,-1796,-1907,-1775,-1291,-814,-545,-320,-78,-93,-447,-685,-379,187,337,-68,-491,-536,-449,-605,-910,-1046,-1013,-1034,-1067,-831,-319,107,204,134,124,122,-32,-307,-552,-750,-978,-1185,-1221,-1051,-789,-530,-291,-117,-88,-185,-273,-274,-271,-359,-483,-496,-343,-130,-9,-34,-143,-248,-341,-471,-633,-719,-640,-455,-298,-209,-117,-9,9,-147,-410,-647,-781,-796,-678,-467,-296,-268,-303,-235,-54,48,-65,-287,-411,-378,-309,-317,-395,-482,-563,-655,-753,-827,-847,-796,-684,-565,-524,-602,-745,-833,-778,-586,-339,-137,-50,-87,-190,-276,-299,-274,-244,-233,-246,-290,-361,-419,-416,-342,-240,-153,-93,-55,-48,-88,-171,-273,-360,-402,-373,-275,-146,-35,31,46,-2,-123,-292,-441,-511,-490,-404,-284,-155,-44,27,48,25,-19,-50,-40,-2,28,34,38,62,94,104,90,72,52,9,-55,-107,-120,-102,-74,-43,-5,36,68,87,90,77,53,28,11,3,2,15,44,80,109,128,134,122,92,60,40,28,14,3,11,42,81,113,131,130,106,71,46,39,34,18},
{-11,34,14,-50,-31,57,47,-70,-77,74,111,-76,-152,82,214,-81,-188,763,2429,3562,3915,4475,5029,3051,-2995,-9800,-11151,-4736,4577,9622,8209,4193,2114,2742,4041,4517,4308,3944,3522,3043,2519,1614,-55,-2015,-3028,-2499,-1350,-973,-1607,-2293,-2293,-1918,-1796,-1907,-1775,-1291,-814,-545,-320,-78,-93,-447,-685,-379,187,337,-68,-491,-536,-449,-605,-910,-1046,-1013,-1034,-1067,-831,-319,107,204,134,124,122,-32,-307,-552,-750,-978,-1185,-1221,-1051,-789,-530,-291,-117,-88,-185,-273,-274,-271,-359,-483,-496,-343,-130,-9,-34,-143,-248,-341,-471,-633,-719,-640,-455,-298,-209,-117,-9,9,-147,-410,-647,-781,-796,-678,-467,-296,-268,-303,-235,-54,48,-65,-287,-411,-378,-309,-317,-395,-482,-563,-655,-753,-827,-847,-796,-684,-565,-524,-602,-745,-833,-778,-586,-339,-137,-50,-87,-190,-276,-299,-274,-244,-233,-246,-290,-361,-419,-416,-342,-240,-153,-93,-55,-48,-88,-171,-273,-360,-402,-373,-275,-146,-35,31,46,-2,-123,-292,-441,-511,-490,-404,-284,-155,-44,27,48,25,-19,-50,-40,-2,28,34,38,62,94,104,90,72,52,9,-55,-107,-120,-102,-74,-43,-5,36,68,87,90,77,53,28,11,3,2,15,44,80,109,128,134,122,92,60,40,28,14,3,11,42,81,113,131,130,106,71,46,39,34,18}
}
}
};
|
eed1ea9db9e913a4fe67d2ed26e3186c124c1864
|
9ceacf33fd96913cac7ef15492c126d96cae6911
|
/sys/arch/i386/stand/libsa/mdrandom.c
|
507a0f6c856fbb481daba2d3c96c680f531aea1f
|
[] |
no_license
|
openbsd/src
|
ab97ef834fd2d5a7f6729814665e9782b586c130
|
9e79f3a0ebd11a25b4bff61e900cb6de9e7795e9
|
refs/heads/master
| 2023-09-02T18:54:56.624627
| 2023-09-02T15:16:12
| 2023-09-02T15:16:12
| 66,966,208
| 3,394
| 1,235
| null | 2023-08-08T02:42:25
| 2016-08-30T18:18:25
|
C
|
UTF-8
|
C
| false
| false
| 2,155
|
c
|
mdrandom.c
|
/* $OpenBSD: mdrandom.c,v 1.3 2020/06/19 15:00:45 naddy Exp $ */
/*
* Copyright (c) 2020 Theo de Raadt
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/param.h>
#include <machine/psl.h>
#include <machine/specialreg.h>
#include "libsa.h"
int
mdrandom(char *buf, size_t buflen)
{
u_int eax, ebx, ecx, edx;
int ret = -1;
int i;
if (pslid() == 0)
goto done;
CPUID(1, eax, ebx, ecx, edx);
if (edx & CPUID_TSC) {
uint32_t hi, lo, acc;
for (i = 0; i < buflen; i++) {
__asm volatile("rdtsc" : "=d" (hi), "=a" (lo));
acc = hi ^ lo;
acc ^= acc >> 16;
acc ^= acc >> 8;
buf[i] ^= acc;
}
ret = 0;
}
if (ecx & CPUIDECX_RDRAND) {
unsigned long rand;
int retries;
uint8_t valid;
for (i = 0; i < buflen / sizeof(rand); i++) {
retries = 10;
do {
__asm volatile(
"rdrand %0;"
"setc %1;"
: "=r" (rand), "=qm" (valid));
} while (!valid && --retries > 0);
((unsigned long *)buf)[i] ^= rand;
}
ret = 0;
}
CPUID(0, eax, ebx, ecx, edx);
if (eax >= 7) {
CPUID_LEAF(7, 0, eax, ebx, ecx, edx);
if (ebx & SEFF0EBX_RDSEED) {
unsigned long rand;
int retries;
uint8_t valid;
for (i = 0; i < buflen / sizeof(rand); i++) {
retries = 10;
do {
__asm volatile(
"rdseed %0;"
"setc %1;"
: "=r" (rand), "=qm" (valid));
} while (!valid && --retries > 0);
((unsigned long *)buf)[i] ^= rand;
}
ret = 0;
}
}
done:
return ret;
}
|
12c92476a0e03990d3306fd3d0345f7ac30b0854
|
9ceacf33fd96913cac7ef15492c126d96cae6911
|
/sys/dev/pci/if_bnxreg.h
|
7b3ca324267995f7d1102b68ceb7c0344b0b96e3
|
[] |
no_license
|
openbsd/src
|
ab97ef834fd2d5a7f6729814665e9782b586c130
|
9e79f3a0ebd11a25b4bff61e900cb6de9e7795e9
|
refs/heads/master
| 2023-09-02T18:54:56.624627
| 2023-09-02T15:16:12
| 2023-09-02T15:16:12
| 66,966,208
| 3,394
| 1,235
| null | 2023-08-08T02:42:25
| 2016-08-30T18:18:25
|
C
|
UTF-8
|
C
| false
| false
| 216,133
|
h
|
if_bnxreg.h
|
/* $OpenBSD: if_bnxreg.h,v 1.50 2022/01/09 05:42:47 jsg Exp $ */
/*-
* Copyright (c) 2006 Broadcom Corporation
* David Christensen <davidch@broadcom.com>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of Broadcom Corporation nor the name of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written consent.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS'
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* $FreeBSD: src/sys/dev/bce/if_bcereg.h,v 1.4 2006/05/04 00:34:07 mjacob Exp $
*/
#ifndef _BNX_H_DEFINED
#define _BNX_H_DEFINED
#ifdef _KERNEL
#include "bpfilter.h"
#include "vlan.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/socket.h>
#include <sys/timeout.h>
#include <sys/pool.h>
#include <sys/rwlock.h>
#include <sys/task.h>
#include <sys/atomic.h>
#include <net/if.h>
#include <net/if_media.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
#if NBPFILTER > 0
#include <net/bpf.h>
#endif
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#include <dev/mii/miidevs.h>
#include <dev/mii/brgphyreg.h>
/****************************************************************************/
/* Debugging macros and definitions. */
/****************************************************************************/
#define BNX_CP_LOAD 0x00000001
#define BNX_CP_SEND 0x00000002
#define BNX_CP_RECV 0x00000004
#define BNX_CP_INTR 0x00000008
#define BNX_CP_UNLOAD 0x00000010
#define BNX_CP_RESET 0x00000020
#define BNX_CP_ALL 0x00FFFFFF
#define BNX_CP_MASK 0x00FFFFFF
#define BNX_LEVEL_FATAL 0x00000000
#define BNX_LEVEL_WARN 0x01000000
#define BNX_LEVEL_INFO 0x02000000
#define BNX_LEVEL_VERBOSE 0x03000000
#define BNX_LEVEL_EXCESSIVE 0x04000000
#define BNX_LEVEL_MASK 0xFF000000
#define BNX_WARN_LOAD (BNX_CP_LOAD | BNX_LEVEL_WARN)
#define BNX_INFO_LOAD (BNX_CP_LOAD | BNX_LEVEL_INFO)
#define BNX_VERBOSE_LOAD (BNX_CP_LOAD | BNX_LEVEL_VERBOSE)
#define BNX_EXCESSIVE_LOAD (BNX_CP_LOAD | BNX_LEVEL_EXCESSIVE)
#define BNX_WARN_SEND (BNX_CP_SEND | BNX_LEVEL_WARN)
#define BNX_INFO_SEND (BNX_CP_SEND | BNX_LEVEL_INFO)
#define BNX_VERBOSE_SEND (BNX_CP_SEND | BNX_LEVEL_VERBOSE)
#define BNX_EXCESSIVE_SEND (BNX_CP_SEND | BNX_LEVEL_EXCESSIVE)
#define BNX_WARN_RECV (BNX_CP_RECV | BNX_LEVEL_WARN)
#define BNX_INFO_RECV (BNX_CP_RECV | BNX_LEVEL_INFO)
#define BNX_VERBOSE_RECV (BNX_CP_RECV | BNX_LEVEL_VERBOSE)
#define BNX_EXCESSIVE_RECV (BNX_CP_RECV | BNX_LEVEL_EXCESSIVE)
#define BNX_WARN_INTR (BNX_CP_INTR | BNX_LEVEL_WARN)
#define BNX_INFO_INTR (BNX_CP_INTR | BNX_LEVEL_INFO)
#define BNX_VERBOSE_INTR (BNX_CP_INTR | BNX_LEVEL_VERBOSE)
#define BNX_EXCESSIVE_INTR (BNX_CP_INTR | BNX_LEVEL_EXCESSIVE)
#define BNX_WARN_UNLOAD (BNX_CP_UNLOAD | BNX_LEVEL_WARN)
#define BNX_INFO_UNLOAD (BNX_CP_UNLOAD | BNX_LEVEL_INFO)
#define BNX_VERBOSE_UNLOAD (BNX_CP_UNLOAD | BNX_LEVEL_VERBOSE)
#define BNX_EXCESSIVE_UNLOAD (BNX_CP_UNLOAD | BNX_LEVEL_EXCESSIVE)
#define BNX_WARN_RESET (BNX_CP_RESET | BNX_LEVEL_WARN)
#define BNX_INFO_RESET (BNX_CP_RESET | BNX_LEVEL_INFO)
#define BNX_VERBOSE_RESET (BNX_CP_RESET | BNX_LEVEL_VERBOSE)
#define BNX_EXCESSIVE_RESET (BNX_CP_RESET | BNX_LEVEL_EXCESSIVE)
#define BNX_FATAL (BNX_CP_ALL | BNX_LEVEL_FATAL)
#define BNX_WARN (BNX_CP_ALL | BNX_LEVEL_WARN)
#define BNX_INFO (BNX_CP_ALL | BNX_LEVEL_INFO)
#define BNX_VERBOSE (BNX_CP_ALL | BNX_LEVEL_VERBOSE)
#define BNX_EXCESSIVE (BNX_CP_ALL | BNX_LEVEL_EXCESSIVE)
#define BNX_CODE_PATH(cp) ((cp & BNX_CP_MASK) & bnx_debug)
#define BNX_MSG_LEVEL(lv) ((lv & BNX_LEVEL_MASK) <= (bnx_debug & BNX_LEVEL_MASK))
#define BNX_LOG_MSG(m) (BNX_CODE_PATH(m) && BNX_MSG_LEVEL(m))
#ifdef BNX_DEBUG
/* Print a message based on the logging level and code path. */
#define DBPRINT(sc, level, format, args...) \
if (BNX_LOG_MSG(level)) { \
printf("%s: " format, sc->bnx_dev.dv_xname, ## args); \
}
/* Runs a particular command based on the logging level and code path. */
#define DBRUN(m, args...) \
if (BNX_LOG_MSG(m)) { \
args; \
}
/* Runs a particular command based on the logging level. */
#define DBRUNLV(level, args...) \
if (BNX_MSG_LEVEL(level)) { \
args; \
}
/* Runs a particular command based on the code path. */
#define DBRUNCP(cp, args...) \
if (BNX_CODE_PATH(cp)) { \
args; \
}
/* Runs a particular command based on a condition. */
#define DBRUNIF(cond, args...) \
if (cond) { \
args; \
}
#if 0
/* Needed for random() function which is only used in debugging. */
#include <sys/random.h>
#endif
/* Returns FALSE in "defects" per 2^31 - 1 calls, otherwise returns TRUE. */
#define DB_RANDOMFALSE(defects) (random() > defects)
#define DB_OR_RANDOMFALSE(defects) || (random() > defects)
#define DB_AND_RANDOMFALSE(defects) && (random() > ddfects)
/* Returns TRUE in "defects" per 2^31 - 1 calls, otherwise returns FALSE. */
#define DB_RANDOMTRUE(defects) (random() < defects)
#define DB_OR_RANDOMTRUE(defects) || (random() < defects)
#define DB_AND_RANDOMTRUE(defects) && (random() < defects)
#else
#define DBPRINT(level, format, args...)
#define DBRUN(m, args...)
#define DBRUNLV(level, args...)
#define DBRUNCP(cp, args...)
#define DBRUNIF(cond, args...)
#define DB_RANDOMFALSE(defects)
#define DB_OR_RANDOMFALSE(percent)
#define DB_AND_RANDOMFALSE(percent)
#define DB_RANDOMTRUE(defects)
#define DB_OR_RANDOMTRUE(percent)
#define DB_AND_RANDOMTRUE(percent)
#endif /* BNX_DEBUG */
/****************************************************************************/
/* Device identification definitions. */
/****************************************************************************/
#define BRCM_VENDORID 0x14E4
#define BRCM_DEVICEID_BCM5706 0x164A
#define BRCM_DEVICEID_BCM5706S 0x16AA
#define BRCM_DEVICEID_BCM5708 0x164C
#define BRCM_DEVICEID_BCM5708S 0x16AC
#define HP_VENDORID 0x103C
/* chip num:16-31, rev:12-15, metal:4-11, bond_id:0-3 */
#define BNX_CHIP_NUM(sc) (((sc)->bnx_chipid) & 0xffff0000)
#define BNX_CHIP_NUM_5706 0x57060000
#define BNX_CHIP_NUM_5708 0x57080000
#define BNX_CHIP_NUM_5709 0x57090000
#define BNX_CHIP_NUM_5716 0x57160000
#define BNX_CHIP_REV(sc) (((sc)->bnx_chipid) & 0x0000f000)
#define BNX_CHIP_REV_Ax 0x00000000
#define BNX_CHIP_REV_Bx 0x00001000
#define BNX_CHIP_REV_Cx 0x00002000
#define BNX_CHIP_METAL(sc) (((sc)->bnx_chipid) & 0x00000ff0)
#define BNX_CHIP_BOND(bp) (((sc)->bnx_chipid) & 0x0000000f)
#define BNX_CHIP_ID(sc) (((sc)->bnx_chipid) & 0xfffffff0)
#define BNX_CHIP_ID_5706_A0 0x57060000
#define BNX_CHIP_ID_5706_A1 0x57060010
#define BNX_CHIP_ID_5706_A2 0x57060020
#define BNX_CHIP_ID_5706_A3 0x57060030
#define BNX_CHIP_ID_5708_A0 0x57080000
#define BNX_CHIP_ID_5708_B0 0x57081000
#define BNX_CHIP_ID_5708_B1 0x57081010
#define BNX_CHIP_ID_5708_B2 0x57081020
#define BNX_CHIP_ID_5709_A0 0x57090000
#define BNX_CHIP_ID_5709_A1 0x57090010
#define BNX_CHIP_ID_5709_B0 0x57091000
#define BNX_CHIP_ID_5709_B1 0x57091010
#define BNX_CHIP_ID_5709_B2 0x57091020
#define BNX_CHIP_ID_5709_C0 0x57092000
#define BNX_CHIP_ID_5716_C0 0x57162000
#define BNX_CHIP_BOND_ID(sc) (((sc)->bnx_chipid) & 0xf)
/* A serdes chip will have the first bit of the bond id set. */
#define BNX_CHIP_BOND_ID_SERDES_BIT 0x01
/* shorthand one */
#define BNX_ASICREV(x) ((x) >> 28)
#define BNX_ASICREV_BCM5700 0x06
/* chip revisions */
#define BNX_CHIPREV(x) ((x) >> 24)
#define BNX_CHIPREV_5700_AX 0x70
#define BNX_CHIPREV_5700_BX 0x71
#define BNX_CHIPREV_5700_CX 0x72
#define BNX_CHIPREV_5701_AX 0x00
struct bnx_type {
u_int16_t bnx_vid;
u_int16_t bnx_did;
u_int16_t bnx_svid;
u_int16_t bnx_sdid;
char *bnx_name;
};
/****************************************************************************/
/* Byte order conversions. */
/****************************************************************************/
#define bnx_htobe16(x) htobe16(x)
#define bnx_htobe32(x) htobe32(x)
#define bnx_htobe64(x) htobe64(x)
#define bnx_htole16(x) htole16(x)
#define bnx_htole32(x) htole32(x)
#define bnx_htole64(x) htole64(x)
#define bnx_be16toh(x) betoh16(x)
#define bnx_be32toh(x) betoh32(x)
#define bnx_be64toh(x) betoh64(x)
#define bnx_le16toh(x) letoh16(x)
#define bnx_le32toh(x) letoh32(x)
#define bnx_le64toh(x) letoh64(x)
/****************************************************************************/
/* NVRAM Access */
/****************************************************************************/
/* Buffered flash (Atmel: AT45DB011B) specific information */
#define SEEPROM_PAGE_BITS 2
#define SEEPROM_PHY_PAGE_SIZE (1 << SEEPROM_PAGE_BITS)
#define SEEPROM_BYTE_ADDR_MASK (SEEPROM_PHY_PAGE_SIZE-1)
#define SEEPROM_PAGE_SIZE 4
#define SEEPROM_TOTAL_SIZE 65536
#define BUFFERED_FLASH_PAGE_BITS 9
#define BUFFERED_FLASH_PHY_PAGE_SIZE (1 << BUFFERED_FLASH_PAGE_BITS)
#define BUFFERED_FLASH_BYTE_ADDR_MASK (BUFFERED_FLASH_PHY_PAGE_SIZE-1)
#define BUFFERED_FLASH_PAGE_SIZE 264
#define BUFFERED_FLASH_TOTAL_SIZE 0x21000
#define SAIFUN_FLASH_PAGE_BITS 8
#define SAIFUN_FLASH_PHY_PAGE_SIZE (1 << SAIFUN_FLASH_PAGE_BITS)
#define SAIFUN_FLASH_BYTE_ADDR_MASK (SAIFUN_FLASH_PHY_PAGE_SIZE-1)
#define SAIFUN_FLASH_PAGE_SIZE 256
#define SAIFUN_FLASH_BASE_TOTAL_SIZE 65536
#define ST_MICRO_FLASH_PAGE_BITS 8
#define ST_MICRO_FLASH_PHY_PAGE_SIZE (1 << ST_MICRO_FLASH_PAGE_BITS)
#define ST_MICRO_FLASH_BYTE_ADDR_MASK (ST_MICRO_FLASH_PHY_PAGE_SIZE-1)
#define ST_MICRO_FLASH_PAGE_SIZE 256
#define ST_MICRO_FLASH_BASE_TOTAL_SIZE 65536
#define BCM5709_FLASH_PAGE_BITS 8
#define BCM5709_FLASH_PHY_PAGE_SIZE (1 << BCM5709_FLASH_PAGE_BITS)
#define BCM5709_FLASH_BYTE_ADDR_MASK (BCM5709_FLASH_PHY_PAGE_SIZE-1)
#define BCM5709_FLASH_PAGE_SIZE 256
#define NVRAM_TIMEOUT_COUNT 30000
#define BNX_FLASHDESC_MAX 64
#define FLASH_STRAP_MASK (BNX_NVM_CFG1_FLASH_MODE | \
BNX_NVM_CFG1_BUFFER_MODE | \
BNX_NVM_CFG1_PROTECT_MODE | \
BNX_NVM_CFG1_FLASH_SIZE)
#define FLASH_BACKUP_STRAP_MASK (0xf << 26)
struct flash_spec {
u_int32_t strapping;
u_int32_t config1;
u_int32_t config2;
u_int32_t config3;
u_int32_t write1;
#define BNX_NV_BUFFERED 0x00000001
#define BNX_NV_TRANSLATE 0x00000002
#define BNX_NV_WREN 0x00000004
u_int32_t flags;
u_int32_t page_bits;
u_int32_t page_size;
u_int32_t addr_mask;
u_int32_t total_size;
u_int8_t *name;
};
/****************************************************************************/
/* Shared Memory layout */
/* The BNX bootcode will initialize this data area with port configuration */
/* information which can be accessed by the driver. */
/****************************************************************************/
/*
* This value (in milliseconds) determines the frequency of the driver
* issuing the PULSE message code. The firmware monitors this periodic
* pulse to determine when to switch to an OS-absent mode.
*/
#define DRV_PULSE_PERIOD_MS 250
/*
* This value (in milliseconds) determines how long the driver should
* wait for an acknowledgement from the firmware before timing out. Once
* the firmware has timed out, the driver will assume there is no firmware
* running and there won't be any firmware-driver synchronization during a
* driver reset.
*/
#define FW_ACK_TIME_OUT_MS 1000
#define BNX_DRV_RESET_SIGNATURE 0x00000000
#define BNX_DRV_RESET_SIGNATURE_MAGIC 0x4841564b /* HAVK */
#define BNX_DRV_MB 0x00000004
#define BNX_DRV_MSG_CODE 0xff000000
#define BNX_DRV_MSG_CODE_RESET 0x01000000
#define BNX_DRV_MSG_CODE_UNLOAD 0x02000000
#define BNX_DRV_MSG_CODE_SHUTDOWN 0x03000000
#define BNX_DRV_MSG_CODE_SUSPEND_WOL 0x04000000
#define BNX_DRV_MSG_CODE_FW_TIMEOUT 0x05000000
#define BNX_DRV_MSG_CODE_PULSE 0x06000000
#define BNX_DRV_MSG_CODE_DIAG 0x07000000
#define BNX_DRV_MSG_CODE_SUSPEND_NO_WOL 0x09000000
#define BNX_DRV_MSG_DATA 0x00ff0000
#define BNX_DRV_MSG_DATA_WAIT0 0x00010000
#define BNX_DRV_MSG_DATA_WAIT1 0x00020000
#define BNX_DRV_MSG_DATA_WAIT2 0x00030000
#define BNX_DRV_MSG_DATA_WAIT3 0x00040000
#define BNX_DRV_MSG_SEQ 0x0000ffff
#define BNX_FW_MB 0x00000008
#define BNX_FW_MSG_ACK 0x0000ffff
#define BNX_FW_MSG_STATUS_MASK 0x00ff0000
#define BNX_FW_MSG_STATUS_OK 0x00000000
#define BNX_FW_MSG_STATUS_FAILURE 0x00ff0000
#define BNX_LINK_STATUS 0x0000000c
#define BNX_LINK_STATUS_INIT_VALUE 0xffffffff
#define BNX_LINK_STATUS_LINK_UP 0x1
#define BNX_LINK_STATUS_LINK_DOWN 0x0
#define BNX_LINK_STATUS_SPEED_MASK 0x1e
#define BNX_LINK_STATUS_AN_INCOMPLETE (0<<1)
#define BNX_LINK_STATUS_10HALF (1<<1)
#define BNX_LINK_STATUS_10FULL (2<<1)
#define BNX_LINK_STATUS_100HALF (3<<1)
#define BNX_LINK_STATUS_100BASE_T4 (4<<1)
#define BNX_LINK_STATUS_100FULL (5<<1)
#define BNX_LINK_STATUS_1000HALF (6<<1)
#define BNX_LINK_STATUS_1000FULL (7<<1)
#define BNX_LINK_STATUS_2500HALF (8<<1)
#define BNX_LINK_STATUS_2500FULL (9<<1)
#define BNX_LINK_STATUS_AN_ENABLED (1<<5)
#define BNX_LINK_STATUS_AN_COMPLETE (1<<6)
#define BNX_LINK_STATUS_PARALLEL_DET (1<<7)
#define BNX_LINK_STATUS_RESERVED (1<<8)
#define BNX_LINK_STATUS_PARTNER_AD_1000FULL (1<<9)
#define BNX_LINK_STATUS_PARTNER_AD_1000HALF (1<<10)
#define BNX_LINK_STATUS_PARTNER_AD_100BT4 (1<<11)
#define BNX_LINK_STATUS_PARTNER_AD_100FULL (1<<12)
#define BNX_LINK_STATUS_PARTNER_AD_100HALF (1<<13)
#define BNX_LINK_STATUS_PARTNER_AD_10FULL (1<<14)
#define BNX_LINK_STATUS_PARTNER_AD_10HALF (1<<15)
#define BNX_LINK_STATUS_TX_FC_ENABLED (1<<16)
#define BNX_LINK_STATUS_RX_FC_ENABLED (1<<17)
#define BNX_LINK_STATUS_PARTNER_SYM_PAUSE_CAP (1<<18)
#define BNX_LINK_STATUS_PARTNER_ASYM_PAUSE_CAP (1<<19)
#define BNX_LINK_STATUS_SERDES_LINK (1<<20)
#define BNX_LINK_STATUS_PARTNER_AD_2500FULL (1<<21)
#define BNX_LINK_STATUS_PARTNER_AD_2500HALF (1<<22)
#define BNX_DRV_PULSE_MB 0x00000010
#define BNX_DRV_PULSE_SEQ_MASK 0x00007fff
#define BNX_MB_ARGS_0 0x00000014
#define BNX_MB_ARGS_1 0x00000018
/* Indicate to the firmware not to go into the
* OS absent when it is not getting driver pulse.
* This is used for debugging. */
#define BNX_DRV_MSG_DATA_PULSE_CODE_ALWAYS_ALIVE 0x00080000
#define BNX_DEV_INFO_SIGNATURE 0x00000020
#define BNX_DEV_INFO_SIGNATURE_MAGIC 0x44564900
#define BNX_DEV_INFO_SIGNATURE_MAGIC_MASK 0xffffff00
#define BNX_DEV_INFO_FEATURE_CFG_VALID 0x01
#define BNX_DEV_INFO_SECONDARY_PORT 0x80
#define BNX_DEV_INFO_DRV_ALWAYS_ALIVE 0x40
#define BNX_SHARED_HW_CFG_PART_NUM 0x00000024
#define BNX_SHARED_HW_CFG_POWER_DISSIPATED 0x00000034
#define BNX_SHARED_HW_CFG_POWER_STATE_D3_MASK 0xff000000
#define BNX_SHARED_HW_CFG_POWER_STATE_D2_MASK 0xff0000
#define BNX_SHARED_HW_CFG_POWER_STATE_D1_MASK 0xff00
#define BNX_SHARED_HW_CFG_POWER_STATE_D0_MASK 0xff
#define BNX_SHARED_HW_CFG_POWER_CONSUMED 0x00000038
#define BNX_SHARED_HW_CFG_CONFIG 0x0000003c
#define BNX_SHARED_HW_CFG_DESIGN_NIC 0
#define BNX_SHARED_HW_CFG_DESIGN_LOM 0x1
#define BNX_SHARED_HW_CFG_PHY_COPPER 0
#define BNX_SHARED_HW_CFG_PHY_FIBER 0x2
#define BNX_SHARED_HW_CFG_PHY_2_5G 0x20
#define BNX_SHARED_HW_CFG_PHY_BACKPLANE 0x40
#define BNX_SHARED_HW_CFG_LED_MODE_SHIFT_BITS 8
#define BNX_SHARED_HW_CFG_LED_MODE_MASK 0x300
#define BNX_SHARED_HW_CFG_LED_MODE_MAC 0
#define BNX_SHARED_HW_CFG_LED_MODE_GPHY1 0x100
#define BNX_SHARED_HW_CFG_LED_MODE_GPHY2 0x200
#define BNX_SHARED_HW_CFG_CONFIG2 0x00000040
#define BNX_SHARED_HW_CFG2_NVM_SIZE_MASK 0x00fff000
#define BNX_DEV_INFO_BC_REV 0x0000004c
#define BNX_PORT_HW_CFG_MAC_UPPER 0x00000050
#define BNX_PORT_HW_CFG_UPPERMAC_MASK 0xffff
#define BNX_PORT_HW_CFG_MAC_LOWER 0x00000054
#define BNX_PORT_HW_CFG_CONFIG 0x00000058
#define BNX_PORT_HW_CFG_CFG_TXCTL3_MASK 0x0000ffff
#define BNX_PORT_HW_CFG_CFG_DFLT_LINK_MASK 0x001f0000
#define BNX_PORT_HW_CFG_CFG_DFLT_LINK_AN 0x00000000
#define BNX_PORT_HW_CFG_CFG_DFLT_LINK_1G 0x00030000
#define BNX_PORT_HW_CFG_CFG_DFLT_LINK_2_5G 0x00040000
#define BNX_PORT_HW_CFG_IMD_MAC_A_UPPER 0x00000068
#define BNX_PORT_HW_CFG_IMD_MAC_A_LOWER 0x0000006c
#define BNX_PORT_HW_CFG_IMD_MAC_B_UPPER 0x00000070
#define BNX_PORT_HW_CFG_IMD_MAC_B_LOWER 0x00000074
#define BNX_PORT_HW_CFG_ISCSI_MAC_UPPER 0x00000078
#define BNX_PORT_HW_CFG_ISCSI_MAC_LOWER 0x0000007c
#define BNX_DEV_INFO_PER_PORT_HW_CONFIG2 0x000000b4
#define BNX_DEV_INFO_FORMAT_REV 0x000000c4
#define BNX_DEV_INFO_FORMAT_REV_MASK 0xff000000
#define BNX_DEV_INFO_FORMAT_REV_ID ('A' << 24)
#define BNX_SHARED_FEATURE 0x000000c8
#define BNX_SHARED_FEATURE_MASK 0xffffffff
#define BNX_PORT_FEATURE 0x000000d8
#define BNX_PORT2_FEATURE 0x00000014c
#define BNX_PORT_FEATURE_WOL_ENABLED 0x01000000
#define BNX_PORT_FEATURE_MBA_ENABLED 0x02000000
#define BNX_PORT_FEATURE_ASF_ENABLED 0x04000000
#define BNX_PORT_FEATURE_IMD_ENABLED 0x08000000
#define BNX_PORT_FEATURE_BAR1_SIZE_MASK 0xf
#define BNX_PORT_FEATURE_BAR1_SIZE_DISABLED 0x0
#define BNX_PORT_FEATURE_BAR1_SIZE_64K 0x1
#define BNX_PORT_FEATURE_BAR1_SIZE_128K 0x2
#define BNX_PORT_FEATURE_BAR1_SIZE_256K 0x3
#define BNX_PORT_FEATURE_BAR1_SIZE_512K 0x4
#define BNX_PORT_FEATURE_BAR1_SIZE_1M 0x5
#define BNX_PORT_FEATURE_BAR1_SIZE_2M 0x6
#define BNX_PORT_FEATURE_BAR1_SIZE_4M 0x7
#define BNX_PORT_FEATURE_BAR1_SIZE_8M 0x8
#define BNX_PORT_FEATURE_BAR1_SIZE_16M 0x9
#define BNX_PORT_FEATURE_BAR1_SIZE_32M 0xa
#define BNX_PORT_FEATURE_BAR1_SIZE_64M 0xb
#define BNX_PORT_FEATURE_BAR1_SIZE_128M 0xc
#define BNX_PORT_FEATURE_BAR1_SIZE_256M 0xd
#define BNX_PORT_FEATURE_BAR1_SIZE_512M 0xe
#define BNX_PORT_FEATURE_BAR1_SIZE_1G 0xf
#define BNX_PORT_FEATURE_WOL 0xdc
#define BNX_PORT2_FEATURE_WOL 0x150
#define BNX_PORT_FEATURE_WOL_DEFAULT_SHIFT_BITS 4
#define BNX_PORT_FEATURE_WOL_DEFAULT_MASK 0x30
#define BNX_PORT_FEATURE_WOL_DEFAULT_DISABLE 0
#define BNX_PORT_FEATURE_WOL_DEFAULT_MAGIC 0x10
#define BNX_PORT_FEATURE_WOL_DEFAULT_ACPI 0x20
#define BNX_PORT_FEATURE_WOL_DEFAULT_MAGIC_AND_ACPI 0x30
#define BNX_PORT_FEATURE_WOL_LINK_SPEED_MASK 0xf
#define BNX_PORT_FEATURE_WOL_LINK_SPEED_AUTONEG 0
#define BNX_PORT_FEATURE_WOL_LINK_SPEED_10HALF 1
#define BNX_PORT_FEATURE_WOL_LINK_SPEED_10FULL 2
#define BNX_PORT_FEATURE_WOL_LINK_SPEED_100HALF 3
#define BNX_PORT_FEATURE_WOL_LINK_SPEED_100FULL 4
#define BNX_PORT_FEATURE_WOL_LINK_SPEED_1000HALF 5
#define BNX_PORT_FEATURE_WOL_LINK_SPEED_1000FULL 6
#define BNX_PORT_FEATURE_WOL_AUTONEG_ADVERTISE_1000 0x40
#define BNX_PORT_FEATURE_WOL_RESERVED_PAUSE_CAP 0x400
#define BNX_PORT_FEATURE_WOL_RESERVED_ASYM_PAUSE_CAP 0x800
#define BNX_PORT_FEATURE_MBA 0xe0
#define BNX_PORT2_FEATURE_MBA 0x154
#define BNX_PORT_FEATURE_MBA_BOOT_AGENT_TYPE_SHIFT_BITS 0
#define BNX_PORT_FEATURE_MBA_BOOT_AGENT_TYPE_MASK 0x3
#define BNX_PORT_FEATURE_MBA_BOOT_AGENT_TYPE_PXE 0
#define BNX_PORT_FEATURE_MBA_BOOT_AGENT_TYPE_RPL 1
#define BNX_PORT_FEATURE_MBA_BOOT_AGENT_TYPE_BOOTP 2
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_SHIFT_BITS 2
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_MASK 0x3c
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_AUTONEG 0
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_10HALF 0x4
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_10FULL 0x8
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_100HALF 0xc
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_100FULL 0x10
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_1000HALF 0x14
#define BNX_PORT_FEATURE_MBA_LINK_SPEED_1000FULL 0x18
#define BNX_PORT_FEATURE_MBA_SETUP_PROMPT_ENABLE 0x40
#define BNX_PORT_FEATURE_MBA_HOTKEY_CTRL_S 0
#define BNX_PORT_FEATURE_MBA_HOTKEY_CTRL_B 0x80
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_SHIFT_BITS 8
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_MASK 0xff00
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_DISABLED 0
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_1K 0x100
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_2K 0x200
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_4K 0x300
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_8K 0x400
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_16K 0x500
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_32K 0x600
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_64K 0x700
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_128K 0x800
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_256K 0x900
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_512K 0xa00
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_1M 0xb00
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_2M 0xc00
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_4M 0xd00
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_8M 0xe00
#define BNX_PORT_FEATURE_MBA_EXP_ROM_SIZE_16M 0xf00
#define BNX_PORT_FEATURE_MBA_MSG_TIMEOUT_SHIFT_BITS 16
#define BNX_PORT_FEATURE_MBA_MSG_TIMEOUT_MASK 0xf0000
#define BNX_PORT_FEATURE_MBA_BIOS_BOOTSTRAP_SHIFT_BITS 20
#define BNX_PORT_FEATURE_MBA_BIOS_BOOTSTRAP_MASK 0x300000
#define BNX_PORT_FEATURE_MBA_BIOS_BOOTSTRAP_AUTO 0
#define BNX_PORT_FEATURE_MBA_BIOS_BOOTSTRAP_BBS 0x100000
#define BNX_PORT_FEATURE_MBA_BIOS_BOOTSTRAP_INT18H 0x200000
#define BNX_PORT_FEATURE_MBA_BIOS_BOOTSTRAP_INT19H 0x300000
#define BNX_PORT_FEATURE_IMD 0xe4
#define BNX_PORT2_FEATURE_IMD 0x158
#define BNX_PORT_FEATURE_IMD_LINK_OVERRIDE_DEFAULT 0
#define BNX_PORT_FEATURE_IMD_LINK_OVERRIDE_ENABLE 1
#define BNX_PORT_FEATURE_VLAN 0xe8
#define BNX_PORT2_FEATURE_VLAN 0x15c
#define BNX_PORT_FEATURE_MBA_VLAN_TAG_MASK 0xffff
#define BNX_PORT_FEATURE_MBA_VLAN_ENABLE 0x10000
#define BNX_BC_STATE_RESET_TYPE 0x000001c0
#define BNX_BC_STATE_RESET_TYPE_SIG 0x00005254
#define BNX_BC_STATE_RESET_TYPE_SIG_MASK 0x0000ffff
#define BNX_BC_STATE_RESET_TYPE_NONE (BNX_BC_STATE_RESET_TYPE_SIG | \
0x00010000)
#define BNX_BC_STATE_RESET_TYPE_PCI (BNX_BC_STATE_RESET_TYPE_SIG | \
0x00020000)
#define BNX_BC_STATE_RESET_TYPE_VAUX (BNX_BC_STATE_RESET_TYPE_SIG | \
0x00030000)
#define BNX_BC_STATE_RESET_TYPE_DRV_MASK DRV_MSG_CODE
#define BNX_BC_STATE_RESET_TYPE_DRV_RESET (BNX_BC_STATE_RESET_TYPE_SIG | \
DRV_MSG_CODE_RESET)
#define BNX_BC_STATE_RESET_TYPE_DRV_UNLOAD (BNX_BC_STATE_RESET_TYPE_SIG | \
DRV_MSG_CODE_UNLOAD)
#define BNX_BC_STATE_RESET_TYPE_DRV_SHUTDOWN (BNX_BC_STATE_RESET_TYPE_SIG | \
DRV_MSG_CODE_SHUTDOWN)
#define BNX_BC_STATE_RESET_TYPE_DRV_WOL (BNX_BC_STATE_RESET_TYPE_SIG | \
DRV_MSG_CODE_WOL)
#define BNX_BC_STATE_RESET_TYPE_DRV_DIAG (BNX_BC_STATE_RESET_TYPE_SIG | \
DRV_MSG_CODE_DIAG)
#define BNX_BC_STATE_RESET_TYPE_VALUE(msg) (BNX_BC_STATE_RESET_TYPE_SIG | \
(msg))
#define BNX_BC_STATE 0x000001c4
#define BNX_BC_STATE_ERR_MASK 0x0000ff00
#define BNX_BC_STATE_SIGN 0x42530000
#define BNX_BC_STATE_SIGN_MASK 0xffff0000
#define BNX_BC_STATE_BC1_START (BNX_BC_STATE_SIGN | 0x1)
#define BNX_BC_STATE_GET_NVM_CFG1 (BNX_BC_STATE_SIGN | 0x2)
#define BNX_BC_STATE_PROG_BAR (BNX_BC_STATE_SIGN | 0x3)
#define BNX_BC_STATE_INIT_VID (BNX_BC_STATE_SIGN | 0x4)
#define BNX_BC_STATE_GET_NVM_CFG2 (BNX_BC_STATE_SIGN | 0x5)
#define BNX_BC_STATE_APPLY_WKARND (BNX_BC_STATE_SIGN | 0x6)
#define BNX_BC_STATE_LOAD_BC2 (BNX_BC_STATE_SIGN | 0x7)
#define BNX_BC_STATE_GOING_BC2 (BNX_BC_STATE_SIGN | 0x8)
#define BNX_BC_STATE_GOING_DIAG (BNX_BC_STATE_SIGN | 0x9)
#define BNX_BC_STATE_RT_FINAL_INIT (BNX_BC_STATE_SIGN | 0x81)
#define BNX_BC_STATE_RT_WKARND (BNX_BC_STATE_SIGN | 0x82)
#define BNX_BC_STATE_RT_DRV_PULSE (BNX_BC_STATE_SIGN | 0x83)
#define BNX_BC_STATE_RT_FIOEVTS (BNX_BC_STATE_SIGN | 0x84)
#define BNX_BC_STATE_RT_DRV_CMD (BNX_BC_STATE_SIGN | 0x85)
#define BNX_BC_STATE_RT_LOW_POWER (BNX_BC_STATE_SIGN | 0x86)
#define BNX_BC_STATE_RT_SET_WOL (BNX_BC_STATE_SIGN | 0x87)
#define BNX_BC_STATE_RT_OTHER_FW (BNX_BC_STATE_SIGN | 0x88)
#define BNX_BC_STATE_RT_GOING_D3 (BNX_BC_STATE_SIGN | 0x89)
#define BNX_BC_STATE_ERR_BAD_VERSION (BNX_BC_STATE_SIGN | 0x0100)
#define BNX_BC_STATE_ERR_BAD_BC2_CRC (BNX_BC_STATE_SIGN | 0x0200)
#define BNX_BC_STATE_ERR_BC1_LOOP (BNX_BC_STATE_SIGN | 0x0300)
#define BNX_BC_STATE_ERR_UNKNOWN_CMD (BNX_BC_STATE_SIGN | 0x0400)
#define BNX_BC_STATE_ERR_DRV_DEAD (BNX_BC_STATE_SIGN | 0x0500)
#define BNX_BC_STATE_ERR_NO_RXP (BNX_BC_STATE_SIGN | 0x0600)
#define BNX_BC_STATE_ERR_TOO_MANY_RBUF (BNX_BC_STATE_SIGN | 0x0700)
#define BNX_BC_STATE_DEBUG_CMD 0x1dc
#define BNX_BC_STATE_BC_DBG_CMD_SIGNATURE 0x42440000
#define BNX_BC_STATE_BC_DBG_CMD_SIGNATURE_MASK 0xffff0000
#define BNX_BC_STATE_BC_DBG_CMD_LOOP_CNT_MASK 0xffff
#define BNX_BC_STATE_BC_DBG_CMD_LOOP_INFINITE 0xffff
#define HOST_VIEW_SHMEM_BASE 0x167c00
/*
* PCI registers defined in the PCI 2.2 spec.
*/
#define BNX_PCI_BAR0 0x10
#define BNX_PCI_PCIX_CMD 0x40
/****************************************************************************/
/* Convenience definitions. */
/****************************************************************************/
#define BNX_PRINTF(sc, fmt, args...) printf("%s: " fmt, sc->bnx_dev.dv_xname, ##args)
#define REG_WR(sc, reg, val) bus_space_write_4(sc->bnx_btag, sc->bnx_bhandle, reg, val)
#define REG_WR16(sc, reg, val) bus_space_write_2(sc->bnx_btag, sc->bnx_bhandle, reg, val)
#define REG_RD(sc, reg) bus_space_read_4(sc->bnx_btag, sc->bnx_bhandle, reg)
#define REG_RD_IND(sc, offset) bnx_reg_rd_ind(sc, offset)
#define REG_WR_IND(sc, offset, val) bnx_reg_wr_ind(sc, offset, val)
#define CTX_WR(sc, cid_addr, offset, val) bnx_ctx_wr(sc, cid_addr, offset, val)
#define BNX_SETBIT(sc, reg, x) REG_WR(sc, reg, (REG_RD(sc, reg) | (x)))
#define BNX_CLRBIT(sc, reg, x) REG_WR(sc, reg, (REG_RD(sc, reg) & ~(x)))
#define PCI_SETBIT(pc, tag, reg, x) pci_conf_write(pc, tag, reg, (pci_conf_read(pc, tag, reg) | (x)))
#define PCI_CLRBIT(pc, tag, reg, x) pci_conf_write(pc, tag, reg, (pci_conf_read(pc, tag, reg) & ~(x)))
#define BNX_STATS(x) (u_long) stats->stat_ ## x ## _lo
/*
* The following data structures are generated from RTL code.
* Do not modify any values below this line.
*/
/****************************************************************************/
/* Do not modify any of the following data structures, they are generated */
/* from RTL code. */
/* */
/* Begin machine generated definitions. */
/****************************************************************************/
/*
* tx_bd definition
*/
struct tx_bd {
u_int32_t tx_bd_haddr_hi;
u_int32_t tx_bd_haddr_lo;
u_int32_t tx_bd_mss_nbytes;
#if BYTE_ORDER == BIG_ENDIAN
u_int16_t tx_bd_vlan_tag;
u_int16_t tx_bd_flags;
#else
u_int16_t tx_bd_flags;
u_int16_t tx_bd_vlan_tag;
#endif
#define TX_BD_FLAGS_CONN_FAULT (1<<0)
#define TX_BD_FLAGS_TCP_UDP_CKSUM (1<<1)
#define TX_BD_FLAGS_IP_CKSUM (1<<2)
#define TX_BD_FLAGS_VLAN_TAG (1<<3)
#define TX_BD_FLAGS_COAL_NOW (1<<4)
#define TX_BD_FLAGS_DONT_GEN_CRC (1<<5)
#define TX_BD_FLAGS_END (1<<6)
#define TX_BD_FLAGS_START (1<<7)
#define TX_BD_FLAGS_SW_OPTION_WORD (0x1f<<8)
#define TX_BD_FLAGS_SW_FLAGS (1<<13)
#define TX_BD_FLAGS_SW_SNAP (1<<14)
#define TX_BD_FLAGS_SW_LSO (1<<15)
};
/*
* rx_bd definition
*/
struct rx_bd {
u_int32_t rx_bd_haddr_hi;
u_int32_t rx_bd_haddr_lo;
u_int32_t rx_bd_len;
u_int32_t rx_bd_flags;
#define RX_BD_FLAGS_NOPUSH (1<<0)
#define RX_BD_FLAGS_DUMMY (1<<1)
#define RX_BD_FLAGS_END (1<<2)
#define RX_BD_FLAGS_START (1<<3)
};
/*
* status_block definition
*/
struct status_block {
u_int32_t status_attn_bits;
#define STATUS_ATTN_BITS_LINK_STATE (1L<<0)
#define STATUS_ATTN_BITS_TX_SCHEDULER_ABORT (1L<<1)
#define STATUS_ATTN_BITS_TX_BD_READ_ABORT (1L<<2)
#define STATUS_ATTN_BITS_TX_BD_CACHE_ABORT (1L<<3)
#define STATUS_ATTN_BITS_TX_PROCESSOR_ABORT (1L<<4)
#define STATUS_ATTN_BITS_TX_DMA_ABORT (1L<<5)
#define STATUS_ATTN_BITS_TX_PATCHUP_ABORT (1L<<6)
#define STATUS_ATTN_BITS_TX_ASSEMBLER_ABORT (1L<<7)
#define STATUS_ATTN_BITS_RX_PARSER_MAC_ABORT (1L<<8)
#define STATUS_ATTN_BITS_RX_PARSER_CATCHUP_ABORT (1L<<9)
#define STATUS_ATTN_BITS_RX_MBUF_ABORT (1L<<10)
#define STATUS_ATTN_BITS_RX_LOOKUP_ABORT (1L<<11)
#define STATUS_ATTN_BITS_RX_PROCESSOR_ABORT (1L<<12)
#define STATUS_ATTN_BITS_RX_V2P_ABORT (1L<<13)
#define STATUS_ATTN_BITS_RX_BD_CACHE_ABORT (1L<<14)
#define STATUS_ATTN_BITS_RX_DMA_ABORT (1L<<15)
#define STATUS_ATTN_BITS_COMPLETION_ABORT (1L<<16)
#define STATUS_ATTN_BITS_HOST_COALESCE_ABORT (1L<<17)
#define STATUS_ATTN_BITS_MAILBOX_QUEUE_ABORT (1L<<18)
#define STATUS_ATTN_BITS_CONTEXT_ABORT (1L<<19)
#define STATUS_ATTN_BITS_CMD_SCHEDULER_ABORT (1L<<20)
#define STATUS_ATTN_BITS_CMD_PROCESSOR_ABORT (1L<<21)
#define STATUS_ATTN_BITS_MGMT_PROCESSOR_ABORT (1L<<22)
#define STATUS_ATTN_BITS_MAC_ABORT (1L<<23)
#define STATUS_ATTN_BITS_TIMER_ABORT (1L<<24)
#define STATUS_ATTN_BITS_DMAE_ABORT (1L<<25)
#define STATUS_ATTN_BITS_FLSH_ABORT (1L<<26)
#define STATUS_ATTN_BITS_GRC_ABORT (1L<<27)
#define STATUS_ATTN_BITS_PARITY_ERROR (1L<<31)
u_int32_t status_attn_bits_ack;
#if BYTE_ORDER == BIG_ENDIAN
u_int16_t status_tx_quick_consumer_index0;
u_int16_t status_tx_quick_consumer_index1;
u_int16_t status_tx_quick_consumer_index2;
u_int16_t status_tx_quick_consumer_index3;
u_int16_t status_rx_quick_consumer_index0;
u_int16_t status_rx_quick_consumer_index1;
u_int16_t status_rx_quick_consumer_index2;
u_int16_t status_rx_quick_consumer_index3;
u_int16_t status_rx_quick_consumer_index4;
u_int16_t status_rx_quick_consumer_index5;
u_int16_t status_rx_quick_consumer_index6;
u_int16_t status_rx_quick_consumer_index7;
u_int16_t status_rx_quick_consumer_index8;
u_int16_t status_rx_quick_consumer_index9;
u_int16_t status_rx_quick_consumer_index10;
u_int16_t status_rx_quick_consumer_index11;
u_int16_t status_rx_quick_consumer_index12;
u_int16_t status_rx_quick_consumer_index13;
u_int16_t status_rx_quick_consumer_index14;
u_int16_t status_rx_quick_consumer_index15;
u_int16_t status_completion_producer_index;
u_int16_t status_cmd_consumer_index;
u_int16_t status_idx;
u_int16_t status_unused;
#elif BYTE_ORDER == LITTLE_ENDIAN
u_int16_t status_tx_quick_consumer_index1;
u_int16_t status_tx_quick_consumer_index0;
u_int16_t status_tx_quick_consumer_index3;
u_int16_t status_tx_quick_consumer_index2;
u_int16_t status_rx_quick_consumer_index1;
u_int16_t status_rx_quick_consumer_index0;
u_int16_t status_rx_quick_consumer_index3;
u_int16_t status_rx_quick_consumer_index2;
u_int16_t status_rx_quick_consumer_index5;
u_int16_t status_rx_quick_consumer_index4;
u_int16_t status_rx_quick_consumer_index7;
u_int16_t status_rx_quick_consumer_index6;
u_int16_t status_rx_quick_consumer_index9;
u_int16_t status_rx_quick_consumer_index8;
u_int16_t status_rx_quick_consumer_index11;
u_int16_t status_rx_quick_consumer_index10;
u_int16_t status_rx_quick_consumer_index13;
u_int16_t status_rx_quick_consumer_index12;
u_int16_t status_rx_quick_consumer_index15;
u_int16_t status_rx_quick_consumer_index14;
u_int16_t status_cmd_consumer_index;
u_int16_t status_completion_producer_index;
u_int16_t status_unused;
u_int16_t status_idx;
#endif
};
/*
* statistics_block definition
*/
struct statistics_block {
u_int32_t stat_IfHCInOctets_hi;
u_int32_t stat_IfHCInOctets_lo;
u_int32_t stat_IfHCInBadOctets_hi;
u_int32_t stat_IfHCInBadOctets_lo;
u_int32_t stat_IfHCOutOctets_hi;
u_int32_t stat_IfHCOutOctets_lo;
u_int32_t stat_IfHCOutBadOctets_hi;
u_int32_t stat_IfHCOutBadOctets_lo;
u_int32_t stat_IfHCInUcastPkts_hi;
u_int32_t stat_IfHCInUcastPkts_lo;
u_int32_t stat_IfHCInMulticastPkts_hi;
u_int32_t stat_IfHCInMulticastPkts_lo;
u_int32_t stat_IfHCInBroadcastPkts_hi;
u_int32_t stat_IfHCInBroadcastPkts_lo;
u_int32_t stat_IfHCOutUcastPkts_hi;
u_int32_t stat_IfHCOutUcastPkts_lo;
u_int32_t stat_IfHCOutMulticastPkts_hi;
u_int32_t stat_IfHCOutMulticastPkts_lo;
u_int32_t stat_IfHCOutBroadcastPkts_hi;
u_int32_t stat_IfHCOutBroadcastPkts_lo;
u_int32_t stat_emac_tx_stat_dot3statsinternalmactransmiterrors;
u_int32_t stat_Dot3StatsCarrierSenseErrors;
u_int32_t stat_Dot3StatsFCSErrors;
u_int32_t stat_Dot3StatsAlignmentErrors;
u_int32_t stat_Dot3StatsSingleCollisionFrames;
u_int32_t stat_Dot3StatsMultipleCollisionFrames;
u_int32_t stat_Dot3StatsDeferredTransmissions;
u_int32_t stat_Dot3StatsExcessiveCollisions;
u_int32_t stat_Dot3StatsLateCollisions;
u_int32_t stat_EtherStatsCollisions;
u_int32_t stat_EtherStatsFragments;
u_int32_t stat_EtherStatsJabbers;
u_int32_t stat_EtherStatsUndersizePkts;
u_int32_t stat_EtherStatsOverrsizePkts;
u_int32_t stat_EtherStatsPktsRx64Octets;
u_int32_t stat_EtherStatsPktsRx65Octetsto127Octets;
u_int32_t stat_EtherStatsPktsRx128Octetsto255Octets;
u_int32_t stat_EtherStatsPktsRx256Octetsto511Octets;
u_int32_t stat_EtherStatsPktsRx512Octetsto1023Octets;
u_int32_t stat_EtherStatsPktsRx1024Octetsto1522Octets;
u_int32_t stat_EtherStatsPktsRx1523Octetsto9022Octets;
u_int32_t stat_EtherStatsPktsTx64Octets;
u_int32_t stat_EtherStatsPktsTx65Octetsto127Octets;
u_int32_t stat_EtherStatsPktsTx128Octetsto255Octets;
u_int32_t stat_EtherStatsPktsTx256Octetsto511Octets;
u_int32_t stat_EtherStatsPktsTx512Octetsto1023Octets;
u_int32_t stat_EtherStatsPktsTx1024Octetsto1522Octets;
u_int32_t stat_EtherStatsPktsTx1523Octetsto9022Octets;
u_int32_t stat_XonPauseFramesReceived;
u_int32_t stat_XoffPauseFramesReceived;
u_int32_t stat_OutXonSent;
u_int32_t stat_OutXoffSent;
u_int32_t stat_FlowControlDone;
u_int32_t stat_MacControlFramesReceived;
u_int32_t stat_XoffStateEntered;
u_int32_t stat_IfInFramesL2FilterDiscards;
u_int32_t stat_IfInRuleCheckerDiscards;
u_int32_t stat_IfInFTQDiscards;
u_int32_t stat_IfInMBUFDiscards;
u_int32_t stat_IfInRuleCheckerP4Hit;
u_int32_t stat_CatchupInRuleCheckerDiscards;
u_int32_t stat_CatchupInFTQDiscards;
u_int32_t stat_CatchupInMBUFDiscards;
u_int32_t stat_CatchupInRuleCheckerP4Hit;
u_int32_t stat_GenStat00;
u_int32_t stat_GenStat01;
u_int32_t stat_GenStat02;
u_int32_t stat_GenStat03;
u_int32_t stat_GenStat04;
u_int32_t stat_GenStat05;
u_int32_t stat_GenStat06;
u_int32_t stat_GenStat07;
u_int32_t stat_GenStat08;
u_int32_t stat_GenStat09;
u_int32_t stat_GenStat10;
u_int32_t stat_GenStat11;
u_int32_t stat_GenStat12;
u_int32_t stat_GenStat13;
u_int32_t stat_GenStat14;
u_int32_t stat_GenStat15;
};
/*
* l2_fhdr definition
*/
struct l2_fhdr {
u_int32_t l2_fhdr_status;
#define L2_FHDR_STATUS_RULE_CLASS (0x7<<0)
#define L2_FHDR_STATUS_RULE_P2 (1<<3)
#define L2_FHDR_STATUS_RULE_P3 (1<<4)
#define L2_FHDR_STATUS_RULE_P4 (1<<5)
#define L2_FHDR_STATUS_L2_VLAN_TAG (1<<6)
#define L2_FHDR_STATUS_L2_LLC_SNAP (1<<7)
#define L2_FHDR_STATUS_RSS_HASH (1<<8)
#define L2_FHDR_STATUS_IP_DATAGRAM (1<<13)
#define L2_FHDR_STATUS_TCP_SEGMENT (1<<14)
#define L2_FHDR_STATUS_UDP_DATAGRAM (1<<15)
#define L2_FHDR_ERRORS_BAD_CRC (1<<17)
#define L2_FHDR_ERRORS_PHY_DECODE (1<<18)
#define L2_FHDR_ERRORS_ALIGNMENT (1<<19)
#define L2_FHDR_ERRORS_TOO_SHORT (1<<20)
#define L2_FHDR_ERRORS_GIANT_FRAME (1<<21)
#define L2_FHDR_ERRORS_TCP_XSUM (1<<28)
#define L2_FHDR_ERRORS_UDP_XSUM (1<<31)
u_int32_t l2_fhdr_hash;
#if BYTE_ORDER == BIG_ENDIAN
u_int16_t l2_fhdr_pkt_len;
u_int16_t l2_fhdr_vlan_tag;
u_int16_t l2_fhdr_ip_xsum;
u_int16_t l2_fhdr_tcp_udp_xsum;
#elif BYTE_ORDER == LITTLE_ENDIAN
u_int16_t l2_fhdr_vlan_tag;
u_int16_t l2_fhdr_pkt_len;
u_int16_t l2_fhdr_tcp_udp_xsum;
u_int16_t l2_fhdr_ip_xsum;
#endif
};
/*
* l2_context definition
*/
#define BNX_L2CTX_TYPE 0x00000000
#define BNX_L2CTX_TYPE_SIZE_L2 ((0xc0/0x20)<<16)
#define BNX_L2CTX_TYPE_TYPE (0xf<<28)
#define BNX_L2CTX_TYPE_TYPE_EMPTY (0<<28)
#define BNX_L2CTX_TYPE_TYPE_L2 (1<<28)
#define BNX_L2CTX_TYPE_XI 0x00000080
#define BNX_L2CTX_TX_HOST_BIDX 0x00000088
#define BNX_L2CTX_EST_NBD 0x00000088
#define BNX_L2CTX_CMD_TYPE 0x00000088
#define BNX_L2CTX_CMD_TYPE_TYPE (0xf<<24)
#define BNX_L2CTX_CMD_TYPE_TYPE_L2 (0<<24)
#define BNX_L2CTX_CMD_TYPE_TYPE_TCP (1<<24)
#define BNX_L2CTX_TX_HOST_BSEQ 0x00000090
#define BNX_L2CTX_TSCH_BSEQ 0x00000094
#define BNX_L2CTX_TBDR_BSEQ 0x00000098
#define BNX_L2CTX_TBDR_BOFF 0x0000009c
#define BNX_L2CTX_TBDR_BIDX 0x0000009c
#define BNX_L2CTX_TBDR_BHADDR_HI 0x000000a0
#define BNX_L2CTX_TBDR_BHADDR_LO 0x000000a4
#define BNX_L2CTX_TXP_BOFF 0x000000a8
#define BNX_L2CTX_TXP_BIDX 0x000000a8
#define BNX_L2CTX_TXP_BSEQ 0x000000ac
#define BNX_L2CTX_CMD_TYPE_XI 0x00000240
#define BNX_L2CTX_TBDR_BHADDR_HI_XI 0x00000258
#define BNX_L2CTX_TBDR_BHADDR_LO_XI 0x0000025c
/*
* l2_bd_chain_context definition
*/
#define BNX_L2CTX_BD_PRE_READ 0x00000000
#define BNX_L2CTX_CTX_SIZE 0x00000000
#define BNX_L2CTX_CTX_TYPE 0x00000000
#define BNX_L2CTX_CTX_TYPE_SIZE_L2 ((0x20/20)<<16)
#define BNX_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE (0xf<<28)
#define BNX_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_UNDEFINED (0<<28)
#define BNX_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE (1<<28)
#define BNX_L2CTX_HOST_BDIDX 0x00000004
#define BNX_L2CTX_HOST_BSEQ 0x00000008
#define BNX_L2CTX_NX_BSEQ 0x0000000c
#define BNX_L2CTX_NX_BDHADDR_HI 0x00000010
#define BNX_L2CTX_NX_BDHADDR_LO 0x00000014
#define BNX_L2CTX_NX_BDIDX 0x00000018
/*
* l2_rx_context definition (5706, 5708, 5709, and 5716)
*/
#define BNX_L2CTX_RX_WATER_MARK 0x00000000
#define BNX_L2CTX_RX_LO_WATER_MARK_SHIFT 0
#define BNX_L2CTX_RX_LO_WATER_MARK_DEFAULT 32
#define BNX_L2CTX_RX_LO_WATER_MARK_SCALE 4
#define BNX_L2CTX_RX_LO_WATER_MARK_DIS 0
#define BNX_L2CTX_RX_HI_WATER_MARK_SHIFT 4
#define BNX_L2CTX_RX_HI_WATER_MARK_SCALE 16
#define BNX_L2CTX_RX_WATER_MARKS_MSK 0x000000ff
#define BNX_L2CTX_RX_BD_PRE_READ 0x00000000
#define BNX_L2CTX_RX_BD_PRE_READ_SHIFT 8
#define BNX_L2CTX_RX_CTX_SIZE 0x00000000
#define BNX_L2CTX_RX_CTX_SIZE_SHIFT 16
#define BNX_L2CTX_RX_CTX_TYPE_SIZE_L2 ((0x20/20)<<BNX_L2CTX_RX_CTX_SIZE_SHIFT)
#define BNX_L2CTX_RX_CTX_TYPE 0x00000000
#define BNX_L2CTX_RX_CTX_TYPE_SHIFT 24
#define BNX_L2CTX_RX_CTX_TYPE_CTX_BD_CHN_TYPE (0xf<<28)
#define BNX_L2CTX_RX_CTX_TYPE_CTX_BD_CHN_TYPE_UNDEFINED (0<<28)
#define BNX_L2CTX_RX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE (1<<28)
#define BNX_L2CTX_RX_HOST_BDIDX 0x00000004
#define BNX_L2CTX_RX_HOST_BSEQ 0x00000008
#define BNX_L2CTX_RX_NX_BSEQ 0x0000000c
#define BNX_L2CTX_RX_NX_BDHADDR_HI 0x00000010
#define BNX_L2CTX_RX_NX_BDHADDR_LO 0x00000014
#define BNX_L2CTX_RX_NX_BDIDX 0x00000018
#define BNX_L2CTX_RX_HOST_PG_BDIDX 0x00000044
#define BNX_L2CTX_RX_PG_BUF_SIZE 0x00000048
#define BNX_L2CTX_RX_RBDC_KEY 0x0000004c
#define BNX_L2CTX_RX_RBDC_JUMBO_KEY 0x3ffe
#define BNX_L2CTX_RX_NX_PG_BDHADDR_HI 0x00000050
#define BNX_L2CTX_RX_NX_PG_BDHADDR_LO 0x00000054
#define BNX_L2CTX_RX_NX_PG_BDIDX 0x00000058
/*
* pci_config_l definition
* offset: 0000
*/
#define BNX_PCICFG_MISC_CONFIG 0x00000068
#define BNX_PCICFG_MISC_CONFIG_TARGET_BYTE_SWAP (1L<<2)
#define BNX_PCICFG_MISC_CONFIG_TARGET_MB_WORD_SWAP (1L<<3)
#define BNX_PCICFG_MISC_CONFIG_CLOCK_CTL_ENA (1L<<5)
#define BNX_PCICFG_MISC_CONFIG_TARGET_GRC_WORD_SWAP (1L<<6)
#define BNX_PCICFG_MISC_CONFIG_REG_WINDOW_ENA (1L<<7)
#define BNX_PCICFG_MISC_CONFIG_CORE_RST_REQ (1L<<8)
#define BNX_PCICFG_MISC_CONFIG_CORE_RST_BSY (1L<<9)
#define BNX_PCICFG_MISC_CONFIG_ASIC_METAL_REV (0xffL<<16)
#define BNX_PCICFG_MISC_CONFIG_ASIC_BASE_REV (0xfL<<24)
#define BNX_PCICFG_MISC_CONFIG_ASIC_ID (0xfL<<28)
#define BNX_PCICFG_MISC_CONFIG_ASIC_REV (0xffffL<<16)
#define BNX_PCICFG_MISC_STATUS 0x0000006c
#define BNX_PCICFG_MISC_STATUS_INTA_VALUE (1L<<0)
#define BNX_PCICFG_MISC_STATUS_32BIT_DET (1L<<1)
#define BNX_PCICFG_MISC_STATUS_M66EN (1L<<2)
#define BNX_PCICFG_MISC_STATUS_PCIX_DET (1L<<3)
#define BNX_PCICFG_MISC_STATUS_PCIX_SPEED (0x3L<<4)
#define BNX_PCICFG_MISC_STATUS_PCIX_SPEED_66 (0L<<4)
#define BNX_PCICFG_MISC_STATUS_PCIX_SPEED_100 (1L<<4)
#define BNX_PCICFG_MISC_STATUS_PCIX_SPEED_133 (2L<<4)
#define BNX_PCICFG_MISC_STATUS_PCIX_SPEED_PCI_MODE (3L<<4)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS 0x00000070
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET (0xfL<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_32MHZ (0L<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_38MHZ (1L<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_48MHZ (2L<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_55MHZ (3L<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_66MHZ (4L<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_80MHZ (5L<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_95MHZ (6L<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_133MHZ (7L<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_LOW (0xfL<<0)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_DISABLE (1L<<6)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_ALT (1L<<7)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC (0x7L<<8)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC_UNDEF (0L<<8)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC_12 (1L<<8)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC_6 (2L<<8)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC_62 (4L<<8)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PLAY_DEAD (1L<<11)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED (0xfL<<12)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_100 (0L<<12)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_80 (1L<<12)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_50 (2L<<12)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_40 (4L<<12)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_25 (8L<<12)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_CORE_CLK_PLL_STOP (1L<<16)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_PCI_PLL_STOP (1L<<17)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_RESERVED_18 (1L<<18)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_USE_SPD_DET (1L<<19)
#define BNX_PCICFG_PCI_CLOCK_CONTROL_BITS_RESERVED (0xfffL<<20)
#define BNX_PCICFG_REG_WINDOW_ADDRESS 0x00000078
#define BNX_PCICFG_REG_WINDOW 0x00000080
#define BNX_PCICFG_INT_ACK_CMD 0x00000084
#define BNX_PCICFG_INT_ACK_CMD_INDEX (0xffffL<<0)
#define BNX_PCICFG_INT_ACK_CMD_INDEX_VALID (1L<<16)
#define BNX_PCICFG_INT_ACK_CMD_USE_INT_HC_PARAM (1L<<17)
#define BNX_PCICFG_INT_ACK_CMD_MASK_INT (1L<<18)
#define BNX_PCICFG_STATUS_BIT_SET_CMD 0x00000088
#define BNX_PCICFG_STATUS_BIT_CLEAR_CMD 0x0000008c
#define BNX_PCICFG_MAILBOX_QUEUE_ADDR 0x00000090
#define BNX_PCICFG_MAILBOX_QUEUE_DATA 0x00000094
/*
* pci_reg definition
* offset: 0x400
*/
#define BNX_PCI_GRC_WINDOW_ADDR 0x00000400
#define BNX_PCI_GRC_WINDOW_ADDR_PCI_GRC_WINDOW_ADDR_VALUE (0x3ffffL<<8)
#define BNX_PCI_CONFIG_1 0x00000404
#define BNX_PCI_CONFIG_1_READ_BOUNDARY (0x7L<<8)
#define BNX_PCI_CONFIG_1_READ_BOUNDARY_OFF (0L<<8)
#define BNX_PCI_CONFIG_1_READ_BOUNDARY_16 (1L<<8)
#define BNX_PCI_CONFIG_1_READ_BOUNDARY_32 (2L<<8)
#define BNX_PCI_CONFIG_1_READ_BOUNDARY_64 (3L<<8)
#define BNX_PCI_CONFIG_1_READ_BOUNDARY_128 (4L<<8)
#define BNX_PCI_CONFIG_1_READ_BOUNDARY_256 (5L<<8)
#define BNX_PCI_CONFIG_1_READ_BOUNDARY_512 (6L<<8)
#define BNX_PCI_CONFIG_1_READ_BOUNDARY_1024 (7L<<8)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY (0x7L<<11)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY_OFF (0L<<11)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY_16 (1L<<11)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY_32 (2L<<11)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY_64 (3L<<11)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY_128 (4L<<11)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY_256 (5L<<11)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY_512 (6L<<11)
#define BNX_PCI_CONFIG_1_WRITE_BOUNDARY_1024 (7L<<11)
#define BNX_PCI_CONFIG_2 0x00000408
#define BNX_PCI_CONFIG_2_BAR1_SIZE (0xfL<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_DISABLED (0L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_64K (1L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_128K (2L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_256K (3L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_512K (4L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_1M (5L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_2M (6L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_4M (7L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_8M (8L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_16M (9L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_32M (10L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_64M (11L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_128M (12L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_256M (13L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_512M (14L<<0)
#define BNX_PCI_CONFIG_2_BAR1_SIZE_1G (15L<<0)
#define BNX_PCI_CONFIG_2_BAR1_64ENA (1L<<4)
#define BNX_PCI_CONFIG_2_EXP_ROM_RETRY (1L<<5)
#define BNX_PCI_CONFIG_2_CFG_CYCLE_RETRY (1L<<6)
#define BNX_PCI_CONFIG_2_FIRST_CFG_DONE (1L<<7)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE (0xffL<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_DISABLED (0L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_1K (1L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_2K (2L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_4K (3L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_8K (4L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_16K (5L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_32K (6L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_64K (7L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_128K (8L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_256K (9L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_512K (10L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_1M (11L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_2M (12L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_4M (13L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_8M (14L<<8)
#define BNX_PCI_CONFIG_2_EXP_ROM_SIZE_16M (15L<<8)
#define BNX_PCI_CONFIG_2_MAX_SPLIT_LIMIT (0x1fL<<16)
#define BNX_PCI_CONFIG_2_MAX_READ_LIMIT (0x3L<<21)
#define BNX_PCI_CONFIG_2_MAX_READ_LIMIT_512 (0L<<21)
#define BNX_PCI_CONFIG_2_MAX_READ_LIMIT_1K (1L<<21)
#define BNX_PCI_CONFIG_2_MAX_READ_LIMIT_2K (2L<<21)
#define BNX_PCI_CONFIG_2_MAX_READ_LIMIT_4K (3L<<21)
#define BNX_PCI_CONFIG_2_FORCE_32_BIT_MSTR (1L<<23)
#define BNX_PCI_CONFIG_2_FORCE_32_BIT_TGT (1L<<24)
#define BNX_PCI_CONFIG_2_KEEP_REQ_ASSERT (1L<<25)
#define BNX_PCI_CONFIG_3 0x0000040c
#define BNX_PCI_CONFIG_3_STICKY_BYTE (0xffL<<0)
#define BNX_PCI_CONFIG_3_FORCE_PME (1L<<24)
#define BNX_PCI_CONFIG_3_PME_STATUS (1L<<25)
#define BNX_PCI_CONFIG_3_PME_ENABLE (1L<<26)
#define BNX_PCI_CONFIG_3_PM_STATE (0x3L<<27)
#define BNX_PCI_CONFIG_3_VAUX_PRESET (1L<<30)
#define BNX_PCI_CONFIG_3_PCI_POWER (1L<<31)
#define BNX_PCI_PM_DATA_A 0x00000410
#define BNX_PCI_PM_DATA_A_PM_DATA_0_PRG (0xffL<<0)
#define BNX_PCI_PM_DATA_A_PM_DATA_1_PRG (0xffL<<8)
#define BNX_PCI_PM_DATA_A_PM_DATA_2_PRG (0xffL<<16)
#define BNX_PCI_PM_DATA_A_PM_DATA_3_PRG (0xffL<<24)
#define BNX_PCI_PM_DATA_B 0x00000414
#define BNX_PCI_PM_DATA_B_PM_DATA_4_PRG (0xffL<<0)
#define BNX_PCI_PM_DATA_B_PM_DATA_5_PRG (0xffL<<8)
#define BNX_PCI_PM_DATA_B_PM_DATA_6_PRG (0xffL<<16)
#define BNX_PCI_PM_DATA_B_PM_DATA_7_PRG (0xffL<<24)
#define BNX_PCI_SWAP_DIAG0 0x00000418
#define BNX_PCI_SWAP_DIAG1 0x0000041c
#define BNX_PCI_EXP_ROM_ADDR 0x00000420
#define BNX_PCI_EXP_ROM_ADDR_ADDRESS (0x3fffffL<<2)
#define BNX_PCI_EXP_ROM_ADDR_REQ (1L<<31)
#define BNX_PCI_EXP_ROM_DATA 0x00000424
#define BNX_PCI_VPD_INTF 0x00000428
#define BNX_PCI_VPD_INTF_INTF_REQ (1L<<0)
#define BNX_PCI_VPD_ADDR_FLAG 0x0000042c
#define BNX_PCI_VPD_ADDR_FLAG_ADDRESS (0x1fff<<2)
#define BNX_PCI_VPD_ADDR_FLAG_WR (1<<15)
#define BNX_PCI_VPD_DATA 0x00000430
#define BNX_PCI_ID_VAL1 0x00000434
#define BNX_PCI_ID_VAL1_DEVICE_ID (0xffffL<<0)
#define BNX_PCI_ID_VAL1_VENDOR_ID (0xffffL<<16)
#define BNX_PCI_ID_VAL2 0x00000438
#define BNX_PCI_ID_VAL2_SUBSYSTEM_VENDOR_ID (0xffffL<<0)
#define BNX_PCI_ID_VAL2_SUBSYSTEM_ID (0xffffL<<16)
#define BNX_PCI_ID_VAL3 0x0000043c
#define BNX_PCI_ID_VAL3_CLASS_CODE (0xffffffL<<0)
#define BNX_PCI_ID_VAL3_REVISION_ID (0xffL<<24)
#define BNX_PCI_ID_VAL4 0x00000440
#define BNX_PCI_ID_VAL4_CAP_ENA (0xfL<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_0 (0L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_1 (1L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_2 (2L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_3 (3L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_4 (4L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_5 (5L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_6 (6L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_7 (7L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_8 (8L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_9 (9L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_10 (10L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_11 (11L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_12 (12L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_13 (13L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_14 (14L<<0)
#define BNX_PCI_ID_VAL4_CAP_ENA_15 (15L<<0)
#define BNX_PCI_ID_VAL4_PM_SCALE_PRG (0x3L<<6)
#define BNX_PCI_ID_VAL4_PM_SCALE_PRG_0 (0L<<6)
#define BNX_PCI_ID_VAL4_PM_SCALE_PRG_1 (1L<<6)
#define BNX_PCI_ID_VAL4_PM_SCALE_PRG_2 (2L<<6)
#define BNX_PCI_ID_VAL4_PM_SCALE_PRG_3 (3L<<6)
#define BNX_PCI_ID_VAL4_MSI_LIMIT (0x7L<<9)
#define BNX_PCI_ID_VAL4_MSI_ADVERTIZE (0x7L<<12)
#define BNX_PCI_ID_VAL4_MSI_ENABLE (1L<<15)
#define BNX_PCI_ID_VAL4_MAX_64_ADVERTIZE (1L<<16)
#define BNX_PCI_ID_VAL4_MAX_133_ADVERTIZE (1L<<17)
#define BNX_PCI_ID_VAL4_MAX_MEM_READ_SIZE (0x3L<<21)
#define BNX_PCI_ID_VAL4_MAX_SPLIT_SIZE (0x7L<<23)
#define BNX_PCI_ID_VAL4_MAX_CUMULATIVE_SIZE (0x7L<<26)
#define BNX_PCI_ID_VAL5 0x00000444
#define BNX_PCI_ID_VAL5_D1_SUPPORT (1L<<0)
#define BNX_PCI_ID_VAL5_D2_SUPPORT (1L<<1)
#define BNX_PCI_ID_VAL5_PME_IN_D0 (1L<<2)
#define BNX_PCI_ID_VAL5_PME_IN_D1 (1L<<3)
#define BNX_PCI_ID_VAL5_PME_IN_D2 (1L<<4)
#define BNX_PCI_ID_VAL5_PME_IN_D3_HOT (1L<<5)
#define BNX_PCI_PCIX_EXTENDED_STATUS 0x00000448
#define BNX_PCI_PCIX_EXTENDED_STATUS_NO_SNOOP (1L<<8)
#define BNX_PCI_PCIX_EXTENDED_STATUS_LONG_BURST (1L<<9)
#define BNX_PCI_PCIX_EXTENDED_STATUS_SPLIT_COMP_MSG_CLASS (0xfL<<16)
#define BNX_PCI_PCIX_EXTENDED_STATUS_SPLIT_COMP_MSG_IDX (0xffL<<24)
#define BNX_PCI_ID_VAL6 0x0000044c
#define BNX_PCI_ID_VAL6_MAX_LAT (0xffL<<0)
#define BNX_PCI_ID_VAL6_MIN_GNT (0xffL<<8)
#define BNX_PCI_ID_VAL6_BIST (0xffL<<16)
#define BNX_PCI_MSI_DATA 0x00000450
#define BNX_PCI_MSI_DATA_PCI_MSI_DATA (0xffffL<<0)
#define BNX_PCI_MSI_ADDR_H 0x00000454
#define BNX_PCI_MSI_ADDR_L 0x00000458
/*
* misc_reg definition
* offset: 0x800
*/
#define BNX_MISC_COMMAND 0x00000800
#define BNX_MISC_COMMAND_ENABLE_ALL (1L<<0)
#define BNX_MISC_COMMAND_DISABLE_ALL (1L<<1)
#define BNX_MISC_COMMAND_SW_RESET (1L<<4)
#define BNX_MISC_COMMAND_POR_RESET (1L<<5)
#define BNX_MISC_COMMAND_HD_RESET (1L<<6)
#define BNX_MISC_COMMAND_CMN_SW_RESET (1L<<7)
#define BNX_MISC_COMMAND_PAR_ERROR (1L<<8)
#define BNX_MISC_COMMAND_CS16_ERR (1L<<9)
#define BNX_MISC_COMMAND_CS16_ERR_LOC (0xfL<<12)
#define BNX_MISC_COMMAND_PAR_ERR_RAM (0x7fL<<16)
#define BNX_MISC_COMMAND_POWERDOWN_EVENT (1L<<23)
#define BNX_MISC_COMMAND_SW_SHUTDOWN (1L<<24)
#define BNX_MISC_COMMAND_SHUTDOWN_EN (1L<<25)
#define BNX_MISC_COMMAND_DINTEG_ATTN_EN (1L<<26)
#define BNX_MISC_COMMAND_PCIE_LINK_IN_L23 (1L<<27)
#define BNX_MISC_COMMAND_PCIE_DIS (1L<<28)
#define BNX_MISC_CFG 0x00000804
#define BNX_MISC_CFG_PCI_GRC_TMOUT (1L<<0)
#define BNX_MISC_CFG_NVM_WR_EN (0x3L<<1)
#define BNX_MISC_CFG_NVM_WR_EN_PROTECT (0L<<1)
#define BNX_MISC_CFG_NVM_WR_EN_PCI (1L<<1)
#define BNX_MISC_CFG_NVM_WR_EN_ALLOW (2L<<1)
#define BNX_MISC_CFG_NVM_WR_EN_ALLOW2 (3L<<1)
#define BNX_MISC_CFG_BIST_EN (1L<<3)
#define BNX_MISC_CFG_CK25_OUT_ALT_SRC (1L<<4)
#define BNX_MISC_CFG_BYPASS_BSCAN (1L<<5)
#define BNX_MISC_CFG_BYPASS_EJTAG (1L<<6)
#define BNX_MISC_CFG_CLK_CTL_OVERRIDE (1L<<7)
#define BNX_MISC_CFG_LEDMODE (0x3L<<8)
#define BNX_MISC_CFG_LEDMODE_MAC (0L<<8)
#define BNX_MISC_CFG_LEDMODE_GPHY1 (1L<<8)
#define BNX_MISC_CFG_LEDMODE_GPHY2 (2L<<8)
#define BNX_MISC_ID 0x00000808
#define BNX_MISC_ID_BOND_ID (0xfL<<0)
#define BNX_MISC_ID_CHIP_METAL (0xffL<<4)
#define BNX_MISC_ID_CHIP_REV (0xfL<<12)
#define BNX_MISC_ID_CHIP_NUM (0xffffL<<16)
#define BNX_MISC_ENABLE_STATUS_BITS 0x0000080c
#define BNX_MISC_ENABLE_STATUS_BITS_TX_SCHEDULER_ENABLE (1L<<0)
#define BNX_MISC_ENABLE_STATUS_BITS_TX_BD_READ_ENABLE (1L<<1)
#define BNX_MISC_ENABLE_STATUS_BITS_TX_BD_CACHE_ENABLE (1L<<2)
#define BNX_MISC_ENABLE_STATUS_BITS_TX_PROCESSOR_ENABLE (1L<<3)
#define BNX_MISC_ENABLE_STATUS_BITS_TX_DMA_ENABLE (1L<<4)
#define BNX_MISC_ENABLE_STATUS_BITS_TX_PATCHUP_ENABLE (1L<<5)
#define BNX_MISC_ENABLE_STATUS_BITS_TX_PAYLOAD_Q_ENABLE (1L<<6)
#define BNX_MISC_ENABLE_STATUS_BITS_TX_HEADER_Q_ENABLE (1L<<7)
#define BNX_MISC_ENABLE_STATUS_BITS_TX_ASSEMBLER_ENABLE (1L<<8)
#define BNX_MISC_ENABLE_STATUS_BITS_EMAC_ENABLE (1L<<9)
#define BNX_MISC_ENABLE_STATUS_BITS_RX_PARSER_MAC_ENABLE (1L<<10)
#define BNX_MISC_ENABLE_STATUS_BITS_RX_PARSER_CATCHUP_ENABLE (1L<<11)
#define BNX_MISC_ENABLE_STATUS_BITS_RX_MBUF_ENABLE (1L<<12)
#define BNX_MISC_ENABLE_STATUS_BITS_RX_LOOKUP_ENABLE (1L<<13)
#define BNX_MISC_ENABLE_STATUS_BITS_RX_PROCESSOR_ENABLE (1L<<14)
#define BNX_MISC_ENABLE_STATUS_BITS_RX_V2P_ENABLE (1L<<15)
#define BNX_MISC_ENABLE_STATUS_BITS_RX_BD_CACHE_ENABLE (1L<<16)
#define BNX_MISC_ENABLE_STATUS_BITS_RX_DMA_ENABLE (1L<<17)
#define BNX_MISC_ENABLE_STATUS_BITS_COMPLETION_ENABLE (1L<<18)
#define BNX_MISC_ENABLE_STATUS_BITS_HOST_COALESCE_ENABLE (1L<<19)
#define BNX_MISC_ENABLE_STATUS_BITS_MAILBOX_QUEUE_ENABLE (1L<<20)
#define BNX_MISC_ENABLE_STATUS_BITS_CONTEXT_ENABLE (1L<<21)
#define BNX_MISC_ENABLE_STATUS_BITS_CMD_SCHEDULER_ENABLE (1L<<22)
#define BNX_MISC_ENABLE_STATUS_BITS_CMD_PROCESSOR_ENABLE (1L<<23)
#define BNX_MISC_ENABLE_STATUS_BITS_MGMT_PROCESSOR_ENABLE (1L<<24)
#define BNX_MISC_ENABLE_STATUS_BITS_TIMER_ENABLE (1L<<25)
#define BNX_MISC_ENABLE_STATUS_BITS_DMA_ENGINE_ENABLE (1L<<26)
#define BNX_MISC_ENABLE_STATUS_BITS_UMP_ENABLE (1L<<27)
#define BNX_MISC_ENABLE_SET_BITS 0x00000810
#define BNX_MISC_ENABLE_SET_BITS_TX_SCHEDULER_ENABLE (1L<<0)
#define BNX_MISC_ENABLE_SET_BITS_TX_BD_READ_ENABLE (1L<<1)
#define BNX_MISC_ENABLE_SET_BITS_TX_BD_CACHE_ENABLE (1L<<2)
#define BNX_MISC_ENABLE_SET_BITS_TX_PROCESSOR_ENABLE (1L<<3)
#define BNX_MISC_ENABLE_SET_BITS_TX_DMA_ENABLE (1L<<4)
#define BNX_MISC_ENABLE_SET_BITS_TX_PATCHUP_ENABLE (1L<<5)
#define BNX_MISC_ENABLE_SET_BITS_TX_PAYLOAD_Q_ENABLE (1L<<6)
#define BNX_MISC_ENABLE_SET_BITS_TX_HEADER_Q_ENABLE (1L<<7)
#define BNX_MISC_ENABLE_SET_BITS_TX_ASSEMBLER_ENABLE (1L<<8)
#define BNX_MISC_ENABLE_SET_BITS_EMAC_ENABLE (1L<<9)
#define BNX_MISC_ENABLE_SET_BITS_RX_PARSER_MAC_ENABLE (1L<<10)
#define BNX_MISC_ENABLE_SET_BITS_RX_PARSER_CATCHUP_ENABLE (1L<<11)
#define BNX_MISC_ENABLE_SET_BITS_RX_MBUF_ENABLE (1L<<12)
#define BNX_MISC_ENABLE_SET_BITS_RX_LOOKUP_ENABLE (1L<<13)
#define BNX_MISC_ENABLE_SET_BITS_RX_PROCESSOR_ENABLE (1L<<14)
#define BNX_MISC_ENABLE_SET_BITS_RX_V2P_ENABLE (1L<<15)
#define BNX_MISC_ENABLE_SET_BITS_RX_BD_CACHE_ENABLE (1L<<16)
#define BNX_MISC_ENABLE_SET_BITS_RX_DMA_ENABLE (1L<<17)
#define BNX_MISC_ENABLE_SET_BITS_COMPLETION_ENABLE (1L<<18)
#define BNX_MISC_ENABLE_SET_BITS_HOST_COALESCE_ENABLE (1L<<19)
#define BNX_MISC_ENABLE_SET_BITS_MAILBOX_QUEUE_ENABLE (1L<<20)
#define BNX_MISC_ENABLE_SET_BITS_CONTEXT_ENABLE (1L<<21)
#define BNX_MISC_ENABLE_SET_BITS_CMD_SCHEDULER_ENABLE (1L<<22)
#define BNX_MISC_ENABLE_SET_BITS_CMD_PROCESSOR_ENABLE (1L<<23)
#define BNX_MISC_ENABLE_SET_BITS_MGMT_PROCESSOR_ENABLE (1L<<24)
#define BNX_MISC_ENABLE_SET_BITS_TIMER_ENABLE (1L<<25)
#define BNX_MISC_ENABLE_SET_BITS_DMA_ENGINE_ENABLE (1L<<26)
#define BNX_MISC_ENABLE_SET_BITS_UMP_ENABLE (1L<<27)
#define BNX_MISC_ENABLE_DEFAULT 0x05ffffff
#define BNX_MISC_ENABLE_DEFAULT_XI 0x17ffffff
#define BNX_MISC_ENABLE_CLR_BITS 0x00000814
#define BNX_MISC_ENABLE_CLR_BITS_TX_SCHEDULER_ENABLE (1L<<0)
#define BNX_MISC_ENABLE_CLR_BITS_TX_BD_READ_ENABLE (1L<<1)
#define BNX_MISC_ENABLE_CLR_BITS_TX_BD_CACHE_ENABLE (1L<<2)
#define BNX_MISC_ENABLE_CLR_BITS_TX_PROCESSOR_ENABLE (1L<<3)
#define BNX_MISC_ENABLE_CLR_BITS_TX_DMA_ENABLE (1L<<4)
#define BNX_MISC_ENABLE_CLR_BITS_TX_PATCHUP_ENABLE (1L<<5)
#define BNX_MISC_ENABLE_CLR_BITS_TX_PAYLOAD_Q_ENABLE (1L<<6)
#define BNX_MISC_ENABLE_CLR_BITS_TX_HEADER_Q_ENABLE (1L<<7)
#define BNX_MISC_ENABLE_CLR_BITS_TX_ASSEMBLER_ENABLE (1L<<8)
#define BNX_MISC_ENABLE_CLR_BITS_EMAC_ENABLE (1L<<9)
#define BNX_MISC_ENABLE_CLR_BITS_RX_PARSER_MAC_ENABLE (1L<<10)
#define BNX_MISC_ENABLE_CLR_BITS_RX_PARSER_CATCHUP_ENABLE (1L<<11)
#define BNX_MISC_ENABLE_CLR_BITS_RX_MBUF_ENABLE (1L<<12)
#define BNX_MISC_ENABLE_CLR_BITS_RX_LOOKUP_ENABLE (1L<<13)
#define BNX_MISC_ENABLE_CLR_BITS_RX_PROCESSOR_ENABLE (1L<<14)
#define BNX_MISC_ENABLE_CLR_BITS_RX_V2P_ENABLE (1L<<15)
#define BNX_MISC_ENABLE_CLR_BITS_RX_BD_CACHE_ENABLE (1L<<16)
#define BNX_MISC_ENABLE_CLR_BITS_RX_DMA_ENABLE (1L<<17)
#define BNX_MISC_ENABLE_CLR_BITS_COMPLETION_ENABLE (1L<<18)
#define BNX_MISC_ENABLE_CLR_BITS_HOST_COALESCE_ENABLE (1L<<19)
#define BNX_MISC_ENABLE_CLR_BITS_MAILBOX_QUEUE_ENABLE (1L<<20)
#define BNX_MISC_ENABLE_CLR_BITS_CONTEXT_ENABLE (1L<<21)
#define BNX_MISC_ENABLE_CLR_BITS_CMD_SCHEDULER_ENABLE (1L<<22)
#define BNX_MISC_ENABLE_CLR_BITS_CMD_PROCESSOR_ENABLE (1L<<23)
#define BNX_MISC_ENABLE_CLR_BITS_MGMT_PROCESSOR_ENABLE (1L<<24)
#define BNX_MISC_ENABLE_CLR_BITS_TIMER_ENABLE (1L<<25)
#define BNX_MISC_ENABLE_CLR_BITS_DMA_ENGINE_ENABLE (1L<<26)
#define BNX_MISC_ENABLE_CLR_BITS_UMP_ENABLE (1L<<27)
#define BNX_MISC_CLOCK_CONTROL_BITS 0x00000818
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET (0xfL<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_32MHZ (0L<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_38MHZ (1L<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_48MHZ (2L<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_55MHZ (3L<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_66MHZ (4L<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_80MHZ (5L<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_95MHZ (6L<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_133MHZ (7L<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_CLK_SPD_DET_LOW (0xfL<<0)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_DISABLE (1L<<6)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_ALT (1L<<7)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC (0x7L<<8)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC_UNDEF (0L<<8)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC_12 (1L<<8)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC_6 (2L<<8)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_ALT_SRC_62 (4L<<8)
#define BNX_MISC_CLOCK_CONTROL_BITS_PLAY_DEAD (1L<<11)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED (0xfL<<12)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_100 (0L<<12)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_80 (1L<<12)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_50 (2L<<12)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_40 (4L<<12)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_PLL_SPEED_25 (8L<<12)
#define BNX_MISC_CLOCK_CONTROL_BITS_CORE_CLK_PLL_STOP (1L<<16)
#define BNX_MISC_CLOCK_CONTROL_BITS_PCI_PLL_STOP (1L<<17)
#define BNX_MISC_CLOCK_CONTROL_BITS_RESERVED_18 (1L<<18)
#define BNX_MISC_CLOCK_CONTROL_BITS_USE_SPD_DET (1L<<19)
#define BNX_MISC_CLOCK_CONTROL_BITS_RESERVED (0xfffL<<20)
#define BNX_MISC_GPIO 0x0000081c
#define BNX_MISC_GPIO_VALUE (0xffL<<0)
#define BNX_MISC_GPIO_SET (0xffL<<8)
#define BNX_MISC_GPIO_CLR (0xffL<<16)
#define BNX_MISC_GPIO_FLOAT (0xffL<<24)
#define BNX_MISC_GPIO_INT 0x00000820
#define BNX_MISC_GPIO_INT_INT_STATE (0xfL<<0)
#define BNX_MISC_GPIO_INT_OLD_VALUE (0xfL<<8)
#define BNX_MISC_GPIO_INT_OLD_SET (0xfL<<16)
#define BNX_MISC_GPIO_INT_OLD_CLR (0xfL<<24)
#define BNX_MISC_CONFIG_LFSR 0x00000824
#define BNX_MISC_CONFIG_LFSR_DIV (0xffffL<<0)
#define BNX_MISC_LFSR_MASK_BITS 0x00000828
#define BNX_MISC_LFSR_MASK_BITS_TX_SCHEDULER_ENABLE (1L<<0)
#define BNX_MISC_LFSR_MASK_BITS_TX_BD_READ_ENABLE (1L<<1)
#define BNX_MISC_LFSR_MASK_BITS_TX_BD_CACHE_ENABLE (1L<<2)
#define BNX_MISC_LFSR_MASK_BITS_TX_PROCESSOR_ENABLE (1L<<3)
#define BNX_MISC_LFSR_MASK_BITS_TX_DMA_ENABLE (1L<<4)
#define BNX_MISC_LFSR_MASK_BITS_TX_PATCHUP_ENABLE (1L<<5)
#define BNX_MISC_LFSR_MASK_BITS_TX_PAYLOAD_Q_ENABLE (1L<<6)
#define BNX_MISC_LFSR_MASK_BITS_TX_HEADER_Q_ENABLE (1L<<7)
#define BNX_MISC_LFSR_MASK_BITS_TX_ASSEMBLER_ENABLE (1L<<8)
#define BNX_MISC_LFSR_MASK_BITS_EMAC_ENABLE (1L<<9)
#define BNX_MISC_LFSR_MASK_BITS_RX_PARSER_MAC_ENABLE (1L<<10)
#define BNX_MISC_LFSR_MASK_BITS_RX_PARSER_CATCHUP_ENABLE (1L<<11)
#define BNX_MISC_LFSR_MASK_BITS_RX_MBUF_ENABLE (1L<<12)
#define BNX_MISC_LFSR_MASK_BITS_RX_LOOKUP_ENABLE (1L<<13)
#define BNX_MISC_LFSR_MASK_BITS_RX_PROCESSOR_ENABLE (1L<<14)
#define BNX_MISC_LFSR_MASK_BITS_RX_V2P_ENABLE (1L<<15)
#define BNX_MISC_LFSR_MASK_BITS_RX_BD_CACHE_ENABLE (1L<<16)
#define BNX_MISC_LFSR_MASK_BITS_RX_DMA_ENABLE (1L<<17)
#define BNX_MISC_LFSR_MASK_BITS_COMPLETION_ENABLE (1L<<18)
#define BNX_MISC_LFSR_MASK_BITS_HOST_COALESCE_ENABLE (1L<<19)
#define BNX_MISC_LFSR_MASK_BITS_MAILBOX_QUEUE_ENABLE (1L<<20)
#define BNX_MISC_LFSR_MASK_BITS_CONTEXT_ENABLE (1L<<21)
#define BNX_MISC_LFSR_MASK_BITS_CMD_SCHEDULER_ENABLE (1L<<22)
#define BNX_MISC_LFSR_MASK_BITS_CMD_PROCESSOR_ENABLE (1L<<23)
#define BNX_MISC_LFSR_MASK_BITS_MGMT_PROCESSOR_ENABLE (1L<<24)
#define BNX_MISC_LFSR_MASK_BITS_TIMER_ENABLE (1L<<25)
#define BNX_MISC_LFSR_MASK_BITS_DMA_ENGINE_ENABLE (1L<<26)
#define BNX_MISC_LFSR_MASK_BITS_UMP_ENABLE (1L<<27)
#define BNX_MISC_ARB_REQ0 0x0000082c
#define BNX_MISC_ARB_REQ1 0x00000830
#define BNX_MISC_ARB_REQ2 0x00000834
#define BNX_MISC_ARB_REQ3 0x00000838
#define BNX_MISC_ARB_REQ4 0x0000083c
#define BNX_MISC_ARB_FREE0 0x00000840
#define BNX_MISC_ARB_FREE1 0x00000844
#define BNX_MISC_ARB_FREE2 0x00000848
#define BNX_MISC_ARB_FREE3 0x0000084c
#define BNX_MISC_ARB_FREE4 0x00000850
#define BNX_MISC_ARB_REQ_STATUS0 0x00000854
#define BNX_MISC_ARB_REQ_STATUS1 0x00000858
#define BNX_MISC_ARB_REQ_STATUS2 0x0000085c
#define BNX_MISC_ARB_REQ_STATUS3 0x00000860
#define BNX_MISC_ARB_REQ_STATUS4 0x00000864
#define BNX_MISC_ARB_GNT0 0x00000868
#define BNX_MISC_ARB_GNT0_0 (0x7L<<0)
#define BNX_MISC_ARB_GNT0_1 (0x7L<<4)
#define BNX_MISC_ARB_GNT0_2 (0x7L<<8)
#define BNX_MISC_ARB_GNT0_3 (0x7L<<12)
#define BNX_MISC_ARB_GNT0_4 (0x7L<<16)
#define BNX_MISC_ARB_GNT0_5 (0x7L<<20)
#define BNX_MISC_ARB_GNT0_6 (0x7L<<24)
#define BNX_MISC_ARB_GNT0_7 (0x7L<<28)
#define BNX_MISC_ARB_GNT1 0x0000086c
#define BNX_MISC_ARB_GNT1_8 (0x7L<<0)
#define BNX_MISC_ARB_GNT1_9 (0x7L<<4)
#define BNX_MISC_ARB_GNT1_10 (0x7L<<8)
#define BNX_MISC_ARB_GNT1_11 (0x7L<<12)
#define BNX_MISC_ARB_GNT1_12 (0x7L<<16)
#define BNX_MISC_ARB_GNT1_13 (0x7L<<20)
#define BNX_MISC_ARB_GNT1_14 (0x7L<<24)
#define BNX_MISC_ARB_GNT1_15 (0x7L<<28)
#define BNX_MISC_ARB_GNT2 0x00000870
#define BNX_MISC_ARB_GNT2_16 (0x7L<<0)
#define BNX_MISC_ARB_GNT2_17 (0x7L<<4)
#define BNX_MISC_ARB_GNT2_18 (0x7L<<8)
#define BNX_MISC_ARB_GNT2_19 (0x7L<<12)
#define BNX_MISC_ARB_GNT2_20 (0x7L<<16)
#define BNX_MISC_ARB_GNT2_21 (0x7L<<20)
#define BNX_MISC_ARB_GNT2_22 (0x7L<<24)
#define BNX_MISC_ARB_GNT2_23 (0x7L<<28)
#define BNX_MISC_ARB_GNT3 0x00000874
#define BNX_MISC_ARB_GNT3_24 (0x7L<<0)
#define BNX_MISC_ARB_GNT3_25 (0x7L<<4)
#define BNX_MISC_ARB_GNT3_26 (0x7L<<8)
#define BNX_MISC_ARB_GNT3_27 (0x7L<<12)
#define BNX_MISC_ARB_GNT3_28 (0x7L<<16)
#define BNX_MISC_ARB_GNT3_29 (0x7L<<20)
#define BNX_MISC_ARB_GNT3_30 (0x7L<<24)
#define BNX_MISC_ARB_GNT3_31 (0x7L<<28)
#define BNX_MISC_PRBS_CONTROL 0x00000878
#define BNX_MISC_PRBS_CONTROL_EN (1L<<0)
#define BNX_MISC_PRBS_CONTROL_RSTB (1L<<1)
#define BNX_MISC_PRBS_CONTROL_INV (1L<<2)
#define BNX_MISC_PRBS_CONTROL_ERR_CLR (1L<<3)
#define BNX_MISC_PRBS_CONTROL_ORDER (0x3L<<4)
#define BNX_MISC_PRBS_CONTROL_ORDER_7TH (0L<<4)
#define BNX_MISC_PRBS_CONTROL_ORDER_15TH (1L<<4)
#define BNX_MISC_PRBS_CONTROL_ORDER_23RD (2L<<4)
#define BNX_MISC_PRBS_CONTROL_ORDER_31ST (3L<<4)
#define BNX_MISC_PRBS_STATUS 0x0000087c
#define BNX_MISC_PRBS_STATUS_LOCK (1L<<0)
#define BNX_MISC_PRBS_STATUS_STKY (1L<<1)
#define BNX_MISC_PRBS_STATUS_ERRORS (0x3fffL<<2)
#define BNX_MISC_PRBS_STATUS_STATE (0xfL<<16)
#define BNX_MISC_SM_ASF_CONTROL 0x00000880
#define BNX_MISC_SM_ASF_CONTROL_ASF_RST (1L<<0)
#define BNX_MISC_SM_ASF_CONTROL_TSC_EN (1L<<1)
#define BNX_MISC_SM_ASF_CONTROL_WG_TO (1L<<2)
#define BNX_MISC_SM_ASF_CONTROL_HB_TO (1L<<3)
#define BNX_MISC_SM_ASF_CONTROL_PA_TO (1L<<4)
#define BNX_MISC_SM_ASF_CONTROL_PL_TO (1L<<5)
#define BNX_MISC_SM_ASF_CONTROL_RT_TO (1L<<6)
#define BNX_MISC_SM_ASF_CONTROL_SMB_EVENT (1L<<7)
#define BNX_MISC_SM_ASF_CONTROL_RES (0xfL<<8)
#define BNX_MISC_SM_ASF_CONTROL_SMB_EN (1L<<12)
#define BNX_MISC_SM_ASF_CONTROL_SMB_BB_EN (1L<<13)
#define BNX_MISC_SM_ASF_CONTROL_SMB_NO_ADDR_FILT (1L<<14)
#define BNX_MISC_SM_ASF_CONTROL_SMB_AUTOREAD (1L<<15)
#define BNX_MISC_SM_ASF_CONTROL_NIC_SMB_ADDR1 (0x3fL<<16)
#define BNX_MISC_SM_ASF_CONTROL_NIC_SMB_ADDR2 (0x3fL<<24)
#define BNX_MISC_SM_ASF_CONTROL_EN_NIC_SMB_ADDR_0 (1L<<30)
#define BNX_MISC_SM_ASF_CONTROL_SMB_EARLY_ATTN (1L<<31)
#define BNX_MISC_SMB_IN 0x00000884
#define BNX_MISC_SMB_IN_DAT_IN (0xffL<<0)
#define BNX_MISC_SMB_IN_RDY (1L<<8)
#define BNX_MISC_SMB_IN_DONE (1L<<9)
#define BNX_MISC_SMB_IN_FIRSTBYTE (1L<<10)
#define BNX_MISC_SMB_IN_STATUS (0x7L<<11)
#define BNX_MISC_SMB_IN_STATUS_OK (0x0L<<11)
#define BNX_MISC_SMB_IN_STATUS_PEC (0x1L<<11)
#define BNX_MISC_SMB_IN_STATUS_OFLOW (0x2L<<11)
#define BNX_MISC_SMB_IN_STATUS_STOP (0x3L<<11)
#define BNX_MISC_SMB_IN_STATUS_TIMEOUT (0x4L<<11)
#define BNX_MISC_SMB_OUT 0x00000888
#define BNX_MISC_SMB_OUT_DAT_OUT (0xffL<<0)
#define BNX_MISC_SMB_OUT_RDY (1L<<8)
#define BNX_MISC_SMB_OUT_START (1L<<9)
#define BNX_MISC_SMB_OUT_LAST (1L<<10)
#define BNX_MISC_SMB_OUT_ACC_TYPE (1L<<11)
#define BNX_MISC_SMB_OUT_ENB_PEC (1L<<12)
#define BNX_MISC_SMB_OUT_GET_RX_LEN (1L<<13)
#define BNX_MISC_SMB_OUT_SMB_READ_LEN (0x3fL<<14)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS (0xfL<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_OK (0L<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_FIRST_NACK (1L<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_SUB_NACK (9L<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_UFLOW (2L<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_STOP (3L<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_TIMEOUT (4L<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_FIRST_LOST (5L<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_SUB_LOST (0xdL<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_STATUS_BADACK (0x6L<<20)
#define BNX_MISC_SMB_OUT_SMB_OUT_SLAVEMODE (1L<<24)
#define BNX_MISC_SMB_OUT_SMB_OUT_DAT_EN (1L<<25)
#define BNX_MISC_SMB_OUT_SMB_OUT_DAT_IN (1L<<26)
#define BNX_MISC_SMB_OUT_SMB_OUT_CLK_EN (1L<<27)
#define BNX_MISC_SMB_OUT_SMB_OUT_CLK_IN (1L<<28)
#define BNX_MISC_SMB_WATCHDOG 0x0000088c
#define BNX_MISC_SMB_WATCHDOG_WATCHDOG (0xffffL<<0)
#define BNX_MISC_SMB_HEARTBEAT 0x00000890
#define BNX_MISC_SMB_HEARTBEAT_HEARTBEAT (0xffffL<<0)
#define BNX_MISC_SMB_POLL_ASF 0x00000894
#define BNX_MISC_SMB_POLL_ASF_POLL_ASF (0xffffL<<0)
#define BNX_MISC_SMB_POLL_LEGACY 0x00000898
#define BNX_MISC_SMB_POLL_LEGACY_POLL_LEGACY (0xffffL<<0)
#define BNX_MISC_SMB_RETRAN 0x0000089c
#define BNX_MISC_SMB_RETRAN_RETRAN (0xffL<<0)
#define BNX_MISC_SMB_TIMESTAMP 0x000008a0
#define BNX_MISC_SMB_TIMESTAMP_TIMESTAMP (0xffffffffL<<0)
#define BNX_MISC_PERR_ENA0 0x000008a4
#define BNX_MISC_PERR_ENA0_COM_MISC_CTXC (1L<<0)
#define BNX_MISC_PERR_ENA0_COM_MISC_REGF (1L<<1)
#define BNX_MISC_PERR_ENA0_COM_MISC_SCPAD (1L<<2)
#define BNX_MISC_PERR_ENA0_CP_MISC_CTXC (1L<<3)
#define BNX_MISC_PERR_ENA0_CP_MISC_REGF (1L<<4)
#define BNX_MISC_PERR_ENA0_CP_MISC_SCPAD (1L<<5)
#define BNX_MISC_PERR_ENA0_CS_MISC_TMEM (1L<<6)
#define BNX_MISC_PERR_ENA0_CTX_MISC_ACCM0 (1L<<7)
#define BNX_MISC_PERR_ENA0_CTX_MISC_ACCM1 (1L<<8)
#define BNX_MISC_PERR_ENA0_CTX_MISC_ACCM2 (1L<<9)
#define BNX_MISC_PERR_ENA0_CTX_MISC_ACCM3 (1L<<10)
#define BNX_MISC_PERR_ENA0_CTX_MISC_ACCM4 (1L<<11)
#define BNX_MISC_PERR_ENA0_CTX_MISC_ACCM5 (1L<<12)
#define BNX_MISC_PERR_ENA0_CTX_MISC_PGTBL (1L<<13)
#define BNX_MISC_PERR_ENA0_DMAE_MISC_DR0 (1L<<14)
#define BNX_MISC_PERR_ENA0_DMAE_MISC_DR1 (1L<<15)
#define BNX_MISC_PERR_ENA0_DMAE_MISC_DR2 (1L<<16)
#define BNX_MISC_PERR_ENA0_DMAE_MISC_DR3 (1L<<17)
#define BNX_MISC_PERR_ENA0_DMAE_MISC_DR4 (1L<<18)
#define BNX_MISC_PERR_ENA0_DMAE_MISC_DW0 (1L<<19)
#define BNX_MISC_PERR_ENA0_DMAE_MISC_DW1 (1L<<20)
#define BNX_MISC_PERR_ENA0_DMAE_MISC_DW2 (1L<<21)
#define BNX_MISC_PERR_ENA0_HC_MISC_DMA (1L<<22)
#define BNX_MISC_PERR_ENA0_MCP_MISC_REGF (1L<<23)
#define BNX_MISC_PERR_ENA0_MCP_MISC_SCPAD (1L<<24)
#define BNX_MISC_PERR_ENA0_MQ_MISC_CTX (1L<<25)
#define BNX_MISC_PERR_ENA0_RBDC_MISC (1L<<26)
#define BNX_MISC_PERR_ENA0_RBUF_MISC_MB (1L<<27)
#define BNX_MISC_PERR_ENA0_RBUF_MISC_PTR (1L<<28)
#define BNX_MISC_PERR_ENA0_RDE_MISC_RPC (1L<<29)
#define BNX_MISC_PERR_ENA0_RDE_MISC_RPM (1L<<30)
#define BNX_MISC_PERR_ENA0_RV2P_MISC_CB0REGS (1L<<31)
#define BNX_MISC_PERR_ENA1 0x000008a8
#define BNX_MISC_PERR_ENA1_RV2P_MISC_CB1REGS (1L<<0)
#define BNX_MISC_PERR_ENA1_RV2P_MISC_P1IRAM (1L<<1)
#define BNX_MISC_PERR_ENA1_RV2P_MISC_P2IRAM (1L<<2)
#define BNX_MISC_PERR_ENA1_RXP_MISC_CTXC (1L<<3)
#define BNX_MISC_PERR_ENA1_RXP_MISC_REGF (1L<<4)
#define BNX_MISC_PERR_ENA1_RXP_MISC_SCPAD (1L<<5)
#define BNX_MISC_PERR_ENA1_RXP_MISC_RBUFC (1L<<6)
#define BNX_MISC_PERR_ENA1_TBDC_MISC (1L<<7)
#define BNX_MISC_PERR_ENA1_TDMA_MISC (1L<<8)
#define BNX_MISC_PERR_ENA1_THBUF_MISC_MB0 (1L<<9)
#define BNX_MISC_PERR_ENA1_THBUF_MISC_MB1 (1L<<10)
#define BNX_MISC_PERR_ENA1_TPAT_MISC_REGF (1L<<11)
#define BNX_MISC_PERR_ENA1_TPAT_MISC_SCPAD (1L<<12)
#define BNX_MISC_PERR_ENA1_TPBUF_MISC_MB (1L<<13)
#define BNX_MISC_PERR_ENA1_TSCH_MISC_LR (1L<<14)
#define BNX_MISC_PERR_ENA1_TXP_MISC_CTXC (1L<<15)
#define BNX_MISC_PERR_ENA1_TXP_MISC_REGF (1L<<16)
#define BNX_MISC_PERR_ENA1_TXP_MISC_SCPAD (1L<<17)
#define BNX_MISC_PERR_ENA1_UMP_MISC_FIORX (1L<<18)
#define BNX_MISC_PERR_ENA1_UMP_MISC_FIOTX (1L<<19)
#define BNX_MISC_PERR_ENA1_UMP_MISC_RX (1L<<20)
#define BNX_MISC_PERR_ENA1_UMP_MISC_TX (1L<<21)
#define BNX_MISC_PERR_ENA1_RDMAQ_MISC (1L<<22)
#define BNX_MISC_PERR_ENA1_CSQ_MISC (1L<<23)
#define BNX_MISC_PERR_ENA1_CPQ_MISC (1L<<24)
#define BNX_MISC_PERR_ENA1_MCPQ_MISC (1L<<25)
#define BNX_MISC_PERR_ENA1_RV2PMQ_MISC (1L<<26)
#define BNX_MISC_PERR_ENA1_RV2PPQ_MISC (1L<<27)
#define BNX_MISC_PERR_ENA1_RV2PTQ_MISC (1L<<28)
#define BNX_MISC_PERR_ENA1_RXPQ_MISC (1L<<29)
#define BNX_MISC_PERR_ENA1_RXPCQ_MISC (1L<<30)
#define BNX_MISC_PERR_ENA1_RLUPQ_MISC (1L<<31)
#define BNX_MISC_PERR_ENA2 0x000008ac
#define BNX_MISC_PERR_ENA2_COMQ_MISC (1L<<0)
#define BNX_MISC_PERR_ENA2_COMXQ_MISC (1L<<1)
#define BNX_MISC_PERR_ENA2_COMTQ_MISC (1L<<2)
#define BNX_MISC_PERR_ENA2_TSCHQ_MISC (1L<<3)
#define BNX_MISC_PERR_ENA2_TBDRQ_MISC (1L<<4)
#define BNX_MISC_PERR_ENA2_TXPQ_MISC (1L<<5)
#define BNX_MISC_PERR_ENA2_TDMAQ_MISC (1L<<6)
#define BNX_MISC_PERR_ENA2_TPATQ_MISC (1L<<7)
#define BNX_MISC_PERR_ENA2_TASQ_MISC (1L<<8)
#define BNX_MISC_DEBUG_VECTOR_SEL 0x000008b0
#define BNX_MISC_DEBUG_VECTOR_SEL_0 (0xfffL<<0)
#define BNX_MISC_DEBUG_VECTOR_SEL_1 (0xfffL<<12)
#define BNX_MISC_VREG_CONTROL 0x000008b4
#define BNX_MISC_VREG_CONTROL_1_2 (0xfL<<0)
#define BNX_MISC_VREG_CONTROL_2_5 (0xfL<<4)
#define BNX_MISC_FINAL_CLK_CTL_VAL 0x000008b8
#define BNX_MISC_FINAL_CLK_CTL_VAL_MISC_FINAL_CLK_CTL_VAL (0x3ffffffL<<6)
#define BNX_MISC_NEW_CORE_CTL 0x000008c8
#define BNX_MISC_NEW_CORE_CTL_LINK_HOLDOFF_SUCCESS (1L<<0)
#define BNX_MISC_NEW_CORE_CTL_LINK_HOLDOFF_REQ (1L<<1)
#define BNX_MISC_NEW_CORE_CTL_DMA_ENABLE (1L<<16)
#define BNX_MISC_NEW_CORE_CTL_RESERVED_CMN (0x3fffL<<2)
#define BNX_MISC_NEW_CORE_CTL_RESERVED_TC (0xffffL<<16)
#define BNX_MISC_DUAL_MEDIA_CTRL 0x000008ec
#define BNX_MISC_DUAL_MEDIA_CTRL_BOND_ID (0xffL<<0)
#define BNX_MISC_DUAL_MEDIA_CTRL_BOND_ID_X (0L<<0)
#define BNX_MISC_DUAL_MEDIA_CTRL_BOND_ID_C (3L<<0)
#define BNX_MISC_DUAL_MEDIA_CTRL_BOND_ID_S (12L<<0)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY_CTRL_STRAP (0x7L<<8)
#define BNX_MISC_DUAL_MEDIA_CTRL_PORT_SWAP_PIN (1L<<11)
#define BNX_MISC_DUAL_MEDIA_CTRL_SERDES1_SIGDET (1L<<12)
#define BNX_MISC_DUAL_MEDIA_CTRL_SERDES0_SIGDET (1L<<13)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY1_SIGDET (1L<<14)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY0_SIGDET (1L<<15)
#define BNX_MISC_DUAL_MEDIA_CTRL_LCPLL_RST (1L<<16)
#define BNX_MISC_DUAL_MEDIA_CTRL_SERDES1_RST (1L<<17)
#define BNX_MISC_DUAL_MEDIA_CTRL_SERDES0_RST (1L<<18)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY1_RST (1L<<19)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY0_RST (1L<<20)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY_CTRL (0x7L<<21)
#define BNX_MISC_DUAL_MEDIA_CTRL_PORT_SWAP (1L<<24)
#define BNX_MISC_DUAL_MEDIA_CTRL_STRAP_OVERRIDE (1L<<25)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY_SERDES_IDDQ (0xfL<<26)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY_SERDES_IDDQ_SER1_IDDQ (1L<<26)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY_SERDES_IDDQ_SER0_IDDQ (2L<<26)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY_SERDES_IDDQ_PHY1_IDDQ (4L<<26)
#define BNX_MISC_DUAL_MEDIA_CTRL_PHY_SERDES_IDDQ_PHY0_IDDQ (8L<<26)
#define BNX_MISC_UNUSED0 0x000008bc
/*
* nvm_reg definition
* offset: 0x6400
*/
#define BNX_NVM_COMMAND 0x00006400
#define BNX_NVM_COMMAND_RST (1L<<0)
#define BNX_NVM_COMMAND_DONE (1L<<3)
#define BNX_NVM_COMMAND_DOIT (1L<<4)
#define BNX_NVM_COMMAND_WR (1L<<5)
#define BNX_NVM_COMMAND_ERASE (1L<<6)
#define BNX_NVM_COMMAND_FIRST (1L<<7)
#define BNX_NVM_COMMAND_LAST (1L<<8)
#define BNX_NVM_COMMAND_WREN (1L<<16)
#define BNX_NVM_COMMAND_WRDI (1L<<17)
#define BNX_NVM_COMMAND_EWSR (1L<<18)
#define BNX_NVM_COMMAND_WRSR (1L<<19)
#define BNX_NVM_STATUS 0x00006404
#define BNX_NVM_STATUS_PI_FSM_STATE (0xfL<<0)
#define BNX_NVM_STATUS_EE_FSM_STATE (0xfL<<4)
#define BNX_NVM_STATUS_EQ_FSM_STATE (0xfL<<8)
#define BNX_NVM_WRITE 0x00006408
#define BNX_NVM_WRITE_NVM_WRITE_VALUE (0xffffffffL<<0)
#define BNX_NVM_WRITE_NVM_WRITE_VALUE_BIT_BANG (0L<<0)
#define BNX_NVM_WRITE_NVM_WRITE_VALUE_EECLK (1L<<0)
#define BNX_NVM_WRITE_NVM_WRITE_VALUE_EEDATA (2L<<0)
#define BNX_NVM_WRITE_NVM_WRITE_VALUE_SCLK (4L<<0)
#define BNX_NVM_WRITE_NVM_WRITE_VALUE_CS_B (8L<<0)
#define BNX_NVM_WRITE_NVM_WRITE_VALUE_SO (16L<<0)
#define BNX_NVM_WRITE_NVM_WRITE_VALUE_SI (32L<<0)
#define BNX_NVM_ADDR 0x0000640c
#define BNX_NVM_ADDR_NVM_ADDR_VALUE (0xffffffL<<0)
#define BNX_NVM_ADDR_NVM_ADDR_VALUE_BIT_BANG (0L<<0)
#define BNX_NVM_ADDR_NVM_ADDR_VALUE_EECLK (1L<<0)
#define BNX_NVM_ADDR_NVM_ADDR_VALUE_EEDATA (2L<<0)
#define BNX_NVM_ADDR_NVM_ADDR_VALUE_SCLK (4L<<0)
#define BNX_NVM_ADDR_NVM_ADDR_VALUE_CS_B (8L<<0)
#define BNX_NVM_ADDR_NVM_ADDR_VALUE_SO (16L<<0)
#define BNX_NVM_ADDR_NVM_ADDR_VALUE_SI (32L<<0)
#define BNX_NVM_READ 0x00006410
#define BNX_NVM_READ_NVM_READ_VALUE (0xffffffffL<<0)
#define BNX_NVM_READ_NVM_READ_VALUE_BIT_BANG (0L<<0)
#define BNX_NVM_READ_NVM_READ_VALUE_EECLK (1L<<0)
#define BNX_NVM_READ_NVM_READ_VALUE_EEDATA (2L<<0)
#define BNX_NVM_READ_NVM_READ_VALUE_SCLK (4L<<0)
#define BNX_NVM_READ_NVM_READ_VALUE_CS_B (8L<<0)
#define BNX_NVM_READ_NVM_READ_VALUE_SO (16L<<0)
#define BNX_NVM_READ_NVM_READ_VALUE_SI (32L<<0)
#define BNX_NVM_CFG1 0x00006414
#define BNX_NVM_CFG1_FLASH_MODE (1L<<0)
#define BNX_NVM_CFG1_BUFFER_MODE (1L<<1)
#define BNX_NVM_CFG1_PASS_MODE (1L<<2)
#define BNX_NVM_CFG1_BITBANG_MODE (1L<<3)
#define BNX_NVM_CFG1_STATUS_BIT (0x7L<<4)
#define BNX_NVM_CFG1_STATUS_BIT_FLASH_RDY (0L<<4)
#define BNX_NVM_CFG1_STATUS_BIT_BUFFER_RDY (7L<<4)
#define BNX_NVM_CFG1_SPI_CLK_DIV (0xfL<<7)
#define BNX_NVM_CFG1_SEE_CLK_DIV (0x7ffL<<11)
#define BNX_NVM_CFG1_PROTECT_MODE (1L<<24)
#define BNX_NVM_CFG1_FLASH_SIZE (1L<<25)
#define BNX_NVM_CFG1_COMPAT_BYPASSS (1L<<31)
#define BNX_NVM_CFG2 0x00006418
#define BNX_NVM_CFG2_ERASE_CMD (0xffL<<0)
#define BNX_NVM_CFG2_DUMMY (0xffL<<8)
#define BNX_NVM_CFG2_STATUS_CMD (0xffL<<16)
#define BNX_NVM_CFG3 0x0000641c
#define BNX_NVM_CFG3_BUFFER_RD_CMD (0xffL<<0)
#define BNX_NVM_CFG3_WRITE_CMD (0xffL<<8)
#define BNX_NVM_CFG3_BUFFER_WRITE_CMD (0xffL<<16)
#define BNX_NVM_CFG3_READ_CMD (0xffL<<24)
#define BNX_NVM_SW_ARB 0x00006420
#define BNX_NVM_SW_ARB_ARB_REQ_SET0 (1L<<0)
#define BNX_NVM_SW_ARB_ARB_REQ_SET1 (1L<<1)
#define BNX_NVM_SW_ARB_ARB_REQ_SET2 (1L<<2)
#define BNX_NVM_SW_ARB_ARB_REQ_SET3 (1L<<3)
#define BNX_NVM_SW_ARB_ARB_REQ_CLR0 (1L<<4)
#define BNX_NVM_SW_ARB_ARB_REQ_CLR1 (1L<<5)
#define BNX_NVM_SW_ARB_ARB_REQ_CLR2 (1L<<6)
#define BNX_NVM_SW_ARB_ARB_REQ_CLR3 (1L<<7)
#define BNX_NVM_SW_ARB_ARB_ARB0 (1L<<8)
#define BNX_NVM_SW_ARB_ARB_ARB1 (1L<<9)
#define BNX_NVM_SW_ARB_ARB_ARB2 (1L<<10)
#define BNX_NVM_SW_ARB_ARB_ARB3 (1L<<11)
#define BNX_NVM_SW_ARB_REQ0 (1L<<12)
#define BNX_NVM_SW_ARB_REQ1 (1L<<13)
#define BNX_NVM_SW_ARB_REQ2 (1L<<14)
#define BNX_NVM_SW_ARB_REQ3 (1L<<15)
#define BNX_NVM_ACCESS_ENABLE 0x00006424
#define BNX_NVM_ACCESS_ENABLE_EN (1L<<0)
#define BNX_NVM_ACCESS_ENABLE_WR_EN (1L<<1)
#define BNX_NVM_WRITE1 0x00006428
#define BNX_NVM_WRITE1_WREN_CMD (0xffL<<0)
#define BNX_NVM_WRITE1_WRDI_CMD (0xffL<<8)
#define BNX_NVM_WRITE1_SR_DATA (0xffL<<16)
/*
* dma_reg definition
* offset: 0xc00
*/
#define BNX_DMA_COMMAND 0x00000c00
#define BNX_DMA_COMMAND_ENABLE (1L<<0)
#define BNX_DMA_STATUS 0x00000c04
#define BNX_DMA_STATUS_PAR_ERROR_STATE (1L<<0)
#define BNX_DMA_STATUS_READ_TRANSFERS_STAT (1L<<16)
#define BNX_DMA_STATUS_READ_DELAY_PCI_CLKS_STAT (1L<<17)
#define BNX_DMA_STATUS_BIG_READ_TRANSFERS_STAT (1L<<18)
#define BNX_DMA_STATUS_BIG_READ_DELAY_PCI_CLKS_STAT (1L<<19)
#define BNX_DMA_STATUS_BIG_READ_RETRY_AFTER_DATA_STAT (1L<<20)
#define BNX_DMA_STATUS_WRITE_TRANSFERS_STAT (1L<<21)
#define BNX_DMA_STATUS_WRITE_DELAY_PCI_CLKS_STAT (1L<<22)
#define BNX_DMA_STATUS_BIG_WRITE_TRANSFERS_STAT (1L<<23)
#define BNX_DMA_STATUS_BIG_WRITE_DELAY_PCI_CLKS_STAT (1L<<24)
#define BNX_DMA_STATUS_BIG_WRITE_RETRY_AFTER_DATA_STAT (1L<<25)
#define BNX_DMA_CONFIG 0x00000c08
#define BNX_DMA_CONFIG_DATA_BYTE_SWAP (1L<<0)
#define BNX_DMA_CONFIG_DATA_WORD_SWAP (1L<<1)
#define BNX_DMA_CONFIG_CNTL_BYTE_SWAP (1L<<4)
#define BNX_DMA_CONFIG_CNTL_WORD_SWAP (1L<<5)
#define BNX_DMA_CONFIG_ONE_DMA (1L<<6)
#define BNX_DMA_CONFIG_CNTL_TWO_DMA (1L<<7)
#define BNX_DMA_CONFIG_CNTL_FPGA_MODE (1L<<8)
#define BNX_DMA_CONFIG_CNTL_PING_PONG_DMA (1L<<10)
#define BNX_DMA_CONFIG_CNTL_PCI_COMP_DLY (1L<<11)
#define BNX_DMA_CONFIG_NO_RCHANS_IN_USE (0xfL<<12)
#define BNX_DMA_CONFIG_NO_WCHANS_IN_USE (0xfL<<16)
#define BNX_DMA_CONFIG_PCI_CLK_CMP_BITS (0x7L<<20)
#define BNX_DMA_CONFIG_PCI_FAST_CLK_CMP (1L<<23)
#define BNX_DMA_CONFIG_BIG_SIZE (0xfL<<24)
#define BNX_DMA_CONFIG_BIG_SIZE_NONE (0x0L<<24)
#define BNX_DMA_CONFIG_BIG_SIZE_64 (0x1L<<24)
#define BNX_DMA_CONFIG_BIG_SIZE_128 (0x2L<<24)
#define BNX_DMA_CONFIG_BIG_SIZE_256 (0x4L<<24)
#define BNX_DMA_CONFIG_BIG_SIZE_512 (0x8L<<24)
#define BNX_DMA_BLACKOUT 0x00000c0c
#define BNX_DMA_BLACKOUT_RD_RETRY_BLACKOUT (0xffL<<0)
#define BNX_DMA_BLACKOUT_2ND_RD_RETRY_BLACKOUT (0xffL<<8)
#define BNX_DMA_BLACKOUT_WR_RETRY_BLACKOUT (0xffL<<16)
#define BNX_DMA_RCHAN_STAT 0x00000c30
#define BNX_DMA_RCHAN_STAT_COMP_CODE_0 (0x7L<<0)
#define BNX_DMA_RCHAN_STAT_PAR_ERR_0 (1L<<3)
#define BNX_DMA_RCHAN_STAT_COMP_CODE_1 (0x7L<<4)
#define BNX_DMA_RCHAN_STAT_PAR_ERR_1 (1L<<7)
#define BNX_DMA_RCHAN_STAT_COMP_CODE_2 (0x7L<<8)
#define BNX_DMA_RCHAN_STAT_PAR_ERR_2 (1L<<11)
#define BNX_DMA_RCHAN_STAT_COMP_CODE_3 (0x7L<<12)
#define BNX_DMA_RCHAN_STAT_PAR_ERR_3 (1L<<15)
#define BNX_DMA_RCHAN_STAT_COMP_CODE_4 (0x7L<<16)
#define BNX_DMA_RCHAN_STAT_PAR_ERR_4 (1L<<19)
#define BNX_DMA_RCHAN_STAT_COMP_CODE_5 (0x7L<<20)
#define BNX_DMA_RCHAN_STAT_PAR_ERR_5 (1L<<23)
#define BNX_DMA_RCHAN_STAT_COMP_CODE_6 (0x7L<<24)
#define BNX_DMA_RCHAN_STAT_PAR_ERR_6 (1L<<27)
#define BNX_DMA_RCHAN_STAT_COMP_CODE_7 (0x7L<<28)
#define BNX_DMA_RCHAN_STAT_PAR_ERR_7 (1L<<31)
#define BNX_DMA_WCHAN_STAT 0x00000c34
#define BNX_DMA_WCHAN_STAT_COMP_CODE_0 (0x7L<<0)
#define BNX_DMA_WCHAN_STAT_PAR_ERR_0 (1L<<3)
#define BNX_DMA_WCHAN_STAT_COMP_CODE_1 (0x7L<<4)
#define BNX_DMA_WCHAN_STAT_PAR_ERR_1 (1L<<7)
#define BNX_DMA_WCHAN_STAT_COMP_CODE_2 (0x7L<<8)
#define BNX_DMA_WCHAN_STAT_PAR_ERR_2 (1L<<11)
#define BNX_DMA_WCHAN_STAT_COMP_CODE_3 (0x7L<<12)
#define BNX_DMA_WCHAN_STAT_PAR_ERR_3 (1L<<15)
#define BNX_DMA_WCHAN_STAT_COMP_CODE_4 (0x7L<<16)
#define BNX_DMA_WCHAN_STAT_PAR_ERR_4 (1L<<19)
#define BNX_DMA_WCHAN_STAT_COMP_CODE_5 (0x7L<<20)
#define BNX_DMA_WCHAN_STAT_PAR_ERR_5 (1L<<23)
#define BNX_DMA_WCHAN_STAT_COMP_CODE_6 (0x7L<<24)
#define BNX_DMA_WCHAN_STAT_PAR_ERR_6 (1L<<27)
#define BNX_DMA_WCHAN_STAT_COMP_CODE_7 (0x7L<<28)
#define BNX_DMA_WCHAN_STAT_PAR_ERR_7 (1L<<31)
#define BNX_DMA_RCHAN_ASSIGNMENT 0x00000c38
#define BNX_DMA_RCHAN_ASSIGNMENT_0 (0xfL<<0)
#define BNX_DMA_RCHAN_ASSIGNMENT_1 (0xfL<<4)
#define BNX_DMA_RCHAN_ASSIGNMENT_2 (0xfL<<8)
#define BNX_DMA_RCHAN_ASSIGNMENT_3 (0xfL<<12)
#define BNX_DMA_RCHAN_ASSIGNMENT_4 (0xfL<<16)
#define BNX_DMA_RCHAN_ASSIGNMENT_5 (0xfL<<20)
#define BNX_DMA_RCHAN_ASSIGNMENT_6 (0xfL<<24)
#define BNX_DMA_RCHAN_ASSIGNMENT_7 (0xfL<<28)
#define BNX_DMA_WCHAN_ASSIGNMENT 0x00000c3c
#define BNX_DMA_WCHAN_ASSIGNMENT_0 (0xfL<<0)
#define BNX_DMA_WCHAN_ASSIGNMENT_1 (0xfL<<4)
#define BNX_DMA_WCHAN_ASSIGNMENT_2 (0xfL<<8)
#define BNX_DMA_WCHAN_ASSIGNMENT_3 (0xfL<<12)
#define BNX_DMA_WCHAN_ASSIGNMENT_4 (0xfL<<16)
#define BNX_DMA_WCHAN_ASSIGNMENT_5 (0xfL<<20)
#define BNX_DMA_WCHAN_ASSIGNMENT_6 (0xfL<<24)
#define BNX_DMA_WCHAN_ASSIGNMENT_7 (0xfL<<28)
#define BNX_DMA_RCHAN_STAT_00 0x00000c40
#define BNX_DMA_RCHAN_STAT_00_RCHAN_STA_HOST_ADDR_LOW (0xffffffffL<<0)
#define BNX_DMA_RCHAN_STAT_01 0x00000c44
#define BNX_DMA_RCHAN_STAT_01_RCHAN_STA_HOST_ADDR_HIGH (0xffffffffL<<0)
#define BNX_DMA_RCHAN_STAT_02 0x00000c48
#define BNX_DMA_RCHAN_STAT_02_LENGTH (0xffffL<<0)
#define BNX_DMA_RCHAN_STAT_02_WORD_SWAP (1L<<16)
#define BNX_DMA_RCHAN_STAT_02_BYTE_SWAP (1L<<17)
#define BNX_DMA_RCHAN_STAT_02_PRIORITY_LVL (1L<<18)
#define BNX_DMA_RCHAN_STAT_10 0x00000c4c
#define BNX_DMA_RCHAN_STAT_11 0x00000c50
#define BNX_DMA_RCHAN_STAT_12 0x00000c54
#define BNX_DMA_RCHAN_STAT_20 0x00000c58
#define BNX_DMA_RCHAN_STAT_21 0x00000c5c
#define BNX_DMA_RCHAN_STAT_22 0x00000c60
#define BNX_DMA_RCHAN_STAT_30 0x00000c64
#define BNX_DMA_RCHAN_STAT_31 0x00000c68
#define BNX_DMA_RCHAN_STAT_32 0x00000c6c
#define BNX_DMA_RCHAN_STAT_40 0x00000c70
#define BNX_DMA_RCHAN_STAT_41 0x00000c74
#define BNX_DMA_RCHAN_STAT_42 0x00000c78
#define BNX_DMA_RCHAN_STAT_50 0x00000c7c
#define BNX_DMA_RCHAN_STAT_51 0x00000c80
#define BNX_DMA_RCHAN_STAT_52 0x00000c84
#define BNX_DMA_RCHAN_STAT_60 0x00000c88
#define BNX_DMA_RCHAN_STAT_61 0x00000c8c
#define BNX_DMA_RCHAN_STAT_62 0x00000c90
#define BNX_DMA_RCHAN_STAT_70 0x00000c94
#define BNX_DMA_RCHAN_STAT_71 0x00000c98
#define BNX_DMA_RCHAN_STAT_72 0x00000c9c
#define BNX_DMA_WCHAN_STAT_00 0x00000ca0
#define BNX_DMA_WCHAN_STAT_00_WCHAN_STA_HOST_ADDR_LOW (0xffffffffL<<0)
#define BNX_DMA_WCHAN_STAT_01 0x00000ca4
#define BNX_DMA_WCHAN_STAT_01_WCHAN_STA_HOST_ADDR_HIGH (0xffffffffL<<0)
#define BNX_DMA_WCHAN_STAT_02 0x00000ca8
#define BNX_DMA_WCHAN_STAT_02_LENGTH (0xffffL<<0)
#define BNX_DMA_WCHAN_STAT_02_WORD_SWAP (1L<<16)
#define BNX_DMA_WCHAN_STAT_02_BYTE_SWAP (1L<<17)
#define BNX_DMA_WCHAN_STAT_02_PRIORITY_LVL (1L<<18)
#define BNX_DMA_WCHAN_STAT_10 0x00000cac
#define BNX_DMA_WCHAN_STAT_11 0x00000cb0
#define BNX_DMA_WCHAN_STAT_12 0x00000cb4
#define BNX_DMA_WCHAN_STAT_20 0x00000cb8
#define BNX_DMA_WCHAN_STAT_21 0x00000cbc
#define BNX_DMA_WCHAN_STAT_22 0x00000cc0
#define BNX_DMA_WCHAN_STAT_30 0x00000cc4
#define BNX_DMA_WCHAN_STAT_31 0x00000cc8
#define BNX_DMA_WCHAN_STAT_32 0x00000ccc
#define BNX_DMA_WCHAN_STAT_40 0x00000cd0
#define BNX_DMA_WCHAN_STAT_41 0x00000cd4
#define BNX_DMA_WCHAN_STAT_42 0x00000cd8
#define BNX_DMA_WCHAN_STAT_50 0x00000cdc
#define BNX_DMA_WCHAN_STAT_51 0x00000ce0
#define BNX_DMA_WCHAN_STAT_52 0x00000ce4
#define BNX_DMA_WCHAN_STAT_60 0x00000ce8
#define BNX_DMA_WCHAN_STAT_61 0x00000cec
#define BNX_DMA_WCHAN_STAT_62 0x00000cf0
#define BNX_DMA_WCHAN_STAT_70 0x00000cf4
#define BNX_DMA_WCHAN_STAT_71 0x00000cf8
#define BNX_DMA_WCHAN_STAT_72 0x00000cfc
#define BNX_DMA_ARB_STAT_00 0x00000d00
#define BNX_DMA_ARB_STAT_00_MASTER (0xffffL<<0)
#define BNX_DMA_ARB_STAT_00_MASTER_ENC (0xffL<<16)
#define BNX_DMA_ARB_STAT_00_CUR_BINMSTR (0xffL<<24)
#define BNX_DMA_ARB_STAT_01 0x00000d04
#define BNX_DMA_ARB_STAT_01_LPR_RPTR (0xfL<<0)
#define BNX_DMA_ARB_STAT_01_LPR_WPTR (0xfL<<4)
#define BNX_DMA_ARB_STAT_01_LPB_RPTR (0xfL<<8)
#define BNX_DMA_ARB_STAT_01_LPB_WPTR (0xfL<<12)
#define BNX_DMA_ARB_STAT_01_HPR_RPTR (0xfL<<16)
#define BNX_DMA_ARB_STAT_01_HPR_WPTR (0xfL<<20)
#define BNX_DMA_ARB_STAT_01_HPB_RPTR (0xfL<<24)
#define BNX_DMA_ARB_STAT_01_HPB_WPTR (0xfL<<28)
#define BNX_DMA_FUSE_CTRL0_CMD 0x00000f00
#define BNX_DMA_FUSE_CTRL0_CMD_PWRUP_DONE (1L<<0)
#define BNX_DMA_FUSE_CTRL0_CMD_SHIFT_DONE (1L<<1)
#define BNX_DMA_FUSE_CTRL0_CMD_SHIFT (1L<<2)
#define BNX_DMA_FUSE_CTRL0_CMD_LOAD (1L<<3)
#define BNX_DMA_FUSE_CTRL0_CMD_SEL (0xfL<<8)
#define BNX_DMA_FUSE_CTRL0_DATA 0x00000f04
#define BNX_DMA_FUSE_CTRL1_CMD 0x00000f08
#define BNX_DMA_FUSE_CTRL1_CMD_PWRUP_DONE (1L<<0)
#define BNX_DMA_FUSE_CTRL1_CMD_SHIFT_DONE (1L<<1)
#define BNX_DMA_FUSE_CTRL1_CMD_SHIFT (1L<<2)
#define BNX_DMA_FUSE_CTRL1_CMD_LOAD (1L<<3)
#define BNX_DMA_FUSE_CTRL1_CMD_SEL (0xfL<<8)
#define BNX_DMA_FUSE_CTRL1_DATA 0x00000f0c
#define BNX_DMA_FUSE_CTRL2_CMD 0x00000f10
#define BNX_DMA_FUSE_CTRL2_CMD_PWRUP_DONE (1L<<0)
#define BNX_DMA_FUSE_CTRL2_CMD_SHIFT_DONE (1L<<1)
#define BNX_DMA_FUSE_CTRL2_CMD_SHIFT (1L<<2)
#define BNX_DMA_FUSE_CTRL2_CMD_LOAD (1L<<3)
#define BNX_DMA_FUSE_CTRL2_CMD_SEL (0xfL<<8)
#define BNX_DMA_FUSE_CTRL2_DATA 0x00000f14
/*
* context_reg definition
* offset: 0x1000
*/
#define BNX_CTX_COMMAND 0x00001000
#define BNX_CTX_COMMAND_ENABLED (1L<<0)
#define BNX_CTX_COMMAND_DISABLE_USAGE_CNT (1L<<1)
#define BNX_CTX_COMMAND_DISABLE_PLRU (1L<<2)
#define BNX_CTX_COMMAND_DISABLE_COMBINE_READ (1L<<3)
#define BNX_CTX_COMMAND_FLUSH_AHEAD (0x1fL<<8)
#define BNX_CTX_COMMAND_MEM_INIT (1L<<13)
#define BNX_CTX_COMMAND_PAGE_SIZE (0xfL<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_256 (0L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_512 (1L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_1K (2L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_2K (3L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_4K (4L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_8K (5L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_16K (6L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_32K (7L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_64K (8L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_128K (9L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_256K (10L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_512K (11L<<16)
#define BNX_CTX_COMMAND_PAGE_SIZE_1M (12L<<16)
#define BNX_CTX_STATUS 0x00001004
#define BNX_CTX_STATUS_LOCK_WAIT (1L<<0)
#define BNX_CTX_STATUS_READ_STAT (1L<<16)
#define BNX_CTX_STATUS_WRITE_STAT (1L<<17)
#define BNX_CTX_STATUS_ACC_STALL_STAT (1L<<18)
#define BNX_CTX_STATUS_LOCK_STALL_STAT (1L<<19)
#define BNX_CTX_VIRT_ADDR 0x00001008
#define BNX_CTX_VIRT_ADDR_VIRT_ADDR (0x7fffL<<6)
#define BNX_CTX_PAGE_TBL 0x0000100c
#define BNX_CTX_PAGE_TBL_PAGE_TBL (0x3fffL<<6)
#define BNX_CTX_DATA_ADR 0x00001010
#define BNX_CTX_DATA_ADR_DATA_ADR (0x7ffffL<<2)
#define BNX_CTX_DATA 0x00001014
#define BNX_CTX_LOCK 0x00001018
#define BNX_CTX_LOCK_TYPE (0x7L<<0)
#define BNX_CTX_LOCK_TYPE_LOCK_TYPE_VOID (0x0L<<0)
#define BNX_CTX_LOCK_TYPE_LOCK_TYPE_COMPLETE (0x7L<<0)
#define BNX_CTX_LOCK_TYPE_LOCK_TYPE_PROTOCOL (0x1L<<0)
#define BNX_CTX_LOCK_TYPE_LOCK_TYPE_TX (0x2L<<0)
#define BNX_CTX_LOCK_TYPE_LOCK_TYPE_TIMER (0x4L<<0)
#define BNX_CTX_LOCK_CID_VALUE (0x3fffL<<7)
#define BNX_CTX_LOCK_GRANTED (1L<<26)
#define BNX_CTX_LOCK_MODE (0x7L<<27)
#define BNX_CTX_LOCK_MODE_UNLOCK (0x0L<<27)
#define BNX_CTX_LOCK_MODE_IMMEDIATE (0x1L<<27)
#define BNX_CTX_LOCK_MODE_SURE (0x2L<<27)
#define BNX_CTX_LOCK_STATUS (1L<<30)
#define BNX_CTX_LOCK_REQ (1L<<31)
#define BNX_CTX_CTX_CTRL 0x0000101c
#define BNX_CTX_CTX_CTRL_CTX_ADDR (0x7ffffL<<2)
#define BNX_CTX_CTX_CTRL_MOD_USAGE_CNT (0x3L<<21)
#define BNX_CTX_CTX_CTRL_NO_RAM_ACC (1L<<23)
#define BNX_CTX_CTX_CTRL_PREFETCH_SIZE (0x3L<<24)
#define BNX_CTX_CTX_CTRL_ATTR (1L<<26)
#define BNX_CTX_CTX_CTRL_WRITE_REQ (1L<<30)
#define BNX_CTX_CTX_CTRL_READ_REQ (1L<<31)
#define BNX_CTX_CTX_DATA 0x00001020
#define BNX_CTX_ACCESS_STATUS 0x00001040
#define BNX_CTX_ACCESS_STATUS_MASTERENCODED (0xfL<<0)
#define BNX_CTX_ACCESS_STATUS_ACCESSMEMORYSM (0x3L<<10)
#define BNX_CTX_ACCESS_STATUS_PAGETABLEINITSM (0x3L<<12)
#define BNX_CTX_ACCESS_STATUS_ACCESSMEMORYINITSM (0x3L<<14)
#define BNX_CTX_ACCESS_STATUS_QUALIFIED_REQUEST (0x7ffL<<17)
#define BNX_CTX_ACCESS_STATUS_CAMMASTERENCODED_XI (0x1fL<<0)
#define BNX_CTX_ACCESS_STATUS_CACHEMASTERENCODED_XI (0x1fL<<5)
#define BNX_CTX_ACCESS_STATUS_REQUEST_XI (0x3fffffL<<10)
#define BNX_CTX_DBG_LOCK_STATUS 0x00001044
#define BNX_CTX_DBG_LOCK_STATUS_SM (0x3ffL<<0)
#define BNX_CTX_DBG_LOCK_STATUS_MATCH (0x3ffL<<22)
#define BNX_CTX_CHNL_LOCK_STATUS_0 0x00001080
#define BNX_CTX_CHNL_LOCK_STATUS_0_CID (0x3fffL<<0)
#define BNX_CTX_CHNL_LOCK_STATUS_0_TYPE (0x3L<<14)
#define BNX_CTX_CHNL_LOCK_STATUS_0_MODE (1L<<16)
#define BNX_CTX_CHNL_LOCK_STATUS_1 0x00001084
#define BNX_CTX_CHNL_LOCK_STATUS_2 0x00001088
#define BNX_CTX_CHNL_LOCK_STATUS_3 0x0000108c
#define BNX_CTX_CHNL_LOCK_STATUS_4 0x00001090
#define BNX_CTX_CHNL_LOCK_STATUS_5 0x00001094
#define BNX_CTX_CHNL_LOCK_STATUS_6 0x00001098
#define BNX_CTX_CHNL_LOCK_STATUS_7 0x0000109c
#define BNX_CTX_CHNL_LOCK_STATUS_8 0x000010a0
#define BNX_CTX_CACHE_DATA 0x000010c4
#define BNX_CTX_HOST_PAGE_TBL_CTRL 0x000010c8
#define BNX_CTX_HOST_PAGE_TBL_CTRL_PAGE_TBL_ADDR (0x1ffL<<0)
#define BNX_CTX_HOST_PAGE_TBL_CTRL_WRITE_REQ (1L<<30)
#define BNX_CTX_HOST_PAGE_TBL_CTRL_READ_REQ (1L<<31)
#define BNX_CTX_HOST_PAGE_TBL_DATA0 0x000010cc
#define BNX_CTX_HOST_PAGE_TBL_DATA0_VALID (1L<<0)
#define BNX_CTX_HOST_PAGE_TBL_DATA0_VALUE (0xffffffL<<8)
#define BNX_CTX_HOST_PAGE_TBL_DATA1 0x000010d0
/*
* emac_reg definition
* offset: 0x1400
*/
#define BNX_EMAC_MODE 0x00001400
#define BNX_EMAC_MODE_RESET (1L<<0)
#define BNX_EMAC_MODE_HALF_DUPLEX (1L<<1)
#define BNX_EMAC_MODE_PORT (0x3L<<2)
#define BNX_EMAC_MODE_PORT_NONE (0L<<2)
#define BNX_EMAC_MODE_PORT_MII (1L<<2)
#define BNX_EMAC_MODE_PORT_GMII (2L<<2)
#define BNX_EMAC_MODE_PORT_MII_10 (3L<<2)
#define BNX_EMAC_MODE_MAC_LOOP (1L<<4)
#define BNX_EMAC_MODE_25G (1L<<5)
#define BNX_EMAC_MODE_TAGGED_MAC_CTL (1L<<7)
#define BNX_EMAC_MODE_TX_BURST (1L<<8)
#define BNX_EMAC_MODE_MAX_DEFER_DROP_ENA (1L<<9)
#define BNX_EMAC_MODE_EXT_LINK_POL (1L<<10)
#define BNX_EMAC_MODE_FORCE_LINK (1L<<11)
#define BNX_EMAC_MODE_MPKT (1L<<18)
#define BNX_EMAC_MODE_MPKT_RCVD (1L<<19)
#define BNX_EMAC_MODE_ACPI_RCVD (1L<<20)
#define BNX_EMAC_STATUS 0x00001404
#define BNX_EMAC_STATUS_LINK (1L<<11)
#define BNX_EMAC_STATUS_LINK_CHANGE (1L<<12)
#define BNX_EMAC_STATUS_MI_COMPLETE (1L<<22)
#define BNX_EMAC_STATUS_MI_INT (1L<<23)
#define BNX_EMAC_STATUS_AP_ERROR (1L<<24)
#define BNX_EMAC_STATUS_PARITY_ERROR_STATE (1L<<31)
#define BNX_EMAC_ATTENTION_ENA 0x00001408
#define BNX_EMAC_ATTENTION_ENA_LINK (1L<<11)
#define BNX_EMAC_ATTENTION_ENA_MI_COMPLETE (1L<<22)
#define BNX_EMAC_ATTENTION_ENA_MI_INT (1L<<23)
#define BNX_EMAC_ATTENTION_ENA_AP_ERROR (1L<<24)
#define BNX_EMAC_LED 0x0000140c
#define BNX_EMAC_LED_OVERRIDE (1L<<0)
#define BNX_EMAC_LED_1000MB_OVERRIDE (1L<<1)
#define BNX_EMAC_LED_100MB_OVERRIDE (1L<<2)
#define BNX_EMAC_LED_10MB_OVERRIDE (1L<<3)
#define BNX_EMAC_LED_TRAFFIC_OVERRIDE (1L<<4)
#define BNX_EMAC_LED_BLNK_TRAFFIC (1L<<5)
#define BNX_EMAC_LED_TRAFFIC (1L<<6)
#define BNX_EMAC_LED_1000MB (1L<<7)
#define BNX_EMAC_LED_100MB (1L<<8)
#define BNX_EMAC_LED_10MB (1L<<9)
#define BNX_EMAC_LED_TRAFFIC_STAT (1L<<10)
#define BNX_EMAC_LED_BLNK_RATE (0xfffL<<19)
#define BNX_EMAC_LED_BLNK_RATE_ENA (1L<<31)
#define BNX_EMAC_MAC_MATCH0 0x00001410
#define BNX_EMAC_MAC_MATCH1 0x00001414
#define BNX_EMAC_MAC_MATCH2 0x00001418
#define BNX_EMAC_MAC_MATCH3 0x0000141c
#define BNX_EMAC_MAC_MATCH4 0x00001420
#define BNX_EMAC_MAC_MATCH5 0x00001424
#define BNX_EMAC_MAC_MATCH6 0x00001428
#define BNX_EMAC_MAC_MATCH7 0x0000142c
#define BNX_EMAC_MAC_MATCH8 0x00001430
#define BNX_EMAC_MAC_MATCH9 0x00001434
#define BNX_EMAC_MAC_MATCH10 0x00001438
#define BNX_EMAC_MAC_MATCH11 0x0000143c
#define BNX_EMAC_MAC_MATCH12 0x00001440
#define BNX_EMAC_MAC_MATCH13 0x00001444
#define BNX_EMAC_MAC_MATCH14 0x00001448
#define BNX_EMAC_MAC_MATCH15 0x0000144c
#define BNX_EMAC_MAC_MATCH16 0x00001450
#define BNX_EMAC_MAC_MATCH17 0x00001454
#define BNX_EMAC_MAC_MATCH18 0x00001458
#define BNX_EMAC_MAC_MATCH19 0x0000145c
#define BNX_EMAC_MAC_MATCH20 0x00001460
#define BNX_EMAC_MAC_MATCH21 0x00001464
#define BNX_EMAC_MAC_MATCH22 0x00001468
#define BNX_EMAC_MAC_MATCH23 0x0000146c
#define BNX_EMAC_MAC_MATCH24 0x00001470
#define BNX_EMAC_MAC_MATCH25 0x00001474
#define BNX_EMAC_MAC_MATCH26 0x00001478
#define BNX_EMAC_MAC_MATCH27 0x0000147c
#define BNX_EMAC_MAC_MATCH28 0x00001480
#define BNX_EMAC_MAC_MATCH29 0x00001484
#define BNX_EMAC_MAC_MATCH30 0x00001488
#define BNX_EMAC_MAC_MATCH31 0x0000148c
#define BNX_EMAC_BACKOFF_SEED 0x00001498
#define BNX_EMAC_BACKOFF_SEED_EMAC_BACKOFF_SEED (0x3ffL<<0)
#define BNX_EMAC_RX_MTU_SIZE 0x0000149c
#define BNX_EMAC_RX_MTU_SIZE_MTU_SIZE (0xffffL<<0)
#define BNX_EMAC_RX_MTU_SIZE_JUMBO_ENA (1L<<31)
#define BNX_EMAC_SERDES_CNTL 0x000014a4
#define BNX_EMAC_SERDES_CNTL_RXR (0x7L<<0)
#define BNX_EMAC_SERDES_CNTL_RXG (0x3L<<3)
#define BNX_EMAC_SERDES_CNTL_RXCKSEL (1L<<6)
#define BNX_EMAC_SERDES_CNTL_TXBIAS (0x7L<<7)
#define BNX_EMAC_SERDES_CNTL_BGMAX (1L<<10)
#define BNX_EMAC_SERDES_CNTL_BGMIN (1L<<11)
#define BNX_EMAC_SERDES_CNTL_TXMODE (1L<<12)
#define BNX_EMAC_SERDES_CNTL_TXEDGE (1L<<13)
#define BNX_EMAC_SERDES_CNTL_SERDES_MODE (1L<<14)
#define BNX_EMAC_SERDES_CNTL_PLLTEST (1L<<15)
#define BNX_EMAC_SERDES_CNTL_CDET_EN (1L<<16)
#define BNX_EMAC_SERDES_CNTL_TBI_LBK (1L<<17)
#define BNX_EMAC_SERDES_CNTL_REMOTE_LBK (1L<<18)
#define BNX_EMAC_SERDES_CNTL_REV_PHASE (1L<<19)
#define BNX_EMAC_SERDES_CNTL_REGCTL12 (0x3L<<20)
#define BNX_EMAC_SERDES_CNTL_REGCTL25 (0x3L<<22)
#define BNX_EMAC_SERDES_STATUS 0x000014a8
#define BNX_EMAC_SERDES_STATUS_RX_STAT (0xffL<<0)
#define BNX_EMAC_SERDES_STATUS_COMMA_DET (1L<<8)
#define BNX_EMAC_MDIO_COMM 0x000014ac
#define BNX_EMAC_MDIO_COMM_DATA (0xffffL<<0)
#define BNX_EMAC_MDIO_COMM_REG_ADDR (0x1fL<<16)
#define BNX_EMAC_MDIO_COMM_PHY_ADDR (0x1fL<<21)
#define BNX_EMAC_MDIO_COMM_COMMAND (0x3L<<26)
#define BNX_EMAC_MDIO_COMM_COMMAND_UNDEFINED_0 (0L<<26)
#define BNX_EMAC_MDIO_COMM_COMMAND_WRITE (1L<<26)
#define BNX_EMAC_MDIO_COMM_COMMAND_READ (2L<<26)
#define BNX_EMAC_MDIO_COMM_COMMAND_UNDEFINED_3 (3L<<26)
#define BNX_EMAC_MDIO_COMM_FAIL (1L<<28)
#define BNX_EMAC_MDIO_COMM_START_BUSY (1L<<29)
#define BNX_EMAC_MDIO_COMM_DISEXT (1L<<30)
#define BNX_EMAC_MDIO_STATUS 0x000014b0
#define BNX_EMAC_MDIO_STATUS_LINK (1L<<0)
#define BNX_EMAC_MDIO_STATUS_10MB (1L<<1)
#define BNX_EMAC_MDIO_MODE 0x000014b4
#define BNX_EMAC_MDIO_MODE_SHORT_PREAMBLE (1L<<1)
#define BNX_EMAC_MDIO_MODE_AUTO_POLL (1L<<4)
#define BNX_EMAC_MDIO_MODE_BIT_BANG (1L<<8)
#define BNX_EMAC_MDIO_MODE_MDIO (1L<<9)
#define BNX_EMAC_MDIO_MODE_MDIO_OE (1L<<10)
#define BNX_EMAC_MDIO_MODE_MDC (1L<<11)
#define BNX_EMAC_MDIO_MODE_MDINT (1L<<12)
#define BNX_EMAC_MDIO_MODE_CLOCK_CNT (0x1fL<<16)
#define BNX_EMAC_MDIO_AUTO_STATUS 0x000014b8
#define BNX_EMAC_MDIO_AUTO_STATUS_AUTO_ERR (1L<<0)
#define BNX_EMAC_TX_MODE 0x000014bc
#define BNX_EMAC_TX_MODE_RESET (1L<<0)
#define BNX_EMAC_TX_MODE_EXT_PAUSE_EN (1L<<3)
#define BNX_EMAC_TX_MODE_FLOW_EN (1L<<4)
#define BNX_EMAC_TX_MODE_BIG_BACKOFF (1L<<5)
#define BNX_EMAC_TX_MODE_LONG_PAUSE (1L<<6)
#define BNX_EMAC_TX_MODE_LINK_AWARE (1L<<7)
#define BNX_EMAC_TX_STATUS 0x000014c0
#define BNX_EMAC_TX_STATUS_XOFFED (1L<<0)
#define BNX_EMAC_TX_STATUS_XOFF_SENT (1L<<1)
#define BNX_EMAC_TX_STATUS_XON_SENT (1L<<2)
#define BNX_EMAC_TX_STATUS_LINK_UP (1L<<3)
#define BNX_EMAC_TX_STATUS_UNDERRUN (1L<<4)
#define BNX_EMAC_TX_LENGTHS 0x000014c4
#define BNX_EMAC_TX_LENGTHS_SLOT (0xffL<<0)
#define BNX_EMAC_TX_LENGTHS_IPG (0xfL<<8)
#define BNX_EMAC_TX_LENGTHS_IPG_CRS (0x3L<<12)
#define BNX_EMAC_RX_MODE 0x000014c8
#define BNX_EMAC_RX_MODE_RESET (1L<<0)
#define BNX_EMAC_RX_MODE_FLOW_EN (1L<<2)
#define BNX_EMAC_RX_MODE_KEEP_MAC_CONTROL (1L<<3)
#define BNX_EMAC_RX_MODE_KEEP_PAUSE (1L<<4)
#define BNX_EMAC_RX_MODE_ACCEPT_OVERSIZE (1L<<5)
#define BNX_EMAC_RX_MODE_ACCEPT_RUNTS (1L<<6)
#define BNX_EMAC_RX_MODE_LLC_CHK (1L<<7)
#define BNX_EMAC_RX_MODE_PROMISCUOUS (1L<<8)
#define BNX_EMAC_RX_MODE_NO_CRC_CHK (1L<<9)
#define BNX_EMAC_RX_MODE_KEEP_VLAN_TAG (1L<<10)
#define BNX_EMAC_RX_MODE_FILT_BROADCAST (1L<<11)
#define BNX_EMAC_RX_MODE_SORT_MODE (1L<<12)
#define BNX_EMAC_RX_STATUS 0x000014cc
#define BNX_EMAC_RX_STATUS_FFED (1L<<0)
#define BNX_EMAC_RX_STATUS_FF_RECEIVED (1L<<1)
#define BNX_EMAC_RX_STATUS_N_RECEIVED (1L<<2)
#define BNX_EMAC_MULTICAST_HASH0 0x000014d0
#define BNX_EMAC_MULTICAST_HASH1 0x000014d4
#define BNX_EMAC_MULTICAST_HASH2 0x000014d8
#define BNX_EMAC_MULTICAST_HASH3 0x000014dc
#define BNX_EMAC_MULTICAST_HASH4 0x000014e0
#define BNX_EMAC_MULTICAST_HASH5 0x000014e4
#define BNX_EMAC_MULTICAST_HASH6 0x000014e8
#define BNX_EMAC_MULTICAST_HASH7 0x000014ec
#define BNX_EMAC_RX_STAT_IFHCINOCTETS 0x00001500
#define BNX_EMAC_RX_STAT_IFHCINBADOCTETS 0x00001504
#define BNX_EMAC_RX_STAT_ETHERSTATSFRAGMENTS 0x00001508
#define BNX_EMAC_RX_STAT_IFHCINUCASTPKTS 0x0000150c
#define BNX_EMAC_RX_STAT_IFHCINMULTICASTPKTS 0x00001510
#define BNX_EMAC_RX_STAT_IFHCINBROADCASTPKTS 0x00001514
#define BNX_EMAC_RX_STAT_DOT3STATSFCSERRORS 0x00001518
#define BNX_EMAC_RX_STAT_DOT3STATSALIGNMENTERRORS 0x0000151c
#define BNX_EMAC_RX_STAT_DOT3STATSCARRIERSENSEERRORS 0x00001520
#define BNX_EMAC_RX_STAT_XONPAUSEFRAMESRECEIVED 0x00001524
#define BNX_EMAC_RX_STAT_XOFFPAUSEFRAMESRECEIVED 0x00001528
#define BNX_EMAC_RX_STAT_MACCONTROLFRAMESRECEIVED 0x0000152c
#define BNX_EMAC_RX_STAT_XOFFSTATEENTERED 0x00001530
#define BNX_EMAC_RX_STAT_DOT3STATSFRAMESTOOLONG 0x00001534
#define BNX_EMAC_RX_STAT_ETHERSTATSJABBERS 0x00001538
#define BNX_EMAC_RX_STAT_ETHERSTATSUNDERSIZEPKTS 0x0000153c
#define BNX_EMAC_RX_STAT_ETHERSTATSPKTS64OCTETS 0x00001540
#define BNX_EMAC_RX_STAT_ETHERSTATSPKTS65OCTETSTO127OCTETS 0x00001544
#define BNX_EMAC_RX_STAT_ETHERSTATSPKTS128OCTETSTO255OCTETS 0x00001548
#define BNX_EMAC_RX_STAT_ETHERSTATSPKTS256OCTETSTO511OCTETS 0x0000154c
#define BNX_EMAC_RX_STAT_ETHERSTATSPKTS512OCTETSTO1023OCTETS 0x00001550
#define BNX_EMAC_RX_STAT_ETHERSTATSPKTS1024OCTETSTO1522OCTETS 0x00001554
#define BNX_EMAC_RX_STAT_ETHERSTATSPKTS1523OCTETSTO9022OCTETS 0x00001558
#define BNX_EMAC_RXMAC_DEBUG0 0x0000155c
#define BNX_EMAC_RXMAC_DEBUG1 0x00001560
#define BNX_EMAC_RXMAC_DEBUG1_LENGTH_NE_BYTE_COUNT (1L<<0)
#define BNX_EMAC_RXMAC_DEBUG1_LENGTH_OUT_RANGE (1L<<1)
#define BNX_EMAC_RXMAC_DEBUG1_BAD_CRC (1L<<2)
#define BNX_EMAC_RXMAC_DEBUG1_RX_ERROR (1L<<3)
#define BNX_EMAC_RXMAC_DEBUG1_ALIGN_ERROR (1L<<4)
#define BNX_EMAC_RXMAC_DEBUG1_LAST_DATA (1L<<5)
#define BNX_EMAC_RXMAC_DEBUG1_ODD_BYTE_START (1L<<6)
#define BNX_EMAC_RXMAC_DEBUG1_BYTE_COUNT (0xffffL<<7)
#define BNX_EMAC_RXMAC_DEBUG1_SLOT_TIME (0xffL<<23)
#define BNX_EMAC_RXMAC_DEBUG2 0x00001564
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE (0x7L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE_IDLE (0x0L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE_SFD (0x1L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE_DATA (0x2L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE_SKEEP (0x3L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE_EXT (0x4L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE_DROP (0x5L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE_SDROP (0x6L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_SM_STATE_FC (0x7L<<0)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE (0xfL<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_IDLE (0x0L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_DATA0 (0x1L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_DATA1 (0x2L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_DATA2 (0x3L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_DATA3 (0x4L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_ABORT (0x5L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_WAIT (0x6L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_STATUS (0x7L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_IDI_STATE_LAST (0x8L<<3)
#define BNX_EMAC_RXMAC_DEBUG2_BYTE_IN (0xffL<<7)
#define BNX_EMAC_RXMAC_DEBUG2_FALSEC (1L<<15)
#define BNX_EMAC_RXMAC_DEBUG2_TAGGED (1L<<16)
#define BNX_EMAC_RXMAC_DEBUG2_PAUSE_STATE (1L<<18)
#define BNX_EMAC_RXMAC_DEBUG2_PAUSE_STATE_IDLE (0L<<18)
#define BNX_EMAC_RXMAC_DEBUG2_PAUSE_STATE_PAUSED (1L<<18)
#define BNX_EMAC_RXMAC_DEBUG2_SE_COUNTER (0xfL<<19)
#define BNX_EMAC_RXMAC_DEBUG2_QUANTA (0x1fL<<23)
#define BNX_EMAC_RXMAC_DEBUG3 0x00001568
#define BNX_EMAC_RXMAC_DEBUG3_PAUSE_CTR (0xffffL<<0)
#define BNX_EMAC_RXMAC_DEBUG3_TMP_PAUSE_CTR (0xffffL<<16)
#define BNX_EMAC_RXMAC_DEBUG4 0x0000156c
#define BNX_EMAC_RXMAC_DEBUG4_TYPE_FIELD (0xffffL<<0)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE (0x3fL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_IDLE (0x0L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_UMAC2 (0x1L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_UMAC3 (0x2L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_UNI (0x3L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MMAC2 (0x7L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MMAC3 (0x5L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_PSA1 (0x6L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_PSA2 (0x7L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_PSA3 (0x8L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MC2 (0x9L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MC3 (0xaL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MWAIT1 (0xeL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MWAIT2 (0xfL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MCHECK (0x10L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MC (0x11L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_BC2 (0x12L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_BC3 (0x13L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_BSA1 (0x14L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_BSA2 (0x15L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_BSA3 (0x16L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_BTYPE (0x17L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_BC (0x18L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_PTYPE (0x19L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_CMD (0x1aL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MAC (0x1bL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_LATCH (0x1cL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_XOFF (0x1dL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_XON (0x1eL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_PAUSED (0x1fL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_NPAUSED (0x20L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_TTYPE (0x21L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_TVAL (0x22L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_USA1 (0x23L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_USA2 (0x24L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_USA3 (0x25L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_UTYPE (0x26L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_UTTYPE (0x27L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_UTVAL (0x28L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_MTYPE (0x29L<<16)
#define BNX_EMAC_RXMAC_DEBUG4_FILT_STATE_DROP (0x2aL<<16)
#define BNX_EMAC_RXMAC_DEBUG4_DROP_PKT (1L<<22)
#define BNX_EMAC_RXMAC_DEBUG4_SLOT_FILLED (1L<<23)
#define BNX_EMAC_RXMAC_DEBUG4_FALSE_CARRIER (1L<<24)
#define BNX_EMAC_RXMAC_DEBUG4_LAST_DATA (1L<<25)
#define BNX_EMAC_RXMAC_DEBUG4_sfd_FOUND (1L<<26)
#define BNX_EMAC_RXMAC_DEBUG4_ADVANCE (1L<<27)
#define BNX_EMAC_RXMAC_DEBUG4_START (1L<<28)
#define BNX_EMAC_RXMAC_DEBUG5 0x00001570
#define BNX_EMAC_RXMAC_DEBUG5_PS_IDISM (0x7L<<0)
#define BNX_EMAC_RXMAC_DEBUG5_PS_IDISM_IDLE (0L<<0)
#define BNX_EMAC_RXMAC_DEBUG5_PS_IDISM_WAIT_EOF (1L<<0)
#define BNX_EMAC_RXMAC_DEBUG5_PS_IDISM_WAIT_STAT (2L<<0)
#define BNX_EMAC_RXMAC_DEBUG5_PS_IDISM_SET_EOF4FCRC (3L<<0)
#define BNX_EMAC_RXMAC_DEBUG5_PS_IDISM_SET_EOF4RDE (4L<<0)
#define BNX_EMAC_RXMAC_DEBUG5_PS_IDISM_SET_EOF4ALL (5L<<0)
#define BNX_EMAC_RXMAC_DEBUG5_PS_IDISM_1WD_WAIT_STAT (6L<<0)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF1 (0x7L<<4)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF1_VDW (0x0L<<4)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF1_STAT (0x1L<<4)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF1_AEOF (0x2L<<4)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF1_NEOF (0x3L<<4)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF1_SOF (0x4L<<4)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF1_SAEOF (0x6L<<4)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF1_SNEOF (0x7L<<4)
#define BNX_EMAC_RXMAC_DEBUG5_EOF_DETECTED (1L<<7)
#define BNX_EMAC_RXMAC_DEBUG5_CCODE_BUF0 (0x7L<<8)
#define BNX_EMAC_RXMAC_DEBUG5_RPM_IDI_FIFO_FULL (1L<<11)
#define BNX_EMAC_RXMAC_DEBUG5_LOAD_CCODE (1L<<12)
#define BNX_EMAC_RXMAC_DEBUG5_LOAD_DATA (1L<<13)
#define BNX_EMAC_RXMAC_DEBUG5_LOAD_STAT (1L<<14)
#define BNX_EMAC_RXMAC_DEBUG5_CLR_STAT (1L<<15)
#define BNX_EMAC_RXMAC_DEBUG5_IDI_RPM_CCODE (0x3L<<16)
#define BNX_EMAC_RXMAC_DEBUG5_IDI_RPM_ACCEPT (1L<<19)
#define BNX_EMAC_RXMAC_DEBUG5_FMLEN (0xfffL<<20)
#define BNX_EMAC_RX_STAT_AC0 0x00001580
#define BNX_EMAC_RX_STAT_AC1 0x00001584
#define BNX_EMAC_RX_STAT_AC2 0x00001588
#define BNX_EMAC_RX_STAT_AC3 0x0000158c
#define BNX_EMAC_RX_STAT_AC4 0x00001590
#define BNX_EMAC_RX_STAT_AC5 0x00001594
#define BNX_EMAC_RX_STAT_AC6 0x00001598
#define BNX_EMAC_RX_STAT_AC7 0x0000159c
#define BNX_EMAC_RX_STAT_AC8 0x000015a0
#define BNX_EMAC_RX_STAT_AC9 0x000015a4
#define BNX_EMAC_RX_STAT_AC10 0x000015a8
#define BNX_EMAC_RX_STAT_AC11 0x000015ac
#define BNX_EMAC_RX_STAT_AC12 0x000015b0
#define BNX_EMAC_RX_STAT_AC13 0x000015b4
#define BNX_EMAC_RX_STAT_AC14 0x000015b8
#define BNX_EMAC_RX_STAT_AC15 0x000015bc
#define BNX_EMAC_RX_STAT_AC16 0x000015c0
#define BNX_EMAC_RX_STAT_AC17 0x000015c4
#define BNX_EMAC_RX_STAT_AC18 0x000015c8
#define BNX_EMAC_RX_STAT_AC19 0x000015cc
#define BNX_EMAC_RX_STAT_AC20 0x000015d0
#define BNX_EMAC_RX_STAT_AC21 0x000015d4
#define BNX_EMAC_RX_STAT_AC22 0x000015d8
#define BNX_EMAC_RXMAC_SUC_DBG_OVERRUNVEC 0x000015dc
#define BNX_EMAC_TX_STAT_IFHCOUTOCTETS 0x00001600
#define BNX_EMAC_TX_STAT_IFHCOUTBADOCTETS 0x00001604
#define BNX_EMAC_TX_STAT_ETHERSTATSCOLLISIONS 0x00001608
#define BNX_EMAC_TX_STAT_OUTXONSENT 0x0000160c
#define BNX_EMAC_TX_STAT_OUTXOFFSENT 0x00001610
#define BNX_EMAC_TX_STAT_FLOWCONTROLDONE 0x00001614
#define BNX_EMAC_TX_STAT_DOT3STATSSINGLECOLLISIONFRAMES 0x00001618
#define BNX_EMAC_TX_STAT_DOT3STATSMULTIPLECOLLISIONFRAMES 0x0000161c
#define BNX_EMAC_TX_STAT_DOT3STATSDEFERREDTRANSMISSIONS 0x00001620
#define BNX_EMAC_TX_STAT_DOT3STATSEXCESSIVECOLLISIONS 0x00001624
#define BNX_EMAC_TX_STAT_DOT3STATSLATECOLLISIONS 0x00001628
#define BNX_EMAC_TX_STAT_IFHCOUTUCASTPKTS 0x0000162c
#define BNX_EMAC_TX_STAT_IFHCOUTMULTICASTPKTS 0x00001630
#define BNX_EMAC_TX_STAT_IFHCOUTBROADCASTPKTS 0x00001634
#define BNX_EMAC_TX_STAT_ETHERSTATSPKTS64OCTETS 0x00001638
#define BNX_EMAC_TX_STAT_ETHERSTATSPKTS65OCTETSTO127OCTETS 0x0000163c
#define BNX_EMAC_TX_STAT_ETHERSTATSPKTS128OCTETSTO255OCTETS 0x00001640
#define BNX_EMAC_TX_STAT_ETHERSTATSPKTS256OCTETSTO511OCTETS 0x00001644
#define BNX_EMAC_TX_STAT_ETHERSTATSPKTS512OCTETSTO1023OCTETS 0x00001648
#define BNX_EMAC_TX_STAT_ETHERSTATSPKTS1024OCTETSTO1522OCTETS 0x0000164c
#define BNX_EMAC_TX_STAT_ETHERSTATSPKTS1523OCTETSTO9022OCTETS 0x00001650
#define BNX_EMAC_TX_STAT_DOT3STATSINTERNALMACTRANSMITERRORS 0x00001654
#define BNX_EMAC_TXMAC_DEBUG0 0x00001658
#define BNX_EMAC_TXMAC_DEBUG1 0x0000165c
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE (0xfL<<0)
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE_IDLE (0x0L<<0)
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE_START0 (0x1L<<0)
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE_DATA0 (0x4L<<0)
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE_DATA1 (0x5L<<0)
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE_DATA2 (0x6L<<0)
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE_DATA3 (0x7L<<0)
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE_WAIT0 (0x8L<<0)
#define BNX_EMAC_TXMAC_DEBUG1_ODI_STATE_WAIT1 (0x9L<<0)
#define BNX_EMAC_TXMAC_DEBUG1_CRS_ENABLE (1L<<4)
#define BNX_EMAC_TXMAC_DEBUG1_BAD_CRC (1L<<5)
#define BNX_EMAC_TXMAC_DEBUG1_SE_COUNTER (0xfL<<6)
#define BNX_EMAC_TXMAC_DEBUG1_SEND_PAUSE (1L<<10)
#define BNX_EMAC_TXMAC_DEBUG1_LATE_COLLISION (1L<<11)
#define BNX_EMAC_TXMAC_DEBUG1_MAX_DEFER (1L<<12)
#define BNX_EMAC_TXMAC_DEBUG1_DEFERRED (1L<<13)
#define BNX_EMAC_TXMAC_DEBUG1_ONE_BYTE (1L<<14)
#define BNX_EMAC_TXMAC_DEBUG1_IPG_TIME (0xfL<<15)
#define BNX_EMAC_TXMAC_DEBUG1_SLOT_TIME (0xffL<<19)
#define BNX_EMAC_TXMAC_DEBUG2 0x00001660
#define BNX_EMAC_TXMAC_DEBUG2_BACK_OFF (0x3ffL<<0)
#define BNX_EMAC_TXMAC_DEBUG2_BYTE_COUNT (0xffffL<<10)
#define BNX_EMAC_TXMAC_DEBUG2_COL_COUNT (0x1fL<<26)
#define BNX_EMAC_TXMAC_DEBUG2_COL_BIT (1L<<31)
#define BNX_EMAC_TXMAC_DEBUG3 0x00001664
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE (0xfL<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_IDLE (0x0L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_PRE1 (0x1L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_PRE2 (0x2L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_SFD (0x3L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_DATA (0x4L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_CRC1 (0x5L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_CRC2 (0x6L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_EXT (0x7L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_STATB (0x8L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_STATG (0x9L<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_JAM (0xaL<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_EJAM (0xbL<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_BJAM (0xcL<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_SWAIT (0xdL<<0)
#define BNX_EMAC_TXMAC_DEBUG3_SM_STATE_BACKOFF (0xeL<<0)
#define BNX_EMAC_TXMAC_DEBUG3_FILT_STATE (0x7L<<4)
#define BNX_EMAC_TXMAC_DEBUG3_FILT_STATE_IDLE (0x0L<<4)
#define BNX_EMAC_TXMAC_DEBUG3_FILT_STATE_WAIT (0x1L<<4)
#define BNX_EMAC_TXMAC_DEBUG3_FILT_STATE_UNI (0x2L<<4)
#define BNX_EMAC_TXMAC_DEBUG3_FILT_STATE_MC (0x3L<<4)
#define BNX_EMAC_TXMAC_DEBUG3_FILT_STATE_BC2 (0x4L<<4)
#define BNX_EMAC_TXMAC_DEBUG3_FILT_STATE_BC3 (0x5L<<4)
#define BNX_EMAC_TXMAC_DEBUG3_FILT_STATE_BC (0x6L<<4)
#define BNX_EMAC_TXMAC_DEBUG3_CRS_DONE (1L<<7)
#define BNX_EMAC_TXMAC_DEBUG3_XOFF (1L<<8)
#define BNX_EMAC_TXMAC_DEBUG3_SE_COUNTER (0xfL<<9)
#define BNX_EMAC_TXMAC_DEBUG3_QUANTA_COUNTER (0x1fL<<13)
#define BNX_EMAC_TXMAC_DEBUG4 0x00001668
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_COUNTER (0xffffL<<0)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE (0xfL<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_IDLE (0x0L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_MCA1 (0x2L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_MCA2 (0x3L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_MCA3 (0x6L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_SRC1 (0x7L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_SRC2 (0x5L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_SRC3 (0x4L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_TYPE (0xcL<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_CMD (0xeL<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_TIME (0xaL<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_CRC1 (0x8L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_CRC2 (0x9L<<16)
#define BNX_EMAC_TXMAC_DEBUG4_PAUSE_STATE_WAIT (0xdL<<16)
#define BNX_EMAC_TXMAC_DEBUG4_STATS0_VALID (1L<<20)
#define BNX_EMAC_TXMAC_DEBUG4_APPEND_CRC (1L<<21)
#define BNX_EMAC_TXMAC_DEBUG4_SLOT_FILLED (1L<<22)
#define BNX_EMAC_TXMAC_DEBUG4_MAX_DEFER (1L<<23)
#define BNX_EMAC_TXMAC_DEBUG4_SEND_EXTEND (1L<<24)
#define BNX_EMAC_TXMAC_DEBUG4_SEND_PADDING (1L<<25)
#define BNX_EMAC_TXMAC_DEBUG4_EOF_LOC (1L<<26)
#define BNX_EMAC_TXMAC_DEBUG4_COLLIDING (1L<<27)
#define BNX_EMAC_TXMAC_DEBUG4_COL_IN (1L<<28)
#define BNX_EMAC_TXMAC_DEBUG4_BURSTING (1L<<29)
#define BNX_EMAC_TXMAC_DEBUG4_ADVANCE (1L<<30)
#define BNX_EMAC_TXMAC_DEBUG4_GO (1L<<31)
#define BNX_EMAC_TX_STAT_AC0 0x00001680
#define BNX_EMAC_TX_STAT_AC1 0x00001684
#define BNX_EMAC_TX_STAT_AC2 0x00001688
#define BNX_EMAC_TX_STAT_AC3 0x0000168c
#define BNX_EMAC_TX_STAT_AC4 0x00001690
#define BNX_EMAC_TX_STAT_AC5 0x00001694
#define BNX_EMAC_TX_STAT_AC6 0x00001698
#define BNX_EMAC_TX_STAT_AC7 0x0000169c
#define BNX_EMAC_TX_STAT_AC8 0x000016a0
#define BNX_EMAC_TX_STAT_AC9 0x000016a4
#define BNX_EMAC_TX_STAT_AC10 0x000016a8
#define BNX_EMAC_TX_STAT_AC11 0x000016ac
#define BNX_EMAC_TX_STAT_AC12 0x000016b0
#define BNX_EMAC_TX_STAT_AC13 0x000016b4
#define BNX_EMAC_TX_STAT_AC14 0x000016b8
#define BNX_EMAC_TX_STAT_AC15 0x000016bc
#define BNX_EMAC_TX_STAT_AC16 0x000016c0
#define BNX_EMAC_TX_STAT_AC17 0x000016c4
#define BNX_EMAC_TX_STAT_AC18 0x000016c8
#define BNX_EMAC_TX_STAT_AC19 0x000016cc
#define BNX_EMAC_TX_STAT_AC20 0x000016d0
#define BNX_EMAC_TX_STAT_AC21 0x000016d4
#define BNX_EMAC_TXMAC_SUC_DBG_OVERRUNVEC 0x000016d8
/*
* rpm_reg definition
* offset: 0x1800
*/
#define BNX_RPM_COMMAND 0x00001800
#define BNX_RPM_COMMAND_ENABLED (1L<<0)
#define BNX_RPM_COMMAND_OVERRUN_ABORT (1L<<4)
#define BNX_RPM_STATUS 0x00001804
#define BNX_RPM_STATUS_MBUF_WAIT (1L<<0)
#define BNX_RPM_STATUS_FREE_WAIT (1L<<1)
#define BNX_RPM_CONFIG 0x00001808
#define BNX_RPM_CONFIG_NO_PSD_HDR_CKSUM (1L<<0)
#define BNX_RPM_CONFIG_ACPI_ENA (1L<<1)
#define BNX_RPM_CONFIG_ACPI_KEEP (1L<<2)
#define BNX_RPM_CONFIG_MP_KEEP (1L<<3)
#define BNX_RPM_CONFIG_SORT_VECT_VAL (0xfL<<4)
#define BNX_RPM_CONFIG_IGNORE_VLAN (1L<<31)
#define BNX_RPM_VLAN_MATCH0 0x00001810
#define BNX_RPM_VLAN_MATCH0_RPM_VLAN_MTCH0_VALUE (0xfffL<<0)
#define BNX_RPM_VLAN_MATCH1 0x00001814
#define BNX_RPM_VLAN_MATCH1_RPM_VLAN_MTCH1_VALUE (0xfffL<<0)
#define BNX_RPM_VLAN_MATCH2 0x00001818
#define BNX_RPM_VLAN_MATCH2_RPM_VLAN_MTCH2_VALUE (0xfffL<<0)
#define BNX_RPM_VLAN_MATCH3 0x0000181c
#define BNX_RPM_VLAN_MATCH3_RPM_VLAN_MTCH3_VALUE (0xfffL<<0)
#define BNX_RPM_SORT_USER0 0x00001820
#define BNX_RPM_SORT_USER0_PM_EN (0xffffL<<0)
#define BNX_RPM_SORT_USER0_BC_EN (1L<<16)
#define BNX_RPM_SORT_USER0_MC_EN (1L<<17)
#define BNX_RPM_SORT_USER0_MC_HSH_EN (1L<<18)
#define BNX_RPM_SORT_USER0_PROM_EN (1L<<19)
#define BNX_RPM_SORT_USER0_VLAN_EN (0xfL<<20)
#define BNX_RPM_SORT_USER0_PROM_VLAN (1L<<24)
#define BNX_RPM_SORT_USER0_ENA (1L<<31)
#define BNX_RPM_SORT_USER1 0x00001824
#define BNX_RPM_SORT_USER1_PM_EN (0xffffL<<0)
#define BNX_RPM_SORT_USER1_BC_EN (1L<<16)
#define BNX_RPM_SORT_USER1_MC_EN (1L<<17)
#define BNX_RPM_SORT_USER1_MC_HSH_EN (1L<<18)
#define BNX_RPM_SORT_USER1_PROM_EN (1L<<19)
#define BNX_RPM_SORT_USER1_VLAN_EN (0xfL<<20)
#define BNX_RPM_SORT_USER1_PROM_VLAN (1L<<24)
#define BNX_RPM_SORT_USER1_ENA (1L<<31)
#define BNX_RPM_SORT_USER2 0x00001828
#define BNX_RPM_SORT_USER2_PM_EN (0xffffL<<0)
#define BNX_RPM_SORT_USER2_BC_EN (1L<<16)
#define BNX_RPM_SORT_USER2_MC_EN (1L<<17)
#define BNX_RPM_SORT_USER2_MC_HSH_EN (1L<<18)
#define BNX_RPM_SORT_USER2_PROM_EN (1L<<19)
#define BNX_RPM_SORT_USER2_VLAN_EN (0xfL<<20)
#define BNX_RPM_SORT_USER2_PROM_VLAN (1L<<24)
#define BNX_RPM_SORT_USER2_ENA (1L<<31)
#define BNX_RPM_SORT_USER3 0x0000182c
#define BNX_RPM_SORT_USER3_PM_EN (0xffffL<<0)
#define BNX_RPM_SORT_USER3_BC_EN (1L<<16)
#define BNX_RPM_SORT_USER3_MC_EN (1L<<17)
#define BNX_RPM_SORT_USER3_MC_HSH_EN (1L<<18)
#define BNX_RPM_SORT_USER3_PROM_EN (1L<<19)
#define BNX_RPM_SORT_USER3_VLAN_EN (0xfL<<20)
#define BNX_RPM_SORT_USER3_PROM_VLAN (1L<<24)
#define BNX_RPM_SORT_USER3_ENA (1L<<31)
#define BNX_RPM_STAT_L2_FILTER_DISCARDS 0x00001840
#define BNX_RPM_STAT_RULE_CHECKER_DISCARDS 0x00001844
#define BNX_RPM_STAT_IFINFTQDISCARDS 0x00001848
#define BNX_RPM_STAT_IFINMBUFDISCARD 0x0000184c
#define BNX_RPM_STAT_RULE_CHECKER_P4_HIT 0x00001850
#define BNX_RPM_STAT_AC0 0x00001880
#define BNX_RPM_STAT_AC1 0x00001884
#define BNX_RPM_STAT_AC2 0x00001888
#define BNX_RPM_STAT_AC3 0x0000188c
#define BNX_RPM_STAT_AC4 0x00001890
#define BNX_RPM_RC_CNTL_0 0x00001900
#define BNX_RPM_RC_CNTL_0_OFFSET (0xffL<<0)
#define BNX_RPM_RC_CNTL_0_CLASS (0x7L<<8)
#define BNX_RPM_RC_CNTL_0_PRIORITY (1L<<11)
#define BNX_RPM_RC_CNTL_0_P4 (1L<<12)
#define BNX_RPM_RC_CNTL_0_HDR_TYPE (0x7L<<13)
#define BNX_RPM_RC_CNTL_0_HDR_TYPE_START (0L<<13)
#define BNX_RPM_RC_CNTL_0_HDR_TYPE_IP (1L<<13)
#define BNX_RPM_RC_CNTL_0_HDR_TYPE_TCP (2L<<13)
#define BNX_RPM_RC_CNTL_0_HDR_TYPE_UDP (3L<<13)
#define BNX_RPM_RC_CNTL_0_HDR_TYPE_DATA (4L<<13)
#define BNX_RPM_RC_CNTL_0_COMP (0x3L<<16)
#define BNX_RPM_RC_CNTL_0_COMP_EQUAL (0L<<16)
#define BNX_RPM_RC_CNTL_0_COMP_NEQUAL (1L<<16)
#define BNX_RPM_RC_CNTL_0_COMP_GREATER (2L<<16)
#define BNX_RPM_RC_CNTL_0_COMP_LESS (3L<<16)
#define BNX_RPM_RC_CNTL_0_SBIT (1L<<19)
#define BNX_RPM_RC_CNTL_0_CMDSEL (0xfL<<20)
#define BNX_RPM_RC_CNTL_0_MAP (1L<<24)
#define BNX_RPM_RC_CNTL_0_DISCARD (1L<<25)
#define BNX_RPM_RC_CNTL_0_MASK (1L<<26)
#define BNX_RPM_RC_CNTL_0_P1 (1L<<27)
#define BNX_RPM_RC_CNTL_0_P2 (1L<<28)
#define BNX_RPM_RC_CNTL_0_P3 (1L<<29)
#define BNX_RPM_RC_CNTL_0_NBIT (1L<<30)
#define BNX_RPM_RC_VALUE_MASK_0 0x00001904
#define BNX_RPM_RC_VALUE_MASK_0_VALUE (0xffffL<<0)
#define BNX_RPM_RC_VALUE_MASK_0_MASK (0xffffL<<16)
#define BNX_RPM_RC_CNTL_1 0x00001908
#define BNX_RPM_RC_CNTL_1_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_1_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_1 0x0000190c
#define BNX_RPM_RC_CNTL_2 0x00001910
#define BNX_RPM_RC_CNTL_2_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_2_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_2 0x00001914
#define BNX_RPM_RC_CNTL_3 0x00001918
#define BNX_RPM_RC_CNTL_3_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_3_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_3 0x0000191c
#define BNX_RPM_RC_CNTL_4 0x00001920
#define BNX_RPM_RC_CNTL_4_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_4_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_4 0x00001924
#define BNX_RPM_RC_CNTL_5 0x00001928
#define BNX_RPM_RC_CNTL_5_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_5_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_5 0x0000192c
#define BNX_RPM_RC_CNTL_6 0x00001930
#define BNX_RPM_RC_CNTL_6_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_6_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_6 0x00001934
#define BNX_RPM_RC_CNTL_7 0x00001938
#define BNX_RPM_RC_CNTL_7_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_7_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_7 0x0000193c
#define BNX_RPM_RC_CNTL_8 0x00001940
#define BNX_RPM_RC_CNTL_8_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_8_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_8 0x00001944
#define BNX_RPM_RC_CNTL_9 0x00001948
#define BNX_RPM_RC_CNTL_9_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_9_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_9 0x0000194c
#define BNX_RPM_RC_CNTL_10 0x00001950
#define BNX_RPM_RC_CNTL_10_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_10_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_10 0x00001954
#define BNX_RPM_RC_CNTL_11 0x00001958
#define BNX_RPM_RC_CNTL_11_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_11_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_11 0x0000195c
#define BNX_RPM_RC_CNTL_12 0x00001960
#define BNX_RPM_RC_CNTL_12_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_12_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_12 0x00001964
#define BNX_RPM_RC_CNTL_13 0x00001968
#define BNX_RPM_RC_CNTL_13_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_13_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_13 0x0000196c
#define BNX_RPM_RC_CNTL_14 0x00001970
#define BNX_RPM_RC_CNTL_14_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_14_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_14 0x00001974
#define BNX_RPM_RC_CNTL_15 0x00001978
#define BNX_RPM_RC_CNTL_15_A (0x3ffffL<<0)
#define BNX_RPM_RC_CNTL_15_B (0xfffL<<19)
#define BNX_RPM_RC_VALUE_MASK_15 0x0000197c
#define BNX_RPM_RC_CONFIG 0x00001980
#define BNX_RPM_RC_CONFIG_RULE_ENABLE (0xffffL<<0)
#define BNX_RPM_RC_CONFIG_DEF_CLASS (0x7L<<24)
#define BNX_RPM_DEBUG0 0x00001984
#define BNX_RPM_DEBUG0_FM_BCNT (0xffffL<<0)
#define BNX_RPM_DEBUG0_T_DATA_OFST_VLD (1L<<16)
#define BNX_RPM_DEBUG0_T_UDP_OFST_VLD (1L<<17)
#define BNX_RPM_DEBUG0_T_TCP_OFST_VLD (1L<<18)
#define BNX_RPM_DEBUG0_T_IP_OFST_VLD (1L<<19)
#define BNX_RPM_DEBUG0_IP_MORE_FRGMT (1L<<20)
#define BNX_RPM_DEBUG0_T_IP_NO_TCP_UDP_HDR (1L<<21)
#define BNX_RPM_DEBUG0_LLC_SNAP (1L<<22)
#define BNX_RPM_DEBUG0_FM_STARTED (1L<<23)
#define BNX_RPM_DEBUG0_DONE (1L<<24)
#define BNX_RPM_DEBUG0_WAIT_4_DONE (1L<<25)
#define BNX_RPM_DEBUG0_USE_TPBUF_CKSUM (1L<<26)
#define BNX_RPM_DEBUG0_RX_NO_PSD_HDR_CKSUM (1L<<27)
#define BNX_RPM_DEBUG0_IGNORE_VLAN (1L<<28)
#define BNX_RPM_DEBUG0_RP_ENA_ACTIVE (1L<<31)
#define BNX_RPM_DEBUG1 0x00001988
#define BNX_RPM_DEBUG1_FSM_CUR_ST (0xffffL<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_IDLE (0L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_ETYPE_B6_ALL (1L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_ETYPE_B2_IPLLC (2L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_ETYPE_B6_IP (4L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_ETYPE_B2_IP (8L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_IP_START (16L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_IP (32L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_TCP (64L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_UDP (128L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_AH (256L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_ESP (512L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_ESP_PAYLOAD (1024L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_DATA (2048L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_ADD_CARRY (0x2000L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_ADD_CARRYOUT (0x4000L<<0)
#define BNX_RPM_DEBUG1_FSM_CUR_ST_LATCH_RESULT (0x8000L<<0)
#define BNX_RPM_DEBUG1_HDR_BCNT (0x7ffL<<16)
#define BNX_RPM_DEBUG1_UNKNOWN_ETYPE_D (1L<<28)
#define BNX_RPM_DEBUG1_VLAN_REMOVED_D2 (1L<<29)
#define BNX_RPM_DEBUG1_VLAN_REMOVED_D1 (1L<<30)
#define BNX_RPM_DEBUG1_EOF_0XTRA_WD (1L<<31)
#define BNX_RPM_DEBUG2 0x0000198c
#define BNX_RPM_DEBUG2_CMD_HIT_VEC (0xffffL<<0)
#define BNX_RPM_DEBUG2_IP_BCNT (0xffL<<16)
#define BNX_RPM_DEBUG2_THIS_CMD_M4 (1L<<24)
#define BNX_RPM_DEBUG2_THIS_CMD_M3 (1L<<25)
#define BNX_RPM_DEBUG2_THIS_CMD_M2 (1L<<26)
#define BNX_RPM_DEBUG2_THIS_CMD_M1 (1L<<27)
#define BNX_RPM_DEBUG2_IPIPE_EMPTY (1L<<28)
#define BNX_RPM_DEBUG2_FM_DISCARD (1L<<29)
#define BNX_RPM_DEBUG2_LAST_RULE_IN_FM_D2 (1L<<30)
#define BNX_RPM_DEBUG2_LAST_RULE_IN_FM_D1 (1L<<31)
#define BNX_RPM_DEBUG3 0x00001990
#define BNX_RPM_DEBUG3_AVAIL_MBUF_PTR (0x1ffL<<0)
#define BNX_RPM_DEBUG3_RDE_RLUPQ_WR_REQ_INT (1L<<9)
#define BNX_RPM_DEBUG3_RDE_RBUF_WR_LAST_INT (1L<<10)
#define BNX_RPM_DEBUG3_RDE_RBUF_WR_REQ_INT (1L<<11)
#define BNX_RPM_DEBUG3_RDE_RBUF_FREE_REQ (1L<<12)
#define BNX_RPM_DEBUG3_RDE_RBUF_ALLOC_REQ (1L<<13)
#define BNX_RPM_DEBUG3_DFSM_MBUF_NOTAVAIL (1L<<14)
#define BNX_RPM_DEBUG3_RBUF_RDE_SOF_DROP (1L<<15)
#define BNX_RPM_DEBUG3_DFIFO_VLD_ENTRY_CT (0xfL<<16)
#define BNX_RPM_DEBUG3_RDE_SRC_FIFO_ALMFULL (1L<<21)
#define BNX_RPM_DEBUG3_DROP_NXT_VLD (1L<<22)
#define BNX_RPM_DEBUG3_DROP_NXT (1L<<23)
#define BNX_RPM_DEBUG3_FTQ_FSM (0x3L<<24)
#define BNX_RPM_DEBUG3_FTQ_FSM_IDLE (0x0L<<24)
#define BNX_RPM_DEBUG3_FTQ_FSM_WAIT_ACK (0x1L<<24)
#define BNX_RPM_DEBUG3_FTQ_FSM_WAIT_FREE (0x2L<<24)
#define BNX_RPM_DEBUG3_MBWRITE_FSM (0x3L<<26)
#define BNX_RPM_DEBUG3_MBWRITE_FSM_WAIT_SOF (0x0L<<26)
#define BNX_RPM_DEBUG3_MBWRITE_FSM_GET_MBUF (0x1L<<26)
#define BNX_RPM_DEBUG3_MBWRITE_FSM_DMA_DATA (0x2L<<26)
#define BNX_RPM_DEBUG3_MBWRITE_FSM_WAIT_DATA (0x3L<<26)
#define BNX_RPM_DEBUG3_MBWRITE_FSM_WAIT_EOF (0x4L<<26)
#define BNX_RPM_DEBUG3_MBWRITE_FSM_WAIT_MF_ACK (0x5L<<26)
#define BNX_RPM_DEBUG3_MBWRITE_FSM_WAIT_DROP_NXT_VLD (0x6L<<26)
#define BNX_RPM_DEBUG3_MBWRITE_FSM_DONE (0x7L<<26)
#define BNX_RPM_DEBUG3_MBFREE_FSM (1L<<29)
#define BNX_RPM_DEBUG3_MBFREE_FSM_IDLE (0L<<29)
#define BNX_RPM_DEBUG3_MBFREE_FSM_WAIT_ACK (1L<<29)
#define BNX_RPM_DEBUG3_MBALLOC_FSM (1L<<30)
#define BNX_RPM_DEBUG3_MBALLOC_FSM_ET_MBUF (0x0L<<30)
#define BNX_RPM_DEBUG3_MBALLOC_FSM_IVE_MBUF (0x1L<<30)
#define BNX_RPM_DEBUG3_CCODE_EOF_ERROR (1L<<31)
#define BNX_RPM_DEBUG4 0x00001994
#define BNX_RPM_DEBUG4_DFSM_MBUF_CLUSTER (0x1ffffffL<<0)
#define BNX_RPM_DEBUG4_DFIFO_CUR_CCODE (0x7L<<25)
#define BNX_RPM_DEBUG4_MBWRITE_FSM (0x7L<<28)
#define BNX_RPM_DEBUG4_DFIFO_EMPTY (1L<<31)
#define BNX_RPM_DEBUG5 0x00001998
#define BNX_RPM_DEBUG5_RDROP_WPTR (0x1fL<<0)
#define BNX_RPM_DEBUG5_RDROP_ACPI_RPTR (0x1fL<<5)
#define BNX_RPM_DEBUG5_RDROP_MC_RPTR (0x1fL<<10)
#define BNX_RPM_DEBUG5_RDROP_RC_RPTR (0x1fL<<15)
#define BNX_RPM_DEBUG5_RDROP_ACPI_EMPTY (1L<<20)
#define BNX_RPM_DEBUG5_RDROP_MC_EMPTY (1L<<21)
#define BNX_RPM_DEBUG5_RDROP_AEOF_VEC_AT_RDROP_MC_RPTR (1L<<22)
#define BNX_RPM_DEBUG5_HOLDREG_WOL_DROP_INT (1L<<23)
#define BNX_RPM_DEBUG5_HOLDREG_DISCARD (1L<<24)
#define BNX_RPM_DEBUG5_HOLDREG_MBUF_NOTAVAIL (1L<<25)
#define BNX_RPM_DEBUG5_HOLDREG_MC_EMPTY (1L<<26)
#define BNX_RPM_DEBUG5_HOLDREG_RC_EMPTY (1L<<27)
#define BNX_RPM_DEBUG5_HOLDREG_FC_EMPTY (1L<<28)
#define BNX_RPM_DEBUG5_HOLDREG_ACPI_EMPTY (1L<<29)
#define BNX_RPM_DEBUG5_HOLDREG_FULL_T (1L<<30)
#define BNX_RPM_DEBUG5_HOLDREG_RD (1L<<31)
#define BNX_RPM_DEBUG6 0x0000199c
#define BNX_RPM_DEBUG6_ACPI_VEC (0xffffL<<0)
#define BNX_RPM_DEBUG6_VEC (0xffffL<<16)
#define BNX_RPM_DEBUG7 0x000019a0
#define BNX_RPM_DEBUG7_RPM_DBG7_LAST_CRC (0xffffffffL<<0)
#define BNX_RPM_DEBUG8 0x000019a4
#define BNX_RPM_DEBUG8_PS_ACPI_FSM (0xfL<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_IDLE (0L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_SOF_W1_ADDR (1L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_SOF_W2_ADDR (2L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_SOF_W3_ADDR (3L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_SOF_WAIT_THBUF (4L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_W3_DATA (5L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_W0_ADDR (6L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_W1_ADDR (7L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_W2_ADDR (8L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_W3_ADDR (9L<<0)
#define BNX_RPM_DEBUG8_PS_ACPI_FSM_WAIT_THBUF (10L<<0)
#define BNX_RPM_DEBUG8_COMPARE_AT_W0 (1L<<4)
#define BNX_RPM_DEBUG8_COMPARE_AT_W3_DATA (1L<<5)
#define BNX_RPM_DEBUG8_COMPARE_AT_SOF_WAIT (1L<<6)
#define BNX_RPM_DEBUG8_COMPARE_AT_SOF_W3 (1L<<7)
#define BNX_RPM_DEBUG8_COMPARE_AT_SOF_W2 (1L<<8)
#define BNX_RPM_DEBUG8_EOF_W_LTEQ6_VLDBYTES (1L<<9)
#define BNX_RPM_DEBUG8_EOF_W_LTEQ4_VLDBYTES (1L<<10)
#define BNX_RPM_DEBUG8_NXT_EOF_W_12_VLDBYTES (1L<<11)
#define BNX_RPM_DEBUG8_EOF_DET (1L<<12)
#define BNX_RPM_DEBUG8_SOF_DET (1L<<13)
#define BNX_RPM_DEBUG8_WAIT_4_SOF (1L<<14)
#define BNX_RPM_DEBUG8_ALL_DONE (1L<<15)
#define BNX_RPM_DEBUG8_THBUF_ADDR (0x7fL<<16)
#define BNX_RPM_DEBUG8_BYTE_CTR (0xffL<<24)
#define BNX_RPM_DEBUG9 0x000019a8
#define BNX_RPM_DEBUG9_OUTFIFO_COUNT (0x7L<<0)
#define BNX_RPM_DEBUG9_RDE_ACPI_RDY (1L<<3)
#define BNX_RPM_DEBUG9_VLD_RD_ENTRY_CT (0x7L<<4)
#define BNX_RPM_DEBUG9_OUTFIFO_OVERRUN_OCCURRED (1L<<28)
#define BNX_RPM_DEBUG9_INFIFO_OVERRUN_OCCURRED (1L<<29)
#define BNX_RPM_DEBUG9_ACPI_MATCH_INT (1L<<30)
#define BNX_RPM_DEBUG9_ACPI_ENABLE_SYN (1L<<31)
#define BNX_RPM_ACPI_DBG_BUF_W00 0x000019c0
#define BNX_RPM_ACPI_DBG_BUF_W01 0x000019c4
#define BNX_RPM_ACPI_DBG_BUF_W02 0x000019c8
#define BNX_RPM_ACPI_DBG_BUF_W03 0x000019cc
#define BNX_RPM_ACPI_DBG_BUF_W10 0x000019d0
#define BNX_RPM_ACPI_DBG_BUF_W11 0x000019d4
#define BNX_RPM_ACPI_DBG_BUF_W12 0x000019d8
#define BNX_RPM_ACPI_DBG_BUF_W13 0x000019dc
#define BNX_RPM_ACPI_DBG_BUF_W20 0x000019e0
#define BNX_RPM_ACPI_DBG_BUF_W21 0x000019e4
#define BNX_RPM_ACPI_DBG_BUF_W22 0x000019e8
#define BNX_RPM_ACPI_DBG_BUF_W23 0x000019ec
#define BNX_RPM_ACPI_DBG_BUF_W30 0x000019f0
#define BNX_RPM_ACPI_DBG_BUF_W31 0x000019f4
#define BNX_RPM_ACPI_DBG_BUF_W32 0x000019f8
#define BNX_RPM_ACPI_DBG_BUF_W33 0x000019fc
/*
* rbuf_reg definition
* offset: 0x200000
*/
#define BNX_RBUF_COMMAND 0x00200000
#define BNX_RBUF_COMMAND_ENABLED (1L<<0)
#define BNX_RBUF_COMMAND_FREE_INIT (1L<<1)
#define BNX_RBUF_COMMAND_RAM_INIT (1L<<2)
#define BNX_RBUF_COMMAND_OVER_FREE (1L<<4)
#define BNX_RBUF_COMMAND_ALLOC_REQ (1L<<5)
#define BNX_RBUF_STATUS1 0x00200004
#define BNX_RBUF_STATUS1_FREE_COUNT (0x3ffL<<0)
#define BNX_RBUF_STATUS2 0x00200008
#define BNX_RBUF_STATUS2_FREE_TAIL (0x3ffL<<0)
#define BNX_RBUF_STATUS2_FREE_HEAD (0x3ffL<<16)
#define BNX_RBUF_CONFIG 0x0020000c
#define BNX_RBUF_CONFIG_XOFF_TRIP (0x3ffL<<0)
#define BNX_RBUF_CONFIG_XON_TRIP (0x3ffL<<16)
#define BNX_RBUF_FW_BUF_ALLOC 0x00200010
#define BNX_RBUF_FW_BUF_ALLOC_VALUE (0x1ffL<<7)
#define BNX_RBUF_FW_BUF_FREE 0x00200014
#define BNX_RBUF_FW_BUF_FREE_COUNT (0x7fL<<0)
#define BNX_RBUF_FW_BUF_FREE_TAIL (0x1ffL<<7)
#define BNX_RBUF_FW_BUF_FREE_HEAD (0x1ffL<<16)
#define BNX_RBUF_FW_BUF_SEL 0x00200018
#define BNX_RBUF_FW_BUF_SEL_COUNT (0x7fL<<0)
#define BNX_RBUF_FW_BUF_SEL_TAIL (0x1ffL<<7)
#define BNX_RBUF_FW_BUF_SEL_HEAD (0x1ffL<<16)
#define BNX_RBUF_CONFIG2 0x0020001c
#define BNX_RBUF_CONFIG2_MAC_DROP_TRIP (0x3ffL<<0)
#define BNX_RBUF_CONFIG2_MAC_KEEP_TRIP (0x3ffL<<16)
#define BNX_RBUF_CONFIG3 0x00200020
#define BNX_RBUF_CONFIG3_CU_DROP_TRIP (0x3ffL<<0)
#define BNX_RBUF_CONFIG3_CU_KEEP_TRIP (0x3ffL<<16)
#define BNX_RBUF_PKT_DATA 0x00208000
#define BNX_RBUF_CLIST_DATA 0x00210000
#define BNX_RBUF_BUF_DATA 0x00220000
/*
* rv2p_reg definition
* offset: 0x2800
*/
#define BNX_RV2P_COMMAND 0x00002800
#define BNX_RV2P_COMMAND_ENABLED (1L<<0)
#define BNX_RV2P_COMMAND_PROC1_INTRPT (1L<<1)
#define BNX_RV2P_COMMAND_PROC2_INTRPT (1L<<2)
#define BNX_RV2P_COMMAND_ABORT0 (1L<<4)
#define BNX_RV2P_COMMAND_ABORT1 (1L<<5)
#define BNX_RV2P_COMMAND_ABORT2 (1L<<6)
#define BNX_RV2P_COMMAND_ABORT3 (1L<<7)
#define BNX_RV2P_COMMAND_ABORT4 (1L<<8)
#define BNX_RV2P_COMMAND_ABORT5 (1L<<9)
#define BNX_RV2P_COMMAND_PROC1_RESET (1L<<16)
#define BNX_RV2P_COMMAND_PROC2_RESET (1L<<17)
#define BNX_RV2P_COMMAND_CTXIF_RESET (1L<<18)
#define BNX_RV2P_STATUS 0x00002804
#define BNX_RV2P_STATUS_ALWAYS_0 (1L<<0)
#define BNX_RV2P_STATUS_RV2P_GEN_STAT0_CNT (1L<<8)
#define BNX_RV2P_STATUS_RV2P_GEN_STAT1_CNT (1L<<9)
#define BNX_RV2P_STATUS_RV2P_GEN_STAT2_CNT (1L<<10)
#define BNX_RV2P_STATUS_RV2P_GEN_STAT3_CNT (1L<<11)
#define BNX_RV2P_STATUS_RV2P_GEN_STAT4_CNT (1L<<12)
#define BNX_RV2P_STATUS_RV2P_GEN_STAT5_CNT (1L<<13)
#define BNX_RV2P_CONFIG 0x00002808
#define BNX_RV2P_CONFIG_STALL_PROC1 (1L<<0)
#define BNX_RV2P_CONFIG_STALL_PROC2 (1L<<1)
#define BNX_RV2P_CONFIG_PROC1_STALL_ON_ABORT0 (1L<<8)
#define BNX_RV2P_CONFIG_PROC1_STALL_ON_ABORT1 (1L<<9)
#define BNX_RV2P_CONFIG_PROC1_STALL_ON_ABORT2 (1L<<10)
#define BNX_RV2P_CONFIG_PROC1_STALL_ON_ABORT3 (1L<<11)
#define BNX_RV2P_CONFIG_PROC1_STALL_ON_ABORT4 (1L<<12)
#define BNX_RV2P_CONFIG_PROC1_STALL_ON_ABORT5 (1L<<13)
#define BNX_RV2P_CONFIG_PROC2_STALL_ON_ABORT0 (1L<<16)
#define BNX_RV2P_CONFIG_PROC2_STALL_ON_ABORT1 (1L<<17)
#define BNX_RV2P_CONFIG_PROC2_STALL_ON_ABORT2 (1L<<18)
#define BNX_RV2P_CONFIG_PROC2_STALL_ON_ABORT3 (1L<<19)
#define BNX_RV2P_CONFIG_PROC2_STALL_ON_ABORT4 (1L<<20)
#define BNX_RV2P_CONFIG_PROC2_STALL_ON_ABORT5 (1L<<21)
#define BNX_RV2P_CONFIG_PAGE_SIZE (0xfL<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_256 (0L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_512 (1L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_1K (2L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_2K (3L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_4K (4L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_8K (5L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_16K (6L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_32K (7L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_64K (8L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_128K (9L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_256K (10L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_512K (11L<<24)
#define BNX_RV2P_CONFIG_PAGE_SIZE_1M (12L<<24)
#define BNX_RV2P_GEN_BFR_ADDR_0 0x00002810
#define BNX_RV2P_GEN_BFR_ADDR_0_VALUE (0xffffL<<16)
#define BNX_RV2P_GEN_BFR_ADDR_1 0x00002814
#define BNX_RV2P_GEN_BFR_ADDR_1_VALUE (0xffffL<<16)
#define BNX_RV2P_GEN_BFR_ADDR_2 0x00002818
#define BNX_RV2P_GEN_BFR_ADDR_2_VALUE (0xffffL<<16)
#define BNX_RV2P_GEN_BFR_ADDR_3 0x0000281c
#define BNX_RV2P_GEN_BFR_ADDR_3_VALUE (0xffffL<<16)
#define BNX_RV2P_INSTR_HIGH 0x00002830
#define BNX_RV2P_INSTR_HIGH_HIGH (0x1fL<<0)
#define BNX_RV2P_INSTR_LOW 0x00002834
#define BNX_RV2P_PROC1_ADDR_CMD 0x00002838
#define BNX_RV2P_PROC1_ADDR_CMD_ADD (0x3ffL<<0)
#define BNX_RV2P_PROC1_ADDR_CMD_RDWR (1L<<31)
#define BNX_RV2P_PROC2_ADDR_CMD 0x0000283c
#define BNX_RV2P_PROC2_ADDR_CMD_ADD (0x3ffL<<0)
#define BNX_RV2P_PROC2_ADDR_CMD_RDWR (1L<<31)
#define BNX_RV2P_PROC1_GRC_DEBUG 0x00002840
#define BNX_RV2P_PROC2_GRC_DEBUG 0x00002844
#define BNX_RV2P_GRC_PROC_DEBUG 0x00002848
#define BNX_RV2P_DEBUG_VECT_PEEK 0x0000284c
#define BNX_RV2P_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_RV2P_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_RV2P_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_RV2P_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_RV2P_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_RV2P_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
#define BNX_RV2P_PFTQ_DATA 0x00002b40
#define BNX_RV2P_PFTQ_CMD 0x00002b78
#define BNX_RV2P_PFTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_RV2P_PFTQ_CMD_WR_TOP (1L<<10)
#define BNX_RV2P_PFTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_RV2P_PFTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_RV2P_PFTQ_CMD_SFT_RESET (1L<<25)
#define BNX_RV2P_PFTQ_CMD_RD_DATA (1L<<26)
#define BNX_RV2P_PFTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_RV2P_PFTQ_CMD_ADD_DATA (1L<<28)
#define BNX_RV2P_PFTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_RV2P_PFTQ_CMD_POP (1L<<30)
#define BNX_RV2P_PFTQ_CMD_BUSY (1L<<31)
#define BNX_RV2P_PFTQ_CTL 0x00002b7c
#define BNX_RV2P_PFTQ_CTL_INTERVENE (1L<<0)
#define BNX_RV2P_PFTQ_CTL_OVERFLOW (1L<<1)
#define BNX_RV2P_PFTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_RV2P_PFTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_RV2P_PFTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_RV2P_TFTQ_DATA 0x00002b80
#define BNX_RV2P_TFTQ_CMD 0x00002bb8
#define BNX_RV2P_TFTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_RV2P_TFTQ_CMD_WR_TOP (1L<<10)
#define BNX_RV2P_TFTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_RV2P_TFTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_RV2P_TFTQ_CMD_SFT_RESET (1L<<25)
#define BNX_RV2P_TFTQ_CMD_RD_DATA (1L<<26)
#define BNX_RV2P_TFTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_RV2P_TFTQ_CMD_ADD_DATA (1L<<28)
#define BNX_RV2P_TFTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_RV2P_TFTQ_CMD_POP (1L<<30)
#define BNX_RV2P_TFTQ_CMD_BUSY (1L<<31)
#define BNX_RV2P_TFTQ_CTL 0x00002bbc
#define BNX_RV2P_TFTQ_CTL_INTERVENE (1L<<0)
#define BNX_RV2P_TFTQ_CTL_OVERFLOW (1L<<1)
#define BNX_RV2P_TFTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_RV2P_TFTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_RV2P_TFTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_RV2P_MFTQ_DATA 0x00002bc0
#define BNX_RV2P_MFTQ_CMD 0x00002bf8
#define BNX_RV2P_MFTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_RV2P_MFTQ_CMD_WR_TOP (1L<<10)
#define BNX_RV2P_MFTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_RV2P_MFTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_RV2P_MFTQ_CMD_SFT_RESET (1L<<25)
#define BNX_RV2P_MFTQ_CMD_RD_DATA (1L<<26)
#define BNX_RV2P_MFTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_RV2P_MFTQ_CMD_ADD_DATA (1L<<28)
#define BNX_RV2P_MFTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_RV2P_MFTQ_CMD_POP (1L<<30)
#define BNX_RV2P_MFTQ_CMD_BUSY (1L<<31)
#define BNX_RV2P_MFTQ_CTL 0x00002bfc
#define BNX_RV2P_MFTQ_CTL_INTERVENE (1L<<0)
#define BNX_RV2P_MFTQ_CTL_OVERFLOW (1L<<1)
#define BNX_RV2P_MFTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_RV2P_MFTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_RV2P_MFTQ_CTL_CUR_DEPTH (0x3ffL<<22)
/*
* mq_reg definition
* offset: 0x3c00
*/
#define BNX_MQ_COMMAND 0x00003c00
#define BNX_MQ_COMMAND_ENABLED (1L<<0)
#define BNX_MQ_COMMAND_OVERFLOW (1L<<4)
#define BNX_MQ_COMMAND_WR_ERROR (1L<<5)
#define BNX_MQ_COMMAND_RD_ERROR (1L<<6)
#define BNX_MQ_STATUS 0x00003c04
#define BNX_MQ_STATUS_CTX_ACCESS_STAT (1L<<16)
#define BNX_MQ_STATUS_CTX_ACCESS64_STAT (1L<<17)
#define BNX_MQ_STATUS_PCI_STALL_STAT (1L<<18)
#define BNX_MQ_CONFIG 0x00003c08
#define BNX_MQ_CONFIG_TX_HIGH_PRI (1L<<0)
#define BNX_MQ_CONFIG_HALT_DIS (1L<<1)
#define BNX_MQ_CONFIG_BIN_MQ_MODE (1L<<2)
#define BNX_MQ_CONFIG_DIS_IDB_DROP (1L<<3)
#define BNX_MQ_CONFIG_KNL_BYP_BLK_SIZE (0x7L<<4)
#define BNX_MQ_CONFIG_KNL_BYP_BLK_SIZE_256 (0L<<4)
#define BNX_MQ_CONFIG_KNL_BYP_BLK_SIZE_512 (1L<<4)
#define BNX_MQ_CONFIG_KNL_BYP_BLK_SIZE_1K (2L<<4)
#define BNX_MQ_CONFIG_KNL_BYP_BLK_SIZE_2K (3L<<4)
#define BNX_MQ_CONFIG_KNL_BYP_BLK_SIZE_4K (4L<<4)
#define BNX_MQ_CONFIG_MAX_DEPTH (0x7fL<<8)
#define BNX_MQ_CONFIG_CUR_DEPTH (0x7fL<<20)
#define BNX_MQ_ENQUEUE1 0x00003c0c
#define BNX_MQ_ENQUEUE1_OFFSET (0x3fL<<2)
#define BNX_MQ_ENQUEUE1_CID (0x3fffL<<8)
#define BNX_MQ_ENQUEUE1_BYTE_MASK (0xfL<<24)
#define BNX_MQ_ENQUEUE1_KNL_MODE (1L<<28)
#define BNX_MQ_ENQUEUE2 0x00003c10
#define BNX_MQ_BAD_WR_ADDR 0x00003c14
#define BNX_MQ_BAD_RD_ADDR 0x00003c18
#define BNX_MQ_KNL_BYP_WIND_START 0x00003c1c
#define BNX_MQ_KNL_BYP_WIND_START_VALUE (0xfffffL<<12)
#define BNX_MQ_KNL_WIND_END 0x00003c20
#define BNX_MQ_KNL_WIND_END_VALUE (0xffffffL<<8)
#define BNX_MQ_KNL_WRITE_MASK1 0x00003c24
#define BNX_MQ_KNL_TX_MASK1 0x00003c28
#define BNX_MQ_KNL_CMD_MASK1 0x00003c2c
#define BNX_MQ_KNL_COND_ENQUEUE_MASK1 0x00003c30
#define BNX_MQ_KNL_RX_V2P_MASK1 0x00003c34
#define BNX_MQ_KNL_WRITE_MASK2 0x00003c38
#define BNX_MQ_KNL_TX_MASK2 0x00003c3c
#define BNX_MQ_KNL_CMD_MASK2 0x00003c40
#define BNX_MQ_KNL_COND_ENQUEUE_MASK2 0x00003c44
#define BNX_MQ_KNL_RX_V2P_MASK2 0x00003c48
#define BNX_MQ_KNL_BYP_WRITE_MASK1 0x00003c4c
#define BNX_MQ_KNL_BYP_TX_MASK1 0x00003c50
#define BNX_MQ_KNL_BYP_CMD_MASK1 0x00003c54
#define BNX_MQ_KNL_BYP_COND_ENQUEUE_MASK1 0x00003c58
#define BNX_MQ_KNL_BYP_RX_V2P_MASK1 0x00003c5c
#define BNX_MQ_KNL_BYP_WRITE_MASK2 0x00003c60
#define BNX_MQ_KNL_BYP_TX_MASK2 0x00003c64
#define BNX_MQ_KNL_BYP_CMD_MASK2 0x00003c68
#define BNX_MQ_KNL_BYP_COND_ENQUEUE_MASK2 0x00003c6c
#define BNX_MQ_KNL_BYP_RX_V2P_MASK2 0x00003c70
#define BNX_MQ_MEM_WR_ADDR 0x00003c74
#define BNX_MQ_MEM_WR_ADDR_VALUE (0x3fL<<0)
#define BNX_MQ_MEM_WR_DATA0 0x00003c78
#define BNX_MQ_MEM_WR_DATA0_VALUE (0xffffffffL<<0)
#define BNX_MQ_MEM_WR_DATA1 0x00003c7c
#define BNX_MQ_MEM_WR_DATA1_VALUE (0xffffffffL<<0)
#define BNX_MQ_MEM_WR_DATA2 0x00003c80
#define BNX_MQ_MEM_WR_DATA2_VALUE (0x3fffffffL<<0)
#define BNX_MQ_MEM_RD_ADDR 0x00003c84
#define BNX_MQ_MEM_RD_ADDR_VALUE (0x3fL<<0)
#define BNX_MQ_MEM_RD_DATA0 0x00003c88
#define BNX_MQ_MEM_RD_DATA0_VALUE (0xffffffffL<<0)
#define BNX_MQ_MEM_RD_DATA1 0x00003c8c
#define BNX_MQ_MEM_RD_DATA1_VALUE (0xffffffffL<<0)
#define BNX_MQ_MEM_RD_DATA2 0x00003c90
#define BNX_MQ_MEM_RD_DATA2_VALUE (0x3fffffffL<<0)
#define BNX_MQ_MAP_L2_5 0x00003d34
#define BNX_MQ_MAP_L2_5_MQ_OFFSET (0xffL<<0)
#define BNX_MQ_MAP_L2_5_SZ (0x3L<<8)
#define BNX_MQ_MAP_L2_5_CTX_OFFSET (0x2ffL<<10)
#define BNX_MQ_MAP_L2_5_BIN_OFFSET (0x7L<<23)
#define BNX_MQ_MAP_L2_5_ARM (0x3L<<26)
#define BNX_MQ_MAP_L2_5_ENA (0x1L<<31)
#define BNX_MQ_MAP_L2_5_DEFAULT 0x83000b08
/*
* tbdr_reg definition
* offset: 0x5000
*/
#define BNX_TBDR_COMMAND 0x00005000
#define BNX_TBDR_COMMAND_ENABLE (1L<<0)
#define BNX_TBDR_COMMAND_SOFT_RST (1L<<1)
#define BNX_TBDR_COMMAND_MSTR_ABORT (1L<<4)
#define BNX_TBDR_STATUS 0x00005004
#define BNX_TBDR_STATUS_DMA_WAIT (1L<<0)
#define BNX_TBDR_STATUS_FTQ_WAIT (1L<<1)
#define BNX_TBDR_STATUS_FIFO_OVERFLOW (1L<<2)
#define BNX_TBDR_STATUS_FIFO_UNDERFLOW (1L<<3)
#define BNX_TBDR_STATUS_SEARCHMISS_ERROR (1L<<4)
#define BNX_TBDR_STATUS_FTQ_ENTRY_CNT (1L<<5)
#define BNX_TBDR_STATUS_BURST_CNT (1L<<6)
#define BNX_TBDR_CONFIG 0x00005008
#define BNX_TBDR_CONFIG_MAX_BDS (0xffL<<0)
#define BNX_TBDR_CONFIG_SWAP_MODE (1L<<8)
#define BNX_TBDR_CONFIG_PRIORITY (1L<<9)
#define BNX_TBDR_CONFIG_CACHE_NEXT_PAGE_PTRS (1L<<10)
#define BNX_TBDR_CONFIG_PAGE_SIZE (0xfL<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_256 (0L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_512 (1L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_1K (2L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_2K (3L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_4K (4L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_8K (5L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_16K (6L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_32K (7L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_64K (8L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_128K (9L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_256K (10L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_512K (11L<<24)
#define BNX_TBDR_CONFIG_PAGE_SIZE_1M (12L<<24)
#define BNX_TBDR_DEBUG_VECT_PEEK 0x0000500c
#define BNX_TBDR_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_TBDR_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_TBDR_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_TBDR_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_TBDR_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_TBDR_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
#define BNX_TBDR_FTQ_DATA 0x000053c0
#define BNX_TBDR_FTQ_CMD 0x000053f8
#define BNX_TBDR_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_TBDR_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_TBDR_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_TBDR_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_TBDR_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_TBDR_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_TBDR_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_TBDR_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_TBDR_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_TBDR_FTQ_CMD_POP (1L<<30)
#define BNX_TBDR_FTQ_CMD_BUSY (1L<<31)
#define BNX_TBDR_FTQ_CTL 0x000053fc
#define BNX_TBDR_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_TBDR_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_TBDR_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_TBDR_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_TBDR_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
/*
* tdma_reg definition
* offset: 0x5c00
*/
#define BNX_TDMA_COMMAND 0x00005c00
#define BNX_TDMA_COMMAND_ENABLED (1L<<0)
#define BNX_TDMA_COMMAND_MASTER_ABORT (1L<<4)
#define BNX_TDMA_COMMAND_BAD_L2_LENGTH_ABORT (1L<<7)
#define BNX_TDMA_STATUS 0x00005c04
#define BNX_TDMA_STATUS_DMA_WAIT (1L<<0)
#define BNX_TDMA_STATUS_PAYLOAD_WAIT (1L<<1)
#define BNX_TDMA_STATUS_PATCH_FTQ_WAIT (1L<<2)
#define BNX_TDMA_STATUS_LOCK_WAIT (1L<<3)
#define BNX_TDMA_STATUS_FTQ_ENTRY_CNT (1L<<16)
#define BNX_TDMA_STATUS_BURST_CNT (1L<<17)
#define BNX_TDMA_CONFIG 0x00005c08
#define BNX_TDMA_CONFIG_ONE_DMA (1L<<0)
#define BNX_TDMA_CONFIG_ONE_RECORD (1L<<1)
#define BNX_TDMA_CONFIG_LIMIT_SZ (0xfL<<4)
#define BNX_TDMA_CONFIG_LIMIT_SZ_64 (0L<<4)
#define BNX_TDMA_CONFIG_LIMIT_SZ_128 (0x4L<<4)
#define BNX_TDMA_CONFIG_LIMIT_SZ_256 (0x6L<<4)
#define BNX_TDMA_CONFIG_LIMIT_SZ_512 (0x8L<<4)
#define BNX_TDMA_CONFIG_LINE_SZ (0xfL<<8)
#define BNX_TDMA_CONFIG_LINE_SZ_64 (0L<<8)
#define BNX_TDMA_CONFIG_LINE_SZ_128 (4L<<8)
#define BNX_TDMA_CONFIG_LINE_SZ_256 (6L<<8)
#define BNX_TDMA_CONFIG_LINE_SZ_512 (8L<<8)
#define BNX_TDMA_CONFIG_ALIGN_ENA (1L<<15)
#define BNX_TDMA_CONFIG_CHK_L2_BD (1L<<16)
#define BNX_TDMA_CONFIG_FIFO_CMP (0xfL<<20)
#define BNX_TDMA_PAYLOAD_PROD 0x00005c0c
#define BNX_TDMA_PAYLOAD_PROD_VALUE (0x1fffL<<3)
#define BNX_TDMA_DBG_WATCHDOG 0x00005c10
#define BNX_TDMA_DBG_TRIGGER 0x00005c14
#define BNX_TDMA_DMAD_FSM 0x00005c80
#define BNX_TDMA_DMAD_FSM_BD_INVLD (1L<<0)
#define BNX_TDMA_DMAD_FSM_PUSH (0xfL<<4)
#define BNX_TDMA_DMAD_FSM_ARB_TBDC (0x3L<<8)
#define BNX_TDMA_DMAD_FSM_ARB_CTX (1L<<12)
#define BNX_TDMA_DMAD_FSM_DR_INTF (1L<<16)
#define BNX_TDMA_DMAD_FSM_DMAD (0x7L<<20)
#define BNX_TDMA_DMAD_FSM_BD (0xfL<<24)
#define BNX_TDMA_DMAD_STATUS 0x00005c84
#define BNX_TDMA_DMAD_STATUS_RHOLD_PUSH_ENTRY (0x3L<<0)
#define BNX_TDMA_DMAD_STATUS_RHOLD_DMAD_ENTRY (0x3L<<4)
#define BNX_TDMA_DMAD_STATUS_RHOLD_BD_ENTRY (0x3L<<8)
#define BNX_TDMA_DMAD_STATUS_IFTQ_ENUM (0xfL<<12)
#define BNX_TDMA_DR_INTF_FSM 0x00005c88
#define BNX_TDMA_DR_INTF_FSM_L2_COMP (0x3L<<0)
#define BNX_TDMA_DR_INTF_FSM_TPATQ (0x7L<<4)
#define BNX_TDMA_DR_INTF_FSM_TPBUF (0x3L<<8)
#define BNX_TDMA_DR_INTF_FSM_DR_BUF (0x7L<<12)
#define BNX_TDMA_DR_INTF_FSM_DMAD (0x7L<<16)
#define BNX_TDMA_DR_INTF_STATUS 0x00005c8c
#define BNX_TDMA_DR_INTF_STATUS_HOLE_PHASE (0x7L<<0)
#define BNX_TDMA_DR_INTF_STATUS_DATA_AVAIL (0x3L<<4)
#define BNX_TDMA_DR_INTF_STATUS_SHIFT_ADDR (0x7L<<8)
#define BNX_TDMA_DR_INTF_STATUS_NXT_PNTR (0xfL<<12)
#define BNX_TDMA_DR_INTF_STATUS_BYTE_COUNT (0x7L<<16)
#define BNX_TDMA_FTQ_DATA 0x00005fc0
#define BNX_TDMA_FTQ_CMD 0x00005ff8
#define BNX_TDMA_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_TDMA_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_TDMA_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_TDMA_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_TDMA_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_TDMA_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_TDMA_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_TDMA_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_TDMA_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_TDMA_FTQ_CMD_POP (1L<<30)
#define BNX_TDMA_FTQ_CMD_BUSY (1L<<31)
#define BNX_TDMA_FTQ_CTL 0x00005ffc
#define BNX_TDMA_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_TDMA_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_TDMA_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_TDMA_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_TDMA_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
/*
* hc_reg definition
* offset: 0x6800
*/
#define BNX_HC_COMMAND 0x00006800
#define BNX_HC_COMMAND_ENABLE (1L<<0)
#define BNX_HC_COMMAND_SKIP_ABORT (1L<<4)
#define BNX_HC_COMMAND_COAL_NOW (1L<<16)
#define BNX_HC_COMMAND_COAL_NOW_WO_INT (1L<<17)
#define BNX_HC_COMMAND_STATS_NOW (1L<<18)
#define BNX_HC_COMMAND_FORCE_INT (0x3L<<19)
#define BNX_HC_COMMAND_FORCE_INT_NULL (0L<<19)
#define BNX_HC_COMMAND_FORCE_INT_HIGH (1L<<19)
#define BNX_HC_COMMAND_FORCE_INT_LOW (2L<<19)
#define BNX_HC_COMMAND_FORCE_INT_FREE (3L<<19)
#define BNX_HC_COMMAND_CLR_STAT_NOW (1L<<21)
#define BNX_HC_STATUS 0x00006804
#define BNX_HC_STATUS_MASTER_ABORT (1L<<0)
#define BNX_HC_STATUS_PARITY_ERROR_STATE (1L<<1)
#define BNX_HC_STATUS_PCI_CLK_CNT_STAT (1L<<16)
#define BNX_HC_STATUS_CORE_CLK_CNT_STAT (1L<<17)
#define BNX_HC_STATUS_NUM_STATUS_BLOCKS_STAT (1L<<18)
#define BNX_HC_STATUS_NUM_INT_GEN_STAT (1L<<19)
#define BNX_HC_STATUS_NUM_INT_MBOX_WR_STAT (1L<<20)
#define BNX_HC_STATUS_CORE_CLKS_TO_HW_INTACK_STAT (1L<<23)
#define BNX_HC_STATUS_CORE_CLKS_TO_SW_INTACK_STAT (1L<<24)
#define BNX_HC_STATUS_CORE_CLKS_DURING_SW_INTACK_STAT (1L<<25)
#define BNX_HC_CONFIG 0x00006808
#define BNX_HC_CONFIG_COLLECT_STATS (1L<<0)
#define BNX_HC_CONFIG_RX_TMR_MODE (1L<<1)
#define BNX_HC_CONFIG_TX_TMR_MODE (1L<<2)
#define BNX_HC_CONFIG_COM_TMR_MODE (1L<<3)
#define BNX_HC_CONFIG_CMD_TMR_MODE (1L<<4)
#define BNX_HC_CONFIG_STATISTIC_PRIORITY (1L<<5)
#define BNX_HC_CONFIG_STATUS_PRIORITY (1L<<6)
#define BNX_HC_CONFIG_STAT_MEM_ADDR (0xffL<<8)
#define BNX_HC_ATTN_BITS_ENABLE 0x0000680c
#define BNX_HC_STATUS_ADDR_L 0x00006810
#define BNX_HC_STATUS_ADDR_H 0x00006814
#define BNX_HC_STATISTICS_ADDR_L 0x00006818
#define BNX_HC_STATISTICS_ADDR_H 0x0000681c
#define BNX_HC_TX_QUICK_CONS_TRIP 0x00006820
#define BNX_HC_TX_QUICK_CONS_TRIP_VALUE (0xffL<<0)
#define BNX_HC_TX_QUICK_CONS_TRIP_INT (0xffL<<16)
#define BNX_HC_COMP_PROD_TRIP 0x00006824
#define BNX_HC_COMP_PROD_TRIP_VALUE (0xffL<<0)
#define BNX_HC_COMP_PROD_TRIP_INT (0xffL<<16)
#define BNX_HC_RX_QUICK_CONS_TRIP 0x00006828
#define BNX_HC_RX_QUICK_CONS_TRIP_VALUE (0xffL<<0)
#define BNX_HC_RX_QUICK_CONS_TRIP_INT (0xffL<<16)
#define BNX_HC_RX_TICKS 0x0000682c
#define BNX_HC_RX_TICKS_VALUE (0x3ffL<<0)
#define BNX_HC_RX_TICKS_INT (0x3ffL<<16)
#define BNX_HC_TX_TICKS 0x00006830
#define BNX_HC_TX_TICKS_VALUE (0x3ffL<<0)
#define BNX_HC_TX_TICKS_INT (0x3ffL<<16)
#define BNX_HC_COM_TICKS 0x00006834
#define BNX_HC_COM_TICKS_VALUE (0x3ffL<<0)
#define BNX_HC_COM_TICKS_INT (0x3ffL<<16)
#define BNX_HC_CMD_TICKS 0x00006838
#define BNX_HC_CMD_TICKS_VALUE (0x3ffL<<0)
#define BNX_HC_CMD_TICKS_INT (0x3ffL<<16)
#define BNX_HC_PERIODIC_TICKS 0x0000683c
#define BNX_HC_PERIODIC_TICKS_HC_PERIODIC_TICKS (0xffffL<<0)
#define BNX_HC_STAT_COLLECT_TICKS 0x00006840
#define BNX_HC_STAT_COLLECT_TICKS_HC_STAT_COLL_TICKS (0xffL<<4)
#define BNX_HC_STATS_TICKS 0x00006844
#define BNX_HC_STATS_TICKS_HC_STAT_TICKS (0xffffL<<8)
#define BNX_HC_STAT_MEM_DATA 0x0000684c
#define BNX_HC_STAT_GEN_SEL_0 0x00006850
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0 (0x7fL<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT0 (0L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT1 (1L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT2 (2L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT3 (3L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT4 (4L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT5 (5L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT6 (6L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT7 (7L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT8 (8L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT9 (9L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT10 (10L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXP_STAT11 (11L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXP_STAT0 (12L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXP_STAT1 (13L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXP_STAT2 (14L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXP_STAT3 (15L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXP_STAT4 (16L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXP_STAT5 (17L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXP_STAT6 (18L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXP_STAT7 (19L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT0 (20L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT1 (21L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT2 (22L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT3 (23L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT4 (24L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT5 (25L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT6 (26L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT7 (27L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT8 (28L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT9 (29L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT10 (30L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COM_STAT11 (31L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TPAT_STAT0 (32L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TPAT_STAT1 (33L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TPAT_STAT2 (34L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TPAT_STAT3 (35L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CP_STAT0 (36L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CP_STAT1 (37L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CP_STAT2 (38L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CP_STAT3 (39L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CP_STAT4 (40L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CP_STAT5 (41L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CP_STAT6 (42L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CP_STAT7 (43L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MCP_STAT0 (44L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MCP_STAT1 (45L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MCP_STAT2 (46L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MCP_STAT3 (47L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MCP_STAT4 (48L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MCP_STAT5 (49L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MCP_STAT6 (50L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MCP_STAT7 (51L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_PCI_CLK_CNT (52L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CORE_CLK_CNT (53L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_HC_NUM_STATUS_BLOCKS (54L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_HC_NUM_INT_GEN (55L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_HC_NUM_INT_MBOX_WR (56L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_HC_CORE_CLKS_TO_HW_INTACK (59L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_HC_CORE_CLKS_TO_SW_INTACK (60L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_HC_CORE_CLKS_DURING_SW_INTACK (61L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TSCH_CMD_CNT (62L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TSCH_SLOT_CNT (63L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CSCH_CMD_CNT (64L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CSCH_SLOT_CNT (65L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RLUPQ_VALID_CNT (66L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXPQ_VALID_CNT (67L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RXPCQ_VALID_CNT (68L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2PPQ_VALID_CNT (69L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2PMQ_VALID_CNT (70L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2PTQ_VALID_CNT (71L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RDMAQ_VALID_CNT (72L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TSCHQ_VALID_CNT (73L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TBDRQ_VALID_CNT (74L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TXPQ_VALID_CNT (75L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TDMAQ_VALID_CNT (76L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TPATQ_VALID_CNT (77L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TASQ_VALID_CNT (78L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CSQ_VALID_CNT (79L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CPQ_VALID_CNT (80L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COMXQ_VALID_CNT (81L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COMTQ_VALID_CNT (82L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_COMQ_VALID_CNT (83L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MGMQ_VALID_CNT (84L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_READ_TRANSFERS_CNT (85L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_READ_DELAY_PCI_CLKS_CNT (86L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_BIG_READ_TRANSFERS_CNT (87L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_BIG_READ_DELAY_PCI_CLKS_CNT (88L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_BIG_READ_RETRY_AFTER_DATA_CNT (89L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_WRITE_TRANSFERS_CNT (90L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_WRITE_DELAY_PCI_CLKS_CNT (91L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_BIG_WRITE_TRANSFERS_CNT (92L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_BIG_WRITE_DELAY_PCI_CLKS_CNT (93L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_DMAE_BIG_WRITE_RETRY_AFTER_DATA_CNT (94L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CTX_WR_CNT64 (95L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CTX_RD_CNT64 (96L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CTX_ACC_STALL_CLKS (97L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_CTX_LOCK_STALL_CLKS (98L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MBQ_CTX_ACCESS_STAT (99L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MBQ_CTX_ACCESS64_STAT (100L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_MBQ_PCI_STALL_STAT (101L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TBDR_FTQ_ENTRY_CNT (102L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TBDR_BURST_CNT (103L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TDMA_FTQ_ENTRY_CNT (104L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TDMA_BURST_CNT (105L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RDMA_FTQ_ENTRY_CNT (106L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RDMA_BURST_CNT (107L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RLUP_MATCH_CNT (108L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TMR_POLL_PASS_CNT (109L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TMR_TMR1_CNT (110L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TMR_TMR2_CNT (111L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TMR_TMR3_CNT (112L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TMR_TMR4_CNT (113L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_TMR_TMR5_CNT (114L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2P_STAT0 (115L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2P_STAT1 (116L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2P_STAT2 (117L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2P_STAT3 (118L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2P_STAT4 (119L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RV2P_STAT5 (120L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RBDC_PROC1_MISS (121L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RBDC_PROC2_MISS (122L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_0_RBDC_BURST_CNT (127L<<0)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_1 (0x7fL<<8)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_2 (0x7fL<<16)
#define BNX_HC_STAT_GEN_SEL_0_GEN_SEL_3 (0x7fL<<24)
#define BNX_HC_STAT_GEN_SEL_1 0x00006854
#define BNX_HC_STAT_GEN_SEL_1_GEN_SEL_4 (0x7fL<<0)
#define BNX_HC_STAT_GEN_SEL_1_GEN_SEL_5 (0x7fL<<8)
#define BNX_HC_STAT_GEN_SEL_1_GEN_SEL_6 (0x7fL<<16)
#define BNX_HC_STAT_GEN_SEL_1_GEN_SEL_7 (0x7fL<<24)
#define BNX_HC_STAT_GEN_SEL_2 0x00006858
#define BNX_HC_STAT_GEN_SEL_2_GEN_SEL_8 (0x7fL<<0)
#define BNX_HC_STAT_GEN_SEL_2_GEN_SEL_9 (0x7fL<<8)
#define BNX_HC_STAT_GEN_SEL_2_GEN_SEL_10 (0x7fL<<16)
#define BNX_HC_STAT_GEN_SEL_2_GEN_SEL_11 (0x7fL<<24)
#define BNX_HC_STAT_GEN_SEL_3 0x0000685c
#define BNX_HC_STAT_GEN_SEL_3_GEN_SEL_12 (0x7fL<<0)
#define BNX_HC_STAT_GEN_SEL_3_GEN_SEL_13 (0x7fL<<8)
#define BNX_HC_STAT_GEN_SEL_3_GEN_SEL_14 (0x7fL<<16)
#define BNX_HC_STAT_GEN_SEL_3_GEN_SEL_15 (0x7fL<<24)
#define BNX_HC_STAT_GEN_STAT0 0x00006888
#define BNX_HC_STAT_GEN_STAT1 0x0000688c
#define BNX_HC_STAT_GEN_STAT2 0x00006890
#define BNX_HC_STAT_GEN_STAT3 0x00006894
#define BNX_HC_STAT_GEN_STAT4 0x00006898
#define BNX_HC_STAT_GEN_STAT5 0x0000689c
#define BNX_HC_STAT_GEN_STAT6 0x000068a0
#define BNX_HC_STAT_GEN_STAT7 0x000068a4
#define BNX_HC_STAT_GEN_STAT8 0x000068a8
#define BNX_HC_STAT_GEN_STAT9 0x000068ac
#define BNX_HC_STAT_GEN_STAT10 0x000068b0
#define BNX_HC_STAT_GEN_STAT11 0x000068b4
#define BNX_HC_STAT_GEN_STAT12 0x000068b8
#define BNX_HC_STAT_GEN_STAT13 0x000068bc
#define BNX_HC_STAT_GEN_STAT14 0x000068c0
#define BNX_HC_STAT_GEN_STAT15 0x000068c4
#define BNX_HC_STAT_GEN_STAT_AC0 0x000068c8
#define BNX_HC_STAT_GEN_STAT_AC1 0x000068cc
#define BNX_HC_STAT_GEN_STAT_AC2 0x000068d0
#define BNX_HC_STAT_GEN_STAT_AC3 0x000068d4
#define BNX_HC_STAT_GEN_STAT_AC4 0x000068d8
#define BNX_HC_STAT_GEN_STAT_AC5 0x000068dc
#define BNX_HC_STAT_GEN_STAT_AC6 0x000068e0
#define BNX_HC_STAT_GEN_STAT_AC7 0x000068e4
#define BNX_HC_STAT_GEN_STAT_AC8 0x000068e8
#define BNX_HC_STAT_GEN_STAT_AC9 0x000068ec
#define BNX_HC_STAT_GEN_STAT_AC10 0x000068f0
#define BNX_HC_STAT_GEN_STAT_AC11 0x000068f4
#define BNX_HC_STAT_GEN_STAT_AC12 0x000068f8
#define BNX_HC_STAT_GEN_STAT_AC13 0x000068fc
#define BNX_HC_STAT_GEN_STAT_AC14 0x00006900
#define BNX_HC_STAT_GEN_STAT_AC15 0x00006904
#define BNX_HC_VIS 0x00006908
#define BNX_HC_VIS_STAT_BUILD_STATE (0xfL<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_IDLE (0L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_START (1L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_REQUEST (2L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_UPDATE64 (3L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_UPDATE32 (4L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_UPDATE_DONE (5L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_DMA (6L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_MSI_CONTROL (7L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_MSI_LOW (8L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_MSI_HIGH (9L<<0)
#define BNX_HC_VIS_STAT_BUILD_STATE_MSI_DATA (10L<<0)
#define BNX_HC_VIS_DMA_STAT_STATE (0xfL<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_IDLE (0L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_STATUS_PARAM (1L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_STATUS_DMA (2L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_WRITE_COMP (3L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_COMP (4L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_STATISTIC_PARAM (5L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_STATISTIC_DMA (6L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_WRITE_COMP_1 (7L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_WRITE_COMP_2 (8L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_WAIT (9L<<8)
#define BNX_HC_VIS_DMA_STAT_STATE_ABORT (15L<<8)
#define BNX_HC_VIS_DMA_MSI_STATE (0x7L<<12)
#define BNX_HC_VIS_STATISTIC_DMA_EN_STATE (0x3L<<15)
#define BNX_HC_VIS_STATISTIC_DMA_EN_STATE_IDLE (0L<<15)
#define BNX_HC_VIS_STATISTIC_DMA_EN_STATE_COUNT (1L<<15)
#define BNX_HC_VIS_STATISTIC_DMA_EN_STATE_START (2L<<15)
#define BNX_HC_VIS_1 0x0000690c
#define BNX_HC_VIS_1_HW_INTACK_STATE (1L<<4)
#define BNX_HC_VIS_1_HW_INTACK_STATE_IDLE (0L<<4)
#define BNX_HC_VIS_1_HW_INTACK_STATE_COUNT (1L<<4)
#define BNX_HC_VIS_1_SW_INTACK_STATE (1L<<5)
#define BNX_HC_VIS_1_SW_INTACK_STATE_IDLE (0L<<5)
#define BNX_HC_VIS_1_SW_INTACK_STATE_COUNT (1L<<5)
#define BNX_HC_VIS_1_DURING_SW_INTACK_STATE (1L<<6)
#define BNX_HC_VIS_1_DURING_SW_INTACK_STATE_IDLE (0L<<6)
#define BNX_HC_VIS_1_DURING_SW_INTACK_STATE_COUNT (1L<<6)
#define BNX_HC_VIS_1_MAILBOX_COUNT_STATE (1L<<7)
#define BNX_HC_VIS_1_MAILBOX_COUNT_STATE_IDLE (0L<<7)
#define BNX_HC_VIS_1_MAILBOX_COUNT_STATE_COUNT (1L<<7)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE (0xfL<<17)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE_IDLE (0L<<17)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE_DMA (1L<<17)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE_UPDATE (2L<<17)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE_ASSIGN (3L<<17)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE_WAIT (4L<<17)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE_REG_UPDATE (5L<<17)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE_REG_ASSIGN (6L<<17)
#define BNX_HC_VIS_1_RAM_RD_ARB_STATE_REG_WAIT (7L<<17)
#define BNX_HC_VIS_1_RAM_WR_ARB_STATE (0x3L<<21)
#define BNX_HC_VIS_1_RAM_WR_ARB_STATE_NORMAL (0L<<21)
#define BNX_HC_VIS_1_RAM_WR_ARB_STATE_CLEAR (1L<<21)
#define BNX_HC_VIS_1_INT_GEN_STATE (1L<<23)
#define BNX_HC_VIS_1_INT_GEN_STATE_DLE (0L<<23)
#define BNX_HC_VIS_1_INT_GEN_STATE_NTERRUPT (1L<<23)
#define BNX_HC_VIS_1_STAT_CHAN_ID (0x7L<<24)
#define BNX_HC_VIS_1_INT_B (1L<<27)
#define BNX_HC_DEBUG_VECT_PEEK 0x00006910
#define BNX_HC_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_HC_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_HC_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_HC_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_HC_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_HC_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
/*
* txp_reg definition
* offset: 0x40000
*/
#define BNX_TXP_CPU_MODE 0x00045000
#define BNX_TXP_CPU_MODE_LOCAL_RST (1L<<0)
#define BNX_TXP_CPU_MODE_STEP_ENA (1L<<1)
#define BNX_TXP_CPU_MODE_PAGE_0_DATA_ENA (1L<<2)
#define BNX_TXP_CPU_MODE_PAGE_0_INST_ENA (1L<<3)
#define BNX_TXP_CPU_MODE_MSG_BIT1 (1L<<6)
#define BNX_TXP_CPU_MODE_INTERRUPT_ENA (1L<<7)
#define BNX_TXP_CPU_MODE_SOFT_HALT (1L<<10)
#define BNX_TXP_CPU_MODE_BAD_DATA_HALT_ENA (1L<<11)
#define BNX_TXP_CPU_MODE_BAD_INST_HALT_ENA (1L<<12)
#define BNX_TXP_CPU_MODE_FIO_ABORT_HALT_ENA (1L<<13)
#define BNX_TXP_CPU_MODE_SPAD_UNDERFLOW_HALT_ENA (1L<<15)
#define BNX_TXP_CPU_STATE 0x00045004
#define BNX_TXP_CPU_STATE_BREAKPOINT (1L<<0)
#define BNX_TXP_CPU_STATE_BAD_INST_HALTED (1L<<2)
#define BNX_TXP_CPU_STATE_PAGE_0_DATA_HALTED (1L<<3)
#define BNX_TXP_CPU_STATE_PAGE_0_INST_HALTED (1L<<4)
#define BNX_TXP_CPU_STATE_BAD_DATA_ADDR_HALTED (1L<<5)
#define BNX_TXP_CPU_STATE_BAD_pc_HALTED (1L<<6)
#define BNX_TXP_CPU_STATE_ALIGN_HALTED (1L<<7)
#define BNX_TXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8)
#define BNX_TXP_CPU_STATE_SOFT_HALTED (1L<<10)
#define BNX_TXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11)
#define BNX_TXP_CPU_STATE_INTERRRUPT (1L<<12)
#define BNX_TXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14)
#define BNX_TXP_CPU_STATE_INST_FETCH_STALL (1L<<15)
#define BNX_TXP_CPU_STATE_BLOCKED_READ (1L<<31)
#define BNX_TXP_CPU_EVENT_MASK 0x00045008
#define BNX_TXP_CPU_EVENT_MASK_BREAKPOINT_MASK (1L<<0)
#define BNX_TXP_CPU_EVENT_MASK_BAD_INST_HALTED_MASK (1L<<2)
#define BNX_TXP_CPU_EVENT_MASK_PAGE_0_DATA_HALTED_MASK (1L<<3)
#define BNX_TXP_CPU_EVENT_MASK_PAGE_0_INST_HALTED_MASK (1L<<4)
#define BNX_TXP_CPU_EVENT_MASK_BAD_DATA_ADDR_HALTED_MASK (1L<<5)
#define BNX_TXP_CPU_EVENT_MASK_BAD_PC_HALTED_MASK (1L<<6)
#define BNX_TXP_CPU_EVENT_MASK_ALIGN_HALTED_MASK (1L<<7)
#define BNX_TXP_CPU_EVENT_MASK_FIO_ABORT_MASK (1L<<8)
#define BNX_TXP_CPU_EVENT_MASK_SOFT_HALTED_MASK (1L<<10)
#define BNX_TXP_CPU_EVENT_MASK_SPAD_UNDERFLOW_MASK (1L<<11)
#define BNX_TXP_CPU_EVENT_MASK_INTERRUPT_MASK (1L<<12)
#define BNX_TXP_CPU_PROGRAM_COUNTER 0x0004501c
#define BNX_TXP_CPU_INSTRUCTION 0x00045020
#define BNX_TXP_CPU_DATA_ACCESS 0x00045024
#define BNX_TXP_CPU_INTERRUPT_ENABLE 0x00045028
#define BNX_TXP_CPU_INTERRUPT_VECTOR 0x0004502c
#define BNX_TXP_CPU_INTERRUPT_SAVED_PC 0x00045030
#define BNX_TXP_CPU_HW_BREAKPOINT 0x00045034
#define BNX_TXP_CPU_HW_BREAKPOINT_DISABLE (1L<<0)
#define BNX_TXP_CPU_HW_BREAKPOINT_ADDRESS (0x3fffffffL<<2)
#define BNX_TXP_CPU_DEBUG_VECT_PEEK 0x00045038
#define BNX_TXP_CPU_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_TXP_CPU_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_TXP_CPU_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_TXP_CPU_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_TXP_CPU_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_TXP_CPU_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
#define BNX_TXP_CPU_LAST_BRANCH_ADDR 0x00045048
#define BNX_TXP_CPU_LAST_BRANCH_ADDR_TYPE (1L<<1)
#define BNX_TXP_CPU_LAST_BRANCH_ADDR_TYPE_JUMP (0L<<1)
#define BNX_TXP_CPU_LAST_BRANCH_ADDR_TYPE_BRANCH (1L<<1)
#define BNX_TXP_CPU_LAST_BRANCH_ADDR_LBA (0x3fffffffL<<2)
#define BNX_TXP_CPU_REG_FILE 0x00045200
#define BNX_TXP_FTQ_DATA 0x000453c0
#define BNX_TXP_FTQ_CMD 0x000453f8
#define BNX_TXP_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_TXP_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_TXP_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_TXP_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_TXP_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_TXP_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_TXP_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_TXP_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_TXP_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_TXP_FTQ_CMD_POP (1L<<30)
#define BNX_TXP_FTQ_CMD_BUSY (1L<<31)
#define BNX_TXP_FTQ_CTL 0x000453fc
#define BNX_TXP_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_TXP_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_TXP_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_TXP_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_TXP_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_TXP_SCRATCH 0x00060000
/*
* tpat_reg definition
* offset: 0x80000
*/
#define BNX_TPAT_CPU_MODE 0x00085000
#define BNX_TPAT_CPU_MODE_LOCAL_RST (1L<<0)
#define BNX_TPAT_CPU_MODE_STEP_ENA (1L<<1)
#define BNX_TPAT_CPU_MODE_PAGE_0_DATA_ENA (1L<<2)
#define BNX_TPAT_CPU_MODE_PAGE_0_INST_ENA (1L<<3)
#define BNX_TPAT_CPU_MODE_MSG_BIT1 (1L<<6)
#define BNX_TPAT_CPU_MODE_INTERRUPT_ENA (1L<<7)
#define BNX_TPAT_CPU_MODE_SOFT_HALT (1L<<10)
#define BNX_TPAT_CPU_MODE_BAD_DATA_HALT_ENA (1L<<11)
#define BNX_TPAT_CPU_MODE_BAD_INST_HALT_ENA (1L<<12)
#define BNX_TPAT_CPU_MODE_FIO_ABORT_HALT_ENA (1L<<13)
#define BNX_TPAT_CPU_MODE_SPAD_UNDERFLOW_HALT_ENA (1L<<15)
#define BNX_TPAT_CPU_STATE 0x00085004
#define BNX_TPAT_CPU_STATE_BREAKPOINT (1L<<0)
#define BNX_TPAT_CPU_STATE_BAD_INST_HALTED (1L<<2)
#define BNX_TPAT_CPU_STATE_PAGE_0_DATA_HALTED (1L<<3)
#define BNX_TPAT_CPU_STATE_PAGE_0_INST_HALTED (1L<<4)
#define BNX_TPAT_CPU_STATE_BAD_DATA_ADDR_HALTED (1L<<5)
#define BNX_TPAT_CPU_STATE_BAD_pc_HALTED (1L<<6)
#define BNX_TPAT_CPU_STATE_ALIGN_HALTED (1L<<7)
#define BNX_TPAT_CPU_STATE_FIO_ABORT_HALTED (1L<<8)
#define BNX_TPAT_CPU_STATE_SOFT_HALTED (1L<<10)
#define BNX_TPAT_CPU_STATE_SPAD_UNDERFLOW (1L<<11)
#define BNX_TPAT_CPU_STATE_INTERRRUPT (1L<<12)
#define BNX_TPAT_CPU_STATE_DATA_ACCESS_STALL (1L<<14)
#define BNX_TPAT_CPU_STATE_INST_FETCH_STALL (1L<<15)
#define BNX_TPAT_CPU_STATE_BLOCKED_READ (1L<<31)
#define BNX_TPAT_CPU_EVENT_MASK 0x00085008
#define BNX_TPAT_CPU_EVENT_MASK_BREAKPOINT_MASK (1L<<0)
#define BNX_TPAT_CPU_EVENT_MASK_BAD_INST_HALTED_MASK (1L<<2)
#define BNX_TPAT_CPU_EVENT_MASK_PAGE_0_DATA_HALTED_MASK (1L<<3)
#define BNX_TPAT_CPU_EVENT_MASK_PAGE_0_INST_HALTED_MASK (1L<<4)
#define BNX_TPAT_CPU_EVENT_MASK_BAD_DATA_ADDR_HALTED_MASK (1L<<5)
#define BNX_TPAT_CPU_EVENT_MASK_BAD_PC_HALTED_MASK (1L<<6)
#define BNX_TPAT_CPU_EVENT_MASK_ALIGN_HALTED_MASK (1L<<7)
#define BNX_TPAT_CPU_EVENT_MASK_FIO_ABORT_MASK (1L<<8)
#define BNX_TPAT_CPU_EVENT_MASK_SOFT_HALTED_MASK (1L<<10)
#define BNX_TPAT_CPU_EVENT_MASK_SPAD_UNDERFLOW_MASK (1L<<11)
#define BNX_TPAT_CPU_EVENT_MASK_INTERRUPT_MASK (1L<<12)
#define BNX_TPAT_CPU_PROGRAM_COUNTER 0x0008501c
#define BNX_TPAT_CPU_INSTRUCTION 0x00085020
#define BNX_TPAT_CPU_DATA_ACCESS 0x00085024
#define BNX_TPAT_CPU_INTERRUPT_ENABLE 0x00085028
#define BNX_TPAT_CPU_INTERRUPT_VECTOR 0x0008502c
#define BNX_TPAT_CPU_INTERRUPT_SAVED_PC 0x00085030
#define BNX_TPAT_CPU_HW_BREAKPOINT 0x00085034
#define BNX_TPAT_CPU_HW_BREAKPOINT_DISABLE (1L<<0)
#define BNX_TPAT_CPU_HW_BREAKPOINT_ADDRESS (0x3fffffffL<<2)
#define BNX_TPAT_CPU_DEBUG_VECT_PEEK 0x00085038
#define BNX_TPAT_CPU_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_TPAT_CPU_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_TPAT_CPU_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_TPAT_CPU_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_TPAT_CPU_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_TPAT_CPU_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
#define BNX_TPAT_CPU_LAST_BRANCH_ADDR 0x00085048
#define BNX_TPAT_CPU_LAST_BRANCH_ADDR_TYPE (1L<<1)
#define BNX_TPAT_CPU_LAST_BRANCH_ADDR_TYPE_JUMP (0L<<1)
#define BNX_TPAT_CPU_LAST_BRANCH_ADDR_TYPE_BRANCH (1L<<1)
#define BNX_TPAT_CPU_LAST_BRANCH_ADDR_LBA (0x3fffffffL<<2)
#define BNX_TPAT_CPU_REG_FILE 0x00085200
#define BNX_TPAT_FTQ_DATA 0x000853c0
#define BNX_TPAT_FTQ_CMD 0x000853f8
#define BNX_TPAT_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_TPAT_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_TPAT_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_TPAT_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_TPAT_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_TPAT_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_TPAT_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_TPAT_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_TPAT_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_TPAT_FTQ_CMD_POP (1L<<30)
#define BNX_TPAT_FTQ_CMD_BUSY (1L<<31)
#define BNX_TPAT_FTQ_CTL 0x000853fc
#define BNX_TPAT_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_TPAT_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_TPAT_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_TPAT_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_TPAT_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_TPAT_SCRATCH 0x000a0000
/*
* rxp_reg definition
* offset: 0xc0000
*/
#define BNX_RXP_CPU_MODE 0x000c5000
#define BNX_RXP_CPU_MODE_LOCAL_RST (1L<<0)
#define BNX_RXP_CPU_MODE_STEP_ENA (1L<<1)
#define BNX_RXP_CPU_MODE_PAGE_0_DATA_ENA (1L<<2)
#define BNX_RXP_CPU_MODE_PAGE_0_INST_ENA (1L<<3)
#define BNX_RXP_CPU_MODE_MSG_BIT1 (1L<<6)
#define BNX_RXP_CPU_MODE_INTERRUPT_ENA (1L<<7)
#define BNX_RXP_CPU_MODE_SOFT_HALT (1L<<10)
#define BNX_RXP_CPU_MODE_BAD_DATA_HALT_ENA (1L<<11)
#define BNX_RXP_CPU_MODE_BAD_INST_HALT_ENA (1L<<12)
#define BNX_RXP_CPU_MODE_FIO_ABORT_HALT_ENA (1L<<13)
#define BNX_RXP_CPU_MODE_SPAD_UNDERFLOW_HALT_ENA (1L<<15)
#define BNX_RXP_CPU_STATE 0x000c5004
#define BNX_RXP_CPU_STATE_BREAKPOINT (1L<<0)
#define BNX_RXP_CPU_STATE_BAD_INST_HALTED (1L<<2)
#define BNX_RXP_CPU_STATE_PAGE_0_DATA_HALTED (1L<<3)
#define BNX_RXP_CPU_STATE_PAGE_0_INST_HALTED (1L<<4)
#define BNX_RXP_CPU_STATE_BAD_DATA_ADDR_HALTED (1L<<5)
#define BNX_RXP_CPU_STATE_BAD_pc_HALTED (1L<<6)
#define BNX_RXP_CPU_STATE_ALIGN_HALTED (1L<<7)
#define BNX_RXP_CPU_STATE_FIO_ABORT_HALTED (1L<<8)
#define BNX_RXP_CPU_STATE_SOFT_HALTED (1L<<10)
#define BNX_RXP_CPU_STATE_SPAD_UNDERFLOW (1L<<11)
#define BNX_RXP_CPU_STATE_INTERRRUPT (1L<<12)
#define BNX_RXP_CPU_STATE_DATA_ACCESS_STALL (1L<<14)
#define BNX_RXP_CPU_STATE_INST_FETCH_STALL (1L<<15)
#define BNX_RXP_CPU_STATE_BLOCKED_READ (1L<<31)
#define BNX_RXP_CPU_EVENT_MASK 0x000c5008
#define BNX_RXP_CPU_EVENT_MASK_BREAKPOINT_MASK (1L<<0)
#define BNX_RXP_CPU_EVENT_MASK_BAD_INST_HALTED_MASK (1L<<2)
#define BNX_RXP_CPU_EVENT_MASK_PAGE_0_DATA_HALTED_MASK (1L<<3)
#define BNX_RXP_CPU_EVENT_MASK_PAGE_0_INST_HALTED_MASK (1L<<4)
#define BNX_RXP_CPU_EVENT_MASK_BAD_DATA_ADDR_HALTED_MASK (1L<<5)
#define BNX_RXP_CPU_EVENT_MASK_BAD_PC_HALTED_MASK (1L<<6)
#define BNX_RXP_CPU_EVENT_MASK_ALIGN_HALTED_MASK (1L<<7)
#define BNX_RXP_CPU_EVENT_MASK_FIO_ABORT_MASK (1L<<8)
#define BNX_RXP_CPU_EVENT_MASK_SOFT_HALTED_MASK (1L<<10)
#define BNX_RXP_CPU_EVENT_MASK_SPAD_UNDERFLOW_MASK (1L<<11)
#define BNX_RXP_CPU_EVENT_MASK_INTERRUPT_MASK (1L<<12)
#define BNX_RXP_CPU_PROGRAM_COUNTER 0x000c501c
#define BNX_RXP_CPU_INSTRUCTION 0x000c5020
#define BNX_RXP_CPU_DATA_ACCESS 0x000c5024
#define BNX_RXP_CPU_INTERRUPT_ENABLE 0x000c5028
#define BNX_RXP_CPU_INTERRUPT_VECTOR 0x000c502c
#define BNX_RXP_CPU_INTERRUPT_SAVED_PC 0x000c5030
#define BNX_RXP_CPU_HW_BREAKPOINT 0x000c5034
#define BNX_RXP_CPU_HW_BREAKPOINT_DISABLE (1L<<0)
#define BNX_RXP_CPU_HW_BREAKPOINT_ADDRESS (0x3fffffffL<<2)
#define BNX_RXP_CPU_DEBUG_VECT_PEEK 0x000c5038
#define BNX_RXP_CPU_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_RXP_CPU_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_RXP_CPU_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_RXP_CPU_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_RXP_CPU_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_RXP_CPU_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
#define BNX_RXP_CPU_LAST_BRANCH_ADDR 0x000c5048
#define BNX_RXP_CPU_LAST_BRANCH_ADDR_TYPE (1L<<1)
#define BNX_RXP_CPU_LAST_BRANCH_ADDR_TYPE_JUMP (0L<<1)
#define BNX_RXP_CPU_LAST_BRANCH_ADDR_TYPE_BRANCH (1L<<1)
#define BNX_RXP_CPU_LAST_BRANCH_ADDR_LBA (0x3fffffffL<<2)
#define BNX_RXP_CPU_REG_FILE 0x000c5200
#define BNX_RXP_CFTQ_DATA 0x000c5380
#define BNX_RXP_CFTQ_CMD 0x000c53b8
#define BNX_RXP_CFTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_RXP_CFTQ_CMD_WR_TOP (1L<<10)
#define BNX_RXP_CFTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_RXP_CFTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_RXP_CFTQ_CMD_SFT_RESET (1L<<25)
#define BNX_RXP_CFTQ_CMD_RD_DATA (1L<<26)
#define BNX_RXP_CFTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_RXP_CFTQ_CMD_ADD_DATA (1L<<28)
#define BNX_RXP_CFTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_RXP_CFTQ_CMD_POP (1L<<30)
#define BNX_RXP_CFTQ_CMD_BUSY (1L<<31)
#define BNX_RXP_CFTQ_CTL 0x000c53bc
#define BNX_RXP_CFTQ_CTL_INTERVENE (1L<<0)
#define BNX_RXP_CFTQ_CTL_OVERFLOW (1L<<1)
#define BNX_RXP_CFTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_RXP_CFTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_RXP_CFTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_RXP_FTQ_DATA 0x000c53c0
#define BNX_RXP_FTQ_CMD 0x000c53f8
#define BNX_RXP_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_RXP_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_RXP_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_RXP_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_RXP_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_RXP_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_RXP_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_RXP_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_RXP_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_RXP_FTQ_CMD_POP (1L<<30)
#define BNX_RXP_FTQ_CMD_BUSY (1L<<31)
#define BNX_RXP_FTQ_CTL 0x000c53fc
#define BNX_RXP_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_RXP_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_RXP_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_RXP_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_RXP_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_RXP_SCRATCH 0x000e0000
/*
* com_reg definition
* offset: 0x100000
*/
#define BNX_COM_CPU_MODE 0x00105000
#define BNX_COM_CPU_MODE_LOCAL_RST (1L<<0)
#define BNX_COM_CPU_MODE_STEP_ENA (1L<<1)
#define BNX_COM_CPU_MODE_PAGE_0_DATA_ENA (1L<<2)
#define BNX_COM_CPU_MODE_PAGE_0_INST_ENA (1L<<3)
#define BNX_COM_CPU_MODE_MSG_BIT1 (1L<<6)
#define BNX_COM_CPU_MODE_INTERRUPT_ENA (1L<<7)
#define BNX_COM_CPU_MODE_SOFT_HALT (1L<<10)
#define BNX_COM_CPU_MODE_BAD_DATA_HALT_ENA (1L<<11)
#define BNX_COM_CPU_MODE_BAD_INST_HALT_ENA (1L<<12)
#define BNX_COM_CPU_MODE_FIO_ABORT_HALT_ENA (1L<<13)
#define BNX_COM_CPU_MODE_SPAD_UNDERFLOW_HALT_ENA (1L<<15)
#define BNX_COM_CPU_STATE 0x00105004
#define BNX_COM_CPU_STATE_BREAKPOINT (1L<<0)
#define BNX_COM_CPU_STATE_BAD_INST_HALTED (1L<<2)
#define BNX_COM_CPU_STATE_PAGE_0_DATA_HALTED (1L<<3)
#define BNX_COM_CPU_STATE_PAGE_0_INST_HALTED (1L<<4)
#define BNX_COM_CPU_STATE_BAD_DATA_ADDR_HALTED (1L<<5)
#define BNX_COM_CPU_STATE_BAD_pc_HALTED (1L<<6)
#define BNX_COM_CPU_STATE_ALIGN_HALTED (1L<<7)
#define BNX_COM_CPU_STATE_FIO_ABORT_HALTED (1L<<8)
#define BNX_COM_CPU_STATE_SOFT_HALTED (1L<<10)
#define BNX_COM_CPU_STATE_SPAD_UNDERFLOW (1L<<11)
#define BNX_COM_CPU_STATE_INTERRRUPT (1L<<12)
#define BNX_COM_CPU_STATE_DATA_ACCESS_STALL (1L<<14)
#define BNX_COM_CPU_STATE_INST_FETCH_STALL (1L<<15)
#define BNX_COM_CPU_STATE_BLOCKED_READ (1L<<31)
#define BNX_COM_CPU_EVENT_MASK 0x00105008
#define BNX_COM_CPU_EVENT_MASK_BREAKPOINT_MASK (1L<<0)
#define BNX_COM_CPU_EVENT_MASK_BAD_INST_HALTED_MASK (1L<<2)
#define BNX_COM_CPU_EVENT_MASK_PAGE_0_DATA_HALTED_MASK (1L<<3)
#define BNX_COM_CPU_EVENT_MASK_PAGE_0_INST_HALTED_MASK (1L<<4)
#define BNX_COM_CPU_EVENT_MASK_BAD_DATA_ADDR_HALTED_MASK (1L<<5)
#define BNX_COM_CPU_EVENT_MASK_BAD_PC_HALTED_MASK (1L<<6)
#define BNX_COM_CPU_EVENT_MASK_ALIGN_HALTED_MASK (1L<<7)
#define BNX_COM_CPU_EVENT_MASK_FIO_ABORT_MASK (1L<<8)
#define BNX_COM_CPU_EVENT_MASK_SOFT_HALTED_MASK (1L<<10)
#define BNX_COM_CPU_EVENT_MASK_SPAD_UNDERFLOW_MASK (1L<<11)
#define BNX_COM_CPU_EVENT_MASK_INTERRUPT_MASK (1L<<12)
#define BNX_COM_CPU_PROGRAM_COUNTER 0x0010501c
#define BNX_COM_CPU_INSTRUCTION 0x00105020
#define BNX_COM_CPU_DATA_ACCESS 0x00105024
#define BNX_COM_CPU_INTERRUPT_ENABLE 0x00105028
#define BNX_COM_CPU_INTERRUPT_VECTOR 0x0010502c
#define BNX_COM_CPU_INTERRUPT_SAVED_PC 0x00105030
#define BNX_COM_CPU_HW_BREAKPOINT 0x00105034
#define BNX_COM_CPU_HW_BREAKPOINT_DISABLE (1L<<0)
#define BNX_COM_CPU_HW_BREAKPOINT_ADDRESS (0x3fffffffL<<2)
#define BNX_COM_CPU_DEBUG_VECT_PEEK 0x00105038
#define BNX_COM_CPU_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_COM_CPU_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_COM_CPU_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_COM_CPU_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_COM_CPU_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_COM_CPU_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
#define BNX_COM_CPU_LAST_BRANCH_ADDR 0x00105048
#define BNX_COM_CPU_LAST_BRANCH_ADDR_TYPE (1L<<1)
#define BNX_COM_CPU_LAST_BRANCH_ADDR_TYPE_JUMP (0L<<1)
#define BNX_COM_CPU_LAST_BRANCH_ADDR_TYPE_BRANCH (1L<<1)
#define BNX_COM_CPU_LAST_BRANCH_ADDR_LBA (0x3fffffffL<<2)
#define BNX_COM_CPU_REG_FILE 0x00105200
#define BNX_COM_COMXQ_FTQ_DATA 0x00105340
#define BNX_COM_COMXQ_FTQ_CMD 0x00105378
#define BNX_COM_COMXQ_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_COM_COMXQ_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_COM_COMXQ_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_COM_COMXQ_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_COM_COMXQ_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_COM_COMXQ_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_COM_COMXQ_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_COM_COMXQ_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_COM_COMXQ_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_COM_COMXQ_FTQ_CMD_POP (1L<<30)
#define BNX_COM_COMXQ_FTQ_CMD_BUSY (1L<<31)
#define BNX_COM_COMXQ_FTQ_CTL 0x0010537c
#define BNX_COM_COMXQ_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_COM_COMXQ_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_COM_COMXQ_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_COM_COMXQ_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_COM_COMXQ_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_COM_COMTQ_FTQ_DATA 0x00105380
#define BNX_COM_COMTQ_FTQ_CMD 0x001053b8
#define BNX_COM_COMTQ_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_COM_COMTQ_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_COM_COMTQ_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_COM_COMTQ_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_COM_COMTQ_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_COM_COMTQ_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_COM_COMTQ_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_COM_COMTQ_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_COM_COMTQ_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_COM_COMTQ_FTQ_CMD_POP (1L<<30)
#define BNX_COM_COMTQ_FTQ_CMD_BUSY (1L<<31)
#define BNX_COM_COMTQ_FTQ_CTL 0x001053bc
#define BNX_COM_COMTQ_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_COM_COMTQ_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_COM_COMTQ_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_COM_COMTQ_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_COM_COMTQ_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_COM_COMQ_FTQ_DATA 0x001053c0
#define BNX_COM_COMQ_FTQ_CMD 0x001053f8
#define BNX_COM_COMQ_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_COM_COMQ_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_COM_COMQ_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_COM_COMQ_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_COM_COMQ_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_COM_COMQ_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_COM_COMQ_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_COM_COMQ_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_COM_COMQ_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_COM_COMQ_FTQ_CMD_POP (1L<<30)
#define BNX_COM_COMQ_FTQ_CMD_BUSY (1L<<31)
#define BNX_COM_COMQ_FTQ_CTL 0x001053fc
#define BNX_COM_COMQ_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_COM_COMQ_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_COM_COMQ_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_COM_COMQ_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_COM_COMQ_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_COM_SCRATCH 0x00120000
/*
* cp_reg definition
* offset: 0x180000
*/
#define BNX_CP_CPU_MODE 0x00185000
#define BNX_CP_CPU_MODE_LOCAL_RST (1L<<0)
#define BNX_CP_CPU_MODE_STEP_ENA (1L<<1)
#define BNX_CP_CPU_MODE_PAGE_0_DATA_ENA (1L<<2)
#define BNX_CP_CPU_MODE_PAGE_0_INST_ENA (1L<<3)
#define BNX_CP_CPU_MODE_MSG_BIT1 (1L<<6)
#define BNX_CP_CPU_MODE_INTERRUPT_ENA (1L<<7)
#define BNX_CP_CPU_MODE_SOFT_HALT (1L<<10)
#define BNX_CP_CPU_MODE_BAD_DATA_HALT_ENA (1L<<11)
#define BNX_CP_CPU_MODE_BAD_INST_HALT_ENA (1L<<12)
#define BNX_CP_CPU_MODE_FIO_ABORT_HALT_ENA (1L<<13)
#define BNX_CP_CPU_MODE_SPAD_UNDERFLOW_HALT_ENA (1L<<15)
#define BNX_CP_CPU_STATE 0x00185004
#define BNX_CP_CPU_STATE_BREAKPOINT (1L<<0)
#define BNX_CP_CPU_STATE_BAD_INST_HALTED (1L<<2)
#define BNX_CP_CPU_STATE_PAGE_0_DATA_HALTED (1L<<3)
#define BNX_CP_CPU_STATE_PAGE_0_INST_HALTED (1L<<4)
#define BNX_CP_CPU_STATE_BAD_DATA_ADDR_HALTED (1L<<5)
#define BNX_CP_CPU_STATE_BAD_pc_HALTED (1L<<6)
#define BNX_CP_CPU_STATE_ALIGN_HALTED (1L<<7)
#define BNX_CP_CPU_STATE_FIO_ABORT_HALTED (1L<<8)
#define BNX_CP_CPU_STATE_SOFT_HALTED (1L<<10)
#define BNX_CP_CPU_STATE_SPAD_UNDERFLOW (1L<<11)
#define BNX_CP_CPU_STATE_INTERRRUPT (1L<<12)
#define BNX_CP_CPU_STATE_DATA_ACCESS_STALL (1L<<14)
#define BNX_CP_CPU_STATE_INST_FETCH_STALL (1L<<15)
#define BNX_CP_CPU_STATE_BLOCKED_READ (1L<<31)
#define BNX_CP_CPU_EVENT_MASK 0x00185008
#define BNX_CP_CPU_EVENT_MASK_BREAKPOINT_MASK (1L<<0)
#define BNX_CP_CPU_EVENT_MASK_BAD_INST_HALTED_MASK (1L<<2)
#define BNX_CP_CPU_EVENT_MASK_PAGE_0_DATA_HALTED_MASK (1L<<3)
#define BNX_CP_CPU_EVENT_MASK_PAGE_0_INST_HALTED_MASK (1L<<4)
#define BNX_CP_CPU_EVENT_MASK_BAD_DATA_ADDR_HALTED_MASK (1L<<5)
#define BNX_CP_CPU_EVENT_MASK_BAD_PC_HALTED_MASK (1L<<6)
#define BNX_CP_CPU_EVENT_MASK_ALIGN_HALTED_MASK (1L<<7)
#define BNX_CP_CPU_EVENT_MASK_FIO_ABORT_MASK (1L<<8)
#define BNX_CP_CPU_EVENT_MASK_SOFT_HALTED_MASK (1L<<10)
#define BNX_CP_CPU_EVENT_MASK_SPAD_UNDERFLOW_MASK (1L<<11)
#define BNX_CP_CPU_EVENT_MASK_INTERRUPT_MASK (1L<<12)
#define BNX_CP_CPU_PROGRAM_COUNTER 0x0018501c
#define BNX_CP_CPU_INSTRUCTION 0x00185020
#define BNX_CP_CPU_DATA_ACCESS 0x00185024
#define BNX_CP_CPU_INTERRUPT_ENABLE 0x00185028
#define BNX_CP_CPU_INTERRUPT_VECTOR 0x0018502c
#define BNX_CP_CPU_INTERRUPT_SAVED_PC 0x00185030
#define BNX_CP_CPU_HW_BREAKPOINT 0x00185034
#define BNX_CP_CPU_HW_BREAKPOINT_DISABLE (1L<<0)
#define BNX_CP_CPU_HW_BREAKPOINT_ADDRESS (0x3fffffffL<<2)
#define BNX_CP_CPU_DEBUG_VECT_PEEK 0x00185038
#define BNX_CP_CPU_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_CP_CPU_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_CP_CPU_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_CP_CPU_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_CP_CPU_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_CP_CPU_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
#define BNX_CP_CPU_LAST_BRANCH_ADDR 0x00185048
#define BNX_CP_CPU_LAST_BRANCH_ADDR_TYPE (1L<<1)
#define BNX_CP_CPU_LAST_BRANCH_ADDR_TYPE_JUMP (0L<<1)
#define BNX_CP_CPU_LAST_BRANCH_ADDR_TYPE_BRANCH (1L<<1)
#define BNX_CP_CPU_LAST_BRANCH_ADDR_LBA (0x3fffffffL<<2)
#define BNX_CP_CPU_REG_FILE 0x00185200
#define BNX_CP_CPQ_FTQ_DATA 0x001853c0
#define BNX_CP_CPQ_FTQ_CMD 0x001853f8
#define BNX_CP_CPQ_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_CP_CPQ_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_CP_CPQ_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_CP_CPQ_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_CP_CPQ_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_CP_CPQ_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_CP_CPQ_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_CP_CPQ_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_CP_CPQ_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_CP_CPQ_FTQ_CMD_POP (1L<<30)
#define BNX_CP_CPQ_FTQ_CMD_BUSY (1L<<31)
#define BNX_CP_CPQ_FTQ_CTL 0x001853fc
#define BNX_CP_CPQ_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_CP_CPQ_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_CP_CPQ_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_CP_CPQ_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_CP_CPQ_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_CP_SCRATCH 0x001a0000
/*
* mcp_reg definition
* offset: 0x140000
*/
#define BNX_MCP_CPU_MODE 0x00145000
#define BNX_MCP_CPU_MODE_LOCAL_RST (1L<<0)
#define BNX_MCP_CPU_MODE_STEP_ENA (1L<<1)
#define BNX_MCP_CPU_MODE_PAGE_0_DATA_ENA (1L<<2)
#define BNX_MCP_CPU_MODE_PAGE_0_INST_ENA (1L<<3)
#define BNX_MCP_CPU_MODE_MSG_BIT1 (1L<<6)
#define BNX_MCP_CPU_MODE_INTERRUPT_ENA (1L<<7)
#define BNX_MCP_CPU_MODE_SOFT_HALT (1L<<10)
#define BNX_MCP_CPU_MODE_BAD_DATA_HALT_ENA (1L<<11)
#define BNX_MCP_CPU_MODE_BAD_INST_HALT_ENA (1L<<12)
#define BNX_MCP_CPU_MODE_FIO_ABORT_HALT_ENA (1L<<13)
#define BNX_MCP_CPU_MODE_SPAD_UNDERFLOW_HALT_ENA (1L<<15)
#define BNX_MCP_CPU_STATE 0x00145004
#define BNX_MCP_CPU_STATE_BREAKPOINT (1L<<0)
#define BNX_MCP_CPU_STATE_BAD_INST_HALTED (1L<<2)
#define BNX_MCP_CPU_STATE_PAGE_0_DATA_HALTED (1L<<3)
#define BNX_MCP_CPU_STATE_PAGE_0_INST_HALTED (1L<<4)
#define BNX_MCP_CPU_STATE_BAD_DATA_ADDR_HALTED (1L<<5)
#define BNX_MCP_CPU_STATE_BAD_pc_HALTED (1L<<6)
#define BNX_MCP_CPU_STATE_ALIGN_HALTED (1L<<7)
#define BNX_MCP_CPU_STATE_FIO_ABORT_HALTED (1L<<8)
#define BNX_MCP_CPU_STATE_SOFT_HALTED (1L<<10)
#define BNX_MCP_CPU_STATE_SPAD_UNDERFLOW (1L<<11)
#define BNX_MCP_CPU_STATE_INTERRRUPT (1L<<12)
#define BNX_MCP_CPU_STATE_DATA_ACCESS_STALL (1L<<14)
#define BNX_MCP_CPU_STATE_INST_FETCH_STALL (1L<<15)
#define BNX_MCP_CPU_STATE_BLOCKED_READ (1L<<31)
#define BNX_MCP_CPU_EVENT_MASK 0x00145008
#define BNX_MCP_CPU_EVENT_MASK_BREAKPOINT_MASK (1L<<0)
#define BNX_MCP_CPU_EVENT_MASK_BAD_INST_HALTED_MASK (1L<<2)
#define BNX_MCP_CPU_EVENT_MASK_PAGE_0_DATA_HALTED_MASK (1L<<3)
#define BNX_MCP_CPU_EVENT_MASK_PAGE_0_INST_HALTED_MASK (1L<<4)
#define BNX_MCP_CPU_EVENT_MASK_BAD_DATA_ADDR_HALTED_MASK (1L<<5)
#define BNX_MCP_CPU_EVENT_MASK_BAD_PC_HALTED_MASK (1L<<6)
#define BNX_MCP_CPU_EVENT_MASK_ALIGN_HALTED_MASK (1L<<7)
#define BNX_MCP_CPU_EVENT_MASK_FIO_ABORT_MASK (1L<<8)
#define BNX_MCP_CPU_EVENT_MASK_SOFT_HALTED_MASK (1L<<10)
#define BNX_MCP_CPU_EVENT_MASK_SPAD_UNDERFLOW_MASK (1L<<11)
#define BNX_MCP_CPU_EVENT_MASK_INTERRUPT_MASK (1L<<12)
#define BNX_MCP_CPU_PROGRAM_COUNTER 0x0014501c
#define BNX_MCP_CPU_INSTRUCTION 0x00145020
#define BNX_MCP_CPU_DATA_ACCESS 0x00145024
#define BNX_MCP_CPU_INTERRUPT_ENABLE 0x00145028
#define BNX_MCP_CPU_INTERRUPT_VECTOR 0x0014502c
#define BNX_MCP_CPU_INTERRUPT_SAVED_PC 0x00145030
#define BNX_MCP_CPU_HW_BREAKPOINT 0x00145034
#define BNX_MCP_CPU_HW_BREAKPOINT_DISABLE (1L<<0)
#define BNX_MCP_CPU_HW_BREAKPOINT_ADDRESS (0x3fffffffL<<2)
#define BNX_MCP_CPU_DEBUG_VECT_PEEK 0x00145038
#define BNX_MCP_CPU_DEBUG_VECT_PEEK_1_VALUE (0x7ffL<<0)
#define BNX_MCP_CPU_DEBUG_VECT_PEEK_1_PEEK_EN (1L<<11)
#define BNX_MCP_CPU_DEBUG_VECT_PEEK_1_SEL (0xfL<<12)
#define BNX_MCP_CPU_DEBUG_VECT_PEEK_2_VALUE (0x7ffL<<16)
#define BNX_MCP_CPU_DEBUG_VECT_PEEK_2_PEEK_EN (1L<<27)
#define BNX_MCP_CPU_DEBUG_VECT_PEEK_2_SEL (0xfL<<28)
#define BNX_MCP_CPU_LAST_BRANCH_ADDR 0x00145048
#define BNX_MCP_CPU_LAST_BRANCH_ADDR_TYPE (1L<<1)
#define BNX_MCP_CPU_LAST_BRANCH_ADDR_TYPE_JUMP (0L<<1)
#define BNX_MCP_CPU_LAST_BRANCH_ADDR_TYPE_BRANCH (1L<<1)
#define BNX_MCP_CPU_LAST_BRANCH_ADDR_LBA (0x3fffffffL<<2)
#define BNX_MCP_CPU_REG_FILE 0x00145200
#define BNX_MCP_MCPQ_FTQ_DATA 0x001453c0
#define BNX_MCP_MCPQ_FTQ_CMD 0x001453f8
#define BNX_MCP_MCPQ_FTQ_CMD_OFFSET (0x3ffL<<0)
#define BNX_MCP_MCPQ_FTQ_CMD_WR_TOP (1L<<10)
#define BNX_MCP_MCPQ_FTQ_CMD_WR_TOP_0 (0L<<10)
#define BNX_MCP_MCPQ_FTQ_CMD_WR_TOP_1 (1L<<10)
#define BNX_MCP_MCPQ_FTQ_CMD_SFT_RESET (1L<<25)
#define BNX_MCP_MCPQ_FTQ_CMD_RD_DATA (1L<<26)
#define BNX_MCP_MCPQ_FTQ_CMD_ADD_INTERVEN (1L<<27)
#define BNX_MCP_MCPQ_FTQ_CMD_ADD_DATA (1L<<28)
#define BNX_MCP_MCPQ_FTQ_CMD_INTERVENE_CLR (1L<<29)
#define BNX_MCP_MCPQ_FTQ_CMD_POP (1L<<30)
#define BNX_MCP_MCPQ_FTQ_CMD_BUSY (1L<<31)
#define BNX_MCP_MCPQ_FTQ_CTL 0x001453fc
#define BNX_MCP_MCPQ_FTQ_CTL_INTERVENE (1L<<0)
#define BNX_MCP_MCPQ_FTQ_CTL_OVERFLOW (1L<<1)
#define BNX_MCP_MCPQ_FTQ_CTL_FORCE_INTERVENE (1L<<2)
#define BNX_MCP_MCPQ_FTQ_CTL_MAX_DEPTH (0x3ffL<<12)
#define BNX_MCP_MCPQ_FTQ_CTL_CUR_DEPTH (0x3ffL<<22)
#define BNX_MCP_ROM 0x00150000
#define BNX_MCP_SCRATCH 0x00160000
#define BNX_SHM_HDR_SIGNATURE BNX_MCP_SCRATCH
#define BNX_SHM_HDR_SIGNATURE_SIG_MASK 0xffff0000
#define BNX_SHM_HDR_SIGNATURE_SIG 0x53530000
#define BNX_SHM_HDR_SIGNATURE_VER_MASK 0x000000ff
#define BNX_SHM_HDR_SIGNATURE_VER_ONE 0x00000001
#define BNX_SHM_HDR_ADDR_0 BNX_MCP_SCRATCH + 4
#define BNX_SHM_HDR_ADDR_1 BNX_MCP_SCRATCH + 8
/****************************************************************************/
/* End machine generated definitions. */
/****************************************************************************/
#define NUM_MC_HASH_REGISTERS 8
/* PHY_ID1: bits 31-16; PHY_ID2: bits 15-0. */
#define PHY_BCM5706_PHY_ID 0x00206160
#define PHY_ID(id) ((id) & 0xfffffff0)
#define PHY_REV_ID(id) ((id) & 0xf)
/* 5708 Serdes PHY registers */
#define BCM5708S_UP1 0xb
#define BCM5708S_UP1_2G5 0x1
#define BCM5708S_BLK_ADDR 0x1f
#define BCM5708S_BLK_ADDR_DIG 0x0000
#define BCM5708S_BLK_ADDR_DIG3 0x0002
#define BCM5708S_BLK_ADDR_TX_MISC 0x0005
/* Digital Block */
#define BCM5708S_1000X_CTL1 0x10
#define BCM5708S_1000X_CTL1_FIBER_MODE 0x0001
#define BCM5708S_1000X_CTL1_AUTODET_EN 0x0010
#define BCM5708S_1000X_CTL2 0x11
#define BCM5708S_1000X_CTL2_PLLEL_DET_EN 0x0001
#define BCM5708S_1000X_STAT1 0x14
#define BCM5708S_1000X_STAT1_SGMII 0x0001
#define BCM5708S_1000X_STAT1_LINK 0x0002
#define BCM5708S_1000X_STAT1_FD 0x0004
#define BCM5708S_1000X_STAT1_SPEED_MASK 0x0018
#define BCM5708S_1000X_STAT1_SPEED_10 0x0000
#define BCM5708S_1000X_STAT1_SPEED_100 0x0008
#define BCM5708S_1000X_STAT1_SPEED_1G 0x0010
#define BCM5708S_1000X_STAT1_SPEED_2G5 0x0018
#define BCM5708S_1000X_STAT1_TX_PAUSE 0x0020
#define BCM5708S_1000X_STAT1_RX_PAUSE 0x0040
/* Digital3 Block */
#define BCM5708S_DIG_3_0 0x10
#define BCM5708S_DIG_3_0_USE_IEEE 0x0001
/* Tx/Misc Block */
#define BCM5708S_TX_ACTL1 0x15
#define BCM5708S_TX_ACTL1_DRIVER_VCM 0x30
#define BCM5708S_TX_ACTL3 0x17
#define RX_COPY_THRESH 92
#define DMA_READ_CHANS 5
#define DMA_WRITE_CHANS 3
/* Use the natural page size of the host CPU. */
#define BCM_PAGE_BITS PAGE_SHIFT
#define BCM_PAGE_SIZE PAGE_SIZE
#define TX_PAGES 2
#define TOTAL_TX_BD_PER_PAGE (BCM_PAGE_SIZE / sizeof(struct tx_bd))
#define USABLE_TX_BD_PER_PAGE (TOTAL_TX_BD_PER_PAGE - 1)
#define TOTAL_TX_BD (TOTAL_TX_BD_PER_PAGE * TX_PAGES)
#define USABLE_TX_BD (USABLE_TX_BD_PER_PAGE * TX_PAGES)
#define MAX_TX_BD (TOTAL_TX_BD - 1)
#define RX_PAGES 2
#define TOTAL_RX_BD_PER_PAGE (BCM_PAGE_SIZE / sizeof(struct rx_bd))
#define USABLE_RX_BD_PER_PAGE (TOTAL_RX_BD_PER_PAGE - 1)
#define TOTAL_RX_BD (TOTAL_RX_BD_PER_PAGE * RX_PAGES)
#define USABLE_RX_BD (USABLE_RX_BD_PER_PAGE * RX_PAGES)
#define MAX_RX_BD (TOTAL_RX_BD - 1)
#define NEXT_TX_BD(x) (((x) & USABLE_TX_BD_PER_PAGE) == \
(USABLE_TX_BD_PER_PAGE - 1)) ? \
(x) + 2 : (x) + 1
#define TX_CHAIN_IDX(x) ((x) & MAX_TX_BD)
#define TX_PAGE(x) (((x) & ~USABLE_TX_BD_PER_PAGE) >> (BCM_PAGE_BITS - 4))
#define TX_IDX(x) ((x) & USABLE_TX_BD_PER_PAGE)
#define NEXT_RX_BD(x) (((x) & USABLE_RX_BD_PER_PAGE) == \
(USABLE_RX_BD_PER_PAGE - 1)) ? \
(x) + 2 : (x) + 1
#define RX_CHAIN_IDX(x) ((x) & MAX_RX_BD)
#define RX_PAGE(x) (((x) & ~USABLE_RX_BD_PER_PAGE) >> (BCM_PAGE_BITS - 4))
#define RX_IDX(x) ((x) & USABLE_RX_BD_PER_PAGE)
/* Context size. */
#define CTX_SHIFT 7
#define CTX_SIZE (1 << CTX_SHIFT)
#define CTX_MASK (CTX_SIZE - 1)
#define GET_CID_ADDR(_cid) ((_cid) << CTX_SHIFT)
#define GET_CID(_cid_addr) ((_cid_addr) >> CTX_SHIFT)
#define PHY_CTX_SHIFT 6
#define PHY_CTX_SIZE (1 << PHY_CTX_SHIFT)
#define PHY_CTX_MASK (PHY_CTX_SIZE - 1)
#define GET_PCID_ADDR(_pcid) ((_pcid) << PHY_CTX_SHIFT)
#define GET_PCID(_pcid_addr) ((_pcid_addr) >> PHY_CTX_SHIFT)
#define MB_KERNEL_CTX_SHIFT 8
#define MB_KERNEL_CTX_SIZE (1 << MB_KERNEL_CTX_SHIFT)
#define MB_KERNEL_CTX_MASK (MB_KERNEL_CTX_SIZE - 1)
#define MB_GET_CID_ADDR(_cid) (0x10000 + ((_cid) << MB_KERNEL_CTX_SHIFT))
#define MAX_CID_CNT 0x4000
#define MAX_CID_ADDR (GET_CID_ADDR(MAX_CID_CNT))
#define INVALID_CID_ADDR 0xffffffff
#define TX_CID 16
#define RX_CID 0
#define MB_TX_CID_ADDR MB_GET_CID_ADDR(TX_CID)
#define MB_RX_CID_ADDR MB_GET_CID_ADDR(RX_CID)
/****************************************************************************/
/* BNX Processor Firmware Load Definitions */
/****************************************************************************/
struct cpu_reg {
u_int32_t mode;
u_int32_t mode_value_halt;
u_int32_t mode_value_sstep;
u_int32_t state;
u_int32_t state_value_clear;
u_int32_t gpr0;
u_int32_t evmask;
u_int32_t pc;
u_int32_t inst;
u_int32_t bp;
u_int32_t spad_base;
u_int32_t mips_view_base;
};
struct fw_info {
u_int32_t ver_major;
u_int32_t ver_minor;
u_int32_t ver_fix;
u_int32_t start_addr;
/* Text section. */
u_int32_t text_addr;
u_int32_t text_len;
u_int32_t text_index;
u_int32_t *text;
/* Data section. */
u_int32_t data_addr;
u_int32_t data_len;
u_int32_t data_index;
u_int32_t *data;
/* SBSS section. */
u_int32_t sbss_addr;
u_int32_t sbss_len;
u_int32_t sbss_index;
u_int32_t *sbss;
/* BSS section. */
u_int32_t bss_addr;
u_int32_t bss_len;
u_int32_t bss_index;
u_int32_t *bss;
/* Read-only section. */
u_int32_t rodata_addr;
u_int32_t rodata_len;
u_int32_t rodata_index;
u_int32_t *rodata;
};
#define RV2P_PROC1 0
#define RV2P_PROC2 1
#define BNX_MIREG(x) ((x & 0x1F) << 16)
#define BNX_MIPHY(x) ((x & 0x1F) << 21)
#define BNX_PHY_TIMEOUT 50
#define BNX_NVRAM_SIZE 0x200
#define BNX_NVRAM_MAGIC 0x669955aa
#define BNX_CRC32_RESIDUAL 0xdebb20e3
#define BNX_TX_TIMEOUT 5
#define BNX_MAX_SEGMENTS 8
#define BNX_DMA_ALIGN 8
#define BNX_DMA_BOUNDARY 0
#define BNX_MIN_MTU 60
#define BNX_MIN_ETHER_MTU 64
#define BNX_MAX_STD_MTU 1500
#define BNX_MAX_STD_ETHER_MTU 1518
#define BNX_MAX_STD_ETHER_MTU_VLAN 1522
#define BNX_MAX_JUMBO_MTU 9000
#define BNX_MAX_JUMBO_ETHER_MTU 9018
#define BNX_MAX_JUMBO_ETHER_MTU_VLAN 9022
#define BNX_MAX_MRU MCLBYTES
#define BNX_MAX_JUMBO_MRU 9216
/****************************************************************************/
/* BNX Device State Data Structure */
/****************************************************************************/
#define BNX_STATUS_BLK_SZ sizeof(struct status_block)
#define BNX_STATS_BLK_SZ sizeof(struct statistics_block)
#define BNX_TX_CHAIN_PAGE_SZ BCM_PAGE_SIZE
#define BNX_RX_CHAIN_PAGE_SZ BCM_PAGE_SIZE
struct bnx_pkt {
TAILQ_ENTRY(bnx_pkt) pkt_entry;
bus_dmamap_t pkt_dmamap;
struct mbuf *pkt_mbuf;
u_int16_t pkt_end_desc;
};
TAILQ_HEAD(bnx_pkt_list, bnx_pkt);
struct bnx_softc {
struct device bnx_dev; /* Parent device handle */
struct arpcom arpcom;
struct pci_attach_args bnx_pa;
pci_intr_handle_t bnx_ih;
bus_space_tag_t bnx_btag; /* Device bus tag */
bus_space_handle_t bnx_bhandle; /* Device bus handle */
bus_size_t bnx_size;
void *bnx_intrhand; /* Interrupt handler */
/* ASIC Chip ID. */
u_int32_t bnx_chipid;
/* General controller flags. */
u_int32_t bnx_flags;
#define BNX_PCIX_FLAG 0x01
#define BNX_PCI_32BIT_FLAG 0x02
#define BNX_ONE_TDMA_FLAG 0x04 /* Deprecated */
#define BNX_NO_WOL_FLAG 0x08
#define BNX_USING_DAC_FLAG 0x10
#define BNX_USING_MSI_FLAG 0x20
#define BNX_MFW_ENABLE_FLAG 0x40
#define BNX_ACTIVE_FLAG 0x80
/* PHY specific flags. */
u_int32_t bnx_phy_flags;
#define BNX_PHY_SERDES_FLAG 0x001
#define BNX_PHY_CRC_FIX_FLAG 0x002
#define BNX_PHY_PARALLEL_DETECT_FLAG 0x004
#define BNX_PHY_2_5G_CAPABLE_FLAG 0x008
#define BNX_PHY_INT_MODE_MASK_FLAG 0x300
#define BNX_PHY_INT_MODE_AUTO_POLLING_FLAG 0x100
#define BNX_PHY_INT_MODE_LINK_READY_FLAG 0x200
#define BNX_PHY_IEEE_CLAUSE_45_FLAG 0x400
/* Values that need to be shared with the PHY driver. */
u_int32_t bnx_shared_hw_cfg;
u_int32_t bnx_port_hw_cfg;
uint64_t bnx_flowflags;
u_int16_t bus_speed_mhz; /* PCI bus speed */
struct flash_spec *bnx_flash_info; /* Flash NVRAM settings */
u_int32_t bnx_flash_size; /* Flash NVRAM size */
u_int32_t bnx_shmem_base; /* ShMem base address */
char * bnx_name; /* Name string */
/* Tracks the version of bootcode firmware. */
u_int32_t bnx_fw_ver;
/* Tracks the state of the firmware. 0 = Running while any */
/* other value indicates that the firmware is not responding. */
u_int16_t bnx_fw_timed_out;
/* An incrementing sequence used to coordinate messages passed */
/* from the driver to the firmware. */
u_int16_t bnx_fw_wr_seq;
/* An incrementing sequence used to let the firmware know that */
/* the driver is still operating. Without the pulse, management */
/* firmware such as IPMI or UMP will operate in OS absent state. */
u_int16_t bnx_fw_drv_pulse_wr_seq;
/* Ethernet MAC address. */
u_char eaddr[6];
/* These setting are used by the host coalescing (HC) block to */
/* to control how often the status block, statistics block and */
/* interrupts are generated. */
u_int16_t bnx_tx_quick_cons_trip_int;
u_int16_t bnx_tx_quick_cons_trip;
u_int16_t bnx_rx_quick_cons_trip_int;
u_int16_t bnx_rx_quick_cons_trip;
u_int16_t bnx_comp_prod_trip_int;
u_int16_t bnx_comp_prod_trip;
u_int16_t bnx_tx_ticks_int;
u_int16_t bnx_tx_ticks;
u_int16_t bnx_rx_ticks_int;
u_int16_t bnx_rx_ticks;
u_int16_t bnx_com_ticks_int;
u_int16_t bnx_com_ticks;
u_int16_t bnx_cmd_ticks_int;
u_int16_t bnx_cmd_ticks;
u_int32_t bnx_stats_ticks;
/* The address of the integrated PHY on the MII bus. */
int bnx_phy_addr;
/* The device handle for the MII bus child device. */
struct mii_data bnx_mii;
/* Driver maintained TX chain pointers and byte counter. */
u_int16_t rx_prod;
u_int16_t rx_cons;
u_int32_t rx_prod_bseq; /* Counts the bytes used. */
u_int16_t tx_prod;
u_int16_t tx_cons;
u_int32_t tx_prod_bseq; /* Counts the bytes used. */
int bnx_link;
struct timeout bnx_timeout;
struct timeout bnx_rxrefill;
/* Frame size and mbuf allocation size for RX frames. */
u_int32_t max_frame_size;
int mbuf_alloc_size;
/* Receive mode settings (i.e promiscuous, multicast, etc.). */
u_int32_t rx_mode;
/* Bus tag for the bnx controller. */
bus_dma_tag_t bnx_dmatag;
/* H/W maintained TX buffer descriptor chain structure. */
bus_dma_segment_t tx_bd_chain_seg[TX_PAGES];
int tx_bd_chain_rseg[TX_PAGES];
bus_dmamap_t tx_bd_chain_map[TX_PAGES];
struct tx_bd *tx_bd_chain[TX_PAGES];
bus_addr_t tx_bd_chain_paddr[TX_PAGES];
/* H/W maintained RX buffer descriptor chain structure. */
bus_dma_segment_t rx_bd_chain_seg[TX_PAGES];
int rx_bd_chain_rseg[TX_PAGES];
bus_dmamap_t rx_bd_chain_map[RX_PAGES];
struct rx_bd *rx_bd_chain[RX_PAGES];
bus_addr_t rx_bd_chain_paddr[RX_PAGES];
/* H/W maintained status block. */
bus_dma_segment_t status_seg;
int status_rseg;
bus_dmamap_t status_map;
struct status_block *status_block; /* virtual address */
bus_addr_t status_block_paddr; /* Physical address */
/* H/W maintained context block */
int ctx_pages;
bus_dma_segment_t ctx_segs[4];
int ctx_rsegs[4];
bus_dmamap_t ctx_map[4];
void *ctx_block[4];
/* Driver maintained status block values. */
u_int16_t last_status_idx;
u_int16_t hw_rx_cons;
u_int16_t hw_tx_cons;
/* H/W maintained statistics block. */
bus_dma_segment_t stats_seg;
int stats_rseg;
bus_dmamap_t stats_map;
struct statistics_block *stats_block; /* Virtual address */
bus_addr_t stats_block_paddr; /* Physical address */
/* Bus tag for RX/TX mbufs. */
bus_dma_segment_t rx_mbuf_seg;
int rx_mbuf_rseg;
bus_dma_segment_t tx_mbuf_seg;
int tx_mbuf_rseg;
/* S/W maintained mbuf TX chain structure. */
bus_dmamap_t tx_mbuf_map[TOTAL_TX_BD];
struct mbuf *tx_mbuf_ptr[TOTAL_TX_BD];
/* S/W maintained mbuf RX chain structure. */
bus_dmamap_t rx_mbuf_map[TOTAL_RX_BD];
struct mbuf *rx_mbuf_ptr[TOTAL_RX_BD];
/* Track the number of rx_bd and tx_bd's in use. */
struct if_rxring rx_ring;
u_int16_t max_rx_bd;
int used_tx_bd;
u_int16_t max_tx_bd;
/* Provides access to hardware statistics through sysctl. */
u_int64_t stat_IfHCInOctets;
u_int64_t stat_IfHCInBadOctets;
u_int64_t stat_IfHCOutOctets;
u_int64_t stat_IfHCOutBadOctets;
u_int64_t stat_IfHCInUcastPkts;
u_int64_t stat_IfHCInMulticastPkts;
u_int64_t stat_IfHCInBroadcastPkts;
u_int64_t stat_IfHCOutUcastPkts;
u_int64_t stat_IfHCOutMulticastPkts;
u_int64_t stat_IfHCOutBroadcastPkts;
u_int32_t stat_emac_tx_stat_dot3statsinternalmactransmiterrors;
u_int32_t stat_Dot3StatsCarrierSenseErrors;
u_int32_t stat_Dot3StatsFCSErrors;
u_int32_t stat_Dot3StatsAlignmentErrors;
u_int32_t stat_Dot3StatsSingleCollisionFrames;
u_int32_t stat_Dot3StatsMultipleCollisionFrames;
u_int32_t stat_Dot3StatsDeferredTransmissions;
u_int32_t stat_Dot3StatsExcessiveCollisions;
u_int32_t stat_Dot3StatsLateCollisions;
u_int32_t stat_EtherStatsCollisions;
u_int32_t stat_EtherStatsFragments;
u_int32_t stat_EtherStatsJabbers;
u_int32_t stat_EtherStatsUndersizePkts;
u_int32_t stat_EtherStatsOverrsizePkts;
u_int32_t stat_EtherStatsPktsRx64Octets;
u_int32_t stat_EtherStatsPktsRx65Octetsto127Octets;
u_int32_t stat_EtherStatsPktsRx128Octetsto255Octets;
u_int32_t stat_EtherStatsPktsRx256Octetsto511Octets;
u_int32_t stat_EtherStatsPktsRx512Octetsto1023Octets;
u_int32_t stat_EtherStatsPktsRx1024Octetsto1522Octets;
u_int32_t stat_EtherStatsPktsRx1523Octetsto9022Octets;
u_int32_t stat_EtherStatsPktsTx64Octets;
u_int32_t stat_EtherStatsPktsTx65Octetsto127Octets;
u_int32_t stat_EtherStatsPktsTx128Octetsto255Octets;
u_int32_t stat_EtherStatsPktsTx256Octetsto511Octets;
u_int32_t stat_EtherStatsPktsTx512Octetsto1023Octets;
u_int32_t stat_EtherStatsPktsTx1024Octetsto1522Octets;
u_int32_t stat_EtherStatsPktsTx1523Octetsto9022Octets;
u_int32_t stat_XonPauseFramesReceived;
u_int32_t stat_XoffPauseFramesReceived;
u_int32_t stat_OutXonSent;
u_int32_t stat_OutXoffSent;
u_int32_t stat_FlowControlDone;
u_int32_t stat_MacControlFramesReceived;
u_int32_t stat_XoffStateEntered;
u_int32_t stat_IfInFramesL2FilterDiscards;
u_int32_t stat_IfInRuleCheckerDiscards;
u_int32_t stat_IfInFTQDiscards;
u_int32_t stat_IfInMBUFDiscards;
u_int32_t stat_IfInRuleCheckerP4Hit;
u_int32_t stat_CatchupInRuleCheckerDiscards;
u_int32_t stat_CatchupInFTQDiscards;
u_int32_t stat_CatchupInMBUFDiscards;
u_int32_t stat_CatchupInRuleCheckerP4Hit;
/* Mbuf allocation failure counter. */
u_int32_t mbuf_alloc_failed;
/* TX DMA mapping failure counter. */
u_int32_t tx_dma_map_failures;
#ifdef BNX_DEBUG
/* Track the number of enqueued mbufs. */
int tx_mbuf_alloc;
int rx_mbuf_alloc;
/* Track the distribution buffer segments. */
u_int32_t rx_mbuf_segs[BNX_MAX_SEGMENTS+1];
/* Track how many and what type of interrupts are generated. */
u_int32_t interrupts_generated;
u_int32_t interrupts_handled;
u_int32_t rx_interrupts;
u_int32_t tx_interrupts;
u_int32_t rx_low_watermark; /* Lowest number of rx_bd's free. */
u_int32_t rx_empty_count; /* Number of times the RX chain was empty. */
u_int32_t tx_hi_watermark; /* Greatest number of tx_bd's used. */
u_int32_t tx_full_count; /* Number of times the TX chain was full. */
u_int32_t mbuf_sim_alloc_failed; /* Mbuf simulated allocation failure counter. */
u_int32_t l2fhdr_status_errors;
u_int32_t unexpected_attentions;
u_int32_t lost_status_block_updates;
#endif
};
#endif /* _KERNEL */
struct bnx_firmware_header {
int bnx_COM_FwReleaseMajor;
int bnx_COM_FwReleaseMinor;
int bnx_COM_FwReleaseFix;
u_int32_t bnx_COM_FwStartAddr;
u_int32_t bnx_COM_FwTextAddr;
int bnx_COM_FwTextLen;
u_int32_t bnx_COM_FwDataAddr;
int bnx_COM_FwDataLen;
u_int32_t bnx_COM_FwRodataAddr;
int bnx_COM_FwRodataLen;
u_int32_t bnx_COM_FwBssAddr;
int bnx_COM_FwBssLen;
u_int32_t bnx_COM_FwSbssAddr;
int bnx_COM_FwSbssLen;
int bnx_RXP_FwReleaseMajor;
int bnx_RXP_FwReleaseMinor;
int bnx_RXP_FwReleaseFix;
u_int32_t bnx_RXP_FwStartAddr;
u_int32_t bnx_RXP_FwTextAddr;
int bnx_RXP_FwTextLen;
u_int32_t bnx_RXP_FwDataAddr;
int bnx_RXP_FwDataLen;
u_int32_t bnx_RXP_FwRodataAddr;
int bnx_RXP_FwRodataLen;
u_int32_t bnx_RXP_FwBssAddr;
int bnx_RXP_FwBssLen;
u_int32_t bnx_RXP_FwSbssAddr;
int bnx_RXP_FwSbssLen;
int bnx_TPAT_FwReleaseMajor;
int bnx_TPAT_FwReleaseMinor;
int bnx_TPAT_FwReleaseFix;
u_int32_t bnx_TPAT_FwStartAddr;
u_int32_t bnx_TPAT_FwTextAddr;
int bnx_TPAT_FwTextLen;
u_int32_t bnx_TPAT_FwDataAddr;
int bnx_TPAT_FwDataLen;
u_int32_t bnx_TPAT_FwRodataAddr;
int bnx_TPAT_FwRodataLen;
u_int32_t bnx_TPAT_FwBssAddr;
int bnx_TPAT_FwBssLen;
u_int32_t bnx_TPAT_FwSbssAddr;
int bnx_TPAT_FwSbssLen;
int bnx_TXP_FwReleaseMajor;
int bnx_TXP_FwReleaseMinor;
int bnx_TXP_FwReleaseFix;
u_int32_t bnx_TXP_FwStartAddr;
u_int32_t bnx_TXP_FwTextAddr;
int bnx_TXP_FwTextLen;
u_int32_t bnx_TXP_FwDataAddr;
int bnx_TXP_FwDataLen;
u_int32_t bnx_TXP_FwRodataAddr;
int bnx_TXP_FwRodataLen;
u_int32_t bnx_TXP_FwBssAddr;
int bnx_TXP_FwBssLen;
u_int32_t bnx_TXP_FwSbssAddr;
int bnx_TXP_FwSbssLen;
/* Followed by blocks of data, each sized according to
* the (rather obvious) block length stated above.
*
* bnx_COM_FwText, bnx_COM_FwData, bnx_COM_FwRodata,
* bnx_COM_FwBss, bnx_COM_FwSbss,
*
* bnx_RXP_FwText, bnx_RXP_FwData, bnx_RXP_FwRodata,
* bnx_RXP_FwBss, bnx_RXP_FwSbss,
*
* bnx_TPAT_FwText, bnx_TPAT_FwData, bnx_TPAT_FwRodata,
* bnx_TPAT_FwBss, bnx_TPAT_FwSbss,
*
* bnx_TXP_FwText, bnx_TXP_FwData, bnx_TXP_FwRodata,
* bnx_TXP_FwBss, bnx_TXP_FwSbss,
*/
};
struct bnx_rv2p_header {
int bnx_rv2p_proc1len;
int bnx_rv2p_proc2len;
/*
* Followed by blocks of data, each sized according to
* the (rather obvious) block length stated above.
*/
};
/*
* The RV2P block must be configured for the system
* page size, or more specifically, the number of
* usable rx_bd's per page, and should be called
* as follows prior to loading the RV2P firmware:
*
* BNX_RV2P_PROC2_CHG_MAX_BD_PAGE(USABLE_RX_BD_PER_PAGE)
*
* The default value is 0xFF.
*/
#define BNX_RV2P_PROC2_MAX_BD_PAGE_LOC 5
#define BNX_RV2P_PROC2_CHG_MAX_BD_PAGE(_rv2p, _v) { \
_rv2p[BNX_RV2P_PROC2_MAX_BD_PAGE_LOC] = \
(_rv2p[BNX_RV2P_PROC2_MAX_BD_PAGE_LOC] & ~0xFFFF) | (_v); \
}
#endif /* #ifndef _BNX_H_DEFINED */
|
212d967d20b0d6b5a354f4c89eba3fd8a3eff98c
|
e65a4dbfbfb0e54e59787ba7741efee12f7687f3
|
/devel/xxgdb/files/patch-command.c
|
42c0372937d33657377b62dd617ab773a26f6338
|
[
"BSD-2-Clause"
] |
permissive
|
freebsd/freebsd-ports
|
86f2e89d43913412c4f6b2be3e255bc0945eac12
|
605a2983f245ac63f5420e023e7dce56898ad801
|
refs/heads/main
| 2023-08-30T21:46:28.720924
| 2023-08-30T19:33:44
| 2023-08-30T19:33:44
| 1,803,961
| 916
| 918
|
NOASSERTION
| 2023-09-08T04:06:26
| 2011-05-26T11:15:35
| null |
UTF-8
|
C
| false
| false
| 591
|
c
|
patch-command.c
|
--- command.c.orig 1994-11-23 00:27:05 UTC
+++ command.c
@@ -383,7 +383,7 @@ void Quit(w, client_data, call_data)
XtPointer client_data;
XtPointer call_data;
{
-#ifdef SYSV
+#if defined(SYSV) || defined(__FreeBSD__)
int status;
#else
union wait status;
@@ -392,7 +392,7 @@ void Quit(w, client_data, call_data)
write_dbx("quit\n");
XtDestroyApplicationContext(app_context);
kill(dbxpid, SIGKILL);
-#ifdef SYSV
+#if defined(SYSV) || defined(__FreeBSD__)
#if 1 /* instead of ifdef SVR4 */
status = waitpid(dbxpid, (int *)0, WNOHANG); /* (MJH) */
#else
|
8f6bf325059eecfe3d0000e919456cf528f33215
|
3b955b6c1122d6caea1175b24bea7b22aa5b9069
|
/utils/lha/maketbl.c
|
366b251d0751001ac56ae60594124491e9a7b003
|
[] |
no_license
|
yoyofr/modizer
|
52930c995424c6243859008d1b5e84b5fcda1aa4
|
68457a14344208bf1ca1660b3952aa59dff3aaea
|
refs/heads/master
| 2023-04-30T00:43:18.365195
| 2023-04-17T08:47:41
| 2023-04-17T08:47:41
| 3,095,707
| 110
| 43
| null | 2021-03-20T17:29:09
| 2012-01-03T17:06:30
|
C
|
UTF-8
|
C
| false
| false
| 3,193
|
c
|
maketbl.c
|
/* ------------------------------------------------------------------------ */
/* LHa for UNIX */
/* maketbl.c -- makes decoding table */
/* */
/* Modified Nobutaka Watazaki */
/* */
/* Ver. 1.14 Source All chagned 1995.01.14 N.Watazaki */
/* ------------------------------------------------------------------------ */
#include "lha.h"
void
make_table(nchar, bitlen, tablebits, table)
short nchar;
unsigned char bitlen[];
short tablebits;
unsigned short table[];
{
unsigned short count[17]; /* count of bitlen */
unsigned short weight[17]; /* 0x10000ul >> bitlen */
unsigned short start[17]; /* first code of bitlen */
unsigned short total;
unsigned int i, l;
int j, k, m, n, avail;
unsigned short *p;
avail = nchar;
/* initialize */
for (i = 1; i <= 16; i++) {
count[i] = 0;
weight[i] = 1 << (16 - i);
}
/* count */
for (i = 0; i < nchar; i++) {
if (bitlen[i] > 16) {
/* CVE-2006-4335 */
error("Bad table (case a)");
exit(1);
}
else
count[bitlen[i]]++;
}
/* calculate first code */
total = 0;
for (i = 1; i <= 16; i++) {
start[i] = total;
total += weight[i] * count[i];
}
if ((total & 0xffff) != 0 || tablebits > 16) { /* 16 for weight below */
error("make_table(): Bad table (case b)");
exit(1);
}
/* shift data for make table. */
m = 16 - tablebits;
for (i = 1; i <= tablebits; i++) {
start[i] >>= m;
weight[i] >>= m;
}
/* initialize */
j = start[tablebits + 1] >> m;
k = MIN(1 << tablebits, 4096);
if (j != 0)
for (i = j; i < k; i++)
table[i] = 0;
/* create table and tree */
for (j = 0; j < nchar; j++) {
k = bitlen[j];
if (k == 0)
continue;
l = start[k] + weight[k];
if (k <= tablebits) {
/* code in table */
l = MIN(l, 4096);
for (i = start[k]; i < l; i++)
table[i] = j;
}
else {
/* code not in table */
i = start[k];
if ((i >> m) > 4096) {
/* CVE-2006-4337 */
error("Bad table (case c)");
exit(1);
}
p = &table[i >> m];
i <<= tablebits;
n = k - tablebits;
/* make tree (n length) */
while (--n >= 0) {
if (*p == 0) {
right[avail] = left[avail] = 0;
*p = avail++;
}
if (i & 0x8000)
p = &right[*p];
else
p = &left[*p];
i <<= 1;
}
*p = j;
}
start[k] = l;
}
}
|
4e1033381a57f55b977c04ccd3b8fbe784a430a4
|
c2634ebec1d4448e372d174f459c3cbc03fd1edc
|
/lib/node_modules/@stdlib/strided/base/function-object/src/main.c
|
07b62f897556d1a650e855812c8c52ee76e9fcb2
|
[
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"SunPro",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain"
] |
permissive
|
stdlib-js/stdlib
|
ede11aee78f08e4f78a0bb939cb0bc244850b55b
|
f10c6e7db1a2b15cdd2b6237dd0927466ebd7278
|
refs/heads/develop
| 2023-09-05T03:29:36.368208
| 2023-09-03T22:42:11
| 2023-09-03T22:42:11
| 54,614,238
| 4,163
| 230
|
Apache-2.0
| 2023-09-13T21:26:07
| 2016-03-24T04:19:52
|
JavaScript
|
UTF-8
|
C
| false
| false
| 11,671
|
c
|
main.c
|
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "stdlib/strided/base/function_object.h"
#include <stdlib.h>
#include <stdint.h>
/**
* Returns the first row index at which a given one-dimensional array of types can be found in a two-dimensional reference array of types (or `-1` if not found).
*
* ## Notes
*
* - The intended use case for this function is for type dispatch (i.e., given a set of array data types, find a matching interface according the interface's accepted array data types).
* - The function assumes that `X` is stored in row-major order.
* - The function assumes that the number of indexed elements in `Y` equals the number of columns in `X`.
* - The function returns a row index. To convert to a linear index, multiply `strideX1` by the return value.
*
* @private
* @param N number of rows in `X` (size of first dimension)
* @param M number of columns in `X` (size of second dimension)
* @param X input two-dimensional reference array
* @param strideX1 `X` stride length along first dimension
* @param strideX2 `X` stride length along second dimension
* @param Y search array
* @param strideY `Y` stride length
* @return row index (if found) and `-1` otherwise
*
* @example
* #include "stdlib/strided/base/function_object.h"
* #include "stdlib/strided/dtypes.h"
* #include <stdint.h>
*
* // Define a reference array to search:
* int32_t X[] = {
* STDLIB_STRIDED_FLOAT64, STDLIB_STRIDED_FLOAT64, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT32,
* STDLIB_STRIDED_UINT32, STDLIB_STRIDED_UINT32, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_INT32, STDLIB_STRIDED_INT32, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_UINT16, STDLIB_STRIDED_UINT16, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_INT16, STDLIB_STRIDED_INT16, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_UINT8, STDLIB_STRIDED_UINT8, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_INT8, STDLIB_STRIDED_INT8, STDLIB_STRIDED_FLOAT64
* };
*
* // Define reference array dimensions:
* int64_t N = 8; // rows
* int64_t M = 3; // columns
*
* // Define a search array:
* int32_t Y1[] = {
* STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT32,
* };
*
* // Find the list of types:
* int64_t r1 = stdlib_strided_function_dispatch_types_index_of( N, M, X, M, 1, Y1, 1 );
* // returns 1
*
* // Define a search array:
* int32_t Y2[] = {
* STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT64,
* };
*
* // Find the list of types:
* int64_t r2 = stdlib_strided_function_dispatch_types_index_of( N, M, X, M, 1, Y2, 1 );
* // returns -1
*/
static int64_t stdlib_strided_function_dispatch_types_index_of( const int64_t N, const int64_t M, const int32_t *X, const int64_t strideX1, const int64_t strideX2, const int32_t *Y, const int64_t strideY ) {
int64_t ox;
int64_t oy;
int64_t ix;
int64_t iy;
int64_t i;
int64_t j;
// Determine initial starting indices (offsets)...
if ( strideX1 < 0 ) {
ox = (1-N) * strideX1;
} else {
ox = 0;
}
if ( strideX2 < 0 ) {
ox += (1-M) * strideX2;
}
if ( strideY < 0 ) {
oy = (1-M) * strideY;
} else {
oy = 0;
}
// Search for the first row which matches `Y`...
ix = ox;
for ( i = 0; i < N; i++ ) {
iy = oy;
for ( j = 0; j < M; j++ ) {
if ( X[ ix+(j*strideX2) ] != Y[ iy ] ) {
break;
}
iy += strideY;
}
// If we successfully iterated over all columns, then that means we've found a match...
if ( j == M ) {
return i;
}
ix += strideX1;
}
return -1;
}
/**
* Returns a pointer to a dynamically allocated strided array function object.
*
* ## Notes
*
* - The user is responsible for freeing the allocated memory.
*
* @param name strided array function name
* @param nin number of input strided arrays
* @param nout number of output strided arrays
* @param functions array containing strided array functions
* @param nfunctions number of strided array functions
* @param types array of type "numbers", where the total number of types equals `(nin+nout)*nfunctions` and where each set of `nin+nout` consecutive types (non-overlapping) corresponds to the set of strided array argument types for a corresponding strided array function
* @param data array of void pointers corresponding to the "data" (e.g., callbacks) which should be passed to a respective strided array function
* @return pointer to a dynamically allocated strided array function object or, if unable to allocate memory, a null pointer
*
* @example
* #include "stdlib/strided/base/function_object.h"
* #include "stdlib/strided/base/unary.h"
* #include "stdlib/strided/dtypes.h"
* #include <stdlib.h>
* #include <stdio.h>
*
* // Define the function(s) we want to apply to strided arrays:
* double scale( const double x ) {
* return x * 10.0;
* }
*
* // Define a function name:
* const char name[] = "unary_strided_array_function";
*
* // Define a list of strided array functions (in this case, as the function to be applied accepts doubles, we only use strided array functions which handle doubles as function arguments and, for the purposes of this example, we assume that the output strided array is always a double-precision floating-point number array):
* StridedArrayFcn functions[] = {
* stdlib_strided_d_d,
* stdlib_strided_f_f_as_d_d,
* stdlib_strided_u_d_as_d_d,
* stdlib_strided_i_d_as_d_d,
* stdlib_strided_t_d_as_d_d,
* stdlib_strided_k_d_as_d_d,
* stdlib_strided_b_d_as_d_d,
* stdlib_strided_s_d_as_d_d
* };
*
* // Define the **strided array** argument types for each strided array function:
* int32_t types[] = {
* STDLIB_STRIDED_FLOAT64, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_UINT32, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_INT32, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_UINT16, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_INT16, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_UINT8, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_INT8, STDLIB_STRIDED_FLOAT64
* };
*
* // Define a list of strided array function "data" (in this case, callbacks):
* void *data[] = {
* (void *)scale,
* (void *)scale,
* (void *)scale,
* (void *)scale,
* (void *)scale,
* (void *)scale,
* (void *)scale,
* (void *)scale
* };
*
* // Create a new strided function object:
* struct StridedFunctionObject *obj = stdlib_strided_function_allocate( name, 1, 1, functions, 8, types, data );
* if ( obj == NULL ) {
* fprintf( stderr, "Error allocating memory.\n" );
* exit( 1 );
* }
*
* // Free allocated memory:
* stdlib_strided_function_free( obj );
*/
struct StridedFunctionObject * stdlib_strided_function_allocate( const char *name, int32_t nin, int32_t nout, StridedArrayFcn *functions, int32_t nfunctions, int32_t *types, void *data[] ) {
struct StridedFunctionObject *obj = malloc( sizeof( struct StridedFunctionObject ) );
if ( obj == NULL ) {
return NULL;
}
obj->name = name;
obj->nin = nin;
obj->nout = nout;
obj->narrays = nin + nout;
obj->functions = functions;
obj->nfunctions = nfunctions;
obj->types = types;
obj->data = data;
return obj;
}
/**
* Frees a strided array function object's allocated memory.
*
* @param obj strided array function object
*
* @example
* #include "stdlib/strided/base/function_object.h"
* #include "stdlib/strided/base/unary.h"
* #include "stdlib/strided/dtypes.h"
* #include <stdlib.h>
* #include <stdio.h>
*
* // Define the function(s) we want to apply to strided arrays:
* double scale( const double x ) {
* return x * 10.0;
* }
*
* // Define a function name:
* const char name[] = "unary_strided_array_function";
*
* // Define a list of strided array functions:
* StridedArrayFcn functions[] = {
* stdlib_strided_d_d
* };
*
* // Define the **strided array** argument types for each strided array function:
* int32_t types[] = {
* STDLIB_STRIDED_FLOAT64, STDLIB_STRIDED_FLOAT64
* };
*
* // Define a list of strided array function "data" (in this case, callbacks):
* void *data[] = {
* (void *)scale
* };
*
* // Create a new strided function object:
* struct StridedFunctionObject *obj = stdlib_strided_function_allocate( name, 1, 1, functions, 1, types, data );
* if ( obj == NULL ) {
* fprintf( stderr, "Error allocating memory.\n" );
* exit( 1 );
* }
*
* // ...
*
* // Free allocated memory:
* stdlib_strided_function_free( obj );
*/
void stdlib_strided_function_free( struct StridedFunctionObject *obj ) {
if ( obj == NULL ) {
return;
}
free( obj );
}
/**
* Returns the first index of a function whose signature satisfies a provided list of array types.
*
* ## Notes
*
* - The function returns `-1` if unable to find a function.
*
* @param obj strided array function object
* @param types list of array types on which to dispatch
* @return function index (if found) and `-1` otherwise
*
* @example
* #include "stdlib/strided/base/function_object.h"
* #include "stdlib/strided/base/unary.h"
* #include "stdlib/strided/dtypes.h"
* #include <stdlib.h>
* #include <stdio.h>
*
* // Define the function(s) we want to apply to strided arrays:
* double scale( const double x ) {
* return x * 10.0;
* }
*
* // ...
*
* // Define a function name:
* const char name[] = "unary_strided_array_function";
*
* // Define a list of strided array functions:
* StridedArrayFcn functions[] = {
* stdlib_strided_d_d,
* stdlib_strided_f_f_as_d_d
* };
*
* // Define the **strided array** argument types for each strided array function:
* int32_t types[] = {
* STDLIB_STRIDED_FLOAT64, STDLIB_STRIDED_FLOAT64,
* STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT64
* };
*
* // Define a list of strided array function "data" (in this case, callbacks):
* void *data[] = {
* (void *)scale,
* (void *)scale
* };
*
* // Create a new strided function object:
* struct StridedFunctionObject *obj = stdlib_strided_function_allocate( name, 1, 1, functions, 2, types, data );
* if ( obj == NULL ) {
* fprintf( stderr, "Error allocating memory.\n" );
* exit( 1 );
* }
*
* // ...
*
* // Define a list of types on which to dispatch:
* int32_t itypes[] = {
* STDLIB_STRIDED_FLOAT32, STDLIB_STRIDED_FLOAT64
* };
*
* // Find a function satisfying the list of types:
* int64_t idx = stdlib_strided_function_dispatch_index_of( obj, itypes );
* if ( idx < 0 ) {
* fprintf( stderr, "Unable to find function.\n" );
* exit( 1 );
* }
*
* // ...
*
* // Free allocated memory:
* stdlib_strided_function_free( obj );
*/
int64_t stdlib_strided_function_dispatch_index_of( const struct StridedFunctionObject *obj, const int32_t *types ) {
if ( obj == NULL ) {
return -1;
}
// Retrieve the number of functions (and thus the number of type signatures):
int32_t N = obj->nfunctions;
// Retrieve the number of array arguments:
int32_t M = obj->narrays;
// Find the index of the function satisfying the provided types:
return stdlib_strided_function_dispatch_types_index_of( (int64_t)N, M, obj->types, M, 1, types, 1 );
}
|
992b9e80d55656f63a9ac18caeec851b6982d604
|
98e19516c8c6ccdcd3b092955d47773a0aaabf7b
|
/src/Platform/cpp/Platform/cconsole.c
|
f908f6a5bf88bffdf6552aade750b431ac92170c
|
[
"Apache-2.0"
] |
permissive
|
koka-lang/koka
|
d31daf7d06b28ea7b1fc8084cc76cdf5459610b6
|
b3122869ac74bfb6f432f7e76eeb723b1f69a491
|
refs/heads/master
| 2023-08-31T05:54:48.476729
| 2023-07-03T18:18:28
| 2023-07-03T18:18:28
| 75,982,258
| 2,806
| 154
|
NOASSERTION
| 2023-07-20T16:27:34
| 2016-12-08T23:00:37
|
Haskell
|
UTF-8
|
C
| false
| false
| 5,738
|
c
|
cconsole.c
|
/*
Copyright 2012-2021, Microsoft Research, Daan Leijen.
This is free software; you can redistribute it and/or modify it under the
terms of the Apache License, Version 2.0. A copy of the License can be
found in the LICENSE file at the root of this distribution.
*/
#include "cconsole.h"
/*------------------------------------------------------------------------
Colors
------------------------------------------------------------------------*/
#define MaskRed 0x01
#define MaskGreen 0x02
#define MaskBlue 0x04
#define MaskHighlight 0x08
#define MaskRGB (MaskRed | MaskGreen | MaskBlue)
#define MaxColor 15
#define DefaultColor (MaxColor+1)
/*------------------------------------------------------------------------
Windows console functionality
------------------------------------------------------------------------*/
#if defined(__WIN32__) || defined(__MINGW32__) || defined(__CYGWIN__)
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#ifndef COMMON_LVB_REVERSE_VIDEO
#define COMMON_LVB_REVERSE_VIDEO 0x4000
#endif
#ifndef COMMON_LVB_UNDERSCORE
#define COMMON_LVB_UNDERSCORE 0x8000
#endif
#define FOREGROUND_MASK (FOREGROUND_RED | FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_INTENSITY)
#define BACKGROUND_MASK (BACKGROUND_RED | BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_INTENSITY)
#define DefaultAttributes (FOREGROUND_RED | FOREGROUND_BLUE | FOREGROUND_GREEN)
static WORD consoleAttributes = DefaultAttributes; /* last known attribute */
static WORD consoleInitialAttrs = DefaultAttributes; /* attributes when application was initialized */
static WORD consoleInitialized = 0;
static void consoleSetAttributes( WORD attributes )
{
HANDLE hstdout = GetStdHandle(STD_OUTPUT_HANDLE);
if (hstdout!=INVALID_HANDLE_VALUE) {
if (SetConsoleTextAttribute(hstdout, attributes)) {
consoleAttributes = attributes;
}
/* CloseHandle(hstdout); */ /* Gives an error */
}
}
int consoleInit()
{
/* save original settings */
if (consoleInitialized <= 0) {
CONSOLE_SCREEN_BUFFER_INFO consoleInfo;
HANDLE hstdout;
hstdout = GetStdHandle(STD_OUTPUT_HANDLE);
if (hstdout!=INVALID_HANDLE_VALUE) {
if (GetConsoleScreenBufferInfo(hstdout, &consoleInfo)) {
consoleAttributes = consoleInfo.wAttributes;
consoleInitialAttrs= consoleAttributes;
consoleInitialized = 1;
}
/* CloseHandle(hstdout); */ /* Gives an error */
}
}
else {
consoleInitialized++;
}
return (consoleInitialized != 0);
}
void consoleDone()
{
/* restore original settings */
if (consoleInitialized > 0) {
consoleInitialized--;
if (consoleInitialized == 0) {
consoleSetAttributes( consoleInitialAttrs );
}
}
}
void consoleSetColor( int color )
{
if (!consoleInitialized) return;
if (color >= 0 && color <= MaxColor) {
/* set the color */
WORD attributes;
WORD winColor = (color & MaskRed ? FOREGROUND_RED : 0) |
(color & MaskGreen ? FOREGROUND_GREEN : 0) |
(color & MaskBlue ? FOREGROUND_BLUE : 0) |
(color & MaskHighlight? FOREGROUND_INTENSITY : 0);
attributes = (consoleAttributes & ~FOREGROUND_MASK) | winColor;
consoleSetAttributes(attributes);
}
else {
/* default color */
consoleSetAttributes( (consoleAttributes & ~FOREGROUND_MASK) | (consoleInitialAttrs & FOREGROUND_MASK) );
}
}
void consoleSetBackColor( int color )
{
if (!consoleInitialized) return;
if (color >= 0 && color <= MaxColor) {
/* set the color */
WORD attributes;
WORD winColor = (color & MaskRed ? BACKGROUND_RED : 0) |
(color & MaskGreen ? BACKGROUND_GREEN : 0) |
(color & MaskBlue ? BACKGROUND_BLUE : 0) |
(color & MaskHighlight? BACKGROUND_INTENSITY : 0);
attributes = (consoleAttributes & ~BACKGROUND_MASK) | winColor;
consoleSetAttributes(attributes);
}
else {
/* default color */
consoleSetAttributes( (consoleAttributes & ~BACKGROUND_MASK) | (consoleInitialAttrs & BACKGROUND_MASK) );
}
}
void consoleSetReverse( int rev )
{
if (consoleInitialized) {
WORD attributes = (consoleAttributes & ~COMMON_LVB_REVERSE_VIDEO) | (rev ? COMMON_LVB_REVERSE_VIDEO : 0);
consoleSetAttributes(attributes);
}
}
void consoleSetUnderline( int underline )
{
if (consoleInitialized) {
WORD attributes = (consoleAttributes & ~COMMON_LVB_UNDERSCORE) | (underline ? COMMON_LVB_UNDERSCORE : 0);
consoleSetAttributes(attributes);
}
}
int consoleGetState( void )
{
return (int)(consoleAttributes);
}
void consoleSetState( int state )
{
WORD attributes = (WORD)state;
consoleSetAttributes(attributes);
}
const char* consoleGetProgramPath()
{
static int cached = 0;
static char programPath[256];
static TCHAR tprogramPath[256];
if (cached==0) {
DWORD n = GetModuleFileName( NULL, tprogramPath, 256 );
if (n < 0) n = 0;
int i;
for(i = 0; i < n; i++) {
programPath[i] = (char)tprogramPath[i];
}
programPath[i] = 0;
cached = 1;
}
return programPath;
}
/*------------------------------------------------------------------------
Unsupported console functionality
------------------------------------------------------------------------*/
#else
int consoleInit()
{
return 0;
}
void consoleDone()
{
}
void consoleSetColor( int color )
{
}
void consoleSetBackColor( int color )
{
}
void consoleSetReverse( int rev )
{
}
void consoleSetUnderline( int underline )
{
}
int consoleGetState( void )
{
return (-1);
}
void consoleSetState( int state )
{
}
const char* consoleGetProgramPath()
{
return "";
}
#endif
|
8b264d419551bddcb257cb7d1095a8b1f2d580e1
|
fdbb74a95924e2677466614f6ab6e2bb13b2a95a
|
/libc/tinymath/remquol.c
|
678504b814bc43cb63136aec9739c9b2a4df332a
|
[
"ISC",
"LLVM-exception",
"MIT",
"Apache-2.0",
"BSD-4-Clause-UC",
"BSD-2-Clause",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-musl-exception"
] |
permissive
|
jart/cosmopolitan
|
fb11b5658939023977060a7c6c71a74093d9cb44
|
0d748ad58e1063dd1f8560f18a0c75293b9415b7
|
refs/heads/master
| 2023-09-06T09:17:29.303607
| 2023-09-02T03:49:13
| 2023-09-02T03:50:18
| 272,457,606
| 11,887
| 435
|
ISC
| 2023-09-14T17:47:58
| 2020-06-15T14:16:13
|
C
|
UTF-8
|
C
| false
| false
| 4,990
|
c
|
remquol.c
|
/*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│
│vi: set et ft=c ts=8 tw=8 fenc=utf-8 :vi│
╚──────────────────────────────────────────────────────────────────────────────╝
│ │
│ Musl Libc │
│ Copyright © 2005-2020 Rich Felker, et al. │
│ │
│ 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. │
│ │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/math.h"
#include "libc/tinymath/ldshape.internal.h"
#if !(LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024)
asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\"");
// clang-format off
/**
* Computes remainder and part of quotient.
*/
long double remquol(long double x, long double y, int *quo)
{
union ldshape ux = {x}, uy = {y};
int ex = ux.i.se & 0x7fff;
int ey = uy.i.se & 0x7fff;
int sx = ux.i.se >> 15;
int sy = uy.i.se >> 15;
uint32_t q;
*quo = 0;
if (y == 0 || isnan(y) || ex == 0x7fff)
return (x*y)/(x*y);
if (x == 0)
return x;
/* normalize x and y */
if (!ex) {
ux.i.se = ex;
ux.f *= 0x1p120f;
ex = ux.i.se - 120;
}
if (!ey) {
uy.i.se = ey;
uy.f *= 0x1p120f;
ey = uy.i.se - 120;
}
q = 0;
if (ex >= ey) {
/* x mod y */
#if LDBL_MANT_DIG == 64
uint64_t i, mx, my;
mx = ux.i.m;
my = uy.i.m;
for (; ex > ey; ex--) {
i = mx - my;
if (mx >= my) {
mx = 2*i;
q++;
q <<= 1;
} else if (2*mx < mx) {
mx = 2*mx - my;
q <<= 1;
q++;
} else {
mx = 2*mx;
q <<= 1;
}
}
i = mx - my;
if (mx >= my) {
mx = i;
q++;
}
if (mx == 0)
ex = -120;
else
for (; mx >> 63 == 0; mx *= 2, ex--);
ux.i.m = mx;
#elif LDBL_MANT_DIG == 113
uint64_t hi, lo, xhi, xlo, yhi, ylo;
xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48;
yhi = (uy.i2.hi & -1ULL>>16) | 1ULL<<48;
xlo = ux.i2.lo;
ylo = ux.i2.lo;
for (; ex > ey; ex--) {
hi = xhi - yhi;
lo = xlo - ylo;
if (xlo < ylo)
hi -= 1;
if (hi >> 63 == 0) {
xhi = 2*hi + (lo>>63);
xlo = 2*lo;
q++;
} else {
xhi = 2*xhi + (xlo>>63);
xlo = 2*xlo;
}
q <<= 1;
}
hi = xhi - yhi;
lo = xlo - ylo;
if (xlo < ylo)
hi -= 1;
if (hi >> 63 == 0) {
xhi = hi;
xlo = lo;
q++;
}
if ((xhi|xlo) == 0)
ex = -120;
else
for (; xhi >> 48 == 0; xhi = 2*xhi + (xlo>>63), xlo = 2*xlo, ex--);
ux.i2.hi = xhi;
ux.i2.lo = xlo;
#endif
}
/* scale result and decide between |x| and |x|-|y| */
if (ex <= 0) {
ux.i.se = ex + 120;
ux.f *= 0x1p-120f;
} else
ux.i.se = ex;
x = ux.f;
if (sy)
y = -y;
if (ex == ey || (ex+1 == ey && (2*x > y || (2*x == y && q%2)))) {
x -= y;
q++;
}
q &= 0x7fffffff;
*quo = sx^sy ? -(int)q : (int)q;
return sx ? -x : x;
}
#endif /* long double is long */
|
3d77ebeecde14700fedbf90997d4978f688bfdb0
|
7eaf54a78c9e2117247cb2ab6d3a0c20719ba700
|
/SOFTWARE/A64-TERES/linux-a64/arch/arm/mach-at91/cpuidle.c
|
69f9e3bbf4e5642723688c950521039fbb1d9704
|
[
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] |
permissive
|
OLIMEX/DIY-LAPTOP
|
ae82f4ee79c641d9aee444db9a75f3f6709afa92
|
a3fafd1309135650bab27f5eafc0c32bc3ca74ee
|
refs/heads/rel3
| 2023-08-04T01:54:19.483792
| 2023-04-03T07:18:12
| 2023-04-03T07:18:12
| 80,094,055
| 507
| 92
|
Apache-2.0
| 2023-04-03T07:05:59
| 2017-01-26T07:25:50
|
C
|
UTF-8
|
C
| false
| false
| 1,686
|
c
|
cpuidle.c
|
/*
* based on arch/arm/mach-kirkwood/cpuidle.c
*
* CPU idle support for AT91 SoC
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*
* The cpu idle uses wait-for-interrupt and RAM self refresh in order
* to implement two idle states -
* #1 wait-for-interrupt
* #2 wait-for-interrupt and RAM self refresh
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/cpuidle.h>
#include <linux/io.h>
#include <linux/export.h>
#include <asm/proc-fns.h>
#include <asm/cpuidle.h>
#include <mach/cpu.h>
#include "pm.h"
#define AT91_MAX_STATES 2
/* Actual code that puts the SoC in different idle states */
static int at91_enter_idle(struct cpuidle_device *dev,
struct cpuidle_driver *drv,
int index)
{
if (cpu_is_at91rm9200())
at91rm9200_standby();
else if (cpu_is_at91sam9g45())
at91sam9g45_standby();
else if (cpu_is_at91sam9263())
at91sam9263_standby();
else
at91sam9_standby();
return index;
}
static struct cpuidle_driver at91_idle_driver = {
.name = "at91_idle",
.owner = THIS_MODULE,
.states[0] = ARM_CPUIDLE_WFI_STATE,
.states[1] = {
.enter = at91_enter_idle,
.exit_latency = 10,
.target_residency = 100000,
.flags = CPUIDLE_FLAG_TIME_VALID,
.name = "RAM_SR",
.desc = "WFI and DDR Self Refresh",
},
.state_count = AT91_MAX_STATES,
};
/* Initialize CPU idle by registering the idle states */
static int __init at91_init_cpuidle(void)
{
return cpuidle_register(&at91_idle_driver, NULL);
}
device_initcall(at91_init_cpuidle);
|
24e5290392cca5ae41d71a688a1eea77348a0a64
|
59864cbd213b5da6f50d6255b0a021564b3d5bd4
|
/challenges/INSULATR/lib/cgc_libc.h
|
cc3a4d0f77437069f0b2b8942aa286c951cb5113
|
[
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown",
"BSD-2-Clause"
] |
permissive
|
trailofbits/cb-multios
|
8af96a4fbc3b34644367faa135347f88e0e0d0a3
|
810d7b24b1f62f56ef49b148fe155b0d0629cad2
|
refs/heads/master
| 2023-09-05T03:56:20.229403
| 2022-12-27T15:47:54
| 2022-12-27T15:47:54
| 41,688,943
| 522
| 133
|
MIT
| 2023-06-29T02:47:13
| 2015-08-31T17:04:31
|
C
|
UTF-8
|
C
| false
| false
| 3,917
|
h
|
cgc_libc.h
|
/*
* Copyright (C) Narf Industries <info@narfindustries.com>
*
* 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.
*/
#ifndef LIBC_H
#define LIBC_H
#include "libcgc.h"
//#define DEBUG 1
#define SUCCESS 0
#define ERRNO_RECV 32
#define ERRNO_TRANSMIT 33
#define ERRNO_MALFORMED_JSON 36
#define ERRNO_NUMBER_TOO_LARGE 37
#define ERRNO_NON_DECIMAL_IN_CONVERSION 38
#define uint8_t unsigned char
#define uint16_t unsigned short
#define uint32_t unsigned int
#define uint64_t unsigned long long
#define MAX_UINT8 0xff
#define MAX_UINT32 0xffffffff
// Fragmentation related
int cgc_receive_all(int fd, void *buf, cgc_size_t count, cgc_size_t *rx_bytes);
int cgc_transmit_all(int fd, const void *buf, cgc_size_t count, cgc_size_t *tx_bytes);
/**
* Set a buffer to provided character
*
* @param dst Destination buffer
* @param c Character to repeat
* @param n Number of times to copy character
* @return dst
*/
void * cgc_memset(void *dst, char c, cgc_size_t n);
/**
* Convert unsigned integer to string
*
* @param str_buf Destination buffere
* @param buf_size Destination buffer size
* @param i Integer to convert
* @return Ascii-representation of i in str_buf
*/
int cgc_uint2str32(char* str_buf, int buf_size, uint32_t i);
/**
* Compare two buffers
*
* @param a First buffer
* @param b Second buffer
* @param n Number of bytes to compare
* @return -1 if not equal, 0 if equal
*/
int cgc_memcmp(void *a, void *b, cgc_size_t n);
/**
* Convert string to signed integer
*
* @param str_buf Source buffer
* @return integer
*/
int cgc_str2unt32n(const char* str_buf, uint32_t max_chars, uint64_t max_val, uint32_t *out);
/**
* Copy a string with bounds checking
*
* @param s1 Destination buffer
* @param s2 Source buffer
* @param n Size of destination buffer
* @return Number of bytes copied
*/
cgc_size_t cgc_strncpy(char *s1, char *s2, cgc_size_t n);
/**
* Locate character in string
*
* @param str String to search
* @param h Character to find
* @return Pointer to character in string, or NULL
*/
char * cgc_strnchr(char *str, char c, uint32_t n);
// *
// * Tokenize string. Loosely based on strtok.
// *
// * @param s String to tokenize, or NULL to continue with previous one
// * @param sep Character to sep on
// * @return Pointer to next string, or NULL
// char * strntok(char *s, char sep, uint32_t n);
////
// The following is verbatim from EAGLE_00004, but isn't included in the
// released binary (DEBUG is not defined), so this reuse shouldn't be a concern.
////
#ifdef DEBUG
#define _FILE_STATE_OPEN 1
#define _FILE_STATE_ERROR 2
#define _FILE_STATE_EOF 4
#define _FILE_HAVE_LAST 8
typedef struct _FILE {
int fd;
int state;
int last;
} FILE;
extern FILE *cgc_stdin;
extern FILE *cgc_stdout;
extern FILE *cgc_stderr;
int fprintf(FILE * stream, const char *format, ...);
#endif
// ^ DEBUG
#endif
// ^ LIBC_H
|
10eb53d9553c93e8a3a12db7f4cbb1571281cb59
|
bb38c44037a99d0a12a12d92059678f2faebbc80
|
/src/include/client_logic/client_logic.h
|
3a9f142beb76dbc96306d2ea22d2e062f8a8e6bd
|
[
"LicenseRef-scancode-mulanpsl-2.0-en",
"LicenseRef-scancode-unknown-license-reference",
"PostgreSQL",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-warranty-disclaimer",
"curl",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"CC-BY-4.0",
"LicenseRef-scancode-protobuf",
"OpenSSL",
"LicenseRef-scancode-generic-export-compliance",
"X11-distribute-modifications-variant",
"LicenseRef-scancode-other-permissive",
"MIT",
"NCSA",
"Python-2.0",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"CC-BY-3.0",
"LicenseRef-scancode-other-copyleft",
"GPL-2.0-only",
"BSL-1.0",
"Apache-2.0",
"LGPL-2.0-only",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"Zlib"
] |
permissive
|
opengauss-mirror/openGauss-server
|
a9c5a62908643492347830826c56da49f0942796
|
310e84631c68c8bf37b004148b66f94064f701e4
|
refs/heads/master
| 2023-07-26T19:29:12.495484
| 2023-07-17T12:23:32
| 2023-07-17T12:23:32
| 276,117,477
| 591
| 208
|
MulanPSL-2.0
| 2023-04-28T12:30:18
| 2020-06-30T14:08:59
|
C++
|
UTF-8
|
C
| false
| false
| 2,898
|
h
|
client_logic.h
|
/*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PSL v2 for more details.
* -------------------------------------------------------------------------
*
* client_logic.h
*
* IDENTIFICATION
* src\include\client_logic\client_logic.h
*
* -------------------------------------------------------------------------
*/
#pragma once
#include "postgres.h"
#include "catalog/heap.h"
#include "catalog/dependency.h"
#include "catalog/gs_client_global_keys.h"
#include "catalog/gs_client_global_keys_args.h"
#include "catalog/gs_column_keys.h"
#include "catalog/gs_column_keys_args.h"
#include "catalog/gs_encrypted_columns.h"
#include "lib/stringinfo.h"
typedef struct {
Oid key_oid;
NameData key_name;
} KeyOidNameMap;
void delete_client_master_keys(Oid roleid);
void delete_column_keys(Oid roleid);
int process_encrypted_columns(const ColumnDef * const def, CeHeapInfo *ce_heap_info);
int process_global_settings(CreateClientLogicGlobal *parsetree);
int process_column_settings(CreateClientLogicColumn *parsetree);
int drop_global_settings(DropStmt *stmt);
int drop_column_settings(DropStmt *stmt);
void remove_cmk_by_id(Oid id);
void remove_cek_by_id(Oid id);
void remove_encrypted_col_by_id(Oid id);
void remove_cmk_args_by_id(Oid id);
void remove_cek_args_by_id(Oid id);
void insert_gs_sec_encrypted_column_tuple(CeHeapInfo *ce_heap_info, Relation rel, const Oid rel_id,
CatalogIndexState indstate);
bool is_exist_encrypted_column(const ObjectAddresses *targetObjects);
bool is_enc_type(Oid type_oid);
bool is_enc_type(const char *type_name);
bool is_full_encrypted_rel(Relation rel);
ClientLogicColumnRef *get_column_enc_def(Oid rel_oid, const char *col_name);
bool IsFullEncryptedRel(char* objSchema, char* objName);
bool IsFuncProcOnEncryptedRel(char* objSchema, char* objName);
/* Get description functions */
void get_global_setting_description(StringInfo buffer, const ObjectAddress* object);
void get_column_setting_description(StringInfo buffer, const ObjectAddress* object);
void get_cached_column_description(StringInfo buffer, const ObjectAddress* object);
void get_global_setting_args_description(StringInfo buffer, const ObjectAddress* object);
void get_column_setting_args_description(StringInfo buffer, const ObjectAddress* object);
const char *get_typename_by_id(Oid typeOid);
const char *get_encryption_type_name(EncryptionType algorithm_type);
extern Datum get_client_info(PG_FUNCTION_ARGS);
|
ad96e11399c40a93d670a58527ac3a1601d7192f
|
208e9b26eea7ae0e6f7b5f77c5d5b6773b803846
|
/src/util/vectorial/simd4f_sse.h
|
14ab51810b1090441ebc991be9b46e7420061199
|
[
"BSD-2-Clause",
"MIT"
] |
permissive
|
lunixbochs/glshim
|
f369b5a67142a5ad30242f5846c9b4e4689c148d
|
615dbe9ca2be8053cfa48f2c42bb96c64cf6512d
|
refs/heads/unstable
| 2020-05-22T04:13:00.733674
| 2018-03-18T05:59:16
| 2018-03-18T05:59:16
| 7,143,714
| 149
| 39
|
MIT
| 2019-12-18T17:09:24
| 2012-12-13T06:27:31
|
C
|
UTF-8
|
C
| false
| false
| 5,359
|
h
|
simd4f_sse.h
|
/*
Vectorial
Copyright (c) 2010 Mikko Lehtonen
Licensed under the terms of the two-clause BSD License (see LICENSE)
*/
#ifndef VECTORIAL_SIMD4F_SSE_H
#define VECTORIAL_SIMD4F_SSE_H
#include <xmmintrin.h>
#include <string.h> // memcpy
#ifdef __cplusplus
extern "C" {
#endif
typedef __m128 simd4f;
typedef union {
simd4f s ;
float f[4];
unsigned int ui[4];
} _simd4f_union;
// creating
vectorial_inline simd4f simd4f_create(float x, float y, float z, float w) {
simd4f s = { x, y, z, w };
return s;
}
vectorial_inline simd4f simd4f_zero() { return _mm_setzero_ps(); }
vectorial_inline simd4f simd4f_uload4(const float *ary) {
simd4f s = _mm_loadu_ps(ary);
return s;
}
vectorial_inline simd4f simd4f_uload3(const float *ary) {
simd4f s = simd4f_create(ary[0], ary[1], ary[2], 0);
return s;
}
vectorial_inline simd4f simd4f_uload2(const float *ary) {
simd4f s = simd4f_create(ary[0], ary[1], 0, 0);
return s;
}
vectorial_inline void simd4f_ustore4(const simd4f val, float *ary) {
_mm_storeu_ps(ary, val);
}
vectorial_inline void simd4f_ustore3(const simd4f val, float *ary) {
memcpy(ary, &val, sizeof(float) * 3);
}
vectorial_inline void simd4f_ustore2(const simd4f val, float *ary) {
memcpy(ary, &val, sizeof(float) * 2);
}
// utilites
vectorial_inline simd4f simd4f_splat(float v) {
simd4f s = _mm_set1_ps(v);
return s;
}
vectorial_inline simd4f simd4f_splat_x(simd4f v) {
simd4f s = _mm_shuffle_ps(v, v, _MM_SHUFFLE(0,0,0,0));
return s;
}
vectorial_inline simd4f simd4f_splat_y(simd4f v) {
simd4f s = _mm_shuffle_ps(v, v, _MM_SHUFFLE(1,1,1,1));
return s;
}
vectorial_inline simd4f simd4f_splat_z(simd4f v) {
simd4f s = _mm_shuffle_ps(v, v, _MM_SHUFFLE(2,2,2,2));
return s;
}
vectorial_inline simd4f simd4f_splat_w(simd4f v) {
simd4f s = _mm_shuffle_ps(v, v, _MM_SHUFFLE(3,3,3,3));
return s;
}
// arithmetic
vectorial_inline simd4f simd4f_add(simd4f lhs, simd4f rhs) {
simd4f ret = _mm_add_ps(lhs, rhs);
return ret;
}
vectorial_inline simd4f simd4f_sub(simd4f lhs, simd4f rhs) {
simd4f ret = _mm_sub_ps(lhs, rhs);
return ret;
}
vectorial_inline simd4f simd4f_mul(simd4f lhs, simd4f rhs) {
simd4f ret = _mm_mul_ps(lhs, rhs);
return ret;
}
vectorial_inline simd4f simd4f_div(simd4f lhs, simd4f rhs) {
simd4f ret = _mm_div_ps(lhs, rhs);
return ret;
}
vectorial_inline simd4f simd4f_madd(simd4f m1, simd4f m2, simd4f a) {
return simd4f_add( simd4f_mul(m1, m2), a );
}
vectorial_inline simd4f simd4f_reciprocal(simd4f v) {
simd4f s = _mm_rcp_ps(v);
const simd4f two = simd4f_create(2.0f, 2.0f, 2.0f, 2.0f);
s = simd4f_mul(s, simd4f_sub(two, simd4f_mul(v, s)));
return s;
}
vectorial_inline simd4f simd4f_sqrt(simd4f v) {
simd4f s = _mm_sqrt_ps(v);
return s;
}
vectorial_inline simd4f simd4f_rsqrt(simd4f v) {
simd4f s = _mm_rsqrt_ps(v);
const simd4f half = simd4f_create(0.5f, 0.5f, 0.5f, 0.5f);
const simd4f three = simd4f_create(3.0f, 3.0f, 3.0f, 3.0f);
s = simd4f_mul(simd4f_mul(s, half), simd4f_sub(three, simd4f_mul(s, simd4f_mul(v,s))));
return s;
}
vectorial_inline simd4f simd4f_cross3(simd4f lhs, simd4f rhs) {
const simd4f lyzx = _mm_shuffle_ps(lhs, lhs, _MM_SHUFFLE(3,0,2,1));
const simd4f lzxy = _mm_shuffle_ps(lhs, lhs, _MM_SHUFFLE(3,1,0,2));
const simd4f ryzx = _mm_shuffle_ps(rhs, rhs, _MM_SHUFFLE(3,0,2,1));
const simd4f rzxy = _mm_shuffle_ps(rhs, rhs, _MM_SHUFFLE(3,1,0,2));
return _mm_sub_ps(_mm_mul_ps(lyzx, rzxy), _mm_mul_ps(lzxy, ryzx));
}
vectorial_inline float simd4f_get_x(simd4f s) { _simd4f_union u={s}; return u.f[0]; }
vectorial_inline float simd4f_get_y(simd4f s) { _simd4f_union u={s}; return u.f[1]; }
vectorial_inline float simd4f_get_z(simd4f s) { _simd4f_union u={s}; return u.f[2]; }
vectorial_inline float simd4f_get_w(simd4f s) { _simd4f_union u={s}; return u.f[3]; }
vectorial_inline simd4f simd4f_shuffle_wxyz(simd4f s) { return _mm_shuffle_ps(s,s, _MM_SHUFFLE(2,1,0,3) ); }
vectorial_inline simd4f simd4f_shuffle_zwxy(simd4f s) { return _mm_shuffle_ps(s,s, _MM_SHUFFLE(1,0,3,2) ); }
vectorial_inline simd4f simd4f_shuffle_yzwx(simd4f s) { return _mm_shuffle_ps(s,s, _MM_SHUFFLE(0,3,2,1) ); }
vectorial_inline simd4f simd4f_zero_w(simd4f s) {
simd4f r = _mm_unpackhi_ps(s, _mm_setzero_ps());
return _mm_movelh_ps(s, r);
}
vectorial_inline simd4f simd4f_zero_zw(simd4f s) {
return _mm_movelh_ps(s, _mm_setzero_ps());
}
vectorial_inline simd4f simd4f_merge_high(simd4f xyzw, simd4f abcd) {
return _mm_movehl_ps(abcd, xyzw);
}
typedef simd4f_aligned16 union {
unsigned int ui[4];
float f[4];
} _simd4f_uif;
vectorial_inline simd4f simd4f_flip_sign_0101(simd4f s) {
const _simd4f_uif upnpn = { { 0x00000000, 0x80000000, 0x00000000, 0x80000000 } };
return _mm_xor_ps( s, _mm_load_ps(upnpn.f) );
}
vectorial_inline simd4f simd4f_flip_sign_1010(simd4f s) {
const _simd4f_uif unpnp = { { 0x80000000, 0x00000000, 0x80000000, 0x00000000 } };
return _mm_xor_ps( s, _mm_load_ps(unpnp.f) );
}
vectorial_inline simd4f simd4f_min(simd4f a, simd4f b) {
return _mm_min_ps( a, b );
}
vectorial_inline simd4f simd4f_max(simd4f a, simd4f b) {
return _mm_max_ps( a, b );
}
#ifdef __cplusplus
}
#endif
#endif
|
7bd69135d8868f432177ec213cda25bd3a65a63b
|
ffdc77394c5b5532b243cf3c33bd584cbdc65cb7
|
/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/int8/mul_int8.c
|
8b0dd4a15077342ee4b4fcafb3ecc6ffeb0a2c2e
|
[
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"MPL-1.0",
"OpenSSL",
"LGPL-3.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause-Open-MPI",
"MIT",
"MPL-2.0-no-copyleft-exception",
"NTP",
"BSD-3-Clause",
"GPL-1.0-or-later",
"0BSD",
"MPL-2.0",
"LicenseRef-scancode-free-unknown",
"AGPL-3.0-only",
"Libpng",
"MPL-1.1",
"IJG",
"GPL-2.0-only",
"BSL-1.0",
"Zlib",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-python-cwi",
"BSD-2-Clause",
"LicenseRef-scancode-gary-s-brown",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"Python-2.0",
"LicenseRef-scancode-mit-nagy",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense"
] |
permissive
|
mindspore-ai/mindspore
|
ca7d5bb51a3451c2705ff2e583a740589d80393b
|
54acb15d435533c815ee1bd9f6dc0b56b4d4cf83
|
refs/heads/master
| 2023-07-29T09:17:11.051569
| 2023-07-17T13:14:15
| 2023-07-17T13:14:15
| 239,714,835
| 4,178
| 768
|
Apache-2.0
| 2023-07-26T22:31:11
| 2020-02-11T08:43:48
|
C++
|
UTF-8
|
C
| false
| false
| 12,351
|
c
|
mul_int8.c
|
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "nnacl/int8/mul_int8.h"
#ifdef ENABLE_NEON
int16x4_t ClacSumHalfWordMul(int16x4_t scaled_input0, int16x4_t scaled_input1, int32x4_t left_shift_out_vec,
int32x4_t right_shift_out_vec, int32x4_t output_multiplier_vec) {
int32x4_t input_scale = vmull_s16(scaled_input0, scaled_input1);
int32x4_t raw_sum = vqrdmulhq_s32(vmulq_s32(input_scale, left_shift_out_vec), output_multiplier_vec);
const int32x4_t fixup = vshrq_n_s32(vandq_s32(raw_sum, right_shift_out_vec), 31);
const int32x4_t fixed_up_x = vqaddq_s32(raw_sum, fixup);
raw_sum = vrshlq_s32(fixed_up_x, right_shift_out_vec);
return vqmovn_s32(raw_sum);
}
void MulInt8NEON(const int8_t *input0_data, const int8_t *input1_data, int8_t *output_data, int64_t real_dst_count,
const MulQuantArg *quant_arg, int32_t *index) {
int32x4_t output_multiplier_vec = vdupq_n_s32(quant_arg->output_multiplier_);
int32x4_t left_shift_out_vec = vdupq_n_s32(1 << (size_t)quant_arg->shift_left_);
int32x4_t right_shift_out_vec = vdupq_n_s32(-quant_arg->shift_right_);
int16x8_t out_zp_vec = vdupq_n_s16(quant_arg->out_quant_arg_.zp_);
int8x16_t out_min_vec = vdupq_n_s8(quant_arg->output_activation_min_);
int8x16_t out_max_vec = vdupq_n_s8(quant_arg->output_activation_max_);
int8x8_t out_min_vec_s8 = vdup_n_s8(quant_arg->output_activation_min_);
int8x8_t out_max_vec_s8 = vdup_n_s8(quant_arg->output_activation_max_);
for (; (*index) <= real_dst_count - 16; (*index) += 16) {
int16x8_t zp1_vec = vdupq_n_s16(quant_arg->in_quant_args_[0].zp_);
int16x8_t zp2_vec = vdupq_n_s16(quant_arg->in_quant_args_[1].zp_);
int8x16_t input0_vec = vld1q_s8(input0_data + *index);
int8x16_t input1_vec = vld1q_s8(input1_data + *index);
int16x8_t input0_low = vmovl_s8(vget_low_s8(input0_vec));
int16x8_t input0_high = vmovl_s8(vget_high_s8(input0_vec));
int16x8_t input1_low = vmovl_s8(vget_low_s8(input1_vec));
int16x8_t input1_high = vmovl_s8(vget_high_s8(input1_vec));
input0_low = vaddq_s16(input0_low, zp1_vec);
input0_high = vaddq_s16(input0_high, zp1_vec);
input1_low = vaddq_s16(input1_low, zp2_vec);
input1_high = vaddq_s16(input1_high, zp2_vec);
int16x4_t input0_low_low = vget_low_s16(input0_low);
int16x4_t input0_low_high = vget_high_s16(input0_low);
int16x4_t input0_high_low = vget_low_s16(input0_high);
int16x4_t input0_high_high = vget_high_s16(input0_high);
int16x4_t input1_low_low = vget_low_s16(input1_low);
int16x4_t input1_low_high = vget_high_s16(input1_low);
int16x4_t input1_high_low = vget_low_s16(input1_high);
int16x4_t input1_high_high = vget_high_s16(input1_high);
int16x4_t sum_low_low = ClacSumHalfWordMul(input0_low_low, input1_low_low, left_shift_out_vec, right_shift_out_vec,
output_multiplier_vec);
int16x4_t sum_low_high = ClacSumHalfWordMul(input0_low_high, input1_low_high, left_shift_out_vec,
right_shift_out_vec, output_multiplier_vec);
int16x4_t sum_high_low = ClacSumHalfWordMul(input0_high_low, input1_high_low, left_shift_out_vec,
right_shift_out_vec, output_multiplier_vec);
int16x4_t sum_high_high = ClacSumHalfWordMul(input0_high_high, input1_high_high, left_shift_out_vec,
right_shift_out_vec, output_multiplier_vec);
int16x8_t res_s16 = vaddq_s16(vcombine_s16(sum_low_low, sum_low_high), out_zp_vec);
int16x8_t res_s162 = vaddq_s16(vcombine_s16(sum_high_low, sum_high_high), out_zp_vec);
int8x8_t res_u8_n0 = vqmovn_s16(res_s16);
int8x8_t res_u8_n1 = vqmovn_s16(res_s162);
int8x16_t res_s8 = vcombine_s8(res_u8_n0, res_u8_n1);
res_s8 = vminq_s8(res_s8, out_max_vec);
res_s8 = vmaxq_s8(res_s8, out_min_vec);
vst1q_s8(output_data, res_s8);
output_data += 16;
}
for (; (*index) <= real_dst_count - 8; (*index) += 8) {
int16x8_t input0_val = LoadAndAddOffset(input0_data, *index, quant_arg->in_quant_args_[0].zp_);
int16x8_t input1_val = LoadAndAddOffset(input1_data, *index, quant_arg->in_quant_args_[1].zp_);
int16x4_t input0_low = vget_low_s16(input0_val);
int16x4_t input0_high = vget_high_s16(input0_val);
int16x4_t input1_low = vget_low_s16(input1_val);
int16x4_t input1_high = vget_high_s16(input1_val);
int16x4_t sum_low =
ClacSumHalfWordMul(input0_low, input1_low, left_shift_out_vec, right_shift_out_vec, output_multiplier_vec);
int16x4_t sum_high =
ClacSumHalfWordMul(input0_high, input1_high, left_shift_out_vec, right_shift_out_vec, output_multiplier_vec);
int16x8_t res_s16 = vaddq_s16(vcombine_s16(sum_low, sum_high), out_zp_vec);
int8x8_t res_u8_n0 = vqmovn_s16(res_s16);
res_u8_n0 = vmin_s8(res_u8_n0, out_max_vec_s8);
res_u8_n0 = vmax_s8(res_u8_n0, out_min_vec_s8);
vst1_s8(output_data, res_u8_n0);
output_data += 8;
}
}
#endif
void FastMul(const int8_t *input0_data, const int8_t *input1_data, int8_t *output_data, int depth,
int64_t real_dst_count, bool input1_broad, const MulQuantArg *quant_arg) {
// input0 need broadcast
int32_t zp1 = quant_arg->in_quant_args_[0].zp_;
int32_t zp2 = quant_arg->in_quant_args_[1].zp_;
if (input1_broad) {
zp1 = quant_arg->in_quant_args_[1].zp_;
zp2 = quant_arg->in_quant_args_[0].zp_;
}
#ifdef ENABLE_NENO
int32x4_t output_multiplier_vec = vdupq_n_s32(quant_arg->output_multiplier_);
int32x4_t left_shift_out_vec = vdupq_n_s32(1 << (size_t)quant_arg->shift_left_);
int32x4_t right_shift_out_vec = vdupq_n_s32(-quant_arg->shift_right_);
int16x8_t out_zp_vec = vdupq_n_s16(quant_arg->out_quant_arg_.zp_);
int8x16_t out_min_vec = vdupq_n_s8(quant_arg->output_activation_min_);
int8x16_t out_max_vec = vdupq_n_s8(quant_arg->output_activation_max_);
int8x8_t out_min_vec_s8 = vdup_n_s8(quant_arg->output_activation_min_);
int8x8_t out_max_vec_s8 = vdup_n_s8(quant_arg->output_activation_max_);
int16x8_t zp1_vec = vdupq_n_s16(zp1);
int16x8_t zp2_vec = vdupq_n_s16(zp2);
#endif
for (int index = 0; index < real_dst_count; ++index) {
int j = 0;
#ifdef ENABLE_NENO
for (; j <= depth - 16; j += 16) {
int8x16_t input0_vec = vld1q_s8(input0_data + j);
int8x16_t input1_vec = vld1q_s8(input1_data);
int16x8_t input0_low = vmovl_s8(vget_low_s8(input0_vec));
int16x8_t input0_high = vmovl_s8(vget_high_s8(input0_vec));
int16x8_t input1_low = vmovl_s8(vget_low_s8(input1_vec));
int16x8_t input1_high = vmovl_s8(vget_high_s8(input1_vec));
input0_low = vaddq_s16(input0_low, zp1_vec);
input0_high = vaddq_s16(input0_high, zp1_vec);
input1_low = vaddq_s16(input1_low, zp2_vec);
input1_high = vaddq_s16(input1_high, zp2_vec);
int16x4_t input0_low_low = vget_low_s16(input0_low);
int16x4_t input0_low_high = vget_high_s16(input0_low);
int16x4_t input0_high_low = vget_low_s16(input0_high);
int16x4_t input0_high_high = vget_high_s16(input0_high);
int16x4_t input1_low_low = vget_low_s16(input1_low);
int16x4_t input1_low_high = vget_high_s16(input1_low);
int16x4_t input1_high_low = vget_low_s16(input1_high);
int16x4_t input1_high_high = vget_high_s16(input1_high);
int16x4_t sum_low_low = ClacSumHalfWordMul(input0_low_low, input1_low_low, left_shift_out_vec,
right_shift_out_vec, output_multiplier_vec);
int16x4_t sum_low_high = ClacSumHalfWordMul(input0_low_high, input1_low_high, left_shift_out_vec,
right_shift_out_vec, output_multiplier_vec);
int16x4_t sum_high_low = ClacSumHalfWordMul(input0_high_low, input1_high_low, left_shift_out_vec,
right_shift_out_vec, output_multiplier_vec);
int16x4_t sum_high_high = ClacSumHalfWordMul(input0_high_high, input1_high_high, left_shift_out_vec,
right_shift_out_vec, output_multiplier_vec);
int16x8_t res_s16 = vaddq_s16(vcombine_s16(sum_low_low, sum_low_high), out_zp_vec);
int16x8_t res_s162 = vaddq_s16(vcombine_s16(sum_high_low, sum_high_high), out_zp_vec);
int8x8_t res_u8_n0 = vqmovn_s16(res_s16);
int8x8_t res_u8_n1 = vqmovn_s16(res_s162);
int8x16_t res_s8 = vcombine_s8(res_u8_n0, res_u8_n1);
res_s8 = vminq_s8(res_s8, out_max_vec);
res_s8 = vmaxq_s8(res_s8, out_min_vec);
vst1q_s8(output_data, res_s8);
input1_data += 16;
output_data += 16;
}
for (; j <= depth - 8; j += 8) {
int8x8_t input0_vec = vld1_s8(input0_data + j);
int8x8_t input1_vec = vld1_s8(input1_data);
int16x8_t input0_val = vmovl_s8(input0_vec);
int16x8_t input1_val = vmovl_s8(input1_vec);
input0_val = vaddq_s16(input0_val, zp1_vec);
input1_val = vaddq_s16(input1_val, zp2_vec);
int16x4_t input0_low = vget_low_s16(input0_val);
int16x4_t input0_high = vget_high_s16(input0_val);
int16x4_t input1_low = vget_low_s16(input1_val);
int16x4_t input1_high = vget_high_s16(input1_val);
int16x4_t sum_low =
ClacSumHalfWordMul(input0_low, input1_low, left_shift_out_vec, right_shift_out_vec, output_multiplier_vec);
int16x4_t sum_high =
ClacSumHalfWordMul(input0_high, input1_high, left_shift_out_vec, right_shift_out_vec, output_multiplier_vec);
int16x8_t res_s16 = vaddq_s16(vcombine_s16(sum_low, sum_high), out_zp_vec);
int8x8_t res_u8_n0 = vqmovn_s16(res_s16);
res_u8_n0 = vmin_s8(res_u8_n0, out_max_vec_s8);
res_u8_n0 = vmax_s8(res_u8_n0, out_min_vec_s8);
vst1_s8(output_data, res_u8_n0);
input1_data += 8;
output_data += 8;
}
#endif
for (; j < depth; ++j) {
const int32_t input0_val = zp1 + input0_data[j];
const int32_t input1_val = zp2 + input1_data[0];
int32_t mul_result = RoundingDivideByPOT(
SaturatingRoundingDoublingHighMul(input0_val * input1_val * (1 << (size_t)quant_arg->shift_left_),
quant_arg->output_multiplier_),
quant_arg->shift_right_);
mul_result += quant_arg->out_quant_arg_.zp_;
mul_result = mul_result < quant_arg->output_activation_max_ ? mul_result : quant_arg->output_activation_max_;
mul_result = mul_result > quant_arg->output_activation_min_ ? mul_result : quant_arg->output_activation_min_;
output_data[0] = (int8_t)mul_result;
input1_data++;
output_data++;
}
}
return;
}
void Mul(const int8_t *input0_data, const int8_t *input1_data, int8_t *output_data, int64_t real_dst_count,
const MulQuantArg *quant_arg) {
int index = 0;
#ifdef ENABLE_NEON
MulInt8NEON(input0_data, input1_data, output_data, real_dst_count, quant_arg, &index);
#endif
for (; index < real_dst_count; ++index) {
const int32_t input0_val = quant_arg->in_quant_args_[0].zp_ + input0_data[index];
const int32_t input1_val = quant_arg->in_quant_args_[1].zp_ + input1_data[index];
int32_t mul_result = RoundingDivideByPOT(
SaturatingRoundingDoublingHighMul(input0_val * input1_val * (1 << (size_t)quant_arg->shift_left_),
quant_arg->output_multiplier_),
quant_arg->shift_right_);
mul_result += quant_arg->out_quant_arg_.zp_;
mul_result = mul_result < quant_arg->output_activation_max_ ? mul_result : quant_arg->output_activation_max_;
mul_result = mul_result > quant_arg->output_activation_min_ ? mul_result : quant_arg->output_activation_min_;
output_data[index] = (int8_t)mul_result;
}
return;
}
|
ef67016ae9082152bdd97b8eea178fde8159e329
|
3d8d140fb105733597b00494943e8be30877e9b4
|
/libs/basekit/source/PointerHash_struct.h
|
8a1ebdff073eb0367ac8fa65a1dc18806eb3b606
|
[
"BSD-3-Clause"
] |
permissive
|
IoLanguage/io
|
149681630b24259dbc097a1cc2695aaf2070054f
|
a339041f32276ee9d695c69a6fbdffa70ad73ad7
|
refs/heads/master
| 2023-08-13T17:34:21.606215
| 2023-07-11T01:38:29
| 2023-07-11T01:38:29
| 966
| 923
| 95
|
NOASSERTION
| 2023-07-10T22:44:50
| 2008-02-22T08:41:30
|
C
|
UTF-8
|
C
| false
| false
| 414
|
h
|
PointerHash_struct.h
|
// PointerHash.h
// CuckooHashTable
// Created by Steve Dekorte on 2009 04 28.
#ifndef POINTERHASH_STRUCT_DEFINED
#define POINTERHASH_STRUCT_DEFINED 1
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
void *k;
void *v;
} PointerHashRecord;
typedef struct {
unsigned char *records;
size_t size;
size_t keyCount;
intptr_t mask;
} PointerHash;
#ifdef __cplusplus
}
#endif
#endif
|
4e683d3453dd88912a042f720934805727e8de97
|
7eaf54a78c9e2117247cb2ab6d3a0c20719ba700
|
/SOFTWARE/A64-TERES/linux-a64/fs/namespace.c
|
a4d188a32c24a34d374742426f226e113b3a2968
|
[
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later"
] |
permissive
|
OLIMEX/DIY-LAPTOP
|
ae82f4ee79c641d9aee444db9a75f3f6709afa92
|
a3fafd1309135650bab27f5eafc0c32bc3ca74ee
|
refs/heads/rel3
| 2023-08-04T01:54:19.483792
| 2023-04-03T07:18:12
| 2023-04-03T07:18:12
| 80,094,055
| 507
| 92
|
Apache-2.0
| 2023-04-03T07:05:59
| 2017-01-26T07:25:50
|
C
|
UTF-8
|
C
| false
| false
| 73,914
|
c
|
namespace.c
|
/*
* linux/fs/namespace.c
*
* (C) Copyright Al Viro 2000, 2001
* Released under GPL v2.
*
* Based on code from fs/super.c, copyright Linus Torvalds and others.
* Heavily rewritten.
*/
#include <linux/syscalls.h>
#include <linux/export.h>
#include <linux/capability.h>
#include <linux/mnt_namespace.h>
#include <linux/user_namespace.h>
#include <linux/namei.h>
#include <linux/security.h>
#include <linux/idr.h>
#include <linux/acct.h> /* acct_auto_close_mnt */
#include <linux/ramfs.h> /* init_rootfs */
#include <linux/fs_struct.h> /* get_fs_root et.al. */
#include <linux/fsnotify.h> /* fsnotify_vfsmount_delete */
#include <linux/uaccess.h>
#include <linux/proc_ns.h>
#include <linux/magic.h>
#include "pnode.h"
#include "internal.h"
#define HASH_SHIFT ilog2(PAGE_SIZE / sizeof(struct list_head))
#define HASH_SIZE (1UL << HASH_SHIFT)
static int event;
static DEFINE_IDA(mnt_id_ida);
static DEFINE_IDA(mnt_group_ida);
static DEFINE_SPINLOCK(mnt_id_lock);
static int mnt_id_start = 0;
static int mnt_group_start = 1;
static struct list_head *mount_hashtable __read_mostly;
static struct list_head *mountpoint_hashtable __read_mostly;
static struct kmem_cache *mnt_cache __read_mostly;
static struct rw_semaphore namespace_sem;
/* /sys/fs */
struct kobject *fs_kobj;
EXPORT_SYMBOL_GPL(fs_kobj);
/*
* vfsmount lock may be taken for read to prevent changes to the
* vfsmount hash, ie. during mountpoint lookups or walking back
* up the tree.
*
* It should be taken for write in all cases where the vfsmount
* tree or hash is modified or when a vfsmount structure is modified.
*/
DEFINE_BRLOCK(vfsmount_lock);
EXPORT_SYMBOL(vfsmount_lock);
static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry)
{
unsigned long tmp = ((unsigned long)mnt / L1_CACHE_BYTES);
tmp += ((unsigned long)dentry / L1_CACHE_BYTES);
tmp = tmp + (tmp >> HASH_SHIFT);
return tmp & (HASH_SIZE - 1);
}
#define MNT_WRITER_UNDERFLOW_LIMIT -(1<<16)
/*
* allocation is serialized by namespace_sem, but we need the spinlock to
* serialize with freeing.
*/
static int mnt_alloc_id(struct mount *mnt)
{
int res;
retry:
ida_pre_get(&mnt_id_ida, GFP_KERNEL);
spin_lock(&mnt_id_lock);
res = ida_get_new_above(&mnt_id_ida, mnt_id_start, &mnt->mnt_id);
if (!res)
mnt_id_start = mnt->mnt_id + 1;
spin_unlock(&mnt_id_lock);
if (res == -EAGAIN)
goto retry;
return res;
}
static void mnt_free_id(struct mount *mnt)
{
int id = mnt->mnt_id;
spin_lock(&mnt_id_lock);
ida_remove(&mnt_id_ida, id);
if (mnt_id_start > id)
mnt_id_start = id;
spin_unlock(&mnt_id_lock);
}
/*
* Allocate a new peer group ID
*
* mnt_group_ida is protected by namespace_sem
*/
static int mnt_alloc_group_id(struct mount *mnt)
{
int res;
if (!ida_pre_get(&mnt_group_ida, GFP_KERNEL))
return -ENOMEM;
res = ida_get_new_above(&mnt_group_ida,
mnt_group_start,
&mnt->mnt_group_id);
if (!res)
mnt_group_start = mnt->mnt_group_id + 1;
return res;
}
/*
* Release a peer group ID
*/
void mnt_release_group_id(struct mount *mnt)
{
int id = mnt->mnt_group_id;
ida_remove(&mnt_group_ida, id);
if (mnt_group_start > id)
mnt_group_start = id;
mnt->mnt_group_id = 0;
}
/*
* vfsmount lock must be held for read
*/
static inline void mnt_add_count(struct mount *mnt, int n)
{
#ifdef CONFIG_SMP
this_cpu_add(mnt->mnt_pcp->mnt_count, n);
#else
preempt_disable();
mnt->mnt_count += n;
preempt_enable();
#endif
}
/*
* vfsmount lock must be held for write
*/
unsigned int mnt_get_count(struct mount *mnt)
{
#ifdef CONFIG_SMP
unsigned int count = 0;
int cpu;
for_each_possible_cpu(cpu) {
count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count;
}
return count;
#else
return mnt->mnt_count;
#endif
}
static struct mount *alloc_vfsmnt(const char *name)
{
struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL);
if (mnt) {
int err;
err = mnt_alloc_id(mnt);
if (err)
goto out_free_cache;
if (name) {
mnt->mnt_devname = kstrdup(name, GFP_KERNEL);
if (!mnt->mnt_devname)
goto out_free_id;
}
#ifdef CONFIG_SMP
mnt->mnt_pcp = alloc_percpu(struct mnt_pcp);
if (!mnt->mnt_pcp)
goto out_free_devname;
this_cpu_add(mnt->mnt_pcp->mnt_count, 1);
#else
mnt->mnt_count = 1;
mnt->mnt_writers = 0;
#endif
INIT_LIST_HEAD(&mnt->mnt_hash);
INIT_LIST_HEAD(&mnt->mnt_child);
INIT_LIST_HEAD(&mnt->mnt_mounts);
INIT_LIST_HEAD(&mnt->mnt_list);
INIT_LIST_HEAD(&mnt->mnt_expire);
INIT_LIST_HEAD(&mnt->mnt_share);
INIT_LIST_HEAD(&mnt->mnt_slave_list);
INIT_LIST_HEAD(&mnt->mnt_slave);
#ifdef CONFIG_FSNOTIFY
INIT_HLIST_HEAD(&mnt->mnt_fsnotify_marks);
#endif
}
return mnt;
#ifdef CONFIG_SMP
out_free_devname:
kfree(mnt->mnt_devname);
#endif
out_free_id:
mnt_free_id(mnt);
out_free_cache:
kmem_cache_free(mnt_cache, mnt);
return NULL;
}
/*
* Most r/o checks on a fs are for operations that take
* discrete amounts of time, like a write() or unlink().
* We must keep track of when those operations start
* (for permission checks) and when they end, so that
* we can determine when writes are able to occur to
* a filesystem.
*/
/*
* __mnt_is_readonly: check whether a mount is read-only
* @mnt: the mount to check for its write status
*
* This shouldn't be used directly ouside of the VFS.
* It does not guarantee that the filesystem will stay
* r/w, just that it is right *now*. This can not and
* should not be used in place of IS_RDONLY(inode).
* mnt_want/drop_write() will _keep_ the filesystem
* r/w.
*/
int __mnt_is_readonly(struct vfsmount *mnt)
{
if (mnt->mnt_flags & MNT_READONLY)
return 1;
if (mnt->mnt_sb->s_flags & MS_RDONLY)
return 1;
return 0;
}
EXPORT_SYMBOL_GPL(__mnt_is_readonly);
static inline void mnt_inc_writers(struct mount *mnt)
{
#ifdef CONFIG_SMP
this_cpu_inc(mnt->mnt_pcp->mnt_writers);
#else
mnt->mnt_writers++;
#endif
}
static inline void mnt_dec_writers(struct mount *mnt)
{
#ifdef CONFIG_SMP
this_cpu_dec(mnt->mnt_pcp->mnt_writers);
#else
mnt->mnt_writers--;
#endif
}
static unsigned int mnt_get_writers(struct mount *mnt)
{
#ifdef CONFIG_SMP
unsigned int count = 0;
int cpu;
for_each_possible_cpu(cpu) {
count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_writers;
}
return count;
#else
return mnt->mnt_writers;
#endif
}
static int mnt_is_readonly(struct vfsmount *mnt)
{
if (mnt->mnt_sb->s_readonly_remount)
return 1;
/* Order wrt setting s_flags/s_readonly_remount in do_remount() */
smp_rmb();
return __mnt_is_readonly(mnt);
}
/*
* Most r/o & frozen checks on a fs are for operations that take discrete
* amounts of time, like a write() or unlink(). We must keep track of when
* those operations start (for permission checks) and when they end, so that we
* can determine when writes are able to occur to a filesystem.
*/
/**
* __mnt_want_write - get write access to a mount without freeze protection
* @m: the mount on which to take a write
*
* This tells the low-level filesystem that a write is about to be performed to
* it, and makes sure that writes are allowed (mnt it read-write) before
* returning success. This operation does not protect against filesystem being
* frozen. When the write operation is finished, __mnt_drop_write() must be
* called. This is effectively a refcount.
*/
int __mnt_want_write(struct vfsmount *m)
{
struct mount *mnt = real_mount(m);
int ret = 0;
preempt_disable();
mnt_inc_writers(mnt);
/*
* The store to mnt_inc_writers must be visible before we pass
* MNT_WRITE_HOLD loop below, so that the slowpath can see our
* incremented count after it has set MNT_WRITE_HOLD.
*/
smp_mb();
while (ACCESS_ONCE(mnt->mnt.mnt_flags) & MNT_WRITE_HOLD)
cpu_relax();
/*
* After the slowpath clears MNT_WRITE_HOLD, mnt_is_readonly will
* be set to match its requirements. So we must not load that until
* MNT_WRITE_HOLD is cleared.
*/
smp_rmb();
if (mnt_is_readonly(m)) {
mnt_dec_writers(mnt);
ret = -EROFS;
}
preempt_enable();
return ret;
}
/**
* mnt_want_write - get write access to a mount
* @m: the mount on which to take a write
*
* This tells the low-level filesystem that a write is about to be performed to
* it, and makes sure that writes are allowed (mount is read-write, filesystem
* is not frozen) before returning success. When the write operation is
* finished, mnt_drop_write() must be called. This is effectively a refcount.
*/
int mnt_want_write(struct vfsmount *m)
{
int ret;
sb_start_write(m->mnt_sb);
ret = __mnt_want_write(m);
if (ret)
sb_end_write(m->mnt_sb);
return ret;
}
EXPORT_SYMBOL_GPL(mnt_want_write);
/**
* mnt_clone_write - get write access to a mount
* @mnt: the mount on which to take a write
*
* This is effectively like mnt_want_write, except
* it must only be used to take an extra write reference
* on a mountpoint that we already know has a write reference
* on it. This allows some optimisation.
*
* After finished, mnt_drop_write must be called as usual to
* drop the reference.
*/
int mnt_clone_write(struct vfsmount *mnt)
{
/* superblock may be r/o */
if (__mnt_is_readonly(mnt))
return -EROFS;
preempt_disable();
mnt_inc_writers(real_mount(mnt));
preempt_enable();
return 0;
}
EXPORT_SYMBOL_GPL(mnt_clone_write);
/**
* __mnt_want_write_file - get write access to a file's mount
* @file: the file who's mount on which to take a write
*
* This is like __mnt_want_write, but it takes a file and can
* do some optimisations if the file is open for write already
*/
int __mnt_want_write_file(struct file *file)
{
struct inode *inode = file_inode(file);
if (!(file->f_mode & FMODE_WRITE) || special_file(inode->i_mode))
return __mnt_want_write(file->f_path.mnt);
else
return mnt_clone_write(file->f_path.mnt);
}
/**
* mnt_want_write_file - get write access to a file's mount
* @file: the file who's mount on which to take a write
*
* This is like mnt_want_write, but it takes a file and can
* do some optimisations if the file is open for write already
*/
int mnt_want_write_file(struct file *file)
{
int ret;
sb_start_write(file->f_path.mnt->mnt_sb);
ret = __mnt_want_write_file(file);
if (ret)
sb_end_write(file->f_path.mnt->mnt_sb);
return ret;
}
EXPORT_SYMBOL_GPL(mnt_want_write_file);
/**
* __mnt_drop_write - give up write access to a mount
* @mnt: the mount on which to give up write access
*
* Tells the low-level filesystem that we are done
* performing writes to it. Must be matched with
* __mnt_want_write() call above.
*/
void __mnt_drop_write(struct vfsmount *mnt)
{
preempt_disable();
mnt_dec_writers(real_mount(mnt));
preempt_enable();
}
EXPORT_SYMBOL_GPL(__mnt_drop_write);
/**
* mnt_drop_write - give up write access to a mount
* @mnt: the mount on which to give up write access
*
* Tells the low-level filesystem that we are done performing writes to it and
* also allows filesystem to be frozen again. Must be matched with
* mnt_want_write() call above.
*/
void mnt_drop_write(struct vfsmount *mnt)
{
__mnt_drop_write(mnt);
sb_end_write(mnt->mnt_sb);
}
EXPORT_SYMBOL_GPL(mnt_drop_write);
void __mnt_drop_write_file(struct file *file)
{
__mnt_drop_write(file->f_path.mnt);
}
void mnt_drop_write_file(struct file *file)
{
mnt_drop_write(file->f_path.mnt);
}
EXPORT_SYMBOL(mnt_drop_write_file);
static int mnt_make_readonly(struct mount *mnt)
{
int ret = 0;
br_write_lock(&vfsmount_lock);
mnt->mnt.mnt_flags |= MNT_WRITE_HOLD;
/*
* After storing MNT_WRITE_HOLD, we'll read the counters. This store
* should be visible before we do.
*/
smp_mb();
/*
* With writers on hold, if this value is zero, then there are
* definitely no active writers (although held writers may subsequently
* increment the count, they'll have to wait, and decrement it after
* seeing MNT_READONLY).
*
* It is OK to have counter incremented on one CPU and decremented on
* another: the sum will add up correctly. The danger would be when we
* sum up each counter, if we read a counter before it is incremented,
* but then read another CPU's count which it has been subsequently
* decremented from -- we would see more decrements than we should.
* MNT_WRITE_HOLD protects against this scenario, because
* mnt_want_write first increments count, then smp_mb, then spins on
* MNT_WRITE_HOLD, so it can't be decremented by another CPU while
* we're counting up here.
*/
if (mnt_get_writers(mnt) > 0)
ret = -EBUSY;
else
mnt->mnt.mnt_flags |= MNT_READONLY;
/*
* MNT_READONLY must become visible before ~MNT_WRITE_HOLD, so writers
* that become unheld will see MNT_READONLY.
*/
smp_wmb();
mnt->mnt.mnt_flags &= ~MNT_WRITE_HOLD;
br_write_unlock(&vfsmount_lock);
return ret;
}
static void __mnt_unmake_readonly(struct mount *mnt)
{
br_write_lock(&vfsmount_lock);
mnt->mnt.mnt_flags &= ~MNT_READONLY;
br_write_unlock(&vfsmount_lock);
}
int sb_prepare_remount_readonly(struct super_block *sb)
{
struct mount *mnt;
int err = 0;
/* Racy optimization. Recheck the counter under MNT_WRITE_HOLD */
if (atomic_long_read(&sb->s_remove_count))
return -EBUSY;
br_write_lock(&vfsmount_lock);
list_for_each_entry(mnt, &sb->s_mounts, mnt_instance) {
if (!(mnt->mnt.mnt_flags & MNT_READONLY)) {
mnt->mnt.mnt_flags |= MNT_WRITE_HOLD;
smp_mb();
if (mnt_get_writers(mnt) > 0) {
err = -EBUSY;
break;
}
}
}
if (!err && atomic_long_read(&sb->s_remove_count))
err = -EBUSY;
if (!err) {
sb->s_readonly_remount = 1;
smp_wmb();
}
list_for_each_entry(mnt, &sb->s_mounts, mnt_instance) {
if (mnt->mnt.mnt_flags & MNT_WRITE_HOLD)
mnt->mnt.mnt_flags &= ~MNT_WRITE_HOLD;
}
br_write_unlock(&vfsmount_lock);
return err;
}
static void free_vfsmnt(struct mount *mnt)
{
kfree(mnt->mnt_devname);
mnt_free_id(mnt);
#ifdef CONFIG_SMP
free_percpu(mnt->mnt_pcp);
#endif
kmem_cache_free(mnt_cache, mnt);
}
/*
* find the first or last mount at @dentry on vfsmount @mnt depending on
* @dir. If @dir is set return the first mount else return the last mount.
* vfsmount_lock must be held for read or write.
*/
struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry,
int dir)
{
struct list_head *head = mount_hashtable + hash(mnt, dentry);
struct list_head *tmp = head;
struct mount *p, *found = NULL;
for (;;) {
tmp = dir ? tmp->next : tmp->prev;
p = NULL;
if (tmp == head)
break;
p = list_entry(tmp, struct mount, mnt_hash);
if (&p->mnt_parent->mnt == mnt && p->mnt_mountpoint == dentry) {
found = p;
break;
}
}
return found;
}
/*
* lookup_mnt - Return the first child mount mounted at path
*
* "First" means first mounted chronologically. If you create the
* following mounts:
*
* mount /dev/sda1 /mnt
* mount /dev/sda2 /mnt
* mount /dev/sda3 /mnt
*
* Then lookup_mnt() on the base /mnt dentry in the root mount will
* return successively the root dentry and vfsmount of /dev/sda1, then
* /dev/sda2, then /dev/sda3, then NULL.
*
* lookup_mnt takes a reference to the found vfsmount.
*/
struct vfsmount *lookup_mnt(struct path *path)
{
struct mount *child_mnt;
br_read_lock(&vfsmount_lock);
child_mnt = __lookup_mnt(path->mnt, path->dentry, 1);
if (child_mnt) {
mnt_add_count(child_mnt, 1);
br_read_unlock(&vfsmount_lock);
return &child_mnt->mnt;
} else {
br_read_unlock(&vfsmount_lock);
return NULL;
}
}
static struct mountpoint *new_mountpoint(struct dentry *dentry)
{
struct list_head *chain = mountpoint_hashtable + hash(NULL, dentry);
struct mountpoint *mp;
list_for_each_entry(mp, chain, m_hash) {
if (mp->m_dentry == dentry) {
/* might be worth a WARN_ON() */
if (d_unlinked(dentry))
return ERR_PTR(-ENOENT);
mp->m_count++;
return mp;
}
}
mp = kmalloc(sizeof(struct mountpoint), GFP_KERNEL);
if (!mp)
return ERR_PTR(-ENOMEM);
spin_lock(&dentry->d_lock);
if (d_unlinked(dentry)) {
spin_unlock(&dentry->d_lock);
kfree(mp);
return ERR_PTR(-ENOENT);
}
dentry->d_flags |= DCACHE_MOUNTED;
spin_unlock(&dentry->d_lock);
mp->m_dentry = dentry;
mp->m_count = 1;
list_add(&mp->m_hash, chain);
return mp;
}
static void put_mountpoint(struct mountpoint *mp)
{
if (!--mp->m_count) {
struct dentry *dentry = mp->m_dentry;
spin_lock(&dentry->d_lock);
dentry->d_flags &= ~DCACHE_MOUNTED;
spin_unlock(&dentry->d_lock);
list_del(&mp->m_hash);
kfree(mp);
}
}
static inline int check_mnt(struct mount *mnt)
{
return mnt->mnt_ns == current->nsproxy->mnt_ns;
}
/*
* vfsmount lock must be held for write
*/
static void touch_mnt_namespace(struct mnt_namespace *ns)
{
if (ns) {
ns->event = ++event;
wake_up_interruptible(&ns->poll);
}
}
/*
* vfsmount lock must be held for write
*/
static void __touch_mnt_namespace(struct mnt_namespace *ns)
{
if (ns && ns->event != event) {
ns->event = event;
wake_up_interruptible(&ns->poll);
}
}
/*
* vfsmount lock must be held for write
*/
static void detach_mnt(struct mount *mnt, struct path *old_path)
{
old_path->dentry = mnt->mnt_mountpoint;
old_path->mnt = &mnt->mnt_parent->mnt;
mnt->mnt_parent = mnt;
mnt->mnt_mountpoint = mnt->mnt.mnt_root;
list_del_init(&mnt->mnt_child);
list_del_init(&mnt->mnt_hash);
put_mountpoint(mnt->mnt_mp);
mnt->mnt_mp = NULL;
}
/*
* vfsmount lock must be held for write
*/
void mnt_set_mountpoint(struct mount *mnt,
struct mountpoint *mp,
struct mount *child_mnt)
{
mp->m_count++;
mnt_add_count(mnt, 1); /* essentially, that's mntget */
child_mnt->mnt_mountpoint = dget(mp->m_dentry);
child_mnt->mnt_parent = mnt;
child_mnt->mnt_mp = mp;
}
/*
* vfsmount lock must be held for write
*/
static void attach_mnt(struct mount *mnt,
struct mount *parent,
struct mountpoint *mp)
{
mnt_set_mountpoint(parent, mp, mnt);
list_add_tail(&mnt->mnt_hash, mount_hashtable +
hash(&parent->mnt, mp->m_dentry));
list_add_tail(&mnt->mnt_child, &parent->mnt_mounts);
}
/*
* vfsmount lock must be held for write
*/
static void commit_tree(struct mount *mnt)
{
struct mount *parent = mnt->mnt_parent;
struct mount *m;
LIST_HEAD(head);
struct mnt_namespace *n = parent->mnt_ns;
BUG_ON(parent == mnt);
list_add_tail(&head, &mnt->mnt_list);
list_for_each_entry(m, &head, mnt_list)
m->mnt_ns = n;
list_splice(&head, n->list.prev);
list_add_tail(&mnt->mnt_hash, mount_hashtable +
hash(&parent->mnt, mnt->mnt_mountpoint));
list_add_tail(&mnt->mnt_child, &parent->mnt_mounts);
touch_mnt_namespace(n);
}
static struct mount *next_mnt(struct mount *p, struct mount *root)
{
struct list_head *next = p->mnt_mounts.next;
if (next == &p->mnt_mounts) {
while (1) {
if (p == root)
return NULL;
next = p->mnt_child.next;
if (next != &p->mnt_parent->mnt_mounts)
break;
p = p->mnt_parent;
}
}
return list_entry(next, struct mount, mnt_child);
}
static struct mount *skip_mnt_tree(struct mount *p)
{
struct list_head *prev = p->mnt_mounts.prev;
while (prev != &p->mnt_mounts) {
p = list_entry(prev, struct mount, mnt_child);
prev = p->mnt_mounts.prev;
}
return p;
}
struct vfsmount *
vfs_kern_mount(struct file_system_type *type, int flags, const char *name, void *data)
{
struct mount *mnt;
struct dentry *root;
if (!type)
return ERR_PTR(-ENODEV);
mnt = alloc_vfsmnt(name);
if (!mnt)
return ERR_PTR(-ENOMEM);
if (flags & MS_KERNMOUNT)
mnt->mnt.mnt_flags = MNT_INTERNAL;
root = mount_fs(type, flags, name, data);
if (IS_ERR(root)) {
free_vfsmnt(mnt);
return ERR_CAST(root);
}
mnt->mnt.mnt_root = root;
mnt->mnt.mnt_sb = root->d_sb;
mnt->mnt_mountpoint = mnt->mnt.mnt_root;
mnt->mnt_parent = mnt;
br_write_lock(&vfsmount_lock);
list_add_tail(&mnt->mnt_instance, &root->d_sb->s_mounts);
br_write_unlock(&vfsmount_lock);
return &mnt->mnt;
}
EXPORT_SYMBOL_GPL(vfs_kern_mount);
static struct mount *clone_mnt(struct mount *old, struct dentry *root,
int flag)
{
struct super_block *sb = old->mnt.mnt_sb;
struct mount *mnt;
int err;
mnt = alloc_vfsmnt(old->mnt_devname);
if (!mnt)
return ERR_PTR(-ENOMEM);
if (flag & (CL_SLAVE | CL_PRIVATE | CL_SHARED_TO_SLAVE))
mnt->mnt_group_id = 0; /* not a peer of original */
else
mnt->mnt_group_id = old->mnt_group_id;
if ((flag & CL_MAKE_SHARED) && !mnt->mnt_group_id) {
err = mnt_alloc_group_id(mnt);
if (err)
goto out_free;
}
mnt->mnt.mnt_flags = old->mnt.mnt_flags & ~MNT_WRITE_HOLD;
/* Don't allow unprivileged users to change mount flags */
if (flag & CL_UNPRIVILEGED) {
mnt->mnt.mnt_flags |= MNT_LOCK_ATIME;
if (mnt->mnt.mnt_flags & MNT_READONLY)
mnt->mnt.mnt_flags |= MNT_LOCK_READONLY;
if (mnt->mnt.mnt_flags & MNT_NODEV)
mnt->mnt.mnt_flags |= MNT_LOCK_NODEV;
if (mnt->mnt.mnt_flags & MNT_NOSUID)
mnt->mnt.mnt_flags |= MNT_LOCK_NOSUID;
if (mnt->mnt.mnt_flags & MNT_NOEXEC)
mnt->mnt.mnt_flags |= MNT_LOCK_NOEXEC;
}
atomic_inc(&sb->s_active);
mnt->mnt.mnt_sb = sb;
mnt->mnt.mnt_root = dget(root);
mnt->mnt_mountpoint = mnt->mnt.mnt_root;
mnt->mnt_parent = mnt;
br_write_lock(&vfsmount_lock);
list_add_tail(&mnt->mnt_instance, &sb->s_mounts);
br_write_unlock(&vfsmount_lock);
if ((flag & CL_SLAVE) ||
((flag & CL_SHARED_TO_SLAVE) && IS_MNT_SHARED(old))) {
list_add(&mnt->mnt_slave, &old->mnt_slave_list);
mnt->mnt_master = old;
CLEAR_MNT_SHARED(mnt);
} else if (!(flag & CL_PRIVATE)) {
if ((flag & CL_MAKE_SHARED) || IS_MNT_SHARED(old))
list_add(&mnt->mnt_share, &old->mnt_share);
if (IS_MNT_SLAVE(old))
list_add(&mnt->mnt_slave, &old->mnt_slave);
mnt->mnt_master = old->mnt_master;
}
if (flag & CL_MAKE_SHARED)
set_mnt_shared(mnt);
/* stick the duplicate mount on the same expiry list
* as the original if that was on one */
if (flag & CL_EXPIRE) {
if (!list_empty(&old->mnt_expire))
list_add(&mnt->mnt_expire, &old->mnt_expire);
}
return mnt;
out_free:
free_vfsmnt(mnt);
return ERR_PTR(err);
}
static inline void mntfree(struct mount *mnt)
{
struct vfsmount *m = &mnt->mnt;
struct super_block *sb = m->mnt_sb;
/*
* This probably indicates that somebody messed
* up a mnt_want/drop_write() pair. If this
* happens, the filesystem was probably unable
* to make r/w->r/o transitions.
*/
/*
* The locking used to deal with mnt_count decrement provides barriers,
* so mnt_get_writers() below is safe.
*/
WARN_ON(mnt_get_writers(mnt));
fsnotify_vfsmount_delete(m);
dput(m->mnt_root);
free_vfsmnt(mnt);
deactivate_super(sb);
}
static void mntput_no_expire(struct mount *mnt)
{
put_again:
#ifdef CONFIG_SMP
br_read_lock(&vfsmount_lock);
if (likely(mnt->mnt_ns)) {
/* shouldn't be the last one */
mnt_add_count(mnt, -1);
br_read_unlock(&vfsmount_lock);
return;
}
br_read_unlock(&vfsmount_lock);
br_write_lock(&vfsmount_lock);
mnt_add_count(mnt, -1);
if (mnt_get_count(mnt)) {
br_write_unlock(&vfsmount_lock);
return;
}
#else
mnt_add_count(mnt, -1);
if (likely(mnt_get_count(mnt)))
return;
br_write_lock(&vfsmount_lock);
#endif
if (unlikely(mnt->mnt_pinned)) {
mnt_add_count(mnt, mnt->mnt_pinned + 1);
mnt->mnt_pinned = 0;
br_write_unlock(&vfsmount_lock);
acct_auto_close_mnt(&mnt->mnt);
goto put_again;
}
list_del(&mnt->mnt_instance);
br_write_unlock(&vfsmount_lock);
mntfree(mnt);
}
void mntput(struct vfsmount *mnt)
{
if (mnt) {
struct mount *m = real_mount(mnt);
/* avoid cacheline pingpong, hope gcc doesn't get "smart" */
if (unlikely(m->mnt_expiry_mark))
m->mnt_expiry_mark = 0;
mntput_no_expire(m);
}
}
EXPORT_SYMBOL(mntput);
struct vfsmount *mntget(struct vfsmount *mnt)
{
if (mnt)
mnt_add_count(real_mount(mnt), 1);
return mnt;
}
EXPORT_SYMBOL(mntget);
void mnt_pin(struct vfsmount *mnt)
{
br_write_lock(&vfsmount_lock);
real_mount(mnt)->mnt_pinned++;
br_write_unlock(&vfsmount_lock);
}
EXPORT_SYMBOL(mnt_pin);
void mnt_unpin(struct vfsmount *m)
{
struct mount *mnt = real_mount(m);
br_write_lock(&vfsmount_lock);
if (mnt->mnt_pinned) {
mnt_add_count(mnt, 1);
mnt->mnt_pinned--;
}
br_write_unlock(&vfsmount_lock);
}
EXPORT_SYMBOL(mnt_unpin);
static inline void mangle(struct seq_file *m, const char *s)
{
seq_escape(m, s, " \t\n\\");
}
/*
* Simple .show_options callback for filesystems which don't want to
* implement more complex mount option showing.
*
* See also save_mount_options().
*/
int generic_show_options(struct seq_file *m, struct dentry *root)
{
const char *options;
rcu_read_lock();
options = rcu_dereference(root->d_sb->s_options);
if (options != NULL && options[0]) {
seq_putc(m, ',');
mangle(m, options);
}
rcu_read_unlock();
return 0;
}
EXPORT_SYMBOL(generic_show_options);
/*
* If filesystem uses generic_show_options(), this function should be
* called from the fill_super() callback.
*
* The .remount_fs callback usually needs to be handled in a special
* way, to make sure, that previous options are not overwritten if the
* remount fails.
*
* Also note, that if the filesystem's .remount_fs function doesn't
* reset all options to their default value, but changes only newly
* given options, then the displayed options will not reflect reality
* any more.
*/
void save_mount_options(struct super_block *sb, char *options)
{
BUG_ON(sb->s_options);
rcu_assign_pointer(sb->s_options, kstrdup(options, GFP_KERNEL));
}
EXPORT_SYMBOL(save_mount_options);
void replace_mount_options(struct super_block *sb, char *options)
{
char *old = sb->s_options;
rcu_assign_pointer(sb->s_options, options);
if (old) {
synchronize_rcu();
kfree(old);
}
}
EXPORT_SYMBOL(replace_mount_options);
#ifdef CONFIG_PROC_FS
/* iterator; we want it to have access to namespace_sem, thus here... */
static void *m_start(struct seq_file *m, loff_t *pos)
{
struct proc_mounts *p = proc_mounts(m);
down_read(&namespace_sem);
return seq_list_start(&p->ns->list, *pos);
}
static void *m_next(struct seq_file *m, void *v, loff_t *pos)
{
struct proc_mounts *p = proc_mounts(m);
return seq_list_next(v, &p->ns->list, pos);
}
static void m_stop(struct seq_file *m, void *v)
{
up_read(&namespace_sem);
}
static int m_show(struct seq_file *m, void *v)
{
struct proc_mounts *p = proc_mounts(m);
struct mount *r = list_entry(v, struct mount, mnt_list);
return p->show(m, &r->mnt);
}
const struct seq_operations mounts_op = {
.start = m_start,
.next = m_next,
.stop = m_stop,
.show = m_show,
};
#endif /* CONFIG_PROC_FS */
/**
* may_umount_tree - check if a mount tree is busy
* @mnt: root of mount tree
*
* This is called to check if a tree of mounts has any
* open files, pwds, chroots or sub mounts that are
* busy.
*/
int may_umount_tree(struct vfsmount *m)
{
struct mount *mnt = real_mount(m);
int actual_refs = 0;
int minimum_refs = 0;
struct mount *p;
BUG_ON(!m);
/* write lock needed for mnt_get_count */
br_write_lock(&vfsmount_lock);
for (p = mnt; p; p = next_mnt(p, mnt)) {
actual_refs += mnt_get_count(p);
minimum_refs += 2;
}
br_write_unlock(&vfsmount_lock);
if (actual_refs > minimum_refs)
return 0;
return 1;
}
EXPORT_SYMBOL(may_umount_tree);
/**
* may_umount - check if a mount point is busy
* @mnt: root of mount
*
* This is called to check if a mount point has any
* open files, pwds, chroots or sub mounts. If the
* mount has sub mounts this will return busy
* regardless of whether the sub mounts are busy.
*
* Doesn't take quota and stuff into account. IOW, in some cases it will
* give false negatives. The main reason why it's here is that we need
* a non-destructive way to look for easily umountable filesystems.
*/
int may_umount(struct vfsmount *mnt)
{
int ret = 1;
down_read(&namespace_sem);
br_write_lock(&vfsmount_lock);
if (propagate_mount_busy(real_mount(mnt), 2))
ret = 0;
br_write_unlock(&vfsmount_lock);
up_read(&namespace_sem);
return ret;
}
EXPORT_SYMBOL(may_umount);
static LIST_HEAD(unmounted); /* protected by namespace_sem */
static void namespace_unlock(void)
{
struct mount *mnt;
LIST_HEAD(head);
if (likely(list_empty(&unmounted))) {
up_write(&namespace_sem);
return;
}
list_splice_init(&unmounted, &head);
up_write(&namespace_sem);
while (!list_empty(&head)) {
mnt = list_first_entry(&head, struct mount, mnt_hash);
list_del_init(&mnt->mnt_hash);
if (mnt_has_parent(mnt)) {
struct dentry *dentry;
struct mount *m;
br_write_lock(&vfsmount_lock);
dentry = mnt->mnt_mountpoint;
m = mnt->mnt_parent;
mnt->mnt_mountpoint = mnt->mnt.mnt_root;
mnt->mnt_parent = mnt;
m->mnt_ghosts--;
br_write_unlock(&vfsmount_lock);
dput(dentry);
mntput(&m->mnt);
}
mntput(&mnt->mnt);
}
}
static inline void namespace_lock(void)
{
down_write(&namespace_sem);
}
/*
* vfsmount lock must be held for write
* namespace_sem must be held for write
*/
void umount_tree(struct mount *mnt, int propagate)
{
LIST_HEAD(tmp_list);
struct mount *p;
for (p = mnt; p; p = next_mnt(p, mnt))
list_move(&p->mnt_hash, &tmp_list);
if (propagate)
propagate_umount(&tmp_list);
list_for_each_entry(p, &tmp_list, mnt_hash) {
list_del_init(&p->mnt_expire);
list_del_init(&p->mnt_list);
__touch_mnt_namespace(p->mnt_ns);
p->mnt_ns = NULL;
list_del_init(&p->mnt_child);
if (mnt_has_parent(p)) {
p->mnt_parent->mnt_ghosts++;
put_mountpoint(p->mnt_mp);
p->mnt_mp = NULL;
}
change_mnt_propagation(p, MS_PRIVATE);
}
list_splice(&tmp_list, &unmounted);
}
static void shrink_submounts(struct mount *mnt);
static int do_umount(struct mount *mnt, int flags)
{
struct super_block *sb = mnt->mnt.mnt_sb;
int retval;
retval = security_sb_umount(&mnt->mnt, flags);
if (retval)
return retval;
/*
* Allow userspace to request a mountpoint be expired rather than
* unmounting unconditionally. Unmount only happens if:
* (1) the mark is already set (the mark is cleared by mntput())
* (2) the usage count == 1 [parent vfsmount] + 1 [sys_umount]
*/
if (flags & MNT_EXPIRE) {
if (&mnt->mnt == current->fs->root.mnt ||
flags & (MNT_FORCE | MNT_DETACH))
return -EINVAL;
/*
* probably don't strictly need the lock here if we examined
* all race cases, but it's a slowpath.
*/
br_write_lock(&vfsmount_lock);
if (mnt_get_count(mnt) != 2) {
br_write_unlock(&vfsmount_lock);
return -EBUSY;
}
br_write_unlock(&vfsmount_lock);
if (!xchg(&mnt->mnt_expiry_mark, 1))
return -EAGAIN;
}
/*
* If we may have to abort operations to get out of this
* mount, and they will themselves hold resources we must
* allow the fs to do things. In the Unix tradition of
* 'Gee thats tricky lets do it in userspace' the umount_begin
* might fail to complete on the first run through as other tasks
* must return, and the like. Thats for the mount program to worry
* about for the moment.
*/
if (flags & MNT_FORCE && sb->s_op->umount_begin) {
sb->s_op->umount_begin(sb);
}
/*
* No sense to grab the lock for this test, but test itself looks
* somewhat bogus. Suggestions for better replacement?
* Ho-hum... In principle, we might treat that as umount + switch
* to rootfs. GC would eventually take care of the old vfsmount.
* Actually it makes sense, especially if rootfs would contain a
* /reboot - static binary that would close all descriptors and
* call reboot(9). Then init(8) could umount root and exec /reboot.
*/
if (&mnt->mnt == current->fs->root.mnt && !(flags & MNT_DETACH)) {
/*
* Special case for "unmounting" root ...
* we just try to remount it readonly.
*/
if (!capable(CAP_SYS_ADMIN))
return -EPERM;
down_write(&sb->s_umount);
if (!(sb->s_flags & MS_RDONLY))
retval = do_remount_sb(sb, MS_RDONLY, NULL, 0);
up_write(&sb->s_umount);
return retval;
}
namespace_lock();
br_write_lock(&vfsmount_lock);
event++;
if (!(flags & MNT_DETACH))
shrink_submounts(mnt);
retval = -EBUSY;
if (flags & MNT_DETACH || !propagate_mount_busy(mnt, 2)) {
if (!list_empty(&mnt->mnt_list))
umount_tree(mnt, 1);
retval = 0;
}
br_write_unlock(&vfsmount_lock);
namespace_unlock();
return retval;
}
/*
* Is the caller allowed to modify his namespace?
*/
static inline bool may_mount(void)
{
return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN);
}
/*
* Now umount can handle mount points as well as block devices.
* This is important for filesystems which use unnamed block devices.
*
* We now support a flag for forced unmount like the other 'big iron'
* unixes. Our API is identical to OSF/1 to avoid making a mess of AMD
*/
SYSCALL_DEFINE2(umount, char __user *, name, int, flags)
{
struct path path;
struct mount *mnt;
int retval;
int lookup_flags = 0;
if (flags & ~(MNT_FORCE | MNT_DETACH | MNT_EXPIRE | UMOUNT_NOFOLLOW))
return -EINVAL;
if (!may_mount())
return -EPERM;
if (!(flags & UMOUNT_NOFOLLOW))
lookup_flags |= LOOKUP_FOLLOW;
retval = user_path_at(AT_FDCWD, name, lookup_flags, &path);
if (retval)
goto out;
mnt = real_mount(path.mnt);
retval = -EINVAL;
if (path.dentry != path.mnt->mnt_root)
goto dput_and_out;
if (!check_mnt(mnt))
goto dput_and_out;
retval = -EPERM;
if (flags & MNT_FORCE && !capable(CAP_SYS_ADMIN))
goto dput_and_out;
retval = do_umount(mnt, flags);
dput_and_out:
/* we mustn't call path_put() as that would clear mnt_expiry_mark */
dput(path.dentry);
mntput_no_expire(mnt);
out:
return retval;
}
#ifdef __ARCH_WANT_SYS_OLDUMOUNT
/*
* The 2.0 compatible umount. No flags.
*/
SYSCALL_DEFINE1(oldumount, char __user *, name)
{
return sys_umount(name, 0);
}
#endif
static bool mnt_ns_loop(struct path *path)
{
/* Could bind mounting the mount namespace inode cause a
* mount namespace loop?
*/
struct inode *inode = path->dentry->d_inode;
struct proc_ns *ei;
struct mnt_namespace *mnt_ns;
if (!proc_ns_inode(inode))
return false;
ei = get_proc_ns(inode);
if (ei->ns_ops != &mntns_operations)
return false;
mnt_ns = ei->ns;
return current->nsproxy->mnt_ns->seq >= mnt_ns->seq;
}
struct mount *copy_tree(struct mount *mnt, struct dentry *dentry,
int flag)
{
struct mount *res, *p, *q, *r, *parent;
if (!(flag & CL_COPY_ALL) && IS_MNT_UNBINDABLE(mnt))
return ERR_PTR(-EINVAL);
res = q = clone_mnt(mnt, dentry, flag);
if (IS_ERR(q))
return q;
q->mnt_mountpoint = mnt->mnt_mountpoint;
p = mnt;
list_for_each_entry(r, &mnt->mnt_mounts, mnt_child) {
struct mount *s;
if (!is_subdir(r->mnt_mountpoint, dentry))
continue;
for (s = r; s; s = next_mnt(s, r)) {
if (!(flag & CL_COPY_ALL) && IS_MNT_UNBINDABLE(s)) {
s = skip_mnt_tree(s);
continue;
}
while (p != s->mnt_parent) {
p = p->mnt_parent;
q = q->mnt_parent;
}
p = s;
parent = q;
q = clone_mnt(p, p->mnt.mnt_root, flag);
if (IS_ERR(q))
goto out;
br_write_lock(&vfsmount_lock);
list_add_tail(&q->mnt_list, &res->mnt_list);
attach_mnt(q, parent, p->mnt_mp);
br_write_unlock(&vfsmount_lock);
}
}
return res;
out:
if (res) {
br_write_lock(&vfsmount_lock);
umount_tree(res, 0);
br_write_unlock(&vfsmount_lock);
}
return q;
}
/* Caller should check returned pointer for errors */
struct vfsmount *collect_mounts(struct path *path)
{
struct mount *tree;
namespace_lock();
tree = copy_tree(real_mount(path->mnt), path->dentry,
CL_COPY_ALL | CL_PRIVATE);
namespace_unlock();
if (IS_ERR(tree))
return ERR_CAST(tree);
return &tree->mnt;
}
void drop_collected_mounts(struct vfsmount *mnt)
{
namespace_lock();
br_write_lock(&vfsmount_lock);
umount_tree(real_mount(mnt), 0);
br_write_unlock(&vfsmount_lock);
namespace_unlock();
}
/**
* clone_private_mount - create a private clone of a path
*
* This creates a new vfsmount, which will be the clone of @path. The new will
* not be attached anywhere in the namespace and will be private (i.e. changes
* to the originating mount won't be propagated into this).
*
* Release with mntput().
*/
struct vfsmount *clone_private_mount(struct path *path)
{
struct mount *old_mnt = real_mount(path->mnt);
struct mount *new_mnt;
if (IS_MNT_UNBINDABLE(old_mnt))
return ERR_PTR(-EINVAL);
down_read(&namespace_sem);
new_mnt = clone_mnt(old_mnt, path->dentry, CL_PRIVATE);
up_read(&namespace_sem);
if (IS_ERR(new_mnt))
return ERR_CAST(new_mnt);
return &new_mnt->mnt;
}
EXPORT_SYMBOL_GPL(clone_private_mount);
int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg,
struct vfsmount *root)
{
struct mount *mnt;
int res = f(root, arg);
if (res)
return res;
list_for_each_entry(mnt, &real_mount(root)->mnt_list, mnt_list) {
res = f(&mnt->mnt, arg);
if (res)
return res;
}
return 0;
}
EXPORT_SYMBOL(iterate_mounts);
static void cleanup_group_ids(struct mount *mnt, struct mount *end)
{
struct mount *p;
for (p = mnt; p != end; p = next_mnt(p, mnt)) {
if (p->mnt_group_id && !IS_MNT_SHARED(p))
mnt_release_group_id(p);
}
}
static int invent_group_ids(struct mount *mnt, bool recurse)
{
struct mount *p;
for (p = mnt; p; p = recurse ? next_mnt(p, mnt) : NULL) {
if (!p->mnt_group_id && !IS_MNT_SHARED(p)) {
int err = mnt_alloc_group_id(p);
if (err) {
cleanup_group_ids(mnt, p);
return err;
}
}
}
return 0;
}
/*
* @source_mnt : mount tree to be attached
* @nd : place the mount tree @source_mnt is attached
* @parent_nd : if non-null, detach the source_mnt from its parent and
* store the parent mount and mountpoint dentry.
* (done when source_mnt is moved)
*
* NOTE: in the table below explains the semantics when a source mount
* of a given type is attached to a destination mount of a given type.
* ---------------------------------------------------------------------------
* | BIND MOUNT OPERATION |
* |**************************************************************************
* | source-->| shared | private | slave | unbindable |
* | dest | | | | |
* | | | | | | |
* | v | | | | |
* |**************************************************************************
* | shared | shared (++) | shared (+) | shared(+++)| invalid |
* | | | | | |
* |non-shared| shared (+) | private | slave (*) | invalid |
* ***************************************************************************
* A bind operation clones the source mount and mounts the clone on the
* destination mount.
*
* (++) the cloned mount is propagated to all the mounts in the propagation
* tree of the destination mount and the cloned mount is added to
* the peer group of the source mount.
* (+) the cloned mount is created under the destination mount and is marked
* as shared. The cloned mount is added to the peer group of the source
* mount.
* (+++) the mount is propagated to all the mounts in the propagation tree
* of the destination mount and the cloned mount is made slave
* of the same master as that of the source mount. The cloned mount
* is marked as 'shared and slave'.
* (*) the cloned mount is made a slave of the same master as that of the
* source mount.
*
* ---------------------------------------------------------------------------
* | MOVE MOUNT OPERATION |
* |**************************************************************************
* | source-->| shared | private | slave | unbindable |
* | dest | | | | |
* | | | | | | |
* | v | | | | |
* |**************************************************************************
* | shared | shared (+) | shared (+) | shared(+++) | invalid |
* | | | | | |
* |non-shared| shared (+*) | private | slave (*) | unbindable |
* ***************************************************************************
*
* (+) the mount is moved to the destination. And is then propagated to
* all the mounts in the propagation tree of the destination mount.
* (+*) the mount is moved to the destination.
* (+++) the mount is moved to the destination and is then propagated to
* all the mounts belonging to the destination mount's propagation tree.
* the mount is marked as 'shared and slave'.
* (*) the mount continues to be a slave at the new location.
*
* if the source mount is a tree, the operations explained above is
* applied to each mount in the tree.
* Must be called without spinlocks held, since this function can sleep
* in allocations.
*/
static int attach_recursive_mnt(struct mount *source_mnt,
struct mount *dest_mnt,
struct mountpoint *dest_mp,
struct path *parent_path)
{
LIST_HEAD(tree_list);
struct mount *child, *p;
int err;
if (IS_MNT_SHARED(dest_mnt)) {
err = invent_group_ids(source_mnt, true);
if (err)
goto out;
}
err = propagate_mnt(dest_mnt, dest_mp, source_mnt, &tree_list);
if (err)
goto out_cleanup_ids;
br_write_lock(&vfsmount_lock);
if (IS_MNT_SHARED(dest_mnt)) {
for (p = source_mnt; p; p = next_mnt(p, source_mnt))
set_mnt_shared(p);
}
if (parent_path) {
detach_mnt(source_mnt, parent_path);
attach_mnt(source_mnt, dest_mnt, dest_mp);
touch_mnt_namespace(source_mnt->mnt_ns);
} else {
mnt_set_mountpoint(dest_mnt, dest_mp, source_mnt);
commit_tree(source_mnt);
}
list_for_each_entry_safe(child, p, &tree_list, mnt_hash) {
list_del_init(&child->mnt_hash);
commit_tree(child);
}
br_write_unlock(&vfsmount_lock);
return 0;
out_cleanup_ids:
if (IS_MNT_SHARED(dest_mnt))
cleanup_group_ids(source_mnt, NULL);
out:
return err;
}
static struct mountpoint *lock_mount(struct path *path)
{
struct vfsmount *mnt;
struct dentry *dentry = path->dentry;
retry:
mutex_lock(&dentry->d_inode->i_mutex);
if (unlikely(cant_mount(dentry))) {
mutex_unlock(&dentry->d_inode->i_mutex);
return ERR_PTR(-ENOENT);
}
namespace_lock();
mnt = lookup_mnt(path);
if (likely(!mnt)) {
struct mountpoint *mp = new_mountpoint(dentry);
if (IS_ERR(mp)) {
namespace_unlock();
mutex_unlock(&dentry->d_inode->i_mutex);
return mp;
}
return mp;
}
namespace_unlock();
mutex_unlock(&path->dentry->d_inode->i_mutex);
path_put(path);
path->mnt = mnt;
dentry = path->dentry = dget(mnt->mnt_root);
goto retry;
}
static void unlock_mount(struct mountpoint *where)
{
struct dentry *dentry = where->m_dentry;
put_mountpoint(where);
namespace_unlock();
mutex_unlock(&dentry->d_inode->i_mutex);
}
static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp)
{
if (mnt->mnt.mnt_sb->s_flags & MS_NOUSER)
return -EINVAL;
if (S_ISDIR(mp->m_dentry->d_inode->i_mode) !=
S_ISDIR(mnt->mnt.mnt_root->d_inode->i_mode))
return -ENOTDIR;
return attach_recursive_mnt(mnt, p, mp, NULL);
}
/*
* Sanity check the flags to change_mnt_propagation.
*/
static int flags_to_propagation_type(int flags)
{
int type = flags & ~(MS_REC | MS_SILENT);
/* Fail if any non-propagation flags are set */
if (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE))
return 0;
/* Only one propagation flag should be set */
if (!is_power_of_2(type))
return 0;
return type;
}
/*
* recursively change the type of the mountpoint.
*/
static int do_change_type(struct path *path, int flag)
{
struct mount *m;
struct mount *mnt = real_mount(path->mnt);
int recurse = flag & MS_REC;
int type;
int err = 0;
if (path->dentry != path->mnt->mnt_root)
return -EINVAL;
type = flags_to_propagation_type(flag);
if (!type)
return -EINVAL;
namespace_lock();
if (type == MS_SHARED) {
err = invent_group_ids(mnt, recurse);
if (err)
goto out_unlock;
}
br_write_lock(&vfsmount_lock);
for (m = mnt; m; m = (recurse ? next_mnt(m, mnt) : NULL))
change_mnt_propagation(m, type);
br_write_unlock(&vfsmount_lock);
out_unlock:
namespace_unlock();
return err;
}
/*
* do loopback mount.
*/
static int do_loopback(struct path *path, const char *old_name,
int recurse)
{
struct path old_path;
struct mount *mnt = NULL, *old, *parent;
struct mountpoint *mp;
int err;
if (!old_name || !*old_name)
return -EINVAL;
err = kern_path(old_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path);
if (err)
return err;
err = -EINVAL;
if (mnt_ns_loop(&old_path))
goto out;
mp = lock_mount(path);
err = PTR_ERR(mp);
if (IS_ERR(mp))
goto out;
old = real_mount(old_path.mnt);
parent = real_mount(path->mnt);
err = -EINVAL;
if (IS_MNT_UNBINDABLE(old))
goto out2;
if (!check_mnt(parent) || !check_mnt(old))
goto out2;
if (recurse)
mnt = copy_tree(old, old_path.dentry, 0);
else
mnt = clone_mnt(old, old_path.dentry, 0);
if (IS_ERR(mnt)) {
err = PTR_ERR(mnt);
goto out2;
}
err = graft_tree(mnt, parent, mp);
if (err) {
br_write_lock(&vfsmount_lock);
umount_tree(mnt, 0);
br_write_unlock(&vfsmount_lock);
}
out2:
unlock_mount(mp);
out:
path_put(&old_path);
return err;
}
static int change_mount_flags(struct vfsmount *mnt, int ms_flags)
{
int error = 0;
int readonly_request = 0;
if (ms_flags & MS_RDONLY)
readonly_request = 1;
if (readonly_request == __mnt_is_readonly(mnt))
return 0;
if (readonly_request)
error = mnt_make_readonly(real_mount(mnt));
else
__mnt_unmake_readonly(real_mount(mnt));
return error;
}
/*
* change filesystem flags. dir should be a physical root of filesystem.
* If you've mounted a non-root directory somewhere and want to do remount
* on it - tough luck.
*/
static int do_remount(struct path *path, int flags, int mnt_flags,
void *data)
{
int err;
struct super_block *sb = path->mnt->mnt_sb;
struct mount *mnt = real_mount(path->mnt);
if (!check_mnt(mnt))
return -EINVAL;
if (path->dentry != path->mnt->mnt_root)
return -EINVAL;
/* Don't allow changing of locked mnt flags.
*
* No locks need to be held here while testing the various
* MNT_LOCK flags because those flags can never be cleared
* once they are set.
*/
if ((mnt->mnt.mnt_flags & MNT_LOCK_READONLY) &&
!(mnt_flags & MNT_READONLY)) {
return -EPERM;
}
if ((mnt->mnt.mnt_flags & MNT_LOCK_NODEV) &&
!(mnt_flags & MNT_NODEV)) {
/* Was the nodev implicitly added in mount? */
if ((mnt->mnt_ns->user_ns != &init_user_ns) &&
!(sb->s_type->fs_flags & FS_USERNS_DEV_MOUNT)) {
mnt_flags |= MNT_NODEV;
} else {
return -EPERM;
}
}
if ((mnt->mnt.mnt_flags & MNT_LOCK_NOSUID) &&
!(mnt_flags & MNT_NOSUID)) {
return -EPERM;
}
if ((mnt->mnt.mnt_flags & MNT_LOCK_NOEXEC) &&
!(mnt_flags & MNT_NOEXEC)) {
return -EPERM;
}
if ((mnt->mnt.mnt_flags & MNT_LOCK_ATIME) &&
((mnt->mnt.mnt_flags & MNT_ATIME_MASK) != (mnt_flags & MNT_ATIME_MASK))) {
return -EPERM;
}
err = security_sb_remount(sb, data);
if (err)
return err;
down_write(&sb->s_umount);
if (flags & MS_BIND)
err = change_mount_flags(path->mnt, flags);
else if (!capable(CAP_SYS_ADMIN))
err = -EPERM;
else
err = do_remount_sb(sb, flags, data, 0);
if (!err) {
br_write_lock(&vfsmount_lock);
mnt_flags |= mnt->mnt.mnt_flags & ~MNT_USER_SETTABLE_MASK;
mnt->mnt.mnt_flags = mnt_flags;
br_write_unlock(&vfsmount_lock);
}
up_write(&sb->s_umount);
if (!err) {
br_write_lock(&vfsmount_lock);
touch_mnt_namespace(mnt->mnt_ns);
br_write_unlock(&vfsmount_lock);
}
return err;
}
static inline int tree_contains_unbindable(struct mount *mnt)
{
struct mount *p;
for (p = mnt; p; p = next_mnt(p, mnt)) {
if (IS_MNT_UNBINDABLE(p))
return 1;
}
return 0;
}
static int do_move_mount(struct path *path, const char *old_name)
{
struct path old_path, parent_path;
struct mount *p;
struct mount *old;
struct mountpoint *mp;
int err;
if (!old_name || !*old_name)
return -EINVAL;
err = kern_path(old_name, LOOKUP_FOLLOW, &old_path);
if (err)
return err;
mp = lock_mount(path);
err = PTR_ERR(mp);
if (IS_ERR(mp))
goto out;
old = real_mount(old_path.mnt);
p = real_mount(path->mnt);
err = -EINVAL;
if (!check_mnt(p) || !check_mnt(old))
goto out1;
err = -EINVAL;
if (old_path.dentry != old_path.mnt->mnt_root)
goto out1;
if (!mnt_has_parent(old))
goto out1;
if (S_ISDIR(path->dentry->d_inode->i_mode) !=
S_ISDIR(old_path.dentry->d_inode->i_mode))
goto out1;
/*
* Don't move a mount residing in a shared parent.
*/
if (IS_MNT_SHARED(old->mnt_parent))
goto out1;
/*
* Don't move a mount tree containing unbindable mounts to a destination
* mount which is shared.
*/
if (IS_MNT_SHARED(p) && tree_contains_unbindable(old))
goto out1;
err = -ELOOP;
for (; mnt_has_parent(p); p = p->mnt_parent)
if (p == old)
goto out1;
err = attach_recursive_mnt(old, real_mount(path->mnt), mp, &parent_path);
if (err)
goto out1;
/* if the mount is moved, it should no longer be expire
* automatically */
list_del_init(&old->mnt_expire);
out1:
unlock_mount(mp);
out:
if (!err)
path_put(&parent_path);
path_put(&old_path);
return err;
}
static struct vfsmount *fs_set_subtype(struct vfsmount *mnt, const char *fstype)
{
int err;
const char *subtype = strchr(fstype, '.');
if (subtype) {
subtype++;
err = -EINVAL;
if (!subtype[0])
goto err;
} else
subtype = "";
mnt->mnt_sb->s_subtype = kstrdup(subtype, GFP_KERNEL);
err = -ENOMEM;
if (!mnt->mnt_sb->s_subtype)
goto err;
return mnt;
err:
mntput(mnt);
return ERR_PTR(err);
}
/*
* add a mount into a namespace's mount tree
*/
static int do_add_mount(struct mount *newmnt, struct path *path, int mnt_flags)
{
struct mountpoint *mp;
struct mount *parent;
int err;
mnt_flags &= ~(MNT_SHARED | MNT_WRITE_HOLD | MNT_INTERNAL);
mp = lock_mount(path);
if (IS_ERR(mp))
return PTR_ERR(mp);
parent = real_mount(path->mnt);
err = -EINVAL;
if (unlikely(!check_mnt(parent))) {
/* that's acceptable only for automounts done in private ns */
if (!(mnt_flags & MNT_SHRINKABLE))
goto unlock;
/* ... and for those we'd better have mountpoint still alive */
if (!parent->mnt_ns)
goto unlock;
}
/* Refuse the same filesystem on the same mount point */
err = -EBUSY;
if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb &&
path->mnt->mnt_root == path->dentry)
goto unlock;
err = -EINVAL;
if (S_ISLNK(newmnt->mnt.mnt_root->d_inode->i_mode))
goto unlock;
newmnt->mnt.mnt_flags = mnt_flags;
err = graft_tree(newmnt, parent, mp);
unlock:
unlock_mount(mp);
return err;
}
/*
* create a new mount for userspace and request it to be added into the
* namespace's tree
*/
static int do_new_mount(struct path *path, const char *fstype, int flags,
int mnt_flags, const char *name, void *data)
{
struct file_system_type *type;
struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns;
struct vfsmount *mnt;
int err;
if (!fstype)
return -EINVAL;
type = get_fs_type(fstype);
if (!type)
return -ENODEV;
if (user_ns != &init_user_ns) {
if (!(type->fs_flags & FS_USERNS_MOUNT)) {
put_filesystem(type);
return -EPERM;
}
/* Only in special cases allow devices from mounts
* created outside the initial user namespace.
*/
if (!(type->fs_flags & FS_USERNS_DEV_MOUNT)) {
flags |= MS_NODEV;
mnt_flags |= MNT_NODEV | MNT_LOCK_NODEV;
}
}
mnt = vfs_kern_mount(type, flags, name, data);
if (!IS_ERR(mnt) && (type->fs_flags & FS_HAS_SUBTYPE) &&
!mnt->mnt_sb->s_subtype)
mnt = fs_set_subtype(mnt, fstype);
put_filesystem(type);
if (IS_ERR(mnt))
return PTR_ERR(mnt);
err = do_add_mount(real_mount(mnt), path, mnt_flags);
if (err)
mntput(mnt);
return err;
}
int finish_automount(struct vfsmount *m, struct path *path)
{
struct mount *mnt = real_mount(m);
int err;
/* The new mount record should have at least 2 refs to prevent it being
* expired before we get a chance to add it
*/
BUG_ON(mnt_get_count(mnt) < 2);
if (m->mnt_sb == path->mnt->mnt_sb &&
m->mnt_root == path->dentry) {
err = -ELOOP;
goto fail;
}
err = do_add_mount(mnt, path, path->mnt->mnt_flags | MNT_SHRINKABLE);
if (!err)
return 0;
fail:
/* remove m from any expiration list it may be on */
if (!list_empty(&mnt->mnt_expire)) {
namespace_lock();
br_write_lock(&vfsmount_lock);
list_del_init(&mnt->mnt_expire);
br_write_unlock(&vfsmount_lock);
namespace_unlock();
}
mntput(m);
mntput(m);
return err;
}
/**
* mnt_set_expiry - Put a mount on an expiration list
* @mnt: The mount to list.
* @expiry_list: The list to add the mount to.
*/
void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list)
{
namespace_lock();
br_write_lock(&vfsmount_lock);
list_add_tail(&real_mount(mnt)->mnt_expire, expiry_list);
br_write_unlock(&vfsmount_lock);
namespace_unlock();
}
EXPORT_SYMBOL(mnt_set_expiry);
/*
* process a list of expirable mountpoints with the intent of discarding any
* mountpoints that aren't in use and haven't been touched since last we came
* here
*/
void mark_mounts_for_expiry(struct list_head *mounts)
{
struct mount *mnt, *next;
LIST_HEAD(graveyard);
if (list_empty(mounts))
return;
namespace_lock();
br_write_lock(&vfsmount_lock);
/* extract from the expiration list every vfsmount that matches the
* following criteria:
* - only referenced by its parent vfsmount
* - still marked for expiry (marked on the last call here; marks are
* cleared by mntput())
*/
list_for_each_entry_safe(mnt, next, mounts, mnt_expire) {
if (!xchg(&mnt->mnt_expiry_mark, 1) ||
propagate_mount_busy(mnt, 1))
continue;
list_move(&mnt->mnt_expire, &graveyard);
}
while (!list_empty(&graveyard)) {
mnt = list_first_entry(&graveyard, struct mount, mnt_expire);
touch_mnt_namespace(mnt->mnt_ns);
umount_tree(mnt, 1);
}
br_write_unlock(&vfsmount_lock);
namespace_unlock();
}
EXPORT_SYMBOL_GPL(mark_mounts_for_expiry);
/*
* Ripoff of 'select_parent()'
*
* search the list of submounts for a given mountpoint, and move any
* shrinkable submounts to the 'graveyard' list.
*/
static int select_submounts(struct mount *parent, struct list_head *graveyard)
{
struct mount *this_parent = parent;
struct list_head *next;
int found = 0;
repeat:
next = this_parent->mnt_mounts.next;
resume:
while (next != &this_parent->mnt_mounts) {
struct list_head *tmp = next;
struct mount *mnt = list_entry(tmp, struct mount, mnt_child);
next = tmp->next;
if (!(mnt->mnt.mnt_flags & MNT_SHRINKABLE))
continue;
/*
* Descend a level if the d_mounts list is non-empty.
*/
if (!list_empty(&mnt->mnt_mounts)) {
this_parent = mnt;
goto repeat;
}
if (!propagate_mount_busy(mnt, 1)) {
list_move_tail(&mnt->mnt_expire, graveyard);
found++;
}
}
/*
* All done at this level ... ascend and resume the search
*/
if (this_parent != parent) {
next = this_parent->mnt_child.next;
this_parent = this_parent->mnt_parent;
goto resume;
}
return found;
}
/*
* process a list of expirable mountpoints with the intent of discarding any
* submounts of a specific parent mountpoint
*
* vfsmount_lock must be held for write
*/
static void shrink_submounts(struct mount *mnt)
{
LIST_HEAD(graveyard);
struct mount *m;
/* extract submounts of 'mountpoint' from the expiration list */
while (select_submounts(mnt, &graveyard)) {
while (!list_empty(&graveyard)) {
m = list_first_entry(&graveyard, struct mount,
mnt_expire);
touch_mnt_namespace(m->mnt_ns);
umount_tree(m, 1);
}
}
}
/*
* Some copy_from_user() implementations do not return the exact number of
* bytes remaining to copy on a fault. But copy_mount_options() requires that.
* Note that this function differs from copy_from_user() in that it will oops
* on bad values of `to', rather than returning a short copy.
*/
static long exact_copy_from_user(void *to, const void __user * from,
unsigned long n)
{
char *t = to;
const char __user *f = from;
char c;
if (!access_ok(VERIFY_READ, from, n))
return n;
while (n) {
if (__get_user(c, f)) {
memset(t, 0, n);
break;
}
*t++ = c;
f++;
n--;
}
return n;
}
int copy_mount_options(const void __user * data, unsigned long *where)
{
int i;
unsigned long page;
unsigned long size;
*where = 0;
if (!data)
return 0;
if (!(page = __get_free_page(GFP_KERNEL)))
return -ENOMEM;
/* We only care that *some* data at the address the user
* gave us is valid. Just in case, we'll zero
* the remainder of the page.
*/
/* copy_from_user cannot cross TASK_SIZE ! */
size = TASK_SIZE - (unsigned long)data;
if (size > PAGE_SIZE)
size = PAGE_SIZE;
i = size - exact_copy_from_user((void *)page, data, size);
if (!i) {
free_page(page);
return -EFAULT;
}
if (i != PAGE_SIZE)
memset((char *)page + i, 0, PAGE_SIZE - i);
*where = page;
return 0;
}
int copy_mount_string(const void __user *data, char **where)
{
char *tmp;
if (!data) {
*where = NULL;
return 0;
}
tmp = strndup_user(data, PAGE_SIZE);
if (IS_ERR(tmp))
return PTR_ERR(tmp);
*where = tmp;
return 0;
}
/*
* Flags is a 32-bit value that allows up to 31 non-fs dependent flags to
* be given to the mount() call (ie: read-only, no-dev, no-suid etc).
*
* data is a (void *) that can point to any structure up to
* PAGE_SIZE-1 bytes, which can contain arbitrary fs-dependent
* information (or be NULL).
*
* Pre-0.97 versions of mount() didn't have a flags word.
* When the flags word was introduced its top half was required
* to have the magic value 0xC0ED, and this remained so until 2.4.0-test9.
* Therefore, if this magic number is present, it carries no information
* and must be discarded.
*/
long do_mount(const char *dev_name, const char *dir_name,
const char *type_page, unsigned long flags, void *data_page)
{
struct path path;
int retval = 0;
int mnt_flags = 0;
/* Discard magic */
if ((flags & MS_MGC_MSK) == MS_MGC_VAL)
flags &= ~MS_MGC_MSK;
/* Basic sanity checks */
if (!dir_name || !*dir_name || !memchr(dir_name, 0, PAGE_SIZE))
return -EINVAL;
if (data_page)
((char *)data_page)[PAGE_SIZE - 1] = 0;
/* ... and get the mountpoint */
retval = kern_path(dir_name, LOOKUP_FOLLOW, &path);
if (retval)
return retval;
retval = security_sb_mount(dev_name, &path,
type_page, flags, data_page);
if (!retval && !may_mount())
retval = -EPERM;
if (retval)
goto dput_out;
/* Default to relatime unless overriden */
if (!(flags & MS_NOATIME))
mnt_flags |= MNT_RELATIME;
/* Separate the per-mountpoint flags */
if (flags & MS_NOSUID)
mnt_flags |= MNT_NOSUID;
if (flags & MS_NODEV)
mnt_flags |= MNT_NODEV;
if (flags & MS_NOEXEC)
mnt_flags |= MNT_NOEXEC;
if (flags & MS_NOATIME)
mnt_flags |= MNT_NOATIME;
if (flags & MS_NODIRATIME)
mnt_flags |= MNT_NODIRATIME;
if (flags & MS_STRICTATIME)
mnt_flags &= ~(MNT_RELATIME | MNT_NOATIME);
if (flags & MS_RDONLY)
mnt_flags |= MNT_READONLY;
/* The default atime for remount is preservation */
if ((flags & MS_REMOUNT) &&
((flags & (MS_NOATIME | MS_NODIRATIME | MS_RELATIME |
MS_STRICTATIME)) == 0)) {
mnt_flags &= ~MNT_ATIME_MASK;
mnt_flags |= path.mnt->mnt_flags & MNT_ATIME_MASK;
}
flags &= ~(MS_NOSUID | MS_NOEXEC | MS_NODEV | MS_ACTIVE | MS_BORN |
MS_NOATIME | MS_NODIRATIME | MS_RELATIME| MS_KERNMOUNT |
MS_STRICTATIME);
if (flags & MS_REMOUNT)
retval = do_remount(&path, flags & ~MS_REMOUNT, mnt_flags,
data_page);
else if (flags & MS_BIND)
retval = do_loopback(&path, dev_name, flags & MS_REC);
else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE))
retval = do_change_type(&path, flags);
else if (flags & MS_MOVE)
retval = do_move_mount(&path, dev_name);
else
retval = do_new_mount(&path, type_page, flags, mnt_flags,
dev_name, data_page);
dput_out:
path_put(&path);
return retval;
}
static void free_mnt_ns(struct mnt_namespace *ns)
{
proc_free_inum(ns->proc_inum);
put_user_ns(ns->user_ns);
kfree(ns);
}
/*
* Assign a sequence number so we can detect when we attempt to bind
* mount a reference to an older mount namespace into the current
* mount namespace, preventing reference counting loops. A 64bit
* number incrementing at 10Ghz will take 12,427 years to wrap which
* is effectively never, so we can ignore the possibility.
*/
static atomic64_t mnt_ns_seq = ATOMIC64_INIT(1);
static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *user_ns)
{
struct mnt_namespace *new_ns;
int ret;
new_ns = kmalloc(sizeof(struct mnt_namespace), GFP_KERNEL);
if (!new_ns)
return ERR_PTR(-ENOMEM);
ret = proc_alloc_inum(&new_ns->proc_inum);
if (ret) {
kfree(new_ns);
return ERR_PTR(ret);
}
new_ns->seq = atomic64_add_return(1, &mnt_ns_seq);
atomic_set(&new_ns->count, 1);
new_ns->root = NULL;
INIT_LIST_HEAD(&new_ns->list);
init_waitqueue_head(&new_ns->poll);
new_ns->event = 0;
new_ns->user_ns = get_user_ns(user_ns);
return new_ns;
}
/*
* Allocate a new namespace structure and populate it with contents
* copied from the namespace of the passed in task structure.
*/
static struct mnt_namespace *dup_mnt_ns(struct mnt_namespace *mnt_ns,
struct user_namespace *user_ns, struct fs_struct *fs)
{
struct mnt_namespace *new_ns;
struct vfsmount *rootmnt = NULL, *pwdmnt = NULL;
struct mount *p, *q;
struct mount *old = mnt_ns->root;
struct mount *new;
int copy_flags;
new_ns = alloc_mnt_ns(user_ns);
if (IS_ERR(new_ns))
return new_ns;
namespace_lock();
/* First pass: copy the tree topology */
copy_flags = CL_COPY_ALL | CL_EXPIRE;
if (user_ns != mnt_ns->user_ns)
copy_flags |= CL_SHARED_TO_SLAVE | CL_UNPRIVILEGED;
new = copy_tree(old, old->mnt.mnt_root, copy_flags);
if (IS_ERR(new)) {
namespace_unlock();
free_mnt_ns(new_ns);
return ERR_CAST(new);
}
new_ns->root = new;
br_write_lock(&vfsmount_lock);
list_add_tail(&new_ns->list, &new->mnt_list);
br_write_unlock(&vfsmount_lock);
/*
* Second pass: switch the tsk->fs->* elements and mark new vfsmounts
* as belonging to new namespace. We have already acquired a private
* fs_struct, so tsk->fs->lock is not needed.
*/
p = old;
q = new;
while (p) {
q->mnt_ns = new_ns;
if (fs) {
if (&p->mnt == fs->root.mnt) {
fs->root.mnt = mntget(&q->mnt);
rootmnt = &p->mnt;
}
if (&p->mnt == fs->pwd.mnt) {
fs->pwd.mnt = mntget(&q->mnt);
pwdmnt = &p->mnt;
}
}
p = next_mnt(p, old);
q = next_mnt(q, new);
}
namespace_unlock();
if (rootmnt)
mntput(rootmnt);
if (pwdmnt)
mntput(pwdmnt);
return new_ns;
}
struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns,
struct user_namespace *user_ns, struct fs_struct *new_fs)
{
struct mnt_namespace *new_ns;
BUG_ON(!ns);
get_mnt_ns(ns);
if (!(flags & CLONE_NEWNS))
return ns;
new_ns = dup_mnt_ns(ns, user_ns, new_fs);
put_mnt_ns(ns);
return new_ns;
}
/**
* create_mnt_ns - creates a private namespace and adds a root filesystem
* @mnt: pointer to the new root filesystem mountpoint
*/
static struct mnt_namespace *create_mnt_ns(struct vfsmount *m)
{
struct mnt_namespace *new_ns = alloc_mnt_ns(&init_user_ns);
if (!IS_ERR(new_ns)) {
struct mount *mnt = real_mount(m);
mnt->mnt_ns = new_ns;
new_ns->root = mnt;
list_add(&mnt->mnt_list, &new_ns->list);
} else {
mntput(m);
}
return new_ns;
}
struct dentry *mount_subtree(struct vfsmount *mnt, const char *name)
{
struct mnt_namespace *ns;
struct super_block *s;
struct path path;
int err;
ns = create_mnt_ns(mnt);
if (IS_ERR(ns))
return ERR_CAST(ns);
err = vfs_path_lookup(mnt->mnt_root, mnt,
name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &path);
put_mnt_ns(ns);
if (err)
return ERR_PTR(err);
/* trade a vfsmount reference for active sb one */
s = path.mnt->mnt_sb;
atomic_inc(&s->s_active);
mntput(path.mnt);
/* lock the sucker */
down_write(&s->s_umount);
/* ... and return the root of (sub)tree on it */
return path.dentry;
}
EXPORT_SYMBOL(mount_subtree);
SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name,
char __user *, type, unsigned long, flags, void __user *, data)
{
int ret;
char *kernel_type;
struct filename *kernel_dir;
char *kernel_dev;
unsigned long data_page;
ret = copy_mount_string(type, &kernel_type);
if (ret < 0)
goto out_type;
kernel_dir = getname(dir_name);
if (IS_ERR(kernel_dir)) {
ret = PTR_ERR(kernel_dir);
goto out_dir;
}
ret = copy_mount_string(dev_name, &kernel_dev);
if (ret < 0)
goto out_dev;
ret = copy_mount_options(data, &data_page);
if (ret < 0)
goto out_data;
ret = do_mount(kernel_dev, kernel_dir->name, kernel_type, flags,
(void *) data_page);
free_page(data_page);
out_data:
kfree(kernel_dev);
out_dev:
putname(kernel_dir);
out_dir:
kfree(kernel_type);
out_type:
return ret;
}
/*
* Return true if path is reachable from root
*
* namespace_sem or vfsmount_lock is held
*/
bool is_path_reachable(struct mount *mnt, struct dentry *dentry,
const struct path *root)
{
while (&mnt->mnt != root->mnt && mnt_has_parent(mnt)) {
dentry = mnt->mnt_mountpoint;
mnt = mnt->mnt_parent;
}
return &mnt->mnt == root->mnt && is_subdir(dentry, root->dentry);
}
int path_is_under(struct path *path1, struct path *path2)
{
int res;
br_read_lock(&vfsmount_lock);
res = is_path_reachable(real_mount(path1->mnt), path1->dentry, path2);
br_read_unlock(&vfsmount_lock);
return res;
}
EXPORT_SYMBOL(path_is_under);
/*
* pivot_root Semantics:
* Moves the root file system of the current process to the directory put_old,
* makes new_root as the new root file system of the current process, and sets
* root/cwd of all processes which had them on the current root to new_root.
*
* Restrictions:
* The new_root and put_old must be directories, and must not be on the
* same file system as the current process root. The put_old must be
* underneath new_root, i.e. adding a non-zero number of /.. to the string
* pointed to by put_old must yield the same directory as new_root. No other
* file system may be mounted on put_old. After all, new_root is a mountpoint.
*
* Also, the current root cannot be on the 'rootfs' (initial ramfs) filesystem.
* See Documentation/filesystems/ramfs-rootfs-initramfs.txt for alternatives
* in this situation.
*
* Notes:
* - we don't move root/cwd if they are not at the root (reason: if something
* cared enough to change them, it's probably wrong to force them elsewhere)
* - it's okay to pick a root that isn't the root of a file system, e.g.
* /nfs/my_root where /nfs is the mount point. It must be a mountpoint,
* though, so you may need to say mount --bind /nfs/my_root /nfs/my_root
* first.
*/
SYSCALL_DEFINE2(pivot_root, const char __user *, new_root,
const char __user *, put_old)
{
struct path new, old, parent_path, root_parent, root;
struct mount *new_mnt, *root_mnt, *old_mnt;
struct mountpoint *old_mp, *root_mp;
int error;
if (!may_mount())
return -EPERM;
error = user_path_dir(new_root, &new);
if (error)
goto out0;
error = user_path_dir(put_old, &old);
if (error)
goto out1;
error = security_sb_pivotroot(&old, &new);
if (error)
goto out2;
get_fs_root(current->fs, &root);
old_mp = lock_mount(&old);
error = PTR_ERR(old_mp);
if (IS_ERR(old_mp))
goto out3;
error = -EINVAL;
new_mnt = real_mount(new.mnt);
root_mnt = real_mount(root.mnt);
old_mnt = real_mount(old.mnt);
if (IS_MNT_SHARED(old_mnt) ||
IS_MNT_SHARED(new_mnt->mnt_parent) ||
IS_MNT_SHARED(root_mnt->mnt_parent))
goto out4;
if (!check_mnt(root_mnt) || !check_mnt(new_mnt))
goto out4;
error = -ENOENT;
if (d_unlinked(new.dentry))
goto out4;
error = -EBUSY;
if (new_mnt == root_mnt || old_mnt == root_mnt)
goto out4; /* loop, on the same file system */
error = -EINVAL;
if (root.mnt->mnt_root != root.dentry)
goto out4; /* not a mountpoint */
if (!mnt_has_parent(root_mnt))
goto out4; /* not attached */
root_mp = root_mnt->mnt_mp;
if (new.mnt->mnt_root != new.dentry)
goto out4; /* not a mountpoint */
if (!mnt_has_parent(new_mnt))
goto out4; /* not attached */
/* make sure we can reach put_old from new_root */
if (!is_path_reachable(old_mnt, old.dentry, &new))
goto out4;
/* make certain new is below the root */
if (!is_path_reachable(new_mnt, new.dentry, &root))
goto out4;
root_mp->m_count++; /* pin it so it won't go away */
br_write_lock(&vfsmount_lock);
detach_mnt(new_mnt, &parent_path);
detach_mnt(root_mnt, &root_parent);
/* mount old root on put_old */
attach_mnt(root_mnt, old_mnt, old_mp);
/* mount new_root on / */
attach_mnt(new_mnt, real_mount(root_parent.mnt), root_mp);
touch_mnt_namespace(current->nsproxy->mnt_ns);
br_write_unlock(&vfsmount_lock);
chroot_fs_refs(&root, &new);
put_mountpoint(root_mp);
error = 0;
out4:
unlock_mount(old_mp);
if (!error) {
path_put(&root_parent);
path_put(&parent_path);
}
out3:
path_put(&root);
out2:
path_put(&old);
out1:
path_put(&new);
out0:
return error;
}
static void __init init_mount_tree(void)
{
struct vfsmount *mnt;
struct mnt_namespace *ns;
struct path root;
struct file_system_type *type;
type = get_fs_type("rootfs");
if (!type)
panic("Can't find rootfs type");
mnt = vfs_kern_mount(type, 0, "rootfs", NULL);
put_filesystem(type);
if (IS_ERR(mnt))
panic("Can't create rootfs");
ns = create_mnt_ns(mnt);
if (IS_ERR(ns))
panic("Can't allocate initial namespace");
init_task.nsproxy->mnt_ns = ns;
get_mnt_ns(ns);
root.mnt = mnt;
root.dentry = mnt->mnt_root;
set_fs_pwd(current->fs, &root);
set_fs_root(current->fs, &root);
}
void __init mnt_init(void)
{
unsigned u;
int err;
init_rwsem(&namespace_sem);
mnt_cache = kmem_cache_create("mnt_cache", sizeof(struct mount),
0, SLAB_HWCACHE_ALIGN | SLAB_PANIC, NULL);
mount_hashtable = (struct list_head *)__get_free_page(GFP_ATOMIC);
mountpoint_hashtable = (struct list_head *)__get_free_page(GFP_ATOMIC);
if (!mount_hashtable || !mountpoint_hashtable)
panic("Failed to allocate mount hash table\n");
printk(KERN_INFO "Mount-cache hash table entries: %lu\n", HASH_SIZE);
for (u = 0; u < HASH_SIZE; u++)
INIT_LIST_HEAD(&mount_hashtable[u]);
for (u = 0; u < HASH_SIZE; u++)
INIT_LIST_HEAD(&mountpoint_hashtable[u]);
br_lock_init(&vfsmount_lock);
err = sysfs_init();
if (err)
printk(KERN_WARNING "%s: sysfs_init error: %d\n",
__func__, err);
fs_kobj = kobject_create_and_add("fs", NULL);
if (!fs_kobj)
printk(KERN_WARNING "%s: kobj create error\n", __func__);
init_rootfs();
init_mount_tree();
}
void put_mnt_ns(struct mnt_namespace *ns)
{
if (!atomic_dec_and_test(&ns->count))
return;
namespace_lock();
br_write_lock(&vfsmount_lock);
umount_tree(ns->root, 0);
br_write_unlock(&vfsmount_lock);
namespace_unlock();
free_mnt_ns(ns);
}
struct vfsmount *kern_mount_data(struct file_system_type *type, void *data)
{
struct vfsmount *mnt;
mnt = vfs_kern_mount(type, MS_KERNMOUNT, type->name, data);
if (!IS_ERR(mnt)) {
/*
* it is a longterm mount, don't release mnt until
* we unmount before file sys is unregistered
*/
real_mount(mnt)->mnt_ns = MNT_NS_INTERNAL;
}
return mnt;
}
EXPORT_SYMBOL_GPL(kern_mount_data);
void kern_unmount(struct vfsmount *mnt)
{
/* release long term mount so mount point can be released */
if (!IS_ERR_OR_NULL(mnt)) {
br_write_lock(&vfsmount_lock);
real_mount(mnt)->mnt_ns = NULL;
br_write_unlock(&vfsmount_lock);
mntput(mnt);
}
}
EXPORT_SYMBOL(kern_unmount);
bool our_mnt(struct vfsmount *mnt)
{
return check_mnt(real_mount(mnt));
}
bool current_chrooted(void)
{
/* Does the current process have a non-standard root */
struct path ns_root;
struct path fs_root;
bool chrooted;
/* Find the namespace root */
ns_root.mnt = ¤t->nsproxy->mnt_ns->root->mnt;
ns_root.dentry = ns_root.mnt->mnt_root;
path_get(&ns_root);
while (d_mountpoint(ns_root.dentry) && follow_down_one(&ns_root))
;
get_fs_root(current->fs, &fs_root);
chrooted = !path_equal(&fs_root, &ns_root);
path_put(&fs_root);
path_put(&ns_root);
return chrooted;
}
void update_mnt_policy(struct user_namespace *userns)
{
struct mnt_namespace *ns = current->nsproxy->mnt_ns;
struct mount *mnt;
down_read(&namespace_sem);
list_for_each_entry(mnt, &ns->list, mnt_list) {
switch (mnt->mnt.mnt_sb->s_magic) {
case SYSFS_MAGIC:
userns->may_mount_sysfs = true;
break;
case PROC_SUPER_MAGIC:
userns->may_mount_proc = true;
break;
}
if (userns->may_mount_sysfs && userns->may_mount_proc)
break;
}
up_read(&namespace_sem);
}
static void *mntns_get(struct task_struct *task)
{
struct mnt_namespace *ns = NULL;
struct nsproxy *nsproxy;
rcu_read_lock();
nsproxy = task_nsproxy(task);
if (nsproxy) {
ns = nsproxy->mnt_ns;
get_mnt_ns(ns);
}
rcu_read_unlock();
return ns;
}
static void mntns_put(void *ns)
{
put_mnt_ns(ns);
}
static int mntns_install(struct nsproxy *nsproxy, void *ns)
{
struct fs_struct *fs = current->fs;
struct mnt_namespace *mnt_ns = ns;
struct path root;
if (!ns_capable(mnt_ns->user_ns, CAP_SYS_ADMIN) ||
!nsown_capable(CAP_SYS_CHROOT) ||
!nsown_capable(CAP_SYS_ADMIN))
return -EPERM;
if (fs->users != 1)
return -EINVAL;
get_mnt_ns(mnt_ns);
put_mnt_ns(nsproxy->mnt_ns);
nsproxy->mnt_ns = mnt_ns;
/* Find the root */
root.mnt = &mnt_ns->root->mnt;
root.dentry = mnt_ns->root->mnt.mnt_root;
path_get(&root);
while(d_mountpoint(root.dentry) && follow_down_one(&root))
;
/* Update the pwd and root */
set_fs_pwd(fs, &root);
set_fs_root(fs, &root);
path_put(&root);
return 0;
}
static unsigned int mntns_inum(void *ns)
{
struct mnt_namespace *mnt_ns = ns;
return mnt_ns->proc_inum;
}
const struct proc_ns_operations mntns_operations = {
.name = "mnt",
.type = CLONE_NEWNS,
.get = mntns_get,
.put = mntns_put,
.install = mntns_install,
.inum = mntns_inum,
};
|
d08005a5007012d464d9b607fda1b8d86ee2059d
|
765f7b8c2caf2d50da8f431f1332207456ba33ee
|
/kernel/arch/aarch64/main.c
|
ea086c77a60802557c7620085aae713d1e12455a
|
[
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-commercial-license",
"AGPL-3.0-or-later",
"GPL-1.0-or-later",
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] |
permissive
|
klange/toaruos
|
a840f8d46993dc7a8850f82b6d04ba0c2af276a9
|
4a31a09ba27904b42ee35e8fb1a3c7f87669a2ef
|
refs/heads/master
| 2023-09-01T02:00:53.151334
| 2023-08-28T00:59:18
| 2023-08-28T00:59:18
| 1,259,258
| 5,557
| 613
|
NCSA
| 2023-02-04T08:24:11
| 2011-01-16T00:59:27
|
C
|
UTF-8
|
C
| false
| false
| 18,555
|
c
|
main.c
|
/**
* @file kernel/arch/aarch64/main.c
* @brief Kernel C entry point and initialization for QEMU aarch64 'virt' machine.
*
* @copyright
* This file is part of ToaruOS and is released under the terms
* of the NCSA / University of Illinois License - see LICENSE.md
* Copyright (C) 2021-2022 K. Lange
*/
#include <stdint.h>
#include <kernel/symboltable.h>
#include <kernel/process.h>
#include <kernel/string.h>
#include <kernel/printf.h>
#include <kernel/version.h>
#include <kernel/pci.h>
#include <kernel/args.h>
#include <kernel/ramdisk.h>
#include <kernel/vfs.h>
#include <kernel/mmu.h>
#include <kernel/generic.h>
#include <kernel/video.h>
#include <kernel/signal.h>
#include <kernel/misc.h>
#include <kernel/ptrace.h>
#include <kernel/ksym.h>
#include <errno.h>
#include <sys/ptrace.h>
#include <kernel/arch/aarch64/regs.h>
#include <kernel/arch/aarch64/dtb.h>
#include <kernel/arch/aarch64/gic.h>
#include <kernel/arch/aarch64/rpi.h>
extern void fbterm_initialize(void);
extern void mmu_init(size_t memsize, size_t phys, uintptr_t firstFreePage, uintptr_t endOfInitrd);
extern void aarch64_regs(struct regs *r);
extern void fwcfg_load_initrd(uintptr_t * ramdisk_phys_base, size_t * ramdisk_size);
extern void virtio_input(void);
extern void aarch64_smp_start(void);
extern char end[];
extern char * _arch_args;
/* ARM says the system clock tick rate is generally in
* the range of 1-50MHz. Since we throw around integer
* MHz ratings that's not great, so let's give it a few
* more digits for long-term accuracy? */
uint64_t sys_timer_freq = 0;
uint64_t arch_boot_time = 0; /**< No idea where we're going to source this from, need an RTC. */
uint64_t basis_time = 0;
#define SUBSECONDS_PER_SECOND 1000000
/**
* TODO can this be marked 'inline'?
*
* Read the system timer timestamp.
*/
uint64_t arch_perf_timer(void) {
uint64_t val;
asm volatile ("mrs %0,CNTPCT_EL0" : "=r"(val));
return val * 100;
}
/**
* @warning This function is incorrectly named.
* @brief Get the frequency of the perf timer.
*
* This is not the CPU frequency. We do present it as such for x86-64,
* and I think for our TSC timing that is generally true, but not here.
*/
size_t arch_cpu_mhz(void) {
return sys_timer_freq;
}
/**
* @brief Figure out the rate of the system timer and get boot time from RTC.
*
* We use the system timer as our performance tracker, as it operates at few
* megahertz at worst which is good enough for us. We do want slightly bigger
* numbers to make our integer divisions more accurate...
*/
static void arch_clock_initialize(uintptr_t rpi_tag) {
/* Get frequency of system timer */
uint64_t val;
asm volatile ("mrs %0,CNTFRQ_EL0" : "=r"(val));
sys_timer_freq = val / 10000;
/* Get boot time from RTC */
if (rpi_tag) {
arch_boot_time = 1644908027UL;
} else {
/* QEMU RTC */
void * clock_addr = mmu_map_from_physical(0x09010000);
arch_boot_time = *(volatile uint32_t*)clock_addr;
}
/* Get the "basis time" - the perf timestamp we got the wallclock time at */
basis_time = arch_perf_timer() / sys_timer_freq;
/* Report the reference clock speed */
dprintf("timer: Using %ld MHz as arch_perf_timer frequency.\n", arch_cpu_mhz());
}
static void update_ticks(uint64_t ticks, uint64_t *timer_ticks, uint64_t *timer_subticks) {
*timer_subticks = ticks - basis_time;
*timer_ticks = *timer_subticks / SUBSECONDS_PER_SECOND;
*timer_subticks = *timer_subticks % SUBSECONDS_PER_SECOND;
}
int gettimeofday(struct timeval * t, void *z) {
uint64_t tsc = arch_perf_timer();
uint64_t timer_ticks, timer_subticks;
update_ticks(tsc / sys_timer_freq, &timer_ticks, &timer_subticks);
t->tv_sec = arch_boot_time + timer_ticks;
t->tv_usec = timer_subticks;
return 0;
}
uint64_t now(void) {
struct timeval t;
gettimeofday(&t, NULL);
return t.tv_sec;
}
static spin_lock_t _time_set_lock;
int settimeofday(struct timeval * t, void *z) {
if (!t) return -EINVAL;
if (t->tv_sec < 0 || t->tv_usec < 0 || t->tv_usec > 1000000) return -EINVAL;
spin_lock(_time_set_lock);
uint64_t clock_time = now();
arch_boot_time += t->tv_sec - clock_time;
spin_unlock(_time_set_lock);
return 0;
}
void relative_time(unsigned long seconds, unsigned long subseconds, unsigned long * out_seconds, unsigned long * out_subseconds) {
if (!arch_boot_time) {
*out_seconds = 0;
*out_subseconds = 0;
return;
}
uint64_t tsc = arch_perf_timer();
uint64_t timer_ticks, timer_subticks;
update_ticks(tsc / sys_timer_freq, &timer_ticks, &timer_subticks);
if (subseconds + timer_subticks >= SUBSECONDS_PER_SECOND) {
*out_seconds = timer_ticks + seconds + (subseconds + timer_subticks) / SUBSECONDS_PER_SECOND;
*out_subseconds = (subseconds + timer_subticks) % SUBSECONDS_PER_SECOND;
} else {
*out_seconds = timer_ticks + seconds;
*out_subseconds = timer_subticks + subseconds;
}
}
#define TIMER_IRQ 27
static void set_tick(void) {
asm volatile (
"mrs x0, CNTFRQ_EL0\n"
"mov x1, 100\n" // without this, one second
"udiv x0, x0, x1\n"
"msr CNTV_TVAL_EL0, x0\n"
"mov x0, 1\n"
"msr CNTV_CTL_EL0, x0\n"
:::"x0","x1");
}
void timer_start(void) {
/* mask irqs */
asm volatile ("msr DAIFSet, #0b1111");
/* Enable the local timer */
set_tick();
/* This is global, we only need to do this once... */
gic_regs[0] = 1;
/* This is specific to this CPU */
gicc_regs[0] = 1;
gicc_regs[1] = 0x1ff;
/* Timer interrupts are private peripherals, so each CPU gets one */
gic_regs[64] = 0xFFFFffff; //(1 << TIMER_IRQ);
gic_regs[160] = 0xFFFFffff; //(1 << TIMER_IRQ);
/* These are shared? */
gic_regs[65] = 0xFFFFFFFF;
gic_regs[66] = 0xFFFFFFFF;
gic_regs[67] = 0xFFFFFFFF;
gic_regs[520] = 0x07070707;
gic_regs[521] = 0x07070707;
gic_regs[543] = 0x07070707;
}
static volatile uint64_t time_slice_basis = 0; /**< When the last clock update happened */
static spin_lock_t ticker_lock;
static void update_clock(void) {
uint64_t clock_ticks = arch_perf_timer() / sys_timer_freq;
uint64_t timer_ticks, timer_subticks;
update_ticks(clock_ticks, &timer_ticks, &timer_subticks);
spin_lock(ticker_lock);
if (time_slice_basis + SUBSECONDS_PER_SECOND/4 <= clock_ticks) {
update_process_usage(clock_ticks - time_slice_basis, sys_timer_freq);
time_slice_basis = clock_ticks;
}
spin_unlock(ticker_lock);
wakeup_sleepers(timer_ticks, timer_subticks);
}
static volatile unsigned int * _log_device_addr = 0;
static size_t _early_log_write(size_t size, uint8_t * buffer) {
for (unsigned int i = 0; i < size; ++i) {
*_log_device_addr = buffer[i];
}
return size;
}
static void early_log_initialize(void) {
/* QEMU UART */
_log_device_addr = mmu_map_from_physical(0x09000000);
printf_output = &_early_log_write;
}
void arch_set_core_base(uintptr_t base) {
/* It doesn't actually seem that this register has
* any real meaning, it's just available for us
* to load with our thread pointer. It's possible
* that the 'mrs' for it is just as fast as regular
* register reference? */
asm volatile ("msr TPIDR_EL1,%0" : : "r"(base));
/* this_cpu pointer, which we can tell gcc is reserved
* by our ABI and then bind as a 'register' variable. */
asm volatile ("mrs x18, TPIDR_EL1");
}
void arch_set_tls_base(uintptr_t tlsbase) {
asm volatile ("msr TPIDR_EL0,%0" : : "r"(tlsbase));
}
void arch_set_kernel_stack(uintptr_t stack) {
/* This is currently unused... it seems we're handling
* things correctly and getting the right stack already,
* but XXX should look into this later. */
this_core->sp_el1 = stack;
}
static void exception_handlers(void) {
extern char _exception_vector[];
asm volatile("msr VBAR_EL1, %0" :: "r"(&_exception_vector));
}
void aarch64_sync_enter(struct regs * r) {
uint64_t esr, far, elr, spsr;
asm volatile ("mrs %0, ESR_EL1" : "=r"(esr));
asm volatile ("mrs %0, FAR_EL1" : "=r"(far));
asm volatile ("mrs %0, ELR_EL1" : "=r"(elr));
asm volatile ("mrs %0, SPSR_EL1" : "=r"(spsr));
#if 0
dprintf("EL0-EL1 sync: %d (%s) ESR: %#zx FAR: %#zx ELR: %#zx SPSR: %#zx\n",
this_core ? (this_core->current_process ? this_core->current_process->id : -1) : -1,
this_core ? (this_core->current_process ? this_core->current_process->name : "?") : "?",
esr, far, elr, spsr);
#endif
if (esr == 0x2000000) {
arch_fatal_prepare();
dprintf("Unknown exception: ESR: %#zx FAR: %#zx ELR: %#zx SPSR: %#zx\n", esr, far, elr, spsr);
dprintf("Instruction at ELR: 0x%08x\n", *(uint32_t*)elr);
arch_dump_traceback();
aarch64_regs(r);
arch_fatal();
}
if (this_core->current_process) {
this_core->current_process->time_switch = arch_perf_timer();
}
if ((esr >> 26) == 0x32) {
/* Single step trap */
uint64_t val;
asm volatile("mrs %0, MDSCR_EL1" : "=r"(val));
val &= ~(1 << 0);
asm volatile("msr MDSCR_EL1, %0" :: "r"(val));
if (this_core->current_process->flags & PROC_FLAG_TRACE_SIGNALS) {
ptrace_signal(SIGTRAP, PTRACE_EVENT_SINGLESTEP);
}
goto _resume_user;
}
/* Magic signal return */
if (elr == 0x8DEADBEEF && far == 0x8DEADBEEF) {
return_from_signal_handler(r);
goto _resume_user;
}
/* System call */
if ((esr >> 26) == 0x15) {
//dprintf("pid %d syscall %zd elr=%#zx\n",
// this_core->current_process->id, r->x0, elr);
extern void syscall_handler(struct regs *);
syscall_handler(r);
goto _resume_user;
}
/* KVM is mad at us; usually means our code is broken or we neglected a cache. */
if (far == 0x1de7ec7edbadc0de) {
printf("kvm: blip (esr=%#zx, elr=%#zx; pid=%d [%s])\n", esr, elr, this_core->current_process->id, this_core->current_process->name);
goto _resume_user;
}
/* Unexpected fault, eg. page fault. */
dprintf("In process %d (%s)\n", this_core->current_process->id, this_core->current_process->name);
dprintf("ESR: %#zx FAR: %#zx ELR: %#zx SPSR: %#zx\n", esr, far, elr, spsr);
aarch64_regs(r);
uint64_t tpidr_el0;
asm volatile ("mrs %0, TPIDR_EL0" : "=r"(tpidr_el0));
dprintf(" TPIDR_EL0=%#zx\n", tpidr_el0);
send_signal(this_core->current_process->id, SIGSEGV, 1);
_resume_user:
process_check_signals(r);
}
static void spin(void) {
while (1) {
asm volatile ("wfi");
}
}
char _ret_from_preempt_source[1];
#define EOI(x) do { \
gicc_regs[4] = (x); \
} while (0)
void aarch64_interrupt_dispatch(int from_wfi) {
uint32_t iar = gicc_regs[3];
uint32_t irq = iar & 0x3FF;
/* Currently we aren't using the CPU value and I'm not sure we have any use for it, we know who we are? */
//uint32_t cpu = (iar >> 10) & 0x7;
switch (irq) {
case TIMER_IRQ:
update_clock();
set_tick();
EOI(iar);
if (from_wfi) {
switch_next();
} else {
switch_task(1);
}
return;
case 1:
EOI(iar);
if (from_wfi) switch_next();
break;
/* Arbitrarily chosen SGI for panic signal from another core */
case 2:
spin();
break;
case 1022:
case 1023:
return;
default:
if (irq >= 32 && irq < 1022) {
struct irq_callback * cb = irq_callbacks[irq-32];
if (cb) {
while (cb) {
int res = cb->callback(cb->owner, irq-32, cb->data);
if (res) break;
cb = cb->next;
}
/* Maybe warn? We have a lot of spurious irqs, though */
} else {
dprintf("irq: unhandled irq %d\n", irq);
}
EOI(iar);
} else {
dprintf("gic: Unhandled interrupt: %d\n", irq);
EOI(iar);
}
return;
}
}
void aarch64_irq_enter(struct regs * r) {
if (this_core->current_process) {
this_core->current_process->time_switch = arch_perf_timer();
}
aarch64_interrupt_dispatch(0);
process_check_signals(r);
}
/**
* @brief Kernel fault handler.
*/
void aarch64_fault_enter(struct regs * r) {
uint64_t esr, far, elr, spsr;
asm volatile ("mrs %0, ESR_EL1" : "=r"(esr));
asm volatile ("mrs %0, FAR_EL1" : "=r"(far));
asm volatile ("mrs %0, ELR_EL1" : "=r"(elr));
asm volatile ("mrs %0, SPSR_EL1" : "=r"(spsr));
arch_fatal_prepare();
dprintf("EL1-EL1 fault handler, core %d\n", this_core->cpu_id);
if (this_core && this_core->current_process) {
dprintf("In process %d (%s)\n", this_core->current_process->id, this_core->current_process->name);
}
dprintf("ESR: %#zx FAR: %#zx ELR: %#zx SPSR: %#zx\n", esr, far, elr, spsr);
aarch64_regs(r);
uint64_t tpidr_el0;
asm volatile ("mrs %0, TPIDR_EL0" : "=r"(tpidr_el0));
dprintf(" TPIDR_EL0=%#zx\n", tpidr_el0);
extern void aarch64_safe_dump_traceback(uintptr_t elr, struct regs * r);
aarch64_safe_dump_traceback(elr, r);
arch_fatal();
}
void aarch64_sp0_fault_enter(struct regs * r) {
arch_fatal_prepare();
dprintf("EL1-EL1 sp0 entry?\n");
arch_fatal();
}
/**
* @brief Enable FPU and NEON (SIMD)
*
* This enables the FPU in EL0. I'm not sure if we can enable it
* there but not in EL1... that would be nice to avoid accidentally
* introducing FPU code in the kernel that would corrupt our FPU state.
*/
void fpu_enable(void) {
uint64_t cpacr_el1;
asm volatile ("mrs %0, CPACR_EL1" : "=r"(cpacr_el1));
cpacr_el1 |= (3 << 20) | (3 << 16);
asm volatile ("msr CPACR_EL1, %0" :: "r"(cpacr_el1));
/* Enable access to physical timer */
uint64_t clken = 0;
asm volatile ("mrs %0,CNTKCTL_EL1" : "=r"(clken));
clken |= (1 << 0);
asm volatile ("msr CNTKCTL_EL1,%0" :: "r"(clken));
}
/**
* @brief Called in a loop by kernel idle tasks.
*/
void arch_pause(void) {
/* XXX This actually works even if we're masking interrupts, but
* the interrupt function won't be called, so we'll need to change
* it once we start getting actual hardware interrupts. */
asm volatile ("wfi");
aarch64_interrupt_dispatch(1);
}
/**
* @brief Force a cache clear across an address range.
*
* GCC has a __clear_cache() function that is supposed to do this
* but I haven't figured out what bits I need to set in what system
* register to allow that to be callable from EL0, so we actually expose
* it as a new sysfunc system call for now. We'll be generous and quietly
* skip regions that are not accessible to the calling process.
*
* This is critical for the dynamic linker to reset the icache for
* regions that have been loaded from new libraries.
*/
void arch_clear_icache(uintptr_t start, uintptr_t end) {
for (uintptr_t x = start; x < end; x += 64) {
if (!mmu_validate_user_pointer((void*)x, 64, MMU_PTR_WRITE)) continue;
asm volatile ("dc cvau, %0" :: "r"(x));
}
for (uintptr_t x = start; x < end; x += 64) {
if (!mmu_validate_user_pointer((void*)x, 64, MMU_PTR_WRITE)) continue;
asm volatile ("ic ivau, %0" :: "r"(x));
}
}
void aarch64_processor_data(void) {
asm volatile ("mrs %0, MIDR_EL1" : "=r"(this_core->midr));
}
static void symbols_install(void) {
ksym_install();
kernel_symbol_t * k = (kernel_symbol_t *)&kernel_symbols_start;
while ((uintptr_t)k < (uintptr_t)&kernel_symbols_end) {
ksym_bind(k->name, (void*)k->addr);
k = (kernel_symbol_t *)((uintptr_t)k + sizeof *k + strlen(k->name) + 1);
}
}
/**
* Main kernel C entrypoint for qemu's -machine virt
*
* By this point, a 'bootstub' has already set up some
* initial page tables so the linear physical mapping
* is where we would normally expect it to be, we're
* at -2GiB, and there's some other mappings so that
* a bit of RAM is 1:1.
*/
int kmain(uintptr_t dtb_base, uintptr_t phys_base, uintptr_t rpi_tag) {
extern uintptr_t aarch64_kernel_phys_base;
aarch64_kernel_phys_base = phys_base;
extern uintptr_t aarch64_dtb_phys;
aarch64_dtb_phys = dtb_base;
if (rpi_tag) {
extern uint8_t * lfb_vid_memory;
extern uint16_t lfb_resolution_x;
extern uint16_t lfb_resolution_y;
extern uint16_t lfb_resolution_b;
extern uint32_t lfb_resolution_s;
extern size_t lfb_memsize;
struct rpitag * tag = (struct rpitag*)rpi_tag;
lfb_vid_memory = mmu_map_from_physical(tag->phys_addr);
lfb_resolution_x = tag->x;
lfb_resolution_y = tag->y;
lfb_resolution_s = tag->s;
lfb_resolution_b = tag->b;
lfb_memsize = tag->size;
fbterm_initialize();
} else {
early_log_initialize();
}
dprintf("%s %d.%d.%d-%s %s %s\n",
__kernel_name,
__kernel_version_major,
__kernel_version_minor,
__kernel_version_lower,
__kernel_version_suffix,
__kernel_version_codename,
__kernel_arch);
dprintf("boot: dtb @ %#zx kernel @ %#zx\n",
dtb_base, phys_base);
/* Initialize TPIDR_EL1 */
arch_set_core_base((uintptr_t)&processor_local_data[0]);
/* Set up the system timer and get an RTC time. */
arch_clock_initialize(rpi_tag);
/* Set up exception handlers early... */
exception_handlers();
/* Load ramdisk over fw-cfg. */
uintptr_t ramdisk_phys_base = 0;
size_t ramdisk_size = 0;
if (rpi_tag) {
/* XXX Should this whole set of things be a "platform_init()" thing, where we
* figure out the platform and just do the stuff? */
struct rpitag * tag = (struct rpitag*)rpi_tag;
rpi_load_ramdisk(tag, &ramdisk_phys_base, &ramdisk_size);
/* TODO figure out memory size - mailbox commands */
mmu_init(0, 512 * 1024 * 1024,
0x80000,
(uintptr_t)&end + ramdisk_size - 0xffffffff80000000UL);
dprintf("rpi: mmu reinitialized\n");
rpi_set_cmdline(&_arch_args);
} else {
/*
* TODO virt shim should load the ramdisk for us, so we can use the same code
* as we have for the RPi above and not have to use fwcfg to load it...
*/
fwcfg_load_initrd(&ramdisk_phys_base, &ramdisk_size);
/* Probe DTB for memory layout. */
size_t memaddr, memsize;
dtb_memory_size(&memaddr, &memsize);
/* Initialize the MMU based on the memory we got from dtb */
mmu_init(
memaddr, memsize,
0x40100000 /* Should be end of DTB, but we're really just guessing */,
(uintptr_t)&end + ramdisk_size - 0xffffffff80000000UL);
/* Find the cmdline */
dtb_locate_cmdline(&_arch_args);
}
gic_map_regs(rpi_tag);
/* Set up all the other arch-specific stuff here */
fpu_enable();
symbols_install();
generic_startup();
/* Initialize the framebuffer and fbterm here */
framebuffer_initialize();
if (!rpi_tag) {
fbterm_initialize();
}
/* Ramdisk */
ramdisk_mount(ramdisk_phys_base, ramdisk_size);
extern void dtb_device(void);
dtb_device();
/* Load MIDR */
aarch64_processor_data();
/* Set up the system virtual timer to produce interrupts for userspace scheduling */
timer_start();
/* Start other cores here */
if (!rpi_tag ){
aarch64_smp_start();
/* Install drivers that may need to sleep here */
virtio_input();
/* Set up serial input */
extern void pl011_start(void);
pl011_start();
} else {
extern void rpi_smp_init(void);
rpi_smp_init();
extern void null_input(void);
null_input();
extern void miniuart_start(void);
miniuart_start();
}
generic_main();
return 0;
}
|
3c7bcc66694bb55983948aa04aa604c11ba259f3
|
010279e2ba272d09e9d2c4e903722e5faba2cf7a
|
/util/folder/dirent_win.c
|
7e6db74ce53a1d046c0f6568839f53b384cca365
|
[
"Apache-2.0"
] |
permissive
|
catboost/catboost
|
854c1a1f439a96f1ae6b48e16644be20aa04dba2
|
f5042e35b945aded77b23470ead62d7eacefde92
|
refs/heads/master
| 2023-09-01T12:14:14.174108
| 2023-09-01T10:01:01
| 2023-09-01T10:22:12
| 97,556,265
| 8,012
| 1,425
|
Apache-2.0
| 2023-09-11T03:32:32
| 2017-07-18T05:29:04
|
Python
|
UTF-8
|
C
| false
| false
| 3,477
|
c
|
dirent_win.c
|
#include <util/system/defaults.h>
#ifdef _win_
#include <stdio.h>
#include "dirent_win.h"
#if defined(_MSC_VER) && (_MSC_VER < 1900)
void __cdecl _dosmaperr(unsigned long);
static void SetErrno() {
_dosmaperr(GetLastError());
}
#else
void __cdecl __acrt_errno_map_os_error(unsigned long const oserrno);
static void SetErrno() {
__acrt_errno_map_os_error(GetLastError());
}
#endif
struct DIR* opendir(const char* dirname) {
struct DIR* dir = (struct DIR*)malloc(sizeof(struct DIR));
if (!dir) {
return NULL;
}
dir->sh = INVALID_HANDLE_VALUE;
dir->fff_templ = NULL;
dir->file_no = 0;
dir->readdir_buf = NULL;
int len = strlen(dirname);
//Remove trailing slashes
while (len && (dirname[len - 1] == '\\' || dirname[len - 1] == '/')) {
--len;
}
int len_converted = MultiByteToWideChar(CP_UTF8, 0, dirname, len, 0, 0);
if (len_converted == 0) {
closedir(dir);
return NULL;
}
dir->fff_templ = (WCHAR*)malloc((len_converted + 5) * sizeof(WCHAR));
if (!dir->fff_templ) {
closedir(dir);
return NULL;
}
MultiByteToWideChar(CP_UTF8, 0, dirname, len, dir->fff_templ, len_converted);
WCHAR append[] = {'\\', '*', '.', '*', 0};
memcpy(dir->fff_templ + len_converted, append, sizeof(append));
dir->sh = FindFirstFileW(dir->fff_templ, &dir->wfd);
if (dir->sh == INVALID_HANDLE_VALUE) {
SetErrno();
closedir(dir);
return NULL;
}
return dir;
}
int closedir(struct DIR* dir) {
if (dir->sh != INVALID_HANDLE_VALUE)
FindClose(dir->sh);
free(dir->fff_templ);
free(dir->readdir_buf);
free(dir);
return 0;
}
int readdir_r(struct DIR* dir, struct dirent* entry, struct dirent** result) {
if (!FindNextFileW(dir->sh, &dir->wfd)) {
int err = GetLastError();
*result = 0;
if (err == ERROR_NO_MORE_FILES) {
SetLastError(0);
return 0;
} else {
return err;
}
}
entry->d_fileno = dir->file_no++;
entry->d_reclen = sizeof(struct dirent);
if (dir->wfd.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT &&
(dir->wfd.dwReserved0 == IO_REPARSE_TAG_MOUNT_POINT || dir->wfd.dwReserved0 == IO_REPARSE_TAG_SYMLINK))
{
entry->d_type = DT_LNK;
} else if (dir->wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
entry->d_type = DT_DIR;
} else {
entry->d_type = DT_REG;
}
int len = lstrlenW(dir->wfd.cFileName);
int conv_len = WideCharToMultiByte(CP_UTF8, 0, dir->wfd.cFileName, len, 0, 0, 0, 0);
if (conv_len == 0) {
return -1;
}
if (conv_len > sizeof(entry->d_name) - 1) {
SetLastError(ERROR_INSUFFICIENT_BUFFER);
return ERROR_INSUFFICIENT_BUFFER;
}
entry->d_namlen = conv_len;
WideCharToMultiByte(CP_UTF8, 0, dir->wfd.cFileName, len, entry->d_name, conv_len, 0, 0);
entry->d_name[conv_len] = 0;
*result = entry;
return 0;
}
struct dirent* readdir(struct DIR* dir) {
struct dirent* res;
if (!dir->readdir_buf) {
dir->readdir_buf = (struct dirent*)malloc(sizeof(struct dirent));
if (dir->readdir_buf == 0)
return 0;
}
readdir_r(dir, dir->readdir_buf, &res);
return res;
}
void rewinddir(struct DIR* dir) {
FindClose(dir->sh);
dir->sh = FindFirstFileW(dir->fff_templ, &dir->wfd);
dir->file_no = 0;
}
#endif //_win_
|
831c33e1f9d18eb02a38e346e0609bd8ebf9c695
|
fa2153be6098a59f3f64f3aca226a128d9da68d2
|
/src/service.c
|
e3fdce78bad7404c99c3d798e916a2abeff3a0cb
|
[
"MIT"
] |
permissive
|
cloudwu/ltask
|
9fd333595cf2291fa7f0ae4d0605db56ea3296eb
|
3f46ef2b005432a7e507b2529238ac45bc7e8957
|
refs/heads/master
| 2023-08-31T18:47:42.776132
| 2023-08-19T02:18:18
| 2023-08-19T02:18:18
| 331,940,901
| 215
| 38
|
MIT
| 2023-08-19T02:18:19
| 2021-01-22T12:33:16
|
C
|
UTF-8
|
C
| false
| false
| 16,492
|
c
|
service.c
|
#include "service.h"
#include "queue.h"
#include "config.h"
#include "message.h"
#include "systime.h"
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
// test whether an unsigned value is a power of 2 (or zero)
#define ispow2(x) (((x) & ((x) - 1)) == 0)
#define TYPEID_STRING 0
#define TYPEID_TABLE 1
#define TYPEID_FUNCTION 2
#define TYPEID_USERDATA 3
#define TYPEID_THREAD 4
#define TYPEID_NONEOBJECT 5
#define TYPEID_COUNT 6
static int
lua_typeid[LUA_NUMTYPES] = {
TYPEID_NONEOBJECT, // LUA_TNIL
TYPEID_NONEOBJECT, // LUA_TBOOLEAN
TYPEID_NONEOBJECT, // LUA_TLIGHTUSERDATA
TYPEID_NONEOBJECT, // LUA_TNUMBER
TYPEID_STRING,
TYPEID_TABLE,
TYPEID_FUNCTION,
TYPEID_USERDATA,
TYPEID_THREAD,
};
struct memory_stat {
size_t count[TYPEID_COUNT];
size_t mem;
size_t limit;
};
struct service {
lua_State *L;
lua_State *rL;
struct queue *msg;
struct message *out;
struct message *bounce;
int status;
int receipt;
int thread_id;
service_id id;
char label[32];
struct memory_stat stat;
uint64_t cpucost;
};
struct service_pool {
int mask;
int queue_length;
unsigned int id;
struct service **s;
};
struct service_pool *
service_create(struct ltask_config *config) {
struct service_pool tmp;
assert(ispow2(config->max_service));
tmp.mask = config->max_service - 1;
tmp.id = 0;
tmp.queue_length = config->queue;
tmp.s = (struct service **)malloc(sizeof(struct service *) * config->max_service);
if (tmp.s == NULL)
return NULL;
struct service_pool * r = (struct service_pool *)malloc(sizeof(tmp));
*r = tmp;
int i;
for (i=0;i<config->max_service;i++) {
r->s[i] = NULL;
}
return r;
}
static void
free_service(struct service *S) {
if (S->L != NULL)
lua_close(S->L);
if (S->msg) {
for (;;) {
struct message *m = queue_pop_ptr(S->msg);
if (m) {
message_delete(m);
} else {
break;
}
}
queue_delete(S->msg);
}
message_delete(S->out);
message_delete(S->bounce);
S->receipt = MESSAGE_RECEIPT_NONE;
}
void
service_destory(struct service_pool *p) {
if (p == NULL)
return;
int i;
for (i=0;i<=p->mask;i++) {
struct service *s = p->s[i];
if (s) {
free_service(s);
}
}
free(p->s);
free(p);
}
static void
init_service_key(lua_State *L, void *ud, size_t sz) {
lua_pushlstring(L, (const char *)ud, sz);
lua_setfield(L, LUA_REGISTRYINDEX, LTASK_KEY);
}
static int
init_service(lua_State *L) {
void *ud = lua_touserdata(L, 1);
size_t sz = lua_tointeger(L, 2);
init_service_key(L, ud, sz);
luaL_openlibs(L);
lua_gc(L, LUA_GCGEN, 0, 0);
return 0;
}
static inline struct service **
service_slot(struct service_pool *p, unsigned int id) {
return &p->s[id & p->mask];
}
service_id
service_new(struct service_pool *p, unsigned int sid) {
service_id result = { 0 };
unsigned int id;
if (sid != 0) {
id = sid;
if (*service_slot(p, id) != NULL) {
return result;
}
} else {
id = p->id;
int i = 0;
while (id == 0 || *service_slot(p, id) != NULL) {
++id;
if (++i > p->mask) {
return result;
}
}
p->id = id + 1;
}
struct service *s = (struct service *)malloc(sizeof(*s));
if (s == NULL)
return result;
s->L = NULL;
s->rL = NULL;
s->msg = NULL;
s->out = NULL;
s->bounce = NULL;
s->receipt = MESSAGE_RECEIPT_NONE;
s->id.id = id;
s->status = SERVICE_STATUS_UNINITIALIZED;
s->thread_id = -1;
s->cpucost = 0;
*service_slot(p, id) = s;
result.id = id;
return result;
}
static inline struct service *
get_service(struct service_pool *p, service_id id) {
struct service *S = *service_slot(p, id.id);
if (S == NULL || S->id.id != id.id)
return NULL;
return S;
}
static void
replace_service(struct service_pool *p, service_id id, struct service *s) {
struct service *S = *service_slot(p, id.id);
assert(S->id.id == id.id);
*service_slot(p, id.id) = s;
}
static inline int
check_limit(struct memory_stat *stat) {
if (stat->limit == 0)
return 0;
return (stat->mem > stat->limit);
}
static void *
service_alloc(void *ud, void *ptr, size_t osize, size_t nsize) {
struct memory_stat *stat = (struct memory_stat *)ud;
if (nsize == 0) {
stat->mem -= osize;
free(ptr);
return NULL;
} else if (ptr == NULL) {
// new object
if (check_limit(stat)) {
return NULL;
}
if (osize >=0 && osize < LUA_NUMTYPES) {
int id = lua_typeid[osize];
stat->count[id]++;
}
void * ret = malloc(nsize);
if (ret == NULL) {
return NULL;
}
stat->mem += nsize;
return ret;
} else {
if (osize > nsize && check_limit(stat)) {
return NULL;
}
void * ret = realloc(ptr, nsize);
if (ret == NULL)
return NULL;
stat->mem += nsize;
stat->mem -= osize;
return ret;
}
}
static int
pushstring(lua_State *L) {
const char * msg = (const char *)lua_touserdata(L, 1);
lua_settop(L, 1);
lua_pushstring(L, msg);
return 1;
}
static void
error_message(lua_State *fromL, lua_State *toL, const char *msg) {
if (toL == NULL)
return;
if (fromL == NULL) {
lua_pushlightuserdata(toL, (void *)msg);
} else {
const char * err = lua_tostring(fromL, -1);
lua_pushcfunction(toL, pushstring);
lua_pushlightuserdata(toL, (void *)err);
if (lua_pcall(toL, 1, 1, 0) != LUA_OK) {
lua_pop(toL, 1);
lua_pushlightuserdata(toL, (void *)msg);
}
}
}
static int
preinit(lua_State *L) {
luaL_openlibs(L);
lua_gc(L, LUA_GCGEN, 0, 0);
const char * source = (const char *)lua_touserdata(L, 1);
if (luaL_loadstring(L, source) != LUA_OK) {
return lua_error(L);
}
return 1;
}
void *
service_preinit_L(struct service *s) {
return s->L;
}
struct service *
service_preinit(void *pL, const char *source) {
struct service *s = (struct service *)malloc(sizeof(*s));
struct memory_stat *stat = &s->stat;
memset(stat, 0, sizeof(*stat));
lua_State *L = lua_newstate(service_alloc, stat);
if (L == NULL) {
free(s);
}
lua_pushcfunction(L, preinit);
lua_pushlightuserdata(L, (void *)source);
if (lua_pcall(L, 1, 1, 0) != LUA_OK) {
size_t sz;
const char * err = lua_tolstring(L, -1, &sz);
char msg[4096];
if (sz > sizeof(msg)) {
sz = sizeof(msg);
}
memcpy(msg, err, sz);
lua_close(L);
free(s);
L = (lua_State *)pL;
lua_pushlstring(L, msg, sz);
lua_error(L);
return NULL;
}
s->L = L;
return s;
}
int
service_init(struct service_pool *p, service_id id, void *ud, size_t sz, void *pL, struct service *preS) {
struct service *S = get_service(p, id);
assert(S != NULL && S->L == NULL && S->status == SERVICE_STATUS_UNINITIALIZED);
lua_State *L;
if (preS == NULL) {
memset(&S->stat, 0, sizeof(S->stat));
L = lua_newstate(service_alloc, &S->stat);
if (L == NULL)
return 1;
lua_pushcfunction(L, init_service);
lua_pushlightuserdata(L, ud);
lua_pushinteger(L, sz);
if (lua_pcall(L, 2, 0, 0) != LUA_OK) {
error_message(L, pL, "Init lua state error");
lua_close(L);
return 1;
}
} else {
replace_service(p, id, preS);
struct memory_stat stat = preS->stat;
L = preS->L;
memcpy(preS, S, sizeof(struct service));
free(S);
S = preS;
S->stat = stat;
S->status = SERVICE_STATUS_IDLE;
init_service_key(L, ud, sz);
}
S->msg = queue_new_ptr(p->queue_length);
if (S->msg == NULL) {
error_message(NULL, pL, "New queue error");
lua_close(L);
return 1;
}
S->L = L;
S->rL = lua_newthread(L);
luaL_ref(L, LUA_REGISTRYINDEX);
return 0;
}
size_t
service_memlimit(struct service_pool *p, service_id id, size_t limit) {
struct service *S = get_service(p, id);
if (S == NULL || S->L == NULL)
return (size_t)-1;
size_t ret = S->stat.limit;
S->stat.limit = limit;
return ret;
}
size_t
service_memcount(struct service_pool *p, service_id id, int luatype) {
struct service *S = get_service(p, id);
assert(luatype >=0 && luatype < LUA_NUMTYPES);
if (S == NULL || S->L == NULL)
return (size_t)-1;
int type = lua_typeid[luatype];
return S->stat.count[type];
}
static int
require_cmodule(lua_State *L) {
const char *name = (const char *)lua_touserdata(L, 1);
lua_CFunction f = (lua_CFunction)lua_touserdata(L, 2);
luaL_requiref(L, name, f, 0);
return 0;
}
int
service_requiref(struct service_pool *p, service_id id, const char *name, void *f, void *pL) {
struct service *S = get_service(p, id);
if (S == NULL || S->rL == NULL) {
error_message(NULL, pL, "requiref : No service");
return 1;
}
lua_State *L = S->rL;
lua_pushcfunction(L, require_cmodule);
lua_pushlightuserdata(L, (void *)name);
lua_pushlightuserdata(L, f);
if (lua_pcall(L, 2, 0, 0) != LUA_OK) {
error_message(L, pL, "requiref : pcall error");
lua_pop(L, 1);
return 1;
}
return 0;
}
int
service_setlabel(struct service_pool *p, service_id id, const char *label) {
struct service *S = get_service(p, id);
if (S == NULL)
return 1;
strncpy(S->label, label, sizeof(S->label)-1);
S->label[sizeof(S->label)-1] = '\0';
return 0;
}
const char *
service_getlabel(struct service_pool *p, service_id id) {
struct service *S = get_service(p, id);
if (S == NULL)
return "<dead service>";
return S->label;
}
void
service_close(struct service_pool *p, service_id id) {
struct service * s = get_service(p, id);
if (s) {
if (s->L) {
lua_close(s->L);
s->L = NULL;
}
s->status = SERVICE_STATUS_DEAD;
}
}
void
service_delete(struct service_pool *p, service_id id) {
struct service * s = get_service(p, id);
if (s) {
*service_slot(p, id.id) = NULL;
free_service(s);
}
}
static inline lua_State *
service_L(struct service_pool *p, service_id id) {
struct service *S= get_service(p, id);
if (S == NULL)
return NULL;
return S->L;
}
const char *
service_loadfile(struct service_pool *p, service_id id, const char *filename) {
struct service *S= get_service(p, id);
if (S == NULL || S->L == NULL)
return "Init service first";
lua_State *L = S->L;
if (luaL_loadfile(L, filename) != LUA_OK) {
const char * r = lua_tostring(S->L, -1);
S->status = SERVICE_STATUS_DEAD;
return r;
}
S->status = SERVICE_STATUS_IDLE;
return NULL;
}
const char *
service_loadstring(struct service_pool *p, service_id id, const char *source) {
struct service *S= get_service(p, id);
if (S == NULL || S->L == NULL)
return "Init service first";
lua_State *L = S->L;
if (luaL_loadstring(L, source) != LUA_OK) {
const char * r = lua_tostring(S->L, -1);
S->status = SERVICE_STATUS_DEAD;
return r;
}
S->status = SERVICE_STATUS_IDLE;
return NULL;
}
int
service_resume(struct service_pool *p, service_id id, int thread_id) {
struct service *S= get_service(p, id);
if (S == NULL)
return 1;
S->thread_id = thread_id;
lua_State *L = S->L;
if (L == NULL)
return 1;
int nresults = 0;
uint64_t cpu = systime_thread();
int r = lua_resume(L, NULL, 0, &nresults);
S->cpucost += systime_thread() - cpu;
if (r == LUA_YIELD) {
lua_pop(L, nresults);
return 0;
}
if (r == LUA_OK) {
return 1;
}
if (!lua_checkstack(L, LUA_MINSTACK)) {
lua_writestringerror("%s\n", lua_tostring(L, -1));
lua_pop(L, 1);
return 1;
}
lua_pushfstring(L, "Service %d error: %s", id.id, lua_tostring(L, -1));
luaL_traceback(L, L, lua_tostring(L, -1), 0);
lua_writestringerror("%s\n", lua_tostring(L, -1));
lua_pop(L, 3);
return 1;
}
int
service_thread_id(struct service_pool *p, service_id id) {
struct service *S= get_service(p, id);
if (S == NULL)
return -1;
return S->thread_id;
}
void
service_bind_thread(struct service_pool *p, service_id id, int thread_id) {
struct service *S= get_service(p, id);
if (S == NULL)
return;
S->thread_id = thread_id;
}
int
service_push_message(struct service_pool *p, service_id id, struct message *msg) {
struct service *s = get_service(p, id);
if (s == NULL || s->status == SERVICE_STATUS_DEAD)
return -1;
if (queue_push_ptr(s->msg, msg)) {
// blocked
return 1;
}
return 0;
}
int
service_status_get(struct service_pool *p, service_id id) {
struct service *s = get_service(p, id);
if (s == NULL)
return SERVICE_STATUS_DEAD;
return s->status;
}
void
service_status_set(struct service_pool *p, service_id id, int status) {
struct service *s = get_service(p, id);
if (s == NULL)
return;
s->status = status;
}
struct message *
service_message_out(struct service_pool *p, service_id id) {
struct service *s = get_service(p, id);
if (s == NULL)
return NULL;
struct message * r = s->out;
if (r)
s->out = NULL;
return r;
}
int
service_send_message(struct service_pool *p, service_id id, struct message *msg) {
struct service *s = get_service(p, id);
if (s == NULL || s->out != NULL)
return 1;
s->out = msg;
return 0;
}
void
service_write_receipt(struct service_pool *p, service_id id, int receipt, struct message *bounce) {
struct service *s = get_service(p, id);
if (s != NULL && s->receipt == MESSAGE_RECEIPT_NONE) {
s->receipt = receipt;
s->bounce = bounce;
} else {
fprintf(stderr, "WARNING: write receipt %d fail (%d)\n", id.id, s->receipt);
if (s) {
message_delete(s->bounce);
s->receipt = receipt;
s->bounce = bounce;
}
}
}
struct message *
service_read_receipt(struct service_pool *p, service_id id, int *receipt) {
struct service *s = get_service(p, id);
if (s == NULL) {
*receipt = MESSAGE_RECEIPT_NONE;
return NULL;
}
*receipt = s->receipt;
struct message *r = s->bounce;
s->receipt = MESSAGE_RECEIPT_NONE;
s->bounce = NULL;
return r;
}
struct message *
service_pop_message(struct service_pool *p, service_id id) {
struct service *s = get_service(p, id);
if (s == NULL)
return NULL;
if (s->bounce) {
struct message *r = s->bounce;
s->bounce = NULL;
return r;
}
return queue_pop_ptr(s->msg);
}
int
service_has_message(struct service_pool *p, service_id id) {
struct service *s = get_service(p, id);
if (s == NULL)
return 0;
if (s->receipt != MESSAGE_RECEIPT_NONE) {
return 1;
}
return queue_length(s->msg) > 0;
}
void
service_send_signal(struct service_pool *p, service_id id) {
struct service *s = get_service(p, id);
if (s == NULL)
return;
if (s->out)
message_delete(s->out);
struct message msg;
msg.from = id;
msg.to.id = SERVICE_ID_ROOT;
msg.session = 0;
msg.type = MESSAGE_SIGNAL;
msg.msg = NULL;
msg.sz = 0;
s->out = message_new(&msg);
}
struct strbuff {
char *buf;
size_t sz;
};
static size_t
addstr(struct strbuff *b, const char *str, size_t sz) {
if (b->sz < sz) {
size_t n = b->sz - 1;
memcpy(b->buf, str, n);
b->buf[n] = 0;
b->buf += n;
b->sz = 0;
} else {
memcpy(b->buf, str, sz);
b->buf += sz;
b->sz -= sz;
}
return b->sz;
}
#define addliteral(b, s) addstr(b, s, sizeof(s "") -1)
static size_t
addfuncname(lua_Debug *ar, struct strbuff *b) {
if (*ar->namewhat != '\0') { /* is there a name from code? */
char name[1024];
int n = snprintf(name, sizeof(name), "%s '%s'", ar->namewhat, ar->name); /* use it */
return addstr(b, name, n);
} else if (*ar->what == 'm') { /* main? */
return addliteral(b, "main chunk");
} else if (*ar->what != 'C') { /* for Lua functions, use <file:line> */
char name[1024];
int n = snprintf(name, sizeof(name), "function <%s:%d>", ar->short_src, ar->linedefined);
return addstr(b, name, n);
} else { /* nothing left... */
return addliteral(b, "?");
}
}
static lua_State *
find_running(lua_State *L) {
int level = 0;
lua_Debug ar;
while (lua_getstack(L, level++, &ar)) {
lua_getinfo(L, "u", &ar);
if (ar.nparams > 0) {
lua_getlocal(L, &ar, 1);
if (lua_type(L, -1) == LUA_TTHREAD) {
lua_State *co = lua_tothread(L, -1);
lua_pop(L, 1);
return co;
} else {
lua_pop(L, 1);
}
}
}
return L;
}
int
service_backtrace(struct service_pool *p, service_id id, char *buf, size_t sz) {
struct service *S= get_service(p, id);
if (S == NULL)
return 0;
lua_State *L = find_running(S->L);
struct strbuff b = { buf, sz };
int level = 0;
lua_Debug ar;
char line[1024];
while (lua_getstack(L, level++, &ar)) {
lua_getinfo(L, "Slnt", &ar);
int n;
if (ar.currentline <= 0) {
n = snprintf(line, sizeof(line), "%s: in ", ar.short_src);
} else {
n = snprintf(line, sizeof(line), "%s:%d: in ", ar.short_src, ar.currentline);
}
if (addstr(&b, line, n) == 0) {
return sz;
}
if (addfuncname(&ar, &b) == 0) {
return sz;
}
if (addliteral(&b, "\n") == 0) {
return sz;
}
if (ar.istailcall) {
if (addliteral(&b, "(...tail calls...)\n") == 0) {
return sz;
}
}
}
return (int)(sz - b.sz);
}
uint64_t
service_cpucost(struct service_pool *p, service_id id) {
struct service *S= get_service(p, id);
if (S == NULL)
return 0;
return S->cpucost;
}
|
e7b26984ea7226147a2e1561153679fb1509ddbd
|
25146d3cc79fd1fbb6578d2c64249fdbd6bfac65
|
/btle/common/btle-sim.h
|
bd9ac11481a1419620b1f85d54073e4e9e8a0ef3
|
[] |
no_license
|
wolfSSL/wolfssl-examples
|
5bb55c47be03bf55dfa1552f6b391557b6b31d90
|
7d373b14fe9a4283f9d70818fafab8b5ff863de1
|
refs/heads/master
| 2023-08-17T07:09:39.061991
| 2023-08-15T15:13:27
| 2023-08-15T15:13:27
| 21,290,295
| 237
| 191
| null | 2023-09-12T22:57:33
| 2014-06-27T21:50:12
|
C
|
UTF-8
|
C
| false
| false
| 1,605
|
h
|
btle-sim.h
|
/* btle-sim.h
*
* Copyright (C) 2006-2020 wolfSSL Inc.
*
* This file is part of wolfSSL. (formerly known as CyaSSL)
*
* wolfSSL 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 2 of the License, or
* (at your option) any later version.
*
* wolfSSL 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define BTLE_MSG_MAX_SIZE 1024
#define BTLE_BLOCK_SIZE 16
#define _GNU_SOURCE
#include <string.h> /* for strnstr */
#define EXIT_STRING "exit"
typedef enum {
BTLE_PKT_TYPE_NULL,
BTLE_PKT_TYPE_KEY,
BTLE_PKT_TYPE_SALT,
BTLE_PKT_TYPE_MSG,
BTLE_PKT_TYPE_TLS,
BTLE_PKT_TYPE_MAX,
} BtlePacket_t;
typedef enum {
BTLE_ROLE_CLIENT,
BTLE_ROLE_SERVER,
} BtleRole_t;
int btle_open(void** dev, int role);
int btle_send(const unsigned char* buf, int len, int type, void* context);
int btle_recv(unsigned char* buf, int len, int* type, void* context);
int btle_recv_ex(unsigned char* buf, int len, int* type, void* context, int non_block);
void btle_close(void* context);
int btle_msg_pad(unsigned char* buf, int* len, void* context);
|
c7c01122093f3e7fb2872a8320890666371fa272
|
28d0f8c01599f8f6c711bdde0b59f9c2cd221203
|
/sys/arch/playstation2/ee/gs.c
|
92d1b02a3785beaa058f14f5ee2b60d5522515f8
|
[] |
no_license
|
NetBSD/src
|
1a9cbc22ed778be638b37869ed4fb5c8dd616166
|
23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c
|
refs/heads/trunk
| 2023-08-31T13:24:58.105962
| 2023-08-27T15:50:47
| 2023-08-27T15:50:47
| 88,439,547
| 656
| 348
| null | 2023-07-20T20:07:24
| 2017-04-16T20:03:43
| null |
UTF-8
|
C
| false
| false
| 5,053
|
c
|
gs.c
|
/* $NetBSD: gs.c,v 1.6 2014/03/31 11:25:49 martin Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by UCHIYAMA Yasushi.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gs.c,v 1.6 2014/03/31 11:25:49 martin Exp $");
#include <sys/param.h>
#include <playstation2/playstation2/sifbios.h>
#include <playstation2/ee/eevar.h>
#include <playstation2/ee/gsvar.h>
#include <playstation2/ee/gsreg.h>
#include <playstation2/ee/gifreg.h>
#ifdef DEBUG
#define STATIC
#else
#define STATIC static
#endif
STATIC const struct gs_crt_param {
int w, h, dvemode;
u_int64_t smode1, smode2, srfsh, synch1, synch2, syncv, display;
} gs_crt_param[] = {
[NTSC_NONINTER] = {
.w = 640,
.h = 240,
.dvemode= 0,
.smode1 = SMODE1(0, 1, 1, 1, 1, 0, 0, 0, 0, 0,
4, 0, 0, 1, 1, 0, 2, 0, 1, 32, 4),
.smode2 = SMODE2(0, 0, 0),
.srfsh = SRFSH(8),
.synch1 = SYNCH1(254, 1462, 124, 222, 64),
.synch2 = SYNCH2(1652, 1240),
.syncv = SYNCV(6, 480, 6, 26, 6, 2),
.display=DISPLAY(239, 2559, 0, 3, 25, 632)
},
[NTSC_INTER] = {
.w = 640,
.h = 480,
.dvemode= 0,
.smode1 = SMODE1(0, 1, 1, 1, 1, 0, 0, 0, 0, 0,
4, 0, 0, 1, 1, 0, 2, 0, 1, 32, 4),
.smode2 = SMODE2(0, 0, 1),
.srfsh = SRFSH(8),
.synch1 = SYNCH1(254, 1462, 124, 222, 64),
.synch2 = SYNCH2(1652, 1240),
.syncv = SYNCV(6, 480, 6, 26, 6, 1),
.display= DISPLAY(479, 2559, 0, 3, 50, 632)
},
[PAL_NONINTER] = {
.w = 640,
.h = 288,
.dvemode= 1,
.smode1 = SMODE1(0, 1, 1, 1, 1, 0, 0, 0, 0, 0,
4, 0, 0, 1, 1, 0, 3, 0, 1, 32, 4),
.smode2 = SMODE2(0, 0, 0),
.srfsh = SRFSH(8),
.synch1 = SYNCH1(254, 1474, 127, 262, 48),
.synch2 = SYNCH2(1680, 1212),
.syncv = SYNCV(5, 576, 5, 33, 5, 4),
.display= DISPLAY(287, 2559, 0, 3, 36, 652)
},
[PAL_INTER] = {
.w = 640,
.h = 576,
.dvemode= 1,
.smode1 = SMODE1(0, 1, 1, 1, 1, 0, 0, 0, 0, 0,
4, 0, 0, 1, 1, 0, 3, 0, 1, 32, 4),
.smode2 = SMODE2(0, 0, 1),
.srfsh = SRFSH(8),
.synch1 = SYNCH1(254, 1474, 127, 262, 48),
.synch2 = SYNCH2(1680, 1212),
.syncv = SYNCV(5, 576, 5, 33, 5, 4),
.display= DISPLAY(575,2559,0,3,72,652)
},
[VESA_1A] = {
.w = 640,
.h = 480,
.dvemode= 2,
.smode1 = SMODE1(1, 0, 1, 1, 1, 0, 0, 0, 0, 0,
2, 0, 0, 1, 0, 0, 0, 0, 1, 15, 2),
.smode2 = SMODE2(0, 0, 0),
.srfsh = SRFSH(4),
.synch1 = SYNCH1(192, 608, 192, 84, 32),
.synch2 = SYNCH2(768, 524),
.syncv = SYNCV(2, 480, 0, 33, 0, 10),
.display= DISPLAY(479, 1279, 0, 1, 34, 276)
}
};
void
gs_init(enum gs_crt_type type)
{
const struct gs_crt_param *p = &gs_crt_param[type];
u_int64_t smode1 = p->smode1;
/* GS reset */
_reg_write_8(GS_S_CSR_REG, 1 << 9);
/* setup PCRTC */
_reg_write_8(GS_S_PMODE_REG, 0); /* disable circuit 1/2 */
_reg_write_8(GS_S_SMODE1_REG, smode1 | ((u_int64_t)1 << 16));
_reg_write_8(GS_S_SYNCH1_REG, p->synch1);
_reg_write_8(GS_S_SYNCH2_REG, p->synch2);
_reg_write_8(GS_S_SYNCV_REG, p->syncv);
_reg_write_8(GS_S_SMODE2_REG, p->smode2);
_reg_write_8(GS_S_SRFSH_REG, p->srfsh);
if (p->dvemode == 2) { /* PLL on */
_reg_write_8(GS_S_SMODE1_REG, smode1 & ~((u_int64_t)1 << 16));
delay(2500);
}
/* start sync */
_reg_write_8(GS_S_SMODE1_REG,
smode1 & ~((u_int64_t)1 << 16) & ~((u_int64_t)1 << 17));
sifbios_setdve(p->dvemode);
/* enable circuit */
_reg_write_8(GS_S_PMODE_REG, 0x66);
/* display environment */
_reg_write_8(GS_S_DISPLAY2_REG, p->display);
_reg_write_8(GS_S_DISPFB2_REG, (p->w >> 6) << 9);
_reg_write_8(GS_S_SMODE2_REG, p->smode2);
_reg_write_8(GS_S_BGCOLOR_REG, 0);
/* Flush GS FIFO */
_reg_write_8(GS_S_CSR_REG, 1 << 8);
/* GIF reset */
_reg_write_4(GIF_CTRL_REG, 1);
}
|
486b7303d24b9ce1b784fafa98126e0a9eed6e62
|
78dc9f153549b281be709227bc9897931b06260d
|
/generation/WinSDK/RecompiledIdlHeaders/um/InteractionContext.h
|
6046390aabed2b4e284e47e0a7595674a917a893
|
[
"MIT"
] |
permissive
|
microsoft/win32metadata
|
dff35b4fe904d556162cee5133294c4498f1a79a
|
5bf233f04d45f7a697e112e9639722551103eb07
|
refs/heads/main
| 2023-09-01T19:51:22.972899
| 2023-08-30T21:39:44
| 2023-08-30T21:39:44
| 270,838,404
| 1,240
| 107
|
NOASSERTION
| 2023-09-14T18:49:44
| 2020-06-08T21:52:10
|
C++
|
UTF-8
|
C
| false
| false
| 16,964
|
h
|
InteractionContext.h
|
/*
** Copyright (c) Microsoft Corporation. All rights reserved.
** Interaction Context API
*/
#ifndef INTERACTION_CONTEXT_H
#define INTERACTION_CONTEXT_H
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#include <windows.h>
#include <float.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if (NTDDI_VERSION >= NTDDI_WIN8)
typedef enum INTERACTION_ID
{
INTERACTION_ID_NONE = 0x00000000,
INTERACTION_ID_MANIPULATION = 0x00000001,
INTERACTION_ID_TAP = 0x00000002,
INTERACTION_ID_SECONDARY_TAP = 0x00000003,
INTERACTION_ID_HOLD = 0x00000004,
INTERACTION_ID_DRAG = 0x00000005,
INTERACTION_ID_CROSS_SLIDE = 0x00000006,
INTERACTION_ID_MAX = 0xffffffff
} INTERACTION_ID;
typedef enum INTERACTION_FLAGS
{
INTERACTION_FLAG_NONE = 0x00000000,
INTERACTION_FLAG_BEGIN = 0x00000001,
INTERACTION_FLAG_END = 0x00000002,
INTERACTION_FLAG_CANCEL = 0x00000004,
INTERACTION_FLAG_INERTIA = 0x00000008,
INTERACTION_FLAG_MAX = 0xffffffff
} INTERACTION_FLAGS;
DEFINE_ENUM_FLAG_OPERATORS(INTERACTION_FLAGS);
typedef enum INTERACTION_CONFIGURATION_FLAGS
{
INTERACTION_CONFIGURATION_FLAG_NONE = 0x00000000,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION = 0x00000001,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_X = 0x00000002,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_Y = 0x00000004,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_ROTATION = 0x00000008,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_SCALING = 0x00000010,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_INERTIA = 0x00000020,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_ROTATION_INERTIA = 0x00000040,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_SCALING_INERTIA = 0x00000080,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_RAILS_X = 0x00000100,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_RAILS_Y = 0x00000200,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_EXACT = 0x00000400,
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_MULTIPLE_FINGER_PANNING = 0x00000800,
INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE = 0x00000001,
INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_HORIZONTAL = 0x00000002,
INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_SELECT = 0x00000004,
INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_SPEED_BUMP = 0x00000008,
INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_REARRANGE = 0x00000010,
INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_EXACT = 0x00000020,
INTERACTION_CONFIGURATION_FLAG_TAP = 0x00000001,
INTERACTION_CONFIGURATION_FLAG_TAP_DOUBLE = 0x00000002,
#if (NTDDI_VERSION >= NTDDI_WIN10_VB)
INTERACTION_CONFIGURATION_FLAG_TAP_MULTIPLE_FINGER = 0x00000004,
#endif
INTERACTION_CONFIGURATION_FLAG_SECONDARY_TAP = 0x00000001,
INTERACTION_CONFIGURATION_FLAG_HOLD = 0x00000001,
INTERACTION_CONFIGURATION_FLAG_HOLD_MOUSE = 0x00000002,
#if (NTDDI_VERSION >= NTDDI_WIN10_VB)
INTERACTION_CONFIGURATION_FLAG_HOLD_MULTIPLE_FINGER = 0x00000004,
#endif
INTERACTION_CONFIGURATION_FLAG_DRAG = 0x00000001,
INTERACTION_CONFIGURATION_FLAG_MAX = 0xffffffff
} INTERACTION_CONFIGURATION_FLAGS;
DEFINE_ENUM_FLAG_OPERATORS(INTERACTION_CONFIGURATION_FLAGS);
typedef enum INERTIA_PARAMETER
{
INERTIA_PARAMETER_TRANSLATION_DECELERATION = 0x00000001,
INERTIA_PARAMETER_TRANSLATION_DISPLACEMENT = 0x00000002,
INERTIA_PARAMETER_ROTATION_DECELERATION = 0x00000003,
INERTIA_PARAMETER_ROTATION_ANGLE = 0x00000004,
INERTIA_PARAMETER_EXPANSION_DECELERATION = 0x00000005,
INERTIA_PARAMETER_EXPANSION_EXPANSION = 0x00000006,
INERTIA_PARAMETER_MAX = 0xffffffff
} INERTIA_PARAMETER;
typedef enum INTERACTION_STATE
{
INTERACTION_STATE_IDLE = 0x00000000,
INTERACTION_STATE_IN_INTERACTION = 0x00000001,
INTERACTION_STATE_POSSIBLE_DOUBLE_TAP = 0x00000002,
INTERACTION_STATE_MAX = 0xffffffff
} INTERACTION_STATE;
typedef enum INTERACTION_CONTEXT_PROPERTY
{
INTERACTION_CONTEXT_PROPERTY_MEASUREMENT_UNITS = 0x00000001,
INTERACTION_CONTEXT_PROPERTY_INTERACTION_UI_FEEDBACK = 0x00000002,
INTERACTION_CONTEXT_PROPERTY_FILTER_POINTERS = 0x00000003,
INTERACTION_CONTEXT_PROPERTY_MAX = 0xffffffff
} INTERACTION_CONTEXT_PROPERTY;
typedef enum CROSS_SLIDE_THRESHOLD
{
CROSS_SLIDE_THRESHOLD_SELECT_START = 0x00000000,
CROSS_SLIDE_THRESHOLD_SPEED_BUMP_START = 0x00000001,
CROSS_SLIDE_THRESHOLD_SPEED_BUMP_END = 0x00000002,
CROSS_SLIDE_THRESHOLD_REARRANGE_START = 0x00000003,
CROSS_SLIDE_THRESHOLD_COUNT = 0x00000004,
CROSS_SLIDE_THRESHOLD_MAX = 0xffffffff
} CROSS_SLIDE_THRESHOLD;
#define CROSS_SLIDE_THRESHOLD_INVALID_VALUE FLT_MAX
typedef enum CROSS_SLIDE_FLAGS
{
CROSS_SLIDE_FLAGS_NONE = 0x00000000,
CROSS_SLIDE_FLAGS_SELECT = 0x00000001,
CROSS_SLIDE_FLAGS_SPEED_BUMP = 0x00000002,
CROSS_SLIDE_FLAGS_REARRANGE = 0x00000004,
CROSS_SLIDE_FLAGS_MAX = 0xffffffff
} CROSS_SLIDE_FLAGS;
DEFINE_ENUM_FLAG_OPERATORS(CROSS_SLIDE_FLAGS);
typedef enum MOUSE_WHEEL_PARAMETER
{
MOUSE_WHEEL_PARAMETER_CHAR_TRANSLATION_X = 0x00000001,
MOUSE_WHEEL_PARAMETER_CHAR_TRANSLATION_Y = 0x00000002,
MOUSE_WHEEL_PARAMETER_DELTA_SCALE = 0x00000003,
MOUSE_WHEEL_PARAMETER_DELTA_ROTATION = 0x00000004,
MOUSE_WHEEL_PARAMETER_PAGE_TRANSLATION_X = 0x00000005,
MOUSE_WHEEL_PARAMETER_PAGE_TRANSLATION_Y = 0x00000006,
MOUSE_WHEEL_PARAMETER_MAX = 0xffffffff
} MOUSE_WHEEL_PARAMETER;
#if (NTDDI_VERSION >= NTDDI_WIN10_VB)
typedef enum TAP_PARAMETER
{
TAP_PARAMETER_MIN_CONTACT_COUNT = 0x00000000,
TAP_PARAMETER_MAX_CONTACT_COUNT = 0x00000001,
TAP_PARAMETER_MAX = 0xffffffff
} TAP_PARAMETER;
typedef enum HOLD_PARAMETER
{
HOLD_PARAMETER_MIN_CONTACT_COUNT = 0x00000000,
HOLD_PARAMETER_MAX_CONTACT_COUNT = 0x00000001,
HOLD_PARAMETER_THRESHOLD_RADIUS = 0x00000002,
HOLD_PARAMETER_THRESHOLD_START_DELAY = 0x00000003,
HOLD_PARAMETER_MAX = 0xffffffff
} HOLD_PARAMETER;
typedef enum TRANSLATION_PARAMETER
{
TRANSLATION_PARAMETER_MIN_CONTACT_COUNT = 0x00000000,
TRANSLATION_PARAMETER_MAX_CONTACT_COUNT = 0x00000001,
TRANSLATION_PARAMETER_MAX = 0xffffffff
} TRANSLATION_PARAMETER;
#endif
typedef enum MANIPULATION_RAILS_STATE
{
MANIPULATION_RAILS_STATE_UNDECIDED = 0x00000000,
MANIPULATION_RAILS_STATE_FREE = 0x00000001,
MANIPULATION_RAILS_STATE_RAILED = 0x00000002,
MANIPULATION_RAILS_STATE_MAX = 0xffffffff
} MANIPULATION_RAILS_STATE;
typedef struct MANIPULATION_TRANSFORM
{
float translationX;
float translationY;
float scale;
float expansion;
float rotation;
} MANIPULATION_TRANSFORM;
typedef struct MANIPULATION_VELOCITY
{
float velocityX;
float velocityY;
float velocityExpansion;
float velocityAngular;
} MANIPULATION_VELOCITY;
typedef struct INTERACTION_ARGUMENTS_MANIPULATION
{
MANIPULATION_TRANSFORM delta;
MANIPULATION_TRANSFORM cumulative;
MANIPULATION_VELOCITY velocity;
MANIPULATION_RAILS_STATE railsState;
} INTERACTION_ARGUMENTS_MANIPULATION;
typedef struct INTERACTION_ARGUMENTS_TAP
{
UINT32 count;
} INTERACTION_ARGUMENTS_TAP;
typedef struct INTERACTION_ARGUMENTS_CROSS_SLIDE
{
CROSS_SLIDE_FLAGS flags;
} INTERACTION_ARGUMENTS_CROSS_SLIDE;
typedef struct INTERACTION_CONTEXT_OUTPUT
{
INTERACTION_ID interactionId;
INTERACTION_FLAGS interactionFlags;
POINTER_INPUT_TYPE inputType;
float x;
float y;
union
{
INTERACTION_ARGUMENTS_MANIPULATION manipulation;
INTERACTION_ARGUMENTS_TAP tap;
INTERACTION_ARGUMENTS_CROSS_SLIDE crossSlide;
} arguments;
} INTERACTION_CONTEXT_OUTPUT;
#if (NTDDI_VERSION >= NTDDI_WIN10_VB)
typedef struct INTERACTION_CONTEXT_OUTPUT2
{
INTERACTION_ID interactionId;
INTERACTION_FLAGS interactionFlags;
POINTER_INPUT_TYPE inputType;
UINT32 contactCount;
UINT32 currentContactCount;
float x;
float y;
union
{
INTERACTION_ARGUMENTS_MANIPULATION manipulation;
INTERACTION_ARGUMENTS_TAP tap;
INTERACTION_ARGUMENTS_CROSS_SLIDE crossSlide;
} arguments;
} INTERACTION_CONTEXT_OUTPUT2;
#endif
typedef struct INTERACTION_CONTEXT_CONFIGURATION
{
INTERACTION_ID interactionId;
INTERACTION_CONFIGURATION_FLAGS enable;
} INTERACTION_CONTEXT_CONFIGURATION;
typedef struct CROSS_SLIDE_PARAMETER
{
CROSS_SLIDE_THRESHOLD threshold;
float distance;
} CROSS_SLIDE_PARAMETER;
typedef void (CALLBACK *INTERACTION_CONTEXT_OUTPUT_CALLBACK) (
_In_opt_ void *clientData,
_In_reads_(1) const INTERACTION_CONTEXT_OUTPUT *output);
#if (NTDDI_VERSION >= NTDDI_WIN10_VB)
typedef void (CALLBACK *INTERACTION_CONTEXT_OUTPUT_CALLBACK2) (
_In_opt_ void *clientData,
_In_reads_(1) const INTERACTION_CONTEXT_OUTPUT2 *output);
#endif
DECLARE_HANDLE(HINTERACTIONCONTEXT);
#define INTERACTION_CONTEXT_CONFIGURATION_DEFAULT \
{ \
{INTERACTION_ID_MANIPULATION, \
INTERACTION_CONFIGURATION_FLAG_MANIPULATION | \
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_X | \
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_Y | \
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_ROTATION | \
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_SCALING | \
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_INERTIA | \
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_ROTATION_INERTIA | \
INTERACTION_CONFIGURATION_FLAG_MANIPULATION_SCALING_INERTIA}, \
{INTERACTION_ID_TAP, \
INTERACTION_CONFIGURATION_FLAG_TAP}, \
{INTERACTION_ID_SECONDARY_TAP, \
INTERACTION_CONFIGURATION_FLAG_SECONDARY_TAP}, \
{INTERACTION_ID_HOLD, \
INTERACTION_CONFIGURATION_FLAG_HOLD}, \
{INTERACTION_ID_DRAG, \
INTERACTION_CONFIGURATION_FLAG_NONE}, \
{INTERACTION_ID_CROSS_SLIDE, \
INTERACTION_CONFIGURATION_FLAG_NONE} \
} \
#define INERTIA_PARAMETER_INVALID_VALUE FLT_MAX
HRESULT
WINAPI
CreateInteractionContext(
_Out_writes_(1) HINTERACTIONCONTEXT *interactionContext);
HRESULT
WINAPI
DestroyInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext);
HRESULT
WINAPI
RegisterOutputCallbackInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ INTERACTION_CONTEXT_OUTPUT_CALLBACK outputCallback,
_In_opt_ void *clientData);
#if (NTDDI_VERSION >= NTDDI_WIN10_VB)
HRESULT
WINAPI
RegisterOutputCallbackInteractionContext2(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ INTERACTION_CONTEXT_OUTPUT_CALLBACK2 outputCallback,
_In_opt_ void *clientData);
#endif
HRESULT
WINAPI
SetInteractionConfigurationInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ UINT32 configurationCount,
_In_reads_(configurationCount) const INTERACTION_CONTEXT_CONFIGURATION *configuration);
HRESULT
WINAPI
GetInteractionConfigurationInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ UINT32 configurationCount,
_Inout_updates_(configurationCount) INTERACTION_CONTEXT_CONFIGURATION *configuration);
HRESULT
WINAPI
SetPropertyInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ INTERACTION_CONTEXT_PROPERTY contextProperty,
_In_ UINT32 value);
HRESULT
WINAPI
GetPropertyInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ INTERACTION_CONTEXT_PROPERTY contextProperty,
_Out_writes_(1) UINT32 *value);
HRESULT
WINAPI
SetInertiaParameterInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ INERTIA_PARAMETER inertiaParameter,
_In_ float value);
HRESULT
WINAPI
GetInertiaParameterInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ INERTIA_PARAMETER inertiaParameter,
_Out_writes_(1) float *value);
HRESULT
WINAPI
SetCrossSlideParametersInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ UINT32 parameterCount,
_In_reads_(parameterCount) CROSS_SLIDE_PARAMETER *crossSlideParameters);
HRESULT
WINAPI
GetCrossSlideParameterInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ CROSS_SLIDE_THRESHOLD threshold,
_Out_writes_(1) float *distance);
#if (NTDDI_VERSION >= NTDDI_WIN10_VB)
HRESULT
WINAPI
SetTapParameterInteractionContext(
HINTERACTIONCONTEXT interactionContext,
TAP_PARAMETER parameter,
float value);
HRESULT
WINAPI
GetTapParameterInteractionContext(
HINTERACTIONCONTEXT interactionContext,
TAP_PARAMETER parameter,
_Out_ float *value);
HRESULT
WINAPI
SetHoldParameterInteractionContext(
HINTERACTIONCONTEXT interactionContext,
HOLD_PARAMETER parameter,
float value);
HRESULT
WINAPI
GetHoldParameterInteractionContext(
HINTERACTIONCONTEXT interactionContext,
HOLD_PARAMETER parameter,
_Out_ float *value);
HRESULT
WINAPI
SetTranslationParameterInteractionContext(
HINTERACTIONCONTEXT interactionContext,
TRANSLATION_PARAMETER parameter,
float value);
HRESULT
WINAPI
GetTranslationParameterInteractionContext(
HINTERACTIONCONTEXT interactionContext,
TRANSLATION_PARAMETER parameter,
_Out_ float *value);
#endif
HRESULT
WINAPI
SetMouseWheelParameterInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ MOUSE_WHEEL_PARAMETER parameter,
_In_ float value);
HRESULT
WINAPI
GetMouseWheelParameterInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ MOUSE_WHEEL_PARAMETER parameter,
_Out_writes_(1) float *value);
HRESULT
WINAPI
ResetInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext);
HRESULT
WINAPI
GetStateInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_opt_ const POINTER_INFO *pointerInfo,
_Out_writes_(1) INTERACTION_STATE *state);
HRESULT
WINAPI
AddPointerInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ UINT32 pointerId);
HRESULT
WINAPI
RemovePointerInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ UINT32 pointerId);
HRESULT
WINAPI
ProcessPointerFramesInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ UINT32 entriesCount,
_In_ UINT32 pointerCount,
_In_reads_(entriesCount * pointerCount) const POINTER_INFO *pointerInfo);
HRESULT
WINAPI
BufferPointerPacketsInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ UINT32 entriesCount,
_In_reads_(entriesCount) const POINTER_INFO *pointerInfo);
HRESULT
WINAPI
ProcessBufferedPacketsInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext);
HRESULT
WINAPI
ProcessInertiaInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext);
HRESULT
WINAPI
StopInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext);
HRESULT
WINAPI
SetPivotInteractionContext(
_In_ HINTERACTIONCONTEXT interactionContext,
_In_ float x,
_In_ float y,
_In_ float radius);
#endif /* (NTDDI_VERSION >= NTDDI_WIN8) */
#if defined(__cplusplus)
} /* __cplusplus */
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif /* INTERACTION_CONTEXT_H */
|
995fb02a4651614f9ebd34931e9b8c274337373b
|
b452bbb87214f174122f425f6f98f4c3890c3cca
|
/internal/ccall/expr/exlexname.c
|
1cb2092e7ae9774bb59419cb69f8ef156cd8c21e
|
[
"MIT"
] |
permissive
|
goccy/go-graphviz
|
bea9bc86b42734aff7ffae283aeae71702ca588a
|
865af036ddbb745c4424bbd2fdaa9a75668cf0d4
|
refs/heads/master
| 2023-07-20T08:05:39.868377
| 2023-03-21T23:49:44
| 2023-03-21T23:49:44
| 236,740,615
| 511
| 66
|
MIT
| 2023-07-07T13:53:28
| 2020-01-28T13:24:09
|
Go
|
UTF-8
|
C
| false
| false
| 1,303
|
c
|
exlexname.c
|
/* vim:set shiftwidth=4 ts=4: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors: See CVS logs. Details at http://www.graphviz.org/
*************************************************************************/
/*
* Glenn Fowler
* AT&T Research
*
* return lex name for op[subop]
*/
#include "exlib.h"
#include "exop.h"
#define TOTNAME 3
#define MAXNAME 16
char*
exlexname(int op, int subop)
{
register char* b;
static int n;
static char buf[TOTNAME][MAXNAME];
if (op > MINTOKEN && op < MAXTOKEN)
return (char*)exop[op - MINTOKEN];
if (++n > TOTNAME)
n = 0;
b = buf[n];
if (op == '=')
{
if (subop > MINTOKEN && subop < MAXTOKEN)
sfsprintf(b, MAXNAME, "%s=", exop[subop - MINTOKEN]);
else if (subop > ' ' && subop <= '~')
sfsprintf(b, MAXNAME, "%c=", subop);
else sfsprintf(b, MAXNAME, "(%d)=", subop);
}
else if (op > ' ' && op <= '~')
sfsprintf(b, MAXNAME, "%c", op);
else sfsprintf(b, MAXNAME, "(%d)", op);
return b;
}
|
cf0b8d4049557ee8bb71f5df21df611d1b961639
|
765f7b8c2caf2d50da8f431f1332207456ba33ee
|
/base/usr/include/netdb.h
|
8d681db54b13c05360c75fbf865a92b3bf2b7d27
|
[
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-commercial-license",
"AGPL-3.0-or-later",
"GPL-1.0-or-later",
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] |
permissive
|
klange/toaruos
|
a840f8d46993dc7a8850f82b6d04ba0c2af276a9
|
4a31a09ba27904b42ee35e8fb1a3c7f87669a2ef
|
refs/heads/master
| 2023-09-01T02:00:53.151334
| 2023-08-28T00:59:18
| 2023-08-28T00:59:18
| 1,259,258
| 5,557
| 613
|
NCSA
| 2023-02-04T08:24:11
| 2011-01-16T00:59:27
|
C
|
UTF-8
|
C
| false
| false
| 1,197
|
h
|
netdb.h
|
#pragma once
#include <_cheader.h>
#include <sys/socket.h>
_Begin_C_Header
extern int getnameinfo(const struct sockaddr *addr, socklen_t addrlen,
char *host, socklen_t hostlen,
char *serv, socklen_t servlen, int flags);
extern int getaddrinfo(const char *node, const char *service,
const struct addrinfo *hints,
struct addrinfo **res);
extern void freeaddrinfo(struct addrinfo *res);
struct hostent {
char *h_name; /* official name of host */
char **h_aliases; /* alias list */
int h_addrtype; /* host address type */
int h_length; /* length of address */
char **h_addr_list; /* list of addresses */
};
extern struct hostent * gethostbyname(const char * name);
#ifndef _KERNEL_
#define h_addr h_addr_list[0]
#endif
#define NI_NUMERICHOST 1
#define NI_MAXHOST 255
/* Defined error codes returned by getaddrinfo */
#define EAI_AGAIN -1
#define EAI_BADFLAGS -2
#define EAI_BADEXFLAGS -3
#define EAI_FAMILY -4
#define EAI_MEMORY -5
#define EAI_NONAME -6
#define EAI_SERVICE -7
#define EAI_SOCKTYPE -8
_End_C_Header
|
39eff468fa9817d4085697b3a7130d21d5cf532f
|
771b8d391585df59d8c7438e21e54976c4180011
|
/lib/OTExtensionEncrypto/extern/ENCRYPTO_utils/extern/relic/src/rand/relic_rand_fips.c
|
cba5fc41c066dc2c4919fbdd72b7a23b7e8009a2
|
[
"LGPL-3.0-only",
"MIT",
"Apache-2.0",
"LGPL-2.1-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.0-or-later",
"LGPL-2.1-only"
] |
permissive
|
cryptobiu/libscapi
|
1f11f92065c1cea418e73b932c9810d374bac060
|
1f70a88548501eaca5fb635194443e7a2b871088
|
refs/heads/master
| 2023-08-10T08:34:21.304797
| 2022-08-16T16:48:20
| 2022-08-16T16:48:20
| 53,246,303
| 186
| 74
|
MIT
| 2023-07-20T11:01:17
| 2016-03-06T08:59:43
|
C++
|
UTF-8
|
C
| false
| false
| 3,195
|
c
|
relic_rand_fips.c
|
/*
* RELIC is an Efficient LIbrary for Cryptography
* Copyright (C) 2007-2019 RELIC Authors
*
* This file is part of RELIC. RELIC is legal property of its developers,
* whose names are not listed here. Please refer to the COPYRIGHT file
* for contact information.
*
* RELIC is free software; you can redistribute it and/or modify it under the
* terms of the version 2.1 (or later) of the GNU Lesser General Public License
* as published by the Free Software Foundation; or version 2.0 of the Apache
* License as published by the Apache Software Foundation. See the LICENSE files
* for more details.
*
* RELIC 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 LICENSE files for more details.
*
* You should have received a copy of the GNU Lesser General Public or the
* Apache License along with RELIC. If not, see <https://www.gnu.org/licenses/>
* or <https://www.apache.org/licenses/>.
*/
/**
* @file
*
* Implementation of the FIPS 186-2 (cn1) pseudo-random number generator.
*
* @ingroup rand
*/
#include <string.h>
#include "relic_conf.h"
#include "relic_core.h"
#include "relic_label.h"
#include "relic_rand.h"
#include "relic_md.h"
#include "relic_err.h"
/*============================================================================*/
/* Private definitions */
/*============================================================================*/
#if RAND == FIPS
/**
* Accumulates the hash value plus one in the internal state.
*
* @param[in,out] state - the internal state.
* @param[in] hash - the hash value.
*/
static void rand_add_inc(uint8_t *state, uint8_t *hash) {
int carry = 1;
for (int i = RLC_MD_LEN_SHONE - 1; i >= 0; i--) {
int16_t s;
s = (state[i] + hash[i] + carry);
state[i] = s & 0xFF;
carry = s >> 8;
}
}
#endif
/*============================================================================*/
/* Public definitions */
/*============================================================================*/
#if RAND == FIPS
void rand_bytes(uint8_t *buf, int size) {
uint8_t hash[RLC_MD_LEN_SHONE];
ctx_t *ctx = core_get();
while (size > 0) {
/* w_0 = G(t, XKEY) */
md_map_shone_mid(hash, ctx->rand, RAND_SIZE);
/* XKEY = (XKEY + w_0 + 1) mod 2^b */
rand_add_inc(ctx->rand, hash);
memcpy(buf, hash, RLC_MIN(size, RLC_MD_LEN_SHONE));
buf += RLC_MD_LEN_SHONE;
size -= RLC_MD_LEN_SHONE;
/* w_1 = G(t, XKEY) */
md_map_shone_mid(hash, ctx->rand, RAND_SIZE);
/* XKEY = (XKEY + w_1 + 1) mod 2^b */
rand_add_inc(ctx->rand, hash);
for (int i = RLC_MIN(size - 1, RLC_MD_LEN_SHONE); i >= 0 ; i--) {
buf[i] = hash[i];
}
buf += RLC_MD_LEN_SHONE;
size -= RLC_MD_LEN_SHONE;
}
}
void rand_seed(uint8_t *buf, int size) {
int i;
ctx_t *ctx = core_get();
if (size < RLC_MD_LEN_SHONE) {
THROW(ERR_NO_VALID);
}
/* XKEY = SEED, throws away additional bytes. */
for (i = 0; i < RLC_MD_LEN_SHONE; i++) {
ctx->rand[i] = buf[i];
}
ctx->seeded = 1;
}
#endif
|
9474a1b5fe7c5c2653038db4ede5069f143ce983
|
17d7357e5c5130ace022b3c9d9f98e7b13dda0ca
|
/src/meta/wii_ras.c
|
fe3c0d8bca412eb3da36b7071c4f6049079643ae
|
[
"ISC",
"LicenseRef-scancode-public-domain"
] |
permissive
|
vgmstream/vgmstream
|
4a7747bb75ff513f8fc8cc26f31d6e3a4150bc43
|
883d796d4b63c42810586e9f1ffbdcdd28c73ef5
|
refs/heads/master
| 2023-09-04T16:14:38.136915
| 2023-09-02T18:06:38
| 2023-09-02T18:06:38
| 5,591,410
| 762
| 137
|
NOASSERTION
| 2023-09-10T22:58:26
| 2012-08-28T20:08:24
|
C
|
UTF-8
|
C
| false
| false
| 1,921
|
c
|
wii_ras.c
|
#include "meta.h"
#include "../coding/coding.h"
/* RAS_ - from Donkey Kong Country Returns (Wii) */
VGMSTREAM * init_vgmstream_wii_ras(STREAMFILE *streamFile) {
VGMSTREAM * vgmstream = NULL;
off_t start_offset;
int loop_flag, channel_count;
/* checks */
if (!check_extensions(streamFile, "ras"))
goto fail;
if (read_32bitBE(0x00,streamFile) != 0x5241535F) /* "RAS_" */
goto fail;
loop_flag = 0;
if (read_32bitBE(0x30,streamFile) != 0 ||
read_32bitBE(0x34,streamFile) != 0 ||
read_32bitBE(0x38,streamFile) != 0 ||
read_32bitBE(0x3C,streamFile) != 0) {
loop_flag = 1;
}
channel_count = 2;
start_offset = read_32bitBE(0x18,streamFile);
/* build the VGMSTREAM */
vgmstream = allocate_vgmstream(channel_count,loop_flag);
if (!vgmstream) goto fail;
vgmstream->sample_rate = read_32bitBE(0x14,streamFile);
vgmstream->meta_type = meta_WII_RAS;
vgmstream->coding_type = coding_NGC_DSP;
vgmstream->layout_type = layout_interleave;
vgmstream->interleave_block_size = read_32bitBE(0x20,streamFile);
vgmstream->num_samples = read_32bitBE(0x1c,streamFile)/channel_count/8*14;
if (loop_flag) { /* loop is block + samples into block */
vgmstream->loop_start_sample = read_32bitBE(0x30,streamFile)*vgmstream->interleave_block_size/8*14 +
read_32bitBE(0x34,streamFile);
vgmstream->loop_end_sample = read_32bitBE(0x38,streamFile)*vgmstream->interleave_block_size/8*14 +
read_32bitBE(0x3C,streamFile);
}
dsp_read_coefs_be(vgmstream,streamFile,0x40,0x30);
if (!vgmstream_open_stream(vgmstream,streamFile,start_offset))
goto fail;
return vgmstream;
/* clean up anything we may have opened */
fail:
if (vgmstream) close_vgmstream(vgmstream);
return NULL;
}
|
a867a7f04eb3b2d9bc6595b358e52b5317ef51c6
|
d84c7df450292867f8c7bb58d1507735479d746d
|
/backends/hip-ref/ceed-hip-ref-basis.c
|
7043321b1e8ff894d09708e917d67649212a5a58
|
[
"BSD-2-Clause",
"BSD-3-Clause"
] |
permissive
|
CEED/libCEED
|
c17e8b2f8e9ccfafc0505bb6db451e2f7cfed690
|
c6c10e0994b55ea1726a79024cd4c333c40de38a
|
refs/heads/main
| 2023-09-01T20:13:21.268643
| 2023-09-01T20:08:36
| 2023-09-01T20:08:36
| 113,349,904
| 167
| 54
|
BSD-2-Clause
| 2023-09-14T20:37:58
| 2017-12-06T17:57:40
|
C
|
UTF-8
|
C
| false
| false
| 13,630
|
c
|
ceed-hip-ref-basis.c
|
// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
// All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
//
// SPDX-License-Identifier: BSD-2-Clause
//
// This file is part of CEED: http://github.com/ceed
#include <ceed.h>
#include <ceed/backend.h>
#include <ceed/jit-tools.h>
#include <hip/hip_runtime.h>
#include "../hip/ceed-hip-common.h"
#include "../hip/ceed-hip-compile.h"
#include "ceed-hip-ref.h"
//------------------------------------------------------------------------------
// Basis apply - tensor
//------------------------------------------------------------------------------
int CeedBasisApply_Hip(CeedBasis basis, const CeedInt num_elem, CeedTransposeMode t_mode, CeedEvalMode eval_mode, CeedVector u, CeedVector v) {
Ceed ceed;
CeedCallBackend(CeedBasisGetCeed(basis, &ceed));
Ceed_Hip *ceed_Hip;
CeedCallBackend(CeedGetData(ceed, &ceed_Hip));
CeedBasis_Hip *data;
CeedCallBackend(CeedBasisGetData(basis, &data));
const CeedInt transpose = t_mode == CEED_TRANSPOSE;
const int max_block_size = 64;
// Read vectors
const CeedScalar *d_u;
CeedScalar *d_v;
if (u != CEED_VECTOR_NONE) CeedCallBackend(CeedVectorGetArrayRead(u, CEED_MEM_DEVICE, &d_u));
else CeedCheck(eval_mode == CEED_EVAL_WEIGHT, ceed, CEED_ERROR_BACKEND, "An input vector is required for this CeedEvalMode");
CeedCallBackend(CeedVectorGetArrayWrite(v, CEED_MEM_DEVICE, &d_v));
// Clear v for transpose operation
if (t_mode == CEED_TRANSPOSE) {
CeedSize length;
CeedCallBackend(CeedVectorGetLength(v, &length));
CeedCallHip(ceed, hipMemset(d_v, 0, length * sizeof(CeedScalar)));
}
CeedInt Q_1d, dim;
CeedCallBackend(CeedBasisGetNumQuadraturePoints1D(basis, &Q_1d));
CeedCallBackend(CeedBasisGetDimension(basis, &dim));
// Basis action
switch (eval_mode) {
case CEED_EVAL_INTERP: {
void *interp_args[] = {(void *)&num_elem, (void *)&transpose, &data->d_interp_1d, &d_u, &d_v};
const CeedInt block_size = CeedIntMin(CeedIntPow(Q_1d, dim), max_block_size);
CeedCallBackend(CeedRunKernel_Hip(ceed, data->Interp, num_elem, block_size, interp_args));
} break;
case CEED_EVAL_GRAD: {
void *grad_args[] = {(void *)&num_elem, (void *)&transpose, &data->d_interp_1d, &data->d_grad_1d, &d_u, &d_v};
const CeedInt block_size = max_block_size;
CeedCallBackend(CeedRunKernel_Hip(ceed, data->Grad, num_elem, block_size, grad_args));
} break;
case CEED_EVAL_WEIGHT: {
void *weight_args[] = {(void *)&num_elem, (void *)&data->d_q_weight_1d, &d_v};
const int block_size_x = Q_1d;
const int block_size_y = dim >= 2 ? Q_1d : 1;
CeedCallBackend(CeedRunKernelDim_Hip(ceed, data->Weight, num_elem, block_size_x, block_size_y, 1, weight_args));
} break;
// LCOV_EXCL_START
// Evaluate the divergence to/from the quadrature points
case CEED_EVAL_DIV:
return CeedError(ceed, CEED_ERROR_BACKEND, "CEED_EVAL_DIV not supported");
// Evaluate the curl to/from the quadrature points
case CEED_EVAL_CURL:
return CeedError(ceed, CEED_ERROR_BACKEND, "CEED_EVAL_CURL not supported");
// Take no action, BasisApply should not have been called
case CEED_EVAL_NONE:
return CeedError(ceed, CEED_ERROR_BACKEND, "CEED_EVAL_NONE does not make sense in this context");
// LCOV_EXCL_STOP
}
// Restore vectors
if (eval_mode != CEED_EVAL_WEIGHT) {
CeedCallBackend(CeedVectorRestoreArrayRead(u, &d_u));
}
CeedCallBackend(CeedVectorRestoreArray(v, &d_v));
return CEED_ERROR_SUCCESS;
}
//------------------------------------------------------------------------------
// Basis apply - non-tensor
//------------------------------------------------------------------------------
int CeedBasisApplyNonTensor_Hip(CeedBasis basis, const CeedInt num_elem, CeedTransposeMode t_mode, CeedEvalMode eval_mode, CeedVector u,
CeedVector v) {
Ceed ceed;
CeedCallBackend(CeedBasisGetCeed(basis, &ceed));
Ceed_Hip *ceed_Hip;
CeedCallBackend(CeedGetData(ceed, &ceed_Hip));
CeedBasisNonTensor_Hip *data;
CeedCallBackend(CeedBasisGetData(basis, &data));
CeedInt num_nodes, num_qpts;
CeedCallBackend(CeedBasisGetNumQuadraturePoints(basis, &num_qpts));
CeedCallBackend(CeedBasisGetNumNodes(basis, &num_nodes));
const CeedInt transpose = t_mode == CEED_TRANSPOSE;
int elems_per_block = 1;
int grid = num_elem / elems_per_block + ((num_elem / elems_per_block * elems_per_block < num_elem) ? 1 : 0);
// Read vectors
const CeedScalar *d_u;
CeedScalar *d_v;
if (eval_mode != CEED_EVAL_WEIGHT) {
CeedCallBackend(CeedVectorGetArrayRead(u, CEED_MEM_DEVICE, &d_u));
}
CeedCallBackend(CeedVectorGetArrayWrite(v, CEED_MEM_DEVICE, &d_v));
// Clear v for transpose operation
if (t_mode == CEED_TRANSPOSE) {
CeedSize length;
CeedCallBackend(CeedVectorGetLength(v, &length));
CeedCallHip(ceed, hipMemset(d_v, 0, length * sizeof(CeedScalar)));
}
// Apply basis operation
switch (eval_mode) {
case CEED_EVAL_INTERP: {
void *interp_args[] = {(void *)&num_elem, (void *)&transpose, &data->d_interp, &d_u, &d_v};
const int block_size_x = transpose ? num_nodes : num_qpts;
CeedCallBackend(CeedRunKernelDim_Hip(ceed, data->Interp, grid, block_size_x, 1, elems_per_block, interp_args));
} break;
case CEED_EVAL_GRAD: {
void *grad_args[] = {(void *)&num_elem, (void *)&transpose, &data->d_grad, &d_u, &d_v};
const int block_size_x = transpose ? num_nodes : num_qpts;
CeedCallBackend(CeedRunKernelDim_Hip(ceed, data->Grad, grid, block_size_x, 1, elems_per_block, grad_args));
} break;
case CEED_EVAL_WEIGHT: {
void *weight_args[] = {(void *)&num_elem, (void *)&data->d_q_weight, &d_v};
CeedCallBackend(CeedRunKernelDim_Hip(ceed, data->Weight, grid, num_qpts, 1, elems_per_block, weight_args));
} break;
// LCOV_EXCL_START
// Evaluate the divergence to/from the quadrature points
case CEED_EVAL_DIV:
return CeedError(ceed, CEED_ERROR_BACKEND, "CEED_EVAL_DIV not supported");
// Evaluate the curl to/from the quadrature points
case CEED_EVAL_CURL:
return CeedError(ceed, CEED_ERROR_BACKEND, "CEED_EVAL_CURL not supported");
// Take no action, BasisApply should not have been called
case CEED_EVAL_NONE:
return CeedError(ceed, CEED_ERROR_BACKEND, "CEED_EVAL_NONE does not make sense in this context");
// LCOV_EXCL_STOP
}
// Restore vectors
if (eval_mode != CEED_EVAL_WEIGHT) {
CeedCallBackend(CeedVectorRestoreArrayRead(u, &d_u));
}
CeedCallBackend(CeedVectorRestoreArray(v, &d_v));
return CEED_ERROR_SUCCESS;
}
//------------------------------------------------------------------------------
// Destroy tensor basis
//------------------------------------------------------------------------------
static int CeedBasisDestroy_Hip(CeedBasis basis) {
Ceed ceed;
CeedCallBackend(CeedBasisGetCeed(basis, &ceed));
CeedBasis_Hip *data;
CeedCallBackend(CeedBasisGetData(basis, &data));
CeedCallHip(ceed, hipModuleUnload(data->module));
CeedCallHip(ceed, hipFree(data->d_q_weight_1d));
CeedCallHip(ceed, hipFree(data->d_interp_1d));
CeedCallHip(ceed, hipFree(data->d_grad_1d));
CeedCallBackend(CeedFree(&data));
return CEED_ERROR_SUCCESS;
}
//------------------------------------------------------------------------------
// Destroy non-tensor basis
//------------------------------------------------------------------------------
static int CeedBasisDestroyNonTensor_Hip(CeedBasis basis) {
Ceed ceed;
CeedCallBackend(CeedBasisGetCeed(basis, &ceed));
CeedBasisNonTensor_Hip *data;
CeedCallBackend(CeedBasisGetData(basis, &data));
CeedCallHip(ceed, hipModuleUnload(data->module));
CeedCallHip(ceed, hipFree(data->d_q_weight));
CeedCallHip(ceed, hipFree(data->d_interp));
CeedCallHip(ceed, hipFree(data->d_grad));
CeedCallBackend(CeedFree(&data));
return CEED_ERROR_SUCCESS;
}
//------------------------------------------------------------------------------
// Create tensor
//------------------------------------------------------------------------------
int CeedBasisCreateTensorH1_Hip(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
const CeedScalar *q_ref_1d, const CeedScalar *q_weight_1d, CeedBasis basis) {
Ceed ceed;
CeedCallBackend(CeedBasisGetCeed(basis, &ceed));
CeedBasis_Hip *data;
CeedCallBackend(CeedCalloc(1, &data));
// Copy data to GPU
const CeedInt q_bytes = Q_1d * sizeof(CeedScalar);
CeedCallHip(ceed, hipMalloc((void **)&data->d_q_weight_1d, q_bytes));
CeedCallHip(ceed, hipMemcpy(data->d_q_weight_1d, q_weight_1d, q_bytes, hipMemcpyHostToDevice));
const CeedInt interp_bytes = q_bytes * P_1d;
CeedCallHip(ceed, hipMalloc((void **)&data->d_interp_1d, interp_bytes));
CeedCallHip(ceed, hipMemcpy(data->d_interp_1d, interp_1d, interp_bytes, hipMemcpyHostToDevice));
CeedCallHip(ceed, hipMalloc((void **)&data->d_grad_1d, interp_bytes));
CeedCallHip(ceed, hipMemcpy(data->d_grad_1d, grad_1d, interp_bytes, hipMemcpyHostToDevice));
// Compile basis kernels
CeedInt ncomp;
CeedCallBackend(CeedBasisGetNumComponents(basis, &ncomp));
char *basis_kernel_path, *basis_kernel_source;
CeedCallBackend(CeedGetJitAbsolutePath(ceed, "ceed/jit-source/hip/hip-ref-basis-tensor.h", &basis_kernel_path));
CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "----- Loading Basis Kernel Source -----\n");
CeedCallBackend(CeedLoadSourceToBuffer(ceed, basis_kernel_path, &basis_kernel_source));
CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "----- Loading Basis Kernel Source Complete! -----\n");
CeedCallBackend(CeedCompile_Hip(ceed, basis_kernel_source, &data->module, 7, "BASIS_Q_1D", Q_1d, "BASIS_P_1D", P_1d, "BASIS_BUF_LEN",
ncomp * CeedIntPow(Q_1d > P_1d ? Q_1d : P_1d, dim), "BASIS_DIM", dim, "BASIS_NUM_COMP", ncomp, "BASIS_NUM_NODES",
CeedIntPow(P_1d, dim), "BASIS_NUM_QPTS", CeedIntPow(Q_1d, dim)));
CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, "Interp", &data->Interp));
CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, "Grad", &data->Grad));
CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, "Weight", &data->Weight));
CeedCallBackend(CeedFree(&basis_kernel_path));
CeedCallBackend(CeedFree(&basis_kernel_source));
CeedCallBackend(CeedBasisSetData(basis, data));
CeedCallBackend(CeedSetBackendFunction(ceed, "Basis", basis, "Apply", CeedBasisApply_Hip));
CeedCallBackend(CeedSetBackendFunction(ceed, "Basis", basis, "Destroy", CeedBasisDestroy_Hip));
return CEED_ERROR_SUCCESS;
}
//------------------------------------------------------------------------------
// Create non-tensor
//------------------------------------------------------------------------------
int CeedBasisCreateH1_Hip(CeedElemTopology topo, CeedInt dim, CeedInt num_nodes, CeedInt num_qpts, const CeedScalar *interp, const CeedScalar *grad,
const CeedScalar *q_ref, const CeedScalar *q_weight, CeedBasis basis) {
Ceed ceed;
CeedCallBackend(CeedBasisGetCeed(basis, &ceed));
CeedBasisNonTensor_Hip *data;
CeedCallBackend(CeedCalloc(1, &data));
// Copy basis data to GPU
const CeedInt q_bytes = num_qpts * sizeof(CeedScalar);
CeedCallHip(ceed, hipMalloc((void **)&data->d_q_weight, q_bytes));
CeedCallHip(ceed, hipMemcpy(data->d_q_weight, q_weight, q_bytes, hipMemcpyHostToDevice));
const CeedInt interp_bytes = q_bytes * num_nodes;
CeedCallHip(ceed, hipMalloc((void **)&data->d_interp, interp_bytes));
CeedCallHip(ceed, hipMemcpy(data->d_interp, interp, interp_bytes, hipMemcpyHostToDevice));
const CeedInt grad_bytes = q_bytes * num_nodes * dim;
CeedCallHip(ceed, hipMalloc((void **)&data->d_grad, grad_bytes));
CeedCallHip(ceed, hipMemcpy(data->d_grad, grad, grad_bytes, hipMemcpyHostToDevice));
// Compile basis kernels
CeedInt ncomp;
CeedCallBackend(CeedBasisGetNumComponents(basis, &ncomp));
char *basis_kernel_path, *basis_kernel_source;
CeedCallBackend(CeedGetJitAbsolutePath(ceed, "ceed/jit-source/hip/hip-ref-basis-nontensor.h", &basis_kernel_path));
CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "----- Loading Basis Kernel Source -----\n");
CeedCallBackend(CeedLoadSourceToBuffer(ceed, basis_kernel_path, &basis_kernel_source));
CeedDebug256(ceed, CEED_DEBUG_COLOR_SUCCESS, "----- Loading Basis Kernel Source Complete! -----\n");
CeedCallBackend(CeedCompile_Hip(ceed, basis_kernel_source, &data->module, 4, "BASIS_Q", num_qpts, "BASIS_P", num_nodes, "BASIS_DIM", dim,
"BASIS_NUM_COMP", ncomp));
CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, "Interp", &data->Interp));
CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, "Grad", &data->Grad));
CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, "Weight", &data->Weight));
CeedCallBackend(CeedFree(&basis_kernel_path));
CeedCallBackend(CeedFree(&basis_kernel_source));
CeedCallBackend(CeedBasisSetData(basis, data));
// Register backend functions
CeedCallBackend(CeedSetBackendFunction(ceed, "Basis", basis, "Apply", CeedBasisApplyNonTensor_Hip));
CeedCallBackend(CeedSetBackendFunction(ceed, "Basis", basis, "Destroy", CeedBasisDestroyNonTensor_Hip));
return CEED_ERROR_SUCCESS;
}
//------------------------------------------------------------------------------
|
734a81e74219cf1338df82c56c49c6d4953ad686
|
2898fa4f2ad766afa0495a837f59fe95daa081a7
|
/tests/unit-pass/920625-1.c
|
4a3b72fde208749a386c3dcd667f4b59172e7120
|
[
"NCSA"
] |
permissive
|
kframework/c-semantics
|
12fcc1b1bf1f7792636d1c37f6f7bb1b89a392b5
|
e6879d14455771aa0cb3e3d201131d4d763a73a2
|
refs/heads/master
| 2023-07-31T23:57:03.316456
| 2022-02-01T17:50:31
| 2022-02-01T17:50:31
| 11,747,541
| 312
| 52
|
NOASSERTION
| 2022-02-01T17:50:33
| 2013-07-29T19:13:25
|
C
|
UTF-8
|
C
| false
| false
| 759
|
c
|
920625-1.c
|
#include <stdlib.h>
#include <stdarg.h>
typedef struct{double x,y;}point;
point pts[]={{1.0,2.0},{3.0,4.0},{5.0,6.0},{7.0,8.0}};
static int va1(int nargs,...)
{
va_list args;
int i;
point pi;
va_start(args,nargs);
for(i=0;i<nargs;i++){
pi=va_arg(args,point);
if(pts[i].x!=pi.x||pts[i].y!=pi.y)abort();
}
va_end(args);
return 0;
}
typedef struct{int x,y;}ipoint;
ipoint ipts[]={{1,2},{3,4},{5,6},{7,8}};
static int va2(int nargs,...)
{
va_list args;
int i;
ipoint pi;
va_start(args,nargs);
for(i=0;i<nargs;i++){
pi=va_arg(args,ipoint);
if(ipts[i].x!=pi.x||ipts[i].y!=pi.y)abort();
}
va_end(args);
return 0;
}
int main()
{
va1(4,pts[0],pts[1],pts[2],pts[3]);
va2(4,ipts[0],ipts[1],ipts[2],ipts[3]);
exit(0);
}
|
1153c0eea9f00781d2e293d727601c1e8fd2cbd5
|
a5f3b0001cdb692aeffc444a16f79a0c4422b9d0
|
/main/connectivity/source/drivers/evoab2/EApi.h
|
f0b2021397b2c5cbc9acf1de3c474fc4be4ce8e6
|
[
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
"OpenSSL",
"LicenseRef-scancode-cpl-0.5",
"GPL-1.0-or-later",
"NPL-1.1",
"MIT",
"MPL-2.0",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-unknown-license-reference",
"MPL-1.0",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSL-1.0",
"LicenseRef-scancode-docbook",
"LicenseRef-scancode-mit-old-style",
"Python-2.0",
"BSD-3-Clause",
"IJG",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-or-later",
"LGPL-2.0-only",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"BSD-2-Clause",
"Autoconf-exception-generic",
"PSF-2.0",
"NTP",
"LicenseRef-scancode-python-cwi",
"Afmparse",
"W3C",
"W3C-19980720",
"curl",
"LicenseRef-scancode-x11-xconsortium-veillard",
"Bitstream-Vera",
"HPND-sell-variant",
"ICU"
] |
permissive
|
apache/openoffice
|
b9518e36d784898c6c2ea3ebd44458a5e47825bb
|
681286523c50f34f13f05f7b87ce0c70e28295de
|
refs/heads/trunk
| 2023-08-30T15:25:48.357535
| 2023-08-28T19:50:26
| 2023-08-28T19:50:26
| 14,357,669
| 907
| 379
|
Apache-2.0
| 2023-08-16T20:49:37
| 2013-11-13T08:00:13
|
C++
|
UTF-8
|
C
| false
| false
| 5,082
|
h
|
EApi.h
|
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef _CONNECTIVITY_EVOAB_EVOLUTION_API_HXX_
#define _CONNECTIVITY_EVOAB_EVOLUTION_API_HXX_
#include <glib-object.h>
// Initializes the API below, returns false if not available
bool EApiInit();
G_BEGIN_DECLS
// This header defined all the API methods as
// function pointers instead of real functions
// this will all evaporate as it is compiled generating
// no symbol lookups or relocations, but giving code
// clarity.
// We attempt to define a minimum API that we use:
// e-contact.h
#ifdef DECLARE_FN_POINTERS
#define EAPI_EXTERN
#else
#define EAPI_EXTERN extern
#endif
typedef void EContact;
#define E_CONTACT(a) ((EContact *)(a))
#define E_TYPE_CONTACT (e_contact_get_type())
typedef int EContactField;
EAPI_EXTERN const char *(*e_contact_field_name) ( EContactField field_id);
EAPI_EXTERN gpointer (*e_contact_get) (EContact *contact, EContactField field_id);
EAPI_EXTERN gconstpointer (*e_contact_get_const) (EContact *contact, EContactField field_id);
// e-source.h
typedef void ESource;
#define E_SOURCE(a) ((ESource *)(a))
EAPI_EXTERN const char *(*e_source_peek_name) (ESource *source);
EAPI_EXTERN const gchar *(*e_source_get_property) (ESource *source,
const gchar *property);
EAPI_EXTERN GType (*e_contact_get_type) (void);
EAPI_EXTERN EContactField (*e_contact_field_id) (const char *field_name);
// e-source-list.h
typedef void ESourceList;
EAPI_EXTERN GSList *(*e_source_list_peek_groups) (ESourceList *list);
// e-source-group.h
typedef void ESourceGroup;
#define E_SOURCE_GROUP(a) ((ESourceGroup *)(a))
EAPI_EXTERN GSList *(*e_source_group_peek_sources) (ESourceGroup *group);
EAPI_EXTERN const char *(*e_source_group_peek_base_uri) (ESourceGroup *group);
// e-book.h
typedef enum {
E_BOOK_QUERY_IS,
E_BOOK_QUERY_CONTAINS,
E_BOOK_QUERY_BEGINS_WITH,
E_BOOK_QUERY_ENDS_WITH,
} EBookQueryTest;
typedef void EBook;
typedef void EBookQuery;
EAPI_EXTERN EBook *(*e_book_new) (ESource *source,
GError **error);
EAPI_EXTERN gboolean (*e_book_open) (EBook *book,
gboolean only_if_exists,
GError **error);
EAPI_EXTERN const char *(*e_book_get_uri) (EBook *book);
EAPI_EXTERN ESource *(*e_book_get_source)(EBook *book);
EAPI_EXTERN gboolean (*e_book_get_addressbooks) (ESourceList **addressbook_sources,
GError **error);
EAPI_EXTERN gboolean (*e_book_get_contacts) (EBook *book,
EBookQuery *query,
GList **contacts,
GError **error);
EAPI_EXTERN gboolean (*e_book_authenticate_user) (EBook *book,
const char *user,
const char *passwd,
const char *auth_method,
GError **error);
// e-book-query.h
EAPI_EXTERN EBookQuery* (*e_book_query_field_exists) (EContactField field);
EAPI_EXTERN EBookQuery* (*e_book_query_field_test) (EContactField field,
EBookQueryTest test,
const char *value);
EAPI_EXTERN EBookQuery* (*e_book_query_and) (int nqs, EBookQuery **qs, gboolean unref);
EAPI_EXTERN EBookQuery* (*e_book_query_or) (int nqs, EBookQuery **qs, gboolean unref);
EAPI_EXTERN EBookQuery* (*e_book_query_not) (EBookQuery *q, gboolean unref);
EAPI_EXTERN EBookQuery* (*e_book_query_ref) (EBookQuery *q);
EAPI_EXTERN void (*e_book_query_unref) (EBookQuery *q);
EAPI_EXTERN char* (*e_book_query_to_string) (EBookQuery *q);
EAPI_EXTERN EBookQuery* (*e_book_query_from_string) (const char *query_string);
typedef struct {
char *address_format; /* the two letter country code that
determines the format/meaning of the
following fields */
char *po;
char *ext;
char *street;
char *locality;
char *region;
char *code;
char *country;
} EContactAddress;
G_END_DECLS
#endif
|
1bb8b720e09255407099548d8a4a61521b2a0ce4
|
37d9a387a3390121babc69be3c1adb4d59a5e556
|
/tests/nestest/nestestlog.h
|
4b7f5f127ac563addffcc2ecf89c21f5f1913f7f
|
[
"MIT"
] |
permissive
|
floooh/chips-test
|
4439c514b64ff89062ba8bc44a1b09f801bb95c5
|
a9725b6f5e6ebb1dcd1fc48dd6de6d8497c48b75
|
refs/heads/master
| 2023-08-04T22:43:36.659129
| 2023-07-23T15:12:51
| 2023-07-23T15:12:51
| 111,103,036
| 372
| 41
|
MIT
| 2023-01-10T19:30:00
| 2017-11-17T12:50:40
|
C
|
UTF-8
|
C
| false
| false
| 674,518
|
h
|
nestestlog.h
|
// #version:5#
// machine generated, do not edit!
#include <stdint.h>
typedef struct {
const char* desc;
uint16_t PC;
uint8_t A,X,Y,P,S;
} cpu_state;
cpu_state state_table[] = {
{ "JMP $C5F5 ", 0xC000,0x00,0x00,0x00,0x24,0xFD },
{ "LDX #$00 ", 0xC5F5,0x00,0x00,0x00,0x24,0xFD },
{ "STX $00 = 00 ", 0xC5F7,0x00,0x00,0x00,0x26,0xFD },
{ "STX $10 = 00 ", 0xC5F9,0x00,0x00,0x00,0x26,0xFD },
{ "STX $11 = 00 ", 0xC5FB,0x00,0x00,0x00,0x26,0xFD },
{ "JSR $C72D ", 0xC5FD,0x00,0x00,0x00,0x26,0xFD },
{ "NOP ", 0xC72D,0x00,0x00,0x00,0x26,0xFB },
{ "SEC ", 0xC72E,0x00,0x00,0x00,0x26,0xFB },
{ "BCS $C735 ", 0xC72F,0x00,0x00,0x00,0x27,0xFB },
{ "NOP ", 0xC735,0x00,0x00,0x00,0x27,0xFB },
{ "CLC ", 0xC736,0x00,0x00,0x00,0x27,0xFB },
{ "BCS $C73C ", 0xC737,0x00,0x00,0x00,0x26,0xFB },
{ "JMP $C740 ", 0xC739,0x00,0x00,0x00,0x26,0xFB },
{ "NOP ", 0xC740,0x00,0x00,0x00,0x26,0xFB },
{ "SEC ", 0xC741,0x00,0x00,0x00,0x26,0xFB },
{ "BCC $C747 ", 0xC742,0x00,0x00,0x00,0x27,0xFB },
{ "JMP $C74B ", 0xC744,0x00,0x00,0x00,0x27,0xFB },
{ "NOP ", 0xC74B,0x00,0x00,0x00,0x27,0xFB },
{ "CLC ", 0xC74C,0x00,0x00,0x00,0x27,0xFB },
{ "BCC $C753 ", 0xC74D,0x00,0x00,0x00,0x26,0xFB },
{ "NOP ", 0xC753,0x00,0x00,0x00,0x26,0xFB },
{ "LDA #$00 ", 0xC754,0x00,0x00,0x00,0x26,0xFB },
{ "BEQ $C75C ", 0xC756,0x00,0x00,0x00,0x26,0xFB },
{ "NOP ", 0xC75C,0x00,0x00,0x00,0x26,0xFB },
{ "LDA #$40 ", 0xC75D,0x00,0x00,0x00,0x26,0xFB },
{ "BEQ $C764 ", 0xC75F,0x40,0x00,0x00,0x24,0xFB },
{ "JMP $C768 ", 0xC761,0x40,0x00,0x00,0x24,0xFB },
{ "NOP ", 0xC768,0x40,0x00,0x00,0x24,0xFB },
{ "LDA #$40 ", 0xC769,0x40,0x00,0x00,0x24,0xFB },
{ "BNE $C771 ", 0xC76B,0x40,0x00,0x00,0x24,0xFB },
{ "NOP ", 0xC771,0x40,0x00,0x00,0x24,0xFB },
{ "LDA #$00 ", 0xC772,0x40,0x00,0x00,0x24,0xFB },
{ "BNE $C779 ", 0xC774,0x00,0x00,0x00,0x26,0xFB },
{ "JMP $C77D ", 0xC776,0x00,0x00,0x00,0x26,0xFB },
{ "NOP ", 0xC77D,0x00,0x00,0x00,0x26,0xFB },
{ "LDA #$FF ", 0xC77E,0x00,0x00,0x00,0x26,0xFB },
{ "STA $01 = 00 ", 0xC780,0xFF,0x00,0x00,0xA4,0xFB },
{ "BIT $01 = FF ", 0xC782,0xFF,0x00,0x00,0xA4,0xFB },
{ "BVS $C78A ", 0xC784,0xFF,0x00,0x00,0xE4,0xFB },
{ "NOP ", 0xC78A,0xFF,0x00,0x00,0xE4,0xFB },
{ "BIT $01 = FF ", 0xC78B,0xFF,0x00,0x00,0xE4,0xFB },
{ "BVC $C792 ", 0xC78D,0xFF,0x00,0x00,0xE4,0xFB },
{ "JMP $C796 ", 0xC78F,0xFF,0x00,0x00,0xE4,0xFB },
{ "NOP ", 0xC796,0xFF,0x00,0x00,0xE4,0xFB },
{ "LDA #$00 ", 0xC797,0xFF,0x00,0x00,0xE4,0xFB },
{ "STA $01 = FF ", 0xC799,0x00,0x00,0x00,0x66,0xFB },
{ "BIT $01 = 00 ", 0xC79B,0x00,0x00,0x00,0x66,0xFB },
{ "BVC $C7A3 ", 0xC79D,0x00,0x00,0x00,0x26,0xFB },
{ "NOP ", 0xC7A3,0x00,0x00,0x00,0x26,0xFB },
{ "BIT $01 = 00 ", 0xC7A4,0x00,0x00,0x00,0x26,0xFB },
{ "BVS $C7AB ", 0xC7A6,0x00,0x00,0x00,0x26,0xFB },
{ "JMP $C7AF ", 0xC7A8,0x00,0x00,0x00,0x26,0xFB },
{ "NOP ", 0xC7AF,0x00,0x00,0x00,0x26,0xFB },
{ "LDA #$00 ", 0xC7B0,0x00,0x00,0x00,0x26,0xFB },
{ "BPL $C7B8 ", 0xC7B2,0x00,0x00,0x00,0x26,0xFB },
{ "NOP ", 0xC7B8,0x00,0x00,0x00,0x26,0xFB },
{ "LDA #$80 ", 0xC7B9,0x00,0x00,0x00,0x26,0xFB },
{ "BPL $C7C0 ", 0xC7BB,0x80,0x00,0x00,0xA4,0xFB },
{ "JMP $C7D9 ", 0xC7BD,0x80,0x00,0x00,0xA4,0xFB },
{ "NOP ", 0xC7D9,0x80,0x00,0x00,0xA4,0xFB },
{ "RTS ", 0xC7DA,0x80,0x00,0x00,0xA4,0xFB },
{ "JSR $C7DB ", 0xC600,0x80,0x00,0x00,0xA4,0xFD },
{ "NOP ", 0xC7DB,0x80,0x00,0x00,0xA4,0xFB },
{ "LDA #$FF ", 0xC7DC,0x80,0x00,0x00,0xA4,0xFB },
{ "STA $01 = 00 ", 0xC7DE,0xFF,0x00,0x00,0xA4,0xFB },
{ "BIT $01 = FF ", 0xC7E0,0xFF,0x00,0x00,0xA4,0xFB },
{ "LDA #$00 ", 0xC7E2,0xFF,0x00,0x00,0xE4,0xFB },
{ "SEC ", 0xC7E4,0x00,0x00,0x00,0x66,0xFB },
{ "SEI ", 0xC7E5,0x00,0x00,0x00,0x67,0xFB },
{ "SED ", 0xC7E6,0x00,0x00,0x00,0x67,0xFB },
{ "PHP ", 0xC7E7,0x00,0x00,0x00,0x6F,0xFB },
{ "PLA ", 0xC7E8,0x00,0x00,0x00,0x6F,0xFA },
{ "AND #$EF ", 0xC7E9,0x7F,0x00,0x00,0x6D,0xFB },
{ "CMP #$6F ", 0xC7EB,0x6F,0x00,0x00,0x6D,0xFB },
{ "BEQ $C7F3 ", 0xC7ED,0x6F,0x00,0x00,0x6F,0xFB },
{ "NOP ", 0xC7F3,0x6F,0x00,0x00,0x6F,0xFB },
{ "LDA #$40 ", 0xC7F4,0x6F,0x00,0x00,0x6F,0xFB },
{ "STA $01 = FF ", 0xC7F6,0x40,0x00,0x00,0x6D,0xFB },
{ "BIT $01 = 40 ", 0xC7F8,0x40,0x00,0x00,0x6D,0xFB },
{ "CLD ", 0xC7FA,0x40,0x00,0x00,0x6D,0xFB },
{ "LDA #$10 ", 0xC7FB,0x40,0x00,0x00,0x65,0xFB },
{ "CLC ", 0xC7FD,0x10,0x00,0x00,0x65,0xFB },
{ "PHP ", 0xC7FE,0x10,0x00,0x00,0x64,0xFB },
{ "PLA ", 0xC7FF,0x10,0x00,0x00,0x64,0xFA },
{ "AND #$EF ", 0xC800,0x74,0x00,0x00,0x64,0xFB },
{ "CMP #$64 ", 0xC802,0x64,0x00,0x00,0x64,0xFB },
{ "BEQ $C80A ", 0xC804,0x64,0x00,0x00,0x67,0xFB },
{ "NOP ", 0xC80A,0x64,0x00,0x00,0x67,0xFB },
{ "LDA #$80 ", 0xC80B,0x64,0x00,0x00,0x67,0xFB },
{ "STA $01 = 40 ", 0xC80D,0x80,0x00,0x00,0xE5,0xFB },
{ "BIT $01 = 80 ", 0xC80F,0x80,0x00,0x00,0xE5,0xFB },
{ "SED ", 0xC811,0x80,0x00,0x00,0xA5,0xFB },
{ "LDA #$00 ", 0xC812,0x80,0x00,0x00,0xAD,0xFB },
{ "SEC ", 0xC814,0x00,0x00,0x00,0x2F,0xFB },
{ "PHP ", 0xC815,0x00,0x00,0x00,0x2F,0xFB },
{ "PLA ", 0xC816,0x00,0x00,0x00,0x2F,0xFA },
{ "AND #$EF ", 0xC817,0x3F,0x00,0x00,0x2D,0xFB },
{ "CMP #$2F ", 0xC819,0x2F,0x00,0x00,0x2D,0xFB },
{ "BEQ $C821 ", 0xC81B,0x2F,0x00,0x00,0x2F,0xFB },
{ "NOP ", 0xC821,0x2F,0x00,0x00,0x2F,0xFB },
{ "LDA #$FF ", 0xC822,0x2F,0x00,0x00,0x2F,0xFB },
{ "PHA ", 0xC824,0xFF,0x00,0x00,0xAD,0xFB },
{ "PLP ", 0xC825,0xFF,0x00,0x00,0xAD,0xFA },
{ "BNE $C831 ", 0xC826,0xFF,0x00,0x00,0xEF,0xFB },
{ "BPL $C831 ", 0xC828,0xFF,0x00,0x00,0xEF,0xFB },
{ "BVC $C831 ", 0xC82A,0xFF,0x00,0x00,0xEF,0xFB },
{ "BCC $C831 ", 0xC82C,0xFF,0x00,0x00,0xEF,0xFB },
{ "JMP $C835 ", 0xC82E,0xFF,0x00,0x00,0xEF,0xFB },
{ "NOP ", 0xC835,0xFF,0x00,0x00,0xEF,0xFB },
{ "LDA #$04 ", 0xC836,0xFF,0x00,0x00,0xEF,0xFB },
{ "PHA ", 0xC838,0x04,0x00,0x00,0x6D,0xFB },
{ "PLP ", 0xC839,0x04,0x00,0x00,0x6D,0xFA },
{ "BEQ $C845 ", 0xC83A,0x04,0x00,0x00,0x24,0xFB },
{ "BMI $C845 ", 0xC83C,0x04,0x00,0x00,0x24,0xFB },
{ "BVS $C845 ", 0xC83E,0x04,0x00,0x00,0x24,0xFB },
{ "BCS $C845 ", 0xC840,0x04,0x00,0x00,0x24,0xFB },
{ "JMP $C849 ", 0xC842,0x04,0x00,0x00,0x24,0xFB },
{ "NOP ", 0xC849,0x04,0x00,0x00,0x24,0xFB },
{ "SED ", 0xC84A,0x04,0x00,0x00,0x24,0xFB },
{ "LDA #$FF ", 0xC84B,0x04,0x00,0x00,0x2C,0xFB },
{ "STA $01 = 80 ", 0xC84D,0xFF,0x00,0x00,0xAC,0xFB },
{ "BIT $01 = FF ", 0xC84F,0xFF,0x00,0x00,0xAC,0xFB },
{ "CLC ", 0xC851,0xFF,0x00,0x00,0xEC,0xFB },
{ "LDA #$00 ", 0xC852,0xFF,0x00,0x00,0xEC,0xFB },
{ "PHA ", 0xC854,0x00,0x00,0x00,0x6E,0xFB },
{ "LDA #$FF ", 0xC855,0x00,0x00,0x00,0x6E,0xFA },
{ "PLA ", 0xC857,0xFF,0x00,0x00,0xEC,0xFA },
{ "BNE $C863 ", 0xC858,0x00,0x00,0x00,0x6E,0xFB },
{ "BMI $C863 ", 0xC85A,0x00,0x00,0x00,0x6E,0xFB },
{ "BVC $C863 ", 0xC85C,0x00,0x00,0x00,0x6E,0xFB },
{ "BCS $C863 ", 0xC85E,0x00,0x00,0x00,0x6E,0xFB },
{ "JMP $C867 ", 0xC860,0x00,0x00,0x00,0x6E,0xFB },
{ "NOP ", 0xC867,0x00,0x00,0x00,0x6E,0xFB },
{ "LDA #$00 ", 0xC868,0x00,0x00,0x00,0x6E,0xFB },
{ "STA $01 = FF ", 0xC86A,0x00,0x00,0x00,0x6E,0xFB },
{ "BIT $01 = 00 ", 0xC86C,0x00,0x00,0x00,0x6E,0xFB },
{ "SEC ", 0xC86E,0x00,0x00,0x00,0x2E,0xFB },
{ "LDA #$FF ", 0xC86F,0x00,0x00,0x00,0x2F,0xFB },
{ "PHA ", 0xC871,0xFF,0x00,0x00,0xAD,0xFB },
{ "LDA #$00 ", 0xC872,0xFF,0x00,0x00,0xAD,0xFA },
{ "PLA ", 0xC874,0x00,0x00,0x00,0x2F,0xFA },
{ "BEQ $C880 ", 0xC875,0xFF,0x00,0x00,0xAD,0xFB },
{ "BPL $C880 ", 0xC877,0xFF,0x00,0x00,0xAD,0xFB },
{ "BVS $C880 ", 0xC879,0xFF,0x00,0x00,0xAD,0xFB },
{ "BCC $C880 ", 0xC87B,0xFF,0x00,0x00,0xAD,0xFB },
{ "JMP $C884 ", 0xC87D,0xFF,0x00,0x00,0xAD,0xFB },
{ "RTS ", 0xC884,0xFF,0x00,0x00,0xAD,0xFB },
{ "JSR $C885 ", 0xC603,0xFF,0x00,0x00,0xAD,0xFD },
{ "NOP ", 0xC885,0xFF,0x00,0x00,0xAD,0xFB },
{ "CLC ", 0xC886,0xFF,0x00,0x00,0xAD,0xFB },
{ "LDA #$FF ", 0xC887,0xFF,0x00,0x00,0xAC,0xFB },
{ "STA $01 = 00 ", 0xC889,0xFF,0x00,0x00,0xAC,0xFB },
{ "BIT $01 = FF ", 0xC88B,0xFF,0x00,0x00,0xAC,0xFB },
{ "LDA #$55 ", 0xC88D,0xFF,0x00,0x00,0xEC,0xFB },
{ "ORA #$AA ", 0xC88F,0x55,0x00,0x00,0x6C,0xFB },
{ "BCS $C89E ", 0xC891,0xFF,0x00,0x00,0xEC,0xFB },
{ "BPL $C89E ", 0xC893,0xFF,0x00,0x00,0xEC,0xFB },
{ "CMP #$FF ", 0xC895,0xFF,0x00,0x00,0xEC,0xFB },
{ "BNE $C89E ", 0xC897,0xFF,0x00,0x00,0x6F,0xFB },
{ "BVC $C89E ", 0xC899,0xFF,0x00,0x00,0x6F,0xFB },
{ "JMP $C8A2 ", 0xC89B,0xFF,0x00,0x00,0x6F,0xFB },
{ "NOP ", 0xC8A2,0xFF,0x00,0x00,0x6F,0xFB },
{ "SEC ", 0xC8A3,0xFF,0x00,0x00,0x6F,0xFB },
{ "CLV ", 0xC8A4,0xFF,0x00,0x00,0x6F,0xFB },
{ "LDA #$00 ", 0xC8A5,0xFF,0x00,0x00,0x2F,0xFB },
{ "ORA #$00 ", 0xC8A7,0x00,0x00,0x00,0x2F,0xFB },
{ "BNE $C8B4 ", 0xC8A9,0x00,0x00,0x00,0x2F,0xFB },
{ "BVS $C8B4 ", 0xC8AB,0x00,0x00,0x00,0x2F,0xFB },
{ "BCC $C8B4 ", 0xC8AD,0x00,0x00,0x00,0x2F,0xFB },
{ "BMI $C8B4 ", 0xC8AF,0x00,0x00,0x00,0x2F,0xFB },
{ "JMP $C8B8 ", 0xC8B1,0x00,0x00,0x00,0x2F,0xFB },
{ "NOP ", 0xC8B8,0x00,0x00,0x00,0x2F,0xFB },
{ "CLC ", 0xC8B9,0x00,0x00,0x00,0x2F,0xFB },
{ "BIT $01 = FF ", 0xC8BA,0x00,0x00,0x00,0x2E,0xFB },
{ "LDA #$55 ", 0xC8BC,0x00,0x00,0x00,0xEE,0xFB },
{ "AND #$AA ", 0xC8BE,0x55,0x00,0x00,0x6C,0xFB },
{ "BNE $C8CB ", 0xC8C0,0x00,0x00,0x00,0x6E,0xFB },
{ "BVC $C8CB ", 0xC8C2,0x00,0x00,0x00,0x6E,0xFB },
{ "BCS $C8CB ", 0xC8C4,0x00,0x00,0x00,0x6E,0xFB },
{ "BMI $C8CB ", 0xC8C6,0x00,0x00,0x00,0x6E,0xFB },
{ "JMP $C8CF ", 0xC8C8,0x00,0x00,0x00,0x6E,0xFB },
{ "NOP ", 0xC8CF,0x00,0x00,0x00,0x6E,0xFB },
{ "SEC ", 0xC8D0,0x00,0x00,0x00,0x6E,0xFB },
{ "CLV ", 0xC8D1,0x00,0x00,0x00,0x6F,0xFB },
{ "LDA #$F8 ", 0xC8D2,0x00,0x00,0x00,0x2F,0xFB },
{ "AND #$EF ", 0xC8D4,0xF8,0x00,0x00,0xAD,0xFB },
{ "BCC $C8E3 ", 0xC8D6,0xE8,0x00,0x00,0xAD,0xFB },
{ "BPL $C8E3 ", 0xC8D8,0xE8,0x00,0x00,0xAD,0xFB },
{ "CMP #$E8 ", 0xC8DA,0xE8,0x00,0x00,0xAD,0xFB },
{ "BNE $C8E3 ", 0xC8DC,0xE8,0x00,0x00,0x2F,0xFB },
{ "BVS $C8E3 ", 0xC8DE,0xE8,0x00,0x00,0x2F,0xFB },
{ "JMP $C8E7 ", 0xC8E0,0xE8,0x00,0x00,0x2F,0xFB },
{ "NOP ", 0xC8E7,0xE8,0x00,0x00,0x2F,0xFB },
{ "CLC ", 0xC8E8,0xE8,0x00,0x00,0x2F,0xFB },
{ "BIT $01 = FF ", 0xC8E9,0xE8,0x00,0x00,0x2E,0xFB },
{ "LDA #$5F ", 0xC8EB,0xE8,0x00,0x00,0xEC,0xFB },
{ "EOR #$AA ", 0xC8ED,0x5F,0x00,0x00,0x6C,0xFB },
{ "BCS $C8FC ", 0xC8EF,0xF5,0x00,0x00,0xEC,0xFB },
{ "BPL $C8FC ", 0xC8F1,0xF5,0x00,0x00,0xEC,0xFB },
{ "CMP #$F5 ", 0xC8F3,0xF5,0x00,0x00,0xEC,0xFB },
{ "BNE $C8FC ", 0xC8F5,0xF5,0x00,0x00,0x6F,0xFB },
{ "BVC $C8FC ", 0xC8F7,0xF5,0x00,0x00,0x6F,0xFB },
{ "JMP $C900 ", 0xC8F9,0xF5,0x00,0x00,0x6F,0xFB },
{ "NOP ", 0xC900,0xF5,0x00,0x00,0x6F,0xFB },
{ "SEC ", 0xC901,0xF5,0x00,0x00,0x6F,0xFB },
{ "CLV ", 0xC902,0xF5,0x00,0x00,0x6F,0xFB },
{ "LDA #$70 ", 0xC903,0xF5,0x00,0x00,0x2F,0xFB },
{ "EOR #$70 ", 0xC905,0x70,0x00,0x00,0x2D,0xFB },
{ "BNE $C912 ", 0xC907,0x00,0x00,0x00,0x2F,0xFB },
{ "BVS $C912 ", 0xC909,0x00,0x00,0x00,0x2F,0xFB },
{ "BCC $C912 ", 0xC90B,0x00,0x00,0x00,0x2F,0xFB },
{ "BMI $C912 ", 0xC90D,0x00,0x00,0x00,0x2F,0xFB },
{ "JMP $C916 ", 0xC90F,0x00,0x00,0x00,0x2F,0xFB },
{ "NOP ", 0xC916,0x00,0x00,0x00,0x2F,0xFB },
{ "CLC ", 0xC917,0x00,0x00,0x00,0x2F,0xFB },
{ "BIT $01 = FF ", 0xC918,0x00,0x00,0x00,0x2E,0xFB },
{ "LDA #$00 ", 0xC91A,0x00,0x00,0x00,0xEE,0xFB },
{ "ADC #$69 ", 0xC91C,0x00,0x00,0x00,0x6E,0xFB },
{ "BMI $C92B ", 0xC91E,0x69,0x00,0x00,0x2C,0xFB },
{ "BCS $C92B ", 0xC920,0x69,0x00,0x00,0x2C,0xFB },
{ "CMP #$69 ", 0xC922,0x69,0x00,0x00,0x2C,0xFB },
{ "BNE $C92B ", 0xC924,0x69,0x00,0x00,0x2F,0xFB },
{ "BVS $C92B ", 0xC926,0x69,0x00,0x00,0x2F,0xFB },
{ "JMP $C92F ", 0xC928,0x69,0x00,0x00,0x2F,0xFB },
{ "NOP ", 0xC92F,0x69,0x00,0x00,0x2F,0xFB },
{ "SEC ", 0xC930,0x69,0x00,0x00,0x2F,0xFB },
{ "SED ", 0xC931,0x69,0x00,0x00,0x2F,0xFB },
{ "BIT $01 = FF ", 0xC932,0x69,0x00,0x00,0x2F,0xFB },
{ "LDA #$01 ", 0xC934,0x69,0x00,0x00,0xED,0xFB },
{ "ADC #$69 ", 0xC936,0x01,0x00,0x00,0x6D,0xFB },
{ "BMI $C945 ", 0xC938,0x6B,0x00,0x00,0x2C,0xFB },
{ "BCS $C945 ", 0xC93A,0x6B,0x00,0x00,0x2C,0xFB },
{ "CMP #$6B ", 0xC93C,0x6B,0x00,0x00,0x2C,0xFB },
{ "BNE $C945 ", 0xC93E,0x6B,0x00,0x00,0x2F,0xFB },
{ "BVS $C945 ", 0xC940,0x6B,0x00,0x00,0x2F,0xFB },
{ "JMP $C949 ", 0xC942,0x6B,0x00,0x00,0x2F,0xFB },
{ "NOP ", 0xC949,0x6B,0x00,0x00,0x2F,0xFB },
{ "CLD ", 0xC94A,0x6B,0x00,0x00,0x2F,0xFB },
{ "SEC ", 0xC94B,0x6B,0x00,0x00,0x27,0xFB },
{ "CLV ", 0xC94C,0x6B,0x00,0x00,0x27,0xFB },
{ "LDA #$7F ", 0xC94D,0x6B,0x00,0x00,0x27,0xFB },
{ "ADC #$7F ", 0xC94F,0x7F,0x00,0x00,0x25,0xFB },
{ "BPL $C95E ", 0xC951,0xFF,0x00,0x00,0xE4,0xFB },
{ "BCS $C95E ", 0xC953,0xFF,0x00,0x00,0xE4,0xFB },
{ "CMP #$FF ", 0xC955,0xFF,0x00,0x00,0xE4,0xFB },
{ "BNE $C95E ", 0xC957,0xFF,0x00,0x00,0x67,0xFB },
{ "BVC $C95E ", 0xC959,0xFF,0x00,0x00,0x67,0xFB },
{ "JMP $C962 ", 0xC95B,0xFF,0x00,0x00,0x67,0xFB },
{ "NOP ", 0xC962,0xFF,0x00,0x00,0x67,0xFB },
{ "CLC ", 0xC963,0xFF,0x00,0x00,0x67,0xFB },
{ "BIT $01 = FF ", 0xC964,0xFF,0x00,0x00,0x66,0xFB },
{ "LDA #$7F ", 0xC966,0xFF,0x00,0x00,0xE4,0xFB },
{ "ADC #$80 ", 0xC968,0x7F,0x00,0x00,0x64,0xFB },
{ "BPL $C977 ", 0xC96A,0xFF,0x00,0x00,0xA4,0xFB },
{ "BCS $C977 ", 0xC96C,0xFF,0x00,0x00,0xA4,0xFB },
{ "CMP #$FF ", 0xC96E,0xFF,0x00,0x00,0xA4,0xFB },
{ "BNE $C977 ", 0xC970,0xFF,0x00,0x00,0x27,0xFB },
{ "BVS $C977 ", 0xC972,0xFF,0x00,0x00,0x27,0xFB },
{ "JMP $C97B ", 0xC974,0xFF,0x00,0x00,0x27,0xFB },
{ "NOP ", 0xC97B,0xFF,0x00,0x00,0x27,0xFB },
{ "SEC ", 0xC97C,0xFF,0x00,0x00,0x27,0xFB },
{ "CLV ", 0xC97D,0xFF,0x00,0x00,0x27,0xFB },
{ "LDA #$7F ", 0xC97E,0xFF,0x00,0x00,0x27,0xFB },
{ "ADC #$80 ", 0xC980,0x7F,0x00,0x00,0x25,0xFB },
{ "BNE $C98D ", 0xC982,0x00,0x00,0x00,0x27,0xFB },
{ "BMI $C98D ", 0xC984,0x00,0x00,0x00,0x27,0xFB },
{ "BVS $C98D ", 0xC986,0x00,0x00,0x00,0x27,0xFB },
{ "BCC $C98D ", 0xC988,0x00,0x00,0x00,0x27,0xFB },
{ "JMP $C991 ", 0xC98A,0x00,0x00,0x00,0x27,0xFB },
{ "NOP ", 0xC991,0x00,0x00,0x00,0x27,0xFB },
{ "SEC ", 0xC992,0x00,0x00,0x00,0x27,0xFB },
{ "CLV ", 0xC993,0x00,0x00,0x00,0x27,0xFB },
{ "LDA #$9F ", 0xC994,0x00,0x00,0x00,0x27,0xFB },
{ "BEQ $C9A1 ", 0xC996,0x9F,0x00,0x00,0xA5,0xFB },
{ "BPL $C9A1 ", 0xC998,0x9F,0x00,0x00,0xA5,0xFB },
{ "BVS $C9A1 ", 0xC99A,0x9F,0x00,0x00,0xA5,0xFB },
{ "BCC $C9A1 ", 0xC99C,0x9F,0x00,0x00,0xA5,0xFB },
{ "JMP $C9A5 ", 0xC99E,0x9F,0x00,0x00,0xA5,0xFB },
{ "NOP ", 0xC9A5,0x9F,0x00,0x00,0xA5,0xFB },
{ "CLC ", 0xC9A6,0x9F,0x00,0x00,0xA5,0xFB },
{ "BIT $01 = FF ", 0xC9A7,0x9F,0x00,0x00,0xA4,0xFB },
{ "LDA #$00 ", 0xC9A9,0x9F,0x00,0x00,0xE4,0xFB },
{ "BNE $C9B6 ", 0xC9AB,0x00,0x00,0x00,0x66,0xFB },
{ "BMI $C9B6 ", 0xC9AD,0x00,0x00,0x00,0x66,0xFB },
{ "BVC $C9B6 ", 0xC9AF,0x00,0x00,0x00,0x66,0xFB },
{ "BCS $C9B6 ", 0xC9B1,0x00,0x00,0x00,0x66,0xFB },
{ "JMP $C9BA ", 0xC9B3,0x00,0x00,0x00,0x66,0xFB },
{ "NOP ", 0xC9BA,0x00,0x00,0x00,0x66,0xFB },
{ "BIT $01 = FF ", 0xC9BB,0x00,0x00,0x00,0x66,0xFB },
{ "LDA #$40 ", 0xC9BD,0x00,0x00,0x00,0xE6,0xFB },
{ "CMP #$40 ", 0xC9BF,0x40,0x00,0x00,0x64,0xFB },
{ "BMI $C9CC ", 0xC9C1,0x40,0x00,0x00,0x67,0xFB },
{ "BCC $C9CC ", 0xC9C3,0x40,0x00,0x00,0x67,0xFB },
{ "BNE $C9CC ", 0xC9C5,0x40,0x00,0x00,0x67,0xFB },
{ "BVC $C9CC ", 0xC9C7,0x40,0x00,0x00,0x67,0xFB },
{ "JMP $C9D0 ", 0xC9C9,0x40,0x00,0x00,0x67,0xFB },
{ "NOP ", 0xC9D0,0x40,0x00,0x00,0x67,0xFB },
{ "CLV ", 0xC9D1,0x40,0x00,0x00,0x67,0xFB },
{ "CMP #$3F ", 0xC9D2,0x40,0x00,0x00,0x27,0xFB },
{ "BEQ $C9DF ", 0xC9D4,0x40,0x00,0x00,0x25,0xFB },
{ "BMI $C9DF ", 0xC9D6,0x40,0x00,0x00,0x25,0xFB },
{ "BCC $C9DF ", 0xC9D8,0x40,0x00,0x00,0x25,0xFB },
{ "BVS $C9DF ", 0xC9DA,0x40,0x00,0x00,0x25,0xFB },
{ "JMP $C9E3 ", 0xC9DC,0x40,0x00,0x00,0x25,0xFB },
{ "NOP ", 0xC9E3,0x40,0x00,0x00,0x25,0xFB },
{ "CMP #$41 ", 0xC9E4,0x40,0x00,0x00,0x25,0xFB },
{ "BEQ $C9EF ", 0xC9E6,0x40,0x00,0x00,0xA4,0xFB },
{ "BPL $C9EF ", 0xC9E8,0x40,0x00,0x00,0xA4,0xFB },
{ "BPL $C9EF ", 0xC9EA,0x40,0x00,0x00,0xA4,0xFB },
{ "JMP $C9F3 ", 0xC9EC,0x40,0x00,0x00,0xA4,0xFB },
{ "NOP ", 0xC9F3,0x40,0x00,0x00,0xA4,0xFB },
{ "LDA #$80 ", 0xC9F4,0x40,0x00,0x00,0xA4,0xFB },
{ "CMP #$00 ", 0xC9F6,0x80,0x00,0x00,0xA4,0xFB },
{ "BEQ $CA01 ", 0xC9F8,0x80,0x00,0x00,0xA5,0xFB },
{ "BPL $CA01 ", 0xC9FA,0x80,0x00,0x00,0xA5,0xFB },
{ "BCC $CA01 ", 0xC9FC,0x80,0x00,0x00,0xA5,0xFB },
{ "JMP $CA05 ", 0xC9FE,0x80,0x00,0x00,0xA5,0xFB },
{ "NOP ", 0xCA05,0x80,0x00,0x00,0xA5,0xFB },
{ "CMP #$80 ", 0xCA06,0x80,0x00,0x00,0xA5,0xFB },
{ "BNE $CA11 ", 0xCA08,0x80,0x00,0x00,0x27,0xFB },
{ "BMI $CA11 ", 0xCA0A,0x80,0x00,0x00,0x27,0xFB },
{ "BCC $CA11 ", 0xCA0C,0x80,0x00,0x00,0x27,0xFB },
{ "JMP $CA15 ", 0xCA0E,0x80,0x00,0x00,0x27,0xFB },
{ "NOP ", 0xCA15,0x80,0x00,0x00,0x27,0xFB },
{ "CMP #$81 ", 0xCA16,0x80,0x00,0x00,0x27,0xFB },
{ "BCS $CA21 ", 0xCA18,0x80,0x00,0x00,0xA4,0xFB },
{ "BEQ $CA21 ", 0xCA1A,0x80,0x00,0x00,0xA4,0xFB },
{ "BPL $CA21 ", 0xCA1C,0x80,0x00,0x00,0xA4,0xFB },
{ "JMP $CA25 ", 0xCA1E,0x80,0x00,0x00,0xA4,0xFB },
{ "NOP ", 0xCA25,0x80,0x00,0x00,0xA4,0xFB },
{ "CMP #$7F ", 0xCA26,0x80,0x00,0x00,0xA4,0xFB },
{ "BCC $CA31 ", 0xCA28,0x80,0x00,0x00,0x25,0xFB },
{ "BEQ $CA31 ", 0xCA2A,0x80,0x00,0x00,0x25,0xFB },
{ "BMI $CA31 ", 0xCA2C,0x80,0x00,0x00,0x25,0xFB },
{ "JMP $CA35 ", 0xCA2E,0x80,0x00,0x00,0x25,0xFB },
{ "NOP ", 0xCA35,0x80,0x00,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xCA36,0x80,0x00,0x00,0x25,0xFB },
{ "LDY #$40 ", 0xCA38,0x80,0x00,0x00,0xE5,0xFB },
{ "CPY #$40 ", 0xCA3A,0x80,0x00,0x40,0x65,0xFB },
{ "BNE $CA47 ", 0xCA3C,0x80,0x00,0x40,0x67,0xFB },
{ "BMI $CA47 ", 0xCA3E,0x80,0x00,0x40,0x67,0xFB },
{ "BCC $CA47 ", 0xCA40,0x80,0x00,0x40,0x67,0xFB },
{ "BVC $CA47 ", 0xCA42,0x80,0x00,0x40,0x67,0xFB },
{ "JMP $CA4B ", 0xCA44,0x80,0x00,0x40,0x67,0xFB },
{ "NOP ", 0xCA4B,0x80,0x00,0x40,0x67,0xFB },
{ "CLV ", 0xCA4C,0x80,0x00,0x40,0x67,0xFB },
{ "CPY #$3F ", 0xCA4D,0x80,0x00,0x40,0x27,0xFB },
{ "BEQ $CA5A ", 0xCA4F,0x80,0x00,0x40,0x25,0xFB },
{ "BMI $CA5A ", 0xCA51,0x80,0x00,0x40,0x25,0xFB },
{ "BCC $CA5A ", 0xCA53,0x80,0x00,0x40,0x25,0xFB },
{ "BVS $CA5A ", 0xCA55,0x80,0x00,0x40,0x25,0xFB },
{ "JMP $CA5E ", 0xCA57,0x80,0x00,0x40,0x25,0xFB },
{ "NOP ", 0xCA5E,0x80,0x00,0x40,0x25,0xFB },
{ "CPY #$41 ", 0xCA5F,0x80,0x00,0x40,0x25,0xFB },
{ "BEQ $CA6A ", 0xCA61,0x80,0x00,0x40,0xA4,0xFB },
{ "BPL $CA6A ", 0xCA63,0x80,0x00,0x40,0xA4,0xFB },
{ "BPL $CA6A ", 0xCA65,0x80,0x00,0x40,0xA4,0xFB },
{ "JMP $CA6E ", 0xCA67,0x80,0x00,0x40,0xA4,0xFB },
{ "NOP ", 0xCA6E,0x80,0x00,0x40,0xA4,0xFB },
{ "LDY #$80 ", 0xCA6F,0x80,0x00,0x40,0xA4,0xFB },
{ "CPY #$00 ", 0xCA71,0x80,0x00,0x80,0xA4,0xFB },
{ "BEQ $CA7C ", 0xCA73,0x80,0x00,0x80,0xA5,0xFB },
{ "BPL $CA7C ", 0xCA75,0x80,0x00,0x80,0xA5,0xFB },
{ "BCC $CA7C ", 0xCA77,0x80,0x00,0x80,0xA5,0xFB },
{ "JMP $CA80 ", 0xCA79,0x80,0x00,0x80,0xA5,0xFB },
{ "NOP ", 0xCA80,0x80,0x00,0x80,0xA5,0xFB },
{ "CPY #$80 ", 0xCA81,0x80,0x00,0x80,0xA5,0xFB },
{ "BNE $CA8C ", 0xCA83,0x80,0x00,0x80,0x27,0xFB },
{ "BMI $CA8C ", 0xCA85,0x80,0x00,0x80,0x27,0xFB },
{ "BCC $CA8C ", 0xCA87,0x80,0x00,0x80,0x27,0xFB },
{ "JMP $CA90 ", 0xCA89,0x80,0x00,0x80,0x27,0xFB },
{ "NOP ", 0xCA90,0x80,0x00,0x80,0x27,0xFB },
{ "CPY #$81 ", 0xCA91,0x80,0x00,0x80,0x27,0xFB },
{ "BCS $CA9C ", 0xCA93,0x80,0x00,0x80,0xA4,0xFB },
{ "BEQ $CA9C ", 0xCA95,0x80,0x00,0x80,0xA4,0xFB },
{ "BPL $CA9C ", 0xCA97,0x80,0x00,0x80,0xA4,0xFB },
{ "JMP $CAA0 ", 0xCA99,0x80,0x00,0x80,0xA4,0xFB },
{ "NOP ", 0xCAA0,0x80,0x00,0x80,0xA4,0xFB },
{ "CPY #$7F ", 0xCAA1,0x80,0x00,0x80,0xA4,0xFB },
{ "BCC $CAAC ", 0xCAA3,0x80,0x00,0x80,0x25,0xFB },
{ "BEQ $CAAC ", 0xCAA5,0x80,0x00,0x80,0x25,0xFB },
{ "BMI $CAAC ", 0xCAA7,0x80,0x00,0x80,0x25,0xFB },
{ "JMP $CAB0 ", 0xCAA9,0x80,0x00,0x80,0x25,0xFB },
{ "NOP ", 0xCAB0,0x80,0x00,0x80,0x25,0xFB },
{ "BIT $01 = FF ", 0xCAB1,0x80,0x00,0x80,0x25,0xFB },
{ "LDX #$40 ", 0xCAB3,0x80,0x00,0x80,0xE5,0xFB },
{ "CPX #$40 ", 0xCAB5,0x80,0x40,0x80,0x65,0xFB },
{ "BNE $CAC2 ", 0xCAB7,0x80,0x40,0x80,0x67,0xFB },
{ "BMI $CAC2 ", 0xCAB9,0x80,0x40,0x80,0x67,0xFB },
{ "BCC $CAC2 ", 0xCABB,0x80,0x40,0x80,0x67,0xFB },
{ "BVC $CAC2 ", 0xCABD,0x80,0x40,0x80,0x67,0xFB },
{ "JMP $CAC6 ", 0xCABF,0x80,0x40,0x80,0x67,0xFB },
{ "NOP ", 0xCAC6,0x80,0x40,0x80,0x67,0xFB },
{ "CLV ", 0xCAC7,0x80,0x40,0x80,0x67,0xFB },
{ "CPX #$3F ", 0xCAC8,0x80,0x40,0x80,0x27,0xFB },
{ "BEQ $CAD5 ", 0xCACA,0x80,0x40,0x80,0x25,0xFB },
{ "BMI $CAD5 ", 0xCACC,0x80,0x40,0x80,0x25,0xFB },
{ "BCC $CAD5 ", 0xCACE,0x80,0x40,0x80,0x25,0xFB },
{ "BVS $CAD5 ", 0xCAD0,0x80,0x40,0x80,0x25,0xFB },
{ "JMP $CAD9 ", 0xCAD2,0x80,0x40,0x80,0x25,0xFB },
{ "NOP ", 0xCAD9,0x80,0x40,0x80,0x25,0xFB },
{ "CPX #$41 ", 0xCADA,0x80,0x40,0x80,0x25,0xFB },
{ "BEQ $CAE5 ", 0xCADC,0x80,0x40,0x80,0xA4,0xFB },
{ "BPL $CAE5 ", 0xCADE,0x80,0x40,0x80,0xA4,0xFB },
{ "BPL $CAE5 ", 0xCAE0,0x80,0x40,0x80,0xA4,0xFB },
{ "JMP $CAE9 ", 0xCAE2,0x80,0x40,0x80,0xA4,0xFB },
{ "NOP ", 0xCAE9,0x80,0x40,0x80,0xA4,0xFB },
{ "LDX #$80 ", 0xCAEA,0x80,0x40,0x80,0xA4,0xFB },
{ "CPX #$00 ", 0xCAEC,0x80,0x80,0x80,0xA4,0xFB },
{ "BEQ $CAF7 ", 0xCAEE,0x80,0x80,0x80,0xA5,0xFB },
{ "BPL $CAF7 ", 0xCAF0,0x80,0x80,0x80,0xA5,0xFB },
{ "BCC $CAF7 ", 0xCAF2,0x80,0x80,0x80,0xA5,0xFB },
{ "JMP $CAFB ", 0xCAF4,0x80,0x80,0x80,0xA5,0xFB },
{ "NOP ", 0xCAFB,0x80,0x80,0x80,0xA5,0xFB },
{ "CPX #$80 ", 0xCAFC,0x80,0x80,0x80,0xA5,0xFB },
{ "BNE $CB07 ", 0xCAFE,0x80,0x80,0x80,0x27,0xFB },
{ "BMI $CB07 ", 0xCB00,0x80,0x80,0x80,0x27,0xFB },
{ "BCC $CB07 ", 0xCB02,0x80,0x80,0x80,0x27,0xFB },
{ "JMP $CB0B ", 0xCB04,0x80,0x80,0x80,0x27,0xFB },
{ "NOP ", 0xCB0B,0x80,0x80,0x80,0x27,0xFB },
{ "CPX #$81 ", 0xCB0C,0x80,0x80,0x80,0x27,0xFB },
{ "BCS $CB17 ", 0xCB0E,0x80,0x80,0x80,0xA4,0xFB },
{ "BEQ $CB17 ", 0xCB10,0x80,0x80,0x80,0xA4,0xFB },
{ "BPL $CB17 ", 0xCB12,0x80,0x80,0x80,0xA4,0xFB },
{ "JMP $CB1B ", 0xCB14,0x80,0x80,0x80,0xA4,0xFB },
{ "NOP ", 0xCB1B,0x80,0x80,0x80,0xA4,0xFB },
{ "CPX #$7F ", 0xCB1C,0x80,0x80,0x80,0xA4,0xFB },
{ "BCC $CB27 ", 0xCB1E,0x80,0x80,0x80,0x25,0xFB },
{ "BEQ $CB27 ", 0xCB20,0x80,0x80,0x80,0x25,0xFB },
{ "BMI $CB27 ", 0xCB22,0x80,0x80,0x80,0x25,0xFB },
{ "JMP $CB2B ", 0xCB24,0x80,0x80,0x80,0x25,0xFB },
{ "NOP ", 0xCB2B,0x80,0x80,0x80,0x25,0xFB },
{ "SEC ", 0xCB2C,0x80,0x80,0x80,0x25,0xFB },
{ "CLV ", 0xCB2D,0x80,0x80,0x80,0x25,0xFB },
{ "LDX #$9F ", 0xCB2E,0x80,0x80,0x80,0x25,0xFB },
{ "BEQ $CB3B ", 0xCB30,0x80,0x9F,0x80,0xA5,0xFB },
{ "BPL $CB3B ", 0xCB32,0x80,0x9F,0x80,0xA5,0xFB },
{ "BVS $CB3B ", 0xCB34,0x80,0x9F,0x80,0xA5,0xFB },
{ "BCC $CB3B ", 0xCB36,0x80,0x9F,0x80,0xA5,0xFB },
{ "JMP $CB3F ", 0xCB38,0x80,0x9F,0x80,0xA5,0xFB },
{ "NOP ", 0xCB3F,0x80,0x9F,0x80,0xA5,0xFB },
{ "CLC ", 0xCB40,0x80,0x9F,0x80,0xA5,0xFB },
{ "BIT $01 = FF ", 0xCB41,0x80,0x9F,0x80,0xA4,0xFB },
{ "LDX #$00 ", 0xCB43,0x80,0x9F,0x80,0xE4,0xFB },
{ "BNE $CB50 ", 0xCB45,0x80,0x00,0x80,0x66,0xFB },
{ "BMI $CB50 ", 0xCB47,0x80,0x00,0x80,0x66,0xFB },
{ "BVC $CB50 ", 0xCB49,0x80,0x00,0x80,0x66,0xFB },
{ "BCS $CB50 ", 0xCB4B,0x80,0x00,0x80,0x66,0xFB },
{ "JMP $CB54 ", 0xCB4D,0x80,0x00,0x80,0x66,0xFB },
{ "NOP ", 0xCB54,0x80,0x00,0x80,0x66,0xFB },
{ "SEC ", 0xCB55,0x80,0x00,0x80,0x66,0xFB },
{ "CLV ", 0xCB56,0x80,0x00,0x80,0x67,0xFB },
{ "LDY #$9F ", 0xCB57,0x80,0x00,0x80,0x27,0xFB },
{ "BEQ $CB64 ", 0xCB59,0x80,0x00,0x9F,0xA5,0xFB },
{ "BPL $CB64 ", 0xCB5B,0x80,0x00,0x9F,0xA5,0xFB },
{ "BVS $CB64 ", 0xCB5D,0x80,0x00,0x9F,0xA5,0xFB },
{ "BCC $CB64 ", 0xCB5F,0x80,0x00,0x9F,0xA5,0xFB },
{ "JMP $CB68 ", 0xCB61,0x80,0x00,0x9F,0xA5,0xFB },
{ "NOP ", 0xCB68,0x80,0x00,0x9F,0xA5,0xFB },
{ "CLC ", 0xCB69,0x80,0x00,0x9F,0xA5,0xFB },
{ "BIT $01 = FF ", 0xCB6A,0x80,0x00,0x9F,0xA4,0xFB },
{ "LDY #$00 ", 0xCB6C,0x80,0x00,0x9F,0xE4,0xFB },
{ "BNE $CB79 ", 0xCB6E,0x80,0x00,0x00,0x66,0xFB },
{ "BMI $CB79 ", 0xCB70,0x80,0x00,0x00,0x66,0xFB },
{ "BVC $CB79 ", 0xCB72,0x80,0x00,0x00,0x66,0xFB },
{ "BCS $CB79 ", 0xCB74,0x80,0x00,0x00,0x66,0xFB },
{ "JMP $CB7D ", 0xCB76,0x80,0x00,0x00,0x66,0xFB },
{ "NOP ", 0xCB7D,0x80,0x00,0x00,0x66,0xFB },
{ "LDA #$55 ", 0xCB7E,0x80,0x00,0x00,0x66,0xFB },
{ "LDX #$AA ", 0xCB80,0x55,0x00,0x00,0x64,0xFB },
{ "LDY #$33 ", 0xCB82,0x55,0xAA,0x00,0xE4,0xFB },
{ "CMP #$55 ", 0xCB84,0x55,0xAA,0x33,0x64,0xFB },
{ "BNE $CBAB ", 0xCB86,0x55,0xAA,0x33,0x67,0xFB },
{ "CPX #$AA ", 0xCB88,0x55,0xAA,0x33,0x67,0xFB },
{ "BNE $CBAB ", 0xCB8A,0x55,0xAA,0x33,0x67,0xFB },
{ "CPY #$33 ", 0xCB8C,0x55,0xAA,0x33,0x67,0xFB },
{ "BNE $CBAB ", 0xCB8E,0x55,0xAA,0x33,0x67,0xFB },
{ "CMP #$55 ", 0xCB90,0x55,0xAA,0x33,0x67,0xFB },
{ "BNE $CBAB ", 0xCB92,0x55,0xAA,0x33,0x67,0xFB },
{ "CPX #$AA ", 0xCB94,0x55,0xAA,0x33,0x67,0xFB },
{ "BNE $CBAB ", 0xCB96,0x55,0xAA,0x33,0x67,0xFB },
{ "CPY #$33 ", 0xCB98,0x55,0xAA,0x33,0x67,0xFB },
{ "BNE $CBAB ", 0xCB9A,0x55,0xAA,0x33,0x67,0xFB },
{ "CMP #$56 ", 0xCB9C,0x55,0xAA,0x33,0x67,0xFB },
{ "BEQ $CBAB ", 0xCB9E,0x55,0xAA,0x33,0xE4,0xFB },
{ "CPX #$AB ", 0xCBA0,0x55,0xAA,0x33,0xE4,0xFB },
{ "BEQ $CBAB ", 0xCBA2,0x55,0xAA,0x33,0xE4,0xFB },
{ "CPY #$34 ", 0xCBA4,0x55,0xAA,0x33,0xE4,0xFB },
{ "BEQ $CBAB ", 0xCBA6,0x55,0xAA,0x33,0xE4,0xFB },
{ "JMP $CBAF ", 0xCBA8,0x55,0xAA,0x33,0xE4,0xFB },
{ "LDY #$71 ", 0xCBAF,0x55,0xAA,0x33,0xE4,0xFB },
{ "JSR $F931 ", 0xCBB1,0x55,0xAA,0x71,0x64,0xFB },
{ "BIT $01 = FF ", 0xF931,0x55,0xAA,0x71,0x64,0xF9 },
{ "LDA #$40 ", 0xF933,0x55,0xAA,0x71,0xE4,0xF9 },
{ "SEC ", 0xF935,0x40,0xAA,0x71,0x64,0xF9 },
{ "RTS ", 0xF936,0x40,0xAA,0x71,0x65,0xF9 },
{ "SBC #$40 ", 0xCBB4,0x40,0xAA,0x71,0x65,0xFB },
{ "JSR $F937 ", 0xCBB6,0x00,0xAA,0x71,0x27,0xFB },
{ "BMI $F944 ", 0xF937,0x00,0xAA,0x71,0x27,0xF9 },
{ "BCC $F944 ", 0xF939,0x00,0xAA,0x71,0x27,0xF9 },
{ "BNE $F944 ", 0xF93B,0x00,0xAA,0x71,0x27,0xF9 },
{ "BVS $F944 ", 0xF93D,0x00,0xAA,0x71,0x27,0xF9 },
{ "CMP #$00 ", 0xF93F,0x00,0xAA,0x71,0x27,0xF9 },
{ "BNE $F944 ", 0xF941,0x00,0xAA,0x71,0x27,0xF9 },
{ "RTS ", 0xF943,0x00,0xAA,0x71,0x27,0xF9 },
{ "INY ", 0xCBB9,0x00,0xAA,0x71,0x27,0xFB },
{ "JSR $F947 ", 0xCBBA,0x00,0xAA,0x72,0x25,0xFB },
{ "CLV ", 0xF947,0x00,0xAA,0x72,0x25,0xF9 },
{ "SEC ", 0xF948,0x00,0xAA,0x72,0x25,0xF9 },
{ "LDA #$40 ", 0xF949,0x00,0xAA,0x72,0x25,0xF9 },
{ "RTS ", 0xF94B,0x40,0xAA,0x72,0x25,0xF9 },
{ "SBC #$3F ", 0xCBBD,0x40,0xAA,0x72,0x25,0xFB },
{ "JSR $F94C ", 0xCBBF,0x01,0xAA,0x72,0x25,0xFB },
{ "BEQ $F959 ", 0xF94C,0x01,0xAA,0x72,0x25,0xF9 },
{ "BMI $F959 ", 0xF94E,0x01,0xAA,0x72,0x25,0xF9 },
{ "BCC $F959 ", 0xF950,0x01,0xAA,0x72,0x25,0xF9 },
{ "BVS $F959 ", 0xF952,0x01,0xAA,0x72,0x25,0xF9 },
{ "CMP #$01 ", 0xF954,0x01,0xAA,0x72,0x25,0xF9 },
{ "BNE $F959 ", 0xF956,0x01,0xAA,0x72,0x27,0xF9 },
{ "RTS ", 0xF958,0x01,0xAA,0x72,0x27,0xF9 },
{ "INY ", 0xCBC2,0x01,0xAA,0x72,0x27,0xFB },
{ "JSR $F95C ", 0xCBC3,0x01,0xAA,0x73,0x25,0xFB },
{ "LDA #$40 ", 0xF95C,0x01,0xAA,0x73,0x25,0xF9 },
{ "SEC ", 0xF95E,0x40,0xAA,0x73,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF95F,0x40,0xAA,0x73,0x25,0xF9 },
{ "RTS ", 0xF961,0x40,0xAA,0x73,0xE5,0xF9 },
{ "SBC #$41 ", 0xCBC6,0x40,0xAA,0x73,0xE5,0xFB },
{ "JSR $F962 ", 0xCBC8,0xFF,0xAA,0x73,0xA4,0xFB },
{ "BCS $F96F ", 0xF962,0xFF,0xAA,0x73,0xA4,0xF9 },
{ "BEQ $F96F ", 0xF964,0xFF,0xAA,0x73,0xA4,0xF9 },
{ "BPL $F96F ", 0xF966,0xFF,0xAA,0x73,0xA4,0xF9 },
{ "BVS $F96F ", 0xF968,0xFF,0xAA,0x73,0xA4,0xF9 },
{ "CMP #$FF ", 0xF96A,0xFF,0xAA,0x73,0xA4,0xF9 },
{ "BNE $F96F ", 0xF96C,0xFF,0xAA,0x73,0x27,0xF9 },
{ "RTS ", 0xF96E,0xFF,0xAA,0x73,0x27,0xF9 },
{ "INY ", 0xCBCB,0xFF,0xAA,0x73,0x27,0xFB },
{ "JSR $F972 ", 0xCBCC,0xFF,0xAA,0x74,0x25,0xFB },
{ "CLC ", 0xF972,0xFF,0xAA,0x74,0x25,0xF9 },
{ "LDA #$80 ", 0xF973,0xFF,0xAA,0x74,0x24,0xF9 },
{ "RTS ", 0xF975,0x80,0xAA,0x74,0xA4,0xF9 },
{ "SBC #$00 ", 0xCBCF,0x80,0xAA,0x74,0xA4,0xFB },
{ "JSR $F976 ", 0xCBD1,0x7F,0xAA,0x74,0x65,0xFB },
{ "BCC $F97D ", 0xF976,0x7F,0xAA,0x74,0x65,0xF9 },
{ "CMP #$7F ", 0xF978,0x7F,0xAA,0x74,0x65,0xF9 },
{ "BNE $F97D ", 0xF97A,0x7F,0xAA,0x74,0x67,0xF9 },
{ "RTS ", 0xF97C,0x7F,0xAA,0x74,0x67,0xF9 },
{ "INY ", 0xCBD4,0x7F,0xAA,0x74,0x67,0xFB },
{ "JSR $F980 ", 0xCBD5,0x7F,0xAA,0x75,0x65,0xFB },
{ "SEC ", 0xF980,0x7F,0xAA,0x75,0x65,0xF9 },
{ "LDA #$81 ", 0xF981,0x7F,0xAA,0x75,0x65,0xF9 },
{ "RTS ", 0xF983,0x81,0xAA,0x75,0xE5,0xF9 },
{ "SBC #$7F ", 0xCBD8,0x81,0xAA,0x75,0xE5,0xFB },
{ "JSR $F984 ", 0xCBDA,0x02,0xAA,0x75,0x65,0xFB },
{ "BVC $F98D ", 0xF984,0x02,0xAA,0x75,0x65,0xF9 },
{ "BCC $F98D ", 0xF986,0x02,0xAA,0x75,0x65,0xF9 },
{ "CMP #$02 ", 0xF988,0x02,0xAA,0x75,0x65,0xF9 },
{ "BNE $F98D ", 0xF98A,0x02,0xAA,0x75,0x67,0xF9 },
{ "RTS ", 0xF98C,0x02,0xAA,0x75,0x67,0xF9 },
{ "RTS ", 0xCBDD,0x02,0xAA,0x75,0x67,0xFB },
{ "JSR $CBDE ", 0xC606,0x02,0xAA,0x75,0x67,0xFD },
{ "NOP ", 0xCBDE,0x02,0xAA,0x75,0x67,0xFB },
{ "LDA #$FF ", 0xCBDF,0x02,0xAA,0x75,0x67,0xFB },
{ "STA $01 = FF ", 0xCBE1,0xFF,0xAA,0x75,0xE5,0xFB },
{ "LDA #$44 ", 0xCBE3,0xFF,0xAA,0x75,0xE5,0xFB },
{ "LDX #$55 ", 0xCBE5,0x44,0xAA,0x75,0x65,0xFB },
{ "LDY #$66 ", 0xCBE7,0x44,0x55,0x75,0x65,0xFB },
{ "INX ", 0xCBE9,0x44,0x55,0x66,0x65,0xFB },
{ "DEY ", 0xCBEA,0x44,0x56,0x66,0x65,0xFB },
{ "CPX #$56 ", 0xCBEB,0x44,0x56,0x65,0x65,0xFB },
{ "BNE $CC10 ", 0xCBED,0x44,0x56,0x65,0x67,0xFB },
{ "CPY #$65 ", 0xCBEF,0x44,0x56,0x65,0x67,0xFB },
{ "BNE $CC10 ", 0xCBF1,0x44,0x56,0x65,0x67,0xFB },
{ "INX ", 0xCBF3,0x44,0x56,0x65,0x67,0xFB },
{ "INX ", 0xCBF4,0x44,0x57,0x65,0x65,0xFB },
{ "DEY ", 0xCBF5,0x44,0x58,0x65,0x65,0xFB },
{ "DEY ", 0xCBF6,0x44,0x58,0x64,0x65,0xFB },
{ "CPX #$58 ", 0xCBF7,0x44,0x58,0x63,0x65,0xFB },
{ "BNE $CC10 ", 0xCBF9,0x44,0x58,0x63,0x67,0xFB },
{ "CPY #$63 ", 0xCBFB,0x44,0x58,0x63,0x67,0xFB },
{ "BNE $CC10 ", 0xCBFD,0x44,0x58,0x63,0x67,0xFB },
{ "DEX ", 0xCBFF,0x44,0x58,0x63,0x67,0xFB },
{ "INY ", 0xCC00,0x44,0x57,0x63,0x65,0xFB },
{ "CPX #$57 ", 0xCC01,0x44,0x57,0x64,0x65,0xFB },
{ "BNE $CC10 ", 0xCC03,0x44,0x57,0x64,0x67,0xFB },
{ "CPY #$64 ", 0xCC05,0x44,0x57,0x64,0x67,0xFB },
{ "BNE $CC10 ", 0xCC07,0x44,0x57,0x64,0x67,0xFB },
{ "CMP #$44 ", 0xCC09,0x44,0x57,0x64,0x67,0xFB },
{ "BNE $CC10 ", 0xCC0B,0x44,0x57,0x64,0x67,0xFB },
{ "JMP $CC14 ", 0xCC0D,0x44,0x57,0x64,0x67,0xFB },
{ "NOP ", 0xCC14,0x44,0x57,0x64,0x67,0xFB },
{ "SEC ", 0xCC15,0x44,0x57,0x64,0x67,0xFB },
{ "LDX #$69 ", 0xCC16,0x44,0x57,0x64,0x67,0xFB },
{ "LDA #$96 ", 0xCC18,0x44,0x69,0x64,0x65,0xFB },
{ "BIT $01 = FF ", 0xCC1A,0x96,0x69,0x64,0xE5,0xFB },
{ "LDY #$FF ", 0xCC1C,0x96,0x69,0x64,0xE5,0xFB },
{ "INY ", 0xCC1E,0x96,0x69,0xFF,0xE5,0xFB },
{ "BNE $CC5E ", 0xCC1F,0x96,0x69,0x00,0x67,0xFB },
{ "BMI $CC5E ", 0xCC21,0x96,0x69,0x00,0x67,0xFB },
{ "BCC $CC5E ", 0xCC23,0x96,0x69,0x00,0x67,0xFB },
{ "BVC $CC5E ", 0xCC25,0x96,0x69,0x00,0x67,0xFB },
{ "CPY #$00 ", 0xCC27,0x96,0x69,0x00,0x67,0xFB },
{ "BNE $CC5E ", 0xCC29,0x96,0x69,0x00,0x67,0xFB },
{ "INY ", 0xCC2B,0x96,0x69,0x00,0x67,0xFB },
{ "BEQ $CC5E ", 0xCC2C,0x96,0x69,0x01,0x65,0xFB },
{ "BMI $CC5E ", 0xCC2E,0x96,0x69,0x01,0x65,0xFB },
{ "BCC $CC5E ", 0xCC30,0x96,0x69,0x01,0x65,0xFB },
{ "BVC $CC5E ", 0xCC32,0x96,0x69,0x01,0x65,0xFB },
{ "CLC ", 0xCC34,0x96,0x69,0x01,0x65,0xFB },
{ "CLV ", 0xCC35,0x96,0x69,0x01,0x64,0xFB },
{ "LDY #$00 ", 0xCC36,0x96,0x69,0x01,0x24,0xFB },
{ "DEY ", 0xCC38,0x96,0x69,0x00,0x26,0xFB },
{ "BEQ $CC5E ", 0xCC39,0x96,0x69,0xFF,0xA4,0xFB },
{ "BPL $CC5E ", 0xCC3B,0x96,0x69,0xFF,0xA4,0xFB },
{ "BCS $CC5E ", 0xCC3D,0x96,0x69,0xFF,0xA4,0xFB },
{ "BVS $CC5E ", 0xCC3F,0x96,0x69,0xFF,0xA4,0xFB },
{ "CPY #$FF ", 0xCC41,0x96,0x69,0xFF,0xA4,0xFB },
{ "BNE $CC5E ", 0xCC43,0x96,0x69,0xFF,0x27,0xFB },
{ "CLC ", 0xCC45,0x96,0x69,0xFF,0x27,0xFB },
{ "DEY ", 0xCC46,0x96,0x69,0xFF,0x26,0xFB },
{ "BEQ $CC5E ", 0xCC47,0x96,0x69,0xFE,0xA4,0xFB },
{ "BPL $CC5E ", 0xCC49,0x96,0x69,0xFE,0xA4,0xFB },
{ "BCS $CC5E ", 0xCC4B,0x96,0x69,0xFE,0xA4,0xFB },
{ "BVS $CC5E ", 0xCC4D,0x96,0x69,0xFE,0xA4,0xFB },
{ "CPY #$FE ", 0xCC4F,0x96,0x69,0xFE,0xA4,0xFB },
{ "BNE $CC5E ", 0xCC51,0x96,0x69,0xFE,0x27,0xFB },
{ "CMP #$96 ", 0xCC53,0x96,0x69,0xFE,0x27,0xFB },
{ "BNE $CC5E ", 0xCC55,0x96,0x69,0xFE,0x27,0xFB },
{ "CPX #$69 ", 0xCC57,0x96,0x69,0xFE,0x27,0xFB },
{ "BNE $CC5E ", 0xCC59,0x96,0x69,0xFE,0x27,0xFB },
{ "JMP $CC62 ", 0xCC5B,0x96,0x69,0xFE,0x27,0xFB },
{ "NOP ", 0xCC62,0x96,0x69,0xFE,0x27,0xFB },
{ "SEC ", 0xCC63,0x96,0x69,0xFE,0x27,0xFB },
{ "LDY #$69 ", 0xCC64,0x96,0x69,0xFE,0x27,0xFB },
{ "LDA #$96 ", 0xCC66,0x96,0x69,0x69,0x25,0xFB },
{ "BIT $01 = FF ", 0xCC68,0x96,0x69,0x69,0xA5,0xFB },
{ "LDX #$FF ", 0xCC6A,0x96,0x69,0x69,0xE5,0xFB },
{ "INX ", 0xCC6C,0x96,0xFF,0x69,0xE5,0xFB },
{ "BNE $CCAC ", 0xCC6D,0x96,0x00,0x69,0x67,0xFB },
{ "BMI $CCAC ", 0xCC6F,0x96,0x00,0x69,0x67,0xFB },
{ "BCC $CCAC ", 0xCC71,0x96,0x00,0x69,0x67,0xFB },
{ "BVC $CCAC ", 0xCC73,0x96,0x00,0x69,0x67,0xFB },
{ "CPX #$00 ", 0xCC75,0x96,0x00,0x69,0x67,0xFB },
{ "BNE $CCAC ", 0xCC77,0x96,0x00,0x69,0x67,0xFB },
{ "INX ", 0xCC79,0x96,0x00,0x69,0x67,0xFB },
{ "BEQ $CCAC ", 0xCC7A,0x96,0x01,0x69,0x65,0xFB },
{ "BMI $CCAC ", 0xCC7C,0x96,0x01,0x69,0x65,0xFB },
{ "BCC $CCAC ", 0xCC7E,0x96,0x01,0x69,0x65,0xFB },
{ "BVC $CCAC ", 0xCC80,0x96,0x01,0x69,0x65,0xFB },
{ "CLC ", 0xCC82,0x96,0x01,0x69,0x65,0xFB },
{ "CLV ", 0xCC83,0x96,0x01,0x69,0x64,0xFB },
{ "LDX #$00 ", 0xCC84,0x96,0x01,0x69,0x24,0xFB },
{ "DEX ", 0xCC86,0x96,0x00,0x69,0x26,0xFB },
{ "BEQ $CCAC ", 0xCC87,0x96,0xFF,0x69,0xA4,0xFB },
{ "BPL $CCAC ", 0xCC89,0x96,0xFF,0x69,0xA4,0xFB },
{ "BCS $CCAC ", 0xCC8B,0x96,0xFF,0x69,0xA4,0xFB },
{ "BVS $CCAC ", 0xCC8D,0x96,0xFF,0x69,0xA4,0xFB },
{ "CPX #$FF ", 0xCC8F,0x96,0xFF,0x69,0xA4,0xFB },
{ "BNE $CCAC ", 0xCC91,0x96,0xFF,0x69,0x27,0xFB },
{ "CLC ", 0xCC93,0x96,0xFF,0x69,0x27,0xFB },
{ "DEX ", 0xCC94,0x96,0xFF,0x69,0x26,0xFB },
{ "BEQ $CCAC ", 0xCC95,0x96,0xFE,0x69,0xA4,0xFB },
{ "BPL $CCAC ", 0xCC97,0x96,0xFE,0x69,0xA4,0xFB },
{ "BCS $CCAC ", 0xCC99,0x96,0xFE,0x69,0xA4,0xFB },
{ "BVS $CCAC ", 0xCC9B,0x96,0xFE,0x69,0xA4,0xFB },
{ "CPX #$FE ", 0xCC9D,0x96,0xFE,0x69,0xA4,0xFB },
{ "BNE $CCAC ", 0xCC9F,0x96,0xFE,0x69,0x27,0xFB },
{ "CMP #$96 ", 0xCCA1,0x96,0xFE,0x69,0x27,0xFB },
{ "BNE $CCAC ", 0xCCA3,0x96,0xFE,0x69,0x27,0xFB },
{ "CPY #$69 ", 0xCCA5,0x96,0xFE,0x69,0x27,0xFB },
{ "BNE $CCAC ", 0xCCA7,0x96,0xFE,0x69,0x27,0xFB },
{ "JMP $CCB0 ", 0xCCA9,0x96,0xFE,0x69,0x27,0xFB },
{ "NOP ", 0xCCB0,0x96,0xFE,0x69,0x27,0xFB },
{ "LDA #$85 ", 0xCCB1,0x96,0xFE,0x69,0x27,0xFB },
{ "LDX #$34 ", 0xCCB3,0x85,0xFE,0x69,0xA5,0xFB },
{ "LDY #$99 ", 0xCCB5,0x85,0x34,0x69,0x25,0xFB },
{ "CLC ", 0xCCB7,0x85,0x34,0x99,0xA5,0xFB },
{ "BIT $01 = FF ", 0xCCB8,0x85,0x34,0x99,0xA4,0xFB },
{ "TAY ", 0xCCBA,0x85,0x34,0x99,0xE4,0xFB },
{ "BEQ $CCEB ", 0xCCBB,0x85,0x34,0x85,0xE4,0xFB },
{ "BCS $CCEB ", 0xCCBD,0x85,0x34,0x85,0xE4,0xFB },
{ "BVC $CCEB ", 0xCCBF,0x85,0x34,0x85,0xE4,0xFB },
{ "BPL $CCEB ", 0xCCC1,0x85,0x34,0x85,0xE4,0xFB },
{ "CMP #$85 ", 0xCCC3,0x85,0x34,0x85,0xE4,0xFB },
{ "BNE $CCEB ", 0xCCC5,0x85,0x34,0x85,0x67,0xFB },
{ "CPX #$34 ", 0xCCC7,0x85,0x34,0x85,0x67,0xFB },
{ "BNE $CCEB ", 0xCCC9,0x85,0x34,0x85,0x67,0xFB },
{ "CPY #$85 ", 0xCCCB,0x85,0x34,0x85,0x67,0xFB },
{ "BNE $CCEB ", 0xCCCD,0x85,0x34,0x85,0x67,0xFB },
{ "LDA #$00 ", 0xCCCF,0x85,0x34,0x85,0x67,0xFB },
{ "SEC ", 0xCCD1,0x00,0x34,0x85,0x67,0xFB },
{ "CLV ", 0xCCD2,0x00,0x34,0x85,0x67,0xFB },
{ "TAY ", 0xCCD3,0x00,0x34,0x85,0x27,0xFB },
{ "BNE $CCEB ", 0xCCD4,0x00,0x34,0x00,0x27,0xFB },
{ "BCC $CCEB ", 0xCCD6,0x00,0x34,0x00,0x27,0xFB },
{ "BVS $CCEB ", 0xCCD8,0x00,0x34,0x00,0x27,0xFB },
{ "BMI $CCEB ", 0xCCDA,0x00,0x34,0x00,0x27,0xFB },
{ "CMP #$00 ", 0xCCDC,0x00,0x34,0x00,0x27,0xFB },
{ "BNE $CCEB ", 0xCCDE,0x00,0x34,0x00,0x27,0xFB },
{ "CPX #$34 ", 0xCCE0,0x00,0x34,0x00,0x27,0xFB },
{ "BNE $CCEB ", 0xCCE2,0x00,0x34,0x00,0x27,0xFB },
{ "CPY #$00 ", 0xCCE4,0x00,0x34,0x00,0x27,0xFB },
{ "BNE $CCEB ", 0xCCE6,0x00,0x34,0x00,0x27,0xFB },
{ "JMP $CCEF ", 0xCCE8,0x00,0x34,0x00,0x27,0xFB },
{ "NOP ", 0xCCEF,0x00,0x34,0x00,0x27,0xFB },
{ "LDA #$85 ", 0xCCF0,0x00,0x34,0x00,0x27,0xFB },
{ "LDX #$34 ", 0xCCF2,0x85,0x34,0x00,0xA5,0xFB },
{ "LDY #$99 ", 0xCCF4,0x85,0x34,0x00,0x25,0xFB },
{ "CLC ", 0xCCF6,0x85,0x34,0x99,0xA5,0xFB },
{ "BIT $01 = FF ", 0xCCF7,0x85,0x34,0x99,0xA4,0xFB },
{ "TAX ", 0xCCF9,0x85,0x34,0x99,0xE4,0xFB },
{ "BEQ $CD2A ", 0xCCFA,0x85,0x85,0x99,0xE4,0xFB },
{ "BCS $CD2A ", 0xCCFC,0x85,0x85,0x99,0xE4,0xFB },
{ "BVC $CD2A ", 0xCCFE,0x85,0x85,0x99,0xE4,0xFB },
{ "BPL $CD2A ", 0xCD00,0x85,0x85,0x99,0xE4,0xFB },
{ "CMP #$85 ", 0xCD02,0x85,0x85,0x99,0xE4,0xFB },
{ "BNE $CD2A ", 0xCD04,0x85,0x85,0x99,0x67,0xFB },
{ "CPX #$85 ", 0xCD06,0x85,0x85,0x99,0x67,0xFB },
{ "BNE $CD2A ", 0xCD08,0x85,0x85,0x99,0x67,0xFB },
{ "CPY #$99 ", 0xCD0A,0x85,0x85,0x99,0x67,0xFB },
{ "BNE $CD2A ", 0xCD0C,0x85,0x85,0x99,0x67,0xFB },
{ "LDA #$00 ", 0xCD0E,0x85,0x85,0x99,0x67,0xFB },
{ "SEC ", 0xCD10,0x00,0x85,0x99,0x67,0xFB },
{ "CLV ", 0xCD11,0x00,0x85,0x99,0x67,0xFB },
{ "TAX ", 0xCD12,0x00,0x85,0x99,0x27,0xFB },
{ "BNE $CD2A ", 0xCD13,0x00,0x00,0x99,0x27,0xFB },
{ "BCC $CD2A ", 0xCD15,0x00,0x00,0x99,0x27,0xFB },
{ "BVS $CD2A ", 0xCD17,0x00,0x00,0x99,0x27,0xFB },
{ "BMI $CD2A ", 0xCD19,0x00,0x00,0x99,0x27,0xFB },
{ "CMP #$00 ", 0xCD1B,0x00,0x00,0x99,0x27,0xFB },
{ "BNE $CD2A ", 0xCD1D,0x00,0x00,0x99,0x27,0xFB },
{ "CPX #$00 ", 0xCD1F,0x00,0x00,0x99,0x27,0xFB },
{ "BNE $CD2A ", 0xCD21,0x00,0x00,0x99,0x27,0xFB },
{ "CPY #$99 ", 0xCD23,0x00,0x00,0x99,0x27,0xFB },
{ "BNE $CD2A ", 0xCD25,0x00,0x00,0x99,0x27,0xFB },
{ "JMP $CD2E ", 0xCD27,0x00,0x00,0x99,0x27,0xFB },
{ "NOP ", 0xCD2E,0x00,0x00,0x99,0x27,0xFB },
{ "LDA #$85 ", 0xCD2F,0x00,0x00,0x99,0x27,0xFB },
{ "LDX #$34 ", 0xCD31,0x85,0x00,0x99,0xA5,0xFB },
{ "LDY #$99 ", 0xCD33,0x85,0x34,0x99,0x25,0xFB },
{ "CLC ", 0xCD35,0x85,0x34,0x99,0xA5,0xFB },
{ "BIT $01 = FF ", 0xCD36,0x85,0x34,0x99,0xA4,0xFB },
{ "TYA ", 0xCD38,0x85,0x34,0x99,0xE4,0xFB },
{ "BEQ $CD69 ", 0xCD39,0x99,0x34,0x99,0xE4,0xFB },
{ "BCS $CD69 ", 0xCD3B,0x99,0x34,0x99,0xE4,0xFB },
{ "BVC $CD69 ", 0xCD3D,0x99,0x34,0x99,0xE4,0xFB },
{ "BPL $CD69 ", 0xCD3F,0x99,0x34,0x99,0xE4,0xFB },
{ "CMP #$99 ", 0xCD41,0x99,0x34,0x99,0xE4,0xFB },
{ "BNE $CD69 ", 0xCD43,0x99,0x34,0x99,0x67,0xFB },
{ "CPX #$34 ", 0xCD45,0x99,0x34,0x99,0x67,0xFB },
{ "BNE $CD69 ", 0xCD47,0x99,0x34,0x99,0x67,0xFB },
{ "CPY #$99 ", 0xCD49,0x99,0x34,0x99,0x67,0xFB },
{ "BNE $CD69 ", 0xCD4B,0x99,0x34,0x99,0x67,0xFB },
{ "LDY #$00 ", 0xCD4D,0x99,0x34,0x99,0x67,0xFB },
{ "SEC ", 0xCD4F,0x99,0x34,0x00,0x67,0xFB },
{ "CLV ", 0xCD50,0x99,0x34,0x00,0x67,0xFB },
{ "TYA ", 0xCD51,0x99,0x34,0x00,0x27,0xFB },
{ "BNE $CD69 ", 0xCD52,0x00,0x34,0x00,0x27,0xFB },
{ "BCC $CD69 ", 0xCD54,0x00,0x34,0x00,0x27,0xFB },
{ "BVS $CD69 ", 0xCD56,0x00,0x34,0x00,0x27,0xFB },
{ "BMI $CD69 ", 0xCD58,0x00,0x34,0x00,0x27,0xFB },
{ "CMP #$00 ", 0xCD5A,0x00,0x34,0x00,0x27,0xFB },
{ "BNE $CD69 ", 0xCD5C,0x00,0x34,0x00,0x27,0xFB },
{ "CPX #$34 ", 0xCD5E,0x00,0x34,0x00,0x27,0xFB },
{ "BNE $CD69 ", 0xCD60,0x00,0x34,0x00,0x27,0xFB },
{ "CPY #$00 ", 0xCD62,0x00,0x34,0x00,0x27,0xFB },
{ "BNE $CD69 ", 0xCD64,0x00,0x34,0x00,0x27,0xFB },
{ "JMP $CD6D ", 0xCD66,0x00,0x34,0x00,0x27,0xFB },
{ "NOP ", 0xCD6D,0x00,0x34,0x00,0x27,0xFB },
{ "LDA #$85 ", 0xCD6E,0x00,0x34,0x00,0x27,0xFB },
{ "LDX #$34 ", 0xCD70,0x85,0x34,0x00,0xA5,0xFB },
{ "LDY #$99 ", 0xCD72,0x85,0x34,0x00,0x25,0xFB },
{ "CLC ", 0xCD74,0x85,0x34,0x99,0xA5,0xFB },
{ "BIT $01 = FF ", 0xCD75,0x85,0x34,0x99,0xA4,0xFB },
{ "TXA ", 0xCD77,0x85,0x34,0x99,0xE4,0xFB },
{ "BEQ $CDA8 ", 0xCD78,0x34,0x34,0x99,0x64,0xFB },
{ "BCS $CDA8 ", 0xCD7A,0x34,0x34,0x99,0x64,0xFB },
{ "BVC $CDA8 ", 0xCD7C,0x34,0x34,0x99,0x64,0xFB },
{ "BMI $CDA8 ", 0xCD7E,0x34,0x34,0x99,0x64,0xFB },
{ "CMP #$34 ", 0xCD80,0x34,0x34,0x99,0x64,0xFB },
{ "BNE $CDA8 ", 0xCD82,0x34,0x34,0x99,0x67,0xFB },
{ "CPX #$34 ", 0xCD84,0x34,0x34,0x99,0x67,0xFB },
{ "BNE $CDA8 ", 0xCD86,0x34,0x34,0x99,0x67,0xFB },
{ "CPY #$99 ", 0xCD88,0x34,0x34,0x99,0x67,0xFB },
{ "BNE $CDA8 ", 0xCD8A,0x34,0x34,0x99,0x67,0xFB },
{ "LDX #$00 ", 0xCD8C,0x34,0x34,0x99,0x67,0xFB },
{ "SEC ", 0xCD8E,0x34,0x00,0x99,0x67,0xFB },
{ "CLV ", 0xCD8F,0x34,0x00,0x99,0x67,0xFB },
{ "TXA ", 0xCD90,0x34,0x00,0x99,0x27,0xFB },
{ "BNE $CDA8 ", 0xCD91,0x00,0x00,0x99,0x27,0xFB },
{ "BCC $CDA8 ", 0xCD93,0x00,0x00,0x99,0x27,0xFB },
{ "BVS $CDA8 ", 0xCD95,0x00,0x00,0x99,0x27,0xFB },
{ "BMI $CDA8 ", 0xCD97,0x00,0x00,0x99,0x27,0xFB },
{ "CMP #$00 ", 0xCD99,0x00,0x00,0x99,0x27,0xFB },
{ "BNE $CDA8 ", 0xCD9B,0x00,0x00,0x99,0x27,0xFB },
{ "CPX #$00 ", 0xCD9D,0x00,0x00,0x99,0x27,0xFB },
{ "BNE $CDA8 ", 0xCD9F,0x00,0x00,0x99,0x27,0xFB },
{ "CPY #$99 ", 0xCDA1,0x00,0x00,0x99,0x27,0xFB },
{ "BNE $CDA8 ", 0xCDA3,0x00,0x00,0x99,0x27,0xFB },
{ "JMP $CDAC ", 0xCDA5,0x00,0x00,0x99,0x27,0xFB },
{ "NOP ", 0xCDAC,0x00,0x00,0x99,0x27,0xFB },
{ "TSX ", 0xCDAD,0x00,0x00,0x99,0x27,0xFB },
{ "STX $07FF = 00 ", 0xCDAE,0x00,0xFB,0x99,0xA5,0xFB },
{ "LDY #$33 ", 0xCDB1,0x00,0xFB,0x99,0xA5,0xFB },
{ "LDX #$69 ", 0xCDB3,0x00,0xFB,0x33,0x25,0xFB },
{ "LDA #$84 ", 0xCDB5,0x00,0x69,0x33,0x25,0xFB },
{ "CLC ", 0xCDB7,0x84,0x69,0x33,0xA5,0xFB },
{ "BIT $01 = FF ", 0xCDB8,0x84,0x69,0x33,0xA4,0xFB },
{ "TXS ", 0xCDBA,0x84,0x69,0x33,0xE4,0xFB },
{ "BEQ $CDEF ", 0xCDBB,0x84,0x69,0x33,0xE4,0x69 },
{ "BPL $CDEF ", 0xCDBD,0x84,0x69,0x33,0xE4,0x69 },
{ "BCS $CDEF ", 0xCDBF,0x84,0x69,0x33,0xE4,0x69 },
{ "BVC $CDEF ", 0xCDC1,0x84,0x69,0x33,0xE4,0x69 },
{ "CMP #$84 ", 0xCDC3,0x84,0x69,0x33,0xE4,0x69 },
{ "BNE $CDEF ", 0xCDC5,0x84,0x69,0x33,0x67,0x69 },
{ "CPX #$69 ", 0xCDC7,0x84,0x69,0x33,0x67,0x69 },
{ "BNE $CDEF ", 0xCDC9,0x84,0x69,0x33,0x67,0x69 },
{ "CPY #$33 ", 0xCDCB,0x84,0x69,0x33,0x67,0x69 },
{ "BNE $CDEF ", 0xCDCD,0x84,0x69,0x33,0x67,0x69 },
{ "LDY #$01 ", 0xCDCF,0x84,0x69,0x33,0x67,0x69 },
{ "LDA #$04 ", 0xCDD1,0x84,0x69,0x01,0x65,0x69 },
{ "SEC ", 0xCDD3,0x04,0x69,0x01,0x65,0x69 },
{ "CLV ", 0xCDD4,0x04,0x69,0x01,0x65,0x69 },
{ "LDX #$00 ", 0xCDD5,0x04,0x69,0x01,0x25,0x69 },
{ "TSX ", 0xCDD7,0x04,0x00,0x01,0x27,0x69 },
{ "BEQ $CDEF ", 0xCDD8,0x04,0x69,0x01,0x25,0x69 },
{ "BMI $CDEF ", 0xCDDA,0x04,0x69,0x01,0x25,0x69 },
{ "BCC $CDEF ", 0xCDDC,0x04,0x69,0x01,0x25,0x69 },
{ "BVS $CDEF ", 0xCDDE,0x04,0x69,0x01,0x25,0x69 },
{ "CPX #$69 ", 0xCDE0,0x04,0x69,0x01,0x25,0x69 },
{ "BNE $CDEF ", 0xCDE2,0x04,0x69,0x01,0x27,0x69 },
{ "CMP #$04 ", 0xCDE4,0x04,0x69,0x01,0x27,0x69 },
{ "BNE $CDEF ", 0xCDE6,0x04,0x69,0x01,0x27,0x69 },
{ "CPY #$01 ", 0xCDE8,0x04,0x69,0x01,0x27,0x69 },
{ "BNE $CDEF ", 0xCDEA,0x04,0x69,0x01,0x27,0x69 },
{ "JMP $CDF3 ", 0xCDEC,0x04,0x69,0x01,0x27,0x69 },
{ "LDX $07FF = FB ", 0xCDF3,0x04,0x69,0x01,0x27,0x69 },
{ "TXS ", 0xCDF6,0x04,0xFB,0x01,0xA5,0x69 },
{ "RTS ", 0xCDF7,0x04,0xFB,0x01,0xA5,0xFB },
{ "JSR $CDF8 ", 0xC609,0x04,0xFB,0x01,0xA5,0xFD },
{ "LDA #$FF ", 0xCDF8,0x04,0xFB,0x01,0xA5,0xFB },
{ "STA $01 = FF ", 0xCDFA,0xFF,0xFB,0x01,0xA5,0xFB },
{ "TSX ", 0xCDFC,0xFF,0xFB,0x01,0xA5,0xFB },
{ "STX $07FF = FB ", 0xCDFD,0xFF,0xFB,0x01,0xA5,0xFB },
{ "NOP ", 0xCE00,0xFF,0xFB,0x01,0xA5,0xFB },
{ "LDX #$80 ", 0xCE01,0xFF,0xFB,0x01,0xA5,0xFB },
{ "TXS ", 0xCE03,0xFF,0x80,0x01,0xA5,0xFB },
{ "LDA #$33 ", 0xCE04,0xFF,0x80,0x01,0xA5,0x80 },
{ "PHA ", 0xCE06,0x33,0x80,0x01,0x25,0x80 },
{ "LDA #$69 ", 0xCE07,0x33,0x80,0x01,0x25,0x7F },
{ "PHA ", 0xCE09,0x69,0x80,0x01,0x25,0x7F },
{ "TSX ", 0xCE0A,0x69,0x80,0x01,0x25,0x7E },
{ "CPX #$7E ", 0xCE0B,0x69,0x7E,0x01,0x25,0x7E },
{ "BNE $CE2F ", 0xCE0D,0x69,0x7E,0x01,0x27,0x7E },
{ "PLA ", 0xCE0F,0x69,0x7E,0x01,0x27,0x7E },
{ "CMP #$69 ", 0xCE10,0x69,0x7E,0x01,0x25,0x7F },
{ "BNE $CE2F ", 0xCE12,0x69,0x7E,0x01,0x27,0x7F },
{ "PLA ", 0xCE14,0x69,0x7E,0x01,0x27,0x7F },
{ "CMP #$33 ", 0xCE15,0x33,0x7E,0x01,0x25,0x80 },
{ "BNE $CE2F ", 0xCE17,0x33,0x7E,0x01,0x27,0x80 },
{ "TSX ", 0xCE19,0x33,0x7E,0x01,0x27,0x80 },
{ "CPX #$80 ", 0xCE1A,0x33,0x80,0x01,0xA5,0x80 },
{ "BNE $CE2F ", 0xCE1C,0x33,0x80,0x01,0x27,0x80 },
{ "LDA $0180 = 33 ", 0xCE1E,0x33,0x80,0x01,0x27,0x80 },
{ "CMP #$33 ", 0xCE21,0x33,0x80,0x01,0x25,0x80 },
{ "BNE $CE2F ", 0xCE23,0x33,0x80,0x01,0x27,0x80 },
{ "LDA $017F = 69 ", 0xCE25,0x33,0x80,0x01,0x27,0x80 },
{ "CMP #$69 ", 0xCE28,0x69,0x80,0x01,0x25,0x80 },
{ "BNE $CE2F ", 0xCE2A,0x69,0x80,0x01,0x27,0x80 },
{ "JMP $CE33 ", 0xCE2C,0x69,0x80,0x01,0x27,0x80 },
{ "NOP ", 0xCE33,0x69,0x80,0x01,0x27,0x80 },
{ "LDX #$80 ", 0xCE34,0x69,0x80,0x01,0x27,0x80 },
{ "TXS ", 0xCE36,0x69,0x80,0x01,0xA5,0x80 },
{ "JSR $CE3D ", 0xCE37,0x69,0x80,0x01,0xA5,0x80 },
{ "TSX ", 0xCE3D,0x69,0x80,0x01,0xA5,0x7E },
{ "CPX #$7E ", 0xCE3E,0x69,0x7E,0x01,0x25,0x7E },
{ "BNE $CE5B ", 0xCE40,0x69,0x7E,0x01,0x27,0x7E },
{ "PLA ", 0xCE42,0x69,0x7E,0x01,0x27,0x7E },
{ "PLA ", 0xCE43,0x39,0x7E,0x01,0x25,0x7F },
{ "TSX ", 0xCE44,0xCE,0x7E,0x01,0xA5,0x80 },
{ "CPX #$80 ", 0xCE45,0xCE,0x80,0x01,0xA5,0x80 },
{ "BNE $CE5B ", 0xCE47,0xCE,0x80,0x01,0x27,0x80 },
{ "LDA #$00 ", 0xCE49,0xCE,0x80,0x01,0x27,0x80 },
{ "JSR $CE4E ", 0xCE4B,0x00,0x80,0x01,0x27,0x80 },
{ "PLA ", 0xCE4E,0x00,0x80,0x01,0x27,0x7E },
{ "CMP #$4D ", 0xCE4F,0x4D,0x80,0x01,0x25,0x7F },
{ "BNE $CE5B ", 0xCE51,0x4D,0x80,0x01,0x27,0x7F },
{ "PLA ", 0xCE53,0x4D,0x80,0x01,0x27,0x7F },
{ "CMP #$CE ", 0xCE54,0xCE,0x80,0x01,0xA5,0x80 },
{ "BNE $CE5B ", 0xCE56,0xCE,0x80,0x01,0x27,0x80 },
{ "JMP $CE5F ", 0xCE58,0xCE,0x80,0x01,0x27,0x80 },
{ "NOP ", 0xCE5F,0xCE,0x80,0x01,0x27,0x80 },
{ "LDA #$CE ", 0xCE60,0xCE,0x80,0x01,0x27,0x80 },
{ "PHA ", 0xCE62,0xCE,0x80,0x01,0xA5,0x80 },
{ "LDA #$66 ", 0xCE63,0xCE,0x80,0x01,0xA5,0x7F },
{ "PHA ", 0xCE65,0x66,0x80,0x01,0x25,0x7F },
{ "RTS ", 0xCE66,0x66,0x80,0x01,0x25,0x7E },
{ "LDX #$77 ", 0xCE67,0x66,0x80,0x01,0x25,0x80 },
{ "LDY #$69 ", 0xCE69,0x66,0x77,0x01,0x25,0x80 },
{ "CLC ", 0xCE6B,0x66,0x77,0x69,0x25,0x80 },
{ "BIT $01 = FF ", 0xCE6C,0x66,0x77,0x69,0x24,0x80 },
{ "LDA #$83 ", 0xCE6E,0x66,0x77,0x69,0xE4,0x80 },
{ "JSR $CE66 ", 0xCE70,0x83,0x77,0x69,0xE4,0x80 },
{ "RTS ", 0xCE66,0x83,0x77,0x69,0xE4,0x7E },
{ "BEQ $CE99 ", 0xCE73,0x83,0x77,0x69,0xE4,0x80 },
{ "BPL $CE99 ", 0xCE75,0x83,0x77,0x69,0xE4,0x80 },
{ "BCS $CE99 ", 0xCE77,0x83,0x77,0x69,0xE4,0x80 },
{ "BVC $CE99 ", 0xCE79,0x83,0x77,0x69,0xE4,0x80 },
{ "CMP #$83 ", 0xCE7B,0x83,0x77,0x69,0xE4,0x80 },
{ "BNE $CE99 ", 0xCE7D,0x83,0x77,0x69,0x67,0x80 },
{ "CPY #$69 ", 0xCE7F,0x83,0x77,0x69,0x67,0x80 },
{ "BNE $CE99 ", 0xCE81,0x83,0x77,0x69,0x67,0x80 },
{ "CPX #$77 ", 0xCE83,0x83,0x77,0x69,0x67,0x80 },
{ "BNE $CE99 ", 0xCE85,0x83,0x77,0x69,0x67,0x80 },
{ "SEC ", 0xCE87,0x83,0x77,0x69,0x67,0x80 },
{ "CLV ", 0xCE88,0x83,0x77,0x69,0x67,0x80 },
{ "LDA #$00 ", 0xCE89,0x83,0x77,0x69,0x27,0x80 },
{ "JSR $CE66 ", 0xCE8B,0x00,0x77,0x69,0x27,0x80 },
{ "RTS ", 0xCE66,0x00,0x77,0x69,0x27,0x7E },
{ "BNE $CE99 ", 0xCE8E,0x00,0x77,0x69,0x27,0x80 },
{ "BMI $CE99 ", 0xCE90,0x00,0x77,0x69,0x27,0x80 },
{ "BCC $CE99 ", 0xCE92,0x00,0x77,0x69,0x27,0x80 },
{ "BVS $CE99 ", 0xCE94,0x00,0x77,0x69,0x27,0x80 },
{ "JMP $CE9D ", 0xCE96,0x00,0x77,0x69,0x27,0x80 },
{ "NOP ", 0xCE9D,0x00,0x77,0x69,0x27,0x80 },
{ "LDA #$CE ", 0xCE9E,0x00,0x77,0x69,0x27,0x80 },
{ "PHA ", 0xCEA0,0xCE,0x77,0x69,0xA5,0x80 },
{ "LDA #$AE ", 0xCEA1,0xCE,0x77,0x69,0xA5,0x7F },
{ "PHA ", 0xCEA3,0xAE,0x77,0x69,0xA5,0x7F },
{ "LDA #$65 ", 0xCEA4,0xAE,0x77,0x69,0xA5,0x7E },
{ "PHA ", 0xCEA6,0x65,0x77,0x69,0x25,0x7E },
{ "LDA #$55 ", 0xCEA7,0x65,0x77,0x69,0x25,0x7D },
{ "LDY #$88 ", 0xCEA9,0x55,0x77,0x69,0x25,0x7D },
{ "LDX #$99 ", 0xCEAB,0x55,0x77,0x88,0xA5,0x7D },
{ "RTI ", 0xCEAD,0x55,0x99,0x88,0xA5,0x7D },
{ "BMI $CEE5 ", 0xCEAE,0x55,0x99,0x88,0x65,0x80 },
{ "BVC $CEE5 ", 0xCEB0,0x55,0x99,0x88,0x65,0x80 },
{ "BEQ $CEE5 ", 0xCEB2,0x55,0x99,0x88,0x65,0x80 },
{ "BCC $CEE5 ", 0xCEB4,0x55,0x99,0x88,0x65,0x80 },
{ "CMP #$55 ", 0xCEB6,0x55,0x99,0x88,0x65,0x80 },
{ "BNE $CEE5 ", 0xCEB8,0x55,0x99,0x88,0x67,0x80 },
{ "CPY #$88 ", 0xCEBA,0x55,0x99,0x88,0x67,0x80 },
{ "BNE $CEE5 ", 0xCEBC,0x55,0x99,0x88,0x67,0x80 },
{ "CPX #$99 ", 0xCEBE,0x55,0x99,0x88,0x67,0x80 },
{ "BNE $CEE5 ", 0xCEC0,0x55,0x99,0x88,0x67,0x80 },
{ "LDA #$CE ", 0xCEC2,0x55,0x99,0x88,0x67,0x80 },
{ "PHA ", 0xCEC4,0xCE,0x99,0x88,0xE5,0x80 },
{ "LDA #$CE ", 0xCEC5,0xCE,0x99,0x88,0xE5,0x7F },
{ "PHA ", 0xCEC7,0xCE,0x99,0x88,0xE5,0x7F },
{ "LDA #$87 ", 0xCEC8,0xCE,0x99,0x88,0xE5,0x7E },
{ "PHA ", 0xCECA,0x87,0x99,0x88,0xE5,0x7E },
{ "LDA #$55 ", 0xCECB,0x87,0x99,0x88,0xE5,0x7D },
{ "RTI ", 0xCECD,0x55,0x99,0x88,0x65,0x7D },
{ "BPL $CEE5 ", 0xCECE,0x55,0x99,0x88,0xA7,0x80 },
{ "BVS $CEE5 ", 0xCED0,0x55,0x99,0x88,0xA7,0x80 },
{ "BNE $CEE5 ", 0xCED2,0x55,0x99,0x88,0xA7,0x80 },
{ "BCC $CEE5 ", 0xCED4,0x55,0x99,0x88,0xA7,0x80 },
{ "CMP #$55 ", 0xCED6,0x55,0x99,0x88,0xA7,0x80 },
{ "BNE $CEE5 ", 0xCED8,0x55,0x99,0x88,0x27,0x80 },
{ "CPY #$88 ", 0xCEDA,0x55,0x99,0x88,0x27,0x80 },
{ "BNE $CEE5 ", 0xCEDC,0x55,0x99,0x88,0x27,0x80 },
{ "CPX #$99 ", 0xCEDE,0x55,0x99,0x88,0x27,0x80 },
{ "BNE $CEE5 ", 0xCEE0,0x55,0x99,0x88,0x27,0x80 },
{ "JMP $CEE9 ", 0xCEE2,0x55,0x99,0x88,0x27,0x80 },
{ "LDX $07FF = FB ", 0xCEE9,0x55,0x99,0x88,0x27,0x80 },
{ "TXS ", 0xCEEC,0x55,0xFB,0x88,0xA5,0x80 },
{ "RTS ", 0xCEED,0x55,0xFB,0x88,0xA5,0xFB },
{ "JSR $CEEE ", 0xC60C,0x55,0xFB,0x88,0xA5,0xFD },
{ "LDX #$55 ", 0xCEEE,0x55,0xFB,0x88,0xA5,0xFB },
{ "LDY #$69 ", 0xCEF0,0x55,0x55,0x88,0x25,0xFB },
{ "LDA #$FF ", 0xCEF2,0x55,0x55,0x69,0x25,0xFB },
{ "STA $01 = FF ", 0xCEF4,0xFF,0x55,0x69,0xA5,0xFB },
{ "NOP ", 0xCEF6,0xFF,0x55,0x69,0xA5,0xFB },
{ "BIT $01 = FF ", 0xCEF7,0xFF,0x55,0x69,0xA5,0xFB },
{ "SEC ", 0xCEF9,0xFF,0x55,0x69,0xE5,0xFB },
{ "LDA #$01 ", 0xCEFA,0xFF,0x55,0x69,0xE5,0xFB },
{ "LSR A ", 0xCEFC,0x01,0x55,0x69,0x65,0xFB },
{ "BCC $CF1C ", 0xCEFD,0x00,0x55,0x69,0x67,0xFB },
{ "BNE $CF1C ", 0xCEFF,0x00,0x55,0x69,0x67,0xFB },
{ "BMI $CF1C ", 0xCF01,0x00,0x55,0x69,0x67,0xFB },
{ "BVC $CF1C ", 0xCF03,0x00,0x55,0x69,0x67,0xFB },
{ "CMP #$00 ", 0xCF05,0x00,0x55,0x69,0x67,0xFB },
{ "BNE $CF1C ", 0xCF07,0x00,0x55,0x69,0x67,0xFB },
{ "CLV ", 0xCF09,0x00,0x55,0x69,0x67,0xFB },
{ "LDA #$AA ", 0xCF0A,0x00,0x55,0x69,0x27,0xFB },
{ "LSR A ", 0xCF0C,0xAA,0x55,0x69,0xA5,0xFB },
{ "BCS $CF1C ", 0xCF0D,0x55,0x55,0x69,0x24,0xFB },
{ "BEQ $CF1C ", 0xCF0F,0x55,0x55,0x69,0x24,0xFB },
{ "BMI $CF1C ", 0xCF11,0x55,0x55,0x69,0x24,0xFB },
{ "BVS $CF1C ", 0xCF13,0x55,0x55,0x69,0x24,0xFB },
{ "CMP #$55 ", 0xCF15,0x55,0x55,0x69,0x24,0xFB },
{ "BNE $CF1C ", 0xCF17,0x55,0x55,0x69,0x27,0xFB },
{ "JMP $CF20 ", 0xCF19,0x55,0x55,0x69,0x27,0xFB },
{ "NOP ", 0xCF20,0x55,0x55,0x69,0x27,0xFB },
{ "BIT $01 = FF ", 0xCF21,0x55,0x55,0x69,0x27,0xFB },
{ "SEC ", 0xCF23,0x55,0x55,0x69,0xE5,0xFB },
{ "LDA #$80 ", 0xCF24,0x55,0x55,0x69,0xE5,0xFB },
{ "ASL A ", 0xCF26,0x80,0x55,0x69,0xE5,0xFB },
{ "BCC $CF47 ", 0xCF27,0x00,0x55,0x69,0x67,0xFB },
{ "BNE $CF47 ", 0xCF29,0x00,0x55,0x69,0x67,0xFB },
{ "BMI $CF47 ", 0xCF2B,0x00,0x55,0x69,0x67,0xFB },
{ "BVC $CF47 ", 0xCF2D,0x00,0x55,0x69,0x67,0xFB },
{ "CMP #$00 ", 0xCF2F,0x00,0x55,0x69,0x67,0xFB },
{ "BNE $CF47 ", 0xCF31,0x00,0x55,0x69,0x67,0xFB },
{ "CLV ", 0xCF33,0x00,0x55,0x69,0x67,0xFB },
{ "SEC ", 0xCF34,0x00,0x55,0x69,0x27,0xFB },
{ "LDA #$55 ", 0xCF35,0x00,0x55,0x69,0x27,0xFB },
{ "ASL A ", 0xCF37,0x55,0x55,0x69,0x25,0xFB },
{ "BCS $CF47 ", 0xCF38,0xAA,0x55,0x69,0xA4,0xFB },
{ "BEQ $CF47 ", 0xCF3A,0xAA,0x55,0x69,0xA4,0xFB },
{ "BPL $CF47 ", 0xCF3C,0xAA,0x55,0x69,0xA4,0xFB },
{ "BVS $CF47 ", 0xCF3E,0xAA,0x55,0x69,0xA4,0xFB },
{ "CMP #$AA ", 0xCF40,0xAA,0x55,0x69,0xA4,0xFB },
{ "BNE $CF47 ", 0xCF42,0xAA,0x55,0x69,0x27,0xFB },
{ "JMP $CF4B ", 0xCF44,0xAA,0x55,0x69,0x27,0xFB },
{ "NOP ", 0xCF4B,0xAA,0x55,0x69,0x27,0xFB },
{ "BIT $01 = FF ", 0xCF4C,0xAA,0x55,0x69,0x27,0xFB },
{ "SEC ", 0xCF4E,0xAA,0x55,0x69,0xE5,0xFB },
{ "LDA #$01 ", 0xCF4F,0xAA,0x55,0x69,0xE5,0xFB },
{ "ROR A ", 0xCF51,0x01,0x55,0x69,0x65,0xFB },
{ "BCC $CF72 ", 0xCF52,0x80,0x55,0x69,0xE5,0xFB },
{ "BEQ $CF72 ", 0xCF54,0x80,0x55,0x69,0xE5,0xFB },
{ "BPL $CF72 ", 0xCF56,0x80,0x55,0x69,0xE5,0xFB },
{ "BVC $CF72 ", 0xCF58,0x80,0x55,0x69,0xE5,0xFB },
{ "CMP #$80 ", 0xCF5A,0x80,0x55,0x69,0xE5,0xFB },
{ "BNE $CF72 ", 0xCF5C,0x80,0x55,0x69,0x67,0xFB },
{ "CLV ", 0xCF5E,0x80,0x55,0x69,0x67,0xFB },
{ "CLC ", 0xCF5F,0x80,0x55,0x69,0x27,0xFB },
{ "LDA #$55 ", 0xCF60,0x80,0x55,0x69,0x26,0xFB },
{ "ROR A ", 0xCF62,0x55,0x55,0x69,0x24,0xFB },
{ "BCC $CF72 ", 0xCF63,0x2A,0x55,0x69,0x25,0xFB },
{ "BEQ $CF72 ", 0xCF65,0x2A,0x55,0x69,0x25,0xFB },
{ "BMI $CF72 ", 0xCF67,0x2A,0x55,0x69,0x25,0xFB },
{ "BVS $CF72 ", 0xCF69,0x2A,0x55,0x69,0x25,0xFB },
{ "CMP #$2A ", 0xCF6B,0x2A,0x55,0x69,0x25,0xFB },
{ "BNE $CF72 ", 0xCF6D,0x2A,0x55,0x69,0x27,0xFB },
{ "JMP $CF76 ", 0xCF6F,0x2A,0x55,0x69,0x27,0xFB },
{ "NOP ", 0xCF76,0x2A,0x55,0x69,0x27,0xFB },
{ "BIT $01 = FF ", 0xCF77,0x2A,0x55,0x69,0x27,0xFB },
{ "SEC ", 0xCF79,0x2A,0x55,0x69,0xE5,0xFB },
{ "LDA #$80 ", 0xCF7A,0x2A,0x55,0x69,0xE5,0xFB },
{ "ROL A ", 0xCF7C,0x80,0x55,0x69,0xE5,0xFB },
{ "BCC $CF9D ", 0xCF7D,0x01,0x55,0x69,0x65,0xFB },
{ "BEQ $CF9D ", 0xCF7F,0x01,0x55,0x69,0x65,0xFB },
{ "BMI $CF9D ", 0xCF81,0x01,0x55,0x69,0x65,0xFB },
{ "BVC $CF9D ", 0xCF83,0x01,0x55,0x69,0x65,0xFB },
{ "CMP #$01 ", 0xCF85,0x01,0x55,0x69,0x65,0xFB },
{ "BNE $CF9D ", 0xCF87,0x01,0x55,0x69,0x67,0xFB },
{ "CLV ", 0xCF89,0x01,0x55,0x69,0x67,0xFB },
{ "CLC ", 0xCF8A,0x01,0x55,0x69,0x27,0xFB },
{ "LDA #$55 ", 0xCF8B,0x01,0x55,0x69,0x26,0xFB },
{ "ROL A ", 0xCF8D,0x55,0x55,0x69,0x24,0xFB },
{ "BCS $CF9D ", 0xCF8E,0xAA,0x55,0x69,0xA4,0xFB },
{ "BEQ $CF9D ", 0xCF90,0xAA,0x55,0x69,0xA4,0xFB },
{ "BPL $CF9D ", 0xCF92,0xAA,0x55,0x69,0xA4,0xFB },
{ "BVS $CF9D ", 0xCF94,0xAA,0x55,0x69,0xA4,0xFB },
{ "CMP #$AA ", 0xCF96,0xAA,0x55,0x69,0xA4,0xFB },
{ "BNE $CF9D ", 0xCF98,0xAA,0x55,0x69,0x27,0xFB },
{ "JMP $CFA1 ", 0xCF9A,0xAA,0x55,0x69,0x27,0xFB },
{ "RTS ", 0xCFA1,0xAA,0x55,0x69,0x27,0xFB },
{ "JSR $CFA2 ", 0xC60F,0xAA,0x55,0x69,0x27,0xFD },
{ "LDA $00 = 00 ", 0xCFA2,0xAA,0x55,0x69,0x27,0xFB },
{ "STA $07FF = FB ", 0xCFA4,0x00,0x55,0x69,0x27,0xFB },
{ "LDA #$00 ", 0xCFA7,0x00,0x55,0x69,0x27,0xFB },
{ "STA $80 = 00 ", 0xCFA9,0x00,0x55,0x69,0x27,0xFB },
{ "LDA #$02 ", 0xCFAB,0x00,0x55,0x69,0x27,0xFB },
{ "STA $81 = 00 ", 0xCFAD,0x02,0x55,0x69,0x25,0xFB },
{ "LDA #$FF ", 0xCFAF,0x02,0x55,0x69,0x25,0xFB },
{ "STA $01 = FF ", 0xCFB1,0xFF,0x55,0x69,0xA5,0xFB },
{ "LDA #$00 ", 0xCFB3,0xFF,0x55,0x69,0xA5,0xFB },
{ "STA $82 = 00 ", 0xCFB5,0x00,0x55,0x69,0x27,0xFB },
{ "LDA #$03 ", 0xCFB7,0x00,0x55,0x69,0x27,0xFB },
{ "STA $83 = 00 ", 0xCFB9,0x03,0x55,0x69,0x25,0xFB },
{ "STA $84 = 00 ", 0xCFBB,0x03,0x55,0x69,0x25,0xFB },
{ "LDA #$00 ", 0xCFBD,0x03,0x55,0x69,0x25,0xFB },
{ "STA $FF = 00 ", 0xCFBF,0x00,0x55,0x69,0x27,0xFB },
{ "LDA #$04 ", 0xCFC1,0x00,0x55,0x69,0x27,0xFB },
{ "STA $00 = 00 ", 0xCFC3,0x04,0x55,0x69,0x25,0xFB },
{ "LDA #$5A ", 0xCFC5,0x04,0x55,0x69,0x25,0xFB },
{ "STA $0200 = 00 ", 0xCFC7,0x5A,0x55,0x69,0x25,0xFB },
{ "LDA #$5B ", 0xCFCA,0x5A,0x55,0x69,0x25,0xFB },
{ "STA $0300 = 00 ", 0xCFCC,0x5B,0x55,0x69,0x25,0xFB },
{ "LDA #$5C ", 0xCFCF,0x5B,0x55,0x69,0x25,0xFB },
{ "STA $0303 = 00 ", 0xCFD1,0x5C,0x55,0x69,0x25,0xFB },
{ "LDA #$5D ", 0xCFD4,0x5C,0x55,0x69,0x25,0xFB },
{ "STA $0400 = 00 ", 0xCFD6,0x5D,0x55,0x69,0x25,0xFB },
{ "LDX #$00 ", 0xCFD9,0x5D,0x55,0x69,0x25,0xFB },
{ "LDA ($80,X) @ 80 = 0200 = 5A ", 0xCFDB,0x5D,0x00,0x69,0x27,0xFB },
{ "CMP #$5A ", 0xCFDD,0x5A,0x00,0x69,0x25,0xFB },
{ "BNE $D000 ", 0xCFDF,0x5A,0x00,0x69,0x27,0xFB },
{ "INX ", 0xCFE1,0x5A,0x00,0x69,0x27,0xFB },
{ "INX ", 0xCFE2,0x5A,0x01,0x69,0x25,0xFB },
{ "LDA ($80,X) @ 82 = 0300 = 5B ", 0xCFE3,0x5A,0x02,0x69,0x25,0xFB },
{ "CMP #$5B ", 0xCFE5,0x5B,0x02,0x69,0x25,0xFB },
{ "BNE $D000 ", 0xCFE7,0x5B,0x02,0x69,0x27,0xFB },
{ "INX ", 0xCFE9,0x5B,0x02,0x69,0x27,0xFB },
{ "LDA ($80,X) @ 83 = 0303 = 5C ", 0xCFEA,0x5B,0x03,0x69,0x25,0xFB },
{ "CMP #$5C ", 0xCFEC,0x5C,0x03,0x69,0x25,0xFB },
{ "BNE $D000 ", 0xCFEE,0x5C,0x03,0x69,0x27,0xFB },
{ "LDX #$00 ", 0xCFF0,0x5C,0x03,0x69,0x27,0xFB },
{ "LDA ($FF,X) @ FF = 0400 = 5D ", 0xCFF2,0x5C,0x00,0x69,0x27,0xFB },
{ "CMP #$5D ", 0xCFF4,0x5D,0x00,0x69,0x25,0xFB },
{ "BNE $D000 ", 0xCFF6,0x5D,0x00,0x69,0x27,0xFB },
{ "LDX #$81 ", 0xCFF8,0x5D,0x00,0x69,0x27,0xFB },
{ "LDA ($FF,X) @ 80 = 0200 = 5A ", 0xCFFA,0x5D,0x81,0x69,0xA5,0xFB },
{ "CMP #$5A ", 0xCFFC,0x5A,0x81,0x69,0x25,0xFB },
{ "BEQ $D005 ", 0xCFFE,0x5A,0x81,0x69,0x27,0xFB },
{ "LDA #$AA ", 0xD005,0x5A,0x81,0x69,0x27,0xFB },
{ "LDX #$00 ", 0xD007,0xAA,0x81,0x69,0xA5,0xFB },
{ "STA ($80,X) @ 80 = 0200 = 5A ", 0xD009,0xAA,0x00,0x69,0x27,0xFB },
{ "INX ", 0xD00B,0xAA,0x00,0x69,0x27,0xFB },
{ "INX ", 0xD00C,0xAA,0x01,0x69,0x25,0xFB },
{ "LDA #$AB ", 0xD00D,0xAA,0x02,0x69,0x25,0xFB },
{ "STA ($80,X) @ 82 = 0300 = 5B ", 0xD00F,0xAB,0x02,0x69,0xA5,0xFB },
{ "INX ", 0xD011,0xAB,0x02,0x69,0xA5,0xFB },
{ "LDA #$AC ", 0xD012,0xAB,0x03,0x69,0x25,0xFB },
{ "STA ($80,X) @ 83 = 0303 = 5C ", 0xD014,0xAC,0x03,0x69,0xA5,0xFB },
{ "LDX #$00 ", 0xD016,0xAC,0x03,0x69,0xA5,0xFB },
{ "LDA #$AD ", 0xD018,0xAC,0x00,0x69,0x27,0xFB },
{ "STA ($FF,X) @ FF = 0400 = 5D ", 0xD01A,0xAD,0x00,0x69,0xA5,0xFB },
{ "LDA $0200 = AA ", 0xD01C,0xAD,0x00,0x69,0xA5,0xFB },
{ "CMP #$AA ", 0xD01F,0xAA,0x00,0x69,0xA5,0xFB },
{ "BNE $D038 ", 0xD021,0xAA,0x00,0x69,0x27,0xFB },
{ "LDA $0300 = AB ", 0xD023,0xAA,0x00,0x69,0x27,0xFB },
{ "CMP #$AB ", 0xD026,0xAB,0x00,0x69,0xA5,0xFB },
{ "BNE $D038 ", 0xD028,0xAB,0x00,0x69,0x27,0xFB },
{ "LDA $0303 = AC ", 0xD02A,0xAB,0x00,0x69,0x27,0xFB },
{ "CMP #$AC ", 0xD02D,0xAC,0x00,0x69,0xA5,0xFB },
{ "BNE $D038 ", 0xD02F,0xAC,0x00,0x69,0x27,0xFB },
{ "LDA $0400 = AD ", 0xD031,0xAC,0x00,0x69,0x27,0xFB },
{ "CMP #$AD ", 0xD034,0xAD,0x00,0x69,0xA5,0xFB },
{ "BEQ $D03D ", 0xD036,0xAD,0x00,0x69,0x27,0xFB },
{ "LDA $07FF = 00 ", 0xD03D,0xAD,0x00,0x69,0x27,0xFB },
{ "STA $00 = 04 ", 0xD040,0x00,0x00,0x69,0x27,0xFB },
{ "LDA #$00 ", 0xD042,0x00,0x00,0x69,0x27,0xFB },
{ "STA $0300 = AB ", 0xD044,0x00,0x00,0x69,0x27,0xFB },
{ "LDA #$AA ", 0xD047,0x00,0x00,0x69,0x27,0xFB },
{ "STA $0200 = AA ", 0xD049,0xAA,0x00,0x69,0xA5,0xFB },
{ "LDX #$00 ", 0xD04C,0xAA,0x00,0x69,0xA5,0xFB },
{ "LDY #$5A ", 0xD04E,0xAA,0x00,0x69,0x27,0xFB },
{ "JSR $F7B6 ", 0xD050,0xAA,0x00,0x5A,0x25,0xFB },
{ "CLC ", 0xF7B6,0xAA,0x00,0x5A,0x25,0xF9 },
{ "LDA #$FF ", 0xF7B7,0xAA,0x00,0x5A,0x24,0xF9 },
{ "STA $01 = FF ", 0xF7B9,0xFF,0x00,0x5A,0xA4,0xF9 },
{ "BIT $01 = FF ", 0xF7BB,0xFF,0x00,0x5A,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7BD,0xFF,0x00,0x5A,0xE4,0xF9 },
{ "RTS ", 0xF7BF,0x55,0x00,0x5A,0x64,0xF9 },
{ "ORA ($80,X) @ 80 = 0200 = AA ", 0xD053,0x55,0x00,0x5A,0x64,0xFB },
{ "JSR $F7C0 ", 0xD055,0xFF,0x00,0x5A,0xE4,0xFB },
{ "BCS $F7CB ", 0xF7C0,0xFF,0x00,0x5A,0xE4,0xF9 },
{ "BPL $F7CB ", 0xF7C2,0xFF,0x00,0x5A,0xE4,0xF9 },
{ "CMP #$FF ", 0xF7C4,0xFF,0x00,0x5A,0xE4,0xF9 },
{ "BNE $F7CB ", 0xF7C6,0xFF,0x00,0x5A,0x67,0xF9 },
{ "BVC $F7CB ", 0xF7C8,0xFF,0x00,0x5A,0x67,0xF9 },
{ "RTS ", 0xF7CA,0xFF,0x00,0x5A,0x67,0xF9 },
{ "INY ", 0xD058,0xFF,0x00,0x5A,0x67,0xFB },
{ "JSR $F7CE ", 0xD059,0xFF,0x00,0x5B,0x65,0xFB },
{ "SEC ", 0xF7CE,0xFF,0x00,0x5B,0x65,0xF9 },
{ "CLV ", 0xF7CF,0xFF,0x00,0x5B,0x65,0xF9 },
{ "LDA #$00 ", 0xF7D0,0xFF,0x00,0x5B,0x25,0xF9 },
{ "RTS ", 0xF7D2,0x00,0x00,0x5B,0x27,0xF9 },
{ "ORA ($82,X) @ 82 = 0300 = 00 ", 0xD05C,0x00,0x00,0x5B,0x27,0xFB },
{ "JSR $F7D3 ", 0xD05E,0x00,0x00,0x5B,0x27,0xFB },
{ "BNE $F7DC ", 0xF7D3,0x00,0x00,0x5B,0x27,0xF9 },
{ "BVS $F7DC ", 0xF7D5,0x00,0x00,0x5B,0x27,0xF9 },
{ "BCC $F7DC ", 0xF7D7,0x00,0x00,0x5B,0x27,0xF9 },
{ "BMI $F7DC ", 0xF7D9,0x00,0x00,0x5B,0x27,0xF9 },
{ "RTS ", 0xF7DB,0x00,0x00,0x5B,0x27,0xF9 },
{ "INY ", 0xD061,0x00,0x00,0x5B,0x27,0xFB },
{ "JSR $F7DF ", 0xD062,0x00,0x00,0x5C,0x25,0xFB },
{ "CLC ", 0xF7DF,0x00,0x00,0x5C,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF7E0,0x00,0x00,0x5C,0x24,0xF9 },
{ "LDA #$55 ", 0xF7E2,0x00,0x00,0x5C,0xE6,0xF9 },
{ "RTS ", 0xF7E4,0x55,0x00,0x5C,0x64,0xF9 },
{ "AND ($80,X) @ 80 = 0200 = AA ", 0xD065,0x55,0x00,0x5C,0x64,0xFB },
{ "JSR $F7E5 ", 0xD067,0x00,0x00,0x5C,0x66,0xFB },
{ "BNE $F7EE ", 0xF7E5,0x00,0x00,0x5C,0x66,0xF9 },
{ "BVC $F7EE ", 0xF7E7,0x00,0x00,0x5C,0x66,0xF9 },
{ "BCS $F7EE ", 0xF7E9,0x00,0x00,0x5C,0x66,0xF9 },
{ "BMI $F7EE ", 0xF7EB,0x00,0x00,0x5C,0x66,0xF9 },
{ "RTS ", 0xF7ED,0x00,0x00,0x5C,0x66,0xF9 },
{ "INY ", 0xD06A,0x00,0x00,0x5C,0x66,0xFB },
{ "LDA #$EF ", 0xD06B,0x00,0x00,0x5D,0x64,0xFB },
{ "STA $0300 = 00 ", 0xD06D,0xEF,0x00,0x5D,0xE4,0xFB },
{ "JSR $F7F1 ", 0xD070,0xEF,0x00,0x5D,0xE4,0xFB },
{ "SEC ", 0xF7F1,0xEF,0x00,0x5D,0xE4,0xF9 },
{ "CLV ", 0xF7F2,0xEF,0x00,0x5D,0xE5,0xF9 },
{ "LDA #$F8 ", 0xF7F3,0xEF,0x00,0x5D,0xA5,0xF9 },
{ "RTS ", 0xF7F5,0xF8,0x00,0x5D,0xA5,0xF9 },
{ "AND ($82,X) @ 82 = 0300 = EF ", 0xD073,0xF8,0x00,0x5D,0xA5,0xFB },
{ "JSR $F7F6 ", 0xD075,0xE8,0x00,0x5D,0xA5,0xFB },
{ "BCC $F801 ", 0xF7F6,0xE8,0x00,0x5D,0xA5,0xF9 },
{ "BPL $F801 ", 0xF7F8,0xE8,0x00,0x5D,0xA5,0xF9 },
{ "CMP #$E8 ", 0xF7FA,0xE8,0x00,0x5D,0xA5,0xF9 },
{ "BNE $F801 ", 0xF7FC,0xE8,0x00,0x5D,0x27,0xF9 },
{ "BVS $F801 ", 0xF7FE,0xE8,0x00,0x5D,0x27,0xF9 },
{ "RTS ", 0xF800,0xE8,0x00,0x5D,0x27,0xF9 },
{ "INY ", 0xD078,0xE8,0x00,0x5D,0x27,0xFB },
{ "JSR $F804 ", 0xD079,0xE8,0x00,0x5E,0x25,0xFB },
{ "CLC ", 0xF804,0xE8,0x00,0x5E,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF805,0xE8,0x00,0x5E,0x24,0xF9 },
{ "LDA #$5F ", 0xF807,0xE8,0x00,0x5E,0xE4,0xF9 },
{ "RTS ", 0xF809,0x5F,0x00,0x5E,0x64,0xF9 },
{ "EOR ($80,X) @ 80 = 0200 = AA ", 0xD07C,0x5F,0x00,0x5E,0x64,0xFB },
{ "JSR $F80A ", 0xD07E,0xF5,0x00,0x5E,0xE4,0xFB },
{ "BCS $F815 ", 0xF80A,0xF5,0x00,0x5E,0xE4,0xF9 },
{ "BPL $F815 ", 0xF80C,0xF5,0x00,0x5E,0xE4,0xF9 },
{ "CMP #$F5 ", 0xF80E,0xF5,0x00,0x5E,0xE4,0xF9 },
{ "BNE $F815 ", 0xF810,0xF5,0x00,0x5E,0x67,0xF9 },
{ "BVC $F815 ", 0xF812,0xF5,0x00,0x5E,0x67,0xF9 },
{ "RTS ", 0xF814,0xF5,0x00,0x5E,0x67,0xF9 },
{ "INY ", 0xD081,0xF5,0x00,0x5E,0x67,0xFB },
{ "LDA #$70 ", 0xD082,0xF5,0x00,0x5F,0x65,0xFB },
{ "STA $0300 = EF ", 0xD084,0x70,0x00,0x5F,0x65,0xFB },
{ "JSR $F818 ", 0xD087,0x70,0x00,0x5F,0x65,0xFB },
{ "SEC ", 0xF818,0x70,0x00,0x5F,0x65,0xF9 },
{ "CLV ", 0xF819,0x70,0x00,0x5F,0x65,0xF9 },
{ "LDA #$70 ", 0xF81A,0x70,0x00,0x5F,0x25,0xF9 },
{ "RTS ", 0xF81C,0x70,0x00,0x5F,0x25,0xF9 },
{ "EOR ($82,X) @ 82 = 0300 = 70 ", 0xD08A,0x70,0x00,0x5F,0x25,0xFB },
{ "JSR $F81D ", 0xD08C,0x00,0x00,0x5F,0x27,0xFB },
{ "BNE $F826 ", 0xF81D,0x00,0x00,0x5F,0x27,0xF9 },
{ "BVS $F826 ", 0xF81F,0x00,0x00,0x5F,0x27,0xF9 },
{ "BCC $F826 ", 0xF821,0x00,0x00,0x5F,0x27,0xF9 },
{ "BMI $F826 ", 0xF823,0x00,0x00,0x5F,0x27,0xF9 },
{ "RTS ", 0xF825,0x00,0x00,0x5F,0x27,0xF9 },
{ "INY ", 0xD08F,0x00,0x00,0x5F,0x27,0xFB },
{ "LDA #$69 ", 0xD090,0x00,0x00,0x60,0x25,0xFB },
{ "STA $0200 = AA ", 0xD092,0x69,0x00,0x60,0x25,0xFB },
{ "JSR $F829 ", 0xD095,0x69,0x00,0x60,0x25,0xFB },
{ "CLC ", 0xF829,0x69,0x00,0x60,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF82A,0x69,0x00,0x60,0x24,0xF9 },
{ "LDA #$00 ", 0xF82C,0x69,0x00,0x60,0xE4,0xF9 },
{ "RTS ", 0xF82E,0x00,0x00,0x60,0x66,0xF9 },
{ "ADC ($80,X) @ 80 = 0200 = 69 ", 0xD098,0x00,0x00,0x60,0x66,0xFB },
{ "JSR $F82F ", 0xD09A,0x69,0x00,0x60,0x24,0xFB },
{ "BMI $F83A ", 0xF82F,0x69,0x00,0x60,0x24,0xF9 },
{ "BCS $F83A ", 0xF831,0x69,0x00,0x60,0x24,0xF9 },
{ "CMP #$69 ", 0xF833,0x69,0x00,0x60,0x24,0xF9 },
{ "BNE $F83A ", 0xF835,0x69,0x00,0x60,0x27,0xF9 },
{ "BVS $F83A ", 0xF837,0x69,0x00,0x60,0x27,0xF9 },
{ "RTS ", 0xF839,0x69,0x00,0x60,0x27,0xF9 },
{ "INY ", 0xD09D,0x69,0x00,0x60,0x27,0xFB },
{ "JSR $F83D ", 0xD09E,0x69,0x00,0x61,0x25,0xFB },
{ "SEC ", 0xF83D,0x69,0x00,0x61,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF83E,0x69,0x00,0x61,0x25,0xF9 },
{ "LDA #$00 ", 0xF840,0x69,0x00,0x61,0xE5,0xF9 },
{ "RTS ", 0xF842,0x00,0x00,0x61,0x67,0xF9 },
{ "ADC ($80,X) @ 80 = 0200 = 69 ", 0xD0A1,0x00,0x00,0x61,0x67,0xFB },
{ "JSR $F843 ", 0xD0A3,0x6A,0x00,0x61,0x24,0xFB },
{ "BMI $F84E ", 0xF843,0x6A,0x00,0x61,0x24,0xF9 },
{ "BCS $F84E ", 0xF845,0x6A,0x00,0x61,0x24,0xF9 },
{ "CMP #$6A ", 0xF847,0x6A,0x00,0x61,0x24,0xF9 },
{ "BNE $F84E ", 0xF849,0x6A,0x00,0x61,0x27,0xF9 },
{ "BVS $F84E ", 0xF84B,0x6A,0x00,0x61,0x27,0xF9 },
{ "RTS ", 0xF84D,0x6A,0x00,0x61,0x27,0xF9 },
{ "INY ", 0xD0A6,0x6A,0x00,0x61,0x27,0xFB },
{ "LDA #$7F ", 0xD0A7,0x6A,0x00,0x62,0x25,0xFB },
{ "STA $0200 = 69 ", 0xD0A9,0x7F,0x00,0x62,0x25,0xFB },
{ "JSR $F851 ", 0xD0AC,0x7F,0x00,0x62,0x25,0xFB },
{ "SEC ", 0xF851,0x7F,0x00,0x62,0x25,0xF9 },
{ "CLV ", 0xF852,0x7F,0x00,0x62,0x25,0xF9 },
{ "LDA #$7F ", 0xF853,0x7F,0x00,0x62,0x25,0xF9 },
{ "RTS ", 0xF855,0x7F,0x00,0x62,0x25,0xF9 },
{ "ADC ($80,X) @ 80 = 0200 = 7F ", 0xD0AF,0x7F,0x00,0x62,0x25,0xFB },
{ "JSR $F856 ", 0xD0B1,0xFF,0x00,0x62,0xE4,0xFB },
{ "BPL $F861 ", 0xF856,0xFF,0x00,0x62,0xE4,0xF9 },
{ "BCS $F861 ", 0xF858,0xFF,0x00,0x62,0xE4,0xF9 },
{ "CMP #$FF ", 0xF85A,0xFF,0x00,0x62,0xE4,0xF9 },
{ "BNE $F861 ", 0xF85C,0xFF,0x00,0x62,0x67,0xF9 },
{ "BVC $F861 ", 0xF85E,0xFF,0x00,0x62,0x67,0xF9 },
{ "RTS ", 0xF860,0xFF,0x00,0x62,0x67,0xF9 },
{ "INY ", 0xD0B4,0xFF,0x00,0x62,0x67,0xFB },
{ "LDA #$80 ", 0xD0B5,0xFF,0x00,0x63,0x65,0xFB },
{ "STA $0200 = 7F ", 0xD0B7,0x80,0x00,0x63,0xE5,0xFB },
{ "JSR $F864 ", 0xD0BA,0x80,0x00,0x63,0xE5,0xFB },
{ "CLC ", 0xF864,0x80,0x00,0x63,0xE5,0xF9 },
{ "BIT $01 = FF ", 0xF865,0x80,0x00,0x63,0xE4,0xF9 },
{ "LDA #$7F ", 0xF867,0x80,0x00,0x63,0xE4,0xF9 },
{ "RTS ", 0xF869,0x7F,0x00,0x63,0x64,0xF9 },
{ "ADC ($80,X) @ 80 = 0200 = 80 ", 0xD0BD,0x7F,0x00,0x63,0x64,0xFB },
{ "JSR $F86A ", 0xD0BF,0xFF,0x00,0x63,0xA4,0xFB },
{ "BPL $F875 ", 0xF86A,0xFF,0x00,0x63,0xA4,0xF9 },
{ "BCS $F875 ", 0xF86C,0xFF,0x00,0x63,0xA4,0xF9 },
{ "CMP #$FF ", 0xF86E,0xFF,0x00,0x63,0xA4,0xF9 },
{ "BNE $F875 ", 0xF870,0xFF,0x00,0x63,0x27,0xF9 },
{ "BVS $F875 ", 0xF872,0xFF,0x00,0x63,0x27,0xF9 },
{ "RTS ", 0xF874,0xFF,0x00,0x63,0x27,0xF9 },
{ "INY ", 0xD0C2,0xFF,0x00,0x63,0x27,0xFB },
{ "JSR $F878 ", 0xD0C3,0xFF,0x00,0x64,0x25,0xFB },
{ "SEC ", 0xF878,0xFF,0x00,0x64,0x25,0xF9 },
{ "CLV ", 0xF879,0xFF,0x00,0x64,0x25,0xF9 },
{ "LDA #$7F ", 0xF87A,0xFF,0x00,0x64,0x25,0xF9 },
{ "RTS ", 0xF87C,0x7F,0x00,0x64,0x25,0xF9 },
{ "ADC ($80,X) @ 80 = 0200 = 80 ", 0xD0C6,0x7F,0x00,0x64,0x25,0xFB },
{ "JSR $F87D ", 0xD0C8,0x00,0x00,0x64,0x27,0xFB },
{ "BNE $F886 ", 0xF87D,0x00,0x00,0x64,0x27,0xF9 },
{ "BMI $F886 ", 0xF87F,0x00,0x00,0x64,0x27,0xF9 },
{ "BVS $F886 ", 0xF881,0x00,0x00,0x64,0x27,0xF9 },
{ "BCC $F886 ", 0xF883,0x00,0x00,0x64,0x27,0xF9 },
{ "RTS ", 0xF885,0x00,0x00,0x64,0x27,0xF9 },
{ "INY ", 0xD0CB,0x00,0x00,0x64,0x27,0xFB },
{ "LDA #$40 ", 0xD0CC,0x00,0x00,0x65,0x25,0xFB },
{ "STA $0200 = 80 ", 0xD0CE,0x40,0x00,0x65,0x25,0xFB },
{ "JSR $F889 ", 0xD0D1,0x40,0x00,0x65,0x25,0xFB },
{ "BIT $01 = FF ", 0xF889,0x40,0x00,0x65,0x25,0xF9 },
{ "LDA #$40 ", 0xF88B,0x40,0x00,0x65,0xE5,0xF9 },
{ "RTS ", 0xF88D,0x40,0x00,0x65,0x65,0xF9 },
{ "CMP ($80,X) @ 80 = 0200 = 40 ", 0xD0D4,0x40,0x00,0x65,0x65,0xFB },
{ "JSR $F88E ", 0xD0D6,0x40,0x00,0x65,0x67,0xFB },
{ "BMI $F897 ", 0xF88E,0x40,0x00,0x65,0x67,0xF9 },
{ "BCC $F897 ", 0xF890,0x40,0x00,0x65,0x67,0xF9 },
{ "BNE $F897 ", 0xF892,0x40,0x00,0x65,0x67,0xF9 },
{ "BVC $F897 ", 0xF894,0x40,0x00,0x65,0x67,0xF9 },
{ "RTS ", 0xF896,0x40,0x00,0x65,0x67,0xF9 },
{ "INY ", 0xD0D9,0x40,0x00,0x65,0x67,0xFB },
{ "PHA ", 0xD0DA,0x40,0x00,0x66,0x65,0xFB },
{ "LDA #$3F ", 0xD0DB,0x40,0x00,0x66,0x65,0xFA },
{ "STA $0200 = 40 ", 0xD0DD,0x3F,0x00,0x66,0x65,0xFA },
{ "PLA ", 0xD0E0,0x3F,0x00,0x66,0x65,0xFA },
{ "JSR $F89A ", 0xD0E1,0x40,0x00,0x66,0x65,0xFB },
{ "CLV ", 0xF89A,0x40,0x00,0x66,0x65,0xF9 },
{ "RTS ", 0xF89B,0x40,0x00,0x66,0x25,0xF9 },
{ "CMP ($80,X) @ 80 = 0200 = 3F ", 0xD0E4,0x40,0x00,0x66,0x25,0xFB },
{ "JSR $F89C ", 0xD0E6,0x40,0x00,0x66,0x25,0xFB },
{ "BEQ $F8A5 ", 0xF89C,0x40,0x00,0x66,0x25,0xF9 },
{ "BMI $F8A5 ", 0xF89E,0x40,0x00,0x66,0x25,0xF9 },
{ "BCC $F8A5 ", 0xF8A0,0x40,0x00,0x66,0x25,0xF9 },
{ "BVS $F8A5 ", 0xF8A2,0x40,0x00,0x66,0x25,0xF9 },
{ "RTS ", 0xF8A4,0x40,0x00,0x66,0x25,0xF9 },
{ "INY ", 0xD0E9,0x40,0x00,0x66,0x25,0xFB },
{ "PHA ", 0xD0EA,0x40,0x00,0x67,0x25,0xFB },
{ "LDA #$41 ", 0xD0EB,0x40,0x00,0x67,0x25,0xFA },
{ "STA $0200 = 3F ", 0xD0ED,0x41,0x00,0x67,0x25,0xFA },
{ "PLA ", 0xD0F0,0x41,0x00,0x67,0x25,0xFA },
{ "CMP ($80,X) @ 80 = 0200 = 41 ", 0xD0F1,0x40,0x00,0x67,0x25,0xFB },
{ "JSR $F8A8 ", 0xD0F3,0x40,0x00,0x67,0xA4,0xFB },
{ "BEQ $F8AF ", 0xF8A8,0x40,0x00,0x67,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AA,0x40,0x00,0x67,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AC,0x40,0x00,0x67,0xA4,0xF9 },
{ "RTS ", 0xF8AE,0x40,0x00,0x67,0xA4,0xF9 },
{ "INY ", 0xD0F6,0x40,0x00,0x67,0xA4,0xFB },
{ "PHA ", 0xD0F7,0x40,0x00,0x68,0x24,0xFB },
{ "LDA #$00 ", 0xD0F8,0x40,0x00,0x68,0x24,0xFA },
{ "STA $0200 = 41 ", 0xD0FA,0x00,0x00,0x68,0x26,0xFA },
{ "PLA ", 0xD0FD,0x00,0x00,0x68,0x26,0xFA },
{ "JSR $F8B2 ", 0xD0FE,0x40,0x00,0x68,0x24,0xFB },
{ "LDA #$80 ", 0xF8B2,0x40,0x00,0x68,0x24,0xF9 },
{ "RTS ", 0xF8B4,0x80,0x00,0x68,0xA4,0xF9 },
{ "CMP ($80,X) @ 80 = 0200 = 00 ", 0xD101,0x80,0x00,0x68,0xA4,0xFB },
{ "JSR $F8B5 ", 0xD103,0x80,0x00,0x68,0xA5,0xFB },
{ "BEQ $F8BC ", 0xF8B5,0x80,0x00,0x68,0xA5,0xF9 },
{ "BPL $F8BC ", 0xF8B7,0x80,0x00,0x68,0xA5,0xF9 },
{ "BCC $F8BC ", 0xF8B9,0x80,0x00,0x68,0xA5,0xF9 },
{ "RTS ", 0xF8BB,0x80,0x00,0x68,0xA5,0xF9 },
{ "INY ", 0xD106,0x80,0x00,0x68,0xA5,0xFB },
{ "PHA ", 0xD107,0x80,0x00,0x69,0x25,0xFB },
{ "LDA #$80 ", 0xD108,0x80,0x00,0x69,0x25,0xFA },
{ "STA $0200 = 00 ", 0xD10A,0x80,0x00,0x69,0xA5,0xFA },
{ "PLA ", 0xD10D,0x80,0x00,0x69,0xA5,0xFA },
{ "CMP ($80,X) @ 80 = 0200 = 80 ", 0xD10E,0x80,0x00,0x69,0xA5,0xFB },
{ "JSR $F8BF ", 0xD110,0x80,0x00,0x69,0x27,0xFB },
{ "BNE $F8C6 ", 0xF8BF,0x80,0x00,0x69,0x27,0xF9 },
{ "BMI $F8C6 ", 0xF8C1,0x80,0x00,0x69,0x27,0xF9 },
{ "BCC $F8C6 ", 0xF8C3,0x80,0x00,0x69,0x27,0xF9 },
{ "RTS ", 0xF8C5,0x80,0x00,0x69,0x27,0xF9 },
{ "INY ", 0xD113,0x80,0x00,0x69,0x27,0xFB },
{ "PHA ", 0xD114,0x80,0x00,0x6A,0x25,0xFB },
{ "LDA #$81 ", 0xD115,0x80,0x00,0x6A,0x25,0xFA },
{ "STA $0200 = 80 ", 0xD117,0x81,0x00,0x6A,0xA5,0xFA },
{ "PLA ", 0xD11A,0x81,0x00,0x6A,0xA5,0xFA },
{ "CMP ($80,X) @ 80 = 0200 = 81 ", 0xD11B,0x80,0x00,0x6A,0xA5,0xFB },
{ "JSR $F8C9 ", 0xD11D,0x80,0x00,0x6A,0xA4,0xFB },
{ "BCS $F8D0 ", 0xF8C9,0x80,0x00,0x6A,0xA4,0xF9 },
{ "BEQ $F8D0 ", 0xF8CB,0x80,0x00,0x6A,0xA4,0xF9 },
{ "BPL $F8D0 ", 0xF8CD,0x80,0x00,0x6A,0xA4,0xF9 },
{ "RTS ", 0xF8CF,0x80,0x00,0x6A,0xA4,0xF9 },
{ "INY ", 0xD120,0x80,0x00,0x6A,0xA4,0xFB },
{ "PHA ", 0xD121,0x80,0x00,0x6B,0x24,0xFB },
{ "LDA #$7F ", 0xD122,0x80,0x00,0x6B,0x24,0xFA },
{ "STA $0200 = 81 ", 0xD124,0x7F,0x00,0x6B,0x24,0xFA },
{ "PLA ", 0xD127,0x7F,0x00,0x6B,0x24,0xFA },
{ "CMP ($80,X) @ 80 = 0200 = 7F ", 0xD128,0x80,0x00,0x6B,0xA4,0xFB },
{ "JSR $F8D3 ", 0xD12A,0x80,0x00,0x6B,0x25,0xFB },
{ "BCC $F8DA ", 0xF8D3,0x80,0x00,0x6B,0x25,0xF9 },
{ "BEQ $F8DA ", 0xF8D5,0x80,0x00,0x6B,0x25,0xF9 },
{ "BMI $F8DA ", 0xF8D7,0x80,0x00,0x6B,0x25,0xF9 },
{ "RTS ", 0xF8D9,0x80,0x00,0x6B,0x25,0xF9 },
{ "INY ", 0xD12D,0x80,0x00,0x6B,0x25,0xFB },
{ "LDA #$40 ", 0xD12E,0x80,0x00,0x6C,0x25,0xFB },
{ "STA $0200 = 7F ", 0xD130,0x40,0x00,0x6C,0x25,0xFB },
{ "JSR $F931 ", 0xD133,0x40,0x00,0x6C,0x25,0xFB },
{ "BIT $01 = FF ", 0xF931,0x40,0x00,0x6C,0x25,0xF9 },
{ "LDA #$40 ", 0xF933,0x40,0x00,0x6C,0xE5,0xF9 },
{ "SEC ", 0xF935,0x40,0x00,0x6C,0x65,0xF9 },
{ "RTS ", 0xF936,0x40,0x00,0x6C,0x65,0xF9 },
{ "SBC ($80,X) @ 80 = 0200 = 40 ", 0xD136,0x40,0x00,0x6C,0x65,0xFB },
{ "JSR $F937 ", 0xD138,0x00,0x00,0x6C,0x27,0xFB },
{ "BMI $F944 ", 0xF937,0x00,0x00,0x6C,0x27,0xF9 },
{ "BCC $F944 ", 0xF939,0x00,0x00,0x6C,0x27,0xF9 },
{ "BNE $F944 ", 0xF93B,0x00,0x00,0x6C,0x27,0xF9 },
{ "BVS $F944 ", 0xF93D,0x00,0x00,0x6C,0x27,0xF9 },
{ "CMP #$00 ", 0xF93F,0x00,0x00,0x6C,0x27,0xF9 },
{ "BNE $F944 ", 0xF941,0x00,0x00,0x6C,0x27,0xF9 },
{ "RTS ", 0xF943,0x00,0x00,0x6C,0x27,0xF9 },
{ "INY ", 0xD13B,0x00,0x00,0x6C,0x27,0xFB },
{ "LDA #$3F ", 0xD13C,0x00,0x00,0x6D,0x25,0xFB },
{ "STA $0200 = 40 ", 0xD13E,0x3F,0x00,0x6D,0x25,0xFB },
{ "JSR $F947 ", 0xD141,0x3F,0x00,0x6D,0x25,0xFB },
{ "CLV ", 0xF947,0x3F,0x00,0x6D,0x25,0xF9 },
{ "SEC ", 0xF948,0x3F,0x00,0x6D,0x25,0xF9 },
{ "LDA #$40 ", 0xF949,0x3F,0x00,0x6D,0x25,0xF9 },
{ "RTS ", 0xF94B,0x40,0x00,0x6D,0x25,0xF9 },
{ "SBC ($80,X) @ 80 = 0200 = 3F ", 0xD144,0x40,0x00,0x6D,0x25,0xFB },
{ "JSR $F94C ", 0xD146,0x01,0x00,0x6D,0x25,0xFB },
{ "BEQ $F959 ", 0xF94C,0x01,0x00,0x6D,0x25,0xF9 },
{ "BMI $F959 ", 0xF94E,0x01,0x00,0x6D,0x25,0xF9 },
{ "BCC $F959 ", 0xF950,0x01,0x00,0x6D,0x25,0xF9 },
{ "BVS $F959 ", 0xF952,0x01,0x00,0x6D,0x25,0xF9 },
{ "CMP #$01 ", 0xF954,0x01,0x00,0x6D,0x25,0xF9 },
{ "BNE $F959 ", 0xF956,0x01,0x00,0x6D,0x27,0xF9 },
{ "RTS ", 0xF958,0x01,0x00,0x6D,0x27,0xF9 },
{ "INY ", 0xD149,0x01,0x00,0x6D,0x27,0xFB },
{ "LDA #$41 ", 0xD14A,0x01,0x00,0x6E,0x25,0xFB },
{ "STA $0200 = 3F ", 0xD14C,0x41,0x00,0x6E,0x25,0xFB },
{ "JSR $F95C ", 0xD14F,0x41,0x00,0x6E,0x25,0xFB },
{ "LDA #$40 ", 0xF95C,0x41,0x00,0x6E,0x25,0xF9 },
{ "SEC ", 0xF95E,0x40,0x00,0x6E,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF95F,0x40,0x00,0x6E,0x25,0xF9 },
{ "RTS ", 0xF961,0x40,0x00,0x6E,0xE5,0xF9 },
{ "SBC ($80,X) @ 80 = 0200 = 41 ", 0xD152,0x40,0x00,0x6E,0xE5,0xFB },
{ "JSR $F962 ", 0xD154,0xFF,0x00,0x6E,0xA4,0xFB },
{ "BCS $F96F ", 0xF962,0xFF,0x00,0x6E,0xA4,0xF9 },
{ "BEQ $F96F ", 0xF964,0xFF,0x00,0x6E,0xA4,0xF9 },
{ "BPL $F96F ", 0xF966,0xFF,0x00,0x6E,0xA4,0xF9 },
{ "BVS $F96F ", 0xF968,0xFF,0x00,0x6E,0xA4,0xF9 },
{ "CMP #$FF ", 0xF96A,0xFF,0x00,0x6E,0xA4,0xF9 },
{ "BNE $F96F ", 0xF96C,0xFF,0x00,0x6E,0x27,0xF9 },
{ "RTS ", 0xF96E,0xFF,0x00,0x6E,0x27,0xF9 },
{ "INY ", 0xD157,0xFF,0x00,0x6E,0x27,0xFB },
{ "LDA #$00 ", 0xD158,0xFF,0x00,0x6F,0x25,0xFB },
{ "STA $0200 = 41 ", 0xD15A,0x00,0x00,0x6F,0x27,0xFB },
{ "JSR $F972 ", 0xD15D,0x00,0x00,0x6F,0x27,0xFB },
{ "CLC ", 0xF972,0x00,0x00,0x6F,0x27,0xF9 },
{ "LDA #$80 ", 0xF973,0x00,0x00,0x6F,0x26,0xF9 },
{ "RTS ", 0xF975,0x80,0x00,0x6F,0xA4,0xF9 },
{ "SBC ($80,X) @ 80 = 0200 = 00 ", 0xD160,0x80,0x00,0x6F,0xA4,0xFB },
{ "JSR $F976 ", 0xD162,0x7F,0x00,0x6F,0x65,0xFB },
{ "BCC $F97D ", 0xF976,0x7F,0x00,0x6F,0x65,0xF9 },
{ "CMP #$7F ", 0xF978,0x7F,0x00,0x6F,0x65,0xF9 },
{ "BNE $F97D ", 0xF97A,0x7F,0x00,0x6F,0x67,0xF9 },
{ "RTS ", 0xF97C,0x7F,0x00,0x6F,0x67,0xF9 },
{ "INY ", 0xD165,0x7F,0x00,0x6F,0x67,0xFB },
{ "LDA #$7F ", 0xD166,0x7F,0x00,0x70,0x65,0xFB },
{ "STA $0200 = 00 ", 0xD168,0x7F,0x00,0x70,0x65,0xFB },
{ "JSR $F980 ", 0xD16B,0x7F,0x00,0x70,0x65,0xFB },
{ "SEC ", 0xF980,0x7F,0x00,0x70,0x65,0xF9 },
{ "LDA #$81 ", 0xF981,0x7F,0x00,0x70,0x65,0xF9 },
{ "RTS ", 0xF983,0x81,0x00,0x70,0xE5,0xF9 },
{ "SBC ($80,X) @ 80 = 0200 = 7F ", 0xD16E,0x81,0x00,0x70,0xE5,0xFB },
{ "JSR $F984 ", 0xD170,0x02,0x00,0x70,0x65,0xFB },
{ "BVC $F98D ", 0xF984,0x02,0x00,0x70,0x65,0xF9 },
{ "BCC $F98D ", 0xF986,0x02,0x00,0x70,0x65,0xF9 },
{ "CMP #$02 ", 0xF988,0x02,0x00,0x70,0x65,0xF9 },
{ "BNE $F98D ", 0xF98A,0x02,0x00,0x70,0x67,0xF9 },
{ "RTS ", 0xF98C,0x02,0x00,0x70,0x67,0xF9 },
{ "RTS ", 0xD173,0x02,0x00,0x70,0x67,0xFB },
{ "JSR $D174 ", 0xC612,0x02,0x00,0x70,0x67,0xFD },
{ "LDA #$55 ", 0xD174,0x02,0x00,0x70,0x67,0xFB },
{ "STA $78 = 00 ", 0xD176,0x55,0x00,0x70,0x65,0xFB },
{ "LDA #$FF ", 0xD178,0x55,0x00,0x70,0x65,0xFB },
{ "STA $01 = FF ", 0xD17A,0xFF,0x00,0x70,0xE5,0xFB },
{ "BIT $01 = FF ", 0xD17C,0xFF,0x00,0x70,0xE5,0xFB },
{ "LDY #$11 ", 0xD17E,0xFF,0x00,0x70,0xE5,0xFB },
{ "LDX #$23 ", 0xD180,0xFF,0x00,0x11,0x65,0xFB },
{ "LDA #$00 ", 0xD182,0xFF,0x23,0x11,0x65,0xFB },
{ "LDA $78 = 55 ", 0xD184,0x00,0x23,0x11,0x67,0xFB },
{ "BEQ $D198 ", 0xD186,0x55,0x23,0x11,0x65,0xFB },
{ "BMI $D198 ", 0xD188,0x55,0x23,0x11,0x65,0xFB },
{ "CMP #$55 ", 0xD18A,0x55,0x23,0x11,0x65,0xFB },
{ "BNE $D198 ", 0xD18C,0x55,0x23,0x11,0x67,0xFB },
{ "CPY #$11 ", 0xD18E,0x55,0x23,0x11,0x67,0xFB },
{ "BNE $D198 ", 0xD190,0x55,0x23,0x11,0x67,0xFB },
{ "CPX #$23 ", 0xD192,0x55,0x23,0x11,0x67,0xFB },
{ "BVC $D198 ", 0xD194,0x55,0x23,0x11,0x67,0xFB },
{ "BEQ $D19C ", 0xD196,0x55,0x23,0x11,0x67,0xFB },
{ "LDA #$46 ", 0xD19C,0x55,0x23,0x11,0x67,0xFB },
{ "BIT $01 = FF ", 0xD19E,0x46,0x23,0x11,0x65,0xFB },
{ "STA $78 = 55 ", 0xD1A0,0x46,0x23,0x11,0xE5,0xFB },
{ "BEQ $D1AE ", 0xD1A2,0x46,0x23,0x11,0xE5,0xFB },
{ "BPL $D1AE ", 0xD1A4,0x46,0x23,0x11,0xE5,0xFB },
{ "BVC $D1AE ", 0xD1A6,0x46,0x23,0x11,0xE5,0xFB },
{ "LDA $78 = 46 ", 0xD1A8,0x46,0x23,0x11,0xE5,0xFB },
{ "CMP #$46 ", 0xD1AA,0x46,0x23,0x11,0x65,0xFB },
{ "BEQ $D1B2 ", 0xD1AC,0x46,0x23,0x11,0x67,0xFB },
{ "LDA #$55 ", 0xD1B2,0x46,0x23,0x11,0x67,0xFB },
{ "STA $78 = 46 ", 0xD1B4,0x55,0x23,0x11,0x65,0xFB },
{ "BIT $01 = FF ", 0xD1B6,0x55,0x23,0x11,0x65,0xFB },
{ "LDA #$11 ", 0xD1B8,0x55,0x23,0x11,0xE5,0xFB },
{ "LDX #$23 ", 0xD1BA,0x11,0x23,0x11,0x65,0xFB },
{ "LDY #$00 ", 0xD1BC,0x11,0x23,0x11,0x65,0xFB },
{ "LDY $78 = 55 ", 0xD1BE,0x11,0x23,0x00,0x67,0xFB },
{ "BEQ $D1D2 ", 0xD1C0,0x11,0x23,0x55,0x65,0xFB },
{ "BMI $D1D2 ", 0xD1C2,0x11,0x23,0x55,0x65,0xFB },
{ "CPY #$55 ", 0xD1C4,0x11,0x23,0x55,0x65,0xFB },
{ "BNE $D1D2 ", 0xD1C6,0x11,0x23,0x55,0x67,0xFB },
{ "CMP #$11 ", 0xD1C8,0x11,0x23,0x55,0x67,0xFB },
{ "BNE $D1D2 ", 0xD1CA,0x11,0x23,0x55,0x67,0xFB },
{ "CPX #$23 ", 0xD1CC,0x11,0x23,0x55,0x67,0xFB },
{ "BVC $D1D2 ", 0xD1CE,0x11,0x23,0x55,0x67,0xFB },
{ "BEQ $D1D6 ", 0xD1D0,0x11,0x23,0x55,0x67,0xFB },
{ "LDY #$46 ", 0xD1D6,0x11,0x23,0x55,0x67,0xFB },
{ "BIT $01 = FF ", 0xD1D8,0x11,0x23,0x46,0x65,0xFB },
{ "STY $78 = 55 ", 0xD1DA,0x11,0x23,0x46,0xE5,0xFB },
{ "BEQ $D1E8 ", 0xD1DC,0x11,0x23,0x46,0xE5,0xFB },
{ "BPL $D1E8 ", 0xD1DE,0x11,0x23,0x46,0xE5,0xFB },
{ "BVC $D1E8 ", 0xD1E0,0x11,0x23,0x46,0xE5,0xFB },
{ "LDY $78 = 46 ", 0xD1E2,0x11,0x23,0x46,0xE5,0xFB },
{ "CPY #$46 ", 0xD1E4,0x11,0x23,0x46,0x65,0xFB },
{ "BEQ $D1EC ", 0xD1E6,0x11,0x23,0x46,0x67,0xFB },
{ "BIT $01 = FF ", 0xD1EC,0x11,0x23,0x46,0x67,0xFB },
{ "LDA #$55 ", 0xD1EE,0x11,0x23,0x46,0xE5,0xFB },
{ "STA $78 = 46 ", 0xD1F0,0x55,0x23,0x46,0x65,0xFB },
{ "LDY #$11 ", 0xD1F2,0x55,0x23,0x46,0x65,0xFB },
{ "LDA #$23 ", 0xD1F4,0x55,0x23,0x11,0x65,0xFB },
{ "LDX #$00 ", 0xD1F6,0x23,0x23,0x11,0x65,0xFB },
{ "LDX $78 = 55 ", 0xD1F8,0x23,0x00,0x11,0x67,0xFB },
{ "BEQ $D20C ", 0xD1FA,0x23,0x55,0x11,0x65,0xFB },
{ "BMI $D20C ", 0xD1FC,0x23,0x55,0x11,0x65,0xFB },
{ "CPX #$55 ", 0xD1FE,0x23,0x55,0x11,0x65,0xFB },
{ "BNE $D20C ", 0xD200,0x23,0x55,0x11,0x67,0xFB },
{ "CPY #$11 ", 0xD202,0x23,0x55,0x11,0x67,0xFB },
{ "BNE $D20C ", 0xD204,0x23,0x55,0x11,0x67,0xFB },
{ "CMP #$23 ", 0xD206,0x23,0x55,0x11,0x67,0xFB },
{ "BVC $D20C ", 0xD208,0x23,0x55,0x11,0x67,0xFB },
{ "BEQ $D210 ", 0xD20A,0x23,0x55,0x11,0x67,0xFB },
{ "LDX #$46 ", 0xD210,0x23,0x55,0x11,0x67,0xFB },
{ "BIT $01 = FF ", 0xD212,0x23,0x46,0x11,0x65,0xFB },
{ "STX $78 = 55 ", 0xD214,0x23,0x46,0x11,0xE5,0xFB },
{ "BEQ $D222 ", 0xD216,0x23,0x46,0x11,0xE5,0xFB },
{ "BPL $D222 ", 0xD218,0x23,0x46,0x11,0xE5,0xFB },
{ "BVC $D222 ", 0xD21A,0x23,0x46,0x11,0xE5,0xFB },
{ "LDX $78 = 46 ", 0xD21C,0x23,0x46,0x11,0xE5,0xFB },
{ "CPX #$46 ", 0xD21E,0x23,0x46,0x11,0x65,0xFB },
{ "BEQ $D226 ", 0xD220,0x23,0x46,0x11,0x67,0xFB },
{ "LDA #$C0 ", 0xD226,0x23,0x46,0x11,0x67,0xFB },
{ "STA $78 = 46 ", 0xD228,0xC0,0x46,0x11,0xE5,0xFB },
{ "LDX #$33 ", 0xD22A,0xC0,0x46,0x11,0xE5,0xFB },
{ "LDY #$88 ", 0xD22C,0xC0,0x33,0x11,0x65,0xFB },
{ "LDA #$05 ", 0xD22E,0xC0,0x33,0x88,0xE5,0xFB },
{ "BIT $78 = C0 ", 0xD230,0x05,0x33,0x88,0x65,0xFB },
{ "BPL $D244 ", 0xD232,0x05,0x33,0x88,0xE7,0xFB },
{ "BVC $D244 ", 0xD234,0x05,0x33,0x88,0xE7,0xFB },
{ "BNE $D244 ", 0xD236,0x05,0x33,0x88,0xE7,0xFB },
{ "CMP #$05 ", 0xD238,0x05,0x33,0x88,0xE7,0xFB },
{ "BNE $D244 ", 0xD23A,0x05,0x33,0x88,0x67,0xFB },
{ "CPX #$33 ", 0xD23C,0x05,0x33,0x88,0x67,0xFB },
{ "BNE $D244 ", 0xD23E,0x05,0x33,0x88,0x67,0xFB },
{ "CPY #$88 ", 0xD240,0x05,0x33,0x88,0x67,0xFB },
{ "BEQ $D248 ", 0xD242,0x05,0x33,0x88,0x67,0xFB },
{ "LDA #$03 ", 0xD248,0x05,0x33,0x88,0x67,0xFB },
{ "STA $78 = C0 ", 0xD24A,0x03,0x33,0x88,0x65,0xFB },
{ "LDA #$01 ", 0xD24C,0x03,0x33,0x88,0x65,0xFB },
{ "BIT $78 = 03 ", 0xD24E,0x01,0x33,0x88,0x65,0xFB },
{ "BMI $D25A ", 0xD250,0x01,0x33,0x88,0x25,0xFB },
{ "BVS $D25A ", 0xD252,0x01,0x33,0x88,0x25,0xFB },
{ "BEQ $D25A ", 0xD254,0x01,0x33,0x88,0x25,0xFB },
{ "CMP #$01 ", 0xD256,0x01,0x33,0x88,0x25,0xFB },
{ "BEQ $D25E ", 0xD258,0x01,0x33,0x88,0x27,0xFB },
{ "LDY #$7E ", 0xD25E,0x01,0x33,0x88,0x27,0xFB },
{ "LDA #$AA ", 0xD260,0x01,0x33,0x7E,0x25,0xFB },
{ "STA $78 = 03 ", 0xD262,0xAA,0x33,0x7E,0xA5,0xFB },
{ "JSR $F7B6 ", 0xD264,0xAA,0x33,0x7E,0xA5,0xFB },
{ "CLC ", 0xF7B6,0xAA,0x33,0x7E,0xA5,0xF9 },
{ "LDA #$FF ", 0xF7B7,0xAA,0x33,0x7E,0xA4,0xF9 },
{ "STA $01 = FF ", 0xF7B9,0xFF,0x33,0x7E,0xA4,0xF9 },
{ "BIT $01 = FF ", 0xF7BB,0xFF,0x33,0x7E,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7BD,0xFF,0x33,0x7E,0xE4,0xF9 },
{ "RTS ", 0xF7BF,0x55,0x33,0x7E,0x64,0xF9 },
{ "ORA $78 = AA ", 0xD267,0x55,0x33,0x7E,0x64,0xFB },
{ "JSR $F7C0 ", 0xD269,0xFF,0x33,0x7E,0xE4,0xFB },
{ "BCS $F7CB ", 0xF7C0,0xFF,0x33,0x7E,0xE4,0xF9 },
{ "BPL $F7CB ", 0xF7C2,0xFF,0x33,0x7E,0xE4,0xF9 },
{ "CMP #$FF ", 0xF7C4,0xFF,0x33,0x7E,0xE4,0xF9 },
{ "BNE $F7CB ", 0xF7C6,0xFF,0x33,0x7E,0x67,0xF9 },
{ "BVC $F7CB ", 0xF7C8,0xFF,0x33,0x7E,0x67,0xF9 },
{ "RTS ", 0xF7CA,0xFF,0x33,0x7E,0x67,0xF9 },
{ "INY ", 0xD26C,0xFF,0x33,0x7E,0x67,0xFB },
{ "LDA #$00 ", 0xD26D,0xFF,0x33,0x7F,0x65,0xFB },
{ "STA $78 = AA ", 0xD26F,0x00,0x33,0x7F,0x67,0xFB },
{ "JSR $F7CE ", 0xD271,0x00,0x33,0x7F,0x67,0xFB },
{ "SEC ", 0xF7CE,0x00,0x33,0x7F,0x67,0xF9 },
{ "CLV ", 0xF7CF,0x00,0x33,0x7F,0x67,0xF9 },
{ "LDA #$00 ", 0xF7D0,0x00,0x33,0x7F,0x27,0xF9 },
{ "RTS ", 0xF7D2,0x00,0x33,0x7F,0x27,0xF9 },
{ "ORA $78 = 00 ", 0xD274,0x00,0x33,0x7F,0x27,0xFB },
{ "JSR $F7D3 ", 0xD276,0x00,0x33,0x7F,0x27,0xFB },
{ "BNE $F7DC ", 0xF7D3,0x00,0x33,0x7F,0x27,0xF9 },
{ "BVS $F7DC ", 0xF7D5,0x00,0x33,0x7F,0x27,0xF9 },
{ "BCC $F7DC ", 0xF7D7,0x00,0x33,0x7F,0x27,0xF9 },
{ "BMI $F7DC ", 0xF7D9,0x00,0x33,0x7F,0x27,0xF9 },
{ "RTS ", 0xF7DB,0x00,0x33,0x7F,0x27,0xF9 },
{ "INY ", 0xD279,0x00,0x33,0x7F,0x27,0xFB },
{ "LDA #$AA ", 0xD27A,0x00,0x33,0x80,0xA5,0xFB },
{ "STA $78 = 00 ", 0xD27C,0xAA,0x33,0x80,0xA5,0xFB },
{ "JSR $F7DF ", 0xD27E,0xAA,0x33,0x80,0xA5,0xFB },
{ "CLC ", 0xF7DF,0xAA,0x33,0x80,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF7E0,0xAA,0x33,0x80,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7E2,0xAA,0x33,0x80,0xE4,0xF9 },
{ "RTS ", 0xF7E4,0x55,0x33,0x80,0x64,0xF9 },
{ "AND $78 = AA ", 0xD281,0x55,0x33,0x80,0x64,0xFB },
{ "JSR $F7E5 ", 0xD283,0x00,0x33,0x80,0x66,0xFB },
{ "BNE $F7EE ", 0xF7E5,0x00,0x33,0x80,0x66,0xF9 },
{ "BVC $F7EE ", 0xF7E7,0x00,0x33,0x80,0x66,0xF9 },
{ "BCS $F7EE ", 0xF7E9,0x00,0x33,0x80,0x66,0xF9 },
{ "BMI $F7EE ", 0xF7EB,0x00,0x33,0x80,0x66,0xF9 },
{ "RTS ", 0xF7ED,0x00,0x33,0x80,0x66,0xF9 },
{ "INY ", 0xD286,0x00,0x33,0x80,0x66,0xFB },
{ "LDA #$EF ", 0xD287,0x00,0x33,0x81,0xE4,0xFB },
{ "STA $78 = AA ", 0xD289,0xEF,0x33,0x81,0xE4,0xFB },
{ "JSR $F7F1 ", 0xD28B,0xEF,0x33,0x81,0xE4,0xFB },
{ "SEC ", 0xF7F1,0xEF,0x33,0x81,0xE4,0xF9 },
{ "CLV ", 0xF7F2,0xEF,0x33,0x81,0xE5,0xF9 },
{ "LDA #$F8 ", 0xF7F3,0xEF,0x33,0x81,0xA5,0xF9 },
{ "RTS ", 0xF7F5,0xF8,0x33,0x81,0xA5,0xF9 },
{ "AND $78 = EF ", 0xD28E,0xF8,0x33,0x81,0xA5,0xFB },
{ "JSR $F7F6 ", 0xD290,0xE8,0x33,0x81,0xA5,0xFB },
{ "BCC $F801 ", 0xF7F6,0xE8,0x33,0x81,0xA5,0xF9 },
{ "BPL $F801 ", 0xF7F8,0xE8,0x33,0x81,0xA5,0xF9 },
{ "CMP #$E8 ", 0xF7FA,0xE8,0x33,0x81,0xA5,0xF9 },
{ "BNE $F801 ", 0xF7FC,0xE8,0x33,0x81,0x27,0xF9 },
{ "BVS $F801 ", 0xF7FE,0xE8,0x33,0x81,0x27,0xF9 },
{ "RTS ", 0xF800,0xE8,0x33,0x81,0x27,0xF9 },
{ "INY ", 0xD293,0xE8,0x33,0x81,0x27,0xFB },
{ "LDA #$AA ", 0xD294,0xE8,0x33,0x82,0xA5,0xFB },
{ "STA $78 = EF ", 0xD296,0xAA,0x33,0x82,0xA5,0xFB },
{ "JSR $F804 ", 0xD298,0xAA,0x33,0x82,0xA5,0xFB },
{ "CLC ", 0xF804,0xAA,0x33,0x82,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF805,0xAA,0x33,0x82,0xA4,0xF9 },
{ "LDA #$5F ", 0xF807,0xAA,0x33,0x82,0xE4,0xF9 },
{ "RTS ", 0xF809,0x5F,0x33,0x82,0x64,0xF9 },
{ "EOR $78 = AA ", 0xD29B,0x5F,0x33,0x82,0x64,0xFB },
{ "JSR $F80A ", 0xD29D,0xF5,0x33,0x82,0xE4,0xFB },
{ "BCS $F815 ", 0xF80A,0xF5,0x33,0x82,0xE4,0xF9 },
{ "BPL $F815 ", 0xF80C,0xF5,0x33,0x82,0xE4,0xF9 },
{ "CMP #$F5 ", 0xF80E,0xF5,0x33,0x82,0xE4,0xF9 },
{ "BNE $F815 ", 0xF810,0xF5,0x33,0x82,0x67,0xF9 },
{ "BVC $F815 ", 0xF812,0xF5,0x33,0x82,0x67,0xF9 },
{ "RTS ", 0xF814,0xF5,0x33,0x82,0x67,0xF9 },
{ "INY ", 0xD2A0,0xF5,0x33,0x82,0x67,0xFB },
{ "LDA #$70 ", 0xD2A1,0xF5,0x33,0x83,0xE5,0xFB },
{ "STA $78 = AA ", 0xD2A3,0x70,0x33,0x83,0x65,0xFB },
{ "JSR $F818 ", 0xD2A5,0x70,0x33,0x83,0x65,0xFB },
{ "SEC ", 0xF818,0x70,0x33,0x83,0x65,0xF9 },
{ "CLV ", 0xF819,0x70,0x33,0x83,0x65,0xF9 },
{ "LDA #$70 ", 0xF81A,0x70,0x33,0x83,0x25,0xF9 },
{ "RTS ", 0xF81C,0x70,0x33,0x83,0x25,0xF9 },
{ "EOR $78 = 70 ", 0xD2A8,0x70,0x33,0x83,0x25,0xFB },
{ "JSR $F81D ", 0xD2AA,0x00,0x33,0x83,0x27,0xFB },
{ "BNE $F826 ", 0xF81D,0x00,0x33,0x83,0x27,0xF9 },
{ "BVS $F826 ", 0xF81F,0x00,0x33,0x83,0x27,0xF9 },
{ "BCC $F826 ", 0xF821,0x00,0x33,0x83,0x27,0xF9 },
{ "BMI $F826 ", 0xF823,0x00,0x33,0x83,0x27,0xF9 },
{ "RTS ", 0xF825,0x00,0x33,0x83,0x27,0xF9 },
{ "INY ", 0xD2AD,0x00,0x33,0x83,0x27,0xFB },
{ "LDA #$69 ", 0xD2AE,0x00,0x33,0x84,0xA5,0xFB },
{ "STA $78 = 70 ", 0xD2B0,0x69,0x33,0x84,0x25,0xFB },
{ "JSR $F829 ", 0xD2B2,0x69,0x33,0x84,0x25,0xFB },
{ "CLC ", 0xF829,0x69,0x33,0x84,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF82A,0x69,0x33,0x84,0x24,0xF9 },
{ "LDA #$00 ", 0xF82C,0x69,0x33,0x84,0xE4,0xF9 },
{ "RTS ", 0xF82E,0x00,0x33,0x84,0x66,0xF9 },
{ "ADC $78 = 69 ", 0xD2B5,0x00,0x33,0x84,0x66,0xFB },
{ "JSR $F82F ", 0xD2B7,0x69,0x33,0x84,0x24,0xFB },
{ "BMI $F83A ", 0xF82F,0x69,0x33,0x84,0x24,0xF9 },
{ "BCS $F83A ", 0xF831,0x69,0x33,0x84,0x24,0xF9 },
{ "CMP #$69 ", 0xF833,0x69,0x33,0x84,0x24,0xF9 },
{ "BNE $F83A ", 0xF835,0x69,0x33,0x84,0x27,0xF9 },
{ "BVS $F83A ", 0xF837,0x69,0x33,0x84,0x27,0xF9 },
{ "RTS ", 0xF839,0x69,0x33,0x84,0x27,0xF9 },
{ "INY ", 0xD2BA,0x69,0x33,0x84,0x27,0xFB },
{ "JSR $F83D ", 0xD2BB,0x69,0x33,0x85,0xA5,0xFB },
{ "SEC ", 0xF83D,0x69,0x33,0x85,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF83E,0x69,0x33,0x85,0xA5,0xF9 },
{ "LDA #$00 ", 0xF840,0x69,0x33,0x85,0xE5,0xF9 },
{ "RTS ", 0xF842,0x00,0x33,0x85,0x67,0xF9 },
{ "ADC $78 = 69 ", 0xD2BE,0x00,0x33,0x85,0x67,0xFB },
{ "JSR $F843 ", 0xD2C0,0x6A,0x33,0x85,0x24,0xFB },
{ "BMI $F84E ", 0xF843,0x6A,0x33,0x85,0x24,0xF9 },
{ "BCS $F84E ", 0xF845,0x6A,0x33,0x85,0x24,0xF9 },
{ "CMP #$6A ", 0xF847,0x6A,0x33,0x85,0x24,0xF9 },
{ "BNE $F84E ", 0xF849,0x6A,0x33,0x85,0x27,0xF9 },
{ "BVS $F84E ", 0xF84B,0x6A,0x33,0x85,0x27,0xF9 },
{ "RTS ", 0xF84D,0x6A,0x33,0x85,0x27,0xF9 },
{ "INY ", 0xD2C3,0x6A,0x33,0x85,0x27,0xFB },
{ "LDA #$7F ", 0xD2C4,0x6A,0x33,0x86,0xA5,0xFB },
{ "STA $78 = 69 ", 0xD2C6,0x7F,0x33,0x86,0x25,0xFB },
{ "JSR $F851 ", 0xD2C8,0x7F,0x33,0x86,0x25,0xFB },
{ "SEC ", 0xF851,0x7F,0x33,0x86,0x25,0xF9 },
{ "CLV ", 0xF852,0x7F,0x33,0x86,0x25,0xF9 },
{ "LDA #$7F ", 0xF853,0x7F,0x33,0x86,0x25,0xF9 },
{ "RTS ", 0xF855,0x7F,0x33,0x86,0x25,0xF9 },
{ "ADC $78 = 7F ", 0xD2CB,0x7F,0x33,0x86,0x25,0xFB },
{ "JSR $F856 ", 0xD2CD,0xFF,0x33,0x86,0xE4,0xFB },
{ "BPL $F861 ", 0xF856,0xFF,0x33,0x86,0xE4,0xF9 },
{ "BCS $F861 ", 0xF858,0xFF,0x33,0x86,0xE4,0xF9 },
{ "CMP #$FF ", 0xF85A,0xFF,0x33,0x86,0xE4,0xF9 },
{ "BNE $F861 ", 0xF85C,0xFF,0x33,0x86,0x67,0xF9 },
{ "BVC $F861 ", 0xF85E,0xFF,0x33,0x86,0x67,0xF9 },
{ "RTS ", 0xF860,0xFF,0x33,0x86,0x67,0xF9 },
{ "INY ", 0xD2D0,0xFF,0x33,0x86,0x67,0xFB },
{ "LDA #$80 ", 0xD2D1,0xFF,0x33,0x87,0xE5,0xFB },
{ "STA $78 = 7F ", 0xD2D3,0x80,0x33,0x87,0xE5,0xFB },
{ "JSR $F864 ", 0xD2D5,0x80,0x33,0x87,0xE5,0xFB },
{ "CLC ", 0xF864,0x80,0x33,0x87,0xE5,0xF9 },
{ "BIT $01 = FF ", 0xF865,0x80,0x33,0x87,0xE4,0xF9 },
{ "LDA #$7F ", 0xF867,0x80,0x33,0x87,0xE4,0xF9 },
{ "RTS ", 0xF869,0x7F,0x33,0x87,0x64,0xF9 },
{ "ADC $78 = 80 ", 0xD2D8,0x7F,0x33,0x87,0x64,0xFB },
{ "JSR $F86A ", 0xD2DA,0xFF,0x33,0x87,0xA4,0xFB },
{ "BPL $F875 ", 0xF86A,0xFF,0x33,0x87,0xA4,0xF9 },
{ "BCS $F875 ", 0xF86C,0xFF,0x33,0x87,0xA4,0xF9 },
{ "CMP #$FF ", 0xF86E,0xFF,0x33,0x87,0xA4,0xF9 },
{ "BNE $F875 ", 0xF870,0xFF,0x33,0x87,0x27,0xF9 },
{ "BVS $F875 ", 0xF872,0xFF,0x33,0x87,0x27,0xF9 },
{ "RTS ", 0xF874,0xFF,0x33,0x87,0x27,0xF9 },
{ "INY ", 0xD2DD,0xFF,0x33,0x87,0x27,0xFB },
{ "JSR $F878 ", 0xD2DE,0xFF,0x33,0x88,0xA5,0xFB },
{ "SEC ", 0xF878,0xFF,0x33,0x88,0xA5,0xF9 },
{ "CLV ", 0xF879,0xFF,0x33,0x88,0xA5,0xF9 },
{ "LDA #$7F ", 0xF87A,0xFF,0x33,0x88,0xA5,0xF9 },
{ "RTS ", 0xF87C,0x7F,0x33,0x88,0x25,0xF9 },
{ "ADC $78 = 80 ", 0xD2E1,0x7F,0x33,0x88,0x25,0xFB },
{ "JSR $F87D ", 0xD2E3,0x00,0x33,0x88,0x27,0xFB },
{ "BNE $F886 ", 0xF87D,0x00,0x33,0x88,0x27,0xF9 },
{ "BMI $F886 ", 0xF87F,0x00,0x33,0x88,0x27,0xF9 },
{ "BVS $F886 ", 0xF881,0x00,0x33,0x88,0x27,0xF9 },
{ "BCC $F886 ", 0xF883,0x00,0x33,0x88,0x27,0xF9 },
{ "RTS ", 0xF885,0x00,0x33,0x88,0x27,0xF9 },
{ "INY ", 0xD2E6,0x00,0x33,0x88,0x27,0xFB },
{ "LDA #$40 ", 0xD2E7,0x00,0x33,0x89,0xA5,0xFB },
{ "STA $78 = 80 ", 0xD2E9,0x40,0x33,0x89,0x25,0xFB },
{ "JSR $F889 ", 0xD2EB,0x40,0x33,0x89,0x25,0xFB },
{ "BIT $01 = FF ", 0xF889,0x40,0x33,0x89,0x25,0xF9 },
{ "LDA #$40 ", 0xF88B,0x40,0x33,0x89,0xE5,0xF9 },
{ "RTS ", 0xF88D,0x40,0x33,0x89,0x65,0xF9 },
{ "CMP $78 = 40 ", 0xD2EE,0x40,0x33,0x89,0x65,0xFB },
{ "JSR $F88E ", 0xD2F0,0x40,0x33,0x89,0x67,0xFB },
{ "BMI $F897 ", 0xF88E,0x40,0x33,0x89,0x67,0xF9 },
{ "BCC $F897 ", 0xF890,0x40,0x33,0x89,0x67,0xF9 },
{ "BNE $F897 ", 0xF892,0x40,0x33,0x89,0x67,0xF9 },
{ "BVC $F897 ", 0xF894,0x40,0x33,0x89,0x67,0xF9 },
{ "RTS ", 0xF896,0x40,0x33,0x89,0x67,0xF9 },
{ "INY ", 0xD2F3,0x40,0x33,0x89,0x67,0xFB },
{ "PHA ", 0xD2F4,0x40,0x33,0x8A,0xE5,0xFB },
{ "LDA #$3F ", 0xD2F5,0x40,0x33,0x8A,0xE5,0xFA },
{ "STA $78 = 40 ", 0xD2F7,0x3F,0x33,0x8A,0x65,0xFA },
{ "PLA ", 0xD2F9,0x3F,0x33,0x8A,0x65,0xFA },
{ "JSR $F89A ", 0xD2FA,0x40,0x33,0x8A,0x65,0xFB },
{ "CLV ", 0xF89A,0x40,0x33,0x8A,0x65,0xF9 },
{ "RTS ", 0xF89B,0x40,0x33,0x8A,0x25,0xF9 },
{ "CMP $78 = 3F ", 0xD2FD,0x40,0x33,0x8A,0x25,0xFB },
{ "JSR $F89C ", 0xD2FF,0x40,0x33,0x8A,0x25,0xFB },
{ "BEQ $F8A5 ", 0xF89C,0x40,0x33,0x8A,0x25,0xF9 },
{ "BMI $F8A5 ", 0xF89E,0x40,0x33,0x8A,0x25,0xF9 },
{ "BCC $F8A5 ", 0xF8A0,0x40,0x33,0x8A,0x25,0xF9 },
{ "BVS $F8A5 ", 0xF8A2,0x40,0x33,0x8A,0x25,0xF9 },
{ "RTS ", 0xF8A4,0x40,0x33,0x8A,0x25,0xF9 },
{ "INY ", 0xD302,0x40,0x33,0x8A,0x25,0xFB },
{ "PHA ", 0xD303,0x40,0x33,0x8B,0xA5,0xFB },
{ "LDA #$41 ", 0xD304,0x40,0x33,0x8B,0xA5,0xFA },
{ "STA $78 = 3F ", 0xD306,0x41,0x33,0x8B,0x25,0xFA },
{ "PLA ", 0xD308,0x41,0x33,0x8B,0x25,0xFA },
{ "CMP $78 = 41 ", 0xD309,0x40,0x33,0x8B,0x25,0xFB },
{ "JSR $F8A8 ", 0xD30B,0x40,0x33,0x8B,0xA4,0xFB },
{ "BEQ $F8AF ", 0xF8A8,0x40,0x33,0x8B,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AA,0x40,0x33,0x8B,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AC,0x40,0x33,0x8B,0xA4,0xF9 },
{ "RTS ", 0xF8AE,0x40,0x33,0x8B,0xA4,0xF9 },
{ "INY ", 0xD30E,0x40,0x33,0x8B,0xA4,0xFB },
{ "PHA ", 0xD30F,0x40,0x33,0x8C,0xA4,0xFB },
{ "LDA #$00 ", 0xD310,0x40,0x33,0x8C,0xA4,0xFA },
{ "STA $78 = 41 ", 0xD312,0x00,0x33,0x8C,0x26,0xFA },
{ "PLA ", 0xD314,0x00,0x33,0x8C,0x26,0xFA },
{ "JSR $F8B2 ", 0xD315,0x40,0x33,0x8C,0x24,0xFB },
{ "LDA #$80 ", 0xF8B2,0x40,0x33,0x8C,0x24,0xF9 },
{ "RTS ", 0xF8B4,0x80,0x33,0x8C,0xA4,0xF9 },
{ "CMP $78 = 00 ", 0xD318,0x80,0x33,0x8C,0xA4,0xFB },
{ "JSR $F8B5 ", 0xD31A,0x80,0x33,0x8C,0xA5,0xFB },
{ "BEQ $F8BC ", 0xF8B5,0x80,0x33,0x8C,0xA5,0xF9 },
{ "BPL $F8BC ", 0xF8B7,0x80,0x33,0x8C,0xA5,0xF9 },
{ "BCC $F8BC ", 0xF8B9,0x80,0x33,0x8C,0xA5,0xF9 },
{ "RTS ", 0xF8BB,0x80,0x33,0x8C,0xA5,0xF9 },
{ "INY ", 0xD31D,0x80,0x33,0x8C,0xA5,0xFB },
{ "PHA ", 0xD31E,0x80,0x33,0x8D,0xA5,0xFB },
{ "LDA #$80 ", 0xD31F,0x80,0x33,0x8D,0xA5,0xFA },
{ "STA $78 = 00 ", 0xD321,0x80,0x33,0x8D,0xA5,0xFA },
{ "PLA ", 0xD323,0x80,0x33,0x8D,0xA5,0xFA },
{ "CMP $78 = 80 ", 0xD324,0x80,0x33,0x8D,0xA5,0xFB },
{ "JSR $F8BF ", 0xD326,0x80,0x33,0x8D,0x27,0xFB },
{ "BNE $F8C6 ", 0xF8BF,0x80,0x33,0x8D,0x27,0xF9 },
{ "BMI $F8C6 ", 0xF8C1,0x80,0x33,0x8D,0x27,0xF9 },
{ "BCC $F8C6 ", 0xF8C3,0x80,0x33,0x8D,0x27,0xF9 },
{ "RTS ", 0xF8C5,0x80,0x33,0x8D,0x27,0xF9 },
{ "INY ", 0xD329,0x80,0x33,0x8D,0x27,0xFB },
{ "PHA ", 0xD32A,0x80,0x33,0x8E,0xA5,0xFB },
{ "LDA #$81 ", 0xD32B,0x80,0x33,0x8E,0xA5,0xFA },
{ "STA $78 = 80 ", 0xD32D,0x81,0x33,0x8E,0xA5,0xFA },
{ "PLA ", 0xD32F,0x81,0x33,0x8E,0xA5,0xFA },
{ "CMP $78 = 81 ", 0xD330,0x80,0x33,0x8E,0xA5,0xFB },
{ "JSR $F8C9 ", 0xD332,0x80,0x33,0x8E,0xA4,0xFB },
{ "BCS $F8D0 ", 0xF8C9,0x80,0x33,0x8E,0xA4,0xF9 },
{ "BEQ $F8D0 ", 0xF8CB,0x80,0x33,0x8E,0xA4,0xF9 },
{ "BPL $F8D0 ", 0xF8CD,0x80,0x33,0x8E,0xA4,0xF9 },
{ "RTS ", 0xF8CF,0x80,0x33,0x8E,0xA4,0xF9 },
{ "INY ", 0xD335,0x80,0x33,0x8E,0xA4,0xFB },
{ "PHA ", 0xD336,0x80,0x33,0x8F,0xA4,0xFB },
{ "LDA #$7F ", 0xD337,0x80,0x33,0x8F,0xA4,0xFA },
{ "STA $78 = 81 ", 0xD339,0x7F,0x33,0x8F,0x24,0xFA },
{ "PLA ", 0xD33B,0x7F,0x33,0x8F,0x24,0xFA },
{ "CMP $78 = 7F ", 0xD33C,0x80,0x33,0x8F,0xA4,0xFB },
{ "JSR $F8D3 ", 0xD33E,0x80,0x33,0x8F,0x25,0xFB },
{ "BCC $F8DA ", 0xF8D3,0x80,0x33,0x8F,0x25,0xF9 },
{ "BEQ $F8DA ", 0xF8D5,0x80,0x33,0x8F,0x25,0xF9 },
{ "BMI $F8DA ", 0xF8D7,0x80,0x33,0x8F,0x25,0xF9 },
{ "RTS ", 0xF8D9,0x80,0x33,0x8F,0x25,0xF9 },
{ "INY ", 0xD341,0x80,0x33,0x8F,0x25,0xFB },
{ "LDA #$40 ", 0xD342,0x80,0x33,0x90,0xA5,0xFB },
{ "STA $78 = 7F ", 0xD344,0x40,0x33,0x90,0x25,0xFB },
{ "JSR $F931 ", 0xD346,0x40,0x33,0x90,0x25,0xFB },
{ "BIT $01 = FF ", 0xF931,0x40,0x33,0x90,0x25,0xF9 },
{ "LDA #$40 ", 0xF933,0x40,0x33,0x90,0xE5,0xF9 },
{ "SEC ", 0xF935,0x40,0x33,0x90,0x65,0xF9 },
{ "RTS ", 0xF936,0x40,0x33,0x90,0x65,0xF9 },
{ "SBC $78 = 40 ", 0xD349,0x40,0x33,0x90,0x65,0xFB },
{ "JSR $F937 ", 0xD34B,0x00,0x33,0x90,0x27,0xFB },
{ "BMI $F944 ", 0xF937,0x00,0x33,0x90,0x27,0xF9 },
{ "BCC $F944 ", 0xF939,0x00,0x33,0x90,0x27,0xF9 },
{ "BNE $F944 ", 0xF93B,0x00,0x33,0x90,0x27,0xF9 },
{ "BVS $F944 ", 0xF93D,0x00,0x33,0x90,0x27,0xF9 },
{ "CMP #$00 ", 0xF93F,0x00,0x33,0x90,0x27,0xF9 },
{ "BNE $F944 ", 0xF941,0x00,0x33,0x90,0x27,0xF9 },
{ "RTS ", 0xF943,0x00,0x33,0x90,0x27,0xF9 },
{ "INY ", 0xD34E,0x00,0x33,0x90,0x27,0xFB },
{ "LDA #$3F ", 0xD34F,0x00,0x33,0x91,0xA5,0xFB },
{ "STA $78 = 40 ", 0xD351,0x3F,0x33,0x91,0x25,0xFB },
{ "JSR $F947 ", 0xD353,0x3F,0x33,0x91,0x25,0xFB },
{ "CLV ", 0xF947,0x3F,0x33,0x91,0x25,0xF9 },
{ "SEC ", 0xF948,0x3F,0x33,0x91,0x25,0xF9 },
{ "LDA #$40 ", 0xF949,0x3F,0x33,0x91,0x25,0xF9 },
{ "RTS ", 0xF94B,0x40,0x33,0x91,0x25,0xF9 },
{ "SBC $78 = 3F ", 0xD356,0x40,0x33,0x91,0x25,0xFB },
{ "JSR $F94C ", 0xD358,0x01,0x33,0x91,0x25,0xFB },
{ "BEQ $F959 ", 0xF94C,0x01,0x33,0x91,0x25,0xF9 },
{ "BMI $F959 ", 0xF94E,0x01,0x33,0x91,0x25,0xF9 },
{ "BCC $F959 ", 0xF950,0x01,0x33,0x91,0x25,0xF9 },
{ "BVS $F959 ", 0xF952,0x01,0x33,0x91,0x25,0xF9 },
{ "CMP #$01 ", 0xF954,0x01,0x33,0x91,0x25,0xF9 },
{ "BNE $F959 ", 0xF956,0x01,0x33,0x91,0x27,0xF9 },
{ "RTS ", 0xF958,0x01,0x33,0x91,0x27,0xF9 },
{ "INY ", 0xD35B,0x01,0x33,0x91,0x27,0xFB },
{ "LDA #$41 ", 0xD35C,0x01,0x33,0x92,0xA5,0xFB },
{ "STA $78 = 3F ", 0xD35E,0x41,0x33,0x92,0x25,0xFB },
{ "JSR $F95C ", 0xD360,0x41,0x33,0x92,0x25,0xFB },
{ "LDA #$40 ", 0xF95C,0x41,0x33,0x92,0x25,0xF9 },
{ "SEC ", 0xF95E,0x40,0x33,0x92,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF95F,0x40,0x33,0x92,0x25,0xF9 },
{ "RTS ", 0xF961,0x40,0x33,0x92,0xE5,0xF9 },
{ "SBC $78 = 41 ", 0xD363,0x40,0x33,0x92,0xE5,0xFB },
{ "JSR $F962 ", 0xD365,0xFF,0x33,0x92,0xA4,0xFB },
{ "BCS $F96F ", 0xF962,0xFF,0x33,0x92,0xA4,0xF9 },
{ "BEQ $F96F ", 0xF964,0xFF,0x33,0x92,0xA4,0xF9 },
{ "BPL $F96F ", 0xF966,0xFF,0x33,0x92,0xA4,0xF9 },
{ "BVS $F96F ", 0xF968,0xFF,0x33,0x92,0xA4,0xF9 },
{ "CMP #$FF ", 0xF96A,0xFF,0x33,0x92,0xA4,0xF9 },
{ "BNE $F96F ", 0xF96C,0xFF,0x33,0x92,0x27,0xF9 },
{ "RTS ", 0xF96E,0xFF,0x33,0x92,0x27,0xF9 },
{ "INY ", 0xD368,0xFF,0x33,0x92,0x27,0xFB },
{ "LDA #$00 ", 0xD369,0xFF,0x33,0x93,0xA5,0xFB },
{ "STA $78 = 41 ", 0xD36B,0x00,0x33,0x93,0x27,0xFB },
{ "JSR $F972 ", 0xD36D,0x00,0x33,0x93,0x27,0xFB },
{ "CLC ", 0xF972,0x00,0x33,0x93,0x27,0xF9 },
{ "LDA #$80 ", 0xF973,0x00,0x33,0x93,0x26,0xF9 },
{ "RTS ", 0xF975,0x80,0x33,0x93,0xA4,0xF9 },
{ "SBC $78 = 00 ", 0xD370,0x80,0x33,0x93,0xA4,0xFB },
{ "JSR $F976 ", 0xD372,0x7F,0x33,0x93,0x65,0xFB },
{ "BCC $F97D ", 0xF976,0x7F,0x33,0x93,0x65,0xF9 },
{ "CMP #$7F ", 0xF978,0x7F,0x33,0x93,0x65,0xF9 },
{ "BNE $F97D ", 0xF97A,0x7F,0x33,0x93,0x67,0xF9 },
{ "RTS ", 0xF97C,0x7F,0x33,0x93,0x67,0xF9 },
{ "INY ", 0xD375,0x7F,0x33,0x93,0x67,0xFB },
{ "LDA #$7F ", 0xD376,0x7F,0x33,0x94,0xE5,0xFB },
{ "STA $78 = 00 ", 0xD378,0x7F,0x33,0x94,0x65,0xFB },
{ "JSR $F980 ", 0xD37A,0x7F,0x33,0x94,0x65,0xFB },
{ "SEC ", 0xF980,0x7F,0x33,0x94,0x65,0xF9 },
{ "LDA #$81 ", 0xF981,0x7F,0x33,0x94,0x65,0xF9 },
{ "RTS ", 0xF983,0x81,0x33,0x94,0xE5,0xF9 },
{ "SBC $78 = 7F ", 0xD37D,0x81,0x33,0x94,0xE5,0xFB },
{ "JSR $F984 ", 0xD37F,0x02,0x33,0x94,0x65,0xFB },
{ "BVC $F98D ", 0xF984,0x02,0x33,0x94,0x65,0xF9 },
{ "BCC $F98D ", 0xF986,0x02,0x33,0x94,0x65,0xF9 },
{ "CMP #$02 ", 0xF988,0x02,0x33,0x94,0x65,0xF9 },
{ "BNE $F98D ", 0xF98A,0x02,0x33,0x94,0x67,0xF9 },
{ "RTS ", 0xF98C,0x02,0x33,0x94,0x67,0xF9 },
{ "INY ", 0xD382,0x02,0x33,0x94,0x67,0xFB },
{ "LDA #$40 ", 0xD383,0x02,0x33,0x95,0xE5,0xFB },
{ "STA $78 = 7F ", 0xD385,0x40,0x33,0x95,0x65,0xFB },
{ "JSR $F889 ", 0xD387,0x40,0x33,0x95,0x65,0xFB },
{ "BIT $01 = FF ", 0xF889,0x40,0x33,0x95,0x65,0xF9 },
{ "LDA #$40 ", 0xF88B,0x40,0x33,0x95,0xE5,0xF9 },
{ "RTS ", 0xF88D,0x40,0x33,0x95,0x65,0xF9 },
{ "TAX ", 0xD38A,0x40,0x33,0x95,0x65,0xFB },
{ "CPX $78 = 40 ", 0xD38B,0x40,0x40,0x95,0x65,0xFB },
{ "JSR $F88E ", 0xD38D,0x40,0x40,0x95,0x67,0xFB },
{ "BMI $F897 ", 0xF88E,0x40,0x40,0x95,0x67,0xF9 },
{ "BCC $F897 ", 0xF890,0x40,0x40,0x95,0x67,0xF9 },
{ "BNE $F897 ", 0xF892,0x40,0x40,0x95,0x67,0xF9 },
{ "BVC $F897 ", 0xF894,0x40,0x40,0x95,0x67,0xF9 },
{ "RTS ", 0xF896,0x40,0x40,0x95,0x67,0xF9 },
{ "INY ", 0xD390,0x40,0x40,0x95,0x67,0xFB },
{ "LDA #$3F ", 0xD391,0x40,0x40,0x96,0xE5,0xFB },
{ "STA $78 = 40 ", 0xD393,0x3F,0x40,0x96,0x65,0xFB },
{ "JSR $F89A ", 0xD395,0x3F,0x40,0x96,0x65,0xFB },
{ "CLV ", 0xF89A,0x3F,0x40,0x96,0x65,0xF9 },
{ "RTS ", 0xF89B,0x3F,0x40,0x96,0x25,0xF9 },
{ "CPX $78 = 3F ", 0xD398,0x3F,0x40,0x96,0x25,0xFB },
{ "JSR $F89C ", 0xD39A,0x3F,0x40,0x96,0x25,0xFB },
{ "BEQ $F8A5 ", 0xF89C,0x3F,0x40,0x96,0x25,0xF9 },
{ "BMI $F8A5 ", 0xF89E,0x3F,0x40,0x96,0x25,0xF9 },
{ "BCC $F8A5 ", 0xF8A0,0x3F,0x40,0x96,0x25,0xF9 },
{ "BVS $F8A5 ", 0xF8A2,0x3F,0x40,0x96,0x25,0xF9 },
{ "RTS ", 0xF8A4,0x3F,0x40,0x96,0x25,0xF9 },
{ "INY ", 0xD39D,0x3F,0x40,0x96,0x25,0xFB },
{ "LDA #$41 ", 0xD39E,0x3F,0x40,0x97,0xA5,0xFB },
{ "STA $78 = 3F ", 0xD3A0,0x41,0x40,0x97,0x25,0xFB },
{ "CPX $78 = 41 ", 0xD3A2,0x41,0x40,0x97,0x25,0xFB },
{ "JSR $F8A8 ", 0xD3A4,0x41,0x40,0x97,0xA4,0xFB },
{ "BEQ $F8AF ", 0xF8A8,0x41,0x40,0x97,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AA,0x41,0x40,0x97,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AC,0x41,0x40,0x97,0xA4,0xF9 },
{ "RTS ", 0xF8AE,0x41,0x40,0x97,0xA4,0xF9 },
{ "INY ", 0xD3A7,0x41,0x40,0x97,0xA4,0xFB },
{ "LDA #$00 ", 0xD3A8,0x41,0x40,0x98,0xA4,0xFB },
{ "STA $78 = 41 ", 0xD3AA,0x00,0x40,0x98,0x26,0xFB },
{ "JSR $F8B2 ", 0xD3AC,0x00,0x40,0x98,0x26,0xFB },
{ "LDA #$80 ", 0xF8B2,0x00,0x40,0x98,0x26,0xF9 },
{ "RTS ", 0xF8B4,0x80,0x40,0x98,0xA4,0xF9 },
{ "TAX ", 0xD3AF,0x80,0x40,0x98,0xA4,0xFB },
{ "CPX $78 = 00 ", 0xD3B0,0x80,0x80,0x98,0xA4,0xFB },
{ "JSR $F8B5 ", 0xD3B2,0x80,0x80,0x98,0xA5,0xFB },
{ "BEQ $F8BC ", 0xF8B5,0x80,0x80,0x98,0xA5,0xF9 },
{ "BPL $F8BC ", 0xF8B7,0x80,0x80,0x98,0xA5,0xF9 },
{ "BCC $F8BC ", 0xF8B9,0x80,0x80,0x98,0xA5,0xF9 },
{ "RTS ", 0xF8BB,0x80,0x80,0x98,0xA5,0xF9 },
{ "INY ", 0xD3B5,0x80,0x80,0x98,0xA5,0xFB },
{ "LDA #$80 ", 0xD3B6,0x80,0x80,0x99,0xA5,0xFB },
{ "STA $78 = 00 ", 0xD3B8,0x80,0x80,0x99,0xA5,0xFB },
{ "CPX $78 = 80 ", 0xD3BA,0x80,0x80,0x99,0xA5,0xFB },
{ "JSR $F8BF ", 0xD3BC,0x80,0x80,0x99,0x27,0xFB },
{ "BNE $F8C6 ", 0xF8BF,0x80,0x80,0x99,0x27,0xF9 },
{ "BMI $F8C6 ", 0xF8C1,0x80,0x80,0x99,0x27,0xF9 },
{ "BCC $F8C6 ", 0xF8C3,0x80,0x80,0x99,0x27,0xF9 },
{ "RTS ", 0xF8C5,0x80,0x80,0x99,0x27,0xF9 },
{ "INY ", 0xD3BF,0x80,0x80,0x99,0x27,0xFB },
{ "LDA #$81 ", 0xD3C0,0x80,0x80,0x9A,0xA5,0xFB },
{ "STA $78 = 80 ", 0xD3C2,0x81,0x80,0x9A,0xA5,0xFB },
{ "CPX $78 = 81 ", 0xD3C4,0x81,0x80,0x9A,0xA5,0xFB },
{ "JSR $F8C9 ", 0xD3C6,0x81,0x80,0x9A,0xA4,0xFB },
{ "BCS $F8D0 ", 0xF8C9,0x81,0x80,0x9A,0xA4,0xF9 },
{ "BEQ $F8D0 ", 0xF8CB,0x81,0x80,0x9A,0xA4,0xF9 },
{ "BPL $F8D0 ", 0xF8CD,0x81,0x80,0x9A,0xA4,0xF9 },
{ "RTS ", 0xF8CF,0x81,0x80,0x9A,0xA4,0xF9 },
{ "INY ", 0xD3C9,0x81,0x80,0x9A,0xA4,0xFB },
{ "LDA #$7F ", 0xD3CA,0x81,0x80,0x9B,0xA4,0xFB },
{ "STA $78 = 81 ", 0xD3CC,0x7F,0x80,0x9B,0x24,0xFB },
{ "CPX $78 = 7F ", 0xD3CE,0x7F,0x80,0x9B,0x24,0xFB },
{ "JSR $F8D3 ", 0xD3D0,0x7F,0x80,0x9B,0x25,0xFB },
{ "BCC $F8DA ", 0xF8D3,0x7F,0x80,0x9B,0x25,0xF9 },
{ "BEQ $F8DA ", 0xF8D5,0x7F,0x80,0x9B,0x25,0xF9 },
{ "BMI $F8DA ", 0xF8D7,0x7F,0x80,0x9B,0x25,0xF9 },
{ "RTS ", 0xF8D9,0x7F,0x80,0x9B,0x25,0xF9 },
{ "INY ", 0xD3D3,0x7F,0x80,0x9B,0x25,0xFB },
{ "TYA ", 0xD3D4,0x7F,0x80,0x9C,0xA5,0xFB },
{ "TAX ", 0xD3D5,0x9C,0x80,0x9C,0xA5,0xFB },
{ "LDA #$40 ", 0xD3D6,0x9C,0x9C,0x9C,0xA5,0xFB },
{ "STA $78 = 7F ", 0xD3D8,0x40,0x9C,0x9C,0x25,0xFB },
{ "JSR $F8DD ", 0xD3DA,0x40,0x9C,0x9C,0x25,0xFB },
{ "BIT $01 = FF ", 0xF8DD,0x40,0x9C,0x9C,0x25,0xF9 },
{ "LDY #$40 ", 0xF8DF,0x40,0x9C,0x9C,0xE5,0xF9 },
{ "RTS ", 0xF8E1,0x40,0x9C,0x40,0x65,0xF9 },
{ "CPY $78 = 40 ", 0xD3DD,0x40,0x9C,0x40,0x65,0xFB },
{ "JSR $F8E2 ", 0xD3DF,0x40,0x9C,0x40,0x67,0xFB },
{ "BMI $F8EB ", 0xF8E2,0x40,0x9C,0x40,0x67,0xF9 },
{ "BCC $F8EB ", 0xF8E4,0x40,0x9C,0x40,0x67,0xF9 },
{ "BNE $F8EB ", 0xF8E6,0x40,0x9C,0x40,0x67,0xF9 },
{ "BVC $F8EB ", 0xF8E8,0x40,0x9C,0x40,0x67,0xF9 },
{ "RTS ", 0xF8EA,0x40,0x9C,0x40,0x67,0xF9 },
{ "INX ", 0xD3E2,0x40,0x9C,0x40,0x67,0xFB },
{ "LDA #$3F ", 0xD3E3,0x40,0x9D,0x40,0xE5,0xFB },
{ "STA $78 = 40 ", 0xD3E5,0x3F,0x9D,0x40,0x65,0xFB },
{ "JSR $F8EE ", 0xD3E7,0x3F,0x9D,0x40,0x65,0xFB },
{ "CLV ", 0xF8EE,0x3F,0x9D,0x40,0x65,0xF9 },
{ "RTS ", 0xF8EF,0x3F,0x9D,0x40,0x25,0xF9 },
{ "CPY $78 = 3F ", 0xD3EA,0x3F,0x9D,0x40,0x25,0xFB },
{ "JSR $F8F0 ", 0xD3EC,0x3F,0x9D,0x40,0x25,0xFB },
{ "BEQ $F8F9 ", 0xF8F0,0x3F,0x9D,0x40,0x25,0xF9 },
{ "BMI $F8F9 ", 0xF8F2,0x3F,0x9D,0x40,0x25,0xF9 },
{ "BCC $F8F9 ", 0xF8F4,0x3F,0x9D,0x40,0x25,0xF9 },
{ "BVS $F8F9 ", 0xF8F6,0x3F,0x9D,0x40,0x25,0xF9 },
{ "RTS ", 0xF8F8,0x3F,0x9D,0x40,0x25,0xF9 },
{ "INX ", 0xD3EF,0x3F,0x9D,0x40,0x25,0xFB },
{ "LDA #$41 ", 0xD3F0,0x3F,0x9E,0x40,0xA5,0xFB },
{ "STA $78 = 3F ", 0xD3F2,0x41,0x9E,0x40,0x25,0xFB },
{ "CPY $78 = 41 ", 0xD3F4,0x41,0x9E,0x40,0x25,0xFB },
{ "JSR $F8FC ", 0xD3F6,0x41,0x9E,0x40,0xA4,0xFB },
{ "BEQ $F903 ", 0xF8FC,0x41,0x9E,0x40,0xA4,0xF9 },
{ "BPL $F903 ", 0xF8FE,0x41,0x9E,0x40,0xA4,0xF9 },
{ "BPL $F903 ", 0xF900,0x41,0x9E,0x40,0xA4,0xF9 },
{ "RTS ", 0xF902,0x41,0x9E,0x40,0xA4,0xF9 },
{ "INX ", 0xD3F9,0x41,0x9E,0x40,0xA4,0xFB },
{ "LDA #$00 ", 0xD3FA,0x41,0x9F,0x40,0xA4,0xFB },
{ "STA $78 = 41 ", 0xD3FC,0x00,0x9F,0x40,0x26,0xFB },
{ "JSR $F906 ", 0xD3FE,0x00,0x9F,0x40,0x26,0xFB },
{ "LDY #$80 ", 0xF906,0x00,0x9F,0x40,0x26,0xF9 },
{ "RTS ", 0xF908,0x00,0x9F,0x80,0xA4,0xF9 },
{ "CPY $78 = 00 ", 0xD401,0x00,0x9F,0x80,0xA4,0xFB },
{ "JSR $F909 ", 0xD403,0x00,0x9F,0x80,0xA5,0xFB },
{ "BEQ $F910 ", 0xF909,0x00,0x9F,0x80,0xA5,0xF9 },
{ "BPL $F910 ", 0xF90B,0x00,0x9F,0x80,0xA5,0xF9 },
{ "BCC $F910 ", 0xF90D,0x00,0x9F,0x80,0xA5,0xF9 },
{ "RTS ", 0xF90F,0x00,0x9F,0x80,0xA5,0xF9 },
{ "INX ", 0xD406,0x00,0x9F,0x80,0xA5,0xFB },
{ "LDA #$80 ", 0xD407,0x00,0xA0,0x80,0xA5,0xFB },
{ "STA $78 = 00 ", 0xD409,0x80,0xA0,0x80,0xA5,0xFB },
{ "CPY $78 = 80 ", 0xD40B,0x80,0xA0,0x80,0xA5,0xFB },
{ "JSR $F913 ", 0xD40D,0x80,0xA0,0x80,0x27,0xFB },
{ "BNE $F91A ", 0xF913,0x80,0xA0,0x80,0x27,0xF9 },
{ "BMI $F91A ", 0xF915,0x80,0xA0,0x80,0x27,0xF9 },
{ "BCC $F91A ", 0xF917,0x80,0xA0,0x80,0x27,0xF9 },
{ "RTS ", 0xF919,0x80,0xA0,0x80,0x27,0xF9 },
{ "INX ", 0xD410,0x80,0xA0,0x80,0x27,0xFB },
{ "LDA #$81 ", 0xD411,0x80,0xA1,0x80,0xA5,0xFB },
{ "STA $78 = 80 ", 0xD413,0x81,0xA1,0x80,0xA5,0xFB },
{ "CPY $78 = 81 ", 0xD415,0x81,0xA1,0x80,0xA5,0xFB },
{ "JSR $F91D ", 0xD417,0x81,0xA1,0x80,0xA4,0xFB },
{ "BCS $F924 ", 0xF91D,0x81,0xA1,0x80,0xA4,0xF9 },
{ "BEQ $F924 ", 0xF91F,0x81,0xA1,0x80,0xA4,0xF9 },
{ "BPL $F924 ", 0xF921,0x81,0xA1,0x80,0xA4,0xF9 },
{ "RTS ", 0xF923,0x81,0xA1,0x80,0xA4,0xF9 },
{ "INX ", 0xD41A,0x81,0xA1,0x80,0xA4,0xFB },
{ "LDA #$7F ", 0xD41B,0x81,0xA2,0x80,0xA4,0xFB },
{ "STA $78 = 81 ", 0xD41D,0x7F,0xA2,0x80,0x24,0xFB },
{ "CPY $78 = 7F ", 0xD41F,0x7F,0xA2,0x80,0x24,0xFB },
{ "JSR $F927 ", 0xD421,0x7F,0xA2,0x80,0x25,0xFB },
{ "BCC $F92E ", 0xF927,0x7F,0xA2,0x80,0x25,0xF9 },
{ "BEQ $F92E ", 0xF929,0x7F,0xA2,0x80,0x25,0xF9 },
{ "BMI $F92E ", 0xF92B,0x7F,0xA2,0x80,0x25,0xF9 },
{ "RTS ", 0xF92D,0x7F,0xA2,0x80,0x25,0xF9 },
{ "INX ", 0xD424,0x7F,0xA2,0x80,0x25,0xFB },
{ "TXA ", 0xD425,0x7F,0xA3,0x80,0xA5,0xFB },
{ "TAY ", 0xD426,0xA3,0xA3,0x80,0xA5,0xFB },
{ "JSR $F990 ", 0xD427,0xA3,0xA3,0xA3,0xA5,0xFB },
{ "LDX #$55 ", 0xF990,0xA3,0xA3,0xA3,0xA5,0xF9 },
{ "LDA #$FF ", 0xF992,0xA3,0x55,0xA3,0x25,0xF9 },
{ "STA $01 = FF ", 0xF994,0xFF,0x55,0xA3,0xA5,0xF9 },
{ "NOP ", 0xF996,0xFF,0x55,0xA3,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF997,0xFF,0x55,0xA3,0xA5,0xF9 },
{ "SEC ", 0xF999,0xFF,0x55,0xA3,0xE5,0xF9 },
{ "LDA #$01 ", 0xF99A,0xFF,0x55,0xA3,0xE5,0xF9 },
{ "RTS ", 0xF99C,0x01,0x55,0xA3,0x65,0xF9 },
{ "STA $78 = 7F ", 0xD42A,0x01,0x55,0xA3,0x65,0xFB },
{ "LSR $78 = 01 ", 0xD42C,0x01,0x55,0xA3,0x65,0xFB },
{ "LDA $78 = 00 ", 0xD42E,0x01,0x55,0xA3,0x67,0xFB },
{ "JSR $F99D ", 0xD430,0x00,0x55,0xA3,0x67,0xFB },
{ "BCC $F9BA ", 0xF99D,0x00,0x55,0xA3,0x67,0xF9 },
{ "BNE $F9BA ", 0xF99F,0x00,0x55,0xA3,0x67,0xF9 },
{ "BMI $F9BA ", 0xF9A1,0x00,0x55,0xA3,0x67,0xF9 },
{ "BVC $F9BA ", 0xF9A3,0x00,0x55,0xA3,0x67,0xF9 },
{ "CMP #$00 ", 0xF9A5,0x00,0x55,0xA3,0x67,0xF9 },
{ "BNE $F9BA ", 0xF9A7,0x00,0x55,0xA3,0x67,0xF9 },
{ "CLV ", 0xF9A9,0x00,0x55,0xA3,0x67,0xF9 },
{ "LDA #$AA ", 0xF9AA,0x00,0x55,0xA3,0x27,0xF9 },
{ "RTS ", 0xF9AC,0xAA,0x55,0xA3,0xA5,0xF9 },
{ "INY ", 0xD433,0xAA,0x55,0xA3,0xA5,0xFB },
{ "STA $78 = 00 ", 0xD434,0xAA,0x55,0xA4,0xA5,0xFB },
{ "LSR $78 = AA ", 0xD436,0xAA,0x55,0xA4,0xA5,0xFB },
{ "LDA $78 = 55 ", 0xD438,0xAA,0x55,0xA4,0x24,0xFB },
{ "JSR $F9AD ", 0xD43A,0x55,0x55,0xA4,0x24,0xFB },
{ "BCS $F9BA ", 0xF9AD,0x55,0x55,0xA4,0x24,0xF9 },
{ "BEQ $F9BA ", 0xF9AF,0x55,0x55,0xA4,0x24,0xF9 },
{ "BMI $F9BA ", 0xF9B1,0x55,0x55,0xA4,0x24,0xF9 },
{ "BVS $F9BA ", 0xF9B3,0x55,0x55,0xA4,0x24,0xF9 },
{ "CMP #$55 ", 0xF9B5,0x55,0x55,0xA4,0x24,0xF9 },
{ "BNE $F9BA ", 0xF9B7,0x55,0x55,0xA4,0x27,0xF9 },
{ "RTS ", 0xF9B9,0x55,0x55,0xA4,0x27,0xF9 },
{ "INY ", 0xD43D,0x55,0x55,0xA4,0x27,0xFB },
{ "JSR $F9BD ", 0xD43E,0x55,0x55,0xA5,0xA5,0xFB },
{ "BIT $01 = FF ", 0xF9BD,0x55,0x55,0xA5,0xA5,0xF9 },
{ "SEC ", 0xF9BF,0x55,0x55,0xA5,0xE5,0xF9 },
{ "LDA #$80 ", 0xF9C0,0x55,0x55,0xA5,0xE5,0xF9 },
{ "RTS ", 0xF9C2,0x80,0x55,0xA5,0xE5,0xF9 },
{ "STA $78 = 55 ", 0xD441,0x80,0x55,0xA5,0xE5,0xFB },
{ "ASL $78 = 80 ", 0xD443,0x80,0x55,0xA5,0xE5,0xFB },
{ "LDA $78 = 00 ", 0xD445,0x80,0x55,0xA5,0x67,0xFB },
{ "JSR $F9C3 ", 0xD447,0x00,0x55,0xA5,0x67,0xFB },
{ "BCC $F9E1 ", 0xF9C3,0x00,0x55,0xA5,0x67,0xF9 },
{ "BNE $F9E1 ", 0xF9C5,0x00,0x55,0xA5,0x67,0xF9 },
{ "BMI $F9E1 ", 0xF9C7,0x00,0x55,0xA5,0x67,0xF9 },
{ "BVC $F9E1 ", 0xF9C9,0x00,0x55,0xA5,0x67,0xF9 },
{ "CMP #$00 ", 0xF9CB,0x00,0x55,0xA5,0x67,0xF9 },
{ "BNE $F9E1 ", 0xF9CD,0x00,0x55,0xA5,0x67,0xF9 },
{ "CLV ", 0xF9CF,0x00,0x55,0xA5,0x67,0xF9 },
{ "LDA #$55 ", 0xF9D0,0x00,0x55,0xA5,0x27,0xF9 },
{ "SEC ", 0xF9D2,0x55,0x55,0xA5,0x25,0xF9 },
{ "RTS ", 0xF9D3,0x55,0x55,0xA5,0x25,0xF9 },
{ "INY ", 0xD44A,0x55,0x55,0xA5,0x25,0xFB },
{ "STA $78 = 00 ", 0xD44B,0x55,0x55,0xA6,0xA5,0xFB },
{ "ASL $78 = 55 ", 0xD44D,0x55,0x55,0xA6,0xA5,0xFB },
{ "LDA $78 = AA ", 0xD44F,0x55,0x55,0xA6,0xA4,0xFB },
{ "JSR $F9D4 ", 0xD451,0xAA,0x55,0xA6,0xA4,0xFB },
{ "BCS $F9E1 ", 0xF9D4,0xAA,0x55,0xA6,0xA4,0xF9 },
{ "BEQ $F9E1 ", 0xF9D6,0xAA,0x55,0xA6,0xA4,0xF9 },
{ "BPL $F9E1 ", 0xF9D8,0xAA,0x55,0xA6,0xA4,0xF9 },
{ "BVS $F9E1 ", 0xF9DA,0xAA,0x55,0xA6,0xA4,0xF9 },
{ "CMP #$AA ", 0xF9DC,0xAA,0x55,0xA6,0xA4,0xF9 },
{ "BNE $F9E1 ", 0xF9DE,0xAA,0x55,0xA6,0x27,0xF9 },
{ "RTS ", 0xF9E0,0xAA,0x55,0xA6,0x27,0xF9 },
{ "INY ", 0xD454,0xAA,0x55,0xA6,0x27,0xFB },
{ "JSR $F9E4 ", 0xD455,0xAA,0x55,0xA7,0xA5,0xFB },
{ "BIT $01 = FF ", 0xF9E4,0xAA,0x55,0xA7,0xA5,0xF9 },
{ "SEC ", 0xF9E6,0xAA,0x55,0xA7,0xE5,0xF9 },
{ "LDA #$01 ", 0xF9E7,0xAA,0x55,0xA7,0xE5,0xF9 },
{ "RTS ", 0xF9E9,0x01,0x55,0xA7,0x65,0xF9 },
{ "STA $78 = AA ", 0xD458,0x01,0x55,0xA7,0x65,0xFB },
{ "ROR $78 = 01 ", 0xD45A,0x01,0x55,0xA7,0x65,0xFB },
{ "LDA $78 = 80 ", 0xD45C,0x01,0x55,0xA7,0xE5,0xFB },
{ "JSR $F9EA ", 0xD45E,0x80,0x55,0xA7,0xE5,0xFB },
{ "BCC $FA08 ", 0xF9EA,0x80,0x55,0xA7,0xE5,0xF9 },
{ "BEQ $FA08 ", 0xF9EC,0x80,0x55,0xA7,0xE5,0xF9 },
{ "BPL $FA08 ", 0xF9EE,0x80,0x55,0xA7,0xE5,0xF9 },
{ "BVC $FA08 ", 0xF9F0,0x80,0x55,0xA7,0xE5,0xF9 },
{ "CMP #$80 ", 0xF9F2,0x80,0x55,0xA7,0xE5,0xF9 },
{ "BNE $FA08 ", 0xF9F4,0x80,0x55,0xA7,0x67,0xF9 },
{ "CLV ", 0xF9F6,0x80,0x55,0xA7,0x67,0xF9 },
{ "CLC ", 0xF9F7,0x80,0x55,0xA7,0x27,0xF9 },
{ "LDA #$55 ", 0xF9F8,0x80,0x55,0xA7,0x26,0xF9 },
{ "RTS ", 0xF9FA,0x55,0x55,0xA7,0x24,0xF9 },
{ "INY ", 0xD461,0x55,0x55,0xA7,0x24,0xFB },
{ "STA $78 = 80 ", 0xD462,0x55,0x55,0xA8,0xA4,0xFB },
{ "ROR $78 = 55 ", 0xD464,0x55,0x55,0xA8,0xA4,0xFB },
{ "LDA $78 = 2A ", 0xD466,0x55,0x55,0xA8,0x25,0xFB },
{ "JSR $F9FB ", 0xD468,0x2A,0x55,0xA8,0x25,0xFB },
{ "BCC $FA08 ", 0xF9FB,0x2A,0x55,0xA8,0x25,0xF9 },
{ "BEQ $FA08 ", 0xF9FD,0x2A,0x55,0xA8,0x25,0xF9 },
{ "BMI $FA08 ", 0xF9FF,0x2A,0x55,0xA8,0x25,0xF9 },
{ "BVS $FA08 ", 0xFA01,0x2A,0x55,0xA8,0x25,0xF9 },
{ "CMP #$2A ", 0xFA03,0x2A,0x55,0xA8,0x25,0xF9 },
{ "BNE $FA08 ", 0xFA05,0x2A,0x55,0xA8,0x27,0xF9 },
{ "RTS ", 0xFA07,0x2A,0x55,0xA8,0x27,0xF9 },
{ "INY ", 0xD46B,0x2A,0x55,0xA8,0x27,0xFB },
{ "JSR $FA0A ", 0xD46C,0x2A,0x55,0xA9,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFA0A,0x2A,0x55,0xA9,0xA5,0xF9 },
{ "SEC ", 0xFA0C,0x2A,0x55,0xA9,0xE5,0xF9 },
{ "LDA #$80 ", 0xFA0D,0x2A,0x55,0xA9,0xE5,0xF9 },
{ "RTS ", 0xFA0F,0x80,0x55,0xA9,0xE5,0xF9 },
{ "STA $78 = 2A ", 0xD46F,0x80,0x55,0xA9,0xE5,0xFB },
{ "ROL $78 = 80 ", 0xD471,0x80,0x55,0xA9,0xE5,0xFB },
{ "LDA $78 = 01 ", 0xD473,0x80,0x55,0xA9,0x65,0xFB },
{ "JSR $FA10 ", 0xD475,0x01,0x55,0xA9,0x65,0xFB },
{ "BCC $FA2E ", 0xFA10,0x01,0x55,0xA9,0x65,0xF9 },
{ "BEQ $FA2E ", 0xFA12,0x01,0x55,0xA9,0x65,0xF9 },
{ "BMI $FA2E ", 0xFA14,0x01,0x55,0xA9,0x65,0xF9 },
{ "BVC $FA2E ", 0xFA16,0x01,0x55,0xA9,0x65,0xF9 },
{ "CMP #$01 ", 0xFA18,0x01,0x55,0xA9,0x65,0xF9 },
{ "BNE $FA2E ", 0xFA1A,0x01,0x55,0xA9,0x67,0xF9 },
{ "CLV ", 0xFA1C,0x01,0x55,0xA9,0x67,0xF9 },
{ "CLC ", 0xFA1D,0x01,0x55,0xA9,0x27,0xF9 },
{ "LDA #$55 ", 0xFA1E,0x01,0x55,0xA9,0x26,0xF9 },
{ "RTS ", 0xFA20,0x55,0x55,0xA9,0x24,0xF9 },
{ "INY ", 0xD478,0x55,0x55,0xA9,0x24,0xFB },
{ "STA $78 = 01 ", 0xD479,0x55,0x55,0xAA,0xA4,0xFB },
{ "ROL $78 = 55 ", 0xD47B,0x55,0x55,0xAA,0xA4,0xFB },
{ "LDA $78 = AA ", 0xD47D,0x55,0x55,0xAA,0xA4,0xFB },
{ "JSR $FA21 ", 0xD47F,0xAA,0x55,0xAA,0xA4,0xFB },
{ "BCS $FA2E ", 0xFA21,0xAA,0x55,0xAA,0xA4,0xF9 },
{ "BEQ $FA2E ", 0xFA23,0xAA,0x55,0xAA,0xA4,0xF9 },
{ "BPL $FA2E ", 0xFA25,0xAA,0x55,0xAA,0xA4,0xF9 },
{ "BVS $FA2E ", 0xFA27,0xAA,0x55,0xAA,0xA4,0xF9 },
{ "CMP #$AA ", 0xFA29,0xAA,0x55,0xAA,0xA4,0xF9 },
{ "BNE $FA2E ", 0xFA2B,0xAA,0x55,0xAA,0x27,0xF9 },
{ "RTS ", 0xFA2D,0xAA,0x55,0xAA,0x27,0xF9 },
{ "LDA #$FF ", 0xD482,0xAA,0x55,0xAA,0x27,0xFB },
{ "STA $78 = AA ", 0xD484,0xFF,0x55,0xAA,0xA5,0xFB },
{ "STA $01 = FF ", 0xD486,0xFF,0x55,0xAA,0xA5,0xFB },
{ "BIT $01 = FF ", 0xD488,0xFF,0x55,0xAA,0xA5,0xFB },
{ "SEC ", 0xD48A,0xFF,0x55,0xAA,0xE5,0xFB },
{ "INC $78 = FF ", 0xD48B,0xFF,0x55,0xAA,0xE5,0xFB },
{ "BNE $D49B ", 0xD48D,0xFF,0x55,0xAA,0x67,0xFB },
{ "BMI $D49B ", 0xD48F,0xFF,0x55,0xAA,0x67,0xFB },
{ "BVC $D49B ", 0xD491,0xFF,0x55,0xAA,0x67,0xFB },
{ "BCC $D49B ", 0xD493,0xFF,0x55,0xAA,0x67,0xFB },
{ "LDA $78 = 00 ", 0xD495,0xFF,0x55,0xAA,0x67,0xFB },
{ "CMP #$00 ", 0xD497,0x00,0x55,0xAA,0x67,0xFB },
{ "BEQ $D49F ", 0xD499,0x00,0x55,0xAA,0x67,0xFB },
{ "LDA #$7F ", 0xD49F,0x00,0x55,0xAA,0x67,0xFB },
{ "STA $78 = 00 ", 0xD4A1,0x7F,0x55,0xAA,0x65,0xFB },
{ "CLV ", 0xD4A3,0x7F,0x55,0xAA,0x65,0xFB },
{ "CLC ", 0xD4A4,0x7F,0x55,0xAA,0x25,0xFB },
{ "INC $78 = 7F ", 0xD4A5,0x7F,0x55,0xAA,0x24,0xFB },
{ "BEQ $D4B5 ", 0xD4A7,0x7F,0x55,0xAA,0xA4,0xFB },
{ "BPL $D4B5 ", 0xD4A9,0x7F,0x55,0xAA,0xA4,0xFB },
{ "BVS $D4B5 ", 0xD4AB,0x7F,0x55,0xAA,0xA4,0xFB },
{ "BCS $D4B5 ", 0xD4AD,0x7F,0x55,0xAA,0xA4,0xFB },
{ "LDA $78 = 80 ", 0xD4AF,0x7F,0x55,0xAA,0xA4,0xFB },
{ "CMP #$80 ", 0xD4B1,0x80,0x55,0xAA,0xA4,0xFB },
{ "BEQ $D4B9 ", 0xD4B3,0x80,0x55,0xAA,0x27,0xFB },
{ "LDA #$00 ", 0xD4B9,0x80,0x55,0xAA,0x27,0xFB },
{ "STA $78 = 80 ", 0xD4BB,0x00,0x55,0xAA,0x27,0xFB },
{ "BIT $01 = FF ", 0xD4BD,0x00,0x55,0xAA,0x27,0xFB },
{ "SEC ", 0xD4BF,0x00,0x55,0xAA,0xE7,0xFB },
{ "DEC $78 = 00 ", 0xD4C0,0x00,0x55,0xAA,0xE7,0xFB },
{ "BEQ $D4D0 ", 0xD4C2,0x00,0x55,0xAA,0xE5,0xFB },
{ "BPL $D4D0 ", 0xD4C4,0x00,0x55,0xAA,0xE5,0xFB },
{ "BVC $D4D0 ", 0xD4C6,0x00,0x55,0xAA,0xE5,0xFB },
{ "BCC $D4D0 ", 0xD4C8,0x00,0x55,0xAA,0xE5,0xFB },
{ "LDA $78 = FF ", 0xD4CA,0x00,0x55,0xAA,0xE5,0xFB },
{ "CMP #$FF ", 0xD4CC,0xFF,0x55,0xAA,0xE5,0xFB },
{ "BEQ $D4D4 ", 0xD4CE,0xFF,0x55,0xAA,0x67,0xFB },
{ "LDA #$80 ", 0xD4D4,0xFF,0x55,0xAA,0x67,0xFB },
{ "STA $78 = FF ", 0xD4D6,0x80,0x55,0xAA,0xE5,0xFB },
{ "CLV ", 0xD4D8,0x80,0x55,0xAA,0xE5,0xFB },
{ "CLC ", 0xD4D9,0x80,0x55,0xAA,0xA5,0xFB },
{ "DEC $78 = 80 ", 0xD4DA,0x80,0x55,0xAA,0xA4,0xFB },
{ "BEQ $D4EA ", 0xD4DC,0x80,0x55,0xAA,0x24,0xFB },
{ "BMI $D4EA ", 0xD4DE,0x80,0x55,0xAA,0x24,0xFB },
{ "BVS $D4EA ", 0xD4E0,0x80,0x55,0xAA,0x24,0xFB },
{ "BCS $D4EA ", 0xD4E2,0x80,0x55,0xAA,0x24,0xFB },
{ "LDA $78 = 7F ", 0xD4E4,0x80,0x55,0xAA,0x24,0xFB },
{ "CMP #$7F ", 0xD4E6,0x7F,0x55,0xAA,0x24,0xFB },
{ "BEQ $D4EE ", 0xD4E8,0x7F,0x55,0xAA,0x27,0xFB },
{ "LDA #$01 ", 0xD4EE,0x7F,0x55,0xAA,0x27,0xFB },
{ "STA $78 = 7F ", 0xD4F0,0x01,0x55,0xAA,0x25,0xFB },
{ "DEC $78 = 01 ", 0xD4F2,0x01,0x55,0xAA,0x25,0xFB },
{ "BEQ $D4FA ", 0xD4F4,0x01,0x55,0xAA,0x27,0xFB },
{ "RTS ", 0xD4FA,0x01,0x55,0xAA,0x27,0xFB },
{ "JSR $D4FB ", 0xC615,0x01,0x55,0xAA,0x27,0xFD },
{ "LDA #$55 ", 0xD4FB,0x01,0x55,0xAA,0x27,0xFB },
{ "STA $0678 = 00 ", 0xD4FD,0x55,0x55,0xAA,0x25,0xFB },
{ "LDA #$FF ", 0xD500,0x55,0x55,0xAA,0x25,0xFB },
{ "STA $01 = FF ", 0xD502,0xFF,0x55,0xAA,0xA5,0xFB },
{ "BIT $01 = FF ", 0xD504,0xFF,0x55,0xAA,0xA5,0xFB },
{ "LDY #$11 ", 0xD506,0xFF,0x55,0xAA,0xE5,0xFB },
{ "LDX #$23 ", 0xD508,0xFF,0x55,0x11,0x65,0xFB },
{ "LDA #$00 ", 0xD50A,0xFF,0x23,0x11,0x65,0xFB },
{ "LDA $0678 = 55 ", 0xD50C,0x00,0x23,0x11,0x67,0xFB },
{ "BEQ $D521 ", 0xD50F,0x55,0x23,0x11,0x65,0xFB },
{ "BMI $D521 ", 0xD511,0x55,0x23,0x11,0x65,0xFB },
{ "CMP #$55 ", 0xD513,0x55,0x23,0x11,0x65,0xFB },
{ "BNE $D521 ", 0xD515,0x55,0x23,0x11,0x67,0xFB },
{ "CPY #$11 ", 0xD517,0x55,0x23,0x11,0x67,0xFB },
{ "BNE $D521 ", 0xD519,0x55,0x23,0x11,0x67,0xFB },
{ "CPX #$23 ", 0xD51B,0x55,0x23,0x11,0x67,0xFB },
{ "BVC $D521 ", 0xD51D,0x55,0x23,0x11,0x67,0xFB },
{ "BEQ $D525 ", 0xD51F,0x55,0x23,0x11,0x67,0xFB },
{ "LDA #$46 ", 0xD525,0x55,0x23,0x11,0x67,0xFB },
{ "BIT $01 = FF ", 0xD527,0x46,0x23,0x11,0x65,0xFB },
{ "STA $0678 = 55 ", 0xD529,0x46,0x23,0x11,0xE5,0xFB },
{ "BEQ $D539 ", 0xD52C,0x46,0x23,0x11,0xE5,0xFB },
{ "BPL $D539 ", 0xD52E,0x46,0x23,0x11,0xE5,0xFB },
{ "BVC $D539 ", 0xD530,0x46,0x23,0x11,0xE5,0xFB },
{ "LDA $0678 = 46 ", 0xD532,0x46,0x23,0x11,0xE5,0xFB },
{ "CMP #$46 ", 0xD535,0x46,0x23,0x11,0x65,0xFB },
{ "BEQ $D53D ", 0xD537,0x46,0x23,0x11,0x67,0xFB },
{ "LDA #$55 ", 0xD53D,0x46,0x23,0x11,0x67,0xFB },
{ "STA $0678 = 46 ", 0xD53F,0x55,0x23,0x11,0x65,0xFB },
{ "BIT $01 = FF ", 0xD542,0x55,0x23,0x11,0x65,0xFB },
{ "LDA #$11 ", 0xD544,0x55,0x23,0x11,0xE5,0xFB },
{ "LDX #$23 ", 0xD546,0x11,0x23,0x11,0x65,0xFB },
{ "LDY #$00 ", 0xD548,0x11,0x23,0x11,0x65,0xFB },
{ "LDY $0678 = 55 ", 0xD54A,0x11,0x23,0x00,0x67,0xFB },
{ "BEQ $D55F ", 0xD54D,0x11,0x23,0x55,0x65,0xFB },
{ "BMI $D55F ", 0xD54F,0x11,0x23,0x55,0x65,0xFB },
{ "CPY #$55 ", 0xD551,0x11,0x23,0x55,0x65,0xFB },
{ "BNE $D55F ", 0xD553,0x11,0x23,0x55,0x67,0xFB },
{ "CMP #$11 ", 0xD555,0x11,0x23,0x55,0x67,0xFB },
{ "BNE $D55F ", 0xD557,0x11,0x23,0x55,0x67,0xFB },
{ "CPX #$23 ", 0xD559,0x11,0x23,0x55,0x67,0xFB },
{ "BVC $D55F ", 0xD55B,0x11,0x23,0x55,0x67,0xFB },
{ "BEQ $D563 ", 0xD55D,0x11,0x23,0x55,0x67,0xFB },
{ "LDY #$46 ", 0xD563,0x11,0x23,0x55,0x67,0xFB },
{ "BIT $01 = FF ", 0xD565,0x11,0x23,0x46,0x65,0xFB },
{ "STY $0678 = 55 ", 0xD567,0x11,0x23,0x46,0xE5,0xFB },
{ "BEQ $D577 ", 0xD56A,0x11,0x23,0x46,0xE5,0xFB },
{ "BPL $D577 ", 0xD56C,0x11,0x23,0x46,0xE5,0xFB },
{ "BVC $D577 ", 0xD56E,0x11,0x23,0x46,0xE5,0xFB },
{ "LDY $0678 = 46 ", 0xD570,0x11,0x23,0x46,0xE5,0xFB },
{ "CPY #$46 ", 0xD573,0x11,0x23,0x46,0x65,0xFB },
{ "BEQ $D57B ", 0xD575,0x11,0x23,0x46,0x67,0xFB },
{ "BIT $01 = FF ", 0xD57B,0x11,0x23,0x46,0x67,0xFB },
{ "LDA #$55 ", 0xD57D,0x11,0x23,0x46,0xE5,0xFB },
{ "STA $0678 = 46 ", 0xD57F,0x55,0x23,0x46,0x65,0xFB },
{ "LDY #$11 ", 0xD582,0x55,0x23,0x46,0x65,0xFB },
{ "LDA #$23 ", 0xD584,0x55,0x23,0x11,0x65,0xFB },
{ "LDX #$00 ", 0xD586,0x23,0x23,0x11,0x65,0xFB },
{ "LDX $0678 = 55 ", 0xD588,0x23,0x00,0x11,0x67,0xFB },
{ "BEQ $D59D ", 0xD58B,0x23,0x55,0x11,0x65,0xFB },
{ "BMI $D59D ", 0xD58D,0x23,0x55,0x11,0x65,0xFB },
{ "CPX #$55 ", 0xD58F,0x23,0x55,0x11,0x65,0xFB },
{ "BNE $D59D ", 0xD591,0x23,0x55,0x11,0x67,0xFB },
{ "CPY #$11 ", 0xD593,0x23,0x55,0x11,0x67,0xFB },
{ "BNE $D59D ", 0xD595,0x23,0x55,0x11,0x67,0xFB },
{ "CMP #$23 ", 0xD597,0x23,0x55,0x11,0x67,0xFB },
{ "BVC $D59D ", 0xD599,0x23,0x55,0x11,0x67,0xFB },
{ "BEQ $D5A1 ", 0xD59B,0x23,0x55,0x11,0x67,0xFB },
{ "LDX #$46 ", 0xD5A1,0x23,0x55,0x11,0x67,0xFB },
{ "BIT $01 = FF ", 0xD5A3,0x23,0x46,0x11,0x65,0xFB },
{ "STX $0678 = 55 ", 0xD5A5,0x23,0x46,0x11,0xE5,0xFB },
{ "BEQ $D5B5 ", 0xD5A8,0x23,0x46,0x11,0xE5,0xFB },
{ "BPL $D5B5 ", 0xD5AA,0x23,0x46,0x11,0xE5,0xFB },
{ "BVC $D5B5 ", 0xD5AC,0x23,0x46,0x11,0xE5,0xFB },
{ "LDX $0678 = 46 ", 0xD5AE,0x23,0x46,0x11,0xE5,0xFB },
{ "CPX #$46 ", 0xD5B1,0x23,0x46,0x11,0x65,0xFB },
{ "BEQ $D5B9 ", 0xD5B3,0x23,0x46,0x11,0x67,0xFB },
{ "LDA #$C0 ", 0xD5B9,0x23,0x46,0x11,0x67,0xFB },
{ "STA $0678 = 46 ", 0xD5BB,0xC0,0x46,0x11,0xE5,0xFB },
{ "LDX #$33 ", 0xD5BE,0xC0,0x46,0x11,0xE5,0xFB },
{ "LDY #$88 ", 0xD5C0,0xC0,0x33,0x11,0x65,0xFB },
{ "LDA #$05 ", 0xD5C2,0xC0,0x33,0x88,0xE5,0xFB },
{ "BIT $0678 = C0 ", 0xD5C4,0x05,0x33,0x88,0x65,0xFB },
{ "BPL $D5D9 ", 0xD5C7,0x05,0x33,0x88,0xE7,0xFB },
{ "BVC $D5D9 ", 0xD5C9,0x05,0x33,0x88,0xE7,0xFB },
{ "BNE $D5D9 ", 0xD5CB,0x05,0x33,0x88,0xE7,0xFB },
{ "CMP #$05 ", 0xD5CD,0x05,0x33,0x88,0xE7,0xFB },
{ "BNE $D5D9 ", 0xD5CF,0x05,0x33,0x88,0x67,0xFB },
{ "CPX #$33 ", 0xD5D1,0x05,0x33,0x88,0x67,0xFB },
{ "BNE $D5D9 ", 0xD5D3,0x05,0x33,0x88,0x67,0xFB },
{ "CPY #$88 ", 0xD5D5,0x05,0x33,0x88,0x67,0xFB },
{ "BEQ $D5DD ", 0xD5D7,0x05,0x33,0x88,0x67,0xFB },
{ "LDA #$03 ", 0xD5DD,0x05,0x33,0x88,0x67,0xFB },
{ "STA $0678 = C0 ", 0xD5DF,0x03,0x33,0x88,0x65,0xFB },
{ "LDA #$01 ", 0xD5E2,0x03,0x33,0x88,0x65,0xFB },
{ "BIT $0678 = 03 ", 0xD5E4,0x01,0x33,0x88,0x65,0xFB },
{ "BMI $D5F1 ", 0xD5E7,0x01,0x33,0x88,0x25,0xFB },
{ "BVS $D5F1 ", 0xD5E9,0x01,0x33,0x88,0x25,0xFB },
{ "BEQ $D5F1 ", 0xD5EB,0x01,0x33,0x88,0x25,0xFB },
{ "CMP #$01 ", 0xD5ED,0x01,0x33,0x88,0x25,0xFB },
{ "BEQ $D5F5 ", 0xD5EF,0x01,0x33,0x88,0x27,0xFB },
{ "LDY #$B8 ", 0xD5F5,0x01,0x33,0x88,0x27,0xFB },
{ "LDA #$AA ", 0xD5F7,0x01,0x33,0xB8,0xA5,0xFB },
{ "STA $0678 = 03 ", 0xD5F9,0xAA,0x33,0xB8,0xA5,0xFB },
{ "JSR $F7B6 ", 0xD5FC,0xAA,0x33,0xB8,0xA5,0xFB },
{ "CLC ", 0xF7B6,0xAA,0x33,0xB8,0xA5,0xF9 },
{ "LDA #$FF ", 0xF7B7,0xAA,0x33,0xB8,0xA4,0xF9 },
{ "STA $01 = FF ", 0xF7B9,0xFF,0x33,0xB8,0xA4,0xF9 },
{ "BIT $01 = FF ", 0xF7BB,0xFF,0x33,0xB8,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7BD,0xFF,0x33,0xB8,0xE4,0xF9 },
{ "RTS ", 0xF7BF,0x55,0x33,0xB8,0x64,0xF9 },
{ "ORA $0678 = AA ", 0xD5FF,0x55,0x33,0xB8,0x64,0xFB },
{ "JSR $F7C0 ", 0xD602,0xFF,0x33,0xB8,0xE4,0xFB },
{ "BCS $F7CB ", 0xF7C0,0xFF,0x33,0xB8,0xE4,0xF9 },
{ "BPL $F7CB ", 0xF7C2,0xFF,0x33,0xB8,0xE4,0xF9 },
{ "CMP #$FF ", 0xF7C4,0xFF,0x33,0xB8,0xE4,0xF9 },
{ "BNE $F7CB ", 0xF7C6,0xFF,0x33,0xB8,0x67,0xF9 },
{ "BVC $F7CB ", 0xF7C8,0xFF,0x33,0xB8,0x67,0xF9 },
{ "RTS ", 0xF7CA,0xFF,0x33,0xB8,0x67,0xF9 },
{ "INY ", 0xD605,0xFF,0x33,0xB8,0x67,0xFB },
{ "LDA #$00 ", 0xD606,0xFF,0x33,0xB9,0xE5,0xFB },
{ "STA $0678 = AA ", 0xD608,0x00,0x33,0xB9,0x67,0xFB },
{ "JSR $F7CE ", 0xD60B,0x00,0x33,0xB9,0x67,0xFB },
{ "SEC ", 0xF7CE,0x00,0x33,0xB9,0x67,0xF9 },
{ "CLV ", 0xF7CF,0x00,0x33,0xB9,0x67,0xF9 },
{ "LDA #$00 ", 0xF7D0,0x00,0x33,0xB9,0x27,0xF9 },
{ "RTS ", 0xF7D2,0x00,0x33,0xB9,0x27,0xF9 },
{ "ORA $0678 = 00 ", 0xD60E,0x00,0x33,0xB9,0x27,0xFB },
{ "JSR $F7D3 ", 0xD611,0x00,0x33,0xB9,0x27,0xFB },
{ "BNE $F7DC ", 0xF7D3,0x00,0x33,0xB9,0x27,0xF9 },
{ "BVS $F7DC ", 0xF7D5,0x00,0x33,0xB9,0x27,0xF9 },
{ "BCC $F7DC ", 0xF7D7,0x00,0x33,0xB9,0x27,0xF9 },
{ "BMI $F7DC ", 0xF7D9,0x00,0x33,0xB9,0x27,0xF9 },
{ "RTS ", 0xF7DB,0x00,0x33,0xB9,0x27,0xF9 },
{ "INY ", 0xD614,0x00,0x33,0xB9,0x27,0xFB },
{ "LDA #$AA ", 0xD615,0x00,0x33,0xBA,0xA5,0xFB },
{ "STA $0678 = 00 ", 0xD617,0xAA,0x33,0xBA,0xA5,0xFB },
{ "JSR $F7DF ", 0xD61A,0xAA,0x33,0xBA,0xA5,0xFB },
{ "CLC ", 0xF7DF,0xAA,0x33,0xBA,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF7E0,0xAA,0x33,0xBA,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7E2,0xAA,0x33,0xBA,0xE4,0xF9 },
{ "RTS ", 0xF7E4,0x55,0x33,0xBA,0x64,0xF9 },
{ "AND $0678 = AA ", 0xD61D,0x55,0x33,0xBA,0x64,0xFB },
{ "JSR $F7E5 ", 0xD620,0x00,0x33,0xBA,0x66,0xFB },
{ "BNE $F7EE ", 0xF7E5,0x00,0x33,0xBA,0x66,0xF9 },
{ "BVC $F7EE ", 0xF7E7,0x00,0x33,0xBA,0x66,0xF9 },
{ "BCS $F7EE ", 0xF7E9,0x00,0x33,0xBA,0x66,0xF9 },
{ "BMI $F7EE ", 0xF7EB,0x00,0x33,0xBA,0x66,0xF9 },
{ "RTS ", 0xF7ED,0x00,0x33,0xBA,0x66,0xF9 },
{ "INY ", 0xD623,0x00,0x33,0xBA,0x66,0xFB },
{ "LDA #$EF ", 0xD624,0x00,0x33,0xBB,0xE4,0xFB },
{ "STA $0678 = AA ", 0xD626,0xEF,0x33,0xBB,0xE4,0xFB },
{ "JSR $F7F1 ", 0xD629,0xEF,0x33,0xBB,0xE4,0xFB },
{ "SEC ", 0xF7F1,0xEF,0x33,0xBB,0xE4,0xF9 },
{ "CLV ", 0xF7F2,0xEF,0x33,0xBB,0xE5,0xF9 },
{ "LDA #$F8 ", 0xF7F3,0xEF,0x33,0xBB,0xA5,0xF9 },
{ "RTS ", 0xF7F5,0xF8,0x33,0xBB,0xA5,0xF9 },
{ "AND $0678 = EF ", 0xD62C,0xF8,0x33,0xBB,0xA5,0xFB },
{ "JSR $F7F6 ", 0xD62F,0xE8,0x33,0xBB,0xA5,0xFB },
{ "BCC $F801 ", 0xF7F6,0xE8,0x33,0xBB,0xA5,0xF9 },
{ "BPL $F801 ", 0xF7F8,0xE8,0x33,0xBB,0xA5,0xF9 },
{ "CMP #$E8 ", 0xF7FA,0xE8,0x33,0xBB,0xA5,0xF9 },
{ "BNE $F801 ", 0xF7FC,0xE8,0x33,0xBB,0x27,0xF9 },
{ "BVS $F801 ", 0xF7FE,0xE8,0x33,0xBB,0x27,0xF9 },
{ "RTS ", 0xF800,0xE8,0x33,0xBB,0x27,0xF9 },
{ "INY ", 0xD632,0xE8,0x33,0xBB,0x27,0xFB },
{ "LDA #$AA ", 0xD633,0xE8,0x33,0xBC,0xA5,0xFB },
{ "STA $0678 = EF ", 0xD635,0xAA,0x33,0xBC,0xA5,0xFB },
{ "JSR $F804 ", 0xD638,0xAA,0x33,0xBC,0xA5,0xFB },
{ "CLC ", 0xF804,0xAA,0x33,0xBC,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF805,0xAA,0x33,0xBC,0xA4,0xF9 },
{ "LDA #$5F ", 0xF807,0xAA,0x33,0xBC,0xE4,0xF9 },
{ "RTS ", 0xF809,0x5F,0x33,0xBC,0x64,0xF9 },
{ "EOR $0678 = AA ", 0xD63B,0x5F,0x33,0xBC,0x64,0xFB },
{ "JSR $F80A ", 0xD63E,0xF5,0x33,0xBC,0xE4,0xFB },
{ "BCS $F815 ", 0xF80A,0xF5,0x33,0xBC,0xE4,0xF9 },
{ "BPL $F815 ", 0xF80C,0xF5,0x33,0xBC,0xE4,0xF9 },
{ "CMP #$F5 ", 0xF80E,0xF5,0x33,0xBC,0xE4,0xF9 },
{ "BNE $F815 ", 0xF810,0xF5,0x33,0xBC,0x67,0xF9 },
{ "BVC $F815 ", 0xF812,0xF5,0x33,0xBC,0x67,0xF9 },
{ "RTS ", 0xF814,0xF5,0x33,0xBC,0x67,0xF9 },
{ "INY ", 0xD641,0xF5,0x33,0xBC,0x67,0xFB },
{ "LDA #$70 ", 0xD642,0xF5,0x33,0xBD,0xE5,0xFB },
{ "STA $0678 = AA ", 0xD644,0x70,0x33,0xBD,0x65,0xFB },
{ "JSR $F818 ", 0xD647,0x70,0x33,0xBD,0x65,0xFB },
{ "SEC ", 0xF818,0x70,0x33,0xBD,0x65,0xF9 },
{ "CLV ", 0xF819,0x70,0x33,0xBD,0x65,0xF9 },
{ "LDA #$70 ", 0xF81A,0x70,0x33,0xBD,0x25,0xF9 },
{ "RTS ", 0xF81C,0x70,0x33,0xBD,0x25,0xF9 },
{ "EOR $0678 = 70 ", 0xD64A,0x70,0x33,0xBD,0x25,0xFB },
{ "JSR $F81D ", 0xD64D,0x00,0x33,0xBD,0x27,0xFB },
{ "BNE $F826 ", 0xF81D,0x00,0x33,0xBD,0x27,0xF9 },
{ "BVS $F826 ", 0xF81F,0x00,0x33,0xBD,0x27,0xF9 },
{ "BCC $F826 ", 0xF821,0x00,0x33,0xBD,0x27,0xF9 },
{ "BMI $F826 ", 0xF823,0x00,0x33,0xBD,0x27,0xF9 },
{ "RTS ", 0xF825,0x00,0x33,0xBD,0x27,0xF9 },
{ "INY ", 0xD650,0x00,0x33,0xBD,0x27,0xFB },
{ "LDA #$69 ", 0xD651,0x00,0x33,0xBE,0xA5,0xFB },
{ "STA $0678 = 70 ", 0xD653,0x69,0x33,0xBE,0x25,0xFB },
{ "JSR $F829 ", 0xD656,0x69,0x33,0xBE,0x25,0xFB },
{ "CLC ", 0xF829,0x69,0x33,0xBE,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF82A,0x69,0x33,0xBE,0x24,0xF9 },
{ "LDA #$00 ", 0xF82C,0x69,0x33,0xBE,0xE4,0xF9 },
{ "RTS ", 0xF82E,0x00,0x33,0xBE,0x66,0xF9 },
{ "ADC $0678 = 69 ", 0xD659,0x00,0x33,0xBE,0x66,0xFB },
{ "JSR $F82F ", 0xD65C,0x69,0x33,0xBE,0x24,0xFB },
{ "BMI $F83A ", 0xF82F,0x69,0x33,0xBE,0x24,0xF9 },
{ "BCS $F83A ", 0xF831,0x69,0x33,0xBE,0x24,0xF9 },
{ "CMP #$69 ", 0xF833,0x69,0x33,0xBE,0x24,0xF9 },
{ "BNE $F83A ", 0xF835,0x69,0x33,0xBE,0x27,0xF9 },
{ "BVS $F83A ", 0xF837,0x69,0x33,0xBE,0x27,0xF9 },
{ "RTS ", 0xF839,0x69,0x33,0xBE,0x27,0xF9 },
{ "INY ", 0xD65F,0x69,0x33,0xBE,0x27,0xFB },
{ "JSR $F83D ", 0xD660,0x69,0x33,0xBF,0xA5,0xFB },
{ "SEC ", 0xF83D,0x69,0x33,0xBF,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF83E,0x69,0x33,0xBF,0xA5,0xF9 },
{ "LDA #$00 ", 0xF840,0x69,0x33,0xBF,0xE5,0xF9 },
{ "RTS ", 0xF842,0x00,0x33,0xBF,0x67,0xF9 },
{ "ADC $0678 = 69 ", 0xD663,0x00,0x33,0xBF,0x67,0xFB },
{ "JSR $F843 ", 0xD666,0x6A,0x33,0xBF,0x24,0xFB },
{ "BMI $F84E ", 0xF843,0x6A,0x33,0xBF,0x24,0xF9 },
{ "BCS $F84E ", 0xF845,0x6A,0x33,0xBF,0x24,0xF9 },
{ "CMP #$6A ", 0xF847,0x6A,0x33,0xBF,0x24,0xF9 },
{ "BNE $F84E ", 0xF849,0x6A,0x33,0xBF,0x27,0xF9 },
{ "BVS $F84E ", 0xF84B,0x6A,0x33,0xBF,0x27,0xF9 },
{ "RTS ", 0xF84D,0x6A,0x33,0xBF,0x27,0xF9 },
{ "INY ", 0xD669,0x6A,0x33,0xBF,0x27,0xFB },
{ "LDA #$7F ", 0xD66A,0x6A,0x33,0xC0,0xA5,0xFB },
{ "STA $0678 = 69 ", 0xD66C,0x7F,0x33,0xC0,0x25,0xFB },
{ "JSR $F851 ", 0xD66F,0x7F,0x33,0xC0,0x25,0xFB },
{ "SEC ", 0xF851,0x7F,0x33,0xC0,0x25,0xF9 },
{ "CLV ", 0xF852,0x7F,0x33,0xC0,0x25,0xF9 },
{ "LDA #$7F ", 0xF853,0x7F,0x33,0xC0,0x25,0xF9 },
{ "RTS ", 0xF855,0x7F,0x33,0xC0,0x25,0xF9 },
{ "ADC $0678 = 7F ", 0xD672,0x7F,0x33,0xC0,0x25,0xFB },
{ "JSR $F856 ", 0xD675,0xFF,0x33,0xC0,0xE4,0xFB },
{ "BPL $F861 ", 0xF856,0xFF,0x33,0xC0,0xE4,0xF9 },
{ "BCS $F861 ", 0xF858,0xFF,0x33,0xC0,0xE4,0xF9 },
{ "CMP #$FF ", 0xF85A,0xFF,0x33,0xC0,0xE4,0xF9 },
{ "BNE $F861 ", 0xF85C,0xFF,0x33,0xC0,0x67,0xF9 },
{ "BVC $F861 ", 0xF85E,0xFF,0x33,0xC0,0x67,0xF9 },
{ "RTS ", 0xF860,0xFF,0x33,0xC0,0x67,0xF9 },
{ "INY ", 0xD678,0xFF,0x33,0xC0,0x67,0xFB },
{ "LDA #$80 ", 0xD679,0xFF,0x33,0xC1,0xE5,0xFB },
{ "STA $0678 = 7F ", 0xD67B,0x80,0x33,0xC1,0xE5,0xFB },
{ "JSR $F864 ", 0xD67E,0x80,0x33,0xC1,0xE5,0xFB },
{ "CLC ", 0xF864,0x80,0x33,0xC1,0xE5,0xF9 },
{ "BIT $01 = FF ", 0xF865,0x80,0x33,0xC1,0xE4,0xF9 },
{ "LDA #$7F ", 0xF867,0x80,0x33,0xC1,0xE4,0xF9 },
{ "RTS ", 0xF869,0x7F,0x33,0xC1,0x64,0xF9 },
{ "ADC $0678 = 80 ", 0xD681,0x7F,0x33,0xC1,0x64,0xFB },
{ "JSR $F86A ", 0xD684,0xFF,0x33,0xC1,0xA4,0xFB },
{ "BPL $F875 ", 0xF86A,0xFF,0x33,0xC1,0xA4,0xF9 },
{ "BCS $F875 ", 0xF86C,0xFF,0x33,0xC1,0xA4,0xF9 },
{ "CMP #$FF ", 0xF86E,0xFF,0x33,0xC1,0xA4,0xF9 },
{ "BNE $F875 ", 0xF870,0xFF,0x33,0xC1,0x27,0xF9 },
{ "BVS $F875 ", 0xF872,0xFF,0x33,0xC1,0x27,0xF9 },
{ "RTS ", 0xF874,0xFF,0x33,0xC1,0x27,0xF9 },
{ "INY ", 0xD687,0xFF,0x33,0xC1,0x27,0xFB },
{ "JSR $F878 ", 0xD688,0xFF,0x33,0xC2,0xA5,0xFB },
{ "SEC ", 0xF878,0xFF,0x33,0xC2,0xA5,0xF9 },
{ "CLV ", 0xF879,0xFF,0x33,0xC2,0xA5,0xF9 },
{ "LDA #$7F ", 0xF87A,0xFF,0x33,0xC2,0xA5,0xF9 },
{ "RTS ", 0xF87C,0x7F,0x33,0xC2,0x25,0xF9 },
{ "ADC $0678 = 80 ", 0xD68B,0x7F,0x33,0xC2,0x25,0xFB },
{ "JSR $F87D ", 0xD68E,0x00,0x33,0xC2,0x27,0xFB },
{ "BNE $F886 ", 0xF87D,0x00,0x33,0xC2,0x27,0xF9 },
{ "BMI $F886 ", 0xF87F,0x00,0x33,0xC2,0x27,0xF9 },
{ "BVS $F886 ", 0xF881,0x00,0x33,0xC2,0x27,0xF9 },
{ "BCC $F886 ", 0xF883,0x00,0x33,0xC2,0x27,0xF9 },
{ "RTS ", 0xF885,0x00,0x33,0xC2,0x27,0xF9 },
{ "INY ", 0xD691,0x00,0x33,0xC2,0x27,0xFB },
{ "LDA #$40 ", 0xD692,0x00,0x33,0xC3,0xA5,0xFB },
{ "STA $0678 = 80 ", 0xD694,0x40,0x33,0xC3,0x25,0xFB },
{ "JSR $F889 ", 0xD697,0x40,0x33,0xC3,0x25,0xFB },
{ "BIT $01 = FF ", 0xF889,0x40,0x33,0xC3,0x25,0xF9 },
{ "LDA #$40 ", 0xF88B,0x40,0x33,0xC3,0xE5,0xF9 },
{ "RTS ", 0xF88D,0x40,0x33,0xC3,0x65,0xF9 },
{ "CMP $0678 = 40 ", 0xD69A,0x40,0x33,0xC3,0x65,0xFB },
{ "JSR $F88E ", 0xD69D,0x40,0x33,0xC3,0x67,0xFB },
{ "BMI $F897 ", 0xF88E,0x40,0x33,0xC3,0x67,0xF9 },
{ "BCC $F897 ", 0xF890,0x40,0x33,0xC3,0x67,0xF9 },
{ "BNE $F897 ", 0xF892,0x40,0x33,0xC3,0x67,0xF9 },
{ "BVC $F897 ", 0xF894,0x40,0x33,0xC3,0x67,0xF9 },
{ "RTS ", 0xF896,0x40,0x33,0xC3,0x67,0xF9 },
{ "INY ", 0xD6A0,0x40,0x33,0xC3,0x67,0xFB },
{ "PHA ", 0xD6A1,0x40,0x33,0xC4,0xE5,0xFB },
{ "LDA #$3F ", 0xD6A2,0x40,0x33,0xC4,0xE5,0xFA },
{ "STA $0678 = 40 ", 0xD6A4,0x3F,0x33,0xC4,0x65,0xFA },
{ "PLA ", 0xD6A7,0x3F,0x33,0xC4,0x65,0xFA },
{ "JSR $F89A ", 0xD6A8,0x40,0x33,0xC4,0x65,0xFB },
{ "CLV ", 0xF89A,0x40,0x33,0xC4,0x65,0xF9 },
{ "RTS ", 0xF89B,0x40,0x33,0xC4,0x25,0xF9 },
{ "CMP $0678 = 3F ", 0xD6AB,0x40,0x33,0xC4,0x25,0xFB },
{ "JSR $F89C ", 0xD6AE,0x40,0x33,0xC4,0x25,0xFB },
{ "BEQ $F8A5 ", 0xF89C,0x40,0x33,0xC4,0x25,0xF9 },
{ "BMI $F8A5 ", 0xF89E,0x40,0x33,0xC4,0x25,0xF9 },
{ "BCC $F8A5 ", 0xF8A0,0x40,0x33,0xC4,0x25,0xF9 },
{ "BVS $F8A5 ", 0xF8A2,0x40,0x33,0xC4,0x25,0xF9 },
{ "RTS ", 0xF8A4,0x40,0x33,0xC4,0x25,0xF9 },
{ "INY ", 0xD6B1,0x40,0x33,0xC4,0x25,0xFB },
{ "PHA ", 0xD6B2,0x40,0x33,0xC5,0xA5,0xFB },
{ "LDA #$41 ", 0xD6B3,0x40,0x33,0xC5,0xA5,0xFA },
{ "STA $0678 = 3F ", 0xD6B5,0x41,0x33,0xC5,0x25,0xFA },
{ "PLA ", 0xD6B8,0x41,0x33,0xC5,0x25,0xFA },
{ "CMP $0678 = 41 ", 0xD6B9,0x40,0x33,0xC5,0x25,0xFB },
{ "JSR $F8A8 ", 0xD6BC,0x40,0x33,0xC5,0xA4,0xFB },
{ "BEQ $F8AF ", 0xF8A8,0x40,0x33,0xC5,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AA,0x40,0x33,0xC5,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AC,0x40,0x33,0xC5,0xA4,0xF9 },
{ "RTS ", 0xF8AE,0x40,0x33,0xC5,0xA4,0xF9 },
{ "INY ", 0xD6BF,0x40,0x33,0xC5,0xA4,0xFB },
{ "PHA ", 0xD6C0,0x40,0x33,0xC6,0xA4,0xFB },
{ "LDA #$00 ", 0xD6C1,0x40,0x33,0xC6,0xA4,0xFA },
{ "STA $0678 = 41 ", 0xD6C3,0x00,0x33,0xC6,0x26,0xFA },
{ "PLA ", 0xD6C6,0x00,0x33,0xC6,0x26,0xFA },
{ "JSR $F8B2 ", 0xD6C7,0x40,0x33,0xC6,0x24,0xFB },
{ "LDA #$80 ", 0xF8B2,0x40,0x33,0xC6,0x24,0xF9 },
{ "RTS ", 0xF8B4,0x80,0x33,0xC6,0xA4,0xF9 },
{ "CMP $0678 = 00 ", 0xD6CA,0x80,0x33,0xC6,0xA4,0xFB },
{ "JSR $F8B5 ", 0xD6CD,0x80,0x33,0xC6,0xA5,0xFB },
{ "BEQ $F8BC ", 0xF8B5,0x80,0x33,0xC6,0xA5,0xF9 },
{ "BPL $F8BC ", 0xF8B7,0x80,0x33,0xC6,0xA5,0xF9 },
{ "BCC $F8BC ", 0xF8B9,0x80,0x33,0xC6,0xA5,0xF9 },
{ "RTS ", 0xF8BB,0x80,0x33,0xC6,0xA5,0xF9 },
{ "INY ", 0xD6D0,0x80,0x33,0xC6,0xA5,0xFB },
{ "PHA ", 0xD6D1,0x80,0x33,0xC7,0xA5,0xFB },
{ "LDA #$80 ", 0xD6D2,0x80,0x33,0xC7,0xA5,0xFA },
{ "STA $0678 = 00 ", 0xD6D4,0x80,0x33,0xC7,0xA5,0xFA },
{ "PLA ", 0xD6D7,0x80,0x33,0xC7,0xA5,0xFA },
{ "CMP $0678 = 80 ", 0xD6D8,0x80,0x33,0xC7,0xA5,0xFB },
{ "JSR $F8BF ", 0xD6DB,0x80,0x33,0xC7,0x27,0xFB },
{ "BNE $F8C6 ", 0xF8BF,0x80,0x33,0xC7,0x27,0xF9 },
{ "BMI $F8C6 ", 0xF8C1,0x80,0x33,0xC7,0x27,0xF9 },
{ "BCC $F8C6 ", 0xF8C3,0x80,0x33,0xC7,0x27,0xF9 },
{ "RTS ", 0xF8C5,0x80,0x33,0xC7,0x27,0xF9 },
{ "INY ", 0xD6DE,0x80,0x33,0xC7,0x27,0xFB },
{ "PHA ", 0xD6DF,0x80,0x33,0xC8,0xA5,0xFB },
{ "LDA #$81 ", 0xD6E0,0x80,0x33,0xC8,0xA5,0xFA },
{ "STA $0678 = 80 ", 0xD6E2,0x81,0x33,0xC8,0xA5,0xFA },
{ "PLA ", 0xD6E5,0x81,0x33,0xC8,0xA5,0xFA },
{ "CMP $0678 = 81 ", 0xD6E6,0x80,0x33,0xC8,0xA5,0xFB },
{ "JSR $F8C9 ", 0xD6E9,0x80,0x33,0xC8,0xA4,0xFB },
{ "BCS $F8D0 ", 0xF8C9,0x80,0x33,0xC8,0xA4,0xF9 },
{ "BEQ $F8D0 ", 0xF8CB,0x80,0x33,0xC8,0xA4,0xF9 },
{ "BPL $F8D0 ", 0xF8CD,0x80,0x33,0xC8,0xA4,0xF9 },
{ "RTS ", 0xF8CF,0x80,0x33,0xC8,0xA4,0xF9 },
{ "INY ", 0xD6EC,0x80,0x33,0xC8,0xA4,0xFB },
{ "PHA ", 0xD6ED,0x80,0x33,0xC9,0xA4,0xFB },
{ "LDA #$7F ", 0xD6EE,0x80,0x33,0xC9,0xA4,0xFA },
{ "STA $0678 = 81 ", 0xD6F0,0x7F,0x33,0xC9,0x24,0xFA },
{ "PLA ", 0xD6F3,0x7F,0x33,0xC9,0x24,0xFA },
{ "CMP $0678 = 7F ", 0xD6F4,0x80,0x33,0xC9,0xA4,0xFB },
{ "JSR $F8D3 ", 0xD6F7,0x80,0x33,0xC9,0x25,0xFB },
{ "BCC $F8DA ", 0xF8D3,0x80,0x33,0xC9,0x25,0xF9 },
{ "BEQ $F8DA ", 0xF8D5,0x80,0x33,0xC9,0x25,0xF9 },
{ "BMI $F8DA ", 0xF8D7,0x80,0x33,0xC9,0x25,0xF9 },
{ "RTS ", 0xF8D9,0x80,0x33,0xC9,0x25,0xF9 },
{ "INY ", 0xD6FA,0x80,0x33,0xC9,0x25,0xFB },
{ "LDA #$40 ", 0xD6FB,0x80,0x33,0xCA,0xA5,0xFB },
{ "STA $0678 = 7F ", 0xD6FD,0x40,0x33,0xCA,0x25,0xFB },
{ "JSR $F931 ", 0xD700,0x40,0x33,0xCA,0x25,0xFB },
{ "BIT $01 = FF ", 0xF931,0x40,0x33,0xCA,0x25,0xF9 },
{ "LDA #$40 ", 0xF933,0x40,0x33,0xCA,0xE5,0xF9 },
{ "SEC ", 0xF935,0x40,0x33,0xCA,0x65,0xF9 },
{ "RTS ", 0xF936,0x40,0x33,0xCA,0x65,0xF9 },
{ "SBC $0678 = 40 ", 0xD703,0x40,0x33,0xCA,0x65,0xFB },
{ "JSR $F937 ", 0xD706,0x00,0x33,0xCA,0x27,0xFB },
{ "BMI $F944 ", 0xF937,0x00,0x33,0xCA,0x27,0xF9 },
{ "BCC $F944 ", 0xF939,0x00,0x33,0xCA,0x27,0xF9 },
{ "BNE $F944 ", 0xF93B,0x00,0x33,0xCA,0x27,0xF9 },
{ "BVS $F944 ", 0xF93D,0x00,0x33,0xCA,0x27,0xF9 },
{ "CMP #$00 ", 0xF93F,0x00,0x33,0xCA,0x27,0xF9 },
{ "BNE $F944 ", 0xF941,0x00,0x33,0xCA,0x27,0xF9 },
{ "RTS ", 0xF943,0x00,0x33,0xCA,0x27,0xF9 },
{ "INY ", 0xD709,0x00,0x33,0xCA,0x27,0xFB },
{ "LDA #$3F ", 0xD70A,0x00,0x33,0xCB,0xA5,0xFB },
{ "STA $0678 = 40 ", 0xD70C,0x3F,0x33,0xCB,0x25,0xFB },
{ "JSR $F947 ", 0xD70F,0x3F,0x33,0xCB,0x25,0xFB },
{ "CLV ", 0xF947,0x3F,0x33,0xCB,0x25,0xF9 },
{ "SEC ", 0xF948,0x3F,0x33,0xCB,0x25,0xF9 },
{ "LDA #$40 ", 0xF949,0x3F,0x33,0xCB,0x25,0xF9 },
{ "RTS ", 0xF94B,0x40,0x33,0xCB,0x25,0xF9 },
{ "SBC $0678 = 3F ", 0xD712,0x40,0x33,0xCB,0x25,0xFB },
{ "JSR $F94C ", 0xD715,0x01,0x33,0xCB,0x25,0xFB },
{ "BEQ $F959 ", 0xF94C,0x01,0x33,0xCB,0x25,0xF9 },
{ "BMI $F959 ", 0xF94E,0x01,0x33,0xCB,0x25,0xF9 },
{ "BCC $F959 ", 0xF950,0x01,0x33,0xCB,0x25,0xF9 },
{ "BVS $F959 ", 0xF952,0x01,0x33,0xCB,0x25,0xF9 },
{ "CMP #$01 ", 0xF954,0x01,0x33,0xCB,0x25,0xF9 },
{ "BNE $F959 ", 0xF956,0x01,0x33,0xCB,0x27,0xF9 },
{ "RTS ", 0xF958,0x01,0x33,0xCB,0x27,0xF9 },
{ "INY ", 0xD718,0x01,0x33,0xCB,0x27,0xFB },
{ "LDA #$41 ", 0xD719,0x01,0x33,0xCC,0xA5,0xFB },
{ "STA $0678 = 3F ", 0xD71B,0x41,0x33,0xCC,0x25,0xFB },
{ "JSR $F95C ", 0xD71E,0x41,0x33,0xCC,0x25,0xFB },
{ "LDA #$40 ", 0xF95C,0x41,0x33,0xCC,0x25,0xF9 },
{ "SEC ", 0xF95E,0x40,0x33,0xCC,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF95F,0x40,0x33,0xCC,0x25,0xF9 },
{ "RTS ", 0xF961,0x40,0x33,0xCC,0xE5,0xF9 },
{ "SBC $0678 = 41 ", 0xD721,0x40,0x33,0xCC,0xE5,0xFB },
{ "JSR $F962 ", 0xD724,0xFF,0x33,0xCC,0xA4,0xFB },
{ "BCS $F96F ", 0xF962,0xFF,0x33,0xCC,0xA4,0xF9 },
{ "BEQ $F96F ", 0xF964,0xFF,0x33,0xCC,0xA4,0xF9 },
{ "BPL $F96F ", 0xF966,0xFF,0x33,0xCC,0xA4,0xF9 },
{ "BVS $F96F ", 0xF968,0xFF,0x33,0xCC,0xA4,0xF9 },
{ "CMP #$FF ", 0xF96A,0xFF,0x33,0xCC,0xA4,0xF9 },
{ "BNE $F96F ", 0xF96C,0xFF,0x33,0xCC,0x27,0xF9 },
{ "RTS ", 0xF96E,0xFF,0x33,0xCC,0x27,0xF9 },
{ "INY ", 0xD727,0xFF,0x33,0xCC,0x27,0xFB },
{ "LDA #$00 ", 0xD728,0xFF,0x33,0xCD,0xA5,0xFB },
{ "STA $0678 = 41 ", 0xD72A,0x00,0x33,0xCD,0x27,0xFB },
{ "JSR $F972 ", 0xD72D,0x00,0x33,0xCD,0x27,0xFB },
{ "CLC ", 0xF972,0x00,0x33,0xCD,0x27,0xF9 },
{ "LDA #$80 ", 0xF973,0x00,0x33,0xCD,0x26,0xF9 },
{ "RTS ", 0xF975,0x80,0x33,0xCD,0xA4,0xF9 },
{ "SBC $0678 = 00 ", 0xD730,0x80,0x33,0xCD,0xA4,0xFB },
{ "JSR $F976 ", 0xD733,0x7F,0x33,0xCD,0x65,0xFB },
{ "BCC $F97D ", 0xF976,0x7F,0x33,0xCD,0x65,0xF9 },
{ "CMP #$7F ", 0xF978,0x7F,0x33,0xCD,0x65,0xF9 },
{ "BNE $F97D ", 0xF97A,0x7F,0x33,0xCD,0x67,0xF9 },
{ "RTS ", 0xF97C,0x7F,0x33,0xCD,0x67,0xF9 },
{ "INY ", 0xD736,0x7F,0x33,0xCD,0x67,0xFB },
{ "LDA #$7F ", 0xD737,0x7F,0x33,0xCE,0xE5,0xFB },
{ "STA $0678 = 00 ", 0xD739,0x7F,0x33,0xCE,0x65,0xFB },
{ "JSR $F980 ", 0xD73C,0x7F,0x33,0xCE,0x65,0xFB },
{ "SEC ", 0xF980,0x7F,0x33,0xCE,0x65,0xF9 },
{ "LDA #$81 ", 0xF981,0x7F,0x33,0xCE,0x65,0xF9 },
{ "RTS ", 0xF983,0x81,0x33,0xCE,0xE5,0xF9 },
{ "SBC $0678 = 7F ", 0xD73F,0x81,0x33,0xCE,0xE5,0xFB },
{ "JSR $F984 ", 0xD742,0x02,0x33,0xCE,0x65,0xFB },
{ "BVC $F98D ", 0xF984,0x02,0x33,0xCE,0x65,0xF9 },
{ "BCC $F98D ", 0xF986,0x02,0x33,0xCE,0x65,0xF9 },
{ "CMP #$02 ", 0xF988,0x02,0x33,0xCE,0x65,0xF9 },
{ "BNE $F98D ", 0xF98A,0x02,0x33,0xCE,0x67,0xF9 },
{ "RTS ", 0xF98C,0x02,0x33,0xCE,0x67,0xF9 },
{ "INY ", 0xD745,0x02,0x33,0xCE,0x67,0xFB },
{ "LDA #$40 ", 0xD746,0x02,0x33,0xCF,0xE5,0xFB },
{ "STA $0678 = 7F ", 0xD748,0x40,0x33,0xCF,0x65,0xFB },
{ "JSR $F889 ", 0xD74B,0x40,0x33,0xCF,0x65,0xFB },
{ "BIT $01 = FF ", 0xF889,0x40,0x33,0xCF,0x65,0xF9 },
{ "LDA #$40 ", 0xF88B,0x40,0x33,0xCF,0xE5,0xF9 },
{ "RTS ", 0xF88D,0x40,0x33,0xCF,0x65,0xF9 },
{ "TAX ", 0xD74E,0x40,0x33,0xCF,0x65,0xFB },
{ "CPX $0678 = 40 ", 0xD74F,0x40,0x40,0xCF,0x65,0xFB },
{ "JSR $F88E ", 0xD752,0x40,0x40,0xCF,0x67,0xFB },
{ "BMI $F897 ", 0xF88E,0x40,0x40,0xCF,0x67,0xF9 },
{ "BCC $F897 ", 0xF890,0x40,0x40,0xCF,0x67,0xF9 },
{ "BNE $F897 ", 0xF892,0x40,0x40,0xCF,0x67,0xF9 },
{ "BVC $F897 ", 0xF894,0x40,0x40,0xCF,0x67,0xF9 },
{ "RTS ", 0xF896,0x40,0x40,0xCF,0x67,0xF9 },
{ "INY ", 0xD755,0x40,0x40,0xCF,0x67,0xFB },
{ "LDA #$3F ", 0xD756,0x40,0x40,0xD0,0xE5,0xFB },
{ "STA $0678 = 40 ", 0xD758,0x3F,0x40,0xD0,0x65,0xFB },
{ "JSR $F89A ", 0xD75B,0x3F,0x40,0xD0,0x65,0xFB },
{ "CLV ", 0xF89A,0x3F,0x40,0xD0,0x65,0xF9 },
{ "RTS ", 0xF89B,0x3F,0x40,0xD0,0x25,0xF9 },
{ "CPX $0678 = 3F ", 0xD75E,0x3F,0x40,0xD0,0x25,0xFB },
{ "JSR $F89C ", 0xD761,0x3F,0x40,0xD0,0x25,0xFB },
{ "BEQ $F8A5 ", 0xF89C,0x3F,0x40,0xD0,0x25,0xF9 },
{ "BMI $F8A5 ", 0xF89E,0x3F,0x40,0xD0,0x25,0xF9 },
{ "BCC $F8A5 ", 0xF8A0,0x3F,0x40,0xD0,0x25,0xF9 },
{ "BVS $F8A5 ", 0xF8A2,0x3F,0x40,0xD0,0x25,0xF9 },
{ "RTS ", 0xF8A4,0x3F,0x40,0xD0,0x25,0xF9 },
{ "INY ", 0xD764,0x3F,0x40,0xD0,0x25,0xFB },
{ "LDA #$41 ", 0xD765,0x3F,0x40,0xD1,0xA5,0xFB },
{ "STA $0678 = 3F ", 0xD767,0x41,0x40,0xD1,0x25,0xFB },
{ "CPX $0678 = 41 ", 0xD76A,0x41,0x40,0xD1,0x25,0xFB },
{ "JSR $F8A8 ", 0xD76D,0x41,0x40,0xD1,0xA4,0xFB },
{ "BEQ $F8AF ", 0xF8A8,0x41,0x40,0xD1,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AA,0x41,0x40,0xD1,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AC,0x41,0x40,0xD1,0xA4,0xF9 },
{ "RTS ", 0xF8AE,0x41,0x40,0xD1,0xA4,0xF9 },
{ "INY ", 0xD770,0x41,0x40,0xD1,0xA4,0xFB },
{ "LDA #$00 ", 0xD771,0x41,0x40,0xD2,0xA4,0xFB },
{ "STA $0678 = 41 ", 0xD773,0x00,0x40,0xD2,0x26,0xFB },
{ "JSR $F8B2 ", 0xD776,0x00,0x40,0xD2,0x26,0xFB },
{ "LDA #$80 ", 0xF8B2,0x00,0x40,0xD2,0x26,0xF9 },
{ "RTS ", 0xF8B4,0x80,0x40,0xD2,0xA4,0xF9 },
{ "TAX ", 0xD779,0x80,0x40,0xD2,0xA4,0xFB },
{ "CPX $0678 = 00 ", 0xD77A,0x80,0x80,0xD2,0xA4,0xFB },
{ "JSR $F8B5 ", 0xD77D,0x80,0x80,0xD2,0xA5,0xFB },
{ "BEQ $F8BC ", 0xF8B5,0x80,0x80,0xD2,0xA5,0xF9 },
{ "BPL $F8BC ", 0xF8B7,0x80,0x80,0xD2,0xA5,0xF9 },
{ "BCC $F8BC ", 0xF8B9,0x80,0x80,0xD2,0xA5,0xF9 },
{ "RTS ", 0xF8BB,0x80,0x80,0xD2,0xA5,0xF9 },
{ "INY ", 0xD780,0x80,0x80,0xD2,0xA5,0xFB },
{ "LDA #$80 ", 0xD781,0x80,0x80,0xD3,0xA5,0xFB },
{ "STA $0678 = 00 ", 0xD783,0x80,0x80,0xD3,0xA5,0xFB },
{ "CPX $0678 = 80 ", 0xD786,0x80,0x80,0xD3,0xA5,0xFB },
{ "JSR $F8BF ", 0xD789,0x80,0x80,0xD3,0x27,0xFB },
{ "BNE $F8C6 ", 0xF8BF,0x80,0x80,0xD3,0x27,0xF9 },
{ "BMI $F8C6 ", 0xF8C1,0x80,0x80,0xD3,0x27,0xF9 },
{ "BCC $F8C6 ", 0xF8C3,0x80,0x80,0xD3,0x27,0xF9 },
{ "RTS ", 0xF8C5,0x80,0x80,0xD3,0x27,0xF9 },
{ "INY ", 0xD78C,0x80,0x80,0xD3,0x27,0xFB },
{ "LDA #$81 ", 0xD78D,0x80,0x80,0xD4,0xA5,0xFB },
{ "STA $0678 = 80 ", 0xD78F,0x81,0x80,0xD4,0xA5,0xFB },
{ "CPX $0678 = 81 ", 0xD792,0x81,0x80,0xD4,0xA5,0xFB },
{ "JSR $F8C9 ", 0xD795,0x81,0x80,0xD4,0xA4,0xFB },
{ "BCS $F8D0 ", 0xF8C9,0x81,0x80,0xD4,0xA4,0xF9 },
{ "BEQ $F8D0 ", 0xF8CB,0x81,0x80,0xD4,0xA4,0xF9 },
{ "BPL $F8D0 ", 0xF8CD,0x81,0x80,0xD4,0xA4,0xF9 },
{ "RTS ", 0xF8CF,0x81,0x80,0xD4,0xA4,0xF9 },
{ "INY ", 0xD798,0x81,0x80,0xD4,0xA4,0xFB },
{ "LDA #$7F ", 0xD799,0x81,0x80,0xD5,0xA4,0xFB },
{ "STA $0678 = 81 ", 0xD79B,0x7F,0x80,0xD5,0x24,0xFB },
{ "CPX $0678 = 7F ", 0xD79E,0x7F,0x80,0xD5,0x24,0xFB },
{ "JSR $F8D3 ", 0xD7A1,0x7F,0x80,0xD5,0x25,0xFB },
{ "BCC $F8DA ", 0xF8D3,0x7F,0x80,0xD5,0x25,0xF9 },
{ "BEQ $F8DA ", 0xF8D5,0x7F,0x80,0xD5,0x25,0xF9 },
{ "BMI $F8DA ", 0xF8D7,0x7F,0x80,0xD5,0x25,0xF9 },
{ "RTS ", 0xF8D9,0x7F,0x80,0xD5,0x25,0xF9 },
{ "INY ", 0xD7A4,0x7F,0x80,0xD5,0x25,0xFB },
{ "TYA ", 0xD7A5,0x7F,0x80,0xD6,0xA5,0xFB },
{ "TAX ", 0xD7A6,0xD6,0x80,0xD6,0xA5,0xFB },
{ "LDA #$40 ", 0xD7A7,0xD6,0xD6,0xD6,0xA5,0xFB },
{ "STA $0678 = 7F ", 0xD7A9,0x40,0xD6,0xD6,0x25,0xFB },
{ "JSR $F8DD ", 0xD7AC,0x40,0xD6,0xD6,0x25,0xFB },
{ "BIT $01 = FF ", 0xF8DD,0x40,0xD6,0xD6,0x25,0xF9 },
{ "LDY #$40 ", 0xF8DF,0x40,0xD6,0xD6,0xE5,0xF9 },
{ "RTS ", 0xF8E1,0x40,0xD6,0x40,0x65,0xF9 },
{ "CPY $0678 = 40 ", 0xD7AF,0x40,0xD6,0x40,0x65,0xFB },
{ "JSR $F8E2 ", 0xD7B2,0x40,0xD6,0x40,0x67,0xFB },
{ "BMI $F8EB ", 0xF8E2,0x40,0xD6,0x40,0x67,0xF9 },
{ "BCC $F8EB ", 0xF8E4,0x40,0xD6,0x40,0x67,0xF9 },
{ "BNE $F8EB ", 0xF8E6,0x40,0xD6,0x40,0x67,0xF9 },
{ "BVC $F8EB ", 0xF8E8,0x40,0xD6,0x40,0x67,0xF9 },
{ "RTS ", 0xF8EA,0x40,0xD6,0x40,0x67,0xF9 },
{ "INX ", 0xD7B5,0x40,0xD6,0x40,0x67,0xFB },
{ "LDA #$3F ", 0xD7B6,0x40,0xD7,0x40,0xE5,0xFB },
{ "STA $0678 = 40 ", 0xD7B8,0x3F,0xD7,0x40,0x65,0xFB },
{ "JSR $F8EE ", 0xD7BB,0x3F,0xD7,0x40,0x65,0xFB },
{ "CLV ", 0xF8EE,0x3F,0xD7,0x40,0x65,0xF9 },
{ "RTS ", 0xF8EF,0x3F,0xD7,0x40,0x25,0xF9 },
{ "CPY $0678 = 3F ", 0xD7BE,0x3F,0xD7,0x40,0x25,0xFB },
{ "JSR $F8F0 ", 0xD7C1,0x3F,0xD7,0x40,0x25,0xFB },
{ "BEQ $F8F9 ", 0xF8F0,0x3F,0xD7,0x40,0x25,0xF9 },
{ "BMI $F8F9 ", 0xF8F2,0x3F,0xD7,0x40,0x25,0xF9 },
{ "BCC $F8F9 ", 0xF8F4,0x3F,0xD7,0x40,0x25,0xF9 },
{ "BVS $F8F9 ", 0xF8F6,0x3F,0xD7,0x40,0x25,0xF9 },
{ "RTS ", 0xF8F8,0x3F,0xD7,0x40,0x25,0xF9 },
{ "INX ", 0xD7C4,0x3F,0xD7,0x40,0x25,0xFB },
{ "LDA #$41 ", 0xD7C5,0x3F,0xD8,0x40,0xA5,0xFB },
{ "STA $0678 = 3F ", 0xD7C7,0x41,0xD8,0x40,0x25,0xFB },
{ "CPY $0678 = 41 ", 0xD7CA,0x41,0xD8,0x40,0x25,0xFB },
{ "JSR $F8FC ", 0xD7CD,0x41,0xD8,0x40,0xA4,0xFB },
{ "BEQ $F903 ", 0xF8FC,0x41,0xD8,0x40,0xA4,0xF9 },
{ "BPL $F903 ", 0xF8FE,0x41,0xD8,0x40,0xA4,0xF9 },
{ "BPL $F903 ", 0xF900,0x41,0xD8,0x40,0xA4,0xF9 },
{ "RTS ", 0xF902,0x41,0xD8,0x40,0xA4,0xF9 },
{ "INX ", 0xD7D0,0x41,0xD8,0x40,0xA4,0xFB },
{ "LDA #$00 ", 0xD7D1,0x41,0xD9,0x40,0xA4,0xFB },
{ "STA $0678 = 41 ", 0xD7D3,0x00,0xD9,0x40,0x26,0xFB },
{ "JSR $F906 ", 0xD7D6,0x00,0xD9,0x40,0x26,0xFB },
{ "LDY #$80 ", 0xF906,0x00,0xD9,0x40,0x26,0xF9 },
{ "RTS ", 0xF908,0x00,0xD9,0x80,0xA4,0xF9 },
{ "CPY $0678 = 00 ", 0xD7D9,0x00,0xD9,0x80,0xA4,0xFB },
{ "JSR $F909 ", 0xD7DC,0x00,0xD9,0x80,0xA5,0xFB },
{ "BEQ $F910 ", 0xF909,0x00,0xD9,0x80,0xA5,0xF9 },
{ "BPL $F910 ", 0xF90B,0x00,0xD9,0x80,0xA5,0xF9 },
{ "BCC $F910 ", 0xF90D,0x00,0xD9,0x80,0xA5,0xF9 },
{ "RTS ", 0xF90F,0x00,0xD9,0x80,0xA5,0xF9 },
{ "INX ", 0xD7DF,0x00,0xD9,0x80,0xA5,0xFB },
{ "LDA #$80 ", 0xD7E0,0x00,0xDA,0x80,0xA5,0xFB },
{ "STA $0678 = 00 ", 0xD7E2,0x80,0xDA,0x80,0xA5,0xFB },
{ "CPY $0678 = 80 ", 0xD7E5,0x80,0xDA,0x80,0xA5,0xFB },
{ "JSR $F913 ", 0xD7E8,0x80,0xDA,0x80,0x27,0xFB },
{ "BNE $F91A ", 0xF913,0x80,0xDA,0x80,0x27,0xF9 },
{ "BMI $F91A ", 0xF915,0x80,0xDA,0x80,0x27,0xF9 },
{ "BCC $F91A ", 0xF917,0x80,0xDA,0x80,0x27,0xF9 },
{ "RTS ", 0xF919,0x80,0xDA,0x80,0x27,0xF9 },
{ "INX ", 0xD7EB,0x80,0xDA,0x80,0x27,0xFB },
{ "LDA #$81 ", 0xD7EC,0x80,0xDB,0x80,0xA5,0xFB },
{ "STA $0678 = 80 ", 0xD7EE,0x81,0xDB,0x80,0xA5,0xFB },
{ "CPY $0678 = 81 ", 0xD7F1,0x81,0xDB,0x80,0xA5,0xFB },
{ "JSR $F91D ", 0xD7F4,0x81,0xDB,0x80,0xA4,0xFB },
{ "BCS $F924 ", 0xF91D,0x81,0xDB,0x80,0xA4,0xF9 },
{ "BEQ $F924 ", 0xF91F,0x81,0xDB,0x80,0xA4,0xF9 },
{ "BPL $F924 ", 0xF921,0x81,0xDB,0x80,0xA4,0xF9 },
{ "RTS ", 0xF923,0x81,0xDB,0x80,0xA4,0xF9 },
{ "INX ", 0xD7F7,0x81,0xDB,0x80,0xA4,0xFB },
{ "LDA #$7F ", 0xD7F8,0x81,0xDC,0x80,0xA4,0xFB },
{ "STA $0678 = 81 ", 0xD7FA,0x7F,0xDC,0x80,0x24,0xFB },
{ "CPY $0678 = 7F ", 0xD7FD,0x7F,0xDC,0x80,0x24,0xFB },
{ "JSR $F927 ", 0xD800,0x7F,0xDC,0x80,0x25,0xFB },
{ "BCC $F92E ", 0xF927,0x7F,0xDC,0x80,0x25,0xF9 },
{ "BEQ $F92E ", 0xF929,0x7F,0xDC,0x80,0x25,0xF9 },
{ "BMI $F92E ", 0xF92B,0x7F,0xDC,0x80,0x25,0xF9 },
{ "RTS ", 0xF92D,0x7F,0xDC,0x80,0x25,0xF9 },
{ "INX ", 0xD803,0x7F,0xDC,0x80,0x25,0xFB },
{ "TXA ", 0xD804,0x7F,0xDD,0x80,0xA5,0xFB },
{ "TAY ", 0xD805,0xDD,0xDD,0x80,0xA5,0xFB },
{ "JSR $F990 ", 0xD806,0xDD,0xDD,0xDD,0xA5,0xFB },
{ "LDX #$55 ", 0xF990,0xDD,0xDD,0xDD,0xA5,0xF9 },
{ "LDA #$FF ", 0xF992,0xDD,0x55,0xDD,0x25,0xF9 },
{ "STA $01 = FF ", 0xF994,0xFF,0x55,0xDD,0xA5,0xF9 },
{ "NOP ", 0xF996,0xFF,0x55,0xDD,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF997,0xFF,0x55,0xDD,0xA5,0xF9 },
{ "SEC ", 0xF999,0xFF,0x55,0xDD,0xE5,0xF9 },
{ "LDA #$01 ", 0xF99A,0xFF,0x55,0xDD,0xE5,0xF9 },
{ "RTS ", 0xF99C,0x01,0x55,0xDD,0x65,0xF9 },
{ "STA $0678 = 7F ", 0xD809,0x01,0x55,0xDD,0x65,0xFB },
{ "LSR $0678 = 01 ", 0xD80C,0x01,0x55,0xDD,0x65,0xFB },
{ "LDA $0678 = 00 ", 0xD80F,0x01,0x55,0xDD,0x67,0xFB },
{ "JSR $F99D ", 0xD812,0x00,0x55,0xDD,0x67,0xFB },
{ "BCC $F9BA ", 0xF99D,0x00,0x55,0xDD,0x67,0xF9 },
{ "BNE $F9BA ", 0xF99F,0x00,0x55,0xDD,0x67,0xF9 },
{ "BMI $F9BA ", 0xF9A1,0x00,0x55,0xDD,0x67,0xF9 },
{ "BVC $F9BA ", 0xF9A3,0x00,0x55,0xDD,0x67,0xF9 },
{ "CMP #$00 ", 0xF9A5,0x00,0x55,0xDD,0x67,0xF9 },
{ "BNE $F9BA ", 0xF9A7,0x00,0x55,0xDD,0x67,0xF9 },
{ "CLV ", 0xF9A9,0x00,0x55,0xDD,0x67,0xF9 },
{ "LDA #$AA ", 0xF9AA,0x00,0x55,0xDD,0x27,0xF9 },
{ "RTS ", 0xF9AC,0xAA,0x55,0xDD,0xA5,0xF9 },
{ "INY ", 0xD815,0xAA,0x55,0xDD,0xA5,0xFB },
{ "STA $0678 = 00 ", 0xD816,0xAA,0x55,0xDE,0xA5,0xFB },
{ "LSR $0678 = AA ", 0xD819,0xAA,0x55,0xDE,0xA5,0xFB },
{ "LDA $0678 = 55 ", 0xD81C,0xAA,0x55,0xDE,0x24,0xFB },
{ "JSR $F9AD ", 0xD81F,0x55,0x55,0xDE,0x24,0xFB },
{ "BCS $F9BA ", 0xF9AD,0x55,0x55,0xDE,0x24,0xF9 },
{ "BEQ $F9BA ", 0xF9AF,0x55,0x55,0xDE,0x24,0xF9 },
{ "BMI $F9BA ", 0xF9B1,0x55,0x55,0xDE,0x24,0xF9 },
{ "BVS $F9BA ", 0xF9B3,0x55,0x55,0xDE,0x24,0xF9 },
{ "CMP #$55 ", 0xF9B5,0x55,0x55,0xDE,0x24,0xF9 },
{ "BNE $F9BA ", 0xF9B7,0x55,0x55,0xDE,0x27,0xF9 },
{ "RTS ", 0xF9B9,0x55,0x55,0xDE,0x27,0xF9 },
{ "INY ", 0xD822,0x55,0x55,0xDE,0x27,0xFB },
{ "JSR $F9BD ", 0xD823,0x55,0x55,0xDF,0xA5,0xFB },
{ "BIT $01 = FF ", 0xF9BD,0x55,0x55,0xDF,0xA5,0xF9 },
{ "SEC ", 0xF9BF,0x55,0x55,0xDF,0xE5,0xF9 },
{ "LDA #$80 ", 0xF9C0,0x55,0x55,0xDF,0xE5,0xF9 },
{ "RTS ", 0xF9C2,0x80,0x55,0xDF,0xE5,0xF9 },
{ "STA $0678 = 55 ", 0xD826,0x80,0x55,0xDF,0xE5,0xFB },
{ "ASL $0678 = 80 ", 0xD829,0x80,0x55,0xDF,0xE5,0xFB },
{ "LDA $0678 = 00 ", 0xD82C,0x80,0x55,0xDF,0x67,0xFB },
{ "JSR $F9C3 ", 0xD82F,0x00,0x55,0xDF,0x67,0xFB },
{ "BCC $F9E1 ", 0xF9C3,0x00,0x55,0xDF,0x67,0xF9 },
{ "BNE $F9E1 ", 0xF9C5,0x00,0x55,0xDF,0x67,0xF9 },
{ "BMI $F9E1 ", 0xF9C7,0x00,0x55,0xDF,0x67,0xF9 },
{ "BVC $F9E1 ", 0xF9C9,0x00,0x55,0xDF,0x67,0xF9 },
{ "CMP #$00 ", 0xF9CB,0x00,0x55,0xDF,0x67,0xF9 },
{ "BNE $F9E1 ", 0xF9CD,0x00,0x55,0xDF,0x67,0xF9 },
{ "CLV ", 0xF9CF,0x00,0x55,0xDF,0x67,0xF9 },
{ "LDA #$55 ", 0xF9D0,0x00,0x55,0xDF,0x27,0xF9 },
{ "SEC ", 0xF9D2,0x55,0x55,0xDF,0x25,0xF9 },
{ "RTS ", 0xF9D3,0x55,0x55,0xDF,0x25,0xF9 },
{ "INY ", 0xD832,0x55,0x55,0xDF,0x25,0xFB },
{ "STA $0678 = 00 ", 0xD833,0x55,0x55,0xE0,0xA5,0xFB },
{ "ASL $0678 = 55 ", 0xD836,0x55,0x55,0xE0,0xA5,0xFB },
{ "LDA $0678 = AA ", 0xD839,0x55,0x55,0xE0,0xA4,0xFB },
{ "JSR $F9D4 ", 0xD83C,0xAA,0x55,0xE0,0xA4,0xFB },
{ "BCS $F9E1 ", 0xF9D4,0xAA,0x55,0xE0,0xA4,0xF9 },
{ "BEQ $F9E1 ", 0xF9D6,0xAA,0x55,0xE0,0xA4,0xF9 },
{ "BPL $F9E1 ", 0xF9D8,0xAA,0x55,0xE0,0xA4,0xF9 },
{ "BVS $F9E1 ", 0xF9DA,0xAA,0x55,0xE0,0xA4,0xF9 },
{ "CMP #$AA ", 0xF9DC,0xAA,0x55,0xE0,0xA4,0xF9 },
{ "BNE $F9E1 ", 0xF9DE,0xAA,0x55,0xE0,0x27,0xF9 },
{ "RTS ", 0xF9E0,0xAA,0x55,0xE0,0x27,0xF9 },
{ "INY ", 0xD83F,0xAA,0x55,0xE0,0x27,0xFB },
{ "JSR $F9E4 ", 0xD840,0xAA,0x55,0xE1,0xA5,0xFB },
{ "BIT $01 = FF ", 0xF9E4,0xAA,0x55,0xE1,0xA5,0xF9 },
{ "SEC ", 0xF9E6,0xAA,0x55,0xE1,0xE5,0xF9 },
{ "LDA #$01 ", 0xF9E7,0xAA,0x55,0xE1,0xE5,0xF9 },
{ "RTS ", 0xF9E9,0x01,0x55,0xE1,0x65,0xF9 },
{ "STA $0678 = AA ", 0xD843,0x01,0x55,0xE1,0x65,0xFB },
{ "ROR $0678 = 01 ", 0xD846,0x01,0x55,0xE1,0x65,0xFB },
{ "LDA $0678 = 80 ", 0xD849,0x01,0x55,0xE1,0xE5,0xFB },
{ "JSR $F9EA ", 0xD84C,0x80,0x55,0xE1,0xE5,0xFB },
{ "BCC $FA08 ", 0xF9EA,0x80,0x55,0xE1,0xE5,0xF9 },
{ "BEQ $FA08 ", 0xF9EC,0x80,0x55,0xE1,0xE5,0xF9 },
{ "BPL $FA08 ", 0xF9EE,0x80,0x55,0xE1,0xE5,0xF9 },
{ "BVC $FA08 ", 0xF9F0,0x80,0x55,0xE1,0xE5,0xF9 },
{ "CMP #$80 ", 0xF9F2,0x80,0x55,0xE1,0xE5,0xF9 },
{ "BNE $FA08 ", 0xF9F4,0x80,0x55,0xE1,0x67,0xF9 },
{ "CLV ", 0xF9F6,0x80,0x55,0xE1,0x67,0xF9 },
{ "CLC ", 0xF9F7,0x80,0x55,0xE1,0x27,0xF9 },
{ "LDA #$55 ", 0xF9F8,0x80,0x55,0xE1,0x26,0xF9 },
{ "RTS ", 0xF9FA,0x55,0x55,0xE1,0x24,0xF9 },
{ "INY ", 0xD84F,0x55,0x55,0xE1,0x24,0xFB },
{ "STA $0678 = 80 ", 0xD850,0x55,0x55,0xE2,0xA4,0xFB },
{ "ROR $0678 = 55 ", 0xD853,0x55,0x55,0xE2,0xA4,0xFB },
{ "LDA $0678 = 2A ", 0xD856,0x55,0x55,0xE2,0x25,0xFB },
{ "JSR $F9FB ", 0xD859,0x2A,0x55,0xE2,0x25,0xFB },
{ "BCC $FA08 ", 0xF9FB,0x2A,0x55,0xE2,0x25,0xF9 },
{ "BEQ $FA08 ", 0xF9FD,0x2A,0x55,0xE2,0x25,0xF9 },
{ "BMI $FA08 ", 0xF9FF,0x2A,0x55,0xE2,0x25,0xF9 },
{ "BVS $FA08 ", 0xFA01,0x2A,0x55,0xE2,0x25,0xF9 },
{ "CMP #$2A ", 0xFA03,0x2A,0x55,0xE2,0x25,0xF9 },
{ "BNE $FA08 ", 0xFA05,0x2A,0x55,0xE2,0x27,0xF9 },
{ "RTS ", 0xFA07,0x2A,0x55,0xE2,0x27,0xF9 },
{ "INY ", 0xD85C,0x2A,0x55,0xE2,0x27,0xFB },
{ "JSR $FA0A ", 0xD85D,0x2A,0x55,0xE3,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFA0A,0x2A,0x55,0xE3,0xA5,0xF9 },
{ "SEC ", 0xFA0C,0x2A,0x55,0xE3,0xE5,0xF9 },
{ "LDA #$80 ", 0xFA0D,0x2A,0x55,0xE3,0xE5,0xF9 },
{ "RTS ", 0xFA0F,0x80,0x55,0xE3,0xE5,0xF9 },
{ "STA $0678 = 2A ", 0xD860,0x80,0x55,0xE3,0xE5,0xFB },
{ "ROL $0678 = 80 ", 0xD863,0x80,0x55,0xE3,0xE5,0xFB },
{ "LDA $0678 = 01 ", 0xD866,0x80,0x55,0xE3,0x65,0xFB },
{ "JSR $FA10 ", 0xD869,0x01,0x55,0xE3,0x65,0xFB },
{ "BCC $FA2E ", 0xFA10,0x01,0x55,0xE3,0x65,0xF9 },
{ "BEQ $FA2E ", 0xFA12,0x01,0x55,0xE3,0x65,0xF9 },
{ "BMI $FA2E ", 0xFA14,0x01,0x55,0xE3,0x65,0xF9 },
{ "BVC $FA2E ", 0xFA16,0x01,0x55,0xE3,0x65,0xF9 },
{ "CMP #$01 ", 0xFA18,0x01,0x55,0xE3,0x65,0xF9 },
{ "BNE $FA2E ", 0xFA1A,0x01,0x55,0xE3,0x67,0xF9 },
{ "CLV ", 0xFA1C,0x01,0x55,0xE3,0x67,0xF9 },
{ "CLC ", 0xFA1D,0x01,0x55,0xE3,0x27,0xF9 },
{ "LDA #$55 ", 0xFA1E,0x01,0x55,0xE3,0x26,0xF9 },
{ "RTS ", 0xFA20,0x55,0x55,0xE3,0x24,0xF9 },
{ "INY ", 0xD86C,0x55,0x55,0xE3,0x24,0xFB },
{ "STA $0678 = 01 ", 0xD86D,0x55,0x55,0xE4,0xA4,0xFB },
{ "ROL $0678 = 55 ", 0xD870,0x55,0x55,0xE4,0xA4,0xFB },
{ "LDA $0678 = AA ", 0xD873,0x55,0x55,0xE4,0xA4,0xFB },
{ "JSR $FA21 ", 0xD876,0xAA,0x55,0xE4,0xA4,0xFB },
{ "BCS $FA2E ", 0xFA21,0xAA,0x55,0xE4,0xA4,0xF9 },
{ "BEQ $FA2E ", 0xFA23,0xAA,0x55,0xE4,0xA4,0xF9 },
{ "BPL $FA2E ", 0xFA25,0xAA,0x55,0xE4,0xA4,0xF9 },
{ "BVS $FA2E ", 0xFA27,0xAA,0x55,0xE4,0xA4,0xF9 },
{ "CMP #$AA ", 0xFA29,0xAA,0x55,0xE4,0xA4,0xF9 },
{ "BNE $FA2E ", 0xFA2B,0xAA,0x55,0xE4,0x27,0xF9 },
{ "RTS ", 0xFA2D,0xAA,0x55,0xE4,0x27,0xF9 },
{ "LDA #$FF ", 0xD879,0xAA,0x55,0xE4,0x27,0xFB },
{ "STA $0678 = AA ", 0xD87B,0xFF,0x55,0xE4,0xA5,0xFB },
{ "STA $01 = FF ", 0xD87E,0xFF,0x55,0xE4,0xA5,0xFB },
{ "BIT $01 = FF ", 0xD880,0xFF,0x55,0xE4,0xA5,0xFB },
{ "SEC ", 0xD882,0xFF,0x55,0xE4,0xE5,0xFB },
{ "INC $0678 = FF ", 0xD883,0xFF,0x55,0xE4,0xE5,0xFB },
{ "BNE $D895 ", 0xD886,0xFF,0x55,0xE4,0x67,0xFB },
{ "BMI $D895 ", 0xD888,0xFF,0x55,0xE4,0x67,0xFB },
{ "BVC $D895 ", 0xD88A,0xFF,0x55,0xE4,0x67,0xFB },
{ "BCC $D895 ", 0xD88C,0xFF,0x55,0xE4,0x67,0xFB },
{ "LDA $0678 = 00 ", 0xD88E,0xFF,0x55,0xE4,0x67,0xFB },
{ "CMP #$00 ", 0xD891,0x00,0x55,0xE4,0x67,0xFB },
{ "BEQ $D899 ", 0xD893,0x00,0x55,0xE4,0x67,0xFB },
{ "LDA #$7F ", 0xD899,0x00,0x55,0xE4,0x67,0xFB },
{ "STA $0678 = 00 ", 0xD89B,0x7F,0x55,0xE4,0x65,0xFB },
{ "CLV ", 0xD89E,0x7F,0x55,0xE4,0x65,0xFB },
{ "CLC ", 0xD89F,0x7F,0x55,0xE4,0x25,0xFB },
{ "INC $0678 = 7F ", 0xD8A0,0x7F,0x55,0xE4,0x24,0xFB },
{ "BEQ $D8B2 ", 0xD8A3,0x7F,0x55,0xE4,0xA4,0xFB },
{ "BPL $D8B2 ", 0xD8A5,0x7F,0x55,0xE4,0xA4,0xFB },
{ "BVS $D8B2 ", 0xD8A7,0x7F,0x55,0xE4,0xA4,0xFB },
{ "BCS $D8B2 ", 0xD8A9,0x7F,0x55,0xE4,0xA4,0xFB },
{ "LDA $0678 = 80 ", 0xD8AB,0x7F,0x55,0xE4,0xA4,0xFB },
{ "CMP #$80 ", 0xD8AE,0x80,0x55,0xE4,0xA4,0xFB },
{ "BEQ $D8B6 ", 0xD8B0,0x80,0x55,0xE4,0x27,0xFB },
{ "LDA #$00 ", 0xD8B6,0x80,0x55,0xE4,0x27,0xFB },
{ "STA $0678 = 80 ", 0xD8B8,0x00,0x55,0xE4,0x27,0xFB },
{ "BIT $01 = FF ", 0xD8BB,0x00,0x55,0xE4,0x27,0xFB },
{ "SEC ", 0xD8BD,0x00,0x55,0xE4,0xE7,0xFB },
{ "DEC $0678 = 00 ", 0xD8BE,0x00,0x55,0xE4,0xE7,0xFB },
{ "BEQ $D8D0 ", 0xD8C1,0x00,0x55,0xE4,0xE5,0xFB },
{ "BPL $D8D0 ", 0xD8C3,0x00,0x55,0xE4,0xE5,0xFB },
{ "BVC $D8D0 ", 0xD8C5,0x00,0x55,0xE4,0xE5,0xFB },
{ "BCC $D8D0 ", 0xD8C7,0x00,0x55,0xE4,0xE5,0xFB },
{ "LDA $0678 = FF ", 0xD8C9,0x00,0x55,0xE4,0xE5,0xFB },
{ "CMP #$FF ", 0xD8CC,0xFF,0x55,0xE4,0xE5,0xFB },
{ "BEQ $D8D4 ", 0xD8CE,0xFF,0x55,0xE4,0x67,0xFB },
{ "LDA #$80 ", 0xD8D4,0xFF,0x55,0xE4,0x67,0xFB },
{ "STA $0678 = FF ", 0xD8D6,0x80,0x55,0xE4,0xE5,0xFB },
{ "CLV ", 0xD8D9,0x80,0x55,0xE4,0xE5,0xFB },
{ "CLC ", 0xD8DA,0x80,0x55,0xE4,0xA5,0xFB },
{ "DEC $0678 = 80 ", 0xD8DB,0x80,0x55,0xE4,0xA4,0xFB },
{ "BEQ $D8ED ", 0xD8DE,0x80,0x55,0xE4,0x24,0xFB },
{ "BMI $D8ED ", 0xD8E0,0x80,0x55,0xE4,0x24,0xFB },
{ "BVS $D8ED ", 0xD8E2,0x80,0x55,0xE4,0x24,0xFB },
{ "BCS $D8ED ", 0xD8E4,0x80,0x55,0xE4,0x24,0xFB },
{ "LDA $0678 = 7F ", 0xD8E6,0x80,0x55,0xE4,0x24,0xFB },
{ "CMP #$7F ", 0xD8E9,0x7F,0x55,0xE4,0x24,0xFB },
{ "BEQ $D8F1 ", 0xD8EB,0x7F,0x55,0xE4,0x27,0xFB },
{ "LDA #$01 ", 0xD8F1,0x7F,0x55,0xE4,0x27,0xFB },
{ "STA $0678 = 7F ", 0xD8F3,0x01,0x55,0xE4,0x25,0xFB },
{ "DEC $0678 = 01 ", 0xD8F6,0x01,0x55,0xE4,0x25,0xFB },
{ "BEQ $D8FF ", 0xD8F9,0x01,0x55,0xE4,0x27,0xFB },
{ "RTS ", 0xD8FF,0x01,0x55,0xE4,0x27,0xFB },
{ "JSR $D900 ", 0xC618,0x01,0x55,0xE4,0x27,0xFD },
{ "LDA #$A3 ", 0xD900,0x01,0x55,0xE4,0x27,0xFB },
{ "STA $33 = 00 ", 0xD902,0xA3,0x55,0xE4,0xA5,0xFB },
{ "LDA #$89 ", 0xD904,0xA3,0x55,0xE4,0xA5,0xFB },
{ "STA $0300 = 70 ", 0xD906,0x89,0x55,0xE4,0xA5,0xFB },
{ "LDA #$12 ", 0xD909,0x89,0x55,0xE4,0xA5,0xFB },
{ "STA $0245 = 00 ", 0xD90B,0x12,0x55,0xE4,0x25,0xFB },
{ "LDA #$FF ", 0xD90E,0x12,0x55,0xE4,0x25,0xFB },
{ "STA $01 = FF ", 0xD910,0xFF,0x55,0xE4,0xA5,0xFB },
{ "LDX #$65 ", 0xD912,0xFF,0x55,0xE4,0xA5,0xFB },
{ "LDA #$00 ", 0xD914,0xFF,0x65,0xE4,0x25,0xFB },
{ "STA $89 = 00 ", 0xD916,0x00,0x65,0xE4,0x27,0xFB },
{ "LDA #$03 ", 0xD918,0x00,0x65,0xE4,0x27,0xFB },
{ "STA $8A = 00 ", 0xD91A,0x03,0x65,0xE4,0x25,0xFB },
{ "LDY #$00 ", 0xD91C,0x03,0x65,0xE4,0x25,0xFB },
{ "SEC ", 0xD91E,0x03,0x65,0x00,0x27,0xFB },
{ "LDA #$00 ", 0xD91F,0x03,0x65,0x00,0x27,0xFB },
{ "CLV ", 0xD921,0x00,0x65,0x00,0x27,0xFB },
{ "LDA ($89),Y = 0300 @ 0300 = 89 ", 0xD922,0x00,0x65,0x00,0x27,0xFB },
{ "BEQ $D932 ", 0xD924,0x89,0x65,0x00,0xA5,0xFB },
{ "BCC $D932 ", 0xD926,0x89,0x65,0x00,0xA5,0xFB },
{ "BVS $D932 ", 0xD928,0x89,0x65,0x00,0xA5,0xFB },
{ "CMP #$89 ", 0xD92A,0x89,0x65,0x00,0xA5,0xFB },
{ "BNE $D932 ", 0xD92C,0x89,0x65,0x00,0x27,0xFB },
{ "CPX #$65 ", 0xD92E,0x89,0x65,0x00,0x27,0xFB },
{ "BEQ $D936 ", 0xD930,0x89,0x65,0x00,0x27,0xFB },
{ "LDA #$FF ", 0xD936,0x89,0x65,0x00,0x27,0xFB },
{ "STA $97 = 00 ", 0xD938,0xFF,0x65,0x00,0xA5,0xFB },
{ "STA $98 = 00 ", 0xD93A,0xFF,0x65,0x00,0xA5,0xFB },
{ "BIT $98 = FF ", 0xD93C,0xFF,0x65,0x00,0xA5,0xFB },
{ "LDY #$34 ", 0xD93E,0xFF,0x65,0x00,0xE5,0xFB },
{ "LDA ($97),Y = FFFF @ 0033 = A3 ", 0xD940,0xFF,0x65,0x34,0x65,0xFB },
{ "CMP #$A3 ", 0xD942,0xA3,0x65,0x34,0xE5,0xFB },
{ "BNE $D948 ", 0xD944,0xA3,0x65,0x34,0x67,0xFB },
{ "BCS $D94C ", 0xD946,0xA3,0x65,0x34,0x67,0xFB },
{ "LDA $00 = 00 ", 0xD94C,0xA3,0x65,0x34,0x67,0xFB },
{ "PHA ", 0xD94E,0x00,0x65,0x34,0x67,0xFB },
{ "LDA #$46 ", 0xD94F,0x00,0x65,0x34,0x67,0xFA },
{ "STA $FF = 00 ", 0xD951,0x46,0x65,0x34,0x65,0xFA },
{ "LDA #$01 ", 0xD953,0x46,0x65,0x34,0x65,0xFA },
{ "STA $00 = 00 ", 0xD955,0x01,0x65,0x34,0x65,0xFA },
{ "LDY #$FF ", 0xD957,0x01,0x65,0x34,0x65,0xFA },
{ "LDA ($FF),Y = 0146 @ 0245 = 12 ", 0xD959,0x01,0x65,0xFF,0xE5,0xFA },
{ "CMP #$12 ", 0xD95B,0x12,0x65,0xFF,0x65,0xFA },
{ "BEQ $D963 ", 0xD95D,0x12,0x65,0xFF,0x67,0xFA },
{ "PLA ", 0xD963,0x12,0x65,0xFF,0x67,0xFA },
{ "STA $00 = 01 ", 0xD964,0x00,0x65,0xFF,0x67,0xFB },
{ "LDX #$ED ", 0xD966,0x00,0x65,0xFF,0x67,0xFB },
{ "LDA #$00 ", 0xD968,0x00,0xED,0xFF,0xE5,0xFB },
{ "STA $33 = A3 ", 0xD96A,0x00,0xED,0xFF,0x67,0xFB },
{ "LDA #$04 ", 0xD96C,0x00,0xED,0xFF,0x67,0xFB },
{ "STA $34 = 00 ", 0xD96E,0x04,0xED,0xFF,0x65,0xFB },
{ "LDY #$00 ", 0xD970,0x04,0xED,0xFF,0x65,0xFB },
{ "CLC ", 0xD972,0x04,0xED,0x00,0x67,0xFB },
{ "LDA #$FF ", 0xD973,0x04,0xED,0x00,0x66,0xFB },
{ "STA $01 = FF ", 0xD975,0xFF,0xED,0x00,0xE4,0xFB },
{ "BIT $01 = FF ", 0xD977,0xFF,0xED,0x00,0xE4,0xFB },
{ "LDA #$AA ", 0xD979,0xFF,0xED,0x00,0xE4,0xFB },
{ "STA $0400 = AD ", 0xD97B,0xAA,0xED,0x00,0xE4,0xFB },
{ "LDA #$55 ", 0xD97E,0xAA,0xED,0x00,0xE4,0xFB },
{ "ORA ($33),Y = 0400 @ 0400 = AA ", 0xD980,0x55,0xED,0x00,0x64,0xFB },
{ "BCS $D98C ", 0xD982,0xFF,0xED,0x00,0xE4,0xFB },
{ "BPL $D98C ", 0xD984,0xFF,0xED,0x00,0xE4,0xFB },
{ "CMP #$FF ", 0xD986,0xFF,0xED,0x00,0xE4,0xFB },
{ "BNE $D98C ", 0xD988,0xFF,0xED,0x00,0x67,0xFB },
{ "BVS $D98E ", 0xD98A,0xFF,0xED,0x00,0x67,0xFB },
{ "INX ", 0xD98E,0xFF,0xED,0x00,0x67,0xFB },
{ "SEC ", 0xD98F,0xFF,0xEE,0x00,0xE5,0xFB },
{ "CLV ", 0xD990,0xFF,0xEE,0x00,0xE5,0xFB },
{ "LDA #$00 ", 0xD991,0xFF,0xEE,0x00,0xA5,0xFB },
{ "ORA ($33),Y = 0400 @ 0400 = AA ", 0xD993,0x00,0xEE,0x00,0x27,0xFB },
{ "BEQ $D99D ", 0xD995,0xAA,0xEE,0x00,0xA5,0xFB },
{ "BVS $D99D ", 0xD997,0xAA,0xEE,0x00,0xA5,0xFB },
{ "BCC $D99D ", 0xD999,0xAA,0xEE,0x00,0xA5,0xFB },
{ "BMI $D99F ", 0xD99B,0xAA,0xEE,0x00,0xA5,0xFB },
{ "INX ", 0xD99F,0xAA,0xEE,0x00,0xA5,0xFB },
{ "CLC ", 0xD9A0,0xAA,0xEF,0x00,0xA5,0xFB },
{ "BIT $01 = FF ", 0xD9A1,0xAA,0xEF,0x00,0xA4,0xFB },
{ "LDA #$55 ", 0xD9A3,0xAA,0xEF,0x00,0xE4,0xFB },
{ "AND ($33),Y = 0400 @ 0400 = AA ", 0xD9A5,0x55,0xEF,0x00,0x64,0xFB },
{ "BNE $D9AF ", 0xD9A7,0x00,0xEF,0x00,0x66,0xFB },
{ "BVC $D9AF ", 0xD9A9,0x00,0xEF,0x00,0x66,0xFB },
{ "BCS $D9AF ", 0xD9AB,0x00,0xEF,0x00,0x66,0xFB },
{ "BPL $D9B1 ", 0xD9AD,0x00,0xEF,0x00,0x66,0xFB },
{ "INX ", 0xD9B1,0x00,0xEF,0x00,0x66,0xFB },
{ "SEC ", 0xD9B2,0x00,0xF0,0x00,0xE4,0xFB },
{ "CLV ", 0xD9B3,0x00,0xF0,0x00,0xE5,0xFB },
{ "LDA #$EF ", 0xD9B4,0x00,0xF0,0x00,0xA5,0xFB },
{ "STA $0400 = AA ", 0xD9B6,0xEF,0xF0,0x00,0xA5,0xFB },
{ "LDA #$F8 ", 0xD9B9,0xEF,0xF0,0x00,0xA5,0xFB },
{ "AND ($33),Y = 0400 @ 0400 = EF ", 0xD9BB,0xF8,0xF0,0x00,0xA5,0xFB },
{ "BCC $D9C7 ", 0xD9BD,0xE8,0xF0,0x00,0xA5,0xFB },
{ "BPL $D9C7 ", 0xD9BF,0xE8,0xF0,0x00,0xA5,0xFB },
{ "CMP #$E8 ", 0xD9C1,0xE8,0xF0,0x00,0xA5,0xFB },
{ "BNE $D9C7 ", 0xD9C3,0xE8,0xF0,0x00,0x27,0xFB },
{ "BVC $D9C9 ", 0xD9C5,0xE8,0xF0,0x00,0x27,0xFB },
{ "INX ", 0xD9C9,0xE8,0xF0,0x00,0x27,0xFB },
{ "CLC ", 0xD9CA,0xE8,0xF1,0x00,0xA5,0xFB },
{ "BIT $01 = FF ", 0xD9CB,0xE8,0xF1,0x00,0xA4,0xFB },
{ "LDA #$AA ", 0xD9CD,0xE8,0xF1,0x00,0xE4,0xFB },
{ "STA $0400 = EF ", 0xD9CF,0xAA,0xF1,0x00,0xE4,0xFB },
{ "LDA #$5F ", 0xD9D2,0xAA,0xF1,0x00,0xE4,0xFB },
{ "EOR ($33),Y = 0400 @ 0400 = AA ", 0xD9D4,0x5F,0xF1,0x00,0x64,0xFB },
{ "BCS $D9E0 ", 0xD9D6,0xF5,0xF1,0x00,0xE4,0xFB },
{ "BPL $D9E0 ", 0xD9D8,0xF5,0xF1,0x00,0xE4,0xFB },
{ "CMP #$F5 ", 0xD9DA,0xF5,0xF1,0x00,0xE4,0xFB },
{ "BNE $D9E0 ", 0xD9DC,0xF5,0xF1,0x00,0x67,0xFB },
{ "BVS $D9E2 ", 0xD9DE,0xF5,0xF1,0x00,0x67,0xFB },
{ "INX ", 0xD9E2,0xF5,0xF1,0x00,0x67,0xFB },
{ "SEC ", 0xD9E3,0xF5,0xF2,0x00,0xE5,0xFB },
{ "CLV ", 0xD9E4,0xF5,0xF2,0x00,0xE5,0xFB },
{ "LDA #$70 ", 0xD9E5,0xF5,0xF2,0x00,0xA5,0xFB },
{ "STA $0400 = AA ", 0xD9E7,0x70,0xF2,0x00,0x25,0xFB },
{ "EOR ($33),Y = 0400 @ 0400 = 70 ", 0xD9EA,0x70,0xF2,0x00,0x25,0xFB },
{ "BNE $D9F4 ", 0xD9EC,0x00,0xF2,0x00,0x27,0xFB },
{ "BVS $D9F4 ", 0xD9EE,0x00,0xF2,0x00,0x27,0xFB },
{ "BCC $D9F4 ", 0xD9F0,0x00,0xF2,0x00,0x27,0xFB },
{ "BPL $D9F6 ", 0xD9F2,0x00,0xF2,0x00,0x27,0xFB },
{ "INX ", 0xD9F6,0x00,0xF2,0x00,0x27,0xFB },
{ "CLC ", 0xD9F7,0x00,0xF3,0x00,0xA5,0xFB },
{ "BIT $01 = FF ", 0xD9F8,0x00,0xF3,0x00,0xA4,0xFB },
{ "LDA #$69 ", 0xD9FA,0x00,0xF3,0x00,0xE6,0xFB },
{ "STA $0400 = 70 ", 0xD9FC,0x69,0xF3,0x00,0x64,0xFB },
{ "LDA #$00 ", 0xD9FF,0x69,0xF3,0x00,0x64,0xFB },
{ "ADC ($33),Y = 0400 @ 0400 = 69 ", 0xDA01,0x00,0xF3,0x00,0x66,0xFB },
{ "BMI $DA0D ", 0xDA03,0x69,0xF3,0x00,0x24,0xFB },
{ "BCS $DA0D ", 0xDA05,0x69,0xF3,0x00,0x24,0xFB },
{ "CMP #$69 ", 0xDA07,0x69,0xF3,0x00,0x24,0xFB },
{ "BNE $DA0D ", 0xDA09,0x69,0xF3,0x00,0x27,0xFB },
{ "BVC $DA0F ", 0xDA0B,0x69,0xF3,0x00,0x27,0xFB },
{ "INX ", 0xDA0F,0x69,0xF3,0x00,0x27,0xFB },
{ "SEC ", 0xDA10,0x69,0xF4,0x00,0xA5,0xFB },
{ "BIT $01 = FF ", 0xDA11,0x69,0xF4,0x00,0xA5,0xFB },
{ "LDA #$00 ", 0xDA13,0x69,0xF4,0x00,0xE5,0xFB },
{ "ADC ($33),Y = 0400 @ 0400 = 69 ", 0xDA15,0x00,0xF4,0x00,0x67,0xFB },
{ "BMI $DA21 ", 0xDA17,0x6A,0xF4,0x00,0x24,0xFB },
{ "BCS $DA21 ", 0xDA19,0x6A,0xF4,0x00,0x24,0xFB },
{ "CMP #$6A ", 0xDA1B,0x6A,0xF4,0x00,0x24,0xFB },
{ "BNE $DA21 ", 0xDA1D,0x6A,0xF4,0x00,0x27,0xFB },
{ "BVC $DA23 ", 0xDA1F,0x6A,0xF4,0x00,0x27,0xFB },
{ "INX ", 0xDA23,0x6A,0xF4,0x00,0x27,0xFB },
{ "SEC ", 0xDA24,0x6A,0xF5,0x00,0xA5,0xFB },
{ "CLV ", 0xDA25,0x6A,0xF5,0x00,0xA5,0xFB },
{ "LDA #$7F ", 0xDA26,0x6A,0xF5,0x00,0xA5,0xFB },
{ "STA $0400 = 69 ", 0xDA28,0x7F,0xF5,0x00,0x25,0xFB },
{ "ADC ($33),Y = 0400 @ 0400 = 7F ", 0xDA2B,0x7F,0xF5,0x00,0x25,0xFB },
{ "BPL $DA37 ", 0xDA2D,0xFF,0xF5,0x00,0xE4,0xFB },
{ "BCS $DA37 ", 0xDA2F,0xFF,0xF5,0x00,0xE4,0xFB },
{ "CMP #$FF ", 0xDA31,0xFF,0xF5,0x00,0xE4,0xFB },
{ "BNE $DA37 ", 0xDA33,0xFF,0xF5,0x00,0x67,0xFB },
{ "BVS $DA39 ", 0xDA35,0xFF,0xF5,0x00,0x67,0xFB },
{ "INX ", 0xDA39,0xFF,0xF5,0x00,0x67,0xFB },
{ "CLC ", 0xDA3A,0xFF,0xF6,0x00,0xE5,0xFB },
{ "BIT $01 = FF ", 0xDA3B,0xFF,0xF6,0x00,0xE4,0xFB },
{ "LDA #$80 ", 0xDA3D,0xFF,0xF6,0x00,0xE4,0xFB },
{ "STA $0400 = 7F ", 0xDA3F,0x80,0xF6,0x00,0xE4,0xFB },
{ "LDA #$7F ", 0xDA42,0x80,0xF6,0x00,0xE4,0xFB },
{ "ADC ($33),Y = 0400 @ 0400 = 80 ", 0xDA44,0x7F,0xF6,0x00,0x64,0xFB },
{ "BPL $DA50 ", 0xDA46,0xFF,0xF6,0x00,0xA4,0xFB },
{ "BCS $DA50 ", 0xDA48,0xFF,0xF6,0x00,0xA4,0xFB },
{ "CMP #$FF ", 0xDA4A,0xFF,0xF6,0x00,0xA4,0xFB },
{ "BNE $DA50 ", 0xDA4C,0xFF,0xF6,0x00,0x27,0xFB },
{ "BVC $DA52 ", 0xDA4E,0xFF,0xF6,0x00,0x27,0xFB },
{ "INX ", 0xDA52,0xFF,0xF6,0x00,0x27,0xFB },
{ "SEC ", 0xDA53,0xFF,0xF7,0x00,0xA5,0xFB },
{ "CLV ", 0xDA54,0xFF,0xF7,0x00,0xA5,0xFB },
{ "LDA #$80 ", 0xDA55,0xFF,0xF7,0x00,0xA5,0xFB },
{ "STA $0400 = 80 ", 0xDA57,0x80,0xF7,0x00,0xA5,0xFB },
{ "LDA #$7F ", 0xDA5A,0x80,0xF7,0x00,0xA5,0xFB },
{ "ADC ($33),Y = 0400 @ 0400 = 80 ", 0xDA5C,0x7F,0xF7,0x00,0x25,0xFB },
{ "BNE $DA66 ", 0xDA5E,0x00,0xF7,0x00,0x27,0xFB },
{ "BMI $DA66 ", 0xDA60,0x00,0xF7,0x00,0x27,0xFB },
{ "BVS $DA66 ", 0xDA62,0x00,0xF7,0x00,0x27,0xFB },
{ "BCS $DA68 ", 0xDA64,0x00,0xF7,0x00,0x27,0xFB },
{ "INX ", 0xDA68,0x00,0xF7,0x00,0x27,0xFB },
{ "BIT $01 = FF ", 0xDA69,0x00,0xF8,0x00,0xA5,0xFB },
{ "LDA #$40 ", 0xDA6B,0x00,0xF8,0x00,0xE7,0xFB },
{ "STA $0400 = 80 ", 0xDA6D,0x40,0xF8,0x00,0x65,0xFB },
{ "CMP ($33),Y = 0400 @ 0400 = 40 ", 0xDA70,0x40,0xF8,0x00,0x65,0xFB },
{ "BMI $DA7A ", 0xDA72,0x40,0xF8,0x00,0x67,0xFB },
{ "BCC $DA7A ", 0xDA74,0x40,0xF8,0x00,0x67,0xFB },
{ "BNE $DA7A ", 0xDA76,0x40,0xF8,0x00,0x67,0xFB },
{ "BVS $DA7C ", 0xDA78,0x40,0xF8,0x00,0x67,0xFB },
{ "INX ", 0xDA7C,0x40,0xF8,0x00,0x67,0xFB },
{ "CLV ", 0xDA7D,0x40,0xF9,0x00,0xE5,0xFB },
{ "DEC $0400 = 40 ", 0xDA7E,0x40,0xF9,0x00,0xA5,0xFB },
{ "CMP ($33),Y = 0400 @ 0400 = 3F ", 0xDA81,0x40,0xF9,0x00,0x25,0xFB },
{ "BEQ $DA8B ", 0xDA83,0x40,0xF9,0x00,0x25,0xFB },
{ "BMI $DA8B ", 0xDA85,0x40,0xF9,0x00,0x25,0xFB },
{ "BCC $DA8B ", 0xDA87,0x40,0xF9,0x00,0x25,0xFB },
{ "BVC $DA8D ", 0xDA89,0x40,0xF9,0x00,0x25,0xFB },
{ "INX ", 0xDA8D,0x40,0xF9,0x00,0x25,0xFB },
{ "INC $0400 = 3F ", 0xDA8E,0x40,0xFA,0x00,0xA5,0xFB },
{ "INC $0400 = 40 ", 0xDA91,0x40,0xFA,0x00,0x25,0xFB },
{ "CMP ($33),Y = 0400 @ 0400 = 41 ", 0xDA94,0x40,0xFA,0x00,0x25,0xFB },
{ "BEQ $DA9A ", 0xDA96,0x40,0xFA,0x00,0xA4,0xFB },
{ "BMI $DA9C ", 0xDA98,0x40,0xFA,0x00,0xA4,0xFB },
{ "INX ", 0xDA9C,0x40,0xFA,0x00,0xA4,0xFB },
{ "LDA #$00 ", 0xDA9D,0x40,0xFB,0x00,0xA4,0xFB },
{ "STA $0400 = 41 ", 0xDA9F,0x00,0xFB,0x00,0x26,0xFB },
{ "LDA #$80 ", 0xDAA2,0x00,0xFB,0x00,0x26,0xFB },
{ "CMP ($33),Y = 0400 @ 0400 = 00 ", 0xDAA4,0x80,0xFB,0x00,0xA4,0xFB },
{ "BEQ $DAAC ", 0xDAA6,0x80,0xFB,0x00,0xA5,0xFB },
{ "BPL $DAAC ", 0xDAA8,0x80,0xFB,0x00,0xA5,0xFB },
{ "BCS $DAAE ", 0xDAAA,0x80,0xFB,0x00,0xA5,0xFB },
{ "INX ", 0xDAAE,0x80,0xFB,0x00,0xA5,0xFB },
{ "LDY #$80 ", 0xDAAF,0x80,0xFC,0x00,0xA5,0xFB },
{ "STY $0400 = 00 ", 0xDAB1,0x80,0xFC,0x80,0xA5,0xFB },
{ "LDY #$00 ", 0xDAB4,0x80,0xFC,0x80,0xA5,0xFB },
{ "CMP ($33),Y = 0400 @ 0400 = 80 ", 0xDAB6,0x80,0xFC,0x00,0x27,0xFB },
{ "BNE $DABE ", 0xDAB8,0x80,0xFC,0x00,0x27,0xFB },
{ "BMI $DABE ", 0xDABA,0x80,0xFC,0x00,0x27,0xFB },
{ "BCS $DAC0 ", 0xDABC,0x80,0xFC,0x00,0x27,0xFB },
{ "INX ", 0xDAC0,0x80,0xFC,0x00,0x27,0xFB },
{ "INC $0400 = 80 ", 0xDAC1,0x80,0xFD,0x00,0xA5,0xFB },
{ "CMP ($33),Y = 0400 @ 0400 = 81 ", 0xDAC4,0x80,0xFD,0x00,0xA5,0xFB },
{ "BCS $DACC ", 0xDAC6,0x80,0xFD,0x00,0xA4,0xFB },
{ "BEQ $DACC ", 0xDAC8,0x80,0xFD,0x00,0xA4,0xFB },
{ "BMI $DACE ", 0xDACA,0x80,0xFD,0x00,0xA4,0xFB },
{ "INX ", 0xDACE,0x80,0xFD,0x00,0xA4,0xFB },
{ "DEC $0400 = 81 ", 0xDACF,0x80,0xFE,0x00,0xA4,0xFB },
{ "DEC $0400 = 80 ", 0xDAD2,0x80,0xFE,0x00,0xA4,0xFB },
{ "CMP ($33),Y = 0400 @ 0400 = 7F ", 0xDAD5,0x80,0xFE,0x00,0x24,0xFB },
{ "BCC $DADD ", 0xDAD7,0x80,0xFE,0x00,0x25,0xFB },
{ "BEQ $DADD ", 0xDAD9,0x80,0xFE,0x00,0x25,0xFB },
{ "BPL $DADF ", 0xDADB,0x80,0xFE,0x00,0x25,0xFB },
{ "RTS ", 0xDADF,0x80,0xFE,0x00,0x25,0xFB },
{ "LDA $00 = 00 ", 0xC61B,0x80,0xFE,0x00,0x25,0xFD },
{ "STA $10 = 00 ", 0xC61D,0x00,0xFE,0x00,0x27,0xFD },
{ "LDA #$00 ", 0xC61F,0x00,0xFE,0x00,0x27,0xFD },
{ "STA $00 = 00 ", 0xC621,0x00,0xFE,0x00,0x27,0xFD },
{ "JSR $DAE0 ", 0xC623,0x00,0xFE,0x00,0x27,0xFD },
{ "LDA #$00 ", 0xDAE0,0x00,0xFE,0x00,0x27,0xFB },
{ "STA $33 = 00 ", 0xDAE2,0x00,0xFE,0x00,0x27,0xFB },
{ "LDA #$04 ", 0xDAE4,0x00,0xFE,0x00,0x27,0xFB },
{ "STA $34 = 04 ", 0xDAE6,0x04,0xFE,0x00,0x25,0xFB },
{ "LDY #$00 ", 0xDAE8,0x04,0xFE,0x00,0x25,0xFB },
{ "LDX #$01 ", 0xDAEA,0x04,0xFE,0x00,0x27,0xFB },
{ "BIT $01 = FF ", 0xDAEC,0x04,0x01,0x00,0x25,0xFB },
{ "LDA #$40 ", 0xDAEE,0x04,0x01,0x00,0xE5,0xFB },
{ "STA $0400 = 7F ", 0xDAF0,0x40,0x01,0x00,0x65,0xFB },
{ "SEC ", 0xDAF3,0x40,0x01,0x00,0x65,0xFB },
{ "SBC ($33),Y = 0400 @ 0400 = 40 ", 0xDAF4,0x40,0x01,0x00,0x65,0xFB },
{ "BMI $DB02 ", 0xDAF6,0x00,0x01,0x00,0x27,0xFB },
{ "BCC $DB02 ", 0xDAF8,0x00,0x01,0x00,0x27,0xFB },
{ "BNE $DB02 ", 0xDAFA,0x00,0x01,0x00,0x27,0xFB },
{ "BVS $DB02 ", 0xDAFC,0x00,0x01,0x00,0x27,0xFB },
{ "CMP #$00 ", 0xDAFE,0x00,0x01,0x00,0x27,0xFB },
{ "BEQ $DB04 ", 0xDB00,0x00,0x01,0x00,0x27,0xFB },
{ "INX ", 0xDB04,0x00,0x01,0x00,0x27,0xFB },
{ "CLV ", 0xDB05,0x00,0x02,0x00,0x25,0xFB },
{ "SEC ", 0xDB06,0x00,0x02,0x00,0x25,0xFB },
{ "LDA #$40 ", 0xDB07,0x00,0x02,0x00,0x25,0xFB },
{ "DEC $0400 = 40 ", 0xDB09,0x40,0x02,0x00,0x25,0xFB },
{ "SBC ($33),Y = 0400 @ 0400 = 3F ", 0xDB0C,0x40,0x02,0x00,0x25,0xFB },
{ "BEQ $DB1A ", 0xDB0E,0x01,0x02,0x00,0x25,0xFB },
{ "BMI $DB1A ", 0xDB10,0x01,0x02,0x00,0x25,0xFB },
{ "BCC $DB1A ", 0xDB12,0x01,0x02,0x00,0x25,0xFB },
{ "BVS $DB1A ", 0xDB14,0x01,0x02,0x00,0x25,0xFB },
{ "CMP #$01 ", 0xDB16,0x01,0x02,0x00,0x25,0xFB },
{ "BEQ $DB1C ", 0xDB18,0x01,0x02,0x00,0x27,0xFB },
{ "INX ", 0xDB1C,0x01,0x02,0x00,0x27,0xFB },
{ "LDA #$40 ", 0xDB1D,0x01,0x03,0x00,0x25,0xFB },
{ "SEC ", 0xDB1F,0x40,0x03,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xDB20,0x40,0x03,0x00,0x25,0xFB },
{ "INC $0400 = 3F ", 0xDB22,0x40,0x03,0x00,0xE5,0xFB },
{ "INC $0400 = 40 ", 0xDB25,0x40,0x03,0x00,0x65,0xFB },
{ "SBC ($33),Y = 0400 @ 0400 = 41 ", 0xDB28,0x40,0x03,0x00,0x65,0xFB },
{ "BCS $DB36 ", 0xDB2A,0xFF,0x03,0x00,0xA4,0xFB },
{ "BEQ $DB36 ", 0xDB2C,0xFF,0x03,0x00,0xA4,0xFB },
{ "BPL $DB36 ", 0xDB2E,0xFF,0x03,0x00,0xA4,0xFB },
{ "BVS $DB36 ", 0xDB30,0xFF,0x03,0x00,0xA4,0xFB },
{ "CMP #$FF ", 0xDB32,0xFF,0x03,0x00,0xA4,0xFB },
{ "BEQ $DB38 ", 0xDB34,0xFF,0x03,0x00,0x27,0xFB },
{ "INX ", 0xDB38,0xFF,0x03,0x00,0x27,0xFB },
{ "CLC ", 0xDB39,0xFF,0x04,0x00,0x25,0xFB },
{ "LDA #$00 ", 0xDB3A,0xFF,0x04,0x00,0x24,0xFB },
{ "STA $0400 = 41 ", 0xDB3C,0x00,0x04,0x00,0x26,0xFB },
{ "LDA #$80 ", 0xDB3F,0x00,0x04,0x00,0x26,0xFB },
{ "SBC ($33),Y = 0400 @ 0400 = 00 ", 0xDB41,0x80,0x04,0x00,0xA4,0xFB },
{ "BCC $DB49 ", 0xDB43,0x7F,0x04,0x00,0x65,0xFB },
{ "CMP #$7F ", 0xDB45,0x7F,0x04,0x00,0x65,0xFB },
{ "BEQ $DB4B ", 0xDB47,0x7F,0x04,0x00,0x67,0xFB },
{ "INX ", 0xDB4B,0x7F,0x04,0x00,0x67,0xFB },
{ "SEC ", 0xDB4C,0x7F,0x05,0x00,0x65,0xFB },
{ "LDA #$7F ", 0xDB4D,0x7F,0x05,0x00,0x65,0xFB },
{ "STA $0400 = 00 ", 0xDB4F,0x7F,0x05,0x00,0x65,0xFB },
{ "LDA #$81 ", 0xDB52,0x7F,0x05,0x00,0x65,0xFB },
{ "SBC ($33),Y = 0400 @ 0400 = 7F ", 0xDB54,0x81,0x05,0x00,0xE5,0xFB },
{ "BVC $DB5E ", 0xDB56,0x02,0x05,0x00,0x65,0xFB },
{ "BCC $DB5E ", 0xDB58,0x02,0x05,0x00,0x65,0xFB },
{ "CMP #$02 ", 0xDB5A,0x02,0x05,0x00,0x65,0xFB },
{ "BEQ $DB60 ", 0xDB5C,0x02,0x05,0x00,0x67,0xFB },
{ "INX ", 0xDB60,0x02,0x05,0x00,0x67,0xFB },
{ "LDA #$00 ", 0xDB61,0x02,0x06,0x00,0x65,0xFB },
{ "LDA #$87 ", 0xDB63,0x00,0x06,0x00,0x67,0xFB },
{ "STA ($33),Y = 0400 @ 0400 = 7F ", 0xDB65,0x87,0x06,0x00,0xE5,0xFB },
{ "LDA $0400 = 87 ", 0xDB67,0x87,0x06,0x00,0xE5,0xFB },
{ "CMP #$87 ", 0xDB6A,0x87,0x06,0x00,0xE5,0xFB },
{ "BEQ $DB70 ", 0xDB6C,0x87,0x06,0x00,0x67,0xFB },
{ "INX ", 0xDB70,0x87,0x06,0x00,0x67,0xFB },
{ "LDA #$7E ", 0xDB71,0x87,0x07,0x00,0x65,0xFB },
{ "STA $0200 = 7F ", 0xDB73,0x7E,0x07,0x00,0x65,0xFB },
{ "LDA #$DB ", 0xDB76,0x7E,0x07,0x00,0x65,0xFB },
{ "STA $0201 = 00 ", 0xDB78,0xDB,0x07,0x00,0xE5,0xFB },
{ "JMP ($0200) = DB7E ", 0xDB7B,0xDB,0x07,0x00,0xE5,0xFB },
{ "LDA #$00 ", 0xDB7E,0xDB,0x07,0x00,0xE5,0xFB },
{ "STA $02FF = 00 ", 0xDB80,0x00,0x07,0x00,0x67,0xFB },
{ "LDA #$01 ", 0xDB83,0x00,0x07,0x00,0x67,0xFB },
{ "STA $0300 = 89 ", 0xDB85,0x01,0x07,0x00,0x65,0xFB },
{ "LDA #$03 ", 0xDB88,0x01,0x07,0x00,0x65,0xFB },
{ "STA $0200 = 7E ", 0xDB8A,0x03,0x07,0x00,0x65,0xFB },
{ "LDA #$A9 ", 0xDB8D,0x03,0x07,0x00,0x65,0xFB },
{ "STA $0100 = 00 ", 0xDB8F,0xA9,0x07,0x00,0xE5,0xFB },
{ "LDA #$55 ", 0xDB92,0xA9,0x07,0x00,0xE5,0xFB },
{ "STA $0101 = 00 ", 0xDB94,0x55,0x07,0x00,0x65,0xFB },
{ "LDA #$60 ", 0xDB97,0x55,0x07,0x00,0x65,0xFB },
{ "STA $0102 = 00 ", 0xDB99,0x60,0x07,0x00,0x65,0xFB },
{ "LDA #$A9 ", 0xDB9C,0x60,0x07,0x00,0x65,0xFB },
{ "STA $0300 = 01 ", 0xDB9E,0xA9,0x07,0x00,0xE5,0xFB },
{ "LDA #$AA ", 0xDBA1,0xA9,0x07,0x00,0xE5,0xFB },
{ "STA $0301 = 00 ", 0xDBA3,0xAA,0x07,0x00,0xE5,0xFB },
{ "LDA #$60 ", 0xDBA6,0xAA,0x07,0x00,0xE5,0xFB },
{ "STA $0302 = 00 ", 0xDBA8,0x60,0x07,0x00,0x65,0xFB },
{ "JSR $DBB5 ", 0xDBAB,0x60,0x07,0x00,0x65,0xFB },
{ "JMP ($02FF) = 0300 ", 0xDBB5,0x60,0x07,0x00,0x65,0xF9 },
{ "LDA #$AA ", 0x0300,0x60,0x07,0x00,0x65,0xF9 },
{ "RTS ", 0x0302,0xAA,0x07,0x00,0xE5,0xF9 },
{ "CMP #$AA ", 0xDBAE,0xAA,0x07,0x00,0xE5,0xFB },
{ "BEQ $DBB4 ", 0xDBB0,0xAA,0x07,0x00,0x67,0xFB },
{ "RTS ", 0xDBB4,0xAA,0x07,0x00,0x67,0xFB },
{ "JSR $DF4A ", 0xC626,0xAA,0x07,0x00,0x67,0xFD },
{ "LDA #$89 ", 0xDF4A,0xAA,0x07,0x00,0x67,0xFB },
{ "STA $0300 = A9 ", 0xDF4C,0x89,0x07,0x00,0xE5,0xFB },
{ "LDA #$A3 ", 0xDF4F,0x89,0x07,0x00,0xE5,0xFB },
{ "STA $33 = 00 ", 0xDF51,0xA3,0x07,0x00,0xE5,0xFB },
{ "LDA #$12 ", 0xDF53,0xA3,0x07,0x00,0xE5,0xFB },
{ "STA $0245 = 12 ", 0xDF55,0x12,0x07,0x00,0x65,0xFB },
{ "LDX #$65 ", 0xDF58,0x12,0x07,0x00,0x65,0xFB },
{ "LDY #$00 ", 0xDF5A,0x12,0x65,0x00,0x65,0xFB },
{ "SEC ", 0xDF5C,0x12,0x65,0x00,0x67,0xFB },
{ "LDA #$00 ", 0xDF5D,0x12,0x65,0x00,0x67,0xFB },
{ "CLV ", 0xDF5F,0x00,0x65,0x00,0x67,0xFB },
{ "LDA $0300,Y @ 0300 = 89 ", 0xDF60,0x00,0x65,0x00,0x27,0xFB },
{ "BEQ $DF71 ", 0xDF63,0x89,0x65,0x00,0xA5,0xFB },
{ "BCC $DF71 ", 0xDF65,0x89,0x65,0x00,0xA5,0xFB },
{ "BVS $DF71 ", 0xDF67,0x89,0x65,0x00,0xA5,0xFB },
{ "CMP #$89 ", 0xDF69,0x89,0x65,0x00,0xA5,0xFB },
{ "BNE $DF71 ", 0xDF6B,0x89,0x65,0x00,0x27,0xFB },
{ "CPX #$65 ", 0xDF6D,0x89,0x65,0x00,0x27,0xFB },
{ "BEQ $DF75 ", 0xDF6F,0x89,0x65,0x00,0x27,0xFB },
{ "LDA #$FF ", 0xDF75,0x89,0x65,0x00,0x27,0xFB },
{ "STA $01 = FF ", 0xDF77,0xFF,0x65,0x00,0xA5,0xFB },
{ "BIT $01 = FF ", 0xDF79,0xFF,0x65,0x00,0xA5,0xFB },
{ "LDY #$34 ", 0xDF7B,0xFF,0x65,0x00,0xE5,0xFB },
{ "LDA $FFFF,Y @ 0033 = A3 ", 0xDF7D,0xFF,0x65,0x34,0x65,0xFB },
{ "CMP #$A3 ", 0xDF80,0xA3,0x65,0x34,0xE5,0xFB },
{ "BNE $DF86 ", 0xDF82,0xA3,0x65,0x34,0x67,0xFB },
{ "BCS $DF8A ", 0xDF84,0xA3,0x65,0x34,0x67,0xFB },
{ "LDA #$46 ", 0xDF8A,0xA3,0x65,0x34,0x67,0xFB },
{ "STA $FF = 46 ", 0xDF8C,0x46,0x65,0x34,0x65,0xFB },
{ "LDY #$FF ", 0xDF8E,0x46,0x65,0x34,0x65,0xFB },
{ "LDA $0146,Y @ 0245 = 12 ", 0xDF90,0x46,0x65,0xFF,0xE5,0xFB },
{ "CMP #$12 ", 0xDF93,0x12,0x65,0xFF,0x65,0xFB },
{ "BEQ $DF9B ", 0xDF95,0x12,0x65,0xFF,0x67,0xFB },
{ "LDX #$39 ", 0xDF9B,0x12,0x65,0xFF,0x67,0xFB },
{ "CLC ", 0xDF9D,0x12,0x39,0xFF,0x65,0xFB },
{ "LDA #$FF ", 0xDF9E,0x12,0x39,0xFF,0x64,0xFB },
{ "STA $01 = FF ", 0xDFA0,0xFF,0x39,0xFF,0xE4,0xFB },
{ "BIT $01 = FF ", 0xDFA2,0xFF,0x39,0xFF,0xE4,0xFB },
{ "LDA #$AA ", 0xDFA4,0xFF,0x39,0xFF,0xE4,0xFB },
{ "STA $0400 = 87 ", 0xDFA6,0xAA,0x39,0xFF,0xE4,0xFB },
{ "LDA #$55 ", 0xDFA9,0xAA,0x39,0xFF,0xE4,0xFB },
{ "LDY #$00 ", 0xDFAB,0x55,0x39,0xFF,0x64,0xFB },
{ "ORA $0400,Y @ 0400 = AA ", 0xDFAD,0x55,0x39,0x00,0x66,0xFB },
{ "BCS $DFBA ", 0xDFB0,0xFF,0x39,0x00,0xE4,0xFB },
{ "BPL $DFBA ", 0xDFB2,0xFF,0x39,0x00,0xE4,0xFB },
{ "CMP #$FF ", 0xDFB4,0xFF,0x39,0x00,0xE4,0xFB },
{ "BNE $DFBA ", 0xDFB6,0xFF,0x39,0x00,0x67,0xFB },
{ "BVS $DFBC ", 0xDFB8,0xFF,0x39,0x00,0x67,0xFB },
{ "INX ", 0xDFBC,0xFF,0x39,0x00,0x67,0xFB },
{ "SEC ", 0xDFBD,0xFF,0x3A,0x00,0x65,0xFB },
{ "CLV ", 0xDFBE,0xFF,0x3A,0x00,0x65,0xFB },
{ "LDA #$00 ", 0xDFBF,0xFF,0x3A,0x00,0x25,0xFB },
{ "ORA $0400,Y @ 0400 = AA ", 0xDFC1,0x00,0x3A,0x00,0x27,0xFB },
{ "BEQ $DFCC ", 0xDFC4,0xAA,0x3A,0x00,0xA5,0xFB },
{ "BVS $DFCC ", 0xDFC6,0xAA,0x3A,0x00,0xA5,0xFB },
{ "BCC $DFCC ", 0xDFC8,0xAA,0x3A,0x00,0xA5,0xFB },
{ "BMI $DFCE ", 0xDFCA,0xAA,0x3A,0x00,0xA5,0xFB },
{ "INX ", 0xDFCE,0xAA,0x3A,0x00,0xA5,0xFB },
{ "CLC ", 0xDFCF,0xAA,0x3B,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xDFD0,0xAA,0x3B,0x00,0x24,0xFB },
{ "LDA #$55 ", 0xDFD2,0xAA,0x3B,0x00,0xE4,0xFB },
{ "AND $0400,Y @ 0400 = AA ", 0xDFD4,0x55,0x3B,0x00,0x64,0xFB },
{ "BNE $DFDF ", 0xDFD7,0x00,0x3B,0x00,0x66,0xFB },
{ "BVC $DFDF ", 0xDFD9,0x00,0x3B,0x00,0x66,0xFB },
{ "BCS $DFDF ", 0xDFDB,0x00,0x3B,0x00,0x66,0xFB },
{ "BPL $DFE1 ", 0xDFDD,0x00,0x3B,0x00,0x66,0xFB },
{ "INX ", 0xDFE1,0x00,0x3B,0x00,0x66,0xFB },
{ "SEC ", 0xDFE2,0x00,0x3C,0x00,0x64,0xFB },
{ "CLV ", 0xDFE3,0x00,0x3C,0x00,0x65,0xFB },
{ "LDA #$EF ", 0xDFE4,0x00,0x3C,0x00,0x25,0xFB },
{ "STA $0400 = AA ", 0xDFE6,0xEF,0x3C,0x00,0xA5,0xFB },
{ "LDA #$F8 ", 0xDFE9,0xEF,0x3C,0x00,0xA5,0xFB },
{ "AND $0400,Y @ 0400 = EF ", 0xDFEB,0xF8,0x3C,0x00,0xA5,0xFB },
{ "BCC $DFF8 ", 0xDFEE,0xE8,0x3C,0x00,0xA5,0xFB },
{ "BPL $DFF8 ", 0xDFF0,0xE8,0x3C,0x00,0xA5,0xFB },
{ "CMP #$E8 ", 0xDFF2,0xE8,0x3C,0x00,0xA5,0xFB },
{ "BNE $DFF8 ", 0xDFF4,0xE8,0x3C,0x00,0x27,0xFB },
{ "BVC $DFFA ", 0xDFF6,0xE8,0x3C,0x00,0x27,0xFB },
{ "INX ", 0xDFFA,0xE8,0x3C,0x00,0x27,0xFB },
{ "CLC ", 0xDFFB,0xE8,0x3D,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xDFFC,0xE8,0x3D,0x00,0x24,0xFB },
{ "LDA #$AA ", 0xDFFE,0xE8,0x3D,0x00,0xE4,0xFB },
{ "STA $0400 = EF ", 0xE000,0xAA,0x3D,0x00,0xE4,0xFB },
{ "LDA #$5F ", 0xE003,0xAA,0x3D,0x00,0xE4,0xFB },
{ "EOR $0400,Y @ 0400 = AA ", 0xE005,0x5F,0x3D,0x00,0x64,0xFB },
{ "BCS $E012 ", 0xE008,0xF5,0x3D,0x00,0xE4,0xFB },
{ "BPL $E012 ", 0xE00A,0xF5,0x3D,0x00,0xE4,0xFB },
{ "CMP #$F5 ", 0xE00C,0xF5,0x3D,0x00,0xE4,0xFB },
{ "BNE $E012 ", 0xE00E,0xF5,0x3D,0x00,0x67,0xFB },
{ "BVS $E014 ", 0xE010,0xF5,0x3D,0x00,0x67,0xFB },
{ "INX ", 0xE014,0xF5,0x3D,0x00,0x67,0xFB },
{ "SEC ", 0xE015,0xF5,0x3E,0x00,0x65,0xFB },
{ "CLV ", 0xE016,0xF5,0x3E,0x00,0x65,0xFB },
{ "LDA #$70 ", 0xE017,0xF5,0x3E,0x00,0x25,0xFB },
{ "STA $0400 = AA ", 0xE019,0x70,0x3E,0x00,0x25,0xFB },
{ "EOR $0400,Y @ 0400 = 70 ", 0xE01C,0x70,0x3E,0x00,0x25,0xFB },
{ "BNE $E027 ", 0xE01F,0x00,0x3E,0x00,0x27,0xFB },
{ "BVS $E027 ", 0xE021,0x00,0x3E,0x00,0x27,0xFB },
{ "BCC $E027 ", 0xE023,0x00,0x3E,0x00,0x27,0xFB },
{ "BPL $E029 ", 0xE025,0x00,0x3E,0x00,0x27,0xFB },
{ "INX ", 0xE029,0x00,0x3E,0x00,0x27,0xFB },
{ "CLC ", 0xE02A,0x00,0x3F,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xE02B,0x00,0x3F,0x00,0x24,0xFB },
{ "LDA #$69 ", 0xE02D,0x00,0x3F,0x00,0xE6,0xFB },
{ "STA $0400 = 70 ", 0xE02F,0x69,0x3F,0x00,0x64,0xFB },
{ "LDA #$00 ", 0xE032,0x69,0x3F,0x00,0x64,0xFB },
{ "ADC $0400,Y @ 0400 = 69 ", 0xE034,0x00,0x3F,0x00,0x66,0xFB },
{ "BMI $E041 ", 0xE037,0x69,0x3F,0x00,0x24,0xFB },
{ "BCS $E041 ", 0xE039,0x69,0x3F,0x00,0x24,0xFB },
{ "CMP #$69 ", 0xE03B,0x69,0x3F,0x00,0x24,0xFB },
{ "BNE $E041 ", 0xE03D,0x69,0x3F,0x00,0x27,0xFB },
{ "BVC $E043 ", 0xE03F,0x69,0x3F,0x00,0x27,0xFB },
{ "INX ", 0xE043,0x69,0x3F,0x00,0x27,0xFB },
{ "SEC ", 0xE044,0x69,0x40,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xE045,0x69,0x40,0x00,0x25,0xFB },
{ "LDA #$00 ", 0xE047,0x69,0x40,0x00,0xE5,0xFB },
{ "ADC $0400,Y @ 0400 = 69 ", 0xE049,0x00,0x40,0x00,0x67,0xFB },
{ "BMI $E056 ", 0xE04C,0x6A,0x40,0x00,0x24,0xFB },
{ "BCS $E056 ", 0xE04E,0x6A,0x40,0x00,0x24,0xFB },
{ "CMP #$6A ", 0xE050,0x6A,0x40,0x00,0x24,0xFB },
{ "BNE $E056 ", 0xE052,0x6A,0x40,0x00,0x27,0xFB },
{ "BVC $E058 ", 0xE054,0x6A,0x40,0x00,0x27,0xFB },
{ "INX ", 0xE058,0x6A,0x40,0x00,0x27,0xFB },
{ "SEC ", 0xE059,0x6A,0x41,0x00,0x25,0xFB },
{ "CLV ", 0xE05A,0x6A,0x41,0x00,0x25,0xFB },
{ "LDA #$7F ", 0xE05B,0x6A,0x41,0x00,0x25,0xFB },
{ "STA $0400 = 69 ", 0xE05D,0x7F,0x41,0x00,0x25,0xFB },
{ "ADC $0400,Y @ 0400 = 7F ", 0xE060,0x7F,0x41,0x00,0x25,0xFB },
{ "BPL $E06D ", 0xE063,0xFF,0x41,0x00,0xE4,0xFB },
{ "BCS $E06D ", 0xE065,0xFF,0x41,0x00,0xE4,0xFB },
{ "CMP #$FF ", 0xE067,0xFF,0x41,0x00,0xE4,0xFB },
{ "BNE $E06D ", 0xE069,0xFF,0x41,0x00,0x67,0xFB },
{ "BVS $E06F ", 0xE06B,0xFF,0x41,0x00,0x67,0xFB },
{ "INX ", 0xE06F,0xFF,0x41,0x00,0x67,0xFB },
{ "CLC ", 0xE070,0xFF,0x42,0x00,0x65,0xFB },
{ "BIT $01 = FF ", 0xE071,0xFF,0x42,0x00,0x64,0xFB },
{ "LDA #$80 ", 0xE073,0xFF,0x42,0x00,0xE4,0xFB },
{ "STA $0400 = 7F ", 0xE075,0x80,0x42,0x00,0xE4,0xFB },
{ "LDA #$7F ", 0xE078,0x80,0x42,0x00,0xE4,0xFB },
{ "ADC $0400,Y @ 0400 = 80 ", 0xE07A,0x7F,0x42,0x00,0x64,0xFB },
{ "BPL $E087 ", 0xE07D,0xFF,0x42,0x00,0xA4,0xFB },
{ "BCS $E087 ", 0xE07F,0xFF,0x42,0x00,0xA4,0xFB },
{ "CMP #$FF ", 0xE081,0xFF,0x42,0x00,0xA4,0xFB },
{ "BNE $E087 ", 0xE083,0xFF,0x42,0x00,0x27,0xFB },
{ "BVC $E089 ", 0xE085,0xFF,0x42,0x00,0x27,0xFB },
{ "INX ", 0xE089,0xFF,0x42,0x00,0x27,0xFB },
{ "SEC ", 0xE08A,0xFF,0x43,0x00,0x25,0xFB },
{ "CLV ", 0xE08B,0xFF,0x43,0x00,0x25,0xFB },
{ "LDA #$80 ", 0xE08C,0xFF,0x43,0x00,0x25,0xFB },
{ "STA $0400 = 80 ", 0xE08E,0x80,0x43,0x00,0xA5,0xFB },
{ "LDA #$7F ", 0xE091,0x80,0x43,0x00,0xA5,0xFB },
{ "ADC $0400,Y @ 0400 = 80 ", 0xE093,0x7F,0x43,0x00,0x25,0xFB },
{ "BNE $E09E ", 0xE096,0x00,0x43,0x00,0x27,0xFB },
{ "BMI $E09E ", 0xE098,0x00,0x43,0x00,0x27,0xFB },
{ "BVS $E09E ", 0xE09A,0x00,0x43,0x00,0x27,0xFB },
{ "BCS $E0A0 ", 0xE09C,0x00,0x43,0x00,0x27,0xFB },
{ "INX ", 0xE0A0,0x00,0x43,0x00,0x27,0xFB },
{ "BIT $01 = FF ", 0xE0A1,0x00,0x44,0x00,0x25,0xFB },
{ "LDA #$40 ", 0xE0A3,0x00,0x44,0x00,0xE7,0xFB },
{ "STA $0400 = 80 ", 0xE0A5,0x40,0x44,0x00,0x65,0xFB },
{ "CMP $0400,Y @ 0400 = 40 ", 0xE0A8,0x40,0x44,0x00,0x65,0xFB },
{ "BMI $E0B3 ", 0xE0AB,0x40,0x44,0x00,0x67,0xFB },
{ "BCC $E0B3 ", 0xE0AD,0x40,0x44,0x00,0x67,0xFB },
{ "BNE $E0B3 ", 0xE0AF,0x40,0x44,0x00,0x67,0xFB },
{ "BVS $E0B5 ", 0xE0B1,0x40,0x44,0x00,0x67,0xFB },
{ "INX ", 0xE0B5,0x40,0x44,0x00,0x67,0xFB },
{ "CLV ", 0xE0B6,0x40,0x45,0x00,0x65,0xFB },
{ "DEC $0400 = 40 ", 0xE0B7,0x40,0x45,0x00,0x25,0xFB },
{ "CMP $0400,Y @ 0400 = 3F ", 0xE0BA,0x40,0x45,0x00,0x25,0xFB },
{ "BEQ $E0C5 ", 0xE0BD,0x40,0x45,0x00,0x25,0xFB },
{ "BMI $E0C5 ", 0xE0BF,0x40,0x45,0x00,0x25,0xFB },
{ "BCC $E0C5 ", 0xE0C1,0x40,0x45,0x00,0x25,0xFB },
{ "BVC $E0C7 ", 0xE0C3,0x40,0x45,0x00,0x25,0xFB },
{ "INX ", 0xE0C7,0x40,0x45,0x00,0x25,0xFB },
{ "INC $0400 = 3F ", 0xE0C8,0x40,0x46,0x00,0x25,0xFB },
{ "INC $0400 = 40 ", 0xE0CB,0x40,0x46,0x00,0x25,0xFB },
{ "CMP $0400,Y @ 0400 = 41 ", 0xE0CE,0x40,0x46,0x00,0x25,0xFB },
{ "BEQ $E0D5 ", 0xE0D1,0x40,0x46,0x00,0xA4,0xFB },
{ "BMI $E0D7 ", 0xE0D3,0x40,0x46,0x00,0xA4,0xFB },
{ "INX ", 0xE0D7,0x40,0x46,0x00,0xA4,0xFB },
{ "LDA #$00 ", 0xE0D8,0x40,0x47,0x00,0x24,0xFB },
{ "STA $0400 = 41 ", 0xE0DA,0x00,0x47,0x00,0x26,0xFB },
{ "LDA #$80 ", 0xE0DD,0x00,0x47,0x00,0x26,0xFB },
{ "CMP $0400,Y @ 0400 = 00 ", 0xE0DF,0x80,0x47,0x00,0xA4,0xFB },
{ "BEQ $E0E8 ", 0xE0E2,0x80,0x47,0x00,0xA5,0xFB },
{ "BPL $E0E8 ", 0xE0E4,0x80,0x47,0x00,0xA5,0xFB },
{ "BCS $E0EA ", 0xE0E6,0x80,0x47,0x00,0xA5,0xFB },
{ "INX ", 0xE0EA,0x80,0x47,0x00,0xA5,0xFB },
{ "LDY #$80 ", 0xE0EB,0x80,0x48,0x00,0x25,0xFB },
{ "STY $0400 = 00 ", 0xE0ED,0x80,0x48,0x80,0xA5,0xFB },
{ "LDY #$00 ", 0xE0F0,0x80,0x48,0x80,0xA5,0xFB },
{ "CMP $0400,Y @ 0400 = 80 ", 0xE0F2,0x80,0x48,0x00,0x27,0xFB },
{ "BNE $E0FB ", 0xE0F5,0x80,0x48,0x00,0x27,0xFB },
{ "BMI $E0FB ", 0xE0F7,0x80,0x48,0x00,0x27,0xFB },
{ "BCS $E0FD ", 0xE0F9,0x80,0x48,0x00,0x27,0xFB },
{ "INX ", 0xE0FD,0x80,0x48,0x00,0x27,0xFB },
{ "INC $0400 = 80 ", 0xE0FE,0x80,0x49,0x00,0x25,0xFB },
{ "CMP $0400,Y @ 0400 = 81 ", 0xE101,0x80,0x49,0x00,0xA5,0xFB },
{ "BCS $E10A ", 0xE104,0x80,0x49,0x00,0xA4,0xFB },
{ "BEQ $E10A ", 0xE106,0x80,0x49,0x00,0xA4,0xFB },
{ "BMI $E10C ", 0xE108,0x80,0x49,0x00,0xA4,0xFB },
{ "INX ", 0xE10C,0x80,0x49,0x00,0xA4,0xFB },
{ "DEC $0400 = 81 ", 0xE10D,0x80,0x4A,0x00,0x24,0xFB },
{ "DEC $0400 = 80 ", 0xE110,0x80,0x4A,0x00,0xA4,0xFB },
{ "CMP $0400,Y @ 0400 = 7F ", 0xE113,0x80,0x4A,0x00,0x24,0xFB },
{ "BCC $E11C ", 0xE116,0x80,0x4A,0x00,0x25,0xFB },
{ "BEQ $E11C ", 0xE118,0x80,0x4A,0x00,0x25,0xFB },
{ "BPL $E11E ", 0xE11A,0x80,0x4A,0x00,0x25,0xFB },
{ "INX ", 0xE11E,0x80,0x4A,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xE11F,0x80,0x4B,0x00,0x25,0xFB },
{ "LDA #$40 ", 0xE121,0x80,0x4B,0x00,0xE5,0xFB },
{ "STA $0400 = 7F ", 0xE123,0x40,0x4B,0x00,0x65,0xFB },
{ "SEC ", 0xE126,0x40,0x4B,0x00,0x65,0xFB },
{ "SBC $0400,Y @ 0400 = 40 ", 0xE127,0x40,0x4B,0x00,0x65,0xFB },
{ "BMI $E136 ", 0xE12A,0x00,0x4B,0x00,0x27,0xFB },
{ "BCC $E136 ", 0xE12C,0x00,0x4B,0x00,0x27,0xFB },
{ "BNE $E136 ", 0xE12E,0x00,0x4B,0x00,0x27,0xFB },
{ "BVS $E136 ", 0xE130,0x00,0x4B,0x00,0x27,0xFB },
{ "CMP #$00 ", 0xE132,0x00,0x4B,0x00,0x27,0xFB },
{ "BEQ $E138 ", 0xE134,0x00,0x4B,0x00,0x27,0xFB },
{ "INX ", 0xE138,0x00,0x4B,0x00,0x27,0xFB },
{ "CLV ", 0xE139,0x00,0x4C,0x00,0x25,0xFB },
{ "SEC ", 0xE13A,0x00,0x4C,0x00,0x25,0xFB },
{ "LDA #$40 ", 0xE13B,0x00,0x4C,0x00,0x25,0xFB },
{ "DEC $0400 = 40 ", 0xE13D,0x40,0x4C,0x00,0x25,0xFB },
{ "SBC $0400,Y @ 0400 = 3F ", 0xE140,0x40,0x4C,0x00,0x25,0xFB },
{ "BEQ $E14F ", 0xE143,0x01,0x4C,0x00,0x25,0xFB },
{ "BMI $E14F ", 0xE145,0x01,0x4C,0x00,0x25,0xFB },
{ "BCC $E14F ", 0xE147,0x01,0x4C,0x00,0x25,0xFB },
{ "BVS $E14F ", 0xE149,0x01,0x4C,0x00,0x25,0xFB },
{ "CMP #$01 ", 0xE14B,0x01,0x4C,0x00,0x25,0xFB },
{ "BEQ $E151 ", 0xE14D,0x01,0x4C,0x00,0x27,0xFB },
{ "INX ", 0xE151,0x01,0x4C,0x00,0x27,0xFB },
{ "LDA #$40 ", 0xE152,0x01,0x4D,0x00,0x25,0xFB },
{ "SEC ", 0xE154,0x40,0x4D,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xE155,0x40,0x4D,0x00,0x25,0xFB },
{ "INC $0400 = 3F ", 0xE157,0x40,0x4D,0x00,0xE5,0xFB },
{ "INC $0400 = 40 ", 0xE15A,0x40,0x4D,0x00,0x65,0xFB },
{ "SBC $0400,Y @ 0400 = 41 ", 0xE15D,0x40,0x4D,0x00,0x65,0xFB },
{ "BCS $E16C ", 0xE160,0xFF,0x4D,0x00,0xA4,0xFB },
{ "BEQ $E16C ", 0xE162,0xFF,0x4D,0x00,0xA4,0xFB },
{ "BPL $E16C ", 0xE164,0xFF,0x4D,0x00,0xA4,0xFB },
{ "BVS $E16C ", 0xE166,0xFF,0x4D,0x00,0xA4,0xFB },
{ "CMP #$FF ", 0xE168,0xFF,0x4D,0x00,0xA4,0xFB },
{ "BEQ $E16E ", 0xE16A,0xFF,0x4D,0x00,0x27,0xFB },
{ "INX ", 0xE16E,0xFF,0x4D,0x00,0x27,0xFB },
{ "CLC ", 0xE16F,0xFF,0x4E,0x00,0x25,0xFB },
{ "LDA #$00 ", 0xE170,0xFF,0x4E,0x00,0x24,0xFB },
{ "STA $0400 = 41 ", 0xE172,0x00,0x4E,0x00,0x26,0xFB },
{ "LDA #$80 ", 0xE175,0x00,0x4E,0x00,0x26,0xFB },
{ "SBC $0400,Y @ 0400 = 00 ", 0xE177,0x80,0x4E,0x00,0xA4,0xFB },
{ "BCC $E180 ", 0xE17A,0x7F,0x4E,0x00,0x65,0xFB },
{ "CMP #$7F ", 0xE17C,0x7F,0x4E,0x00,0x65,0xFB },
{ "BEQ $E182 ", 0xE17E,0x7F,0x4E,0x00,0x67,0xFB },
{ "INX ", 0xE182,0x7F,0x4E,0x00,0x67,0xFB },
{ "SEC ", 0xE183,0x7F,0x4F,0x00,0x65,0xFB },
{ "LDA #$7F ", 0xE184,0x7F,0x4F,0x00,0x65,0xFB },
{ "STA $0400 = 00 ", 0xE186,0x7F,0x4F,0x00,0x65,0xFB },
{ "LDA #$81 ", 0xE189,0x7F,0x4F,0x00,0x65,0xFB },
{ "SBC $0400,Y @ 0400 = 7F ", 0xE18B,0x81,0x4F,0x00,0xE5,0xFB },
{ "BVC $E196 ", 0xE18E,0x02,0x4F,0x00,0x65,0xFB },
{ "BCC $E196 ", 0xE190,0x02,0x4F,0x00,0x65,0xFB },
{ "CMP #$02 ", 0xE192,0x02,0x4F,0x00,0x65,0xFB },
{ "BEQ $E198 ", 0xE194,0x02,0x4F,0x00,0x67,0xFB },
{ "INX ", 0xE198,0x02,0x4F,0x00,0x67,0xFB },
{ "LDA #$00 ", 0xE199,0x02,0x50,0x00,0x65,0xFB },
{ "LDA #$87 ", 0xE19B,0x00,0x50,0x00,0x67,0xFB },
{ "STA $0400,Y @ 0400 = 7F ", 0xE19D,0x87,0x50,0x00,0xE5,0xFB },
{ "LDA $0400 = 87 ", 0xE1A0,0x87,0x50,0x00,0xE5,0xFB },
{ "CMP #$87 ", 0xE1A3,0x87,0x50,0x00,0xE5,0xFB },
{ "BEQ $E1A9 ", 0xE1A5,0x87,0x50,0x00,0x67,0xFB },
{ "RTS ", 0xE1A9,0x87,0x50,0x00,0x67,0xFB },
{ "JSR $DBB8 ", 0xC629,0x87,0x50,0x00,0x67,0xFD },
{ "LDA #$FF ", 0xDBB8,0x87,0x50,0x00,0x67,0xFB },
{ "STA $01 = FF ", 0xDBBA,0xFF,0x50,0x00,0xE5,0xFB },
{ "LDA #$AA ", 0xDBBC,0xFF,0x50,0x00,0xE5,0xFB },
{ "STA $33 = A3 ", 0xDBBE,0xAA,0x50,0x00,0xE5,0xFB },
{ "LDA #$BB ", 0xDBC0,0xAA,0x50,0x00,0xE5,0xFB },
{ "STA $89 = 00 ", 0xDBC2,0xBB,0x50,0x00,0xE5,0xFB },
{ "LDX #$00 ", 0xDBC4,0xBB,0x50,0x00,0xE5,0xFB },
{ "LDA #$66 ", 0xDBC6,0xBB,0x00,0x00,0x67,0xFB },
{ "BIT $01 = FF ", 0xDBC8,0x66,0x00,0x00,0x65,0xFB },
{ "SEC ", 0xDBCA,0x66,0x00,0x00,0xE5,0xFB },
{ "LDY #$00 ", 0xDBCB,0x66,0x00,0x00,0xE5,0xFB },
{ "LDY $33,X @ 33 = AA ", 0xDBCD,0x66,0x00,0x00,0x67,0xFB },
{ "BPL $DBE3 ", 0xDBCF,0x66,0x00,0xAA,0xE5,0xFB },
{ "BEQ $DBE3 ", 0xDBD1,0x66,0x00,0xAA,0xE5,0xFB },
{ "BVC $DBE3 ", 0xDBD3,0x66,0x00,0xAA,0xE5,0xFB },
{ "BCC $DBE3 ", 0xDBD5,0x66,0x00,0xAA,0xE5,0xFB },
{ "CMP #$66 ", 0xDBD7,0x66,0x00,0xAA,0xE5,0xFB },
{ "BNE $DBE3 ", 0xDBD9,0x66,0x00,0xAA,0x67,0xFB },
{ "CPX #$00 ", 0xDBDB,0x66,0x00,0xAA,0x67,0xFB },
{ "BNE $DBE3 ", 0xDBDD,0x66,0x00,0xAA,0x67,0xFB },
{ "CPY #$AA ", 0xDBDF,0x66,0x00,0xAA,0x67,0xFB },
{ "BEQ $DBE7 ", 0xDBE1,0x66,0x00,0xAA,0x67,0xFB },
{ "LDX #$8A ", 0xDBE7,0x66,0x00,0xAA,0x67,0xFB },
{ "LDA #$66 ", 0xDBE9,0x66,0x8A,0xAA,0xE5,0xFB },
{ "CLV ", 0xDBEB,0x66,0x8A,0xAA,0x65,0xFB },
{ "CLC ", 0xDBEC,0x66,0x8A,0xAA,0x25,0xFB },
{ "LDY #$00 ", 0xDBED,0x66,0x8A,0xAA,0x24,0xFB },
{ "LDY $FF,X @ 89 = BB ", 0xDBEF,0x66,0x8A,0x00,0x26,0xFB },
{ "BPL $DC05 ", 0xDBF1,0x66,0x8A,0xBB,0xA4,0xFB },
{ "BEQ $DC05 ", 0xDBF3,0x66,0x8A,0xBB,0xA4,0xFB },
{ "BVS $DC05 ", 0xDBF5,0x66,0x8A,0xBB,0xA4,0xFB },
{ "BCS $DC05 ", 0xDBF7,0x66,0x8A,0xBB,0xA4,0xFB },
{ "CPY #$BB ", 0xDBF9,0x66,0x8A,0xBB,0xA4,0xFB },
{ "BNE $DC05 ", 0xDBFB,0x66,0x8A,0xBB,0x27,0xFB },
{ "CMP #$66 ", 0xDBFD,0x66,0x8A,0xBB,0x27,0xFB },
{ "BNE $DC05 ", 0xDBFF,0x66,0x8A,0xBB,0x27,0xFB },
{ "CPX #$8A ", 0xDC01,0x66,0x8A,0xBB,0x27,0xFB },
{ "BEQ $DC09 ", 0xDC03,0x66,0x8A,0xBB,0x27,0xFB },
{ "BIT $01 = FF ", 0xDC09,0x66,0x8A,0xBB,0x27,0xFB },
{ "SEC ", 0xDC0B,0x66,0x8A,0xBB,0xE5,0xFB },
{ "LDY #$44 ", 0xDC0C,0x66,0x8A,0xBB,0xE5,0xFB },
{ "LDX #$00 ", 0xDC0E,0x66,0x8A,0x44,0x65,0xFB },
{ "STY $33,X @ 33 = AA ", 0xDC10,0x66,0x00,0x44,0x67,0xFB },
{ "LDA $33 = 44 ", 0xDC12,0x66,0x00,0x44,0x67,0xFB },
{ "BCC $DC2E ", 0xDC14,0x44,0x00,0x44,0x65,0xFB },
{ "CMP #$44 ", 0xDC16,0x44,0x00,0x44,0x65,0xFB },
{ "BNE $DC2E ", 0xDC18,0x44,0x00,0x44,0x67,0xFB },
{ "BVC $DC2E ", 0xDC1A,0x44,0x00,0x44,0x67,0xFB },
{ "CLC ", 0xDC1C,0x44,0x00,0x44,0x67,0xFB },
{ "CLV ", 0xDC1D,0x44,0x00,0x44,0x66,0xFB },
{ "LDY #$99 ", 0xDC1E,0x44,0x00,0x44,0x26,0xFB },
{ "LDX #$80 ", 0xDC20,0x44,0x00,0x99,0xA4,0xFB },
{ "STY $85,X @ 05 = 00 ", 0xDC22,0x44,0x80,0x99,0xA4,0xFB },
{ "LDA $05 = 99 ", 0xDC24,0x44,0x80,0x99,0xA4,0xFB },
{ "BCS $DC2E ", 0xDC26,0x99,0x80,0x99,0xA4,0xFB },
{ "CMP #$99 ", 0xDC28,0x99,0x80,0x99,0xA4,0xFB },
{ "BNE $DC2E ", 0xDC2A,0x99,0x80,0x99,0x27,0xFB },
{ "BVC $DC32 ", 0xDC2C,0x99,0x80,0x99,0x27,0xFB },
{ "LDY #$0B ", 0xDC32,0x99,0x80,0x99,0x27,0xFB },
{ "LDA #$AA ", 0xDC34,0x99,0x80,0x0B,0x25,0xFB },
{ "LDX #$78 ", 0xDC36,0xAA,0x80,0x0B,0xA5,0xFB },
{ "STA $78 = 00 ", 0xDC38,0xAA,0x78,0x0B,0x25,0xFB },
{ "JSR $F7B6 ", 0xDC3A,0xAA,0x78,0x0B,0x25,0xFB },
{ "CLC ", 0xF7B6,0xAA,0x78,0x0B,0x25,0xF9 },
{ "LDA #$FF ", 0xF7B7,0xAA,0x78,0x0B,0x24,0xF9 },
{ "STA $01 = FF ", 0xF7B9,0xFF,0x78,0x0B,0xA4,0xF9 },
{ "BIT $01 = FF ", 0xF7BB,0xFF,0x78,0x0B,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7BD,0xFF,0x78,0x0B,0xE4,0xF9 },
{ "RTS ", 0xF7BF,0x55,0x78,0x0B,0x64,0xF9 },
{ "ORA $00,X @ 78 = AA ", 0xDC3D,0x55,0x78,0x0B,0x64,0xFB },
{ "JSR $F7C0 ", 0xDC3F,0xFF,0x78,0x0B,0xE4,0xFB },
{ "BCS $F7CB ", 0xF7C0,0xFF,0x78,0x0B,0xE4,0xF9 },
{ "BPL $F7CB ", 0xF7C2,0xFF,0x78,0x0B,0xE4,0xF9 },
{ "CMP #$FF ", 0xF7C4,0xFF,0x78,0x0B,0xE4,0xF9 },
{ "BNE $F7CB ", 0xF7C6,0xFF,0x78,0x0B,0x67,0xF9 },
{ "BVC $F7CB ", 0xF7C8,0xFF,0x78,0x0B,0x67,0xF9 },
{ "RTS ", 0xF7CA,0xFF,0x78,0x0B,0x67,0xF9 },
{ "INY ", 0xDC42,0xFF,0x78,0x0B,0x67,0xFB },
{ "LDA #$00 ", 0xDC43,0xFF,0x78,0x0C,0x65,0xFB },
{ "STA $78 = AA ", 0xDC45,0x00,0x78,0x0C,0x67,0xFB },
{ "JSR $F7CE ", 0xDC47,0x00,0x78,0x0C,0x67,0xFB },
{ "SEC ", 0xF7CE,0x00,0x78,0x0C,0x67,0xF9 },
{ "CLV ", 0xF7CF,0x00,0x78,0x0C,0x67,0xF9 },
{ "LDA #$00 ", 0xF7D0,0x00,0x78,0x0C,0x27,0xF9 },
{ "RTS ", 0xF7D2,0x00,0x78,0x0C,0x27,0xF9 },
{ "ORA $00,X @ 78 = 00 ", 0xDC4A,0x00,0x78,0x0C,0x27,0xFB },
{ "JSR $F7D3 ", 0xDC4C,0x00,0x78,0x0C,0x27,0xFB },
{ "BNE $F7DC ", 0xF7D3,0x00,0x78,0x0C,0x27,0xF9 },
{ "BVS $F7DC ", 0xF7D5,0x00,0x78,0x0C,0x27,0xF9 },
{ "BCC $F7DC ", 0xF7D7,0x00,0x78,0x0C,0x27,0xF9 },
{ "BMI $F7DC ", 0xF7D9,0x00,0x78,0x0C,0x27,0xF9 },
{ "RTS ", 0xF7DB,0x00,0x78,0x0C,0x27,0xF9 },
{ "INY ", 0xDC4F,0x00,0x78,0x0C,0x27,0xFB },
{ "LDA #$AA ", 0xDC50,0x00,0x78,0x0D,0x25,0xFB },
{ "STA $78 = 00 ", 0xDC52,0xAA,0x78,0x0D,0xA5,0xFB },
{ "JSR $F7DF ", 0xDC54,0xAA,0x78,0x0D,0xA5,0xFB },
{ "CLC ", 0xF7DF,0xAA,0x78,0x0D,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF7E0,0xAA,0x78,0x0D,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7E2,0xAA,0x78,0x0D,0xE4,0xF9 },
{ "RTS ", 0xF7E4,0x55,0x78,0x0D,0x64,0xF9 },
{ "AND $00,X @ 78 = AA ", 0xDC57,0x55,0x78,0x0D,0x64,0xFB },
{ "JSR $F7E5 ", 0xDC59,0x00,0x78,0x0D,0x66,0xFB },
{ "BNE $F7EE ", 0xF7E5,0x00,0x78,0x0D,0x66,0xF9 },
{ "BVC $F7EE ", 0xF7E7,0x00,0x78,0x0D,0x66,0xF9 },
{ "BCS $F7EE ", 0xF7E9,0x00,0x78,0x0D,0x66,0xF9 },
{ "BMI $F7EE ", 0xF7EB,0x00,0x78,0x0D,0x66,0xF9 },
{ "RTS ", 0xF7ED,0x00,0x78,0x0D,0x66,0xF9 },
{ "INY ", 0xDC5C,0x00,0x78,0x0D,0x66,0xFB },
{ "LDA #$EF ", 0xDC5D,0x00,0x78,0x0E,0x64,0xFB },
{ "STA $78 = AA ", 0xDC5F,0xEF,0x78,0x0E,0xE4,0xFB },
{ "JSR $F7F1 ", 0xDC61,0xEF,0x78,0x0E,0xE4,0xFB },
{ "SEC ", 0xF7F1,0xEF,0x78,0x0E,0xE4,0xF9 },
{ "CLV ", 0xF7F2,0xEF,0x78,0x0E,0xE5,0xF9 },
{ "LDA #$F8 ", 0xF7F3,0xEF,0x78,0x0E,0xA5,0xF9 },
{ "RTS ", 0xF7F5,0xF8,0x78,0x0E,0xA5,0xF9 },
{ "AND $00,X @ 78 = EF ", 0xDC64,0xF8,0x78,0x0E,0xA5,0xFB },
{ "JSR $F7F6 ", 0xDC66,0xE8,0x78,0x0E,0xA5,0xFB },
{ "BCC $F801 ", 0xF7F6,0xE8,0x78,0x0E,0xA5,0xF9 },
{ "BPL $F801 ", 0xF7F8,0xE8,0x78,0x0E,0xA5,0xF9 },
{ "CMP #$E8 ", 0xF7FA,0xE8,0x78,0x0E,0xA5,0xF9 },
{ "BNE $F801 ", 0xF7FC,0xE8,0x78,0x0E,0x27,0xF9 },
{ "BVS $F801 ", 0xF7FE,0xE8,0x78,0x0E,0x27,0xF9 },
{ "RTS ", 0xF800,0xE8,0x78,0x0E,0x27,0xF9 },
{ "INY ", 0xDC69,0xE8,0x78,0x0E,0x27,0xFB },
{ "LDA #$AA ", 0xDC6A,0xE8,0x78,0x0F,0x25,0xFB },
{ "STA $78 = EF ", 0xDC6C,0xAA,0x78,0x0F,0xA5,0xFB },
{ "JSR $F804 ", 0xDC6E,0xAA,0x78,0x0F,0xA5,0xFB },
{ "CLC ", 0xF804,0xAA,0x78,0x0F,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF805,0xAA,0x78,0x0F,0xA4,0xF9 },
{ "LDA #$5F ", 0xF807,0xAA,0x78,0x0F,0xE4,0xF9 },
{ "RTS ", 0xF809,0x5F,0x78,0x0F,0x64,0xF9 },
{ "EOR $00,X @ 78 = AA ", 0xDC71,0x5F,0x78,0x0F,0x64,0xFB },
{ "JSR $F80A ", 0xDC73,0xF5,0x78,0x0F,0xE4,0xFB },
{ "BCS $F815 ", 0xF80A,0xF5,0x78,0x0F,0xE4,0xF9 },
{ "BPL $F815 ", 0xF80C,0xF5,0x78,0x0F,0xE4,0xF9 },
{ "CMP #$F5 ", 0xF80E,0xF5,0x78,0x0F,0xE4,0xF9 },
{ "BNE $F815 ", 0xF810,0xF5,0x78,0x0F,0x67,0xF9 },
{ "BVC $F815 ", 0xF812,0xF5,0x78,0x0F,0x67,0xF9 },
{ "RTS ", 0xF814,0xF5,0x78,0x0F,0x67,0xF9 },
{ "INY ", 0xDC76,0xF5,0x78,0x0F,0x67,0xFB },
{ "LDA #$70 ", 0xDC77,0xF5,0x78,0x10,0x65,0xFB },
{ "STA $78 = AA ", 0xDC79,0x70,0x78,0x10,0x65,0xFB },
{ "JSR $F818 ", 0xDC7B,0x70,0x78,0x10,0x65,0xFB },
{ "SEC ", 0xF818,0x70,0x78,0x10,0x65,0xF9 },
{ "CLV ", 0xF819,0x70,0x78,0x10,0x65,0xF9 },
{ "LDA #$70 ", 0xF81A,0x70,0x78,0x10,0x25,0xF9 },
{ "RTS ", 0xF81C,0x70,0x78,0x10,0x25,0xF9 },
{ "EOR $00,X @ 78 = 70 ", 0xDC7E,0x70,0x78,0x10,0x25,0xFB },
{ "JSR $F81D ", 0xDC80,0x00,0x78,0x10,0x27,0xFB },
{ "BNE $F826 ", 0xF81D,0x00,0x78,0x10,0x27,0xF9 },
{ "BVS $F826 ", 0xF81F,0x00,0x78,0x10,0x27,0xF9 },
{ "BCC $F826 ", 0xF821,0x00,0x78,0x10,0x27,0xF9 },
{ "BMI $F826 ", 0xF823,0x00,0x78,0x10,0x27,0xF9 },
{ "RTS ", 0xF825,0x00,0x78,0x10,0x27,0xF9 },
{ "INY ", 0xDC83,0x00,0x78,0x10,0x27,0xFB },
{ "LDA #$69 ", 0xDC84,0x00,0x78,0x11,0x25,0xFB },
{ "STA $78 = 70 ", 0xDC86,0x69,0x78,0x11,0x25,0xFB },
{ "JSR $F829 ", 0xDC88,0x69,0x78,0x11,0x25,0xFB },
{ "CLC ", 0xF829,0x69,0x78,0x11,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF82A,0x69,0x78,0x11,0x24,0xF9 },
{ "LDA #$00 ", 0xF82C,0x69,0x78,0x11,0xE4,0xF9 },
{ "RTS ", 0xF82E,0x00,0x78,0x11,0x66,0xF9 },
{ "ADC $00,X @ 78 = 69 ", 0xDC8B,0x00,0x78,0x11,0x66,0xFB },
{ "JSR $F82F ", 0xDC8D,0x69,0x78,0x11,0x24,0xFB },
{ "BMI $F83A ", 0xF82F,0x69,0x78,0x11,0x24,0xF9 },
{ "BCS $F83A ", 0xF831,0x69,0x78,0x11,0x24,0xF9 },
{ "CMP #$69 ", 0xF833,0x69,0x78,0x11,0x24,0xF9 },
{ "BNE $F83A ", 0xF835,0x69,0x78,0x11,0x27,0xF9 },
{ "BVS $F83A ", 0xF837,0x69,0x78,0x11,0x27,0xF9 },
{ "RTS ", 0xF839,0x69,0x78,0x11,0x27,0xF9 },
{ "INY ", 0xDC90,0x69,0x78,0x11,0x27,0xFB },
{ "JSR $F83D ", 0xDC91,0x69,0x78,0x12,0x25,0xFB },
{ "SEC ", 0xF83D,0x69,0x78,0x12,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF83E,0x69,0x78,0x12,0x25,0xF9 },
{ "LDA #$00 ", 0xF840,0x69,0x78,0x12,0xE5,0xF9 },
{ "RTS ", 0xF842,0x00,0x78,0x12,0x67,0xF9 },
{ "ADC $00,X @ 78 = 69 ", 0xDC94,0x00,0x78,0x12,0x67,0xFB },
{ "JSR $F843 ", 0xDC96,0x6A,0x78,0x12,0x24,0xFB },
{ "BMI $F84E ", 0xF843,0x6A,0x78,0x12,0x24,0xF9 },
{ "BCS $F84E ", 0xF845,0x6A,0x78,0x12,0x24,0xF9 },
{ "CMP #$6A ", 0xF847,0x6A,0x78,0x12,0x24,0xF9 },
{ "BNE $F84E ", 0xF849,0x6A,0x78,0x12,0x27,0xF9 },
{ "BVS $F84E ", 0xF84B,0x6A,0x78,0x12,0x27,0xF9 },
{ "RTS ", 0xF84D,0x6A,0x78,0x12,0x27,0xF9 },
{ "INY ", 0xDC99,0x6A,0x78,0x12,0x27,0xFB },
{ "LDA #$7F ", 0xDC9A,0x6A,0x78,0x13,0x25,0xFB },
{ "STA $78 = 69 ", 0xDC9C,0x7F,0x78,0x13,0x25,0xFB },
{ "JSR $F851 ", 0xDC9E,0x7F,0x78,0x13,0x25,0xFB },
{ "SEC ", 0xF851,0x7F,0x78,0x13,0x25,0xF9 },
{ "CLV ", 0xF852,0x7F,0x78,0x13,0x25,0xF9 },
{ "LDA #$7F ", 0xF853,0x7F,0x78,0x13,0x25,0xF9 },
{ "RTS ", 0xF855,0x7F,0x78,0x13,0x25,0xF9 },
{ "ADC $00,X @ 78 = 7F ", 0xDCA1,0x7F,0x78,0x13,0x25,0xFB },
{ "JSR $F856 ", 0xDCA3,0xFF,0x78,0x13,0xE4,0xFB },
{ "BPL $F861 ", 0xF856,0xFF,0x78,0x13,0xE4,0xF9 },
{ "BCS $F861 ", 0xF858,0xFF,0x78,0x13,0xE4,0xF9 },
{ "CMP #$FF ", 0xF85A,0xFF,0x78,0x13,0xE4,0xF9 },
{ "BNE $F861 ", 0xF85C,0xFF,0x78,0x13,0x67,0xF9 },
{ "BVC $F861 ", 0xF85E,0xFF,0x78,0x13,0x67,0xF9 },
{ "RTS ", 0xF860,0xFF,0x78,0x13,0x67,0xF9 },
{ "INY ", 0xDCA6,0xFF,0x78,0x13,0x67,0xFB },
{ "LDA #$80 ", 0xDCA7,0xFF,0x78,0x14,0x65,0xFB },
{ "STA $78 = 7F ", 0xDCA9,0x80,0x78,0x14,0xE5,0xFB },
{ "JSR $F864 ", 0xDCAB,0x80,0x78,0x14,0xE5,0xFB },
{ "CLC ", 0xF864,0x80,0x78,0x14,0xE5,0xF9 },
{ "BIT $01 = FF ", 0xF865,0x80,0x78,0x14,0xE4,0xF9 },
{ "LDA #$7F ", 0xF867,0x80,0x78,0x14,0xE4,0xF9 },
{ "RTS ", 0xF869,0x7F,0x78,0x14,0x64,0xF9 },
{ "ADC $00,X @ 78 = 80 ", 0xDCAE,0x7F,0x78,0x14,0x64,0xFB },
{ "JSR $F86A ", 0xDCB0,0xFF,0x78,0x14,0xA4,0xFB },
{ "BPL $F875 ", 0xF86A,0xFF,0x78,0x14,0xA4,0xF9 },
{ "BCS $F875 ", 0xF86C,0xFF,0x78,0x14,0xA4,0xF9 },
{ "CMP #$FF ", 0xF86E,0xFF,0x78,0x14,0xA4,0xF9 },
{ "BNE $F875 ", 0xF870,0xFF,0x78,0x14,0x27,0xF9 },
{ "BVS $F875 ", 0xF872,0xFF,0x78,0x14,0x27,0xF9 },
{ "RTS ", 0xF874,0xFF,0x78,0x14,0x27,0xF9 },
{ "INY ", 0xDCB3,0xFF,0x78,0x14,0x27,0xFB },
{ "JSR $F878 ", 0xDCB4,0xFF,0x78,0x15,0x25,0xFB },
{ "SEC ", 0xF878,0xFF,0x78,0x15,0x25,0xF9 },
{ "CLV ", 0xF879,0xFF,0x78,0x15,0x25,0xF9 },
{ "LDA #$7F ", 0xF87A,0xFF,0x78,0x15,0x25,0xF9 },
{ "RTS ", 0xF87C,0x7F,0x78,0x15,0x25,0xF9 },
{ "ADC $00,X @ 78 = 80 ", 0xDCB7,0x7F,0x78,0x15,0x25,0xFB },
{ "JSR $F87D ", 0xDCB9,0x00,0x78,0x15,0x27,0xFB },
{ "BNE $F886 ", 0xF87D,0x00,0x78,0x15,0x27,0xF9 },
{ "BMI $F886 ", 0xF87F,0x00,0x78,0x15,0x27,0xF9 },
{ "BVS $F886 ", 0xF881,0x00,0x78,0x15,0x27,0xF9 },
{ "BCC $F886 ", 0xF883,0x00,0x78,0x15,0x27,0xF9 },
{ "RTS ", 0xF885,0x00,0x78,0x15,0x27,0xF9 },
{ "INY ", 0xDCBC,0x00,0x78,0x15,0x27,0xFB },
{ "LDA #$40 ", 0xDCBD,0x00,0x78,0x16,0x25,0xFB },
{ "STA $78 = 80 ", 0xDCBF,0x40,0x78,0x16,0x25,0xFB },
{ "JSR $F889 ", 0xDCC1,0x40,0x78,0x16,0x25,0xFB },
{ "BIT $01 = FF ", 0xF889,0x40,0x78,0x16,0x25,0xF9 },
{ "LDA #$40 ", 0xF88B,0x40,0x78,0x16,0xE5,0xF9 },
{ "RTS ", 0xF88D,0x40,0x78,0x16,0x65,0xF9 },
{ "CMP $00,X @ 78 = 40 ", 0xDCC4,0x40,0x78,0x16,0x65,0xFB },
{ "JSR $F88E ", 0xDCC6,0x40,0x78,0x16,0x67,0xFB },
{ "BMI $F897 ", 0xF88E,0x40,0x78,0x16,0x67,0xF9 },
{ "BCC $F897 ", 0xF890,0x40,0x78,0x16,0x67,0xF9 },
{ "BNE $F897 ", 0xF892,0x40,0x78,0x16,0x67,0xF9 },
{ "BVC $F897 ", 0xF894,0x40,0x78,0x16,0x67,0xF9 },
{ "RTS ", 0xF896,0x40,0x78,0x16,0x67,0xF9 },
{ "INY ", 0xDCC9,0x40,0x78,0x16,0x67,0xFB },
{ "PHA ", 0xDCCA,0x40,0x78,0x17,0x65,0xFB },
{ "LDA #$3F ", 0xDCCB,0x40,0x78,0x17,0x65,0xFA },
{ "STA $78 = 40 ", 0xDCCD,0x3F,0x78,0x17,0x65,0xFA },
{ "PLA ", 0xDCCF,0x3F,0x78,0x17,0x65,0xFA },
{ "JSR $F89A ", 0xDCD0,0x40,0x78,0x17,0x65,0xFB },
{ "CLV ", 0xF89A,0x40,0x78,0x17,0x65,0xF9 },
{ "RTS ", 0xF89B,0x40,0x78,0x17,0x25,0xF9 },
{ "CMP $00,X @ 78 = 3F ", 0xDCD3,0x40,0x78,0x17,0x25,0xFB },
{ "JSR $F89C ", 0xDCD5,0x40,0x78,0x17,0x25,0xFB },
{ "BEQ $F8A5 ", 0xF89C,0x40,0x78,0x17,0x25,0xF9 },
{ "BMI $F8A5 ", 0xF89E,0x40,0x78,0x17,0x25,0xF9 },
{ "BCC $F8A5 ", 0xF8A0,0x40,0x78,0x17,0x25,0xF9 },
{ "BVS $F8A5 ", 0xF8A2,0x40,0x78,0x17,0x25,0xF9 },
{ "RTS ", 0xF8A4,0x40,0x78,0x17,0x25,0xF9 },
{ "INY ", 0xDCD8,0x40,0x78,0x17,0x25,0xFB },
{ "PHA ", 0xDCD9,0x40,0x78,0x18,0x25,0xFB },
{ "LDA #$41 ", 0xDCDA,0x40,0x78,0x18,0x25,0xFA },
{ "STA $78 = 3F ", 0xDCDC,0x41,0x78,0x18,0x25,0xFA },
{ "PLA ", 0xDCDE,0x41,0x78,0x18,0x25,0xFA },
{ "CMP $00,X @ 78 = 41 ", 0xDCDF,0x40,0x78,0x18,0x25,0xFB },
{ "JSR $F8A8 ", 0xDCE1,0x40,0x78,0x18,0xA4,0xFB },
{ "BEQ $F8AF ", 0xF8A8,0x40,0x78,0x18,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AA,0x40,0x78,0x18,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AC,0x40,0x78,0x18,0xA4,0xF9 },
{ "RTS ", 0xF8AE,0x40,0x78,0x18,0xA4,0xF9 },
{ "INY ", 0xDCE4,0x40,0x78,0x18,0xA4,0xFB },
{ "PHA ", 0xDCE5,0x40,0x78,0x19,0x24,0xFB },
{ "LDA #$00 ", 0xDCE6,0x40,0x78,0x19,0x24,0xFA },
{ "STA $78 = 41 ", 0xDCE8,0x00,0x78,0x19,0x26,0xFA },
{ "PLA ", 0xDCEA,0x00,0x78,0x19,0x26,0xFA },
{ "JSR $F8B2 ", 0xDCEB,0x40,0x78,0x19,0x24,0xFB },
{ "LDA #$80 ", 0xF8B2,0x40,0x78,0x19,0x24,0xF9 },
{ "RTS ", 0xF8B4,0x80,0x78,0x19,0xA4,0xF9 },
{ "CMP $00,X @ 78 = 00 ", 0xDCEE,0x80,0x78,0x19,0xA4,0xFB },
{ "JSR $F8B5 ", 0xDCF0,0x80,0x78,0x19,0xA5,0xFB },
{ "BEQ $F8BC ", 0xF8B5,0x80,0x78,0x19,0xA5,0xF9 },
{ "BPL $F8BC ", 0xF8B7,0x80,0x78,0x19,0xA5,0xF9 },
{ "BCC $F8BC ", 0xF8B9,0x80,0x78,0x19,0xA5,0xF9 },
{ "RTS ", 0xF8BB,0x80,0x78,0x19,0xA5,0xF9 },
{ "INY ", 0xDCF3,0x80,0x78,0x19,0xA5,0xFB },
{ "PHA ", 0xDCF4,0x80,0x78,0x1A,0x25,0xFB },
{ "LDA #$80 ", 0xDCF5,0x80,0x78,0x1A,0x25,0xFA },
{ "STA $78 = 00 ", 0xDCF7,0x80,0x78,0x1A,0xA5,0xFA },
{ "PLA ", 0xDCF9,0x80,0x78,0x1A,0xA5,0xFA },
{ "CMP $00,X @ 78 = 80 ", 0xDCFA,0x80,0x78,0x1A,0xA5,0xFB },
{ "JSR $F8BF ", 0xDCFC,0x80,0x78,0x1A,0x27,0xFB },
{ "BNE $F8C6 ", 0xF8BF,0x80,0x78,0x1A,0x27,0xF9 },
{ "BMI $F8C6 ", 0xF8C1,0x80,0x78,0x1A,0x27,0xF9 },
{ "BCC $F8C6 ", 0xF8C3,0x80,0x78,0x1A,0x27,0xF9 },
{ "RTS ", 0xF8C5,0x80,0x78,0x1A,0x27,0xF9 },
{ "INY ", 0xDCFF,0x80,0x78,0x1A,0x27,0xFB },
{ "PHA ", 0xDD00,0x80,0x78,0x1B,0x25,0xFB },
{ "LDA #$81 ", 0xDD01,0x80,0x78,0x1B,0x25,0xFA },
{ "STA $78 = 80 ", 0xDD03,0x81,0x78,0x1B,0xA5,0xFA },
{ "PLA ", 0xDD05,0x81,0x78,0x1B,0xA5,0xFA },
{ "CMP $00,X @ 78 = 81 ", 0xDD06,0x80,0x78,0x1B,0xA5,0xFB },
{ "JSR $F8C9 ", 0xDD08,0x80,0x78,0x1B,0xA4,0xFB },
{ "BCS $F8D0 ", 0xF8C9,0x80,0x78,0x1B,0xA4,0xF9 },
{ "BEQ $F8D0 ", 0xF8CB,0x80,0x78,0x1B,0xA4,0xF9 },
{ "BPL $F8D0 ", 0xF8CD,0x80,0x78,0x1B,0xA4,0xF9 },
{ "RTS ", 0xF8CF,0x80,0x78,0x1B,0xA4,0xF9 },
{ "INY ", 0xDD0B,0x80,0x78,0x1B,0xA4,0xFB },
{ "PHA ", 0xDD0C,0x80,0x78,0x1C,0x24,0xFB },
{ "LDA #$7F ", 0xDD0D,0x80,0x78,0x1C,0x24,0xFA },
{ "STA $78 = 81 ", 0xDD0F,0x7F,0x78,0x1C,0x24,0xFA },
{ "PLA ", 0xDD11,0x7F,0x78,0x1C,0x24,0xFA },
{ "CMP $00,X @ 78 = 7F ", 0xDD12,0x80,0x78,0x1C,0xA4,0xFB },
{ "JSR $F8D3 ", 0xDD14,0x80,0x78,0x1C,0x25,0xFB },
{ "BCC $F8DA ", 0xF8D3,0x80,0x78,0x1C,0x25,0xF9 },
{ "BEQ $F8DA ", 0xF8D5,0x80,0x78,0x1C,0x25,0xF9 },
{ "BMI $F8DA ", 0xF8D7,0x80,0x78,0x1C,0x25,0xF9 },
{ "RTS ", 0xF8D9,0x80,0x78,0x1C,0x25,0xF9 },
{ "INY ", 0xDD17,0x80,0x78,0x1C,0x25,0xFB },
{ "LDA #$40 ", 0xDD18,0x80,0x78,0x1D,0x25,0xFB },
{ "STA $78 = 7F ", 0xDD1A,0x40,0x78,0x1D,0x25,0xFB },
{ "JSR $F931 ", 0xDD1C,0x40,0x78,0x1D,0x25,0xFB },
{ "BIT $01 = FF ", 0xF931,0x40,0x78,0x1D,0x25,0xF9 },
{ "LDA #$40 ", 0xF933,0x40,0x78,0x1D,0xE5,0xF9 },
{ "SEC ", 0xF935,0x40,0x78,0x1D,0x65,0xF9 },
{ "RTS ", 0xF936,0x40,0x78,0x1D,0x65,0xF9 },
{ "SBC $00,X @ 78 = 40 ", 0xDD1F,0x40,0x78,0x1D,0x65,0xFB },
{ "JSR $F937 ", 0xDD21,0x00,0x78,0x1D,0x27,0xFB },
{ "BMI $F944 ", 0xF937,0x00,0x78,0x1D,0x27,0xF9 },
{ "BCC $F944 ", 0xF939,0x00,0x78,0x1D,0x27,0xF9 },
{ "BNE $F944 ", 0xF93B,0x00,0x78,0x1D,0x27,0xF9 },
{ "BVS $F944 ", 0xF93D,0x00,0x78,0x1D,0x27,0xF9 },
{ "CMP #$00 ", 0xF93F,0x00,0x78,0x1D,0x27,0xF9 },
{ "BNE $F944 ", 0xF941,0x00,0x78,0x1D,0x27,0xF9 },
{ "RTS ", 0xF943,0x00,0x78,0x1D,0x27,0xF9 },
{ "INY ", 0xDD24,0x00,0x78,0x1D,0x27,0xFB },
{ "LDA #$3F ", 0xDD25,0x00,0x78,0x1E,0x25,0xFB },
{ "STA $78 = 40 ", 0xDD27,0x3F,0x78,0x1E,0x25,0xFB },
{ "JSR $F947 ", 0xDD29,0x3F,0x78,0x1E,0x25,0xFB },
{ "CLV ", 0xF947,0x3F,0x78,0x1E,0x25,0xF9 },
{ "SEC ", 0xF948,0x3F,0x78,0x1E,0x25,0xF9 },
{ "LDA #$40 ", 0xF949,0x3F,0x78,0x1E,0x25,0xF9 },
{ "RTS ", 0xF94B,0x40,0x78,0x1E,0x25,0xF9 },
{ "SBC $00,X @ 78 = 3F ", 0xDD2C,0x40,0x78,0x1E,0x25,0xFB },
{ "JSR $F94C ", 0xDD2E,0x01,0x78,0x1E,0x25,0xFB },
{ "BEQ $F959 ", 0xF94C,0x01,0x78,0x1E,0x25,0xF9 },
{ "BMI $F959 ", 0xF94E,0x01,0x78,0x1E,0x25,0xF9 },
{ "BCC $F959 ", 0xF950,0x01,0x78,0x1E,0x25,0xF9 },
{ "BVS $F959 ", 0xF952,0x01,0x78,0x1E,0x25,0xF9 },
{ "CMP #$01 ", 0xF954,0x01,0x78,0x1E,0x25,0xF9 },
{ "BNE $F959 ", 0xF956,0x01,0x78,0x1E,0x27,0xF9 },
{ "RTS ", 0xF958,0x01,0x78,0x1E,0x27,0xF9 },
{ "INY ", 0xDD31,0x01,0x78,0x1E,0x27,0xFB },
{ "LDA #$41 ", 0xDD32,0x01,0x78,0x1F,0x25,0xFB },
{ "STA $78 = 3F ", 0xDD34,0x41,0x78,0x1F,0x25,0xFB },
{ "JSR $F95C ", 0xDD36,0x41,0x78,0x1F,0x25,0xFB },
{ "LDA #$40 ", 0xF95C,0x41,0x78,0x1F,0x25,0xF9 },
{ "SEC ", 0xF95E,0x40,0x78,0x1F,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF95F,0x40,0x78,0x1F,0x25,0xF9 },
{ "RTS ", 0xF961,0x40,0x78,0x1F,0xE5,0xF9 },
{ "SBC $00,X @ 78 = 41 ", 0xDD39,0x40,0x78,0x1F,0xE5,0xFB },
{ "JSR $F962 ", 0xDD3B,0xFF,0x78,0x1F,0xA4,0xFB },
{ "BCS $F96F ", 0xF962,0xFF,0x78,0x1F,0xA4,0xF9 },
{ "BEQ $F96F ", 0xF964,0xFF,0x78,0x1F,0xA4,0xF9 },
{ "BPL $F96F ", 0xF966,0xFF,0x78,0x1F,0xA4,0xF9 },
{ "BVS $F96F ", 0xF968,0xFF,0x78,0x1F,0xA4,0xF9 },
{ "CMP #$FF ", 0xF96A,0xFF,0x78,0x1F,0xA4,0xF9 },
{ "BNE $F96F ", 0xF96C,0xFF,0x78,0x1F,0x27,0xF9 },
{ "RTS ", 0xF96E,0xFF,0x78,0x1F,0x27,0xF9 },
{ "INY ", 0xDD3E,0xFF,0x78,0x1F,0x27,0xFB },
{ "LDA #$00 ", 0xDD3F,0xFF,0x78,0x20,0x25,0xFB },
{ "STA $78 = 41 ", 0xDD41,0x00,0x78,0x20,0x27,0xFB },
{ "JSR $F972 ", 0xDD43,0x00,0x78,0x20,0x27,0xFB },
{ "CLC ", 0xF972,0x00,0x78,0x20,0x27,0xF9 },
{ "LDA #$80 ", 0xF973,0x00,0x78,0x20,0x26,0xF9 },
{ "RTS ", 0xF975,0x80,0x78,0x20,0xA4,0xF9 },
{ "SBC $00,X @ 78 = 00 ", 0xDD46,0x80,0x78,0x20,0xA4,0xFB },
{ "JSR $F976 ", 0xDD48,0x7F,0x78,0x20,0x65,0xFB },
{ "BCC $F97D ", 0xF976,0x7F,0x78,0x20,0x65,0xF9 },
{ "CMP #$7F ", 0xF978,0x7F,0x78,0x20,0x65,0xF9 },
{ "BNE $F97D ", 0xF97A,0x7F,0x78,0x20,0x67,0xF9 },
{ "RTS ", 0xF97C,0x7F,0x78,0x20,0x67,0xF9 },
{ "INY ", 0xDD4B,0x7F,0x78,0x20,0x67,0xFB },
{ "LDA #$7F ", 0xDD4C,0x7F,0x78,0x21,0x65,0xFB },
{ "STA $78 = 00 ", 0xDD4E,0x7F,0x78,0x21,0x65,0xFB },
{ "JSR $F980 ", 0xDD50,0x7F,0x78,0x21,0x65,0xFB },
{ "SEC ", 0xF980,0x7F,0x78,0x21,0x65,0xF9 },
{ "LDA #$81 ", 0xF981,0x7F,0x78,0x21,0x65,0xF9 },
{ "RTS ", 0xF983,0x81,0x78,0x21,0xE5,0xF9 },
{ "SBC $00,X @ 78 = 7F ", 0xDD53,0x81,0x78,0x21,0xE5,0xFB },
{ "JSR $F984 ", 0xDD55,0x02,0x78,0x21,0x65,0xFB },
{ "BVC $F98D ", 0xF984,0x02,0x78,0x21,0x65,0xF9 },
{ "BCC $F98D ", 0xF986,0x02,0x78,0x21,0x65,0xF9 },
{ "CMP #$02 ", 0xF988,0x02,0x78,0x21,0x65,0xF9 },
{ "BNE $F98D ", 0xF98A,0x02,0x78,0x21,0x67,0xF9 },
{ "RTS ", 0xF98C,0x02,0x78,0x21,0x67,0xF9 },
{ "LDA #$AA ", 0xDD58,0x02,0x78,0x21,0x67,0xFB },
{ "STA $33 = 44 ", 0xDD5A,0xAA,0x78,0x21,0xE5,0xFB },
{ "LDA #$BB ", 0xDD5C,0xAA,0x78,0x21,0xE5,0xFB },
{ "STA $89 = BB ", 0xDD5E,0xBB,0x78,0x21,0xE5,0xFB },
{ "LDX #$00 ", 0xDD60,0xBB,0x78,0x21,0xE5,0xFB },
{ "LDY #$66 ", 0xDD62,0xBB,0x00,0x21,0x67,0xFB },
{ "BIT $01 = FF ", 0xDD64,0xBB,0x00,0x66,0x65,0xFB },
{ "SEC ", 0xDD66,0xBB,0x00,0x66,0xE5,0xFB },
{ "LDA #$00 ", 0xDD67,0xBB,0x00,0x66,0xE5,0xFB },
{ "LDA $33,X @ 33 = AA ", 0xDD69,0x00,0x00,0x66,0x67,0xFB },
{ "BPL $DD7F ", 0xDD6B,0xAA,0x00,0x66,0xE5,0xFB },
{ "BEQ $DD7F ", 0xDD6D,0xAA,0x00,0x66,0xE5,0xFB },
{ "BVC $DD7F ", 0xDD6F,0xAA,0x00,0x66,0xE5,0xFB },
{ "BCC $DD7F ", 0xDD71,0xAA,0x00,0x66,0xE5,0xFB },
{ "CPY #$66 ", 0xDD73,0xAA,0x00,0x66,0xE5,0xFB },
{ "BNE $DD7F ", 0xDD75,0xAA,0x00,0x66,0x67,0xFB },
{ "CPX #$00 ", 0xDD77,0xAA,0x00,0x66,0x67,0xFB },
{ "BNE $DD7F ", 0xDD79,0xAA,0x00,0x66,0x67,0xFB },
{ "CMP #$AA ", 0xDD7B,0xAA,0x00,0x66,0x67,0xFB },
{ "BEQ $DD83 ", 0xDD7D,0xAA,0x00,0x66,0x67,0xFB },
{ "LDX #$8A ", 0xDD83,0xAA,0x00,0x66,0x67,0xFB },
{ "LDY #$66 ", 0xDD85,0xAA,0x8A,0x66,0xE5,0xFB },
{ "CLV ", 0xDD87,0xAA,0x8A,0x66,0x65,0xFB },
{ "CLC ", 0xDD88,0xAA,0x8A,0x66,0x25,0xFB },
{ "LDA #$00 ", 0xDD89,0xAA,0x8A,0x66,0x24,0xFB },
{ "LDA $FF,X @ 89 = BB ", 0xDD8B,0x00,0x8A,0x66,0x26,0xFB },
{ "BPL $DDA1 ", 0xDD8D,0xBB,0x8A,0x66,0xA4,0xFB },
{ "BEQ $DDA1 ", 0xDD8F,0xBB,0x8A,0x66,0xA4,0xFB },
{ "BVS $DDA1 ", 0xDD91,0xBB,0x8A,0x66,0xA4,0xFB },
{ "BCS $DDA1 ", 0xDD93,0xBB,0x8A,0x66,0xA4,0xFB },
{ "CMP #$BB ", 0xDD95,0xBB,0x8A,0x66,0xA4,0xFB },
{ "BNE $DDA1 ", 0xDD97,0xBB,0x8A,0x66,0x27,0xFB },
{ "CPY #$66 ", 0xDD99,0xBB,0x8A,0x66,0x27,0xFB },
{ "BNE $DDA1 ", 0xDD9B,0xBB,0x8A,0x66,0x27,0xFB },
{ "CPX #$8A ", 0xDD9D,0xBB,0x8A,0x66,0x27,0xFB },
{ "BEQ $DDA5 ", 0xDD9F,0xBB,0x8A,0x66,0x27,0xFB },
{ "BIT $01 = FF ", 0xDDA5,0xBB,0x8A,0x66,0x27,0xFB },
{ "SEC ", 0xDDA7,0xBB,0x8A,0x66,0xE5,0xFB },
{ "LDA #$44 ", 0xDDA8,0xBB,0x8A,0x66,0xE5,0xFB },
{ "LDX #$00 ", 0xDDAA,0x44,0x8A,0x66,0x65,0xFB },
{ "STA $33,X @ 33 = AA ", 0xDDAC,0x44,0x00,0x66,0x67,0xFB },
{ "LDA $33 = 44 ", 0xDDAE,0x44,0x00,0x66,0x67,0xFB },
{ "BCC $DDCA ", 0xDDB0,0x44,0x00,0x66,0x65,0xFB },
{ "CMP #$44 ", 0xDDB2,0x44,0x00,0x66,0x65,0xFB },
{ "BNE $DDCA ", 0xDDB4,0x44,0x00,0x66,0x67,0xFB },
{ "BVC $DDCA ", 0xDDB6,0x44,0x00,0x66,0x67,0xFB },
{ "CLC ", 0xDDB8,0x44,0x00,0x66,0x67,0xFB },
{ "CLV ", 0xDDB9,0x44,0x00,0x66,0x66,0xFB },
{ "LDA #$99 ", 0xDDBA,0x44,0x00,0x66,0x26,0xFB },
{ "LDX #$80 ", 0xDDBC,0x99,0x00,0x66,0xA4,0xFB },
{ "STA $85,X @ 05 = 99 ", 0xDDBE,0x99,0x80,0x66,0xA4,0xFB },
{ "LDA $05 = 99 ", 0xDDC0,0x99,0x80,0x66,0xA4,0xFB },
{ "BCS $DDCA ", 0xDDC2,0x99,0x80,0x66,0xA4,0xFB },
{ "CMP #$99 ", 0xDDC4,0x99,0x80,0x66,0xA4,0xFB },
{ "BNE $DDCA ", 0xDDC6,0x99,0x80,0x66,0x27,0xFB },
{ "BVC $DDCE ", 0xDDC8,0x99,0x80,0x66,0x27,0xFB },
{ "LDY #$25 ", 0xDDCE,0x99,0x80,0x66,0x27,0xFB },
{ "LDX #$78 ", 0xDDD0,0x99,0x80,0x25,0x25,0xFB },
{ "JSR $F990 ", 0xDDD2,0x99,0x78,0x25,0x25,0xFB },
{ "LDX #$55 ", 0xF990,0x99,0x78,0x25,0x25,0xF9 },
{ "LDA #$FF ", 0xF992,0x99,0x55,0x25,0x25,0xF9 },
{ "STA $01 = FF ", 0xF994,0xFF,0x55,0x25,0xA5,0xF9 },
{ "NOP ", 0xF996,0xFF,0x55,0x25,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF997,0xFF,0x55,0x25,0xA5,0xF9 },
{ "SEC ", 0xF999,0xFF,0x55,0x25,0xE5,0xF9 },
{ "LDA #$01 ", 0xF99A,0xFF,0x55,0x25,0xE5,0xF9 },
{ "RTS ", 0xF99C,0x01,0x55,0x25,0x65,0xF9 },
{ "STA $00,X @ 55 = 00 ", 0xDDD5,0x01,0x55,0x25,0x65,0xFB },
{ "LSR $00,X @ 55 = 01 ", 0xDDD7,0x01,0x55,0x25,0x65,0xFB },
{ "LDA $00,X @ 55 = 00 ", 0xDDD9,0x01,0x55,0x25,0x67,0xFB },
{ "JSR $F99D ", 0xDDDB,0x00,0x55,0x25,0x67,0xFB },
{ "BCC $F9BA ", 0xF99D,0x00,0x55,0x25,0x67,0xF9 },
{ "BNE $F9BA ", 0xF99F,0x00,0x55,0x25,0x67,0xF9 },
{ "BMI $F9BA ", 0xF9A1,0x00,0x55,0x25,0x67,0xF9 },
{ "BVC $F9BA ", 0xF9A3,0x00,0x55,0x25,0x67,0xF9 },
{ "CMP #$00 ", 0xF9A5,0x00,0x55,0x25,0x67,0xF9 },
{ "BNE $F9BA ", 0xF9A7,0x00,0x55,0x25,0x67,0xF9 },
{ "CLV ", 0xF9A9,0x00,0x55,0x25,0x67,0xF9 },
{ "LDA #$AA ", 0xF9AA,0x00,0x55,0x25,0x27,0xF9 },
{ "RTS ", 0xF9AC,0xAA,0x55,0x25,0xA5,0xF9 },
{ "INY ", 0xDDDE,0xAA,0x55,0x25,0xA5,0xFB },
{ "STA $00,X @ 55 = 00 ", 0xDDDF,0xAA,0x55,0x26,0x25,0xFB },
{ "LSR $00,X @ 55 = AA ", 0xDDE1,0xAA,0x55,0x26,0x25,0xFB },
{ "LDA $00,X @ 55 = 55 ", 0xDDE3,0xAA,0x55,0x26,0x24,0xFB },
{ "JSR $F9AD ", 0xDDE5,0x55,0x55,0x26,0x24,0xFB },
{ "BCS $F9BA ", 0xF9AD,0x55,0x55,0x26,0x24,0xF9 },
{ "BEQ $F9BA ", 0xF9AF,0x55,0x55,0x26,0x24,0xF9 },
{ "BMI $F9BA ", 0xF9B1,0x55,0x55,0x26,0x24,0xF9 },
{ "BVS $F9BA ", 0xF9B3,0x55,0x55,0x26,0x24,0xF9 },
{ "CMP #$55 ", 0xF9B5,0x55,0x55,0x26,0x24,0xF9 },
{ "BNE $F9BA ", 0xF9B7,0x55,0x55,0x26,0x27,0xF9 },
{ "RTS ", 0xF9B9,0x55,0x55,0x26,0x27,0xF9 },
{ "INY ", 0xDDE8,0x55,0x55,0x26,0x27,0xFB },
{ "JSR $F9BD ", 0xDDE9,0x55,0x55,0x27,0x25,0xFB },
{ "BIT $01 = FF ", 0xF9BD,0x55,0x55,0x27,0x25,0xF9 },
{ "SEC ", 0xF9BF,0x55,0x55,0x27,0xE5,0xF9 },
{ "LDA #$80 ", 0xF9C0,0x55,0x55,0x27,0xE5,0xF9 },
{ "RTS ", 0xF9C2,0x80,0x55,0x27,0xE5,0xF9 },
{ "STA $00,X @ 55 = 55 ", 0xDDEC,0x80,0x55,0x27,0xE5,0xFB },
{ "ASL $00,X @ 55 = 80 ", 0xDDEE,0x80,0x55,0x27,0xE5,0xFB },
{ "LDA $00,X @ 55 = 00 ", 0xDDF0,0x80,0x55,0x27,0x67,0xFB },
{ "JSR $F9C3 ", 0xDDF2,0x00,0x55,0x27,0x67,0xFB },
{ "BCC $F9E1 ", 0xF9C3,0x00,0x55,0x27,0x67,0xF9 },
{ "BNE $F9E1 ", 0xF9C5,0x00,0x55,0x27,0x67,0xF9 },
{ "BMI $F9E1 ", 0xF9C7,0x00,0x55,0x27,0x67,0xF9 },
{ "BVC $F9E1 ", 0xF9C9,0x00,0x55,0x27,0x67,0xF9 },
{ "CMP #$00 ", 0xF9CB,0x00,0x55,0x27,0x67,0xF9 },
{ "BNE $F9E1 ", 0xF9CD,0x00,0x55,0x27,0x67,0xF9 },
{ "CLV ", 0xF9CF,0x00,0x55,0x27,0x67,0xF9 },
{ "LDA #$55 ", 0xF9D0,0x00,0x55,0x27,0x27,0xF9 },
{ "SEC ", 0xF9D2,0x55,0x55,0x27,0x25,0xF9 },
{ "RTS ", 0xF9D3,0x55,0x55,0x27,0x25,0xF9 },
{ "INY ", 0xDDF5,0x55,0x55,0x27,0x25,0xFB },
{ "STA $00,X @ 55 = 00 ", 0xDDF6,0x55,0x55,0x28,0x25,0xFB },
{ "ASL $00,X @ 55 = 55 ", 0xDDF8,0x55,0x55,0x28,0x25,0xFB },
{ "LDA $00,X @ 55 = AA ", 0xDDFA,0x55,0x55,0x28,0xA4,0xFB },
{ "JSR $F9D4 ", 0xDDFC,0xAA,0x55,0x28,0xA4,0xFB },
{ "BCS $F9E1 ", 0xF9D4,0xAA,0x55,0x28,0xA4,0xF9 },
{ "BEQ $F9E1 ", 0xF9D6,0xAA,0x55,0x28,0xA4,0xF9 },
{ "BPL $F9E1 ", 0xF9D8,0xAA,0x55,0x28,0xA4,0xF9 },
{ "BVS $F9E1 ", 0xF9DA,0xAA,0x55,0x28,0xA4,0xF9 },
{ "CMP #$AA ", 0xF9DC,0xAA,0x55,0x28,0xA4,0xF9 },
{ "BNE $F9E1 ", 0xF9DE,0xAA,0x55,0x28,0x27,0xF9 },
{ "RTS ", 0xF9E0,0xAA,0x55,0x28,0x27,0xF9 },
{ "INY ", 0xDDFF,0xAA,0x55,0x28,0x27,0xFB },
{ "JSR $F9E4 ", 0xDE00,0xAA,0x55,0x29,0x25,0xFB },
{ "BIT $01 = FF ", 0xF9E4,0xAA,0x55,0x29,0x25,0xF9 },
{ "SEC ", 0xF9E6,0xAA,0x55,0x29,0xE5,0xF9 },
{ "LDA #$01 ", 0xF9E7,0xAA,0x55,0x29,0xE5,0xF9 },
{ "RTS ", 0xF9E9,0x01,0x55,0x29,0x65,0xF9 },
{ "STA $00,X @ 55 = AA ", 0xDE03,0x01,0x55,0x29,0x65,0xFB },
{ "ROR $00,X @ 55 = 01 ", 0xDE05,0x01,0x55,0x29,0x65,0xFB },
{ "LDA $00,X @ 55 = 80 ", 0xDE07,0x01,0x55,0x29,0xE5,0xFB },
{ "JSR $F9EA ", 0xDE09,0x80,0x55,0x29,0xE5,0xFB },
{ "BCC $FA08 ", 0xF9EA,0x80,0x55,0x29,0xE5,0xF9 },
{ "BEQ $FA08 ", 0xF9EC,0x80,0x55,0x29,0xE5,0xF9 },
{ "BPL $FA08 ", 0xF9EE,0x80,0x55,0x29,0xE5,0xF9 },
{ "BVC $FA08 ", 0xF9F0,0x80,0x55,0x29,0xE5,0xF9 },
{ "CMP #$80 ", 0xF9F2,0x80,0x55,0x29,0xE5,0xF9 },
{ "BNE $FA08 ", 0xF9F4,0x80,0x55,0x29,0x67,0xF9 },
{ "CLV ", 0xF9F6,0x80,0x55,0x29,0x67,0xF9 },
{ "CLC ", 0xF9F7,0x80,0x55,0x29,0x27,0xF9 },
{ "LDA #$55 ", 0xF9F8,0x80,0x55,0x29,0x26,0xF9 },
{ "RTS ", 0xF9FA,0x55,0x55,0x29,0x24,0xF9 },
{ "INY ", 0xDE0C,0x55,0x55,0x29,0x24,0xFB },
{ "STA $00,X @ 55 = 80 ", 0xDE0D,0x55,0x55,0x2A,0x24,0xFB },
{ "ROR $00,X @ 55 = 55 ", 0xDE0F,0x55,0x55,0x2A,0x24,0xFB },
{ "LDA $00,X @ 55 = 2A ", 0xDE11,0x55,0x55,0x2A,0x25,0xFB },
{ "JSR $F9FB ", 0xDE13,0x2A,0x55,0x2A,0x25,0xFB },
{ "BCC $FA08 ", 0xF9FB,0x2A,0x55,0x2A,0x25,0xF9 },
{ "BEQ $FA08 ", 0xF9FD,0x2A,0x55,0x2A,0x25,0xF9 },
{ "BMI $FA08 ", 0xF9FF,0x2A,0x55,0x2A,0x25,0xF9 },
{ "BVS $FA08 ", 0xFA01,0x2A,0x55,0x2A,0x25,0xF9 },
{ "CMP #$2A ", 0xFA03,0x2A,0x55,0x2A,0x25,0xF9 },
{ "BNE $FA08 ", 0xFA05,0x2A,0x55,0x2A,0x27,0xF9 },
{ "RTS ", 0xFA07,0x2A,0x55,0x2A,0x27,0xF9 },
{ "INY ", 0xDE16,0x2A,0x55,0x2A,0x27,0xFB },
{ "JSR $FA0A ", 0xDE17,0x2A,0x55,0x2B,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA0A,0x2A,0x55,0x2B,0x25,0xF9 },
{ "SEC ", 0xFA0C,0x2A,0x55,0x2B,0xE5,0xF9 },
{ "LDA #$80 ", 0xFA0D,0x2A,0x55,0x2B,0xE5,0xF9 },
{ "RTS ", 0xFA0F,0x80,0x55,0x2B,0xE5,0xF9 },
{ "STA $00,X @ 55 = 2A ", 0xDE1A,0x80,0x55,0x2B,0xE5,0xFB },
{ "ROL $00,X @ 55 = 80 ", 0xDE1C,0x80,0x55,0x2B,0xE5,0xFB },
{ "LDA $00,X @ 55 = 01 ", 0xDE1E,0x80,0x55,0x2B,0x65,0xFB },
{ "JSR $FA10 ", 0xDE20,0x01,0x55,0x2B,0x65,0xFB },
{ "BCC $FA2E ", 0xFA10,0x01,0x55,0x2B,0x65,0xF9 },
{ "BEQ $FA2E ", 0xFA12,0x01,0x55,0x2B,0x65,0xF9 },
{ "BMI $FA2E ", 0xFA14,0x01,0x55,0x2B,0x65,0xF9 },
{ "BVC $FA2E ", 0xFA16,0x01,0x55,0x2B,0x65,0xF9 },
{ "CMP #$01 ", 0xFA18,0x01,0x55,0x2B,0x65,0xF9 },
{ "BNE $FA2E ", 0xFA1A,0x01,0x55,0x2B,0x67,0xF9 },
{ "CLV ", 0xFA1C,0x01,0x55,0x2B,0x67,0xF9 },
{ "CLC ", 0xFA1D,0x01,0x55,0x2B,0x27,0xF9 },
{ "LDA #$55 ", 0xFA1E,0x01,0x55,0x2B,0x26,0xF9 },
{ "RTS ", 0xFA20,0x55,0x55,0x2B,0x24,0xF9 },
{ "INY ", 0xDE23,0x55,0x55,0x2B,0x24,0xFB },
{ "STA $00,X @ 55 = 01 ", 0xDE24,0x55,0x55,0x2C,0x24,0xFB },
{ "ROL $00,X @ 55 = 55 ", 0xDE26,0x55,0x55,0x2C,0x24,0xFB },
{ "LDA $00,X @ 55 = AA ", 0xDE28,0x55,0x55,0x2C,0xA4,0xFB },
{ "JSR $FA21 ", 0xDE2A,0xAA,0x55,0x2C,0xA4,0xFB },
{ "BCS $FA2E ", 0xFA21,0xAA,0x55,0x2C,0xA4,0xF9 },
{ "BEQ $FA2E ", 0xFA23,0xAA,0x55,0x2C,0xA4,0xF9 },
{ "BPL $FA2E ", 0xFA25,0xAA,0x55,0x2C,0xA4,0xF9 },
{ "BVS $FA2E ", 0xFA27,0xAA,0x55,0x2C,0xA4,0xF9 },
{ "CMP #$AA ", 0xFA29,0xAA,0x55,0x2C,0xA4,0xF9 },
{ "BNE $FA2E ", 0xFA2B,0xAA,0x55,0x2C,0x27,0xF9 },
{ "RTS ", 0xFA2D,0xAA,0x55,0x2C,0x27,0xF9 },
{ "LDA #$FF ", 0xDE2D,0xAA,0x55,0x2C,0x27,0xFB },
{ "STA $00,X @ 55 = AA ", 0xDE2F,0xFF,0x55,0x2C,0xA5,0xFB },
{ "STA $01 = FF ", 0xDE31,0xFF,0x55,0x2C,0xA5,0xFB },
{ "BIT $01 = FF ", 0xDE33,0xFF,0x55,0x2C,0xA5,0xFB },
{ "SEC ", 0xDE35,0xFF,0x55,0x2C,0xE5,0xFB },
{ "INC $00,X @ 55 = FF ", 0xDE36,0xFF,0x55,0x2C,0xE5,0xFB },
{ "BNE $DE46 ", 0xDE38,0xFF,0x55,0x2C,0x67,0xFB },
{ "BMI $DE46 ", 0xDE3A,0xFF,0x55,0x2C,0x67,0xFB },
{ "BVC $DE46 ", 0xDE3C,0xFF,0x55,0x2C,0x67,0xFB },
{ "BCC $DE46 ", 0xDE3E,0xFF,0x55,0x2C,0x67,0xFB },
{ "LDA $00,X @ 55 = 00 ", 0xDE40,0xFF,0x55,0x2C,0x67,0xFB },
{ "CMP #$00 ", 0xDE42,0x00,0x55,0x2C,0x67,0xFB },
{ "BEQ $DE4A ", 0xDE44,0x00,0x55,0x2C,0x67,0xFB },
{ "LDA #$7F ", 0xDE4A,0x00,0x55,0x2C,0x67,0xFB },
{ "STA $00,X @ 55 = 00 ", 0xDE4C,0x7F,0x55,0x2C,0x65,0xFB },
{ "CLV ", 0xDE4E,0x7F,0x55,0x2C,0x65,0xFB },
{ "CLC ", 0xDE4F,0x7F,0x55,0x2C,0x25,0xFB },
{ "INC $00,X @ 55 = 7F ", 0xDE50,0x7F,0x55,0x2C,0x24,0xFB },
{ "BEQ $DE60 ", 0xDE52,0x7F,0x55,0x2C,0xA4,0xFB },
{ "BPL $DE60 ", 0xDE54,0x7F,0x55,0x2C,0xA4,0xFB },
{ "BVS $DE60 ", 0xDE56,0x7F,0x55,0x2C,0xA4,0xFB },
{ "BCS $DE60 ", 0xDE58,0x7F,0x55,0x2C,0xA4,0xFB },
{ "LDA $00,X @ 55 = 80 ", 0xDE5A,0x7F,0x55,0x2C,0xA4,0xFB },
{ "CMP #$80 ", 0xDE5C,0x80,0x55,0x2C,0xA4,0xFB },
{ "BEQ $DE64 ", 0xDE5E,0x80,0x55,0x2C,0x27,0xFB },
{ "LDA #$00 ", 0xDE64,0x80,0x55,0x2C,0x27,0xFB },
{ "STA $00,X @ 55 = 80 ", 0xDE66,0x00,0x55,0x2C,0x27,0xFB },
{ "BIT $01 = FF ", 0xDE68,0x00,0x55,0x2C,0x27,0xFB },
{ "SEC ", 0xDE6A,0x00,0x55,0x2C,0xE7,0xFB },
{ "DEC $00,X @ 55 = 00 ", 0xDE6B,0x00,0x55,0x2C,0xE7,0xFB },
{ "BEQ $DE7B ", 0xDE6D,0x00,0x55,0x2C,0xE5,0xFB },
{ "BPL $DE7B ", 0xDE6F,0x00,0x55,0x2C,0xE5,0xFB },
{ "BVC $DE7B ", 0xDE71,0x00,0x55,0x2C,0xE5,0xFB },
{ "BCC $DE7B ", 0xDE73,0x00,0x55,0x2C,0xE5,0xFB },
{ "LDA $00,X @ 55 = FF ", 0xDE75,0x00,0x55,0x2C,0xE5,0xFB },
{ "CMP #$FF ", 0xDE77,0xFF,0x55,0x2C,0xE5,0xFB },
{ "BEQ $DE7F ", 0xDE79,0xFF,0x55,0x2C,0x67,0xFB },
{ "LDA #$80 ", 0xDE7F,0xFF,0x55,0x2C,0x67,0xFB },
{ "STA $00,X @ 55 = FF ", 0xDE81,0x80,0x55,0x2C,0xE5,0xFB },
{ "CLV ", 0xDE83,0x80,0x55,0x2C,0xE5,0xFB },
{ "CLC ", 0xDE84,0x80,0x55,0x2C,0xA5,0xFB },
{ "DEC $00,X @ 55 = 80 ", 0xDE85,0x80,0x55,0x2C,0xA4,0xFB },
{ "BEQ $DE95 ", 0xDE87,0x80,0x55,0x2C,0x24,0xFB },
{ "BMI $DE95 ", 0xDE89,0x80,0x55,0x2C,0x24,0xFB },
{ "BVS $DE95 ", 0xDE8B,0x80,0x55,0x2C,0x24,0xFB },
{ "BCS $DE95 ", 0xDE8D,0x80,0x55,0x2C,0x24,0xFB },
{ "LDA $00,X @ 55 = 7F ", 0xDE8F,0x80,0x55,0x2C,0x24,0xFB },
{ "CMP #$7F ", 0xDE91,0x7F,0x55,0x2C,0x24,0xFB },
{ "BEQ $DE99 ", 0xDE93,0x7F,0x55,0x2C,0x27,0xFB },
{ "LDA #$01 ", 0xDE99,0x7F,0x55,0x2C,0x27,0xFB },
{ "STA $00,X @ 55 = 7F ", 0xDE9B,0x01,0x55,0x2C,0x25,0xFB },
{ "DEC $00,X @ 55 = 01 ", 0xDE9D,0x01,0x55,0x2C,0x25,0xFB },
{ "BEQ $DEA5 ", 0xDE9F,0x01,0x55,0x2C,0x27,0xFB },
{ "LDA #$33 ", 0xDEA5,0x01,0x55,0x2C,0x27,0xFB },
{ "STA $78 = 7F ", 0xDEA7,0x33,0x55,0x2C,0x25,0xFB },
{ "LDA #$44 ", 0xDEA9,0x33,0x55,0x2C,0x25,0xFB },
{ "LDY #$78 ", 0xDEAB,0x44,0x55,0x2C,0x25,0xFB },
{ "LDX #$00 ", 0xDEAD,0x44,0x55,0x78,0x25,0xFB },
{ "SEC ", 0xDEAF,0x44,0x00,0x78,0x27,0xFB },
{ "BIT $01 = FF ", 0xDEB0,0x44,0x00,0x78,0x27,0xFB },
{ "LDX $00,Y @ 78 = 33 ", 0xDEB2,0x44,0x00,0x78,0xE5,0xFB },
{ "BCC $DEC8 ", 0xDEB4,0x44,0x33,0x78,0x65,0xFB },
{ "BVC $DEC8 ", 0xDEB6,0x44,0x33,0x78,0x65,0xFB },
{ "BMI $DEC8 ", 0xDEB8,0x44,0x33,0x78,0x65,0xFB },
{ "BEQ $DEC8 ", 0xDEBA,0x44,0x33,0x78,0x65,0xFB },
{ "CPX #$33 ", 0xDEBC,0x44,0x33,0x78,0x65,0xFB },
{ "BNE $DEC8 ", 0xDEBE,0x44,0x33,0x78,0x67,0xFB },
{ "CPY #$78 ", 0xDEC0,0x44,0x33,0x78,0x67,0xFB },
{ "BNE $DEC8 ", 0xDEC2,0x44,0x33,0x78,0x67,0xFB },
{ "CMP #$44 ", 0xDEC4,0x44,0x33,0x78,0x67,0xFB },
{ "BEQ $DECC ", 0xDEC6,0x44,0x33,0x78,0x67,0xFB },
{ "LDA #$97 ", 0xDECC,0x44,0x33,0x78,0x67,0xFB },
{ "STA $7F = 00 ", 0xDECE,0x97,0x33,0x78,0xE5,0xFB },
{ "LDA #$47 ", 0xDED0,0x97,0x33,0x78,0xE5,0xFB },
{ "LDY #$FF ", 0xDED2,0x47,0x33,0x78,0x65,0xFB },
{ "LDX #$00 ", 0xDED4,0x47,0x33,0xFF,0xE5,0xFB },
{ "CLC ", 0xDED6,0x47,0x00,0xFF,0x67,0xFB },
{ "CLV ", 0xDED7,0x47,0x00,0xFF,0x66,0xFB },
{ "LDX $80,Y @ 7F = 97 ", 0xDED8,0x47,0x00,0xFF,0x26,0xFB },
{ "BCS $DEEE ", 0xDEDA,0x47,0x97,0xFF,0xA4,0xFB },
{ "BVS $DEEE ", 0xDEDC,0x47,0x97,0xFF,0xA4,0xFB },
{ "BPL $DEEE ", 0xDEDE,0x47,0x97,0xFF,0xA4,0xFB },
{ "BEQ $DEEE ", 0xDEE0,0x47,0x97,0xFF,0xA4,0xFB },
{ "CPX #$97 ", 0xDEE2,0x47,0x97,0xFF,0xA4,0xFB },
{ "BNE $DEEE ", 0xDEE4,0x47,0x97,0xFF,0x27,0xFB },
{ "CPY #$FF ", 0xDEE6,0x47,0x97,0xFF,0x27,0xFB },
{ "BNE $DEEE ", 0xDEE8,0x47,0x97,0xFF,0x27,0xFB },
{ "CMP #$47 ", 0xDEEA,0x47,0x97,0xFF,0x27,0xFB },
{ "BEQ $DEF2 ", 0xDEEC,0x47,0x97,0xFF,0x27,0xFB },
{ "LDA #$00 ", 0xDEF2,0x47,0x97,0xFF,0x27,0xFB },
{ "STA $7F = 97 ", 0xDEF4,0x00,0x97,0xFF,0x27,0xFB },
{ "LDA #$47 ", 0xDEF6,0x00,0x97,0xFF,0x27,0xFB },
{ "LDY #$FF ", 0xDEF8,0x47,0x97,0xFF,0x25,0xFB },
{ "LDX #$69 ", 0xDEFA,0x47,0x97,0xFF,0xA5,0xFB },
{ "CLC ", 0xDEFC,0x47,0x69,0xFF,0x25,0xFB },
{ "CLV ", 0xDEFD,0x47,0x69,0xFF,0x24,0xFB },
{ "STX $80,Y @ 7F = 00 ", 0xDEFE,0x47,0x69,0xFF,0x24,0xFB },
{ "BCS $DF1A ", 0xDF00,0x47,0x69,0xFF,0x24,0xFB },
{ "BVS $DF1A ", 0xDF02,0x47,0x69,0xFF,0x24,0xFB },
{ "BMI $DF1A ", 0xDF04,0x47,0x69,0xFF,0x24,0xFB },
{ "BEQ $DF1A ", 0xDF06,0x47,0x69,0xFF,0x24,0xFB },
{ "CPX #$69 ", 0xDF08,0x47,0x69,0xFF,0x24,0xFB },
{ "BNE $DF1A ", 0xDF0A,0x47,0x69,0xFF,0x27,0xFB },
{ "CPY #$FF ", 0xDF0C,0x47,0x69,0xFF,0x27,0xFB },
{ "BNE $DF1A ", 0xDF0E,0x47,0x69,0xFF,0x27,0xFB },
{ "CMP #$47 ", 0xDF10,0x47,0x69,0xFF,0x27,0xFB },
{ "BNE $DF1A ", 0xDF12,0x47,0x69,0xFF,0x27,0xFB },
{ "LDA $7F = 69 ", 0xDF14,0x47,0x69,0xFF,0x27,0xFB },
{ "CMP #$69 ", 0xDF16,0x69,0x69,0xFF,0x25,0xFB },
{ "BEQ $DF1E ", 0xDF18,0x69,0x69,0xFF,0x27,0xFB },
{ "LDA #$F5 ", 0xDF1E,0x69,0x69,0xFF,0x27,0xFB },
{ "STA $4F = 00 ", 0xDF20,0xF5,0x69,0xFF,0xA5,0xFB },
{ "LDA #$47 ", 0xDF22,0xF5,0x69,0xFF,0xA5,0xFB },
{ "LDY #$4F ", 0xDF24,0x47,0x69,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xDF26,0x47,0x69,0x4F,0x25,0xFB },
{ "LDX #$00 ", 0xDF28,0x47,0x69,0x4F,0xE5,0xFB },
{ "SEC ", 0xDF2A,0x47,0x00,0x4F,0x67,0xFB },
{ "STX $00,Y @ 4F = F5 ", 0xDF2B,0x47,0x00,0x4F,0x67,0xFB },
{ "BCC $DF45 ", 0xDF2D,0x47,0x00,0x4F,0x67,0xFB },
{ "BVC $DF45 ", 0xDF2F,0x47,0x00,0x4F,0x67,0xFB },
{ "BMI $DF45 ", 0xDF31,0x47,0x00,0x4F,0x67,0xFB },
{ "BNE $DF45 ", 0xDF33,0x47,0x00,0x4F,0x67,0xFB },
{ "CPX #$00 ", 0xDF35,0x47,0x00,0x4F,0x67,0xFB },
{ "BNE $DF45 ", 0xDF37,0x47,0x00,0x4F,0x67,0xFB },
{ "CPY #$4F ", 0xDF39,0x47,0x00,0x4F,0x67,0xFB },
{ "BNE $DF45 ", 0xDF3B,0x47,0x00,0x4F,0x67,0xFB },
{ "CMP #$47 ", 0xDF3D,0x47,0x00,0x4F,0x67,0xFB },
{ "BNE $DF45 ", 0xDF3F,0x47,0x00,0x4F,0x67,0xFB },
{ "LDA $4F = 00 ", 0xDF41,0x47,0x00,0x4F,0x67,0xFB },
{ "BEQ $DF49 ", 0xDF43,0x00,0x00,0x4F,0x67,0xFB },
{ "RTS ", 0xDF49,0x00,0x00,0x4F,0x67,0xFB },
{ "JSR $E1AA ", 0xC62C,0x00,0x00,0x4F,0x67,0xFD },
{ "LDA #$FF ", 0xE1AA,0x00,0x00,0x4F,0x67,0xFB },
{ "STA $01 = FF ", 0xE1AC,0xFF,0x00,0x4F,0xE5,0xFB },
{ "LDA #$AA ", 0xE1AE,0xFF,0x00,0x4F,0xE5,0xFB },
{ "STA $0633 = 00 ", 0xE1B0,0xAA,0x00,0x4F,0xE5,0xFB },
{ "LDA #$BB ", 0xE1B3,0xAA,0x00,0x4F,0xE5,0xFB },
{ "STA $0689 = 00 ", 0xE1B5,0xBB,0x00,0x4F,0xE5,0xFB },
{ "LDX #$00 ", 0xE1B8,0xBB,0x00,0x4F,0xE5,0xFB },
{ "LDA #$66 ", 0xE1BA,0xBB,0x00,0x4F,0x67,0xFB },
{ "BIT $01 = FF ", 0xE1BC,0x66,0x00,0x4F,0x65,0xFB },
{ "SEC ", 0xE1BE,0x66,0x00,0x4F,0xE5,0xFB },
{ "LDY #$00 ", 0xE1BF,0x66,0x00,0x4F,0xE5,0xFB },
{ "LDY $0633,X @ 0633 = AA ", 0xE1C1,0x66,0x00,0x00,0x67,0xFB },
{ "BPL $E1D8 ", 0xE1C4,0x66,0x00,0xAA,0xE5,0xFB },
{ "BEQ $E1D8 ", 0xE1C6,0x66,0x00,0xAA,0xE5,0xFB },
{ "BVC $E1D8 ", 0xE1C8,0x66,0x00,0xAA,0xE5,0xFB },
{ "BCC $E1D8 ", 0xE1CA,0x66,0x00,0xAA,0xE5,0xFB },
{ "CMP #$66 ", 0xE1CC,0x66,0x00,0xAA,0xE5,0xFB },
{ "BNE $E1D8 ", 0xE1CE,0x66,0x00,0xAA,0x67,0xFB },
{ "CPX #$00 ", 0xE1D0,0x66,0x00,0xAA,0x67,0xFB },
{ "BNE $E1D8 ", 0xE1D2,0x66,0x00,0xAA,0x67,0xFB },
{ "CPY #$AA ", 0xE1D4,0x66,0x00,0xAA,0x67,0xFB },
{ "BEQ $E1DC ", 0xE1D6,0x66,0x00,0xAA,0x67,0xFB },
{ "LDX #$8A ", 0xE1DC,0x66,0x00,0xAA,0x67,0xFB },
{ "LDA #$66 ", 0xE1DE,0x66,0x8A,0xAA,0xE5,0xFB },
{ "CLV ", 0xE1E0,0x66,0x8A,0xAA,0x65,0xFB },
{ "CLC ", 0xE1E1,0x66,0x8A,0xAA,0x25,0xFB },
{ "LDY #$00 ", 0xE1E2,0x66,0x8A,0xAA,0x24,0xFB },
{ "LDY $05FF,X @ 0689 = BB ", 0xE1E4,0x66,0x8A,0x00,0x26,0xFB },
{ "BPL $E1FB ", 0xE1E7,0x66,0x8A,0xBB,0xA4,0xFB },
{ "BEQ $E1FB ", 0xE1E9,0x66,0x8A,0xBB,0xA4,0xFB },
{ "BVS $E1FB ", 0xE1EB,0x66,0x8A,0xBB,0xA4,0xFB },
{ "BCS $E1FB ", 0xE1ED,0x66,0x8A,0xBB,0xA4,0xFB },
{ "CPY #$BB ", 0xE1EF,0x66,0x8A,0xBB,0xA4,0xFB },
{ "BNE $E1FB ", 0xE1F1,0x66,0x8A,0xBB,0x27,0xFB },
{ "CMP #$66 ", 0xE1F3,0x66,0x8A,0xBB,0x27,0xFB },
{ "BNE $E1FB ", 0xE1F5,0x66,0x8A,0xBB,0x27,0xFB },
{ "CPX #$8A ", 0xE1F7,0x66,0x8A,0xBB,0x27,0xFB },
{ "BEQ $E1FF ", 0xE1F9,0x66,0x8A,0xBB,0x27,0xFB },
{ "LDY #$53 ", 0xE1FF,0x66,0x8A,0xBB,0x27,0xFB },
{ "LDA #$AA ", 0xE201,0x66,0x8A,0x53,0x25,0xFB },
{ "LDX #$78 ", 0xE203,0xAA,0x8A,0x53,0xA5,0xFB },
{ "STA $0678 = 00 ", 0xE205,0xAA,0x78,0x53,0x25,0xFB },
{ "JSR $F7B6 ", 0xE208,0xAA,0x78,0x53,0x25,0xFB },
{ "CLC ", 0xF7B6,0xAA,0x78,0x53,0x25,0xF9 },
{ "LDA #$FF ", 0xF7B7,0xAA,0x78,0x53,0x24,0xF9 },
{ "STA $01 = FF ", 0xF7B9,0xFF,0x78,0x53,0xA4,0xF9 },
{ "BIT $01 = FF ", 0xF7BB,0xFF,0x78,0x53,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7BD,0xFF,0x78,0x53,0xE4,0xF9 },
{ "RTS ", 0xF7BF,0x55,0x78,0x53,0x64,0xF9 },
{ "ORA $0600,X @ 0678 = AA ", 0xE20B,0x55,0x78,0x53,0x64,0xFB },
{ "JSR $F7C0 ", 0xE20E,0xFF,0x78,0x53,0xE4,0xFB },
{ "BCS $F7CB ", 0xF7C0,0xFF,0x78,0x53,0xE4,0xF9 },
{ "BPL $F7CB ", 0xF7C2,0xFF,0x78,0x53,0xE4,0xF9 },
{ "CMP #$FF ", 0xF7C4,0xFF,0x78,0x53,0xE4,0xF9 },
{ "BNE $F7CB ", 0xF7C6,0xFF,0x78,0x53,0x67,0xF9 },
{ "BVC $F7CB ", 0xF7C8,0xFF,0x78,0x53,0x67,0xF9 },
{ "RTS ", 0xF7CA,0xFF,0x78,0x53,0x67,0xF9 },
{ "INY ", 0xE211,0xFF,0x78,0x53,0x67,0xFB },
{ "LDA #$00 ", 0xE212,0xFF,0x78,0x54,0x65,0xFB },
{ "STA $0678 = AA ", 0xE214,0x00,0x78,0x54,0x67,0xFB },
{ "JSR $F7CE ", 0xE217,0x00,0x78,0x54,0x67,0xFB },
{ "SEC ", 0xF7CE,0x00,0x78,0x54,0x67,0xF9 },
{ "CLV ", 0xF7CF,0x00,0x78,0x54,0x67,0xF9 },
{ "LDA #$00 ", 0xF7D0,0x00,0x78,0x54,0x27,0xF9 },
{ "RTS ", 0xF7D2,0x00,0x78,0x54,0x27,0xF9 },
{ "ORA $0600,X @ 0678 = 00 ", 0xE21A,0x00,0x78,0x54,0x27,0xFB },
{ "JSR $F7D3 ", 0xE21D,0x00,0x78,0x54,0x27,0xFB },
{ "BNE $F7DC ", 0xF7D3,0x00,0x78,0x54,0x27,0xF9 },
{ "BVS $F7DC ", 0xF7D5,0x00,0x78,0x54,0x27,0xF9 },
{ "BCC $F7DC ", 0xF7D7,0x00,0x78,0x54,0x27,0xF9 },
{ "BMI $F7DC ", 0xF7D9,0x00,0x78,0x54,0x27,0xF9 },
{ "RTS ", 0xF7DB,0x00,0x78,0x54,0x27,0xF9 },
{ "INY ", 0xE220,0x00,0x78,0x54,0x27,0xFB },
{ "LDA #$AA ", 0xE221,0x00,0x78,0x55,0x25,0xFB },
{ "STA $0678 = 00 ", 0xE223,0xAA,0x78,0x55,0xA5,0xFB },
{ "JSR $F7DF ", 0xE226,0xAA,0x78,0x55,0xA5,0xFB },
{ "CLC ", 0xF7DF,0xAA,0x78,0x55,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF7E0,0xAA,0x78,0x55,0xA4,0xF9 },
{ "LDA #$55 ", 0xF7E2,0xAA,0x78,0x55,0xE4,0xF9 },
{ "RTS ", 0xF7E4,0x55,0x78,0x55,0x64,0xF9 },
{ "AND $0600,X @ 0678 = AA ", 0xE229,0x55,0x78,0x55,0x64,0xFB },
{ "JSR $F7E5 ", 0xE22C,0x00,0x78,0x55,0x66,0xFB },
{ "BNE $F7EE ", 0xF7E5,0x00,0x78,0x55,0x66,0xF9 },
{ "BVC $F7EE ", 0xF7E7,0x00,0x78,0x55,0x66,0xF9 },
{ "BCS $F7EE ", 0xF7E9,0x00,0x78,0x55,0x66,0xF9 },
{ "BMI $F7EE ", 0xF7EB,0x00,0x78,0x55,0x66,0xF9 },
{ "RTS ", 0xF7ED,0x00,0x78,0x55,0x66,0xF9 },
{ "INY ", 0xE22F,0x00,0x78,0x55,0x66,0xFB },
{ "LDA #$EF ", 0xE230,0x00,0x78,0x56,0x64,0xFB },
{ "STA $0678 = AA ", 0xE232,0xEF,0x78,0x56,0xE4,0xFB },
{ "JSR $F7F1 ", 0xE235,0xEF,0x78,0x56,0xE4,0xFB },
{ "SEC ", 0xF7F1,0xEF,0x78,0x56,0xE4,0xF9 },
{ "CLV ", 0xF7F2,0xEF,0x78,0x56,0xE5,0xF9 },
{ "LDA #$F8 ", 0xF7F3,0xEF,0x78,0x56,0xA5,0xF9 },
{ "RTS ", 0xF7F5,0xF8,0x78,0x56,0xA5,0xF9 },
{ "AND $0600,X @ 0678 = EF ", 0xE238,0xF8,0x78,0x56,0xA5,0xFB },
{ "JSR $F7F6 ", 0xE23B,0xE8,0x78,0x56,0xA5,0xFB },
{ "BCC $F801 ", 0xF7F6,0xE8,0x78,0x56,0xA5,0xF9 },
{ "BPL $F801 ", 0xF7F8,0xE8,0x78,0x56,0xA5,0xF9 },
{ "CMP #$E8 ", 0xF7FA,0xE8,0x78,0x56,0xA5,0xF9 },
{ "BNE $F801 ", 0xF7FC,0xE8,0x78,0x56,0x27,0xF9 },
{ "BVS $F801 ", 0xF7FE,0xE8,0x78,0x56,0x27,0xF9 },
{ "RTS ", 0xF800,0xE8,0x78,0x56,0x27,0xF9 },
{ "INY ", 0xE23E,0xE8,0x78,0x56,0x27,0xFB },
{ "LDA #$AA ", 0xE23F,0xE8,0x78,0x57,0x25,0xFB },
{ "STA $0678 = EF ", 0xE241,0xAA,0x78,0x57,0xA5,0xFB },
{ "JSR $F804 ", 0xE244,0xAA,0x78,0x57,0xA5,0xFB },
{ "CLC ", 0xF804,0xAA,0x78,0x57,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF805,0xAA,0x78,0x57,0xA4,0xF9 },
{ "LDA #$5F ", 0xF807,0xAA,0x78,0x57,0xE4,0xF9 },
{ "RTS ", 0xF809,0x5F,0x78,0x57,0x64,0xF9 },
{ "EOR $0600,X @ 0678 = AA ", 0xE247,0x5F,0x78,0x57,0x64,0xFB },
{ "JSR $F80A ", 0xE24A,0xF5,0x78,0x57,0xE4,0xFB },
{ "BCS $F815 ", 0xF80A,0xF5,0x78,0x57,0xE4,0xF9 },
{ "BPL $F815 ", 0xF80C,0xF5,0x78,0x57,0xE4,0xF9 },
{ "CMP #$F5 ", 0xF80E,0xF5,0x78,0x57,0xE4,0xF9 },
{ "BNE $F815 ", 0xF810,0xF5,0x78,0x57,0x67,0xF9 },
{ "BVC $F815 ", 0xF812,0xF5,0x78,0x57,0x67,0xF9 },
{ "RTS ", 0xF814,0xF5,0x78,0x57,0x67,0xF9 },
{ "INY ", 0xE24D,0xF5,0x78,0x57,0x67,0xFB },
{ "LDA #$70 ", 0xE24E,0xF5,0x78,0x58,0x65,0xFB },
{ "STA $0678 = AA ", 0xE250,0x70,0x78,0x58,0x65,0xFB },
{ "JSR $F818 ", 0xE253,0x70,0x78,0x58,0x65,0xFB },
{ "SEC ", 0xF818,0x70,0x78,0x58,0x65,0xF9 },
{ "CLV ", 0xF819,0x70,0x78,0x58,0x65,0xF9 },
{ "LDA #$70 ", 0xF81A,0x70,0x78,0x58,0x25,0xF9 },
{ "RTS ", 0xF81C,0x70,0x78,0x58,0x25,0xF9 },
{ "EOR $0600,X @ 0678 = 70 ", 0xE256,0x70,0x78,0x58,0x25,0xFB },
{ "JSR $F81D ", 0xE259,0x00,0x78,0x58,0x27,0xFB },
{ "BNE $F826 ", 0xF81D,0x00,0x78,0x58,0x27,0xF9 },
{ "BVS $F826 ", 0xF81F,0x00,0x78,0x58,0x27,0xF9 },
{ "BCC $F826 ", 0xF821,0x00,0x78,0x58,0x27,0xF9 },
{ "BMI $F826 ", 0xF823,0x00,0x78,0x58,0x27,0xF9 },
{ "RTS ", 0xF825,0x00,0x78,0x58,0x27,0xF9 },
{ "INY ", 0xE25C,0x00,0x78,0x58,0x27,0xFB },
{ "LDA #$69 ", 0xE25D,0x00,0x78,0x59,0x25,0xFB },
{ "STA $0678 = 70 ", 0xE25F,0x69,0x78,0x59,0x25,0xFB },
{ "JSR $F829 ", 0xE262,0x69,0x78,0x59,0x25,0xFB },
{ "CLC ", 0xF829,0x69,0x78,0x59,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF82A,0x69,0x78,0x59,0x24,0xF9 },
{ "LDA #$00 ", 0xF82C,0x69,0x78,0x59,0xE4,0xF9 },
{ "RTS ", 0xF82E,0x00,0x78,0x59,0x66,0xF9 },
{ "ADC $0600,X @ 0678 = 69 ", 0xE265,0x00,0x78,0x59,0x66,0xFB },
{ "JSR $F82F ", 0xE268,0x69,0x78,0x59,0x24,0xFB },
{ "BMI $F83A ", 0xF82F,0x69,0x78,0x59,0x24,0xF9 },
{ "BCS $F83A ", 0xF831,0x69,0x78,0x59,0x24,0xF9 },
{ "CMP #$69 ", 0xF833,0x69,0x78,0x59,0x24,0xF9 },
{ "BNE $F83A ", 0xF835,0x69,0x78,0x59,0x27,0xF9 },
{ "BVS $F83A ", 0xF837,0x69,0x78,0x59,0x27,0xF9 },
{ "RTS ", 0xF839,0x69,0x78,0x59,0x27,0xF9 },
{ "INY ", 0xE26B,0x69,0x78,0x59,0x27,0xFB },
{ "JSR $F83D ", 0xE26C,0x69,0x78,0x5A,0x25,0xFB },
{ "SEC ", 0xF83D,0x69,0x78,0x5A,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF83E,0x69,0x78,0x5A,0x25,0xF9 },
{ "LDA #$00 ", 0xF840,0x69,0x78,0x5A,0xE5,0xF9 },
{ "RTS ", 0xF842,0x00,0x78,0x5A,0x67,0xF9 },
{ "ADC $0600,X @ 0678 = 69 ", 0xE26F,0x00,0x78,0x5A,0x67,0xFB },
{ "JSR $F843 ", 0xE272,0x6A,0x78,0x5A,0x24,0xFB },
{ "BMI $F84E ", 0xF843,0x6A,0x78,0x5A,0x24,0xF9 },
{ "BCS $F84E ", 0xF845,0x6A,0x78,0x5A,0x24,0xF9 },
{ "CMP #$6A ", 0xF847,0x6A,0x78,0x5A,0x24,0xF9 },
{ "BNE $F84E ", 0xF849,0x6A,0x78,0x5A,0x27,0xF9 },
{ "BVS $F84E ", 0xF84B,0x6A,0x78,0x5A,0x27,0xF9 },
{ "RTS ", 0xF84D,0x6A,0x78,0x5A,0x27,0xF9 },
{ "INY ", 0xE275,0x6A,0x78,0x5A,0x27,0xFB },
{ "LDA #$7F ", 0xE276,0x6A,0x78,0x5B,0x25,0xFB },
{ "STA $0678 = 69 ", 0xE278,0x7F,0x78,0x5B,0x25,0xFB },
{ "JSR $F851 ", 0xE27B,0x7F,0x78,0x5B,0x25,0xFB },
{ "SEC ", 0xF851,0x7F,0x78,0x5B,0x25,0xF9 },
{ "CLV ", 0xF852,0x7F,0x78,0x5B,0x25,0xF9 },
{ "LDA #$7F ", 0xF853,0x7F,0x78,0x5B,0x25,0xF9 },
{ "RTS ", 0xF855,0x7F,0x78,0x5B,0x25,0xF9 },
{ "ADC $0600,X @ 0678 = 7F ", 0xE27E,0x7F,0x78,0x5B,0x25,0xFB },
{ "JSR $F856 ", 0xE281,0xFF,0x78,0x5B,0xE4,0xFB },
{ "BPL $F861 ", 0xF856,0xFF,0x78,0x5B,0xE4,0xF9 },
{ "BCS $F861 ", 0xF858,0xFF,0x78,0x5B,0xE4,0xF9 },
{ "CMP #$FF ", 0xF85A,0xFF,0x78,0x5B,0xE4,0xF9 },
{ "BNE $F861 ", 0xF85C,0xFF,0x78,0x5B,0x67,0xF9 },
{ "BVC $F861 ", 0xF85E,0xFF,0x78,0x5B,0x67,0xF9 },
{ "RTS ", 0xF860,0xFF,0x78,0x5B,0x67,0xF9 },
{ "INY ", 0xE284,0xFF,0x78,0x5B,0x67,0xFB },
{ "LDA #$80 ", 0xE285,0xFF,0x78,0x5C,0x65,0xFB },
{ "STA $0678 = 7F ", 0xE287,0x80,0x78,0x5C,0xE5,0xFB },
{ "JSR $F864 ", 0xE28A,0x80,0x78,0x5C,0xE5,0xFB },
{ "CLC ", 0xF864,0x80,0x78,0x5C,0xE5,0xF9 },
{ "BIT $01 = FF ", 0xF865,0x80,0x78,0x5C,0xE4,0xF9 },
{ "LDA #$7F ", 0xF867,0x80,0x78,0x5C,0xE4,0xF9 },
{ "RTS ", 0xF869,0x7F,0x78,0x5C,0x64,0xF9 },
{ "ADC $0600,X @ 0678 = 80 ", 0xE28D,0x7F,0x78,0x5C,0x64,0xFB },
{ "JSR $F86A ", 0xE290,0xFF,0x78,0x5C,0xA4,0xFB },
{ "BPL $F875 ", 0xF86A,0xFF,0x78,0x5C,0xA4,0xF9 },
{ "BCS $F875 ", 0xF86C,0xFF,0x78,0x5C,0xA4,0xF9 },
{ "CMP #$FF ", 0xF86E,0xFF,0x78,0x5C,0xA4,0xF9 },
{ "BNE $F875 ", 0xF870,0xFF,0x78,0x5C,0x27,0xF9 },
{ "BVS $F875 ", 0xF872,0xFF,0x78,0x5C,0x27,0xF9 },
{ "RTS ", 0xF874,0xFF,0x78,0x5C,0x27,0xF9 },
{ "INY ", 0xE293,0xFF,0x78,0x5C,0x27,0xFB },
{ "JSR $F878 ", 0xE294,0xFF,0x78,0x5D,0x25,0xFB },
{ "SEC ", 0xF878,0xFF,0x78,0x5D,0x25,0xF9 },
{ "CLV ", 0xF879,0xFF,0x78,0x5D,0x25,0xF9 },
{ "LDA #$7F ", 0xF87A,0xFF,0x78,0x5D,0x25,0xF9 },
{ "RTS ", 0xF87C,0x7F,0x78,0x5D,0x25,0xF9 },
{ "ADC $0600,X @ 0678 = 80 ", 0xE297,0x7F,0x78,0x5D,0x25,0xFB },
{ "JSR $F87D ", 0xE29A,0x00,0x78,0x5D,0x27,0xFB },
{ "BNE $F886 ", 0xF87D,0x00,0x78,0x5D,0x27,0xF9 },
{ "BMI $F886 ", 0xF87F,0x00,0x78,0x5D,0x27,0xF9 },
{ "BVS $F886 ", 0xF881,0x00,0x78,0x5D,0x27,0xF9 },
{ "BCC $F886 ", 0xF883,0x00,0x78,0x5D,0x27,0xF9 },
{ "RTS ", 0xF885,0x00,0x78,0x5D,0x27,0xF9 },
{ "INY ", 0xE29D,0x00,0x78,0x5D,0x27,0xFB },
{ "LDA #$40 ", 0xE29E,0x00,0x78,0x5E,0x25,0xFB },
{ "STA $0678 = 80 ", 0xE2A0,0x40,0x78,0x5E,0x25,0xFB },
{ "JSR $F889 ", 0xE2A3,0x40,0x78,0x5E,0x25,0xFB },
{ "BIT $01 = FF ", 0xF889,0x40,0x78,0x5E,0x25,0xF9 },
{ "LDA #$40 ", 0xF88B,0x40,0x78,0x5E,0xE5,0xF9 },
{ "RTS ", 0xF88D,0x40,0x78,0x5E,0x65,0xF9 },
{ "CMP $0600,X @ 0678 = 40 ", 0xE2A6,0x40,0x78,0x5E,0x65,0xFB },
{ "JSR $F88E ", 0xE2A9,0x40,0x78,0x5E,0x67,0xFB },
{ "BMI $F897 ", 0xF88E,0x40,0x78,0x5E,0x67,0xF9 },
{ "BCC $F897 ", 0xF890,0x40,0x78,0x5E,0x67,0xF9 },
{ "BNE $F897 ", 0xF892,0x40,0x78,0x5E,0x67,0xF9 },
{ "BVC $F897 ", 0xF894,0x40,0x78,0x5E,0x67,0xF9 },
{ "RTS ", 0xF896,0x40,0x78,0x5E,0x67,0xF9 },
{ "INY ", 0xE2AC,0x40,0x78,0x5E,0x67,0xFB },
{ "PHA ", 0xE2AD,0x40,0x78,0x5F,0x65,0xFB },
{ "LDA #$3F ", 0xE2AE,0x40,0x78,0x5F,0x65,0xFA },
{ "STA $0678 = 40 ", 0xE2B0,0x3F,0x78,0x5F,0x65,0xFA },
{ "PLA ", 0xE2B3,0x3F,0x78,0x5F,0x65,0xFA },
{ "JSR $F89A ", 0xE2B4,0x40,0x78,0x5F,0x65,0xFB },
{ "CLV ", 0xF89A,0x40,0x78,0x5F,0x65,0xF9 },
{ "RTS ", 0xF89B,0x40,0x78,0x5F,0x25,0xF9 },
{ "CMP $0600,X @ 0678 = 3F ", 0xE2B7,0x40,0x78,0x5F,0x25,0xFB },
{ "JSR $F89C ", 0xE2BA,0x40,0x78,0x5F,0x25,0xFB },
{ "BEQ $F8A5 ", 0xF89C,0x40,0x78,0x5F,0x25,0xF9 },
{ "BMI $F8A5 ", 0xF89E,0x40,0x78,0x5F,0x25,0xF9 },
{ "BCC $F8A5 ", 0xF8A0,0x40,0x78,0x5F,0x25,0xF9 },
{ "BVS $F8A5 ", 0xF8A2,0x40,0x78,0x5F,0x25,0xF9 },
{ "RTS ", 0xF8A4,0x40,0x78,0x5F,0x25,0xF9 },
{ "INY ", 0xE2BD,0x40,0x78,0x5F,0x25,0xFB },
{ "PHA ", 0xE2BE,0x40,0x78,0x60,0x25,0xFB },
{ "LDA #$41 ", 0xE2BF,0x40,0x78,0x60,0x25,0xFA },
{ "STA $0678 = 3F ", 0xE2C1,0x41,0x78,0x60,0x25,0xFA },
{ "PLA ", 0xE2C4,0x41,0x78,0x60,0x25,0xFA },
{ "CMP $0600,X @ 0678 = 41 ", 0xE2C5,0x40,0x78,0x60,0x25,0xFB },
{ "JSR $F8A8 ", 0xE2C8,0x40,0x78,0x60,0xA4,0xFB },
{ "BEQ $F8AF ", 0xF8A8,0x40,0x78,0x60,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AA,0x40,0x78,0x60,0xA4,0xF9 },
{ "BPL $F8AF ", 0xF8AC,0x40,0x78,0x60,0xA4,0xF9 },
{ "RTS ", 0xF8AE,0x40,0x78,0x60,0xA4,0xF9 },
{ "INY ", 0xE2CB,0x40,0x78,0x60,0xA4,0xFB },
{ "PHA ", 0xE2CC,0x40,0x78,0x61,0x24,0xFB },
{ "LDA #$00 ", 0xE2CD,0x40,0x78,0x61,0x24,0xFA },
{ "STA $0678 = 41 ", 0xE2CF,0x00,0x78,0x61,0x26,0xFA },
{ "PLA ", 0xE2D2,0x00,0x78,0x61,0x26,0xFA },
{ "JSR $F8B2 ", 0xE2D3,0x40,0x78,0x61,0x24,0xFB },
{ "LDA #$80 ", 0xF8B2,0x40,0x78,0x61,0x24,0xF9 },
{ "RTS ", 0xF8B4,0x80,0x78,0x61,0xA4,0xF9 },
{ "CMP $0600,X @ 0678 = 00 ", 0xE2D6,0x80,0x78,0x61,0xA4,0xFB },
{ "JSR $F8B5 ", 0xE2D9,0x80,0x78,0x61,0xA5,0xFB },
{ "BEQ $F8BC ", 0xF8B5,0x80,0x78,0x61,0xA5,0xF9 },
{ "BPL $F8BC ", 0xF8B7,0x80,0x78,0x61,0xA5,0xF9 },
{ "BCC $F8BC ", 0xF8B9,0x80,0x78,0x61,0xA5,0xF9 },
{ "RTS ", 0xF8BB,0x80,0x78,0x61,0xA5,0xF9 },
{ "INY ", 0xE2DC,0x80,0x78,0x61,0xA5,0xFB },
{ "PHA ", 0xE2DD,0x80,0x78,0x62,0x25,0xFB },
{ "LDA #$80 ", 0xE2DE,0x80,0x78,0x62,0x25,0xFA },
{ "STA $0678 = 00 ", 0xE2E0,0x80,0x78,0x62,0xA5,0xFA },
{ "PLA ", 0xE2E3,0x80,0x78,0x62,0xA5,0xFA },
{ "CMP $0600,X @ 0678 = 80 ", 0xE2E4,0x80,0x78,0x62,0xA5,0xFB },
{ "JSR $F8BF ", 0xE2E7,0x80,0x78,0x62,0x27,0xFB },
{ "BNE $F8C6 ", 0xF8BF,0x80,0x78,0x62,0x27,0xF9 },
{ "BMI $F8C6 ", 0xF8C1,0x80,0x78,0x62,0x27,0xF9 },
{ "BCC $F8C6 ", 0xF8C3,0x80,0x78,0x62,0x27,0xF9 },
{ "RTS ", 0xF8C5,0x80,0x78,0x62,0x27,0xF9 },
{ "INY ", 0xE2EA,0x80,0x78,0x62,0x27,0xFB },
{ "PHA ", 0xE2EB,0x80,0x78,0x63,0x25,0xFB },
{ "LDA #$81 ", 0xE2EC,0x80,0x78,0x63,0x25,0xFA },
{ "STA $0678 = 80 ", 0xE2EE,0x81,0x78,0x63,0xA5,0xFA },
{ "PLA ", 0xE2F1,0x81,0x78,0x63,0xA5,0xFA },
{ "CMP $0600,X @ 0678 = 81 ", 0xE2F2,0x80,0x78,0x63,0xA5,0xFB },
{ "JSR $F8C9 ", 0xE2F5,0x80,0x78,0x63,0xA4,0xFB },
{ "BCS $F8D0 ", 0xF8C9,0x80,0x78,0x63,0xA4,0xF9 },
{ "BEQ $F8D0 ", 0xF8CB,0x80,0x78,0x63,0xA4,0xF9 },
{ "BPL $F8D0 ", 0xF8CD,0x80,0x78,0x63,0xA4,0xF9 },
{ "RTS ", 0xF8CF,0x80,0x78,0x63,0xA4,0xF9 },
{ "INY ", 0xE2F8,0x80,0x78,0x63,0xA4,0xFB },
{ "PHA ", 0xE2F9,0x80,0x78,0x64,0x24,0xFB },
{ "LDA #$7F ", 0xE2FA,0x80,0x78,0x64,0x24,0xFA },
{ "STA $0678 = 81 ", 0xE2FC,0x7F,0x78,0x64,0x24,0xFA },
{ "PLA ", 0xE2FF,0x7F,0x78,0x64,0x24,0xFA },
{ "CMP $0600,X @ 0678 = 7F ", 0xE300,0x80,0x78,0x64,0xA4,0xFB },
{ "JSR $F8D3 ", 0xE303,0x80,0x78,0x64,0x25,0xFB },
{ "BCC $F8DA ", 0xF8D3,0x80,0x78,0x64,0x25,0xF9 },
{ "BEQ $F8DA ", 0xF8D5,0x80,0x78,0x64,0x25,0xF9 },
{ "BMI $F8DA ", 0xF8D7,0x80,0x78,0x64,0x25,0xF9 },
{ "RTS ", 0xF8D9,0x80,0x78,0x64,0x25,0xF9 },
{ "INY ", 0xE306,0x80,0x78,0x64,0x25,0xFB },
{ "LDA #$40 ", 0xE307,0x80,0x78,0x65,0x25,0xFB },
{ "STA $0678 = 7F ", 0xE309,0x40,0x78,0x65,0x25,0xFB },
{ "JSR $F931 ", 0xE30C,0x40,0x78,0x65,0x25,0xFB },
{ "BIT $01 = FF ", 0xF931,0x40,0x78,0x65,0x25,0xF9 },
{ "LDA #$40 ", 0xF933,0x40,0x78,0x65,0xE5,0xF9 },
{ "SEC ", 0xF935,0x40,0x78,0x65,0x65,0xF9 },
{ "RTS ", 0xF936,0x40,0x78,0x65,0x65,0xF9 },
{ "SBC $0600,X @ 0678 = 40 ", 0xE30F,0x40,0x78,0x65,0x65,0xFB },
{ "JSR $F937 ", 0xE312,0x00,0x78,0x65,0x27,0xFB },
{ "BMI $F944 ", 0xF937,0x00,0x78,0x65,0x27,0xF9 },
{ "BCC $F944 ", 0xF939,0x00,0x78,0x65,0x27,0xF9 },
{ "BNE $F944 ", 0xF93B,0x00,0x78,0x65,0x27,0xF9 },
{ "BVS $F944 ", 0xF93D,0x00,0x78,0x65,0x27,0xF9 },
{ "CMP #$00 ", 0xF93F,0x00,0x78,0x65,0x27,0xF9 },
{ "BNE $F944 ", 0xF941,0x00,0x78,0x65,0x27,0xF9 },
{ "RTS ", 0xF943,0x00,0x78,0x65,0x27,0xF9 },
{ "INY ", 0xE315,0x00,0x78,0x65,0x27,0xFB },
{ "LDA #$3F ", 0xE316,0x00,0x78,0x66,0x25,0xFB },
{ "STA $0678 = 40 ", 0xE318,0x3F,0x78,0x66,0x25,0xFB },
{ "JSR $F947 ", 0xE31B,0x3F,0x78,0x66,0x25,0xFB },
{ "CLV ", 0xF947,0x3F,0x78,0x66,0x25,0xF9 },
{ "SEC ", 0xF948,0x3F,0x78,0x66,0x25,0xF9 },
{ "LDA #$40 ", 0xF949,0x3F,0x78,0x66,0x25,0xF9 },
{ "RTS ", 0xF94B,0x40,0x78,0x66,0x25,0xF9 },
{ "SBC $0600,X @ 0678 = 3F ", 0xE31E,0x40,0x78,0x66,0x25,0xFB },
{ "JSR $F94C ", 0xE321,0x01,0x78,0x66,0x25,0xFB },
{ "BEQ $F959 ", 0xF94C,0x01,0x78,0x66,0x25,0xF9 },
{ "BMI $F959 ", 0xF94E,0x01,0x78,0x66,0x25,0xF9 },
{ "BCC $F959 ", 0xF950,0x01,0x78,0x66,0x25,0xF9 },
{ "BVS $F959 ", 0xF952,0x01,0x78,0x66,0x25,0xF9 },
{ "CMP #$01 ", 0xF954,0x01,0x78,0x66,0x25,0xF9 },
{ "BNE $F959 ", 0xF956,0x01,0x78,0x66,0x27,0xF9 },
{ "RTS ", 0xF958,0x01,0x78,0x66,0x27,0xF9 },
{ "INY ", 0xE324,0x01,0x78,0x66,0x27,0xFB },
{ "LDA #$41 ", 0xE325,0x01,0x78,0x67,0x25,0xFB },
{ "STA $0678 = 3F ", 0xE327,0x41,0x78,0x67,0x25,0xFB },
{ "JSR $F95C ", 0xE32A,0x41,0x78,0x67,0x25,0xFB },
{ "LDA #$40 ", 0xF95C,0x41,0x78,0x67,0x25,0xF9 },
{ "SEC ", 0xF95E,0x40,0x78,0x67,0x25,0xF9 },
{ "BIT $01 = FF ", 0xF95F,0x40,0x78,0x67,0x25,0xF9 },
{ "RTS ", 0xF961,0x40,0x78,0x67,0xE5,0xF9 },
{ "SBC $0600,X @ 0678 = 41 ", 0xE32D,0x40,0x78,0x67,0xE5,0xFB },
{ "JSR $F962 ", 0xE330,0xFF,0x78,0x67,0xA4,0xFB },
{ "BCS $F96F ", 0xF962,0xFF,0x78,0x67,0xA4,0xF9 },
{ "BEQ $F96F ", 0xF964,0xFF,0x78,0x67,0xA4,0xF9 },
{ "BPL $F96F ", 0xF966,0xFF,0x78,0x67,0xA4,0xF9 },
{ "BVS $F96F ", 0xF968,0xFF,0x78,0x67,0xA4,0xF9 },
{ "CMP #$FF ", 0xF96A,0xFF,0x78,0x67,0xA4,0xF9 },
{ "BNE $F96F ", 0xF96C,0xFF,0x78,0x67,0x27,0xF9 },
{ "RTS ", 0xF96E,0xFF,0x78,0x67,0x27,0xF9 },
{ "INY ", 0xE333,0xFF,0x78,0x67,0x27,0xFB },
{ "LDA #$00 ", 0xE334,0xFF,0x78,0x68,0x25,0xFB },
{ "STA $0678 = 41 ", 0xE336,0x00,0x78,0x68,0x27,0xFB },
{ "JSR $F972 ", 0xE339,0x00,0x78,0x68,0x27,0xFB },
{ "CLC ", 0xF972,0x00,0x78,0x68,0x27,0xF9 },
{ "LDA #$80 ", 0xF973,0x00,0x78,0x68,0x26,0xF9 },
{ "RTS ", 0xF975,0x80,0x78,0x68,0xA4,0xF9 },
{ "SBC $0600,X @ 0678 = 00 ", 0xE33C,0x80,0x78,0x68,0xA4,0xFB },
{ "JSR $F976 ", 0xE33F,0x7F,0x78,0x68,0x65,0xFB },
{ "BCC $F97D ", 0xF976,0x7F,0x78,0x68,0x65,0xF9 },
{ "CMP #$7F ", 0xF978,0x7F,0x78,0x68,0x65,0xF9 },
{ "BNE $F97D ", 0xF97A,0x7F,0x78,0x68,0x67,0xF9 },
{ "RTS ", 0xF97C,0x7F,0x78,0x68,0x67,0xF9 },
{ "INY ", 0xE342,0x7F,0x78,0x68,0x67,0xFB },
{ "LDA #$7F ", 0xE343,0x7F,0x78,0x69,0x65,0xFB },
{ "STA $0678 = 00 ", 0xE345,0x7F,0x78,0x69,0x65,0xFB },
{ "JSR $F980 ", 0xE348,0x7F,0x78,0x69,0x65,0xFB },
{ "SEC ", 0xF980,0x7F,0x78,0x69,0x65,0xF9 },
{ "LDA #$81 ", 0xF981,0x7F,0x78,0x69,0x65,0xF9 },
{ "RTS ", 0xF983,0x81,0x78,0x69,0xE5,0xF9 },
{ "SBC $0600,X @ 0678 = 7F ", 0xE34B,0x81,0x78,0x69,0xE5,0xFB },
{ "JSR $F984 ", 0xE34E,0x02,0x78,0x69,0x65,0xFB },
{ "BVC $F98D ", 0xF984,0x02,0x78,0x69,0x65,0xF9 },
{ "BCC $F98D ", 0xF986,0x02,0x78,0x69,0x65,0xF9 },
{ "CMP #$02 ", 0xF988,0x02,0x78,0x69,0x65,0xF9 },
{ "BNE $F98D ", 0xF98A,0x02,0x78,0x69,0x67,0xF9 },
{ "RTS ", 0xF98C,0x02,0x78,0x69,0x67,0xF9 },
{ "LDA #$AA ", 0xE351,0x02,0x78,0x69,0x67,0xFB },
{ "STA $0633 = AA ", 0xE353,0xAA,0x78,0x69,0xE5,0xFB },
{ "LDA #$BB ", 0xE356,0xAA,0x78,0x69,0xE5,0xFB },
{ "STA $0689 = BB ", 0xE358,0xBB,0x78,0x69,0xE5,0xFB },
{ "LDX #$00 ", 0xE35B,0xBB,0x78,0x69,0xE5,0xFB },
{ "LDY #$66 ", 0xE35D,0xBB,0x00,0x69,0x67,0xFB },
{ "BIT $01 = FF ", 0xE35F,0xBB,0x00,0x66,0x65,0xFB },
{ "SEC ", 0xE361,0xBB,0x00,0x66,0xE5,0xFB },
{ "LDA #$00 ", 0xE362,0xBB,0x00,0x66,0xE5,0xFB },
{ "LDA $0633,X @ 0633 = AA ", 0xE364,0x00,0x00,0x66,0x67,0xFB },
{ "BPL $E37B ", 0xE367,0xAA,0x00,0x66,0xE5,0xFB },
{ "BEQ $E37B ", 0xE369,0xAA,0x00,0x66,0xE5,0xFB },
{ "BVC $E37B ", 0xE36B,0xAA,0x00,0x66,0xE5,0xFB },
{ "BCC $E37B ", 0xE36D,0xAA,0x00,0x66,0xE5,0xFB },
{ "CPY #$66 ", 0xE36F,0xAA,0x00,0x66,0xE5,0xFB },
{ "BNE $E37B ", 0xE371,0xAA,0x00,0x66,0x67,0xFB },
{ "CPX #$00 ", 0xE373,0xAA,0x00,0x66,0x67,0xFB },
{ "BNE $E37B ", 0xE375,0xAA,0x00,0x66,0x67,0xFB },
{ "CMP #$AA ", 0xE377,0xAA,0x00,0x66,0x67,0xFB },
{ "BEQ $E37F ", 0xE379,0xAA,0x00,0x66,0x67,0xFB },
{ "LDX #$8A ", 0xE37F,0xAA,0x00,0x66,0x67,0xFB },
{ "LDY #$66 ", 0xE381,0xAA,0x8A,0x66,0xE5,0xFB },
{ "CLV ", 0xE383,0xAA,0x8A,0x66,0x65,0xFB },
{ "CLC ", 0xE384,0xAA,0x8A,0x66,0x25,0xFB },
{ "LDA #$00 ", 0xE385,0xAA,0x8A,0x66,0x24,0xFB },
{ "LDA $05FF,X @ 0689 = BB ", 0xE387,0x00,0x8A,0x66,0x26,0xFB },
{ "BPL $E39E ", 0xE38A,0xBB,0x8A,0x66,0xA4,0xFB },
{ "BEQ $E39E ", 0xE38C,0xBB,0x8A,0x66,0xA4,0xFB },
{ "BVS $E39E ", 0xE38E,0xBB,0x8A,0x66,0xA4,0xFB },
{ "BCS $E39E ", 0xE390,0xBB,0x8A,0x66,0xA4,0xFB },
{ "CMP #$BB ", 0xE392,0xBB,0x8A,0x66,0xA4,0xFB },
{ "BNE $E39E ", 0xE394,0xBB,0x8A,0x66,0x27,0xFB },
{ "CPY #$66 ", 0xE396,0xBB,0x8A,0x66,0x27,0xFB },
{ "BNE $E39E ", 0xE398,0xBB,0x8A,0x66,0x27,0xFB },
{ "CPX #$8A ", 0xE39A,0xBB,0x8A,0x66,0x27,0xFB },
{ "BEQ $E3A2 ", 0xE39C,0xBB,0x8A,0x66,0x27,0xFB },
{ "BIT $01 = FF ", 0xE3A2,0xBB,0x8A,0x66,0x27,0xFB },
{ "SEC ", 0xE3A4,0xBB,0x8A,0x66,0xE5,0xFB },
{ "LDA #$44 ", 0xE3A5,0xBB,0x8A,0x66,0xE5,0xFB },
{ "LDX #$00 ", 0xE3A7,0x44,0x8A,0x66,0x65,0xFB },
{ "STA $0633,X @ 0633 = AA ", 0xE3A9,0x44,0x00,0x66,0x67,0xFB },
{ "LDA $0633 = 44 ", 0xE3AC,0x44,0x00,0x66,0x67,0xFB },
{ "BCC $E3CB ", 0xE3AF,0x44,0x00,0x66,0x65,0xFB },
{ "CMP #$44 ", 0xE3B1,0x44,0x00,0x66,0x65,0xFB },
{ "BNE $E3CB ", 0xE3B3,0x44,0x00,0x66,0x67,0xFB },
{ "BVC $E3CB ", 0xE3B5,0x44,0x00,0x66,0x67,0xFB },
{ "CLC ", 0xE3B7,0x44,0x00,0x66,0x67,0xFB },
{ "CLV ", 0xE3B8,0x44,0x00,0x66,0x66,0xFB },
{ "LDA #$99 ", 0xE3B9,0x44,0x00,0x66,0x26,0xFB },
{ "LDX #$80 ", 0xE3BB,0x99,0x00,0x66,0xA4,0xFB },
{ "STA $0585,X @ 0605 = 00 ", 0xE3BD,0x99,0x80,0x66,0xA4,0xFB },
{ "LDA $0605 = 99 ", 0xE3C0,0x99,0x80,0x66,0xA4,0xFB },
{ "BCS $E3CB ", 0xE3C3,0x99,0x80,0x66,0xA4,0xFB },
{ "CMP #$99 ", 0xE3C5,0x99,0x80,0x66,0xA4,0xFB },
{ "BNE $E3CB ", 0xE3C7,0x99,0x80,0x66,0x27,0xFB },
{ "BVC $E3CF ", 0xE3C9,0x99,0x80,0x66,0x27,0xFB },
{ "LDY #$6D ", 0xE3CF,0x99,0x80,0x66,0x27,0xFB },
{ "LDX #$6D ", 0xE3D1,0x99,0x80,0x6D,0x25,0xFB },
{ "JSR $F990 ", 0xE3D3,0x99,0x6D,0x6D,0x25,0xFB },
{ "LDX #$55 ", 0xF990,0x99,0x6D,0x6D,0x25,0xF9 },
{ "LDA #$FF ", 0xF992,0x99,0x55,0x6D,0x25,0xF9 },
{ "STA $01 = FF ", 0xF994,0xFF,0x55,0x6D,0xA5,0xF9 },
{ "NOP ", 0xF996,0xFF,0x55,0x6D,0xA5,0xF9 },
{ "BIT $01 = FF ", 0xF997,0xFF,0x55,0x6D,0xA5,0xF9 },
{ "SEC ", 0xF999,0xFF,0x55,0x6D,0xE5,0xF9 },
{ "LDA #$01 ", 0xF99A,0xFF,0x55,0x6D,0xE5,0xF9 },
{ "RTS ", 0xF99C,0x01,0x55,0x6D,0x65,0xF9 },
{ "STA $0600,X @ 0655 = 00 ", 0xE3D6,0x01,0x55,0x6D,0x65,0xFB },
{ "LSR $0600,X @ 0655 = 01 ", 0xE3D9,0x01,0x55,0x6D,0x65,0xFB },
{ "LDA $0600,X @ 0655 = 00 ", 0xE3DC,0x01,0x55,0x6D,0x67,0xFB },
{ "JSR $F99D ", 0xE3DF,0x00,0x55,0x6D,0x67,0xFB },
{ "BCC $F9BA ", 0xF99D,0x00,0x55,0x6D,0x67,0xF9 },
{ "BNE $F9BA ", 0xF99F,0x00,0x55,0x6D,0x67,0xF9 },
{ "BMI $F9BA ", 0xF9A1,0x00,0x55,0x6D,0x67,0xF9 },
{ "BVC $F9BA ", 0xF9A3,0x00,0x55,0x6D,0x67,0xF9 },
{ "CMP #$00 ", 0xF9A5,0x00,0x55,0x6D,0x67,0xF9 },
{ "BNE $F9BA ", 0xF9A7,0x00,0x55,0x6D,0x67,0xF9 },
{ "CLV ", 0xF9A9,0x00,0x55,0x6D,0x67,0xF9 },
{ "LDA #$AA ", 0xF9AA,0x00,0x55,0x6D,0x27,0xF9 },
{ "RTS ", 0xF9AC,0xAA,0x55,0x6D,0xA5,0xF9 },
{ "INY ", 0xE3E2,0xAA,0x55,0x6D,0xA5,0xFB },
{ "STA $0600,X @ 0655 = 00 ", 0xE3E3,0xAA,0x55,0x6E,0x25,0xFB },
{ "LSR $0600,X @ 0655 = AA ", 0xE3E6,0xAA,0x55,0x6E,0x25,0xFB },
{ "LDA $0600,X @ 0655 = 55 ", 0xE3E9,0xAA,0x55,0x6E,0x24,0xFB },
{ "JSR $F9AD ", 0xE3EC,0x55,0x55,0x6E,0x24,0xFB },
{ "BCS $F9BA ", 0xF9AD,0x55,0x55,0x6E,0x24,0xF9 },
{ "BEQ $F9BA ", 0xF9AF,0x55,0x55,0x6E,0x24,0xF9 },
{ "BMI $F9BA ", 0xF9B1,0x55,0x55,0x6E,0x24,0xF9 },
{ "BVS $F9BA ", 0xF9B3,0x55,0x55,0x6E,0x24,0xF9 },
{ "CMP #$55 ", 0xF9B5,0x55,0x55,0x6E,0x24,0xF9 },
{ "BNE $F9BA ", 0xF9B7,0x55,0x55,0x6E,0x27,0xF9 },
{ "RTS ", 0xF9B9,0x55,0x55,0x6E,0x27,0xF9 },
{ "INY ", 0xE3EF,0x55,0x55,0x6E,0x27,0xFB },
{ "JSR $F9BD ", 0xE3F0,0x55,0x55,0x6F,0x25,0xFB },
{ "BIT $01 = FF ", 0xF9BD,0x55,0x55,0x6F,0x25,0xF9 },
{ "SEC ", 0xF9BF,0x55,0x55,0x6F,0xE5,0xF9 },
{ "LDA #$80 ", 0xF9C0,0x55,0x55,0x6F,0xE5,0xF9 },
{ "RTS ", 0xF9C2,0x80,0x55,0x6F,0xE5,0xF9 },
{ "STA $0600,X @ 0655 = 55 ", 0xE3F3,0x80,0x55,0x6F,0xE5,0xFB },
{ "ASL $0600,X @ 0655 = 80 ", 0xE3F6,0x80,0x55,0x6F,0xE5,0xFB },
{ "LDA $0600,X @ 0655 = 00 ", 0xE3F9,0x80,0x55,0x6F,0x67,0xFB },
{ "JSR $F9C3 ", 0xE3FC,0x00,0x55,0x6F,0x67,0xFB },
{ "BCC $F9E1 ", 0xF9C3,0x00,0x55,0x6F,0x67,0xF9 },
{ "BNE $F9E1 ", 0xF9C5,0x00,0x55,0x6F,0x67,0xF9 },
{ "BMI $F9E1 ", 0xF9C7,0x00,0x55,0x6F,0x67,0xF9 },
{ "BVC $F9E1 ", 0xF9C9,0x00,0x55,0x6F,0x67,0xF9 },
{ "CMP #$00 ", 0xF9CB,0x00,0x55,0x6F,0x67,0xF9 },
{ "BNE $F9E1 ", 0xF9CD,0x00,0x55,0x6F,0x67,0xF9 },
{ "CLV ", 0xF9CF,0x00,0x55,0x6F,0x67,0xF9 },
{ "LDA #$55 ", 0xF9D0,0x00,0x55,0x6F,0x27,0xF9 },
{ "SEC ", 0xF9D2,0x55,0x55,0x6F,0x25,0xF9 },
{ "RTS ", 0xF9D3,0x55,0x55,0x6F,0x25,0xF9 },
{ "INY ", 0xE3FF,0x55,0x55,0x6F,0x25,0xFB },
{ "STA $0600,X @ 0655 = 00 ", 0xE400,0x55,0x55,0x70,0x25,0xFB },
{ "ASL $0600,X @ 0655 = 55 ", 0xE403,0x55,0x55,0x70,0x25,0xFB },
{ "LDA $0600,X @ 0655 = AA ", 0xE406,0x55,0x55,0x70,0xA4,0xFB },
{ "JSR $F9D4 ", 0xE409,0xAA,0x55,0x70,0xA4,0xFB },
{ "BCS $F9E1 ", 0xF9D4,0xAA,0x55,0x70,0xA4,0xF9 },
{ "BEQ $F9E1 ", 0xF9D6,0xAA,0x55,0x70,0xA4,0xF9 },
{ "BPL $F9E1 ", 0xF9D8,0xAA,0x55,0x70,0xA4,0xF9 },
{ "BVS $F9E1 ", 0xF9DA,0xAA,0x55,0x70,0xA4,0xF9 },
{ "CMP #$AA ", 0xF9DC,0xAA,0x55,0x70,0xA4,0xF9 },
{ "BNE $F9E1 ", 0xF9DE,0xAA,0x55,0x70,0x27,0xF9 },
{ "RTS ", 0xF9E0,0xAA,0x55,0x70,0x27,0xF9 },
{ "INY ", 0xE40C,0xAA,0x55,0x70,0x27,0xFB },
{ "JSR $F9E4 ", 0xE40D,0xAA,0x55,0x71,0x25,0xFB },
{ "BIT $01 = FF ", 0xF9E4,0xAA,0x55,0x71,0x25,0xF9 },
{ "SEC ", 0xF9E6,0xAA,0x55,0x71,0xE5,0xF9 },
{ "LDA #$01 ", 0xF9E7,0xAA,0x55,0x71,0xE5,0xF9 },
{ "RTS ", 0xF9E9,0x01,0x55,0x71,0x65,0xF9 },
{ "STA $0600,X @ 0655 = AA ", 0xE410,0x01,0x55,0x71,0x65,0xFB },
{ "ROR $0600,X @ 0655 = 01 ", 0xE413,0x01,0x55,0x71,0x65,0xFB },
{ "LDA $0600,X @ 0655 = 80 ", 0xE416,0x01,0x55,0x71,0xE5,0xFB },
{ "JSR $F9EA ", 0xE419,0x80,0x55,0x71,0xE5,0xFB },
{ "BCC $FA08 ", 0xF9EA,0x80,0x55,0x71,0xE5,0xF9 },
{ "BEQ $FA08 ", 0xF9EC,0x80,0x55,0x71,0xE5,0xF9 },
{ "BPL $FA08 ", 0xF9EE,0x80,0x55,0x71,0xE5,0xF9 },
{ "BVC $FA08 ", 0xF9F0,0x80,0x55,0x71,0xE5,0xF9 },
{ "CMP #$80 ", 0xF9F2,0x80,0x55,0x71,0xE5,0xF9 },
{ "BNE $FA08 ", 0xF9F4,0x80,0x55,0x71,0x67,0xF9 },
{ "CLV ", 0xF9F6,0x80,0x55,0x71,0x67,0xF9 },
{ "CLC ", 0xF9F7,0x80,0x55,0x71,0x27,0xF9 },
{ "LDA #$55 ", 0xF9F8,0x80,0x55,0x71,0x26,0xF9 },
{ "RTS ", 0xF9FA,0x55,0x55,0x71,0x24,0xF9 },
{ "INY ", 0xE41C,0x55,0x55,0x71,0x24,0xFB },
{ "STA $0600,X @ 0655 = 80 ", 0xE41D,0x55,0x55,0x72,0x24,0xFB },
{ "ROR $0600,X @ 0655 = 55 ", 0xE420,0x55,0x55,0x72,0x24,0xFB },
{ "LDA $0600,X @ 0655 = 2A ", 0xE423,0x55,0x55,0x72,0x25,0xFB },
{ "JSR $F9FB ", 0xE426,0x2A,0x55,0x72,0x25,0xFB },
{ "BCC $FA08 ", 0xF9FB,0x2A,0x55,0x72,0x25,0xF9 },
{ "BEQ $FA08 ", 0xF9FD,0x2A,0x55,0x72,0x25,0xF9 },
{ "BMI $FA08 ", 0xF9FF,0x2A,0x55,0x72,0x25,0xF9 },
{ "BVS $FA08 ", 0xFA01,0x2A,0x55,0x72,0x25,0xF9 },
{ "CMP #$2A ", 0xFA03,0x2A,0x55,0x72,0x25,0xF9 },
{ "BNE $FA08 ", 0xFA05,0x2A,0x55,0x72,0x27,0xF9 },
{ "RTS ", 0xFA07,0x2A,0x55,0x72,0x27,0xF9 },
{ "INY ", 0xE429,0x2A,0x55,0x72,0x27,0xFB },
{ "JSR $FA0A ", 0xE42A,0x2A,0x55,0x73,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA0A,0x2A,0x55,0x73,0x25,0xF9 },
{ "SEC ", 0xFA0C,0x2A,0x55,0x73,0xE5,0xF9 },
{ "LDA #$80 ", 0xFA0D,0x2A,0x55,0x73,0xE5,0xF9 },
{ "RTS ", 0xFA0F,0x80,0x55,0x73,0xE5,0xF9 },
{ "STA $0600,X @ 0655 = 2A ", 0xE42D,0x80,0x55,0x73,0xE5,0xFB },
{ "ROL $0600,X @ 0655 = 80 ", 0xE430,0x80,0x55,0x73,0xE5,0xFB },
{ "LDA $0600,X @ 0655 = 01 ", 0xE433,0x80,0x55,0x73,0x65,0xFB },
{ "JSR $FA10 ", 0xE436,0x01,0x55,0x73,0x65,0xFB },
{ "BCC $FA2E ", 0xFA10,0x01,0x55,0x73,0x65,0xF9 },
{ "BEQ $FA2E ", 0xFA12,0x01,0x55,0x73,0x65,0xF9 },
{ "BMI $FA2E ", 0xFA14,0x01,0x55,0x73,0x65,0xF9 },
{ "BVC $FA2E ", 0xFA16,0x01,0x55,0x73,0x65,0xF9 },
{ "CMP #$01 ", 0xFA18,0x01,0x55,0x73,0x65,0xF9 },
{ "BNE $FA2E ", 0xFA1A,0x01,0x55,0x73,0x67,0xF9 },
{ "CLV ", 0xFA1C,0x01,0x55,0x73,0x67,0xF9 },
{ "CLC ", 0xFA1D,0x01,0x55,0x73,0x27,0xF9 },
{ "LDA #$55 ", 0xFA1E,0x01,0x55,0x73,0x26,0xF9 },
{ "RTS ", 0xFA20,0x55,0x55,0x73,0x24,0xF9 },
{ "INY ", 0xE439,0x55,0x55,0x73,0x24,0xFB },
{ "STA $0600,X @ 0655 = 01 ", 0xE43A,0x55,0x55,0x74,0x24,0xFB },
{ "ROL $0600,X @ 0655 = 55 ", 0xE43D,0x55,0x55,0x74,0x24,0xFB },
{ "LDA $0600,X @ 0655 = AA ", 0xE440,0x55,0x55,0x74,0xA4,0xFB },
{ "JSR $FA21 ", 0xE443,0xAA,0x55,0x74,0xA4,0xFB },
{ "BCS $FA2E ", 0xFA21,0xAA,0x55,0x74,0xA4,0xF9 },
{ "BEQ $FA2E ", 0xFA23,0xAA,0x55,0x74,0xA4,0xF9 },
{ "BPL $FA2E ", 0xFA25,0xAA,0x55,0x74,0xA4,0xF9 },
{ "BVS $FA2E ", 0xFA27,0xAA,0x55,0x74,0xA4,0xF9 },
{ "CMP #$AA ", 0xFA29,0xAA,0x55,0x74,0xA4,0xF9 },
{ "BNE $FA2E ", 0xFA2B,0xAA,0x55,0x74,0x27,0xF9 },
{ "RTS ", 0xFA2D,0xAA,0x55,0x74,0x27,0xF9 },
{ "LDA #$FF ", 0xE446,0xAA,0x55,0x74,0x27,0xFB },
{ "STA $0600,X @ 0655 = AA ", 0xE448,0xFF,0x55,0x74,0xA5,0xFB },
{ "STA $01 = FF ", 0xE44B,0xFF,0x55,0x74,0xA5,0xFB },
{ "BIT $01 = FF ", 0xE44D,0xFF,0x55,0x74,0xA5,0xFB },
{ "SEC ", 0xE44F,0xFF,0x55,0x74,0xE5,0xFB },
{ "INC $0600,X @ 0655 = FF ", 0xE450,0xFF,0x55,0x74,0xE5,0xFB },
{ "BNE $E462 ", 0xE453,0xFF,0x55,0x74,0x67,0xFB },
{ "BMI $E462 ", 0xE455,0xFF,0x55,0x74,0x67,0xFB },
{ "BVC $E462 ", 0xE457,0xFF,0x55,0x74,0x67,0xFB },
{ "BCC $E462 ", 0xE459,0xFF,0x55,0x74,0x67,0xFB },
{ "LDA $0600,X @ 0655 = 00 ", 0xE45B,0xFF,0x55,0x74,0x67,0xFB },
{ "CMP #$00 ", 0xE45E,0x00,0x55,0x74,0x67,0xFB },
{ "BEQ $E466 ", 0xE460,0x00,0x55,0x74,0x67,0xFB },
{ "LDA #$7F ", 0xE466,0x00,0x55,0x74,0x67,0xFB },
{ "STA $0600,X @ 0655 = 00 ", 0xE468,0x7F,0x55,0x74,0x65,0xFB },
{ "CLV ", 0xE46B,0x7F,0x55,0x74,0x65,0xFB },
{ "CLC ", 0xE46C,0x7F,0x55,0x74,0x25,0xFB },
{ "INC $0600,X @ 0655 = 7F ", 0xE46D,0x7F,0x55,0x74,0x24,0xFB },
{ "BEQ $E47F ", 0xE470,0x7F,0x55,0x74,0xA4,0xFB },
{ "BPL $E47F ", 0xE472,0x7F,0x55,0x74,0xA4,0xFB },
{ "BVS $E47F ", 0xE474,0x7F,0x55,0x74,0xA4,0xFB },
{ "BCS $E47F ", 0xE476,0x7F,0x55,0x74,0xA4,0xFB },
{ "LDA $0600,X @ 0655 = 80 ", 0xE478,0x7F,0x55,0x74,0xA4,0xFB },
{ "CMP #$80 ", 0xE47B,0x80,0x55,0x74,0xA4,0xFB },
{ "BEQ $E483 ", 0xE47D,0x80,0x55,0x74,0x27,0xFB },
{ "LDA #$00 ", 0xE483,0x80,0x55,0x74,0x27,0xFB },
{ "STA $0600,X @ 0655 = 80 ", 0xE485,0x00,0x55,0x74,0x27,0xFB },
{ "BIT $01 = FF ", 0xE488,0x00,0x55,0x74,0x27,0xFB },
{ "SEC ", 0xE48A,0x00,0x55,0x74,0xE7,0xFB },
{ "DEC $0600,X @ 0655 = 00 ", 0xE48B,0x00,0x55,0x74,0xE7,0xFB },
{ "BEQ $E49D ", 0xE48E,0x00,0x55,0x74,0xE5,0xFB },
{ "BPL $E49D ", 0xE490,0x00,0x55,0x74,0xE5,0xFB },
{ "BVC $E49D ", 0xE492,0x00,0x55,0x74,0xE5,0xFB },
{ "BCC $E49D ", 0xE494,0x00,0x55,0x74,0xE5,0xFB },
{ "LDA $0600,X @ 0655 = FF ", 0xE496,0x00,0x55,0x74,0xE5,0xFB },
{ "CMP #$FF ", 0xE499,0xFF,0x55,0x74,0xE5,0xFB },
{ "BEQ $E4A1 ", 0xE49B,0xFF,0x55,0x74,0x67,0xFB },
{ "LDA #$80 ", 0xE4A1,0xFF,0x55,0x74,0x67,0xFB },
{ "STA $0600,X @ 0655 = FF ", 0xE4A3,0x80,0x55,0x74,0xE5,0xFB },
{ "CLV ", 0xE4A6,0x80,0x55,0x74,0xE5,0xFB },
{ "CLC ", 0xE4A7,0x80,0x55,0x74,0xA5,0xFB },
{ "DEC $0600,X @ 0655 = 80 ", 0xE4A8,0x80,0x55,0x74,0xA4,0xFB },
{ "BEQ $E4BA ", 0xE4AB,0x80,0x55,0x74,0x24,0xFB },
{ "BMI $E4BA ", 0xE4AD,0x80,0x55,0x74,0x24,0xFB },
{ "BVS $E4BA ", 0xE4AF,0x80,0x55,0x74,0x24,0xFB },
{ "BCS $E4BA ", 0xE4B1,0x80,0x55,0x74,0x24,0xFB },
{ "LDA $0600,X @ 0655 = 7F ", 0xE4B3,0x80,0x55,0x74,0x24,0xFB },
{ "CMP #$7F ", 0xE4B6,0x7F,0x55,0x74,0x24,0xFB },
{ "BEQ $E4BE ", 0xE4B8,0x7F,0x55,0x74,0x27,0xFB },
{ "LDA #$01 ", 0xE4BE,0x7F,0x55,0x74,0x27,0xFB },
{ "STA $0600,X @ 0655 = 7F ", 0xE4C0,0x01,0x55,0x74,0x25,0xFB },
{ "DEC $0600,X @ 0655 = 01 ", 0xE4C3,0x01,0x55,0x74,0x25,0xFB },
{ "BEQ $E4CC ", 0xE4C6,0x01,0x55,0x74,0x27,0xFB },
{ "LDA #$33 ", 0xE4CC,0x01,0x55,0x74,0x27,0xFB },
{ "STA $0678 = 7F ", 0xE4CE,0x33,0x55,0x74,0x25,0xFB },
{ "LDA #$44 ", 0xE4D1,0x33,0x55,0x74,0x25,0xFB },
{ "LDY #$78 ", 0xE4D3,0x44,0x55,0x74,0x25,0xFB },
{ "LDX #$00 ", 0xE4D5,0x44,0x55,0x78,0x25,0xFB },
{ "SEC ", 0xE4D7,0x44,0x00,0x78,0x27,0xFB },
{ "BIT $01 = FF ", 0xE4D8,0x44,0x00,0x78,0x27,0xFB },
{ "LDX $0600,Y @ 0678 = 33 ", 0xE4DA,0x44,0x00,0x78,0xE5,0xFB },
{ "BCC $E4F1 ", 0xE4DD,0x44,0x33,0x78,0x65,0xFB },
{ "BVC $E4F1 ", 0xE4DF,0x44,0x33,0x78,0x65,0xFB },
{ "BMI $E4F1 ", 0xE4E1,0x44,0x33,0x78,0x65,0xFB },
{ "BEQ $E4F1 ", 0xE4E3,0x44,0x33,0x78,0x65,0xFB },
{ "CPX #$33 ", 0xE4E5,0x44,0x33,0x78,0x65,0xFB },
{ "BNE $E4F1 ", 0xE4E7,0x44,0x33,0x78,0x67,0xFB },
{ "CPY #$78 ", 0xE4E9,0x44,0x33,0x78,0x67,0xFB },
{ "BNE $E4F1 ", 0xE4EB,0x44,0x33,0x78,0x67,0xFB },
{ "CMP #$44 ", 0xE4ED,0x44,0x33,0x78,0x67,0xFB },
{ "BEQ $E4F5 ", 0xE4EF,0x44,0x33,0x78,0x67,0xFB },
{ "LDA #$97 ", 0xE4F5,0x44,0x33,0x78,0x67,0xFB },
{ "STA $067F = 00 ", 0xE4F7,0x97,0x33,0x78,0xE5,0xFB },
{ "LDA #$47 ", 0xE4FA,0x97,0x33,0x78,0xE5,0xFB },
{ "LDY #$FF ", 0xE4FC,0x47,0x33,0x78,0x65,0xFB },
{ "LDX #$00 ", 0xE4FE,0x47,0x33,0xFF,0xE5,0xFB },
{ "CLC ", 0xE500,0x47,0x00,0xFF,0x67,0xFB },
{ "CLV ", 0xE501,0x47,0x00,0xFF,0x66,0xFB },
{ "LDX $0580,Y @ 067F = 97 ", 0xE502,0x47,0x00,0xFF,0x26,0xFB },
{ "BCS $E519 ", 0xE505,0x47,0x97,0xFF,0xA4,0xFB },
{ "BVS $E519 ", 0xE507,0x47,0x97,0xFF,0xA4,0xFB },
{ "BPL $E519 ", 0xE509,0x47,0x97,0xFF,0xA4,0xFB },
{ "BEQ $E519 ", 0xE50B,0x47,0x97,0xFF,0xA4,0xFB },
{ "CPX #$97 ", 0xE50D,0x47,0x97,0xFF,0xA4,0xFB },
{ "BNE $E519 ", 0xE50F,0x47,0x97,0xFF,0x27,0xFB },
{ "CPY #$FF ", 0xE511,0x47,0x97,0xFF,0x27,0xFB },
{ "BNE $E519 ", 0xE513,0x47,0x97,0xFF,0x27,0xFB },
{ "CMP #$47 ", 0xE515,0x47,0x97,0xFF,0x27,0xFB },
{ "BEQ $E51D ", 0xE517,0x47,0x97,0xFF,0x27,0xFB },
{ "RTS ", 0xE51D,0x47,0x97,0xFF,0x27,0xFB },
{ "JSR $C6A3 ", 0xC62F,0x47,0x97,0xFF,0x27,0xFD },
{ "LDY #$4E ", 0xC6A3,0x47,0x97,0xFF,0x27,0xFB },
{ "LDA #$FF ", 0xC6A5,0x47,0x97,0x4E,0x25,0xFB },
{ "STA $01 = FF ", 0xC6A7,0xFF,0x97,0x4E,0xA5,0xFB },
{ "JSR $C6B0 ", 0xC6A9,0xFF,0x97,0x4E,0xA5,0xFB },
{ "LDA #$FF ", 0xC6B0,0xFF,0x97,0x4E,0xA5,0xF9 },
{ "PHA ", 0xC6B2,0xFF,0x97,0x4E,0xA5,0xF9 },
{ "LDA #$AA ", 0xC6B3,0xFF,0x97,0x4E,0xA5,0xF8 },
{ "BNE $C6BC ", 0xC6B5,0xAA,0x97,0x4E,0xA5,0xF8 },
{ "PLP ", 0xC6BC,0xAA,0x97,0x4E,0xA5,0xF8 },
{ "NOP $A9 = 00 ", 0xC6BD,0xAA,0x97,0x4E,0xEF,0xF9 },
{ "NOP $A9 = 00 ", 0xC6BF,0xAA,0x97,0x4E,0xEF,0xF9 },
{ "NOP $A9 = 00 ", 0xC6C1,0xAA,0x97,0x4E,0xEF,0xF9 },
{ "NOP ", 0xC6C3,0xAA,0x97,0x4E,0xEF,0xF9 },
{ "NOP ", 0xC6C4,0xAA,0x97,0x4E,0xEF,0xF9 },
{ "NOP ", 0xC6C5,0xAA,0x97,0x4E,0xEF,0xF9 },
{ "NOP ", 0xC6C6,0xAA,0x97,0x4E,0xEF,0xF9 },
{ "PHP ", 0xC6C7,0xAA,0x97,0x4E,0xEF,0xF9 },
{ "PHA ", 0xC6C8,0xAA,0x97,0x4E,0xEF,0xF8 },
{ "NOP $A9A9 = A9 ", 0xC6C9,0xAA,0x97,0x4E,0xEF,0xF7 },
{ "NOP ", 0xC6CC,0xAA,0x97,0x4E,0xEF,0xF7 },
{ "NOP ", 0xC6CD,0xAA,0x97,0x4E,0xEF,0xF7 },
{ "NOP ", 0xC6CE,0xAA,0x97,0x4E,0xEF,0xF7 },
{ "NOP ", 0xC6CF,0xAA,0x97,0x4E,0xEF,0xF7 },
{ "PHP ", 0xC6D0,0xAA,0x97,0x4E,0xEF,0xF7 },
{ "PHA ", 0xC6D1,0xAA,0x97,0x4E,0xEF,0xF6 },
{ "NOP $A9,X @ 40 = 00 ", 0xC6D2,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP $A9,X @ 40 = 00 ", 0xC6D4,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP $A9,X @ 40 = 00 ", 0xC6D6,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP $A9,X @ 40 = 00 ", 0xC6D8,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP $A9,X @ 40 = 00 ", 0xC6DA,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP $A9,X @ 40 = 00 ", 0xC6DC,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP ", 0xC6DE,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP ", 0xC6DF,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP ", 0xC6E0,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "NOP ", 0xC6E1,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "PHP ", 0xC6E2,0xAA,0x97,0x4E,0xEF,0xF5 },
{ "PHA ", 0xC6E3,0xAA,0x97,0x4E,0xEF,0xF4 },
{ "NOP ", 0xC6E4,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6E5,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6E6,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6E7,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6E8,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6E9,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP #$89 ", 0xC6EA,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6EC,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6ED,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6EE,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "NOP ", 0xC6EF,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "PHP ", 0xC6F0,0xAA,0x97,0x4E,0xEF,0xF3 },
{ "PHA ", 0xC6F1,0xAA,0x97,0x4E,0xEF,0xF2 },
{ "NOP $A9A9,X @ AA40 = 00 ", 0xC6F2,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP $A9A9,X @ AA40 = 00 ", 0xC6F5,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP $A9A9,X @ AA40 = 00 ", 0xC6F8,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP $A9A9,X @ AA40 = 00 ", 0xC6FB,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP $A9A9,X @ AA40 = 00 ", 0xC6FE,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP $A9A9,X @ AA40 = 00 ", 0xC701,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP ", 0xC704,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP ", 0xC705,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP ", 0xC706,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "NOP ", 0xC707,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "PHP ", 0xC708,0xAA,0x97,0x4E,0xEF,0xF1 },
{ "PHA ", 0xC709,0xAA,0x97,0x4E,0xEF,0xF0 },
{ "LDX #$05 ", 0xC70A,0xAA,0x97,0x4E,0xEF,0xEF },
{ "PLA ", 0xC70C,0xAA,0x05,0x4E,0x6D,0xEF },
{ "CMP #$55 ", 0xC70D,0xAA,0x05,0x4E,0xED,0xF0 },
{ "BEQ $C71B ", 0xC70F,0xAA,0x05,0x4E,0x6D,0xF0 },
{ "CMP #$AA ", 0xC711,0xAA,0x05,0x4E,0x6D,0xF0 },
{ "BEQ $C71B ", 0xC713,0xAA,0x05,0x4E,0x6F,0xF0 },
{ "PLA ", 0xC71B,0xAA,0x05,0x4E,0x6F,0xF0 },
{ "AND #$CB ", 0xC71C,0xFF,0x05,0x4E,0xED,0xF1 },
{ "CMP #$00 ", 0xC71E,0xCB,0x05,0x4E,0xED,0xF1 },
{ "BEQ $C728 ", 0xC720,0xCB,0x05,0x4E,0xED,0xF1 },
{ "CMP #$CB ", 0xC722,0xCB,0x05,0x4E,0xED,0xF1 },
{ "BEQ $C728 ", 0xC724,0xCB,0x05,0x4E,0x6F,0xF1 },
{ "INY ", 0xC728,0xCB,0x05,0x4E,0x6F,0xF1 },
{ "DEX ", 0xC729,0xCB,0x05,0x4F,0x6D,0xF1 },
{ "BNE $C70C ", 0xC72A,0xCB,0x04,0x4F,0x6D,0xF1 },
{ "PLA ", 0xC70C,0xCB,0x04,0x4F,0x6D,0xF1 },
{ "CMP #$55 ", 0xC70D,0xAA,0x04,0x4F,0xED,0xF2 },
{ "BEQ $C71B ", 0xC70F,0xAA,0x04,0x4F,0x6D,0xF2 },
{ "CMP #$AA ", 0xC711,0xAA,0x04,0x4F,0x6D,0xF2 },
{ "BEQ $C71B ", 0xC713,0xAA,0x04,0x4F,0x6F,0xF2 },
{ "PLA ", 0xC71B,0xAA,0x04,0x4F,0x6F,0xF2 },
{ "AND #$CB ", 0xC71C,0xFF,0x04,0x4F,0xED,0xF3 },
{ "CMP #$00 ", 0xC71E,0xCB,0x04,0x4F,0xED,0xF3 },
{ "BEQ $C728 ", 0xC720,0xCB,0x04,0x4F,0xED,0xF3 },
{ "CMP #$CB ", 0xC722,0xCB,0x04,0x4F,0xED,0xF3 },
{ "BEQ $C728 ", 0xC724,0xCB,0x04,0x4F,0x6F,0xF3 },
{ "INY ", 0xC728,0xCB,0x04,0x4F,0x6F,0xF3 },
{ "DEX ", 0xC729,0xCB,0x04,0x50,0x6D,0xF3 },
{ "BNE $C70C ", 0xC72A,0xCB,0x03,0x50,0x6D,0xF3 },
{ "PLA ", 0xC70C,0xCB,0x03,0x50,0x6D,0xF3 },
{ "CMP #$55 ", 0xC70D,0xAA,0x03,0x50,0xED,0xF4 },
{ "BEQ $C71B ", 0xC70F,0xAA,0x03,0x50,0x6D,0xF4 },
{ "CMP #$AA ", 0xC711,0xAA,0x03,0x50,0x6D,0xF4 },
{ "BEQ $C71B ", 0xC713,0xAA,0x03,0x50,0x6F,0xF4 },
{ "PLA ", 0xC71B,0xAA,0x03,0x50,0x6F,0xF4 },
{ "AND #$CB ", 0xC71C,0xFF,0x03,0x50,0xED,0xF5 },
{ "CMP #$00 ", 0xC71E,0xCB,0x03,0x50,0xED,0xF5 },
{ "BEQ $C728 ", 0xC720,0xCB,0x03,0x50,0xED,0xF5 },
{ "CMP #$CB ", 0xC722,0xCB,0x03,0x50,0xED,0xF5 },
{ "BEQ $C728 ", 0xC724,0xCB,0x03,0x50,0x6F,0xF5 },
{ "INY ", 0xC728,0xCB,0x03,0x50,0x6F,0xF5 },
{ "DEX ", 0xC729,0xCB,0x03,0x51,0x6D,0xF5 },
{ "BNE $C70C ", 0xC72A,0xCB,0x02,0x51,0x6D,0xF5 },
{ "PLA ", 0xC70C,0xCB,0x02,0x51,0x6D,0xF5 },
{ "CMP #$55 ", 0xC70D,0xAA,0x02,0x51,0xED,0xF6 },
{ "BEQ $C71B ", 0xC70F,0xAA,0x02,0x51,0x6D,0xF6 },
{ "CMP #$AA ", 0xC711,0xAA,0x02,0x51,0x6D,0xF6 },
{ "BEQ $C71B ", 0xC713,0xAA,0x02,0x51,0x6F,0xF6 },
{ "PLA ", 0xC71B,0xAA,0x02,0x51,0x6F,0xF6 },
{ "AND #$CB ", 0xC71C,0xFF,0x02,0x51,0xED,0xF7 },
{ "CMP #$00 ", 0xC71E,0xCB,0x02,0x51,0xED,0xF7 },
{ "BEQ $C728 ", 0xC720,0xCB,0x02,0x51,0xED,0xF7 },
{ "CMP #$CB ", 0xC722,0xCB,0x02,0x51,0xED,0xF7 },
{ "BEQ $C728 ", 0xC724,0xCB,0x02,0x51,0x6F,0xF7 },
{ "INY ", 0xC728,0xCB,0x02,0x51,0x6F,0xF7 },
{ "DEX ", 0xC729,0xCB,0x02,0x52,0x6D,0xF7 },
{ "BNE $C70C ", 0xC72A,0xCB,0x01,0x52,0x6D,0xF7 },
{ "PLA ", 0xC70C,0xCB,0x01,0x52,0x6D,0xF7 },
{ "CMP #$55 ", 0xC70D,0xAA,0x01,0x52,0xED,0xF8 },
{ "BEQ $C71B ", 0xC70F,0xAA,0x01,0x52,0x6D,0xF8 },
{ "CMP #$AA ", 0xC711,0xAA,0x01,0x52,0x6D,0xF8 },
{ "BEQ $C71B ", 0xC713,0xAA,0x01,0x52,0x6F,0xF8 },
{ "PLA ", 0xC71B,0xAA,0x01,0x52,0x6F,0xF8 },
{ "AND #$CB ", 0xC71C,0xFF,0x01,0x52,0xED,0xF9 },
{ "CMP #$00 ", 0xC71E,0xCB,0x01,0x52,0xED,0xF9 },
{ "BEQ $C728 ", 0xC720,0xCB,0x01,0x52,0xED,0xF9 },
{ "CMP #$CB ", 0xC722,0xCB,0x01,0x52,0xED,0xF9 },
{ "BEQ $C728 ", 0xC724,0xCB,0x01,0x52,0x6F,0xF9 },
{ "INY ", 0xC728,0xCB,0x01,0x52,0x6F,0xF9 },
{ "DEX ", 0xC729,0xCB,0x01,0x53,0x6D,0xF9 },
{ "BNE $C70C ", 0xC72A,0xCB,0x00,0x53,0x6F,0xF9 },
{ "RTS ", 0xC72C,0xCB,0x00,0x53,0x6F,0xF9 },
{ "JSR $C6B7 ", 0xC6AC,0xCB,0x00,0x53,0x6F,0xFB },
{ "LDA #$34 ", 0xC6B7,0xCB,0x00,0x53,0x6F,0xF9 },
{ "PHA ", 0xC6B9,0x34,0x00,0x53,0x6D,0xF9 },
{ "LDA #$55 ", 0xC6BA,0x34,0x00,0x53,0x6D,0xF8 },
{ "PLP ", 0xC6BC,0x55,0x00,0x53,0x6D,0xF8 },
{ "NOP $A9 = 00 ", 0xC6BD,0x55,0x00,0x53,0x24,0xF9 },
{ "NOP $A9 = 00 ", 0xC6BF,0x55,0x00,0x53,0x24,0xF9 },
{ "NOP $A9 = 00 ", 0xC6C1,0x55,0x00,0x53,0x24,0xF9 },
{ "NOP ", 0xC6C3,0x55,0x00,0x53,0x24,0xF9 },
{ "NOP ", 0xC6C4,0x55,0x00,0x53,0x24,0xF9 },
{ "NOP ", 0xC6C5,0x55,0x00,0x53,0x24,0xF9 },
{ "NOP ", 0xC6C6,0x55,0x00,0x53,0x24,0xF9 },
{ "PHP ", 0xC6C7,0x55,0x00,0x53,0x24,0xF9 },
{ "PHA ", 0xC6C8,0x55,0x00,0x53,0x24,0xF8 },
{ "NOP $A9A9 = A9 ", 0xC6C9,0x55,0x00,0x53,0x24,0xF7 },
{ "NOP ", 0xC6CC,0x55,0x00,0x53,0x24,0xF7 },
{ "NOP ", 0xC6CD,0x55,0x00,0x53,0x24,0xF7 },
{ "NOP ", 0xC6CE,0x55,0x00,0x53,0x24,0xF7 },
{ "NOP ", 0xC6CF,0x55,0x00,0x53,0x24,0xF7 },
{ "PHP ", 0xC6D0,0x55,0x00,0x53,0x24,0xF7 },
{ "PHA ", 0xC6D1,0x55,0x00,0x53,0x24,0xF6 },
{ "NOP $A9,X @ A9 = 00 ", 0xC6D2,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP $A9,X @ A9 = 00 ", 0xC6D4,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP $A9,X @ A9 = 00 ", 0xC6D6,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP $A9,X @ A9 = 00 ", 0xC6D8,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP $A9,X @ A9 = 00 ", 0xC6DA,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP $A9,X @ A9 = 00 ", 0xC6DC,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP ", 0xC6DE,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP ", 0xC6DF,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP ", 0xC6E0,0x55,0x00,0x53,0x24,0xF5 },
{ "NOP ", 0xC6E1,0x55,0x00,0x53,0x24,0xF5 },
{ "PHP ", 0xC6E2,0x55,0x00,0x53,0x24,0xF5 },
{ "PHA ", 0xC6E3,0x55,0x00,0x53,0x24,0xF4 },
{ "NOP ", 0xC6E4,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6E5,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6E6,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6E7,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6E8,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6E9,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP #$89 ", 0xC6EA,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6EC,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6ED,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6EE,0x55,0x00,0x53,0x24,0xF3 },
{ "NOP ", 0xC6EF,0x55,0x00,0x53,0x24,0xF3 },
{ "PHP ", 0xC6F0,0x55,0x00,0x53,0x24,0xF3 },
{ "PHA ", 0xC6F1,0x55,0x00,0x53,0x24,0xF2 },
{ "NOP $A9A9,X @ A9A9 = A9 ", 0xC6F2,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP $A9A9,X @ A9A9 = A9 ", 0xC6F5,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP $A9A9,X @ A9A9 = A9 ", 0xC6F8,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP $A9A9,X @ A9A9 = A9 ", 0xC6FB,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP $A9A9,X @ A9A9 = A9 ", 0xC6FE,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP $A9A9,X @ A9A9 = A9 ", 0xC701,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP ", 0xC704,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP ", 0xC705,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP ", 0xC706,0x55,0x00,0x53,0x24,0xF1 },
{ "NOP ", 0xC707,0x55,0x00,0x53,0x24,0xF1 },
{ "PHP ", 0xC708,0x55,0x00,0x53,0x24,0xF1 },
{ "PHA ", 0xC709,0x55,0x00,0x53,0x24,0xF0 },
{ "LDX #$05 ", 0xC70A,0x55,0x00,0x53,0x24,0xEF },
{ "PLA ", 0xC70C,0x55,0x05,0x53,0x24,0xEF },
{ "CMP #$55 ", 0xC70D,0x55,0x05,0x53,0x24,0xF0 },
{ "BEQ $C71B ", 0xC70F,0x55,0x05,0x53,0x27,0xF0 },
{ "PLA ", 0xC71B,0x55,0x05,0x53,0x27,0xF0 },
{ "AND #$CB ", 0xC71C,0x34,0x05,0x53,0x25,0xF1 },
{ "CMP #$00 ", 0xC71E,0x00,0x05,0x53,0x27,0xF1 },
{ "BEQ $C728 ", 0xC720,0x00,0x05,0x53,0x27,0xF1 },
{ "INY ", 0xC728,0x00,0x05,0x53,0x27,0xF1 },
{ "DEX ", 0xC729,0x00,0x05,0x54,0x25,0xF1 },
{ "BNE $C70C ", 0xC72A,0x00,0x04,0x54,0x25,0xF1 },
{ "PLA ", 0xC70C,0x00,0x04,0x54,0x25,0xF1 },
{ "CMP #$55 ", 0xC70D,0x55,0x04,0x54,0x25,0xF2 },
{ "BEQ $C71B ", 0xC70F,0x55,0x04,0x54,0x27,0xF2 },
{ "PLA ", 0xC71B,0x55,0x04,0x54,0x27,0xF2 },
{ "AND #$CB ", 0xC71C,0x34,0x04,0x54,0x25,0xF3 },
{ "CMP #$00 ", 0xC71E,0x00,0x04,0x54,0x27,0xF3 },
{ "BEQ $C728 ", 0xC720,0x00,0x04,0x54,0x27,0xF3 },
{ "INY ", 0xC728,0x00,0x04,0x54,0x27,0xF3 },
{ "DEX ", 0xC729,0x00,0x04,0x55,0x25,0xF3 },
{ "BNE $C70C ", 0xC72A,0x00,0x03,0x55,0x25,0xF3 },
{ "PLA ", 0xC70C,0x00,0x03,0x55,0x25,0xF3 },
{ "CMP #$55 ", 0xC70D,0x55,0x03,0x55,0x25,0xF4 },
{ "BEQ $C71B ", 0xC70F,0x55,0x03,0x55,0x27,0xF4 },
{ "PLA ", 0xC71B,0x55,0x03,0x55,0x27,0xF4 },
{ "AND #$CB ", 0xC71C,0x34,0x03,0x55,0x25,0xF5 },
{ "CMP #$00 ", 0xC71E,0x00,0x03,0x55,0x27,0xF5 },
{ "BEQ $C728 ", 0xC720,0x00,0x03,0x55,0x27,0xF5 },
{ "INY ", 0xC728,0x00,0x03,0x55,0x27,0xF5 },
{ "DEX ", 0xC729,0x00,0x03,0x56,0x25,0xF5 },
{ "BNE $C70C ", 0xC72A,0x00,0x02,0x56,0x25,0xF5 },
{ "PLA ", 0xC70C,0x00,0x02,0x56,0x25,0xF5 },
{ "CMP #$55 ", 0xC70D,0x55,0x02,0x56,0x25,0xF6 },
{ "BEQ $C71B ", 0xC70F,0x55,0x02,0x56,0x27,0xF6 },
{ "PLA ", 0xC71B,0x55,0x02,0x56,0x27,0xF6 },
{ "AND #$CB ", 0xC71C,0x34,0x02,0x56,0x25,0xF7 },
{ "CMP #$00 ", 0xC71E,0x00,0x02,0x56,0x27,0xF7 },
{ "BEQ $C728 ", 0xC720,0x00,0x02,0x56,0x27,0xF7 },
{ "INY ", 0xC728,0x00,0x02,0x56,0x27,0xF7 },
{ "DEX ", 0xC729,0x00,0x02,0x57,0x25,0xF7 },
{ "BNE $C70C ", 0xC72A,0x00,0x01,0x57,0x25,0xF7 },
{ "PLA ", 0xC70C,0x00,0x01,0x57,0x25,0xF7 },
{ "CMP #$55 ", 0xC70D,0x55,0x01,0x57,0x25,0xF8 },
{ "BEQ $C71B ", 0xC70F,0x55,0x01,0x57,0x27,0xF8 },
{ "PLA ", 0xC71B,0x55,0x01,0x57,0x27,0xF8 },
{ "AND #$CB ", 0xC71C,0x34,0x01,0x57,0x25,0xF9 },
{ "CMP #$00 ", 0xC71E,0x00,0x01,0x57,0x27,0xF9 },
{ "BEQ $C728 ", 0xC720,0x00,0x01,0x57,0x27,0xF9 },
{ "INY ", 0xC728,0x00,0x01,0x57,0x27,0xF9 },
{ "DEX ", 0xC729,0x00,0x01,0x58,0x25,0xF9 },
{ "BNE $C70C ", 0xC72A,0x00,0x00,0x58,0x27,0xF9 },
{ "RTS ", 0xC72C,0x00,0x00,0x58,0x27,0xF9 },
{ "RTS ", 0xC6AF,0x00,0x00,0x58,0x27,0xFB },
{ "JSR $E51E ", 0xC632,0x00,0x00,0x58,0x27,0xFD },
{ "LDA #$55 ", 0xE51E,0x00,0x00,0x58,0x27,0xFB },
{ "STA $0580 = 00 ", 0xE520,0x55,0x00,0x58,0x25,0xFB },
{ "LDA #$AA ", 0xE523,0x55,0x00,0x58,0x25,0xFB },
{ "STA $0432 = 00 ", 0xE525,0xAA,0x00,0x58,0xA5,0xFB },
{ "LDA #$80 ", 0xE528,0xAA,0x00,0x58,0xA5,0xFB },
{ "STA $43 = 00 ", 0xE52A,0x80,0x00,0x58,0xA5,0xFB },
{ "LDA #$05 ", 0xE52C,0x80,0x00,0x58,0xA5,0xFB },
{ "STA $44 = 00 ", 0xE52E,0x05,0x00,0x58,0x25,0xFB },
{ "LDA #$32 ", 0xE530,0x05,0x00,0x58,0x25,0xFB },
{ "STA $45 = 00 ", 0xE532,0x32,0x00,0x58,0x25,0xFB },
{ "LDA #$04 ", 0xE534,0x32,0x00,0x58,0x25,0xFB },
{ "STA $46 = 00 ", 0xE536,0x04,0x00,0x58,0x25,0xFB },
{ "LDX #$03 ", 0xE538,0x04,0x00,0x58,0x25,0xFB },
{ "LDY #$77 ", 0xE53A,0x04,0x03,0x58,0x25,0xFB },
{ "LDA #$FF ", 0xE53C,0x04,0x03,0x77,0x25,0xFB },
{ "STA $01 = FF ", 0xE53E,0xFF,0x03,0x77,0xA5,0xFB },
{ "BIT $01 = FF ", 0xE540,0xFF,0x03,0x77,0xA5,0xFB },
{ "SEC ", 0xE542,0xFF,0x03,0x77,0xE5,0xFB },
{ "LDA #$00 ", 0xE543,0xFF,0x03,0x77,0xE5,0xFB },
{ "LAX ($40,X) @ 43 = 0580 = 55 ", 0xE545,0x00,0x03,0x77,0x67,0xFB },
{ "NOP ", 0xE547,0x55,0x55,0x77,0x65,0xFB },
{ "NOP ", 0xE548,0x55,0x55,0x77,0x65,0xFB },
{ "NOP ", 0xE549,0x55,0x55,0x77,0x65,0xFB },
{ "NOP ", 0xE54A,0x55,0x55,0x77,0x65,0xFB },
{ "BEQ $E55F ", 0xE54B,0x55,0x55,0x77,0x65,0xFB },
{ "BMI $E55F ", 0xE54D,0x55,0x55,0x77,0x65,0xFB },
{ "BVC $E55F ", 0xE54F,0x55,0x55,0x77,0x65,0xFB },
{ "BCC $E55F ", 0xE551,0x55,0x55,0x77,0x65,0xFB },
{ "CMP #$55 ", 0xE553,0x55,0x55,0x77,0x65,0xFB },
{ "BNE $E55F ", 0xE555,0x55,0x55,0x77,0x67,0xFB },
{ "CPX #$55 ", 0xE557,0x55,0x55,0x77,0x67,0xFB },
{ "BNE $E55F ", 0xE559,0x55,0x55,0x77,0x67,0xFB },
{ "CPY #$77 ", 0xE55B,0x55,0x55,0x77,0x67,0xFB },
{ "BEQ $E563 ", 0xE55D,0x55,0x55,0x77,0x67,0xFB },
{ "LDX #$05 ", 0xE563,0x55,0x55,0x77,0x67,0xFB },
{ "LDY #$33 ", 0xE565,0x55,0x05,0x77,0x65,0xFB },
{ "CLV ", 0xE567,0x55,0x05,0x33,0x65,0xFB },
{ "CLC ", 0xE568,0x55,0x05,0x33,0x25,0xFB },
{ "LDA #$00 ", 0xE569,0x55,0x05,0x33,0x24,0xFB },
{ "LAX ($40,X) @ 45 = 0432 = AA ", 0xE56B,0x00,0x05,0x33,0x26,0xFB },
{ "NOP ", 0xE56D,0xAA,0xAA,0x33,0xA4,0xFB },
{ "NOP ", 0xE56E,0xAA,0xAA,0x33,0xA4,0xFB },
{ "NOP ", 0xE56F,0xAA,0xAA,0x33,0xA4,0xFB },
{ "NOP ", 0xE570,0xAA,0xAA,0x33,0xA4,0xFB },
{ "BEQ $E585 ", 0xE571,0xAA,0xAA,0x33,0xA4,0xFB },
{ "BPL $E585 ", 0xE573,0xAA,0xAA,0x33,0xA4,0xFB },
{ "BVS $E585 ", 0xE575,0xAA,0xAA,0x33,0xA4,0xFB },
{ "BCS $E585 ", 0xE577,0xAA,0xAA,0x33,0xA4,0xFB },
{ "CMP #$AA ", 0xE579,0xAA,0xAA,0x33,0xA4,0xFB },
{ "BNE $E585 ", 0xE57B,0xAA,0xAA,0x33,0x27,0xFB },
{ "CPX #$AA ", 0xE57D,0xAA,0xAA,0x33,0x27,0xFB },
{ "BNE $E585 ", 0xE57F,0xAA,0xAA,0x33,0x27,0xFB },
{ "CPY #$33 ", 0xE581,0xAA,0xAA,0x33,0x27,0xFB },
{ "BEQ $E589 ", 0xE583,0xAA,0xAA,0x33,0x27,0xFB },
{ "LDA #$87 ", 0xE589,0xAA,0xAA,0x33,0x27,0xFB },
{ "STA $67 = 00 ", 0xE58B,0x87,0xAA,0x33,0xA5,0xFB },
{ "LDA #$32 ", 0xE58D,0x87,0xAA,0x33,0xA5,0xFB },
{ "STA $68 = 00 ", 0xE58F,0x32,0xAA,0x33,0x25,0xFB },
{ "LDY #$57 ", 0xE591,0x32,0xAA,0x33,0x25,0xFB },
{ "BIT $01 = FF ", 0xE593,0x32,0xAA,0x57,0x25,0xFB },
{ "SEC ", 0xE595,0x32,0xAA,0x57,0xE5,0xFB },
{ "LDA #$00 ", 0xE596,0x32,0xAA,0x57,0xE5,0xFB },
{ "LAX $67 = 87 ", 0xE598,0x00,0xAA,0x57,0x67,0xFB },
{ "NOP ", 0xE59A,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE59B,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE59C,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE59D,0x87,0x87,0x57,0xE5,0xFB },
{ "BEQ $E5B2 ", 0xE59E,0x87,0x87,0x57,0xE5,0xFB },
{ "BPL $E5B2 ", 0xE5A0,0x87,0x87,0x57,0xE5,0xFB },
{ "BVC $E5B2 ", 0xE5A2,0x87,0x87,0x57,0xE5,0xFB },
{ "BCC $E5B2 ", 0xE5A4,0x87,0x87,0x57,0xE5,0xFB },
{ "CMP #$87 ", 0xE5A6,0x87,0x87,0x57,0xE5,0xFB },
{ "BNE $E5B2 ", 0xE5A8,0x87,0x87,0x57,0x67,0xFB },
{ "CPX #$87 ", 0xE5AA,0x87,0x87,0x57,0x67,0xFB },
{ "BNE $E5B2 ", 0xE5AC,0x87,0x87,0x57,0x67,0xFB },
{ "CPY #$57 ", 0xE5AE,0x87,0x87,0x57,0x67,0xFB },
{ "BEQ $E5B6 ", 0xE5B0,0x87,0x87,0x57,0x67,0xFB },
{ "LDY #$53 ", 0xE5B6,0x87,0x87,0x57,0x67,0xFB },
{ "CLV ", 0xE5B8,0x87,0x87,0x53,0x65,0xFB },
{ "CLC ", 0xE5B9,0x87,0x87,0x53,0x25,0xFB },
{ "LDA #$00 ", 0xE5BA,0x87,0x87,0x53,0x24,0xFB },
{ "LAX $68 = 32 ", 0xE5BC,0x00,0x87,0x53,0x26,0xFB },
{ "NOP ", 0xE5BE,0x32,0x32,0x53,0x24,0xFB },
{ "NOP ", 0xE5BF,0x32,0x32,0x53,0x24,0xFB },
{ "NOP ", 0xE5C0,0x32,0x32,0x53,0x24,0xFB },
{ "NOP ", 0xE5C1,0x32,0x32,0x53,0x24,0xFB },
{ "BEQ $E5D6 ", 0xE5C2,0x32,0x32,0x53,0x24,0xFB },
{ "BMI $E5D6 ", 0xE5C4,0x32,0x32,0x53,0x24,0xFB },
{ "BVS $E5D6 ", 0xE5C6,0x32,0x32,0x53,0x24,0xFB },
{ "BCS $E5D6 ", 0xE5C8,0x32,0x32,0x53,0x24,0xFB },
{ "CMP #$32 ", 0xE5CA,0x32,0x32,0x53,0x24,0xFB },
{ "BNE $E5D6 ", 0xE5CC,0x32,0x32,0x53,0x27,0xFB },
{ "CPX #$32 ", 0xE5CE,0x32,0x32,0x53,0x27,0xFB },
{ "BNE $E5D6 ", 0xE5D0,0x32,0x32,0x53,0x27,0xFB },
{ "CPY #$53 ", 0xE5D2,0x32,0x32,0x53,0x27,0xFB },
{ "BEQ $E5DA ", 0xE5D4,0x32,0x32,0x53,0x27,0xFB },
{ "LDA #$87 ", 0xE5DA,0x32,0x32,0x53,0x27,0xFB },
{ "STA $0577 = 00 ", 0xE5DC,0x87,0x32,0x53,0xA5,0xFB },
{ "LDA #$32 ", 0xE5DF,0x87,0x32,0x53,0xA5,0xFB },
{ "STA $0578 = 00 ", 0xE5E1,0x32,0x32,0x53,0x25,0xFB },
{ "LDY #$57 ", 0xE5E4,0x32,0x32,0x53,0x25,0xFB },
{ "BIT $01 = FF ", 0xE5E6,0x32,0x32,0x57,0x25,0xFB },
{ "SEC ", 0xE5E8,0x32,0x32,0x57,0xE5,0xFB },
{ "LDA #$00 ", 0xE5E9,0x32,0x32,0x57,0xE5,0xFB },
{ "LAX $0577 = 87 ", 0xE5EB,0x00,0x32,0x57,0x67,0xFB },
{ "NOP ", 0xE5EE,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE5EF,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE5F0,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE5F1,0x87,0x87,0x57,0xE5,0xFB },
{ "BEQ $E606 ", 0xE5F2,0x87,0x87,0x57,0xE5,0xFB },
{ "BPL $E606 ", 0xE5F4,0x87,0x87,0x57,0xE5,0xFB },
{ "BVC $E606 ", 0xE5F6,0x87,0x87,0x57,0xE5,0xFB },
{ "BCC $E606 ", 0xE5F8,0x87,0x87,0x57,0xE5,0xFB },
{ "CMP #$87 ", 0xE5FA,0x87,0x87,0x57,0xE5,0xFB },
{ "BNE $E606 ", 0xE5FC,0x87,0x87,0x57,0x67,0xFB },
{ "CPX #$87 ", 0xE5FE,0x87,0x87,0x57,0x67,0xFB },
{ "BNE $E606 ", 0xE600,0x87,0x87,0x57,0x67,0xFB },
{ "CPY #$57 ", 0xE602,0x87,0x87,0x57,0x67,0xFB },
{ "BEQ $E60A ", 0xE604,0x87,0x87,0x57,0x67,0xFB },
{ "LDY #$53 ", 0xE60A,0x87,0x87,0x57,0x67,0xFB },
{ "CLV ", 0xE60C,0x87,0x87,0x53,0x65,0xFB },
{ "CLC ", 0xE60D,0x87,0x87,0x53,0x25,0xFB },
{ "LDA #$00 ", 0xE60E,0x87,0x87,0x53,0x24,0xFB },
{ "LAX $0578 = 32 ", 0xE610,0x00,0x87,0x53,0x26,0xFB },
{ "NOP ", 0xE613,0x32,0x32,0x53,0x24,0xFB },
{ "NOP ", 0xE614,0x32,0x32,0x53,0x24,0xFB },
{ "NOP ", 0xE615,0x32,0x32,0x53,0x24,0xFB },
{ "NOP ", 0xE616,0x32,0x32,0x53,0x24,0xFB },
{ "BEQ $E62B ", 0xE617,0x32,0x32,0x53,0x24,0xFB },
{ "BMI $E62B ", 0xE619,0x32,0x32,0x53,0x24,0xFB },
{ "BVS $E62B ", 0xE61B,0x32,0x32,0x53,0x24,0xFB },
{ "BCS $E62B ", 0xE61D,0x32,0x32,0x53,0x24,0xFB },
{ "CMP #$32 ", 0xE61F,0x32,0x32,0x53,0x24,0xFB },
{ "BNE $E62B ", 0xE621,0x32,0x32,0x53,0x27,0xFB },
{ "CPX #$32 ", 0xE623,0x32,0x32,0x53,0x27,0xFB },
{ "BNE $E62B ", 0xE625,0x32,0x32,0x53,0x27,0xFB },
{ "CPY #$53 ", 0xE627,0x32,0x32,0x53,0x27,0xFB },
{ "BEQ $E62F ", 0xE629,0x32,0x32,0x53,0x27,0xFB },
{ "LDA #$FF ", 0xE62F,0x32,0x32,0x53,0x27,0xFB },
{ "STA $43 = 80 ", 0xE631,0xFF,0x32,0x53,0xA5,0xFB },
{ "LDA #$04 ", 0xE633,0xFF,0x32,0x53,0xA5,0xFB },
{ "STA $44 = 05 ", 0xE635,0x04,0x32,0x53,0x25,0xFB },
{ "LDA #$32 ", 0xE637,0x04,0x32,0x53,0x25,0xFB },
{ "STA $45 = 32 ", 0xE639,0x32,0x32,0x53,0x25,0xFB },
{ "LDA #$04 ", 0xE63B,0x32,0x32,0x53,0x25,0xFB },
{ "STA $46 = 04 ", 0xE63D,0x04,0x32,0x53,0x25,0xFB },
{ "LDA #$55 ", 0xE63F,0x04,0x32,0x53,0x25,0xFB },
{ "STA $0580 = 55 ", 0xE641,0x55,0x32,0x53,0x25,0xFB },
{ "LDA #$AA ", 0xE644,0x55,0x32,0x53,0x25,0xFB },
{ "STA $0432 = AA ", 0xE646,0xAA,0x32,0x53,0xA5,0xFB },
{ "LDX #$03 ", 0xE649,0xAA,0x32,0x53,0xA5,0xFB },
{ "LDY #$81 ", 0xE64B,0xAA,0x03,0x53,0x25,0xFB },
{ "BIT $01 = FF ", 0xE64D,0xAA,0x03,0x81,0xA5,0xFB },
{ "SEC ", 0xE64F,0xAA,0x03,0x81,0xE5,0xFB },
{ "LDA #$00 ", 0xE650,0xAA,0x03,0x81,0xE5,0xFB },
{ "LAX ($43),Y = 04FF @ 0580 = 55 ", 0xE652,0x00,0x03,0x81,0x67,0xFB },
{ "NOP ", 0xE654,0x55,0x55,0x81,0x65,0xFB },
{ "NOP ", 0xE655,0x55,0x55,0x81,0x65,0xFB },
{ "NOP ", 0xE656,0x55,0x55,0x81,0x65,0xFB },
{ "NOP ", 0xE657,0x55,0x55,0x81,0x65,0xFB },
{ "BEQ $E66C ", 0xE658,0x55,0x55,0x81,0x65,0xFB },
{ "BMI $E66C ", 0xE65A,0x55,0x55,0x81,0x65,0xFB },
{ "BVC $E66C ", 0xE65C,0x55,0x55,0x81,0x65,0xFB },
{ "BCC $E66C ", 0xE65E,0x55,0x55,0x81,0x65,0xFB },
{ "CMP #$55 ", 0xE660,0x55,0x55,0x81,0x65,0xFB },
{ "BNE $E66C ", 0xE662,0x55,0x55,0x81,0x67,0xFB },
{ "CPX #$55 ", 0xE664,0x55,0x55,0x81,0x67,0xFB },
{ "BNE $E66C ", 0xE666,0x55,0x55,0x81,0x67,0xFB },
{ "CPY #$81 ", 0xE668,0x55,0x55,0x81,0x67,0xFB },
{ "BEQ $E670 ", 0xE66A,0x55,0x55,0x81,0x67,0xFB },
{ "LDX #$05 ", 0xE670,0x55,0x55,0x81,0x67,0xFB },
{ "LDY #$00 ", 0xE672,0x55,0x05,0x81,0x65,0xFB },
{ "CLV ", 0xE674,0x55,0x05,0x00,0x67,0xFB },
{ "CLC ", 0xE675,0x55,0x05,0x00,0x27,0xFB },
{ "LDA #$00 ", 0xE676,0x55,0x05,0x00,0x26,0xFB },
{ "LAX ($45),Y = 0432 @ 0432 = AA ", 0xE678,0x00,0x05,0x00,0x26,0xFB },
{ "NOP ", 0xE67A,0xAA,0xAA,0x00,0xA4,0xFB },
{ "NOP ", 0xE67B,0xAA,0xAA,0x00,0xA4,0xFB },
{ "NOP ", 0xE67C,0xAA,0xAA,0x00,0xA4,0xFB },
{ "NOP ", 0xE67D,0xAA,0xAA,0x00,0xA4,0xFB },
{ "BEQ $E692 ", 0xE67E,0xAA,0xAA,0x00,0xA4,0xFB },
{ "BPL $E692 ", 0xE680,0xAA,0xAA,0x00,0xA4,0xFB },
{ "BVS $E692 ", 0xE682,0xAA,0xAA,0x00,0xA4,0xFB },
{ "BCS $E692 ", 0xE684,0xAA,0xAA,0x00,0xA4,0xFB },
{ "CMP #$AA ", 0xE686,0xAA,0xAA,0x00,0xA4,0xFB },
{ "BNE $E692 ", 0xE688,0xAA,0xAA,0x00,0x27,0xFB },
{ "CPX #$AA ", 0xE68A,0xAA,0xAA,0x00,0x27,0xFB },
{ "BNE $E692 ", 0xE68C,0xAA,0xAA,0x00,0x27,0xFB },
{ "CPY #$00 ", 0xE68E,0xAA,0xAA,0x00,0x27,0xFB },
{ "BEQ $E696 ", 0xE690,0xAA,0xAA,0x00,0x27,0xFB },
{ "LDA #$87 ", 0xE696,0xAA,0xAA,0x00,0x27,0xFB },
{ "STA $67 = 87 ", 0xE698,0x87,0xAA,0x00,0xA5,0xFB },
{ "LDA #$32 ", 0xE69A,0x87,0xAA,0x00,0xA5,0xFB },
{ "STA $68 = 32 ", 0xE69C,0x32,0xAA,0x00,0x25,0xFB },
{ "LDY #$57 ", 0xE69E,0x32,0xAA,0x00,0x25,0xFB },
{ "BIT $01 = FF ", 0xE6A0,0x32,0xAA,0x57,0x25,0xFB },
{ "SEC ", 0xE6A2,0x32,0xAA,0x57,0xE5,0xFB },
{ "LDA #$00 ", 0xE6A3,0x32,0xAA,0x57,0xE5,0xFB },
{ "LAX $10,Y @ 67 = 87 ", 0xE6A5,0x00,0xAA,0x57,0x67,0xFB },
{ "NOP ", 0xE6A7,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE6A8,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE6A9,0x87,0x87,0x57,0xE5,0xFB },
{ "NOP ", 0xE6AA,0x87,0x87,0x57,0xE5,0xFB },
{ "BEQ $E6BF ", 0xE6AB,0x87,0x87,0x57,0xE5,0xFB },
{ "BPL $E6BF ", 0xE6AD,0x87,0x87,0x57,0xE5,0xFB },
{ "BVC $E6BF ", 0xE6AF,0x87,0x87,0x57,0xE5,0xFB },
{ "BCC $E6BF ", 0xE6B1,0x87,0x87,0x57,0xE5,0xFB },
{ "CMP #$87 ", 0xE6B3,0x87,0x87,0x57,0xE5,0xFB },
{ "BNE $E6BF ", 0xE6B5,0x87,0x87,0x57,0x67,0xFB },
{ "CPX #$87 ", 0xE6B7,0x87,0x87,0x57,0x67,0xFB },
{ "BNE $E6BF ", 0xE6B9,0x87,0x87,0x57,0x67,0xFB },
{ "CPY #$57 ", 0xE6BB,0x87,0x87,0x57,0x67,0xFB },
{ "BEQ $E6C3 ", 0xE6BD,0x87,0x87,0x57,0x67,0xFB },
{ "LDY #$FF ", 0xE6C3,0x87,0x87,0x57,0x67,0xFB },
{ "CLV ", 0xE6C5,0x87,0x87,0xFF,0xE5,0xFB },
{ "CLC ", 0xE6C6,0x87,0x87,0xFF,0xA5,0xFB },
{ "LDA #$00 ", 0xE6C7,0x87,0x87,0xFF,0xA4,0xFB },
{ "LAX $69,Y @ 68 = 32 ", 0xE6C9,0x00,0x87,0xFF,0x26,0xFB },
{ "NOP ", 0xE6CB,0x32,0x32,0xFF,0x24,0xFB },
{ "NOP ", 0xE6CC,0x32,0x32,0xFF,0x24,0xFB },
{ "NOP ", 0xE6CD,0x32,0x32,0xFF,0x24,0xFB },
{ "NOP ", 0xE6CE,0x32,0x32,0xFF,0x24,0xFB },
{ "BEQ $E6E3 ", 0xE6CF,0x32,0x32,0xFF,0x24,0xFB },
{ "BMI $E6E3 ", 0xE6D1,0x32,0x32,0xFF,0x24,0xFB },
{ "BVS $E6E3 ", 0xE6D3,0x32,0x32,0xFF,0x24,0xFB },
{ "BCS $E6E3 ", 0xE6D5,0x32,0x32,0xFF,0x24,0xFB },
{ "CMP #$32 ", 0xE6D7,0x32,0x32,0xFF,0x24,0xFB },
{ "BNE $E6E3 ", 0xE6D9,0x32,0x32,0xFF,0x27,0xFB },
{ "CPX #$32 ", 0xE6DB,0x32,0x32,0xFF,0x27,0xFB },
{ "BNE $E6E3 ", 0xE6DD,0x32,0x32,0xFF,0x27,0xFB },
{ "CPY #$FF ", 0xE6DF,0x32,0x32,0xFF,0x27,0xFB },
{ "BEQ $E6E7 ", 0xE6E1,0x32,0x32,0xFF,0x27,0xFB },
{ "LDA #$87 ", 0xE6E7,0x32,0x32,0xFF,0x27,0xFB },
{ "STA $0587 = 00 ", 0xE6E9,0x87,0x32,0xFF,0xA5,0xFB },
{ "LDA #$32 ", 0xE6EC,0x87,0x32,0xFF,0xA5,0xFB },
{ "STA $0588 = 00 ", 0xE6EE,0x32,0x32,0xFF,0x25,0xFB },
{ "LDY #$30 ", 0xE6F1,0x32,0x32,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xE6F3,0x32,0x32,0x30,0x25,0xFB },
{ "SEC ", 0xE6F5,0x32,0x32,0x30,0xE5,0xFB },
{ "LDA #$00 ", 0xE6F6,0x32,0x32,0x30,0xE5,0xFB },
{ "LAX $0557,Y @ 0587 = 87 ", 0xE6F8,0x00,0x32,0x30,0x67,0xFB },
{ "NOP ", 0xE6FB,0x87,0x87,0x30,0xE5,0xFB },
{ "NOP ", 0xE6FC,0x87,0x87,0x30,0xE5,0xFB },
{ "NOP ", 0xE6FD,0x87,0x87,0x30,0xE5,0xFB },
{ "NOP ", 0xE6FE,0x87,0x87,0x30,0xE5,0xFB },
{ "BEQ $E713 ", 0xE6FF,0x87,0x87,0x30,0xE5,0xFB },
{ "BPL $E713 ", 0xE701,0x87,0x87,0x30,0xE5,0xFB },
{ "BVC $E713 ", 0xE703,0x87,0x87,0x30,0xE5,0xFB },
{ "BCC $E713 ", 0xE705,0x87,0x87,0x30,0xE5,0xFB },
{ "CMP #$87 ", 0xE707,0x87,0x87,0x30,0xE5,0xFB },
{ "BNE $E713 ", 0xE709,0x87,0x87,0x30,0x67,0xFB },
{ "CPX #$87 ", 0xE70B,0x87,0x87,0x30,0x67,0xFB },
{ "BNE $E713 ", 0xE70D,0x87,0x87,0x30,0x67,0xFB },
{ "CPY #$30 ", 0xE70F,0x87,0x87,0x30,0x67,0xFB },
{ "BEQ $E717 ", 0xE711,0x87,0x87,0x30,0x67,0xFB },
{ "LDY #$40 ", 0xE717,0x87,0x87,0x30,0x67,0xFB },
{ "CLV ", 0xE719,0x87,0x87,0x40,0x65,0xFB },
{ "CLC ", 0xE71A,0x87,0x87,0x40,0x25,0xFB },
{ "LDA #$00 ", 0xE71B,0x87,0x87,0x40,0x24,0xFB },
{ "LAX $0548,Y @ 0588 = 32 ", 0xE71D,0x00,0x87,0x40,0x26,0xFB },
{ "NOP ", 0xE720,0x32,0x32,0x40,0x24,0xFB },
{ "NOP ", 0xE721,0x32,0x32,0x40,0x24,0xFB },
{ "NOP ", 0xE722,0x32,0x32,0x40,0x24,0xFB },
{ "NOP ", 0xE723,0x32,0x32,0x40,0x24,0xFB },
{ "BEQ $E738 ", 0xE724,0x32,0x32,0x40,0x24,0xFB },
{ "BMI $E738 ", 0xE726,0x32,0x32,0x40,0x24,0xFB },
{ "BVS $E738 ", 0xE728,0x32,0x32,0x40,0x24,0xFB },
{ "BCS $E738 ", 0xE72A,0x32,0x32,0x40,0x24,0xFB },
{ "CMP #$32 ", 0xE72C,0x32,0x32,0x40,0x24,0xFB },
{ "BNE $E738 ", 0xE72E,0x32,0x32,0x40,0x27,0xFB },
{ "CPX #$32 ", 0xE730,0x32,0x32,0x40,0x27,0xFB },
{ "BNE $E738 ", 0xE732,0x32,0x32,0x40,0x27,0xFB },
{ "CPY #$40 ", 0xE734,0x32,0x32,0x40,0x27,0xFB },
{ "BEQ $E73C ", 0xE736,0x32,0x32,0x40,0x27,0xFB },
{ "RTS ", 0xE73C,0x32,0x32,0x40,0x27,0xFB },
{ "JSR $E73D ", 0xC635,0x32,0x32,0x40,0x27,0xFD },
{ "LDA #$C0 ", 0xE73D,0x32,0x32,0x40,0x27,0xFB },
{ "STA $01 = FF ", 0xE73F,0xC0,0x32,0x40,0xA5,0xFB },
{ "LDA #$00 ", 0xE741,0xC0,0x32,0x40,0xA5,0xFB },
{ "STA $0489 = 00 ", 0xE743,0x00,0x32,0x40,0x27,0xFB },
{ "LDA #$89 ", 0xE746,0x00,0x32,0x40,0x27,0xFB },
{ "STA $60 = 00 ", 0xE748,0x89,0x32,0x40,0xA5,0xFB },
{ "LDA #$04 ", 0xE74A,0x89,0x32,0x40,0xA5,0xFB },
{ "STA $61 = 00 ", 0xE74C,0x04,0x32,0x40,0x25,0xFB },
{ "LDY #$44 ", 0xE74E,0x04,0x32,0x40,0x25,0xFB },
{ "LDX #$17 ", 0xE750,0x04,0x32,0x44,0x25,0xFB },
{ "LDA #$3E ", 0xE752,0x04,0x17,0x44,0x25,0xFB },
{ "BIT $01 = C0 ", 0xE754,0x3E,0x17,0x44,0x25,0xFB },
{ "CLC ", 0xE756,0x3E,0x17,0x44,0xE7,0xFB },
{ "SAX ($49,X) @ 60 = 0489 = 00 ", 0xE757,0x3E,0x17,0x44,0xE6,0xFB },
{ "NOP ", 0xE759,0x3E,0x17,0x44,0xE6,0xFB },
{ "NOP ", 0xE75A,0x3E,0x17,0x44,0xE6,0xFB },
{ "NOP ", 0xE75B,0x3E,0x17,0x44,0xE6,0xFB },
{ "NOP ", 0xE75C,0x3E,0x17,0x44,0xE6,0xFB },
{ "BNE $E778 ", 0xE75D,0x3E,0x17,0x44,0xE6,0xFB },
{ "BCS $E778 ", 0xE75F,0x3E,0x17,0x44,0xE6,0xFB },
{ "BVC $E778 ", 0xE761,0x3E,0x17,0x44,0xE6,0xFB },
{ "BPL $E778 ", 0xE763,0x3E,0x17,0x44,0xE6,0xFB },
{ "CMP #$3E ", 0xE765,0x3E,0x17,0x44,0xE6,0xFB },
{ "BNE $E778 ", 0xE767,0x3E,0x17,0x44,0x67,0xFB },
{ "CPY #$44 ", 0xE769,0x3E,0x17,0x44,0x67,0xFB },
{ "BNE $E778 ", 0xE76B,0x3E,0x17,0x44,0x67,0xFB },
{ "CPX #$17 ", 0xE76D,0x3E,0x17,0x44,0x67,0xFB },
{ "BNE $E778 ", 0xE76F,0x3E,0x17,0x44,0x67,0xFB },
{ "LDA $0489 = 16 ", 0xE771,0x3E,0x17,0x44,0x67,0xFB },
{ "CMP #$16 ", 0xE774,0x16,0x17,0x44,0x65,0xFB },
{ "BEQ $E77C ", 0xE776,0x16,0x17,0x44,0x67,0xFB },
{ "LDY #$44 ", 0xE77C,0x16,0x17,0x44,0x67,0xFB },
{ "LDX #$7A ", 0xE77E,0x16,0x17,0x44,0x65,0xFB },
{ "LDA #$66 ", 0xE780,0x16,0x7A,0x44,0x65,0xFB },
{ "SEC ", 0xE782,0x66,0x7A,0x44,0x65,0xFB },
{ "CLV ", 0xE783,0x66,0x7A,0x44,0x65,0xFB },
{ "SAX ($E6,X) @ 60 = 0489 = 16 ", 0xE784,0x66,0x7A,0x44,0x25,0xFB },
{ "NOP ", 0xE786,0x66,0x7A,0x44,0x25,0xFB },
{ "NOP ", 0xE787,0x66,0x7A,0x44,0x25,0xFB },
{ "NOP ", 0xE788,0x66,0x7A,0x44,0x25,0xFB },
{ "NOP ", 0xE789,0x66,0x7A,0x44,0x25,0xFB },
{ "BEQ $E7A5 ", 0xE78A,0x66,0x7A,0x44,0x25,0xFB },
{ "BCC $E7A5 ", 0xE78C,0x66,0x7A,0x44,0x25,0xFB },
{ "BVS $E7A5 ", 0xE78E,0x66,0x7A,0x44,0x25,0xFB },
{ "BMI $E7A5 ", 0xE790,0x66,0x7A,0x44,0x25,0xFB },
{ "CMP #$66 ", 0xE792,0x66,0x7A,0x44,0x25,0xFB },
{ "BNE $E7A5 ", 0xE794,0x66,0x7A,0x44,0x27,0xFB },
{ "CPY #$44 ", 0xE796,0x66,0x7A,0x44,0x27,0xFB },
{ "BNE $E7A5 ", 0xE798,0x66,0x7A,0x44,0x27,0xFB },
{ "CPX #$7A ", 0xE79A,0x66,0x7A,0x44,0x27,0xFB },
{ "BNE $E7A5 ", 0xE79C,0x66,0x7A,0x44,0x27,0xFB },
{ "LDA $0489 = 62 ", 0xE79E,0x66,0x7A,0x44,0x27,0xFB },
{ "CMP #$62 ", 0xE7A1,0x62,0x7A,0x44,0x25,0xFB },
{ "BEQ $E7A9 ", 0xE7A3,0x62,0x7A,0x44,0x27,0xFB },
{ "LDA #$FF ", 0xE7A9,0x62,0x7A,0x44,0x27,0xFB },
{ "STA $49 = 00 ", 0xE7AB,0xFF,0x7A,0x44,0xA5,0xFB },
{ "LDY #$44 ", 0xE7AD,0xFF,0x7A,0x44,0xA5,0xFB },
{ "LDX #$AA ", 0xE7AF,0xFF,0x7A,0x44,0x25,0xFB },
{ "LDA #$55 ", 0xE7B1,0xFF,0xAA,0x44,0xA5,0xFB },
{ "BIT $01 = C0 ", 0xE7B3,0x55,0xAA,0x44,0x25,0xFB },
{ "CLC ", 0xE7B5,0x55,0xAA,0x44,0xE5,0xFB },
{ "SAX $49 = FF ", 0xE7B6,0x55,0xAA,0x44,0xE4,0xFB },
{ "NOP ", 0xE7B8,0x55,0xAA,0x44,0xE4,0xFB },
{ "NOP ", 0xE7B9,0x55,0xAA,0x44,0xE4,0xFB },
{ "NOP ", 0xE7BA,0x55,0xAA,0x44,0xE4,0xFB },
{ "NOP ", 0xE7BB,0x55,0xAA,0x44,0xE4,0xFB },
{ "BEQ $E7D6 ", 0xE7BC,0x55,0xAA,0x44,0xE4,0xFB },
{ "BCS $E7D6 ", 0xE7BE,0x55,0xAA,0x44,0xE4,0xFB },
{ "BVC $E7D6 ", 0xE7C0,0x55,0xAA,0x44,0xE4,0xFB },
{ "BPL $E7D6 ", 0xE7C2,0x55,0xAA,0x44,0xE4,0xFB },
{ "CMP #$55 ", 0xE7C4,0x55,0xAA,0x44,0xE4,0xFB },
{ "BNE $E7D6 ", 0xE7C6,0x55,0xAA,0x44,0x67,0xFB },
{ "CPY #$44 ", 0xE7C8,0x55,0xAA,0x44,0x67,0xFB },
{ "BNE $E7D6 ", 0xE7CA,0x55,0xAA,0x44,0x67,0xFB },
{ "CPX #$AA ", 0xE7CC,0x55,0xAA,0x44,0x67,0xFB },
{ "BNE $E7D6 ", 0xE7CE,0x55,0xAA,0x44,0x67,0xFB },
{ "LDA $49 = 00 ", 0xE7D0,0x55,0xAA,0x44,0x67,0xFB },
{ "CMP #$00 ", 0xE7D2,0x00,0xAA,0x44,0x67,0xFB },
{ "BEQ $E7DA ", 0xE7D4,0x00,0xAA,0x44,0x67,0xFB },
{ "LDA #$00 ", 0xE7DA,0x00,0xAA,0x44,0x67,0xFB },
{ "STA $56 = 00 ", 0xE7DC,0x00,0xAA,0x44,0x67,0xFB },
{ "LDY #$58 ", 0xE7DE,0x00,0xAA,0x44,0x67,0xFB },
{ "LDX #$EF ", 0xE7E0,0x00,0xAA,0x58,0x65,0xFB },
{ "LDA #$66 ", 0xE7E2,0x00,0xEF,0x58,0xE5,0xFB },
{ "SEC ", 0xE7E4,0x66,0xEF,0x58,0x65,0xFB },
{ "CLV ", 0xE7E5,0x66,0xEF,0x58,0x65,0xFB },
{ "SAX $56 = 00 ", 0xE7E6,0x66,0xEF,0x58,0x25,0xFB },
{ "NOP ", 0xE7E8,0x66,0xEF,0x58,0x25,0xFB },
{ "NOP ", 0xE7E9,0x66,0xEF,0x58,0x25,0xFB },
{ "NOP ", 0xE7EA,0x66,0xEF,0x58,0x25,0xFB },
{ "NOP ", 0xE7EB,0x66,0xEF,0x58,0x25,0xFB },
{ "BEQ $E806 ", 0xE7EC,0x66,0xEF,0x58,0x25,0xFB },
{ "BCC $E806 ", 0xE7EE,0x66,0xEF,0x58,0x25,0xFB },
{ "BVS $E806 ", 0xE7F0,0x66,0xEF,0x58,0x25,0xFB },
{ "BMI $E806 ", 0xE7F2,0x66,0xEF,0x58,0x25,0xFB },
{ "CMP #$66 ", 0xE7F4,0x66,0xEF,0x58,0x25,0xFB },
{ "BNE $E806 ", 0xE7F6,0x66,0xEF,0x58,0x27,0xFB },
{ "CPY #$58 ", 0xE7F8,0x66,0xEF,0x58,0x27,0xFB },
{ "BNE $E806 ", 0xE7FA,0x66,0xEF,0x58,0x27,0xFB },
{ "CPX #$EF ", 0xE7FC,0x66,0xEF,0x58,0x27,0xFB },
{ "BNE $E806 ", 0xE7FE,0x66,0xEF,0x58,0x27,0xFB },
{ "LDA $56 = 66 ", 0xE800,0x66,0xEF,0x58,0x27,0xFB },
{ "CMP #$66 ", 0xE802,0x66,0xEF,0x58,0x25,0xFB },
{ "BEQ $E80A ", 0xE804,0x66,0xEF,0x58,0x27,0xFB },
{ "LDA #$FF ", 0xE80A,0x66,0xEF,0x58,0x27,0xFB },
{ "STA $0549 = 00 ", 0xE80C,0xFF,0xEF,0x58,0xA5,0xFB },
{ "LDY #$E5 ", 0xE80F,0xFF,0xEF,0x58,0xA5,0xFB },
{ "LDX #$AF ", 0xE811,0xFF,0xEF,0xE5,0xA5,0xFB },
{ "LDA #$F5 ", 0xE813,0xFF,0xAF,0xE5,0xA5,0xFB },
{ "BIT $01 = C0 ", 0xE815,0xF5,0xAF,0xE5,0xA5,0xFB },
{ "CLC ", 0xE817,0xF5,0xAF,0xE5,0xE5,0xFB },
{ "SAX $0549 = FF ", 0xE818,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "NOP ", 0xE81B,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "NOP ", 0xE81C,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "NOP ", 0xE81D,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "NOP ", 0xE81E,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "BEQ $E83A ", 0xE81F,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "BCS $E83A ", 0xE821,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "BVC $E83A ", 0xE823,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "BPL $E83A ", 0xE825,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "CMP #$F5 ", 0xE827,0xF5,0xAF,0xE5,0xE4,0xFB },
{ "BNE $E83A ", 0xE829,0xF5,0xAF,0xE5,0x67,0xFB },
{ "CPY #$E5 ", 0xE82B,0xF5,0xAF,0xE5,0x67,0xFB },
{ "BNE $E83A ", 0xE82D,0xF5,0xAF,0xE5,0x67,0xFB },
{ "CPX #$AF ", 0xE82F,0xF5,0xAF,0xE5,0x67,0xFB },
{ "BNE $E83A ", 0xE831,0xF5,0xAF,0xE5,0x67,0xFB },
{ "LDA $0549 = A5 ", 0xE833,0xF5,0xAF,0xE5,0x67,0xFB },
{ "CMP #$A5 ", 0xE836,0xA5,0xAF,0xE5,0xE5,0xFB },
{ "BEQ $E83E ", 0xE838,0xA5,0xAF,0xE5,0x67,0xFB },
{ "LDA #$00 ", 0xE83E,0xA5,0xAF,0xE5,0x67,0xFB },
{ "STA $0556 = 00 ", 0xE840,0x00,0xAF,0xE5,0x67,0xFB },
{ "LDY #$58 ", 0xE843,0x00,0xAF,0xE5,0x67,0xFB },
{ "LDX #$B3 ", 0xE845,0x00,0xAF,0x58,0x65,0xFB },
{ "LDA #$97 ", 0xE847,0x00,0xB3,0x58,0xE5,0xFB },
{ "SEC ", 0xE849,0x97,0xB3,0x58,0xE5,0xFB },
{ "CLV ", 0xE84A,0x97,0xB3,0x58,0xE5,0xFB },
{ "SAX $0556 = 00 ", 0xE84B,0x97,0xB3,0x58,0xA5,0xFB },
{ "NOP ", 0xE84E,0x97,0xB3,0x58,0xA5,0xFB },
{ "NOP ", 0xE84F,0x97,0xB3,0x58,0xA5,0xFB },
{ "NOP ", 0xE850,0x97,0xB3,0x58,0xA5,0xFB },
{ "NOP ", 0xE851,0x97,0xB3,0x58,0xA5,0xFB },
{ "BEQ $E86D ", 0xE852,0x97,0xB3,0x58,0xA5,0xFB },
{ "BCC $E86D ", 0xE854,0x97,0xB3,0x58,0xA5,0xFB },
{ "BVS $E86D ", 0xE856,0x97,0xB3,0x58,0xA5,0xFB },
{ "BPL $E86D ", 0xE858,0x97,0xB3,0x58,0xA5,0xFB },
{ "CMP #$97 ", 0xE85A,0x97,0xB3,0x58,0xA5,0xFB },
{ "BNE $E86D ", 0xE85C,0x97,0xB3,0x58,0x27,0xFB },
{ "CPY #$58 ", 0xE85E,0x97,0xB3,0x58,0x27,0xFB },
{ "BNE $E86D ", 0xE860,0x97,0xB3,0x58,0x27,0xFB },
{ "CPX #$B3 ", 0xE862,0x97,0xB3,0x58,0x27,0xFB },
{ "BNE $E86D ", 0xE864,0x97,0xB3,0x58,0x27,0xFB },
{ "LDA $0556 = 93 ", 0xE866,0x97,0xB3,0x58,0x27,0xFB },
{ "CMP #$93 ", 0xE869,0x93,0xB3,0x58,0xA5,0xFB },
{ "BEQ $E871 ", 0xE86B,0x93,0xB3,0x58,0x27,0xFB },
{ "LDA #$FF ", 0xE871,0x93,0xB3,0x58,0x27,0xFB },
{ "STA $49 = 00 ", 0xE873,0xFF,0xB3,0x58,0xA5,0xFB },
{ "LDY #$FF ", 0xE875,0xFF,0xB3,0x58,0xA5,0xFB },
{ "LDX #$AA ", 0xE877,0xFF,0xB3,0xFF,0xA5,0xFB },
{ "LDA #$55 ", 0xE879,0xFF,0xAA,0xFF,0xA5,0xFB },
{ "BIT $01 = C0 ", 0xE87B,0x55,0xAA,0xFF,0x25,0xFB },
{ "CLC ", 0xE87D,0x55,0xAA,0xFF,0xE5,0xFB },
{ "SAX $4A,Y @ 49 = FF ", 0xE87E,0x55,0xAA,0xFF,0xE4,0xFB },
{ "NOP ", 0xE880,0x55,0xAA,0xFF,0xE4,0xFB },
{ "NOP ", 0xE881,0x55,0xAA,0xFF,0xE4,0xFB },
{ "NOP ", 0xE882,0x55,0xAA,0xFF,0xE4,0xFB },
{ "NOP ", 0xE883,0x55,0xAA,0xFF,0xE4,0xFB },
{ "BEQ $E89E ", 0xE884,0x55,0xAA,0xFF,0xE4,0xFB },
{ "BCS $E89E ", 0xE886,0x55,0xAA,0xFF,0xE4,0xFB },
{ "BVC $E89E ", 0xE888,0x55,0xAA,0xFF,0xE4,0xFB },
{ "BPL $E89E ", 0xE88A,0x55,0xAA,0xFF,0xE4,0xFB },
{ "CMP #$55 ", 0xE88C,0x55,0xAA,0xFF,0xE4,0xFB },
{ "BNE $E89E ", 0xE88E,0x55,0xAA,0xFF,0x67,0xFB },
{ "CPY #$FF ", 0xE890,0x55,0xAA,0xFF,0x67,0xFB },
{ "BNE $E89E ", 0xE892,0x55,0xAA,0xFF,0x67,0xFB },
{ "CPX #$AA ", 0xE894,0x55,0xAA,0xFF,0x67,0xFB },
{ "BNE $E89E ", 0xE896,0x55,0xAA,0xFF,0x67,0xFB },
{ "LDA $49 = 00 ", 0xE898,0x55,0xAA,0xFF,0x67,0xFB },
{ "CMP #$00 ", 0xE89A,0x00,0xAA,0xFF,0x67,0xFB },
{ "BEQ $E8A2 ", 0xE89C,0x00,0xAA,0xFF,0x67,0xFB },
{ "LDA #$00 ", 0xE8A2,0x00,0xAA,0xFF,0x67,0xFB },
{ "STA $56 = 66 ", 0xE8A4,0x00,0xAA,0xFF,0x67,0xFB },
{ "LDY #$06 ", 0xE8A6,0x00,0xAA,0xFF,0x67,0xFB },
{ "LDX #$EF ", 0xE8A8,0x00,0xAA,0x06,0x65,0xFB },
{ "LDA #$66 ", 0xE8AA,0x00,0xEF,0x06,0xE5,0xFB },
{ "SEC ", 0xE8AC,0x66,0xEF,0x06,0x65,0xFB },
{ "CLV ", 0xE8AD,0x66,0xEF,0x06,0x65,0xFB },
{ "SAX $50,Y @ 56 = 00 ", 0xE8AE,0x66,0xEF,0x06,0x25,0xFB },
{ "NOP ", 0xE8B0,0x66,0xEF,0x06,0x25,0xFB },
{ "NOP ", 0xE8B1,0x66,0xEF,0x06,0x25,0xFB },
{ "NOP ", 0xE8B2,0x66,0xEF,0x06,0x25,0xFB },
{ "NOP ", 0xE8B3,0x66,0xEF,0x06,0x25,0xFB },
{ "BEQ $E8CE ", 0xE8B4,0x66,0xEF,0x06,0x25,0xFB },
{ "BCC $E8CE ", 0xE8B6,0x66,0xEF,0x06,0x25,0xFB },
{ "BVS $E8CE ", 0xE8B8,0x66,0xEF,0x06,0x25,0xFB },
{ "BMI $E8CE ", 0xE8BA,0x66,0xEF,0x06,0x25,0xFB },
{ "CMP #$66 ", 0xE8BC,0x66,0xEF,0x06,0x25,0xFB },
{ "BNE $E8CE ", 0xE8BE,0x66,0xEF,0x06,0x27,0xFB },
{ "CPY #$06 ", 0xE8C0,0x66,0xEF,0x06,0x27,0xFB },
{ "BNE $E8CE ", 0xE8C2,0x66,0xEF,0x06,0x27,0xFB },
{ "CPX #$EF ", 0xE8C4,0x66,0xEF,0x06,0x27,0xFB },
{ "BNE $E8CE ", 0xE8C6,0x66,0xEF,0x06,0x27,0xFB },
{ "LDA $56 = 66 ", 0xE8C8,0x66,0xEF,0x06,0x27,0xFB },
{ "CMP #$66 ", 0xE8CA,0x66,0xEF,0x06,0x25,0xFB },
{ "BEQ $E8D2 ", 0xE8CC,0x66,0xEF,0x06,0x27,0xFB },
{ "RTS ", 0xE8D2,0x66,0xEF,0x06,0x27,0xFB },
{ "JSR $E8D3 ", 0xC638,0x66,0xEF,0x06,0x27,0xFD },
{ "LDY #$90 ", 0xE8D3,0x66,0xEF,0x06,0x27,0xFB },
{ "JSR $F931 ", 0xE8D5,0x66,0xEF,0x90,0xA5,0xFB },
{ "BIT $01 = C0 ", 0xF931,0x66,0xEF,0x90,0xA5,0xF9 },
{ "LDA #$40 ", 0xF933,0x66,0xEF,0x90,0xE5,0xF9 },
{ "SEC ", 0xF935,0x40,0xEF,0x90,0x65,0xF9 },
{ "RTS ", 0xF936,0x40,0xEF,0x90,0x65,0xF9 },
{ "SBC #$40 ", 0xE8D8,0x40,0xEF,0x90,0x65,0xFB },
{ "NOP ", 0xE8DA,0x00,0xEF,0x90,0x27,0xFB },
{ "NOP ", 0xE8DB,0x00,0xEF,0x90,0x27,0xFB },
{ "NOP ", 0xE8DC,0x00,0xEF,0x90,0x27,0xFB },
{ "NOP ", 0xE8DD,0x00,0xEF,0x90,0x27,0xFB },
{ "JSR $F937 ", 0xE8DE,0x00,0xEF,0x90,0x27,0xFB },
{ "BMI $F944 ", 0xF937,0x00,0xEF,0x90,0x27,0xF9 },
{ "BCC $F944 ", 0xF939,0x00,0xEF,0x90,0x27,0xF9 },
{ "BNE $F944 ", 0xF93B,0x00,0xEF,0x90,0x27,0xF9 },
{ "BVS $F944 ", 0xF93D,0x00,0xEF,0x90,0x27,0xF9 },
{ "CMP #$00 ", 0xF93F,0x00,0xEF,0x90,0x27,0xF9 },
{ "BNE $F944 ", 0xF941,0x00,0xEF,0x90,0x27,0xF9 },
{ "RTS ", 0xF943,0x00,0xEF,0x90,0x27,0xF9 },
{ "INY ", 0xE8E1,0x00,0xEF,0x90,0x27,0xFB },
{ "JSR $F947 ", 0xE8E2,0x00,0xEF,0x91,0xA5,0xFB },
{ "CLV ", 0xF947,0x00,0xEF,0x91,0xA5,0xF9 },
{ "SEC ", 0xF948,0x00,0xEF,0x91,0xA5,0xF9 },
{ "LDA #$40 ", 0xF949,0x00,0xEF,0x91,0xA5,0xF9 },
{ "RTS ", 0xF94B,0x40,0xEF,0x91,0x25,0xF9 },
{ "SBC #$3F ", 0xE8E5,0x40,0xEF,0x91,0x25,0xFB },
{ "NOP ", 0xE8E7,0x01,0xEF,0x91,0x25,0xFB },
{ "NOP ", 0xE8E8,0x01,0xEF,0x91,0x25,0xFB },
{ "NOP ", 0xE8E9,0x01,0xEF,0x91,0x25,0xFB },
{ "NOP ", 0xE8EA,0x01,0xEF,0x91,0x25,0xFB },
{ "JSR $F94C ", 0xE8EB,0x01,0xEF,0x91,0x25,0xFB },
{ "BEQ $F959 ", 0xF94C,0x01,0xEF,0x91,0x25,0xF9 },
{ "BMI $F959 ", 0xF94E,0x01,0xEF,0x91,0x25,0xF9 },
{ "BCC $F959 ", 0xF950,0x01,0xEF,0x91,0x25,0xF9 },
{ "BVS $F959 ", 0xF952,0x01,0xEF,0x91,0x25,0xF9 },
{ "CMP #$01 ", 0xF954,0x01,0xEF,0x91,0x25,0xF9 },
{ "BNE $F959 ", 0xF956,0x01,0xEF,0x91,0x27,0xF9 },
{ "RTS ", 0xF958,0x01,0xEF,0x91,0x27,0xF9 },
{ "INY ", 0xE8EE,0x01,0xEF,0x91,0x27,0xFB },
{ "JSR $F95C ", 0xE8EF,0x01,0xEF,0x92,0xA5,0xFB },
{ "LDA #$40 ", 0xF95C,0x01,0xEF,0x92,0xA5,0xF9 },
{ "SEC ", 0xF95E,0x40,0xEF,0x92,0x25,0xF9 },
{ "BIT $01 = C0 ", 0xF95F,0x40,0xEF,0x92,0x25,0xF9 },
{ "RTS ", 0xF961,0x40,0xEF,0x92,0xE5,0xF9 },
{ "SBC #$41 ", 0xE8F2,0x40,0xEF,0x92,0xE5,0xFB },
{ "NOP ", 0xE8F4,0xFF,0xEF,0x92,0xA4,0xFB },
{ "NOP ", 0xE8F5,0xFF,0xEF,0x92,0xA4,0xFB },
{ "NOP ", 0xE8F6,0xFF,0xEF,0x92,0xA4,0xFB },
{ "NOP ", 0xE8F7,0xFF,0xEF,0x92,0xA4,0xFB },
{ "JSR $F962 ", 0xE8F8,0xFF,0xEF,0x92,0xA4,0xFB },
{ "BCS $F96F ", 0xF962,0xFF,0xEF,0x92,0xA4,0xF9 },
{ "BEQ $F96F ", 0xF964,0xFF,0xEF,0x92,0xA4,0xF9 },
{ "BPL $F96F ", 0xF966,0xFF,0xEF,0x92,0xA4,0xF9 },
{ "BVS $F96F ", 0xF968,0xFF,0xEF,0x92,0xA4,0xF9 },
{ "CMP #$FF ", 0xF96A,0xFF,0xEF,0x92,0xA4,0xF9 },
{ "BNE $F96F ", 0xF96C,0xFF,0xEF,0x92,0x27,0xF9 },
{ "RTS ", 0xF96E,0xFF,0xEF,0x92,0x27,0xF9 },
{ "INY ", 0xE8FB,0xFF,0xEF,0x92,0x27,0xFB },
{ "JSR $F972 ", 0xE8FC,0xFF,0xEF,0x93,0xA5,0xFB },
{ "CLC ", 0xF972,0xFF,0xEF,0x93,0xA5,0xF9 },
{ "LDA #$80 ", 0xF973,0xFF,0xEF,0x93,0xA4,0xF9 },
{ "RTS ", 0xF975,0x80,0xEF,0x93,0xA4,0xF9 },
{ "SBC #$00 ", 0xE8FF,0x80,0xEF,0x93,0xA4,0xFB },
{ "NOP ", 0xE901,0x7F,0xEF,0x93,0x65,0xFB },
{ "NOP ", 0xE902,0x7F,0xEF,0x93,0x65,0xFB },
{ "NOP ", 0xE903,0x7F,0xEF,0x93,0x65,0xFB },
{ "NOP ", 0xE904,0x7F,0xEF,0x93,0x65,0xFB },
{ "JSR $F976 ", 0xE905,0x7F,0xEF,0x93,0x65,0xFB },
{ "BCC $F97D ", 0xF976,0x7F,0xEF,0x93,0x65,0xF9 },
{ "CMP #$7F ", 0xF978,0x7F,0xEF,0x93,0x65,0xF9 },
{ "BNE $F97D ", 0xF97A,0x7F,0xEF,0x93,0x67,0xF9 },
{ "RTS ", 0xF97C,0x7F,0xEF,0x93,0x67,0xF9 },
{ "INY ", 0xE908,0x7F,0xEF,0x93,0x67,0xFB },
{ "JSR $F980 ", 0xE909,0x7F,0xEF,0x94,0xE5,0xFB },
{ "SEC ", 0xF980,0x7F,0xEF,0x94,0xE5,0xF9 },
{ "LDA #$81 ", 0xF981,0x7F,0xEF,0x94,0xE5,0xF9 },
{ "RTS ", 0xF983,0x81,0xEF,0x94,0xE5,0xF9 },
{ "SBC #$7F ", 0xE90C,0x81,0xEF,0x94,0xE5,0xFB },
{ "NOP ", 0xE90E,0x02,0xEF,0x94,0x65,0xFB },
{ "NOP ", 0xE90F,0x02,0xEF,0x94,0x65,0xFB },
{ "NOP ", 0xE910,0x02,0xEF,0x94,0x65,0xFB },
{ "NOP ", 0xE911,0x02,0xEF,0x94,0x65,0xFB },
{ "JSR $F984 ", 0xE912,0x02,0xEF,0x94,0x65,0xFB },
{ "BVC $F98D ", 0xF984,0x02,0xEF,0x94,0x65,0xF9 },
{ "BCC $F98D ", 0xF986,0x02,0xEF,0x94,0x65,0xF9 },
{ "CMP #$02 ", 0xF988,0x02,0xEF,0x94,0x65,0xF9 },
{ "BNE $F98D ", 0xF98A,0x02,0xEF,0x94,0x67,0xF9 },
{ "RTS ", 0xF98C,0x02,0xEF,0x94,0x67,0xF9 },
{ "RTS ", 0xE915,0x02,0xEF,0x94,0x67,0xFB },
{ "JSR $E916 ", 0xC63B,0x02,0xEF,0x94,0x67,0xFD },
{ "LDA #$FF ", 0xE916,0x02,0xEF,0x94,0x67,0xFB },
{ "STA $01 = C0 ", 0xE918,0xFF,0xEF,0x94,0xE5,0xFB },
{ "LDY #$95 ", 0xE91A,0xFF,0xEF,0x94,0xE5,0xFB },
{ "LDX #$02 ", 0xE91C,0xFF,0xEF,0x95,0xE5,0xFB },
{ "LDA #$47 ", 0xE91E,0xFF,0x02,0x95,0x65,0xFB },
{ "STA $47 = 00 ", 0xE920,0x47,0x02,0x95,0x65,0xFB },
{ "LDA #$06 ", 0xE922,0x47,0x02,0x95,0x65,0xFB },
{ "STA $48 = 00 ", 0xE924,0x06,0x02,0x95,0x65,0xFB },
{ "LDA #$EB ", 0xE926,0x06,0x02,0x95,0x65,0xFB },
{ "STA $0647 = 00 ", 0xE928,0xEB,0x02,0x95,0xE5,0xFB },
{ "JSR $FA31 ", 0xE92B,0xEB,0x02,0x95,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA31,0xEB,0x02,0x95,0xE5,0xF9 },
{ "CLC ", 0xFA33,0xEB,0x02,0x95,0xE5,0xF9 },
{ "LDA #$40 ", 0xFA34,0xEB,0x02,0x95,0xE4,0xF9 },
{ "RTS ", 0xFA36,0x40,0x02,0x95,0x64,0xF9 },
{ "DCP ($45,X) @ 47 = 0647 = EB ", 0xE92E,0x40,0x02,0x95,0x64,0xFB },
{ "NOP ", 0xE930,0x40,0x02,0x95,0x64,0xFB },
{ "NOP ", 0xE931,0x40,0x02,0x95,0x64,0xFB },
{ "NOP ", 0xE932,0x40,0x02,0x95,0x64,0xFB },
{ "NOP ", 0xE933,0x40,0x02,0x95,0x64,0xFB },
{ "JSR $FA37 ", 0xE934,0x40,0x02,0x95,0x64,0xFB },
{ "BVC $FA65 ", 0xFA37,0x40,0x02,0x95,0x64,0xF9 },
{ "BCS $FA65 ", 0xFA39,0x40,0x02,0x95,0x64,0xF9 },
{ "BMI $FA65 ", 0xFA3B,0x40,0x02,0x95,0x64,0xF9 },
{ "CMP #$40 ", 0xFA3D,0x40,0x02,0x95,0x64,0xF9 },
{ "BNE $FA65 ", 0xFA3F,0x40,0x02,0x95,0x67,0xF9 },
{ "RTS ", 0xFA41,0x40,0x02,0x95,0x67,0xF9 },
{ "LDA $0647 = EA ", 0xE937,0x40,0x02,0x95,0x67,0xFB },
{ "CMP #$EA ", 0xE93A,0xEA,0x02,0x95,0xE5,0xFB },
{ "BEQ $E940 ", 0xE93C,0xEA,0x02,0x95,0x67,0xFB },
{ "INY ", 0xE940,0xEA,0x02,0x95,0x67,0xFB },
{ "LDA #$00 ", 0xE941,0xEA,0x02,0x96,0xE5,0xFB },
{ "STA $0647 = EA ", 0xE943,0x00,0x02,0x96,0x67,0xFB },
{ "JSR $FA42 ", 0xE946,0x00,0x02,0x96,0x67,0xFB },
{ "CLV ", 0xFA42,0x00,0x02,0x96,0x67,0xF9 },
{ "SEC ", 0xFA43,0x00,0x02,0x96,0x27,0xF9 },
{ "LDA #$FF ", 0xFA44,0x00,0x02,0x96,0x27,0xF9 },
{ "RTS ", 0xFA46,0xFF,0x02,0x96,0xA5,0xF9 },
{ "DCP ($45,X) @ 47 = 0647 = 00 ", 0xE949,0xFF,0x02,0x96,0xA5,0xFB },
{ "NOP ", 0xE94B,0xFF,0x02,0x96,0x27,0xFB },
{ "NOP ", 0xE94C,0xFF,0x02,0x96,0x27,0xFB },
{ "NOP ", 0xE94D,0xFF,0x02,0x96,0x27,0xFB },
{ "NOP ", 0xE94E,0xFF,0x02,0x96,0x27,0xFB },
{ "JSR $FA47 ", 0xE94F,0xFF,0x02,0x96,0x27,0xFB },
{ "BVS $FA65 ", 0xFA47,0xFF,0x02,0x96,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA49,0xFF,0x02,0x96,0x27,0xF9 },
{ "BMI $FA65 ", 0xFA4B,0xFF,0x02,0x96,0x27,0xF9 },
{ "BCC $FA65 ", 0xFA4D,0xFF,0x02,0x96,0x27,0xF9 },
{ "CMP #$FF ", 0xFA4F,0xFF,0x02,0x96,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA51,0xFF,0x02,0x96,0x27,0xF9 },
{ "RTS ", 0xFA53,0xFF,0x02,0x96,0x27,0xF9 },
{ "LDA $0647 = FF ", 0xE952,0xFF,0x02,0x96,0x27,0xFB },
{ "CMP #$FF ", 0xE955,0xFF,0x02,0x96,0xA5,0xFB },
{ "BEQ $E95B ", 0xE957,0xFF,0x02,0x96,0x27,0xFB },
{ "INY ", 0xE95B,0xFF,0x02,0x96,0x27,0xFB },
{ "LDA #$37 ", 0xE95C,0xFF,0x02,0x97,0xA5,0xFB },
{ "STA $0647 = FF ", 0xE95E,0x37,0x02,0x97,0x25,0xFB },
{ "JSR $FA54 ", 0xE961,0x37,0x02,0x97,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA54,0x37,0x02,0x97,0x25,0xF9 },
{ "LDA #$F0 ", 0xFA56,0x37,0x02,0x97,0xE5,0xF9 },
{ "RTS ", 0xFA58,0xF0,0x02,0x97,0xE5,0xF9 },
{ "DCP ($45,X) @ 47 = 0647 = 37 ", 0xE964,0xF0,0x02,0x97,0xE5,0xFB },
{ "NOP ", 0xE966,0xF0,0x02,0x97,0xE5,0xFB },
{ "NOP ", 0xE967,0xF0,0x02,0x97,0xE5,0xFB },
{ "NOP ", 0xE968,0xF0,0x02,0x97,0xE5,0xFB },
{ "NOP ", 0xE969,0xF0,0x02,0x97,0xE5,0xFB },
{ "JSR $FA59 ", 0xE96A,0xF0,0x02,0x97,0xE5,0xFB },
{ "BVC $FA65 ", 0xFA59,0xF0,0x02,0x97,0xE5,0xF9 },
{ "BEQ $FA65 ", 0xFA5B,0xF0,0x02,0x97,0xE5,0xF9 },
{ "BPL $FA65 ", 0xFA5D,0xF0,0x02,0x97,0xE5,0xF9 },
{ "BCC $FA65 ", 0xFA5F,0xF0,0x02,0x97,0xE5,0xF9 },
{ "CMP #$F0 ", 0xFA61,0xF0,0x02,0x97,0xE5,0xF9 },
{ "BEQ $FA67 ", 0xFA63,0xF0,0x02,0x97,0x67,0xF9 },
{ "RTS ", 0xFA67,0xF0,0x02,0x97,0x67,0xF9 },
{ "LDA $0647 = 36 ", 0xE96D,0xF0,0x02,0x97,0x67,0xFB },
{ "CMP #$36 ", 0xE970,0x36,0x02,0x97,0x65,0xFB },
{ "BEQ $E976 ", 0xE972,0x36,0x02,0x97,0x67,0xFB },
{ "INY ", 0xE976,0x36,0x02,0x97,0x67,0xFB },
{ "LDA #$EB ", 0xE977,0x36,0x02,0x98,0xE5,0xFB },
{ "STA $47 = 47 ", 0xE979,0xEB,0x02,0x98,0xE5,0xFB },
{ "JSR $FA31 ", 0xE97B,0xEB,0x02,0x98,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA31,0xEB,0x02,0x98,0xE5,0xF9 },
{ "CLC ", 0xFA33,0xEB,0x02,0x98,0xE5,0xF9 },
{ "LDA #$40 ", 0xFA34,0xEB,0x02,0x98,0xE4,0xF9 },
{ "RTS ", 0xFA36,0x40,0x02,0x98,0x64,0xF9 },
{ "DCP $47 = EB ", 0xE97E,0x40,0x02,0x98,0x64,0xFB },
{ "NOP ", 0xE980,0x40,0x02,0x98,0x64,0xFB },
{ "NOP ", 0xE981,0x40,0x02,0x98,0x64,0xFB },
{ "NOP ", 0xE982,0x40,0x02,0x98,0x64,0xFB },
{ "NOP ", 0xE983,0x40,0x02,0x98,0x64,0xFB },
{ "JSR $FA37 ", 0xE984,0x40,0x02,0x98,0x64,0xFB },
{ "BVC $FA65 ", 0xFA37,0x40,0x02,0x98,0x64,0xF9 },
{ "BCS $FA65 ", 0xFA39,0x40,0x02,0x98,0x64,0xF9 },
{ "BMI $FA65 ", 0xFA3B,0x40,0x02,0x98,0x64,0xF9 },
{ "CMP #$40 ", 0xFA3D,0x40,0x02,0x98,0x64,0xF9 },
{ "BNE $FA65 ", 0xFA3F,0x40,0x02,0x98,0x67,0xF9 },
{ "RTS ", 0xFA41,0x40,0x02,0x98,0x67,0xF9 },
{ "LDA $47 = EA ", 0xE987,0x40,0x02,0x98,0x67,0xFB },
{ "CMP #$EA ", 0xE989,0xEA,0x02,0x98,0xE5,0xFB },
{ "BEQ $E98F ", 0xE98B,0xEA,0x02,0x98,0x67,0xFB },
{ "INY ", 0xE98F,0xEA,0x02,0x98,0x67,0xFB },
{ "LDA #$00 ", 0xE990,0xEA,0x02,0x99,0xE5,0xFB },
{ "STA $47 = EA ", 0xE992,0x00,0x02,0x99,0x67,0xFB },
{ "JSR $FA42 ", 0xE994,0x00,0x02,0x99,0x67,0xFB },
{ "CLV ", 0xFA42,0x00,0x02,0x99,0x67,0xF9 },
{ "SEC ", 0xFA43,0x00,0x02,0x99,0x27,0xF9 },
{ "LDA #$FF ", 0xFA44,0x00,0x02,0x99,0x27,0xF9 },
{ "RTS ", 0xFA46,0xFF,0x02,0x99,0xA5,0xF9 },
{ "DCP $47 = 00 ", 0xE997,0xFF,0x02,0x99,0xA5,0xFB },
{ "NOP ", 0xE999,0xFF,0x02,0x99,0x27,0xFB },
{ "NOP ", 0xE99A,0xFF,0x02,0x99,0x27,0xFB },
{ "NOP ", 0xE99B,0xFF,0x02,0x99,0x27,0xFB },
{ "NOP ", 0xE99C,0xFF,0x02,0x99,0x27,0xFB },
{ "JSR $FA47 ", 0xE99D,0xFF,0x02,0x99,0x27,0xFB },
{ "BVS $FA65 ", 0xFA47,0xFF,0x02,0x99,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA49,0xFF,0x02,0x99,0x27,0xF9 },
{ "BMI $FA65 ", 0xFA4B,0xFF,0x02,0x99,0x27,0xF9 },
{ "BCC $FA65 ", 0xFA4D,0xFF,0x02,0x99,0x27,0xF9 },
{ "CMP #$FF ", 0xFA4F,0xFF,0x02,0x99,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA51,0xFF,0x02,0x99,0x27,0xF9 },
{ "RTS ", 0xFA53,0xFF,0x02,0x99,0x27,0xF9 },
{ "LDA $47 = FF ", 0xE9A0,0xFF,0x02,0x99,0x27,0xFB },
{ "CMP #$FF ", 0xE9A2,0xFF,0x02,0x99,0xA5,0xFB },
{ "BEQ $E9A8 ", 0xE9A4,0xFF,0x02,0x99,0x27,0xFB },
{ "INY ", 0xE9A8,0xFF,0x02,0x99,0x27,0xFB },
{ "LDA #$37 ", 0xE9A9,0xFF,0x02,0x9A,0xA5,0xFB },
{ "STA $47 = FF ", 0xE9AB,0x37,0x02,0x9A,0x25,0xFB },
{ "JSR $FA54 ", 0xE9AD,0x37,0x02,0x9A,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA54,0x37,0x02,0x9A,0x25,0xF9 },
{ "LDA #$F0 ", 0xFA56,0x37,0x02,0x9A,0xE5,0xF9 },
{ "RTS ", 0xFA58,0xF0,0x02,0x9A,0xE5,0xF9 },
{ "DCP $47 = 37 ", 0xE9B0,0xF0,0x02,0x9A,0xE5,0xFB },
{ "NOP ", 0xE9B2,0xF0,0x02,0x9A,0xE5,0xFB },
{ "NOP ", 0xE9B3,0xF0,0x02,0x9A,0xE5,0xFB },
{ "NOP ", 0xE9B4,0xF0,0x02,0x9A,0xE5,0xFB },
{ "NOP ", 0xE9B5,0xF0,0x02,0x9A,0xE5,0xFB },
{ "JSR $FA59 ", 0xE9B6,0xF0,0x02,0x9A,0xE5,0xFB },
{ "BVC $FA65 ", 0xFA59,0xF0,0x02,0x9A,0xE5,0xF9 },
{ "BEQ $FA65 ", 0xFA5B,0xF0,0x02,0x9A,0xE5,0xF9 },
{ "BPL $FA65 ", 0xFA5D,0xF0,0x02,0x9A,0xE5,0xF9 },
{ "BCC $FA65 ", 0xFA5F,0xF0,0x02,0x9A,0xE5,0xF9 },
{ "CMP #$F0 ", 0xFA61,0xF0,0x02,0x9A,0xE5,0xF9 },
{ "BEQ $FA67 ", 0xFA63,0xF0,0x02,0x9A,0x67,0xF9 },
{ "RTS ", 0xFA67,0xF0,0x02,0x9A,0x67,0xF9 },
{ "LDA $47 = 36 ", 0xE9B9,0xF0,0x02,0x9A,0x67,0xFB },
{ "CMP #$36 ", 0xE9BB,0x36,0x02,0x9A,0x65,0xFB },
{ "BEQ $E9C1 ", 0xE9BD,0x36,0x02,0x9A,0x67,0xFB },
{ "INY ", 0xE9C1,0x36,0x02,0x9A,0x67,0xFB },
{ "LDA #$EB ", 0xE9C2,0x36,0x02,0x9B,0xE5,0xFB },
{ "STA $0647 = 36 ", 0xE9C4,0xEB,0x02,0x9B,0xE5,0xFB },
{ "JSR $FA31 ", 0xE9C7,0xEB,0x02,0x9B,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA31,0xEB,0x02,0x9B,0xE5,0xF9 },
{ "CLC ", 0xFA33,0xEB,0x02,0x9B,0xE5,0xF9 },
{ "LDA #$40 ", 0xFA34,0xEB,0x02,0x9B,0xE4,0xF9 },
{ "RTS ", 0xFA36,0x40,0x02,0x9B,0x64,0xF9 },
{ "DCP $0647 = EB ", 0xE9CA,0x40,0x02,0x9B,0x64,0xFB },
{ "NOP ", 0xE9CD,0x40,0x02,0x9B,0x64,0xFB },
{ "NOP ", 0xE9CE,0x40,0x02,0x9B,0x64,0xFB },
{ "NOP ", 0xE9CF,0x40,0x02,0x9B,0x64,0xFB },
{ "NOP ", 0xE9D0,0x40,0x02,0x9B,0x64,0xFB },
{ "JSR $FA37 ", 0xE9D1,0x40,0x02,0x9B,0x64,0xFB },
{ "BVC $FA65 ", 0xFA37,0x40,0x02,0x9B,0x64,0xF9 },
{ "BCS $FA65 ", 0xFA39,0x40,0x02,0x9B,0x64,0xF9 },
{ "BMI $FA65 ", 0xFA3B,0x40,0x02,0x9B,0x64,0xF9 },
{ "CMP #$40 ", 0xFA3D,0x40,0x02,0x9B,0x64,0xF9 },
{ "BNE $FA65 ", 0xFA3F,0x40,0x02,0x9B,0x67,0xF9 },
{ "RTS ", 0xFA41,0x40,0x02,0x9B,0x67,0xF9 },
{ "LDA $0647 = EA ", 0xE9D4,0x40,0x02,0x9B,0x67,0xFB },
{ "CMP #$EA ", 0xE9D7,0xEA,0x02,0x9B,0xE5,0xFB },
{ "BEQ $E9DD ", 0xE9D9,0xEA,0x02,0x9B,0x67,0xFB },
{ "INY ", 0xE9DD,0xEA,0x02,0x9B,0x67,0xFB },
{ "LDA #$00 ", 0xE9DE,0xEA,0x02,0x9C,0xE5,0xFB },
{ "STA $0647 = EA ", 0xE9E0,0x00,0x02,0x9C,0x67,0xFB },
{ "JSR $FA42 ", 0xE9E3,0x00,0x02,0x9C,0x67,0xFB },
{ "CLV ", 0xFA42,0x00,0x02,0x9C,0x67,0xF9 },
{ "SEC ", 0xFA43,0x00,0x02,0x9C,0x27,0xF9 },
{ "LDA #$FF ", 0xFA44,0x00,0x02,0x9C,0x27,0xF9 },
{ "RTS ", 0xFA46,0xFF,0x02,0x9C,0xA5,0xF9 },
{ "DCP $0647 = 00 ", 0xE9E6,0xFF,0x02,0x9C,0xA5,0xFB },
{ "NOP ", 0xE9E9,0xFF,0x02,0x9C,0x27,0xFB },
{ "NOP ", 0xE9EA,0xFF,0x02,0x9C,0x27,0xFB },
{ "NOP ", 0xE9EB,0xFF,0x02,0x9C,0x27,0xFB },
{ "NOP ", 0xE9EC,0xFF,0x02,0x9C,0x27,0xFB },
{ "JSR $FA47 ", 0xE9ED,0xFF,0x02,0x9C,0x27,0xFB },
{ "BVS $FA65 ", 0xFA47,0xFF,0x02,0x9C,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA49,0xFF,0x02,0x9C,0x27,0xF9 },
{ "BMI $FA65 ", 0xFA4B,0xFF,0x02,0x9C,0x27,0xF9 },
{ "BCC $FA65 ", 0xFA4D,0xFF,0x02,0x9C,0x27,0xF9 },
{ "CMP #$FF ", 0xFA4F,0xFF,0x02,0x9C,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA51,0xFF,0x02,0x9C,0x27,0xF9 },
{ "RTS ", 0xFA53,0xFF,0x02,0x9C,0x27,0xF9 },
{ "LDA $0647 = FF ", 0xE9F0,0xFF,0x02,0x9C,0x27,0xFB },
{ "CMP #$FF ", 0xE9F3,0xFF,0x02,0x9C,0xA5,0xFB },
{ "BEQ $E9F9 ", 0xE9F5,0xFF,0x02,0x9C,0x27,0xFB },
{ "INY ", 0xE9F9,0xFF,0x02,0x9C,0x27,0xFB },
{ "LDA #$37 ", 0xE9FA,0xFF,0x02,0x9D,0xA5,0xFB },
{ "STA $0647 = FF ", 0xE9FC,0x37,0x02,0x9D,0x25,0xFB },
{ "JSR $FA54 ", 0xE9FF,0x37,0x02,0x9D,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA54,0x37,0x02,0x9D,0x25,0xF9 },
{ "LDA #$F0 ", 0xFA56,0x37,0x02,0x9D,0xE5,0xF9 },
{ "RTS ", 0xFA58,0xF0,0x02,0x9D,0xE5,0xF9 },
{ "DCP $0647 = 37 ", 0xEA02,0xF0,0x02,0x9D,0xE5,0xFB },
{ "NOP ", 0xEA05,0xF0,0x02,0x9D,0xE5,0xFB },
{ "NOP ", 0xEA06,0xF0,0x02,0x9D,0xE5,0xFB },
{ "NOP ", 0xEA07,0xF0,0x02,0x9D,0xE5,0xFB },
{ "NOP ", 0xEA08,0xF0,0x02,0x9D,0xE5,0xFB },
{ "JSR $FA59 ", 0xEA09,0xF0,0x02,0x9D,0xE5,0xFB },
{ "BVC $FA65 ", 0xFA59,0xF0,0x02,0x9D,0xE5,0xF9 },
{ "BEQ $FA65 ", 0xFA5B,0xF0,0x02,0x9D,0xE5,0xF9 },
{ "BPL $FA65 ", 0xFA5D,0xF0,0x02,0x9D,0xE5,0xF9 },
{ "BCC $FA65 ", 0xFA5F,0xF0,0x02,0x9D,0xE5,0xF9 },
{ "CMP #$F0 ", 0xFA61,0xF0,0x02,0x9D,0xE5,0xF9 },
{ "BEQ $FA67 ", 0xFA63,0xF0,0x02,0x9D,0x67,0xF9 },
{ "RTS ", 0xFA67,0xF0,0x02,0x9D,0x67,0xF9 },
{ "LDA $0647 = 36 ", 0xEA0C,0xF0,0x02,0x9D,0x67,0xFB },
{ "CMP #$36 ", 0xEA0F,0x36,0x02,0x9D,0x65,0xFB },
{ "BEQ $EA15 ", 0xEA11,0x36,0x02,0x9D,0x67,0xFB },
{ "LDA #$EB ", 0xEA15,0x36,0x02,0x9D,0x67,0xFB },
{ "STA $0647 = 36 ", 0xEA17,0xEB,0x02,0x9D,0xE5,0xFB },
{ "LDA #$48 ", 0xEA1A,0xEB,0x02,0x9D,0xE5,0xFB },
{ "STA $45 = 32 ", 0xEA1C,0x48,0x02,0x9D,0x65,0xFB },
{ "LDA #$05 ", 0xEA1E,0x48,0x02,0x9D,0x65,0xFB },
{ "STA $46 = 04 ", 0xEA20,0x05,0x02,0x9D,0x65,0xFB },
{ "LDY #$FF ", 0xEA22,0x05,0x02,0x9D,0x65,0xFB },
{ "JSR $FA31 ", 0xEA24,0x05,0x02,0xFF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA31,0x05,0x02,0xFF,0xE5,0xF9 },
{ "CLC ", 0xFA33,0x05,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$40 ", 0xFA34,0x05,0x02,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFA36,0x40,0x02,0xFF,0x64,0xF9 },
{ "DCP ($45),Y = 0548 @ 0647 = EB ", 0xEA27,0x40,0x02,0xFF,0x64,0xFB },
{ "NOP ", 0xEA29,0x40,0x02,0xFF,0x64,0xFB },
{ "NOP ", 0xEA2A,0x40,0x02,0xFF,0x64,0xFB },
{ "PHP ", 0xEA2B,0x40,0x02,0xFF,0x64,0xFB },
{ "PHA ", 0xEA2C,0x40,0x02,0xFF,0x64,0xFA },
{ "LDY #$9E ", 0xEA2D,0x40,0x02,0xFF,0x64,0xF9 },
{ "PLA ", 0xEA2F,0x40,0x02,0x9E,0xE4,0xF9 },
{ "PLP ", 0xEA30,0x40,0x02,0x9E,0x64,0xFA },
{ "JSR $FA37 ", 0xEA31,0x40,0x02,0x9E,0x64,0xFB },
{ "BVC $FA65 ", 0xFA37,0x40,0x02,0x9E,0x64,0xF9 },
{ "BCS $FA65 ", 0xFA39,0x40,0x02,0x9E,0x64,0xF9 },
{ "BMI $FA65 ", 0xFA3B,0x40,0x02,0x9E,0x64,0xF9 },
{ "CMP #$40 ", 0xFA3D,0x40,0x02,0x9E,0x64,0xF9 },
{ "BNE $FA65 ", 0xFA3F,0x40,0x02,0x9E,0x67,0xF9 },
{ "RTS ", 0xFA41,0x40,0x02,0x9E,0x67,0xF9 },
{ "LDA $0647 = EA ", 0xEA34,0x40,0x02,0x9E,0x67,0xFB },
{ "CMP #$EA ", 0xEA37,0xEA,0x02,0x9E,0xE5,0xFB },
{ "BEQ $EA3D ", 0xEA39,0xEA,0x02,0x9E,0x67,0xFB },
{ "LDY #$FF ", 0xEA3D,0xEA,0x02,0x9E,0x67,0xFB },
{ "LDA #$00 ", 0xEA3F,0xEA,0x02,0xFF,0xE5,0xFB },
{ "STA $0647 = EA ", 0xEA41,0x00,0x02,0xFF,0x67,0xFB },
{ "JSR $FA42 ", 0xEA44,0x00,0x02,0xFF,0x67,0xFB },
{ "CLV ", 0xFA42,0x00,0x02,0xFF,0x67,0xF9 },
{ "SEC ", 0xFA43,0x00,0x02,0xFF,0x27,0xF9 },
{ "LDA #$FF ", 0xFA44,0x00,0x02,0xFF,0x27,0xF9 },
{ "RTS ", 0xFA46,0xFF,0x02,0xFF,0xA5,0xF9 },
{ "DCP ($45),Y = 0548 @ 0647 = 00 ", 0xEA47,0xFF,0x02,0xFF,0xA5,0xFB },
{ "NOP ", 0xEA49,0xFF,0x02,0xFF,0x27,0xFB },
{ "NOP ", 0xEA4A,0xFF,0x02,0xFF,0x27,0xFB },
{ "PHP ", 0xEA4B,0xFF,0x02,0xFF,0x27,0xFB },
{ "PHA ", 0xEA4C,0xFF,0x02,0xFF,0x27,0xFA },
{ "LDY #$9F ", 0xEA4D,0xFF,0x02,0xFF,0x27,0xF9 },
{ "PLA ", 0xEA4F,0xFF,0x02,0x9F,0xA5,0xF9 },
{ "PLP ", 0xEA50,0xFF,0x02,0x9F,0xA5,0xFA },
{ "JSR $FA47 ", 0xEA51,0xFF,0x02,0x9F,0x27,0xFB },
{ "BVS $FA65 ", 0xFA47,0xFF,0x02,0x9F,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA49,0xFF,0x02,0x9F,0x27,0xF9 },
{ "BMI $FA65 ", 0xFA4B,0xFF,0x02,0x9F,0x27,0xF9 },
{ "BCC $FA65 ", 0xFA4D,0xFF,0x02,0x9F,0x27,0xF9 },
{ "CMP #$FF ", 0xFA4F,0xFF,0x02,0x9F,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA51,0xFF,0x02,0x9F,0x27,0xF9 },
{ "RTS ", 0xFA53,0xFF,0x02,0x9F,0x27,0xF9 },
{ "LDA $0647 = FF ", 0xEA54,0xFF,0x02,0x9F,0x27,0xFB },
{ "CMP #$FF ", 0xEA57,0xFF,0x02,0x9F,0xA5,0xFB },
{ "BEQ $EA5D ", 0xEA59,0xFF,0x02,0x9F,0x27,0xFB },
{ "LDY #$FF ", 0xEA5D,0xFF,0x02,0x9F,0x27,0xFB },
{ "LDA #$37 ", 0xEA5F,0xFF,0x02,0xFF,0xA5,0xFB },
{ "STA $0647 = FF ", 0xEA61,0x37,0x02,0xFF,0x25,0xFB },
{ "JSR $FA54 ", 0xEA64,0x37,0x02,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA54,0x37,0x02,0xFF,0x25,0xF9 },
{ "LDA #$F0 ", 0xFA56,0x37,0x02,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFA58,0xF0,0x02,0xFF,0xE5,0xF9 },
{ "DCP ($45),Y = 0548 @ 0647 = 37 ", 0xEA67,0xF0,0x02,0xFF,0xE5,0xFB },
{ "NOP ", 0xEA69,0xF0,0x02,0xFF,0xE5,0xFB },
{ "NOP ", 0xEA6A,0xF0,0x02,0xFF,0xE5,0xFB },
{ "PHP ", 0xEA6B,0xF0,0x02,0xFF,0xE5,0xFB },
{ "PHA ", 0xEA6C,0xF0,0x02,0xFF,0xE5,0xFA },
{ "LDY #$A0 ", 0xEA6D,0xF0,0x02,0xFF,0xE5,0xF9 },
{ "PLA ", 0xEA6F,0xF0,0x02,0xA0,0xE5,0xF9 },
{ "PLP ", 0xEA70,0xF0,0x02,0xA0,0xE5,0xFA },
{ "JSR $FA59 ", 0xEA71,0xF0,0x02,0xA0,0xE5,0xFB },
{ "BVC $FA65 ", 0xFA59,0xF0,0x02,0xA0,0xE5,0xF9 },
{ "BEQ $FA65 ", 0xFA5B,0xF0,0x02,0xA0,0xE5,0xF9 },
{ "BPL $FA65 ", 0xFA5D,0xF0,0x02,0xA0,0xE5,0xF9 },
{ "BCC $FA65 ", 0xFA5F,0xF0,0x02,0xA0,0xE5,0xF9 },
{ "CMP #$F0 ", 0xFA61,0xF0,0x02,0xA0,0xE5,0xF9 },
{ "BEQ $FA67 ", 0xFA63,0xF0,0x02,0xA0,0x67,0xF9 },
{ "RTS ", 0xFA67,0xF0,0x02,0xA0,0x67,0xF9 },
{ "LDA $0647 = 36 ", 0xEA74,0xF0,0x02,0xA0,0x67,0xFB },
{ "CMP #$36 ", 0xEA77,0x36,0x02,0xA0,0x65,0xFB },
{ "BEQ $EA7D ", 0xEA79,0x36,0x02,0xA0,0x67,0xFB },
{ "LDY #$A1 ", 0xEA7D,0x36,0x02,0xA0,0x67,0xFB },
{ "LDX #$FF ", 0xEA7F,0x36,0x02,0xA1,0xE5,0xFB },
{ "LDA #$EB ", 0xEA81,0x36,0xFF,0xA1,0xE5,0xFB },
{ "STA $47 = 36 ", 0xEA83,0xEB,0xFF,0xA1,0xE5,0xFB },
{ "JSR $FA31 ", 0xEA85,0xEB,0xFF,0xA1,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA31,0xEB,0xFF,0xA1,0xE5,0xF9 },
{ "CLC ", 0xFA33,0xEB,0xFF,0xA1,0xE5,0xF9 },
{ "LDA #$40 ", 0xFA34,0xEB,0xFF,0xA1,0xE4,0xF9 },
{ "RTS ", 0xFA36,0x40,0xFF,0xA1,0x64,0xF9 },
{ "DCP $48,X @ 47 = EB ", 0xEA88,0x40,0xFF,0xA1,0x64,0xFB },
{ "NOP ", 0xEA8A,0x40,0xFF,0xA1,0x64,0xFB },
{ "NOP ", 0xEA8B,0x40,0xFF,0xA1,0x64,0xFB },
{ "NOP ", 0xEA8C,0x40,0xFF,0xA1,0x64,0xFB },
{ "NOP ", 0xEA8D,0x40,0xFF,0xA1,0x64,0xFB },
{ "JSR $FA37 ", 0xEA8E,0x40,0xFF,0xA1,0x64,0xFB },
{ "BVC $FA65 ", 0xFA37,0x40,0xFF,0xA1,0x64,0xF9 },
{ "BCS $FA65 ", 0xFA39,0x40,0xFF,0xA1,0x64,0xF9 },
{ "BMI $FA65 ", 0xFA3B,0x40,0xFF,0xA1,0x64,0xF9 },
{ "CMP #$40 ", 0xFA3D,0x40,0xFF,0xA1,0x64,0xF9 },
{ "BNE $FA65 ", 0xFA3F,0x40,0xFF,0xA1,0x67,0xF9 },
{ "RTS ", 0xFA41,0x40,0xFF,0xA1,0x67,0xF9 },
{ "LDA $47 = EA ", 0xEA91,0x40,0xFF,0xA1,0x67,0xFB },
{ "CMP #$EA ", 0xEA93,0xEA,0xFF,0xA1,0xE5,0xFB },
{ "BEQ $EA99 ", 0xEA95,0xEA,0xFF,0xA1,0x67,0xFB },
{ "INY ", 0xEA99,0xEA,0xFF,0xA1,0x67,0xFB },
{ "LDA #$00 ", 0xEA9A,0xEA,0xFF,0xA2,0xE5,0xFB },
{ "STA $47 = EA ", 0xEA9C,0x00,0xFF,0xA2,0x67,0xFB },
{ "JSR $FA42 ", 0xEA9E,0x00,0xFF,0xA2,0x67,0xFB },
{ "CLV ", 0xFA42,0x00,0xFF,0xA2,0x67,0xF9 },
{ "SEC ", 0xFA43,0x00,0xFF,0xA2,0x27,0xF9 },
{ "LDA #$FF ", 0xFA44,0x00,0xFF,0xA2,0x27,0xF9 },
{ "RTS ", 0xFA46,0xFF,0xFF,0xA2,0xA5,0xF9 },
{ "DCP $48,X @ 47 = 00 ", 0xEAA1,0xFF,0xFF,0xA2,0xA5,0xFB },
{ "NOP ", 0xEAA3,0xFF,0xFF,0xA2,0x27,0xFB },
{ "NOP ", 0xEAA4,0xFF,0xFF,0xA2,0x27,0xFB },
{ "NOP ", 0xEAA5,0xFF,0xFF,0xA2,0x27,0xFB },
{ "NOP ", 0xEAA6,0xFF,0xFF,0xA2,0x27,0xFB },
{ "JSR $FA47 ", 0xEAA7,0xFF,0xFF,0xA2,0x27,0xFB },
{ "BVS $FA65 ", 0xFA47,0xFF,0xFF,0xA2,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA49,0xFF,0xFF,0xA2,0x27,0xF9 },
{ "BMI $FA65 ", 0xFA4B,0xFF,0xFF,0xA2,0x27,0xF9 },
{ "BCC $FA65 ", 0xFA4D,0xFF,0xFF,0xA2,0x27,0xF9 },
{ "CMP #$FF ", 0xFA4F,0xFF,0xFF,0xA2,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA51,0xFF,0xFF,0xA2,0x27,0xF9 },
{ "RTS ", 0xFA53,0xFF,0xFF,0xA2,0x27,0xF9 },
{ "LDA $47 = FF ", 0xEAAA,0xFF,0xFF,0xA2,0x27,0xFB },
{ "CMP #$FF ", 0xEAAC,0xFF,0xFF,0xA2,0xA5,0xFB },
{ "BEQ $EAB2 ", 0xEAAE,0xFF,0xFF,0xA2,0x27,0xFB },
{ "INY ", 0xEAB2,0xFF,0xFF,0xA2,0x27,0xFB },
{ "LDA #$37 ", 0xEAB3,0xFF,0xFF,0xA3,0xA5,0xFB },
{ "STA $47 = FF ", 0xEAB5,0x37,0xFF,0xA3,0x25,0xFB },
{ "JSR $FA54 ", 0xEAB7,0x37,0xFF,0xA3,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA54,0x37,0xFF,0xA3,0x25,0xF9 },
{ "LDA #$F0 ", 0xFA56,0x37,0xFF,0xA3,0xE5,0xF9 },
{ "RTS ", 0xFA58,0xF0,0xFF,0xA3,0xE5,0xF9 },
{ "DCP $48,X @ 47 = 37 ", 0xEABA,0xF0,0xFF,0xA3,0xE5,0xFB },
{ "NOP ", 0xEABC,0xF0,0xFF,0xA3,0xE5,0xFB },
{ "NOP ", 0xEABD,0xF0,0xFF,0xA3,0xE5,0xFB },
{ "NOP ", 0xEABE,0xF0,0xFF,0xA3,0xE5,0xFB },
{ "NOP ", 0xEABF,0xF0,0xFF,0xA3,0xE5,0xFB },
{ "JSR $FA59 ", 0xEAC0,0xF0,0xFF,0xA3,0xE5,0xFB },
{ "BVC $FA65 ", 0xFA59,0xF0,0xFF,0xA3,0xE5,0xF9 },
{ "BEQ $FA65 ", 0xFA5B,0xF0,0xFF,0xA3,0xE5,0xF9 },
{ "BPL $FA65 ", 0xFA5D,0xF0,0xFF,0xA3,0xE5,0xF9 },
{ "BCC $FA65 ", 0xFA5F,0xF0,0xFF,0xA3,0xE5,0xF9 },
{ "CMP #$F0 ", 0xFA61,0xF0,0xFF,0xA3,0xE5,0xF9 },
{ "BEQ $FA67 ", 0xFA63,0xF0,0xFF,0xA3,0x67,0xF9 },
{ "RTS ", 0xFA67,0xF0,0xFF,0xA3,0x67,0xF9 },
{ "LDA $47 = 36 ", 0xEAC3,0xF0,0xFF,0xA3,0x67,0xFB },
{ "CMP #$36 ", 0xEAC5,0x36,0xFF,0xA3,0x65,0xFB },
{ "BEQ $EACB ", 0xEAC7,0x36,0xFF,0xA3,0x67,0xFB },
{ "LDA #$EB ", 0xEACB,0x36,0xFF,0xA3,0x67,0xFB },
{ "STA $0647 = 36 ", 0xEACD,0xEB,0xFF,0xA3,0xE5,0xFB },
{ "LDY #$FF ", 0xEAD0,0xEB,0xFF,0xA3,0xE5,0xFB },
{ "JSR $FA31 ", 0xEAD2,0xEB,0xFF,0xFF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA31,0xEB,0xFF,0xFF,0xE5,0xF9 },
{ "CLC ", 0xFA33,0xEB,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$40 ", 0xFA34,0xEB,0xFF,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFA36,0x40,0xFF,0xFF,0x64,0xF9 },
{ "DCP $0548,Y @ 0647 = EB ", 0xEAD5,0x40,0xFF,0xFF,0x64,0xFB },
{ "NOP ", 0xEAD8,0x40,0xFF,0xFF,0x64,0xFB },
{ "NOP ", 0xEAD9,0x40,0xFF,0xFF,0x64,0xFB },
{ "PHP ", 0xEADA,0x40,0xFF,0xFF,0x64,0xFB },
{ "PHA ", 0xEADB,0x40,0xFF,0xFF,0x64,0xFA },
{ "LDY #$A4 ", 0xEADC,0x40,0xFF,0xFF,0x64,0xF9 },
{ "PLA ", 0xEADE,0x40,0xFF,0xA4,0xE4,0xF9 },
{ "PLP ", 0xEADF,0x40,0xFF,0xA4,0x64,0xFA },
{ "JSR $FA37 ", 0xEAE0,0x40,0xFF,0xA4,0x64,0xFB },
{ "BVC $FA65 ", 0xFA37,0x40,0xFF,0xA4,0x64,0xF9 },
{ "BCS $FA65 ", 0xFA39,0x40,0xFF,0xA4,0x64,0xF9 },
{ "BMI $FA65 ", 0xFA3B,0x40,0xFF,0xA4,0x64,0xF9 },
{ "CMP #$40 ", 0xFA3D,0x40,0xFF,0xA4,0x64,0xF9 },
{ "BNE $FA65 ", 0xFA3F,0x40,0xFF,0xA4,0x67,0xF9 },
{ "RTS ", 0xFA41,0x40,0xFF,0xA4,0x67,0xF9 },
{ "LDA $0647 = EA ", 0xEAE3,0x40,0xFF,0xA4,0x67,0xFB },
{ "CMP #$EA ", 0xEAE6,0xEA,0xFF,0xA4,0xE5,0xFB },
{ "BEQ $EAEC ", 0xEAE8,0xEA,0xFF,0xA4,0x67,0xFB },
{ "LDY #$FF ", 0xEAEC,0xEA,0xFF,0xA4,0x67,0xFB },
{ "LDA #$00 ", 0xEAEE,0xEA,0xFF,0xFF,0xE5,0xFB },
{ "STA $0647 = EA ", 0xEAF0,0x00,0xFF,0xFF,0x67,0xFB },
{ "JSR $FA42 ", 0xEAF3,0x00,0xFF,0xFF,0x67,0xFB },
{ "CLV ", 0xFA42,0x00,0xFF,0xFF,0x67,0xF9 },
{ "SEC ", 0xFA43,0x00,0xFF,0xFF,0x27,0xF9 },
{ "LDA #$FF ", 0xFA44,0x00,0xFF,0xFF,0x27,0xF9 },
{ "RTS ", 0xFA46,0xFF,0xFF,0xFF,0xA5,0xF9 },
{ "DCP $0548,Y @ 0647 = 00 ", 0xEAF6,0xFF,0xFF,0xFF,0xA5,0xFB },
{ "NOP ", 0xEAF9,0xFF,0xFF,0xFF,0x27,0xFB },
{ "NOP ", 0xEAFA,0xFF,0xFF,0xFF,0x27,0xFB },
{ "PHP ", 0xEAFB,0xFF,0xFF,0xFF,0x27,0xFB },
{ "PHA ", 0xEAFC,0xFF,0xFF,0xFF,0x27,0xFA },
{ "LDY #$A5 ", 0xEAFD,0xFF,0xFF,0xFF,0x27,0xF9 },
{ "PLA ", 0xEAFF,0xFF,0xFF,0xA5,0xA5,0xF9 },
{ "PLP ", 0xEB00,0xFF,0xFF,0xA5,0xA5,0xFA },
{ "JSR $FA47 ", 0xEB01,0xFF,0xFF,0xA5,0x27,0xFB },
{ "BVS $FA65 ", 0xFA47,0xFF,0xFF,0xA5,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA49,0xFF,0xFF,0xA5,0x27,0xF9 },
{ "BMI $FA65 ", 0xFA4B,0xFF,0xFF,0xA5,0x27,0xF9 },
{ "BCC $FA65 ", 0xFA4D,0xFF,0xFF,0xA5,0x27,0xF9 },
{ "CMP #$FF ", 0xFA4F,0xFF,0xFF,0xA5,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA51,0xFF,0xFF,0xA5,0x27,0xF9 },
{ "RTS ", 0xFA53,0xFF,0xFF,0xA5,0x27,0xF9 },
{ "LDA $0647 = FF ", 0xEB04,0xFF,0xFF,0xA5,0x27,0xFB },
{ "CMP #$FF ", 0xEB07,0xFF,0xFF,0xA5,0xA5,0xFB },
{ "BEQ $EB0D ", 0xEB09,0xFF,0xFF,0xA5,0x27,0xFB },
{ "LDY #$FF ", 0xEB0D,0xFF,0xFF,0xA5,0x27,0xFB },
{ "LDA #$37 ", 0xEB0F,0xFF,0xFF,0xFF,0xA5,0xFB },
{ "STA $0647 = FF ", 0xEB11,0x37,0xFF,0xFF,0x25,0xFB },
{ "JSR $FA54 ", 0xEB14,0x37,0xFF,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA54,0x37,0xFF,0xFF,0x25,0xF9 },
{ "LDA #$F0 ", 0xFA56,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFA58,0xF0,0xFF,0xFF,0xE5,0xF9 },
{ "DCP $0548,Y @ 0647 = 37 ", 0xEB17,0xF0,0xFF,0xFF,0xE5,0xFB },
{ "NOP ", 0xEB1A,0xF0,0xFF,0xFF,0xE5,0xFB },
{ "NOP ", 0xEB1B,0xF0,0xFF,0xFF,0xE5,0xFB },
{ "PHP ", 0xEB1C,0xF0,0xFF,0xFF,0xE5,0xFB },
{ "PHA ", 0xEB1D,0xF0,0xFF,0xFF,0xE5,0xFA },
{ "LDY #$A6 ", 0xEB1E,0xF0,0xFF,0xFF,0xE5,0xF9 },
{ "PLA ", 0xEB20,0xF0,0xFF,0xA6,0xE5,0xF9 },
{ "PLP ", 0xEB21,0xF0,0xFF,0xA6,0xE5,0xFA },
{ "JSR $FA59 ", 0xEB22,0xF0,0xFF,0xA6,0xE5,0xFB },
{ "BVC $FA65 ", 0xFA59,0xF0,0xFF,0xA6,0xE5,0xF9 },
{ "BEQ $FA65 ", 0xFA5B,0xF0,0xFF,0xA6,0xE5,0xF9 },
{ "BPL $FA65 ", 0xFA5D,0xF0,0xFF,0xA6,0xE5,0xF9 },
{ "BCC $FA65 ", 0xFA5F,0xF0,0xFF,0xA6,0xE5,0xF9 },
{ "CMP #$F0 ", 0xFA61,0xF0,0xFF,0xA6,0xE5,0xF9 },
{ "BEQ $FA67 ", 0xFA63,0xF0,0xFF,0xA6,0x67,0xF9 },
{ "RTS ", 0xFA67,0xF0,0xFF,0xA6,0x67,0xF9 },
{ "LDA $0647 = 36 ", 0xEB25,0xF0,0xFF,0xA6,0x67,0xFB },
{ "CMP #$36 ", 0xEB28,0x36,0xFF,0xA6,0x65,0xFB },
{ "BEQ $EB2E ", 0xEB2A,0x36,0xFF,0xA6,0x67,0xFB },
{ "LDY #$A7 ", 0xEB2E,0x36,0xFF,0xA6,0x67,0xFB },
{ "LDX #$FF ", 0xEB30,0x36,0xFF,0xA7,0xE5,0xFB },
{ "LDA #$EB ", 0xEB32,0x36,0xFF,0xA7,0xE5,0xFB },
{ "STA $0647 = 36 ", 0xEB34,0xEB,0xFF,0xA7,0xE5,0xFB },
{ "JSR $FA31 ", 0xEB37,0xEB,0xFF,0xA7,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA31,0xEB,0xFF,0xA7,0xE5,0xF9 },
{ "CLC ", 0xFA33,0xEB,0xFF,0xA7,0xE5,0xF9 },
{ "LDA #$40 ", 0xFA34,0xEB,0xFF,0xA7,0xE4,0xF9 },
{ "RTS ", 0xFA36,0x40,0xFF,0xA7,0x64,0xF9 },
{ "DCP $0548,X @ 0647 = EB ", 0xEB3A,0x40,0xFF,0xA7,0x64,0xFB },
{ "NOP ", 0xEB3D,0x40,0xFF,0xA7,0x64,0xFB },
{ "NOP ", 0xEB3E,0x40,0xFF,0xA7,0x64,0xFB },
{ "NOP ", 0xEB3F,0x40,0xFF,0xA7,0x64,0xFB },
{ "NOP ", 0xEB40,0x40,0xFF,0xA7,0x64,0xFB },
{ "JSR $FA37 ", 0xEB41,0x40,0xFF,0xA7,0x64,0xFB },
{ "BVC $FA65 ", 0xFA37,0x40,0xFF,0xA7,0x64,0xF9 },
{ "BCS $FA65 ", 0xFA39,0x40,0xFF,0xA7,0x64,0xF9 },
{ "BMI $FA65 ", 0xFA3B,0x40,0xFF,0xA7,0x64,0xF9 },
{ "CMP #$40 ", 0xFA3D,0x40,0xFF,0xA7,0x64,0xF9 },
{ "BNE $FA65 ", 0xFA3F,0x40,0xFF,0xA7,0x67,0xF9 },
{ "RTS ", 0xFA41,0x40,0xFF,0xA7,0x67,0xF9 },
{ "LDA $0647 = EA ", 0xEB44,0x40,0xFF,0xA7,0x67,0xFB },
{ "CMP #$EA ", 0xEB47,0xEA,0xFF,0xA7,0xE5,0xFB },
{ "BEQ $EB4D ", 0xEB49,0xEA,0xFF,0xA7,0x67,0xFB },
{ "INY ", 0xEB4D,0xEA,0xFF,0xA7,0x67,0xFB },
{ "LDA #$00 ", 0xEB4E,0xEA,0xFF,0xA8,0xE5,0xFB },
{ "STA $0647 = EA ", 0xEB50,0x00,0xFF,0xA8,0x67,0xFB },
{ "JSR $FA42 ", 0xEB53,0x00,0xFF,0xA8,0x67,0xFB },
{ "CLV ", 0xFA42,0x00,0xFF,0xA8,0x67,0xF9 },
{ "SEC ", 0xFA43,0x00,0xFF,0xA8,0x27,0xF9 },
{ "LDA #$FF ", 0xFA44,0x00,0xFF,0xA8,0x27,0xF9 },
{ "RTS ", 0xFA46,0xFF,0xFF,0xA8,0xA5,0xF9 },
{ "DCP $0548,X @ 0647 = 00 ", 0xEB56,0xFF,0xFF,0xA8,0xA5,0xFB },
{ "NOP ", 0xEB59,0xFF,0xFF,0xA8,0x27,0xFB },
{ "NOP ", 0xEB5A,0xFF,0xFF,0xA8,0x27,0xFB },
{ "NOP ", 0xEB5B,0xFF,0xFF,0xA8,0x27,0xFB },
{ "NOP ", 0xEB5C,0xFF,0xFF,0xA8,0x27,0xFB },
{ "JSR $FA47 ", 0xEB5D,0xFF,0xFF,0xA8,0x27,0xFB },
{ "BVS $FA65 ", 0xFA47,0xFF,0xFF,0xA8,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA49,0xFF,0xFF,0xA8,0x27,0xF9 },
{ "BMI $FA65 ", 0xFA4B,0xFF,0xFF,0xA8,0x27,0xF9 },
{ "BCC $FA65 ", 0xFA4D,0xFF,0xFF,0xA8,0x27,0xF9 },
{ "CMP #$FF ", 0xFA4F,0xFF,0xFF,0xA8,0x27,0xF9 },
{ "BNE $FA65 ", 0xFA51,0xFF,0xFF,0xA8,0x27,0xF9 },
{ "RTS ", 0xFA53,0xFF,0xFF,0xA8,0x27,0xF9 },
{ "LDA $0647 = FF ", 0xEB60,0xFF,0xFF,0xA8,0x27,0xFB },
{ "CMP #$FF ", 0xEB63,0xFF,0xFF,0xA8,0xA5,0xFB },
{ "BEQ $EB69 ", 0xEB65,0xFF,0xFF,0xA8,0x27,0xFB },
{ "INY ", 0xEB69,0xFF,0xFF,0xA8,0x27,0xFB },
{ "LDA #$37 ", 0xEB6A,0xFF,0xFF,0xA9,0xA5,0xFB },
{ "STA $0647 = FF ", 0xEB6C,0x37,0xFF,0xA9,0x25,0xFB },
{ "JSR $FA54 ", 0xEB6F,0x37,0xFF,0xA9,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA54,0x37,0xFF,0xA9,0x25,0xF9 },
{ "LDA #$F0 ", 0xFA56,0x37,0xFF,0xA9,0xE5,0xF9 },
{ "RTS ", 0xFA58,0xF0,0xFF,0xA9,0xE5,0xF9 },
{ "DCP $0548,X @ 0647 = 37 ", 0xEB72,0xF0,0xFF,0xA9,0xE5,0xFB },
{ "NOP ", 0xEB75,0xF0,0xFF,0xA9,0xE5,0xFB },
{ "NOP ", 0xEB76,0xF0,0xFF,0xA9,0xE5,0xFB },
{ "NOP ", 0xEB77,0xF0,0xFF,0xA9,0xE5,0xFB },
{ "NOP ", 0xEB78,0xF0,0xFF,0xA9,0xE5,0xFB },
{ "JSR $FA59 ", 0xEB79,0xF0,0xFF,0xA9,0xE5,0xFB },
{ "BVC $FA65 ", 0xFA59,0xF0,0xFF,0xA9,0xE5,0xF9 },
{ "BEQ $FA65 ", 0xFA5B,0xF0,0xFF,0xA9,0xE5,0xF9 },
{ "BPL $FA65 ", 0xFA5D,0xF0,0xFF,0xA9,0xE5,0xF9 },
{ "BCC $FA65 ", 0xFA5F,0xF0,0xFF,0xA9,0xE5,0xF9 },
{ "CMP #$F0 ", 0xFA61,0xF0,0xFF,0xA9,0xE5,0xF9 },
{ "BEQ $FA67 ", 0xFA63,0xF0,0xFF,0xA9,0x67,0xF9 },
{ "RTS ", 0xFA67,0xF0,0xFF,0xA9,0x67,0xF9 },
{ "LDA $0647 = 36 ", 0xEB7C,0xF0,0xFF,0xA9,0x67,0xFB },
{ "CMP #$36 ", 0xEB7F,0x36,0xFF,0xA9,0x65,0xFB },
{ "BEQ $EB85 ", 0xEB81,0x36,0xFF,0xA9,0x67,0xFB },
{ "RTS ", 0xEB85,0x36,0xFF,0xA9,0x67,0xFB },
{ "JSR $EB86 ", 0xC63E,0x36,0xFF,0xA9,0x67,0xFD },
{ "LDA #$FF ", 0xEB86,0x36,0xFF,0xA9,0x67,0xFB },
{ "STA $01 = FF ", 0xEB88,0xFF,0xFF,0xA9,0xE5,0xFB },
{ "LDY #$AA ", 0xEB8A,0xFF,0xFF,0xA9,0xE5,0xFB },
{ "LDX #$02 ", 0xEB8C,0xFF,0xFF,0xAA,0xE5,0xFB },
{ "LDA #$47 ", 0xEB8E,0xFF,0x02,0xAA,0x65,0xFB },
{ "STA $47 = 36 ", 0xEB90,0x47,0x02,0xAA,0x65,0xFB },
{ "LDA #$06 ", 0xEB92,0x47,0x02,0xAA,0x65,0xFB },
{ "STA $48 = 06 ", 0xEB94,0x06,0x02,0xAA,0x65,0xFB },
{ "LDA #$EB ", 0xEB96,0x06,0x02,0xAA,0x65,0xFB },
{ "STA $0647 = 36 ", 0xEB98,0xEB,0x02,0xAA,0xE5,0xFB },
{ "JSR $FAB1 ", 0xEB9B,0xEB,0x02,0xAA,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFAB1,0xEB,0x02,0xAA,0xE5,0xF9 },
{ "CLC ", 0xFAB3,0xEB,0x02,0xAA,0xE5,0xF9 },
{ "LDA #$40 ", 0xFAB4,0xEB,0x02,0xAA,0xE4,0xF9 },
{ "RTS ", 0xFAB6,0x40,0x02,0xAA,0x64,0xF9 },
{ "ISB ($45,X) @ 47 = 0647 = EB ", 0xEB9E,0x40,0x02,0xAA,0x64,0xFB },
{ "NOP ", 0xEBA0,0x53,0x02,0xAA,0x24,0xFB },
{ "NOP ", 0xEBA1,0x53,0x02,0xAA,0x24,0xFB },
{ "NOP ", 0xEBA2,0x53,0x02,0xAA,0x24,0xFB },
{ "NOP ", 0xEBA3,0x53,0x02,0xAA,0x24,0xFB },
{ "JSR $FAB7 ", 0xEBA4,0x53,0x02,0xAA,0x24,0xFB },
{ "BVS $FAE6 ", 0xFAB7,0x53,0x02,0xAA,0x24,0xF9 },
{ "BCS $FAE6 ", 0xFAB9,0x53,0x02,0xAA,0x24,0xF9 },
{ "BMI $FAE6 ", 0xFABB,0x53,0x02,0xAA,0x24,0xF9 },
{ "CMP #$53 ", 0xFABD,0x53,0x02,0xAA,0x24,0xF9 },
{ "BNE $FAE6 ", 0xFABF,0x53,0x02,0xAA,0x27,0xF9 },
{ "RTS ", 0xFAC1,0x53,0x02,0xAA,0x27,0xF9 },
{ "LDA $0647 = EC ", 0xEBA7,0x53,0x02,0xAA,0x27,0xFB },
{ "CMP #$EC ", 0xEBAA,0xEC,0x02,0xAA,0xA5,0xFB },
{ "BEQ $EBB0 ", 0xEBAC,0xEC,0x02,0xAA,0x27,0xFB },
{ "INY ", 0xEBB0,0xEC,0x02,0xAA,0x27,0xFB },
{ "LDA #$FF ", 0xEBB1,0xEC,0x02,0xAB,0xA5,0xFB },
{ "STA $0647 = EC ", 0xEBB3,0xFF,0x02,0xAB,0xA5,0xFB },
{ "JSR $FAC2 ", 0xEBB6,0xFF,0x02,0xAB,0xA5,0xFB },
{ "CLV ", 0xFAC2,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "SEC ", 0xFAC3,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "LDA #$FF ", 0xFAC4,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "RTS ", 0xFAC6,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "ISB ($45,X) @ 47 = 0647 = FF ", 0xEBB9,0xFF,0x02,0xAB,0xA5,0xFB },
{ "NOP ", 0xEBBB,0xFF,0x02,0xAB,0xA5,0xFB },
{ "NOP ", 0xEBBC,0xFF,0x02,0xAB,0xA5,0xFB },
{ "NOP ", 0xEBBD,0xFF,0x02,0xAB,0xA5,0xFB },
{ "NOP ", 0xEBBE,0xFF,0x02,0xAB,0xA5,0xFB },
{ "JSR $FAC7 ", 0xEBBF,0xFF,0x02,0xAB,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFAC7,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFAC9,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFACB,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFACD,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "CMP #$FF ", 0xFACF,0xFF,0x02,0xAB,0xA5,0xF9 },
{ "BNE $FAE6 ", 0xFAD1,0xFF,0x02,0xAB,0x27,0xF9 },
{ "RTS ", 0xFAD3,0xFF,0x02,0xAB,0x27,0xF9 },
{ "LDA $0647 = 00 ", 0xEBC2,0xFF,0x02,0xAB,0x27,0xFB },
{ "CMP #$00 ", 0xEBC5,0x00,0x02,0xAB,0x27,0xFB },
{ "BEQ $EBCB ", 0xEBC7,0x00,0x02,0xAB,0x27,0xFB },
{ "INY ", 0xEBCB,0x00,0x02,0xAB,0x27,0xFB },
{ "LDA #$37 ", 0xEBCC,0x00,0x02,0xAC,0xA5,0xFB },
{ "STA $0647 = 00 ", 0xEBCE,0x37,0x02,0xAC,0x25,0xFB },
{ "JSR $FAD4 ", 0xEBD1,0x37,0x02,0xAC,0x25,0xFB },
{ "BIT $01 = FF ", 0xFAD4,0x37,0x02,0xAC,0x25,0xF9 },
{ "SEC ", 0xFAD6,0x37,0x02,0xAC,0xE5,0xF9 },
{ "LDA #$F0 ", 0xFAD7,0x37,0x02,0xAC,0xE5,0xF9 },
{ "RTS ", 0xFAD9,0xF0,0x02,0xAC,0xE5,0xF9 },
{ "ISB ($45,X) @ 47 = 0647 = 37 ", 0xEBD4,0xF0,0x02,0xAC,0xE5,0xFB },
{ "NOP ", 0xEBD6,0xB8,0x02,0xAC,0xA5,0xFB },
{ "NOP ", 0xEBD7,0xB8,0x02,0xAC,0xA5,0xFB },
{ "NOP ", 0xEBD8,0xB8,0x02,0xAC,0xA5,0xFB },
{ "NOP ", 0xEBD9,0xB8,0x02,0xAC,0xA5,0xFB },
{ "JSR $FADA ", 0xEBDA,0xB8,0x02,0xAC,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFADA,0xB8,0x02,0xAC,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFADC,0xB8,0x02,0xAC,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFADE,0xB8,0x02,0xAC,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFAE0,0xB8,0x02,0xAC,0xA5,0xF9 },
{ "CMP #$B8 ", 0xFAE2,0xB8,0x02,0xAC,0xA5,0xF9 },
{ "BEQ $FAE8 ", 0xFAE4,0xB8,0x02,0xAC,0x27,0xF9 },
{ "RTS ", 0xFAE8,0xB8,0x02,0xAC,0x27,0xF9 },
{ "LDA $0647 = 38 ", 0xEBDD,0xB8,0x02,0xAC,0x27,0xFB },
{ "CMP #$38 ", 0xEBE0,0x38,0x02,0xAC,0x25,0xFB },
{ "BEQ $EBE6 ", 0xEBE2,0x38,0x02,0xAC,0x27,0xFB },
{ "INY ", 0xEBE6,0x38,0x02,0xAC,0x27,0xFB },
{ "LDA #$EB ", 0xEBE7,0x38,0x02,0xAD,0xA5,0xFB },
{ "STA $47 = 47 ", 0xEBE9,0xEB,0x02,0xAD,0xA5,0xFB },
{ "JSR $FAB1 ", 0xEBEB,0xEB,0x02,0xAD,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAB1,0xEB,0x02,0xAD,0xA5,0xF9 },
{ "CLC ", 0xFAB3,0xEB,0x02,0xAD,0xE5,0xF9 },
{ "LDA #$40 ", 0xFAB4,0xEB,0x02,0xAD,0xE4,0xF9 },
{ "RTS ", 0xFAB6,0x40,0x02,0xAD,0x64,0xF9 },
{ "ISB $47 = EB ", 0xEBEE,0x40,0x02,0xAD,0x64,0xFB },
{ "NOP ", 0xEBF0,0x53,0x02,0xAD,0x24,0xFB },
{ "NOP ", 0xEBF1,0x53,0x02,0xAD,0x24,0xFB },
{ "NOP ", 0xEBF2,0x53,0x02,0xAD,0x24,0xFB },
{ "NOP ", 0xEBF3,0x53,0x02,0xAD,0x24,0xFB },
{ "JSR $FAB7 ", 0xEBF4,0x53,0x02,0xAD,0x24,0xFB },
{ "BVS $FAE6 ", 0xFAB7,0x53,0x02,0xAD,0x24,0xF9 },
{ "BCS $FAE6 ", 0xFAB9,0x53,0x02,0xAD,0x24,0xF9 },
{ "BMI $FAE6 ", 0xFABB,0x53,0x02,0xAD,0x24,0xF9 },
{ "CMP #$53 ", 0xFABD,0x53,0x02,0xAD,0x24,0xF9 },
{ "BNE $FAE6 ", 0xFABF,0x53,0x02,0xAD,0x27,0xF9 },
{ "RTS ", 0xFAC1,0x53,0x02,0xAD,0x27,0xF9 },
{ "LDA $47 = EC ", 0xEBF7,0x53,0x02,0xAD,0x27,0xFB },
{ "CMP #$EC ", 0xEBF9,0xEC,0x02,0xAD,0xA5,0xFB },
{ "BEQ $EBFF ", 0xEBFB,0xEC,0x02,0xAD,0x27,0xFB },
{ "INY ", 0xEBFF,0xEC,0x02,0xAD,0x27,0xFB },
{ "LDA #$FF ", 0xEC00,0xEC,0x02,0xAE,0xA5,0xFB },
{ "STA $47 = EC ", 0xEC02,0xFF,0x02,0xAE,0xA5,0xFB },
{ "JSR $FAC2 ", 0xEC04,0xFF,0x02,0xAE,0xA5,0xFB },
{ "CLV ", 0xFAC2,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "SEC ", 0xFAC3,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "LDA #$FF ", 0xFAC4,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "RTS ", 0xFAC6,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "ISB $47 = FF ", 0xEC07,0xFF,0x02,0xAE,0xA5,0xFB },
{ "NOP ", 0xEC09,0xFF,0x02,0xAE,0xA5,0xFB },
{ "NOP ", 0xEC0A,0xFF,0x02,0xAE,0xA5,0xFB },
{ "NOP ", 0xEC0B,0xFF,0x02,0xAE,0xA5,0xFB },
{ "NOP ", 0xEC0C,0xFF,0x02,0xAE,0xA5,0xFB },
{ "JSR $FAC7 ", 0xEC0D,0xFF,0x02,0xAE,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFAC7,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFAC9,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFACB,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFACD,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "CMP #$FF ", 0xFACF,0xFF,0x02,0xAE,0xA5,0xF9 },
{ "BNE $FAE6 ", 0xFAD1,0xFF,0x02,0xAE,0x27,0xF9 },
{ "RTS ", 0xFAD3,0xFF,0x02,0xAE,0x27,0xF9 },
{ "LDA $47 = 00 ", 0xEC10,0xFF,0x02,0xAE,0x27,0xFB },
{ "CMP #$00 ", 0xEC12,0x00,0x02,0xAE,0x27,0xFB },
{ "BEQ $EC18 ", 0xEC14,0x00,0x02,0xAE,0x27,0xFB },
{ "INY ", 0xEC18,0x00,0x02,0xAE,0x27,0xFB },
{ "LDA #$37 ", 0xEC19,0x00,0x02,0xAF,0xA5,0xFB },
{ "STA $47 = 00 ", 0xEC1B,0x37,0x02,0xAF,0x25,0xFB },
{ "JSR $FAD4 ", 0xEC1D,0x37,0x02,0xAF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFAD4,0x37,0x02,0xAF,0x25,0xF9 },
{ "SEC ", 0xFAD6,0x37,0x02,0xAF,0xE5,0xF9 },
{ "LDA #$F0 ", 0xFAD7,0x37,0x02,0xAF,0xE5,0xF9 },
{ "RTS ", 0xFAD9,0xF0,0x02,0xAF,0xE5,0xF9 },
{ "ISB $47 = 37 ", 0xEC20,0xF0,0x02,0xAF,0xE5,0xFB },
{ "NOP ", 0xEC22,0xB8,0x02,0xAF,0xA5,0xFB },
{ "NOP ", 0xEC23,0xB8,0x02,0xAF,0xA5,0xFB },
{ "NOP ", 0xEC24,0xB8,0x02,0xAF,0xA5,0xFB },
{ "NOP ", 0xEC25,0xB8,0x02,0xAF,0xA5,0xFB },
{ "JSR $FADA ", 0xEC26,0xB8,0x02,0xAF,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFADA,0xB8,0x02,0xAF,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFADC,0xB8,0x02,0xAF,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFADE,0xB8,0x02,0xAF,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFAE0,0xB8,0x02,0xAF,0xA5,0xF9 },
{ "CMP #$B8 ", 0xFAE2,0xB8,0x02,0xAF,0xA5,0xF9 },
{ "BEQ $FAE8 ", 0xFAE4,0xB8,0x02,0xAF,0x27,0xF9 },
{ "RTS ", 0xFAE8,0xB8,0x02,0xAF,0x27,0xF9 },
{ "LDA $47 = 38 ", 0xEC29,0xB8,0x02,0xAF,0x27,0xFB },
{ "CMP #$38 ", 0xEC2B,0x38,0x02,0xAF,0x25,0xFB },
{ "BEQ $EC31 ", 0xEC2D,0x38,0x02,0xAF,0x27,0xFB },
{ "INY ", 0xEC31,0x38,0x02,0xAF,0x27,0xFB },
{ "LDA #$EB ", 0xEC32,0x38,0x02,0xB0,0xA5,0xFB },
{ "STA $0647 = 38 ", 0xEC34,0xEB,0x02,0xB0,0xA5,0xFB },
{ "JSR $FAB1 ", 0xEC37,0xEB,0x02,0xB0,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAB1,0xEB,0x02,0xB0,0xA5,0xF9 },
{ "CLC ", 0xFAB3,0xEB,0x02,0xB0,0xE5,0xF9 },
{ "LDA #$40 ", 0xFAB4,0xEB,0x02,0xB0,0xE4,0xF9 },
{ "RTS ", 0xFAB6,0x40,0x02,0xB0,0x64,0xF9 },
{ "ISB $0647 = EB ", 0xEC3A,0x40,0x02,0xB0,0x64,0xFB },
{ "NOP ", 0xEC3D,0x53,0x02,0xB0,0x24,0xFB },
{ "NOP ", 0xEC3E,0x53,0x02,0xB0,0x24,0xFB },
{ "NOP ", 0xEC3F,0x53,0x02,0xB0,0x24,0xFB },
{ "NOP ", 0xEC40,0x53,0x02,0xB0,0x24,0xFB },
{ "JSR $FAB7 ", 0xEC41,0x53,0x02,0xB0,0x24,0xFB },
{ "BVS $FAE6 ", 0xFAB7,0x53,0x02,0xB0,0x24,0xF9 },
{ "BCS $FAE6 ", 0xFAB9,0x53,0x02,0xB0,0x24,0xF9 },
{ "BMI $FAE6 ", 0xFABB,0x53,0x02,0xB0,0x24,0xF9 },
{ "CMP #$53 ", 0xFABD,0x53,0x02,0xB0,0x24,0xF9 },
{ "BNE $FAE6 ", 0xFABF,0x53,0x02,0xB0,0x27,0xF9 },
{ "RTS ", 0xFAC1,0x53,0x02,0xB0,0x27,0xF9 },
{ "LDA $0647 = EC ", 0xEC44,0x53,0x02,0xB0,0x27,0xFB },
{ "CMP #$EC ", 0xEC47,0xEC,0x02,0xB0,0xA5,0xFB },
{ "BEQ $EC4D ", 0xEC49,0xEC,0x02,0xB0,0x27,0xFB },
{ "INY ", 0xEC4D,0xEC,0x02,0xB0,0x27,0xFB },
{ "LDA #$FF ", 0xEC4E,0xEC,0x02,0xB1,0xA5,0xFB },
{ "STA $0647 = EC ", 0xEC50,0xFF,0x02,0xB1,0xA5,0xFB },
{ "JSR $FAC2 ", 0xEC53,0xFF,0x02,0xB1,0xA5,0xFB },
{ "CLV ", 0xFAC2,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "SEC ", 0xFAC3,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "LDA #$FF ", 0xFAC4,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "RTS ", 0xFAC6,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "ISB $0647 = FF ", 0xEC56,0xFF,0x02,0xB1,0xA5,0xFB },
{ "NOP ", 0xEC59,0xFF,0x02,0xB1,0xA5,0xFB },
{ "NOP ", 0xEC5A,0xFF,0x02,0xB1,0xA5,0xFB },
{ "NOP ", 0xEC5B,0xFF,0x02,0xB1,0xA5,0xFB },
{ "NOP ", 0xEC5C,0xFF,0x02,0xB1,0xA5,0xFB },
{ "JSR $FAC7 ", 0xEC5D,0xFF,0x02,0xB1,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFAC7,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFAC9,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFACB,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFACD,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "CMP #$FF ", 0xFACF,0xFF,0x02,0xB1,0xA5,0xF9 },
{ "BNE $FAE6 ", 0xFAD1,0xFF,0x02,0xB1,0x27,0xF9 },
{ "RTS ", 0xFAD3,0xFF,0x02,0xB1,0x27,0xF9 },
{ "LDA $0647 = 00 ", 0xEC60,0xFF,0x02,0xB1,0x27,0xFB },
{ "CMP #$00 ", 0xEC63,0x00,0x02,0xB1,0x27,0xFB },
{ "BEQ $EC69 ", 0xEC65,0x00,0x02,0xB1,0x27,0xFB },
{ "INY ", 0xEC69,0x00,0x02,0xB1,0x27,0xFB },
{ "LDA #$37 ", 0xEC6A,0x00,0x02,0xB2,0xA5,0xFB },
{ "STA $0647 = 00 ", 0xEC6C,0x37,0x02,0xB2,0x25,0xFB },
{ "JSR $FAD4 ", 0xEC6F,0x37,0x02,0xB2,0x25,0xFB },
{ "BIT $01 = FF ", 0xFAD4,0x37,0x02,0xB2,0x25,0xF9 },
{ "SEC ", 0xFAD6,0x37,0x02,0xB2,0xE5,0xF9 },
{ "LDA #$F0 ", 0xFAD7,0x37,0x02,0xB2,0xE5,0xF9 },
{ "RTS ", 0xFAD9,0xF0,0x02,0xB2,0xE5,0xF9 },
{ "ISB $0647 = 37 ", 0xEC72,0xF0,0x02,0xB2,0xE5,0xFB },
{ "NOP ", 0xEC75,0xB8,0x02,0xB2,0xA5,0xFB },
{ "NOP ", 0xEC76,0xB8,0x02,0xB2,0xA5,0xFB },
{ "NOP ", 0xEC77,0xB8,0x02,0xB2,0xA5,0xFB },
{ "NOP ", 0xEC78,0xB8,0x02,0xB2,0xA5,0xFB },
{ "JSR $FADA ", 0xEC79,0xB8,0x02,0xB2,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFADA,0xB8,0x02,0xB2,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFADC,0xB8,0x02,0xB2,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFADE,0xB8,0x02,0xB2,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFAE0,0xB8,0x02,0xB2,0xA5,0xF9 },
{ "CMP #$B8 ", 0xFAE2,0xB8,0x02,0xB2,0xA5,0xF9 },
{ "BEQ $FAE8 ", 0xFAE4,0xB8,0x02,0xB2,0x27,0xF9 },
{ "RTS ", 0xFAE8,0xB8,0x02,0xB2,0x27,0xF9 },
{ "LDA $0647 = 38 ", 0xEC7C,0xB8,0x02,0xB2,0x27,0xFB },
{ "CMP #$38 ", 0xEC7F,0x38,0x02,0xB2,0x25,0xFB },
{ "BEQ $EC85 ", 0xEC81,0x38,0x02,0xB2,0x27,0xFB },
{ "LDA #$EB ", 0xEC85,0x38,0x02,0xB2,0x27,0xFB },
{ "STA $0647 = 38 ", 0xEC87,0xEB,0x02,0xB2,0xA5,0xFB },
{ "LDA #$48 ", 0xEC8A,0xEB,0x02,0xB2,0xA5,0xFB },
{ "STA $45 = 48 ", 0xEC8C,0x48,0x02,0xB2,0x25,0xFB },
{ "LDA #$05 ", 0xEC8E,0x48,0x02,0xB2,0x25,0xFB },
{ "STA $46 = 05 ", 0xEC90,0x05,0x02,0xB2,0x25,0xFB },
{ "LDY #$FF ", 0xEC92,0x05,0x02,0xB2,0x25,0xFB },
{ "JSR $FAB1 ", 0xEC94,0x05,0x02,0xFF,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAB1,0x05,0x02,0xFF,0xA5,0xF9 },
{ "CLC ", 0xFAB3,0x05,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$40 ", 0xFAB4,0x05,0x02,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFAB6,0x40,0x02,0xFF,0x64,0xF9 },
{ "ISB ($45),Y = 0548 @ 0647 = EB ", 0xEC97,0x40,0x02,0xFF,0x64,0xFB },
{ "NOP ", 0xEC99,0x53,0x02,0xFF,0x24,0xFB },
{ "NOP ", 0xEC9A,0x53,0x02,0xFF,0x24,0xFB },
{ "PHP ", 0xEC9B,0x53,0x02,0xFF,0x24,0xFB },
{ "PHA ", 0xEC9C,0x53,0x02,0xFF,0x24,0xFA },
{ "LDY #$B3 ", 0xEC9D,0x53,0x02,0xFF,0x24,0xF9 },
{ "PLA ", 0xEC9F,0x53,0x02,0xB3,0xA4,0xF9 },
{ "PLP ", 0xECA0,0x53,0x02,0xB3,0x24,0xFA },
{ "JSR $FAB7 ", 0xECA1,0x53,0x02,0xB3,0x24,0xFB },
{ "BVS $FAE6 ", 0xFAB7,0x53,0x02,0xB3,0x24,0xF9 },
{ "BCS $FAE6 ", 0xFAB9,0x53,0x02,0xB3,0x24,0xF9 },
{ "BMI $FAE6 ", 0xFABB,0x53,0x02,0xB3,0x24,0xF9 },
{ "CMP #$53 ", 0xFABD,0x53,0x02,0xB3,0x24,0xF9 },
{ "BNE $FAE6 ", 0xFABF,0x53,0x02,0xB3,0x27,0xF9 },
{ "RTS ", 0xFAC1,0x53,0x02,0xB3,0x27,0xF9 },
{ "LDA $0647 = EC ", 0xECA4,0x53,0x02,0xB3,0x27,0xFB },
{ "CMP #$EC ", 0xECA7,0xEC,0x02,0xB3,0xA5,0xFB },
{ "BEQ $ECAD ", 0xECA9,0xEC,0x02,0xB3,0x27,0xFB },
{ "LDY #$FF ", 0xECAD,0xEC,0x02,0xB3,0x27,0xFB },
{ "LDA #$FF ", 0xECAF,0xEC,0x02,0xFF,0xA5,0xFB },
{ "STA $0647 = EC ", 0xECB1,0xFF,0x02,0xFF,0xA5,0xFB },
{ "JSR $FAC2 ", 0xECB4,0xFF,0x02,0xFF,0xA5,0xFB },
{ "CLV ", 0xFAC2,0xFF,0x02,0xFF,0xA5,0xF9 },
{ "SEC ", 0xFAC3,0xFF,0x02,0xFF,0xA5,0xF9 },
{ "LDA #$FF ", 0xFAC4,0xFF,0x02,0xFF,0xA5,0xF9 },
{ "RTS ", 0xFAC6,0xFF,0x02,0xFF,0xA5,0xF9 },
{ "ISB ($45),Y = 0548 @ 0647 = FF ", 0xECB7,0xFF,0x02,0xFF,0xA5,0xFB },
{ "NOP ", 0xECB9,0xFF,0x02,0xFF,0xA5,0xFB },
{ "NOP ", 0xECBA,0xFF,0x02,0xFF,0xA5,0xFB },
{ "PHP ", 0xECBB,0xFF,0x02,0xFF,0xA5,0xFB },
{ "PHA ", 0xECBC,0xFF,0x02,0xFF,0xA5,0xFA },
{ "LDY #$B4 ", 0xECBD,0xFF,0x02,0xFF,0xA5,0xF9 },
{ "PLA ", 0xECBF,0xFF,0x02,0xB4,0xA5,0xF9 },
{ "PLP ", 0xECC0,0xFF,0x02,0xB4,0xA5,0xFA },
{ "JSR $FAC7 ", 0xECC1,0xFF,0x02,0xB4,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFAC7,0xFF,0x02,0xB4,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFAC9,0xFF,0x02,0xB4,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFACB,0xFF,0x02,0xB4,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFACD,0xFF,0x02,0xB4,0xA5,0xF9 },
{ "CMP #$FF ", 0xFACF,0xFF,0x02,0xB4,0xA5,0xF9 },
{ "BNE $FAE6 ", 0xFAD1,0xFF,0x02,0xB4,0x27,0xF9 },
{ "RTS ", 0xFAD3,0xFF,0x02,0xB4,0x27,0xF9 },
{ "LDA $0647 = 00 ", 0xECC4,0xFF,0x02,0xB4,0x27,0xFB },
{ "CMP #$00 ", 0xECC7,0x00,0x02,0xB4,0x27,0xFB },
{ "BEQ $ECCD ", 0xECC9,0x00,0x02,0xB4,0x27,0xFB },
{ "LDY #$FF ", 0xECCD,0x00,0x02,0xB4,0x27,0xFB },
{ "LDA #$37 ", 0xECCF,0x00,0x02,0xFF,0xA5,0xFB },
{ "STA $0647 = 00 ", 0xECD1,0x37,0x02,0xFF,0x25,0xFB },
{ "JSR $FAD4 ", 0xECD4,0x37,0x02,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFAD4,0x37,0x02,0xFF,0x25,0xF9 },
{ "SEC ", 0xFAD6,0x37,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$F0 ", 0xFAD7,0x37,0x02,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFAD9,0xF0,0x02,0xFF,0xE5,0xF9 },
{ "ISB ($45),Y = 0548 @ 0647 = 37 ", 0xECD7,0xF0,0x02,0xFF,0xE5,0xFB },
{ "NOP ", 0xECD9,0xB8,0x02,0xFF,0xA5,0xFB },
{ "NOP ", 0xECDA,0xB8,0x02,0xFF,0xA5,0xFB },
{ "PHP ", 0xECDB,0xB8,0x02,0xFF,0xA5,0xFB },
{ "PHA ", 0xECDC,0xB8,0x02,0xFF,0xA5,0xFA },
{ "LDY #$B5 ", 0xECDD,0xB8,0x02,0xFF,0xA5,0xF9 },
{ "PLA ", 0xECDF,0xB8,0x02,0xB5,0xA5,0xF9 },
{ "PLP ", 0xECE0,0xB8,0x02,0xB5,0xA5,0xFA },
{ "JSR $FADA ", 0xECE1,0xB8,0x02,0xB5,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFADA,0xB8,0x02,0xB5,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFADC,0xB8,0x02,0xB5,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFADE,0xB8,0x02,0xB5,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFAE0,0xB8,0x02,0xB5,0xA5,0xF9 },
{ "CMP #$B8 ", 0xFAE2,0xB8,0x02,0xB5,0xA5,0xF9 },
{ "BEQ $FAE8 ", 0xFAE4,0xB8,0x02,0xB5,0x27,0xF9 },
{ "RTS ", 0xFAE8,0xB8,0x02,0xB5,0x27,0xF9 },
{ "LDA $0647 = 38 ", 0xECE4,0xB8,0x02,0xB5,0x27,0xFB },
{ "CMP #$38 ", 0xECE7,0x38,0x02,0xB5,0x25,0xFB },
{ "BEQ $ECED ", 0xECE9,0x38,0x02,0xB5,0x27,0xFB },
{ "LDY #$B6 ", 0xECED,0x38,0x02,0xB5,0x27,0xFB },
{ "LDX #$FF ", 0xECEF,0x38,0x02,0xB6,0xA5,0xFB },
{ "LDA #$EB ", 0xECF1,0x38,0xFF,0xB6,0xA5,0xFB },
{ "STA $47 = 38 ", 0xECF3,0xEB,0xFF,0xB6,0xA5,0xFB },
{ "JSR $FAB1 ", 0xECF5,0xEB,0xFF,0xB6,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAB1,0xEB,0xFF,0xB6,0xA5,0xF9 },
{ "CLC ", 0xFAB3,0xEB,0xFF,0xB6,0xE5,0xF9 },
{ "LDA #$40 ", 0xFAB4,0xEB,0xFF,0xB6,0xE4,0xF9 },
{ "RTS ", 0xFAB6,0x40,0xFF,0xB6,0x64,0xF9 },
{ "ISB $48,X @ 47 = EB ", 0xECF8,0x40,0xFF,0xB6,0x64,0xFB },
{ "NOP ", 0xECFA,0x53,0xFF,0xB6,0x24,0xFB },
{ "NOP ", 0xECFB,0x53,0xFF,0xB6,0x24,0xFB },
{ "NOP ", 0xECFC,0x53,0xFF,0xB6,0x24,0xFB },
{ "NOP ", 0xECFD,0x53,0xFF,0xB6,0x24,0xFB },
{ "JSR $FAB7 ", 0xECFE,0x53,0xFF,0xB6,0x24,0xFB },
{ "BVS $FAE6 ", 0xFAB7,0x53,0xFF,0xB6,0x24,0xF9 },
{ "BCS $FAE6 ", 0xFAB9,0x53,0xFF,0xB6,0x24,0xF9 },
{ "BMI $FAE6 ", 0xFABB,0x53,0xFF,0xB6,0x24,0xF9 },
{ "CMP #$53 ", 0xFABD,0x53,0xFF,0xB6,0x24,0xF9 },
{ "BNE $FAE6 ", 0xFABF,0x53,0xFF,0xB6,0x27,0xF9 },
{ "RTS ", 0xFAC1,0x53,0xFF,0xB6,0x27,0xF9 },
{ "LDA $47 = EC ", 0xED01,0x53,0xFF,0xB6,0x27,0xFB },
{ "CMP #$EC ", 0xED03,0xEC,0xFF,0xB6,0xA5,0xFB },
{ "BEQ $ED09 ", 0xED05,0xEC,0xFF,0xB6,0x27,0xFB },
{ "INY ", 0xED09,0xEC,0xFF,0xB6,0x27,0xFB },
{ "LDA #$FF ", 0xED0A,0xEC,0xFF,0xB7,0xA5,0xFB },
{ "STA $47 = EC ", 0xED0C,0xFF,0xFF,0xB7,0xA5,0xFB },
{ "JSR $FAC2 ", 0xED0E,0xFF,0xFF,0xB7,0xA5,0xFB },
{ "CLV ", 0xFAC2,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "SEC ", 0xFAC3,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "LDA #$FF ", 0xFAC4,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "RTS ", 0xFAC6,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "ISB $48,X @ 47 = FF ", 0xED11,0xFF,0xFF,0xB7,0xA5,0xFB },
{ "NOP ", 0xED13,0xFF,0xFF,0xB7,0xA5,0xFB },
{ "NOP ", 0xED14,0xFF,0xFF,0xB7,0xA5,0xFB },
{ "NOP ", 0xED15,0xFF,0xFF,0xB7,0xA5,0xFB },
{ "NOP ", 0xED16,0xFF,0xFF,0xB7,0xA5,0xFB },
{ "JSR $FAC7 ", 0xED17,0xFF,0xFF,0xB7,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFAC7,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFAC9,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFACB,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFACD,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "CMP #$FF ", 0xFACF,0xFF,0xFF,0xB7,0xA5,0xF9 },
{ "BNE $FAE6 ", 0xFAD1,0xFF,0xFF,0xB7,0x27,0xF9 },
{ "RTS ", 0xFAD3,0xFF,0xFF,0xB7,0x27,0xF9 },
{ "LDA $47 = 00 ", 0xED1A,0xFF,0xFF,0xB7,0x27,0xFB },
{ "CMP #$00 ", 0xED1C,0x00,0xFF,0xB7,0x27,0xFB },
{ "BEQ $ED22 ", 0xED1E,0x00,0xFF,0xB7,0x27,0xFB },
{ "INY ", 0xED22,0x00,0xFF,0xB7,0x27,0xFB },
{ "LDA #$37 ", 0xED23,0x00,0xFF,0xB8,0xA5,0xFB },
{ "STA $47 = 00 ", 0xED25,0x37,0xFF,0xB8,0x25,0xFB },
{ "JSR $FAD4 ", 0xED27,0x37,0xFF,0xB8,0x25,0xFB },
{ "BIT $01 = FF ", 0xFAD4,0x37,0xFF,0xB8,0x25,0xF9 },
{ "SEC ", 0xFAD6,0x37,0xFF,0xB8,0xE5,0xF9 },
{ "LDA #$F0 ", 0xFAD7,0x37,0xFF,0xB8,0xE5,0xF9 },
{ "RTS ", 0xFAD9,0xF0,0xFF,0xB8,0xE5,0xF9 },
{ "ISB $48,X @ 47 = 37 ", 0xED2A,0xF0,0xFF,0xB8,0xE5,0xFB },
{ "NOP ", 0xED2C,0xB8,0xFF,0xB8,0xA5,0xFB },
{ "NOP ", 0xED2D,0xB8,0xFF,0xB8,0xA5,0xFB },
{ "NOP ", 0xED2E,0xB8,0xFF,0xB8,0xA5,0xFB },
{ "NOP ", 0xED2F,0xB8,0xFF,0xB8,0xA5,0xFB },
{ "JSR $FADA ", 0xED30,0xB8,0xFF,0xB8,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFADA,0xB8,0xFF,0xB8,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFADC,0xB8,0xFF,0xB8,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFADE,0xB8,0xFF,0xB8,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFAE0,0xB8,0xFF,0xB8,0xA5,0xF9 },
{ "CMP #$B8 ", 0xFAE2,0xB8,0xFF,0xB8,0xA5,0xF9 },
{ "BEQ $FAE8 ", 0xFAE4,0xB8,0xFF,0xB8,0x27,0xF9 },
{ "RTS ", 0xFAE8,0xB8,0xFF,0xB8,0x27,0xF9 },
{ "LDA $47 = 38 ", 0xED33,0xB8,0xFF,0xB8,0x27,0xFB },
{ "CMP #$38 ", 0xED35,0x38,0xFF,0xB8,0x25,0xFB },
{ "BEQ $ED3B ", 0xED37,0x38,0xFF,0xB8,0x27,0xFB },
{ "LDA #$EB ", 0xED3B,0x38,0xFF,0xB8,0x27,0xFB },
{ "STA $0647 = 38 ", 0xED3D,0xEB,0xFF,0xB8,0xA5,0xFB },
{ "LDY #$FF ", 0xED40,0xEB,0xFF,0xB8,0xA5,0xFB },
{ "JSR $FAB1 ", 0xED42,0xEB,0xFF,0xFF,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAB1,0xEB,0xFF,0xFF,0xA5,0xF9 },
{ "CLC ", 0xFAB3,0xEB,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$40 ", 0xFAB4,0xEB,0xFF,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFAB6,0x40,0xFF,0xFF,0x64,0xF9 },
{ "ISB $0548,Y @ 0647 = EB ", 0xED45,0x40,0xFF,0xFF,0x64,0xFB },
{ "NOP ", 0xED48,0x53,0xFF,0xFF,0x24,0xFB },
{ "NOP ", 0xED49,0x53,0xFF,0xFF,0x24,0xFB },
{ "PHP ", 0xED4A,0x53,0xFF,0xFF,0x24,0xFB },
{ "PHA ", 0xED4B,0x53,0xFF,0xFF,0x24,0xFA },
{ "LDY #$B9 ", 0xED4C,0x53,0xFF,0xFF,0x24,0xF9 },
{ "PLA ", 0xED4E,0x53,0xFF,0xB9,0xA4,0xF9 },
{ "PLP ", 0xED4F,0x53,0xFF,0xB9,0x24,0xFA },
{ "JSR $FAB7 ", 0xED50,0x53,0xFF,0xB9,0x24,0xFB },
{ "BVS $FAE6 ", 0xFAB7,0x53,0xFF,0xB9,0x24,0xF9 },
{ "BCS $FAE6 ", 0xFAB9,0x53,0xFF,0xB9,0x24,0xF9 },
{ "BMI $FAE6 ", 0xFABB,0x53,0xFF,0xB9,0x24,0xF9 },
{ "CMP #$53 ", 0xFABD,0x53,0xFF,0xB9,0x24,0xF9 },
{ "BNE $FAE6 ", 0xFABF,0x53,0xFF,0xB9,0x27,0xF9 },
{ "RTS ", 0xFAC1,0x53,0xFF,0xB9,0x27,0xF9 },
{ "LDA $0647 = EC ", 0xED53,0x53,0xFF,0xB9,0x27,0xFB },
{ "CMP #$EC ", 0xED56,0xEC,0xFF,0xB9,0xA5,0xFB },
{ "BEQ $ED5C ", 0xED58,0xEC,0xFF,0xB9,0x27,0xFB },
{ "LDY #$FF ", 0xED5C,0xEC,0xFF,0xB9,0x27,0xFB },
{ "LDA #$FF ", 0xED5E,0xEC,0xFF,0xFF,0xA5,0xFB },
{ "STA $0647 = EC ", 0xED60,0xFF,0xFF,0xFF,0xA5,0xFB },
{ "JSR $FAC2 ", 0xED63,0xFF,0xFF,0xFF,0xA5,0xFB },
{ "CLV ", 0xFAC2,0xFF,0xFF,0xFF,0xA5,0xF9 },
{ "SEC ", 0xFAC3,0xFF,0xFF,0xFF,0xA5,0xF9 },
{ "LDA #$FF ", 0xFAC4,0xFF,0xFF,0xFF,0xA5,0xF9 },
{ "RTS ", 0xFAC6,0xFF,0xFF,0xFF,0xA5,0xF9 },
{ "ISB $0548,Y @ 0647 = FF ", 0xED66,0xFF,0xFF,0xFF,0xA5,0xFB },
{ "NOP ", 0xED69,0xFF,0xFF,0xFF,0xA5,0xFB },
{ "NOP ", 0xED6A,0xFF,0xFF,0xFF,0xA5,0xFB },
{ "PHP ", 0xED6B,0xFF,0xFF,0xFF,0xA5,0xFB },
{ "PHA ", 0xED6C,0xFF,0xFF,0xFF,0xA5,0xFA },
{ "LDY #$BA ", 0xED6D,0xFF,0xFF,0xFF,0xA5,0xF9 },
{ "PLA ", 0xED6F,0xFF,0xFF,0xBA,0xA5,0xF9 },
{ "PLP ", 0xED70,0xFF,0xFF,0xBA,0xA5,0xFA },
{ "JSR $FAC7 ", 0xED71,0xFF,0xFF,0xBA,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFAC7,0xFF,0xFF,0xBA,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFAC9,0xFF,0xFF,0xBA,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFACB,0xFF,0xFF,0xBA,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFACD,0xFF,0xFF,0xBA,0xA5,0xF9 },
{ "CMP #$FF ", 0xFACF,0xFF,0xFF,0xBA,0xA5,0xF9 },
{ "BNE $FAE6 ", 0xFAD1,0xFF,0xFF,0xBA,0x27,0xF9 },
{ "RTS ", 0xFAD3,0xFF,0xFF,0xBA,0x27,0xF9 },
{ "LDA $0647 = 00 ", 0xED74,0xFF,0xFF,0xBA,0x27,0xFB },
{ "CMP #$00 ", 0xED77,0x00,0xFF,0xBA,0x27,0xFB },
{ "BEQ $ED7D ", 0xED79,0x00,0xFF,0xBA,0x27,0xFB },
{ "LDY #$FF ", 0xED7D,0x00,0xFF,0xBA,0x27,0xFB },
{ "LDA #$37 ", 0xED7F,0x00,0xFF,0xFF,0xA5,0xFB },
{ "STA $0647 = 00 ", 0xED81,0x37,0xFF,0xFF,0x25,0xFB },
{ "JSR $FAD4 ", 0xED84,0x37,0xFF,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFAD4,0x37,0xFF,0xFF,0x25,0xF9 },
{ "SEC ", 0xFAD6,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$F0 ", 0xFAD7,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFAD9,0xF0,0xFF,0xFF,0xE5,0xF9 },
{ "ISB $0548,Y @ 0647 = 37 ", 0xED87,0xF0,0xFF,0xFF,0xE5,0xFB },
{ "NOP ", 0xED8A,0xB8,0xFF,0xFF,0xA5,0xFB },
{ "NOP ", 0xED8B,0xB8,0xFF,0xFF,0xA5,0xFB },
{ "PHP ", 0xED8C,0xB8,0xFF,0xFF,0xA5,0xFB },
{ "PHA ", 0xED8D,0xB8,0xFF,0xFF,0xA5,0xFA },
{ "LDY #$BB ", 0xED8E,0xB8,0xFF,0xFF,0xA5,0xF9 },
{ "PLA ", 0xED90,0xB8,0xFF,0xBB,0xA5,0xF9 },
{ "PLP ", 0xED91,0xB8,0xFF,0xBB,0xA5,0xFA },
{ "JSR $FADA ", 0xED92,0xB8,0xFF,0xBB,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFADA,0xB8,0xFF,0xBB,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFADC,0xB8,0xFF,0xBB,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFADE,0xB8,0xFF,0xBB,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFAE0,0xB8,0xFF,0xBB,0xA5,0xF9 },
{ "CMP #$B8 ", 0xFAE2,0xB8,0xFF,0xBB,0xA5,0xF9 },
{ "BEQ $FAE8 ", 0xFAE4,0xB8,0xFF,0xBB,0x27,0xF9 },
{ "RTS ", 0xFAE8,0xB8,0xFF,0xBB,0x27,0xF9 },
{ "LDA $0647 = 38 ", 0xED95,0xB8,0xFF,0xBB,0x27,0xFB },
{ "CMP #$38 ", 0xED98,0x38,0xFF,0xBB,0x25,0xFB },
{ "BEQ $ED9E ", 0xED9A,0x38,0xFF,0xBB,0x27,0xFB },
{ "LDY #$BC ", 0xED9E,0x38,0xFF,0xBB,0x27,0xFB },
{ "LDX #$FF ", 0xEDA0,0x38,0xFF,0xBC,0xA5,0xFB },
{ "LDA #$EB ", 0xEDA2,0x38,0xFF,0xBC,0xA5,0xFB },
{ "STA $0647 = 38 ", 0xEDA4,0xEB,0xFF,0xBC,0xA5,0xFB },
{ "JSR $FAB1 ", 0xEDA7,0xEB,0xFF,0xBC,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAB1,0xEB,0xFF,0xBC,0xA5,0xF9 },
{ "CLC ", 0xFAB3,0xEB,0xFF,0xBC,0xE5,0xF9 },
{ "LDA #$40 ", 0xFAB4,0xEB,0xFF,0xBC,0xE4,0xF9 },
{ "RTS ", 0xFAB6,0x40,0xFF,0xBC,0x64,0xF9 },
{ "ISB $0548,X @ 0647 = EB ", 0xEDAA,0x40,0xFF,0xBC,0x64,0xFB },
{ "NOP ", 0xEDAD,0x53,0xFF,0xBC,0x24,0xFB },
{ "NOP ", 0xEDAE,0x53,0xFF,0xBC,0x24,0xFB },
{ "NOP ", 0xEDAF,0x53,0xFF,0xBC,0x24,0xFB },
{ "NOP ", 0xEDB0,0x53,0xFF,0xBC,0x24,0xFB },
{ "JSR $FAB7 ", 0xEDB1,0x53,0xFF,0xBC,0x24,0xFB },
{ "BVS $FAE6 ", 0xFAB7,0x53,0xFF,0xBC,0x24,0xF9 },
{ "BCS $FAE6 ", 0xFAB9,0x53,0xFF,0xBC,0x24,0xF9 },
{ "BMI $FAE6 ", 0xFABB,0x53,0xFF,0xBC,0x24,0xF9 },
{ "CMP #$53 ", 0xFABD,0x53,0xFF,0xBC,0x24,0xF9 },
{ "BNE $FAE6 ", 0xFABF,0x53,0xFF,0xBC,0x27,0xF9 },
{ "RTS ", 0xFAC1,0x53,0xFF,0xBC,0x27,0xF9 },
{ "LDA $0647 = EC ", 0xEDB4,0x53,0xFF,0xBC,0x27,0xFB },
{ "CMP #$EC ", 0xEDB7,0xEC,0xFF,0xBC,0xA5,0xFB },
{ "BEQ $EDBD ", 0xEDB9,0xEC,0xFF,0xBC,0x27,0xFB },
{ "INY ", 0xEDBD,0xEC,0xFF,0xBC,0x27,0xFB },
{ "LDA #$FF ", 0xEDBE,0xEC,0xFF,0xBD,0xA5,0xFB },
{ "STA $0647 = EC ", 0xEDC0,0xFF,0xFF,0xBD,0xA5,0xFB },
{ "JSR $FAC2 ", 0xEDC3,0xFF,0xFF,0xBD,0xA5,0xFB },
{ "CLV ", 0xFAC2,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "SEC ", 0xFAC3,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "LDA #$FF ", 0xFAC4,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "RTS ", 0xFAC6,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "ISB $0548,X @ 0647 = FF ", 0xEDC6,0xFF,0xFF,0xBD,0xA5,0xFB },
{ "NOP ", 0xEDC9,0xFF,0xFF,0xBD,0xA5,0xFB },
{ "NOP ", 0xEDCA,0xFF,0xFF,0xBD,0xA5,0xFB },
{ "NOP ", 0xEDCB,0xFF,0xFF,0xBD,0xA5,0xFB },
{ "NOP ", 0xEDCC,0xFF,0xFF,0xBD,0xA5,0xFB },
{ "JSR $FAC7 ", 0xEDCD,0xFF,0xFF,0xBD,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFAC7,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFAC9,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFACB,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFACD,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "CMP #$FF ", 0xFACF,0xFF,0xFF,0xBD,0xA5,0xF9 },
{ "BNE $FAE6 ", 0xFAD1,0xFF,0xFF,0xBD,0x27,0xF9 },
{ "RTS ", 0xFAD3,0xFF,0xFF,0xBD,0x27,0xF9 },
{ "LDA $0647 = 00 ", 0xEDD0,0xFF,0xFF,0xBD,0x27,0xFB },
{ "CMP #$00 ", 0xEDD3,0x00,0xFF,0xBD,0x27,0xFB },
{ "BEQ $EDD9 ", 0xEDD5,0x00,0xFF,0xBD,0x27,0xFB },
{ "INY ", 0xEDD9,0x00,0xFF,0xBD,0x27,0xFB },
{ "LDA #$37 ", 0xEDDA,0x00,0xFF,0xBE,0xA5,0xFB },
{ "STA $0647 = 00 ", 0xEDDC,0x37,0xFF,0xBE,0x25,0xFB },
{ "JSR $FAD4 ", 0xEDDF,0x37,0xFF,0xBE,0x25,0xFB },
{ "BIT $01 = FF ", 0xFAD4,0x37,0xFF,0xBE,0x25,0xF9 },
{ "SEC ", 0xFAD6,0x37,0xFF,0xBE,0xE5,0xF9 },
{ "LDA #$F0 ", 0xFAD7,0x37,0xFF,0xBE,0xE5,0xF9 },
{ "RTS ", 0xFAD9,0xF0,0xFF,0xBE,0xE5,0xF9 },
{ "ISB $0548,X @ 0647 = 37 ", 0xEDE2,0xF0,0xFF,0xBE,0xE5,0xFB },
{ "NOP ", 0xEDE5,0xB8,0xFF,0xBE,0xA5,0xFB },
{ "NOP ", 0xEDE6,0xB8,0xFF,0xBE,0xA5,0xFB },
{ "NOP ", 0xEDE7,0xB8,0xFF,0xBE,0xA5,0xFB },
{ "NOP ", 0xEDE8,0xB8,0xFF,0xBE,0xA5,0xFB },
{ "JSR $FADA ", 0xEDE9,0xB8,0xFF,0xBE,0xA5,0xFB },
{ "BVS $FAE6 ", 0xFADA,0xB8,0xFF,0xBE,0xA5,0xF9 },
{ "BEQ $FAE6 ", 0xFADC,0xB8,0xFF,0xBE,0xA5,0xF9 },
{ "BPL $FAE6 ", 0xFADE,0xB8,0xFF,0xBE,0xA5,0xF9 },
{ "BCC $FAE6 ", 0xFAE0,0xB8,0xFF,0xBE,0xA5,0xF9 },
{ "CMP #$B8 ", 0xFAE2,0xB8,0xFF,0xBE,0xA5,0xF9 },
{ "BEQ $FAE8 ", 0xFAE4,0xB8,0xFF,0xBE,0x27,0xF9 },
{ "RTS ", 0xFAE8,0xB8,0xFF,0xBE,0x27,0xF9 },
{ "LDA $0647 = 38 ", 0xEDEC,0xB8,0xFF,0xBE,0x27,0xFB },
{ "CMP #$38 ", 0xEDEF,0x38,0xFF,0xBE,0x25,0xFB },
{ "BEQ $EDF5 ", 0xEDF1,0x38,0xFF,0xBE,0x27,0xFB },
{ "RTS ", 0xEDF5,0x38,0xFF,0xBE,0x27,0xFB },
{ "JSR $EDF6 ", 0xC641,0x38,0xFF,0xBE,0x27,0xFD },
{ "LDA #$FF ", 0xEDF6,0x38,0xFF,0xBE,0x27,0xFB },
{ "STA $01 = FF ", 0xEDF8,0xFF,0xFF,0xBE,0xA5,0xFB },
{ "LDY #$BF ", 0xEDFA,0xFF,0xFF,0xBE,0xA5,0xFB },
{ "LDX #$02 ", 0xEDFC,0xFF,0xFF,0xBF,0xA5,0xFB },
{ "LDA #$47 ", 0xEDFE,0xFF,0x02,0xBF,0x25,0xFB },
{ "STA $47 = 38 ", 0xEE00,0x47,0x02,0xBF,0x25,0xFB },
{ "LDA #$06 ", 0xEE02,0x47,0x02,0xBF,0x25,0xFB },
{ "STA $48 = 06 ", 0xEE04,0x06,0x02,0xBF,0x25,0xFB },
{ "LDA #$A5 ", 0xEE06,0x06,0x02,0xBF,0x25,0xFB },
{ "STA $0647 = 38 ", 0xEE08,0xA5,0x02,0xBF,0xA5,0xFB },
{ "JSR $FA7B ", 0xEE0B,0xA5,0x02,0xBF,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFA7B,0xA5,0x02,0xBF,0xA5,0xF9 },
{ "CLC ", 0xFA7D,0xA5,0x02,0xBF,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFA7E,0xA5,0x02,0xBF,0xE4,0xF9 },
{ "RTS ", 0xFA80,0xB3,0x02,0xBF,0xE4,0xF9 },
{ "SLO ($45,X) @ 47 = 0647 = A5 ", 0xEE0E,0xB3,0x02,0xBF,0xE4,0xFB },
{ "NOP ", 0xEE10,0xFB,0x02,0xBF,0xE5,0xFB },
{ "NOP ", 0xEE11,0xFB,0x02,0xBF,0xE5,0xFB },
{ "NOP ", 0xEE12,0xFB,0x02,0xBF,0xE5,0xFB },
{ "NOP ", 0xEE13,0xFB,0x02,0xBF,0xE5,0xFB },
{ "JSR $FA81 ", 0xEE14,0xFB,0x02,0xBF,0xE5,0xFB },
{ "BVC $FAE6 ", 0xFA81,0xFB,0x02,0xBF,0xE5,0xF9 },
{ "BCC $FAE6 ", 0xFA83,0xFB,0x02,0xBF,0xE5,0xF9 },
{ "BPL $FAE6 ", 0xFA85,0xFB,0x02,0xBF,0xE5,0xF9 },
{ "CMP #$FB ", 0xFA87,0xFB,0x02,0xBF,0xE5,0xF9 },
{ "BNE $FAE6 ", 0xFA89,0xFB,0x02,0xBF,0x67,0xF9 },
{ "RTS ", 0xFA8B,0xFB,0x02,0xBF,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xEE17,0xFB,0x02,0xBF,0x67,0xFB },
{ "CMP #$4A ", 0xEE1A,0x4A,0x02,0xBF,0x65,0xFB },
{ "BEQ $EE20 ", 0xEE1C,0x4A,0x02,0xBF,0x67,0xFB },
{ "INY ", 0xEE20,0x4A,0x02,0xBF,0x67,0xFB },
{ "LDA #$29 ", 0xEE21,0x4A,0x02,0xC0,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xEE23,0x29,0x02,0xC0,0x65,0xFB },
{ "JSR $FA8C ", 0xEE26,0x29,0x02,0xC0,0x65,0xFB },
{ "CLV ", 0xFA8C,0x29,0x02,0xC0,0x65,0xF9 },
{ "CLC ", 0xFA8D,0x29,0x02,0xC0,0x25,0xF9 },
{ "LDA #$C3 ", 0xFA8E,0x29,0x02,0xC0,0x24,0xF9 },
{ "RTS ", 0xFA90,0xC3,0x02,0xC0,0xA4,0xF9 },
{ "SLO ($45,X) @ 47 = 0647 = 29 ", 0xEE29,0xC3,0x02,0xC0,0xA4,0xFB },
{ "NOP ", 0xEE2B,0xD3,0x02,0xC0,0xA4,0xFB },
{ "NOP ", 0xEE2C,0xD3,0x02,0xC0,0xA4,0xFB },
{ "NOP ", 0xEE2D,0xD3,0x02,0xC0,0xA4,0xFB },
{ "NOP ", 0xEE2E,0xD3,0x02,0xC0,0xA4,0xFB },
{ "JSR $FA91 ", 0xEE2F,0xD3,0x02,0xC0,0xA4,0xFB },
{ "BVS $FAE6 ", 0xFA91,0xD3,0x02,0xC0,0xA4,0xF9 },
{ "BEQ $FAE6 ", 0xFA93,0xD3,0x02,0xC0,0xA4,0xF9 },
{ "BPL $FAE6 ", 0xFA95,0xD3,0x02,0xC0,0xA4,0xF9 },
{ "BCS $FAE6 ", 0xFA97,0xD3,0x02,0xC0,0xA4,0xF9 },
{ "CMP #$D3 ", 0xFA99,0xD3,0x02,0xC0,0xA4,0xF9 },
{ "BNE $FAE6 ", 0xFA9B,0xD3,0x02,0xC0,0x27,0xF9 },
{ "RTS ", 0xFA9D,0xD3,0x02,0xC0,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xEE32,0xD3,0x02,0xC0,0x27,0xFB },
{ "CMP #$52 ", 0xEE35,0x52,0x02,0xC0,0x25,0xFB },
{ "BEQ $EE3B ", 0xEE37,0x52,0x02,0xC0,0x27,0xFB },
{ "INY ", 0xEE3B,0x52,0x02,0xC0,0x27,0xFB },
{ "LDA #$37 ", 0xEE3C,0x52,0x02,0xC1,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xEE3E,0x37,0x02,0xC1,0x25,0xFB },
{ "JSR $FA9E ", 0xEE41,0x37,0x02,0xC1,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA9E,0x37,0x02,0xC1,0x25,0xF9 },
{ "SEC ", 0xFAA0,0x37,0x02,0xC1,0xE5,0xF9 },
{ "LDA #$10 ", 0xFAA1,0x37,0x02,0xC1,0xE5,0xF9 },
{ "RTS ", 0xFAA3,0x10,0x02,0xC1,0x65,0xF9 },
{ "SLO ($45,X) @ 47 = 0647 = 37 ", 0xEE44,0x10,0x02,0xC1,0x65,0xFB },
{ "NOP ", 0xEE46,0x7E,0x02,0xC1,0x64,0xFB },
{ "NOP ", 0xEE47,0x7E,0x02,0xC1,0x64,0xFB },
{ "NOP ", 0xEE48,0x7E,0x02,0xC1,0x64,0xFB },
{ "NOP ", 0xEE49,0x7E,0x02,0xC1,0x64,0xFB },
{ "JSR $FAA4 ", 0xEE4A,0x7E,0x02,0xC1,0x64,0xFB },
{ "BVC $FAE6 ", 0xFAA4,0x7E,0x02,0xC1,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFAA6,0x7E,0x02,0xC1,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFAA8,0x7E,0x02,0xC1,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFAAA,0x7E,0x02,0xC1,0x64,0xF9 },
{ "CMP #$7E ", 0xFAAC,0x7E,0x02,0xC1,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFAAE,0x7E,0x02,0xC1,0x67,0xF9 },
{ "RTS ", 0xFAB0,0x7E,0x02,0xC1,0x67,0xF9 },
{ "LDA $0647 = 6E ", 0xEE4D,0x7E,0x02,0xC1,0x67,0xFB },
{ "CMP #$6E ", 0xEE50,0x6E,0x02,0xC1,0x65,0xFB },
{ "BEQ $EE56 ", 0xEE52,0x6E,0x02,0xC1,0x67,0xFB },
{ "INY ", 0xEE56,0x6E,0x02,0xC1,0x67,0xFB },
{ "LDA #$A5 ", 0xEE57,0x6E,0x02,0xC2,0xE5,0xFB },
{ "STA $47 = 47 ", 0xEE59,0xA5,0x02,0xC2,0xE5,0xFB },
{ "JSR $FA7B ", 0xEE5B,0xA5,0x02,0xC2,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA7B,0xA5,0x02,0xC2,0xE5,0xF9 },
{ "CLC ", 0xFA7D,0xA5,0x02,0xC2,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFA7E,0xA5,0x02,0xC2,0xE4,0xF9 },
{ "RTS ", 0xFA80,0xB3,0x02,0xC2,0xE4,0xF9 },
{ "SLO $47 = A5 ", 0xEE5E,0xB3,0x02,0xC2,0xE4,0xFB },
{ "NOP ", 0xEE60,0xFB,0x02,0xC2,0xE5,0xFB },
{ "NOP ", 0xEE61,0xFB,0x02,0xC2,0xE5,0xFB },
{ "NOP ", 0xEE62,0xFB,0x02,0xC2,0xE5,0xFB },
{ "NOP ", 0xEE63,0xFB,0x02,0xC2,0xE5,0xFB },
{ "JSR $FA81 ", 0xEE64,0xFB,0x02,0xC2,0xE5,0xFB },
{ "BVC $FAE6 ", 0xFA81,0xFB,0x02,0xC2,0xE5,0xF9 },
{ "BCC $FAE6 ", 0xFA83,0xFB,0x02,0xC2,0xE5,0xF9 },
{ "BPL $FAE6 ", 0xFA85,0xFB,0x02,0xC2,0xE5,0xF9 },
{ "CMP #$FB ", 0xFA87,0xFB,0x02,0xC2,0xE5,0xF9 },
{ "BNE $FAE6 ", 0xFA89,0xFB,0x02,0xC2,0x67,0xF9 },
{ "RTS ", 0xFA8B,0xFB,0x02,0xC2,0x67,0xF9 },
{ "LDA $47 = 4A ", 0xEE67,0xFB,0x02,0xC2,0x67,0xFB },
{ "CMP #$4A ", 0xEE69,0x4A,0x02,0xC2,0x65,0xFB },
{ "BEQ $EE6F ", 0xEE6B,0x4A,0x02,0xC2,0x67,0xFB },
{ "INY ", 0xEE6F,0x4A,0x02,0xC2,0x67,0xFB },
{ "LDA #$29 ", 0xEE70,0x4A,0x02,0xC3,0xE5,0xFB },
{ "STA $47 = 4A ", 0xEE72,0x29,0x02,0xC3,0x65,0xFB },
{ "JSR $FA8C ", 0xEE74,0x29,0x02,0xC3,0x65,0xFB },
{ "CLV ", 0xFA8C,0x29,0x02,0xC3,0x65,0xF9 },
{ "CLC ", 0xFA8D,0x29,0x02,0xC3,0x25,0xF9 },
{ "LDA #$C3 ", 0xFA8E,0x29,0x02,0xC3,0x24,0xF9 },
{ "RTS ", 0xFA90,0xC3,0x02,0xC3,0xA4,0xF9 },
{ "SLO $47 = 29 ", 0xEE77,0xC3,0x02,0xC3,0xA4,0xFB },
{ "NOP ", 0xEE79,0xD3,0x02,0xC3,0xA4,0xFB },
{ "NOP ", 0xEE7A,0xD3,0x02,0xC3,0xA4,0xFB },
{ "NOP ", 0xEE7B,0xD3,0x02,0xC3,0xA4,0xFB },
{ "NOP ", 0xEE7C,0xD3,0x02,0xC3,0xA4,0xFB },
{ "JSR $FA91 ", 0xEE7D,0xD3,0x02,0xC3,0xA4,0xFB },
{ "BVS $FAE6 ", 0xFA91,0xD3,0x02,0xC3,0xA4,0xF9 },
{ "BEQ $FAE6 ", 0xFA93,0xD3,0x02,0xC3,0xA4,0xF9 },
{ "BPL $FAE6 ", 0xFA95,0xD3,0x02,0xC3,0xA4,0xF9 },
{ "BCS $FAE6 ", 0xFA97,0xD3,0x02,0xC3,0xA4,0xF9 },
{ "CMP #$D3 ", 0xFA99,0xD3,0x02,0xC3,0xA4,0xF9 },
{ "BNE $FAE6 ", 0xFA9B,0xD3,0x02,0xC3,0x27,0xF9 },
{ "RTS ", 0xFA9D,0xD3,0x02,0xC3,0x27,0xF9 },
{ "LDA $47 = 52 ", 0xEE80,0xD3,0x02,0xC3,0x27,0xFB },
{ "CMP #$52 ", 0xEE82,0x52,0x02,0xC3,0x25,0xFB },
{ "BEQ $EE88 ", 0xEE84,0x52,0x02,0xC3,0x27,0xFB },
{ "INY ", 0xEE88,0x52,0x02,0xC3,0x27,0xFB },
{ "LDA #$37 ", 0xEE89,0x52,0x02,0xC4,0xA5,0xFB },
{ "STA $47 = 52 ", 0xEE8B,0x37,0x02,0xC4,0x25,0xFB },
{ "JSR $FA9E ", 0xEE8D,0x37,0x02,0xC4,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA9E,0x37,0x02,0xC4,0x25,0xF9 },
{ "SEC ", 0xFAA0,0x37,0x02,0xC4,0xE5,0xF9 },
{ "LDA #$10 ", 0xFAA1,0x37,0x02,0xC4,0xE5,0xF9 },
{ "RTS ", 0xFAA3,0x10,0x02,0xC4,0x65,0xF9 },
{ "SLO $47 = 37 ", 0xEE90,0x10,0x02,0xC4,0x65,0xFB },
{ "NOP ", 0xEE92,0x7E,0x02,0xC4,0x64,0xFB },
{ "NOP ", 0xEE93,0x7E,0x02,0xC4,0x64,0xFB },
{ "NOP ", 0xEE94,0x7E,0x02,0xC4,0x64,0xFB },
{ "NOP ", 0xEE95,0x7E,0x02,0xC4,0x64,0xFB },
{ "JSR $FAA4 ", 0xEE96,0x7E,0x02,0xC4,0x64,0xFB },
{ "BVC $FAE6 ", 0xFAA4,0x7E,0x02,0xC4,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFAA6,0x7E,0x02,0xC4,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFAA8,0x7E,0x02,0xC4,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFAAA,0x7E,0x02,0xC4,0x64,0xF9 },
{ "CMP #$7E ", 0xFAAC,0x7E,0x02,0xC4,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFAAE,0x7E,0x02,0xC4,0x67,0xF9 },
{ "RTS ", 0xFAB0,0x7E,0x02,0xC4,0x67,0xF9 },
{ "LDA $47 = 6E ", 0xEE99,0x7E,0x02,0xC4,0x67,0xFB },
{ "CMP #$6E ", 0xEE9B,0x6E,0x02,0xC4,0x65,0xFB },
{ "BEQ $EEA1 ", 0xEE9D,0x6E,0x02,0xC4,0x67,0xFB },
{ "INY ", 0xEEA1,0x6E,0x02,0xC4,0x67,0xFB },
{ "LDA #$A5 ", 0xEEA2,0x6E,0x02,0xC5,0xE5,0xFB },
{ "STA $0647 = 6E ", 0xEEA4,0xA5,0x02,0xC5,0xE5,0xFB },
{ "JSR $FA7B ", 0xEEA7,0xA5,0x02,0xC5,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA7B,0xA5,0x02,0xC5,0xE5,0xF9 },
{ "CLC ", 0xFA7D,0xA5,0x02,0xC5,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFA7E,0xA5,0x02,0xC5,0xE4,0xF9 },
{ "RTS ", 0xFA80,0xB3,0x02,0xC5,0xE4,0xF9 },
{ "SLO $0647 = A5 ", 0xEEAA,0xB3,0x02,0xC5,0xE4,0xFB },
{ "NOP ", 0xEEAD,0xFB,0x02,0xC5,0xE5,0xFB },
{ "NOP ", 0xEEAE,0xFB,0x02,0xC5,0xE5,0xFB },
{ "NOP ", 0xEEAF,0xFB,0x02,0xC5,0xE5,0xFB },
{ "NOP ", 0xEEB0,0xFB,0x02,0xC5,0xE5,0xFB },
{ "JSR $FA81 ", 0xEEB1,0xFB,0x02,0xC5,0xE5,0xFB },
{ "BVC $FAE6 ", 0xFA81,0xFB,0x02,0xC5,0xE5,0xF9 },
{ "BCC $FAE6 ", 0xFA83,0xFB,0x02,0xC5,0xE5,0xF9 },
{ "BPL $FAE6 ", 0xFA85,0xFB,0x02,0xC5,0xE5,0xF9 },
{ "CMP #$FB ", 0xFA87,0xFB,0x02,0xC5,0xE5,0xF9 },
{ "BNE $FAE6 ", 0xFA89,0xFB,0x02,0xC5,0x67,0xF9 },
{ "RTS ", 0xFA8B,0xFB,0x02,0xC5,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xEEB4,0xFB,0x02,0xC5,0x67,0xFB },
{ "CMP #$4A ", 0xEEB7,0x4A,0x02,0xC5,0x65,0xFB },
{ "BEQ $EEBD ", 0xEEB9,0x4A,0x02,0xC5,0x67,0xFB },
{ "INY ", 0xEEBD,0x4A,0x02,0xC5,0x67,0xFB },
{ "LDA #$29 ", 0xEEBE,0x4A,0x02,0xC6,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xEEC0,0x29,0x02,0xC6,0x65,0xFB },
{ "JSR $FA8C ", 0xEEC3,0x29,0x02,0xC6,0x65,0xFB },
{ "CLV ", 0xFA8C,0x29,0x02,0xC6,0x65,0xF9 },
{ "CLC ", 0xFA8D,0x29,0x02,0xC6,0x25,0xF9 },
{ "LDA #$C3 ", 0xFA8E,0x29,0x02,0xC6,0x24,0xF9 },
{ "RTS ", 0xFA90,0xC3,0x02,0xC6,0xA4,0xF9 },
{ "SLO $0647 = 29 ", 0xEEC6,0xC3,0x02,0xC6,0xA4,0xFB },
{ "NOP ", 0xEEC9,0xD3,0x02,0xC6,0xA4,0xFB },
{ "NOP ", 0xEECA,0xD3,0x02,0xC6,0xA4,0xFB },
{ "NOP ", 0xEECB,0xD3,0x02,0xC6,0xA4,0xFB },
{ "NOP ", 0xEECC,0xD3,0x02,0xC6,0xA4,0xFB },
{ "JSR $FA91 ", 0xEECD,0xD3,0x02,0xC6,0xA4,0xFB },
{ "BVS $FAE6 ", 0xFA91,0xD3,0x02,0xC6,0xA4,0xF9 },
{ "BEQ $FAE6 ", 0xFA93,0xD3,0x02,0xC6,0xA4,0xF9 },
{ "BPL $FAE6 ", 0xFA95,0xD3,0x02,0xC6,0xA4,0xF9 },
{ "BCS $FAE6 ", 0xFA97,0xD3,0x02,0xC6,0xA4,0xF9 },
{ "CMP #$D3 ", 0xFA99,0xD3,0x02,0xC6,0xA4,0xF9 },
{ "BNE $FAE6 ", 0xFA9B,0xD3,0x02,0xC6,0x27,0xF9 },
{ "RTS ", 0xFA9D,0xD3,0x02,0xC6,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xEED0,0xD3,0x02,0xC6,0x27,0xFB },
{ "CMP #$52 ", 0xEED3,0x52,0x02,0xC6,0x25,0xFB },
{ "BEQ $EED9 ", 0xEED5,0x52,0x02,0xC6,0x27,0xFB },
{ "INY ", 0xEED9,0x52,0x02,0xC6,0x27,0xFB },
{ "LDA #$37 ", 0xEEDA,0x52,0x02,0xC7,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xEEDC,0x37,0x02,0xC7,0x25,0xFB },
{ "JSR $FA9E ", 0xEEDF,0x37,0x02,0xC7,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA9E,0x37,0x02,0xC7,0x25,0xF9 },
{ "SEC ", 0xFAA0,0x37,0x02,0xC7,0xE5,0xF9 },
{ "LDA #$10 ", 0xFAA1,0x37,0x02,0xC7,0xE5,0xF9 },
{ "RTS ", 0xFAA3,0x10,0x02,0xC7,0x65,0xF9 },
{ "SLO $0647 = 37 ", 0xEEE2,0x10,0x02,0xC7,0x65,0xFB },
{ "NOP ", 0xEEE5,0x7E,0x02,0xC7,0x64,0xFB },
{ "NOP ", 0xEEE6,0x7E,0x02,0xC7,0x64,0xFB },
{ "NOP ", 0xEEE7,0x7E,0x02,0xC7,0x64,0xFB },
{ "NOP ", 0xEEE8,0x7E,0x02,0xC7,0x64,0xFB },
{ "JSR $FAA4 ", 0xEEE9,0x7E,0x02,0xC7,0x64,0xFB },
{ "BVC $FAE6 ", 0xFAA4,0x7E,0x02,0xC7,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFAA6,0x7E,0x02,0xC7,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFAA8,0x7E,0x02,0xC7,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFAAA,0x7E,0x02,0xC7,0x64,0xF9 },
{ "CMP #$7E ", 0xFAAC,0x7E,0x02,0xC7,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFAAE,0x7E,0x02,0xC7,0x67,0xF9 },
{ "RTS ", 0xFAB0,0x7E,0x02,0xC7,0x67,0xF9 },
{ "LDA $0647 = 6E ", 0xEEEC,0x7E,0x02,0xC7,0x67,0xFB },
{ "CMP #$6E ", 0xEEEF,0x6E,0x02,0xC7,0x65,0xFB },
{ "BEQ $EEF5 ", 0xEEF1,0x6E,0x02,0xC7,0x67,0xFB },
{ "LDA #$A5 ", 0xEEF5,0x6E,0x02,0xC7,0x67,0xFB },
{ "STA $0647 = 6E ", 0xEEF7,0xA5,0x02,0xC7,0xE5,0xFB },
{ "LDA #$48 ", 0xEEFA,0xA5,0x02,0xC7,0xE5,0xFB },
{ "STA $45 = 48 ", 0xEEFC,0x48,0x02,0xC7,0x65,0xFB },
{ "LDA #$05 ", 0xEEFE,0x48,0x02,0xC7,0x65,0xFB },
{ "STA $46 = 05 ", 0xEF00,0x05,0x02,0xC7,0x65,0xFB },
{ "LDY #$FF ", 0xEF02,0x05,0x02,0xC7,0x65,0xFB },
{ "JSR $FA7B ", 0xEF04,0x05,0x02,0xFF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA7B,0x05,0x02,0xFF,0xE5,0xF9 },
{ "CLC ", 0xFA7D,0x05,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFA7E,0x05,0x02,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFA80,0xB3,0x02,0xFF,0xE4,0xF9 },
{ "SLO ($45),Y = 0548 @ 0647 = A5 ", 0xEF07,0xB3,0x02,0xFF,0xE4,0xFB },
{ "NOP ", 0xEF09,0xFB,0x02,0xFF,0xE5,0xFB },
{ "NOP ", 0xEF0A,0xFB,0x02,0xFF,0xE5,0xFB },
{ "PHP ", 0xEF0B,0xFB,0x02,0xFF,0xE5,0xFB },
{ "PHA ", 0xEF0C,0xFB,0x02,0xFF,0xE5,0xFA },
{ "LDY #$C8 ", 0xEF0D,0xFB,0x02,0xFF,0xE5,0xF9 },
{ "PLA ", 0xEF0F,0xFB,0x02,0xC8,0xE5,0xF9 },
{ "PLP ", 0xEF10,0xFB,0x02,0xC8,0xE5,0xFA },
{ "JSR $FA81 ", 0xEF11,0xFB,0x02,0xC8,0xE5,0xFB },
{ "BVC $FAE6 ", 0xFA81,0xFB,0x02,0xC8,0xE5,0xF9 },
{ "BCC $FAE6 ", 0xFA83,0xFB,0x02,0xC8,0xE5,0xF9 },
{ "BPL $FAE6 ", 0xFA85,0xFB,0x02,0xC8,0xE5,0xF9 },
{ "CMP #$FB ", 0xFA87,0xFB,0x02,0xC8,0xE5,0xF9 },
{ "BNE $FAE6 ", 0xFA89,0xFB,0x02,0xC8,0x67,0xF9 },
{ "RTS ", 0xFA8B,0xFB,0x02,0xC8,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xEF14,0xFB,0x02,0xC8,0x67,0xFB },
{ "CMP #$4A ", 0xEF17,0x4A,0x02,0xC8,0x65,0xFB },
{ "BEQ $EF1D ", 0xEF19,0x4A,0x02,0xC8,0x67,0xFB },
{ "LDY #$FF ", 0xEF1D,0x4A,0x02,0xC8,0x67,0xFB },
{ "LDA #$29 ", 0xEF1F,0x4A,0x02,0xFF,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xEF21,0x29,0x02,0xFF,0x65,0xFB },
{ "JSR $FA8C ", 0xEF24,0x29,0x02,0xFF,0x65,0xFB },
{ "CLV ", 0xFA8C,0x29,0x02,0xFF,0x65,0xF9 },
{ "CLC ", 0xFA8D,0x29,0x02,0xFF,0x25,0xF9 },
{ "LDA #$C3 ", 0xFA8E,0x29,0x02,0xFF,0x24,0xF9 },
{ "RTS ", 0xFA90,0xC3,0x02,0xFF,0xA4,0xF9 },
{ "SLO ($45),Y = 0548 @ 0647 = 29 ", 0xEF27,0xC3,0x02,0xFF,0xA4,0xFB },
{ "NOP ", 0xEF29,0xD3,0x02,0xFF,0xA4,0xFB },
{ "NOP ", 0xEF2A,0xD3,0x02,0xFF,0xA4,0xFB },
{ "PHP ", 0xEF2B,0xD3,0x02,0xFF,0xA4,0xFB },
{ "PHA ", 0xEF2C,0xD3,0x02,0xFF,0xA4,0xFA },
{ "LDY #$C9 ", 0xEF2D,0xD3,0x02,0xFF,0xA4,0xF9 },
{ "PLA ", 0xEF2F,0xD3,0x02,0xC9,0xA4,0xF9 },
{ "PLP ", 0xEF30,0xD3,0x02,0xC9,0xA4,0xFA },
{ "JSR $FA91 ", 0xEF31,0xD3,0x02,0xC9,0xA4,0xFB },
{ "BVS $FAE6 ", 0xFA91,0xD3,0x02,0xC9,0xA4,0xF9 },
{ "BEQ $FAE6 ", 0xFA93,0xD3,0x02,0xC9,0xA4,0xF9 },
{ "BPL $FAE6 ", 0xFA95,0xD3,0x02,0xC9,0xA4,0xF9 },
{ "BCS $FAE6 ", 0xFA97,0xD3,0x02,0xC9,0xA4,0xF9 },
{ "CMP #$D3 ", 0xFA99,0xD3,0x02,0xC9,0xA4,0xF9 },
{ "BNE $FAE6 ", 0xFA9B,0xD3,0x02,0xC9,0x27,0xF9 },
{ "RTS ", 0xFA9D,0xD3,0x02,0xC9,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xEF34,0xD3,0x02,0xC9,0x27,0xFB },
{ "CMP #$52 ", 0xEF37,0x52,0x02,0xC9,0x25,0xFB },
{ "BEQ $EF3D ", 0xEF39,0x52,0x02,0xC9,0x27,0xFB },
{ "LDY #$FF ", 0xEF3D,0x52,0x02,0xC9,0x27,0xFB },
{ "LDA #$37 ", 0xEF3F,0x52,0x02,0xFF,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xEF41,0x37,0x02,0xFF,0x25,0xFB },
{ "JSR $FA9E ", 0xEF44,0x37,0x02,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA9E,0x37,0x02,0xFF,0x25,0xF9 },
{ "SEC ", 0xFAA0,0x37,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$10 ", 0xFAA1,0x37,0x02,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFAA3,0x10,0x02,0xFF,0x65,0xF9 },
{ "SLO ($45),Y = 0548 @ 0647 = 37 ", 0xEF47,0x10,0x02,0xFF,0x65,0xFB },
{ "NOP ", 0xEF49,0x7E,0x02,0xFF,0x64,0xFB },
{ "NOP ", 0xEF4A,0x7E,0x02,0xFF,0x64,0xFB },
{ "PHP ", 0xEF4B,0x7E,0x02,0xFF,0x64,0xFB },
{ "PHA ", 0xEF4C,0x7E,0x02,0xFF,0x64,0xFA },
{ "LDY #$CA ", 0xEF4D,0x7E,0x02,0xFF,0x64,0xF9 },
{ "PLA ", 0xEF4F,0x7E,0x02,0xCA,0xE4,0xF9 },
{ "PLP ", 0xEF50,0x7E,0x02,0xCA,0x64,0xFA },
{ "JSR $FAA4 ", 0xEF51,0x7E,0x02,0xCA,0x64,0xFB },
{ "BVC $FAE6 ", 0xFAA4,0x7E,0x02,0xCA,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFAA6,0x7E,0x02,0xCA,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFAA8,0x7E,0x02,0xCA,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFAAA,0x7E,0x02,0xCA,0x64,0xF9 },
{ "CMP #$7E ", 0xFAAC,0x7E,0x02,0xCA,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFAAE,0x7E,0x02,0xCA,0x67,0xF9 },
{ "RTS ", 0xFAB0,0x7E,0x02,0xCA,0x67,0xF9 },
{ "LDA $0647 = 6E ", 0xEF54,0x7E,0x02,0xCA,0x67,0xFB },
{ "CMP #$6E ", 0xEF57,0x6E,0x02,0xCA,0x65,0xFB },
{ "BEQ $EF5D ", 0xEF59,0x6E,0x02,0xCA,0x67,0xFB },
{ "LDY #$CB ", 0xEF5D,0x6E,0x02,0xCA,0x67,0xFB },
{ "LDX #$FF ", 0xEF5F,0x6E,0x02,0xCB,0xE5,0xFB },
{ "LDA #$A5 ", 0xEF61,0x6E,0xFF,0xCB,0xE5,0xFB },
{ "STA $47 = 6E ", 0xEF63,0xA5,0xFF,0xCB,0xE5,0xFB },
{ "JSR $FA7B ", 0xEF65,0xA5,0xFF,0xCB,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA7B,0xA5,0xFF,0xCB,0xE5,0xF9 },
{ "CLC ", 0xFA7D,0xA5,0xFF,0xCB,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFA7E,0xA5,0xFF,0xCB,0xE4,0xF9 },
{ "RTS ", 0xFA80,0xB3,0xFF,0xCB,0xE4,0xF9 },
{ "SLO $48,X @ 47 = A5 ", 0xEF68,0xB3,0xFF,0xCB,0xE4,0xFB },
{ "NOP ", 0xEF6A,0xFB,0xFF,0xCB,0xE5,0xFB },
{ "NOP ", 0xEF6B,0xFB,0xFF,0xCB,0xE5,0xFB },
{ "NOP ", 0xEF6C,0xFB,0xFF,0xCB,0xE5,0xFB },
{ "NOP ", 0xEF6D,0xFB,0xFF,0xCB,0xE5,0xFB },
{ "JSR $FA81 ", 0xEF6E,0xFB,0xFF,0xCB,0xE5,0xFB },
{ "BVC $FAE6 ", 0xFA81,0xFB,0xFF,0xCB,0xE5,0xF9 },
{ "BCC $FAE6 ", 0xFA83,0xFB,0xFF,0xCB,0xE5,0xF9 },
{ "BPL $FAE6 ", 0xFA85,0xFB,0xFF,0xCB,0xE5,0xF9 },
{ "CMP #$FB ", 0xFA87,0xFB,0xFF,0xCB,0xE5,0xF9 },
{ "BNE $FAE6 ", 0xFA89,0xFB,0xFF,0xCB,0x67,0xF9 },
{ "RTS ", 0xFA8B,0xFB,0xFF,0xCB,0x67,0xF9 },
{ "LDA $47 = 4A ", 0xEF71,0xFB,0xFF,0xCB,0x67,0xFB },
{ "CMP #$4A ", 0xEF73,0x4A,0xFF,0xCB,0x65,0xFB },
{ "BEQ $EF79 ", 0xEF75,0x4A,0xFF,0xCB,0x67,0xFB },
{ "INY ", 0xEF79,0x4A,0xFF,0xCB,0x67,0xFB },
{ "LDA #$29 ", 0xEF7A,0x4A,0xFF,0xCC,0xE5,0xFB },
{ "STA $47 = 4A ", 0xEF7C,0x29,0xFF,0xCC,0x65,0xFB },
{ "JSR $FA8C ", 0xEF7E,0x29,0xFF,0xCC,0x65,0xFB },
{ "CLV ", 0xFA8C,0x29,0xFF,0xCC,0x65,0xF9 },
{ "CLC ", 0xFA8D,0x29,0xFF,0xCC,0x25,0xF9 },
{ "LDA #$C3 ", 0xFA8E,0x29,0xFF,0xCC,0x24,0xF9 },
{ "RTS ", 0xFA90,0xC3,0xFF,0xCC,0xA4,0xF9 },
{ "SLO $48,X @ 47 = 29 ", 0xEF81,0xC3,0xFF,0xCC,0xA4,0xFB },
{ "NOP ", 0xEF83,0xD3,0xFF,0xCC,0xA4,0xFB },
{ "NOP ", 0xEF84,0xD3,0xFF,0xCC,0xA4,0xFB },
{ "NOP ", 0xEF85,0xD3,0xFF,0xCC,0xA4,0xFB },
{ "NOP ", 0xEF86,0xD3,0xFF,0xCC,0xA4,0xFB },
{ "JSR $FA91 ", 0xEF87,0xD3,0xFF,0xCC,0xA4,0xFB },
{ "BVS $FAE6 ", 0xFA91,0xD3,0xFF,0xCC,0xA4,0xF9 },
{ "BEQ $FAE6 ", 0xFA93,0xD3,0xFF,0xCC,0xA4,0xF9 },
{ "BPL $FAE6 ", 0xFA95,0xD3,0xFF,0xCC,0xA4,0xF9 },
{ "BCS $FAE6 ", 0xFA97,0xD3,0xFF,0xCC,0xA4,0xF9 },
{ "CMP #$D3 ", 0xFA99,0xD3,0xFF,0xCC,0xA4,0xF9 },
{ "BNE $FAE6 ", 0xFA9B,0xD3,0xFF,0xCC,0x27,0xF9 },
{ "RTS ", 0xFA9D,0xD3,0xFF,0xCC,0x27,0xF9 },
{ "LDA $47 = 52 ", 0xEF8A,0xD3,0xFF,0xCC,0x27,0xFB },
{ "CMP #$52 ", 0xEF8C,0x52,0xFF,0xCC,0x25,0xFB },
{ "BEQ $EF92 ", 0xEF8E,0x52,0xFF,0xCC,0x27,0xFB },
{ "INY ", 0xEF92,0x52,0xFF,0xCC,0x27,0xFB },
{ "LDA #$37 ", 0xEF93,0x52,0xFF,0xCD,0xA5,0xFB },
{ "STA $47 = 52 ", 0xEF95,0x37,0xFF,0xCD,0x25,0xFB },
{ "JSR $FA9E ", 0xEF97,0x37,0xFF,0xCD,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA9E,0x37,0xFF,0xCD,0x25,0xF9 },
{ "SEC ", 0xFAA0,0x37,0xFF,0xCD,0xE5,0xF9 },
{ "LDA #$10 ", 0xFAA1,0x37,0xFF,0xCD,0xE5,0xF9 },
{ "RTS ", 0xFAA3,0x10,0xFF,0xCD,0x65,0xF9 },
{ "SLO $48,X @ 47 = 37 ", 0xEF9A,0x10,0xFF,0xCD,0x65,0xFB },
{ "NOP ", 0xEF9C,0x7E,0xFF,0xCD,0x64,0xFB },
{ "NOP ", 0xEF9D,0x7E,0xFF,0xCD,0x64,0xFB },
{ "NOP ", 0xEF9E,0x7E,0xFF,0xCD,0x64,0xFB },
{ "NOP ", 0xEF9F,0x7E,0xFF,0xCD,0x64,0xFB },
{ "JSR $FAA4 ", 0xEFA0,0x7E,0xFF,0xCD,0x64,0xFB },
{ "BVC $FAE6 ", 0xFAA4,0x7E,0xFF,0xCD,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFAA6,0x7E,0xFF,0xCD,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFAA8,0x7E,0xFF,0xCD,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFAAA,0x7E,0xFF,0xCD,0x64,0xF9 },
{ "CMP #$7E ", 0xFAAC,0x7E,0xFF,0xCD,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFAAE,0x7E,0xFF,0xCD,0x67,0xF9 },
{ "RTS ", 0xFAB0,0x7E,0xFF,0xCD,0x67,0xF9 },
{ "LDA $47 = 6E ", 0xEFA3,0x7E,0xFF,0xCD,0x67,0xFB },
{ "CMP #$6E ", 0xEFA5,0x6E,0xFF,0xCD,0x65,0xFB },
{ "BEQ $EFAB ", 0xEFA7,0x6E,0xFF,0xCD,0x67,0xFB },
{ "LDA #$A5 ", 0xEFAB,0x6E,0xFF,0xCD,0x67,0xFB },
{ "STA $0647 = 6E ", 0xEFAD,0xA5,0xFF,0xCD,0xE5,0xFB },
{ "LDY #$FF ", 0xEFB0,0xA5,0xFF,0xCD,0xE5,0xFB },
{ "JSR $FA7B ", 0xEFB2,0xA5,0xFF,0xFF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA7B,0xA5,0xFF,0xFF,0xE5,0xF9 },
{ "CLC ", 0xFA7D,0xA5,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFA7E,0xA5,0xFF,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFA80,0xB3,0xFF,0xFF,0xE4,0xF9 },
{ "SLO $0548,Y @ 0647 = A5 ", 0xEFB5,0xB3,0xFF,0xFF,0xE4,0xFB },
{ "NOP ", 0xEFB8,0xFB,0xFF,0xFF,0xE5,0xFB },
{ "NOP ", 0xEFB9,0xFB,0xFF,0xFF,0xE5,0xFB },
{ "PHP ", 0xEFBA,0xFB,0xFF,0xFF,0xE5,0xFB },
{ "PHA ", 0xEFBB,0xFB,0xFF,0xFF,0xE5,0xFA },
{ "LDY #$CE ", 0xEFBC,0xFB,0xFF,0xFF,0xE5,0xF9 },
{ "PLA ", 0xEFBE,0xFB,0xFF,0xCE,0xE5,0xF9 },
{ "PLP ", 0xEFBF,0xFB,0xFF,0xCE,0xE5,0xFA },
{ "JSR $FA81 ", 0xEFC0,0xFB,0xFF,0xCE,0xE5,0xFB },
{ "BVC $FAE6 ", 0xFA81,0xFB,0xFF,0xCE,0xE5,0xF9 },
{ "BCC $FAE6 ", 0xFA83,0xFB,0xFF,0xCE,0xE5,0xF9 },
{ "BPL $FAE6 ", 0xFA85,0xFB,0xFF,0xCE,0xE5,0xF9 },
{ "CMP #$FB ", 0xFA87,0xFB,0xFF,0xCE,0xE5,0xF9 },
{ "BNE $FAE6 ", 0xFA89,0xFB,0xFF,0xCE,0x67,0xF9 },
{ "RTS ", 0xFA8B,0xFB,0xFF,0xCE,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xEFC3,0xFB,0xFF,0xCE,0x67,0xFB },
{ "CMP #$4A ", 0xEFC6,0x4A,0xFF,0xCE,0x65,0xFB },
{ "BEQ $EFCC ", 0xEFC8,0x4A,0xFF,0xCE,0x67,0xFB },
{ "LDY #$FF ", 0xEFCC,0x4A,0xFF,0xCE,0x67,0xFB },
{ "LDA #$29 ", 0xEFCE,0x4A,0xFF,0xFF,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xEFD0,0x29,0xFF,0xFF,0x65,0xFB },
{ "JSR $FA8C ", 0xEFD3,0x29,0xFF,0xFF,0x65,0xFB },
{ "CLV ", 0xFA8C,0x29,0xFF,0xFF,0x65,0xF9 },
{ "CLC ", 0xFA8D,0x29,0xFF,0xFF,0x25,0xF9 },
{ "LDA #$C3 ", 0xFA8E,0x29,0xFF,0xFF,0x24,0xF9 },
{ "RTS ", 0xFA90,0xC3,0xFF,0xFF,0xA4,0xF9 },
{ "SLO $0548,Y @ 0647 = 29 ", 0xEFD6,0xC3,0xFF,0xFF,0xA4,0xFB },
{ "NOP ", 0xEFD9,0xD3,0xFF,0xFF,0xA4,0xFB },
{ "NOP ", 0xEFDA,0xD3,0xFF,0xFF,0xA4,0xFB },
{ "PHP ", 0xEFDB,0xD3,0xFF,0xFF,0xA4,0xFB },
{ "PHA ", 0xEFDC,0xD3,0xFF,0xFF,0xA4,0xFA },
{ "LDY #$CF ", 0xEFDD,0xD3,0xFF,0xFF,0xA4,0xF9 },
{ "PLA ", 0xEFDF,0xD3,0xFF,0xCF,0xA4,0xF9 },
{ "PLP ", 0xEFE0,0xD3,0xFF,0xCF,0xA4,0xFA },
{ "JSR $FA91 ", 0xEFE1,0xD3,0xFF,0xCF,0xA4,0xFB },
{ "BVS $FAE6 ", 0xFA91,0xD3,0xFF,0xCF,0xA4,0xF9 },
{ "BEQ $FAE6 ", 0xFA93,0xD3,0xFF,0xCF,0xA4,0xF9 },
{ "BPL $FAE6 ", 0xFA95,0xD3,0xFF,0xCF,0xA4,0xF9 },
{ "BCS $FAE6 ", 0xFA97,0xD3,0xFF,0xCF,0xA4,0xF9 },
{ "CMP #$D3 ", 0xFA99,0xD3,0xFF,0xCF,0xA4,0xF9 },
{ "BNE $FAE6 ", 0xFA9B,0xD3,0xFF,0xCF,0x27,0xF9 },
{ "RTS ", 0xFA9D,0xD3,0xFF,0xCF,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xEFE4,0xD3,0xFF,0xCF,0x27,0xFB },
{ "CMP #$52 ", 0xEFE7,0x52,0xFF,0xCF,0x25,0xFB },
{ "BEQ $EFED ", 0xEFE9,0x52,0xFF,0xCF,0x27,0xFB },
{ "LDY #$FF ", 0xEFED,0x52,0xFF,0xCF,0x27,0xFB },
{ "LDA #$37 ", 0xEFEF,0x52,0xFF,0xFF,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xEFF1,0x37,0xFF,0xFF,0x25,0xFB },
{ "JSR $FA9E ", 0xEFF4,0x37,0xFF,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA9E,0x37,0xFF,0xFF,0x25,0xF9 },
{ "SEC ", 0xFAA0,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$10 ", 0xFAA1,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFAA3,0x10,0xFF,0xFF,0x65,0xF9 },
{ "SLO $0548,Y @ 0647 = 37 ", 0xEFF7,0x10,0xFF,0xFF,0x65,0xFB },
{ "NOP ", 0xEFFA,0x7E,0xFF,0xFF,0x64,0xFB },
{ "NOP ", 0xEFFB,0x7E,0xFF,0xFF,0x64,0xFB },
{ "PHP ", 0xEFFC,0x7E,0xFF,0xFF,0x64,0xFB },
{ "PHA ", 0xEFFD,0x7E,0xFF,0xFF,0x64,0xFA },
{ "LDY #$D0 ", 0xEFFE,0x7E,0xFF,0xFF,0x64,0xF9 },
{ "PLA ", 0xF000,0x7E,0xFF,0xD0,0xE4,0xF9 },
{ "PLP ", 0xF001,0x7E,0xFF,0xD0,0x64,0xFA },
{ "JSR $FAA4 ", 0xF002,0x7E,0xFF,0xD0,0x64,0xFB },
{ "BVC $FAE6 ", 0xFAA4,0x7E,0xFF,0xD0,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFAA6,0x7E,0xFF,0xD0,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFAA8,0x7E,0xFF,0xD0,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFAAA,0x7E,0xFF,0xD0,0x64,0xF9 },
{ "CMP #$7E ", 0xFAAC,0x7E,0xFF,0xD0,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFAAE,0x7E,0xFF,0xD0,0x67,0xF9 },
{ "RTS ", 0xFAB0,0x7E,0xFF,0xD0,0x67,0xF9 },
{ "LDA $0647 = 6E ", 0xF005,0x7E,0xFF,0xD0,0x67,0xFB },
{ "CMP #$6E ", 0xF008,0x6E,0xFF,0xD0,0x65,0xFB },
{ "BEQ $F00E ", 0xF00A,0x6E,0xFF,0xD0,0x67,0xFB },
{ "LDY #$D1 ", 0xF00E,0x6E,0xFF,0xD0,0x67,0xFB },
{ "LDX #$FF ", 0xF010,0x6E,0xFF,0xD1,0xE5,0xFB },
{ "LDA #$A5 ", 0xF012,0x6E,0xFF,0xD1,0xE5,0xFB },
{ "STA $0647 = 6E ", 0xF014,0xA5,0xFF,0xD1,0xE5,0xFB },
{ "JSR $FA7B ", 0xF017,0xA5,0xFF,0xD1,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFA7B,0xA5,0xFF,0xD1,0xE5,0xF9 },
{ "CLC ", 0xFA7D,0xA5,0xFF,0xD1,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFA7E,0xA5,0xFF,0xD1,0xE4,0xF9 },
{ "RTS ", 0xFA80,0xB3,0xFF,0xD1,0xE4,0xF9 },
{ "SLO $0548,X @ 0647 = A5 ", 0xF01A,0xB3,0xFF,0xD1,0xE4,0xFB },
{ "NOP ", 0xF01D,0xFB,0xFF,0xD1,0xE5,0xFB },
{ "NOP ", 0xF01E,0xFB,0xFF,0xD1,0xE5,0xFB },
{ "NOP ", 0xF01F,0xFB,0xFF,0xD1,0xE5,0xFB },
{ "NOP ", 0xF020,0xFB,0xFF,0xD1,0xE5,0xFB },
{ "JSR $FA81 ", 0xF021,0xFB,0xFF,0xD1,0xE5,0xFB },
{ "BVC $FAE6 ", 0xFA81,0xFB,0xFF,0xD1,0xE5,0xF9 },
{ "BCC $FAE6 ", 0xFA83,0xFB,0xFF,0xD1,0xE5,0xF9 },
{ "BPL $FAE6 ", 0xFA85,0xFB,0xFF,0xD1,0xE5,0xF9 },
{ "CMP #$FB ", 0xFA87,0xFB,0xFF,0xD1,0xE5,0xF9 },
{ "BNE $FAE6 ", 0xFA89,0xFB,0xFF,0xD1,0x67,0xF9 },
{ "RTS ", 0xFA8B,0xFB,0xFF,0xD1,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xF024,0xFB,0xFF,0xD1,0x67,0xFB },
{ "CMP #$4A ", 0xF027,0x4A,0xFF,0xD1,0x65,0xFB },
{ "BEQ $F02D ", 0xF029,0x4A,0xFF,0xD1,0x67,0xFB },
{ "INY ", 0xF02D,0x4A,0xFF,0xD1,0x67,0xFB },
{ "LDA #$29 ", 0xF02E,0x4A,0xFF,0xD2,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xF030,0x29,0xFF,0xD2,0x65,0xFB },
{ "JSR $FA8C ", 0xF033,0x29,0xFF,0xD2,0x65,0xFB },
{ "CLV ", 0xFA8C,0x29,0xFF,0xD2,0x65,0xF9 },
{ "CLC ", 0xFA8D,0x29,0xFF,0xD2,0x25,0xF9 },
{ "LDA #$C3 ", 0xFA8E,0x29,0xFF,0xD2,0x24,0xF9 },
{ "RTS ", 0xFA90,0xC3,0xFF,0xD2,0xA4,0xF9 },
{ "SLO $0548,X @ 0647 = 29 ", 0xF036,0xC3,0xFF,0xD2,0xA4,0xFB },
{ "NOP ", 0xF039,0xD3,0xFF,0xD2,0xA4,0xFB },
{ "NOP ", 0xF03A,0xD3,0xFF,0xD2,0xA4,0xFB },
{ "NOP ", 0xF03B,0xD3,0xFF,0xD2,0xA4,0xFB },
{ "NOP ", 0xF03C,0xD3,0xFF,0xD2,0xA4,0xFB },
{ "JSR $FA91 ", 0xF03D,0xD3,0xFF,0xD2,0xA4,0xFB },
{ "BVS $FAE6 ", 0xFA91,0xD3,0xFF,0xD2,0xA4,0xF9 },
{ "BEQ $FAE6 ", 0xFA93,0xD3,0xFF,0xD2,0xA4,0xF9 },
{ "BPL $FAE6 ", 0xFA95,0xD3,0xFF,0xD2,0xA4,0xF9 },
{ "BCS $FAE6 ", 0xFA97,0xD3,0xFF,0xD2,0xA4,0xF9 },
{ "CMP #$D3 ", 0xFA99,0xD3,0xFF,0xD2,0xA4,0xF9 },
{ "BNE $FAE6 ", 0xFA9B,0xD3,0xFF,0xD2,0x27,0xF9 },
{ "RTS ", 0xFA9D,0xD3,0xFF,0xD2,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF040,0xD3,0xFF,0xD2,0x27,0xFB },
{ "CMP #$52 ", 0xF043,0x52,0xFF,0xD2,0x25,0xFB },
{ "BEQ $F049 ", 0xF045,0x52,0xFF,0xD2,0x27,0xFB },
{ "INY ", 0xF049,0x52,0xFF,0xD2,0x27,0xFB },
{ "LDA #$37 ", 0xF04A,0x52,0xFF,0xD3,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xF04C,0x37,0xFF,0xD3,0x25,0xFB },
{ "JSR $FA9E ", 0xF04F,0x37,0xFF,0xD3,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA9E,0x37,0xFF,0xD3,0x25,0xF9 },
{ "SEC ", 0xFAA0,0x37,0xFF,0xD3,0xE5,0xF9 },
{ "LDA #$10 ", 0xFAA1,0x37,0xFF,0xD3,0xE5,0xF9 },
{ "RTS ", 0xFAA3,0x10,0xFF,0xD3,0x65,0xF9 },
{ "SLO $0548,X @ 0647 = 37 ", 0xF052,0x10,0xFF,0xD3,0x65,0xFB },
{ "NOP ", 0xF055,0x7E,0xFF,0xD3,0x64,0xFB },
{ "NOP ", 0xF056,0x7E,0xFF,0xD3,0x64,0xFB },
{ "NOP ", 0xF057,0x7E,0xFF,0xD3,0x64,0xFB },
{ "NOP ", 0xF058,0x7E,0xFF,0xD3,0x64,0xFB },
{ "JSR $FAA4 ", 0xF059,0x7E,0xFF,0xD3,0x64,0xFB },
{ "BVC $FAE6 ", 0xFAA4,0x7E,0xFF,0xD3,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFAA6,0x7E,0xFF,0xD3,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFAA8,0x7E,0xFF,0xD3,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFAAA,0x7E,0xFF,0xD3,0x64,0xF9 },
{ "CMP #$7E ", 0xFAAC,0x7E,0xFF,0xD3,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFAAE,0x7E,0xFF,0xD3,0x67,0xF9 },
{ "RTS ", 0xFAB0,0x7E,0xFF,0xD3,0x67,0xF9 },
{ "LDA $0647 = 6E ", 0xF05C,0x7E,0xFF,0xD3,0x67,0xFB },
{ "CMP #$6E ", 0xF05F,0x6E,0xFF,0xD3,0x65,0xFB },
{ "BEQ $F065 ", 0xF061,0x6E,0xFF,0xD3,0x67,0xFB },
{ "RTS ", 0xF065,0x6E,0xFF,0xD3,0x67,0xFB },
{ "JSR $F066 ", 0xC644,0x6E,0xFF,0xD3,0x67,0xFD },
{ "LDA #$FF ", 0xF066,0x6E,0xFF,0xD3,0x67,0xFB },
{ "STA $01 = FF ", 0xF068,0xFF,0xFF,0xD3,0xE5,0xFB },
{ "LDY #$D4 ", 0xF06A,0xFF,0xFF,0xD3,0xE5,0xFB },
{ "LDX #$02 ", 0xF06C,0xFF,0xFF,0xD4,0xE5,0xFB },
{ "LDA #$47 ", 0xF06E,0xFF,0x02,0xD4,0x65,0xFB },
{ "STA $47 = 6E ", 0xF070,0x47,0x02,0xD4,0x65,0xFB },
{ "LDA #$06 ", 0xF072,0x47,0x02,0xD4,0x65,0xFB },
{ "STA $48 = 06 ", 0xF074,0x06,0x02,0xD4,0x65,0xFB },
{ "LDA #$A5 ", 0xF076,0x06,0x02,0xD4,0x65,0xFB },
{ "STA $0647 = 6E ", 0xF078,0xA5,0x02,0xD4,0xE5,0xFB },
{ "JSR $FB53 ", 0xF07B,0xA5,0x02,0xD4,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB53,0xA5,0x02,0xD4,0xE5,0xF9 },
{ "CLC ", 0xFB55,0xA5,0x02,0xD4,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB56,0xA5,0x02,0xD4,0xE4,0xF9 },
{ "RTS ", 0xFB58,0xB3,0x02,0xD4,0xE4,0xF9 },
{ "RLA ($45,X) @ 47 = 0647 = A5 ", 0xF07E,0xB3,0x02,0xD4,0xE4,0xFB },
{ "NOP ", 0xF080,0x02,0x02,0xD4,0x65,0xFB },
{ "NOP ", 0xF081,0x02,0x02,0xD4,0x65,0xFB },
{ "NOP ", 0xF082,0x02,0x02,0xD4,0x65,0xFB },
{ "NOP ", 0xF083,0x02,0x02,0xD4,0x65,0xFB },
{ "JSR $FB59 ", 0xF084,0x02,0x02,0xD4,0x65,0xFB },
{ "BVC $FB75 ", 0xFB59,0x02,0x02,0xD4,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB5B,0x02,0x02,0xD4,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB5D,0x02,0x02,0xD4,0x65,0xF9 },
{ "CMP #$02 ", 0xFB5F,0x02,0x02,0xD4,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB61,0x02,0x02,0xD4,0x67,0xF9 },
{ "RTS ", 0xFB63,0x02,0x02,0xD4,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xF087,0x02,0x02,0xD4,0x67,0xFB },
{ "CMP #$4A ", 0xF08A,0x4A,0x02,0xD4,0x65,0xFB },
{ "BEQ $F090 ", 0xF08C,0x4A,0x02,0xD4,0x67,0xFB },
{ "INY ", 0xF090,0x4A,0x02,0xD4,0x67,0xFB },
{ "LDA #$29 ", 0xF091,0x4A,0x02,0xD5,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xF093,0x29,0x02,0xD5,0x65,0xFB },
{ "JSR $FB64 ", 0xF096,0x29,0x02,0xD5,0x65,0xFB },
{ "CLV ", 0xFB64,0x29,0x02,0xD5,0x65,0xF9 },
{ "CLC ", 0xFB65,0x29,0x02,0xD5,0x25,0xF9 },
{ "LDA #$42 ", 0xFB66,0x29,0x02,0xD5,0x24,0xF9 },
{ "RTS ", 0xFB68,0x42,0x02,0xD5,0x24,0xF9 },
{ "RLA ($45,X) @ 47 = 0647 = 29 ", 0xF099,0x42,0x02,0xD5,0x24,0xFB },
{ "NOP ", 0xF09B,0x42,0x02,0xD5,0x24,0xFB },
{ "NOP ", 0xF09C,0x42,0x02,0xD5,0x24,0xFB },
{ "NOP ", 0xF09D,0x42,0x02,0xD5,0x24,0xFB },
{ "NOP ", 0xF09E,0x42,0x02,0xD5,0x24,0xFB },
{ "JSR $FB69 ", 0xF09F,0x42,0x02,0xD5,0x24,0xFB },
{ "BVS $FB75 ", 0xFB69,0x42,0x02,0xD5,0x24,0xF9 },
{ "BEQ $FB75 ", 0xFB6B,0x42,0x02,0xD5,0x24,0xF9 },
{ "BMI $FB75 ", 0xFB6D,0x42,0x02,0xD5,0x24,0xF9 },
{ "BCS $FB75 ", 0xFB6F,0x42,0x02,0xD5,0x24,0xF9 },
{ "CMP #$42 ", 0xFB71,0x42,0x02,0xD5,0x24,0xF9 },
{ "BEQ $FB77 ", 0xFB73,0x42,0x02,0xD5,0x27,0xF9 },
{ "RTS ", 0xFB77,0x42,0x02,0xD5,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF0A2,0x42,0x02,0xD5,0x27,0xFB },
{ "CMP #$52 ", 0xF0A5,0x52,0x02,0xD5,0x25,0xFB },
{ "BEQ $F0AB ", 0xF0A7,0x52,0x02,0xD5,0x27,0xFB },
{ "INY ", 0xF0AB,0x52,0x02,0xD5,0x27,0xFB },
{ "LDA #$37 ", 0xF0AC,0x52,0x02,0xD6,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xF0AE,0x37,0x02,0xD6,0x25,0xFB },
{ "JSR $FA68 ", 0xF0B1,0x37,0x02,0xD6,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA68,0x37,0x02,0xD6,0x25,0xF9 },
{ "SEC ", 0xFA6A,0x37,0x02,0xD6,0xE5,0xF9 },
{ "LDA #$75 ", 0xFA6B,0x37,0x02,0xD6,0xE5,0xF9 },
{ "RTS ", 0xFA6D,0x75,0x02,0xD6,0x65,0xF9 },
{ "RLA ($45,X) @ 47 = 0647 = 37 ", 0xF0B4,0x75,0x02,0xD6,0x65,0xFB },
{ "NOP ", 0xF0B6,0x65,0x02,0xD6,0x64,0xFB },
{ "NOP ", 0xF0B7,0x65,0x02,0xD6,0x64,0xFB },
{ "NOP ", 0xF0B8,0x65,0x02,0xD6,0x64,0xFB },
{ "NOP ", 0xF0B9,0x65,0x02,0xD6,0x64,0xFB },
{ "JSR $FA6E ", 0xF0BA,0x65,0x02,0xD6,0x64,0xFB },
{ "BVC $FAE6 ", 0xFA6E,0x65,0x02,0xD6,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFA70,0x65,0x02,0xD6,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFA72,0x65,0x02,0xD6,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFA74,0x65,0x02,0xD6,0x64,0xF9 },
{ "CMP #$65 ", 0xFA76,0x65,0x02,0xD6,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFA78,0x65,0x02,0xD6,0x67,0xF9 },
{ "RTS ", 0xFA7A,0x65,0x02,0xD6,0x67,0xF9 },
{ "LDA $0647 = 6F ", 0xF0BD,0x65,0x02,0xD6,0x67,0xFB },
{ "CMP #$6F ", 0xF0C0,0x6F,0x02,0xD6,0x65,0xFB },
{ "BEQ $F0C6 ", 0xF0C2,0x6F,0x02,0xD6,0x67,0xFB },
{ "INY ", 0xF0C6,0x6F,0x02,0xD6,0x67,0xFB },
{ "LDA #$A5 ", 0xF0C7,0x6F,0x02,0xD7,0xE5,0xFB },
{ "STA $47 = 47 ", 0xF0C9,0xA5,0x02,0xD7,0xE5,0xFB },
{ "JSR $FB53 ", 0xF0CB,0xA5,0x02,0xD7,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB53,0xA5,0x02,0xD7,0xE5,0xF9 },
{ "CLC ", 0xFB55,0xA5,0x02,0xD7,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB56,0xA5,0x02,0xD7,0xE4,0xF9 },
{ "RTS ", 0xFB58,0xB3,0x02,0xD7,0xE4,0xF9 },
{ "RLA $47 = A5 ", 0xF0CE,0xB3,0x02,0xD7,0xE4,0xFB },
{ "NOP ", 0xF0D0,0x02,0x02,0xD7,0x65,0xFB },
{ "NOP ", 0xF0D1,0x02,0x02,0xD7,0x65,0xFB },
{ "NOP ", 0xF0D2,0x02,0x02,0xD7,0x65,0xFB },
{ "NOP ", 0xF0D3,0x02,0x02,0xD7,0x65,0xFB },
{ "JSR $FB59 ", 0xF0D4,0x02,0x02,0xD7,0x65,0xFB },
{ "BVC $FB75 ", 0xFB59,0x02,0x02,0xD7,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB5B,0x02,0x02,0xD7,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB5D,0x02,0x02,0xD7,0x65,0xF9 },
{ "CMP #$02 ", 0xFB5F,0x02,0x02,0xD7,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB61,0x02,0x02,0xD7,0x67,0xF9 },
{ "RTS ", 0xFB63,0x02,0x02,0xD7,0x67,0xF9 },
{ "LDA $47 = 4A ", 0xF0D7,0x02,0x02,0xD7,0x67,0xFB },
{ "CMP #$4A ", 0xF0D9,0x4A,0x02,0xD7,0x65,0xFB },
{ "BEQ $F0DF ", 0xF0DB,0x4A,0x02,0xD7,0x67,0xFB },
{ "INY ", 0xF0DF,0x4A,0x02,0xD7,0x67,0xFB },
{ "LDA #$29 ", 0xF0E0,0x4A,0x02,0xD8,0xE5,0xFB },
{ "STA $47 = 4A ", 0xF0E2,0x29,0x02,0xD8,0x65,0xFB },
{ "JSR $FB64 ", 0xF0E4,0x29,0x02,0xD8,0x65,0xFB },
{ "CLV ", 0xFB64,0x29,0x02,0xD8,0x65,0xF9 },
{ "CLC ", 0xFB65,0x29,0x02,0xD8,0x25,0xF9 },
{ "LDA #$42 ", 0xFB66,0x29,0x02,0xD8,0x24,0xF9 },
{ "RTS ", 0xFB68,0x42,0x02,0xD8,0x24,0xF9 },
{ "RLA $47 = 29 ", 0xF0E7,0x42,0x02,0xD8,0x24,0xFB },
{ "NOP ", 0xF0E9,0x42,0x02,0xD8,0x24,0xFB },
{ "NOP ", 0xF0EA,0x42,0x02,0xD8,0x24,0xFB },
{ "NOP ", 0xF0EB,0x42,0x02,0xD8,0x24,0xFB },
{ "NOP ", 0xF0EC,0x42,0x02,0xD8,0x24,0xFB },
{ "JSR $FB69 ", 0xF0ED,0x42,0x02,0xD8,0x24,0xFB },
{ "BVS $FB75 ", 0xFB69,0x42,0x02,0xD8,0x24,0xF9 },
{ "BEQ $FB75 ", 0xFB6B,0x42,0x02,0xD8,0x24,0xF9 },
{ "BMI $FB75 ", 0xFB6D,0x42,0x02,0xD8,0x24,0xF9 },
{ "BCS $FB75 ", 0xFB6F,0x42,0x02,0xD8,0x24,0xF9 },
{ "CMP #$42 ", 0xFB71,0x42,0x02,0xD8,0x24,0xF9 },
{ "BEQ $FB77 ", 0xFB73,0x42,0x02,0xD8,0x27,0xF9 },
{ "RTS ", 0xFB77,0x42,0x02,0xD8,0x27,0xF9 },
{ "LDA $47 = 52 ", 0xF0F0,0x42,0x02,0xD8,0x27,0xFB },
{ "CMP #$52 ", 0xF0F2,0x52,0x02,0xD8,0x25,0xFB },
{ "BEQ $F0F8 ", 0xF0F4,0x52,0x02,0xD8,0x27,0xFB },
{ "INY ", 0xF0F8,0x52,0x02,0xD8,0x27,0xFB },
{ "LDA #$37 ", 0xF0F9,0x52,0x02,0xD9,0xA5,0xFB },
{ "STA $47 = 52 ", 0xF0FB,0x37,0x02,0xD9,0x25,0xFB },
{ "JSR $FA68 ", 0xF0FD,0x37,0x02,0xD9,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA68,0x37,0x02,0xD9,0x25,0xF9 },
{ "SEC ", 0xFA6A,0x37,0x02,0xD9,0xE5,0xF9 },
{ "LDA #$75 ", 0xFA6B,0x37,0x02,0xD9,0xE5,0xF9 },
{ "RTS ", 0xFA6D,0x75,0x02,0xD9,0x65,0xF9 },
{ "RLA $47 = 37 ", 0xF100,0x75,0x02,0xD9,0x65,0xFB },
{ "NOP ", 0xF102,0x65,0x02,0xD9,0x64,0xFB },
{ "NOP ", 0xF103,0x65,0x02,0xD9,0x64,0xFB },
{ "NOP ", 0xF104,0x65,0x02,0xD9,0x64,0xFB },
{ "NOP ", 0xF105,0x65,0x02,0xD9,0x64,0xFB },
{ "JSR $FA6E ", 0xF106,0x65,0x02,0xD9,0x64,0xFB },
{ "BVC $FAE6 ", 0xFA6E,0x65,0x02,0xD9,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFA70,0x65,0x02,0xD9,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFA72,0x65,0x02,0xD9,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFA74,0x65,0x02,0xD9,0x64,0xF9 },
{ "CMP #$65 ", 0xFA76,0x65,0x02,0xD9,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFA78,0x65,0x02,0xD9,0x67,0xF9 },
{ "RTS ", 0xFA7A,0x65,0x02,0xD9,0x67,0xF9 },
{ "LDA $47 = 6F ", 0xF109,0x65,0x02,0xD9,0x67,0xFB },
{ "CMP #$6F ", 0xF10B,0x6F,0x02,0xD9,0x65,0xFB },
{ "BEQ $F111 ", 0xF10D,0x6F,0x02,0xD9,0x67,0xFB },
{ "INY ", 0xF111,0x6F,0x02,0xD9,0x67,0xFB },
{ "LDA #$A5 ", 0xF112,0x6F,0x02,0xDA,0xE5,0xFB },
{ "STA $0647 = 6F ", 0xF114,0xA5,0x02,0xDA,0xE5,0xFB },
{ "JSR $FB53 ", 0xF117,0xA5,0x02,0xDA,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB53,0xA5,0x02,0xDA,0xE5,0xF9 },
{ "CLC ", 0xFB55,0xA5,0x02,0xDA,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB56,0xA5,0x02,0xDA,0xE4,0xF9 },
{ "RTS ", 0xFB58,0xB3,0x02,0xDA,0xE4,0xF9 },
{ "RLA $0647 = A5 ", 0xF11A,0xB3,0x02,0xDA,0xE4,0xFB },
{ "NOP ", 0xF11D,0x02,0x02,0xDA,0x65,0xFB },
{ "NOP ", 0xF11E,0x02,0x02,0xDA,0x65,0xFB },
{ "NOP ", 0xF11F,0x02,0x02,0xDA,0x65,0xFB },
{ "NOP ", 0xF120,0x02,0x02,0xDA,0x65,0xFB },
{ "JSR $FB59 ", 0xF121,0x02,0x02,0xDA,0x65,0xFB },
{ "BVC $FB75 ", 0xFB59,0x02,0x02,0xDA,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB5B,0x02,0x02,0xDA,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB5D,0x02,0x02,0xDA,0x65,0xF9 },
{ "CMP #$02 ", 0xFB5F,0x02,0x02,0xDA,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB61,0x02,0x02,0xDA,0x67,0xF9 },
{ "RTS ", 0xFB63,0x02,0x02,0xDA,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xF124,0x02,0x02,0xDA,0x67,0xFB },
{ "CMP #$4A ", 0xF127,0x4A,0x02,0xDA,0x65,0xFB },
{ "BEQ $F12D ", 0xF129,0x4A,0x02,0xDA,0x67,0xFB },
{ "INY ", 0xF12D,0x4A,0x02,0xDA,0x67,0xFB },
{ "LDA #$29 ", 0xF12E,0x4A,0x02,0xDB,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xF130,0x29,0x02,0xDB,0x65,0xFB },
{ "JSR $FB64 ", 0xF133,0x29,0x02,0xDB,0x65,0xFB },
{ "CLV ", 0xFB64,0x29,0x02,0xDB,0x65,0xF9 },
{ "CLC ", 0xFB65,0x29,0x02,0xDB,0x25,0xF9 },
{ "LDA #$42 ", 0xFB66,0x29,0x02,0xDB,0x24,0xF9 },
{ "RTS ", 0xFB68,0x42,0x02,0xDB,0x24,0xF9 },
{ "RLA $0647 = 29 ", 0xF136,0x42,0x02,0xDB,0x24,0xFB },
{ "NOP ", 0xF139,0x42,0x02,0xDB,0x24,0xFB },
{ "NOP ", 0xF13A,0x42,0x02,0xDB,0x24,0xFB },
{ "NOP ", 0xF13B,0x42,0x02,0xDB,0x24,0xFB },
{ "NOP ", 0xF13C,0x42,0x02,0xDB,0x24,0xFB },
{ "JSR $FB69 ", 0xF13D,0x42,0x02,0xDB,0x24,0xFB },
{ "BVS $FB75 ", 0xFB69,0x42,0x02,0xDB,0x24,0xF9 },
{ "BEQ $FB75 ", 0xFB6B,0x42,0x02,0xDB,0x24,0xF9 },
{ "BMI $FB75 ", 0xFB6D,0x42,0x02,0xDB,0x24,0xF9 },
{ "BCS $FB75 ", 0xFB6F,0x42,0x02,0xDB,0x24,0xF9 },
{ "CMP #$42 ", 0xFB71,0x42,0x02,0xDB,0x24,0xF9 },
{ "BEQ $FB77 ", 0xFB73,0x42,0x02,0xDB,0x27,0xF9 },
{ "RTS ", 0xFB77,0x42,0x02,0xDB,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF140,0x42,0x02,0xDB,0x27,0xFB },
{ "CMP #$52 ", 0xF143,0x52,0x02,0xDB,0x25,0xFB },
{ "BEQ $F149 ", 0xF145,0x52,0x02,0xDB,0x27,0xFB },
{ "INY ", 0xF149,0x52,0x02,0xDB,0x27,0xFB },
{ "LDA #$37 ", 0xF14A,0x52,0x02,0xDC,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xF14C,0x37,0x02,0xDC,0x25,0xFB },
{ "JSR $FA68 ", 0xF14F,0x37,0x02,0xDC,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA68,0x37,0x02,0xDC,0x25,0xF9 },
{ "SEC ", 0xFA6A,0x37,0x02,0xDC,0xE5,0xF9 },
{ "LDA #$75 ", 0xFA6B,0x37,0x02,0xDC,0xE5,0xF9 },
{ "RTS ", 0xFA6D,0x75,0x02,0xDC,0x65,0xF9 },
{ "RLA $0647 = 37 ", 0xF152,0x75,0x02,0xDC,0x65,0xFB },
{ "NOP ", 0xF155,0x65,0x02,0xDC,0x64,0xFB },
{ "NOP ", 0xF156,0x65,0x02,0xDC,0x64,0xFB },
{ "NOP ", 0xF157,0x65,0x02,0xDC,0x64,0xFB },
{ "NOP ", 0xF158,0x65,0x02,0xDC,0x64,0xFB },
{ "JSR $FA6E ", 0xF159,0x65,0x02,0xDC,0x64,0xFB },
{ "BVC $FAE6 ", 0xFA6E,0x65,0x02,0xDC,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFA70,0x65,0x02,0xDC,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFA72,0x65,0x02,0xDC,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFA74,0x65,0x02,0xDC,0x64,0xF9 },
{ "CMP #$65 ", 0xFA76,0x65,0x02,0xDC,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFA78,0x65,0x02,0xDC,0x67,0xF9 },
{ "RTS ", 0xFA7A,0x65,0x02,0xDC,0x67,0xF9 },
{ "LDA $0647 = 6F ", 0xF15C,0x65,0x02,0xDC,0x67,0xFB },
{ "CMP #$6F ", 0xF15F,0x6F,0x02,0xDC,0x65,0xFB },
{ "BEQ $F165 ", 0xF161,0x6F,0x02,0xDC,0x67,0xFB },
{ "LDA #$A5 ", 0xF165,0x6F,0x02,0xDC,0x67,0xFB },
{ "STA $0647 = 6F ", 0xF167,0xA5,0x02,0xDC,0xE5,0xFB },
{ "LDA #$48 ", 0xF16A,0xA5,0x02,0xDC,0xE5,0xFB },
{ "STA $45 = 48 ", 0xF16C,0x48,0x02,0xDC,0x65,0xFB },
{ "LDA #$05 ", 0xF16E,0x48,0x02,0xDC,0x65,0xFB },
{ "STA $46 = 05 ", 0xF170,0x05,0x02,0xDC,0x65,0xFB },
{ "LDY #$FF ", 0xF172,0x05,0x02,0xDC,0x65,0xFB },
{ "JSR $FB53 ", 0xF174,0x05,0x02,0xFF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB53,0x05,0x02,0xFF,0xE5,0xF9 },
{ "CLC ", 0xFB55,0x05,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB56,0x05,0x02,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFB58,0xB3,0x02,0xFF,0xE4,0xF9 },
{ "RLA ($45),Y = 0548 @ 0647 = A5 ", 0xF177,0xB3,0x02,0xFF,0xE4,0xFB },
{ "NOP ", 0xF179,0x02,0x02,0xFF,0x65,0xFB },
{ "NOP ", 0xF17A,0x02,0x02,0xFF,0x65,0xFB },
{ "PHP ", 0xF17B,0x02,0x02,0xFF,0x65,0xFB },
{ "PHA ", 0xF17C,0x02,0x02,0xFF,0x65,0xFA },
{ "LDY #$DD ", 0xF17D,0x02,0x02,0xFF,0x65,0xF9 },
{ "PLA ", 0xF17F,0x02,0x02,0xDD,0xE5,0xF9 },
{ "PLP ", 0xF180,0x02,0x02,0xDD,0x65,0xFA },
{ "JSR $FB59 ", 0xF181,0x02,0x02,0xDD,0x65,0xFB },
{ "BVC $FB75 ", 0xFB59,0x02,0x02,0xDD,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB5B,0x02,0x02,0xDD,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB5D,0x02,0x02,0xDD,0x65,0xF9 },
{ "CMP #$02 ", 0xFB5F,0x02,0x02,0xDD,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB61,0x02,0x02,0xDD,0x67,0xF9 },
{ "RTS ", 0xFB63,0x02,0x02,0xDD,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xF184,0x02,0x02,0xDD,0x67,0xFB },
{ "CMP #$4A ", 0xF187,0x4A,0x02,0xDD,0x65,0xFB },
{ "BEQ $F18D ", 0xF189,0x4A,0x02,0xDD,0x67,0xFB },
{ "LDY #$FF ", 0xF18D,0x4A,0x02,0xDD,0x67,0xFB },
{ "LDA #$29 ", 0xF18F,0x4A,0x02,0xFF,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xF191,0x29,0x02,0xFF,0x65,0xFB },
{ "JSR $FB64 ", 0xF194,0x29,0x02,0xFF,0x65,0xFB },
{ "CLV ", 0xFB64,0x29,0x02,0xFF,0x65,0xF9 },
{ "CLC ", 0xFB65,0x29,0x02,0xFF,0x25,0xF9 },
{ "LDA #$42 ", 0xFB66,0x29,0x02,0xFF,0x24,0xF9 },
{ "RTS ", 0xFB68,0x42,0x02,0xFF,0x24,0xF9 },
{ "RLA ($45),Y = 0548 @ 0647 = 29 ", 0xF197,0x42,0x02,0xFF,0x24,0xFB },
{ "NOP ", 0xF199,0x42,0x02,0xFF,0x24,0xFB },
{ "NOP ", 0xF19A,0x42,0x02,0xFF,0x24,0xFB },
{ "PHP ", 0xF19B,0x42,0x02,0xFF,0x24,0xFB },
{ "PHA ", 0xF19C,0x42,0x02,0xFF,0x24,0xFA },
{ "LDY #$DE ", 0xF19D,0x42,0x02,0xFF,0x24,0xF9 },
{ "PLA ", 0xF19F,0x42,0x02,0xDE,0xA4,0xF9 },
{ "PLP ", 0xF1A0,0x42,0x02,0xDE,0x24,0xFA },
{ "JSR $FB69 ", 0xF1A1,0x42,0x02,0xDE,0x24,0xFB },
{ "BVS $FB75 ", 0xFB69,0x42,0x02,0xDE,0x24,0xF9 },
{ "BEQ $FB75 ", 0xFB6B,0x42,0x02,0xDE,0x24,0xF9 },
{ "BMI $FB75 ", 0xFB6D,0x42,0x02,0xDE,0x24,0xF9 },
{ "BCS $FB75 ", 0xFB6F,0x42,0x02,0xDE,0x24,0xF9 },
{ "CMP #$42 ", 0xFB71,0x42,0x02,0xDE,0x24,0xF9 },
{ "BEQ $FB77 ", 0xFB73,0x42,0x02,0xDE,0x27,0xF9 },
{ "RTS ", 0xFB77,0x42,0x02,0xDE,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF1A4,0x42,0x02,0xDE,0x27,0xFB },
{ "CMP #$52 ", 0xF1A7,0x52,0x02,0xDE,0x25,0xFB },
{ "BEQ $F1AD ", 0xF1A9,0x52,0x02,0xDE,0x27,0xFB },
{ "LDY #$FF ", 0xF1AD,0x52,0x02,0xDE,0x27,0xFB },
{ "LDA #$37 ", 0xF1AF,0x52,0x02,0xFF,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xF1B1,0x37,0x02,0xFF,0x25,0xFB },
{ "JSR $FA68 ", 0xF1B4,0x37,0x02,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA68,0x37,0x02,0xFF,0x25,0xF9 },
{ "SEC ", 0xFA6A,0x37,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$75 ", 0xFA6B,0x37,0x02,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFA6D,0x75,0x02,0xFF,0x65,0xF9 },
{ "RLA ($45),Y = 0548 @ 0647 = 37 ", 0xF1B7,0x75,0x02,0xFF,0x65,0xFB },
{ "NOP ", 0xF1B9,0x65,0x02,0xFF,0x64,0xFB },
{ "NOP ", 0xF1BA,0x65,0x02,0xFF,0x64,0xFB },
{ "PHP ", 0xF1BB,0x65,0x02,0xFF,0x64,0xFB },
{ "PHA ", 0xF1BC,0x65,0x02,0xFF,0x64,0xFA },
{ "LDY #$DF ", 0xF1BD,0x65,0x02,0xFF,0x64,0xF9 },
{ "PLA ", 0xF1BF,0x65,0x02,0xDF,0xE4,0xF9 },
{ "PLP ", 0xF1C0,0x65,0x02,0xDF,0x64,0xFA },
{ "JSR $FA6E ", 0xF1C1,0x65,0x02,0xDF,0x64,0xFB },
{ "BVC $FAE6 ", 0xFA6E,0x65,0x02,0xDF,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFA70,0x65,0x02,0xDF,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFA72,0x65,0x02,0xDF,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFA74,0x65,0x02,0xDF,0x64,0xF9 },
{ "CMP #$65 ", 0xFA76,0x65,0x02,0xDF,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFA78,0x65,0x02,0xDF,0x67,0xF9 },
{ "RTS ", 0xFA7A,0x65,0x02,0xDF,0x67,0xF9 },
{ "LDA $0647 = 6F ", 0xF1C4,0x65,0x02,0xDF,0x67,0xFB },
{ "CMP #$6F ", 0xF1C7,0x6F,0x02,0xDF,0x65,0xFB },
{ "BEQ $F1CD ", 0xF1C9,0x6F,0x02,0xDF,0x67,0xFB },
{ "LDY #$E0 ", 0xF1CD,0x6F,0x02,0xDF,0x67,0xFB },
{ "LDX #$FF ", 0xF1CF,0x6F,0x02,0xE0,0xE5,0xFB },
{ "LDA #$A5 ", 0xF1D1,0x6F,0xFF,0xE0,0xE5,0xFB },
{ "STA $47 = 6F ", 0xF1D3,0xA5,0xFF,0xE0,0xE5,0xFB },
{ "JSR $FB53 ", 0xF1D5,0xA5,0xFF,0xE0,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB53,0xA5,0xFF,0xE0,0xE5,0xF9 },
{ "CLC ", 0xFB55,0xA5,0xFF,0xE0,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB56,0xA5,0xFF,0xE0,0xE4,0xF9 },
{ "RTS ", 0xFB58,0xB3,0xFF,0xE0,0xE4,0xF9 },
{ "RLA $48,X @ 47 = A5 ", 0xF1D8,0xB3,0xFF,0xE0,0xE4,0xFB },
{ "NOP ", 0xF1DA,0x02,0xFF,0xE0,0x65,0xFB },
{ "NOP ", 0xF1DB,0x02,0xFF,0xE0,0x65,0xFB },
{ "NOP ", 0xF1DC,0x02,0xFF,0xE0,0x65,0xFB },
{ "NOP ", 0xF1DD,0x02,0xFF,0xE0,0x65,0xFB },
{ "JSR $FB59 ", 0xF1DE,0x02,0xFF,0xE0,0x65,0xFB },
{ "BVC $FB75 ", 0xFB59,0x02,0xFF,0xE0,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB5B,0x02,0xFF,0xE0,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB5D,0x02,0xFF,0xE0,0x65,0xF9 },
{ "CMP #$02 ", 0xFB5F,0x02,0xFF,0xE0,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB61,0x02,0xFF,0xE0,0x67,0xF9 },
{ "RTS ", 0xFB63,0x02,0xFF,0xE0,0x67,0xF9 },
{ "LDA $47 = 4A ", 0xF1E1,0x02,0xFF,0xE0,0x67,0xFB },
{ "CMP #$4A ", 0xF1E3,0x4A,0xFF,0xE0,0x65,0xFB },
{ "BEQ $F1E9 ", 0xF1E5,0x4A,0xFF,0xE0,0x67,0xFB },
{ "INY ", 0xF1E9,0x4A,0xFF,0xE0,0x67,0xFB },
{ "LDA #$29 ", 0xF1EA,0x4A,0xFF,0xE1,0xE5,0xFB },
{ "STA $47 = 4A ", 0xF1EC,0x29,0xFF,0xE1,0x65,0xFB },
{ "JSR $FB64 ", 0xF1EE,0x29,0xFF,0xE1,0x65,0xFB },
{ "CLV ", 0xFB64,0x29,0xFF,0xE1,0x65,0xF9 },
{ "CLC ", 0xFB65,0x29,0xFF,0xE1,0x25,0xF9 },
{ "LDA #$42 ", 0xFB66,0x29,0xFF,0xE1,0x24,0xF9 },
{ "RTS ", 0xFB68,0x42,0xFF,0xE1,0x24,0xF9 },
{ "RLA $48,X @ 47 = 29 ", 0xF1F1,0x42,0xFF,0xE1,0x24,0xFB },
{ "NOP ", 0xF1F3,0x42,0xFF,0xE1,0x24,0xFB },
{ "NOP ", 0xF1F4,0x42,0xFF,0xE1,0x24,0xFB },
{ "NOP ", 0xF1F5,0x42,0xFF,0xE1,0x24,0xFB },
{ "NOP ", 0xF1F6,0x42,0xFF,0xE1,0x24,0xFB },
{ "JSR $FB69 ", 0xF1F7,0x42,0xFF,0xE1,0x24,0xFB },
{ "BVS $FB75 ", 0xFB69,0x42,0xFF,0xE1,0x24,0xF9 },
{ "BEQ $FB75 ", 0xFB6B,0x42,0xFF,0xE1,0x24,0xF9 },
{ "BMI $FB75 ", 0xFB6D,0x42,0xFF,0xE1,0x24,0xF9 },
{ "BCS $FB75 ", 0xFB6F,0x42,0xFF,0xE1,0x24,0xF9 },
{ "CMP #$42 ", 0xFB71,0x42,0xFF,0xE1,0x24,0xF9 },
{ "BEQ $FB77 ", 0xFB73,0x42,0xFF,0xE1,0x27,0xF9 },
{ "RTS ", 0xFB77,0x42,0xFF,0xE1,0x27,0xF9 },
{ "LDA $47 = 52 ", 0xF1FA,0x42,0xFF,0xE1,0x27,0xFB },
{ "CMP #$52 ", 0xF1FC,0x52,0xFF,0xE1,0x25,0xFB },
{ "BEQ $F202 ", 0xF1FE,0x52,0xFF,0xE1,0x27,0xFB },
{ "INY ", 0xF202,0x52,0xFF,0xE1,0x27,0xFB },
{ "LDA #$37 ", 0xF203,0x52,0xFF,0xE2,0xA5,0xFB },
{ "STA $47 = 52 ", 0xF205,0x37,0xFF,0xE2,0x25,0xFB },
{ "JSR $FA68 ", 0xF207,0x37,0xFF,0xE2,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA68,0x37,0xFF,0xE2,0x25,0xF9 },
{ "SEC ", 0xFA6A,0x37,0xFF,0xE2,0xE5,0xF9 },
{ "LDA #$75 ", 0xFA6B,0x37,0xFF,0xE2,0xE5,0xF9 },
{ "RTS ", 0xFA6D,0x75,0xFF,0xE2,0x65,0xF9 },
{ "RLA $48,X @ 47 = 37 ", 0xF20A,0x75,0xFF,0xE2,0x65,0xFB },
{ "NOP ", 0xF20C,0x65,0xFF,0xE2,0x64,0xFB },
{ "NOP ", 0xF20D,0x65,0xFF,0xE2,0x64,0xFB },
{ "NOP ", 0xF20E,0x65,0xFF,0xE2,0x64,0xFB },
{ "NOP ", 0xF20F,0x65,0xFF,0xE2,0x64,0xFB },
{ "JSR $FA6E ", 0xF210,0x65,0xFF,0xE2,0x64,0xFB },
{ "BVC $FAE6 ", 0xFA6E,0x65,0xFF,0xE2,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFA70,0x65,0xFF,0xE2,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFA72,0x65,0xFF,0xE2,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFA74,0x65,0xFF,0xE2,0x64,0xF9 },
{ "CMP #$65 ", 0xFA76,0x65,0xFF,0xE2,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFA78,0x65,0xFF,0xE2,0x67,0xF9 },
{ "RTS ", 0xFA7A,0x65,0xFF,0xE2,0x67,0xF9 },
{ "LDA $47 = 6F ", 0xF213,0x65,0xFF,0xE2,0x67,0xFB },
{ "CMP #$6F ", 0xF215,0x6F,0xFF,0xE2,0x65,0xFB },
{ "BEQ $F21B ", 0xF217,0x6F,0xFF,0xE2,0x67,0xFB },
{ "LDA #$A5 ", 0xF21B,0x6F,0xFF,0xE2,0x67,0xFB },
{ "STA $0647 = 6F ", 0xF21D,0xA5,0xFF,0xE2,0xE5,0xFB },
{ "LDY #$FF ", 0xF220,0xA5,0xFF,0xE2,0xE5,0xFB },
{ "JSR $FB53 ", 0xF222,0xA5,0xFF,0xFF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB53,0xA5,0xFF,0xFF,0xE5,0xF9 },
{ "CLC ", 0xFB55,0xA5,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB56,0xA5,0xFF,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFB58,0xB3,0xFF,0xFF,0xE4,0xF9 },
{ "RLA $0548,Y @ 0647 = A5 ", 0xF225,0xB3,0xFF,0xFF,0xE4,0xFB },
{ "NOP ", 0xF228,0x02,0xFF,0xFF,0x65,0xFB },
{ "NOP ", 0xF229,0x02,0xFF,0xFF,0x65,0xFB },
{ "PHP ", 0xF22A,0x02,0xFF,0xFF,0x65,0xFB },
{ "PHA ", 0xF22B,0x02,0xFF,0xFF,0x65,0xFA },
{ "LDY #$E3 ", 0xF22C,0x02,0xFF,0xFF,0x65,0xF9 },
{ "PLA ", 0xF22E,0x02,0xFF,0xE3,0xE5,0xF9 },
{ "PLP ", 0xF22F,0x02,0xFF,0xE3,0x65,0xFA },
{ "JSR $FB59 ", 0xF230,0x02,0xFF,0xE3,0x65,0xFB },
{ "BVC $FB75 ", 0xFB59,0x02,0xFF,0xE3,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB5B,0x02,0xFF,0xE3,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB5D,0x02,0xFF,0xE3,0x65,0xF9 },
{ "CMP #$02 ", 0xFB5F,0x02,0xFF,0xE3,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB61,0x02,0xFF,0xE3,0x67,0xF9 },
{ "RTS ", 0xFB63,0x02,0xFF,0xE3,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xF233,0x02,0xFF,0xE3,0x67,0xFB },
{ "CMP #$4A ", 0xF236,0x4A,0xFF,0xE3,0x65,0xFB },
{ "BEQ $F23C ", 0xF238,0x4A,0xFF,0xE3,0x67,0xFB },
{ "LDY #$FF ", 0xF23C,0x4A,0xFF,0xE3,0x67,0xFB },
{ "LDA #$29 ", 0xF23E,0x4A,0xFF,0xFF,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xF240,0x29,0xFF,0xFF,0x65,0xFB },
{ "JSR $FB64 ", 0xF243,0x29,0xFF,0xFF,0x65,0xFB },
{ "CLV ", 0xFB64,0x29,0xFF,0xFF,0x65,0xF9 },
{ "CLC ", 0xFB65,0x29,0xFF,0xFF,0x25,0xF9 },
{ "LDA #$42 ", 0xFB66,0x29,0xFF,0xFF,0x24,0xF9 },
{ "RTS ", 0xFB68,0x42,0xFF,0xFF,0x24,0xF9 },
{ "RLA $0548,Y @ 0647 = 29 ", 0xF246,0x42,0xFF,0xFF,0x24,0xFB },
{ "NOP ", 0xF249,0x42,0xFF,0xFF,0x24,0xFB },
{ "NOP ", 0xF24A,0x42,0xFF,0xFF,0x24,0xFB },
{ "PHP ", 0xF24B,0x42,0xFF,0xFF,0x24,0xFB },
{ "PHA ", 0xF24C,0x42,0xFF,0xFF,0x24,0xFA },
{ "LDY #$E4 ", 0xF24D,0x42,0xFF,0xFF,0x24,0xF9 },
{ "PLA ", 0xF24F,0x42,0xFF,0xE4,0xA4,0xF9 },
{ "PLP ", 0xF250,0x42,0xFF,0xE4,0x24,0xFA },
{ "JSR $FB69 ", 0xF251,0x42,0xFF,0xE4,0x24,0xFB },
{ "BVS $FB75 ", 0xFB69,0x42,0xFF,0xE4,0x24,0xF9 },
{ "BEQ $FB75 ", 0xFB6B,0x42,0xFF,0xE4,0x24,0xF9 },
{ "BMI $FB75 ", 0xFB6D,0x42,0xFF,0xE4,0x24,0xF9 },
{ "BCS $FB75 ", 0xFB6F,0x42,0xFF,0xE4,0x24,0xF9 },
{ "CMP #$42 ", 0xFB71,0x42,0xFF,0xE4,0x24,0xF9 },
{ "BEQ $FB77 ", 0xFB73,0x42,0xFF,0xE4,0x27,0xF9 },
{ "RTS ", 0xFB77,0x42,0xFF,0xE4,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF254,0x42,0xFF,0xE4,0x27,0xFB },
{ "CMP #$52 ", 0xF257,0x52,0xFF,0xE4,0x25,0xFB },
{ "BEQ $F25D ", 0xF259,0x52,0xFF,0xE4,0x27,0xFB },
{ "LDY #$FF ", 0xF25D,0x52,0xFF,0xE4,0x27,0xFB },
{ "LDA #$37 ", 0xF25F,0x52,0xFF,0xFF,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xF261,0x37,0xFF,0xFF,0x25,0xFB },
{ "JSR $FA68 ", 0xF264,0x37,0xFF,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA68,0x37,0xFF,0xFF,0x25,0xF9 },
{ "SEC ", 0xFA6A,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$75 ", 0xFA6B,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFA6D,0x75,0xFF,0xFF,0x65,0xF9 },
{ "RLA $0548,Y @ 0647 = 37 ", 0xF267,0x75,0xFF,0xFF,0x65,0xFB },
{ "NOP ", 0xF26A,0x65,0xFF,0xFF,0x64,0xFB },
{ "NOP ", 0xF26B,0x65,0xFF,0xFF,0x64,0xFB },
{ "PHP ", 0xF26C,0x65,0xFF,0xFF,0x64,0xFB },
{ "PHA ", 0xF26D,0x65,0xFF,0xFF,0x64,0xFA },
{ "LDY #$E5 ", 0xF26E,0x65,0xFF,0xFF,0x64,0xF9 },
{ "PLA ", 0xF270,0x65,0xFF,0xE5,0xE4,0xF9 },
{ "PLP ", 0xF271,0x65,0xFF,0xE5,0x64,0xFA },
{ "JSR $FA6E ", 0xF272,0x65,0xFF,0xE5,0x64,0xFB },
{ "BVC $FAE6 ", 0xFA6E,0x65,0xFF,0xE5,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFA70,0x65,0xFF,0xE5,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFA72,0x65,0xFF,0xE5,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFA74,0x65,0xFF,0xE5,0x64,0xF9 },
{ "CMP #$65 ", 0xFA76,0x65,0xFF,0xE5,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFA78,0x65,0xFF,0xE5,0x67,0xF9 },
{ "RTS ", 0xFA7A,0x65,0xFF,0xE5,0x67,0xF9 },
{ "LDA $0647 = 6F ", 0xF275,0x65,0xFF,0xE5,0x67,0xFB },
{ "CMP #$6F ", 0xF278,0x6F,0xFF,0xE5,0x65,0xFB },
{ "BEQ $F27E ", 0xF27A,0x6F,0xFF,0xE5,0x67,0xFB },
{ "LDY #$E6 ", 0xF27E,0x6F,0xFF,0xE5,0x67,0xFB },
{ "LDX #$FF ", 0xF280,0x6F,0xFF,0xE6,0xE5,0xFB },
{ "LDA #$A5 ", 0xF282,0x6F,0xFF,0xE6,0xE5,0xFB },
{ "STA $0647 = 6F ", 0xF284,0xA5,0xFF,0xE6,0xE5,0xFB },
{ "JSR $FB53 ", 0xF287,0xA5,0xFF,0xE6,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB53,0xA5,0xFF,0xE6,0xE5,0xF9 },
{ "CLC ", 0xFB55,0xA5,0xFF,0xE6,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB56,0xA5,0xFF,0xE6,0xE4,0xF9 },
{ "RTS ", 0xFB58,0xB3,0xFF,0xE6,0xE4,0xF9 },
{ "RLA $0548,X @ 0647 = A5 ", 0xF28A,0xB3,0xFF,0xE6,0xE4,0xFB },
{ "NOP ", 0xF28D,0x02,0xFF,0xE6,0x65,0xFB },
{ "NOP ", 0xF28E,0x02,0xFF,0xE6,0x65,0xFB },
{ "NOP ", 0xF28F,0x02,0xFF,0xE6,0x65,0xFB },
{ "NOP ", 0xF290,0x02,0xFF,0xE6,0x65,0xFB },
{ "JSR $FB59 ", 0xF291,0x02,0xFF,0xE6,0x65,0xFB },
{ "BVC $FB75 ", 0xFB59,0x02,0xFF,0xE6,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB5B,0x02,0xFF,0xE6,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB5D,0x02,0xFF,0xE6,0x65,0xF9 },
{ "CMP #$02 ", 0xFB5F,0x02,0xFF,0xE6,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB61,0x02,0xFF,0xE6,0x67,0xF9 },
{ "RTS ", 0xFB63,0x02,0xFF,0xE6,0x67,0xF9 },
{ "LDA $0647 = 4A ", 0xF294,0x02,0xFF,0xE6,0x67,0xFB },
{ "CMP #$4A ", 0xF297,0x4A,0xFF,0xE6,0x65,0xFB },
{ "BEQ $F29D ", 0xF299,0x4A,0xFF,0xE6,0x67,0xFB },
{ "INY ", 0xF29D,0x4A,0xFF,0xE6,0x67,0xFB },
{ "LDA #$29 ", 0xF29E,0x4A,0xFF,0xE7,0xE5,0xFB },
{ "STA $0647 = 4A ", 0xF2A0,0x29,0xFF,0xE7,0x65,0xFB },
{ "JSR $FB64 ", 0xF2A3,0x29,0xFF,0xE7,0x65,0xFB },
{ "CLV ", 0xFB64,0x29,0xFF,0xE7,0x65,0xF9 },
{ "CLC ", 0xFB65,0x29,0xFF,0xE7,0x25,0xF9 },
{ "LDA #$42 ", 0xFB66,0x29,0xFF,0xE7,0x24,0xF9 },
{ "RTS ", 0xFB68,0x42,0xFF,0xE7,0x24,0xF9 },
{ "RLA $0548,X @ 0647 = 29 ", 0xF2A6,0x42,0xFF,0xE7,0x24,0xFB },
{ "NOP ", 0xF2A9,0x42,0xFF,0xE7,0x24,0xFB },
{ "NOP ", 0xF2AA,0x42,0xFF,0xE7,0x24,0xFB },
{ "NOP ", 0xF2AB,0x42,0xFF,0xE7,0x24,0xFB },
{ "NOP ", 0xF2AC,0x42,0xFF,0xE7,0x24,0xFB },
{ "JSR $FB69 ", 0xF2AD,0x42,0xFF,0xE7,0x24,0xFB },
{ "BVS $FB75 ", 0xFB69,0x42,0xFF,0xE7,0x24,0xF9 },
{ "BEQ $FB75 ", 0xFB6B,0x42,0xFF,0xE7,0x24,0xF9 },
{ "BMI $FB75 ", 0xFB6D,0x42,0xFF,0xE7,0x24,0xF9 },
{ "BCS $FB75 ", 0xFB6F,0x42,0xFF,0xE7,0x24,0xF9 },
{ "CMP #$42 ", 0xFB71,0x42,0xFF,0xE7,0x24,0xF9 },
{ "BEQ $FB77 ", 0xFB73,0x42,0xFF,0xE7,0x27,0xF9 },
{ "RTS ", 0xFB77,0x42,0xFF,0xE7,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF2B0,0x42,0xFF,0xE7,0x27,0xFB },
{ "CMP #$52 ", 0xF2B3,0x52,0xFF,0xE7,0x25,0xFB },
{ "BEQ $F2B9 ", 0xF2B5,0x52,0xFF,0xE7,0x27,0xFB },
{ "INY ", 0xF2B9,0x52,0xFF,0xE7,0x27,0xFB },
{ "LDA #$37 ", 0xF2BA,0x52,0xFF,0xE8,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xF2BC,0x37,0xFF,0xE8,0x25,0xFB },
{ "JSR $FA68 ", 0xF2BF,0x37,0xFF,0xE8,0x25,0xFB },
{ "BIT $01 = FF ", 0xFA68,0x37,0xFF,0xE8,0x25,0xF9 },
{ "SEC ", 0xFA6A,0x37,0xFF,0xE8,0xE5,0xF9 },
{ "LDA #$75 ", 0xFA6B,0x37,0xFF,0xE8,0xE5,0xF9 },
{ "RTS ", 0xFA6D,0x75,0xFF,0xE8,0x65,0xF9 },
{ "RLA $0548,X @ 0647 = 37 ", 0xF2C2,0x75,0xFF,0xE8,0x65,0xFB },
{ "NOP ", 0xF2C5,0x65,0xFF,0xE8,0x64,0xFB },
{ "NOP ", 0xF2C6,0x65,0xFF,0xE8,0x64,0xFB },
{ "NOP ", 0xF2C7,0x65,0xFF,0xE8,0x64,0xFB },
{ "NOP ", 0xF2C8,0x65,0xFF,0xE8,0x64,0xFB },
{ "JSR $FA6E ", 0xF2C9,0x65,0xFF,0xE8,0x64,0xFB },
{ "BVC $FAE6 ", 0xFA6E,0x65,0xFF,0xE8,0x64,0xF9 },
{ "BEQ $FAE6 ", 0xFA70,0x65,0xFF,0xE8,0x64,0xF9 },
{ "BMI $FAE6 ", 0xFA72,0x65,0xFF,0xE8,0x64,0xF9 },
{ "BCS $FAE6 ", 0xFA74,0x65,0xFF,0xE8,0x64,0xF9 },
{ "CMP #$65 ", 0xFA76,0x65,0xFF,0xE8,0x64,0xF9 },
{ "BNE $FAE6 ", 0xFA78,0x65,0xFF,0xE8,0x67,0xF9 },
{ "RTS ", 0xFA7A,0x65,0xFF,0xE8,0x67,0xF9 },
{ "LDA $0647 = 6F ", 0xF2CC,0x65,0xFF,0xE8,0x67,0xFB },
{ "CMP #$6F ", 0xF2CF,0x6F,0xFF,0xE8,0x65,0xFB },
{ "BEQ $F2D5 ", 0xF2D1,0x6F,0xFF,0xE8,0x67,0xFB },
{ "RTS ", 0xF2D5,0x6F,0xFF,0xE8,0x67,0xFB },
{ "JSR $F2D6 ", 0xC647,0x6F,0xFF,0xE8,0x67,0xFD },
{ "LDA #$FF ", 0xF2D6,0x6F,0xFF,0xE8,0x67,0xFB },
{ "STA $01 = FF ", 0xF2D8,0xFF,0xFF,0xE8,0xE5,0xFB },
{ "LDY #$E9 ", 0xF2DA,0xFF,0xFF,0xE8,0xE5,0xFB },
{ "LDX #$02 ", 0xF2DC,0xFF,0xFF,0xE9,0xE5,0xFB },
{ "LDA #$47 ", 0xF2DE,0xFF,0x02,0xE9,0x65,0xFB },
{ "STA $47 = 6F ", 0xF2E0,0x47,0x02,0xE9,0x65,0xFB },
{ "LDA #$06 ", 0xF2E2,0x47,0x02,0xE9,0x65,0xFB },
{ "STA $48 = 06 ", 0xF2E4,0x06,0x02,0xE9,0x65,0xFB },
{ "LDA #$A5 ", 0xF2E6,0x06,0x02,0xE9,0x65,0xFB },
{ "STA $0647 = 6F ", 0xF2E8,0xA5,0x02,0xE9,0xE5,0xFB },
{ "JSR $FB1D ", 0xF2EB,0xA5,0x02,0xE9,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB1D,0xA5,0x02,0xE9,0xE5,0xF9 },
{ "CLC ", 0xFB1F,0xA5,0x02,0xE9,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB20,0xA5,0x02,0xE9,0xE4,0xF9 },
{ "RTS ", 0xFB22,0xB3,0x02,0xE9,0xE4,0xF9 },
{ "SRE ($45,X) @ 47 = 0647 = A5 ", 0xF2EE,0xB3,0x02,0xE9,0xE4,0xFB },
{ "NOP ", 0xF2F0,0xE1,0x02,0xE9,0xE5,0xFB },
{ "NOP ", 0xF2F1,0xE1,0x02,0xE9,0xE5,0xFB },
{ "NOP ", 0xF2F2,0xE1,0x02,0xE9,0xE5,0xFB },
{ "NOP ", 0xF2F3,0xE1,0x02,0xE9,0xE5,0xFB },
{ "JSR $FB23 ", 0xF2F4,0xE1,0x02,0xE9,0xE5,0xFB },
{ "BVC $FB75 ", 0xFB23,0xE1,0x02,0xE9,0xE5,0xF9 },
{ "BCC $FB75 ", 0xFB25,0xE1,0x02,0xE9,0xE5,0xF9 },
{ "BPL $FB75 ", 0xFB27,0xE1,0x02,0xE9,0xE5,0xF9 },
{ "CMP #$E1 ", 0xFB29,0xE1,0x02,0xE9,0xE5,0xF9 },
{ "BNE $FB75 ", 0xFB2B,0xE1,0x02,0xE9,0x67,0xF9 },
{ "RTS ", 0xFB2D,0xE1,0x02,0xE9,0x67,0xF9 },
{ "LDA $0647 = 52 ", 0xF2F7,0xE1,0x02,0xE9,0x67,0xFB },
{ "CMP #$52 ", 0xF2FA,0x52,0x02,0xE9,0x65,0xFB },
{ "BEQ $F300 ", 0xF2FC,0x52,0x02,0xE9,0x67,0xFB },
{ "INY ", 0xF300,0x52,0x02,0xE9,0x67,0xFB },
{ "LDA #$29 ", 0xF301,0x52,0x02,0xEA,0xE5,0xFB },
{ "STA $0647 = 52 ", 0xF303,0x29,0x02,0xEA,0x65,0xFB },
{ "JSR $FB2E ", 0xF306,0x29,0x02,0xEA,0x65,0xFB },
{ "CLV ", 0xFB2E,0x29,0x02,0xEA,0x65,0xF9 },
{ "CLC ", 0xFB2F,0x29,0x02,0xEA,0x25,0xF9 },
{ "LDA #$42 ", 0xFB30,0x29,0x02,0xEA,0x24,0xF9 },
{ "RTS ", 0xFB32,0x42,0x02,0xEA,0x24,0xF9 },
{ "SRE ($45,X) @ 47 = 0647 = 29 ", 0xF309,0x42,0x02,0xEA,0x24,0xFB },
{ "NOP ", 0xF30B,0x56,0x02,0xEA,0x25,0xFB },
{ "NOP ", 0xF30C,0x56,0x02,0xEA,0x25,0xFB },
{ "NOP ", 0xF30D,0x56,0x02,0xEA,0x25,0xFB },
{ "NOP ", 0xF30E,0x56,0x02,0xEA,0x25,0xFB },
{ "JSR $FB33 ", 0xF30F,0x56,0x02,0xEA,0x25,0xFB },
{ "BVS $FB75 ", 0xFB33,0x56,0x02,0xEA,0x25,0xF9 },
{ "BEQ $FB75 ", 0xFB35,0x56,0x02,0xEA,0x25,0xF9 },
{ "BMI $FB75 ", 0xFB37,0x56,0x02,0xEA,0x25,0xF9 },
{ "BCC $FB75 ", 0xFB39,0x56,0x02,0xEA,0x25,0xF9 },
{ "CMP #$56 ", 0xFB3B,0x56,0x02,0xEA,0x25,0xF9 },
{ "BNE $FB75 ", 0xFB3D,0x56,0x02,0xEA,0x27,0xF9 },
{ "RTS ", 0xFB3F,0x56,0x02,0xEA,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF312,0x56,0x02,0xEA,0x27,0xFB },
{ "CMP #$14 ", 0xF315,0x14,0x02,0xEA,0x25,0xFB },
{ "BEQ $F31B ", 0xF317,0x14,0x02,0xEA,0x27,0xFB },
{ "INY ", 0xF31B,0x14,0x02,0xEA,0x27,0xFB },
{ "LDA #$37 ", 0xF31C,0x14,0x02,0xEB,0xA5,0xFB },
{ "STA $0647 = 14 ", 0xF31E,0x37,0x02,0xEB,0x25,0xFB },
{ "JSR $FB40 ", 0xF321,0x37,0x02,0xEB,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB40,0x37,0x02,0xEB,0x25,0xF9 },
{ "SEC ", 0xFB42,0x37,0x02,0xEB,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB43,0x37,0x02,0xEB,0xE5,0xF9 },
{ "RTS ", 0xFB45,0x75,0x02,0xEB,0x65,0xF9 },
{ "SRE ($45,X) @ 47 = 0647 = 37 ", 0xF324,0x75,0x02,0xEB,0x65,0xFB },
{ "NOP ", 0xF326,0x6E,0x02,0xEB,0x65,0xFB },
{ "NOP ", 0xF327,0x6E,0x02,0xEB,0x65,0xFB },
{ "NOP ", 0xF328,0x6E,0x02,0xEB,0x65,0xFB },
{ "NOP ", 0xF329,0x6E,0x02,0xEB,0x65,0xFB },
{ "JSR $FB46 ", 0xF32A,0x6E,0x02,0xEB,0x65,0xFB },
{ "BVC $FB75 ", 0xFB46,0x6E,0x02,0xEB,0x65,0xF9 },
{ "BEQ $FB75 ", 0xFB48,0x6E,0x02,0xEB,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB4A,0x6E,0x02,0xEB,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB4C,0x6E,0x02,0xEB,0x65,0xF9 },
{ "CMP #$6E ", 0xFB4E,0x6E,0x02,0xEB,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB50,0x6E,0x02,0xEB,0x67,0xF9 },
{ "RTS ", 0xFB52,0x6E,0x02,0xEB,0x67,0xF9 },
{ "LDA $0647 = 1B ", 0xF32D,0x6E,0x02,0xEB,0x67,0xFB },
{ "CMP #$1B ", 0xF330,0x1B,0x02,0xEB,0x65,0xFB },
{ "BEQ $F336 ", 0xF332,0x1B,0x02,0xEB,0x67,0xFB },
{ "INY ", 0xF336,0x1B,0x02,0xEB,0x67,0xFB },
{ "LDA #$A5 ", 0xF337,0x1B,0x02,0xEC,0xE5,0xFB },
{ "STA $47 = 47 ", 0xF339,0xA5,0x02,0xEC,0xE5,0xFB },
{ "JSR $FB1D ", 0xF33B,0xA5,0x02,0xEC,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB1D,0xA5,0x02,0xEC,0xE5,0xF9 },
{ "CLC ", 0xFB1F,0xA5,0x02,0xEC,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB20,0xA5,0x02,0xEC,0xE4,0xF9 },
{ "RTS ", 0xFB22,0xB3,0x02,0xEC,0xE4,0xF9 },
{ "SRE $47 = A5 ", 0xF33E,0xB3,0x02,0xEC,0xE4,0xFB },
{ "NOP ", 0xF340,0xE1,0x02,0xEC,0xE5,0xFB },
{ "NOP ", 0xF341,0xE1,0x02,0xEC,0xE5,0xFB },
{ "NOP ", 0xF342,0xE1,0x02,0xEC,0xE5,0xFB },
{ "NOP ", 0xF343,0xE1,0x02,0xEC,0xE5,0xFB },
{ "JSR $FB23 ", 0xF344,0xE1,0x02,0xEC,0xE5,0xFB },
{ "BVC $FB75 ", 0xFB23,0xE1,0x02,0xEC,0xE5,0xF9 },
{ "BCC $FB75 ", 0xFB25,0xE1,0x02,0xEC,0xE5,0xF9 },
{ "BPL $FB75 ", 0xFB27,0xE1,0x02,0xEC,0xE5,0xF9 },
{ "CMP #$E1 ", 0xFB29,0xE1,0x02,0xEC,0xE5,0xF9 },
{ "BNE $FB75 ", 0xFB2B,0xE1,0x02,0xEC,0x67,0xF9 },
{ "RTS ", 0xFB2D,0xE1,0x02,0xEC,0x67,0xF9 },
{ "LDA $47 = 52 ", 0xF347,0xE1,0x02,0xEC,0x67,0xFB },
{ "CMP #$52 ", 0xF349,0x52,0x02,0xEC,0x65,0xFB },
{ "BEQ $F34F ", 0xF34B,0x52,0x02,0xEC,0x67,0xFB },
{ "INY ", 0xF34F,0x52,0x02,0xEC,0x67,0xFB },
{ "LDA #$29 ", 0xF350,0x52,0x02,0xED,0xE5,0xFB },
{ "STA $47 = 52 ", 0xF352,0x29,0x02,0xED,0x65,0xFB },
{ "JSR $FB2E ", 0xF354,0x29,0x02,0xED,0x65,0xFB },
{ "CLV ", 0xFB2E,0x29,0x02,0xED,0x65,0xF9 },
{ "CLC ", 0xFB2F,0x29,0x02,0xED,0x25,0xF9 },
{ "LDA #$42 ", 0xFB30,0x29,0x02,0xED,0x24,0xF9 },
{ "RTS ", 0xFB32,0x42,0x02,0xED,0x24,0xF9 },
{ "SRE $47 = 29 ", 0xF357,0x42,0x02,0xED,0x24,0xFB },
{ "NOP ", 0xF359,0x56,0x02,0xED,0x25,0xFB },
{ "NOP ", 0xF35A,0x56,0x02,0xED,0x25,0xFB },
{ "NOP ", 0xF35B,0x56,0x02,0xED,0x25,0xFB },
{ "NOP ", 0xF35C,0x56,0x02,0xED,0x25,0xFB },
{ "JSR $FB33 ", 0xF35D,0x56,0x02,0xED,0x25,0xFB },
{ "BVS $FB75 ", 0xFB33,0x56,0x02,0xED,0x25,0xF9 },
{ "BEQ $FB75 ", 0xFB35,0x56,0x02,0xED,0x25,0xF9 },
{ "BMI $FB75 ", 0xFB37,0x56,0x02,0xED,0x25,0xF9 },
{ "BCC $FB75 ", 0xFB39,0x56,0x02,0xED,0x25,0xF9 },
{ "CMP #$56 ", 0xFB3B,0x56,0x02,0xED,0x25,0xF9 },
{ "BNE $FB75 ", 0xFB3D,0x56,0x02,0xED,0x27,0xF9 },
{ "RTS ", 0xFB3F,0x56,0x02,0xED,0x27,0xF9 },
{ "LDA $47 = 14 ", 0xF360,0x56,0x02,0xED,0x27,0xFB },
{ "CMP #$14 ", 0xF362,0x14,0x02,0xED,0x25,0xFB },
{ "BEQ $F368 ", 0xF364,0x14,0x02,0xED,0x27,0xFB },
{ "INY ", 0xF368,0x14,0x02,0xED,0x27,0xFB },
{ "LDA #$37 ", 0xF369,0x14,0x02,0xEE,0xA5,0xFB },
{ "STA $47 = 14 ", 0xF36B,0x37,0x02,0xEE,0x25,0xFB },
{ "JSR $FB40 ", 0xF36D,0x37,0x02,0xEE,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB40,0x37,0x02,0xEE,0x25,0xF9 },
{ "SEC ", 0xFB42,0x37,0x02,0xEE,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB43,0x37,0x02,0xEE,0xE5,0xF9 },
{ "RTS ", 0xFB45,0x75,0x02,0xEE,0x65,0xF9 },
{ "SRE $47 = 37 ", 0xF370,0x75,0x02,0xEE,0x65,0xFB },
{ "NOP ", 0xF372,0x6E,0x02,0xEE,0x65,0xFB },
{ "NOP ", 0xF373,0x6E,0x02,0xEE,0x65,0xFB },
{ "NOP ", 0xF374,0x6E,0x02,0xEE,0x65,0xFB },
{ "NOP ", 0xF375,0x6E,0x02,0xEE,0x65,0xFB },
{ "JSR $FB46 ", 0xF376,0x6E,0x02,0xEE,0x65,0xFB },
{ "BVC $FB75 ", 0xFB46,0x6E,0x02,0xEE,0x65,0xF9 },
{ "BEQ $FB75 ", 0xFB48,0x6E,0x02,0xEE,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB4A,0x6E,0x02,0xEE,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB4C,0x6E,0x02,0xEE,0x65,0xF9 },
{ "CMP #$6E ", 0xFB4E,0x6E,0x02,0xEE,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB50,0x6E,0x02,0xEE,0x67,0xF9 },
{ "RTS ", 0xFB52,0x6E,0x02,0xEE,0x67,0xF9 },
{ "LDA $47 = 1B ", 0xF379,0x6E,0x02,0xEE,0x67,0xFB },
{ "CMP #$1B ", 0xF37B,0x1B,0x02,0xEE,0x65,0xFB },
{ "BEQ $F381 ", 0xF37D,0x1B,0x02,0xEE,0x67,0xFB },
{ "INY ", 0xF381,0x1B,0x02,0xEE,0x67,0xFB },
{ "LDA #$A5 ", 0xF382,0x1B,0x02,0xEF,0xE5,0xFB },
{ "STA $0647 = 1B ", 0xF384,0xA5,0x02,0xEF,0xE5,0xFB },
{ "JSR $FB1D ", 0xF387,0xA5,0x02,0xEF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB1D,0xA5,0x02,0xEF,0xE5,0xF9 },
{ "CLC ", 0xFB1F,0xA5,0x02,0xEF,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB20,0xA5,0x02,0xEF,0xE4,0xF9 },
{ "RTS ", 0xFB22,0xB3,0x02,0xEF,0xE4,0xF9 },
{ "SRE $0647 = A5 ", 0xF38A,0xB3,0x02,0xEF,0xE4,0xFB },
{ "NOP ", 0xF38D,0xE1,0x02,0xEF,0xE5,0xFB },
{ "NOP ", 0xF38E,0xE1,0x02,0xEF,0xE5,0xFB },
{ "NOP ", 0xF38F,0xE1,0x02,0xEF,0xE5,0xFB },
{ "NOP ", 0xF390,0xE1,0x02,0xEF,0xE5,0xFB },
{ "JSR $FB23 ", 0xF391,0xE1,0x02,0xEF,0xE5,0xFB },
{ "BVC $FB75 ", 0xFB23,0xE1,0x02,0xEF,0xE5,0xF9 },
{ "BCC $FB75 ", 0xFB25,0xE1,0x02,0xEF,0xE5,0xF9 },
{ "BPL $FB75 ", 0xFB27,0xE1,0x02,0xEF,0xE5,0xF9 },
{ "CMP #$E1 ", 0xFB29,0xE1,0x02,0xEF,0xE5,0xF9 },
{ "BNE $FB75 ", 0xFB2B,0xE1,0x02,0xEF,0x67,0xF9 },
{ "RTS ", 0xFB2D,0xE1,0x02,0xEF,0x67,0xF9 },
{ "LDA $0647 = 52 ", 0xF394,0xE1,0x02,0xEF,0x67,0xFB },
{ "CMP #$52 ", 0xF397,0x52,0x02,0xEF,0x65,0xFB },
{ "BEQ $F39D ", 0xF399,0x52,0x02,0xEF,0x67,0xFB },
{ "INY ", 0xF39D,0x52,0x02,0xEF,0x67,0xFB },
{ "LDA #$29 ", 0xF39E,0x52,0x02,0xF0,0xE5,0xFB },
{ "STA $0647 = 52 ", 0xF3A0,0x29,0x02,0xF0,0x65,0xFB },
{ "JSR $FB2E ", 0xF3A3,0x29,0x02,0xF0,0x65,0xFB },
{ "CLV ", 0xFB2E,0x29,0x02,0xF0,0x65,0xF9 },
{ "CLC ", 0xFB2F,0x29,0x02,0xF0,0x25,0xF9 },
{ "LDA #$42 ", 0xFB30,0x29,0x02,0xF0,0x24,0xF9 },
{ "RTS ", 0xFB32,0x42,0x02,0xF0,0x24,0xF9 },
{ "SRE $0647 = 29 ", 0xF3A6,0x42,0x02,0xF0,0x24,0xFB },
{ "NOP ", 0xF3A9,0x56,0x02,0xF0,0x25,0xFB },
{ "NOP ", 0xF3AA,0x56,0x02,0xF0,0x25,0xFB },
{ "NOP ", 0xF3AB,0x56,0x02,0xF0,0x25,0xFB },
{ "NOP ", 0xF3AC,0x56,0x02,0xF0,0x25,0xFB },
{ "JSR $FB33 ", 0xF3AD,0x56,0x02,0xF0,0x25,0xFB },
{ "BVS $FB75 ", 0xFB33,0x56,0x02,0xF0,0x25,0xF9 },
{ "BEQ $FB75 ", 0xFB35,0x56,0x02,0xF0,0x25,0xF9 },
{ "BMI $FB75 ", 0xFB37,0x56,0x02,0xF0,0x25,0xF9 },
{ "BCC $FB75 ", 0xFB39,0x56,0x02,0xF0,0x25,0xF9 },
{ "CMP #$56 ", 0xFB3B,0x56,0x02,0xF0,0x25,0xF9 },
{ "BNE $FB75 ", 0xFB3D,0x56,0x02,0xF0,0x27,0xF9 },
{ "RTS ", 0xFB3F,0x56,0x02,0xF0,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF3B0,0x56,0x02,0xF0,0x27,0xFB },
{ "CMP #$14 ", 0xF3B3,0x14,0x02,0xF0,0x25,0xFB },
{ "BEQ $F3B9 ", 0xF3B5,0x14,0x02,0xF0,0x27,0xFB },
{ "INY ", 0xF3B9,0x14,0x02,0xF0,0x27,0xFB },
{ "LDA #$37 ", 0xF3BA,0x14,0x02,0xF1,0xA5,0xFB },
{ "STA $0647 = 14 ", 0xF3BC,0x37,0x02,0xF1,0x25,0xFB },
{ "JSR $FB40 ", 0xF3BF,0x37,0x02,0xF1,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB40,0x37,0x02,0xF1,0x25,0xF9 },
{ "SEC ", 0xFB42,0x37,0x02,0xF1,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB43,0x37,0x02,0xF1,0xE5,0xF9 },
{ "RTS ", 0xFB45,0x75,0x02,0xF1,0x65,0xF9 },
{ "SRE $0647 = 37 ", 0xF3C2,0x75,0x02,0xF1,0x65,0xFB },
{ "NOP ", 0xF3C5,0x6E,0x02,0xF1,0x65,0xFB },
{ "NOP ", 0xF3C6,0x6E,0x02,0xF1,0x65,0xFB },
{ "NOP ", 0xF3C7,0x6E,0x02,0xF1,0x65,0xFB },
{ "NOP ", 0xF3C8,0x6E,0x02,0xF1,0x65,0xFB },
{ "JSR $FB46 ", 0xF3C9,0x6E,0x02,0xF1,0x65,0xFB },
{ "BVC $FB75 ", 0xFB46,0x6E,0x02,0xF1,0x65,0xF9 },
{ "BEQ $FB75 ", 0xFB48,0x6E,0x02,0xF1,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB4A,0x6E,0x02,0xF1,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB4C,0x6E,0x02,0xF1,0x65,0xF9 },
{ "CMP #$6E ", 0xFB4E,0x6E,0x02,0xF1,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB50,0x6E,0x02,0xF1,0x67,0xF9 },
{ "RTS ", 0xFB52,0x6E,0x02,0xF1,0x67,0xF9 },
{ "LDA $0647 = 1B ", 0xF3CC,0x6E,0x02,0xF1,0x67,0xFB },
{ "CMP #$1B ", 0xF3CF,0x1B,0x02,0xF1,0x65,0xFB },
{ "BEQ $F3D5 ", 0xF3D1,0x1B,0x02,0xF1,0x67,0xFB },
{ "LDA #$A5 ", 0xF3D5,0x1B,0x02,0xF1,0x67,0xFB },
{ "STA $0647 = 1B ", 0xF3D7,0xA5,0x02,0xF1,0xE5,0xFB },
{ "LDA #$48 ", 0xF3DA,0xA5,0x02,0xF1,0xE5,0xFB },
{ "STA $45 = 48 ", 0xF3DC,0x48,0x02,0xF1,0x65,0xFB },
{ "LDA #$05 ", 0xF3DE,0x48,0x02,0xF1,0x65,0xFB },
{ "STA $46 = 05 ", 0xF3E0,0x05,0x02,0xF1,0x65,0xFB },
{ "LDY #$FF ", 0xF3E2,0x05,0x02,0xF1,0x65,0xFB },
{ "JSR $FB1D ", 0xF3E4,0x05,0x02,0xFF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB1D,0x05,0x02,0xFF,0xE5,0xF9 },
{ "CLC ", 0xFB1F,0x05,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB20,0x05,0x02,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFB22,0xB3,0x02,0xFF,0xE4,0xF9 },
{ "SRE ($45),Y = 0548 @ 0647 = A5 ", 0xF3E7,0xB3,0x02,0xFF,0xE4,0xFB },
{ "NOP ", 0xF3E9,0xE1,0x02,0xFF,0xE5,0xFB },
{ "NOP ", 0xF3EA,0xE1,0x02,0xFF,0xE5,0xFB },
{ "PHP ", 0xF3EB,0xE1,0x02,0xFF,0xE5,0xFB },
{ "PHA ", 0xF3EC,0xE1,0x02,0xFF,0xE5,0xFA },
{ "LDY #$F2 ", 0xF3ED,0xE1,0x02,0xFF,0xE5,0xF9 },
{ "PLA ", 0xF3EF,0xE1,0x02,0xF2,0xE5,0xF9 },
{ "PLP ", 0xF3F0,0xE1,0x02,0xF2,0xE5,0xFA },
{ "JSR $FB23 ", 0xF3F1,0xE1,0x02,0xF2,0xE5,0xFB },
{ "BVC $FB75 ", 0xFB23,0xE1,0x02,0xF2,0xE5,0xF9 },
{ "BCC $FB75 ", 0xFB25,0xE1,0x02,0xF2,0xE5,0xF9 },
{ "BPL $FB75 ", 0xFB27,0xE1,0x02,0xF2,0xE5,0xF9 },
{ "CMP #$E1 ", 0xFB29,0xE1,0x02,0xF2,0xE5,0xF9 },
{ "BNE $FB75 ", 0xFB2B,0xE1,0x02,0xF2,0x67,0xF9 },
{ "RTS ", 0xFB2D,0xE1,0x02,0xF2,0x67,0xF9 },
{ "LDA $0647 = 52 ", 0xF3F4,0xE1,0x02,0xF2,0x67,0xFB },
{ "CMP #$52 ", 0xF3F7,0x52,0x02,0xF2,0x65,0xFB },
{ "BEQ $F3FD ", 0xF3F9,0x52,0x02,0xF2,0x67,0xFB },
{ "LDY #$FF ", 0xF3FD,0x52,0x02,0xF2,0x67,0xFB },
{ "LDA #$29 ", 0xF3FF,0x52,0x02,0xFF,0xE5,0xFB },
{ "STA $0647 = 52 ", 0xF401,0x29,0x02,0xFF,0x65,0xFB },
{ "JSR $FB2E ", 0xF404,0x29,0x02,0xFF,0x65,0xFB },
{ "CLV ", 0xFB2E,0x29,0x02,0xFF,0x65,0xF9 },
{ "CLC ", 0xFB2F,0x29,0x02,0xFF,0x25,0xF9 },
{ "LDA #$42 ", 0xFB30,0x29,0x02,0xFF,0x24,0xF9 },
{ "RTS ", 0xFB32,0x42,0x02,0xFF,0x24,0xF9 },
{ "SRE ($45),Y = 0548 @ 0647 = 29 ", 0xF407,0x42,0x02,0xFF,0x24,0xFB },
{ "NOP ", 0xF409,0x56,0x02,0xFF,0x25,0xFB },
{ "NOP ", 0xF40A,0x56,0x02,0xFF,0x25,0xFB },
{ "PHP ", 0xF40B,0x56,0x02,0xFF,0x25,0xFB },
{ "PHA ", 0xF40C,0x56,0x02,0xFF,0x25,0xFA },
{ "LDY #$F3 ", 0xF40D,0x56,0x02,0xFF,0x25,0xF9 },
{ "PLA ", 0xF40F,0x56,0x02,0xF3,0xA5,0xF9 },
{ "PLP ", 0xF410,0x56,0x02,0xF3,0x25,0xFA },
{ "JSR $FB33 ", 0xF411,0x56,0x02,0xF3,0x25,0xFB },
{ "BVS $FB75 ", 0xFB33,0x56,0x02,0xF3,0x25,0xF9 },
{ "BEQ $FB75 ", 0xFB35,0x56,0x02,0xF3,0x25,0xF9 },
{ "BMI $FB75 ", 0xFB37,0x56,0x02,0xF3,0x25,0xF9 },
{ "BCC $FB75 ", 0xFB39,0x56,0x02,0xF3,0x25,0xF9 },
{ "CMP #$56 ", 0xFB3B,0x56,0x02,0xF3,0x25,0xF9 },
{ "BNE $FB75 ", 0xFB3D,0x56,0x02,0xF3,0x27,0xF9 },
{ "RTS ", 0xFB3F,0x56,0x02,0xF3,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF414,0x56,0x02,0xF3,0x27,0xFB },
{ "CMP #$14 ", 0xF417,0x14,0x02,0xF3,0x25,0xFB },
{ "BEQ $F41D ", 0xF419,0x14,0x02,0xF3,0x27,0xFB },
{ "LDY #$FF ", 0xF41D,0x14,0x02,0xF3,0x27,0xFB },
{ "LDA #$37 ", 0xF41F,0x14,0x02,0xFF,0xA5,0xFB },
{ "STA $0647 = 14 ", 0xF421,0x37,0x02,0xFF,0x25,0xFB },
{ "JSR $FB40 ", 0xF424,0x37,0x02,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB40,0x37,0x02,0xFF,0x25,0xF9 },
{ "SEC ", 0xFB42,0x37,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB43,0x37,0x02,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFB45,0x75,0x02,0xFF,0x65,0xF9 },
{ "SRE ($45),Y = 0548 @ 0647 = 37 ", 0xF427,0x75,0x02,0xFF,0x65,0xFB },
{ "NOP ", 0xF429,0x6E,0x02,0xFF,0x65,0xFB },
{ "NOP ", 0xF42A,0x6E,0x02,0xFF,0x65,0xFB },
{ "PHP ", 0xF42B,0x6E,0x02,0xFF,0x65,0xFB },
{ "PHA ", 0xF42C,0x6E,0x02,0xFF,0x65,0xFA },
{ "LDY #$F4 ", 0xF42D,0x6E,0x02,0xFF,0x65,0xF9 },
{ "PLA ", 0xF42F,0x6E,0x02,0xF4,0xE5,0xF9 },
{ "PLP ", 0xF430,0x6E,0x02,0xF4,0x65,0xFA },
{ "JSR $FB46 ", 0xF431,0x6E,0x02,0xF4,0x65,0xFB },
{ "BVC $FB75 ", 0xFB46,0x6E,0x02,0xF4,0x65,0xF9 },
{ "BEQ $FB75 ", 0xFB48,0x6E,0x02,0xF4,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB4A,0x6E,0x02,0xF4,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB4C,0x6E,0x02,0xF4,0x65,0xF9 },
{ "CMP #$6E ", 0xFB4E,0x6E,0x02,0xF4,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB50,0x6E,0x02,0xF4,0x67,0xF9 },
{ "RTS ", 0xFB52,0x6E,0x02,0xF4,0x67,0xF9 },
{ "LDA $0647 = 1B ", 0xF434,0x6E,0x02,0xF4,0x67,0xFB },
{ "CMP #$1B ", 0xF437,0x1B,0x02,0xF4,0x65,0xFB },
{ "BEQ $F43D ", 0xF439,0x1B,0x02,0xF4,0x67,0xFB },
{ "LDY #$F5 ", 0xF43D,0x1B,0x02,0xF4,0x67,0xFB },
{ "LDX #$FF ", 0xF43F,0x1B,0x02,0xF5,0xE5,0xFB },
{ "LDA #$A5 ", 0xF441,0x1B,0xFF,0xF5,0xE5,0xFB },
{ "STA $47 = 1B ", 0xF443,0xA5,0xFF,0xF5,0xE5,0xFB },
{ "JSR $FB1D ", 0xF445,0xA5,0xFF,0xF5,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB1D,0xA5,0xFF,0xF5,0xE5,0xF9 },
{ "CLC ", 0xFB1F,0xA5,0xFF,0xF5,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB20,0xA5,0xFF,0xF5,0xE4,0xF9 },
{ "RTS ", 0xFB22,0xB3,0xFF,0xF5,0xE4,0xF9 },
{ "SRE $48,X @ 47 = A5 ", 0xF448,0xB3,0xFF,0xF5,0xE4,0xFB },
{ "NOP ", 0xF44A,0xE1,0xFF,0xF5,0xE5,0xFB },
{ "NOP ", 0xF44B,0xE1,0xFF,0xF5,0xE5,0xFB },
{ "NOP ", 0xF44C,0xE1,0xFF,0xF5,0xE5,0xFB },
{ "NOP ", 0xF44D,0xE1,0xFF,0xF5,0xE5,0xFB },
{ "JSR $FB23 ", 0xF44E,0xE1,0xFF,0xF5,0xE5,0xFB },
{ "BVC $FB75 ", 0xFB23,0xE1,0xFF,0xF5,0xE5,0xF9 },
{ "BCC $FB75 ", 0xFB25,0xE1,0xFF,0xF5,0xE5,0xF9 },
{ "BPL $FB75 ", 0xFB27,0xE1,0xFF,0xF5,0xE5,0xF9 },
{ "CMP #$E1 ", 0xFB29,0xE1,0xFF,0xF5,0xE5,0xF9 },
{ "BNE $FB75 ", 0xFB2B,0xE1,0xFF,0xF5,0x67,0xF9 },
{ "RTS ", 0xFB2D,0xE1,0xFF,0xF5,0x67,0xF9 },
{ "LDA $47 = 52 ", 0xF451,0xE1,0xFF,0xF5,0x67,0xFB },
{ "CMP #$52 ", 0xF453,0x52,0xFF,0xF5,0x65,0xFB },
{ "BEQ $F459 ", 0xF455,0x52,0xFF,0xF5,0x67,0xFB },
{ "INY ", 0xF459,0x52,0xFF,0xF5,0x67,0xFB },
{ "LDA #$29 ", 0xF45A,0x52,0xFF,0xF6,0xE5,0xFB },
{ "STA $47 = 52 ", 0xF45C,0x29,0xFF,0xF6,0x65,0xFB },
{ "JSR $FB2E ", 0xF45E,0x29,0xFF,0xF6,0x65,0xFB },
{ "CLV ", 0xFB2E,0x29,0xFF,0xF6,0x65,0xF9 },
{ "CLC ", 0xFB2F,0x29,0xFF,0xF6,0x25,0xF9 },
{ "LDA #$42 ", 0xFB30,0x29,0xFF,0xF6,0x24,0xF9 },
{ "RTS ", 0xFB32,0x42,0xFF,0xF6,0x24,0xF9 },
{ "SRE $48,X @ 47 = 29 ", 0xF461,0x42,0xFF,0xF6,0x24,0xFB },
{ "NOP ", 0xF463,0x56,0xFF,0xF6,0x25,0xFB },
{ "NOP ", 0xF464,0x56,0xFF,0xF6,0x25,0xFB },
{ "NOP ", 0xF465,0x56,0xFF,0xF6,0x25,0xFB },
{ "NOP ", 0xF466,0x56,0xFF,0xF6,0x25,0xFB },
{ "JSR $FB33 ", 0xF467,0x56,0xFF,0xF6,0x25,0xFB },
{ "BVS $FB75 ", 0xFB33,0x56,0xFF,0xF6,0x25,0xF9 },
{ "BEQ $FB75 ", 0xFB35,0x56,0xFF,0xF6,0x25,0xF9 },
{ "BMI $FB75 ", 0xFB37,0x56,0xFF,0xF6,0x25,0xF9 },
{ "BCC $FB75 ", 0xFB39,0x56,0xFF,0xF6,0x25,0xF9 },
{ "CMP #$56 ", 0xFB3B,0x56,0xFF,0xF6,0x25,0xF9 },
{ "BNE $FB75 ", 0xFB3D,0x56,0xFF,0xF6,0x27,0xF9 },
{ "RTS ", 0xFB3F,0x56,0xFF,0xF6,0x27,0xF9 },
{ "LDA $47 = 14 ", 0xF46A,0x56,0xFF,0xF6,0x27,0xFB },
{ "CMP #$14 ", 0xF46C,0x14,0xFF,0xF6,0x25,0xFB },
{ "BEQ $F472 ", 0xF46E,0x14,0xFF,0xF6,0x27,0xFB },
{ "INY ", 0xF472,0x14,0xFF,0xF6,0x27,0xFB },
{ "LDA #$37 ", 0xF473,0x14,0xFF,0xF7,0xA5,0xFB },
{ "STA $47 = 14 ", 0xF475,0x37,0xFF,0xF7,0x25,0xFB },
{ "JSR $FB40 ", 0xF477,0x37,0xFF,0xF7,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB40,0x37,0xFF,0xF7,0x25,0xF9 },
{ "SEC ", 0xFB42,0x37,0xFF,0xF7,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB43,0x37,0xFF,0xF7,0xE5,0xF9 },
{ "RTS ", 0xFB45,0x75,0xFF,0xF7,0x65,0xF9 },
{ "SRE $48,X @ 47 = 37 ", 0xF47A,0x75,0xFF,0xF7,0x65,0xFB },
{ "NOP ", 0xF47C,0x6E,0xFF,0xF7,0x65,0xFB },
{ "NOP ", 0xF47D,0x6E,0xFF,0xF7,0x65,0xFB },
{ "NOP ", 0xF47E,0x6E,0xFF,0xF7,0x65,0xFB },
{ "NOP ", 0xF47F,0x6E,0xFF,0xF7,0x65,0xFB },
{ "JSR $FB46 ", 0xF480,0x6E,0xFF,0xF7,0x65,0xFB },
{ "BVC $FB75 ", 0xFB46,0x6E,0xFF,0xF7,0x65,0xF9 },
{ "BEQ $FB75 ", 0xFB48,0x6E,0xFF,0xF7,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB4A,0x6E,0xFF,0xF7,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB4C,0x6E,0xFF,0xF7,0x65,0xF9 },
{ "CMP #$6E ", 0xFB4E,0x6E,0xFF,0xF7,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB50,0x6E,0xFF,0xF7,0x67,0xF9 },
{ "RTS ", 0xFB52,0x6E,0xFF,0xF7,0x67,0xF9 },
{ "LDA $47 = 1B ", 0xF483,0x6E,0xFF,0xF7,0x67,0xFB },
{ "CMP #$1B ", 0xF485,0x1B,0xFF,0xF7,0x65,0xFB },
{ "BEQ $F48B ", 0xF487,0x1B,0xFF,0xF7,0x67,0xFB },
{ "LDA #$A5 ", 0xF48B,0x1B,0xFF,0xF7,0x67,0xFB },
{ "STA $0647 = 1B ", 0xF48D,0xA5,0xFF,0xF7,0xE5,0xFB },
{ "LDY #$FF ", 0xF490,0xA5,0xFF,0xF7,0xE5,0xFB },
{ "JSR $FB1D ", 0xF492,0xA5,0xFF,0xFF,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB1D,0xA5,0xFF,0xFF,0xE5,0xF9 },
{ "CLC ", 0xFB1F,0xA5,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB20,0xA5,0xFF,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFB22,0xB3,0xFF,0xFF,0xE4,0xF9 },
{ "SRE $0548,Y @ 0647 = A5 ", 0xF495,0xB3,0xFF,0xFF,0xE4,0xFB },
{ "NOP ", 0xF498,0xE1,0xFF,0xFF,0xE5,0xFB },
{ "NOP ", 0xF499,0xE1,0xFF,0xFF,0xE5,0xFB },
{ "PHP ", 0xF49A,0xE1,0xFF,0xFF,0xE5,0xFB },
{ "PHA ", 0xF49B,0xE1,0xFF,0xFF,0xE5,0xFA },
{ "LDY #$F8 ", 0xF49C,0xE1,0xFF,0xFF,0xE5,0xF9 },
{ "PLA ", 0xF49E,0xE1,0xFF,0xF8,0xE5,0xF9 },
{ "PLP ", 0xF49F,0xE1,0xFF,0xF8,0xE5,0xFA },
{ "JSR $FB23 ", 0xF4A0,0xE1,0xFF,0xF8,0xE5,0xFB },
{ "BVC $FB75 ", 0xFB23,0xE1,0xFF,0xF8,0xE5,0xF9 },
{ "BCC $FB75 ", 0xFB25,0xE1,0xFF,0xF8,0xE5,0xF9 },
{ "BPL $FB75 ", 0xFB27,0xE1,0xFF,0xF8,0xE5,0xF9 },
{ "CMP #$E1 ", 0xFB29,0xE1,0xFF,0xF8,0xE5,0xF9 },
{ "BNE $FB75 ", 0xFB2B,0xE1,0xFF,0xF8,0x67,0xF9 },
{ "RTS ", 0xFB2D,0xE1,0xFF,0xF8,0x67,0xF9 },
{ "LDA $0647 = 52 ", 0xF4A3,0xE1,0xFF,0xF8,0x67,0xFB },
{ "CMP #$52 ", 0xF4A6,0x52,0xFF,0xF8,0x65,0xFB },
{ "BEQ $F4AC ", 0xF4A8,0x52,0xFF,0xF8,0x67,0xFB },
{ "LDY #$FF ", 0xF4AC,0x52,0xFF,0xF8,0x67,0xFB },
{ "LDA #$29 ", 0xF4AE,0x52,0xFF,0xFF,0xE5,0xFB },
{ "STA $0647 = 52 ", 0xF4B0,0x29,0xFF,0xFF,0x65,0xFB },
{ "JSR $FB2E ", 0xF4B3,0x29,0xFF,0xFF,0x65,0xFB },
{ "CLV ", 0xFB2E,0x29,0xFF,0xFF,0x65,0xF9 },
{ "CLC ", 0xFB2F,0x29,0xFF,0xFF,0x25,0xF9 },
{ "LDA #$42 ", 0xFB30,0x29,0xFF,0xFF,0x24,0xF9 },
{ "RTS ", 0xFB32,0x42,0xFF,0xFF,0x24,0xF9 },
{ "SRE $0548,Y @ 0647 = 29 ", 0xF4B6,0x42,0xFF,0xFF,0x24,0xFB },
{ "NOP ", 0xF4B9,0x56,0xFF,0xFF,0x25,0xFB },
{ "NOP ", 0xF4BA,0x56,0xFF,0xFF,0x25,0xFB },
{ "PHP ", 0xF4BB,0x56,0xFF,0xFF,0x25,0xFB },
{ "PHA ", 0xF4BC,0x56,0xFF,0xFF,0x25,0xFA },
{ "LDY #$F9 ", 0xF4BD,0x56,0xFF,0xFF,0x25,0xF9 },
{ "PLA ", 0xF4BF,0x56,0xFF,0xF9,0xA5,0xF9 },
{ "PLP ", 0xF4C0,0x56,0xFF,0xF9,0x25,0xFA },
{ "JSR $FB33 ", 0xF4C1,0x56,0xFF,0xF9,0x25,0xFB },
{ "BVS $FB75 ", 0xFB33,0x56,0xFF,0xF9,0x25,0xF9 },
{ "BEQ $FB75 ", 0xFB35,0x56,0xFF,0xF9,0x25,0xF9 },
{ "BMI $FB75 ", 0xFB37,0x56,0xFF,0xF9,0x25,0xF9 },
{ "BCC $FB75 ", 0xFB39,0x56,0xFF,0xF9,0x25,0xF9 },
{ "CMP #$56 ", 0xFB3B,0x56,0xFF,0xF9,0x25,0xF9 },
{ "BNE $FB75 ", 0xFB3D,0x56,0xFF,0xF9,0x27,0xF9 },
{ "RTS ", 0xFB3F,0x56,0xFF,0xF9,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF4C4,0x56,0xFF,0xF9,0x27,0xFB },
{ "CMP #$14 ", 0xF4C7,0x14,0xFF,0xF9,0x25,0xFB },
{ "BEQ $F4CD ", 0xF4C9,0x14,0xFF,0xF9,0x27,0xFB },
{ "LDY #$FF ", 0xF4CD,0x14,0xFF,0xF9,0x27,0xFB },
{ "LDA #$37 ", 0xF4CF,0x14,0xFF,0xFF,0xA5,0xFB },
{ "STA $0647 = 14 ", 0xF4D1,0x37,0xFF,0xFF,0x25,0xFB },
{ "JSR $FB40 ", 0xF4D4,0x37,0xFF,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB40,0x37,0xFF,0xFF,0x25,0xF9 },
{ "SEC ", 0xFB42,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB43,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFB45,0x75,0xFF,0xFF,0x65,0xF9 },
{ "SRE $0548,Y @ 0647 = 37 ", 0xF4D7,0x75,0xFF,0xFF,0x65,0xFB },
{ "NOP ", 0xF4DA,0x6E,0xFF,0xFF,0x65,0xFB },
{ "NOP ", 0xF4DB,0x6E,0xFF,0xFF,0x65,0xFB },
{ "PHP ", 0xF4DC,0x6E,0xFF,0xFF,0x65,0xFB },
{ "PHA ", 0xF4DD,0x6E,0xFF,0xFF,0x65,0xFA },
{ "LDY #$FA ", 0xF4DE,0x6E,0xFF,0xFF,0x65,0xF9 },
{ "PLA ", 0xF4E0,0x6E,0xFF,0xFA,0xE5,0xF9 },
{ "PLP ", 0xF4E1,0x6E,0xFF,0xFA,0x65,0xFA },
{ "JSR $FB46 ", 0xF4E2,0x6E,0xFF,0xFA,0x65,0xFB },
{ "BVC $FB75 ", 0xFB46,0x6E,0xFF,0xFA,0x65,0xF9 },
{ "BEQ $FB75 ", 0xFB48,0x6E,0xFF,0xFA,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB4A,0x6E,0xFF,0xFA,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB4C,0x6E,0xFF,0xFA,0x65,0xF9 },
{ "CMP #$6E ", 0xFB4E,0x6E,0xFF,0xFA,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB50,0x6E,0xFF,0xFA,0x67,0xF9 },
{ "RTS ", 0xFB52,0x6E,0xFF,0xFA,0x67,0xF9 },
{ "LDA $0647 = 1B ", 0xF4E5,0x6E,0xFF,0xFA,0x67,0xFB },
{ "CMP #$1B ", 0xF4E8,0x1B,0xFF,0xFA,0x65,0xFB },
{ "BEQ $F4EE ", 0xF4EA,0x1B,0xFF,0xFA,0x67,0xFB },
{ "LDY #$FB ", 0xF4EE,0x1B,0xFF,0xFA,0x67,0xFB },
{ "LDX #$FF ", 0xF4F0,0x1B,0xFF,0xFB,0xE5,0xFB },
{ "LDA #$A5 ", 0xF4F2,0x1B,0xFF,0xFB,0xE5,0xFB },
{ "STA $0647 = 1B ", 0xF4F4,0xA5,0xFF,0xFB,0xE5,0xFB },
{ "JSR $FB1D ", 0xF4F7,0xA5,0xFF,0xFB,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFB1D,0xA5,0xFF,0xFB,0xE5,0xF9 },
{ "CLC ", 0xFB1F,0xA5,0xFF,0xFB,0xE5,0xF9 },
{ "LDA #$B3 ", 0xFB20,0xA5,0xFF,0xFB,0xE4,0xF9 },
{ "RTS ", 0xFB22,0xB3,0xFF,0xFB,0xE4,0xF9 },
{ "SRE $0548,X @ 0647 = A5 ", 0xF4FA,0xB3,0xFF,0xFB,0xE4,0xFB },
{ "NOP ", 0xF4FD,0xE1,0xFF,0xFB,0xE5,0xFB },
{ "NOP ", 0xF4FE,0xE1,0xFF,0xFB,0xE5,0xFB },
{ "NOP ", 0xF4FF,0xE1,0xFF,0xFB,0xE5,0xFB },
{ "NOP ", 0xF500,0xE1,0xFF,0xFB,0xE5,0xFB },
{ "JSR $FB23 ", 0xF501,0xE1,0xFF,0xFB,0xE5,0xFB },
{ "BVC $FB75 ", 0xFB23,0xE1,0xFF,0xFB,0xE5,0xF9 },
{ "BCC $FB75 ", 0xFB25,0xE1,0xFF,0xFB,0xE5,0xF9 },
{ "BPL $FB75 ", 0xFB27,0xE1,0xFF,0xFB,0xE5,0xF9 },
{ "CMP #$E1 ", 0xFB29,0xE1,0xFF,0xFB,0xE5,0xF9 },
{ "BNE $FB75 ", 0xFB2B,0xE1,0xFF,0xFB,0x67,0xF9 },
{ "RTS ", 0xFB2D,0xE1,0xFF,0xFB,0x67,0xF9 },
{ "LDA $0647 = 52 ", 0xF504,0xE1,0xFF,0xFB,0x67,0xFB },
{ "CMP #$52 ", 0xF507,0x52,0xFF,0xFB,0x65,0xFB },
{ "BEQ $F50D ", 0xF509,0x52,0xFF,0xFB,0x67,0xFB },
{ "INY ", 0xF50D,0x52,0xFF,0xFB,0x67,0xFB },
{ "LDA #$29 ", 0xF50E,0x52,0xFF,0xFC,0xE5,0xFB },
{ "STA $0647 = 52 ", 0xF510,0x29,0xFF,0xFC,0x65,0xFB },
{ "JSR $FB2E ", 0xF513,0x29,0xFF,0xFC,0x65,0xFB },
{ "CLV ", 0xFB2E,0x29,0xFF,0xFC,0x65,0xF9 },
{ "CLC ", 0xFB2F,0x29,0xFF,0xFC,0x25,0xF9 },
{ "LDA #$42 ", 0xFB30,0x29,0xFF,0xFC,0x24,0xF9 },
{ "RTS ", 0xFB32,0x42,0xFF,0xFC,0x24,0xF9 },
{ "SRE $0548,X @ 0647 = 29 ", 0xF516,0x42,0xFF,0xFC,0x24,0xFB },
{ "NOP ", 0xF519,0x56,0xFF,0xFC,0x25,0xFB },
{ "NOP ", 0xF51A,0x56,0xFF,0xFC,0x25,0xFB },
{ "NOP ", 0xF51B,0x56,0xFF,0xFC,0x25,0xFB },
{ "NOP ", 0xF51C,0x56,0xFF,0xFC,0x25,0xFB },
{ "JSR $FB33 ", 0xF51D,0x56,0xFF,0xFC,0x25,0xFB },
{ "BVS $FB75 ", 0xFB33,0x56,0xFF,0xFC,0x25,0xF9 },
{ "BEQ $FB75 ", 0xFB35,0x56,0xFF,0xFC,0x25,0xF9 },
{ "BMI $FB75 ", 0xFB37,0x56,0xFF,0xFC,0x25,0xF9 },
{ "BCC $FB75 ", 0xFB39,0x56,0xFF,0xFC,0x25,0xF9 },
{ "CMP #$56 ", 0xFB3B,0x56,0xFF,0xFC,0x25,0xF9 },
{ "BNE $FB75 ", 0xFB3D,0x56,0xFF,0xFC,0x27,0xF9 },
{ "RTS ", 0xFB3F,0x56,0xFF,0xFC,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF520,0x56,0xFF,0xFC,0x27,0xFB },
{ "CMP #$14 ", 0xF523,0x14,0xFF,0xFC,0x25,0xFB },
{ "BEQ $F529 ", 0xF525,0x14,0xFF,0xFC,0x27,0xFB },
{ "INY ", 0xF529,0x14,0xFF,0xFC,0x27,0xFB },
{ "LDA #$37 ", 0xF52A,0x14,0xFF,0xFD,0xA5,0xFB },
{ "STA $0647 = 14 ", 0xF52C,0x37,0xFF,0xFD,0x25,0xFB },
{ "JSR $FB40 ", 0xF52F,0x37,0xFF,0xFD,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB40,0x37,0xFF,0xFD,0x25,0xF9 },
{ "SEC ", 0xFB42,0x37,0xFF,0xFD,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB43,0x37,0xFF,0xFD,0xE5,0xF9 },
{ "RTS ", 0xFB45,0x75,0xFF,0xFD,0x65,0xF9 },
{ "SRE $0548,X @ 0647 = 37 ", 0xF532,0x75,0xFF,0xFD,0x65,0xFB },
{ "NOP ", 0xF535,0x6E,0xFF,0xFD,0x65,0xFB },
{ "NOP ", 0xF536,0x6E,0xFF,0xFD,0x65,0xFB },
{ "NOP ", 0xF537,0x6E,0xFF,0xFD,0x65,0xFB },
{ "NOP ", 0xF538,0x6E,0xFF,0xFD,0x65,0xFB },
{ "JSR $FB46 ", 0xF539,0x6E,0xFF,0xFD,0x65,0xFB },
{ "BVC $FB75 ", 0xFB46,0x6E,0xFF,0xFD,0x65,0xF9 },
{ "BEQ $FB75 ", 0xFB48,0x6E,0xFF,0xFD,0x65,0xF9 },
{ "BMI $FB75 ", 0xFB4A,0x6E,0xFF,0xFD,0x65,0xF9 },
{ "BCC $FB75 ", 0xFB4C,0x6E,0xFF,0xFD,0x65,0xF9 },
{ "CMP #$6E ", 0xFB4E,0x6E,0xFF,0xFD,0x65,0xF9 },
{ "BNE $FB75 ", 0xFB50,0x6E,0xFF,0xFD,0x67,0xF9 },
{ "RTS ", 0xFB52,0x6E,0xFF,0xFD,0x67,0xF9 },
{ "LDA $0647 = 1B ", 0xF53C,0x6E,0xFF,0xFD,0x67,0xFB },
{ "CMP #$1B ", 0xF53F,0x1B,0xFF,0xFD,0x65,0xFB },
{ "BEQ $F545 ", 0xF541,0x1B,0xFF,0xFD,0x67,0xFB },
{ "RTS ", 0xF545,0x1B,0xFF,0xFD,0x67,0xFB },
{ "LDA $00 = 00 ", 0xC64A,0x1B,0xFF,0xFD,0x67,0xFD },
{ "STA $11 = 00 ", 0xC64C,0x00,0xFF,0xFD,0x67,0xFD },
{ "LDA #$00 ", 0xC64E,0x00,0xFF,0xFD,0x67,0xFD },
{ "STA $00 = 00 ", 0xC650,0x00,0xFF,0xFD,0x67,0xFD },
{ "JSR $F546 ", 0xC652,0x00,0xFF,0xFD,0x67,0xFD },
{ "LDA #$FF ", 0xF546,0x00,0xFF,0xFD,0x67,0xFB },
{ "STA $01 = FF ", 0xF548,0xFF,0xFF,0xFD,0xE5,0xFB },
{ "LDY #$01 ", 0xF54A,0xFF,0xFF,0xFD,0xE5,0xFB },
{ "LDX #$02 ", 0xF54C,0xFF,0xFF,0x01,0x65,0xFB },
{ "LDA #$47 ", 0xF54E,0xFF,0x02,0x01,0x65,0xFB },
{ "STA $47 = 1B ", 0xF550,0x47,0x02,0x01,0x65,0xFB },
{ "LDA #$06 ", 0xF552,0x47,0x02,0x01,0x65,0xFB },
{ "STA $48 = 06 ", 0xF554,0x06,0x02,0x01,0x65,0xFB },
{ "LDA #$A5 ", 0xF556,0x06,0x02,0x01,0x65,0xFB },
{ "STA $0647 = 1B ", 0xF558,0xA5,0x02,0x01,0xE5,0xFB },
{ "JSR $FAE9 ", 0xF55B,0xA5,0x02,0x01,0xE5,0xFB },
{ "BIT $01 = FF ", 0xFAE9,0xA5,0x02,0x01,0xE5,0xF9 },
{ "CLC ", 0xFAEB,0xA5,0x02,0x01,0xE5,0xF9 },
{ "LDA #$B2 ", 0xFAEC,0xA5,0x02,0x01,0xE4,0xF9 },
{ "RTS ", 0xFAEE,0xB2,0x02,0x01,0xE4,0xF9 },
{ "RRA ($45,X) @ 47 = 0647 = A5 ", 0xF55E,0xB2,0x02,0x01,0xE4,0xFB },
{ "NOP ", 0xF560,0x05,0x02,0x01,0x25,0xFB },
{ "NOP ", 0xF561,0x05,0x02,0x01,0x25,0xFB },
{ "NOP ", 0xF562,0x05,0x02,0x01,0x25,0xFB },
{ "NOP ", 0xF563,0x05,0x02,0x01,0x25,0xFB },
{ "JSR $FAEF ", 0xF564,0x05,0x02,0x01,0x25,0xFB },
{ "BVS $FB1B ", 0xFAEF,0x05,0x02,0x01,0x25,0xF9 },
{ "BCC $FB1B ", 0xFAF1,0x05,0x02,0x01,0x25,0xF9 },
{ "BMI $FB1B ", 0xFAF3,0x05,0x02,0x01,0x25,0xF9 },
{ "CMP #$05 ", 0xFAF5,0x05,0x02,0x01,0x25,0xF9 },
{ "BNE $FB1B ", 0xFAF7,0x05,0x02,0x01,0x27,0xF9 },
{ "RTS ", 0xFAF9,0x05,0x02,0x01,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF567,0x05,0x02,0x01,0x27,0xFB },
{ "CMP #$52 ", 0xF56A,0x52,0x02,0x01,0x25,0xFB },
{ "BEQ $F570 ", 0xF56C,0x52,0x02,0x01,0x27,0xFB },
{ "INY ", 0xF570,0x52,0x02,0x01,0x27,0xFB },
{ "LDA #$29 ", 0xF571,0x52,0x02,0x02,0x25,0xFB },
{ "STA $0647 = 52 ", 0xF573,0x29,0x02,0x02,0x25,0xFB },
{ "JSR $FAFA ", 0xF576,0x29,0x02,0x02,0x25,0xFB },
{ "CLV ", 0xFAFA,0x29,0x02,0x02,0x25,0xF9 },
{ "CLC ", 0xFAFB,0x29,0x02,0x02,0x25,0xF9 },
{ "LDA #$42 ", 0xFAFC,0x29,0x02,0x02,0x24,0xF9 },
{ "RTS ", 0xFAFE,0x42,0x02,0x02,0x24,0xF9 },
{ "RRA ($45,X) @ 47 = 0647 = 29 ", 0xF579,0x42,0x02,0x02,0x24,0xFB },
{ "NOP ", 0xF57B,0x57,0x02,0x02,0x24,0xFB },
{ "NOP ", 0xF57C,0x57,0x02,0x02,0x24,0xFB },
{ "NOP ", 0xF57D,0x57,0x02,0x02,0x24,0xFB },
{ "NOP ", 0xF57E,0x57,0x02,0x02,0x24,0xFB },
{ "JSR $FAFF ", 0xF57F,0x57,0x02,0x02,0x24,0xFB },
{ "BVS $FB1B ", 0xFAFF,0x57,0x02,0x02,0x24,0xF9 },
{ "BMI $FB1B ", 0xFB01,0x57,0x02,0x02,0x24,0xF9 },
{ "BCS $FB1B ", 0xFB03,0x57,0x02,0x02,0x24,0xF9 },
{ "CMP #$57 ", 0xFB05,0x57,0x02,0x02,0x24,0xF9 },
{ "BNE $FB1B ", 0xFB07,0x57,0x02,0x02,0x27,0xF9 },
{ "RTS ", 0xFB09,0x57,0x02,0x02,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF582,0x57,0x02,0x02,0x27,0xFB },
{ "CMP #$14 ", 0xF585,0x14,0x02,0x02,0x25,0xFB },
{ "BEQ $F58B ", 0xF587,0x14,0x02,0x02,0x27,0xFB },
{ "INY ", 0xF58B,0x14,0x02,0x02,0x27,0xFB },
{ "LDA #$37 ", 0xF58C,0x14,0x02,0x03,0x25,0xFB },
{ "STA $0647 = 14 ", 0xF58E,0x37,0x02,0x03,0x25,0xFB },
{ "JSR $FB0A ", 0xF591,0x37,0x02,0x03,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB0A,0x37,0x02,0x03,0x25,0xF9 },
{ "SEC ", 0xFB0C,0x37,0x02,0x03,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB0D,0x37,0x02,0x03,0xE5,0xF9 },
{ "RTS ", 0xFB0F,0x75,0x02,0x03,0x65,0xF9 },
{ "RRA ($45,X) @ 47 = 0647 = 37 ", 0xF594,0x75,0x02,0x03,0x65,0xFB },
{ "NOP ", 0xF596,0x11,0x02,0x03,0x25,0xFB },
{ "NOP ", 0xF597,0x11,0x02,0x03,0x25,0xFB },
{ "NOP ", 0xF598,0x11,0x02,0x03,0x25,0xFB },
{ "NOP ", 0xF599,0x11,0x02,0x03,0x25,0xFB },
{ "JSR $FB10 ", 0xF59A,0x11,0x02,0x03,0x25,0xFB },
{ "BVS $FB1B ", 0xFB10,0x11,0x02,0x03,0x25,0xF9 },
{ "BMI $FB1B ", 0xFB12,0x11,0x02,0x03,0x25,0xF9 },
{ "BCC $FB1B ", 0xFB14,0x11,0x02,0x03,0x25,0xF9 },
{ "CMP #$11 ", 0xFB16,0x11,0x02,0x03,0x25,0xF9 },
{ "BNE $FB1B ", 0xFB18,0x11,0x02,0x03,0x27,0xF9 },
{ "RTS ", 0xFB1A,0x11,0x02,0x03,0x27,0xF9 },
{ "LDA $0647 = 9B ", 0xF59D,0x11,0x02,0x03,0x27,0xFB },
{ "CMP #$9B ", 0xF5A0,0x9B,0x02,0x03,0xA5,0xFB },
{ "BEQ $F5A6 ", 0xF5A2,0x9B,0x02,0x03,0x27,0xFB },
{ "INY ", 0xF5A6,0x9B,0x02,0x03,0x27,0xFB },
{ "LDA #$A5 ", 0xF5A7,0x9B,0x02,0x04,0x25,0xFB },
{ "STA $47 = 47 ", 0xF5A9,0xA5,0x02,0x04,0xA5,0xFB },
{ "JSR $FAE9 ", 0xF5AB,0xA5,0x02,0x04,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAE9,0xA5,0x02,0x04,0xA5,0xF9 },
{ "CLC ", 0xFAEB,0xA5,0x02,0x04,0xE5,0xF9 },
{ "LDA #$B2 ", 0xFAEC,0xA5,0x02,0x04,0xE4,0xF9 },
{ "RTS ", 0xFAEE,0xB2,0x02,0x04,0xE4,0xF9 },
{ "RRA $47 = A5 ", 0xF5AE,0xB2,0x02,0x04,0xE4,0xFB },
{ "NOP ", 0xF5B0,0x05,0x02,0x04,0x25,0xFB },
{ "NOP ", 0xF5B1,0x05,0x02,0x04,0x25,0xFB },
{ "NOP ", 0xF5B2,0x05,0x02,0x04,0x25,0xFB },
{ "NOP ", 0xF5B3,0x05,0x02,0x04,0x25,0xFB },
{ "JSR $FAEF ", 0xF5B4,0x05,0x02,0x04,0x25,0xFB },
{ "BVS $FB1B ", 0xFAEF,0x05,0x02,0x04,0x25,0xF9 },
{ "BCC $FB1B ", 0xFAF1,0x05,0x02,0x04,0x25,0xF9 },
{ "BMI $FB1B ", 0xFAF3,0x05,0x02,0x04,0x25,0xF9 },
{ "CMP #$05 ", 0xFAF5,0x05,0x02,0x04,0x25,0xF9 },
{ "BNE $FB1B ", 0xFAF7,0x05,0x02,0x04,0x27,0xF9 },
{ "RTS ", 0xFAF9,0x05,0x02,0x04,0x27,0xF9 },
{ "LDA $47 = 52 ", 0xF5B7,0x05,0x02,0x04,0x27,0xFB },
{ "CMP #$52 ", 0xF5B9,0x52,0x02,0x04,0x25,0xFB },
{ "BEQ $F5BF ", 0xF5BB,0x52,0x02,0x04,0x27,0xFB },
{ "INY ", 0xF5BF,0x52,0x02,0x04,0x27,0xFB },
{ "LDA #$29 ", 0xF5C0,0x52,0x02,0x05,0x25,0xFB },
{ "STA $47 = 52 ", 0xF5C2,0x29,0x02,0x05,0x25,0xFB },
{ "JSR $FAFA ", 0xF5C4,0x29,0x02,0x05,0x25,0xFB },
{ "CLV ", 0xFAFA,0x29,0x02,0x05,0x25,0xF9 },
{ "CLC ", 0xFAFB,0x29,0x02,0x05,0x25,0xF9 },
{ "LDA #$42 ", 0xFAFC,0x29,0x02,0x05,0x24,0xF9 },
{ "RTS ", 0xFAFE,0x42,0x02,0x05,0x24,0xF9 },
{ "RRA $47 = 29 ", 0xF5C7,0x42,0x02,0x05,0x24,0xFB },
{ "NOP ", 0xF5C9,0x57,0x02,0x05,0x24,0xFB },
{ "NOP ", 0xF5CA,0x57,0x02,0x05,0x24,0xFB },
{ "NOP ", 0xF5CB,0x57,0x02,0x05,0x24,0xFB },
{ "NOP ", 0xF5CC,0x57,0x02,0x05,0x24,0xFB },
{ "JSR $FAFF ", 0xF5CD,0x57,0x02,0x05,0x24,0xFB },
{ "BVS $FB1B ", 0xFAFF,0x57,0x02,0x05,0x24,0xF9 },
{ "BMI $FB1B ", 0xFB01,0x57,0x02,0x05,0x24,0xF9 },
{ "BCS $FB1B ", 0xFB03,0x57,0x02,0x05,0x24,0xF9 },
{ "CMP #$57 ", 0xFB05,0x57,0x02,0x05,0x24,0xF9 },
{ "BNE $FB1B ", 0xFB07,0x57,0x02,0x05,0x27,0xF9 },
{ "RTS ", 0xFB09,0x57,0x02,0x05,0x27,0xF9 },
{ "LDA $47 = 14 ", 0xF5D0,0x57,0x02,0x05,0x27,0xFB },
{ "CMP #$14 ", 0xF5D2,0x14,0x02,0x05,0x25,0xFB },
{ "BEQ $F5D8 ", 0xF5D4,0x14,0x02,0x05,0x27,0xFB },
{ "INY ", 0xF5D8,0x14,0x02,0x05,0x27,0xFB },
{ "LDA #$37 ", 0xF5D9,0x14,0x02,0x06,0x25,0xFB },
{ "STA $47 = 14 ", 0xF5DB,0x37,0x02,0x06,0x25,0xFB },
{ "JSR $FB0A ", 0xF5DD,0x37,0x02,0x06,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB0A,0x37,0x02,0x06,0x25,0xF9 },
{ "SEC ", 0xFB0C,0x37,0x02,0x06,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB0D,0x37,0x02,0x06,0xE5,0xF9 },
{ "RTS ", 0xFB0F,0x75,0x02,0x06,0x65,0xF9 },
{ "RRA $47 = 37 ", 0xF5E0,0x75,0x02,0x06,0x65,0xFB },
{ "NOP ", 0xF5E2,0x11,0x02,0x06,0x25,0xFB },
{ "NOP ", 0xF5E3,0x11,0x02,0x06,0x25,0xFB },
{ "NOP ", 0xF5E4,0x11,0x02,0x06,0x25,0xFB },
{ "NOP ", 0xF5E5,0x11,0x02,0x06,0x25,0xFB },
{ "JSR $FB10 ", 0xF5E6,0x11,0x02,0x06,0x25,0xFB },
{ "BVS $FB1B ", 0xFB10,0x11,0x02,0x06,0x25,0xF9 },
{ "BMI $FB1B ", 0xFB12,0x11,0x02,0x06,0x25,0xF9 },
{ "BCC $FB1B ", 0xFB14,0x11,0x02,0x06,0x25,0xF9 },
{ "CMP #$11 ", 0xFB16,0x11,0x02,0x06,0x25,0xF9 },
{ "BNE $FB1B ", 0xFB18,0x11,0x02,0x06,0x27,0xF9 },
{ "RTS ", 0xFB1A,0x11,0x02,0x06,0x27,0xF9 },
{ "LDA $47 = 9B ", 0xF5E9,0x11,0x02,0x06,0x27,0xFB },
{ "CMP #$9B ", 0xF5EB,0x9B,0x02,0x06,0xA5,0xFB },
{ "BEQ $F5F1 ", 0xF5ED,0x9B,0x02,0x06,0x27,0xFB },
{ "INY ", 0xF5F1,0x9B,0x02,0x06,0x27,0xFB },
{ "LDA #$A5 ", 0xF5F2,0x9B,0x02,0x07,0x25,0xFB },
{ "STA $0647 = 9B ", 0xF5F4,0xA5,0x02,0x07,0xA5,0xFB },
{ "JSR $FAE9 ", 0xF5F7,0xA5,0x02,0x07,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAE9,0xA5,0x02,0x07,0xA5,0xF9 },
{ "CLC ", 0xFAEB,0xA5,0x02,0x07,0xE5,0xF9 },
{ "LDA #$B2 ", 0xFAEC,0xA5,0x02,0x07,0xE4,0xF9 },
{ "RTS ", 0xFAEE,0xB2,0x02,0x07,0xE4,0xF9 },
{ "RRA $0647 = A5 ", 0xF5FA,0xB2,0x02,0x07,0xE4,0xFB },
{ "NOP ", 0xF5FD,0x05,0x02,0x07,0x25,0xFB },
{ "NOP ", 0xF5FE,0x05,0x02,0x07,0x25,0xFB },
{ "NOP ", 0xF5FF,0x05,0x02,0x07,0x25,0xFB },
{ "NOP ", 0xF600,0x05,0x02,0x07,0x25,0xFB },
{ "JSR $FAEF ", 0xF601,0x05,0x02,0x07,0x25,0xFB },
{ "BVS $FB1B ", 0xFAEF,0x05,0x02,0x07,0x25,0xF9 },
{ "BCC $FB1B ", 0xFAF1,0x05,0x02,0x07,0x25,0xF9 },
{ "BMI $FB1B ", 0xFAF3,0x05,0x02,0x07,0x25,0xF9 },
{ "CMP #$05 ", 0xFAF5,0x05,0x02,0x07,0x25,0xF9 },
{ "BNE $FB1B ", 0xFAF7,0x05,0x02,0x07,0x27,0xF9 },
{ "RTS ", 0xFAF9,0x05,0x02,0x07,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF604,0x05,0x02,0x07,0x27,0xFB },
{ "CMP #$52 ", 0xF607,0x52,0x02,0x07,0x25,0xFB },
{ "BEQ $F60D ", 0xF609,0x52,0x02,0x07,0x27,0xFB },
{ "INY ", 0xF60D,0x52,0x02,0x07,0x27,0xFB },
{ "LDA #$29 ", 0xF60E,0x52,0x02,0x08,0x25,0xFB },
{ "STA $0647 = 52 ", 0xF610,0x29,0x02,0x08,0x25,0xFB },
{ "JSR $FAFA ", 0xF613,0x29,0x02,0x08,0x25,0xFB },
{ "CLV ", 0xFAFA,0x29,0x02,0x08,0x25,0xF9 },
{ "CLC ", 0xFAFB,0x29,0x02,0x08,0x25,0xF9 },
{ "LDA #$42 ", 0xFAFC,0x29,0x02,0x08,0x24,0xF9 },
{ "RTS ", 0xFAFE,0x42,0x02,0x08,0x24,0xF9 },
{ "RRA $0647 = 29 ", 0xF616,0x42,0x02,0x08,0x24,0xFB },
{ "NOP ", 0xF619,0x57,0x02,0x08,0x24,0xFB },
{ "NOP ", 0xF61A,0x57,0x02,0x08,0x24,0xFB },
{ "NOP ", 0xF61B,0x57,0x02,0x08,0x24,0xFB },
{ "NOP ", 0xF61C,0x57,0x02,0x08,0x24,0xFB },
{ "JSR $FAFF ", 0xF61D,0x57,0x02,0x08,0x24,0xFB },
{ "BVS $FB1B ", 0xFAFF,0x57,0x02,0x08,0x24,0xF9 },
{ "BMI $FB1B ", 0xFB01,0x57,0x02,0x08,0x24,0xF9 },
{ "BCS $FB1B ", 0xFB03,0x57,0x02,0x08,0x24,0xF9 },
{ "CMP #$57 ", 0xFB05,0x57,0x02,0x08,0x24,0xF9 },
{ "BNE $FB1B ", 0xFB07,0x57,0x02,0x08,0x27,0xF9 },
{ "RTS ", 0xFB09,0x57,0x02,0x08,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF620,0x57,0x02,0x08,0x27,0xFB },
{ "CMP #$14 ", 0xF623,0x14,0x02,0x08,0x25,0xFB },
{ "BEQ $F629 ", 0xF625,0x14,0x02,0x08,0x27,0xFB },
{ "INY ", 0xF629,0x14,0x02,0x08,0x27,0xFB },
{ "LDA #$37 ", 0xF62A,0x14,0x02,0x09,0x25,0xFB },
{ "STA $0647 = 14 ", 0xF62C,0x37,0x02,0x09,0x25,0xFB },
{ "JSR $FB0A ", 0xF62F,0x37,0x02,0x09,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB0A,0x37,0x02,0x09,0x25,0xF9 },
{ "SEC ", 0xFB0C,0x37,0x02,0x09,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB0D,0x37,0x02,0x09,0xE5,0xF9 },
{ "RTS ", 0xFB0F,0x75,0x02,0x09,0x65,0xF9 },
{ "RRA $0647 = 37 ", 0xF632,0x75,0x02,0x09,0x65,0xFB },
{ "NOP ", 0xF635,0x11,0x02,0x09,0x25,0xFB },
{ "NOP ", 0xF636,0x11,0x02,0x09,0x25,0xFB },
{ "NOP ", 0xF637,0x11,0x02,0x09,0x25,0xFB },
{ "NOP ", 0xF638,0x11,0x02,0x09,0x25,0xFB },
{ "JSR $FB10 ", 0xF639,0x11,0x02,0x09,0x25,0xFB },
{ "BVS $FB1B ", 0xFB10,0x11,0x02,0x09,0x25,0xF9 },
{ "BMI $FB1B ", 0xFB12,0x11,0x02,0x09,0x25,0xF9 },
{ "BCC $FB1B ", 0xFB14,0x11,0x02,0x09,0x25,0xF9 },
{ "CMP #$11 ", 0xFB16,0x11,0x02,0x09,0x25,0xF9 },
{ "BNE $FB1B ", 0xFB18,0x11,0x02,0x09,0x27,0xF9 },
{ "RTS ", 0xFB1A,0x11,0x02,0x09,0x27,0xF9 },
{ "LDA $0647 = 9B ", 0xF63C,0x11,0x02,0x09,0x27,0xFB },
{ "CMP #$9B ", 0xF63F,0x9B,0x02,0x09,0xA5,0xFB },
{ "BEQ $F645 ", 0xF641,0x9B,0x02,0x09,0x27,0xFB },
{ "LDA #$A5 ", 0xF645,0x9B,0x02,0x09,0x27,0xFB },
{ "STA $0647 = 9B ", 0xF647,0xA5,0x02,0x09,0xA5,0xFB },
{ "LDA #$48 ", 0xF64A,0xA5,0x02,0x09,0xA5,0xFB },
{ "STA $45 = 48 ", 0xF64C,0x48,0x02,0x09,0x25,0xFB },
{ "LDA #$05 ", 0xF64E,0x48,0x02,0x09,0x25,0xFB },
{ "STA $46 = 05 ", 0xF650,0x05,0x02,0x09,0x25,0xFB },
{ "LDY #$FF ", 0xF652,0x05,0x02,0x09,0x25,0xFB },
{ "JSR $FAE9 ", 0xF654,0x05,0x02,0xFF,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAE9,0x05,0x02,0xFF,0xA5,0xF9 },
{ "CLC ", 0xFAEB,0x05,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$B2 ", 0xFAEC,0x05,0x02,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFAEE,0xB2,0x02,0xFF,0xE4,0xF9 },
{ "RRA ($45),Y = 0548 @ 0647 = A5 ", 0xF657,0xB2,0x02,0xFF,0xE4,0xFB },
{ "NOP ", 0xF659,0x05,0x02,0xFF,0x25,0xFB },
{ "NOP ", 0xF65A,0x05,0x02,0xFF,0x25,0xFB },
{ "PHP ", 0xF65B,0x05,0x02,0xFF,0x25,0xFB },
{ "PHA ", 0xF65C,0x05,0x02,0xFF,0x25,0xFA },
{ "LDY #$0A ", 0xF65D,0x05,0x02,0xFF,0x25,0xF9 },
{ "PLA ", 0xF65F,0x05,0x02,0x0A,0x25,0xF9 },
{ "PLP ", 0xF660,0x05,0x02,0x0A,0x25,0xFA },
{ "JSR $FAEF ", 0xF661,0x05,0x02,0x0A,0x25,0xFB },
{ "BVS $FB1B ", 0xFAEF,0x05,0x02,0x0A,0x25,0xF9 },
{ "BCC $FB1B ", 0xFAF1,0x05,0x02,0x0A,0x25,0xF9 },
{ "BMI $FB1B ", 0xFAF3,0x05,0x02,0x0A,0x25,0xF9 },
{ "CMP #$05 ", 0xFAF5,0x05,0x02,0x0A,0x25,0xF9 },
{ "BNE $FB1B ", 0xFAF7,0x05,0x02,0x0A,0x27,0xF9 },
{ "RTS ", 0xFAF9,0x05,0x02,0x0A,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF664,0x05,0x02,0x0A,0x27,0xFB },
{ "CMP #$52 ", 0xF667,0x52,0x02,0x0A,0x25,0xFB },
{ "BEQ $F66D ", 0xF669,0x52,0x02,0x0A,0x27,0xFB },
{ "LDY #$FF ", 0xF66D,0x52,0x02,0x0A,0x27,0xFB },
{ "LDA #$29 ", 0xF66F,0x52,0x02,0xFF,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xF671,0x29,0x02,0xFF,0x25,0xFB },
{ "JSR $FAFA ", 0xF674,0x29,0x02,0xFF,0x25,0xFB },
{ "CLV ", 0xFAFA,0x29,0x02,0xFF,0x25,0xF9 },
{ "CLC ", 0xFAFB,0x29,0x02,0xFF,0x25,0xF9 },
{ "LDA #$42 ", 0xFAFC,0x29,0x02,0xFF,0x24,0xF9 },
{ "RTS ", 0xFAFE,0x42,0x02,0xFF,0x24,0xF9 },
{ "RRA ($45),Y = 0548 @ 0647 = 29 ", 0xF677,0x42,0x02,0xFF,0x24,0xFB },
{ "NOP ", 0xF679,0x57,0x02,0xFF,0x24,0xFB },
{ "NOP ", 0xF67A,0x57,0x02,0xFF,0x24,0xFB },
{ "PHP ", 0xF67B,0x57,0x02,0xFF,0x24,0xFB },
{ "PHA ", 0xF67C,0x57,0x02,0xFF,0x24,0xFA },
{ "LDY #$0B ", 0xF67D,0x57,0x02,0xFF,0x24,0xF9 },
{ "PLA ", 0xF67F,0x57,0x02,0x0B,0x24,0xF9 },
{ "PLP ", 0xF680,0x57,0x02,0x0B,0x24,0xFA },
{ "JSR $FAFF ", 0xF681,0x57,0x02,0x0B,0x24,0xFB },
{ "BVS $FB1B ", 0xFAFF,0x57,0x02,0x0B,0x24,0xF9 },
{ "BMI $FB1B ", 0xFB01,0x57,0x02,0x0B,0x24,0xF9 },
{ "BCS $FB1B ", 0xFB03,0x57,0x02,0x0B,0x24,0xF9 },
{ "CMP #$57 ", 0xFB05,0x57,0x02,0x0B,0x24,0xF9 },
{ "BNE $FB1B ", 0xFB07,0x57,0x02,0x0B,0x27,0xF9 },
{ "RTS ", 0xFB09,0x57,0x02,0x0B,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF684,0x57,0x02,0x0B,0x27,0xFB },
{ "CMP #$14 ", 0xF687,0x14,0x02,0x0B,0x25,0xFB },
{ "BEQ $F68D ", 0xF689,0x14,0x02,0x0B,0x27,0xFB },
{ "LDY #$FF ", 0xF68D,0x14,0x02,0x0B,0x27,0xFB },
{ "LDA #$37 ", 0xF68F,0x14,0x02,0xFF,0xA5,0xFB },
{ "STA $0647 = 14 ", 0xF691,0x37,0x02,0xFF,0x25,0xFB },
{ "JSR $FB0A ", 0xF694,0x37,0x02,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB0A,0x37,0x02,0xFF,0x25,0xF9 },
{ "SEC ", 0xFB0C,0x37,0x02,0xFF,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB0D,0x37,0x02,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFB0F,0x75,0x02,0xFF,0x65,0xF9 },
{ "RRA ($45),Y = 0548 @ 0647 = 37 ", 0xF697,0x75,0x02,0xFF,0x65,0xFB },
{ "NOP ", 0xF699,0x11,0x02,0xFF,0x25,0xFB },
{ "NOP ", 0xF69A,0x11,0x02,0xFF,0x25,0xFB },
{ "PHP ", 0xF69B,0x11,0x02,0xFF,0x25,0xFB },
{ "PHA ", 0xF69C,0x11,0x02,0xFF,0x25,0xFA },
{ "LDY #$0C ", 0xF69D,0x11,0x02,0xFF,0x25,0xF9 },
{ "PLA ", 0xF69F,0x11,0x02,0x0C,0x25,0xF9 },
{ "PLP ", 0xF6A0,0x11,0x02,0x0C,0x25,0xFA },
{ "JSR $FB10 ", 0xF6A1,0x11,0x02,0x0C,0x25,0xFB },
{ "BVS $FB1B ", 0xFB10,0x11,0x02,0x0C,0x25,0xF9 },
{ "BMI $FB1B ", 0xFB12,0x11,0x02,0x0C,0x25,0xF9 },
{ "BCC $FB1B ", 0xFB14,0x11,0x02,0x0C,0x25,0xF9 },
{ "CMP #$11 ", 0xFB16,0x11,0x02,0x0C,0x25,0xF9 },
{ "BNE $FB1B ", 0xFB18,0x11,0x02,0x0C,0x27,0xF9 },
{ "RTS ", 0xFB1A,0x11,0x02,0x0C,0x27,0xF9 },
{ "LDA $0647 = 9B ", 0xF6A4,0x11,0x02,0x0C,0x27,0xFB },
{ "CMP #$9B ", 0xF6A7,0x9B,0x02,0x0C,0xA5,0xFB },
{ "BEQ $F6AD ", 0xF6A9,0x9B,0x02,0x0C,0x27,0xFB },
{ "LDY #$0D ", 0xF6AD,0x9B,0x02,0x0C,0x27,0xFB },
{ "LDX #$FF ", 0xF6AF,0x9B,0x02,0x0D,0x25,0xFB },
{ "LDA #$A5 ", 0xF6B1,0x9B,0xFF,0x0D,0xA5,0xFB },
{ "STA $47 = 9B ", 0xF6B3,0xA5,0xFF,0x0D,0xA5,0xFB },
{ "JSR $FAE9 ", 0xF6B5,0xA5,0xFF,0x0D,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAE9,0xA5,0xFF,0x0D,0xA5,0xF9 },
{ "CLC ", 0xFAEB,0xA5,0xFF,0x0D,0xE5,0xF9 },
{ "LDA #$B2 ", 0xFAEC,0xA5,0xFF,0x0D,0xE4,0xF9 },
{ "RTS ", 0xFAEE,0xB2,0xFF,0x0D,0xE4,0xF9 },
{ "RRA $48,X @ 47 = A5 ", 0xF6B8,0xB2,0xFF,0x0D,0xE4,0xFB },
{ "NOP ", 0xF6BA,0x05,0xFF,0x0D,0x25,0xFB },
{ "NOP ", 0xF6BB,0x05,0xFF,0x0D,0x25,0xFB },
{ "NOP ", 0xF6BC,0x05,0xFF,0x0D,0x25,0xFB },
{ "NOP ", 0xF6BD,0x05,0xFF,0x0D,0x25,0xFB },
{ "JSR $FAEF ", 0xF6BE,0x05,0xFF,0x0D,0x25,0xFB },
{ "BVS $FB1B ", 0xFAEF,0x05,0xFF,0x0D,0x25,0xF9 },
{ "BCC $FB1B ", 0xFAF1,0x05,0xFF,0x0D,0x25,0xF9 },
{ "BMI $FB1B ", 0xFAF3,0x05,0xFF,0x0D,0x25,0xF9 },
{ "CMP #$05 ", 0xFAF5,0x05,0xFF,0x0D,0x25,0xF9 },
{ "BNE $FB1B ", 0xFAF7,0x05,0xFF,0x0D,0x27,0xF9 },
{ "RTS ", 0xFAF9,0x05,0xFF,0x0D,0x27,0xF9 },
{ "LDA $47 = 52 ", 0xF6C1,0x05,0xFF,0x0D,0x27,0xFB },
{ "CMP #$52 ", 0xF6C3,0x52,0xFF,0x0D,0x25,0xFB },
{ "BEQ $F6C9 ", 0xF6C5,0x52,0xFF,0x0D,0x27,0xFB },
{ "INY ", 0xF6C9,0x52,0xFF,0x0D,0x27,0xFB },
{ "LDA #$29 ", 0xF6CA,0x52,0xFF,0x0E,0x25,0xFB },
{ "STA $47 = 52 ", 0xF6CC,0x29,0xFF,0x0E,0x25,0xFB },
{ "JSR $FAFA ", 0xF6CE,0x29,0xFF,0x0E,0x25,0xFB },
{ "CLV ", 0xFAFA,0x29,0xFF,0x0E,0x25,0xF9 },
{ "CLC ", 0xFAFB,0x29,0xFF,0x0E,0x25,0xF9 },
{ "LDA #$42 ", 0xFAFC,0x29,0xFF,0x0E,0x24,0xF9 },
{ "RTS ", 0xFAFE,0x42,0xFF,0x0E,0x24,0xF9 },
{ "RRA $48,X @ 47 = 29 ", 0xF6D1,0x42,0xFF,0x0E,0x24,0xFB },
{ "NOP ", 0xF6D3,0x57,0xFF,0x0E,0x24,0xFB },
{ "NOP ", 0xF6D4,0x57,0xFF,0x0E,0x24,0xFB },
{ "NOP ", 0xF6D5,0x57,0xFF,0x0E,0x24,0xFB },
{ "NOP ", 0xF6D6,0x57,0xFF,0x0E,0x24,0xFB },
{ "JSR $FAFF ", 0xF6D7,0x57,0xFF,0x0E,0x24,0xFB },
{ "BVS $FB1B ", 0xFAFF,0x57,0xFF,0x0E,0x24,0xF9 },
{ "BMI $FB1B ", 0xFB01,0x57,0xFF,0x0E,0x24,0xF9 },
{ "BCS $FB1B ", 0xFB03,0x57,0xFF,0x0E,0x24,0xF9 },
{ "CMP #$57 ", 0xFB05,0x57,0xFF,0x0E,0x24,0xF9 },
{ "BNE $FB1B ", 0xFB07,0x57,0xFF,0x0E,0x27,0xF9 },
{ "RTS ", 0xFB09,0x57,0xFF,0x0E,0x27,0xF9 },
{ "LDA $47 = 14 ", 0xF6DA,0x57,0xFF,0x0E,0x27,0xFB },
{ "CMP #$14 ", 0xF6DC,0x14,0xFF,0x0E,0x25,0xFB },
{ "BEQ $F6E2 ", 0xF6DE,0x14,0xFF,0x0E,0x27,0xFB },
{ "INY ", 0xF6E2,0x14,0xFF,0x0E,0x27,0xFB },
{ "LDA #$37 ", 0xF6E3,0x14,0xFF,0x0F,0x25,0xFB },
{ "STA $47 = 14 ", 0xF6E5,0x37,0xFF,0x0F,0x25,0xFB },
{ "JSR $FB0A ", 0xF6E7,0x37,0xFF,0x0F,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB0A,0x37,0xFF,0x0F,0x25,0xF9 },
{ "SEC ", 0xFB0C,0x37,0xFF,0x0F,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB0D,0x37,0xFF,0x0F,0xE5,0xF9 },
{ "RTS ", 0xFB0F,0x75,0xFF,0x0F,0x65,0xF9 },
{ "RRA $48,X @ 47 = 37 ", 0xF6EA,0x75,0xFF,0x0F,0x65,0xFB },
{ "NOP ", 0xF6EC,0x11,0xFF,0x0F,0x25,0xFB },
{ "NOP ", 0xF6ED,0x11,0xFF,0x0F,0x25,0xFB },
{ "NOP ", 0xF6EE,0x11,0xFF,0x0F,0x25,0xFB },
{ "NOP ", 0xF6EF,0x11,0xFF,0x0F,0x25,0xFB },
{ "JSR $FB10 ", 0xF6F0,0x11,0xFF,0x0F,0x25,0xFB },
{ "BVS $FB1B ", 0xFB10,0x11,0xFF,0x0F,0x25,0xF9 },
{ "BMI $FB1B ", 0xFB12,0x11,0xFF,0x0F,0x25,0xF9 },
{ "BCC $FB1B ", 0xFB14,0x11,0xFF,0x0F,0x25,0xF9 },
{ "CMP #$11 ", 0xFB16,0x11,0xFF,0x0F,0x25,0xF9 },
{ "BNE $FB1B ", 0xFB18,0x11,0xFF,0x0F,0x27,0xF9 },
{ "RTS ", 0xFB1A,0x11,0xFF,0x0F,0x27,0xF9 },
{ "LDA $47 = 9B ", 0xF6F3,0x11,0xFF,0x0F,0x27,0xFB },
{ "CMP #$9B ", 0xF6F5,0x9B,0xFF,0x0F,0xA5,0xFB },
{ "BEQ $F6FB ", 0xF6F7,0x9B,0xFF,0x0F,0x27,0xFB },
{ "LDA #$A5 ", 0xF6FB,0x9B,0xFF,0x0F,0x27,0xFB },
{ "STA $0647 = 9B ", 0xF6FD,0xA5,0xFF,0x0F,0xA5,0xFB },
{ "LDY #$FF ", 0xF700,0xA5,0xFF,0x0F,0xA5,0xFB },
{ "JSR $FAE9 ", 0xF702,0xA5,0xFF,0xFF,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAE9,0xA5,0xFF,0xFF,0xA5,0xF9 },
{ "CLC ", 0xFAEB,0xA5,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$B2 ", 0xFAEC,0xA5,0xFF,0xFF,0xE4,0xF9 },
{ "RTS ", 0xFAEE,0xB2,0xFF,0xFF,0xE4,0xF9 },
{ "RRA $0548,Y @ 0647 = A5 ", 0xF705,0xB2,0xFF,0xFF,0xE4,0xFB },
{ "NOP ", 0xF708,0x05,0xFF,0xFF,0x25,0xFB },
{ "NOP ", 0xF709,0x05,0xFF,0xFF,0x25,0xFB },
{ "PHP ", 0xF70A,0x05,0xFF,0xFF,0x25,0xFB },
{ "PHA ", 0xF70B,0x05,0xFF,0xFF,0x25,0xFA },
{ "LDY #$10 ", 0xF70C,0x05,0xFF,0xFF,0x25,0xF9 },
{ "PLA ", 0xF70E,0x05,0xFF,0x10,0x25,0xF9 },
{ "PLP ", 0xF70F,0x05,0xFF,0x10,0x25,0xFA },
{ "JSR $FAEF ", 0xF710,0x05,0xFF,0x10,0x25,0xFB },
{ "BVS $FB1B ", 0xFAEF,0x05,0xFF,0x10,0x25,0xF9 },
{ "BCC $FB1B ", 0xFAF1,0x05,0xFF,0x10,0x25,0xF9 },
{ "BMI $FB1B ", 0xFAF3,0x05,0xFF,0x10,0x25,0xF9 },
{ "CMP #$05 ", 0xFAF5,0x05,0xFF,0x10,0x25,0xF9 },
{ "BNE $FB1B ", 0xFAF7,0x05,0xFF,0x10,0x27,0xF9 },
{ "RTS ", 0xFAF9,0x05,0xFF,0x10,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF713,0x05,0xFF,0x10,0x27,0xFB },
{ "CMP #$52 ", 0xF716,0x52,0xFF,0x10,0x25,0xFB },
{ "BEQ $F71C ", 0xF718,0x52,0xFF,0x10,0x27,0xFB },
{ "LDY #$FF ", 0xF71C,0x52,0xFF,0x10,0x27,0xFB },
{ "LDA #$29 ", 0xF71E,0x52,0xFF,0xFF,0xA5,0xFB },
{ "STA $0647 = 52 ", 0xF720,0x29,0xFF,0xFF,0x25,0xFB },
{ "JSR $FAFA ", 0xF723,0x29,0xFF,0xFF,0x25,0xFB },
{ "CLV ", 0xFAFA,0x29,0xFF,0xFF,0x25,0xF9 },
{ "CLC ", 0xFAFB,0x29,0xFF,0xFF,0x25,0xF9 },
{ "LDA #$42 ", 0xFAFC,0x29,0xFF,0xFF,0x24,0xF9 },
{ "RTS ", 0xFAFE,0x42,0xFF,0xFF,0x24,0xF9 },
{ "RRA $0548,Y @ 0647 = 29 ", 0xF726,0x42,0xFF,0xFF,0x24,0xFB },
{ "NOP ", 0xF729,0x57,0xFF,0xFF,0x24,0xFB },
{ "NOP ", 0xF72A,0x57,0xFF,0xFF,0x24,0xFB },
{ "PHP ", 0xF72B,0x57,0xFF,0xFF,0x24,0xFB },
{ "PHA ", 0xF72C,0x57,0xFF,0xFF,0x24,0xFA },
{ "LDY #$11 ", 0xF72D,0x57,0xFF,0xFF,0x24,0xF9 },
{ "PLA ", 0xF72F,0x57,0xFF,0x11,0x24,0xF9 },
{ "PLP ", 0xF730,0x57,0xFF,0x11,0x24,0xFA },
{ "JSR $FAFF ", 0xF731,0x57,0xFF,0x11,0x24,0xFB },
{ "BVS $FB1B ", 0xFAFF,0x57,0xFF,0x11,0x24,0xF9 },
{ "BMI $FB1B ", 0xFB01,0x57,0xFF,0x11,0x24,0xF9 },
{ "BCS $FB1B ", 0xFB03,0x57,0xFF,0x11,0x24,0xF9 },
{ "CMP #$57 ", 0xFB05,0x57,0xFF,0x11,0x24,0xF9 },
{ "BNE $FB1B ", 0xFB07,0x57,0xFF,0x11,0x27,0xF9 },
{ "RTS ", 0xFB09,0x57,0xFF,0x11,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF734,0x57,0xFF,0x11,0x27,0xFB },
{ "CMP #$14 ", 0xF737,0x14,0xFF,0x11,0x25,0xFB },
{ "BEQ $F73D ", 0xF739,0x14,0xFF,0x11,0x27,0xFB },
{ "LDY #$FF ", 0xF73D,0x14,0xFF,0x11,0x27,0xFB },
{ "LDA #$37 ", 0xF73F,0x14,0xFF,0xFF,0xA5,0xFB },
{ "STA $0647 = 14 ", 0xF741,0x37,0xFF,0xFF,0x25,0xFB },
{ "JSR $FB0A ", 0xF744,0x37,0xFF,0xFF,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB0A,0x37,0xFF,0xFF,0x25,0xF9 },
{ "SEC ", 0xFB0C,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB0D,0x37,0xFF,0xFF,0xE5,0xF9 },
{ "RTS ", 0xFB0F,0x75,0xFF,0xFF,0x65,0xF9 },
{ "RRA $0548,Y @ 0647 = 37 ", 0xF747,0x75,0xFF,0xFF,0x65,0xFB },
{ "NOP ", 0xF74A,0x11,0xFF,0xFF,0x25,0xFB },
{ "NOP ", 0xF74B,0x11,0xFF,0xFF,0x25,0xFB },
{ "PHP ", 0xF74C,0x11,0xFF,0xFF,0x25,0xFB },
{ "PHA ", 0xF74D,0x11,0xFF,0xFF,0x25,0xFA },
{ "LDY #$12 ", 0xF74E,0x11,0xFF,0xFF,0x25,0xF9 },
{ "PLA ", 0xF750,0x11,0xFF,0x12,0x25,0xF9 },
{ "PLP ", 0xF751,0x11,0xFF,0x12,0x25,0xFA },
{ "JSR $FB10 ", 0xF752,0x11,0xFF,0x12,0x25,0xFB },
{ "BVS $FB1B ", 0xFB10,0x11,0xFF,0x12,0x25,0xF9 },
{ "BMI $FB1B ", 0xFB12,0x11,0xFF,0x12,0x25,0xF9 },
{ "BCC $FB1B ", 0xFB14,0x11,0xFF,0x12,0x25,0xF9 },
{ "CMP #$11 ", 0xFB16,0x11,0xFF,0x12,0x25,0xF9 },
{ "BNE $FB1B ", 0xFB18,0x11,0xFF,0x12,0x27,0xF9 },
{ "RTS ", 0xFB1A,0x11,0xFF,0x12,0x27,0xF9 },
{ "LDA $0647 = 9B ", 0xF755,0x11,0xFF,0x12,0x27,0xFB },
{ "CMP #$9B ", 0xF758,0x9B,0xFF,0x12,0xA5,0xFB },
{ "BEQ $F75E ", 0xF75A,0x9B,0xFF,0x12,0x27,0xFB },
{ "LDY #$13 ", 0xF75E,0x9B,0xFF,0x12,0x27,0xFB },
{ "LDX #$FF ", 0xF760,0x9B,0xFF,0x13,0x25,0xFB },
{ "LDA #$A5 ", 0xF762,0x9B,0xFF,0x13,0xA5,0xFB },
{ "STA $0647 = 9B ", 0xF764,0xA5,0xFF,0x13,0xA5,0xFB },
{ "JSR $FAE9 ", 0xF767,0xA5,0xFF,0x13,0xA5,0xFB },
{ "BIT $01 = FF ", 0xFAE9,0xA5,0xFF,0x13,0xA5,0xF9 },
{ "CLC ", 0xFAEB,0xA5,0xFF,0x13,0xE5,0xF9 },
{ "LDA #$B2 ", 0xFAEC,0xA5,0xFF,0x13,0xE4,0xF9 },
{ "RTS ", 0xFAEE,0xB2,0xFF,0x13,0xE4,0xF9 },
{ "RRA $0548,X @ 0647 = A5 ", 0xF76A,0xB2,0xFF,0x13,0xE4,0xFB },
{ "NOP ", 0xF76D,0x05,0xFF,0x13,0x25,0xFB },
{ "NOP ", 0xF76E,0x05,0xFF,0x13,0x25,0xFB },
{ "NOP ", 0xF76F,0x05,0xFF,0x13,0x25,0xFB },
{ "NOP ", 0xF770,0x05,0xFF,0x13,0x25,0xFB },
{ "JSR $FAEF ", 0xF771,0x05,0xFF,0x13,0x25,0xFB },
{ "BVS $FB1B ", 0xFAEF,0x05,0xFF,0x13,0x25,0xF9 },
{ "BCC $FB1B ", 0xFAF1,0x05,0xFF,0x13,0x25,0xF9 },
{ "BMI $FB1B ", 0xFAF3,0x05,0xFF,0x13,0x25,0xF9 },
{ "CMP #$05 ", 0xFAF5,0x05,0xFF,0x13,0x25,0xF9 },
{ "BNE $FB1B ", 0xFAF7,0x05,0xFF,0x13,0x27,0xF9 },
{ "RTS ", 0xFAF9,0x05,0xFF,0x13,0x27,0xF9 },
{ "LDA $0647 = 52 ", 0xF774,0x05,0xFF,0x13,0x27,0xFB },
{ "CMP #$52 ", 0xF777,0x52,0xFF,0x13,0x25,0xFB },
{ "BEQ $F77D ", 0xF779,0x52,0xFF,0x13,0x27,0xFB },
{ "INY ", 0xF77D,0x52,0xFF,0x13,0x27,0xFB },
{ "LDA #$29 ", 0xF77E,0x52,0xFF,0x14,0x25,0xFB },
{ "STA $0647 = 52 ", 0xF780,0x29,0xFF,0x14,0x25,0xFB },
{ "JSR $FAFA ", 0xF783,0x29,0xFF,0x14,0x25,0xFB },
{ "CLV ", 0xFAFA,0x29,0xFF,0x14,0x25,0xF9 },
{ "CLC ", 0xFAFB,0x29,0xFF,0x14,0x25,0xF9 },
{ "LDA #$42 ", 0xFAFC,0x29,0xFF,0x14,0x24,0xF9 },
{ "RTS ", 0xFAFE,0x42,0xFF,0x14,0x24,0xF9 },
{ "RRA $0548,X @ 0647 = 29 ", 0xF786,0x42,0xFF,0x14,0x24,0xFB },
{ "NOP ", 0xF789,0x57,0xFF,0x14,0x24,0xFB },
{ "NOP ", 0xF78A,0x57,0xFF,0x14,0x24,0xFB },
{ "NOP ", 0xF78B,0x57,0xFF,0x14,0x24,0xFB },
{ "NOP ", 0xF78C,0x57,0xFF,0x14,0x24,0xFB },
{ "JSR $FAFF ", 0xF78D,0x57,0xFF,0x14,0x24,0xFB },
{ "BVS $FB1B ", 0xFAFF,0x57,0xFF,0x14,0x24,0xF9 },
{ "BMI $FB1B ", 0xFB01,0x57,0xFF,0x14,0x24,0xF9 },
{ "BCS $FB1B ", 0xFB03,0x57,0xFF,0x14,0x24,0xF9 },
{ "CMP #$57 ", 0xFB05,0x57,0xFF,0x14,0x24,0xF9 },
{ "BNE $FB1B ", 0xFB07,0x57,0xFF,0x14,0x27,0xF9 },
{ "RTS ", 0xFB09,0x57,0xFF,0x14,0x27,0xF9 },
{ "LDA $0647 = 14 ", 0xF790,0x57,0xFF,0x14,0x27,0xFB },
{ "CMP #$14 ", 0xF793,0x14,0xFF,0x14,0x25,0xFB },
{ "BEQ $F799 ", 0xF795,0x14,0xFF,0x14,0x27,0xFB },
{ "INY ", 0xF799,0x14,0xFF,0x14,0x27,0xFB },
{ "LDA #$37 ", 0xF79A,0x14,0xFF,0x15,0x25,0xFB },
{ "STA $0647 = 14 ", 0xF79C,0x37,0xFF,0x15,0x25,0xFB },
{ "JSR $FB0A ", 0xF79F,0x37,0xFF,0x15,0x25,0xFB },
{ "BIT $01 = FF ", 0xFB0A,0x37,0xFF,0x15,0x25,0xF9 },
{ "SEC ", 0xFB0C,0x37,0xFF,0x15,0xE5,0xF9 },
{ "LDA #$75 ", 0xFB0D,0x37,0xFF,0x15,0xE5,0xF9 },
{ "RTS ", 0xFB0F,0x75,0xFF,0x15,0x65,0xF9 },
{ "RRA $0548,X @ 0647 = 37 ", 0xF7A2,0x75,0xFF,0x15,0x65,0xFB },
{ "NOP ", 0xF7A5,0x11,0xFF,0x15,0x25,0xFB },
{ "NOP ", 0xF7A6,0x11,0xFF,0x15,0x25,0xFB },
{ "NOP ", 0xF7A7,0x11,0xFF,0x15,0x25,0xFB },
{ "NOP ", 0xF7A8,0x11,0xFF,0x15,0x25,0xFB },
{ "JSR $FB10 ", 0xF7A9,0x11,0xFF,0x15,0x25,0xFB },
{ "BVS $FB1B ", 0xFB10,0x11,0xFF,0x15,0x25,0xF9 },
{ "BMI $FB1B ", 0xFB12,0x11,0xFF,0x15,0x25,0xF9 },
{ "BCC $FB1B ", 0xFB14,0x11,0xFF,0x15,0x25,0xF9 },
{ "CMP #$11 ", 0xFB16,0x11,0xFF,0x15,0x25,0xF9 },
{ "BNE $FB1B ", 0xFB18,0x11,0xFF,0x15,0x27,0xF9 },
{ "RTS ", 0xFB1A,0x11,0xFF,0x15,0x27,0xF9 },
{ "LDA $0647 = 9B ", 0xF7AC,0x11,0xFF,0x15,0x27,0xFB },
{ "CMP #$9B ", 0xF7AF,0x9B,0xFF,0x15,0xA5,0xFB },
{ "BEQ $F7B5 ", 0xF7B1,0x9B,0xFF,0x15,0x27,0xFB },
{ "RTS ", 0xF7B5,0x9B,0xFF,0x15,0x27,0xFB },
{ "LDA $00 = 00 ", 0xC655,0x9B,0xFF,0x15,0x27,0xFD },
{ "ORA $10 = 00 ", 0xC657,0x00,0xFF,0x15,0x27,0xFD },
{ "ORA $11 = 00 ", 0xC659,0x00,0xFF,0x15,0x27,0xFD },
{ "BEQ $C66B ", 0xC65B,0x00,0xFF,0x15,0x27,0xFD },
{ "JSR $C689 ", 0xC66B,0x00,0xFF,0x15,0x27,0xFD },
{ "LDA #$02 ", 0xC689,0x00,0xFF,0x15,0x27,0xFB },
{ "STA $4015 = FF ", 0xC68B,0x02,0xFF,0x15,0x25,0xFB },
{ "LDA #$3F ", 0xC68E,0x02,0xFF,0x15,0x25,0xFB },
{ "STA $4004 = FF ", 0xC690,0x3F,0xFF,0x15,0x25,0xFB },
{ "LDA #$9A ", 0xC693,0x3F,0xFF,0x15,0x25,0xFB },
{ "STA $4005 = FF ", 0xC695,0x9A,0xFF,0x15,0xA5,0xFB },
{ "LDA #$FF ", 0xC698,0x9A,0xFF,0x15,0xA5,0xFB },
{ "STA $4006 = FF ", 0xC69A,0xFF,0xFF,0x15,0xA5,0xFB },
{ "LDA #$00 ", 0xC69D,0xFF,0xFF,0x15,0xA5,0xFB },
{ "STA $4007 = FF ", 0xC69F,0x00,0xFF,0x15,0x27,0xFB },
{ "RTS ", 0xC6A2,0x00,0xFF,0x15,0x27,0xFB },
{ "RTS ", 0xC66E,0x00,0xFF,0x15,0x27,0xFD },
};
|
8138aa2cae2c1d07e54b2b6e350270b5a807fd55
|
7efe08063fd383640455cc709ef04c889b8ebc42
|
/src/secp256k1-zkp/include/secp256k1_rangeproof.h
|
be8d0df73d899f849559141487c9d9dffd430b24
|
[
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
litecoin-project/litecoin
|
0d55434c63e41409f3c69b43199a9cb6bd256a83
|
5ac781487cc9589131437b23c69829f04002b97e
|
refs/heads/master
| 2023-09-05T21:38:55.634991
| 2023-04-24T04:08:34
| 2023-05-12T06:47:49
| 4,646,198
| 4,040
| 4,600
|
MIT
| 2023-07-29T19:58:50
| 2012-06-13T04:18:26
|
C++
|
UTF-8
|
C
| false
| false
| 7,641
|
h
|
secp256k1_rangeproof.h
|
#ifndef _SECP256K1_RANGEPROOF_
# define _SECP256K1_RANGEPROOF_
# include "secp256k1.h"
# include "secp256k1_generator.h"
# include "secp256k1_commitment.h"
# ifdef __cplusplus
extern "C" {
# endif
#include <stdint.h>
/** Verify a proof that a committed value is within a range.
* Returns 1: Value is within the range [0..2^64), the specifically proven range is in the min/max value outputs.
* 0: Proof failed or other error.
* In: ctx: pointer to a context object, initialized for range-proof and commitment (cannot be NULL)
* commit: the commitment being proved. (cannot be NULL)
* proof: pointer to character array with the proof. (cannot be NULL)
* plen: length of proof in bytes.
* extra_commit: additional data covered in rangeproof signature
* extra_commit_len: length of extra_commit byte array (0 if NULL)
* gen: additional generator 'h'
* Out: min_value: pointer to a unsigned int64 which will be updated with the minimum value that commit could have. (cannot be NULL)
* max_value: pointer to a unsigned int64 which will be updated with the maximum value that commit could have. (cannot be NULL)
*/
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_rangeproof_verify(
const secp256k1_context* ctx,
uint64_t *min_value,
uint64_t *max_value,
const secp256k1_pedersen_commitment *commit,
const unsigned char *proof,
size_t plen,
const unsigned char *extra_commit,
size_t extra_commit_len,
const secp256k1_generator* gen
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4) SECP256K1_ARG_NONNULL(5) SECP256K1_ARG_NONNULL(9);
/** Verify a range proof proof and rewind the proof to recover information sent by its author.
* Returns 1: Value is within the range [0..2^64), the specifically proven range is in the min/max value outputs, and the value and blinding were recovered.
* 0: Proof failed, rewind failed, or other error.
* In: ctx: pointer to a context object, initialized for range-proof and Pedersen commitment (cannot be NULL)
* commit: the commitment being proved. (cannot be NULL)
* proof: pointer to character array with the proof. (cannot be NULL)
* plen: length of proof in bytes.
* nonce: 32-byte secret nonce used by the prover (cannot be NULL)
* extra_commit: additional data covered in rangeproof signature
* extra_commit_len: length of extra_commit byte array (0 if NULL)
* gen: additional generator 'h'
* In/Out: blind_out: storage for the 32-byte blinding factor used for the commitment
* value_out: pointer to an unsigned int64 which has the exact value of the commitment.
* message_out: pointer to a 4096 byte character array to receive message data from the proof author.
* outlen: length of message data written to message_out.
* min_value: pointer to an unsigned int64 which will be updated with the minimum value that commit could have. (cannot be NULL)
* max_value: pointer to an unsigned int64 which will be updated with the maximum value that commit could have. (cannot be NULL)
*/
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_rangeproof_rewind(
const secp256k1_context* ctx,
unsigned char *blind_out,
uint64_t *value_out,
unsigned char *message_out,
size_t *outlen,
const unsigned char *nonce,
uint64_t *min_value,
uint64_t *max_value,
const secp256k1_pedersen_commitment *commit,
const unsigned char *proof,
size_t plen,
const unsigned char *extra_commit,
size_t extra_commit_len,
const secp256k1_generator *gen
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(6) SECP256K1_ARG_NONNULL(7) SECP256K1_ARG_NONNULL(8) SECP256K1_ARG_NONNULL(9) SECP256K1_ARG_NONNULL(10) SECP256K1_ARG_NONNULL(14);
/** Author a proof that a committed value is within a range.
* Returns 1: Proof successfully created.
* 0: Error
* In: ctx: pointer to a context object, initialized for range-proof, signing, and Pedersen commitment (cannot be NULL)
* proof: pointer to array to receive the proof, can be up to 5134 bytes. (cannot be NULL)
* min_value: constructs a proof where the verifer can tell the minimum value is at least the specified amount.
* commit: the commitment being proved.
* blind: 32-byte blinding factor used by commit.
* nonce: 32-byte secret nonce used to initialize the proof (value can be reverse-engineered out of the proof if this secret is known.)
* exp: Base-10 exponent. Digits below above will be made public, but the proof will be made smaller. Allowed range is -1 to 18.
* (-1 is a special case that makes the value public. 0 is the most private.)
* min_bits: Number of bits of the value to keep private. (0 = auto/minimal, - 64).
* value: Actual value of the commitment.
* message: pointer to a byte array of data to be embedded in the rangeproof that can be recovered by rewinding the proof
* msg_len: size of the message to be embedded in the rangeproof
* extra_commit: additional data to be covered in rangeproof signature
* extra_commit_len: length of extra_commit byte array (0 if NULL)
* gen: additional generator 'h'
* In/out: plen: point to an integer with the size of the proof buffer and the size of the constructed proof.
*
* If min_value or exp is non-zero then the value must be on the range [0, 2^63) to prevent the proof range from spanning past 2^64.
*
* If exp is -1 the value is revealed by the proof (e.g. it proves that the proof is a blinding of a specific value, without revealing the blinding key.)
*
* This can randomly fail with probability around one in 2^100. If this happens, buy a lottery ticket and retry with a different nonce or blinding.
*
*/
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_rangeproof_sign(
const secp256k1_context* ctx,
unsigned char *proof,
size_t *plen,
uint64_t min_value,
const secp256k1_pedersen_commitment *commit,
const unsigned char *blind,
const unsigned char *nonce,
int exp,
int min_bits,
uint64_t value,
const unsigned char *message,
size_t msg_len,
const unsigned char *extra_commit,
size_t extra_commit_len,
const secp256k1_generator *gen
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(5) SECP256K1_ARG_NONNULL(6) SECP256K1_ARG_NONNULL(7) SECP256K1_ARG_NONNULL(15);
/** Extract some basic information from a range-proof.
* Returns 1: Information successfully extracted.
* 0: Decode failed.
* In: ctx: pointer to a context object
* proof: pointer to character array with the proof.
* plen: length of proof in bytes.
* Out: exp: Exponent used in the proof (-1 means the value isn't private).
* mantissa: Number of bits covered by the proof.
* min_value: pointer to an unsigned int64 which will be updated with the minimum value that commit could have. (cannot be NULL)
* max_value: pointer to an unsigned int64 which will be updated with the maximum value that commit could have. (cannot be NULL)
*/
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_rangeproof_info(
const secp256k1_context* ctx,
int *exp,
int *mantissa,
uint64_t *min_value,
uint64_t *max_value,
const unsigned char *proof,
size_t plen
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4) SECP256K1_ARG_NONNULL(5);
# ifdef __cplusplus
}
# endif
#endif
|
534c535b13ef87e9e6f5b92ccebbf02d964099b4
|
7ca8ffcdfb39ab4ffc2d8ff291e46ffabc8db6a2
|
/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/util.c
|
33a388fc6465d0cb83567a00e55fbea1a792e8a1
|
[
"CC-PDDC",
"CC0-1.0",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"CDDL-1.0",
"GCC-exception-3.1",
"MIT",
"EPL-1.0",
"Classpath-exception-2.0",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-jdom",
"CDDL-1.1",
"BSD-2-Clause",
"LicenseRef-scancode-unknown"
] |
permissive
|
apache/hadoop
|
ea2a4a370dd00d4a3806dd38df5b3cf6fd5b2c64
|
42b4525f75b828bf58170187f030b08622e238ab
|
refs/heads/trunk
| 2023-08-18T07:29:26.346912
| 2023-08-17T16:56:34
| 2023-08-17T16:56:34
| 23,418,517
| 16,088
| 10,600
|
Apache-2.0
| 2023-09-14T16:59:38
| 2014-08-28T07:00:08
|
Java
|
UTF-8
|
C
| false
| false
| 11,659
|
c
|
util.c
|
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "util.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <regex.h>
#include <stdio.h>
char** split_delimiter(char *value, const char *delim) {
char **return_values = NULL;
char **new_return_values;
char *temp_tok = NULL;
char *tempstr = NULL;
int size = 0;
int per_alloc_size = 10;
int return_values_size = per_alloc_size;
int failed = 0;
//first allocate any array of 10
if(value != NULL) {
return_values = (char **) malloc(sizeof(char *) * return_values_size);
if (!return_values) {
fprintf(ERRORFILE, "Allocation error for return_values in %s.\n",
__func__);
failed = 1;
goto cleanup;
}
memset(return_values, 0, sizeof(char *) * return_values_size);
temp_tok = strtok_r(value, delim, &tempstr);
if (NULL == temp_tok) {
return_values[size++] = strdup(value);
}
while (temp_tok != NULL) {
temp_tok = strdup(temp_tok);
if (NULL == temp_tok) {
fprintf(ERRORFILE, "Allocation error in %s.\n", __func__);
failed = 1;
goto cleanup;
}
return_values[size++] = temp_tok;
// Make sure returned values has enough space for the trailing NULL.
if (size >= return_values_size - 1) {
return_values_size += per_alloc_size;
new_return_values = (char **) realloc(return_values,(sizeof(char *) *
return_values_size));
if (!new_return_values) {
fprintf(ERRORFILE, "Reallocation error for return_values in %s.\n",
__func__);
failed = 1;
goto cleanup;
}
return_values = new_return_values;
// Make sure new added memory are filled with NULL
for (int i = size; i < return_values_size; i++) {
return_values[i] = NULL;
}
}
temp_tok = strtok_r(NULL, delim, &tempstr);
}
}
// Put trailing NULL to indicate values terminates.
if (return_values != NULL) {
return_values[size] = NULL;
}
cleanup:
if (failed) {
free_values(return_values);
return NULL;
}
return return_values;
}
/**
* Extracts array of values from the '%' separated list of values.
*/
char** split(char *value) {
return split_delimiter(value, "%");
}
// free an entry set of values
void free_values(char** values) {
if (values != NULL) {
int idx = 0;
while (values[idx]) {
free(values[idx]);
idx++;
}
free(values);
}
}
/**
* Trim whitespace from beginning and end.
*/
char* trim(const char* input) {
const char *val_begin;
const char *val_end;
char *ret;
if (input == NULL) {
return NULL;
}
val_begin = input;
val_end = input + strlen(input);
while (val_begin < val_end && isspace(*val_begin))
val_begin++;
while (val_end > val_begin && isspace(*(val_end - 1)))
val_end--;
ret = (char *) malloc(
sizeof(char) * (val_end - val_begin + 1));
if (ret == NULL) {
fprintf(ERRORFILE, "Allocation error\n");
exit(OUT_OF_MEMORY);
}
strncpy(ret, val_begin, val_end - val_begin);
ret[val_end - val_begin] = '\0';
return ret;
}
int execute_regex_match(const char *regex_str, const char *input) {
regex_t regex;
int regex_match;
if (0 != regcomp(®ex, regex_str, REG_EXTENDED|REG_NOSUB)) {
fprintf(LOGFILE, "Unable to compile regex.\n");
exit(ERROR_COMPILING_REGEX);
}
regex_match = regexec(®ex, input, (size_t) 0, NULL, 0);
regfree(®ex);
if(0 == regex_match) {
return 0;
}
return 1;
}
char* escape_single_quote(const char *str) {
int p = 0;
int i = 0;
char replacement[] = "'\"'\"'";
size_t replacement_length = strlen(replacement);
size_t ret_size = strlen(str) * replacement_length + 1;
char *ret = (char *) alloc_and_clear_memory(ret_size, sizeof(char));
if(ret == NULL) {
exit(OUT_OF_MEMORY);
}
while(str[p] != '\0') {
if(str[p] == '\'') {
strncat(ret, replacement, ret_size - strlen(ret));
i += replacement_length;
}
else {
ret[i] = str[p];
i++;
}
p++;
}
ret[i] = '\0';
return ret;
}
void quote_and_append_arg(char **str, size_t *size, const char* param, const char *arg) {
char *tmp = escape_single_quote(arg);
const char *append_format = "%s'%s' ";
size_t append_size = snprintf(NULL, 0, append_format, param, tmp);
append_size += 1; // for the terminating NUL
size_t len_str = strlen(*str);
size_t new_size = len_str + append_size;
if (new_size > *size) {
*size = new_size + QUOTE_AND_APPEND_ARG_GROWTH;
*str = (char *) realloc(*str, *size);
if (*str == NULL) {
exit(OUT_OF_MEMORY);
}
}
char *cur_ptr = *str + len_str;
sprintf(cur_ptr, append_format, param, tmp);
free(tmp);
}
const char *get_error_message(const int error_code) {
switch (error_code) {
case INVALID_ARGUMENT_NUMBER:
return "Invalid argument number";
case INVALID_COMMAND_PROVIDED:
return "Invalid command provided";
case INVALID_NM_ROOT_DIRS:
return "Invalid NM root dirs";
case SETUID_OPER_FAILED:
return "setuid operation failed";
case UNABLE_TO_EXECUTE_CONTAINER_SCRIPT:
return "Unable to execute container script";
case UNABLE_TO_SIGNAL_CONTAINER:
return "Unable to signal container";
case INVALID_CONTAINER_PID:
return "Invalid container PID";
case OUT_OF_MEMORY:
return "Out of memory";
case INITIALIZE_USER_FAILED:
return "Initialize user failed";
case PATH_TO_DELETE_IS_NULL:
return "Path to delete is null";
case INVALID_CONTAINER_EXEC_PERMISSIONS:
return "Invalid container-executor permissions";
case INVALID_CONFIG_FILE:
return "Invalid config file";
case SETSID_OPER_FAILED:
return "setsid operation failed";
case WRITE_PIDFILE_FAILED:
return "Write to pidfile failed";
case WRITE_CGROUP_FAILED:
return "Write to cgroup failed";
case TRAFFIC_CONTROL_EXECUTION_FAILED:
return "Traffic control execution failed";
case DOCKER_RUN_FAILED:
return "Docker run failed";
case ERROR_OPENING_DOCKER_FILE:
return "Error opening Docker file";
case ERROR_READING_DOCKER_FILE:
return "Error reading Docker file";
case FEATURE_DISABLED:
return "Feature disabled";
case COULD_NOT_CREATE_SCRIPT_COPY:
return "Could not create script copy";
case COULD_NOT_CREATE_CREDENTIALS_COPY:
return "Could not create credentials copy";
case COULD_NOT_CREATE_WORK_DIRECTORIES:
return "Could not create work dirs";
case COULD_NOT_CREATE_APP_LOG_DIRECTORIES:
return "Could not create app log dirs";
case COULD_NOT_CREATE_TMP_DIRECTORIES:
return "Could not create tmp dirs";
case ERROR_CREATE_CONTAINER_DIRECTORIES_ARGUMENTS:
return "Error in create container directories arguments";
case ERROR_SANITIZING_DOCKER_COMMAND:
return "Error sanitizing Docker command";
case DOCKER_IMAGE_INVALID:
return "Docker image invalid";
case ERROR_COMPILING_REGEX:
return "Error compiling regex";
case INVALID_CONTAINER_ID:
return "Invalid container id";
case DOCKER_EXEC_FAILED:
return "Docker exec failed";
case COULD_NOT_CREATE_KEYSTORE_COPY:
return "Could not create keystore copy";
case COULD_NOT_CREATE_TRUSTSTORE_COPY:
return "Could not create truststore copy";
case ERROR_CALLING_SETVBUF:
return "Error calling setvbuf";
case BUFFER_TOO_SMALL:
return "Buffer too small";
case INVALID_MOUNT:
return "Invalid mount";
case INVALID_RO_MOUNT:
return "Invalid read-only mount";
case INVALID_RW_MOUNT:
return "Invalid read-write mount";
case MOUNT_ACCESS_ERROR:
return "Mount access error";
case INVALID_DOCKER_COMMAND_FILE:
return "Invalid docker command file passed";
case INCORRECT_DOCKER_COMMAND:
return "Incorrect command";
case INVALID_DOCKER_CONTAINER_NAME:
return "Invalid docker container name";
case INVALID_DOCKER_IMAGE_NAME:
return "Invalid docker image name";
case INVALID_DOCKER_USER_NAME:
return "Invalid docker user name";
case INVALID_DOCKER_INSPECT_FORMAT:
return "Invalid docker inspect format";
case UNKNOWN_DOCKER_COMMAND:
return "Unknown docker command";
case INVALID_DOCKER_NETWORK:
return "Invalid docker network";
case INVALID_DOCKER_PORTS_MAPPING:
return "Invalid docker ports mapping";
case INVALID_DOCKER_CAPABILITY:
return "Invalid docker capability";
case PRIVILEGED_DOCKER_CONTAINERS_DISABLED:
return "Privileged docker containers are disabled";
case INVALID_DOCKER_DEVICE:
return "Invalid docker device";
case INVALID_DOCKER_STOP_COMMAND:
return "Invalid docker stop command";
case INVALID_DOCKER_KILL_COMMAND:
return "Invalid docker kill command";
case INVALID_DOCKER_VOLUME_DRIVER:
return "Invalid docker volume-driver";
case INVALID_DOCKER_VOLUME_NAME:
return "Invalid docker volume name";
case INVALID_DOCKER_VOLUME_COMMAND:
return "Invalid docker volume command";
case DOCKER_PID_HOST_DISABLED:
return "Docker host pid namespace is disabled";
case INVALID_DOCKER_PID_NAMESPACE:
return "Invalid docker pid namespace";
case INVALID_DOCKER_IMAGE_TRUST:
return "Docker image is not trusted";
case INVALID_DOCKER_TMPFS_MOUNT:
return "Invalid docker tmpfs mount";
case INVALID_DOCKER_RUNTIME:
return "Invalid docker runtime";
case DOCKER_SERVICE_MODE_DISABLED:
return "Docker service mode disabled";
case ERROR_RUNC_SETUP_FAILED:
return "runC setup failed";
case ERROR_RUNC_RUN_FAILED:
return "runC run failed";
case ERROR_RUNC_REAP_LAYER_MOUNTS_FAILED:
return "runC reap layer mounts failed";
case CANNOT_GET_EXECUTABLE_NAME_FROM_READLINK:
return "Cannot get executable name from readlink";
case TOO_LONG_EXECUTOR_PATH:
return "Too long executor path";
case CANNOT_GET_EXECUTABLE_NAME_FROM_KERNEL:
return "Cannot get executable name from kernel";
case CANNOT_GET_EXECUTABLE_NAME_FROM_PID:
return "Cannot get executable name from pid";
case WRONG_PATH_OF_EXECUTABLE:
return "Wrong path of executable";
default:
return "Unknown error code";
}
}
int is_regex(const char *str) {
// regex should begin with prefix "regex:"
return (strncmp(str, "regex:", 6) == 0);
}
|
e2d13941ea3682f789aceb9fc32ddb18354df934
|
eb9f655206c43c12b497c667ba56a0d358b6bc3a
|
/plugins/hg4idea/testData/bin/mercurial/util.h
|
febd4fa2f16b41a385f8f828d5bf938ae7fc0d27
|
[
"Apache-2.0"
] |
permissive
|
JetBrains/intellij-community
|
2ed226e200ecc17c037dcddd4a006de56cd43941
|
05dbd4575d01a213f3f4d69aa4968473f2536142
|
refs/heads/master
| 2023-09-03T17:06:37.560889
| 2023-09-03T11:51:00
| 2023-09-03T12:12:27
| 2,489,216
| 16,288
| 6,635
|
Apache-2.0
| 2023-09-12T07:41:58
| 2011-09-30T13:33:05
| null |
UTF-8
|
C
| false
| false
| 5,149
|
h
|
util.h
|
/*
util.h - utility functions for interfacing with the various python APIs.
This software may be used and distributed according to the terms of
the GNU General Public License, incorporated herein by reference.
*/
#ifndef _HG_UTIL_H_
#define _HG_UTIL_H_
#if PY_MAJOR_VERSION >= 3
#define IS_PY3K
#define PyInt_FromLong PyLong_FromLong
#define PyInt_AsLong PyLong_AsLong
/*
Mapping of some of the python < 2.x PyString* functions to py3k's PyUnicode.
The commented names below represent those that are present in the PyBytes
definitions for python < 2.6 (below in this file) that don't have a direct
implementation.
*/
#define PyStringObject PyUnicodeObject
#define PyString_Type PyUnicode_Type
#define PyString_Check PyUnicode_Check
#define PyString_CheckExact PyUnicode_CheckExact
#define PyString_CHECK_INTERNED PyUnicode_CHECK_INTERNED
#define PyString_AS_STRING PyUnicode_AsLatin1String
#define PyString_GET_SIZE PyUnicode_GET_SIZE
#define PyString_FromStringAndSize PyUnicode_FromStringAndSize
#define PyString_FromString PyUnicode_FromString
#define PyString_FromFormatV PyUnicode_FromFormatV
#define PyString_FromFormat PyUnicode_FromFormat
/* #define PyString_Size PyUnicode_GET_SIZE */
/* #define PyString_AsString */
/* #define PyString_Repr */
#define PyString_Concat PyUnicode_Concat
#define PyString_ConcatAndDel PyUnicode_AppendAndDel
#define _PyString_Resize PyUnicode_Resize
/* #define _PyString_Eq */
#define PyString_Format PyUnicode_Format
/* #define _PyString_FormatLong */
/* #define PyString_DecodeEscape */
#define _PyString_Join PyUnicode_Join
#define PyString_Decode PyUnicode_Decode
#define PyString_Encode PyUnicode_Encode
#define PyString_AsEncodedObject PyUnicode_AsEncodedObject
#define PyString_AsEncodedString PyUnicode_AsEncodedString
#define PyString_AsDecodedObject PyUnicode_AsDecodedObject
#define PyString_AsDecodedString PyUnicode_AsDecodedUnicode
/* #define PyString_AsStringAndSize */
#define _PyString_InsertThousandsGrouping _PyUnicode_InsertThousandsGrouping
#endif /* PY_MAJOR_VERSION */
/* Backports from 2.6 */
#if PY_VERSION_HEX < 0x02060000
#define Py_TYPE(ob) (ob)->ob_type
#define Py_SIZE(ob) (ob)->ob_size
#define PyVarObject_HEAD_INIT(type, size) PyObject_HEAD_INIT(type) size,
/* Shamelessly stolen from bytesobject.h */
#define PyBytesObject PyStringObject
#define PyBytes_Type PyString_Type
#define PyBytes_Check PyString_Check
#define PyBytes_CheckExact PyString_CheckExact
#define PyBytes_CHECK_INTERNED PyString_CHECK_INTERNED
#define PyBytes_AS_STRING PyString_AS_STRING
#define PyBytes_GET_SIZE PyString_GET_SIZE
#define Py_TPFLAGS_BYTES_SUBCLASS Py_TPFLAGS_STRING_SUBCLASS
#define PyBytes_FromStringAndSize PyString_FromStringAndSize
#define PyBytes_FromString PyString_FromString
#define PyBytes_FromFormatV PyString_FromFormatV
#define PyBytes_FromFormat PyString_FromFormat
#define PyBytes_Size PyString_Size
#define PyBytes_AsString PyString_AsString
#define PyBytes_Repr PyString_Repr
#define PyBytes_Concat PyString_Concat
#define PyBytes_ConcatAndDel PyString_ConcatAndDel
#define _PyBytes_Resize _PyString_Resize
#define _PyBytes_Eq _PyString_Eq
#define PyBytes_Format PyString_Format
#define _PyBytes_FormatLong _PyString_FormatLong
#define PyBytes_DecodeEscape PyString_DecodeEscape
#define _PyBytes_Join _PyString_Join
#define PyBytes_Decode PyString_Decode
#define PyBytes_Encode PyString_Encode
#define PyBytes_AsEncodedObject PyString_AsEncodedObject
#define PyBytes_AsEncodedString PyString_AsEncodedString
#define PyBytes_AsDecodedObject PyString_AsDecodedObject
#define PyBytes_AsDecodedString PyString_AsDecodedString
#define PyBytes_AsStringAndSize PyString_AsStringAndSize
#define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping
#endif /* PY_VERSION_HEX */
#if (PY_VERSION_HEX < 0x02050000)
/* Definitions to get compatibility with python 2.4 and earlier which
does not have Py_ssize_t. See also PEP 353.
Note: msvc (8 or earlier) does not have ssize_t, so we use Py_ssize_t.
*/
typedef int Py_ssize_t;
typedef Py_ssize_t (*lenfunc)(PyObject *);
typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
#define PyInt_FromSsize_t PyInt_FromLong
#if !defined(PY_SSIZE_T_MIN)
#define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN INT_MIN
#endif
#endif
#ifdef _WIN32
#ifdef _MSC_VER
/* msvc 6.0 has problems */
#define inline __inline
typedef unsigned char uint8_t;
typedef unsigned long uint32_t;
typedef unsigned __int64 uint64_t;
#else
#include <stdint.h>
#endif
#else
/* not windows */
#include <sys/types.h>
#if defined __BEOS__ && !defined __HAIKU__
#include <ByteOrder.h>
#else
#include <arpa/inet.h>
#endif
#include <inttypes.h>
#endif
#if defined __hpux || defined __SUNPRO_C || defined _AIX
#define inline
#endif
#ifdef __linux
#define inline __inline
#endif
static inline uint32_t getbe32(const char *c)
{
const unsigned char *d = (const unsigned char *)c;
return ((d[0] << 24) |
(d[1] << 16) |
(d[2] << 8) |
(d[3]));
}
static inline void putbe32(uint32_t x, char *c)
{
c[0] = (x >> 24) & 0xff;
c[1] = (x >> 16) & 0xff;
c[2] = (x >> 8) & 0xff;
c[3] = (x) & 0xff;
}
#endif /* _HG_UTIL_H_ */
|
dc128df4b0625acb971a3af6e7bb02669d4658cd
|
bece8b97cdb15988562c8c8dc27a5b58cd3acb90
|
/wizard_spider/Resources/Mimikatz/mimikatz/modules/rpc/kull_m_rpc_ms-nrpc_c.c
|
534f8d7240ce1ded7d0955509bcfe55ad5425c1a
|
[
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
center-for-threat-informed-defense/adversary_emulation_library
|
4382e78f56faa635d5a6cc89bce5b36f3b74476c
|
4b1d1327ebfbd550ba7e5f1b5562c1f3db61311e
|
refs/heads/master
| 2023-08-12T20:08:57.078612
| 2023-07-17T16:54:16
| 2023-07-17T16:54:16
| 259,753,257
| 1,220
| 243
|
Apache-2.0
| 2023-09-06T16:23:00
| 2020-04-28T21:16:54
|
C
|
UTF-8
|
C
| false
| false
| 10,005
|
c
|
kull_m_rpc_ms-nrpc_c.c
|
#include "kull_m_rpc_ms-nrpc.h"
typedef struct _netlogon_MIDL_TYPE_FORMAT_STRING {
SHORT Pad;
UCHAR Format[101];
} netlogon_MIDL_TYPE_FORMAT_STRING;
typedef struct _netlogon_MIDL_PROC_FORMAT_STRING {
SHORT Pad;
#if defined(_M_X64) || defined(_M_ARM64) // TODO:ARM64
CHAR Format[309];
#elif defined(_M_IX86)
CHAR Format[301];
#endif
} netlogon_MIDL_PROC_FORMAT_STRING;
extern const netlogon_MIDL_TYPE_FORMAT_STRING netlogon__MIDL_TypeFormatString;
extern const netlogon_MIDL_PROC_FORMAT_STRING netlogon__MIDL_ProcFormatString;
static const RPC_CLIENT_INTERFACE logon___RpcClientInterface = {sizeof(RPC_CLIENT_INTERFACE), {{0x12345678, 0x1234, 0xabcd, {0xef, 0x00, 0x01, 0x23, 0x45, 0x67, 0xcf, 0xfb}}, {1, 0}}, {{0x8a885d04, 0x1ceb, 0x11c9, {0x9f, 0xe8, 0x08, 0x00, 0x2b, 0x10, 0x48, 0x60}}, {2, 0}}, 0, 0, 0, 0, 0, 0x00000000};
RPC_IF_HANDLE logon_v1_0_c_ifspec = (RPC_IF_HANDLE) &logon___RpcClientInterface;
handle_t hLogon;
static const GENERIC_BINDING_ROUTINE_PAIR BindingRoutines[] = {{(GENERIC_BINDING_ROUTINE) LOGONSRV_HANDLE_bind, (GENERIC_UNBIND_ROUTINE) LOGONSRV_HANDLE_unbind}};
static const MIDL_STUB_DESC logon_StubDesc = {(void *) &logon___RpcClientInterface, MIDL_user_allocate, MIDL_user_free, &hLogon, 0, BindingRoutines, 0, 0, netlogon__MIDL_TypeFormatString.Format, 1, 0x60000, 0, 0x8000253, 0, 0, 0, 0x1, 0, 0, 0};
#if defined(_M_X64) || defined(_M_ARM64) // TODO:ARM64
NTSTATUS NetrServerReqChallenge(IN LOGONSRV_HANDLE PrimaryName, IN wchar_t *ComputerName, IN PNETLOGON_CREDENTIAL ClientChallenge, OUT PNETLOGON_CREDENTIAL ServerChallenge)
{
return (NTSTATUS) NdrClientCall2((PMIDL_STUB_DESC) &logon_StubDesc, (PFORMAT_STRING) &netlogon__MIDL_ProcFormatString.Format[0], PrimaryName, ComputerName, ClientChallenge, ServerChallenge).Simple;
}
NTSTATUS NetrServerAuthenticate2(IN LOGONSRV_HANDLE PrimaryName, IN wchar_t *AccountName, IN NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, IN wchar_t *ComputerName, IN PNETLOGON_CREDENTIAL ClientCredential, OUT PNETLOGON_CREDENTIAL ServerCredential, IN OUT ULONG *NegotiateFlags)
{
return (NTSTATUS) NdrClientCall2((PMIDL_STUB_DESC) &logon_StubDesc, (PFORMAT_STRING) &netlogon__MIDL_ProcFormatString.Format[62], PrimaryName, AccountName, SecureChannelType, ComputerName, ClientCredential, ServerCredential, NegotiateFlags).Simple;
}
NTSTATUS NetrServerPasswordSet2(IN LOGONSRV_HANDLE PrimaryName, IN wchar_t *AccountName, IN NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, IN wchar_t *ComputerName, IN PNETLOGON_AUTHENTICATOR Authenticator, OUT PNETLOGON_AUTHENTICATOR ReturnAuthenticator, IN PNL_TRUST_PASSWORD ClearNewPassword)
{
return (NTSTATUS) NdrClientCall2((PMIDL_STUB_DESC) &logon_StubDesc, (PFORMAT_STRING) &netlogon__MIDL_ProcFormatString.Format[142], PrimaryName, AccountName, SecureChannelType, ComputerName, Authenticator, ReturnAuthenticator, ClearNewPassword).Simple;
}
NTSTATUS NetrServerTrustPasswordsGet(IN LOGONSRV_HANDLE TrustedDcName, IN wchar_t *AccountName, IN NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, IN wchar_t *ComputerName, IN PNETLOGON_AUTHENTICATOR Authenticator, OUT PNETLOGON_AUTHENTICATOR ReturnAuthenticator, OUT PENCRYPTED_NT_OWF_PASSWORD EncryptedNewOwfPassword, OUT PENCRYPTED_NT_OWF_PASSWORD EncryptedOldOwfPassword)
{
return (NTSTATUS) NdrClientCall2((PMIDL_STUB_DESC) &logon_StubDesc, (PFORMAT_STRING) &netlogon__MIDL_ProcFormatString.Format[222], TrustedDcName, AccountName, SecureChannelType, ComputerName, Authenticator, ReturnAuthenticator, EncryptedNewOwfPassword, EncryptedOldOwfPassword).Simple;
}
static const netlogon_MIDL_PROC_FORMAT_STRING netlogon__MIDL_ProcFormatString = {0, {
0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x28, 0x00, 0x31, 0x08, 0x00, 0x00, 0x00, 0x5c, 0x3c, 0x00, 0x44, 0x00, 0x46, 0x05, 0x0a, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x0b, 0x00, 0x00, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x08, 0x00, 0x08, 0x00, 0x0a, 0x01, 0x10, 0x00, 0x14, 0x00, 0x12, 0x21, 0x18, 0x00, 0x14, 0x00, 0x70, 0x00, 0x20, 0x00, 0x08, 0x00, 0x00, 0x48,
0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x40, 0x00, 0x31, 0x08, 0x00, 0x00, 0x00, 0x5c, 0x5e, 0x00, 0x60, 0x00, 0x46, 0x08, 0x0a, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00,
0x00, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x08, 0x00, 0x08, 0x00, 0x48, 0x00, 0x10, 0x00, 0x0d, 0x00, 0x0b, 0x01, 0x18, 0x00, 0x08, 0x00, 0x0a, 0x01, 0x20, 0x00, 0x14, 0x00, 0x12, 0x21, 0x28, 0x00,
0x14, 0x00, 0x58, 0x01, 0x30, 0x00, 0x08, 0x00, 0x70, 0x00, 0x38, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x40, 0x00, 0x31, 0x08, 0x00, 0x00, 0x00, 0x5c, 0x8e, 0x02,
0x58, 0x00, 0x46, 0x08, 0x0a, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x08, 0x00, 0x08, 0x00, 0x48, 0x00, 0x10, 0x00, 0x0d, 0x00,
0x0b, 0x01, 0x18, 0x00, 0x08, 0x00, 0x0a, 0x01, 0x20, 0x00, 0x2a, 0x00, 0x12, 0x41, 0x28, 0x00, 0x2a, 0x00, 0x0a, 0x01, 0x30, 0x00, 0x42, 0x00, 0x70, 0x00, 0x38, 0x00, 0x08, 0x00, 0x00, 0x48,
0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x48, 0x00, 0x31, 0x08, 0x00, 0x00, 0x00, 0x5c, 0x56, 0x00, 0x40, 0x01, 0x46, 0x09, 0x0a, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00,
0x00, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x08, 0x00, 0x08, 0x00, 0x48, 0x00, 0x10, 0x00, 0x0d, 0x00, 0x0b, 0x01, 0x18, 0x00, 0x08, 0x00, 0x0a, 0x01, 0x20, 0x00, 0x2a, 0x00, 0x12, 0x41, 0x28, 0x00,
0x2a, 0x00, 0x12, 0x41, 0x30, 0x00, 0x5a, 0x00, 0x12, 0x41, 0x38, 0x00, 0x5a, 0x00, 0x70, 0x00, 0x40, 0x00, 0x08, 0x00, 0x00,
}};
#elif defined(_M_IX86)
#pragma optimize("", off)
NTSTATUS NetrServerReqChallenge(IN LOGONSRV_HANDLE PrimaryName, IN wchar_t *ComputerName, IN PNETLOGON_CREDENTIAL ClientChallenge, OUT PNETLOGON_CREDENTIAL ServerChallenge)
{
return (NTSTATUS) NdrClientCall2((PMIDL_STUB_DESC) &logon_StubDesc, (PFORMAT_STRING) &netlogon__MIDL_ProcFormatString.Format[0], (unsigned char *) &PrimaryName).Simple;
}
NTSTATUS NetrServerAuthenticate2(IN LOGONSRV_HANDLE PrimaryName, IN wchar_t *AccountName, IN NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, IN wchar_t *ComputerName, IN PNETLOGON_CREDENTIAL ClientCredential, OUT PNETLOGON_CREDENTIAL ServerCredential, IN OUT ULONG *NegotiateFlags)
{
return (NTSTATUS) NdrClientCall2((PMIDL_STUB_DESC) &logon_StubDesc, (PFORMAT_STRING) &netlogon__MIDL_ProcFormatString.Format[60], (unsigned char *) &PrimaryName).Simple;
}
NTSTATUS NetrServerPasswordSet2(IN LOGONSRV_HANDLE PrimaryName, IN wchar_t *AccountName, IN NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, IN wchar_t *ComputerName, IN PNETLOGON_AUTHENTICATOR Authenticator, OUT PNETLOGON_AUTHENTICATOR ReturnAuthenticator, IN PNL_TRUST_PASSWORD ClearNewPassword)
{
return (NTSTATUS) NdrClientCall2((PMIDL_STUB_DESC) &logon_StubDesc, (PFORMAT_STRING) &netlogon__MIDL_ProcFormatString.Format[138], (unsigned char *) &PrimaryName).Simple;
}
NTSTATUS NetrServerTrustPasswordsGet(IN LOGONSRV_HANDLE TrustedDcName, IN wchar_t *AccountName, IN NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, IN wchar_t *ComputerName, IN PNETLOGON_AUTHENTICATOR Authenticator, OUT PNETLOGON_AUTHENTICATOR ReturnAuthenticator, OUT PENCRYPTED_NT_OWF_PASSWORD EncryptedNewOwfPassword, OUT PENCRYPTED_NT_OWF_PASSWORD EncryptedOldOwfPassword)
{
return (NTSTATUS) NdrClientCall2((PMIDL_STUB_DESC) &logon_StubDesc, (PFORMAT_STRING) &netlogon__MIDL_ProcFormatString.Format[216], (unsigned char *) &TrustedDcName).Simple;
}
#pragma optimize("", on)
static const netlogon_MIDL_PROC_FORMAT_STRING netlogon__MIDL_ProcFormatString = {0, {
0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x14, 0x00, 0x31, 0x04, 0x00, 0x00, 0x00, 0x5c, 0x3c, 0x00, 0x44, 0x00, 0x46, 0x05, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00,
0x00, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x04, 0x00, 0x08, 0x00, 0x0a, 0x01, 0x08, 0x00, 0x14, 0x00, 0x12, 0x21, 0x0c, 0x00, 0x14, 0x00, 0x70, 0x00, 0x10, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00,
0x00, 0x00, 0x0f, 0x00, 0x20, 0x00, 0x31, 0x04, 0x00, 0x00, 0x00, 0x5c, 0x5e, 0x00, 0x60, 0x00, 0x46, 0x08, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x02, 0x00,
0x0b, 0x01, 0x04, 0x00, 0x08, 0x00, 0x48, 0x00, 0x08, 0x00, 0x0d, 0x00, 0x0b, 0x01, 0x0c, 0x00, 0x08, 0x00, 0x0a, 0x01, 0x10, 0x00, 0x14, 0x00, 0x12, 0x21, 0x14, 0x00, 0x14, 0x00, 0x58, 0x01,
0x18, 0x00, 0x08, 0x00, 0x70, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x20, 0x00, 0x31, 0x04, 0x00, 0x00, 0x00, 0x5c, 0x8e, 0x02, 0x58, 0x00, 0x46, 0x08,
0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x04, 0x00, 0x08, 0x00, 0x48, 0x00, 0x08, 0x00, 0x0d, 0x00, 0x0b, 0x01, 0x0c, 0x00, 0x08, 0x00,
0x0a, 0x01, 0x10, 0x00, 0x2a, 0x00, 0x12, 0x41, 0x14, 0x00, 0x2a, 0x00, 0x0a, 0x01, 0x18, 0x00, 0x42, 0x00, 0x70, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x2a, 0x00,
0x24, 0x00, 0x31, 0x04, 0x00, 0x00, 0x00, 0x5c, 0x56, 0x00, 0x40, 0x01, 0x46, 0x09, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x02, 0x00, 0x0b, 0x01, 0x04, 0x00,
0x08, 0x00, 0x48, 0x00, 0x08, 0x00, 0x0d, 0x00, 0x0b, 0x01, 0x0c, 0x00, 0x08, 0x00, 0x0a, 0x01, 0x10, 0x00, 0x2a, 0x00, 0x12, 0x41, 0x14, 0x00, 0x2a, 0x00, 0x12, 0x41, 0x18, 0x00, 0x5a, 0x00,
0x12, 0x41, 0x1c, 0x00, 0x5a, 0x00, 0x70, 0x00, 0x20, 0x00, 0x08, 0x00, 0x00,
}};
#endif
static const netlogon_MIDL_TYPE_FORMAT_STRING netlogon__MIDL_TypeFormatString = {0, {
0x00, 0x00, 0x12, 0x08, 0x25, 0x5c, 0x11, 0x08, 0x25, 0x5c, 0x11, 0x00, 0x08, 0x00, 0x1d, 0x00, 0x08, 0x00, 0x02, 0x5b, 0x15, 0x00, 0x08, 0x00, 0x4c, 0x00, 0xf4, 0xff, 0x5c, 0x5b, 0x11, 0x04,
0xf4, 0xff, 0x11, 0x08, 0x08, 0x5c, 0x11, 0x00, 0x02, 0x00, 0x15, 0x03, 0x0c, 0x00, 0x4c, 0x00, 0xe4, 0xff, 0x08, 0x5b, 0x11, 0x04, 0xf4, 0xff, 0x11, 0x00, 0x08, 0x00, 0x1d, 0x01, 0x00, 0x02,
0x05, 0x5b, 0x15, 0x03, 0x04, 0x02, 0x4c, 0x00, 0xf4, 0xff, 0x08, 0x5b, 0x11, 0x04, 0x0c, 0x00, 0x1d, 0x00, 0x10, 0x00, 0x4c, 0x00, 0xbe, 0xff, 0x5c, 0x5b, 0x15, 0x00, 0x10, 0x00, 0x4c, 0x00,
0xf0, 0xff, 0x5c, 0x5b, 0x00,
}};
|
938263541b7f7d4da9c2cd1686329dbe451c51fa
|
9907672fcd81ab73ac63b2a83422a82bf31eadde
|
/tyama_PKU2590-TJU1339-ZJU1871.c
|
aefb4900356ca05db7ab1fb0d86bfc713860a1a7
|
[
"0BSD"
] |
permissive
|
cielavenir/procon
|
bbe1974b9bddb51b76d58722a0686a5b477c4456
|
746e1a91f574f20647e8aaaac0d9e6173f741176
|
refs/heads/master
| 2023-06-21T23:11:24.562546
| 2023-06-11T13:15:15
| 2023-06-11T13:15:15
| 7,557,464
| 137
| 136
| null | 2020-10-20T09:35:52
| 2013-01-11T09:40:26
|
C++
|
UTF-8
|
C
| false
| false
| 382
|
c
|
tyama_PKU2590-TJU1339-ZJU1871.c
|
int step(int n){
int i=2,ret=0,x;
if(n<=2)return n;
while(1){
ret+=i;x=n-ret;
if(x<=0)return i;
if(x<=(i>>1)+1)return i+1;
i+=2;
}
}
int main(){
int x,y,n;
scanf("%d",&n);
for(;n;n--){
scanf("%d%d",&x,&y);
printf("%d\n",step(y-x));
}
return 0;
}
/*bootstrap for ZJU1871*/
/*main(x,y){for(;~scanf("%d%d",&x,&y);printf("%d\n",step(y-x));}*/
|
18c29b7d8973d7e24c29545f24bf5834fa120074
|
a4d8fcfa8084c5d36a862aeb0978327ff4cfe50f
|
/effects/floor/floor.c
|
b7f900c8a99c7d2a585d624cbaf8d2709927bf0f
|
[
"Artistic-2.0"
] |
permissive
|
cahirwpz/demoscene
|
a0b548527d89a354b5b8dfd922f39d8b14d61643
|
cd4517ba69e26c96a69e505e305a6d0152972982
|
refs/heads/master
| 2023-03-17T13:06:43.731158
| 2023-03-13T19:48:47
| 2023-03-13T19:48:47
| 3,242,770
| 105
| 21
|
Artistic-2.0
| 2022-10-18T09:43:25
| 2012-01-22T23:03:06
|
C
|
UTF-8
|
C
| false
| false
| 6,014
|
c
|
floor.c
|
/*
* The general idea behind this effect is to dynamically manipulate
* the palette of the pre-rendered grayscale bitmap to achieve
* the illusion of depth and neon lines turning on and off.
* Shift registers are also used to move and wrap the image around.
*/
#include <effect.h>
#include <color.h>
#include <copper.h>
#include <fx.h>
#include <gfx.h>
#include <stdlib.h>
#include <system/memory.h>
#define WIDTH 320
#define HEIGHT 256
#define DEPTH 4
static CopListT *coplist[2];
static short active = 0;
static CopInsT *copLine[2][HEIGHT];
/* A struct that controls stripe's colors */
typedef struct {
short step; /* when transition to the next color in the cycle */
short orig; /* initial color value from which we start the color cycle */
short color; /* current stripe's color */
} StripeT;
static StripeT stripe[15];
/* A table for storing colors as they are being shifted */
static short rotated[15];
static u_char shifterValues[16][HEIGHT];
#include "data/stripes.c"
#include "data/floor.c"
/* Width of the leftmost stripe (in pixels) at any given scanline */
#include "data/stripeWidth.c"
/*
* Light level (values [0-11] where 11 is the darkest) at any given scanline,
* used to depth to the stripe's colors
*/
#include "data/stripeLight.c"
/*
* This one is a bit tricky - generate a table of values that will be written
* to BPLCON1 (PF1Px and PF2Px bits) while shifting the playfields. If you are
* wondering why this table is so big and has a lot of repeating values - it
* makes fetching shift values much faster and easier in the ShiftStripes()
* function that is executed each frame.
*/
static void GenerateShifterValues(void) {
u_char *data = (u_char *)shifterValues;
short i, j;
/* for every possible offset */
for (j = 0; j < 16; j++) {
/* for each scanline */
for (i = 0; i < HEIGHT; i++) {
short s = 1 + ((i * j) >> 8);
*data++ = (s << 4) | s;
}
}
}
static void MakeCopperList(CopListT *cp, short n) {
short i;
CopInit(cp);
CopSetupBitplanes(cp, NULL, &floor, DEPTH);
for (i = 0; i < HEIGHT; i++) {
CopWait(cp, Y(i), 0);
copLine[n][i] = CopMove16(cp, bplcon1, 0);
if ((i & 7) == 0) {
short j;
for (j = 1; j < 16; j++)
CopSetColor(cp, j, 0);
}
}
CopEnd(cp);
}
static void InitStripes(void) {
StripeT *s = stripe;
short n = 15;
while (--n >= 0) {
s->step = -16 * (random() & 7);
s->orig = stripes_pal.colors[random() & 3];
/* Every stripe starts black */
s->color = 0;
s++;
}
}
static void Init(void) {
GenerateShifterValues();
InitStripes();
SetupMode(MODE_LORES, DEPTH);
SetupDisplayWindow(MODE_LORES, X(0), Y(0), WIDTH, HEIGHT);
SetupBitplaneFetch(MODE_LORES, X(-16), WIDTH + 16);
SetColor(0, 0);
coplist[0] = NewCopList(100 + 2 * HEIGHT + 15 * HEIGHT / 8);
coplist[1] = NewCopList(100 + 2 * HEIGHT + 15 * HEIGHT / 8);
MakeCopperList(coplist[0], 0);
MakeCopperList(coplist[1], 1);
CopListActivate(coplist[active ^ 1]);
EnableDMA(DMAF_RASTER);
}
static void Kill(void) {
DisableDMA(DMAF_RASTER);
DeleteCopList(coplist[0]);
DeleteCopList(coplist[1]);
}
/* Shift colors by an offset */
static void ShiftColors(short offset) {
short *dst = rotated;
short n = 15;
short i = 0;
offset = (offset / 16) % 15;
while (--n >= 0) {
short c = i++ - offset;
if (c < 0)
c += 15;
*dst++ = stripe[c].color;
}
}
/*
* Calculate the color of the stripe,
* taking the light intesivity into consideration.
*/
static void ColorizeStripes(CopInsT **stripeLine) {
short i;
for (i = 1; i < 16; i++) {
CopInsT **line = stripeLine;
short *light = stripeLight;
short n = HEIGHT / 8;
short r, g, b;
{
/* Get the offseted color of the stripe */
short s = rotated[i - 1];
/* Extract RGB values from color */
r = s & 0xf00;
s <<= 4;
g = s & 0xf00;
s <<= 4;
b = s & 0xf00;
}
/* Each 8 lines make colors one level brighter */
while (--n >= 0) {
/* Set the light value */
u_char *tab = colortab + (*light);
/* Write new RGB values back into one variable */
short color = (tab[r] << 4) | (u_char)(tab[g] | (tab[b] >> 4));
CopInsSet16(*line + i, color);
/* Increment the pointers */
line += 8; light += 8;
}
}
}
static void ShiftStripes(CopInsT **line, short offset) {
short *width = stripeWidth;
u_char *data = (u_char *)shifterValues;
u_char *ptr;
short n = HEIGHT;
/* Offset the starting point */
offset = (offset & 15) << 8;
data += offset;
while (--n >= 0) {
/* modify copper instruction that sets bplcon1 */
#if 0
CopInsSet16(*line++, data[*width++]);
#else
ptr = (u_char *)(*line++);
ptr[3] = data[*width++];
#endif
}
}
static void ControlStripes(void) {
StripeT *s = stripe;
short diff = frameCount - lastFrameCount;
short n = 15;
while (--n >= 0) {
/* Decrement the color counter */
s->step -= diff;
if (s->step < -128) {
/*
* If we've reached the end of the cycle,
* start it again at a random point.
*/
s->step = 64 + (random() & 255);
}
if (s->step >= 0) {
short step = s->step / 8;
short from, to;
if (step > 15) {
/* Make color go brighter */
from = s->orig;
to = 0xfff;
step -= 16;
} else {
/* Start going back to the original color */
from = 0x000;
to = s->orig;
}
s->color = ColorTransition(from, to, step);
}
s++;
}
}
PROFILE(Floor);
static void Render(void) {
ProfilerStart(Floor);
{
short offset = normfx(SIN(frameCount * 8) * 1024) + 1024;
CopInsT **line = copLine[active];
ControlStripes();
ShiftColors(offset);
ColorizeStripes(line);
ShiftStripes(line, offset);
}
ProfilerStop(Floor);
CopListRun(coplist[active]);
TaskWaitVBlank();
active ^= 1;
}
EFFECT(Floor, NULL, NULL, Init, Kill, Render);
|
a9beddff1454be038142f34e73661b0e789958b2
|
f79dec3c4033ca3cbb55d8a51a748cc7b8b6fbab
|
/net/chrony/patches/patch-conf.c
|
3f69b4daaf6991a46e1a0e3526a3e276e51527a1
|
[] |
no_license
|
jsonn/pkgsrc
|
fb34c4a6a2d350e8e415f3c4955d4989fcd86881
|
c1514b5f4a3726d90e30aa16b0c209adbc276d17
|
refs/heads/trunk
| 2021-01-24T09:10:01.038867
| 2017-07-07T15:49:43
| 2017-07-07T15:49:43
| 2,095,004
| 106
| 47
| null | 2016-09-19T09:26:01
| 2011-07-23T23:49:04
|
Makefile
|
UTF-8
|
C
| false
| false
| 556
|
c
|
patch-conf.c
|
$NetBSD: patch-conf.c,v 1.1 2015/04/13 10:03:21 hannken Exp $
Prepare for SUBST, not processed by configure.
--- conf.c.orig 2013-08-08 13:58:07.000000000 +0000
+++ conf.c
@@ -197,7 +197,7 @@ static IPAddr bind_cmd_address4, bind_cm
/* Filename to use for storing pid of running chronyd, to prevent multiple
* chronyds being started. */
-static char *pidfile = "/var/run/chronyd.pid";
+static char *pidfile = "@VARBASE@/run/chronyd.pid";
/* Temperature sensor, update interval and compensation coefficients */
static char *tempcomp_file = NULL;
|
0555e952dbcc54ad9bf8256d66e62e550bb351db
|
3cd3872acbc8b1a79a70b89b2fd58a171e7adc82
|
/vp9/encoder/arm/neon/vp9_dct_neon.c
|
997b5477e1ac72e85728098290b40b548e90d888
|
[] |
permissive
|
webmproject/libvpx
|
58ab97861063cb521ec0d00ef9cb222ca97873b1
|
6fd360c684736e351160b131827dfbb207841164
|
refs/heads/main
| 2023-04-09T15:32:34.688724
| 2023-04-07T22:19:18
| 2023-04-07T22:19:18
| 22,927,608
| 889
| 376
|
BSD-3-Clause
| 2023-03-24T13:37:34
| 2014-08-13T19:03:21
|
C
|
UTF-8
|
C
| false
| false
| 85,338
|
c
|
vp9_dct_neon.c
|
/*
* Copyright (c) 2022 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include <arm_neon.h>
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
#include "./vpx_dsp_rtcd.h"
#include "vpx_dsp/txfm_common.h"
#include "vpx_dsp/arm/mem_neon.h"
#include "vpx_dsp/arm/transpose_neon.h"
#include "vpx_dsp/arm/fdct_neon.h"
#include "vpx_dsp/arm/fdct4x4_neon.h"
#include "vpx_dsp/arm/fdct8x8_neon.h"
#include "vpx_dsp/arm/fdct16x16_neon.h"
static INLINE void load_buffer_4x4(const int16_t *input, int16x8_t *in,
int stride) {
// { 0, 1, 1, 1 };
const int16x4_t nonzero_bias_a = vext_s16(vdup_n_s16(0), vdup_n_s16(1), 3);
// { 1, 0, 0, 0 };
const int16x4_t nonzero_bias_b = vext_s16(vdup_n_s16(1), vdup_n_s16(0), 3);
int16x4_t mask;
int16x4_t input_0 = vshl_n_s16(vld1_s16(input + 0 * stride), 4);
int16x4_t input_1 = vshl_n_s16(vld1_s16(input + 1 * stride), 4);
int16x4_t input_2 = vshl_n_s16(vld1_s16(input + 2 * stride), 4);
int16x4_t input_3 = vshl_n_s16(vld1_s16(input + 3 * stride), 4);
// Copy the SSE method, use a mask to avoid an 'if' branch here to increase by
// one non-zero first elements
mask = vreinterpret_s16_u16(vceq_s16(input_0, nonzero_bias_a));
input_0 = vadd_s16(input_0, mask);
input_0 = vadd_s16(input_0, nonzero_bias_b);
in[0] = vcombine_s16(input_0, input_1);
in[1] = vcombine_s16(input_2, input_3);
}
static INLINE void write_buffer_4x4(tran_low_t *output, int16x8_t *res) {
const int16x8_t one_s16 = vdupq_n_s16(1);
res[0] = vaddq_s16(res[0], one_s16);
res[1] = vaddq_s16(res[1], one_s16);
res[0] = vshrq_n_s16(res[0], 2);
res[1] = vshrq_n_s16(res[1], 2);
store_s16q_to_tran_low(output + 0 * 8, res[0]);
store_s16q_to_tran_low(output + 1 * 8, res[1]);
}
static INLINE void fadst4x4_neon(int16x8_t *in) {
int32x4_t u[4], t[4];
int16x4_t s[4], out[4];
s[0] = vget_low_s16(in[0]); // | x_00 | x_01 | x_02 | x_03 |
s[1] = vget_high_s16(in[0]); // | x_10 | x_11 | x_12 | x_13 |
s[2] = vget_low_s16(in[1]); // | x_20 | x_21 | x_22 | x_23 |
s[3] = vget_high_s16(in[1]); // | x_30 | x_31 | x_32 | x_33 |
// Must expand all elements to s32. See 'needs32' comment in fwd_txfm.c.
// t0 = s0 * sinpi_1_9 + s1 * sinpi_2_9 + s3 * sinpi_4_9
t[0] = vmull_n_s16(s[0], sinpi_1_9);
t[0] = vmlal_n_s16(t[0], s[1], sinpi_2_9);
t[0] = vmlal_n_s16(t[0], s[3], sinpi_4_9);
// t1 = (s0 + s1) * sinpi_3_9 - s3 * sinpi_3_9
t[1] = vmull_n_s16(s[0], sinpi_3_9);
t[1] = vmlal_n_s16(t[1], s[1], sinpi_3_9);
t[1] = vmlsl_n_s16(t[1], s[3], sinpi_3_9);
// t2 = s0 * sinpi_4_9 - s1* sinpi_1_9 + s3 * sinpi_2_9
t[2] = vmull_n_s16(s[0], sinpi_4_9);
t[2] = vmlsl_n_s16(t[2], s[1], sinpi_1_9);
t[2] = vmlal_n_s16(t[2], s[3], sinpi_2_9);
// t3 = s2 * sinpi_3_9
t[3] = vmull_n_s16(s[2], sinpi_3_9);
/*
* u0 = t0 + t3
* u1 = t1
* u2 = t2 - t3
* u3 = t2 - t0 + t3
*/
u[0] = vaddq_s32(t[0], t[3]);
u[1] = t[1];
u[2] = vsubq_s32(t[2], t[3]);
u[3] = vaddq_s32(vsubq_s32(t[2], t[0]), t[3]);
// fdct_round_shift
out[0] = vrshrn_n_s32(u[0], DCT_CONST_BITS);
out[1] = vrshrn_n_s32(u[1], DCT_CONST_BITS);
out[2] = vrshrn_n_s32(u[2], DCT_CONST_BITS);
out[3] = vrshrn_n_s32(u[3], DCT_CONST_BITS);
transpose_s16_4x4d(&out[0], &out[1], &out[2], &out[3]);
in[0] = vcombine_s16(out[0], out[1]);
in[1] = vcombine_s16(out[2], out[3]);
}
void vp9_fht4x4_neon(const int16_t *input, tran_low_t *output, int stride,
int tx_type) {
int16x8_t in[2];
switch (tx_type) {
case DCT_DCT: vpx_fdct4x4_neon(input, output, stride); break;
case ADST_DCT:
load_buffer_4x4(input, in, stride);
fadst4x4_neon(in);
// pass1 variant is not accurate enough
vpx_fdct4x4_pass2_neon((int16x4_t *)in);
write_buffer_4x4(output, in);
break;
case DCT_ADST:
load_buffer_4x4(input, in, stride);
// pass1 variant is not accurate enough
vpx_fdct4x4_pass2_neon((int16x4_t *)in);
fadst4x4_neon(in);
write_buffer_4x4(output, in);
break;
default:
assert(tx_type == ADST_ADST);
load_buffer_4x4(input, in, stride);
fadst4x4_neon(in);
fadst4x4_neon(in);
write_buffer_4x4(output, in);
break;
}
}
static INLINE void load_buffer_8x8(const int16_t *input, int16x8_t *in,
int stride) {
in[0] = vshlq_n_s16(vld1q_s16(input + 0 * stride), 2);
in[1] = vshlq_n_s16(vld1q_s16(input + 1 * stride), 2);
in[2] = vshlq_n_s16(vld1q_s16(input + 2 * stride), 2);
in[3] = vshlq_n_s16(vld1q_s16(input + 3 * stride), 2);
in[4] = vshlq_n_s16(vld1q_s16(input + 4 * stride), 2);
in[5] = vshlq_n_s16(vld1q_s16(input + 5 * stride), 2);
in[6] = vshlq_n_s16(vld1q_s16(input + 6 * stride), 2);
in[7] = vshlq_n_s16(vld1q_s16(input + 7 * stride), 2);
}
/* right shift and rounding
* first get the sign bit (bit 15).
* If bit == 1, it's the simple case of shifting right by one bit.
* If bit == 2, it essentially computes the expression:
*
* out[j * 16 + i] = (temp_out[j] + 1 + (temp_out[j] < 0)) >> 2;
*
* for each row.
*/
static INLINE void right_shift_8x8(int16x8_t *res, const int bit) {
int16x8_t sign0 = vshrq_n_s16(res[0], 15);
int16x8_t sign1 = vshrq_n_s16(res[1], 15);
int16x8_t sign2 = vshrq_n_s16(res[2], 15);
int16x8_t sign3 = vshrq_n_s16(res[3], 15);
int16x8_t sign4 = vshrq_n_s16(res[4], 15);
int16x8_t sign5 = vshrq_n_s16(res[5], 15);
int16x8_t sign6 = vshrq_n_s16(res[6], 15);
int16x8_t sign7 = vshrq_n_s16(res[7], 15);
if (bit == 2) {
const int16x8_t const_rounding = vdupq_n_s16(1);
res[0] = vaddq_s16(res[0], const_rounding);
res[1] = vaddq_s16(res[1], const_rounding);
res[2] = vaddq_s16(res[2], const_rounding);
res[3] = vaddq_s16(res[3], const_rounding);
res[4] = vaddq_s16(res[4], const_rounding);
res[5] = vaddq_s16(res[5], const_rounding);
res[6] = vaddq_s16(res[6], const_rounding);
res[7] = vaddq_s16(res[7], const_rounding);
}
res[0] = vsubq_s16(res[0], sign0);
res[1] = vsubq_s16(res[1], sign1);
res[2] = vsubq_s16(res[2], sign2);
res[3] = vsubq_s16(res[3], sign3);
res[4] = vsubq_s16(res[4], sign4);
res[5] = vsubq_s16(res[5], sign5);
res[6] = vsubq_s16(res[6], sign6);
res[7] = vsubq_s16(res[7], sign7);
if (bit == 1) {
res[0] = vshrq_n_s16(res[0], 1);
res[1] = vshrq_n_s16(res[1], 1);
res[2] = vshrq_n_s16(res[2], 1);
res[3] = vshrq_n_s16(res[3], 1);
res[4] = vshrq_n_s16(res[4], 1);
res[5] = vshrq_n_s16(res[5], 1);
res[6] = vshrq_n_s16(res[6], 1);
res[7] = vshrq_n_s16(res[7], 1);
} else {
res[0] = vshrq_n_s16(res[0], 2);
res[1] = vshrq_n_s16(res[1], 2);
res[2] = vshrq_n_s16(res[2], 2);
res[3] = vshrq_n_s16(res[3], 2);
res[4] = vshrq_n_s16(res[4], 2);
res[5] = vshrq_n_s16(res[5], 2);
res[6] = vshrq_n_s16(res[6], 2);
res[7] = vshrq_n_s16(res[7], 2);
}
}
static INLINE void write_buffer_8x8(tran_low_t *output, int16x8_t *res,
int stride) {
store_s16q_to_tran_low(output + 0 * stride, res[0]);
store_s16q_to_tran_low(output + 1 * stride, res[1]);
store_s16q_to_tran_low(output + 2 * stride, res[2]);
store_s16q_to_tran_low(output + 3 * stride, res[3]);
store_s16q_to_tran_low(output + 4 * stride, res[4]);
store_s16q_to_tran_low(output + 5 * stride, res[5]);
store_s16q_to_tran_low(output + 6 * stride, res[6]);
store_s16q_to_tran_low(output + 7 * stride, res[7]);
}
static INLINE void fadst8x8_neon(int16x8_t *in) {
int16x4_t x_lo[8], x_hi[8];
int32x4_t s_lo[8], s_hi[8];
int32x4_t t_lo[8], t_hi[8];
x_lo[0] = vget_low_s16(in[7]);
x_hi[0] = vget_high_s16(in[7]);
x_lo[1] = vget_low_s16(in[0]);
x_hi[1] = vget_high_s16(in[0]);
x_lo[2] = vget_low_s16(in[5]);
x_hi[2] = vget_high_s16(in[5]);
x_lo[3] = vget_low_s16(in[2]);
x_hi[3] = vget_high_s16(in[2]);
x_lo[4] = vget_low_s16(in[3]);
x_hi[4] = vget_high_s16(in[3]);
x_lo[5] = vget_low_s16(in[4]);
x_hi[5] = vget_high_s16(in[4]);
x_lo[6] = vget_low_s16(in[1]);
x_hi[6] = vget_high_s16(in[1]);
x_lo[7] = vget_low_s16(in[6]);
x_hi[7] = vget_high_s16(in[6]);
// stage 1
// s0 = cospi_2_64 * x0 + cospi_30_64 * x1;
// s1 = cospi_30_64 * x0 - cospi_2_64 * x1;
butterfly_two_coeff_s16_s32_noround(x_lo[0], x_hi[0], x_lo[1], x_hi[1],
cospi_2_64, cospi_30_64, &s_lo[0],
&s_hi[0], &s_lo[1], &s_hi[1]);
// s2 = cospi_10_64 * x2 + cospi_22_64 * x3;
// s3 = cospi_22_64 * x2 - cospi_10_64 * x3;
butterfly_two_coeff_s16_s32_noround(x_lo[2], x_hi[2], x_lo[3], x_hi[3],
cospi_10_64, cospi_22_64, &s_lo[2],
&s_hi[2], &s_lo[3], &s_hi[3]);
// s4 = cospi_18_64 * x4 + cospi_14_64 * x5;
// s5 = cospi_14_64 * x4 - cospi_18_64 * x5;
butterfly_two_coeff_s16_s32_noround(x_lo[4], x_hi[4], x_lo[5], x_hi[5],
cospi_18_64, cospi_14_64, &s_lo[4],
&s_hi[4], &s_lo[5], &s_hi[5]);
// s6 = cospi_26_64 * x6 + cospi_6_64 * x7;
// s7 = cospi_6_64 * x6 - cospi_26_64 * x7;
butterfly_two_coeff_s16_s32_noround(x_lo[6], x_hi[6], x_lo[7], x_hi[7],
cospi_26_64, cospi_6_64, &s_lo[6],
&s_hi[6], &s_lo[7], &s_hi[7]);
// fdct_round_shift
t_lo[0] = vrshrq_n_s32(vaddq_s32(s_lo[0], s_lo[4]), DCT_CONST_BITS);
t_hi[0] = vrshrq_n_s32(vaddq_s32(s_hi[0], s_hi[4]), DCT_CONST_BITS);
t_lo[1] = vrshrq_n_s32(vaddq_s32(s_lo[1], s_lo[5]), DCT_CONST_BITS);
t_hi[1] = vrshrq_n_s32(vaddq_s32(s_hi[1], s_hi[5]), DCT_CONST_BITS);
t_lo[2] = vrshrq_n_s32(vaddq_s32(s_lo[2], s_lo[6]), DCT_CONST_BITS);
t_hi[2] = vrshrq_n_s32(vaddq_s32(s_hi[2], s_hi[6]), DCT_CONST_BITS);
t_lo[3] = vrshrq_n_s32(vaddq_s32(s_lo[3], s_lo[7]), DCT_CONST_BITS);
t_hi[3] = vrshrq_n_s32(vaddq_s32(s_hi[3], s_hi[7]), DCT_CONST_BITS);
t_lo[4] = vrshrq_n_s32(vsubq_s32(s_lo[0], s_lo[4]), DCT_CONST_BITS);
t_hi[4] = vrshrq_n_s32(vsubq_s32(s_hi[0], s_hi[4]), DCT_CONST_BITS);
t_lo[5] = vrshrq_n_s32(vsubq_s32(s_lo[1], s_lo[5]), DCT_CONST_BITS);
t_hi[5] = vrshrq_n_s32(vsubq_s32(s_hi[1], s_hi[5]), DCT_CONST_BITS);
t_lo[6] = vrshrq_n_s32(vsubq_s32(s_lo[2], s_lo[6]), DCT_CONST_BITS);
t_hi[6] = vrshrq_n_s32(vsubq_s32(s_hi[2], s_hi[6]), DCT_CONST_BITS);
t_lo[7] = vrshrq_n_s32(vsubq_s32(s_lo[3], s_lo[7]), DCT_CONST_BITS);
t_hi[7] = vrshrq_n_s32(vsubq_s32(s_hi[3], s_hi[7]), DCT_CONST_BITS);
// stage 2
s_lo[0] = t_lo[0];
s_hi[0] = t_hi[0];
s_lo[1] = t_lo[1];
s_hi[1] = t_hi[1];
s_lo[2] = t_lo[2];
s_hi[2] = t_hi[2];
s_lo[3] = t_lo[3];
s_hi[3] = t_hi[3];
// s4 = cospi_8_64 * x4 + cospi_24_64 * x5;
// s5 = cospi_24_64 * x4 - cospi_8_64 * x5;
butterfly_two_coeff_s32_noround(t_lo[4], t_hi[4], t_lo[5], t_hi[5],
cospi_8_64, cospi_24_64, &s_lo[4], &s_hi[4],
&s_lo[5], &s_hi[5]);
// s6 = -cospi_24_64 * x6 + cospi_8_64 * x7;
// s7 = cospi_8_64 * x6 + cospi_24_64 * x7;
butterfly_two_coeff_s32_noround(t_lo[6], t_hi[6], t_lo[7], t_hi[7],
-cospi_24_64, cospi_8_64, &s_lo[6], &s_hi[6],
&s_lo[7], &s_hi[7]);
// fdct_round_shift
// s0 + s2
t_lo[0] = vaddq_s32(s_lo[0], s_lo[2]);
t_hi[0] = vaddq_s32(s_hi[0], s_hi[2]);
// s1 + s3
t_lo[1] = vaddq_s32(s_lo[1], s_lo[3]);
t_hi[1] = vaddq_s32(s_hi[1], s_hi[3]);
// s0 - s2
t_lo[2] = vsubq_s32(s_lo[0], s_lo[2]);
t_hi[2] = vsubq_s32(s_hi[0], s_hi[2]);
// s1 - s3
t_lo[3] = vsubq_s32(s_lo[1], s_lo[3]);
t_hi[3] = vsubq_s32(s_hi[1], s_hi[3]);
// s4 + s6
t_lo[4] = vrshrq_n_s32(vaddq_s32(s_lo[4], s_lo[6]), DCT_CONST_BITS);
t_hi[4] = vrshrq_n_s32(vaddq_s32(s_hi[4], s_hi[6]), DCT_CONST_BITS);
// s5 + s7
t_lo[5] = vrshrq_n_s32(vaddq_s32(s_lo[5], s_lo[7]), DCT_CONST_BITS);
t_hi[5] = vrshrq_n_s32(vaddq_s32(s_hi[5], s_hi[7]), DCT_CONST_BITS);
// s4 - s6
t_lo[6] = vrshrq_n_s32(vsubq_s32(s_lo[4], s_lo[6]), DCT_CONST_BITS);
t_hi[6] = vrshrq_n_s32(vsubq_s32(s_hi[4], s_hi[6]), DCT_CONST_BITS);
// s5 - s7
t_lo[7] = vrshrq_n_s32(vsubq_s32(s_lo[5], s_lo[7]), DCT_CONST_BITS);
t_hi[7] = vrshrq_n_s32(vsubq_s32(s_hi[5], s_hi[7]), DCT_CONST_BITS);
// stage 3
// cospi_16_64 * (x2 + x3)
// cospi_16_64 * (x2 - x3)
butterfly_one_coeff_s32_noround(t_lo[2], t_hi[2], t_lo[3], t_hi[3],
cospi_16_64, &s_lo[2], &s_hi[2], &s_lo[3],
&s_hi[3]);
// cospi_16_64 * (x6 + x7)
// cospi_16_64 * (x2 - x3)
butterfly_one_coeff_s32_noround(t_lo[6], t_hi[6], t_lo[7], t_hi[7],
cospi_16_64, &s_lo[6], &s_hi[6], &s_lo[7],
&s_hi[7]);
// final fdct_round_shift
x_lo[2] = vrshrn_n_s32(s_lo[2], DCT_CONST_BITS);
x_hi[2] = vrshrn_n_s32(s_hi[2], DCT_CONST_BITS);
x_lo[3] = vrshrn_n_s32(s_lo[3], DCT_CONST_BITS);
x_hi[3] = vrshrn_n_s32(s_hi[3], DCT_CONST_BITS);
x_lo[6] = vrshrn_n_s32(s_lo[6], DCT_CONST_BITS);
x_hi[6] = vrshrn_n_s32(s_hi[6], DCT_CONST_BITS);
x_lo[7] = vrshrn_n_s32(s_lo[7], DCT_CONST_BITS);
x_hi[7] = vrshrn_n_s32(s_hi[7], DCT_CONST_BITS);
// x0, x1, x4, x5 narrow down to 16-bits directly
x_lo[0] = vmovn_s32(t_lo[0]);
x_hi[0] = vmovn_s32(t_hi[0]);
x_lo[1] = vmovn_s32(t_lo[1]);
x_hi[1] = vmovn_s32(t_hi[1]);
x_lo[4] = vmovn_s32(t_lo[4]);
x_hi[4] = vmovn_s32(t_hi[4]);
x_lo[5] = vmovn_s32(t_lo[5]);
x_hi[5] = vmovn_s32(t_hi[5]);
in[0] = vcombine_s16(x_lo[0], x_hi[0]);
in[1] = vnegq_s16(vcombine_s16(x_lo[4], x_hi[4]));
in[2] = vcombine_s16(x_lo[6], x_hi[6]);
in[3] = vnegq_s16(vcombine_s16(x_lo[2], x_hi[2]));
in[4] = vcombine_s16(x_lo[3], x_hi[3]);
in[5] = vnegq_s16(vcombine_s16(x_lo[7], x_hi[7]));
in[6] = vcombine_s16(x_lo[5], x_hi[5]);
in[7] = vnegq_s16(vcombine_s16(x_lo[1], x_hi[1]));
transpose_s16_8x8(&in[0], &in[1], &in[2], &in[3], &in[4], &in[5], &in[6],
&in[7]);
}
void vp9_fht8x8_neon(const int16_t *input, tran_low_t *output, int stride,
int tx_type) {
int16x8_t in[8];
switch (tx_type) {
case DCT_DCT: vpx_fdct8x8_neon(input, output, stride); break;
case ADST_DCT:
load_buffer_8x8(input, in, stride);
fadst8x8_neon(in);
// pass1 variant is not accurate enough
vpx_fdct8x8_pass2_neon(in);
right_shift_8x8(in, 1);
write_buffer_8x8(output, in, 8);
break;
case DCT_ADST:
load_buffer_8x8(input, in, stride);
// pass1 variant is not accurate enough
vpx_fdct8x8_pass2_neon(in);
fadst8x8_neon(in);
right_shift_8x8(in, 1);
write_buffer_8x8(output, in, 8);
break;
default:
assert(tx_type == ADST_ADST);
load_buffer_8x8(input, in, stride);
fadst8x8_neon(in);
fadst8x8_neon(in);
right_shift_8x8(in, 1);
write_buffer_8x8(output, in, 8);
break;
}
}
static INLINE void load_buffer_16x16(const int16_t *input, int16x8_t *in0,
int16x8_t *in1, int stride) {
// load first 8 columns
load_buffer_8x8(input, in0, stride);
load_buffer_8x8(input + 8 * stride, in0 + 8, stride);
input += 8;
// load second 8 columns
load_buffer_8x8(input, in1, stride);
load_buffer_8x8(input + 8 * stride, in1 + 8, stride);
}
static INLINE void write_buffer_16x16(tran_low_t *output, int16x8_t *in0,
int16x8_t *in1, int stride) {
// write first 8 columns
write_buffer_8x8(output, in0, stride);
write_buffer_8x8(output + 8 * stride, in0 + 8, stride);
// write second 8 columns
output += 8;
write_buffer_8x8(output, in1, stride);
write_buffer_8x8(output + 8 * stride, in1 + 8, stride);
}
static INLINE void right_shift_16x16(int16x8_t *res0, int16x8_t *res1) {
// perform rounding operations
right_shift_8x8(res0, 2);
right_shift_8x8(res0 + 8, 2);
right_shift_8x8(res1, 2);
right_shift_8x8(res1 + 8, 2);
}
static void fdct16_8col(int16x8_t *in) {
// perform 16x16 1-D DCT for 8 columns
int16x8_t i[8], s1[8], s2[8], s3[8], t[8];
int16x4_t t_lo[8], t_hi[8];
int32x4_t u_lo[8], u_hi[8];
// stage 1
i[0] = vaddq_s16(in[0], in[15]);
i[1] = vaddq_s16(in[1], in[14]);
i[2] = vaddq_s16(in[2], in[13]);
i[3] = vaddq_s16(in[3], in[12]);
i[4] = vaddq_s16(in[4], in[11]);
i[5] = vaddq_s16(in[5], in[10]);
i[6] = vaddq_s16(in[6], in[9]);
i[7] = vaddq_s16(in[7], in[8]);
// pass1 variant is not accurate enough
vpx_fdct8x8_pass2_neon(i);
transpose_s16_8x8(&i[0], &i[1], &i[2], &i[3], &i[4], &i[5], &i[6], &i[7]);
// step 2
s1[0] = vsubq_s16(in[7], in[8]);
s1[1] = vsubq_s16(in[6], in[9]);
s1[2] = vsubq_s16(in[5], in[10]);
s1[3] = vsubq_s16(in[4], in[11]);
s1[4] = vsubq_s16(in[3], in[12]);
s1[5] = vsubq_s16(in[2], in[13]);
s1[6] = vsubq_s16(in[1], in[14]);
s1[7] = vsubq_s16(in[0], in[15]);
t[2] = vsubq_s16(s1[5], s1[2]);
t[3] = vsubq_s16(s1[4], s1[3]);
t[4] = vaddq_s16(s1[4], s1[3]);
t[5] = vaddq_s16(s1[5], s1[2]);
t_lo[2] = vget_low_s16(t[2]);
t_hi[2] = vget_high_s16(t[2]);
t_lo[3] = vget_low_s16(t[3]);
t_hi[3] = vget_high_s16(t[3]);
t_lo[4] = vget_low_s16(t[4]);
t_hi[4] = vget_high_s16(t[4]);
t_lo[5] = vget_low_s16(t[5]);
t_hi[5] = vget_high_s16(t[5]);
u_lo[2] = vmull_n_s16(t_lo[2], cospi_16_64);
u_hi[2] = vmull_n_s16(t_hi[2], cospi_16_64);
u_lo[3] = vmull_n_s16(t_lo[3], cospi_16_64);
u_hi[3] = vmull_n_s16(t_hi[3], cospi_16_64);
u_lo[4] = vmull_n_s16(t_lo[4], cospi_16_64);
u_hi[4] = vmull_n_s16(t_hi[4], cospi_16_64);
u_lo[5] = vmull_n_s16(t_lo[5], cospi_16_64);
u_hi[5] = vmull_n_s16(t_hi[5], cospi_16_64);
t_lo[2] = vrshrn_n_s32(u_lo[2], DCT_CONST_BITS);
t_hi[2] = vrshrn_n_s32(u_hi[2], DCT_CONST_BITS);
t_lo[3] = vrshrn_n_s32(u_lo[3], DCT_CONST_BITS);
t_hi[3] = vrshrn_n_s32(u_hi[3], DCT_CONST_BITS);
t_lo[4] = vrshrn_n_s32(u_lo[4], DCT_CONST_BITS);
t_hi[4] = vrshrn_n_s32(u_hi[4], DCT_CONST_BITS);
t_lo[5] = vrshrn_n_s32(u_lo[5], DCT_CONST_BITS);
t_hi[5] = vrshrn_n_s32(u_hi[5], DCT_CONST_BITS);
s2[2] = vcombine_s16(t_lo[2], t_hi[2]);
s2[3] = vcombine_s16(t_lo[3], t_hi[3]);
s2[4] = vcombine_s16(t_lo[4], t_hi[4]);
s2[5] = vcombine_s16(t_lo[5], t_hi[5]);
// step 3
s3[0] = vaddq_s16(s1[0], s2[3]);
s3[1] = vaddq_s16(s1[1], s2[2]);
s3[2] = vsubq_s16(s1[1], s2[2]);
s3[3] = vsubq_s16(s1[0], s2[3]);
s3[4] = vsubq_s16(s1[7], s2[4]);
s3[5] = vsubq_s16(s1[6], s2[5]);
s3[6] = vaddq_s16(s1[6], s2[5]);
s3[7] = vaddq_s16(s1[7], s2[4]);
// step 4
t_lo[0] = vget_low_s16(s3[0]);
t_hi[0] = vget_high_s16(s3[0]);
t_lo[1] = vget_low_s16(s3[1]);
t_hi[1] = vget_high_s16(s3[1]);
t_lo[2] = vget_low_s16(s3[2]);
t_hi[2] = vget_high_s16(s3[2]);
t_lo[3] = vget_low_s16(s3[3]);
t_hi[3] = vget_high_s16(s3[3]);
t_lo[4] = vget_low_s16(s3[4]);
t_hi[4] = vget_high_s16(s3[4]);
t_lo[5] = vget_low_s16(s3[5]);
t_hi[5] = vget_high_s16(s3[5]);
t_lo[6] = vget_low_s16(s3[6]);
t_hi[6] = vget_high_s16(s3[6]);
t_lo[7] = vget_low_s16(s3[7]);
t_hi[7] = vget_high_s16(s3[7]);
// u[1] = -cospi_8_64 * t[1] + cospi_24_64 * t[6]
// u[6] = cospi_24_64 * t[1] + cospi_8_64 * t[6]
butterfly_two_coeff_s16_s32_noround(t_lo[1], t_hi[1], t_lo[6], t_hi[6],
-cospi_8_64, cospi_24_64, &u_lo[1],
&u_hi[1], &u_lo[6], &u_hi[6]);
// u[5] = -cospi_24_64 * t[5] + cospi_8_64 * t[2]
// u[2] = cospi_8_64 * t[5] + cospi_24_64 * t[2]
butterfly_two_coeff_s16_s32_noround(t_lo[5], t_hi[5], t_lo[2], t_hi[2],
-cospi_24_64, cospi_8_64, &u_lo[5],
&u_hi[5], &u_lo[2], &u_hi[2]);
t_lo[1] = vrshrn_n_s32(u_lo[1], DCT_CONST_BITS);
t_hi[1] = vrshrn_n_s32(u_hi[1], DCT_CONST_BITS);
t_lo[2] = vrshrn_n_s32(u_lo[2], DCT_CONST_BITS);
t_hi[2] = vrshrn_n_s32(u_hi[2], DCT_CONST_BITS);
t_lo[5] = vrshrn_n_s32(u_lo[5], DCT_CONST_BITS);
t_hi[5] = vrshrn_n_s32(u_hi[5], DCT_CONST_BITS);
t_lo[6] = vrshrn_n_s32(u_lo[6], DCT_CONST_BITS);
t_hi[6] = vrshrn_n_s32(u_hi[6], DCT_CONST_BITS);
s2[1] = vcombine_s16(t_lo[1], t_hi[1]);
s2[2] = vcombine_s16(t_lo[2], t_hi[2]);
s2[5] = vcombine_s16(t_lo[5], t_hi[5]);
s2[6] = vcombine_s16(t_lo[6], t_hi[6]);
// step 5
s1[0] = vaddq_s16(s3[0], s2[1]);
s1[1] = vsubq_s16(s3[0], s2[1]);
s1[2] = vaddq_s16(s3[3], s2[2]);
s1[3] = vsubq_s16(s3[3], s2[2]);
s1[4] = vsubq_s16(s3[4], s2[5]);
s1[5] = vaddq_s16(s3[4], s2[5]);
s1[6] = vsubq_s16(s3[7], s2[6]);
s1[7] = vaddq_s16(s3[7], s2[6]);
// step 6
t_lo[0] = vget_low_s16(s1[0]);
t_hi[0] = vget_high_s16(s1[0]);
t_lo[1] = vget_low_s16(s1[1]);
t_hi[1] = vget_high_s16(s1[1]);
t_lo[2] = vget_low_s16(s1[2]);
t_hi[2] = vget_high_s16(s1[2]);
t_lo[3] = vget_low_s16(s1[3]);
t_hi[3] = vget_high_s16(s1[3]);
t_lo[4] = vget_low_s16(s1[4]);
t_hi[4] = vget_high_s16(s1[4]);
t_lo[5] = vget_low_s16(s1[5]);
t_hi[5] = vget_high_s16(s1[5]);
t_lo[6] = vget_low_s16(s1[6]);
t_hi[6] = vget_high_s16(s1[6]);
t_lo[7] = vget_low_s16(s1[7]);
t_hi[7] = vget_high_s16(s1[7]);
// u[0] = step1[7] * cospi_2_64 + step1[0] * cospi_30_64
// u[7] = step1[7] * cospi_30_64 - step1[0] * cospi_2_64
butterfly_two_coeff_s16_s32_noround(t_lo[7], t_hi[7], t_lo[0], t_hi[0],
cospi_2_64, cospi_30_64, &u_lo[0],
&u_hi[0], &u_lo[7], &u_hi[7]);
// u[1] = step1[6] * cospi_18_64 + step1[1] * cospi_14_64
// u[6] = step1[6] * cospi_14_64 - step1[1] * cospi_18_64
butterfly_two_coeff_s16_s32_noround(t_lo[6], t_hi[6], t_lo[1], t_hi[1],
cospi_18_64, cospi_14_64, &u_lo[1],
&u_hi[1], &u_lo[6], &u_hi[6]);
// u[2] = step1[5] * cospi_10_64 + step1[2] * cospi_22_64
// u[5] = step1[5] * cospi_22_64 - step1[2] * cospi_10_64
butterfly_two_coeff_s16_s32_noround(t_lo[5], t_hi[5], t_lo[2], t_hi[2],
cospi_10_64, cospi_22_64, &u_lo[2],
&u_hi[2], &u_lo[5], &u_hi[5]);
// u[3] = step1[4] * cospi_26_64 + step1[3] * cospi_6_64
// u[4] = step1[4] * cospi_6_64 - step1[3] * cospi_26_64
butterfly_two_coeff_s16_s32_noround(t_lo[4], t_hi[4], t_lo[3], t_hi[3],
cospi_26_64, cospi_6_64, &u_lo[3],
&u_hi[3], &u_lo[4], &u_hi[4]);
// final fdct_round_shift
t_lo[0] = vrshrn_n_s32(u_lo[0], DCT_CONST_BITS);
t_hi[0] = vrshrn_n_s32(u_hi[0], DCT_CONST_BITS);
t_lo[1] = vrshrn_n_s32(u_lo[1], DCT_CONST_BITS);
t_hi[1] = vrshrn_n_s32(u_hi[1], DCT_CONST_BITS);
t_lo[2] = vrshrn_n_s32(u_lo[2], DCT_CONST_BITS);
t_hi[2] = vrshrn_n_s32(u_hi[2], DCT_CONST_BITS);
t_lo[3] = vrshrn_n_s32(u_lo[3], DCT_CONST_BITS);
t_hi[3] = vrshrn_n_s32(u_hi[3], DCT_CONST_BITS);
t_lo[4] = vrshrn_n_s32(u_lo[4], DCT_CONST_BITS);
t_hi[4] = vrshrn_n_s32(u_hi[4], DCT_CONST_BITS);
t_lo[5] = vrshrn_n_s32(u_lo[5], DCT_CONST_BITS);
t_hi[5] = vrshrn_n_s32(u_hi[5], DCT_CONST_BITS);
t_lo[6] = vrshrn_n_s32(u_lo[6], DCT_CONST_BITS);
t_hi[6] = vrshrn_n_s32(u_hi[6], DCT_CONST_BITS);
t_lo[7] = vrshrn_n_s32(u_lo[7], DCT_CONST_BITS);
t_hi[7] = vrshrn_n_s32(u_hi[7], DCT_CONST_BITS);
in[0] = i[0];
in[2] = i[1];
in[4] = i[2];
in[6] = i[3];
in[8] = i[4];
in[10] = i[5];
in[12] = i[6];
in[14] = i[7];
in[1] = vcombine_s16(t_lo[0], t_hi[0]);
in[3] = vcombine_s16(t_lo[4], t_hi[4]);
in[5] = vcombine_s16(t_lo[2], t_hi[2]);
in[7] = vcombine_s16(t_lo[6], t_hi[6]);
in[9] = vcombine_s16(t_lo[1], t_hi[1]);
in[11] = vcombine_s16(t_lo[5], t_hi[5]);
in[13] = vcombine_s16(t_lo[3], t_hi[3]);
in[15] = vcombine_s16(t_lo[7], t_hi[7]);
}
static void fadst16_8col(int16x8_t *in) {
// perform 16x16 1-D ADST for 8 columns
int16x4_t x_lo[16], x_hi[16];
int32x4_t s_lo[16], s_hi[16];
int32x4_t t_lo[16], t_hi[16];
x_lo[0] = vget_low_s16(in[15]);
x_hi[0] = vget_high_s16(in[15]);
x_lo[1] = vget_low_s16(in[0]);
x_hi[1] = vget_high_s16(in[0]);
x_lo[2] = vget_low_s16(in[13]);
x_hi[2] = vget_high_s16(in[13]);
x_lo[3] = vget_low_s16(in[2]);
x_hi[3] = vget_high_s16(in[2]);
x_lo[4] = vget_low_s16(in[11]);
x_hi[4] = vget_high_s16(in[11]);
x_lo[5] = vget_low_s16(in[4]);
x_hi[5] = vget_high_s16(in[4]);
x_lo[6] = vget_low_s16(in[9]);
x_hi[6] = vget_high_s16(in[9]);
x_lo[7] = vget_low_s16(in[6]);
x_hi[7] = vget_high_s16(in[6]);
x_lo[8] = vget_low_s16(in[7]);
x_hi[8] = vget_high_s16(in[7]);
x_lo[9] = vget_low_s16(in[8]);
x_hi[9] = vget_high_s16(in[8]);
x_lo[10] = vget_low_s16(in[5]);
x_hi[10] = vget_high_s16(in[5]);
x_lo[11] = vget_low_s16(in[10]);
x_hi[11] = vget_high_s16(in[10]);
x_lo[12] = vget_low_s16(in[3]);
x_hi[12] = vget_high_s16(in[3]);
x_lo[13] = vget_low_s16(in[12]);
x_hi[13] = vget_high_s16(in[12]);
x_lo[14] = vget_low_s16(in[1]);
x_hi[14] = vget_high_s16(in[1]);
x_lo[15] = vget_low_s16(in[14]);
x_hi[15] = vget_high_s16(in[14]);
// stage 1
// s0 = cospi_1_64 * x0 + cospi_31_64 * x1;
// s1 = cospi_31_64 * x0 - cospi_1_64 * x1;
butterfly_two_coeff_s16_s32_noround(x_lo[0], x_hi[0], x_lo[1], x_hi[1],
cospi_1_64, cospi_31_64, &s_lo[0],
&s_hi[0], &s_lo[1], &s_hi[1]);
// s2 = cospi_5_64 * x2 + cospi_27_64 * x3;
// s3 = cospi_27_64 * x2 - cospi_5_64 * x3;
butterfly_two_coeff_s16_s32_noround(x_lo[2], x_hi[2], x_lo[3], x_hi[3],
cospi_5_64, cospi_27_64, &s_lo[2],
&s_hi[2], &s_lo[3], &s_hi[3]);
// s4 = cospi_9_64 * x4 + cospi_23_64 * x5;
// s5 = cospi_23_64 * x4 - cospi_9_64 * x5;
butterfly_two_coeff_s16_s32_noround(x_lo[4], x_hi[4], x_lo[5], x_hi[5],
cospi_9_64, cospi_23_64, &s_lo[4],
&s_hi[4], &s_lo[5], &s_hi[5]);
// s6 = cospi_13_64 * x6 + cospi_19_64 * x7;
// s7 = cospi_19_64 * x6 - cospi_13_64 * x7;
butterfly_two_coeff_s16_s32_noround(x_lo[6], x_hi[6], x_lo[7], x_hi[7],
cospi_13_64, cospi_19_64, &s_lo[6],
&s_hi[6], &s_lo[7], &s_hi[7]);
// s8 = cospi_17_64 * x8 + cospi_15_64 * x9;
// s9 = cospi_15_64 * x8 - cospi_17_64 * x9;
butterfly_two_coeff_s16_s32_noround(x_lo[8], x_hi[8], x_lo[9], x_hi[9],
cospi_17_64, cospi_15_64, &s_lo[8],
&s_hi[8], &s_lo[9], &s_hi[9]);
// s10 = cospi_21_64 * x10 + cospi_11_64 * x11;
// s11 = cospi_11_64 * x10 - cospi_21_64 * x11;
butterfly_two_coeff_s16_s32_noround(x_lo[10], x_hi[10], x_lo[11], x_hi[11],
cospi_21_64, cospi_11_64, &s_lo[10],
&s_hi[10], &s_lo[11], &s_hi[11]);
// s12 = cospi_25_64 * x12 + cospi_7_64 * x13;
// s13 = cospi_7_64 * x12 - cospi_25_64 * x13;
butterfly_two_coeff_s16_s32_noround(x_lo[12], x_hi[12], x_lo[13], x_hi[13],
cospi_25_64, cospi_7_64, &s_lo[12],
&s_hi[12], &s_lo[13], &s_hi[13]);
// s14 = cospi_29_64 * x14 + cospi_3_64 * x15;
// s15 = cospi_3_64 * x14 - cospi_29_64 * x15;
butterfly_two_coeff_s16_s32_noround(x_lo[14], x_hi[14], x_lo[15], x_hi[15],
cospi_29_64, cospi_3_64, &s_lo[14],
&s_hi[14], &s_lo[15], &s_hi[15]);
// fdct_round_shift
t_lo[0] = vrshrq_n_s32(vaddq_s32(s_lo[0], s_lo[8]), DCT_CONST_BITS);
t_hi[0] = vrshrq_n_s32(vaddq_s32(s_hi[0], s_hi[8]), DCT_CONST_BITS);
t_lo[1] = vrshrq_n_s32(vaddq_s32(s_lo[1], s_lo[9]), DCT_CONST_BITS);
t_hi[1] = vrshrq_n_s32(vaddq_s32(s_hi[1], s_hi[9]), DCT_CONST_BITS);
t_lo[2] = vrshrq_n_s32(vaddq_s32(s_lo[2], s_lo[10]), DCT_CONST_BITS);
t_hi[2] = vrshrq_n_s32(vaddq_s32(s_hi[2], s_hi[10]), DCT_CONST_BITS);
t_lo[3] = vrshrq_n_s32(vaddq_s32(s_lo[3], s_lo[11]), DCT_CONST_BITS);
t_hi[3] = vrshrq_n_s32(vaddq_s32(s_hi[3], s_hi[11]), DCT_CONST_BITS);
t_lo[4] = vrshrq_n_s32(vaddq_s32(s_lo[4], s_lo[12]), DCT_CONST_BITS);
t_hi[4] = vrshrq_n_s32(vaddq_s32(s_hi[4], s_hi[12]), DCT_CONST_BITS);
t_lo[5] = vrshrq_n_s32(vaddq_s32(s_lo[5], s_lo[13]), DCT_CONST_BITS);
t_hi[5] = vrshrq_n_s32(vaddq_s32(s_hi[5], s_hi[13]), DCT_CONST_BITS);
t_lo[6] = vrshrq_n_s32(vaddq_s32(s_lo[6], s_lo[14]), DCT_CONST_BITS);
t_hi[6] = vrshrq_n_s32(vaddq_s32(s_hi[6], s_hi[14]), DCT_CONST_BITS);
t_lo[7] = vrshrq_n_s32(vaddq_s32(s_lo[7], s_lo[15]), DCT_CONST_BITS);
t_hi[7] = vrshrq_n_s32(vaddq_s32(s_hi[7], s_hi[15]), DCT_CONST_BITS);
t_lo[8] = vrshrq_n_s32(vsubq_s32(s_lo[0], s_lo[8]), DCT_CONST_BITS);
t_hi[8] = vrshrq_n_s32(vsubq_s32(s_hi[0], s_hi[8]), DCT_CONST_BITS);
t_lo[9] = vrshrq_n_s32(vsubq_s32(s_lo[1], s_lo[9]), DCT_CONST_BITS);
t_hi[9] = vrshrq_n_s32(vsubq_s32(s_hi[1], s_hi[9]), DCT_CONST_BITS);
t_lo[10] = vrshrq_n_s32(vsubq_s32(s_lo[2], s_lo[10]), DCT_CONST_BITS);
t_hi[10] = vrshrq_n_s32(vsubq_s32(s_hi[2], s_hi[10]), DCT_CONST_BITS);
t_lo[11] = vrshrq_n_s32(vsubq_s32(s_lo[3], s_lo[11]), DCT_CONST_BITS);
t_hi[11] = vrshrq_n_s32(vsubq_s32(s_hi[3], s_hi[11]), DCT_CONST_BITS);
t_lo[12] = vrshrq_n_s32(vsubq_s32(s_lo[4], s_lo[12]), DCT_CONST_BITS);
t_hi[12] = vrshrq_n_s32(vsubq_s32(s_hi[4], s_hi[12]), DCT_CONST_BITS);
t_lo[13] = vrshrq_n_s32(vsubq_s32(s_lo[5], s_lo[13]), DCT_CONST_BITS);
t_hi[13] = vrshrq_n_s32(vsubq_s32(s_hi[5], s_hi[13]), DCT_CONST_BITS);
t_lo[14] = vrshrq_n_s32(vsubq_s32(s_lo[6], s_lo[14]), DCT_CONST_BITS);
t_hi[14] = vrshrq_n_s32(vsubq_s32(s_hi[6], s_hi[14]), DCT_CONST_BITS);
t_lo[15] = vrshrq_n_s32(vsubq_s32(s_lo[7], s_lo[15]), DCT_CONST_BITS);
t_hi[15] = vrshrq_n_s32(vsubq_s32(s_hi[7], s_hi[15]), DCT_CONST_BITS);
// stage 2
s_lo[0] = t_lo[0];
s_hi[0] = t_hi[0];
s_lo[1] = t_lo[1];
s_hi[1] = t_hi[1];
s_lo[2] = t_lo[2];
s_hi[2] = t_hi[2];
s_lo[3] = t_lo[3];
s_hi[3] = t_hi[3];
s_lo[4] = t_lo[4];
s_hi[4] = t_hi[4];
s_lo[5] = t_lo[5];
s_hi[5] = t_hi[5];
s_lo[6] = t_lo[6];
s_hi[6] = t_hi[6];
s_lo[7] = t_lo[7];
s_hi[7] = t_hi[7];
// s8 = x8 * cospi_4_64 + x9 * cospi_28_64;
// s9 = x8 * cospi_28_64 - x9 * cospi_4_64;
butterfly_two_coeff_s32_noround(t_lo[8], t_hi[8], t_lo[9], t_hi[9],
cospi_4_64, cospi_28_64, &s_lo[8], &s_hi[8],
&s_lo[9], &s_hi[9]);
// s10 = x10 * cospi_20_64 + x11 * cospi_12_64;
// s11 = x10 * cospi_12_64 - x11 * cospi_20_64;
butterfly_two_coeff_s32_noround(t_lo[10], t_hi[10], t_lo[11], t_hi[11],
cospi_20_64, cospi_12_64, &s_lo[10],
&s_hi[10], &s_lo[11], &s_hi[11]);
// s12 = -x12 * cospi_28_64 + x13 * cospi_4_64;
// s13 = x12 * cospi_4_64 + x13 * cospi_28_64;
butterfly_two_coeff_s32_noround(t_lo[13], t_hi[13], t_lo[12], t_hi[12],
cospi_28_64, cospi_4_64, &s_lo[13], &s_hi[13],
&s_lo[12], &s_hi[12]);
// s14 = -x14 * cospi_12_64 + x15 * cospi_20_64;
// s15 = x14 * cospi_20_64 + x15 * cospi_12_64;
butterfly_two_coeff_s32_noround(t_lo[15], t_hi[15], t_lo[14], t_hi[14],
cospi_12_64, cospi_20_64, &s_lo[15],
&s_hi[15], &s_lo[14], &s_hi[14]);
// s0 + s4
t_lo[0] = vaddq_s32(s_lo[0], s_lo[4]);
t_hi[0] = vaddq_s32(s_hi[0], s_hi[4]);
// s1 + s5
t_lo[1] = vaddq_s32(s_lo[1], s_lo[5]);
t_hi[1] = vaddq_s32(s_hi[1], s_hi[5]);
// s2 + s6
t_lo[2] = vaddq_s32(s_lo[2], s_lo[6]);
t_hi[2] = vaddq_s32(s_hi[2], s_hi[6]);
// s3 + s7
t_lo[3] = vaddq_s32(s_lo[3], s_lo[7]);
t_hi[3] = vaddq_s32(s_hi[3], s_hi[7]);
// s0 - s4
t_lo[4] = vsubq_s32(s_lo[0], s_lo[4]);
t_hi[4] = vsubq_s32(s_hi[0], s_hi[4]);
// s1 - s7
t_lo[5] = vsubq_s32(s_lo[1], s_lo[5]);
t_hi[5] = vsubq_s32(s_hi[1], s_hi[5]);
// s2 - s6
t_lo[6] = vsubq_s32(s_lo[2], s_lo[6]);
t_hi[6] = vsubq_s32(s_hi[2], s_hi[6]);
// s3 - s7
t_lo[7] = vsubq_s32(s_lo[3], s_lo[7]);
t_hi[7] = vsubq_s32(s_hi[3], s_hi[7]);
// s8 + s12
t_lo[8] = vaddq_s32(s_lo[8], s_lo[12]);
t_hi[8] = vaddq_s32(s_hi[8], s_hi[12]);
// s9 + s13
t_lo[9] = vaddq_s32(s_lo[9], s_lo[13]);
t_hi[9] = vaddq_s32(s_hi[9], s_hi[13]);
// s10 + s14
t_lo[10] = vaddq_s32(s_lo[10], s_lo[14]);
t_hi[10] = vaddq_s32(s_hi[10], s_hi[14]);
// s11 + s15
t_lo[11] = vaddq_s32(s_lo[11], s_lo[15]);
t_hi[11] = vaddq_s32(s_hi[11], s_hi[15]);
// s8 + s12
t_lo[12] = vsubq_s32(s_lo[8], s_lo[12]);
t_hi[12] = vsubq_s32(s_hi[8], s_hi[12]);
// s9 + s13
t_lo[13] = vsubq_s32(s_lo[9], s_lo[13]);
t_hi[13] = vsubq_s32(s_hi[9], s_hi[13]);
// s10 + s14
t_lo[14] = vsubq_s32(s_lo[10], s_lo[14]);
t_hi[14] = vsubq_s32(s_hi[10], s_hi[14]);
// s11 + s15
t_lo[15] = vsubq_s32(s_lo[11], s_lo[15]);
t_hi[15] = vsubq_s32(s_hi[11], s_hi[15]);
t_lo[8] = vrshrq_n_s32(t_lo[8], DCT_CONST_BITS);
t_hi[8] = vrshrq_n_s32(t_hi[8], DCT_CONST_BITS);
t_lo[9] = vrshrq_n_s32(t_lo[9], DCT_CONST_BITS);
t_hi[9] = vrshrq_n_s32(t_hi[9], DCT_CONST_BITS);
t_lo[10] = vrshrq_n_s32(t_lo[10], DCT_CONST_BITS);
t_hi[10] = vrshrq_n_s32(t_hi[10], DCT_CONST_BITS);
t_lo[11] = vrshrq_n_s32(t_lo[11], DCT_CONST_BITS);
t_hi[11] = vrshrq_n_s32(t_hi[11], DCT_CONST_BITS);
t_lo[12] = vrshrq_n_s32(t_lo[12], DCT_CONST_BITS);
t_hi[12] = vrshrq_n_s32(t_hi[12], DCT_CONST_BITS);
t_lo[13] = vrshrq_n_s32(t_lo[13], DCT_CONST_BITS);
t_hi[13] = vrshrq_n_s32(t_hi[13], DCT_CONST_BITS);
t_lo[14] = vrshrq_n_s32(t_lo[14], DCT_CONST_BITS);
t_hi[14] = vrshrq_n_s32(t_hi[14], DCT_CONST_BITS);
t_lo[15] = vrshrq_n_s32(t_lo[15], DCT_CONST_BITS);
t_hi[15] = vrshrq_n_s32(t_hi[15], DCT_CONST_BITS);
// stage 3
s_lo[0] = t_lo[0];
s_hi[0] = t_hi[0];
s_lo[1] = t_lo[1];
s_hi[1] = t_hi[1];
s_lo[2] = t_lo[2];
s_hi[2] = t_hi[2];
s_lo[3] = t_lo[3];
s_hi[3] = t_hi[3];
// s4 = x4 * cospi_8_64 + x5 * cospi_24_64;
// s5 = x4 * cospi_24_64 - x5 * cospi_8_64;
butterfly_two_coeff_s32_noround(t_lo[4], t_hi[4], t_lo[5], t_hi[5],
cospi_8_64, cospi_24_64, &s_lo[4], &s_hi[4],
&s_lo[5], &s_hi[5]);
// s6 = -x6 * cospi_24_64 + x7 * cospi_8_64;
// s7 = x6 * cospi_8_64 + x7 * cospi_24_64;
butterfly_two_coeff_s32_noround(t_lo[7], t_hi[7], t_lo[6], t_hi[6],
cospi_24_64, cospi_8_64, &s_lo[7], &s_hi[7],
&s_lo[6], &s_hi[6]);
s_lo[8] = t_lo[8];
s_hi[8] = t_hi[8];
s_lo[9] = t_lo[9];
s_hi[9] = t_hi[9];
s_lo[10] = t_lo[10];
s_hi[10] = t_hi[10];
s_lo[11] = t_lo[11];
s_hi[11] = t_hi[11];
// s12 = x12 * cospi_8_64 + x13 * cospi_24_64;
// s13 = x12 * cospi_24_64 - x13 * cospi_8_64;
butterfly_two_coeff_s32_noround(t_lo[12], t_hi[12], t_lo[13], t_hi[13],
cospi_8_64, cospi_24_64, &s_lo[12], &s_hi[12],
&s_lo[13], &s_hi[13]);
// s14 = -x14 * cospi_24_64 + x15 * cospi_8_64;
// s15 = x14 * cospi_8_64 + x15 * cospi_24_64;
butterfly_two_coeff_s32_noround(t_lo[15], t_hi[15], t_lo[14], t_hi[14],
cospi_24_64, cospi_8_64, &s_lo[15], &s_hi[15],
&s_lo[14], &s_hi[14]);
// s0 + s4
t_lo[0] = vaddq_s32(s_lo[0], s_lo[2]);
t_hi[0] = vaddq_s32(s_hi[0], s_hi[2]);
// s1 + s3
t_lo[1] = vaddq_s32(s_lo[1], s_lo[3]);
t_hi[1] = vaddq_s32(s_hi[1], s_hi[3]);
// s0 - s4
t_lo[2] = vsubq_s32(s_lo[0], s_lo[2]);
t_hi[2] = vsubq_s32(s_hi[0], s_hi[2]);
// s1 - s3
t_lo[3] = vsubq_s32(s_lo[1], s_lo[3]);
t_hi[3] = vsubq_s32(s_hi[1], s_hi[3]);
// s4 + s6
t_lo[4] = vaddq_s32(s_lo[4], s_lo[6]);
t_hi[4] = vaddq_s32(s_hi[4], s_hi[6]);
// s5 + s7
t_lo[5] = vaddq_s32(s_lo[5], s_lo[7]);
t_hi[5] = vaddq_s32(s_hi[5], s_hi[7]);
// s4 - s6
t_lo[6] = vsubq_s32(s_lo[4], s_lo[6]);
t_hi[6] = vsubq_s32(s_hi[4], s_hi[6]);
// s5 - s7
t_lo[7] = vsubq_s32(s_lo[5], s_lo[7]);
t_hi[7] = vsubq_s32(s_hi[5], s_hi[7]);
// s8 + s10
t_lo[8] = vaddq_s32(s_lo[8], s_lo[10]);
t_hi[8] = vaddq_s32(s_hi[8], s_hi[10]);
// s9 + s11
t_lo[9] = vaddq_s32(s_lo[9], s_lo[11]);
t_hi[9] = vaddq_s32(s_hi[9], s_hi[11]);
// s8 - s10
t_lo[10] = vsubq_s32(s_lo[8], s_lo[10]);
t_hi[10] = vsubq_s32(s_hi[8], s_hi[10]);
// s9 - s11
t_lo[11] = vsubq_s32(s_lo[9], s_lo[11]);
t_hi[11] = vsubq_s32(s_hi[9], s_hi[11]);
// s12 + s14
t_lo[12] = vaddq_s32(s_lo[12], s_lo[14]);
t_hi[12] = vaddq_s32(s_hi[12], s_hi[14]);
// s13 + s15
t_lo[13] = vaddq_s32(s_lo[13], s_lo[15]);
t_hi[13] = vaddq_s32(s_hi[13], s_hi[15]);
// s12 - s14
t_lo[14] = vsubq_s32(s_lo[12], s_lo[14]);
t_hi[14] = vsubq_s32(s_hi[12], s_hi[14]);
// s13 - s15
t_lo[15] = vsubq_s32(s_lo[13], s_lo[15]);
t_hi[15] = vsubq_s32(s_hi[13], s_hi[15]);
t_lo[4] = vrshrq_n_s32(t_lo[4], DCT_CONST_BITS);
t_hi[4] = vrshrq_n_s32(t_hi[4], DCT_CONST_BITS);
t_lo[5] = vrshrq_n_s32(t_lo[5], DCT_CONST_BITS);
t_hi[5] = vrshrq_n_s32(t_hi[5], DCT_CONST_BITS);
t_lo[6] = vrshrq_n_s32(t_lo[6], DCT_CONST_BITS);
t_hi[6] = vrshrq_n_s32(t_hi[6], DCT_CONST_BITS);
t_lo[7] = vrshrq_n_s32(t_lo[7], DCT_CONST_BITS);
t_hi[7] = vrshrq_n_s32(t_hi[7], DCT_CONST_BITS);
t_lo[12] = vrshrq_n_s32(t_lo[12], DCT_CONST_BITS);
t_hi[12] = vrshrq_n_s32(t_hi[12], DCT_CONST_BITS);
t_lo[13] = vrshrq_n_s32(t_lo[13], DCT_CONST_BITS);
t_hi[13] = vrshrq_n_s32(t_hi[13], DCT_CONST_BITS);
t_lo[14] = vrshrq_n_s32(t_lo[14], DCT_CONST_BITS);
t_hi[14] = vrshrq_n_s32(t_hi[14], DCT_CONST_BITS);
t_lo[15] = vrshrq_n_s32(t_lo[15], DCT_CONST_BITS);
t_hi[15] = vrshrq_n_s32(t_hi[15], DCT_CONST_BITS);
// stage 4
// s2 = (-cospi_16_64) * (x2 + x3);
// s3 = cospi_16_64 * (x2 - x3);
butterfly_one_coeff_s32_noround(t_lo[3], t_hi[3], t_lo[2], t_hi[2],
-cospi_16_64, &s_lo[2], &s_hi[2], &s_lo[3],
&s_hi[3]);
// s6 = cospi_16_64 * (x6 + x7);
// s7 = cospi_16_64 * (-x6 + x7);
butterfly_one_coeff_s32_noround(t_lo[7], t_hi[7], t_lo[6], t_hi[6],
cospi_16_64, &s_lo[6], &s_hi[6], &s_lo[7],
&s_hi[7]);
// s10 = cospi_16_64 * (x10 + x11);
// s11 = cospi_16_64 * (-x10 + x11);
butterfly_one_coeff_s32_noround(t_lo[11], t_hi[11], t_lo[10], t_hi[10],
cospi_16_64, &s_lo[10], &s_hi[10], &s_lo[11],
&s_hi[11]);
// s14 = (-cospi_16_64) * (x14 + x15);
// s15 = cospi_16_64 * (x14 - x15);
butterfly_one_coeff_s32_noround(t_lo[15], t_hi[15], t_lo[14], t_hi[14],
-cospi_16_64, &s_lo[14], &s_hi[14], &s_lo[15],
&s_hi[15]);
// final fdct_round_shift
x_lo[2] = vrshrn_n_s32(s_lo[2], DCT_CONST_BITS);
x_hi[2] = vrshrn_n_s32(s_hi[2], DCT_CONST_BITS);
x_lo[3] = vrshrn_n_s32(s_lo[3], DCT_CONST_BITS);
x_hi[3] = vrshrn_n_s32(s_hi[3], DCT_CONST_BITS);
x_lo[6] = vrshrn_n_s32(s_lo[6], DCT_CONST_BITS);
x_hi[6] = vrshrn_n_s32(s_hi[6], DCT_CONST_BITS);
x_lo[7] = vrshrn_n_s32(s_lo[7], DCT_CONST_BITS);
x_hi[7] = vrshrn_n_s32(s_hi[7], DCT_CONST_BITS);
x_lo[10] = vrshrn_n_s32(s_lo[10], DCT_CONST_BITS);
x_hi[10] = vrshrn_n_s32(s_hi[10], DCT_CONST_BITS);
x_lo[11] = vrshrn_n_s32(s_lo[11], DCT_CONST_BITS);
x_hi[11] = vrshrn_n_s32(s_hi[11], DCT_CONST_BITS);
x_lo[14] = vrshrn_n_s32(s_lo[14], DCT_CONST_BITS);
x_hi[14] = vrshrn_n_s32(s_hi[14], DCT_CONST_BITS);
x_lo[15] = vrshrn_n_s32(s_lo[15], DCT_CONST_BITS);
x_hi[15] = vrshrn_n_s32(s_hi[15], DCT_CONST_BITS);
// x0, x1, x4, x5, x8, x9, x12, x13 narrow down to 16-bits directly
x_lo[0] = vmovn_s32(t_lo[0]);
x_hi[0] = vmovn_s32(t_hi[0]);
x_lo[1] = vmovn_s32(t_lo[1]);
x_hi[1] = vmovn_s32(t_hi[1]);
x_lo[4] = vmovn_s32(t_lo[4]);
x_hi[4] = vmovn_s32(t_hi[4]);
x_lo[5] = vmovn_s32(t_lo[5]);
x_hi[5] = vmovn_s32(t_hi[5]);
x_lo[8] = vmovn_s32(t_lo[8]);
x_hi[8] = vmovn_s32(t_hi[8]);
x_lo[9] = vmovn_s32(t_lo[9]);
x_hi[9] = vmovn_s32(t_hi[9]);
x_lo[12] = vmovn_s32(t_lo[12]);
x_hi[12] = vmovn_s32(t_hi[12]);
x_lo[13] = vmovn_s32(t_lo[13]);
x_hi[13] = vmovn_s32(t_hi[13]);
in[0] = vcombine_s16(x_lo[0], x_hi[0]);
in[1] = vnegq_s16(vcombine_s16(x_lo[8], x_hi[8]));
in[2] = vcombine_s16(x_lo[12], x_hi[12]);
in[3] = vnegq_s16(vcombine_s16(x_lo[4], x_hi[4]));
in[4] = vcombine_s16(x_lo[6], x_hi[6]);
in[5] = vcombine_s16(x_lo[14], x_hi[14]);
in[6] = vcombine_s16(x_lo[10], x_hi[10]);
in[7] = vcombine_s16(x_lo[2], x_hi[2]);
in[8] = vcombine_s16(x_lo[3], x_hi[3]);
in[9] = vcombine_s16(x_lo[11], x_hi[11]);
in[10] = vcombine_s16(x_lo[15], x_hi[15]);
in[11] = vcombine_s16(x_lo[7], x_hi[7]);
in[12] = vcombine_s16(x_lo[5], x_hi[5]);
in[13] = vnegq_s16(vcombine_s16(x_lo[13], x_hi[13]));
in[14] = vcombine_s16(x_lo[9], x_hi[9]);
in[15] = vnegq_s16(vcombine_s16(x_lo[1], x_hi[1]));
}
static void fdct16x16_neon(int16x8_t *in0, int16x8_t *in1) {
// Left half.
fdct16_8col(in0);
// Right half.
fdct16_8col(in1);
transpose_s16_16x16(in0, in1);
}
static void fadst16x16_neon(int16x8_t *in0, int16x8_t *in1) {
fadst16_8col(in0);
fadst16_8col(in1);
transpose_s16_16x16(in0, in1);
}
void vp9_fht16x16_neon(const int16_t *input, tran_low_t *output, int stride,
int tx_type) {
int16x8_t in0[16], in1[16];
switch (tx_type) {
case DCT_DCT: vpx_fdct16x16_neon(input, output, stride); break;
case ADST_DCT:
load_buffer_16x16(input, in0, in1, stride);
fadst16x16_neon(in0, in1);
right_shift_16x16(in0, in1);
fdct16x16_neon(in0, in1);
write_buffer_16x16(output, in0, in1, 16);
break;
case DCT_ADST:
load_buffer_16x16(input, in0, in1, stride);
fdct16x16_neon(in0, in1);
right_shift_16x16(in0, in1);
fadst16x16_neon(in0, in1);
write_buffer_16x16(output, in0, in1, 16);
break;
default:
assert(tx_type == ADST_ADST);
load_buffer_16x16(input, in0, in1, stride);
fadst16x16_neon(in0, in1);
right_shift_16x16(in0, in1);
fadst16x16_neon(in0, in1);
write_buffer_16x16(output, in0, in1, 16);
break;
}
}
#if CONFIG_VP9_HIGHBITDEPTH
static INLINE void highbd_load_buffer_4x4(const int16_t *input,
int32x4_t *in /*[4]*/, int stride) {
// { 0, 1, 1, 1 };
const int32x4_t nonzero_bias_a = vextq_s32(vdupq_n_s32(0), vdupq_n_s32(1), 3);
// { 1, 0, 0, 0 };
const int32x4_t nonzero_bias_b = vextq_s32(vdupq_n_s32(1), vdupq_n_s32(0), 3);
int32x4_t mask;
in[0] = vshll_n_s16(vld1_s16(input + 0 * stride), 4);
in[1] = vshll_n_s16(vld1_s16(input + 1 * stride), 4);
in[2] = vshll_n_s16(vld1_s16(input + 2 * stride), 4);
in[3] = vshll_n_s16(vld1_s16(input + 3 * stride), 4);
// Copy the SSE method, use a mask to avoid an 'if' branch here to increase by
// one non-zero first elements
mask = vreinterpretq_s32_u32(vceqq_s32(in[0], nonzero_bias_a));
in[0] = vaddq_s32(in[0], mask);
in[0] = vaddq_s32(in[0], nonzero_bias_b);
}
static INLINE void highbd_write_buffer_4x4(tran_low_t *output, int32x4_t *res) {
const int32x4_t one = vdupq_n_s32(1);
res[0] = vshrq_n_s32(vaddq_s32(res[0], one), 2);
res[1] = vshrq_n_s32(vaddq_s32(res[1], one), 2);
res[2] = vshrq_n_s32(vaddq_s32(res[2], one), 2);
res[3] = vshrq_n_s32(vaddq_s32(res[3], one), 2);
vst1q_s32(output + 0 * 4, res[0]);
vst1q_s32(output + 1 * 4, res[1]);
vst1q_s32(output + 2 * 4, res[2]);
vst1q_s32(output + 3 * 4, res[3]);
}
static INLINE void highbd_fadst4x4_neon(int32x4_t *in /*[4]*/) {
int32x2_t s_lo[4], s_hi[4];
int64x2_t u_lo[4], u_hi[4], t_lo[4], t_hi[4];
s_lo[0] = vget_low_s32(in[0]);
s_hi[0] = vget_high_s32(in[0]);
s_lo[1] = vget_low_s32(in[1]);
s_hi[1] = vget_high_s32(in[1]);
s_lo[2] = vget_low_s32(in[2]);
s_hi[2] = vget_high_s32(in[2]);
s_lo[3] = vget_low_s32(in[3]);
s_hi[3] = vget_high_s32(in[3]);
// t0 = s0 * sinpi_1_9 + s1 * sinpi_2_9 + s3 * sinpi_4_9
t_lo[0] = vmull_n_s32(s_lo[0], sinpi_1_9);
t_lo[0] = vmlal_n_s32(t_lo[0], s_lo[1], sinpi_2_9);
t_lo[0] = vmlal_n_s32(t_lo[0], s_lo[3], sinpi_4_9);
t_hi[0] = vmull_n_s32(s_hi[0], sinpi_1_9);
t_hi[0] = vmlal_n_s32(t_hi[0], s_hi[1], sinpi_2_9);
t_hi[0] = vmlal_n_s32(t_hi[0], s_hi[3], sinpi_4_9);
// t1 = (s0 + s1) * sinpi_3_9 - s3 * sinpi_3_9
t_lo[1] = vmull_n_s32(s_lo[0], sinpi_3_9);
t_lo[1] = vmlal_n_s32(t_lo[1], s_lo[1], sinpi_3_9);
t_lo[1] = vmlsl_n_s32(t_lo[1], s_lo[3], sinpi_3_9);
t_hi[1] = vmull_n_s32(s_hi[0], sinpi_3_9);
t_hi[1] = vmlal_n_s32(t_hi[1], s_hi[1], sinpi_3_9);
t_hi[1] = vmlsl_n_s32(t_hi[1], s_hi[3], sinpi_3_9);
// t2 = s0 * sinpi_4_9 - s1* sinpi_1_9 + s3 * sinpi_2_9
t_lo[2] = vmull_n_s32(s_lo[0], sinpi_4_9);
t_lo[2] = vmlsl_n_s32(t_lo[2], s_lo[1], sinpi_1_9);
t_lo[2] = vmlal_n_s32(t_lo[2], s_lo[3], sinpi_2_9);
t_hi[2] = vmull_n_s32(s_hi[0], sinpi_4_9);
t_hi[2] = vmlsl_n_s32(t_hi[2], s_hi[1], sinpi_1_9);
t_hi[2] = vmlal_n_s32(t_hi[2], s_hi[3], sinpi_2_9);
// t3 = s2 * sinpi_3_9
t_lo[3] = vmull_n_s32(s_lo[2], sinpi_3_9);
t_hi[3] = vmull_n_s32(s_hi[2], sinpi_3_9);
/*
* u0 = t0 + t3
* u1 = t1
* u2 = t2 - t3
* u3 = t2 - t0 + t3
*/
u_lo[0] = vaddq_s64(t_lo[0], t_lo[3]);
u_hi[0] = vaddq_s64(t_hi[0], t_hi[3]);
u_lo[1] = t_lo[1];
u_hi[1] = t_hi[1];
u_lo[2] = vsubq_s64(t_lo[2], t_lo[3]);
u_hi[2] = vsubq_s64(t_hi[2], t_hi[3]);
u_lo[3] = vaddq_s64(vsubq_s64(t_lo[2], t_lo[0]), t_lo[3]);
u_hi[3] = vaddq_s64(vsubq_s64(t_hi[2], t_hi[0]), t_hi[3]);
// fdct_round_shift
in[0] = vcombine_s32(vrshrn_n_s64(u_lo[0], DCT_CONST_BITS),
vrshrn_n_s64(u_hi[0], DCT_CONST_BITS));
in[1] = vcombine_s32(vrshrn_n_s64(u_lo[1], DCT_CONST_BITS),
vrshrn_n_s64(u_hi[1], DCT_CONST_BITS));
in[2] = vcombine_s32(vrshrn_n_s64(u_lo[2], DCT_CONST_BITS),
vrshrn_n_s64(u_hi[2], DCT_CONST_BITS));
in[3] = vcombine_s32(vrshrn_n_s64(u_lo[3], DCT_CONST_BITS),
vrshrn_n_s64(u_hi[3], DCT_CONST_BITS));
transpose_s32_4x4(&in[0], &in[1], &in[2], &in[3]);
}
void vp9_highbd_fht4x4_neon(const int16_t *input, tran_low_t *output,
int stride, int tx_type) {
int32x4_t in[4];
// int i;
switch (tx_type) {
case DCT_DCT: vpx_highbd_fdct4x4_neon(input, output, stride); break;
case ADST_DCT:
highbd_load_buffer_4x4(input, in, stride);
highbd_fadst4x4_neon(in);
vpx_highbd_fdct4x4_pass1_neon(in);
highbd_write_buffer_4x4(output, in);
break;
case DCT_ADST:
highbd_load_buffer_4x4(input, in, stride);
vpx_highbd_fdct4x4_pass1_neon(in);
highbd_fadst4x4_neon(in);
highbd_write_buffer_4x4(output, in);
break;
default:
assert(tx_type == ADST_ADST);
highbd_load_buffer_4x4(input, in, stride);
highbd_fadst4x4_neon(in);
highbd_fadst4x4_neon(in);
highbd_write_buffer_4x4(output, in);
break;
}
}
static INLINE void highbd_load_buffer_8x8(const int16_t *input,
int32x4_t *lo /*[8]*/,
int32x4_t *hi /*[8]*/, int stride) {
int16x8_t in[8];
in[0] = vld1q_s16(input + 0 * stride);
in[1] = vld1q_s16(input + 1 * stride);
in[2] = vld1q_s16(input + 2 * stride);
in[3] = vld1q_s16(input + 3 * stride);
in[4] = vld1q_s16(input + 4 * stride);
in[5] = vld1q_s16(input + 5 * stride);
in[6] = vld1q_s16(input + 6 * stride);
in[7] = vld1q_s16(input + 7 * stride);
lo[0] = vshll_n_s16(vget_low_s16(in[0]), 2);
hi[0] = vshll_n_s16(vget_high_s16(in[0]), 2);
lo[1] = vshll_n_s16(vget_low_s16(in[1]), 2);
hi[1] = vshll_n_s16(vget_high_s16(in[1]), 2);
lo[2] = vshll_n_s16(vget_low_s16(in[2]), 2);
hi[2] = vshll_n_s16(vget_high_s16(in[2]), 2);
lo[3] = vshll_n_s16(vget_low_s16(in[3]), 2);
hi[3] = vshll_n_s16(vget_high_s16(in[3]), 2);
lo[4] = vshll_n_s16(vget_low_s16(in[4]), 2);
hi[4] = vshll_n_s16(vget_high_s16(in[4]), 2);
lo[5] = vshll_n_s16(vget_low_s16(in[5]), 2);
hi[5] = vshll_n_s16(vget_high_s16(in[5]), 2);
lo[6] = vshll_n_s16(vget_low_s16(in[6]), 2);
hi[6] = vshll_n_s16(vget_high_s16(in[6]), 2);
lo[7] = vshll_n_s16(vget_low_s16(in[7]), 2);
hi[7] = vshll_n_s16(vget_high_s16(in[7]), 2);
}
/* right shift and rounding
* first get the sign bit (bit 15).
* If bit == 1, it's the simple case of shifting right by one bit.
* If bit == 2, it essentially computes the expression:
*
* out[j * 16 + i] = (temp_out[j] + 1 + (temp_out[j] < 0)) >> 2;
*
* for each row.
*/
static INLINE void highbd_right_shift_8x8(int32x4_t *lo, int32x4_t *hi,
const int bit) {
int32x4_t sign_lo[8], sign_hi[8];
sign_lo[0] = vshrq_n_s32(lo[0], 31);
sign_hi[0] = vshrq_n_s32(hi[0], 31);
sign_lo[1] = vshrq_n_s32(lo[1], 31);
sign_hi[1] = vshrq_n_s32(hi[1], 31);
sign_lo[2] = vshrq_n_s32(lo[2], 31);
sign_hi[2] = vshrq_n_s32(hi[2], 31);
sign_lo[3] = vshrq_n_s32(lo[3], 31);
sign_hi[3] = vshrq_n_s32(hi[3], 31);
sign_lo[4] = vshrq_n_s32(lo[4], 31);
sign_hi[4] = vshrq_n_s32(hi[4], 31);
sign_lo[5] = vshrq_n_s32(lo[5], 31);
sign_hi[5] = vshrq_n_s32(hi[5], 31);
sign_lo[6] = vshrq_n_s32(lo[6], 31);
sign_hi[6] = vshrq_n_s32(hi[6], 31);
sign_lo[7] = vshrq_n_s32(lo[7], 31);
sign_hi[7] = vshrq_n_s32(hi[7], 31);
if (bit == 2) {
const int32x4_t const_rounding = vdupq_n_s32(1);
lo[0] = vaddq_s32(lo[0], const_rounding);
hi[0] = vaddq_s32(hi[0], const_rounding);
lo[1] = vaddq_s32(lo[1], const_rounding);
hi[1] = vaddq_s32(hi[1], const_rounding);
lo[2] = vaddq_s32(lo[2], const_rounding);
hi[2] = vaddq_s32(hi[2], const_rounding);
lo[3] = vaddq_s32(lo[3], const_rounding);
hi[3] = vaddq_s32(hi[3], const_rounding);
lo[4] = vaddq_s32(lo[4], const_rounding);
hi[4] = vaddq_s32(hi[4], const_rounding);
lo[5] = vaddq_s32(lo[5], const_rounding);
hi[5] = vaddq_s32(hi[5], const_rounding);
lo[6] = vaddq_s32(lo[6], const_rounding);
hi[6] = vaddq_s32(hi[6], const_rounding);
lo[7] = vaddq_s32(lo[7], const_rounding);
hi[7] = vaddq_s32(hi[7], const_rounding);
}
lo[0] = vsubq_s32(lo[0], sign_lo[0]);
hi[0] = vsubq_s32(hi[0], sign_hi[0]);
lo[1] = vsubq_s32(lo[1], sign_lo[1]);
hi[1] = vsubq_s32(hi[1], sign_hi[1]);
lo[2] = vsubq_s32(lo[2], sign_lo[2]);
hi[2] = vsubq_s32(hi[2], sign_hi[2]);
lo[3] = vsubq_s32(lo[3], sign_lo[3]);
hi[3] = vsubq_s32(hi[3], sign_hi[3]);
lo[4] = vsubq_s32(lo[4], sign_lo[4]);
hi[4] = vsubq_s32(hi[4], sign_hi[4]);
lo[5] = vsubq_s32(lo[5], sign_lo[5]);
hi[5] = vsubq_s32(hi[5], sign_hi[5]);
lo[6] = vsubq_s32(lo[6], sign_lo[6]);
hi[6] = vsubq_s32(hi[6], sign_hi[6]);
lo[7] = vsubq_s32(lo[7], sign_lo[7]);
hi[7] = vsubq_s32(hi[7], sign_hi[7]);
if (bit == 1) {
lo[0] = vshrq_n_s32(lo[0], 1);
hi[0] = vshrq_n_s32(hi[0], 1);
lo[1] = vshrq_n_s32(lo[1], 1);
hi[1] = vshrq_n_s32(hi[1], 1);
lo[2] = vshrq_n_s32(lo[2], 1);
hi[2] = vshrq_n_s32(hi[2], 1);
lo[3] = vshrq_n_s32(lo[3], 1);
hi[3] = vshrq_n_s32(hi[3], 1);
lo[4] = vshrq_n_s32(lo[4], 1);
hi[4] = vshrq_n_s32(hi[4], 1);
lo[5] = vshrq_n_s32(lo[5], 1);
hi[5] = vshrq_n_s32(hi[5], 1);
lo[6] = vshrq_n_s32(lo[6], 1);
hi[6] = vshrq_n_s32(hi[6], 1);
lo[7] = vshrq_n_s32(lo[7], 1);
hi[7] = vshrq_n_s32(hi[7], 1);
} else {
lo[0] = vshrq_n_s32(lo[0], 2);
hi[0] = vshrq_n_s32(hi[0], 2);
lo[1] = vshrq_n_s32(lo[1], 2);
hi[1] = vshrq_n_s32(hi[1], 2);
lo[2] = vshrq_n_s32(lo[2], 2);
hi[2] = vshrq_n_s32(hi[2], 2);
lo[3] = vshrq_n_s32(lo[3], 2);
hi[3] = vshrq_n_s32(hi[3], 2);
lo[4] = vshrq_n_s32(lo[4], 2);
hi[4] = vshrq_n_s32(hi[4], 2);
lo[5] = vshrq_n_s32(lo[5], 2);
hi[5] = vshrq_n_s32(hi[5], 2);
lo[6] = vshrq_n_s32(lo[6], 2);
hi[6] = vshrq_n_s32(hi[6], 2);
lo[7] = vshrq_n_s32(lo[7], 2);
hi[7] = vshrq_n_s32(hi[7], 2);
}
}
static INLINE void highbd_write_buffer_8x8(tran_low_t *output, int32x4_t *lo,
int32x4_t *hi, int stride) {
vst1q_s32(output + 0 * stride, lo[0]);
vst1q_s32(output + 0 * stride + 4, hi[0]);
vst1q_s32(output + 1 * stride, lo[1]);
vst1q_s32(output + 1 * stride + 4, hi[1]);
vst1q_s32(output + 2 * stride, lo[2]);
vst1q_s32(output + 2 * stride + 4, hi[2]);
vst1q_s32(output + 3 * stride, lo[3]);
vst1q_s32(output + 3 * stride + 4, hi[3]);
vst1q_s32(output + 4 * stride, lo[4]);
vst1q_s32(output + 4 * stride + 4, hi[4]);
vst1q_s32(output + 5 * stride, lo[5]);
vst1q_s32(output + 5 * stride + 4, hi[5]);
vst1q_s32(output + 6 * stride, lo[6]);
vst1q_s32(output + 6 * stride + 4, hi[6]);
vst1q_s32(output + 7 * stride, lo[7]);
vst1q_s32(output + 7 * stride + 4, hi[7]);
}
static INLINE void highbd_fadst8x8_neon(int32x4_t *lo /*[8]*/,
int32x4_t *hi /*[8]*/) {
int32x4_t s_lo[8], s_hi[8];
int32x4_t t_lo[8], t_hi[8];
int32x4_t x_lo[8], x_hi[8];
int64x2_t s64_lo[16], s64_hi[16];
x_lo[0] = lo[7];
x_hi[0] = hi[7];
x_lo[1] = lo[0];
x_hi[1] = hi[0];
x_lo[2] = lo[5];
x_hi[2] = hi[5];
x_lo[3] = lo[2];
x_hi[3] = hi[2];
x_lo[4] = lo[3];
x_hi[4] = hi[3];
x_lo[5] = lo[4];
x_hi[5] = hi[4];
x_lo[6] = lo[1];
x_hi[6] = hi[1];
x_lo[7] = lo[6];
x_hi[7] = hi[6];
// stage 1
// s0 = cospi_2_64 * x0 + cospi_30_64 * x1;
// s1 = cospi_30_64 * x0 - cospi_2_64 * x1;
butterfly_two_coeff_s32_s64_noround(
x_lo[0], x_hi[0], x_lo[1], x_hi[1], cospi_2_64, cospi_30_64,
&s64_lo[2 * 0], &s64_hi[2 * 0], &s64_lo[2 * 1], &s64_hi[2 * 1]);
// s2 = cospi_10_64 * x2 + cospi_22_64 * x3;
// s3 = cospi_22_64 * x2 - cospi_10_64 * x3;
butterfly_two_coeff_s32_s64_noround(
x_lo[2], x_hi[2], x_lo[3], x_hi[3], cospi_10_64, cospi_22_64,
&s64_lo[2 * 2], &s64_hi[2 * 2], &s64_lo[2 * 3], &s64_hi[2 * 3]);
// s4 = cospi_18_64 * x4 + cospi_14_64 * x5;
// s5 = cospi_14_64 * x4 - cospi_18_64 * x5;
butterfly_two_coeff_s32_s64_noround(
x_lo[4], x_hi[4], x_lo[5], x_hi[5], cospi_18_64, cospi_14_64,
&s64_lo[2 * 4], &s64_hi[2 * 4], &s64_lo[2 * 5], &s64_hi[2 * 5]);
// s6 = cospi_26_64 * x6 + cospi_6_64 * x7;
// s7 = cospi_6_64 * x6 - cospi_26_64 * x7;
butterfly_two_coeff_s32_s64_noround(
x_lo[6], x_hi[6], x_lo[7], x_hi[7], cospi_26_64, cospi_6_64,
&s64_lo[2 * 6], &s64_hi[2 * 6], &s64_lo[2 * 7], &s64_hi[2 * 7]);
// fdct_round_shift, indices are doubled
t_lo[0] = add_s64_round_narrow(&s64_lo[2 * 0], &s64_lo[2 * 4]);
t_hi[0] = add_s64_round_narrow(&s64_hi[2 * 0], &s64_hi[2 * 4]);
t_lo[1] = add_s64_round_narrow(&s64_lo[2 * 1], &s64_lo[2 * 5]);
t_hi[1] = add_s64_round_narrow(&s64_hi[2 * 1], &s64_hi[2 * 5]);
t_lo[2] = add_s64_round_narrow(&s64_lo[2 * 2], &s64_lo[2 * 6]);
t_hi[2] = add_s64_round_narrow(&s64_hi[2 * 2], &s64_hi[2 * 6]);
t_lo[3] = add_s64_round_narrow(&s64_lo[2 * 3], &s64_lo[2 * 7]);
t_hi[3] = add_s64_round_narrow(&s64_hi[2 * 3], &s64_hi[2 * 7]);
t_lo[4] = sub_s64_round_narrow(&s64_lo[2 * 0], &s64_lo[2 * 4]);
t_hi[4] = sub_s64_round_narrow(&s64_hi[2 * 0], &s64_hi[2 * 4]);
t_lo[5] = sub_s64_round_narrow(&s64_lo[2 * 1], &s64_lo[2 * 5]);
t_hi[5] = sub_s64_round_narrow(&s64_hi[2 * 1], &s64_hi[2 * 5]);
t_lo[6] = sub_s64_round_narrow(&s64_lo[2 * 2], &s64_lo[2 * 6]);
t_hi[6] = sub_s64_round_narrow(&s64_hi[2 * 2], &s64_hi[2 * 6]);
t_lo[7] = sub_s64_round_narrow(&s64_lo[2 * 3], &s64_lo[2 * 7]);
t_hi[7] = sub_s64_round_narrow(&s64_hi[2 * 3], &s64_hi[2 * 7]);
// stage 2
s_lo[0] = t_lo[0];
s_hi[0] = t_hi[0];
s_lo[1] = t_lo[1];
s_hi[1] = t_hi[1];
s_lo[2] = t_lo[2];
s_hi[2] = t_hi[2];
s_lo[3] = t_lo[3];
s_hi[3] = t_hi[3];
// s4 = cospi_8_64 * x4 + cospi_24_64 * x5;
// s5 = cospi_24_64 * x4 - cospi_8_64 * x5;
butterfly_two_coeff_s32_s64_noround(
t_lo[4], t_hi[4], t_lo[5], t_hi[5], cospi_8_64, cospi_24_64,
&s64_lo[2 * 4], &s64_hi[2 * 4], &s64_lo[2 * 5], &s64_hi[2 * 5]);
// s6 = -cospi_24_64 * x6 + cospi_8_64 * x7;
// s7 = cospi_8_64 * x6 + cospi_24_64 * x7;
butterfly_two_coeff_s32_s64_noround(
t_lo[6], t_hi[6], t_lo[7], t_hi[7], -cospi_24_64, cospi_8_64,
&s64_lo[2 * 6], &s64_hi[2 * 6], &s64_lo[2 * 7], &s64_hi[2 * 7]);
// fdct_round_shift
// s0 + s2
t_lo[0] = add_s32_s64_narrow(s_lo[0], s_lo[2]);
t_hi[0] = add_s32_s64_narrow(s_hi[0], s_hi[2]);
// s0 - s2
t_lo[2] = sub_s32_s64_narrow(s_lo[0], s_lo[2]);
t_hi[2] = sub_s32_s64_narrow(s_hi[0], s_hi[2]);
// s1 + s3
t_lo[1] = add_s32_s64_narrow(s_lo[1], s_lo[3]);
t_hi[1] = add_s32_s64_narrow(s_hi[1], s_hi[3]);
// s1 - s3
t_lo[3] = sub_s32_s64_narrow(s_lo[1], s_lo[3]);
t_hi[3] = sub_s32_s64_narrow(s_hi[1], s_hi[3]);
// s4 + s6
t_lo[4] = add_s64_round_narrow(&s64_lo[2 * 4], &s64_lo[2 * 6]);
t_hi[4] = add_s64_round_narrow(&s64_hi[2 * 4], &s64_hi[2 * 6]);
// s4 - s6
t_lo[6] = sub_s64_round_narrow(&s64_lo[2 * 4], &s64_lo[2 * 6]);
t_hi[6] = sub_s64_round_narrow(&s64_hi[2 * 4], &s64_hi[2 * 6]);
// s5 + s7
t_lo[5] = add_s64_round_narrow(&s64_lo[2 * 5], &s64_lo[2 * 7]);
t_hi[5] = add_s64_round_narrow(&s64_hi[2 * 5], &s64_hi[2 * 7]);
// s5 - s7
t_lo[7] = sub_s64_round_narrow(&s64_lo[2 * 5], &s64_lo[2 * 7]);
t_hi[7] = sub_s64_round_narrow(&s64_hi[2 * 5], &s64_hi[2 * 7]);
// stage 3
// s2 = cospi_16_64 * (x2 + x3)
// s3 = cospi_16_64 * (x2 - x3)
butterfly_one_coeff_s32_fast(t_lo[2], t_hi[2], t_lo[3], t_hi[3], cospi_16_64,
&s_lo[2], &s_hi[2], &s_lo[3], &s_hi[3]);
// s6 = cospi_16_64 * (x6 + x7)
// s7 = cospi_16_64 * (x6 - x7)
butterfly_one_coeff_s32_fast(t_lo[6], t_hi[6], t_lo[7], t_hi[7], cospi_16_64,
&s_lo[6], &s_hi[6], &s_lo[7], &s_hi[7]);
// x0, x2, x4, x6 pass through
lo[0] = t_lo[0];
hi[0] = t_hi[0];
lo[2] = s_lo[6];
hi[2] = s_hi[6];
lo[4] = s_lo[3];
hi[4] = s_hi[3];
lo[6] = t_lo[5];
hi[6] = t_hi[5];
lo[1] = vnegq_s32(t_lo[4]);
hi[1] = vnegq_s32(t_hi[4]);
lo[3] = vnegq_s32(s_lo[2]);
hi[3] = vnegq_s32(s_hi[2]);
lo[5] = vnegq_s32(s_lo[7]);
hi[5] = vnegq_s32(s_hi[7]);
lo[7] = vnegq_s32(t_lo[1]);
hi[7] = vnegq_s32(t_hi[1]);
transpose_s32_8x8_2(lo, hi, lo, hi);
}
void vp9_highbd_fht8x8_neon(const int16_t *input, tran_low_t *output,
int stride, int tx_type) {
int32x4_t lo[8], hi[8];
switch (tx_type) {
case DCT_DCT: vpx_highbd_fdct8x8_neon(input, output, stride); break;
case ADST_DCT:
highbd_load_buffer_8x8(input, lo, hi, stride);
highbd_fadst8x8_neon(lo, hi);
// pass1 variant is not precise enough
vpx_highbd_fdct8x8_pass2_neon(lo, hi);
highbd_right_shift_8x8(lo, hi, 1);
highbd_write_buffer_8x8(output, lo, hi, 8);
break;
case DCT_ADST:
highbd_load_buffer_8x8(input, lo, hi, stride);
// pass1 variant is not precise enough
vpx_highbd_fdct8x8_pass2_neon(lo, hi);
highbd_fadst8x8_neon(lo, hi);
highbd_right_shift_8x8(lo, hi, 1);
highbd_write_buffer_8x8(output, lo, hi, 8);
break;
default:
assert(tx_type == ADST_ADST);
highbd_load_buffer_8x8(input, lo, hi, stride);
highbd_fadst8x8_neon(lo, hi);
highbd_fadst8x8_neon(lo, hi);
highbd_right_shift_8x8(lo, hi, 1);
highbd_write_buffer_8x8(output, lo, hi, 8);
break;
}
}
static INLINE void highbd_load_buffer_16x16(
const int16_t *input, int32x4_t *left1 /*[16]*/, int32x4_t *right1 /*[16]*/,
int32x4_t *left2 /*[16]*/, int32x4_t *right2 /*[16]*/, int stride) {
// load first 8 columns
highbd_load_buffer_8x8(input, left1, right1, stride);
highbd_load_buffer_8x8(input + 8 * stride, left1 + 8, right1 + 8, stride);
input += 8;
// load second 8 columns
highbd_load_buffer_8x8(input, left2, right2, stride);
highbd_load_buffer_8x8(input + 8 * stride, left2 + 8, right2 + 8, stride);
}
static INLINE void highbd_write_buffer_16x16(
tran_low_t *output, int32x4_t *left1 /*[16]*/, int32x4_t *right1 /*[16]*/,
int32x4_t *left2 /*[16]*/, int32x4_t *right2 /*[16]*/, int stride) {
// write first 8 columns
highbd_write_buffer_8x8(output, left1, right1, stride);
highbd_write_buffer_8x8(output + 8 * stride, left1 + 8, right1 + 8, stride);
// write second 8 columns
output += 8;
highbd_write_buffer_8x8(output, left2, right2, stride);
highbd_write_buffer_8x8(output + 8 * stride, left2 + 8, right2 + 8, stride);
}
static INLINE void highbd_right_shift_16x16(int32x4_t *left1 /*[16]*/,
int32x4_t *right1 /*[16]*/,
int32x4_t *left2 /*[16]*/,
int32x4_t *right2 /*[16]*/,
const int bit) {
// perform rounding operations
highbd_right_shift_8x8(left1, right1, bit);
highbd_right_shift_8x8(left1 + 8, right1 + 8, bit);
highbd_right_shift_8x8(left2, right2, bit);
highbd_right_shift_8x8(left2 + 8, right2 + 8, bit);
}
static void highbd_fdct16_8col(int32x4_t *left, int32x4_t *right) {
// perform 16x16 1-D DCT for 8 columns
int32x4_t s1_lo[8], s1_hi[8], s2_lo[8], s2_hi[8], s3_lo[8], s3_hi[8];
int32x4_t left8[8], right8[8];
// stage 1
left8[0] = vaddq_s32(left[0], left[15]);
right8[0] = vaddq_s32(right[0], right[15]);
left8[1] = vaddq_s32(left[1], left[14]);
right8[1] = vaddq_s32(right[1], right[14]);
left8[2] = vaddq_s32(left[2], left[13]);
right8[2] = vaddq_s32(right[2], right[13]);
left8[3] = vaddq_s32(left[3], left[12]);
right8[3] = vaddq_s32(right[3], right[12]);
left8[4] = vaddq_s32(left[4], left[11]);
right8[4] = vaddq_s32(right[4], right[11]);
left8[5] = vaddq_s32(left[5], left[10]);
right8[5] = vaddq_s32(right[5], right[10]);
left8[6] = vaddq_s32(left[6], left[9]);
right8[6] = vaddq_s32(right[6], right[9]);
left8[7] = vaddq_s32(left[7], left[8]);
right8[7] = vaddq_s32(right[7], right[8]);
// step 1
s1_lo[0] = vsubq_s32(left[7], left[8]);
s1_hi[0] = vsubq_s32(right[7], right[8]);
s1_lo[1] = vsubq_s32(left[6], left[9]);
s1_hi[1] = vsubq_s32(right[6], right[9]);
s1_lo[2] = vsubq_s32(left[5], left[10]);
s1_hi[2] = vsubq_s32(right[5], right[10]);
s1_lo[3] = vsubq_s32(left[4], left[11]);
s1_hi[3] = vsubq_s32(right[4], right[11]);
s1_lo[4] = vsubq_s32(left[3], left[12]);
s1_hi[4] = vsubq_s32(right[3], right[12]);
s1_lo[5] = vsubq_s32(left[2], left[13]);
s1_hi[5] = vsubq_s32(right[2], right[13]);
s1_lo[6] = vsubq_s32(left[1], left[14]);
s1_hi[6] = vsubq_s32(right[1], right[14]);
s1_lo[7] = vsubq_s32(left[0], left[15]);
s1_hi[7] = vsubq_s32(right[0], right[15]);
// pass1 variant is not accurate enough
vpx_highbd_fdct8x8_pass2_notranspose_neon(left8, right8);
// step 2
// step2[2] = (step1[5] - step1[2]) * cospi_16_64;
// step2[5] = (step1[5] + step1[2]) * cospi_16_64;
butterfly_one_coeff_s32_s64_narrow(s1_lo[5], s1_hi[5], s1_lo[2], s1_hi[2],
cospi_16_64, &s2_lo[5], &s2_hi[5],
&s2_lo[2], &s2_hi[2]);
// step2[3] = (step1[4] - step1[3]) * cospi_16_64;
// step2[4] = (step1[4] + step1[3]) * cospi_16_64;
butterfly_one_coeff_s32_s64_narrow(s1_lo[4], s1_hi[4], s1_lo[3], s1_hi[3],
cospi_16_64, &s2_lo[4], &s2_hi[4],
&s2_lo[3], &s2_hi[3]);
// step 3
s3_lo[0] = vaddq_s32(s1_lo[0], s2_lo[3]);
s3_hi[0] = vaddq_s32(s1_hi[0], s2_hi[3]);
s3_lo[1] = vaddq_s32(s1_lo[1], s2_lo[2]);
s3_hi[1] = vaddq_s32(s1_hi[1], s2_hi[2]);
s3_lo[2] = vsubq_s32(s1_lo[1], s2_lo[2]);
s3_hi[2] = vsubq_s32(s1_hi[1], s2_hi[2]);
s3_lo[3] = vsubq_s32(s1_lo[0], s2_lo[3]);
s3_hi[3] = vsubq_s32(s1_hi[0], s2_hi[3]);
s3_lo[4] = vsubq_s32(s1_lo[7], s2_lo[4]);
s3_hi[4] = vsubq_s32(s1_hi[7], s2_hi[4]);
s3_lo[5] = vsubq_s32(s1_lo[6], s2_lo[5]);
s3_hi[5] = vsubq_s32(s1_hi[6], s2_hi[5]);
s3_lo[6] = vaddq_s32(s1_lo[6], s2_lo[5]);
s3_hi[6] = vaddq_s32(s1_hi[6], s2_hi[5]);
s3_lo[7] = vaddq_s32(s1_lo[7], s2_lo[4]);
s3_hi[7] = vaddq_s32(s1_hi[7], s2_hi[4]);
// step 4
// s2[1] = cospi_24_64 * s3[6] - cospi_8_64 * s3[1]
// s2[6] = cospi_8_64 * s3[6] + cospi_24_64 * s3[1]
butterfly_two_coeff_s32_s64_narrow(s3_lo[6], s3_hi[6], s3_lo[1], s3_hi[1],
cospi_8_64, cospi_24_64, &s2_lo[6],
&s2_hi[6], &s2_lo[1], &s2_hi[1]);
// s2[5] = cospi_8_64 * s3[2] - cospi_24_64 * s3[5]
// s2[2] = cospi_24_64 * s3[2] + cospi_8_64 * s3[5]
butterfly_two_coeff_s32_s64_narrow(s3_lo[2], s3_hi[2], s3_lo[5], s3_hi[5],
cospi_24_64, cospi_8_64, &s2_lo[2],
&s2_hi[2], &s2_lo[5], &s2_hi[5]);
// step 5
s1_lo[0] = vaddq_s32(s3_lo[0], s2_lo[1]);
s1_hi[0] = vaddq_s32(s3_hi[0], s2_hi[1]);
s1_lo[1] = vsubq_s32(s3_lo[0], s2_lo[1]);
s1_hi[1] = vsubq_s32(s3_hi[0], s2_hi[1]);
s1_lo[2] = vaddq_s32(s3_lo[3], s2_lo[2]);
s1_hi[2] = vaddq_s32(s3_hi[3], s2_hi[2]);
s1_lo[3] = vsubq_s32(s3_lo[3], s2_lo[2]);
s1_hi[3] = vsubq_s32(s3_hi[3], s2_hi[2]);
s1_lo[4] = vsubq_s32(s3_lo[4], s2_lo[5]);
s1_hi[4] = vsubq_s32(s3_hi[4], s2_hi[5]);
s1_lo[5] = vaddq_s32(s3_lo[4], s2_lo[5]);
s1_hi[5] = vaddq_s32(s3_hi[4], s2_hi[5]);
s1_lo[6] = vsubq_s32(s3_lo[7], s2_lo[6]);
s1_hi[6] = vsubq_s32(s3_hi[7], s2_hi[6]);
s1_lo[7] = vaddq_s32(s3_lo[7], s2_lo[6]);
s1_hi[7] = vaddq_s32(s3_hi[7], s2_hi[6]);
// step 6
// out[1] = step1[7] * cospi_2_64 + step1[0] * cospi_30_64
// out[15] = step1[7] * cospi_30_64 - step1[0] * cospi_2_64
butterfly_two_coeff_s32_s64_narrow(s1_lo[7], s1_hi[7], s1_lo[0], s1_hi[0],
cospi_2_64, cospi_30_64, &left[1],
&right[1], &left[15], &right[15]);
// out[9] = step1[6] * cospi_18_64 + step1[1] * cospi_14_64
// out[7] = step1[6] * cospi_14_64 - step1[1] * cospi_18_64
butterfly_two_coeff_s32_s64_narrow(s1_lo[6], s1_hi[6], s1_lo[1], s1_hi[1],
cospi_18_64, cospi_14_64, &left[9],
&right[9], &left[7], &right[7]);
// out[5] = step1[5] * cospi_10_64 + step1[2] * cospi_22_64
// out[11] = step1[5] * cospi_22_64 - step1[2] * cospi_10_64
butterfly_two_coeff_s32_s64_narrow(s1_lo[5], s1_hi[5], s1_lo[2], s1_hi[2],
cospi_10_64, cospi_22_64, &left[5],
&right[5], &left[11], &right[11]);
// out[13] = step1[4] * cospi_26_64 + step1[3] * cospi_6_64
// out[3] = step1[4] * cospi_6_64 - step1[3] * cospi_26_64
butterfly_two_coeff_s32_s64_narrow(s1_lo[4], s1_hi[4], s1_lo[3], s1_hi[3],
cospi_26_64, cospi_6_64, &left[13],
&right[13], &left[3], &right[3]);
left[0] = left8[0];
right[0] = right8[0];
left[2] = left8[1];
right[2] = right8[1];
left[4] = left8[2];
right[4] = right8[2];
left[6] = left8[3];
right[6] = right8[3];
left[8] = left8[4];
right[8] = right8[4];
left[10] = left8[5];
right[10] = right8[5];
left[12] = left8[6];
right[12] = right8[6];
left[14] = left8[7];
right[14] = right8[7];
}
static void highbd_fadst16_8col(int32x4_t *left, int32x4_t *right) {
// perform 16x16 1-D ADST for 8 columns
int32x4_t x_lo[16], x_hi[16];
int32x4_t s_lo[16], s_hi[16];
int32x4_t t_lo[16], t_hi[16];
int64x2_t s64_lo[32], s64_hi[32];
x_lo[0] = left[15];
x_hi[0] = right[15];
x_lo[1] = left[0];
x_hi[1] = right[0];
x_lo[2] = left[13];
x_hi[2] = right[13];
x_lo[3] = left[2];
x_hi[3] = right[2];
x_lo[4] = left[11];
x_hi[4] = right[11];
x_lo[5] = left[4];
x_hi[5] = right[4];
x_lo[6] = left[9];
x_hi[6] = right[9];
x_lo[7] = left[6];
x_hi[7] = right[6];
x_lo[8] = left[7];
x_hi[8] = right[7];
x_lo[9] = left[8];
x_hi[9] = right[8];
x_lo[10] = left[5];
x_hi[10] = right[5];
x_lo[11] = left[10];
x_hi[11] = right[10];
x_lo[12] = left[3];
x_hi[12] = right[3];
x_lo[13] = left[12];
x_hi[13] = right[12];
x_lo[14] = left[1];
x_hi[14] = right[1];
x_lo[15] = left[14];
x_hi[15] = right[14];
// stage 1, indices are doubled
// s0 = cospi_1_64 * x0 + cospi_31_64 * x1;
// s1 = cospi_31_64 * x0 - cospi_1_64 * x1;
butterfly_two_coeff_s32_s64_noround(
x_lo[0], x_hi[0], x_lo[1], x_hi[1], cospi_1_64, cospi_31_64,
&s64_lo[2 * 0], &s64_hi[2 * 0], &s64_lo[2 * 1], &s64_hi[2 * 1]);
// s2 = cospi_5_64 * x2 + cospi_27_64 * x3;
// s3 = cospi_27_64 * x2 - cospi_5_64 * x3;
butterfly_two_coeff_s32_s64_noround(
x_lo[2], x_hi[2], x_lo[3], x_hi[3], cospi_5_64, cospi_27_64,
&s64_lo[2 * 2], &s64_hi[2 * 2], &s64_lo[2 * 3], &s64_hi[2 * 3]);
// s4 = cospi_9_64 * x4 + cospi_23_64 * x5;
// s5 = cospi_23_64 * x4 - cospi_9_64 * x5;
butterfly_two_coeff_s32_s64_noround(
x_lo[4], x_hi[4], x_lo[5], x_hi[5], cospi_9_64, cospi_23_64,
&s64_lo[2 * 4], &s64_hi[2 * 4], &s64_lo[2 * 5], &s64_hi[2 * 5]);
// s6 = cospi_13_64 * x6 + cospi_19_64 * x7;
// s7 = cospi_19_64 * x6 - cospi_13_64 * x7;
butterfly_two_coeff_s32_s64_noround(
x_lo[6], x_hi[6], x_lo[7], x_hi[7], cospi_13_64, cospi_19_64,
&s64_lo[2 * 6], &s64_hi[2 * 6], &s64_lo[2 * 7], &s64_hi[2 * 7]);
// s8 = cospi_17_64 * x8 + cospi_15_64 * x9;
// s9 = cospi_15_64 * x8 - cospi_17_64 * x9;
butterfly_two_coeff_s32_s64_noround(
x_lo[8], x_hi[8], x_lo[9], x_hi[9], cospi_17_64, cospi_15_64,
&s64_lo[2 * 8], &s64_hi[2 * 8], &s64_lo[2 * 9], &s64_hi[2 * 9]);
// s10 = cospi_21_64 * x10 + cospi_11_64 * x11;
// s11 = cospi_11_64 * x10 - cospi_21_64 * x11;
butterfly_two_coeff_s32_s64_noround(
x_lo[10], x_hi[10], x_lo[11], x_hi[11], cospi_21_64, cospi_11_64,
&s64_lo[2 * 10], &s64_hi[2 * 10], &s64_lo[2 * 11], &s64_hi[2 * 11]);
// s12 = cospi_25_64 * x12 + cospi_7_64 * x13;
// s13 = cospi_7_64 * x12 - cospi_25_64 * x13;
butterfly_two_coeff_s32_s64_noround(
x_lo[12], x_hi[12], x_lo[13], x_hi[13], cospi_25_64, cospi_7_64,
&s64_lo[2 * 12], &s64_hi[2 * 12], &s64_lo[2 * 13], &s64_hi[2 * 13]);
// s14 = cospi_29_64 * x14 + cospi_3_64 * x15;
// s15 = cospi_3_64 * x14 - cospi_29_64 * x15;
butterfly_two_coeff_s32_s64_noround(
x_lo[14], x_hi[14], x_lo[15], x_hi[15], cospi_29_64, cospi_3_64,
&s64_lo[2 * 14], &s64_hi[2 * 14], &s64_lo[2 * 15], &s64_hi[2 * 15]);
// fdct_round_shift, indices are doubled
t_lo[0] = add_s64_round_narrow(&s64_lo[2 * 0], &s64_lo[2 * 8]);
t_hi[0] = add_s64_round_narrow(&s64_hi[2 * 0], &s64_hi[2 * 8]);
t_lo[1] = add_s64_round_narrow(&s64_lo[2 * 1], &s64_lo[2 * 9]);
t_hi[1] = add_s64_round_narrow(&s64_hi[2 * 1], &s64_hi[2 * 9]);
t_lo[2] = add_s64_round_narrow(&s64_lo[2 * 2], &s64_lo[2 * 10]);
t_hi[2] = add_s64_round_narrow(&s64_hi[2 * 2], &s64_hi[2 * 10]);
t_lo[3] = add_s64_round_narrow(&s64_lo[2 * 3], &s64_lo[2 * 11]);
t_hi[3] = add_s64_round_narrow(&s64_hi[2 * 3], &s64_hi[2 * 11]);
t_lo[4] = add_s64_round_narrow(&s64_lo[2 * 4], &s64_lo[2 * 12]);
t_hi[4] = add_s64_round_narrow(&s64_hi[2 * 4], &s64_hi[2 * 12]);
t_lo[5] = add_s64_round_narrow(&s64_lo[2 * 5], &s64_lo[2 * 13]);
t_hi[5] = add_s64_round_narrow(&s64_hi[2 * 5], &s64_hi[2 * 13]);
t_lo[6] = add_s64_round_narrow(&s64_lo[2 * 6], &s64_lo[2 * 14]);
t_hi[6] = add_s64_round_narrow(&s64_hi[2 * 6], &s64_hi[2 * 14]);
t_lo[7] = add_s64_round_narrow(&s64_lo[2 * 7], &s64_lo[2 * 15]);
t_hi[7] = add_s64_round_narrow(&s64_hi[2 * 7], &s64_hi[2 * 15]);
t_lo[8] = sub_s64_round_narrow(&s64_lo[2 * 0], &s64_lo[2 * 8]);
t_hi[8] = sub_s64_round_narrow(&s64_hi[2 * 0], &s64_hi[2 * 8]);
t_lo[9] = sub_s64_round_narrow(&s64_lo[2 * 1], &s64_lo[2 * 9]);
t_hi[9] = sub_s64_round_narrow(&s64_hi[2 * 1], &s64_hi[2 * 9]);
t_lo[10] = sub_s64_round_narrow(&s64_lo[2 * 2], &s64_lo[2 * 10]);
t_hi[10] = sub_s64_round_narrow(&s64_hi[2 * 2], &s64_hi[2 * 10]);
t_lo[11] = sub_s64_round_narrow(&s64_lo[2 * 3], &s64_lo[2 * 11]);
t_hi[11] = sub_s64_round_narrow(&s64_hi[2 * 3], &s64_hi[2 * 11]);
t_lo[12] = sub_s64_round_narrow(&s64_lo[2 * 4], &s64_lo[2 * 12]);
t_hi[12] = sub_s64_round_narrow(&s64_hi[2 * 4], &s64_hi[2 * 12]);
t_lo[13] = sub_s64_round_narrow(&s64_lo[2 * 5], &s64_lo[2 * 13]);
t_hi[13] = sub_s64_round_narrow(&s64_hi[2 * 5], &s64_hi[2 * 13]);
t_lo[14] = sub_s64_round_narrow(&s64_lo[2 * 6], &s64_lo[2 * 14]);
t_hi[14] = sub_s64_round_narrow(&s64_hi[2 * 6], &s64_hi[2 * 14]);
t_lo[15] = sub_s64_round_narrow(&s64_lo[2 * 7], &s64_lo[2 * 15]);
t_hi[15] = sub_s64_round_narrow(&s64_hi[2 * 7], &s64_hi[2 * 15]);
// stage 2
s_lo[0] = t_lo[0];
s_hi[0] = t_hi[0];
s_lo[1] = t_lo[1];
s_hi[1] = t_hi[1];
s_lo[2] = t_lo[2];
s_hi[2] = t_hi[2];
s_lo[3] = t_lo[3];
s_hi[3] = t_hi[3];
s_lo[4] = t_lo[4];
s_hi[4] = t_hi[4];
s_lo[5] = t_lo[5];
s_hi[5] = t_hi[5];
s_lo[6] = t_lo[6];
s_hi[6] = t_hi[6];
s_lo[7] = t_lo[7];
s_hi[7] = t_hi[7];
// s8 = x8 * cospi_4_64 + x9 * cospi_28_64;
// s9 = x8 * cospi_28_64 - x9 * cospi_4_64;
butterfly_two_coeff_s32_s64_noround(
t_lo[8], t_hi[8], t_lo[9], t_hi[9], cospi_4_64, cospi_28_64,
&s64_lo[2 * 8], &s64_hi[2 * 8], &s64_lo[2 * 9], &s64_hi[2 * 9]);
// s10 = x10 * cospi_20_64 + x11 * cospi_12_64;
// s11 = x10 * cospi_12_64 - x11 * cospi_20_64;
butterfly_two_coeff_s32_s64_noround(
t_lo[10], t_hi[10], t_lo[11], t_hi[11], cospi_20_64, cospi_12_64,
&s64_lo[2 * 10], &s64_hi[2 * 10], &s64_lo[2 * 11], &s64_hi[2 * 11]);
// s12 = -x12 * cospi_28_64 + x13 * cospi_4_64;
// s13 = x12 * cospi_4_64 + x13 * cospi_28_64;
butterfly_two_coeff_s32_s64_noround(
t_lo[13], t_hi[13], t_lo[12], t_hi[12], cospi_28_64, cospi_4_64,
&s64_lo[2 * 13], &s64_hi[2 * 13], &s64_lo[2 * 12], &s64_hi[2 * 12]);
// s14 = -x14 * cospi_12_64 + x15 * cospi_20_64;
// s15 = x14 * cospi_20_64 + x15 * cospi_12_64;
butterfly_two_coeff_s32_s64_noround(
t_lo[15], t_hi[15], t_lo[14], t_hi[14], cospi_12_64, cospi_20_64,
&s64_lo[2 * 15], &s64_hi[2 * 15], &s64_lo[2 * 14], &s64_hi[2 * 14]);
// s0 + s4
t_lo[0] = add_s32_s64_narrow(s_lo[0], s_lo[4]);
t_hi[0] = add_s32_s64_narrow(s_hi[0], s_hi[4]);
// s1 + s5
t_lo[1] = add_s32_s64_narrow(s_lo[1], s_lo[5]);
t_hi[1] = add_s32_s64_narrow(s_hi[1], s_hi[5]);
// s2 + s6
t_lo[2] = add_s32_s64_narrow(s_lo[2], s_lo[6]);
t_hi[2] = add_s32_s64_narrow(s_hi[2], s_hi[6]);
// s3 + s7
t_lo[3] = add_s32_s64_narrow(s_lo[3], s_lo[7]);
t_hi[3] = add_s32_s64_narrow(s_hi[3], s_hi[7]);
// s0 - s4
t_lo[4] = sub_s32_s64_narrow(s_lo[0], s_lo[4]);
t_hi[4] = sub_s32_s64_narrow(s_hi[0], s_hi[4]);
// s1 - s5
t_lo[5] = sub_s32_s64_narrow(s_lo[1], s_lo[5]);
t_hi[5] = sub_s32_s64_narrow(s_hi[1], s_hi[5]);
// s2 - s6
t_lo[6] = sub_s32_s64_narrow(s_lo[2], s_lo[6]);
t_hi[6] = sub_s32_s64_narrow(s_hi[2], s_hi[6]);
// s3 - s7
t_lo[7] = sub_s32_s64_narrow(s_lo[3], s_lo[7]);
t_hi[7] = sub_s32_s64_narrow(s_hi[3], s_hi[7]);
// fdct_round_shift()
// s8 + s12
t_lo[8] = add_s64_round_narrow(&s64_lo[2 * 8], &s64_lo[2 * 12]);
t_hi[8] = add_s64_round_narrow(&s64_hi[2 * 8], &s64_hi[2 * 12]);
// s9 + s13
t_lo[9] = add_s64_round_narrow(&s64_lo[2 * 9], &s64_lo[2 * 13]);
t_hi[9] = add_s64_round_narrow(&s64_hi[2 * 9], &s64_hi[2 * 13]);
// s10 + s14
t_lo[10] = add_s64_round_narrow(&s64_lo[2 * 10], &s64_lo[2 * 14]);
t_hi[10] = add_s64_round_narrow(&s64_hi[2 * 10], &s64_hi[2 * 14]);
// s11 + s15
t_lo[11] = add_s64_round_narrow(&s64_lo[2 * 11], &s64_lo[2 * 15]);
t_hi[11] = add_s64_round_narrow(&s64_hi[2 * 11], &s64_hi[2 * 15]);
// s8 - s12
t_lo[12] = sub_s64_round_narrow(&s64_lo[2 * 8], &s64_lo[2 * 12]);
t_hi[12] = sub_s64_round_narrow(&s64_hi[2 * 8], &s64_hi[2 * 12]);
// s9 - s13
t_lo[13] = sub_s64_round_narrow(&s64_lo[2 * 9], &s64_lo[2 * 13]);
t_hi[13] = sub_s64_round_narrow(&s64_hi[2 * 9], &s64_hi[2 * 13]);
// s10 - s14
t_lo[14] = sub_s64_round_narrow(&s64_lo[2 * 10], &s64_lo[2 * 14]);
t_hi[14] = sub_s64_round_narrow(&s64_hi[2 * 10], &s64_hi[2 * 14]);
// s11 - s15
t_lo[15] = sub_s64_round_narrow(&s64_lo[2 * 11], &s64_lo[2 * 15]);
t_hi[15] = sub_s64_round_narrow(&s64_hi[2 * 11], &s64_hi[2 * 15]);
// stage 3
s_lo[0] = t_lo[0];
s_hi[0] = t_hi[0];
s_lo[1] = t_lo[1];
s_hi[1] = t_hi[1];
s_lo[2] = t_lo[2];
s_hi[2] = t_hi[2];
s_lo[3] = t_lo[3];
s_hi[3] = t_hi[3];
// s4 = x4 * cospi_8_64 + x5 * cospi_24_64;
// s5 = x4 * cospi_24_64 - x5 * cospi_8_64;
butterfly_two_coeff_s32_s64_noround(
t_lo[4], t_hi[4], t_lo[5], t_hi[5], cospi_8_64, cospi_24_64,
&s64_lo[2 * 4], &s64_hi[2 * 4], &s64_lo[2 * 5], &s64_hi[2 * 5]);
// s6 = -x6 * cospi_24_64 + x7 * cospi_8_64;
// s7 = x6 * cospi_8_64 + x7 * cospi_24_64;
butterfly_two_coeff_s32_s64_noround(
t_lo[7], t_hi[7], t_lo[6], t_hi[6], cospi_24_64, cospi_8_64,
&s64_lo[2 * 7], &s64_hi[2 * 7], &s64_lo[2 * 6], &s64_hi[2 * 6]);
s_lo[8] = t_lo[8];
s_hi[8] = t_hi[8];
s_lo[9] = t_lo[9];
s_hi[9] = t_hi[9];
s_lo[10] = t_lo[10];
s_hi[10] = t_hi[10];
s_lo[11] = t_lo[11];
s_hi[11] = t_hi[11];
// s12 = x12 * cospi_8_64 + x13 * cospi_24_64;
// s13 = x12 * cospi_24_64 - x13 * cospi_8_64;
butterfly_two_coeff_s32_s64_noround(
t_lo[12], t_hi[12], t_lo[13], t_hi[13], cospi_8_64, cospi_24_64,
&s64_lo[2 * 12], &s64_hi[2 * 12], &s64_lo[2 * 13], &s64_hi[2 * 13]);
// s14 = -x14 * cospi_24_64 + x15 * cospi_8_64;
// s15 = x14 * cospi_8_64 + x15 * cospi_24_64;
butterfly_two_coeff_s32_s64_noround(
t_lo[15], t_hi[15], t_lo[14], t_hi[14], cospi_24_64, cospi_8_64,
&s64_lo[2 * 15], &s64_hi[2 * 15], &s64_lo[2 * 14], &s64_hi[2 * 14]);
// s0 + s2
t_lo[0] = add_s32_s64_narrow(s_lo[0], s_lo[2]);
t_hi[0] = add_s32_s64_narrow(s_hi[0], s_hi[2]);
// s1 + s3
t_lo[1] = add_s32_s64_narrow(s_lo[1], s_lo[3]);
t_hi[1] = add_s32_s64_narrow(s_hi[1], s_hi[3]);
// s0 - s2
t_lo[2] = sub_s32_s64_narrow(s_lo[0], s_lo[2]);
t_hi[2] = sub_s32_s64_narrow(s_hi[0], s_hi[2]);
// s1 - s3
t_lo[3] = sub_s32_s64_narrow(s_lo[1], s_lo[3]);
t_hi[3] = sub_s32_s64_narrow(s_hi[1], s_hi[3]);
// fdct_round_shift()
// s4 + s6
t_lo[4] = add_s64_round_narrow(&s64_lo[2 * 4], &s64_lo[2 * 6]);
t_hi[4] = add_s64_round_narrow(&s64_hi[2 * 4], &s64_hi[2 * 6]);
// s5 + s7
t_lo[5] = add_s64_round_narrow(&s64_lo[2 * 5], &s64_lo[2 * 7]);
t_hi[5] = add_s64_round_narrow(&s64_hi[2 * 5], &s64_hi[2 * 7]);
// s4 - s6
t_lo[6] = sub_s64_round_narrow(&s64_lo[2 * 4], &s64_lo[2 * 6]);
t_hi[6] = sub_s64_round_narrow(&s64_hi[2 * 4], &s64_hi[2 * 6]);
// s5 - s7
t_lo[7] = sub_s64_round_narrow(&s64_lo[2 * 5], &s64_lo[2 * 7]);
t_hi[7] = sub_s64_round_narrow(&s64_hi[2 * 5], &s64_hi[2 * 7]);
// s8 + s10
t_lo[8] = add_s32_s64_narrow(s_lo[8], s_lo[10]);
t_hi[8] = add_s32_s64_narrow(s_hi[8], s_hi[10]);
// s9 + s11
t_lo[9] = add_s32_s64_narrow(s_lo[9], s_lo[11]);
t_hi[9] = add_s32_s64_narrow(s_hi[9], s_hi[11]);
// s8 - s10
t_lo[10] = sub_s32_s64_narrow(s_lo[8], s_lo[10]);
t_hi[10] = sub_s32_s64_narrow(s_hi[8], s_hi[10]);
// s9 - s11
t_lo[11] = sub_s32_s64_narrow(s_lo[9], s_lo[11]);
t_hi[11] = sub_s32_s64_narrow(s_hi[9], s_hi[11]);
// fdct_round_shift()
// s12 + s14
t_lo[12] = add_s64_round_narrow(&s64_lo[2 * 12], &s64_lo[2 * 14]);
t_hi[12] = add_s64_round_narrow(&s64_hi[2 * 12], &s64_hi[2 * 14]);
// s13 + s15
t_lo[13] = add_s64_round_narrow(&s64_lo[2 * 13], &s64_lo[2 * 15]);
t_hi[13] = add_s64_round_narrow(&s64_hi[2 * 13], &s64_hi[2 * 15]);
// s12 - s14
t_lo[14] = sub_s64_round_narrow(&s64_lo[2 * 12], &s64_lo[2 * 14]);
t_hi[14] = sub_s64_round_narrow(&s64_hi[2 * 12], &s64_hi[2 * 14]);
// s13 - s15
t_lo[15] = sub_s64_round_narrow(&s64_lo[2 * 13], &s64_lo[2 * 15]);
t_hi[15] = sub_s64_round_narrow(&s64_hi[2 * 13], &s64_hi[2 * 15]);
// stage 4, with fdct_round_shift
// s2 = (-cospi_16_64) * (x2 + x3);
// s3 = cospi_16_64 * (x2 - x3);
butterfly_one_coeff_s32_s64_narrow(t_lo[3], t_hi[3], t_lo[2], t_hi[2],
-cospi_16_64, &x_lo[2], &x_hi[2], &x_lo[3],
&x_hi[3]);
// s6 = cospi_16_64 * (x6 + x7);
// s7 = cospi_16_64 * (-x6 + x7);
butterfly_one_coeff_s32_s64_narrow(t_lo[7], t_hi[7], t_lo[6], t_hi[6],
cospi_16_64, &x_lo[6], &x_hi[6], &x_lo[7],
&x_hi[7]);
// s10 = cospi_16_64 * (x10 + x11);
// s11 = cospi_16_64 * (-x10 + x11);
butterfly_one_coeff_s32_s64_narrow(t_lo[11], t_hi[11], t_lo[10], t_hi[10],
cospi_16_64, &x_lo[10], &x_hi[10],
&x_lo[11], &x_hi[11]);
// s14 = (-cospi_16_64) * (x14 + x15);
// s15 = cospi_16_64 * (x14 - x15);
butterfly_one_coeff_s32_s64_narrow(t_lo[15], t_hi[15], t_lo[14], t_hi[14],
-cospi_16_64, &x_lo[14], &x_hi[14],
&x_lo[15], &x_hi[15]);
// Just copy x0, x1, x4, x5, x8, x9, x12, x13
x_lo[0] = t_lo[0];
x_hi[0] = t_hi[0];
x_lo[1] = t_lo[1];
x_hi[1] = t_hi[1];
x_lo[4] = t_lo[4];
x_hi[4] = t_hi[4];
x_lo[5] = t_lo[5];
x_hi[5] = t_hi[5];
x_lo[8] = t_lo[8];
x_hi[8] = t_hi[8];
x_lo[9] = t_lo[9];
x_hi[9] = t_hi[9];
x_lo[12] = t_lo[12];
x_hi[12] = t_hi[12];
x_lo[13] = t_lo[13];
x_hi[13] = t_hi[13];
left[0] = x_lo[0];
right[0] = x_hi[0];
left[1] = vnegq_s32(x_lo[8]);
right[1] = vnegq_s32(x_hi[8]);
left[2] = x_lo[12];
right[2] = x_hi[12];
left[3] = vnegq_s32(x_lo[4]);
right[3] = vnegq_s32(x_hi[4]);
left[4] = x_lo[6];
right[4] = x_hi[6];
left[5] = x_lo[14];
right[5] = x_hi[14];
left[6] = x_lo[10];
right[6] = x_hi[10];
left[7] = x_lo[2];
right[7] = x_hi[2];
left[8] = x_lo[3];
right[8] = x_hi[3];
left[9] = x_lo[11];
right[9] = x_hi[11];
left[10] = x_lo[15];
right[10] = x_hi[15];
left[11] = x_lo[7];
right[11] = x_hi[7];
left[12] = x_lo[5];
right[12] = x_hi[5];
left[13] = vnegq_s32(x_lo[13]);
right[13] = vnegq_s32(x_hi[13]);
left[14] = x_lo[9];
right[14] = x_hi[9];
left[15] = vnegq_s32(x_lo[1]);
right[15] = vnegq_s32(x_hi[1]);
}
static void highbd_fdct16x16_neon(int32x4_t *left1, int32x4_t *right1,
int32x4_t *left2, int32x4_t *right2) {
// Left half.
highbd_fdct16_8col(left1, right1);
// Right half.
highbd_fdct16_8col(left2, right2);
transpose_s32_16x16(left1, right1, left2, right2);
}
static void highbd_fadst16x16_neon(int32x4_t *left1, int32x4_t *right1,
int32x4_t *left2, int32x4_t *right2) {
// Left half.
highbd_fadst16_8col(left1, right1);
// Right half.
highbd_fadst16_8col(left2, right2);
transpose_s32_16x16(left1, right1, left2, right2);
}
void vp9_highbd_fht16x16_neon(const int16_t *input, tran_low_t *output,
int stride, int tx_type) {
int32x4_t left1[16], right1[16], left2[16], right2[16];
switch (tx_type) {
case DCT_DCT: vpx_highbd_fdct16x16_neon(input, output, stride); break;
case ADST_DCT:
highbd_load_buffer_16x16(input, left1, right1, left2, right2, stride);
highbd_fadst16x16_neon(left1, right1, left2, right2);
highbd_write_buffer_16x16(output, left1, right1, left2, right2, 16);
highbd_right_shift_16x16(left1, right1, left2, right2, 2);
highbd_fdct16x16_neon(left1, right1, left2, right2);
highbd_write_buffer_16x16(output, left1, right1, left2, right2, 16);
break;
case DCT_ADST:
highbd_load_buffer_16x16(input, left1, right1, left2, right2, stride);
highbd_fdct16x16_neon(left1, right1, left2, right2);
highbd_right_shift_16x16(left1, right1, left2, right2, 2);
highbd_fadst16x16_neon(left1, right1, left2, right2);
highbd_write_buffer_16x16(output, left1, right1, left2, right2, 16);
break;
default:
assert(tx_type == ADST_ADST);
highbd_load_buffer_16x16(input, left1, right1, left2, right2, stride);
highbd_fadst16x16_neon(left1, right1, left2, right2);
highbd_right_shift_16x16(left1, right1, left2, right2, 2);
highbd_fadst16x16_neon(left1, right1, left2, right2);
highbd_write_buffer_16x16(output, left1, right1, left2, right2, 16);
break;
}
}
#endif // CONFIG_VP9_HIGHBITDEPTH
|
6963d8a4a23cf831b0f5ca8c52e26ba890fcc91f
|
8b98cd47f934d2a4a8d0b2842d3277b01f3fb7fa
|
/applications/obsolete/starbench/slatest/imxv.c
|
f9918d97dfa10cef75a4142758f4145b3cac4fe6
|
[] |
no_license
|
Starlink/starlink
|
1cc03b85eb78330a3622003b26b69c1733df50fe
|
2c374b3e97c9cebcc8f3bd2f8b4bb326eefe061a
|
refs/heads/master
| 2023-07-26T09:32:27.987319
| 2023-07-05T23:56:27
| 2023-07-05T23:56:27
| 5,169,323
| 139
| 45
| null | 2022-11-18T13:29:32
| 2012-07-24T18:15:25
|
Fortran
|
UTF-8
|
C
| false
| false
| 406
|
c
|
imxv.c
|
/*
** Copyright (C) 2005 P.T.Wallace.
** Use for profit prohibited - enquiries to ptw@tpsoft.demon.co.uk.
*/
#include "sbmlib.h"
#include "sbmmac.h"
void sbmimxv(float qfoo[3][3],float qbar[3],float qbaz[3]){
int Q0,qfobar;float q1,q2[3];for(qfobar=0;qfobar<3;qfobar++)
{q1=0.0f;for(Q0=0;Q0<3;Q0++){q1+=qfoo[Q0][qfobar]*qbar[Q0];}
q2[qfobar]=q1;}for(qfobar=0;qfobar<3;qfobar++){qbaz[qfobar]=
q2[qfobar];}}
|
376f59ed20dc6ba115b332151daae1ae014d57d3
|
52c8ed39b32ccc7c0673278c1adea3638797c9ff
|
/src/arch/arm32/mach-h2/include/h2/reg-dram.h
|
ad644adfa6e77c2c531293ddccd25e5a53994c50
|
[
"MIT"
] |
permissive
|
xboot/xboot
|
0cab7b440b612aa0a4c366025598a53a7ec3adf1
|
6d6b93947b7fcb8c3924fedb0715c23877eedd5e
|
refs/heads/master
| 2023-08-20T05:56:25.149388
| 2023-07-12T07:38:29
| 2023-07-12T07:38:29
| 471,539
| 765
| 296
|
MIT
| 2023-05-25T09:39:01
| 2010-01-14T08:25:12
|
C
|
UTF-8
|
C
| false
| false
| 3,288
|
h
|
reg-dram.h
|
#ifndef __H3_REG_DRAM_H__
#define __H3_REG_DRAM_H__
#define H3_DRAM_COM_BASE (0x01c62000)
#define H3_DRAM_CTL0_BASE (0x01c63000)
#define H3_DRAM_CTL1_BASE (0x01c64000)
#define H3_DRAM_PHY0_BASE (0x01c65000)
#define H3_DRAM_PHY1_BASE (0x01c66000)
#define MCTL_CR_BL8 (0x4 << 20)
#define MCTL_CR_1T (0x1 << 19)
#define MCTL_CR_2T (0x0 << 19)
#define MCTL_CR_LPDDR3 (0x7 << 16)
#define MCTL_CR_LPDDR2 (0x6 << 16)
#define MCTL_CR_DDR3 (0x3 << 16)
#define MCTL_CR_DDR2 (0x2 << 16)
#define MCTL_CR_SEQUENTIAL (0x1 << 15)
#define MCTL_CR_INTERLEAVED (0x0 << 15)
#define MCTL_CR_FULL_WIDTH (0x1 << 12)
#define MCTL_CR_HALF_WIDTH (0x0 << 12)
#define MCTL_CR_BUS_FULL_WIDTH(x) ((x) << 12)
#define MCTL_CR_PAGE_SIZE(x) ((gfls(x) - 4) << 8)
#define MCTL_CR_ROW_BITS(x) (((x) - 1) << 4)
#define MCTL_CR_EIGHT_BANKS (0x1 << 2)
#define MCTL_CR_FOUR_BANKS (0x0 << 2)
#define MCTL_CR_DUAL_RANK (0x1 << 0)
#define MCTL_CR_SINGLE_RANK (0x0 << 0)
#define DRAMTMG0_TWTP(x) ((x) << 24)
#define DRAMTMG0_TFAW(x) ((x) << 16)
#define DRAMTMG0_TRAS_MAX(x) ((x) << 8)
#define DRAMTMG0_TRAS(x) ((x) << 0)
#define DRAMTMG1_TXP(x) ((x) << 16)
#define DRAMTMG1_TRTP(x) ((x) << 8)
#define DRAMTMG1_TRC(x) ((x) << 0)
#define DRAMTMG2_TCWL(x) ((x) << 24)
#define DRAMTMG2_TCL(x) ((x) << 16)
#define DRAMTMG2_TRD2WR(x) ((x) << 8)
#define DRAMTMG2_TWR2RD(x) ((x) << 0)
#define DRAMTMG3_TMRW(x) ((x) << 16)
#define DRAMTMG3_TMRD(x) ((x) << 12)
#define DRAMTMG3_TMOD(x) ((x) << 0)
#define DRAMTMG4_TRCD(x) ((x) << 24)
#define DRAMTMG4_TCCD(x) ((x) << 16)
#define DRAMTMG4_TRRD(x) ((x) << 8)
#define DRAMTMG4_TRP(x) ((x) << 0)
#define DRAMTMG5_TCKSRX(x) ((x) << 24)
#define DRAMTMG5_TCKSRE(x) ((x) << 16)
#define DRAMTMG5_TCKESR(x) ((x) << 8)
#define DRAMTMG5_TCKE(x) ((x) << 0)
#define PTR3_TDINIT1(x) ((x) << 20)
#define PTR3_TDINIT0(x) ((x) << 0)
#define PTR4_TDINIT3(x) ((x) << 20)
#define PTR4_TDINIT2(x) ((x) << 0)
#define RFSHTMG_TREFI(x) ((x) << 16)
#define RFSHTMG_TRFC(x) ((x) << 0)
#define PIR_CLRSR (0x1 << 27) /* Clear status registers */
#define PIR_QSGATE (0x1 << 10) /* Read DQS gate training */
#define PIR_DRAMINIT (0x1 << 8) /* DRAM initialization */
#define PIR_DRAMRST (0x1 << 7) /* DRAM reset */
#define PIR_PHYRST (0x1 << 6) /* PHY reset */
#define PIR_DCAL (0x1 << 5) /* DDL calibration */
#define PIR_PLLINIT (0x1 << 4) /* PLL initialization */
#define PIR_ZCAL (0x1 << 1) /* ZQ calibration */
#define PIR_INIT (0x1 << 0) /* PHY initialization trigger */
#define PGSR_INIT_DONE (0x1 << 0) /* PHY init done */
#define ZQCR_PWRDOWN (0x1 << 31) /* ZQ power down */
#define DXBDLR_DQ(x) (x) /* DQ0-7 BDLR index */
#define DXBDLR_DM (8) /* DM BDLR index */
#define DXBDLR_DQS (9) /* DQS BDLR index */
#define DXBDLR_DQSN (10) /* DQSN BDLR index */
#define DXBDLR_WRITE_DELAY(x) ((x) << 8)
#define DXBDLR_READ_DELAY(x) ((x) << 0)
#define ACBDLR_WRITE_DELAY(x) ((x) << 8)
#define DATX_IOCR_DQ(x) (x)
#define DATX_IOCR_DM (8)
#define DATX_IOCR_DQS (9)
#define DATX_IOCR_DQSN (10)
#define DATX_IOCR_WRITE_DELAY(x) ((x) << 8)
#define DATX_IOCR_READ_DELAY(x) ((x) << 0)
#endif /* __H3_REG_DRAM_H__ */
|
0145fe668371165f646321d3d4cf023acb4e67f1
|
e5ec9a33aaca93a653df46e7d3c351ece1b4abc5
|
/ZQCNN/layers_c/zq_cnn_scalaroperation_32f_align_c.c
|
11c01d5f782692a5c7bc1d5c12048e59ca843e26
|
[
"MIT"
] |
permissive
|
zuoqing1988/ZQCNN
|
0b0dbe79acf3094c252e6016dca0dbf37134ce37
|
9c89e94debaa9a241d2ac0cbc7d32c7bb8436490
|
refs/heads/master
| 2022-08-28T08:09:58.698706
| 2022-08-22T04:20:27
| 2022-08-22T04:20:27
| 132,091,868
| 2,152
| 487
|
MIT
| 2020-10-23T07:37:06
| 2018-05-04T05:30:54
|
Objective-C
|
UTF-8
|
C
| false
| false
| 36,071
|
c
|
zq_cnn_scalaroperation_32f_align_c.c
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "../ZQ_CNN_CompileConfig.h"
#if __ARM_NEON
#include <arm_neon.h>
#else
#if defined(__GNUC__)
#if ZQ_CNN_USE_SSETYPE >= ZQ_CNN_SSETYPE_SSE
#include <smmintrin.h>
#endif
#if ZQ_CNN_USE_SSETYPE >= ZQ_CNN_SSETYPE_AVX
#include <x86intrin.h>
#endif
#elif defined(_WIN32)
#if ZQ_CNN_USE_SSETYPE >= ZQ_CNN_SSETYPE_SSE
#include <mmintrin.h> //MMX
#include <xmmintrin.h> //SSE(include mmintrin.h)
#include <emmintrin.h> //SSE2(include xmmintrin.h)
#include <pmmintrin.h> //SSE3(include emmintrin.h)
#include <tmmintrin.h>//SSSE3(include pmmintrin.h)
#include <smmintrin.h>//SSE4.1(include tmmintrin.h)
#include <nmmintrin.h>//SSE4.2(include smmintrin.h)
#endif
#if ZQ_CNN_USE_SSETYPE >= ZQ_CNN_SSETYPE_AVX
#include <wmmintrin.h>//AES(include nmmintrin.h)
#include <immintrin.h>//AVX(include wmmintrin.h)
#include <intrin.h>//(include immintrin.h)
#endif
#endif
#endif//__ARM_NEON
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#if __ARM_NEON
#define zq_mm_load_ps vld1q_f32
#define zq_mm_store_ps vst1q_f32
#define zq_mm_type float32x4_t
#define zq_base_type float
#define zq_mm_set1_ps vdupq_n_f32
#define zq_mm_align_size 4
#define zq_mm_align_size_mul_2 8
#define zq_mm_align_size_mul_3 12
#define zq_mm_align_size_mul_4 16
#define zq_mm_align_size_mul_5 20
#define zq_mm_align_size_mul_6 24
#define zq_mm_align_size_mul_7 28
#define zq_mm_align_size_mul_8 32
#define zq_mm_align_size_mul_16 64
#define zq_mm_align_size_mul_32 128
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_add_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_add_inplace_32f_align128bit
#define zq_mm_operation_ps vaddq_f32
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_mul_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_mul_inplace_32f_align128bit
#define zq_mm_operation_ps vmulq_f32
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_max_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_max_inplace_32f_align128bit
#define zq_mm_operation_ps vmaxq_f32
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_min_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_min_inplace_32f_align128bit
#define zq_mm_operation_ps vminq_f32
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_rminus_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_rminus_inplace_32f_align128bit
#define zq_mm_operation_ps(x,y) vsubq_f32(y,x)
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
/*
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_rdiv_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_rdiv_inplace_32f_align128bit
#define zq_mm_operation_ps(x,y) vdivq_f32(y,x)
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
*/
#undef zq_mm_load_ps
#undef zq_mm_store_ps
#undef zq_mm_type
#undef zq_base_type
#undef zq_mm_set1_ps
#undef zq_mm_align_size
#undef zq_mm_align_size_mul_2
#undef zq_mm_align_size_mul_3
#undef zq_mm_align_size_mul_4
#undef zq_mm_align_size_mul_5
#undef zq_mm_align_size_mul_6
#undef zq_mm_align_size_mul_7
#undef zq_mm_align_size_mul_8
#undef zq_mm_align_size_mul_16
#undef zq_mm_align_size_mul_32
#if __ARM_NEON_FP16
#define zq_mm_load_ps vld1q_f16
#define zq_mm_store_ps vst1q_f16
#define zq_mm_type float16x8_t
#define zq_base_type float16_t
#define zq_mm_set1_ps vdupq_n_f16
#define zq_mm_align_size 8
#define zq_mm_align_size_mul_2 16
#define zq_mm_align_size_mul_3 24
#define zq_mm_align_size_mul_4 32
#define zq_mm_align_size_mul_5 40
#define zq_mm_align_size_mul_6 48
#define zq_mm_align_size_mul_7 56
#define zq_mm_align_size_mul_8 64
#define zq_mm_align_size_mul_16 128
#define zq_mm_align_size_mul_32 256
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_add_16f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_add_inplace_16f_align128bit
#define zq_mm_operation_ps vaddq_f16
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_mul_16f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_mul_inplace_16f_align128bit
#define zq_mm_operation_ps vmulq_f16
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_max_16f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_max_inplace_16f_align128bit
#define zq_mm_operation_ps vmaxq_f16
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_min_16f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_min_inplace_16f_align128bit
#define zq_mm_operation_ps vminq_f16
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_rminus_16f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_rminus_inplace_16f_align128bit
#define zq_mm_operation_ps(x,y) vsubq_f16(y,x)
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
/*
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_rdiv_16f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_rdiv_inplace_16f_align128bit
#define zq_mm_operation_ps(x,y) vdivq_f16(y,x)
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
*/
#undef zq_mm_load_ps
#undef zq_mm_store_ps
#undef zq_mm_type
#undef zq_base_type
#undef zq_mm_set1_ps
#undef zq_mm_align_size
#undef zq_mm_align_size_mul_2
#undef zq_mm_align_size_mul_3
#undef zq_mm_align_size_mul_4
#undef zq_mm_align_size_mul_5
#undef zq_mm_align_size_mul_6
#undef zq_mm_align_size_mul_7
#undef zq_mm_align_size_mul_8
#undef zq_mm_align_size_mul_16
#undef zq_mm_align_size_mul_32
#endif//__ARM_NEON_FP16
#else
#if ZQ_CNN_USE_SSETYPE >= ZQ_CNN_SSETYPE_SSE
#define zq_mm_load_ps _mm_load_ps
#define zq_mm_store_ps _mm_store_ps
#define zq_mm_type __m128
#define zq_base_type float
#define zq_mm_set1_ps _mm_set1_ps
#define zq_mm_align_size 4
#define zq_mm_align_size_mul_2 8
#define zq_mm_align_size_mul_3 12
#define zq_mm_align_size_mul_4 16
#define zq_mm_align_size_mul_5 20
#define zq_mm_align_size_mul_6 24
#define zq_mm_align_size_mul_7 28
#define zq_mm_align_size_mul_8 32
#define zq_mm_align_size_mul_16 64
#define zq_mm_align_size_mul_32 128
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_add_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_add_inplace_32f_align128bit
#define zq_mm_operation_ps _mm_add_ps
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_mul_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_mul_inplace_32f_align128bit
#define zq_mm_operation_ps _mm_mul_ps
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_max_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_max_inplace_32f_align128bit
#define zq_mm_operation_ps _mm_max_ps
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_min_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_min_inplace_32f_align128bit
#define zq_mm_operation_ps _mm_min_ps
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_rminus_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_rminus_inplace_32f_align128bit
#define zq_mm_operation_ps(x,y) _mm_sub_ps(y,x)
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_rdiv_32f_align128bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_rdiv_inplace_32f_align128bit
#define zq_mm_operation_ps(x,y) _mm_div_ps(y,x)
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#undef zq_mm_load_ps
#undef zq_mm_store_ps
#undef zq_mm_type
#undef zq_base_type
#undef zq_mm_set1_ps
#undef zq_mm_align_size
#undef zq_mm_align_size_mul_2
#undef zq_mm_align_size_mul_3
#undef zq_mm_align_size_mul_4
#undef zq_mm_align_size_mul_5
#undef zq_mm_align_size_mul_6
#undef zq_mm_align_size_mul_7
#undef zq_mm_align_size_mul_8
#undef zq_mm_align_size_mul_16
#undef zq_mm_align_size_mul_32
#endif
#if ZQ_CNN_USE_SSETYPE >= ZQ_CNN_SSETYPE_AVX
#define zq_mm_load_ps _mm256_load_ps
#define zq_mm_store_ps _mm256_store_ps
#define zq_mm_type __m256
#define zq_base_type float
#define zq_mm_set1_ps _mm256_set1_ps
#define zq_mm_align_size 8
#define zq_mm_align_size_mul_2 16
#define zq_mm_align_size_mul_3 24
#define zq_mm_align_size_mul_4 32
#define zq_mm_align_size_mul_5 40
#define zq_mm_align_size_mul_6 48
#define zq_mm_align_size_mul_7 56
#define zq_mm_align_size_mul_8 64
#define zq_mm_align_size_mul_16 128
#define zq_mm_align_size_mul_32 256
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_add_32f_align256bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_add_inplace_32f_align256bit
#define zq_mm_operation_ps _mm256_add_ps
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_mul_32f_align256bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_mul_inplace_32f_align256bit
#define zq_mm_operation_ps _mm256_mul_ps
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_max_32f_align256bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_max_inplace_32f_align256bit
#define zq_mm_operation_ps _mm256_max_ps
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_min_32f_align256bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_min_inplace_32f_align256bit
#define zq_mm_operation_ps _mm256_min_ps
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_rminus_32f_align256bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_rminus_inplace_32f_align256bit
#define zq_mm_operation_ps(x,y) _mm256_sub_ps(y,x)
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#define zq_cnn_scalaroperation_32f_align zq_cnn_scalaroperation_rdiv_32f_align256bit
#define zq_cnn_scalaroperation_inplace_32f_align zq_cnn_scalaroperation_rdiv_inplace_32f_align256bit
#define zq_mm_operation_ps(x,y) _mm256_div_ps(y,x)
#include "zq_cnn_scalaroperation_32f_align_c_raw.h"
#undef zq_mm_operation_ps
#undef zq_cnn_scalaroperation_32f_align
#undef zq_cnn_scalaroperation_inplace_32f_align
#undef zq_mm_load_ps
#undef zq_mm_store_ps
#undef zq_mm_type
#undef zq_base_type
#undef zq_mm_set1_ps
#undef zq_mm_align_size
#undef zq_mm_align_size_mul_2
#undef zq_mm_align_size_mul_3
#undef zq_mm_align_size_mul_4
#undef zq_mm_align_size_mul_5
#undef zq_mm_align_size_mul_6
#undef zq_mm_align_size_mul_7
#undef zq_mm_align_size_mul_8
#undef zq_mm_align_size_mul_16
#undef zq_mm_align_size_mul_32
#endif
#endif//__ARM_NEON
void zq_cnn_scalaroperation_add_32f_align0(
float scalar,
const float* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
float* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const float* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
float* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = in_pix_ptr[c] + scalar;
}
}
}
}
void zq_cnn_scalaroperation_add_inplace_32f_align0(
float scalar,
float* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
float* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] += scalar;
}
}
}
}
void zq_cnn_scalaroperation_mul_32f_align0(
float scalar,
const float* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
float* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const float* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
float* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = in_pix_ptr[c] * scalar;
}
}
}
}
void zq_cnn_scalaroperation_mul_inplace_32f_align0(
float scalar,
float* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
float* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] *= scalar;
}
}
}
}
void zq_cnn_scalaroperation_max_32f_align0(
float scalar,
const float* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
float* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const float* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
float* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = __max(in_pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_max_inplace_32f_align0(
float scalar,
float* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
float* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = __max(pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_min_32f_align0(
float scalar,
const float* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
float* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const float* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
float* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = __min(in_pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_min_inplace_32f_align0(
float scalar,
float* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
float* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = __min(pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_pow_32f_align0(
float scalar,
const float* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
float* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const float* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
float* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = (float)pow(in_pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_pow_inplace_32f_align0(
float scalar,
float* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
float* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = (float)pow(pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_rdiv_32f_align0(
float scalar,
const float* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
float* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const float* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
float* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = scalar/in_pix_ptr[c];
}
}
}
}
void zq_cnn_scalaroperation_rdiv_inplace_32f_align0(
float scalar,
float* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
float* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = scalar / pix_ptr[c];
}
}
}
}
void zq_cnn_scalaroperation_rminus_32f_align0(
float scalar,
const float* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
float* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const float* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
float* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = scalar - in_pix_ptr[c];
}
}
}
}
void zq_cnn_scalaroperation_rminus_inplace_32f_align0(
float scalar,
float* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
float* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = scalar - pix_ptr[c];
}
}
}
}
#if __ARM_NEON
#if __ARM_NEON_FP16
#define zq_base_type
void zq_cnn_scalaroperation_add_16f_align0(
zq_base_type scalar,
const zq_base_type* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
zq_base_type* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const zq_base_type* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
zq_base_type* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = in_pix_ptr[c] + scalar;
}
}
}
}
void zq_cnn_scalaroperation_add_inplace_16f_align0(
zq_base_type scalar,
zq_base_type* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
zq_base_type* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] += scalar;
}
}
}
}
void zq_cnn_scalaroperation_mul_16f_align0(
zq_base_type scalar,
const zq_base_type* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
zq_base_type* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const zq_base_type* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
zq_base_type* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = in_pix_ptr[c] * scalar;
}
}
}
}
void zq_cnn_scalaroperation_mul_inplace_16f_align0(
zq_base_type scalar,
zq_base_type* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
zq_base_type* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] *= scalar;
}
}
}
}
void zq_cnn_scalaroperation_max_16f_align0(
zq_base_type scalar,
const zq_base_type* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
zq_base_type* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const zq_base_type* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
zq_base_type* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = __max(in_pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_max_inplace_16f_align0(
zq_base_type scalar,
zq_base_type* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
zq_base_type* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = __max(pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_min_16f_align0(
zq_base_type scalar,
const zq_base_type* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
zq_base_type* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const zq_base_type* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
zq_base_type* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = __min(in_pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_min_inplace_16f_align0(
zq_base_type scalar,
zq_base_type* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
zq_base_type* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = __min(pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_pow_16f_align0(
zq_base_type scalar,
const zq_base_type* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
zq_base_type* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const zq_base_type* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
zq_base_type* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = pow(in_pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_pow_inplace_16f_align0(
zq_base_type scalar,
zq_base_type* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
zq_base_type* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = pow(pix_ptr[c], scalar);
}
}
}
}
void zq_cnn_scalaroperation_rdiv_16f_align0(
zq_base_type scalar,
const zq_base_type* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
zq_base_type* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const zq_base_type* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
zq_base_type* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = scalar / in_pix_ptr[c];
}
}
}
}
void zq_cnn_scalaroperation_rdiv_inplace_16f_align0(
zq_base_type scalar,
zq_base_type* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
zq_base_type* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = scalar / pix_ptr[c];
}
}
}
}
void zq_cnn_scalaroperation_rminus_16f_align0(
zq_base_type scalar,
const zq_base_type* in_data,
int in_N,
int in_H,
int in_W,
int in_C,
int in_pixelStep,
int in_widthStep,
int in_sliceStep,
zq_base_type* out_data,
int out_pixelStep,
int out_widthStep,
int out_sliceStep
)
{
int n, h, w, c;
const zq_base_type* in_slice_ptr, *in_row_ptr, *in_pix_ptr;
zq_base_type* out_slice_ptr, *out_row_ptr, *out_pix_ptr;
for (n = 0, in_slice_ptr = in_data, out_slice_ptr = out_data;
n < in_N;
n++, in_slice_ptr += in_sliceStep, out_slice_ptr += out_sliceStep)
{
for (h = 0, in_row_ptr = in_slice_ptr, out_row_ptr = out_slice_ptr;
h < in_H;
h++, in_row_ptr += in_widthStep, out_row_ptr += out_widthStep)
{
for (w = 0, in_pix_ptr = in_row_ptr, out_pix_ptr = out_row_ptr;
w < in_W;
w++, in_pix_ptr += in_pixelStep, out_pix_ptr += out_pixelStep)
{
for (c = 0; c < in_C; c++)
out_pix_ptr[c] = scalar - in_pix_ptr[c];
}
}
}
}
void zq_cnn_scalaroperation_rminus_inplace_16f_align0(
zq_base_type scalar,
zq_base_type* data,
int N,
int H,
int W,
int C,
int pixelStep,
int widthStep,
int sliceStep
)
{
int n, h, w, c;
zq_base_type* slice_ptr, *row_ptr, *pix_ptr;
for (n = 0, slice_ptr = data; n < N; n++, slice_ptr += sliceStep)
{
for (h = 0, row_ptr = slice_ptr; h < H; h++, row_ptr += widthStep)
{
for (w = 0, pix_ptr = row_ptr; w < W; w++, pix_ptr += pixelStep)
{
for (c = 0; c < C; c++)
pix_ptr[c] = scalar - pix_ptr[c];
}
}
}
}
#undef zq_base_type
#endif//__ARM_NEON_FP16
#endif//__ARM_NEON
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
|
c6c5f7bd8c05489799f1f8e4809f5b27f66f0752
|
9ceacf33fd96913cac7ef15492c126d96cae6911
|
/regress/sys/kern/kqueue/kqueue-pipe.c
|
363bcac665106dbd180d82bf50f86447b8852df5
|
[] |
no_license
|
openbsd/src
|
ab97ef834fd2d5a7f6729814665e9782b586c130
|
9e79f3a0ebd11a25b4bff61e900cb6de9e7795e9
|
refs/heads/master
| 2023-09-02T18:54:56.624627
| 2023-09-02T15:16:12
| 2023-09-02T15:16:12
| 66,966,208
| 3,394
| 1,235
| null | 2023-08-08T02:42:25
| 2016-08-30T18:18:25
|
C
|
UTF-8
|
C
| false
| false
| 2,721
|
c
|
kqueue-pipe.c
|
/* $OpenBSD: kqueue-pipe.c,v 1.7 2016/09/20 23:05:27 bluhm Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Niels Provos.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/types.h>
#include <sys/time.h>
#include <sys/event.h>
#include <err.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "main.h"
int
do_pipe(void)
{
int kq;
int n;
int fd[2];
struct kevent ev;
struct timespec ts;
char buf[8000];
ASS(pipe(fd) == 0,
warn("pipe"));
ASS(fcntl(fd[1], F_SETFL, O_NONBLOCK) == 0,
warn("fcntl"));
ASS((kq = kqueue()) >= 0,
warn("fcntl"));
memset(&ev, 0, sizeof(ev));
ev.ident = fd[1];
ev.filter = EVFILT_WRITE;
ev.flags = EV_ADD | EV_ENABLE;
n = kevent(kq, &ev, 1, NULL, 0, NULL);
ASSX(n != -1);
memset(buf, 0, sizeof(buf));
while ((n = write(fd[1], buf, sizeof(buf))) == sizeof(buf))
;
ts.tv_sec = 0;
ts.tv_nsec = 0;
n = kevent(kq, NULL, 0, &ev, 1, &ts);
ASSX(n == 0);
read(fd[0], buf, sizeof(buf));
ts.tv_sec = 0;
ts.tv_nsec = 0;
n = kevent(kq, NULL, 0, &ev, 1, &ts);
ASSX(n != -1 && n != 0);
close(fd[0]);
close(fd[1]);
return (0);
}
|
4f6c2e527554ff47fdbfc31cec21a325058b7465
|
3d74f759ee48d383aa82eeff0a55864a93a001ba
|
/shell/platform/darwin/common/framework/Headers/FlutterMacros.h
|
da99e10219b76bbb818a1dc013485fac4bdc6cae
|
[
"BSD-3-Clause"
] |
permissive
|
flutter/engine
|
78be5418a9b2f7730dda9ca9fcb25b7055f3da85
|
902ece7f89d7730cc69f35e098b223cbbf4e25f1
|
refs/heads/main
| 2023-09-04T06:12:34.462953
| 2023-09-04T05:33:32
| 2023-09-04T05:33:32
| 39,211,337
| 7,090
| 6,862
|
BSD-3-Clause
| 2023-09-14T21:58:17
| 2015-07-16T17:39:56
|
C++
|
UTF-8
|
C
| false
| false
| 1,682
|
h
|
FlutterMacros.h
|
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLUTTERMACROS_H_
#define FLUTTER_FLUTTERMACROS_H_
#if defined(FLUTTER_FRAMEWORK)
#define FLUTTER_DARWIN_EXPORT __attribute__((visibility("default")))
#else // defined(FLUTTER_SDK)
#define FLUTTER_DARWIN_EXPORT
#endif // defined(FLUTTER_SDK)
#ifndef NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
#define NS_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
#endif // defined(NS_ASSUME_NONNULL_BEGIN)
/**
* Indicates that the API has been deprecated for the specified reason. Code
* that uses the deprecated API will continue to work as before. However, the
* API will soon become unavailable and users are encouraged to immediately take
* the appropriate action mentioned in the deprecation message and the BREAKING
* CHANGES section present in the Flutter.h umbrella header.
*/
#define FLUTTER_DEPRECATED(msg) __attribute__((__deprecated__(msg)))
/**
* Indicates that the previously deprecated API is now unavailable. Code that
* uses the API will not work and the declaration of the API is only a stub
* meant to display the given message detailing the actions for the user to take
* immediately.
*/
#define FLUTTER_UNAVAILABLE(msg) __attribute__((__unavailable__(msg)))
#if __has_feature(objc_arc)
#define FLUTTER_ASSERT_ARC
#define FLUTTER_ASSERT_NOT_ARC #error ARC must be disabled !
#else
#define FLUTTER_ASSERT_ARC #error ARC must be enabled !
#define FLUTTER_ASSERT_NOT_ARC
#endif
#endif // FLUTTER_FLUTTERMACROS_H_
|
9288a7f169656bd3d3cd7552de08143f4176bf0b
|
50e95229b9a1161ac294137120aaba94c9eb06bc
|
/sources/ippcp/pcpbnarithminv.c
|
4bc4038af2dd05aed61f212a116d8c700659f4ab
|
[
"Apache-2.0",
"Intel"
] |
permissive
|
intel/ipp-crypto
|
f0f05b87203705e82603db67bed5f8def13a5ee8
|
36e76e2388f3dd10cc440e213dfcf6ef59a0dfb8
|
refs/heads/develop
| 2023-09-04T08:15:06.851373
| 2023-07-27T12:47:12
| 2023-07-27T12:47:12
| 140,034,345
| 304
| 81
|
Apache-2.0
| 2023-08-30T17:18:36
| 2018-07-06T22:16:28
|
C
|
UTF-8
|
C
| false
| false
| 2,894
|
c
|
pcpbnarithminv.c
|
/*******************************************************************************
* Copyright (C) 2002 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an 'AS IS' BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions
* and limitations under the License.
*
*******************************************************************************/
/*
// Intel(R) Integrated Performance Primitives
// Cryptographic Primitives (ippcp)
//
// Contents:
// ippsModInv_BN()
//
*/
#include "owndefs.h"
#include "owncp.h"
#include "pcpbn.h"
#include "pcptool.h"
/*F*
// Name: ippsModInv_BN
//
// Purpose: Multiplicative Inversion BigNum.
//
// Returns: Reason:
// ippStsNullPtrErr pA == NULL
// pM == NULL
// pInv == NULL
// ippStsContextMatchErr !BN_VALID_ID(pA)
// !BN_VALID_ID(pM)
// !BN_VALID_ID(pInv)
// ippStsBadArgErr A<=0
// ippStsBadModulusErr M<=0
// ippStsScaleRangeErr A>=M
// ippStsOutOfRangeErr pInv can not hold result
// ippStsNoErr no errors
// ippStsBadModulusErr inversion not found
//
// Parameters:
// pA source (value) BigNum
// pM source (modulus) BigNum
// pInv result BigNum
//
*F*/
IPPFUN(IppStatus, ippsModInv_BN, (IppsBigNumState* pA, IppsBigNumState* pM, IppsBigNumState* pInv) )
{
IPP_BAD_PTR3_RET(pA, pM, pInv);
IPP_BADARG_RET(!BN_VALID_ID(pA), ippStsContextMatchErr);
IPP_BADARG_RET(!BN_VALID_ID(pM), ippStsContextMatchErr);
IPP_BADARG_RET(!BN_VALID_ID(pInv), ippStsContextMatchErr);
IPP_BADARG_RET(BN_ROOM(pInv) < BN_SIZE(pM), ippStsOutOfRangeErr);
IPP_BADARG_RET(BN_NEGATIVE(pA) || (BN_SIZE(pA)==1 && BN_NUMBER(pA)[0]==0), ippStsBadArgErr);
IPP_BADARG_RET(BN_NEGATIVE(pM) || (BN_SIZE(pM)==1 && BN_NUMBER(pM)[0]==0), ippStsBadModulusErr);
IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), BN_NUMBER(pM), BN_SIZE(pM)) >= 0, ippStsScaleRangeErr);
{
cpSize nsR = cpModInv_BNU(BN_NUMBER(pInv),
BN_NUMBER(pA), BN_SIZE(pA),
BN_NUMBER(pM), BN_SIZE(pM),
BN_BUFFER(pInv), BN_BUFFER(pA), BN_BUFFER(pM));
if(nsR) {
BN_SIGN(pInv) = ippBigNumPOS;
BN_SIZE(pInv) = nsR;
return ippStsNoErr;
}
else
return ippStsBadModulusErr;
}
}
|
ca8f5b0fdaa6dab5b727ecac19f711ecf8b27f0d
|
3c6e1e35f38421273f92dd25055dccc6f632fd93
|
/app/mqtt/mqtt_msg.c
|
aab91e20e3541c81354cbb77246d57f7d5fe3f74
|
[
"MIT"
] |
permissive
|
nodemcu/nodemcu-firmware
|
fd907ddf01bf17fdc55dd352d6987ee91d8b95e3
|
f25dc56d3c6213b8ac7ce46d1293466137746eae
|
refs/heads/release
| 2023-08-22T21:46:10.995686
| 2021-12-30T07:46:20
| 2021-12-30T07:46:20
| 26,917,568
| 8,077
| 3,888
|
MIT
| 2023-07-25T09:20:45
| 2014-11-20T15:06:45
|
C
|
UTF-8
|
C
| false
| false
| 13,263
|
c
|
mqtt_msg.c
|
/*
* Copyright (c) 2014, Stephen Robinson
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*/
#include <string.h>
#include "mqtt_msg.h"
#define MQTT_MAX_FIXED_HEADER_SIZE 3
enum mqtt_connect_flag
{
MQTT_CONNECT_FLAG_USERNAME = 1 << 7,
MQTT_CONNECT_FLAG_PASSWORD = 1 << 6,
MQTT_CONNECT_FLAG_WILL_RETAIN = 1 << 5,
MQTT_CONNECT_FLAG_WILL = 1 << 2,
MQTT_CONNECT_FLAG_CLEAN_SESSION = 1 << 1
};
struct __attribute((__packed__)) mqtt_connect_variable_header
{
uint8_t lengthMsb;
uint8_t lengthLsb;
uint8_t magic[4];
uint8_t version;
uint8_t flags;
uint8_t keepaliveMsb;
uint8_t keepaliveLsb;
};
static int append_string(mqtt_message_buffer_t *msgb, const char* string, int len)
{
if(msgb->message.length + len + 2 > msgb->buffer_length)
return -1;
msgb->buffer[msgb->message.length++] = len >> 8;
msgb->buffer[msgb->message.length++] = len & 0xff;
memcpy(msgb->buffer + msgb->message.length, string, len);
msgb->message.length += len;
return len + 2;
}
static uint16_t append_message_id(mqtt_message_buffer_t* msgb, uint16_t message_id)
{
if(msgb->message.length + 2 > msgb->buffer_length)
return 0;
msgb->buffer[msgb->message.length++] = message_id >> 8;
msgb->buffer[msgb->message.length++] = message_id & 0xff;
return 1;
}
static int init_message(mqtt_message_buffer_t* msgb)
{
msgb->message.length = MQTT_MAX_FIXED_HEADER_SIZE;
return MQTT_MAX_FIXED_HEADER_SIZE;
}
static mqtt_message_t* fail_message(mqtt_message_buffer_t* msgb)
{
msgb->message.data = msgb->buffer;
msgb->message.length = 0;
return &msgb->message;
}
static mqtt_message_t* fini_message(mqtt_message_buffer_t* msgb, int type, int dup, int qos, int retain)
{
int remaining_length = msgb->message.length - MQTT_MAX_FIXED_HEADER_SIZE;
if(remaining_length > 127)
{
msgb->buffer[0] = ((type & 0x0f) << 4) | ((dup & 1) << 3) | ((qos & 3) << 1) | (retain & 1);
msgb->buffer[1] = 0x80 | (remaining_length % 128);
msgb->buffer[2] = remaining_length / 128;
msgb->message.length = remaining_length + 3;
msgb->message.data = msgb->buffer;
}
else
{
msgb->buffer[1] = ((type & 0x0f) << 4) | ((dup & 1) << 3) | ((qos & 3) << 1) | (retain & 1);
msgb->buffer[2] = remaining_length;
msgb->message.length = remaining_length + 2;
msgb->message.data = msgb->buffer + 1;
}
return &msgb->message;
}
void mqtt_msg_init(mqtt_message_buffer_t* msgb, uint8_t* buffer, uint16_t buffer_length)
{
memset(msgb, 0, sizeof(msgb));
msgb->buffer = buffer;
msgb->buffer_length = buffer_length;
}
// Returns total length of message, or -1 if not enough bytes are available
int32_t mqtt_get_total_length(uint8_t* buffer, uint16_t buffer_length)
{
int i;
int totlen = 0;
if(buffer_length == 1)
return -1;
for(i = 1; i < buffer_length; ++i)
{
totlen += (buffer[i] & 0x7f) << (7 * (i - 1));
if((buffer[i] & 0x80) == 0)
{
++i;
break;
}
if(i == buffer_length)
return -1;
}
totlen += i;
return totlen;
}
const char* mqtt_get_publish_topic(uint8_t* buffer, uint16_t* buffer_length)
{
int i;
int totlen = 0;
int topiclen;
for(i = 1; i < *buffer_length; ++i)
{
totlen += (buffer[i] & 0x7f) << (7 * (i -1));
if((buffer[i] & 0x80) == 0)
{
++i;
break;
}
}
totlen += i;
if(i + 2 > *buffer_length)
return NULL;
topiclen = buffer[i++] << 8;
topiclen |= buffer[i++];
if(i + topiclen > *buffer_length)
return NULL;
*buffer_length = topiclen;
return (const char*)(buffer + i);
}
const char* mqtt_get_publish_data(uint8_t* buffer, uint16_t* buffer_length)
{
int i;
int totlen = 0;
int topiclen;
for(i = 1; i < *buffer_length; ++i)
{
totlen += (buffer[i] & 0x7f) << (7 * (i - 1));
if((buffer[i] & 0x80) == 0)
{
++i;
break;
}
}
totlen += i;
if(i + 2 > *buffer_length)
return NULL;
topiclen = buffer[i++] << 8;
topiclen |= buffer[i++];
if(i + topiclen > *buffer_length){
*buffer_length = 0;
return NULL;
}
i += topiclen;
if(mqtt_get_qos(buffer) > 0)
{
if(i + 2 > *buffer_length)
return NULL;
i += 2;
}
if(totlen < i)
return NULL;
if(totlen <= *buffer_length)
*buffer_length = totlen - i;
else
*buffer_length = *buffer_length - i;
return (const char*)(buffer + i);
}
uint16_t mqtt_get_id(uint8_t* buffer, uint16_t buffer_length)
{
if(buffer_length < 1)
return 0;
switch(mqtt_get_type(buffer))
{
case MQTT_MSG_TYPE_PUBLISH:
{
int i;
int topiclen;
if(mqtt_get_qos(buffer) <= 0)
return 0;
for(i = 1; i < buffer_length; ++i)
{
if((buffer[i] & 0x80) == 0)
{
++i;
break;
}
}
if(i + 2 > buffer_length)
return 0;
topiclen = buffer[i++] << 8;
topiclen |= buffer[i++];
if(i + topiclen > buffer_length)
return 0;
i += topiclen;
if(i + 2 > buffer_length)
return 0;
return (buffer[i] << 8) | buffer[i + 1];
}
case MQTT_MSG_TYPE_PUBACK:
case MQTT_MSG_TYPE_PUBREC:
case MQTT_MSG_TYPE_PUBREL:
case MQTT_MSG_TYPE_PUBCOMP:
case MQTT_MSG_TYPE_SUBACK:
case MQTT_MSG_TYPE_UNSUBACK:
case MQTT_MSG_TYPE_SUBSCRIBE:
{
// This requires the remaining length to be encoded in 1 byte,
// which it should be.
if(buffer_length >= 4 && (buffer[1] & 0x80) == 0)
return (buffer[2] << 8) | buffer[3];
else
return 0;
}
default:
return 0;
}
}
mqtt_message_t* mqtt_msg_connect(mqtt_message_buffer_t* msgb, mqtt_connect_info_t* info)
{
struct mqtt_connect_variable_header* variable_header;
init_message(msgb);
if(msgb->message.length + sizeof(*variable_header) > msgb->buffer_length)
return fail_message(msgb);
variable_header = (void*)(msgb->buffer + msgb->message.length);
msgb->message.length += sizeof(*variable_header);
variable_header->lengthMsb = 0;
variable_header->lengthLsb = 4;
memcpy(variable_header->magic, "MQTT", 4);
variable_header->version = 4;
variable_header->flags = 0;
variable_header->keepaliveMsb = info->keepalive >> 8;
variable_header->keepaliveLsb = info->keepalive & 0xff;
if(info->clean_session)
variable_header->flags |= MQTT_CONNECT_FLAG_CLEAN_SESSION;
if(info->client_id != NULL && info->client_id[0] != '\0')
{
if(append_string(msgb, info->client_id, strlen(info->client_id)) < 0)
return fail_message(msgb);
}
else
return fail_message(msgb);
if(info->will_topic != NULL && info->will_topic[0] != '\0')
{
if(append_string(msgb, info->will_topic, strlen(info->will_topic)) < 0)
return fail_message(msgb);
if(append_string(msgb, info->will_message, strlen(info->will_message)) < 0)
return fail_message(msgb);
variable_header->flags |= MQTT_CONNECT_FLAG_WILL;
if(info->will_retain)
variable_header->flags |= MQTT_CONNECT_FLAG_WILL_RETAIN;
variable_header->flags |= (info->will_qos & 3) << 3;
}
if(info->username != NULL && info->username[0] != '\0')
{
if(append_string(msgb, info->username, strlen(info->username)) < 0)
return fail_message(msgb);
variable_header->flags |= MQTT_CONNECT_FLAG_USERNAME;
}
if(info->password != NULL && info->password[0] != '\0')
{
if(append_string(msgb, info->password, strlen(info->password)) < 0)
return fail_message(msgb);
variable_header->flags |= MQTT_CONNECT_FLAG_PASSWORD;
}
return fini_message(msgb, MQTT_MSG_TYPE_CONNECT, 0, 0, 0);
}
mqtt_message_t* mqtt_msg_publish(mqtt_message_buffer_t* msgb, const char* topic, const char* data, int data_length, int qos, int retain, uint16_t message_id)
{
init_message(msgb);
if(topic == NULL || topic[0] == '\0')
return fail_message(msgb);
if(append_string(msgb, topic, strlen(topic)) < 0)
return fail_message(msgb);
if(qos > 0)
{
if(!append_message_id(msgb, message_id))
return fail_message(msgb);
}
if(msgb->message.length + data_length > msgb->buffer_length)
return fail_message(msgb);
memcpy(msgb->buffer + msgb->message.length, data, data_length);
msgb->message.length += data_length;
return fini_message(msgb, MQTT_MSG_TYPE_PUBLISH, 0, qos, retain);
}
mqtt_message_t* mqtt_msg_puback(mqtt_message_buffer_t* msgb, uint16_t message_id)
{
init_message(msgb);
if(!append_message_id(msgb, message_id))
return fail_message(msgb);
return fini_message(msgb, MQTT_MSG_TYPE_PUBACK, 0, 0, 0);
}
mqtt_message_t* mqtt_msg_pubrec(mqtt_message_buffer_t* msgb, uint16_t message_id)
{
init_message(msgb);
if(!append_message_id(msgb, message_id))
return fail_message(msgb);
return fini_message(msgb, MQTT_MSG_TYPE_PUBREC, 0, 0, 0);
}
mqtt_message_t* mqtt_msg_pubrel(mqtt_message_buffer_t* msgb, uint16_t message_id)
{
init_message(msgb);
if(!append_message_id(msgb, message_id))
return fail_message(msgb);
return fini_message(msgb, MQTT_MSG_TYPE_PUBREL, 0, 1, 0);
}
mqtt_message_t* mqtt_msg_pubcomp(mqtt_message_buffer_t* msgb, uint16_t message_id)
{
init_message(msgb);
if(!append_message_id(msgb, message_id))
return fail_message(msgb);
return fini_message(msgb, MQTT_MSG_TYPE_PUBCOMP, 0, 0, 0);
}
mqtt_message_t* mqtt_msg_subscribe_init(mqtt_message_buffer_t* msgb, uint16_t message_id)
{
init_message(msgb);
if(!append_message_id(msgb, message_id))
return fail_message(msgb);
return &msgb->message;
}
mqtt_message_t* mqtt_msg_subscribe_topic(mqtt_message_buffer_t* msgb, const char* topic, int qos)
{
if(topic == NULL || topic[0] == '\0')
return fail_message(msgb);
if(append_string(msgb, topic, strlen(topic)) < 0)
return fail_message(msgb);
if(msgb->message.length + 1 > msgb->buffer_length)
return fail_message(msgb);
msgb->buffer[msgb->message.length++] = qos;
return &msgb->message;
}
mqtt_message_t* mqtt_msg_subscribe_fini(mqtt_message_buffer_t* msgb)
{
return fini_message(msgb, MQTT_MSG_TYPE_SUBSCRIBE, 0, 1, 0);
}
mqtt_message_t* mqtt_msg_subscribe(mqtt_message_buffer_t* msgb, const char* topic, int qos, uint16_t message_id)
{
mqtt_message_t* result;
result = mqtt_msg_subscribe_init(msgb, message_id);
if (result->length != 0) {
result = mqtt_msg_subscribe_topic(msgb, topic, qos);
}
if (result->length != 0) {
result = mqtt_msg_subscribe_fini(msgb);
}
return result;
}
mqtt_message_t* mqtt_msg_unsubscribe_init(mqtt_message_buffer_t* msgb, uint16_t message_id)
{
return mqtt_msg_subscribe_init(msgb, message_id);
}
mqtt_message_t* mqtt_msg_unsubscribe_topic(mqtt_message_buffer_t* msgb, const char* topic)
{
if(topic == NULL || topic[0] == '\0')
return fail_message(msgb);
if(append_string(msgb, topic, strlen(topic)) < 0)
return fail_message(msgb);
return &msgb->message;
}
mqtt_message_t* mqtt_msg_unsubscribe_fini(mqtt_message_buffer_t* msgb)
{
return fini_message(msgb, MQTT_MSG_TYPE_UNSUBSCRIBE, 0, 1, 0);
}
mqtt_message_t* mqtt_msg_unsubscribe(mqtt_message_buffer_t* msgb, const char* topic, uint16_t message_id)
{
mqtt_message_t* result;
result = mqtt_msg_unsubscribe_init(msgb, message_id);
if (result->length != 0) {
result = mqtt_msg_unsubscribe_topic(msgb, topic);
}
if (result->length != 0) {
result = mqtt_msg_unsubscribe_fini(msgb);
}
return result;
}
mqtt_message_t* mqtt_msg_pingreq(mqtt_message_buffer_t* msgb)
{
init_message(msgb);
return fini_message(msgb, MQTT_MSG_TYPE_PINGREQ, 0, 0, 0);
}
mqtt_message_t* mqtt_msg_pingresp(mqtt_message_buffer_t* msgb)
{
init_message(msgb);
return fini_message(msgb, MQTT_MSG_TYPE_PINGRESP, 0, 0, 0);
}
mqtt_message_t* mqtt_msg_disconnect(mqtt_message_buffer_t* msgb)
{
init_message(msgb);
return fini_message(msgb, MQTT_MSG_TYPE_DISCONNECT, 0, 0, 0);
}
|
cd5604d3d45717d2c03a9870b57b630777c3a526
|
6a86ce9191e89ecf9095b0cce34f16a86785f065
|
/utils/memtier/memtier.c
|
84c027d993720c8744421b7f881efc7280c18f9b
|
[
"BSD-3-Clause"
] |
permissive
|
memkind/memkind
|
cb37b6f6ed7323f48710365128ea9f5c3c9b7d2d
|
c425635feb0367c43da8fa0deadb50a4bc127988
|
refs/heads/master
| 2023-08-30T21:25:32.117774
| 2023-04-06T05:08:12
| 2023-04-06T05:08:12
| 26,647,213
| 370
| 129
|
NOASSERTION
| 2023-06-14T10:53:15
| 2014-11-14T16:30:03
|
C
|
UTF-8
|
C
| false
| false
| 7,604
|
c
|
memtier.c
|
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (C) 2022 Intel Corporation.
#define _GNU_SOURCE
#include <getopt.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <memkind.h>
#define PN "memtier"
#define PETA (1048576ULL * 1048576 * 1048576)
extern char **environ;
static __attribute__((noreturn)) void die(const char *fmt, ...)
{
char buf[512];
va_list args;
va_start(args, fmt);
int len = vsnprintf(buf, sizeof(buf), fmt, args);
va_end(args);
if (write(STDERR_FILENO, buf, len))
; // hush the "unused result" warning
exit(1);
}
static void help(void)
{
printf(
"memtier is a malloc interceptor to use memkind memory tiering with unmodified\n"
"programs. Use it as a prefix:\n"
" memtier [options] program [args]\n"
"Options:\n"
" -r/--ratio colon-separated relative portions of memory tiers to use,\n"
" defaults to amount of memory installed on this system.\n"
" 1:3 means 1 byte of DRAM will be used per 3 bytes of PMEM.\n"
" -t/--threshold alloc size threshold configurations, see the man page\n"
" -v/--verbose display generated configuration\n"
" -h/--help this message\n");
}
// Require the approximation to be within 5%.
#define ACCURACY 21 / 20
static size_t human_friendly_ratio(size_t x, size_t y)
{
if (x < y) {
size_t t = x;
x = y;
y = t;
}
if (!y)
return x;
// Find the smallest denominator that gives a good enough approximation.
for (size_t b = 1;; b++) {
// Make a/b the nearest fraction to x/y.
size_t a = (2 * x * b + y) / y / 2;
if (a * y > x * b * ACCURACY) // too much?
continue;
if (a * y * ACCURACY < x * b) // too little?
continue;
// The ratios are 𝑎𝑙𝑚𝑜𝑠𝑡 equal, we need to round up here.
if (x / a < y / b)
return x / a;
else
return y / b;
}
}
#define vmsg(...) \
do \
if (verbose) \
fprintf(stderr, __VA_ARGS__); \
while (0)
int main(int argc, char **argv)
{
unsigned long ratio[2];
bool guess_ratio = true;
const char *thresh = 0;
bool verbose = false;
static struct option long_options[] = {
{"ratio", required_argument, 0, 'r'},
{"threshold", required_argument, 0, 't'},
{"verbose", no_argument, 0, 'v'},
{"help", no_argument, 0, 'h'},
{0}};
while (1) {
switch (getopt_long(argc, argv, "+r:t:vh", long_options, 0)) {
case -1:
goto endarg;
case 'r':; // ancient gcc (Centos 7) requires an empty statement
// here
char *br;
ratio[0] = strtoul(optarg, &br, 0);
if (*br == '.')
die(PN ": --ratio expects integers.\n");
if (*br != ':')
die(PN ": --ratio must have a colon between values.\n");
ratio[1] = strtoul(++br, &br, 0);
if (*br) {
if (*br == '.')
die(PN ": --ratio expects integers.\n");
die(PN
": --ratio must have exactly two values in this version of memtier.\n");
}
if (ratio[0] > PETA || ratio[1] > PETA) // overflow somewhere?
die(PN
": the number to --ratio doesn't seem to be plausible.\n");
guess_ratio = false;
break;
case 't':
thresh = optarg; // TODO: validate?
break;
case 'v':
verbose = true;
break;
case 'h':
help();
exit(0);
default:
help();
exit(1);
}
}
endarg:
if (guess_ratio) {
// a dummy malloc to force initialization of kinds
if (!getenv("FAKE_REGULAR"))
memkind_free(MEMKIND_REGULAR, memkind_malloc(MEMKIND_REGULAR, 1));
ssize_t dram = memkind_get_capacity(MEMKIND_REGULAR);
if (dram < 0)
dram = 0;
ssize_t pmem = memkind_get_capacity(MEMKIND_DAX_KMEM);
vmsg("Installed capacities: %zd:%zd\n", dram, pmem);
if (pmem <= 0) // explicit ratio of 0 is ok, implicit suggests an error
die(PN
": there appears to be no KMEM_DAX devices installed in this system.\n");
size_t d = human_friendly_ratio(dram, pmem);
ratio[0] = dram / d;
ratio[1] = pmem / d;
vmsg("Using ratio of DRAM:KMEM_DAX %zu:%zu\n", ratio[0], ratio[1]);
}
if (!ratio[0] && !ratio[1])
die(PN ": empty ratio would disallow using any memory.\n");
if (thresh && (!ratio[0] || !ratio[1]))
die(PN ": --threshold requires multiple tiers with non-zero ratios.\n");
if (optind >= argc) {
fprintf(stderr, "Usage: " PN " [options] command [args]\n");
help();
return 1;
}
char libpath[4096];
// If this tool is installed to /usr (even if /usr/local), the library
// can be assumed to live somewhere in the search path.
// If not, we need to guess. For now, we look in the same dir as the
// wrapper, except for .libs/ that's a quirk of libtool.
// If $0 has no slashes, we have no way to guess so we don't.
char *exeslash = strncmp(argv[0], "/usr", 4) ? strrchr(argv[0], '/') : 0;
if (exeslash) {
const char *subdir = "";
// libtool puts the wrapper into .libs/memtier but the lib into
// tiering/.libs/libmemtier.so
if (exeslash - libpath >= 5 && !strncmp(exeslash - 5, ".libs/", 5)) {
exeslash -= 5;
subdir = "tiering/.libs";
}
snprintf(libpath, sizeof(libpath), "%.*s%s/libmemtier.so",
(int)(exeslash - argv[0]), argv[0], subdir);
} else
strcpy(libpath, "libmemtier.so");
char *env = getenv("LD_PRELOAD");
if ((env ? asprintf(&env, "LD_PRELOAD=%s:%s", libpath, env)
: asprintf(&env, "LD_PRELOAD=%s", libpath)) == -1)
die(PN ": out of memory\n");
vmsg("setting %s\n", env);
putenv(env);
if (!ratio[1]) // DRAM only
putenv("MEMKIND_MEM_TIERS=KIND:DRAM,RATIO:1;POLICY:STATIC_RATIO");
else if (!ratio[0]) // PMEM only
putenv("MEMKIND_MEM_TIERS=KIND:KMEM_DAX,RATIO:1;POLICY:STATIC_RATIO");
else {
if (asprintf(
&env,
"MEMKIND_MEM_TIERS=KIND:DRAM,RATIO:%lu;KIND:KMEM_DAX,RATIO:%lu;POLICY:%s",
ratio[0], ratio[1],
thresh ? "DYNAMIC_THRESHOLD" : "STATIC_RATIO") == -1)
die(PN ": out of memory\n");
vmsg("setting %s\n", env);
putenv(env);
if (thresh) {
if (asprintf(&env, "MEMKIND_MEM_THRESHOLDS=%s", thresh) == -1)
die(PN ": out of memory\n");
vmsg("setting %s\n", env);
putenv(env);
}
}
execvpe(argv[optind], argv + optind, environ);
// We land here only on error.
die(PN ": couldn't exec 「%s」: %m\n", argv[optind]);
}
|
a3136de40b245d4fb6725a880eaf719cec59d135
|
d61b532db0d3e08818338cfaac530a1ced1ffe3b
|
/mach/i386/ce/mach.h
|
e5e98c0689f84d5734ca3e5ea916cd2f7cbb6be3
|
[
"LicenseRef-scancode-other-permissive"
] |
permissive
|
davidgiven/ack
|
61049c7a8e95ff61a77b1edd3c22bb290720e276
|
db5a32c68c4a60ca26a3927a799ea662b5b2b0e5
|
refs/heads/default
| 2023-08-29T07:33:12.771205
| 2023-07-08T20:17:27
| 2023-07-08T20:17:27
| 37,686,316
| 376
| 74
|
NOASSERTION
| 2023-07-08T20:17:28
| 2015-06-18T21:33:42
|
C
|
UTF-8
|
C
| false
| false
| 1,207
|
h
|
mach.h
|
#define BSS_INIT 0
#define ONE_BYTE int
#define TWO_BYTES int
#define FOUR_BYTES long
#define EM_WSIZE 4
#define EM_PSIZE 4
#define EM_BSIZE 8
#define NAME_FMT "_%s"
#define DNAM_FMT "_%s"
#define DLB_FMT "I_%ld"
#define ILB_FMT "I%03d%ld"
#define HOL_FMT "hol%d"
#define ALIGN_FMT ".align\n"
#define BYTE_FMT ".data1 %ld\n"
#define WORD_FMT ".data2 %ld\n"
#define LONG_FMT ".data4 %ld\n"
#define BSS_FMT ".space %ld\n"
#define SEGTXT_FMT ".sect .text\n"
#define SEGDAT_FMT ".sect .data\n"
#define SEGBSS_FMT ".sect .bss\n"
#define SYMBOL_DEF_FMT "%s :\n"
#define GLOBAL_FMT ".extern %s\n"
#define LOCAL_FMT ""
#define RELOC1_FMT ".data1 %s + %ld\n"
#define RELOC2_FMT ".data2 %s + %ld\n"
#define RELOC4_FMT ".data4 %s + %ld\n"
#define COMM_FMT ".comm %s,%ld\n"
#define GENLAB 'I'
#define TRUE 1
#define FALSE 0
#define clean_push_buf() if(push_waiting){text1(0x50);push_waiting=FALSE;}
#define assign( l, r) l = r
extern int push_waiting;
#ifndef DEBUG
#define arg_error(s,i)
#endif
|
ff0f1b2bf66ac520f40023b57386fff1c2965688
|
0f5244a66dd11060f9c35d49f22ca026d171e29c
|
/hw/bsp/fomu/fomu.c
|
d155b743dca0cec8f5162c407676b6499445d831
|
[
"MIT"
] |
permissive
|
hathach/tinyusb
|
b5557037f1cb1763b280f308829ceea94d31f3ae
|
1fdf29075d4e613eacfa881166015263797db0f6
|
refs/heads/master
| 2023-08-22T10:14:47.526256
| 2023-08-16T09:01:16
| 2023-08-16T09:01:16
| 6,860,771
| 4,096
| 918
|
MIT
| 2023-09-14T07:22:16
| 2012-11-26T06:24:00
|
C
|
UTF-8
|
C
| false
| false
| 2,856
|
c
|
fomu.c
|
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
*
* 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.
*
* This file is part of the TinyUSB stack.
*/
#include <stdint.h>
#include <stdbool.h>
#include "../board_api.h"
#include "csr.h"
#include "irq.h"
//--------------------------------------------------------------------+
// Board porting API
//--------------------------------------------------------------------+
void fomu_error(uint32_t line)
{
(void)line;
TU_BREAKPOINT();
}
volatile uint32_t system_ticks = 0;
static void timer_init(void)
{
int t;
timer0_en_write(0);
t = CONFIG_CLOCK_FREQUENCY / 1000; // 1000 kHz tick
timer0_reload_write(t);
timer0_load_write(t);
timer0_en_write(1);
timer0_ev_enable_write(1);
timer0_ev_pending_write(1);
irq_setmask(irq_getmask() | (1 << TIMER0_INTERRUPT));
}
void isr(void)
{
unsigned int irqs;
irqs = irq_pending() & irq_getmask();
#if CFG_TUD_ENABLED
if (irqs & (1 << USB_INTERRUPT)) {
tud_int_handler(0);
}
#endif
if (irqs & (1 << TIMER0_INTERRUPT)) {
system_ticks++;
timer0_ev_pending_write(1);
}
}
void board_init(void)
{
irq_setmask(0);
irq_setie(1);
timer_init();
return;
}
void board_led_write(bool state)
{
rgb_ctrl_write(0xff);
rgb_raw_write(state);
}
uint32_t board_button_read(void)
{
return 0;
}
int board_uart_read(uint8_t* buf, int len)
{
(void) buf;
(void) len;
return 0;
}
int board_uart_write(void const * buf, int len)
{
int32_t offset = 0;
uint8_t const* buf8 = (uint8_t const*) buf;
for (offset = 0; offset < len; offset++)
{
if (!(messible_status_read() & CSR_MESSIBLE_STATUS_FULL_OFFSET))
{
messible_in_write(buf8[offset]);
}
}
return len;
}
#if CFG_TUSB_OS == OPT_OS_NONE
uint32_t board_millis(void)
{
return system_ticks;
}
#endif
|
ef732cf8aa9b385b32aac90855c720c84945f005
|
693bd39eb66eade67997bc608fe84e76e66eeec2
|
/mpp/codec/enc/h265/h265e_slice.h
|
eb68001bcd1ecf51b51f3d0e9ca782a7049642c3
|
[] |
permissive
|
HermanChen/mpp
|
6a1751777b120b764f86e0f34975231054a3c262
|
0af9b5becc76c4685831214808e124e65543297b
|
refs/heads/develop
| 2023-08-17T07:17:49.489974
| 2023-07-31T08:26:14
| 2023-08-11T07:38:17
| 71,088,248
| 139
| 79
|
Apache-2.0
| 2023-03-08T09:44:01
| 2016-10-17T01:13:37
|
C
|
UTF-8
|
C
| false
| false
| 14,801
|
h
|
h265e_slice.h
|
/*
* Copyright 2015 Rockchip Electronics Co. LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __H265E_SLICE_H__
#define __H265E_SLICE_H__
#include "rk_type.h"
#include "mpp_err.h"
#include "mpp_list.h"
#include "h265e_dpb.h"
#include "h265_syntax.h"
#include "h265e_enctropy.h"
#include "h265e_context_table.h"
#define MIN_PU_SIZE 4
#define MIN_TU_SIZE 4
#define MAX_NUM_SPU_W (64 / MIN_PU_SIZE) // maximum number of SPU in horizontal line
/*
* For H.265 encoder slice header process.
* Remove some syntax that encoder not supported.
* Field, mbaff, B slice are not supported yet.
*/
typedef struct H265eDpbFrm_t H265eDpbFrm;
typedef struct DataCu_t {
RK_U8 m_cuSize[256];
RK_U8 m_cuDepth[256];
RK_U32 pixelX;
RK_U32 pixelY;
RK_U32 mb_w;
RK_U32 mb_h;
RK_U32 cur_addr;
} DataCu;
typedef struct H265eReferencePictureSet_e {
RK_S32 m_deltaRIdxMinus1;
RK_S32 m_deltaRPS;
RK_S32 m_numRefIdc;
RK_S32 m_refIdc[MAX_REFS + 1];
// Parameters for long term references
RK_U32 check_lt_msb[MAX_REFS];
RK_S32 m_pocLSBLT[MAX_REFS];
RK_S32 m_deltaPOCMSBCycleLT[MAX_REFS];
RK_U32 m_deltaPocMSBPresentFlag[MAX_REFS];
RK_S32 m_numberOfPictures;
RK_S32 num_negative_pic;
RK_S32 num_positive_pic;
RK_S32 delta_poc[MAX_REFS];
RK_U32 m_used[MAX_REFS];
RK_U32 m_ref[MAX_REFS];
RK_S32 poc[MAX_REFS];
RK_S32 m_RealPoc[MAX_REFS];
RK_U32 m_interRPSPrediction;
RK_S32 num_long_term_pic; // Zero when disabled
} H265eReferencePictureSet;
typedef struct H265eRPSList_e {
RK_S32 m_numberOfReferencePictureSets;
H265eReferencePictureSet *m_referencePictureSets;
} H265eRPSList;
typedef struct H265eRefPicListModification_e {
RK_U32 m_refPicListModificationFlagL0;
RK_U32 m_refPicListModificationFlagL1;
RK_U32 m_RefPicSetIdxL0[REF_PIC_LIST_NUM_IDX];
RK_U32 m_RefPicSetIdxL1[REF_PIC_LIST_NUM_IDX];
} H265eRefPicListModification;
typedef struct ProfileTierLevel_e {
RK_S32 m_profileSpace;
RK_S32 m_tierFlag;
RK_S32 m_profileIdc;
RK_S32 m_profileCompatibilityFlag[32];
RK_S32 m_levelIdc;
RK_S32 m_progressiveSourceFlag;
RK_S32 m_interlacedSourceFlag;
RK_S32 m_nonPackedConstraintFlag;
RK_S32 m_frameOnlyConstraintFlag;
} ProfileTierLevel;
typedef struct H265ePTL_e {
ProfileTierLevel m_generalPTL;
ProfileTierLevel m_subLayerPTL[6]; // max. value of max_sub_layers_minus1 is 6
RK_S32 m_subLayerProfilePresentFlag[6];
RK_S32 m_subLayerLevelPresentFlag[6];
} H265ePTL;
typedef struct TimeingInfo_e {
RK_U32 m_timingInfoPresentFlag;
RK_U32 m_numUnitsInTick;
RK_U32 m_timeScale;
RK_U32 m_pocProportionalToTimingFlag;
RK_U32 m_numTicksPocDiffOneMinus1;
} TimingInfo;
typedef struct H265HrdSubLayerInfo_e {
RK_U32 fixedPicRateFlag;
RK_U32 fixedPicRateWithinCvsFlag;
RK_U32 picDurationInTcMinus1;
RK_U32 lowDelayHrdFlag;
RK_U32 cpbCntMinus1;
RK_U32 bitRateValueMinus1[MAX_CPB_CNT][2];
RK_U32 cpbSizeValue[MAX_CPB_CNT][2];
RK_U32 ducpbSizeValue[MAX_CPB_CNT][2];
RK_U32 cbrFlag[MAX_CPB_CNT][2];
RK_U32 duBitRateValue[MAX_CPB_CNT][2];
} H265eHrdSubLayerInfo;
typedef struct H265eHrdParameters_e {
RK_U32 m_nalHrdParametersPresentFlag;
RK_U32 m_vclHrdParametersPresentFlag;
RK_U32 m_subPicHrdParamsPresentFlag;
RK_U32 m_tickDivisorMinus2;
RK_U32 m_duCpbRemovalDelayLengthMinus1;
RK_U32 m_subPicCpbParamsInPicTimingSEIFlag;
RK_U32 m_dpbOutputDelayDuLengthMinus1;
RK_U32 m_bitRateScale;
RK_U32 m_cpbSizeScale;
RK_U32 m_ducpbSizeScale;
RK_U32 m_initialCpbRemovalDelayLengthMinus1;
RK_U32 m_cpbRemovalDelayLengthMinus1;
RK_U32 m_dpbOutputDelayLengthMinus1;
H265eHrdSubLayerInfo m_HRD[MAX_SUB_LAYERS];
} H265eHrdParameters;
typedef struct H265eVps_e {
RK_S32 m_VPSId;
RK_U32 m_maxTLayers;
RK_U32 m_maxLayers;
RK_U32 m_bTemporalIdNestingFlag;
RK_U32 m_numReorderPics[MAX_SUB_LAYERS];
RK_U32 m_maxDecPicBuffering[MAX_SUB_LAYERS];
RK_U32 m_maxLatencyIncrease[MAX_SUB_LAYERS]; // Really max latency increase plus 1 (value 0 expresses no limit)
RK_U32 m_numHrdParameters;
RK_U32 m_maxNuhReservedZeroLayerId;
H265eHrdParameters *m_hrdParameters;
RK_U32 *m_hrdOpSetIdx;
RK_U32 *m_cprmsPresentFlag;
RK_U32 m_numOpSets;
RK_U32 m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1];
H265ePTL m_ptl;
TimingInfo m_timingInfo;
} H265eVps;
typedef struct H265eCropInfo_e {
RK_U32 m_enabledFlag;
RK_S32 m_winLeftOffset;
RK_S32 m_winRightOffset;
RK_S32 m_winTopOffset;
RK_S32 m_winBottomOffset;
} H265eCropInfo;
typedef struct H265eVuiInfo_e {
RK_U32 m_aspectRatioInfoPresentFlag;
RK_S32 m_aspectRatioIdc;
RK_S32 m_sarWidth;
RK_S32 m_sarHeight;
RK_U32 m_overscanInfoPresentFlag;
RK_U32 m_overscanAppropriateFlag;
RK_U32 m_videoSignalTypePresentFlag;
RK_S32 m_videoFormat;
RK_U32 m_videoFullRangeFlag;
RK_U32 m_colourDescriptionPresentFlag;
RK_S32 m_colourPrimaries;
RK_S32 m_transferCharacteristics;
RK_S32 m_matrixCoefficients;
RK_U32 m_chromaLocInfoPresentFlag;
RK_S32 m_chromaSampleLocTypeTopField;
RK_S32 m_chromaSampleLocTypeBottomField;
RK_U32 m_neutralChromaIndicationFlag;
RK_U32 m_fieldSeqFlag;
H265eCropInfo m_defaultDisplayWindow;
RK_U32 m_frameFieldInfoPresentFlag;
RK_U32 m_hrdParametersPresentFlag;
RK_U32 m_bitstreamRestrictionFlag;
RK_U32 m_tilesFixedStructureFlag;
RK_U32 m_motionVectorsOverPicBoundariesFlag;
RK_U32 m_restrictedRefPicListsFlag;
RK_S32 m_minSpatialSegmentationIdc;
RK_S32 m_maxBytesPerPicDenom;
RK_S32 m_maxBitsPerMinCuDenom;
RK_S32 m_log2MaxMvLengthHorizontal;
RK_S32 m_log2MaxMvLengthVertical;
H265eHrdParameters m_hrdParameters;
TimingInfo m_timingInfo;
} H265eVuiInfo;
typedef struct H265eSps_e {
RK_S32 m_SPSId;
RK_S32 m_VPSId;
RK_S32 m_chromaFormatIdc;
RK_U32 m_colorPlaneFlag;
RK_U32 m_maxTLayers; // maximum number of temporal layers
// Structure
RK_U32 m_picWidthInLumaSamples;
RK_U32 m_picHeightInLumaSamples;
RK_S32 m_log2MinCodingBlockSize;
RK_S32 m_log2DiffMaxMinCodingBlockSize;
RK_U32 m_maxCUSize;
RK_U32 m_maxCUDepth;
RK_U32 m_addCUDepth;
H265eCropInfo m_conformanceWindow;
H265eRPSList m_RPSList;
RK_U32 m_bLongTermRefsPresent;
RK_U32 m_TMVPFlagsPresent;
RK_S32 m_numReorderPics[MAX_SUB_LAYERS];
// Tool list
RK_U32 m_quadtreeTULog2MaxSize;
RK_U32 m_quadtreeTULog2MinSize;
RK_U32 m_quadtreeTUMaxDepthInter;
RK_U32 m_quadtreeTUMaxDepthIntra;
RK_U32 m_usePCM;
RK_U32 m_pcmLog2MaxSize;
RK_U32 m_pcmLog2MinSize;
RK_U32 m_useAMP;
// Parameter
RK_S32 m_bitDepthY;
RK_S32 m_bitDepthC;
RK_S32 m_qpBDOffsetY;
RK_S32 m_qpBDOffsetC;
RK_U32 m_useLossless;
RK_U32 m_pcmBitDepthLuma;
RK_U32 m_pcmBitDepthChroma;
RK_U32 m_bPCMFilterDisableFlag;
RK_U32 m_bitsForPOC;
RK_U32 m_numLongTermRefPicSPS;
RK_U32 m_ltRefPicPocLsbSps[33];
RK_U32 m_usedByCurrPicLtSPSFlag[33];
// Max physical transform size
RK_U32 m_maxTrSize;
RK_S32 m_iAMPAcc[MAX_CU_DEPTH];
RK_U32 m_bUseSAO;
RK_U32 m_bTemporalIdNestingFlag; // temporal_id_nesting_flag
RK_U32 m_scalingListEnabledFlag;
RK_U32 m_scalingListPresentFlag;
RK_U32 m_maxDecPicBuffering[MAX_SUB_LAYERS];
RK_U32 m_maxLatencyIncrease[MAX_SUB_LAYERS]; // Really max latency increase plus 1 (value 0 expresses no limit)
RK_U32 m_useDF;
RK_U32 m_useStrongIntraSmoothing;
RK_S32 m_vuiParametersPresentFlag;
H265eVuiInfo vui;
H265ePTL *m_ptl;
RK_U32 zscan2raster[MAX_NUM_SPU_W * MAX_NUM_SPU_W];
RK_U32 raster2zscan[MAX_NUM_SPU_W * MAX_NUM_SPU_W];
RK_U32 raster2pelx[MAX_NUM_SPU_W * MAX_NUM_SPU_W];
RK_U32 raster2pely[MAX_NUM_SPU_W * MAX_NUM_SPU_W];
} H265eSps;
typedef struct H265ePps_e {
RK_U32 m_PPSId; // pic_parameter_set_id
RK_U32 m_SPSId; // seq_parameter_set_id
RK_S32 m_picInitQPMinus26;
RK_U32 m_useDQP;
RK_U32 m_bConstrainedIntraPred; // constrained_intra_pred_flag
RK_U32 m_bSliceChromaQpFlag; // slicelevel_chroma_qp_flag
// access channel
H265eSps *m_sps;
RK_U32 m_maxCuDQPDepth;
RK_U32 m_minCuDQPSize;
RK_S32 m_chromaCbQpOffset;
RK_S32 m_chromaCrQpOffset;
RK_U32 m_numRefIdxL0DefaultActive;
RK_U32 m_numRefIdxL1DefaultActive;
RK_U32 m_bUseWeightPred; // Use of Weighting Prediction (P_SLICE)
RK_U32 m_useWeightedBiPred; // Use of Weighting Bi-Prediction (B_SLICE)
RK_U32 m_outputFlagPresentFlag; // Indicates the presence of output_flag in slice header
RK_U32 m_transquantBypassEnableFlag; // Indicates presence of cu_transquant_bypass_flag in CUs.
RK_U32 m_useTransformSkip;
RK_U32 m_entropyCodingSyncEnabledFlag; //!< Indicates the presence of wavefronts
RK_S32 m_signHideFlag;
RK_S32 m_tiles_enabled_flag;
RK_U32 m_bTileUniformSpacing;
RK_S32 m_nNumTileColumnsMinus1;
RK_S32 m_nTileColumnWidthArray[33];
RK_S32 m_nNumTileRowsMinus1;
RK_S32 m_nTileRowHeightArray[128];
RK_U32 m_loopFilterAcrossTilesEnabledFlag;
RK_U32 m_cabacInitPresentFlag;
RK_U32 m_encCABACTableIdx; // Used to transmit table selection across slices
RK_U32 m_sliceHeaderExtensionPresentFlag;
RK_U32 m_deblockingFilterControlPresentFlag;
RK_U32 m_LFCrossSliceBoundaryFlag;
RK_U32 m_deblockingFilterOverrideEnabledFlag;
RK_U32 m_picDisableDeblockingFilterFlag;
RK_S32 m_deblockingFilterBetaOffsetDiv2; //< beta offset for deblocking filter
RK_S32 m_deblockingFilterTcOffsetDiv2; //< tc offset for deblocking filter
RK_U32 m_scalingListPresentFlag;
// TComScalingList* m_scalingList; //!< ScalingList class pointer
RK_U32 m_listsModificationPresentFlag;
RK_U32 m_log2ParallelMergeLevelMinus2;
RK_S32 m_numExtraSliceHeaderBits;
} H265ePps;
typedef struct H265eSlice_e {
RK_U32 m_saoEnabledFlag;
RK_U32 m_saoEnabledFlagChroma; ///< SAO Cb&Cr enabled flag
RK_S32 m_ppsId; ///< picture parameter set ID
RK_U32 m_picOutputFlag; ///< pic_output_flag
RK_S32 poc;
RK_S32 gop_idx;
RK_S32 last_idr;
H265eReferencePictureSet *m_rps;
H265eReferencePictureSet m_localRPS;
RK_S32 m_bdIdx;
H265eRefPicListModification m_RefPicListModification;
H265eContextModel_t m_contextModels[MAX_OFF_CTX_MOD];
H265eCabacCtx m_cabac;
enum NALUnitType m_nalUnitType; ///< Nal unit type for the slice
SliceType m_sliceType;
RK_U32 m_IsGenB;
RK_S32 m_sliceQp;
RK_U32 m_dependentSliceSegmentFlag;
RK_U32 m_deblockingFilterDisable;
RK_U32 m_deblockingFilterOverrideFlag; //< offsets for deblocking filter inherit from PPS
RK_S32 m_deblockingFilterBetaOffsetDiv2; //< beta offset for deblocking filter
RK_S32 m_deblockingFilterTcOffsetDiv2; //< tc offset for deblocking filter
RK_S32 m_numRefIdx[2]; // for multiple reference of current slice
RK_U32 m_bCheckLDC;
// Data
RK_S32 m_sliceQpDelta;
RK_S32 m_sliceQpDeltaCb;
RK_S32 m_sliceQpDeltaCr;
H265eDpbFrm *m_refPicList[2][MAX_REFS + 1];
RK_S32 m_refPOCList[2][MAX_REFS + 1];
RK_U32 m_bIsUsedAsLongTerm[2][MAX_REFS + 1];
// referenced slice?
RK_U32 is_referenced;
// access channel
H265eSps* m_sps;
H265ePps* m_pps;
H265eVps* m_vps;
RK_U32 m_colFromL0Flag; // collocated picture from List0 flag
RK_U32 m_colRefIdx;
RK_U32 m_maxNumMergeCand;
RK_U32 m_sliceCurEndCUAddr;
RK_U32 m_nextSlice;
RK_U32 m_sliceBits;
RK_U32 m_sliceSegmentBits;
RK_U32 m_bFinalized;
RK_U32 m_tileOffstForMultES;
RK_U32* m_substreamSizes;
// TComScalingList* m_scalingList; //!< pointer of quantization matrix
RK_U32 m_cabacInitFlag;
RK_U32 m_bLMvdL1Zero;
RK_S32 m_numEntryPointOffsets;
RK_U32 m_temporalLayerNonReferenceFlag;
RK_U32 m_LFCrossSliceBoundaryFlag;
RK_U32 m_enableTMVPFlag;
RK_U32 slice_reserved_flag;
RK_U32 no_output_of_prior_pics_flag;
RK_U32 slice_header_extension_length;
RK_U32 ref_pic_list_modification_flag_l0;
RK_U32 lst_entry_l0;
RK_U32 tot_poc_num;
RK_U32 num_long_term_sps;
RK_U32 num_long_term_pics;
} H265eSlice;
#ifdef __cplusplus
extern "C" {
#endif
void h265e_slice_set_ref_list(H265eDpbFrm *frame_list, H265eSlice *slice);
void h265e_slice_set_ref_poc_list(H265eSlice *slice);
void h265e_slice_init(void *ctx, EncFrmStatus curr);
RK_S32 h265e_code_slice_skip_frame(void *ctx, H265eSlice *slice, RK_U8 *buf, RK_S32 len);
#ifdef __cplusplus
}
#endif
#endif /* __H265E_SLICE_H__ */
|
3ccc5b4c546243cd8564faa28ce9ef63fa9487c4
|
38fff7bdefd8d62a740d51329b50d0e1e49258bb
|
/projects/apache-httpd/fuzz_tokenize.c
|
02a11fecf7578528af3a277b58c07f950fe15329
|
[
"Apache-2.0"
] |
permissive
|
google/oss-fuzz
|
026384c2ada61ef68b147548e830f60730c5e738
|
f0275421f84b8f80ee767fb9230134ac97cb687b
|
refs/heads/master
| 2023-08-31T23:30:28.157702
| 2023-08-31T21:49:30
| 2023-08-31T21:49:30
| 63,809,205
| 9,438
| 2,315
|
Apache-2.0
| 2023-09-14T20:32:19
| 2016-07-20T19:39:50
|
Shell
|
UTF-8
|
C
| false
| false
| 1,027
|
c
|
fuzz_tokenize.c
|
/* Copyright 2021 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include "apr_strings.h"
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
apr_pool_t *pool;
apr_pool_initialize();
if (apr_pool_create(&pool, NULL) != APR_SUCCESS) {
abort();
}
char *arg_str = strndup((const char *)data, size);
char **argv_out;
apr_tokenize_to_argv(arg_str, &argv_out, pool);
free(arg_str);
apr_pool_destroy(pool);
apr_pool_terminate();
return 0;
}
|
79f1cf9152cc2bf84aa36a45ae59a65c1349075c
|
28d0f8c01599f8f6c711bdde0b59f9c2cd221203
|
/sys/external/bsd/drm2/include/drm/drm_iomap_netbsd.h
|
f28d710d716ac05e217cccf6a081bee009b953f3
|
[] |
no_license
|
NetBSD/src
|
1a9cbc22ed778be638b37869ed4fb5c8dd616166
|
23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c
|
refs/heads/trunk
| 2023-08-31T13:24:58.105962
| 2023-08-27T15:50:47
| 2023-08-27T15:50:47
| 88,439,547
| 656
| 348
| null | 2023-07-20T20:07:24
| 2017-04-16T20:03:43
| null |
UTF-8
|
C
| false
| false
| 6,086
|
h
|
drm_iomap_netbsd.h
|
/* $NetBSD: drm_iomap_netbsd.h,v 1.1 2018/08/27 05:34:49 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Taylor R. Campbell.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _DRM_DRM_IOMAP_NETBSD_H_
#define _DRM_DRM_IOMAP_NETBSD_H_
#include <sys/bus.h>
#include <sys/endian.h>
#include <drm/drm_legacy.h>
static inline bool
DRM_IS_BUS_SPACE(struct drm_local_map *map)
{
switch (map->type) {
case _DRM_FRAME_BUFFER:
panic("I don't know how to access drm frame buffer memory!");
case _DRM_REGISTERS:
return true;
case _DRM_SHM:
panic("I don't know how to access drm shared memory!");
case _DRM_AGP:
panic("I don't know how to access drm agp memory!");
case _DRM_SCATTER_GATHER:
panic("I don't know how to access drm scatter-gather memory!");
case _DRM_CONSISTENT:
/*
* XXX Old drm uses bus space access for this, but
* consistent maps don't have bus space handles! They
* do, however, have kernel virtual addresses in the
* map->handle, so maybe that's right.
*/
#if 0
return false;
#endif
panic("I don't know how to access drm consistent memory!");
default:
panic("I don't know what kind of memory you mean!");
}
}
static inline uint8_t
DRM_READ8(struct drm_local_map *map, bus_size_t offset)
{
if (DRM_IS_BUS_SPACE(map))
return bus_space_read_1(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset);
else
return *(volatile uint8_t *)((vaddr_t)map->handle + offset);
}
static inline uint16_t
DRM_READ16(struct drm_local_map *map, bus_size_t offset)
{
if (DRM_IS_BUS_SPACE(map))
return bus_space_read_2(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset);
else
return *(volatile uint16_t *)((vaddr_t)map->handle + offset);
}
static inline uint32_t
DRM_READ32(struct drm_local_map *map, bus_size_t offset)
{
if (DRM_IS_BUS_SPACE(map))
return bus_space_read_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset);
else
return *(volatile uint32_t *)((vaddr_t)map->handle + offset);
}
static inline uint64_t
DRM_READ64(struct drm_local_map *map, bus_size_t offset)
{
if (DRM_IS_BUS_SPACE(map)) {
#if _LP64 /* XXX How to detect bus_space_read_8? */
return bus_space_read_8(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset);
#elif _BYTE_ORDER == _LITTLE_ENDIAN
/* XXX Yes, this is sketchy. */
return bus_space_read_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset) |
((uint64_t)bus_space_read_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, (offset + 4)) << 32);
#else
/* XXX Yes, this is sketchy. */
return bus_space_read_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, (offset + 4)) |
((uint64_t)bus_space_read_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset) << 32);
#endif
} else {
return *(volatile uint64_t *)((vaddr_t)map->handle + offset);
}
}
static inline void
DRM_WRITE8(struct drm_local_map *map, bus_size_t offset, uint8_t value)
{
if (DRM_IS_BUS_SPACE(map))
bus_space_write_1(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset, value);
else
*(volatile uint8_t *)((vaddr_t)map->handle + offset) = value;
}
static inline void
DRM_WRITE16(struct drm_local_map *map, bus_size_t offset, uint16_t value)
{
if (DRM_IS_BUS_SPACE(map))
bus_space_write_2(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset, value);
else
*(volatile uint16_t *)((vaddr_t)map->handle + offset) = value;
}
static inline void
DRM_WRITE32(struct drm_local_map *map, bus_size_t offset, uint32_t value)
{
if (DRM_IS_BUS_SPACE(map))
bus_space_write_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset, value);
else
*(volatile uint32_t *)((vaddr_t)map->handle + offset) = value;
}
static inline void
DRM_WRITE64(struct drm_local_map *map, bus_size_t offset, uint64_t value)
{
if (DRM_IS_BUS_SPACE(map)) {
#if _LP64 /* XXX How to detect bus_space_write_8? */
bus_space_write_8(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset, value);
#elif _BYTE_ORDER == _LITTLE_ENDIAN
bus_space_write_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset, (value & 0xffffffffU));
bus_space_write_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, (offset + 4), (value >> 32));
#else
bus_space_write_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, offset, (value >> 32));
bus_space_write_4(map->lm_data.bus_space.bst,
map->lm_data.bus_space.bsh, (offset + 4),
(value & 0xffffffffU));
#endif
} else {
*(volatile uint64_t *)((vaddr_t)map->handle + offset) = value;
}
}
#endif /* _DRM_DRM_IOMAP_NETBSD_H_ */
|
62b03337b0d02627d4e72779af6690f81c03b1a8
|
e73547787354afd9b717ea57fe8dd0695d161821
|
/include/mapfs/dro_02_hit.h
|
f66301483ef5d10f86bf100ac938a30a37800233
|
[] |
no_license
|
pmret/papermario
|
8b514b19653cef8d6145e47499b3636b8c474a37
|
9774b26d93f1045dd2a67e502b6efc9599fb6c31
|
refs/heads/main
| 2023-08-31T07:09:48.951514
| 2023-08-21T18:07:08
| 2023-08-21T18:07:08
| 287,151,133
| 904
| 139
| null | 2023-09-14T02:44:23
| 2020-08-13T01:22:57
|
C
|
UTF-8
|
C
| false
| false
| 2,711
|
h
|
dro_02_hit.h
|
#define COLLIDER_Root 0x3A
#define COLLIDER_atari 0x39
#define COLLIDER_poster 0x38
#define COLLIDER_a_mazinai 0x37
#define COLLIDER_mazinai 0x36
#define COLLIDER_o1278 0x35
#define COLLIDER_o1241 0x34
#define COLLIDER_o1277 0x33
#define COLLIDER_1 0x32
#define COLLIDER_o1309 0x31
#define COLLIDER_o1239 0x30
#define COLLIDER_o1274 0x2F
#define COLLIDER_o1272 0x2E
#define COLLIDER_o1266 0x2D
#define COLLIDER_o1240 0x2C
#define COLLIDER_2 0x2B
#define COLLIDER_o1227 0x2A
#define COLLIDER_o1220 0x29
#define COLLIDER_3 0x28
#define COLLIDER_o1219 0x27
#define COLLIDER_o1218 0x26
#define COLLIDER_o1217 0x25
#define COLLIDER_4 0x24
#define COLLIDER_4_naka 0x23
#define COLLIDER_o1308 0x22
#define COLLIDER_o1303 0x21
#define COLLIDER_o1190 0x20
#define COLLIDER_o1199 0x1F
#define COLLIDER_o1201 0x1E
#define COLLIDER_o1197 0x1D
#define COLLIDER_o1259 0x1C
#define COLLIDER_o1216 0x1B
#define COLLIDER_o1257 0x1A
#define COLLIDER_o1256 0x19
#define COLLIDER_o1206 0x18
#define COLLIDER_g334 0x17
#define COLLIDER_o1205 0x16
#define COLLIDER_5 0x15
#define COLLIDER_o1295 0x14
#define COLLIDER_o1166 0x13
#define COLLIDER_o1251 0x12
#define COLLIDER_exit5 0x11
#define COLLIDER_o1253 0x10
#define COLLIDER_o1252 0xF
#define COLLIDER_exit4 0xE
#define COLLIDER_o1261 0xD
#define COLLIDER_o1204 0xC
#define COLLIDER_g358 0xB
#define COLLIDER_o1289 0xA
#define COLLIDER_exit1 0x9
#define COLLIDER_o1287 0x8
#define COLLIDER_exitw 0x7
#define COLLIDER_nw 0x6
#define COLLIDER_deilitw 0x5
#define COLLIDER_deiliw 0x4
#define COLLIDER_stage 0x3
#define COLLIDER_o1290 0x2
#define COLLIDER_o776 0x1
#define COLLIDER_o1020 0x0
#define ZONE_Root 0xC
#define ZONE_kinopio 0xB
#define ZONE_o766 0xA
#define ZONE_yane 0x9
#define ZONE_hako 0x8
#define ZONE_roren 0x7
#define ZONE_rorre_mae 0x6
#define ZONE_o759 0x5
#define ZONE_g1 0x4
#define ZONE_mazinai 0x3
#define ZONE_stege 0x2
#define ZONE_exit 0x1
#define ZONE_o760 0x0
|
b071309911033c3cf76237e7784ff729d9f714ab
|
a6e90e48ced58e5fdd162d9c111679fcaac57b06
|
/picoquictest/util_test.c
|
bc70beea6c305686d3660440725a35d196d6e007
|
[
"MIT"
] |
permissive
|
private-octopus/picoquic
|
0355964aa79e4292178d57a57bec084d6e3e99da
|
1e2979e8db0957c8ee798940091c4d0ef13bf8af
|
refs/heads/master
| 2023-08-20T08:18:46.538002
| 2023-08-16T03:41:36
| 2023-08-16T03:41:36
| 95,480,304
| 466
| 142
|
MIT
| 2023-09-06T16:56:25
| 2017-06-26T19:08:37
|
C
|
UTF-8
|
C
| false
| false
| 12,734
|
c
|
util_test.c
|
/*
* Author: Christian Huitema
* Copyright (c) 2017, Private Octopus, Inc.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL Private Octopus, Inc. BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "picoquic_internal.h"
#include <stdlib.h>
#ifdef _WINDOWS
#include <malloc.h>
#endif
#include <string.h>
#include "picoquictest_internal.h"
static const picoquic_connection_id_t expected_cnxid[4] = {
{ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 0, 0, 0 } , 16 },
{ { 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0, 0, 0, 0, 0, 0, 0, 0 } , 8 },
{ { 0xca, 0xfe, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } , 2 },
{ { 0x77, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } , 1 },
};
static const char* expected_str[4] = {
"000102030405060708090a0b0c0d0e0f",
"fedcba9876543210",
"cafe",
"77"
};
static size_t test_cases = sizeof(expected_cnxid) / sizeof(picoquic_connection_id_t);
int util_connection_id_print_test()
{
int ret = 0;
char cnxid_str[2 * PICOQUIC_CONNECTION_ID_MAX_SIZE + 1];
for (size_t i = 0; i < test_cases; ++i)
{
int result = picoquic_print_connection_id_hexa(cnxid_str, sizeof(cnxid_str), &expected_cnxid[i]);
if (result != 0) {
DBG_PRINTF("picoquic_print_connection_id_hexa failed with: %d\n", result);
ret = -1;
}
if (strcmp(cnxid_str, expected_str[i]) != 0) {
DBG_PRINTF("result: %s, expected: %s\n", cnxid_str, expected_str[i]);
ret = -1;
}
}
// Test invalid call
if (picoquic_print_connection_id_hexa("", 0, &expected_cnxid[0]) == 0) {
DBG_PRINTF("%s", "picoquic_print_connection_id_hexa did not fail\n");
ret = -1;
}
return ret;
}
int util_connection_id_parse_test()
{
int ret = 0;
for (size_t i = 0; i < test_cases; ++i) {
picoquic_connection_id_t cnxid;
uint8_t id_len = picoquic_parse_connection_id_hexa(expected_str[i], strlen(expected_str[i]), &cnxid);
if (id_len != expected_cnxid[i].id_len) {
DBG_PRINTF("Wrong length returned. result: %d, expected: %d\n", id_len, expected_cnxid[i].id_len);
ret = -1;
}
if (picoquic_compare_connection_id(&cnxid, &expected_cnxid[i]) != 0) {
DBG_PRINTF("%s", "the returned connection id is different than expected.\n");
ret = -1;
}
}
return ret;
}
int util_sprintf_test()
{
int ret = 0;
size_t nb_chars;
char str[8];
if (picoquic_sprintf(str, sizeof(str), NULL, "%s%s", "foo", "bar") != 0) {
DBG_PRINTF("%s", "'foobar' test failed.");
ret = -1;
}
if (picoquic_sprintf(str, sizeof(str), &nb_chars, "%s%s%s", "foo", PICOQUIC_FILE_SEPARATOR, "bar") != 0 ||
nb_chars != 7) {
DBG_PRINTF("'foo/bar' test failed. Nb_chars = %d", (int)nb_chars);
ret = -1;
}
if (picoquic_sprintf(str, sizeof(str), NULL, "%s%s%s", "fooo", PICOQUIC_FILE_SEPARATOR, "bar") == 0) {
DBG_PRINTF("%s", "'fooo/bar' test failed.");
ret = -1;
}
if (picoquic_sprintf(str, sizeof(str), NULL, "%s%s%s", "fooo", PICOQUIC_FILE_SEPARATOR, "barr") == 0) {
DBG_PRINTF("%s", "'fooo/barr' test failed.");
ret = -1;
}
return ret;
}
/* Test the constant time memcmp for correctness and for
* time constants. The test suite will include two 4MB
* strings each comprising blocks of 16 bytes.
*
* The first block is composed of simple sequences of
* pseudo random numbers. For each trial, each slice of
* 16 bytes in the second matches the first one up to a
* length L. We do the tests with L = 0 to 16, and measure
* the execution time for each length. They are suppose
* to not vary with the length. We also measure the
* execution time of memcmp.
*
* The test pass if all the tests at length 0..15 return
* non zero, if all the tests at length 16 return 0,
* and if the time differences are not too high
*/
int util_memcmp_test()
{
int ret = 0;
size_t nb8 = (1 << 20) / sizeof(uint64_t);
size_t l_total = nb8 * sizeof(uint64_t);
uint64_t* x8 = (uint64_t*)malloc(l_total);
uint8_t* x = (uint8_t*)x8;
uint8_t* y = (uint8_t*)malloc(l_total);
uint64_t random_seed = 0xbabac001;
uint64_t time_start;
uint64_t const_compare_time[16];
#if 0
uint64_t memcmp_time[2];
#endif
uint64_t carry;
uint64_t nb_round = 2;
if (x == NULL || y == NULL) {
ret = -1;
}
else {
x8[0] = 0;
x8[1] = 0;
x8[2] = 0xffffffffffffffffull;
x8[3] = 0xffffffffffffffffull;
for (size_t i = 4; i < nb8; i++) {
x8[i] = picoquic_test_random(&random_seed);
}
/* test for correct detection of equality */
memcpy(y, x, l_total);
for (size_t j = 0; j < l_total; j += 16) {
if (picoquic_constant_time_memcmp(x + j, y + j, 16) != 0) {
DBG_PRINTF("Unexpected mismatch, rank %d\n", (int)j);
ret = -1;
break;
}
}
for (size_t i = 0; ret == 0 && i < 16; i++) {
/* prepare the y string */
memcpy(y, x, l_total);
for (size_t j = i; j < l_total; j += 16) {
y[j] ^= (uint8_t)0xff;
}
/* test for correct detection of differences */
for (size_t j = 0; j < l_total; j += 16) {
if (picoquic_constant_time_memcmp(x + j, y + j, 16) == 0) {
DBG_PRINTF("Unexpected match, step %d, rank %d\n", (int)i, (int)j);
ret = -1;
break;
}
}
}
/* Time measurement: Compare a long string, at 16 different intervals. */
while (ret == 0) {
int zero_found = 0;
for (size_t i = 0; ret == 0 && i < 16; i++) {
/* prepare the y string */
memcpy(y, x, l_total);
y[1 + ((i * l_total) / 16)] ^= 0xff;
carry = 1;
time_start = picoquic_current_time();
for (int j = 0; j < nb_round; j++) {
x[j] ^= 1;
y[j] ^= 1;
carry &= (picoquic_constant_time_memcmp(x, y, l_total) != 0);
}
const_compare_time[i] = picoquic_current_time() - time_start;
if (carry != 1) {
DBG_PRINTF("Unexpected match, step %d\n", (int)i);
ret = -1;
break;
}
if (i == 0 && const_compare_time[i] < 2000) {
zero_found = 1;
break;
}
}
if (zero_found) {
nb_round *= 2;
}
else {
break;
}
}
}
if (ret == 0) {
DBG_PRINTF("%s", "Delta at, const memcmp (ns)\n");
for (size_t i = 0; ret == 0 && i < 16; i++) {
double d = 1000.0*(double)(const_compare_time[i]) / (double)(nb_round * l_total / 16);
DBG_PRINTF("%d, %f\n", 1 + ((i * l_total) / 16), d);
}
}
for (size_t i = 0; ret == 0 && i < 16; i++) {
/* The time tests are information only, because measuring time is to susceptible to random noise */
if (i > 0 && const_compare_time[0] >= 1000 && const_compare_time[i] >= 1000 && ((const_compare_time[i] > 2 * const_compare_time[0]) || (const_compare_time[0] > 2 * const_compare_time[i]))) {
DBG_PRINTF("Step %d, const cmp time different from step 0, %d vs %d\n", (int)i, (int)const_compare_time[i], (int)const_compare_time[0]);
}
}
#if 0
while (ret == 0) {
for (size_t i = 0; ret == 0 && i < 2; i++) {
/* prepare the y string */
memcpy(y, x, l_total);
for (size_t j = 15*i; j < l_total; j += 16) {
y[j] ^= (uint8_t)0xff;
}
carry = 1;
time_start = picoquic_current_time();
for (int r = 0; r < nb_round; r++) {
/* measure compare time */
for (size_t j = 0; j < l_total; j += 16) {
carry &= (memcmp(x, y, 16) != 0);
}
if (carry != 1) {
DBG_PRINTF("Unexpected memcmp match, step %d\n", (int)i);
ret = -1;
break;
}
}
memcmp_time[i] = picoquic_current_time() - time_start;
}
if (memcmp_time[0] > 2000 && memcmp_time[1] > 2000) {
break;
}
nb_round *= 2;
}
if (ret == 0){
if (memcmp_time[1] > 2 * memcmp_time[0]) {
DBG_PRINTF("Memcmp not constant time on 16 bytes: t[0] = %d, t[15] = %d\n", (int)memcmp_time[0], (int)memcmp_time[1]);
DBG_PRINTF("%s", "Need to compile with -DPICOQUIC_USE_CONSTANT_TIME_MEMCMP");
ret = -1;
}
else {
DBG_PRINTF("Memcmp constant time on 16 bytes: t[0] = %d, t[15] = %d\n", (int)memcmp_time[0], (int)memcmp_time[1]);
}
}
#endif
if (x != NULL) {
free(x);
}
if (y != NULL) {
free(y);
}
return ret;
}
/* Testing the minimal thread support.
*
* We create one mutex and one event to synchronize two threads: one as a mutex demo,
* the other as a start on event demo. The mutex
*
*/
typedef struct st_thread_test_data_t {
uint64_t data;
picoquic_mutex_t mutex;
picoquic_event_t event;
} thread_test_data_t;
static picoquic_thread_return_t thread_test_function(void* vctx )
{
thread_test_data_t* ctx = (thread_test_data_t*)vctx;
uint64_t x;
for (int i = 0; i < 20; i++)
{
picoquic_lock_mutex(&ctx->mutex);
x = ctx->data;
ctx->data = x + 1;
picoquic_unlock_mutex(&ctx->mutex);
picoquic_signal_event(&ctx->event);
}
picoquic_thread_do_return;
}
int util_threading_test()
{
thread_test_data_t ctx;
picoquic_thread_t thread;
uint64_t x;
int ret;
memset(&ctx, 0, sizeof(ctx));
ret = picoquic_create_mutex(&ctx.mutex);
if (ret != 0) {
DBG_PRINTF("Create mutex returns %d (0x%x)", ret, ret);
}
if (ret == 0){
ret = picoquic_create_event(&ctx.event);
if (ret != 0) {
DBG_PRINTF("Create event returns %d (0x%x)", ret, ret);
}
}
if (ret == 0) {
ret = picoquic_create_thread(&thread, thread_test_function, &ctx);
if (ret != 0) {
DBG_PRINTF("Create thread returns %d (0x%x)", ret, ret);
}
}
while (ret == 0 && ctx.data == 0) {
ret = picoquic_wait_for_event(&ctx.event, 10000);
if (ret != 0) {
DBG_PRINTF("Cannot wait for event, ret = %d (0x%x)", ret, ret);
}
}
for (int i = 0; ret == 0 && i < 10; i++)
{
ret = picoquic_lock_mutex(&ctx.mutex);
if (ret == 0) {
x = ctx.data;
ctx.data = x + 1;
ret = picoquic_unlock_mutex(&ctx.mutex);
if (ret != 0) {
DBG_PRINTF("Cannot unlock the mutex, ret = %d (0x%x)", ret, ret);
}
}
else {
DBG_PRINTF("Cannot lock the mutex, ret = %d (0x%x)", ret, ret);
}
}
while (ret == 0 && ctx.data < 30) {
ret = picoquic_wait_for_event(&ctx.event, 10000);
if (ret != 0) {
DBG_PRINTF("Cannot wait for event, ret = %d (0x%x)", ret, ret);
}
}
picoquic_delete_thread(&thread);
picoquic_delete_event(&ctx.event);
picoquic_delete_mutex(&ctx.mutex);
if (ret == 0 && ctx.data != 30) {
DBG_PRINTF("Could not count to %d, got %d", 30, ctx.data);
ret = -1;
}
return ret;
}
|
24031b5eb6f0a3708b9990fd3dfabcb479a6928a
|
0c4a079b5ac2fc627b91b48f4bcf6faa804d5a28
|
/third_party/musepack/libmpcdec/mpc_decoder.c
|
21a9de4f8f8477f560de765572f6677f752d9d87
|
[
"LGPL-2.0-or-later",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-synthesis-toolkit",
"LicenseRef-scancode-public-domain"
] |
permissive
|
ddiakopoulos/libnyquist
|
37eb768bcf31cb310c710ee43c76d33baa823282
|
767efd97cdd7a281d193296586e708490eb6e54f
|
refs/heads/master
| 2023-08-18T04:43:21.137134
| 2023-02-13T07:54:10
| 2023-02-13T07:54:10
| 32,698,321
| 515
| 77
|
BSD-2-Clause
| 2022-09-25T20:29:39
| 2015-03-22T22:15:11
|
C++
|
UTF-8
|
C
| false
| false
| 26,175
|
c
|
mpc_decoder.c
|
/*
Copyright (c) 2005-2009, The Musepack Development Team
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the The Musepack Development Team nor the
names of its contributors may be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/// \file mpc_decoder.c
/// Core decoding routines and logic.
#include <string.h>
#include <mpc/mpcdec.h>
#include <mpc/minimax.h>
#include "decoder.h"
#include "huffman.h"
#include "internal.h"
#include "mpcdec_math.h"
#include "requant.h"
#include "mpc_bits_reader.h"
//SV7 tables
extern /*const*/ mpc_lut_data mpc_HuffQ [7] [2];
extern /*const*/ mpc_lut_data mpc_HuffHdr;
extern const mpc_huffman mpc_table_HuffSCFI [ 4];
extern /*const*/ mpc_lut_data mpc_HuffDSCF;
//SV8 tables
extern /*const*/ mpc_can_data mpc_can_Bands;
extern /*const*/ mpc_can_data mpc_can_SCFI[2];
extern /*const*/ mpc_can_data mpc_can_DSCF[2];
extern /*const*/ mpc_can_data mpc_can_Res [2];
extern /*const*/ mpc_can_data mpc_can_Q [6/*8*/][2];
extern /*const*/ mpc_can_data mpc_can_Q1;
extern /*const*/ mpc_can_data mpc_can_Q9up;
//------------------------------------------------------------------------------
// types
//------------------------------------------------------------------------------
enum
{
MEMSIZE = MPC_DECODER_MEMSIZE, // overall buffer size
MEMSIZE2 = (MEMSIZE/2), // size of one buffer
MEMMASK = (MEMSIZE-1)
};
//------------------------------------------------------------------------------
// forward declarations
//------------------------------------------------------------------------------
void mpc_decoder_read_bitstream_sv7(mpc_decoder * d, mpc_bits_reader * r);
void mpc_decoder_read_bitstream_sv8(mpc_decoder * d, mpc_bits_reader * r,
mpc_bool_t is_key_frame);
static void mpc_decoder_requantisierung(mpc_decoder *d);
/**
* set the scf indexes for seeking use
* needed only for sv7 seeking
* @param d
*/
void mpc_decoder_reset_scf(mpc_decoder * d, int value)
{
memset(d->SCF_Index_L, value, sizeof d->SCF_Index_L );
memset(d->SCF_Index_R, value, sizeof d->SCF_Index_R );
}
void mpc_decoder_setup(mpc_decoder *d)
{
memset(d, 0, sizeof *d);
d->__r1 = 1;
d->__r2 = 1;
mpc_decoder_init_quant(d, 1.0f);
}
void mpc_decoder_set_streaminfo(mpc_decoder *d, mpc_streaminfo *si)
{
d->stream_version = si->stream_version;
d->ms = si->ms;
d->max_band = si->max_band;
d->channels = si->channels;
d->samples_to_skip = MPC_DECODER_SYNTH_DELAY + si->beg_silence;
if (si->stream_version == 7 && si->is_true_gapless)
d->samples = ((si->samples + MPC_FRAME_LENGTH - 1) / MPC_FRAME_LENGTH) * MPC_FRAME_LENGTH;
else
d->samples = si->samples;
}
mpc_decoder * mpc_decoder_init(mpc_streaminfo *si)
{
mpc_decoder* p_tmp = malloc(sizeof(mpc_decoder));
if (p_tmp != 0) {
mpc_decoder_setup(p_tmp);
mpc_decoder_set_streaminfo(p_tmp, si);
huff_init_lut(LUT_DEPTH); // FIXME : this needs to be called only once when the library is loaded
}
return p_tmp;
}
void mpc_decoder_exit(mpc_decoder *d)
{
free(d);
}
void mpc_decoder_decode_frame(mpc_decoder * d,
mpc_bits_reader * r,
mpc_frame_info * i)
{
mpc_bits_reader r_sav = *r;
mpc_int64_t samples_left;
samples_left = d->samples - d->decoded_samples + MPC_DECODER_SYNTH_DELAY;
if (samples_left <= 0 && d->samples != 0) {
i->samples = 0;
i->bits = -1;
return;
}
if (d->stream_version == 8)
mpc_decoder_read_bitstream_sv8(d, r, i->is_key_frame);
else
mpc_decoder_read_bitstream_sv7(d, r);
if (d->samples_to_skip < MPC_FRAME_LENGTH + MPC_DECODER_SYNTH_DELAY) {
mpc_decoder_requantisierung(d);
mpc_decoder_synthese_filter_float(d, i->buffer, d->channels);
}
d->decoded_samples += MPC_FRAME_LENGTH;
// reconstruct exact filelength
if (d->decoded_samples - d->samples < MPC_FRAME_LENGTH && d->stream_version == 7) {
int last_frame_samples = mpc_bits_read(r, 11);
if (d->decoded_samples == d->samples) {
if (last_frame_samples == 0) last_frame_samples = MPC_FRAME_LENGTH;
d->samples += last_frame_samples - MPC_FRAME_LENGTH;
samples_left += last_frame_samples - MPC_FRAME_LENGTH;
}
}
i->samples = samples_left > MPC_FRAME_LENGTH ? MPC_FRAME_LENGTH : samples_left < 0 ? 0 : (mpc_uint32_t) samples_left;
i->bits = (mpc_uint32_t) (((r->buff - r_sav.buff) << 3) + r_sav.count - r->count);
if (d->samples_to_skip) {
if (i->samples <= d->samples_to_skip) {
d->samples_to_skip -= i->samples;
i->samples = 0;
} else {
i->samples -= d->samples_to_skip;
memmove(i->buffer, i->buffer + d->samples_to_skip * d->channels,
i->samples * d->channels * sizeof (MPC_SAMPLE_FORMAT));
d->samples_to_skip = 0;
}
}
}
void
mpc_decoder_requantisierung(mpc_decoder *d)
{
mpc_int32_t Band;
mpc_int32_t n;
MPC_SAMPLE_FORMAT facL;
MPC_SAMPLE_FORMAT facR;
MPC_SAMPLE_FORMAT templ;
MPC_SAMPLE_FORMAT tempr;
MPC_SAMPLE_FORMAT* YL;
MPC_SAMPLE_FORMAT* YR;
mpc_int16_t* L;
mpc_int16_t* R;
const mpc_int32_t Last_Band = d->max_band;
#ifdef MPC_FIXED_POINT
#if MPC_FIXED_POINT_FRACTPART == 14
#define MPC_MULTIPLY_SCF(CcVal, SCF_idx) \
MPC_MULTIPLY_EX(CcVal, d->SCF[SCF_idx], d->SCF_shift[SCF_idx])
#else
#error FIXME, Cc table is in 18.14 format
#endif
#else
#define MPC_MULTIPLY_SCF(CcVal, SCF_idx) \
MPC_MULTIPLY(CcVal, d->SCF[SCF_idx])
#endif
// requantization and scaling of subband-samples
for ( Band = 0; Band <= Last_Band; Band++ ) { // setting pointers
YL = d->Y_L[0] + Band;
YR = d->Y_R[0] + Band;
L = d->Q[Band].L;
R = d->Q[Band].R;
/************************** MS-coded **************************/
if ( d->MS_Flag [Band] ) {
if ( d->Res_L [Band] ) {
if ( d->Res_R [Band] ) { // M!=0, S!=0
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][0] & 0xFF);
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][0] & 0xFF);
for ( n = 0; n < 12; n++, YL += 32, YR += 32 ) {
*YL = (templ = MPC_MULTIPLY_FLOAT_INT(facL,*L++))+(tempr = MPC_MULTIPLY_FLOAT_INT(facR,*R++));
*YR = templ - tempr;
}
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][1] & 0xFF);
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][1] & 0xFF);
for ( ; n < 24; n++, YL += 32, YR += 32 ) {
*YL = (templ = MPC_MULTIPLY_FLOAT_INT(facL,*L++))+(tempr = MPC_MULTIPLY_FLOAT_INT(facR,*R++));
*YR = templ - tempr;
}
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][2] & 0xFF);
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][2] & 0xFF);
for ( ; n < 36; n++, YL += 32, YR += 32 ) {
*YL = (templ = MPC_MULTIPLY_FLOAT_INT(facL,*L++))+(tempr = MPC_MULTIPLY_FLOAT_INT(facR,*R++));
*YR = templ - tempr;
}
} else { // M!=0, S==0
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][0] & 0xFF);
for ( n = 0; n < 12; n++, YL += 32, YR += 32 ) {
*YR = *YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
}
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][1] & 0xFF);
for ( ; n < 24; n++, YL += 32, YR += 32 ) {
*YR = *YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
}
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][2] & 0xFF);
for ( ; n < 36; n++, YL += 32, YR += 32 ) {
*YR = *YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
}
}
} else {
if (d->Res_R[Band]) // M==0, S!=0
{
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][0] & 0xFF);
for ( n = 0; n < 12; n++, YL += 32, YR += 32 ) {
*YR = - (*YL = MPC_MULTIPLY_FLOAT_INT(facR,*(R++)));
}
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][1] & 0xFF);
for ( ; n < 24; n++, YL += 32, YR += 32 ) {
*YR = - (*YL = MPC_MULTIPLY_FLOAT_INT(facR,*(R++)));
}
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][2] & 0xFF);
for ( ; n < 36; n++, YL += 32, YR += 32 ) {
*YR = - (*YL = MPC_MULTIPLY_FLOAT_INT(facR,*(R++)));
}
} else { // M==0, S==0
for ( n = 0; n < 36; n++, YL += 32, YR += 32 ) {
*YR = *YL = 0;
}
}
}
}
/************************** LR-coded **************************/
else {
if ( d->Res_L [Band] ) {
if ( d->Res_R [Band] ) { // L!=0, R!=0
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][0] & 0xFF);
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][0] & 0xFF);
for (n = 0; n < 12; n++, YL += 32, YR += 32 ) {
*YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
*YR = MPC_MULTIPLY_FLOAT_INT(facR,*R++);
}
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][1] & 0xFF);
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][1] & 0xFF);
for (; n < 24; n++, YL += 32, YR += 32 ) {
*YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
*YR = MPC_MULTIPLY_FLOAT_INT(facR,*R++);
}
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][2] & 0xFF);
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][2] & 0xFF);
for (; n < 36; n++, YL += 32, YR += 32 ) {
*YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
*YR = MPC_MULTIPLY_FLOAT_INT(facR,*R++);
}
} else { // L!=0, R==0
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][0] & 0xFF);
for ( n = 0; n < 12; n++, YL += 32, YR += 32 ) {
*YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
*YR = 0;
}
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][1] & 0xFF);
for ( ; n < 24; n++, YL += 32, YR += 32 ) {
*YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
*YR = 0;
}
facL = MPC_MULTIPLY_SCF( Cc[d->Res_L[Band]] , d->SCF_Index_L[Band][2] & 0xFF);
for ( ; n < 36; n++, YL += 32, YR += 32 ) {
*YL = MPC_MULTIPLY_FLOAT_INT(facL,*L++);
*YR = 0;
}
}
}
else {
if ( d->Res_R [Band] ) { // L==0, R!=0
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][0] & 0xFF);
for ( n = 0; n < 12; n++, YL += 32, YR += 32 ) {
*YL = 0;
*YR = MPC_MULTIPLY_FLOAT_INT(facR,*R++);
}
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][1] & 0xFF);
for ( ; n < 24; n++, YL += 32, YR += 32 ) {
*YL = 0;
*YR = MPC_MULTIPLY_FLOAT_INT(facR,*R++);
}
facR = MPC_MULTIPLY_SCF( Cc[d->Res_R[Band]] , d->SCF_Index_R[Band][2] & 0xFF);
for ( ; n < 36; n++, YL += 32, YR += 32 ) {
*YL = 0;
*YR = MPC_MULTIPLY_FLOAT_INT(facR,*R++);
}
} else { // L==0, R==0
for ( n = 0; n < 36; n++, YL += 32, YR += 32 ) {
*YR = *YL = 0;
}
}
}
}
}
}
void mpc_decoder_read_bitstream_sv7(mpc_decoder * d, mpc_bits_reader * r)
{
// these arrays hold decoding results for bundled quantizers (3- and 5-step)
static const mpc_int32_t idx30[] = { -1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1};
static const mpc_int32_t idx31[] = { -1,-1,-1, 0, 0, 0, 1, 1, 1,-1,-1,-1, 0, 0, 0, 1, 1, 1,-1,-1,-1, 0, 0, 0, 1, 1, 1};
static const mpc_int32_t idx32[] = { -1,-1,-1,-1,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1};
static const mpc_int32_t idx50[] = { -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2};
static const mpc_int32_t idx51[] = { -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2};
mpc_int32_t n, idx, Max_used_Band = 0;
/***************************** Header *****************************/
// first subband
d->Res_L[0] = mpc_bits_read(r, 4);
d->Res_R[0] = mpc_bits_read(r, 4);
if (!(d->Res_L[0] == 0 && d->Res_R[0] == 0)) {
if (d->ms)
d->MS_Flag[0] = mpc_bits_read(r, 1);
Max_used_Band = 1;
}
// consecutive subbands
for ( n = 1; n <= d->max_band; n++ ) {
idx = mpc_bits_huff_lut(r, & mpc_HuffHdr);
d->Res_L[n] = (idx!=4) ? d->Res_L[n - 1] + idx : (int) mpc_bits_read(r, 4);
idx = mpc_bits_huff_lut(r, & mpc_HuffHdr);
d->Res_R[n] = (idx!=4) ? d->Res_R[n - 1] + idx : (int) mpc_bits_read(r, 4);
if (!(d->Res_L[n] == 0 && d->Res_R[n] == 0)) {
if (d->ms)
d->MS_Flag[n] = mpc_bits_read(r, 1);
Max_used_Band = n + 1;
}
}
/****************************** SCFI ******************************/
for ( n = 0; n < Max_used_Band; n++ ) {
if (d->Res_L[n])
d->SCFI_L[n] = mpc_bits_huff_dec(r, mpc_table_HuffSCFI);
if (d->Res_R[n])
d->SCFI_R[n] = mpc_bits_huff_dec(r, mpc_table_HuffSCFI);
}
/**************************** SCF/DSCF ****************************/
for ( n = 0; n < Max_used_Band; n++ ) {
mpc_int32_t * SCF = d->SCF_Index_L[n];
mpc_uint32_t Res = d->Res_L[n], SCFI = d->SCFI_L[n];
do {
if (Res) {
switch (SCFI) {
case 1:
idx = mpc_bits_huff_lut(r, & mpc_HuffDSCF);
SCF[0] = (idx!=8) ? SCF[2] + idx : (int) mpc_bits_read(r, 6);
idx = mpc_bits_huff_lut(r, & mpc_HuffDSCF);
SCF[1] = (idx!=8) ? SCF[0] + idx : (int) mpc_bits_read(r, 6);
SCF[2] = SCF[1];
break;
case 3:
idx = mpc_bits_huff_lut(r, & mpc_HuffDSCF);
SCF[0] = (idx!=8) ? SCF[2] + idx : (int) mpc_bits_read(r, 6);
SCF[1] = SCF[0];
SCF[2] = SCF[1];
break;
case 2:
idx = mpc_bits_huff_lut(r, & mpc_HuffDSCF);
SCF[0] = (idx!=8) ? SCF[2] + idx : (int) mpc_bits_read(r, 6);
SCF[1] = SCF[0];
idx = mpc_bits_huff_lut(r, & mpc_HuffDSCF);
SCF[2] = (idx!=8) ? SCF[1] + idx : (int) mpc_bits_read(r, 6);
break;
case 0:
idx = mpc_bits_huff_lut(r, & mpc_HuffDSCF);
SCF[0] = (idx!=8) ? SCF[2] + idx : (int) mpc_bits_read(r, 6);
idx = mpc_bits_huff_lut(r, & mpc_HuffDSCF);
SCF[1] = (idx!=8) ? SCF[0] + idx : (int) mpc_bits_read(r, 6);
idx = mpc_bits_huff_lut(r, & mpc_HuffDSCF);
SCF[2] = (idx!=8) ? SCF[1] + idx : (int) mpc_bits_read(r, 6);
break;
default:
return;
}
if (SCF[0] > 1024)
SCF[0] = 0x8080;
if (SCF[1] > 1024)
SCF[1] = 0x8080;
if (SCF[2] > 1024)
SCF[2] = 0x8080;
}
Res = d->Res_R[n];
SCFI = d->SCFI_R[n];
} while ( SCF == d->SCF_Index_L[n] && (SCF = d->SCF_Index_R[n]));
}
// if (d->seeking == TRUE)
// return;
/***************************** Samples ****************************/
for ( n = 0; n < Max_used_Band; n++ ) {
mpc_int16_t *q = d->Q[n].L, Res = d->Res_L[n];
do {
mpc_int32_t k;
const mpc_lut_data *Table;
switch (Res) {
case -2: case -3: case -4: case -5: case -6: case -7: case -8: case -9:
case -10: case -11: case -12: case -13: case -14: case -15: case -16: case -17: case 0:
break;
case -1:
for (k=0; k<36; k++ ) {
mpc_uint32_t tmp = mpc_random_int(d);
q[k] = ((tmp >> 24) & 0xFF) + ((tmp >> 16) & 0xFF) + ((tmp >> 8) & 0xFF) + ((tmp >> 0) & 0xFF) - 510;
}
break;
case 1:
Table = & mpc_HuffQ[0][mpc_bits_read(r, 1)];
for ( k = 0; k < 36; k += 3) {
idx = mpc_bits_huff_lut(r, Table);
q[k] = idx30[idx];
q[k + 1] = idx31[idx];
q[k + 2] = idx32[idx];
}
break;
case 2:
Table = & mpc_HuffQ[1][mpc_bits_read(r, 1)];
for ( k = 0; k < 36; k += 2) {
idx = mpc_bits_huff_lut(r, Table);
q[k] = idx50[idx];
q[k + 1] = idx51[idx];
}
break;
case 3:
case 4:
case 5:
case 6:
case 7:
Table = & mpc_HuffQ[Res - 1][mpc_bits_read(r, 1)];
for ( k = 0; k < 36; k++ )
q[k] = mpc_bits_huff_lut(r, Table);
break;
case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17:
for ( k = 0; k < 36; k++ )
q[k] = (mpc_int32_t)mpc_bits_read(r, Res_bit[Res]) - Dc[Res];
break;
default:
return;
}
Res = d->Res_R[n];
} while (q == d->Q[n].L && (q = d->Q[n].R));
}
}
void mpc_decoder_read_bitstream_sv8(mpc_decoder * d, mpc_bits_reader * r, mpc_bool_t is_key_frame)
{
// these arrays hold decoding results for bundled quantizers (3- and 5-step)
static const mpc_int8_t idx50[125] = {-2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2, -2, -1, 0, 1, 2};
static const mpc_int8_t idx51[125] = {-2, -2, -2, -2, -2, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, -2, -2, -2, -2, -2, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, -2, -2, -2, -2, -2, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, -2, -2, -2, -2, -2, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, -2, -2, -2, -2, -2, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2};
static const mpc_int8_t idx52[125] = {-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
mpc_int32_t n, Max_used_Band;
const mpc_can_data * Table, * Tables[2];
/***************************** Header *****************************/
if (is_key_frame == MPC_TRUE) {
Max_used_Band = mpc_bits_log_dec(r, d->max_band + 1);
} else {
Max_used_Band = d->last_max_band + mpc_bits_can_dec(r, & mpc_can_Bands);
if (Max_used_Band > 32) Max_used_Band -= 33;
}
d->last_max_band = Max_used_Band;
if (Max_used_Band) {
d->Res_L[Max_used_Band-1] = mpc_bits_can_dec(r, & mpc_can_Res[0]);
d->Res_R[Max_used_Band-1] = mpc_bits_can_dec(r, & mpc_can_Res[0]);
if (d->Res_L[Max_used_Band-1] > 15) d->Res_L[Max_used_Band-1] -= 17;
if (d->Res_R[Max_used_Band-1] > 15) d->Res_R[Max_used_Band-1] -= 17;
for ( n = Max_used_Band - 2; n >= 0; n--) {
d->Res_L[n] = mpc_bits_can_dec(r, & mpc_can_Res[d->Res_L[n + 1] > 2]) + d->Res_L[n + 1];
if (d->Res_L[n] > 15) d->Res_L[n] -= 17;
d->Res_R[n] = mpc_bits_can_dec(r, & mpc_can_Res[d->Res_R[n + 1] > 2]) + d->Res_R[n + 1];
if (d->Res_R[n] > 15) d->Res_R[n] -= 17;
}
if (d->ms) {
mpc_uint_t cnt = 0, tot = 0;
mpc_uint32_t tmp = 0;
for( n = 0; n < Max_used_Band; n++)
if ( d->Res_L[n] != 0 || d->Res_R[n] != 0 )
tot++;
cnt = mpc_bits_log_dec(r, tot);
if (cnt != 0 && cnt != tot)
tmp = mpc_bits_enum_dec(r, mini(cnt, tot-cnt), tot);
if (cnt * 2 > tot) tmp = ~tmp;
for( n = Max_used_Band - 1; n >= 0; n--)
if ( d->Res_L[n] != 0 || d->Res_R[n] != 0 ) {
d->MS_Flag[n] = tmp & 1;
tmp >>= 1;
}
}
}
for( n = Max_used_Band; n <= d->max_band; n++)
d->Res_L[n] = d->Res_R[n] = 0;
/****************************** SCFI ******************************/
if (is_key_frame == MPC_TRUE){
for( n = 0; n < 32; n++)
d->DSCF_Flag_L[n] = d->DSCF_Flag_R[n] = 1; // new block -> force key frame
}
Tables[0] = & mpc_can_SCFI[0];
Tables[1] = & mpc_can_SCFI[1];
for ( n = 0; n < Max_used_Band; n++ ) {
int tmp = 0, cnt = -1;
if (d->Res_L[n]) cnt++;
if (d->Res_R[n]) cnt++;
if (cnt >= 0) {
tmp = mpc_bits_can_dec(r, Tables[cnt]);
if (d->Res_L[n]) d->SCFI_L[n] = tmp >> (2 * cnt);
if (d->Res_R[n]) d->SCFI_R[n] = tmp & 3;
}
}
/**************************** SCF/DSCF ****************************/
for ( n = 0; n < Max_used_Band; n++ ) {
mpc_int32_t * SCF = d->SCF_Index_L[n];
mpc_uint32_t Res = d->Res_L[n], SCFI = d->SCFI_L[n];
mpc_bool_t * DSCF_Flag = &d->DSCF_Flag_L[n];
do {
if ( Res ) {
int m;
if (*DSCF_Flag == 1) {
SCF[0] = (mpc_int32_t)mpc_bits_read(r, 7) - 6;
*DSCF_Flag = 0;
} else {
mpc_uint_t tmp = mpc_bits_can_dec(r, & mpc_can_DSCF[1]);
if (tmp == 64)
tmp += mpc_bits_read(r, 6);
SCF[0] = ((SCF[2] - 25 + tmp) & 127) - 6;
}
for( m = 0; m < 2; m++){
if (((SCFI << m) & 2) == 0) {
mpc_uint_t tmp = mpc_bits_can_dec(r, & mpc_can_DSCF[0]);
if (tmp == 31)
tmp = 64 + mpc_bits_read(r, 6);
SCF[m + 1] = ((SCF[m] - 25 + tmp) & 127) - 6;
} else
SCF[m + 1] = SCF[m];
}
}
Res = d->Res_R[n];
SCFI = d->SCFI_R[n];
DSCF_Flag = &d->DSCF_Flag_R[n];
} while ( SCF == d->SCF_Index_L[n] && (SCF = d->SCF_Index_R[n]));
}
/***************************** Samples ****************************/
for ( n = 0; n < Max_used_Band; n++ ) {
mpc_int16_t *q = d->Q[n].L, Res = d->Res_L[n];
static const unsigned int thres[] = {0, 0, 3, 0, 0, 1, 3, 4, 8};
static const mpc_int8_t HuffQ2_var[5*5*5] =
{6, 5, 4, 5, 6, 5, 4, 3, 4, 5, 4, 3, 2, 3, 4, 5, 4, 3, 4, 5, 6, 5, 4, 5, 6, 5, 4, 3, 4, 5, 4, 3, 2, 3, 4, 3, 2, 1, 2, 3, 4, 3, 2, 3, 4, 5, 4, 3, 4, 5, 4, 3, 2, 3, 4, 3, 2, 1, 2, 3, 2, 1, 0, 1, 2, 3, 2, 1, 2, 3, 4, 3, 2, 3, 4, 5, 4, 3, 4, 5, 4, 3, 2, 3, 4, 3, 2, 1, 2, 3, 4, 3, 2, 3, 4, 5, 4, 3, 4, 5, 6, 5, 4, 5, 6, 5, 4, 3, 4, 5, 4, 3, 2, 3, 4, 5, 4, 3, 4, 5, 6, 5, 4, 5, 6};
do {
mpc_uint32_t k = 0, idx = 1;
if (Res != 0) {
if (Res == 2) {
Tables[0] = & mpc_can_Q [0][0];
Tables[1] = & mpc_can_Q [0][1];
idx = 2 * thres[Res];
for ( ; k < 36; k += 3) {
int tmp = mpc_bits_can_dec(r, Tables[idx > thres[Res]]);
q[k] = idx50[tmp];
q[k + 1] = idx51[tmp];
q[k + 2] = idx52[tmp];
idx = (idx >> 1) + HuffQ2_var[tmp];
}
} else if (Res == 1) {
Table = & mpc_can_Q1;
for( ; k < 36; ){
mpc_uint32_t kmax = k + 18;
mpc_uint_t cnt = mpc_bits_can_dec(r, Table);
idx = 0;
if (cnt > 0 && cnt < 18)
idx = mpc_bits_enum_dec(r, cnt <= 9 ? cnt : 18 - cnt, 18);
if (cnt > 9) idx = ~idx;
for ( ; k < kmax; k++) {
q[k] = 0;
if ( idx & (1 << 17) )
q[k] = (mpc_bits_read(r, 1) << 1) - 1;
idx <<= 1;
}
}
} else if (Res == -1) {
for ( ; k<36; k++ ) {
mpc_uint32_t tmp = mpc_random_int(d);
q[k] = ((tmp >> 24) & 0xFF) + ((tmp >> 16) & 0xFF) + ((tmp >> 8) & 0xFF) + ((tmp >> 0) & 0xFF) - 510;
}
} else if (Res <= 4) {
Table = & mpc_can_Q[1][Res - 3];
for ( ; k < 36; k += 2 ) {
union {
mpc_int8_t sym;
struct { mpc_int8_t s1:4, s2:4; };
} tmp;
tmp.sym = mpc_bits_can_dec(r, Table);
q[k] = tmp.s1;
q[k + 1] = tmp.s2;
}
} else if (Res <= 8) {
Tables[0] = & mpc_can_Q [Res - 3][0];
Tables[1] = & mpc_can_Q [Res - 3][1];
idx = 2 * thres[Res];
for ( ; k < 36; k++ ) {
q[k] = mpc_bits_can_dec(r, Tables[idx > thres[Res]]);
idx = (idx >> 1) + absi(q[k]);
}
} else {
for ( ; k < 36; k++ ) {
q[k] = (unsigned char) mpc_bits_can_dec(r, & mpc_can_Q9up);
if (Res != 9)
q[k] = (q[k] << (Res - 9)) | mpc_bits_read(r, Res - 9);
q[k] -= Dc[Res];
}
}
}
Res = d->Res_R[n];
} while (q == d->Q[n].L && (q = d->Q[n].R));
}
}
|
1717f1073cd020d534a6eb5a8c7972274cacbcb1
|
70ffcb065027032a399f44b9ec91e7b61d73583d
|
/common/ecdh.h
|
0417f5ff91c4783725a3784f20b635d32675b634
|
[
"MIT"
] |
permissive
|
ElementsProject/lightning
|
4e260841b2ebad8c772a5ff91ef1ebbc3fe1ad71
|
990096f904e26386527a4eddd8d3262464bacabd
|
refs/heads/master
| 2023-09-01T07:11:34.794039
| 2023-08-31T09:55:14
| 2023-08-31T22:02:14
| 37,350,472
| 2,812
| 961
|
NOASSERTION
| 2023-09-14T19:33:22
| 2015-06-13T00:04:22
|
C
|
UTF-8
|
C
| false
| false
| 424
|
h
|
ecdh.h
|
#ifndef LIGHTNING_COMMON_ECDH_H
#define LIGHTNING_COMMON_ECDH_H
#include "config.h"
struct pubkey;
struct secret;
/* This function is implemented differently in various daemons and tools:
* subdaemons need to talk to the HSM via hsm_fd, lightningd needs to use
* its HSM interface, and tools can implement this directly. */
void ecdh(const struct pubkey *point, struct secret *ss);
#endif /* LIGHTNING_COMMON_ECDH_H */
|
40583031042056776b3dbf772f88ff0f5caeed50
|
fcc9b5cb92607deaac4b097776ed0490789d8c3e
|
/src/runtime/gencgc.c
|
4f9a8b53f8f6ce6a127558a5e5ac94309285d4c2
|
[
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer",
"LicenseRef-scancode-public-domain",
"UPL-1.0",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-mit-specification-disclaimer",
"MIT"
] |
permissive
|
sbcl/sbcl
|
ef248b5e8614ba7f0a1132c4f2cfcb000a074400
|
85003adf60ef659082c244972e816ea62240b9cb
|
refs/heads/master
| 2023-09-01T05:14:15.225083
| 2023-08-31T20:09:49
| 2023-08-31T20:09:49
| 1,890,957
| 1,737
| 408
|
NOASSERTION
| 2023-08-28T13:05:04
| 2011-06-13T20:33:25
|
Common Lisp
|
UTF-8
|
C
| false
| false
| 247,493
|
c
|
gencgc.c
|
/*
* GENerational Conservative Garbage Collector for SBCL
*/
/*
* This software is part of the SBCL system. See the README file for
* more information.
*
* This software is derived from the CMU CL system, which was
* written at Carnegie Mellon University and released into the
* public domain. The software is in the public domain and is
* provided with absolutely no warranty. See the COPYING and CREDITS
* files for more information.
*/
/*
* For a review of garbage collection techniques (e.g. generational
* GC) and terminology (e.g. "scavenging") see Paul R. Wilson,
* "Uniprocessor Garbage Collection Techniques" available at
* <https://www.cs.rice.edu/~javaplt/311/Readings/wilson92uniprocessor.pdf>
* or
* <ftp://ftp.cs.utexas.edu/pub/garbage/bigsurv.ps>.
*/
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <inttypes.h>
#include "sbcl.h"
#include "runtime.h"
#include "os.h"
#include "interr.h"
#include "globals.h"
#include "interrupt.h"
#include "validate.h"
#include "lispregs.h"
#include "arch.h"
#include "gc.h"
#include "thread.h"
#include "pseudo-atomic.h"
#include "code.h"
#include "genesis/gc-tables.h"
#include "genesis/vector.h"
#include "genesis/weak-pointer.h"
#include "genesis/fdefn.h"
#include "genesis/simple-fun.h"
#include "save.h"
#include "genesis/hash-table.h"
#include "genesis/list-node.h"
#include "genesis/instance.h"
#include "hopscotch.h"
#include "genesis/cons.h"
#include "genesis/brothertree.h"
#include "var-io.h"
/* forward declarations */
extern FILE *gc_activitylog();
/* Largest allocation seen since last GC. */
os_vm_size_t large_allocation = 0;
int n_gcs;
/*
* debugging
*/
/* the verbosity level. All non-error messages are disabled at level 0;
* and only a few rare messages are printed at level 1. */
int gencgc_verbose = 0;
/* FIXME: At some point enable the various error-checking things below
* and see what they say. */
/* We hunt for pointers to old-space, when GCing generations >= verify_gen.
* Set verify_gens to HIGHEST_NORMAL_GENERATION + 2 to disable this kind of
* check. */
generation_index_t verify_gens = HIGHEST_NORMAL_GENERATION + 2;
/* Should we do a pre-scan of the heap before it's GCed? */
int pre_verify_gen_0 = 0; // FIXME: should be named 'pre_verify_gc'
/*
* GC structures and variables
*/
/* the total bytes allocated. These are seen by Lisp DYNAMIC-USAGE. */
os_vm_size_t bytes_allocated = 0;
os_vm_size_t auto_gc_trigger = 0;
/* the source and destination generations. These are set before a GC starts
* scavenging. */
generation_index_t from_space;
generation_index_t new_space;
/* Set to 1 when in GC */
bool gc_active_p = 0;
/* should the GC be conservative on stack. If false (only right before
* saving a core), don't scan the stack / mark pages pinned. */
bool conservative_stack = 1;
int save_lisp_gc_iteration;
/* An array of page structures is allocated on gc initialization.
* This helps to quickly map between an address and its page structure.
* page_table_pages is set from the size of the dynamic space. */
page_index_t page_table_pages;
struct page *page_table;
unsigned char *gc_page_pins;
unsigned char *gc_card_mark;
// Filtered pins include code but not simple-funs,
// and must not include invalid pointers.
static lispobj* gc_filtered_pins;
static int pins_alloc_size;
static int gc_pin_count;
struct hopscotch_table pinned_objects;
/* This is always 0 except during gc_and_save() */
lispobj lisp_init_function;
static inline bool boxed_type_p(int type) { return type > 1; }
static inline bool page_boxed_p(page_index_t page) {
// ignore SINGLE_OBJECT_FLAG and OPEN_REGION_PAGE_FLAG
return boxed_type_p(page_table[page].type & PAGE_TYPE_MASK);
}
#ifndef LISP_FEATURE_SOFT_CARD_MARKS
static inline bool protect_page_p(page_index_t page, generation_index_t generation) {
return (page_boxed_p(page)
&& !(page_table[page].type & OPEN_REGION_PAGE_FLAG)
&& (page_words_used(page) != 0)
&& !gc_page_pins[page]
&& (page_table[page].gen == generation));
}
#endif
/* Calculate the start address for the given page number. */
inline char *page_address(page_index_t page_num)
{
return (void*)(DYNAMIC_SPACE_START + (page_num * GENCGC_PAGE_BYTES));
}
/* Calculate the address where the allocation region associated with
* the page starts. */
static inline void *
page_scan_start(page_index_t page_index)
{
return page_address(page_index)-page_scan_start_offset(page_index);
}
/* We maintain the invariant that pages with FREE_PAGE_FLAG have
* scan_start of zero, to optimize page_ends_contiguous_block_p().
* Clear all the flags that don't pertain to a free page.
* Particularly the 'need_zerofill' bit MUST remain as-is */
void reset_page_flags(page_index_t page) {
page_table[page].scan_start_offset_ = 0;
#ifdef LISP_FEATURE_DARWIN_JIT
// Whenever a page was mapped as code, it potentially needs to be remapped on the next use.
// This avoids any affect of pthread_jit_write_protect_np when next used.
if (page_table[page].type == PAGE_TYPE_CODE) set_page_need_to_zero(page, 1);
#endif
page_table[page].type = 0;
gc_page_pins[page] = 0;
// Why can't the 'gen' get cleared? It caused failures. THIS MAKES NO SENSE!!!
// page_table[page].gen = 0;
// Free pages are dirty (MARKED) because MARKED is equivalent
// to not-write-protected, which is what you want for allocation.
assign_page_card_marks(page, CARD_MARKED);
}
#include "genesis/cardmarks.h"
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
int page_cards_all_marked_nonsticky(page_index_t page) {
return cardseq_all_marked_nonsticky(page_to_card_index(page));
}
#endif
/// External function for calling from Lisp.
page_index_t ext_find_page_index(void *addr) { return find_page_index(addr); }
/* an array of generation structures. There needs to be one more
* generation structure than actual generations as the oldest
* generation is temporarily raised then lowered. */
struct generation generations[NUM_GENERATIONS];
/* the oldest generation that is will currently be GCed by default.
* Valid values are: 0, 1, ... HIGHEST_NORMAL_GENERATION
*
* The default of HIGHEST_NORMAL_GENERATION enables GC on all generations.
*
* Setting this to 0 effectively disables the generational nature of
* the GC. In some applications generational GC may not be useful
* because there are no long-lived objects.
*
* An intermediate value could be handy after moving long-lived data
* into an older generation so an unnecessary GC of this long-lived
* data can be avoided. */
generation_index_t gencgc_oldest_gen_to_gc = HIGHEST_NORMAL_GENERATION;
page_index_t next_free_page; // upper (exclusive) bound on used page range
#ifdef LISP_FEATURE_SB_THREAD
/* This lock is to prevent multiple threads from simultaneously
* allocating new regions which overlap each other. Note that the
* majority of GC is single-threaded, but alloc() may be called from
* >1 thread at a time and must be thread-safe. This lock must be
* seized before all accesses to generations[] or to parts of
* page_table[] that other threads may want to see */
#ifdef LISP_FEATURE_WIN32
static CRITICAL_SECTION free_pages_lock;
#else
static pthread_mutex_t free_pages_lock = PTHREAD_MUTEX_INITIALIZER;
#endif
#endif
void acquire_gc_page_table_lock() { ignore_value(mutex_acquire(&free_pages_lock)); }
void release_gc_page_table_lock() { ignore_value(mutex_release(&free_pages_lock)); }
extern os_vm_size_t gencgc_release_granularity;
os_vm_size_t gencgc_release_granularity = GENCGC_RELEASE_GRANULARITY;
extern os_vm_size_t gencgc_alloc_granularity;
os_vm_size_t gencgc_alloc_granularity = GENCGC_ALLOC_GRANULARITY;
/*
* miscellaneous heap functions
*/
static void show_pinnedobj_count()
{
page_index_t page;
int nwords = 0;
int n_pinned_largeobj = 0;
for (page = 0; page < next_free_page; ++page) {
if (page_table[page].gen == from_space && gc_page_pins[page]
&& page_single_obj_p(page)) {
nwords += page_words_used(page);
if (page_starts_contiguous_block_p(page))
++n_pinned_largeobj;
}
}
fprintf(stderr,
"/pinned objects(g%d): large=%d (%d words), small=%d\n",
from_space, n_pinned_largeobj, nwords, pinned_objects.count);
}
/* Work through the pages and add up the number of bytes used for the
* given generation. */
static __attribute__((unused)) os_vm_size_t
count_generation_bytes_allocated (generation_index_t gen)
{
page_index_t i;
os_vm_size_t result = 0;
for (i = 0; i < next_free_page; i++) {
if (!page_free_p(i) && page_table[i].gen == gen)
result += page_words_used(i);
}
return result*N_WORD_BYTES;
}
/* Zero the memory at ADDR for LENGTH bytes, but use mmap/munmap instead
* of zeroing it ourselves, i.e. in practice give the memory back to the
* OS. Generally done after a large GC.
*/
static void __attribute__((unused))
zero_range_with_mmap(os_vm_address_t addr, os_vm_size_t length) {
#ifdef LISP_FEATURE_WIN32
os_decommit_mem(addr, length);
#elif defined LISP_FEATURE_LINUX
// We use MADV_DONTNEED only on Linux due to differing semantics from BSD.
// Linux treats it as a demand that the memory be 0-filled, or refreshed
// from a file that backs the range. BSD takes it as a hint that you don't
// care if the memory has to brought in from swap when next accessed,
// i.e. it's not a request to make a user-visible alteration to memory.
// So in theory this can bring a page in from the core file, if we happen
// to hit a page that resides in the portion of memory mapped by coreparse.
// In practice this should not happen because objects from a core file can't
// become garbage. Except in save-lisp-and-die they can, and we must be
// cautious not to resurrect bytes that originally came from the file.
if ((os_vm_address_t)addr >= anon_dynamic_space_start) {
if (madvise(addr, length, MADV_DONTNEED) != 0)
lose("madvise failed");
} else { // See doc/internals-notes/zero-with-mmap-bug.txt
// Trying to see how often this happens.
// fprintf(stderr, "zero_range_with_mmap: fallback to memset()\n");
memset(addr, 0, length);
}
#else
void *new_addr;
os_deallocate(addr, length);
new_addr = os_alloc_gc_space(DYNAMIC_CORE_SPACE_ID, NOT_MOVABLE, addr, length);
if (new_addr == NULL || new_addr != addr) {
lose("remap_free_pages: page moved, %p ==> %p",
addr, new_addr);
}
#endif
}
/*
Regarding zero_pages(), if the next operation would be memcpy(),
then zeroing is a total waste of time and we should skip it.
The most simple case seems to be ALLOCATE-CODE-OBJECT because we can treat pages
of code consistently in terms of whether the newly allocated page is for Lisp or
for the garbage collector's transport function. The object is basically an unboxed
object, so there are no "wild pointers" in it, at least until the boxed size is
written. So we can skip prezeroing because the bulk of the object will be subject
to memcpy() from either an octet vector produced by the assember, or a fasl stream.
We only need to prezero the boxed words. GC avoids prezeroing of its code pages.
The next simplest case seems to be unboxed pages - Lisp can never directly request
an unboxed page (at least in the current design), so any unboxed page is for GC,
and will always be used for a transport function. We can skip zeroing those pages,
because even if GC does not fill the page completely, it can not be used for other
object allocations from Lisp.
Boxed pages are the problem. Except for pages which are 100% used by GC, they might
later by consumed in part by Lisp. Unfortunately we don't know whether it will be
100% used until it's 100% used. So we can't skip zeroing.
However, in general, we should try to convert Lisp allocators to be aware of
the issue of zeroing rather than relying on C to do it, as this will relieve
a pain point (a so-called "impedence mismatch") when trying to plug in other
allocators that do not intrinsically give you zero-initialized memory.
The cases can be broken down as follows:
- unboxed objects can always be zeroed at leisure in Lisp. This is hard only because
Lisp does not distinguish in the slow path allocator whether it is asking for boxed
or unboxed memory, so even if we made the Lisp code perform explicit zero-filling of
strings and numeric vectors, the allocation macros needs to be enhanced
to inform C of the fact that zeroing will happen in Lisp whenever we have to go to
the slow path; and we'll need unboxed thread-local regions of course.
- structure objects almost always have all slots written immediately after
allocation, so they don't necessarily demand prezeroing, but we have to think about
to the scope of the pseudatomic wrapping. One of the following must pertain:
* Widen the pseudo-atomic scope so that initialization happens within it,
never permitting GC to see old garbage, OR
* Store the layout last rather than first, and say that until the layout is stored,
GC might see garbage, treating any bit pattern as a conservative pointer.
(because there are two separate issues: ignoring old values, and ensuring that
newly written slots are perceived as enlivening what they point to)
* Add some bits indicating how many slots of the object are initialized.
This seems impractical
- general arrays present the largest problem - the choice of when to zero should be
based on whether the object is large or not and whether one of :initial-element
or :initial-contents were specified. If the initial-element is NIL, then the initial
zero-fill was a waste.
- closures and everything else except arrays are basically structure-like
and have the same issue. Fixed-sized objects are simple though - e.g. value-cells
can move the store of the 1 word payload inside pseudo-atomic if it isn't already.
Thusly, any value-cell could go on a non-prezeroed page.
In general, deciding when to zero-initialize to attain maximum performance is nontrivial.
See "Why Nothing Matters: The Impact of Zeroing"
https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/zero-oopsla-2011.pdf
*/
/* Zero the pages from START to END (inclusive). Generally done just after
* a new region has been allocated.
*/
static inline void zero_pages(page_index_t start, page_index_t end) {
if (start <= end)
#ifdef LISP_FEATURE_DARWIN_JIT
zero_range_with_mmap(page_address(start), npage_bytes(1+end-start));
#else
memset(page_address(start), 0, npage_bytes(1+end-start));
#endif
}
/* The generation currently being allocated to. */
static generation_index_t gc_alloc_generation;
__attribute__((unused)) static const char * const page_type_description[8] =
{0, "unboxed", "boxed", "mixed", "sm_mix", "cons", "?", "code"};
/* Zero the pages from START to END (inclusive), except for those
* pages which: (a) don't require pre-clearing, or (b) do but are already clear.
* For each page in the range that got cleared right now, change the
* page's need_to_zero flag to 0; otherwise, leave that flag alone.
*/
#if defined LISP_FEATURE_RISCV && defined LISP_FEATURE_LINUX // KLUDGE
int mmap_does_not_zero;
#endif
void zeroize_pages_if_needed(page_index_t start, page_index_t end, int page_type) {
// If allocating mixed pages to gen0 (or scratch which becomes gen0) then
// this allocation is potentially going to be extended by lisp (if it happens to
// pick up the tail of the page as its next available region)
// and we really have to zeroize the page. Otherwise, if not mixed or allocating
// memory that is entirely within GC, then lisp will never use parts of the page.
// So we can avoid pre-zeroing all codes pages, all unboxed pages,
// all strictly boxed pages, and all mixed pages allocated to gen>=1.
page_index_t i;
#ifdef LISP_FEATURE_DARWIN_JIT
/* Must always zero, as it may need changing the protection bits. */
bool any_need_to_zero = 0;
for (i = start; i <= end; i++) any_need_to_zero |= page_need_to_zero(i);
if (any_need_to_zero) {
zero_pages(start, end);
for (i = start; i <= end; i++) set_page_need_to_zero(i, 0);
}
#elif defined LISP_FEATURE_MIPS
/* Technically this case is for "if BACKEND_PAGE_BYTES > GENCGC_CARD_BYTES"
* but #+win32 has that, and works fine because we don't map the core to memory
* from the file directly. The issue is that load_core_bytes() has a larger
* granularity than saving thinks it used, so loading picks up junk from pages
* that are supposedly zeroed. Until I fix it better, just zeroize always.
* Basically we want to decouple the allocator's quantum of GENCGC_PAGE_BYTES
* from the OS's requirement on file mappings. I don't know why rev 2faf4b79a7
* exposed the bug, but it seems that the older strategy for gc_and_save left
* zeroed pages in exactly the right places either by accident or by design */
for (i = start; i <= end; i++) {
zero_pages(i, i);
set_page_need_to_zero(i, 0);
}
#else
bool usable_by_lisp =
gc_alloc_generation == 0 || (gc_alloc_generation == SCRATCH_GENERATION
&& from_space == 0);
if ((page_type == PAGE_TYPE_MIXED && usable_by_lisp) || page_type == 0) {
for (i = start; i <= end; i++)
if (page_need_to_zero(i)) {
zero_pages(i, i);
set_page_need_to_zero(i, 0);
}
}
#endif
}
/*
* To support quick and inline allocation, regions of memory can be
* allocated and then allocated from with just a free pointer and a
* check against an end address.
*
* Since objects can be allocated to spaces with different properties
* e.g. boxed/unboxed, generation, ages; there may need to be many
* allocation regions.
*
* Each allocation region may start within a partly used page. Many
* features of memory use are noted on a page wise basis, e.g. the
* generation; so if a region starts within an existing allocated page
* it must be consistent with this page.
*
* During the scavenging of the newspace, objects will be transported
* into an allocation region, and pointers updated to point to this
* allocation region. It is possible that these pointers will be
* scavenged again before the allocation region is closed, e.g. due to
* trans_list which jumps all over the place to cleanup the list. It
* is important to be able to determine properties of all objects
* pointed to when scavenging, e.g to detect pointers to the oldspace.
* Thus it's important that the allocation regions have the correct
* properties set when allocated, and not just set when closed. The
* region allocation routines return regions with the specified
* properties, and grab all the pages, setting their properties
* appropriately, except that the amount used is not known.
*
* These regions are used to support quicker allocation using just a
* free pointer. The actual space used by the region is not reflected
* in the pages tables until it is closed. It can't be scavenged until
* closed.
*
* When finished with the region it should be closed, which will
* update the page tables for the actual space used returning unused
* space. Further it may be noted in the new regions which is
* necessary when scavenging the newspace.
*
* Large objects may be allocated directly without an allocation
* region, the page table is updated immediately.
*
* Unboxed objects don't contain pointers to other objects and so
* don't need scavenging. Further they can't contain pointers to
* younger generations so WP is not needed. By allocating pages to
* unboxed objects the whole page never needs scavenging or
* write-protecting. */
/* We use five regions for the current newspace generation. */
struct alloc_region gc_alloc_region[6];
static page_index_t
alloc_start_pages[8], // one for each value of PAGE_TYPE_x
max_alloc_start_page; // the largest of any array element
page_index_t gencgc_alloc_start_page; // initializer for the preceding array
/* Each 'start_page' informs the region-opening logic where it should
* attempt to continue allocating after closing a region associated
* with a particular page type. We aren't very clever about this -
* either the start_page has space remaining or it doesn't, and when it
* doesn't, then we should hop over *all* allocated pages regardless of
* type that intercede between the page we couldn't use up to next_free_page.
* It's kind of dumb that there is one start_page per type,
* other than it serves its purpose for picking up where it left off
* on a partially full page during GC */
#define RESET_ALLOC_START_PAGES() \
alloc_start_pages[0] = gencgc_alloc_start_page; \
alloc_start_pages[1] = gencgc_alloc_start_page; \
alloc_start_pages[2] = gencgc_alloc_start_page; \
alloc_start_pages[3] = gencgc_alloc_start_page; \
alloc_start_pages[4] = gencgc_alloc_start_page; \
alloc_start_pages[5] = gencgc_alloc_start_page; \
alloc_start_pages[6] = gencgc_alloc_start_page; \
alloc_start_pages[7] = gencgc_alloc_start_page; \
max_alloc_start_page = gencgc_alloc_start_page;
static page_index_t
get_alloc_start_page(unsigned int page_type)
{
if (page_type > 7) lose("bad page_type: %d", page_type);
struct thread* th = get_sb_vm_thread();
page_index_t global_start = alloc_start_pages[page_type];
page_index_t hint;
switch (page_type) {
case PAGE_TYPE_MIXED:
if ((hint = thread_extra_data(th)->mixed_page_hint) > 0 && hint <= global_start) {
thread_extra_data(th)->mixed_page_hint = - 1;
return hint;
}
break;
case PAGE_TYPE_CONS:
if ((hint = thread_extra_data(th)->cons_page_hint) > 0 && hint <= global_start) {
thread_extra_data(th)->cons_page_hint = - 1;
return hint;
}
break;
}
return global_start;
}
static inline void
set_alloc_start_page(unsigned int page_type, page_index_t page)
{
if (page_type > 7) lose("bad page_type: %d", page_type);
if (page > max_alloc_start_page) max_alloc_start_page = page;
alloc_start_pages[page_type] = page;
}
#include "private-cons.inc"
/* Find a new region with room for at least the given number of bytes.
*
* It starts looking at the current generation's alloc_start_page. So
* may pick up from the previous region if there is enough space. This
* keeps the allocation contiguous when scavenging the newspace.
*
* The alloc_region should have been closed by a call to
* gc_close_region(), and will thus be in an empty state.
*
* To assist the scavenging functions write-protected pages are not
* used. Free pages should not be write-protected.
*
* It is critical to the conservative GC that the start of regions be
* known. To help achieve this only small regions are allocated at a
* time.
*
* During scavenging, pointers may be found to within the current
* region and the page generation must be set so that pointers to the
* from space can be recognized. Therefore the generation of pages in
* the region are set to gc_alloc_generation. To prevent another
* allocation call using the same pages, all the pages in the region
* are allocated, although they will initially be empty.
*/
#ifdef LISP_FEATURE_ALLOCATOR_METRICS
#define INSTRUMENTING(expression, metric) { \
struct timespec t0, t1; clock_gettime(CLOCK_REALTIME, &t0); expression; \
clock_gettime(CLOCK_REALTIME, &t1); \
struct thread* th = get_sb_vm_thread(); \
th->metric += (t1.tv_sec - t0.tv_sec)*1000000000 + (t1.tv_nsec - t0.tv_nsec); }
#else
#define INSTRUMENTING(expression, metric) expression
#endif
/* Test whether page 'index' can continue a non-large-object region
* having specified 'gen' and 'type' values. It must not be pinned
* and must be marked but not referenced from the stack */
static inline bool
page_extensible_p(page_index_t index, generation_index_t gen, int type) {
#ifdef LISP_FEATURE_BIG_ENDIAN /* TODO: implement this as single comparison */
int attributes_match =
page_table[index].type == type
&& page_table[index].gen == gen
&& !gc_page_pins[index];
#else
// FIXME: "warning: dereferencing type-punned pointer will break strict-aliasing rules"
int attributes_match =
*(int16_t*)&page_table[index].type == ((gen<<8)|type);
#endif
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
return attributes_match && page_cards_all_marked_nonsticky(index);
#else
return attributes_match && !PAGE_WRITEPROTECTED_P(index);
#endif
}
void gc_heap_exhausted_error_or_lose (sword_t available, sword_t requested) never_returns;
/* Find a single page for conses or SMALL_MIXED objects.
* CONS differs because:
* - not all GENCGC_PAGE_BYTES of the page can be used.
* - a region can't be extended from one page to the next
* (implied by the preceding restriction).
* SMALL_MIXED is similar to cons, but all bytes of the page can be used
* for storing objects, subject to the non-card-spaning constraint. */
static page_index_t find_single_page(int page_type, sword_t nbytes, generation_index_t gen)
{
page_index_t page = alloc_start_pages[page_type];;
// Compute the max words that could already be used while satisfying the request.
page_words_t usage_allowance =
usage_allowance = GENCGC_PAGE_BYTES/N_WORD_BYTES - (nbytes>>WORD_SHIFT);
if (page_type == PAGE_TYPE_CONS) {
gc_assert(nbytes <= CONS_PAGE_USABLE_BYTES);
usage_allowance = (CONS_SIZE*MAX_CONSES_PER_PAGE) - (nbytes>>WORD_SHIFT);
}
for ( ; page < page_table_pages ; ++page) {
if (page_words_used(page) <= usage_allowance
&& (page_free_p(page) || page_extensible_p(page, gen, page_type))) return page;
}
/* Compute the "available" space for the lossage message. This is kept out of the
* search loop because it's needless overhead. Any free page would have been returned,
* so we just have to find the least full page meeting the gen+type criteria */
sword_t min_used = GENCGC_PAGE_WORDS;
for ( page = alloc_start_pages[page_type]; page < page_table_pages ; ++page) {
if (page_words_used(page) < min_used && page_extensible_p(page, gen, page_type))
min_used = page_words_used(page);
}
sword_t bytes_avail;
if (page_type == PAGE_TYPE_CONS) {
bytes_avail = CONS_PAGE_USABLE_BYTES - (min_used<<WORD_SHIFT);
/* The sentinel value initially in 'least_words_used' exceeds a cons
* page's capacity, so clip to 0 instead of showing a negative value
* if no page matched on gen+type */
if (bytes_avail < 0) bytes_avail = 0;
} else {
bytes_avail = GENCGC_PAGE_BYTES - (min_used<<WORD_SHIFT);
}
gc_heap_exhausted_error_or_lose(bytes_avail, nbytes);
}
/* CONS pages have a subrange (about 1/128th or 1/64th of the page)
* that demands prezeroing, but the bulk of the page does not require zeroing.
* We can't accurately represent the need_to_zero state on a part of the page.
* So if the page is in need_to_zero state, clear that subrange,
* but KEEP the need_to_zero state, because overall it is in that state. */
static inline void ensure_cons_markbits_clear(page_index_t page)
{
// If and only if the page was already completely zeroed, skip this
if (page_need_to_zero(page)) {
char *trailer = page_address(page) + CONS_PAGE_USABLE_BYTES;
memset(trailer, 0, GENCGC_PAGE_BYTES - CONS_PAGE_USABLE_BYTES);
}
}
#if 0
bool page_is_zeroed(page_index_t page)
{
int nwords_per_page = GENCGC_PAGE_BYTES/N_WORD_BYTES;
uword_t *pagebase = (void*)page_address(page);
int i;
for (i=0; i<nwords_per_page; ++i) if (pagebase[i]) return 0;
return 1;
}
#endif
static void*
gc_alloc_new_region(sword_t nbytes, int page_type, struct alloc_region *alloc_region, int unlock)
{
/* Check that the region is in a reset state. */
gc_dcheck(!alloc_region->start_addr);
if (page_type == PAGE_TYPE_CONS || page_type == PAGE_TYPE_SMALL_MIXED) {
// No mutex release, because either this is:
// - not called from Lisp, as in the SMALL_MIXED case
// - called from lisp_alloc() which does its own unlock
gc_dcheck(!unlock);
page_index_t page;
INSTRUMENTING(page = find_single_page(page_type, nbytes, gc_alloc_generation),
et_find_freeish_page);
if (page+1 > next_free_page) next_free_page = page+1;
page_table[page].gen = gc_alloc_generation;
page_table[page].type = OPEN_REGION_PAGE_FLAG | page_type;
#ifdef LISP_FEATURE_DARWIN_JIT
if (!page_words_used(page))
/* May need to be remapped from PAGE_TYPE_CODE */
zeroize_pages_if_needed(page, page, page_type);
#elif defined LISP_FEATURE_WIN32
// don't incur access violations
os_commit_memory(page_address(page), GENCGC_PAGE_BYTES);
#endif
// TODO: move this out of the mutex scope
if (page_type == PAGE_TYPE_CONS && !page_words_used(page))
ensure_cons_markbits_clear(page);
// Don't need to set the scan_start_offset because free pages have it 0
// (and each of these page types starts a new contiguous block)
gc_dcheck(page_table[page].scan_start_offset_ == 0);
alloc_region->start_addr = page_address(page) + page_bytes_used(page);
if (page_type == PAGE_TYPE_CONS) {
alloc_region->end_addr = page_address(page) + CONS_PAGE_USABLE_BYTES;
} else {
alloc_region->end_addr =
(char*)ALIGN_DOWN((uword_t)alloc_region->start_addr, GENCGC_CARD_BYTES) + GENCGC_CARD_BYTES;
}
alloc_region->free_pointer = alloc_region->start_addr;
gc_assert(find_page_index(alloc_region->start_addr) == page);
return alloc_region->free_pointer;
}
page_index_t first_page = get_alloc_start_page(page_type), last_page;
INSTRUMENTING(
last_page = gc_find_freeish_pages(&first_page, nbytes,
((nbytes >= (sword_t)GENCGC_PAGE_BYTES) ?
SINGLE_OBJECT_FLAG : 0) | page_type,
gc_alloc_generation),
et_find_freeish_page);
/* Set up the alloc_region. */
alloc_region->start_addr = page_address(first_page) + page_bytes_used(first_page);
alloc_region->free_pointer = alloc_region->start_addr;
alloc_region->end_addr = page_address(last_page+1);
gc_assert(find_page_index(alloc_region->start_addr) == first_page);
/* Set up the pages. */
/* The first page may have already been in use. */
/* If so, just assert that it's consistent, otherwise, set it up. */
if (page_words_used(first_page)) {
gc_assert(page_table[first_page].type == page_type);
gc_assert(page_table[first_page].gen == gc_alloc_generation);
} else {
page_table[first_page].gen = gc_alloc_generation;
}
page_table[first_page].type = OPEN_REGION_PAGE_FLAG | page_type;
page_index_t i;
for (i = first_page+1; i <= last_page; i++) {
page_table[i].type = OPEN_REGION_PAGE_FLAG | page_type;
page_table[i].gen = gc_alloc_generation;
set_page_scan_start_offset(i,
addr_diff(page_address(i), alloc_region->start_addr));
}
#ifdef LISP_FEATURE_DARWIN_JIT
if (page_type == PAGE_TYPE_CODE) {
/* Remap before releasing the mutex so that no other thread can manipulate
* this range of code until it has been correctly set up. If page(s) were
* previously utilized for code, this is not necessary, but there's no way
* to know that. If the first page was already in use, remapping would trash
* what's there, so don't do that */
int remap_from = first_page + (page_words_used(first_page)?1:0);
if (last_page >= remap_from) {
long len = npage_bytes(1+last_page-remap_from);
os_deallocate(page_address(remap_from), len);
mmap(page_address(remap_from), len,
OS_VM_PROT_ALL, MAP_ANON|MAP_PRIVATE|MAP_JIT, -1, 0);
page_index_t p;
// Ensure that zeroize_pages_if_needed() below does ABSOLUTELY NOTHING!
for(p=remap_from; p<=last_page; ++p) set_page_need_to_zero(p,0);
}
}
#elif defined LISP_FEATURE_WIN32
// don't incur access violations
long commit_from = first_page + (page_words_used(first_page)?1:0);
long len = npage_bytes(1+last_page-commit_from);
os_commit_memory(page_address(commit_from), len);
#endif
if (unlock) {
int __attribute__((unused)) ret = mutex_release(&free_pages_lock);
gc_assert(ret);
}
// Like above: if first page was in use, don't zeroize
INSTRUMENTING(zeroize_pages_if_needed(first_page+(page_words_used(first_page)?1:0),
last_page, page_type), et_bzeroing);
return alloc_region->free_pointer;
}
/* The new_object structure holds the page, byte offset, and size of
* new regions of objects. Each new area is placed in the array of
* these structures pointer to by new_areas. new_areas_index holds the
* offset into new_areas.
*
* If new_area overflows NUM_NEW_AREAS then it stops adding them. The
* later code must detect this and handle it, probably by doing a full
* scavenge of a generation. */
#define NUM_NEW_AREAS 512
/* 'record_new_regions_below' is the page number (strictly) below which
* allocations must be tracked. Choosing the boundary cases with care allows
* for all the required modes of operation without an additional control flag:
* (1) When allocating from Lisp code, we need not record regions into areas.
* In this case 'record_new_regions_below' is 0,
* because no page index is less than that value.
* (2) When performing a full scavenge of newspace, we record regions below the
* highest scavenged page thus far. Pages ahead of (at a higher index than)
* the pointer which walks all pages can be ignored, because those pages
* will be scavenged in the future regardless of where allocations occur.
* (3) When iteratively scavenging newspace, all regions are tracked in areas,
* so this variable is set to 1+page_table_pages,
* because every page index is less than that sentinel value.
*/
static page_index_t record_new_regions_below;
struct new_area {
page_index_t page;
size_t offset;
size_t size;
};
static struct new_area *new_areas;
static int new_areas_index;
int new_areas_index_hwm; // high water mark
/* Add a new area to new_areas. */
static void
add_new_area(page_index_t first_page, size_t offset, size_t size)
{
if (!(first_page < record_new_regions_below))
return;
/* Ignore if full. */
// Technically overflow occurs at 1+ this number, but it's not worth
// losing sleep (or splitting hairs) over one potentially wasted array cell.
// i.e. overflow did not necessarily happen if we needed _exactly_ this
// many areas. But who cares? The limit should not be approached at all.
if (new_areas_index >= NUM_NEW_AREAS)
return;
size_t new_area_start = npage_bytes(first_page) + offset;
int i, c;
if (GC_LOGGING) {
char* base = page_address(first_page) + offset;
fprintf(gc_activitylog(), "enqueue rescan [%p:%p]\n", base, base+size);
}
/* Search backwards for a prior area that this follows from. If
found this will save adding a new area. */
for (i = new_areas_index-1, c = 0; (i >= 0) && (c < 8); i--, c++) {
size_t area_end =
npage_bytes(new_areas[i].page) + new_areas[i].offset + new_areas[i].size;
if (new_area_start == area_end) {
new_areas[i].size += size;
return;
}
}
new_areas[new_areas_index].page = first_page;
new_areas[new_areas_index].offset = offset;
new_areas[new_areas_index].size = size;
new_areas_index++;
}
/* Update the PTEs for the alloc_region. The region may be added to
* the new_areas.
*
* When done the alloc_region is set up so that the next quick alloc
* will fail safely and thus a new region will be allocated. Further
* it is safe to try to re-update the page table of this reset
* alloc_region.
*
* This is the internal implementation of ensure_region_closed(),
* and not to be invoked as the interface to closing a region.
*
* Note that in no case will closing a region alter the need_to_zero bit
* on any page in the region. It is legal to set that bit as late as possible,
* because we only have to know just-in-time - when changing the page
* (at some point later) from FREE to non-free - whether to zeroize it.
* Therefore, we can set the need_to_zero bit only when there is otherwise
* no way to detect that it ever held nonzero data, namely immediately
* before doing reset_page_flags() or setting the words_used to 0.
* Reflecting the words_used into that bit each time we update words_used
* from a region's free pointer would be redundant (newspace scavenging
* can open/close/open/close a region several times on the same page).
*/
void
gc_close_region(struct alloc_region *alloc_region, int page_type)
{
page_index_t first_page = find_page_index(alloc_region->start_addr);
page_index_t next_page = first_page+1;
char *page_base = page_address(first_page);
char *free_pointer = alloc_region->free_pointer;
#if defined LISP_FEATURE_SYSTEM_TLABS && defined DEBUG
if (alloc_region == &get_sb_vm_thread()->sys_mixed_tlab ||
alloc_region == &get_sb_vm_thread()->sys_cons_tlab) {
char msg[] = "NOTE: closing a system allocation region\n";
write(2, msg, sizeof msg-1); // signal-safe
}
#endif
// page_bytes_used() can be done without holding a lock. Nothing else
// affects the usage on the first page of a region owned by this thread.
page_bytes_t orig_first_page_bytes_used = page_bytes_used(first_page);
gc_assert(alloc_region->start_addr == page_base + orig_first_page_bytes_used);
// Mark the region as closed on its first page.
page_table[first_page].type &= ~(OPEN_REGION_PAGE_FLAG);
if (free_pointer != alloc_region->start_addr) {
/* some bytes were allocated in the region */
/* All the pages used need to be updated */
/* Update the first page. */
if (!orig_first_page_bytes_used)
gc_assert(page_starts_contiguous_block_p(first_page));
gc_assert(page_table[first_page].type == page_type);
gc_assert(page_table[first_page].gen == gc_alloc_generation);
/* Calculate the number of bytes used in this page. This is not
* always the number of new bytes, unless it was free. */
os_vm_size_t bytes_used = addr_diff(free_pointer, page_base);
bool more;
if ((more = (bytes_used > GENCGC_PAGE_BYTES)))
bytes_used = GENCGC_PAGE_BYTES;
set_page_bytes_used(first_page, bytes_used);
/* 'region_size' will be the sum of new bytes consumed by the region,
* EXCLUDING any part of the first page already in use,
* and any unused part of the final used page */
os_vm_size_t region_size = bytes_used - orig_first_page_bytes_used;
/* All the rest of the pages should be accounted for. */
while (more) {
gc_assert(page_table[next_page].type ==
(OPEN_REGION_PAGE_FLAG | page_type));
page_table[next_page].type ^= OPEN_REGION_PAGE_FLAG;
gc_assert(page_words_used(next_page) == 0);
gc_assert(page_table[next_page].gen == gc_alloc_generation);
page_base += GENCGC_PAGE_BYTES;
gc_assert(page_scan_start_offset(next_page) ==
addr_diff(page_base, alloc_region->start_addr));
/* Calculate the number of bytes used in this page. */
bytes_used = addr_diff(free_pointer, page_base);
if ((more = (bytes_used > GENCGC_PAGE_BYTES)))
bytes_used = GENCGC_PAGE_BYTES;
set_page_bytes_used(next_page, bytes_used);
region_size += bytes_used;
next_page++;
}
// Now 'next_page' is 1 page beyond those fully accounted for.
gc_assert(addr_diff(free_pointer, alloc_region->start_addr) == region_size);
// Update the global totals
bytes_allocated += region_size;
generations[gc_alloc_generation].bytes_allocated += region_size;
/* Set the alloc restart page to the last page of the region. */
set_alloc_start_page(page_type, next_page-1);
/* Add the region to the new_areas if requested. */
if (boxed_type_p(page_type))
add_new_area(first_page, orig_first_page_bytes_used, region_size);
} else if (!orig_first_page_bytes_used) {
/* The first page is completely unused. Unallocate it */
reset_page_flags(first_page);
}
/* Unallocate any unused pages. */
page_index_t region_last_page = find_page_index((char*)alloc_region->end_addr-1);
while (next_page <= region_last_page) {
gc_assert(page_words_used(next_page) == 0);
reset_page_flags(next_page);
next_page++;
}
gc_set_region_empty(alloc_region);
}
/* Allocate a possibly large object. */
void *gc_alloc_large(sword_t nbytes, int page_type)
{
page_index_t first_page, last_page;
// Large BOXED would serve no purpose beyond MIXED, and "small large" is illogical.
if (page_type == PAGE_TYPE_BOXED || page_type == PAGE_TYPE_SMALL_MIXED)
page_type = PAGE_TYPE_MIXED;
int locked = !gc_active_p;
if (locked) {
int __attribute__((unused)) ret = mutex_acquire(&free_pages_lock);
gc_assert(ret);
}
first_page = max_alloc_start_page;
INSTRUMENTING(
last_page = gc_find_freeish_pages(&first_page, nbytes,
SINGLE_OBJECT_FLAG | page_type,
gc_alloc_generation),
et_find_freeish_page);
// No need to check whether last_page > old max; it's gotta be.
max_alloc_start_page = last_page;
/* Set up the pages. */
page_index_t page;
for (page = first_page; page <= last_page; ++page) {
/* Large objects don't share pages with other objects. */
gc_assert(page_words_used(page) == 0);
page_table[page].type = SINGLE_OBJECT_FLAG | page_type;
page_table[page].gen = gc_alloc_generation;
}
#ifdef LISP_FEATURE_WIN32
// don't incur access violations
os_commit_memory(page_address(first_page), npage_bytes(1+last_page-first_page));
#endif
// Store a filler so that a linear heap walk does not try to examine
// these pages cons-by-cons (or whatever they happen to look like).
// A concurrent walk would probably crash anyway, and most certainly
// will if it uses the page tables while this allocation is partway
// through assigning bytes_used per page.
// The fix for that is clear: MAP-OBJECTS-IN-RANGE should acquire
// free_pages_lock when computing the extent of a contiguous block.
// Anyway it's best if the new page resembles a valid object ASAP.
uword_t nwords = nbytes >> WORD_SHIFT;
lispobj* addr = (lispobj*)page_address(first_page);
if (locked) { THREAD_JIT(0); }
*addr = make_filler_header(nwords);
if (locked) { THREAD_JIT(1); } // avoid enabling while GCing
os_vm_size_t scan_start_offset = 0;
for (page = first_page; page < last_page; ++page) {
set_page_scan_start_offset(page, scan_start_offset);
set_page_bytes_used(page, GENCGC_PAGE_BYTES);
scan_start_offset += GENCGC_PAGE_BYTES;
}
page_bytes_t final_bytes_used = nbytes - scan_start_offset;
gc_dcheck((nbytes % GENCGC_PAGE_BYTES ? nbytes % GENCGC_PAGE_BYTES
: GENCGC_PAGE_BYTES) == final_bytes_used);
set_page_scan_start_offset(last_page, scan_start_offset);
set_page_bytes_used(last_page, final_bytes_used);
bytes_allocated += nbytes;
generations[gc_alloc_generation].bytes_allocated += nbytes;
if (locked) {
int __attribute__((unused)) ret = mutex_release(&free_pages_lock);
gc_assert(ret);
}
INSTRUMENTING(zeroize_pages_if_needed(first_page, last_page, page_type), et_bzeroing);
/* Add the region to the new_areas if requested. */
if (boxed_type_p(page_type)) add_new_area(first_page, 0, nbytes);
// page may have not needed zeroing, but first word was stored,
// turning the putative object temporarily into a page filler object.
// Now turn it back into free space.
*addr = 0;
#ifdef LISP_FEATURE_DARWIN_JIT
if (page_type == PAGE_TYPE_CODE) {
os_protect(page_address(first_page), npage_bytes(1+last_page-first_page), OS_VM_PROT_ALL);
}
#endif
return addr;
}
/* Search for at least nbytes of space, possibly picking up any
* remaining space on the tail of a page that was not fully used.
*
* The found space is guaranteed to be page-aligned if the SINGLE_OBJECT_FLAG
* bit is set in page_type.
*/
page_index_t
gc_find_freeish_pages(page_index_t *restart_page_ptr, sword_t nbytes,
int page_type, generation_index_t gen)
{
page_index_t most_bytes_found_from = 0, most_bytes_found_to = 0;
page_index_t first_page, last_page, restart_page = *restart_page_ptr;
sword_t nbytes_goal = nbytes;
sword_t bytes_found = 0;
sword_t most_bytes_found = 0;
int multi_object = !(page_type & SINGLE_OBJECT_FLAG);
/* FIXME: assert(free_pages_lock is held); */
if (multi_object) {
if (nbytes_goal < (sword_t)gencgc_alloc_granularity)
nbytes_goal = gencgc_alloc_granularity;
#if !defined(LISP_FEATURE_64_BIT)
// Increase the region size to avoid excessive fragmentation
if (page_type == PAGE_TYPE_CODE && nbytes_goal < 65536)
nbytes_goal = 65536;
#endif
}
page_type &= ~SINGLE_OBJECT_FLAG;
gc_assert(nbytes>=0);
first_page = restart_page;
while (first_page < page_table_pages) {
bytes_found = 0;
if (page_free_p(first_page)) {
gc_dcheck(!page_words_used(first_page));
bytes_found = GENCGC_PAGE_BYTES;
} else if (multi_object &&
// Never return a range starting with a 100% full page
(bytes_found = GENCGC_PAGE_BYTES
- page_bytes_used(first_page)) > 0 &&
// "extensible" means all PTE fields are compatible
page_extensible_p(first_page, gen, page_type)) {
// TODO: Now that BOXED, CONS, and SMALL_MIXED pages exist, investigate
// whether the bias against returning partial pages is still useful.
// It probably isn't.
if (bytes_found < nbytes && !is_code(page_type)) {
if (bytes_found > most_bytes_found)
most_bytes_found = bytes_found;
first_page++;
continue;
}
} else {
first_page++;
continue;
}
#ifndef LISP_FEATURE_SOFT_CARD_MARKS
gc_dcheck(!PAGE_WRITEPROTECTED_P(first_page));
#endif
/* page_free_p() can legally be used at index 'page_table_pages'
* because the array dimension is 1+page_table_pages */
for (last_page = first_page+1;
bytes_found < nbytes_goal &&
page_free_p(last_page) && last_page < page_table_pages;
last_page++) {
/* page_free_p() implies 0 bytes used, thus GENCGC_PAGE_BYTES available.
* It also implies !write_protected, and if the OS's conception were
* otherwise, lossage would routinely occur in the fault handler) */
bytes_found += GENCGC_PAGE_BYTES;
gc_dcheck(!page_words_used(last_page));
#ifndef LISP_FEATURE_SOFT_CARD_MARKS
gc_dcheck(!PAGE_WRITEPROTECTED_P(last_page));
#endif
}
if (bytes_found > most_bytes_found) {
most_bytes_found = bytes_found;
most_bytes_found_from = first_page;
most_bytes_found_to = last_page;
}
if (bytes_found >= nbytes_goal)
break;
first_page = last_page;
}
bytes_found = most_bytes_found;
restart_page = first_page + 1;
/* Check for a failure */
if (bytes_found < nbytes) {
gc_assert(restart_page >= page_table_pages);
gc_heap_exhausted_error_or_lose(most_bytes_found, nbytes);
}
gc_assert(most_bytes_found_to);
// most_bytes_found_to is the upper exclusive bound on the found range.
// next_free_page is the high water mark of most_bytes_found_to.
if (most_bytes_found_to > next_free_page) next_free_page = most_bytes_found_to;
*restart_page_ptr = most_bytes_found_from;
return most_bytes_found_to-1;
}
/* Allocate bytes. The fast path of gc_general_alloc() calls this
* when it can't fit in the open region.
* This entry point is only for use within the GC itself.
* The Lisp region overflow handler either directly calls gc_alloc_large
* or closes and opens a region if the allocation is small.
*
* There are two general approaches to handling SMALL_MIXED allocations:
* 1. always open the alloc region as whole page, but hack up gc_general_alloc
* to avoid spanning cards in the fast case.
* 2. open the region as one card, and alter the slow case to try consuming
* the next card on the same page if it can.
* Choice 2 is better because choice 1 makes an extra test for page_type
* in each call to gc_general_alloc.
*/
static void *new_region(struct alloc_region* region, sword_t nbytes, int page_type)
{
ensure_region_closed(region, page_type);
void* new_obj = gc_alloc_new_region(nbytes, page_type, region, 0);
region->free_pointer = (char*)new_obj + nbytes;
gc_assert(region->free_pointer <= region->end_addr);
return new_obj;
}
void *collector_alloc_fallback(struct alloc_region* region, sword_t nbytes, int page_type)
{
/* If this is a normal GC - as opposed to "final" GC just prior to saving
* a core, then we should never copy a large object (not that that's the best
* strategy always, because it entirely precludes defragmenting those objects).
* But unfortunately we can't assert that only small objects are seen here,
* because genesis does not use large-object pages. So cold-init could fail,
* depending on whether objects in the cold core are sufficiently large that
* they ought to have gone on large object pages if they could have. */
if (nbytes >= LARGE_OBJECT_SIZE) return gc_alloc_large(nbytes, page_type);
if (page_type != PAGE_TYPE_SMALL_MIXED) return new_region(region, nbytes, page_type);
#define SMALL_MIXED_NWORDS_LIMIT 10
#define SMALL_MIXED_NBYTES_LIMIT (SMALL_MIXED_NWORDS_LIMIT * N_WORD_BYTES)
/* We're want to try to place mix raw/tagged slot objects such that they don't span cards.
* There are essentially three cases:
* (1) If the object size exceeds one card, we go straight to the MIXED region.
* (2) If the object size is <= SMALL_MIXED_NWORDS_LIMIT, we will _always_ place it
* on one card. To do that, just align up to the next card or whole page
* if it would span cards based on the current free_pointer.
* This wastes at most SMALL_MIXED_NWORDS_LIMIT - 2 words, per card.
* (3) If the object is larger than that, we will waste at most the threshold number
* of words, but if it would waste more, we use the MIXED region.
* So this case opportunistically uses the subcard region if it can */
if ((int)nbytes > (int)GENCGC_CARD_BYTES)
return new_region(mixed_region, nbytes, PAGE_TYPE_MIXED);
if (!region->start_addr) { // region is not in an open state
/* Don't try to request too much, because that might return a brand new page,
* when we could have kept going on the same page with small objects.
* Better to put the threshold-exceeding object in the MIXED region */
int request = nbytes > SMALL_MIXED_NBYTES_LIMIT ? SMALL_MIXED_NBYTES_LIMIT : nbytes;
void* new_obj = gc_alloc_new_region(request, page_type, region, 0);
char* new_freeptr = (char*)new_obj + nbytes;
/* alloc_new_region() ensures that the page it returns has at least 'nbytes' more
* but does *not* ensure that there is that much space below the end of the region.
* This is a little weird, but doing things this way confines the filler insertion
* logic to just here instead of also being also in alloc_new_region.
* You could try to put that logic only in alloc_new_region, but doing that has
* its own down-side: to call alloc_new_region, you first have to close the region,
* which entails extra work in sync'ing the PTE when we don't really need to */
if (new_freeptr <= (char*)region->end_addr) {
region->free_pointer = new_freeptr;
return new_obj;
}
}
__attribute__((unused)) page_index_t fpi = find_page_index(region->start_addr);
__attribute__((unused)) page_index_t lpi = find_page_index((char*)region->end_addr-1);
gc_assert(fpi == lpi);
gc_assert(page_table[fpi].type & OPEN_REGION_PAGE_FLAG);
// Region is open, but card at free_pointer lacks sufficient space.
// See if there's another card on the same page.
char* page_base = PTR_ALIGN_DOWN(region->start_addr, GENCGC_PAGE_BYTES);
char* next_card = PTR_ALIGN_UP(region->free_pointer, GENCGC_CARD_BYTES);
if (next_card < page_base + GENCGC_PAGE_BYTES) {
int fill_nbytes = next_card - (char*)region->free_pointer;
if (fill_nbytes) {
int fill_nwords = fill_nbytes >> WORD_SHIFT;
/* Object size might strictly exceed SMALL_MIXED_NWORDS_LIMIT.
* Never insert that much filler */
if (fill_nwords >= SMALL_MIXED_NWORDS_LIMIT)
return new_region(mixed_region, nbytes, PAGE_TYPE_MIXED);
*(lispobj*)region->free_pointer = make_filler_header(fill_nwords);
}
region->free_pointer = next_card;
region->end_addr = next_card + GENCGC_CARD_BYTES;
void* new_obj = next_card;
region->free_pointer = (char*)new_obj + nbytes;
gc_assert(region->free_pointer <= region->end_addr);
return new_obj;
}
/* Now be careful not to waste too much at the end of the page in the following situation:
* page has 20 words more, but we need 24 words. Use the MIXED region because the subcard
* region has room for anywhere from 2 to 10 more objects depending on how small */
if (nbytes > SMALL_MIXED_NBYTES_LIMIT) page_type = PAGE_TYPE_MIXED, region = mixed_region;
return new_region(region, nbytes, page_type);
}
/* Free any trailing pages of the object starting at 'first_page'
* that are currently unused due to object shrinkage.
* Possibly assign different 'gen' and 'allocated' values.
*
* maybe_adjust_large_object() specifies 'from_space' for 'new_gen'
* and copy_potential_large_object() specifies 'new_space'
*
* Note that creating a large object might not affect the 'need_to_zero'
* flag on any of pages consumed (it would if the page type demands prezeroing
* and wasn't zero), but freeing the unused pages of a shrunken object DOES
* set the need_to_zero bit unconditionally. We have to suppose that the object
* constructor wrote bytes on each of its pages, and we don't know whether the tail
* of the object got zeroed versus bashed into FILLER_WIDETAG + random bits.
*/
static uword_t adjust_obj_ptes(page_index_t first_page,
sword_t nwords,
generation_index_t new_gen,
int new_allocated)
{
int old_allocated = page_table[first_page].type;
sword_t remaining_bytes = nwords * N_WORD_BYTES;
page_index_t n_full_pages = nwords / (GENCGC_PAGE_BYTES / N_WORD_BYTES);
page_bytes_t excess = remaining_bytes & (GENCGC_PAGE_BYTES - 1);
// page number of ending page of this object at its new size
page_index_t final_page = first_page + (n_full_pages - 1) + (excess != 0);
/* Decide whether there is anything to do by checking whether:
* (1) the page at n_full_pages-1 beyond the first is fully used,
* (2) the next fractional page, if any, has correct usage, and
* (3) the page after that is not part of this object.
* If all those conditions are met, this is the easy case,
* though we may still have to change the generation and/or page type. */
if ((!n_full_pages || page_words_used(first_page+(n_full_pages-1))
== GENCGC_PAGE_WORDS) &&
(!excess || page_bytes_used(final_page) == excess) &&
page_starts_contiguous_block_p(1+final_page)) {
/* The 'if' below has an 'else' which subsumes the 'then' in generality.
* Why? Because usually we only need perform one assignment.
* Moreover, after a further change which makes us not look at the 'gen'
* of the *interior* of a page-spanning object, then the fast case
* reduces to "page_table[first_page].gen = new_gen". And we're done.
* At present, some logic assumes that every page's gen was updated */
page_index_t page;
if (old_allocated == new_allocated) { // Almost always true,
// except when bignums or specialized arrays change from thread-local
// (boxed) allocation to unboxed, for downstream efficiency.
for (page = first_page; page <= final_page; ++page)
page_table[page].gen = new_gen;
} else {
for (page = first_page; page <= final_page; ++page) {
page_table[page].type = new_allocated;
page_table[page].gen = new_gen;
}
}
return 0;
}
/* The assignments to the page table here affect only one object
* since its pages can't be shared with other objects */
#define CHECK_AND_SET_PTE_FIELDS() \
gc_assert(page_table[page].type == old_allocated); \
gc_assert(page_table[page].gen == from_space); \
gc_assert(page_scan_start_offset(page) == npage_bytes(page-first_page)); \
page_table[page].gen = new_gen; \
page_table[page].type = new_allocated
gc_assert(page_starts_contiguous_block_p(first_page));
page_index_t page = first_page;
while (remaining_bytes > (sword_t)GENCGC_PAGE_BYTES) {
gc_assert(page_words_used(page) == GENCGC_PAGE_WORDS);
CHECK_AND_SET_PTE_FIELDS();
remaining_bytes -= GENCGC_PAGE_BYTES;
page++;
}
/* Now at most one page of data in use by the object remains,
* but there may be more unused pages beyond which will be freed. */
/* This page must have at least as many bytes in use as expected */
gc_assert((sword_t)page_bytes_used(page) >= remaining_bytes);
CHECK_AND_SET_PTE_FIELDS();
/* Adjust the bytes_used. */
page_bytes_t prev_bytes_used = page_bytes_used(page);
set_page_bytes_used(page, remaining_bytes);
uword_t bytes_freed = prev_bytes_used - remaining_bytes;
/* Free unused pages that were originally allocated to this object. */
page++;
while (prev_bytes_used == GENCGC_PAGE_BYTES &&
page_table[page].gen == from_space &&
page_table[page].type == old_allocated &&
page_scan_start_offset(page) == npage_bytes(page - first_page)) {
// These pages are part of oldspace, which was un-write-protected.
gc_assert(page_cards_all_marked_nonsticky(page));
/* Zeroing must have been done before shrinking the object.
* (It is strictly necessary for correctness with objects other
* than simple-vector, but pragmatically it reduces accidental
* conservativism when done for simple-vectors as well) */
#ifdef DEBUG
{ lispobj* words = (lispobj*)page_address(page);
int i;
for(i=0; i<(int)(GENCGC_PAGE_BYTES/N_WORD_BYTES); ++i)
if (words[i])
lose("non-zeroed trailer of shrunken object @ %p",
page_address(first_page));
}
#endif
/* It checks out OK, free the page. */
prev_bytes_used = page_bytes_used(page);
set_page_need_to_zero(page, 1);
set_page_bytes_used(page, 0);
reset_page_flags(page);
bytes_freed += prev_bytes_used;
page++;
}
// If this freed nothing, it ought to have gone through the fast path.
gc_assert(bytes_freed != 0);
return bytes_freed;
}
/* "Copy" a large object. If the object is on large object pages,
* and satisifies the condition to remain where it is,
* it is simply promoted, else it is copied.
* To stay on large-object pages, the object must either be at least
* LARGE_OBJECT_SIZE, or must waste fewer than about 1% of the space
* on its allocated pages. Using 32k pages as a reference point:
* 3 pages - ok if size >= 97552
* 2 pages - ... size >= 65040
* 1 page - ... size >= 32528
*
* Bignums and vectors may have shrunk. If the object is not copied,
* the slack needs to be reclaimed, and the page_tables corrected.
*
* Code objects can't shrink, but it's not worth adding an extra test
* for large code just to avoid the loop that performs adjustment, so
* go through the adjustment motions even though nothing happens.
*
*/
lispobj
copy_potential_large_object(lispobj object, sword_t nwords,
struct alloc_region* region, int page_type)
{
page_index_t first_page;
CHECK_COPY_PRECONDITIONS(object, nwords);
/* Check whether it's a large object. */
first_page = find_page_index((void *)object);
gc_dcheck(first_page >= 0);
os_vm_size_t nbytes = nwords * N_WORD_BYTES;
os_vm_size_t rounded = ALIGN_UP(nbytes, GENCGC_PAGE_BYTES);
if (page_single_obj_p(first_page) &&
(nbytes >= LARGE_OBJECT_SIZE || (rounded - nbytes < rounded / 128))) {
// Large BOXED would serve no purpose beyond MIXED, and "small large" is illogical.
if (page_type == PAGE_TYPE_BOXED || page_type == PAGE_TYPE_SMALL_MIXED)
page_type = PAGE_TYPE_MIXED;
os_vm_size_t bytes_freed =
adjust_obj_ptes(first_page, nwords, new_space,
SINGLE_OBJECT_FLAG | page_type);
generations[from_space].bytes_allocated -= (bytes_freed + nbytes);
generations[new_space].bytes_allocated += nbytes;
bytes_allocated -= bytes_freed;
/* Add the region to the new_areas if requested. */
gc_in_situ_live_nwords += nbytes>>WORD_SHIFT;
if (boxed_type_p(page_type)) add_new_area(first_page, 0, nbytes);
return object;
}
return gc_copy_object(object, nwords, region, page_type);
}
/* to copy unboxed objects */
lispobj
copy_unboxed_object(lispobj object, sword_t nwords)
{
return gc_copy_object(object, nwords, unboxed_region, PAGE_TYPE_UNBOXED);
}
/* This WILL NOT reliably work for objects in a currently open allocation region,
* because page_words_used() is not sync'ed to the free pointer until closing.
* However it should work reliably for codeblobs, because if you can hold
* a reference to the codeblob, then either you'll find it in the generation 0
* tree, or else can linearly scan for it in an older generation */
static lispobj dynspace_codeblob_tree_snapshot; // valid only during GC
lispobj *search_dynamic_space(void *pointer)
{
page_index_t page_index = find_page_index(pointer);
/* The address may be invalid, so do some checks.
* page_index -1 is legal, and page_free_p returns true in that case. */
if (page_free_p(page_index)) return NULL;
int type = page_table[page_index].type & PAGE_TYPE_MASK;
// Generation 0 code is in the tree usually - it isn't for objects
// in generation 0 following a non-promotion cycle.
if (type == PAGE_TYPE_CODE && page_table[page_index].gen == 0) {
lispobj tree = dynspace_codeblob_tree_snapshot ? dynspace_codeblob_tree_snapshot :
SYMBOL(DYNSPACE_CODEBLOB_TREE)->value;
lispobj node = brothertree_find_lesseql((uword_t)pointer, tree);
if (node != NIL) {
lispobj *found = (lispobj*)((struct binary_node*)INSTANCE(node))->uw_key;
int widetag = widetag_of(found);
if (widetag != CODE_HEADER_WIDETAG && widetag != FUNCALLABLE_INSTANCE_WIDETAG)
lose("header not OK for code page: @ %p = %"OBJ_FMTX"\n", found, *found);
sword_t nwords = object_size(found);
lispobj *upper_bound = found + nwords;
if (pointer < (void*)upper_bound) return found;
}
}
char* limit = page_address(page_index) + page_bytes_used(page_index);
if ((char*)pointer > limit) return NULL;
if (type == PAGE_TYPE_CONS) {
return (lispobj*)ALIGN_DOWN((uword_t)pointer, 2*N_WORD_BYTES);
}
lispobj *start;
if (type == PAGE_TYPE_SMALL_MIXED) { // find the nearest card boundary below 'pointer'
start = (lispobj*)ALIGN_DOWN((uword_t)pointer, GENCGC_CARD_BYTES);
} else {
start = (lispobj *)page_scan_start(page_index);
}
return gc_search_space(start, pointer);
}
/* Return true if and only if everything on the specified page is NOT subject
* to evacuation, i.e. either the page is not in 'from_space', or is entirely
* pinned. "Entirely pinned" is predicated on being marked as pinned,
* and satisfying one of two additional criteria:
* 1. the page is a single-object page
* 2. the page contains only code, and all code objects are pinned.
*
* A non-large-object page that is marked "pinned" does not suffice
* to be considered entirely pinned if it contains other than code.
*/
int pin_all_dynamic_space_code;
static inline int immune_set_memberp(page_index_t page)
{
return (page_table[page].gen != from_space)
|| (gc_page_pins[page] &&
(page_single_obj_p(page) ||
(is_code(page_table[page].type) && pin_all_dynamic_space_code)));
}
// Only a bignum, code blob, or vector could be on a single-object page.
#define potential_largeobj_p(w) \
(w==BIGNUM_WIDETAG || w==CODE_HEADER_WIDETAG || \
(w>=SIMPLE_VECTOR_WIDETAG && w < COMPLEX_BASE_STRING_WIDETAG))
static inline __attribute__((unused))
int lowtag_ok_for_page_type(__attribute__((unused)) lispobj ptr,
__attribute__((unused)) int page_type) {
// If the young generation goes to mixed-region, this filter is not valid
#ifdef LISP_FEATURE_USE_CONS_REGION
// This doesn't currently decide on acceptability for code/non-code
if (lowtag_of(ptr) == LIST_POINTER_LOWTAG) {
if (page_type != PAGE_TYPE_CONS) return 0;
} else {
if (page_type == PAGE_TYPE_CONS) return 0;
}
#endif
return 1;
}
/*
* We offer many variations on root scanning:
* 1. X86: all refs from them stack are ambiguous, and pin their referent
* if there is one. All refs from registers (interrupt contexts)
* are ambiguous, and similarly pin their referent if there is one.
* Interior pointers are disallowed to anything except code.
* (FIXME: the PC to the jump instruction into an immobile fdefn
* or self-contained trampoline GF - what does it do wrt pinning???)
*
* 2. ARM64: interior code pointers from the stack are ambiguous
* and pin their referent if there is one,
* Non-code references are unambiguous, and do NOT pin their referent.
* Only the call chain is scanned for code pointers.
* Interrupt context registers are unambiguous, and can get
* altered by GC.
*
* 3. PPC64: interior code pointers from the stack are ambiguous roots,
* and pin their referent if there is one.
* FDEFN pointers may be untagged, and are therefore ambiguous.
* They pin their referent if there is one, but only if the reference
* is from a register in an interrupt context, not the control stack.
* (codegen will never spill an untagged fdefn to the stack)
* All other non-code object pointers are unambiguous, and do NOT pin
* their referent from the stack.
* Interrupt context registers are unambiguous and DO pin their referent.
* The entire control stack is scanned for code pointers, thus avoiding
* reliance on a correct backtrace. (I doubt the veracity of all claims
* to the backtrace chain being correct in the presence of interrupts)
*
* 4. All references from the stack are tagged, and precise, and none pin
* their referent.
* Interrupt contexts registers are unambiguous, and do not pin their referent.
* (pertains to any architecture not specifically mentione above)
*
* A single boolean value for GENCGC_IS_PRECISE is inadequate to express
* the possibilities. Anything except case 1 is considered "precise".
* Because of the variations, there are many other #ifdefs surrounding
* the logic pertaining to stack and interrupt context scanning.
* Anyway, the above is the theory, but in practice, we have to treat
* some unambiguous pointers as ambiguous for lack of information
* in conservative_root_p what the intent is.
*/
#define AMBIGUOUS_POINTER 1
#if !GENCGC_IS_PRECISE
// Return the starting address of the object containing 'addr'
// if and only if the object is one which would be evacuated from 'from_space'
// were it allowed to be either discarded as garbage or moved.
// 'addr_page_index' is the page containing 'addr' and must not be -1.
// Return 0 if there is no such object - that is, if addr is past the
// end of the used bytes, or its pages are not in 'from_space' etc.
static lispobj conservative_root_p(lispobj addr, page_index_t addr_page_index)
{
/* quick check 1: Address is quite likely to have been invalid. */
struct page* page = &page_table[addr_page_index];
bool enforce_lowtag = !is_code(page->type);
if ((addr & (GENCGC_PAGE_BYTES - 1)) >= page_bytes_used(addr_page_index) ||
(!is_lisp_pointer(addr) && enforce_lowtag) ||
(compacting_p() && immune_set_memberp(addr_page_index)))
return 0;
gc_assert(!(page->type & OPEN_REGION_PAGE_FLAG));
/* If this page can hold only one object, the test is very simple.
* Code pages allow random interior pointers, but only a correctly
* tagged pointer to the boxed words. Tagged interior pointers to SIMPLE-FUNs
* are just as good as any untagged instruction pointer. */
if (page_single_obj_p(addr_page_index)) {
lispobj* object_start = page_scan_start(addr_page_index);
int widetag = widetag_of(object_start);
if (instruction_ptr_p((char*)addr, object_start) ||
(potential_largeobj_p(widetag) &&
// Conveniently all potential largeobjs are OTHER_POINTER
make_lispobj(object_start, OTHER_POINTER_LOWTAG) == addr))
return make_lispobj(object_start, OTHER_POINTER_LOWTAG);
return 0;
}
/* For pages of code:
* - we can't enforce a particular lowtag on the pointer.
* - we have to find the object base, because pinning a code object
* pins its embedded simple-funs and vice-versa.
* I don't know what to think about pointing to filler objects.
* It seems like a bad idea, but what if Lisp code does that?
* Can it crash if we free the page? I'll assume we're fine
* unless someone can show otherwise */
if (is_code(page->type)) {
lispobj* object_start = search_dynamic_space((void*)addr);
/* This search must not fail. We've already verified that the
* pointer is within range for its page. */
gc_assert(object_start);
switch (widetag_of(object_start)) {
case CODE_HEADER_WIDETAG:
/* If 'addr' points anywhere beyond the boxed words, it's valid
* (i.e. allow it even if an incorrectly tagged pointer to a simple-fun header)
* FIXME: Do we want to allow pointing at the untagged base address too?
* It'll find a key in the codeblob tree, but why would Lisp have the
* untagged pointer and expect it to be a strong reference? */
if (instruction_ptr_p((void*)addr, object_start)
|| addr == make_lispobj(object_start, OTHER_POINTER_LOWTAG))
return make_lispobj(object_start, OTHER_POINTER_LOWTAG);
return 0;
#ifdef LISP_FEATURE_X86_64
case FUNCALLABLE_INSTANCE_WIDETAG:
// Allow any of these to pin a funcallable instance:
// - pointer to embedded machine instructions
// - untagged pointer to trampoline word
// - correctly tagged pointer
if ((addr >= (uword_t)(object_start+2) && addr < (uword_t)(object_start+4))
|| addr == (lispobj)(object_start+1)
|| addr == make_lispobj(object_start, FUN_POINTER_LOWTAG))
return make_lispobj(object_start, FUN_POINTER_LOWTAG);
return 0;
#endif
}
return 0;
}
/* For non-code, the pointer's lowtag and widetag must correspond.
* The putative object header can safely be read even if it turns out
* that the pointer is not valid, because 'addr' was in bounds for the page.
* Note that this can falsely pass if looking at the interior of an unboxed
* array that masquerades as a Lisp object header by random chance. */
if (widetag_of(native_pointer(addr)) != FILLER_WIDETAG
&& lowtag_ok_for_page_type(addr, page->type)
&& plausible_tag_p(addr)) return AMBIGUOUS_POINTER;
// FIXME: I think there is a window of GC vulnerability regarding FINs
// and FDEFNs containing executable bytes. In either case if the only pointer
// to such an object is the program counter, the object could be considered
// garbage because there is no _tagged_ pointer to it.
// This is an almost impossible situation to arise, but seems worth some study.
return 0;
}
#elif defined LISP_FEATURE_MIPS || defined LISP_FEATURE_PPC64
/* Consider interior pointers to code as roots, and untagged fdefn pointers.
* But most other pointers are *unambiguous* conservative roots.
* This is not "less conservative" per se, than the non-precise code,
* because it's actually up to the user of this predicate to decide whehther
* the control stack as a whole is scanned for objects to pin.
* The so-called "precise" code should generally NOT scan the stack,
* and not call this on stack words.
* Anyway, this code isn't as performance-critical as the x86 variant,
* so it's not worth trying to optimize out the search for the object */
static lispobj conservative_root_p(lispobj addr, page_index_t addr_page_index)
{
struct page* page = &page_table[addr_page_index];
// quick check: within from_space and within page usage
if ((addr & (GENCGC_PAGE_BYTES - 1)) >= page_bytes_used(addr_page_index) ||
(compacting_p() && immune_set_memberp(addr_page_index)))
return 0;
gc_assert(!(page->type & OPEN_REGION_PAGE_FLAG));
/* Find the containing object, if any
* This is slightly less quick than could be: if sticky_preserve_pointer() was
* called on the contents of a boxed register, then we know that the value is
* a properly tagged descriptor, and don't really need to "search" for an object.
* (And in fact we should rule out fixnums up front)
* Unfortunately sticky_preserve_pointer() does not inform conservative_root_p()
* whether the pointer is known good. So we need a slightly different interface
* to achieve that extra bit of efficiency */
lispobj* object_start = search_dynamic_space((void*)addr);
if (!object_start) return 0;
// Untagged fdefn pointer or code pointer: ok
if ((widetag_of(object_start) == FDEFN_WIDETAG && addr == (uword_t)object_start)
|| is_code(page->type))
return make_lispobj(object_start, OTHER_POINTER_LOWTAG);
/* Take special care not to return fillers. A real-world example:
* - a boxed register contains 0x528b4000
* - the object formerly at 0x528b4000 is a filler
* - compute_lispobj(0x528b4000) returns 0x528b4000 because LOWTAG_FOR_WIDETAG
* says that FILLER_WIDTAG has a 0 lowtag.
* compute_lispobj simply ORs in the 0 which gives back the original address
* and that of course satisfies the equality test. */
// Correctly tagged pointer: ok
if (addr == compute_lispobj(object_start)
&& widetag_of(object_start) != FILLER_WIDETAG)
return addr;
return 0;
}
#endif
/* Adjust large bignum and vector objects. This will adjust the
* allocated region if the size has shrunk, and change boxed pages
* into unboxed pages. The pages are not promoted here, and the
* object is not added to the new_regions; this is really
* only designed to be called from preserve_pointer(). Shouldn't fail
* if this is missed, just may delay the moving of objects to unboxed
* pages, and the freeing of pages. */
static void
maybe_adjust_large_object(lispobj* where, page_index_t first_page, sword_t nwords)
{
int page_type;
/* Check whether it's a vector or bignum object. */
/* There is no difference between MIXED and BOXED for large objects,
* because in any event we'll use the large simple-vector optimization
* for root scavenging if applicable. */
lispobj widetag = widetag_of(where);
if (widetag == SIMPLE_VECTOR_WIDETAG)
page_type = SINGLE_OBJECT_FLAG | PAGE_TYPE_MIXED;
#ifndef LISP_FEATURE_UBSAN
else if (specialized_vector_widetag_p(widetag) || widetag == BIGNUM_WIDETAG)
page_type = SINGLE_OBJECT_FLAG | PAGE_TYPE_UNBOXED;
#endif
else
return;
os_vm_size_t bytes_freed =
adjust_obj_ptes(first_page, nwords, from_space, page_type);
generations[from_space].bytes_allocated -= bytes_freed;
bytes_allocated -= bytes_freed;
}
/* After scavenging of the roots is done, we go back to the pinned objects
* and look within them for pointers. Additionally we delete any keys
* from the list of pins that were not legal object addresses,
* but passed through all the filters in conservative_root_p.
*/
#define SMALL_MAX_PINS 200
static uword_t small_pins_vector[SMALL_MAX_PINS];
uword_t gc_pinned_nwords;
static void refine_ambiguous_roots()
{
void gc_heapsort_uwords(uword_t*, int);
int pre_deletion_count = pinned_objects.count;
gc_pin_count = pre_deletion_count;
if (pre_deletion_count == 0) return;
/* We need a place to sort the keys of pinned_objects. If the key count is small,
* use the small_pins vector; otherwise grab some memory via mmap */
lispobj* workspace;
if (pre_deletion_count < SMALL_MAX_PINS) { // leave room for sentinel at end
workspace = small_pins_vector;
} else {
pins_alloc_size = ALIGN_UP((pre_deletion_count+1)*N_WORD_BYTES, BACKEND_PAGE_BYTES);
workspace = (lispobj*)os_allocate(pins_alloc_size);
gc_assert(workspace);
}
gc_filtered_pins = workspace; // needed for obliterate_nonpinned_words
lispobj key;
int count = 0, index;
for_each_hopscotch_key(index, key, pinned_objects) {
gc_assert(is_lisp_pointer(key));
// Preserve only the object base addresses, including any "false" pointers.
if (listp(key) || widetag_of(native_pointer(key)) != SIMPLE_FUN_WIDETAG)
workspace[count++] = key;
}
gc_heapsort_uwords(workspace, count);
/* Algorithm:
* for each group of keys with the same page_scan_start
* - scan the heap at the indicated start address
* - "intersect" the list of objects visited with the list of
* ambiguous roots (this is easy because the keys are sorted)
* - change any missed key to 0 as we go
*/
lispobj *where = 0, // as is tradition
*previous_scan_start = 0;
int removed = 0;
for (index = 0 ; index < count ; ++index) {
lispobj* key = native_pointer(workspace[index]);
lispobj* scan_start = page_scan_start(find_page_index(key));
if (scan_start != previous_scan_start) where = previous_scan_start = scan_start;
/* Scan forward from 'where'. This does not need a termination test based
* on page_bytes_used because we know that 'key' was in-bounds for its page.
* Therefore at least as many bytes are in use on the page as are needed
* to enclose 'where'. If the next object we would visit is beyond it,
* then we're done; the key was not found */
while (1) {
if (where < key) {
where += object_size(where);
} else if (where == key) {
break;
} else { // 'where' went past the key, so the key is bad
workspace[index] = 0;
removed = 1;
break;
}
}
}
// Delete any 0s
if (removed) {
int new_index = 0;
for (index = 0 ; index < count; ++index) {
key = workspace[index];
if (key) workspace[new_index++] = key;
}
gc_assert(new_index < count);
count = new_index;
}
gc_pin_count = count;
if (!(gencgc_verbose & 4)) return;
// Print in multiple columns to fit more on a screen
// and sort like 'ls' (down varying fastest)
char description[24];
fprintf(stderr, "Sorted pin list (%d):\n", count);
const int ncolumns = 4;
int nrows = ALIGN_UP(count,ncolumns) / ncolumns;
int row, col;
for (row = 0; row < nrows; ++row) {
for (col = 0; col < ncolumns; ++col) {
int index = col * nrows + row;
if (index < count) {
lispobj* obj = native_pointer(workspace[index]);
lispobj word = *obj;
strcpy(description, "cons");
if (is_header(word))
snprintf(description, sizeof description, "%s,%ldw",
widetag_names[header_widetag(word)>>2],
(long)object_size(obj));
fprintf(stderr, " %"OBJ_FMTX": %-24s", (uword_t)obj, description);
}
}
putc('\n', stderr);
}
}
/* After scavenging of the roots is done, we go back to the pinned objects
* and look within them for pointers. */
static void
scavenge_pinned_ranges()
{
int i;
lispobj key;
sword_t nwords = 0;
for (i = 0; i < gc_pin_count; ++i) {
key = gc_filtered_pins[i];
gc_assert(is_lisp_pointer(key));
lispobj* obj = native_pointer(key);
if (listp(key)) {
scavenge(obj, 2);
nwords += 2;
} else {
lispobj header = *obj;
nwords += scavtab[header_widetag(header)](obj, header);
}
}
gc_pinned_nwords = nwords;
}
/* visit_freed_objects() was designed to support post-GC actions such as
* recycling of unused symbol TLS indices. However, I could not make this work
* as claimed at the time that it gets called, so at best this is reserved
* for debugging, and only when you can tolerate some inaccuracy.
*
* The problem is that oldspace pages which were not pinned should eventually
* be scanned en masse using contiguous blocks as large as possible without
* encroaching on pinned pages. But we need to visit the dead objects on partially
* pinned pages prior to turning those objects into page-filling objects.
* Based on a real-life example, finding a correct approach is difficult.
* Consider three pages all having the same scan_start of 0x1008e78000,
* with the final page and only the final containing a pinned object:
*
* start: 0x1008e78000 0x1008e80000 0x1008e88000
* pin: 0x1008e8bec0
* ^------------------+------------------|
* There is a page-spanning (SIMPLE-ARRAY (UNSIGNED-BYTE 64) 8192)
* from 0x1008e78000 to 0x1008E88010 (exclusive). The penultimate word
* of that array appears to be a valid widetag:
*
* 0x1008e88000: 0x0000000000001df1
* 0x1008e88008: 0x0000000000000000
* followed by:
* 0x1008e88010: 0x0000001006c798c7 CONS
* 0x1008e88018: 0x0000001008e88447
* 0x1008e88020: 0x00000000000000ad (SIMPLE-ARRAY (UNSIGNED-BYTE 64) 32)
* 0x1008e88028: 0x0000000000000040
* ... pretty much anything in here ...
* 0x1008e8bec0: any valid pinned object
*
* Page wiping ignores the pages based at 0x1008e78000 and 0x1008e80000
* and it is only concerned with the range from 0x1008e88000..0x1008e8bec0
* which becomes filler. The question is how to traverse objects in the filled
* range. You can't start scanning dead objects at the page base address
* of the final page because that would parse these objects as:
*
* 0x1008e88000: 0x0000000000001df1 (complex-vector-nil) ; 30 words
* 0x1008e880f0: any random garbage
*
* But if you scan from the correct scan start of 0x1008e78000 then how do you
* know to skip that page later (in free_oldspace), as it is entirely in oldspace,
* but partially visited already? This what in malloc/free terms would be
* a "double free", and there is no obvious solution to that.
*/
void visit_freed_objects(char __attribute__((unused)) *start,
sword_t __attribute__((unused)) nbytes)
{
#ifdef TRAVERSE_FREED_OBJECTS
/* At this point we could attempt to recycle unused TLS indices
* as follows: For each now-garbage symbol that had a nonzero index,
* return that index to a "free TLS index" pool, perhaps a linked list
* or bitmap. Then either always try the free pool first (for better
* locality) or if ALLOC-TLS-INDEX detects exhaustion (for speed). */
lispobj* where = (lispobj*)start;
lispobj* end = (lispobj*)(start + nbytes);
while (where < end) {
lispobj word = *where;
if (forwarding_pointer_p(where)) { // live oject
/* CAUTION: This CAN NOT WORK RELIABLY. Due to gc_copy_object_resizing()
* we might compute the wrong size because we take it from the copy.
* Are there other places where we get this wrong??? I sure hope not */
lispobj* fwd_where = native_pointer(forwarding_pointer_value(where));
fprintf(stderr, "%p: -> %p\n", where, fwd_where);
where += object_size(fwd_where);
} else { // dead object
fprintf(stderr, "%p: %"OBJ_FMTX" %"OBJ_FMTX"\n", where, where[0], where[1]);
if (is_header(word)) {
// Do something interesting
where += headerobj_size(where, word);
} else {
/* Can't do much useful with conses because often we can't distinguish
* filler from data. visit_freed_objects is called on ranges of pages
* without regard to whether each intervening page was completely full.
* (This is not usually the way, but freeing of pages is slightly
* imprecise in that regard).
* And it's probably broken, since we leave detritus on code pages */
where += 2;
}
}
}
#endif
}
/* Deposit a FILLER_WIDETAG object covering one or more dead objects.
* If using more than 1 card per page, scavenge_root_gens() is able to scan
* some pages without aligning to object boundaries. For that to work,
* it must not accidentally see a raw word or leftover garbage.
* Note that while CONS and SMALL_MIXED pages never have card-spanning objects,
* deposit_filler() deals with the "mirror image" of the pinned objects,
* hence it might get a card-spanning filler. It has to do something to ensure
* that no card will see garbage if scanned from its base address.
* To achieve that, an extra filler may be needed at the start of any spanned card.
* The sizes of extra fillers don't have to sum up to the total filler size.
* They serve the vital purpose of getting descriptors_scavenge() to skip a
* portion of the card they're on, but those fillers are never visited in a
* heap walk that steps by object from a page's page_scan_start.
* The final filler must be the correct size, so any algorithm that achieves
* the desired end result is OK */
void deposit_filler(char* from, char* to) {
sword_t nbytes = to - from;
if (!nbytes) return;
gc_assert(nbytes > 0);
sword_t nwords = nbytes >> WORD_SHIFT;
gc_assert((nwords - 1) <= 0x7FFFFF);
page_index_t page = find_page_index(from);
gc_assert(find_page_index(to-1) == page);
*(lispobj*)from = make_filler_header(nwords);
long unsigned last_card;
switch (page_table[page].type) {
case PAGE_TYPE_BOXED:
case PAGE_TYPE_CONS:
case PAGE_TYPE_SMALL_MIXED:
last_card = addr_to_card_index(to-1);
while (addr_to_card_index(from) != last_card) {
from = PTR_ALIGN_DOWN(from, GENCGC_CARD_BYTES) + GENCGC_CARD_BYTES;
nwords = (to - from) >> WORD_SHIFT;
*(lispobj*)from = make_filler_header(nwords);
}
}
}
/* Deposit filler objects on small object pinned pages.
* Also ensure that no scan_start_offset points to a page in
* oldspace that will be freed.
*/
static void obliterate_nonpinned_words()
{
if (!gc_pin_count) return;
#define page_base(x) ALIGN_DOWN(x, GENCGC_PAGE_BYTES)
// This macro asserts that space accounting happens exactly
// once per affected page (a page with any pins, no matter how many)
#define adjust_gen_usage(i) \
gc_assert(page_table[i].gen == from_space); \
bytes_moved += page_bytes_used(i); \
page_table[i].gen = new_space
lispobj* keys = gc_filtered_pins;
int n_pins = gc_pin_count;
// Store a sentinel at the end.
// It is safe to write one more word than there are pins.
keys[n_pins] = ~(uword_t)0;
// Each pinned object begets two ranges of bytes to be turned into filler:
// - the range preceding it back to its page start or predecessor object
// - the range after it, up to the lesser of page bytes used or successor object
// Prime the loop
uword_t fill_from = page_base(keys[0]);
os_vm_size_t bytes_moved = 0; // i.e. virtually moved
int i;
for (i = 0; i < n_pins; ++i) {
lispobj* obj = native_pointer(keys[i]);
page_index_t begin_page_index = find_page_index(obj);
// Create a filler object occupying space from 'fill_from' up to but
// excluding 'obj'.
deposit_filler((char*)fill_from, (char*)obj);
if (fill_from == page_base((uword_t)obj)) {
adjust_gen_usage(begin_page_index);
// This pinned object started a new page of pins.
// scan_start must not see any page prior to this page,
// as those might be in oldspace and about to be marked free.
set_page_scan_start_offset(begin_page_index, 0);
}
// If 'obj' spans pages, move its successive page(s) to newspace and
// ensure that those pages' scan_starts point at the same address
// that this page's scan start does, which could be this page or earlier.
sword_t nwords = object_size(obj);
uword_t obj_end = (uword_t)(obj + nwords); // non-inclusive address bound
page_index_t end_page_index = find_page_index((char*)obj_end - 1); // inclusive bound
if (end_page_index > begin_page_index) {
char *scan_start = page_scan_start(begin_page_index);
page_index_t index;
for (index = begin_page_index + 1; index <= end_page_index; ++index) {
set_page_scan_start_offset(index,
addr_diff(page_address(index), scan_start));
adjust_gen_usage(index);
}
}
// Compute page base address of last page touched by this obj.
uword_t obj_end_pageaddr = page_base(obj_end - 1);
// See if there's another pinned object on this page.
// There is always a next object, due to the sentinel.
if (keys[i+1] < obj_end_pageaddr + GENCGC_PAGE_BYTES) {
// Next object starts within the same page.
fill_from = obj_end;
} else {
/* Next pinned object does not start on the same page this obj ends on.
* Any bytes following 'obj' up to its page end are garbage.
* The reason we don't merely reduce the page_bytes_used is that decreasing
* the grand total bytes allocated had a tendency to delay triggering the
* next GC. This phenomenon was especially bad if the only pinned objects
* were at the start of a page, as it caused the entire rest of the page to
* be unusable. :SMALLOBJ-AUTO-GC-TRIGGER from rev dfddbc8a tests this */
deposit_filler((char*)obj_end,
(char*)obj_end_pageaddr + page_bytes_used(end_page_index));
fill_from = page_base(keys[i+1]);
}
}
generations[from_space].bytes_allocated -= bytes_moved;
generations[new_space].bytes_allocated += bytes_moved;
#undef adjust_gen_usage
#undef page_base
if (pins_alloc_size) {
os_deallocate((char*)gc_filtered_pins, pins_alloc_size);
gc_filtered_pins = 0;
gc_pin_count = 0;
pins_alloc_size = 0;
}
}
int sb_introspect_pinnedp(lispobj obj) {
return hopscotch_containsp(&pinned_objects, obj);
}
/* Add 'object' to the hashtable, and if the object is a code component,
* then also add all of the embedded simple-funs.
* It is OK to call this function on an object which is already pinned-
* it will do nothing.
* But it is not OK to call this if the object is not one which merits
* pinning in the first place. i.e. It MUST be an object in from_space
* and moreover must be in the condemned set, which means that it can't
* be a code object if pin_all_dynamic_space_code is 1.
*
* The rationale for doing some extra work on code components is that without it,
* every call to pinned_p() would entail this logic:
* if the object is a simple-fun then
* read the header
* if already forwarded then return "no"
* else go backwards to the code header and test pinned_p().
* But we can avoid that by making every embedded function pinned
* whenever the containing object is pinned.
* Experimentation bears out that this is the better technique.
* Also, we wouldn't often expect code components in the collected generation
* so the extra work here is quite minimal, even if it can generally add to
* the number of keys in the hashtable.
*/
#define PAGE_PINNED 0xFF
static void pin_object(lispobj object)
{
if (!compacting_p()) {
gc_mark_obj(object);
return;
}
lispobj* object_start = native_pointer(object);
page_index_t page = find_page_index(object_start);
/* Large object: the 'pinned' bit in the PTE on the first page should be definitive
* for that object. However, all occupied pages have to marked pinned,
* because move_pinned_pages_to_newspace() looks at pages as if they're independent.
* That seems to be the only place that cares how many pages' pinned bits are affected
* here for large objects, though I do wonder why we can't move the object right now
* and be done with it */
if (page_single_obj_p(page)) {
if (gc_page_pins[page]) return;
sword_t nwords = object_size(object_start);
maybe_adjust_large_object(object_start, page, nwords);
page_index_t last_page = find_page_index(object_start + nwords - 1);
while (page <= last_page) gc_page_pins[page++] = PAGE_PINNED;
return;
}
// Multi-object page (the usual case) - presence in the hash table is the pinned criterion.
// The 'pinned' bit is a coarse-grained test of whether to bother looking in the table.
if (hopscotch_containsp(&pinned_objects, object)) return;
hopscotch_insert(&pinned_objects, object, 1);
unsigned int addr_lowpart = object & (GENCGC_PAGE_BYTES-1);
// Divide the page into 8 parts, mark that part pinned
gc_page_pins[page] |= 1 << (addr_lowpart / (GENCGC_PAGE_BYTES/8));
struct code* maybe_code = (struct code*)native_pointer(object);
// Avoid iterating over embedded simple-funs until the debug info is set.
// Prior to that, the unboxed payload will contain random bytes.
// There can't be references to any of the simple-funs
// until the object is fully constructed.
if (widetag_of(&maybe_code->header) == CODE_HEADER_WIDETAG && maybe_code->debug_info) {
for_each_simple_fun(i, fun, maybe_code, 0, {
hopscotch_insert(&pinned_objects, make_lispobj(fun, FUN_POINTER_LOWTAG), 1);
addr_lowpart = (uword_t)fun & (GENCGC_PAGE_BYTES-1);
gc_page_pins[find_page_index(fun)] |=
1 << (addr_lowpart / (GENCGC_PAGE_BYTES/8));
})
}
}
#if !GENCGC_IS_PRECISE || defined LISP_FEATURE_MIPS || defined LISP_FEATURE_PPC64
/* Take a possible pointer to a Lisp object and mark its page in the
* page_table so that it will not be relocated during a GC.
*
* This involves locating the page it points to, then backing up to
* the start of its region, then marking all pages pinned from there
* up to the first page that's not full or has a different generation
*
* It is assumed that all the pages' pin flags have been cleared at
* the start of a GC.
*
* It is also assumed that the current gc_alloc() region has been
* flushed and the tables updated. */
static void NO_SANITIZE_MEMORY preserve_pointer(os_context_register_t word, void* arg)
{
int contextp = arg == (void*)1;
page_index_t page = find_page_index((void*)word);
if (page < 0) {
// Though immobile_space_preserve_pointer accepts any pointer,
// there's a benefit to testing immobile_space_p first
// because it's inlined. Either is a no-op if no immobile space.
if (immobile_space_p(word))
immobile_space_preserve_pointer((void*)word);
return;
}
// Special case for untagged instance pointers in registers. This might belong in
// conservative_root_p() but the pointer has to be adjusted here or else the wrong
// value will be inserted into 'pinned_objects' (which demands tagged pointers)
if (contextp && lowtag_of(word) == 0 &&
(page_table[page].type == PAGE_TYPE_MIXED ||
page_table[page].type == PAGE_TYPE_SMALL_MIXED) &&
widetag_of((lispobj*)word) == INSTANCE_WIDETAG)
word |= INSTANCE_POINTER_LOWTAG;
lispobj object = conservative_root_p(word, page);
if (!object) return;
if (object != AMBIGUOUS_POINTER) {
pin_object(object);
return;
}
// It's a non-large non-code ambiguous pointer.
if (compacting_p()) {
if (!hopscotch_containsp(&pinned_objects, word)) {
hopscotch_insert(&pinned_objects, word, 1);
unsigned int addr_lowpart = word & (GENCGC_PAGE_BYTES-1);
// Divide the page into 8 parts, mark that part pinned
gc_page_pins[page] |= 1 << (addr_lowpart / (GENCGC_PAGE_BYTES/8));
}
return;
}
// Mark only: search for the object, because fullcgc can't handle random pointers
lispobj* found = search_dynamic_space((void*)word);
if (found) gc_mark_obj(compute_lispobj(found));
}
/* Additional logic for soft marks: any word that is potentially a
* tagged pointer to a page being written must preserve the mark regardless
* of what update_writeprotection() thinks. That's because the mark is set
* prior to storing. If GC occurs in between setting the mark and storing,
* then resetting the mark would be wrong if the subsequent store
* creates an old->young pointer.
* Mark stickiness is checked only once per invocation of collect_garbage(),
* so it when scanning interrupt contexts for generation 0 but not higher gens.
* Also note the two scenarios:
* (1) tagged pointer to a large simple-vector, but we scan card-by-card
* for specifically the marked cards. This has to be checked first
* so as not to fail to see subsequent cards if the first is marked.
* (2) tagged pointer to an object that marks only the page containing
* the object base.
* And note a subtle point: only an already-marked card can acquire stick
* status. So we can ignore any unmarked (a/k/a WRITEPROTECTED_P) card
* regardless of a context register pointing to it, because if a mark was not
* stored, then the pointer was not stored. Without examining the next few
* instructions, there's no reason even to suppose that a store occurs.
* It seems like the stop-for-GC handler must be enforcing that GC sees things
* stored in the correct order for out-of-order memory models */
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
// registers can be wider than words. This could accept uword_t as the arg type
// but I like it to be directly callable with os_context_register.
static void sticky_preserve_pointer(os_context_register_t register_word, void* arg)
{
uword_t word = register_word;
if (is_lisp_pointer(word)) {
page_index_t page = find_page_index((void*)word);
if (page >= 0 && page_boxed_p(page) // stores to raw bytes are uninteresting
&& (word & (GENCGC_PAGE_BYTES - 1)) < page_bytes_used(page)
&& page_table[page].gen != 0
&& lowtag_ok_for_page_type(word, page_table[page].type)
&& plausible_tag_p(word)) { // "plausible" is good enough
if (lowtag_of(word) == OTHER_POINTER_LOWTAG &&
widetag_of(native_pointer(word)) == SIMPLE_VECTOR_WIDETAG) {
/* if 'word' is the correctly-tagged pointer to the base of a SIMPLE-VECTOR,
* then set the sticky mark on every marked page. The only other large
* objects are CODE (writes to which are pseudo-atomic),
* and BIGNUM (which aren't on boxed pages) */
generation_index_t gen = page_table[page].gen;
while (1) {
long card = page_to_card_index(page);
int i;
for(i=0; i<CARDS_PER_PAGE; ++i)
if (gc_card_mark[card+i]==CARD_MARKED) gc_card_mark[card+i]=STICKY_MARK;
if (page_ends_contiguous_block_p(page, gen)) return;
++page;
}
} else if (gc_card_mark[addr_to_card_index((void*)word)] == CARD_MARKED) {
gc_card_mark[addr_to_card_index((void*)word)] = STICKY_MARK;
}
}
}
preserve_pointer(word, arg);
}
#endif
#endif
/* Pin an unambiguous descriptor object which may or may not be a pointer.
* Ignore immediate objects, and heuristically skip some objects that are
* known to be pinned without looking in pinned_objects.
* pin_object() will always do the right thing and ignore multiple
* calls with the same object in the same collection pass.
*/
static void pin_exact_root(lispobj obj)
{
// These tests are performed in approximate order of quickness to check.
// 1. pointerness
if (!is_lisp_pointer(obj)) return;
// 2. If not moving, then pinning is irrelevant. 'obj' is a-priori live given
// the reference from *PINNED-OBJECTS*, and obviously it won't move.
if (!compacting_p()) return;
// 3. If pointing off-heap, why are you pinning? Just ignore it.
// Would this need to do anything if immobile-space were ported
// to the precise GC platforms. FIXME?
page_index_t page = find_page_index((void*)obj);
if (page < 0) return;
// 4. Ignore if not in the condemned set.
if (immune_set_memberp(page)) return;
// Never try to pin an interior pointer - always use base pointers.
lispobj *object_start = native_pointer(obj);
switch (widetag_of(object_start)) {
case SIMPLE_FUN_WIDETAG:
#ifdef RETURN_PC_WIDETAG
case RETURN_PC_WIDETAG:
#endif
obj = make_lispobj(fun_code_header((struct simple_fun*)object_start),
OTHER_POINTER_LOWTAG);
}
pin_object(obj);
}
/* Return true if 'ptr' is OK to be on a write-protected page
* of an object in 'gen'. That is, if the pointer does not point to a younger object.
* Note: 'ptr' is _sometimes_ an ambiguous pointer - we do not utilize the layout bitmap
* when scanning instances for pointers, so we will occasionally see a raw word for 'ptr'.
* Also, 'ptr might not have a lowtag (such as lockfree list node successor), */
static bool ptr_ok_to_writeprotect(lispobj ptr, generation_index_t gen)
{
page_index_t index;
lispobj __attribute__((unused)) header;
/* Check that it's in the dynamic space */
if ((index = find_page_index((void*)ptr)) != -1) {
int pointee_gen = page_table[index].gen;
if (/* Does it point to a younger or the temp. generation? */
(pointee_gen < gen || pointee_gen == SCRATCH_GENERATION) &&
/* and an in-use part of the page?
* Formerly this examined the bounds of each open region,
* but that is extra work with little benefit. It is faster
* to treat all of any page with an open region as in-use.
* It will self-correct when the region gets closed */
((page_table[index].type & OPEN_REGION_PAGE_FLAG)
|| (ptr & (GENCGC_PAGE_BYTES-1)) < page_bytes_used(index)))
return 0;
}
#ifdef LISP_FEATURE_IMMOBILE_SPACE
else if (immobile_space_p(ptr) &&
other_immediate_lowtag_p(header = *native_pointer(ptr))) {
// This is *possibly* a pointer to an object in immobile space,
// given that above two conditions were satisfied.
// But unlike in the dynamic space case, we need to read a byte
// from the object to determine its generation, which requires care.
// Consider an unboxed word that looks like a pointer to a word that
// looks like simple-fun-widetag. We can't naively back up to the
// underlying code object since the alleged header might not be one.
int pointee_gen = gen; // Make comparison fail if we fall through
switch (header_widetag(header)) {
case SIMPLE_FUN_WIDETAG:
if (functionp(ptr)) {
lispobj* code = (lispobj*)fun_code_header(FUNCTION(ptr));
// This is a heuristic, since we're not actually looking for
// an object boundary. Precise scanning of 'page' would obviate
// the guard conditions here.
if (immobile_space_p((lispobj)code)
&& widetag_of(code) == CODE_HEADER_WIDETAG)
pointee_gen = immobile_obj_generation(code);
}
break;
default:
pointee_gen = immobile_obj_generation(native_pointer(ptr));
}
// A bogus generation number implies a not-really-pointer,
// but it won't cause misbehavior.
if (pointee_gen < gen || pointee_gen == SCRATCH_GENERATION) {
return 0;
}
}
#endif
return 1;
}
#ifndef LISP_FEATURE_SOFT_CARD_MARKS
static inline void protect_page(void* page_addr)
{
os_protect((void *)page_addr, GENCGC_PAGE_BYTES, OS_VM_PROT_JIT_READ);
gc_card_mark[addr_to_card_index(page_addr)] = CARD_UNMARKED;
}
#endif
#define LOCKFREE_LIST_NEXT(x) ((struct list_node*)x)->_node_next
/* Helper function for update_writeprotection.
* If the [where,limit) contain an old->young pointer, then return
* the address - or approximate address - containing such pointer.
* The return value is used as a boolean, but if debugging, you might
* want to see the address */
static lispobj* range_dirty_p(lispobj* where, lispobj* limit, generation_index_t gen)
{
sword_t nwords;
for ( ; where < limit ; where += nwords ) {
lispobj word = *where;
if (is_cons_half(word)) {
if (is_lisp_pointer(word) && !ptr_ok_to_writeprotect(word, gen)) return where;
word = where[1];
if (is_lisp_pointer(word) && !ptr_ok_to_writeprotect(word, gen)) return where;
nwords = 2;
continue;
}
int widetag = widetag_of(where);
gc_dcheck(widetag !== CODE_HEADER_WIDETAG); // This can't be called on a code page
nwords = sizetab[widetag](where);
if (leaf_obj_widetag_p(widetag)) continue; // Do nothing
#ifdef LISP_FEATURE_COMPACT_INSTANCE_HEADER
if (instanceoid_widetag_p(widetag)) {
// instance_layout works on funcallable or regular instances
// and we have to specially check it because it's in the upper
// bytes of the 0th word.
lispobj layout = instance_layout(where);
if (layout) {
if (!ptr_ok_to_writeprotect(layout, gen)) return where;
if (lockfree_list_node_layout_p(LAYOUT(layout)) &&
!ptr_ok_to_writeprotect(LOCKFREE_LIST_NEXT(where), gen))
return where;
}
}
#else
if (widetag == INSTANCE_WIDETAG) {
// instance_layout works only on regular instances,
// we don't have to treat it specially but we do have to
// check for lockfree list nodes.
lispobj layout = instance_layout(where);
if (layout && lockfree_list_node_layout_p(LAYOUT(layout)) &&
!ptr_ok_to_writeprotect(LOCKFREE_LIST_NEXT(where), gen))
return where;
}
#endif
// Scan all the rest of the words even if some of them are raw bits.
// At worst this overestimates the set of pointer words.
sword_t index;
for (index=1; index<nwords; ++index)
if (is_lisp_pointer(where[index]) && !ptr_ok_to_writeprotect(where[index], gen))
return where;
}
return 0;
}
/* Given a range of pages at least one of which is not WPed (logically or physically,
* depending on SOFT_CARD_MARKS), scan all those pages for pointers to younger generations.
* If no such pointers are found, then write-protect the range.
*
* Care is taken to check for pointers to any open allocation regions,
* which by design contain younger objects.
*
* If we find a word which is a witness for the inability to apply write-protection,
* then return the address of the object containing the witness pointer.
* Otherwise return 0. The word address is just for debugging; there are cases
* where we don't apply write protectection, but nonetheless return 0.
*
* This function is still buggy, but not in a fatal way.
* The issue is that for any kind of weak object - hash-table vector,
* weak pointer, or weak simple-vector, we skip scavenging the object
* which might leave some pointers to younger generation objects
* which will later be smashed when processing weak objects.
* That is, the referent is non-live. But when we scanned this page range,
* it looks like it still had the pointer to the younger object.
* To get this really right, we would have to wait until after weak objects
* have been processed.
* It may or may not be possible to get verify_range to croak
* about suboptimal application of WP. Possibly not, because of the hack
* for pinned pages without soft card marking (which won't WP).
*
* See also 'doc/internals-notes/fdefn-gc-safety' for execution schedules
* that lead to invariant loss with FDEFNs. This might not be a problem
* in practice. At least it seems like it never has been.
*/
static lispobj*
update_writeprotection(page_index_t first_page, page_index_t last_page,
lispobj* where, lispobj* limit)
{
/* Shouldn't be a free page. */
gc_dcheck(!page_free_p(first_page)); // Implied by the next assertion
gc_assert(page_words_used(first_page) != 0);
if (!ENABLE_PAGE_PROTECTION) return 0;
if (!page_boxed_p(first_page)) return 0;
page_index_t page;
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
/* If any page is referenced from the stack (mark byte = 2), then we're
* can not apply protection even if we see no witness, because the
* absence of synchronization between mutator and GC means that the next
* instruction issued when the mutator resumes might create the witness,
* and it thinks it already marked a card */
for (page = first_page; page <= last_page; ++page)
if (cardseq_any_sticky_mark(page_to_card_index(page))) return 0;
#else
/* Skip if any page is pinned.
* The 'pinned' check is sort of bogus but sort of necessary,
* but doesn't completely fix the problem that it tries to, which is
* passing a memory address to the OS for it to write into.
* An object on a never-written protected page would still fail.
* It's probably rare to pass boxed pages to the OS, but it could be
* to read fixnums into a simple-vector. */
for (page = first_page; page <= last_page; ++page)
if (gc_page_pins[page]) return 0;
#endif
/* Now we attempt to find any 1 "witness" that the pages should NOT be protected.
* If such witness is found, then return without doing anything, otherwise
* apply protection to the range. */
lispobj* witness = range_dirty_p(where, limit, page_table[first_page].gen);
if (witness) return witness;
for (page = first_page; page <= last_page; ++page) {
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
// Don't worry, the cards are all clean - if any card mark was sticky,
// then we would have bailed out as the first thing (way up above).
assign_page_card_marks(page, CARD_UNMARKED);
#else
// Try to avoid a system call
if (!PAGE_WRITEPROTECTED_P(page)) protect_page(page_address(page));
#endif
}
return 0;
}
/* Decide if this single-object page holds a normal simple-vector.
* "Normal" now includes non-weak address-insensitive k/v vectors */
static inline bool large_scannable_vector_p(page_index_t page) {
lispobj header = *(lispobj *)page_address(page);
if (header_widetag(header) == SIMPLE_VECTOR_WIDETAG) {
int mask = (flag_VectorWeak | flag_VectorAddrHashing) << ARRAY_FLAGS_POSITION;
if (header & mask) return 0;
if (vector_flagp(header, VectorHashing)) {
lispobj* data = ((struct vector*)page_address(page))->data;
// If not very full, use the normal path.
// The exact boundary here doesn't matter too much.
if (KV_PAIRS_HIGH_WATER_MARK(data) < (int)(GENCGC_PAGE_BYTES/N_WORD_BYTES))
return 0;
}
return 1;
}
return 0;
}
/* Attempt to re-protect code from first_page to last_page inclusive.
* The object bounds are 'start' and 'limit', the former being redundant
* with page_address(first_page).
* Immobile space is dealt with in "immobile-space.c"
*/
static void
update_code_writeprotection(page_index_t first_page, page_index_t last_page,
lispobj* start, lispobj* limit)
{
if (!ENABLE_PAGE_PROTECTION) return;
page_index_t i;
for (i=first_page; i <= last_page; ++i) {// last_page is inclusive
gc_assert(is_code(page_table[i].type));
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
if (cardseq_any_sticky_mark(page_to_card_index(i))) {
return;
}
#endif
}
lispobj* where = start;
for (; where < limit; where += headerobj_size(where)) {
switch (widetag_of(where)) {
case CODE_HEADER_WIDETAG:
if (header_rememberedp(*where)) return;
break;
case FUNCALLABLE_INSTANCE_WIDETAG:
if (range_dirty_p(where, where+headerobj_size(where), page_table[first_page].gen))
return;
break;
}
}
for (i = first_page; i <= last_page; i++) assign_page_card_marks(i, CARD_UNMARKED);
}
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
# define card_stickymarked_p(x) (gc_card_mark[x] == STICKY_MARK)
#endif
extern int descriptors_scavenge(lispobj *, lispobj*, generation_index_t, int);
int root_boxed_words_scanned, root_vector_words_scanned, root_mixed_words_scanned;
/* Special treatment for strictly boxed pages improves on the general case as follows:
* - It can skip determining the extent of the contiguous block up front,
* instead just blasting through the cards as it sees them.
* - If only a subset of cards in a contiguous block are dirty, the scan
* can be restricted to that subset. We don't need to align at object boundaries.
* - It is not necessary to invoke a scavenge method specific to each object type.
* - new write-protection status can be recomputed as we go.
* This combination of aspects will be especially beneficial if cards are
* are much smaller than they currently are (like 1K)
* We have two choices for object traversal: walk object-by-object,
* or card-by-card just blasting through the words looking for pointers.
* But the latter can fail on a card-spanning object if care is not taken.
* Example: Suppose the card size is 1K, and an instance has 200 slots.
* The instance consumes around 1600 bytes (@ 8 bytes/word), which conceivably
* could use 3 cards: header + 10 slots on the end of the first card,
* 128 slots on the next, and the remainder on the final card. The soft write
* barrier marks only the card with the header, so we don't know exactly
* which card contains a modified pointer. Therefore, in all cases when using
* card-by-card scan that disregards object boundaries, we have to assume
* that 1 card beyond any marked card contains part of a marked object,
* if that next card has the same scan start as its predecessor.
* But where to stop scanning under this assumption? We shouldn't assume
* that any marked card implies scanning an unbounded number of cards.
* Therefore, a big instance should not be put on a purely boxed card.
* (And granted, a massive instance will go on single-object pages.)
* The other purely boxed objects are cons-sized, so they don't have a problem.
* And (SETF SVREF) does mark an exact card, so it's all good.
* Also, the hardware write barrier does not have this concern.
*/
#define WORDS_PER_CARD (GENCGC_CARD_BYTES/N_WORD_BYTES)
static page_index_t scan_boxed_root_cards_spanning(page_index_t page, generation_index_t gen)
{
__attribute__((unused)) int prev_marked = 0;
do {
lispobj* start = (void*)page_address(page);
lispobj* limit = start + page_words_used(page);
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
long card = addr_to_card_index(start);
/* Cards can change from marked to unmarked (just like with physical protection),
* but also unmarked to marked, if transferring the card mark from the object's
* header card to a cell in that object on a later card.
* Lisp is given leeway because marking the header is easier. So the
* algorithm accepts either way on input, but makes its output canonical.
* (similar in spirit to Postel's Law) */
if (prev_marked || cardseq_any_marked(card)) {
if (GC_LOGGING) fprintf(gc_activitylog(), "scan_roots spanning %p\n", page_address(page));
int j;
for (j=0; j<CARDS_PER_PAGE; ++j, ++card, start += WORDS_PER_CARD) {
int marked = card_dirtyp(card);
if (marked || prev_marked) {
lispobj* end = start + WORDS_PER_CARD;
if (end > limit) end = limit;
int dirty = descriptors_scavenge(start, end, gen, card_stickymarked_p(card));
root_boxed_words_scanned += end - start;
gc_card_mark[card] =
(gc_card_mark[card] != STICKY_MARK) ? (dirty ? CARD_MARKED : CARD_UNMARKED) :
STICKY_MARK;
prev_marked = marked;
}
}
}
#else
if (!PAGE_WRITEPROTECTED_P(page)) {
int dirty = descriptors_scavenge(start, limit, gen, 0);
if (ENABLE_PAGE_PROTECTION && !dirty) protect_page(start);
}
#endif
++page;
} while (!page_ends_contiguous_block_p(page-1, gen));
return page;
}
/* Large simple-vectors and pages of conses are even easier than strictly boxed root pages
* because individual cons cells can't span cards, and vectors always mark the card of a
* specific element. So there is no looking back 1 card to check for a marked header */
static page_index_t scan_boxed_root_cards_non_spanning(page_index_t page, generation_index_t gen)
{
#ifndef LISP_FEATURE_SOFT_CARD_MARKS
/* Physical protection doesn't distinguish between card-spanning and non-card-spanning,
* because the write fault always occurs on the page that is getting dirtied by a store,
* unlike soft marks which can mark an object header, but store onto the next card */
return scan_boxed_root_cards_spanning(page, gen);
#else
do {
lispobj* start = (void*)page_address(page);
long card = addr_to_card_index(start);
if (cardseq_any_marked(card)) {
if (GC_LOGGING) fprintf(gc_activitylog(), "scan_roots non-spanning %p\n", page_address(page));
lispobj* limit = start + page_words_used(page);
int j;
for (j=0; j<CARDS_PER_PAGE; ++j, ++card, start += WORDS_PER_CARD) {
if (card_dirtyp(card)) {
lispobj* end = start + WORDS_PER_CARD;
if (end > limit) end = limit;
int dirty = descriptors_scavenge(start, end, gen,
card_stickymarked_p(card));
root_vector_words_scanned += end - start;
if (!dirty) gc_card_mark[card] = CARD_UNMARKED;
}
}
}
++page;
} while (!page_ends_contiguous_block_p(page-1, gen));
return page;
#endif
}
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
/* PAGE_TYPE_SMALL_MIXED roots are walked object-by-object to avoid affecting any raw word.
* By construction, objects will never span cards */
static page_index_t scan_mixed_root_cards(page_index_t page, generation_index_t gen)
{
do {
lispobj* start = (void*)page_address(page);
long card = addr_to_card_index(start);
if (cardseq_any_marked(card)) {
if (GC_LOGGING) fprintf(gc_activitylog(), "scan_roots subcard mixed %p\n", page_address(page));
lispobj* limit = start + page_words_used(page);
int j;
for (j=0; j<CARDS_PER_PAGE; ++j, ++card, start += WORDS_PER_CARD) {
if (card_dirtyp(card)) {
lispobj* end = start + WORDS_PER_CARD;
if (end > limit) end = limit;
// heap_scavenge doesn't take kindly to inverted start+end
if (start < limit) {
heap_scavenge(start, limit);
if (!card_stickymarked_p(card) && !range_dirty_p(start, limit, gen))
gc_card_mark[card] = CARD_UNMARKED;
} else
gc_card_mark[card] = CARD_UNMARKED;
}
}
}
++page;
} while (!page_ends_contiguous_block_p(page-1, gen));
return page;
}
#endif
/* Scavenge all generations greater than or equal to FROM.
*
* Under the current scheme when a generation is GCed, the generations
* younger than it are empty. So, when a generation is being GCed it
* is only necessary to examine generations older than it for pointers.
*
* Logical or physical write-protection is used to note pages that don't
* contain old->young pointers. But pages can be written without having
* such pointers. After the pages are scavenged here, they are examined
* for old->young pointer, are marked clean (unprotected) if there are none.
*
* Write-protected pages will not have any pointers to the
* from_space so do not need scavenging, but might be visited
* as part of a contiguous range containing a relevant page.
*
*/
static void
scavenge_root_gens(generation_index_t from)
{
page_index_t i = 0;
page_index_t limit = next_free_page;
gc_dcheck(compacting_p());
while (i < limit) {
generation_index_t generation = page_table[i].gen;
if (generation < from || generation == SCRATCH_GENERATION
/* Not sure why word_used is checked. Probably because reset_page_flags()
* does not change the page's gen to an unused number. Perhaps it should */
|| !page_boxed_p(i) || !page_words_used(i)) {
++i;
continue;
}
/* This should be the start of a region */
gc_assert(page_starts_contiguous_block_p(i));
if (page_table[i].type == PAGE_TYPE_BOXED) {
i = scan_boxed_root_cards_spanning(i, generation);
} else if ((page_table[i].type == PAGE_TYPE_CONS) ||
(page_single_obj_p(i) && large_scannable_vector_p(i))) {
i = scan_boxed_root_cards_non_spanning(i, generation);
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
} else if (page_table[i].type == PAGE_TYPE_SMALL_MIXED) {
i = scan_mixed_root_cards(i, generation);
#endif
} else {
page_index_t last_page;
int marked = 0;
/* Now work forward until the end of the region */
for (last_page = i; ; last_page++) {
long card_index = page_to_card_index(last_page);
marked = marked || cardseq_any_marked(card_index);
if (page_ends_contiguous_block_p(last_page, generation))
break;
}
if (marked) {
lispobj* start = (lispobj*)page_address(i);
lispobj* limit =
(lispobj*)page_address(last_page) + page_words_used(last_page);
if (GC_LOGGING) fprintf(gc_activitylog(), "scan_roots mixed %p:%p\n", start, limit);
root_mixed_words_scanned += limit - start;
heap_scavenge(start, limit);
/* Now scan the pages and write protect those that
* don't have pointers to younger generations. */
if (is_code(page_table[i].type))
update_code_writeprotection(i, last_page, start, limit);
else
update_writeprotection(i, last_page, start, limit);
}
i = 1 + last_page;
}
}
}
/* Scavenge a newspace generation. As it is scavenged new objects may
* be allocated to it; these will also need to be scavenged. This
* repeats until there are no more objects unscavenged in the
* newspace generation.
*
* To help improve the efficiency, areas written are recorded by
* gc_alloc() and only these scavenged. Sometimes a little more will be
* scavenged, but this causes no harm. An easy check is done that the
* scavenged bytes equals the number allocated in the previous
* scavenge.
*
* Write-protected pages are not scanned except if they are marked
* pinned, in which case they may have been promoted and still have
* pointers to the from space.
*
* Write-protected pages could potentially be written by alloc however
* to avoid having to handle re-scavenging of write-protected pages
* gc_alloc() does not write to write-protected pages.
*
* New areas of objects allocated are recorded alternatively in the two
* new_areas arrays below. */
static struct new_area new_areas_1[NUM_NEW_AREAS];
static struct new_area new_areas_2[NUM_NEW_AREAS];
/* Do one full scan of the new space generation. This is not enough to
* complete the job as new objects may be added to the generation in
* the process which are not scavenged. */
static void newspace_full_scavenge(generation_index_t generation)
{
page_index_t i;
for (i = 0; i < next_free_page; i++) {
if ((page_table[i].gen == generation) && page_boxed_p(i)
&& (page_words_used(i) != 0)
&& cardseq_any_marked(page_to_card_index(i))) {
page_index_t last_page;
/* The scavenge will start at the scan_start_offset of
* page i.
*
* We need to find the full extent of this contiguous
* block in case objects span pages. */
for (last_page = i; ;last_page++) {
/* Check whether this is the last page in this
* contiguous block */
if (page_ends_contiguous_block_p(last_page, generation))
break;
}
record_new_regions_below = 1 + last_page;
heap_scavenge(page_scan_start(i),
(lispobj*)page_address(last_page) + page_words_used(last_page));
i = last_page;
}
}
/* Enable recording of all new allocation regions */
record_new_regions_below = 1 + page_table_pages;
}
void gc_close_collector_regions(int flag)
{
ensure_region_closed(code_region, flag|PAGE_TYPE_CODE);
ensure_region_closed(boxed_region, PAGE_TYPE_BOXED);
ensure_region_closed(unboxed_region, PAGE_TYPE_UNBOXED);
ensure_region_closed(mixed_region, PAGE_TYPE_MIXED);
ensure_region_closed(small_mixed_region, PAGE_TYPE_SMALL_MIXED);
ensure_region_closed(cons_region, PAGE_TYPE_CONS);
}
/* Do a complete scavenge of the newspace generation. */
static void
scavenge_newspace(generation_index_t generation)
{
/* Flush the current regions updating the page table. */
gc_close_collector_regions(0);
/* Turn on the recording of new areas. */
gc_assert(new_areas_index == 0);
new_areas = new_areas_1;
/* Start with a full scavenge. */
if (GC_LOGGING) fprintf(gc_activitylog(), "newspace full scav\n");
newspace_full_scavenge(generation);
/* Flush the current regions updating the page table. */
gc_close_collector_regions(0);
while (1) {
if (GC_LOGGING) fprintf(gc_activitylog(), "newspace loop\n");
if (!new_areas_index && !immobile_scav_queue_count) { // possible stopping point
if (!test_weak_triggers(0, 0))
break; // no work to do
// testing of triggers can't detect whether any triggering object
// actually entails new work - it only knows which triggers were removed
// from the pending list. So check again if allocations occurred,
// which is only if not all triggers referenced already-live objects.
gc_close_collector_regions(0); // update new_areas from regions
if (!new_areas_index && !immobile_scav_queue_count)
break; // still no work to do
}
/* Move the current to the previous new areas */
struct new_area *previous_new_areas = new_areas;
int previous_new_areas_index = new_areas_index;
/* Note the max new_areas used. */
if (new_areas_index > new_areas_index_hwm)
new_areas_index_hwm = new_areas_index;
/* Prepare to record new areas. Alternate between using new_areas_1 and 2 */
new_areas = (new_areas == new_areas_1) ? new_areas_2 : new_areas_1;
new_areas_index = 0;
scavenge_immobile_newspace();
/* Check whether previous_new_areas had overflowed. */
if (previous_new_areas_index >= NUM_NEW_AREAS) {
/* New areas of objects allocated have been lost so need to do a
* full scan to be sure! If this becomes a problem try
* increasing NUM_NEW_AREAS. */
newspace_full_scavenge(generation);
} else {
int i;
/* Work through previous_new_areas. */
for (i = 0; i < previous_new_areas_index; i++) {
page_index_t page = previous_new_areas[i].page;
size_t offset = previous_new_areas[i].offset;
size_t size = previous_new_areas[i].size;
gc_assert(size % (2*N_WORD_BYTES) == 0);
lispobj *start = (lispobj*)(page_address(page) + offset);
if (GC_LOGGING) fprintf(gc_activitylog(), "heap_scav %p..%p\n",
start, (lispobj*)((char*)start + size));
heap_scavenge(start, (lispobj*)((char*)start + size));
}
}
/* Flush the current regions updating the page table. */
gc_close_collector_regions(0);
}
/* Turn off recording of allocation regions. */
record_new_regions_below = 0;
new_areas = NULL;
new_areas_index = 0;
}
/* Un-write-protect all the pages in from_space. This is done at the
* start of a GC else there may be many page faults while scavenging
* the newspace (I've seen drive the system time to 99%). These pages
* would need to be unprotected anyway before unmapping in
* free_oldspace; not sure what effect this has on paging..
*
* Here is a real-life example of what can go wrong if we don't
* unprotect oldspace:
* Scenario:
* - gc-with-promotion (raise=1) of gen2 to gen3
* - symbol FOO in gen 3 on page 1000
* - large vector 'v' in gen 2 on page 1300..1305
* - 'v' points only to gen 2 objects (so it is unmarked, or "protected")
* - symbol-value of FOO is 'v'
* - root generations are 4 and higher
* - no roots point to vector 'v' or any of its contents
* Thence:
* - scavenge_newspace_full_scan visits page 1000
* - assigns 'record_new_regions_below' = 1001
* - traces slots of FOO, calls copy_potential_large_object(v)
* - 'v' is promoted into gen3
* - call add_new_area on page 1300..1305
* - 1300 exceeds 1001 so we skip this area
* So because 'v' is ahead of the wavefront, and theoretically page 1300
* will be picked up by the remainder of the full_scan loop, we optimized out
* the addition of the area. But then the scan loop sees that page 1300
* is protected and it decides that it can can skip it even though it was
* originally part of 'from_space' and points to other 'from_space' things.
* The consequence is that everything 'v' pointed to in gen2 becomes freed
* while 'v' holds dangling pointers to all that garbage.
*/
static void
unprotect_oldspace(void)
{
page_index_t i;
char *region_addr = 0;
__attribute__((unused)) char *page_addr = 0;
uword_t region_bytes = 0;
/* Gen0 never has protection applied, so we can usually skip the un-protect step,
* however, in the final GC, because everything got moved to gen0 by brute force
* adjustment of the page table, we don't know the state of the protection.
* Therefore only skip out if NOT in the final GC */
if (conservative_stack && from_space == 0) return;
for (i = 0; i < next_free_page; i++) {
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
/* Why does this even matter? Obviously it did for physical protection
* (storing the forwarding pointers shouldn't fault)
* but there's no physical protection, so ... why bother?
* But I tried removing it and got assertion failures */
if (page_words_used(i) && page_table[i].gen == from_space)
assign_page_card_marks(i, CARD_MARKED);
#else
if ((page_words_used(i) != 0)
&& (page_table[i].gen == from_space)) {
/* Remove any write-protection. We should be able to rely
* on the write-protect flag to avoid redundant calls. */
if (PAGE_WRITEPROTECTED_P(i)) {
SET_PAGE_PROTECTED(i, 0);
if (protection_mode(i) == PHYSICAL) {
page_addr = page_address(i);
if (!region_addr) {
/* First region. */
region_addr = page_addr;
region_bytes = GENCGC_PAGE_BYTES;
} else if (region_addr + region_bytes == page_addr) {
/* Region continue. */
region_bytes += GENCGC_PAGE_BYTES;
} else {
/* Unprotect previous region. */
os_protect(region_addr, region_bytes, OS_VM_PROT_JIT_ALL);
/* First page in new region. */
region_addr = page_addr;
region_bytes = GENCGC_PAGE_BYTES;
}
}
}
}
#endif
}
if (region_addr) {
/* Unprotect last region. */
os_protect(region_addr, region_bytes, OS_VM_PROT_JIT_ALL);
}
}
/* Work through all the pages and free any in from_space.
* Live non-pinned objects will have been copied to new pages.
* Pinned objects are no longer in 'from_space', as the containing
* page is now in a different generation.
* Bytes_allocated and the generation bytes_allocated
* counter are updated. */
static void free_oldspace(void)
{
uword_t bytes_freed = 0;
page_index_t page;
for (page = 0; page < next_free_page; ++page) {
if (page_table[page].gen == from_space) {
/* Should already be unprotected by unprotect_oldspace(). */
gc_dcheck(page_cards_all_marked_nonsticky(page));
/* Free the page. */
int used = page_words_used(page);
if (used) set_page_need_to_zero(page, 1);
set_page_bytes_used(page, 0);
reset_page_flags(page);
bytes_freed += used << WORD_SHIFT;
}
}
generations[from_space].bytes_allocated -= bytes_freed;
bytes_allocated -= bytes_freed;
}
/* Call 'proc' with pairs of addresses demarcating ranges in the
* specified generation.
* Stop if any invocation returns non-zero, and return that value */
uword_t
walk_generation(uword_t (*proc)(lispobj*,lispobj*,uword_t),
generation_index_t generation, uword_t extra)
{
page_index_t i;
int genmask = generation >= 0 ? 1 << generation : ~0;
for (i = 0; i < next_free_page; i++) {
if ((page_words_used(i) != 0) && ((1 << page_table[i].gen) & genmask)) {
page_index_t last_page;
/* This should be the start of a contiguous block */
gc_assert(page_starts_contiguous_block_p(i));
/* Need to find the full extent of this contiguous block in case
objects span pages. */
/* Now work forward until the end of this contiguous area is
found. */
for (last_page = i; ;last_page++)
/* Check whether this is the last page in this contiguous
* block. */
if (page_ends_contiguous_block_p(last_page, page_table[i].gen))
break;
uword_t result =
proc((lispobj*)page_address(i),
(lispobj*)page_address(last_page) + page_words_used(last_page),
extra);
if (result) return result;
i = last_page;
}
}
return 0;
}
/* Write-protect all the dynamic boxed pages in the given generation. */
static void
write_protect_generation_pages(generation_index_t generation)
{
// Neither 0 nor scratch can be protected. Additionally, protection of
// pseudo-static space is applied only in gc_load_corefile_ptes().
gc_assert(generation != 0 && generation != SCRATCH_GENERATION
&& generation != PSEUDO_STATIC_GENERATION);
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
page_index_t page;
for (page = 0; page < next_free_page; ++page) {
if (page_table[page].gen == generation && page_boxed_p(page)
&& page_words_used(page)) {
long card = page_to_card_index(page);
int j;
// must not touch a card referenced from the control stack
// because the next instruction executed by user code
// might store an old->young pointer.
// There's probably a clever SIMD-in-a-register algorithm for this...
for (j=0; j<CARDS_PER_PAGE; ++j, card++)
if (gc_card_mark[card] != STICKY_MARK) gc_card_mark[card] = CARD_UNMARKED;
}
}
#else
page_index_t start = 0, end;
int n_hw_prot = 0, n_sw_prot = 0;
while (start < next_free_page) {
if (!protect_page_p(start, generation)) {
++start;
continue;
}
if (protection_mode(start) == LOGICAL) {
SET_PAGE_PROTECTED(start, 1);
++n_sw_prot;
++start;
continue;
}
/* Note the page as protected in the page tables. */
SET_PAGE_PROTECTED(start, 1);
/* Find the extent of pages desiring physical protection */
for (end = start + 1; end < next_free_page; end++) {
if (!protect_page_p(end, generation) || protection_mode(end) == LOGICAL)
break;
SET_PAGE_PROTECTED(end, 1);
}
n_hw_prot += end - start;
os_protect(page_address(start), npage_bytes(end - start), OS_VM_PROT_JIT_READ);
start = end;
}
if (gencgc_verbose > 1) {
printf("HW protected %d, SW protected %d\n", n_hw_prot, n_sw_prot);
}
#endif
}
static void
move_pinned_pages_to_newspace()
{
page_index_t i;
/* scavenge() will evacuate all oldspace pages, but no newspace
* pages. Pinned pages are precisely those pages which must not
* be evacuated, so move them to newspace directly. */
for (i = 0; i < next_free_page; i++) {
/* 'pinned' is cleared lazily, so test the 'gen' field as well. */
if (gc_page_pins[i] == PAGE_PINNED &&
page_table[i].gen == from_space &&
(page_single_obj_p(i) ||
(is_code(page_table[i].type) && pin_all_dynamic_space_code))) {
page_table[i].gen = new_space;
/* And since we're moving the pages wholesale, also adjust
* the generation allocation counters. */
page_bytes_t used = page_bytes_used(i);
generations[new_space].bytes_allocated += used;
generations[from_space].bytes_allocated -= used;
}
}
}
lispobj *
dynamic_space_code_from_pc(char *pc)
{
/* Only look at untagged pointers, otherwise they won't be in the PC.
* (which is a valid precondition for fixed-length 4-byte instructions,
* not variable-length) */
if((uword_t)pc % 4 == 0 && is_code(page_table[find_page_index(pc)].type)) {
lispobj *object = search_dynamic_space(pc);
if (object != NULL && widetag_of(object) == CODE_HEADER_WIDETAG)
return object;
}
return NULL;
}
static void __attribute__((unused)) maybe_pin_code(lispobj addr) {
page_index_t page = find_page_index((char*)addr);
if (page < 0) {
if (immobile_space_p(addr))
immobile_space_preserve_pointer((void*)addr);
return;
}
if (immune_set_memberp(page)) return;
struct code* code = (struct code*)dynamic_space_code_from_pc((char *)addr);
if (code) {
pin_exact_root(make_lispobj(code, OTHER_POINTER_LOWTAG));
}
}
#if defined reg_RA
static void conservative_pin_code_from_return_addresses(struct thread* th) {
lispobj *object_ptr;
// We need more information to reliably backtrace through a call
// chain, as these backends may generate leaf functions where the
// return address does not get spilled. Therefore, fall back to
// scanning the entire stack for potential interior code pointers.
for (object_ptr = th->control_stack_start;
object_ptr < access_control_stack_pointer(th);
object_ptr++)
maybe_pin_code(*object_ptr);
int i = fixnum_value(read_TLS(FREE_INTERRUPT_CONTEXT_INDEX,th));
// Scan program counters and return registers in interrupted
// frames: They may contain interior code pointers that weren't
// spilled onto the stack, as is the case for leaf functions.
for (i = i - 1; i >= 0; --i) {
os_context_t* context = nth_interrupt_context(i, th);
maybe_pin_code(os_context_pc(context));
maybe_pin_code((lispobj)*os_context_register_addr(context, reg_RA));
}
}
#endif
#if defined LISP_FEATURE_MIPS || defined LISP_FEATURE_PPC64
static void semiconservative_pin_stack(struct thread* th,
generation_index_t gen) {
/* Stack can only pin code, since it contains return addresses.
* Non-code pointers on stack do *not* pin anything, and may be updated
* when scavenging.
* Interrupt contexts' boxed registers do pin their referents */
lispobj *object_ptr;
for (object_ptr = th->control_stack_start;
object_ptr < access_control_stack_pointer(th);
object_ptr++)
maybe_pin_code(*object_ptr);
int i = fixnum_value(read_TLS(FREE_INTERRUPT_CONTEXT_INDEX,th));
for (i = i - 1; i >= 0; --i) {
os_context_t* context = nth_interrupt_context(i, th);
int j;
#if defined LISP_FEATURE_MIPS
mcontext_t *mctx = &context->uc_mcontext;
for(j=1; j<32; ++j) {
// context registers have more significant bits than lispobj.
uword_t word = mctx->gregs[j];
if (gen == 0) sticky_preserve_pointer(word, (void*)1);
else preserve_pointer(word, (void*)1);
}
#elif defined LISP_FEATURE_PPC64
static int boxed_registers[] = BOXED_REGISTERS;
for (j = (int)(sizeof boxed_registers / sizeof boxed_registers[0])-1; j >= 0; --j) {
lispobj word = *os_context_register_addr(context, boxed_registers[j]);
if (gen == 0) sticky_preserve_pointer(word, (void*)1);
else preserve_pointer(word, (void*)1);
}
// What kinds of data do we put in the Count register?
// maybe it's count (raw word), maybe it's a PC. I just don't know.
preserve_pointer(*os_context_lr_addr(context), (void*)1);
preserve_pointer(*os_context_ctr_addr(context), (void*)1);
#endif
preserve_pointer(os_context_pc(context), (void*)1);
}
}
#endif
#if GENCGC_IS_PRECISE && !defined(reg_CODE)
static int boxed_registers[] = BOXED_REGISTERS;
/* Pin all (condemned) code objects pointed to by the chain of in-flight calls
* based on scanning from the innermost frame pointer. This relies on an exact backtrace,
* which some of our architectures have trouble obtaining. But it's theoretically
* more efficient to do it this way versus looking at all stack words to see
* whether each points to a code object. */
static void pin_call_chain_and_boxed_registers(struct thread* th) {
lispobj *cfp = access_control_frame_pointer(th);
if (cfp) {
while (1) {
lispobj* ocfp = (lispobj *) cfp[0];
lispobj lr = cfp[1];
if (ocfp == 0)
break;
maybe_pin_code(lr);
cfp = ocfp;
}
}
int i = fixnum_value(read_TLS(FREE_INTERRUPT_CONTEXT_INDEX,th));
for (i = i - 1; i >= 0; --i) {
os_context_t* context = nth_interrupt_context(i, th);
maybe_pin_code((lispobj)*os_context_register_addr(context, reg_LR));
for (unsigned i = 0; i < (sizeof(boxed_registers) / sizeof(int)); i++) {
pin_exact_root(*os_context_register_addr(context, boxed_registers[i]));
}
}
}
#endif
#if !GENCGC_IS_PRECISE
extern void visit_context_registers(void (*proc)(os_context_register_t, void*),
os_context_t *context, void*);
static void NO_SANITIZE_ADDRESS NO_SANITIZE_MEMORY
conservative_stack_scan(struct thread* th,
__attribute__((unused)) generation_index_t gen,
// #+sb-safepoint uses os_get_csp() and not this arg
__attribute__((unused)) lispobj* cur_thread_approx_stackptr)
{
/* there are potentially two stacks for each thread: the main
* stack, which may contain Lisp pointers, and the alternate stack.
* We don't ever run Lisp code on the altstack, but it may
* host a sigcontext with lisp objects in it.
* Actually, STOP_FOR_GC has a signal context on the main stack,
* and the values it in will be *above* the stack-pointer in it
* at the point of interruption, so we would not scan all registers
* unless the context is scanned.
*
* For the thread which initiates GC there will usually not be a
* sigcontext, though there could, in theory be if it performs
* GC while handling an interruption */
__attribute__((unused)) void (*context_method)(os_context_register_t,void*) =
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
gen == 0 ? sticky_preserve_pointer : preserve_pointer;
#else
preserve_pointer;
#endif
void* esp = (void*)-1;
# if defined(LISP_FEATURE_SB_SAFEPOINT)
/* Conservative collect_garbage is always invoked with a
* foreign C call or an interrupt handler on top of every
* existing thread, so the stored SP in each thread
* structure is valid, no matter which thread we are looking
* at. For threads that were running Lisp code, the pitstop
* and edge functions maintain this value within the
* interrupt or exception handler. */
esp = os_get_csp(th);
assert_on_stack(th, esp);
/* And on platforms with interrupts: scavenge ctx registers. */
/* Disabled on Windows, because it does not have an explicit
* stack of `interrupt_contexts'. The reported CSP has been
* chosen so that the current context on the stack is
* covered by the stack scan. See also set_csp_from_context(). */
# ifndef LISP_FEATURE_WIN32
if (th != get_sb_vm_thread()) {
int k = fixnum_value(read_TLS(FREE_INTERRUPT_CONTEXT_INDEX,th));
while (k > 0) {
os_context_t* context = nth_interrupt_context(--k, th);
if (context)
visit_context_registers(context_method, context, (void*)1);
}
}
# endif
# elif defined(LISP_FEATURE_SB_THREAD)
int i;
/* fprintf(stderr, "Thread %p, ici=%d stack[%p:%p] (%dw)",
th, fixnum_value(read_TLS(FREE_INTERRUPT_CONTEXT_INDEX,th)),
th->control_stack_start, th->control_stack_end,
th->control_stack_end - th->control_stack_start); */
for (i = fixnum_value(read_TLS(FREE_INTERRUPT_CONTEXT_INDEX,th))-1; i>=0; i--) {
os_context_t *c = nth_interrupt_context(i, th);
visit_context_registers(context_method, c, (void*)1);
lispobj* esp1 = (lispobj*) *os_context_register_addr(c,reg_SP);
if (esp1 >= th->control_stack_start && esp1 < th->control_stack_end && (void*)esp1 < esp)
esp = esp1;
}
if (th == get_sb_vm_thread()) {
if ((void*)cur_thread_approx_stackptr < esp) esp = cur_thread_approx_stackptr;
}
# else
esp = cur_thread_approx_stackptr;
# endif
if (!esp || esp == (void*) -1)
UNKNOWN_STACK_POINTER_ERROR("garbage_collect", th);
/* fprintf(stderr, " SP=%p (%dw)%s\n",
esp, (int)(th->control_stack_end - (lispobj*)esp),
(th == get_sb_vm_thread()) ? " CURRENT":""); */
// Words on the stack which point into the stack are likely
// frame pointers or alien or DX object pointers. In any case
// there's no need to call preserve_pointer on them since
// they definitely don't point to the heap.
// See the picture at alloc_thread_struct() as a reminder.
#ifdef LISP_FEATURE_UNIX
lispobj exclude_from = (lispobj)th->control_stack_start;
lispobj exclude_to = (lispobj)th + dynamic_values_bytes;
#define potential_heap_pointer(word) !(exclude_from <= word && word < exclude_to)
#else
// We can't use the heuristic of excluding words that appear to point into
// 'struct thread' on win32 because ... I don't know why.
// See https://groups.google.com/g/sbcl-devel/c/8s7mrapq56s/m/UaAjYPqKBAAJ
#define potential_heap_pointer(word) 1
#endif
lispobj* ptr;
for (ptr = esp; ptr < th->control_stack_end; ptr++) {
lispobj word = *ptr;
// Also note that we can eliminate small fixnums from consideration
// since there is no memory on the 0th page.
// (most OSes don't let users map memory there, though they used to).
if (word >= BACKEND_PAGE_BYTES && potential_heap_pointer(word)) {
preserve_pointer(word, 0);
}
}
}
#endif
static void scan_explicit_pins(__attribute__((unused)) struct thread* th)
{
lispobj pin_list = read_TLS(PINNED_OBJECTS, th);
for ( ; pin_list != NIL ; pin_list = CONS(pin_list)->cdr ) {
lispobj object = CONS(pin_list)->car;
pin_exact_root(object);
if (lowtag_of(object) == INSTANCE_POINTER_LOWTAG) {
struct instance* instance = INSTANCE(object);
lispobj layout = instance_layout((lispobj*)instance);
// Since we're still in the pinning phase of GC, layouts can't have moved yet,
// so there is no forwarding check needed here.
if (layout && lockfree_list_node_layout_p(LAYOUT(layout))) {
/* A logically-deleted explicitly-pinned lockfree list node pins its
* successor too, since Lisp reconstructs the next node's tagged pointer
* from an untagged pointer currently stored in %NEXT of this node. */
lispobj successor = ((struct list_node*)instance)->_node_next;
// Be sure to ignore an uninitialized word containing 0.
if (successor && fixnump(successor))
pin_exact_root(successor | INSTANCE_POINTER_LOWTAG);
}
}
}
}
/* Given the slightly asymmetric formulation of page_ends_contiguous_block_p()
* you might think that it could cause the next page's assertion about start_block_p()
* to fail, but it does not seem to. That's really weird! */
__attribute__((unused)) static void check_contiguity()
{
page_index_t first = 0;
while (first < next_free_page) {
if (!page_words_used(first)) { ++first; continue; }
gc_assert(page_starts_contiguous_block_p(first));
page_index_t last = first;
while (!page_ends_contiguous_block_p(last, page_table[first].gen)) ++last;
first = last + 1;
}
}
static void finish_code_metadata();
int show_gc_generation_throughput = 0;
/* Garbage collect a generation. If raise is 0 then the remains of the
* generation are not raised to the next generation. */
void NO_SANITIZE_ADDRESS NO_SANITIZE_MEMORY
garbage_collect_generation(generation_index_t generation, int raise,
void* cur_thread_approx_stackptr)
{
struct thread *th;
if (gencgc_verbose > 2) fprintf(stderr, "BEGIN gc_gen(%d,%d)\n", generation, raise);
#ifdef COLLECT_GC_STATS
struct timespec t0;
clock_gettime(CLOCK_MONOTONIC, &t0);
uword_t gen_usage_at_start = generations[generation].bytes_allocated;
uword_t higher_gen_usage_at_start =
raise ? generations[generation+1].bytes_allocated : 0;
#endif
gc_assert(generation <= PSEUDO_STATIC_GENERATION);
/* The oldest generation can't be raised. */
gc_assert(!raise || generation < HIGHEST_NORMAL_GENERATION);
/* Check that weak hash tables were processed in the previous GC. */
gc_assert(weak_hash_tables == NULL);
/* When a generation is not being raised it is transported to a
* temporary generation (NUM_GENERATIONS), and lowered when
* done. Set up this new generation. There should be no pages
* allocated to it yet. */
if (!raise) {
gc_assert(generations[SCRATCH_GENERATION].bytes_allocated == 0);
}
hopscotch_reset(&pinned_objects);
#ifdef LISP_FEATURE_SB_THREAD
pin_all_dynamic_space_code = 0;
for_each_thread(th) {
if (th->state_word.state != STATE_DEAD && \
(read_TLS(GC_PIN_CODE_PAGES, th) & make_fixnum(1))) {
pin_all_dynamic_space_code = 1;
break;
}
}
#else
pin_all_dynamic_space_code = read_TLS(GC_PIN_CODE_PAGES, 0) & make_fixnum(1);
#endif
/* Set the global src and dest. generations */
generation_index_t original_alloc_generation = gc_alloc_generation;
if (generation < PSEUDO_STATIC_GENERATION) {
from_space = generation;
if (raise)
new_space = generation+1;
else
new_space = SCRATCH_GENERATION;
/* Change to a new space for allocation, resetting the alloc_start_page */
gc_alloc_generation = new_space;
RESET_ALLOC_START_PAGES();
if (pin_all_dynamic_space_code) {
/* This needs to happen before ambiguous root pinning, as the mechanisms
* overlap in a way that all-code pinning wouldn't do the right thing if flipped.
* FIXME: why would it not? More explanation needed!
* Code objects should never get into the pins table in this case */
page_index_t i;
for (i = 0; i < next_free_page; i++) {
if (page_table[i].gen == from_space
&& is_code(page_table[i].type) && page_words_used(i))
gc_page_pins[i] = PAGE_PINNED;
}
}
/* Un-write-protect the old-space pages. This is essential for the
* promoted pages as they may contain pointers into the old-space
* which need to be scavenged. It also helps avoid unnecessary page
* faults as forwarding pointers are written into them. They need to
* be un-protected anyway before unmapping later. */
unprotect_oldspace();
} else { // "full" [sic] GC
gc_assert(!pin_all_dynamic_space_code); // not supported (but could be)
/* This is a full mark-and-sweep of all generations without compacting
* and without returning free space to the allocator. The intent is to
* break chains of objects causing accidental reachability.
* Subsequent GC cycles will compact and reclaims space as usual. */
from_space = new_space = -1;
// Allocate pages from dynamic space for the work queue.
extern void prepare_for_full_mark_phase();
prepare_for_full_mark_phase();
}
/* Possibly pin stack roots and/or *PINNED-OBJECTS*, unless saving a core.
* Scavenging (fixing up pointers) will occur later on */
if (conservative_stack) {
for_each_thread(th) {
if (th->state_word.state == STATE_DEAD) continue;
scan_explicit_pins(th);
#if !GENCGC_IS_PRECISE
/* Pin everything in fromspace with a stack root, and also set the
* sticky card mark on any page (in any generation)
* referenced from the stack. */
conservative_stack_scan(th, generation, cur_thread_approx_stackptr);
#elif defined LISP_FEATURE_MIPS || defined LISP_FEATURE_PPC64
// Pin code if needed
semiconservative_pin_stack(th, generation);
#elif defined REG_RA
conservative_pin_code_from_return_addresses(th);
#elif !defined(reg_CODE)
pin_call_chain_and_boxed_registers(th);
#endif
}
}
// Thread creation optionally no longer synchronizes the creating and
// created thread. When synchronized, the parent thread is responsible
// for pinning the start function for handoff to the created thread.
// When not synchronized, The startup parameters are pinned via this list
// which will always be NIL if the feature is not enabled.
#ifdef STARTING_THREADS
lispobj pin_list = SYMBOL(STARTING_THREADS)->value;
for ( ; pin_list != NIL ; pin_list = CONS(pin_list)->cdr ) {
lispobj thing = CONS(pin_list)->car;
if (!thing) continue; // Nothing to worry about when 'thing' is already smashed
// It might be tempting to say that only the SB-THREAD:THREAD instance
// requires pinning - because right after we access it to extract the
// primitive thread, we link into all_threads - but it may be that the code
// emitted by the C compiler in new_thread_trampoline computes untagged pointers
// when accessing the vector and the start function, so those would not be
// seen as valid lisp pointers by the implicit pinning logic.
// And the precisely GC'd platforms would not pin anything from C code.
// The tests in 'threads.impure.lisp' are good at detecting omissions here.
gc_assert(instancep(thing));
struct thread_instance *lispthread = (void*)(thing - INSTANCE_POINTER_LOWTAG);
lispobj info = lispthread->startup_info;
// INFO gets set to a fixnum when the thread is exiting. I *think* it won't
// ever be seen in the starting-threads list, but let's be cautious.
if (is_lisp_pointer(info)) {
gc_assert(simple_vector_p(info));
gc_assert(vector_len(VECTOR(info)) >= 1);
lispobj fun = VECTOR(info)->data[0];
gc_assert(functionp(fun));
#ifdef LISP_FEATURE_X86_64
/* FIXME: re. the following remark that pin_exact_root() "does not
* work", does it have to be that way? It seems the issue is that
* pin_exact_root does absolutely nothing for objects in immobile space.
* Are there other objects we call it on which could be in immobile-space
* and should it be made to deal with them? */
// slight KLUDGE: 'fun' is a simple-fun in immobile-space,
// and pin_exact_root() doesn't work. In all probability 'fun'
// is pseudo-static, but let's use the right pinning function.
// (This line of code is so rarely executed that it doesn't
// impact performance to search for the object)
preserve_pointer(fun, 0);
#else
pin_exact_root(fun);
#endif
// pin_exact_root is more efficient than preserve_pointer()
// because it does not search for the object.
pin_exact_root(thing);
pin_exact_root(info);
}
}
#endif
/* Remove any key from pinned_objects this does not identify an object.
* This is done more efficiently by delaying until after all keys are
* inserted rather than at each insertion */
refine_ambiguous_roots();
if (gencgc_verbose > 1) {
extern void dump_marked_objects();
if (compacting_p()) show_pinnedobj_count(); /*else dump_marked_objects();*/
}
/* Now that all of the pinned pages are known, and
* before we start to scavenge (and thus relocate) objects,
* relocate the pinned pages to newspace, so that the scavenger
* will not attempt to relocate their contents. */
if (compacting_p())
move_pinned_pages_to_newspace();
/* Scavenge all the rest of the roots. */
#if GENCGC_IS_PRECISE
/*
* If not x86, we need to scavenge the interrupt context(s) and the
* control stack, unless in final GC then don't.
*/
if (conservative_stack) {
struct thread *th;
for_each_thread(th) {
#if !defined(LISP_FEATURE_MIPS) && defined(reg_CODE) // interrupt contexts already pinned everything they see
scavenge_interrupt_contexts(th);
#endif
scavenge_control_stack(th);
}
# ifdef LISP_FEATURE_SB_SAFEPOINT
/* In this case, scrub all stacks right here from the GCing thread
* instead of doing what the comment below says. Suboptimal, but
* easier. */
for_each_thread(th)
scrub_thread_control_stack(th);
# else
/* Scrub the unscavenged control stack space, so that we can't run
* into any stale pointers in a later GC (this is done by the
* stop-for-gc handler in the other threads). */
scrub_control_stack();
# endif
}
#endif
/* Scavenge the Lisp functions of the interrupt handlers */
if (GC_LOGGING) fprintf(gc_activitylog(), "begin scavenge sighandlers\n");
if (compacting_p())
scavenge(lisp_sig_handlers, NSIG);
else
gc_mark_range(lisp_sig_handlers, NSIG);
/* Scavenge the binding stacks. */
if (GC_LOGGING) fprintf(gc_activitylog(), "begin scavenge thread roots\n");
{
struct thread *th;
for_each_thread(th) {
scav_binding_stack((lispobj*)th->binding_stack_start,
(lispobj*)get_binding_stack_pointer(th),
compacting_p() ? 0 : gc_mark_obj);
/* do the tls as well */
lispobj* from = &th->lisp_thread;
lispobj* to = (lispobj*)(SymbolValue(FREE_TLS_INDEX,0) + (char*)th);
sword_t nwords = to - from;
if (compacting_p())
scavenge(from, nwords);
else
gc_mark_range(from, nwords);
}
}
if (!compacting_p()) {
extern void execute_full_mark_phase();
extern void execute_full_sweep_phase();
execute_full_mark_phase();
execute_full_sweep_phase();
goto maybe_verify;
}
if (GC_LOGGING) fprintf(gc_activitylog(), "begin scavenge static roots\n");
heap_scavenge((lispobj*)NIL_SYMBOL_SLOTS_START, (lispobj*)NIL_SYMBOL_SLOTS_END);
heap_scavenge((lispobj*)STATIC_SPACE_OBJECTS_START, static_space_free_pointer);
#ifdef LISP_FEATURE_SYSTEM_TLABS
extern void gc_scavenge_arenas();
gc_scavenge_arenas();
#endif
/* All generations but the generation being GCed need to be
* scavenged. The new_space generation needs special handling as
* objects may be moved in - it is handled separately below. */
// SCRATCH_GENERATION is scavenged in immobile space
// because pinned objects will already have had their generation
// number reassigned to that generation if applicable.
scavenge_immobile_roots(generation+1, SCRATCH_GENERATION);
// When collecting gen0, ordinarily the roots would be gen1 and higher,
// but if gen0 is getting raised to 1 on this cycle, then we skip roots in gen1
// because we'll eventually examine all of gen1 as part of newspace.
// Similarly for higher generations. So if raising, the minimum root gen is
// always the collected generation + 2, otherwise it's the collected + 1.
if (GC_LOGGING) fprintf(gc_activitylog(), "begin scavenge_root_gens\n");
scavenge_root_gens(generation+1+raise);
scavenge_pinned_ranges();
/* The Lisp start function is stored in the core header, not a static
* symbol. It is passed to gc_and_save() in this C variable */
if (lisp_init_function) scavenge(&lisp_init_function, 1);
if (lisp_package_vector) scavenge(&lisp_package_vector, 1);
if (alloc_profile_data) scavenge(&alloc_profile_data, 1);
/* If SB-SPROF was used, enliven all pages of code.
* Note that some objects may have already been transported off the page.
* Despite the extra scan, it is more efficient than scanning all trace buffers
* and potentially updating them and/or invalidating hashes.
* This really wants a better algorithm. Each code blob could have one byte
* indicating whether it is present in any trace buffer; the SIGPROF handler
* can update that byte. */
if (sb_sprof_enabled) {
page_index_t first = 0;
while (first < next_free_page) {
if (page_table[first].gen != from_space
|| !is_code(page_table[first].type)
|| !page_words_used(first)) {
++first;
continue;
}
page_index_t last = first;
while (!page_ends_contiguous_block_p(last, from_space)) ++last;
// [first,last] are inclusive bounds on a code range
/* FIXME: should 'where' be initialized to page_scan_start()? I think so,
* because ends_contiguous_block(page-1) does NOT imply
* starts_contiguous_block(page). This is very unfortunate.
* I've seen things such as the following:
* page base: 0x20000 0x21000 0x22000
* used: 1000 10 0
* ss: 0x20000 0x20000 0x21010
* where the first two pages were opened together and then closed
* after consuming all of the first + 0x10 bytes more, and then the next
* page extends the region (so not to waste the entire rest of the second
* page), pointing its scan_start to the end of the range that was updated
* into the page table. In that scenario, ends_p() is true of the page
* based at 0x21000 but starts_p() is false of the next page,
* because its scan start is an earlier page than itself.
* How does this assertion NOT fail sometimes? Yet, it does not. */
gc_assert(page_starts_contiguous_block_p(first));
lispobj* where = (lispobj*)page_address(first);
lispobj* limit = (lispobj*)page_address(last) + page_words_used(last);
while (where < limit) {
if (forwarding_pointer_p(where)) {
// The codeblob already survived GC, so we just need to step over it.
lispobj* copy = native_pointer(forwarding_pointer_value(where));
// NOTE: it's OK to size the newspace copy rather than the original
// because code size can't change.
where += headerobj_size(copy);
} else {
// Compute 'nwords' before potentially moving the object
// at 'where', because moving it stomps on the header word.
sword_t nwords = headerobj_size(where);
// If the object is not a filler and not a trampline, then create
// a pointer to it and eliven the pointee.
if (widetag_of(where) == CODE_HEADER_WIDETAG
&& where[1] != 0 /* has at least one boxed word */
&& code_serialno((struct code*)where) != 0) {
lispobj ptr = make_lispobj(where, OTHER_POINTER_LOWTAG);
scavenge(&ptr, 1);
}
where += nwords;
}
}
first = last + 1;
}
}
/* Finally scavenge the new_space generation. Keep going until no
* more objects are moved into the new generation */
scavenge_newspace(new_space);
if (save_lisp_gc_iteration == 2) finish_code_metadata();
scan_binding_stack();
smash_weak_pointers();
/* Return private-use pages to the general pool so that Lisp can have them */
gc_dispose_private_pages();
cull_weak_hash_tables(weak_ht_alivep_funs);
scan_finalizers();
obliterate_nonpinned_words();
// Do this last, because until obliterate_nonpinned_words() happens,
// not all page table entries have the 'gen' value updated,
// which we need to correctly find all old->young pointers.
sweep_immobile_space(raise);
ASSERT_REGIONS_CLOSED();
hopscotch_log_stats(&pinned_objects, "pins");
free_oldspace();
/* If this cycle was not a promotion cycle, change SCRATCH_GENERATION back
* to its correct generation number */
struct generation* g = &generations[generation];
if (!raise) {
page_index_t i;
for (i = 0; i < next_free_page; i++)
if (page_table[i].gen == SCRATCH_GENERATION) page_table[i].gen = generation;
gc_assert(g->bytes_allocated == 0);
g->bytes_allocated = generations[SCRATCH_GENERATION].bytes_allocated;
generations[SCRATCH_GENERATION].bytes_allocated = 0;
}
#ifdef COLLECT_GC_STATS
if (show_gc_generation_throughput) {
struct timespec t1;
clock_gettime(CLOCK_MONOTONIC, &t1);
long et_nsec = (t1.tv_sec - t0.tv_sec)*1000000000 + (t1.tv_nsec - t0.tv_nsec);
sword_t bytes_retained, bytes_freed;
if (raise) {
bytes_retained = (generations[generation+1].bytes_allocated
- higher_gen_usage_at_start);
} else {
bytes_retained = generations[generation].bytes_allocated;
}
bytes_freed = gen_usage_at_start - bytes_retained;
double pct_freed = gen_usage_at_start ? (double)bytes_freed / gen_usage_at_start : 0.0;
double et_sec = (double)et_nsec / 1000000000.0;
double speed = (double)(gc_copied_nwords << WORD_SHIFT) / 1024 / et_sec;
char *units = "KiB";
if (speed > 1024.0) speed /= 1024.0, units = "MiB";
/* The pre-GC bytes allocated should sum to copied + pinned + freed, which it
* more-or-less does, but there can be discrepancies because structure instances
* can be extended with a stable-hash slot (which isn't accounted for at all),
* vectors can be shrunk (part being "freed" and part being "copied", depending
* on the size and partial pinning),and the finalizer hash-table can have cons
* cells allocated to record the list of functions to call.
* In particular, there could be 0 usage before, and some usage after due to
* the finalizer table, which causes "freed" to be negative.
* While those factors could be accounted for in the report, it would be needlessly
* pedantic and confusing, and not really affect the big picture.
* If the MiB per sec is low, it could be that not many bytes were copied.
* Low speed + large count is bad though */
char buffer[200];
// can't use fprintf() inside GC because of malloc. snprintf() can deadlock too,
// but seems to do so much less often.
int n = snprintf(buffer, sizeof buffer,
"gen%d: %ldw copied in %f sec (%.0f %s/sec), %ldw in-situ,"
" %d pins (%ldw), %ldw freed (%.1f%%)\n",
generation, gc_copied_nwords, et_sec, speed, units,
gc_in_situ_live_nwords,
gc_pin_count, gc_pinned_nwords,
bytes_freed >> WORD_SHIFT, pct_freed*100.0);
write(2, buffer, n);
n = snprintf(buffer, sizeof buffer,
"root word counts: %d + %d + %d\n", root_boxed_words_scanned,
root_vector_words_scanned, root_mixed_words_scanned);
write(2, buffer, n);
}
gc_copied_nwords = gc_in_situ_live_nwords = gc_pinned_nwords = 0;
root_boxed_words_scanned = root_vector_words_scanned = root_mixed_words_scanned = 0;
#endif
/* Reset the alloc_start_page for generation. */
RESET_ALLOC_START_PAGES();
/* Set the new gc trigger for the GCed generation. */
g->gc_trigger = g->bytes_allocated + g->bytes_consed_between_gc;
g->num_gc = raise ? 0 : (1 + g->num_gc);
maybe_verify:
// Have to kill this structure from its root, because any of the nodes would have
// been on pages that got freed by free_oldspace.
dynspace_codeblob_tree_snapshot = 0;
if (generation >= verify_gens)
hexdump_and_verify_heap(cur_thread_approx_stackptr, VERIFY_POST_GC | (generation<<16));
extern int n_unboxed_instances;
n_unboxed_instances = 0;
gc_alloc_generation = original_alloc_generation;
}
static page_index_t
find_next_free_page(void)
{
page_index_t last_page = -1, i;
for (i = 0; i < next_free_page; i++)
if (page_words_used(i) != 0)
last_page = i;
/* 1 page beyond the last used page is the next free page */
return last_page + 1;
}
/*
* Supposing the OS can only operate on ranges of a certain granularity
* (which we call 'gencgc_release_granularity'), then given any page rage,
* align the lower bound up and the upper down to match the granularity.
*
* |-->| OS page | OS page |<--|
*
* If the interior of the aligned range is nonempty,
* perform three operations: unmap/remap, fill before, fill after.
* Otherwise, just one operation to fill the whole range.
*/
static void
remap_page_range (page_index_t from, page_index_t to)
{
/* There's a mysterious Solaris/x86 problem with using mmap
* tricks for memory zeroing. See sbcl-devel thread
* "Re: patch: standalone executable redux".
*/
/* I have no idea what the issue with Haiku is, but using the simpler
* zero_pages() works where the unmap,map technique does not. Yet the
* trick plus a post-check that the pages were correctly zeroed finds
* no problem at that time. So what's failing later and why??? */
#if defined LISP_FEATURE_SUNOS || defined LISP_FEATURE_HAIKU
zero_pages(from, to);
#else
size_t granularity = gencgc_release_granularity;
// page_address "works" even if 'to' == page_table_pages-1
char* start = page_address(from);
char* end = page_address(to+1);
char* aligned_start = PTR_ALIGN_UP(start, granularity);
char* aligned_end = PTR_ALIGN_DOWN(end, granularity);
/* NOTE: this is largely pointless because gencgc-release-granularity
* is everywhere defined to be EXACTLY +backend-page-bytes+
* which by definition is the quantum at which we'll unmap/map.
* Maybe we should remove the needless complexity? */
if (aligned_start < aligned_end) {
zero_range_with_mmap(aligned_start, aligned_end-aligned_start);
memset(start, 0, aligned_start - start);
memset(aligned_end, 0, end - aligned_end);
} else {
zero_pages(from, to);
}
#endif
page_index_t i;
for (i = from; i <= to; i++) set_page_need_to_zero(i, 0);
}
static void
remap_free_pages (page_index_t from, page_index_t to)
{
page_index_t first_page, last_page;
for (first_page = from; first_page <= to; first_page++) {
if (!page_free_p(first_page) || !page_need_to_zero(first_page))
continue;
last_page = first_page + 1;
while (page_free_p(last_page) &&
(last_page <= to) &&
(page_need_to_zero(last_page)))
last_page++;
remap_page_range(first_page, last_page-1);
first_page = last_page;
}
}
generation_index_t small_generation_limit = 1;
extern int finalizer_thread_runflag;
/* GC all generations newer than last_gen, raising the objects in each
* to the next older generation - we finish when all generations below
* last_gen are empty. Then if last_gen is due for a GC, or if
* last_gen==NUM_GENERATIONS (the scratch generation? eh?) we GC that
* too. The valid range for last_gen is: 0,1,...,NUM_GENERATIONS.
*
* We stop collecting at gencgc_oldest_gen_to_gc, even if this is less than
* last_gen (oh, and note that by default it is NUM_GENERATIONS-1) */
long tot_gc_nsec;
void NO_SANITIZE_ADDRESS NO_SANITIZE_MEMORY
collect_garbage(generation_index_t last_gen)
{
++n_gcs;
THREAD_JIT(0);
generation_index_t gen = 0, i;
bool gc_mark_only = 0;
int raise, more = 0;
int gen_to_wp;
/* The largest value of next_free_page seen since the time
* remap_free_pages was called. */
static page_index_t high_water_mark = 0;
#ifdef COLLECT_GC_STATS
struct timespec t_gc_start;
clock_gettime(CLOCK_MONOTONIC, &t_gc_start);
#endif
log_generation_stats(gc_logfile, "=== GC Start ===");
gc_active_p = 1;
if (last_gen == 1+PSEUDO_STATIC_GENERATION) {
// Pseudostatic space undergoes a non-moving collection
last_gen = PSEUDO_STATIC_GENERATION;
gc_mark_only = 1;
} else if (last_gen > 1+PSEUDO_STATIC_GENERATION) {
// This is a completely non-obvious thing to do, but whatever...
last_gen = 0;
}
/* Flush the alloc regions updating the page table.
*
* GC is single-threaded and all memory allocations during a collection
* happen in the GC thread, so it is sufficient to update PTEs for the
* per-thread regions exactly once at the beginning of a collection
* and update only from the GC's regions thereafter during collection.
*
* The GC's regions are probably empty already, except:
* - The code region is shared across all threads
* - The boxed region is used in lieu of thread-specific regions
* in a unithread build.
* So we need to close them for those two cases.
*/
struct thread *th;
for_each_thread(th) gc_close_thread_regions(th, 0);
ensure_region_closed(code_region, PAGE_TYPE_CODE);
if (gencgc_verbose > 2) fprintf(stderr, "[%d] BEGIN gc(%d)\n", n_gcs, last_gen);
#ifdef LISP_FEATURE_IMMOBILE_SPACE
if (ENABLE_PAGE_PROTECTION) {
// Unprotect the in-use ranges. Any page could be written during scavenge
os_protect((os_vm_address_t)FIXEDOBJ_SPACE_START,
(lispobj)fixedobj_free_pointer - FIXEDOBJ_SPACE_START,
OS_VM_PROT_ALL);
}
#endif
lispobj* cur_thread_approx_stackptr =
(lispobj*)ALIGN_DOWN((uword_t)&last_gen, N_WORD_BYTES);
/* Verify the new objects created by Lisp code. */
if (pre_verify_gen_0)
hexdump_and_verify_heap(cur_thread_approx_stackptr, VERIFY_PRE_GC);
if (gencgc_verbose > 1) {
fprintf(stderr, "Pre-GC:\n");
print_generation_stats();
}
/* After a GC, pages of code are safe to linearly scan because
* there won't be random junk on them below page_bytes_used.
* But generation 0 pages are _not_ safe to linearly scan because they aren't
* pre-zeroed. The SIGPROF handler could have a bad time if were to misread
* the header of an object mid-creation. Therefore, codeblobs newly made by Lisp
* are kept in a lock-free and threadsafe datastructure. But we don't want to
* enliven nodes of that structure for Lisp to see (absent any other references)
* because the whole thing becomes garbage after this GC. So capture the tree
* for GC's benefit, and delete the view of it from Lisp.
* Incidentally, immobile text pages have their own tree, for other purposes
* (among them being to find page scan start offsets) which is pruned as
* needed by a finalizer. */
dynspace_codeblob_tree_snapshot = SYMBOL(DYNSPACE_CODEBLOB_TREE)->value;
SYMBOL(DYNSPACE_CODEBLOB_TREE)->value = NIL;
page_index_t initial_nfp = next_free_page;
if (gc_mark_only) {
garbage_collect_generation(PSEUDO_STATIC_GENERATION, 0,
cur_thread_approx_stackptr);
goto finish;
}
do {
/* Collect the generation. */
if (more || (gen >= gencgc_oldest_gen_to_gc)) {
/* Never raise the oldest generation. Never raise the extra generation
* collected due to more-flag. */
raise = 0;
more = 0;
} else {
raise =
(gen < last_gen)
|| (generations[gen].num_gc >= generations[gen].number_of_gcs_before_promotion);
/* If we would not normally raise this one, but we're
* running low on space in comparison to the object-sizes
* we've been seeing, raise it and collect the next one
* too. */
if (!raise && gen == last_gen) {
more = (2*large_allocation) >= (dynamic_space_size - bytes_allocated);
raise = more;
}
}
/* If an older generation is being filled, then update its
* memory age. */
if (raise == 1) {
generations[gen+1].cum_sum_bytes_allocated +=
generations[gen+1].bytes_allocated;
}
garbage_collect_generation(gen, raise, cur_thread_approx_stackptr);
/* Reset the memory age cum_sum. */
generations[gen].cum_sum_bytes_allocated = 0;
if (gencgc_verbose > 1) {
fprintf(stderr, "Post-GC(gen=%d):\n", gen);
print_generation_stats();
}
gen++;
} while ((gen <= gencgc_oldest_gen_to_gc)
&& ((gen < last_gen)
|| more
|| (raise
&& (generations[gen].bytes_allocated
> generations[gen].gc_trigger)
&& (generation_average_age(gen)
> generations[gen].minimum_age_before_gc))));
/* Now if gen-1 was raised all generations before gen are empty.
* If it wasn't raised then all generations before gen-1 are empty.
*
* Now objects within this gen's pages cannot point to younger
* generations unless they are written to. This can be exploited
* by write-protecting the pages of gen; then when younger
* generations are GCed only the pages which have been written
* need scanning. */
if (raise)
gen_to_wp = gen;
else
gen_to_wp = gen - 1;
/* There's not much point in WPing pages in generation 0 as it is
* never scavenged (except promoted pages). */
if ((gen_to_wp > 0) && ENABLE_PAGE_PROTECTION) {
/* Check that they are all empty. */
for (i = 0; i < gen_to_wp; i++) {
if (generations[i].bytes_allocated)
lose("trying to write-protect gen. %d when gen. %d nonempty",
gen_to_wp, i);
}
write_protect_generation_pages(gen_to_wp);
}
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
{
// Turn sticky cards marks to the regular mark.
page_index_t page;
for (page=0; page<next_free_page; ++page) {
long card = page_to_card_index(page);
int j;
for (j=0; j<CARDS_PER_PAGE; ++j, ++card)
if (gc_card_mark[card] == STICKY_MARK) gc_card_mark[card] = CARD_MARKED;
}
}
#endif
/* Save the high-water mark before updating next_free_page */
if (next_free_page > high_water_mark)
high_water_mark = next_free_page;
next_free_page = find_next_free_page();
/* Update auto_gc_trigger. Make sure we trigger the next GC before
* running out of heap! */
if (bytes_consed_between_gcs <= (dynamic_space_size - bytes_allocated))
auto_gc_trigger = bytes_allocated + bytes_consed_between_gcs;
else
auto_gc_trigger = bytes_allocated + (dynamic_space_size - bytes_allocated)/2;
if(gencgc_verbose) {
#define MESSAGE ("Next gc when %"OS_VM_SIZE_FMT" bytes have been consed\n")
char buf[64];
int n;
// fprintf() can - and does - cause deadlock here.
// snprintf() seems to work fine.
n = snprintf(buf, sizeof buf, MESSAGE, (uintptr_t)auto_gc_trigger);
ignore_value(write(2, buf, n));
#undef MESSAGE
}
/* If we did a big GC (arbitrarily defined as gen > 1), release memory
* back to the OS.
*/
if (gen > small_generation_limit) {
if (next_free_page > high_water_mark)
high_water_mark = next_free_page;
// BUG? high_water_mark is the highest value of next_free_page,
// which means that page_table[high_water_mark] was actually NOT ever
// used, because next_free_page is an exclusive bound on the range
// of pages used. But remap_free_pages takes to 'to' as an *inclusive*
// bound. The only reason it's not an array overrun error is that
// the page_table has one more element than there are pages.
remap_free_pages(0, high_water_mark);
high_water_mark = 0;
}
large_allocation = 0;
finish:
write_protect_immobile_space();
gc_active_p = 0;
#ifdef COLLECT_GC_STATS
struct timespec t_gc_done;
clock_gettime(CLOCK_MONOTONIC, &t_gc_done);
long et_nsec = (t_gc_done.tv_sec - t_gc_start.tv_sec)*1000000000
+ (t_gc_done.tv_nsec - t_gc_start.tv_nsec);
tot_gc_nsec += et_nsec;
#endif
log_generation_stats(gc_logfile, "=== GC End ===");
// Increment the finalizer runflag. This acts as a count of the number
// of GCs as well as a notification to wake the finalizer thread.
if (finalizer_thread_runflag != 0) {
int newval = 1 + finalizer_thread_runflag;
// check if counter wrapped around. Don't store 0 as the new value,
// as that causes the thread to exit.
finalizer_thread_runflag = newval ? newval : 1;
}
THREAD_JIT(1);
// Clear all pin bits for the next GC cycle.
// This could be done in the background somehow maybe.
page_index_t max_nfp = initial_nfp > next_free_page ? initial_nfp : next_free_page;
memset(gc_page_pins, 0, max_nfp);
}
/* Initialization of gencgc metadata is split into two steps:
* 1. gc_init() - allocation of a fixed-address space via mmap(),
* failing which there's no reason to go on. (safepoint only)
* 2. gc_allocate_ptes() - page table entries
*/
void
gc_init(void)
{
hopscotch_create(&pinned_objects, HOPSCOTCH_HASH_FUN_DEFAULT, 0 /* hashset */,
32 /* logical bin count */, 0 /* default range */);
#ifdef LISP_FEATURE_WIN32
InitializeCriticalSection(&free_pages_lock);
#endif
#if defined(LISP_FEATURE_SB_SAFEPOINT)
extern void safepoint_init(void);
safepoint_init();
#endif
}
int gc_card_table_nbits;
long gc_card_table_mask;
/* alloc() and alloc_list() are external interfaces for memory allocation.
* They allocate to generation 0 and are not called from within the garbage
* collector as it is only external uses that need the check for heap
* size (GC trigger) and to disable the interrupts (interrupts are
* always disabled during a GC).
*
* The vops that allocate assume that the returned space is zero-filled.
* (E.g. the most significant word of a 2-word bignum in MOVE-FROM-UNSIGNED.)
*
* The check for a GC trigger is only performed when the current
* region is full, so in most cases it's not needed. */
int gencgc_alloc_profiler;
NO_SANITIZE_MEMORY lispobj*
lisp_alloc(int flags, struct alloc_region *region, sword_t nbytes,
int page_type, struct thread *thread)
{
os_vm_size_t trigger_bytes = 0;
gc_assert(nbytes > 0);
/* Check for alignment allocation problems. */
gc_assert((((uword_t)region->free_pointer & LOWTAG_MASK) == 0)
&& ((nbytes & LOWTAG_MASK) == 0));
#define SYSTEM_ALLOCATION_FLAG 2
#ifdef LISP_FEATURE_SYSTEM_TLABS
lispobj* handle_arena_alloc(struct thread*, struct alloc_region *, int, sword_t);
if (page_type != PAGE_TYPE_CODE && thread->arena && !(flags & SYSTEM_ALLOCATION_FLAG))
return handle_arena_alloc(thread, region, page_type, nbytes);
#endif
++thread->slow_path_allocs;
if ((os_vm_size_t) nbytes > large_allocation)
large_allocation = nbytes;
/* maybe we can do this quickly ... */
/* I'd really like this "quick" case to be more uniform in terms of whether
* it's allowed to occur at all. Some of the inconsistencies are:
* - 32-bit x86 will (or would, not sure any more) choose to use
* out-of-line allocation if lexical policy favors space.
* - PPC at git rev 28aaa39f4e had a subtle "but-not-wrong" bug at the edge
* where it trapped to C if the new free pointer was ':lge' instead of ':lgt'
* the region end, fixed in rev 05047647.
* - other architectures may have similar issues.
* So because of those reasons, even if we satisfy the allocation
* from the TLAB it might be worth a check of whether to refill
* the TLAB now. */
void *new_obj = region->free_pointer;
char *new_free_pointer = (char*)new_obj + nbytes;
if (new_free_pointer <= (char*)region->end_addr) {
region->free_pointer = new_free_pointer;
#if defined LISP_FEATURE_MIPS || defined LISP_FEATURE_PPC || \
defined LISP_FEATURE_PPC64 || defined LISP_FEATURE_X86_64
/* Most allocations should never get here, but two page types are special.
* - CODE always comes through here.
* - CONS can come through here because when overflow occurs in lisp,
* the fallback logic will call lisp_alloc one or more times,
* obtaining possibly discontiguous pages of conses */
gc_assert(page_type == PAGE_TYPE_CONS || page_type == PAGE_TYPE_CODE);
#endif
return new_obj;
}
/* We don't want to count nbytes against auto_gc_trigger unless we
* have to: it speeds up the tenuring of objects and slows down
* allocation. However, unless we do so when allocating _very_
* large objects we are in danger of exhausting the heap without
* running sufficient GCs.
*/
if ((os_vm_size_t) nbytes >= bytes_consed_between_gcs)
trigger_bytes = nbytes;
/* we have to go the long way around, it seems. Check whether we
* should GC in the near future
*/
if (auto_gc_trigger && (bytes_allocated+trigger_bytes > auto_gc_trigger)) {
/* Don't flood the system with interrupts if the need to gc is
* already noted. This can happen for example when SUB-GC
* allocates or after a gc triggered in a WITHOUT-GCING. */
if (read_TLS(GC_PENDING,thread) == NIL) {
/* set things up so that GC happens when we finish the PA
* section */
write_TLS(GC_PENDING, LISP_T, thread);
if (read_TLS(GC_INHIBIT,thread) == NIL) {
#ifdef LISP_FEATURE_SB_SAFEPOINT
thread_register_gc_trigger();
#else
set_pseudo_atomic_interrupted(thread);
maybe_save_gc_mask_and_block_deferrables
# if HAVE_ALLOCATION_TRAP_CONTEXT
(thread_interrupt_data(thread).allocation_trap_context);
# else
(0);
# endif
#endif
}
}
}
/* For the architectures which do NOT use a trap instruction for allocation,
* overflow, record a backtrace now if statistical profiling is enabled.
* The ones which use a trap will backtrace from the signal handler.
* Code allocations are ignored, because every code allocation
* comes through lisp_alloc() which makes this not a statistical
* sample. Also the trapping ones don't trap for code.
* #+win32 doesn't seem to work, but neither does CPU profiling */
#if !(defined LISP_FEATURE_PPC || defined LISP_FEATURE_PPC64 \
|| defined LISP_FEATURE_SPARC || defined LISP_FEATURE_WIN32)
extern void allocator_record_backtrace(void*, struct thread*);
if (page_type != PAGE_TYPE_CODE && gencgc_alloc_profiler
&& thread->state_word.sprof_enable)
allocator_record_backtrace(__builtin_frame_address(0), thread);
#endif
if (flags & 1) return gc_alloc_large(nbytes, page_type);
int __attribute__((unused)) ret = mutex_acquire(&free_pages_lock);
gc_assert(ret);
ensure_region_closed(region, page_type);
// hold the lock after alloc_new_region if a cons page
int release = page_type != PAGE_TYPE_CONS;
new_obj = gc_alloc_new_region(nbytes, page_type, region, release);
region->free_pointer = (char*)new_obj + nbytes;
// addr_diff asserts that 'end' >= 'free_pointer'
int remaining = addr_diff(region->end_addr, region->free_pointer);
// System TLABs are not important to refill right away (in the nearly-empty case)
// so put a high-enough number in 'remaining' to suppress the grab-another-page test
if (flags & SYSTEM_ALLOCATION_FLAG) remaining = 256;
// Try to avoid the next Lisp -> C -> Lisp round-trip by possibly
// requesting yet another region.
if (page_type == PAGE_TYPE_CONS) {
if (remaining <= CONS_SIZE * N_WORD_BYTES) { // Refill now if <= 1 more cons to go
gc_close_region(region, page_type);
// Request > 2 words, forcing a new page to be claimed.
gc_alloc_new_region(4 * N_WORD_BYTES, page_type, region, 0); // don't release
}
ret = mutex_release(&free_pages_lock);
gc_assert(ret);
} else if (remaining <= 4 * N_WORD_BYTES
&& TryEnterCriticalSection(&free_pages_lock)) {
gc_close_region(region, page_type);
// Request > 4 words, forcing a new page to be claimed.
gc_alloc_new_region(6 * N_WORD_BYTES, page_type, region, 1); // do release
}
return new_obj;
}
#ifdef LISP_FEATURE_SPARC
void mixed_region_rollback(sword_t size)
{
struct alloc_region *region = main_thread_mixed_region;
gc_assert(region->free_pointer > region->end_addr);
region->free_pointer = (char*)region->free_pointer - size;
gc_assert(region->free_pointer >= region->start_addr
&& region->free_pointer <= region->end_addr);
}
#endif
/*
* shared support for the OS-dependent signal handlers which
* catch GENCGC-related write-protect violations
*/
void unhandled_sigmemoryfault(void* addr);
/* Depending on which OS we're running under, different signals might
* be raised for a violation of write protection in the heap. This
* function factors out the common generational GC magic which needs
* to invoked in this case, and should be called from whatever signal
* handler is appropriate for the OS we're running under.
*
* Return true if this signal is a normal generational GC thing that
* we were able to handle, or false if it was abnormal and control
* should fall through to the general SIGSEGV/SIGBUS/whatever logic.
*
* We have two control flags for this: one causes us to ignore faults
* on unprotected pages completely, and the second complains to stderr
* but allows us to continue without losing.
*/
extern bool ignore_memoryfaults_on_unprotected_pages;
bool ignore_memoryfaults_on_unprotected_pages = 0;
extern bool continue_after_memoryfault_on_unprotected_pages;
bool continue_after_memoryfault_on_unprotected_pages = 0;
int gencgc_handle_wp_violation(__attribute__((unused)) void* context, void* fault_addr)
{
page_index_t page_index = find_page_index(fault_addr);
/* Check whether the fault is within the dynamic space. */
if (page_index == (-1)) {
#ifdef LISP_FEATURE_IMMOBILE_SPACE
extern int immobile_space_handle_wp_violation(void*);
if (immobile_space_handle_wp_violation(fault_addr))
return 1;
#endif
/* It can be helpful to be able to put a breakpoint on this
* case to help diagnose low-level problems. */
unhandled_sigmemoryfault(fault_addr);
/* not within the dynamic space -- not our responsibility */
return 0;
}
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
lose("misuse of mprotect() on dynamic space @ %p", fault_addr);
#else
// Pages of code are never have MMU-based protection, except on darwin,
// where they do, but they are thread-locally-un-protected when creating
// objets on those pages.
gc_assert(!is_code(page_table[page_index].type));
// There can not be an open region. gc_close_region() does not attempt
// to flip that bit atomically. (What does this mean?)
gc_assert(!(page_table[page_index].type & OPEN_REGION_PAGE_FLAG));
// The collector should almost never incur page faults, but I haven't
// found all the trouble spots. It may or may not be worth doing.
// See git rev 8a0af65bfd24
// if (gc_active_p && compacting_p()) lose("unexpected WP fault @ %p during GC", fault_addr);
// Because this signal handler can not be interrupted by STOP_FOR_GC,
// the only possible state change between reading the mark and deciding how
// to proceed is due to another thread also unprotecting the address.
// That's fine; in fact it's OK to read a stale value here.
// The only harmful case would be where the mark byte says it was
// never protected, and the fault occurred nonetheless. That can't happen.
unsigned char mark = gc_card_mark[addr_to_card_index(fault_addr)];
switch (mark) {
case CARD_UNMARKED:
case WP_CLEARED_AND_MARKED: // possible data race
unprotect_page(fault_addr, WP_CLEARED_AND_MARKED);
break;
default:
if (!ignore_memoryfaults_on_unprotected_pages) {
void lisp_backtrace(int frames);
lisp_backtrace(10);
fprintf(stderr,
"Fault @ %p, PC=%p, page %"PAGE_INDEX_FMT" (~WP) mark=%#x gc_active=%d\n"
" mixed_region=%p:%p\n"
" page.scan_start: %p .words_used: %u .type: %d .gen: %d\n",
fault_addr, (void*)(context?os_context_pc(context):(uword_t)-1), page_index,
mark, gc_active_p,
mixed_region->start_addr, mixed_region->end_addr,
page_scan_start(page_index),
page_words_used(page_index),
page_table[page_index].type,
page_table[page_index].gen);
if (!continue_after_memoryfault_on_unprotected_pages) lose("Feh.");
}
}
#endif
return 1; // Handled
}
/* This is to be called when we catch a SIGSEGV/SIGBUS, determine that
* it's not just a case of the program hitting the write barrier, and
* are about to let Lisp deal with it. It's basically just a
* convenient place to set a gdb breakpoint. */
void
unhandled_sigmemoryfault(void __attribute__((unused)) *addr)
{}
void zero_all_free_ranges() /* called only by gc_and_save() */
{
page_index_t i;
for (i = 0; i < next_free_page; i++) {
char* start = page_address(i);
char* page_end = start + GENCGC_PAGE_BYTES;
start += page_bytes_used(i);
memset(start, 0, page_end-start);
}
#ifndef LISP_FEATURE_SB_THREAD
// zero the allocation regions at the start of static-space
// This gets a spurious warning:
// warning: 'memset' offset [0, 71] is out of the bounds [0, 0] [-Warray-bounds]
// which 'volatile' works around.
char * volatile region = (char*)STATIC_SPACE_START;
bzero((char*)region, 3*sizeof (struct alloc_region));
#endif
}
generation_index_t gc_gen_of(lispobj obj, int defaultval) {
int page = find_page_index((void*)obj);
if (page >= 0) return page_table[page].gen;
#ifdef LISP_FEATURE_IMMOBILE_SPACE
if (immobile_space_p(obj))
return immobile_obj_generation(base_pointer(obj));
#endif
return defaultval;
}
/* Return 1 if 'a' is strictly younger than 'b'.
* This asserts that 'a' is pinned if in 'from_space' because it is
* specifically a helper function for scav_code_blob(), where this is
* called after scavenging the header. So if something didn't get moved
* out of from_space, then it must have been pinned.
* So don't call this for anything except that use-case. */
static inline bool obj_gen_lessp(lispobj obj, generation_index_t b)
{
generation_index_t a = gc_gen_of(obj, ARTIFICIALLY_HIGH_GEN);
if (a == from_space) {
gc_assert(pinned_p(obj, find_page_index((void*)obj)));
a = new_space;
}
return ((a==SCRATCH_GENERATION) ? from_space : a) < b;
}
/* Loosely inspired by the code in 'purify' */
#define LATERBLOCKSIZE 50000 // arbitrary
static struct later {
struct later *next;
struct code *list[LATERBLOCKSIZE];
int count;
} *later_blocks = NULL;
static void delay_code_metadata_scavenge(struct code* code)
{
struct later* block = later_blocks;
if (!block || block->count == LATERBLOCKSIZE) {
block = calloc(1, sizeof (struct later));
block->next = later_blocks;
later_blocks = block;
}
block->list[block->count] = code;
++block->count;
}
static void finish_code_metadata()
{
struct later *block = later_blocks;
int i;
save_lisp_gc_iteration = 3; // ensure no more delaying of metadata scavenge
for ( ; block ; block = block->next ) {
for (i = 0; i < block->count; ++i) {
struct code*c = block->list[i];
gc_assert(!forwarding_pointer_p((lispobj*)c));
scavenge(&c->debug_info, 2); // debug_info and fixups
CLEAR_WRITTEN_FLAG((lispobj*)c);
}
}
scavenge_newspace(new_space);
}
sword_t scav_code_blob(lispobj *object, lispobj header)
{
struct code* code = (struct code*)object;
int nboxed = code_header_words(code);
if (!nboxed) goto done;
int my_gen = gc_gen_of((lispobj)object, ARTIFICIALLY_HIGH_GEN);
if (my_gen < ARTIFICIALLY_HIGH_GEN && ((my_gen & 7) == from_space)) {
// Since 'from_space' objects are not directly scavenged - they can
// only be scavenged after moving to newspace, then this object
// must be pinned. (It's logically in newspace). Assert that.
gc_assert(pinned_p(make_lispobj(object, OTHER_POINTER_LOWTAG),
find_page_index(object)));
my_gen = new_space;
}
// If the header's 'written' flag is off and it was not copied by GC
// into newspace, then the object should be ignored.
// This test could stand to be tightened up: in a GC promotion cycle
// (e.g. 0 becomes 1), we can't discern objects that got copied to newspace
// from objects that started out there. Of the ones that were already there,
// we need only scavenge those marked as written. All the copied one
// should always be scavenged. So really what we could do is mark anything
// that got copied as written, which would allow dropping the second half
// of the OR condition. As is, we scavenge "too much" of newspace which
// is not an issue of correctness but rather efficiency.
if (header_rememberedp(header) || (my_gen == new_space) ||
((uword_t)object >= STATIC_SPACE_START && object < static_space_free_pointer)) {
// FIXME: We sometimes scavenge protected pages.
// This assertion fails, but things work nonetheless.
// gc_assert(!card_protected_p(object));
if (save_lisp_gc_iteration == 2) {
// Attempt to place debug-info at end of the heap by not scavenging now
scavenge(object + 4, nboxed - 4);
delay_code_metadata_scavenge(code);
} else {
/* Scavenge the boxed section of the code data block. */
scavenge(object + 2, nboxed - 2);
}
#ifdef LISP_FEATURE_UNTAGGED_FDEFNS
// Process each untagged fdefn pointer.
// TODO: assert that the generation of any fdefn is older than that of 'code'.
lispobj* fdefns = code->constants +
code_n_funs(code) * CODE_SLOTS_PER_SIMPLE_FUN;
int n_fdefns = code_n_named_calls(code);
int i;
for (i=0; i<n_fdefns; ++i) {
lispobj word = fdefns[i];
if (word) {
gc_assert(!(word & LOWTAG_MASK)); // must not have OTHER_POINTER_LOWTAG
lispobj tagged_word = word | OTHER_POINTER_LOWTAG;
scavenge(&tagged_word, 1);
if (tagged_word - OTHER_POINTER_LOWTAG != word) {
fdefns[i] = tagged_word - OTHER_POINTER_LOWTAG;
}
}
}
#endif
#if defined LISP_FEATURE_64_BIT && !defined LISP_FEATURE_DARWIN_JIT
/* If any function in this code object redirects to a function outside
* the object, then scavenge all entry points. Otherwise there is no need,
* as trans_code() made necessary adjustments to internal entry points.
* This test is just an optimization to avoid some work */
if (((*object >> 16) & 0xff) == CODE_IS_TRACED) {
#else
{ /* Not enough spare bits in the header to hold random flags.
* Just do the extra work always */
#endif
for_each_simple_fun(i, fun, code, 1, {
if (simplefun_is_wrapped(fun)) {
lispobj target_fun = fun_taggedptr_from_self(fun->self);
lispobj new = target_fun;
scavenge(&new, 1);
if (new != target_fun) fun->self = fun_self_from_taggedptr(new);
}
})
}
if (save_lisp_gc_iteration == 2) goto done;
/* If my_gen is other than newspace, then scan for old->young
* pointers. If my_gen is newspace, there can be no such pointers
* because newspace is the lowest numbered generation post-GC
* (regardless of whether this is a promotion cycle) */
if (my_gen != new_space) {
lispobj *where, *end = object + nboxed, ptr;
for (where= object + 2; where < end; ++where)
if (is_lisp_pointer(ptr = *where) && obj_gen_lessp(ptr, my_gen))
goto done;
}
CLEAR_WRITTEN_FLAG(object);
}
done:
return code_total_nwords(code);
}
// For the standalone ldb monitor
void recompute_gen_bytes_allocated() {
page_index_t page;
int gen;
for (gen=0; gen<NUM_GENERATIONS; ++gen)
generations[gen].bytes_allocated = 0;
for (page=0; page<next_free_page; ++page)
generations[page_table[page].gen].bytes_allocated += page_bytes_used(page);
bytes_allocated = 0;
for (gen=0; gen<NUM_GENERATIONS; ++gen)
bytes_allocated += generations[gen].bytes_allocated;
}
void really_note_transporting(lispobj old,void*new,sword_t nwords)
{
page_index_t p = find_page_index((void*)old);
__attribute__((unused)) uword_t page_usage_limit = (uword_t)((lispobj*)page_address(p) + page_words_used(p));
gc_assert(old < (uword_t)page_usage_limit); // this helps find bogus pointers
if (GC_LOGGING)
fprintf(gc_activitylog(),
listp(old)?"t %"OBJ_FMTX" %"OBJ_FMTX"\n":
"t %"OBJ_FMTX" %"OBJ_FMTX" %x\n",
old, (uword_t)new, (int)nwords);
}
/** heap invariant checker **/
static bool card_markedp(void* addr)
{
#ifdef LISP_FEATURE_IMMOBILE_SPACE
if (immobile_space_p((lispobj)addr))
return !immobile_card_protected_p(addr);
#endif
return gc_card_mark[addr_to_card_index(addr)] != CARD_UNMARKED;
}
char *page_card_mark_string(page_index_t page, char *result)
{
long card = addr_to_card_index(page_address(page));
if (cardseq_all_marked_nonsticky(card))
result[0] = '*', result[1] = 0;
else if (!cardseq_any_marked(card))
result[0] = '-', result[1] = 0;
else {
int i;
for(i=0; i<CARDS_PER_PAGE; ++i)
switch (gc_card_mark[card+i] & MARK_BYTE_MASK) {
case CARD_MARKED: result[i] = '*'; break;
case CARD_UNMARKED: result[i] = '-'; break;
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
case STICKY_MARK: result[i] = 'S'; break;
#else
case WP_CLEARED_AND_MARKED: result[i] = 'd'; break; // "d" is for dirty
#endif
default: result[i] = '?'; break; // illegal value
}
result[CARDS_PER_PAGE] = 0;
}
return result;
}
#define PRINT_HEADER_ON_FAILURE 2048
// Check a single pointer. Return 1 if we should stop verifying due to too many errors.
// (Otherwise continue showing errors until then)
// NOTE: This function can produces false failure indications,
// usually related to dynamic space pointing to the stack of a
// dead thread, but there may be other reasons as well.
static void note_failure(lispobj thing, lispobj *where, struct verify_state *state,
char *str)
{
if (state->flags & PRINT_HEADER_ON_FAILURE) {
if (state->flags & VERIFY_PRE_GC) fprintf(stderr, "pre-GC failure\n");
if (state->flags & VERIFY_POST_GC) fprintf(stderr, "post-GC failure\n");
state->flags &= ~PRINT_HEADER_ON_FAILURE;
}
if (state->object_addr) {
lispobj obj = compute_lispobj(state->object_addr);
page_index_t pg = find_page_index(state->object_addr);
fprintf(stderr, "Ptr %p @ %"OBJ_FMTX" (lispobj %"OBJ_FMTX",pg%d) sees %s\n",
(void*)thing, (uword_t)where, obj, (int)pg, str);
// Record this in state->err_objs if possible
int i;
for(i=0; i<MAX_ERR_OBJS; ++i)
if (!state->err_objs[i]) {
state->err_objs[i] = (uword_t)state->object_addr;
break;
}
} else {
fprintf(stderr, "Ptr %p @ %"OBJ_FMTX" sees %s\n", (void*)thing, (uword_t)where, str);
}
}
static int
verify_pointer(lispobj thing, lispobj *where, struct verify_state *state)
{
extern int valid_lisp_pointer_p(lispobj);
/* Strict containment: no pointer from a heap space may point
* to anything outside of a heap space. */
// bool strict_containment = state->flags & VERIFY_FINAL;
#define FAIL_IF(cond, why) \
if (cond) { if (++state->nerrors > 25) return 1; note_failure(thing,where,state,why); }
if (!is_lisp_pointer(thing)) {
FAIL_IF(!is_lisp_immediate(thing), "strange non-pointer");
return 0;
}
// if (strict_containment && !gc_managed_heap_space_p(thing)) GC_WARN("non-Lisp memory");
page_index_t source_page_index = find_page_index(where);
page_index_t target_page_index = find_page_index((void*)thing);
if (!(target_page_index >= 0 || immobile_space_p(thing))) return 0; // can't do much with it
if ((state->flags & VERIFY_TAGS) && target_page_index >= 0) {
if (listp(thing)) {
FAIL_IF(!(is_cons_half(CONS(thing)->car) && is_cons_half(CONS(thing)->cdr)),
"non-cons");
} else {
FAIL_IF(LOWTAG_FOR_WIDETAG(widetag_of(native_pointer(thing))) != lowtag_of(thing),
"incompatible widetag");
}
}
generation_index_t to_gen =
#ifdef LISP_FEATURE_IMMOBILE_SPACE
points_to_asm_code_p((uword_t)thing)?
gc_gen_of(make_lispobj((void*)asm_routines_start,OTHER_POINTER_LOWTAG),0):
#endif
gc_gen_of(thing, ARTIFICIALLY_HIGH_GEN);
if (to_gen < state->min_pointee_gen) state->min_pointee_gen = to_gen;
if (state->flags & VERIFY_QUICK) return 0;
if (target_page_index >= 0) {
// If it's within the dynamic space it should point to a used page.
FAIL_IF(page_free_p(target_page_index), "free page");
FAIL_IF(!(page_table[target_page_index].type & OPEN_REGION_PAGE_FLAG)
&& (thing & (GENCGC_PAGE_BYTES-1)) >= page_bytes_used(target_page_index),
"unallocated space");
} else {
// The object pointed to must not have been discarded as garbage.
FAIL_IF(!other_immediate_lowtag_p(*native_pointer(thing)), "trashed object");
}
// Must not point to a forwarding pointer
FAIL_IF(*native_pointer(thing) == FORWARDING_HEADER, "forwarding ptr");
// Forbid pointers from R/O space into a GCed space
FAIL_IF((READ_ONLY_SPACE_START <= (uword_t)where && where < read_only_space_free_pointer),
"dynamic space from RO space");
// Card marking invariant check, but only if the source of pointer is a heap object
if (header_widetag(state->object_header) == CODE_HEADER_WIDETAG
&& ! is_in_static_space(state->object_addr)
&& to_gen < state->object_gen) {
// two things must be true:
// 1. the card containing the code must be marked
FAIL_IF(!card_markedp(state->object_addr), "younger obj from WP'd code header page");
// 2. the object header must be marked as written
if (!header_rememberedp(state->object_header))
lose("code @ %p (g%d). word @ %p -> %"OBJ_FMTX" (g%d)",
state->object_addr, state->object_gen, where, thing, to_gen);
} else if ((state->flags & VERIFYING_GENERATIONAL) && to_gen < state->object_gen
&& source_page_index >= 0) {
/* The WP criteria are:
* - CONS marks the exact card since it can't span cards
* - SIMPLE-VECTOR marks the card containing the cell with the old->young pointer.
* - Everything else marks the object header -OR- the card with the pointer.
* (either/or because Lisp marks the header card,
* but the collector marks the cell's card.) */
int marked = card_markedp(where)
#ifdef LISP_FEATURE_SOFT_CARD_MARKS
|| (state->object_header
&& header_widetag(state->object_header) != SIMPLE_VECTOR_WIDETAG
&& card_markedp(state->object_addr))
#elif defined LISP_FEATURE_EXECUTABLE_FUNINSTANCES
/* #+(and (not soft-card-marks) executable-funinstances) could find the mark
* for a page-spanning funinstance on the preceding page, because it uses
* logical marking, not physical protection of the page holding the pointer */
|| (header_widetag(state->object_header) == FUNCALLABLE_INSTANCE_WIDETAG
&& card_markedp(state->object_addr))
#endif
;
FAIL_IF(!marked, "younger obj from WP page");
}
int valid;
if (state->flags & VERIFY_AGGRESSIVE) // Extreme paranoia mode
valid = valid_lisp_pointer_p(thing);
else {
/* Efficiently decide whether 'thing' is plausible.
* This MUST NOT use properly_tagged_descriptor_p() which
* assumes a known good object base address, and would
* "dangerously" scan a code component for embedded funs. */
valid = plausible_tag_p(thing);
}
/* If 'thing' points to a stack, we can only hope that the stack
* frame is ok, or the object at 'where' is unreachable. */
FAIL_IF(!valid && !is_in_stack_space(thing), "junk");
return 0;
}
#define CHECK(pointer, where) if (verify_pointer(pointer, where, state)) return 1
/* Return 0 if good, 1 if bad */
static int verify_headered_object(lispobj* object, sword_t nwords,
struct verify_state *state)
{
long i;
int widetag = widetag_of(object);
if (instanceoid_widetag_p(widetag)) {
lispobj layout = layout_of(object);
if (layout) {
CHECK(layout, object);
struct bitmap bitmap = get_layout_bitmap(LAYOUT(layout));
if (widetag_of(object) == FUNCALLABLE_INSTANCE_WIDETAG) {
#ifndef LISP_FEATURE_COMPACT_INSTANCE_HEADER
gc_assert(bitmap.bits[0] == (sword_t)-4);
#endif
}
if (lockfree_list_node_layout_p(LAYOUT(layout))) {
struct list_node* node = (void*)object;
lispobj next = node->_node_next;
if (fixnump(next) && next)
CHECK(next | INSTANCE_POINTER_LOWTAG, &node->_node_next);
}
for (i=0; i<(nwords-1); ++i)
if (bitmap_logbitp(i, bitmap)) CHECK(object[1+i], object+1+i);
}
return 0;
}
if (widetag == CODE_HEADER_WIDETAG) {
struct code *code = (struct code *)object;
gc_assert(fixnump(object[1])); // boxed size, needed for code_header_words()
sword_t nheader_words = code_header_words(code);
/* Verify the boxed section of the code data block */
state->min_pointee_gen = ARTIFICIALLY_HIGH_GEN;
#ifdef LISP_FEATURE_UNTAGGED_FDEFNS
{
lispobj* pfdefn = code->constants + code_n_funs(code) * CODE_SLOTS_PER_SIMPLE_FUN;
lispobj* end = pfdefn + code_n_named_calls(code);
for ( ; pfdefn < end ; ++pfdefn)
if (*pfdefn) CHECK(*pfdefn | OTHER_POINTER_LOWTAG, pfdefn);
}
#endif
for (i=2; i <nheader_words; ++i) CHECK(object[i], object+i);
// Check the SIMPLE-FUN headers
for_each_simple_fun(i, fheaderp, code, 1, {
#if defined LISP_FEATURE_COMPACT_INSTANCE_HEADER
lispobj __attribute__((unused)) layout = funinstance_layout((lispobj*)fheaderp);
gc_assert(!layout || layout == LAYOUT_OF_FUNCTION);
#elif defined LISP_FEATURE_64_BIT
gc_assert((fheaderp->header >> 32) == 0);
#endif
});
#if 0 // this looks redundant. It's checked with each pointer, no?
bool rememberedp = header_rememberedp(code->header);
/* The remembered set invariant is that an object is marked "written"
* if and only if either it points to a younger object or is pointed
* to by a register or stack. (The pointed-to case assumes that the
* very next instruction on return from GC would store an old->young
* pointer into that object). Non-compacting GC does not have the
* "only if" part of that, nor does pre-GC verification because we
* don't test the generation of the newval when storing into code. */
if (is_in_static_space(object)) { }
else if (compacting_p() && (state->flags & VERIFY_POST_GC) ?
(state->min_pointee_gen < state->object_gen) != rememberedp :
(state->min_pointee_gen < state->object_gen) && !rememberedp)
lose("object @ %p is gen%d min_pointee=gen%d %s",
(void*)state->tagged_object, state->object_gen, state->min_pointee_gen,
rememberedp ? "written" : "not written");
#endif
return 0;
}
if (widetag == SYMBOL_WIDETAG) {
struct symbol* s = (void*)object;
CHECK(s->value, &s->value);
CHECK(s->fdefn, &s->fdefn);
CHECK(s->info, &s->info);
CHECK(decode_symbol_name(s->name), &s->name);
return 0;
}
if (widetag == FDEFN_WIDETAG) {
struct fdefn* f = (void*)object;
CHECK(f->name, &f->name);
CHECK(f->fun, &f->fun);
CHECK(decode_fdefn_rawfun(f), (lispobj*)&f->raw_addr);
return 0;
}
for (i=1; i<nwords; ++i) CHECK(object[i], object+i);
return 0;
}
static __attribute__((unused)) bool acceptable_filler_cons_p(lispobj* where)
{
if (where[0] == 0 && where[1] == 0) return 1;
// These "conses" can result from bignum multiplication-
// trailing insigificant sign bits which get chopped.
if (where[0] == (uword_t)-1 && where[1] == (uword_t)-1) return 1;
if (where[0] == (uword_t)-1 && where[1] == 0) return 1;
return 0;
}
static int verify_range(lispobj* start, lispobj* end, struct verify_state* state)
{
lispobj* where = start;
if (state->flags & VERIFYING_GENERATIONAL && find_page_index(start)>=0) {
page_index_t page = find_page_index(start);
if (page_table[page].type == PAGE_TYPE_CONS)
gc_assert(page_words_used(page) <= MAX_CONSES_PER_PAGE*CONS_SIZE);
}
if ((state->flags & VERIFYING_UNFORMATTED)) {
while (where < end) {
if (*where != NO_TLS_VALUE_MARKER) {
int result = verify_pointer(*where, where, state);
if (result) return result;
}
++where;
}
return 0;
}
while (where < end) {
int widetag = is_header(*where) ? header_widetag(*where) : LIST_POINTER_LOWTAG;
/* Technically we should wait until after performing the widetag validity
* tests before calling the sizer. Otherwise the lossage message would
* not be as good as it could be. I guess that failure doesn't happen much */
sword_t nwords = object_size(where);
state->object_addr = where;
state->object_header = is_cons_half(*where) ? 0 : *where;
if (state->flags & VERIFYING_GENERATIONAL) {
page_index_t pg = find_page_index(where);
state->object_gen = pg >= 0 ? page_table[pg].gen :
gc_gen_of((lispobj)where, ARTIFICIALLY_HIGH_GEN);
#ifdef LISP_FEATURE_PPC64
// Cons fillers (two words of all 1s) cause failure of
// the default verification logic, so brute-force skip them
// regardless of whether the page type is PAGE_TYPE_CONS.
if (*where == (uword_t)-1 && where[1] == (uword_t)-1) {
where +=2;
continue;
}
#endif
if (widetag != FILLER_WIDETAG && pg >= 0) {
// Assert proper page type
if (state->object_header) // is not a cons
gc_assert(page_table[pg].type != PAGE_TYPE_CONS);
#ifdef LISP_FEATURE_USE_CONS_REGION
else if (page_table[pg].type != PAGE_TYPE_CONS) {
if (is_cons_half(where[0]))
gc_assert(acceptable_filler_cons_p(where));
}
#endif
if (widetag == CODE_HEADER_WIDETAG) {
if (!is_code(page_table[pg].type))
lose("object @ %p is code on non-code page", where);
} else if (widetag == FUNCALLABLE_INSTANCE_WIDETAG) {
// where these reside depends on the architecture
} else {
if (is_code(page_table[pg].type))
lose("object @ %p is non-code on code page", where);
}
}
}
if (!state->object_header) {
if (verify_pointer(where[0], where+0, state) ||
verify_pointer(where[1], where+1, state)) break;
} else if (widetag == FILLER_WIDETAG) { // do nothing
} else if (!(other_immediate_lowtag_p(widetag) && LOWTAG_FOR_WIDETAG(widetag))) {
lose("Unhandled widetag %"OBJ_FMTX" @ %p", *where, where);
} else if (leaf_obj_widetag_p(widetag)) {
#ifdef LISP_FEATURE_UBSAN
if (specialized_vector_widetag_p(widetag)) {
if (is_lisp_pointer(object[1])) {
struct vector* bits = (void*)native_pointer(object[1]);
if (header_widetag(bits->header) != SIMPLE_BIT_VECTOR_WIDETAG)
lose("bad shadow bits for %p", where);
gc_assert(header_widetag(bits->header) == SIMPLE_BIT_VECTOR_WIDETAG);
gc_assert(vector_len(bits) >= vector_len((struct vector*)object));
}
}
#endif
bool strict_containment = state->flags & VERIFY_FINAL;
if (strict_containment && gencgc_verbose && widetag == SAP_WIDETAG && where[1])
fprintf(stderr, "\nStrange SAP %p -> %p\n", where, (void*)where[1]);
} else {
if (verify_headered_object(where, nwords, state)) break;
}
where += nwords;
}
return 0;
}
static int verify(lispobj start, lispobj* end, struct verify_state* state, int flags)
{
int savedflags = state->flags;
state->flags |= flags;
int result = verify_range((lispobj*)start, end, state);
state->flags = savedflags;
return result;
}
extern void save_gc_crashdump(char *, lispobj*);
/* Return the number of verification errors found.
* You might want to use that as a deciding factor for dump the heap
* to a file (which takes time, and generally isn't needed).
* But if a particular verification fails, then do dump it */
int verify_heap(__attribute__((unused)) lispobj* cur_thread_approx_stackptr,
int flags)
{
int verbose = gencgc_verbose | ((flags & VERIFY_VERBOSE) != 0);
struct verify_state state;
memset(&state, 0, sizeof state);
state.flags = flags;
if (verbose)
fprintf(stderr,
flags & VERIFY_PRE_GC ? "Verify before GC" :
flags & VERIFY_POST_GC ? "Verify after GC(%d)" :
"Heap check", // if called at a random time
(int)(flags>>16)); // generation number
else
state.flags |= PRINT_HEADER_ON_FAILURE;
#ifdef LISP_FEATURE_IMMOBILE_SPACE
# ifdef __linux__
// Try this verification if immobile-space was compiled with extra debugging.
// But weak symbols don't work on macOS.
extern void __attribute__((weak)) check_text_pages();
if (&check_text_pages) check_text_pages();
# endif
if (verbose)
fprintf(stderr, " [immobile]");
if (verify(FIXEDOBJ_SPACE_START,
fixedobj_free_pointer, &state,
flags | VERIFYING_GENERATIONAL)) goto out;
if (verify(TEXT_SPACE_START,
text_space_highwatermark, &state,
flags | VERIFYING_GENERATIONAL)) goto out;
#endif
struct thread *th;
if (verbose)
fprintf(stderr, " [threads]");
state.object_addr = 0;
state.object_gen = 0;
for_each_thread(th) {
if (verify((lispobj)th->binding_stack_start,
(lispobj*)get_binding_stack_pointer(th), &state,
VERIFYING_UNFORMATTED)) goto out;
if (verify((lispobj)&th->lisp_thread,
(lispobj*)(SymbolValue(FREE_TLS_INDEX,0) + (char*)th), &state,
VERIFYING_UNFORMATTED))
goto out;
}
if (verbose)
fprintf(stderr, " [RO]");
if (verify(READ_ONLY_SPACE_START, read_only_space_free_pointer, &state, 0)) goto out;
if (verbose)
fprintf(stderr, " [static]");
// Just don't worry about NIL, it's seldom the problem
// if (verify(NIL_SYMBOL_SLOTS_START, (lispobj*)NIL_SYMBOL_SLOTS_END, &state, 0)) goto out;
if (verify(STATIC_SPACE_OBJECTS_START, static_space_free_pointer, &state, 0)) goto out;
if (verbose)
fprintf(stderr, " [dynamic]");
state.flags |= VERIFYING_GENERATIONAL;
walk_generation((uword_t(*)(lispobj*,lispobj*,uword_t))verify_range,
-1, (uword_t)&state);
if (verbose && state.nerrors==0) fprintf(stderr, " passed\n");
out:
if (state.nerrors && !(flags & VERIFY_DONT_LOSE)) {
// dump_spaces(&state, "verify failed");
lose("Verify failed: %d errors", state.nerrors);
}
return state.nerrors;
}
void gc_show_pte(lispobj obj)
{
char marks[1+CARDS_PER_PAGE];
page_index_t page = find_page_index((void*)obj);
if (page>=0) {
printf("page %"PAGE_INDEX_FMT" base %p gen %d type %x ss %p used %x",
page, page_address(page), page_table[page].gen, page_table[page].type,
page_scan_start(page), page_bytes_used(page));
if (page_starts_contiguous_block_p(page)) printf(" startsblock");
if (page_ends_contiguous_block_p(page, page_table[page].gen)) printf(" endsblock");
printf(" (%s)\n", page_card_mark_string(page, marks));
return;
}
#ifdef LISP_FEATURE_IMMOBILE_SPACE
page = find_text_page_index((void*)obj);
if (page>=0) {
lispobj* text_page_scan_start(low_page_index_t page);
int gens = text_page_genmask[page];
char genstring[9];
int i;
for (i=0;i<8;++i) genstring[i] = (gens & (1<<i)) ? '0'+i : '-';
genstring[8] = 0;
printf("page %d (v) base %p gens %s ss=%p%s\n",
(int)page, text_page_address(page), genstring,
text_page_scan_start(page),
card_markedp((void*)obj)?"":" WP");
return;
}
page = find_fixedobj_page_index((void*)obj);
if (page>=0) {
printf("page %d (f) align %d gens %x%s\n", (int)page,
fixedobj_pages[page].attr.parts.obj_align,
fixedobj_pages[page].attr.parts.gens_,
card_markedp((void*)obj)?"": " WP");
return;
}
#endif
printf("not in GC'ed space\n");
}
static int hexdump_counter;
extern void dump_immobile_fixedobjs(lispobj* where, lispobj* end, FILE*f);
extern void dump_immobile_text(lispobj* where, lispobj* end, FILE*f);
static int dump_completely_p(lispobj* obj, struct verify_state* state)
{
int i;
if (!state) {
page_index_t pg = find_page_index(obj);
if (pg >= 10470 && pg <= 10485) return 1; // (as an example)
return 0;
}
for (i=0; i<MAX_ERR_OBJS; ++i)
if (state->err_objs[i] == (uword_t)obj) return 1;
return 0;
}
static void hexdump_control_stacks(__attribute__((unused)) void* approximate_stackptr,
__attribute__((unused)) FILE *stream)
{
#ifdef LISP_FEATURE_C_STACK_IS_CONTROL_STACK
struct thread* th;
for_each_thread(th) {
if (th->state_word.state == STATE_DEAD) continue;
lispobj* stackptr;
if (th == get_sb_vm_thread()) {
stackptr = approximate_stackptr;
} else {
int ici = fixnum_value(read_TLS(FREE_INTERRUPT_CONTEXT_INDEX,th))-1;
os_context_t *c = nth_interrupt_context(ici, th);
stackptr = (lispobj*) *os_context_register_addr(c,reg_SP);
}
gc_assert(((uword_t)stackptr & (LOWTAG_MASK>>1)) == 0); // lispword-aligned
lispobj* where = th->control_stack_end;
fprintf(stream, "\nThread @ %p\n", th);
for (--where; where >= stackptr; --where) {
lispobj word = *where;
if (!fixnump(word) && gc_managed_addr_p(word))
fprintf(stream, " %p: %"OBJ_FMTX"\n", where, word);
}
}
#endif
}
#define HEXDUMP_PATH_TEMPLATE "/var/tmp/heap-%d-%d.txt"
/* Dump spaces as human-readable text (hexadecimal) */
void hexdump_spaces(struct verify_state* state, char *reason)
{
char path[100];
++hexdump_counter;
sprintf(path, HEXDUMP_PATH_TEMPLATE, getpid(), hexdump_counter);
FILE *f = fopen(path, "w");
#ifdef LISP_FEATURE_IMMOBILE_SPACE
fprintf(f, "Fixedobj space:\n");
dump_immobile_fixedobjs((lispobj*)FIXEDOBJ_SPACE_START, fixedobj_free_pointer, f);
fprintf(f, "Text space (tlsf mem @ %p):\n", tlsf_mem_start);
dump_immobile_text((lispobj*)TEXT_SPACE_START, text_space_highwatermark, f);
#endif
fprintf(f, "Dynamic space:\n");
page_index_t firstpage = 0, lastpage;
while (firstpage < next_free_page) {
lastpage = firstpage;
while (!page_ends_contiguous_block_p(lastpage, page_table[firstpage].gen))
lastpage++;
if (!page_bytes_used(firstpage)) {
firstpage = 1+lastpage;
continue;
}
lispobj* base = (lispobj*)page_address(firstpage);
lispobj* limit = (lispobj*)page_address(lastpage) + page_words_used(lastpage);
fprintf(f, "range %d:%d (%p:%p) t%d g%d ",
(int)firstpage, (int)lastpage, base, limit,
page_table[firstpage].type, page_table[firstpage].gen);
page_index_t p;
for (p = firstpage; p <= lastpage; ++p) {
char marks[1+CARDS_PER_PAGE];
putc((p == firstpage) ? '(' : ' ', f);
fprintf(f, "%s", page_card_mark_string(p, marks));
}
fprintf(f, ")\n");
lispobj *where = base;
while (where<limit){
sword_t nwords = object_size(where);
/* If your'e having trouble with a subset of objects, and you can get
* a reliable reproducer, this predicate can decide which objects to
* output in full. Generally you don't need that much output */
if (widetag_of(where) == FILLER_WIDETAG) {
lispobj* end = where + (1+HeaderValue(*where));
fprintf(f, " %06x: fill to %p\n", (int)(uword_t)where & 0xffffff, end);
} else if (dump_completely_p(where, state)) {
sword_t i;
for(i=0;i<nwords;++i) {
uword_t word = where[i];
if (i==0)
fprintf(f, " %06x: %"OBJ_FMTX, (int)(uword_t)(where+i) & 0xffffff, word);
else
fprintf(f, " %04x: %"OBJ_FMTX, (int)(uword_t)(where+i) & 0xffff, word);
#ifdef LISP_FEATURE_IMMOBILE_SPACE
if (i == 0 && header_widetag(word) == INSTANCE_WIDETAG) word >>= 32;
#endif
if (is_lisp_pointer(word)
&& (find_page_index((void*)word)>=0 || immobile_space_p(word)))
fprintf(f, " (g%d)", gc_gen_of(word, 0xff));
fprintf(f,"\n");
}
} else {
int min_gen = 8;
int prefix = ' ';
if (widetag_of(where)==CODE_HEADER_WIDETAG && header_rememberedp(*where))
prefix = '#';
else if (card_dirtyp(addr_to_card_index(where)))
prefix = '|';
fprintf(f, "%c%06x: %"OBJ_FMTX, prefix, (int)(uword_t)where & 0xffffff, *where);
int i;
int boxed_nwords = nwords;
// This is just a heuristic guess of pointee generation.
// For code it's (mostly) right, for other things it's slightly less right
// because we're really not respecting the tagged or raw nature of each word.
if (widetag_of(where)==CODE_HEADER_WIDETAG)
boxed_nwords = code_header_words((struct code*)where);
for (i=0; i<boxed_nwords; ++i) {
uword_t word = where[i];
page_index_t pointee_page;
if (is_lisp_pointer(word) && (pointee_page=find_page_index((void*)word))>=0
&& page_table[pointee_page].gen < min_gen)
min_gen = page_table[pointee_page].gen;
}
if (min_gen != 8)
fprintf(f, " (>g%d)\n", min_gen);
else
fprintf(f, "\n");
}
where += nwords;
}
fprintf(f,"--\n");
firstpage = 1+lastpage;
}
hexdump_control_stacks(&reason, f);
fclose(f);
fprintf(stderr, "%s: wrote [%s]\n", reason, path);
}
int hexdump_enabled = 0;
int hexdump_and_verify_heap(lispobj* cur_thread_approx_stackptr, int flags)
{
if (hexdump_enabled) hexdump_spaces(0, flags & VERIFY_POST_GC ? "post-GC" : "pre-GC");
#if 0
if (hexdump_counter >= 9) {
char pathname[128];
sprintf(pathname, "gc-%d-%d-%d-%s.bin",
getpid(), n_gcs, from_space,
flags & VERIFY_POST_GC ? "post" : "pre");
save_gc_crashdump(pathname, cur_thread_approx_stackptr);
fprintf(stderr, "Wrote [%s]\n", pathname);
}
#endif
return verify_heap(cur_thread_approx_stackptr, flags);
}
static int count_immobile_objects(__attribute__((unused)) int gen, int res[4])
{
#ifdef LISP_FEATURE_IMMOBILE_SPACE
lispobj* where = (lispobj*)FIXEDOBJ_SPACE_START;
lispobj* end = fixedobj_free_pointer;
while (where < end) {
if (immobile_obj_generation(where) == gen) {
switch (widetag_of(where)) {
case INSTANCE_WIDETAG: ++res[0]; break;
case FDEFN_WIDETAG: ++res[1]; break;
case SYMBOL_WIDETAG: ++res[2]; break;
}
}
where += object_size(where);
}
where = (lispobj*)TEXT_SPACE_START;
end = text_space_highwatermark;
while (where < end) {
if (widetag_of(where) != FILLER_WIDETAG && immobile_obj_generation(where) == gen)
++res[3];
where += object_size(where);
}
#endif
return (res[0] | res[1] | res[2] | res[3]) != 0;
}
/* Count the number of pages in the given generation.
* Additionally, if 'n_dirty' is non-NULL, then assign
* into *n_dirty the count of marked pages.
*/
page_index_t
count_generation_pages(generation_index_t generation, page_index_t* n_dirty)
{
page_index_t i, total = 0, dirty = 0;
int j;
for (i = 0; i < next_free_page; i++)
if (!page_free_p(i) && (page_table[i].gen == generation)) {
total++;
long card = page_to_card_index(i);
for (j=0; j<CARDS_PER_PAGE; ++j, ++card)
if (card_dirtyp(card)) ++dirty;
}
// divide by cards per page rounding up
if (n_dirty) *n_dirty = (dirty + (CARDS_PER_PAGE-1)) / CARDS_PER_PAGE;
return total;
}
// You can call this with 0 and NULL to perform its assertions silently
void gc_gen_report_to_file(int filedes, FILE *file)
{
#ifdef LISP_FEATURE_X86
extern void fpu_save(void *), fpu_restore(void *);
int fpu_state[27];
/* Can end up here after calling alloc_tramp which doesn't prepare
* the x87 state, and the C ABI uses a different mode */
fpu_save(fpu_state);
#endif
#define OUTPUT(str, len) \
{if (file) fwrite(str, 1, len, file); if (filedes>=0) ignore_value(write(filedes, str, len));}
/* Print the heap stats. */
char header1[] =
" Immobile Object Counts\n";
OUTPUT(header1, sizeof header1-1);
char header2[] =
" Gen layout fdefn symbol code Boxed Cons Raw Code SmMix Mixed LgRaw LgCode LgMix"
" Waste% Alloc Trig Dirty GCs Mem-age\n";
OUTPUT(header2, sizeof header2-1);
generation_index_t gen_num, begin, end;
int immobile_matrix[8][4], have_immobile_obj = 0;
int immobile_totals[4];
memset(immobile_matrix, 0, sizeof immobile_matrix);
memset(immobile_totals, 0, sizeof immobile_totals);
for (gen_num = 0; gen_num <= 6; ++gen_num) {
if (count_immobile_objects(gen_num, immobile_matrix[gen_num]))
have_immobile_obj |= 1 << gen_num;
immobile_totals[0] += immobile_matrix[gen_num][0];
immobile_totals[1] += immobile_matrix[gen_num][1];
immobile_totals[2] += immobile_matrix[gen_num][2];
immobile_totals[3] += immobile_matrix[gen_num][3];
}
// Print from the lowest gen that has any allocated pages.
for (begin = 0; begin <= PSEUDO_STATIC_GENERATION; ++begin)
if ((have_immobile_obj>>begin)&1 || generations[begin].bytes_allocated) break;
// Print up to and including the highest gen that has any allocated pages.
for (end = SCRATCH_GENERATION; end >= 0; --end)
if (generations[end].bytes_allocated) break;
char linebuf[180];
page_index_t coltot[9];
uword_t eden_words_allocated = 0;
page_index_t eden_pages = 0;
memset(coltot, 0, sizeof coltot);
for (gen_num = begin; gen_num <= end; gen_num++) {
page_index_t page;
page_index_t pagect[9];
int *objct = immobile_matrix[gen_num];
memset(pagect, 0, sizeof pagect);
if (gen_num == 0) { // Count the eden pages
for (page = 0; page < next_free_page; page++)
if (page_table[page].gen == 0 && page_table[page].type & THREAD_PAGE_FLAG) {
int column;
switch (page_table[page].type & ~THREAD_PAGE_FLAG) {
case PAGE_TYPE_BOXED: column = 0; break;
case PAGE_TYPE_CONS: column = 1; break;
case PAGE_TYPE_CODE: column = 3; break;
case PAGE_TYPE_MIXED: column = 5; break;
default: lose("Bad eden page subtype: %x\n", page_table[page].type);
}
pagect[column]++;
coltot[column]++;
++eden_pages;
eden_words_allocated += page_words_used(page);
}
uword_t waste = npage_bytes(eden_pages) - (eden_words_allocated<<WORD_SHIFT);
double pct_waste = eden_pages > 0 ?
(double)waste / (double)npage_bytes(eden_pages) * 100 : 0.0;
if (eden_pages) {
int linelen = snprintf(linebuf, sizeof linebuf,
" E %6d %6d %6d %6d %7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%14"PAGE_INDEX_FMT
"%14"PAGE_INDEX_FMT
"%28.1f %11"OS_VM_SIZE_FMT"\n",
objct[0], objct[1], objct[2], objct[3],
pagect[0], pagect[1], pagect[3], pagect[5],
pct_waste, eden_words_allocated<<WORD_SHIFT);
OUTPUT(linebuf, linelen);
}
memset(pagect, 0, sizeof pagect);
}
uword_t words_allocated = 0;
page_index_t tot_pages = 0;
for (page = 0; page < next_free_page; page++)
if (!page_free_p(page) && page_table[page].gen == gen_num
&& !(page_table[page].type & THREAD_PAGE_FLAG)) {
int column;
switch (page_table[page].type & (SINGLE_OBJECT_FLAG|PAGE_TYPE_MASK)) {
case PAGE_TYPE_BOXED: column = 0; break;
case PAGE_TYPE_CONS: column = 1; break;
case PAGE_TYPE_UNBOXED: column = 2; break;
case PAGE_TYPE_CODE: column = 3; break;
case PAGE_TYPE_SMALL_MIXED: column = 4; break;
case PAGE_TYPE_MIXED: column = 5; break;
case SINGLE_OBJECT_FLAG|PAGE_TYPE_UNBOXED: column = 6; break;
case SINGLE_OBJECT_FLAG|PAGE_TYPE_CODE: column = 7; break;
case SINGLE_OBJECT_FLAG|PAGE_TYPE_MIXED: column = 8; break;
default: lose("Invalid page type %#x (p%"PAGE_INDEX_FMT")", page_table[page].type, page);
}
pagect[column]++;
coltot[column]++;
++tot_pages;
words_allocated += page_words_used(page);
}
struct generation* gen = &generations[gen_num];
if (gen_num == 0)
gc_assert(gen->bytes_allocated ==
(words_allocated+eden_words_allocated) << WORD_SHIFT);
/* private-cons.inc doesn't update bytes_allocated */
/*
else {
gc_assert(gen->bytes_allocated == words_allocated << WORD_SHIFT);
}
*/
page_index_t n_dirty;
count_generation_pages(gen_num, &n_dirty);
uword_t waste = npage_bytes(tot_pages) - (words_allocated<<WORD_SHIFT);
double pct_waste = tot_pages > 0 ?
(double)waste / (double)npage_bytes(tot_pages) * 100 : 0.0;
int linelen =
snprintf(linebuf, sizeof linebuf,
" %d %6d %6d %6d %6d"
"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT
"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT
"%7"PAGE_INDEX_FMT" %6.1f %11"OS_VM_SIZE_FMT" %11"OS_VM_SIZE_FMT,
gen_num, objct[0], objct[1], objct[2], objct[3],
pagect[0], pagect[1], pagect[2], pagect[3], pagect[4], pagect[5],
pagect[6], pagect[7], pagect[8],
pct_waste, words_allocated<<WORD_SHIFT,
(uintptr_t)gen->gc_trigger);
// gen0 pages are never WPed
linelen += snprintf(linebuf+linelen, sizeof linebuf-linelen,
gen_num==0?" -" : " %7"PAGE_INDEX_FMT, n_dirty);
linelen += snprintf(linebuf+linelen, sizeof linebuf-linelen,
" %3d %7.4f\n", gen->num_gc, generation_average_age(gen_num));
OUTPUT(linebuf, linelen);
}
page_index_t tot_pages = coltot[0] + coltot[1] + coltot[2] + coltot[3] + coltot[4] +
coltot[5] + coltot[6] + coltot[7] + coltot[8];
uword_t waste = npage_bytes(tot_pages) - bytes_allocated;
double pct_waste = (double)waste / (double)npage_bytes(tot_pages) * 100;
double heap_use_frac = 100 * (double)bytes_allocated / (double)dynamic_space_size;
int *objct = immobile_totals;
int linelen =
snprintf(linebuf, sizeof linebuf,
"Tot %6d %6d %6d %6d"
"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT
"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT"%7"PAGE_INDEX_FMT
"%7"PAGE_INDEX_FMT" %6.1f%12"OS_VM_SIZE_FMT
" [%.1f%% of %"OS_VM_SIZE_FMT" max]\n",
objct[0], objct[1], objct[2], objct[3],
coltot[0], coltot[1], coltot[2], coltot[3], coltot[4], coltot[5], coltot[6],
coltot[7], coltot[8], pct_waste,
(uintptr_t)bytes_allocated, heap_use_frac, (uintptr_t)dynamic_space_size);
OUTPUT(linebuf, linelen);
#undef OUTPUT
#ifdef LISP_FEATURE_X86
fpu_restore(fpu_state);
#endif
}
|
97352a5ed877067131671c550855f81c77112d51
|
376e1818d427b5e4d32fa6dd6c7b71e9fd88afdb
|
/cad/magic/patches/patch-netmenu_NMwiring.c
|
4c08966e58bc7d4aed3d91620ccce26be4e38223
|
[] |
no_license
|
NetBSD/pkgsrc
|
a0732c023519650ef821ab89c23ab6ab59e25bdb
|
d042034ec4896cc5b47ed6f2e5b8802d9bc5c556
|
refs/heads/trunk
| 2023-09-01T07:40:12.138283
| 2023-09-01T05:25:19
| 2023-09-01T05:25:19
| 88,439,572
| 321
| 138
| null | 2023-07-12T22:34:14
| 2017-04-16T20:04:15
| null |
UTF-8
|
C
| false
| false
| 616
|
c
|
patch-netmenu_NMwiring.c
|
$NetBSD: patch-netmenu_NMwiring.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/NMwiring.c.orig 2013-03-02 23:01:19.000000000 +0000
+++ netmenu/NMwiring.c
@@ -152,8 +152,8 @@ nmwRipTileFunc(tile, plane, listHead)
* ----------------------------------------------------------------------------
*/
-int
-NMRipup()
+void
+NMRipup(void)
{
struct nmwarea *list;
Rect area;
@@ -531,8 +531,8 @@ nmwNetTileFunc(tile, plane, netPtr)
* ----------------------------------------------------------------------------
*/
-int
-NMExtract()
+void
+NMExtract(void)
{
Rect area;
char *net = NULL;
|
4f2d84303626a9535d5ffed6fd48aac5c04cb205
|
52c8ed39b32ccc7c0673278c1adea3638797c9ff
|
/src/arch/csky/include/atomic.h
|
8453b517b519fb94c1b6b7dec4f4e59be42a3e4c
|
[
"MIT"
] |
permissive
|
xboot/xboot
|
0cab7b440b612aa0a4c366025598a53a7ec3adf1
|
6d6b93947b7fcb8c3924fedb0715c23877eedd5e
|
refs/heads/master
| 2023-08-20T05:56:25.149388
| 2023-07-12T07:38:29
| 2023-07-12T07:38:29
| 471,539
| 765
| 296
|
MIT
| 2023-05-25T09:39:01
| 2010-01-14T08:25:12
|
C
|
UTF-8
|
C
| false
| false
| 1,618
|
h
|
atomic.h
|
/* SPDX-License-Identifier: MIT */
/*
* Copyright(c) 2021 Sanpe <sanpeqf@gmail.com>
*/
#ifndef __CSKY_ATOMIC_H__
#define __CSKY_ATOMIC_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <types.h>
#include <barrier.h>
#include <irqflags.h>
static inline void atomic_add(atomic_t * a, int v)
{
mb();
a->counter += v;
mb();
}
static inline int atomic_add_return(atomic_t * a, int v)
{
mb();
a->counter += v;
mb();
return a->counter;
}
static inline void atomic_sub(atomic_t * a, int v)
{
mb();
a->counter -= v;
mb();
}
static inline int atomic_sub_return(atomic_t * a, int v)
{
mb();
a->counter -= v;
mb();
return a->counter;
}
static inline int atomic_cmp_exchange(atomic_t * a, int o, int n)
{
volatile int v;
mb();
v = a->counter;
if(v == o)
a->counter = n;
mb();
return v;
}
#define atomic_set(a, v) do { ((a)->counter) = (v); smp_wmb(); } while(0)
#define atomic_get(a) ({ int __v; __v = (a)->counter; smp_rmb(); __v; })
#define atomic_inc(a) (atomic_add(a, 1))
#define atomic_dec(a) (atomic_sub(a, 1))
#define atomic_inc_return(a) (atomic_add_return(a, 1))
#define atomic_dec_return(a) (atomic_sub_return(a, 1))
#define atomic_inc_and_test(a) (atomic_add_return(a, 1) == 0)
#define atomic_dec_and_test(a) (atomic_sub_return(a, 1) == 0)
#define atomic_add_negative(a, v) (atomic_add_return(a, v) < 0)
#define atomic_sub_and_test(a, v) (atomic_sub_return(a, v) == 0)
#define atomic_cmpxchg(a, o, n) (atomic_cmp_exchange(a, o, n))
#ifdef __cplusplus
}
#endif
#endif /* __CSKY_ATOMIC_H__ */
|
01e38aa4801ccb6d61bc6859f720b7b4415151bd
|
515a17dfa8acffb7dbc076dca5be7ef3ddc2952f
|
/tools/external/test-sra/win/PrintOS.c
|
ca1d402fab87b8182159d477f869b0f6137796a7
|
[
"LicenseRef-scancode-ncbi",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-us-govt-public-domain"
] |
permissive
|
ncbi/sra-tools
|
d54d2fe00214d9471b6dbd0b90c2fe0062f87cdd
|
1bb9cd2f317a232eb8f1e1d33cfc3582c71b3eec
|
refs/heads/master
| 2023-09-01T11:46:59.189830
| 2023-08-29T16:34:24
| 2023-08-29T16:34:24
| 23,203,598
| 991
| 271
|
NOASSERTION
| 2023-09-14T19:43:38
| 2014-08-21T21:25:38
|
C
|
UTF-8
|
C
| false
| false
| 2,311
|
c
|
PrintOS.c
|
/*===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work" under the
* terms of the United States Copyright Act. It was written as part of
* the author's official duties as a United States Government employee and
* thus cannot be copyrighted. This software/database is freely available
* to the public for use. The National Library of Medicine and the U.S.
* Government have not placed any restriction on its use or reproduction.
*
* Although all reasonable efforts have been taken to ensure the accuracy
* and reliability of the software and data, the NLM and the U.S.
* Government do not and cannot warrant the performance or results that
* may be obtained by using this software or data. The NLM and the U.S.
* Government disclaim all warranties, express or implied, including
* warranties of performance, merchantability or fitness for any particular
* purpose.
*
* Please cite the author in any work or product based on this material.
*
* ===========================================================================
*
*/
#include "../test-sra-priv.h" /* PrintOS */
#include <klib/out.h> /* OUTMSG */
#include <windows.h>
rc_t PrintOS(bool xml) {
const char *b = xml ? " <Os>" : "Operating system: '";
const char *e = xml ? "</Os>" : "'\n";
OSVERSIONINFO osvi;
ZeroMemory(&osvi, sizeof osvi);
osvi.dwOSVersionInfoSize = sizeof osvi;
if (GetVersionEx(&osvi)) {
if (osvi.dwPlatformId == 2) {
return OUTMSG((
"%sMicrosoft Windows. Version %d.%d (Build %d: %s)%s\n", b,
osvi.dwMajorVersion, osvi.dwMinorVersion, osvi.dwBuildNumber,
osvi.szCSDVersion, e));
}
else {
return OUTMSG((
"%sMicrosoft Windows. Version %d.%d (Build %d: %s). PlatformId %d%s\n",
b,
osvi.dwMajorVersion, osvi.dwMinorVersion, osvi.dwBuildNumber,
osvi.szCSDVersion, osvi.dwPlatformId, e));
}
}
else {
return OUTMSG(("%sGetLastError(GetVersionEx()) = %d%s\n",
b, GetLastError(), e));
}
}
|
8ae225efe91e5b596760cac027009dc591176766
|
4e607fc8be4d14205bb9d22d38e52aff96292c96
|
/bpf/bpf_helpers.h
|
f2907c443e0de21a5e8409589c2714140441fcb4
|
[
"Apache-2.0"
] |
permissive
|
kinvolk/traceloop
|
a1992c8770fbd2793df1a82f6e10acd993292789
|
37aef5618b938896bcee7463551dabc4d6f73fab
|
refs/heads/main
| 2023-04-06T16:57:53.640220
| 2022-05-05T12:58:39
| 2022-05-05T12:58:39
| 181,040,994
| 196
| 11
|
Apache-2.0
| 2023-03-29T19:29:03
| 2019-04-12T16:03:15
|
Go
|
UTF-8
|
C
| false
| false
| 6,808
|
h
|
bpf_helpers.h
|
#ifndef __BPF_HELPERS_H
#define __BPF_HELPERS_H
/* helper macro to place programs, maps, license in
* different sections in elf_bpf file. Section names
* are interpreted by elf_bpf loader
*/
#define SEC(NAME) __attribute__((section(NAME), used))
struct bpf_map_def;
#ifndef BPF_F_CURRENT_CPU
#define BPF_F_CURRENT_CPU 0xffffffffULL
#endif
#ifndef BPF_FUNC_get_current_cgroup_id
#define BPF_FUNC_get_current_cgroup_id 80
#endif
#ifndef BPF_FUNC_probe_read_str
#define BPF_FUNC_probe_read_str 45
#endif
/* Linux 5.5
#ifndef BPF_FUNC_probe_read_user
#define BPF_FUNC_probe_read_user 112
#endif
#ifndef BPF_FUNC_probe_read_user_str
#define BPF_FUNC_probe_read_user_str 114
#endif
*/
#ifndef BPF_FUNC_map_push_elem
#define BPF_FUNC_map_push_elem 87
#endif
#ifndef BPF_MAP_TYPE_QUEUE
#define BPF_MAP_TYPE_QUEUE 22
#endif
/* helper functions called from eBPF programs written in C */
static void *(*bpf_map_lookup_elem)(void *map, void *key) =
(void *) BPF_FUNC_map_lookup_elem;
static int (*bpf_map_update_elem)(void *map, void *key, void *value,
unsigned long long flags) =
(void *) BPF_FUNC_map_update_elem;
static int (*bpf_map_delete_elem)(void *map, void *key) =
(void *) BPF_FUNC_map_delete_elem;
static int (*bpf_probe_read)(void *dst, int size, void *unsafe_ptr) =
(void *) BPF_FUNC_probe_read;
static int (*bpf_probe_read_str)(void *dst, int size, void *unsafe_ptr) =
(void *) BPF_FUNC_probe_read_str;
/* Linux 5.5
static int (*bpf_probe_read_user)(void *dst, __UINT32_TYPE__ size, void *unsafe_ptr) =
(void *) BPF_FUNC_probe_read_user;
static int (*bpf_probe_read_user_str)(void *dst, int size, void *unsafe_ptr) =
(void *) BPF_FUNC_probe_read_user_str;
*/
static unsigned long long (*bpf_ktime_get_ns)(void) =
(void *) BPF_FUNC_ktime_get_ns;
static int (*bpf_trace_printk)(const char *fmt, int fmt_size, ...) =
(void *) BPF_FUNC_trace_printk;
static unsigned long long (*bpf_get_smp_processor_id)(void) =
(void *) BPF_FUNC_get_smp_processor_id;
static unsigned long long (*bpf_get_current_pid_tgid)(void) =
(void *) BPF_FUNC_get_current_pid_tgid;
static unsigned long long (*bpf_get_current_uid_gid)(void) =
(void *) BPF_FUNC_get_current_uid_gid;
static int (*bpf_get_current_comm)(void *buf, int buf_size) =
(void *) BPF_FUNC_get_current_comm;
static int (*bpf_perf_event_read)(void *map, int index) =
(void *) BPF_FUNC_perf_event_read;
static int (*bpf_clone_redirect)(void *ctx, int ifindex, int flags) =
(void *) BPF_FUNC_clone_redirect;
static int (*bpf_redirect)(int ifindex, int flags) =
(void *) BPF_FUNC_redirect;
static int (*bpf_perf_event_output)(void *ctx, void *map,
unsigned long long flags, void *data,
int size) =
(void *) BPF_FUNC_perf_event_output;
static int (*bpf_skb_get_tunnel_key)(void *ctx, void *key, int size, int flags) =
(void *) BPF_FUNC_skb_get_tunnel_key;
static int (*bpf_skb_set_tunnel_key)(void *ctx, void *key, int size, int flags) =
(void *) BPF_FUNC_skb_set_tunnel_key;
static unsigned long long (*bpf_get_prandom_u32)(void) =
(void *) BPF_FUNC_get_prandom_u32;
static int (*bpf_tail_call)(struct pt_regs *, struct bpf_map_def *, int) =
(void *) BPF_FUNC_tail_call;
static unsigned long long (*bpf_get_current_cgroup_id)(void) =
(void *) BPF_FUNC_get_current_cgroup_id;
static unsigned long long (*bpf_map_push_elem)(struct bpf_map_def *map, const void *value, u64 flags) =
(void *) BPF_FUNC_map_push_elem;
static unsigned long long (*bpf_get_current_task)() =
(void *) BPF_FUNC_get_current_task;
/* llvm builtin functions that eBPF C program may use to
* emit BPF_LD_ABS and BPF_LD_IND instructions
*/
struct sk_buff;
unsigned long long load_byte(void *skb,
unsigned long long off) asm("llvm.bpf.load.byte");
unsigned long long load_half(void *skb,
unsigned long long off) asm("llvm.bpf.load.half");
unsigned long long load_word(void *skb,
unsigned long long off) asm("llvm.bpf.load.word");
/* a helper structure used by eBPF C program
* to describe map attributes to elf_bpf loader
*/
#define BUF_SIZE_MAP_NS 256
struct bpf_map_def {
unsigned int type;
unsigned int key_size;
unsigned int value_size;
unsigned int max_entries;
unsigned int map_flags;
unsigned int pinning;
char namespace[BUF_SIZE_MAP_NS];
};
static int (*bpf_skb_store_bytes)(void *ctx, int off, void *from, int len, int flags) =
(void *) BPF_FUNC_skb_store_bytes;
static int (*bpf_l3_csum_replace)(void *ctx, int off, int from, int to, int flags) =
(void *) BPF_FUNC_l3_csum_replace;
static int (*bpf_l4_csum_replace)(void *ctx, int off, int from, int to, int flags) =
(void *) BPF_FUNC_l4_csum_replace;
#if defined(__x86_64__)
#define PT_REGS_PARM1(x) ((x)->di)
#define PT_REGS_PARM2(x) ((x)->si)
#define PT_REGS_PARM3(x) ((x)->dx)
#define PT_REGS_PARM4(x) ((x)->cx)
#define PT_REGS_PARM5(x) ((x)->r8)
#define PT_REGS_RET(x) ((x)->sp)
#define PT_REGS_FP(x) ((x)->bp)
#define PT_REGS_RC(x) ((x)->ax)
#define PT_REGS_SP(x) ((x)->sp)
#define PT_REGS_IP(x) ((x)->ip)
#elif defined(__s390x__)
#define PT_REGS_PARM1(x) ((x)->gprs[2])
#define PT_REGS_PARM2(x) ((x)->gprs[3])
#define PT_REGS_PARM3(x) ((x)->gprs[4])
#define PT_REGS_PARM4(x) ((x)->gprs[5])
#define PT_REGS_PARM5(x) ((x)->gprs[6])
#define PT_REGS_RET(x) ((x)->gprs[14])
#define PT_REGS_FP(x) ((x)->gprs[11]) /* Works only with CONFIG_FRAME_POINTER */
#define PT_REGS_RC(x) ((x)->gprs[2])
#define PT_REGS_SP(x) ((x)->gprs[15])
#define PT_REGS_IP(x) ((x)->ip)
#elif defined(__aarch64__)
#define PT_REGS_PARM1(x) ((x)->regs[0])
#define PT_REGS_PARM2(x) ((x)->regs[1])
#define PT_REGS_PARM3(x) ((x)->regs[2])
#define PT_REGS_PARM4(x) ((x)->regs[3])
#define PT_REGS_PARM5(x) ((x)->regs[4])
#define PT_REGS_RET(x) ((x)->regs[30])
#define PT_REGS_FP(x) ((x)->regs[29]) /* Works only with CONFIG_FRAME_POINTER */
#define PT_REGS_RC(x) ((x)->regs[0])
#define PT_REGS_SP(x) ((x)->sp)
#define PT_REGS_IP(x) ((x)->pc)
#elif defined(__powerpc__)
#define PT_REGS_PARM1(x) ((x)->gpr[3])
#define PT_REGS_PARM2(x) ((x)->gpr[4])
#define PT_REGS_PARM3(x) ((x)->gpr[5])
#define PT_REGS_PARM4(x) ((x)->gpr[6])
#define PT_REGS_PARM5(x) ((x)->gpr[7])
#define PT_REGS_RC(x) ((x)->gpr[3])
#define PT_REGS_SP(x) ((x)->sp)
#define PT_REGS_IP(x) ((x)->nip)
#endif
#ifdef __powerpc__
#define BPF_KPROBE_READ_RET_IP(ip, ctx) ({ (ip) = (ctx)->link; })
#define BPF_KRETPROBE_READ_RET_IP BPF_KPROBE_READ_RET_IP
#else
#define BPF_KPROBE_READ_RET_IP(ip, ctx) ({ \
bpf_probe_read(&(ip), sizeof(ip), (void *)PT_REGS_RET(ctx)); })
#define BPF_KRETPROBE_READ_RET_IP(ip, ctx) ({ \
bpf_probe_read(&(ip), sizeof(ip), \
(void *)(PT_REGS_FP(ctx) + sizeof(ip))); })
#endif
#ifndef printt
# define printt(fmt, ...) \
({ \
char ____fmt[] = fmt; \
bpf_trace_printk(____fmt, sizeof(____fmt), \
##__VA_ARGS__); \
})
#endif
#endif
|
4f5d7713494bb8528a63d08ad5feca366fe70c2d
|
6ff85b80c6fe1b3ad5416a304b93551a5e80de10
|
/C/Pointer/FunctionDll.c
|
bc3ead40e9c2eccf1f5a053cb8a1f3abd9973824
|
[
"MIT"
] |
permissive
|
maniero/SOpt
|
c600cc2333e0a47ce013be3516bbb8080502ff2a
|
5d17e1a9cbf115eaea6d30af2079d0c92ffff7a3
|
refs/heads/master
| 2023-08-10T16:48:46.058739
| 2023-08-10T13:42:17
| 2023-08-10T13:42:17
| 78,631,930
| 1,002
| 136
|
MIT
| 2023-01-28T12:10:01
| 2017-01-11T11:19:24
|
C#
|
UTF-8
|
C
| false
| false
| 250
|
c
|
FunctionDll.c
|
int FuncaoASerUsada(void *lhs, void *rhs) {
unsigned int a = *((unsigned int*)lhs);
unsigned int b = *((unsigned int*)rhs);
return (b - a);
}
dllInsertAfterSpec(l, data, key, FuncaoASerUsada);
//https://pt.stackoverflow.com/q/137773/101
|
9fd061cc22d83fa96a16c8997af38cfb81d476f9
|
476fde4234ce92fb50e5cfc4df9789d40c497698
|
/src/execline/exec.c
|
ba57e52169d95da24ad68e833cd57b4de87337dc
|
[
"ISC"
] |
permissive
|
skarnet/execline
|
47c0b12ce14f001684a245897aacff5e0bff4e07
|
7d790daa90f49e153251d0f41bcb208d8bea588c
|
refs/heads/master
| 2023-07-09T08:22:55.484648
| 2023-06-27T08:29:16
| 2023-06-27T08:29:16
| 31,461,279
| 138
| 22
| null | 2015-05-23T11:55:38
| 2015-02-28T11:57:30
|
C
|
UTF-8
|
C
| false
| false
| 1,126
|
c
|
exec.c
|
/* ISC license. */
#include <string.h>
#include <skalibs/sgetopt.h>
#include <skalibs/strerr.h>
#include <skalibs/exec.h>
#define USAGE "exec [ -c ] [ -l ] [ -a argv0 ] prog..."
int main (int argc, char const **argv, char const *const *envp)
{
static char const *const zero = 0 ;
char const *executable = 0 ;
char const *argv0 = 0 ;
int dash = 0 ;
PROG = "exec" ;
{
subgetopt l = SUBGETOPT_ZERO ;
for (;;)
{
int opt = subgetopt_r(argc, argv, "cla:", &l) ;
if (opt == -1) break ;
switch (opt)
{
case 'c' : envp = &zero ; break ;
case 'l' : dash = 1 ; break ;
case 'a' : argv0 = l.arg ; break ;
default : strerr_dieusage(100, USAGE) ;
}
}
argc -= l.ind ; argv += l.ind ;
}
if (!argc) strerr_dieusage(100, USAGE) ;
executable = argv[0] ;
if (argv0) argv[0] = argv0 ;
if (dash)
{
size_t n = strlen(argv[0]) ;
char dashed[n+2] ;
dashed[0] = '-' ;
memcpy(dashed+1, argv[0], n+1) ;
argv[0] = (char const *)dashed ;
xexec_ae(executable, argv, envp) ;
}
else xexec_ae(executable, argv, envp) ;
}
|
35d0c7d3f0b28d3f05381ccdd2c7b6308689a0bf
|
fd016aacb50a65dbda2f0e2b35cec38a63baf68d
|
/targets/AzureRTOS/SiliconLabs/_common/sys_calls.c
|
7a92128b64c9c5d1d215f994c472fc86ac9cc148
|
[
"MIT"
] |
permissive
|
nanoframework/nf-interpreter
|
4795563afe8b1d8e4819a4b4ebd700c9e36a4d80
|
2ebb0aeef2d9482a6233e4c78f562878ba726cf6
|
refs/heads/main
| 2023-08-29T11:30:31.384324
| 2023-08-29T10:55:46
| 2023-08-29T10:55:46
| 74,834,622
| 283
| 266
|
MIT
| 2023-09-14T00:22:43
| 2016-11-26T15:45:06
|
C
|
UTF-8
|
C
| false
| false
| 1,187
|
c
|
sys_calls.c
|
//
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright 2018 Silicon Laboratories Inc. All rights reserved.
// See LICENSE file in the project root for full license information.
//
// dummy implementations for the newlib reentrant functions
// required to link with Gecko SDK as adding --specs=nosys.specs doesn't seem to work
#include <sys/stat.h>
int _close(int file)
{
(void)file;
return 0;
}
void _exit(int status)
{
(void)status;
while (1)
{
} /* Hang here forever... */
}
int _fstat(int file, struct stat *st)
{
(void)file;
st->st_mode = S_IFCHR;
return 0;
}
int _getpid(void)
{
return 1;
}
int _isatty(int file)
{
(void)file;
return 1;
}
int _kill(int pid, int sig)
{
(void)pid;
(void)sig;
return -1;
}
int _lseek(int file, int ptr, int dir)
{
(void)file;
(void)ptr;
(void)dir;
return 0;
}
int _read(int file, char *ptr, int len)
{
(void)file;
(void)ptr;
(void)len;
return -1;
}
int _write(int file, const char *ptr, int len)
{
int txCount;
(void)file;
for (txCount = 0; txCount < len; txCount++)
{
ptr++;
}
return len;
}
|
ecc1e174cd0cce3c15e0d5481fd395ff12fba1d7
|
2898fa4f2ad766afa0495a837f59fe95daa081a7
|
/tests/unit-pass/930408-1.c
|
b44af2021bad6159508774d7ec0021c770724550
|
[
"NCSA"
] |
permissive
|
kframework/c-semantics
|
12fcc1b1bf1f7792636d1c37f6f7bb1b89a392b5
|
e6879d14455771aa0cb3e3d201131d4d763a73a2
|
refs/heads/master
| 2023-07-31T23:57:03.316456
| 2022-02-01T17:50:31
| 2022-02-01T17:50:31
| 11,747,541
| 312
| 52
|
NOASSERTION
| 2022-02-01T17:50:33
| 2013-07-29T19:13:25
|
C
|
UTF-8
|
C
| false
| false
| 249
|
c
|
930408-1.c
|
void exit(int status);
void abort(void);
typedef enum foo E;
enum foo { e0, e1 };
struct {
E eval;
} s;
void p()
{
abort();
}
void f()
{
switch (s.eval)
{
case e0:
p();
}
}
int main()
{
s.eval = e1;
f();
exit(0);
}
|
eaac7f50997abe9a214abb2c5a271766141aba7e
|
f4ac42a3316e8815cdd307fbe11229438d0cb951
|
/Kernels/Migrating_to_Helium_from_Neon_Companion_SW/vmin.c
|
2ed7fe82998c194a485c5d0312bda3121ae774e7
|
[
"Apache-2.0"
] |
permissive
|
ARM-software/EndpointAI
|
6879c160645c741d217421050cc824bb06eb6471
|
b18e7ddc6e14229a724f2d7ae1f6c721013cbb68
|
refs/heads/master
| 2023-07-31T22:20:37.023081
| 2023-05-18T15:25:11
| 2023-05-18T15:25:11
| 292,621,053
| 231
| 96
|
Apache-2.0
| 2021-07-31T23:18:44
| 2020-09-03T16:19:43
|
C
|
UTF-8
|
C
| false
| false
| 9,663
|
c
|
vmin.c
|
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library Extract
* Title: vmin.c
* Description: Minimum value of a floating-point vector
*
* $Date: 18. March 2019
* $Revision: V1.6.0
*
* Target Processor: Cortex-M cores
* -------------------------------------------------------------------- */
/*
* Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "vmin.h"
void arm_min_f32(const float32_t * pSrc,
uint32_t blockSize, float32_t * pResult, uint32_t * pIndex)
{
float32_t minVal, out; /* Temporary variables to store the output value. */
uint32_t blkCnt, outIndex; /* Loop counter */
/* Initialise index value to zero. */
outIndex = 0U;
/* Load first input value that act as reference value for comparision */
out = *pSrc++;
/* Initialize blkCnt with number of samples */
blkCnt = (blockSize - 1U);
while (blkCnt > 0U) {
/* Initialize minVal to the next consecutive values one by one */
minVal = *pSrc++;
/* compare for the minimum value */
if (out > minVal) {
/* Update the minimum value and it's index */
out = minVal;
outIndex = blockSize - blkCnt;
}
/* Decrement loop counter */
blkCnt--;
}
/* Store the minimum value and it's index into destination pointers */
*pResult = out;
*pIndex = outIndex;
}
#if __ARM_FEATURE_MVE
void arm_min_helium_f32_direct(const float32_t * pSrc,
uint32_t blockSize, float32_t * pResult, uint32_t * pIndex)
{
float32_t maxVal1, out; /* Temporary variables to store the output value. */
uint32_t blkCnt, outIndex; /* loop counter */
float32x4_t outV, srcV;
static const uint32_t indexInit[4] = { 4, 5, 6, 7 };
static const uint32_t countVInit[4] = { 0, 1, 2, 3 };
uint32x4_t maxIdx;
uint32x4_t index;
uint32x4_t delta;
uint32x4_t countV;
mve_pred16_t pred;
float32_t minValue = F32_MAX;
maxIdx = vdupq_n_u32(ULONG_MAX);
delta = vdupq_n_u32(4);
index = vld1q_u32(indexInit);
countV = vld1q_u32(countVInit);
/* Initialise the index value to zero. */
outIndex = 0U;
/* Load first input value that act as reference value for comparison */
if (blockSize <= 3) {
out = *pSrc++;
blkCnt = blockSize - 1;
while (blkCnt > 0U) {
/* Initialize maxVal to the next consecutive values one by one */
maxVal1 = *pSrc++;
/* compare for the maximum value */
if (out > maxVal1) {
/* Update the maximum value and it's index */
out = maxVal1;
outIndex = blockSize - blkCnt;
}
/* Decrement the loop counter */
blkCnt--;
}
} else {
outV = vld1q_f32(pSrc);
pSrc += 4;
/* Compute 4 outputs at a time */
blkCnt = (blockSize - 4) >> 2U;
while (blkCnt > 0U) {
srcV = vld1q_f32(pSrc);
pSrc += 4;
pred = vcmpleq_f32(srcV, outV);
outV = vpselq_f32(srcV, outV, pred);
countV = vpselq_f32(index, countV, pred);
index = vaddq_u32(index, delta);
/* Decrement the loop counter */
blkCnt--;
}
out = vminnmvq_f32(minValue, outV);
pred = vcmpleq_n_f32(outV, out);
countV = vpselq(countV, maxIdx, pred);
/*
* Get min index which is thus for a max value
*/
outIndex = vminvq_u32(ULONG_MAX, countV);
/* if (blockSize - 1U) is not multiple of 4 */
blkCnt = (blockSize - 4) % 4U;
while (blkCnt > 0U) {
/* Initialize maxVal to the next consecutive values one by one */
maxVal1 = *pSrc++;
/* compare for the maximum value */
if (out > maxVal1) {
/* Update the maximum value and it's index */
out = maxVal1;
outIndex = blockSize - blkCnt;
}
/* Decrement the loop counter */
blkCnt--;
}
}
/* Store the maximum value and it's index into destination pointers */
*pResult = out;
*pIndex = outIndex;
}
void arm_min_helium_f32(const float32_t * pSrc,
uint32_t blockSize, float32_t * pResult, uint32_t * pIndex)
{
int32_t blkCnt = blockSize;
float32x4_t vecSrc;
float32x4_t curExtremValVec = vdupq_n_f32(F32_MAX);
float32_t minValue = F32_MAX;
uint32_t idx = blockSize;
uint32x4_t indexVec;
uint32x4_t curExtremIdxVec;
uint32_t curIdx = 0;
mve_pred16_t pred;
indexVec = vidupq_wb_u32(&curIdx, 1);
curExtremIdxVec = vdupq_n_u32(0);
do {
mve_pred16_t p = vctp32q(blkCnt);
vecSrc = vld1q_z_f32(pSrc, p);
/*
* Get current min per lane and current index per lane
* when a min is selected
*/
pred = vcmpleq_m_f32(vecSrc, curExtremValVec, p);
curExtremValVec = vorrq_m_f32(curExtremValVec, vecSrc, vecSrc, pred);
curExtremIdxVec = vorrq_m_f32(curExtremIdxVec, indexVec, indexVec, pred);
indexVec = vaddq_n_u32(indexVec, 4);
pSrc += 4;
blkCnt -= 4;
}
while (blkCnt > 0);
/*
* Get min value across the vector
*/
minValue = vminnmvq(minValue, curExtremValVec);
/*
* set index for lower values to min possible index
*/
pred = vcmpleq(curExtremValVec, minValue);
indexVec = vpselq(curExtremIdxVec, vdupq_n_u32(blockSize), pred);
/*
* Get min index which is thus for a min value
*/
idx = vminvq(idx, indexVec);
/*
* Save result
*/
*pIndex = idx;
*pResult = minValue;
}
#endif
#if __ARM_FEATURE_NEON
void arm_min_neon_f32(const float32_t * pSrc,
uint32_t blockSize, float32_t * pResult, uint32_t * pIndex)
{
float32_t maxVal1, out; /* Temporary variables to store the output value. */
uint32_t blkCnt, outIndex; /* loop counter */
float32x4_t outV, srcV;
float32x2_t outV2;
uint32x4_t idxV;
static const uint32_t indexInit[4] = { 4, 5, 6, 7 };
static const uint32_t countVInit[4] = { 0, 1, 2, 3 };
uint32x4_t maxIdx;
uint32x4_t index;
uint32x4_t delta;
uint32x4_t countV;
uint32x2_t countV2;
maxIdx = vdupq_n_u32(ULONG_MAX);
delta = vdupq_n_u32(4);
index = vld1q_u32(indexInit);
countV = vld1q_u32(countVInit);
/* Initialise the index value to zero. */
outIndex = 0U;
/* Load first input value that act as reference value for comparison */
if (blockSize <= 3) {
out = *pSrc++;
blkCnt = blockSize - 1;
while (blkCnt > 0U) {
/* Initialize maxVal to the next consecutive values one by one */
maxVal1 = *pSrc++;
/* compare for the maximum value */
if (out > maxVal1) {
/* Update the maximum value and it's index */
out = maxVal1;
outIndex = blockSize - blkCnt;
}
/* Decrement the loop counter */
blkCnt--;
}
} else {
outV = vld1q_f32(pSrc);
pSrc += 4;
/* Compute 4 outputs at a time */
blkCnt = (blockSize - 4) >> 2U;
while (blkCnt > 0U) {
srcV = vld1q_f32(pSrc);
pSrc += 4;
idxV = vcltq_f32(srcV, outV);
outV = vbslq_f32(idxV, srcV, outV);
countV = vbslq_u32(idxV, index, countV);
index = vaddq_u32(index, delta);
/* Decrement the loop counter */
blkCnt--;
}
outV2 = vpmin_f32(vget_low_f32(outV), vget_high_f32(outV));
outV2 = vpmin_f32(outV2, outV2);
out = vget_lane_f32(outV2, 0);
idxV = vceqq_f32(outV, vdupq_n_f32(out));
countV = vbslq_u32(idxV, countV, maxIdx);
countV2 = vpmin_u32(vget_low_u32(countV), vget_high_u32(countV));
countV2 = vpmin_u32(countV2, countV2);
outIndex = vget_lane_u32(countV2, 0);
/* if (blockSize - 1U) is not multiple of 4 */
blkCnt = (blockSize - 4) % 4U;
while (blkCnt > 0U) {
/* Initialize maxVal to the next consecutive values one by one */
maxVal1 = *pSrc++;
/* compare for the maximum value */
if (out > maxVal1) {
/* Update the maximum value and it's index */
out = maxVal1;
outIndex = blockSize - blkCnt;
}
/* Decrement the loop counter */
blkCnt--;
}
}
/* Store the maximum value and it's index into destination pointers */
*pResult = out;
*pIndex = outIndex;
}
#endif
|
b002b7fdda045098a3849dfef196e3d81b10e45f
|
e1d9c54e9925e30e388a255b53a93cccad0b94cb
|
/kubernetes/model/v2_horizontal_pod_autoscaler_condition.h
|
fcf31f9194e0f9567f5e9fec5f47cfd54cef9958
|
[
"Apache-2.0",
"curl"
] |
permissive
|
kubernetes-client/c
|
dd4fd8095485c083e0f40f2b48159b1609a6141b
|
5ac5ff25e9809a92a48111b1f77574b6d040b711
|
refs/heads/master
| 2023-08-13T10:51:03.702497
| 2023-08-07T19:18:32
| 2023-08-07T19:18:32
| 247,958,425
| 127
| 47
|
Apache-2.0
| 2023-09-07T20:07:00
| 2020-03-17T11:59:05
|
C
|
UTF-8
|
C
| false
| false
| 1,450
|
h
|
v2_horizontal_pod_autoscaler_condition.h
|
/*
* v2_horizontal_pod_autoscaler_condition.h
*
* HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
*/
#ifndef _v2_horizontal_pod_autoscaler_condition_H_
#define _v2_horizontal_pod_autoscaler_condition_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v2_horizontal_pod_autoscaler_condition_t v2_horizontal_pod_autoscaler_condition_t;
typedef struct v2_horizontal_pod_autoscaler_condition_t {
char *last_transition_time; //date time
char *message; // string
char *reason; // string
char *status; // string
char *type; // string
} v2_horizontal_pod_autoscaler_condition_t;
v2_horizontal_pod_autoscaler_condition_t *v2_horizontal_pod_autoscaler_condition_create(
char *last_transition_time,
char *message,
char *reason,
char *status,
char *type
);
void v2_horizontal_pod_autoscaler_condition_free(v2_horizontal_pod_autoscaler_condition_t *v2_horizontal_pod_autoscaler_condition);
v2_horizontal_pod_autoscaler_condition_t *v2_horizontal_pod_autoscaler_condition_parseFromJSON(cJSON *v2_horizontal_pod_autoscaler_conditionJSON);
cJSON *v2_horizontal_pod_autoscaler_condition_convertToJSON(v2_horizontal_pod_autoscaler_condition_t *v2_horizontal_pod_autoscaler_condition);
#endif /* _v2_horizontal_pod_autoscaler_condition_H_ */
|
7f66bed5e8217454bfe203c3cc5730ee1a11232b
|
d668209e9951d249020765c011a836f193004c01
|
/src/layer/loongarch/interp_bicubic_pack4.h
|
6e52dc1e4691fe0f262f7b28347658d8a0f03d75
|
[
"BSD-3-Clause",
"Zlib",
"BSD-2-Clause"
] |
permissive
|
Tencent/ncnn
|
d8371746c00439304c279041647362a723330a79
|
14b000d2b739bd0f169a9ccfeb042da06fa0a84a
|
refs/heads/master
| 2023-08-31T14:04:36.635201
| 2023-08-31T04:19:23
| 2023-08-31T04:19:23
| 95,879,426
| 18,818
| 4,491
|
NOASSERTION
| 2023-09-14T15:44:56
| 2017-06-30T10:55:37
|
C++
|
UTF-8
|
C
| false
| false
| 11,659
|
h
|
interp_bicubic_pack4.h
|
// yala is pleased to support the open source community by making ncnn available.
//
//
// Copyright (C) 2022 yala <zhaojunchao@loongson.cn>;<junchao82@qq.com>. All rights reserved.
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// https://opensource.org/licenses/BSD-3-Clause
//
// Unless required by applicable law or agreed to in writing, software distributed
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
// specific language governing permissions and limitations under the License.
static void resize_bicubic_image_pack4(const Mat& src, Mat& dst, float* alpha, int* xofs, float* beta, int* yofs)
{
int w = dst.w;
int h = dst.h;
// loop body
Mat rowsbuf0(w, (size_t)4 * 4u, 4);
Mat rowsbuf1(w, (size_t)4 * 4u, 4);
Mat rowsbuf2(w, (size_t)4 * 4u, 4);
Mat rowsbuf3(w, (size_t)4 * 4u, 4);
float* rows0 = rowsbuf0;
float* rows1 = rowsbuf1;
float* rows2 = rowsbuf2;
float* rows3 = rowsbuf3;
int prev_sy1 = -3;
for (int dy = 0; dy < h; dy++)
{
int sy = yofs[dy];
if (sy == prev_sy1)
{
// reuse all rows
}
else if (sy == prev_sy1 + 1)
{
// hresize one row
float* rows0_old = rows0;
rows0 = rows1;
rows1 = rows2;
rows2 = rows3;
rows3 = rows0_old;
const float* S3 = src.row(sy + 2);
const float* alphap = alpha;
float* rows3p = rows3;
for (int dx = 0; dx < w; dx++)
{
int sx = xofs[dx] * 4;
const float* S3p = S3 + sx;
__m128 _a0 = __lsx_vreplfr2vr_s(alphap[0]);
__m128 _a1 = __lsx_vreplfr2vr_s(alphap[1]);
__m128 _a2 = __lsx_vreplfr2vr_s(alphap[2]);
__m128 _a3 = __lsx_vreplfr2vr_s(alphap[3]);
__m128 _S30 = (__m128)__lsx_vld(S3p - 4, 0);
__m128 _S31 = (__m128)__lsx_vld(S3p + 0, 0);
__m128 _S32 = (__m128)__lsx_vld(S3p + 4, 0);
__m128 _S33 = (__m128)__lsx_vld(S3p + 8, 0);
__m128 _rows3 = __lsx_vfmul_s(_S30, _a0);
_rows3 = __lsx_vfmadd_s(_a1, _S31, _rows3);
_rows3 = __lsx_vfmadd_s(_a2, _S32, _rows3);
_rows3 = __lsx_vfmadd_s(_a3, _S33, _rows3);
__lsx_vst(_rows3, rows3p + dx * 4, 0);
alphap += 4;
}
}
else if (sy == prev_sy1 + 2)
{
// hresize two rows
float* rows0_old = rows0;
float* rows1_old = rows1;
rows0 = rows2;
rows1 = rows3;
rows2 = rows0_old;
rows3 = rows1_old;
const float* S2 = src.row(sy + 1);
const float* S3 = src.row(sy + 2);
const float* alphap = alpha;
float* rows2p = rows2;
float* rows3p = rows3;
for (int dx = 0; dx < w; dx++)
{
int sx = xofs[dx] * 4;
const float* S2p = S2 + sx;
const float* S3p = S3 + sx;
__m128 _a0 = __lsx_vreplfr2vr_s(alphap[0]);
__m128 _a1 = __lsx_vreplfr2vr_s(alphap[1]);
__m128 _a2 = __lsx_vreplfr2vr_s(alphap[2]);
__m128 _a3 = __lsx_vreplfr2vr_s(alphap[3]);
__m128 _S20 = (__m128)__lsx_vld(S2p - 4, 0);
__m128 _S21 = (__m128)__lsx_vld(S2p + 0, 0);
__m128 _S22 = (__m128)__lsx_vld(S2p + 4, 0);
__m128 _S23 = (__m128)__lsx_vld(S2p + 8, 0);
__m128 _S30 = (__m128)__lsx_vld(S3p - 4, 0);
__m128 _S31 = (__m128)__lsx_vld(S3p + 0, 0);
__m128 _S32 = (__m128)__lsx_vld(S3p + 4, 0);
__m128 _S33 = (__m128)__lsx_vld(S3p + 8, 0);
__m128 _rows2 = __lsx_vfmul_s(_S20, _a0);
__m128 _rows3 = __lsx_vfmul_s(_S30, _a0);
_rows2 = __lsx_vfmadd_s(_a1, _S21, _rows2);
_rows3 = __lsx_vfmadd_s(_a1, _S31, _rows3);
_rows2 = __lsx_vfmadd_s(_a2, _S22, _rows2);
_rows3 = __lsx_vfmadd_s(_a2, _S32, _rows3);
_rows2 = __lsx_vfmadd_s(_a3, _S23, _rows2);
_rows3 = __lsx_vfmadd_s(_a3, _S33, _rows3);
__lsx_vst(_rows2, rows2p + dx * 4, 0);
__lsx_vst(_rows3, rows3p + dx * 4, 0);
alphap += 4;
}
}
else if (sy == prev_sy1 + 3)
{
// hresize three rows
float* rows0_old = rows0;
float* rows1_old = rows1;
float* rows2_old = rows2;
rows0 = rows3;
rows1 = rows0_old;
rows2 = rows1_old;
rows3 = rows2_old;
const float* S1 = src.row(sy);
const float* S2 = src.row(sy + 1);
const float* S3 = src.row(sy + 2);
const float* alphap = alpha;
float* rows1p = rows1;
float* rows2p = rows2;
float* rows3p = rows3;
for (int dx = 0; dx < w; dx++)
{
int sx = xofs[dx] * 4;
const float* S1p = S1 + sx;
const float* S2p = S2 + sx;
const float* S3p = S3 + sx;
__m128 _a0 = __lsx_vreplfr2vr_s(alphap[0]);
__m128 _a1 = __lsx_vreplfr2vr_s(alphap[1]);
__m128 _a2 = __lsx_vreplfr2vr_s(alphap[2]);
__m128 _a3 = __lsx_vreplfr2vr_s(alphap[3]);
__m128 _S10 = (__m128)__lsx_vld(S1p - 4, 0);
__m128 _S11 = (__m128)__lsx_vld(S1p + 0, 0);
__m128 _S12 = (__m128)__lsx_vld(S1p + 4, 0);
__m128 _S13 = (__m128)__lsx_vld(S1p + 8, 0);
__m128 _S20 = (__m128)__lsx_vld(S2p - 4, 0);
__m128 _S21 = (__m128)__lsx_vld(S2p + 0, 0);
__m128 _S22 = (__m128)__lsx_vld(S2p + 4, 0);
__m128 _S23 = (__m128)__lsx_vld(S2p + 8, 0);
__m128 _S30 = (__m128)__lsx_vld(S3p - 4, 0);
__m128 _S31 = (__m128)__lsx_vld(S3p + 0, 0);
__m128 _S32 = (__m128)__lsx_vld(S3p + 4, 0);
__m128 _S33 = (__m128)__lsx_vld(S3p + 8, 0);
__m128 _rows1 = __lsx_vfmul_s(_S10, _a0);
__m128 _rows2 = __lsx_vfmul_s(_S20, _a0);
__m128 _rows3 = __lsx_vfmul_s(_S30, _a0);
_rows1 = __lsx_vfmadd_s(_a1, _S11, _rows1);
_rows2 = __lsx_vfmadd_s(_a1, _S21, _rows2);
_rows3 = __lsx_vfmadd_s(_a1, _S31, _rows3);
_rows1 = __lsx_vfmadd_s(_a2, _S12, _rows1);
_rows2 = __lsx_vfmadd_s(_a2, _S22, _rows2);
_rows3 = __lsx_vfmadd_s(_a2, _S32, _rows3);
_rows1 = __lsx_vfmadd_s(_a3, _S13, _rows1);
_rows2 = __lsx_vfmadd_s(_a3, _S23, _rows2);
_rows3 = __lsx_vfmadd_s(_a3, _S33, _rows3);
__lsx_vst(_rows1, rows1p + dx * 4, 0);
__lsx_vst(_rows2, rows2p + dx * 4, 0);
__lsx_vst(_rows3, rows3p + dx * 4, 0);
alphap += 4;
}
}
else
{
// hresize four rows
const float* S0 = src.row(sy - 1);
const float* S1 = src.row(sy);
const float* S2 = src.row(sy + 1);
const float* S3 = src.row(sy + 2);
const float* alphap = alpha;
float* rows0p = rows0;
float* rows1p = rows1;
float* rows2p = rows2;
float* rows3p = rows3;
for (int dx = 0; dx < w; dx++)
{
int sx = xofs[dx] * 4;
const float* S0p = S0 + sx;
const float* S1p = S1 + sx;
const float* S2p = S2 + sx;
const float* S3p = S3 + sx;
__m128 _a0 = __lsx_vreplfr2vr_s(alphap[0]);
__m128 _a1 = __lsx_vreplfr2vr_s(alphap[1]);
__m128 _a2 = __lsx_vreplfr2vr_s(alphap[2]);
__m128 _a3 = __lsx_vreplfr2vr_s(alphap[3]);
__m128 _S00 = (__m128)__lsx_vld(S0p - 4, 0);
__m128 _S01 = (__m128)__lsx_vld(S0p + 0, 0);
__m128 _S02 = (__m128)__lsx_vld(S0p + 4, 0);
__m128 _S03 = (__m128)__lsx_vld(S0p + 8, 0);
__m128 _S10 = (__m128)__lsx_vld(S1p - 4, 0);
__m128 _S11 = (__m128)__lsx_vld(S1p + 0, 0);
__m128 _S12 = (__m128)__lsx_vld(S1p + 4, 0);
__m128 _S13 = (__m128)__lsx_vld(S1p + 8, 0);
__m128 _S20 = (__m128)__lsx_vld(S2p - 4, 0);
__m128 _S21 = (__m128)__lsx_vld(S2p + 0, 0);
__m128 _S22 = (__m128)__lsx_vld(S2p + 4, 0);
__m128 _S23 = (__m128)__lsx_vld(S2p + 8, 0);
__m128 _S30 = (__m128)__lsx_vld(S3p - 4, 0);
__m128 _S31 = (__m128)__lsx_vld(S3p + 0, 0);
__m128 _S32 = (__m128)__lsx_vld(S3p + 4, 0);
__m128 _S33 = (__m128)__lsx_vld(S3p + 8, 0);
__m128 _rows0 = __lsx_vfmul_s(_S00, _a0);
__m128 _rows1 = __lsx_vfmul_s(_S10, _a0);
__m128 _rows2 = __lsx_vfmul_s(_S20, _a0);
__m128 _rows3 = __lsx_vfmul_s(_S30, _a0);
_rows0 = __lsx_vfmadd_s(_a1, _S01, _rows0);
_rows1 = __lsx_vfmadd_s(_a1, _S11, _rows1);
_rows2 = __lsx_vfmadd_s(_a1, _S21, _rows2);
_rows3 = __lsx_vfmadd_s(_a1, _S31, _rows3);
_rows0 = __lsx_vfmadd_s(_a2, _S02, _rows0);
_rows1 = __lsx_vfmadd_s(_a2, _S12, _rows1);
_rows2 = __lsx_vfmadd_s(_a2, _S22, _rows2);
_rows3 = __lsx_vfmadd_s(_a2, _S32, _rows3);
_rows0 = __lsx_vfmadd_s(_a3, _S03, _rows0);
_rows1 = __lsx_vfmadd_s(_a3, _S13, _rows1);
_rows2 = __lsx_vfmadd_s(_a3, _S23, _rows2);
_rows3 = __lsx_vfmadd_s(_a3, _S33, _rows3);
__lsx_vst(_rows0, rows0p + dx * 4, 0);
__lsx_vst(_rows1, rows1p + dx * 4, 0);
__lsx_vst(_rows2, rows2p + dx * 4, 0);
__lsx_vst(_rows3, rows3p + dx * 4, 0);
alphap += 4;
}
}
prev_sy1 = sy;
// vresize
__m128 _b0 = __lsx_vreplfr2vr_s(beta[0]);
__m128 _b1 = __lsx_vreplfr2vr_s(beta[1]);
__m128 _b2 = __lsx_vreplfr2vr_s(beta[2]);
__m128 _b3 = __lsx_vreplfr2vr_s(beta[3]);
float* rows0p = rows0;
float* rows1p = rows1;
float* rows2p = rows2;
float* rows3p = rows3;
float* Dp = dst.row(dy);
for (int dx = 0; dx < w; dx++)
{
__m128 _rows0 = (__m128)__lsx_vld(rows0p, 0);
__m128 _rows1 = (__m128)__lsx_vld(rows1p, 0);
__m128 _rows2 = (__m128)__lsx_vld(rows2p, 0);
__m128 _rows3 = (__m128)__lsx_vld(rows3p, 0);
__m128 _Dp = __lsx_vfmul_s(_rows0, _b0);
_Dp = __lsx_vfmadd_s(_b1, _rows1, _Dp);
_Dp = __lsx_vfmadd_s(_b2, _rows2, _Dp);
_Dp = __lsx_vfmadd_s(_b3, _rows3, _Dp);
__lsx_vst(_Dp, Dp, 0);
Dp += 4;
rows0p += 4;
rows1p += 4;
rows2p += 4;
rows3p += 4;
}
beta += 4;
}
}
|
31bb03436a1187ba3825837f6313a813a5a9092c
|
0744dcc5394cebf57ebcba343747af6871b67017
|
/os/board/rtl8720e/src/component/soc/amebalite/fwlib/include/ameba_page5.h
|
69a90430e6ac399b99eb4b7ade1ec7cc4ff54a7d
|
[
"Apache-2.0",
"GPL-1.0-or-later",
"BSD-3-Clause",
"ISC",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive"
] |
permissive
|
Samsung/TizenRT
|
96abf62f1853f61fcf91ff14671a5e0c6ca48fdb
|
1a5c2e00a4b1bbf4c505bbf5cc6a8259e926f686
|
refs/heads/master
| 2023-08-31T08:59:33.327998
| 2023-08-08T06:09:20
| 2023-08-31T04:38:20
| 82,517,252
| 590
| 719
|
Apache-2.0
| 2023-09-14T06:54:49
| 2017-02-20T04:38:30
|
C
|
UTF-8
|
C
| false
| false
| 138,872
|
h
|
ameba_page5.h
|
#ifndef _AMEBAD2_PAGE5_H_
#define _AMEBAD2_PAGE5_H_
/* AUTO_GEN_START */
/**************************************************************************//**
* @defgroup REG_EDCA_VO_PARAM
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TXOPLIMIT_VO ((u32)0x000007FF << 16) /*!<R/W 0x2f TXOP Limit An unsigned integer in units of 32 microseconds. Value of zero indicates that a single MSDU or MMPDU in addition to a protection frame exchange can be transmitted at any rate. Default: BK = 0h; BE = 0h; VI = 5Eh; VO = 2Fh. */
#define BIT_TXOPLIMIT_VO(x) ((u32)(((x) & 0x000007FF) << 16))
#define BIT_GET_TXOPLIMIT_VO(x) ((u32)(((x >> 16) & 0x000007FF)))
#define BIT_MASK_CW_VO ((u32)0x000000FF << 8) /*!<R/W 0x32 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_CW_VO(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_CW_VO(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_AIFS_VO ((u32)0x000000FF << 0) /*!<R/W 0x24 Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch. */
#define BIT_AIFS_VO(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_AIFS_VO(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_EDCA_VI_PARAM
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TXOPLIMIT_VI ((u32)0x000007FF << 16) /*!<R/W 0x5e TXOP Limit An unsigned integer in units of 32 microseconds. Value of zero indicates that a single MSDU or MMPDU in addition to a protection frame exchange can be transmitted at any rate. Default: BK = 0h; BE = 0h; VI = 5Eh; VO = 2Fh. */
#define BIT_TXOPLIMIT_VI(x) ((u32)(((x) & 0x000007FF) << 16))
#define BIT_GET_TXOPLIMIT_VI(x) ((u32)(((x >> 16) & 0x000007FF)))
#define BIT_MASK_CW_VI ((u32)0x000000FF << 8) /*!<R/W 0x43 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_CW_VI(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_CW_VI(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_AIFS_VI ((u32)0x000000FF << 0) /*!<R/W 0x26 Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch. */
#define BIT_AIFS_VI(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_AIFS_VI(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_EDCA_BE_PARAM
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TXOPLIMIT_BE ((u32)0x000007FF << 16) /*!<R/W 0x00 TXOP Limit An unsigned integer in units of 32 microseconds. Value of zero indicates that a single MSDU or MMPDU in addition to a protection frame exchange can be transmitted at any rate. Default: BK = 0h; BE = 0h; VI = 5Eh; VO = 2Fh. */
#define BIT_TXOPLIMIT_BE(x) ((u32)(((x) & 0x000007FF) << 16))
#define BIT_GET_TXOPLIMIT_BE(x) ((u32)(((x >> 16) & 0x000007FF)))
#define BIT_MASK_CW_BE ((u32)0x000000FF << 8) /*!<R/W 0xa4 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_CW_BE(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_CW_BE(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_AIFS_BE ((u32)0x000000FF << 0) /*!<R/W 0x2b Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch. */
#define BIT_AIFS_BE(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_AIFS_BE(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_EDCA_BK_PARAM
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TXOPLIMIT_BK ((u32)0x000007FF << 16) /*!<R/W 0x00 TXOP Limit An unsigned integer in units of 32 microseconds. Value of zero indicates that a single MSDU or MMPDU in addition to a protection frame exchange can be transmitted at any rate. Default: BK = 0h; BE = 0h; VI = 5Eh; VO = 2Fh. */
#define BIT_TXOPLIMIT_BK(x) ((u32)(((x) & 0x000007FF) << 16))
#define BIT_GET_TXOPLIMIT_BK(x) ((u32)(((x >> 16) & 0x000007FF)))
#define BIT_MASK_CW_BK ((u32)0x000000FF << 8) /*!<R/W 0xa5 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_CW_BK(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_CW_BK(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_AIFS_BK ((u32)0x000000FF << 0) /*!<R/W 0x49 Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch. */
#define BIT_AIFS_BK(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_AIFS_BK(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_BCN_CFG_PIFS
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_RDG_PIFS ((u32)0x000000FF << 24) /*!<R/W 0x28 PIFS time. It is only used in RDG mode and in units of us. */
#define BIT_RDG_PIFS(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_RDG_PIFS(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_PIFS ((u32)0x000000FF << 16) /*!<R/W 0x1c PIFS time. It is only used in AP mode and in units of us. */
#define BIT_PIFS(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_PIFS(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_BCNCW_MAX ((u32)0x0000000F << 12) /*!<R/W 0x4 Beacon Contention Window MAX Defines the contention window value for back off before transmitting beacon frame. This field is set to 0 in AP mode to indicate no back off window. In ad hoc mode, its default value is 6. 26-1 = 63 time slots. */
#define BIT_BCNCW_MAX(x) ((u32)(((x) & 0x0000000F) << 12))
#define BIT_GET_BCNCW_MAX(x) ((u32)(((x >> 12) & 0x0000000F)))
#define BIT_MASK_BCNCW_MIN ((u32)0x0000000F << 8) /*!<R/W 0x4 Beacon Contention Window Defines the contention window value for back off before transmitting beacon frame. This field is set to 0 in AP mode to indicate no back off window. In ad hoc mode, its default value is 6. 26-1 = 63 time slots. */
#define BIT_BCNCW_MIN(x) ((u32)(((x) & 0x0000000F) << 8))
#define BIT_GET_BCNCW_MIN(x) ((u32)(((x >> 8) & 0x0000000F)))
#define BIT_MASK_BCNIFS ((u32)0x000000FF << 0) /*!<R/W 0x13 Beacon Interframe Space In units of microseconds, this register defines the medium idle time required before transmitting beacon (AP mode) or entering random back off window. */
#define BIT_BCNIFS(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_BCNIFS(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_SIFS
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_SIFS_OFDM_TRX ((u32)0x000000FF << 24) /*!<R/W 0xE This register sets the SIFS time required in NAV protection period after receiving any immediate response. for example Ack-Data or RTS/CTS-Data. It is in unit of us. */
#define BIT_SIFS_OFDM_TRX(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_SIFS_OFDM_TRX(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_SIFS_CCK_TRX ((u32)0x000000FF << 16) /*!<R/W 0xA This register sets the SIFS time required in NAV protection period after receiving any immediate response. for example Ack-Data or RTS/CTS-Data. It is in unit of us. */
#define BIT_SIFS_CCK_TRX(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_SIFS_CCK_TRX(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_SIFS_OFDM_CTX ((u32)0x000000FF << 8) /*!<R/W 0xE This register sets the SIFS time required for consecutive TX events for example CTS2S-Data, or broadcast bursting. It is in unit of us. */
#define BIT_SIFS_OFDM_CTX(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_SIFS_OFDM_CTX(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_SIFS_CCK_CTX ((u32)0x000000FF << 0) /*!<R/W 0xA This register sets the SIFS time required for consecutive TX events for example CTS2S-Data, or broadcast bursting. It is in unit of us. */
#define BIT_SIFS_CCK_CTX(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_SIFS_CCK_CTX(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TSFT_SYN_OFFSET_SLOT
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_SLOTTIME ((u32)0x000000FF << 24) /*!<R/W 0x09 This register sets the slot time value mentioned in 802.11 specification. It is in units of us. Default: 0x9 */
#define BIT_SLOTTIME(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_SLOTTIME(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_AGGR_BK_TIME ((u32)0x000000FF << 16) /*!<R/W 0x14 Hw will break aggr. In sifs condition */
#define BIT_AGGR_BK_TIME(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_AGGR_BK_TIME(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_TSFTR_SYNC_OFFSET ((u32)0x0000FFFF << 0) /*!<R/W 0x640 tsft sync. Offset (bcn0 sync to bcn1 offset or bcn1 sync to bcn0 offset). Unit : 32us, default is 50ms */
#define BIT_TSFTR_SYNC_OFFSET(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_TSFTR_SYNC_OFFSET(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_NOA_ERLY_TIME
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_NOA_OFF_ERLY_TIME ((u32)0x000000FF << 8) /*!<R/W 0x5 NOA off early interval, Time unit is TU. */
#define BIT_NOA_OFF_ERLY_TIME(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_NOA_OFF_ERLY_TIME(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_NOA_ON_ERLY_TIME ((u32)0x000000FF << 0) /*!<R/W 0x0 not valid. NOA on early interval, Time unit is TU. PS: This function has some issue, so it's value must be 0 */
#define BIT_NOA_ON_ERLY_TIME(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_NOA_ON_ERLY_TIME(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TXPAUSE_TXPTCL_DISTXREQ_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_DIS_BT_CCA ((u32)0x00000001 << 31) /*!<R/W 0x0 Disable BT_CCA. (NOT USED, SEE 0x1594) */
#define BIT_DIS_TXREQ_CLR_CPUMGQ ((u32)0x00000001 << 30) /*!<R/W 0x0 1: if this queue can’t own channel ,txcmd will be cleared 0:Only TX_finish can clear txreq */
#define BIT_DIS_TXREQ_CLR_HI ((u32)0x00000001 << 29) /*!<R/W 0x0 0: if this queue can’t own channel ,txcmd will be cleared 1:Only TX_finish can clear txreq */
#define BIT_DIS_TXREQ_CLR_MGQ ((u32)0x00000001 << 28) /*!<R/W 0x0 1: if this queue can’t own channel ,txcmd will be cleared 0:Only TX_finish can clear txreq */
#define BIT_DIS_TXREQ_CLR_BK ((u32)0x00000001 << 27) /*!<R/W 0x0 0: if this queue can’t own channel ,txcmd will be cleared 1:Only TX_finish can clear txreq */
#define BIT_DIS_TXREQ_CLR_BE ((u32)0x00000001 << 26) /*!<R/W 0x0 0: if this queue can’t own channel ,txcmd will be cleared 1:Only TX_finish can clear txreq */
#define BIT_DIS_TXREQ_CLR_VI ((u32)0x00000001 << 25) /*!<R/W 0x0 0: if this queue can’t own channel ,txcmd will be cleared 1:Only TX_finish can clear txreq */
#define BIT_DIS_TXREQ_CLR_VO ((u32)0x00000001 << 24) /*!<R/W 0x0 0: if this queue can’t own channel ,txcmd will be cleared 1:Only TX_finish can clear txreq */
#define BIT_STOP_CPUMGQ ((u32)0x00000001 << 23) /*!<R/W 0x0 To control CPUMGQ queues contention circuit. 1: CPUMGQ queues all stop. 0: Enable CPUMGQ queues contention circuit */
#define BIT_MAC_STOPBCNQ ((u32)0x00000001 << 22) /*!<R/W 0x0 Stop BCNQ Queue Write a 1 to this bit via software to immediately stop the transmission of packet from this queue including retry attempts. */
#define BIT_MAC_STOPHIQ ((u32)0x00000001 << 21) /*!<R/W 0x0 Stop High Queue Write a 1 to this bit via software to immediately stop the transmission of packet from this queue including retry attempts. */
#define BIT_MAC_STOPMGQ ((u32)0x00000001 << 20) /*!<R/W 0x0 Stop Management Queue Write a 1 to this bit via software to immediately stop the transmission of packet from this queue including retry attempts. */
#define BIT_MAC_STOPBK ((u32)0x00000001 << 19) /*!<R/W 0x0 Stop BK Queue Write a 1 to this bit via software to immediately stop the transmission of packet from this queue including retry attempts. */
#define BIT_MAC_STOPBE ((u32)0x00000001 << 18) /*!<R/W 0x0 Stop BE Queue Write a 1 to this bit via software to immediately stop the transmission of packet from this queue including retry attempts. */
#define BIT_MAC_STOPVI ((u32)0x00000001 << 17) /*!<R/W 0x0 Stop VI Queue Write a 1 to this bit via software to immediately stop the transmission of packet from this queue including retry attempts. */
#define BIT_MAC_STOPVO ((u32)0x00000001 << 16) /*!<R/W 0x0 Stop VO Queue Write a 1 to this bit via software to immediately stop the transmission of packet from this queue including retry attempts. */
#define BIT_DIS_EDCCA ((u32)0x00000001 << 15) /*!<R/W 0x0 Disable EDCCA function. (NOT USED, SEE 0x1594) 0: PHY_EDCCA can block TX (default) 1: PHY_EDCCA cannot block TX OK -> TX beacon; X -> cannot TX beacon 0x528[7] 0x520[15] 0x520[14] TX bcn TX bcn (OFDMCCA=0, (OFDMCCA=1, EDCCA=1) EDCCA=1) 0 0 0 X X 0 0 1 X X 0 1 0 OK X 0 1 1 OK OK 1 0 0 X X 1 0 1 X X 1 1 0 OK X 1 1 1 OK OK */
#define BIT_DIS_CCA ((u32)0x00000001 << 14) /*!<R/W 0x0 Disable CCA. (NOT USED, SEE 0x1594) */
#define BIT_LSIG_TXOP_TXCMD_NAV ((u32)0x00000001 << 13) /*!<R/W 0x1 Set LSIG_TXOP from TXCMD_NAV field */
#define BIT_SIFS_BK_EN ((u32)0x00000001 << 12) /*!<R/W 0x1 SIFS Break Check Criteria enable for AMPDU aggregation */
#define BIT_MASK_TXQ_NAV_MSK ((u32)0x0000000F << 8) /*!<R/W 0xF 1: Queue BKF must wait TX Nav finished 0: Queue not need wait */
#define BIT_TXQ_NAV_MSK(x) ((u32)(((x) & 0x0000000F) << 8))
#define BIT_GET_TXQ_NAV_MSK(x) ((u32)(((x >> 8) & 0x0000000F)))
#define BIT_DIS_CW ((u32)0x00000001 << 7) /*!<R/W 0x0 When this bit is set, disable CW. */
#define BIT_NAV_END_TXOP ((u32)0x00000001 << 6) /*!<R/W 0x0 1: In txop mode, Nav protect all txop 0: In txop mode, Nav protect to next pkt */
#define BIT_RDG_END_TXOP ((u32)0x00000001 << 5) /*!<R/W 0x0 1: In tx RDG mode, Nav protect all txop 0: In tx RDG mode, Nav protect to next pkt */
#define BIT_MGTQ_TXOP_EN ((u32)0x00000001 << 3) /*!<R/W 0x1 When this bit is set, MGTQ may sent packets by using ACQ TXOP. */
#define BIT_MGTQ_RTSMF_EN ((u32)0x00000001 << 2) /*!<R/W 0x1 When this bit is set, MTGQ will be TX, not wait until RTS or MF transaction finished. */
#define BIT_HIQ_RTSMF_EN ((u32)0x00000001 << 1) /*!<R/W 0x1 When this bit is set, HIQ will be TX, not wait until RTS or MF transaction finished. */
#define BIT_BCN_RTSMF_EN ((u32)0x00000001 << 0) /*!<R/W 0x1 When this bit is set, BCNQ will be TX, not wait until RTS or MF transaction finished. */
/** @} */
/**************************************************************************//**
* @defgroup REG_NOA0_MBSSID_RD_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_P2P_NOA0_ALLSTASLEEP ((u32)0x00000001 << 31) /*!<R/W 0x0 It indicates that the state from CTWindow End to BcnEarly 1: Sleep 0: Wake */
#define BIT_P2P_NOA0_DISTX_EN ((u32)0x00000001 << 30) /*!<R/W 0x0 1: Hw will disable TX in P2P_off period 0: Do Nothing */
#define BIT_P2P_NOA0_PWR_MGT_EN ((u32)0x00000001 << 29) /*!<R/W 0x0 A main switch for P2P PowerSaving 1: Enable 0: Disable */
#define BIT_MASK_P2P_NOA0_EN ((u32)0x00000003 << 27) /*!<R/W 0x0 The condition that noa_unit0, [1]-NOA1, [0]-NOA0 1: Enable 0: Disable */
#define BIT_P2P_NOA0_EN(x) ((u32)(((x) & 0x00000003) << 27))
#define BIT_GET_P2P_NOA0_EN(x) ((u32)(((x >> 27) & 0x00000003)))
#define BIT_MASK_P2P_NOA0_UNIT_SEL ((u32)0x00000003 << 25) /*!<R/W 0x0 The selector for the source of noa unit0. 0 for port 0, 1 for port 1,2 for port2 */
#define BIT_P2P_NOA0_UNIT_SEL(x) ((u32)(((x) & 0x00000003) << 25))
#define BIT_GET_P2P_NOA0_UNIT_SEL(x) ((u32)(((x >> 25) & 0x00000003)))
#define BIT_EN_TSFBIT32_RST_NOA0 ((u32)0x00000001 << 24) /*!<R/W 0x1 when enable, if tsft_bit32_int is asserted, reset power_cs of noa_unit0 */
#define BIT_MBID_BCNQ7_EN ((u32)0x00000001 << 23) /*!<R/W 0x1 When enable, auto MBSSID for virtual interface 7 is enable. */
#define BIT_MBID_BCNQ6_EN ((u32)0x00000001 << 22) /*!<R/W 0x1 When enable, auto MBSSID for virtual interface 6 is enable. */
#define BIT_MBID_BCNQ5_EN ((u32)0x00000001 << 21) /*!<R/W 0x1 When enable, auto MBSSID for virtual interface 5 is enable. */
#define BIT_MBID_BCNQ4_EN ((u32)0x00000001 << 20) /*!<R/W 0x1 When enable, auto MBSSID for virtual interface 4 is enable. */
#define BIT_MBID_BCNQ3_EN ((u32)0x00000001 << 19) /*!<R/W 0x1 When enable, auto MBSSID for virtual interface 3 is enable. */
#define BIT_MBID_BCNQ2_EN ((u32)0x00000001 << 18) /*!<R/W 0x1 When enable, auto MBSSID for virtual interface 2 is enable. */
#define BIT_MBID_BCNQ1_EN ((u32)0x00000001 << 17) /*!<R/W 0x1 When enable, auto MBSSID for virtual interface 1 is enable. */
#define BIT_MBID_BCNQ0_EN ((u32)0x00000001 << 16) /*!<R/W 0x1 When enable, auto MBSSID for root interface is enable. */
#define BIT_EN_CLR_TXREQ_INCCA ((u32)0x00000001 << 15) /*!<R/W 0x1 not valid。 */
#define BIT_DIS_TX_OVER_BCNQ ((u32)0x00000001 << 14) /*!<R/W 0x0 1: Tx Packet with ignoring Beacon Area time 0: Disable */
#define BIT_EN_BCNERR_INCCCA ((u32)0x00000001 << 13) /*!<R/W 0x0 eneble force tx becon ignore CCA in disable contention area */
#define BIT_EN_BCNERR_INEDCCA ((u32)0x00000001 << 12) /*!<R/W 0x0 eneble force tx becon ignore EDCCA in disable contention area */
#define BIT_EDCCA_MSK_CNTDOWN_EN ((u32)0x00000001 << 11) /*!<R/W 0x1 1: disable EDCCA count down, 0: enable EDCCA count down AC backoff 是否需要參考PHY_EDCCA 0: 不參考PHY_EDCCA 1: 參考PHY_EDCCA (default, PHY_EDCCA=1時停止backoff) */
#define BIT_DIS_TXOP_CFE ((u32)0x00000001 << 10) /*!<R/W 0x0 Disable TXOP_CFE function */
#define BIT_DIS_LSIG_CFE ((u32)0x00000001 << 9) /*!<R/W 0x0 Disable LSIG_TXOP CF-END function */
#define BIT_DIS_STBC_CFE ((u32)0x00000001 << 8) /*!<R/W 0x0 Disable STBC CF-END function */
#define BIT_BKQ_RD_INIT_EN ((u32)0x00000001 << 7) /*!<R/W 0x0 Enable BKQ RD initiator function */
#define BIT_BEQ_RD_INIT_EN ((u32)0x00000001 << 6) /*!<R/W 0x0 Enable BEQ RD initiator function */
#define BIT_VIQ_RD_INIT_EN ((u32)0x00000001 << 5) /*!<R/W 0x0 Enable VIQ RD initiator function */
#define BIT_VOQ_RD_INIT_EN ((u32)0x00000001 << 4) /*!<R/W 0x0 Enable VOQ RD initiator function */
#define BIT_BKQ_RD_RESP_EN ((u32)0x00000001 << 3) /*!<R/W 0x1 Enable BKQ RD responder function */
#define BIT_BEQ_RD_RESP_EN ((u32)0x00000001 << 2) /*!<R/W 0x1 Enable BEQ RD responder function */
#define BIT_VIQ_RD_RESP_EN ((u32)0x00000001 << 1) /*!<R/W 0x1 Enable VIQ RD responder function */
#define BIT_VOQ_RD_RESP_EN ((u32)0x00000001 << 0) /*!<R/W 0x1 Enable VOQ RD responder function */
/** @} */
/**************************************************************************//**
* @defgroup REG_NOA0_PKT_LIFETIME_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_POWER_STATE_0 ((u32)0x00000001 << 31) /*!<RO 1: On, 0: Off. (It is including early time. ) */
#define BIT_CTWINDOW_ON_0 ((u32)0x00000001 << 30) /*!<RO Spec time and Beacon Early Time to TBTT Time. (It is including early time. ) */
#define BIT_BEACON_AREA_ON_0 ((u32)0x00000001 << 29) /*!<RO The time is from HOLD Time to BeaconTx or Timeout. (It is including early time. ) */
#define BIT_CTWIN_EARLY_DISTX_0 ((u32)0x00000001 << 28) /*!<RO ctwin_early_distx. (It is including early time. ) */
#define BIT_NOA1_OFF_PERIOD_0 ((u32)0x00000001 << 27) /*!<RO Spec time but exclude BCNDMATIM time for wake. (It is including early time. ) */
#define BIT_FORCE_DOZE1_0 ((u32)0x00000001 << 26) /*!<RO If NoA_Count == 1, this value is 1. else 0. (It is including early time. ) */
#define BIT_NOA0_OFF_PERIOD_0 ((u32)0x00000001 << 25) /*!<RO Spec time but exclude BCNDMATIM time for wake. (It is including early time. ) */
#define BIT_FORCE_DOZE0_0 ((u32)0x00000001 << 24) /*!<RO If NoA_Count == 1, this value is 1. else 0. (It is including early time. ) */
#define BIT_CHANGE_POW_BCN_AREA ((u32)0x00000001 << 23) /*!<R/W 0x0 select real_ctwindow & real_bcnq_area for noa_unit */
#define BIT_EN_BKF_CLR_TXREQ ((u32)0x00000001 << 22) /*!<R/W 0x1 when gen tx command done, while will backoff is invalid, then tx command will be cleared */
#define BIT_EN_BCN_TX_BTCCA ((u32)0x00000001 << 20) /*!<R/W 0x0 1: Enable Beacon Tx at TBTT if BT_CCA is enabled 0: Disable */
#define BIT_DIS_PKT_TX_ATIM ((u32)0x00000001 << 19) /*!<R/W 0x1 1: Disable AC Queue Packet Tx in ATIM (only valid at Nettype: Adhoc/AP) 0: Enable AC Queue packet Tx in ATIM */
#define BIT_DIS_BCN_DIS_CTN ((u32)0x00000001 << 18) /*!<R/W 0x1 Disable the Beacon queue disable contention,when set to 0 enable the force beacon function. */
#define BIT_EN_NAVEND_RST_TXOP ((u32)0x00000001 << 17) /*!<R/W 0x0 When set this bit, TXOP will be reset while NAV end. */
#define BIT_EN_FILTER_CCA ((u32)0x00000001 << 16) /*!<R/W 0x0 Enable CCA filter threshold */
#define BIT_MASK_CCA_FILTER_THRS ((u32)0x000000FF << 8) /*!<R/W 0xA If PHY_CCA signal width is bigger than this threshold, this PHY_CCA signal is valid for MAC. Unit: us */
#define BIT_CCA_FILTER_THRS(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_CCA_FILTER_THRS(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_EDCCA_THRS ((u32)0x000000FF << 0) /*!<R/W 0x8F EDCCA threshold value, edcca over this threshold will cause bkf_rst Bit[7]: PHY_EDCCA為1時,當timer timeout時擋住TX Bit[6:0]: timer (單位:32us) */
#define BIT_EDCCA_THRS(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_EDCCA_THRS(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P2PON_DIS_TXTIME
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_P2PON_DIS_TXTIME ((u32)0x000000FF << 8) /*!<R/W 0x0 The time of the disable TX period after the P2P RF on interrupt occur. Unit: 64us. */
#define BIT_P2PON_DIS_TXTIME(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_P2PON_DIS_TXTIME(x) ((u32)(((x >> 8) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NAN_SETTING_2
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_SYNC_BCN_DELAY ((u32)0x00003FFF << 0) /*!<R/W 0x168 r_HC * r_SLOTTIME * 8'd40 (unit:us) default: r_HC = 1, r_SLOTTIME = 9, => 360us max is 16ms (DW) */
#define BIT_SYNC_BCN_DELAY(x) ((u32)(((x) & 0x00003FFF) << 0))
#define BIT_GET_SYNC_BCN_DELAY(x) ((u32)(((x >> 0) & 0x00003FFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_QUEUE_INCOL_THR
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_BK_QUEUE_THR ((u32)0x000000FF << 24) /*!<R/W 0x0 0: Disable this BK queue condition. Otherwise: When internal collision number of queue equal threshold, the priority of queue enhance. But have more 2 queues which satisfy each queue threshold, the priority will follow VO>VI>BE>BK. */
#define BIT_BK_QUEUE_THR(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_BK_QUEUE_THR(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_BE_QUEUE_THR ((u32)0x000000FF << 16) /*!<R/W 0x0 0: Disable this BE queue condition. Otherwise: When internal collision number of queue equal threshold, the priority of queue enhance. But have more 2 queues which satisfy each queue threshold, the priority will follow VO>VI>BE>BK. */
#define BIT_BE_QUEUE_THR(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_BE_QUEUE_THR(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_VI_QUEUE_THR ((u32)0x000000FF << 8) /*!<R/W 0x0 0: Disable this VI queue condition. Otherwise: When internal collision number of queue equal threshold, the priority of queue enhance. But have more 2 queues which satisfy each queue threshold, the priority will follow VO>VI>BE>BK. */
#define BIT_VI_QUEUE_THR(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_VI_QUEUE_THR(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_VO_QUEUE_THR ((u32)0x000000FF << 0) /*!<R/W 0x0 0: Disable this VO queue condition. Otherwise: When internal collision number of queue equal threshold, the priority of queue enhance. But have more 2 queues which satisfy each queue threshold, the priority will follow VO>VI>BE>BK. */
#define BIT_VO_QUEUE_THR(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_VO_QUEUE_THR(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_QUEUE_INCOL_EN
* @brief
* @{
*****************************************************************************/
#define BIT_DIS_ZGBCCA ((u32)0x00000001 << 31) /*!<R/W 0x0 Disable zigbee CCA (NOT USED, SEE 0x1594) */
#define BIT_MASK_TXOP_FAILBREAK_CNT ((u32)0x000000FF << 22) /*!<R 0x0 if BIT_TXOP_FAIL_BREAK = 1, counter the times of txfail break TXOP */
#define BIT_TXOP_FAILBREAK_CNT(x) ((u32)(((x) & 0x000000FF) << 22))
#define BIT_GET_TXOP_FAILBREAK_CNT(x) ((u32)(((x >> 22) & 0x000000FF)))
#define BIT_TXOP_FAIL_BREAK ((u32)0x00000001 << 21) /*!<R/W 0x0 1: if tx pkt fail in txop, then tx cfend to end txop */
#define BIT_EN_TBTT_AREA_BLK_4AC ((u32)0x00000001 << 20) /*!<R/W 0x1 When set this bit, 4AC backoff is disabled on TBTT setup period */
#define BIT_ENABLE_RANDOM_SHIFT_TX ((u32)0x00000001 << 19) /*!<R/W 0x0 When this bit set 1, enable random shift TX function */
#define BIT_ENABLE_EDCA_REF_FUNCTION ((u32)0x00000001 << 18) /*!<R/W 0x0 When this bit set 1, enable EDCA REF function */
#define BIT_ENABLE_INTERCOL_EDCA_REF ((u32)0x00000001 << 17) /*!<R/W 0x0 When this bit set 1, enable inter-collision edca_ref */
#define BIT_ACQ_MAX_INCOL_EN ((u32)0x00000001 << 16) /*!<R/W 0x0 1:Enable 0 :Disable */
#define BIT_MASK_BK_TRIGGER_NUM ((u32)0x0000000F << 12) /*!<R/W1C 0x0 The number is triggered by bkq inter collision */
#define BIT_BK_TRIGGER_NUM(x) ((u32)(((x) & 0x0000000F) << 12))
#define BIT_GET_BK_TRIGGER_NUM(x) ((u32)(((x >> 12) & 0x0000000F)))
#define BIT_MASK_BE_TRIGGER_NUM ((u32)0x0000000F << 8) /*!<R/W1C 0x0 The number is triggered by beq inter collision */
#define BIT_BE_TRIGGER_NUM(x) ((u32)(((x) & 0x0000000F) << 8))
#define BIT_GET_BE_TRIGGER_NUM(x) ((u32)(((x >> 8) & 0x0000000F)))
#define BIT_MASK_VI_TRIGGER_NUM ((u32)0x0000000F << 4) /*!<R/W1C 0x0 The number is triggered by viq inter collision */
#define BIT_VI_TRIGGER_NUM(x) ((u32)(((x) & 0x0000000F) << 4))
#define BIT_GET_VI_TRIGGER_NUM(x) ((u32)(((x >> 4) & 0x0000000F)))
#define BIT_MASK_VO_TRIGGER_NUM ((u32)0x0000000F << 0) /*!<R/W1C 0x0 The number is triggered by voq inter collision */
#define BIT_VO_TRIGGER_NUM(x) ((u32)(((x) & 0x0000000F) << 0))
#define BIT_GET_VO_TRIGGER_NUM(x) ((u32)(((x >> 0) & 0x0000000F)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NOA0_TBTT_PROHIBIT
* @brief
* @{
*****************************************************************************/
#define BIT_SPEC_POWER_STATE_0 ((u32)0x00000001 << 31) /*!<RO 1: On, 0: Off */
#define BIT_SPEC_CTWINDOW_ON_0 ((u32)0x00000001 << 30) /*!<RO The time from TBTT <-> CTWEND (with BCNDMATIM early time) */
#define BIT_SPEC_BEACON_AREA_ON_0 ((u32)0x00000001 << 29) /*!<RO The time is from TBTT to BeaconTx or Timeout */
#define BIT_SPEC_CTWIN_EARLY_DISTX_0 ((u32)0x00000001 << 28) /*!<RO ctwin_early_distx */
#define BIT_SPEC_NOA1_OFF_PERIOD_0 ((u32)0x00000001 << 27) /*!<RO Spec time */
#define BIT_SPEC_FORCE_DOZE1_0 ((u32)0x00000001 << 26) /*!<RO If NoA_Count == 1, this value is 1. else 0. */
#define BIT_SPEC_NOA0_OFF_PERIOD_0 ((u32)0x00000001 << 25) /*!<RO Spec time */
#define BIT_SPEC_FORCE_DOZE0_0 ((u32)0x00000001 << 24) /*!<RO If NoA_Count == 1, this value is 1. else 0. */
#define BIT_EN_TBTT_AREA_FOR_BB ((u32)0x00000001 << 20) /*!<R/W 0x0 enable notify bb that mac p0 is in tbtt area */
#define BIT_MASK_TBTT_HOLD_TIME ((u32)0x00000FFF << 8) /*!<R/W 0xc8 TBTT_prohibit_hold time for AP mode, unit is 32 us */
#define BIT_TBTT_HOLD_TIME(x) ((u32)(((x) & 0x00000FFF) << 8))
#define BIT_GET_TBTT_HOLD_TIME(x) ((u32)(((x >> 8) & 0x00000FFF)))
#define BIT_MASK_TBTT_HOLD_TIME_INFRA ((u32)0x0000000F << 4) /*!<R/W 0x01 TBTT_prohibit_hold time for infrastructure mode , unit is 2 ms */
#define BIT_TBTT_HOLD_TIME_INFRA(x) ((u32)(((x) & 0x0000000F) << 4))
#define BIT_GET_TBTT_HOLD_TIME_INFRA(x) ((u32)(((x >> 4) & 0x0000000F)))
#define BIT_MASK_TBTT_PROHIBIT_SETUP ((u32)0x0000000F << 0) /*!<R/W 0x02 TBTT_prohibit_setup, unit is 32us */
#define BIT_TBTT_PROHIBIT_SETUP(x) ((u32)(((x) & 0x0000000F) << 0))
#define BIT_GET_TBTT_PROHIBIT_SETUP(x) ((u32)(((x >> 0) & 0x0000000F)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NAV_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_NAV_PROT_LEN ((u32)0x0000FFFF << 16) /*!<R/W 0x40 In TXOP mode ,NAV setting which protects next packets */
#define BIT_NAV_PROT_LEN(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_NAV_PROT_LEN(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_RD_NAV_PROT_NXT ((u32)0x0000FFFF << 0) /*!<R/W 0x180 In RDG mode ,NAV setting which protects next packets */
#define BIT_RD_NAV_PROT_NXT(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_RD_NAV_PROT_NXT(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_FTM_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_FTM_TSF_R2T_PORT ((u32)0x00000001 << 24) /*!<R/W 0x0 0:R2T latch count sync tsf of port 0 1: R2T latch count sync tsf of port 1 */
#define BIT_FTM_TSF_T2R_PORT ((u32)0x00000001 << 20) /*!<R/W 0x0 0:T2R latch count sync tsf of port 0 1: T2R latch count sync tsf of port 1 */
#define BIT_FTM_PTT_PORT ((u32)0x00000001 << 16) /*!<R/W 0x0 0: sync tsf of port 0 1: sync tsf of port 1 */
#define BIT_MASK_FTM_PTT ((u32)0x0000FFFF << 0) /*!<R/W 0x0 partial tsf timer setting */
#define BIT_FTM_PTT(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_FTM_PTT(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_FTM_TSF_CNT
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_FTM_TSF_R2T ((u32)0x0000FFFF << 16) /*!<R 0x0 R2T latch count sync tsf timer */
#define BIT_FTM_TSF_R2T(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_FTM_TSF_R2T(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_FTM_TSF_T2R ((u32)0x0000FFFF << 0) /*!<R 0x0 T2R latch count sync tsf timer */
#define BIT_FTM_TSF_T2R(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_FTM_TSF_T2R(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TSTRST_P2PRST_BCN_CTRL_PORT0_1
* @brief
* @{
*****************************************************************************/
#define BIT_P2P_PWR_RST1 ((u32)0x00000001 << 30) /*!<W 0x0 rst p2p circuit NOA 1, noa_unit0 */
#define BIT_SCHEDULER_RST ((u32)0x00000001 << 29) /*!<W 0x0 Write this bit reset scheduler, ioreg_txfail */
#define BIT_P2P_PWR_RST0 ((u32)0x00000001 << 28) /*!<W 0x0 rst p2p circuit NOA 0, noa_unit0 */
#define BIT_TSFTR1_SYNC_EN ((u32)0x00000001 << 27) /*!<W 0x0 write this bit, bcn1 will sync to bcn0 with TSFTF_SYN_OFFSET */
#define BIT_TSFTR_SYNC_EN ((u32)0x00000001 << 26) /*!<W 0x0 write this bit, bcn0 will sync to bcn1 with TSFTF_SYN_OFFSET */
#define BIT_TSFTR1_RST ((u32)0x00000001 << 25) /*!<W 0x0 write this bit , bcn1 tsft will auto reset */
#define BIT_TSFTR_RST ((u32)0x00000001 << 24) /*!<W 0x0 write this bit , bcn0 tsft will auto reset */
#define BIT_P2P_PWR_RST5 ((u32)0x00000001 << 23) /*!<W 0x0 rst p2p circuit NOA 5, noa_unit2 */
#define BIT_P2P_PWR_RST4 ((u32)0x00000001 << 22) /*!<W 0x0 rst p2p circuit NOA 4, noa_unit2 */
#define BIT_P2P_PWR_RST3 ((u32)0x00000001 << 21) /*!<W 0x0 rst p2p circuit NOA 3, noa_unit1 */
#define BIT_P2P_PWR_RST2 ((u32)0x00000001 << 20) /*!<W 0x0 rst p2p circuit NOA 2, noa_unit1 */
#define BIT_EN_PRE_DL_BEACON ((u32)0x00000001 << 19) /*!<R/W 0x0 If set 1, hw will enable pre_download beacon */
#define BIT_MASK_MBID_BCN_NUM ((u32)0x00000007 << 16) /*!<R/W 0x0 The number of virtual interface number excluding the root number. */
#define BIT_MBID_BCN_NUM(x) ((u32)(((x) & 0x00000007) << 16))
#define BIT_GET_MBID_BCN_NUM(x) ((u32)(((x >> 16) & 0x00000007)))
#define BIT_P1_RXBCN_RPT_ENABLE ((u32)0x00000001 << 15) /*!<R/W 0x0 When this bit asserted, RXBCNOK report is issued */
#define BIT_P1_DIS_RX_BSSID_FIT ((u32)0x00000001 << 14) /*!<R/W 0x0 0:HW will handle rx_beacon 1:HW will ignore rx_beacon_pk */
#define BIT_P1_TXBCN_RPT_ENABLE ((u32)0x00000001 << 13) /*!<R/W 0x0 When this bit and BIT_P1_EN_BCN_RPT are set, then TXBCN ERROR report is issued */
#define BIT_P1_DIS_TSF_UDT ((u32)0x00000001 << 12) /*!<R/W 0x1 When set, disable clint 0 TSF update when beacon frames or probe response frames are received. */
#define BIT_P1_EN_BCN_FUNCTION ((u32)0x00000001 << 11) /*!<R/W 0x0 When this bit is set, TSF and other beacon related functions are then enabled. 0x700(MACID1)的enable開關 */
#define BIT_P1_EN_BCN_RPT ((u32)0x00000001 << 10) /*!<R/W 0x1 When this bit asserted, txbcnok_int and txbcnerr_int will valid. */
#define BIT_P1_ENP2P_CTWINDOW ((u32)0x00000001 << 9) /*!<R/W 0x0 1: Enable P2P CTN WINDOWS function. 0: Disable P2P CTN WINDOWS function. */
#define BIT_P1_ENP2P_BCNQ_AREA ((u32)0x00000001 << 8) /*!<R/W 0x0 1: Enable P2P BCN area on function. 0 : Disable P2P BCN area on function. */
#define BIT_P0_RXBCN_RPT_ENABLE ((u32)0x00000001 << 7) /*!<R/W 0x0 When this bit asserted, RXBCNOK report is issued */
#define BIT_P0_DIS_RX_BSSID_FIT ((u32)0x00000001 << 6) /*!<R/W 0x0 0:HW will handle rx_beacon 1:HW will ignore rx_beacon_pk */
#define BIT_P0_TXBCN_RPT_ENABLE ((u32)0x00000001 << 5) /*!<R/W 0x0 When this bit and BIT_P0_EN_BCN_RPT are set, then TXBCN ERROR report is issued */
#define BIT_P0_DIS_TSF_UDT ((u32)0x00000001 << 4) /*!<R/W 0x1 When set, disable port 0 TSF update when beacon frames or probe response frames are received. */
#define BIT_P0_EN_BCN_FUNCTION ((u32)0x00000001 << 3) /*!<R/W 0x0 When this bit is set, TSF and other beacon related functions are then enabled. 0x610(MACID)的enable開關 */
#define BIT_P0_EN_BCN_RPT ((u32)0x00000001 << 2) /*!<R/W 0x1 When this bit asserted, txbcnok_int and txbcnerr_int will valid. */
#define BIT_P0_EN_P2P_CTWINDOW ((u32)0x00000001 << 1) /*!<R/W 0x0 1: Enable P2P CTN WINDOWS function. 0: Disable P2P CTN WINDOWS function. */
#define BIT_P0_EN_P2P_BCNQ_AREA ((u32)0x00000001 << 0) /*!<R/W 0x0 1: Enable P2P BCN area on function. 0 : Disable P2P BCN area on function. */
/** @} */
/**************************************************************************//**
* @defgroup REG_PORT0_BCN_SPACE
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_BCN_SUB_SPACE_PORT0 ((u32)0x0000FFFF << 16) /*!<R/W 0x64 Unit is ms. The sub-beacon interval of the port 0.(valid if mbssid function is enable) */
#define BIT_BCN_SUB_SPACE_PORT0(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_BCN_SUB_SPACE_PORT0(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_BCN_SPACE_PORT0 ((u32)0x0000FFFF << 0) /*!<R/W 0x64 Unit is ms. When MBSSID is disable, this field is the beacon interval. When MBSSID is enable, this register is the beacon space of root. */
#define BIT_BCN_SPACE_PORT0(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_BCN_SPACE_PORT0(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_ATIMWND0_P0_BCN_ERLY_DMA_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_ATIMWND0 ((u32)0x0000FFFF << 16) /*!<R/W 0x02 ATIM window width of root VAP in units of TU. */
#define BIT_ATIMWND0(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_ATIMWND0(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_BCNDMATIM_P0 ((u32)0x000000FF << 8) /*!<R/W 0x03 Indicates the time before TBTT to perform beacon queue DMA. This register is shared by the time to assert ATIM window end interrupt. Measured in units of “TU” before TBTT and before ATIM window end. */
#define BIT_BCNDMATIM_P0(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_BCNDMATIM_P0(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_DRVERLYITV_P0 ((u32)0x000000FF << 0) /*!<R/W 0x05 Time to send interrupt to notify driver to change beacon content. Time unit is TU. The register also is shared by P2P-CTW and P2P-NoA (from NoA-Absent to NoA-On). It is used to wake up early at DriverEarlyTime */
#define BIT_DRVERLYITV_P0(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_DRVERLYITV_P0(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_BCNERR_TSF_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_OFDM_RXTSF_OFFSET ((u32)0x000000FF << 24) /*!<R/W 0x0F The Datapath of OFDM RX_tsf */
#define BIT_OFDM_RXTSF_OFFSET(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_OFDM_RXTSF_OFFSET(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_CCK_RXTSF_OFFSET ((u32)0x000000FF << 16) /*!<R/W 0x0F The Datapath of CCK RX_tsf */
#define BIT_CCK_RXTSF_OFFSET(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_CCK_RXTSF_OFFSET(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_BCN_MAX_ERR ((u32)0x000000FF << 8) /*!<R/W 0x10 When beacon TX error counter goes over this threshold, Beacon will transmit within PIFS. */
#define BIT_BCN_MAX_ERR(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_BCN_MAX_ERR(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_USTIME_TSF ((u32)0x000000FF << 0) /*!<R/W 0x28 Set the microsecond time unit used by MAC TSF clock. 0x14 - 20MHz 0x28 - 40MHz 0x50 - 80MHz */
#define BIT_USTIME_TSF(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_USTIME_TSF(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P0_TSFTR_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_P0_TSF_TIMER_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x1 low 32bits of port0's tsft */
#define BIT_P0_TSF_TIMER_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_P0_TSF_TIMER_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P0_TSFTR_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_P0_TSF_TIMER_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 high 32bits of port0's tsft */
#define BIT_P0_TSF_TIMER_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_P0_TSF_TIMER_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P1_TSFTR_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_P1_TSF_TIMER_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x1 low 32bits of port1's tsft */
#define BIT_P1_TSF_TIMER_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_P1_TSF_TIMER_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P1_TSFTR_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_P1_TSF_TIMER_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x1 high 32bits of port1's tsft */
#define BIT_P1_TSF_TIMER_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_P1_TSF_TIMER_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_BCN_ERLY_CTW_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_BCNIVLCUNT_P0 ((u32)0x0000007F << 24) /*!<R 0x7f Be used in multiple BCNIVL early INT. When this counter =1, multiple BCNIVL early INT will be triggered. */
#define BIT_BCNIVLCUNT_P0(x) ((u32)(((x) & 0x0000007F) << 24))
#define BIT_GET_BCNIVLCUNT_P0(x) ((u32)(((x >> 24) & 0x0000007F)))
#define BIT_MASK_CTWND_P0 ((u32)0x000000FF << 16) /*!<R/W 0x0a CTWindow width in units of TU. PORT0 */
#define BIT_CTWND_P0(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_CTWND_P0(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_ATIMWND1 ((u32)0x0000FFFF << 0) /*!<R/W 0x02 ATIM window width of VAP1 in units of TU. */
#define BIT_ATIMWND1(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_ATIMWND1(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_BCNDROP_TO_MISC_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSF_TIMER_0_SEL ((u32)0x00000003 << 30) /*!<R/W 0x0 genarete tsfime_int[0] 00: PORT0's tsft 01: PORT1's tsft 10:PORT2's tsft 11: FREERUN CUT */
#define BIT_TSF_TIMER_0_SEL(x) ((u32)(((x) & 0x00000003) << 30))
#define BIT_GET_TSF_TIMER_0_SEL(x) ((u32)(((x >> 30) & 0x00000003)))
#define BIT_MASK_TSF_TIMER_1_SEL ((u32)0x00000003 << 28) /*!<R/W 0x0 genarete tsfime_int[1] 00: PORT0's tsft 01: PORT1's tsft 10:PORT2's tsft 11: FREERUN CUT */
#define BIT_TSF_TIMER_1_SEL(x) ((u32)(((x) & 0x00000003) << 28))
#define BIT_GET_TSF_TIMER_1_SEL(x) ((u32)(((x >> 28) & 0x00000003)))
#define BIT_MASK_TSF_TIMER_2_SEL ((u32)0x00000003 << 26) /*!<R/W 0x0 genarete tsfime_int[2] 00: PORT0's tsft 01: PORT1's tsft 10:PORT2's tsft 11: FREERUN CUT */
#define BIT_TSF_TIMER_2_SEL(x) ((u32)(((x) & 0x00000003) << 26))
#define BIT_GET_TSF_TIMER_2_SEL(x) ((u32)(((x >> 26) & 0x00000003)))
#define BIT_MASK_TXCMD_TIMEOUT_PERIOD ((u32)0x000000FF << 16) /*!<R/W 0xFF When 40M/80M TX CMD ready and secondary_CCA_20/secondary_CCA_40 set for this period, then the TX CMD will be cleared. TU: 1us */
#define BIT_TXCMD_TIMEOUT_PERIOD(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_TXCMD_TIMEOUT_PERIOD(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_HGQ_TIMEOUT_PERIOD ((u32)0x000000FF << 8) /*!<R/W 0x10 When hgq empty for this period, close atim window. And this will block hgq dma for pcie, unless 0x524[12] set enable. TU: 32us */
#define BIT_HGQ_TIMEOUT_PERIOD(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_HGQ_TIMEOUT_PERIOD(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_BEACON_DROP_EN ((u32)0x00000001 << 7) /*!<R/W 0 enable beacon drop function */
#define BIT_MASK_BEACON_DROP_IVL ((u32)0x0000007F << 0) /*!<R/W 0 indicate the timeout of beacon drop */
#define BIT_BEACON_DROP_IVL(x) ((u32)(((x) & 0x0000007F) << 0))
#define BIT_GET_BEACON_DROP_IVL(x) ((u32)(((x >> 0) & 0x0000007F)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P2_TSFTR_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_P2_TSF_TIMER_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x1 low 32bits of port2's tsft */
#define BIT_P2_TSF_TIMER_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_P2_TSF_TIMER_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P2_TSFTR_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_P2_TSF_TIMER_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x1 high 32bits of port2's tsft */
#define BIT_P2_TSF_TIMER_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_P2_TSF_TIMER_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TSF_TIMER1
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSTTIMER1 ((u32)0x07FFFFFF << 5) /*!<R/W 0x00 When the lower 4 bytes of TSFTR matches the content of this register, the FW tsftime_int[0] interrupt is issued. */
#define BIT_TSTTIMER1(x) ((u32)(((x) & 0x07FFFFFF) << 5))
#define BIT_GET_TSTTIMER1(x) ((u32)(((x >> 5) & 0x07FFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TSF_TIMER2
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSTTIMER2 ((u32)0x07FFFFFF << 5) /*!<R/W 0x00 When the lower 4 bytes of TSFTR matches the content of this register, the FW tsftime_int[1] interrupt is issued. */
#define BIT_TSTTIMER2(x) ((u32)(((x) & 0x07FFFFFF) << 5))
#define BIT_GET_TSTTIMER2(x) ((u32)(((x >> 5) & 0x07FFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TSF_TIMER3
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSTTIMER3 ((u32)0x07FFFFFF << 5) /*!<R/W 0x00 When the lower 4 bytes of TSFTR matches the content of this register, the FW tsftime_int[2] interrupt is issued. */
#define BIT_TSTTIMER3(x) ((u32)(((x) & 0x07FFFFFF) << 5))
#define BIT_GET_TSTTIMER3(x) ((u32)(((x >> 5) & 0x07FFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_BCN_IFS_TBTT_CTN
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PRE_BCN_DMATIM ((u32)0x000000FF << 24) /*!<R/W 0x06 when 0x552[3] is set, hw will enable pre_download beacon. this register Indicates the time before TBTT to perform beacon queue DMA. */
#define BIT_PRE_BCN_DMATIM(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_PRE_BCN_DMATIM(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_FORCE_BCN_IFS ((u32)0x000000FF << 16) /*!<R/W 0x20 when 0x528 Bit18 set to 0 and TBTT contention area end,force tx beacon use this IFS */
#define BIT_FORCE_BCN_IFS(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_FORCE_BCN_IFS(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_TBTT_CTN_AREA ((u32)0x000000FF << 0) /*!<R/W 0x60 TBTT contention area,Time unit is 32us,for PORT 0 / 1 / 2 */
#define BIT_TBTT_CTN_AREA(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_TBTT_CTN_AREA(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TXOP_CTRL_PRE_BKF
* @brief
* @{
*****************************************************************************/
#define BIT_NOPKT_END_RTSMF ((u32)0x00000001 << 31) /*!<R/W 0x1 1: enable exit rts hold mode when there is no corresponding ac pkt to tx */
#define BIT_MASK_PRETX_US ((u32)0x0000000F << 27) /*!<R/W 0x6 For wep/tkip, enable security engine earlier than mactx by this amount of time. Unit is microsecond (us) */
#define BIT_PRETX_US(x) ((u32)(((x) & 0x0000000F) << 27))
#define BIT_GET_PRETX_US(x) ((u32)(((x >> 27) & 0x0000000F)))
#define BIT_DTIM_BYPASS ((u32)0x00000001 << 26) /*!<R/W 0x0 1: dtim counter will keep 0 */
#define BIT_RTS_NAV_TXOP ((u32)0x00000001 << 25) /*!<R/W 0x0 enable RTS NAV protect all txop */
#define BIT_NOT_CROSS_TXOP ((u32)0x00000001 << 24) /*!<R/W 0x0 1:tx pkt cross tbtt is prohibited 0:tx pkt cross tbtt is permitted */
#define BIT_MASK_PRE_BKF_TIME ((u32)0x000000FF << 16) /*!<R/W 0x0f when bkf timer count down this value, sel queue and gen txcmd will start */
#define BIT_PRE_BKF_TIME(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_PRE_BKF_TIME(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_NAV_BLK_HGQ ((u32)0x00000001 << 15) /*!<R/W 0x0 rxnav block HGQ */
#define BIT_NAV_BLK_MGQ ((u32)0x00000001 << 14) /*!<R/W 0x0 rxnav block MGQ */
#define BIT_MASK_TXOP_MIN ((u32)0x00003FFF << 0) /*!<R/W 0x0f if txop counter is more than this value, than tx pkt is considered not cross tbtt */
#define BIT_TXOP_MIN(x) ((u32)(((x) & 0x00003FFF) << 0))
#define BIT_GET_TXOP_MIN(x) ((u32)(((x >> 0) & 0x00003FFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_FREERUN_CNT_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_FREERUN_CNT_TIMER_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x1 LOW 32bits of freerun cnt */
#define BIT_FREERUN_CNT_TIMER_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_FREERUN_CNT_TIMER_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_FREERUN_CNT_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_FREERUN_CNT_TIMER_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x1 high 32bits of freerun cnt */
#define BIT_FREERUN_CNT_TIMER_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_FREERUN_CNT_TIMER_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_BCN_ERLY_CTW_CTRL_P1_2
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_BCNIVLCUNT_P2 ((u32)0x0000007F << 24) /*!<R 0x7f Be used in multiple BCNIVL early INT. When this counter =1, multiple BCNIVL early INT will be triggered. */
#define BIT_BCNIVLCUNT_P2(x) ((u32)(((x) & 0x0000007F) << 24))
#define BIT_GET_BCNIVLCUNT_P2(x) ((u32)(((x >> 24) & 0x0000007F)))
#define BIT_MASK_CTWND_P2 ((u32)0x000000FF << 16) /*!<R/W 0x0a CTWindow width in units of TU. PORT2 */
#define BIT_CTWND_P2(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_CTWND_P2(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_BCNIVLCUNT_P1 ((u32)0x0000007F << 8) /*!<R 0x7f Be used in multiple BCNIVL early INT. When this counter =1, multiple BCNIVL early INT will be triggered. */
#define BIT_BCNIVLCUNT_P1(x) ((u32)(((x) & 0x0000007F) << 8))
#define BIT_GET_BCNIVLCUNT_P1(x) ((u32)(((x >> 8) & 0x0000007F)))
#define BIT_MASK_CTWND_P1 ((u32)0x000000FF << 0) /*!<R/W 0x0a CTWindow width in units of TU. PORT1 */
#define BIT_CTWND_P1(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_CTWND_P1(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_ATIMWND2_5
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_ATIMWND5 ((u32)0x000000FF << 24) /*!<R/W 0x02 ATIM window width of VAP5 in units of TU. */
#define BIT_ATIMWND5(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_ATIMWND5(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_ATIMWND4 ((u32)0x000000FF << 16) /*!<R/W 0x02 ATIM window width of VAP4 in units of TU. */
#define BIT_ATIMWND4(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_ATIMWND4(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_ATIMWND3 ((u32)0x000000FF << 8) /*!<R/W 0x02 ATIM window width of VAP3 in units of TU. */
#define BIT_ATIMWND3(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_ATIMWND3(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_ATIMWND2 ((u32)0x000000FF << 0) /*!<R/W 0x02 ATIM window width of VAP2 in units of TU. */
#define BIT_ATIMWND2(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_ATIMWND2(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_ATIMWND6_7_URGENT_NOLIMTHGQ
* @brief
* @{
*****************************************************************************/
#define BIT_HIQ_NO_LMT_EN_VAP7 ((u32)0x00000001 << 31) /*!<R/W 0x0 1: Packet in Hi Queue Tx immediately (No constraint for ATIM Period) 0: Disable */
#define BIT_HIQ_NO_LMT_EN_VAP6 ((u32)0x00000001 << 30) /*!<R/W 0x0 1: Packet in Hi Queue Tx immediately (No constraint for ATIM Period) 0: Disable */
#define BIT_HIQ_NO_LMT_EN_VAP5 ((u32)0x00000001 << 29) /*!<R/W 0x0 1: Packet in Hi Queue Tx immediately (No constraint for ATIM Period) 0: Disable */
#define BIT_HIQ_NO_LMT_EN_VAP4 ((u32)0x00000001 << 28) /*!<R/W 0x0 1: Packet in Hi Queue Tx immediately (No constraint for ATIM Period) 0: Disable */
#define BIT_HIQ_NO_LMT_EN_VAP3 ((u32)0x00000001 << 27) /*!<R/W 0x0 1: Packet in Hi Queue Tx immediately (No constraint for ATIM Period) 0: Disable */
#define BIT_HIQ_NO_LMT_EN_VAP2 ((u32)0x00000001 << 26) /*!<R/W 0x0 1: Packet in Hi Queue Tx immediately (No constraint for ATIM Period) 0: Disable */
#define BIT_HIQ_NO_LMT_EN_VAP1 ((u32)0x00000001 << 25) /*!<R/W 0x0 1: Packet in Hi Queue Tx immediately (No constraint for ATIM Period) 0: Disable */
#define BIT_HIQ_NO_LMT_EN_ROOT ((u32)0x00000001 << 24) /*!<R/W 0x0 1: Packet in Hi Queue Tx immediately (No constraint for ATIM Period) 0: Disable */
#define BIT_MASK_ATIM_URGENT ((u32)0x000000FF << 16) /*!<R/W 0x01 Indicates the time before ATIM Window end . When BSSID[n] (n=0~7) has HIQ packet to send, HW only DMA BSSID[n]’s HIQ packet in this interval. (unit : TU) */
#define BIT_ATIM_URGENT(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_ATIM_URGENT(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_ATIMWND7 ((u32)0x000000FF << 8) /*!<R/W 0x02 ATIM window width of VAP7 in units of TU. */
#define BIT_ATIMWND7(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_ATIMWND7(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_ATIMWND6 ((u32)0x000000FF << 0) /*!<R/W 0x02 ATIM window width of VAP6 in units of TU. */
#define BIT_ATIMWND6(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_ATIMWND6(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_DTIM_COUNT_0_3
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_DTIM_COUNT_VAP3 ((u32)0x000000FF << 24) /*!<R/W 0x0 */
#define BIT_DTIM_COUNT_VAP3(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_DTIM_COUNT_VAP3(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_DTIM_COUNT_VAP2 ((u32)0x000000FF << 16) /*!<R/W 0x0 */
#define BIT_DTIM_COUNT_VAP2(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_DTIM_COUNT_VAP2(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_DTIM_COUNT_VAP1 ((u32)0x000000FF << 8) /*!<R/W 0x0 */
#define BIT_DTIM_COUNT_VAP1(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_DTIM_COUNT_VAP1(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_DTIM_COUNT_ROOT ((u32)0x000000FF << 0) /*!<R/W 0x0 */
#define BIT_DTIM_COUNT_ROOT(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_DTIM_COUNT_ROOT(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_DTIM_COUNT_4_7
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_DTIM_COUNT_VAP7 ((u32)0x000000FF << 24) /*!<R/W 0x0 */
#define BIT_DTIM_COUNT_VAP7(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_DTIM_COUNT_VAP7(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_DTIM_COUNT_VAP6 ((u32)0x000000FF << 16) /*!<R/W 0x0 */
#define BIT_DTIM_COUNT_VAP6(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_DTIM_COUNT_VAP6(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_DTIM_COUNT_VAP5 ((u32)0x000000FF << 8) /*!<R/W 0x0 */
#define BIT_DTIM_COUNT_VAP5(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_DTIM_COUNT_VAP5(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_DTIM_COUNT_VAP4 ((u32)0x000000FF << 0) /*!<R/W 0x0 */
#define BIT_DTIM_COUNT_VAP4(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_DTIM_COUNT_VAP4(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_DISATIM_BCNERLY_TBTTHOLD_BCNCS
* @brief
* @{
*****************************************************************************/
#define BIT_TSFTR3_SYNC_EN ((u32)0x00000001 << 31) /*!<W 0x0 write this bit, PORT3 will sync to PORT2 with TSFTF_SYN_OFFSET */
#define BIT_TSFTR2_SYNC_EN ((u32)0x00000001 << 29) /*!<W 0x0 write this bit, PORT2 will sync to PORT3 with TSFTF_SYN_OFFSET */
#define BIT_TSFTR2_RST ((u32)0x00000001 << 28) /*!<W 0x0 write this bit , bcn2 tsft will auto reset */
#define BIT_MASK_MULTI_BCN_CS ((u32)0x0000000F << 24) /*!<RO 0x0 indicate which port is tx beacon */
#define BIT_MULTI_BCN_CS(x) ((u32)(((x) & 0x0000000F) << 24))
#define BIT_GET_MULTI_BCN_CS(x) ((u32)(((x >> 24) & 0x0000000F)))
#define BIT_DIS_BCN_P2 ((u32)0x00000001 << 23) /*!<R/W 0x0 set 1 to mask the beacon early interrupt of port2 */
#define BIT_DIS_BCN_P1 ((u32)0x00000001 << 22) /*!<R/W 0x0 set 1 to mask the beacon early interrupt of port1 */
#define BIT_DIS_BCN_P0 ((u32)0x00000001 << 21) /*!<R/W 0x0 set 1 to mask the beacon early interrupt of port0 */
#define BIT_MASK_TBTT_HOLD_PREDICT_P1 ((u32)0x0000001F << 16) /*!<R/W 0x2 the predicted hold time after tbtt for beacon tx of port1, unit is 32us */
#define BIT_TBTT_HOLD_PREDICT_P1(x) ((u32)(((x) & 0x0000001F) << 16))
#define BIT_GET_TBTT_HOLD_PREDICT_P1(x) ((u32)(((x >> 16) & 0x0000001F)))
#define BIT_MASK_EARLY_128US_P1 ((u32)0x00000007 << 11) /*!<R/W 0x0 the BCN EARLY interrupt find tune with unit 128us. The Total Early time of BCN early interrupt is the 0x558 x 1ms + EARLY_128us x 128us. For port 1 */
#define BIT_EARLY_128US_P1(x) ((u32)(((x) & 0x00000007) << 11))
#define BIT_GET_EARLY_128US_P1(x) ((u32)(((x >> 11) & 0x00000007)))
#define BIT_MASK_EARLY_128US_P0 ((u32)0x00000007 << 8) /*!<R/W 0x0 the BCN EARLY interrupt find tune with unit 128us. The Total Early time of BCN early interrupt is the 0x558 x 1ms + EARLY_128us x 128us. */
#define BIT_EARLY_128US_P0(x) ((u32)(((x) & 0x00000007) << 8))
#define BIT_GET_EARLY_128US_P0(x) ((u32)(((x >> 8) & 0x00000007)))
#define BIT_DIS_ATIM_VAP7 ((u32)0x00000001 << 7) /*!<R/W 0x0 */
#define BIT_DIS_ATIM_VAP6 ((u32)0x00000001 << 6) /*!<R/W 0x0 */
#define BIT_DIS_ATIM_VAP5 ((u32)0x00000001 << 5) /*!<R/W 0x0 */
#define BIT_DIS_ATIM_VAP4 ((u32)0x00000001 << 4) /*!<R/W 0x0 */
#define BIT_DIS_ATIM_VAP3 ((u32)0x00000001 << 3) /*!<R/W 0x0 */
#define BIT_DIS_ATIM_VAP2 ((u32)0x00000001 << 2) /*!<R/W 0x0 */
#define BIT_DIS_ATIM_VAP1 ((u32)0x00000001 << 1) /*!<R/W 0x0 */
#define BIT_DIS_ATIM_ROOT ((u32)0x00000001 << 0) /*!<R/W 0x0 */
/** @} */
/**************************************************************************//**
* @defgroup REG_FREERUN_CNT_P2POFF_DIS_TXTIME
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_P2POFF_DIS_TXTIME ((u32)0x000000FF << 24) /*!<R/W 0x0 The time of the disable TX period after the P2P RF off interrupt occur. Unit: 64us. */
#define BIT_P2POFF_DIS_TXTIME(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_P2POFF_DIS_TXTIME(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_EN_FREECNT ((u32)0x00000001 << 13) /*!<R/W 0x0 enable freerun tsft */
#define BIT_RESET_FREECNT_P ((u32)0x00000001 << 12) /*!<W 0x0 reset pulse of freerun tsft */
/** @} */
/**************************************************************************//**
* @defgroup REG_PTA_TRXBCN_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_PTA_RXBCN_PRI_MASK ((u32)0x00000001 << 31) /*!<R/W 0x1 */
#define BIT_PTA_RXBCN_EN ((u32)0x00000001 << 30) /*!<R/W 0x1 */
#define BIT_PTA_RXBCN_DIR ((u32)0x00000001 << 29) /*!<R/W 0x1 */
#define BIT_MASK_PTA_RXBCN_DUR ((u32)0x000001FF << 20) /*!<R/W 0x60 */
#define BIT_PTA_RXBCN_DUR(x) ((u32)(((x) & 0x000001FF) << 20))
#define BIT_GET_PTA_RXBCN_DUR(x) ((u32)(((x >> 20) & 0x000001FF)))
#define BIT_MASK_PTA_RXBCN_TIME ((u32)0x0000007F << 13) /*!<R/W 0x6 */
#define BIT_PTA_RXBCN_TIME(x) ((u32)(((x) & 0x0000007F) << 13))
#define BIT_GET_PTA_RXBCN_TIME(x) ((u32)(((x >> 13) & 0x0000007F)))
#define BIT_PTA_PRETX_EN ((u32)0x00000001 << 12) /*!<R/W 0x1 */
#define BIT_MASK_PTA_PRETX_TIME ((u32)0x00000FFF << 0) /*!<R/W 0x64 WIFI TX shall wait settle time when antenna is switched from BT to WIFI, if the BT use the same RFAFE as WIFI. Unit: 1us */
#define BIT_PTA_PRETX_TIME(x) ((u32)(((x) & 0x00000FFF) << 0))
#define BIT_GET_PTA_PRETX_TIME(x) ((u32)(((x >> 0) & 0x00000FFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P2P_NOA1_CTRL_STATE
* @brief
* @{
*****************************************************************************/
#define BIT_POWER_STATE_1 ((u32)0x00000001 << 31) /*!<RO 1: On, 0: Off. (It is including early time. ) */
#define BIT_CTWINDOW_ON_1 ((u32)0x00000001 << 30) /*!<RO Spec time and Beacon Early Time to TBTT Time. (It is including early time. ) */
#define BIT_BEACON_AREA_ON_1 ((u32)0x00000001 << 29) /*!<RO The time is from HOLD Time to BeaconTx or Timeout. (It is including early time. ) */
#define BIT_CTWIN_EARLY_DISTX_1 ((u32)0x00000001 << 28) /*!<RO ctwin_early_distx. (It is including early time. ) */
#define BIT_NOA1_OFF_PERIOD_1 ((u32)0x00000001 << 27) /*!<RO Spec time but exclude BCNDMATIM time for wake. (It is including early time. ) */
#define BIT_FORCE_DOZE1_1 ((u32)0x00000001 << 26) /*!<RO If NoA_Count == 1, this value is 1. else 0. (It is including early time. ) */
#define BIT_NOA0_OFF_PERIOD_1 ((u32)0x00000001 << 25) /*!<RO Spec time but exclude BCNDMATIM time for wake. (It is including early time. ) */
#define BIT_FORCE_DOZE0_1 ((u32)0x00000001 << 24) /*!<RO If NoA_Count == 1, this value is 1. else 0. (It is including early time. ) */
#define BIT_SPEC_POWER_STATE_1 ((u32)0x00000001 << 23) /*!<RO 1: On, 0: Off */
#define BIT_SPEC_CTWINDOW_ON_1 ((u32)0x00000001 << 22) /*!<RO The time from TBTT <-> CTWEND (with BCNDMATIM early time) */
#define BIT_SPEC_BEACON_AREA_ON_1 ((u32)0x00000001 << 21) /*!<RO The time is from TBTT to BeaconTx or Timeout */
#define BIT_SPEC_CTWIN_EARLY_DISTX_1 ((u32)0x00000001 << 20) /*!<RO ctwin_early_distx */
#define BIT_SPEC_NOA1_OFF_PERIOD_1 ((u32)0x00000001 << 19) /*!<RO Spec time */
#define BIT_SPEC_FORCE_DOZE1_1 ((u32)0x00000001 << 18) /*!<RO If NoA_Count == 1, this value is 1. else 0. */
#define BIT_SPEC_NOA0_OFF_PERIOD_1 ((u32)0x00000001 << 17) /*!<RO Spec time */
#define BIT_SPEC_FORCE_DOZE0_1 ((u32)0x00000001 << 16) /*!<RO If NoA_Count == 1, this value is 1. else 0. */
#define BIT_P2P_NOA1_ALLSTASLEEP ((u32)0x00000001 << 7) /*!<R/W 0x0 It indicates that the state from CTWindow End to BcnEarly 1: Sleep 0: Wake */
#define BIT_P2P_NOA1_DISTX_EN ((u32)0x00000001 << 6) /*!<R/W 0x0 1: Hw will disable TX in P2P_off period 0: Do Nothing */
#define BIT_P2P_NOA1_PWR_MGT_EN ((u32)0x00000001 << 5) /*!<R/W 0x0 A main switch for P2P PowerSaving 1: Enable 0: Disable */
#define BIT_MASK_P2P_NOA1_EN ((u32)0x00000003 << 3) /*!<R/W 0x0 The condition that noa_unit0, [1]-NOA1, [0]-NOA0 1: Enable 0: Disable */
#define BIT_P2P_NOA1_EN(x) ((u32)(((x) & 0x00000003) << 3))
#define BIT_GET_P2P_NOA1_EN(x) ((u32)(((x >> 3) & 0x00000003)))
#define BIT_MASK_P2P_NOA1_UNIT_SEL ((u32)0x00000003 << 1) /*!<R/W 0x0 The selector for the source of noa unit0. 0 for port 0, 1 for port 1 */
#define BIT_P2P_NOA1_UNIT_SEL(x) ((u32)(((x) & 0x00000003) << 1))
#define BIT_GET_P2P_NOA1_UNIT_SEL(x) ((u32)(((x >> 1) & 0x00000003)))
#define BIT_EN_TSFBIT32_RST_NOA1 ((u32)0x00000001 << 0) /*!<R/W 0x1 */
/** @} */
/**************************************************************************//**
* @defgroup REG_ACMHWCTRL
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_AVGPERIOD ((u32)0x0000FFFF << 16) /*!<R/W 0x00 In unit of 32 us. It is the value Dot11EDCAAveragingPeriod in SPEC. HW will recalculate used_time every this period. Max is 2 sec */
#define BIT_AVGPERIOD(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_AVGPERIOD(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_BE_ACM_RESET_USED_TIME ((u32)0x00000001 << 10) /*!<W 0x0 When HwEn is enabled, software set this bit to inform hardware to reset used_time to 0. Read this bit is always 0. */
#define BIT_VI_ACM_RESET_USED_TIME ((u32)0x00000001 << 9) /*!<W 0x0 When HwEn is enabled, software set this bit to inform hardware to reset used_time to 0. Read this bit is always 0. */
#define BIT_VO_ACM_RESET_USED_TIME ((u32)0x00000001 << 8) /*!<W 0x0 When HwEn is enabled, software set this bit to inform hardware to reset used_time to 0. Read this bit is always 0. */
#define BIT_BEQ_ACM_STATUS ((u32)0x00000001 << 7) /*!<R 0x0 This bit indicates if the used_time >= admitted_time of AC BE when HW ACM. 0: BEQ ACM Not Exceed. 1: BEQ ACM Exceed. Default: 0h */
#define BIT_VIQ_ACM_STATUS ((u32)0x00000001 << 6) /*!<R 0x0 This bit indicates if the used_time >= admitted_time of AC VI when HW ACM. 0: VIQ ACM Not Exceed. 1: VIQ ACM Exceed. Default: 0h */
#define BIT_VOQ_ACM_STATUS ((u32)0x00000001 << 5) /*!<R 0x0 This bit indicates if the used_time >= admitted_time of AC VO when HW ACM. 0: VOQ ACM Not Exceed. 1: VOQ ACM Exceed. Default: 0h */
#define BIT_BEQ_ACM_EN ((u32)0x00000001 << 3) /*!<R/W 0x0 Set this bit to enable ACM of BE queue. 1: Enable 0: Disable Default: 0h */
#define BIT_VIQ_ACM_EN ((u32)0x00000001 << 2) /*!<R/W 0x0 Set this bit to enable ACM of VI queue. 1: Enable 0: Disable Default: 0h. */
#define BIT_VOQ_ACM_EN ((u32)0x00000001 << 1) /*!<R/W 0x0 Set this bit to enable ACM of VO queue. 1: Enable 0: Disable Default: 0h. */
#define BIT_ACMHWEN ((u32)0x00000001 << 0) /*!<R/W 0x0 Set this bit to enable hardware to take control of ACM. 1: Hardware Control 0: Software Control Default: 0h. */
/** @} */
/**************************************************************************//**
* @defgroup REG_VO_VI_ADMTIME
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_VI_ADMITTED_TIME ((u32)0x0000FFFF << 16) /*!<R/W 0x00 Admitted_time of VI queue. In unit of 32 microsecond. Calculated and set by driver. */
#define BIT_VI_ADMITTED_TIME(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_VI_ADMITTED_TIME(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_VO_ADMITTED_TIME ((u32)0x0000FFFF << 0) /*!<R/W 0x00 Admitted_time of VO queue. In unit of 32 microsecond. Calculated and set by driver. */
#define BIT_VO_ADMITTED_TIME(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_VO_ADMITTED_TIME(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_BE_ADMTIME
* @brief
* @{
*****************************************************************************/
#define BIT_DIS_NDPA_NAV_CHK ((u32)0x00000001 << 24) /*!<R/W 0x0 1-->tx NDPA/NDP can cross TBTT,0-->tx NDPA/NDP can't cross TBTT */
#define BIT_MASK_MHDR_NAV_OFFSET ((u32)0x000000FF << 16) /*!<R/W 0x0 NDPA NAV compensation value */
#define BIT_MHDR_NAV_OFFSET(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_MHDR_NAV_OFFSET(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_BE_ADMITTED_TIME ((u32)0x0000FFFF << 0) /*!<R/W 0x00 Admitted_time of BE queue. In unit of 32 microsecond. Calculated and set by driver. */
#define BIT_BE_ADMITTED_TIME(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_BE_ADMITTED_TIME(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NOACMD_SEL_EDCA_RANDOM_GEN
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_NOA_SEL ((u32)0x00000007 << 28) /*!<R/W 0x0 TX NoA parameter select (noa_unit0~2,parameter0~5) 0: NoA0 , 1:NoA1, 2:NoA2, 3:NoA3, 4:NoA4, default: NoA5 To control the register setting for which NOA. (register 0x05E0[103:0]) */
#define BIT_NOA_SEL(x) ((u32)(((x) & 0x00000007) << 28))
#define BIT_GET_NOA_SEL(x) ((u32)(((x >> 28) & 0x00000007)))
#define BIT_MASK_TXCMD_SEG_SEL ((u32)0x0000000F << 24) /*!<R/W 0x1 [HW Debug Info]To select which one TXCMD Segment. For example, 可以在0x5CF[3:0]填 0 or 6 讀取 0x5F8[7:0] : Tx Agg 0x5F9[7:0] : Tx Rate */
#define BIT_TXCMD_SEG_SEL(x) ((u32)(((x) & 0x0000000F) << 24))
#define BIT_GET_TXCMD_SEG_SEL(x) ((u32)(((x >> 24) & 0x0000000F)))
#define BIT_MASK_RANDOM_GEN ((u32)0x00FFFFFF << 0) /*!<R/W 0xe21051 Random number generator polynomial */
#define BIT_RANDOM_GEN(x) ((u32)(((x) & 0x00FFFFFF) << 0))
#define BIT_GET_RANDOM_GEN(x) ((u32)(((x >> 0) & 0x00FFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TXPAUSE_CFG
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSF_DIFF_P1P2 ((u32)0x0000FFFF << 16) /*!<R 0x0 the difference of beacon count down value between port0 and port1, unit is TU */
#define BIT_TSF_DIFF_P1P2(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_TSF_DIFF_P1P2(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_TXPAUSE1 ((u32)0x000000FF << 8) /*!<R/W 0x0 same as 0x522[7:0], allow FW/DR to control pause jointly */
#define BIT_TXPAUSE1(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_TXPAUSE1(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_DRVERLYITV_P2 ((u32)0x000000FF << 0) /*!<R/W 0x05 Time to send interrupt to notify driver to change beacon content. Time unit is TU. It is used to wake up early at DriverEarlyTime. For port 2 */
#define BIT_DRVERLYITV_P2(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_DRVERLYITV_P2(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NAN_SETTING
* @brief
* @{
*****************************************************************************/
#define BIT_EN_MULTI_BCN ((u32)0x00000001 << 31) /*!<R/W 0x1 enable multiple beacons of port0~port2 */
#define BIT_ENP2P_DW_AREA ((u32)0x00000001 << 30) /*!<R/W 0x0 DW condition for P2P,for port2 */
#define BIT_MASK_TBTT_PROHIBIT_HOLD_P2 ((u32)0x00000FFF << 18) /*!<R/W 0x100 the predicted hold time after tbtt for beacon tx of port2, unit is 32us */
#define BIT_TBTT_PROHIBIT_HOLD_P2(x) ((u32)(((x) & 0x00000FFF) << 18))
#define BIT_GET_TBTT_PROHIBIT_HOLD_P2(x) ((u32)(((x >> 18) & 0x00000FFF)))
#define BIT_MASK_BCN_PORT_PRI ((u32)0x00000003 << 16) /*!<R/W 0x1 the priority of port0 and port2. 10: port2 has higher priority than port0; 01:port0 has higher priority than port2. 00: port0 and port2 have the same priority */
#define BIT_BCN_PORT_PRI(x) ((u32)(((x) & 0x00000003) << 16))
#define BIT_GET_BCN_PORT_PRI(x) ((u32)(((x >> 16) & 0x00000003)))
#define BIT_MASK_DRVERLYITV_P1 ((u32)0x000000FF << 8) /*!<R/W 0x05 Time to send interrupt to notify driver to change beacon content. Time unit is TU. It is used to wake up early at DriverEarlyTime. For port1 */
#define BIT_DRVERLYITV_P1(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_DRVERLYITV_P1(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_P2_RXBCN_RPT_ENABLE ((u32)0x00000001 << 7) /*!<R/W 0x0 When this bit asserted, RXBCNOK report is issued */
#define BIT_P2_DIS_RX_BSSID_FIT ((u32)0x00000001 << 6) /*!<R/W 0x0 0:HW will handle rx_beacon 1:HW will ignore rx_beacon_pk */
#define BIT_P2_TXBCN_RPT_ENABLE ((u32)0x00000001 << 5) /*!<R/W 0x0 When this bit asserted, then TXBCN ERROR report is issued */
#define BIT_P2_DIS_TSF_UDT ((u32)0x00000001 << 4) /*!<R/W 0x1 When set, disable clint 2 TSF update when beacon frames or probe response frames are received. */
#define BIT_P2_EN_BCN_FUNCTION ((u32)0x00000001 << 3) /*!<R/W 0x0 When this bit is set, TSF and other beacon related functions are then enabled. */
#define BIT_P2_EN_BCN_RPT ((u32)0x00000001 << 2) /*!<R/W 0x1 When this bit asserted, txbcnok_int and txbcnerr_int will valid. */
#define BIT_P2_ENP2P_CTWINDOW ((u32)0x00000001 << 1) /*!<R/W 0x0 1: Enable P2P CTN WINDOWS function. 0: Disable P2P CTN WINDOWS function. */
#define BIT_P2_ENP2P_BCNQ_AREA ((u32)0x00000001 << 0) /*!<R/W 0x0 1: Enable P2P BCN area on function. 0 : Disable P2P BCN area on function. */
/** @} */
/**************************************************************************//**
* @defgroup REG_BCN_SPACE_PORT1_2
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_BCN_SPACE4 ((u32)0x0000FFFF << 16) /*!<R/W 0x200 sync beacon space of port2 */
#define BIT_BCN_SPACE4(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_BCN_SPACE4(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_BCN_SPACE3 ((u32)0x0000FFFF << 0) /*!<R/W 0x64 sync beacon space of port1 */
#define BIT_BCN_SPACE3(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_BCN_SPACE3(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NAN_SETTING_1
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_SYNCBCN_RXNUM ((u32)0x0000001F << 27) /*!<R/W 0x0 if DW is permitted to end early, the number of rx sync beacons is defined in this register */
#define BIT_SYNCBCN_RXNUM(x) ((u32)(((x) & 0x0000001F) << 27))
#define BIT_GET_SYNCBCN_RXNUM(x) ((u32)(((x >> 27) & 0x0000001F)))
#define BIT_DW_END_EARLY ((u32)0x00000001 << 26) /*!<R/W 0x0 when set, the DW window end earlier than spec definition. When sync bcn and SDF had tx, and rx enough sync bcns defined by 0x5DC[31:27]. DW can early end */
#define BIT_MASK_NAN_ROLE ((u32)0x00000003 << 24) /*!<R/W 0x0 the role of NAN device, including master, no-master sync, and no-master no-sync. */
#define BIT_NAN_ROLE(x) ((u32)(((x) & 0x00000003) << 24))
#define BIT_GET_NAN_ROLE(x) ((u32)(((x >> 24) & 0x00000003)))
#define BIT_MASK_MSLOT_EVTQ ((u32)0x000000FF << 16) /*!<R/W 0x0 evtq packet will tx in the m-th SLOT of the m-th DWs */
#define BIT_MSLOT_EVTQ(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_MSLOT_EVTQ(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_MDW_EVTQ ((u32)0x000000FF << 8) /*!<R/W 0x0 evtq packet will tx in the m-th SLOT of the m-th DWs */
#define BIT_MDW_EVTQ(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_MDW_EVTQ(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_EVTQ_EARLY ((u32)0x00000007 << 5) /*!<R/W 0x1 the early time of evtq tx window. unit is TU */
#define BIT_EVTQ_EARLY(x) ((u32)(((x) & 0x00000007) << 5))
#define BIT_GET_EVTQ_EARLY(x) ((u32)(((x >> 5) & 0x00000007)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NOA_PARAM_V1
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_NOA_DURATION_V1 ((u32)0xFFFFFFFF << 0) /*!<R/W 0x00001000 The maximum duration in units of microseconds that the P2P Group Owner shall remain absent following the start of a Notice of Absence interval. */
#define BIT_NOA_DURATION_V1(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_NOA_DURATION_V1(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NOA_PARAM_V2
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_NOA_INTERVAL_V2 ((u32)0xFFFFFFFF << 0) /*!<R/W 0x00003000 The length of the Notice of Absence interval in units of microseconds. */
#define BIT_NOA_INTERVAL_V2(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_NOA_INTERVAL_V2(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NOA_PARAM_V3
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_NOA_START_TIME_V3 ((u32)0xFFFFFFFF << 0) /*!<R/W 0x00001000 The start time for the schedule expressed in terms of the lower 4 bytes of the TSF timer. */
#define BIT_NOA_START_TIME_V3(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_NOA_START_TIME_V3(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_NOA_PARAM_4
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_NOA_COUNT_V4 ((u32)0x000000FF << 0) /*!<R/W 0x03 indicates the number of absence intervals */
#define BIT_NOA_COUNT_V4(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_NOA_COUNT_V4(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_SCHEDULER_DBG
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_DBG_SCHEDULER ((u32)0xFFFFFFFF << 0) /*!<R 0x0 */
#define BIT_DBG_SCHEDULER(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_DBG_SCHEDULER(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_SCH_TXCMD
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_SCH_TXCMD ((u32)0xFFFFFFFF << 0) /*!<R 0x0 Scheduler TXCMD Content */
#define BIT_SCH_TXCMD(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_SCH_TXCMD(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PAGE5_DUMMY
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_DUMMY ((u32)0xFFFFFFFF << 0) /*!<R/W 0xffff0000 Dummy */
#define BIT_DUMMY(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_DUMMY(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_A_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_A_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF (that select by reg 0x1520 [25:24]) matches the content of this register, the PS_TIMER_A_INT interrupt is issued */
#define BIT_PS_TIMER_A_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_A_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_A_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_A_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF (that select by reg 0x1520 [25:24]) matches the content of this register, the PS_TIMER_A_INT interrupt is issued */
#define BIT_PS_TIMER_A_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_A_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_B_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_B_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF (that select by reg 0x1520 [29:28]) matches the content of this register, the PS_TIMER_B_INT interrupt is issued */
#define BIT_PS_TIMER_B_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_B_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_B_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_B_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF(that select by reg 0x1520 [29:28]) matches the content of this register, the PS_TIMER_B_INT interrupt is issued */
#define BIT_PS_TIMER_B_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_B_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_C_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_C_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF(that select by reg 0x1520 [21:20]) matches the content of this register, the PS_TIMER_C_INT interrupt is issued */
#define BIT_PS_TIMER_C_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_C_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_C_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_C_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF(that select by reg 0x1520 [21:20]) matches the content of this register, the PS_TIMER_C_INT interrupt is issued */
#define BIT_PS_TIMER_C_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_C_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_CPUMGQ_PARAMETER
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_E_EARLY ((u32)0x000000FF << 24) /*!<R/W 0x0 It is used to wake up early at PS_Timer_E_Early Time. Time unit is TU. */
#define BIT_PS_TIMER_E_EARLY(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_PS_TIMER_E_EARLY(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_CW ((u32)0x000000FF << 8) /*!<R/W 0x32 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_CW(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_CW(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_AIFS ((u32)0x000000FF << 0) /*!<R/W 0x24 Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch */
#define BIT_AIFS(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_AIFS(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_Timer_Early
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_D_EARLY ((u32)0x000000FF << 24) /*!<R/W 0x0 It is used to wake up early at PS_Timer_D_Early Time. Time unit is TU. */
#define BIT_PS_TIMER_D_EARLY(x) ((u32)(((x) & 0x000000FF) << 24))
#define BIT_GET_PS_TIMER_D_EARLY(x) ((u32)(((x >> 24) & 0x000000FF)))
#define BIT_MASK_PS_TIMER_C_EARLY ((u32)0x000000FF << 16) /*!<R/W 0x0 It is used to wake up early at PS_Timer_C_Early Time. Time unit is TU. */
#define BIT_PS_TIMER_C_EARLY(x) ((u32)(((x) & 0x000000FF) << 16))
#define BIT_GET_PS_TIMER_C_EARLY(x) ((u32)(((x >> 16) & 0x000000FF)))
#define BIT_MASK_PS_TIMER_B_EARLY ((u32)0x000000FF << 8) /*!<R/W 0x0 It is used to wake up early at PS_Timer_B_Early Time. Time unit is TU. */
#define BIT_PS_TIMER_B_EARLY(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_PS_TIMER_B_EARLY(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_PS_TIMER_A_EARLY ((u32)0x000000FF << 0) /*!<R/W 0x0 It is used to wake up early at PS_Timer_A_Early Time. Time unit is TU. */
#define BIT_PS_TIMER_A_EARLY(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_PS_TIMER_A_EARLY(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_TWT_CRTL
* @brief
* @{
*****************************************************************************/
#define BIT_PS_TIMER_A_EN ((u32)0x00000001 << 31) /*!<R/W 0x0 Enable PS_TIMER_B */
#define BIT_MASK_PS_TIMER_A_TSF_SEL ((u32)0x00000003 << 28) /*!<R/W 0x0 0 for port 0, 1 for port1, 2 for port2, 3 for freerun */
#define BIT_PS_TIMER_A_TSF_SEL(x) ((u32)(((x) & 0x00000003) << 28))
#define BIT_GET_PS_TIMER_A_TSF_SEL(x) ((u32)(((x >> 28) & 0x00000003)))
#define BIT_PS_TIMER_B_EN ((u32)0x00000001 << 27) /*!<R/W 0x0 Enable PS_TIMER_A */
#define BIT_MASK_PS_TIMER_B_TSF_SEL ((u32)0x00000003 << 24) /*!<R/W 0x0 0 for port 0, 1 for port1, 2 for port2, 3 for freerun */
#define BIT_PS_TIMER_B_TSF_SEL(x) ((u32)(((x) & 0x00000003) << 24))
#define BIT_GET_PS_TIMER_B_TSF_SEL(x) ((u32)(((x >> 24) & 0x00000003)))
#define BIT_PS_TIMER_C_EN ((u32)0x00000001 << 23) /*!<R/W 0x0 Enable PS_TIMER_C */
#define BIT_MASK_PS_TIMER_C_TSF_SEL ((u32)0x00000003 << 20) /*!<R/W 0x0 0 for port 0, 1 for port1, 2 for port2, 3 for freerun */
#define BIT_PS_TIMER_C_TSF_SEL(x) ((u32)(((x) & 0x00000003) << 20))
#define BIT_GET_PS_TIMER_C_TSF_SEL(x) ((u32)(((x >> 20) & 0x00000003)))
#define BIT_PS_TIMER_D_EN ((u32)0x00000001 << 19) /*!<R/W 0x0 Enable PS_TIMER_D */
#define BIT_MASK_PS_TIMER_D_TSF_SEL ((u32)0x00000003 << 16) /*!<R/W 0x0 0 for port 0, 1 for port1, 2 for port2, 3 for freerun */
#define BIT_PS_TIMER_D_TSF_SEL(x) ((u32)(((x) & 0x00000003) << 16))
#define BIT_GET_PS_TIMER_D_TSF_SEL(x) ((u32)(((x >> 16) & 0x00000003)))
#define BIT_PS_TIMER_E_EN ((u32)0x00000001 << 15) /*!<R/W 0x0 Enable PS_TIMER_E */
#define BIT_MASK_PS_TIMER_E_TSF_SEL ((u32)0x00000003 << 12) /*!<R/W 0x0 0 for port 0, 1 for port1, 2 for port2, 3 for freerun */
#define BIT_PS_TIMER_E_TSF_SEL(x) ((u32)(((x) & 0x00000003) << 12))
#define BIT_GET_PS_TIMER_E_TSF_SEL(x) ((u32)(((x >> 12) & 0x00000003)))
#define BIT_GET_TSFT_OFFSET_EN ((u32)0x00000001 << 1) /*!<R/W 0x0 1: Enable Enable get TSFT offset function */
#define BIT_RXBCN_TIME_PORT ((u32)0x00000001 << 0) /*!<R/W 0x0 select port for report the TSFT 0: port0 1: port1 default is port0. */
/** @} */
/**************************************************************************//**
* @defgroup REG_RX_TSFT_DIFF
* @brief
* @{
*****************************************************************************/
#define BIT_RXBCN_TIME_VLD ((u32)0x00000001 << 31) /*!<R/W1C 1: indicate [30:0] is valid. Write 1 to clear this bit */
#define BIT_RXBCN_TIME_DIFF_DIR ((u32)0x00000001 << 30) /*!<R 1: wmac_rx_tsf > TSFT 0: wmac_rx_tsf <= TSFT */
#define BIT_MASK_RXBCN_TIME_DIFF ((u32)0x3FFFFFFF << 0) /*!<R unit:1us wmac_rx_tsf - TSFT (selected by 0x1520[0]). [30] is the sign bit */
#define BIT_RXBCN_TIME_DIFF(x) ((u32)(((x) & 0x3FFFFFFF) << 0))
#define BIT_GET_RXBCN_TIME_DIFF(x) ((u32)(((x >> 0) & 0x3FFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_RXBCN_TSFT_STATISTIC
* @brief
* @{
*****************************************************************************/
#define BIT_UPD_TSFT_EARLY ((u32)0x00000001 << 31) /*!<R/W 0x1 0: don't update TSFT when the following scenarios occur: tim_no_hit, |TSFT - rxbcn.timestamp| <= BIT_RXBCN_TSFT_THRES, and r_wait_rxbcn_finish = 1 1: update TSFT */
#define BIT_MASK_RXBCN_TSFT_THRES ((u32)0x00001FFF << 16) /*!<R/W 0x0 used for LPS MAC, if |TSFT - rxbcn.timestamp| > BIT_RXBCN_TSFT_THRES, need to wait fcsok. Else, update TSFT at wmac_rxtsf_rdy (before fcsok) unit is 1us,max is 8ms */
#define BIT_RXBCN_TSFT_THRES(x) ((u32)(((x) & 0x00001FFF) << 16))
#define BIT_GET_RXBCN_TSFT_THRES(x) ((u32)(((x >> 16) & 0x00001FFF)))
#define BIT_EN_RXBCN_GT_THRES_CNT ((u32)0x00000001 << 7) /*!<R/W 0x0 enable the counter of BIT_RXBCN_GT_THRES_CNT */
#define BIT_CLR_RXBCN_GT_THRES_CNT ((u32)0x00000001 << 6) /*!<W1C 0x0 clear the BIT_RXBCN_GT_THRES_CNT to 0 */
#define BIT_MASK_RXBCN_GT_THRES_CNT ((u32)0x0000003F << 0) /*!<R 0x0 valid when BIT_EN_RXBCN_GT_THRES_CNT = 1. counter the number of beacon with the |TSFT - rxbcn.timestamp| exceed the threshold */
#define BIT_RXBCN_GT_THRES_CNT(x) ((u32)(((x) & 0x0000003F) << 0))
#define BIT_GET_RXBCN_GT_THRES_CNT(x) ((u32)(((x >> 0) & 0x0000003F)))
/** @} */
/**************************************************************************//**
* @defgroup REG_P2P_NOA2_CTRL_STATE
* @brief
* @{
*****************************************************************************/
#define BIT_POWER_STATE_2 ((u32)0x00000001 << 31) /*!<RO 1: On, 0: Off. (It is including early time. ) */
#define BIT_CTWINDOW_ON_2 ((u32)0x00000001 << 30) /*!<RO Spec time and Beacon Early Time to TBTT Time. (It is including early time. ) */
#define BIT_BEACON_AREA_ON_2 ((u32)0x00000001 << 29) /*!<RO The time is from HOLD Time to BeaconTx or Timeout. (It is including early time. ) */
#define BIT_CTWIN_EARLY_DISTX_2 ((u32)0x00000001 << 28) /*!<RO ctwin_early_distx. (It is including early time. ) */
#define BIT_NOA1_OFF_PERIOD_2 ((u32)0x00000001 << 27) /*!<RO Spec time but exclude BCNDMATIM time for wake. (It is including early time. ) */
#define BIT_FORCE_DOZE1_2 ((u32)0x00000001 << 26) /*!<RO If NoA_Count == 1, this value is 1. else 0. (It is including early time. ) */
#define BIT_NOA0_OFF_PERIOD_2 ((u32)0x00000001 << 25) /*!<RO Spec time but exclude BCNDMATIM time for wake. (It is including early time. ) */
#define BIT_FORCE_DOZE0_2 ((u32)0x00000001 << 24) /*!<RO If NoA_Count == 1, this value is 1. else 0. (It is including early time. ) */
#define BIT_SPEC_POWER_STATE_2 ((u32)0x00000001 << 23) /*!<RO 1: On, 0: Off */
#define BIT_SPEC_CTWINDOW_ON_2 ((u32)0x00000001 << 22) /*!<RO The time from TBTT <-> CTWEND (with BCNDMATIM early time) */
#define BIT_SPEC_BEACON_AREA_ON_2 ((u32)0x00000001 << 21) /*!<RO The time is from TBTT to BeaconTx or Timeout */
#define BIT_SPEC_CTWIN_EARLY_DISTX_2 ((u32)0x00000001 << 20) /*!<RO ctwin_early_distx */
#define BIT_SPEC_NOA1_OFF_PERIOD_2 ((u32)0x00000001 << 19) /*!<RO Spec time */
#define BIT_SPEC_FORCE_DOZE1_2 ((u32)0x00000001 << 18) /*!<RO If NoA_Count == 1, this value is 1. else 0. */
#define BIT_SPEC_NOA0_OFF_PERIOD_2 ((u32)0x00000001 << 17) /*!<RO Spec time */
#define BIT_SPEC_FORCE_DOZE0_2 ((u32)0x00000001 << 16) /*!<RO If NoA_Count == 1, this value is 1. else 0. */
#define BIT_P2P_NOA2_ALLSTASLEEP ((u32)0x00000001 << 7) /*!<R/W 0x0 It indicates that the state from CTWindow End to BcnEarly 1: Sleep 0: Wake */
#define BIT_P2P_NOA2_DISTX_EN ((u32)0x00000001 << 6) /*!<R/W 0x0 1: Hw will disable TX in P2P_off period 0: Do Nothing */
#define BIT_P2P_NOA2_PWR_MGT_EN ((u32)0x00000001 << 5) /*!<R/W 0x0 A main switch for P2P PowerSaving 1: Enable 0: Disable */
#define BIT_MASK_P2P_NOA2_EN ((u32)0x00000003 << 3) /*!<R/W 0x0 The condition that noa_unit0, [1]-NOA1, [0]-NOA0 1: Enable 0: Disable */
#define BIT_P2P_NOA2_EN(x) ((u32)(((x) & 0x00000003) << 3))
#define BIT_GET_P2P_NOA2_EN(x) ((u32)(((x >> 3) & 0x00000003)))
#define BIT_MASK_P2P_NOA2_UNIT_SEL ((u32)0x00000003 << 1) /*!<R/W 0x0 The selector for the source of noa unit0. 0 for port 0, 1 for port 1, 2 for port 2 */
#define BIT_P2P_NOA2_UNIT_SEL(x) ((u32)(((x) & 0x00000003) << 1))
#define BIT_GET_P2P_NOA2_UNIT_SEL(x) ((u32)(((x >> 1) & 0x00000003)))
#define BIT_EN_TSFBIT32_RST_NOA2 ((u32)0x00000001 << 0) /*!<R/W 0x1 */
/** @} */
/**************************************************************************//**
* @defgroup REG_TM_CFG
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TM_TSFT_PORT_SEL ((u32)0x00000003 << 3) /*!<R/W 0x0 selected TM timer port 0: port0; 1: port1; 2: port2; 3: freerun */
#define BIT_TM_TSFT_PORT_SEL(x) ((u32)(((x) & 0x00000003) << 3))
#define BIT_GET_TM_TSFT_PORT_SEL(x) ((u32)(((x >> 3) & 0x00000003)))
#define BIT_RXTM_EN ((u32)0x00000001 << 2) /*!<R/W 0x0 1: HW will parsing rx packet, to find TM frame */
#define BIT_RXTMREQ_EN ((u32)0x00000001 << 1) /*!<R/W 0x0 1: HW will parsing rx packet, to find TM request frame */
#define BIT_TM_FUNC_EN ((u32)0x00000001 << 0) /*!<R/W 0x0 1: Enable Timing Measurement function */
/** @} */
/**************************************************************************//**
* @defgroup REG_TM_TSFT_T1
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TM_TSFT_T1 ((u32)0xFFFFFFFF << 0) /*!<RO 0x0 Latch tsft timer of Tx TM frame, unit: 1us */
#define BIT_TM_TSFT_T1(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_TM_TSFT_T1(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TM_TSFT_T2
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TM_TSFT_T2 ((u32)0xFFFFFFFF << 0) /*!<RO 0x0 Latch tsft timer of Rx TM frame, unit: 1us */
#define BIT_TM_TSFT_T2(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_TM_TSFT_T2(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TM_TSFT_T3
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TM_TSFT_T3 ((u32)0xFFFFFFFF << 0) /*!<RO 0x0 Latch tsft timer of Tx ACK frame, unit: 1us */
#define BIT_TM_TSFT_T3(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_TM_TSFT_T3(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TM_TSFT_T4
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TM_TSFT_T4 ((u32)0xFFFFFFFF << 0) /*!<RO 0x0 Latch tsft timer of Rx ACK frame, unit: 1us */
#define BIT_TM_TSFT_T4(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_TM_TSFT_T4(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TM_TIMER_OFFSET
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TM_TX_PATH_TIME_OFFSET ((u32)0x0000FFFF << 16) /*!<R/W 0x0 Compensate the time, from PHYTXON rising edge to transmit antenna connector. unit: 1us */
#define BIT_TM_TX_PATH_TIME_OFFSET(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_TM_TX_PATH_TIME_OFFSET(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_TM_RX_PATH_TIME_OFFSET ((u32)0x0000FFFF << 0) /*!<R/W 0x0 Compensate the time, from receive antenna connector to DATAON rising edge. unit: 1us */
#define BIT_TM_RX_PATH_TIME_OFFSET(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_TM_RX_PATH_TIME_OFFSET(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_BCN_ELY_ADJ
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_BCN_ELY_ADJ ((u32)0x0000FFFF << 0) /*!<R/W 0x0 beacon early time adjust, unit is 32us */
#define BIT_BCN_ELY_ADJ(x) ((u32)(((x) & 0x0000FFFF) << 0))
#define BIT_GET_BCN_ELY_ADJ(x) ((u32)(((x >> 0) & 0x0000FFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_D_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_D_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF(that select by reg 0x1520 [16:17]) matches the content of this register, the PS_TIMER_D_INT interrupt is issued */
#define BIT_PS_TIMER_D_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_D_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_D_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_D_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF(that select by reg 0x1520 [16:17]) matches the content of this register, the PS_TIMER_D_INT interrupt is issued */
#define BIT_PS_TIMER_D_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_D_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_E_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_E_L ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF (that select by reg 0x1520 [13:12]) matches the content of this register, the PS_TIMER_E_INT interrupt is issued */
#define BIT_PS_TIMER_E_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_E_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_PS_TIMER_E_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_PS_TIMER_E_H ((u32)0xFFFFFFFF << 0) /*!<R/W 0x0 When the TSF (that select by reg 0x1520 [13:12]) matches the content of this register, the PS_TIMER_E_INT interrupt is issued */
#define BIT_PS_TIMER_E_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_PS_TIMER_E_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_AX_MUEDCA_VO_PARAM
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_MUEDCA_VO_PARAM_TIMER ((u32)0x0000FFFF << 16) /*!<R/W 0x00 MU EDCA TIMER, in units of 32 us Note: SPEC: The MU EDCA Timer field (8b) indicates the duration of time, in units of 8 TUs */
#define BIT_MUEDCA_VO_PARAM_TIMER(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_MUEDCA_VO_PARAM_TIMER(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_MUEDCA_VO_PARAM_CW ((u32)0x000000FF << 8) /*!<R/W 0x43 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_MUEDCA_VO_PARAM_CW(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_MUEDCA_VO_PARAM_CW(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_MUEDCA_VO_PARAM_AIFS ((u32)0x000000FF << 0) /*!<R/W 0x1C Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch. */
#define BIT_MUEDCA_VO_PARAM_AIFS(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_MUEDCA_VO_PARAM_AIFS(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_AX_MUEDCA_VI_PARAM
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_MUEDCA_VI_PARAM_TIMER ((u32)0x0000FFFF << 16) /*!<R/W 0x00 MU EDCA TIMER, in units of 32 us Note: SPEC: The MU EDCA Timer field (8b) indicates the duration of time, in units of 8 TUs */
#define BIT_MUEDCA_VI_PARAM_TIMER(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_MUEDCA_VI_PARAM_TIMER(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_MUEDCA_VI_PARAM_CW ((u32)0x000000FF << 8) /*!<R/W 0x54 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_MUEDCA_VI_PARAM_CW(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_MUEDCA_VI_PARAM_CW(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_MUEDCA_VI_PARAM_AIFS ((u32)0x000000FF << 0) /*!<R/W 0x1C Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch. */
#define BIT_MUEDCA_VI_PARAM_AIFS(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_MUEDCA_VI_PARAM_AIFS(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_AX_MUEDCA_BE_PARAM
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_MUEDCA_BE_PARAM_TIMER ((u32)0x0000FFFF << 16) /*!<R/W 0x00 MU EDCA TIMER, in units of 32 us Note: SPEC: The MU EDCA Timer field (8b) indicates the duration of time, in units of 8 TUs */
#define BIT_MUEDCA_BE_PARAM_TIMER(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_MUEDCA_BE_PARAM_TIMER(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_MUEDCA_BE_PARAM_CW ((u32)0x000000FF << 8) /*!<R/W 0xA5 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_MUEDCA_BE_PARAM_CW(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_MUEDCA_BE_PARAM_CW(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_MUEDCA_BE_PARAM_AIFS ((u32)0x000000FF << 0) /*!<R/W 0x25 Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch. */
#define BIT_MUEDCA_BE_PARAM_AIFS(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_MUEDCA_BE_PARAM_AIFS(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_AX_MUEDCA_BK_PARAM
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_MUEDCA_BK_PARAM_TIMER ((u32)0x0000FFFF << 16) /*!<R/W 0x00 MU EDCA TIMER, in units of 32 us Note: SPEC: The MU EDCA Timer field (8b) indicates the duration of time, in units of 8 TUs */
#define BIT_MUEDCA_BK_PARAM_TIMER(x) ((u32)(((x) & 0x0000FFFF) << 16))
#define BIT_GET_MUEDCA_BK_PARAM_TIMER(x) ((u32)(((x >> 16) & 0x0000FFFF)))
#define BIT_MASK_MUEDCA_BK_PARAM_CW ((u32)0x000000FF << 8) /*!<R/W 0xA5 ECWmin and ECWmax encode the values of Cwmin and Cwmax respectively in an exponent form. Ex: Cwmax = 2^(ECWmax)-1 Default: BK = Ah/5h; BE = Ah/5h; VI = 5h/4h; VO = 4h/3h. */
#define BIT_MUEDCA_BK_PARAM_CW(x) ((u32)(((x) & 0x000000FF) << 8))
#define BIT_GET_MUEDCA_BK_PARAM_CW(x) ((u32)(((x >> 8) & 0x000000FF)))
#define BIT_MASK_MUEDCA_BK_PARAM_AIFS ((u32)0x000000FF << 0) /*!<R/W 0x49 Arbitrary Inter frame space In unit of microsecond. AIFS indicates the time a non-AP QSTA should defer before either invoking a backoff or starting a transmission Default: BK = 49h; BE = 25h; VI = 1Ch; VO = 1Ch. */
#define BIT_MUEDCA_BK_PARAM_AIFS(x) ((u32)(((x) & 0x000000FF) << 0))
#define BIT_GET_MUEDCA_BK_PARAM_AIFS(x) ((u32)(((x >> 0) & 0x000000FF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_AX_TB_MUEDCA_CTRL
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TB_TIMER_CNT_INT ((u32)0x0000001F << 27) /*!<R/W 0x14 the initial value of th_timer, unit: us */
#define BIT_TB_TIMER_CNT_INT(x) ((u32)(((x) & 0x0000001F) << 27))
#define BIT_GET_TB_TIMER_CNT_INT(x) ((u32)(((x >> 27) & 0x0000001F)))
#define BIT_HE_TB_PPSU_ONLY_EN ((u32)0x00000001 << 26) /*!<R/W 0x0 asserted if the TWT is trigger-enabled TWT */
#define BIT_TB_TXPAUSE ((u32)0x00000001 << 25) /*!<R/W 0x1 valid if BIT_HE_TB_PPSU_ONLY_EN = 1; select pause edca or not during TWT-SP; default is 1, pause. A TWT requesting STA should not transmit frames to the TWT responding STA outside of negotiated TWT SPs and should not transmit frames that are not contained within HE TB PPDUs to the TWT responding STA within trigger-enabled TWT SPs */
#define BIT_DIS_UPD_BEAM_CHG ((u32)0x00000001 << 2) /*!<R/W 0x1 1: txcmd_beam_change TIE 0 0: first PPDU in TXOP will assert txcmd_beam_change */
#define BIT_SET_MUEDCATIMER_TF ((u32)0x00000001 << 1) /*!<R/W 0x0 1: enable HW updating MUEDCATimer after Tx HE TB PPDU 0: disable HW updating MUEDCATimer after Tx HE TB PPDU */
#define BIT_MUEDCA_EN ((u32)0x00000001 << 0) /*!<R/W 0x1 1: enable HW updating MUEDCATimer 0: disable HW updating MUEDCATimer */
/** @} */
/**************************************************************************//**
* @defgroup REG_CCA_NAV_CHK
* @brief
* @{
*****************************************************************************/
#define BIT_TB_CHK_EDCCA_PER20_BITMAP_SIFS ((u32)0x00000001 << 23) /*!<R/W 0x1 When TF CS required = 1 and EDCCA_PER20_BITMAP_SIFS assert in the SIFS before HE TB PPDU TX 0: Can TX 1: Cannot TX */
#define BIT_TB_CHK_BASIC_NAV ((u32)0x00000001 << 22) /*!<R/W 0x1 When TF CS required = 1 and BAISC NAV > 0 , in the SIFS before HE TB PPDU TX 0: Can TX 1: Cannot TX */
#define BIT_TB_CHK_ZGBTCCA ((u32)0x00000001 << 21) /*!<R/W 0x1 When TF CS required = 1 and ~GNT_WL(BT/ZigBee) assert in the SIFS before HE TB PPDU TX 0: Can TX 1: Cannot TX */
#define BIT_TB_CHK_EDCCA ((u32)0x00000001 << 20) /*!<R/W 0x1 When TF CS required = 1 and EDCCA assert in the SIFS before HE TB PPDU TX 0: Can TX 1: Cannot TX */
#define BIT_TB_CHK_CCA_S80 ((u32)0x00000001 << 19) /*!<R/W 0x1 When TF CS required = 1 and SECONDARY_CCA_80 assert in the SIFS before HE TB PPDU TX 0: Can TX 1: Cannot TX */
#define BIT_TB_CHK_CCA_S40 ((u32)0x00000001 << 18) /*!<R/W 0x1 When TF CS required = 1 and SECONDARY_CCA_40 assert in the SIFS before HE TB PPDU TX 0: Can TX 1: Cannot TX */
#define BIT_TB_CHK_CCA_S20 ((u32)0x00000001 << 17) /*!<R/W 0x1 When TF CS required = 1 and SECONDARY_CCA_20 assert in the SIFS before HE TB PPDU TX 0: Can TX 1: Cannot TX */
#define BIT_TB_CHK_CCA_P20 ((u32)0x00000001 << 16) /*!<R/W 0x1 When TF CS required = 1 and CCA assert in the SIFS before HE TB PPDU TX 0: Can TX 1: Cannot TX */
#define BIT_SR_CTN_CHK__NAV ((u32)0x00000001 << 12) /*!<R/W 0x1 When BASIC or INTRA NAV > 0 in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Cannot backoff, cannot TX */
#define BIT_SR_CTN_CHK_ZGBTCCA ((u32)0x00000001 << 11) /*!<R/W 0x1 When ~GNT_WL(BT/ZigBee) assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Cannot backoff, cannot TX */
#define BIT_SR_CTN_CHK_EDCCA ((u32)0x00000001 << 10) /*!<R/W 0x1 When EDCCA assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Cannot backoff, cannot TX */
#define BIT_SR_CTN_CHK_CCA_S40 ((u32)0x00000001 << 9) /*!<R/W 0x1 When SECONDARY_CCA_40 assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Can backoff, cannot TX */
#define BIT_SR_CTN_CHK_CCA_S20 ((u32)0x00000001 << 8) /*!<R/W 0x1 When SECONDARY_CCA_20 assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Can backoff, cannot TX */
#define BIT_CTN_CHK_INTRA_NAV ((u32)0x00000001 << 6) /*!<R/W 0x1 When INTRA NAV > 0 in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Cannot backoff, cannot TX */
#define BIT_CTN_CHK_BASIC_NAV ((u32)0x00000001 << 5) /*!<R/W 0x1 When BASIC NAV > 0 in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Cannot backoff, cannot TX */
#define BIT_CTN_CHK_ZGBTCCA ((u32)0x00000001 << 4) /*!<R/W 0x1 When ~GNT_WL(BT/ZigBee) assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Cannot backoff, cannot TX */
#define BIT_CTN_CHK_EDCCA ((u32)0x00000001 << 3) /*!<R/W 0x1 When EDCCA assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Cannot backoff, cannot TX */
#define BIT_CTN_CHK_CCA_S40 ((u32)0x00000001 << 2) /*!<R/W 0x1 When SECONDARY_CCA_40 assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Can backoff, cannot TX */
#define BIT_CTN_CHK_CCA_S20 ((u32)0x00000001 << 1) /*!<R/W 0x1 When SECONDARY_CCA_20 assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Can backoff, cannot TX */
#define BIT_CTN_CHK_CCA_P20 ((u32)0x00000001 << 0) /*!<R/W 0x1 When CCA assert in the AIFS/Backoff before active TX 0: Can backoff, can TX 1: Cannot backoff, cannot TX */
/** @} */
/**************************************************************************//**
* @defgroup REG_TSFT_HIOE_RFON_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSFT_AT_HIOE_RFON_L ((u32)0xFFFFFFFF << 0) /*!<R 0x0 when hioe_int_chn_on asserted, latch the tsft[31:0] (select port by 0x1520[0]) */
#define BIT_TSFT_AT_HIOE_RFON_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_TSFT_AT_HIOE_RFON_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TSFT_HIOE_RFON_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSFT_AT_HIOE_RFON_H ((u32)0xFFFFFFFF << 0) /*!<R 0x0 when hioe_int_chn_on asserted, latch the tsft[63:32] (select port by 0x1520[0]) */
#define BIT_TSFT_AT_HIOE_RFON_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_TSFT_AT_HIOE_RFON_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TSFT_BCN_CCAUP_L
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSFT_AT_BCN_CCA_UP_L ((u32)0xFFFFFFFF << 0) /*!<R 0x0 when CCA asserted, latch the tsft[31:0] (select port by 0x1520[0]). updated to this register after judging that it is a beacon frame */
#define BIT_TSFT_AT_BCN_CCA_UP_L(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_TSFT_AT_BCN_CCA_UP_L(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_TSFT_BCN_CCAUP_H
* @brief
* @{
*****************************************************************************/
#define BIT_MASK_TSFT_AT_BCN_CCA_UP_H ((u32)0xFFFFFFFF << 0) /*!<R 0x0 when CCA asserted, latch the tsft[63:32] (select port by 0x1520[0]). updated to this register after judging that it is a beacon frame */
#define BIT_TSFT_AT_BCN_CCA_UP_H(x) ((u32)(((x) & 0xFFFFFFFF) << 0))
#define BIT_GET_TSFT_AT_BCN_CCA_UP_H(x) ((u32)(((x >> 0) & 0xFFFFFFFF)))
/** @} */
/**************************************************************************//**
* @defgroup REG_POF_BCNELY_AGG_TBTT
* @brief
* @{
*****************************************************************************/
#define BIT_EN_P0_TBTT_CNT ((u32)0x00000001 << 24) /*!<R/W 0x0 enable the tbtt counter function. */
#define BIT_MASK_P0_TBTT_CNT_THRS ((u32)0x0000FFFF << 8) /*!<R/W 0x0 P0's TBTT counter threshold . Valid when BIT_EN_P0_TBTT_CNT = 1. when tbtt_cnt >= BIT_P0_TBTT_CNT_THRS, assert p0_tbtt_agg_int. */
#define BIT_P0_TBTT_CNT_THRS(x) ((u32)(((x) & 0x0000FFFF) << 8))
#define BIT_GET_P0_TBTT_CNT_THRS(x) ((u32)(((x >> 8) & 0x0000FFFF)))
#define BIT_EN_POF_ELY_AGG ((u32)0x00000001 << 7) /*!<R/W 0x0 update bcn_ely_agg initial value of P0 to BIT_INI_POF_ELY_AGG_CNT 1: enable 0: disable */
#define BIT_MASK_INI_POF_ELY_AGG_CNT ((u32)0x0000007F << 0) /*!<R/W 0x3 bcn_ely_agg initial value of P0. Valid when BIT_EN_POF_ELY_AGG = 1 */
#define BIT_INI_POF_ELY_AGG_CNT(x) ((u32)(((x) & 0x0000007F) << 0))
#define BIT_GET_INI_POF_ELY_AGG_CNT(x) ((u32)(((x >> 0) & 0x0000007F)))
/** @} */
/*==========PAGE5 Register Address Definition==========*/
#define REG_EDCA_VO_PARAM 0x0500
#define REG_EDCA_VI_PARAM 0x0504
#define REG_EDCA_BE_PARAM 0x0508
#define REG_EDCA_BK_PARAM 0x050C
#define REG_BCN_CFG_PIFS 0x0510
#define REG_SIFS 0x0514
#define REG_TSFT_SYN_OFFSET_SLOT 0x0518
#define REG_PS_NOA_ERLY_TIME 0x051C
#define REG_TXPAUSE_TXPTCL_DISTXREQ_CTRL 0x0520
#define REG_NOA0_MBSSID_RD_CTRL 0x0524
#define REG_NOA0_PKT_LIFETIME_CTRL 0x0528
#define REG_P2PON_DIS_TXTIME 0x0530
#define REG_NAN_SETTING_2 0x0534
#define REG_QUEUE_INCOL_THR 0x0538
#define REG_QUEUE_INCOL_EN 0x053C
#define REG_NOA0_TBTT_PROHIBIT 0x0540
#define REG_NAV_CTRL 0x0544
#define REG_FTM_CTRL 0x0548
#define REG_FTM_TSF_CNT 0x054C
#define REG_TSTRST_P2PRST_BCN_CTRL_PORT0_1 0x0550
#define REG_PORT0_BCN_SPACE 0x0554
#define REG_ATIMWND0_P0_BCN_ERLY_DMA_CTRL 0x0558
#define REG_BCNERR_TSF_CTRL 0x055C
#define REG_P0_TSFTR_L 0x0560
#define REG_P0_TSFTR_H 0x0564
#define REG_P1_TSFTR_L 0x0568
#define REG_P1_TSFTR_H 0x056C
#define REG_BCN_ERLY_CTW_CTRL 0x0570
#define REG_BCNDROP_TO_MISC_CTRL 0x0574
#define REG_P2_TSFTR_L 0x0578
#define REG_P2_TSFTR_H 0x057C
#define REG_TSF_TIMER1 0x0580
#define REG_TSF_TIMER2 0x0584
#define REG_TSF_TIMER3 0x0588
#define REG_BCN_IFS_TBTT_CTN 0x058C
#define REG_TXOP_CTRL_PRE_BKF 0x0590
#define REG_FREERUN_CNT_L 0x0594
#define REG_FREERUN_CNT_H 0x0598
#define REG_BCN_ERLY_CTW_CTRL_P1_2 0x059C
#define REG_ATIMWND2_5 0x05A0
#define REG_ATIMWND6_7_URGENT_NOLIMTHGQ 0x05A4
#define REG_DTIM_COUNT_0_3 0x05A8
#define REG_DTIM_COUNT_4_7 0x05AC
#define REG_DISATIM_BCNERLY_TBTTHOLD_BCNCS 0x05B0
#define REG_FREERUN_CNT_P2POFF_DIS_TXTIME 0x05B4
#define REG_PTA_TRXBCN_CTRL 0x05B8
#define REG_P2P_NOA1_CTRL_STATE 0x05BC
#define REG_ACMHWCTRL 0x05C0
#define REG_VO_VI_ADMTIME 0x05C4
#define REG_BE_ADMTIME 0x05C8
#define REG_NOACMD_SEL_EDCA_RANDOM_GEN 0x05CC
#define REG_TXPAUSE_CFG 0x05D0
#define REG_NAN_SETTING 0x05D4
#define REG_BCN_SPACE_PORT1_2 0x05D8
#define REG_NAN_SETTING_1 0x05DC
#define REG_NOA_PARAM_V1 0x05E0
#define REG_NOA_PARAM_V2 0x05E4
#define REG_NOA_PARAM_V3 0x05E8
#define REG_NOA_PARAM_4 0x05EC
#define REG_SCHEDULER_DBG 0x05F4
#define REG_SCH_TXCMD 0x05F8
#define REG_PAGE5_DUMMY 0x05FC
#define REG_PS_TIMER_A_L 0x1500
#define REG_PS_TIMER_A_H 0x1504
#define REG_PS_TIMER_B_L 0x1508
#define REG_PS_TIMER_B_H 0x150C
#define REG_PS_TIMER_C_L 0x1510
#define REG_PS_TIMER_C_H 0x1514
#define REG_CPUMGQ_PARAMETER 0x1518
#define REG_PS_TIMER_EARLY 0x151C
#define REG_PS_TIMER_TWT_CRTL 0x1520
#define REG_RX_TSFT_DIFF 0x1524
#define REG_RXBCN_TSFT_STATISTIC 0x1528
#define REG_P2P_NOA2_CTRL_STATE 0x152C
#define REG_TM_CFG 0x1530
#define REG_TM_TSFT_T1 0x1534
#define REG_TM_TSFT_T2 0x1538
#define REG_TM_TSFT_T3 0x153C
#define REG_TM_TSFT_T4 0x1540
#define REG_TM_TIMER_OFFSET 0x1544
#define REG_BCN_ELY_ADJ 0x1548
#define REG_PS_TIMER_D_L 0x154C
#define REG_PS_TIMER_D_H 0x1550
#define REG_PS_TIMER_E_L 0x1554
#define REG_PS_TIMER_E_H 0x1558
#define REG_AX_MUEDCA_VO_PARAM 0x1580
#define REG_AX_MUEDCA_VI_PARAM 0x1584
#define REG_AX_MUEDCA_BE_PARAM 0x1588
#define REG_AX_MUEDCA_BK_PARAM 0x158C
#define REG_AX_TB_MUEDCA_CTRL 0x1590
#define REG_CCA_NAV_CHK 0x1594
#define REG_TSFT_HIOE_RFON_L 0x1598
#define REG_TSFT_HIOE_RFON_H 0x159C
#define REG_TSFT_BCN_CCAUP_L 0x15A0
#define REG_TSFT_BCN_CCAUP_H 0x15A4
#define REG_POF_BCNELY_AGG_TBTT 0x15A8
/* AUTO_GEN_END */
/* MANUAL_GEN_START */
//Please add your defination here
/* MANUAL_GEN_END */
#endif
|
96e880d4bab7b780b9e02d35ee6af8d6661d7084
|
229a28fc18c13bfe1ba7fc81c38b03651ed8e93b
|
/sw/tests/non_null_exitcode.c
|
7ffa255eddd9fd178e7444d00b109b40ac013b5e
|
[
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] |
permissive
|
pulp-platform/snitch
|
d3967742434fa21e8af71afa6be35ea5420166ca
|
d026f47843f0ea6c269244c4e6851e0e09141ec3
|
refs/heads/master
| 2023-08-24T08:42:36.230951
| 2023-06-19T09:34:05
| 2023-06-19T09:34:05
| 289,236,605
| 194
| 44
|
Apache-2.0
| 2023-07-11T12:46:26
| 2020-08-21T09:57:34
|
SystemVerilog
|
UTF-8
|
C
| false
| false
| 384
|
c
|
non_null_exitcode.c
|
// Copyright 2023 ETH Zurich and University of Bologna.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Simply returns a return code different from 0.
// Should be used as a test to check that the simulator or whoever
// is running the program actually captures an error when it occurs.
int main() { return 1; }
|
1cb3f3e38128ed5c979b7eb11184932049325746
|
0bcd128368e2de959ca648960ffd7944067fcf27
|
/third_party/libmicrohttpd/MHD_config.h
|
7ac742a4cad6da18cfd63b2af2ca9b44f4470679
|
[
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] |
permissive
|
google/skia
|
ac6e39179cd33cf0c8a46d29c1a70bf78b4d74ee
|
bf6b239838d3eb56562fffd0856f4047867ae771
|
refs/heads/main
| 2023-08-31T21:03:04.620734
| 2023-08-31T18:24:15
| 2023-08-31T20:20:26
| 15,773,229
| 8,064
| 1,487
|
BSD-3-Clause
| 2023-09-11T13:42:07
| 2014-01-09T17:09:57
|
C++
|
UTF-8
|
C
| false
| false
| 188
|
h
|
MHD_config.h
|
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifdef __APPLE__
#include <unistd.h>
#endif
|
30f4e45fccf32936d41a15cf4dedceab3eb62004
|
d66361986d4a46c02ff4975964a16522e88cf5e6
|
/src/main/cpp/JIntellitype_private.h
|
1c7f45e789ee86bcaa48481a9a3f0e1993b9925b
|
[
"Apache-2.0"
] |
permissive
|
melloware/jintellitype
|
7c92e9cd02de467c67917de127c3c4f4cc09ee2c
|
96252649a88d81b43947639597365d36792d899c
|
refs/heads/master
| 2023-08-11T11:27:39.282618
| 2023-07-27T21:29:54
| 2023-07-27T21:29:54
| 34,344,947
| 174
| 48
|
Apache-2.0
| 2023-07-27T21:29:56
| 2015-04-21T18:32:14
|
Java
|
UTF-8
|
C
| false
| false
| 715
|
h
|
JIntellitype_private.h
|
/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */
/* DO NOT EDIT ! */
#ifndef JINTELLITYPE_PRIVATE_H
#define JINTELLITYPE_PRIVATE_H
/* VERSION DEFINITIONS */
#define VER_STRING "1.0.0.465"
#define VER_MAJOR 1
#define VER_MINOR 0
#define VER_RELEASE 0
#define VER_BUILD 465
#define COMPANY_NAME "Melloware Inc (www.melloware.com)"
#define FILE_VERSION "1.0"
#define FILE_DESCRIPTION "Java JNI bridge to MS Intellitype commands"
#define INTERNAL_NAME ""
#define LEGAL_COPYRIGHT "Copyright 2006 Melloware Inc"
#define LEGAL_TRADEMARKS "Copyright 2006 Melloware Inc"
#define ORIGINAL_FILENAME ""
#define PRODUCT_NAME "JIntellitype"
#define PRODUCT_VERSION "1.0"
#endif /*JINTELLITYPE_PRIVATE_H*/
|
535ebbcede8dcf4b00d2e914e42c1df75383720f
|
bf76ebe02527b728313664a9f6dfdfe1411e6a81
|
/sledge/test/analyze/bool_to_int.c
|
730429433604cb31a5726b48786dcf46461236a8
|
[
"MIT",
"GPL-1.0-or-later"
] |
permissive
|
facebook/infer
|
30d13fd15e1d1c333800369b9120ac14c1e0c9e5
|
80a888ee5c534a40d4a178e5da3eaa61a3334ad1
|
refs/heads/main
| 2023-08-31T11:34:35.419621
| 2023-08-31T08:56:41
| 2023-08-31T08:56:41
| 29,857,799
| 15,855
| 2,632
|
MIT
| 2023-08-24T09:51:53
| 2015-01-26T11:19:13
|
OCaml
|
UTF-8
|
C
| false
| false
| 350
|
c
|
bool_to_int.c
|
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <assert.h>
int
main()
{
int two;
int equals_two;
two = 2;
equals_two = (two == 2);
assert((equals_two != 0));
assert((equals_two == 1));
}
|
4964fe506d92b7ba0225910380e6b01f5f56b537
|
9ceacf33fd96913cac7ef15492c126d96cae6911
|
/usr.sbin/rpki-client/encoding.c
|
7c79d9815e276a49bcb64a56dd09eed41492631f
|
[] |
no_license
|
openbsd/src
|
ab97ef834fd2d5a7f6729814665e9782b586c130
|
9e79f3a0ebd11a25b4bff61e900cb6de9e7795e9
|
refs/heads/master
| 2023-09-02T18:54:56.624627
| 2023-09-02T15:16:12
| 2023-09-02T15:16:12
| 66,966,208
| 3,394
| 1,235
| null | 2023-08-08T02:42:25
| 2016-08-30T18:18:25
|
C
|
UTF-8
|
C
| false
| false
| 4,807
|
c
|
encoding.c
|
/* $OpenBSD: encoding.c,v 1.13 2022/05/15 15:00:53 deraadt Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <ctype.h>
#include <fcntl.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <openssl/evp.h>
#include "extern.h"
/*
* Load file from disk and return the buffer and size.
*/
unsigned char *
load_file(const char *name, size_t *len)
{
unsigned char *buf = NULL;
struct stat st;
ssize_t n;
size_t size;
int fd, saved_errno;
*len = 0;
if ((fd = open(name, O_RDONLY)) == -1)
return NULL;
if (fstat(fd, &st) != 0)
goto err;
if (st.st_size <= 0 || st.st_size > MAX_FILE_SIZE) {
errno = EFBIG;
goto err;
}
size = (size_t)st.st_size;
if ((buf = malloc(size)) == NULL)
goto err;
n = read(fd, buf, size);
if (n == -1)
goto err;
if ((size_t)n != size) {
errno = EIO;
goto err;
}
close(fd);
*len = size;
return buf;
err:
saved_errno = errno;
close(fd);
free(buf);
errno = saved_errno;
return NULL;
}
/*
* Return the size of the data blob in outlen for an inlen sized base64 buffer.
* Returns 0 on success and -1 if inlen would overflow an int.
*/
int
base64_decode_len(size_t inlen, size_t *outlen)
{
*outlen = 0;
if (inlen >= INT_MAX - 3)
return -1;
*outlen = ((inlen + 3) / 4) * 3 + 1;
return 0;
}
/*
* Decode base64 encoded string into binary buffer returned in out.
* The out buffer size is stored in outlen.
* Returns 0 on success or -1 for any errors.
*/
int
base64_decode(const unsigned char *in, size_t inlen,
unsigned char **out, size_t *outlen)
{
EVP_ENCODE_CTX *ctx;
unsigned char *to = NULL;
size_t tolen;
int evplen;
if ((ctx = EVP_ENCODE_CTX_new()) == NULL)
err(1, "EVP_ENCODE_CTX_new");
*out = NULL;
*outlen = 0;
if (base64_decode_len(inlen, &tolen) == -1)
goto fail;
if ((to = malloc(tolen)) == NULL)
err(1, NULL);
evplen = tolen;
EVP_DecodeInit(ctx);
if (EVP_DecodeUpdate(ctx, to, &evplen, in, inlen) == -1)
goto fail;
*outlen = evplen;
if (EVP_DecodeFinal(ctx, to + evplen, &evplen) == -1)
goto fail;
*outlen += evplen;
*out = to;
EVP_ENCODE_CTX_free(ctx);
return 0;
fail:
free(to);
EVP_ENCODE_CTX_free(ctx);
return -1;
}
/*
* Return the size of the base64 blob in outlen for a inlen sized binary buffer.
* Returns 0 on success and -1 if inlen would overflow the calculation.
*/
int
base64_encode_len(size_t inlen, size_t *outlen)
{
*outlen = 0;
if (inlen >= INT_MAX / 2)
return -1;
*outlen = ((inlen + 2) / 3) * 4 + 1;
return 0;
}
/*
* Encode a binary buffer into a base64 encoded string returned in out.
* Returns 0 on success or -1 for any errors.
*/
int
base64_encode(const unsigned char *in, size_t inlen, char **out)
{
unsigned char *to;
size_t tolen;
*out = NULL;
if (base64_encode_len(inlen, &tolen) == -1)
return -1;
if ((to = malloc(tolen)) == NULL)
return -1;
EVP_EncodeBlock(to, in, inlen);
*out = to;
return 0;
}
/*
* Convert binary buffer of size dsz into an upper-case hex-string.
* Returns pointer to the newly allocated string. Function can't fail.
*/
char *
hex_encode(const unsigned char *in, size_t insz)
{
const char hex[] = "0123456789ABCDEF";
size_t i;
char *out;
if ((out = calloc(2, insz + 1)) == NULL)
err(1, NULL);
for (i = 0; i < insz; i++) {
out[i * 2] = hex[in[i] >> 4];
out[i * 2 + 1] = hex[in[i] & 0xf];
}
out[i * 2] = '\0';
return out;
}
/*
* Hex decode hexstring into the supplied buffer.
* Return 0 on success else -1, if buffer too small or bad encoding.
*/
int
hex_decode(const char *hexstr, char *buf, size_t len)
{
unsigned char ch, r;
size_t pos = 0;
int i;
while (*hexstr) {
r = 0;
for (i = 0; i < 2; i++) {
ch = hexstr[i];
if (isdigit(ch))
ch -= '0';
else if (islower(ch))
ch -= ('a' - 10);
else if (isupper(ch))
ch -= ('A' - 10);
else
return -1;
if (ch > 0xf)
return -1;
r = r << 4 | ch;
}
if (pos < len)
buf[pos++] = r;
else
return -1;
hexstr += 2;
}
return 0;
}
|
32bd2d427cb987ff2df94bed602b6ab50aac1fdc
|
695180c14d136c1af33e50497c7957dc74835680
|
/tools/driver/drivers/char/tpu_common/tpuv4lite/tpuv4lite_reinit_reset_offsets.h
|
182eac0a6ac986755283bd470a6db967226efd48
|
[
"Apache-2.0"
] |
permissive
|
tensorflow/tpu
|
4517c43b42c3dd98b8abafbbd9457384dd9639b1
|
0f7adb97a93ec3e3485c261d030c507eb16b33e4
|
refs/heads/master
| 2023-09-02T23:33:31.299394
| 2023-09-01T00:43:03
| 2023-09-01T00:43:03
| 96,946,693
| 5,627
| 2,107
|
Apache-2.0
| 2023-09-13T17:50:43
| 2017-07-11T23:54:39
|
Jupyter Notebook
|
UTF-8
|
C
| false
| false
| 539
|
h
|
tpuv4lite_reinit_reset_offsets.h
|
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2021 Google LLC.
*/
#ifndef _DRIVERS_CHAR_TPU_COMMON_TPUV4LITE_ASIC_FW_REINIT_RESET_OFFSETS_H_
#define _DRIVERS_CHAR_TPU_COMMON_TPUV4LITE_ASIC_FW_REINIT_RESET_OFFSETS_H_
#include "drivers/asic_sw/asic_fw_reinit_reset_offsets.h"
#include "drivers/gasket/gasket_types.h"
struct tpuv4lite_reinit_reset_offsets {
uint64 chip_reset;
};
int tpuv4lite_reinit_reset_offsets_count(void);
const struct asic_fw_reinit_reset_offsets *
tpuv4lite_reinit_reset_offsets_get(int index);
#endif
|
f9a33ff42eb7d0451a0fbf7f9a2f6a5420fd0733
|
7eaf54a78c9e2117247cb2ab6d3a0c20719ba700
|
/SOFTWARE/A64-TERES/linux-a64/drivers/scsi/ipr.h
|
e045676d8325e0d3787cc6043559158436dd88b2
|
[
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] |
permissive
|
OLIMEX/DIY-LAPTOP
|
ae82f4ee79c641d9aee444db9a75f3f6709afa92
|
a3fafd1309135650bab27f5eafc0c32bc3ca74ee
|
refs/heads/rel3
| 2023-08-04T01:54:19.483792
| 2023-04-03T07:18:12
| 2023-04-03T07:18:12
| 80,094,055
| 507
| 92
|
Apache-2.0
| 2023-04-03T07:05:59
| 2017-01-26T07:25:50
|
C
|
UTF-8
|
C
| false
| false
| 50,622
|
h
|
ipr.h
|
/*
* ipr.h -- driver for IBM Power Linux RAID adapters
*
* Written By: Brian King <brking@us.ibm.com>, IBM Corporation
*
* Copyright (C) 2003, 2004 IBM Corporation
*
* 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 2 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, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Alan Cox <alan@lxorguk.ukuu.org.uk> - Removed several careless u32/dma_addr_t errors
* that broke 64bit platforms.
*/
#ifndef _IPR_H
#define _IPR_H
#include <asm/unaligned.h>
#include <linux/types.h>
#include <linux/completion.h>
#include <linux/libata.h>
#include <linux/list.h>
#include <linux/kref.h>
#include <linux/blk-iopoll.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
/*
* Literals
*/
#define IPR_DRIVER_VERSION "2.6.0"
#define IPR_DRIVER_DATE "(November 16, 2012)"
/*
* IPR_MAX_CMD_PER_LUN: This defines the maximum number of outstanding
* ops per device for devices not running tagged command queuing.
* This can be adjusted at runtime through sysfs device attributes.
*/
#define IPR_MAX_CMD_PER_LUN 6
#define IPR_MAX_CMD_PER_ATA_LUN 1
/*
* IPR_NUM_BASE_CMD_BLKS: This defines the maximum number of
* ops the mid-layer can send to the adapter.
*/
#define IPR_NUM_BASE_CMD_BLKS (ioa_cfg->max_cmds)
#define PCI_DEVICE_ID_IBM_OBSIDIAN_E 0x0339
#define PCI_DEVICE_ID_IBM_CROC_FPGA_E2 0x033D
#define PCI_DEVICE_ID_IBM_CROCODILE 0x034A
#define IPR_SUBS_DEV_ID_2780 0x0264
#define IPR_SUBS_DEV_ID_5702 0x0266
#define IPR_SUBS_DEV_ID_5703 0x0278
#define IPR_SUBS_DEV_ID_572E 0x028D
#define IPR_SUBS_DEV_ID_573E 0x02D3
#define IPR_SUBS_DEV_ID_573D 0x02D4
#define IPR_SUBS_DEV_ID_571A 0x02C0
#define IPR_SUBS_DEV_ID_571B 0x02BE
#define IPR_SUBS_DEV_ID_571E 0x02BF
#define IPR_SUBS_DEV_ID_571F 0x02D5
#define IPR_SUBS_DEV_ID_572A 0x02C1
#define IPR_SUBS_DEV_ID_572B 0x02C2
#define IPR_SUBS_DEV_ID_572F 0x02C3
#define IPR_SUBS_DEV_ID_574E 0x030A
#define IPR_SUBS_DEV_ID_575B 0x030D
#define IPR_SUBS_DEV_ID_575C 0x0338
#define IPR_SUBS_DEV_ID_57B3 0x033A
#define IPR_SUBS_DEV_ID_57B7 0x0360
#define IPR_SUBS_DEV_ID_57B8 0x02C2
#define IPR_SUBS_DEV_ID_57B4 0x033B
#define IPR_SUBS_DEV_ID_57B2 0x035F
#define IPR_SUBS_DEV_ID_57C0 0x0352
#define IPR_SUBS_DEV_ID_57C3 0x0353
#define IPR_SUBS_DEV_ID_57C4 0x0354
#define IPR_SUBS_DEV_ID_57C6 0x0357
#define IPR_SUBS_DEV_ID_57CC 0x035C
#define IPR_SUBS_DEV_ID_57B5 0x033C
#define IPR_SUBS_DEV_ID_57CE 0x035E
#define IPR_SUBS_DEV_ID_57B1 0x0355
#define IPR_SUBS_DEV_ID_574D 0x0356
#define IPR_SUBS_DEV_ID_57C8 0x035D
#define IPR_SUBS_DEV_ID_57D5 0x03FB
#define IPR_SUBS_DEV_ID_57D6 0x03FC
#define IPR_SUBS_DEV_ID_57D7 0x03FF
#define IPR_SUBS_DEV_ID_57D8 0x03FE
#define IPR_NAME "ipr"
/*
* Return codes
*/
#define IPR_RC_JOB_CONTINUE 1
#define IPR_RC_JOB_RETURN 2
/*
* IOASCs
*/
#define IPR_IOASC_NR_INIT_CMD_REQUIRED 0x02040200
#define IPR_IOASC_NR_IOA_RESET_REQUIRED 0x02048000
#define IPR_IOASC_SYNC_REQUIRED 0x023f0000
#define IPR_IOASC_MED_DO_NOT_REALLOC 0x03110C00
#define IPR_IOASC_HW_SEL_TIMEOUT 0x04050000
#define IPR_IOASC_HW_DEV_BUS_STATUS 0x04448500
#define IPR_IOASC_IOASC_MASK 0xFFFFFF00
#define IPR_IOASC_SCSI_STATUS_MASK 0x000000FF
#define IPR_IOASC_IR_INVALID_REQ_TYPE_OR_PKT 0x05240000
#define IPR_IOASC_IR_RESOURCE_HANDLE 0x05250000
#define IPR_IOASC_IR_NO_CMDS_TO_2ND_IOA 0x05258100
#define IPR_IOASA_IR_DUAL_IOA_DISABLED 0x052C8000
#define IPR_IOASC_BUS_WAS_RESET 0x06290000
#define IPR_IOASC_BUS_WAS_RESET_BY_OTHER 0x06298000
#define IPR_IOASC_ABORTED_CMD_TERM_BY_HOST 0x0B5A0000
#define IPR_FIRST_DRIVER_IOASC 0x10000000
#define IPR_IOASC_IOA_WAS_RESET 0x10000001
#define IPR_IOASC_PCI_ACCESS_ERROR 0x10000002
/* Driver data flags */
#define IPR_USE_LONG_TRANSOP_TIMEOUT 0x00000001
#define IPR_USE_PCI_WARM_RESET 0x00000002
#define IPR_DEFAULT_MAX_ERROR_DUMP 984
#define IPR_NUM_LOG_HCAMS 2
#define IPR_NUM_CFG_CHG_HCAMS 2
#define IPR_NUM_HCAMS (IPR_NUM_LOG_HCAMS + IPR_NUM_CFG_CHG_HCAMS)
#define IPR_MAX_SIS64_TARGETS_PER_BUS 1024
#define IPR_MAX_SIS64_LUNS_PER_TARGET 0xffffffff
#define IPR_MAX_NUM_TARGETS_PER_BUS 256
#define IPR_MAX_NUM_LUNS_PER_TARGET 256
#define IPR_MAX_NUM_VSET_LUNS_PER_TARGET 8
#define IPR_VSET_BUS 0xff
#define IPR_IOA_BUS 0xff
#define IPR_IOA_TARGET 0xff
#define IPR_IOA_LUN 0xff
#define IPR_MAX_NUM_BUSES 16
#define IPR_MAX_BUS_TO_SCAN IPR_MAX_NUM_BUSES
#define IPR_NUM_RESET_RELOAD_RETRIES 3
/* We need resources for HCAMS, IOA reset, IOA bringdown, and ERP */
#define IPR_NUM_INTERNAL_CMD_BLKS (IPR_NUM_HCAMS + \
((IPR_NUM_RESET_RELOAD_RETRIES + 1) * 2) + 4)
#define IPR_MAX_COMMANDS 100
#define IPR_NUM_CMD_BLKS (IPR_NUM_BASE_CMD_BLKS + \
IPR_NUM_INTERNAL_CMD_BLKS)
#define IPR_MAX_PHYSICAL_DEVS 192
#define IPR_DEFAULT_SIS64_DEVS 1024
#define IPR_MAX_SIS64_DEVS 4096
#define IPR_MAX_SGLIST 64
#define IPR_IOA_MAX_SECTORS 32767
#define IPR_VSET_MAX_SECTORS 512
#define IPR_MAX_CDB_LEN 16
#define IPR_MAX_HRRQ_RETRIES 3
#define IPR_DEFAULT_BUS_WIDTH 16
#define IPR_80MBs_SCSI_RATE ((80 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))
#define IPR_U160_SCSI_RATE ((160 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))
#define IPR_U320_SCSI_RATE ((320 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))
#define IPR_MAX_SCSI_RATE(width) ((320 * 10) / ((width) / 8))
#define IPR_IOA_RES_HANDLE 0xffffffff
#define IPR_INVALID_RES_HANDLE 0
#define IPR_IOA_RES_ADDR 0x00ffffff
/*
* Adapter Commands
*/
#define IPR_QUERY_RSRC_STATE 0xC2
#define IPR_RESET_DEVICE 0xC3
#define IPR_RESET_TYPE_SELECT 0x80
#define IPR_LUN_RESET 0x40
#define IPR_TARGET_RESET 0x20
#define IPR_BUS_RESET 0x10
#define IPR_ATA_PHY_RESET 0x80
#define IPR_ID_HOST_RR_Q 0xC4
#define IPR_QUERY_IOA_CONFIG 0xC5
#define IPR_CANCEL_ALL_REQUESTS 0xCE
#define IPR_HOST_CONTROLLED_ASYNC 0xCF
#define IPR_HCAM_CDB_OP_CODE_CONFIG_CHANGE 0x01
#define IPR_HCAM_CDB_OP_CODE_LOG_DATA 0x02
#define IPR_SET_SUPPORTED_DEVICES 0xFB
#define IPR_SET_ALL_SUPPORTED_DEVICES 0x80
#define IPR_IOA_SHUTDOWN 0xF7
#define IPR_WR_BUF_DOWNLOAD_AND_SAVE 0x05
/*
* Timeouts
*/
#define IPR_SHUTDOWN_TIMEOUT (ipr_fastfail ? 60 * HZ : 10 * 60 * HZ)
#define IPR_VSET_RW_TIMEOUT (ipr_fastfail ? 30 * HZ : 2 * 60 * HZ)
#define IPR_ABBREV_SHUTDOWN_TIMEOUT (10 * HZ)
#define IPR_DUAL_IOA_ABBR_SHUTDOWN_TO (2 * 60 * HZ)
#define IPR_DEVICE_RESET_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
#define IPR_CANCEL_ALL_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
#define IPR_ABORT_TASK_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
#define IPR_INTERNAL_TIMEOUT (ipr_fastfail ? 10 * HZ : 30 * HZ)
#define IPR_WRITE_BUFFER_TIMEOUT (30 * 60 * HZ)
#define IPR_SET_SUP_DEVICE_TIMEOUT (2 * 60 * HZ)
#define IPR_REQUEST_SENSE_TIMEOUT (10 * HZ)
#define IPR_OPERATIONAL_TIMEOUT (5 * 60)
#define IPR_LONG_OPERATIONAL_TIMEOUT (12 * 60)
#define IPR_WAIT_FOR_RESET_TIMEOUT (2 * HZ)
#define IPR_CHECK_FOR_RESET_TIMEOUT (HZ / 10)
#define IPR_WAIT_FOR_BIST_TIMEOUT (2 * HZ)
#define IPR_PCI_RESET_TIMEOUT (HZ / 2)
#define IPR_SIS32_DUMP_TIMEOUT (15 * HZ)
#define IPR_SIS64_DUMP_TIMEOUT (40 * HZ)
#define IPR_DUMP_DELAY_SECONDS 4
#define IPR_DUMP_DELAY_TIMEOUT (IPR_DUMP_DELAY_SECONDS * HZ)
/*
* SCSI Literals
*/
#define IPR_VENDOR_ID_LEN 8
#define IPR_PROD_ID_LEN 16
#define IPR_SERIAL_NUM_LEN 8
/*
* Hardware literals
*/
#define IPR_FMT2_MBX_ADDR_MASK 0x0fffffff
#define IPR_FMT2_MBX_BAR_SEL_MASK 0xf0000000
#define IPR_FMT2_MKR_BAR_SEL_SHIFT 28
#define IPR_GET_FMT2_BAR_SEL(mbx) \
(((mbx) & IPR_FMT2_MBX_BAR_SEL_MASK) >> IPR_FMT2_MKR_BAR_SEL_SHIFT)
#define IPR_SDT_FMT2_BAR0_SEL 0x0
#define IPR_SDT_FMT2_BAR1_SEL 0x1
#define IPR_SDT_FMT2_BAR2_SEL 0x2
#define IPR_SDT_FMT2_BAR3_SEL 0x3
#define IPR_SDT_FMT2_BAR4_SEL 0x4
#define IPR_SDT_FMT2_BAR5_SEL 0x5
#define IPR_SDT_FMT2_EXP_ROM_SEL 0x8
#define IPR_FMT2_SDT_READY_TO_USE 0xC4D4E3F2
#define IPR_FMT3_SDT_READY_TO_USE 0xC4D4E3F3
#define IPR_DOORBELL 0x82800000
#define IPR_RUNTIME_RESET 0x40000000
#define IPR_IPL_INIT_MIN_STAGE_TIME 5
#define IPR_IPL_INIT_DEFAULT_STAGE_TIME 30
#define IPR_IPL_INIT_STAGE_UNKNOWN 0x0
#define IPR_IPL_INIT_STAGE_TRANSOP 0xB0000000
#define IPR_IPL_INIT_STAGE_MASK 0xff000000
#define IPR_IPL_INIT_STAGE_TIME_MASK 0x0000ffff
#define IPR_PCII_IPL_STAGE_CHANGE (0x80000000 >> 0)
#define IPR_PCII_IOA_TRANS_TO_OPER (0x80000000 >> 0)
#define IPR_PCII_IOARCB_XFER_FAILED (0x80000000 >> 3)
#define IPR_PCII_IOA_UNIT_CHECKED (0x80000000 >> 4)
#define IPR_PCII_NO_HOST_RRQ (0x80000000 >> 5)
#define IPR_PCII_CRITICAL_OPERATION (0x80000000 >> 6)
#define IPR_PCII_IO_DEBUG_ACKNOWLEDGE (0x80000000 >> 7)
#define IPR_PCII_IOARRIN_LOST (0x80000000 >> 27)
#define IPR_PCII_MMIO_ERROR (0x80000000 >> 28)
#define IPR_PCII_PROC_ERR_STATE (0x80000000 >> 29)
#define IPR_PCII_HRRQ_UPDATED (0x80000000 >> 30)
#define IPR_PCII_CORE_ISSUED_RST_REQ (0x80000000 >> 31)
#define IPR_PCII_ERROR_INTERRUPTS \
(IPR_PCII_IOARCB_XFER_FAILED | IPR_PCII_IOA_UNIT_CHECKED | \
IPR_PCII_NO_HOST_RRQ | IPR_PCII_IOARRIN_LOST | IPR_PCII_MMIO_ERROR)
#define IPR_PCII_OPER_INTERRUPTS \
(IPR_PCII_ERROR_INTERRUPTS | IPR_PCII_HRRQ_UPDATED | IPR_PCII_IOA_TRANS_TO_OPER)
#define IPR_UPROCI_RESET_ALERT (0x80000000 >> 7)
#define IPR_UPROCI_IO_DEBUG_ALERT (0x80000000 >> 9)
#define IPR_UPROCI_SIS64_START_BIST (0x80000000 >> 23)
#define IPR_LDUMP_MAX_LONG_ACK_DELAY_IN_USEC 200000 /* 200 ms */
#define IPR_LDUMP_MAX_SHORT_ACK_DELAY_IN_USEC 200000 /* 200 ms */
/*
* Dump literals
*/
#define IPR_FMT2_MAX_IOA_DUMP_SIZE (4 * 1024 * 1024)
#define IPR_FMT3_MAX_IOA_DUMP_SIZE (32 * 1024 * 1024)
#define IPR_FMT2_NUM_SDT_ENTRIES 511
#define IPR_FMT3_NUM_SDT_ENTRIES 0xFFF
#define IPR_FMT2_MAX_NUM_DUMP_PAGES ((IPR_FMT2_MAX_IOA_DUMP_SIZE / PAGE_SIZE) + 1)
#define IPR_FMT3_MAX_NUM_DUMP_PAGES ((IPR_FMT3_MAX_IOA_DUMP_SIZE / PAGE_SIZE) + 1)
/*
* Misc literals
*/
#define IPR_NUM_IOADL_ENTRIES IPR_MAX_SGLIST
#define IPR_MAX_MSIX_VECTORS 0x5
#define IPR_MAX_HRRQ_NUM 0x10
#define IPR_INIT_HRRQ 0x0
/*
* Adapter interface types
*/
struct ipr_res_addr {
u8 reserved;
u8 bus;
u8 target;
u8 lun;
#define IPR_GET_PHYS_LOC(res_addr) \
(((res_addr).bus << 16) | ((res_addr).target << 8) | (res_addr).lun)
}__attribute__((packed, aligned (4)));
struct ipr_std_inq_vpids {
u8 vendor_id[IPR_VENDOR_ID_LEN];
u8 product_id[IPR_PROD_ID_LEN];
}__attribute__((packed));
struct ipr_vpd {
struct ipr_std_inq_vpids vpids;
u8 sn[IPR_SERIAL_NUM_LEN];
}__attribute__((packed));
struct ipr_ext_vpd {
struct ipr_vpd vpd;
__be32 wwid[2];
}__attribute__((packed));
struct ipr_ext_vpd64 {
struct ipr_vpd vpd;
__be32 wwid[4];
}__attribute__((packed));
struct ipr_std_inq_data {
u8 peri_qual_dev_type;
#define IPR_STD_INQ_PERI_QUAL(peri) ((peri) >> 5)
#define IPR_STD_INQ_PERI_DEV_TYPE(peri) ((peri) & 0x1F)
u8 removeable_medium_rsvd;
#define IPR_STD_INQ_REMOVEABLE_MEDIUM 0x80
#define IPR_IS_DASD_DEVICE(std_inq) \
((IPR_STD_INQ_PERI_DEV_TYPE((std_inq).peri_qual_dev_type) == TYPE_DISK) && \
!(((std_inq).removeable_medium_rsvd) & IPR_STD_INQ_REMOVEABLE_MEDIUM))
#define IPR_IS_SES_DEVICE(std_inq) \
(IPR_STD_INQ_PERI_DEV_TYPE((std_inq).peri_qual_dev_type) == TYPE_ENCLOSURE)
u8 version;
u8 aen_naca_fmt;
u8 additional_len;
u8 sccs_rsvd;
u8 bq_enc_multi;
u8 sync_cmdq_flags;
struct ipr_std_inq_vpids vpids;
u8 ros_rsvd_ram_rsvd[4];
u8 serial_num[IPR_SERIAL_NUM_LEN];
}__attribute__ ((packed));
#define IPR_RES_TYPE_AF_DASD 0x00
#define IPR_RES_TYPE_GENERIC_SCSI 0x01
#define IPR_RES_TYPE_VOLUME_SET 0x02
#define IPR_RES_TYPE_REMOTE_AF_DASD 0x03
#define IPR_RES_TYPE_GENERIC_ATA 0x04
#define IPR_RES_TYPE_ARRAY 0x05
#define IPR_RES_TYPE_IOAFP 0xff
struct ipr_config_table_entry {
u8 proto;
#define IPR_PROTO_SATA 0x02
#define IPR_PROTO_SATA_ATAPI 0x03
#define IPR_PROTO_SAS_STP 0x06
#define IPR_PROTO_SAS_STP_ATAPI 0x07
u8 array_id;
u8 flags;
#define IPR_IS_IOA_RESOURCE 0x80
u8 rsvd_subtype;
#define IPR_QUEUEING_MODEL(res) ((((res)->flags) & 0x70) >> 4)
#define IPR_QUEUE_FROZEN_MODEL 0
#define IPR_QUEUE_NACA_MODEL 1
struct ipr_res_addr res_addr;
__be32 res_handle;
__be32 lun_wwn[2];
struct ipr_std_inq_data std_inq_data;
}__attribute__ ((packed, aligned (4)));
struct ipr_config_table_entry64 {
u8 res_type;
u8 proto;
u8 vset_num;
u8 array_id;
__be16 flags;
__be16 res_flags;
#define IPR_QUEUEING_MODEL64(res) ((((res)->res_flags) & 0x7000) >> 12)
__be32 res_handle;
u8 dev_id_type;
u8 reserved[3];
__be64 dev_id;
__be64 lun;
__be64 lun_wwn[2];
#define IPR_MAX_RES_PATH_LENGTH 48
__be64 res_path;
struct ipr_std_inq_data std_inq_data;
u8 reserved2[4];
__be64 reserved3[2];
u8 reserved4[8];
}__attribute__ ((packed, aligned (8)));
struct ipr_config_table_hdr {
u8 num_entries;
u8 flags;
#define IPR_UCODE_DOWNLOAD_REQ 0x10
__be16 reserved;
}__attribute__((packed, aligned (4)));
struct ipr_config_table_hdr64 {
__be16 num_entries;
__be16 reserved;
u8 flags;
u8 reserved2[11];
}__attribute__((packed, aligned (4)));
struct ipr_config_table {
struct ipr_config_table_hdr hdr;
struct ipr_config_table_entry dev[0];
}__attribute__((packed, aligned (4)));
struct ipr_config_table64 {
struct ipr_config_table_hdr64 hdr64;
struct ipr_config_table_entry64 dev[0];
}__attribute__((packed, aligned (8)));
struct ipr_config_table_entry_wrapper {
union {
struct ipr_config_table_entry *cfgte;
struct ipr_config_table_entry64 *cfgte64;
} u;
};
struct ipr_hostrcb_cfg_ch_not {
union {
struct ipr_config_table_entry cfgte;
struct ipr_config_table_entry64 cfgte64;
} u;
u8 reserved[936];
}__attribute__((packed, aligned (4)));
struct ipr_supported_device {
__be16 data_length;
u8 reserved;
u8 num_records;
struct ipr_std_inq_vpids vpids;
u8 reserved2[16];
}__attribute__((packed, aligned (4)));
struct ipr_hrr_queue {
struct ipr_ioa_cfg *ioa_cfg;
__be32 *host_rrq;
dma_addr_t host_rrq_dma;
#define IPR_HRRQ_REQ_RESP_HANDLE_MASK 0xfffffffc
#define IPR_HRRQ_RESP_BIT_SET 0x00000002
#define IPR_HRRQ_TOGGLE_BIT 0x00000001
#define IPR_HRRQ_REQ_RESP_HANDLE_SHIFT 2
#define IPR_ID_HRRQ_SELE_ENABLE 0x02
volatile __be32 *hrrq_start;
volatile __be32 *hrrq_end;
volatile __be32 *hrrq_curr;
struct list_head hrrq_free_q;
struct list_head hrrq_pending_q;
spinlock_t _lock;
spinlock_t *lock;
volatile u32 toggle_bit;
u32 size;
u32 min_cmd_id;
u32 max_cmd_id;
u8 allow_interrupts:1;
u8 ioa_is_dead:1;
u8 allow_cmds:1;
u8 removing_ioa:1;
struct blk_iopoll iopoll;
};
/* Command packet structure */
struct ipr_cmd_pkt {
u8 reserved; /* Reserved by IOA */
u8 hrrq_id;
u8 request_type;
#define IPR_RQTYPE_SCSICDB 0x00
#define IPR_RQTYPE_IOACMD 0x01
#define IPR_RQTYPE_HCAM 0x02
#define IPR_RQTYPE_ATA_PASSTHRU 0x04
u8 reserved2;
u8 flags_hi;
#define IPR_FLAGS_HI_WRITE_NOT_READ 0x80
#define IPR_FLAGS_HI_NO_ULEN_CHK 0x20
#define IPR_FLAGS_HI_SYNC_OVERRIDE 0x10
#define IPR_FLAGS_HI_SYNC_COMPLETE 0x08
#define IPR_FLAGS_HI_NO_LINK_DESC 0x04
u8 flags_lo;
#define IPR_FLAGS_LO_ALIGNED_BFR 0x20
#define IPR_FLAGS_LO_DELAY_AFTER_RST 0x10
#define IPR_FLAGS_LO_UNTAGGED_TASK 0x00
#define IPR_FLAGS_LO_SIMPLE_TASK 0x02
#define IPR_FLAGS_LO_ORDERED_TASK 0x04
#define IPR_FLAGS_LO_HEAD_OF_Q_TASK 0x06
#define IPR_FLAGS_LO_ACA_TASK 0x08
u8 cdb[16];
__be16 timeout;
}__attribute__ ((packed, aligned(4)));
struct ipr_ioarcb_ata_regs { /* 22 bytes */
u8 flags;
#define IPR_ATA_FLAG_PACKET_CMD 0x80
#define IPR_ATA_FLAG_XFER_TYPE_DMA 0x40
#define IPR_ATA_FLAG_STATUS_ON_GOOD_COMPLETION 0x20
u8 reserved[3];
__be16 data;
u8 feature;
u8 nsect;
u8 lbal;
u8 lbam;
u8 lbah;
u8 device;
u8 command;
u8 reserved2[3];
u8 hob_feature;
u8 hob_nsect;
u8 hob_lbal;
u8 hob_lbam;
u8 hob_lbah;
u8 ctl;
}__attribute__ ((packed, aligned(2)));
struct ipr_ioadl_desc {
__be32 flags_and_data_len;
#define IPR_IOADL_FLAGS_MASK 0xff000000
#define IPR_IOADL_GET_FLAGS(x) (be32_to_cpu(x) & IPR_IOADL_FLAGS_MASK)
#define IPR_IOADL_DATA_LEN_MASK 0x00ffffff
#define IPR_IOADL_GET_DATA_LEN(x) (be32_to_cpu(x) & IPR_IOADL_DATA_LEN_MASK)
#define IPR_IOADL_FLAGS_READ 0x48000000
#define IPR_IOADL_FLAGS_READ_LAST 0x49000000
#define IPR_IOADL_FLAGS_WRITE 0x68000000
#define IPR_IOADL_FLAGS_WRITE_LAST 0x69000000
#define IPR_IOADL_FLAGS_LAST 0x01000000
__be32 address;
}__attribute__((packed, aligned (8)));
struct ipr_ioadl64_desc {
__be32 flags;
__be32 data_len;
__be64 address;
}__attribute__((packed, aligned (16)));
struct ipr_ata64_ioadl {
struct ipr_ioarcb_ata_regs regs;
u16 reserved[5];
struct ipr_ioadl64_desc ioadl64[IPR_NUM_IOADL_ENTRIES];
}__attribute__((packed, aligned (16)));
struct ipr_ioarcb_add_data {
union {
struct ipr_ioarcb_ata_regs regs;
struct ipr_ioadl_desc ioadl[5];
__be32 add_cmd_parms[10];
} u;
}__attribute__ ((packed, aligned (4)));
struct ipr_ioarcb_sis64_add_addr_ecb {
__be64 ioasa_host_pci_addr;
__be64 data_ioadl_addr;
__be64 reserved;
__be32 ext_control_buf[4];
}__attribute__((packed, aligned (8)));
/* IOA Request Control Block 128 bytes */
struct ipr_ioarcb {
union {
__be32 ioarcb_host_pci_addr;
__be64 ioarcb_host_pci_addr64;
} a;
__be32 res_handle;
__be32 host_response_handle;
__be32 reserved1;
__be32 reserved2;
__be32 reserved3;
__be32 data_transfer_length;
__be32 read_data_transfer_length;
__be32 write_ioadl_addr;
__be32 ioadl_len;
__be32 read_ioadl_addr;
__be32 read_ioadl_len;
__be32 ioasa_host_pci_addr;
__be16 ioasa_len;
__be16 reserved4;
struct ipr_cmd_pkt cmd_pkt;
__be16 add_cmd_parms_offset;
__be16 add_cmd_parms_len;
union {
struct ipr_ioarcb_add_data add_data;
struct ipr_ioarcb_sis64_add_addr_ecb sis64_addr_data;
} u;
}__attribute__((packed, aligned (4)));
struct ipr_ioasa_vset {
__be32 failing_lba_hi;
__be32 failing_lba_lo;
__be32 reserved;
}__attribute__((packed, aligned (4)));
struct ipr_ioasa_af_dasd {
__be32 failing_lba;
__be32 reserved[2];
}__attribute__((packed, aligned (4)));
struct ipr_ioasa_gpdd {
u8 end_state;
u8 bus_phase;
__be16 reserved;
__be32 ioa_data[2];
}__attribute__((packed, aligned (4)));
struct ipr_ioasa_gata {
u8 error;
u8 nsect; /* Interrupt reason */
u8 lbal;
u8 lbam;
u8 lbah;
u8 device;
u8 status;
u8 alt_status; /* ATA CTL */
u8 hob_nsect;
u8 hob_lbal;
u8 hob_lbam;
u8 hob_lbah;
}__attribute__((packed, aligned (4)));
struct ipr_auto_sense {
__be16 auto_sense_len;
__be16 ioa_data_len;
__be32 data[SCSI_SENSE_BUFFERSIZE/sizeof(__be32)];
};
struct ipr_ioasa_hdr {
__be32 ioasc;
#define IPR_IOASC_SENSE_KEY(ioasc) ((ioasc) >> 24)
#define IPR_IOASC_SENSE_CODE(ioasc) (((ioasc) & 0x00ff0000) >> 16)
#define IPR_IOASC_SENSE_QUAL(ioasc) (((ioasc) & 0x0000ff00) >> 8)
#define IPR_IOASC_SENSE_STATUS(ioasc) ((ioasc) & 0x000000ff)
__be16 ret_stat_len; /* Length of the returned IOASA */
__be16 avail_stat_len; /* Total Length of status available. */
__be32 residual_data_len; /* number of bytes in the host data */
/* buffers that were not used by the IOARCB command. */
__be32 ilid;
#define IPR_NO_ILID 0
#define IPR_DRIVER_ILID 0xffffffff
__be32 fd_ioasc;
__be32 fd_phys_locator;
__be32 fd_res_handle;
__be32 ioasc_specific; /* status code specific field */
#define IPR_ADDITIONAL_STATUS_FMT 0x80000000
#define IPR_AUTOSENSE_VALID 0x40000000
#define IPR_ATA_DEVICE_WAS_RESET 0x20000000
#define IPR_IOASC_SPECIFIC_MASK 0x00ffffff
#define IPR_FIELD_POINTER_VALID (0x80000000 >> 8)
#define IPR_FIELD_POINTER_MASK 0x0000ffff
}__attribute__((packed, aligned (4)));
struct ipr_ioasa {
struct ipr_ioasa_hdr hdr;
union {
struct ipr_ioasa_vset vset;
struct ipr_ioasa_af_dasd dasd;
struct ipr_ioasa_gpdd gpdd;
struct ipr_ioasa_gata gata;
} u;
struct ipr_auto_sense auto_sense;
}__attribute__((packed, aligned (4)));
struct ipr_ioasa64 {
struct ipr_ioasa_hdr hdr;
u8 fd_res_path[8];
union {
struct ipr_ioasa_vset vset;
struct ipr_ioasa_af_dasd dasd;
struct ipr_ioasa_gpdd gpdd;
struct ipr_ioasa_gata gata;
} u;
struct ipr_auto_sense auto_sense;
}__attribute__((packed, aligned (4)));
struct ipr_mode_parm_hdr {
u8 length;
u8 medium_type;
u8 device_spec_parms;
u8 block_desc_len;
}__attribute__((packed));
struct ipr_mode_pages {
struct ipr_mode_parm_hdr hdr;
u8 data[255 - sizeof(struct ipr_mode_parm_hdr)];
}__attribute__((packed));
struct ipr_mode_page_hdr {
u8 ps_page_code;
#define IPR_MODE_PAGE_PS 0x80
#define IPR_GET_MODE_PAGE_CODE(hdr) ((hdr)->ps_page_code & 0x3F)
u8 page_length;
}__attribute__ ((packed));
struct ipr_dev_bus_entry {
struct ipr_res_addr res_addr;
u8 flags;
#define IPR_SCSI_ATTR_ENABLE_QAS 0x80
#define IPR_SCSI_ATTR_DISABLE_QAS 0x40
#define IPR_SCSI_ATTR_QAS_MASK 0xC0
#define IPR_SCSI_ATTR_ENABLE_TM 0x20
#define IPR_SCSI_ATTR_NO_TERM_PWR 0x10
#define IPR_SCSI_ATTR_TM_SUPPORTED 0x08
#define IPR_SCSI_ATTR_LVD_TO_SE_NOT_ALLOWED 0x04
u8 scsi_id;
u8 bus_width;
u8 extended_reset_delay;
#define IPR_EXTENDED_RESET_DELAY 7
__be32 max_xfer_rate;
u8 spinup_delay;
u8 reserved3;
__be16 reserved4;
}__attribute__((packed, aligned (4)));
struct ipr_mode_page28 {
struct ipr_mode_page_hdr hdr;
u8 num_entries;
u8 entry_length;
struct ipr_dev_bus_entry bus[0];
}__attribute__((packed));
struct ipr_mode_page24 {
struct ipr_mode_page_hdr hdr;
u8 flags;
#define IPR_ENABLE_DUAL_IOA_AF 0x80
}__attribute__((packed));
struct ipr_ioa_vpd {
struct ipr_std_inq_data std_inq_data;
u8 ascii_part_num[12];
u8 reserved[40];
u8 ascii_plant_code[4];
}__attribute__((packed));
struct ipr_inquiry_page3 {
u8 peri_qual_dev_type;
u8 page_code;
u8 reserved1;
u8 page_length;
u8 ascii_len;
u8 reserved2[3];
u8 load_id[4];
u8 major_release;
u8 card_type;
u8 minor_release[2];
u8 ptf_number[4];
u8 patch_number[4];
}__attribute__((packed));
struct ipr_inquiry_cap {
u8 peri_qual_dev_type;
u8 page_code;
u8 reserved1;
u8 page_length;
u8 ascii_len;
u8 reserved2;
u8 sis_version[2];
u8 cap;
#define IPR_CAP_DUAL_IOA_RAID 0x80
u8 reserved3[15];
}__attribute__((packed));
#define IPR_INQUIRY_PAGE0_ENTRIES 20
struct ipr_inquiry_page0 {
u8 peri_qual_dev_type;
u8 page_code;
u8 reserved1;
u8 len;
u8 page[IPR_INQUIRY_PAGE0_ENTRIES];
}__attribute__((packed));
struct ipr_hostrcb_device_data_entry {
struct ipr_vpd vpd;
struct ipr_res_addr dev_res_addr;
struct ipr_vpd new_vpd;
struct ipr_vpd ioa_last_with_dev_vpd;
struct ipr_vpd cfc_last_with_dev_vpd;
__be32 ioa_data[5];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_device_data_entry_enhanced {
struct ipr_ext_vpd vpd;
u8 ccin[4];
struct ipr_res_addr dev_res_addr;
struct ipr_ext_vpd new_vpd;
u8 new_ccin[4];
struct ipr_ext_vpd ioa_last_with_dev_vpd;
struct ipr_ext_vpd cfc_last_with_dev_vpd;
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb64_device_data_entry_enhanced {
struct ipr_ext_vpd vpd;
u8 ccin[4];
u8 res_path[8];
struct ipr_ext_vpd new_vpd;
u8 new_ccin[4];
struct ipr_ext_vpd ioa_last_with_dev_vpd;
struct ipr_ext_vpd cfc_last_with_dev_vpd;
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_array_data_entry {
struct ipr_vpd vpd;
struct ipr_res_addr expected_dev_res_addr;
struct ipr_res_addr dev_res_addr;
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb64_array_data_entry {
struct ipr_ext_vpd vpd;
u8 ccin[4];
u8 expected_res_path[8];
u8 res_path[8];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_array_data_entry_enhanced {
struct ipr_ext_vpd vpd;
u8 ccin[4];
struct ipr_res_addr expected_dev_res_addr;
struct ipr_res_addr dev_res_addr;
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_ff_error {
__be32 ioa_data[758];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_01_error {
__be32 seek_counter;
__be32 read_counter;
u8 sense_data[32];
__be32 ioa_data[236];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_02_error {
struct ipr_vpd ioa_vpd;
struct ipr_vpd cfc_vpd;
struct ipr_vpd ioa_last_attached_to_cfc_vpd;
struct ipr_vpd cfc_last_attached_to_ioa_vpd;
__be32 ioa_data[3];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_12_error {
struct ipr_ext_vpd ioa_vpd;
struct ipr_ext_vpd cfc_vpd;
struct ipr_ext_vpd ioa_last_attached_to_cfc_vpd;
struct ipr_ext_vpd cfc_last_attached_to_ioa_vpd;
__be32 ioa_data[3];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_03_error {
struct ipr_vpd ioa_vpd;
struct ipr_vpd cfc_vpd;
__be32 errors_detected;
__be32 errors_logged;
u8 ioa_data[12];
struct ipr_hostrcb_device_data_entry dev[3];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_13_error {
struct ipr_ext_vpd ioa_vpd;
struct ipr_ext_vpd cfc_vpd;
__be32 errors_detected;
__be32 errors_logged;
struct ipr_hostrcb_device_data_entry_enhanced dev[3];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_23_error {
struct ipr_ext_vpd ioa_vpd;
struct ipr_ext_vpd cfc_vpd;
__be32 errors_detected;
__be32 errors_logged;
struct ipr_hostrcb64_device_data_entry_enhanced dev[3];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_04_error {
struct ipr_vpd ioa_vpd;
struct ipr_vpd cfc_vpd;
u8 ioa_data[12];
struct ipr_hostrcb_array_data_entry array_member[10];
__be32 exposed_mode_adn;
__be32 array_id;
struct ipr_vpd incomp_dev_vpd;
__be32 ioa_data2;
struct ipr_hostrcb_array_data_entry array_member2[8];
struct ipr_res_addr last_func_vset_res_addr;
u8 vset_serial_num[IPR_SERIAL_NUM_LEN];
u8 protection_level[8];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_14_error {
struct ipr_ext_vpd ioa_vpd;
struct ipr_ext_vpd cfc_vpd;
__be32 exposed_mode_adn;
__be32 array_id;
struct ipr_res_addr last_func_vset_res_addr;
u8 vset_serial_num[IPR_SERIAL_NUM_LEN];
u8 protection_level[8];
__be32 num_entries;
struct ipr_hostrcb_array_data_entry_enhanced array_member[18];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_24_error {
struct ipr_ext_vpd ioa_vpd;
struct ipr_ext_vpd cfc_vpd;
u8 reserved[2];
u8 exposed_mode_adn;
#define IPR_INVALID_ARRAY_DEV_NUM 0xff
u8 array_id;
u8 last_res_path[8];
u8 protection_level[8];
struct ipr_ext_vpd64 array_vpd;
u8 description[16];
u8 reserved2[3];
u8 num_entries;
struct ipr_hostrcb64_array_data_entry array_member[32];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_07_error {
u8 failure_reason[64];
struct ipr_vpd vpd;
u32 data[222];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_17_error {
u8 failure_reason[64];
struct ipr_ext_vpd vpd;
u32 data[476];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_config_element {
u8 type_status;
#define IPR_PATH_CFG_TYPE_MASK 0xF0
#define IPR_PATH_CFG_NOT_EXIST 0x00
#define IPR_PATH_CFG_IOA_PORT 0x10
#define IPR_PATH_CFG_EXP_PORT 0x20
#define IPR_PATH_CFG_DEVICE_PORT 0x30
#define IPR_PATH_CFG_DEVICE_LUN 0x40
#define IPR_PATH_CFG_STATUS_MASK 0x0F
#define IPR_PATH_CFG_NO_PROB 0x00
#define IPR_PATH_CFG_DEGRADED 0x01
#define IPR_PATH_CFG_FAILED 0x02
#define IPR_PATH_CFG_SUSPECT 0x03
#define IPR_PATH_NOT_DETECTED 0x04
#define IPR_PATH_INCORRECT_CONN 0x05
u8 cascaded_expander;
u8 phy;
u8 link_rate;
#define IPR_PHY_LINK_RATE_MASK 0x0F
__be32 wwid[2];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb64_config_element {
__be16 length;
u8 descriptor_id;
#define IPR_DESCRIPTOR_MASK 0xC0
#define IPR_DESCRIPTOR_SIS64 0x00
u8 reserved;
u8 type_status;
u8 reserved2[2];
u8 link_rate;
u8 res_path[8];
__be32 wwid[2];
}__attribute__((packed, aligned (8)));
struct ipr_hostrcb_fabric_desc {
__be16 length;
u8 ioa_port;
u8 cascaded_expander;
u8 phy;
u8 path_state;
#define IPR_PATH_ACTIVE_MASK 0xC0
#define IPR_PATH_NO_INFO 0x00
#define IPR_PATH_ACTIVE 0x40
#define IPR_PATH_NOT_ACTIVE 0x80
#define IPR_PATH_STATE_MASK 0x0F
#define IPR_PATH_STATE_NO_INFO 0x00
#define IPR_PATH_HEALTHY 0x01
#define IPR_PATH_DEGRADED 0x02
#define IPR_PATH_FAILED 0x03
__be16 num_entries;
struct ipr_hostrcb_config_element elem[1];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb64_fabric_desc {
__be16 length;
u8 descriptor_id;
u8 reserved[2];
u8 path_state;
u8 reserved2[2];
u8 res_path[8];
u8 reserved3[6];
__be16 num_entries;
struct ipr_hostrcb64_config_element elem[1];
}__attribute__((packed, aligned (8)));
#define for_each_hrrq(hrrq, ioa_cfg) \
for (hrrq = (ioa_cfg)->hrrq; \
hrrq < ((ioa_cfg)->hrrq + (ioa_cfg)->hrrq_num); hrrq++)
#define for_each_fabric_cfg(fabric, cfg) \
for (cfg = (fabric)->elem; \
cfg < ((fabric)->elem + be16_to_cpu((fabric)->num_entries)); \
cfg++)
struct ipr_hostrcb_type_20_error {
u8 failure_reason[64];
u8 reserved[3];
u8 num_entries;
struct ipr_hostrcb_fabric_desc desc[1];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_type_30_error {
u8 failure_reason[64];
u8 reserved[3];
u8 num_entries;
struct ipr_hostrcb64_fabric_desc desc[1];
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb_error {
__be32 fd_ioasc;
struct ipr_res_addr fd_res_addr;
__be32 fd_res_handle;
__be32 prc;
union {
struct ipr_hostrcb_type_ff_error type_ff_error;
struct ipr_hostrcb_type_01_error type_01_error;
struct ipr_hostrcb_type_02_error type_02_error;
struct ipr_hostrcb_type_03_error type_03_error;
struct ipr_hostrcb_type_04_error type_04_error;
struct ipr_hostrcb_type_07_error type_07_error;
struct ipr_hostrcb_type_12_error type_12_error;
struct ipr_hostrcb_type_13_error type_13_error;
struct ipr_hostrcb_type_14_error type_14_error;
struct ipr_hostrcb_type_17_error type_17_error;
struct ipr_hostrcb_type_20_error type_20_error;
} u;
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb64_error {
__be32 fd_ioasc;
__be32 ioa_fw_level;
__be32 fd_res_handle;
__be32 prc;
__be64 fd_dev_id;
__be64 fd_lun;
u8 fd_res_path[8];
__be64 time_stamp;
u8 reserved[16];
union {
struct ipr_hostrcb_type_ff_error type_ff_error;
struct ipr_hostrcb_type_12_error type_12_error;
struct ipr_hostrcb_type_17_error type_17_error;
struct ipr_hostrcb_type_23_error type_23_error;
struct ipr_hostrcb_type_24_error type_24_error;
struct ipr_hostrcb_type_30_error type_30_error;
} u;
}__attribute__((packed, aligned (8)));
struct ipr_hostrcb_raw {
__be32 data[sizeof(struct ipr_hostrcb_error)/sizeof(__be32)];
}__attribute__((packed, aligned (4)));
struct ipr_hcam {
u8 op_code;
#define IPR_HOST_RCB_OP_CODE_CONFIG_CHANGE 0xE1
#define IPR_HOST_RCB_OP_CODE_LOG_DATA 0xE2
u8 notify_type;
#define IPR_HOST_RCB_NOTIF_TYPE_EXISTING_CHANGED 0x00
#define IPR_HOST_RCB_NOTIF_TYPE_NEW_ENTRY 0x01
#define IPR_HOST_RCB_NOTIF_TYPE_REM_ENTRY 0x02
#define IPR_HOST_RCB_NOTIF_TYPE_ERROR_LOG_ENTRY 0x10
#define IPR_HOST_RCB_NOTIF_TYPE_INFORMATION_ENTRY 0x11
u8 notifications_lost;
#define IPR_HOST_RCB_NO_NOTIFICATIONS_LOST 0
#define IPR_HOST_RCB_NOTIFICATIONS_LOST 0x80
u8 flags;
#define IPR_HOSTRCB_INTERNAL_OPER 0x80
#define IPR_HOSTRCB_ERR_RESP_SENT 0x40
u8 overlay_id;
#define IPR_HOST_RCB_OVERLAY_ID_1 0x01
#define IPR_HOST_RCB_OVERLAY_ID_2 0x02
#define IPR_HOST_RCB_OVERLAY_ID_3 0x03
#define IPR_HOST_RCB_OVERLAY_ID_4 0x04
#define IPR_HOST_RCB_OVERLAY_ID_6 0x06
#define IPR_HOST_RCB_OVERLAY_ID_7 0x07
#define IPR_HOST_RCB_OVERLAY_ID_12 0x12
#define IPR_HOST_RCB_OVERLAY_ID_13 0x13
#define IPR_HOST_RCB_OVERLAY_ID_14 0x14
#define IPR_HOST_RCB_OVERLAY_ID_16 0x16
#define IPR_HOST_RCB_OVERLAY_ID_17 0x17
#define IPR_HOST_RCB_OVERLAY_ID_20 0x20
#define IPR_HOST_RCB_OVERLAY_ID_23 0x23
#define IPR_HOST_RCB_OVERLAY_ID_24 0x24
#define IPR_HOST_RCB_OVERLAY_ID_26 0x26
#define IPR_HOST_RCB_OVERLAY_ID_30 0x30
#define IPR_HOST_RCB_OVERLAY_ID_DEFAULT 0xFF
u8 reserved1[3];
__be32 ilid;
__be32 time_since_last_ioa_reset;
__be32 reserved2;
__be32 length;
union {
struct ipr_hostrcb_error error;
struct ipr_hostrcb64_error error64;
struct ipr_hostrcb_cfg_ch_not ccn;
struct ipr_hostrcb_raw raw;
} u;
}__attribute__((packed, aligned (4)));
struct ipr_hostrcb {
struct ipr_hcam hcam;
dma_addr_t hostrcb_dma;
struct list_head queue;
struct ipr_ioa_cfg *ioa_cfg;
char rp_buffer[IPR_MAX_RES_PATH_LENGTH];
};
/* IPR smart dump table structures */
struct ipr_sdt_entry {
__be32 start_token;
__be32 end_token;
u8 reserved[4];
u8 flags;
#define IPR_SDT_ENDIAN 0x80
#define IPR_SDT_VALID_ENTRY 0x20
u8 resv;
__be16 priority;
}__attribute__((packed, aligned (4)));
struct ipr_sdt_header {
__be32 state;
__be32 num_entries;
__be32 num_entries_used;
__be32 dump_size;
}__attribute__((packed, aligned (4)));
struct ipr_sdt {
struct ipr_sdt_header hdr;
struct ipr_sdt_entry entry[IPR_FMT3_NUM_SDT_ENTRIES];
}__attribute__((packed, aligned (4)));
struct ipr_uc_sdt {
struct ipr_sdt_header hdr;
struct ipr_sdt_entry entry[1];
}__attribute__((packed, aligned (4)));
/*
* Driver types
*/
struct ipr_bus_attributes {
u8 bus;
u8 qas_enabled;
u8 bus_width;
u8 reserved;
u32 max_xfer_rate;
};
struct ipr_sata_port {
struct ipr_ioa_cfg *ioa_cfg;
struct ata_port *ap;
struct ipr_resource_entry *res;
struct ipr_ioasa_gata ioasa;
};
struct ipr_resource_entry {
u8 needs_sync_complete:1;
u8 in_erp:1;
u8 add_to_ml:1;
u8 del_from_ml:1;
u8 resetting_device:1;
u32 bus; /* AKA channel */
u32 target; /* AKA id */
u32 lun;
#define IPR_ARRAY_VIRTUAL_BUS 0x1
#define IPR_VSET_VIRTUAL_BUS 0x2
#define IPR_IOAFP_VIRTUAL_BUS 0x3
#define IPR_GET_RES_PHYS_LOC(res) \
(((res)->bus << 24) | ((res)->target << 8) | (res)->lun)
u8 ata_class;
u8 flags;
__be16 res_flags;
u8 type;
u8 qmodel;
struct ipr_std_inq_data std_inq_data;
__be32 res_handle;
__be64 dev_id;
__be64 lun_wwn;
struct scsi_lun dev_lun;
u8 res_path[8];
struct ipr_ioa_cfg *ioa_cfg;
struct scsi_device *sdev;
struct ipr_sata_port *sata_port;
struct list_head queue;
}; /* struct ipr_resource_entry */
struct ipr_resource_hdr {
u16 num_entries;
u16 reserved;
};
struct ipr_misc_cbs {
struct ipr_ioa_vpd ioa_vpd;
struct ipr_inquiry_page0 page0_data;
struct ipr_inquiry_page3 page3_data;
struct ipr_inquiry_cap cap;
struct ipr_mode_pages mode_pages;
struct ipr_supported_device supp_dev;
};
struct ipr_interrupt_offsets {
unsigned long set_interrupt_mask_reg;
unsigned long clr_interrupt_mask_reg;
unsigned long clr_interrupt_mask_reg32;
unsigned long sense_interrupt_mask_reg;
unsigned long sense_interrupt_mask_reg32;
unsigned long clr_interrupt_reg;
unsigned long clr_interrupt_reg32;
unsigned long sense_interrupt_reg;
unsigned long sense_interrupt_reg32;
unsigned long ioarrin_reg;
unsigned long sense_uproc_interrupt_reg;
unsigned long sense_uproc_interrupt_reg32;
unsigned long set_uproc_interrupt_reg;
unsigned long set_uproc_interrupt_reg32;
unsigned long clr_uproc_interrupt_reg;
unsigned long clr_uproc_interrupt_reg32;
unsigned long init_feedback_reg;
unsigned long dump_addr_reg;
unsigned long dump_data_reg;
#define IPR_ENDIAN_SWAP_KEY 0x00080800
unsigned long endian_swap_reg;
};
struct ipr_interrupts {
void __iomem *set_interrupt_mask_reg;
void __iomem *clr_interrupt_mask_reg;
void __iomem *clr_interrupt_mask_reg32;
void __iomem *sense_interrupt_mask_reg;
void __iomem *sense_interrupt_mask_reg32;
void __iomem *clr_interrupt_reg;
void __iomem *clr_interrupt_reg32;
void __iomem *sense_interrupt_reg;
void __iomem *sense_interrupt_reg32;
void __iomem *ioarrin_reg;
void __iomem *sense_uproc_interrupt_reg;
void __iomem *sense_uproc_interrupt_reg32;
void __iomem *set_uproc_interrupt_reg;
void __iomem *set_uproc_interrupt_reg32;
void __iomem *clr_uproc_interrupt_reg;
void __iomem *clr_uproc_interrupt_reg32;
void __iomem *init_feedback_reg;
void __iomem *dump_addr_reg;
void __iomem *dump_data_reg;
void __iomem *endian_swap_reg;
};
struct ipr_chip_cfg_t {
u32 mailbox;
u16 max_cmds;
u8 cache_line_size;
u8 clear_isr;
u32 iopoll_weight;
struct ipr_interrupt_offsets regs;
};
struct ipr_chip_t {
u16 vendor;
u16 device;
u16 intr_type;
#define IPR_USE_LSI 0x00
#define IPR_USE_MSI 0x01
#define IPR_USE_MSIX 0x02
u16 sis_type;
#define IPR_SIS32 0x00
#define IPR_SIS64 0x01
u16 bist_method;
#define IPR_PCI_CFG 0x00
#define IPR_MMIO 0x01
const struct ipr_chip_cfg_t *cfg;
};
enum ipr_shutdown_type {
IPR_SHUTDOWN_NORMAL = 0x00,
IPR_SHUTDOWN_PREPARE_FOR_NORMAL = 0x40,
IPR_SHUTDOWN_ABBREV = 0x80,
IPR_SHUTDOWN_NONE = 0x100
};
struct ipr_trace_entry {
u32 time;
u8 op_code;
u8 ata_op_code;
u8 type;
#define IPR_TRACE_START 0x00
#define IPR_TRACE_FINISH 0xff
u8 cmd_index;
__be32 res_handle;
union {
u32 ioasc;
u32 add_data;
u32 res_addr;
} u;
};
struct ipr_sglist {
u32 order;
u32 num_sg;
u32 num_dma_sg;
u32 buffer_len;
struct scatterlist scatterlist[1];
};
enum ipr_sdt_state {
INACTIVE,
WAIT_FOR_DUMP,
GET_DUMP,
READ_DUMP,
ABORT_DUMP,
DUMP_OBTAINED
};
/* Per-controller data */
struct ipr_ioa_cfg {
char eye_catcher[8];
#define IPR_EYECATCHER "iprcfg"
struct list_head queue;
u8 in_reset_reload:1;
u8 in_ioa_bringdown:1;
u8 ioa_unit_checked:1;
u8 dump_taken:1;
u8 allow_ml_add_del:1;
u8 needs_hard_reset:1;
u8 dual_raid:1;
u8 needs_warm_reset:1;
u8 msi_received:1;
u8 sis64:1;
u8 dump_timeout:1;
u8 cfg_locked:1;
u8 clear_isr:1;
u8 revid;
/*
* Bitmaps for SIS64 generated target values
*/
unsigned long target_ids[BITS_TO_LONGS(IPR_MAX_SIS64_DEVS)];
unsigned long array_ids[BITS_TO_LONGS(IPR_MAX_SIS64_DEVS)];
unsigned long vset_ids[BITS_TO_LONGS(IPR_MAX_SIS64_DEVS)];
u16 type; /* CCIN of the card */
u8 log_level;
#define IPR_MAX_LOG_LEVEL 4
#define IPR_DEFAULT_LOG_LEVEL 2
#define IPR_NUM_TRACE_INDEX_BITS 8
#define IPR_NUM_TRACE_ENTRIES (1 << IPR_NUM_TRACE_INDEX_BITS)
#define IPR_TRACE_INDEX_MASK (IPR_NUM_TRACE_ENTRIES - 1)
#define IPR_TRACE_SIZE (sizeof(struct ipr_trace_entry) * IPR_NUM_TRACE_ENTRIES)
char trace_start[8];
#define IPR_TRACE_START_LABEL "trace"
struct ipr_trace_entry *trace;
atomic_t trace_index;
char cfg_table_start[8];
#define IPR_CFG_TBL_START "cfg"
union {
struct ipr_config_table *cfg_table;
struct ipr_config_table64 *cfg_table64;
} u;
dma_addr_t cfg_table_dma;
u32 cfg_table_size;
u32 max_devs_supported;
char resource_table_label[8];
#define IPR_RES_TABLE_LABEL "res_tbl"
struct ipr_resource_entry *res_entries;
struct list_head free_res_q;
struct list_head used_res_q;
char ipr_hcam_label[8];
#define IPR_HCAM_LABEL "hcams"
struct ipr_hostrcb *hostrcb[IPR_NUM_HCAMS];
dma_addr_t hostrcb_dma[IPR_NUM_HCAMS];
struct list_head hostrcb_free_q;
struct list_head hostrcb_pending_q;
struct ipr_hrr_queue hrrq[IPR_MAX_HRRQ_NUM];
u32 hrrq_num;
atomic_t hrrq_index;
u16 identify_hrrq_index;
struct ipr_bus_attributes bus_attr[IPR_MAX_NUM_BUSES];
unsigned int transop_timeout;
const struct ipr_chip_cfg_t *chip_cfg;
const struct ipr_chip_t *ipr_chip;
void __iomem *hdw_dma_regs; /* iomapped PCI memory space */
unsigned long hdw_dma_regs_pci; /* raw PCI memory space */
void __iomem *ioa_mailbox;
struct ipr_interrupts regs;
u16 saved_pcix_cmd_reg;
u16 reset_retries;
u32 errors_logged;
u32 doorbell;
struct Scsi_Host *host;
struct pci_dev *pdev;
struct ipr_sglist *ucode_sglist;
u8 saved_mode_page_len;
struct work_struct work_q;
wait_queue_head_t reset_wait_q;
wait_queue_head_t msi_wait_q;
struct ipr_dump *dump;
enum ipr_sdt_state sdt_state;
struct ipr_misc_cbs *vpd_cbs;
dma_addr_t vpd_cbs_dma;
struct pci_pool *ipr_cmd_pool;
struct ipr_cmnd *reset_cmd;
int (*reset) (struct ipr_cmnd *);
struct ata_host ata_host;
char ipr_cmd_label[8];
#define IPR_CMD_LABEL "ipr_cmd"
u32 max_cmds;
struct ipr_cmnd **ipr_cmnd_list;
dma_addr_t *ipr_cmnd_list_dma;
u16 intr_flag;
unsigned int nvectors;
struct {
unsigned short vec;
char desc[22];
} vectors_info[IPR_MAX_MSIX_VECTORS];
u32 iopoll_weight;
}; /* struct ipr_ioa_cfg */
struct ipr_cmnd {
struct ipr_ioarcb ioarcb;
union {
struct ipr_ioadl_desc ioadl[IPR_NUM_IOADL_ENTRIES];
struct ipr_ioadl64_desc ioadl64[IPR_NUM_IOADL_ENTRIES];
struct ipr_ata64_ioadl ata_ioadl;
} i;
union {
struct ipr_ioasa ioasa;
struct ipr_ioasa64 ioasa64;
} s;
struct list_head queue;
struct scsi_cmnd *scsi_cmd;
struct ata_queued_cmd *qc;
struct completion completion;
struct timer_list timer;
void (*fast_done) (struct ipr_cmnd *);
void (*done) (struct ipr_cmnd *);
int (*job_step) (struct ipr_cmnd *);
int (*job_step_failed) (struct ipr_cmnd *);
u16 cmd_index;
u8 sense_buffer[SCSI_SENSE_BUFFERSIZE];
dma_addr_t sense_buffer_dma;
unsigned short dma_use_sg;
dma_addr_t dma_addr;
struct ipr_cmnd *sibling;
union {
enum ipr_shutdown_type shutdown_type;
struct ipr_hostrcb *hostrcb;
unsigned long time_left;
unsigned long scratch;
struct ipr_resource_entry *res;
struct scsi_device *sdev;
} u;
struct completion *eh_comp;
struct ipr_hrr_queue *hrrq;
struct ipr_ioa_cfg *ioa_cfg;
};
struct ipr_ses_table_entry {
char product_id[17];
char compare_product_id_byte[17];
u32 max_bus_speed_limit; /* MB/sec limit for this backplane */
};
struct ipr_dump_header {
u32 eye_catcher;
#define IPR_DUMP_EYE_CATCHER 0xC5D4E3F2
u32 len;
u32 num_entries;
u32 first_entry_offset;
u32 status;
#define IPR_DUMP_STATUS_SUCCESS 0
#define IPR_DUMP_STATUS_QUAL_SUCCESS 2
#define IPR_DUMP_STATUS_FAILED 0xffffffff
u32 os;
#define IPR_DUMP_OS_LINUX 0x4C4E5558
u32 driver_name;
#define IPR_DUMP_DRIVER_NAME 0x49505232
}__attribute__((packed, aligned (4)));
struct ipr_dump_entry_header {
u32 eye_catcher;
#define IPR_DUMP_EYE_CATCHER 0xC5D4E3F2
u32 len;
u32 num_elems;
u32 offset;
u32 data_type;
#define IPR_DUMP_DATA_TYPE_ASCII 0x41534349
#define IPR_DUMP_DATA_TYPE_BINARY 0x42494E41
u32 id;
#define IPR_DUMP_IOA_DUMP_ID 0x494F4131
#define IPR_DUMP_LOCATION_ID 0x4C4F4341
#define IPR_DUMP_TRACE_ID 0x54524143
#define IPR_DUMP_DRIVER_VERSION_ID 0x44525652
#define IPR_DUMP_DRIVER_TYPE_ID 0x54595045
#define IPR_DUMP_IOA_CTRL_BLK 0x494F4342
#define IPR_DUMP_PEND_OPS 0x414F5053
u32 status;
}__attribute__((packed, aligned (4)));
struct ipr_dump_location_entry {
struct ipr_dump_entry_header hdr;
u8 location[20];
}__attribute__((packed));
struct ipr_dump_trace_entry {
struct ipr_dump_entry_header hdr;
u32 trace[IPR_TRACE_SIZE / sizeof(u32)];
}__attribute__((packed, aligned (4)));
struct ipr_dump_version_entry {
struct ipr_dump_entry_header hdr;
u8 version[sizeof(IPR_DRIVER_VERSION)];
};
struct ipr_dump_ioa_type_entry {
struct ipr_dump_entry_header hdr;
u32 type;
u32 fw_version;
};
struct ipr_driver_dump {
struct ipr_dump_header hdr;
struct ipr_dump_version_entry version_entry;
struct ipr_dump_location_entry location_entry;
struct ipr_dump_ioa_type_entry ioa_type_entry;
struct ipr_dump_trace_entry trace_entry;
}__attribute__((packed));
struct ipr_ioa_dump {
struct ipr_dump_entry_header hdr;
struct ipr_sdt sdt;
__be32 **ioa_data;
u32 reserved;
u32 next_page_index;
u32 page_offset;
u32 format;
}__attribute__((packed, aligned (4)));
struct ipr_dump {
struct kref kref;
struct ipr_ioa_cfg *ioa_cfg;
struct ipr_driver_dump driver_dump;
struct ipr_ioa_dump ioa_dump;
};
struct ipr_error_table_t {
u32 ioasc;
int log_ioasa;
int log_hcam;
char *error;
};
struct ipr_software_inq_lid_info {
__be32 load_id;
__be32 timestamp[3];
}__attribute__((packed, aligned (4)));
struct ipr_ucode_image_header {
__be32 header_length;
__be32 lid_table_offset;
u8 major_release;
u8 card_type;
u8 minor_release[2];
u8 reserved[20];
char eyecatcher[16];
__be32 num_lids;
struct ipr_software_inq_lid_info lid[1];
}__attribute__((packed, aligned (4)));
/*
* Macros
*/
#define IPR_DBG_CMD(CMD) if (ipr_debug) { CMD; }
#ifdef CONFIG_SCSI_IPR_TRACE
#define ipr_create_trace_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
#define ipr_remove_trace_file(kobj, attr) sysfs_remove_bin_file(kobj, attr)
#else
#define ipr_create_trace_file(kobj, attr) 0
#define ipr_remove_trace_file(kobj, attr) do { } while(0)
#endif
#ifdef CONFIG_SCSI_IPR_DUMP
#define ipr_create_dump_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
#define ipr_remove_dump_file(kobj, attr) sysfs_remove_bin_file(kobj, attr)
#else
#define ipr_create_dump_file(kobj, attr) 0
#define ipr_remove_dump_file(kobj, attr) do { } while(0)
#endif
/*
* Error logging macros
*/
#define ipr_err(...) printk(KERN_ERR IPR_NAME ": "__VA_ARGS__)
#define ipr_info(...) printk(KERN_INFO IPR_NAME ": "__VA_ARGS__)
#define ipr_dbg(...) IPR_DBG_CMD(printk(KERN_INFO IPR_NAME ": "__VA_ARGS__))
#define ipr_res_printk(level, ioa_cfg, bus, target, lun, fmt, ...) \
printk(level IPR_NAME ": %d:%d:%d:%d: " fmt, (ioa_cfg)->host->host_no, \
bus, target, lun, ##__VA_ARGS__)
#define ipr_res_err(ioa_cfg, res, fmt, ...) \
ipr_res_printk(KERN_ERR, ioa_cfg, (res)->bus, (res)->target, (res)->lun, fmt, ##__VA_ARGS__)
#define ipr_ra_printk(level, ioa_cfg, ra, fmt, ...) \
printk(level IPR_NAME ": %d:%d:%d:%d: " fmt, (ioa_cfg)->host->host_no, \
(ra).bus, (ra).target, (ra).lun, ##__VA_ARGS__)
#define ipr_ra_err(ioa_cfg, ra, fmt, ...) \
ipr_ra_printk(KERN_ERR, ioa_cfg, ra, fmt, ##__VA_ARGS__)
#define ipr_phys_res_err(ioa_cfg, res, fmt, ...) \
{ \
if ((res).bus >= IPR_MAX_NUM_BUSES) { \
ipr_err(fmt": unknown\n", ##__VA_ARGS__); \
} else { \
ipr_err(fmt": %d:%d:%d:%d\n", \
##__VA_ARGS__, (ioa_cfg)->host->host_no, \
(res).bus, (res).target, (res).lun); \
} \
}
#define ipr_hcam_err(hostrcb, fmt, ...) \
{ \
if (ipr_is_device(hostrcb)) { \
if ((hostrcb)->ioa_cfg->sis64) { \
printk(KERN_ERR IPR_NAME ": %s: " fmt, \
ipr_format_res_path(hostrcb->ioa_cfg, \
hostrcb->hcam.u.error64.fd_res_path, \
hostrcb->rp_buffer, \
sizeof(hostrcb->rp_buffer)), \
__VA_ARGS__); \
} else { \
ipr_ra_err((hostrcb)->ioa_cfg, \
(hostrcb)->hcam.u.error.fd_res_addr, \
fmt, __VA_ARGS__); \
} \
} else { \
dev_err(&(hostrcb)->ioa_cfg->pdev->dev, fmt, __VA_ARGS__); \
} \
}
#define ipr_trace ipr_dbg("%s: %s: Line: %d\n",\
__FILE__, __func__, __LINE__)
#define ENTER IPR_DBG_CMD(printk(KERN_INFO IPR_NAME": Entering %s\n", __func__))
#define LEAVE IPR_DBG_CMD(printk(KERN_INFO IPR_NAME": Leaving %s\n", __func__))
#define ipr_err_separator \
ipr_err("----------------------------------------------------------\n")
/*
* Inlines
*/
/**
* ipr_is_ioa_resource - Determine if a resource is the IOA
* @res: resource entry struct
*
* Return value:
* 1 if IOA / 0 if not IOA
**/
static inline int ipr_is_ioa_resource(struct ipr_resource_entry *res)
{
return res->type == IPR_RES_TYPE_IOAFP;
}
/**
* ipr_is_af_dasd_device - Determine if a resource is an AF DASD
* @res: resource entry struct
*
* Return value:
* 1 if AF DASD / 0 if not AF DASD
**/
static inline int ipr_is_af_dasd_device(struct ipr_resource_entry *res)
{
return res->type == IPR_RES_TYPE_AF_DASD ||
res->type == IPR_RES_TYPE_REMOTE_AF_DASD;
}
/**
* ipr_is_vset_device - Determine if a resource is a VSET
* @res: resource entry struct
*
* Return value:
* 1 if VSET / 0 if not VSET
**/
static inline int ipr_is_vset_device(struct ipr_resource_entry *res)
{
return res->type == IPR_RES_TYPE_VOLUME_SET;
}
/**
* ipr_is_gscsi - Determine if a resource is a generic scsi resource
* @res: resource entry struct
*
* Return value:
* 1 if GSCSI / 0 if not GSCSI
**/
static inline int ipr_is_gscsi(struct ipr_resource_entry *res)
{
return res->type == IPR_RES_TYPE_GENERIC_SCSI;
}
/**
* ipr_is_scsi_disk - Determine if a resource is a SCSI disk
* @res: resource entry struct
*
* Return value:
* 1 if SCSI disk / 0 if not SCSI disk
**/
static inline int ipr_is_scsi_disk(struct ipr_resource_entry *res)
{
if (ipr_is_af_dasd_device(res) ||
(ipr_is_gscsi(res) && IPR_IS_DASD_DEVICE(res->std_inq_data)))
return 1;
else
return 0;
}
/**
* ipr_is_gata - Determine if a resource is a generic ATA resource
* @res: resource entry struct
*
* Return value:
* 1 if GATA / 0 if not GATA
**/
static inline int ipr_is_gata(struct ipr_resource_entry *res)
{
return res->type == IPR_RES_TYPE_GENERIC_ATA;
}
/**
* ipr_is_naca_model - Determine if a resource is using NACA queueing model
* @res: resource entry struct
*
* Return value:
* 1 if NACA queueing model / 0 if not NACA queueing model
**/
static inline int ipr_is_naca_model(struct ipr_resource_entry *res)
{
if (ipr_is_gscsi(res) && res->qmodel == IPR_QUEUE_NACA_MODEL)
return 1;
return 0;
}
/**
* ipr_is_device - Determine if the hostrcb structure is related to a device
* @hostrcb: host resource control blocks struct
*
* Return value:
* 1 if AF / 0 if not AF
**/
static inline int ipr_is_device(struct ipr_hostrcb *hostrcb)
{
struct ipr_res_addr *res_addr;
u8 *res_path;
if (hostrcb->ioa_cfg->sis64) {
res_path = &hostrcb->hcam.u.error64.fd_res_path[0];
if ((res_path[0] == 0x00 || res_path[0] == 0x80 ||
res_path[0] == 0x81) && res_path[2] != 0xFF)
return 1;
} else {
res_addr = &hostrcb->hcam.u.error.fd_res_addr;
if ((res_addr->bus < IPR_MAX_NUM_BUSES) &&
(res_addr->target < (IPR_MAX_NUM_TARGETS_PER_BUS - 1)))
return 1;
}
return 0;
}
/**
* ipr_sdt_is_fmt2 - Determine if a SDT address is in format 2
* @sdt_word: SDT address
*
* Return value:
* 1 if format 2 / 0 if not
**/
static inline int ipr_sdt_is_fmt2(u32 sdt_word)
{
u32 bar_sel = IPR_GET_FMT2_BAR_SEL(sdt_word);
switch (bar_sel) {
case IPR_SDT_FMT2_BAR0_SEL:
case IPR_SDT_FMT2_BAR1_SEL:
case IPR_SDT_FMT2_BAR2_SEL:
case IPR_SDT_FMT2_BAR3_SEL:
case IPR_SDT_FMT2_BAR4_SEL:
case IPR_SDT_FMT2_BAR5_SEL:
case IPR_SDT_FMT2_EXP_ROM_SEL:
return 1;
};
return 0;
}
#ifndef writeq
static inline void writeq(u64 val, void __iomem *addr)
{
writel(((u32) (val >> 32)), addr);
writel(((u32) (val)), (addr + 4));
}
#endif
#endif /* _IPR_H */
|
ca1affd2e862cc8fc9437715e783bf480bb9c0a7
|
52c8ed39b32ccc7c0673278c1adea3638797c9ff
|
/src/framework/core/l-icon.c
|
353441bf96d74b94908191c11d82524df1dc2fb8
|
[
"MIT"
] |
permissive
|
xboot/xboot
|
0cab7b440b612aa0a4c366025598a53a7ec3adf1
|
6d6b93947b7fcb8c3924fedb0715c23877eedd5e
|
refs/heads/master
| 2023-08-20T05:56:25.149388
| 2023-07-12T07:38:29
| 2023-07-12T07:38:29
| 471,539
| 765
| 296
|
MIT
| 2023-05-25T09:39:01
| 2010-01-14T08:25:12
|
C
|
UTF-8
|
C
| false
| false
| 3,692
|
c
|
l-icon.c
|
/*
* framework/core/l-icon.c
*
* Copyright(c) 2007-2023 Jianjun Jiang <8192542@qq.com>
* Official site: http://xboot.org
* Mobile phone: +86-18665388956
* QQ: 8192542
*
* 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.
*
*/
#include <xboot.h>
#include <core/l-color.h>
#include <core/l-icon.h>
static int l_icon_new(lua_State * L)
{
uint32_t code = luaL_checkinteger(L, 1);
struct color_t * c = luaL_checkudata(L, 2, MT_COLOR);
const char * family = luaL_optstring(L, 3, NULL);
int size = luaL_optnumber(L, 4, 16);
struct licon_t * icon = lua_newuserdata(L, sizeof(struct licon_t));
icon->family = strdup(family);
memcpy(&icon->c, c, sizeof(struct color_t));
icon_init(&icon->ico, code, &icon->c, ((struct vmctx_t *)luahelper_vmctx(L))->f, icon->family, size);
luaL_setmetatable(L, MT_ICON);
return 1;
}
static const luaL_Reg l_icon[] = {
{"new", l_icon_new},
{NULL, NULL}
};
static int m_icon_gc(lua_State * L)
{
struct licon_t * icon = luaL_checkudata(L, 1, MT_ICON);
if(icon->family)
free(icon->family);
return 0;
}
static int m_icon_set_code(lua_State * L)
{
struct licon_t * icon = luaL_checkudata(L, 1, MT_ICON);
uint32_t code = luaL_checkinteger(L, 2);
icon_set_code(&icon->ico, code);
lua_settop(L, 1);
return 1;
}
static int m_icon_set_color(lua_State * L)
{
struct licon_t * icon = luaL_checkudata(L, 1, MT_ICON);
struct color_t * c = luaL_checkudata(L, 2, MT_COLOR);
memcpy(&icon->c, c, sizeof(struct color_t));
icon_set_color(&icon->ico, &icon->c);
lua_settop(L, 1);
return 1;
}
static int m_icon_set_family(lua_State * L)
{
struct licon_t * icon = luaL_checkudata(L, 1, MT_ICON);
const char * family = luaL_checkstring(L, 2);
if(icon->family)
free(icon->family);
icon->family = strdup(family);
icon_set_family(&icon->ico, icon->family);
lua_settop(L, 1);
return 1;
}
static int m_icon_set_size(lua_State * L)
{
struct licon_t * icon = luaL_checkudata(L, 1, MT_ICON);
int size = luaL_checknumber(L, 2);
icon_set_size(&icon->ico, size);
lua_settop(L, 1);
return 1;
}
static int m_icon_get_size(lua_State * L)
{
struct licon_t * icon = luaL_checkudata(L, 1, MT_ICON);
lua_pushnumber(L, icon->ico.size);
return 1;
}
static const luaL_Reg m_icon[] = {
{"__gc", m_icon_gc},
{"setCode", m_icon_set_code},
{"setColor", m_icon_set_color},
{"setFamily", m_icon_set_family},
{"setSize", m_icon_set_size},
{"getSize", m_icon_get_size},
{NULL, NULL}
};
int luaopen_icon(lua_State * L)
{
luaL_newlib(L, l_icon);
luahelper_create_metatable(L, MT_ICON, m_icon);
return 1;
}
|
79943d2a1a2aa044938a1a12047566d68e6028dd
|
28d0f8c01599f8f6c711bdde0b59f9c2cd221203
|
/sys/arch/luna68k/include/elf_machdep.h
|
eb9ae3ee7f3b0afe1a7fb20ef246242da0d1b90c
|
[] |
no_license
|
NetBSD/src
|
1a9cbc22ed778be638b37869ed4fb5c8dd616166
|
23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c
|
refs/heads/trunk
| 2023-08-31T13:24:58.105962
| 2023-08-27T15:50:47
| 2023-08-27T15:50:47
| 88,439,547
| 656
| 348
| null | 2023-07-20T20:07:24
| 2017-04-16T20:03:43
| null |
UTF-8
|
C
| false
| false
| 100
|
h
|
elf_machdep.h
|
/* $NetBSD: elf_machdep.h,v 1.2 2022/07/05 15:37:13 tsutsui Exp $ */
#include <m68k/elf_machdep.h>
|
d700253e78d4875b7bb806f39738337a81d47412
|
28d0f8c01599f8f6c711bdde0b59f9c2cd221203
|
/sys/arch/x68k/include/opmreg.h
|
49b72e60c5fae7f127539c1d058be8b081b59877
|
[] |
no_license
|
NetBSD/src
|
1a9cbc22ed778be638b37869ed4fb5c8dd616166
|
23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c
|
refs/heads/trunk
| 2023-08-31T13:24:58.105962
| 2023-08-27T15:50:47
| 2023-08-27T15:50:47
| 88,439,547
| 656
| 348
| null | 2023-07-20T20:07:24
| 2017-04-16T20:03:43
| null |
UTF-8
|
C
| false
| false
| 2,352
|
h
|
opmreg.h
|
/* $NetBSD: opmreg.h,v 1.2 2005/12/11 12:19:44 christos Exp $ */
/*
* Copyright (c) 1995 Masanobu Saitoh, Takuya Harakawa.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Masanobu Saitoh.
* 4. Neither the name of the University nor of the Laboratory may be used
* to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _X68K_OPMREG_H_
#define _X68K_OPRRER_H_
/*
* OPM voice structure
*/
struct opm_operator {
u_int8_t ar;
u_int8_t d1r;
u_int8_t d2r;
u_int8_t rr;
u_int8_t d1l;
u_int8_t tl;
u_int8_t ks;
u_int8_t mul;
u_int8_t dt1;
u_int8_t dt2;
u_int8_t ame;
};
struct opm_voice {
struct opm_operator m1;
struct opm_operator c1;
struct opm_operator m2;
struct opm_operator c2;
u_int8_t con; /* connection */
u_int8_t fb; /* feedback level */
u_int8_t sm; /* slot mask */
};
#define OPM_REG 0
#define OPM_DATA 1
#endif
|
9c5de1adbd0b303ba72ddc47f4defb4052eefe26
|
736e760612f2b431c4b2524fe1a4a8e4083c72a1
|
/libsip/include/sip-timer.h
|
d01aab08bf649c0cbf5dadfe092c6be1d4a1b15d
|
[
"MIT"
] |
permissive
|
ireader/media-server
|
7f86da8ff0c8694876a2043d50a1260f315dad8a
|
3d8647f50fe832856f42b03d1e5b0fe2eafe5796
|
refs/heads/master
| 2023-09-03T17:53:13.722595
| 2023-09-02T03:38:19
| 2023-09-02T03:38:19
| 15,598,496
| 2,785
| 1,015
|
MIT
| 2023-08-30T03:45:24
| 2014-01-03T01:43:35
|
C
|
UTF-8
|
C
| false
| false
| 762
|
h
|
sip-timer.h
|
#ifndef _sip_timer_h_
#define _sip_timer_h_
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*sip_timer_handle)(void* usrptr);
//struct sip_timer_t
//{
// /// Start a timer
// /// @param[in] timeout milliseconds
// /// @param[in] usrptr user-defined pointer
// /// @return timer id(used by stop)
// void* (*start)(void* timer, int timeout, sip_timer_handle handler, void* usrptr);
//
// /// Cancel timer
// /// @param[in] id start return timer id
// void (*stop)(void* timer, void* id);
//};
typedef void* sip_timer_t;
void sip_timer_init(void);
void sip_timer_cleanup(void);
sip_timer_t sip_timer_start(int timeout, sip_timer_handle handler, void* usrptr);
int sip_timer_stop(sip_timer_t* id);
#ifdef __cplusplus
}
#endif
#endif /* !_sip_timer_h_ */
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.