	.file	"892689.c"
	.intel_syntax noprefix
	.text
	.globl	gen_note
	.bss
	.align 32
	.type	gen_note, @object
	.size	gen_note, 64
gen_note:
	.zero	64
	.globl	gen_volume
	.align 32
	.type	gen_volume, @object
	.size	gen_volume, 64
gen_volume:
	.zero	64
	.globl	gen_instrument
	.align 32
	.type	gen_instrument, @object
	.size	gen_instrument, 64
gen_instrument:
	.zero	64
	.globl	gen_instrument_changed
	.align 16
	.type	gen_instrument_changed, @object
	.size	gen_instrument_changed, 16
gen_instrument_changed:
	.zero	16
	.globl	gen_did_stopnote
	.align 16
	.type	gen_did_stopnote, @object
	.size	gen_did_stopnote, 16
gen_did_stopnote:
	.zero	16
	.globl	infile
	.align 8
	.type	infile, @object
	.size	infile, 8
infile:
	.zero	8
	.globl	outfile
	.align 8
	.type	outfile, @object
	.size	outfile, 8
outfile:
	.zero	8
	.globl	buffer
	.align 8
	.type	buffer, @object
	.size	buffer, 8
buffer:
	.zero	8
	.globl	bufptr
	.align 8
	.type	bufptr, @object
	.size	bufptr, 8
bufptr:
	.zero	8
	.globl	buflen
	.align 8
	.type	buflen, @object
	.size	buflen, 8
buflen:
	.zero	8
	.globl	num_tonegens
	.data
	.align 4
	.type	num_tonegens, @object
	.size	num_tonegens, 4
num_tonegens:
	.long	6
	.globl	max_tonegen_found
	.bss
	.align 4
	.type	max_tonegen_found, @object
	.size	max_tonegen_found, 4
max_tonegen_found:
	.zero	4
	.globl	notes_skipped
	.align 4
	.type	notes_skipped, @object
	.size	notes_skipped, 4
notes_skipped:
	.zero	4
	.globl	stopnotes_before_startnote
	.align 4
	.type	stopnotes_before_startnote, @object
	.size	stopnotes_before_startnote, 4
stopnotes_before_startnote:
	.zero	4
	.globl	timenow
	.align 8
	.type	timenow, @object
	.size	timenow, 8
timenow:
	.zero	8
	.globl	cmd
	.type	cmd, @object
	.size	cmd, 1
cmd:
	.zero	1
	.globl	gen
	.type	gen, @object
	.size	gen, 1
gen:
	.zero	1
	.globl	lastbufptr
	.align 8
	.type	lastbufptr, @object
	.size	lastbufptr, 8
lastbufptr:
	.zero	8
	.globl	delay
	.align 4
	.type	delay, @object
	.size	delay, 4
delay:
	.zero	4
	.globl	codeoutput
	.type	codeoutput, @object
	.size	codeoutput, 1
codeoutput:
	.zero	1
	.globl	expect_volume
	.type	expect_volume, @object
	.size	expect_volume, 1
expect_volume:
	.zero	1
	.globl	ignore_volume
	.type	ignore_volume, @object
	.size	ignore_volume, 1
ignore_volume:
	.zero	1
	.globl	ignore_instruments
	.type	ignore_instruments, @object
	.size	ignore_instruments, 1
ignore_instruments:
	.zero	1
	.section	.rodata
.LC0:
	.string	"-1C "
.LC1:
	.string	"-1C#"
.LC2:
	.string	"-1D "
.LC3:
	.string	"-1D#"
.LC4:
	.string	"-1E "
.LC5:
	.string	"-1F "
.LC6:
	.string	"-1F#"
.LC7:
	.string	"-1G "
.LC8:
	.string	"-1G#"
.LC9:
	.string	"-1A "
.LC10:
	.string	"-1A#"
.LC11:
	.string	"-1B "
.LC12:
	.string	" 0C "
.LC13:
	.string	" 0C#"
.LC14:
	.string	" 0D "
.LC15:
	.string	" 0D#"
.LC16:
	.string	" 0E "
.LC17:
	.string	" 0F "
.LC18:
	.string	" 0F#"
.LC19:
	.string	" 0G "
.LC20:
	.string	" 0G#"
.LC21:
	.string	" 0A "
.LC22:
	.string	" 0A#"
.LC23:
	.string	" 0B "
.LC24:
	.string	" 1C "
.LC25:
	.string	" 1C#"
.LC26:
	.string	" 1D "
.LC27:
	.string	" 1D#"
.LC28:
	.string	" 1E "
.LC29:
	.string	" 1F "
.LC30:
	.string	" 1F#"
.LC31:
	.string	" 1G "
.LC32:
	.string	" 1G#"
.LC33:
	.string	" 1A "
.LC34:
	.string	" 1A#"
.LC35:
	.string	" 1B "
.LC36:
	.string	" 2C "
.LC37:
	.string	" 2C#"
.LC38:
	.string	" 2D "
.LC39:
	.string	" 2D#"
.LC40:
	.string	" 2E "
.LC41:
	.string	" 2F "
.LC42:
	.string	" 2F#"
.LC43:
	.string	" 2G "
.LC44:
	.string	" 2G#"
.LC45:
	.string	" 2A "
.LC46:
	.string	" 2A#"
.LC47:
	.string	" 2B "
.LC48:
	.string	" 3C "
.LC49:
	.string	" 3C#"
.LC50:
	.string	" 3D "
.LC51:
	.string	" 3D#"
.LC52:
	.string	" 3E "
.LC53:
	.string	" 3F "
.LC54:
	.string	" 3F#"
.LC55:
	.string	" 3G "
.LC56:
	.string	" 3G#"
.LC57:
	.string	" 3A "
.LC58:
	.string	" 3A#"
.LC59:
	.string	" 3B "
.LC60:
	.string	" 4C "
.LC61:
	.string	" 4C#"
.LC62:
	.string	" 4D "
.LC63:
	.string	" 4D#"
.LC64:
	.string	" 4E "
.LC65:
	.string	" 4F "
.LC66:
	.string	" 4F#"
.LC67:
	.string	" 4G "
.LC68:
	.string	" 4G#"
.LC69:
	.string	" 4A "
.LC70:
	.string	" 4A#"
.LC71:
	.string	" 4B "
.LC72:
	.string	" 5C "
.LC73:
	.string	" 5C#"
.LC74:
	.string	" 5D "
.LC75:
	.string	" 5D#"
.LC76:
	.string	" 5E "
.LC77:
	.string	" 5F "
.LC78:
	.string	" 5F#"
.LC79:
	.string	" 5G "
.LC80:
	.string	" 5G#"
.LC81:
	.string	" 5A "
.LC82:
	.string	" 5A#"
.LC83:
	.string	" 5B "
.LC84:
	.string	" 6C "
.LC85:
	.string	" 6C#"
.LC86:
	.string	" 6D "
.LC87:
	.string	" 6D#"
.LC88:
	.string	" 6E "
.LC89:
	.string	" 6F "
.LC90:
	.string	" 6F#"
.LC91:
	.string	" 6G "
.LC92:
	.string	" 6G#"
.LC93:
	.string	" 6A "
.LC94:
	.string	" 6A#"
.LC95:
	.string	" 6B "
.LC96:
	.string	" 7C "
.LC97:
	.string	" 7C#"
.LC98:
	.string	" 7D "
.LC99:
	.string	" 7D#"
.LC100:
	.string	" 7E "
.LC101:
	.string	" 7F "
.LC102:
	.string	" 7F#"
.LC103:
	.string	" 7G "
.LC104:
	.string	" 7G#"
.LC105:
	.string	" 7A "
.LC106:
	.string	" 7A#"
.LC107:
	.string	" 7B "
.LC108:
	.string	" 8C "
.LC109:
	.string	" 8C#"
.LC110:
	.string	" 8D "
.LC111:
	.string	" 8D#"
.LC112:
	.string	" 8E "
.LC113:
	.string	" 8F "
.LC114:
	.string	" 8F#"
.LC115:
	.string	" 8G "
.LC116:
	.string	" 8G#"
.LC117:
	.string	" 8A "
.LC118:
	.string	" 8A#"
.LC119:
	.string	" 8B "
.LC120:
	.string	" 9C "
.LC121:
	.string	" 9C#"
.LC122:
	.string	" 9D "
.LC123:
	.string	" 9D#"
.LC124:
	.string	" 9E "
.LC125:
	.string	" 9F "
.LC126:
	.string	" 9F#"
.LC127:
	.string	" 9G "
.LC128:
	.string	"P000 "
.LC129:
	.string	"P001 "
.LC130:
	.string	"P002 "
.LC131:
	.string	"P003 "
.LC132:
	.string	"P004 "
.LC133:
	.string	"P005 "
.LC134:
	.string	"P006 "
.LC135:
	.string	"P007 "
.LC136:
	.string	"P008 "
.LC137:
	.string	"P009 "
.LC138:
	.string	"P010 "
.LC139:
	.string	"P011 "
.LC140:
	.string	"P012 "
.LC141:
	.string	"P013 "
.LC142:
	.string	"P014 "
.LC143:
	.string	"P015 "
.LC144:
	.string	"P016 "
.LC145:
	.string	"P017 "
.LC146:
	.string	"P018 "
.LC147:
	.string	"P019 "
.LC148:
	.string	"P020 "
.LC149:
	.string	"P021 "
.LC150:
	.string	"P022 "
.LC151:
	.string	"P023 "
.LC152:
	.string	"P024 "
.LC153:
	.string	"P025 "
.LC154:
	.string	"P026 "
.LC155:
	.string	"Laser"
.LC156:
	.string	"Whip "
.LC157:
	.string	"ScrPu"
.LC158:
	.string	"ScrPl"
.LC159:
	.string	"Stick"
.LC160:
	.string	"MetCk"
.LC161:
	.string	"P033 "
.LC162:
	.string	"MetBl"
.LC163:
	.string	"BassD"
.LC164:
	.string	"KickD"
.LC165:
	.string	"SnaSt"
.LC166:
	.string	"SnaD "
.LC167:
	.string	"Clap "
.LC168:
	.string	"ESnaD"
.LC169:
	.string	"FTom2"
.LC170:
	.string	"HHatC"
.LC171:
	.string	"FTom1"
.LC172:
	.string	"HHatF"
.LC173:
	.string	"LTom "
.LC174:
	.string	"HHatO"
.LC175:
	.string	"LMTom"
.LC176:
	.string	"HMTom"
.LC177:
	.string	"CrCym"
.LC178:
	.string	"HTom "
.LC179:
	.string	"RiCym"
.LC180:
	.string	"ChCym"
.LC181:
	.string	"RiBel"
.LC182:
	.string	"Tamb "
.LC183:
	.string	"SpCym"
.LC184:
	.string	"CowBl"
.LC185:
	.string	"VSlap"
.LC186:
	.string	"HBong"
.LC187:
	.string	"LBong"
.LC188:
	.string	"CongD"
.LC189:
	.string	"Conga"
.LC190:
	.string	"Tumba"
.LC191:
	.string	"HTimb"
.LC192:
	.string	"LTimb"
.LC193:
	.string	"HAgog"
.LC194:
	.string	"LAgog"
.LC195:
	.string	"Cabas"
.LC196:
	.string	"Marac"
.LC197:
	.string	"SWhis"
.LC198:
	.string	"LWhis"
.LC199:
	.string	"SGuir"
.LC200:
	.string	"LGuir"
.LC201:
	.string	"Clave"
.LC202:
	.string	"HWood"
.LC203:
	.string	"LWood"
.LC204:
	.string	"HCuic"
.LC205:
	.string	"LCuic"
.LC206:
	.string	"MTria"
.LC207:
	.string	"OTria"
.LC208:
	.string	"Shakr"
.LC209:
	.string	"Sleig"
.LC210:
	.string	"BelTr"
.LC211:
	.string	"Casta"
.LC212:
	.string	"SirdD"
.LC213:
	.string	"Sirdu"
.LC214:
	.string	"P088 "
.LC215:
	.string	"P089 "
.LC216:
	.string	"P090 "
.LC217:
	.string	"SnDmR"
.LC218:
	.string	"OcDrm"
.LC219:
	.string	"SmDrB"
.LC220:
	.string	"P094 "
.LC221:
	.string	"P095 "
.LC222:
	.string	"P096 "
.LC223:
	.string	"P097 "
.LC224:
	.string	"P098 "
.LC225:
	.string	"P099 "
.LC226:
	.string	"P100 "
.LC227:
	.string	"P101 "
.LC228:
	.string	"P102 "
.LC229:
	.string	"P103 "
.LC230:
	.string	"P104 "
.LC231:
	.string	"P105 "
.LC232:
	.string	"P106 "
.LC233:
	.string	"P107 "
.LC234:
	.string	"P108 "
.LC235:
	.string	"P109 "
.LC236:
	.string	"P110 "
.LC237:
	.string	"P111 "
.LC238:
	.string	"P112 "
.LC239:
	.string	"P113 "
.LC240:
	.string	"P114 "
.LC241:
	.string	"P115 "
.LC242:
	.string	"P116 "
.LC243:
	.string	"P117 "
.LC244:
	.string	"P118 "
.LC245:
	.string	"P119 "
.LC246:
	.string	"P120 "
.LC247:
	.string	"P121 "
.LC248:
	.string	"P122 "
.LC249:
	.string	"P123 "
.LC250:
	.string	"P124 "
.LC251:
	.string	"P125 "
.LC252:
	.string	"P126 "
.LC253:
	.string	"P127"
	.section	.data.rel.local,"aw"
	.align 32
	.type	notename, @object
	.size	notename, 2048
notename:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.quad	.LC17
	.quad	.LC18
	.quad	.LC19
	.quad	.LC20
	.quad	.LC21
	.quad	.LC22
	.quad	.LC23
	.quad	.LC24
	.quad	.LC25
	.quad	.LC26
	.quad	.LC27
	.quad	.LC28
	.quad	.LC29
	.quad	.LC30
	.quad	.LC31
	.quad	.LC32
	.quad	.LC33
	.quad	.LC34
	.quad	.LC35
	.quad	.LC36
	.quad	.LC37
	.quad	.LC38
	.quad	.LC39
	.quad	.LC40
	.quad	.LC41
	.quad	.LC42
	.quad	.LC43
	.quad	.LC44
	.quad	.LC45
	.quad	.LC46
	.quad	.LC47
	.quad	.LC48
	.quad	.LC49
	.quad	.LC50
	.quad	.LC51
	.quad	.LC52
	.quad	.LC53
	.quad	.LC54
	.quad	.LC55
	.quad	.LC56
	.quad	.LC57
	.quad	.LC58
	.quad	.LC59
	.quad	.LC60
	.quad	.LC61
	.quad	.LC62
	.quad	.LC63
	.quad	.LC64
	.quad	.LC65
	.quad	.LC66
	.quad	.LC67
	.quad	.LC68
	.quad	.LC69
	.quad	.LC70
	.quad	.LC71
	.quad	.LC72
	.quad	.LC73
	.quad	.LC74
	.quad	.LC75
	.quad	.LC76
	.quad	.LC77
	.quad	.LC78
	.quad	.LC79
	.quad	.LC80
	.quad	.LC81
	.quad	.LC82
	.quad	.LC83
	.quad	.LC84
	.quad	.LC85
	.quad	.LC86
	.quad	.LC87
	.quad	.LC88
	.quad	.LC89
	.quad	.LC90
	.quad	.LC91
	.quad	.LC92
	.quad	.LC93
	.quad	.LC94
	.quad	.LC95
	.quad	.LC96
	.quad	.LC97
	.quad	.LC98
	.quad	.LC99
	.quad	.LC100
	.quad	.LC101
	.quad	.LC102
	.quad	.LC103
	.quad	.LC104
	.quad	.LC105
	.quad	.LC106
	.quad	.LC107
	.quad	.LC108
	.quad	.LC109
	.quad	.LC110
	.quad	.LC111
	.quad	.LC112
	.quad	.LC113
	.quad	.LC114
	.quad	.LC115
	.quad	.LC116
	.quad	.LC117
	.quad	.LC118
	.quad	.LC119
	.quad	.LC120
	.quad	.LC121
	.quad	.LC122
	.quad	.LC123
	.quad	.LC124
	.quad	.LC125
	.quad	.LC126
	.quad	.LC127
	.quad	.LC128
	.quad	.LC129
	.quad	.LC130
	.quad	.LC131
	.quad	.LC132
	.quad	.LC133
	.quad	.LC134
	.quad	.LC135
	.quad	.LC136
	.quad	.LC137
	.quad	.LC138
	.quad	.LC139
	.quad	.LC140
	.quad	.LC141
	.quad	.LC142
	.quad	.LC143
	.quad	.LC144
	.quad	.LC145
	.quad	.LC146
	.quad	.LC147
	.quad	.LC148
	.quad	.LC149
	.quad	.LC150
	.quad	.LC151
	.quad	.LC152
	.quad	.LC153
	.quad	.LC154
	.quad	.LC155
	.quad	.LC156
	.quad	.LC157
	.quad	.LC158
	.quad	.LC159
	.quad	.LC160
	.quad	.LC161
	.quad	.LC162
	.quad	.LC163
	.quad	.LC164
	.quad	.LC165
	.quad	.LC166
	.quad	.LC167
	.quad	.LC168
	.quad	.LC169
	.quad	.LC170
	.quad	.LC171
	.quad	.LC172
	.quad	.LC173
	.quad	.LC174
	.quad	.LC175
	.quad	.LC176
	.quad	.LC177
	.quad	.LC178
	.quad	.LC179
	.quad	.LC180
	.quad	.LC181
	.quad	.LC182
	.quad	.LC183
	.quad	.LC184
	.quad	.LC177
	.quad	.LC185
	.quad	.LC179
	.quad	.LC186
	.quad	.LC187
	.quad	.LC188
	.quad	.LC189
	.quad	.LC190
	.quad	.LC191
	.quad	.LC192
	.quad	.LC193
	.quad	.LC194
	.quad	.LC195
	.quad	.LC196
	.quad	.LC197
	.quad	.LC198
	.quad	.LC199
	.quad	.LC200
	.quad	.LC201
	.quad	.LC202
	.quad	.LC203
	.quad	.LC204
	.quad	.LC205
	.quad	.LC206
	.quad	.LC207
	.quad	.LC208
	.quad	.LC209
	.quad	.LC210
	.quad	.LC211
	.quad	.LC212
	.quad	.LC213
	.quad	.LC214
	.quad	.LC215
	.quad	.LC216
	.quad	.LC217
	.quad	.LC218
	.quad	.LC219
	.quad	.LC220
	.quad	.LC221
	.quad	.LC222
	.quad	.LC223
	.quad	.LC224
	.quad	.LC225
	.quad	.LC226
	.quad	.LC227
	.quad	.LC228
	.quad	.LC229
	.quad	.LC230
	.quad	.LC231
	.quad	.LC232
	.quad	.LC233
	.quad	.LC234
	.quad	.LC235
	.quad	.LC236
	.quad	.LC237
	.quad	.LC238
	.quad	.LC239
	.quad	.LC240
	.quad	.LC241
	.quad	.LC242
	.quad	.LC243
	.quad	.LC244
	.quad	.LC245
	.quad	.LC246
	.quad	.LC247
	.quad	.LC248
	.quad	.LC249
	.quad	.LC250
	.quad	.LC251
	.quad	.LC252
	.quad	.LC253
	.section	.rodata
.LC254:
	.string	"APiano"
.LC255:
	.string	"BPiano"
.LC256:
	.string	"EPiano"
.LC257:
	.string	"HPiano"
.LC258:
	.string	"E1Pian"
.LC259:
	.string	"E2Pian"
.LC260:
	.string	"Harpsi"
.LC261:
	.string	"Clavic"
.LC262:
	.string	"Celest"
.LC263:
	.string	"Glockn"
.LC264:
	.string	"MusBox"
.LC265:
	.string	"Vibrap"
.LC266:
	.string	"Marimb"
.LC267:
	.string	"Xyloph"
.LC268:
	.string	"TubBel"
.LC269:
	.string	"Dulcim"
.LC270:
	.string	"DOrgan"
.LC271:
	.string	"POrgan"
.LC272:
	.string	"ROrgan"
.LC273:
	.string	"COrgan"
.LC274:
	.string	"dOrgan"
.LC275:
	.string	"Accord"
.LC276:
	.string	"Harmon"
.LC277:
	.string	"TAccor"
.LC278:
	.string	"NyGuit"
.LC279:
	.string	"StGuit"
.LC280:
	.string	"JzGuit"
.LC281:
	.string	"ClGuit"
.LC282:
	.string	"MuGuit"
.LC283:
	.string	"OvGuit"
.LC284:
	.string	"DsGuit"
.LC285:
	.string	"HaGuit"
.LC286:
	.string	"AcBass"
.LC287:
	.string	"FiBass"
.LC288:
	.string	"PiBass"
.LC289:
	.string	"FrBass"
.LC290:
	.string	"S1Bass"
.LC291:
	.string	"S2Bass"
.LC292:
	.string	"y1Bass"
.LC293:
	.string	"y2Bass"
.LC294:
	.string	"Violin"
.LC295:
	.string	"Viola "
.LC296:
	.string	"Cello "
.LC297:
	.string	"CnBass"
.LC298:
	.string	"TrStng"
.LC299:
	.string	"PzStng"
.LC300:
	.string	"OrHarp"
.LC301:
	.string	"Timpan"
.LC302:
	.string	"S1Ensb"
.LC303:
	.string	"y1Strg"
.LC304:
	.string	"y2Strg"
.LC305:
	.string	"ChAhhs"
.LC306:
	.string	"VcOohs"
.LC307:
	.string	"SyVoic"
.LC308:
	.string	"OrcHit"
.LC309:
	.string	"Trumpt"
.LC310:
	.string	"Trombn"
.LC311:
	.string	"Tuba  "
.LC312:
	.string	"MuTrum"
.LC313:
	.string	"FrHorn"
.LC314:
	.string	"Brass "
.LC315:
	.string	"y1Bras"
.LC316:
	.string	"y2Bras"
.LC317:
	.string	"SopSax"
.LC318:
	.string	"AltSax"
.LC319:
	.string	"TenSax"
.LC320:
	.string	"BarSax"
.LC321:
	.string	"Oboe  "
.LC322:
	.string	"EnHorn"
.LC323:
	.string	"Basson"
.LC324:
	.string	"Clarin"
.LC325:
	.string	"Piccol"
.LC326:
	.string	"Flute "
.LC327:
	.string	"Record"
.LC328:
	.string	"PFlute"
.LC329:
	.string	"BlBotl"
.LC330:
	.string	"Shakuh"
.LC331:
	.string	"Whistl"
.LC332:
	.string	"Ocarin"
.LC333:
	.string	"Square"
.LC334:
	.string	"Sawtoo"
.LC335:
	.string	"Callip"
.LC336:
	.string	"Chiff "
.LC337:
	.string	"Charag"
.LC338:
	.string	"Voice "
.LC339:
	.string	"Fifths"
.LC340:
	.string	"BassLd"
.LC341:
	.string	"Pad1  "
.LC342:
	.string	"Pad2  "
.LC343:
	.string	"Pad3  "
.LC344:
	.string	"Pad4  "
.LC345:
	.string	"Pad5  "
.LC346:
	.string	"Pad6  "
.LC347:
	.string	"Pad7  "
.LC348:
	.string	"Pad 8 "
.LC349:
	.string	"FX1   "
.LC350:
	.string	"FX2   "
.LC351:
	.string	"FX3   "
.LC352:
	.string	"FX4   "
.LC353:
	.string	"FX5   "
.LC354:
	.string	"FX6   "
.LC355:
	.string	"FX7   "
.LC356:
	.string	"FX8   "
.LC357:
	.string	"Sitar "
.LC358:
	.string	"Banjo "
.LC359:
	.string	"Shamis"
.LC360:
	.string	"Koto  "
.LC361:
	.string	"Kalimb"
.LC362:
	.string	"Bagpip"
.LC363:
	.string	"Fiddle"
.LC364:
	.string	"Shanai"
.LC365:
	.string	"TnkBel"
.LC366:
	.string	"Agogo "
.LC367:
	.string	"StDrum"
.LC368:
	.string	"WdBlok"
.LC369:
	.string	"TaiDrm"
.LC370:
	.string	"MelTom"
.LC371:
	.string	"SynDrm"
.LC372:
	.string	"RevCym"
.LC373:
	.string	"GuitFr"
.LC374:
	.string	"Breath"
.LC375:
	.string	"Seashr"
.LC376:
	.string	"BirdTw"
.LC377:
	.string	"Phone "
.LC378:
	.string	"Copter"
.LC379:
	.string	"Claps "
.LC380:
	.string	"Guns   "
	.section	.data.rel.local
	.align 32
	.type	instrumentname, @object
	.size	instrumentname, 1024
instrumentname:
	.quad	.LC254
	.quad	.LC255
	.quad	.LC256
	.quad	.LC257
	.quad	.LC258
	.quad	.LC259
	.quad	.LC260
	.quad	.LC261
	.quad	.LC262
	.quad	.LC263
	.quad	.LC264
	.quad	.LC265
	.quad	.LC266
	.quad	.LC267
	.quad	.LC268
	.quad	.LC269
	.quad	.LC270
	.quad	.LC271
	.quad	.LC272
	.quad	.LC273
	.quad	.LC274
	.quad	.LC275
	.quad	.LC276
	.quad	.LC277
	.quad	.LC278
	.quad	.LC279
	.quad	.LC280
	.quad	.LC281
	.quad	.LC282
	.quad	.LC283
	.quad	.LC284
	.quad	.LC285
	.quad	.LC286
	.quad	.LC287
	.quad	.LC288
	.quad	.LC289
	.quad	.LC290
	.quad	.LC291
	.quad	.LC292
	.quad	.LC293
	.quad	.LC294
	.quad	.LC295
	.quad	.LC296
	.quad	.LC297
	.quad	.LC298
	.quad	.LC299
	.quad	.LC300
	.quad	.LC301
	.quad	.LC302
	.quad	.LC302
	.quad	.LC303
	.quad	.LC304
	.quad	.LC305
	.quad	.LC306
	.quad	.LC307
	.quad	.LC308
	.quad	.LC309
	.quad	.LC310
	.quad	.LC311
	.quad	.LC312
	.quad	.LC313
	.quad	.LC314
	.quad	.LC315
	.quad	.LC316
	.quad	.LC317
	.quad	.LC318
	.quad	.LC319
	.quad	.LC320
	.quad	.LC321
	.quad	.LC322
	.quad	.LC323
	.quad	.LC324
	.quad	.LC325
	.quad	.LC326
	.quad	.LC327
	.quad	.LC328
	.quad	.LC329
	.quad	.LC330
	.quad	.LC331
	.quad	.LC332
	.quad	.LC333
	.quad	.LC334
	.quad	.LC335
	.quad	.LC336
	.quad	.LC337
	.quad	.LC338
	.quad	.LC339
	.quad	.LC340
	.quad	.LC341
	.quad	.LC342
	.quad	.LC343
	.quad	.LC344
	.quad	.LC345
	.quad	.LC346
	.quad	.LC347
	.quad	.LC348
	.quad	.LC349
	.quad	.LC350
	.quad	.LC351
	.quad	.LC352
	.quad	.LC353
	.quad	.LC354
	.quad	.LC355
	.quad	.LC356
	.quad	.LC357
	.quad	.LC358
	.quad	.LC359
	.quad	.LC360
	.quad	.LC361
	.quad	.LC362
	.quad	.LC363
	.quad	.LC364
	.quad	.LC365
	.quad	.LC366
	.quad	.LC367
	.quad	.LC368
	.quad	.LC369
	.quad	.LC370
	.quad	.LC371
	.quad	.LC372
	.quad	.LC373
	.quad	.LC374
	.quad	.LC375
	.quad	.LC376
	.quad	.LC377
	.quad	.LC378
	.quad	.LC379
	.quad	.LC380
	.section	.rodata
.LC381:
	.string	"%s\n"
	.text
	.globl	SayUsage
	.type	SayUsage, @function
SayUsage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, usage.0[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC381[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, usage.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	SayUsage, .-SayUsage
	.section	.rodata
.LC382:
	.string	"%d"
	.align 8
.LC383:
	.string	"Displaying %d tone generators.\n"
.LC384:
	.string	"unknown option: %s\n"
	.text
	.globl	HandleOptions
	.type	HandleOptions, @function
HandleOptions:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 1
	jmp	.L5
.L23:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L6
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L7
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	sub	eax, 63
	cmp	eax, 23
	ja	.L8
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L10[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L10[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L12-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L13-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L12-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L11-.L10
	.long	.L8-.L10
	.long	.L9-.L10
	.text
.L12:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	SayUsage
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	BYTE PTR codeoutput[rip], 1
	jmp	.L14
.L11:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	lea	rdx, num_tonegens[rip]
	lea	rsi, .LC382[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L26
	mov	eax, DWORD PTR num_tonegens[rip]
	test	eax, eax
	je	.L26
	mov	eax, DWORD PTR num_tonegens[rip]
	cmp	eax, 16
	ja	.L26
	mov	eax, DWORD PTR num_tonegens[rip]
	mov	esi, eax
	lea	rdi, .LC383[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L14
.L9:
	mov	BYTE PTR expect_volume[rip], 1
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L27
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	cmp	eax, 73
	jne	.L28
	mov	BYTE PTR ignore_volume[rip], 1
	jmp	.L14
.L17:
.L26:
	nop
	jmp	.L8
.L28:
	nop
.L8:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC384[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	SayUsage
	mov	edi, 4
	call	exit@PLT
.L27:
	nop
.L14:
	jmp	.L25
.L7:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L22
.L25:
	add	DWORD PTR -8[rbp], 1
.L5:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L23
.L22:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	HandleOptions, .-HandleOptions
	.globl	strlength
	.type	strlength, @function
strlength:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L30
.L31:
	add	DWORD PTR -4[rbp], 1
.L30:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L31
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	strlength, .-strlength
	.globl	strlcpy
	.type	strlcpy, @function
strlcpy:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L34
	jmp	.L35
.L36:
	mov	rdx, QWORD PTR -8[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -16[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L41
.L35:
	sub	DWORD PTR -20[rbp], 1
	cmp	DWORD PTR -20[rbp], 0
	jne	.L36
	jmp	.L34
.L41:
	nop
.L34:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L37
	cmp	DWORD PTR -52[rbp], 0
	je	.L42
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 0
.L42:
	nop
.L39:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L39
.L37:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -48[rbp]
	sub	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	strlcpy, .-strlcpy
	.globl	strlcat
	.type	strlcat, @function
strlcat:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 56
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L44
.L46:
	add	QWORD PTR -16[rbp], 1
.L44:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -24[rbp], edx
	test	eax, eax
	je	.L45
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L46
.L45:
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jne	.L49
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlength
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	jmp	.L48
.L51:
	cmp	DWORD PTR -24[rbp], 1
	je	.L50
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	rdx, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	sub	DWORD PTR -24[rbp], 1
.L50:
	add	QWORD PTR -8[rbp], 1
.L49:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L51
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	strlcat, .-strlcat
	.section	.rodata
	.align 8
.LC385:
	.string	"\n---> file format error at position %04X (%d): %s\n"
.LC386:
	.string	" [%02X]  "
.LC387:
	.string	"%02X "
	.text
	.globl	file_error
	.type	file_error, @function
file_error:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR buffer[rip]
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rdx
	mov	ecx, eax
	mov	rdx, QWORD PTR buffer[rip]
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rdx
	mov	esi, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	r8, rdx
	mov	edx, esi
	lea	rsi, .LC385[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, 16
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR buffer[rip]
	cmp	QWORD PTR -8[rbp], rax
	jnb	.L54
	mov	rax, QWORD PTR buffer[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L54
.L58:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jne	.L55
	lea	rax, .LC386[rip]
	jmp	.L56
.L55:
	lea	rax, .LC387[rip]
.L56:
	mov	rcx, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -8[rbp], 1
.L54:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	cmp	QWORD PTR -8[rbp], rax
	ja	.L57
	mov	rdx, QWORD PTR buffer[rip]
	mov	rax, QWORD PTR buflen[rip]
	add	rax, rdx
	cmp	QWORD PTR -8[rbp], rax
	jb	.L58
.L57:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 8
	call	exit@PLT
	.cfi_endproc
.LFE11:
	.size	file_error, .-file_error
	.section	.rodata
.LC388:
	.string	"//"
.LC389:
	.string	""
.LC390:
	.string	"%21s"
.LC391:
	.string	"%6s"
.LC392:
	.string	"%5s"
.LC393:
	.string	"/*"
.LC394:
	.string	"%5d %7d.%03d "
.LC395:
	.string	" "
.LC396:
	.string	"     "
.LC397:
	.string	" v%-3d"
.LC398:
	.string	"   %04X: "
.LC399:
	.string	"*/ "
.LC400:
	.string	"0x%02X,"
	.text
	.globl	print_status
	.type	print_status, @function
print_status:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR -5[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L60
.L61:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, gen_instrument_changed[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	or	al, BYTE PTR -5[rbp]
	movzx	eax, al
	test	eax, eax
	setne	al
	mov	BYTE PTR -5[rbp], al
	add	DWORD PTR -4[rbp], 1
.L60:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR num_tonegens[rip]
	cmp	edx, eax
	jb	.L61
	cmp	BYTE PTR -5[rbp], 0
	je	.L62
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L63
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC388[rip]
	call	fwrite@PLT
.L63:
	mov	rax, QWORD PTR outfile[rip]
	lea	rdx, .LC389[rip]
	lea	rsi, .LC390[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L64
.L68:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, gen_instrument_changed[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L65
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, gen_instrument_changed[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_instrument[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, instrumentname[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR outfile[rip]
	lea	rsi, .LC391[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L66
.L65:
	mov	rax, QWORD PTR outfile[rip]
	lea	rdx, .LC389[rip]
	lea	rsi, .LC391[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L66:
	movzx	eax, BYTE PTR expect_volume[rip]
	test	al, al
	je	.L67
	movzx	eax, BYTE PTR ignore_volume[rip]
	xor	eax, 1
	test	al, al
	je	.L67
	mov	rax, QWORD PTR outfile[rip]
	lea	rdx, .LC389[rip]
	lea	rsi, .LC392[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L67:
	add	DWORD PTR -4[rbp], 1
.L64:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR num_tonegens[rip]
	cmp	edx, eax
	jb	.L68
	mov	rax, QWORD PTR outfile[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L62:
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L69
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC393[rip]
	call	fwrite@PLT
.L69:
	mov	rsi, QWORD PTR timenow[rip]
	mov	rax, rsi
	shr	rax, 3
	movabs	rdx, 2361183241434822607
	mul	rdx
	mov	rcx, rdx
	shr	rcx, 4
	imul	rax, rcx, 1000
	mov	rcx, rsi
	sub	rcx, rax
	mov	rax, QWORD PTR timenow[rip]
	shr	rax, 3
	movabs	rdx, 2361183241434822607
	mul	rdx
	mov	rsi, rdx
	shr	rsi, 4
	mov	edx, DWORD PTR delay[rip]
	mov	rax, QWORD PTR outfile[rip]
	mov	r8, rcx
	mov	rcx, rsi
	lea	rsi, .LC394[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L70
.L75:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_note[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	je	.L71
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_note[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, notename[rip]
	mov	rax, QWORD PTR [rdx+rax]
	jmp	.L72
.L71:
	lea	rax, .LC395[rip]
.L72:
	mov	rcx, QWORD PTR outfile[rip]
	mov	rdx, rax
	lea	rsi, .LC391[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR expect_volume[rip]
	test	al, al
	je	.L73
	movzx	eax, BYTE PTR ignore_volume[rip]
	xor	eax, 1
	test	al, al
	je	.L73
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_note[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L74
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC396[rip]
	call	fwrite@PLT
	jmp	.L73
.L74:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_volume[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR outfile[rip]
	lea	rsi, .LC397[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L73:
	add	DWORD PTR -4[rbp], 1
.L70:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR num_tonegens[rip]
	cmp	edx, eax
	jb	.L75
	mov	rax, QWORD PTR lastbufptr[rip]
	mov	rdx, QWORD PTR buffer[rip]
	sub	rax, rdx
	mov	edx, eax
	mov	rax, QWORD PTR outfile[rip]
	lea	rsi, .LC398[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L77
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC399[rip]
	call	fwrite@PLT
	jmp	.L77
.L80:
	mov	rax, QWORD PTR lastbufptr[rip]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L78
	lea	rax, .LC400[rip]
	jmp	.L79
.L78:
	lea	rax, .LC387[rip]
.L79:
	mov	rcx, QWORD PTR outfile[rip]
	mov	rsi, rax
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR lastbufptr[rip]
	add	rax, 1
	mov	QWORD PTR lastbufptr[rip], rax
.L77:
	mov	rdx, QWORD PTR lastbufptr[rip]
	mov	rax, QWORD PTR bufptr[rip]
	cmp	rdx, rax
	jbe	.L80
	mov	rax, QWORD PTR outfile[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR bufptr[rip]
	add	rax, 1
	mov	QWORD PTR lastbufptr[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	print_status, .-print_status
	.globl	countbits
	.type	countbits, @function
countbits:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L82
.L83:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	shr	DWORD PTR -20[rbp]
.L82:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L83
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	countbits, .-countbits
	.section	.rodata
.LC401:
	.string	"1.6"
	.align 8
.LC402:
	.string	"MIDITONES_SCROLL V%s, (C) 2011,2016 Len Shustek\n"
.LC403:
	.string	".bin"
.LC404:
	.string	"rb"
.LC405:
	.string	"Unable to open input file %s"
.LC406:
	.string	".c"
.LC407:
	.string	"w"
.LC408:
	.string	"Unable to open output file %s"
	.align 8
.LC409:
	.string	"Unable to allocate %ld bytes for the file"
	.align 8
.LC410:
	.string	"Processing %s.bin, %ld bytes.\n"
	.align 8
.LC411:
	.string	"// Playtune bytestream for file \"%s.bin\""
	.align 8
.LC412:
	.string	" created by MIDITONES_SCROLL V%s on %s\n"
	.align 8
.LC413:
	.string	"const byte PROGMEM score [] = {\n"
	.align 8
.LC414:
	.string	"Found Pt self-describing file header with flags %02X %02X, # tone gens = %d\n"
	.align 8
.LC415:
	.string	"'P','t', 6, 0x%02X, 0x%02X, %2d, // (Playtune file header)\n"
.LC416:
	.string	"duration    time   "
.LC417:
	.string	"   gen%-5d"
.LC418:
	.string	" gen%-2d"
.LC419:
	.string	"        bytestream code\n\n"
.LC420:
	.string	"tone generator not on"
.LC421:
	.string	"unknown command"
.LC422:
	.string	" 0xf0};\n"
.LC423:
	.string	" is"
.LC424:
	.string	"s are"
	.align 8
.LC425:
	.string	"// This score contains %ld bytes, and %d tone generator%s used.\n"
	.align 8
.LC426:
	.string	"At most %u tone generators were used.\n"
	.align 8
.LC427:
	.string	"%u notes were not displayed because we were told to show only %u generators.\n"
	.align 8
.LC428:
	.string	"%u stopnote commands were unnecessary.\n"
.LC429:
	.string	"Done."
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC401[rip]
	lea	rdi, .LC402[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -148[rbp], 1
	jne	.L86
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	SayUsage
	mov	eax, 1
	jmp	.L120
.L86:
	mov	rdx, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	HandleOptions
	mov	DWORD PTR -128[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -112[rbp], rax
	mov	rcx, QWORD PTR -112[rbp]
	lea	rax, -96[rbp]
	mov	edx, 80
	mov	rsi, rcx
	mov	rdi, rax
	call	strlcpy
	lea	rax, -96[rbp]
	mov	edx, 80
	lea	rsi, .LC403[rip]
	mov	rdi, rax
	call	strlcat
	lea	rax, -96[rbp]
	lea	rsi, .LC404[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR infile[rip], rax
	mov	rax, QWORD PTR infile[rip]
	test	rax, rax
	jne	.L88
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -96[rbp]
	lea	rsi, .LC405[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L120
.L88:
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L89
	mov	rcx, QWORD PTR -112[rbp]
	lea	rax, -96[rbp]
	mov	edx, 80
	mov	rsi, rcx
	mov	rdi, rax
	call	strlcpy
	lea	rax, -96[rbp]
	mov	edx, 80
	lea	rsi, .LC406[rip]
	mov	rdi, rax
	call	strlcat
	lea	rax, -96[rbp]
	lea	rsi, .LC407[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR outfile[rip], rax
	mov	rax, QWORD PTR infile[rip]
	test	rax, rax
	jne	.L90
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -96[rbp]
	lea	rsi, .LC408[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L120
.L89:
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR outfile[rip], rax
.L90:
	mov	rax, QWORD PTR infile[rip]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR infile[rip]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR buflen[rip], rax
	mov	rax, QWORD PTR infile[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR buflen[rip]
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR buffer[rip], rax
	mov	rax, QWORD PTR buffer[rip]
	test	rax, rax
	jne	.L91
	mov	rdx, QWORD PTR buflen[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC409[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L120
.L91:
	mov	rdx, QWORD PTR infile[rip]
	mov	rsi, QWORD PTR buflen[rip]
	mov	rax, QWORD PTR buffer[rip]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR infile[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	rdx, QWORD PTR buflen[rip]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC410[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L92
	lea	rax, -120[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	rax, QWORD PTR outfile[rip]
	mov	rdx, QWORD PTR -112[rbp]
	lea	rsi, .LC411[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -120[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	rdi, rax
	call	asctime@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rdx
	lea	rdx, .LC401[rip]
	lea	rsi, .LC412[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC413[rip]
	call	fwrite@PLT
.L92:
	mov	rax, QWORD PTR buffer[rip]
	mov	QWORD PTR bufptr[rip], rax
	mov	rax, QWORD PTR buffer[rip]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR buflen[rip]
	cmp	rax, 6
	jbe	.L93
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 80
	jne	.L93
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 1[rax]
	cmp	al, 116
	jne	.L93
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 5[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 4[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 3[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC414[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 3[rax]
	movzx	eax, al
	and	eax, 128
	test	eax, eax
	setne	al
	mov	BYTE PTR expect_volume[rip], al
	mov	rdx, QWORD PTR bufptr[rip]
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 2[rax]
	movzx	eax, al
	add	rax, rdx
	mov	QWORD PTR bufptr[rip], rax
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L93
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 5[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 4[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, BYTE PTR 3[rax]
	movzx	edx, al
	mov	rax, QWORD PTR outfile[rip]
	mov	r8d, esi
	lea	rsi, .LC415[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L93:
	mov	rax, QWORD PTR outfile[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L94
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC388[rip]
	call	fwrite@PLT
.L94:
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC416[rip]
	call	fwrite@PLT
	mov	DWORD PTR -136[rbp], 0
	jmp	.L95
.L98:
	movzx	eax, BYTE PTR expect_volume[rip]
	test	al, al
	je	.L96
	movzx	eax, BYTE PTR ignore_volume[rip]
	xor	eax, 1
	test	al, al
	je	.L96
	lea	rax, .LC417[rip]
	jmp	.L97
.L96:
	lea	rax, .LC418[rip]
.L97:
	mov	rcx, QWORD PTR outfile[rip]
	mov	edx, DWORD PTR -136[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -136[rbp], 1
.L95:
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR num_tonegens[rip]
	cmp	edx, eax
	jb	.L98
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC419[rip]
	call	fwrite@PLT
	mov	BYTE PTR gen[rip], 0
	jmp	.L99
.L100:
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_note[rip]
	mov	DWORD PTR [rdx+rax], -1
	movzx	eax, BYTE PTR gen[rip]
	add	eax, 1
	mov	BYTE PTR gen[rip], al
.L99:
	movzx	eax, BYTE PTR gen[rip]
	movzx	edx, al
	mov	eax, DWORD PTR num_tonegens[rip]
	cmp	edx, eax
	jb	.L100
	mov	DWORD PTR -132[rbp], 0
	mov	rax, QWORD PTR buffer[rip]
	mov	QWORD PTR lastbufptr[rip], rax
	jmp	.L101
.L113:
	mov	rax, QWORD PTR bufptr[rip]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR cmd[rip], al
	movzx	eax, BYTE PTR cmd[rip]
	test	al, al
	js	.L102
	movzx	eax, BYTE PTR cmd[rip]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR bufptr[rip]
	add	rax, 1
	mov	QWORD PTR bufptr[rip], rax
	mov	rax, QWORD PTR bufptr[rip]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, edx
	mov	DWORD PTR delay[rip], eax
	call	print_status
	mov	eax, DWORD PTR delay[rip]
	mov	edx, eax
	mov	rax, QWORD PTR timenow[rip]
	add	rax, rdx
	mov	QWORD PTR timenow[rip], rax
	mov	BYTE PTR gen[rip], 0
	jmp	.L103
.L104:
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	cdqe
	lea	rdx, gen_did_stopnote[rip]
	mov	BYTE PTR [rax+rdx], 0
	movzx	eax, BYTE PTR gen[rip]
	add	eax, 1
	mov	BYTE PTR gen[rip], al
.L103:
	movzx	eax, BYTE PTR gen[rip]
	cmp	al, 15
	jbe	.L104
	jmp	.L105
.L102:
	movzx	eax, BYTE PTR cmd[rip]
	cmp	al, -16
	je	.L105
	movzx	eax, BYTE PTR cmd[rip]
	and	eax, 15
	mov	BYTE PTR gen[rip], al
	movzx	eax, BYTE PTR gen[rip]
	movzx	edx, al
	mov	eax, DWORD PTR max_tonegen_found[rip]
	cmp	edx, eax
	jbe	.L106
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	mov	DWORD PTR max_tonegen_found[rip], eax
.L106:
	movzx	eax, BYTE PTR cmd[rip]
	and	eax, -16
	mov	BYTE PTR cmd[rip], al
	movzx	eax, BYTE PTR cmd[rip]
	cmp	al, -112
	jne	.L107
	mov	rax, QWORD PTR bufptr[rip]
	add	rax, 1
	mov	QWORD PTR bufptr[rip], rax
	mov	rax, QWORD PTR bufptr[rip]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR gen[rip]
	movzx	edx, dl
	movzx	eax, al
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, gen_note[rip]
	mov	DWORD PTR [rcx+rdx], eax
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	or	DWORD PTR -132[rbp], eax
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	cdqe
	lea	rdx, gen_did_stopnote[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L108
	mov	eax, DWORD PTR stopnotes_before_startnote[rip]
	add	eax, 1
	mov	DWORD PTR stopnotes_before_startnote[rip], eax
.L108:
	movzx	eax, BYTE PTR expect_volume[rip]
	test	al, al
	je	.L109
	mov	rax, QWORD PTR bufptr[rip]
	add	rax, 1
	mov	QWORD PTR bufptr[rip], rax
	mov	rax, QWORD PTR bufptr[rip]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR gen[rip]
	movzx	edx, dl
	movzx	eax, al
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, gen_volume[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L109:
	movzx	eax, BYTE PTR gen[rip]
	movzx	edx, al
	mov	eax, DWORD PTR num_tonegens[rip]
	cmp	edx, eax
	jb	.L105
	mov	eax, DWORD PTR notes_skipped[rip]
	add	eax, 1
	mov	DWORD PTR notes_skipped[rip], eax
	jmp	.L105
.L107:
	movzx	eax, BYTE PTR cmd[rip]
	cmp	al, -128
	jne	.L110
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_note[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L111
	mov	rax, QWORD PTR bufptr[rip]
	mov	rsi, rax
	lea	rdi, .LC420[rip]
	call	file_error
.L111:
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_note[rip]
	mov	DWORD PTR [rdx+rax], -1
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	cdqe
	lea	rdx, gen_did_stopnote[rip]
	mov	BYTE PTR [rax+rdx], 1
	jmp	.L105
.L110:
	movzx	eax, BYTE PTR cmd[rip]
	cmp	al, -64
	jne	.L112
	mov	rax, QWORD PTR bufptr[rip]
	add	rax, 1
	mov	QWORD PTR bufptr[rip], rax
	mov	rax, QWORD PTR bufptr[rip]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	mov	ecx, edx
	and	ecx, 127
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, gen_instrument[rip]
	mov	DWORD PTR [rdx+rax], ecx
	movzx	eax, BYTE PTR gen[rip]
	movzx	eax, al
	cdqe
	lea	rdx, gen_instrument_changed[rip]
	mov	BYTE PTR [rax+rdx], 1
	jmp	.L105
.L112:
	mov	rax, QWORD PTR bufptr[rip]
	mov	rsi, rax
	lea	rdi, .LC421[rip]
	call	file_error
.L105:
	mov	rax, QWORD PTR bufptr[rip]
	add	rax, 1
	mov	QWORD PTR bufptr[rip], rax
.L101:
	mov	rdx, QWORD PTR buffer[rip]
	mov	rax, QWORD PTR buflen[rip]
	add	rdx, rax
	mov	rax, QWORD PTR bufptr[rip]
	cmp	rdx, rax
	ja	.L113
	mov	DWORD PTR delay[rip], 0
	mov	rax, QWORD PTR bufptr[rip]
	sub	rax, 1
	mov	QWORD PTR bufptr[rip], rax
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L114
	mov	rax, QWORD PTR bufptr[rip]
	sub	rax, 1
	mov	QWORD PTR bufptr[rip], rax
.L114:
	call	print_status
	movzx	eax, BYTE PTR codeoutput[rip]
	test	al, al
	je	.L115
	mov	rax, QWORD PTR outfile[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC422[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -132[rbp]
	mov	edi, eax
	call	countbits
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 1
	jne	.L116
	lea	rax, .LC423[rip]
	jmp	.L117
.L116:
	lea	rax, .LC424[rip]
.L117:
	mov	rdx, QWORD PTR buflen[rip]
	mov	rdi, QWORD PTR outfile[rip]
	mov	ecx, DWORD PTR -124[rbp]
	mov	r8, rax
	lea	rsi, .LC425[rip]
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L118
.L115:
	mov	rax, QWORD PTR outfile[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L118:
	mov	eax, DWORD PTR max_tonegen_found[rip]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC426[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR notes_skipped[rip]
	test	eax, eax
	je	.L119
	mov	edx, DWORD PTR num_tonegens[rip]
	mov	eax, DWORD PTR notes_skipped[rip]
	mov	esi, eax
	lea	rdi, .LC427[rip]
	mov	eax, 0
	call	printf@PLT
.L119:
	mov	eax, DWORD PTR stopnotes_before_startnote[rip]
	mov	esi, eax
	lea	rdi, .LC428[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC429[rip]
	call	puts@PLT
	mov	eax, 0
.L120:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L121
	call	__stack_chk_fail@PLT
.L121:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC430:
	.string	"Display a MIDITONES bytestream"
	.align 8
.LC431:
	.string	"Usage: miditones_scroll <basefilename>"
.LC432:
	.string	"   reads <basefilename>.bin"
	.align 8
.LC433:
	.string	" -tn displays up to n tone generators"
	.align 8
.LC434:
	.string	" -v expects and displays volume information"
	.align 8
.LC435:
	.string	" -vi expects and ignores volume information"
	.align 8
.LC436:
	.string	" -c option creates an annotated C source file as <basefile>.c"
	.section	.data.rel.local
	.align 32
	.type	usage.0, @object
	.size	usage.0, 64
usage.0:
	.quad	.LC430
	.quad	.LC431
	.quad	.LC432
	.quad	.LC433
	.quad	.LC434
	.quad	.LC435
	.quad	.LC436
	.quad	.LC389
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"892689.c"
	.text
	.comm	gen_note,64,4
	.comm	gen_volume,64,4
	.comm	gen_instrument,64,4
	.comm	gen_instrument_changed,16,4
	.comm	gen_did_stopnote,16,4
	.comm	infile,4,4
	.comm	outfile,4,4
	.comm	buffer,4,4
	.comm	bufptr,4,4
	.comm	buflen,4,4
	.global	num_tonegens
	.data
	.align	2
	.type	num_tonegens, %object
	.size	num_tonegens, 4
num_tonegens:
	.word	6
	.global	max_tonegen_found
	.bss
	.align	2
	.type	max_tonegen_found, %object
	.size	max_tonegen_found, 4
max_tonegen_found:
	.space	4
	.global	notes_skipped
	.align	2
	.type	notes_skipped, %object
	.size	notes_skipped, 4
notes_skipped:
	.space	4
	.global	stopnotes_before_startnote
	.align	2
	.type	stopnotes_before_startnote, %object
	.size	stopnotes_before_startnote, 4
stopnotes_before_startnote:
	.space	4
	.global	timenow
	.align	2
	.type	timenow, %object
	.size	timenow, 4
timenow:
	.space	4
	.comm	cmd,1,1
	.comm	gen,1,1
	.comm	lastbufptr,4,4
	.comm	delay,4,4
	.global	codeoutput
	.type	codeoutput, %object
	.size	codeoutput, 1
codeoutput:
	.space	1
	.global	expect_volume
	.type	expect_volume, %object
	.size	expect_volume, 1
expect_volume:
	.space	1
	.global	ignore_volume
	.type	ignore_volume, %object
	.size	ignore_volume, 1
ignore_volume:
	.space	1
	.global	ignore_instruments
	.type	ignore_instruments, %object
	.size	ignore_instruments, 1
ignore_instruments:
	.space	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-1C \000"
	.align	2
.LC1:
	.ascii	"-1C#\000"
	.align	2
.LC2:
	.ascii	"-1D \000"
	.align	2
.LC3:
	.ascii	"-1D#\000"
	.align	2
.LC4:
	.ascii	"-1E \000"
	.align	2
.LC5:
	.ascii	"-1F \000"
	.align	2
.LC6:
	.ascii	"-1F#\000"
	.align	2
.LC7:
	.ascii	"-1G \000"
	.align	2
.LC8:
	.ascii	"-1G#\000"
	.align	2
.LC9:
	.ascii	"-1A \000"
	.align	2
.LC10:
	.ascii	"-1A#\000"
	.align	2
.LC11:
	.ascii	"-1B \000"
	.align	2
.LC12:
	.ascii	" 0C \000"
	.align	2
.LC13:
	.ascii	" 0C#\000"
	.align	2
.LC14:
	.ascii	" 0D \000"
	.align	2
.LC15:
	.ascii	" 0D#\000"
	.align	2
.LC16:
	.ascii	" 0E \000"
	.align	2
.LC17:
	.ascii	" 0F \000"
	.align	2
.LC18:
	.ascii	" 0F#\000"
	.align	2
.LC19:
	.ascii	" 0G \000"
	.align	2
.LC20:
	.ascii	" 0G#\000"
	.align	2
.LC21:
	.ascii	" 0A \000"
	.align	2
.LC22:
	.ascii	" 0A#\000"
	.align	2
.LC23:
	.ascii	" 0B \000"
	.align	2
.LC24:
	.ascii	" 1C \000"
	.align	2
.LC25:
	.ascii	" 1C#\000"
	.align	2
.LC26:
	.ascii	" 1D \000"
	.align	2
.LC27:
	.ascii	" 1D#\000"
	.align	2
.LC28:
	.ascii	" 1E \000"
	.align	2
.LC29:
	.ascii	" 1F \000"
	.align	2
.LC30:
	.ascii	" 1F#\000"
	.align	2
.LC31:
	.ascii	" 1G \000"
	.align	2
.LC32:
	.ascii	" 1G#\000"
	.align	2
.LC33:
	.ascii	" 1A \000"
	.align	2
.LC34:
	.ascii	" 1A#\000"
	.align	2
.LC35:
	.ascii	" 1B \000"
	.align	2
.LC36:
	.ascii	" 2C \000"
	.align	2
.LC37:
	.ascii	" 2C#\000"
	.align	2
.LC38:
	.ascii	" 2D \000"
	.align	2
.LC39:
	.ascii	" 2D#\000"
	.align	2
.LC40:
	.ascii	" 2E \000"
	.align	2
.LC41:
	.ascii	" 2F \000"
	.align	2
.LC42:
	.ascii	" 2F#\000"
	.align	2
.LC43:
	.ascii	" 2G \000"
	.align	2
.LC44:
	.ascii	" 2G#\000"
	.align	2
.LC45:
	.ascii	" 2A \000"
	.align	2
.LC46:
	.ascii	" 2A#\000"
	.align	2
.LC47:
	.ascii	" 2B \000"
	.align	2
.LC48:
	.ascii	" 3C \000"
	.align	2
.LC49:
	.ascii	" 3C#\000"
	.align	2
.LC50:
	.ascii	" 3D \000"
	.align	2
.LC51:
	.ascii	" 3D#\000"
	.align	2
.LC52:
	.ascii	" 3E \000"
	.align	2
.LC53:
	.ascii	" 3F \000"
	.align	2
.LC54:
	.ascii	" 3F#\000"
	.align	2
.LC55:
	.ascii	" 3G \000"
	.align	2
.LC56:
	.ascii	" 3G#\000"
	.align	2
.LC57:
	.ascii	" 3A \000"
	.align	2
.LC58:
	.ascii	" 3A#\000"
	.align	2
.LC59:
	.ascii	" 3B \000"
	.align	2
.LC60:
	.ascii	" 4C \000"
	.align	2
.LC61:
	.ascii	" 4C#\000"
	.align	2
.LC62:
	.ascii	" 4D \000"
	.align	2
.LC63:
	.ascii	" 4D#\000"
	.align	2
.LC64:
	.ascii	" 4E \000"
	.align	2
.LC65:
	.ascii	" 4F \000"
	.align	2
.LC66:
	.ascii	" 4F#\000"
	.align	2
.LC67:
	.ascii	" 4G \000"
	.align	2
.LC68:
	.ascii	" 4G#\000"
	.align	2
.LC69:
	.ascii	" 4A \000"
	.align	2
.LC70:
	.ascii	" 4A#\000"
	.align	2
.LC71:
	.ascii	" 4B \000"
	.align	2
.LC72:
	.ascii	" 5C \000"
	.align	2
.LC73:
	.ascii	" 5C#\000"
	.align	2
.LC74:
	.ascii	" 5D \000"
	.align	2
.LC75:
	.ascii	" 5D#\000"
	.align	2
.LC76:
	.ascii	" 5E \000"
	.align	2
.LC77:
	.ascii	" 5F \000"
	.align	2
.LC78:
	.ascii	" 5F#\000"
	.align	2
.LC79:
	.ascii	" 5G \000"
	.align	2
.LC80:
	.ascii	" 5G#\000"
	.align	2
.LC81:
	.ascii	" 5A \000"
	.align	2
.LC82:
	.ascii	" 5A#\000"
	.align	2
.LC83:
	.ascii	" 5B \000"
	.align	2
.LC84:
	.ascii	" 6C \000"
	.align	2
.LC85:
	.ascii	" 6C#\000"
	.align	2
.LC86:
	.ascii	" 6D \000"
	.align	2
.LC87:
	.ascii	" 6D#\000"
	.align	2
.LC88:
	.ascii	" 6E \000"
	.align	2
.LC89:
	.ascii	" 6F \000"
	.align	2
.LC90:
	.ascii	" 6F#\000"
	.align	2
.LC91:
	.ascii	" 6G \000"
	.align	2
.LC92:
	.ascii	" 6G#\000"
	.align	2
.LC93:
	.ascii	" 6A \000"
	.align	2
.LC94:
	.ascii	" 6A#\000"
	.align	2
.LC95:
	.ascii	" 6B \000"
	.align	2
.LC96:
	.ascii	" 7C \000"
	.align	2
.LC97:
	.ascii	" 7C#\000"
	.align	2
.LC98:
	.ascii	" 7D \000"
	.align	2
.LC99:
	.ascii	" 7D#\000"
	.align	2
.LC100:
	.ascii	" 7E \000"
	.align	2
.LC101:
	.ascii	" 7F \000"
	.align	2
.LC102:
	.ascii	" 7F#\000"
	.align	2
.LC103:
	.ascii	" 7G \000"
	.align	2
.LC104:
	.ascii	" 7G#\000"
	.align	2
.LC105:
	.ascii	" 7A \000"
	.align	2
.LC106:
	.ascii	" 7A#\000"
	.align	2
.LC107:
	.ascii	" 7B \000"
	.align	2
.LC108:
	.ascii	" 8C \000"
	.align	2
.LC109:
	.ascii	" 8C#\000"
	.align	2
.LC110:
	.ascii	" 8D \000"
	.align	2
.LC111:
	.ascii	" 8D#\000"
	.align	2
.LC112:
	.ascii	" 8E \000"
	.align	2
.LC113:
	.ascii	" 8F \000"
	.align	2
.LC114:
	.ascii	" 8F#\000"
	.align	2
.LC115:
	.ascii	" 8G \000"
	.align	2
.LC116:
	.ascii	" 8G#\000"
	.align	2
.LC117:
	.ascii	" 8A \000"
	.align	2
.LC118:
	.ascii	" 8A#\000"
	.align	2
.LC119:
	.ascii	" 8B \000"
	.align	2
.LC120:
	.ascii	" 9C \000"
	.align	2
.LC121:
	.ascii	" 9C#\000"
	.align	2
.LC122:
	.ascii	" 9D \000"
	.align	2
.LC123:
	.ascii	" 9D#\000"
	.align	2
.LC124:
	.ascii	" 9E \000"
	.align	2
.LC125:
	.ascii	" 9F \000"
	.align	2
.LC126:
	.ascii	" 9F#\000"
	.align	2
.LC127:
	.ascii	" 9G \000"
	.align	2
.LC128:
	.ascii	"P000 \000"
	.align	2
.LC129:
	.ascii	"P001 \000"
	.align	2
.LC130:
	.ascii	"P002 \000"
	.align	2
.LC131:
	.ascii	"P003 \000"
	.align	2
.LC132:
	.ascii	"P004 \000"
	.align	2
.LC133:
	.ascii	"P005 \000"
	.align	2
.LC134:
	.ascii	"P006 \000"
	.align	2
.LC135:
	.ascii	"P007 \000"
	.align	2
.LC136:
	.ascii	"P008 \000"
	.align	2
.LC137:
	.ascii	"P009 \000"
	.align	2
.LC138:
	.ascii	"P010 \000"
	.align	2
.LC139:
	.ascii	"P011 \000"
	.align	2
.LC140:
	.ascii	"P012 \000"
	.align	2
.LC141:
	.ascii	"P013 \000"
	.align	2
.LC142:
	.ascii	"P014 \000"
	.align	2
.LC143:
	.ascii	"P015 \000"
	.align	2
.LC144:
	.ascii	"P016 \000"
	.align	2
.LC145:
	.ascii	"P017 \000"
	.align	2
.LC146:
	.ascii	"P018 \000"
	.align	2
.LC147:
	.ascii	"P019 \000"
	.align	2
.LC148:
	.ascii	"P020 \000"
	.align	2
.LC149:
	.ascii	"P021 \000"
	.align	2
.LC150:
	.ascii	"P022 \000"
	.align	2
.LC151:
	.ascii	"P023 \000"
	.align	2
.LC152:
	.ascii	"P024 \000"
	.align	2
.LC153:
	.ascii	"P025 \000"
	.align	2
.LC154:
	.ascii	"P026 \000"
	.align	2
.LC155:
	.ascii	"Laser\000"
	.align	2
.LC156:
	.ascii	"Whip \000"
	.align	2
.LC157:
	.ascii	"ScrPu\000"
	.align	2
.LC158:
	.ascii	"ScrPl\000"
	.align	2
.LC159:
	.ascii	"Stick\000"
	.align	2
.LC160:
	.ascii	"MetCk\000"
	.align	2
.LC161:
	.ascii	"P033 \000"
	.align	2
.LC162:
	.ascii	"MetBl\000"
	.align	2
.LC163:
	.ascii	"BassD\000"
	.align	2
.LC164:
	.ascii	"KickD\000"
	.align	2
.LC165:
	.ascii	"SnaSt\000"
	.align	2
.LC166:
	.ascii	"SnaD \000"
	.align	2
.LC167:
	.ascii	"Clap \000"
	.align	2
.LC168:
	.ascii	"ESnaD\000"
	.align	2
.LC169:
	.ascii	"FTom2\000"
	.align	2
.LC170:
	.ascii	"HHatC\000"
	.align	2
.LC171:
	.ascii	"FTom1\000"
	.align	2
.LC172:
	.ascii	"HHatF\000"
	.align	2
.LC173:
	.ascii	"LTom \000"
	.align	2
.LC174:
	.ascii	"HHatO\000"
	.align	2
.LC175:
	.ascii	"LMTom\000"
	.align	2
.LC176:
	.ascii	"HMTom\000"
	.align	2
.LC177:
	.ascii	"CrCym\000"
	.align	2
.LC178:
	.ascii	"HTom \000"
	.align	2
.LC179:
	.ascii	"RiCym\000"
	.align	2
.LC180:
	.ascii	"ChCym\000"
	.align	2
.LC181:
	.ascii	"RiBel\000"
	.align	2
.LC182:
	.ascii	"Tamb \000"
	.align	2
.LC183:
	.ascii	"SpCym\000"
	.align	2
.LC184:
	.ascii	"CowBl\000"
	.align	2
.LC185:
	.ascii	"VSlap\000"
	.align	2
.LC186:
	.ascii	"HBong\000"
	.align	2
.LC187:
	.ascii	"LBong\000"
	.align	2
.LC188:
	.ascii	"CongD\000"
	.align	2
.LC189:
	.ascii	"Conga\000"
	.align	2
.LC190:
	.ascii	"Tumba\000"
	.align	2
.LC191:
	.ascii	"HTimb\000"
	.align	2
.LC192:
	.ascii	"LTimb\000"
	.align	2
.LC193:
	.ascii	"HAgog\000"
	.align	2
.LC194:
	.ascii	"LAgog\000"
	.align	2
.LC195:
	.ascii	"Cabas\000"
	.align	2
.LC196:
	.ascii	"Marac\000"
	.align	2
.LC197:
	.ascii	"SWhis\000"
	.align	2
.LC198:
	.ascii	"LWhis\000"
	.align	2
.LC199:
	.ascii	"SGuir\000"
	.align	2
.LC200:
	.ascii	"LGuir\000"
	.align	2
.LC201:
	.ascii	"Clave\000"
	.align	2
.LC202:
	.ascii	"HWood\000"
	.align	2
.LC203:
	.ascii	"LWood\000"
	.align	2
.LC204:
	.ascii	"HCuic\000"
	.align	2
.LC205:
	.ascii	"LCuic\000"
	.align	2
.LC206:
	.ascii	"MTria\000"
	.align	2
.LC207:
	.ascii	"OTria\000"
	.align	2
.LC208:
	.ascii	"Shakr\000"
	.align	2
.LC209:
	.ascii	"Sleig\000"
	.align	2
.LC210:
	.ascii	"BelTr\000"
	.align	2
.LC211:
	.ascii	"Casta\000"
	.align	2
.LC212:
	.ascii	"SirdD\000"
	.align	2
.LC213:
	.ascii	"Sirdu\000"
	.align	2
.LC214:
	.ascii	"P088 \000"
	.align	2
.LC215:
	.ascii	"P089 \000"
	.align	2
.LC216:
	.ascii	"P090 \000"
	.align	2
.LC217:
	.ascii	"SnDmR\000"
	.align	2
.LC218:
	.ascii	"OcDrm\000"
	.align	2
.LC219:
	.ascii	"SmDrB\000"
	.align	2
.LC220:
	.ascii	"P094 \000"
	.align	2
.LC221:
	.ascii	"P095 \000"
	.align	2
.LC222:
	.ascii	"P096 \000"
	.align	2
.LC223:
	.ascii	"P097 \000"
	.align	2
.LC224:
	.ascii	"P098 \000"
	.align	2
.LC225:
	.ascii	"P099 \000"
	.align	2
.LC226:
	.ascii	"P100 \000"
	.align	2
.LC227:
	.ascii	"P101 \000"
	.align	2
.LC228:
	.ascii	"P102 \000"
	.align	2
.LC229:
	.ascii	"P103 \000"
	.align	2
.LC230:
	.ascii	"P104 \000"
	.align	2
.LC231:
	.ascii	"P105 \000"
	.align	2
.LC232:
	.ascii	"P106 \000"
	.align	2
.LC233:
	.ascii	"P107 \000"
	.align	2
.LC234:
	.ascii	"P108 \000"
	.align	2
.LC235:
	.ascii	"P109 \000"
	.align	2
.LC236:
	.ascii	"P110 \000"
	.align	2
.LC237:
	.ascii	"P111 \000"
	.align	2
.LC238:
	.ascii	"P112 \000"
	.align	2
.LC239:
	.ascii	"P113 \000"
	.align	2
.LC240:
	.ascii	"P114 \000"
	.align	2
.LC241:
	.ascii	"P115 \000"
	.align	2
.LC242:
	.ascii	"P116 \000"
	.align	2
.LC243:
	.ascii	"P117 \000"
	.align	2
.LC244:
	.ascii	"P118 \000"
	.align	2
.LC245:
	.ascii	"P119 \000"
	.align	2
.LC246:
	.ascii	"P120 \000"
	.align	2
.LC247:
	.ascii	"P121 \000"
	.align	2
.LC248:
	.ascii	"P122 \000"
	.align	2
.LC249:
	.ascii	"P123 \000"
	.align	2
.LC250:
	.ascii	"P124 \000"
	.align	2
.LC251:
	.ascii	"P125 \000"
	.align	2
.LC252:
	.ascii	"P126 \000"
	.align	2
.LC253:
	.ascii	"P127\000"
	.data
	.align	2
	.type	notename, %object
	.size	notename, 1024
notename:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	.LC87
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.word	.LC91
	.word	.LC92
	.word	.LC93
	.word	.LC94
	.word	.LC95
	.word	.LC96
	.word	.LC97
	.word	.LC98
	.word	.LC99
	.word	.LC100
	.word	.LC101
	.word	.LC102
	.word	.LC103
	.word	.LC104
	.word	.LC105
	.word	.LC106
	.word	.LC107
	.word	.LC108
	.word	.LC109
	.word	.LC110
	.word	.LC111
	.word	.LC112
	.word	.LC113
	.word	.LC114
	.word	.LC115
	.word	.LC116
	.word	.LC117
	.word	.LC118
	.word	.LC119
	.word	.LC120
	.word	.LC121
	.word	.LC122
	.word	.LC123
	.word	.LC124
	.word	.LC125
	.word	.LC126
	.word	.LC127
	.word	.LC128
	.word	.LC129
	.word	.LC130
	.word	.LC131
	.word	.LC132
	.word	.LC133
	.word	.LC134
	.word	.LC135
	.word	.LC136
	.word	.LC137
	.word	.LC138
	.word	.LC139
	.word	.LC140
	.word	.LC141
	.word	.LC142
	.word	.LC143
	.word	.LC144
	.word	.LC145
	.word	.LC146
	.word	.LC147
	.word	.LC148
	.word	.LC149
	.word	.LC150
	.word	.LC151
	.word	.LC152
	.word	.LC153
	.word	.LC154
	.word	.LC155
	.word	.LC156
	.word	.LC157
	.word	.LC158
	.word	.LC159
	.word	.LC160
	.word	.LC161
	.word	.LC162
	.word	.LC163
	.word	.LC164
	.word	.LC165
	.word	.LC166
	.word	.LC167
	.word	.LC168
	.word	.LC169
	.word	.LC170
	.word	.LC171
	.word	.LC172
	.word	.LC173
	.word	.LC174
	.word	.LC175
	.word	.LC176
	.word	.LC177
	.word	.LC178
	.word	.LC179
	.word	.LC180
	.word	.LC181
	.word	.LC182
	.word	.LC183
	.word	.LC184
	.word	.LC177
	.word	.LC185
	.word	.LC179
	.word	.LC186
	.word	.LC187
	.word	.LC188
	.word	.LC189
	.word	.LC190
	.word	.LC191
	.word	.LC192
	.word	.LC193
	.word	.LC194
	.word	.LC195
	.word	.LC196
	.word	.LC197
	.word	.LC198
	.word	.LC199
	.word	.LC200
	.word	.LC201
	.word	.LC202
	.word	.LC203
	.word	.LC204
	.word	.LC205
	.word	.LC206
	.word	.LC207
	.word	.LC208
	.word	.LC209
	.word	.LC210
	.word	.LC211
	.word	.LC212
	.word	.LC213
	.word	.LC214
	.word	.LC215
	.word	.LC216
	.word	.LC217
	.word	.LC218
	.word	.LC219
	.word	.LC220
	.word	.LC221
	.word	.LC222
	.word	.LC223
	.word	.LC224
	.word	.LC225
	.word	.LC226
	.word	.LC227
	.word	.LC228
	.word	.LC229
	.word	.LC230
	.word	.LC231
	.word	.LC232
	.word	.LC233
	.word	.LC234
	.word	.LC235
	.word	.LC236
	.word	.LC237
	.word	.LC238
	.word	.LC239
	.word	.LC240
	.word	.LC241
	.word	.LC242
	.word	.LC243
	.word	.LC244
	.word	.LC245
	.word	.LC246
	.word	.LC247
	.word	.LC248
	.word	.LC249
	.word	.LC250
	.word	.LC251
	.word	.LC252
	.word	.LC253
	.section	.rodata
	.align	2
.LC254:
	.ascii	"APiano\000"
	.align	2
.LC255:
	.ascii	"BPiano\000"
	.align	2
.LC256:
	.ascii	"EPiano\000"
	.align	2
.LC257:
	.ascii	"HPiano\000"
	.align	2
.LC258:
	.ascii	"E1Pian\000"
	.align	2
.LC259:
	.ascii	"E2Pian\000"
	.align	2
.LC260:
	.ascii	"Harpsi\000"
	.align	2
.LC261:
	.ascii	"Clavic\000"
	.align	2
.LC262:
	.ascii	"Celest\000"
	.align	2
.LC263:
	.ascii	"Glockn\000"
	.align	2
.LC264:
	.ascii	"MusBox\000"
	.align	2
.LC265:
	.ascii	"Vibrap\000"
	.align	2
.LC266:
	.ascii	"Marimb\000"
	.align	2
.LC267:
	.ascii	"Xyloph\000"
	.align	2
.LC268:
	.ascii	"TubBel\000"
	.align	2
.LC269:
	.ascii	"Dulcim\000"
	.align	2
.LC270:
	.ascii	"DOrgan\000"
	.align	2
.LC271:
	.ascii	"POrgan\000"
	.align	2
.LC272:
	.ascii	"ROrgan\000"
	.align	2
.LC273:
	.ascii	"COrgan\000"
	.align	2
.LC274:
	.ascii	"dOrgan\000"
	.align	2
.LC275:
	.ascii	"Accord\000"
	.align	2
.LC276:
	.ascii	"Harmon\000"
	.align	2
.LC277:
	.ascii	"TAccor\000"
	.align	2
.LC278:
	.ascii	"NyGuit\000"
	.align	2
.LC279:
	.ascii	"StGuit\000"
	.align	2
.LC280:
	.ascii	"JzGuit\000"
	.align	2
.LC281:
	.ascii	"ClGuit\000"
	.align	2
.LC282:
	.ascii	"MuGuit\000"
	.align	2
.LC283:
	.ascii	"OvGuit\000"
	.align	2
.LC284:
	.ascii	"DsGuit\000"
	.align	2
.LC285:
	.ascii	"HaGuit\000"
	.align	2
.LC286:
	.ascii	"AcBass\000"
	.align	2
.LC287:
	.ascii	"FiBass\000"
	.align	2
.LC288:
	.ascii	"PiBass\000"
	.align	2
.LC289:
	.ascii	"FrBass\000"
	.align	2
.LC290:
	.ascii	"S1Bass\000"
	.align	2
.LC291:
	.ascii	"S2Bass\000"
	.align	2
.LC292:
	.ascii	"y1Bass\000"
	.align	2
.LC293:
	.ascii	"y2Bass\000"
	.align	2
.LC294:
	.ascii	"Violin\000"
	.align	2
.LC295:
	.ascii	"Viola \000"
	.align	2
.LC296:
	.ascii	"Cello \000"
	.align	2
.LC297:
	.ascii	"CnBass\000"
	.align	2
.LC298:
	.ascii	"TrStng\000"
	.align	2
.LC299:
	.ascii	"PzStng\000"
	.align	2
.LC300:
	.ascii	"OrHarp\000"
	.align	2
.LC301:
	.ascii	"Timpan\000"
	.align	2
.LC302:
	.ascii	"S1Ensb\000"
	.align	2
.LC303:
	.ascii	"y1Strg\000"
	.align	2
.LC304:
	.ascii	"y2Strg\000"
	.align	2
.LC305:
	.ascii	"ChAhhs\000"
	.align	2
.LC306:
	.ascii	"VcOohs\000"
	.align	2
.LC307:
	.ascii	"SyVoic\000"
	.align	2
.LC308:
	.ascii	"OrcHit\000"
	.align	2
.LC309:
	.ascii	"Trumpt\000"
	.align	2
.LC310:
	.ascii	"Trombn\000"
	.align	2
.LC311:
	.ascii	"Tuba  \000"
	.align	2
.LC312:
	.ascii	"MuTrum\000"
	.align	2
.LC313:
	.ascii	"FrHorn\000"
	.align	2
.LC314:
	.ascii	"Brass \000"
	.align	2
.LC315:
	.ascii	"y1Bras\000"
	.align	2
.LC316:
	.ascii	"y2Bras\000"
	.align	2
.LC317:
	.ascii	"SopSax\000"
	.align	2
.LC318:
	.ascii	"AltSax\000"
	.align	2
.LC319:
	.ascii	"TenSax\000"
	.align	2
.LC320:
	.ascii	"BarSax\000"
	.align	2
.LC321:
	.ascii	"Oboe  \000"
	.align	2
.LC322:
	.ascii	"EnHorn\000"
	.align	2
.LC323:
	.ascii	"Basson\000"
	.align	2
.LC324:
	.ascii	"Clarin\000"
	.align	2
.LC325:
	.ascii	"Piccol\000"
	.align	2
.LC326:
	.ascii	"Flute \000"
	.align	2
.LC327:
	.ascii	"Record\000"
	.align	2
.LC328:
	.ascii	"PFlute\000"
	.align	2
.LC329:
	.ascii	"BlBotl\000"
	.align	2
.LC330:
	.ascii	"Shakuh\000"
	.align	2
.LC331:
	.ascii	"Whistl\000"
	.align	2
.LC332:
	.ascii	"Ocarin\000"
	.align	2
.LC333:
	.ascii	"Square\000"
	.align	2
.LC334:
	.ascii	"Sawtoo\000"
	.align	2
.LC335:
	.ascii	"Callip\000"
	.align	2
.LC336:
	.ascii	"Chiff \000"
	.align	2
.LC337:
	.ascii	"Charag\000"
	.align	2
.LC338:
	.ascii	"Voice \000"
	.align	2
.LC339:
	.ascii	"Fifths\000"
	.align	2
.LC340:
	.ascii	"BassLd\000"
	.align	2
.LC341:
	.ascii	"Pad1  \000"
	.align	2
.LC342:
	.ascii	"Pad2  \000"
	.align	2
.LC343:
	.ascii	"Pad3  \000"
	.align	2
.LC344:
	.ascii	"Pad4  \000"
	.align	2
.LC345:
	.ascii	"Pad5  \000"
	.align	2
.LC346:
	.ascii	"Pad6  \000"
	.align	2
.LC347:
	.ascii	"Pad7  \000"
	.align	2
.LC348:
	.ascii	"Pad 8 \000"
	.align	2
.LC349:
	.ascii	"FX1   \000"
	.align	2
.LC350:
	.ascii	"FX2   \000"
	.align	2
.LC351:
	.ascii	"FX3   \000"
	.align	2
.LC352:
	.ascii	"FX4   \000"
	.align	2
.LC353:
	.ascii	"FX5   \000"
	.align	2
.LC354:
	.ascii	"FX6   \000"
	.align	2
.LC355:
	.ascii	"FX7   \000"
	.align	2
.LC356:
	.ascii	"FX8   \000"
	.align	2
.LC357:
	.ascii	"Sitar \000"
	.align	2
.LC358:
	.ascii	"Banjo \000"
	.align	2
.LC359:
	.ascii	"Shamis\000"
	.align	2
.LC360:
	.ascii	"Koto  \000"
	.align	2
.LC361:
	.ascii	"Kalimb\000"
	.align	2
.LC362:
	.ascii	"Bagpip\000"
	.align	2
.LC363:
	.ascii	"Fiddle\000"
	.align	2
.LC364:
	.ascii	"Shanai\000"
	.align	2
.LC365:
	.ascii	"TnkBel\000"
	.align	2
.LC366:
	.ascii	"Agogo \000"
	.align	2
.LC367:
	.ascii	"StDrum\000"
	.align	2
.LC368:
	.ascii	"WdBlok\000"
	.align	2
.LC369:
	.ascii	"TaiDrm\000"
	.align	2
.LC370:
	.ascii	"MelTom\000"
	.align	2
.LC371:
	.ascii	"SynDrm\000"
	.align	2
.LC372:
	.ascii	"RevCym\000"
	.align	2
.LC373:
	.ascii	"GuitFr\000"
	.align	2
.LC374:
	.ascii	"Breath\000"
	.align	2
.LC375:
	.ascii	"Seashr\000"
	.align	2
.LC376:
	.ascii	"BirdTw\000"
	.align	2
.LC377:
	.ascii	"Phone \000"
	.align	2
.LC378:
	.ascii	"Copter\000"
	.align	2
.LC379:
	.ascii	"Claps \000"
	.align	2
.LC380:
	.ascii	"Guns   \000"
	.data
	.align	2
	.type	instrumentname, %object
	.size	instrumentname, 512
instrumentname:
	.word	.LC254
	.word	.LC255
	.word	.LC256
	.word	.LC257
	.word	.LC258
	.word	.LC259
	.word	.LC260
	.word	.LC261
	.word	.LC262
	.word	.LC263
	.word	.LC264
	.word	.LC265
	.word	.LC266
	.word	.LC267
	.word	.LC268
	.word	.LC269
	.word	.LC270
	.word	.LC271
	.word	.LC272
	.word	.LC273
	.word	.LC274
	.word	.LC275
	.word	.LC276
	.word	.LC277
	.word	.LC278
	.word	.LC279
	.word	.LC280
	.word	.LC281
	.word	.LC282
	.word	.LC283
	.word	.LC284
	.word	.LC285
	.word	.LC286
	.word	.LC287
	.word	.LC288
	.word	.LC289
	.word	.LC290
	.word	.LC291
	.word	.LC292
	.word	.LC293
	.word	.LC294
	.word	.LC295
	.word	.LC296
	.word	.LC297
	.word	.LC298
	.word	.LC299
	.word	.LC300
	.word	.LC301
	.word	.LC302
	.word	.LC302
	.word	.LC303
	.word	.LC304
	.word	.LC305
	.word	.LC306
	.word	.LC307
	.word	.LC308
	.word	.LC309
	.word	.LC310
	.word	.LC311
	.word	.LC312
	.word	.LC313
	.word	.LC314
	.word	.LC315
	.word	.LC316
	.word	.LC317
	.word	.LC318
	.word	.LC319
	.word	.LC320
	.word	.LC321
	.word	.LC322
	.word	.LC323
	.word	.LC324
	.word	.LC325
	.word	.LC326
	.word	.LC327
	.word	.LC328
	.word	.LC329
	.word	.LC330
	.word	.LC331
	.word	.LC332
	.word	.LC333
	.word	.LC334
	.word	.LC335
	.word	.LC336
	.word	.LC337
	.word	.LC338
	.word	.LC339
	.word	.LC340
	.word	.LC341
	.word	.LC342
	.word	.LC343
	.word	.LC344
	.word	.LC345
	.word	.LC346
	.word	.LC347
	.word	.LC348
	.word	.LC349
	.word	.LC350
	.word	.LC351
	.word	.LC352
	.word	.LC353
	.word	.LC354
	.word	.LC355
	.word	.LC356
	.word	.LC357
	.word	.LC358
	.word	.LC359
	.word	.LC360
	.word	.LC361
	.word	.LC362
	.word	.LC363
	.word	.LC364
	.word	.LC365
	.word	.LC366
	.word	.LC367
	.word	.LC368
	.word	.LC369
	.word	.LC370
	.word	.LC371
	.word	.LC372
	.word	.LC373
	.word	.LC374
	.word	.LC375
	.word	.LC376
	.word	.LC377
	.word	.LC378
	.word	.LC379
	.word	.LC380
	.section	.rodata
	.align	2
.LC381:
	.ascii	"%s\012\000"
	.text
	.align	2
	.global	SayUsage
	.syntax unified
	.arm
	.fpu softvfp
	.type	SayUsage, %function
SayUsage:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, .L4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, .L4+4
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, .L4+8
	bl	fprintf
.L2:
	ldr	r2, .L4+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	stderr
	.word	usage.5421
	.word	.LC381
	.size	SayUsage, .-SayUsage
	.section	.rodata
	.align	2
.LC382:
	.ascii	"%d\000"
	.align	2
.LC383:
	.ascii	"Displaying %d tone generators.\012\000"
	.align	2
.LC384:
	.ascii	"unknown option: %s\012\000"
	.text
	.align	2
	.global	HandleOptions
	.syntax unified
	.arm
	.fpu softvfp
	.type	HandleOptions, %function
HandleOptions:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L7
.L24:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L8
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L9
.L8:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	sub	r3, r3, #63
	cmp	r3, #23
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L14
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L15
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L14
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L13
	.word	.L10
	.word	.L11
.L14:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	SayUsage
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, .L30
	mov	r2, #1
	strb	r2, [r3]
	b	.L16
.L13:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L30+4
	ldr	r1, .L30+8
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L27
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, #16
	bhi	.L27
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30+12
	bl	printf
	b	.L16
.L11:
	ldr	r3, .L30+16
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	cmp	r3, #73
	bne	.L29
	ldr	r3, .L30+20
	mov	r2, #1
	strb	r2, [r3]
	b	.L16
.L27:
	nop
	b	.L10
.L29:
	nop
.L10:
	ldr	r3, .L30+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+28
	bl	fprintf
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	SayUsage
	mov	r0, #4
	bl	exit
.L28:
	nop
.L16:
	b	.L26
.L9:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L23
.L26:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L24
.L23:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	codeoutput
	.word	num_tonegens
	.word	.LC382
	.word	.LC383
	.word	expect_volume
	.word	ignore_volume
	.word	stderr
	.word	.LC384
	.size	HandleOptions, .-HandleOptions
	.align	2
	.global	strlength
	.syntax unified
	.arm
	.fpu softvfp
	.type	strlength, %function
strlength:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L33
.L34:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L33:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strlength, .-strlength
	.align	2
	.global	strlcpy
	.syntax unified
	.arm
	.fpu softvfp
	.type	strlcpy, %function
strlcpy:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L37
	b	.L38
.L39:
	ldr	r2, [fp, #-12]
	add	r3, r2, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L44
.L38:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L39
	b	.L37
.L44:
	nop
.L37:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
.L45:
	nop
.L42:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L42
.L40:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	sub	r3, r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strlcpy, .-strlcpy
	.align	2
	.global	strlcat
	.syntax unified
	.arm
	.fpu softvfp
	.type	strlcat, %function
strlcat:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	b	.L47
.L49:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L47:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L49
.L48:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L52
	ldr	r0, [fp, #-16]
	bl	strlength
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	b	.L51
.L54:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L53
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L53:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L52:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strlcat, .-strlcat
	.section	.rodata
	.align	2
.LC385:
	.ascii	"\012---> file format error at position %04X (%d): %"
	.ascii	"s\012\000"
	.align	2
.LC386:
	.ascii	" [%02X]  \000"
	.align	2
.LC387:
	.ascii	"%02X \000"
	.text
	.align	2
	.global	file_error
	.syntax unified
	.arm
	.fpu softvfp
	.type	file_error, %function
file_error:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L62
	ldr	r0, [r3]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L62+8
	bl	fprintf
	ldr	r3, [fp, #-20]
	sub	r3, r3, #16
	str	r3, [fp, #-8]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L57
	ldr	r3, .L62+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L57
.L61:
	ldr	r3, .L62
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L58
	ldr	r1, .L62+12
	b	.L59
.L58:
	ldr	r1, .L62+16
.L59:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	bl	fprintf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L57:
	ldr	r3, [fp, #-20]
	add	r3, r3, #16
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bhi	.L60
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, .L62+20
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L61
.L60:
	ldr	r3, .L62
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #8
	bl	exit
.L63:
	.align	2
.L62:
	.word	stderr
	.word	buffer
	.word	.LC385
	.word	.LC386
	.word	.LC387
	.word	buflen
	.size	file_error, .-file_error
	.section	.rodata
	.align	2
.LC388:
	.ascii	"//\000"
	.align	2
.LC389:
	.ascii	"\000"
	.align	2
.LC390:
	.ascii	"%21s\000"
	.align	2
.LC391:
	.ascii	"%6s\000"
	.align	2
.LC392:
	.ascii	"%5s\000"
	.align	2
.LC393:
	.ascii	"/*\000"
	.align	2
.LC394:
	.ascii	"%5d %7d.%03d \000"
	.align	2
.LC395:
	.ascii	" \000"
	.align	2
.LC396:
	.ascii	"     \000"
	.align	2
.LC397:
	.ascii	" v%-3d\000"
	.align	2
.LC398:
	.ascii	"   %04X: \000"
	.align	2
.LC399:
	.ascii	"*/ \000"
	.align	2
.LC400:
	.ascii	"0x%02X,\000"
	.text
	.align	2
	.global	print_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_status, %function
print_status:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	strb	r3, [fp, #-9]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L65
.L66:
	ldr	r2, .L86
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-9]
	orr	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L65:
	ldr	r2, [fp, #-8]
	ldr	r3, .L86+4
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L66
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L86+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	ldr	r3, .L86+12
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L86+16
	bl	fwrite
.L68:
	ldr	r3, .L86+12
	ldr	r3, [r3]
	ldr	r2, .L86+20
	ldr	r1, .L86+24
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L69
.L73:
	ldr	r2, .L86
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L70
	ldr	r2, .L86
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L86+12
	ldr	r0, [r3]
	ldr	r2, .L86+28
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L86+32
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, .L86+36
	bl	fprintf
	b	.L71
.L70:
	ldr	r3, .L86+12
	ldr	r3, [r3]
	ldr	r2, .L86+20
	ldr	r1, .L86+36
	mov	r0, r3
	bl	fprintf
.L71:
	ldr	r3, .L86+40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L72
	ldr	r3, .L86+44
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L72
	ldr	r3, .L86+12
	ldr	r3, [r3]
	ldr	r2, .L86+20
	ldr	r1, .L86+48
	mov	r0, r3
	bl	fprintf
.L72:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L69:
	ldr	r2, [fp, #-8]
	ldr	r3, .L86+4
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L73
	ldr	r3, .L86+12
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
.L67:
	ldr	r3, .L86+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L74
	ldr	r3, .L86+12
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L86+52
	bl	fwrite
.L74:
	ldr	r3, .L86+12
	ldr	r0, [r3]
	ldr	r3, .L86+56
	ldr	ip, [r3]
	ldr	r3, .L86+60
	ldr	r3, [r3]
	ldr	r2, .L86+64
	umull	r1, r3, r2, r3
	lsr	lr, r3, #6
	ldr	r3, .L86+60
	ldr	r1, [r3]
	ldr	r3, .L86+64
	umull	r2, r3, r1, r3
	lsr	r2, r3, #6
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L86+68
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L75
.L80:
	ldr	r3, .L86+12
	ldr	r0, [r3]
	ldr	r2, .L86+72
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	beq	.L76
	ldr	r2, .L86+72
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L86+76
	ldr	r3, [r2, r3, lsl #2]
	b	.L77
.L76:
	ldr	r3, .L86+80
.L77:
	mov	r2, r3
	ldr	r1, .L86+36
	bl	fprintf
	ldr	r3, .L86+40
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L78
	ldr	r3, .L86+44
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L78
	ldr	r2, .L86+72
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	bne	.L79
	ldr	r3, .L86+12
	ldr	r3, [r3]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L86+84
	bl	fwrite
	b	.L78
.L79:
	ldr	r3, .L86+12
	ldr	r0, [r3]
	ldr	r2, .L86+88
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, .L86+92
	bl	fprintf
.L78:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L75:
	ldr	r2, [fp, #-8]
	ldr	r3, .L86+4
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L80
	ldr	r3, .L86+12
	ldr	r0, [r3]
	ldr	r3, .L86+96
	ldr	r2, [r3]
	ldr	r3, .L86+100
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L86+104
	bl	fprintf
	ldr	r3, .L86+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L82
	ldr	r3, .L86+12
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L86+108
	bl	fwrite
	b	.L82
.L85:
	ldr	r3, .L86+12
	ldr	r0, [r3]
	ldr	r3, .L86+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L83
	ldr	r1, .L86+112
	b	.L84
.L83:
	ldr	r1, .L86+116
.L84:
	ldr	r3, .L86+96
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	bl	fprintf
	ldr	r3, .L86+96
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L86+96
	str	r3, [r2]
.L82:
	ldr	r3, .L86+96
	ldr	r2, [r3]
	ldr	r3, .L86+120
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L85
	ldr	r3, .L86+12
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L86+120
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L86+96
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	gen_instrument_changed
	.word	num_tonegens
	.word	codeoutput
	.word	outfile
	.word	.LC388
	.word	.LC389
	.word	.LC390
	.word	gen_instrument
	.word	instrumentname
	.word	.LC391
	.word	expect_volume
	.word	ignore_volume
	.word	.LC392
	.word	.LC393
	.word	delay
	.word	timenow
	.word	274877907
	.word	.LC394
	.word	gen_note
	.word	notename
	.word	.LC395
	.word	.LC396
	.word	gen_volume
	.word	.LC397
	.word	lastbufptr
	.word	buffer
	.word	.LC398
	.word	.LC399
	.word	.LC400
	.word	.LC387
	.word	bufptr
	.size	print_status, .-print_status
	.align	2
	.global	countbits
	.syntax unified
	.arm
	.fpu softvfp
	.type	countbits, %function
countbits:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L89
.L90:
	ldr	r3, [fp, #-16]
	and	r2, r3, #1
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #1
	str	r3, [fp, #-16]
.L89:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	countbits, .-countbits
	.section	.rodata
	.align	2
.LC401:
	.ascii	"1.6\000"
	.align	2
.LC402:
	.ascii	"MIDITONES_SCROLL V%s, (C) 2011,2016 Len Shustek\012"
	.ascii	"\000"
	.align	2
.LC403:
	.ascii	".bin\000"
	.align	2
.LC404:
	.ascii	"rb\000"
	.align	2
.LC405:
	.ascii	"Unable to open input file %s\000"
	.align	2
.LC406:
	.ascii	".c\000"
	.align	2
.LC407:
	.ascii	"w\000"
	.align	2
.LC408:
	.ascii	"Unable to open output file %s\000"
	.align	2
.LC409:
	.ascii	"Unable to allocate %ld bytes for the file\000"
	.align	2
.LC410:
	.ascii	"Processing %s.bin, %ld bytes.\012\000"
	.align	2
.LC411:
	.ascii	"// Playtune bytestream for file \"%s.bin\"\000"
	.align	2
.LC412:
	.ascii	" created by MIDITONES_SCROLL V%s on %s\012\000"
	.align	2
.LC413:
	.ascii	"const byte PROGMEM score [] = {\012\000"
	.align	2
.LC414:
	.ascii	"Found Pt self-describing file header with flags %02"
	.ascii	"X %02X, # tone gens = %d\012\000"
	.align	2
.LC415:
	.ascii	"'P','t', 6, 0x%02X, 0x%02X, %2d, // (Playtune file "
	.ascii	"header)\012\000"
	.align	2
.LC416:
	.ascii	"duration    time   \000"
	.align	2
.LC417:
	.ascii	"   gen%-5d\000"
	.align	2
.LC418:
	.ascii	" gen%-2d\000"
	.align	2
.LC419:
	.ascii	"        bytestream code\012\012\000"
	.align	2
.LC420:
	.ascii	"tone generator not on\000"
	.align	2
.LC421:
	.ascii	"unknown command\000"
	.align	2
.LC422:
	.ascii	" 0xf0};\012\000"
	.align	2
.LC423:
	.ascii	" is\000"
	.align	2
.LC424:
	.ascii	"s are\000"
	.align	2
.LC425:
	.ascii	"// This score contains %ld bytes, and %d tone gener"
	.ascii	"ator%s used.\012\000"
	.align	2
.LC426:
	.ascii	"At most %u tone generators were used.\012\000"
	.align	2
.LC427:
	.ascii	"%u notes were not displayed because we were told to"
	.ascii	" show only %u generators.\012\000"
	.align	2
.LC428:
	.ascii	"%u stopnote commands were unnecessary.\012\000"
	.align	2
.LC429:
	.ascii	"Done.\000"
	.align	2
.LC430:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #132
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	ldr	r3, .L129
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L129+4
	ldr	r0, .L129+8
	bl	printf
	ldr	r3, [fp, #-128]
	cmp	r3, #1
	bne	.L93
	ldr	r3, [fp, #-132]
	ldr	r3, [r3]
	mov	r0, r3
	bl	SayUsage
	mov	r3, #1
	b	.L127
.L93:
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	HandleOptions
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-132]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-108]
	sub	r3, fp, #96
	mov	r2, #80
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	strlcpy
	sub	r3, fp, #96
	mov	r2, #80
	ldr	r1, .L129+12
	mov	r0, r3
	bl	strlcat
	sub	r3, fp, #96
	ldr	r1, .L129+16
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L129+20
	str	r3, [r2]
	ldr	r3, .L129+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L95
	ldr	r3, .L129+24
	ldr	r3, [r3]
	sub	r2, fp, #96
	ldr	r1, .L129+28
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L127
.L95:
	ldr	r3, .L129+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L96
	sub	r3, fp, #96
	mov	r2, #80
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	strlcpy
	sub	r3, fp, #96
	mov	r2, #80
	ldr	r1, .L129+36
	mov	r0, r3
	bl	strlcat
	sub	r3, fp, #96
	ldr	r1, .L129+40
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L129+44
	str	r3, [r2]
	ldr	r3, .L129+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L97
	ldr	r3, .L129+24
	ldr	r3, [r3]
	sub	r2, fp, #96
	ldr	r1, .L129+48
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L127
.L96:
	ldr	r3, .L129+52
	ldr	r3, [r3]
	ldr	r2, .L129+44
	str	r3, [r2]
.L97:
	ldr	r3, .L129+20
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, .L129+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	ftell
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L129+56
	str	r2, [r3]
	ldr	r3, .L129+20
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, .L129+56
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L129+60
	str	r2, [r3]
	ldr	r3, .L129+60
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L98
	ldr	r3, .L129+24
	ldr	r3, [r3]
	ldr	r2, .L129+56
	ldr	r2, [r2]
	ldr	r1, .L129+64
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L127
.L98:
	ldr	r3, .L129+60
	ldr	r0, [r3]
	ldr	r3, .L129+56
	ldr	r1, [r3]
	ldr	r3, .L129+20
	ldr	r3, [r3]
	mov	r2, #1
	bl	fread
	ldr	r3, .L129+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, .L129+56
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-108]
	ldr	r0, .L129+68
	bl	printf
	ldr	r3, .L129+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L99
	sub	r3, fp, #124
	mov	r0, r3
	bl	time
	ldr	r3, .L129+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	ldr	r1, .L129+72
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L129+44
	ldr	r4, [r3]
	sub	r3, fp, #124
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	mov	r0, r3
	bl	asctime
	mov	r3, r0
	ldr	r2, .L129+4
	ldr	r1, .L129+76
	mov	r0, r4
	bl	fprintf
	ldr	r3, .L129+44
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L129+80
	bl	fwrite
.L99:
	ldr	r3, .L129+60
	ldr	r3, [r3]
	ldr	r2, .L129+84
	str	r3, [r2]
	ldr	r3, .L129+60
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, .L129+56
	ldr	r3, [r3]
	cmp	r3, #6
	bls	.L100
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #80
	bne	.L100
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L100
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	ldr	r0, .L129+88
	bl	printf
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	and	r3, r3, #128
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r2, r3, #255
	ldr	r3, .L129+92
	strb	r2, [r3]
	ldr	r3, .L129+84
	ldr	r3, [r3]
	ldr	r2, [fp, #-104]
	ldrb	r2, [r2, #2]	@ zero_extendqisi2
	add	r3, r3, r2
	ldr	r2, .L129+84
	str	r3, [r2]
	ldr	r3, .L129+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L100
	ldr	r3, .L129+44
	ldr	r0, [r3]
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L129+96
	bl	fprintf
.L100:
	ldr	r3, .L129+44
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L129+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L101
	ldr	r3, .L129+44
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L129+100
	bl	fwrite
.L101:
	ldr	r3, .L129+44
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L129+104
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L102
.L105:
	ldr	r3, .L129+44
	ldr	r0, [r3]
	ldr	r3, .L129+92
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L103
	ldr	r3, .L129+108
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L103
	ldr	r3, .L129+112
	b	.L104
.L103:
	ldr	r3, .L129+116
.L104:
	ldr	r2, [fp, #-120]
	mov	r1, r3
	bl	fprintf
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L102:
	ldr	r2, [fp, #-120]
	ldr	r3, .L129+120
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L105
	ldr	r3, .L129+44
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L129+124
	bl	fwrite
	ldr	r3, .L129+128
	mov	r2, #0
	strb	r2, [r3]
	b	.L106
.L107:
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L129+132
	mvn	r2, #0
	str	r2, [r3, r1, lsl #2]
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L129+128
	strb	r2, [r3]
.L106:
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+120
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L107
	mov	r3, #0
	str	r3, [fp, #-116]
	ldr	r3, .L129+60
	ldr	r3, [r3]
	ldr	r2, .L129+136
	str	r3, [r2]
	b	.L108
.L120:
	ldr	r3, .L129+84
	ldr	r3, [r3]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L129+140
	strb	r2, [r3]
	ldr	r3, .L129+140
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	blt	.L109
	ldr	r3, .L129+140
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, .L129+84
	ldr	r2, [r2]
	add	r2, r2, #1
	ldr	r1, .L129+84
	str	r2, [r1]
	ldr	r2, .L129+84
	ldr	r2, [r2]
	ldrb	r2, [r2]	@ zero_extendqisi2
	add	r3, r3, r2
	ldr	r2, .L129+144
	str	r3, [r2]
	bl	print_status
	ldr	r3, .L129+148
	ldr	r2, [r3]
	ldr	r3, .L129+144
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L129+148
	str	r3, [r2]
	ldr	r3, .L129+128
	mov	r2, #0
	strb	r2, [r3]
	b	.L110
.L111:
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+152
	mov	r1, #0
	strb	r1, [r3, r2]
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L129+128
	strb	r2, [r3]
.L110:
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #15
	bls	.L111
	b	.L112
.L109:
	ldr	r3, .L129+140
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #240
	beq	.L112
	ldr	r3, .L129+140
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	and	r2, r3, #255
	ldr	r3, .L129+128
	strb	r2, [r3]
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+156
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L113
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+156
	str	r2, [r3]
.L113:
	ldr	r3, .L129+140
	ldrb	r3, [r3]	@ zero_extendqisi2
	bic	r3, r3, #15
	and	r2, r3, #255
	ldr	r3, .L129+140
	strb	r2, [r3]
	ldr	r3, .L129+140
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #144
	bne	.L114
	ldr	r3, .L129+84
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129+84
	str	r3, [r2]
	ldr	r3, .L129+84
	ldr	r3, [r3]
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+132
	str	r1, [r3, r2, lsl #2]
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, #1
	lsl	r3, r3, r2
	mov	r2, r3
	ldr	r3, [fp, #-116]
	orr	r3, r3, r2
	str	r3, [fp, #-116]
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+152
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L115
	ldr	r3, .L129+160
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129+160
	str	r3, [r2]
.L115:
	ldr	r3, .L129+92
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L116
	ldr	r3, .L129+84
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129+84
	str	r3, [r2]
	ldr	r3, .L129+84
	ldr	r3, [r3]
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+164
	str	r1, [r3, r2, lsl #2]
.L116:
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+120
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L112
	ldr	r3, .L129+168
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129+168
	str	r3, [r2]
	b	.L112
.L114:
	ldr	r3, .L129+140
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #128
	bne	.L117
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+132
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	bne	.L118
	ldr	r3, .L129+84
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L129+172
	bl	file_error
.L118:
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L129+132
	mvn	r2, #0
	str	r2, [r3, r1, lsl #2]
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+152
	mov	r1, #1
	strb	r1, [r3, r2]
	b	.L112
.L117:
	ldr	r3, .L129+140
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #192
	bne	.L119
	ldr	r3, .L129+84
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129+84
	str	r3, [r2]
	ldr	r3, .L129+84
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	and	r3, r2, #127
	ldr	r2, .L129+176
	str	r3, [r2, r1, lsl #2]
	ldr	r3, .L129+128
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L129+180
	mov	r1, #1
	strb	r1, [r3, r2]
	b	.L112
.L119:
	ldr	r3, .L129+84
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L129+184
	bl	file_error
.L112:
	ldr	r3, .L129+84
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129+84
	str	r3, [r2]
.L108:
	ldr	r3, .L129+60
	ldr	r2, [r3]
	ldr	r3, .L129+56
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L129+84
	ldr	r3, [r3]
	cmp	r2, r3
	bhi	.L120
	ldr	r3, .L129+144
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L129+84
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L129+84
	str	r3, [r2]
	ldr	r3, .L129+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L121
	ldr	r3, .L129+84
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L129+84
	str	r3, [r2]
.L121:
	bl	print_status
	ldr	r3, .L129+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L122
	ldr	r3, .L129+44
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L129+188
	bl	fwrite
	ldr	r0, [fp, #-116]
	bl	countbits
	mov	r3, r0
	str	r3, [fp, #-100]
	ldr	r3, .L129+44
	ldr	r0, [r3]
	ldr	r3, .L129+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	cmp	r3, #1
	bne	.L123
	ldr	r3, .L129+192
	b	.L124
.L123:
	ldr	r3, .L129+196
.L124:
	str	r3, [sp]
	ldr	r3, [fp, #-100]
	ldr	r1, .L129+200
	bl	fprintf
	b	.L125
.L122:
	ldr	r3, .L129+44
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
.L125:
	ldr	r3, .L129+156
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L129+204
	bl	printf
	ldr	r3, .L129+168
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L126
	ldr	r3, .L129+168
	ldr	r3, [r3]
	ldr	r2, .L129+120
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L129+208
	bl	printf
.L126:
	ldr	r3, .L129+160
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L129+212
	bl	printf
	ldr	r0, .L129+216
	bl	puts
	mov	r3, #0
.L127:
	ldr	r2, .L129
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L128
	bl	__stack_chk_fail
.L128:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L130:
	.align	2
.L129:
	.word	.LC430
	.word	.LC401
	.word	.LC402
	.word	.LC403
	.word	.LC404
	.word	infile
	.word	stderr
	.word	.LC405
	.word	codeoutput
	.word	.LC406
	.word	.LC407
	.word	outfile
	.word	.LC408
	.word	stdout
	.word	buflen
	.word	buffer
	.word	.LC409
	.word	.LC410
	.word	.LC411
	.word	.LC412
	.word	.LC413
	.word	bufptr
	.word	.LC414
	.word	expect_volume
	.word	.LC415
	.word	.LC388
	.word	.LC416
	.word	ignore_volume
	.word	.LC417
	.word	.LC418
	.word	num_tonegens
	.word	.LC419
	.word	gen
	.word	gen_note
	.word	lastbufptr
	.word	cmd
	.word	delay
	.word	timenow
	.word	gen_did_stopnote
	.word	max_tonegen_found
	.word	stopnotes_before_startnote
	.word	gen_volume
	.word	notes_skipped
	.word	.LC420
	.word	gen_instrument
	.word	gen_instrument_changed
	.word	.LC421
	.word	.LC422
	.word	.LC423
	.word	.LC424
	.word	.LC425
	.word	.LC426
	.word	.LC427
	.word	.LC428
	.word	.LC429
	.size	main, .-main
	.section	.rodata
	.align	2
.LC431:
	.ascii	"Display a MIDITONES bytestream\000"
	.align	2
.LC432:
	.ascii	"Usage: miditones_scroll <basefilename>\000"
	.align	2
.LC433:
	.ascii	"   reads <basefilename>.bin\000"
	.align	2
.LC434:
	.ascii	" -tn displays up to n tone generators\000"
	.align	2
.LC435:
	.ascii	" -v expects and displays volume information\000"
	.align	2
.LC436:
	.ascii	" -vi expects and ignores volume information\000"
	.align	2
.LC437:
	.ascii	" -c option creates an annotated C source file as <b"
	.ascii	"asefile>.c\000"
	.data
	.align	2
	.type	usage.5421, %object
	.size	usage.5421, 32
usage.5421:
	.word	.LC431
	.word	.LC432
	.word	.LC433
	.word	.LC434
	.word	.LC435
	.word	.LC436
	.word	.LC437
	.word	.LC389
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
