Postrisc log

Execute: doomgeneric.postrisc

pid=29950 pagesize=4096

ELF file `doomgeneric.postrisc` size=608856

ELF header
e_ident 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
class2
data1
version1
osabi0
abiversion0
type3
machine0x1973
version1
entry398464
phoff64
shoff607768
flags0x50000000
ehsize64
phentsize56
phnum9
shentsize64
shnum17
shstrndx15
Section headers
idoffsetaddrsizealignlinkinfoentsizetypenameflags
00000000NULL
15685682484124DYNSYM.dynsym ALLOC
2592592288100GNU_HASH.gnu.hash ALLOC
3620620164104HASH.hash ALLOC
463663611000STRTAB.dynstr ALLOC
56406403043281024RELA.rela.dyn ALLOC
6310729660830376016000PROGBITS.text ALLOC EXECINSTR
73348324659041049128000PROGBITS.rodata ALLOC MERGE STRINGS
843974463635213048000PROGBITS.data.rel.ro WRITE ALLOC
944104863765624084016DYNAMIC.dynamic WRITE ALLOC
1044128863789610801000NOBITS.relro_padding WRITE ALLOC
11441288703432795208000PROGBITS.data WRITE ALLOC
125208087829522660728000NOBITS.bss WRITE ALLOC
135208080501001PROGBITS.comment MERGE STRINGS
14520864056496816222124SYMTAB.symtab
1557736001401000STRTAB.shstrtab
165775000302681000STRTAB.strtab
Program headers
idoffsetvaddrpaddrfileszmemszalignrwxtypesections
06464645045048r--phdr
1000310723107265536r--load.dynsym .gnu.hash .hash .dynstr .rela.dyn
231072966089660830376030376065536r-xload.text
333483246590446590410491210491265536r--load.rodata
44397446363526363521544262465536rw-load.data.rel.ro .dynamic .relro_padding
54412887034327034327952034559265536rw-load.data .bss
64410486376566376562402408rw-dynamic.dynamic
7439744636352636352154426241r--relro.data.rel.ro .dynamic .relro_padding
8000000rw-stack

mapped image: 0x00007f01c9efe000

SECTION: 0 name=

SECTION: 1 name=.dynsym

SECTION: 2 name=.gnu.hash

SECTION: 3 name=.hash

SECTION: 4 name=.dynstr

SECTION: 5 name=.rela.dyn

RELA: 1268 relocs
offsetaddendvalueinfo
63635278332807
63636070398407
63636849380507
63638446710007
63639249326507
63640847807907
63641646816907
63643247451407
63644048983907
63645647874407
63646447645307
63648048549907
63648846966107
63650446710807
63651249327807
63652849381507
63653648551407
63655249180207
63656046600807
63657646817707
63658449382007
63660048382807
63660848552507
63662446711907
63663248611707
63664849180907
63665648296707
63667247400707
63668047133807
63669647016207
63670478675607
63671270457607
63672047263707
63672848988507
63674446823407
63675248150107
63676847264807
63677647404207
63679248150507
63680047466207
63681649381507
63682447651107
63684047557907
63684847991407
63686448437107
63687248616007
63688848063407
63689647992307
63691246710807
63692047022907
63696015414407
63696815419207
63697615438407
63698415440007
63699215475207
63700015520007
63700876683607
63701676684007
63702476684407
63703276684807
63704076685207
63704876685607
63705676686007
63706476686407
63715281889207
63717681888807
63720081888407
63722481888007
63732082424007
63741682469607
63746482456007
63751282455207
63753682455607
63758482456407
63762478110407
63763278182407
63764078247207
70400812150407
70405612158407
70406412198407
70407278348007
70421670398407
70423246705307
70424047440807
70424846806607
70425648877207
70426448529807
70427247868907
70428047445807
70428848979807
70429646705307
70430446885407
70431248535507
70432046811707
70432846595407
70433648882307
70434446960107
70435248542807
70460012150407
70464813361607
70465612198407
70466478679207
70480870457607
70483213627207
70484015563207
70484814875207
70485622892807
70486448016507
70488047026607
70489648303807
70491249187407
70492848727907
70494446614407
70496047703607
70497647404607
70499247027807
70500849187807
70502448152007
70504048911407
70505646893607
70507248623707
70508848438207
70510448989607
70512047704607
70516848819807
70517647029207
70520048017507
70520846615407
70523246835407
70524048625307
70526447073307
70527248153507
70529648729007
70530448991107
70532848203907
70533649031707
70536049398407
70536847565107
70539248729807
70540048730607
70542448068907
70543247185807
70545648305607
70546447265707
70548848729007
70549648440407
70552048203907
70552848069707
70555249398407
70556048204707
70558448729807
70559247705507
70561648068907
70562448306407
70564848305607
70565647883107
70568048729007
70568849189007
70571248203907
70572046721407
70574449398407
70575249399207
70577648729807
70578449232407
70580848068907
70581647467207
70584048305607
70584847202307
70618447372407
70619248237007
70620049432807
70620848562307
70621647213107
70622449339507
70623247372707
70624049433607
70624846662107
70625647753907
70626448780107
70627248912307
70628047407507
70628848820707
70629646742907
70630448480607
70631248482607
70632049280407
70632847817107
70633648239407
70634448390707
70635247374907
70636047652607
70636846664307
70637647076707
70638449434707
70639249101607
70640047940707
70640848821307
70641646907207
70642449436207
70643247377007
70644048019207
70644847654607
70645647408307
70646447280407
70647247282407
70648048823907
70648847483707
70649646744207
70650449103307
70651246837107
70652047597607
70652848484707
70653649438307
70654448323807
70655247284707
70656048326107
70656847942807
70657647754307
70658448241907
70659248241907
70660048241907
70660848241907
70661648241907
70662448241907
70663248241907
70664048241907
70664848241907
70665647484907
70666448242807
70667247657007
70668048913207
70668848328507
70669649104707
70670448487007
70671247599707
70672047755407
70672847410107
70673646745207
70674446974207
70675247412607
70676047757107
70676849106807
70677649282607
70678447213707
70679248331207
70680048489107
70680848244807
70681646976407
70682448246607
70683246748207
70684048020807
70684848022807
70685649109407
70686447414507
70687249112407
70688049440107
70688846750707
70689647759707
70690447486707
70691247287507
70692046978207
70692849442607
70693649444107
70694448024907
70695248676307
70696047659107
70696847944907
70697646909207
70698447602307
70699246839007
70700049284407
70700847761907
70701646666407
70702448915107
70703247661107
70704047818807
70704848917407
70705647946407
70706447947807
70707247379607
70708048564907
70708849340507
70709647950507
70710448567807
70711248780907
70712048333607
70712848026907
70713646840707
70714448393007
70715248249007
70716046843507
70716847488407
70717648396007
70718447490807
70719248919607
70720048250907
70720848252507
70721647953407
70722446911107
70723248397907
70724048029007
70724847079007
70725646668207
70726447604307
70727248678507
70728047081707
70728846752907
70729648782607
70730447416907
70731247493107
70732047083707
70732848921407
70733646912607
70734448924607
70735248491307
70736048825607
70736846755507
70737648927707
70738447820707
70739248335807
70740048827807
70740848100807
70741649286007
70742448031107
70743249290307
70744046845307
70744848337907
70745648102607
70746448103107
70747246757507
70748048254607
70748848785207
70749648934507
70750449115107
70751248338407
70752049445607
70752849290807
70753648031607
70754447289007
70755248571107
70756048401607
70756846980507
70757648680707
70758449291307
70759247763907
70760047607107
70760848681207
70761646758007
70762448829807
70763248571607
70764049291807
70764847663007
70765647146007
70766447146507
70767248032107
70768048032607
70768847497507
70769647217507
70770446669907
70771247418407
70772047607607
70772846670407
70773648681707
70774447956307
70775248033107
70776048935007
70776847147007
70777648255107
70778447956807
70779248338907
70780047289507
70780846845807
70781648572107
70782448033607
70783248493007
70784048682207
70784847608107
70785647086607
70786447218007
70787248572607
70788049292307
70788847957307
70789647147507
70790447498007
70791247957807
70792047958307
70792848493507
70793648573107
70794448103607
70795247290007
70796046846307
70796847148007
70797648573607
70798448682707
70799248935507
70800046758507
70800847087107
70801646846807
70802446981007
70803248683207
70804049342507
70804849292807
70805647087607
70806448683707
70807249343007
70808047822207
70808848255607
70809648936007
70810448574107
70811247663507
70812048256107
70812848684207
70813647822707
70814447418907
70815248494007
70816047764407
70816847608607
70817647290507
70818447958807
70819249293307
70820047381307
70820846759007
70821647823207
70822447959307
70823247823707
70824049446107
70824847419407
70825647419907
70826448104107
70827247088107
70828047959807
70828848785707
70829647291007
70830448494507
70831247498507
70832046914407
70832848495007
70833646914907
70834449293807
70835249294307
70836048830307
70836847088607
70837647148507
70838448684707
70839247089107
70840048256607
70840848104607
70841649343507
70842448574607
70843247291507
70844049294807
70844847764907
70845648786207
70846446915407
70847246981507
70848048685207
70848847765407
70849649446607
70850448402107
70851246915907
70852048105107
70859228500807
70863228156807
70867228211207
70871228225607
70879228241607
70891228196807
70895228156807
70899228211207
70903228225607
70911228380807
70919228196807
70923228502407
70927228156807
70931228211207
70935228225607
70943228401607
70971228196807
70975228502407
70979228505607
70983228156807
70987228211207
70991228225607
70999228435207
71007228208007
71011224932807
71019224936007
71027224939207
71031228196807
71043228502407
71047228505607
71051228156807
71055228211207
71059228225607
71063228472007
71067228472007
71071228196807
71075228502407
71079228505607
71083228156807
71087228211207
71091228225607
71095228235207
71099228305607
71103228196807
71107228502407
71115228505607
71119228505607
71123228156807
71127228156807
71131228211207
71135228225607
71139228267207
71143228267207
71147228196807
71151228156807
71155228211207
71159228225607
71163228331207
71167228196807
71171228502407
71175228502407
71179228156807
71183228211207
71187228225607
71191228534407
71195228235207
71199228318407
71203228196807
71207228502407
71211228505607
71331228508807
71363224843207
71483224838407
71491225060807
71495224136007
71519224835207
71523224136007
71551224139207
71555224139207
71559224176007
71563224176007
71567224176007
71571224176007
71575224176007
71579224176007
71583224176007
71587224176007
71591224256007
71595224270407
71607224838407
71615224811207
71619224136007
71635224835207
71639224136007
71683224139207
71687224139207
71691224176007
71695224176007
71699224176007
71703224176007
71707224176007
71711224176007
71715224176007
71719224176007
71723224256007
71727224291207
71739224838407
71747224811207
71751224136007
71767224835207
71771224136007
71819224139207
71823224139207
71827224548807
71831224548807
71835224548807
71839224548807
71843224548807
71847224548807
71851224548807
71855224548807
71859224548807
71863224548807
71867224548807
71871224548807
71875224593607
71879224256007
71883224624007
71887224256007
71891224256007
71895224256007
71899224256007
71903224256007
71907224256007
71911224635207
71935224838407
71943224811207
71947224136007
71979224596807
71983224601607
71987224601607
71991224601607
71995224619207
71999224601607
72003224601607
72007224601607
72011224601607
72015224601607
72019224601607
72023224601607
72027224601607
72031224601607
72035224601607
72039224601607
72043224601607
72047224601607
72051224619207
72055224601607
72059224601607
72063224601607
72067224601607
72071224601607
72075224601607
72079224601607
72083224601607
72087224601607
72091224601607
72095224601607
72119224452807
72123224452807
72139224139207
72143224139207
72147224176007
72151224176007
72155224176007
72159224176007
72163224176007
72167224176007
72171224176007
72175224176007
72179224176007
72183224176007
72187224176007
72191224176007
72195224256007
72199224505607
72203224256007
72207224512007
72211224256007
72215224256007
72219224436807
72223224256007
72231224838407
72243224811207
72247224136007
72303224139207
72307224139207
72311224176007
72315224176007
72319224176007
72323224176007
72327224176007
72331224176007
72335224176007
72339224176007
72343224176007
72347224176007
72351224176007
72355224176007
72359224659207
72363224664007
72367224256007
72371224256007
72375224683207
72379224256007
72383224256007
72387224702407
72391224256007
72395224256007
72403224838407
72411224811207
72415224136007
72443224846407
72479224139207
72483224139207
72487224176007
72491224176007
72495224176007
72499224176007
72503224176007
72507224176007
72511224176007
72515224176007
72519224256007
72523224313607
72527224313607
72531224334407
72539224838407
72547224811207
72551224136007
72575224835207
72579224136007
72623224139207
72627224139207
72631224176007
72635224176007
72639224176007
72643224176007
72647224176007
72651224176007
72655224176007
72659224176007
72663224256007
72667224256007
72671224363207
72679224838407
72687224811207
72695224136007
72707224835207
72715224136007
72755224139207
72759224139207
72763224176007
72767224176007
72771224176007
72775224176007
72779224176007
72783224176007
72787224176007
72791224176007
72795224256007
72799224256007
72803224380807
72811224838407
72819224811207
72827224136007
72863224139207
72867224176007
72871224256007
72875224256007
72879224395207
72887224838407
72899224811207
72911224136007
72963224139207
72967224139207
72971224176007
72975224176007
72979224176007
72983224176007
72987224176007
72991224176007
72995224176007
72999224176007
73003224256007
73007224256007
73011224419207
73019224838407
73027224811207
73035224136007
73047224846407
73079224139207
73083224139207
73087224176007
73091224176007
73095224176007
73099224176007
73103224176007
73107224176007
73111224176007
73115224176007
73119224256007
73123224256007
73127224419207
73135224838407
73143224811207
73151224136007
73195224139207
73199224139207
73203224176007
73207224176007
73211224256007
73215224729607
73231224838407
73239224811207
73247224136007
73259224139207
73263224139207
73267224923207
73271224176007
73275224176007
73279224176007
73283224923207
73287224176007
73291224176007
73295224176007
73299224923207
73303224176007
73307224176007
73311224176007
73315224256007
73319224291207
73323224291207
73327224345607
73335224838407
73339224811207
73343224136007
73379224846407
73383224139207
73387224139207
73395224928007
73399224176007
73403224176007
73407224176007
73411224176007
73415224176007
73419224928007
73423224176007
73427224176007
73431224176007
73435224176007
73439224176007
73443224256007
73447224356807
73455224345607
73463224838407
73467224811207
73471224136007
73491224846407
73551224139207
73555224139207
73559224918407
73563224176007
73567224176007
73571224176007
73575224176007
73579224176007
73583224923207
73587224176007
73591224256007
73595224412807
73599224256007
73603224412807
73607224256007
73611224412807
73615224838407
73623224811207
73639224136007
73655224846407
73659224139207
73663224176007
73667224176007
73671224176007
73675224176007
73679224176007
73683224176007
73687224256007
73691224256007
73695224256007
73699224792007
73707224838407
73715224811207
73727224798407
73759224139207
73763224139207
73767224176007
73771224176007
73775224176007
73779224176007
73783224176007
73787224176007
73791224176007
73795224176007
73799224256007
73803224256007
73807224313607
73811224256007
73815224313607
73819224334407
73827224838407
73835224811207
73839224136007
73855224835207
73859224136007
73919224811207
73951224121607
73963224838407
73971224960007
73975224963207
73987224998407
73991224139207
73995224944007
73999225000007
74003225017607
74007225022407
74011225022407
74015225022407
74019224601607
74023224601607
74027224601607
74031224601607
74035224601607
74039224601607
74043224601607
74047224601607
74059224984007
74091224811207
74099224843207
75988817793607
75992017806407
75995217827207
75998417854407
76001617888007
76004017988807
76004818003207
76007217988807
76008018054407
76010417988807
76011218161607
76013617988807
76014418324807
76016817988807
76017618555207
76020017988807
76020818632007
76023217988807
76024018659207
76026418696007
76027218705607
76029617988807
76030418734407
76032817988807
76033618800007
76036847213007
76038449933207
76039247016907
76042447556807
76045646715607
76048847769407
76052048576907
76055247401307
76058447093407
76061648834407
76064849147107
76068048835307
76071248034107
76074449299807
76077646986507
76080846987907
76084048260807
76087249452607
76090448693507
76093647094407
76096849147807
76100049301407
76103247149007
76106447770407
76109648340207
76112846760507
76116047510807
76119247825107
76122448341307
76125647219207
76128848114407
76132047512007
76135247666107
76138447150307
76141648115607
76144847667707
76148046672507
76151249149107
76154447610007
76157649150007
76160847384607
76164048402607
76167248938107
76170448116807
76173648035607
76176846988807
76180047960307
76183248787207
76186448037107
76189647513307
76192847422507
76196047668807
76199248553707
76202446761607
76205649328707
76208847143507
76212046670907
76215247768007
76218447961607
76221647503807
76224847381807
76228048685707
76231247514207
76234447669807
76237646762707
76240846925207
76244047610807
76247247292007
76250447611707
76253646673807
76256847151407
76260048578207
76263247670607
76266447612807
76269646990007
76272847220507
76276048694907
76279248118207
76282447221607
76285647423607
76288847385607
76292047426207
76295247771607
76298448939307
76301647152507
76304847223407
76308046763807
76311249151107
76314448696007
76317646991107
76320848830807
76324047504807
76327246849607
76330448495507
76333648403607
76336847342807
76340047153907
76343248297707
76346447646307
76349649302907
76352848342507
76356048119007
76359249447107
76362448936507
76365647765907
76368849448607
76372048575107
76375247664007
76378446847307
76381648940607
76384848836207
76388048120607
76391248343807
76394448123207
76397648497107
76400847155507
76404047826207
76407249151807
76410447671707
76413646992707
76416847967307
76420046926207
76423246928107
76426447158107
76429648499707
76432847515107
76436048697907
76439247828807
76442447293107
76445649453807
76448848579307
76452048788207
76455249154407
76458447159707
76461646851607
76464848838807
76468046994307
76471248346407
76474447830407
76477648840207
76480847773007
76484047832107
76487247969007
76490448841907
76493647517007
76496848699007
76500048789207
76503248790707
76506448843307
76509646929707
76512847833507
76516046995807
76519248501507
76522447224507
76525647386707
76528847226407
76532046853007
76535246997307
76538446674907
76541647834907
76544848580407
76548047228407
76551246676307
76554447613907
76557648347807
76560846854507
76564047774507
76567248502307
76570446998707
76573648581707
76576847229907
76580048582907
76583247518607
76586447970407
76589648584107
76592846677907
76596049455607
76599249344707
76602448404807
76605649346207
76608848261807
76612048700607
76615248406107
76618446679107
76621647674307
76624846855807
76628046681407
76631248263707
76634447971607
76637647675607
76640847428307
76644047294907
76647246683407
76650447231107
76653647677707
76656848943207
76660047836207
76719246858307
76720047095807
76722421851207
76725621867207
76728821870407
76732021881607
76735221894407
76738421897607
76741676720807
76742421913607
76745621918407
76748821918407
76752021918407
76755221918407
76757676740007
76758476744007
76759221937607
76762421942407
76765621942407
76768821942407
76772021942407
76775221942407
76777676756807
76778476760807
76779221955207
76782421964807
76785621980807
76788821988807
76792021996807
76798422011207
76804822020807
76807276740007
76808076780807
76808822024007
76812022049607
76814476740007
76815276810407
76816022059207
76819222083207
76821676813607
76822476817607
76823222086407
76826422092807
76832822104007
76838476806407
76839276824807
76840022115207
76843222128007
76846422128007
76849622128007
76852822128007
76856022128007
76859222128007
76861676740007
76862476841607
76863222134407
76866422148807
76869622148807
76872822148807
76876022148807
76879222148807
76882422148807
76884876740007
76885676864807
76886422161607
77079249316707
77082447852607
77085648368307
77088848043007
77092047438907
77095246701207
77098446701707
77101648719507
77104848043507
77108047131207
77111248966407
77114449370407
77117649174007
77120846866607
77124046702207
77127248368807
77130449174507
77133647174707
77136847390907
77140047989707
77143246702707
77146447010207
77149647010707
77152847250707
77156047990207
77159248044007
77162446703207
77165648044507
77168849317207
77172049469507
77175248418807
77178447541407
77181648045107
77184848966907
77188048801107
77191247634407
77194448989107
77197647853107
77200847785307
77204048282307
77207248144007
77210447131707
77213648801807
77216846867107
77220047466607
77223246867807
77226447391407
77229648594007
77232847338907
77236047339607
77239248517107
77242448045807
77245646868507
77248848144707
77252048720007
77255248720607
77258447990707
77261647251207
77264847542107
77268047635107
77271248967607
77274446703707
77277647853807
77280846954807
77284048369307
77287247635707
77290448046507
77846477300007
78109652799607
78290439635207
78291239648007
78292039628807

SECTION: 6 name=.text

SECTION: 7 name=.rodata

SECTION: 8 name=.data.rel.ro

SECTION: 9 name=.dynamic

_DYNAMIC offset=637656
tagvaluedescription
FLAGS_1134217728 PIE
DEBUG0
RELA640
RELASZ30432
RELAENT24
RELACOUNT1268
SYMTAB568
SYMENT24
STRTAB636
STRSZ1
GNU_HASH592
HASH620
INIT398560
FINI146688
NULL0

SECTION: 10 name=.relro_padding

SECTION: 11 name=.data

SECTION: 12 name=.bss

SECTION: 13 name=.comment

SECTION: 14 name=.symtab

Symtab: 2353 symbols
valuesizebindtypevisibltysectionname
00localfiledefaultABSdoomstat.c
00localfiledefaultABSp_tick.c
00localfiledefaultABS__stdio_close.c
00localfiledefaultABSp_user.c
00localfiledefaultABSr_bsp.c
00localfiledefaultABSd_mode.c
00localfiledefaultABS__stdio_write.c
00localfiledefaultABS_Exit.c
00localfiledefaultABS__stdio_seek.c
00localfiledefaultABSr_data.c
00localfiledefaultABSlseek.c
00localfiledefaultABSexit.c
00localfiledefaultABSfprintf.c
00localfiledefaultABSdoomdef.c
00localfiledefaultABSp_telept.c
00localfiledefaultABSstrcmp.c
00localfiledefaultABSatoi.c
00localfiledefaultABSstrncasecmp.c
00localfiledefaultABSr_draw.c
00localfiledefaultABSr_main.c
00localfiledefaultABSdstrings.c
00localfiledefaultABSr_plane.c
00localfiledefaultABSr_segs.c
00localfiledefaultABSd_event.c
00localfiledefaultABSr_sky.c
00localfiledefaultABSr_things.c
00localfiledefaultABSsha1.c
00localfiledefaultABSp_spec.c
00localfiledefaultABSp_mobj.c
00localfiledefaultABSlibc.c
00localfiledefaultABSp_plats.c
00localfiledefaultABSp_pspr.c
00localfiledefaultABSfwrite.c
00localfiledefaultABSp_saveg.c
00localfiledefaultABSmemcpy.c
00localfiledefaultABSstrerror.c
00localfiledefaultABSp_setup.c
00localfiledefaultABSf_finale.c
00localfiledefaultABS__lctrans.c
00localfiledefaultABSputchar.c
00localfiledefaultABSp_sight.c
00localfiledefaultABSsounds.c
00localfiledefaultABSp_switch.c
00localfiledefaultABSstrnlen.c
00localfiledefaultABSmemchr.c
00localfiledefaultABSwctomb.c
00localfiledefaultABSwcrtomb.c
00localfiledefaultABSmemset.c
00localfiledefaultABS__signbitl.c
00localfiledefaultABS__fpclassifyl.c
00localfiledefaultABSfrexpl.c
00localfiledefaultABSscalbn.c
00localfiledefaultABSstderr.c
00localfiledefaultABSd_net.c
00localfiledefaultABSpthread_setcancelstate.c
00localfiledefaultABS__libc_start_main.c
00localfiledefaultABSdefsysinfo.c
00localfiledefaultABS__init_tls.c
00localfiledefaultABSdefault_attr.c
00localfiledefaultABSd_main.c
00localfiledefaultABSmmap.c
00localfiledefaultABSd_loop.c
00localfiledefaultABSprintf.c
00localfiledefaultABS__overflow.c
00localfiledefaultABSmprotect.c
00localfiledefaultABSfputs.c
00localfiledefaultABSmunmap.c
00localfiledefaultABS__stdout_write.c
00localfiledefaultABSScrt1.c
00localfiledefaultABSstrdup.c
00localfiledefaultABSstrlen.c
00localfiledefaultABSlite_malloc.c
00localfiledefaultABSstdout.c
00localfiledefaultABSputs.c
00localfiledefaultABSclose.c
00localfiledefaultABSmemrchr.c
00localfiledefaultABSpipe.c
00localfiledefaultABSstrrchr.c
00localfiledefaultABStolower.c
00localfiledefaultABSpipe2.c
00localfiledefaultABSstrcasecmp.c
00localfiledefaultABSw_main.c
00localfiledefaultABSstatdump.c
00localfiledefaultABSd_items.c
00localfiledefaultABSst_lib.c
00localfiledefaultABSd_iwad.c
00localfiledefaultABSst_stuff.c
00localfiledefaultABSs_sound.c
00localfiledefaultABStables.c
00localfiledefaultABS__syscall_cp.c
00localfiledefaultABSv_video.c
00localfiledefaultABSwi_stuff.c
00localfiledefaultABSw_checksum.c
00localfiledefaultABSw_file.c
00localfiledefaultABSp_maputl.c
00localfiledefaultABSw_wad.c
00localfiledefaultABScalloc.c
00localfiledefaultABSfree.c
00localfiledefaultABSfree.c
00localfiledefaultABSreplaced.c
00localfiledefaultABSz_zone.c
00localfiledefaultABSw_file_stdc.c
00localfiledefaultABSmalloc.c
00localfiledefaultABSi_input.c
00localfiledefaultABSi_video.c
00localfiledefaultABSdoomgeneric.c
00localfiledefaultABSdoomgeneric_postrisc.c
00localfiledefaultABSshgetc.c
00localfiledefaultABSfclose.c
00localfiledefaultABSofl_add.c
00localfiledefaultABS__stdio_read.c
00localfiledefaultABS__fdopen.c
00localfiledefaultABS__fmodeflags.c
00localfiledefaultABSstrchrnul.c
00localfiledefaultABSmemio.c
00localfiledefaultABSstrchr.c
00localfiledefaultABSfopen.c
00localfiledefaultABSfmodl.c
00localfiledefaultABScopysignl.c
00localfiledefaultABSfloatscan.c
00localfiledefaultABS__uflow.c
00localfiledefaultABSfflush.c
00localfiledefaultABS__toread.c
00localfiledefaultABSvfscanf.c
00localfiledefaultABSvsscanf.c
00localfiledefaultABSi_timer.c
00localfiledefaultABSsscanf.c
00localfiledefaultABSi_sound.c
00localfiledefaultABSposix_spawnattr_destroy.c
00localfiledefaultABS_exit.c
00localfiledefaultABSfread.c
00localfiledefaultABSm_misc.c
00localfiledefaultABSi_system.c
00localfiledefaultABSm_config.c
00localfiledefaultABSm_menu.c
00localfiledefaultABSi_cdmus.c
00localfiledefaultABSmbsinit.c
00localfiledefaultABSatof.c
00localfiledefaultABSam_map.c
00localfiledefaultABSstrtod.c
00localfiledefaultABSinfo.c
00localfiledefaultABSm_controls.c
00localfiledefaultABS__multi3.c
00localfiledefaultABSi_endoom.c
00localfiledefaultABSi_joystick.c
00localfiledefaultABSintscan.c
00localfiledefaultABSm_fixed.c
00localfiledefaultABSmremap.c
00localfiledefaultABSm_cheat.c
00localfiledefaultABSrealloc.c
00localfiledefaultABSrealloc.c
00localfiledefaultABSinternal.c
00localfiledefaultABSi_scale.c
00localfiledefaultABSmbrtowc.c
00localfiledefaultABSscalbnl.c
00localfiledefaultABSfabsl.c
00localfiledefaultABShu_stuff.c
00localfiledefaultABShu_lib.c
00localfiledefaultABSrename.c
00localfiledefaultABSremove.c
00localfiledefaultABSftell.c
00localfiledefaultABSposix_spawnattr_init.c
00localfiledefaultABSp_enemy.c
00localfiledefaultABSsigaddset.c
00localfiledefaultABSdummy.c
00localfiledefaultABS__lockfile.c
00localfiledefaultABSsigprocmask.c
00localfiledefaultABSpthread_sigmask.c
00localfiledefaultABSsyscall.c
00localfiledefaultABSsyscall_ret.c
00localfiledefaultABSf_wipe.c
00localfiledefaultABS__errno_location.c
00localfiledefaultABStoupper.c
00localfiledefaultABS__towrite.c
00localfiledefaultABSsigemptyset.c
00localfiledefaultABSm_argv.c
00localfiledefaultABS__stdio_exit.c
00localfiledefaultABSposix_spawnattr_setsigmask.c
00localfiledefaultABSposix_spawnattr_setsigdefault.c
00localfiledefaultABSposix_spawnattr_setflags.c
00localfiledefaultABS__environ.c
00localfiledefaultABSofl.c
00localfiledefaultABSposix_spawn.c
00localfiledefaultABSp_floor.c
00localfiledefaultABSp_inter.c
00localfiledefaultABSp_lights.c
00localfiledefaultABSp_map.c
00localfiledefaultABS__lock.c
00localfiledefaultABSp_ceilng.c
00localfiledefaultABSm_bbox.c
00localfiledefaultABSmkdir.c
00localfiledefaultABSfseek.c
00localfiledefaultABSstrncpy.c
00localfiledefaultABSstpncpy.c
00localfiledefaultABSsystem.c
00localfiledefaultABSstrstr.c
00localfiledefaultABSpthread_testcancel.c
00localfiledefaultABSmemcmp.c
00localfiledefaultABSstrncmp.c
00localfiledefaultABSm_random.c
00localfiledefaultABSsigaction.c
00localfiledefaultABSrestore.c
00localfiledefaultABSexecve.c
00localfiledefaultABSsigismember.c
00localfiledefaultABSsnprintf.c
00localfiledefaultABSvsnprintf.c
00localfiledefaultABSp_doors.c
00localfiledefaultABSvfprintf.c
00localfiledefaultABSblock.c
00localfiledefaultABSwaitpid.c
00localfiledefaultABSabort_lock.c
00localfiledefaultABSread.c
00localfiledefaultABSg_game.c
9660816localfunchidden.textI_InitTimidityConfig
96624160localfunchidden.textAM_getIslope
9678464localfunchidden.textAM_saveScaleAndLoc
96848160localfunchidden.textAM_addMark
97008112localfunchidden.textAM_Stop
971202272localfunchidden.textAM_Responder
99392224localfuncdefault.textAM_minOutWindowScale
99616224localfuncdefault.textAM_restoreScaleAndLoc
99840704localfunchidden.textAM_Ticker
100544240localfuncdefault.textAM_changeWindowLoc
1007841616localfunchidden.textAM_Drawer
1024001360localfuncdefault.textAM_drawMline
103760432localfuncdefault.textAM_drawLineCharacter
10419248globalfuncprotected.textsnprintf
104240208globalfuncprotected.textvsnprintf
104448192localfuncdefault.textsn_write
104640480globalfuncprotected.textvfprintf
1051204128localfuncdefault.textprintf_core
109248480localfuncdefault.textpop_arg
109728176localfuncdefault.textpad
1099046064localfuncdefault.textfmt_fp
115968320localfunchidden.text__lockfile
116288112localfunchidden.text__unlockfile
11640016globalfuncprotected.text__syscall_postrisc
11641680globalfuncprotected.textsyscall
11649664localfunchidden.text__syscall_ret
11656016localfunchidden.text___errno_location
11656016globalfuncprotected.text__errno_location
116576128localfunchidden.text__towrite
11670416localfunchidden.text__towrite_needs_stdio_exit
116720512localfunchidden.text__stdio_exit
116720512localfunchidden.text__stdio_exit_needed
11723232localfunchidden.text__ofl_lock
11726432localfunchidden.text__ofl_unlock
117296336localfunchidden.text__lock
117632144localfunchidden.text__unlock
117776304localfunchidden.text__fwritex
118080144weakfuncprotected.textfwrite_unlocked
118080144globalfuncprotected.textfwrite
1182241296globalfuncprotected.textmemcpy
11952064globalfuncprotected.text__strerror_l
11952064weakfuncprotected.textstrerror_l
11958464globalfuncprotected.textstrerror
11964816localfunchidden.text__lctrans_impl
11964816localfuncdefault.textdummy
11966432localfunchidden.text__lctrans
11969648localfunchidden.text__lctrans_cur
11974448globalfuncprotected.textstrnlen
119792320globalfuncprotected.textmemchr
12011264globalfuncprotected.textwctomb
120176400globalfuncprotected.textwcrtomb
120576320globalfuncprotected.textmemset
12089648globalfuncprotected.text__signbitl
120944144globalfuncprotected.text__fpclassifyl
121088208globalfuncprotected.textfrexpl
121296192globalfuncprotected.textscalbn
12148816localfunchidden.text__aio_close
12148816localfuncdefault.textdummy
12150480localfunchidden.text__stdio_close
121584400localfunchidden.text__stdio_write
12198432localfunchidden.text__stdio_seek
12201664weakfuncprotected.textlseek
12201664localfunchidden.text__lseek
12208048globalfuncprotected.textfprintf
122128144localfunchidden.textD_PostEvent
122272112localfunchidden.textD_PopEvent
122384288localfunchidden.textD_FindWADByName
12267296localfuncdefault.textDirIsFile
12276832localfunchidden.textD_TryFindWADByName
122800672localfunchidden.textD_FindIWAD
123472128localfunchidden.textD_FindAllIWADs
12360080localfunchidden.textD_SaveGameIWADName
123680112localfunchidden.textD_SuggestIWADName
123792112localfunchidden.textD_SuggestGameName
12390432globalfuncprotected.textfree
123936528localfunchidden.text__libc_free
124464336localfuncdefault.textget_meta
1248001168localfuncdefault.textnontrivial_free
12596896globalfuncprotected.text__malloc_atfork
126064896localfunchidden.text__malloc_alloc_meta
126960864localfunchidden.text__libc_malloc_impl
1278242608localfuncdefault.textalloc_slot
130432496localfuncdefault.textenframe
130928464localfunchidden.text__malloc_allzerop
13139216localfuncdefault.textdummy
13139216localfunchidden.text__vm_wait
131408208localfunchidden.text__mmap
131408208weakfuncprotected.textmmap
13161680localfunchidden.text__mprotect
13161680weakfuncprotected.textmprotect
13169616localfuncdefault.textdummy
13171264localfunchidden.text__munmap
13171264weakfuncprotected.textmunmap
13177680globalfuncprotected.textstrdup
131856224globalfuncprotected.textstrlen
132080704localfuncdefault.text__simple_malloc
13278432localfunchidden.text__libc_malloc
13281632localfuncdefault.textdefault_malloc
13281632weakfuncprotected.textmalloc
132848192globalfuncprotected.textstrcasecmp
133040192weakfuncprotected.textstrcasecmp_l
133040192globalfuncprotected.text__strcasecmp_l
13323232globalfuncprotected.texttolower
13326432globalfuncprotected.text__tolower_l
13326432weakfuncprotected.texttolower_l
13329648globalfuncprotected.textstrrchr
13334480weakfuncprotected.textmemrchr
13334480localfunchidden.text__memrchr
133424192globalfuncprotected.textputs
133616112localfunchidden.text__stdout_write
13372864weakfuncprotected.textfputs_unlocked
13372864globalfuncprotected.textfputs
133792192globalfuncprotected.text__overflow
13398448globalfuncprotected.textprintf
134032224localfunchidden.textNetUpdate
134256368localfuncdefault.textBuildNewTic
134624272localfunchidden.textD_ReceiveTic
134896128localfunchidden.textD_StartGameLoop
13502464localfunchidden.textD_StartNetGame
13508848localfunchidden.textD_InitNetGame
13513616localfunchidden.textD_QuitNetGame
1351521104localfunchidden.textTryRunTics
13625616localfunchidden.textD_RegisterLoopCallbacks
136272112localfunchidden.textD_ProcessEvents
1363841136localfunchidden.textD_Display
13752048localfunchidden.textD_PageDrawer
137568352localfunchidden.textD_BindVariables
137920112localfunchidden.textD_GrabMouseCallback
13803280localfunchidden.textdoomgeneric_Tick
138112192localfunchidden.textD_DoomLoop
13830448localfunchidden.textD_PageTicker
13835232localfunchidden.textD_AdvanceDemo
138384656localfunchidden.textD_DoAdvanceDemo
13904048localfunchidden.textD_StartTitle
139088496localfunchidden.textD_IdentifyVersion
139584256localfunchidden.textD_SetGameDescription
13984016localfunchidden.textPrintDehackedBanners
139856128localfunchidden.textPrintGameVersion
1399845984localfunchidden.textD_DoomMain
145968128localfuncdefault.textD_Endoom
146096240globalfuncprotected.textstrncasecmp
14633632weakfuncprotected.textstrncasecmp_l
14633632globalfuncprotected.text__strncasecmp_l
146368208globalfuncprotected.textatoi
146576112globalfuncprotected.textstrcmp
14668816weakfuncprotected.text_fini
14668816localfuncdefault.textdummy
14668816localfunchidden.text__funcs_on_exit
14670480localfuncdefault.textlibc_exit_fini
14670480localfunchidden.text__libc_exit_fini
146784144globalfuncprotected.textexit
14692880globalfuncprotected.text_Exit
14700896localfunchidden.textD_ValidGameMode
147104240localfunchidden.textD_ValidEpisodeMap
147344192localfunchidden.textD_GetNumEpisodes
147536144localfunchidden.textD_ValidGameVersion
14768048localfunchidden.textD_IsEpisodeMap
14772848localfunchidden.textD_GameMissionString
147776304localfunchidden.textD_ConnectNetGame
148080672localfunchidden.textD_CheckNetGame
148752240localfuncdefault.textRunTic
148992176globalfuncprotected.textputchar
149168272localfuncdefault.textlocking_putc
149440304localfunchidden.textF_StartFinale
14974448localfunchidden.textF_Responder
149792208localfunchidden.textF_CastResponder
150000400localfunchidden.textF_Ticker
150400144localfunchidden.textF_StartCast
1505441072localfunchidden.textF_CastTicker
151616400localfunchidden.textF_TextWrite
152016368localfunchidden.textF_CastPrint
152384192localfunchidden.textF_CastDrawer
152576240localfunchidden.textF_DrawPatchCol
152816832localfunchidden.textF_BunnyScroll
153648224localfunchidden.textF_Drawer
15387232globalfuncprotected.texttoupper
15390432globalfuncprotected.text__toupper_l
15390432weakfuncprotected.texttoupper_l
153936208localfunchidden.textwipe_shittyColMajorXform
15414448localfunchidden.textwipe_initColorXForm
154192192localfunchidden.textwipe_doColorXForm
15438416localfunchidden.textwipe_exitColorXForm
154400352localfunchidden.textwipe_initMelt
154752448localfunchidden.textwipe_doMelt
15520048localfunchidden.textwipe_exitMelt
15524864localfunchidden.textwipe_StartScreen
15531280localfunchidden.textwipe_EndScreen
155392192localfunchidden.textwipe_ScreenWipe
15558448localfunchidden.textG_CmdChecksum
1556322496localfunchidden.textG_BuildTiccmd
158128624localfunchidden.textG_DoLoadLevel
1587521120localfunchidden.textG_Responder
1598721408localfunchidden.textG_Ticker
161280256localfunchidden.textG_DoReborn
16153696localfunchidden.textG_DoNewGame
161632208localfunchidden.textG_DoLoadGame
161840368localfunchidden.textG_DoSaveGame
162208800localfunchidden.textG_DoPlayDemo
163008944localfunchidden.textG_DoCompleted
16395264localfunchidden.textG_DoWorldDone
164016192localfunchidden.textG_ReadDemoTiccmd
164208368localfunchidden.textG_WriteDemoTiccmd
164576400localfunchidden.textG_InitPlayer
164976400localfunchidden.textG_PlayerReborn
165376144localfunchidden.textG_PlayerFinishLevel
165520656localfunchidden.textG_CheckSpot
166176208localfunchidden.textG_DeathMatchSpawnPlayer
16638432localfunchidden.textG_ScreenShot
16641632localfunchidden.textG_ExitLevel
16644896localfunchidden.textG_SecretExitLevel
166544176localfunchidden.textG_WorldDone
16672048localfunchidden.textG_LoadGame
166768544localfunchidden.textG_InitNew
16731248localfunchidden.textG_SaveGame
16736048localfunchidden.textG_DeferedInitNew
167408384localfunchidden.textG_CheckDemoStatus
167792192localfunchidden.textG_RecordDemo
167984112localfunchidden.textG_VanillaVersionCode
168096496localfunchidden.textG_BeginRecording
16859232localfunchidden.textG_DeferedPlayDemo
16862464localfunchidden.textG_TimeDemo
168688288globalfuncprotected.textfopen
16897648globalfuncprotected.textstrchr
169024352weakfuncprotected.textstrchrnul
169024352localfunchidden.text__strchrnul
169376176localfunchidden.text__fmodeflags
169552576localfunchidden.text__fdopen
169552576weakfuncprotected.textfdopen
170128288localfunchidden.text__stdio_read
17041648localfunchidden.text__ofl_add
17046416localfuncdefault.textdummy
17046416localfunchidden.text__unlist_locked_file
170480304globalfuncprotected.textfclose
170784528weakfuncprotected.textfflush_unlocked
170784528globalfuncprotected.textfflush
171312160localfunchidden.text__ftello_unlocked
171472208localfunchidden.text__ftello
171472208weakfuncprotected.textftello
171680208globalfuncprotected.textftell
17188896globalfuncprotected.textremove
17198464globalfuncprotected.textrename
17204816localfunchidden.textHUlib_init
17206432localfunchidden.textHUlib_clearTextLine
17209664localfunchidden.textHUlib_initTextLine
17216080localfunchidden.textHUlib_addCharToTextLine
17224080localfunchidden.textHUlib_delCharFromTextLine
172320336localfunchidden.textHUlib_drawTextLine
172656272localfunchidden.textHUlib_eraseTextLine
172928176localfunchidden.textHUlib_initSText
173104144localfunchidden.textHUlib_addLineToSText
173248368localfunchidden.textHUlib_addMessageToSText
173616128localfunchidden.textHUlib_drawSText
173744160localfunchidden.textHUlib_eraseSText
17390480localfunchidden.textHUlib_initIText
17398480localfunchidden.textHUlib_delCharFromIText
174064128localfunchidden.textHUlib_eraseLineFromIText
17419248localfunchidden.textHUlib_resetIText
174240128localfunchidden.textHUlib_addPrefixToIText
174368192localfunchidden.textHUlib_keyInIText
17456064localfunchidden.textHUlib_drawIText
17462480localfunchidden.textHUlib_eraseIText
174704112localfunchidden.textHU_Init
17481616localfunchidden.textHU_Stop
174832592localfunchidden.textHU_Start
17542480localfunchidden.textHU_Drawer
17550448localfunchidden.textHU_Erase
175552544localfunchidden.textHU_Ticker
17609696localfunchidden.textHU_queueChatChar
17619280localfunchidden.textHU_dequeueChatChar
1762721184localfunchidden.textHU_Responder
17745616localfunchidden.textI_CDMusInit
17747216localfunchidden.textI_CDMusPrintStartup
17748816localfunchidden.textI_CDMusPlay
17750416localfunchidden.textI_CDMusStop
17752016localfunchidden.textI_CDMusResume
17753632localfunchidden.textI_CDMusSetVolume
17756816localfunchidden.textI_CDMusFirstTrack
17758416localfunchidden.textI_CDMusLastTrack
17760016localfunchidden.textI_CDMusTrackLength
17761616localfunchidden.textI_Endoom
17763216localfunchidden.textI_ShutdownJoystick
17764816localfunchidden.textI_InitJoystick
17766416localfunchidden.textI_UpdateJoystick
177680224localfunchidden.textI_BindJoystickVariables
17790432localfunchidden.textI_InitScale
177936128localfuncdefault.textI_Scale1x
178064208localfuncdefault.textI_Scale2x
178272272localfuncdefault.textI_Scale3x
178544336localfuncdefault.textI_Scale4x
178880416localfuncdefault.textI_Scale5x
179296160localfunchidden.textI_ResetScaleTables
179456432localfuncdefault.textGenerateStretchTable
179888144localfuncdefault.textI_InitStretchTables
180032512localfuncdefault.textI_Stretch1x
1805441072localfuncdefault.textI_Stretch2x
1816161632localfuncdefault.textI_Stretch3x
1832482304localfuncdefault.textI_Stretch4x
185552768localfuncdefault.textI_Stretch5x
186320272localfuncdefault.textI_Squash1x
186592368localfuncdefault.textI_Squash2x
18696096localfuncdefault.textI_InitSquashTable
187056288localfuncdefault.textI_Squash3x
187344656localfuncdefault.textI_Squash4x
188000304localfuncdefault.textI_Squash5x
18830448localfunchidden.textI_InitSound
18835216localfunchidden.textI_ShutdownSound
18836816localfunchidden.textI_GetSfxLumpNum
18838416localfunchidden.textI_UpdateSound
18840016localfunchidden.textI_UpdateSoundParams
18841616localfunchidden.textI_StartSound
18843216localfunchidden.textI_StopSound
18844816localfunchidden.textI_SoundIsPlaying
18846416localfunchidden.textI_PrecacheSounds
18848016localfunchidden.textI_InitMusic
18849616localfunchidden.textI_ShutdownMusic
18851216localfunchidden.textI_SetMusicVolume
18852816localfunchidden.textI_PauseSong
18854416localfunchidden.textI_ResumeSong
18856016localfunchidden.textI_RegisterSong
18857616localfunchidden.textI_UnRegisterSong
18859216localfunchidden.textI_PlaySong
18860816localfunchidden.textI_StopSong
18862416localfunchidden.textI_MusicIsPlaying
188640176localfunchidden.textI_BindSoundVariables
18881648localfunchidden.textI_AtExit
18886416localfunchidden.textI_Tactile
188880176localfunchidden.textI_ZoneBase
18905696localfunchidden.textI_PrintBanner
18915264localfunchidden.textI_PrintDivider
189216192localfunchidden.textI_PrintStartupBanner
18940816localfunchidden.textI_ConsoleStdout
18942448localfunchidden.textI_Quit
189472512localfunchidden.textI_GetMemoryValue
189984768localfunchidden.textI_Error
190752672globalfuncprotected.textsystem
19142416weakfuncprotected.textpthread_testcancel
19142416localfunchidden.text__pthread_testcancel
19144016localfuncdefault.textdummy
19144016localfunchidden.text__testcancel
19145632localfunchidden.text__get_handler_set
191488432localfunchidden.text__libc_sigaction
191920176weakfuncprotected.textsigaction
191920176localfunchidden.text__sigaction
19209648localfunchidden.text__restore
19214448localfunchidden.text__restore_rt
19219248localfunchidden.text__block_all_sigs
19224048localfunchidden.text__block_app_sigs
19228848localfunchidden.text__restore_sigs
19233696globalfuncprotected.textsigaddset
19243264globalfuncprotected.textsigprocmask
192496128globalfuncprotected.textpthread_sigmask
19262432globalfuncprotected.textsigemptyset
19265632globalfuncprotected.textposix_spawnattr_init
192688192globalfuncprotected.textposix_spawnattr_setsigmask
192880192globalfuncprotected.textposix_spawnattr_setsigdefault
19307248globalfuncprotected.textposix_spawnattr_setflags
193120528globalfuncprotected.textposix_spawn
1936481440localfuncdefault.textchild
19508864localfunchidden.text__pthread_setcancelstate
19508864weakfuncprotected.textpthread_setcancelstate
195152352globalfuncprotected.textpipe2
19550464globalfuncprotected.textpipe
19556816localfunchidden.text__clone
19558416localfuncdefault.textdummy
19560080globalfuncprotected.textclose
19568048localfunchidden.text__syscall_cp_c
19568048localfuncdefault.textsccp
19572848localfunchidden.text__syscall_cp
19577664globalfuncprotected.textread
19584064globalfuncprotected.textwaitpid
19590464globalfuncprotected.textsigismember
19596864globalfuncprotected.textexecve
19603216globalfuncprotected.text_exit
19604816globalfuncprotected.textposix_spawnattr_destroy
19606432localfunchidden.textI_GetTicks
19609680localfunchidden.textI_GetTime
19617664localfunchidden.textI_GetTimeMS
19624032localfunchidden.textI_Sleep
19627216localfunchidden.textI_WaitVBL
19628816localfunchidden.textI_InitTimer
19630464localfunchidden.textmem_fopen_read
196368144localfunchidden.textmem_fread
19651296localfunchidden.textmem_fopen_write
196608256localfunchidden.textmem_fwrite
19686432localfunchidden.textmem_get_buf
19689648localfunchidden.textmem_fclose
19694416localfunchidden.textmem_ftell
196960144localfunchidden.textmem_fseek
197104128localfunchidden.textM_CheckParmWithArgs
197232112localfunchidden.textM_ParmExists
197344128localfunchidden.textM_CheckParm
19747216localfunchidden.textM_FindResponseFile
19748848localfunchidden.textM_GetExecutableName
19753664localfunchidden.textM_ClearBox
197600112localfunchidden.textM_AddToBox
197712272localfunchidden.textcht_CheckCheat
19798432localfunchidden.textcht_GetParam
19801632localfunchidden.textM_SetConfigFilenames
19804816localfunchidden.textM_SaveDefaults
19806416localfunchidden.textM_SaveDefaultsAlternate
198080240localfunchidden.textM_LoadDefaults
19832048localfunchidden.textM_BindVariable
198368176localfuncdefault.textGetDefaultForName
198544448localfunchidden.textM_SetVariable
19899280localfunchidden.textM_GetIntVariable
19907280localfunchidden.textM_GetStrVariable
19915280localfunchidden.textM_GetFloatVariable
199232112localfunchidden.textM_SetConfigDir
199344128localfunchidden.textM_GetSaveGameDir
19947248weakfuncprotected.text__isoc99_sscanf
19947248globalfuncprotected.textsscanf
199520144globalfuncprotected.textvsscanf
199520144weakfuncprotected.text__isoc99_vsscanf
199664112localfuncdefault.textstring_read
1997763584globalfuncprotected.textvfscanf
1997763584weakfuncprotected.text__isoc99_vfscanf
203360176localfunchidden.text__toread
20353616localfunchidden.text__toread_needs_stdio_exit
20355280localfunchidden.text__shlim
203632240localfunchidden.text__shgetc
20387280globalfuncprotected.text__uflow
2039524560localfunchidden.text__floatscan
2085121504localfuncdefault.texthexfloat
210016784localfuncdefault.textscanexp
21080016globalfuncprotected.textcopysignl
210816720globalfuncprotected.textfmodl
21153648globalfuncprotected.textfabsl
211584304globalfuncprotected.textscalbnl
211888448globalfuncprotected.textmbrtowc
21233632globalfuncprotected.textrealloc
2123681184localfunchidden.text__libc_realloc
21355216localfuncdefault.textdummy
213568144localfunchidden.text__mremap
213568144weakfuncprotected.textmremap
2137121968localfunchidden.text__intscan
215680144globalfuncprotected.text__multi3
21582448globalfuncprotected.textmbsinit
21587232globalfuncprotected.textatof
215904112globalfuncprotected.textstrtof
216016112globalfuncprotected.textstrtod
216128128globalfuncprotected.textstrtold
216256448localfunchidden.textM_BindBaseControls
216704160localfunchidden.textM_BindHereticControls
216864192localfunchidden.textM_BindHexenControls
217056352localfunchidden.textM_BindStrifeControls
217408240localfunchidden.textM_BindWeaponControls
217648208localfunchidden.textM_BindMapControls
217856416localfunchidden.textM_BindMenuControls
218272128localfunchidden.textM_BindChatControls
21840016localfunchidden.textM_ApplyPlatformDefaults
21841696localfunchidden.textFixedDiv
218512160localfunchidden.textM_NewGame
21867232localfunchidden.textM_Options
218704112localfunchidden.textM_LoadGame
218816128localfunchidden.textM_SaveGame
21894432localfunchidden.textM_ReadThis
218976160localfunchidden.textM_QuitDOOM
21913648localfunchidden.textM_DrawMainMenu
219184192localfunchidden.textM_Episode
21937648localfunchidden.textM_DrawEpisode
219424128localfunchidden.textM_ChooseSkill
21955296localfunchidden.textM_DrawNewGame
219648160localfunchidden.textM_EndGame
21980880localfunchidden.textM_ChangeMessages
21988880localfunchidden.textM_ChangeDetail
219968144localfunchidden.textM_SizeDisplay
22011296localfunchidden.textM_ChangeSensitivity
22020832localfunchidden.textM_Sound
220240256localfunchidden.textM_DrawOptions
22049696localfunchidden.textM_ReadThis2
220592240localfunchidden.textM_DrawReadThis1
22083232localfunchidden.textM_FinishReadThis
22086464localfunchidden.textM_DrawReadThis2
220928112localfunchidden.textM_SfxVol
221040112localfunchidden.textM_MusicVol
221152128localfunchidden.textM_DrawSound
22128064localfunchidden.textM_LoadSelect
221344144localfunchidden.textM_DrawLoad
221488128localfunchidden.textM_SaveSelect
221616224localfunchidden.textM_DrawSave
221840240localfunchidden.textM_ReadSaveStrings
222080160localfunchidden.textM_DrawSaveLoadBorder
222240224localfunchidden.textM_WriteText
22246416localfunchidden.textM_ClearMenus
22248064localfunchidden.textM_StartMessage
22254432localfunchidden.textM_SetupNextMenu
222576176localfunchidden.textM_StringWidth
22275280localfunchidden.textM_DoSave
222832112localfunchidden.textM_QuickSaveResponse
222944288localfunchidden.textM_QuickSave
22323280localfunchidden.textM_StartControlPanel
223312112localfunchidden.textM_QuickLoadResponse
223424192localfunchidden.textM_QuickLoad
223616208localfunchidden.textM_DrawThermo
22382464localfunchidden.textM_VerifyNightmare
22388864localfunchidden.textM_EndGameResponse
223952128localfunchidden.textM_QuitResponse
22408080localfunchidden.textM_DrawEmptyCell
22416080localfunchidden.textM_DrawSelCell
22424032localfunchidden.textM_StopMessage
224272112localfunchidden.textM_StringHeight
2243843696localfunchidden.textM_Responder
228080848localfunchidden.textM_Drawer
22892880localfunchidden.textM_Ticker
229008256localfunchidden.textM_Init
229264320weakfuncprotected.textfread_unlocked
229264320globalfuncprotected.textfread
22958432localfunchidden.textM_MakeDirectory
22961680localfunchidden.textM_FileExists
22969680localfunchidden.textM_FileLength
22977696localfunchidden.textM_WriteFile
229872208localfunchidden.textM_ReadFile
23008048localfunchidden.textM_TempFile
230128256localfunchidden.textM_StringJoin
230384144localfunchidden.textM_StrToInt
230528208localfunchidden.textM_ExtractFileBase
23073680localfunchidden.textM_ForceUppercase
230816128localfunchidden.textM_StrCaseStr
23094480localfunchidden.textM_StringDuplicate
231024320localfunchidden.textM_StringReplace
23134480localfunchidden.textM_StringCopy
23142496localfunchidden.textM_StringConcat
23152080localfunchidden.textM_StringStartsWith
23160080localfunchidden.textM_StringEndsWith
231680112localfunchidden.textM_vsnprintf
231792128localfunchidden.textM_snprintf
23192064globalfuncprotected.textmkdir
231984224localfunchidden.text__fseeko_unlocked
232208288weakfuncprotected.textfseeko
232208288localfunchidden.text__fseeko
23249632globalfuncprotected.textfseek
23252832globalfuncprotected.textstrncpy
232560336weakfuncprotected.textstpncpy
232560336localfunchidden.text__stpncpy
232896416globalfuncprotected.textstrstr
233312160localfuncdefault.textfourbyte_strstr
233472992localfuncdefault.texttwoway_strstr
23446496globalfuncprotected.textmemcmp
234560160globalfuncprotected.textstrncmp
23472048localfunchidden.textP_Random
23476848localfunchidden.textM_Random
23481632localfunchidden.textM_ClearRandom
234848576localfunchidden.textT_MoveCeiling
23542480localfunchidden.textP_RemoveActiveCeiling
235504560localfunchidden.textEV_DoCeiling
236064128localfunchidden.textP_ActivateInStasisCeiling
23619264localfunchidden.textP_AddActiveCeiling
236256144localfunchidden.textEV_CeilingCrushStop
236400656localfunchidden.textT_VerticalDoor
237056288localfunchidden.textEV_DoLockedDoor
237344528localfunchidden.textEV_DoDoor
237872784localfunchidden.textEV_VerticalDoor
238656112localfunchidden.textP_SpawnDoorCloseIn30
238768144localfunchidden.textP_SpawnDoorRaiseIn5Mins
238912304localfunchidden.textP_RecursiveSound
23921664localfunchidden.textP_NoiseAlert
239280128localfunchidden.textP_CheckMeleeRange
239408320localfunchidden.textP_CheckMissileRange
239728416localfunchidden.textP_Move
24014464localfunchidden.textP_TryWalk
240208672localfunchidden.textP_NewChaseDir
240880336localfunchidden.textP_LookForPlayers
241216144localfunchidden.textA_KeenDie
24136032localfunchidden.textA_Fall
241392368localfunchidden.textA_Look
241760800localfunchidden.textA_Chase
242560144localfunchidden.textA_FaceTarget
242704208localfunchidden.textA_PosAttack
242912224localfunchidden.textA_SPosAttack
243136208localfunchidden.textA_CPosAttack
243344112localfunchidden.textA_CPosRefire
243456112localfunchidden.textA_SpidRefire
24356864localfunchidden.textA_BspiAttack
243632176localfunchidden.textA_TroopAttack
243808144localfunchidden.textA_SargAttack
243952176localfunchidden.textA_HeadAttack
24412864localfunchidden.textA_CyberAttack
244192176localfunchidden.textA_BruisAttack
244368160localfunchidden.textA_SkelMissile
244528528localfunchidden.textA_Tracer
24505664localfunchidden.textA_SkelWhoosh
245120160localfunchidden.textA_SkelFist
245280208localfunchidden.textPIT_VileCheck
245488448localfunchidden.textA_VileChase
24593632localfunchidden.textA_VileStart
24596848localfunchidden.textA_StartFire
246016176localfunchidden.textA_Fire
24619248localfunchidden.textA_FireCrackle
246240112localfunchidden.textA_VileTarget
246352240localfunchidden.textA_VileAttack
24659248localfunchidden.textA_FatRaise
246640192localfunchidden.textA_FatAttack1
246832192localfunchidden.textA_FatAttack2
247024272localfunchidden.textA_FatAttack3
247296272localfunchidden.textA_SkullAttack
247568352localfunchidden.textA_PainShootSkull
24792064localfunchidden.textA_PainAttack
247984128localfunchidden.textA_PainDie
248112240localfunchidden.textA_Scream
24835232localfunchidden.textA_XScream
24838448localfunchidden.textA_Pain
24843232localfunchidden.textA_Explode
248464720localfunchidden.textA_BossDeath
24918448localfunchidden.textA_Hoof
24923248localfunchidden.textA_Metal
24928048localfunchidden.textA_BabyMetal
24932832localfunchidden.textA_OpenShotgun2
24936032localfunchidden.textA_LoadShotgun2
24939248localfunchidden.textA_CloseShotgun2
249440160localfunchidden.textA_BrainAwake
24960032localfunchidden.textA_BrainPain
249632208localfunchidden.textA_BrainScream
249840144localfunchidden.textA_BrainExplode
24998416localfunchidden.textA_BrainDie
250000176localfunchidden.textA_BrainSpit
25017648localfunchidden.textA_SpawnSound
250224384localfunchidden.textA_SpawnFly
25060880localfunchidden.textA_PlayerScream
250688448localfunchidden.textT_MovePlane
251136256localfunchidden.textT_MoveFloor
2513921200localfunchidden.textEV_DoFloor
252592480localfunchidden.textEV_BuildStairs
253072448localfunchidden.textP_GiveAmmo
253520352localfunchidden.textP_GiveWeapon
25387280localfunchidden.textP_GiveBody
25395264localfunchidden.textP_GiveArmor
25401664localfunchidden.textP_GiveCard
254080304localfunchidden.textP_GivePower
2543842144localfunchidden.textP_TouchSpecialThing
256528640localfunchidden.textP_KillMobj
257168944localfunchidden.textP_DamageMobj
258112128localfunchidden.textT_FireFlicker
258240112localfunchidden.textP_SpawnFireFlicker
258352128localfunchidden.textT_LightFlash
258480144localfunchidden.textP_SpawnLightFlash
258624128localfunchidden.textT_StrobeFlash
258752176localfunchidden.textP_SpawnStrobeFlash
258928144localfunchidden.textEV_StartLightStrobing
259072224localfunchidden.textEV_TurnTagLightsOff
259296240localfunchidden.textEV_LightTurnOn
259536160localfunchidden.textT_Glow
259696112localfunchidden.textP_SpawnGlowingLight
259808160localfunchidden.textPIT_StompThing
259968464localfunchidden.textP_TeleportMove
260432368localfunchidden.textPIT_CheckLine
260800240localfuncdefault.textSpechitOverrun
261040544localfunchidden.textPIT_CheckThing
261584592localfunchidden.textP_CheckPosition
262176480localfunchidden.textP_TryMove
262656128localfunchidden.textP_ThingHeightClip
262784288localfunchidden.textP_HitSlideLine
263072256localfunchidden.textPTR_SlideTraverse
263328656localfunchidden.textP_SlideMove
263984512localfunchidden.textPTR_AimTraverse
264496928localfunchidden.textPTR_ShootTraverse
265424192localfunchidden.textP_AimLineAttack
265616144localfunchidden.textP_LineAttack
265760144localfunchidden.textPTR_UseTraverse
26590496localfunchidden.textP_UseLines
266000176localfunchidden.textPIT_RadiusAttack
266176208localfunchidden.textP_RadiusAttack
266384352localfunchidden.textPIT_ChangeSector
266736176localfunchidden.textP_ChangeSector
26691248localfunchidden.textP_AproxDistance
266960192localfunchidden.textP_PointOnLineSide
267152304localfunchidden.textP_BoxOnLineSide
267456240localfunchidden.textP_PointOnDivlineSide
26769664localfunchidden.textP_MakeDivline
267760176localfunchidden.textP_InterceptVector
267936144localfunchidden.textP_LineOpening
268080288localfunchidden.textP_UnsetThingPosition
268368272localfunchidden.textP_SetThingPosition
268640256localfunchidden.textP_BlockLinesIterator
268896144localfunchidden.textP_BlockThingsIterator
269040448localfunchidden.textPIT_AddLineIntercepts
269488704localfuncdefault.textInterceptsOverrun
270192256localfunchidden.textPIT_AddThingIntercepts
270448208localfunchidden.textP_TraverseIntercepts
270656880localfunchidden.textP_PathTraverse
271536208localfunchidden.textP_SetMobjState
271744336localfunchidden.textP_RemoveMobj
272080144localfunchidden.textP_ExplodeMissile
272224960localfunchidden.textP_XYMovement
273184704localfunchidden.textP_ZMovement
273888384localfunchidden.textP_NightmareRespawn
274272592localfunchidden.textP_SpawnMobj
274864320localfunchidden.textP_MobjThinker
275184560localfunchidden.textP_RespawnSpecials
275744448localfunchidden.textP_SpawnPlayer
2761921152localfunchidden.textP_SpawnMapThing
277344144localfunchidden.textP_SpawnPuff
277488176localfunchidden.textP_SpawnBlood
277664160localfunchidden.textP_CheckMissileSpawn
27782448localfunchidden.textP_SubstNullMobj
277872352localfunchidden.textP_SpawnMissile
278224368localfunchidden.textP_SpawnPlayerMissile
278592608localfunchidden.textT_PlatRaise
27920096localfunchidden.textP_RemoveActivePlat
279296832localfunchidden.textEV_DoPlat
280128128localfunchidden.textP_ActivateInStasis
28025680localfunchidden.textP_AddActivePlat
280336128localfunchidden.textEV_StopPlat
280464240localfunchidden.textP_SetPsprite
28070496localfunchidden.textP_CalcSwing
280800128localfunchidden.textP_BringUpWeapon
280928480localfunchidden.textP_CheckAmmo
281408112localfunchidden.textP_FireWeapon
28152048localfunchidden.textP_DropWeapon
281568400localfunchidden.textA_WeaponReady
281968112localfunchidden.textA_ReFire
28208032localfunchidden.textA_CheckReload
282112144localfunchidden.textA_Lower
28225696localfunchidden.textA_Raise
28235264localfunchidden.textA_GunFlash
282416256localfunchidden.textA_Punch
282672384localfunchidden.textA_Saw
283056128localfunchidden.textA_FireMissile
283184128localfunchidden.textA_FireBFG
283312176localfunchidden.textA_FirePlasma
283488160localfunchidden.textP_BulletSlope
283648160localfunchidden.textP_GunShot
283808208localfunchidden.textA_FirePistol
284016336localfunchidden.textA_FireShotgun
284352368localfunchidden.textA_FireShotgun2
284720288localfunchidden.textA_FireCGun
28500816localfunchidden.textA_Light0
28502432localfunchidden.textA_Light1
28505632localfunchidden.textA_Light2
285088256localfunchidden.textA_BFGSpray
28534432localfunchidden.textA_BFGsound
28537648localfunchidden.textP_SetupPsprites
285424160localfunchidden.textP_MovePsprites
28558480localfunchidden.textP_TempSaveGameFile
285664128localfunchidden.textP_SaveGameFile
285792304localfunchidden.textP_WriteSaveGameHeader
286096128localfuncdefault.textsaveg_write8
286224272localfunchidden.textP_ReadSaveGameHeader
286496112localfuncdefault.textsaveg_read8
28660832localfunchidden.textP_ReadSaveGameEOF
28664032localfunchidden.textP_WriteSaveGameEOF
2866722432localfunchidden.textP_ArchivePlayers
2891042368localfunchidden.textP_UnArchivePlayers
291472624localfunchidden.textP_ArchiveWorld
292096656localfunchidden.textP_UnArchiveWorld
2927522080localfunchidden.textP_ArchiveThinkers
2948322160localfunchidden.textP_UnArchiveThinkers
2969922576localfunchidden.textP_ArchiveSpecials
299568480localfuncdefault.textsaveg_write_ceiling_t
3000483440localfunchidden.textP_UnArchiveSpecials
303488160localfuncdefault.textsaveg_write_thinker_t
303648176localfuncdefault.textsaveg_read_thinker_t
303824192localfunchidden.textP_LoadVertexes
304016176localfunchidden.textGetSectorAtNullAddress
304192688localfunchidden.textP_LoadSegs
304880208localfunchidden.textP_LoadSubsectors
305088336localfunchidden.textP_LoadSectors
305424400localfunchidden.textP_LoadNodes
305824288localfunchidden.textP_LoadThings
306112768localfunchidden.textP_LoadLineDefs
306880320localfunchidden.textP_LoadSideDefs
307200176localfunchidden.textP_LoadBlockMap
307376992localfunchidden.textP_GroupLines
308368912localfunchidden.textP_SetupLevel
30928032localfunchidden.textP_Init
309312272localfunchidden.textP_DivlineSide
309584176localfunchidden.textP_InterceptVector2
309760608localfunchidden.textP_CrossSubsector
310368240localfunchidden.textP_CrossBSPNode
310608320localfunchidden.textP_CheckSight
310928320localfunchidden.textP_InitPicAnims
31124848localfunchidden.textgetSide
31129648localfunchidden.textgetSector
31134448localfunchidden.texttwoSided
31139264localfunchidden.textgetNextSector
311456160localfunchidden.textP_FindLowestFloorSurrounding
311616176localfunchidden.textP_FindHighestFloorSurrounding
311792320localfunchidden.textP_FindNextHighestFloor
312112176localfunchidden.textP_FindLowestCeilingSurrounding
312288176localfunchidden.textP_FindHighestCeilingSurrounding
312464112localfunchidden.textP_FindSectorFromLineTag
312576160localfunchidden.textP_FindMinSurroundingLight
3127361760localfunchidden.textP_CrossSpecialLine
314496176localfunchidden.textP_ShootSpecialLine
314672416localfunchidden.textP_PlayerInSpecialSector
315088624localfunchidden.textP_UpdateSpecials
315712736localfunchidden.textEV_DoDonut
316448944localfunchidden.textP_SpawnSpecials
317392224localfunchidden.textP_InitSwitchList
317616208localfunchidden.textP_StartButton
317824432localfunchidden.textP_ChangeSwitchTexture
3182561408localfunchidden.textP_UseSpecialLine
319664528localfunchidden.textEV_Teleport
32019232localfunchidden.textP_InitThinkers
32022448localfunchidden.textP_AddThinker
32027232localfunchidden.textP_RemoveThinker
32030416localfunchidden.textP_AllocateThinker
320320128localfunchidden.textP_RunThinkers
320448320localfunchidden.textP_Ticker
320768112localfunchidden.textP_Thrust
320880432localfunchidden.textP_CalcHeight
321312368localfunchidden.textP_MovePlayer
321680384localfunchidden.textP_DeathThink
322064928localfunchidden.textP_PlayerThink
32299232localfunchidden.textR_ClearDrawSegs
323024416localfunchidden.textR_ClipSolidWallSegment
323440192localfunchidden.textR_ClipPassWallSegment
32363280localfunchidden.textR_ClearClipSegs
323712400localfunchidden.textR_AddLine
324112464localfunchidden.textR_CheckBBox
324576304localfunchidden.textR_Subsector
324880176localfunchidden.textR_RenderBSPNode
325056160localfunchidden.textR_DrawColumnInCache
325216528localfunchidden.textR_GenerateComposite
325744624localfunchidden.textR_GenerateLookup
326368144localfunchidden.textR_GetColumn
3265121840localfunchidden.textR_InitTextures
328352176localfunchidden.textR_InitFlats
328528384localfunchidden.textR_InitSpriteLumps
32891248localfunchidden.textR_InitColormaps
32896096localfunchidden.textR_InitData
329056176localfunchidden.textR_FlatNumForName
329232144localfunchidden.textR_CheckTextureNumForName
32937664localfunchidden.textR_TextureNumForName
3294401024localfunchidden.textR_PrecacheLevel
330464256localfunchidden.textR_DrawColumn
330720288localfunchidden.textR_DrawColumnLow
331008288localfunchidden.textR_DrawFuzzColumn
331296352localfunchidden.textR_DrawFuzzColumnLow
331648256localfunchidden.textR_DrawTranslatedColumn
331904304localfunchidden.textR_DrawTranslatedColumnLow
332208224localfunchidden.textR_InitTranslationTables
332432288localfunchidden.textR_DrawSpan
332720336localfunchidden.textR_DrawSpanLow
333056192localfunchidden.textR_InitBuffer
333248864localfunchidden.textR_FillBackScreen
33411264localfunchidden.textR_VideoErase
334176304localfunchidden.textR_DrawViewBorder
334480144localfunchidden.textR_AddPointToBox
334624240localfunchidden.textR_PointOnSide
334864240localfunchidden.textR_PointOnSegSide
335104464localfunchidden.textR_PointToAngle
33556848localfunchidden.textR_PointToAngle2
335616144localfunchidden.textR_PointToDist
33576016localfunchidden.textR_InitPointToAngle
335776176localfunchidden.textR_ScaleFromGlobalAngle
33595216localfunchidden.textR_InitTables
335968432localfunchidden.textR_InitTextureMapping
336400176localfunchidden.textR_InitLightTables
33657632localfunchidden.textR_SetViewSize
336608864localfunchidden.textR_ExecuteSetViewSize
337472144localfunchidden.textR_Init
337616144localfunchidden.textR_PointInSubsector
337760272localfunchidden.textR_SetupFrame
33803296localfunchidden.textR_RenderPlayerView
33812816localfunchidden.textR_InitPlanes
338144496localfunchidden.textR_MapPlane
338640224localfunchidden.textR_ClearPlanes
338864240localfunchidden.textR_FindPlane
339104224localfunchidden.textR_CheckPlane
3393281024localfunchidden.textR_DrawPlanes
340352704localfunchidden.textR_RenderMaskedSegRange
3410561056localfunchidden.textR_RenderSegLoop
3421122752localfunchidden.textR_StoreWallRange
34486432localfunchidden.textR_InitSkyMap
344896400localfunchidden.textR_InstallSpriteLump
345296784localfunchidden.textR_InitSpriteDefs
34608048localfunchidden.textR_InitSprites
34612832localfunchidden.textR_ClearSprites
34616064localfunchidden.textR_NewVisSprite
346224288localfunchidden.textR_DrawMaskedColumn
346512448localfunchidden.textR_DrawVisSprite
346960960localfunchidden.textR_ProjectSprite
347920192localfunchidden.textR_AddSprites
348112592localfunchidden.textR_DrawPSprite
348704240localfunchidden.textR_DrawPlayerSprites
348944320localfunchidden.textR_SortVisSprites
3492641024localfunchidden.textR_DrawSprite
350288208localfunchidden.textR_DrawMasked
350496112localfunchidden.textSHA1_Init
350608384localfunchidden.textSHA1_Update
3509926000localfuncdefault.textTransform
356992800localfunchidden.textSHA1_Final
35779280localfunchidden.textSHA1_UpdateInt32
35787248localfunchidden.textSHA1_UpdateString
35792064localfunchidden.textStatCopy
35798416localfunchidden.textStatDump
35800032localfunchidden.textSTlib_init
35803248localfunchidden.textSTlib_initNum
358080432localfunchidden.textSTlib_drawNum
35851248localfunchidden.textSTlib_updateNum
35856064localfunchidden.textSTlib_initPercent
35862496localfunchidden.textSTlib_updatePercent
35872048localfunchidden.textSTlib_initMultIcon
358768288localfunchidden.textSTlib_updateMultIcon
35905648localfunchidden.textSTlib_initBinIcon
359104272localfunchidden.textSTlib_updateBinIcon
359376144localfunchidden.textST_refreshBackground
3595201616localfunchidden.textST_Responder
361136128localfunchidden.textST_calcPainOffset
3612641776localfunchidden.textST_updateFaceWidget
363040352localfunchidden.textST_updateWidgets
36339264localfunchidden.textST_Ticker
363456272localfunchidden.textST_doPaletteStuff
363728320localfunchidden.textST_drawWidgets
36404832localfunchidden.textST_doRefresh
36408032localfunchidden.textST_diffDraw
364112112localfunchidden.textST_Drawer
364224976localfunchidden.textST_loadGraphics
36520032localfunchidden.textST_loadData
365232928localfunchidden.textST_unloadGraphics
36616016localfunchidden.textST_unloadData
366176256localfunchidden.textST_initData
366432896localfunchidden.textST_createWidgets
367328304localfunchidden.textST_Start
36763264localfunchidden.textST_Stop
36769664localfunchidden.textST_Init
367760256localfunchidden.textS_Init
36801648localfunchidden.textS_SetSfxVolume
36806448localfunchidden.textS_SetMusicVolume
36811232localfunchidden.textS_Shutdown
368144224localfunchidden.textS_Start
368368128localfuncdefault.textS_StopChannel
368496304localfunchidden.textS_ChangeMusic
368800112localfunchidden.textS_StopSound
368912736localfunchidden.textS_StartSound
369648400localfuncdefault.textS_AdjustSoundParams
37004864localfunchidden.textS_PauseSound
37011264localfunchidden.textS_ResumeSound
370176288localfunchidden.textS_UpdateSounds
37046432localfunchidden.textS_StartMusic
370496112localfunchidden.textS_StopMusic
37060832localfunchidden.textS_MusicPlaying
37064064localfunchidden.textSlopeDiv
37070496localfunchidden.textV_MarkRect
370800288localfunchidden.textV_CopyRect
37108816localfunchidden.textV_SetPatchClipCallback
371104656localfunchidden.textV_DrawPatch
371760592localfunchidden.textV_DrawPatchFlipped
37235232localfunchidden.textV_DrawPatchDirect
372384432localfunchidden.textV_DrawTLPatch
372816384localfunchidden.textV_DrawXlaPatch
373200432localfunchidden.textV_DrawAltTLPatch
373632480localfunchidden.textV_DrawShadowedPatch
37411232localfunchidden.textV_LoadTintTable
37414432localfunchidden.textV_LoadXlaTable
374176224localfunchidden.textV_DrawBlock
374400112localfunchidden.textV_DrawFilledBox
37451264localfunchidden.textV_DrawHorizLine
37457696localfunchidden.textV_DrawVertLine
374672224localfunchidden.textV_DrawBox
37489632localfunchidden.textV_DrawRawScreen
37492816localfunchidden.textV_Init
37494416localfunchidden.textV_UseBuffer
37496032localfunchidden.textV_RestoreBuffer
374992496localfunchidden.textWritePCXfile
375488176localfunchidden.textV_ScreenShot
375664656localfunchidden.textV_DrawMouseSpeedBox
37632032localfunchidden.textWI_slamBackground
37635216localfunchidden.textWI_Responder
376368416localfunchidden.textWI_drawLF
376784176localfunchidden.textWI_drawEL
376960288localfunchidden.textWI_drawOnLnode
377248256localfunchidden.textWI_initAnimatedBack
377504400localfunchidden.textWI_updateAnimatedBack
377904176localfunchidden.textWI_drawAnimatedBack
378080320localfunchidden.textWI_drawNum
37840064localfunchidden.textWI_drawPercent
378464256localfunchidden.textWI_drawTime
37872016localfunchidden.textWI_End
3787361280localfunchidden.textWI_unloadData
38001648localfunchidden.textWI_initNoState
38006464localfunchidden.textWI_updateNoState
38012848localfunchidden.textWI_initShowNextLoc
38017696localfunchidden.textWI_updateShowNextLoc
380272432localfunchidden.textWI_drawShowNextLoc
38070432localfunchidden.textWI_drawNoState
380736144localfunchidden.textWI_fragSum
380880192localfunchidden.textWI_initDeathmatchStats
381072960localfunchidden.textWI_updateDeathmatchStats
382032736localfunchidden.textWI_drawDeathmatchStats
382768288localfunchidden.textWI_initNetgameStats
3830561584localfunchidden.textWI_updateNetgameStats
3846401008localfunchidden.textWI_drawNetgameStats
38564880localfunchidden.textWI_initStats
3857281168localfunchidden.textWI_updateStats
386896448localfunchidden.textWI_drawStats
387344192localfunchidden.textWI_checkForAccelerate
387536480localfunchidden.textWI_Ticker
3880161552localfunchidden.textWI_loadData
389568128localfunchidden.textWI_Drawer
389696256localfunchidden.textWI_initVariables
389952160localfunchidden.textWI_Start
390112320localfunchidden.textW_Checksum
39043248localfunchidden.textW_OpenFile
39048032localfunchidden.textW_CloseFile
39051248localfunchidden.textW_Read
390560208localfunchidden.textW_ParseCommandLine
39076880localfunchidden.textW_LumpNameHash
3908481056localfunchidden.textW_AddFile
39190416localfunchidden.textW_NumLumps
391920304localfunchidden.textW_CheckNumForName
39222464localfunchidden.textW_GetNumForName
39228864localfunchidden.textW_LumpLength
392352144localfunchidden.textW_ReadLump
392496256localfunchidden.textW_CacheLumpNum
39275280localfunchidden.textW_CacheLumpName
392832128localfunchidden.textW_ReleaseLumpNum
39296080localfunchidden.textW_ReleaseLumpName
393040304localfunchidden.textW_GenerateHashTable
393344192localfunchidden.textW_CheckCorrectIWAD
39353616localfuncdefault.textallzerop
393552368globalfuncprotected.textcalloc
39392096localfunchidden.textZ_ClearZone
394016112localfunchidden.textZ_Init
394128288localfunchidden.textZ_Free
394416432localfunchidden.textZ_Malloc
39484896localfunchidden.textZ_FreeTags
394944320localfunchidden.textZ_DumpHeap
395264448localfunchidden.textZ_FileDumpHeap
395712224localfunchidden.textZ_CheckHeap
395936112localfunchidden.textZ_ChangeTag2
39604864localfunchidden.textZ_ChangeUser
396112144localfunchidden.textZ_FreeMemory
39625632localfunchidden.textZ_ZoneSize
39628864localfunchidden.textW_StdC_Read
396352128localfuncdefault.textW_StdC_OpenFile
39648032localfuncdefault.textW_StdC_CloseFile
396512384localfunchidden.textI_GetEvent
39689616localfunchidden.textI_InitInput
396912464localfunchidden.textI_InitGraphics
39737632localfunchidden.textI_ShutdownGraphics
39740816localfunchidden.textI_StartFrame
39742416localfunchidden.textI_StartTic
39744016localfunchidden.textI_UpdateNoBlit
39745616localfunchidden.textI_FinishUpdate
39747232localfunchidden.textI_ReadScreen
397504192localfunchidden.textI_SetPalette
397696128localfunchidden.textI_GetPaletteIndex
39782416localfunchidden.textI_BeginRead
39784016localfunchidden.textI_EndRead
39785632localfunchidden.textI_SetWindowTitle
39788816localfunchidden.textI_GraphicsCheckCommandLine
39790416localfunchidden.textI_SetGrabMouseCallback
39792016localfunchidden.textI_EnableLoadingDisk
39793616localfunchidden.textI_BindVideoVariables
39795216localfunchidden.textI_DisplayFPSDots
39796816localfunchidden.textI_CheckIsScreensaver
39798464localfunchidden.textdoomgeneric_Create
39804848localfunchidden.textDG_Init
39809648localfunchidden.textDG_DrawFrame
39814448localfunchidden.textDG_SleepMs
39819216localfunchidden.textprint_current_time_with_ms
39820848localfunchidden.textDG_GetTicksMs
39825648localfunchidden.textDG_GetKey
39830448localfunchidden.textDG_SetWindowTitle
398352112localfunchidden.textmain
39846448globalfuncprotected.text_start
39851248localfunchidden.text_start_c
39856016weakfuncprotected.text_init
39856016localfuncdefault.textdummy
39857616localfunchidden.text__init_ssp
39857616localfuncdefault.textdummy1
398592672localfunchidden.text__init_libc
39926464localfunchidden.text__libc_start_init
39926464localfuncdefault.textlibc_start_init
39932864globalfuncprotected.text__libc_start_main
399392128localfunchidden.text__init_tp
399520144localfunchidden.text__copy_tls
399664704localfuncdefault.textstatic_init_tls
399664704localfunchidden.text__init_tls
46590420localobjectdefault.rodataAM_Stop.st_notify
4659040localnotypehidden.rodata__fini_array_start
4659040localnotypehidden.rodata__fini_array_end
4659040localnotypehidden.rodata__init_array_start
4659040localnotypehidden.rodata__init_array_end
46592420localobjectdefault.rodataAM_initVariables.st_notify
49472416localobjectdefault.rodataAM_drawPlayers.their_colors
49474016localobjectdefault.rodataxdigits
49475616localobjectdefault.rodatadecfloat.th
4947880localnotypedefault.rodata.LJTI1_0
4950120localnotypedefault.rodata.LJTI1_1
4950440localnotypedefault.rodata.LJTI2_0
495116464localobjectdefault.rodatastates
4955801960localobjectdefault.rodataerrmsgstr
497540264localobjectdefault.rodataerrmsgidx
49780496localobjecthidden.rodata__malloc_size_classes
49790027localobjectdefault.rodatasmall_cnt_tab
4979274localobjectdefault.rodatamed_cnt_tab
4979320localnotypedefault.rodata.LJTI1_0
4979480localnotypedefault.rodata.LJTI9_0
497976184localobjectdefault.rodata.L__const.D_DoomMain.name
49816060localobjectdefault.rodataSetMissionForPackName.packs
49822012localobjectdefault.rodata.Lswitch.table.D_SetGameDescription.rel
498232208localobjectdefault.rodatavalid_modes
49844080localobjectdefault.rodatavalid_versions
49852028localobjectdefault.rodata.Lswitch.table.D_IsEpisodeMap
49854836localobjectdefault.rodata.Lswitch.table.D_GameMissionString.rel
4985840localnotypedefault.rodata.LJTI5_0
4989200localnotypedefault.rodata.LJTI5_1
4990240localnotypedefault.rodata.LJTI11_0
4990400localnotypedefault.rodata.LJTI3_0
4990560localnotypedefault.rodata.LJTI4_0
4990960localnotypedefault.rodata.LJTI4_1
4991120localnotypedefault.rodata.LJTI9_0
4991280localnotypedefault.rodata.LJTI9_1
4991440localnotypedefault.rodata.LJTI17_0
4991760localnotypedefault.rodata.LJTI29_0
4991920localnotypedefault.rodata.LJTI30_0
49920872localobjectdefault.rodataweapon_order_table
49928024localobjectdefault.rodata.Lswitch.table.G_DoPlayDemo.rel
49930412localobjectdefault.rodata.Lswitch.table.G_InitNew.rel
4993160localnotypedefault.rodata.LJTI2_0
49933210localobjectdefault.rodatamem_dump_dos622
49934210localobjectdefault.rodatamem_dump_win98
49935210localobjectdefault.rodatamem_dump_dosbox
4993688localobjectdefault.rodataall_mask
4993768localobjectdefault.rodataapp_mask
4993840localnotypedefault.rodata.LJTI1_0
4994040localnotypedefault.rodata.LJTI6_0
499424512localobjectdefault.rodatascantokey
4999360localnotypedefault.rodata.LJTI0_0
5000880localnotypedefault.rodata.LJTI0_1
5003200localnotypedefault.rodata.LJTI0_2
5003440localnotypedefault.rodata.LJTI0_3
5005680localnotypedefault.rodata.LJTI0_4
50059232localobjectdefault.rodatadecfloat.p10s
50062412localobjectdefault.rodata.Lswitch.table.__floatscan
50063612localobjectdefault.rodata.Lswitch.table.__floatscan.2
500648204localobjecthidden.rodata__fsmu8
500852257localobjectdefault.rodatatable
5011099localobjectdefault.rodata.L.str
5011208localobjectdefault.rodatadetailNames.rel
5011288localobjectdefault.rodatamsgNames.rel
501136256localobjectdefault.rodatarndtable
5013920localnotypedefault.rodata.LJTI0_0
5014160localnotypedefault.rodata.LJTI2_0
5014400localnotypedefault.rodata.LJTI0_0
5014560localnotypedefault.rodata.LJTI0_1
5014880localnotypedefault.rodata.LJTI2_0
5015200localnotypedefault.rodata.LJTI48_0
5015360localnotypedefault.rodata.LJTI2_0
5015880localnotypedefault.rodata.LJTI0_0
5016040localnotypedefault.rodata.LJTI5_0
5016280localnotypedefault.rodata.LJTI6_0
5017840localnotypedefault.rodata.LJTI7_0
5018760localnotypedefault.rodata.LJTI2_0
5018920localnotypedefault.rodata.LJTI2_0
5019120localnotypedefault.rodata.LJTI16_0
5019440localnotypedefault.rodata.LJTI12_0
5025040localnotypedefault.rodata.LJTI14_0
5025560localnotypedefault.rodata.LJTI17_0
5026240localnotypedefault.rodata.LJTI3_0
503184200localobjectdefault.rodatafuzzoffset
50338436localobjectdefault.rodata.L__const.S_Start.spmus
50342016384localobjecthidden.rodatafinetangent
51980440960localobjecthidden.rodatafinesine
5607648196localobjecthidden.rodatatantoangle
5689601280localobjecthidden.rodatagammatable
5702400localnotypedefault.rodata.LJTI24_0
5702760localnotypedefault.rodata.LJTI27_0
570312288localobjectdefault.rodatalnodes
57060016localobjectdefault.rodataNUMANIMS
57061648localobjectdefault.rodataunique_lumps
570664128localobjectdefault.rodatashiftxform
57079224localobjectdefault.rodata.L__const.__init_libc.pfd
6363528localobjecthidden.data.rel.ro__stdio_ofl_lockptr
6363608globalobjectprotected.data.rel.rostderr
636368336localobjectdefault.data.rel.roiwads
6367048localobjecthidden.data.rel.ro__bump_lockptr
6367128globalobjectprotected.data.rel.rostdout
636720240localobjectdefault.data.rel.rogameversions
63696048localobjectdefault.data.rel.rowipe_ScreenWipe.wipes
63700864localobjectdefault.data.rel.roweapon_keys
637072552localobjectdefault.data.rel.rointercepts_overrun
63762432localobjectdefault.data.rel.roanims
6376560localnotypehidden.dynamic_DYNAMIC
703432112localobjecthidden.dataplayer_arrow
703544256localobjecthidden.datacheat_player_arrow
70380048localobjecthidden.datatriangle_guy
70384848localobjecthidden.datathintriangle_guy
70389672localobjecthidden.datacheat_amap
7039684localobjectdefault.datafollowplayer
7039724localobjectdefault.dataAM_Start.lastlevel
7039764localobjectdefault.dataAM_Start.lastepisode
7039804localobjectdefault.datascale_mtof
703984232localobjecthidden.data__stderr_FILE
7042168localobjecthidden.data__stderr_used
7042244localobjecthidden.datagamemode
7042284localobjecthidden.datagameversion
70423264localobjecthidden.datadoom1_endmsg
70429664localobjecthidden.datadoom2_endmsg
704360216localobjecthidden.dataweaponinfo
704576232localobjecthidden.data__stdout_FILE
7048088localobjecthidden.data__stdout_used
7048164localobjecthidden.datashow_endoom
7048204localobjecthidden.datawipegamestate
7048244localobjectdefault.dataD_Display.oldgamestate
70483232localobjectdefault.datadoom_loop_interface
704864288localobjecthidden.datacastorder
705152704localobjectdefault.datatextscreens
7058564localobjecthidden.dataprecache
7058608localobjecthidden.dataforwardmove
7058688localobjecthidden.datasidemove
70587612localobjecthidden.dataangleturn
7058884localobjecthidden.datavanilla_savegame_limit
7058924localobjecthidden.datavanilla_demo_limit
705896160localobjecthidden.datapars
706056128localobjecthidden.datacpars
70618480localobjecthidden.datachat_macros
70626432localobjecthidden.dataplayer_names
706296360localobjecthidden.datamapnames
706656768localobjecthidden.datamapnames_commercial
7074241112localobjecthidden.datasprnames
70853638680localobjecthidden.datastates
74721612604localobjecthidden.datamobjinfo
7598204localobjectdefault.datajoystick_index
7598244localobjectdefault.datajoystick_y_axis
7598284localobjectdefault.datajoystick_strafe_axis
75983240localobjectdefault.datajoystick_physical_buttons
75987232localobjecthidden.datamode_scale_1x
75990432localobjecthidden.datamode_scale_2x
75993632localobjecthidden.datamode_scale_3x
75996832localobjecthidden.datamode_scale_4x
76000032localobjecthidden.datamode_scale_5x
76003232localobjecthidden.datamode_stretch_1x
76006432localobjecthidden.datamode_stretch_2x
76009632localobjecthidden.datamode_stretch_3x
76012832localobjecthidden.datamode_stretch_4x
76016032localobjecthidden.datamode_stretch_5x
76019232localobjecthidden.datamode_squash_1x
76022432localobjecthidden.datamode_squash_2x
76025632localobjecthidden.datamode_squash_3x
76028832localobjecthidden.datamode_squash_4x
76032032localobjecthidden.datamode_squash_5x
7603524localobjecthidden.datasnd_samplerate
7603564localobjecthidden.datasnd_cachesize
7603604localobjecthidden.datasnd_maxslicetime_ms
7603688localobjecthidden.datasnd_musiccmd
7603764localobjecthidden.datasnd_musicdevice
7603804localobjecthidden.datasnd_sfxdevice
7603848localobjectdefault.datados_mem_dump
7603922432localobjectdefault.datadoom_defaults_list
7628243808localobjectdefault.dataextra_defaults_list
7666324localobjecthidden.datakey_right
7666364localobjecthidden.datakey_left
7666404localobjecthidden.datakey_up
7666444localobjecthidden.datakey_down
7666484localobjecthidden.datakey_strafeleft
7666524localobjecthidden.datakey_straferight
7666564localobjecthidden.datakey_fire
7666604localobjecthidden.datakey_use
7666644localobjecthidden.datakey_strafe
7666684localobjecthidden.datakey_speed
7666724localobjecthidden.datakey_flyup
7666764localobjecthidden.datakey_flydown
7666804localobjecthidden.datakey_flycenter
7666844localobjecthidden.datakey_lookup
7666884localobjecthidden.datakey_lookdown
7666924localobjecthidden.datakey_lookcenter
7666964localobjecthidden.datakey_invleft
7667004localobjecthidden.datakey_invright
7667044localobjecthidden.datakey_useartifact
7667084localobjecthidden.datakey_jump
7667124localobjecthidden.datakey_arti_all
7667164localobjecthidden.datakey_arti_health
7667204localobjecthidden.datakey_arti_poisonbag
7667244localobjecthidden.datakey_arti_blastradius
7667284localobjecthidden.datakey_arti_teleport
7667324localobjecthidden.datakey_arti_teleportother
7667364localobjecthidden.datakey_arti_egg
7667404localobjecthidden.datakey_arti_invulnerability
7667444localobjecthidden.datakey_usehealth
7667484localobjecthidden.datakey_invquery
7667524localobjecthidden.datakey_mission
7667564localobjecthidden.datakey_invpop
7667604localobjecthidden.datakey_invkey
7667644localobjecthidden.datakey_invhome
7667684localobjecthidden.datakey_invend
7667724localobjecthidden.datakey_invuse
7667764localobjecthidden.datakey_invdrop
7667804localobjecthidden.datamousebstrafe
7667844localobjecthidden.datamousebforward
7667884localobjecthidden.datamousebjump
7667924localobjecthidden.datamousebstrafeleft
7667964localobjecthidden.datamousebstraferight
7668004localobjecthidden.datamousebbackward
7668044localobjecthidden.datamousebuse
7668084localobjecthidden.datamousebprevweapon
7668124localobjecthidden.datamousebnextweapon
7668164localobjecthidden.datakey_message_refresh
7668204localobjecthidden.datakey_pause
7668244localobjecthidden.datakey_demo_quit
7668284localobjecthidden.datakey_spy
7668324localobjecthidden.datakey_multi_msg
7668364localobjecthidden.datakey_weapon1
7668404localobjecthidden.datakey_weapon2
7668444localobjecthidden.datakey_weapon3
7668484localobjecthidden.datakey_weapon4
7668524localobjecthidden.datakey_weapon5
7668564localobjecthidden.datakey_weapon6
7668604localobjecthidden.datakey_weapon7
7668644localobjecthidden.datakey_weapon8
7668684localobjecthidden.datakey_map_north
7668724localobjecthidden.datakey_map_south
7668764localobjecthidden.datakey_map_east
7668804localobjecthidden.datakey_map_west
7668844localobjecthidden.datakey_map_zoomin
7668884localobjecthidden.datakey_map_zoomout
7668924localobjecthidden.datakey_map_toggle
7668964localobjecthidden.datakey_map_maxzoom
7669004localobjecthidden.datakey_map_follow
7669044localobjecthidden.datakey_map_grid
7669084localobjecthidden.datakey_map_mark
7669124localobjecthidden.datakey_map_clearmark
7669164localobjecthidden.datakey_menu_activate
7669204localobjecthidden.datakey_menu_up
7669244localobjecthidden.datakey_menu_down
7669284localobjecthidden.datakey_menu_left
7669324localobjecthidden.datakey_menu_right
7669364localobjecthidden.datakey_menu_back
7669404localobjecthidden.datakey_menu_forward
7669444localobjecthidden.datakey_menu_confirm
7669484localobjecthidden.datakey_menu_abort
7669524localobjecthidden.datakey_menu_help
7669564localobjecthidden.datakey_menu_save
7669604localobjecthidden.datakey_menu_load
7669644localobjecthidden.datakey_menu_volume
7669684localobjecthidden.datakey_menu_detail
7669724localobjecthidden.datakey_menu_qsave
7669764localobjecthidden.datakey_menu_endgame
7669804localobjecthidden.datakey_menu_messages
7669844localobjecthidden.datakey_menu_qload
7669884localobjecthidden.datakey_menu_quit
7669924localobjecthidden.datakey_menu_gamma
7669964localobjecthidden.datakey_menu_incscreen
7670004localobjecthidden.datakey_menu_decscreen
7670044localobjecthidden.datajoybstrafe
7670084localobjecthidden.datajoybuse
7670124localobjecthidden.datajoybspeed
7670164localobjecthidden.datajoybstrafeleft
7670204localobjecthidden.datajoybstraferight
7670244localobjecthidden.datajoybjump
7670284localobjecthidden.datajoybprevweapon
7670324localobjecthidden.datajoybnextweapon
7670364localobjecthidden.datajoybmenu
7670404localobjecthidden.datadclick_use
7670484localobjecthidden.datamouseSensitivity
7670524localobjecthidden.datashowMessages
7670564localobjecthidden.datascreenblocks
767060130localobjecthidden.datagammamsg
76719216localobjecthidden.dataskullName
767208192localobjecthidden.dataMainMenu
76740040localobjecthidden.dataMainDef
767440128localobjecthidden.dataEpisodeMenu
76756840localobjecthidden.dataEpiDef
767608160localobjecthidden.dataNewGameMenu
76776840localobjecthidden.dataNewDef
767808256localobjecthidden.dataOptionsMenu
76806440localobjecthidden.dataOptionsDef
76810432localobjecthidden.dataReadMenu1
76813640localobjecthidden.dataReadDef1
76817632localobjecthidden.dataReadMenu2
76820840localobjecthidden.dataReadDef2
768248128localobjecthidden.dataSoundMenu
76837640localobjecthidden.dataSoundDef
768416192localobjecthidden.dataLoadMenu
76860840localobjecthidden.dataLoadDef
768648192localobjecthidden.dataSaveMenu
76884040localobjecthidden.dataSaveDef
76888032localobjecthidden.dataquitsounds
76891232localobjecthidden.dataquitsounds2
76894436localobjecthidden.dataopposite
76898016localobjecthidden.datadiags
76899632localobjecthidden.dataxspeed
76902832localobjecthidden.datayspeed
7690604localobjecthidden.dataTRACEANGLE
76906416localobjecthidden.datamaxammo
76908016localobjecthidden.dataclipammo
769096644localobjecthidden.dataanimdefs
769740820localobjecthidden.dataalphSwitchList
770560192localobjecthidden.datacheckcoord
7707524localobjecthidden.datavalidcount
7707602176localobjecthidden.dataS_music
7729366976localobjecthidden.dataS_sfx
77991272localobjecthidden.datacheat_mus
77998472localobjecthidden.datacheat_god
78005672localobjecthidden.datacheat_ammo
78012872localobjecthidden.datacheat_ammonokey
78020072localobjecthidden.datacheat_noclip
78027272localobjecthidden.datacheat_commercial_noclip
780344504localobjecthidden.datacheat_powerup
78084872localobjecthidden.datacheat_choppers
78092072localobjecthidden.datacheat_clev
78099272localobjecthidden.datacheat_mypos
7810644localobjectdefault.dataST_calcPainOffset.oldhealth
7810684localobjectdefault.dataST_updateFaceWidget.lastattackdown
7810724localobjectdefault.datast_oldhealth
7810764localobjectdefault.dataST_updateWidgets.largeammo
7810804localobjecthidden.datasfxVolume
7810844localobjecthidden.datamusicVolume
7810884localobjecthidden.datasnd_channels
7810968localobjecthidden.datafinecosine
781104720localobjectdefault.dataepsd0animinfo
781824648localobjectdefault.dataepsd1animinfo
782472432localobjectdefault.dataepsd2animinfo
78290424localobjecthidden.datastdc_wad_file
7829284localobjecthidden.datavanilla_keyboard_mapping
7829324localobjecthidden.datafb_scaling
7829364localobjecthidden.datamouse_acceleration
7829404localobjecthidden.datamouse_threshold
7829444localobjecthidden.data__default_stacksize
7829484localobjecthidden.data__default_guardsize
7829524localobjecthidden.bssnet_client_connected
7829564localobjecthidden.bssdrone
7829604localobjecthidden.bssautomapactive
7829644localobjectdefault.bssm_x
7829684localobjectdefault.bssold_m_x
7829724localobjectdefault.bssm_y
7829764localobjectdefault.bssold_m_y
7829804localobjectdefault.bssm_w
7829844localobjectdefault.bssold_m_w
7829884localobjectdefault.bssm_h
7829924localobjectdefault.bssold_m_h
78299680localobjectdefault.bssmarkpoints
7830764localobjectdefault.bssmarkpointnum
7830801localobjectdefault.bssstopped
7830844localobjectdefault.bssAM_Responder.bigstate
78308820localobjectdefault.bssAM_Responder.buffer
7831084localobjectdefault.bssscale_ftom
7831124localobjectdefault.bssm_paninc.0
7831164localobjectdefault.bssm_paninc.1
7831204localobjectdefault.bssmtof_zoommul
7831244localobjectdefault.bssftom_zoommul
7831284localobjectdefault.bssf_oldloc.0
7831324localobjectdefault.bssf_oldloc.1
7831368localobjectdefault.bssplr
7831444localobjectdefault.bssgrid
7831484localobjectdefault.bsscheating
7831524localobjectdefault.bssamclock
7831561localobjectdefault.bssf_w
7831601localobjectdefault.bssf_h
7831644localobjectdefault.bssmin_scale_mtof
7831684localobjectdefault.bssmax_scale_mtof
7831724localobjectdefault.bssmin_y
7831764localobjectdefault.bssmin_x
7831804localobjectdefault.bssmax_y
7831844localobjectdefault.bssmax_x
7831884localobjectdefault.bssmax_h
7831928localobjectdefault.bssfb
78320080localobjectdefault.bssmarknums
7832804localobjectdefault.bssm_x2
7832844localobjectdefault.bssm_y2
7832884localobjectdefault.bssAM_drawMline.fl.2
7832924localobjectdefault.bssAM_drawMline.fl.3
7832964localobjectdefault.bssAM_drawFline.fuck
78330016localobjectdefault.bssAM_drawWalls.l
7833208localobjecthidden.bss__stdin_used
7833208localobjectdefault.bssdummy_file
7833284localobjectdefault.bssofl_lock
7833368localobjectdefault.bssofl_head
7833448weakobjectprotected.bssprogram_invocation_short_name
7833448globalobjectprotected.bss__progname
7833528weakobjectprotected.bssprogram_invocation_name
7833528globalobjectprotected.bss__progname_full
783360104localobjecthidden.bss__libc
7834648localobjecthidden.bss__hwcap
7834728localobjectdefault.bssbuf
7834804localobjecthidden.bssgamemission
7834888localobjecthidden.bssgamedescription
7834964localobjecthidden.bssmodifiedgame
7835001280localobjectdefault.bssevents
7847804localobjectdefault.bsseventhead
7847844localobjectdefault.bsseventtail
7847924localobjectdefault.bssnum_iwad_dirs
7848001024localobjectdefault.bssiwad_dirs
785824928localobjecthidden.bss__malloc_context
7867524localobjecthidden.bss__malloc_lock
7867564localobjectdefault.bsslock
7867608localobjectdefault.bss__simple_malloc.brk
7867688localobjectdefault.bss__simple_malloc.cur
7867768localobjectdefault.bss__simple_malloc.end
7867841032localobjectdefault.bssbuf
7878164localobjecthidden.bsssingletics
7878204localobjecthidden.bssticdup
7878244localobjecthidden.bsslasttime
7878284localobjectdefault.bssskiptics
78783220480localobjectdefault.bssticdata
8083124localobjectdefault.bssrecvtic
8083164localobjectdefault.bssplayer_class
8083201localobjectdefault.bssnew_sync
8083244localobjectdefault.bssTryRunTics.oldentertics
8083284localobjecthidden.bssgametic
80833232localobjectdefault.bsslocal_playeringame
8083688localobjectdefault.bssloop_interface
8083764localobjecthidden.bssoffsetms
8083804localobjectdefault.bssmaketic
8083844localobjectdefault.bssframeon
8083884localobjectdefault.bssoldnettics
80839216localobjectdefault.bssframeskip
8084084localobjecthidden.bssmain_loop_started
8084124localobjecthidden.bssstoredemo
8084164localobjectdefault.bssD_Display.viewactivestate
8084204localobjectdefault.bssD_Display.menuactivestate
8084244localobjectdefault.bssD_Display.inhelpscreensstate
8084284localobjectdefault.bssD_Display.fullscreen
8084324localobjectdefault.bssD_Display.borderdrawcount
8084364localobjecthidden.bssadvancedemo
8084404localobjecthidden.bssbfgedition
8084444localobjecthidden.bsspagetic
8084488localobjecthidden.bsspagename
8084564localobjecthidden.bssdemosequence
8084604localobjecthidden.bssnomonsters
8084644localobjecthidden.bssrespawnparm
8084684localobjecthidden.bssfastparm
8084724localobjecthidden.bssdevparm
8084808localobjecthidden.bssiwadfile
8084888localobjecthidden.bsssavegamedir
8084964localobjecthidden.bssstartskill
8085004localobjecthidden.bssstartepisode
8085044localobjecthidden.bssstartmap
8085084localobjecthidden.bssautostart
8085124localobjecthidden.bssstartloadgame
8085161024localobjecthidden.bsswadfile
8095401024localobjecthidden.bssmapdir
810564128localobjecthidden.bsstitle
8106924localobjectdefault.bssexit.exit_lock
8106968localobjecthidden.bssnetcmds
81070480localobjectdefault.bssPlayerQuitGame.exitmsg
8107848localobjecthidden.bssfinaletext
8107928localobjecthidden.bssfinaleflat
8108004localobjecthidden.bssfinalestage
8108044localobjecthidden.bssfinalecount
8108084localobjecthidden.bsscastnum
8108168localobjecthidden.bsscaststate
8108244localobjecthidden.bsscasttics
8108284localobjecthidden.bsscastdeath
8108324localobjecthidden.bsscastframes
8108364localobjecthidden.bsscastonmelee
8108404localobjecthidden.bsscastattacking
8108444localobjectdefault.bssF_BunnyScroll.laststage
8108488localobjectdefault.bsswipe_scr
8108568localobjectdefault.bsswipe_scr_start
8108648localobjectdefault.bsswipe_scr_end
8108728localobjectdefault.bssy
8108801localobjectdefault.bssgo
8108884localobjecthidden.bsstestcontrols
810892512localobjecthidden.bssconsistancy
8114044localobjecthidden.bssconsoleplayer
8114081024localobjectdefault.bssgamekeydown
8124324localobjectdefault.bssjoyxmove
8124364localobjectdefault.bssturnheld
8124404localobjectdefault.bssjoyymove
8124444localobjectdefault.bssjoystrafemove
8124484localobjectdefault.bssdclicks
8124524localobjecthidden.bssgamestate
8124564localobjectdefault.bssnext_weapon
8124604localobjectdefault.bssdclickstate
8124644localobjectdefault.bssdclicktime
8124684localobjectdefault.bssdclickstate2
8124724localobjectdefault.bssdclicktime2
8124764localobjectdefault.bssdclicks2
8124804localobjecthidden.bssmousey
8124844localobjecthidden.bssmousex
8124884localobjecthidden.bsstestcontrols_mousespeed
8124924localobjecthidden.bsssendpause
8124964localobjecthidden.bsssendsave
8125004localobjectdefault.bsssavegameslot
8125044localobjecthidden.bsslowres_turn
8125082localobjectdefault.bssG_BuildTiccmd.carry
8125124localobjecthidden.bssgamemap
8125164localobjecthidden.bsslevelstarttic
81252016localobjecthidden.bssturbodetected
81253616localobjecthidden.bssplayeringame
8125521312localobjecthidden.bssplayers
8138644localobjecthidden.bssgameepisode
8138684localobjecthidden.bssgameskill
8138724localobjecthidden.bssdisplayplayer
8138764localobjecthidden.bssgameaction
8138804localobjecthidden.bsspaused
81388436localobjectdefault.bssmousearray
81392084localobjectdefault.bssjoyarray
8140044localobjecthidden.bsssingledemo
8140084localobjecthidden.bssdeathmatch
8140124localobjecthidden.bssdemoplayback
8140164localobjecthidden.bssdemorecording
81402080localobjectdefault.bssG_Ticker.turbomessage
8141004localobjecthidden.bssnetgame
8141044localobjecthidden.bssnetdemo
81410832localobjectdefault.bsssavedescription
8141404localobjecthidden.bssoldgamestate
8141444localobjecthidden.bssbodyqueslot
814152256localobjecthidden.bssbodyque
8144084localobjecthidden.bsssecretexit
814412200localobjecthidden.bsswminfo
8146124localobjecthidden.bsstotalkills
8146164localobjecthidden.bsstotalitems
8146204localobjecthidden.bsstotalsecret
8146244localobjecthidden.bssviewactive
814628256localobjecthidden.bsssavename
8148844localobjecthidden.bssd_skill
8148884localobjecthidden.bssd_episode
8148924localobjecthidden.bssd_map
8148964localobjecthidden.bssrespawnmonsters
8149004localobjecthidden.bssusergame
8149048localobjecthidden.bssdemo_p
8149124localobjecthidden.bsslongtics
8149208localobjecthidden.bssdemoend
8149288localobjecthidden.bssdemoname
8149368localobjecthidden.bssdemobuffer
8149448localobjecthidden.bssdefdemoname
8149524localobjecthidden.bssstarttime
8149564localobjecthidden.bssnodrawers
8149604localobjecthidden.bsstimingdemo
8149644localobjecthidden.bsstimelimit
81496816localobjectdefault.bssDemoVersionDescription.resultbuf
8149848localobjectdefault.bssdummy
814992504localobjecthidden.bsshu_font
8154961localobjectdefault.bssheadsupactive
8155048localobjectdefault.bssplr
8155124localobjectdefault.bssmessage_on
8155164localobjecthidden.bssmessage_dontfuckwithme
8155204localobjectdefault.bssmessage_nottobefuckedwith
8155244localobjecthidden.bsschat_on
815528472localobjectdefault.bssw_message
816000112localobjectdefault.bssw_title
816112136localobjectdefault.bssw_chat
816248544localobjectdefault.bssw_inputbuffer
8167924localobjectdefault.bssalways_off
8167964localobjectdefault.bssmessage_counter
8168004localobjectdefault.bsschat_dest
8168044localobjectdefault.bsshead
8168084localobjectdefault.bsstail
816812128localobjectdefault.bsschatchars
81694081localobjectdefault.bssHU_Responder.lastmessage
8170244localobjectdefault.bssHU_Responder.altdown
8170284localobjectdefault.bssHU_Responder.num_nobrainers
8170321localobjecthidden.bsschat_char
8170364localobjecthidden.bsscd_Error
8170404localobjectdefault.bssusejoystick
8170444localobjectdefault.bssjoystick_x_axis
8170484localobjectdefault.bssjoystick_x_invert
8170524localobjectdefault.bssjoystick_y_invert
8170564localobjectdefault.bssjoystick_strafe_invert
8170648localobjectdefault.bsssrc_buffer
8170728localobjectdefault.bssdest_buffer
8170804localobjectdefault.bssdest_pitch
8170888localobjectdefault.bssstretch_tables.0
8170968localobjectdefault.bssstretch_tables.1
8171048localobjectdefault.bsshalf_stretch_table
8171124localobjectdefault.bsssnd_sbport
8171164localobjectdefault.bsssnd_sbirq
8171204localobjectdefault.bsssnd_sbdma
8171244localobjectdefault.bsssnd_mport
8171288localobjectdefault.bssexit_funcs
8171361localobjectdefault.bssalready_quitting
8171401localobjectdefault.bssI_GetMemoryValue.firsttime
81714110localobjectdefault.bssmem_dump_custom
8171528localobjectdefault.bsshandler_set
8171601localobjectdefault.bssunmask_done
8171644localobjecthidden.bss__eintr_valid_flag
8171684localobjecthidden.bss__abort_lock
8171768weakobjectprotected.bss___environ
8171768globalobjectprotected.bss__environ
8171768weakobjectprotected.bss_environ
8171768weakobjectprotected.bssenviron
8171844localobjectdefault.bssbasetime
8171924localobjecthidden.bssmyargc
8172008localobjecthidden.bssmyargv
8172088localobjectdefault.bssdefault_main_config
8172168localobjectdefault.bssdefault_extra_config
8172248localobjecthidden.bssconfigdir
8172328localobjectdefault.bssdoom_defaults.2
8172408localobjectdefault.bssextra_defaults.2
8172484localobjectdefault.bssmbrtowc.internal_state
8172524localobjecthidden.bssmousebfire
8172564localobjecthidden.bsskey_prevweapon
8172604localobjecthidden.bsskey_nextweapon
8172644localobjecthidden.bsskey_menu_screenshot
8172684localobjecthidden.bssjoybfire
81727232localobjecthidden.bsskey_multi_msgplayer
8173044localobjecthidden.bssdetailLevel
817308240localobjecthidden.bsssavegamestrings
8175484localobjecthidden.bsssaveStringEnter
8175524localobjecthidden.bsssaveSlot
8175564localobjecthidden.bssquickSaveSlot
81756024localobjecthidden.bsssaveOldString
8175844localobjecthidden.bsssaveCharIndex
81758880localobjecthidden.bsstempstring
8176684localobjecthidden.bssinhelpscreens
8176724localobjecthidden.bssepi
8176764localobjecthidden.bssscreenSize
8176802localobjecthidden.bssitemOn
8176888localobjecthidden.bsscurrentMenu
817696160localobjecthidden.bssendstring
8178564localobjecthidden.bssmenuactive
8178604localobjecthidden.bssmessageLastMenuActive
8178644localobjecthidden.bssmessageToPrint
8178728localobjecthidden.bssmessageString
8178808localobjecthidden.bssmessageRoutine
8178884localobjecthidden.bssmessageNeedsInput
8178924localobjectdefault.bssM_Responder.joywait
8178964localobjectdefault.bssM_Responder.mousewait
8179004localobjectdefault.bssM_Responder.mousey
8179044localobjectdefault.bssM_Responder.lasty
8179084localobjectdefault.bssM_Responder.mousex
8179124localobjectdefault.bssM_Responder.lastx
8179162localobjectdefault.bssM_Drawer.x
8179182localobjectdefault.bssM_Drawer.y
8179202localobjecthidden.bsswhichSkull
8179222localobjecthidden.bssskullAnimCounter
8179244localobjecthidden.bssmessx
8179284localobjecthidden.bssmessy
8179324localobjecthidden.bssmain_e
8179364localobjecthidden.bssepisodes_e
8179404localobjecthidden.bssnewgame_e
8179444localobjecthidden.bssoptions_e
8179484localobjecthidden.bssread_e
8179524localobjecthidden.bssread_e2
8179564localobjecthidden.bsssound_e
8179604localobjecthidden.bssload_e
8179644localobjecthidden.bssrndindex
8179684localobjecthidden.bssprndindex
817976240localobjecthidden.bssactiveceilings
8182168localobjecthidden.bsssoundtarget
8182244localobjecthidden.bssviletryx
8182284localobjecthidden.bssviletryy
8182328localobjecthidden.bsscorpsehit
8182408localobjecthidden.bssvileobj
8182484localobjecthidden.bssbraintargeton
8182524localobjecthidden.bssnumbraintargets
818256256localobjecthidden.bssbraintargets
8185124localobjectdefault.bssA_BrainSpit.easy
8185208localobjecthidden.bsstmthing
8185284localobjecthidden.bsstmx
8185324localobjecthidden.bsstmy
8185364localobjecthidden.bsstmflags
81854016localobjecthidden.bsstmbbox
8185608localobjecthidden.bssceilingline
8185684localobjecthidden.bsstmdropoffz
8185724localobjecthidden.bsstmfloorz
8185764localobjecthidden.bsstmceilingz
8185804localobjecthidden.bssnumspechit
818584160localobjecthidden.bssspechit
8187444localobjecthidden.bssfloatok
8187484localobjecthidden.bsstmymove
8187524localobjecthidden.bsstmxmove
8187608localobjecthidden.bssslidemo
8187684localobjecthidden.bssbestslidefrac
8187724localobjecthidden.bsssecondslidefrac
8187768localobjecthidden.bssbestslideline
8187848localobjecthidden.bsssecondslideline
8187924localobjecthidden.bssattackrange
8187964localobjecthidden.bssshootz
8188008localobjecthidden.bssshootthing
8188084localobjecthidden.bssaimslope
8188168localobjecthidden.bsslinetarget
8188244localobjecthidden.bssla_damage
8188328localobjecthidden.bssusething
8188408localobjecthidden.bssbombspot
8188484localobjecthidden.bssbombdamage
8188568localobjecthidden.bssbombsource
8188644localobjecthidden.bssnofit
8188684localobjecthidden.bsscrushchange
8188724localobjectdefault.bssSpechitOverrun.baseaddr
8188804localobjecthidden.bssopenrange
8188844localobjecthidden.bssopentop
8188884localobjecthidden.bssopenbottom
8188924localobjecthidden.bsslowfloor
81889616localobjecthidden.bsstrace
8189124localobjecthidden.bssearlyout
8189208localobjecthidden.bssintercept_p
8189283024localobjecthidden.bssintercepts
8219524localobjecthidden.bssptflags
8219601280localobjecthidden.bssitemrespawnque
8232404localobjecthidden.bssiquehead
823244512localobjecthidden.bssitemrespawntime
8237564localobjecthidden.bssiquetail
823760224localobjectdefault.bssP_SubstNullMobj.dummy_mobj
8239844localobjecthidden.bsstest
823992240localobjecthidden.bssactiveplats
8242324localobjecthidden.bssswingx
8242364localobjecthidden.bssswingy
8242404localobjecthidden.bssbulletslope
8242488localobjectdefault.bssP_TempSaveGameFile.filename
8242568localobjectdefault.bssP_SaveGameFile.filename
8242648localobjectdefault.bssP_SaveGameFile.filename_size
8242728localobjecthidden.bsssave_stream
8242804localobjecthidden.bsssavegamelength
8242844localobjecthidden.bsssavegame_error
8242884localobjecthidden.bssspecials_e
8242964localobjecthidden.bssnumvertexes
8243048localobjecthidden.bssvertexes
8243121localobjectdefault.bssGetSectorAtNullAddress.null_sector_is_initialized
824320128localobjectdefault.bssGetSectorAtNullAddress.null_sector
8244484localobjecthidden.bssnumsegs
8244568localobjecthidden.bsssegs
8244648localobjecthidden.bsslines
8244728localobjecthidden.bsssides
8244804localobjecthidden.bssnumsides
8244844localobjecthidden.bssnumsubsectors
8244888localobjecthidden.bsssubsectors
8244964localobjecthidden.bssnumsectors
8245048localobjecthidden.bsssectors
8245124localobjecthidden.bssnumnodes
8245208localobjecthidden.bssnodes
8245284localobjecthidden.bssnumlines
8245368localobjecthidden.bssblockmaplump
8245448localobjecthidden.bssblockmap
8245524localobjecthidden.bssbmaporgx
8245564localobjecthidden.bssbmaporgy
8245604localobjecthidden.bssbmapwidth
8245644localobjecthidden.bssbmapheight
8245688localobjecthidden.bssblocklinks
8245764localobjectdefault.bsstotallines
824580100localobjecthidden.bssdeathmatchstarts
8246808localobjecthidden.bssdeathmatch_p
8246888localobjecthidden.bssrejectmatrix
82469640localobjecthidden.bssplayerstarts
82473616localobjecthidden.bssstrace
8247524localobjecthidden.bsst2x
8247564localobjecthidden.bsst2y
8247604localobjecthidden.bsssightzstart
8247644localobjecthidden.bssbottomslope
8247684localobjecthidden.bsstopslope
8247728localobjecthidden.bsssightcounts
824784640localobjecthidden.bssanims
8254248localobjecthidden.bsslastanim
8254324localobjecthidden.bsslevelTimer
8254364localobjecthidden.bsslevelTimeCount
8254402localobjecthidden.bssnumlinespecials
825448512localobjecthidden.bsslinespeciallist
8259601localobjectdefault.bssDonutOverrun.first
8259644localobjectdefault.bssDonutOverrun.tmp_s3_floorheight
8259684localobjectdefault.bssDonutOverrun.tmp_s3_floorpic
8259764localobjecthidden.bssnumswitches
825980400localobjecthidden.bssswitchlist
826384512localobjecthidden.bssbuttonlist
82689624localobjecthidden.bssthinkercap
8269204localobjecthidden.bssleveltime
8269244localobjecthidden.bssonground
82692816384localobjecthidden.bssdrawsegs
8433128localobjecthidden.bssds_p
843320256localobjecthidden.bsssolidsegs
8435768localobjecthidden.bssnewend
8435848localobjecthidden.bsscurline
8435928localobjecthidden.bssbacksector
8436008localobjecthidden.bssfrontsector
8436088localobjecthidden.bsssidedef
8436168localobjecthidden.bsslinedef
8436248localobjecthidden.bsstextures
8436328localobjecthidden.bsstexturecompositesize
8436408localobjecthidden.bsstexturecomposite
8436488localobjecthidden.bsstexturecolumnlump
8436568localobjecthidden.bsstexturecolumnofs
8436648localobjecthidden.bsstexturewidthmask
8436724localobjecthidden.bssnumtextures
8436808localobjecthidden.bsstextureheight
8436888localobjecthidden.bsstexturetranslation
8436964localobjecthidden.bssfirstflat
8437004localobjecthidden.bsslastflat
8437044localobjecthidden.bssnumflats
8437128localobjecthidden.bssflattranslation
8437204localobjecthidden.bssfirstspritelump
8437244localobjecthidden.bsslastspritelump
8437284localobjecthidden.bssnumspritelumps
8437368localobjecthidden.bssspritewidth
8437448localobjecthidden.bssspriteoffset
8437528localobjecthidden.bssspritetopoffset
8437608localobjecthidden.bsscolormaps
8437688localobjecthidden.bsstextures_hashtable
8437764localobjecthidden.bssflatmemory
8437804localobjecthidden.bsstexturememory
8437844localobjecthidden.bssspritememory
8437884localobjecthidden.bssfirstpatch
8437924localobjecthidden.bsslastpatch
8437964localobjecthidden.bssnumpatches
8438004localobjecthidden.bssdc_yh
8438044localobjecthidden.bssdc_yl
8438084localobjecthidden.bssdc_x
8438166656localobjecthidden.bssylookup
8504724480localobjecthidden.bsscolumnofs
8549524localobjecthidden.bssdc_iscale
8549564localobjecthidden.bssdc_texturemid
8549608localobjecthidden.bssdc_colormap
8549688localobjecthidden.bssdc_source
8549764localobjecthidden.bssfuzzpos
8549804localobjecthidden.bssviewheight
8549848localobjecthidden.bssdc_translation
8549928localobjecthidden.bsstranslationtables
8550004localobjecthidden.bssds_x2
8550044localobjecthidden.bssds_x1
8550084localobjecthidden.bssds_y
8550124localobjecthidden.bssds_xfrac
8550164localobjecthidden.bssds_yfrac
8550204localobjecthidden.bssds_xstep
8550244localobjecthidden.bssds_ystep
8550328localobjecthidden.bssds_colormap
8550408localobjecthidden.bssds_source
8550484localobjecthidden.bssviewwindowx
8550524localobjecthidden.bssviewwindowy
8550564localobjecthidden.bssscaledviewwidth
8550648localobjectdefault.bssbackground_buffer
8550728localobjecthidden.bssviewimage
8550804localobjecthidden.bssviewwidth
855084768localobjecthidden.bsstranslations
8558524localobjecthidden.bssdccount
8558564localobjecthidden.bssdscount
8558644localobjecthidden.bssviewx
8558684localobjecthidden.bssviewy
8558724localobjecthidden.bssviewangle
8558764localobjecthidden.bssprojection
8558804localobjecthidden.bssdetailshift
8558844localobjecthidden.bsscenterxfrac
85588816384localobjecthidden.bssviewangletox
8722721284localobjecthidden.bssxtoviewangle
8735564localobjecthidden.bsscenterx
8735604localobjecthidden.bssclipangle
87356816384localobjecthidden.bsszlight
8899524localobjecthidden.bsssetsizeneeded
8899564localobjecthidden.bsssetblocks
8899604localobjecthidden.bsssetdetail
8899644localobjecthidden.bsscentery
8899684localobjecthidden.bsscenteryfrac
8899768localobjecthidden.bssbasecolfunc
8899848localobjecthidden.bsscolfunc
8899928localobjecthidden.bssfuzzcolfunc
8900008localobjecthidden.bsstranscolfunc
8900088localobjecthidden.bssspanfunc
8900166144localobjecthidden.bssscalelight
8961604localobjecthidden.bssframecount
8961688localobjecthidden.bssviewplayer
8961764localobjecthidden.bssviewangleoffset
8961804localobjecthidden.bssextralight
8961844localobjecthidden.bssviewz
8961884localobjecthidden.bssviewsin
8961924localobjecthidden.bssviewcos
8961964localobjecthidden.bsssscount
8962008localobjecthidden.bssfixedcolormap
896208384localobjecthidden.bssscalelightfixed
8965924localobjecthidden.bsslinecount
8965964localobjecthidden.bssloopcount
8966004localobjecthidden.bssplaneheight
896604800localobjecthidden.bsscachedheight
897404800localobjecthidden.bssyslope
898204800localobjecthidden.bsscacheddistance
8990044localobjecthidden.bssbasexscale
899008800localobjecthidden.bsscachedxstep
8998084localobjecthidden.bssbaseyscale
899812800localobjecthidden.bsscachedystep
9006121280localobjecthidden.bssdistscale
9018968localobjecthidden.bssplanezlight
901904640localobjecthidden.bssfloorclip
902544640localobjecthidden.bssceilingclip
90318484992localobjecthidden.bssvisplanes
9881768localobjecthidden.bsslastvisplane
98818440960localobjecthidden.bssopenings
10291448localobjecthidden.bsslastopening
10291528localobjecthidden.bssfloorfunc
10291608localobjecthidden.bssceilingfunc
10291688localobjecthidden.bssfloorplane
10291768localobjecthidden.bssceilingplane
1029184800localobjecthidden.bssspanstart
1029984800localobjecthidden.bssspanstop
10307848localobjecthidden.bsswalllights
10307928localobjecthidden.bssmaskedtexturecol
10308004localobjecthidden.bssrw_scalestep
10308044localobjecthidden.bssrw_x
10308084localobjecthidden.bssrw_stopx
10308124localobjecthidden.bsstopfrac
10308164localobjecthidden.bssmarkceiling
10308204localobjecthidden.bssbottomfrac
10308244localobjecthidden.bssmarkfloor
10308284localobjecthidden.bsssegtextured
10308324localobjecthidden.bssrw_centerangle
10308364localobjecthidden.bssrw_offset
10308404localobjecthidden.bssrw_distance
10308444localobjecthidden.bssrw_scale
10308484localobjecthidden.bssmidtexture
10308524localobjecthidden.bssrw_midtexturemid
10308564localobjecthidden.bsstoptexture
10308604localobjecthidden.bsspixhigh
10308644localobjecthidden.bsspixhighstep
10308684localobjecthidden.bssrw_toptexturemid
10308724localobjecthidden.bssbottomtexture
10308764localobjecthidden.bsspixlow
10308804localobjecthidden.bsspixlowstep
10308844localobjecthidden.bssrw_bottomtexturemid
10308884localobjecthidden.bssmaskedtexture
10308924localobjecthidden.bsstopstep
10308964localobjecthidden.bssbottomstep
10309004localobjecthidden.bssrw_normalangle
10309044localobjecthidden.bssrw_angle1
10309084localobjecthidden.bssworldtop
10309124localobjecthidden.bssworldbottom
10309164localobjecthidden.bssworldhigh
10309204localobjecthidden.bssworldlow
10309244localobjecthidden.bssskytexturemid
10309284localobjecthidden.bssskyflatnum
10309324localobjecthidden.bssskytexture
10309364localobjecthidden.bssmaxframe
1030940812localobjecthidden.bsssprtemp
10317528localobjecthidden.bssspritename
10317604localobjecthidden.bssnumsprites
10317688localobjecthidden.bsssprites
1031776640localobjecthidden.bssnegonearray
103241610240localobjecthidden.bssvissprites
10426568localobjecthidden.bssvissprite_p
104266480localobjecthidden.bssoverflowsprite
10427444localobjecthidden.bsssprtopscreen
10427484localobjecthidden.bssspryscale
10427528localobjecthidden.bssmfloorclip
10427608localobjecthidden.bssmceilingclip
10427688localobjecthidden.bssspritelights
10427764localobjecthidden.bsspspritescale
10427804localobjecthidden.bsspspriteiscale
1042784640localobjecthidden.bssscreenheightarray
104342480localobjecthidden.bssvsprsortedhead
1043504640localobjectdefault.bsscliptop
1044144640localobjectdefault.bssclipbot
10447844localobjecthidden.bssnewvissprite
10447884localobjectdefault.bssnum_captured_stats
10447928localobjecthidden.bsssttminus
10448004localobjectdefault.bssst_statusbaron
10448088localobjecthidden.bssst_backing_screen
10448168localobjectdefault.bsssbar
10448248localobjectdefault.bssfaceback
10448324localobjectdefault.bssst_firsttime
10448408localobjectdefault.bssplyr
104484852localobjectdefault.bssST_Responder.buf
10449004localobjectdefault.bssST_calcPainOffset.lastcalc
10449044localobjectdefault.bssST_updateFaceWidget.priority
10449084localobjectdefault.bssst_faceindex
10449124localobjectdefault.bssst_facecount
104491636localobjectdefault.bssoldweaponsowned
10449524localobjectdefault.bssst_randomnumber
104496048localobjectdefault.bssw_ready
104500812localobjectdefault.bsskeyboxes
10450204localobjectdefault.bssst_notdeathmatch
10450244localobjectdefault.bssst_armson
10450284localobjectdefault.bssst_fragson
10450324localobjectdefault.bssst_fragscount
10450364localobjectdefault.bssst_msgcounter
10450404localobjectdefault.bssst_clock
10450444localobjectdefault.bssst_palette
10450484localobjectdefault.bsslu_palette
1045056192localobjectdefault.bssw_ammo
1045248192localobjectdefault.bssw_maxammo
104544056localobjectdefault.bssw_health
104549656localobjectdefault.bssw_armor
104555248localobjectdefault.bssw_armsbg
1045600288localobjectdefault.bssw_arms
104588848localobjectdefault.bssw_faces
1045936144localobjectdefault.bssw_keyboxes
104608048localobjectdefault.bssw_frags
104612880localobjectdefault.bsstallnum
10462088localobjectdefault.bsstallpercent
10462168localobjectdefault.bssarmsbg
104622496localobjectdefault.bssarms
1046320336localobjectdefault.bssfaces
104665648localobjectdefault.bsskeys
104670480localobjectdefault.bssshortnum
10467841localobjectdefault.bssst_stopped
10467928localobjectdefault.bsschannels
10468001localobjectdefault.bssmus_paused
10468044localobjectdefault.bsssnd_SfxVolume
10468088localobjectdefault.bssmus_playing
10468168localobjecthidden.bsstinttable
10468248localobjecthidden.bssxlatab
10468328localobjectdefault.bssdest_screen
104684016localobjecthidden.bssdirtybox
10468568localobjectdefault.bsspatchclip_callback
10468648localobjectdefault.bssbackground
10468728localobjectdefault.bsswbs
10468801localobjectdefault.bssNUMCMAPS
10468888localobjectdefault.bsslnames
10468968localobjectdefault.bssfinished
10469048localobjectdefault.bssentering
10469124localobjectdefault.bssbcnt
10469164localobjectdefault.bssstate
104692080localobjectdefault.bssnum
10470008localobjectdefault.bsswiminus
10470088localobjectdefault.bsspercent
10470168localobjectdefault.bsscolon
10470248localobjectdefault.bsssucks
10470321localobjectdefault.bssacceleratestage
10470364localobjectdefault.bsscnt
10470404localobjectdefault.bsssnl_pointeron
104704816localobjectdefault.bsssplat
104706424localobjectdefault.bssyah
10470888localobjectdefault.bssplrs
10470964localobjectdefault.bssdm_state
10471004localobjectdefault.bsscnt_pause
104710464localobjectdefault.bssdm_frags
104716816localobjectdefault.bssdm_totals
10471848localobjectdefault.bsstotal
10471928localobjectdefault.bsskillers
10472008localobjectdefault.bssvictims
104720832localobjectdefault.bssp
10472404localobjectdefault.bssme
10472488localobjectdefault.bssbstar
10472568localobjectdefault.bssstar
10472644localobjectdefault.bssng_state
104726816localobjectdefault.bsscnt_frags
104728416localobjectdefault.bsscnt_secret
104730016localobjectdefault.bsscnt_items
104731616localobjectdefault.bsscnt_kills
10473324localobjectdefault.bssdofrags
10473368localobjectdefault.bsskills
10473448localobjectdefault.bssitems
10473528localobjectdefault.bsssecret
10473608localobjectdefault.bssfrags
10473684localobjectdefault.bsssp_state
10473724localobjectdefault.bsscnt_par
10473764localobjectdefault.bsscnt_time
10473848localobjectdefault.bsssp_secret
10473928localobjectdefault.bsstimepatch
10474008localobjectdefault.bsspar
104740832localobjectdefault.bssbp
10474404localobjectdefault.bssnum_open_wadfiles
10474488localobjectdefault.bssopen_wadfiles
10474564localobjecthidden.bssnumlumps
10474648localobjecthidden.bsslumpinfo
10474728localobjectdefault.bsslumphash
10474804localobjecthidden.bss__malloc_replaced
10474844localobjecthidden.bss__aligned_alloc_replaced
10474888localobjecthidden.bssmainzone
10474964localobjectdefault.bssshiftdown
10475044localobjecthidden.bssusemouse
10475128localobjecthidden.bssI_VideoBuffer
10475204localobjecthidden.bssscreensaver_mode
10475244localobjecthidden.bssusegamma
104752852localobjectdefault.bsss_Fb
10475804localobjecthidden.bssscreenvisible
10475841024localobjecthidden.bsscolors
10486084localobjecthidden.bsspalette_changed
10486168localobjecthidden.bssDG_ScreenBuffer
10486248localobjecthidden.bss__sysinfo
10486324localobjecthidden.bss__thread_list_lock
104864048localobjectdefault.bssmain_tls
1048688336localobjectdefault.bssbuiltin_tls

SECTION: 15 name=.shstrtab

SECTION: 16 name=.strtab

second pass, disassemble with known names

SECTION: 6 name=.text

;I_InitTimidityConfig
	alloc 1
	retf 0
	nop 0
;AM_getIslope
	alloc 13
	ldwz %r4,%r1,4
	ldwz %r9,%r1,12
;AM_getIslope+16
	ldwz %r5,%r1,8
	ldwz %r6,%r1,0
	subws %r1,%r4,%r9
;AM_getIslope+32
	subws %r3,%r5,%r6
	ldi.l %r7,2147483647
;AM_getIslope+48
	ldi.l %r8,-2147483647
	bwne %r4,%r9,AM_getIslope+112
;AM_getIslope+64
	cmovwlt %r11,%r3,%r8,%r7
	stw %r11,%r2,4
	bweq %r5,%r6,AM_getIslope+144
;AM_getIslope+80
	mov2 %r11,%r12,%r1,%r3
	callr %r10,FixedDiv
	stw %r11,%r2,0
;AM_getIslope+96
	retf 0
	nop 0
	nop 0
;AM_getIslope+112
	mov2 %r11,%r12,%r3,%r1
	callr %r10,FixedDiv
	stw %r11,%r2,4
;AM_getIslope+128
	bwne %r5,%r6,AM_getIslope+80
	nop 0
	nop 0
;AM_getIslope+144
	cmovwlt %r11,%r1,%r8,%r7
	stw %r11,%r2,0
	retf 0
;AM_saveScaleAndLoc
	alloc 5
	ldwzr %r1,m_x
	ldwzr %r2,m_y
;AM_saveScaleAndLoc+16
	ldwzr %r3,m_w
	ldwzr %r4,m_h
	stwr %r1,old_m_x
;AM_saveScaleAndLoc+32
	stwr %r2,old_m_y
	stwr %r3,old_m_w
	stwr %r4,old_m_h
;AM_saveScaleAndLoc+48
	retf 0
	nop 0
	nop 0
;AM_addMark
	alloc 5
	ldwzr %r1,m_w
	ldwzr %r2,m_x
;AM_addMark+16
	srliw %r3,%r1,31
	addws %r1,%r1,%r3
	ldwzr %r3,markpointnum
;AM_addMark+32
	sraiw %r1,%r1,1
	ldwzr %r4,m_h
	addws %r1,%r1,%r2
;AM_addMark+48
	ldafr %r2,markpoints
	stwx.xuw %r1,%r2,%r3,3,0
	ldwzr %r1,m_y
;AM_addMark+64
	srliw %r2,%r4,31
	addws %r2,%r4,%r2
	sraiw %r2,%r2,1
;AM_addMark+80
	addws %r1,%r2,%r1
	ldafr %r2,markpoints+4
	stwx.xuw %r1,%r2,%r3,3,0
;AM_addMark+96
	addiws %r1,%r3,1
	addiwz %r2,%r3,1
	nop 2
;AM_addMark+112
	muli.l %r2,%r2,3435973837
	srli %r2,%r2,35
;AM_addMark+128
	mulwsi %r2,%r2,10
	subws %r1,%r1,%r2
	stwr %r1,markpointnum
;AM_addMark+144
	retf 0
	nop 0
	nop 0
;AM_Stop
	allocsp 10,32
	mov %r4,%gz
	ldafr %r1,.rodata+2941
;AM_Stop+16
	addi %r2,%sp,23
	ldi %r3,9
	nop 0
;AM_Stop+32
	mov %r5,%r4
	stw %r4,%sp,0
	mov2 %r7,%r8,%r2,%r3
;AM_Stop+48
	mov %r9,%r1
	callr %r6,snprintf
	mov %r9,%r2
;AM_Stop+64
	callr %r8,W_ReleaseLumpName
	addiws %r4,%r4,1
	bwltui %r5,9,AM_Stop+32
;AM_Stop+80
	stwr %gz,automapactive
	ldafr %r9,AM_Stop.st_notify
	callr %r8,ST_Responder
;AM_Stop+96
	stbr %gz,stopped
	retf 32
	nop 0
;AM_Responder
	allocsp 21,32
	ldwzr %r3,automapactive
	ldwz %r2,%r1,0
;AM_Responder+16
	bweq %r3,%gz,AM_Responder+80
	bweqi %r2,1,AM_Responder+96
	bwne %r2,%gz,AM_Responder+1536
;AM_Responder+32
	ldwz %r2,%r1,4
	ldwzr %r3,key_map_east
	bwne %r2,%r3,AM_Responder+240
;AM_Responder+48
	ldwzr %r2,followplayer
	bwne %r2,%gz,AM_Responder+768
	ldwzr %r2,scale_ftom
;AM_Responder+64
	slliw %r2,%r2,2
	stwr %r2,m_paninc.0
	jmp AM_Responder+1664
;AM_Responder+80
	bweq %r2,%gz,AM_Responder+144
	mov %r1,%gz
	retf 32
;AM_Responder+96
	ldwz %r1,%r1,4
	ldwzr %r2,key_map_east
	bwne %r1,%r2,AM_Responder+288
;AM_Responder+112
	ldwzr %r1,followplayer
	bweq %r1,%gz,AM_Responder+320
	mov %r1,%gz
;AM_Responder+128
	retf 32
	nop 0
	nop 0
;AM_Responder+144
	ldwz %r1,%r1,4
	ldwzr %r2,key_map_toggle
	bwne %r1,%r2,AM_Responder+1536
;AM_Responder+160
	ldbzr %r1,stopped
	bbci %r1,0,AM_Responder+176
	callr %r20,AM_Stop
;AM_Responder+176
	ldwzr %r1,AM_Start.lastlevel
	ldwzr %r2,gamemap
	ldi %r6,1
;AM_Responder+192
	stbr %r6,stopped
	ldi %r5,20971520
	ldi %r4,11010048
;AM_Responder+208
	bwne %r1,%r2,AM_Responder+336
	ldwzr %r1,AM_Start.lastepisode
	ldwzr %r2,gameepisode
;AM_Responder+224
	bwne %r1,%r2,AM_Responder+336
	ldwzr %r19,scale_ftom
	jmp AM_Responder+1040
;AM_Responder+240
	ldwzr %r3,key_map_west
	bwne %r2,%r3,AM_Responder+640
	ldwzr %r2,followplayer
;AM_Responder+256
	bwne %r2,%gz,AM_Responder+768
	ldwzr %r2,scale_ftom
	slsubws %r2,%gz,%r2,2
;AM_Responder+272
	stwr %r2,m_paninc.0
	jmp AM_Responder+1664
	nop 0
;AM_Responder+288
	ldwzr %r2,key_map_west
	bwne %r1,%r2,AM_Responder+688
	ldwzr %r1,followplayer
;AM_Responder+304
	bwne %r1,%gz,AM_Responder+1536
	nop 0
	nop 0
;AM_Responder+320
	stwr %gz,m_paninc.0
	mov %r1,%gz
	retf 32
;AM_Responder+336
	mov %r1,%gz
	stbr %r6,f_w
	stbr %r6,f_h
;AM_Responder+352
	ldafr %r2,markpoints
	ldi %r3,-1
	nop 0
;AM_Responder+368
	stwx.xd %r3,%r1,%r2,0,0
	addi %r1,%r1,8
	bdnei %r1,80,AM_Responder+368
;AM_Responder+384
	stwr %gz,markpointnum
	ldi.l %r1,2147483647
;AM_Responder+400
	ldwzr %r2,numvertexes
	stwr %r1,min_y
	stwr %r1,min_x
;AM_Responder+416
	ldi.l %r3,-2147483647
	stwr %r3,max_y
;AM_Responder+432
	stwr %r3,max_x
	bwlti %r2,1,AM_Responder+848
	lddzr %r7,vertexes
;AM_Responder+448
	srliw %r2,%r2,0
	addi %r7,%r7,4
	ldafr %r8,min_x
;AM_Responder+464
	ldafr %r9,min_y
	ldafr %r10,max_y
	ldafr %r11,max_x
;AM_Responder+480
	mov2 %r12,%r13,%r1,%r3
	jmp AM_Responder+544
	nop 0
;AM_Responder+496
	mov2 %r15,%r16,%r9,%r13
	mov %r12,%r14
	nop 0
;AM_Responder+512
	stw %r14,%r15,0
	mov %r13,%r16
	nop 0
;AM_Responder+528
	addi %r2,%r2,-1
	addi %r7,%r7,8
	bdeq %r2,%gz,AM_Responder+720
;AM_Responder+544
	ldwz %r14,%r7,-4
	bwle %r1,%r14,AM_Responder+576
	mov2 %r15,%r16,%r8,%r3
;AM_Responder+560
	mov %r1,%r14
	jmp AM_Responder+592
	nop 0
;AM_Responder+576
	mov2 %r15,%r16,%r11,%r14
	bwle %r14,%r3,AM_Responder+608
	nop 0
;AM_Responder+592
	stw %r14,%r15,0
	mov %r3,%r16
	nop 0
;AM_Responder+608
	ldwz %r14,%r7,0
	bwlt %r14,%r12,AM_Responder+496
	mov2 %r15,%r16,%r10,%r14
;AM_Responder+624
	bwlt %r13,%r14,AM_Responder+512
	jmp AM_Responder+528
	nop 0
;AM_Responder+640
	ldwzr %r3,key_map_north
	bwne %r2,%r3,AM_Responder+736
	ldwzr %r2,followplayer
;AM_Responder+656
	bwne %r2,%gz,AM_Responder+768
	ldwzr %r2,scale_ftom
	slliw %r2,%r2,2
;AM_Responder+672
	jmp AM_Responder+1648
	nop 0
	nop 0
;AM_Responder+688
	ldwzr %r2,key_map_north
	bwne %r1,%r2,AM_Responder+800
	ldwzr %r1,followplayer
;AM_Responder+704
	bwne %r1,%gz,AM_Responder+1536
	jmp AM_Responder+832
	nop 0
;AM_Responder+720
	subws %r20,%r3,%r1
	subws %r1,%r13,%r12
	jmp AM_Responder+864
;AM_Responder+736
	ldwzr %r3,key_map_south
	bwne %r2,%r3,AM_Responder+1472
	ldwzr %r2,followplayer
;AM_Responder+752
	bweq %r2,%gz,AM_Responder+1632
	nop 0
	nop 0
;AM_Responder+768
	mov %r2,%gz
	ldwzr %r3,deathmatch
	bwne %r3,%gz,AM_Responder+1808
;AM_Responder+784
	jmp AM_Responder+1680
	nop 0
	nop 0
;AM_Responder+800
	ldwzr %r2,key_map_south
	bwne %r1,%r2,AM_Responder+1504
	ldwzr %r1,followplayer
;AM_Responder+816
	bwne %r1,%gz,AM_Responder+1536
	nop 0
	nop 0
;AM_Responder+832
	stwr %gz,m_paninc.1
	mov %r1,%gz
	retf 32
;AM_Responder+848
	ldi %r20,2
	mov %r1,%r20
	nop 0
;AM_Responder+864
	stwr %r1,max_h
	ldi %r19,20971520
	callr %r18,FixedDiv
;AM_Responder+880
	mov %r1,%r19
	ldwzr %r20,max_h
	ldi %r2,11010048
;AM_Responder+896
	mov %r19,%r2
	callr %r18,FixedDiv
	minsw %r1,%r1,%r19
;AM_Responder+912
	stwr %r1,min_scale_mtof
	ldi %r20,2097152
	mov %r19,%r2
;AM_Responder+928
	callr %r18,FixedDiv
	stwr %r19,max_scale_mtof
	ldwzr %r19,min_scale_mtof
;AM_Responder+944
	ldi %r20,45875
	callr %r18,FixedDiv
	ldwzr %r1,max_scale_mtof
;AM_Responder+960
	mov %r20,%r19
	stwr %r19,scale_mtof
	bwle %r19,%r1,AM_Responder+992
;AM_Responder+976
	ldwzr %r20,min_scale_mtof
	stwr %r20,scale_mtof
	nop 0
;AM_Responder+992
	ldi %r19,65536
	callr %r18,FixedDiv
	ldwzr %r1,gamemap
;AM_Responder+1008
	ldwzr %r2,gameepisode
	stwr %r19,scale_ftom
	stwr %r1,AM_Start.lastlevel
;AM_Responder+1024
	stwr %r2,AM_Start.lastepisode
	nop 0
	nop 0
;AM_Responder+1040
	lddzr %r1,I_VideoBuffer
	stwr %r6,automapactive
	stdr %r1,fb
;AM_Responder+1056
	ldi.l %r1,2147483647
	stwr %r1,f_oldloc.0
;AM_Responder+1072
	stwr %gz,amclock
	ldbzr %r1,f_w
	stwr %gz,m_paninc.1
;AM_Responder+1088
	stwr %gz,m_paninc.0
	ldi %r2,65536
	stwr %r2,ftom_zoommul
;AM_Responder+1104
	stwr %r2,mtof_zoommul
	cmovlsb %r1,%r1,%r5,%gz
	sraiw %r3,%r19,0
;AM_Responder+1120
	ldwsr %r5,consoleplayer
	ldbzr %r7,f_h
	mul %r1,%r1,%r3
;AM_Responder+1136
	srli %r2,%r1,16
	ldafr %r6,playeringame
	ldwzx.xd %r8,%r6,%r5,2,0
;AM_Responder+1152
	stwr %r2,m_w
	cmovlsb %r1,%r7,%r4,%gz
	mul %r1,%r1,%r3
;AM_Responder+1168
	srli %r3,%r1,16
	stwr %r3,m_h
	ldafr %r1,players
;AM_Responder+1184
	bweq %r8,%gz,AM_Responder+1424
	nop 0
	nop 0
;AM_Responder+1200
	ldi %r4,328
	muladd %r1,%r5,%r4,%r1
	stdr %r1,plr
;AM_Responder+1216
	lddz %r1,%r1,0
	ldwz %r4,%r1,24
	sraiw %r5,%r2,1
;AM_Responder+1232
	subws %r4,%r4,%r5
	stwr %r4,m_x
	ldwz %r1,%r1,28
;AM_Responder+1248
	sraiw %r4,%r3,1
	subws %r1,%r1,%r4
	stwr %r1,m_y
;AM_Responder+1264
	callr %r20,AM_changeWindowLoc
	ldwzr %r1,m_x
	ldwzr %r4,m_y
;AM_Responder+1280
	stwr %r1,old_m_x
	stwr %r4,old_m_y
	stwr %r2,old_m_w
;AM_Responder+1296
	stwr %r3,old_m_h
	ldafr %r20,AM_initVariables.st_notify
	callr %r19,ST_Responder
;AM_Responder+1312
	mov %r6,%gz
	ldafr %r7,marknums
	ldafr %r1,.rodata+2941
;AM_Responder+1328
	addi %r3,%sp,23
	ldi %r4,9
	ldi %r2,1
;AM_Responder+1344
	stw %r6,%sp,0
	mov2 %r18,%r19,%r3,%r4
	mov %r20,%r1
;AM_Responder+1360
	callr %r17,snprintf
	mov2 %r19,%r20,%r3,%r2
	callr %r18,W_CacheLumpName
;AM_Responder+1376
	std %r19,%r7,0
	addi %r6,%r6,1
	addi %r7,%r7,8
;AM_Responder+1392
	bdnei %r6,10,AM_Responder+1344
	stwr %gz,viewactive
	mov %r1,%r2
;AM_Responder+1408
	retf 32
	nop 0
	nop 0
;AM_Responder+1424
	mov %r5,%gz
	stdr %r1,plr
	nop 0
;AM_Responder+1440
	ldwz %r4,%r6,0
	bwne %r4,%gz,AM_Responder+1200
	addi %r5,%r5,1
;AM_Responder+1456
	addi %r6,%r6,4
	bdnei %r5,4,AM_Responder+1440
	jmp AM_Responder+1216
;AM_Responder+1472
	ldwzr %r3,key_map_zoomout
	bwne %r2,%r3,AM_Responder+1552
	ldi %r2,64250
;AM_Responder+1488
	stwr %r2,mtof_zoommul
	ldi %r2,66846
	jmp AM_Responder+1584
;AM_Responder+1504
	ldwzr %r2,key_map_zoomout
	bweq %r1,%r2,AM_Responder+1600
	ldwzr %r2,key_map_zoomin
;AM_Responder+1520
	bweq %r1,%r2,AM_Responder+1600
	nop 0
	nop 0
;AM_Responder+1536
	mov %r1,%gz
	retf 32
	nop 0
;AM_Responder+1552
	ldwzr %r3,key_map_zoomin
	bwne %r2,%r3,AM_Responder+1760
	ldi %r2,66846
;AM_Responder+1568
	stwr %r2,mtof_zoommul
	ldi %r2,64250
	nop 0
;AM_Responder+1584
	stwr %r2,ftom_zoommul
	jmp AM_Responder+1664
	nop 0
;AM_Responder+1600
	mov %r2,%gz
	ldi %r1,65536
	stwr %r1,mtof_zoommul
;AM_Responder+1616
	stwr %r1,ftom_zoommul
	mov %r1,%r2
	retf 32
;AM_Responder+1632
	ldwzr %r2,scale_ftom
	slsubws %r2,%gz,%r2,2
	nop 0
;AM_Responder+1648
	stwr %r2,m_paninc.1
	nop 0
	nop 0
;AM_Responder+1664
	ldi %r2,1
	ldwzr %r3,deathmatch
	bwne %r3,%gz,AM_Responder+1808
;AM_Responder+1680
	ldbs %r20,%r1,8
	ldafr %r19,cheat_amap
	callr %r18,cht_CheckCheat
;AM_Responder+1696
	bweq %r19,%gz,AM_Responder+1808
	ldwzr %r1,cheating
	addiws %r3,%r1,1
;AM_Responder+1712
	addiwz %r1,%r1,1
	muli.l %r1,%r1,2863311531
;AM_Responder+1728
	srli %r1,%r1,33
	mulwsi %r1,%r1,3
	subws %r1,%r3,%r1
;AM_Responder+1744
	stwr %r1,cheating
	mov %r1,%gz
	retf 32
;AM_Responder+1760
	ldwzr %r3,key_map_toggle
	bwne %r2,%r3,AM_Responder+1824
	stwr %gz,AM_Responder.bigstate
;AM_Responder+1776
	ldi %r2,1
	stwr %r2,viewactive
	callr %r20,AM_Stop
;AM_Responder+1792
	ldwzr %r3,deathmatch
	bweq %r3,%gz,AM_Responder+1680
	nop 0
;AM_Responder+1808
	mov %r1,%r2
	retf 32
	nop 0
;AM_Responder+1824
	ldwzr %r3,key_map_maxzoom
	bwne %r2,%r3,AM_Responder+1872
	ldwzr %r2,AM_Responder.bigstate
;AM_Responder+1840
	cmpweqi %r3,%r2,0
	stwr %r3,AM_Responder.bigstate
	bweq %r2,%gz,AM_Responder+2000
;AM_Responder+1856
	callr %r20,AM_restoreScaleAndLoc
	jmp AM_Responder+1664
	nop 0
;AM_Responder+1872
	ldwzr %r3,key_map_follow
	bwne %r2,%r3,AM_Responder+1952
	ldwzr %r3,followplayer
;AM_Responder+1888
	cmpweqi %r2,%r3,0
	stwr %r2,followplayer
	nop 2
;AM_Responder+1904
	ldi.l %r2,2147483647
	stwr %r2,f_oldloc.0
;AM_Responder+1920
	lddzr %r2,plr
	bweq %r3,%gz,AM_Responder+2144
	ldafr %r3,.rodata+8087
;AM_Responder+1936
	jmp AM_Responder+2256
	nop 0
	nop 0
;AM_Responder+1952
	ldwzr %r3,key_map_grid
	bwne %r2,%r3,AM_Responder+2064
	ldwzr %r3,grid
;AM_Responder+1968
	cmpweqi %r2,%r3,0
	stwr %r2,grid
	lddzr %r2,plr
;AM_Responder+1984
	bweq %r3,%gz,AM_Responder+2240
	ldafr %r3,.rodata+1140
	jmp AM_Responder+2256
;AM_Responder+2000
	ldwzr %r2,m_x
	ldwzr %r3,m_y
	ldwzr %r4,m_w
;AM_Responder+2016
	ldwzr %r5,m_h
	stwr %r2,old_m_x
	stwr %r3,old_m_y
;AM_Responder+2032
	stwr %r4,old_m_w
	stwr %r5,old_m_h
	callr %r20,AM_minOutWindowScale
;AM_Responder+2048
	jmp AM_Responder+1664
	nop 0
	nop 0
;AM_Responder+2064
	ldwzr %r3,key_map_mark
	bwne %r2,%r3,AM_Responder+2160
	ldwzr %r2,markpointnum
;AM_Responder+2080
	stw %r2,%sp,8
	ldafr %r3,.rodata+27856
	ldafr %r2,AM_Responder.buffer
;AM_Responder+2096
	ldafr %r20,.rodata+6634
	ldi %r19,20
	std %r3,%sp,0
;AM_Responder+2112
	mov %r18,%r2
	callr %r17,M_snprintf
	lddzr %r3,plr
;AM_Responder+2128
	std %r2,%r3,232
	callr %r20,AM_addMark
	jmp AM_Responder+1664
;AM_Responder+2144
	ldafr %r3,.rodata+12766
	jmp AM_Responder+2256
	nop 0
;AM_Responder+2160
	ldwzr %r3,key_map_clearmark
	bwne %r2,%r3,AM_Responder+768
	mov %r2,%gz
;AM_Responder+2176
	ldafr %r3,markpoints
	ldi %r4,-1
	nop 0
;AM_Responder+2192
	stwx.xd %r4,%r2,%r3,0,0
	addi %r2,%r2,8
	bdnei %r2,80,AM_Responder+2192
;AM_Responder+2208
	lddzr %r2,plr
	stwr %gz,markpointnum
	ldafr %r3,.rodata+6640
;AM_Responder+2224
	jmp AM_Responder+2256
	nop 0
	nop 0
;AM_Responder+2240
	ldafr %r3,.rodata+5903
	nop 0
	nop 0
;AM_Responder+2256
	std %r3,%r2,232
	jmp AM_Responder+1664
	nop 0
;AM_minOutWindowScale
	alloc 10
	ldwzr %r9,min_scale_mtof
	stwr %r9,scale_mtof
;AM_minOutWindowScale+16
	ldi %r8,65536
	callr %r7,FixedDiv
	ldwzr %r1,m_w
;AM_minOutWindowScale+32
	stwr %r8,scale_ftom
	srliw %r2,%r1,31
	ldwzr %r3,m_x
;AM_minOutWindowScale+48
	addws %r1,%r1,%r2
	sraiw %r1,%r1,1
	ldwzr %r2,m_h
;AM_minOutWindowScale+64
	addws %r1,%r3,%r1
	ldwzr %r3,m_y
	ldbzr %r4,f_w
;AM_minOutWindowScale+80
	srliw %r5,%r2,31
	addws %r2,%r2,%r5
	sraiw %r2,%r2,1
;AM_minOutWindowScale+96
	ldi %r5,20971520
	addws %r2,%r3,%r2
	cmovlsb %r3,%r4,%r5,%gz
;AM_minOutWindowScale+112
	ldbzr %r4,f_h
	sraiw %r5,%r8,0
	mul %r3,%r3,%r5
;AM_minOutWindowScale+128
	srli %r3,%r3,16
	ldi %r6,11010048
	stwr %r3,m_w
;AM_minOutWindowScale+144
	cmovlsb %r4,%r4,%r6,%gz
	mul %r4,%r4,%r5
	srli %r4,%r4,16
;AM_minOutWindowScale+160
	stwr %r4,m_h
	sraiw %r5,%r3,1
	subws %r1,%r1,%r5
;AM_minOutWindowScale+176
	stwr %r1,m_x
	sraiw %r5,%r4,1
	subws %r2,%r2,%r5
;AM_minOutWindowScale+192
	stwr %r2,m_y
	addws %r1,%r1,%r3
	stwr %r1,m_x2
;AM_minOutWindowScale+208
	addws %r1,%r2,%r4
	stwr %r1,m_y2
	retf 0
;AM_restoreScaleAndLoc
	alloc 8
	ldwzr %r7,old_m_w
	ldwzr %r1,old_m_h
;AM_restoreScaleAndLoc+16
	ldwzr %r2,followplayer
	stwr %r7,m_w
	stwr %r1,m_h
;AM_restoreScaleAndLoc+32
	bweq %r2,%gz,AM_restoreScaleAndLoc+112
	lddzr %r2,plr
	lddz %r3,%r2,0
;AM_restoreScaleAndLoc+48
	ldwz %r2,%r3,24
	srliw %r4,%r7,31
	addws %r4,%r7,%r4
;AM_restoreScaleAndLoc+64
	sraiw %r4,%r4,1
	subws %r2,%r2,%r4
	ldwz %r3,%r3,28
;AM_restoreScaleAndLoc+80
	srliw %r4,%r1,31
	addws %r4,%r1,%r4
	sraiw %r4,%r4,1
;AM_restoreScaleAndLoc+96
	subws %r3,%r3,%r4
	jmp AM_restoreScaleAndLoc+128
	nop 0
;AM_restoreScaleAndLoc+112
	ldwzr %r2,old_m_x
	ldwzr %r3,old_m_y
	nop 0
;AM_restoreScaleAndLoc+128
	stwr %r2,m_x
	stwr %r3,m_y
	ldbzr %r4,f_w
;AM_restoreScaleAndLoc+144
	addws %r2,%r2,%r7
	stwr %r2,m_x2
	addws %r1,%r3,%r1
;AM_restoreScaleAndLoc+160
	ldi %r2,20971520
	stwr %r1,m_y2
	cmovlsb %r6,%r4,%r2,%gz
;AM_restoreScaleAndLoc+176
	callr %r5,FixedDiv
	mov %r7,%r6
	stwr %r6,scale_mtof
;AM_restoreScaleAndLoc+192
	ldi %r6,65536
	callr %r5,FixedDiv
	stwr %r6,scale_ftom
;AM_restoreScaleAndLoc+208
	retf 0
	nop 0
	nop 0
;AM_Ticker
	alloc 11
	ldwzr %r1,automapactive
	bweq %r1,%gz,AM_Ticker+688
;AM_Ticker+16
	ldwzr %r1,amclock
	ldwzr %r2,followplayer
	addiws %r1,%r1,1
;AM_Ticker+32
	stwr %r1,amclock
	bweq %r2,%gz,AM_Ticker+304
	lddzr %r1,plr
;AM_Ticker+48
	lddz %r2,%r1,0
	ldwzr %r3,f_oldloc.0
	ldwz %r1,%r2,24
;AM_Ticker+64
	bwne %r3,%r1,AM_Ticker+96
	ldwzr %r3,f_oldloc.1
	ldwz %r2,%r2,28
;AM_Ticker+80
	bwne %r3,%r2,AM_Ticker+112
	jmp AM_Ticker+304
	nop 0
;AM_Ticker+96
	ldwz %r2,%r2,28
	nop 0
	nop 0
;AM_Ticker+112
	ldwsr %r3,scale_mtof
	sraiw %r4,%r1,0
	ldwsr %r5,scale_ftom
;AM_Ticker+128
	mul %r4,%r4,%r3
	slsrai %r4,%r4,16,32
	ldwzr %r6,m_w
;AM_Ticker+144
	andi.l %r4,%r4,281474976645120
	mul %r4,%r4,%r5
;AM_Ticker+160
	srli %r4,%r4,16
	srliw %r7,%r6,31
	addws %r7,%r6,%r7
;AM_Ticker+176
	sraiw %r7,%r7,1
	subws %r4,%r4,%r7
	stwr %r4,m_x
;AM_Ticker+192
	sraiw %r7,%r2,0
	mul %r3,%r7,%r3
	slsrai %r3,%r3,16,32
;AM_Ticker+208
	ldwzr %r7,m_h
	andi.l %r3,%r3,281474976645120
;AM_Ticker+224
	mul %r3,%r3,%r5
	srli %r3,%r3,16
	srliw %r5,%r7,31
;AM_Ticker+240
	addws %r5,%r7,%r5
	sraiw %r5,%r5,1
	subws %r3,%r3,%r5
;AM_Ticker+256
	stwr %r3,m_y
	addws %r4,%r4,%r6
	stwr %r4,m_x2
;AM_Ticker+272
	addws %r3,%r3,%r7
	stwr %r3,m_y2
	stwr %r1,f_oldloc.0
;AM_Ticker+288
	stwr %r2,f_oldloc.1
	nop 0
	nop 0
;AM_Ticker+304
	ldwzr %r1,ftom_zoommul
	bweqi.l %r1,65536,AM_Ticker+656
;AM_Ticker+320
	ldwsr %r1,scale_mtof
	ldwsr %r2,mtof_zoommul
	mul %r1,%r2,%r1
;AM_Ticker+336
	srli %r10,%r1,16
	stwr %r10,scale_mtof
	ldi %r9,65536
;AM_Ticker+352
	callr %r8,FixedDiv
	ldwzr %r1,scale_mtof
	ldwzr %r2,min_scale_mtof
;AM_Ticker+368
	stwr %r9,scale_ftom
	bwle %r2,%r1,AM_Ticker+400
	callr %r10,AM_minOutWindowScale
;AM_Ticker+384
	jmp AM_Ticker+656
	nop 0
	nop 0
;AM_Ticker+400
	ldwzr %r10,max_scale_mtof
	bwle %r1,%r10,AM_Ticker+448
	stwr %r10,scale_mtof
;AM_Ticker+416
	ldi %r9,65536
	callr %r8,FixedDiv
	ldwzr %r1,m_w
;AM_Ticker+432
	stwr %r9,scale_ftom
	jmp AM_Ticker+464
	nop 0
;AM_Ticker+448
	ldwzr %r1,m_w
	nop 0
	nop 0
;AM_Ticker+464
	srliw %r2,%r1,31
	ldwzr %r3,m_x
	addws %r1,%r1,%r2
;AM_Ticker+480
	sraiw %r1,%r1,1
	ldwzr %r2,m_h
	addws %r1,%r3,%r1
;AM_Ticker+496
	ldwzr %r3,m_y
	ldbzr %r4,f_w
	srliw %r5,%r2,31
;AM_Ticker+512
	addws %r2,%r2,%r5
	sraiw %r2,%r2,1
	ldi %r5,20971520
;AM_Ticker+528
	addws %r2,%r3,%r2
	cmovlsb %r3,%r4,%r5,%gz
	ldbzr %r4,f_h
;AM_Ticker+544
	sraiw %r5,%r9,0
	mul %r3,%r3,%r5
	srli %r3,%r3,16
;AM_Ticker+560
	ldi %r6,11010048
	stwr %r3,m_w
	cmovlsb %r4,%r4,%r6,%gz
;AM_Ticker+576
	mul %r4,%r4,%r5
	srli %r4,%r4,16
	stwr %r4,m_h
;AM_Ticker+592
	sraiw %r5,%r3,1
	subws %r1,%r1,%r5
	stwr %r1,m_x
;AM_Ticker+608
	sraiw %r5,%r4,1
	subws %r2,%r2,%r5
	stwr %r2,m_y
;AM_Ticker+624
	addws %r1,%r1,%r3
	stwr %r1,m_x2
	addws %r1,%r2,%r4
;AM_Ticker+640
	stwr %r1,m_y2
	nop 0
	nop 0
;AM_Ticker+656
	ldwzr %r1,m_paninc.0
	ldwzr %r2,m_paninc.1
	or %r1,%r1,%r2
;AM_Ticker+672
	bweq %r1,%gz,AM_Ticker+688
	callr %r10,AM_changeWindowLoc
	nop 0
;AM_Ticker+688
	retf 0
	nop 0
	nop 0
;AM_changeWindowLoc
	alloc 8
	ldwzr %r2,m_paninc.0
	ldwzr %r3,m_paninc.1
;AM_changeWindowLoc+16
	or %r1,%r2,%r3
	bweq %r1,%gz,AM_changeWindowLoc+48
	stwr %gz,followplayer
;AM_changeWindowLoc+32
	ldi.l %r1,2147483647
	stwr %r1,f_oldloc.0
;AM_changeWindowLoc+48
	ldwzr %r4,m_x
	ldwzr %r5,m_y
	ldwzr %r1,m_w
;AM_changeWindowLoc+64
	addws %r2,%r4,%r2
	stwr %r2,m_x
	addws %r3,%r5,%r3
;AM_changeWindowLoc+80
	srliw %r5,%r1,31
	ldwzr %r4,max_x
	addws %r5,%r1,%r5
;AM_changeWindowLoc+96
	sraiw %r5,%r5,1
	addws %r6,%r5,%r2
	stwr %r3,m_y
;AM_changeWindowLoc+112
	bwlt %r4,%r6,AM_changeWindowLoc+128
	ldwzr %r4,min_x
	bwle %r4,%r6,AM_changeWindowLoc+144
;AM_changeWindowLoc+128
	subws %r2,%r4,%r5
	stwr %r2,m_x
	nop 0
;AM_changeWindowLoc+144
	ldwzr %r4,m_h
	srliw %r6,%r4,31
	ldwzr %r5,max_y
;AM_changeWindowLoc+160
	addws %r6,%r4,%r6
	sraiw %r6,%r6,1
	addws %r7,%r6,%r3
;AM_changeWindowLoc+176
	bwlt %r5,%r7,AM_changeWindowLoc+192
	ldwzr %r5,min_y
	bwle %r5,%r7,AM_changeWindowLoc+208
;AM_changeWindowLoc+192
	subws %r3,%r5,%r6
	stwr %r3,m_y
	nop 0
;AM_changeWindowLoc+208
	addws %r1,%r2,%r1
	stwr %r1,m_x2
	addws %r1,%r3,%r4
;AM_changeWindowLoc+224
	stwr %r1,m_y2
	retf 0
	nop 0
;AM_Drawer
	allocsp 27,16
	ldwzr %r1,automapactive
	bweq %r1,%gz,AM_Drawer+1600
;AM_Drawer+16
	ldbzr %r1,f_w
	ldbzr %r2,f_h
	ldi %r6,320
;AM_Drawer+32
	ldi %r7,168
	lddzr %r24,fb
	cmovlsb %r1,%r1,%r6,%gz
;AM_Drawer+48
	cmovlsb %r2,%r2,%r7,%gz
	mul %r26,%r2,%r1
	mov %r25,%gz
;AM_Drawer+64
	callr %r23,memset
	ldwzr %r1,grid
	bweq %r1,%gz,AM_Drawer+432
;AM_Drawer+80
	ldwzr %r1,m_x
	ldwzr %r2,bmaporgx
	subws %r2,%r1,%r2
;AM_Drawer+96
	sraiw %r3,%r2,31
	srliw %r3,%r3,9
	addws %r3,%r2,%r3
;AM_Drawer+112
	andi.l %r3,%r3,-8388608
	subws %r3,%r2,%r3
;AM_Drawer+128
	subws %r2,%r1,%r3
	addiws.l %r4,%r2,8388608
;AM_Drawer+144
	ldwzr %r5,m_w
	ldwzr %r2,m_y
	ldwzr %r9,m_h
;AM_Drawer+160
	cmovweq %r8,%r3,%r1,%r4
	addws %r5,%r5,%r1
	stw %r2,%sp,4
;AM_Drawer+176
	addws %r4,%r9,%r2
	stw %r4,%sp,12
	bwle %r5,%r8,AM_Drawer+288
;AM_Drawer+192
	addi %r1,%sp,0
	ldi %r2,104
	nop 0
;AM_Drawer+208
	stw %r8,%sp,0
	stw %r8,%sp,8
	mov2 %r25,%r26,%r1,%r2
;AM_Drawer+224
	callr %r24,AM_drawMline
	addiws.l %r8,%r8,8388608
;AM_Drawer+240
	bwlt %r8,%r5,AM_Drawer+208
	ldwzr %r2,m_y
	ldwzr %r3,m_h
;AM_Drawer+256
	ldwzr %r1,m_x
	ldwzr %r5,m_w
	addws %r4,%r3,%r2
;AM_Drawer+272
	addws %r5,%r5,%r1
	nop 0
	nop 0
;AM_Drawer+288
	ldwzr %r3,bmaporgy
	subws %r3,%r2,%r3
	sraiw %r8,%r3,31
;AM_Drawer+304
	srliw %r8,%r8,9
	addws %r8,%r3,%r8
	nop 2
;AM_Drawer+320
	andi.l %r8,%r8,-8388608
	subws %r3,%r3,%r8
;AM_Drawer+336
	subws %r8,%r2,%r3
	addiws.l %r8,%r8,8388608
;AM_Drawer+352
	cmovweq %r8,%r3,%r2,%r8
	stw %r1,%sp,0
	stw %r5,%sp,8
;AM_Drawer+368
	bwle %r4,%r8,AM_Drawer+432
	addi %r1,%sp,0
	ldi %r2,104
;AM_Drawer+384
	stw %r8,%sp,4
	stw %r8,%sp,12
	mov2 %r25,%r26,%r1,%r2
;AM_Drawer+400
	callr %r24,AM_drawMline
	addiws.l %r8,%r8,8388608
;AM_Drawer+416
	bwlt %r8,%r4,AM_Drawer+384
	nop 0
	nop 0
;AM_Drawer+432
	ldwzr %r2,numlines
	ldi %r8,96
	bwlti %r2,1,AM_Drawer+832
;AM_Drawer+448
	mov2 %r3,%r4,%gz,%gz
	lddzr %r13,lines
	ldwzr %r14,cheating
;AM_Drawer+464
	ldi %r5,176
	ldi %r9,184
	ldi %r10,64
;AM_Drawer+480
	ldi %r11,231
	ldafr %r1,AM_drawWalls.l
	ldi %r12,99
;AM_Drawer+496
	jmp AM_Drawer+576
	nop 0
	nop 0
;AM_Drawer+512
	mov %r25,%r1
	callr %r24,AM_drawMline
	lddzr %r13,lines
;AM_Drawer+528
	ldwzr %r14,cheating
	ldwzr %r2,numlines
	nop 0
;AM_Drawer+544
	addi %r4,%r4,1
	sraiw %r15,%r2,0
	addi %r3,%r3,88
;AM_Drawer+560
	bdle %r15,%r4,AM_Drawer+832
	nop 0
	nop 0
;AM_Drawer+576
	lddzx.xd %r15,%r13,%r3,0,0
	ldwz %r16,%r15,0
	stwr %r16,AM_drawWalls.l
;AM_Drawer+592
	ldwz %r15,%r15,4
	stwr %r15,AM_drawWalls.l+4
	lddzx.xd %r15,%r13,%r3,0,8
;AM_Drawer+608
	ldwz %r16,%r15,0
	stwr %r16,AM_drawWalls.l+8
	ldwz %r15,%r15,4
;AM_Drawer+624
	stwr %r15,AM_drawWalls.l+12
	bweq %r14,%gz,AM_Drawer+752
	ldhzx.xd %r15,%r13,%r3,0,24
;AM_Drawer+640
	lddzx.xd %r16,%r13,%r3,0,64
	mov %r26,%r5
	bdeq %r16,%gz,AM_Drawer+512
;AM_Drawer+656
	ldhzx.xd %r17,%r13,%r3,0,26
	mov %r26,%r9
	bweqi %r17,39,AM_Drawer+512
;AM_Drawer+672
	mov %r26,%r5
	bbsi %r15,5,AM_Drawer+512
	lddzx.xd %r15,%r13,%r3,0,56
;AM_Drawer+688
	ldwz %r17,%r16,0
	ldwz %r18,%r15,0
	mov %r26,%r10
;AM_Drawer+704
	bwne %r17,%r18,AM_Drawer+512
	ldwz %r16,%r16,4
	ldwz %r15,%r15,4
;AM_Drawer+720
	cmpwne %r17,%r16,%r15
	cmovlsb %r26,%r17,%r11,%r8
	bwne %r14,%gz,AM_Drawer+512
;AM_Drawer+736
	bweq %r16,%r15,AM_Drawer+816
	jmp AM_Drawer+512
	nop 0
;AM_Drawer+752
	ldhzx.xd %r15,%r13,%r3,0,24
	bbsi %r15,8,AM_Drawer+800
	bbsi %r15,7,AM_Drawer+816
;AM_Drawer+768
	lddzr %r14,plr
	ldwz %r15,%r14,72
	mov2 %r14,%r26,%gz,%r12
;AM_Drawer+784
	bwne %r15,%gz,AM_Drawer+512
	jmp AM_Drawer+544
	nop 0
;AM_Drawer+800
	bbci %r15,7,AM_Drawer+640
	nop 0
	nop 0
;AM_Drawer+816
	mov %r14,%gz
	jmp AM_Drawer+544
	nop 0
;AM_Drawer+832
	ldwzr %r1,netgame
	lddzr %r3,plr
	bweq %r1,%gz,AM_Drawer+1056
;AM_Drawer+848
	mov %r4,%gz
	ldwzr %r12,deathmatch
	ldafr %r5,players
;AM_Drawer+864
	ldwzr %r13,singledemo
	ldafr %r9,playeringame
	ldi %r10,246
;AM_Drawer+880
	ldafr %r11,AM_drawPlayers.their_colors
	ldafr %r1,player_arrow
	ldi %r2,7
;AM_Drawer+896
	jmp AM_Drawer+944
	nop 0
	nop 0
;AM_Drawer+912
	mov %r13,%gz
	nop 0
	nop 0
;AM_Drawer+928
	addi %r4,%r4,4
	addi %r5,%r5,328
	bdeqi %r4,16,AM_Drawer+1136
;AM_Drawer+944
	bweq %r12,%gz,AM_Drawer+960
	bwne %r13,%gz,AM_Drawer+960
	bdne %r5,%r3,AM_Drawer+912
;AM_Drawer+960
	ldwzx.xd %r14,%r4,%r9,0,0
	bweq %r14,%gz,AM_Drawer+928
	ldwz %r3,%r5,64
;AM_Drawer+976
	mov %r24,%r10
	bwne %r3,%gz,AM_Drawer+992
	ldwzx.xd %r24,%r4,%r11,0,0
;AM_Drawer+992
	lddz %r3,%r5,0
	ldwz %r23,%r3,56
	ldwz %r25,%r3,24
;AM_Drawer+1008
	ldwz %r26,%r3,28
	mov2 %r20,%r21,%r1,%r2
	mov %r22,%gz
;AM_Drawer+1024
	callr %r19,AM_drawLineCharacter
	ldwzr %r12,deathmatch
	ldwzr %r13,singledemo
;AM_Drawer+1040
	lddzr %r3,plr
	jmp AM_Drawer+928
	nop 0
;AM_Drawer+1056
	lddz %r1,%r3,0
	ldwzr %r2,cheating
	ldwz %r23,%r1,56
;AM_Drawer+1072
	ldwz %r25,%r1,24
	ldwz %r26,%r1,28
	bweq %r2,%gz,AM_Drawer+1104
;AM_Drawer+1088
	ldafr %r20,cheat_player_arrow
	ldi %r21,16
	jmp AM_Drawer+1120
;AM_Drawer+1104
	ldafr %r20,player_arrow
	ldi %r21,7
	nop 0
;AM_Drawer+1120
	ldi %r24,209
	mov %r22,%gz
	callr %r19,AM_drawLineCharacter
;AM_Drawer+1136
	ldwzr %r1,cheating
	bwnei %r1,2,AM_Drawer+1296
	ldwzr %r5,numsectors
;AM_Drawer+1152
	bwlti %r5,1,AM_Drawer+1296
	mov %r9,%gz
	ldafr %r1,thintriangle_guy
;AM_Drawer+1168
	ldi %r2,3
	ldi %r3,1048576
	ldi %r4,112
;AM_Drawer+1184
	jmp AM_Drawer+1216
	nop 0
	nop 0
;AM_Drawer+1200
	addi %r9,%r9,1
	sraiw %r10,%r5,0
	bdle %r10,%r9,AM_Drawer+1296
;AM_Drawer+1216
	lddzr %r10,sectors
	lddzx.xd %r10,%r10,%r9,7,96
	bdeq %r10,%gz,AM_Drawer+1200
;AM_Drawer+1232
	ldwz %r23,%r10,56
	ldwz %r25,%r10,24
	ldwz %r26,%r10,28
;AM_Drawer+1248
	mov2 %r20,%r21,%r1,%r2
	mov2 %r22,%r24,%r3,%r4
	callr %r19,AM_drawLineCharacter
;AM_Drawer+1264
	lddz %r10,%r10,40
	bdne %r10,%gz,AM_Drawer+1232
	ldwzr %r5,numsectors
;AM_Drawer+1280
	jmp AM_Drawer+1200
	nop 0
	nop 0
;AM_Drawer+1296
	ldbzr %r1,f_w
	ldbzr %r3,f_h
	lddzr %r4,fb
;AM_Drawer+1312
	ldi %r5,1
	ldi %r9,169
	mov %r2,%gz
;AM_Drawer+1328
	cmovlsb %r1,%r1,%r6,%gz
	cmovlsb %r3,%r3,%r9,%r5
	mul %r1,%r3,%r1
;AM_Drawer+1344
	srli %r1,%r1,1
	stbx.xd %r8,%r4,%r1,0,0
	ldafr %r3,markpoints
;AM_Drawer+1360
	ldafr %r4,markpoints+4
	ldi %r5,-5
	ldi %r8,315
;AM_Drawer+1376
	ldi %r9,-6
	ldi %r10,162
	ldafr %r11,marknums
;AM_Drawer+1392
	jmp AM_Drawer+1424
	nop 0
	nop 0
;AM_Drawer+1408
	addi %r2,%r2,8
	bdeqi %r2,80,AM_Drawer+1568
	nop 0
;AM_Drawer+1424
	ldwzx.xd %r12,%r2,%r3,0,0
	bweqi %r12,-1,AM_Drawer+1408
	ldwzr %r13,m_x
;AM_Drawer+1440
	ldwsr %r1,scale_mtof
	subws %r12,%r12,%r13
	mul %r12,%r1,%r12
;AM_Drawer+1456
	srli %r12,%r12,16
	sraiw %r24,%r12,16
	bwlt %r24,%gz,AM_Drawer+1408
;AM_Drawer+1472
	ldbzr %r12,f_w
	cmovlsb %r12,%r12,%r8,%r5
	bwlt %r12,%r24,AM_Drawer+1408
;AM_Drawer+1488
	ldbzr %r12,f_h
	ldwzx.xd %r13,%r2,%r4,0,0
	ldwzr %r14,m_y
;AM_Drawer+1504
	cmovlsb %r15,%r12,%r7,%gz
	subws %r13,%r13,%r14
	mul %r1,%r13,%r1
;AM_Drawer+1520
	srli %r1,%r1,16
	sraiw %r1,%r1,16
	subws %r25,%r15,%r1
;AM_Drawer+1536
	bwlt %r25,%gz,AM_Drawer+1408
	cmovlsb %r1,%r12,%r10,%r9
	bwlt %r1,%r25,AM_Drawer+1408
;AM_Drawer+1552
	lddzx.xd %r26,%r2,%r11,0,0
	callr %r23,V_DrawPatch
	jmp AM_Drawer+1408
;AM_Drawer+1568
	ldbzr %r1,f_w
	ldbzr %r2,f_h
	cmovlsb %r25,%r1,%r6,%gz
;AM_Drawer+1584
	cmovlsb %r26,%r2,%r7,%gz
	mov2 %r23,%r24,%gz,%gz
	callr %r22,V_MarkRect
;AM_Drawer+1600
	retf 16
	nop 0
	nop 0
;AM_drawMline
	allocsp 23,16
	ldwz %r4,%r1,4
	ldwzr %r5,m_y2
;AM_drawMline+16
	ldwzr %r7,m_y
	ldwz %r8,%r1,12
	cmpwlt %r6,%r5,%r4
;AM_drawMline+32
	cmpwlt %r3,%r4,%r7
	slliw %r9,%r3,2
	ldi %r3,8
;AM_drawMline+48
	cmpwlt %r5,%r5,%r8
	cmpwlt %r10,%r8,%r7
	slliw %r10,%r10,2
;AM_drawMline+64
	cmovlsb %r9,%r6,%r3,%r9
	cmovlsb %r10,%r5,%r3,%r10
	and %r5,%r10,%r9
;AM_drawMline+80
	bwne %r5,%gz,AM_drawMline+512
	ldwz %r5,%r1,0
	ldwzr %r6,m_x
;AM_drawMline+96
	bwle %r6,%r5,AM_drawMline+176
	ori %r11,%r9,1
	ldwz %r9,%r1,8
;AM_drawMline+112
	bwlt %r9,%r6,AM_drawMline+208
	nop 0
	nop 0
;AM_drawMline+128
	ldwzr %r1,m_x2
	cmpwlt %r1,%r1,%r9
	ori %r12,%r10,2
;AM_drawMline+144
	cmovlsb %r1,%r1,%r12,%r10
	and %r1,%r1,%r11
	bwne %r1,%gz,AM_drawMline+512
;AM_drawMline+160
	jmp AM_drawMline+224
	nop 0
	nop 0
;AM_drawMline+176
	ldwzr %r11,m_x2
	cmpwlt %r11,%r11,%r5
	ori %r12,%r9,2
;AM_drawMline+192
	cmovlsb %r11,%r11,%r12,%r9
	ldwz %r9,%r1,8
	bwle %r6,%r9,AM_drawMline+128
;AM_drawMline+208
	ori %r1,%r10,1
	and %r1,%r1,%r11
	bwne %r1,%gz,AM_drawMline+512
;AM_drawMline+224
	ldwsr %r10,scale_mtof
	ldbzr %r14,f_h
	subws %r1,%r5,%r6
;AM_drawMline+240
	mul %r1,%r10,%r1
	srli %r1,%r1,16
	ldi %r5,168
;AM_drawMline+256
	sraiw %r1,%r1,16
	cmovlsb %r5,%r14,%r5,%gz
	subws %r4,%r4,%r7
;AM_drawMline+272
	mul %r4,%r10,%r4
	srli %r4,%r4,16
	sraiw %r4,%r4,16
;AM_drawMline+288
	cmpwlti %r11,%r4,1
	subws %r4,%r5,%r4
	subws %r6,%r9,%r6
;AM_drawMline+304
	mul %r6,%r10,%r6
	srli %r6,%r6,16
	sraiw %r6,%r6,16
;AM_drawMline+320
	stwr %r6,AM_drawMline.fl.2
	subws %r7,%r8,%r7
	mul %r7,%r10,%r7
;AM_drawMline+336
	srli %r7,%r7,16
	sraiw %r8,%r7,16
	subws %r7,%r5,%r8
;AM_drawMline+352
	slliw %r9,%r11,2
	stwr %r7,AM_drawMline.fl.3
	cmovwlt %r9,%r4,%r3,%r9
;AM_drawMline+368
	bwlti %r1,0,AM_drawMline+416
	ldbzr %r10,f_w
	cmpwltui %r11,%r1,320
;AM_drawMline+384
	ori %r12,%r9,2
	cmovlsb %r9,%r11,%r9,%r12
	cmovlsb %r9,%r10,%r9,%r12
;AM_drawMline+400
	jmp AM_drawMline+432
	nop 0
	nop 0
;AM_drawMline+416
	ori %r9,%r9,1
	nop 0
	nop 0
;AM_drawMline+432
	cmpwlti %r8,%r8,1
	slliw %r8,%r8,2
	cmovwlt %r8,%r7,%r3,%r8
;AM_drawMline+448
	bwlti %r6,0,AM_drawMline+496
	ldbzr %r10,f_w
	cmpwltui %r11,%r6,320
;AM_drawMline+464
	ori %r12,%r8,2
	cmovlsb %r8,%r11,%r8,%r12
	cmovlsb %r11,%r10,%r8,%r12
;AM_drawMline+480
	and %r8,%r11,%r9
	bwne %r8,%gz,AM_drawMline+512
	jmp AM_drawMline+528
;AM_drawMline+496
	ori %r11,%r8,1
	and %r8,%r11,%r9
	bweq %r8,%gz,AM_drawMline+528
;AM_drawMline+512
	retf 16
	nop 0
	nop 0
;AM_drawMline+528
	ldbzr %r10,f_w
	ldi %r8,-1
	ldi %r13,319
;AM_drawMline+544
	ldi %r15,4
	addiws %r12,%r5,-1
	cmovlsb %r13,%r10,%r13,%r8
;AM_drawMline+560
	cmovlsb %r14,%r14,%gz,%r15
	jmp AM_drawMline+640
	nop 0
;AM_drawMline+576
	cmpwltui %r6,%r17,320
	ori %r7,%r18,2
	cmovlsb %r6,%r6,%r18,%r7
;AM_drawMline+592
	cmovlsb %r11,%r10,%r6,%r7
	nop 0
	nop 0
;AM_drawMline+608
	mov2 %r6,%r7,%r17,%r15
	mov %r15,%r4
	nop 0
;AM_drawMline+624
	and %r16,%r11,%r9
	mov %r4,%r15
	bwne %r16,%gz,AM_drawMline+512
;AM_drawMline+640
	or %r15,%r11,%r9
	bweq %r15,%gz,AM_drawMline+1008
	cmovweq %r16,%r9,%r11,%r9
;AM_drawMline+656
	bbsi %r16,3,AM_drawMline+720
	bbsi %r16,2,AM_drawMline+816
	bbsi %r16,1,AM_drawMline+896
;AM_drawMline+672
	mov %r17,%gz
	bbci %r16,0,AM_drawMline+752
	mov %r17,%gz
;AM_drawMline+688
	subws %r15,%r4,%r7
	subws %r18,%r6,%r1
	mulws %r15,%r15,%r1
;AM_drawMline+704
	divw %r15,%r15,%r18
	addws %r15,%r15,%r4
	jmp AM_drawMline+944
;AM_drawMline+720
	subws %r15,%r4,%r7
	subws %r17,%r6,%r1
	mulws %r17,%r4,%r17
;AM_drawMline+736
	divw %r15,%r17,%r15
	addws %r17,%r15,%r1
	nop 0
;AM_drawMline+752
	mov %r15,%gz
	cmpwlti %r19,%r17,0
	mov %r18,%r14
;AM_drawMline+768
	bwne %r16,%r9,AM_drawMline+976
	nop 0
	nop 0
;AM_drawMline+784
	bbci %r19,0,AM_drawMline+864
	ori %r9,%r18,1
	mov %r1,%r17
;AM_drawMline+800
	jmp AM_drawMline+624
	nop 0
	nop 0
;AM_drawMline+816
	subws %r15,%r4,%r7
	subws %r17,%r6,%r1
	subws %r18,%r4,%r5
;AM_drawMline+832
	mulws %r17,%r18,%r17
	divw %r15,%r17,%r15
	addws %r17,%r15,%r1
;AM_drawMline+848
	mov %r15,%r12
	jmp AM_drawMline+944
	nop 0
;AM_drawMline+864
	cmpwltui %r1,%r17,320
	ori %r4,%r18,2
	cmovlsb %r1,%r1,%r18,%r4
;AM_drawMline+880
	cmovlsb %r9,%r10,%r1,%r4
	mov %r1,%r17
	jmp AM_drawMline+624
;AM_drawMline+896
	subws %r15,%r7,%r4
	subws %r17,%r6,%r1
	subws %r18,%r13,%r1
;AM_drawMline+912
	mulws %r15,%r15,%r18
	divw %r15,%r15,%r17
	addws %r15,%r15,%r4
;AM_drawMline+928
	mov %r17,%r13
	nop 0
	nop 0
;AM_drawMline+944
	cmpwle %r18,%r5,%r15
	slliw %r18,%r18,2
	cmpwlti %r19,%r17,0
;AM_drawMline+960
	cmovwlt %r18,%r15,%r3,%r18
	bweq %r16,%r9,AM_drawMline+784
	nop 0
;AM_drawMline+976
	stwr %r17,AM_drawMline.fl.2
	stwr %r15,AM_drawMline.fl.3
	bbci %r19,0,AM_drawMline+576
;AM_drawMline+992
	ori %r11,%r18,1
	jmp AM_drawMline+608
	nop 0
;AM_drawMline+1008
	bwlt %r1,%gz,AM_drawMline+1312
	ldi %r3,320
	cmovlsb %r3,%r10,%r3,%gz
;AM_drawMline+1024
	bwleu %r3,%r1,AM_drawMline+1312
	bwlt %r4,%gz,AM_drawMline+1312
	bwleu %r5,%r4,AM_drawMline+1312
;AM_drawMline+1040
	bwleu %r3,%r6,AM_drawMline+1312
	bwleu %r5,%r7,AM_drawMline+1312
	subws %r9,%r6,%r1
;AM_drawMline+1056
	absdw %r10,%r1,%r6
	ldi %r12,1
	slliw %r5,%r10,1
;AM_drawMline+1072
	cmovwlt %r6,%r9,%r8,%r12
	subws %r13,%r7,%r4
	absdw %r11,%r4,%r7
;AM_drawMline+1088
	lddzr %r7,fb
	slliw %r9,%r11,1
	cmovwlt %r8,%r13,%r8,%r12
;AM_drawMline+1104
	mulws %r12,%r4,%r3
	addws %r12,%r12,%r1
	stbx.xuw %r2,%r7,%r12,0,0
;AM_drawMline+1120
	bwleu %r5,%r9,AM_drawMline+1216
	ldwzr %r11,AM_drawMline.fl.2
	bweq %r1,%r11,AM_drawMline+512
;AM_drawMline+1136
	subws %r11,%r9,%r10
	ldwzr %r10,AM_drawMline.fl.2
	nop 0
;AM_drawMline+1152
	cmovwlt %r12,%r11,%gz,%r8
	addws %r4,%r12,%r4
	cmovwlt %r12,%r11,%gz,%r5
;AM_drawMline+1168
	addws %r1,%r1,%r6
	addws %r11,%r11,%r9
	subws %r11,%r11,%r12
;AM_drawMline+1184
	mulws %r12,%r4,%r3
	addws %r12,%r12,%r1
	stbx.xw %r2,%r7,%r12,0,0
;AM_drawMline+1200
	bwne %r1,%r10,AM_drawMline+1152
	jmp AM_drawMline+512
	nop 0
;AM_drawMline+1216
	ldwzr %r10,AM_drawMline.fl.3
	bweq %r4,%r10,AM_drawMline+512
	subws %r11,%r5,%r11
;AM_drawMline+1232
	ldwzr %r10,AM_drawMline.fl.3
	nop 0
	nop 0
;AM_drawMline+1248
	cmovwlt %r12,%r11,%gz,%r6
	addws %r1,%r12,%r1
	cmovwlt %r12,%r11,%gz,%r9
;AM_drawMline+1264
	addws %r4,%r4,%r8
	addws %r11,%r11,%r5
	subws %r11,%r11,%r12
;AM_drawMline+1280
	mulws %r12,%r4,%r3
	addws %r12,%r12,%r1
	stbx.xw %r2,%r7,%r12,0,0
;AM_drawMline+1296
	bwne %r4,%r10,AM_drawMline+1248
	jmp AM_drawMline+512
	nop 0
;AM_drawMline+1312
	ldwzr %r1,AM_drawFline.fuck
	lddzr %r21,stderr
	addiws %r2,%r1,1
;AM_drawMline+1328
	stwr %r2,AM_drawFline.fuck
	ldafr %r22,.rodata+12165
	stw %r1,%sp,0
;AM_drawMline+1344
	callr %r20,fprintf
	retf 16
	nop 0
;AM_drawLineCharacter
	allocsp 21,16
	srliw %r8,%r3,0
	srliw %r9,%r4,19
;AM_drawLineCharacter+16
	ldafr %r10,finesine
	ldax.xuw %r10,%r10,%r9,2,0
	srliw %r11,%r2,0
;AM_drawLineCharacter+32
	addi %r12,%r1,8
	addi %r1,%sp,0
	jmp AM_drawLineCharacter+96
;AM_drawLineCharacter+48
	addws %r13,%r13,%r6
	stw %r13,%sp,8
	addws %r2,%r2,%r7
;AM_drawLineCharacter+64
	stw %r2,%sp,12
	mov2 %r19,%r20,%r1,%r5
	callr %r18,AM_drawMline
;AM_drawLineCharacter+80
	addi %r11,%r11,-1
	addi %r12,%r12,16
	bdeq %r11,%gz,AM_drawLineCharacter+416
;AM_drawLineCharacter+96
	ldwz %r13,%r12,-8
	ldwz %r2,%r12,-4
	bweq %r3,%gz,AM_drawLineCharacter+144
;AM_drawLineCharacter+112
	sraiw %r13,%r13,0
	mul %r13,%r13,%r8
	srli %r13,%r13,16
;AM_drawLineCharacter+128
	sraiw %r2,%r2,0
	mul %r2,%r2,%r8
	srli %r2,%r2,16
;AM_drawLineCharacter+144
	bweq %r4,%gz,AM_drawLineCharacter+240
	lddzr %r14,finecosine
	ldwsx.xd %r14,%r14,%r9,2,0
;AM_drawLineCharacter+160
	sraiw %r15,%r13,0
	ldws %r16,%r10,0
	mul %r13,%r14,%r15
;AM_drawLineCharacter+176
	srli %r13,%r13,16
	sraiw %r2,%r2,0
	mul %r17,%r16,%r2
;AM_drawLineCharacter+192
	srli %r17,%r17,16
	subws %r13,%r13,%r17
	mul %r15,%r16,%r15
;AM_drawLineCharacter+208
	srli %r15,%r15,16
	mul %r2,%r2,%r14
	srli %r2,%r2,16
;AM_drawLineCharacter+224
	addws %r2,%r15,%r2
	nop 0
	nop 0
;AM_drawLineCharacter+240
	addws %r13,%r13,%r6
	stw %r13,%sp,0
	addws %r2,%r2,%r7
;AM_drawLineCharacter+256
	stw %r2,%sp,4
	ldwz %r13,%r12,0
	ldwz %r2,%r12,4
;AM_drawLineCharacter+272
	bweq %r3,%gz,AM_drawLineCharacter+320
	sraiw %r13,%r13,0
	mul %r13,%r13,%r8
;AM_drawLineCharacter+288
	srli %r13,%r13,16
	sraiw %r2,%r2,0
	mul %r2,%r2,%r8
;AM_drawLineCharacter+304
	srli %r2,%r2,16
	nop 0
	nop 0
;AM_drawLineCharacter+320
	bweq %r4,%gz,AM_drawLineCharacter+48
	lddzr %r14,finecosine
	ldwsx.xd %r14,%r14,%r9,2,0
;AM_drawLineCharacter+336
	sraiw %r15,%r13,0
	ldws %r16,%r10,0
	mul %r13,%r14,%r15
;AM_drawLineCharacter+352
	srli %r13,%r13,16
	sraiw %r2,%r2,0
	mul %r17,%r16,%r2
;AM_drawLineCharacter+368
	srli %r17,%r17,16
	subws %r13,%r13,%r17
	mul %r15,%r16,%r15
;AM_drawLineCharacter+384
	srli %r15,%r15,16
	mul %r2,%r2,%r14
	srli %r2,%r2,16
;AM_drawLineCharacter+400
	addws %r2,%r15,%r2
	jmp AM_drawLineCharacter+48
	nop 0
;AM_drawLineCharacter+416
	retf 16
	nop 0
	nop 0
;snprintf
	allocsp 9,16
	addi %r8,%sp,16
	std %r8,%sp,8
;snprintf+16
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
	callr %r4,vsnprintf
;snprintf+32
	mov %r1,%r5
	retf 16
	nop 0
;vsnprintf
	allocsp 10,256
	addi %r5,%sp,254
	cmovdeq %r1,%r2,%r5,%r1
;vsnprintf+16
	std %r1,%sp,232
	maxui %r2,%r2,1
	addi %r2,%r2,-1
;vsnprintf+32
	std %r2,%sp,240
	stq %gz,%sp,64
	stq %gz,%sp,80
;vsnprintf+48
	stq %gz,%sp,128
	stq %gz,%sp,144
	std %gz,%sp,224
;vsnprintf+64
	stq %gz,%sp,208
	stq %gz,%sp,192
	stq %gz,%sp,176
;vsnprintf+80
	stq %gz,%sp,160
	stq %gz,%sp,112
	stq %gz,%sp,96
;vsnprintf+96
	stq %gz,%sp,48
	stq %gz,%sp,32
	stq %gz,%sp,16
;vsnprintf+112
	stq %gz,%sp,0
	ldar %r2,sn_write
	std %r2,%sp,72
;vsnprintf+128
	addi %r2,%sp,255
	std %r2,%sp,88
	ldi %r2,-1
;vsnprintf+144
	stw %r2,%sp,140
	stw %r2,%sp,144
	addi %r2,%sp,232
;vsnprintf+160
	std %r2,%sp,152
	stb %gz,%r1,0
	addi %r7,%sp,0
;vsnprintf+176
	mov2 %r8,%r9,%r3,%r4
	callr %r6,vfprintf
	mov %r1,%r7
;vsnprintf+192
	retf 256
	nop 0
	nop 0
;sn_write
	alloc 11
	lddz %r6,%r1,152
	lddz %r4,%r1,40
;sn_write+16
	lddz %r9,%r1,56
	lddz %r5,%r6,8
	sub %r4,%r4,%r9
;sn_write+32
	minu %r4,%r5,%r4
	lddz %r8,%r6,0
	bdeq %r4,%gz,sn_write+96
;sn_write+48
	mov %r10,%r4
	callr %r7,memcpy
	lddz %r5,%r6,0
;sn_write+64
	add %r8,%r5,%r4
	std %r8,%r6,0
	lddz %r5,%r6,8
;sn_write+80
	sub %r5,%r5,%r4
	std %r5,%r6,8
	nop 0
;sn_write+96
	minu %r4,%r5,%r3
	bdeq %r4,%gz,sn_write+160
	mov2 %r9,%r10,%r2,%r4
;sn_write+112
	callr %r7,memcpy
	lddz %r2,%r6,0
	add %r8,%r2,%r4
;sn_write+128
	std %r8,%r6,0
	lddz %r2,%r6,8
	sub %r2,%r2,%r4
;sn_write+144
	std %r2,%r6,8
	nop 0
	nop 0
;sn_write+160
	stb %gz,%r8,0
	lddz %r2,%r1,88
	std %r2,%r1,56
;sn_write+176
	std %r2,%r1,40
	mov %r1,%r3
	retf 0
;vfprintf
	allocsp 14,304
	mov %r4,%r1
	std %r3,%sp,296
;vfprintf+16
	std %gz,%sp,272
	stq %gz,%sp,256
	stq %gz,%sp,240
;vfprintf+32
	std %r3,%sp,288
	addi %r11,%sp,288
	addi %r12,%sp,80
;vfprintf+48
	addi %r13,%sp,240
	mov2 %r9,%r10,%gz,%r2
	callr %r8,printf_core
;vfprintf+64
	bwlt %r9,%gz,vfprintf+112
	ldwz %r1,%r4,140
	bwlt %r1,%gz,vfprintf+128
;vfprintf+80
	mov %r13,%r4
	callr %r12,__lockfile
	cmpweqi %r3,%r13,0
;vfprintf+96
	jmp vfprintf+144
	nop 0
	nop 0
;vfprintf+112
	ldi %r1,-1
	retf 304
	nop 0
;vfprintf+128
	ldi %r3,1
	nop 0
	nop 0
;vfprintf+144
	ldwz %r5,%r4,0
	andi %r1,%r5,-33
	stw %r1,%r4,0
;vfprintf+160
	lddz %r1,%r4,96
	bdeq %r1,%gz,vfprintf+192
	lddz %r1,%r4,32
;vfprintf+176
	mov2 %r6,%r7,%gz,%gz
	bdne %r1,%gz,vfprintf+304
	jmp vfprintf+240
;vfprintf+192
	lddz %r6,%r4,88
	addi %r1,%sp,0
	std %r1,%r4,88
;vfprintf+208
	ldi %r1,80
	std %r1,%r4,96
	std %gz,%r4,32
;vfprintf+224
	std %gz,%r4,56
	std %gz,%r4,40
	nop 0
;vfprintf+240
	mov %r13,%r4
	callr %r12,__towrite
	bweq %r13,%gz,vfprintf+288
;vfprintf+256
	ldi %r9,-1
	andi %r2,%r5,32
	bdne %r6,%gz,vfprintf+352
;vfprintf+272
	jmp vfprintf+416
	nop 0
	nop 0
;vfprintf+288
	mov %r7,%r6
	nop 0
	nop 0
;vfprintf+304
	addi %r11,%sp,288
	addi %r12,%sp,80
	addi %r13,%sp,240
;vfprintf+320
	mov2 %r9,%r10,%r4,%r2
	callr %r8,printf_core
	mov %r6,%r7
;vfprintf+336
	andi %r2,%r5,32
	bdeq %r6,%gz,vfprintf+416
	nop 0
;vfprintf+352
	mov2 %r11,%r12,%r4,%gz
	mov %r13,%gz
	callmi %r10,%r4,72
;vfprintf+368
	lddz %r1,%r4,40
	ldi %r5,-1
	cmovdeq %r9,%r1,%r5,%r9
;vfprintf+384
	std %r6,%r4,88
	std %gz,%r4,96
	std %gz,%r4,32
;vfprintf+400
	std %gz,%r4,56
	std %gz,%r4,40
	nop 0
;vfprintf+416
	ldwz %r5,%r4,0
	andi %r1,%r5,32
	ldi %r6,-1
;vfprintf+432
	cmovweq %r1,%r1,%r9,%r6
	or %r2,%r5,%r2
	stw %r2,%r4,0
;vfprintf+448
	bbsi %r3,0,vfprintf+464
	mov %r13,%r4
	callr %r12,__unlockfile
;vfprintf+464
	retf 304
	nop 0
	nop 0
;printf_core
	allocsp 37,320
	mov2 %r6,%r21,%r1,%gz
	mov2 %r1,%r30,%gz,%gz
;printf_core+16
	addi %r14,%sp,48
	addi %r15,%sp,47
	ldi %r13,75
;printf_core+32
	ldi %r11,-1
	ldi %r16,1
	ldi %r17,10
;printf_core+48
	ldi %r12,22
	ldi %r18,58
	ldafr %r19,.rodata+29147
;printf_core+64
	ldafr %r20,.rodata+40
	jmp printf_core+96
	nop 0
;printf_core+80
	bweq %r30,%gz,printf_core+352
	nop 0
	nop 0
;printf_core+96
	xori.l %r8,%r1,2147483647
	bwlt %r8,%r30,printf_core+4096
;printf_core+112
	mov %r7,%r2
	ldbz %r8,%r2,0
	addws %r1,%r30,%r1
;printf_core+128
	bweq %r8,%gz,printf_core+3904
	mov %r2,%r7
	andi %r8,%r8,255
;printf_core+144
	bweq %r8,%gz,printf_core+192
	nop 0
	nop 0
;printf_core+160
	bweqi %r8,37,printf_core+208
	addi %r9,%r2,1
	ldbz %r8,%r2,1
;printf_core+176
	mov %r2,%r9
	andi %r8,%r8,255
	bwne %r8,%gz,printf_core+160
;printf_core+192
	mov %r8,%r2
	jmp printf_core+288
	nop 0
;printf_core+208
	mov2 %r8,%r9,%r2,%r2
	nop 0
	nop 0
;printf_core+224
	ldbz %r2,%r9,1
	bwnei %r2,37,printf_core+272
	ldbz %r10,%r9,2
;printf_core+240
	addi %r2,%r9,2
	addi %r8,%r8,1
	mov %r9,%r2
;printf_core+256
	bweqi %r10,37,printf_core+224
	jmp printf_core+288
	nop 0
;printf_core+272
	mov %r2,%r9
	nop 0
	nop 0
;printf_core+288
	sub %r30,%r8,%r7
	xori.l %r22,%r1,2147483647
;printf_core+304
	srliw %r8,%r22,0
	bdlt %r8,%r30,printf_core+4096
	bdeq %r6,%gz,printf_core+80
;printf_core+320
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+80
	sraiw %r35,%r30,0
;printf_core+336
	mov2 %r34,%r36,%r7,%r6
	callr %r33,__fwritex
	jmp printf_core+80
;printf_core+352
	ldbs %r9,%r2,1
	addiws %r23,%r9,-48
	addi %r10,%r2,1
;printf_core+368
	bwgeui %r23,10,printf_core+576
	ldbz %r24,%r2,2
	mov %r8,%r11
;printf_core+384
	bwnei %r24,36,printf_core+416
	addi %r10,%r2,3
	ldbs %r9,%r2,3
;printf_core+400
	mov2 %r21,%r8,%r16,%r23
	nop 0
	nop 0
;printf_core+416
	addiws %r2,%r9,-32
	bwgeui %r2,32,printf_core+592
	nop 0
;printf_core+432
	sllw %r2,%r16,%r2
	andi %r23,%r2,75913
	bweq %r23,%gz,printf_core+832
;printf_core+448
	mov %r23,%gz
	addi %r24,%r10,1
	nop 0
;printf_core+464
	mov %r10,%r24
	ldbs %r9,%r24,0
	addiws %r24,%r9,-32
;printf_core+480
	or %r23,%r2,%r23
	bwgeui %r24,32,printf_core+512
	sllw %r2,%r16,%r24
;printf_core+496
	andi %r25,%r2,75913
	addi %r24,%r10,1
	bwne %r25,%gz,printf_core+464
;printf_core+512
	bwnei %r9,42,printf_core+608
	nop 0
	nop 0
;printf_core+528
	ldbs %r2,%r10,1
	addiws %r2,%r2,-48
	bwgeui %r2,10,printf_core+768
;printf_core+544
	ldbz %r9,%r10,2
	bwnei %r9,36,printf_core+768
	srliw %r2,%r2,0
;printf_core+560
	bdeq %r6,%gz,printf_core+880
	ldwzx.xd %r32,%r4,%r2,4,0
	jmp printf_core+896
;printf_core+576
	mov %r8,%r11
	addiws %r2,%r9,-32
	bwltui %r2,32,printf_core+432
;printf_core+592
	mov %r23,%gz
	bweqi %r9,42,printf_core+528
	nop 0
;printf_core+608
	mov %r32,%gz
	addiws %r25,%r9,-48
	bwgeui %r25,10,printf_core+928
;printf_core+624
	mov %r9,%r10
	jmp printf_core+720
	nop 0
;printf_core+640
	mov %r2,%r25
	mulwsi %r10,%r32,10
	nop 2
;printf_core+656
	xori.l %r24,%r10,2147483647
	ldbs %r25,%r9,1
;printf_core+672
	cmpwltu %r26,%r24,%r2
	addws %r27,%r10,%r2
	ldi %r28,-1
;printf_core+688
	addi %r10,%r9,1
	addiws %r25,%r25,-48
	cmovlsb %r32,%r26,%r28,%r27
;printf_core+704
	mov %r9,%r10
	bwgeui %r25,10,printf_core+864
	nop 0
;printf_core+720
	bwltui.l %r32,214748365,printf_core+640
	ldbs %r2,%r9,1
;printf_core+736
	addi %r9,%r9,1
	addiws %r25,%r2,-48
	ldi %r32,-1
;printf_core+752
	bwltui %r25,10,printf_core+720
	jmp printf_core+4096
	nop 0
;printf_core+768
	bwne %r21,%gz,printf_core+4080
	addi %r10,%r10,1
	bdeq %r6,%gz,printf_core+848
;printf_core+784
	lddz %r2,%r3,0
	mov %r21,%gz
	algnup %r2,%r2,0,2
;printf_core+800
	addi %r9,%r2,4
	std %r9,%r3,0
	ldwz %r32,%r2,0
;printf_core+816
	bwgei %r32,0,printf_core+928
	jmp printf_core+912
	nop 0
;printf_core+832
	mov %r23,%gz
	bweqi %r9,42,printf_core+528
	jmp printf_core+608
;printf_core+848
	mov2 %r21,%r32,%gz,%gz
	jmp printf_core+928
	nop 0
;printf_core+864
	bwleu %r2,%r24,printf_core+928
	jmp printf_core+4096
	nop 0
;printf_core+880
	mov %r32,%gz
	stwx.xd %r17,%r5,%r2,2,0
	nop 0
;printf_core+896
	addi %r10,%r10,3
	mov %r21,%r16
	bwgei %r32,0,printf_core+928
;printf_core+912
	ori %r23,%r23,8192
	subfiws %r32,%r32,0
	nop 0
;printf_core+928
	ldbz %r2,%r10,0
	bwnei %r2,46,printf_core+1008
	ldbs %r2,%r10,1
;printf_core+944
	bwnei %r2,42,printf_core+1024
	ldbs %r2,%r10,2
	addiws %r2,%r2,-48
;printf_core+960
	bwgeui %r2,10,printf_core+1152
	ldbz %r9,%r10,3
	bwnei %r9,36,printf_core+1152
;printf_core+976
	srliw %r2,%r2,0
	bdeq %r6,%gz,printf_core+1280
	ldwzx.xd %r9,%r4,%r2,4,0
;printf_core+992
	addi %r10,%r10,4
	cmpwgti %r24,%r9,-1
	jmp printf_core+1312
;printf_core+1008
	mov2 %r24,%r9,%gz,%r11
	jmp printf_core+1312
	nop 0
;printf_core+1024
	addiws %r2,%r2,-48
	addi %r10,%r10,1
	bwgeui %r2,10,printf_core+1216
;printf_core+1040
	mov %r24,%gz
	jmp printf_core+1088
	nop 0
;printf_core+1056
	ldbs %r2,%r10,1
	addi %r25,%r10,1
	addiws %r2,%r2,-48
;printf_core+1072
	mov2 %r24,%r10,%r9,%r25
	bwgeui %r2,10,printf_core+1232
	nop 0
;printf_core+1088
	mov %r9,%r11
	bwgeui.l %r24,214748365,printf_core+1056
;printf_core+1104
	mulwsi %r9,%r24,10
	xori.l %r24,%r9,2147483647
;printf_core+1120
	cmpwltu %r24,%r24,%r2
	addws %r2,%r9,%r2
	cmovlsb %r9,%r24,%r11,%r2
;printf_core+1136
	jmp printf_core+1056
	nop 0
	nop 0
;printf_core+1152
	bwne %r21,%gz,printf_core+4080
	addi %r10,%r10,2
	bdeq %r6,%gz,printf_core+1264
;printf_core+1168
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r9,%r2,4
;printf_core+1184
	std %r9,%r3,0
	ldwz %r9,%r2,0
	cmpwgti %r24,%r9,-1
;printf_core+1200
	jmp printf_core+1312
	nop 0
	nop 0
;printf_core+1216
	mov %r9,%gz
	jmp printf_core+1248
	nop 0
;printf_core+1232
	mov %r10,%r25
	nop 0
	nop 0
;printf_core+1248
	mov %r24,%r16
	jmp printf_core+1312
	nop 0
;printf_core+1264
	mov %r9,%gz
	jmp printf_core+1296
	nop 0
;printf_core+1280
	mov %r9,%gz
	stwx.xd %r17,%r5,%r2,2,0
	addi %r10,%r10,4
;printf_core+1296
	cmpwgti %r24,%gz,-1
	nop 0
	nop 0
;printf_core+1312
	mov2 %r35,%r2,%gz,%r10
	nop 0
	nop 0
;printf_core+1328
	ldbs %r25,%r2,0
	addiws %r26,%r25,-123
	nop 2
;printf_core+1344
	bwltui.l %r26,4294967238,printf_core+4080
	mov %r10,%r35
;printf_core+1360
	sraiw %r26,%r25,0
	srliw %r25,%r35,0
	muladd %r26,%r25,%r18,%r26
;printf_core+1376
	ldbzx.xd %r35,%r26,%r19,0,0
	addiws %r26,%r35,-1
	andi %r26,%r26,255
;printf_core+1392
	addi %r2,%r2,1
	bwltui %r26,8,printf_core+1328
	bweqi %r35,27,printf_core+1456
;printf_core+1408
	bweq %r35,%gz,printf_core+4080
	bwlt %r8,%gz,printf_core+1488
	srliw %r8,%r8,0
;printf_core+1424
	bdeq %r6,%gz,printf_core+1664
	ldqx.xd %r8,%r4,%r8,4,0
	stq %r8,%sp,48
;printf_core+1440
	jmp printf_core+1520
	nop 0
	nop 0
;printf_core+1456
	bwgei %r8,0,printf_core+4080
	mov %r30,%gz
	bdne %r6,%gz,printf_core+1520
;printf_core+1472
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+1488
	bdeq %r6,%gz,printf_core+4016
	addi %r34,%sp,48
	mov %r36,%r3
;printf_core+1504
	callr %r33,pop_arg
	nop 0
	nop 0
;printf_core+1520
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+4112
	ldbz %r8,%r2,-1
;printf_core+1536
	slsrai %r26,%r8,56,56
	andi %r8,%r8,15
	cmpweqi %r8,%r8,3
;printf_core+1552
	andi %r27,%r26,-45
	cmovlsb %r8,%r8,%r27,%r26
	cmovweq %r35,%r10,%r26,%r8
;printf_core+1568
	andi %r8,%r23,8192
	andi %r26,%r23,-65537
	addiws %r27,%r35,-65
;printf_core+1584
	cmovweq %r8,%r8,%r23,%r26
	bwgeui %r27,56,printf_core+1728
	addiwz %r23,%r35,-65
;printf_core+1600
	ldafr %r27,.rodata+28884
	jmpt %r27,%r23
	nop 0
;printf_core+1616
	cmpwlti %r7,%r9,0
	and %r7,%r24,%r7
	bbsi %r7,0,printf_core+4096
;printf_core+1632
	ldq %r31,%sp,48
	mov2 %r30,%r33,%r6,%r9
	mov2 %r34,%r36,%r8,%r10
;printf_core+1648
	callr %r29,fmt_fp
	bwle %gz,%r30,printf_core+96
	jmp printf_core+4096
;printf_core+1664
	mov %r30,%gz
	stwx.xd %r35,%r5,%r8,2,0
	jmp printf_core+96
;printf_core+1680
	lddz %r23,%sp,48
	bdlti %r23,0,printf_core+2640
	bbsi %r8,11,printf_core+2672
;printf_core+1696
	ldafr %r7,.rodata+40
	ldafr %r10,.rodata+42
	andi %r25,%r8,1
;printf_core+1712
	cmovlsb %r10,%r8,%r7,%r10
	jmp printf_core+2688
	nop 0
;printf_core+1728
	mov2 %r25,%r23,%gz,%r14
	jmp printf_core+1888
	nop 0
;printf_core+1744
	lddz %r7,%sp,48
	ldafr %r8,.rodata+27868
	cmovdeq %r7,%r7,%r8,%r7
;printf_core+1760
	jmp printf_core+1808
	nop 0
	nop 0
;printf_core+1776
	callr %r35,___errno_location
	ldwz %r36,%r36,0
	callr %r35,strerror
;printf_core+1792
	mov %r7,%r36
	nop 0
	nop 0
;printf_core+1808
	ldi.l %r8,2147483647
	minuw %r8,%r9,%r8
;printf_core+1824
	srliw %r36,%r8,0
	mov %r35,%r7
	callr %r34,strnlen
;printf_core+1840
	add %r23,%r7,%r35
	bwgei %r9,0,printf_core+1872
	ldbz %r8,%r23,0
;printf_core+1856
	bwne %r8,%gz,printf_core+4096
	nop 0
	nop 0
;printf_core+1872
	mov2 %r25,%r8,%gz,%r26
	mov %r9,%r35
	nop 0
;printf_core+1888
	mov %r10,%r20
	jmp printf_core+2960
	nop 0
;printf_core+1904
	lddz %r10,%sp,48
	mov %r7,%r14
	bdeq %r10,%gz,printf_core+1984
;printf_core+1920
	mov %r23,%r14
	nop 0
	nop 0
;printf_core+1936
	mov %r25,%r10
	andi %r7,%r10,7
	ori %r10,%r7,48
;printf_core+1952
	addi %r7,%r23,-1
	stb %r10,%r23,-1
	srli %r10,%r25,3
;printf_core+1968
	mov %r23,%r7
	bdgeui %r25,8,printf_core+1936
	nop 0
;printf_core+1984
	ldafr %r10,.rodata+40
	bbci %r8,3,printf_core+2320
	sraiw %r25,%r9,0
;printf_core+2000
	sub %r23,%r14,%r7
	bdlt %r23,%r25,printf_core+2320
	mov %r25,%gz
;printf_core+2016
	addiws %r9,%r23,1
	jmp printf_core+2800
	nop 0
;printf_core+2032
	andi %r7,%r10,255
	mov %r30,%gz
	bwgeui %r7,8,printf_core+96
;printf_core+2048
	ldafr %r7,.rodata+29108
	jmpt %r7,%r25
	nop 0
;printf_core+2064
	lddz %r7,%sp,48
	mov %r30,%gz
	sraiw %r8,%r1,0
;printf_core+2080
	std %r8,%r7,0
	jmp printf_core+96
	nop 0
;printf_core+2096
	mov %r25,%gz
	ldafr %r10,.rodata+40
	lddz %r23,%sp,48
;printf_core+2112
	jmp printf_core+2688
	nop 0
	nop 0
;printf_core+2128
	lddz %r7,%sp,48
	bdeq %r7,%gz,printf_core+2912
	stw %r7,%sp,16
;printf_core+2144
	stw %gz,%sp,20
	addi %r22,%sp,16
	std %r22,%sp,48
;printf_core+2160
	ldi %r10,-1
	jmp printf_core+2368
	nop 0
;printf_core+2176
	ldbz %r7,%sp,48
	jmp printf_core+2928
	nop 0
;printf_core+2192
	ldi %r7,16
	maxuw %r9,%r9,%r7
	ori %r8,%r8,8
;printf_core+2208
	ldi %r35,120
	nop 0
	nop 0
;printf_core+2224
	lddz %r25,%sp,48
	ldafr %r10,.rodata+40
	bdeq %r25,%gz,printf_core+2336
;printf_core+2240
	andi %r23,%r35,32
	mov %r7,%r14
	nop 0
;printf_core+2256
	mov %r26,%r25
	andi %r25,%r25,15
	ldafr %r27,xdigits
;printf_core+2272
	ldbzx.xd %r25,%r25,%r27,0,0
	or %r25,%r25,%r23
	stb %r25,%r7,-1
;printf_core+2288
	addi %r7,%r7,-1
	srli %r25,%r26,4
	bdgeui %r26,16,printf_core+2256
;printf_core+2304
	bbsi %r8,3,printf_core+2608
	nop 0
	nop 0
;printf_core+2320
	mov %r25,%gz
	jmp printf_core+2800
	nop 0
;printf_core+2336
	mov2 %r25,%r7,%gz,%r14
	jmp printf_core+2800
	nop 0
;printf_core+2352
	bweq %r9,%gz,printf_core+3712
	lddz %r22,%sp,48
	sraiw %r10,%r9,0
;printf_core+2368
	mov2 %r7,%r23,%gz,%r22
	nop 0
	nop 0
;printf_core+2384
	ldwz %r36,%r23,0
	bweq %r36,%gz,printf_core+2448
	addi %r35,%sp,12
;printf_core+2400
	callr %r34,wctomb
	bwlt %r35,%gz,printf_core+4112
	srliw %r9,%r35,0
;printf_core+2416
	sub %r24,%r10,%r7
	bdltu %r24,%r9,printf_core+2448
	add %r7,%r7,%r9
;printf_core+2432
	addi %r23,%r23,4
	bdltu %r7,%r10,printf_core+2384
	nop 0
;printf_core+2448
	bdgeui.l %r7,2147483648,printf_core+4096
	mov %r9,%r32
;printf_core+2464
	ldi %r33,32
	mov2 %r32,%r34,%r6,%r9
	mov2 %r35,%r36,%r7,%r8
;printf_core+2480
	callr %r31,pad
	bdeq %r7,%gz,printf_core+3744
	mov %r23,%gz
;printf_core+2496
	jmp printf_core+2528
	nop 0
	nop 0
;printf_core+2512
	addi %r22,%r22,4
	bdleu %r7,%r23,printf_core+3760
	nop 0
;printf_core+2528
	ldwz %r36,%r22,0
	bweq %r36,%gz,printf_core+3760
	addi %r35,%sp,12
;printf_core+2544
	callr %r34,wctomb
	ldax.xw %r23,%r23,%r35,0,0
	bdltu %r7,%r23,printf_core+3760
;printf_core+2560
	ldbz %r10,%r6,0
	bbsi %r10,5,printf_core+2512
	sraiw %r35,%r35,0
;printf_core+2576
	addi %r34,%sp,12
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+2592
	jmp printf_core+2512
	nop 0
	nop 0
;printf_core+2608
	sraiw %r10,%r35,4
	ldafr %r23,.rodata+40
	ldax.xw %r10,%r23,%r10,0,0
;printf_core+2624
	ldi %r25,2
	jmp printf_core+2800
	nop 0
;printf_core+2640
	subfi %r23,%r23,0
	std %r23,%sp,48
	ldi %r25,1
;printf_core+2656
	ldafr %r10,.rodata+40
	jmp printf_core+2688
	nop 0
;printf_core+2672
	ldi %r25,1
	ldafr %r10,.rodata+41
	nop 0
;printf_core+2688
	bdltui %r23,10,printf_core+2752
	mov %r26,%r14
	nop 0
;printf_core+2704
	mov %r27,%r23
	divui %r23,%r23,10
	mulsubf %r7,%r23,%r17,%r27
;printf_core+2720
	ori %r28,%r7,48
	addi %r7,%r26,-1
	stb %r28,%r26,-1
;printf_core+2736
	mov %r26,%r7
	bdgeui %r27,100,printf_core+2704
	jmp printf_core+2768
;printf_core+2752
	mov %r7,%r14
	nop 0
	nop 0
;printf_core+2768
	bdeq %r23,%gz,printf_core+2800
	ori %r23,%r23,48
	addi %r26,%r7,-1
;printf_core+2784
	stb %r23,%r7,-1
	mov %r7,%r26
	nop 0
;printf_core+2800
	cmpwlti %r23,%r9,0
	and %r23,%r24,%r23
	bbsi %r23,0,printf_core+4096
;printf_core+2816
	lddz %r23,%sp,48
	andi %r26,%r8,-65537
	cmovlsb %r8,%r24,%r26,%r8
;printf_core+2832
	bdne %r23,%gz,printf_core+2864
	bwne %r9,%gz,printf_core+2864
	mov2 %r9,%r23,%gz,%r14
;printf_core+2848
	mov %r7,%r14
	jmp printf_core+2960
	nop 0
;printf_core+2864
	cmpdeqi %r23,%r23,0
	sraiw %r9,%r9,0
	sub %r24,%r14,%r7
;printf_core+2880
	add %r23,%r24,%r23
	maxs %r9,%r23,%r9
	mov %r23,%r14
;printf_core+2896
	jmp printf_core+2960
	nop 0
	nop 0
;printf_core+2912
	mov %r7,%gz
	nop 0
	nop 0
;printf_core+2928
	mov %r25,%gz
	stb %r7,%sp,47
	ldi %r9,1
;printf_core+2944
	mov2 %r23,%r8,%r14,%r26
	mov2 %r10,%r7,%r20,%r15
	nop 0
;printf_core+2960
	sraiw %r24,%r9,0
	sub %r9,%r23,%r7
	maxs %r24,%r9,%r24
;printf_core+2976
	xori.l %r23,%r25,2147483647
	bwlt %r23,%r24,printf_core+4096
;printf_core+2992
	addws %r23,%r25,%r24
	maxsw %r30,%r32,%r23
	bwlt %r22,%r30,printf_core+4096
;printf_core+3008
	andi %r22,%r8,73728
	bwne %r22,%gz,printf_core+3104
	bwle %r32,%r23,printf_core+3104
;printf_core+3024
	subws %r26,%r30,%r23
	ldi %r8,256
	minuw %r8,%r26,%r8
;printf_core+3040
	srliw %r36,%r8,0
	addi %r34,%sp,64
	ldi %r35,32
;printf_core+3056
	callr %r33,memset
	bwgeui %r26,256,printf_core+3536
	nop 0
;printf_core+3072
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3104
	srliw %r35,%r26,0
;printf_core+3088
	addi %r34,%sp,64
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3104
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3136
	srliw %r35,%r25,0
;printf_core+3120
	mov2 %r34,%r36,%r10,%r6
	callr %r33,__fwritex
	nop 0
;printf_core+3136
	bwnei.l %r22,65536,printf_core+3232
	bwle %r32,%r23,printf_core+3232
;printf_core+3152
	subws %r10,%r30,%r23
	ldi %r8,256
	minuw %r8,%r10,%r8
;printf_core+3168
	srliw %r36,%r8,0
	addi %r34,%sp,64
	ldi %r35,48
;printf_core+3184
	callr %r33,memset
	bwgeui %r10,256,printf_core+3600
	nop 0
;printf_core+3200
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3232
	srliw %r35,%r10,0
;printf_core+3216
	addi %r34,%sp,64
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3232
	bwle %r24,%r9,printf_core+3312
	subws %r10,%r24,%r9
	ldi %r8,256
;printf_core+3248
	minuw %r8,%r10,%r8
	srliw %r36,%r8,0
	addi %r34,%sp,64
;printf_core+3264
	ldi %r35,48
	callr %r33,memset
	bwgeui %r10,256,printf_core+3472
;printf_core+3280
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3312
	srliw %r35,%r10,0
;printf_core+3296
	addi %r34,%sp,64
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3312
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3344
	mov2 %r34,%r35,%r7,%r9
;printf_core+3328
	mov %r36,%r6
	callr %r33,__fwritex
	nop 0
;printf_core+3344
	bwnei.l %r22,8192,printf_core+96
	bwle %r32,%r23,printf_core+96
;printf_core+3360
	subws %r8,%r30,%r23
	ldi %r7,256
	minuw %r7,%r8,%r7
;printf_core+3376
	srliw %r36,%r7,0
	addi %r34,%sp,64
	ldi %r35,32
;printf_core+3392
	callr %r33,memset
	bwgeui %r8,256,printf_core+3664
	nop 0
;printf_core+3408
	ldbz %r7,%r6,0
	bbsi %r7,5,printf_core+96
	srliw %r35,%r8,0
;printf_core+3424
	addi %r34,%sp,64
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3440
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3456
	addiws %r10,%r10,-256
	bwltui %r10,256,printf_core+3280
	nop 0
;printf_core+3472
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3456
	addi %r34,%sp,64
;printf_core+3488
	ldi %r35,256
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3504
	jmp printf_core+3456
	nop 0
	nop 0
;printf_core+3520
	addiws %r26,%r26,-256
	bwltui %r26,256,printf_core+3072
	nop 0
;printf_core+3536
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3520
	addi %r34,%sp,64
;printf_core+3552
	ldi %r35,256
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3568
	jmp printf_core+3520
	nop 0
	nop 0
;printf_core+3584
	addiws %r10,%r10,-256
	bwltui %r10,256,printf_core+3200
	nop 0
;printf_core+3600
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3584
	addi %r34,%sp,64
;printf_core+3616
	ldi %r35,256
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3632
	jmp printf_core+3584
	nop 0
	nop 0
;printf_core+3648
	addiws %r8,%r8,-256
	bwltui %r8,256,printf_core+3408
	nop 0
;printf_core+3664
	ldbz %r7,%r6,0
	bbsi %r7,5,printf_core+3648
	addi %r34,%sp,64
;printf_core+3680
	ldi %r35,256
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3696
	jmp printf_core+3648
	nop 0
	nop 0
;printf_core+3712
	ldi %r33,32
	mov2 %r34,%r32,%r32,%r6
	mov2 %r9,%r35,%r34,%gz
;printf_core+3728
	mov %r36,%r8
	callr %r31,pad
	nop 0
;printf_core+3744
	mov %r7,%gz
	nop 0
	nop 0
;printf_core+3760
	xori %r36,%r8,8192
	ldi %r33,32
	mov2 %r32,%r34,%r6,%r9
;printf_core+3776
	mov %r35,%r7
	callr %r31,pad
	maxsw %r30,%r9,%r7
;printf_core+3792
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3808
	lddz %r7,%sp,48
	mov %r30,%gz
	stw %r1,%r7,0
;printf_core+3824
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3840
	lddz %r7,%sp,48
	mov %r30,%gz
	sth %r1,%r7,0
;printf_core+3856
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3872
	lddz %r7,%sp,48
	mov %r30,%gz
	stb %r1,%r7,0
;printf_core+3888
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3904
	bdeq %r6,%gz,printf_core+3936
	nop 0
	nop 0
;printf_core+3920
	retf 320
	nop 0
	nop 0
;printf_core+3936
	bweq %r21,%gz,printf_core+4016
	ldi %r1,1
	addi %r2,%r4,16
;printf_core+3952
	ldi %r6,4
	mov %r7,%r1
	nop 0
;printf_core+3968
	ldwzx.xd %r35,%r5,%r6,0,0
	bweq %r35,%gz,printf_core+4032
	mov2 %r34,%r36,%r2,%r3
;printf_core+3984
	callr %r33,pop_arg
	addi %r7,%r7,1
	addi %r6,%r6,4
;printf_core+4000
	addi %r2,%r2,16
	bdnei %r7,10,printf_core+3968
	jmp printf_core+3920
;printf_core+4016
	mov %r1,%gz
	retf 320
	nop 0
;printf_core+4032
	bdgeui %r7,10,printf_core+3920
	nop 0
	nop 0
;printf_core+4048
	ldwzx.xd %r2,%r5,%r6,0,0
	bwne %r2,%gz,printf_core+4080
	addi %r6,%r6,4
;printf_core+4064
	bdnei %r6,40,printf_core+4048
	jmp printf_core+3920
	nop 0
;printf_core+4080
	mov %r13,%r12
	nop 0
	nop 0
;printf_core+4096
	callr %r35,___errno_location
	stw %r13,%r36,0
	nop 0
;printf_core+4112
	mov %r1,%r11
	retf 320
	nop 0
;pop_arg
	alloc 5
	addiws %r4,%r2,-9
	bwgeui %r4,18,pop_arg+368
;pop_arg+16
	addiwz %r2,%r2,-9
	ldafr %r4,.rodata+29140
	jmpt %r4,%r2
;pop_arg+32
	lddz %r2,%r3,0
	algnup %r2,%r2,0,3
	addi %r4,%r2,8
;pop_arg+48
	std %r4,%r3,0
	lddz %r2,%r2,0
	std %r2,%r1,0
;pop_arg+64
	retf 0
	nop 0
	nop 0
;pop_arg+80
	lddz %r2,%r3,0
	algnup %r2,%r2,0,3
	addi %r4,%r2,8
;pop_arg+96
	std %r4,%r3,0
	lddz %r2,%r2,0
	fextsd2sq %r2,%r2
;pop_arg+112
	jmp pop_arg+352
	nop 0
	nop 0
;pop_arg+128
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+144
	std %r4,%r3,0
	ldbs %r2,%r2,0
	std %r2,%r1,0
;pop_arg+160
	retf 0
	nop 0
	nop 0
;pop_arg+176
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+192
	std %r4,%r3,0
	ldwz %r2,%r2,0
	std %r2,%r1,0
;pop_arg+208
	retf 0
	nop 0
	nop 0
;pop_arg+224
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+240
	std %r4,%r3,0
	ldhs %r2,%r2,0
	std %r2,%r1,0
;pop_arg+256
	retf 0
	nop 0
	nop 0
;pop_arg+272
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+288
	std %r4,%r3,0
	ldbz %r2,%r2,0
	std %r2,%r1,0
;pop_arg+304
	retf 0
	nop 0
	nop 0
;pop_arg+320
	lddz %r2,%r3,0
	algnup %r2,%r2,0,4
	addi %r4,%r2,16
;pop_arg+336
	std %r4,%r3,0
	ldq %r2,%r2,0
	nop 0
;pop_arg+352
	stq %r2,%r1,0
	nop 0
	nop 0
;pop_arg+368
	retf 0
	nop 0
	nop 0
;pop_arg+384
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+400
	std %r4,%r3,0
	ldhz %r2,%r2,0
	std %r2,%r1,0
;pop_arg+416
	retf 0
	nop 0
	nop 0
;pop_arg+432
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+448
	std %r4,%r3,0
	ldws %r2,%r2,0
	std %r2,%r1,0
;pop_arg+464
	retf 0
	nop 0
	nop 0
;pad
	allocsp 10,256
	bwle %r3,%r4,pad+160
	andi %r5,%r5,73728
;pad+16
	bwne %r5,%gz,pad+160
	subws %r5,%r3,%r4
	ldi %r3,256
;pad+32
	minuw %r3,%r5,%r3
	srliw %r9,%r3,0
	addi %r7,%sp,0
;pad+48
	mov %r8,%r2
	callr %r6,memset
	bwltui %r5,256,pad+128
;pad+64
	addi %r2,%sp,0
	ldi %r3,256
	jmp pad+96
;pad+80
	addiws %r5,%r5,-256
	bwltui %r5,256,pad+128
	nop 0
;pad+96
	ldbz %r4,%r1,0
	bbsi %r4,5,pad+80
	mov2 %r7,%r8,%r2,%r3
;pad+112
	mov %r9,%r1
	callr %r6,__fwritex
	jmp pad+80
;pad+128
	ldbz %r2,%r1,0
	bbsi %r2,5,pad+160
	srliw %r8,%r5,0
;pad+144
	addi %r7,%sp,0
	mov %r9,%r1
	callr %r6,__fwritex
;pad+160
	retf 256
	nop 0
	nop 0
;fmt_fp
	allocsp 36,320
	mov2 %r8,%r9,%r2,%r1
	cmpweqi %r1,%r7,5
;fmt_fp+16
	ldi %r2,126
	ldi %r7,1842
	mov %r10,%fp
;fmt_fp+32
	cmovlsb %r12,%r1,%r7,%r2
	algnup %r1,%r12,2,4
	sub %r13,%sp,%r1
;fmt_fp+48
	addi %fp,%sp,320
	mov %sp,%r13
	stw %gz,%fp,-260
;fmt_fp+64
	mov %r35,%r8
	callr %r34,__signbitl
	ldi %r11,1
;fmt_fp+80
	bweq %r35,%gz,fmt_fp+112
	mov %r16,%gz
	fnegsq %r8,%r8
;fmt_fp+96
	ldafr %r2,.rodata+4239
	jmp fmt_fp+176
	nop 0
;fmt_fp+112
	bbsi %r5,11,fmt_fp+160
	andi %r11,%r5,1
	ldafr %r1,.rodata+4245
;fmt_fp+128
	ldafr %r2,.rodata+4240
	cmpweqi %r16,%r11,0
	cmovlsb %r2,%r5,%r2,%r1
;fmt_fp+144
	jmp fmt_fp+176
	nop 0
	nop 0
;fmt_fp+160
	mov %r16,%gz
	ldafr %r2,.rodata+4242
	nop 0
;fmt_fp+176
	mov %r35,%r8
	callr %r34,__fpclassifyl
	bwlti %r35,2,fmt_fp+320
;fmt_fp+192
	addi %r7,%fp,-297
	addi %r35,%fp,-260
	mov %r34,%r8
;fmt_fp+208
	callr %r33,frexpl
	faddsq %r18,%r34,%r34
	ldi %r15,0
;fmt_fp+224
	ldi %r1,-1
	bfsqoeq %r18,%gz,fmt_fp+816
	ldwz %r14,%fp,-260
;fmt_fp+240
	addiws %r8,%r14,-1
	ori %r17,%r6,32
	stw %r8,%fp,-260
;fmt_fp+256
	bweqi %r17,97,fmt_fp+832
	ldi %r8,6
	mov %r19,%r15
;fmt_fp+272
	cmovwlt %r8,%r4,%r8,%r4
	ldih.l %r19,4619285842798575616
;fmt_fp+288
	fmulsq %r18,%r18,%r19
	addiws %r20,%r14,-29
	stw %r20,%fp,-260
;fmt_fp+304
	jmp fmt_fp+944
	nop 0
	nop 0
;fmt_fp+320
	addiws %r12,%r11,3
	bbsi %r5,13,fmt_fp+480
	bwleu %r3,%r12,fmt_fp+480
;fmt_fp+336
	subws %r13,%r3,%r12
	ldi %r1,256
	minuw %r1,%r13,%r1
;fmt_fp+352
	srliw %r35,%r1,0
	addi %r33,%fp,-256
	ldi %r34,32
;fmt_fp+368
	callr %r32,memset
	bwltui %r13,256,fmt_fp+448
	addi %r1,%fp,-256
;fmt_fp+384
	ldi %r4,256
	jmp fmt_fp+416
	nop 0
;fmt_fp+400
	addiws %r13,%r13,-256
	bwltui %r13,256,fmt_fp+448
	nop 0
;fmt_fp+416
	ldbz %r7,%r9,0
	bbsi %r7,5,fmt_fp+400
	mov2 %r33,%r34,%r1,%r4
;fmt_fp+432
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+400
;fmt_fp+448
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+480
	srliw %r34,%r13,0
;fmt_fp+464
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+480
	ldwz %r1,%r9,0
	bbci %r1,5,fmt_fp+528
	bbci %r1,5,fmt_fp+560
;fmt_fp+496
	andi %r1,%r5,73728
	bweqi.l %r1,8192,fmt_fp+640
;fmt_fp+512
	jmp fmt_fp+784
	nop 0
	nop 0
;fmt_fp+528
	srliw %r34,%r11,0
	mov2 %r33,%r35,%r2,%r9
	callr %r32,__fwritex
;fmt_fp+544
	ldwz %r1,%r9,0
	bbsi %r1,5,fmt_fp+496
	nop 0
;fmt_fp+560
	andi %r1,%r6,32
	ldafr %r2,.rodata+9660
	ldafr %r4,.rodata+12781
;fmt_fp+576
	ldafr %r6,.rodata+22864
	ldafr %r7,.rodata+22256
	cmovweq %r2,%r1,%r4,%r2
;fmt_fp+592
	fcmpsquo %r4,%r8,%r8
	cmovweq %r1,%r1,%r7,%r6
	cmovlsb %r33,%r4,%r1,%r2
;fmt_fp+608
	ldi %r34,3
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+624
	andi %r1,%r5,73728
	bwnei.l %r1,8192,fmt_fp+784
;fmt_fp+640
	bwleu %r3,%r12,fmt_fp+784
	subws %r5,%r3,%r12
	ldi %r1,256
;fmt_fp+656
	minuw %r1,%r5,%r1
	srliw %r35,%r1,0
	addi %r33,%fp,-256
;fmt_fp+672
	ldi %r34,32
	callr %r32,memset
	bwltui %r5,256,fmt_fp+752
;fmt_fp+688
	addi %r1,%fp,-256
	ldi %r2,256
	jmp fmt_fp+720
;fmt_fp+704
	addiws %r5,%r5,-256
	bwltui %r5,256,fmt_fp+752
	nop 0
;fmt_fp+720
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+704
	mov2 %r33,%r34,%r1,%r2
;fmt_fp+736
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+704
;fmt_fp+752
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+784
	srliw %r34,%r5,0
;fmt_fp+768
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+784
	maxuw %r1,%r3,%r12
	nop 0
	nop 0
;fmt_fp+800
	mov %sp,%fp
	mov %fp,%r10
	retf 0
;fmt_fp+816
	ori %r17,%r6,32
	bwnei %r17,97,fmt_fp+928
	nop 0
;fmt_fp+832
	andi %r13,%r6,32
	ldi %r8,9
	cmovweq %r8,%r13,%gz,%r8
;fmt_fp+848
	add %r8,%r2,%r8
	bwgeui %r4,28,fmt_fp+2192
	ldi %r2,112
;fmt_fp+864
	slsubws %r35,%r2,%r4,2
	ldi.l %r34,4607182418800017408
;fmt_fp+880
	callr %r33,scalbn
	ldbz %r2,%r8,0
	bwnei %r2,45,fmt_fp+2176
;fmt_fp+896
	fnegsq %r2,%r18
	fextsd2sq %r12,%r34
	fsubsq %r2,%r2,%r12
;fmt_fp+912
	fnaddsq %r18,%r2,%r12
	jmp fmt_fp+2192
	nop 0
;fmt_fp+928
	ldi %r8,6
	cmovwlt %r8,%r4,%r8,%r4
	ldwz %r20,%fp,-260
;fmt_fp+944
	ldax.xd.l %r4,%r13,%r12,2,-456
	cmovwlt %r13,%r20,%r13,%r4
;fmt_fp+960
	andi %r14,%r5,8
	mov %r19,%r13
	nop 0
;fmt_fp+976
	fcvtsq2uw %r4,%r18,0
	stw %r4,%r19,0
	fcvtuw2sq %r4,%r4,0
;fmt_fp+992
	mov %r12,%r15
	fsubsq %r4,%r18,%r4
	nop 2
;fmt_fp+1008
	ldih.l %r12,4619810130798575616
	fmulsq %r18,%r4,%r12
;fmt_fp+1024
	addi %r19,%r19,4
	bfsqune %r18,%gz,fmt_fp+976
	nop 2
;fmt_fp+1040
	ldi.l %r4,1000000000
	bwlti %r20,1,fmt_fp+1248
;fmt_fp+1056
	ldi %r21,29
	mov %r12,%r13
	jmp fmt_fp+1104
;fmt_fp+1072
	ldwz %r19,%fp,-260
	subws %r20,%r19,%r20
	stw %r20,%fp,-260
;fmt_fp+1088
	mov %r19,%r18
	bwle %r20,%gz,fmt_fp+1264
	nop 0
;fmt_fp+1104
	addi %r18,%r19,-4
	minuw %r20,%r20,%r21
	bdltu %r18,%r12,fmt_fp+1216
;fmt_fp+1120
	mov %r22,%gz
	srliw %r23,%r20,0
	nop 0
;fmt_fp+1136
	ldwz %r24,%r18,0
	sll %r24,%r24,%r23
	ldax.xuw %r24,%r24,%r22,0,0
;fmt_fp+1152
	divui.l %r22,%r24,1000000000
	mulsubf %r25,%r22,%r4,%r24
;fmt_fp+1168
	stw %r25,%r18,0
	addi %r18,%r18,-4
	bdleu %r12,%r18,fmt_fp+1136
;fmt_fp+1184
	bdltui.l %r24,1000000000,fmt_fp+1216
	addi %r18,%r12,-4
;fmt_fp+1200
	stw %r22,%r12,-4
	mov %r12,%r18
	nop 0
;fmt_fp+1216
	mov %r18,%r19
	bdleu %r19,%r12,fmt_fp+1072
	ldwz %r22,%r18,-4
;fmt_fp+1232
	addi %r19,%r18,-4
	bweq %r22,%gz,fmt_fp+1216
	jmp fmt_fp+1072
;fmt_fp+1248
	mov2 %r18,%r12,%r19,%r13
	nop 0
	nop 0
;fmt_fp+1264
	cmpweqi %r19,%r17,102
	bwlti %r20,0,fmt_fp+1904
	nop 0
;fmt_fp+1280
	mov %r4,%gz
	bdleu %r18,%r12,fmt_fp+1344
	ldwz %r20,%r12,0
;fmt_fp+1296
	sub %r4,%r13,%r12
	srli %r4,%r4,2
	mulwsi %r4,%r4,9
;fmt_fp+1312
	bwltui %r20,10,fmt_fp+1344
	ldi %r21,10
	nop 0
;fmt_fp+1328
	mulwsi %r21,%r21,10
	addiws %r4,%r4,1
	bwleu %r21,%r20,fmt_fp+1328
;fmt_fp+1344
	cmovlsb %r19,%r19,%gz,%r4
	subws %r19,%r8,%r19
	cmpweqi %r20,%r17,103
;fmt_fp+1360
	cmpwnei %r21,%r8,0
	and %r20,%r21,%r20
	subws %r19,%r19,%r20
;fmt_fp+1376
	sub %r20,%r18,%r13
	srai %r20,%r20,2
	muli %r20,%r20,9
;fmt_fp+1392
	addi %r20,%r20,-9
	bdle %r20,%r19,fmt_fp+3552
	addiws %r19,%r19,147456
;fmt_fp+1408
	muli.l %r20,%r19,954437177
	srli %r21,%r20,63
;fmt_fp+1424
	srai %r20,%r20,33
	addws %r20,%r20,%r21
	ldax.xw %r25,%r13,%r20,2,4
;fmt_fp+1440
	mulwsi %r21,%r20,9
	subws %r22,%r19,%r21
	nop 2
;fmt_fp+1456
	ldax.xw.l %r19,%r13,%r20,2,-65532
	ldi %r21,10
;fmt_fp+1472
	bwgei %r22,8,fmt_fp+1520
	nop 0
	nop 0
;fmt_fp+1488
	mov %r23,%r22
	addiws %r22,%r22,1
	mulwsi %r21,%r21,10
;fmt_fp+1504
	bwlti %r23,7,fmt_fp+1488
	nop 0
	nop 0
;fmt_fp+1520
	ldwz %r22,%r19,0
	divuw %r24,%r22,%r21
	mulws %r23,%r24,%r21
;fmt_fp+1536
	subws %r23,%r22,%r23
	addi %r26,%r25,-65532
	bwne %r23,%gz,fmt_fp+1568
;fmt_fp+1552
	bdeq %r26,%r18,fmt_fp+3536
	nop 0
	nop 0
;fmt_fp+1568
	bbsi %r24,0,fmt_fp+1648
	mov %r24,%r15
	nop 2
;fmt_fp+1584
	ldih.l %r24,4643211215818981376
	nop 2
;fmt_fp+1600
	bwnei.l %r21,1000000000,fmt_fp+1664
	bdleu %r19,%r12,fmt_fp+1664
;fmt_fp+1616
	ldwz %r25,%r25,-65540
	mov %r24,%r15
	nop 2
;fmt_fp+1632
	ldih.l %r24,4643211215818981376
	bbci %r25,0,fmt_fp+1664
;fmt_fp+1648
	ldi %r24,1
	ldih.l %r24,4643211215818981376
;fmt_fp+1664
	cmpdeq %r25,%r26,%r18
	mov2 %r26,%r27,%r15,%r15
	srliw %r28,%r21,1
;fmt_fp+1680
	ldih.l %r26,4611545280939032576
	nop 2
;fmt_fp+1696
	ldih.l %r27,4611404543450677248
	cmpweq %r29,%r23,%r28
;fmt_fp+1712
	cmovlsb %r25,%r25,%r27,%r26
	cmpwltu %r27,%r23,%r28
	cmovlsb %r25,%r29,%r25,%r26
;fmt_fp+1728
	ldih.l %r15,4611123068473966592
	cmovlsb %r15,%r27,%r15,%r25
;fmt_fp+1744
	bbsi %r16,0,fmt_fp+1776
	ldbz %r16,%r2,0
	bwnei %r16,45,fmt_fp+1776
;fmt_fp+1760
	fnegsq %r24,%r24
	fnegsq %r15,%r15
	nop 0
;fmt_fp+1776
	subws %r16,%r22,%r23
	faddsq %r15,%r24,%r15
	stw %r16,%r19,0
;fmt_fp+1792
	bfsqoeq %r15,%r24,fmt_fp+3536
	addws %r4,%r16,%r21
	stw %r4,%r19,0
;fmt_fp+1808
	bwltui.l %r4,1000000000,fmt_fp+3488
	nop 2
;fmt_fp+1824
	ldax.xd.l %r4,%r13,%r20,2,-65536
	jmp fmt_fp+1872
;fmt_fp+1840
	ldwz %r15,%r4,0
	addiws %r15,%r15,1
	stw %r15,%r4,0
;fmt_fp+1856
	addi %r4,%r4,-4
	bwltui.l %r15,1000000000,fmt_fp+3472
;fmt_fp+1872
	stw %gz,%r4,4
	bdleu %r12,%r4,fmt_fp+1840
	addi %r15,%r12,-4
;fmt_fp+1888
	stw %gz,%r12,-4
	mov %r12,%r15
	jmp fmt_fp+1840
;fmt_fp+1904
	addiwz %r21,%r8,45
	muli.l %r21,%r21,954437177
;fmt_fp+1920
	srli %r21,%r21,33
	addiwz %r21,%r21,1
	ldi %r22,9
;fmt_fp+1936
	ldi %r23,-1
	jmp fmt_fp+2032
	nop 0
;fmt_fp+1952
	ldwz %r24,%r12,0
	cmpweqi %r24,%r24,0
	slli %r25,%r24,2
;fmt_fp+1968
	add %r12,%r12,%r25
	cmovlsb %r24,%r19,%r13,%r12
	sub %r25,%r18,%r24
;fmt_fp+1984
	ldwz %r26,%fp,-260
	srai %r25,%r25,2
	cmpdlt %r25,%r21,%r25
;fmt_fp+2000
	sladd %r24,%r24,%r21,2
	cmovlsb %r18,%r25,%r24,%r18
	addws %r20,%r26,%r20
;fmt_fp+2016
	stw %r20,%fp,-260
	bwle %gz,%r20,fmt_fp+1280
	nop 0
;fmt_fp+2032
	subfiws %r20,%r20,0
	minuw %r20,%r20,%r22
	bdleu %r18,%r12,fmt_fp+1952
;fmt_fp+2048
	mov %r24,%gz
	sllw %r25,%r23,%r20
	xori %r25,%r25,-1
;fmt_fp+2064
	srlw %r26,%r4,%r20
	mov %r27,%r12
	nop 0
;fmt_fp+2080
	ldwz %r28,%r27,0
	and %r29,%r28,%r25
	srlw %r28,%r28,%r20
;fmt_fp+2096
	addws %r24,%r28,%r24
	stw %r24,%r27,0
	addi %r27,%r27,4
;fmt_fp+2112
	mulws %r24,%r29,%r26
	bdltu %r27,%r18,fmt_fp+2080
	ldwz %r25,%r12,0
;fmt_fp+2128
	cmpweqi %r25,%r25,0
	slli %r25,%r25,2
	bweq %r24,%gz,fmt_fp+1968
;fmt_fp+2144
	addi %r26,%r18,4
	stw %r24,%r18,0
	mov %r18,%r26
;fmt_fp+2160
	jmp fmt_fp+1968
	nop 0
	nop 0
;fmt_fp+2176
	fextsd2sq %r2,%r34
	faddsq %r12,%r18,%r2
	fsubsq %r18,%r12,%r2
;fmt_fp+2192
	ldwz %r2,%fp,-260
	absdw %r16,%r2,%gz
	srliw %r14,%r16,0
;fmt_fp+2208
	addi %r12,%fp,-309
	bwltui %r16,10,fmt_fp+2304
	ldi %r16,11
;fmt_fp+2224
	ldi %r17,10
	nop 0
	nop 0
;fmt_fp+2240
	mov %r19,%r14
	divui %r14,%r14,10
	mulsubf %r20,%r14,%r17,%r19
;fmt_fp+2256
	ori %r20,%r20,48
	stbx.xd %r20,%r12,%r16,0,0
	addi %r16,%r16,-1
;fmt_fp+2272
	bdgeui %r19,100,fmt_fp+2240
	addi %r16,%r16,1
	bdne %r14,%gz,fmt_fp+2320
;fmt_fp+2288
	jmp fmt_fp+2352
	nop 0
	nop 0
;fmt_fp+2304
	ldi %r16,12
	bdeq %r14,%gz,fmt_fp+2352
	nop 0
;fmt_fp+2320
	ori %r14,%r14,48
	addi %r17,%r16,-1
	stbx.xd %r14,%r16,%r12,0,-1
;fmt_fp+2336
	mov %r16,%r17
	nop 0
	nop 0
;fmt_fp+2352
	add %r12,%r12,%r16
	bdnei %r16,12,fmt_fp+2384
	addi %r14,%r12,-1
;fmt_fp+2368
	ldi %r16,48
	stb %r16,%r12,-1
	mov %r12,%r14
;fmt_fp+2384
	ldi %r16,43
	ldi %r17,45
	ori %r14,%r11,2
;fmt_fp+2400
	cmovwlt %r2,%r2,%r17,%r16
	stb %r2,%r12,-1
	addiws %r6,%r6,15
;fmt_fp+2416
	addi %r2,%r12,-2
	stb %r6,%r12,-2
	cmpwlti %r11,%r4,1
;fmt_fp+2432
	andi %r6,%r5,8
	cmpweqi %r12,%r6,0
	addi %r6,%fp,-297
;fmt_fp+2448
	and %r11,%r11,%r12
	ldafr %r16,xdigits
	ldi %r17,1
;fmt_fp+2464
	ldi %r19,46
	mov %r12,%r6
	jmp fmt_fp+2496
;fmt_fp+2480
	bfsqoeq %r18,%gz,fmt_fp+2608
	nop 0
	nop 0
;fmt_fp+2496
	fcvtsq2iw %r21,%r18,0
	ldbzx.xw %r22,%r16,%r21,0,0
	mov %r20,%r12
;fmt_fp+2512
	or %r22,%r22,%r13
	addi %r12,%r12,1
	stb %r22,%r20,0
;fmt_fp+2528
	fcvtiw2sq %r21,%r21,0
	mov %r22,%r15
	fsubsq %r18,%r18,%r21
;fmt_fp+2544
	ldih.l %r22,4612530443357519872
	addsub %r21,%r20,%r17,%r6
;fmt_fp+2560
	fmulsq %r18,%r18,%r22
	bdnei %r21,1,fmt_fp+2480
	fcmpsqoeq %r21,%r18,%gz
;fmt_fp+2576
	and %r21,%r21,%r11
	bbsi %r21,0,fmt_fp+2480
	addi %r12,%r20,2
;fmt_fp+2592
	stb %r19,%r20,1
	jmp fmt_fp+2480
	nop 0
;fmt_fp+2608
	sub %r6,%r7,%r2
	ldax.xuw %r11,%r6,%r14,0,0
	sraiw %r7,%r4,0
;fmt_fp+2624
	subfi.l %r11,%r11,2147483645
	bdlt %r11,%r7,fmt_fp+800
;fmt_fp+2640
	bweq %r4,%gz,fmt_fp+2688
	addi %r1,%fp,-297
	sub %r1,%r12,%r1
;fmt_fp+2656
	addi %r1,%r1,-2
	bdle %r7,%r1,fmt_fp+2688
	addws %r1,%r4,%r6
;fmt_fp+2672
	addiws %r13,%r1,2
	jmp fmt_fp+2704
	nop 0
;fmt_fp+2688
	addi %r1,%fp,-297
	sub %r1,%r6,%r1
	add %r13,%r1,%r12
;fmt_fp+2704
	andi %r11,%r5,73728
	addws %r7,%r13,%r14
	bwne %r11,%gz,fmt_fp+2864
;fmt_fp+2720
	bwle %r3,%r7,fmt_fp+2864
	subws %r15,%r3,%r7
	ldi %r1,256
;fmt_fp+2736
	minuw %r1,%r15,%r1
	srliw %r35,%r1,0
	addi %r33,%fp,-256
;fmt_fp+2752
	ldi %r34,32
	callr %r32,memset
	bwltui %r15,256,fmt_fp+2832
;fmt_fp+2768
	addi %r1,%fp,-256
	ldi %r4,256
	jmp fmt_fp+2800
;fmt_fp+2784
	addiws %r15,%r15,-256
	bwltui %r15,256,fmt_fp+2832
	nop 0
;fmt_fp+2800
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+2784
	mov2 %r33,%r34,%r1,%r4
;fmt_fp+2816
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+2784
;fmt_fp+2832
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+2864
	srliw %r34,%r15,0
;fmt_fp+2848
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+2864
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+2896
	srliw %r34,%r14,0
;fmt_fp+2880
	mov2 %r33,%r35,%r8,%r9
	callr %r32,__fwritex
	nop 0
;fmt_fp+2896
	bwnei.l %r11,65536,fmt_fp+3056
	bwle %r3,%r7,fmt_fp+3056
;fmt_fp+2912
	subws %r8,%r3,%r7
	ldi %r1,256
	minuw %r1,%r8,%r1
;fmt_fp+2928
	srliw %r35,%r1,0
	addi %r33,%fp,-256
	ldi %r34,48
;fmt_fp+2944
	callr %r32,memset
	bwltui %r8,256,fmt_fp+3024
	addi %r1,%fp,-256
;fmt_fp+2960
	ldi %r4,256
	jmp fmt_fp+2992
	nop 0
;fmt_fp+2976
	addiws %r8,%r8,-256
	bwltui %r8,256,fmt_fp+3024
	nop 0
;fmt_fp+2992
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+2976
	mov2 %r33,%r34,%r1,%r4
;fmt_fp+3008
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+2976
;fmt_fp+3024
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+3056
	srliw %r34,%r8,0
;fmt_fp+3040
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+3056
	ldbz %r4,%r9,0
	addi %r1,%fp,-297
	sub %r1,%r12,%r1
;fmt_fp+3072
	bbsi %r4,5,fmt_fp+3104
	addi %r33,%fp,-297
	mov2 %r34,%r35,%r1,%r9
;fmt_fp+3088
	callr %r32,__fwritex
	nop 0
	nop 0
;fmt_fp+3104
	add %r1,%r1,%r6
	subws %r8,%r13,%r1
	bwlti %r8,1,fmt_fp+3264
;fmt_fp+3120
	ldi %r1,256
	minuw %r1,%r8,%r1
	srliw %r35,%r1,0
;fmt_fp+3136
	addi %r33,%fp,-256
	ldi %r34,48
	callr %r32,memset
;fmt_fp+3152
	bwltui %r8,256,fmt_fp+3232
	addi %r1,%fp,-256
	ldi %r4,256
;fmt_fp+3168
	jmp fmt_fp+3200
	nop 0
	nop 0
;fmt_fp+3184
	addiws %r8,%r8,-256
	bwltui %r8,256,fmt_fp+3232
	nop 0
;fmt_fp+3200
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+3184
	mov2 %r33,%r34,%r1,%r4
;fmt_fp+3216
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+3184
;fmt_fp+3232
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+3264
	srliw %r34,%r8,0
;fmt_fp+3248
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+3264
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+3296
	mov2 %r33,%r34,%r2,%r6
;fmt_fp+3280
	mov %r35,%r9
	callr %r32,__fwritex
	nop 0
;fmt_fp+3296
	bwnei.l %r11,8192,fmt_fp+3456
	bwle %r3,%r7,fmt_fp+3456
;fmt_fp+3312
	subws %r5,%r3,%r7
	ldi %r1,256
	minuw %r1,%r5,%r1
;fmt_fp+3328
	srliw %r35,%r1,0
	addi %r33,%fp,-256
	ldi %r34,32
;fmt_fp+3344
	callr %r32,memset
	bwltui %r5,256,fmt_fp+3424
	addi %r1,%fp,-256
;fmt_fp+3360
	ldi %r2,256
	jmp fmt_fp+3392
	nop 0
;fmt_fp+3376
	addiws %r5,%r5,-256
	bwltui %r5,256,fmt_fp+3424
	nop 0
;fmt_fp+3392
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+3376
	mov2 %r33,%r34,%r1,%r2
;fmt_fp+3408
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+3376
;fmt_fp+3424
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+3456
	srliw %r34,%r5,0
;fmt_fp+3440
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+3456
	maxsw %r1,%r3,%r7
	jmp fmt_fp+800
	nop 0
;fmt_fp+3472
	addi %r19,%r4,4
	nop 0
	nop 0
;fmt_fp+3488
	ldwz %r15,%r12,0
	sub %r4,%r13,%r12
	srli %r4,%r4,2
;fmt_fp+3504
	mulwsi %r4,%r4,9
	bwltui %r15,10,fmt_fp+3536
	ldi %r16,10
;fmt_fp+3520
	mulwsi %r16,%r16,10
	addiws %r4,%r4,1
	bwleu %r16,%r15,fmt_fp+3520
;fmt_fp+3536
	addi %r15,%r19,4
	minu %r18,%r18,%r15
	nop 0
;fmt_fp+3552
	sub %r19,%r18,%r13
	nop 0
	nop 0
;fmt_fp+3568
	mov2 %r16,%r15,%r18,%r19
	bdleu %r18,%r12,fmt_fp+3600
	ldwz %r20,%r16,-4
;fmt_fp+3584
	addi %r18,%r16,-4
	addi %r19,%r15,-4
	bweq %r20,%gz,fmt_fp+3568
;fmt_fp+3600
	bwnei %r17,103,fmt_fp+3856
	ldi %r17,1
	cmovweq %r8,%r8,%r17,%r8
;fmt_fp+3616
	cmpwlt %r17,%r4,%r8
	cmpwgti %r18,%r4,-5
	and %r17,%r17,%r18
;fmt_fp+3632
	ldi %r18,-2
	ldi %r19,-1
	xori %r20,%r4,-1
;fmt_fp+3648
	cmovlsb %r18,%r17,%r19,%r18
	addws %r6,%r18,%r6
	cmovlsb %r17,%r17,%r20,%r19
;fmt_fp+3664
	addws %r8,%r17,%r8
	bbsi %r5,3,fmt_fp+3856
	ldi %r17,9
;fmt_fp+3680
	bdleu %r16,%r12,fmt_fp+3776
	ldwz %r14,%r16,-4
	bweq %r14,%gz,fmt_fp+3776
;fmt_fp+3696
	mulwsi.l %r17,%r14,-858993459
	srpiw %r18,%r17,%r17,1
;fmt_fp+3712
	mov %r17,%gz
	bwgeui.l %r18,429496730,fmt_fp+3776
;fmt_fp+3728
	mov %r17,%gz
	ldi %r18,10
	nop 0
;fmt_fp+3744
	mulwsi %r18,%r18,10
	moduw %r19,%r14,%r18
	addiws %r17,%r17,1
;fmt_fp+3760
	bweq %r19,%gz,fmt_fp+3744
	srliw %r17,%r17,0
	nop 0
;fmt_fp+3776
	andi %r14,%r6,-33
	sraiw %r8,%r8,0
	srai %r15,%r15,2
;fmt_fp+3792
	muli %r15,%r15,9
	bwnei %r14,70,fmt_fp+3824
	mov %r14,%gz
;fmt_fp+3808
	sub %r15,%r15,%r17
	jmp fmt_fp+3840
	nop 0
;fmt_fp+3824
	mov %r14,%gz
	sraiw %r18,%r4,0
	addsub %r15,%r18,%r15,%r17
;fmt_fp+3840
	addi %r15,%r15,-9
	maxsi %r15,%r15,0
	mins %r8,%r15,%r8
;fmt_fp+3856
	or %r18,%r8,%r14
	ldi.l %r15,2147483645
;fmt_fp+3872
	ldi.l %r17,2147483646
	cmovweq %r15,%r18,%r17,%r15
;fmt_fp+3888
	bwlt %r15,%r8,fmt_fp+800
	cmpwnei %r15,%r18,0
	addws %r15,%r8,%r15
;fmt_fp+3904
	andi %r19,%r6,-33
	addiws %r15,%r15,1
	bwnei %r19,70,fmt_fp+3952
;fmt_fp+3920
	xori.l %r6,%r15,2147483647
	bwlt %r6,%r4,fmt_fp+800
;fmt_fp+3936
	maxsw %r4,%r4,%gz
	jmp fmt_fp+4208
	nop 0
;fmt_fp+3952
	absdw %r17,%r4,%gz
	srliw %r20,%r17,0
	bwltui %r17,10,fmt_fp+4032
;fmt_fp+3968
	ldi %r21,10
	mov %r22,%r7
	nop 0
;fmt_fp+3984
	mov %r23,%r20
	divui %r20,%r20,10
	mulsubf %r17,%r20,%r21,%r23
;fmt_fp+4000
	ori %r24,%r17,48
	addi %r17,%r22,-1
	stb %r24,%r22,-1
;fmt_fp+4016
	mov %r22,%r17
	bdgeui %r23,100,fmt_fp+3984
	jmp fmt_fp+4048
;fmt_fp+4032
	mov %r17,%r7
	nop 0
	nop 0
;fmt_fp+4048
	bdeq %r20,%gz,fmt_fp+4080
	ori %r20,%r20,48
	addi %r21,%r17,-1
;fmt_fp+4064
	stb %r20,%r17,-1
	mov %r17,%r21
	nop 0
;fmt_fp+4080
	sub %r21,%r7,%r17
	bdgei %r21,2,fmt_fp+4128
	ldi %r22,48
;fmt_fp+4096
	addi %r20,%r17,-1
	addi %r21,%r21,1
	stb %r22,%r17,-1
;fmt_fp+4112
	mov %r17,%r20
	bdlti %r21,2,fmt_fp+4096
	jmp fmt_fp+4144
;fmt_fp+4128
	mov %r20,%r17
	nop 0
	nop 0
;fmt_fp+4144
	ldi %r17,43
	ldi %r21,45
	cmovwlt %r4,%r4,%r21,%r17
;fmt_fp+4160
	stb %r4,%r20,-1
	ldi %r4,-2
	subsub %r4,%r7,%r20,%r4
;fmt_fp+4176
	xori.l %r17,%r15,2147483647
	srliw %r17,%r17,0
;fmt_fp+4192
	stb %r6,%r20,-2
	bdlt %r17,%r4,fmt_fp+800
	addi %r6,%r20,-2
;fmt_fp+4208
	addws %r4,%r4,%r15
	xori.l %r15,%r11,2147483647
;fmt_fp+4224
	bwlt %r15,%r4,fmt_fp+800
	andi %r17,%r5,73728
	addws %r15,%r4,%r11
;fmt_fp+4240
	bwne %r17,%gz,fmt_fp+4400
	bwle %r3,%r15,fmt_fp+4400
	subws %r20,%r3,%r15
;fmt_fp+4256
	ldi %r1,256
	minuw %r1,%r20,%r1
	srliw %r35,%r1,0
;fmt_fp+4272
	addi %r33,%fp,-256
	ldi %r34,32
	callr %r32,memset
;fmt_fp+4288
	bwltui %r20,256,fmt_fp+4368
	addi %r1,%fp,-256
	ldi %r4,256
;fmt_fp+4304
	jmp fmt_fp+4336
	nop 0
	nop 0
;fmt_fp+4320
	addiws %r20,%r20,-256
	bwltui %r20,256,fmt_fp+4368
	nop 0
;fmt_fp+4336
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+4320
	mov2 %r33,%r34,%r1,%r4
;fmt_fp+4352
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+4320
;fmt_fp+4368
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4400
	srliw %r34,%r20,0
;fmt_fp+4384
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+4400
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4432
	srliw %r34,%r11,0
;fmt_fp+4416
	mov2 %r33,%r35,%r2,%r9
	callr %r32,__fwritex
	nop 0
;fmt_fp+4432
	bwnei.l %r17,65536,fmt_fp+4592
	bwle %r3,%r15,fmt_fp+4592
;fmt_fp+4448
	subws %r5,%r3,%r15
	ldi %r1,256
	minuw %r1,%r5,%r1
;fmt_fp+4464
	srliw %r35,%r1,0
	addi %r33,%fp,-256
	ldi %r34,48
;fmt_fp+4480
	callr %r32,memset
	bwltui %r5,256,fmt_fp+4560
	addi %r1,%fp,-256
;fmt_fp+4496
	ldi %r2,256
	jmp fmt_fp+4528
	nop 0
;fmt_fp+4512
	addiws %r5,%r5,-256
	bwltui %r5,256,fmt_fp+4560
	nop 0
;fmt_fp+4528
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+4512
	mov2 %r33,%r34,%r1,%r2
;fmt_fp+4544
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+4512
;fmt_fp+4560
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4592
	srliw %r34,%r5,0
;fmt_fp+4576
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+4592
	bwnei %r19,70,fmt_fp+4976
	minu %r11,%r12,%r13
	addi %r2,%fp,-288
;fmt_fp+4608
	ldi %r12,9
	ldi %r14,8
	ldi %r4,10
;fmt_fp+4624
	addi %r5,%fp,-297
	ldi %r6,48
	mov %r7,%r11
;fmt_fp+4640
	jmp fmt_fp+4672
	nop 0
	nop 0
;fmt_fp+4656
	addi %r7,%r7,4
	bdltu %r13,%r7,fmt_fp+5520
	nop 0
;fmt_fp+4672
	ldwz %r1,%r7,0
	bdltui %r1,10,fmt_fp+4752
	mov %r19,%r14
;fmt_fp+4688
	mov %r20,%r1
	divui %r1,%r1,10
	mulsubf %r21,%r1,%r4,%r20
;fmt_fp+4704
	ori %r21,%r21,48
	stbx.xd %r21,%r5,%r19,0,0
	addi %r19,%r19,-1
;fmt_fp+4720
	bdgeui %r20,100,fmt_fp+4688
	addi %r19,%r19,1
	bdne %r1,%gz,fmt_fp+4768
;fmt_fp+4736
	jmp fmt_fp+4800
	nop 0
	nop 0
;fmt_fp+4752
	mov %r19,%r12
	bdeq %r1,%gz,fmt_fp+4800
	nop 0
;fmt_fp+4768
	ori %r1,%r1,48
	addi %r20,%r19,-1
	stbx.xd %r1,%r19,%r5,0,-1
;fmt_fp+4784
	mov %r19,%r20
	nop 0
	nop 0
;fmt_fp+4800
	add %r1,%r5,%r19
	bdeq %r7,%r11,fmt_fp+4848
	bdlti %r19,1,fmt_fp+4880
;fmt_fp+4816
	addi %r33,%r1,-1
	stb %r6,%r1,-1
	mov %r1,%r33
;fmt_fp+4832
	bdltu %r5,%r33,fmt_fp+4816
	jmp fmt_fp+4896
	nop 0
;fmt_fp+4848
	bdnei %r19,9,fmt_fp+4944
	addi %r33,%r1,-1
	stb %r6,%r1,-1
;fmt_fp+4864
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4656
	jmp fmt_fp+4912
;fmt_fp+4880
	mov %r33,%r1
	nop 0
	nop 0
;fmt_fp+4896
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4656
	nop 0
;fmt_fp+4912
	sub %r34,%r2,%r33
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+4928
	jmp fmt_fp+4656
	nop 0
	nop 0
;fmt_fp+4944
	mov %r33,%r1
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4656
;fmt_fp+4960
	jmp fmt_fp+4912
	nop 0
	nop 0
;fmt_fp+4976
	bwlt %r8,%gz,fmt_fp+5456
	cmpdltu %r1,%r12,%r16
	addi %r2,%r12,4
;fmt_fp+4992
	cmovlsb %r11,%r1,%r16,%r2
	addi %r13,%fp,-288
	ldi %r16,9
;fmt_fp+5008
	ldi %r18,8
	ldi %r19,10
	addi %r20,%fp,-297
;fmt_fp+5024
	ldi %r21,48
	ldi %r1,1
	ldafr %r2,.rodata+5911
;fmt_fp+5040
	mov %r22,%r12
	nop 0
	nop 0
;fmt_fp+5056
	ldwz %r4,%r22,0
	bdltui %r4,10,fmt_fp+5136
	mov %r5,%r18
;fmt_fp+5072
	mov %r23,%r4
	divui %r4,%r4,10
	mulsubf %r24,%r4,%r19,%r23
;fmt_fp+5088
	ori %r24,%r24,48
	stbx.xd %r24,%r20,%r5,0,0
	addi %r5,%r5,-1
;fmt_fp+5104
	bdgeui %r23,100,fmt_fp+5072
	addi %r5,%r5,1
	bdne %r4,%gz,fmt_fp+5152
;fmt_fp+5120
	jmp fmt_fp+5184
	nop 0
	nop 0
;fmt_fp+5136
	mov %r5,%r16
	bdeq %r4,%gz,fmt_fp+5184
	nop 0
;fmt_fp+5152
	ori %r4,%r4,48
	addi %r23,%r5,-1
	stbx.xd %r4,%r5,%r20,0,-1
;fmt_fp+5168
	mov %r5,%r23
	nop 0
	nop 0
;fmt_fp+5184
	add %r4,%r20,%r5
	bdnei %r5,9,fmt_fp+5216
	addi %r5,%r4,-1
;fmt_fp+5200
	stb %r21,%r4,-1
	mov %r4,%r5
	nop 0
;fmt_fp+5216
	bdeq %r22,%r12,fmt_fp+5264
	bdleu %r4,%r20,fmt_fp+5360
	nop 0
;fmt_fp+5232
	addi %r33,%r4,-1
	stb %r21,%r4,-1
	mov %r4,%r33
;fmt_fp+5248
	bdltu %r20,%r33,fmt_fp+5232
	jmp fmt_fp+5376
	nop 0
;fmt_fp+5264
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+5296
	mov2 %r33,%r34,%r4,%r1
;fmt_fp+5280
	mov %r35,%r9
	callr %r32,__fwritex
	nop 0
;fmt_fp+5296
	addi %r33,%r4,1
	bwne %r14,%gz,fmt_fp+5312
	bwlti %r8,1,fmt_fp+5376
;fmt_fp+5312
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+5376
	mov2 %r5,%r33,%r33,%r2
;fmt_fp+5328
	mov2 %r34,%r35,%r1,%r9
	callr %r32,__fwritex
	mov %r33,%r5
;fmt_fp+5344
	jmp fmt_fp+5376
	nop 0
	nop 0
;fmt_fp+5360
	mov %r33,%r4
	nop 0
	nop 0
;fmt_fp+5376
	ldbz %r4,%r9,0
	sub %r5,%r13,%r33
	bbsi %r4,5,fmt_fp+5424
;fmt_fp+5392
	srliw %r4,%r8,0
	mins %r34,%r5,%r4
	mov %r35,%r9
;fmt_fp+5408
	callr %r32,__fwritex
	nop 0
	nop 0
;fmt_fp+5424
	addi %r22,%r22,4
	subws %r8,%r8,%r5
	bdleu %r11,%r22,fmt_fp+5456
;fmt_fp+5440
	bwgei %r8,0,fmt_fp+5056
	nop 0
	nop 0
;fmt_fp+5456
	addiws %r33,%r8,18
	ldi %r32,48
	ldi %r34,18
;fmt_fp+5472
	mov2 %r31,%r35,%r9,%gz
	callr %r30,pad
	ldbz %r1,%r9,0
;fmt_fp+5488
	bbsi %r1,5,fmt_fp+5888
	sub %r34,%r7,%r6
	mov2 %r33,%r35,%r6,%r9
;fmt_fp+5504
	callr %r32,__fwritex
	jmp fmt_fp+5888
	nop 0
;fmt_fp+5520
	bweq %r18,%gz,fmt_fp+5568
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+5568
;fmt_fp+5536
	ldafr %r33,.rodata+5911
	ldi %r34,1
	mov %r35,%r9
;fmt_fp+5552
	callr %r32,__fwritex
	nop 0
	nop 0
;fmt_fp+5568
	bdleu %r16,%r7,fmt_fp+5856
	bwlti %r8,1,fmt_fp+5856
	ldi %r11,9
;fmt_fp+5584
	ldwz %r13,%r7,0
	mov %r12,%r8
	bdltui %r13,10,fmt_fp+5808
;fmt_fp+5600
	mov %r8,%r2
	nop 0
	nop 0
;fmt_fp+5616
	mov %r14,%r13
	divui %r13,%r13,10
	mulsubf %r1,%r13,%r4,%r14
;fmt_fp+5632
	ori %r18,%r1,48
	addi %r1,%r8,-1
	stb %r18,%r8,-1
;fmt_fp+5648
	mov %r8,%r1
	bdgeui %r14,100,fmt_fp+5616
	bdeq %r13,%gz,fmt_fp+5696
;fmt_fp+5664
	ori %r8,%r13,48
	addi %r13,%r1,-1
	stb %r8,%r1,-1
;fmt_fp+5680
	mov %r1,%r13
	nop 0
	nop 0
;fmt_fp+5696
	bdleu %r1,%r5,fmt_fp+5824
	nop 0
	nop 0
;fmt_fp+5712
	addi %r33,%r1,-1
	stb %r6,%r1,-1
	mov %r1,%r33
;fmt_fp+5728
	bdltu %r5,%r33,fmt_fp+5712
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+5776
;fmt_fp+5744
	minsw %r1,%r12,%r11
	srliw %r34,%r1,0
	mov %r35,%r9
;fmt_fp+5760
	callr %r32,__fwritex
	nop 0
	nop 0
;fmt_fp+5776
	addi %r7,%r7,4
	addiws %r8,%r12,-9
	bdleu %r16,%r7,fmt_fp+5856
;fmt_fp+5792
	bwgei %r12,10,fmt_fp+5584
	jmp fmt_fp+5856
	nop 0
;fmt_fp+5808
	mov %r1,%r2
	bdne %r13,%gz,fmt_fp+5664
	jmp fmt_fp+5696
;fmt_fp+5824
	mov %r33,%r1
	ldbz %r1,%r9,0
	bbci %r1,5,fmt_fp+5744
;fmt_fp+5840
	jmp fmt_fp+5776
	nop 0
	nop 0
;fmt_fp+5856
	addiws %r33,%r8,9
	ldi %r32,48
	ldi %r34,9
;fmt_fp+5872
	mov2 %r31,%r35,%r9,%gz
	callr %r30,pad
	nop 0
;fmt_fp+5888
	bwnei.l %r17,8192,fmt_fp+6048
	bwle %r3,%r15,fmt_fp+6048
;fmt_fp+5904
	subws %r5,%r3,%r15
	ldi %r1,256
	minuw %r1,%r5,%r1
;fmt_fp+5920
	srliw %r35,%r1,0
	addi %r33,%fp,-256
	ldi %r34,32
;fmt_fp+5936
	callr %r32,memset
	bwltui %r5,256,fmt_fp+6016
	addi %r1,%fp,-256
;fmt_fp+5952
	ldi %r2,256
	jmp fmt_fp+5984
	nop 0
;fmt_fp+5968
	addiws %r5,%r5,-256
	bwltui %r5,256,fmt_fp+6016
	nop 0
;fmt_fp+5984
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+5968
	mov2 %r33,%r34,%r1,%r2
;fmt_fp+6000
	mov %r35,%r9
	callr %r32,__fwritex
	jmp fmt_fp+5968
;fmt_fp+6016
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+6048
	srliw %r34,%r5,0
;fmt_fp+6032
	addi %r33,%fp,-256
	mov %r35,%r9
	callr %r32,__fwritex
;fmt_fp+6048
	maxsw %r1,%r3,%r15
	jmp fmt_fp+800
	nop 0
;__lockfile
	alloc 17
	mov %r2,%r1
	ldwz %r1,%r1,140
;__lockfile+16
	ldwz %r3,%tp,48
	andi.l %r4,%r1,-1073741825
;__lockfile+32
	mov %r1,%gz
	bweq %r4,%r3,__lockfile+112
	addi %r2,%r2,140
;__lockfile+48
	fence.seq_cst
	mov %r4,%r3
	casw.relaxed %r4,%r2,%gz
;__lockfile+64
	ldi %r1,1
	bweq %r4,%gz,__lockfile+112
	nop 2
;__lockfile+80
	ori.l %r7,%r3,1073741824
	fence.seq_cst
;__lockfile+96
	mov %r5,%r7
	casw.relaxed %r5,%r2,%gz
	bwne %r5,%gz,__lockfile+128
;__lockfile+112
	retf 0
	nop 0
	nop 0
;__lockfile+128
	ldi %r3,202
	ldi %r4,128
	jmp __lockfile+176
;__lockfile+144
	fence.seq_cst
	mov %r5,%r7
	casw.relaxed %r5,%r2,%gz
;__lockfile+160
	bweq %r5,%gz,__lockfile+112
	nop 0
	nop 0
;__lockfile+176
	bbsi %r5,30,__lockfile+224
	ori.l %r6,%r5,1073741824
;__lockfile+192
	fence.seq_cst
	mov %r8,%r6
	casw.relaxed %r8,%r2,%r5
;__lockfile+208
	bwne %r8,%r5,__lockfile+144
	jmp __lockfile+240
	nop 0
;__lockfile+224
	mov %r6,%r5
	nop 0
	nop 0
;__lockfile+240
	sraiw %r5,%r6,0
	mov2 %r10,%r11,%r3,%r2
	mov2 %r12,%r13,%r4,%r5
;__lockfile+256
	mov2 %r14,%r15,%gz,%gz
	mov %r16,%gz
	callr %r9,__syscall_postrisc
;__lockfile+272
	bdnei %r10,-38,__lockfile+144
	mov2 %r10,%r11,%r3,%r2
	mov2 %r12,%r13,%gz,%r5
;__lockfile+288
	mov2 %r14,%r15,%gz,%gz
	mov %r16,%gz
	callr %r9,__syscall_postrisc
;__lockfile+304
	jmp __lockfile+144
	nop 0
	nop 0
;__unlockfile
	alloc 11
	addi %r1,%r1,140
	fence.seq_cst
;__unlockfile+16
	swapw.relaxed %r2,%r1,%gz
	bbci %r2,30,__unlockfile+96
	ldi %r4,202
;__unlockfile+32
	ldi %r6,129
	ldi %r7,1
	mov2 %r5,%r8,%r1,%gz
;__unlockfile+48
	mov2 %r9,%r10,%gz,%gz
	callr %r3,__syscall_postrisc
	bdnei %r4,-38,__unlockfile+96
;__unlockfile+64
	ldi %r4,202
	ldi %r6,1
	mov2 %r5,%r7,%r1,%r6
;__unlockfile+80
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
	callr %r3,__syscall_postrisc
;__unlockfile+96
	retf 0
	nop 0
	nop 0
;__syscall_postrisc
	alloc 2
	syscall
	retf 0
;syscall
	allocsp 11,16
	addi %r2,%sp,47
	andi %r2,%r2,-8
;syscall+16
	addi %r2,%r2,23
	andi %r2,%r2,-8
	addi %r2,%r2,8
;syscall+32
	std %r2,%sp,8
	mov %r4,%r1
	callr %r3,__syscall_postrisc
;syscall+48
	mov %r10,%r1
	callr %r9,__syscall_ret
	mov %r1,%r10
;syscall+64
	retf 16
	nop 0
	nop 0
;__syscall_ret
	alloc 5
	ldi %r2,-4095
	bdltu %r1,%r2,__syscall_ret+48
;__syscall_ret+16
	subfiws %r2,%r1,0
	callr %r3,___errno_location
	stw %r2,%r4,0
;__syscall_ret+32
	ldi %r1,-1
	nop 0
	nop 0
;__syscall_ret+48
	retf 0
	nop 0
	nop 0
;___errno_location
	alloc 2
	addi %r1,%tp,52
	retf 0
;__towrite
	alloc 5
	ldwz %r2,%r1,136
	addiws %r3,%r2,-1
;__towrite+16
	or %r2,%r3,%r2
	stw %r2,%r1,136
	ldwz %r2,%r1,0
;__towrite+32
	bbsi %r2,3,__towrite+96
	std %gz,%r1,16
	std %gz,%r1,8
;__towrite+48
	lddz %r3,%r1,88
	std %r3,%r1,56
	std %r3,%r1,40
;__towrite+64
	lddz %r4,%r1,96
	add %r3,%r3,%r4
	std %r3,%r1,32
;__towrite+80
	mov %r1,%gz
	retf 0
	nop 0
;__towrite+96
	ori %r2,%r2,32
	stw %r2,%r1,0
	ldi %r1,-1
;__towrite+112
	retf 0
	nop 0
	nop 0
;__towrite_needs_stdio_exit
	alloc 2
	callr %r1,__stdio_exit
	retf 0
;__stdio_exit
	alloc 9
	callr %r7,__ofl_lock
	lddz %r1,%r8,0
;__stdio_exit+16
	bdeq %r1,%gz,__stdio_exit+160
	ldi %r2,1
	jmp __stdio_exit+48
;__stdio_exit+32
	lddz %r1,%r1,112
	bdeq %r1,%gz,__stdio_exit+160
	nop 0
;__stdio_exit+48
	ldwz %r3,%r1,140
	bwlt %r3,%gz,__stdio_exit+80
	mov %r8,%r1
;__stdio_exit+64
	callr %r7,__lockfile
	nop 0
	nop 0
;__stdio_exit+80
	lddz %r3,%r1,40
	lddz %r4,%r1,56
	bdeq %r3,%r4,__stdio_exit+112
;__stdio_exit+96
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callmi %r5,%r1,72
;__stdio_exit+112
	lddz %r3,%r1,8
	lddz %r4,%r1,16
	bdeq %r3,%r4,__stdio_exit+32
;__stdio_exit+128
	sub %r7,%r3,%r4
	mov2 %r6,%r8,%r1,%r2
	callmi %r5,%r1,80
;__stdio_exit+144
	jmp __stdio_exit+32
	nop 0
	nop 0
;__stdio_exit+160
	lddzr %r1,__stdin_used
	bdeq %r1,%gz,__stdio_exit+272
	ldwz %r2,%r1,140
;__stdio_exit+176
	bwlt %r2,%gz,__stdio_exit+192
	mov %r8,%r1
	callr %r7,__lockfile
;__stdio_exit+192
	lddz %r2,%r1,40
	lddz %r3,%r1,56
	bdeq %r2,%r3,__stdio_exit+224
;__stdio_exit+208
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callmi %r5,%r1,72
;__stdio_exit+224
	lddz %r2,%r1,8
	lddz %r3,%r1,16
	bdeq %r2,%r3,__stdio_exit+272
;__stdio_exit+240
	sub %r7,%r2,%r3
	ldi %r8,1
	mov %r6,%r1
;__stdio_exit+256
	callmi %r5,%r1,80
	nop 0
	nop 0
;__stdio_exit+272
	lddzr %r1,__stdout_used
	bdeq %r1,%gz,__stdio_exit+384
	ldwz %r2,%r1,140
;__stdio_exit+288
	bwlt %r2,%gz,__stdio_exit+304
	mov %r8,%r1
	callr %r7,__lockfile
;__stdio_exit+304
	lddz %r2,%r1,40
	lddz %r3,%r1,56
	bdeq %r2,%r3,__stdio_exit+336
;__stdio_exit+320
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callmi %r5,%r1,72
;__stdio_exit+336
	lddz %r2,%r1,8
	lddz %r3,%r1,16
	bdeq %r2,%r3,__stdio_exit+384
;__stdio_exit+352
	sub %r7,%r2,%r3
	ldi %r8,1
	mov %r6,%r1
;__stdio_exit+368
	callmi %r5,%r1,80
	nop 0
	nop 0
;__stdio_exit+384
	lddzr %r1,__stderr_used
	bdeq %r1,%gz,__stdio_exit+496
	ldwz %r2,%r1,140
;__stdio_exit+400
	bwlt %r2,%gz,__stdio_exit+416
	mov %r8,%r1
	callr %r7,__lockfile
;__stdio_exit+416
	lddz %r2,%r1,40
	lddz %r3,%r1,56
	bdeq %r2,%r3,__stdio_exit+448
;__stdio_exit+432
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callmi %r5,%r1,72
;__stdio_exit+448
	lddz %r2,%r1,8
	lddz %r3,%r1,16
	bdeq %r2,%r3,__stdio_exit+496
;__stdio_exit+464
	sub %r7,%r2,%r3
	ldi %r8,1
	mov %r6,%r1
;__stdio_exit+480
	callmi %r5,%r1,80
	nop 0
	nop 0
;__stdio_exit+496
	retf 0
	nop 0
	nop 0
;__ofl_lock
	alloc 4
	ldafr %r3,ofl_lock
	callr %r2,__lock
;__ofl_lock+16
	ldafr %r1,ofl_head
	retf 0
	nop 0
;__ofl_unlock
	alloc 3
	ldafr %r2,ofl_lock
	callr %r1,__unlock
;__ofl_unlock+16
	retf 0
	nop 0
	nop 0
;__lock
	alloc 15
	ldbsr %r3,__libc+3
	bweq %r3,%gz,__lock+80
;__lock+16
	fence.seq_cst
	ldi.l %r2,-2147483647
;__lock+32
	casw.relaxed %r2,%r1,%gz
	cmpweqi %r4,%r2,0
	bwlti %r3,0,__lock+64
;__lock+48
	bbsi %r4,0,__lock+80
	jmp __lock+96
	nop 0
;__lock+64
	stbr %gz,__libc+3
	bbci %r4,0,__lock+96
	nop 0
;__lock+80
	retf 0
	nop 0
	nop 0
;__lock+96
	mov %r3,%gz
	nop 0
	nop 0
;__lock+112
	addiws.l %r4,%r2,2147483647
	cmovwlt %r5,%r2,%r4,%r2
;__lock+128
	addiws.l %r2,%r5,-2147483647
	fence.seq_cst
;__lock+144
	casw.relaxed %r2,%r1,%r5
	bweq %r2,%r5,__lock+80
	mov %r4,%r3
;__lock+160
	addiws %r3,%r3,1
	bwltui %r4,9,__lock+112
	fence.seq_cst
;__lock+176
	ldi %r2,1
	ldaddw.relaxed %r2,%r1,%r2
	addiws %r6,%r2,1
;__lock+192
	ldi %r2,202
	ldi %r3,128
	jmp __lock+256
;__lock+208
	addiws.l %r6,%r6,2147483647
	nop 0
;__lock+224
	mov %r4,%r6
	ori.l %r6,%r6,-2147483648
;__lock+240
	fence.seq_cst
	casw.relaxed %r6,%r1,%r4
	bweq %r6,%r4,__lock+80
;__lock+256
	bwgei %r6,0,__lock+224
	sraiw %r4,%r6,0
	mov2 %r8,%r9,%r2,%r1
;__lock+272
	mov2 %r10,%r11,%r3,%r4
	mov2 %r12,%r13,%gz,%gz
	mov %r14,%gz
;__lock+288
	callr %r7,__syscall_postrisc
	bdnei %r8,-38,__lock+208
	mov2 %r8,%r9,%r2,%r1
;__lock+304
	mov2 %r10,%r11,%gz,%r4
	mov2 %r12,%r13,%gz,%gz
	mov %r14,%gz
;__lock+320
	callr %r7,__syscall_postrisc
	jmp __lock+208
	nop 0
;__unlock
	alloc 11
	ldwz %r2,%r1,0
	bwlti %r2,0,__unlock+32
;__unlock+16
	retf 0
	nop 0
	nop 0
;__unlock+32
	fence.seq_cst
	ldi.l %r2,2147483647
;__unlock+48
	ldaddw.relaxed %r2,%r1,%r2
	bweqi.l %r2,-2147483647,__unlock+16
;__unlock+64
	ldi %r4,202
	ldi %r6,129
	ldi %r7,1
;__unlock+80
	mov2 %r5,%r8,%r1,%gz
	mov2 %r9,%r10,%gz,%gz
	callr %r3,__syscall_postrisc
;__unlock+96
	bdnei %r4,-38,__unlock+16
	ldi %r4,202
	ldi %r6,1
;__unlock+112
	mov2 %r5,%r7,%r1,%r6
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
;__unlock+128
	callr %r3,__syscall_postrisc
	retf 0
	nop 0
;__fwritex
	alloc 11
	lddz %r4,%r3,32
	bdeq %r4,%gz,__fwritex+192
;__fwritex+16
	lddz %r8,%r3,40
	sub %r4,%r4,%r8
	bdleu %r2,%r4,__fwritex+64
;__fwritex+32
	mov2 %r8,%r9,%r3,%r1
	mov %r10,%r2
	callmi %r7,%r3,72
;__fwritex+48
	mov %r1,%r8
	retf 0
	nop 0
;__fwritex+64
	ldwz %r4,%r3,144
	bwlt %r4,%gz,__fwritex+128
	bdeq %r2,%gz,__fwritex+128
;__fwritex+80
	mov %r6,%gz
	add %r4,%r1,%r2
	nop 0
;__fwritex+96
	ldbzx.xd %r5,%r4,%r6,0,-1
	bweqi %r5,10,__fwritex+256
	ldax.xd %r5,%r6,%r2,0,-1
;__fwritex+112
	addi %r6,%r6,-1
	bdne %r5,%gz,__fwritex+96
	nop 0
;__fwritex+128
	mov %r4,%gz
	nop 0
	nop 0
;__fwritex+144
	mov2 %r9,%r10,%r1,%r2
	callr %r7,memcpy
	lddz %r1,%r3,40
;__fwritex+160
	add %r1,%r1,%r2
	std %r1,%r3,40
	add %r8,%r4,%r2
;__fwritex+176
	mov %r1,%r8
	retf 0
	nop 0
;__fwritex+192
	mov %r10,%r3
	callr %r9,__towrite
	mov %r8,%gz
;__fwritex+208
	bweq %r10,%gz,__fwritex+240
	nop 0
	nop 0
;__fwritex+224
	mov %r1,%r8
	retf 0
	nop 0
;__fwritex+240
	lddz %r4,%r3,32
	jmp __fwritex+16
	nop 0
;__fwritex+256
	add %r4,%r2,%r6
	mov2 %r8,%r9,%r3,%r1
	mov %r10,%r4
;__fwritex+272
	callmi %r7,%r3,72
	bdltu %r8,%r4,__fwritex+224
	addadd %r1,%r2,%r6,%r1
;__fwritex+288
	subfi %r2,%r6,0
	lddz %r8,%r3,40
	jmp __fwritex+144
;fwrite_unlocked
	alloc 10
	ldwz %r5,%r4,140
	mov %r7,%r1
;fwrite_unlocked+16
	mul %r1,%r3,%r2
	bwlti %r5,0,fwrite_unlocked+112
	mov %r9,%r4
;fwrite_unlocked+32
	callr %r8,__lockfile
	mov2 %r5,%r8,%r9,%r1
	mov %r9,%r4
;fwrite_unlocked+48
	callr %r6,__fwritex
	bweq %r5,%gz,fwrite_unlocked+80
	mov %r9,%r4
;fwrite_unlocked+64
	callr %r8,__unlockfile
	nop 0
	nop 0
;fwrite_unlocked+80
	bdne %r7,%r1,fwrite_unlocked+128
	nop 0
	nop 0
;fwrite_unlocked+96
	cmovdeq %r1,%r2,%gz,%r3
	retf 0
	nop 0
;fwrite_unlocked+112
	mov2 %r8,%r9,%r1,%r4
	callr %r6,__fwritex
	bdeq %r7,%r1,fwrite_unlocked+96
;fwrite_unlocked+128
	divu %r1,%r7,%r2
	retf 0
	nop 0
;memcpy
	alloc 10
	bmnone %r2,3,memcpy+896
	bdeq %r3,%gz,memcpy+720
;memcpy+16
	addi %r5,%r2,1
	mov %r4,%r1
	nop 0
;memcpy+32
	ldbz %r7,%r2,0
	mov %r6,%r3
	addi %r2,%r2,1
;memcpy+48
	stb %r7,%r4,0
	addi %r4,%r4,1
	addi %r3,%r3,-1
;memcpy+64
	bmnone %r5,3,memcpy+80
	addi %r5,%r5,1
	bdnei %r6,1,memcpy+32
;memcpy+80
	bmnone %r4,3,memcpy+736
	nop 0
	nop 0
;memcpy+96
	bdltui %r3,32,memcpy+560
	andi %r6,%r4,3
	ldwz %r5,%r2,0
;memcpy+112
	bdeqi %r6,3,memcpy+992
	bdnei %r6,2,memcpy+1136
	stb %r5,%r4,0
;memcpy+128
	srliw %r6,%r5,8
	stb %r6,%r4,1
	addi %r4,%r4,2
;memcpy+144
	addi %r3,%r3,-2
	addi %r2,%r2,16
	nop 0
;memcpy+160
	ldwz %r6,%r2,-12
	srpiw %r7,%r6,%r5,16
	ldwz %r8,%r2,-8
;memcpy+176
	ldwz %r9,%r2,-4
	ldwz %r5,%r2,0
	stw %r7,%r4,0
;memcpy+192
	srpiw %r6,%r8,%r6,16
	stw %r6,%r4,4
	srpiw %r6,%r9,%r8,16
;memcpy+208
	stw %r6,%r4,8
	srpiw %r6,%r5,%r9,16
	stw %r6,%r4,12
;memcpy+224
	addi %r4,%r4,16
	addi %r3,%r3,-16
	addi %r2,%r2,16
;memcpy+240
	bdgeui %r3,18,memcpy+160
	addi %r2,%r2,-14
	bdltui %r3,16,memcpy+576
;memcpy+256
	ldbz %r5,%r2,0
	ldbz %r6,%r2,1
	ldbz %r7,%r2,2
;memcpy+272
	stb %r5,%r4,0
	stb %r6,%r4,1
	ldbz %r5,%r2,3
;memcpy+288
	stb %r7,%r4,2
	ldbz %r6,%r2,4
	ldbz %r7,%r2,5
;memcpy+304
	stb %r5,%r4,3
	ldbz %r5,%r2,6
	stb %r6,%r4,4
;memcpy+320
	stb %r7,%r4,5
	ldbz %r6,%r2,7
	stb %r5,%r4,6
;memcpy+336
	ldbz %r5,%r2,8
	ldbz %r7,%r2,9
	stb %r6,%r4,7
;memcpy+352
	ldbz %r6,%r2,10
	stb %r5,%r4,8
	stb %r7,%r4,9
;memcpy+368
	ldbz %r5,%r2,11
	stb %r6,%r4,10
	ldbz %r6,%r2,12
;memcpy+384
	ldbz %r7,%r2,13
	stb %r5,%r4,11
	ldbz %r5,%r2,14
;memcpy+400
	stb %r6,%r4,12
	stb %r7,%r4,13
	ldbz %r6,%r2,15
;memcpy+416
	stb %r5,%r4,14
	addi %r2,%r2,16
	addi %r5,%r4,16
;memcpy+432
	stb %r6,%r4,15
	mov %r4,%r5
	bbci %r3,3,memcpy+592
;memcpy+448
	ldbz %r5,%r2,0
	ldbz %r6,%r2,1
	ldbz %r7,%r2,2
;memcpy+464
	stb %r5,%r4,0
	stb %r6,%r4,1
	ldbz %r5,%r2,3
;memcpy+480
	stb %r7,%r4,2
	ldbz %r6,%r2,4
	ldbz %r7,%r2,5
;memcpy+496
	stb %r5,%r4,3
	ldbz %r5,%r2,6
	stb %r6,%r4,4
;memcpy+512
	stb %r7,%r4,5
	ldbz %r6,%r2,7
	stb %r5,%r4,6
;memcpy+528
	addi %r2,%r2,8
	addi %r5,%r4,8
	stb %r6,%r4,7
;memcpy+544
	mov %r4,%r5
	bbci %r3,2,memcpy+832
	jmp memcpy+608
;memcpy+560
	bdgeui %r3,16,memcpy+256
	nop 0
	nop 0
;memcpy+576
	bbsi %r3,3,memcpy+448
	nop 0
	nop 0
;memcpy+592
	bbci %r3,2,memcpy+832
	nop 0
	nop 0
;memcpy+608
	ldbz %r5,%r2,0
	ldbz %r6,%r2,1
	ldbz %r7,%r2,2
;memcpy+624
	stb %r5,%r4,0
	stb %r6,%r4,1
	ldbz %r5,%r2,3
;memcpy+640
	stb %r7,%r4,2
	addi %r2,%r2,4
	addi %r6,%r4,4
;memcpy+656
	stb %r5,%r4,3
	mov %r4,%r6
	bbci %r3,1,memcpy+848
;memcpy+672
	ldbz %r5,%r2,0
	ldbz %r6,%r2,1
	stb %r5,%r4,0
;memcpy+688
	addi %r2,%r2,2
	addi %r5,%r4,2
	stb %r6,%r4,1
;memcpy+704
	mov %r4,%r5
	bbsi %r3,0,memcpy+864
	jmp memcpy+880
;memcpy+720
	mov %r4,%r1
	bmany %r4,3,memcpy+96
	nop 0
;memcpy+736
	bdltui %r3,16,memcpy+816
	nop 0
	nop 0
;memcpy+752
	ldwz %r5,%r2,0
	ldwz %r6,%r2,4
	ldwz %r7,%r2,8
;memcpy+768
	ldwz %r8,%r2,12
	stw %r5,%r4,0
	stw %r6,%r4,4
;memcpy+784
	stw %r7,%r4,8
	stw %r8,%r4,12
	addi %r2,%r2,16
;memcpy+800
	addi %r3,%r3,-16
	addi %r4,%r4,16
	bdgeui %r3,16,memcpy+752
;memcpy+816
	bdgeui %r3,8,memcpy+912
	bbsi %r3,2,memcpy+960
	nop 0
;memcpy+832
	bbsi %r3,1,memcpy+672
	nop 0
	nop 0
;memcpy+848
	bbci %r3,0,memcpy+880
	nop 0
	nop 0
;memcpy+864
	ldbz %r2,%r2,0
	stb %r2,%r4,0
	nop 0
;memcpy+880
	retf 0
	nop 0
	nop 0
;memcpy+896
	mov %r4,%r1
	bmany %r4,3,memcpy+96
	jmp memcpy+736
;memcpy+912
	ldwz %r5,%r2,0
	ldwz %r6,%r2,4
	stw %r5,%r4,0
;memcpy+928
	stw %r6,%r4,4
	addi %r4,%r4,8
	addi %r2,%r2,8
;memcpy+944
	bbci %r3,2,memcpy+832
	nop 0
	nop 0
;memcpy+960
	ldwz %r5,%r2,0
	stw %r5,%r4,0
	addi %r4,%r4,4
;memcpy+976
	addi %r2,%r2,4
	bbci %r3,1,memcpy+848
	jmp memcpy+672
;memcpy+992
	stb %r5,%r4,0
	addi %r4,%r4,1
	addi %r3,%r3,-1
;memcpy+1008
	addi %r2,%r2,16
	nop 0
	nop 0
;memcpy+1024
	ldwz %r6,%r2,-12
	srpiw %r7,%r6,%r5,8
	ldwz %r8,%r2,-8
;memcpy+1040
	ldwz %r9,%r2,-4
	ldwz %r5,%r2,0
	stw %r7,%r4,0
;memcpy+1056
	srpiw %r6,%r8,%r6,8
	stw %r6,%r4,4
	srpiw %r6,%r9,%r8,8
;memcpy+1072
	stw %r6,%r4,8
	srpiw %r6,%r5,%r9,8
	stw %r6,%r4,12
;memcpy+1088
	addi %r4,%r4,16
	addi %r3,%r3,-16
	addi %r2,%r2,16
;memcpy+1104
	bdgeui %r3,19,memcpy+1024
	addi %r2,%r2,-15
	bdltui %r3,16,memcpy+576
;memcpy+1120
	jmp memcpy+256
	nop 0
	nop 0
;memcpy+1136
	stb %r5,%r4,0
	srliw %r6,%r5,8
	stb %r6,%r4,1
;memcpy+1152
	srliw %r6,%r5,16
	stb %r6,%r4,2
	addi %r4,%r4,3
;memcpy+1168
	addi %r3,%r3,-3
	addi %r2,%r2,16
	nop 0
;memcpy+1184
	ldwz %r6,%r2,-12
	srpiw %r7,%r6,%r5,24
	ldwz %r8,%r2,-8
;memcpy+1200
	ldwz %r9,%r2,-4
	ldwz %r5,%r2,0
	stw %r7,%r4,0
;memcpy+1216
	srpiw %r6,%r8,%r6,24
	stw %r6,%r4,4
	srpiw %r6,%r9,%r8,24
;memcpy+1232
	stw %r6,%r4,8
	srpiw %r6,%r5,%r9,24
	stw %r6,%r4,12
;memcpy+1248
	addi %r4,%r4,16
	addi %r3,%r3,-16
	addi %r2,%r2,16
;memcpy+1264
	bdgeui %r3,17,memcpy+1184
	addi %r2,%r2,-13
	bdltui %r3,16,memcpy+576
;memcpy+1280
	jmp memcpy+256
	nop 0
	nop 0
;__strerror_l
	alloc 7
	cmpwgtui %r3,%r1,131
	cmovlsb %r1,%r3,%gz,%r1
;__strerror_l+16
	ldafr %r3,errmsgidx
	ldhzx.xuw %r1,%r3,%r1,1,0
	ldafr %r3,errmsgstr
;__strerror_l+32
	add %r5,%r1,%r3
	lddz %r6,%r2,40
	callr %r4,__lctrans
;__strerror_l+48
	mov %r1,%r5
	retf 0
	nop 0
;strerror
	alloc 7
	cmpwgtui %r2,%r1,131
	cmovlsb %r1,%r2,%gz,%r1
;strerror+16
	ldafr %r2,errmsgidx
	ldhzx.xuw %r1,%r2,%r1,1,0
	lddz %r2,%tp,168
;strerror+32
	ldafr %r3,errmsgstr
	add %r5,%r1,%r3
	lddz %r6,%r2,40
;strerror+48
	callr %r4,__lctrans
	mov %r1,%r5
	retf 0
;__lctrans_impl
	alloc 2
	retf 0
	nop 0
;__lctrans
	alloc 6
	mov2 %r4,%r5,%r1,%r2
	callr %r3,__lctrans_impl
;__lctrans+16
	mov %r1,%r4
	retf 0
	nop 0
;__lctrans_cur
	alloc 6
	lddz %r2,%tp,168
	lddz %r5,%r2,40
;__lctrans_cur+16
	mov %r4,%r1
	callr %r3,__lctrans_impl
	mov %r1,%r4
;__lctrans_cur+32
	retf 0
	nop 0
	nop 0
;strnlen
	alloc 7
	mov2 %r4,%r5,%r1,%gz
	mov %r6,%r2
;strnlen+16
	callr %r3,memchr
	sub %r1,%r4,%r1
	cmovdeq %r1,%r4,%r2,%r1
;strnlen+32
	retf 0
	nop 0
	nop 0
;memchr
	alloc 8
	andi %r2,%r2,255
	cmpdnei %r5,%r3,0
;memchr+16
	bmnone %r1,7,memchr+80
	bdeq %r3,%gz,memchr+80
	addi %r6,%r1,1
;memchr+32
	ldbz %r5,%r1,0
	mov %r4,%r3
	bweq %r5,%r2,memchr+224
;memchr+48
	addi %r1,%r1,1
	addi %r3,%r4,-1
	cmpdnei %r5,%r4,1
;memchr+64
	bmnone %r6,7,memchr+80
	addi %r6,%r6,1
	bdnei %r4,1,memchr+32
;memchr+80
	bbci %r5,0,memchr+256
	ldbz %r4,%r1,0
	bweq %r4,%r2,memchr+208
;memchr+96
	bdltui %r3,8,memchr+208
	srliw %r4,%r2,0
	nop 2
;memchr+112
	muli.l %r4,%r4,72340172838076673
	nop 2
;memchr+128
	ldi.l %r5,-9187201950435737472
	nop 0
;memchr+144
	lddz %r6,%r1,0
	xor %r6,%r6,%r4
	nop 2
;memchr+160
	subfi.l %r7,%r6,72340172838076672
	or %r6,%r7,%r6
;memchr+176
	and %r6,%r6,%r5
	bdne %r6,%r5,memchr+288
	addi %r3,%r3,-8
;memchr+192
	addi %r1,%r1,8
	bdgeui %r3,8,memchr+144
	nop 0
;memchr+208
	mov %r4,%r3
	bdeq %r3,%gz,memchr+256
	nop 0
;memchr+224
	ldbz %r3,%r1,0
	bweq %r3,%r2,memchr+272
	nop 0
;memchr+240
	addi %r4,%r4,-1
	addi %r1,%r1,1
	bdne %r4,%gz,memchr+224
;memchr+256
	mov %r1,%gz
	nop 0
	nop 0
;memchr+272
	retf 0
	nop 0
	nop 0
;memchr+288
	mov %r4,%r3
	ldbz %r3,%r1,0
	bwne %r3,%r2,memchr+240
;memchr+304
	jmp memchr+272
	nop 0
	nop 0
;wctomb
	alloc 7
	bdeq %r1,%gz,wctomb+48
	mov2 %r4,%r5,%r1,%r2
;wctomb+16
	mov %r6,%gz
	callr %r3,wcrtomb
	mov %r1,%r4
;wctomb+32
	retf 0
	nop 0
	nop 0
;wctomb+48
	mov %r1,%gz
	retf 0
	nop 0
;wcrtomb
	alloc 7
	ldi %r3,1
	bdeq %r1,%gz,wcrtomb+320
;wcrtomb+16
	bwgeui %r2,128,wcrtomb+48
	nop 0
	nop 0
;wcrtomb+32
	stb %r2,%r1,0
	mov %r1,%r3
	retf 0
;wcrtomb+48
	lddz %r4,%tp,168
	lddz %r4,%r4,0
	bdeq %r4,%gz,wcrtomb+128
;wcrtomb+64
	bwgeui.l %r2,2048,wcrtomb+160
	srliw %r3,%r2,6
;wcrtomb+80
	ori %r3,%r3,192
	stb %r3,%r1,0
	andi %r2,%r2,63
;wcrtomb+96
	ori %r2,%r2,128
	stb %r2,%r1,1
	ldi %r1,2
;wcrtomb+112
	retf 0
	nop 0
	nop 0
;wcrtomb+128
	andi %r4,%r2,-128
	bwnei.l %r4,57216,wcrtomb+288
;wcrtomb+144
	jmp wcrtomb+32
	nop 0
	nop 0
;wcrtomb+160
	bwltui.l %r2,55296,wcrtomb+336
	andi %r3,%r2,-8192
;wcrtomb+176
	bweqi.l %r3,57344,wcrtomb+336
	addiws %r3,%r2,-65536
;wcrtomb+192
	bwgeui.l %r3,1048576,wcrtomb+288
	srliw %r3,%r2,18
;wcrtomb+208
	ori %r3,%r3,240
	stb %r3,%r1,0
	slsrli %r3,%r2,46,58
;wcrtomb+224
	ori %r3,%r3,128
	stb %r3,%r1,1
	slsrli %r3,%r2,52,58
;wcrtomb+240
	ori %r3,%r3,128
	stb %r3,%r1,2
	andi %r2,%r2,63
;wcrtomb+256
	ori %r2,%r2,128
	stb %r2,%r1,3
	ldi %r1,4
;wcrtomb+272
	retf 0
	nop 0
	nop 0
;wcrtomb+288
	callr %r5,___errno_location
	ldi %r1,84
	stw %r1,%r6,0
;wcrtomb+304
	ldi %r3,-1
	nop 0
	nop 0
;wcrtomb+320
	mov %r1,%r3
	retf 0
	nop 0
;wcrtomb+336
	srliw %r3,%r2,12
	ori %r3,%r3,224
	stb %r3,%r1,0
;wcrtomb+352
	slsrli %r3,%r2,52,58
	ori %r3,%r3,128
	stb %r3,%r1,1
;wcrtomb+368
	andi %r2,%r2,63
	ori %r2,%r2,128
	stb %r2,%r1,2
;wcrtomb+384
	ldi %r1,3
	retf 0
	nop 0
;memset
	alloc 7
	bdeq %r3,%gz,memset+304
	stb %r2,%r1,0
;memset+16
	stbx.xd %r2,%r1,%r3,0,-1
	bdltui %r3,3,memset+304
	add %r4,%r1,%r3
;memset+32
	stb %r2,%r1,1
	stb %r2,%r1,2
	stb %r2,%r4,-2
;memset+48
	stb %r2,%r4,-3
	bdltui %r3,7,memset+304
	stb %r2,%r1,3
;memset+64
	stb %r2,%r4,-4
	bdltui %r3,9,memset+304
	subfi %r4,%r1,0
;memset+80
	andi %r5,%r4,3
	add %r4,%r1,%r5
	sub %r3,%r3,%r5
;memset+96
	andi %r3,%r3,-4
	andi %r2,%r2,255
	nop 2
;memset+112
	mulwsi.l %r2,%r2,16843009
	stwx.xd %r2,%r1,%r5,0,0
;memset+128
	stwx.xd %r2,%r4,%r3,0,-4
	bdltui %r3,9,memset+304
	addadd %r5,%r1,%r5,%r3
;memset+144
	stw %r2,%r4,4
	stw %r2,%r4,8
	stw %r2,%r5,-12
;memset+160
	stw %r2,%r5,-8
	bdltui %r3,25,memset+304
	stw %r2,%r4,12
;memset+176
	stw %r2,%r4,16
	stw %r2,%r4,20
	stw %r2,%r4,24
;memset+192
	stw %r2,%r5,-28
	stw %r2,%r5,-24
	stw %r2,%r5,-20
;memset+208
	andi %r6,%r4,4
	ori %r6,%r6,24
	sub %r3,%r3,%r6
;memset+224
	stw %r2,%r5,-16
	bdltui %r3,32,memset+304
	srliw %r2,%r2,0
;memset+240
	muli.l %r2,%r2,4294967297
	add %r4,%r4,%r6
;memset+256
	std %r2,%r4,0
	std %r2,%r4,8
	std %r2,%r4,16
;memset+272
	std %r2,%r4,24
	addi %r3,%r3,-32
	addi %r4,%r4,32
;memset+288
	bdgeui %r3,32,memset+256
	nop 0
	nop 0
;memset+304
	retf 0
	nop 0
	nop 0
;__signbitl
	allocsp 2,16
	stq %r1,%sp,0
	addi %r1,%sp,0
;__signbitl+16
	ori %r1,%r1,14
	ldhz %r1,%r1,0
	srliw %r1,%r1,15
;__signbitl+32
	retf 16
	nop 0
	nop 0
;__fpclassifyl
	allocsp 4,16
	stq %r1,%sp,0
	addi %r1,%sp,0
;__fpclassifyl+16
	ori %r3,%r1,14
	ldhz %r2,%r3,0
	andi %r2,%r2,32767
;__fpclassifyl+32
	sth %gz,%r3,0
	bweqi.l %r2,32767,__fpclassifyl+96
;__fpclassifyl+48
	bwne %r2,%gz,__fpclassifyl+128
	lddz %r2,%sp,0
	ori %r1,%r1,8
;__fpclassifyl+64
	lddz %r1,%r1,0
	or %r1,%r1,%r2
	ldi %r2,3
;__fpclassifyl+80
	ldi %r3,2
	cmovdeq %r1,%r1,%r3,%r2
	retf 16
;__fpclassifyl+96
	lddz %r2,%sp,0
	ori %r1,%r1,8
	lddz %r1,%r1,0
;__fpclassifyl+112
	or %r1,%r1,%r2
	cmpdeqi %r1,%r1,0
	retf 16
;__fpclassifyl+128
	ldi %r1,4
	retf 16
	nop 0
;frexpl
	allocsp 8,16
	stq %r1,%sp,0
	addi %r3,%sp,0
;frexpl+16
	ori %r3,%r3,14
	ldhz %r4,%r3,0
	andi %r4,%r4,32767
;frexpl+32
	bweqi.l %r4,32767,frexpl+176
	bwne %r4,%gz,frexpl+128
;frexpl+48
	bfsqoeq %r1,%gz,frexpl+192
	ldi %r3,0
	nop 2
;frexpl+64
	ldih.l %r3,4645181540655955968
	fmulsq %r6,%r1,%r3
;frexpl+80
	mov %r7,%r2
	callr %r5,frexpl
	ldwz %r3,%r2,0
;frexpl+96
	mov %r1,%r6
	addiws %r3,%r3,-120
	stw %r3,%r2,0
;frexpl+112
	retf 16
	nop 0
	nop 0
;frexpl+128
	addiws %r1,%r4,-16382
	stw %r1,%r2,0
	ldhz %r1,%r3,0
;frexpl+144
	andi %r1,%r1,32768
	sth %r1,%r3,0
	ldhz %r1,%r3,0
;frexpl+160
	ori %r1,%r1,16382
	sth %r1,%r3,0
	ldq %r1,%sp,0
;frexpl+176
	retf 16
	nop 0
	nop 0
;frexpl+192
	stw %gz,%r2,0
	retf 16
	nop 0
;scalbn
	alloc 4
	bwlti.l %r2,1024,scalbn+64
;scalbn+16
	ldi.l %r3,9214364837600034816
	fmulsd %r1,%r1,%r3
;scalbn+32
	bwltui %r2,2047,scalbn+128
	fmulsd %r1,%r1,%r3
	ldi %r3,3069
;scalbn+48
	minuw %r2,%r2,%r3
	addiws %r2,%r2,-2046
	jmp scalbn+160
;scalbn+64
	bwgei %r2,-1022,scalbn+160
	ldi.l %r3,243194379878006784
;scalbn+80
	fmulsd %r1,%r1,%r3
	bwgeui.l %r2,1099511625785,scalbn+144
;scalbn+96
	fmulsd %r1,%r1,%r3
	ldi %r3,-2960
	maxuw %r2,%r2,%r3
;scalbn+112
	addiws %r2,%r2,1938
	jmp scalbn+160
	nop 0
;scalbn+128
	addiws %r2,%r2,-1023
	jmp scalbn+160
	nop 0
;scalbn+144
	addiws %r2,%r2,969
	nop 0
	nop 0
;scalbn+160
	addiws %r2,%r2,1023
	slli %r2,%r2,52
	fmulsd %r1,%r1,%r2
;scalbn+176
	retf 0
	nop 0
	nop 0
;__aio_close
	alloc 2
	retf 0
	nop 0
;__stdio_close
	alloc 10
	ldwz %r9,%r1,120
	callr %r8,__aio_close
;__stdio_close+16
	sraiw %r4,%r9,0
	ldi %r3,3
	mov2 %r5,%r6,%gz,%gz
;__stdio_close+32
	mov2 %r7,%r8,%gz,%gz
	mov %r9,%gz
	callr %r2,__syscall_postrisc
;__stdio_close+48
	mov %r9,%r3
	callr %r8,__syscall_ret
	mov %r1,%r9
;__stdio_close+64
	retf 0
	nop 0
	nop 0
;__stdio_write
	allocsp 23,32
	lddz %r4,%r1,56
	std %r4,%sp,0
;__stdio_write+16
	lddz %r5,%r1,40
	sub %r4,%r5,%r4
	std %r4,%sp,8
;__stdio_write+32
	std %r2,%sp,16
	std %r3,%sp,24
	add %r7,%r4,%r3
;__stdio_write+48
	ldws %r17,%r1,120
	ldi %r16,20
	addi %r4,%sp,0
;__stdio_write+64
	ldi %r2,2
	mov2 %r18,%r19,%r4,%r2
	mov2 %r20,%r21,%gz,%gz
;__stdio_write+80
	mov %r22,%gz
	callr %r15,__syscall_postrisc
	mov %r22,%r16
;__stdio_write+96
	callr %r21,__syscall_ret
	bdeq %r22,%r7,__stdio_write+272
	ldi %r8,8
;__stdio_write+112
	ldi %r9,24
	ldi %r5,20
	nop 0
;__stdio_write+128
	bdlti %r22,0,__stdio_write+336
	lddz %r6,%r4,8
	cmpdltu %r10,%r6,%r22
;__stdio_write+144
	lddzx.xd %r11,%r4,%r10,4,0
	cmovlsb %r6,%r10,%r6,%gz
	sub %r12,%r22,%r6
;__stdio_write+160
	add %r6,%r11,%r12
	stdx.xd %r6,%r4,%r10,4,0
	cmovlsb %r11,%r10,%r9,%r8
;__stdio_write+176
	lddzx.xd %r13,%r4,%r11,0,0
	sub %r7,%r7,%r22
	sladd %r6,%r4,%r10,4
;__stdio_write+192
	subws %r14,%r2,%r10
	sub %r12,%r13,%r12
	stdx.xd %r12,%r4,%r11,0,0
;__stdio_write+208
	ldws %r17,%r1,120
	subws %r19,%r2,%r10
	mov2 %r16,%r18,%r5,%r6
;__stdio_write+224
	mov2 %r20,%r21,%gz,%gz
	mov %r22,%gz
	callr %r15,__syscall_postrisc
;__stdio_write+240
	mov %r22,%r16
	callr %r21,__syscall_ret
	mov2 %r2,%r4,%r14,%r6
;__stdio_write+256
	bdne %r22,%r7,__stdio_write+128
	nop 0
	nop 0
;__stdio_write+272
	lddz %r2,%r1,88
	lddz %r4,%r1,96
	add %r4,%r2,%r4
;__stdio_write+288
	std %r4,%r1,32
	std %r2,%r1,56
	std %r2,%r1,40
;__stdio_write+304
	mov %r1,%r3
	nop 0
	nop 0
;__stdio_write+320
	retf 32
	nop 0
	nop 0
;__stdio_write+336
	std %gz,%r1,32
	std %gz,%r1,56
	std %gz,%r1,40
;__stdio_write+352
	ldwz %r5,%r1,0
	ori %r5,%r5,32
	stw %r5,%r1,0
;__stdio_write+368
	mov %r1,%gz
	bweqi %r2,2,__stdio_write+320
	lddz %r1,%r4,8
;__stdio_write+384
	sub %r1,%r3,%r1
	retf 32
	nop 0
;__stdio_seek
	alloc 8
	ldwz %r5,%r1,120
	mov2 %r6,%r7,%r2,%r3
;__stdio_seek+16
	callr %r4,lseek
	mov %r1,%r5
	retf 0
;lseek
	alloc 12
	sraiw %r6,%r1,0
	sraiw %r8,%r3,0
;lseek+16
	ldi %r5,8
	mov2 %r7,%r9,%r2,%gz
	mov2 %r10,%r11,%gz,%gz
;lseek+32
	callr %r4,__syscall_postrisc
	mov %r11,%r5
	callr %r10,__syscall_ret
;lseek+48
	mov %r1,%r11
	retf 0
	nop 0
;fprintf
	allocsp 7,16
	addi %r6,%sp,16
	std %r6,%sp,8
;fprintf+16
	mov2 %r4,%r5,%r1,%r2
	callr %r3,vfprintf
	mov %r1,%r4
;fprintf+32
	retf 16
	nop 0
	nop 0
;D_PostEvent
	alloc 6
	ldwzr %r2,eventhead
	ldwz %r3,%r1,16
;D_PostEvent+16
	sraiw %r4,%r2,0
	muli %r4,%r4,20
	ldafr %r5,events+16
;D_PostEvent+32
	stwx.xd %r3,%r4,%r5,0,0
	ldwz %r3,%r1,12
	ldafr %r5,events+12
;D_PostEvent+48
	stwx.xd %r3,%r4,%r5,0,0
	ldwz %r3,%r1,8
	ldafr %r5,events+8
;D_PostEvent+64
	stwx.xd %r3,%r4,%r5,0,0
	ldwz %r3,%r1,4
	ldafr %r5,events+4
;D_PostEvent+80
	stwx.xd %r3,%r4,%r5,0,0
	ldwz %r1,%r1,0
	ldafr %r3,events
;D_PostEvent+96
	stwx.xd %r1,%r4,%r3,0,0
	addiws %r1,%r2,1
	sraiw %r2,%r1,31
;D_PostEvent+112
	srliw %r2,%r2,26
	addws %r2,%r1,%r2
	andi %r2,%r2,-64
;D_PostEvent+128
	subws %r1,%r1,%r2
	stwr %r1,eventhead
	retf 0
;D_PopEvent
	alloc 5
	ldwzr %r2,eventtail
	ldwzr %r3,eventhead
;D_PopEvent+16
	mov %r1,%gz
	bweq %r2,%r3,D_PopEvent+96
	sraiw %r1,%r2,0
;D_PopEvent+32
	ldafr %r3,events
	ldi %r4,20
	muladd %r1,%r1,%r4,%r3
;D_PopEvent+48
	addiws %r2,%r2,1
	sraiw %r3,%r2,31
	srliw %r3,%r3,26
;D_PopEvent+64
	addws %r3,%r2,%r3
	andi %r3,%r3,-64
	subws %r2,%r2,%r3
;D_PopEvent+80
	stwr %r2,eventtail
	nop 0
	nop 0
;D_PopEvent+96
	retf 0
	nop 0
	nop 0
;D_FindWADByName
	allocsp 10,32
	mov %r9,%r1
	callr %r8,M_FileExists
;D_FindWADByName+16
	bweq %r9,%gz,D_FindWADByName+32
	retf 32
	nop 0
;D_FindWADByName+32
	ldwzr %r2,num_iwad_dirs
	bwgei %r2,128,D_FindWADByName+80
	ldafr %r3,iwad_dirs
;D_FindWADByName+48
	ldafr %r4,.rodata+5911
	stdx.xw %r4,%r3,%r2,3,0
	addiws %r3,%r2,1
;D_FindWADByName+64
	stwr %r3,num_iwad_dirs
	bwlt %r2,%gz,D_FindWADByName+224
	nop 0
;D_FindWADByName+80
	mov %r4,%gz
	ldafr %r5,iwad_dirs
	ldafr %r6,.rodata+5432
;D_FindWADByName+96
	lddz %r2,%r5,0
	mov2 %r8,%r9,%r2,%r1
	callr %r7,DirIsFile
;D_FindWADByName+112
	bweq %r8,%gz,D_FindWADByName+144
	mov %r9,%r2
	callr %r8,M_FileExists
;D_FindWADByName+128
	lddz %r2,%r5,0
	bwne %r9,%gz,D_FindWADByName+256
	nop 0
;D_FindWADByName+144
	std %gz,%sp,16
	std %r1,%sp,8
	std %r6,%sp,0
;D_FindWADByName+160
	mov %r9,%r2
	callr %r8,M_StringJoin
	mov %r2,%r9
;D_FindWADByName+176
	callr %r8,M_FileExists
	bwne %r9,%gz,D_FindWADByName+240
	mov %r9,%r2
;D_FindWADByName+192
	callr %r8,free
	ldwsr %r2,num_iwad_dirs
	addi %r4,%r4,1
;D_FindWADByName+208
	addi %r5,%r5,8
	bdlt %r4,%r2,D_FindWADByName+96
	nop 0
;D_FindWADByName+224
	mov %r1,%gz
	retf 32
	nop 0
;D_FindWADByName+240
	mov %r1,%r2
	retf 32
	nop 0
;D_FindWADByName+256
	mov %r9,%r2
	callr %r8,strdup
	mov %r1,%r9
;D_FindWADByName+272
	retf 32
	nop 0
	nop 0
;DirIsFile
	alloc 8
	mov %r7,%r1
	callr %r6,strlen
;DirIsFile+16
	mov2 %r3,%r7,%r7,%r2
	callr %r6,strlen
	addi %r4,%r7,1
;DirIsFile+32
	bdltu %r3,%r4,DirIsFile+80
	sub %r3,%r3,%r7
	ldbzx.xd %r4,%r1,%r3,0,-1
;DirIsFile+48
	bwnei %r4,47,DirIsFile+80
	add %r6,%r1,%r3
	mov %r7,%r2
;DirIsFile+64
	callr %r5,strcasecmp
	cmpweqi %r1,%r6,0
	retf 0
;DirIsFile+80
	mov %r1,%gz
	retf 0
	nop 0
;D_TryFindWADByName
	alloc 4
	mov %r3,%r1
	callr %r2,D_FindWADByName
;D_TryFindWADByName+16
	cmovdeq %r1,%r3,%r1,%r3
	retf 0
	nop 0
;D_FindIWAD
	allocsp 17,32
	ldafr %r15,.rodata+23929
	ldi %r16,1
;D_FindIWAD+16
	callr %r14,M_CheckParmWithArgs
	bweq %r15,%gz,D_FindIWAD+224
	lddzr %r3,myargv
;D_FindIWAD+32
	lddzx.xw %r3,%r3,%r15,3,8
	mov %r16,%r3
	callr %r15,D_FindWADByName
;D_FindIWAD+48
	mov %r4,%r16
	bdne %r16,%gz,D_FindIWAD+80
	ldafr %r16,.rodata+27875
;D_FindIWAD+64
	std %r3,%sp,0
	callr %r15,I_Error
	nop 0
;D_FindIWAD+80
	ldi %r16,47
	mov %r15,%r4
	callr %r14,strrchr
;D_FindIWAD+96
	addi %r3,%r15,1
	mov %r6,%gz
	cmovdeq %r3,%r15,%r4,%r3
;D_FindIWAD+112
	ldafr %r7,iwads
	ldafr %r8,iwads+8
	ldi %r11,9
;D_FindIWAD+128
	jmp D_FindIWAD+160
	nop 0
	nop 0
;D_FindIWAD+144
	addi %r6,%r6,24
	bdeqi %r6,336,D_FindIWAD+624
	nop 0
;D_FindIWAD+160
	ldwzx.xd %r9,%r6,%r8,0,0
	bbc %r1,%r9,D_FindIWAD+144
	add %r5,%r6,%r7
;D_FindIWAD+176
	lddz %r16,%r5,0
	mov %r15,%r3
	callr %r14,strcasecmp
;D_FindIWAD+192
	bwne %r15,%gz,D_FindIWAD+144
	stw %r9,%r2,0
	mov %r1,%r4
;D_FindIWAD+208
	retf 32
	nop 0
	nop 0
;D_FindIWAD+224
	ldafr %r16,.rodata+5446
	callr %r15,puts
	ldwzr %r3,num_iwad_dirs
;D_FindIWAD+240
	ldafr %r7,iwad_dirs
	bwgei %r3,128,D_FindIWAD+288
	ldafr %r4,.rodata+5911
;D_FindIWAD+256
	stdx.xw %r4,%r7,%r3,3,0
	addiws %r4,%r3,1
	stwr %r4,num_iwad_dirs
;D_FindIWAD+272
	bwlt %r3,%gz,D_FindIWAD+640
	nop 0
	nop 0
;D_FindIWAD+288
	mov %r8,%gz
	ldafr %r9,iwads
	ldafr %r10,iwads+8
;D_FindIWAD+304
	ldafr %r3,.rodata+6658
	ldafr %r12,.rodata+5432
	jmp D_FindIWAD+352
;D_FindIWAD+320
	ldwsr %r5,num_iwad_dirs
	addi %r8,%r8,1
	mov %r4,%gz
;D_FindIWAD+336
	bdle %r5,%r8,D_FindIWAD+656
	nop 0
	nop 0
;D_FindIWAD+352
	mov %r13,%gz
	lddzx.xd %r5,%r7,%r8,3,0
	jmp D_FindIWAD+416
;D_FindIWAD+368
	mov %r16,%r5
	callr %r15,strdup
	mov %r4,%r16
;D_FindIWAD+384
	bdne %r4,%gz,D_FindIWAD+624
	nop 0
	nop 0
;D_FindIWAD+400
	addi %r13,%r13,24
	bdeqi %r13,336,D_FindIWAD+320
	nop 0
;D_FindIWAD+416
	ldwzx.xd %r11,%r13,%r10,0,0
	bbc %r1,%r11,D_FindIWAD+400
	add %r4,%r13,%r9
;D_FindIWAD+432
	lddz %r4,%r4,0
	mov2 %r15,%r16,%r5,%r4
	callr %r14,DirIsFile
;D_FindIWAD+448
	bweq %r15,%gz,D_FindIWAD+480
	mov %r16,%r5
	callr %r15,M_FileExists
;D_FindIWAD+464
	bwne %r16,%gz,D_FindIWAD+368
	nop 0
	nop 0
;D_FindIWAD+480
	ldbz %r6,%r5,0
	bwnei %r6,46,D_FindIWAD+512
	ldbz %r6,%r5,1
;D_FindIWAD+496
	bweq %r6,%gz,D_FindIWAD+608
	nop 0
	nop 0
;D_FindIWAD+512
	std %gz,%sp,16
	std %r4,%sp,8
	std %r12,%sp,0
;D_FindIWAD+528
	mov %r16,%r5
	callr %r15,M_StringJoin
	nop 0
;D_FindIWAD+544
	mov %r4,%r16
	std %r16,%sp,0
	mov %r16,%r3
;D_FindIWAD+560
	callr %r15,printf
	mov %r16,%r4
	callr %r15,M_FileExists
;D_FindIWAD+576
	bwne %r16,%gz,D_FindIWAD+384
	mov %r16,%r4
	callr %r15,free
;D_FindIWAD+592
	jmp D_FindIWAD+400
	nop 0
	nop 0
;D_FindIWAD+608
	mov %r16,%r4
	callr %r15,strdup
	jmp D_FindIWAD+544
;D_FindIWAD+624
	stw %r11,%r2,0
	mov %r1,%r4
	retf 32
;D_FindIWAD+640
	mov %r1,%gz
	retf 32
	nop 0
;D_FindIWAD+656
	mov %r1,%r4
	retf 32
	nop 0
;D_FindAllIWADs
	alloc 11
	ldi %r10,120
	callr %r9,default_malloc
;D_FindAllIWADs+16
	mov2 %r2,%r5,%r10,%gz
	mov %r4,%gz
	ldafr %r6,iwads
;D_FindAllIWADs+32
	ldafr %r7,iwads+8
	jmp D_FindAllIWADs+64
	nop 0
;D_FindAllIWADs+48
	addi %r5,%r5,24
	bdeqi %r5,336,D_FindAllIWADs+112
	nop 0
;D_FindAllIWADs+64
	ldwzx.xd %r3,%r5,%r7,0,0
	bbc %r1,%r3,D_FindAllIWADs+48
	add %r8,%r5,%r6
;D_FindAllIWADs+80
	lddz %r10,%r8,0
	callr %r9,D_FindWADByName
	bdeq %r10,%gz,D_FindAllIWADs+48
;D_FindAllIWADs+96
	stdx.xw %r8,%r2,%r4,3,0
	addiws %r4,%r4,1
	jmp D_FindAllIWADs+48
;D_FindAllIWADs+112
	stdx.xw %gz,%r2,%r4,3,0
	mov %r1,%r2
	retf 0
;D_SaveGameIWADName
	alloc 6
	mov2 %r2,%r3,%r1,%gz
	ldafr %r4,iwads+8
;D_SaveGameIWADName+16
	ldafr %r1,.rodata+19583
	nop 0
	nop 0
;D_SaveGameIWADName+32
	ldwzx.xd %r5,%r3,%r4,0,0
	bweq %r2,%r5,D_SaveGameIWADName+64
	addi %r3,%r3,24
;D_SaveGameIWADName+48
	bdnei %r3,336,D_SaveGameIWADName+32
	retf 0
	nop 0
;D_SaveGameIWADName+64
	ldafr %r1,iwads
	lddzx.xd %r1,%r3,%r1,0,0
	retf 0
;D_SuggestIWADName
	alloc 8
	mov %r4,%gz
	ldafr %r5,iwads+8
;D_SuggestIWADName+16
	ldafr %r6,iwads+12
	ldafr %r3,.rodata+19583
	jmp D_SuggestIWADName+48
;D_SuggestIWADName+32
	addi %r4,%r4,24
	bdeqi %r4,336,D_SuggestIWADName+96
	nop 0
;D_SuggestIWADName+48
	ldwzx.xd %r7,%r4,%r5,0,0
	bwne %r7,%r1,D_SuggestIWADName+32
	ldwzx.xd %r7,%r4,%r6,0,0
;D_SuggestIWADName+64
	bwne %r7,%r2,D_SuggestIWADName+32
	ldafr %r1,iwads
	lddzx.xd %r1,%r4,%r1,0,0
;D_SuggestIWADName+80
	retf 0
	nop 0
	nop 0
;D_SuggestIWADName+96
	mov %r1,%r3
	retf 0
	nop 0
;D_SuggestGameName
	alloc 8
	mov %r4,%gz
	ldafr %r5,iwads+8
;D_SuggestGameName+16
	ldafr %r6,iwads+12
	ldafr %r3,.rodata+15583
	jmp D_SuggestGameName+48
;D_SuggestGameName+32
	addi %r4,%r4,24
	bdeqi %r4,336,D_SuggestGameName+96
	nop 0
;D_SuggestGameName+48
	ldwzx.xd %r7,%r4,%r5,0,0
	bwne %r7,%r1,D_SuggestGameName+32
	bweqi %r2,4,D_SuggestGameName+80
;D_SuggestGameName+64
	ldwzx.xd %r7,%r4,%r6,0,0
	bwne %r7,%r2,D_SuggestGameName+32
	nop 0
;D_SuggestGameName+80
	ldafr %r1,iwads+16
	lddzx.xd %r1,%r4,%r1,0,0
	retf 0
;D_SuggestGameName+96
	mov %r1,%r3
	retf 0
	nop 0
;free
	alloc 4
	mov %r3,%r1
	callr %r2,__libc_free
;free+16
	retf 0
	nop 0
	nop 0
;__libc_free
	allocsp 12,16
	bdeq %r1,%gz,__libc_free+368
	mov %r11,%r1
;__libc_free+16
	callr %r10,get_meta
	ldbz %r5,%r1,-3
	lddz %r3,%r11,32
;__libc_free+32
	andi %r2,%r5,31
	bdltui.l %r3,4096,__libc_free+80
;__libc_free+48
	andi %r4,%r3,31
	bdne %r4,%gz,__libc_free+80
	andi %r4,%r3,-4096
;__libc_free+64
	addi %r4,%r4,-16
	jmp __libc_free+112
	nop 0
;__libc_free+80
	srli %r4,%r3,5
	andi %r4,%r4,126
	ldafr %r6,__malloc_size_classes
;__libc_free+96
	ldhzx.xd %r4,%r4,%r6,0,0
	slli %r4,%r4,4
	nop 0
;__libc_free+112
	lddz %r6,%r11,16
	srliw %r7,%r2,0
	muladd %r6,%r4,%r7,%r6
;__libc_free+128
	ldax.xd %r7,%r6,%r4,0,16
	ldax.xd %r4,%r6,%r4,0,12
	srliw %r6,%r5,5
;__libc_free+144
	bwltui %r5,160,__libc_free+192
	bwnei %r6,5,__libc_free+512
	ldwz %r5,%r7,-8
;__libc_free+160
	bwltui %r5,5,__libc_free+512
	ldbz %r6,%r7,-9
	bwne %r6,%gz,__libc_free+512
;__libc_free+176
	srliw %r6,%r5,0
	nop 0
	nop 0
;__libc_free+192
	sub %r5,%r4,%r1
	bdltu %r5,%r6,__libc_free+512
	sub %r5,%r4,%r6
;__libc_free+208
	ldbz %r5,%r5,0
	bwne %r5,%gz,__libc_free+512
	ldbz %r4,%r4,0
;__libc_free+224
	bwne %r4,%gz,__libc_free+512
	ldi %r4,1
	sllw %r4,%r4,%r2
;__libc_free+240
	andi %r3,%r3,31
	ldi %r5,2
	sllw %r3,%r5,%r3
;__libc_free+256
	addiws %r3,%r3,-1
	ldi %r5,255
	stb %r5,%r1,-3
;__libc_free+272
	sth %gz,%r1,-2
	addi %r1,%r11,28
	nop 0
;__libc_free+288
	ldwz %r5,%r11,28
	ldwz %r6,%r11,24
	or %r7,%r6,%r5
;__libc_free+304
	and %r6,%r7,%r4
	bwne %r6,%gz,__libc_free+512
	ldbzr %r6,__libc+3
;__libc_free+320
	andi %r6,%r6,255
	bweq %r5,%gz,__libc_free+384
	addws %r7,%r7,%r4
;__libc_free+336
	bweq %r7,%r3,__libc_free+384
	addws %r7,%r5,%r4
	bweq %r6,%gz,__libc_free+496
;__libc_free+352
	fence.seq_cst
	casw.relaxed %r7,%r1,%r5
	bwne %r7,%r5,__libc_free+288
;__libc_free+368
	retf 16
	nop 0
	nop 0
;__libc_free+384
	bweq %r6,%gz,__libc_free+416
	ldafr %r1,__malloc_lock
	mov2 %r3,%r11,%r11,%r1
;__libc_free+400
	callr %r10,__lock
	mov %r11,%r3
	nop 0
;__libc_free+416
	addi %r9,%sp,0
	mov2 %r10,%r11,%r11,%r2
	callr %r8,nontrivial_free
;__libc_free+432
	ldafr %r11,__malloc_lock
	callr %r10,__unlock
	lddz %r1,%sp,8
;__libc_free+448
	bdeq %r1,%gz,__libc_free+368
	callr %r10,___errno_location
	mov %r2,%r11
;__libc_free+464
	ldwz %r3,%r11,0
	lddz %r10,%sp,0
	mov %r11,%r1
;__libc_free+480
	callr %r9,__munmap
	stw %r3,%r2,0
	retf 16
;__libc_free+496
	stw %r7,%r11,28
	retf 16
	nop 0
;__libc_free+512
	halt
	nop 0
	nop 0
;get_meta
	alloc 7
	bmany %r1,15,get_meta+320
	ldbz %r3,%r1,-4
;get_meta+16
	ldhz %r2,%r1,-2
	ldbz %r4,%r1,-3
	bweq %r3,%gz,get_meta+64
;get_meta+32
	bwne %r2,%gz,get_meta+320
	ldwz %r2,%r1,-8
	nop 2
;get_meta+48
	bwlti.l %r2,65536,get_meta+320
	nop 0
;get_meta+64
	slliw %r3,%r2,4
	sub %r3,%r1,%r3
	lddz %r1,%r3,-16
;get_meta+80
	lddz %r5,%r1,16
	addi %r3,%r3,-16
	bdne %r5,%r3,get_meta+320
;get_meta+96
	lddz %r3,%r1,32
	andi %r4,%r4,31
	andi %r5,%r3,31
;get_meta+112
	bwltu %r5,%r4,get_meta+320
	ldwz %r6,%r1,24
	ldi %r5,1
;get_meta+128
	sllw %r5,%r5,%r4
	and %r6,%r6,%r5
	bwne %r6,%gz,get_meta+320
;get_meta+144
	ldwz %r6,%r1,28
	and %r5,%r6,%r5
	bwne %r5,%gz,get_meta+320
;get_meta+160
	andi %r5,%r1,-4096
	lddz %r5,%r5,0
	lddzr %r6,__malloc_context
;get_meta+176
	bdne %r5,%r6,get_meta+320
	slsrli %r5,%r3,52,58
	bdgeui %r5,48,get_meta+240
;get_meta+192
	ldafr %r6,__malloc_size_classes
	ldhzx.xd %r5,%r6,%r5,1,0
	mulws %r6,%r5,%r4
;get_meta+208
	bwltu %r2,%r6,get_meta+320
	addiws %r4,%r4,1
	mulws %r4,%r4,%r5
;get_meta+224
	bwltu %r2,%r4,get_meta+256
	jmp get_meta+320
	nop 0
;get_meta+240
	bdnei %r5,63,get_meta+320
	nop 0
	nop 0
;get_meta+256
	bdltui.l %r3,4096,get_meta+304
	srliw %r2,%r2,0
;get_meta+272
	srli %r3,%r3,4
	andi.l %r3,%r3,1152921504606846720
;get_meta+288
	addi %r3,%r3,-1
	bdltu %r3,%r2,get_meta+320
	nop 0
;get_meta+304
	retf 0
	nop 0
	nop 0
;get_meta+320
	halt
	nop 0
	nop 0
;nontrivial_free
	allocsp 16,48
	lddz %r9,%r2,32
	ldwz %r5,%r2,28
;nontrivial_free+16
	ldwz %r7,%r2,24
	ldi %r4,1
	sllw %r3,%r4,%r3
;nontrivial_free+32
	slsrli %r6,%r9,52,58
	or %r7,%r7,%r5
	bbci %r9,5,nontrivial_free+368
;nontrivial_free+48
	addws %r8,%r7,%r3
	andi %r10,%r9,31
	ldi %r5,2
;nontrivial_free+64
	sllw %r10,%r5,%r10
	addiws %r10,%r10,-1
	bwne %r8,%r10,nontrivial_free+368
;nontrivial_free+80
	bwgeui %r6,48,nontrivial_free+272
	andi %r8,%r9,31
	ldafr %r10,__malloc_size_classes
;nontrivial_free+96
	bdltui.l %r9,4096,nontrivial_free+144
	bdne %r8,%gz,nontrivial_free+144
;nontrivial_free+112
	andi %r11,%r9,-4096
	addi %r11,%r11,-16
	nop 2
;nontrivial_free+128
	bdgeui.l %r9,4096,nontrivial_free+176
	jmp nontrivial_free+272
;nontrivial_free+144
	srli %r11,%r9,5
	andi %r11,%r11,126
	ldhzx.xd %r11,%r11,%r10,0,0
;nontrivial_free+160
	slli %r11,%r11,4
	bdltui.l %r9,4096,nontrivial_free+272
;nontrivial_free+176
	ldhzx.xuw %r9,%r10,%r6,1,0
	slli %r9,%r9,4
	bdltu %r11,%r9,nontrivial_free+272
;nontrivial_free+192
	lddz %r9,%r2,8
	bdne %r9,%r2,nontrivial_free+272
	addiws %r9,%r6,-7
;nontrivial_free+208
	bwgeui %r9,32,nontrivial_free+272
	ldafr %r10,__malloc_context+880
	ldbzx.xuw %r9,%r10,%r9,0,0
;nontrivial_free+224
	bwltui %r9,100,nontrivial_free+272
	srliw %r9,%r6,0
	ldafr %r10,__malloc_context+464
;nontrivial_free+240
	lddzx.xd %r9,%r10,%r9,3,0
	muli %r10,%r8,9
	addi %r10,%r10,9
;nontrivial_free+256
	bdltu %r9,%r10,nontrivial_free+368
	bdgeui %r8,19,nontrivial_free+368
	nop 0
;nontrivial_free+272
	lddz %r7,%r2,8
	bdeq %r7,%gz,nontrivial_free+624
	bwgeui %r6,48,nontrivial_free+1152
;nontrivial_free+288
	ldafr %r8,__malloc_context+80
	ldax.xuw %r3,%r8,%r6,3,0
	lddzx.xuw %r6,%r8,%r6,3,0
;nontrivial_free+304
	bdeq %r7,%r2,nontrivial_free+464
	lddz %r8,%r2,0
	std %r7,%r8,8
;nontrivial_free+320
	lddz %r7,%r2,0
	lddz %r8,%r2,8
	std %r7,%r8,0
;nontrivial_free+336
	lddz %r7,%r3,0
	bdne %r7,%r2,nontrivial_free+496
	lddz %r7,%r2,8
;nontrivial_free+352
	jmp nontrivial_free+480
	nop 0
	nop 0
;nontrivial_free+368
	bwne %r7,%gz,nontrivial_free+1120
	bwgeui %r6,48,nontrivial_free+1152
	ldafr %r5,__malloc_context+80
;nontrivial_free+384
	ldax.xuw %r4,%r5,%r6,3,0
	lddzx.xuw %r5,%r5,%r6,3,0
	bdeq %r5,%r2,nontrivial_free+1120
;nontrivial_free+400
	lddz %r6,%r2,8
	bdne %r6,%gz,nontrivial_free+1152
	lddz %r6,%r2,0
;nontrivial_free+416
	bdne %r6,%gz,nontrivial_free+1152
	bdeq %r5,%gz,nontrivial_free+1088
	std %r5,%r2,8
;nontrivial_free+432
	lddz %r4,%r5,0
	std %r4,%r2,0
	std %r2,%r4,8
;nontrivial_free+448
	lddz %r4,%r2,8
	jmp nontrivial_free+1104
	nop 0
;nontrivial_free+464
	mov %r7,%gz
	nop 0
	nop 0
;nontrivial_free+480
	std %r7,%r3,0
	nop 0
	nop 0
;nontrivial_free+496
	std %gz,%r2,8
	std %gz,%r2,0
	bdne %r6,%r2,nontrivial_free+624
;nontrivial_free+512
	lddz %r3,%r3,0
	bdeq %r3,%gz,nontrivial_free+624
	ldwz %r6,%r3,24
;nontrivial_free+528
	bwne %r6,%gz,nontrivial_free+1152
	lddz %r6,%r3,16
	ldbz %r6,%r6,8
;nontrivial_free+544
	andi %r6,%r6,31
	sllw %r5,%r5,%r6
	subfiws %r6,%r5,0
;nontrivial_free+560
	addi %r8,%r3,28
	nop 0
	nop 0
;nontrivial_free+576
	ldwz %r7,%r3,28
	and %r9,%r7,%r6
	fence.seq_cst
;nontrivial_free+592
	casw.relaxed %r9,%r8,%r7
	bwne %r9,%r7,nontrivial_free+576
	addiws %r5,%r5,-1
;nontrivial_free+608
	and %r5,%r7,%r5
	stw %r5,%r3,24
	nop 0
;nontrivial_free+624
	std %gz,%r1,8
	std %gz,%r1,0
	lddz %r5,%r2,32
;nontrivial_free+640
	slsrli %r3,%r5,52,58
	bwgeui %r3,48,nontrivial_free+688
	ldafr %r6,__malloc_context+464
;nontrivial_free+656
	lddzx.xuw %r7,%r6,%r3,3,0
	orni %r5,%r5,-32
	add %r5,%r7,%r5
;nontrivial_free+672
	stdx.xuw %r5,%r6,%r3,3,0
	lddz %r5,%r2,32
	nop 0
;nontrivial_free+688
	bdgeui.l %r5,4096,nontrivial_free+768
	lddz %r3,%r2,16
;nontrivial_free+704
	mov %r15,%r3
	callr %r14,get_meta
	ldbz %r3,%r3,-3
;nontrivial_free+720
	lddz %r4,%r2,16
	mov %r14,%r15
	andi %r15,%r3,31
;nontrivial_free+736
	std %gz,%r4,0
	mov %r13,%r1
	callr %r12,nontrivial_free
;nontrivial_free+752
	jmp nontrivial_free+896
	nop 0
	nop 0
;nontrivial_free+768
	ldbzr %r5,__malloc_context+912
	bweqi %r5,255,nontrivial_free+800
	addiws %r4,%r5,1
;nontrivial_free+784
	jmp nontrivial_free+832
	nop 0
	nop 0
;nontrivial_free+800
	mov %r5,%gz
	ldafr %r6,__malloc_context+848
	nop 0
;nontrivial_free+816
	stbx.xd %gz,%r5,%r6,0,0
	addi %r5,%r5,1
	bdnei %r5,32,nontrivial_free+816
;nontrivial_free+832
	addiws %r3,%r3,-7
	stbr %r4,__malloc_context+912
	bwgeui %r3,32,nontrivial_free+864
;nontrivial_free+848
	ldafr %r5,__malloc_context+848
	stbx.xuw %r4,%r5,%r3,0,0
	nop 0
;nontrivial_free+864
	lddz %r3,%r2,16
	std %r3,%r1,0
	lddz %r3,%r2,32
;nontrivial_free+880
	andi %r3,%r3,-4096
	std %r3,%r1,8
	nop 0
;nontrivial_free+896
	stq %gz,%sp,0
	std %gz,%sp,32
	stq %gz,%sp,16
;nontrivial_free+912
	addi %r1,%sp,0
	ori %r1,%r1,8
	lddz %r1,%r1,0
;nontrivial_free+928
	std %r1,%r2,8
	lddz %r1,%sp,32
	std %r1,%r2,32
;nontrivial_free+944
	lddz %r1,%sp,24
	std %r1,%r2,24
	lddz %r1,%sp,16
;nontrivial_free+960
	std %r1,%r2,16
	lddz %r1,%sp,0
	std %r1,%r2,0
;nontrivial_free+976
	lddz %r1,%r2,8
	bdne %r1,%gz,nontrivial_free+1152
	lddz %r1,%r2,0
;nontrivial_free+992
	bdne %r1,%gz,nontrivial_free+1152
	lddzr %r1,__malloc_context+16
	bdeq %r1,%gz,nontrivial_free+1056
;nontrivial_free+1008
	std %r1,%r2,8
	lddz %r1,%r1,0
	std %r1,%r2,0
;nontrivial_free+1024
	std %r2,%r1,8
	lddz %r1,%r2,8
	std %r2,%r1,0
;nontrivial_free+1040
	retf 48
	nop 0
	nop 0
;nontrivial_free+1056
	std %r2,%r2,8
	std %r2,%r2,0
	ldafr %r1,__malloc_context+16
;nontrivial_free+1072
	std %r2,%r1,0
	retf 48
	nop 0
;nontrivial_free+1088
	std %r2,%r2,8
	std %r2,%r2,0
	nop 0
;nontrivial_free+1104
	std %r2,%r4,0
	nop 0
	nop 0
;nontrivial_free+1120
	fence.seq_cst
	addi %r2,%r2,28
	ldorw.relaxed %r2,%r2,%r3
;nontrivial_free+1136
	std %gz,%r1,0
	std %gz,%r1,8
	retf 48
;nontrivial_free+1152
	halt
	nop 0
	nop 0
;__malloc_atfork
	alloc 4
	bwlti %r1,0,__malloc_atfork+32
	bweq %r1,%gz,__malloc_atfork+64
;__malloc_atfork+16
	stwr %gz,__malloc_lock
	retf 0
	nop 0
;__malloc_atfork+32
	ldbzr %r1,__libc+3
	bweq %r1,%gz,__malloc_atfork+80
	ldafr %r3,__malloc_lock
;__malloc_atfork+48
	callr %r2,__lock
	retf 0
	nop 0
;__malloc_atfork+64
	ldafr %r3,__malloc_lock
	callr %r2,__unlock
	nop 0
;__malloc_atfork+80
	retf 0
	nop 0
	nop 0
;__malloc_alloc_meta
	allocsp 14,16
	ldwzr %r1,__malloc_context+8
	bweq %r1,%gz,__malloc_alloc_meta+96
;__malloc_alloc_meta+16
	lddzr %r1,__malloc_context+16
	bdeq %r1,%gz,__malloc_alloc_meta+240
	nop 0
;__malloc_alloc_meta+32
	lddz %r2,%r1,8
	bdeq %r2,%r1,__malloc_alloc_meta+272
	lddz %r3,%r1,0
;__malloc_alloc_meta+48
	std %r2,%r3,8
	lddz %r2,%r1,0
	lddz %r3,%r1,8
;__malloc_alloc_meta+64
	std %r2,%r3,0
	lddzr %r2,__malloc_context+16
	bdne %r2,%r1,__malloc_alloc_meta+864
;__malloc_alloc_meta+80
	lddz %r2,%r1,8
	stdr %r2,__malloc_context+16
	jmp __malloc_alloc_meta+864
;__malloc_alloc_meta+96
	mov %r4,%gz
	addi %r1,%sp,8
	nop 2
;__malloc_alloc_meta+112
	muli.l %r2,%r1,1103515245
	std %r2,%sp,8
;__malloc_alloc_meta+128
	lddzr %r3,__libc+8
	ldi %r2,8
	jmp __malloc_alloc_meta+192
;__malloc_alloc_meta+144
	lddzx.xd %r3,%r3,%r4,0,8
	addi %r12,%r3,8
	mov2 %r11,%r13,%r1,%r2
;__malloc_alloc_meta+160
	callr %r10,memcpy
	lddzr %r3,__libc+8
	nop 0
;__malloc_alloc_meta+176
	addi %r4,%r4,16
	nop 0
	nop 0
;__malloc_alloc_meta+192
	lddzx.xd %r5,%r3,%r4,0,0
	bdeqi %r5,25,__malloc_alloc_meta+144
	bdne %r5,%gz,__malloc_alloc_meta+176
;__malloc_alloc_meta+208
	lddz %r1,%sp,8
	stdr %r1,__malloc_context
	ldi %r1,1
;__malloc_alloc_meta+224
	stwr %r1,__malloc_context+8
	lddzr %r1,__malloc_context+16
	bdne %r1,%gz,__malloc_alloc_meta+32
;__malloc_alloc_meta+240
	lddzr %r2,__malloc_context+32
	bdeq %r2,%gz,__malloc_alloc_meta+288
	lddzr %r1,__malloc_context+24
;__malloc_alloc_meta+256
	addi %r2,%r2,-1
	jmp __malloc_alloc_meta+848
	nop 0
;__malloc_alloc_meta+272
	stdr %gz,__malloc_context+16
	jmp __malloc_alloc_meta+864
	nop 0
;__malloc_alloc_meta+288
	lddzr %r1,__malloc_context+40
	bdne %r1,%gz,__malloc_alloc_meta+544
	lddzr %r2,__malloc_context+920
;__malloc_alloc_meta+304
	bdeqi %r2,-1,__malloc_alloc_meta+544
	bdeq %r2,%gz,__malloc_alloc_meta+368
	addi %r1,%r2,4096
;__malloc_alloc_meta+320
	ldi %r7,12
	mov2 %r8,%r9,%r1,%gz
	mov2 %r10,%r11,%gz,%gz
;__malloc_alloc_meta+336
	mov2 %r12,%r13,%gz,%gz
	callr %r6,__syscall_postrisc
	bdeq %r7,%r1,__malloc_alloc_meta+496
;__malloc_alloc_meta+352
	jmp __malloc_alloc_meta+528
	nop 0
	nop 0
;__malloc_alloc_meta+368
	ldi %r2,12
	mov2 %r7,%r8,%r2,%gz
	mov2 %r9,%r10,%gz,%gz
;__malloc_alloc_meta+384
	mov2 %r11,%r12,%gz,%gz
	mov %r13,%gz
	callr %r6,__syscall_postrisc
;__malloc_alloc_meta+400
	subfi %r1,%r7,0
	andi %r1,%r1,4095
	add %r3,%r1,%r7
;__malloc_alloc_meta+416
	stdr %r3,__malloc_context+920
	ldax.xd.l %r1,%r1,%r7,0,8192
;__malloc_alloc_meta+432
	mov2 %r7,%r8,%r2,%r1
	mov2 %r9,%r10,%gz,%gz
	mov2 %r11,%r12,%gz,%gz
;__malloc_alloc_meta+448
	mov %r13,%gz
	callr %r6,__syscall_postrisc
	bdne %r7,%r1,__malloc_alloc_meta+528
;__malloc_alloc_meta+464
	lddzr %r8,__malloc_context+920
	ldi %r9,4096
	ldi %r11,50
;__malloc_alloc_meta+480
	ldi %r12,-1
	mov2 %r10,%r13,%gz,%gz
	callr %r7,__mmap
;__malloc_alloc_meta+496
	stdr %r1,__malloc_context+920
	addi %r2,%r1,-4096
	ldi %r1,1
;__malloc_alloc_meta+512
	stdr %r1,__malloc_context+40
	jmp __malloc_alloc_meta+736
	nop 0
;__malloc_alloc_meta+528
	ldi %r1,-1
	stdr %r1,__malloc_context+920
	lddzr %r1,__malloc_context+40
;__malloc_alloc_meta+544
	bdeq %r1,%gz,__malloc_alloc_meta+576
	lddzr %r2,__malloc_context+72
	nop 2
;__malloc_alloc_meta+560
	bmany.l %r2,4095,__malloc_alloc_meta+736
	jmp __malloc_alloc_meta+688
;__malloc_alloc_meta+576
	lddzr %r2,__malloc_context+48
	ldi %r1,8192
	sll %r9,%r1,%r2
;__malloc_alloc_meta+592
	ldi %r11,34
	ldi %r12,-1
	mov2 %r8,%r10,%gz,%gz
;__malloc_alloc_meta+608
	mov %r13,%gz
	callr %r7,__mmap
	mov %r1,%gz
;__malloc_alloc_meta+624
	bdeqi %r8,-1,__malloc_alloc_meta+880
	ldi %r1,2
	sll %r1,%r1,%r2
;__malloc_alloc_meta+640
	addi %r2,%r8,4096
	stdr %r2,__malloc_context+72
	addi %r1,%r1,-1
;__malloc_alloc_meta+656
	stdr %r1,__malloc_context+40
	lddzr %r1,__malloc_context+48
	addi %r1,%r1,1
;__malloc_alloc_meta+672
	stdr %r1,__malloc_context+48
	bmany.l %r2,4095,__malloc_alloc_meta+736
;__malloc_alloc_meta+688
	ldi %r12,4096
	ldi %r13,3
	mov %r11,%r2
;__malloc_alloc_meta+704
	callr %r10,__mprotect
	bweq %r11,%gz,__malloc_alloc_meta+736
	callr %r12,___errno_location
;__malloc_alloc_meta+720
	ldwz %r3,%r13,0
	mov %r1,%gz
	bwnei %r3,38,__malloc_alloc_meta+880
;__malloc_alloc_meta+736
	lddzr %r1,__malloc_context+40
	addi %r1,%r1,-1
	stdr %r1,__malloc_context+40
;__malloc_alloc_meta+752
	addi %r1,%r2,4096
	stdr %r1,__malloc_context+72
	lddzr %r1,__malloc_context+64
;__malloc_alloc_meta+768
	bdeq %r1,%gz,__malloc_alloc_meta+784
	std %r2,%r1,8
	jmp __malloc_alloc_meta+800
;__malloc_alloc_meta+784
	stdr %r2,__malloc_context+56
	nop 0
	nop 0
;__malloc_alloc_meta+800
	stdr %r2,__malloc_context+64
	lddzr %r1,__malloc_context
	std %r1,%r2,0
;__malloc_alloc_meta+816
	lddzr %r1,__malloc_context+64
	ldi %r2,101
	stw %r2,%r1,16
;__malloc_alloc_meta+832
	lddzr %r1,__malloc_context+64
	addi %r1,%r1,24
	ldi %r2,100
;__malloc_alloc_meta+848
	stdr %r2,__malloc_context+32
	addi %r2,%r1,40
	stdr %r2,__malloc_context+24
;__malloc_alloc_meta+864
	std %gz,%r1,8
	std %gz,%r1,0
	nop 0
;__malloc_alloc_meta+880
	retf 16
	nop 0
	nop 0
;__libc_malloc_impl
	alloc 15
	ldi.l %r2,9223372036854771711
;__libc_malloc_impl+16
	bdltu %r1,%r2,__libc_malloc_impl+64
	callr %r13,___errno_location
	mov %r11,%gz
;__libc_malloc_impl+32
	ldi %r1,12
	stw %r1,%r14,0
	mov %r1,%r11
;__libc_malloc_impl+48
	retf 0
	nop 0
	nop 0
;__libc_malloc_impl+64
	bdltui.l %r1,131052,__libc_malloc_impl+176
	addi %r2,%r1,20
;__libc_malloc_impl+80
	ldi %r11,3
	ldi %r12,34
	ldi %r13,-1
;__libc_malloc_impl+96
	mov2 %r9,%r10,%gz,%r2
	mov %r14,%gz
	callr %r8,__mmap
;__libc_malloc_impl+112
	mov %r11,%gz
	bdeqi %r9,-1,__libc_malloc_impl+784
	ldbzr %r3,__libc+3
;__libc_malloc_impl+128
	bweq %r3,%gz,__libc_malloc_impl+144
	ldafr %r14,__malloc_lock
	callr %r13,__lock
;__libc_malloc_impl+144
	ldbzr %r3,__malloc_context+912
	bweqi %r3,255,__libc_malloc_impl+624
	addiws %r3,%r3,1
;__libc_malloc_impl+160
	jmp __libc_malloc_impl+656
	nop 0
	nop 0
;__libc_malloc_impl+176
	addi %r2,%r1,3
	srli %r2,%r2,4
	bdltui %r1,157,__libc_malloc_impl+336
;__libc_malloc_impl+192
	addiws %r3,%r2,1
	srliw %r4,%r3,1
	srliw %r5,%r3,2
;__libc_malloc_impl+208
	or %r3,%r5,%r3
	or %r3,%r3,%r4
	srliw %r3,%r3,2
;__libc_malloc_impl+224
	or %r3,%r3,%r4
	srliw %r4,%r3,4
	or %r3,%r4,%r3
;__libc_malloc_impl+240
	srliw %r4,%r3,8
	or %r3,%r4,%r3
	addiws %r3,%r3,1
;__libc_malloc_impl+256
	cnttz %r3,%r3,31
	ldi %r4,124
	slxor %r3,%r4,%r3,2
;__libc_malloc_impl+272
	subfiws %r4,%r3,121
	ldafr %r5,__malloc_size_classes
	ldhzx.xw %r4,%r5,%r4,1,0
;__libc_malloc_impl+288
	cmpdltu %r4,%r2,%r4
	ldi %r6,122
	ldi %r7,120
;__libc_malloc_impl+304
	cmovlsb %r4,%r4,%r7,%r6
	subws %r3,%r4,%r3
	ldhzx.xw %r4,%r5,%r3,1,0
;__libc_malloc_impl+320
	cmpdleu %r2,%r4,%r2
	or %r2,%r3,%r2
	nop 0
;__libc_malloc_impl+336
	ldbzr %r3,__libc+3
	bweq %r3,%gz,__libc_malloc_impl+368
	ldafr %r14,__malloc_lock
;__libc_malloc_impl+352
	callr %r13,__lock
	nop 0
	nop 0
;__libc_malloc_impl+368
	ldafr %r4,__malloc_context+80
	lddzx.xw %r11,%r4,%r2,3,0
	bdne %r11,%gz,__libc_malloc_impl+512
;__libc_malloc_impl+384
	bweqi %r2,6,__libc_malloc_impl+512
	addiws %r3,%r2,-4
	bwgeui %r3,28,__libc_malloc_impl+512
;__libc_malloc_impl+400
	bbsi %r2,0,__libc_malloc_impl+528
	sraiw %r3,%r2,0
	ldafr %r5,__malloc_context+464
;__libc_malloc_impl+416
	lddzx.xd %r3,%r5,%r3,3,0
	bdne %r3,%gz,__libc_malloc_impl+528
	ori %r3,%r2,1
;__libc_malloc_impl+432
	lddzx.xuw %r6,%r4,%r3,3,0
	lddzx.xuw %r5,%r5,%r3,3,0
	bdeq %r6,%gz,__libc_malloc_impl+480
;__libc_malloc_impl+448
	ldwz %r7,%r6,24
	bwne %r7,%gz,__libc_malloc_impl+496
	ldwz %r6,%r6,28
;__libc_malloc_impl+464
	bwne %r6,%gz,__libc_malloc_impl+496
	nop 0
	nop 0
;__libc_malloc_impl+480
	addi %r5,%r5,3
	nop 0
	nop 0
;__libc_malloc_impl+496
	cmpdltui %r5,%r5,13
	cmovlsb %r2,%r5,%r3,%r2
	lddzx.xuw %r11,%r4,%r2,3,0
;__libc_malloc_impl+512
	bdeq %r11,%gz,__libc_malloc_impl+528
	ldwz %r3,%r11,24
	jmp __libc_malloc_impl+544
;__libc_malloc_impl+528
	mov2 %r11,%r3,%gz,%gz
	nop 0
	nop 0
;__libc_malloc_impl+544
	subfiws %r5,%r3,0
	and %r5,%r3,%r5
	bweq %r5,%gz,__libc_malloc_impl+592
;__libc_malloc_impl+560
	subws %r2,%r3,%r5
	stw %r2,%r11,24
	cnttz %r12,%r3,31
;__libc_malloc_impl+576
	jmp __libc_malloc_impl+752
	nop 0
	nop 0
;__libc_malloc_impl+592
	mov2 %r13,%r14,%r2,%r1
	callr %r12,alloc_slot
	bwlti %r13,0,__libc_malloc_impl+832
;__libc_malloc_impl+608
	mov %r12,%r13
	lddzx.xw %r11,%r4,%r2,3,0
	jmp __libc_malloc_impl+752
;__libc_malloc_impl+624
	mov %r4,%gz
	ldafr %r5,__malloc_context+848
	ldi %r3,1
;__libc_malloc_impl+640
	stbx.xd %gz,%r4,%r5,0,0
	addi %r4,%r4,1
	bdnei %r4,32,__libc_malloc_impl+640
;__libc_malloc_impl+656
	stbr %r3,__malloc_context+912
	callr %r13,__malloc_alloc_meta
	bdeq %r14,%gz,__libc_malloc_impl+800
;__libc_malloc_impl+672
	mov %r11,%r14
	std %r9,%r11,16
	std %r11,%r9,0
;__libc_malloc_impl+688
	addi %r2,%r1,4115
	andi %r2,%r2,-4096
	ori %r2,%r2,4064
;__libc_malloc_impl+704
	std %r2,%r11,32
	stw %gz,%r11,28
	stw %gz,%r11,24
;__libc_malloc_impl+720
	ldwzr %r2,__malloc_context+12
	mov %r12,%gz
	addiws %r2,%r2,1
;__libc_malloc_impl+736
	stwr %r2,__malloc_context+12
	nop 0
	nop 0
;__libc_malloc_impl+752
	ldwzr %r2,__malloc_context+12
	ldafr %r14,__malloc_lock
	callr %r13,__unlock
;__libc_malloc_impl+768
	mov2 %r13,%r14,%r1,%r2
	callr %r10,enframe
	nop 0
;__libc_malloc_impl+784
	mov %r1,%r11
	retf 0
	nop 0
;__libc_malloc_impl+800
	ldafr %r14,__malloc_lock
	callr %r13,__unlock
	mov2 %r13,%r14,%r9,%r2
;__libc_malloc_impl+816
	callr %r12,__munmap
	mov2 %r11,%r1,%gz,%gz
	retf 0
;__libc_malloc_impl+832
	ldafr %r14,__malloc_lock
	callr %r13,__unlock
	mov2 %r11,%r1,%gz,%gz
;__libc_malloc_impl+848
	retf 0
	nop 0
	nop 0
;alloc_slot
	allocsp 28,48
	ldafr %r9,__malloc_context+80
	ldax.xw %r5,%r9,%r1,3,0
;alloc_slot+16
	lddzx.xw %r3,%r9,%r1,3,0
	bdeq %r3,%gz,alloc_slot+560
	ldwz %r4,%r3,24
;alloc_slot+32
	bwne %r4,%gz,alloc_slot+512
	ldwz %r6,%r3,28
	lddz %r4,%r3,8
;alloc_slot+48
	bweq %r6,%gz,alloc_slot+64
	std %r4,%r5,0
	jmp alloc_slot+192
;alloc_slot+64
	bdeq %r4,%r3,alloc_slot+128
	lddz %r6,%r3,0
	std %r4,%r6,8
;alloc_slot+80
	lddz %r4,%r3,0
	lddz %r6,%r3,8
	std %r4,%r6,0
;alloc_slot+96
	lddz %r4,%r5,0
	bdne %r4,%r3,alloc_slot+160
	lddz %r4,%r3,8
;alloc_slot+112
	jmp alloc_slot+144
	nop 0
	nop 0
;alloc_slot+128
	mov %r4,%gz
	nop 0
	nop 0
;alloc_slot+144
	std %r4,%r5,0
	nop 0
	nop 0
;alloc_slot+160
	std %gz,%r3,8
	std %gz,%r3,0
	lddz %r4,%r5,0
;alloc_slot+176
	bdeq %r4,%gz,alloc_slot+560
	nop 0
	nop 0
;alloc_slot+192
	ldwz %r3,%r4,28
	lddz %r7,%r4,32
	ldi %r6,2
;alloc_slot+208
	bbci %r7,5,alloc_slot+256
	andi %r7,%r7,31
	sllw %r7,%r6,%r7
;alloc_slot+224
	addiws %r7,%r7,-1
	bwne %r3,%r7,alloc_slot+256
	lddz %r4,%r4,8
;alloc_slot+240
	std %r4,%r5,0
	ldwz %r3,%r4,28
	nop 0
;alloc_slot+256
	lddz %r7,%r4,16
	ldbz %r8,%r7,8
	andi %r10,%r8,31
;alloc_slot+272
	sllw %r11,%r6,%r10
	addiws %r11,%r11,-1
	and %r3,%r11,%r3
;alloc_slot+288
	bweq %r3,%gz,alloc_slot+336
	nop 0
	nop 0
;alloc_slot+304
	mov %r3,%r4
	ldwz %r4,%r3,24
	bweq %r4,%gz,alloc_slot+368
;alloc_slot+320
	jmp alloc_slot+2592
	nop 0
	nop 0
;alloc_slot+336
	lddz %r3,%r4,8
	bdeq %r3,%r4,alloc_slot+1696
	std %r3,%r5,0
;alloc_slot+352
	ldwz %r4,%r3,24
	bwne %r4,%gz,alloc_slot+2592
	nop 0
;alloc_slot+368
	lddz %r4,%r3,16
	ldbz %r4,%r4,8
	andi %r4,%r4,31
;alloc_slot+384
	sllw %r4,%r6,%r4
	subfiws %r6,%r4,0
	addi %r8,%r3,28
;alloc_slot+400
	ldwz %r7,%r3,28
	and %r10,%r7,%r6
	fence.seq_cst
;alloc_slot+416
	casw.relaxed %r10,%r8,%r7
	bwne %r10,%r7,alloc_slot+400
	addiws %r4,%r4,-1
;alloc_slot+432
	and %r4,%r7,%r4
	stw %r4,%r3,24
	bweq %r4,%gz,alloc_slot+2592
;alloc_slot+448
	ldwz %r6,%r3,32
	slsrli %r6,%r6,52,58
	addiws %r6,%r6,-7
;alloc_slot+464
	bwgeui %r6,32,alloc_slot+512
	ldafr %r7,__malloc_context+880
	ldbzx.xuw %r8,%r7,%r6,0,0
;alloc_slot+480
	bweq %r8,%gz,alloc_slot+512
	srliw %r6,%r6,0
	addiws %r8,%r8,-1
;alloc_slot+496
	stbx.xd %r8,%r6,%r7,0,0
	nop 0
	nop 0
;alloc_slot+512
	subfiws %r6,%r4,0
	and %r6,%r4,%r6
	subws %r7,%r4,%r6
;alloc_slot+528
	stw %r7,%r3,24
	bweq %r6,%gz,alloc_slot+560
	cnttz %r1,%r4,31
;alloc_slot+544
	retf 48
	nop 0
	nop 0
;alloc_slot+560
	sraiw %r6,%r1,0
	ldafr %r14,__malloc_size_classes
	ldhzx.xd %r7,%r14,%r6,1,0
;alloc_slot+576
	callr %r26,__malloc_alloc_meta
	ldi %r4,-1
	bdeq %r27,%gz,alloc_slot+2432
;alloc_slot+592
	mov %r3,%r27
	slli %r8,%r7,4
	ldafr %r7,__malloc_context+464
;alloc_slot+608
	lddzx.xd %r12,%r7,%r6,3,0
	ldi %r11,1
	bwgei %r1,9,alloc_slot+736
;alloc_slot+624
	mov2 %r17,%r19,%gz,%gz
	ldi %r10,3
	ldafr %r13,small_cnt_tab
;alloc_slot+640
	ldi %r16,1
	nop 0
	nop 0
;alloc_slot+656
	mov %r15,%r19
	muladd %r18,%r6,%r10,%r19
	ldbzx.xd %r18,%r18,%r13,0,0
;alloc_slot+672
	slli %r18,%r18,2
	bdleu %r18,%r12,alloc_slot+704
	mov2 %r20,%r17,%r17,%r16
;alloc_slot+688
	mov %r19,%r16
	bbci %r20,0,alloc_slot+656
	nop 0
;alloc_slot+704
	cmpdleu %r16,%r18,%r12
	ldi %r17,2
	cmovlsb %r15,%r16,%r15,%r17
;alloc_slot+720
	muladd %r10,%r6,%r10,%r15
	ldbzx.xd %r13,%r10,%r13,0,0
	jmp alloc_slot+848
;alloc_slot+736
	andi %r10,%r1,3
	ldafr %r13,med_cnt_tab
	ldbzx.xd %r10,%r10,%r13,0,0
;alloc_slot+752
	bbsi %r10,0,alloc_slot+816
	nop 0
	nop 0
;alloc_slot+768
	mov %r13,%r10
	slliw %r10,%r10,2
	bdleu %r10,%r12,alloc_slot+800
;alloc_slot+784
	srliw %r10,%r13,1
	bbci %r13,1,alloc_slot+768
	jmp alloc_slot+816
;alloc_slot+800
	mov %r10,%r13
	nop 0
	nop 0
;alloc_slot+816
	mov %r13,%r10
	srliw %r10,%r10,0
	mul %r15,%r8,%r10
;alloc_slot+832
	srliw %r10,%r13,1
	bdgeui.l %r15,1048576,alloc_slot+816
;alloc_slot+848
	cmpwltui %r15,%r1,24
	ldi %r10,2
	cmpweqi %r16,%r13,1
;alloc_slot+864
	cmovlsb %r15,%r15,%r10,%r11
	cmovlsb %r13,%r16,%r15,%r13
	srliw %r15,%r13,0
;alloc_slot+880
	mul %r15,%r8,%r15
	bdltui %r15,2033,alloc_slot+1008
	addiws %r9,%r1,-7
;alloc_slot+896
	bwgeui %r9,32,alloc_slot+1312
	ldafr %r16,__malloc_context+880
	ldbzx.xuw %r17,%r16,%r9,0,0
;alloc_slot+912
	ldafr %r4,__malloc_context+848
	ldbzx.xuw %r18,%r4,%r9,0,0
	cmpwgtui %r4,%r17,99
;alloc_slot+928
	bweq %r18,%gz,alloc_slot+992
	ldbzr %r14,__malloc_context+912
	subws %r18,%r14,%r18
;alloc_slot+944
	bwgei %r18,10,alloc_slot+1504
	cmpwltui %r14,%r17,99
	addiws %r17,%r17,1
;alloc_slot+960
	ldi %r18,-106
	srliw %r9,%r9,0
	cmovlsb %r14,%r14,%r17,%r18
;alloc_slot+976
	stbx.xd %r14,%r9,%r16,0,0
	nop 0
	nop 0
;alloc_slot+992
	mov %r9,%r4
	jmp alloc_slot+1328
	nop 0
;alloc_slot+1008
	ori %r27,%r15,12
	srli %r1,%r15,4
	bdltui %r27,157,alloc_slot+1168
;alloc_slot+1024
	addiws %r2,%r1,1
	srliw %r11,%r2,1
	srliw %r12,%r2,2
;alloc_slot+1040
	or %r2,%r12,%r2
	or %r2,%r2,%r11
	srliw %r2,%r2,2
;alloc_slot+1056
	or %r2,%r2,%r11
	srliw %r11,%r2,4
	or %r2,%r11,%r2
;alloc_slot+1072
	srliw %r11,%r2,8
	or %r2,%r11,%r2
	addiws %r2,%r2,1
;alloc_slot+1088
	cnttz %r2,%r2,31
	ldi %r11,124
	slxor %r2,%r11,%r2,2
;alloc_slot+1104
	subfiws %r11,%r2,121
	ldhzx.xw %r11,%r14,%r11,1,0
	cmpdltu %r11,%r1,%r11
;alloc_slot+1120
	ldi %r12,122
	ldi %r15,120
	cmovlsb %r11,%r11,%r15,%r12
;alloc_slot+1136
	subws %r2,%r11,%r2
	ldhzx.xw %r11,%r14,%r2,1,0
	cmpdleu %r1,%r11,%r1
;alloc_slot+1152
	or %r1,%r2,%r1
	nop 0
	nop 0
;alloc_slot+1168
	mov %r26,%r1
	callr %r25,alloc_slot
	bwlti %r26,0,alloc_slot+1360
;alloc_slot+1184
	ldhzx.xw %r2,%r14,%r1,1,0
	ldi %r4,-4
	lddzx.xw %r24,%r9,%r1,3,0
;alloc_slot+1200
	sladdws %r1,%r4,%r2,4
	ldwzr %r27,__malloc_context+12
	mov2 %r25,%r26,%r26,%r1
;alloc_slot+1216
	callr %r23,enframe
	lddz %r1,%r3,32
	mov %r22,%r24
;alloc_slot+1232
	andi %r1,%r1,4095
	std %r1,%r3,32
	ldbz %r1,%r24,-3
;alloc_slot+1248
	andi %r1,%r1,31
	ori %r1,%r1,192
	stb %r1,%r24,-3
;alloc_slot+1264
	addiwz %r1,%r13,1
	ldi %r2,12
	nop 0
;alloc_slot+1280
	stbx.xd %gz,%r22,%r2,0,0
	addi %r1,%r1,-1
	add %r2,%r2,%r8
;alloc_slot+1296
	bdne %r1,%gz,alloc_slot+1280
	mov %r9,%r13
	jmp alloc_slot+2144
;alloc_slot+1312
	mov2 %r4,%r9,%gz,%gz
	nop 0
	nop 0
;alloc_slot+1328
	ldbzr %r14,__malloc_context+912
	andi %r16,%r14,255
	bweqi %r16,255,alloc_slot+1520
;alloc_slot+1344
	addiws %r14,%r14,1
	jmp alloc_slot+1552
	nop 0
;alloc_slot+1360
	stq %gz,%sp,0
	std %gz,%sp,32
	stq %gz,%sp,16
;alloc_slot+1376
	addi %r1,%sp,0
	ori %r1,%r1,8
	lddz %r1,%r1,0
;alloc_slot+1392
	std %r1,%r3,8
	lddz %r1,%sp,32
	std %r1,%r3,32
;alloc_slot+1408
	lddz %r1,%sp,24
	std %r1,%r3,24
	lddz %r1,%sp,16
;alloc_slot+1424
	std %r1,%r3,16
	lddz %r1,%sp,0
	std %r1,%r3,0
;alloc_slot+1440
	lddz %r1,%r3,8
	bdne %r1,%gz,alloc_slot+2592
	lddz %r1,%r3,0
;alloc_slot+1456
	bdne %r1,%gz,alloc_slot+2592
	lddzr %r1,__malloc_context+16
	bdeq %r1,%gz,alloc_slot+2560
;alloc_slot+1472
	std %r1,%r3,8
	lddz %r1,%r1,0
	std %r1,%r3,0
;alloc_slot+1488
	std %r3,%r1,8
	lddz %r1,%r3,8
	jmp alloc_slot+2576
;alloc_slot+1504
	mov %r9,%r4
	andi %r16,%r14,255
	bwnei %r16,255,alloc_slot+1344
;alloc_slot+1520
	mov %r16,%gz
	ldafr %r17,__malloc_context+848
	ldi %r14,1
;alloc_slot+1536
	stbx.xd %gz,%r16,%r17,0,0
	addi %r16,%r16,1
	bdnei %r16,32,alloc_slot+1536
;alloc_slot+1552
	stbr %r14,__malloc_context+912
	bwgei %r1,32,alloc_slot+1600
	andi %r14,%r1,1
;alloc_slot+1568
	bwne %r14,%gz,alloc_slot+1600
	ori %r14,%r1,1
	lddzx.xw %r14,%r7,%r14,3,0
;alloc_slot+1584
	add %r12,%r14,%r12
	nop 0
	nop 0
;alloc_slot+1600
	slliw %r14,%r13,2
	cmpdleu %r14,%r14,%r12
	or %r9,%r14,%r9
;alloc_slot+1616
	bbci %r9,0,alloc_slot+1632
	mov %r9,%r13
	jmp alloc_slot+1920
;alloc_slot+1632
	andi %r1,%r1,3
	bwnei %r1,1,alloc_slot+1664
	mov %r9,%r10
;alloc_slot+1648
	bdgeui.l %r15,32769,alloc_slot+1920
	nop 0
;alloc_slot+1664
	bwnei %r1,2,alloc_slot+1856
	bdltui.l %r15,16385,alloc_slot+1856
;alloc_slot+1680
	ldi %r9,3
	jmp alloc_slot+1920
	nop 0
;alloc_slot+1696
	lddz %r3,%r4,32
	srli %r11,%r3,5
	andi %r11,%r11,126
;alloc_slot+1712
	ldafr %r12,__malloc_size_classes
	ldhzx.xd %r12,%r11,%r12,0,0
	addiws %r11,%r10,2
;alloc_slot+1728
	slliw %r10,%r12,4
	mulws %r13,%r10,%r11
	ldi %r15,-1
;alloc_slot+1744
	addiws %r14,%r13,16
	sladdws %r12,%r15,%r12,4
	nop 0
;alloc_slot+1760
	mov %r13,%r11
	addws %r11,%r12,%r14
	xor %r15,%r11,%r14
;alloc_slot+1776
	addws %r14,%r14,%r10
	addiws %r11,%r13,1
	nop 2
;alloc_slot+1792
	bwlti.l %r15,4096,alloc_slot+1760
	andi %r3,%r3,31
;alloc_slot+1808
	addiws %r3,%r3,1
	minuw %r3,%r13,%r3
	addiws %r3,%r3,-1
;alloc_slot+1824
	andi %r3,%r3,31
	andi %r8,%r8,224
	or %r3,%r3,%r8
;alloc_slot+1840
	stb %r3,%r7,8
	jmp alloc_slot+304
	nop 0
;alloc_slot+1856
	cmpdgtui %r9,%r15,32768
	ldi %r14,3
	cmovlsb %r9,%r9,%r14,%r13
;alloc_slot+1872
	cmovweq %r9,%r1,%r9,%r13
	bwne %r1,%gz,alloc_slot+1920
	nop 2
;alloc_slot+1888
	bdgeui.l %r15,32769,alloc_slot+1920
	cmpdgtui %r1,%r15,8192
;alloc_slot+1904
	ldi %r9,5
	cmovlsb %r9,%r1,%r9,%r13
	nop 0
;alloc_slot+1920
	srliw %r1,%r9,0
	mul %r1,%r8,%r1
	subfi %r13,%r1,4080
;alloc_slot+1936
	andi %r13,%r13,4080
	ldax.xd %r1,%r1,%r13,0,16
	bwne %r4,%gz,alloc_slot+2032
;alloc_slot+1952
	bwgei %r9,8,alloc_slot+2032
	subfi %r4,%r2,4076
	andi %r4,%r4,4095
;alloc_slot+1968
	ldax.xd %r2,%r2,%r4,0,20
	addi %r4,%r8,16
	bdleu %r4,%r2,alloc_slot+2000
;alloc_slot+1984
	mov2 %r9,%r1,%r11,%r2
	jmp alloc_slot+2032
	nop 0
;alloc_slot+2000
	bdltui.l %r2,16384,alloc_slot+2032
	slliw %r4,%r9,1
;alloc_slot+2016
	bdltu %r12,%r4,alloc_slot+1984
	nop 0
	nop 0
;alloc_slot+2032
	ldi %r24,3
	ldi %r25,34
	ldi %r4,-1
;alloc_slot+2048
	mov2 %r22,%r23,%gz,%r1
	mov2 %r26,%r27,%r4,%gz
	callr %r21,__mmap
;alloc_slot+2064
	bdeqi %r22,-1,alloc_slot+2448
	lddz %r2,%r3,32
	andi %r1,%r1,-4096
;alloc_slot+2080
	andi %r2,%r2,4095
	or %r1,%r2,%r1
	std %r1,%r3,32
;alloc_slot+2096
	ldwzr %r1,__malloc_context+12
	addiws %r1,%r1,1
	stwr %r1,__malloc_context+12
;alloc_slot+2112
	ldi %r1,4080
	divu %r1,%r1,%r8
	minsw %r1,%r9,%r1
;alloc_slot+2128
	maxsw %r13,%r1,%r11
	nop 0
	nop 0
;alloc_slot+2144
	sladd %r1,%r7,%r6,3
	lddz %r2,%r1,0
	ldax.xuw %r2,%r2,%r9,0,0
;alloc_slot+2160
	addiws %r4,%r13,-1
	std %r2,%r1,0
	sllw %r1,%r10,%r4
;alloc_slot+2176
	addiws %r1,%r1,-1
	stw %r1,%r3,24
	ldwz %r1,%r3,24
;alloc_slot+2192
	addiws %r2,%r9,-1
	sllw %r7,%r10,%r2
	xori %r1,%r1,-1
;alloc_slot+2208
	addws %r1,%r7,%r1
	stw %r1,%r3,28
	std %r22,%r3,16
;alloc_slot+2224
	std %r3,%r22,0
	lddz %r1,%r3,16
	ldbz %r7,%r1,8
;alloc_slot+2240
	andi %r4,%r4,31
	andi %r7,%r7,224
	or %r4,%r7,%r4
;alloc_slot+2256
	stb %r4,%r1,8
	lddz %r1,%r3,32
	andi %r2,%r2,31
;alloc_slot+2272
	andi %r1,%r1,-4096
	slli %r4,%r6,6
	andi %r4,%r4,4032
;alloc_slot+2288
	or %r2,%r4,%r2
	or %r1,%r2,%r1
	ori %r1,%r1,32
;alloc_slot+2304
	std %r1,%r3,32
	ldwz %r1,%r3,24
	addiws %r1,%r1,-1
;alloc_slot+2320
	stw %r1,%r3,24
	lddz %r1,%r3,8
	bdne %r1,%gz,alloc_slot+2592
;alloc_slot+2336
	lddz %r1,%r3,0
	bdne %r1,%gz,alloc_slot+2592
	lddz %r1,%r5,0
;alloc_slot+2352
	bdeq %r1,%gz,alloc_slot+2400
	std %r1,%r3,8
	lddz %r1,%r1,0
;alloc_slot+2368
	std %r1,%r3,0
	std %r3,%r1,8
	lddz %r5,%r3,8
;alloc_slot+2384
	jmp alloc_slot+2416
	nop 0
	nop 0
;alloc_slot+2400
	std %r3,%r3,8
	std %r3,%r3,0
	nop 0
;alloc_slot+2416
	mov %r4,%gz
	std %r3,%r5,0
	nop 0
;alloc_slot+2432
	mov %r1,%r4
	retf 48
	nop 0
;alloc_slot+2448
	stq %gz,%sp,0
	std %gz,%sp,32
	stq %gz,%sp,16
;alloc_slot+2464
	addi %r1,%sp,0
	ori %r1,%r1,8
	lddz %r1,%r1,0
;alloc_slot+2480
	std %r1,%r3,8
	lddz %r1,%sp,32
	std %r1,%r3,32
;alloc_slot+2496
	lddz %r1,%sp,24
	std %r1,%r3,24
	lddz %r1,%sp,16
;alloc_slot+2512
	std %r1,%r3,16
	lddz %r1,%sp,0
	std %r1,%r3,0
;alloc_slot+2528
	lddz %r1,%r3,8
	bdne %r1,%gz,alloc_slot+2592
	lddz %r1,%r3,0
;alloc_slot+2544
	bdne %r1,%gz,alloc_slot+2592
	lddzr %r1,__malloc_context+16
	bdne %r1,%gz,alloc_slot+1472
;alloc_slot+2560
	std %r3,%r3,8
	std %r3,%r3,0
	ldafr %r1,__malloc_context+16
;alloc_slot+2576
	std %r3,%r1,0
	mov %r1,%r4
	retf 48
;alloc_slot+2592
	halt
	nop 0
	nop 0
;enframe
	alloc 12
	lddz %r5,%r1,32
	nop 2
;enframe+16
	bdltui.l %r5,4096,enframe+64
	andi %r6,%r5,31
;enframe+32
	bdne %r6,%gz,enframe+64
	andi %r5,%r5,-4096
	addi %r5,%r5,-16
;enframe+48
	jmp enframe+96
	nop 0
	nop 0
;enframe+64
	srli %r5,%r5,5
	andi %r5,%r5,126
	ldafr %r6,__malloc_size_classes
;enframe+80
	ldhzx.xd %r5,%r5,%r6,0,0
	slli %r5,%r5,4
	nop 0
;enframe+96
	lddz %r7,%r1,16
	sraiw %r6,%r2,0
	mul %r8,%r5,%r6
;enframe+112
	ldax.xd %r6,%r7,%r8,0,16
	ldbzx.xd %r8,%r7,%r8,0,13
	bweq %r8,%gz,enframe+144
;enframe+128
	ldhz %r4,%r6,-2
	addiws %r4,%r4,1
	nop 0
;enframe+144
	ldbz %r8,%r6,-4
	bwne %r8,%gz,enframe+480
	sub %r8,%r5,%r3
;enframe+160
	addi %r10,%r8,-4
	srli %r9,%r10,4
	andi %r11,%r4,255
;enframe+176
	andi %r8,%r4,255
	bdleu %r11,%r9,enframe+272
	srli %r4,%r10,5
;enframe+192
	or %r4,%r9,%r4
	srli %r10,%r4,2
	or %r4,%r10,%r4
;enframe+208
	srli %r10,%r4,4
	or %r4,%r10,%r4
	and %r4,%r8,%r4
;enframe+224
	srliw %r8,%r4,0
	cmpdltu %r8,%r9,%r8
	xori %r10,%r9,-1
;enframe+240
	cmovlsb %r8,%r8,%r10,%gz
	addws %r10,%r8,%r4
	bdltu %r9,%r10,enframe+480
;enframe+256
	addws %r8,%r8,%r4
	nop 0
	nop 0
;enframe+272
	mov %r4,%r6
	bweq %r8,%gz,enframe+320
	sth %r8,%r6,-2
;enframe+288
	ldi %r4,224
	stb %r4,%r6,-3
	ldax.xw %r4,%r6,%r8,4,0
;enframe+304
	stbx.xw %gz,%r6,%r8,4,-4
	lddz %r7,%r1,16
	nop 0
;enframe+320
	add %r8,%r6,%r5
	ldax.xd %r5,%r6,%r5,0,-4
	sub %r1,%r4,%r7
;enframe+336
	addi %r1,%r1,-16
	srli %r1,%r1,4
	sth %r1,%r4,-2
;enframe+352
	add %r1,%r3,%r4
	ldi %r3,-4
	addsub %r1,%r8,%r3,%r1
;enframe+368
	stb %r2,%r4,-3
	bweq %r1,%gz,enframe+432
	slsub %r2,%gz,%r1,32
;enframe+384
	srai %r2,%r2,32
	stbx.xd %gz,%r5,%r2,0,0
	bwlti %r1,5,enframe+448
;enframe+400
	stw %r1,%r8,-8
	stb %gz,%r8,-9
	ldi %r1,5
;enframe+416
	jmp enframe+448
	nop 0
	nop 0
;enframe+432
	mov %r1,%gz
	nop 0
	nop 0
;enframe+448
	ldbz %r2,%r4,-3
	andi %r2,%r2,31
	slor %r1,%r2,%r1,5
;enframe+464
	stb %r1,%r4,-3
	mov %r1,%r4
	retf 0
;enframe+480
	halt
	nop 0
	nop 0
;__malloc_allzerop
	alloc 8
	bmany %r1,15,__malloc_allzerop+448
	ldbz %r3,%r1,-4
;__malloc_allzerop+16
	ldhz %r2,%r1,-2
	ldbz %r4,%r1,-3
	bweq %r3,%gz,__malloc_allzerop+64
;__malloc_allzerop+32
	bwne %r2,%gz,__malloc_allzerop+448
	ldwz %r2,%r1,-8
	nop 2
;__malloc_allzerop+48
	bwlti.l %r2,65536,__malloc_allzerop+448
	nop 0
;__malloc_allzerop+64
	slliw %r3,%r2,4
	sub %r1,%r1,%r3
	lddz %r6,%r1,-16
;__malloc_allzerop+80
	lddz %r3,%r6,16
	addi %r1,%r1,-16
	bdne %r3,%r1,__malloc_allzerop+448
;__malloc_allzerop+96
	lddz %r3,%r6,32
	andi %r5,%r4,31
	andi %r1,%r3,31
;__malloc_allzerop+112
	bwltu %r1,%r5,__malloc_allzerop+448
	ldwz %r7,%r6,24
	ldi %r1,1
;__malloc_allzerop+128
	sllw %r4,%r1,%r5
	and %r7,%r7,%r4
	bwne %r7,%gz,__malloc_allzerop+448
;__malloc_allzerop+144
	ldwz %r7,%r6,28
	and %r4,%r7,%r4
	bwne %r4,%gz,__malloc_allzerop+448
;__malloc_allzerop+160
	andi %r4,%r6,-4096
	lddz %r4,%r4,0
	lddzr %r6,__malloc_context
;__malloc_allzerop+176
	bdne %r4,%r6,__malloc_allzerop+448
	slsrli %r4,%r3,52,58
	bdgeui %r4,48,__malloc_allzerop+240
;__malloc_allzerop+192
	ldafr %r6,__malloc_size_classes
	ldhzx.xd %r6,%r6,%r4,1,0
	mulws %r7,%r6,%r5
;__malloc_allzerop+208
	bwltu %r2,%r7,__malloc_allzerop+448
	addiws %r5,%r5,1
	mulws %r5,%r5,%r6
;__malloc_allzerop+224
	bwltu %r2,%r5,__malloc_allzerop+256
	jmp __malloc_allzerop+448
	nop 0
;__malloc_allzerop+240
	bdnei %r4,63,__malloc_allzerop+448
	nop 0
	nop 0
;__malloc_allzerop+256
	bdltui.l %r3,4096,__malloc_allzerop+304
	srliw %r2,%r2,0
;__malloc_allzerop+272
	srli %r5,%r3,4
	andi.l %r5,%r5,1152921504606846720
;__malloc_allzerop+288
	addi %r5,%r5,-1
	bdltu %r5,%r2,__malloc_allzerop+448
	nop 0
;__malloc_allzerop+304
	bmall.l %r3,3072,__malloc_allzerop+432
	nop 2
;__malloc_allzerop+320
	bdltui.l %r3,4096,__malloc_allzerop+384
	andi %r1,%r3,31
;__malloc_allzerop+336
	bdne %r1,%gz,__malloc_allzerop+384
	ldafr %r1,__malloc_size_classes
	ldhzx.xd %r1,%r1,%r4,1,0
;__malloc_allzerop+352
	andi %r2,%r3,-4096
	addi %r2,%r2,-16
	slli %r1,%r1,4
;__malloc_allzerop+368
	jmp __malloc_allzerop+416
	nop 0
	nop 0
;__malloc_allzerop+384
	ldafr %r1,__malloc_size_classes
	ldhzx.xd %r1,%r1,%r4,1,0
	slli %r1,%r1,4
;__malloc_allzerop+400
	mov %r2,%r1
	nop 0
	nop 0
;__malloc_allzerop+416
	cmpdltu %r1,%r2,%r1
	nop 0
	nop 0
;__malloc_allzerop+432
	retf 0
	nop 0
	nop 0
;__malloc_allzerop+448
	halt
	nop 0
	nop 0
;dummy
	alloc 1
	retf 0
	nop 0
;__mmap
	alloc 16
	bmnone.l %r6,4095,__mmap+32
;__mmap+16
	callr %r14,___errno_location
	ldi %r1,22
	jmp __mmap+64
;__mmap+32
	ldi.l %r7,9223372036854775807
	bdltu %r2,%r7,__mmap+80
;__mmap+48
	callr %r14,___errno_location
	ldi %r1,12
	nop 0
;__mmap+64
	stw %r1,%r15,0
	ldi %r1,-1
	retf 0
;__mmap+80
	bbsi %r4,4,__mmap+96
	ldi %r7,-12
	jmp __mmap+112
;__mmap+96
	callr %r15,dummy
	ldi %r7,-1
	nop 0
;__mmap+112
	sraiw %r12,%r3,0
	sraiw %r13,%r4,0
	sraiw %r14,%r5,0
;__mmap+128
	ldi %r9,9
	mov2 %r10,%r11,%r1,%r2
	mov %r15,%r6
;__mmap+144
	callr %r8,__syscall_postrisc
	andi %r2,%r4,32
	ldi %r3,-1
;__mmap+160
	cmpdnei %r4,%r9,-1
	cmovweq %r2,%r2,%r3,%r7
	cmovlsb %r2,%r4,%r9,%r2
;__mmap+176
	cmovdeq %r15,%r1,%r2,%r9
	callr %r14,__syscall_ret
	mov %r1,%r15
;__mmap+192
	retf 0
	nop 0
	nop 0
;__mprotect
	alloc 12
	andi %r6,%r1,-4096
	add %r1,%r1,%r2
;__mprotect+16
	algnup %r1,%r1,0,12
	sub %r7,%r1,%r6
	sraiw %r8,%r3,0
;__mprotect+32
	ldi %r5,10
	mov2 %r9,%r10,%gz,%gz
	mov %r11,%gz
;__mprotect+48
	callr %r4,__syscall_postrisc
	mov %r11,%r5
	callr %r10,__syscall_ret
;__mprotect+64
	mov %r1,%r11
	retf 0
	nop 0
;dummy
	alloc 1
	retf 0
	nop 0
;__munmap
	alloc 11
	callr %r10,dummy
	ldi %r4,11
;__munmap+16
	mov2 %r5,%r6,%r1,%r2
	mov2 %r7,%r8,%gz,%gz
	mov2 %r9,%r10,%gz,%gz
;__munmap+32
	callr %r3,__syscall_postrisc
	mov %r10,%r4
	callr %r9,__syscall_ret
;__munmap+48
	mov %r1,%r10
	retf 0
	nop 0
;strdup
	alloc 7
	mov %r6,%r1
	callr %r5,strlen
;strdup+16
	addi %r2,%r6,1
	mov %r6,%r2
	callr %r5,default_malloc
;strdup+32
	bdeq %r6,%gz,strdup+64
	mov2 %r4,%r5,%r6,%r1
	mov %r6,%r2
;strdup+48
	callr %r3,memcpy
	mov %r1,%r4
	retf 0
;strdup+64
	mov %r1,%gz
	retf 0
	nop 0
;strlen
	alloc 7
	mov %r2,%r1
	bmnone %r1,7,strlen+80
;strlen+16
	ldbz %r2,%r1,0
	bweq %r2,%gz,strlen+208
	addi %r2,%r1,1
;strlen+32
	mov %r3,%r1
	nop 0
	nop 0
;strlen+48
	addi %r3,%r3,1
	bmnone %r3,7,strlen+80
	ldbz %r4,%r2,0
;strlen+64
	addi %r2,%r2,1
	bwne %r4,%gz,strlen+48
	jmp strlen+192
;strlen+80
	addi %r5,%r2,-1
	ldi.l %r4,-9187201950435737472
;strlen+96
	lddz %r6,%r2,0
	mov %r3,%r5
	nop 2
;strlen+112
	subfi.l %r5,%r6,72340172838076672
	or %r5,%r5,%r6
;strlen+128
	and %r6,%r5,%r4
	addi %r2,%r2,8
	addi %r5,%r3,8
;strlen+144
	bdeq %r6,%r4,strlen+96
	ldi %r4,-8
	nop 0
;strlen+160
	ldbzx.xd %r5,%r2,%r4,0,0
	addi %r3,%r3,1
	addi %r4,%r4,1
;strlen+176
	bwne %r5,%gz,strlen+160
	nop 0
	nop 0
;strlen+192
	sub %r1,%r3,%r1
	retf 0
	nop 0
;strlen+208
	sub %r1,%r1,%r1
	retf 0
	nop 0
;__simple_malloc
	allocsp 15,16
	bdlti %r1,0,__simple_malloc+128
	maxui %r3,%r1,1
;__simple_malloc+16
	minui %r1,%r3,16
	ldi %r4,1
	nop 0
;__simple_malloc+32
	mov %r2,%r4
	slli %r4,%r4,1
	bdltu %r2,%r1,__simple_malloc+32
;__simple_malloc+48
	ldafr %r14,lock
	callr %r13,__lock
	lddzr %r5,__simple_malloc.cur
;__simple_malloc+64
	subfi %r1,%r5,0
	lddzr %r4,__simple_malloc.end
	addi %r2,%r2,-1
;__simple_malloc+80
	and %r2,%r2,%r1
	add %r1,%r2,%r5
	subsub %r2,%r4,%r2,%r5
;__simple_malloc+96
	stdr %r1,__simple_malloc.cur
	bdleu %r3,%r2,__simple_malloc+592
	bdeq %r1,%gz,__simple_malloc+160
;__simple_malloc+112
	lddzr %r1,__simple_malloc.brk
	bdeq %r1,%r4,__simple_malloc+240
	jmp __simple_malloc+480
;__simple_malloc+128
	callr %r13,___errno_location
	mov %r1,%gz
	ldi %r2,12
;__simple_malloc+144
	stw %r2,%r14,0
	retf 16
	nop 0
;__simple_malloc+160
	ldi %r8,12
	mov2 %r9,%r10,%gz,%gz
	mov2 %r11,%r12,%gz,%gz
;__simple_malloc+176
	mov2 %r13,%r14,%gz,%gz
	callr %r7,__syscall_postrisc
	subfi %r1,%r8,0
;__simple_malloc+192
	andi %r1,%r1,4095
	add %r4,%r1,%r8
	stdr %r4,__simple_malloc.brk
;__simple_malloc+208
	stdr %r4,__simple_malloc.end
	stdr %r4,__simple_malloc.cur
	mov %r1,%r4
;__simple_malloc+224
	bdne %r1,%r4,__simple_malloc+480
	nop 0
	nop 0
;__simple_malloc+240
	ldi %r5,4095
	addsub %r2,%r3,%r5,%r2
	andi %r2,%r2,-4096
;__simple_malloc+256
	xori %r1,%r1,-1
	bdleu %r1,%r2,__simple_malloc+480
	lddzr %r1,__libc+8
;__simple_malloc+272
	add %r9,%r4,%r2
	bdleu %r1,%r4,__simple_malloc+336
	nop 2
;__simple_malloc+288
	cmpdgtui.l %r5,%r1,8388608
	nop 2
;__simple_malloc+304
	addi.l %r1,%r1,-8388608
	cmovlsb %r1,%r5,%r1,%gz
;__simple_malloc+320
	bdltu %r1,%r9,__simple_malloc+480
	nop 0
	nop 0
;__simple_malloc+336
	addi %r1,%sp,8
	bdleu %r1,%r4,__simple_malloc+400
	nop 2
;__simple_malloc+352
	cmpdgtui.l %r1,%r1,8388608
	nop 2
;__simple_malloc+368
	addi.l %r4,%sp,-8388600
	cmovlsb %r1,%r1,%r4,%gz
;__simple_malloc+384
	bdltu %r1,%r9,__simple_malloc+480
	nop 0
	nop 0
;__simple_malloc+400
	ldi %r8,12
	mov2 %r10,%r11,%gz,%gz
	mov2 %r12,%r13,%gz,%gz
;__simple_malloc+416
	mov %r14,%gz
	callr %r7,__syscall_postrisc
	lddzr %r1,__simple_malloc.brk
;__simple_malloc+432
	add %r1,%r1,%r2
	bdne %r8,%r1,__simple_malloc+480
	lddzr %r1,__simple_malloc.end
;__simple_malloc+448
	add %r1,%r1,%r2
	stdr %r1,__simple_malloc.end
	stdr %r1,__simple_malloc.brk
;__simple_malloc+464
	lddzr %r1,__simple_malloc.cur
	jmp __simple_malloc+592
	nop 0
;__simple_malloc+480
	addi %r1,%r3,4095
	andi %r2,%r1,-4096
	sub %r1,%r2,%r3
;__simple_malloc+496
	srli %r4,%r2,3
	bdleu %r1,%r4,__simple_malloc+624
	lddzr %r4,__simple_malloc.end
;__simple_malloc+512
	lddzr %r5,__simple_malloc.cur
	ldi %r11,3
	ldi %r12,34
;__simple_malloc+528
	ldi %r13,-1
	mov2 %r9,%r10,%gz,%r2
	mov %r14,%gz
;__simple_malloc+544
	callr %r8,__mmap
	mov %r1,%r9
	bdeqi %r9,-1,__simple_malloc+672
;__simple_malloc+560
	subfi %r6,%r3,4096
	sub %r4,%r4,%r5
	bdleu %r6,%r4,__simple_malloc+672
;__simple_malloc+576
	add %r2,%r2,%r1
	stdr %r2,__simple_malloc.end
	nop 0
;__simple_malloc+592
	add %r2,%r1,%r3
	stdr %r2,__simple_malloc.cur
	ldafr %r14,lock
;__simple_malloc+608
	callr %r13,__unlock
	retf 16
	nop 0
;__simple_malloc+624
	ldi %r11,3
	ldi %r12,34
	ldi %r13,-1
;__simple_malloc+640
	mov2 %r9,%r10,%gz,%r2
	mov %r14,%gz
	callr %r8,__mmap
;__simple_malloc+656
	mov %r1,%r9
	nop 0
	nop 0
;__simple_malloc+672
	ldafr %r14,lock
	callr %r13,__unlock
	cmpdeqi %r2,%r1,-1
;__simple_malloc+688
	cmovlsb %r1,%r2,%gz,%r1
	retf 16
	nop 0
;__libc_malloc
	alloc 4
	mov %r3,%r1
	callr %r2,__libc_malloc_impl
;__libc_malloc+16
	mov %r1,%r3
	retf 0
	nop 0
;default_malloc
	alloc 4
	mov %r3,%r1
	callr %r2,__libc_malloc_impl
;default_malloc+16
	mov %r1,%r3
	retf 0
	nop 0
;strcasecmp
	alloc 7
	ldbz %r3,%r1,0
	bweq %r3,%gz,strcasecmp+128
;strcasecmp+16
	addi %r4,%r1,1
	jmp strcasecmp+64
	nop 0
;strcasecmp+32
	ldbz %r3,%r4,0
	addi %r2,%r2,1
	addi %r4,%r4,1
;strcasecmp+48
	bweq %r3,%gz,strcasecmp+128
	nop 0
	nop 0
;strcasecmp+64
	ldbz %r1,%r2,0
	bweq %r1,%gz,strcasecmp+144
	andi %r6,%r3,255
;strcasecmp+80
	bweq %r6,%r1,strcasecmp+32
	callr %r5,tolower
	mov %r1,%r6
;strcasecmp+96
	ldbz %r6,%r2,0
	callr %r5,tolower
	bweq %r1,%r6,strcasecmp+32
;strcasecmp+112
	ldbz %r3,%r4,-1
	jmp strcasecmp+144
	nop 0
;strcasecmp+128
	mov %r3,%gz
	nop 0
	nop 0
;strcasecmp+144
	andi %r6,%r3,255
	callr %r5,tolower
	mov %r1,%r6
;strcasecmp+160
	ldbz %r6,%r2,0
	callr %r5,tolower
	subws %r1,%r1,%r6
;strcasecmp+176
	retf 0
	nop 0
	nop 0
;strcasecmp_l
	alloc 7
	ldbz %r3,%r1,0
	bweq %r3,%gz,strcasecmp_l+128
;strcasecmp_l+16
	addi %r4,%r1,1
	jmp strcasecmp_l+64
	nop 0
;strcasecmp_l+32
	ldbz %r3,%r4,0
	addi %r2,%r2,1
	addi %r4,%r4,1
;strcasecmp_l+48
	bweq %r3,%gz,strcasecmp_l+128
	nop 0
	nop 0
;strcasecmp_l+64
	ldbz %r1,%r2,0
	bweq %r1,%gz,strcasecmp_l+144
	andi %r6,%r3,255
;strcasecmp_l+80
	bweq %r6,%r1,strcasecmp_l+32
	callr %r5,tolower
	mov %r1,%r6
;strcasecmp_l+96
	ldbz %r6,%r2,0
	callr %r5,tolower
	bweq %r1,%r6,strcasecmp_l+32
;strcasecmp_l+112
	ldbz %r3,%r4,-1
	jmp strcasecmp_l+144
	nop 0
;strcasecmp_l+128
	mov %r3,%gz
	nop 0
	nop 0
;strcasecmp_l+144
	andi %r6,%r3,255
	callr %r5,tolower
	mov %r1,%r6
;strcasecmp_l+160
	ldbz %r6,%r2,0
	callr %r5,tolower
	subws %r1,%r1,%r6
;strcasecmp_l+176
	retf 0
	nop 0
	nop 0
;tolower
	alloc 4
	addiws %r2,%r1,-65
	cmpwltui %r2,%r2,26
;tolower+16
	ori %r3,%r1,32
	cmovlsb %r1,%r2,%r3,%r1
	retf 0
;__tolower_l
	alloc 4
	addiws %r2,%r1,-65
	cmpwltui %r2,%r2,26
;__tolower_l+16
	ori %r3,%r1,32
	cmovlsb %r1,%r2,%r3,%r1
	retf 0
;strrchr
	alloc 7
	mov %r6,%r1
	callr %r5,strlen
;strrchr+16
	addi %r6,%r6,1
	mov2 %r4,%r5,%r1,%r2
	callr %r3,memrchr
;strrchr+32
	mov %r1,%r4
	retf 0
	nop 0
;memrchr
	alloc 6
	andi %r2,%r2,255
	nop 0
;memrchr+16
	bdeq %r3,%gz,memrchr+64
	ldbzx.xd %r5,%r1,%r3,0,-1
	addi %r4,%r3,-1
;memrchr+32
	mov %r3,%r4
	bwne %r5,%r2,memrchr+16
	add %r1,%r1,%r4
;memrchr+48
	retf 0
	nop 0
	nop 0
;memrchr+64
	mov %r1,%gz
	retf 0
	nop 0
;puts
	alloc 8
	ldwzr %r4,__stdout_FILE+140
	ldi %r3,1
;puts+16
	mov %r2,%r3
	bwlt %r4,%gz,puts+48
	ldafr %r7,__stdout_FILE
;puts+32
	callr %r6,__lockfile
	cmpweqi %r2,%r7,0
	nop 0
;puts+48
	ldafr %r7,__stdout_FILE
	mov %r6,%r1
	callr %r5,fputs_unlocked
;puts+64
	bwlt %r6,%gz,puts+160
	ldwzr %r1,__stdout_FILE+144
	bweqi %r1,10,puts+128
;puts+80
	lddzr %r1,__stdout_FILE+40
	lddzr %r3,__stdout_FILE+32
	bdeq %r1,%r3,puts+128
;puts+96
	mov %r3,%gz
	addi %r4,%r1,1
	stdr %r4,__stdout_FILE+40
;puts+112
	ldi %r4,10
	stb %r4,%r1,0
	jmp puts+160
;puts+128
	ldafr %r6,__stdout_FILE
	ldi %r7,10
	callr %r5,__overflow
;puts+144
	cmpwlti %r3,%r6,0
	nop 0
	nop 0
;puts+160
	bbsi %r2,0,puts+176
	ldafr %r7,__stdout_FILE
	callr %r6,__unlockfile
;puts+176
	slsrai %r1,%r3,63,63
	retf 0
	nop 0
;__stdout_write
	allocsp 13,16
	ldar %r4,__stdio_write
	std %r4,%r1,72
;__stdout_write+16
	ldbz %r4,%r1,0
	bbsi %r4,6,__stdout_write+80
	ldws %r7,%r1,120
;__stdout_write+32
	ldi %r6,16
	ldi %r8,21523
	addi %r9,%sp,8
;__stdout_write+48
	mov2 %r10,%r11,%gz,%gz
	mov %r12,%gz
	callr %r5,__syscall_postrisc
;__stdout_write+64
	bdeq %r6,%gz,__stdout_write+80
	ldi %r4,-1
	stw %r4,%r1,144
;__stdout_write+80
	mov2 %r10,%r11,%r1,%r2
	mov %r12,%r3
	callr %r9,__stdio_write
;__stdout_write+96
	mov %r1,%r10
	retf 16
	nop 0
;fputs_unlocked
	alloc 9
	mov %r8,%r1
	callr %r7,strlen
;fputs_unlocked+16
	mov %r3,%r8
	ldi %r6,1
	mov2 %r5,%r7,%r1,%r8
;fputs_unlocked+32
	mov %r8,%r2
	callr %r4,fwrite_unlocked
	cmpdne %r1,%r5,%r3
;fputs_unlocked+48
	slsrai %r1,%r1,63,63
	retf 0
	nop 0
;__overflow
	allocsp 11,16
	stb %r2,%sp,15
	lddz %r4,%r1,32
;__overflow+16
	bdeq %r4,%gz,__overflow+96
	lddz %r3,%r1,40
	bdeq %r3,%r4,__overflow+48
;__overflow+32
	ldwz %r5,%r1,144
	andi %r6,%r2,255
	bwne %r5,%r6,__overflow+128
;__overflow+48
	addi %r9,%sp,15
	ldi %r10,1
	mov %r8,%r1
;__overflow+64
	callmi %r7,%r1,72
	bdnei %r8,1,__overflow+112
	ldbz %r1,%sp,15
;__overflow+80
	retf 16
	nop 0
	nop 0
;__overflow+96
	mov %r10,%r1
	callr %r9,__towrite
	bweq %r10,%gz,__overflow+160
;__overflow+112
	ldi %r1,-1
	retf 16
	nop 0
;__overflow+128
	addi %r5,%r3,1
	std %r5,%r1,40
	stb %r2,%r3,0
;__overflow+144
	mov %r1,%r6
	retf 16
	nop 0
;__overflow+160
	lddz %r4,%r1,32
	lddz %r3,%r1,40
	bdne %r3,%r4,__overflow+32
;__overflow+176
	jmp __overflow+48
	nop 0
	nop 0
;printf
	allocsp 6,16
	addi %r5,%sp,16
	std %r5,%sp,8
;printf+16
	ldafr %r3,__stdout_FILE
	mov %r4,%r1
	callr %r2,vfprintf
;printf+32
	mov %r1,%r3
	retf 16
	nop 0
;NetUpdate
	alloc 8
	ldwzr %r1,singletics
	bweq %r1,%gz,NetUpdate+32
;NetUpdate+16
	retf 0
	nop 0
	nop 0
;NetUpdate+32
	callr %r6,I_GetTimeMS
	ldbzr %r1,new_sync
	bbsi %r1,0,NetUpdate+80
;NetUpdate+48
	ldwzr %r1,offsetms
	sraiw %r2,%r1,31
	srliw %r2,%r2,16
;NetUpdate+64
	addws %r1,%r1,%r2
	sraiw %r1,%r1,16
	addws %r7,%r1,%r7
;NetUpdate+80
	mulwsi %r1,%r7,35
	muli.l %r1,%r1,274877907
;NetUpdate+96
	ldwzr %r2,ticdup
	srli %r3,%r1,63
	srai %r1,%r1,38
;NetUpdate+112
	addws %r1,%r1,%r3
	divw %r3,%r1,%r2
	ldwzr %r2,lasttime
;NetUpdate+128
	ldwzr %r1,skiptics
	subws %r2,%r3,%r2
	cmpwle %r4,%r1,%r2
;NetUpdate+144
	subws %r5,%r1,%r2
	stwr %r3,lasttime
	cmovlsb %r3,%r4,%gz,%r5
;NetUpdate+160
	stwr %r3,skiptics
	bwlt %r2,%r1,NetUpdate+16
	subws %r2,%r2,%r1
;NetUpdate+176
	bwlti %r2,1,NetUpdate+16
	mov %r3,%gz
	nop 0
;NetUpdate+192
	callr %r6,BuildNewTic
	bweq %r7,%gz,NetUpdate+16
	addiws %r3,%r3,1
;NetUpdate+208
	bwlt %r3,%r2,NetUpdate+192
	jmp NetUpdate+16
	nop 0
;BuildNewTic
	allocsp 11,16
	ldwzr %r1,gametic
	ldwzr %r2,ticdup
;BuildNewTic+16
	divw %r2,%r1,%r2
	callr %r10,I_StartTic
	lddzr %r1,loop_interface
;BuildNewTic+32
	callmi %r10,%r1,0
	lddzr %r1,loop_interface
	callmi %r10,%r1,24
;BuildNewTic+48
	ldwzr %r1,drone
	bweq %r1,%gz,BuildNewTic+80
	mov %r1,%gz
;BuildNewTic+64
	retf 16
	nop 0
	nop 0
;BuildNewTic+80
	ldbzr %r1,new_sync
	bbci %r1,0,BuildNewTic+128
	ldwzr %r10,maketic
;BuildNewTic+96
	subws %r1,%r10,%r2
	bwlti %r1,5,BuildNewTic+192
	mov %r1,%gz
;BuildNewTic+112
	retf 16
	nop 0
	nop 0
;BuildNewTic+128
	ldwzr %r3,net_client_connected
	ldwzr %r10,maketic
	subws %r1,%r10,%r2
;BuildNewTic+144
	bweq %r3,%gz,BuildNewTic+176
	bwlti %r1,9,BuildNewTic+192
	mov %r1,%gz
;BuildNewTic+160
	retf 16
	nop 0
	nop 0
;BuildNewTic+176
	bwlti %r1,3,BuildNewTic+192
	mov %r1,%gz
	retf 16
;BuildNewTic+192
	stq %gz,%sp,0
	lddzr %r2,loop_interface
	addi %r1,%sp,0
;BuildNewTic+208
	mov %r9,%r1
	callmi %r8,%r2,8
	ldwzr %r2,maketic
;BuildNewTic+224
	sraiw %r3,%r2,31
	srliw %r3,%r3,25
	addws %r3,%r2,%r3
;BuildNewTic+240
	andi %r3,%r3,-128
	subws %r3,%r2,%r3
	muli %r3,%r3,160
;BuildNewTic+256
	ldafr %r4,ticdata
	ldwz %r5,%sp,0
	ori %r6,%r1,4
;BuildNewTic+272
	ldwz %r6,%r6,0
	ori %r7,%r1,8
	ldwz %r7,%r7,0
;BuildNewTic+288
	ori %r1,%r1,12
	ldwz %r1,%r1,0
	stwx.xd %r5,%r3,%r4,0,0
;BuildNewTic+304
	ldafr %r4,ticdata+4
	stwx.xd %r6,%r3,%r4,0,0
	ldafr %r4,ticdata+8
;BuildNewTic+320
	stwx.xd %r7,%r3,%r4,0,0
	ldafr %r4,ticdata+12
	stwx.xd %r1,%r3,%r4,0,0
;BuildNewTic+336
	ldafr %r4,ticdata+128
	ldi %r1,1
	stwx.xd %r1,%r3,%r4,0,0
;BuildNewTic+352
	addiws %r2,%r2,1
	stwr %r2,maketic
	retf 16
;D_ReceiveTic
	alloc 12
	or %r4,%r1,%r2
	ldwzr %r3,drone
;D_ReceiveTic+16
	bdne %r4,%gz,D_ReceiveTic+64
	bweq %r3,%gz,D_ReceiveTic+48
	ldafr %r11,.rodata+5491
;D_ReceiveTic+32
	callr %r10,I_Error
	nop 0
	nop 0
;D_ReceiveTic+48
	ldafr %r11,.rodata+18401
	callr %r10,puts
	retf 0
;D_ReceiveTic+64
	ldwzr %r4,recvtic
	mov %r5,%gz
	sraiw %r6,%r4,31
;D_ReceiveTic+80
	srliw %r6,%r6,25
	addws %r6,%r4,%r6
	andi %r6,%r6,-128
;D_ReceiveTic+96
	subws %r7,%r4,%r6
	ldafr %r6,ticdata
	ldi %r8,160
;D_ReceiveTic+112
	muladd %r6,%r7,%r8,%r6
	ldafr %r9,ticdata+128
	muladd %r7,%r7,%r8,%r9
;D_ReceiveTic+128
	jmp D_ReceiveTic+176
	nop 0
	nop 0
;D_ReceiveTic+144
	addi %r5,%r5,1
	addi %r2,%r2,4
	addi %r1,%r1,16
;D_ReceiveTic+160
	addi %r6,%r6,16
	addi %r7,%r7,4
	bdeqi %r5,8,D_ReceiveTic+256
;D_ReceiveTic+176
	or %r8,%r3,%r5
	bweq %r8,%gz,D_ReceiveTic+144
	ldwz %r8,%r1,12
;D_ReceiveTic+192
	stw %r8,%r6,12
	ldwz %r8,%r1,8
	stw %r8,%r6,8
;D_ReceiveTic+208
	ldwz %r8,%r1,4
	stw %r8,%r6,4
	ldwz %r8,%r1,0
;D_ReceiveTic+224
	stw %r8,%r6,0
	ldwz %r8,%r2,0
	stw %r8,%r7,0
;D_ReceiveTic+240
	jmp D_ReceiveTic+144
	nop 0
	nop 0
;D_ReceiveTic+256
	addiws %r1,%r4,1
	stwr %r1,recvtic
	retf 0
;D_StartGameLoop
	alloc 6
	callr %r4,I_GetTimeMS
	ldbzr %r1,new_sync
;D_StartGameLoop+16
	bbsi %r1,0,D_StartGameLoop+64
	ldwzr %r1,offsetms
	sraiw %r2,%r1,31
;D_StartGameLoop+32
	srliw %r2,%r2,16
	addws %r1,%r1,%r2
	sraiw %r1,%r1,16
;D_StartGameLoop+48
	addws %r5,%r1,%r5
	nop 0
	nop 0
;D_StartGameLoop+64
	mulwsi %r1,%r5,35
	muli.l %r1,%r1,274877907
;D_StartGameLoop+80
	ldwzr %r2,ticdup
	srli %r3,%r1,63
	srai %r1,%r1,38
;D_StartGameLoop+96
	addws %r1,%r1,%r3
	divw %r1,%r1,%r2
	stwr %r1,lasttime
;D_StartGameLoop+112
	retf 0
	nop 0
	nop 0
;D_StartNetGame
	alloc 4
	stw %gz,%r1,64
	ldi %r2,1
;D_StartNetGame+16
	stw %r2,%r1,60
	ldwzr %r3,player_class
	stw %r3,%r1,68
;D_StartNetGame+32
	stw %gz,%r1,44
	stw %r2,%r1,4
	stw %r2,%r1,0
;D_StartNetGame+48
	stwr %r2,ticdup
	stbr %r2,new_sync
	retf 0
;D_InitNetGame
	alloc 5
	ldar %r3,D_QuitNetGame
	ldi %r4,1
;D_InitNetGame+16
	callr %r2,I_AtExit
	ldwz %r1,%r1,64
	stwr %r1,player_class
;D_InitNetGame+32
	mov %r1,%gz
	retf 0
	nop 0
;D_QuitNetGame
	alloc 1
	retf 0
	nop 0
;TryRunTics
	alloc 18
	callr %r16,I_GetTime
	ldwzr %r1,ticdup
;TryRunTics+16
	divw %r4,%r17,%r1
	ldwzr %r1,singletics
	ldwzr %r3,TryRunTics.oldentertics
;TryRunTics+32
	stwr %r4,TryRunTics.oldentertics
	bweq %r1,%gz,TryRunTics+64
	callr %r16,BuildNewTic
;TryRunTics+48
	jmp TryRunTics+80
	nop 0
	nop 0
;TryRunTics+64
	callr %r17,NetUpdate
	nop 0
	nop 0
;TryRunTics+80
	ldwzr %r1,gametic
	ldwzr %r2,ticdup
	ldwzr %r6,maketic
;TryRunTics+96
	divw %r1,%r1,%r2
	ldbzr %r7,new_sync
	subws %r2,%r6,%r1
;TryRunTics+112
	ldi %r1,1
	ldafr %r5,local_playeringame
	bbci %r7,0,TryRunTics+352
;TryRunTics+128
	subws %r3,%r4,%r3
	addiws %r7,%r2,-1
	cmpwlt %r7,%r3,%r7
;TryRunTics+144
	ldwzr %r8,net_client_connected
	addiws %r9,%r3,1
	minsw %r2,%r3,%r2
;TryRunTics+160
	cmovlsb %r2,%r7,%r9,%r2
	ldi %r3,1
	maxsw %r2,%r2,%r3
;TryRunTics+176
	bweq %r8,%gz,TryRunTics+352
	ldwzr %r7,frameon
	mov %r8,%gz
;TryRunTics+192
	addiws %r7,%r7,1
	stwr %r7,frameon
	nop 0
;TryRunTics+208
	ldwzx.xd %r9,%r8,%r5,0,0
	bwne %r9,%gz,TryRunTics+240
	addi %r8,%r8,4
;TryRunTics+224
	bdnei %r8,32,TryRunTics+208
	jmp TryRunTics+352
	nop 0
;TryRunTics+240
	bdeq %r8,%gz,TryRunTics+352
	ldwzr %r8,recvtic
	bwlt %r8,%r6,TryRunTics+272
;TryRunTics+256
	ldwzr %r9,lasttime
	addiws %r9,%r9,-1
	stwr %r9,lasttime
;TryRunTics+272
	ldwzr %r9,oldnettics
	cmpwlt %r8,%r8,%r9
	andi %r7,%r7,3
;TryRunTics+288
	ldafr %r9,frameskip
	stwx.xuw %r8,%r9,%r7,2,0
	ldwzr %r7,frameskip
;TryRunTics+304
	stwr %r6,oldnettics
	bweq %r7,%gz,TryRunTics+352
	ldwzr %r7,frameskip+4
;TryRunTics+320
	bweq %r7,%gz,TryRunTics+352
	ldwzr %r7,frameskip+8
	bweq %r7,%gz,TryRunTics+352
;TryRunTics+336
	ldwzr %r7,frameskip+12
	bweq %r7,%gz,TryRunTics+352
	stwr %r3,skiptics
;TryRunTics+352
	maxsw %r7,%r2,%r1
	ldafr %r2,.rodata+1223
	nop 0
;TryRunTics+368
	ldwzr %r8,net_client_connected
	mov %r3,%r1
	bweq %r8,%gz,TryRunTics+448
;TryRunTics+384
	mov2 %r8,%r9,%gz,%r1
	jmp TryRunTics+416
	nop 0
;TryRunTics+400
	addi %r8,%r8,4
	mov %r9,%r3
	bdeqi %r8,32,TryRunTics+448
;TryRunTics+416
	mov %r3,%gz
	bbci %r9,0,TryRunTics+400
	ldwzx.xd %r3,%r8,%r5,0,0
;TryRunTics+432
	cmpweqi %r3,%r3,0
	jmp TryRunTics+400
	nop 0
;TryRunTics+448
	ldwzr %r8,drone
	bweq %r8,%gz,TryRunTics+464
	bbsi %r3,0,TryRunTics+496
;TryRunTics+464
	ldwzr %r3,gametic
	ldwzr %r8,ticdup
	divw %r3,%r3,%r8
;TryRunTics+480
	addws %r3,%r3,%r7
	bwle %r3,%r6,TryRunTics+592
	nop 0
;TryRunTics+496
	callr %r17,NetUpdate
	ldwzr %r3,gametic
	ldwzr %r8,ticdup
;TryRunTics+512
	ldwzr %r6,maketic
	divw %r3,%r3,%r8
	bwle %r3,%r6,TryRunTics+544
;TryRunTics+528
	mov %r17,%r2
	callr %r16,I_Error
	nop 0
;TryRunTics+544
	callr %r16,I_GetTime
	ldwzr %r3,ticdup
	divw %r3,%r17,%r3
;TryRunTics+560
	bwlt %r4,%r3,TryRunTics+1088
	mov %r17,%r1
	callr %r16,I_Sleep
;TryRunTics+576
	jmp TryRunTics+368
	nop 0
	nop 0
;TryRunTics+592
	ldi %r8,1
	ldafr %r9,ticdata
	ldi %r10,160
;TryRunTics+608
	ldafr %r1,.rodata+2291
	jmp TryRunTics+640
	nop 0
;TryRunTics+624
	addiws %r7,%r7,-1
	callr %r17,NetUpdate
	bweq %r7,%gz,TryRunTics+1088
;TryRunTics+640
	ldwzr %r11,net_client_connected
	mov %r2,%r8
	bweq %r11,%gz,TryRunTics+720
;TryRunTics+656
	mov2 %r3,%r4,%gz,%r8
	jmp TryRunTics+688
	nop 0
;TryRunTics+672
	addi %r3,%r3,4
	mov %r4,%r2
	bdeqi %r3,32,TryRunTics+720
;TryRunTics+688
	mov %r2,%gz
	bbci %r4,0,TryRunTics+672
	ldwzx.xd %r2,%r3,%r5,0,0
;TryRunTics+704
	cmpweqi %r2,%r2,0
	jmp TryRunTics+672
	nop 0
;TryRunTics+720
	ldwzr %r3,drone
	bweq %r3,%gz,TryRunTics+736
	bbsi %r2,0,TryRunTics+1088
;TryRunTics+736
	ldwzr %r4,gametic
	ldwzr %r12,ticdup
	divw %r2,%r4,%r12
;TryRunTics+752
	sraiw %r3,%r2,31
	srliw %r3,%r3,25
	addws %r3,%r2,%r3
;TryRunTics+768
	andi %r3,%r3,-128
	subws %r2,%r2,%r3
	muladd %r2,%r2,%r10,%r9
;TryRunTics+784
	addi %r3,%r2,128
	bweq %r11,%gz,TryRunTics+1040
	nop 0
;TryRunTics+800
	bwlti %r12,1,TryRunTics+624
	mov %r11,%gz
	jmp TryRunTics+832
;TryRunTics+816
	ldwzr %r12,ticdup
	addiws %r11,%r11,1
	bwle %r12,%r11,TryRunTics+624
;TryRunTics+832
	divw %r4,%r4,%r12
	bwle %r4,%r6,TryRunTics+864
	mov %r17,%r1
;TryRunTics+848
	callr %r16,I_Error
	nop 0
	nop 0
;TryRunTics+864
	ldwz %r4,%r3,28
	ldwz %r12,%r3,24
	ldwz %r13,%r3,20
;TryRunTics+880
	ldwz %r14,%r3,16
	stwr %r4,local_playeringame+28
	stwr %r12,local_playeringame+24
;TryRunTics+896
	stwr %r13,local_playeringame+20
	stwr %r14,local_playeringame+16
	ldwz %r4,%r3,12
;TryRunTics+912
	ldwz %r12,%r3,8
	ldwz %r13,%r3,4
	ldwz %r14,%r3,0
;TryRunTics+928
	stwr %r4,local_playeringame+12
	stwr %r12,local_playeringame+8
	stwr %r13,local_playeringame+4
;TryRunTics+944
	stwr %r14,local_playeringame
	lddzr %r4,loop_interface
	mov2 %r16,%r17,%r2,%r3
;TryRunTics+960
	callmi %r15,%r4,16
	ldwzr %r4,gametic
	mov %r12,%gz
;TryRunTics+976
	addiws %r4,%r4,1
	stwr %r4,gametic
	jmp TryRunTics+1008
;TryRunTics+992
	addi %r12,%r12,16
	bdeqi %r12,128,TryRunTics+816
	nop 0
;TryRunTics+1008
	stbx.xd %gz,%r2,%r12,0,4
	ldbsx.xd %r13,%r2,%r12,0,5
	bwgei %r13,0,TryRunTics+992
;TryRunTics+1024
	add %r13,%r2,%r12
	stb %gz,%r13,5
	jmp TryRunTics+992
;TryRunTics+1040
	mov %r11,%gz
	jmp TryRunTics+1072
	nop 0
;TryRunTics+1056
	addi %r11,%r11,4
	bdeqi %r11,32,TryRunTics+800
	nop 0
;TryRunTics+1072
	bdeq %r11,%gz,TryRunTics+1056
	stwx.xd %gz,%r3,%r11,0,0
	jmp TryRunTics+1056
;TryRunTics+1088
	retf 0
	nop 0
	nop 0
;D_RegisterLoopCallbacks
	alloc 2
	stdr %r1,loop_interface
	retf 0
;D_ProcessEvents
	alloc 4
	ldwzr %r1,storedemo
	bweq %r1,%gz,D_ProcessEvents+32
;D_ProcessEvents+16
	retf 0
	nop 0
	nop 0
;D_ProcessEvents+32
	callr %r2,D_PopEvent
	bdeq %r3,%gz,D_ProcessEvents+16
	mov %r1,%r3
;D_ProcessEvents+48
	jmp D_ProcessEvents+80
	nop 0
	nop 0
;D_ProcessEvents+64
	callr %r2,D_PopEvent
	mov %r1,%r3
	bdeq %r3,%gz,D_ProcessEvents+16
;D_ProcessEvents+80
	mov %r3,%r1
	callr %r2,M_Responder
	bwne %r3,%gz,D_ProcessEvents+64
;D_ProcessEvents+96
	mov %r3,%r1
	callr %r2,G_Responder
	jmp D_ProcessEvents+64
;D_Display
	alloc 15
	ldwzr %r1,nodrawers
	bwne %r1,%gz,D_Display+1104
;D_Display+16
	ldwzr %r1,setsizeneeded
	bweq %r1,%gz,D_Display+64
	callr %r14,R_ExecuteSetViewSize
;D_Display+32
	ldi %r1,-1
	stwr %r1,D_Display.oldgamestate
	ldi %r1,3
;D_Display+48
	stwr %r1,D_Display.borderdrawcount
	nop 0
	nop 0
;D_Display+64
	ldwzr %r4,gamestate
	ldwzr %r5,wipegamestate
	mov %r1,%r4
;D_Display+80
	bweq %r4,%r5,D_Display+112
	ldi %r13,320
	ldi %r14,200
;D_Display+96
	mov2 %r11,%r12,%gz,%gz
	callr %r10,wipe_StartScreen
	ldwzr %r1,gamestate
;D_Display+112
	bwne %r1,%gz,D_Display+144
	ldwzr %r2,gametic
	bweq %r2,%gz,D_Display+144
;D_Display+128
	callr %r14,HU_Erase
	ldwzr %r1,gamestate
	nop 0
;D_Display+144
	bwgeui %r1,4,D_Display+416
	srliw %r1,%r1,0
	ldafr %r2,.rodata+32028
;D_Display+160
	jmpt %r2,%r1
	nop 0
	nop 0
;D_Display+176
	ldwzr %r1,gametic
	bweq %r1,%gz,D_Display+416
	ldwzr %r1,automapactive
;D_Display+192
	bweq %r1,%gz,D_Display+208
	callr %r14,AM_Drawer
	nop 0
;D_Display+208
	ldwzr %r1,viewheight
	ldi %r2,1
	bwne %r4,%r5,D_Display+256
;D_Display+224
	bweqi %r1,200,D_Display+1120
	ldwzr %r6,D_Display.fullscreen
	mov %r3,%gz
;D_Display+240
	bweq %r6,%gz,D_Display+272
	nop 0
	nop 0
;D_Display+256
	mov %r3,%r2
	nop 0
	nop 0
;D_Display+272
	ldwzr %r6,inhelpscreens
	ldwzr %r7,D_Display.inhelpscreensstate
	cmovweq %r2,%r6,%r2,%r3
;D_Display+288
	cmovweq %r14,%r7,%r3,%r2
	cmpweqi %r13,%r1,200
	callr %r12,ST_Drawer
;D_Display+304
	ldwzr %r1,viewheight
	cmpweqi %r1,%r1,200
	stwr %r1,D_Display.fullscreen
;D_Display+320
	jmp D_Display+416
	nop 0
	nop 0
;D_Display+336
	callr %r14,F_Drawer
	jmp D_Display+416
	nop 0
;D_Display+352
	lddzr %r13,pagename
	ldi %r14,8
	callr %r12,W_CacheLumpName
;D_Display+368
	mov2 %r14,%r12,%r13,%gz
	mov %r13,%gz
	callr %r11,V_DrawPatch
;D_Display+384
	jmp D_Display+416
	nop 0
	nop 0
;D_Display+400
	callr %r14,WI_Drawer
	nop 0
	nop 0
;D_Display+416
	callr %r14,I_UpdateNoBlit
	ldwzr %r1,gamestate
	ldwzr %r2,gametic
;D_Display+432
	bwne %r1,%gz,D_Display+496
	ldwzr %r3,automapactive
	bwne %r3,%gz,D_Display+496
;D_Display+448
	bweq %r2,%gz,D_Display+496
	ldwsr %r1,displayplayer
	ldafr %r2,players
;D_Display+464
	ldi %r3,328
	muladd %r14,%r1,%r3,%r2
	callr %r13,R_RenderPlayerView
;D_Display+480
	ldwzr %r1,gamestate
	ldwzr %r2,gametic
	nop 0
;D_Display+496
	bwne %r1,%gz,D_Display+528
	bweq %r2,%gz,D_Display+528
	callr %r14,HU_Drawer
;D_Display+512
	ldwzr %r1,gamestate
	nop 0
	nop 0
;D_Display+528
	ldwzr %r2,D_Display.oldgamestate
	bweq %r1,%gz,D_Display+592
	bweq %r1,%r2,D_Display+592
;D_Display+544
	ldafr %r13,.rodata+27930
	ldi %r14,8
	callr %r12,W_CacheLumpName
;D_Display+560
	mov %r14,%r13
	callr %r13,I_SetPalette
	ldwzr %r1,gamestate
;D_Display+576
	ldwzr %r2,D_Display.oldgamestate
	nop 0
	nop 0
;D_Display+592
	bwne %r1,%gz,D_Display+624
	bweq %r2,%gz,D_Display+624
	stwr %gz,D_Display.viewactivestate
;D_Display+608
	callr %r14,R_FillBackScreen
	ldwzr %r1,gamestate
	nop 0
;D_Display+624
	bwne %r1,%gz,D_Display+752
	ldwzr %r1,automapactive
	bwne %r1,%gz,D_Display+752
;D_Display+640
	ldwzr %r1,scaledviewwidth
	bweqi %r1,320,D_Display+752
	ldwzr %r1,menuactive
;D_Display+656
	bwne %r1,%gz,D_Display+704
	ldwzr %r1,D_Display.menuactivestate
	bwne %r1,%gz,D_Display+704
;D_Display+672
	ldwzr %r1,D_Display.viewactivestate
	bweq %r1,%gz,D_Display+704
	ldwzr %r1,D_Display.borderdrawcount
;D_Display+688
	bwne %r1,%gz,D_Display+720
	jmp D_Display+752
	nop 0
;D_Display+704
	ldi %r1,3
	stwr %r1,D_Display.borderdrawcount
	nop 0
;D_Display+720
	callr %r14,R_DrawViewBorder
	ldwzr %r1,D_Display.borderdrawcount
	addiws %r1,%r1,-1
;D_Display+736
	stwr %r1,D_Display.borderdrawcount
	nop 0
	nop 0
;D_Display+752
	ldwzr %r1,testcontrols
	bweq %r1,%gz,D_Display+784
	ldwzr %r14,testcontrols_mousespeed
;D_Display+768
	callr %r13,V_DrawMouseSpeedBox
	nop 0
	nop 0
;D_Display+784
	ldwzr %r1,menuactive
	stwr %r1,D_Display.menuactivestate
	ldwzr %r1,viewactive
;D_Display+800
	ldwzr %r2,inhelpscreens
	ldwzr %r3,gamestate
	ldwzr %r6,paused
;D_Display+816
	stwr %r1,D_Display.viewactivestate
	stwr %r2,D_Display.inhelpscreensstate
	stwr %r3,wipegamestate
;D_Display+832
	stwr %r3,D_Display.oldgamestate
	bweq %r6,%gz,D_Display+944
	ldwzr %r1,viewwindowy
;D_Display+848
	ldwzr %r2,automapactive
	ldwzr %r3,scaledviewwidth
	addiws %r1,%r1,4
;D_Display+864
	ldi %r6,4
	cmovweq %r1,%r2,%r1,%r6
	ldwzr %r2,viewwindowx
;D_Display+880
	addiws %r3,%r3,-68
	srliw %r6,%r3,31
	addws %r3,%r3,%r6
;D_Display+896
	sraiw %r3,%r3,1
	addws %r2,%r3,%r2
	ldafr %r13,.rodata+23944
;D_Display+912
	ldi %r14,8
	callr %r12,W_CacheLumpName
	mov2 %r14,%r12,%r13,%r2
;D_Display+928
	mov %r13,%r1
	callr %r11,V_DrawPatchDirect
	nop 0
;D_Display+944
	callr %r14,M_Drawer
	callr %r14,NetUpdate
	bwne %r4,%r5,D_Display+976
;D_Display+960
	callr %r14,I_FinishUpdate
	retf 0
	nop 0
;D_Display+976
	ldi %r1,320
	ldi %r2,200
	mov2 %r11,%r12,%gz,%gz
;D_Display+992
	mov2 %r13,%r14,%r1,%r2
	callr %r10,wipe_EndScreen
	callr %r13,I_GetTime
;D_Display+1008
	addiws %r7,%r14,-1
	ldi %r3,1
	nop 0
;D_Display+1024
	callr %r13,I_GetTime
	mov %r4,%r14
	subws %r5,%r14,%r7
;D_Display+1040
	mov %r14,%r3
	callr %r13,I_Sleep
	bwlti %r5,1,D_Display+1024
;D_Display+1056
	mov2 %r9,%r10,%r3,%gz
	mov2 %r11,%r12,%gz,%r1
	mov2 %r13,%r14,%r2,%r5
;D_Display+1072
	callr %r8,wipe_ScreenWipe
	callr %r14,I_UpdateNoBlit
	callr %r14,M_Drawer
;D_Display+1088
	callr %r14,I_FinishUpdate
	mov %r7,%r4
	bweq %r9,%gz,D_Display+1024
;D_Display+1104
	retf 0
	nop 0
	nop 0
;D_Display+1120
	mov %r3,%gz
	jmp D_Display+272
	nop 0
;D_PageDrawer
	alloc 5
	lddzr %r3,pagename
	ldi %r4,8
;D_PageDrawer+16
	callr %r2,W_CacheLumpName
	mov2 %r4,%r2,%r3,%gz
	mov %r3,%gz
;D_PageDrawer+32
	callr %r1,V_DrawPatch
	retf 0
	nop 0
;D_BindVariables
	allocsp 11,32
	callr %r10,M_ApplyPlatformDefaults
	callr %r10,I_BindVideoVariables
;D_BindVariables+16
	callr %r10,I_BindJoystickVariables
	callr %r10,I_BindSoundVariables
	callr %r10,M_BindBaseControls
;D_BindVariables+32
	callr %r10,M_BindWeaponControls
	callr %r10,M_BindMapControls
	callr %r10,M_BindMenuControls
;D_BindVariables+48
	ldi %r10,4
	callr %r9,M_BindChatControls
	ldi %r1,103
;D_BindVariables+64
	stwr %r1,key_multi_msgplayer
	ldi %r1,105
	stwr %r1,key_multi_msgplayer+4
;D_BindVariables+80
	ldi %r1,98
	stwr %r1,key_multi_msgplayer+8
	ldi %r1,114
;D_BindVariables+96
	stwr %r1,key_multi_msgplayer+12
	ldafr %r9,.rodata+4265
	ldafr %r10,mouseSensitivity
;D_BindVariables+112
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+9664
	ldafr %r10,sfxVolume
;D_BindVariables+128
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+1252
	ldafr %r10,musicVolume
;D_BindVariables+144
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+8109
	ldafr %r10,showMessages
;D_BindVariables+160
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+19633
	ldafr %r10,screenblocks
;D_BindVariables+176
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+27383
	ldafr %r10,detailLevel
;D_BindVariables+192
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+5531
	ldafr %r10,snd_channels
;D_BindVariables+208
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+17073
	ldafr %r10,vanilla_savegame_limit
;D_BindVariables+224
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+10559
	ldafr %r10,vanilla_demo_limit
;D_BindVariables+240
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+7524
	ldafr %r10,show_endoom
;D_BindVariables+256
	callr %r8,M_BindVariable
	mov %r6,%gz
	ldafr %r1,chat_macros
;D_BindVariables+272
	ldafr %r2,.rodata+27395
	addi %r3,%sp,20
	ldi %r4,12
;D_BindVariables+288
	stw %r6,%sp,0
	mov2 %r8,%r9,%r3,%r4
	mov %r10,%r2
;D_BindVariables+304
	callr %r7,M_snprintf
	mov2 %r9,%r10,%r3,%r1
	callr %r8,M_BindVariable
;D_BindVariables+320
	addi %r6,%r6,1
	addi %r1,%r1,8
	bdnei %r6,10,D_BindVariables+288
;D_BindVariables+336
	retf 32
	nop 0
	nop 0
;D_GrabMouseCallback
	alloc 4
	ldwzr %r1,drone
	bweq %r1,%gz,D_GrabMouseCallback+32
;D_GrabMouseCallback+16
	mov %r1,%gz
	retf 0
	nop 0
;D_GrabMouseCallback+32
	ldwzr %r1,menuactive
	ldwzr %r2,paused
	or %r1,%r1,%r2
;D_GrabMouseCallback+48
	bweq %r1,%gz,D_GrabMouseCallback+64
	mov %r1,%gz
	retf 0
;D_GrabMouseCallback+64
	ldwzr %r1,gamestate
	ldwzr %r2,demoplayback
	ldwzr %r3,advancedemo
;D_GrabMouseCallback+80
	or %r1,%r1,%r2
	or %r1,%r1,%r3
	cmpweqi %r1,%r1,0
;D_GrabMouseCallback+96
	retf 0
	nop 0
	nop 0
;doomgeneric_Tick
	alloc 5
	callr %r4,I_StartFrame
	callr %r4,TryRunTics
;doomgeneric_Tick+16
	ldwsr %r1,consoleplayer
	muli %r1,%r1,328
	ldafr %r2,players
;doomgeneric_Tick+32
	lddzx.xd %r4,%r1,%r2,0,0
	callr %r3,S_UpdateSounds
	ldwzr %r1,screenvisible
;doomgeneric_Tick+48
	bweq %r1,%gz,doomgeneric_Tick+64
	callr %r4,D_Display
	nop 0
;doomgeneric_Tick+64
	retf 0
	nop 0
	nop 0
;D_DoomLoop
	alloc 5
	ldwzr %r2,bfgedition
	ldwzr %r1,demorecording
;D_DoomLoop+16
	bweq %r2,%gz,D_DoomLoop+64
	bwne %r1,%gz,D_DoomLoop+48
	ldwzr %r1,gameaction
;D_DoomLoop+32
	bweqi %r1,5,D_DoomLoop+48
	ldwzr %r1,netgame
	bweq %r1,%gz,D_DoomLoop+80
;D_DoomLoop+48
	ldafr %r4,.rodata+7536
	callr %r3,puts
	ldwzr %r1,demorecording
;D_DoomLoop+64
	bweq %r1,%gz,D_DoomLoop+80
	callr %r4,G_BeginRecording
	nop 0
;D_DoomLoop+80
	ldi %r1,1
	stwr %r1,main_loop_started
	callr %r4,TryRunTics
;D_DoomLoop+96
	lddzr %r4,gamedescription
	callr %r3,I_SetWindowTitle
	callr %r4,I_GraphicsCheckCommandLine
;D_DoomLoop+112
	ldar %r4,D_GrabMouseCallback
	callr %r3,I_SetGrabMouseCallback
	callr %r4,I_InitGraphics
;D_DoomLoop+128
	callr %r4,I_EnableLoadingDisk
	callr %r4,V_RestoreBuffer
	callr %r4,R_ExecuteSetViewSize
;D_DoomLoop+144
	callr %r4,D_StartGameLoop
	ldwzr %r1,testcontrols
	bweq %r1,%gz,D_DoomLoop+176
;D_DoomLoop+160
	ldwzr %r1,gamestate
	stwr %r1,wipegamestate
	nop 0
;D_DoomLoop+176
	callr %r4,doomgeneric_Tick
	retf 0
	nop 0
;D_PageTicker
	alloc 3
	ldwzr %r1,pagetic
	addiws %r2,%r1,-1
;D_PageTicker+16
	stwr %r2,pagetic
	bwle %r1,%gz,D_PageTicker+32
	retf 0
;D_PageTicker+32
	ldi %r1,1
	stwr %r1,advancedemo
	retf 0
;D_AdvanceDemo
	alloc 2
	ldi %r1,1
	stwr %r1,advancedemo
;D_AdvanceDemo+16
	retf 0
	nop 0
	nop 0
;D_DoAdvanceDemo
	alloc 8
	ldwsr %r1,consoleplayer
	muli %r1,%r1,328
;D_DoAdvanceDemo+16
	ldafr %r2,players+8
	stwx.xd %gz,%r1,%r2,0,0
	stwr %gz,advancedemo
;D_DoAdvanceDemo+32
	stwr %gz,usergame
	ldwzr %r1,gameversion
	ldwzr %r2,demosequence
;D_DoAdvanceDemo+48
	stwr %gz,paused
	stwr %gz,gameaction
	andi %r3,%r1,-2
;D_DoAdvanceDemo+64
	addiws %r1,%r2,1
	sraiw %r2,%r1,0
	bwnei %r3,6,D_DoAdvanceDemo+128
;D_DoAdvanceDemo+80
	muli.l %r2,%r2,-1840700269
	srli %r2,%r2,32
;D_DoAdvanceDemo+96
	addws %r2,%r2,%r1
	srliw %r3,%r2,31
	sraiw %r2,%r2,2
;D_DoAdvanceDemo+112
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,7
	jmp D_DoAdvanceDemo+160
;D_DoAdvanceDemo+128
	muli.l %r2,%r2,715827883
	srli %r3,%r2,63
;D_DoAdvanceDemo+144
	srli %r2,%r2,32
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,6
;D_DoAdvanceDemo+160
	subws %r1,%r1,%r2
	stwr %r1,demosequence
	bwgeui %r1,7,D_DoAdvanceDemo+528
;D_DoAdvanceDemo+176
	srliw %r1,%r1,0
	ldafr %r2,.rodata+32044
	jmpt %r2,%r1
;D_DoAdvanceDemo+192
	ldwzr %r1,gamemode
	cmpweqi %r2,%r1,2
	ldi %r3,170
;D_DoAdvanceDemo+208
	ldi %r4,385
	cmovlsb %r2,%r2,%r4,%r3
	stwr %r2,pagetic
;D_DoAdvanceDemo+224
	ldi %r2,3
	stwr %r2,gamestate
	ldafr %r2,.rodata+12207
;D_DoAdvanceDemo+240
	stdr %r2,pagename
	bweqi %r1,2,D_DoAdvanceDemo+320
	ldi %r7,29
;D_DoAdvanceDemo+256
	jmp D_DoAdvanceDemo+336
	nop 0
	nop 0
;D_DoAdvanceDemo+272
	ldwzr %r1,gamemode
	ldi %r2,3
	stwr %r2,gamestate
;D_DoAdvanceDemo+288
	bwnei %r1,2,D_DoAdvanceDemo+624
	ldi %r1,385
	stwr %r1,pagetic
;D_DoAdvanceDemo+304
	ldafr %r1,.rodata+12207
	stdr %r1,pagename
	nop 0
;D_DoAdvanceDemo+320
	ldi %r7,66
	nop 0
	nop 0
;D_DoAdvanceDemo+336
	callr %r6,S_StartMusic
	ldwzr %r1,bfgedition
	bwne %r1,%gz,D_DoAdvanceDemo+544
;D_DoAdvanceDemo+352
	jmp D_DoAdvanceDemo+592
	nop 0
	nop 0
;D_DoAdvanceDemo+368
	ldi %r1,200
	stwr %r1,pagetic
	ldi %r1,3
;D_DoAdvanceDemo+384
	stwr %r1,gamestate
	nop 0
	nop 0
;D_DoAdvanceDemo+400
	ldafr %r1,.rodata+10578
	nop 0
	nop 0
;D_DoAdvanceDemo+416
	stdr %r1,pagename
	ldwzr %r1,bfgedition
	bwne %r1,%gz,D_DoAdvanceDemo+544
;D_DoAdvanceDemo+432
	jmp D_DoAdvanceDemo+592
	nop 0
	nop 0
;D_DoAdvanceDemo+448
	ldafr %r7,.rodata+12845
	jmp D_DoAdvanceDemo+512
	nop 0
;D_DoAdvanceDemo+464
	ldafr %r7,.rodata+20226
	jmp D_DoAdvanceDemo+512
	nop 0
;D_DoAdvanceDemo+480
	ldafr %r7,.rodata+27938
	jmp D_DoAdvanceDemo+512
	nop 0
;D_DoAdvanceDemo+496
	ldafr %r7,.rodata+20232
	nop 0
	nop 0
;D_DoAdvanceDemo+512
	callr %r6,G_DeferedPlayDemo
	nop 0
	nop 0
;D_DoAdvanceDemo+528
	ldwzr %r1,bfgedition
	bweq %r1,%gz,D_DoAdvanceDemo+592
	nop 0
;D_DoAdvanceDemo+544
	lddzr %r6,pagename
	ldafr %r7,.rodata+12207
	callr %r5,strcasecmp
;D_DoAdvanceDemo+560
	bwne %r6,%gz,D_DoAdvanceDemo+592
	ldafr %r7,.rodata+2306
	callr %r6,W_CheckNumForName
;D_DoAdvanceDemo+576
	bwlti %r7,0,D_DoAdvanceDemo+608
	nop 0
	nop 0
;D_DoAdvanceDemo+592
	retf 0
	nop 0
	nop 0
;D_DoAdvanceDemo+608
	ldafr %r1,.rodata+14684
	stdr %r1,pagename
	retf 0
;D_DoAdvanceDemo+624
	ldi %r2,200
	stwr %r2,pagetic
	bweqi %r1,3,D_DoAdvanceDemo+400
;D_DoAdvanceDemo+640
	ldafr %r1,.rodata+11065
	jmp D_DoAdvanceDemo+416
	nop 0
;D_StartTitle
	alloc 2
	stwr %gz,gameaction
	ldi %r1,-1
;D_StartTitle+16
	stwr %r1,demosequence
	ldi %r1,1
	stwr %r1,advancedemo
;D_StartTitle+32
	retf 0
	nop 0
	nop 0
;D_IdentifyVersion
	allocsp 11,16
	ldwzr %r1,gamemission
	bwnei %r1,9,D_IdentifyVersion+144
;D_IdentifyVersion+16
	ldwzr %r2,numlumps
	bweq %r2,%gz,D_IdentifyVersion+128
	lddzr %r1,lumpinfo
;D_IdentifyVersion+32
	srliw %r6,%r2,0
	ldafr %r2,.rodata+17096
	ldi %r3,8
;D_IdentifyVersion+48
	ldafr %r4,.rodata+3766
	nop 0
	nop 0
;D_IdentifyVersion+64
	mov2 %r8,%r9,%r1,%r2
	mov %r10,%r3
	callr %r7,strncasecmp
;D_IdentifyVersion+80
	bweq %r8,%gz,D_IdentifyVersion+384
	mov2 %r8,%r9,%r1,%r4
	mov %r10,%r3
;D_IdentifyVersion+96
	callr %r7,strncasecmp
	bweq %r8,%gz,D_IdentifyVersion+400
	addi %r6,%r6,-1
;D_IdentifyVersion+112
	addi %r1,%r1,40
	bdne %r6,%gz,D_IdentifyVersion+64
	nop 0
;D_IdentifyVersion+128
	ldafr %r10,.rodata+17942
	callr %r9,I_Error
	ldwzr %r1,gamemission
;D_IdentifyVersion+144
	andi %r1,%r1,-5
	bweq %r1,%gz,D_IdentifyVersion+416
	nop 0
;D_IdentifyVersion+160
	ldi %r1,2
	stwr %r1,gamemode
	ldafr %r9,.rodata+4283
;D_IdentifyVersion+176
	ldi %r10,1
	callr %r8,M_CheckParmWithArgs
	bwlti %r9,1,D_IdentifyVersion+336
;D_IdentifyVersion+192
	lddzr %r1,myargv
	mov %r3,%gz
	lddzx.xuw %r1,%r1,%r9,3,8
;D_IdentifyVersion+208
	ldafr %r4,SetMissionForPackName.packs
	nop 0
	nop 0
;D_IdentifyVersion+224
	add %r10,%r3,%r4
	mov %r9,%r1
	callr %r8,strcasecmp
;D_IdentifyVersion+240
	bweq %r9,%gz,D_IdentifyVersion+352
	addi %r3,%r3,20
	bdnei %r3,60,D_IdentifyVersion+224
;D_IdentifyVersion+256
	ldafr %r10,.rodata+9689
	callr %r9,puts
	mov %r5,%gz
;D_IdentifyVersion+272
	ldafr %r2,.rodata+22276
	nop 0
	nop 0
;D_IdentifyVersion+288
	add %r3,%r5,%r4
	std %r3,%sp,0
	mov %r10,%r2
;D_IdentifyVersion+304
	callr %r9,printf
	addi %r5,%r5,20
	bdnei %r5,60,D_IdentifyVersion+288
;D_IdentifyVersion+320
	ldafr %r10,.rodata+14700
	std %r1,%sp,0
	callr %r9,I_Error
;D_IdentifyVersion+336
	retf 16
	nop 0
	nop 0
;D_IdentifyVersion+352
	ldafr %r1,SetMissionForPackName.packs+16
	ldwzx.xd %r1,%r3,%r1,0,0
	stwr %r1,gamemission
;D_IdentifyVersion+368
	retf 16
	nop 0
	nop 0
;D_IdentifyVersion+384
	ldi %r1,1
	stwr %r1,gamemission
	jmp D_IdentifyVersion+160
;D_IdentifyVersion+400
	stwr %gz,gamemission
	nop 0
	nop 0
;D_IdentifyVersion+416
	ldafr %r10,.rodata+19646
	callr %r9,W_CheckNumForName
	bwlti %r10,1,D_IdentifyVersion+448
;D_IdentifyVersion+432
	ldi %r1,3
	stwr %r1,gamemode
	retf 16
;D_IdentifyVersion+448
	ldafr %r10,.rodata+21309
	callr %r9,W_CheckNumForName
	bwlti %r10,1,D_IdentifyVersion+480
;D_IdentifyVersion+464
	ldi %r1,1
	stwr %r1,gamemode
	retf 16
;D_IdentifyVersion+480
	stwr %gz,gamemode
	retf 16
	nop 0
;D_SetGameDescription
	alloc 7
	ldafr %r6,.rodata+21314
	callr %r5,W_CheckNumForName
;D_SetGameDescription+16
	mov %r1,%r6
	ldafr %r6,.rodata+14693
	callr %r5,W_CheckNumForName
;D_SetGameDescription+32
	ldwzr %r2,gamemission
	ldafr %r3,.rodata+27407
	stdr %r3,gamedescription
;D_SetGameDescription+48
	bweqi %r2,4,D_SetGameDescription+112
	cmpweqi %r3,%r2,5
	ldi %r4,1
;D_SetGameDescription+64
	cmovlsb %r2,%r3,%r4,%r2
	bweq %r2,%gz,D_SetGameDescription+112
	bwlt %r1,%gz,D_SetGameDescription+160
;D_SetGameDescription+80
	ldafr %r1,.rodata+25898
	ldafr %r2,.rodata+2273
	cmovwlt %r1,%r6,%r2,%r1
;D_SetGameDescription+96
	jmp D_SetGameDescription+224
	nop 0
	nop 0
;D_SetGameDescription+112
	bwlti %r1,0,D_SetGameDescription+128
	ldafr %r1,.rodata+17924
	jmp D_SetGameDescription+224
;D_SetGameDescription+128
	ldwzr %r1,gamemode
	bweq %r1,%gz,D_SetGameDescription+208
	bweqi %r1,3,D_SetGameDescription+192
;D_SetGameDescription+144
	bwnei %r1,1,D_SetGameDescription+240
	ldafr %r1,.rodata+22260
	jmp D_SetGameDescription+224
;D_SetGameDescription+160
	addiws %r1,%r2,-1
	bwgeui %r1,3,D_SetGameDescription+240
	ldafr %r2,.Lswitch.table.D_SetGameDescription.rel
;D_SetGameDescription+176
	ldwsx.xuw %r1,%r2,%r1,2,0
	add %r1,%r1,%r2
	jmp D_SetGameDescription+224
;D_SetGameDescription+192
	ldafr %r1,.rodata+5913
	jmp D_SetGameDescription+224
	nop 0
;D_SetGameDescription+208
	ldafr %r1,.rodata+8123
	nop 0
	nop 0
;D_SetGameDescription+224
	stdr %r1,gamedescription
	nop 0
	nop 0
;D_SetGameDescription+240
	retf 0
	nop 0
	nop 0
;PrintDehackedBanners
	alloc 1
	retf 0
	nop 0
;PrintGameVersion
	allocsp 8,16
	ldwzr %r1,gameversion
	bwnei %r1,1,PrintGameVersion+32
;PrintGameVersion+16
	ldafr %r1,.rodata+6733
	jmp PrintGameVersion+96
	nop 0
;PrintGameVersion+32
	mov %r3,%gz
	ldafr %r2,gameversions+40
	nop 0
;PrintGameVersion+48
	addi %r4,%r3,24
	bdeqi %r4,216,PrintGameVersion+112
	ldwzx.xd %r5,%r3,%r2,0,0
;PrintGameVersion+64
	mov %r3,%r4
	bwne %r5,%r1,PrintGameVersion+48
	ldafr %r1,gameversions
;PrintGameVersion+80
	lddzx.xd %r1,%r4,%r1,0,0
	nop 0
	nop 0
;PrintGameVersion+96
	ldafr %r7,.rodata+6679
	std %r1,%sp,0
	callr %r6,printf
;PrintGameVersion+112
	retf 16
	nop 0
	nop 0
;D_DoomMain
	allocsp 15,480
	ldar %r13,D_Endoom
	mov %r14,%gz
;D_DoomMain+16
	callr %r12,I_AtExit
	ldafr %r14,.rodata+23952
	callr %r13,I_PrintBanner
;D_DoomMain+32
	ldafr %r14,.rodata+3783
	callr %r13,puts
	callr %r14,Z_Init
;D_DoomMain+48
	ldafr %r14,.rodata+5544
	callr %r13,M_CheckParm
	stwr %r14,nomonsters
;D_DoomMain+64
	ldafr %r14,.rodata+21323
	callr %r13,M_CheckParm
	stwr %r14,respawnparm
;D_DoomMain+80
	ldafr %r14,.rodata+6727
	callr %r13,M_CheckParm
	stwr %r14,fastparm
;D_DoomMain+96
	ldafr %r14,.rodata+25923
	callr %r13,M_CheckParm
	stwr %r14,devparm
;D_DoomMain+112
	callr %r13,I_DisplayFPSDots
	ldafr %r14,.rodata+23969
	callr %r13,M_CheckParm
;D_DoomMain+128
	bweq %r14,%gz,D_DoomMain+144
	ldi %r1,1
	stwr %r1,deathmatch
;D_DoomMain+144
	ldafr %r14,.rodata+25932
	callr %r13,M_CheckParm
	ldi %r5,2
;D_DoomMain+160
	bweq %r14,%gz,D_DoomMain+176
	stwr %r5,deathmatch
	nop 0
;D_DoomMain+176
	ldwzr %r1,devparm
	bweq %r1,%gz,D_DoomMain+208
	ldafr %r14,.rodata+155
;D_DoomMain+192
	callr %r13,puts
	nop 0
	nop 0
;D_DoomMain+208
	mov %r14,%gz
	callr %r13,M_SetConfigDir
	ldafr %r14,.rodata+19651
;D_DoomMain+224
	callr %r13,M_CheckParm
	bweq %r14,%gz,D_DoomMain+496
	ldwzr %r1,myargc
;D_DoomMain+240
	addiws %r1,%r1,-1
	bwle %r1,%r14,D_DoomMain+272
	lddzr %r1,myargv
;D_DoomMain+256
	lddzx.xw %r14,%r1,%r14,3,8
	callr %r13,atoi
	jmp D_DoomMain+288
;D_DoomMain+272
	ldi %r14,200
	nop 0
	nop 0
;D_DoomMain+288
	ldi %r1,10
	maxsw %r1,%r14,%r1
	ldi %r2,400
;D_DoomMain+304
	minsw %r2,%r1,%r2
	ldafr %r14,.rodata+11071
	stw %r2,%sp,0
;D_DoomMain+320
	callr %r13,printf
	ldwzr %r1,forwardmove
	mulws %r1,%r1,%r2
;D_DoomMain+336
	muli.l %r1,%r1,1374389535
	srli %r3,%r1,63
;D_DoomMain+352
	srai %r1,%r1,37
	addws %r1,%r1,%r3
	stwr %r1,forwardmove
;D_DoomMain+368
	ldwzr %r1,forwardmove+4
	ldwzr %r3,sidemove
	mulws %r1,%r1,%r2
;D_DoomMain+384
	muli.l %r1,%r1,1374389535
	srli %r4,%r1,63
;D_DoomMain+400
	mulws %r3,%r3,%r2
	muli.l %r3,%r3,1374389535
;D_DoomMain+416
	srli %r6,%r3,63
	srai %r3,%r3,37
	addws %r3,%r3,%r6
;D_DoomMain+432
	stwr %r3,sidemove
	ldwzr %r3,sidemove+4
	srai %r1,%r1,37
;D_DoomMain+448
	addws %r1,%r1,%r4
	stwr %r1,forwardmove+4
	mulws %r1,%r3,%r2
;D_DoomMain+464
	muli.l %r1,%r1,1374389535
	srli %r2,%r1,63
;D_DoomMain+480
	srai %r1,%r1,37
	addws %r1,%r1,%r2
	stwr %r1,sidemove+4
;D_DoomMain+496
	ldafr %r14,.rodata+176
	callr %r13,puts
	callr %r14,V_Init
;D_DoomMain+512
	ldafr %r14,.rodata+14747
	callr %r13,puts
	ldafr %r13,.rodata+18455
;D_DoomMain+528
	ldafr %r14,.rodata+27944
	callr %r12,M_SetConfigFilenames
	callr %r14,D_BindVariables
;D_DoomMain+544
	callr %r14,M_LoadDefaults
	ldar %r13,M_SaveDefaults
	mov %r14,%gz
;D_DoomMain+560
	callr %r12,I_AtExit
	ldafr %r1,gamemission
	ldi %r13,63
;D_DoomMain+576
	mov %r14,%r1
	callr %r12,D_FindIWAD
	stdr %r13,iwadfile
;D_DoomMain+592
	bdne %r13,%gz,D_DoomMain+608
	ldafr %r14,.rodata+8637
	callr %r13,I_Error
;D_DoomMain+608
	stwr %gz,modifiedgame
	ldafr %r14,.rodata+11102
	callr %r13,puts
;D_DoomMain+624
	lddzr %r2,iwadfile
	ldafr %r14,.rodata+1265
	std %r2,%sp,0
;D_DoomMain+640
	callr %r13,printf
	mov %r14,%r2
	callr %r13,W_AddFile
;D_DoomMain+656
	mov %r14,%gz
	callr %r13,W_CheckCorrectIWAD
	callr %r14,D_IdentifyVersion
;D_DoomMain+672
	ldafr %r13,.rodata+17121
	ldi %r2,1
	mov %r14,%r2
;D_DoomMain+688
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+880
	lddzr %r3,myargv
;D_DoomMain+704
	mov %r9,%gz
	ldafr %r8,.rodata+6733
	sraiw %r6,%r13,0
;D_DoomMain+720
	lddzx.xw %r3,%r3,%r13,3,8
	ldafr %r7,gameversions+8
	nop 0
;D_DoomMain+736
	lddzx.xd %r14,%r9,%r7,0,0
	mov %r13,%r3
	callr %r12,strcmp
;D_DoomMain+752
	bweq %r13,%gz,D_DoomMain+912
	addi %r9,%r9,24
	bdnei %r9,216,D_DoomMain+736
;D_DoomMain+768
	ldafr %r14,.rodata+20308
	callr %r13,puts
	mov %r9,%gz
;D_DoomMain+784
	ldafr %r3,.rodata+27964
	ldafr %r10,gameversions+24
	nop 0
;D_DoomMain+800
	lddzx.xd %r4,%r9,%r7,0,0
	std %r8,%sp,8
	std %r4,%sp,0
;D_DoomMain+816
	mov %r14,%r3
	callr %r13,printf
	lddzx.xd %r8,%r9,%r10,0,0
;D_DoomMain+832
	addi %r9,%r9,24
	bdnei %r9,216,D_DoomMain+800
	lddzr %r3,myargv
;D_DoomMain+848
	lddzx.xd %r3,%r3,%r6,3,8
	ldafr %r14,.rodata+21349
	std %r3,%sp,0
;D_DoomMain+864
	callr %r13,I_Error
	jmp D_DoomMain+1040
	nop 0
;D_DoomMain+880
	ldwzr %r3,gamemission
	bweqi %r3,5,D_DoomMain+928
	bwnei %r3,4,D_DoomMain+944
;D_DoomMain+896
	ldi %r3,9
	jmp D_DoomMain+1024
	nop 0
;D_DoomMain+912
	ldafr %r3,gameversions+16
	ldwzx.xd %r3,%r9,%r3,0,0
	jmp D_DoomMain+1024
;D_DoomMain+928
	ldi %r3,5
	jmp D_DoomMain+1024
	nop 0
;D_DoomMain+944
	ldwzr %r4,gamemode
	bwgeui %r4,2,D_DoomMain+976
	nop 0
;D_DoomMain+960
	ldi %r3,4
	jmp D_DoomMain+1024
	nop 0
;D_DoomMain+976
	bweqi %r4,2,D_DoomMain+1008
	bwnei %r4,3,D_DoomMain+1040
	ldi %r3,6
;D_DoomMain+992
	jmp D_DoomMain+1024
	nop 0
	nop 0
;D_DoomMain+1008
	bweqi %r3,1,D_DoomMain+960
	ldi %r3,7
	nop 0
;D_DoomMain+1024
	stwr %r3,gameversion
	nop 0
	nop 0
;D_DoomMain+1040
	ldwzr %r4,gameversion
	ldwzr %r3,gamemode
	bwgeui %r4,6,D_DoomMain+1264
;D_DoomMain+1056
	bwnei %r3,3,D_DoomMain+1264
	ldafr %r1,gamemode
	nop 0
;D_DoomMain+1072
	stw %r2,%r1,0
	nop 0
	nop 0
;D_DoomMain+1088
	ldafr %r14,.rodata+2315
	callr %r13,W_CheckNumForName
	bwlt %r14,%gz,D_DoomMain+1120
;D_DoomMain+1104
	ldafr %r14,.rodata+2344
	callr %r13,puts
	stwr %r2,bfgedition
;D_DoomMain+1120
	callr %r13,W_ParseCommandLine
	stwr %r14,modifiedgame
	ldafr %r13,.rodata+25942
;D_DoomMain+1136
	ldi %r14,1
	callr %r12,M_CheckParmWithArgs
	bwne %r13,%gz,D_DoomMain+1184
;D_DoomMain+1152
	ldafr %r13,.rodata+17102
	ldi %r14,1
	callr %r12,M_CheckParmWithArgs
;D_DoomMain+1168
	bweq %r13,%gz,D_DoomMain+1440
	nop 0
	nop 0
;D_DoomMain+1184
	lddzr %r1,myargv
	addiws %r3,%r13,1
	lddzx.xw %r13,%r1,%r3,3,0
;D_DoomMain+1200
	ldafr %r14,.rodata+11090
	callr %r12,M_StringEndsWith
	lddzr %r1,myargv
;D_DoomMain+1216
	mov %r2,%r13
	lddzx.xw %r13,%r1,%r3,3,0
	addi %r1,%sp,224
;D_DoomMain+1232
	bweq %r2,%gz,D_DoomMain+1296
	addi %r12,%sp,224
	ldi %r14,256
;D_DoomMain+1248
	callr %r11,M_StringCopy
	jmp D_DoomMain+1328
	nop 0
;D_DoomMain+1264
	bwgeui %r4,7,D_DoomMain+1088
	bwnei %r3,2,D_DoomMain+1088
	ldwzr %r3,gamemission
;D_DoomMain+1280
	andi %r3,%r3,-2
	bweqi %r3,2,D_DoomMain+1072
	jmp D_DoomMain+1088
;D_DoomMain+1296
	ldafr %r14,.rodata+11095
	addi %r12,%sp,224
	ldi %r2,256
;D_DoomMain+1312
	std %r13,%sp,0
	mov %r13,%r2
	callr %r11,snprintf
;D_DoomMain+1328
	ldafr %r14,.rodata+1265
	std %r1,%sp,0
	callr %r13,printf
;D_DoomMain+1344
	mov %r14,%r1
	callr %r13,W_AddFile
	bdeq %r14,%gz,D_DoomMain+1392
;D_DoomMain+1360
	ldwzr %r2,numlumps
	lddzr %r3,lumpinfo
	addiwz %r2,%r2,-1
;D_DoomMain+1376
	ldi %r4,40
	muladd %r13,%r2,%r4,%r3
	jmp D_DoomMain+1408
;D_DoomMain+1392
	lddzr %r2,myargv
	lddzx.xd %r13,%r2,%r3,3,0
	nop 0
;D_DoomMain+1408
	addi %r12,%sp,215
	ldi %r14,9
	callr %r11,M_StringCopy
;D_DoomMain+1424
	ldafr %r14,.rodata+20238
	std %r1,%sp,0
	callr %r13,printf
;D_DoomMain+1440
	ldar %r13,G_CheckDemoStatus
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+1456
	callr %r12,I_AtExit
	callr %r14,W_GenerateHashTable
	callr %r14,D_SetGameDescription
;D_DoomMain+1472
	ldwzr %r14,gamemission
	callr %r13,D_SaveGameIWADName
	callr %r13,M_GetSaveGameDir
;D_DoomMain+1488
	ldwzr %r2,modifiedgame
	stdr %r14,savegamedir
	bweq %r2,%gz,D_DoomMain+4688
;D_DoomMain+1504
	ldafr %r2,.L__const.D_DoomMain.name+180
	ldbz %r2,%r2,1
	ldbzr %r3,.L__const.D_DoomMain.name+180
;D_DoomMain+1520
	ldbzr %r4,.L__const.D_DoomMain.name+183
	ldbzr %r6,.L__const.D_DoomMain.name+182
	ldafr %r7,.L__const.D_DoomMain.name+176
;D_DoomMain+1536
	ldbz %r8,%r7,1
	ldbzr %r9,.L__const.D_DoomMain.name+176
	ldbz %r10,%r7,3
;D_DoomMain+1552
	ldbz %r7,%r7,2
	slli %r4,%r4,24
	slor %r2,%r3,%r2,8
;D_DoomMain+1568
	slor %r3,%r4,%r6,16
	slli %r4,%r10,24
	or %r2,%r3,%r2
;D_DoomMain+1584
	slor %r3,%r9,%r8,8
	slor %r4,%r4,%r7,16
	or %r3,%r4,%r3
;D_DoomMain+1600
	slor %r2,%r3,%r2,32
	std %r2,%sp,192
	ldafr %r2,.L__const.D_DoomMain.name+160
;D_DoomMain+1616
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+160
	ldbz %r6,%r2,2
;D_DoomMain+1632
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
;D_DoomMain+1648
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
;D_DoomMain+1664
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
;D_DoomMain+1680
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
;D_DoomMain+1696
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+1712
	or %r2,%r2,%r6
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
;D_DoomMain+1728
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+168
	ldbz %r4,%r3,1
;D_DoomMain+1744
	ldbzr %r6,.L__const.D_DoomMain.name+168
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
;D_DoomMain+1760
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+1776
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+174
;D_DoomMain+1792
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+175
;D_DoomMain+1808
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+172
	ldbz %r7,%r7,1
;D_DoomMain+1824
	ldbzr %r8,.L__const.D_DoomMain.name+172
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
;D_DoomMain+1840
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
	or %r4,%r4,%r6
;D_DoomMain+1856
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
	or %r2,%r3,%r2
;D_DoomMain+1872
	stq %r2,%sp,176
	ldafr %r2,.L__const.D_DoomMain.name+144
	ldbz %r3,%r2,1
;D_DoomMain+1888
	ldbzr %r4,.L__const.D_DoomMain.name+144
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
;D_DoomMain+1904
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
;D_DoomMain+1920
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
	or %r3,%r4,%r3
;D_DoomMain+1936
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
;D_DoomMain+1952
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+1968
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
;D_DoomMain+1984
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
;D_DoomMain+2000
	ldafr %r3,.L__const.D_DoomMain.name+152
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+152
;D_DoomMain+2016
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
;D_DoomMain+2032
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
;D_DoomMain+2048
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+158
	or %r3,%r3,%r4
;D_DoomMain+2064
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+159
	sllqi %r6,%r6,16
;D_DoomMain+2080
	ldafr %r7,.L__const.D_DoomMain.name+156
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+156
;D_DoomMain+2096
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
;D_DoomMain+2112
	or %r6,%r6,%r8
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
;D_DoomMain+2128
	or %r3,%r4,%r3
	or %r2,%r3,%r2
	stq %r2,%sp,160
;D_DoomMain+2144
	ldafr %r2,.L__const.D_DoomMain.name+128
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+128
;D_DoomMain+2160
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
;D_DoomMain+2176
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
;D_DoomMain+2192
	or %r4,%r6,%r4
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
;D_DoomMain+2208
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
;D_DoomMain+2224
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+2240
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
	or %r2,%r2,%r4
;D_DoomMain+2256
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+136
;D_DoomMain+2272
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+136
	ldbz %r7,%r3,2
;D_DoomMain+2288
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+2304
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
;D_DoomMain+2320
	ldbzr %r6,.L__const.D_DoomMain.name+142
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
;D_DoomMain+2336
	ldbzr %r4,.L__const.D_DoomMain.name+143
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+140
;D_DoomMain+2352
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+140
	sllqi %r4,%r4,24
;D_DoomMain+2368
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
;D_DoomMain+2384
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
;D_DoomMain+2400
	or %r2,%r3,%r2
	stq %r2,%sp,144
	ldafr %r2,.L__const.D_DoomMain.name+112
;D_DoomMain+2416
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+112
	ldbz %r6,%r2,2
;D_DoomMain+2432
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
;D_DoomMain+2448
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
;D_DoomMain+2464
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
;D_DoomMain+2480
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
;D_DoomMain+2496
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+2512
	or %r2,%r2,%r6
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
;D_DoomMain+2528
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+120
	ldbz %r4,%r3,1
;D_DoomMain+2544
	ldbzr %r6,.L__const.D_DoomMain.name+120
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
;D_DoomMain+2560
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+2576
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+126
;D_DoomMain+2592
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+127
;D_DoomMain+2608
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+124
	ldbz %r7,%r7,1
;D_DoomMain+2624
	ldbzr %r8,.L__const.D_DoomMain.name+124
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
;D_DoomMain+2640
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
	or %r4,%r4,%r6
;D_DoomMain+2656
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
	or %r2,%r3,%r2
;D_DoomMain+2672
	stq %r2,%sp,128
	ldafr %r2,.L__const.D_DoomMain.name+96
	ldbz %r3,%r2,1
;D_DoomMain+2688
	ldbzr %r4,.L__const.D_DoomMain.name+96
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
;D_DoomMain+2704
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
;D_DoomMain+2720
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
	or %r3,%r4,%r3
;D_DoomMain+2736
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
;D_DoomMain+2752
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+2768
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
;D_DoomMain+2784
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
;D_DoomMain+2800
	ldafr %r3,.L__const.D_DoomMain.name+104
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+104
;D_DoomMain+2816
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
;D_DoomMain+2832
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
;D_DoomMain+2848
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+110
	or %r3,%r3,%r4
;D_DoomMain+2864
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+111
	sllqi %r6,%r6,16
;D_DoomMain+2880
	ldafr %r7,.L__const.D_DoomMain.name+108
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+108
;D_DoomMain+2896
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
;D_DoomMain+2912
	or %r6,%r6,%r8
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
;D_DoomMain+2928
	or %r3,%r4,%r3
	or %r2,%r3,%r2
	stq %r2,%sp,112
;D_DoomMain+2944
	ldafr %r2,.L__const.D_DoomMain.name+80
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+80
;D_DoomMain+2960
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
;D_DoomMain+2976
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
;D_DoomMain+2992
	or %r4,%r6,%r4
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
;D_DoomMain+3008
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
;D_DoomMain+3024
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+3040
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
	or %r2,%r2,%r4
;D_DoomMain+3056
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+88
;D_DoomMain+3072
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+88
	ldbz %r7,%r3,2
;D_DoomMain+3088
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+3104
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
;D_DoomMain+3120
	ldbzr %r6,.L__const.D_DoomMain.name+94
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
;D_DoomMain+3136
	ldbzr %r4,.L__const.D_DoomMain.name+95
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+92
;D_DoomMain+3152
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+92
	sllqi %r4,%r4,24
;D_DoomMain+3168
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
;D_DoomMain+3184
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
;D_DoomMain+3200
	or %r2,%r3,%r2
	stq %r2,%sp,96
	ldafr %r2,.L__const.D_DoomMain.name+64
;D_DoomMain+3216
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+64
	ldbz %r6,%r2,2
;D_DoomMain+3232
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
;D_DoomMain+3248
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
;D_DoomMain+3264
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
;D_DoomMain+3280
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
;D_DoomMain+3296
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+3312
	or %r2,%r2,%r6
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
;D_DoomMain+3328
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+72
	ldbz %r4,%r3,1
;D_DoomMain+3344
	ldbzr %r6,.L__const.D_DoomMain.name+72
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
;D_DoomMain+3360
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+3376
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+78
;D_DoomMain+3392
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+79
;D_DoomMain+3408
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+76
	ldbz %r7,%r7,1
;D_DoomMain+3424
	ldbzr %r8,.L__const.D_DoomMain.name+76
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
;D_DoomMain+3440
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
	or %r4,%r4,%r6
;D_DoomMain+3456
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
	or %r2,%r3,%r2
;D_DoomMain+3472
	stq %r2,%sp,80
	ldafr %r2,.L__const.D_DoomMain.name+48
	ldbz %r3,%r2,1
;D_DoomMain+3488
	ldbzr %r4,.L__const.D_DoomMain.name+48
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
;D_DoomMain+3504
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
;D_DoomMain+3520
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
	or %r3,%r4,%r3
;D_DoomMain+3536
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
;D_DoomMain+3552
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+3568
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
;D_DoomMain+3584
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
;D_DoomMain+3600
	ldafr %r3,.L__const.D_DoomMain.name+56
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+56
;D_DoomMain+3616
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
;D_DoomMain+3632
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
;D_DoomMain+3648
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+62
	or %r3,%r3,%r4
;D_DoomMain+3664
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+63
	sllqi %r6,%r6,16
;D_DoomMain+3680
	ldafr %r7,.L__const.D_DoomMain.name+60
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+60
;D_DoomMain+3696
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
;D_DoomMain+3712
	or %r6,%r6,%r8
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
;D_DoomMain+3728
	or %r3,%r4,%r3
	or %r2,%r3,%r2
	stq %r2,%sp,64
;D_DoomMain+3744
	ldafr %r2,.L__const.D_DoomMain.name+32
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+32
;D_DoomMain+3760
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
;D_DoomMain+3776
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
;D_DoomMain+3792
	or %r4,%r6,%r4
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
;D_DoomMain+3808
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
;D_DoomMain+3824
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+3840
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
	or %r2,%r2,%r4
;D_DoomMain+3856
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+40
;D_DoomMain+3872
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+40
	ldbz %r7,%r3,2
;D_DoomMain+3888
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+3904
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
;D_DoomMain+3920
	ldbzr %r6,.L__const.D_DoomMain.name+46
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
;D_DoomMain+3936
	ldbzr %r4,.L__const.D_DoomMain.name+47
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+44
;D_DoomMain+3952
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+44
	sllqi %r4,%r4,24
;D_DoomMain+3968
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
;D_DoomMain+3984
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
;D_DoomMain+4000
	or %r2,%r3,%r2
	stq %r2,%sp,48
	ldafr %r2,.L__const.D_DoomMain.name+16
;D_DoomMain+4016
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+16
	ldbz %r6,%r2,2
;D_DoomMain+4032
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
;D_DoomMain+4048
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
;D_DoomMain+4064
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
;D_DoomMain+4080
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
;D_DoomMain+4096
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+4112
	or %r2,%r2,%r6
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
;D_DoomMain+4128
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+24
	ldbz %r4,%r3,1
;D_DoomMain+4144
	ldbzr %r6,.L__const.D_DoomMain.name+24
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
;D_DoomMain+4160
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+4176
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+30
;D_DoomMain+4192
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+31
;D_DoomMain+4208
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+28
	ldbz %r7,%r7,1
;D_DoomMain+4224
	ldbzr %r8,.L__const.D_DoomMain.name+28
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
;D_DoomMain+4240
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
	or %r4,%r4,%r6
;D_DoomMain+4256
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
	or %r2,%r3,%r2
;D_DoomMain+4272
	stq %r2,%sp,32
	ldafr %r2,.L__const.D_DoomMain.name
	ldbz %r3,%r2,1
;D_DoomMain+4288
	ldbzr %r4,.L__const.D_DoomMain.name
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
;D_DoomMain+4304
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
;D_DoomMain+4320
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
	or %r3,%r4,%r3
;D_DoomMain+4336
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
;D_DoomMain+4352
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+4368
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
;D_DoomMain+4384
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
	or %r3,%r2,%r3
;D_DoomMain+4400
	ldafr %r2,.L__const.D_DoomMain.name+8
	ldbz %r4,%r2,1
	ldbzr %r6,.L__const.D_DoomMain.name+8
;D_DoomMain+4416
	ldbz %r7,%r2,2
	ldbz %r2,%r2,3
	sllqi %r4,%r4,8
;D_DoomMain+4432
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+4448
	ldbzr %r7,.L__const.D_DoomMain.name+14
	ldbzr %r8,.L__const.D_DoomMain.name+15
	or %r2,%r2,%r6
;D_DoomMain+4464
	or %r2,%r2,%r4
	sllqi %r4,%r7,16
	sllqi %r6,%r8,24
;D_DoomMain+4480
	ldafr %r7,.L__const.D_DoomMain.name+12
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+12
;D_DoomMain+4496
	or %r4,%r6,%r4
	sllqi %r6,%r2,0
	sllqi %r2,%r7,8
;D_DoomMain+4512
	or %r2,%r2,%r8
	or %r4,%r4,%r2
	ldwzr %r2,gamemode
;D_DoomMain+4528
	sllqi %r4,%r4,32
	or %r4,%r4,%r6
	or %r3,%r4,%r3
;D_DoomMain+4544
	stq %r3,%sp,16
	bweq %r2,%gz,D_DoomMain+4576
	bweqi %r2,1,D_DoomMain+4608
;D_DoomMain+4560
	jmp D_DoomMain+4688
	nop 0
	nop 0
;D_DoomMain+4576
	ldafr %r14,.rodata+27415
	callr %r13,I_Error
	ldwzr %r2,gamemode
;D_DoomMain+4592
	bwnei %r2,1,D_DoomMain+4688
	nop 0
	nop 0
;D_DoomMain+4608
	mov %r4,%gz
	addi %r6,%sp,16
	ldafr %r2,.rodata+118
;D_DoomMain+4624
	jmp D_DoomMain+4656
	nop 0
	nop 0
;D_DoomMain+4640
	addi %r4,%r4,8
	bdeqi %r4,184,D_DoomMain+4688
	nop 0
;D_DoomMain+4656
	add %r14,%r6,%r4
	callr %r13,W_CheckNumForName
	bwgei %r14,0,D_DoomMain+4640
;D_DoomMain+4672
	mov %r14,%r2
	callr %r13,I_Error
	jmp D_DoomMain+4640
;D_DoomMain+4688
	ldafr %r14,.rodata+17112
	callr %r13,W_CheckNumForName
	bwgei %r14,0,D_DoomMain+4720
;D_DoomMain+4704
	ldafr %r14,.rodata+3771
	callr %r13,W_CheckNumForName
	bwlt %r14,%gz,D_DoomMain+4736
;D_DoomMain+4720
	callr %r14,I_PrintDivider
	ldafr %r14,.rodata+14026
	callr %r13,puts
;D_DoomMain+4736
	lddzr %r14,gamedescription
	callr %r13,I_PrintStartupBanner
	ldafr %r14,.rodata+21314
;D_DoomMain+4752
	callr %r13,W_CheckNumForName
	bwlt %r14,%gz,D_DoomMain+4800
	ldafr %r14,.rodata+14693
;D_DoomMain+4768
	callr %r13,W_CheckNumForName
	bwgei %r14,0,D_DoomMain+4800
	ldafr %r14,.rodata+22977
;D_DoomMain+4784
	callr %r13,puts
	callr %r14,I_PrintDivider
	nop 0
;D_DoomMain+4800
	ldafr %r14,.rodata+2386
	callr %r13,puts
	callr %r14,I_CheckIsScreensaver
;D_DoomMain+4816
	callr %r14,I_InitTimer
	callr %r14,I_InitJoystick
	mov %r14,%r1
;D_DoomMain+4832
	callr %r13,I_InitSound
	callr %r14,I_InitMusic
	callr %r14,D_ConnectNetGame
;D_DoomMain+4848
	stwr %r5,startskill
	stwr %r1,startepisode
	stwr %r1,startmap
;D_DoomMain+4864
	stwr %gz,autostart
	ldafr %r13,.rodata+19658
	mov %r14,%r1
;D_DoomMain+4880
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+4928
	lddzr %r2,myargv
;D_DoomMain+4896
	lddzx.xw %r2,%r2,%r13,3,8
	ldbs %r2,%r2,0
	addiws %r2,%r2,-49
;D_DoomMain+4912
	stwr %r2,startskill
	stwr %r1,autostart
	nop 0
;D_DoomMain+4928
	ldafr %r13,.rodata+8749
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+4944
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+4992
	lddzr %r2,myargv
;D_DoomMain+4960
	lddzx.xw %r2,%r2,%r13,3,8
	ldbs %r2,%r2,0
	addiws %r2,%r2,-48
;D_DoomMain+4976
	stwr %r2,startepisode
	stwr %r1,startmap
	stwr %r1,autostart
;D_DoomMain+4992
	stwr %gz,timelimit
	ldafr %r13,.rodata+21332
	ldi %r14,1
;D_DoomMain+5008
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5040
	lddzr %r1,myargv
;D_DoomMain+5024
	lddzx.xw %r14,%r1,%r13,3,8
	callr %r13,atoi
	stwr %r14,timelimit
;D_DoomMain+5040
	ldafr %r14,.rodata+3778
	callr %r13,M_CheckParm
	bweq %r14,%gz,D_DoomMain+5072
;D_DoomMain+5056
	ldi %r1,20
	stwr %r1,timelimit
	nop 0
;D_DoomMain+5072
	ldafr %r13,.rodata+2324
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5088
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5216
	ldwzr %r3,gamemode
;D_DoomMain+5104
	lddzr %r2,myargv
	lddzx.xw %r14,%r2,%r13,3,8
	bwnei %r3,2,D_DoomMain+5136
;D_DoomMain+5120
	callr %r13,atoi
	jmp D_DoomMain+5200
	nop 0
;D_DoomMain+5136
	ldbs %r3,%r14,0
	ldwzr %r4,myargc
	addiws %r5,%r3,-48
;D_DoomMain+5152
	addiws %r3,%r13,2
	stwr %r5,startepisode
	mov %r14,%r1
;D_DoomMain+5168
	bwle %r4,%r3,D_DoomMain+5200
	lddzx.xw %r2,%r2,%r3,3,0
	ldbs %r2,%r2,0
;D_DoomMain+5184
	addiws %r14,%r2,-48
	nop 0
	nop 0
;D_DoomMain+5200
	stwr %r14,startmap
	stwr %r1,autostart
	nop 0
;D_DoomMain+5216
	ldafr %r14,.rodata+19665
	callr %r13,M_CheckParm
	bwlti %r14,1,D_DoomMain+5264
;D_DoomMain+5232
	ldi %r1,1
	stwr %r1,startepisode
	stwr %r1,startmap
;D_DoomMain+5248
	stwr %r1,autostart
	stwr %r1,testcontrols
	nop 0
;D_DoomMain+5264
	ldafr %r13,.rodata+21339
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5280
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5312
	lddzr %r2,myargv
;D_DoomMain+5296
	lddzx.xw %r14,%r2,%r13,3,8
	callr %r13,atoi
	jmp D_DoomMain+5328
;D_DoomMain+5312
	ldi %r14,-1
	nop 0
	nop 0
;D_DoomMain+5328
	stwr %r14,startloadgame
	ldafr %r14,.rodata+1277
	callr %r13,puts
;D_DoomMain+5344
	callr %r14,M_Init
	ldafr %r14,.rodata+4289
	callr %r13,printf
;D_DoomMain+5360
	callr %r14,R_Init
	ldafr %r14,.rodata+2420
	callr %r13,puts
;D_DoomMain+5376
	callr %r14,P_Init
	ldafr %r14,.rodata+17972
	callr %r13,puts
;D_DoomMain+5392
	ldwzr %r2,sfxVolume
	ldwzr %r3,musicVolume
	slliw %r13,%r2,3
;D_DoomMain+5408
	slliw %r14,%r3,3
	callr %r12,S_Init
	ldafr %r14,.rodata+20262
;D_DoomMain+5424
	callr %r13,puts
	callr %r14,D_CheckNetGame
	ldwzr %r2,gameversion
;D_DoomMain+5440
	bwnei %r2,1,D_DoomMain+5456
	ldafr %r2,.rodata+6733
	jmp D_DoomMain+5520
;D_DoomMain+5456
	mov %r4,%gz
	ldafr %r3,gameversions+40
	nop 0
;D_DoomMain+5472
	addi %r5,%r4,24
	bdeqi %r5,216,D_DoomMain+5536
	ldwzx.xd %r6,%r4,%r3,0,0
;D_DoomMain+5488
	mov %r4,%r5
	bwne %r6,%r2,D_DoomMain+5472
	ldafr %r2,gameversions
;D_DoomMain+5504
	lddzx.xd %r2,%r5,%r2,0,0
	nop 0
	nop 0
;D_DoomMain+5520
	ldafr %r14,.rodata+6679
	std %r2,%sp,0
	callr %r13,printf
;D_DoomMain+5536
	ldafr %r14,.rodata+202
	callr %r13,puts
	callr %r14,HU_Init
;D_DoomMain+5552
	ldafr %r14,.rodata+9714
	callr %r13,puts
	callr %r14,ST_Init
;D_DoomMain+5568
	ldwzr %r2,gamemode
	bwnei %r2,2,D_DoomMain+5600
	ldafr %r14,.rodata+19679
;D_DoomMain+5584
	callr %r13,W_CheckNumForName
	bwgei %r14,0,D_DoomMain+5600
	stwr %r1,storedemo
;D_DoomMain+5600
	ldafr %r13,.rodata+25952
	ldi %r14,1
	callr %r12,M_CheckParmWithArgs
;D_DoomMain+5616
	bweq %r13,%gz,D_DoomMain+5648
	ldar %r13,StatDump
	ldi %r14,1
;D_DoomMain+5632
	callr %r12,I_AtExit
	ldafr %r14,.rodata+4330
	callr %r13,puts
;D_DoomMain+5648
	ldafr %r13,.rodata+3024
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5664
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5696
	lddzr %r2,myargv
;D_DoomMain+5680
	lddzx.xw %r14,%r2,%r13,3,8
	callr %r13,G_RecordDemo
	stwr %r1,autostart
;D_DoomMain+5696
	ldafr %r13,.rodata+25942
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5712
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5760
	stwr %r1,singledemo
;D_DoomMain+5728
	addi %r14,%sp,215
	callr %r13,G_DeferedPlayDemo
	callr %r14,D_DoomLoop
;D_DoomMain+5744
	retf 480
	nop 0
	nop 0
;D_DoomMain+5760
	ldafr %r13,.rodata+17102
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5776
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5808
	addi %r14,%sp,215
;D_DoomMain+5792
	callr %r13,G_TimeDemo
	callr %r14,D_DoomLoop
	retf 480
;D_DoomMain+5808
	ldwzr %r14,startloadgame
	bwlt %r14,%gz,D_DoomMain+5872
	callr %r13,P_SaveGameFile
;D_DoomMain+5824
	mov %r13,%r14
	addi %r2,%sp,224
	ldi %r14,256
;D_DoomMain+5840
	mov %r12,%r2
	callr %r11,M_StringCopy
	mov %r14,%r2
;D_DoomMain+5856
	callr %r13,G_LoadGame
	nop 0
	nop 0
;D_DoomMain+5872
	ldwzr %r2,gameaction
	bweqi %r2,3,D_DoomMain+5968
	ldwzr %r2,autostart
;D_DoomMain+5888
	ldwzr %r3,netgame
	or %r2,%r2,%r3
	bweq %r2,%gz,D_DoomMain+5936
;D_DoomMain+5904
	ldwzr %r12,startskill
	ldwzr %r13,startepisode
	ldwzr %r14,startmap
;D_DoomMain+5920
	callr %r11,G_InitNew
	callr %r14,D_DoomLoop
	retf 480
;D_DoomMain+5936
	stwr %gz,gameaction
	ldi %r2,-1
	stwr %r2,demosequence
;D_DoomMain+5952
	stwr %r1,advancedemo
	nop 0
	nop 0
;D_DoomMain+5968
	callr %r14,D_DoomLoop
	retf 480
	nop 0
;D_Endoom
	alloc 5
	ldwzr %r1,show_endoom
	bweq %r1,%gz,D_Endoom+64
;D_Endoom+16
	ldwzr %r1,main_loop_started
	bweq %r1,%gz,D_Endoom+64
	ldwzr %r1,screensaver_mode
;D_Endoom+32
	bwne %r1,%gz,D_Endoom+64
	ldafr %r4,.rodata+19665
	callr %r3,M_CheckParm
;D_Endoom+48
	bwlti %r4,1,D_Endoom+80
	nop 0
	nop 0
;D_Endoom+64
	retf 0
	nop 0
	nop 0
;D_Endoom+80
	ldafr %r3,.rodata+22281
	ldi %r4,1
	callr %r2,W_CacheLumpName
;D_Endoom+96
	mov %r4,%r3
	callr %r3,I_Endoom
	mov %r4,%gz
;D_Endoom+112
	callr %r3,exit
	nop 0
	nop 0
;strncasecmp
	alloc 9
	bdeq %r3,%gz,strncasecmp+224
	ldbz %r6,%r1,0
;strncasecmp+16
	bweq %r6,%gz,strncasecmp+160
	addi %r5,%r3,-1
	addi %r4,%r1,1
;strncasecmp+32
	jmp strncasecmp+80
	nop 0
	nop 0
;strncasecmp+48
	ldbz %r6,%r4,0
	addi %r5,%r5,-1
	addi %r2,%r2,1
;strncasecmp+64
	addi %r4,%r4,1
	bweq %r6,%gz,strncasecmp+160
	nop 0
;strncasecmp+80
	ldbz %r1,%r2,0
	bweq %r1,%gz,strncasecmp+176
	cmpdnei %r3,%r5,0
;strncasecmp+96
	bbci %r3,0,strncasecmp+176
	andi %r8,%r6,255
	bweq %r8,%r1,strncasecmp+48
;strncasecmp+112
	callr %r7,tolower
	mov %r1,%r8
	ldbz %r8,%r2,0
;strncasecmp+128
	callr %r7,tolower
	bweq %r1,%r8,strncasecmp+48
	ldbz %r6,%r4,-1
;strncasecmp+144
	jmp strncasecmp+176
	nop 0
	nop 0
;strncasecmp+160
	mov %r6,%gz
	nop 0
	nop 0
;strncasecmp+176
	andi %r8,%r6,255
	callr %r7,tolower
	mov %r1,%r8
;strncasecmp+192
	ldbz %r8,%r2,0
	callr %r7,tolower
	subws %r1,%r1,%r8
;strncasecmp+208
	retf 0
	nop 0
	nop 0
;strncasecmp+224
	mov %r1,%gz
	retf 0
	nop 0
;strncasecmp_l
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;strncasecmp_l+16
	callr %r4,strncasecmp
	mov %r1,%r5
	retf 0
;atoi
	alloc 6
	nop 0
	nop 0
;atoi+16
	ldbs %r3,%r1,0
	andi %r2,%r3,255
	addi %r1,%r1,1
;atoi+32
	bweqi %r2,32,atoi+16
	addiws %r4,%r3,-14
	nop 2
;atoi+48
	bwgeui.l %r4,1099511627771,atoi+16
	bweqi %r2,43,atoi+80
;atoi+64
	bwnei %r2,45,atoi+112
	mov %r2,%gz
	jmp atoi+96
;atoi+80
	ldi %r2,1
	nop 0
	nop 0
;atoi+96
	ldbs %r3,%r1,0
	jmp atoi+128
	nop 0
;atoi+112
	addi %r1,%r1,-1
	ldi %r2,1
	nop 0
;atoi+128
	addiws %r3,%r3,-48
	mov %r4,%gz
	bwgeui %r3,10,atoi+192
;atoi+144
	mov %r4,%gz
	addi %r1,%r1,1
	nop 0
;atoi+160
	ldbs %r5,%r1,0
	mulwsi %r4,%r4,10
	subws %r4,%r4,%r3
;atoi+176
	addiws %r3,%r5,-48
	addi %r1,%r1,1
	bwltui %r3,10,atoi+160
;atoi+192
	subfiws %r1,%r4,0
	cmovlsb %r1,%r2,%r1,%r4
	retf 0
;strcmp
	alloc 6
	ldbz %r3,%r1,0
	ldbz %r4,%r2,0
;strcmp+16
	bweq %r3,%gz,strcmp+96
	andi %r5,%r4,255
	bwne %r3,%r5,strcmp+96
;strcmp+32
	addi %r2,%r2,1
	addi %r1,%r1,1
	nop 0
;strcmp+48
	ldbz %r3,%r1,0
	ldbz %r4,%r2,0
	bweq %r3,%gz,strcmp+96
;strcmp+64
	addi %r2,%r2,1
	andi %r5,%r4,255
	addi %r1,%r1,1
;strcmp+80
	bweq %r3,%r5,strcmp+48
	nop 0
	nop 0
;strcmp+96
	andi %r1,%r4,255
	subws %r1,%r3,%r1
	retf 0
;_fini
	alloc 1
	retf 0
	nop 0
;libc_exit_fini
	alloc 5
	ldafr %r2,AM_Stop.st_notify
	ldafr %r1,AM_Stop.st_notify
;libc_exit_fini+16
	bdleu %r1,%r2,libc_exit_fini+64
	nop 0
	nop 0
;libc_exit_fini+32
	addi %r3,%r1,-8
	callmi %r4,%r1,-8
	mov %r1,%r3
;libc_exit_fini+48
	bdltu %r2,%r3,libc_exit_fini+32
	nop 0
	nop 0
;libc_exit_fini+64
	callr %r4,_fini
	retf 0
	nop 0
;exit
	alloc 13
	ldwz %r3,%tp,48
	fence.seq_cst
;exit+16
	ldafr %r4,exit.exit_lock
	mov %r2,%r3
	casw.relaxed %r2,%r4,%gz
;exit+32
	bweq %r2,%r3,exit+128
	cmpweqi %r2,%r2,0
	bbsi %r2,0,exit+96
;exit+48
	ldi %r1,34
	nop 0
	nop 0
;exit+64
	mov2 %r6,%r7,%r1,%gz
	mov2 %r8,%r9,%gz,%gz
	mov2 %r10,%r11,%gz,%gz
;exit+80
	mov %r12,%gz
	callr %r5,__syscall_postrisc
	jmp exit+64
;exit+96
	callr %r12,_fini
	callr %r12,libc_exit_fini
	callr %r12,__stdio_exit
;exit+112
	mov %r12,%r1
	callr %r11,_Exit
	nop 0
;exit+128
	halt
	nop 0
	nop 0
;_Exit
	alloc 11
	sraiw %r1,%r1,0
	ldi %r4,231
;_Exit+16
	mov2 %r5,%r6,%r1,%gz
	mov2 %r7,%r8,%gz,%gz
	mov2 %r9,%r10,%gz,%gz
;_Exit+32
	callr %r3,__syscall_postrisc
	ldi %r2,60
	nop 0
;_Exit+48
	mov2 %r4,%r5,%r2,%r1
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
;_Exit+64
	mov %r10,%gz
	callr %r3,__syscall_postrisc
	jmp _Exit+48
;D_ValidGameMode
	alloc 8
	mov %r4,%gz
	ldafr %r5,valid_modes+4
;D_ValidGameMode+16
	ldafr %r6,valid_modes
	ldi %r3,1
	jmp D_ValidGameMode+48
;D_ValidGameMode+32
	addi %r4,%r4,16
	bdeqi %r4,208,D_ValidGameMode+80
	nop 0
;D_ValidGameMode+48
	ldwzx.xd %r7,%r4,%r5,0,0
	bwne %r7,%r2,D_ValidGameMode+32
	ldwzx.xd %r7,%r4,%r6,0,0
;D_ValidGameMode+64
	bwne %r7,%r1,D_ValidGameMode+32
	mov %r1,%r3
	retf 0
;D_ValidGameMode+80
	mov %r3,%gz
	mov %r1,%r3
	retf 0
;D_ValidEpisodeMap
	alloc 9
	bwnei %r1,6,D_ValidEpisodeMap+80
	bwnei %r2,3,D_ValidEpisodeMap+48
;D_ValidEpisodeMap+16
	bwnei %r3,6,D_ValidEpisodeMap+48
	addiws %r1,%r4,-1
	cmpwltui %r1,%r1,3
;D_ValidEpisodeMap+32
	retf 0
	nop 0
	nop 0
;D_ValidEpisodeMap+48
	bwnei %r2,1,D_ValidEpisodeMap+80
	bwnei %r3,4,D_ValidEpisodeMap+80
	cmpweqi %r1,%r4,1
;D_ValidEpisodeMap+64
	retf 0
	nop 0
	nop 0
;D_ValidEpisodeMap+80
	mov %r5,%gz
	ldafr %r6,valid_modes
	ldafr %r7,valid_modes+4
;D_ValidEpisodeMap+96
	jmp D_ValidEpisodeMap+128
	nop 0
	nop 0
;D_ValidEpisodeMap+112
	addi %r5,%r5,16
	bdeqi %r5,208,D_ValidEpisodeMap+208
	nop 0
;D_ValidEpisodeMap+128
	ldwzx.xd %r8,%r5,%r6,0,0
	bwne %r1,%r8,D_ValidEpisodeMap+112
	ldwzx.xd %r8,%r5,%r7,0,0
;D_ValidEpisodeMap+144
	bwne %r2,%r8,D_ValidEpisodeMap+112
	bwlti %r3,1,D_ValidEpisodeMap+208
	bwlti %r4,1,D_ValidEpisodeMap+208
;D_ValidEpisodeMap+160
	ldafr %r1,valid_modes+8
	ldwzx.xd %r2,%r5,%r1,0,0
	mov %r1,%gz
;D_ValidEpisodeMap+176
	bwlt %r2,%r3,D_ValidEpisodeMap+224
	ldafr %r1,valid_modes+12
	ldwzx.xd %r1,%r5,%r1,0,0
;D_ValidEpisodeMap+192
	cmpwle %r1,%r4,%r1
	retf 0
	nop 0
;D_ValidEpisodeMap+208
	mov %r1,%gz
	nop 0
	nop 0
;D_ValidEpisodeMap+224
	retf 0
	nop 0
	nop 0
;D_GetNumEpisodes
	alloc 12
	ldi %r3,1
	cmpweqi %r4,%r2,1
;D_GetNumEpisodes+16
	cmpweqi %r5,%r2,3
	ldafr %r6,valid_modes
	ldafr %r7,valid_modes+4
;D_GetNumEpisodes+32
	ldafr %r8,valid_modes+8
	ldafr %r9,valid_modes+12
	bwnei %r1,6,D_GetNumEpisodes+80
;D_GetNumEpisodes+48
	cmpweqi %r10,%r3,6
	and %r10,%r5,%r10
	bbsi %r10,0,D_GetNumEpisodes+160
;D_GetNumEpisodes+64
	cmpweqi %r10,%r3,4
	and %r10,%r4,%r10
	bbsi %r10,0,D_GetNumEpisodes+160
;D_GetNumEpisodes+80
	mov %r10,%gz
	jmp D_GetNumEpisodes+112
	nop 0
;D_GetNumEpisodes+96
	addi %r10,%r10,16
	bdeqi %r10,208,D_GetNumEpisodes+176
	nop 0
;D_GetNumEpisodes+112
	ldwzx.xd %r11,%r10,%r6,0,0
	bwne %r1,%r11,D_GetNumEpisodes+96
	ldwzx.xd %r11,%r10,%r7,0,0
;D_GetNumEpisodes+128
	bwne %r2,%r11,D_GetNumEpisodes+96
	ldwzx.xd %r11,%r10,%r8,0,0
	bwlt %r11,%r3,D_GetNumEpisodes+176
;D_GetNumEpisodes+144
	ldwzx.xd %r10,%r10,%r9,0,0
	bwlti %r10,1,D_GetNumEpisodes+176
	nop 0
;D_GetNumEpisodes+160
	addiws %r3,%r3,1
	bweqi %r1,6,D_GetNumEpisodes+48
	jmp D_GetNumEpisodes+80
;D_GetNumEpisodes+176
	addiws %r1,%r3,-1
	retf 0
	nop 0
;D_ValidGameVersion
	alloc 8
	andi %r3,%r1,-3
	cmpweqi %r3,%r3,1
;D_ValidGameVersion+16
	cmpweqi %r4,%r1,2
	andi %r5,%r1,-2
	cmovlsb %r1,%r3,%gz,%r1
;D_ValidGameVersion+32
	cmpweqi %r5,%r5,4
	cmovlsb %r1,%r4,%gz,%r1
	mov %r3,%gz
;D_ValidGameVersion+48
	cmovlsb %r4,%r5,%gz,%r1
	ldafr %r5,valid_versions
	ldafr %r6,valid_versions+4
;D_ValidGameVersion+64
	ldi %r1,1
	jmp D_ValidGameVersion+96
	nop 0
;D_ValidGameVersion+80
	addi %r3,%r3,8
	bdeqi %r3,80,D_ValidGameVersion+128
	nop 0
;D_ValidGameVersion+96
	ldwzx.xd %r7,%r3,%r5,0,0
	bwne %r7,%r4,D_ValidGameVersion+80
	ldwzx.xd %r7,%r3,%r6,0,0
;D_ValidGameVersion+112
	bwne %r7,%r2,D_ValidGameVersion+80
	retf 0
	nop 0
;D_ValidGameVersion+128
	mov %r1,%gz
	retf 0
	nop 0
;D_IsEpisodeMap
	alloc 3
	mov %r2,%gz
	bwgeui %r1,7,D_IsEpisodeMap+32
;D_IsEpisodeMap+16
	ldafr %r2,.Lswitch.table.D_IsEpisodeMap
	ldwzx.xuw %r2,%r2,%r1,2,0
	nop 0
;D_IsEpisodeMap+32
	mov %r1,%r2
	retf 0
	nop 0
;D_GameMissionString
	alloc 3
	bwgeui %r1,9,D_GameMissionString+32
	ldafr %r2,.Lswitch.table.D_GameMissionString.rel
;D_GameMissionString+16
	ldwsx.xuw %r1,%r2,%r1,2,0
	add %r1,%r1,%r2
	retf 0
;D_GameMissionString+32
	ldafr %r1,.rodata+17998
	retf 0
	nop 0
;D_ConnectNetGame
	allocsp 6,80
	ldi %r1,4
	stw %r1,%sp,28
;D_ConnectNetGame+16
	stw %gz,%sp,24
	ldafr %r5,.rodata+27471
	callr %r4,M_CheckParm
;D_ConnectNetGame+32
	ldi %r2,1
	bwlti %r5,1,D_ConnectNetGame+80
	nop 2
;D_ConnectNetGame+48
	ldi.l %r1,1073741824
	stwr %r1,viewangleoffset
;D_ConnectNetGame+64
	stw %r2,%sp,24
	nop 0
	nop 0
;D_ConnectNetGame+80
	ldafr %r5,.rodata+9740
	callr %r4,M_CheckParm
	bwlti %r5,1,D_ConnectNetGame+128
;D_ConnectNetGame+96
	ldi.l %r1,-1073741824
	stwr %r1,viewangleoffset
;D_ConnectNetGame+112
	stw %r2,%sp,24
	nop 0
	nop 0
;D_ConnectNetGame+128
	ldwzr %r1,gamemode
	ldwzr %r3,gamemission
	stw %r1,%sp,12
;D_ConnectNetGame+144
	stw %r3,%sp,16
	ldafr %r5,.rodata+3024
	callr %r4,M_CheckParm
;D_ConnectNetGame+160
	bwlti %r5,1,D_ConnectNetGame+192
	ldafr %r5,.rodata+27477
	callr %r4,M_CheckParm
;D_ConnectNetGame+176
	cmpweqi %r1,%r5,0
	jmp D_ConnectNetGame+208
	nop 0
;D_ConnectNetGame+192
	mov %r1,%gz
	nop 0
	nop 0
;D_ConnectNetGame+208
	stw %r1,%sp,20
	addi %r5,%sp,36
	callr %r4,W_Checksum
;D_ConnectNetGame+224
	ldafr %r5,.rodata+21314
	callr %r4,W_CheckNumForName
	xori %r1,%r5,-1
;D_ConnectNetGame+240
	srliw %r1,%r1,31
	stw %r1,%sp,32
	addi %r5,%sp,12
;D_ConnectNetGame+256
	callr %r4,D_InitNetGame
	stwr %r5,netgame
	ldafr %r5,.rodata+10612
;D_ConnectNetGame+272
	callr %r4,M_CheckParm
	bwlti %r5,1,D_ConnectNetGame+288
	stwr %r2,netgame
;D_ConnectNetGame+288
	retf 80
	nop 0
	nop 0
;D_CheckNetGame
	allocsp 9,128
	ldwzr %r1,netgame
	bweq %r1,%gz,D_CheckNetGame+32
;D_CheckNetGame+16
	ldi %r1,1
	stwr %r1,autostart
	nop 0
;D_CheckNetGame+32
	ldafr %r8,doom_loop_interface
	callr %r7,D_RegisterLoopCallbacks
	ldwzr %r1,deathmatch
;D_CheckNetGame+48
	ldwzr %r2,startepisode
	stw %r1,%sp,36
	stw %r2,%sp,40
;D_CheckNetGame+64
	ldwzr %r1,startmap
	ldwzr %r2,startskill
	ldwzr %r3,startloadgame
;D_CheckNetGame+80
	ldwzr %r4,gameversion
	stw %r1,%sp,56
	stw %r2,%sp,60
;D_CheckNetGame+96
	stw %r3,%sp,80
	stw %r4,%sp,64
	ldwzr %r1,nomonsters
;D_CheckNetGame+112
	ldwzr %r2,fastparm
	ldwzr %r3,respawnparm
	ldwzr %r4,timelimit
;D_CheckNetGame+128
	stw %r1,%sp,44
	stw %r2,%sp,48
	stw %r3,%sp,52
;D_CheckNetGame+144
	stw %r4,%sp,76
	ldafr %r8,.rodata+3024
	callr %r7,M_CheckParm
;D_CheckNetGame+160
	bwlti %r8,1,D_CheckNetGame+192
	ldafr %r8,.rodata+27477
	callr %r7,M_CheckParm
;D_CheckNetGame+176
	cmpweqi %r1,%r8,0
	jmp D_CheckNetGame+208
	nop 0
;D_CheckNetGame+192
	mov %r1,%gz
	nop 0
	nop 0
;D_CheckNetGame+208
	stw %r1,%sp,68
	addi %r7,%sp,28
	mov %r8,%gz
;D_CheckNetGame+224
	callr %r6,D_StartNetGame
	ldwz %r1,%sp,36
	ldwz %r2,%sp,40
;D_CheckNetGame+240
	ldwz %r3,%sp,56
	stwr %r1,deathmatch
	stwr %r2,startepisode
;D_CheckNetGame+256
	stwr %r3,startmap
	ldwz %r1,%sp,60
	ldwz %r2,%sp,80
;D_CheckNetGame+272
	ldwz %r3,%sp,68
	ldwz %r4,%sp,44
	stwr %r1,startskill
;D_CheckNetGame+288
	stwr %r2,startloadgame
	stwr %r3,lowres_turn
	stwr %r4,nomonsters
;D_CheckNetGame+304
	ldwz %r1,%sp,48
	ldwz %r2,%sp,52
	ldwz %r4,%sp,76
;D_CheckNetGame+320
	ldwz %r5,%sp,92
	stwr %r1,fastparm
	stwr %r2,respawnparm
;D_CheckNetGame+336
	stwr %r4,timelimit
	stwr %r5,consoleplayer
	bweq %r3,%gz,D_CheckNetGame+368
;D_CheckNetGame+352
	ldafr %r8,.rodata+27974
	callr %r7,puts
	nop 0
;D_CheckNetGame+368
	mov %r1,%gz
	ldwz %r2,%sp,88
	ldafr %r3,playeringame
;D_CheckNetGame+384
	cmpdltu %r4,%r1,%r2
	stw %r4,%r3,0
	addi %r1,%r1,1
;D_CheckNetGame+400
	addi %r3,%r3,4
	bdnei %r1,4,D_CheckNetGame+384
	ldwzr %r1,startskill
;D_CheckNetGame+416
	ldwzr %r2,deathmatch
	ldwzr %r3,startmap
	ldwzr %r4,startepisode
;D_CheckNetGame+432
	stw %r4,%sp,12
	stw %r3,%sp,8
	stw %r2,%sp,4
;D_CheckNetGame+448
	ldafr %r8,.rodata+12855
	stw %r1,%sp,0
	callr %r7,printf
;D_CheckNetGame+464
	ldwzr %r1,consoleplayer
	addiws %r1,%r1,1
	ldwz %r2,%sp,88
;D_CheckNetGame+480
	stw %r2,%sp,8
	stw %r2,%sp,4
	ldafr %r8,.rodata+14177
;D_CheckNetGame+496
	stw %r1,%sp,0
	callr %r7,printf
	ldwzr %r1,timelimit
;D_CheckNetGame+512
	bwlti %r1,1,D_CheckNetGame+656
	ldwzr %r2,deathmatch
	bweq %r2,%gz,D_CheckNetGame+656
;D_CheckNetGame+528
	bwnei %r1,20,D_CheckNetGame+576
	ldafr %r8,.rodata+3778
	callr %r7,M_CheckParm
;D_CheckNetGame+544
	bweq %r8,%gz,D_CheckNetGame+560
	ldafr %r8,.rodata+14205
	jmp D_CheckNetGame+640
;D_CheckNetGame+560
	ldwzr %r1,timelimit
	nop 0
	nop 0
;D_CheckNetGame+576
	ldafr %r8,.rodata+12216
	stw %r1,%sp,0
	callr %r7,printf
;D_CheckNetGame+592
	ldwzr %r1,timelimit
	ldafr %r8,.rodata+5911
	bwlti %r1,2,D_CheckNetGame+640
;D_CheckNetGame+608
	ldi %r1,115
	mov2 %r2,%r8,%r8,%r1
	callr %r7,putchar
;D_CheckNetGame+624
	mov %r8,%r2
	nop 0
	nop 0
;D_CheckNetGame+640
	callr %r7,puts
	nop 0
	nop 0
;D_CheckNetGame+656
	retf 128
	nop 0
	nop 0
;RunTic
	alloc 16
	mov %r7,%gz
	ldafr %r8,playeringame
;RunTic+16
	ldafr %r3,PlayerQuitGame.exitmsg
	ldafr %r4,.rodata+5931
	ldi %r5,80
;RunTic+32
	ldafr %r9,players+232
	jmp RunTic+80
	nop 0
;RunTic+48
	addi %r7,%r7,1
	addi %r8,%r8,4
	addi %r2,%r2,4
;RunTic+64
	bdeqi %r7,4,RunTic+192
	nop 0
	nop 0
;RunTic+80
	ldwzr %r6,demoplayback
	bwne %r6,%gz,RunTic+48
	ldwz %r6,%r8,0
;RunTic+96
	bweq %r6,%gz,RunTic+48
	ldwz %r6,%r2,0
	bwne %r6,%gz,RunTic+48
;RunTic+112
	mov2 %r13,%r14,%r3,%r4
	mov %r15,%r5
	callr %r12,M_StringCopy
;RunTic+128
	ldbzr %r6,PlayerQuitGame.exitmsg+7
	addws %r6,%r6,%r7
	ldwsr %r10,consoleplayer
;RunTic+144
	ldwzr %r11,demorecording
	stbr %r6,PlayerQuitGame.exitmsg+7
	stw %gz,%r8,0
;RunTic+160
	muli %r6,%r10,328
	stdx.xd %r3,%r6,%r9,0,0
	bweq %r11,%gz,RunTic+48
;RunTic+176
	callr %r14,G_CheckDemoStatus
	jmp RunTic+48
	nop 0
;RunTic+192
	ldwzr %r2,advancedemo
	stdr %r1,netcmds
	bweq %r2,%gz,RunTic+224
;RunTic+208
	callr %r15,D_DoAdvanceDemo
	nop 0
	nop 0
;RunTic+224
	callr %r15,G_Ticker
	retf 0
	nop 0
;putchar
	alloc 7
	ldwzr %r2,__stdout_FILE+140
	bwlt %r2,%gz,putchar+48
;putchar+16
	bweq %r2,%gz,putchar+112
	ldwz %r3,%tp,48
	nop 2
;putchar+32
	andi.l %r2,%r2,1073741823
	bwne %r2,%r3,putchar+112
;putchar+48
	ldwzr %r2,__stdout_FILE+144
	andi %r6,%r1,255
	bweq %r6,%r2,putchar+144
;putchar+64
	lddzr %r2,__stdout_FILE+40
	lddzr %r3,__stdout_FILE+32
	bdeq %r2,%r3,putchar+144
;putchar+80
	addi %r3,%r2,1
	stdr %r3,__stdout_FILE+40
	stb %r1,%r2,0
;putchar+96
	mov %r1,%r6
	retf 0
	nop 0
;putchar+112
	mov %r6,%r1
	callr %r5,locking_putc
	mov %r1,%r6
;putchar+128
	retf 0
	nop 0
	nop 0
;putchar+144
	ldafr %r5,__stdout_FILE
	callr %r4,__overflow
	mov2 %r6,%r1,%r5,%r5
;putchar+160
	retf 0
	nop 0
	nop 0
;locking_putc
	alloc 14
	fence.seq_cst
	nop 2
;locking_putc+16
	ldi.l %r4,1073741823
	ldafr %r3,__stdout_FILE+140
;locking_putc+32
	casw.relaxed %r4,%r3,%gz
	mov %r2,%r1
	bweq %r4,%gz,locking_putc+64
;locking_putc+48
	ldafr %r13,__stdout_FILE
	callr %r12,__lockfile
	nop 0
;locking_putc+64
	ldwzr %r4,__stdout_FILE+144
	andi %r1,%r2,255
	bweq %r1,%r4,locking_putc+128
;locking_putc+80
	lddzr %r4,__stdout_FILE+40
	lddzr %r5,__stdout_FILE+32
	bdeq %r4,%r5,locking_putc+128
;locking_putc+96
	addi %r5,%r4,1
	stdr %r5,__stdout_FILE+40
	stb %r2,%r4,0
;locking_putc+112
	jmp locking_putc+160
	nop 0
	nop 0
;locking_putc+128
	ldafr %r12,__stdout_FILE
	mov %r13,%r1
	callr %r11,__overflow
;locking_putc+144
	mov %r1,%r12
	nop 0
	nop 0
;locking_putc+160
	fence.seq_cst
	swapw.relaxed %r2,%r3,%gz
	bbci %r2,30,locking_putc+256
;locking_putc+176
	ldi %r7,202
	ldafr %r8,__stdout_FILE+140
	ldi %r9,129
;locking_putc+192
	ldi %r10,1
	mov2 %r11,%r12,%gz,%gz
	mov %r13,%gz
;locking_putc+208
	callr %r6,__syscall_postrisc
	bdnei %r7,-38,locking_putc+256
	ldi %r7,202
;locking_putc+224
	ldafr %r8,__stdout_FILE+140
	ldi %r9,1
	mov2 %r10,%r11,%r9,%gz
;locking_putc+240
	mov2 %r12,%r13,%gz,%gz
	callr %r6,__syscall_postrisc
	nop 0
;locking_putc+256
	retf 0
	nop 0
	nop 0
;F_StartFinale
	alloc 17
	ldwzr %r1,gamemission
	stwr %gz,gameaction
;F_StartFinale+16
	ldi %r2,2
	stwr %r2,gamestate
	stwr %gz,viewactive
;F_StartFinale+32
	andi %r1,%r1,-5
	ldi %r2,65
	ldi %r3,31
;F_StartFinale+48
	stwr %gz,automapactive
	cmovweq %r15,%r1,%r3,%r2
	ldi %r1,1
;F_StartFinale+64
	mov %r16,%r1
	callr %r14,S_ChangeMusic
	ldwzr %r3,gamemission
;F_StartFinale+80
	mov %r2,%gz
	cmpweqi %r4,%r3,5
	cmpweqi %r5,%r3,4
;F_StartFinale+96
	cmovlsb %r3,%r4,%r1,%r3
	ldwzr %r1,gameversion
	cmovlsb %r3,%r5,%gz,%r3
;F_StartFinale+112
	ldwzr %r4,gameepisode
	ldwzr %r5,gamemap
	ldafr %r6,textscreens
;F_StartFinale+128
	ldafr %r7,textscreens+8
	ldi %r8,5
	ldafr %r9,textscreens+4
;F_StartFinale+144
	ldafr %r10,textscreens+24
	ldafr %r11,textscreens+16
	jmp F_StartFinale+176
;F_StartFinale+160
	addi %r2,%r2,32
	bdeqi %r2,704,F_StartFinale+288
	nop 0
;F_StartFinale+176
	ldwzx.xd %r12,%r2,%r6,0,0
	bwnei %r1,9,F_StartFinale+208
	bwne %r12,%gz,F_StartFinale+208
;F_StartFinale+192
	stwx.xd %r8,%r2,%r7,0,0
	nop 0
	nop 0
;F_StartFinale+208
	bwne %r3,%r12,F_StartFinale+160
	bwne %r3,%gz,F_StartFinale+240
	ldwzx.xd %r12,%r2,%r9,0,0
;F_StartFinale+224
	bwne %r4,%r12,F_StartFinale+160
	nop 0
	nop 0
;F_StartFinale+240
	ldwzx.xd %r12,%r2,%r7,0,0
	bwne %r5,%r12,F_StartFinale+160
	lddzx.xd %r12,%r2,%r10,0,0
;F_StartFinale+256
	lddzx.xd %r13,%r2,%r11,0,0
	stdr %r12,finaletext
	stdr %r13,finaleflat
;F_StartFinale+272
	jmp F_StartFinale+160
	nop 0
	nop 0
;F_StartFinale+288
	stwr %gz,finalestage
	stwr %gz,finalecount
	retf 0
;F_Responder
	alloc 5
	ldwzr %r2,finalestage
	mov2 %r4,%r1,%r1,%gz
;F_Responder+16
	bwnei %r2,2,F_Responder+32
	callr %r3,F_CastResponder
	mov %r1,%r4
;F_Responder+32
	retf 0
	nop 0
	nop 0
;F_CastResponder
	alloc 11
	ldwz %r2,%r1,0
	mov %r1,%gz
;F_CastResponder+16
	bweq %r2,%gz,F_CastResponder+48
	nop 0
	nop 0
;F_CastResponder+32
	retf 0
	nop 0
	nop 0
;F_CastResponder+48
	ldwzr %r1,castdeath
	bweq %r1,%gz,F_CastResponder+80
	ldi %r1,1
;F_CastResponder+64
	retf 0
	nop 0
	nop 0
;F_CastResponder+80
	ldwsr %r1,castnum
	ldafr %r2,castorder+8
	ldwzx.xd %r1,%r2,%r1,4,0
;F_CastResponder+96
	muli %r2,%r1,92
	ldafr %r1,mobjinfo+48
	ldwsx.xd %r3,%r2,%r1,0,0
;F_CastResponder+112
	ldi %r1,1
	stwr %r1,castdeath
	muli %r4,%r3,40
;F_CastResponder+128
	ldafr %r5,states
	ldi %r6,40
	ldafr %r7,states+8
;F_CastResponder+144
	ldwzx.xd %r4,%r4,%r7,0,0
	muladd %r3,%r3,%r6,%r5
	ldafr %r5,mobjinfo+56
;F_CastResponder+160
	ldwzx.xd %r10,%r2,%r5,0,0
	stdr %r3,caststate
	stwr %r4,casttics
;F_CastResponder+176
	stwr %gz,castframes
	stwr %gz,castattacking
	bweq %r10,%gz,F_CastResponder+32
;F_CastResponder+192
	mov %r9,%gz
	callr %r8,S_StartSound
	retf 0
;F_Ticker
	alloc 8
	ldwzr %r2,gamemode
	ldwzr %r1,finalecount
;F_Ticker+16
	bwnei %r2,2,F_Ticker+256
	bwltui %r1,51,F_Ticker+256
	ldi %r2,17
;F_Ticker+32
	ldafr %r3,players
	nop 0
	nop 0
;F_Ticker+48
	ldbzx.xd %r4,%r2,%r3,0,0
	bwne %r4,%gz,F_Ticker+80
	addi %r2,%r2,328
;F_Ticker+64
	bdnei.l %r2,1329,F_Ticker+48
	jmp F_Ticker+256
;F_Ticker+80
	ldwzr %r2,gamemap
	bwnei %r2,30,F_Ticker+240
	ldwzr %r1,castorder+8
;F_Ticker+96
	muli %r1,%r1,92
	ldafr %r2,mobjinfo+12
	ldwsx.xd %r1,%r1,%r2,0,0
;F_Ticker+112
	ldi %r2,-1
	stwr %r2,wipegamestate
	muli %r2,%r1,40
;F_Ticker+128
	ldafr %r3,states+8
	ldwzx.xd %r2,%r2,%r3,0,0
	stwr %gz,castnum
;F_Ticker+144
	ldafr %r3,states
	ldi %r4,40
	muladd %r1,%r1,%r4,%r3
;F_Ticker+160
	stdr %r1,caststate
	stwr %r2,casttics
	stwr %gz,castdeath
;F_Ticker+176
	ldi %r1,2
	stwr %r1,finalestage
	stwr %gz,castframes
;F_Ticker+192
	stwr %gz,castonmelee
	stwr %gz,castattacking
	ldi %r6,63
;F_Ticker+208
	ldi %r7,1
	callr %r5,S_ChangeMusic
	ldwzr %r1,finalecount
;F_Ticker+224
	jmp F_Ticker+256
	nop 0
	nop 0
;F_Ticker+240
	ldi %r2,8
	stwr %r2,gameaction
	nop 0
;F_Ticker+256
	ldwzr %r2,finalestage
	addiws %r1,%r1,1
	stwr %r1,finalecount
;F_Ticker+272
	bwnei %r2,2,F_Ticker+288
	callr %r7,F_CastTicker
	retf 0
;F_Ticker+288
	bwne %r2,%gz,F_Ticker+384
	ldwzr %r2,gamemode
	bweqi %r2,2,F_Ticker+384
;F_Ticker+304
	srliw %r2,%r1,0
	lddzr %r7,finaletext
	callr %r6,strlen
;F_Ticker+320
	muli %r1,%r7,3
	addi %r1,%r1,250
	bdleu %r2,%r1,F_Ticker+384
;F_Ticker+336
	ldwzr %r1,gameepisode
	stwr %gz,finalecount
	ldi %r2,1
;F_Ticker+352
	stwr %r2,finalestage
	ldi %r2,-1
	stwr %r2,wipegamestate
;F_Ticker+368
	bwnei %r1,3,F_Ticker+384
	ldi %r7,30
	callr %r6,S_StartMusic
;F_Ticker+384
	retf 0
	nop 0
	nop 0
;F_StartCast
	alloc 8
	ldwzr %r1,castorder+8
	muli %r1,%r1,92
;F_StartCast+16
	ldafr %r2,mobjinfo+12
	ldwsx.xd %r1,%r1,%r2,0,0
	ldi %r2,-1
;F_StartCast+32
	stwr %r2,wipegamestate
	muli %r2,%r1,40
	ldafr %r3,states+8
;F_StartCast+48
	ldwzx.xd %r2,%r2,%r3,0,0
	stwr %gz,castnum
	ldafr %r3,states
;F_StartCast+64
	ldi %r4,40
	muladd %r1,%r1,%r4,%r3
	stdr %r1,caststate
;F_StartCast+80
	stwr %r2,casttics
	stwr %gz,castdeath
	ldi %r1,2
;F_StartCast+96
	stwr %r1,finalestage
	stwr %gz,castframes
	stwr %gz,castonmelee
;F_StartCast+112
	stwr %gz,castattacking
	ldi %r6,63
	ldi %r7,1
;F_StartCast+128
	callr %r5,S_ChangeMusic
	retf 0
	nop 0
;F_CastTicker
	alloc 14
	ldwzr %r1,casttics
	addiws %r2,%r1,-1
;F_CastTicker+16
	stwr %r2,casttics
	bwgei %r1,2,F_CastTicker+912
	lddzr %r2,caststate
;F_CastTicker+32
	ldwz %r1,%r2,8
	bweqi %r1,-1,F_CastTicker+160
	ldwz %r1,%r2,24
;F_CastTicker+48
	bweq %r1,%gz,F_CastTicker+160
	ldafr %r3,states+6160
	bdeq %r2,%r3,F_CastTicker+336
;F_CastTicker+64
	ldwzr %r4,castframes
	sraiw %r5,%r1,0
	ldafr %r2,states
;F_CastTicker+80
	ldi %r3,40
	muladd %r5,%r5,%r3,%r2
	stdr %r5,caststate
;F_CastTicker+96
	addiws %r4,%r4,1
	stwr %r4,castframes
	bwgei %r1,454,F_CastTicker+352
;F_CastTicker+112
	bwlti %r1,256,F_CastTicker+432
	addiws %r5,%r1,-336
	bwgeui %r5,84,F_CastTicker+992
;F_CastTicker+128
	addiwz %r1,%r1,-336
	ldafr %r5,.rodata+32680
	jmpt %r5,%r1
;F_CastTicker+144
	ldi %r13,56
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+160
	ldwzr %r1,castnum
	addiws %r1,%r1,1
	ldafr %r2,castorder
;F_CastTicker+176
	lddzx.xw %r2,%r2,%r1,4,0
	stwr %r1,castnum
	stwr %gz,castdeath
;F_CastTicker+192
	bdne %r2,%gz,F_CastTicker+208
	mov %r1,%gz
	stwr %gz,castnum
;F_CastTicker+208
	ldafr %r2,castorder+8
	ldwzx.xw %r3,%r2,%r1,4,0
	muli %r4,%r3,92
;F_CastTicker+224
	ldafr %r5,mobjinfo+16
	ldwzx.xd %r13,%r4,%r5,0,0
	bweq %r13,%gz,F_CastTicker+272
;F_CastTicker+240
	mov %r12,%gz
	callr %r11,S_StartSound
	ldwzr %r1,castnum
;F_CastTicker+256
	ldwzx.xw %r3,%r2,%r1,4,0
	nop 0
	nop 0
;F_CastTicker+272
	muli %r2,%r3,92
	ldafr %r3,mobjinfo+12
	ldwsx.xd %r3,%r2,%r3,0,0
;F_CastTicker+288
	ldwzr %r4,castattacking
	ldafr %r2,states
	ldi %r5,40
;F_CastTicker+304
	muladd %r2,%r3,%r5,%r2
	stdr %r2,caststate
	stwr %gz,castframes
;F_CastTicker+320
	bwne %r4,%gz,F_CastTicker+784
	jmp F_CastTicker+880
	nop 0
;F_CastTicker+336
	ldwzr %r1,castnum
	jmp F_CastTicker+816
	nop 0
;F_CastTicker+352
	bwlti %r1,616,F_CastTicker+400
	addiws %r5,%r1,-685
	bwgeui %r5,26,F_CastTicker+464
;F_CastTicker+368
	addiwz %r1,%r1,-685
	ldafr %r5,.rodata+33016
	jmpt %r5,%r1
;F_CastTicker+384
	ldi %r13,14
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+400
	bwgei %r1,538,F_CastTicker+496
	bweqi %r1,454,F_CastTicker+1008
	bweqi %r1,486,F_CastTicker+1024
;F_CastTicker+416
	bweqi %r1,505,F_CastTicker+528
	jmp F_CastTicker+560
	nop 0
;F_CastTicker+432
	bweqi %r1,154,F_CastTicker+960
	bweqi %r1,185,F_CastTicker+944
	bweqi %r1,218,F_CastTicker+480
;F_CastTicker+448
	jmp F_CastTicker+560
	nop 0
	nop 0
;F_CastTicker+464
	addiws %r5,%r1,-616
	bwgeui %r5,2,F_CastTicker+976
	nop 0
;F_CastTicker+480
	ldi %r13,2
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+496
	bweqi %r1,538,F_CastTicker+528
	bweqi %r1,567,F_CastTicker+528
	bwnei %r1,590,F_CastTicker+560
;F_CastTicker+512
	ldi %r13,51
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+528
	ldi %r13,16
	nop 0
	nop 0
;F_CastTicker+544
	mov %r12,%gz
	callr %r11,S_StartSound
	ldwzr %r4,castframes
;F_CastTicker+560
	ldafr %r5,castorder+8
	bwnei %r4,12,F_CastTicker+720
	ldwsr %r4,castnum
;F_CastTicker+576
	ldwzr %r1,castonmelee
	ldwzx.xd %r4,%r5,%r4,4,0
	ldi %r6,44
;F_CastTicker+592
	srliw %r4,%r4,0
	cmovweq %r8,%r1,%r6,%r3
	ldi %r7,92
;F_CastTicker+608
	muladd %r9,%r4,%r7,%r8
	ldafr %r8,mobjinfo
	ldwsx.xd %r9,%r9,%r8,0,0
;F_CastTicker+624
	ldi %r10,1
	stwr %r10,castattacking
	muladd %r10,%r9,%r3,%r2
;F_CastTicker+640
	stdr %r10,caststate
	xori %r10,%r1,1
	stwr %r10,castonmelee
;F_CastTicker+656
	bdne %r9,%gz,F_CastTicker+704
	cmpweqi %r1,%r1,1
	cmovlsb %r1,%r1,%r6,%r3
;F_CastTicker+672
	muladd %r1,%r4,%r7,%r1
	ldwsx.xd %r1,%r1,%r8,0,0
	muladd %r1,%r1,%r3,%r2
;F_CastTicker+688
	stdr %r1,caststate
	nop 0
	nop 0
;F_CastTicker+704
	ldwzr %r1,castnum
	jmp F_CastTicker+752
	nop 0
;F_CastTicker+720
	ldwzr %r1,castattacking
	bweq %r1,%gz,F_CastTicker+928
	ldwzr %r1,castnum
;F_CastTicker+736
	bweqi %r4,24,F_CastTicker+816
	nop 0
	nop 0
;F_CastTicker+752
	ldwzx.xw %r3,%r5,%r1,4,0
	lddzr %r2,caststate
	muli %r3,%r3,92
;F_CastTicker+768
	ldafr %r4,mobjinfo+12
	ldwsx.xd %r3,%r3,%r4,0,0
	nop 0
;F_CastTicker+784
	ldafr %r4,states
	ldi %r5,40
	muladd %r3,%r3,%r5,%r4
;F_CastTicker+800
	bdne %r2,%r3,F_CastTicker+880
	nop 0
	nop 0
;F_CastTicker+816
	ldafr %r2,castorder+8
	ldwzx.xw %r1,%r2,%r1,4,0
	muli %r1,%r1,92
;F_CastTicker+832
	ldafr %r2,mobjinfo+12
	ldwsx.xd %r1,%r1,%r2,0,0
	stwr %gz,castattacking
;F_CastTicker+848
	stwr %gz,castframes
	ldafr %r2,states
	ldi %r3,40
;F_CastTicker+864
	muladd %r2,%r1,%r3,%r2
	stdr %r2,caststate
	nop 0
;F_CastTicker+880
	ldwz %r1,%r2,8
	cmpweqi %r2,%r1,-1
	ldi %r3,15
;F_CastTicker+896
	cmovlsb %r1,%r2,%r3,%r1
	stwr %r1,casttics
	nop 0
;F_CastTicker+912
	retf 0
	nop 0
	nop 0
;F_CastTicker+928
	lddzr %r2,caststate
	jmp F_CastTicker+880
	nop 0
;F_CastTicker+944
	ldi %r13,1
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+960
	ldi %r13,4
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+976
	bwnei %r1,648,F_CastTicker+560
	ldi %r13,8
	jmp F_CastTicker+544
;F_CastTicker+992
	bwnei %r1,256,F_CastTicker+560
	ldi %r13,54
	jmp F_CastTicker+544
;F_CastTicker+1008
	ldi %r13,55
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+1024
	ldi %r13,52
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+1040
	ldi %r13,53
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+1056
	ldi %r13,107
	jmp F_CastTicker+544
	nop 0
;F_TextWrite
	alloc 13
	lddzr %r11,finaleflat
	ldi %r12,8
;F_TextWrite+16
	callr %r10,W_CacheLumpName
	mov2 %r1,%r4,%r11,%gz
	lddzr %r2,I_VideoBuffer
;F_TextWrite+32
	ldi %r3,64
	nop 0
	nop 0
;F_TextWrite+48
	mov2 %r5,%r6,%gz,%r4
	slliw %r4,%r4,6
	andi %r4,%r4,4032
;F_TextWrite+64
	ldax.xuw %r4,%r1,%r4,0,0
	nop 0
	nop 0
;F_TextWrite+80
	mov2 %r7,%r10,%r5,%r2
	mov2 %r11,%r12,%r4,%r3
	callr %r9,memcpy
;F_TextWrite+96
	addi %r2,%r2,64
	addiws %r5,%r5,1
	bwltui %r7,4,F_TextWrite+80
;F_TextWrite+112
	addiws %r4,%r6,1
	bwltui %r6,199,F_TextWrite+48
	ldi %r11,320
;F_TextWrite+128
	ldi %r12,200
	mov2 %r9,%r10,%gz,%gz
	callr %r8,V_MarkRect
;F_TextWrite+144
	ldwzr %r1,finalecount
	bwgei %r1,13,F_TextWrite+176
	nop 0
;F_TextWrite+160
	retf 0
	nop 0
	nop 0
;F_TextWrite+176
	addiwz %r1,%r1,-10
	muli.l %r1,%r1,2863311531
;F_TextWrite+192
	srli %r3,%r1,33
	ldi %r4,10
	lddzr %r5,finaletext
;F_TextWrite+208
	ldafr %r6,hu_font
	mov2 %r1,%r10,%r4,%r4
	jmp F_TextWrite+272
;F_TextWrite+224
	addiws %r1,%r1,11
	mov %r7,%r4
	nop 0
;F_TextWrite+240
	addiws %r3,%r3,-1
	addi %r5,%r5,1
	mov %r10,%r7
;F_TextWrite+256
	bweq %r3,%gz,F_TextWrite+160
	nop 0
	nop 0
;F_TextWrite+272
	ldbz %r2,%r5,0
	bweqi %r2,10,F_TextWrite+224
	bweq %r2,%gz,F_TextWrite+160
;F_TextWrite+288
	slsrai %r12,%r2,56,56
	callr %r11,toupper
	addiws %r2,%r12,-97
;F_TextWrite+304
	bwgeui.l %r2,1099511627712,F_TextWrite+336
	addiws %r7,%r10,4
;F_TextWrite+320
	jmp F_TextWrite+240
	nop 0
	nop 0
;F_TextWrite+336
	addiws %r2,%r12,-33
	lddzx.xuw %r12,%r6,%r2,3,0
	ldbs %r2,%r12,1
;F_TextWrite+352
	ldbz %r7,%r12,0
	slor %r2,%r7,%r2,8
	addws %r7,%r10,%r2
;F_TextWrite+368
	bwgei %r7,321,F_TextWrite+160
	mov %r11,%r1
	callr %r9,V_DrawPatch
;F_TextWrite+384
	jmp F_TextWrite+240
	nop 0
	nop 0
;F_CastPrint
	alloc 12
	bdeq %r1,%gz,F_CastPrint+352
	ldbz %r2,%r1,0
;F_CastPrint+16
	ldafr %r4,hu_font
	bweq %r2,%gz,F_CastPrint+192
	mov %r3,%gz
;F_CastPrint+32
	addi %r5,%r1,1
	ldi %r6,4
	jmp F_CastPrint+80
;F_CastPrint+48
	ldbz %r2,%r5,0
	addws %r3,%r3,%r7
	addi %r5,%r5,1
;F_CastPrint+64
	bweq %r2,%gz,F_CastPrint+144
	nop 0
	nop 0
;F_CastPrint+80
	slsrai %r11,%r2,56,56
	callr %r10,toupper
	addiws %r2,%r11,-97
;F_CastPrint+96
	mov %r7,%r6
	bwltui.l %r2,1099511627712,F_CastPrint+48
;F_CastPrint+112
	addiws %r2,%r11,-33
	lddzx.xuw %r2,%r4,%r2,3,0
	ldbs %r7,%r2,1
;F_CastPrint+128
	ldbz %r2,%r2,0
	slor %r7,%r2,%r7,8
	jmp F_CastPrint+48
;F_CastPrint+144
	srliw %r2,%r3,31
	addws %r2,%r3,%r2
	sraiw %r2,%r2,1
;F_CastPrint+160
	subfiws %r2,%r2,160
	ldbz %r3,%r1,0
	bwne %r3,%gz,F_CastPrint+208
;F_CastPrint+176
	jmp F_CastPrint+352
	nop 0
	nop 0
;F_CastPrint+192
	ldi %r2,160
	ldbz %r3,%r1,0
	bweq %r3,%gz,F_CastPrint+352
;F_CastPrint+208
	addi %r5,%r1,1
	ldi %r6,4
	ldi %r1,180
;F_CastPrint+224
	jmp F_CastPrint+272
	nop 0
	nop 0
;F_CastPrint+240
	ldbz %r3,%r5,0
	addws %r2,%r2,%r7
	addi %r5,%r5,1
;F_CastPrint+256
	bweq %r3,%gz,F_CastPrint+352
	nop 0
	nop 0
;F_CastPrint+272
	slsrai %r11,%r3,56,56
	callr %r10,toupper
	addiws %r3,%r11,-97
;F_CastPrint+288
	mov %r7,%r6
	bwltui.l %r3,1099511627712,F_CastPrint+240
;F_CastPrint+304
	addiws %r3,%r11,-33
	lddzx.xuw %r11,%r4,%r3,3,0
	ldbs %r3,%r11,1
;F_CastPrint+320
	ldbz %r7,%r11,0
	slor %r7,%r7,%r3,8
	mov2 %r9,%r10,%r2,%r1
;F_CastPrint+336
	callr %r8,V_DrawPatch
	jmp F_CastPrint+240
	nop 0
;F_CastPrint+352
	retf 0
	nop 0
	nop 0
;F_CastDrawer
	alloc 10
	ldafr %r8,.rodata+12918
	ldi %r1,8
;F_CastDrawer+16
	mov %r9,%r1
	callr %r7,W_CacheLumpName
	mov2 %r9,%r7,%r8,%gz
;F_CastDrawer+32
	mov %r8,%gz
	callr %r6,V_DrawPatch
	ldwsr %r2,castnum
;F_CastDrawer+48
	ldafr %r3,castorder
	lddzx.xd %r9,%r3,%r2,4,0
	callr %r8,F_CastPrint
;F_CastDrawer+64
	lddzr %r2,caststate
	lddzr %r3,sprites
	ldwz %r4,%r2,0
;F_CastDrawer+80
	ldwz %r2,%r2,4
	lddzx.xd %r3,%r3,%r4,4,8
	andi %r2,%r2,32767
;F_CastDrawer+96
	muli %r2,%r2,28
	ldhsx.xd %r4,%r3,%r2,0,4
	ldwzr %r5,firstspritelump
;F_CastDrawer+112
	ldbzx.xd %r2,%r3,%r2,0,20
	addws %r8,%r5,%r4
	mov %r9,%r1
;F_CastDrawer+128
	callr %r7,W_CacheLumpNum
	mov %r9,%r8
	ldi %r7,160
;F_CastDrawer+144
	ldi %r8,170
	bweq %r2,%gz,F_CastDrawer+176
	callr %r6,V_DrawPatchFlipped
;F_CastDrawer+160
	retf 0
	nop 0
	nop 0
;F_CastDrawer+176
	callr %r6,V_DrawPatch
	retf 0
	nop 0
;F_DrawPatchCol
	alloc 8
	ldbzx.xw %r4,%r2,%r3,2,9
	ldbzx.xw %r5,%r2,%r3,2,8
;F_DrawPatchCol+16
	ldbsx.xw %r6,%r2,%r3,2,11
	ldbzx.xw %r3,%r2,%r3,2,10
	lddzr %r7,I_VideoBuffer
;F_DrawPatchCol+32
	slli %r6,%r6,24
	slor %r4,%r5,%r4,8
	slor %r3,%r6,%r3,16
;F_DrawPatchCol+48
	or %r3,%r3,%r4
	ldax.xw %r1,%r7,%r1,0,0
	ldbzx.xd %r5,%r2,%r3,0,0
;F_DrawPatchCol+64
	bweqi %r5,255,F_DrawPatchCol+224
	add %r3,%r2,%r3
	ldi %r2,320
;F_DrawPatchCol+80
	jmp F_DrawPatchCol+144
	nop 0
	nop 0
;F_DrawPatchCol+96
	mov %r4,%gz
	nop 0
	nop 0
;F_DrawPatchCol+112
	ldax.xd %r6,%r3,%r4,0,4
	ldbzx.xd %r5,%r3,%r4,0,4
	mov %r3,%r6
;F_DrawPatchCol+128
	bweqi %r5,255,F_DrawPatchCol+224
	nop 0
	nop 0
;F_DrawPatchCol+144
	ldbz %r4,%r3,1
	bweq %r4,%gz,F_DrawPatchCol+96
	andi %r5,%r5,255
;F_DrawPatchCol+160
	muladd %r5,%r5,%r2,%r1
	addi %r6,%r3,3
	nop 0
;F_DrawPatchCol+176
	ldbz %r7,%r6,0
	addiws %r4,%r4,-1
	addi %r6,%r6,1
;F_DrawPatchCol+192
	stb %r7,%r5,0
	addi %r5,%r5,320
	bwne %r4,%gz,F_DrawPatchCol+176
;F_DrawPatchCol+208
	ldbz %r4,%r3,1
	jmp F_DrawPatchCol+112
	nop 0
;F_DrawPatchCol+224
	retf 0
	nop 0
	nop 0
;F_BunnyScroll
	allocsp 20,32
	ldafr %r18,.rodata+22288
	ldi %r2,5
;F_BunnyScroll+16
	mov %r19,%r2
	callr %r17,W_CacheLumpName
	mov %r1,%r18
;F_BunnyScroll+32
	ldafr %r18,.rodata+7765
	mov %r19,%r2
	callr %r17,W_CacheLumpName
;F_BunnyScroll+48
	mov %r2,%r18
	ldi %r3,320
	ldi %r19,200
;F_BunnyScroll+64
	mov2 %r16,%r17,%gz,%gz
	mov %r18,%r3
	callr %r15,V_MarkRect
;F_BunnyScroll+80
	ldwzr %r5,finalecount
	mov %r4,%gz
	addiws %r5,%r5,-230
;F_BunnyScroll+96
	srliw %r6,%r5,31
	addws %r5,%r5,%r6
	sraiw %r5,%r5,1
;F_BunnyScroll+112
	subfiws %r5,%r5,0
	minsw %r5,%r5,%gz
	ldi %r6,-320
;F_BunnyScroll+128
	maxsw %r8,%r5,%r6
	addi %r5,%r2,8
	addi %r6,%r1,8
;F_BunnyScroll+144
	sraiw %r7,%r8,0
	addiwz %r8,%r8,320
	jmp F_BunnyScroll+176
;F_BunnyScroll+160
	addi %r4,%r4,1
	bdeqi %r4,320,F_BunnyScroll+592
	nop 0
;F_BunnyScroll+176
	add %r9,%r4,%r8
	bdgeui %r9,320,F_BunnyScroll+384
	ldbzx.xd %r10,%r6,%r9,2,1
;F_BunnyScroll+192
	ldbzx.xd %r11,%r6,%r9,2,0
	ldbsx.xd %r12,%r6,%r9,2,3
	ldbzx.xd %r9,%r6,%r9,2,2
;F_BunnyScroll+208
	slli %r12,%r12,24
	slor %r10,%r11,%r10,8
	slor %r9,%r12,%r9,16
;F_BunnyScroll+224
	or %r9,%r9,%r10
	ldbzx.xd %r12,%r1,%r9,0,0
	bweqi %r12,255,F_BunnyScroll+160
;F_BunnyScroll+240
	add %r10,%r1,%r9
	lddzr %r9,I_VideoBuffer
	jmp F_BunnyScroll+304
;F_BunnyScroll+256
	mov %r11,%gz
	nop 0
	nop 0
;F_BunnyScroll+272
	ldax.xd %r13,%r10,%r11,0,4
	ldbzx.xd %r12,%r10,%r11,0,4
	mov %r10,%r13
;F_BunnyScroll+288
	bweqi %r12,255,F_BunnyScroll+160
	nop 0
	nop 0
;F_BunnyScroll+304
	ldbz %r11,%r10,1
	bweq %r11,%gz,F_BunnyScroll+256
	andi %r12,%r12,255
;F_BunnyScroll+320
	addi %r13,%r10,3
	muladd %r12,%r12,%r3,%r9
	nop 0
;F_BunnyScroll+336
	ldbz %r14,%r13,0
	addiws %r11,%r11,-1
	addi %r13,%r13,1
;F_BunnyScroll+352
	stbx.xd %r14,%r12,%r4,0,0
	addi %r12,%r12,320
	bwne %r11,%gz,F_BunnyScroll+336
;F_BunnyScroll+368
	ldbz %r11,%r10,1
	jmp F_BunnyScroll+272
	nop 0
;F_BunnyScroll+384
	add %r9,%r4,%r7
	ldbzx.xd %r10,%r5,%r9,2,1
	ldbzx.xd %r11,%r5,%r9,2,0
;F_BunnyScroll+400
	ldbsx.xd %r12,%r5,%r9,2,3
	ldbzx.xd %r9,%r5,%r9,2,2
	slli %r12,%r12,24
;F_BunnyScroll+416
	slor %r10,%r11,%r10,8
	slor %r9,%r12,%r9,16
	or %r9,%r9,%r10
;F_BunnyScroll+432
	ldbzx.xd %r12,%r2,%r9,0,0
	bweqi %r12,255,F_BunnyScroll+160
	add %r10,%r2,%r9
;F_BunnyScroll+448
	lddzr %r9,I_VideoBuffer
	jmp F_BunnyScroll+512
	nop 0
;F_BunnyScroll+464
	mov %r11,%gz
	nop 0
	nop 0
;F_BunnyScroll+480
	ldax.xd %r13,%r10,%r11,0,4
	ldbzx.xd %r12,%r10,%r11,0,4
	mov %r10,%r13
;F_BunnyScroll+496
	bweqi %r12,255,F_BunnyScroll+160
	nop 0
	nop 0
;F_BunnyScroll+512
	ldbz %r11,%r10,1
	bweq %r11,%gz,F_BunnyScroll+464
	andi %r12,%r12,255
;F_BunnyScroll+528
	addi %r13,%r10,3
	muladd %r12,%r12,%r3,%r9
	nop 0
;F_BunnyScroll+544
	ldbz %r14,%r13,0
	addiws %r11,%r11,-1
	addi %r13,%r13,1
;F_BunnyScroll+560
	stbx.xd %r14,%r12,%r4,0,0
	addi %r12,%r12,320
	bwne %r11,%gz,F_BunnyScroll+544
;F_BunnyScroll+576
	ldbz %r11,%r10,1
	jmp F_BunnyScroll+480
	nop 0
;F_BunnyScroll+592
	ldwzr %r1,finalecount
	bwltui %r1,1130,F_BunnyScroll+816
	bwgeui %r1,1180,F_BunnyScroll+656
;F_BunnyScroll+608
	ldafr %r18,.rodata+21381
	ldi %r19,8
	callr %r17,W_CacheLumpName
;F_BunnyScroll+624
	mov %r19,%r18
	ldi %r17,108
	ldi %r18,68
;F_BunnyScroll+640
	callr %r16,V_DrawPatch
	stwr %gz,F_BunnyScroll.laststage
	retf 32
;F_BunnyScroll+656
	addiwz %r1,%r1,-1180
	ldwzr %r3,F_BunnyScroll.laststage
	nop 2
;F_BunnyScroll+672
	muli.l %r1,%r1,3435973837
	srli %r1,%r1,34
;F_BunnyScroll+688
	ldi %r2,6
	minuw %r2,%r1,%r2
	bwle %r2,%r3,F_BunnyScroll+736
;F_BunnyScroll+704
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;F_BunnyScroll+720
	stwr %r2,F_BunnyScroll.laststage
	nop 0
	nop 0
;F_BunnyScroll+736
	ldafr %r19,.rodata+20343
	addi %r1,%sp,22
	ldi %r18,10
;F_BunnyScroll+752
	stw %r2,%sp,0
	mov %r17,%r1
	callr %r16,snprintf
;F_BunnyScroll+768
	ldi %r19,8
	mov %r18,%r1
	callr %r17,W_CacheLumpName
;F_BunnyScroll+784
	mov %r19,%r18
	ldi %r17,108
	ldi %r18,68
;F_BunnyScroll+800
	callr %r16,V_DrawPatch
	nop 0
	nop 0
;F_BunnyScroll+816
	retf 32
	nop 0
	nop 0
;F_Drawer
	alloc 8
	ldwzr %r1,finalestage
	bweq %r1,%gz,F_Drawer+128
;F_Drawer+16
	bweqi %r1,1,F_Drawer+48
	bwnei %r1,2,F_Drawer+208
	callr %r7,F_CastDrawer
;F_Drawer+32
	retf 0
	nop 0
	nop 0
;F_Drawer+48
	ldwzr %r1,gameepisode
	addiws %r2,%r1,-1
	bwgeui %r2,4,F_Drawer+208
;F_Drawer+64
	addiwz %r1,%r1,-1
	ldafr %r2,.rodata+33120
	ldafr %r6,.rodata+2458
;F_Drawer+80
	jmpt %r2,%r1
	nop 0
	nop 0
;F_Drawer+96
	ldwzr %r1,gamemode
	cmpweqi %r1,%r1,3
	ldafr %r2,.rodata+11065
;F_Drawer+112
	ldafr %r3,.rodata+10578
	cmovlsb %r6,%r1,%r3,%r2
	jmp F_Drawer+176
;F_Drawer+128
	callr %r7,F_TextWrite
	retf 0
	nop 0
;F_Drawer+144
	callr %r7,F_BunnyScroll
	retf 0
	nop 0
;F_Drawer+160
	ldafr %r6,.rodata+3828
	nop 0
	nop 0
;F_Drawer+176
	ldi %r7,8
	callr %r5,W_CacheLumpName
	mov2 %r7,%r5,%r6,%gz
;F_Drawer+192
	mov %r6,%gz
	callr %r4,V_DrawPatch
	nop 0
;F_Drawer+208
	retf 0
	nop 0
	nop 0
;toupper
	alloc 4
	addiws %r2,%r1,-97
	cmpwltui %r2,%r2,26
;toupper+16
	andi %r3,%r1,95
	cmovlsb %r1,%r2,%r3,%r1
	retf 0
;__toupper_l
	alloc 4
	addiws %r2,%r1,-97
	cmpwltui %r2,%r2,26
;__toupper_l+16
	andi %r3,%r1,95
	cmovlsb %r1,%r2,%r3,%r1
	retf 0
;wipe_shittyColMajorXform
	alloc 20
	mulws %r4,%r2,%r3
	slliw %r5,%r4,1
;wipe_shittyColMajorXform+16
	ldi %r18,1
	mov2 %r17,%r19,%r5,%gz
	callr %r16,Z_Malloc
;wipe_shittyColMajorXform+32
	mov %r4,%r17
	bwlti %r3,1,wipe_shittyColMajorXform+176
	mov %r6,%gz
;wipe_shittyColMajorXform+48
	srliw %r3,%r3,0
	srliw %r7,%r2,0
	slli %r8,%r7,1
;wipe_shittyColMajorXform+64
	slli %r9,%r3,1
	mov2 %r10,%r11,%r4,%r1
	jmp wipe_shittyColMajorXform+112
;wipe_shittyColMajorXform+80
	addi %r6,%r6,1
	add %r11,%r11,%r8
	addi %r10,%r10,2
;wipe_shittyColMajorXform+96
	bdeq %r6,%r3,wipe_shittyColMajorXform+176
	nop 0
	nop 0
;wipe_shittyColMajorXform+112
	bwlti %r2,1,wipe_shittyColMajorXform+80
	mov2 %r12,%r13,%r7,%r10
	mov %r14,%r11
;wipe_shittyColMajorXform+128
	ldhz %r15,%r14,0
	sth %r15,%r13,0
	addi %r14,%r14,2
;wipe_shittyColMajorXform+144
	addi %r12,%r12,-1
	add %r13,%r13,%r9
	bdne %r12,%gz,wipe_shittyColMajorXform+128
;wipe_shittyColMajorXform+160
	jmp wipe_shittyColMajorXform+80
	nop 0
	nop 0
;wipe_shittyColMajorXform+176
	sraiw %r19,%r5,0
	mov2 %r17,%r18,%r1,%r4
	callr %r16,memcpy
;wipe_shittyColMajorXform+192
	mov %r19,%r4
	callr %r18,Z_Free
	retf 0
;wipe_initColorXForm
	alloc 7
	lddzr %r4,wipe_scr
	lddzr %r5,wipe_scr_start
;wipe_initColorXForm+16
	mulws %r6,%r2,%r1
	callr %r3,memcpy
	mov %r1,%gz
;wipe_initColorXForm+32
	retf 0
	nop 0
	nop 0
;wipe_doColorXForm
	alloc 9
	mulws %r1,%r2,%r1
	bweq %r1,%gz,wipe_doColorXForm+176
;wipe_doColorXForm+16
	mov %r6,%gz
	lddzr %r2,wipe_scr
	lddzr %r4,wipe_scr_end
;wipe_doColorXForm+32
	ldi %r5,1
	jmp wipe_doColorXForm+112
	nop 0
;wipe_doColorXForm+48
	subws %r6,%r8,%r3
	maxsw %r6,%r6,%r7
	nop 0
;wipe_doColorXForm+64
	stb %r6,%r2,0
	mov %r6,%r5
	nop 0
;wipe_doColorXForm+80
	addi %r2,%r2,1
	addi %r1,%r1,-1
	addi %r4,%r4,1
;wipe_doColorXForm+96
	bdeq %r1,%gz,wipe_doColorXForm+160
	nop 0
	nop 0
;wipe_doColorXForm+112
	ldbz %r8,%r2,0
	ldbz %r7,%r4,0
	bweq %r8,%r7,wipe_doColorXForm+80
;wipe_doColorXForm+128
	bwltu %r7,%r8,wipe_doColorXForm+48
	bwleu %r7,%r8,wipe_doColorXForm+80
	addws %r6,%r3,%r8
;wipe_doColorXForm+144
	minsw %r6,%r6,%r7
	jmp wipe_doColorXForm+64
	nop 0
;wipe_doColorXForm+160
	cmpweqi %r1,%r6,0
	retf 0
	nop 0
;wipe_doColorXForm+176
	ldi %r1,1
	retf 0
	nop 0
;wipe_exitColorXForm
	alloc 2
	mov %r1,%gz
	retf 0
;wipe_initMelt
	alloc 13
	lddzr %r10,wipe_scr
	lddzr %r3,wipe_scr_start
;wipe_initMelt+16
	mulws %r12,%r2,%r1
	mov %r11,%r3
	callr %r9,memcpy
;wipe_initMelt+32
	srliw %r4,%r1,31
	addws %r4,%r1,%r4
	sraiw %r4,%r4,1
;wipe_initMelt+48
	mov2 %r10,%r11,%r3,%r4
	mov %r12,%r2
	callr %r9,wipe_shittyColMajorXform
;wipe_initMelt+64
	lddzr %r10,wipe_scr_end
	mov2 %r11,%r12,%r4,%r2
	callr %r9,wipe_shittyColMajorXform
;wipe_initMelt+80
	slliw %r10,%r1,2
	ldi %r11,1
	mov %r12,%gz
;wipe_initMelt+96
	callr %r9,Z_Malloc
	stdr %r10,y
	callr %r11,M_Random
;wipe_initMelt+112
	sraiw %r2,%r12,31
	srliw %r2,%r2,28
	lddzr %r3,y
;wipe_initMelt+128
	addws %r2,%r12,%r2
	andi %r2,%r2,-16
	subws %r2,%r2,%r12
;wipe_initMelt+144
	stw %r2,%r3,0
	bwlti %r1,2,wipe_initMelt+336
	mov %r2,%gz
;wipe_initMelt+160
	ldi %r3,-4
	ldax.xuw %r3,%r3,%r1,2,0
	ldi %r4,-15
;wipe_initMelt+176
	jmp wipe_initMelt+224
	nop 0
	nop 0
;wipe_initMelt+192
	add %r5,%r5,%r2
	stw %r1,%r5,4
	nop 0
;wipe_initMelt+208
	addi %r2,%r2,4
	bdeq %r3,%r2,wipe_initMelt+336
	nop 0
;wipe_initMelt+224
	callr %r11,M_Random
	mov %r1,%gz
	sraiw %r6,%r12,0
;wipe_initMelt+240
	lddzr %r5,y
	muli.l %r6,%r6,1431655766
;wipe_initMelt+256
	srli %r7,%r6,63
	srli %r6,%r6,32
	ldwzx.xd %r8,%r5,%r2,0,0
;wipe_initMelt+272
	addws %r6,%r6,%r7
	mulwsi %r6,%r6,3
	subws %r6,%r12,%r6
;wipe_initMelt+288
	addws %r6,%r6,%r8
	addiws %r6,%r6,-1
	stwx.xd %r6,%r5,%r2,0,4
;wipe_initMelt+304
	bwlt %gz,%r6,wipe_initMelt+192
	mov %r1,%r4
	bweqi %r6,-16,wipe_initMelt+192
;wipe_initMelt+320
	jmp wipe_initMelt+208
	nop 0
	nop 0
;wipe_initMelt+336
	mov %r1,%gz
	retf 0
	nop 0
;wipe_doMelt
	alloc 24
	bweq %r3,%gz,wipe_doMelt+416
	srliw %r4,%r1,31
;wipe_doMelt+16
	addws %r4,%r1,%r4
	sraiw %r5,%r4,1
	lddzr %r6,y
;wipe_doMelt+32
	lddzr %r7,wipe_scr_end
	lddzr %r8,wipe_scr
	lddzr %r9,wipe_scr_start
;wipe_doMelt+48
	srliw %r10,%r5,0
	sraiw %r11,%r2,0
	slli %r12,%r10,1
;wipe_doMelt+64
	ldi %r4,1
	ldi %r13,8
	jmp wipe_doMelt+96
;wipe_doMelt+80
	addiws %r3,%r3,-1
	bweq %r3,%gz,wipe_doMelt+432
	nop 0
;wipe_doMelt+96
	bwlti %r1,2,wipe_doMelt+80
	mov2 %r14,%r15,%gz,%gz
	mov %r16,%r8
;wipe_doMelt+112
	jmp wipe_doMelt+176
	nop 0
	nop 0
;wipe_doMelt+128
	mov %r4,%gz
	addiws %r18,%r18,1
	stw %r18,%r17,0
;wipe_doMelt+144
	addi %r15,%r15,1
	addiws %r14,%r14,1
	addi %r16,%r16,2
;wipe_doMelt+160
	bdeq %r15,%r10,wipe_doMelt+80
	nop 0
	nop 0
;wipe_doMelt+176
	ldwzx.xd %r18,%r6,%r15,2,0
	sladd %r17,%r6,%r15,2
	bwlti %r18,0,wipe_doMelt+128
;wipe_doMelt+192
	bwle %r2,%r18,wipe_doMelt+144
	cmpwltui %r4,%r18,16
	addiws %r19,%r18,1
;wipe_doMelt+208
	cmovlsb %r4,%r4,%r19,%r13
	addws %r19,%r4,%r18
	cmpwltu %r19,%r19,%r2
;wipe_doMelt+224
	subws %r20,%r2,%r18
	cmovlsb %r19,%r19,%r4,%r20
	mul %r4,%r15,%r11
;wipe_doMelt+240
	bweq %r19,%gz,wipe_doMelt+320
	mulws %r20,%r18,%r5
	sladd %r21,%r7,%r4,1
;wipe_doMelt+256
	ldax.xuw %r21,%r21,%r18,1,0
	addws %r20,%r14,%r20
	ldax.xuw %r20,%r8,%r20,1,0
;wipe_doMelt+272
	mov %r22,%r19
	nop 0
	nop 0
;wipe_doMelt+288
	ldhz %r23,%r21,0
	addi %r21,%r21,2
	sth %r23,%r20,0
;wipe_doMelt+304
	addiws %r22,%r22,-1
	add %r20,%r20,%r12
	bwne %r22,%gz,wipe_doMelt+288
;wipe_doMelt+320
	addws %r19,%r19,%r18
	subws %r18,%r2,%r19
	stw %r19,%r17,0
;wipe_doMelt+336
	bweq %r18,%gz,wipe_doMelt+400
	mulws %r19,%r19,%r5
	sladd %r17,%r9,%r4,1
;wipe_doMelt+352
	sladd %r4,%r16,%r19,1
	nop 0
	nop 0
;wipe_doMelt+368
	ldhz %r19,%r17,0
	addi %r17,%r17,2
	sth %r19,%r4,0
;wipe_doMelt+384
	addiws %r18,%r18,-1
	add %r4,%r4,%r12
	bwne %r18,%gz,wipe_doMelt+368
;wipe_doMelt+400
	mov %r4,%gz
	jmp wipe_doMelt+144
	nop 0
;wipe_doMelt+416
	ldi %r4,1
	nop 0
	nop 0
;wipe_doMelt+432
	mov %r1,%r4
	retf 0
	nop 0
;wipe_exitMelt
	alloc 4
	lddzr %r3,y
	callr %r2,Z_Free
;wipe_exitMelt+16
	lddzr %r3,wipe_scr_start
	callr %r2,Z_Free
	lddzr %r3,wipe_scr_end
;wipe_exitMelt+32
	callr %r2,Z_Free
	mov %r1,%gz
	retf 0
;wipe_StartScreen
	alloc 6
	ldi %r3,64000
	ldi %r4,1
;wipe_StartScreen+16
	mov %r5,%gz
	callr %r2,Z_Malloc
	stdr %r3,wipe_scr_start
;wipe_StartScreen+32
	mov %r5,%r3
	callr %r4,I_ReadScreen
	mov %r1,%gz
;wipe_StartScreen+48
	retf 0
	nop 0
	nop 0
;wipe_EndScreen
	alloc 11
	ldi %r8,64000
	ldi %r9,1
;wipe_EndScreen+16
	mov %r10,%gz
	callr %r7,Z_Malloc
	stdr %r8,wipe_scr_end
;wipe_EndScreen+32
	mov %r10,%r8
	callr %r9,I_ReadScreen
	lddzr %r10,wipe_scr_start
;wipe_EndScreen+48
	mov2 %r6,%r7,%r1,%r2
	mov2 %r8,%r9,%r3,%r4
	callr %r5,V_DrawBlock
;wipe_EndScreen+64
	mov %r1,%gz
	retf 0
	nop 0
;wipe_ScreenWipe
	alloc 12
	ldbzr %r2,go
	bbci %r2,0,wipe_ScreenWipe+32
;wipe_ScreenWipe+16
	mulwsi %r2,%r1,3
	jmp wipe_ScreenWipe+96
	nop 0
;wipe_ScreenWipe+32
	lddzr %r2,I_VideoBuffer
	ldi %r3,1
	stbr %r3,go
;wipe_ScreenWipe+48
	stdr %r2,wipe_scr
	mulwsi %r2,%r1,3
	ldafr %r1,wipe_ScreenWipe.wipes
;wipe_ScreenWipe+64
	ldax.xw %r1,%r1,%r2,3,0
	mov2 %r9,%r10,%r4,%r5
	mov %r11,%r6
;wipe_ScreenWipe+80
	callmi %r8,%r1,0
	nop 0
	nop 0
;wipe_ScreenWipe+96
	mov2 %r8,%r9,%gz,%gz
	mov2 %r10,%r11,%r4,%r5
	callr %r7,V_MarkRect
;wipe_ScreenWipe+112
	ldafr %r1,wipe_ScreenWipe.wipes+8
	ldax.xw %r1,%r1,%r2,3,0
	mov2 %r9,%r10,%r4,%r5
;wipe_ScreenWipe+128
	mov %r11,%r6
	callmi %r8,%r1,0
	bweq %r9,%gz,wipe_ScreenWipe+176
;wipe_ScreenWipe+144
	stbr %gz,go
	ldafr %r1,wipe_ScreenWipe.wipes+16
	ldax.xw %r1,%r1,%r2,3,0
;wipe_ScreenWipe+160
	mov2 %r9,%r10,%r4,%r5
	mov %r11,%r6
	callmi %r8,%r1,0
;wipe_ScreenWipe+176
	ldbzr %r1,go
	xori %r1,%r1,1
	retf 0
;G_CmdChecksum
	alloc 5
	mov2 %r3,%r2,%gz,%gz
	nop 0
;G_CmdChecksum+16
	ldwzx.xd %r4,%r1,%r3,0,0
	addi %r3,%r3,4
	addws %r2,%r4,%r2
;G_CmdChecksum+32
	bdnei %r3,12,G_CmdChecksum+16
	mov %r1,%r2
	retf 0
;G_BuildTiccmd
	alloc 21
	stw %gz,%r1,12
	stw %gz,%r1,8
;G_BuildTiccmd+16
	stw %gz,%r1,4
	stw %gz,%r1,0
	ldwsr %r3,consoleplayer
;G_BuildTiccmd+32
	sraiw %r4,%r2,31
	srliw %r4,%r4,25
	addws %r4,%r2,%r4
;G_BuildTiccmd+48
	andi %r4,%r4,-128
	subws %r2,%r2,%r4
	sladd %r2,%r2,%r3,7
;G_BuildTiccmd+64
	ldafr %r3,consistancy
	ldbzx.xd %r2,%r2,%r3,0,0
	stb %r2,%r1,6
;G_BuildTiccmd+80
	ldwsr %r2,key_strafe
	ldafr %r8,gamekeydown
	ldwzx.xd %r2,%r8,%r2,2,0
;G_BuildTiccmd+96
	ldi %r6,1
	ldafr %r4,mousearray+4
	mov %r3,%r6
;G_BuildTiccmd+112
	bwne %r2,%gz,G_BuildTiccmd+144
	ldwsr %r2,mousebstrafe
	ldwzx.xd %r2,%r4,%r2,2,0
;G_BuildTiccmd+128
	mov %r3,%r6
	bweq %r2,%gz,G_BuildTiccmd+2352
	nop 0
;G_BuildTiccmd+144
	ldwzr %r5,key_speed
	bwgei %r5,256,G_BuildTiccmd+192
	nop 0
;G_BuildTiccmd+160
	ldwzr %r2,joybspeed
	bwgei %r2,20,G_BuildTiccmd+192
	ldwzx.xw %r5,%r8,%r5,2,0
;G_BuildTiccmd+176
	bweq %r5,%gz,G_BuildTiccmd+256
	nop 0
	nop 0
;G_BuildTiccmd+192
	ldwzr %r7,joyxmove
	bwne %r7,%gz,G_BuildTiccmd+288
	nop 0
;G_BuildTiccmd+208
	ldwsr %r2,key_right
	ldwzx.xd %r2,%r8,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+288
;G_BuildTiccmd+224
	ldwsr %r2,key_left
	ldwzx.xd %r2,%r8,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+288
;G_BuildTiccmd+240
	stwr %gz,turnheld
	jmp G_BuildTiccmd+320
	nop 0
;G_BuildTiccmd+256
	ldafr %r5,joyarray+4
	ldwzx.xw %r2,%r5,%r2,2,0
	cmpwnei %r6,%r2,0
;G_BuildTiccmd+272
	ldwzr %r7,joyxmove
	bweq %r7,%gz,G_BuildTiccmd+208
	nop 0
;G_BuildTiccmd+288
	ldwzr %r2,ticdup
	ldwzr %r5,turnheld
	addws %r2,%r5,%r2
;G_BuildTiccmd+304
	stwr %r2,turnheld
	mov %r9,%r6
	bwgei %r2,6,G_BuildTiccmd+336
;G_BuildTiccmd+320
	ldi %r9,2
	nop 0
	nop 0
;G_BuildTiccmd+336
	ldwsr %r2,key_right
	ldwzx.xd %r5,%r8,%r2,2,0
	ldafr %r2,sidemove
;G_BuildTiccmd+352
	bbci %r3,0,G_BuildTiccmd+384
	bweq %r5,%gz,G_BuildTiccmd+416
	ldwzx.xd %r5,%r2,%r6,2,0
;G_BuildTiccmd+368
	jmp G_BuildTiccmd+432
	nop 0
	nop 0
;G_BuildTiccmd+384
	ldafr %r11,angleturn
	bweq %r5,%gz,G_BuildTiccmd+496
	ldhzx.xd %r5,%r11,%r9,2,0
;G_BuildTiccmd+400
	subfiws %r10,%r5,0
	sth %r10,%r1,2
	jmp G_BuildTiccmd+512
;G_BuildTiccmd+416
	mov %r5,%gz
	nop 0
	nop 0
;G_BuildTiccmd+432
	ldwsr %r9,key_left
	ldwzx.xd %r9,%r8,%r9,2,0
	bweq %r9,%gz,G_BuildTiccmd+464
;G_BuildTiccmd+448
	ldwzx.xd %r9,%r2,%r6,2,0
	subws %r5,%r5,%r9
	nop 0
;G_BuildTiccmd+464
	bwlti %r7,1,G_BuildTiccmd+592
	ldwzx.xd %r7,%r2,%r6,2,0
	addws %r5,%r7,%r5
;G_BuildTiccmd+480
	jmp G_BuildTiccmd+640
	nop 0
	nop 0
;G_BuildTiccmd+496
	mov %r10,%gz
	nop 0
	nop 0
;G_BuildTiccmd+512
	ldwsr %r5,key_left
	ldwzx.xd %r5,%r8,%r5,2,0
	bweq %r5,%gz,G_BuildTiccmd+544
;G_BuildTiccmd+528
	ldhzx.xd %r5,%r11,%r9,2,0
	addws %r10,%r10,%r5
	sth %r10,%r1,2
;G_BuildTiccmd+544
	bwlti %r7,1,G_BuildTiccmd+624
	ldhzx.xd %r7,%r11,%r9,2,0
	mov %r5,%gz
;G_BuildTiccmd+560
	subws %r7,%r10,%r7
	nop 0
	nop 0
;G_BuildTiccmd+576
	sth %r7,%r1,2
	jmp G_BuildTiccmd+640
	nop 0
;G_BuildTiccmd+592
	bwgei %r7,0,G_BuildTiccmd+640
	ldwzx.xd %r7,%r2,%r6,2,0
	subws %r5,%r5,%r7
;G_BuildTiccmd+608
	jmp G_BuildTiccmd+640
	nop 0
	nop 0
;G_BuildTiccmd+624
	mov %r5,%gz
	bwlti %r7,0,G_BuildTiccmd+2464
	nop 0
;G_BuildTiccmd+640
	ldwsr %r7,key_up
	ldwzx.xd %r7,%r8,%r7,2,0
	ldafr %r9,forwardmove
;G_BuildTiccmd+656
	bweq %r7,%gz,G_BuildTiccmd+672
	ldwzx.xd %r7,%r9,%r6,2,0
	jmp G_BuildTiccmd+688
;G_BuildTiccmd+672
	mov %r7,%gz
	nop 0
	nop 0
;G_BuildTiccmd+688
	ldwsr %r10,key_down
	ldwzx.xd %r10,%r8,%r10,2,0
	bweq %r10,%gz,G_BuildTiccmd+720
;G_BuildTiccmd+704
	ldwzx.xd %r10,%r9,%r6,2,0
	subws %r7,%r7,%r10
	nop 0
;G_BuildTiccmd+720
	ldwzr %r10,joyymove
	bwlti %r10,0,G_BuildTiccmd+752
	bweq %r10,%gz,G_BuildTiccmd+768
;G_BuildTiccmd+736
	ldwzx.xd %r10,%r9,%r6,2,0
	subws %r7,%r7,%r10
	jmp G_BuildTiccmd+768
;G_BuildTiccmd+752
	ldwzx.xd %r10,%r9,%r6,2,0
	addws %r7,%r10,%r7
	nop 0
;G_BuildTiccmd+768
	ldwsr %r10,key_strafeleft
	ldwzx.xd %r10,%r8,%r10,2,0
	bwne %r10,%gz,G_BuildTiccmd+816
;G_BuildTiccmd+784
	ldwsr %r10,joybstrafeleft
	ldafr %r11,joyarray+4
	ldwzx.xd %r10,%r11,%r10,2,0
;G_BuildTiccmd+800
	bweq %r10,%gz,G_BuildTiccmd+2400
	nop 0
	nop 0
;G_BuildTiccmd+816
	ldwzx.xd %r10,%r2,%r6,2,0
	subws %r5,%r5,%r10
	nop 0
;G_BuildTiccmd+832
	ldwsr %r10,key_straferight
	ldwzx.xd %r10,%r8,%r10,2,0
	bwne %r10,%gz,G_BuildTiccmd+880
;G_BuildTiccmd+848
	ldwsr %r10,joybstraferight
	ldafr %r11,joyarray+4
	ldwzx.xd %r10,%r11,%r10,2,0
;G_BuildTiccmd+864
	bweq %r10,%gz,G_BuildTiccmd+2432
	nop 0
	nop 0
;G_BuildTiccmd+880
	ldwzx.xd %r2,%r2,%r6,2,0
	addws %r5,%r2,%r5
	nop 0
;G_BuildTiccmd+896
	callr %r19,HU_dequeueChatChar
	stb %r20,%r1,4
	ldwsr %r2,key_fire
;G_BuildTiccmd+912
	ldwzx.xd %r2,%r8,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+960
	ldwsr %r2,mousebfire
;G_BuildTiccmd+928
	ldwzx.xd %r2,%r4,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+960
	ldwsr %r2,joybfire
;G_BuildTiccmd+944
	ldafr %r10,joyarray+4
	ldwzx.xd %r2,%r10,%r2,2,0
	bweq %r2,%gz,G_BuildTiccmd+976
;G_BuildTiccmd+960
	ldbz %r2,%r1,5
	ori %r2,%r2,1
	stb %r2,%r1,5
;G_BuildTiccmd+976
	ldwsr %r2,key_use
	ldwzx.xd %r2,%r8,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+1040
;G_BuildTiccmd+992
	ldwsr %r2,joybuse
	ldafr %r10,joyarray+4
	ldwzx.xd %r2,%r10,%r2,2,0
;G_BuildTiccmd+1008
	bwne %r2,%gz,G_BuildTiccmd+1040
	ldwsr %r2,mousebuse
	ldwzx.xd %r2,%r4,%r2,2,0
;G_BuildTiccmd+1024
	bweq %r2,%gz,G_BuildTiccmd+1072
	nop 0
	nop 0
;G_BuildTiccmd+1040
	ldbz %r2,%r1,5
	ori %r2,%r2,2
	stb %r2,%r1,5
;G_BuildTiccmd+1056
	stwr %gz,dclicks
	nop 0
	nop 0
;G_BuildTiccmd+1072
	ldwzr %r2,gamestate
	bwne %r2,%gz,G_BuildTiccmd+1232
	ldwzr %r10,next_weapon
;G_BuildTiccmd+1088
	bweq %r10,%gz,G_BuildTiccmd+1232
	ldwsr %r2,consoleplayer
	muli %r8,%r2,328
;G_BuildTiccmd+1104
	ldafr %r11,players+128
	ldwzx.xd %r8,%r8,%r11,0,0
	ldafr %r11,players
;G_BuildTiccmd+1120
	ldi %r12,328
	muladd %r2,%r2,%r12,%r11
	bwnei %r8,10,G_BuildTiccmd+1152
;G_BuildTiccmd+1136
	ldwz %r8,%r2,124
	nop 0
	nop 0
;G_BuildTiccmd+1152
	mov %r11,%gz
	addiwz %r12,%r10,9
	ldafr %r13,weapon_order_table
;G_BuildTiccmd+1168
	ldwz %r14,%r13,0
	bweq %r14,%r8,G_BuildTiccmd+1296
	addi %r11,%r11,-1
;G_BuildTiccmd+1184
	addi %r12,%r12,1
	addi %r13,%r13,8
	bdnei %r11,-9,G_BuildTiccmd+1168
;G_BuildTiccmd+1200
	addiwz %r10,%r10,9
	addi %r8,%r10,9
	modui %r11,%r8,9
;G_BuildTiccmd+1216
	ldi %r8,9
	jmp G_BuildTiccmd+1344
	nop 0
;G_BuildTiccmd+1232
	mov %r2,%gz
	ldafr %r10,weapon_keys
	nop 0
;G_BuildTiccmd+1248
	lddz %r11,%r10,0
	ldws %r11,%r11,0
	ldwzx.xd %r11,%r8,%r11,2,0
;G_BuildTiccmd+1264
	bwne %r11,%gz,G_BuildTiccmd+1520
	addi %r2,%r2,1
	addi %r10,%r10,8
;G_BuildTiccmd+1280
	bdnei %r2,8,G_BuildTiccmd+1248
	jmp G_BuildTiccmd+1552
	nop 0
;G_BuildTiccmd+1296
	addiwz %r10,%r10,9
	divui %r8,%r12,9
	ldi %r12,9
;G_BuildTiccmd+1312
	mulsubf %r12,%r8,%r12,%r10
	subfi %r8,%r11,0
	bdeq %r12,%gz,G_BuildTiccmd+1504
;G_BuildTiccmd+1328
	sub %r11,%r12,%r11
	nop 0
	nop 0
;G_BuildTiccmd+1344
	ldwzr %r12,gamemission
	andi %r13,%r12,-5
	ldwzr %r14,gamemode
;G_BuildTiccmd+1360
	addi %r15,%r2,132
	ldafr %r16,weapon_order_table
	jmp G_BuildTiccmd+1392
;G_BuildTiccmd+1376
	add %r11,%r11,%r10
	modui %r11,%r11,9
	bdeq %r11,%r8,G_BuildTiccmd+1504
;G_BuildTiccmd+1392
	ldwzx.xd %r17,%r16,%r11,3,0
	bwnei %r17,8,G_BuildTiccmd+1408
	bweq %r13,%gz,G_BuildTiccmd+1376
;G_BuildTiccmd+1408
	addiws %r18,%r17,-5
	bwgeui %r18,2,G_BuildTiccmd+1440
	bwne %r12,%gz,G_BuildTiccmd+1440
;G_BuildTiccmd+1424
	bweq %r14,%gz,G_BuildTiccmd+1376
	nop 0
	nop 0
;G_BuildTiccmd+1440
	ldwzx.xuw %r18,%r15,%r17,2,0
	bweq %r18,%gz,G_BuildTiccmd+1376
	bwne %r17,%gz,G_BuildTiccmd+1488
;G_BuildTiccmd+1456
	ldwz %r17,%r2,160
	bweq %r17,%gz,G_BuildTiccmd+1488
	ldwz %r17,%r2,60
;G_BuildTiccmd+1472
	bweq %r17,%gz,G_BuildTiccmd+1376
	nop 0
	nop 0
;G_BuildTiccmd+1488
	mov %r8,%r11
	nop 0
	nop 0
;G_BuildTiccmd+1504
	ldafr %r2,weapon_order_table+4
	ldbzx.xd %r2,%r2,%r8,3,0
	nop 0
;G_BuildTiccmd+1520
	ldbz %r8,%r1,5
	slor %r2,%r8,%r2,3
	ori %r2,%r2,4
;G_BuildTiccmd+1536
	stb %r2,%r1,5
	nop 0
	nop 0
;G_BuildTiccmd+1552
	ldwsr %r2,mousebforward
	ldwzx.xd %r2,%r4,%r2,2,0
	stwr %gz,next_weapon
;G_BuildTiccmd+1568
	bweq %r2,%gz,G_BuildTiccmd+1584
	ldwzx.xd %r8,%r9,%r6,2,0
	addws %r7,%r8,%r7
;G_BuildTiccmd+1584
	ldwsr %r8,mousebbackward
	ldwzx.xd %r8,%r4,%r8,2,0
	bweq %r8,%gz,G_BuildTiccmd+1616
;G_BuildTiccmd+1600
	ldwzx.xd %r6,%r9,%r6,2,0
	subws %r7,%r7,%r6
	nop 0
;G_BuildTiccmd+1616
	ldwzr %r6,dclick_use
	bweq %r6,%gz,G_BuildTiccmd+2016
	ldwzr %r8,dclickstate
;G_BuildTiccmd+1632
	ldwzr %r6,dclicktime
	bweq %r2,%r8,G_BuildTiccmd+1712
	bwlti %r6,2,G_BuildTiccmd+1712
;G_BuildTiccmd+1648
	stwr %r2,dclickstate
	ldwzr %r6,dclicks
	bweq %r2,%gz,G_BuildTiccmd+1680
;G_BuildTiccmd+1664
	addiws %r6,%r6,1
	stwr %r6,dclicks
	nop 0
;G_BuildTiccmd+1680
	bwnei %r6,2,G_BuildTiccmd+1760
	ldbz %r2,%r1,5
	ori %r2,%r2,2
;G_BuildTiccmd+1696
	stb %r2,%r1,5
	ldafr %r2,dclicks
	jmp G_BuildTiccmd+1776
;G_BuildTiccmd+1712
	ldwzr %r2,ticdup
	addws %r2,%r2,%r6
	stwr %r2,dclicktime
;G_BuildTiccmd+1728
	bwlti %r2,21,G_BuildTiccmd+1792
	stwr %gz,dclicks
	ldafr %r2,dclickstate
;G_BuildTiccmd+1744
	jmp G_BuildTiccmd+1776
	nop 0
	nop 0
;G_BuildTiccmd+1760
	ldafr %r2,dclicktime
	nop 0
	nop 0
;G_BuildTiccmd+1776
	stw %gz,%r2,0
	nop 0
	nop 0
;G_BuildTiccmd+1792
	ldwsr %r2,mousebstrafe
	ldwzx.xd %r2,%r4,%r2,2,0
	bweq %r2,%gz,G_BuildTiccmd+1824
;G_BuildTiccmd+1808
	ldi %r2,1
	jmp G_BuildTiccmd+1856
	nop 0
;G_BuildTiccmd+1824
	ldwsr %r2,joybstrafe
	ldafr %r4,joyarray+4
	ldwzx.xd %r2,%r4,%r2,2,0
;G_BuildTiccmd+1840
	cmpwnei %r2,%r2,0
	nop 0
	nop 0
;G_BuildTiccmd+1856
	ldwzr %r6,dclickstate2
	ldwzr %r4,dclicktime2
	bweq %r6,%r2,G_BuildTiccmd+1936
;G_BuildTiccmd+1872
	bwlti %r4,2,G_BuildTiccmd+1936
	stwr %r2,dclickstate2
	ldwzr %r4,dclicks2
;G_BuildTiccmd+1888
	bbci %r2,0,G_BuildTiccmd+1904
	addiws %r4,%r4,1
	stwr %r4,dclicks2
;G_BuildTiccmd+1904
	bwnei %r4,2,G_BuildTiccmd+1984
	ldbz %r2,%r1,5
	ori %r2,%r2,2
;G_BuildTiccmd+1920
	stb %r2,%r1,5
	ldafr %r2,dclicks2
	jmp G_BuildTiccmd+2000
;G_BuildTiccmd+1936
	ldwzr %r2,ticdup
	addws %r2,%r2,%r4
	stwr %r2,dclicktime2
;G_BuildTiccmd+1952
	bwlti %r2,21,G_BuildTiccmd+2016
	stwr %gz,dclicks2
	ldafr %r2,dclickstate2
;G_BuildTiccmd+1968
	jmp G_BuildTiccmd+2000
	nop 0
	nop 0
;G_BuildTiccmd+1984
	ldafr %r2,dclicktime2
	nop 0
	nop 0
;G_BuildTiccmd+2000
	stw %gz,%r2,0
	nop 0
	nop 0
;G_BuildTiccmd+2016
	ldwzr %r2,mousey
	ldwzr %r4,mousex
	bbci %r3,0,G_BuildTiccmd+2064
;G_BuildTiccmd+2032
	sladdws %r5,%r5,%r4,1
	addws %r2,%r2,%r7
	bwne %r4,%gz,G_BuildTiccmd+2112
;G_BuildTiccmd+2048
	jmp G_BuildTiccmd+2096
	nop 0
	nop 0
;G_BuildTiccmd+2064
	ldhz %r3,%r1,2
	slsubws %r3,%r3,%r4,3
	sth %r3,%r1,2
;G_BuildTiccmd+2080
	addws %r2,%r2,%r7
	bwne %r4,%gz,G_BuildTiccmd+2112
	nop 0
;G_BuildTiccmd+2096
	stwr %gz,testcontrols_mousespeed
	nop 0
	nop 0
;G_BuildTiccmd+2112
	ldwzr %r3,forwardmove+4
	stwr %gz,mousey
	stwr %gz,mousex
;G_BuildTiccmd+2128
	cmpwlt %r4,%r3,%r2
	ldbz %r6,%r1,0
	subfiws %r7,%r3,0
;G_BuildTiccmd+2144
	maxsw %r2,%r2,%r7
	cmovlsb %r2,%r4,%r3,%r2
	addws %r2,%r2,%r6
;G_BuildTiccmd+2160
	stb %r2,%r1,0
	ldbz %r2,%r1,1
	cmpwlt %r4,%r3,%r5
;G_BuildTiccmd+2176
	maxsw %r5,%r5,%r7
	cmovlsb %r3,%r4,%r3,%r5
	addws %r2,%r3,%r2
;G_BuildTiccmd+2192
	stb %r2,%r1,1
	ldwzr %r2,sendpause
	bweq %r2,%gz,G_BuildTiccmd+2224
;G_BuildTiccmd+2208
	stwr %gz,sendpause
	ldi %r2,129
	stb %r2,%r1,5
;G_BuildTiccmd+2224
	ldwzr %r2,sendsave
	bweq %r2,%gz,G_BuildTiccmd+2272
	ldbzr %r2,savegameslot
;G_BuildTiccmd+2240
	ldi %r3,130
	stwr %gz,sendsave
	slor %r2,%r3,%r2,2
;G_BuildTiccmd+2256
	stb %r2,%r1,5
	nop 0
	nop 0
;G_BuildTiccmd+2272
	ldwzr %r2,lowres_turn
	bweq %r2,%gz,G_BuildTiccmd+2336
	ldhz %r2,%r1,2
;G_BuildTiccmd+2288
	ldhzr %r3,G_BuildTiccmd.carry
	addws %r2,%r3,%r2
	addiws %r3,%r2,128
;G_BuildTiccmd+2304
	andi %r3,%r3,-256
	sth %r3,%r1,2
	subws %r1,%r2,%r3
;G_BuildTiccmd+2320
	sthr %r1,G_BuildTiccmd.carry
	nop 0
	nop 0
;G_BuildTiccmd+2336
	retf 0
	nop 0
	nop 0
;G_BuildTiccmd+2352
	ldwsr %r2,joybstrafe
	ldafr %r3,joyarray+4
	ldwzx.xd %r2,%r3,%r2,2,0
;G_BuildTiccmd+2368
	cmpwnei %r3,%r2,0
	ldwzr %r5,key_speed
	bwlti %r5,256,G_BuildTiccmd+160
;G_BuildTiccmd+2384
	jmp G_BuildTiccmd+192
	nop 0
	nop 0
;G_BuildTiccmd+2400
	ldwsr %r10,mousebstrafeleft
	ldwzx.xd %r10,%r4,%r10,2,0
	bwne %r10,%gz,G_BuildTiccmd+816
;G_BuildTiccmd+2416
	ldwzr %r10,joystrafemove
	bwgei %r10,0,G_BuildTiccmd+832
	jmp G_BuildTiccmd+816
;G_BuildTiccmd+2432
	ldwsr %r10,mousebstraferight
	ldwzx.xd %r10,%r4,%r10,2,0
	bwne %r10,%gz,G_BuildTiccmd+880
;G_BuildTiccmd+2448
	ldwzr %r10,joystrafemove
	bwlti %r10,1,G_BuildTiccmd+896
	jmp G_BuildTiccmd+880
;G_BuildTiccmd+2464
	ldhzx.xd %r7,%r11,%r9,2,0
	mov %r5,%gz
	addws %r7,%r10,%r7
;G_BuildTiccmd+2480
	jmp G_BuildTiccmd+576
	nop 0
	nop 0
;G_DoLoadLevel
	alloc 11
	ldafr %r10,.rodata+28417
	callr %r9,R_FlatNumForName
;G_DoLoadLevel+16
	ldwzr %r1,gamemode
	stwr %r10,skyflatnum
	bwnei %r1,2,G_DoLoadLevel+112
;G_DoLoadLevel+32
	ldwzr %r1,gameversion
	andi %r1,%r1,-2
	bwnei %r1,8,G_DoLoadLevel+112
;G_DoLoadLevel+48
	ldwzr %r1,gamemap
	cmpwlti %r2,%r1,21
	ldafr %r3,.rodata+3041
;G_DoLoadLevel+64
	ldafr %r4,.rodata+7771
	cmpwlti %r1,%r1,12
	cmovlsb %r2,%r2,%r4,%r3
;G_DoLoadLevel+80
	ldafr %r3,.rodata+8928
	cmovlsb %r10,%r1,%r3,%r2
	callr %r9,R_TextureNumForName
;G_DoLoadLevel+96
	stwr %r10,skytexture
	nop 0
	nop 0
;G_DoLoadLevel+112
	ldwzr %r1,gametic
	ldwzr %r2,wipegamestate
	stwr %r1,levelstarttic
;G_DoLoadLevel+128
	bwne %r2,%gz,G_DoLoadLevel+144
	ldi %r1,-1
	stwr %r1,wipegamestate
;G_DoLoadLevel+144
	mov %r1,%gz
	stwr %gz,gamestate
	stwr %gz,turbodetected
;G_DoLoadLevel+160
	stwr %gz,turbodetected+4
	stwr %gz,turbodetected+8
	stwr %gz,turbodetected+12
;G_DoLoadLevel+176
	ldafr %r2,players+108
	ldafr %r3,playeringame
	ldi %r4,2
;G_DoLoadLevel+192
	jmp G_DoLoadLevel+256
	nop 0
	nop 0
;G_DoLoadLevel+208
	stw %gz,%r2,12
	stw %gz,%r2,8
	stw %gz,%r2,4
;G_DoLoadLevel+224
	stw %gz,%r2,0
	addi %r1,%r1,4
	addi %r2,%r2,328
;G_DoLoadLevel+240
	bdeqi %r1,16,G_DoLoadLevel+288
	nop 0
	nop 0
;G_DoLoadLevel+256
	ldwzx.xd %r5,%r1,%r3,0,0
	bweq %r5,%gz,G_DoLoadLevel+208
	ldwz %r5,%r2,-100
;G_DoLoadLevel+272
	bwnei %r5,1,G_DoLoadLevel+208
	stw %r4,%r2,-100
	jmp G_DoLoadLevel+208
;G_DoLoadLevel+288
	ldwzr %r7,gameepisode
	ldwzr %r8,gamemap
	ldwzr %r10,gameskill
;G_DoLoadLevel+304
	mov %r9,%gz
	callr %r6,P_SetupLevel
	ldwzr %r1,consoleplayer
;G_DoLoadLevel+320
	stwr %r1,displayplayer
	stwr %gz,gameaction
	callr %r10,Z_CheckHeap
;G_DoLoadLevel+336
	ldafr %r8,gamekeydown
	ldi %r10,1024
	mov %r9,%gz
;G_DoLoadLevel+352
	callr %r7,memset
	stwr %gz,joystrafemove
	stwr %gz,joyymove
;G_DoLoadLevel+368
	stwr %gz,joyxmove
	stwr %gz,mousey
	stwr %gz,mousex
;G_DoLoadLevel+384
	stwr %gz,paused
	stwr %gz,sendsave
	stwr %gz,sendpause
;G_DoLoadLevel+400
	stwr %gz,mousearray
	stwr %gz,mousearray+4
	stwr %gz,mousearray+8
;G_DoLoadLevel+416
	stwr %gz,mousearray+12
	stwr %gz,mousearray+16
	stwr %gz,mousearray+20
;G_DoLoadLevel+432
	stwr %gz,mousearray+24
	stwr %gz,mousearray+28
	stwr %gz,mousearray+32
;G_DoLoadLevel+448
	stwr %gz,joyarray+80
	stwr %gz,joyarray+76
	stwr %gz,joyarray+72
;G_DoLoadLevel+464
	stwr %gz,joyarray+68
	stwr %gz,joyarray+64
	stwr %gz,joyarray+60
;G_DoLoadLevel+480
	stwr %gz,joyarray+56
	stwr %gz,joyarray+52
	stwr %gz,joyarray+48
;G_DoLoadLevel+496
	stwr %gz,joyarray+44
	stwr %gz,joyarray+40
	stwr %gz,joyarray+36
;G_DoLoadLevel+512
	stwr %gz,joyarray+32
	stwr %gz,joyarray+28
	stwr %gz,joyarray+24
;G_DoLoadLevel+528
	stwr %gz,joyarray+20
	stwr %gz,joyarray+16
	ldwzr %r1,testcontrols
;G_DoLoadLevel+544
	stwr %gz,joyarray+12
	stwr %gz,joyarray+8
	stwr %gz,joyarray+4
;G_DoLoadLevel+560
	stwr %gz,joyarray
	bweq %r1,%gz,G_DoLoadLevel+608
	ldwsr %r1,consoleplayer
;G_DoLoadLevel+576
	muli %r1,%r1,328
	ldafr %r2,.rodata+3046
	ldafr %r3,players+232
;G_DoLoadLevel+592
	stdx.xd %r2,%r1,%r3,0,0
	nop 0
	nop 0
;G_DoLoadLevel+608
	retf 0
	nop 0
	nop 0
;G_Responder
	alloc 13
	ldwzr %r2,gamestate
	bwne %r2,%gz,G_Responder+64
;G_Responder+16
	ldwz %r3,%r1,0
	bwne %r3,%gz,G_Responder+64
	ldwz %r3,%r1,4
;G_Responder+32
	ldwzr %r4,key_spy
	bwne %r3,%r4,G_Responder+64
	ldwzr %r3,singledemo
;G_Responder+48
	bwne %r3,%gz,G_Responder+928
	ldwzr %r3,deathmatch
	bweq %r3,%gz,G_Responder+928
;G_Responder+64
	ldwzr %r3,gameaction
	ldwzr %r4,singledemo
	or %r3,%r3,%r4
;G_Responder+80
	bwne %r3,%gz,G_Responder+112
	bweqi %r2,3,G_Responder+336
	ldwzr %r3,demoplayback
;G_Responder+96
	bwne %r3,%gz,G_Responder+336
	nop 0
	nop 0
;G_Responder+112
	bweq %r2,%gz,G_Responder+256
	bwnei %r2,2,G_Responder+144
	nop 0
;G_Responder+128
	mov %r12,%r1
	callr %r11,F_Responder
	bwne %r12,%gz,G_Responder+1088
;G_Responder+144
	ldwzr %r3,testcontrols
	ldwz %r2,%r1,0
	bweq %r3,%gz,G_Responder+192
;G_Responder+160
	bwnei %r2,2,G_Responder+192
	ldwz %r2,%r1,8
	absdw %r2,%r2,%gz
;G_Responder+176
	stwr %r2,testcontrols_mousespeed
	ldwz %r2,%r1,0
	nop 0
;G_Responder+192
	bwgeui %r2,4,G_Responder+912
	srliw %r2,%r2,0
	ldafr %r3,.rodata+33136
;G_Responder+208
	jmpt %r3,%r2
	nop 0
	nop 0
;G_Responder+224
	ldwz %r1,%r1,4
	ldwzr %r2,key_prevweapon
	bwne %r1,%r2,G_Responder+992
;G_Responder+240
	ldi %r2,-1
	jmp G_Responder+1008
	nop 0
;G_Responder+256
	mov %r12,%r1
	callr %r11,HU_Responder
	ldi %r2,1
;G_Responder+272
	bwne %r12,%gz,G_Responder+320
	mov %r12,%r1
	callr %r11,ST_Responder
;G_Responder+288
	bwne %r12,%gz,G_Responder+320
	mov %r12,%r1
	callr %r11,AM_Responder
;G_Responder+304
	bweq %r12,%gz,G_Responder+1104
	nop 0
	nop 0
;G_Responder+320
	mov %r1,%r2
	retf 0
	nop 0
;G_Responder+336
	ldwz %r2,%r1,0
	bweq %r2,%gz,G_Responder+384
	bweqi %r2,3,G_Responder+368
;G_Responder+352
	bwnei %r2,2,G_Responder+912
	nop 0
	nop 0
;G_Responder+368
	ldwz %r1,%r1,4
	bweq %r1,%gz,G_Responder+912
	nop 0
;G_Responder+384
	callr %r12,M_StartControlPanel
	jmp G_Responder+1088
	nop 0
;G_Responder+400
	mov %r2,%gz
	ldwz %r3,%r1,4
	ldwzr %r4,mousebprevweapon
;G_Responder+416
	ldwzr %r5,mousebnextweapon
	ldafr %r6,mousearray+4
	ldi %r7,1
;G_Responder+432
	ldi %r8,-1
	jmp G_Responder+496
	nop 0
;G_Responder+448
	stwr %r10,next_weapon
	nop 0
	nop 0
;G_Responder+464
	cmpwnei %r9,%r9,0
	stw %r9,%r6,0
	addi %r2,%r2,1
;G_Responder+480
	addi %r6,%r6,4
	bdeqi %r2,8,G_Responder+560
	nop 0
;G_Responder+496
	ldwz %r10,%r6,0
	sllw %r9,%r7,%r2
	and %r9,%r9,%r3
;G_Responder+512
	bwne %r10,%gz,G_Responder+464
	bweq %r9,%gz,G_Responder+464
	mov %r10,%r8
;G_Responder+528
	bdeq %r4,%r2,G_Responder+448
	mov %r10,%r7
	bdeq %r5,%r2,G_Responder+448
;G_Responder+544
	jmp G_Responder+464
	nop 0
	nop 0
;G_Responder+560
	ldwzr %r2,mouseSensitivity
	ldwz %r3,%r1,8
	addiws %r2,%r2,5
;G_Responder+576
	mulws %r3,%r2,%r3
	muli.l %r3,%r3,1717986919
;G_Responder+592
	srli %r4,%r3,63
	srai %r3,%r3,34
	addws %r3,%r3,%r4
;G_Responder+608
	stwr %r3,mousex
	ldwz %r1,%r1,12
	mulws %r1,%r1,%r2
;G_Responder+624
	muli.l %r1,%r1,1717986919
	srli %r2,%r1,63
;G_Responder+640
	srai %r1,%r1,34
	addws %r1,%r1,%r2
	stwr %r1,mousey
;G_Responder+656
	jmp G_Responder+1088
	nop 0
	nop 0
;G_Responder+672
	mov %r2,%gz
	ldwz %r3,%r1,4
	ldwzr %r4,joybprevweapon
;G_Responder+688
	ldwzr %r5,joybnextweapon
	ldafr %r6,joyarray+4
	ldi %r7,1
;G_Responder+704
	ldi %r8,-1
	jmp G_Responder+768
	nop 0
;G_Responder+720
	stwr %r10,next_weapon
	nop 0
	nop 0
;G_Responder+736
	cmpwnei %r9,%r9,0
	stw %r9,%r6,0
	addi %r2,%r2,1
;G_Responder+752
	addi %r6,%r6,4
	bdeqi %r2,20,G_Responder+832
	nop 0
;G_Responder+768
	ldwz %r10,%r6,0
	sllw %r9,%r7,%r2
	and %r9,%r9,%r3
;G_Responder+784
	bwne %r10,%gz,G_Responder+736
	bweq %r9,%gz,G_Responder+736
	mov %r10,%r8
;G_Responder+800
	bdeq %r4,%r2,G_Responder+720
	mov %r10,%r7
	bdeq %r5,%r2,G_Responder+720
;G_Responder+816
	jmp G_Responder+736
	nop 0
	nop 0
;G_Responder+832
	ldwz %r2,%r1,8
	stwr %r2,joyxmove
	ldwz %r2,%r1,12
;G_Responder+848
	stwr %r2,joyymove
	ldwz %r1,%r1,16
	stwr %r1,joystrafemove
;G_Responder+864
	jmp G_Responder+1088
	nop 0
	nop 0
;G_Responder+880
	ldwz %r1,%r1,4
	bwgei %r1,256,G_Responder+912
	ldafr %r3,gamekeydown
;G_Responder+896
	stwx.xw %gz,%r3,%r1,2,0
	nop 0
	nop 0
;G_Responder+912
	mov %r1,%gz
	retf 0
	nop 0
;G_Responder+928
	ldwzr %r1,consoleplayer
	ldwzr %r2,displayplayer
	ldafr %r3,playeringame
;G_Responder+944
	addiws %r2,%r2,1
	cmpweqi %r4,%r2,4
	cmovlsb %r2,%r4,%gz,%r2
;G_Responder+960
	ldwzx.xw %r4,%r3,%r2,2,0
	bwne %r4,%gz,G_Responder+976
	bwne %r2,%r1,G_Responder+944
;G_Responder+976
	stwr %r2,displayplayer
	jmp G_Responder+1088
	nop 0
;G_Responder+992
	ldwzr %r2,key_nextweapon
	bwne %r1,%r2,G_Responder+1024
	ldi %r2,1
;G_Responder+1008
	stwr %r2,next_weapon
	nop 0
	nop 0
;G_Responder+1024
	ldwzr %r2,key_pause
	bwne %r1,%r2,G_Responder+1056
	ldi %r1,1
;G_Responder+1040
	stwr %r1,sendpause
	retf 0
	nop 0
;G_Responder+1056
	bwgei %r1,256,G_Responder+1088
	ldafr %r3,gamekeydown
	ldi %r2,1
;G_Responder+1072
	stwx.xw %r2,%r3,%r1,2,0
	mov %r1,%r2
	retf 0
;G_Responder+1088
	ldi %r2,1
	mov %r1,%r2
	retf 0
;G_Responder+1104
	ldwzr %r2,gamestate
	bweqi %r2,2,G_Responder+128
	jmp G_Responder+144
;G_Ticker
	allocsp 28,16
	mov %r1,%gz
	ldafr %r3,playeringame
;G_Ticker+16
	ldafr %r4,players+8
	jmp G_Ticker+64
	nop 0
;G_Ticker+32
	addi %r1,%r1,1
	addi %r3,%r3,4
	addi %r4,%r4,328
;G_Ticker+48
	bdeqi %r1,4,G_Ticker+112
	nop 0
	nop 0
;G_Ticker+64
	ldwz %r2,%r3,0
	bweq %r2,%gz,G_Ticker+32
	ldwz %r2,%r4,0
;G_Ticker+80
	bwnei %r2,2,G_Ticker+32
	mov %r27,%r1
	callr %r26,G_DoReborn
;G_Ticker+96
	jmp G_Ticker+32
	nop 0
	nop 0
;G_Ticker+112
	ldafr %r3,.rodata+33152
	ldi %r7,1
	ldafr %r1,.rodata+10060
;G_Ticker+128
	ldafr %r4,.rodata+8154
	ldafr %r8,players+232
	jmp G_Ticker+160
;G_Ticker+144
	callr %r27,G_DoPlayDemo
	nop 0
	nop 0
;G_Ticker+160
	ldwzr %r2,gameaction
	bdgeui %r2,10,G_Ticker+160
	jmpt %r3,%r2
;G_Ticker+176
	callr %r27,G_DoLoadLevel
	jmp G_Ticker+160
	nop 0
;G_Ticker+192
	callr %r27,G_DoLoadGame
	jmp G_Ticker+160
	nop 0
;G_Ticker+208
	callr %r27,G_DoSaveGame
	jmp G_Ticker+160
	nop 0
;G_Ticker+224
	ldwzr %r2,wminfo+12
	stwr %gz,gamestate
	addiws %r2,%r2,1
;G_Ticker+240
	stwr %r2,gamemap
	callr %r27,G_DoLoadLevel
	stwr %gz,gameaction
;G_Ticker+256
	stwr %r7,viewactive
	jmp G_Ticker+160
	nop 0
;G_Ticker+272
	stwr %gz,demoplayback
	stwr %gz,netdemo
	stwr %gz,netgame
;G_Ticker+288
	stwr %gz,deathmatch
	stwr %gz,playeringame+12
	stwr %gz,playeringame+8
;G_Ticker+304
	stwr %gz,playeringame+4
	stwr %gz,respawnparm
	stwr %gz,fastparm
;G_Ticker+320
	stwr %gz,nomonsters
	stwr %gz,consoleplayer
	ldwzr %r25,d_skill
;G_Ticker+336
	ldwzr %r26,d_episode
	ldwzr %r27,d_map
	callr %r24,G_InitNew
;G_Ticker+352
	stwr %gz,gameaction
	jmp G_Ticker+160
	nop 0
;G_Ticker+368
	callr %r27,G_DoCompleted
	jmp G_Ticker+160
	nop 0
;G_Ticker+384
	callr %r27,F_StartFinale
	jmp G_Ticker+160
	nop 0
;G_Ticker+400
	mov %r27,%r1
	callr %r26,V_ScreenShot
	ldwsr %r2,consoleplayer
;G_Ticker+416
	muli %r2,%r2,328
	stdx.xd %r4,%r2,%r8,0,0
	stwr %gz,gameaction
;G_Ticker+432
	jmp G_Ticker+160
	nop 0
	nop 0
;G_Ticker+448
	ldwzr %r1,gametic
	ldwzr %r2,ticdup
	mov2 %r9,%r10,%gz,%gz
;G_Ticker+464
	mov %r11,%gz
	divw %r1,%r1,%r2
	sraiw %r2,%r1,31
;G_Ticker+480
	srliw %r2,%r2,25
	addws %r2,%r1,%r2
	andi %r2,%r2,-128
;G_Ticker+496
	subws %r1,%r1,%r2
	ldafr %r2,consistancy
	ldax.xw %r12,%r2,%r1,0,0
;G_Ticker+512
	ldafr %r13,player_names
	ldafr %r14,turbodetected
	ldafr %r15,playeringame
;G_Ticker+528
	ldafr %r16,players+12
	ldafr %r17,players+24
	ldafr %r18,players+20
;G_Ticker+544
	ldafr %r19,players+16
	ldafr %r1,G_Ticker.turbomessage
	ldafr %r2,.rodata+26881
;G_Ticker+560
	ldi %r3,80
	ldafr %r20,players+18
	ldafr %r4,.rodata+6846
;G_Ticker+576
	ldafr %r21,players
	ldafr %r22,rndindex
	jmp G_Ticker+672
;G_Ticker+592
	lddzx.xd %r5,%r9,%r21,0,0
	addi %r6,%r5,24
	cmovdeq %r5,%r5,%r22,%r6
;G_Ticker+608
	ldwz %r5,%r5,0
	stb %r5,%r12,0
	nop 0
;G_Ticker+624
	addi %r11,%r11,1
	addi %r12,%r12,128
	addi %r13,%r13,8
;G_Ticker+640
	addi %r14,%r14,4
	addi %r10,%r10,16
	addi %r9,%r9,328
;G_Ticker+656
	addi %r15,%r15,4
	bdeqi.l %r9,1312,G_Ticker+1024
;G_Ticker+672
	ldwz %r5,%r15,0
	bweq %r5,%gz,G_Ticker+624
	lddzr %r5,netcmds
;G_Ticker+688
	ldwzx.xd %r6,%r5,%r10,0,12
	stwx.xd %r6,%r9,%r17,0,0
	ldwzx.xd %r6,%r5,%r10,0,8
;G_Ticker+704
	stwx.xd %r6,%r9,%r18,0,0
	ldwzx.xd %r6,%r5,%r10,0,4
	stwx.xd %r6,%r9,%r19,0,0
;G_Ticker+720
	ldwzx.xd %r6,%r5,%r10,0,0
	ldwzr %r23,demoplayback
	add %r5,%r9,%r16
;G_Ticker+736
	stwx.xd %r6,%r9,%r16,0,0
	bweq %r23,%gz,G_Ticker+768
	mov %r27,%r5
;G_Ticker+752
	callr %r26,G_ReadDemoTiccmd
	nop 0
	nop 0
;G_Ticker+768
	ldwzr %r6,demorecording
	bweq %r6,%gz,G_Ticker+800
	mov %r27,%r5
;G_Ticker+784
	callr %r26,G_WriteDemoTiccmd
	nop 0
	nop 0
;G_Ticker+800
	ldbs %r5,%r5,0
	bwlti %r5,51,G_Ticker+816
	stw %r7,%r14,0
;G_Ticker+816
	ldwzr %r5,gametic
	andi %r6,%r5,31
	bwne %r6,%gz,G_Ticker+928
;G_Ticker+832
	sraiw %r5,%r5,5
	srliw %r6,%r5,30
	addws %r6,%r5,%r6
;G_Ticker+848
	andi %r6,%r6,-4
	subwz %r5,%r5,%r6
	bdne %r11,%r5,G_Ticker+928
;G_Ticker+864
	ldwz %r5,%r14,0
	bweq %r5,%gz,G_Ticker+928
	lddz %r5,%r13,0
;G_Ticker+880
	std %r5,%sp,0
	mov2 %r25,%r26,%r1,%r3
	mov %r27,%r2
;G_Ticker+896
	callr %r24,M_snprintf
	ldwsr %r5,consoleplayer
	muli %r5,%r5,328
;G_Ticker+912
	stdx.xd %r1,%r5,%r8,0,0
	stw %gz,%r14,0
	nop 0
;G_Ticker+928
	ldwzr %r5,netgame
	bweq %r5,%gz,G_Ticker+624
	ldwzr %r5,netdemo
;G_Ticker+944
	bwne %r5,%gz,G_Ticker+624
	ldwzr %r5,gametic
	ldwzr %r6,ticdup
;G_Ticker+960
	modw %r6,%r5,%r6
	bwne %r6,%gz,G_Ticker+624
	bwlti %r5,129,G_Ticker+592
;G_Ticker+976
	ldbz %r5,%r12,0
	ldbzx.xd %r6,%r9,%r20,0,0
	bweq %r5,%r6,G_Ticker+592
;G_Ticker+992
	stw %r5,%sp,4
	stw %r6,%sp,0
	mov %r27,%r4
;G_Ticker+1008
	callr %r26,I_Error
	jmp G_Ticker+592
	nop 0
;G_Ticker+1024
	mov %r5,%gz
	ldafr %r6,players+17
	ldafr %r7,playeringame
;G_Ticker+1040
	ldafr %r1,savedescription
	ldafr %r2,.rodata+3068
	ldi %r3,32
;G_Ticker+1056
	ldi %r8,4
	jmp G_Ticker+1120
	nop 0
;G_Ticker+1072
	ldbzr %r9,savedescription
	bweq %r9,%gz,G_Ticker+1216
	nop 0
;G_Ticker+1088
	slsrli %r4,%r4,59,61
	stwr %r4,savegameslot
	stwr %r8,gameaction
;G_Ticker+1104
	addi %r5,%r5,4
	addi %r6,%r6,328
	bdeqi %r5,16,G_Ticker+1248
;G_Ticker+1120
	ldwzx.xd %r4,%r5,%r7,0,0
	bweq %r4,%gz,G_Ticker+1104
	ldbs %r4,%r6,0
;G_Ticker+1136
	bwgei %r4,0,G_Ticker+1104
	andi %r9,%r4,3
	bweqi %r9,2,G_Ticker+1072
;G_Ticker+1152
	bwnei %r9,1,G_Ticker+1104
	ldwzr %r4,paused
	xori %r9,%r4,1
;G_Ticker+1168
	stwr %r9,paused
	bwnei %r4,1,G_Ticker+1200
	callr %r27,S_ResumeSound
;G_Ticker+1184
	jmp G_Ticker+1104
	nop 0
	nop 0
;G_Ticker+1200
	callr %r27,S_PauseSound
	jmp G_Ticker+1104
	nop 0
;G_Ticker+1216
	mov2 %r25,%r26,%r1,%r2
	mov %r27,%r3
	callr %r24,M_StringCopy
;G_Ticker+1232
	ldbz %r4,%r6,0
	jmp G_Ticker+1088
	nop 0
;G_Ticker+1248
	ldwzr %r2,oldgamestate
	ldwzr %r1,gamestate
	bwnei %r2,1,G_Ticker+1280
;G_Ticker+1264
	bweqi %r1,1,G_Ticker+1280
	callr %r27,WI_End
	ldwzr %r1,gamestate
;G_Ticker+1280
	stwr %r1,oldgamestate
	bwgeui %r1,4,G_Ticker+1376
	srliw %r1,%r1,0
;G_Ticker+1296
	ldafr %r2,.rodata+33192
	jmpt %r2,%r1
	nop 0
;G_Ticker+1312
	callr %r27,P_Ticker
	callr %r27,ST_Ticker
	callr %r27,AM_Ticker
;G_Ticker+1328
	callr %r27,HU_Ticker
	retf 16
	nop 0
;G_Ticker+1344
	callr %r27,F_Ticker
	retf 16
	nop 0
;G_Ticker+1360
	callr %r27,D_PageTicker
	nop 0
	nop 0
;G_Ticker+1376
	retf 16
	nop 0
	nop 0
;G_Ticker+1392
	callr %r27,WI_Ticker
	retf 16
	nop 0
;G_DoReborn
	alloc 9
	ldwzr %r2,netgame
	bweq %r2,%gz,G_DoReborn+80
;G_DoReborn+16
	sraiw %r3,%r1,0
	muli %r2,%r3,328
	ldafr %r4,players
;G_DoReborn+32
	lddzx.xd %r2,%r2,%r4,0,0
	std %gz,%r2,192
	ldwzr %r2,deathmatch
;G_DoReborn+48
	bweq %r2,%gz,G_DoReborn+96
	mov %r8,%r1
	callr %r7,G_DeathMatchSpawnPlayer
;G_DoReborn+64
	retf 0
	nop 0
	nop 0
;G_DoReborn+80
	ldi %r1,1
	stwr %r1,gameaction
	retf 0
;G_DoReborn+96
	ldafr %r2,playerstarts
	ldi %r4,10
	muladd %r3,%r3,%r4,%r2
;G_DoReborn+112
	mov2 %r7,%r8,%r1,%r3
	callr %r6,G_CheckSpot
	bwne %r7,%gz,G_DoReborn+176
;G_DoReborn+128
	mov %r5,%gz
	nop 0
	nop 0
;G_DoReborn+144
	mov2 %r7,%r8,%r1,%r2
	callr %r6,G_CheckSpot
	bwne %r7,%gz,G_DoReborn+192
;G_DoReborn+160
	addi %r5,%r5,1
	addi %r2,%r2,10
	bdnei %r5,4,G_DoReborn+144
;G_DoReborn+176
	mov %r8,%r3
	callr %r7,P_SpawnPlayer
	retf 0
;G_DoReborn+192
	addiws %r1,%r1,1
	stb %r1,%r2,6
	srliw %r1,%r1,8
;G_DoReborn+208
	stb %r1,%r2,7
	mov %r8,%r2
	callr %r7,P_SpawnPlayer
;G_DoReborn+224
	addiws %r1,%r5,1
	srliw %r3,%r1,8
	stb %r3,%r2,7
;G_DoReborn+240
	stb %r1,%r2,6
	retf 0
	nop 0
;G_DoNewGame
	alloc 5
	stwr %gz,demoplayback
	stwr %gz,netdemo
;G_DoNewGame+16
	stwr %gz,netgame
	stwr %gz,deathmatch
	stwr %gz,playeringame+12
;G_DoNewGame+32
	stwr %gz,playeringame+8
	stwr %gz,playeringame+4
	stwr %gz,respawnparm
;G_DoNewGame+48
	stwr %gz,fastparm
	stwr %gz,nomonsters
	stwr %gz,consoleplayer
;G_DoNewGame+64
	ldwzr %r2,d_skill
	ldwzr %r3,d_episode
	ldwzr %r4,d_map
;G_DoNewGame+80
	callr %r1,G_InitNew
	stwr %gz,gameaction
	retf 0
;G_DoLoadGame
	alloc 7
	stwr %gz,gameaction
	ldafr %r5,savename
;G_DoLoadGame+16
	ldafr %r6,.rodata+12248
	callr %r4,fopen
	stdr %r5,save_stream
;G_DoLoadGame+32
	bdeq %r5,%gz,G_DoLoadGame+176
	stwr %gz,savegame_error
	callr %r5,P_ReadSaveGameHeader
;G_DoLoadGame+48
	bweq %r6,%gz,G_DoLoadGame+192
	ldwzr %r2,leveltime
	ldwzr %r4,gameskill
;G_DoLoadGame+64
	ldwzr %r5,gameepisode
	ldwzr %r6,gamemap
	callr %r3,G_InitNew
;G_DoLoadGame+80
	stwr %r2,leveltime
	callr %r6,P_UnArchivePlayers
	callr %r6,P_UnArchiveWorld
;G_DoLoadGame+96
	callr %r6,P_UnArchiveThinkers
	callr %r6,P_UnArchiveSpecials
	callr %r5,P_ReadSaveGameEOF
;G_DoLoadGame+112
	bwne %r6,%gz,G_DoLoadGame+128
	ldafr %r6,.rodata+4837
	callr %r5,I_Error
;G_DoLoadGame+128
	lddzr %r6,save_stream
	callr %r5,fclose
	ldwzr %r1,setsizeneeded
;G_DoLoadGame+144
	bweq %r1,%gz,G_DoLoadGame+160
	callr %r6,R_ExecuteSetViewSize
	nop 0
;G_DoLoadGame+160
	callr %r6,R_FillBackScreen
	nop 0
	nop 0
;G_DoLoadGame+176
	retf 0
	nop 0
	nop 0
;G_DoLoadGame+192
	lddzr %r6,save_stream
	callr %r5,fclose
	retf 0
;G_DoSaveGame
	allocsp 9,16
	callr %r7,P_TempSaveGameFile
	mov %r1,%r8
;G_DoSaveGame+16
	ldwzr %r8,savegameslot
	callr %r7,P_SaveGameFile
	mov %r2,%r8
;G_DoSaveGame+32
	ldafr %r8,.rodata+3835
	mov %r7,%r1
	callr %r6,fopen
;G_DoSaveGame+48
	mov %r3,%gz
	stdr %r7,save_stream
	bdne %r7,%gz,G_DoSaveGame+128
;G_DoSaveGame+64
	ldafr %r8,.rodata+16453
	callr %r7,M_TempFile
	mov %r3,%r8
;G_DoSaveGame+80
	ldafr %r8,.rodata+3835
	mov %r7,%r3
	callr %r6,fopen
;G_DoSaveGame+96
	stdr %r7,save_stream
	bdne %r7,%gz,G_DoSaveGame+128
	std %r3,%sp,8
;G_DoSaveGame+112
	ldafr %r8,.rodata+3114
	std %r1,%sp,0
	callr %r7,I_Error
;G_DoSaveGame+128
	stwr %gz,savegame_error
	ldafr %r8,savedescription
	callr %r7,P_WriteSaveGameHeader
;G_DoSaveGame+144
	callr %r8,P_ArchivePlayers
	callr %r8,P_ArchiveWorld
	callr %r8,P_ArchiveThinkers
;G_DoSaveGame+160
	callr %r8,P_ArchiveSpecials
	callr %r8,P_WriteSaveGameEOF
	ldwzr %r4,vanilla_savegame_limit
;G_DoSaveGame+176
	bweq %r4,%gz,G_DoSaveGame+224
	lddzr %r8,save_stream
	callr %r7,ftell
;G_DoSaveGame+192
	bdlti.l %r8,180225,G_DoSaveGame+224
	ldafr %r8,.rodata+25031
;G_DoSaveGame+208
	callr %r7,I_Error
	nop 0
	nop 0
;G_DoSaveGame+224
	lddzr %r8,save_stream
	callr %r7,fclose
	bdeq %r3,%gz,G_DoSaveGame+272
;G_DoSaveGame+240
	std %r3,%sp,8
	ldafr %r8,.rodata+11537
	std %r1,%sp,0
;G_DoSaveGame+256
	callr %r7,I_Error
	nop 0
	nop 0
;G_DoSaveGame+272
	mov %r8,%r2
	callr %r7,remove
	mov2 %r7,%r8,%r1,%r2
;G_DoSaveGame+288
	callr %r6,rename
	stwr %gz,gameaction
	ldafr %r6,savedescription
;G_DoSaveGame+304
	ldafr %r7,.rodata+6226
	ldi %r8,32
	callr %r5,M_StringCopy
;G_DoSaveGame+320
	ldwsr %r1,consoleplayer
	muli %r1,%r1,328
	ldafr %r2,.rodata+1504
;G_DoSaveGame+336
	ldafr %r3,players+232
	stdx.xd %r2,%r1,%r3,0,0
	callr %r8,R_FillBackScreen
;G_DoSaveGame+352
	retf 16
	nop 0
	nop 0
;G_DoPlayDemo
	allocsp 12,16
	stwr %gz,gameaction
	lddzr %r10,defdemoname
;G_DoPlayDemo+16
	ldi %r1,1
	mov %r11,%r1
	callr %r9,W_CacheLumpName
;G_DoPlayDemo+32
	ldwzr %r2,gameversion
	stdr %r10,demobuffer
	addi %r3,%r10,1
;G_DoPlayDemo+48
	stdr %r3,demo_p
	ldbz %r4,%r10,0
	bdgeui %r2,4,G_DoPlayDemo+176
;G_DoPlayDemo+64
	ldafr %r5,.rodata+33208
	ldi %r3,106
	jmpt %r5,%r2
;G_DoPlayDemo+80
	ldafr %r11,.rodata+7776
	callr %r10,I_Error
	bweq %r3,%r4,G_DoPlayDemo+160
;G_DoPlayDemo+96
	jmp G_DoPlayDemo+192
	nop 0
	nop 0
;G_DoPlayDemo+112
	ldi %r3,107
	bweq %r3,%r4,G_DoPlayDemo+160
	jmp G_DoPlayDemo+192
;G_DoPlayDemo+128
	ldi %r3,108
	nop 0
	nop 0
;G_DoPlayDemo+144
	bwne %r3,%r4,G_DoPlayDemo+192
	nop 0
	nop 0
;G_DoPlayDemo+160
	stwr %gz,longtics
	jmp G_DoPlayDemo+480
	nop 0
;G_DoPlayDemo+176
	ldi %r3,109
	bweq %r3,%r4,G_DoPlayDemo+160
	nop 0
;G_DoPlayDemo+192
	bwnei %r4,111,G_DoPlayDemo+208
	stwr %r1,longtics
	jmp G_DoPlayDemo+480
;G_DoPlayDemo+208
	ldwzr %r2,gameversion
	bdgeui %r2,4,G_DoPlayDemo+288
	ldafr %r3,.rodata+33224
;G_DoPlayDemo+224
	ldi %r5,106
	jmpt %r3,%r2
	nop 0
;G_DoPlayDemo+240
	ldafr %r11,.rodata+7776
	callr %r10,I_Error
	jmp G_DoPlayDemo+304
;G_DoPlayDemo+256
	ldi %r5,107
	jmp G_DoPlayDemo+304
	nop 0
;G_DoPlayDemo+272
	ldi %r5,108
	jmp G_DoPlayDemo+304
	nop 0
;G_DoPlayDemo+288
	ldi %r5,109
	nop 0
	nop 0
;G_DoPlayDemo+304
	addiws %r2,%r4,-104
	andi %r3,%r2,255
	bwgeui %r3,6,G_DoPlayDemo+352
;G_DoPlayDemo+320
	andi %r2,%r2,255
	ldafr %r3,.Lswitch.table.G_DoPlayDemo.rel
	ldwsx.xd %r2,%r3,%r2,2,0
;G_DoPlayDemo+336
	add %r2,%r2,%r3
	jmp G_DoPlayDemo+448
	nop 0
;G_DoPlayDemo+352
	bwgeui %r4,5,G_DoPlayDemo+368
	ldafr %r2,.rodata+25097
	jmp G_DoPlayDemo+448
;G_DoPlayDemo+368
	andi %r2,%r4,255
	mulwsi %r2,%r2,41
	srliw %r2,%r2,12
;G_DoPlayDemo+384
	mulwsi %r3,%r2,100
	subws %r3,%r4,%r3
	andi %r3,%r3,255
;G_DoPlayDemo+400
	stw %r2,%sp,0
	ldafr %r2,DemoVersionDescription.resultbuf
	ldafr %r11,.rodata+12251
;G_DoPlayDemo+416
	ldi %r10,16
	stw %r3,%sp,4
	mov %r9,%r2
;G_DoPlayDemo+432
	callr %r8,M_snprintf
	nop 0
	nop 0
;G_DoPlayDemo+448
	std %r2,%sp,8
	stw %r5,%sp,4
	ldafr %r11,.rodata+13281
;G_DoPlayDemo+464
	stw %r4,%sp,0
	callr %r10,printf
	nop 0
;G_DoPlayDemo+480
	lddzr %r5,demo_p
	addi %r2,%r5,1
	stdr %r2,demo_p
;G_DoPlayDemo+496
	ldbz %r9,%r5,0
	addi %r2,%r5,2
	stdr %r2,demo_p
;G_DoPlayDemo+512
	ldbz %r2,%r5,1
	addi %r3,%r5,3
	stdr %r3,demo_p
;G_DoPlayDemo+528
	ldbz %r3,%r5,2
	addi %r4,%r5,4
	stdr %r4,demo_p
;G_DoPlayDemo+544
	ldbz %r4,%r5,3
	stwr %r4,deathmatch
	addi %r4,%r5,5
;G_DoPlayDemo+560
	stdr %r4,demo_p
	ldbz %r4,%r5,4
	stwr %r4,respawnparm
;G_DoPlayDemo+576
	addi %r4,%r5,6
	stdr %r4,demo_p
	ldbz %r4,%r5,5
;G_DoPlayDemo+592
	stwr %r4,fastparm
	addi %r4,%r5,7
	stdr %r4,demo_p
;G_DoPlayDemo+608
	ldbz %r4,%r5,6
	stwr %r4,nomonsters
	addi %r4,%r5,8
;G_DoPlayDemo+624
	stdr %r4,demo_p
	ldbz %r6,%r5,7
	mov %r4,%gz
;G_DoPlayDemo+640
	stwr %r6,consoleplayer
	addi %r5,%r5,9
	ldafr %r6,playeringame
;G_DoPlayDemo+656
	stdr %r5,demo_p
	ldbz %r7,%r5,-1
	stwx.xd %r7,%r4,%r6,0,0
;G_DoPlayDemo+672
	addi %r4,%r4,4
	addi %r5,%r5,1
	bdnei %r4,16,G_DoPlayDemo+656
;G_DoPlayDemo+688
	ldwzr %r4,playeringame+4
	bwne %r4,%gz,G_DoPlayDemo+736
	ldafr %r11,.rodata+10612
;G_DoPlayDemo+704
	callr %r10,M_CheckParm
	bwlt %gz,%r11,G_DoPlayDemo+736
	ldafr %r11,.rodata+1516
;G_DoPlayDemo+720
	callr %r10,M_CheckParm
	bwlti %r11,1,G_DoPlayDemo+752
	nop 0
;G_DoPlayDemo+736
	stwr %r1,netgame
	stwr %r1,netdemo
	nop 0
;G_DoPlayDemo+752
	stwr %gz,precache
	mov2 %r10,%r11,%r2,%r3
	callr %r8,G_InitNew
;G_DoPlayDemo+768
	stwr %r1,precache
	callr %r10,I_GetTime
	stwr %r11,starttime
;G_DoPlayDemo+784
	stwr %gz,usergame
	stwr %r1,demoplayback
	retf 16
;G_DoCompleted
	alloc 13
	mov %r1,%gz
	stwr %gz,gameaction
;G_DoCompleted+16
	ldafr %r3,players+260
	ldafr %r2,playeringame
	jmp G_DoCompleted+48
;G_DoCompleted+32
	addi %r1,%r1,4
	addi %r3,%r3,328
	bdeqi %r1,16,G_DoCompleted+128
;G_DoCompleted+48
	ldwzx.xd %r4,%r1,%r2,0,0
	bweq %r4,%gz,G_DoCompleted+32
	std %gz,%r3,-164
;G_DoCompleted+64
	std %gz,%r3,-172
	std %gz,%r3,-180
	std %gz,%r3,-188
;G_DoCompleted+80
	std %gz,%r3,-196
	std %gz,%r3,-204
	lddz %r4,%r3,-260
;G_DoCompleted+96
	ldwz %r5,%r4,160
	andi %r5,%r5,-262145
	stw %r5,%r4,160
;G_DoCompleted+112
	std %gz,%r3,-4
	std %gz,%r3,-20
	jmp G_DoCompleted+32
;G_DoCompleted+128
	ldwzr %r1,automapactive
	bweq %r1,%gz,G_DoCompleted+144
	callr %r12,AM_Stop
;G_DoCompleted+144
	ldwzr %r1,gamemode
	bwnei %r1,2,G_DoCompleted+176
	ldwzr %r3,gamemap
;G_DoCompleted+160
	cmpwnei %r7,%r3,9
	jmp G_DoCompleted+352
	nop 0
;G_DoCompleted+176
	ldwzr %r4,gameversion
	ldi %r7,1
	ldwzr %r3,gamemap
;G_DoCompleted+192
	bwnei %r4,9,G_DoCompleted+224
	bweqi %r3,5,G_DoCompleted+480
	bweqi %r3,8,G_DoCompleted+480
;G_DoCompleted+208
	bweqi %r3,9,G_DoCompleted+288
	jmp G_DoCompleted+352
	nop 0
;G_DoCompleted+224
	bweqi %r3,8,G_DoCompleted+480
	bwnei %r3,9,G_DoCompleted+352
	ldi %r3,320
;G_DoCompleted+240
	ldafr %r4,players
	ldi %r5,1
	nop 0
;G_DoCompleted+256
	stwx.xd %r5,%r3,%r4,0,0
	addi %r3,%r3,328
	nop 2
;G_DoCompleted+272
	bdnei.l %r3,1632,G_DoCompleted+256
	nop 0
;G_DoCompleted+288
	ldi %r4,320
	ldafr %r5,players
	ldi %r6,1
;G_DoCompleted+304
	ldi %r3,9
	nop 0
	nop 0
;G_DoCompleted+320
	stwx.xd %r6,%r4,%r5,0,0
	addi %r4,%r4,328
	nop 2
;G_DoCompleted+336
	bdnei.l %r4,1632,G_DoCompleted+320
	mov %r7,%gz
;G_DoCompleted+352
	ldwzr %r4,consoleplayer
	sraiw %r5,%r4,0
	muli %r5,%r5,328
;G_DoCompleted+368
	ldafr %r6,players+320
	ldwzx.xd %r6,%r5,%r6,0,0
	ldwzr %r5,gameepisode
;G_DoCompleted+384
	stwr %r6,wminfo+4
	addiws %r8,%r5,-1
	stwr %r8,wminfo
;G_DoCompleted+400
	addiws %r6,%r3,-1
	stwr %r6,wminfo+8
	ldwzr %r9,secretexit
;G_DoCompleted+416
	bwnei %r1,2,G_DoCompleted+448
	bweq %r9,%gz,G_DoCompleted+528
	bweqi %r3,15,G_DoCompleted+560
;G_DoCompleted+432
	bwnei %r3,31,G_DoCompleted+592
	ldi %r7,31
	jmp G_DoCompleted+576
;G_DoCompleted+448
	cmpwnei %r10,%r9,0
	or %r7,%r10,%r7
	bbci %r7,0,G_DoCompleted+496
;G_DoCompleted+464
	ldi %r7,8
	cmovweq %r7,%r9,%r3,%r7
	jmp G_DoCompleted+576
;G_DoCompleted+480
	ldi %r1,7
	stwr %r1,gameaction
	retf 0
;G_DoCompleted+496
	bwgeui %r8,4,G_DoCompleted+592
	ldafr %r7,.rodata+28868
	ldwzx.xuw %r7,%r7,%r8,2,0
;G_DoCompleted+512
	jmp G_DoCompleted+576
	nop 0
	nop 0
;G_DoCompleted+528
	addiws %r7,%r3,-31
	cmpwltui %r7,%r7,2
	ldi %r8,15
;G_DoCompleted+544
	cmovlsb %r7,%r7,%r8,%r3
	jmp G_DoCompleted+576
	nop 0
;G_DoCompleted+560
	ldi %r7,30
	nop 0
	nop 0
;G_DoCompleted+576
	stwr %r7,wminfo+12
	nop 0
	nop 0
;G_DoCompleted+592
	ldwzr %r7,totalkills
	ldwzr %r8,totalitems
	ldwzr %r9,totalsecret
;G_DoCompleted+608
	stwr %r7,wminfo+16
	stwr %r8,wminfo+20
	stwr %r9,wminfo+24
;G_DoCompleted+624
	stwr %gz,wminfo+28
	bwnei %r1,2,G_DoCompleted+656
	ldafr %r1,cpars
;G_DoCompleted+640
	ldax.xw %r1,%r1,%r6,2,0
	jmp G_DoCompleted+720
	nop 0
;G_DoCompleted+656
	bwgei %r5,4,G_DoCompleted+704
	sraiw %r1,%r5,0
	sraiw %r3,%r3,0
;G_DoCompleted+672
	slli %r3,%r3,2
	muli %r1,%r1,40
	ldafr %r5,pars
;G_DoCompleted+688
	addadd %r1,%r1,%r3,%r5
	jmp G_DoCompleted+720
	nop 0
;G_DoCompleted+704
	ldafr %r1,cpars
	ldax.xw %r1,%r1,%r3,2,0
	nop 0
;G_DoCompleted+720
	ldwz %r3,%r1,0
	mov %r1,%gz
	mulwsi %r3,%r3,35
;G_DoCompleted+736
	stwr %r3,wminfo+32
	stwr %r4,wminfo+36
	ldafr %r3,players+224
;G_DoCompleted+752
	ldafr %r4,wminfo+60
	ldwzr %r5,leveltime
	nop 0
;G_DoCompleted+768
	ldwzx.xd %r6,%r1,%r2,0,0
	ldwz %r7,%r3,-8
	ldwz %r8,%r3,-4
;G_DoCompleted+784
	ldwz %r9,%r3,0
	stw %r6,%r4,-20
	stw %r7,%r4,-16
;G_DoCompleted+800
	stw %r8,%r4,-12
	stw %r9,%r4,-8
	stw %r5,%r4,-4
;G_DoCompleted+816
	ldwz %r6,%r3,-116
	ldwz %r7,%r3,-112
	ldwz %r8,%r3,-108
;G_DoCompleted+832
	ldwz %r9,%r3,-104
	stw %r6,%r4,0
	stw %r7,%r4,4
;G_DoCompleted+848
	stw %r8,%r4,8
	stw %r9,%r4,12
	addi %r3,%r3,328
;G_DoCompleted+864
	addi %r1,%r1,4
	addi %r4,%r4,40
	bdnei %r1,16,G_DoCompleted+768
;G_DoCompleted+880
	ldi %r1,1
	stwr %r1,gamestate
	stwr %gz,viewactive
;G_DoCompleted+896
	stwr %gz,automapactive
	ldafr %r1,wminfo
	mov %r12,%r1
;G_DoCompleted+912
	callr %r11,StatCopy
	mov %r12,%r1
	callr %r11,WI_Start
;G_DoCompleted+928
	retf 0
	nop 0
	nop 0
;G_DoWorldDone
	alloc 3
	ldwzr %r1,wminfo+12
	stwr %gz,gamestate
;G_DoWorldDone+16
	addiws %r1,%r1,1
	stwr %r1,gamemap
	callr %r2,G_DoLoadLevel
;G_DoWorldDone+32
	stwr %gz,gameaction
	ldi %r1,1
	stwr %r1,viewactive
;G_DoWorldDone+48
	retf 0
	nop 0
	nop 0
;G_ReadDemoTiccmd
	alloc 8
	lddzr %r2,demo_p
	ldbz %r3,%r2,0
;G_ReadDemoTiccmd+16
	bwnei %r3,128,G_ReadDemoTiccmd+32
	callr %r6,G_CheckDemoStatus
	retf 0
;G_ReadDemoTiccmd+32
	addi %r3,%r2,1
	stdr %r3,demo_p
	ldbz %r3,%r2,0
;G_ReadDemoTiccmd+48
	stb %r3,%r1,0
	addi %r3,%r2,2
	stdr %r3,demo_p
;G_ReadDemoTiccmd+64
	ldbz %r3,%r2,1
	stb %r3,%r1,1
	ldwzr %r5,longtics
;G_ReadDemoTiccmd+80
	addi %r3,%r2,3
	stdr %r3,demo_p
	ldbz %r4,%r2,2
;G_ReadDemoTiccmd+96
	bweq %r5,%gz,G_ReadDemoTiccmd+144
	sth %r4,%r1,2
	addi %r3,%r2,4
;G_ReadDemoTiccmd+112
	stdr %r3,demo_p
	ldbz %r2,%r2,3
	slor %r2,%r4,%r2,8
;G_ReadDemoTiccmd+128
	jmp G_ReadDemoTiccmd+160
	nop 0
	nop 0
;G_ReadDemoTiccmd+144
	slliw %r2,%r4,8
	nop 0
	nop 0
;G_ReadDemoTiccmd+160
	sth %r2,%r1,2
	addi %r2,%r3,1
	stdr %r2,demo_p
;G_ReadDemoTiccmd+176
	ldbz %r2,%r3,0
	stb %r2,%r1,5
	retf 0
;G_WriteDemoTiccmd
	alloc 10
	ldwsr %r2,key_demo_quit
	ldafr %r3,gamekeydown
;G_WriteDemoTiccmd+16
	ldwzx.xd %r2,%r3,%r2,2,0
	bweq %r2,%gz,G_WriteDemoTiccmd+32
	callr %r8,G_CheckDemoStatus
;G_WriteDemoTiccmd+32
	lddzr %r2,demo_p
	ldbz %r3,%r1,0
	addi %r4,%r2,1
;G_WriteDemoTiccmd+48
	stdr %r4,demo_p
	stb %r3,%r2,0
	lddzr %r3,demo_p
;G_WriteDemoTiccmd+64
	ldbz %r4,%r1,1
	addi %r5,%r3,1
	stdr %r5,demo_p
;G_WriteDemoTiccmd+80
	stb %r4,%r3,0
	ldwzr %r4,longtics
	ldhz %r3,%r1,2
;G_WriteDemoTiccmd+96
	bweq %r4,%gz,G_WriteDemoTiccmd+144
	lddzr %r4,demo_p
	addi %r5,%r4,1
;G_WriteDemoTiccmd+112
	stdr %r5,demo_p
	stb %r3,%r4,0
	ldbz %r3,%r1,3
;G_WriteDemoTiccmd+128
	jmp G_WriteDemoTiccmd+160
	nop 0
	nop 0
;G_WriteDemoTiccmd+144
	srliw %r3,%r3,8
	nop 0
	nop 0
;G_WriteDemoTiccmd+160
	lddzr %r4,demo_p
	addi %r5,%r4,1
	stdr %r5,demo_p
;G_WriteDemoTiccmd+176
	stb %r3,%r4,0
	ldbz %r3,%r1,5
	lddzr %r4,demo_p
;G_WriteDemoTiccmd+192
	stb %r3,%r4,0
	lddzr %r3,demoend
	addi %r4,%r3,-16
;G_WriteDemoTiccmd+208
	stdr %r2,demo_p
	bdleu %r2,%r4,G_WriteDemoTiccmd+352
	ldwzr %r2,vanilla_demo_limit
;G_WriteDemoTiccmd+224
	bweq %r2,%gz,G_WriteDemoTiccmd+240
	callr %r8,G_CheckDemoStatus
	retf 0
;G_WriteDemoTiccmd+240
	lddzr %r2,demobuffer
	sub %r4,%r3,%r2
	slliw %r7,%r4,1
;G_WriteDemoTiccmd+256
	ldi %r8,1
	mov %r9,%gz
	callr %r6,Z_Malloc
;G_WriteDemoTiccmd+272
	lddzr %r3,demo_p
	lddzr %r8,demobuffer
	mov %r2,%r7
;G_WriteDemoTiccmd+288
	sub %r3,%r3,%r8
	add %r5,%r7,%r3
	sraiw %r9,%r4,0
;G_WriteDemoTiccmd+304
	callr %r6,memcpy
	lddzr %r9,demobuffer
	callr %r8,Z_Free
;G_WriteDemoTiccmd+320
	stdr %r2,demobuffer
	stdr %r5,demo_p
	ldax.xw %r2,%r2,%r4,1,0
;G_WriteDemoTiccmd+336
	stdr %r2,demoend
	nop 0
	nop 0
;G_WriteDemoTiccmd+352
	mov %r9,%r1
	callr %r8,G_ReadDemoTiccmd
	retf 0
;G_InitPlayer
	allocsp 15,16
	sraiw %r1,%r1,0
	ldafr %r2,players
;G_InitPlayer+16
	ldi %r14,328
	muladd %r12,%r1,%r14,%r2
	muli %r2,%r1,328
;G_InitPlayer+32
	ldafr %r3,players+108
	ldwzx.xd %r1,%r2,%r3,0,4
	ldwzx.xd %r4,%r2,%r3,0,0
;G_InitPlayer+48
	ldwzx.xd %r5,%r2,%r3,0,8
	ldwzx.xd %r6,%r2,%r3,0,12
	sllqi %r1,%r1,32
;G_InitPlayer+64
	or %r1,%r1,%r4
	sllqi %r4,%r5,0
	sllqi %r5,%r6,32
;G_InitPlayer+80
	or %r4,%r5,%r4
	or %r1,%r4,%r1
	stq %r1,%sp,0
;G_InitPlayer+96
	ldafr %r4,players+216
	lddzx.xd %r5,%r2,%r4,0,0
	ldafr %r6,players+224
;G_InitPlayer+112
	ldwzx.xd %r7,%r2,%r6,0,0
	mov %r13,%gz
	callr %r11,memset
;G_InitPlayer+128
	ldwz %r1,%sp,0
	addi %r8,%sp,0
	ori %r9,%r8,4
;G_InitPlayer+144
	ldwz %r9,%r9,0
	ori %r10,%r8,8
	ldwz %r10,%r10,0
;G_InitPlayer+160
	ori %r8,%r8,12
	ldwz %r8,%r8,0
	stwx.xd %r1,%r2,%r3,0,0
;G_InitPlayer+176
	ldafr %r1,players+112
	stwx.xd %r9,%r2,%r1,0,0
	ldafr %r1,players+116
;G_InitPlayer+192
	stwx.xd %r10,%r2,%r1,0,0
	ldafr %r1,players+120
	stwx.xd %r8,%r2,%r1,0,0
;G_InitPlayer+208
	stdx.xd %r5,%r2,%r4,0,0
	stwx.xd %r7,%r2,%r6,0,0
	ldafr %r1,players+200
;G_InitPlayer+224
	ldi.l %r3,4294967297
	stdx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+240
	ldafr %r1,players+44
	ldi %r3,100
	stwx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+256
	ldafr %r1,players+128
	ldi %r3,1
	stwx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+272
	ldafr %r1,players+124
	stwx.xd %r3,%r2,%r1,0,0
	ldafr %r1,players+132
;G_InitPlayer+288
	stwx.xd %r3,%r2,%r1,0,0
	ldafr %r1,players+136
	stwx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+304
	ldafr %r1,players+168
	ldi %r3,50
	stwx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+320
	ldwzr %r1,maxammo+12
	ldafr %r3,players+196
	ldwzr %r4,maxammo+8
;G_InitPlayer+336
	ldwzr %r5,maxammo+4
	ldwzr %r6,maxammo
	stwx.xd %r1,%r2,%r3,0,0
;G_InitPlayer+352
	ldafr %r1,players+192
	stwx.xd %r4,%r2,%r1,0,0
	ldafr %r1,players+188
;G_InitPlayer+368
	stwx.xd %r5,%r2,%r1,0,0
	ldafr %r1,players+184
	stwx.xd %r6,%r2,%r1,0,0
;G_InitPlayer+384
	retf 16
	nop 0
	nop 0
;G_PlayerReborn
	allocsp 15,16
	sraiw %r1,%r1,0
	ldafr %r2,players
;G_PlayerReborn+16
	ldi %r14,328
	muladd %r12,%r1,%r14,%r2
	muli %r2,%r1,328
;G_PlayerReborn+32
	ldafr %r3,players+108
	ldwzx.xd %r1,%r2,%r3,0,4
	ldwzx.xd %r4,%r2,%r3,0,0
;G_PlayerReborn+48
	ldwzx.xd %r5,%r2,%r3,0,8
	ldwzx.xd %r6,%r2,%r3,0,12
	sllqi %r1,%r1,32
;G_PlayerReborn+64
	or %r1,%r1,%r4
	sllqi %r4,%r5,0
	sllqi %r5,%r6,32
;G_PlayerReborn+80
	or %r4,%r5,%r4
	or %r1,%r4,%r1
	stq %r1,%sp,0
;G_PlayerReborn+96
	ldafr %r4,players+216
	lddzx.xd %r5,%r2,%r4,0,0
	ldafr %r6,players+224
;G_PlayerReborn+112
	ldwzx.xd %r7,%r2,%r6,0,0
	mov %r13,%gz
	callr %r11,memset
;G_PlayerReborn+128
	ldwz %r1,%sp,0
	addi %r8,%sp,0
	ori %r9,%r8,4
;G_PlayerReborn+144
	ldwz %r9,%r9,0
	ori %r10,%r8,8
	ldwz %r10,%r10,0
;G_PlayerReborn+160
	ori %r8,%r8,12
	ldwz %r8,%r8,0
	stwx.xd %r1,%r2,%r3,0,0
;G_PlayerReborn+176
	ldafr %r1,players+112
	stwx.xd %r9,%r2,%r1,0,0
	ldafr %r1,players+116
;G_PlayerReborn+192
	stwx.xd %r10,%r2,%r1,0,0
	ldafr %r1,players+120
	stwx.xd %r8,%r2,%r1,0,0
;G_PlayerReborn+208
	stdx.xd %r5,%r2,%r4,0,0
	stwx.xd %r7,%r2,%r6,0,0
	ldafr %r1,players+200
;G_PlayerReborn+224
	ldi.l %r3,4294967297
	stdx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+240
	ldafr %r1,players+44
	ldi %r3,100
	stwx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+256
	ldafr %r1,players+128
	ldi %r3,1
	stwx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+272
	ldafr %r1,players+124
	stwx.xd %r3,%r2,%r1,0,0
	ldafr %r1,players+132
;G_PlayerReborn+288
	stwx.xd %r3,%r2,%r1,0,0
	ldafr %r1,players+136
	stwx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+304
	ldafr %r1,players+168
	ldi %r3,50
	stwx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+320
	ldwzr %r1,maxammo+12
	ldafr %r3,players+196
	ldwzr %r4,maxammo+8
;G_PlayerReborn+336
	ldwzr %r5,maxammo+4
	ldwzr %r6,maxammo
	stwx.xd %r1,%r2,%r3,0,0
;G_PlayerReborn+352
	ldafr %r1,players+192
	stwx.xd %r4,%r2,%r1,0,0
	ldafr %r1,players+188
;G_PlayerReborn+368
	stwx.xd %r5,%r2,%r1,0,0
	ldafr %r1,players+184
	stwx.xd %r6,%r2,%r1,0,0
;G_PlayerReborn+384
	retf 16
	nop 0
	nop 0
;G_PlayerFinishLevel
	alloc 4
	sraiw %r1,%r1,0
	muli %r1,%r1,328
;G_PlayerFinishLevel+16
	ldafr %r2,players
	ldafr %r3,players+96
	stdx.xd %gz,%r1,%r3,0,0
;G_PlayerFinishLevel+32
	ldafr %r3,players+88
	stdx.xd %gz,%r1,%r3,0,0
	ldafr %r3,players+80
;G_PlayerFinishLevel+48
	stdx.xd %gz,%r1,%r3,0,0
	ldafr %r3,players+72
	stdx.xd %gz,%r1,%r3,0,0
;G_PlayerFinishLevel+64
	ldafr %r3,players+64
	stdx.xd %gz,%r1,%r3,0,0
	ldafr %r3,players+56
;G_PlayerFinishLevel+80
	stdx.xd %gz,%r1,%r3,0,0
	lddzx.xd %r2,%r1,%r2,0,0
	ldwz %r3,%r2,160
;G_PlayerFinishLevel+96
	andi %r3,%r3,-262145
	stw %r3,%r2,160
	ldafr %r2,players+256
;G_PlayerFinishLevel+112
	stdx.xd %gz,%r1,%r2,0,0
	ldafr %r2,players+240
	stdx.xd %gz,%r1,%r2,0,0
;G_PlayerFinishLevel+128
	retf 0
	nop 0
	nop 0
;G_CheckSpot
	allocsp 14,16
	mov %r3,%r1
	sraiw %r6,%r1,0
;G_CheckSpot+16
	ldafr %r5,players
	muli %r1,%r6,328
	lddzx.xd %r11,%r1,%r5,0,0
;G_CheckSpot+32
	bdeq %r11,%gz,G_CheckSpot+416
	ldbz %r1,%r2,0
	ldbz %r3,%r2,1
;G_CheckSpot+48
	ldbz %r4,%r2,3
	ldbz %r7,%r2,2
	slliw %r3,%r3,24
;G_CheckSpot+64
	slliw %r4,%r4,24
	slor %r3,%r3,%r1,16
	slor %r1,%r4,%r7,16
;G_CheckSpot+80
	mov2 %r12,%r13,%r3,%r1
	callr %r10,P_CheckPosition
	bweq %r11,%gz,G_CheckSpot+528
;G_CheckSpot+96
	ldwzr %r4,bodyqueslot
	ldi %r7,328
	muladd %r6,%r6,%r7,%r5
;G_CheckSpot+112
	ldafr %r5,bodyque
	bwlti %r4,32,G_CheckSpot+144
	andi %r4,%r4,31
;G_CheckSpot+128
	lddzx.xuw %r13,%r5,%r4,3,0
	callr %r12,P_RemoveMobj
	ldwzr %r4,bodyqueslot
;G_CheckSpot+144
	lddz %r6,%r6,0
	sraiw %r7,%r4,31
	srliw %r7,%r7,27
;G_CheckSpot+160
	addws %r7,%r4,%r7
	andi %r7,%r7,-32
	subws %r7,%r4,%r7
;G_CheckSpot+176
	stdx.xw %r6,%r5,%r7,3,0
	addiws %r4,%r4,1
	stwr %r4,bodyqueslot
;G_CheckSpot+192
	mov2 %r12,%r13,%r3,%r1
	callr %r11,R_PointInSubsector
	ldbs %r4,%r2,5
;G_CheckSpot+208
	ldbz %r2,%r2,4
	slor %r2,%r2,%r4,8
	mulwsi %r2,%r2,11651
;G_CheckSpot+224
	srliw %r4,%r2,31
	sraiw %r2,%r2,19
	addws %r4,%r2,%r4
;G_CheckSpot+240
	andi.l %r2,%r4,4194303
	slliw %r4,%r4,10
;G_CheckSpot+256
	bwgeui %r2,8,G_CheckSpot+608
	ldafr %r5,.rodata+33240
	jmpt %r5,%r2
;G_CheckSpot+272
	lddzr %r2,finecosine
	ldwzx.xw %r2,%r2,%r4,2,0
	ldafr %r5,finesine
;G_CheckSpot+288
	ldwzx.xw %r4,%r5,%r4,2,0
	nop 0
	nop 0
;G_CheckSpot+304
	mulwsi %r2,%r2,20
	lddz %r5,%r12,0
	addws %r10,%r2,%r3
;G_CheckSpot+320
	mulwsi %r2,%r4,20
	addws %r11,%r2,%r1
	ldwz %r12,%r5,0
;G_CheckSpot+336
	ldi %r13,39
	callr %r9,P_SpawnMobj
	ldwsr %r1,consoleplayer
;G_CheckSpot+352
	muli %r1,%r1,328
	ldafr %r2,players+28
	ldwzx.xd %r2,%r1,%r2,0,0
;G_CheckSpot+368
	ldi %r1,1
	bweqi %r2,1,G_CheckSpot+400
	ldi %r13,35
;G_CheckSpot+384
	mov %r12,%r10
	callr %r11,S_StartSound
	nop 0
;G_CheckSpot+400
	retf 16
	nop 0
	nop 0
;G_CheckSpot+416
	ldi %r1,1
	bwlti %r3,1,G_CheckSpot+400
	ldbz %r4,%r2,1
;G_CheckSpot+432
	ldbz %r6,%r2,0
	slliw %r4,%r4,24
	slor %r4,%r4,%r6,16
;G_CheckSpot+448
	srliw %r3,%r3,0
	jmp G_CheckSpot+480
	nop 0
;G_CheckSpot+464
	addi %r3,%r3,-1
	addi %r5,%r5,328
	bdeq %r3,%gz,G_CheckSpot+400
;G_CheckSpot+480
	lddz %r6,%r5,0
	ldwz %r7,%r6,24
	bwne %r7,%r4,G_CheckSpot+464
;G_CheckSpot+496
	ldbz %r7,%r2,3
	ldbz %r8,%r2,2
	ldwz %r6,%r6,28
;G_CheckSpot+512
	slliw %r7,%r7,24
	slor %r7,%r7,%r8,16
	bwne %r6,%r7,G_CheckSpot+464
;G_CheckSpot+528
	mov %r1,%gz
	retf 16
	nop 0
;G_CheckSpot+544
	ldwzr %r2,finetangent+8192
	ldwzr %r4,finetangent
	jmp G_CheckSpot+304
;G_CheckSpot+560
	ldwzr %r2,finesine+4096
	ldwzr %r4,finetangent+12288
	jmp G_CheckSpot+304
;G_CheckSpot+576
	ldwzr %r2,finetangent+12288
	ldwzr %r4,finetangent+4096
	jmp G_CheckSpot+304
;G_CheckSpot+592
	ldwzr %r2,finesine
	ldwzr %r4,finetangent+8192
	jmp G_CheckSpot+304
;G_CheckSpot+608
	ldafr %r13,.rodata+19685
	stw %r4,%sp,0
	mov %r4,%r12
;G_CheckSpot+624
	callr %r12,I_Error
	mov2 %r12,%r2,%r4,%gz
	mov %r4,%gz
;G_CheckSpot+640
	jmp G_CheckSpot+304
	nop 0
	nop 0
;G_DeathMatchSpawnPlayer
	allocsp 11,16
	lddzr %r2,deathmatch_p
	ldafr %r4,deathmatchstarts
;G_DeathMatchSpawnPlayer+16
	sub %r2,%r2,%r4
	srli %r2,%r2,1
	nop 2
;G_DeathMatchSpawnPlayer+32
	mulwsi.l %r5,%r2,-858993459
	bwgei %r5,4,G_DeathMatchSpawnPlayer+64
;G_DeathMatchSpawnPlayer+48
	ldafr %r10,.rodata+3077
	stw %r5,%sp,0
	callr %r9,I_Error
;G_DeathMatchSpawnPlayer+64
	mov %r2,%gz
	ldi %r6,10
	nop 0
;G_DeathMatchSpawnPlayer+80
	mov %r7,%r2
	callr %r9,P_Random
	modw %r2,%r10,%r5
;G_DeathMatchSpawnPlayer+96
	sraiw %r2,%r2,0
	muladd %r2,%r2,%r6,%r4
	mov2 %r9,%r10,%r1,%r2
;G_DeathMatchSpawnPlayer+112
	callr %r8,G_CheckSpot
	bwne %r9,%gz,G_DeathMatchSpawnPlayer+160
	addiws %r2,%r7,1
;G_DeathMatchSpawnPlayer+128
	bwltui %r7,19,G_DeathMatchSpawnPlayer+80
	sraiw %r1,%r1,0
	ldafr %r2,playerstarts
;G_DeathMatchSpawnPlayer+144
	muladd %r2,%r1,%r6,%r2
	jmp G_DeathMatchSpawnPlayer+192
	nop 0
;G_DeathMatchSpawnPlayer+160
	addiws %r1,%r1,1
	stb %r1,%r2,6
	srliw %r1,%r1,8
;G_DeathMatchSpawnPlayer+176
	stb %r1,%r2,7
	nop 0
	nop 0
;G_DeathMatchSpawnPlayer+192
	mov %r10,%r2
	callr %r9,P_SpawnPlayer
	retf 16
;G_ScreenShot
	alloc 2
	ldi %r1,9
	stwr %r1,gameaction
;G_ScreenShot+16
	retf 0
	nop 0
	nop 0
;G_ExitLevel
	alloc 2
	stwr %gz,secretexit
	ldi %r1,6
;G_ExitLevel+16
	stwr %r1,gameaction
	retf 0
	nop 0
;G_SecretExitLevel
	alloc 4
	ldwzr %r1,gamemode
	bwnei %r1,2,G_SecretExitLevel+32
;G_SecretExitLevel+16
	ldafr %r3,.rodata+26894
	callr %r2,W_CheckNumForName
	bwlt %r3,%gz,G_SecretExitLevel+80
;G_SecretExitLevel+32
	ldi %r1,1
	nop 0
	nop 0
;G_SecretExitLevel+48
	stwr %r1,secretexit
	ldi %r1,6
	stwr %r1,gameaction
;G_SecretExitLevel+64
	retf 0
	nop 0
	nop 0
;G_SecretExitLevel+80
	mov %r1,%gz
	jmp G_SecretExitLevel+48
	nop 0
;G_WorldDone
	alloc 6
	ldwzr %r1,secretexit
	ldi %r2,8
;G_WorldDone+16
	stwr %r2,gameaction
	ldi %r2,1
	bweq %r1,%gz,G_WorldDone+64
;G_WorldDone+32
	ldwsr %r3,consoleplayer
	muli %r3,%r3,328
	ldafr %r4,players+320
;G_WorldDone+48
	stwx.xd %r2,%r3,%r4,0,0
	nop 0
	nop 0
;G_WorldDone+64
	ldwzr %r3,gamemode
	bwnei %r3,2,G_WorldDone+160
	ldwzr %r3,gamemap
;G_WorldDone+80
	bwgeui %r3,32,G_WorldDone+160
	sllw %r2,%r2,%r3
	nop 2
;G_WorldDone+96
	andi.l %r3,%r2,1074792512
	bwne %r3,%gz,G_WorldDone+144
;G_WorldDone+112
	andi.l %r2,%r2,-2147450880
	bweq %r2,%gz,G_WorldDone+160
;G_WorldDone+128
	bweq %r1,%gz,G_WorldDone+160
	nop 0
	nop 0
;G_WorldDone+144
	callr %r5,F_StartFinale
	nop 0
	nop 0
;G_WorldDone+160
	retf 0
	nop 0
	nop 0
;G_LoadGame
	alloc 6
	ldafr %r3,savename
	ldi %r5,256
;G_LoadGame+16
	mov %r4,%r1
	callr %r2,M_StringCopy
	ldi %r1,3
;G_LoadGame+32
	stwr %r1,gameaction
	retf 0
	nop 0
;G_InitNew
	alloc 17
	ldwzr %r4,paused
	bweq %r4,%gz,G_InitNew+32
;G_InitNew+16
	stwr %gz,paused
	callr %r16,S_ResumeSound
	nop 0
;G_InitNew+32
	ldwzr %r4,gameversion
	ldi %r5,4
	cmpwgtui %r6,%r4,5
;G_InitNew+48
	cmovweq %r7,%r2,%r5,%r2
	ldi %r4,1
	ldwzr %r10,gamemode
;G_InitNew+64
	maxsw %r2,%r2,%r4
	ldi %r8,3
	minsw %r2,%r2,%r8
;G_InitNew+80
	cmovlsb %r6,%r6,%r7,%r2
	cmpwgti %r7,%r6,1
	cmovweq %r8,%r10,%r4,%r6
;G_InitNew+96
	maxsw %r9,%r3,%r4
	cmpwnei %r2,%r10,2
	ldi %r10,9
;G_InitNew+112
	cmpwgti %r3,%r3,9
	cmovlsb %r10,%r2,%r10,%r9
	callr %r16,M_ClearRandom
;G_InitNew+128
	ldwzr %r2,respawnparm
	ldwzr %r11,fastparm
	cmpwgti %r12,%r1,3
;G_InitNew+144
	cmpwnei %r2,%r2,0
	or %r2,%r12,%r2
	stwr %r2,respawnmonsters
;G_InitNew+160
	bwne %r11,%gz,G_InitNew+192
	ldwzr %r2,gameskill
	bwlti %r1,4,G_InitNew+480
;G_InitNew+176
	bweqi %r2,4,G_InitNew+480
	nop 0
	nop 0
;G_InitNew+192
	mov %r11,%gz
	ldafr %r12,states+19088
	ldi %r2,1310720
;G_InitNew+208
	ldwzx.xd %r13,%r11,%r12,0,0
	sraiw %r13,%r13,1
	stwx.xd %r13,%r11,%r12,0,0
;G_InitNew+224
	addi %r11,%r11,40
	bdnei %r11,520,G_InitNew+208
	mov %r11,%r2
;G_InitNew+240
	stwr %r2,mobjinfo+1532
	stwr %r11,mobjinfo+3004
	stwr %r11,mobjinfo+2912
;G_InitNew+256
	minsw %r5,%r1,%r5
	cmovlsb %r2,%r7,%r8,%r6
	cmovlsb %r1,%r3,%r10,%r9
;G_InitNew+272
	ldi %r3,8
	ldafr %r6,players
	ldi %r7,2
;G_InitNew+288
	stwx.xd %r7,%r3,%r6,0,0
	addi %r3,%r3,328
	nop 2
;G_InitNew+304
	bdnei.l %r3,1320,G_InitNew+288
	stwr %r4,usergame
;G_InitNew+320
	stwr %gz,paused
	stwr %gz,demoplayback
	stwr %gz,automapactive
;G_InitNew+336
	ldwzr %r3,gamemode
	stwr %r2,gameepisode
	stwr %r1,gamemap
;G_InitNew+352
	stwr %r5,gameskill
	stwr %r4,viewactive
	bwnei %r3,2,G_InitNew+400
;G_InitNew+368
	bwltui %r1,12,G_InitNew+432
	cmpwltui %r1,%r1,21
	ldafr %r2,.rodata+3041
;G_InitNew+384
	ldafr %r3,.rodata+7771
	cmovlsb %r16,%r1,%r3,%r2
	jmp G_InitNew+448
;G_InitNew+400
	addiws %r1,%r2,-2
	bwgeui %r1,3,G_InitNew+432
	ldafr %r2,.Lswitch.table.G_InitNew.rel
;G_InitNew+416
	ldwsx.xuw %r1,%r2,%r1,2,0
	add %r16,%r1,%r2
	jmp G_InitNew+448
;G_InitNew+432
	ldafr %r16,.rodata+8928
	nop 0
	nop 0
;G_InitNew+448
	callr %r15,R_TextureNumForName
	stwr %r16,skytexture
	callr %r16,G_DoLoadLevel
;G_InitNew+464
	retf 0
	nop 0
	nop 0
;G_InitNew+480
	bwgei %r1,4,G_InitNew+256
	bwnei %r2,4,G_InitNew+256
	mov %r12,%gz
;G_InitNew+496
	ldafr %r13,states+19088
	ldi %r11,655360
	ldi %r2,983040
;G_InitNew+512
	ldwzx.xd %r14,%r12,%r13,0,0
	slliw %r14,%r14,1
	stwx.xd %r14,%r12,%r13,0,0
;G_InitNew+528
	addi %r12,%r12,40
	bdnei %r12,520,G_InitNew+512
	jmp G_InitNew+240
;G_SaveGame
	alloc 7
	stwr %r1,savegameslot
	ldafr %r4,savedescription
;G_SaveGame+16
	ldi %r6,32
	mov %r5,%r2
	callr %r3,M_StringCopy
;G_SaveGame+32
	ldi %r1,1
	stwr %r1,sendsave
	retf 0
;G_DeferedInitNew
	alloc 4
	stwr %r1,d_skill
	stwr %r2,d_episode
;G_DeferedInitNew+16
	stwr %r3,d_map
	ldi %r1,2
	stwr %r1,gameaction
;G_DeferedInitNew+32
	retf 0
	nop 0
	nop 0
;G_CheckDemoStatus
	allocsp 9,16
	ldwzr %r1,timingdemo
	bweq %r1,%gz,G_CheckDemoStatus+128
;G_CheckDemoStatus+16
	callr %r7,I_GetTime
	ldwzr %r1,starttime
	ldwzr %r2,gametic
;G_CheckDemoStatus+32
	subws %r1,%r8,%r1
	fcvtiw2ss %r3,%r2,0
	nop 2
;G_CheckDemoStatus+48
	ldi.l %r4,1108082688
	fmulss %r3,%r3,%r4
;G_CheckDemoStatus+64
	fcvtiw2ss %r4,%r1,0
	fdivss %r3,%r3,%r4
	stwr %gz,timingdemo
;G_CheckDemoStatus+80
	stwr %gz,demoplayback
	fextss2sd %r3,%r3
	stw %r1,%sp,4
;G_CheckDemoStatus+96
	stw %r2,%sp,0
	ldafr %r8,.rodata+25055
	std %r3,%sp,8
;G_CheckDemoStatus+112
	callr %r7,I_Error
	nop 0
	nop 0
;G_CheckDemoStatus+128
	ldwzr %r1,demoplayback
	bweq %r1,%gz,G_CheckDemoStatus+240
	lddzr %r8,defdemoname
;G_CheckDemoStatus+144
	callr %r7,W_ReleaseLumpName
	stwr %gz,demoplayback
	stwr %gz,netdemo
;G_CheckDemoStatus+160
	stwr %gz,netgame
	stwr %gz,deathmatch
	stwr %gz,playeringame+12
;G_CheckDemoStatus+176
	stwr %gz,playeringame+8
	stwr %gz,playeringame+4
	ldwzr %r1,singledemo
;G_CheckDemoStatus+192
	stwr %gz,respawnparm
	stwr %gz,fastparm
	stwr %gz,nomonsters
;G_CheckDemoStatus+208
	stwr %gz,consoleplayer
	bweq %r1,%gz,G_CheckDemoStatus+368
	callr %r8,I_Quit
;G_CheckDemoStatus+224
	ldi %r1,1
	retf 16
	nop 0
;G_CheckDemoStatus+240
	ldwzr %r1,demorecording
	bweq %r1,%gz,G_CheckDemoStatus+352
	lddzr %r1,demo_p
;G_CheckDemoStatus+256
	addi %r2,%r1,1
	stdr %r2,demo_p
	ldi %r2,128
;G_CheckDemoStatus+272
	stb %r2,%r1,0
	lddzr %r7,demobuffer
	lddzr %r1,demo_p
;G_CheckDemoStatus+288
	lddzr %r6,demoname
	sub %r8,%r1,%r7
	callr %r5,M_WriteFile
;G_CheckDemoStatus+304
	lddzr %r8,demobuffer
	callr %r7,Z_Free
	stwr %gz,demorecording
;G_CheckDemoStatus+320
	lddzr %r1,demoname
	ldafr %r8,.rodata+20842
	std %r1,%sp,0
;G_CheckDemoStatus+336
	callr %r7,I_Error
	nop 0
	nop 0
;G_CheckDemoStatus+352
	mov %r1,%gz
	retf 16
	nop 0
;G_CheckDemoStatus+368
	callr %r8,D_AdvanceDemo
	ldi %r1,1
	retf 16
;G_RecordDemo
	allocsp 8,16
	stwr %gz,usergame
	mov %r7,%r1
;G_RecordDemo+16
	callr %r6,strlen
	addi %r2,%r7,5
	ldi %r3,1
;G_RecordDemo+32
	mov2 %r5,%r6,%r2,%r3
	mov %r7,%gz
	callr %r4,Z_Malloc
;G_RecordDemo+48
	stdr %r5,demoname
	ldafr %r7,.rodata+11095
	std %r1,%sp,0
;G_RecordDemo+64
	mov %r6,%r2
	callr %r4,M_snprintf
	ldafr %r6,.rodata+14279
;G_RecordDemo+80
	mov %r7,%r3
	callr %r5,M_CheckParmWithArgs
	bweq %r6,%gz,G_RecordDemo+128
;G_RecordDemo+96
	lddzr %r1,myargv
	lddzx.xw %r7,%r1,%r6,3,8
	callr %r6,atoi
;G_RecordDemo+112
	slliw %r2,%r7,10
	jmp G_RecordDemo+144
	nop 0
;G_RecordDemo+128
	ldi %r2,131072
	nop 0
	nop 0
;G_RecordDemo+144
	mov2 %r5,%r6,%r2,%r3
	mov %r7,%gz
	callr %r4,Z_Malloc
;G_RecordDemo+160
	stdr %r5,demobuffer
	ldax.xw %r1,%r5,%r2,0,0
	stdr %r1,demoend
;G_RecordDemo+176
	stwr %r3,demorecording
	retf 16
	nop 0
;G_VanillaVersionCode
	alloc 6
	ldwzr %r2,gameversion
	bdgeui %r2,4,G_VanillaVersionCode+80
;G_VanillaVersionCode+16
	ldafr %r3,.rodata+33272
	ldi %r1,106
	jmpt %r3,%r2
;G_VanillaVersionCode+32
	ldafr %r5,.rodata+7776
	callr %r4,I_Error
	retf 0
;G_VanillaVersionCode+48
	ldi %r1,107
	retf 0
	nop 0
;G_VanillaVersionCode+64
	ldi %r1,108
	retf 0
	nop 0
;G_VanillaVersionCode+80
	ldi %r1,109
	nop 0
	nop 0
;G_VanillaVersionCode+96
	retf 0
	nop 0
	nop 0
;G_BeginRecording
	alloc 8
	ldafr %r7,.rodata+27477
	callr %r6,M_CheckParm
;G_BeginRecording+16
	cmpweqi %r2,%r7,0
	lddzr %r1,demobuffer
	cmpwnei %r3,%r7,0
;G_BeginRecording+32
	stwr %r3,longtics
	stwr %r2,lowres_turn
	stdr %r1,demo_p
;G_BeginRecording+48
	bweq %r7,%gz,G_BeginRecording+80
	addi %r2,%r1,1
	stdr %r2,demo_p
;G_BeginRecording+64
	ldi %r2,111
	jmp G_BeginRecording+208
	nop 0
;G_BeginRecording+80
	ldwzr %r3,gameversion
	bdgeui %r3,4,G_BeginRecording+176
	ldafr %r4,.rodata+33288
;G_BeginRecording+96
	ldi %r2,106
	jmpt %r4,%r3
	nop 0
;G_BeginRecording+112
	ldafr %r7,.rodata+7776
	callr %r6,I_Error
	lddzr %r1,demo_p
;G_BeginRecording+128
	jmp G_BeginRecording+192
	nop 0
	nop 0
;G_BeginRecording+144
	ldi %r2,107
	jmp G_BeginRecording+192
	nop 0
;G_BeginRecording+160
	ldi %r2,108
	jmp G_BeginRecording+192
	nop 0
;G_BeginRecording+176
	ldi %r2,109
	nop 0
	nop 0
;G_BeginRecording+192
	addi %r3,%r1,1
	stdr %r3,demo_p
	nop 0
;G_BeginRecording+208
	stb %r2,%r1,0
	lddzr %r1,demo_p
	ldwzr %r2,gameskill
;G_BeginRecording+224
	addi %r3,%r1,1
	stdr %r3,demo_p
	stb %r2,%r1,0
;G_BeginRecording+240
	lddzr %r1,demo_p
	ldwzr %r2,gameepisode
	addi %r3,%r1,1
;G_BeginRecording+256
	stdr %r3,demo_p
	stb %r2,%r1,0
	lddzr %r1,demo_p
;G_BeginRecording+272
	ldwzr %r2,gamemap
	addi %r3,%r1,1
	stdr %r3,demo_p
;G_BeginRecording+288
	stb %r2,%r1,0
	lddzr %r1,demo_p
	ldwzr %r2,deathmatch
;G_BeginRecording+304
	addi %r3,%r1,1
	stdr %r3,demo_p
	stb %r2,%r1,0
;G_BeginRecording+320
	lddzr %r1,demo_p
	ldwzr %r2,respawnparm
	addi %r3,%r1,1
;G_BeginRecording+336
	stdr %r3,demo_p
	stb %r2,%r1,0
	lddzr %r1,demo_p
;G_BeginRecording+352
	ldwzr %r2,fastparm
	addi %r3,%r1,1
	stdr %r3,demo_p
;G_BeginRecording+368
	stb %r2,%r1,0
	lddzr %r1,demo_p
	ldwzr %r2,nomonsters
;G_BeginRecording+384
	addi %r3,%r1,1
	stdr %r3,demo_p
	stb %r2,%r1,0
;G_BeginRecording+400
	lddzr %r2,demo_p
	ldwzr %r3,consoleplayer
	mov %r1,%gz
;G_BeginRecording+416
	addi %r4,%r2,1
	stdr %r4,demo_p
	stb %r3,%r2,0
;G_BeginRecording+432
	ldafr %r2,playeringame
	nop 0
	nop 0
;G_BeginRecording+448
	lddzr %r3,demo_p
	ldwzx.xd %r4,%r1,%r2,0,0
	addi %r5,%r3,1
;G_BeginRecording+464
	stdr %r5,demo_p
	addi %r1,%r1,4
	stb %r4,%r3,0
;G_BeginRecording+480
	bdnei %r1,16,G_BeginRecording+448
	retf 0
	nop 0
;G_DeferedPlayDemo
	alloc 2
	stdr %r1,defdemoname
	ldi %r1,5
;G_DeferedPlayDemo+16
	stwr %r1,gameaction
	retf 0
	nop 0
;G_TimeDemo
	alloc 5
	ldafr %r4,.rodata+4850
	callr %r3,M_CheckParm
;G_TimeDemo+16
	stwr %r4,nodrawers
	ldi %r2,1
	stwr %r2,timingdemo
;G_TimeDemo+32
	stwr %r2,singletics
	stdr %r1,defdemoname
	ldi %r1,5
;G_TimeDemo+48
	stwr %r1,gameaction
	retf 0
	nop 0
;fopen
	alloc 13
	ldbs %r12,%r2,0
	ldafr %r11,.rodata+27487
;fopen+16
	callr %r10,strchr
	bdeq %r11,%gz,fopen+192
	mov %r12,%r2
;fopen+32
	callr %r11,__fmodeflags
	mov %r3,%r12
	ori %r4,%r12,32768
;fopen+48
	sraiw %r8,%r4,0
	ldi %r6,2
	ldi %r9,438
;fopen+64
	mov2 %r7,%r10,%r1,%gz
	mov2 %r11,%r12,%gz,%gz
	callr %r5,__syscall_postrisc
;fopen+80
	mov %r12,%r6
	callr %r11,__syscall_ret
	mov %r11,%gz
;fopen+96
	bwlt %r12,%gz,fopen+176
	mov %r1,%r12
	bbci %r3,19,fopen+160
;fopen+112
	andi.l %r7,%r1,2147483647
	ldi %r6,72
;fopen+128
	ldi %r8,2
	ldi %r9,1
	mov2 %r10,%r11,%gz,%gz
;fopen+144
	mov %r12,%gz
	callr %r5,__syscall_postrisc
	nop 0
;fopen+160
	mov2 %r11,%r12,%r1,%r2
	callr %r10,__fdopen
	bdeq %r11,%gz,fopen+224
;fopen+176
	mov %r1,%r11
	retf 0
	nop 0
;fopen+192
	callr %r11,___errno_location
	mov %r11,%gz
	ldi %r1,22
;fopen+208
	stw %r1,%r12,0
	mov %r1,%r11
	retf 0
;fopen+224
	andi.l %r7,%r1,2147483647
	ldi %r6,3
;fopen+240
	mov2 %r8,%r9,%gz,%gz
	mov2 %r10,%r11,%gz,%gz
	mov %r12,%gz
;fopen+256
	callr %r5,__syscall_postrisc
	mov %r11,%gz
	mov %r1,%r11
;fopen+272
	retf 0
	nop 0
	nop 0
;strchr
	alloc 6
	mov2 %r4,%r5,%r1,%r2
	callr %r3,strchrnul
;strchr+16
	ldbz %r1,%r4,0
	andi %r2,%r2,255
	cmpweq %r1,%r1,%r2
;strchr+32
	cmovlsb %r1,%r1,%r4,%gz
	retf 0
	nop 0
;strchrnul
	alloc 10
	andi %r2,%r2,255
	bweq %r2,%gz,strchrnul+240
;strchrnul+16
	bmnone %r1,7,strchrnul+80
	addi %r3,%r1,1
	nop 0
;strchrnul+32
	ldbz %r5,%r1,0
	bweq %r5,%gz,strchrnul+336
	bweq %r5,%r2,strchrnul+336
;strchrnul+48
	mov %r4,%r3
	addi %r1,%r1,1
	addi %r3,%r3,1
;strchrnul+64
	bmany %r4,7,strchrnul+32
	nop 0
	nop 0
;strchrnul+80
	lddz %r4,%r1,0
	subfi.l %r3,%r4,72340172838076672
;strchrnul+96
	or %r5,%r3,%r4
	ldi.l %r3,-9187201950435737472
;strchrnul+112
	and %r5,%r5,%r3
	bdne %r5,%r3,strchrnul+272
	srliw %r5,%r2,0
;strchrnul+128
	muli.l %r5,%r5,72340172838076673
	nop 0
;strchrnul+144
	xor %r4,%r4,%r5
	subfi.l %r6,%r4,72340172838076672
;strchrnul+160
	or %r4,%r6,%r4
	and %r4,%r4,%r3
	bdne %r4,%r3,strchrnul+272
;strchrnul+176
	lddz %r4,%r1,8
	addi %r6,%r1,8
	nop 2
;strchrnul+192
	subfi.l %r1,%r4,72340172838076672
	or %r1,%r1,%r4
;strchrnul+208
	and %r7,%r1,%r3
	mov %r1,%r6
	bdeq %r7,%r3,strchrnul+144
;strchrnul+224
	jmp strchrnul+288
	nop 0
	nop 0
;strchrnul+240
	mov %r9,%r1
	callr %r8,strlen
	add %r1,%r1,%r9
;strchrnul+256
	retf 0
	nop 0
	nop 0
;strchrnul+272
	mov %r6,%r1
	nop 0
	nop 0
;strchrnul+288
	addi %r1,%r6,-1
	nop 0
	nop 0
;strchrnul+304
	ldbz %r3,%r1,1
	addi %r1,%r1,1
	bweq %r3,%gz,strchrnul+336
;strchrnul+320
	bwne %r3,%r2,strchrnul+304
	nop 0
	nop 0
;strchrnul+336
	retf 0
	nop 0
	nop 0
;__fmodeflags
	alloc 8
	ldi %r7,43
	mov %r6,%r1
;__fmodeflags+16
	callr %r5,strchr
	bdeq %r6,%gz,__fmodeflags+48
	ldi %r3,2
;__fmodeflags+32
	jmp __fmodeflags+64
	nop 0
	nop 0
;__fmodeflags+48
	ldbz %r2,%r1,0
	cmpwnei %r3,%r2,114
	nop 0
;__fmodeflags+64
	ldi %r7,120
	mov %r6,%r1
	callr %r5,strchr
;__fmodeflags+80
	ori %r2,%r3,128
	cmovdeq %r3,%r6,%r3,%r2
	ldi %r7,101
;__fmodeflags+96
	mov %r6,%r1
	callr %r5,strchr
	ldbz %r1,%r1,0
;__fmodeflags+112
	ori %r2,%r3,524288
	cmovdeq %r2,%r6,%r3,%r2
	cmpweqi %r3,%r1,114
;__fmodeflags+128
	ori %r4,%r2,64
	cmovlsb %r2,%r3,%r2,%r4
	cmpweqi %r3,%r1,119
;__fmodeflags+144
	ori %r4,%r2,512
	cmovlsb %r2,%r3,%r4,%r2
	cmpweqi %r1,%r1,97
;__fmodeflags+160
	ori %r3,%r2,1024
	cmovlsb %r1,%r1,%r3,%r2
	retf 0
;__fdopen
	allocsp 15,16
	ldbs %r14,%r2,0
	ldafr %r13,.rodata+27487
;__fdopen+16
	callr %r12,strchr
	bdeq %r13,%gz,__fdopen+320
	ldi %r14,1264
;__fdopen+32
	callr %r13,default_malloc
	bdeq %r14,%gz,__fdopen+352
	mov %r3,%r14
;__fdopen+48
	ldi %r14,232
	mov2 %r12,%r13,%r3,%gz
	callr %r11,memset
;__fdopen+64
	ldi %r14,43
	mov %r13,%r2
	callr %r12,strchr
;__fdopen+80
	bdne %r13,%gz,__fdopen+128
	ldbz %r4,%r2,0
	cmpweqi %r4,%r4,114
;__fdopen+96
	ldi %r5,4
	ldi %r6,8
	cmovlsb %r4,%r4,%r6,%r5
;__fdopen+112
	stw %r4,%r3,0
	nop 0
	nop 0
;__fdopen+128
	ldi %r14,101
	mov %r13,%r2
	callr %r12,strchr
;__fdopen+144
	sraiw %r4,%r1,0
	bdeq %r13,%gz,__fdopen+192
	ldi %r8,72
;__fdopen+160
	ldi %r10,2
	ldi %r11,1
	mov2 %r9,%r12,%r4,%gz
;__fdopen+176
	mov2 %r13,%r14,%gz,%gz
	callr %r7,__syscall_postrisc
	nop 0
;__fdopen+192
	ldbz %r2,%r2,0
	bwnei %r2,97,__fdopen+368
	ldi %r8,72
;__fdopen+208
	ldi %r10,3
	mov2 %r9,%r11,%r4,%gz
	mov2 %r12,%r13,%gz,%gz
;__fdopen+224
	mov %r14,%gz
	callr %r7,__syscall_postrisc
	bbsi %r8,10,__fdopen+288
;__fdopen+240
	sraiw %r2,%r8,0
	ori %r11,%r2,1024
	ldi %r8,72
;__fdopen+256
	ldi %r10,4
	mov2 %r9,%r12,%r4,%gz
	mov2 %r13,%r14,%gz,%gz
;__fdopen+272
	callr %r7,__syscall_postrisc
	nop 0
	nop 0
;__fdopen+288
	ldwz %r2,%r3,0
	ori %r5,%r2,128
	stw %r5,%r3,0
;__fdopen+304
	jmp __fdopen+384
	nop 0
	nop 0
;__fdopen+320
	callr %r13,___errno_location
	mov %r1,%gz
	ldi %r2,22
;__fdopen+336
	stw %r2,%r14,0
	retf 16
	nop 0
;__fdopen+352
	mov %r1,%gz
	retf 16
	nop 0
;__fdopen+368
	ldwz %r5,%r3,0
	nop 0
	nop 0
;__fdopen+384
	stw %r1,%r3,120
	addi %r1,%r3,240
	std %r1,%r3,88
;__fdopen+400
	ldi %r1,1024
	std %r1,%r3,96
	ldi %r2,-1
;__fdopen+416
	stw %r2,%r3,144
	bbsi %r5,3,__fdopen+480
	ldi %r8,16
;__fdopen+432
	ldi %r10,21523
	addi %r11,%sp,8
	mov2 %r9,%r12,%r4,%gz
;__fdopen+448
	mov2 %r13,%r14,%gz,%gz
	callr %r7,__syscall_postrisc
	bdne %r8,%gz,__fdopen+480
;__fdopen+464
	ldi %r1,10
	stw %r1,%r3,144
	nop 0
;__fdopen+480
	ldar %r1,__stdio_read
	std %r1,%r3,64
	ldar %r1,__stdio_write
;__fdopen+496
	std %r1,%r3,72
	ldar %r1,__stdio_seek
	std %r1,%r3,80
;__fdopen+512
	ldar %r1,__stdio_close
	std %r1,%r3,24
	ldbzr %r1,__libc+1
;__fdopen+528
	bwne %r1,%gz,__fdopen+544
	stw %r2,%r3,140
	nop 0
;__fdopen+544
	mov %r14,%r3
	callr %r13,__ofl_add
	mov %r1,%r14
;__fdopen+560
	retf 16
	nop 0
	nop 0
;__stdio_read
	allocsp 14,32
	std %r2,%sp,0
	lddz %r10,%r1,96
;__stdio_read+16
	cmpdnei %r4,%r10,0
	sub %r4,%r3,%r4
	std %r4,%sp,8
;__stdio_read+32
	lddz %r9,%r1,88
	std %r9,%sp,16
	std %r10,%sp,24
;__stdio_read+48
	ldws %r8,%r1,120
	bdeq %r4,%gz,__stdio_read+80
	ldi %r7,19
;__stdio_read+64
	addi %r9,%sp,0
	ldi %r10,2
	jmp __stdio_read+96
;__stdio_read+80
	mov %r7,%gz
	nop 0
	nop 0
;__stdio_read+96
	mov2 %r11,%r12,%gz,%gz
	mov %r13,%gz
	callr %r6,__syscall_postrisc
;__stdio_read+112
	mov %r13,%r7
	callr %r12,__syscall_ret
	bdle %r13,%gz,__stdio_read+240
;__stdio_read+128
	lddz %r5,%sp,8
	bdleu %r13,%r5,__stdio_read+224
	lddz %r4,%r1,88
;__stdio_read+144
	sub %r5,%r13,%r5
	std %r4,%r1,8
	add %r5,%r4,%r5
;__stdio_read+160
	std %r5,%r1,16
	lddz %r5,%r1,96
	bdeq %r5,%gz,__stdio_read+208
;__stdio_read+176
	addi %r5,%r4,1
	std %r5,%r1,8
	ldbz %r1,%r4,0
;__stdio_read+192
	stbx.xd %r1,%r2,%r3,0,-1
	nop 0
	nop 0
;__stdio_read+208
	mov %r13,%r3
	nop 0
	nop 0
;__stdio_read+224
	mov %r1,%r13
	retf 32
	nop 0
;__stdio_read+240
	ldwz %r2,%r1,0
	ldi %r3,32
	ldi %r4,16
;__stdio_read+256
	cmovdeq %r3,%r13,%r4,%r3
	or %r2,%r2,%r3
	stw %r2,%r1,0
;__stdio_read+272
	mov2 %r13,%r1,%gz,%gz
	retf 32
	nop 0
;__ofl_add
	alloc 5
	callr %r3,__ofl_lock
	lddz %r2,%r4,0
;__ofl_add+16
	std %r2,%r1,112
	bdeq %r2,%gz,__ofl_add+32
	std %r1,%r2,104
;__ofl_add+32
	std %r1,%r4,0
	callr %r4,__ofl_unlock
	retf 0
;dummy
	alloc 1
	retf 0
	nop 0
;fclose
	alloc 8
	ldwz %r2,%r1,140
	bwlt %r2,%gz,fclose+48
;fclose+16
	mov %r7,%r1
	callr %r6,__lockfile
	cmpweqi %r4,%r7,0
;fclose+32
	jmp fclose+64
	nop 0
	nop 0
;fclose+48
	ldi %r4,1
	nop 0
	nop 0
;fclose+64
	mov %r7,%r1
	callr %r6,fflush_unlocked
	mov2 %r2,%r7,%r7,%r1
;fclose+80
	callmi %r6,%r1,24
	mov %r3,%r7
	bbci %r4,0,fclose+128
;fclose+96
	ldwz %r4,%r1,0
	bbci %r4,0,fclose+160
	nop 0
;fclose+112
	or %r1,%r3,%r2
	retf 0
	nop 0
;fclose+128
	mov %r7,%r1
	callr %r6,__unlockfile
	ldwz %r4,%r1,0
;fclose+144
	bbsi %r4,0,fclose+112
	nop 0
	nop 0
;fclose+160
	mov %r7,%r1
	callr %r6,dummy
	callr %r6,__ofl_lock
;fclose+176
	lddz %r5,%r1,104
	lddz %r4,%r1,112
	bdeq %r5,%gz,fclose+208
;fclose+192
	std %r4,%r5,112
	nop 0
	nop 0
;fclose+208
	bdeq %r4,%gz,fclose+224
	lddz %r5,%r1,104
	std %r5,%r4,104
;fclose+224
	lddz %r4,%r7,0
	bdne %r4,%r1,fclose+256
	lddz %r4,%r1,112
;fclose+240
	std %r4,%r7,0
	nop 0
	nop 0
;fclose+256
	callr %r7,__ofl_unlock
	lddz %r7,%r1,168
	callr %r6,free
;fclose+272
	mov %r7,%r1
	callr %r6,free
	or %r1,%r3,%r2
;fclose+288
	retf 0
	nop 0
	nop 0
;fflush_unlocked
	alloc 11
	bdeq %r1,%gz,fflush_unlocked+48
	mov %r2,%r1
;fflush_unlocked+16
	ldwz %r1,%r1,140
	bwlt %r1,%gz,fflush_unlocked+272
	mov %r10,%r2
;fflush_unlocked+32
	callr %r9,__lockfile
	cmpweqi %r3,%r10,0
	jmp fflush_unlocked+288
;fflush_unlocked+48
	lddzr %r1,__stdout_used
	bdeq %r1,%gz,fflush_unlocked+480
	lddzr %r10,__stdout_used
;fflush_unlocked+64
	callr %r9,fflush_unlocked
	mov %r1,%r10
	lddzr %r2,__stderr_used
;fflush_unlocked+80
	bdeq %r2,%gz,fflush_unlocked+112
	nop 0
	nop 0
;fflush_unlocked+96
	lddzr %r10,__stderr_used
	callr %r9,fflush_unlocked
	or %r1,%r10,%r1
;fflush_unlocked+112
	callr %r9,__ofl_lock
	lddz %r2,%r10,0
	bdeq %r2,%gz,fflush_unlocked+256
;fflush_unlocked+128
	ldi %r4,1
	jmp fflush_unlocked+160
	nop 0
;fflush_unlocked+144
	lddz %r2,%r2,112
	bdeq %r2,%gz,fflush_unlocked+256
	nop 0
;fflush_unlocked+160
	ldwz %r3,%r2,140
	mov %r5,%r4
	bwlt %r3,%gz,fflush_unlocked+192
;fflush_unlocked+176
	mov %r10,%r2
	callr %r9,__lockfile
	cmpweqi %r5,%r10,0
;fflush_unlocked+192
	lddz %r3,%r2,40
	lddz %r6,%r2,56
	bdeq %r3,%r6,fflush_unlocked+224
;fflush_unlocked+208
	mov %r10,%r2
	callr %r9,fflush_unlocked
	or %r1,%r10,%r1
;fflush_unlocked+224
	bbsi %r5,0,fflush_unlocked+144
	mov %r10,%r2
	callr %r9,__unlockfile
;fflush_unlocked+240
	jmp fflush_unlocked+144
	nop 0
	nop 0
;fflush_unlocked+256
	callr %r10,__ofl_unlock
	retf 0
	nop 0
;fflush_unlocked+272
	ldi %r3,1
	nop 0
	nop 0
;fflush_unlocked+288
	lddz %r1,%r2,40
	lddz %r4,%r2,56
	bdeq %r1,%r4,fflush_unlocked+336
;fflush_unlocked+304
	mov2 %r8,%r9,%r2,%gz
	mov %r10,%gz
	callmi %r7,%r2,72
;fflush_unlocked+320
	lddz %r1,%r2,40
	bdeq %r1,%gz,fflush_unlocked+448
	nop 0
;fflush_unlocked+336
	lddz %r1,%r2,8
	lddz %r4,%r2,16
	bdeq %r1,%r4,fflush_unlocked+384
;fflush_unlocked+352
	sub %r9,%r1,%r4
	ldi %r10,1
	mov %r8,%r2
;fflush_unlocked+368
	callmi %r7,%r2,80
	nop 0
	nop 0
;fflush_unlocked+384
	mov %r1,%gz
	std %gz,%r2,32
	std %gz,%r2,56
;fflush_unlocked+400
	std %gz,%r2,40
	std %gz,%r2,16
	std %gz,%r2,8
;fflush_unlocked+416
	bbsi %r3,0,fflush_unlocked+464
	mov %r10,%r2
	callr %r9,__unlockfile
;fflush_unlocked+432
	mov %r1,%gz
	retf 0
	nop 0
;fflush_unlocked+448
	ldi %r1,-1
	bbci %r3,0,fflush_unlocked+512
	nop 0
;fflush_unlocked+464
	retf 0
	nop 0
	nop 0
;fflush_unlocked+480
	mov %r1,%gz
	lddzr %r2,__stderr_used
	bdne %r2,%gz,fflush_unlocked+96
;fflush_unlocked+496
	jmp fflush_unlocked+112
	nop 0
	nop 0
;fflush_unlocked+512
	mov %r10,%r2
	callr %r9,__unlockfile
	retf 0
;__ftello_unlocked
	alloc 10
	ldbz %r3,%r1,0
	lddz %r2,%r1,80
;__ftello_unlocked+16
	bbsi %r3,7,__ftello_unlocked+32
	ldi %r9,1
	jmp __ftello_unlocked+64
;__ftello_unlocked+32
	lddz %r3,%r1,40
	lddz %r4,%r1,56
	cmpdeq %r3,%r3,%r4
;__ftello_unlocked+48
	ldi %r4,2
	ldi %r5,1
	cmovlsb %r9,%r3,%r5,%r4
;__ftello_unlocked+64
	mov2 %r7,%r8,%r1,%gz
	callri %r6,%r2,%gz
	bdlt %r7,%gz,__ftello_unlocked+144
;__ftello_unlocked+80
	lddz %r2,%r1,16
	bdeq %r2,%gz,__ftello_unlocked+112
	ldi %r3,8
;__ftello_unlocked+96
	jmp __ftello_unlocked+128
	nop 0
	nop 0
;__ftello_unlocked+112
	lddz %r2,%r1,56
	bdeq %r2,%gz,__ftello_unlocked+144
	ldi %r3,40
;__ftello_unlocked+128
	lddzx.xd %r1,%r1,%r3,0,0
	sub %r2,%r7,%r2
	add %r7,%r2,%r1
;__ftello_unlocked+144
	mov %r1,%r7
	retf 0
	nop 0
;__ftello
	alloc 11
	ldwz %r4,%r1,140
	ldi %r2,1
;__ftello+16
	mov %r3,%r2
	bwlt %r4,%gz,__ftello+48
	mov %r10,%r1
;__ftello+32
	callr %r9,__lockfile
	cmpweqi %r3,%r10,0
	nop 0
;__ftello+48
	ldbz %r5,%r1,0
	lddz %r4,%r1,80
	bbci %r5,7,__ftello+96
;__ftello+64
	lddz %r2,%r1,40
	lddz %r5,%r1,56
	cmpdeq %r2,%r2,%r5
;__ftello+80
	ldi %r5,2
	ldi %r6,1
	cmovlsb %r2,%r2,%r6,%r5
;__ftello+96
	mov2 %r8,%r9,%r1,%gz
	mov %r10,%r2
	callri %r7,%r4,%gz
;__ftello+112
	bdlt %r8,%gz,__ftello+176
	lddz %r2,%r1,16
	bdeq %r2,%gz,__ftello+144
;__ftello+128
	ldi %r4,8
	jmp __ftello+160
	nop 0
;__ftello+144
	lddz %r2,%r1,56
	bdeq %r2,%gz,__ftello+176
	ldi %r4,40
;__ftello+160
	lddzx.xd %r4,%r1,%r4,0,0
	sub %r2,%r8,%r2
	add %r8,%r2,%r4
;__ftello+176
	bbsi %r3,0,__ftello+192
	mov %r10,%r1
	callr %r9,__unlockfile
;__ftello+192
	mov %r1,%r8
	retf 0
	nop 0
;ftell
	alloc 11
	ldwz %r4,%r1,140
	ldi %r2,1
;ftell+16
	mov %r3,%r2
	bwlt %r4,%gz,ftell+48
	mov %r10,%r1
;ftell+32
	callr %r9,__lockfile
	cmpweqi %r3,%r10,0
	nop 0
;ftell+48
	ldbz %r5,%r1,0
	lddz %r4,%r1,80
	bbci %r5,7,ftell+96
;ftell+64
	lddz %r2,%r1,40
	lddz %r5,%r1,56
	cmpdeq %r2,%r2,%r5
;ftell+80
	ldi %r5,2
	ldi %r6,1
	cmovlsb %r2,%r2,%r6,%r5
;ftell+96
	mov2 %r8,%r9,%r1,%gz
	mov %r10,%r2
	callri %r7,%r4,%gz
;ftell+112
	bdlt %r8,%gz,ftell+176
	lddz %r2,%r1,16
	bdeq %r2,%gz,ftell+144
;ftell+128
	ldi %r4,8
	jmp ftell+160
	nop 0
;ftell+144
	lddz %r2,%r1,56
	bdeq %r2,%gz,ftell+176
	ldi %r4,40
;ftell+160
	lddzx.xd %r4,%r1,%r4,0,0
	sub %r2,%r8,%r2
	add %r8,%r2,%r4
;ftell+176
	bbsi %r3,0,ftell+192
	mov %r10,%r1
	callr %r9,__unlockfile
;ftell+192
	mov %r1,%r8
	retf 0
	nop 0
;remove
	alloc 10
	ldi %r3,87
	mov2 %r4,%r5,%r1,%gz
;remove+16
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;remove+32
	bwnei %r3,-21,remove+64
	ldi %r3,84
	mov2 %r4,%r5,%r1,%gz
;remove+48
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;remove+64
	sraiw %r9,%r3,0
	callr %r8,__syscall_ret
	mov %r1,%r9
;remove+80
	retf 0
	nop 0
	nop 0
;rename
	alloc 11
	ldi %r4,82
	mov2 %r5,%r6,%r1,%r2
;rename+16
	mov2 %r7,%r8,%gz,%gz
	mov2 %r9,%r10,%gz,%gz
	callr %r3,__syscall_postrisc
;rename+32
	mov %r10,%r4
	callr %r9,__syscall_ret
	mov %r1,%r10
;rename+48
	retf 0
	nop 0
	nop 0
;HUlib_init
	alloc 1
	retf 0
	nop 0
;HUlib_clearTextLine
	alloc 3
	ldi.l %r2,4294967296
;HUlib_clearTextLine+16
	std %r2,%r1,104
	stb %gz,%r1,20
	retf 0
;HUlib_initTextLine
	alloc 6
	stw %r2,%r1,0
	stw %r3,%r1,4
;HUlib_initTextLine+16
	std %r4,%r1,8
	stw %r5,%r1,16
	nop 2
;HUlib_initTextLine+32
	ldi.l %r2,4294967296
	std %r2,%r1,104
;HUlib_initTextLine+48
	stb %gz,%r1,20
	retf 0
	nop 0
;HUlib_addCharToTextLine
	alloc 5
	ldwz %r4,%r1,104
	mov %r3,%gz
;HUlib_addCharToTextLine+16
	bweqi %r4,80,HUlib_addCharToTextLine+64
	addiws %r3,%r4,1
	stw %r3,%r1,104
;HUlib_addCharToTextLine+32
	stbx.xw %r2,%r1,%r4,0,20
	ldws %r2,%r1,104
	stbx.xd %gz,%r1,%r2,0,20
;HUlib_addCharToTextLine+48
	ldi %r2,4
	stw %r2,%r1,108
	ldi %r3,1
;HUlib_addCharToTextLine+64
	mov %r1,%r3
	retf 0
	nop 0
;HUlib_delCharFromTextLine
	alloc 3
	ldwz %r2,%r1,104
	bweq %r2,%gz,HUlib_delCharFromTextLine+64
;HUlib_delCharFromTextLine+16
	addiws %r2,%r2,-1
	stw %r2,%r1,104
	stbx.xw %gz,%r1,%r2,0,20
;HUlib_delCharFromTextLine+32
	ldi %r2,4
	stw %r2,%r1,108
	ldi %r1,1
;HUlib_delCharFromTextLine+48
	retf 0
	nop 0
	nop 0
;HUlib_delCharFromTextLine+64
	mov %r1,%gz
	retf 0
	nop 0
;HUlib_drawTextLine
	alloc 12
	ldwz %r4,%r1,104
	ldwz %r9,%r1,0
;HUlib_drawTextLine+16
	bwlti %r4,1,HUlib_drawTextLine+208
	mov %r5,%gz
	addi %r6,%r1,20
;HUlib_drawTextLine+32
	jmp HUlib_drawTextLine+96
	nop 0
	nop 0
;HUlib_drawTextLine+48
	addiws %r3,%r9,4
	bwgei %r9,316,HUlib_drawTextLine+224
	nop 0
;HUlib_drawTextLine+64
	addi %r5,%r5,1
	sraiw %r7,%r4,0
	mov %r9,%r3
;HUlib_drawTextLine+80
	bdle %r7,%r5,HUlib_drawTextLine+224
	nop 0
	nop 0
;HUlib_drawTextLine+96
	ldbsx.xd %r11,%r6,%r5,0,0
	callr %r10,toupper
	andi %r3,%r11,255
;HUlib_drawTextLine+112
	bweqi %r3,32,HUlib_drawTextLine+48
	ldwz %r7,%r1,16
	bwlt %r3,%r7,HUlib_drawTextLine+48
;HUlib_drawTextLine+128
	bwgeui %r3,96,HUlib_drawTextLine+48
	lddz %r4,%r1,8
	subws %r3,%r3,%r7
;HUlib_drawTextLine+144
	lddzx.xw %r11,%r4,%r3,3,0
	ldbs %r3,%r11,1
	ldbz %r4,%r11,0
;HUlib_drawTextLine+160
	slor %r3,%r4,%r3,8
	addws %r3,%r9,%r3
	bwgei %r3,321,HUlib_drawTextLine+320
;HUlib_drawTextLine+176
	ldwz %r10,%r1,4
	callr %r8,V_DrawPatchDirect
	ldwz %r4,%r1,104
;HUlib_drawTextLine+192
	jmp HUlib_drawTextLine+64
	nop 0
	nop 0
;HUlib_drawTextLine+208
	mov %r3,%r9
	nop 0
	nop 0
;HUlib_drawTextLine+224
	bweq %r2,%gz,HUlib_drawTextLine+304
	nop 0
	nop 0
;HUlib_drawTextLine+240
	ldwz %r2,%r1,16
	lddz %r4,%r1,8
	subfiws %r2,%r2,95
;HUlib_drawTextLine+256
	lddzx.xw %r11,%r4,%r2,3,0
	ldbs %r2,%r11,1
	ldbz %r4,%r11,0
;HUlib_drawTextLine+272
	slor %r2,%r4,%r2,8
	addws %r2,%r3,%r2
	bwgei %r2,321,HUlib_drawTextLine+304
;HUlib_drawTextLine+288
	ldwz %r10,%r1,4
	mov %r9,%r3
	callr %r8,V_DrawPatchDirect
;HUlib_drawTextLine+304
	retf 0
	nop 0
	nop 0
;HUlib_drawTextLine+320
	mov %r3,%r9
	bwne %r2,%gz,HUlib_drawTextLine+240
	jmp HUlib_drawTextLine+304
;HUlib_eraseTextLine
	alloc 11
	ldwzr %r2,automapactive
	bwne %r2,%gz,HUlib_eraseTextLine+224
;HUlib_eraseTextLine+16
	ldwzr %r2,viewwindowx
	bweq %r2,%gz,HUlib_eraseTextLine+224
	ldwz %r2,%r1,108
;HUlib_eraseTextLine+32
	bweq %r2,%gz,HUlib_eraseTextLine+224
	lddz %r2,%r1,8
	lddz %r2,%r2,0
;HUlib_eraseTextLine+48
	ldbs %r3,%r2,3
	ldbz %r2,%r2,2
	slor %r2,%r2,%r3,8
;HUlib_eraseTextLine+64
	bwlt %r2,%gz,HUlib_eraseTextLine+224
	ldwz %r5,%r1,4
	addiws %r6,%r2,1
;HUlib_eraseTextLine+80
	mulwsi %r2,%r5,320
	ldi %r3,320
	jmp HUlib_eraseTextLine+144
;HUlib_eraseTextLine+96
	mov2 %r9,%r10,%r2,%r3
	nop 0
	nop 0
;HUlib_eraseTextLine+112
	callr %r8,R_VideoErase
	ldwz %r4,%r1,4
	addiws %r5,%r5,1
;HUlib_eraseTextLine+128
	addws %r4,%r6,%r4
	addiws %r2,%r2,320
	bwle %r4,%r5,HUlib_eraseTextLine+224
;HUlib_eraseTextLine+144
	ldwzr %r4,viewwindowy
	bwlt %r5,%r4,HUlib_eraseTextLine+96
	ldwzr %r7,viewheight
;HUlib_eraseTextLine+160
	addws %r4,%r7,%r4
	bwle %r4,%r5,HUlib_eraseTextLine+96
	ldwzr %r10,viewwindowx
;HUlib_eraseTextLine+176
	mov %r9,%r2
	callr %r8,R_VideoErase
	ldwzr %r10,viewwindowx
;HUlib_eraseTextLine+192
	ldwzr %r4,viewwidth
	addws %r7,%r10,%r2
	addws %r9,%r7,%r4
;HUlib_eraseTextLine+208
	jmp HUlib_eraseTextLine+112
	nop 0
	nop 0
;HUlib_eraseTextLine+224
	ldwz %r2,%r1,108
	bweq %r2,%gz,HUlib_eraseTextLine+256
	addiws %r2,%r2,-1
;HUlib_eraseTextLine+240
	stw %r2,%r1,108
	nop 0
	nop 0
;HUlib_eraseTextLine+256
	retf 0
	nop 0
	nop 0
;HUlib_initSText
	alloc 11
	stw %r4,%r1,448
	std %r7,%r1,456
;HUlib_initSText+16
	ldi %r7,1
	stw %r7,%r1,464
	stw %gz,%r1,452
;HUlib_initSText+32
	bwlti %r4,1,HUlib_initSText+160
	mov %r7,%gz
	srliw %r4,%r4,0
;HUlib_initSText+48
	ldi.l %r8,4294967296
	nop 0
;HUlib_initSText+64
	lddz %r9,%r5,0
	ldbs %r10,%r9,3
	ldbz %r9,%r9,2
;HUlib_initSText+80
	slliw %r10,%r10,8
	nor %r9,%r10,%r9
	mulws %r9,%r7,%r9
;HUlib_initSText+96
	addws %r9,%r9,%r3
	stw %r2,%r1,0
	stw %r9,%r1,4
;HUlib_initSText+112
	std %r5,%r1,8
	stw %r6,%r1,16
	std %r8,%r1,104
;HUlib_initSText+128
	stb %gz,%r1,20
	addi %r7,%r7,1
	addi %r1,%r1,112
;HUlib_initSText+144
	bdne %r4,%r7,HUlib_initSText+64
	nop 0
	nop 0
;HUlib_initSText+160
	retf 0
	nop 0
	nop 0
;HUlib_addLineToSText
	alloc 5
	ldwz %r3,%r1,452
	ldwz %r2,%r1,448
;HUlib_addLineToSText+16
	addiws %r3,%r3,1
	cmpweq %r4,%r3,%r2
	cmovlsb %r3,%r4,%gz,%r3
;HUlib_addLineToSText+32
	stw %r3,%r1,452
	sraiw %r3,%r3,0
	muli %r3,%r3,112
;HUlib_addLineToSText+48
	ldi.l %r4,4294967296
	stdx.xd %r4,%r1,%r3,0,104
;HUlib_addLineToSText+64
	stbx.xd %gz,%r1,%r3,0,20
	bwlti %r2,1,HUlib_addLineToSText+128
	srliw %r2,%r2,0
;HUlib_addLineToSText+80
	addi %r1,%r1,108
	ldi %r3,4
	nop 0
;HUlib_addLineToSText+96
	stw %r3,%r1,0
	addi %r2,%r2,-1
	addi %r1,%r1,112
;HUlib_addLineToSText+112
	bdne %r2,%gz,HUlib_addLineToSText+96
	nop 0
	nop 0
;HUlib_addLineToSText+128
	retf 0
	nop 0
	nop 0
;HUlib_addMessageToSText
	alloc 10
	ldwz %r4,%r1,452
	ldwz %r5,%r1,448
;HUlib_addMessageToSText+16
	addiws %r4,%r4,1
	cmpweq %r6,%r4,%r5
	cmovlsb %r4,%r6,%gz,%r4
;HUlib_addMessageToSText+32
	stw %r4,%r1,452
	sraiw %r4,%r4,0
	muli %r4,%r4,112
;HUlib_addMessageToSText+48
	ldi.l %r6,4294967296
	stdx.xd %r6,%r1,%r4,0,104
;HUlib_addMessageToSText+64
	stbx.xd %gz,%r1,%r4,0,20
	ldi %r4,4
	bwlti %r5,1,HUlib_addMessageToSText+128
;HUlib_addMessageToSText+80
	srliw %r5,%r5,0
	addi %r6,%r1,108
	nop 0
;HUlib_addMessageToSText+96
	stw %r4,%r6,0
	addi %r5,%r5,-1
	addi %r6,%r6,112
;HUlib_addMessageToSText+112
	bdne %r5,%gz,HUlib_addMessageToSText+96
	nop 0
	nop 0
;HUlib_addMessageToSText+128
	ldi %r5,112
	bdeq %r2,%gz,HUlib_addMessageToSText+240
	ldbz %r6,%r2,0
;HUlib_addMessageToSText+144
	bweq %r6,%gz,HUlib_addMessageToSText+240
	addi %r2,%r2,1
	jmp HUlib_addMessageToSText+176
;HUlib_addMessageToSText+160
	ldbz %r6,%r2,0
	addi %r2,%r2,1
	bweq %r6,%gz,HUlib_addMessageToSText+240
;HUlib_addMessageToSText+176
	ldws %r8,%r1,452
	muli %r7,%r8,112
	ldwzx.xd %r7,%r1,%r7,0,104
;HUlib_addMessageToSText+192
	bweqi %r7,80,HUlib_addMessageToSText+160
	muladd %r8,%r8,%r5,%r1
	addiws %r9,%r7,1
;HUlib_addMessageToSText+208
	stw %r9,%r8,104
	stbx.xw %r6,%r8,%r7,0,20
	ldws %r6,%r8,104
;HUlib_addMessageToSText+224
	stbx.xd %gz,%r8,%r6,0,20
	stw %r4,%r8,108
	jmp HUlib_addMessageToSText+160
;HUlib_addMessageToSText+240
	ldbz %r6,%r3,0
	bweq %r6,%gz,HUlib_addMessageToSText+352
	addi %r2,%r3,1
;HUlib_addMessageToSText+256
	jmp HUlib_addMessageToSText+288
	nop 0
	nop 0
;HUlib_addMessageToSText+272
	ldbz %r6,%r2,0
	addi %r2,%r2,1
	bweq %r6,%gz,HUlib_addMessageToSText+352
;HUlib_addMessageToSText+288
	ldws %r7,%r1,452
	muli %r3,%r7,112
	ldwzx.xd %r3,%r1,%r3,0,104
;HUlib_addMessageToSText+304
	bweqi %r3,80,HUlib_addMessageToSText+272
	muladd %r7,%r7,%r5,%r1
	addiws %r8,%r3,1
;HUlib_addMessageToSText+320
	stw %r8,%r7,104
	stbx.xw %r6,%r7,%r3,0,20
	ldws %r3,%r7,104
;HUlib_addMessageToSText+336
	stbx.xd %gz,%r7,%r3,0,20
	stw %r4,%r7,108
	jmp HUlib_addMessageToSText+272
;HUlib_addMessageToSText+352
	retf 0
	nop 0
	nop 0
;HUlib_drawSText
	alloc 10
	lddz %r2,%r1,456
	ldwz %r2,%r2,0
;HUlib_drawSText+16
	bweq %r2,%gz,HUlib_drawSText+112
	ldwz %r2,%r1,448
	bwlti %r2,1,HUlib_drawSText+112
;HUlib_drawSText+32
	mov %r3,%gz
	ldi %r4,112
	nop 0
;HUlib_drawSText+48
	ldwz %r5,%r1,452
	subws %r5,%r5,%r3
	sraiw %r6,%r5,31
;HUlib_drawSText+64
	and %r2,%r6,%r2
	addws %r2,%r2,%r5
	muladd %r8,%r2,%r4,%r1
;HUlib_drawSText+80
	mov %r9,%gz
	callr %r7,HUlib_drawTextLine
	ldwz %r2,%r1,448
;HUlib_drawSText+96
	addiws %r3,%r3,1
	bwlt %r3,%r2,HUlib_drawSText+48
	nop 0
;HUlib_drawSText+112
	retf 0
	nop 0
	nop 0
;HUlib_eraseSText
	alloc 8
	ldwz %r2,%r1,448
	bwlti %r2,1,HUlib_eraseSText+128
;HUlib_eraseSText+16
	mov %r4,%gz
	ldi %r5,4
	mov %r2,%r1
;HUlib_eraseSText+32
	jmp HUlib_eraseSText+80
	nop 0
	nop 0
;HUlib_eraseSText+48
	mov %r7,%r2
	callr %r6,HUlib_eraseTextLine
	ldws %r3,%r1,448
;HUlib_eraseSText+64
	addi %r4,%r4,1
	addi %r2,%r2,112
	bdle %r3,%r4,HUlib_eraseSText+128
;HUlib_eraseSText+80
	ldwz %r3,%r1,464
	bweq %r3,%gz,HUlib_eraseSText+48
	lddz %r3,%r1,456
;HUlib_eraseSText+96
	ldwz %r3,%r3,0
	bwne %r3,%gz,HUlib_eraseSText+48
	stw %r5,%r2,108
;HUlib_eraseSText+112
	jmp HUlib_eraseSText+48
	nop 0
	nop 0
;HUlib_eraseSText+128
	lddz %r2,%r1,456
	ldwz %r2,%r2,0
	stw %r2,%r1,464
;HUlib_eraseSText+144
	retf 0
	nop 0
	nop 0
;HUlib_initIText
	alloc 7
	stw %gz,%r1,112
	std %r6,%r1,120
;HUlib_initIText+16
	ldi %r6,1
	stw %r6,%r1,128
	stw %r2,%r1,0
;HUlib_initIText+32
	stw %r3,%r1,4
	std %r4,%r1,8
	stw %r5,%r1,16
;HUlib_initIText+48
	ldi.l %r2,4294967296
	std %r2,%r1,104
;HUlib_initIText+64
	stb %gz,%r1,20
	retf 0
	nop 0
;HUlib_delCharFromIText
	alloc 4
	ldwz %r2,%r1,104
	bweq %r2,%gz,HUlib_delCharFromIText+64
;HUlib_delCharFromIText+16
	ldwz %r3,%r1,112
	bweq %r2,%r3,HUlib_delCharFromIText+64
	addiws %r2,%r2,-1
;HUlib_delCharFromIText+32
	stw %r2,%r1,104
	stbx.xw %gz,%r1,%r2,0,20
	ldi %r2,4
;HUlib_delCharFromIText+48
	stw %r2,%r1,108
	nop 0
	nop 0
;HUlib_delCharFromIText+64
	retf 0
	nop 0
	nop 0
;HUlib_eraseLineFromIText
	alloc 6
	ldwz %r4,%r1,112
	ldwz %r5,%r1,104
;HUlib_eraseLineFromIText+16
	bweq %r4,%r5,HUlib_eraseLineFromIText+112
	addi %r2,%r1,20
	ldi %r3,4
;HUlib_eraseLineFromIText+32
	jmp HUlib_eraseLineFromIText+96
	nop 0
	nop 0
;HUlib_eraseLineFromIText+48
	addiws %r4,%r5,-1
	stw %r4,%r1,104
	stbx.xw %gz,%r2,%r4,0,0
;HUlib_eraseLineFromIText+64
	stw %r3,%r1,108
	ldwz %r4,%r1,112
	ldwz %r5,%r1,104
;HUlib_eraseLineFromIText+80
	bweq %r4,%r5,HUlib_eraseLineFromIText+112
	nop 0
	nop 0
;HUlib_eraseLineFromIText+96
	bwne %r5,%gz,HUlib_eraseLineFromIText+48
	mov %r5,%gz
	bwne %r4,%r5,HUlib_eraseLineFromIText+96
;HUlib_eraseLineFromIText+112
	retf 0
	nop 0
	nop 0
;HUlib_resetIText
	alloc 3
	stw %gz,%r1,112
	nop 2
;HUlib_resetIText+16
	ldi.l %r2,4294967296
	std %r2,%r1,104
;HUlib_resetIText+32
	stb %gz,%r1,20
	retf 0
	nop 0
;HUlib_addPrefixToIText
	alloc 8
	ldbz %r4,%r2,0
	bweq %r4,%gz,HUlib_addPrefixToIText+112
;HUlib_addPrefixToIText+16
	addi %r3,%r1,20
	addi %r2,%r2,1
	ldi %r5,4
;HUlib_addPrefixToIText+32
	jmp HUlib_addPrefixToIText+64
	nop 0
	nop 0
;HUlib_addPrefixToIText+48
	ldbz %r4,%r2,0
	addi %r2,%r2,1
	bweq %r4,%gz,HUlib_addPrefixToIText+112
;HUlib_addPrefixToIText+64
	ldwz %r6,%r1,104
	bweqi %r6,80,HUlib_addPrefixToIText+48
	addiws %r7,%r6,1
;HUlib_addPrefixToIText+80
	stw %r7,%r1,104
	stbx.xw %r4,%r3,%r6,0,0
	ldws %r4,%r1,104
;HUlib_addPrefixToIText+96
	stbx.xd %gz,%r3,%r4,0,0
	stw %r5,%r1,108
	jmp HUlib_addPrefixToIText+48
;HUlib_addPrefixToIText+112
	ldwz %r2,%r1,104
	stw %r2,%r1,112
	retf 0
;HUlib_keyInIText
	alloc 6
	mov %r5,%r2
	callr %r4,toupper
;HUlib_keyInIText+16
	andi %r2,%r5,224
	addiws %r2,%r2,-32
	bwgeui %r2,64,HUlib_keyInIText+80
;HUlib_keyInIText+32
	ldwz %r2,%r1,104
	bweqi %r2,80,HUlib_keyInIText+160
	addiws %r3,%r2,1
;HUlib_keyInIText+48
	stw %r3,%r1,104
	stbx.xw %r5,%r1,%r2,0,20
	ldwz %r2,%r1,104
;HUlib_keyInIText+64
	jmp HUlib_keyInIText+144
	nop 0
	nop 0
;HUlib_keyInIText+80
	andi %r3,%r5,255
	bweqi %r3,13,HUlib_keyInIText+160
	mov %r2,%gz
;HUlib_keyInIText+96
	bwnei %r3,127,HUlib_keyInIText+176
	ldwz %r2,%r1,104
	bweq %r2,%gz,HUlib_keyInIText+160
;HUlib_keyInIText+112
	ldwz %r3,%r1,112
	bweq %r2,%r3,HUlib_keyInIText+160
	addiws %r2,%r2,-1
;HUlib_keyInIText+128
	stw %r2,%r1,104
	nop 0
	nop 0
;HUlib_keyInIText+144
	stbx.xw %gz,%r1,%r2,0,20
	ldi %r2,4
	stw %r2,%r1,108
;HUlib_keyInIText+160
	ldi %r2,1
	nop 0
	nop 0
;HUlib_keyInIText+176
	mov %r1,%r2
	retf 0
	nop 0
;HUlib_drawIText
	alloc 6
	lddz %r2,%r1,120
	ldwz %r2,%r2,0
;HUlib_drawIText+16
	bweq %r2,%gz,HUlib_drawIText+48
	ldi %r5,1
	mov %r4,%r1
;HUlib_drawIText+32
	callr %r3,HUlib_drawTextLine
	nop 0
	nop 0
;HUlib_drawIText+48
	retf 0
	nop 0
	nop 0
;HUlib_eraseIText
	alloc 5
	ldwz %r2,%r1,128
	bweq %r2,%gz,HUlib_eraseIText+48
;HUlib_eraseIText+16
	lddz %r2,%r1,120
	ldwz %r2,%r2,0
	bwne %r2,%gz,HUlib_eraseIText+48
;HUlib_eraseIText+32
	ldi %r2,4
	stw %r2,%r1,108
	nop 0
;HUlib_eraseIText+48
	mov %r4,%r1
	callr %r3,HUlib_eraseTextLine
	lddz %r2,%r1,120
;HUlib_eraseIText+64
	ldwz %r2,%r2,0
	stw %r2,%r1,128
	retf 0
;HU_Init
	allocsp 13,32
	mov %r6,%gz
	ldi %r5,33
;HU_Init+16
	ldafr %r1,.rodata+23394
	addi %r2,%sp,23
	ldi %r3,9
;HU_Init+32
	ldi %r4,1
	ldafr %r7,hu_font
	nop 0
;HU_Init+48
	addiws %r8,%r5,1
	stw %r5,%sp,0
	mov2 %r10,%r11,%r2,%r3
;HU_Init+64
	mov %r12,%r1
	callr %r9,snprintf
	mov2 %r11,%r12,%r2,%r4
;HU_Init+80
	callr %r10,W_CacheLumpName
	stdx.xd %r11,%r6,%r7,0,0
	addi %r6,%r6,8
;HU_Init+96
	mov %r5,%r8
	bdnei %r6,504,HU_Init+48
	retf 32
;HU_Stop
	alloc 1
	stbr %gz,headsupactive
	retf 0
;HU_Start
	alloc 14
	ldbzr %r1,headsupactive
	bbci %r1,0,HU_Start+32
;HU_Start+16
	stbr %gz,headsupactive
	nop 0
	nop 0
;HU_Start+32
	ldwsr %r1,consoleplayer
	ldafr %r2,players
	ldi %r3,328
;HU_Start+48
	muladd %r1,%r1,%r3,%r2
	stdr %r1,plr
	stwr %gz,message_on
;HU_Start+64
	ldafr %r13,message_on
	stwr %gz,message_dontfuckwithme
	stwr %gz,message_nottobefuckedwith
;HU_Start+80
	stwr %gz,chat_on
	ldafr %r7,w_message
	ldafr %r2,hu_font
;HU_Start+96
	ldi %r1,1
	ldi %r3,33
	mov2 %r8,%r9,%gz,%gz
;HU_Start+112
	mov2 %r10,%r11,%r1,%r2
	mov %r12,%r3
	callr %r6,HUlib_initSText
;HU_Start+128
	lddzr %r4,hu_font
	ldbs %r5,%r4,3
	ldbz %r4,%r4,2
;HU_Start+144
	slor %r4,%r4,%r5,8
	subfiws %r11,%r4,167
	ldafr %r9,w_title
;HU_Start+160
	mov2 %r10,%r12,%gz,%r2
	mov %r13,%r3
	callr %r8,HUlib_initTextLine
;HU_Start+176
	ldwzr %r2,gamemission
	cmpweqi %r3,%r2,5
	cmpweqi %r4,%r2,4
;HU_Start+192
	cmovlsb %r2,%r3,%r1,%r2
	cmovlsb %r2,%r4,%gz,%r2
	bwgeui %r2,4,HU_Start+560
;HU_Start+208
	srliw %r2,%r2,0
	ldafr %r3,.rodata+33412
	jmpt %r3,%r2
;HU_Start+224
	ldwzr %r2,gameepisode
	ldwzr %r3,gamemap
	mulwsi %r2,%r2,9
;HU_Start+240
	addws %r2,%r2,%r3
	addiws %r2,%r2,-10
	ldafr %r3,mapnames
;HU_Start+256
	lddzx.xw %r2,%r3,%r2,3,0
	ldwzr %r3,gameversion
	bweqi %r3,9,HU_Start+352
;HU_Start+272
	jmp HU_Start+368
	nop 0
	nop 0
;HU_Start+288
	ldwsr %r2,gamemap
	ldafr %r3,mapnames_commercial+504
	jmp HU_Start+336
;HU_Start+304
	ldwsr %r2,gamemap
	ldafr %r3,mapnames_commercial+248
	jmp HU_Start+336
;HU_Start+320
	ldwsr %r2,gamemap
	ldafr %r3,mapnames+352
	nop 0
;HU_Start+336
	lddzx.xd %r2,%r3,%r2,3,0
	ldwzr %r3,gameversion
	bwnei %r3,9,HU_Start+368
;HU_Start+352
	ldwsr %r2,gamemap
	ldafr %r3,player_names+24
	lddzx.xd %r2,%r3,%r2,3,0
;HU_Start+368
	ldbz %r3,%r2,0
	bweq %r3,%gz,HU_Start+432
	addi %r4,%r2,1
;HU_Start+384
	ldafr %r2,w_title
	nop 0
	nop 0
;HU_Start+400
	slsrai %r13,%r3,56,56
	mov %r12,%r2
	callr %r11,HUlib_addCharToTextLine
;HU_Start+416
	ldbz %r3,%r4,0
	addi %r4,%r4,1
	bwne %r3,%gz,HU_Start+400
;HU_Start+432
	lddzr %r2,hu_font
	ldbs %r3,%r2,3
	ldbz %r2,%r2,2
;HU_Start+448
	ldafr %r11,hu_font
	slor %r2,%r2,%r3,8
	addiws %r10,%r2,1
;HU_Start+464
	ldafr %r8,w_chat
	ldafr %r13,chat_on
	ldi %r12,33
;HU_Start+480
	mov %r9,%gz
	callr %r7,HUlib_initIText
	mov %r4,%gz
;HU_Start+496
	ldafr %r5,w_inputbuffer
	ldafr %r2,always_off
	nop 0
;HU_Start+512
	add %r8,%r4,%r5
	mov2 %r9,%r10,%gz,%gz
	mov2 %r11,%r12,%gz,%gz
;HU_Start+528
	mov %r13,%r2
	callr %r7,HUlib_initIText
	addi %r4,%r4,136
;HU_Start+544
	bdnei %r4,544,HU_Start+512
	stbr %r1,headsupactive
	retf 0
;HU_Start+560
	ldafr %r2,.rodata+9057
	ldwzr %r3,gameversion
	bweqi %r3,9,HU_Start+352
;HU_Start+576
	jmp HU_Start+368
	nop 0
	nop 0
;HU_Drawer
	alloc 5
	ldafr %r4,w_message
	callr %r3,HUlib_drawSText
;HU_Drawer+16
	ldafr %r4,w_chat
	callr %r3,HUlib_drawIText
	ldwzr %r1,automapactive
;HU_Drawer+32
	bweq %r1,%gz,HU_Drawer+64
	ldafr %r3,w_title
	mov %r4,%gz
;HU_Drawer+48
	callr %r2,HUlib_drawTextLine
	nop 0
	nop 0
;HU_Drawer+64
	retf 0
	nop 0
	nop 0
;HU_Erase
	alloc 3
	ldafr %r2,w_message
	callr %r1,HUlib_eraseSText
;HU_Erase+16
	ldafr %r2,w_chat
	callr %r1,HUlib_eraseIText
	ldafr %r2,w_title
;HU_Erase+32
	callr %r1,HUlib_eraseTextLine
	retf 0
	nop 0
;HU_Ticker
	alloc 22
	ldwzr %r1,message_counter
	bweq %r1,%gz,HU_Ticker+48
;HU_Ticker+16
	addiws %r1,%r1,-1
	stwr %r1,message_counter
	bwne %r1,%gz,HU_Ticker+48
;HU_Ticker+32
	stwr %gz,message_on
	stwr %gz,message_nottobefuckedwith
	nop 0
;HU_Ticker+48
	ldwzr %r2,showMessages
	ldwzr %r1,message_dontfuckwithme
	or %r2,%r2,%r1
;HU_Ticker+64
	bweq %r2,%gz,HU_Ticker+176
	lddzr %r2,plr
	lddz %r21,%r2,232
;HU_Ticker+80
	bdeq %r21,%gz,HU_Ticker+176
	ldwzr %r2,message_nottobefuckedwith
	cmpwnei %r1,%r1,0
;HU_Ticker+96
	cmpweqi %r2,%r2,0
	or %r1,%r2,%r1
	bbci %r1,0,HU_Ticker+176
;HU_Ticker+112
	ldafr %r19,w_message
	mov %r20,%gz
	callr %r18,HUlib_addMessageToSText
;HU_Ticker+128
	lddzr %r1,plr
	std %gz,%r1,232
	ldwzr %r1,message_dontfuckwithme
;HU_Ticker+144
	ldi %r2,1
	stwr %r2,message_on
	ldi %r2,140
;HU_Ticker+160
	stwr %r2,message_counter
	stwr %r1,message_nottobefuckedwith
	stwr %gz,message_dontfuckwithme
;HU_Ticker+176
	ldwzr %r1,netgame
	bweq %r1,%gz,HU_Ticker+528
	mov2 %r5,%r6,%gz,%gz
;HU_Ticker+192
	ldafr %r7,player_names
	ldafr %r8,playeringame
	ldafr %r9,players+16
;HU_Ticker+208
	ldafr %r10,chat_dest
	ldafr %r11,w_inputbuffer
	ldafr %r12,w_inputbuffer+104
;HU_Ticker+224
	ldafr %r13,w_inputbuffer+20
	ldafr %r1,w_message
	ldi %r14,1
;HU_Ticker+240
	ldi %r15,140
	ldi %r16,87
	ldi %r17,108
;HU_Ticker+256
	jmp HU_Ticker+336
	nop 0
	nop 0
;HU_Ticker+272
	stbx.xd %r3,%r6,%r10,0,0
	nop 0
	nop 0
;HU_Ticker+288
	stb %gz,%r9,0
	nop 0
	nop 0
;HU_Ticker+304
	addi %r6,%r6,1
	addi %r7,%r7,8
	addi %r5,%r5,136
;HU_Ticker+320
	addi %r8,%r8,4
	addi %r9,%r9,328
	bdeqi %r5,544,HU_Ticker+528
;HU_Ticker+336
	ldwz %r2,%r8,0
	bweq %r2,%gz,HU_Ticker+304
	ldwzr %r2,consoleplayer
;HU_Ticker+352
	bdeq %r6,%r2,HU_Ticker+304
	ldbz %r3,%r9,0
	bweq %r3,%gz,HU_Ticker+304
;HU_Ticker+368
	slsrai %r2,%r3,56,56
	bwlti %r2,6,HU_Ticker+272
	add %r2,%r5,%r11
;HU_Ticker+384
	mov2 %r20,%r21,%r2,%r3
	callr %r19,HUlib_keyInIText
	bwnei %r3,13,HU_Ticker+288
;HU_Ticker+400
	bweq %r20,%gz,HU_Ticker+288
	ldwzx.xd %r3,%r5,%r12,0,0
	bweq %r3,%gz,HU_Ticker+512
;HU_Ticker+416
	ldbsx.xd %r3,%r6,%r10,0,0
	bweqi %r3,5,HU_Ticker+448
	ldwzr %r4,consoleplayer
;HU_Ticker+432
	addiws %r4,%r4,1
	bwne %r4,%r3,HU_Ticker+512
	nop 0
;HU_Ticker+448
	lddz %r20,%r7,0
	add %r21,%r5,%r13
	mov %r19,%r1
;HU_Ticker+464
	callr %r18,HUlib_addMessageToSText
	ldwzr %r3,gamemode
	stwr %r14,message_nottobefuckedwith
;HU_Ticker+480
	stwr %r14,message_on
	cmpweqi %r3,%r3,2
	stwr %r15,message_counter
;HU_Ticker+496
	cmovlsb %r21,%r3,%r17,%r16
	mov %r20,%gz
	callr %r19,S_StartSound
;HU_Ticker+512
	mov %r21,%r2
	callr %r20,HUlib_resetIText
	jmp HU_Ticker+288
;HU_Ticker+528
	retf 0
	nop 0
	nop 0
;HU_queueChatChar
	alloc 5
	ldwzr %r2,head
	ldwzr %r4,tail
;HU_queueChatChar+16
	addiws %r3,%r2,1
	andi %r3,%r3,127
	bwne %r3,%r4,HU_queueChatChar+64
;HU_queueChatChar+32
	lddzr %r1,plr
	ldafr %r2,.rodata+18095
	std %r2,%r1,232
;HU_queueChatChar+48
	retf 0
	nop 0
	nop 0
;HU_queueChatChar+64
	ldafr %r4,chatchars
	stbx.xw %r1,%r4,%r2,0,0
	stwr %r3,head
;HU_queueChatChar+80
	retf 0
	nop 0
	nop 0
;HU_dequeueChatChar
	alloc 4
	ldwzr %r3,head
	ldwzr %r2,tail
;HU_dequeueChatChar+16
	mov %r1,%gz
	bweq %r3,%r2,HU_dequeueChatChar+64
	ldafr %r1,chatchars
;HU_dequeueChatChar+32
	ldbzx.xw %r1,%r1,%r2,0,0
	addiws %r2,%r2,1
	andi %r2,%r2,127
;HU_dequeueChatChar+48
	stwr %r2,tail
	nop 0
	nop 0
;HU_dequeueChatChar+64
	slsrai %r1,%r1,56,56
	retf 0
	nop 0
;HU_Responder
	alloc 19
	mov2 %r4,%r3,%gz,%gz
	ldafr %r2,playeringame
;HU_Responder+16
	ldwzx.xd %r5,%r4,%r2,0,0
	addi %r4,%r4,4
	addws %r3,%r5,%r3
;HU_Responder+32
	bdnei %r4,16,HU_Responder+16
	ldwz %r4,%r1,4
	bweqi %r4,182,HU_Responder+96
;HU_Responder+48
	bwnei %r4,184,HU_Responder+80
	ldwz %r2,%r1,0
	mov %r1,%gz
;HU_Responder+64
	cmpweqi %r2,%r2,0
	stwr %r2,HU_Responder.altdown
	retf 0
;HU_Responder+80
	ldwz %r5,%r1,0
	bweq %r5,%gz,HU_Responder+112
	nop 0
;HU_Responder+96
	mov %r1,%gz
	retf 0
	nop 0
;HU_Responder+112
	ldwzr %r5,chat_on
	bweq %r5,%gz,HU_Responder+224
	ldwzr %r2,HU_Responder.altdown
;HU_Responder+128
	bweq %r2,%gz,HU_Responder+272
	addiws %r3,%r4,-48
	andi %r1,%r3,255
;HU_Responder+144
	bwgeui %r1,10,HU_Responder+96
	ldwzr %r1,head
	ldwzr %r2,tail
;HU_Responder+160
	andi %r3,%r3,255
	ldafr %r4,chat_macros
	addiws %r5,%r1,1
;HU_Responder+176
	andi %r8,%r5,127
	lddzx.xd %r9,%r4,%r3,3,0
	ldafr %r5,chatchars
;HU_Responder+192
	ldi %r6,13
	ldafr %r7,.rodata+18095
	bwne %r8,%r2,HU_Responder+480
;HU_Responder+208
	lddzr %r8,plr
	std %r7,%r8,232
	jmp HU_Responder+496
;HU_Responder+224
	ldwzr %r5,key_message_refresh
	bwne %r4,%r5,HU_Responder+368
	ldi %r1,1
;HU_Responder+240
	stwr %r1,message_on
	ldi %r2,140
	stwr %r2,message_counter
;HU_Responder+256
	retf 0
	nop 0
	nop 0
;HU_Responder+272
	ldwz %r3,%r1,8
	andi %r2,%r3,255
	ldafr %r17,w_chat
;HU_Responder+288
	mov %r18,%r2
	callr %r16,HUlib_keyInIText
	mov %r1,%r17
;HU_Responder+304
	bweq %r17,%gz,HU_Responder+736
	ldwzr %r4,head
	ldwzr %r6,tail
;HU_Responder+320
	addiws %r5,%r4,1
	andi %r5,%r5,127
	bwne %r5,%r6,HU_Responder+720
;HU_Responder+336
	lddzr %r3,plr
	ldafr %r4,.rodata+18095
	std %r4,%r3,232
;HU_Responder+352
	jmp HU_Responder+736
	nop 0
	nop 0
;HU_Responder+368
	ldwzr %r4,netgame
	bweq %r4,%gz,HU_Responder+96
	ldwz %r4,%r1,8
;HU_Responder+384
	ldwzr %r1,key_multi_msg
	bwne %r4,%r1,HU_Responder+848
	ldi %r1,1
;HU_Responder+400
	stwr %r1,chat_on
	ldafr %r18,w_chat
	callr %r17,HUlib_resetIText
;HU_Responder+416
	ldwzr %r2,head
	ldwzr %r4,tail
	addiws %r3,%r2,1
;HU_Responder+432
	andi %r3,%r3,127
	bwne %r3,%r4,HU_Responder+1072
	nop 0
;HU_Responder+448
	lddzr %r2,plr
	ldafr %r3,.rodata+18095
	std %r3,%r2,232
;HU_Responder+464
	retf 0
	nop 0
	nop 0
;HU_Responder+480
	stbx.xw %r6,%r5,%r1,0,0
	stwr %r8,head
	mov %r1,%r8
;HU_Responder+496
	ldbz %r10,%r9,0
	bweq %r10,%gz,HU_Responder+592
	lddzr %r8,plr
;HU_Responder+512
	addi %r9,%r9,1
	jmp HU_Responder+560
	nop 0
;HU_Responder+528
	stbx.xw %r10,%r5,%r1,0,0
	stwr %r11,head
	mov %r1,%r11
;HU_Responder+544
	ldbz %r10,%r9,0
	addi %r9,%r9,1
	bweq %r10,%gz,HU_Responder+592
;HU_Responder+560
	addiws %r11,%r1,1
	andi %r11,%r11,127
	bwne %r11,%r2,HU_Responder+528
;HU_Responder+576
	std %r7,%r8,232
	jmp HU_Responder+544
	nop 0
;HU_Responder+592
	addiws %r8,%r1,1
	andi %r8,%r8,127
	sladd %r3,%r4,%r3,3
;HU_Responder+608
	bwne %r8,%r2,HU_Responder+640
	lddzr %r1,plr
	std %r7,%r1,232
;HU_Responder+624
	jmp HU_Responder+656
	nop 0
	nop 0
;HU_Responder+640
	stbx.xw %r6,%r5,%r1,0,0
	stwr %r8,head
	nop 0
;HU_Responder+656
	stwr %gz,chat_on
	lddz %r17,%r3,0
	ldafr %r1,HU_Responder.lastmessage
;HU_Responder+672
	ldi %r18,81
	mov %r16,%r1
	callr %r15,M_StringCopy
;HU_Responder+688
	lddzr %r2,plr
	std %r1,%r2,232
	ldi %r1,1
;HU_Responder+704
	retf 0
	nop 0
	nop 0
;HU_Responder+720
	ldafr %r6,chatchars
	stbx.xw %r3,%r6,%r4,0,0
	stwr %r5,head
;HU_Responder+736
	bweqi %r2,27,HU_Responder+816
	bwnei %r2,13,HU_Responder+832
	ldwzr %r2,w_chat+104
;HU_Responder+752
	stwr %gz,chat_on
	bweq %r2,%gz,HU_Responder+832
	ldafr %r2,HU_Responder.lastmessage
;HU_Responder+768
	ldafr %r17,w_chat+20
	ldi %r18,81
	mov %r16,%r2
;HU_Responder+784
	callr %r15,M_StringCopy
	lddzr %r3,plr
	std %r2,%r3,232
;HU_Responder+800
	retf 0
	nop 0
	nop 0
;HU_Responder+816
	stwr %gz,chat_on
	nop 0
	nop 0
;HU_Responder+832
	retf 0
	nop 0
	nop 0
;HU_Responder+848
	bwlti %r3,3,HU_Responder+96
	mov %r3,%gz
	ldwzr %r13,HU_Responder.num_nobrainers
;HU_Responder+864
	ldwzr %r5,consoleplayer
	lddzr %r6,plr
	ldafr %r7,key_multi_msgplayer
;HU_Responder+880
	ldafr %r8,.rodata+26976
	ldafr %r9,.rodata+13646
	ldafr %r10,.rodata+23404
;HU_Responder+896
	ldafr %r11,.rodata+6253
	ldafr %r12,.rodata+23423
	jmp HU_Responder+960
;HU_Responder+912
	mov %r14,%r13
	nop 0
	nop 0
;HU_Responder+928
	mov %r1,%gz
	addi %r3,%r3,1
	addi %r2,%r2,4
;HU_Responder+944
	addi %r7,%r7,4
	mov %r13,%r14
	bdeqi %r3,4,HU_Responder+832
;HU_Responder+960
	ldwz %r1,%r7,0
	bwne %r4,%r1,HU_Responder+912
	ldwz %r1,%r2,0
;HU_Responder+976
	bweq %r1,%gz,HU_Responder+992
	bdne %r5,%r3,HU_Responder+1104
	nop 0
;HU_Responder+992
	bdne %r5,%r3,HU_Responder+912
	addiws %r14,%r13,1
	stwr %r14,HU_Responder.num_nobrainers
;HU_Responder+1008
	mov %r1,%r8
	bwlti %r13,2,HU_Responder+1056
	mov %r1,%r9
;HU_Responder+1024
	bwltui %r13,5,HU_Responder+1056
	mov %r1,%r10
	bwltui %r13,8,HU_Responder+1056
;HU_Responder+1040
	cmpwltui %r1,%r13,31
	cmovlsb %r1,%r1,%r12,%r11
	nop 0
;HU_Responder+1056
	std %r1,%r6,232
	jmp HU_Responder+928
	nop 0
;HU_Responder+1072
	ldafr %r4,chatchars
	ldi %r5,5
	stbx.xw %r5,%r4,%r2,0,0
;HU_Responder+1088
	stwr %r3,head
	retf 0
	nop 0
;HU_Responder+1104
	ldi %r1,1
	stwr %r1,chat_on
	ldafr %r18,w_chat
;HU_Responder+1120
	callr %r17,HUlib_resetIText
	ldwzr %r2,head
	ldwzr %r5,tail
;HU_Responder+1136
	addiws %r4,%r2,1
	andi %r4,%r4,127
	bweq %r4,%r5,HU_Responder+448
;HU_Responder+1152
	addiws %r3,%r3,1
	ldafr %r5,chatchars
	stbx.xw %r3,%r5,%r2,0,0
;HU_Responder+1168
	stwr %r4,head
	retf 0
	nop 0
;I_CDMusInit
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusPrintStartup
	alloc 1
	retf 0
	nop 0
;I_CDMusPlay
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusStop
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusResume
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusSetVolume
	alloc 2
	stwr %gz,cd_Error
	mov %r1,%gz
;I_CDMusSetVolume+16
	retf 0
	nop 0
	nop 0
;I_CDMusFirstTrack
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusLastTrack
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusTrackLength
	alloc 2
	mov %r1,%gz
	retf 0
;I_Endoom
	alloc 1
	retf 0
	nop 0
;I_ShutdownJoystick
	alloc 1
	retf 0
	nop 0
;I_InitJoystick
	alloc 1
	retf 0
	nop 0
;I_UpdateJoystick
	alloc 1
	retf 0
	nop 0
;I_BindJoystickVariables
	allocsp 11,48
	ldafr %r9,.rodata+13699
	ldafr %r10,usejoystick
;I_BindJoystickVariables+16
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+28567
	ldafr %r10,joystick_index
;I_BindJoystickVariables+32
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+23461
	ldafr %r10,joystick_x_axis
;I_BindJoystickVariables+48
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+28582
	ldafr %r10,joystick_y_axis
;I_BindJoystickVariables+64
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+10736
	ldafr %r10,joystick_strafe_axis
;I_BindJoystickVariables+80
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+11755
	ldafr %r10,joystick_x_invert
;I_BindJoystickVariables+96
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+19847
	ldafr %r10,joystick_y_invert
;I_BindJoystickVariables+112
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+2569
	ldafr %r10,joystick_strafe_invert
;I_BindJoystickVariables+128
	callr %r8,M_BindVariable
	mov %r6,%gz
	ldafr %r1,joystick_physical_buttons
;I_BindJoystickVariables+144
	ldafr %r2,.rodata+3916
	addi %r3,%sp,16
	ldi %r4,32
;I_BindJoystickVariables+160
	stw %r6,%sp,0
	mov2 %r8,%r9,%r3,%r4
	mov %r10,%r2
;I_BindJoystickVariables+176
	callr %r7,M_snprintf
	mov2 %r9,%r10,%r3,%r1
	callr %r8,M_BindVariable
;I_BindJoystickVariables+192
	addi %r6,%r6,1
	addi %r1,%r1,4
	bdnei %r6,10,I_BindJoystickVariables+160
;I_BindJoystickVariables+208
	retf 48
	nop 0
	nop 0
;I_InitScale
	alloc 4
	stdr %r1,src_buffer
	stdr %r2,dest_buffer
;I_InitScale+16
	stwr %r3,dest_pitch
	retf 0
	nop 0
;I_Scale1x
	alloc 15
	bwle %r4,%r2,I_Scale1x+112
	ldwzr %r8,dest_pitch
;I_Scale1x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r8,%r2
	lddzr %r9,src_buffer
;I_Scale1x+32
	sraiw %r10,%r1,0
	addadd %r7,%r5,%r6,%r10
	mulwsi %r5,%r2,320
;I_Scale1x+48
	addadd %r6,%r9,%r5,%r10
	subws %r5,%r3,%r1
	sraiw %r3,%r8,0
;I_Scale1x+64
	mov2 %r12,%r13,%r7,%r6
	mov %r14,%r5
	callr %r11,memcpy
;I_Scale1x+80
	add %r7,%r7,%r3
	addiws %r2,%r2,1
	addi %r6,%r6,320
;I_Scale1x+96
	bwlt %r2,%r4,I_Scale1x+64
	nop 0
	nop 0
;I_Scale1x+112
	ldi %r1,1
	retf 0
	nop 0
;I_Scale2x
	alloc 13
	bwle %r4,%r2,I_Scale2x+192
	ldwzr %r8,dest_pitch
;I_Scale2x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r8,%r2
	addws %r6,%r6,%r1
;I_Scale2x+32
	ldax.xw %r5,%r5,%r6,1,0
	lddzr %r7,src_buffer
	sraiw %r6,%r8,0
;I_Scale2x+48
	mulwsi %r9,%r2,320
	sraiw %r10,%r1,0
	addadd %r7,%r7,%r9,%r10
;I_Scale2x+64
	slliw %r8,%r8,1
	sraiw %r8,%r8,0
	jmp I_Scale2x+112
;I_Scale2x+80
	add %r5,%r5,%r8
	addiws %r2,%r2,1
	addi %r7,%r7,320
;I_Scale2x+96
	bwle %r4,%r2,I_Scale2x+192
	nop 0
	nop 0
;I_Scale2x+112
	bwle %r3,%r1,I_Scale2x+80
	mov2 %r9,%r11,%gz,%r5
	mov %r10,%r1
;I_Scale2x+128
	ldbzx.xd %r12,%r7,%r9,0,0
	stb %r12,%r11,0
	stb %r12,%r11,1
;I_Scale2x+144
	ldbzx.xd %r12,%r7,%r9,0,0
	stbx.xd %r12,%r11,%r6,0,0
	stbx.xd %r12,%r11,%r6,0,1
;I_Scale2x+160
	addi %r11,%r11,2
	addiws %r10,%r10,1
	addi %r9,%r9,1
;I_Scale2x+176
	bwlt %r10,%r3,I_Scale2x+128
	jmp I_Scale2x+80
	nop 0
;I_Scale2x+192
	ldi %r1,1
	retf 0
	nop 0
;I_Scale3x
	alloc 14
	bwle %r4,%r2,I_Scale3x+256
	ldwzr %r9,dest_pitch
;I_Scale3x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r9,%r2
	addws %r6,%r6,%r1
;I_Scale3x+32
	mulwsi %r6,%r6,3
	ldax.xw %r5,%r5,%r6,0,0
	lddzr %r6,src_buffer
;I_Scale3x+48
	sraiw %r8,%r9,0
	mulwsi %r7,%r2,320
	sraiw %r10,%r1,0
;I_Scale3x+64
	addadd %r6,%r6,%r7,%r10
	mulwsi %r7,%r9,3
	addi %r8,%r8,1
;I_Scale3x+80
	ldi %r10,2
	ldax.xw %r9,%r10,%r9,1,0
	jmp I_Scale3x+128
;I_Scale3x+96
	add %r5,%r5,%r7
	addiws %r2,%r2,1
	addi %r6,%r6,320
;I_Scale3x+112
	bwle %r4,%r2,I_Scale3x+256
	nop 0
	nop 0
;I_Scale3x+128
	bwle %r3,%r1,I_Scale3x+96
	mov2 %r10,%r12,%gz,%r5
	mov %r11,%r1
;I_Scale3x+144
	ldbzx.xd %r13,%r6,%r10,0,0
	stb %r13,%r12,0
	stb %r13,%r12,1
;I_Scale3x+160
	ldbzx.xd %r13,%r6,%r10,0,0
	stb %r13,%r12,2
	stbx.xd %r13,%r12,%r8,0,-1
;I_Scale3x+176
	ldbzx.xd %r13,%r6,%r10,0,0
	stbx.xd %r13,%r12,%r8,0,0
	stbx.xd %r13,%r12,%r8,0,1
;I_Scale3x+192
	ldbzx.xd %r13,%r6,%r10,0,0
	stbx.xd %r13,%r12,%r9,0,-2
	stbx.xd %r13,%r12,%r9,0,-1
;I_Scale3x+208
	ldbzx.xd %r13,%r6,%r10,0,0
	stbx.xd %r13,%r12,%r9,0,0
	addi %r12,%r12,3
;I_Scale3x+224
	addiws %r11,%r11,1
	addi %r10,%r10,1
	bwlt %r11,%r3,I_Scale3x+144
;I_Scale3x+240
	jmp I_Scale3x+96
	nop 0
	nop 0
;I_Scale3x+256
	ldi %r1,1
	retf 0
	nop 0
;I_Scale4x
	alloc 15
	bwle %r4,%r2,I_Scale4x+320
	ldwzr %r7,dest_pitch
;I_Scale4x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r7,%r2
	addws %r6,%r6,%r1
;I_Scale4x+32
	ldax.xw %r5,%r5,%r6,2,0
	mulwsi %r10,%r7,3
	slliw %r6,%r7,1
;I_Scale4x+48
	sraiw %r9,%r6,0
	lddzr %r6,src_buffer
	sraiw %r8,%r7,0
;I_Scale4x+64
	mulwsi %r11,%r2,320
	sraiw %r12,%r1,0
	addadd %r6,%r6,%r11,%r12
;I_Scale4x+80
	slliw %r7,%r7,2
	sraiw %r7,%r7,0
	addi %r8,%r8,1
;I_Scale4x+96
	ori %r9,%r9,1
	addi %r10,%r10,3
	jmp I_Scale4x+144
;I_Scale4x+112
	add %r5,%r5,%r7
	addiws %r2,%r2,1
	addi %r6,%r6,320
;I_Scale4x+128
	bwle %r4,%r2,I_Scale4x+320
	nop 0
	nop 0
;I_Scale4x+144
	bwle %r3,%r1,I_Scale4x+112
	mov2 %r11,%r13,%gz,%r5
	mov %r12,%r1
;I_Scale4x+160
	ldbzx.xd %r14,%r6,%r11,0,0
	stb %r14,%r13,0
	stb %r14,%r13,1
;I_Scale4x+176
	ldbzx.xd %r14,%r6,%r11,0,0
	stb %r14,%r13,2
	stb %r14,%r13,3
;I_Scale4x+192
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r8,0,-1
	stbx.xd %r14,%r13,%r8,0,0
;I_Scale4x+208
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r8,0,1
	stbx.xd %r14,%r13,%r8,0,2
;I_Scale4x+224
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r9,0,-1
	stbx.xd %r14,%r13,%r9,0,0
;I_Scale4x+240
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r9,0,1
	stbx.xd %r14,%r13,%r9,0,2
;I_Scale4x+256
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r10,0,-3
	stbx.xd %r14,%r13,%r10,0,-2
;I_Scale4x+272
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r10,0,-1
	stbx.xd %r14,%r13,%r10,0,0
;I_Scale4x+288
	addi %r13,%r13,4
	addiws %r12,%r12,1
	addi %r11,%r11,1
;I_Scale4x+304
	bwlt %r12,%r3,I_Scale4x+160
	jmp I_Scale4x+112
	nop 0
;I_Scale4x+320
	ldi %r1,1
	retf 0
	nop 0
;I_Scale5x
	alloc 16
	bwle %r4,%r2,I_Scale5x+400
	ldwzr %r11,dest_pitch
;I_Scale5x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r11,%r2
	addws %r6,%r6,%r1
;I_Scale5x+32
	mulwsi %r6,%r6,5
	ldax.xw %r5,%r5,%r6,0,0
	mulwsi %r6,%r11,3
;I_Scale5x+48
	slliw %r7,%r11,1
	sraiw %r7,%r7,0
	lddzr %r9,src_buffer
;I_Scale5x+64
	sraiw %r8,%r11,0
	mulwsi %r10,%r2,320
	sraiw %r12,%r1,0
;I_Scale5x+80
	addadd %r9,%r9,%r10,%r12
	mulwsi %r10,%r11,5
	ldi %r12,4
;I_Scale5x+96
	ldax.xw %r11,%r12,%r11,2,0
	jmp I_Scale5x+144
	nop 0
;I_Scale5x+112
	add %r5,%r5,%r10
	addiws %r2,%r2,1
	addi %r9,%r9,320
;I_Scale5x+128
	bwle %r4,%r2,I_Scale5x+400
	nop 0
	nop 0
;I_Scale5x+144
	bwle %r3,%r1,I_Scale5x+112
	mov2 %r12,%r14,%gz,%r5
	mov %r13,%r1
;I_Scale5x+160
	ldbzx.xd %r15,%r9,%r12,0,0
	stb %r15,%r14,0
	stb %r15,%r14,1
;I_Scale5x+176
	ldbzx.xd %r15,%r9,%r12,0,0
	stb %r15,%r14,2
	stb %r15,%r14,3
;I_Scale5x+192
	ldbzx.xd %r15,%r9,%r12,0,0
	stb %r15,%r14,4
	stbx.xd %r15,%r14,%r8,0,0
;I_Scale5x+208
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r8,0,1
	stbx.xd %r15,%r14,%r8,0,2
;I_Scale5x+224
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r8,0,3
	stbx.xd %r15,%r14,%r8,0,4
;I_Scale5x+240
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r7,0,0
	stbx.xd %r15,%r14,%r7,0,1
;I_Scale5x+256
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r7,0,2
	stbx.xd %r15,%r14,%r7,0,3
;I_Scale5x+272
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r7,0,4
	stbx.xd %r15,%r14,%r6,0,0
;I_Scale5x+288
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r6,0,1
	stbx.xd %r15,%r14,%r6,0,2
;I_Scale5x+304
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r6,0,3
	stbx.xd %r15,%r14,%r6,0,4
;I_Scale5x+320
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r11,0,-4
	stbx.xd %r15,%r14,%r11,0,-3
;I_Scale5x+336
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r11,0,-2
	stbx.xd %r15,%r14,%r11,0,-1
;I_Scale5x+352
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r11,0,0
	addi %r14,%r14,5
;I_Scale5x+368
	addiws %r13,%r13,1
	addi %r12,%r12,1
	bwlt %r13,%r3,I_Scale5x+160
;I_Scale5x+384
	jmp I_Scale5x+112
	nop 0
	nop 0
;I_Scale5x+400
	ldi %r1,1
	retf 0
	nop 0
;I_ResetScaleTables
	alloc 5
	lddzr %r4,stretch_tables.0
	bdeq %r4,%gz,I_ResetScaleTables+96
;I_ResetScaleTables+16
	callr %r3,Z_Free
	lddzr %r4,stretch_tables.1
	callr %r3,Z_Free
;I_ResetScaleTables+32
	ldafr %r4,.rodata+15152
	callr %r3,puts
	ldi %r4,20
;I_ResetScaleTables+48
	mov %r3,%r1
	callr %r2,GenerateStretchTable
	stdr %r3,stretch_tables.0
;I_ResetScaleTables+64
	ldi %r4,40
	mov %r3,%r1
	callr %r2,GenerateStretchTable
;I_ResetScaleTables+80
	stdr %r3,stretch_tables.1
	nop 0
	nop 0
;I_ResetScaleTables+96
	lddzr %r4,half_stretch_table
	bdeq %r4,%gz,I_ResetScaleTables+144
	callr %r3,Z_Free
;I_ResetScaleTables+112
	ldafr %r4,.rodata+9086
	callr %r3,puts
	ldi %r4,50
;I_ResetScaleTables+128
	mov %r3,%r1
	callr %r2,GenerateStretchTable
	stdr %r3,half_stretch_table
;I_ResetScaleTables+144
	retf 0
	nop 0
	nop 0
;GenerateStretchTable
	alloc 25
	ldi %r22,65536
	ldi %r23,1
;GenerateStretchTable+16
	mov %r24,%gz
	callr %r21,Z_Malloc
	mov %r3,%gz
;GenerateStretchTable+32
	subfiws %r4,%r2,100
	addi %r5,%r1,2
	ldi %r6,3
;GenerateStretchTable+48
	ldi.l %r7,2147483647
	jmp GenerateStretchTable+80
;GenerateStretchTable+64
	addi %r3,%r3,1
	bdeqi %r3,256,GenerateStretchTable+416
	nop 0
;GenerateStretchTable+80
	mov %r8,%gz
	muladd %r9,%r3,%r6,%r1
	sladd %r10,%r22,%r3,8
;GenerateStretchTable+96
	jmp GenerateStretchTable+144
	nop 0
	nop 0
;GenerateStretchTable+112
	mov %r12,%r11
	nop 0
	nop 0
;GenerateStretchTable+128
	stbx.xd %r12,%r10,%r8,0,0
	addi %r8,%r8,1
	bdeqi %r8,256,GenerateStretchTable+64
;GenerateStretchTable+144
	muli %r14,%r8,3
	ldbz %r13,%r9,0
	ldbzx.xd %r15,%r1,%r14,0,0
;GenerateStretchTable+160
	mov2 %r11,%r12,%gz,%gz
	mulws %r13,%r2,%r13
	mulws %r15,%r4,%r15
;GenerateStretchTable+176
	addwz %r13,%r15,%r13
	ldbz %r15,%r9,1
	ldbzx.xd %r16,%r1,%r14,0,1
;GenerateStretchTable+192
	muli.l %r13,%r13,1374389535
	srli %r13,%r13,37
;GenerateStretchTable+208
	mulws %r15,%r2,%r15
	mulws %r16,%r4,%r16
	addwz %r15,%r16,%r15
;GenerateStretchTable+224
	ldbz %r16,%r9,2
	ldbzx.xd %r17,%r1,%r14,0,2
	nop 2
;GenerateStretchTable+240
	muli.l %r14,%r15,1374389535
	srli %r14,%r14,37
;GenerateStretchTable+256
	mulws %r15,%r2,%r16
	mulws %r16,%r4,%r17
	addwz %r15,%r16,%r15
;GenerateStretchTable+272
	muli.l %r15,%r15,1374389535
	srli %r15,%r15,37
;GenerateStretchTable+288
	mov2 %r16,%r17,%r5,%r7
	nop 0
	nop 0
;GenerateStretchTable+304
	ldbz %r18,%r16,-2
	ldbz %r19,%r16,-1
	subws %r18,%r13,%r18
;GenerateStretchTable+320
	mulws %r18,%r18,%r18
	ldbz %r20,%r16,0
	subws %r19,%r14,%r19
;GenerateStretchTable+336
	mulws %r19,%r19,%r19
	addws %r18,%r19,%r18
	subws %r19,%r15,%r20
;GenerateStretchTable+352
	mulws %r19,%r19,%r19
	addws %r18,%r18,%r19
	bweq %r18,%gz,GenerateStretchTable+112
;GenerateStretchTable+368
	cmpwlt %r19,%r18,%r17
	cmovlsb %r12,%r19,%r11,%r12
	minsw %r17,%r18,%r17
;GenerateStretchTable+384
	addi %r11,%r11,1
	addi %r16,%r16,3
	bdnei %r11,256,GenerateStretchTable+304
;GenerateStretchTable+400
	jmp GenerateStretchTable+128
	nop 0
	nop 0
;GenerateStretchTable+416
	mov %r1,%r22
	retf 0
	nop 0
;I_InitStretchTables
	alloc 6
	lddzr %r2,stretch_tables.0
	bdeq %r2,%gz,I_InitStretchTables+32
;I_InitStretchTables+16
	retf 0
	nop 0
	nop 0
;I_InitStretchTables+32
	ldafr %r5,.rodata+3260
	callr %r4,printf
	lddzr %r2,stdout
;I_InitStretchTables+48
	mov %r5,%r2
	callr %r4,fflush_unlocked
	ldi %r5,20
;I_InitStretchTables+64
	mov %r4,%r1
	callr %r3,GenerateStretchTable
	stdr %r4,stretch_tables.0
;I_InitStretchTables+80
	ldafr %r5,.rodata+11773
	callr %r4,printf
	mov %r5,%r2
;I_InitStretchTables+96
	callr %r4,fflush_unlocked
	ldi %r5,40
	mov %r4,%r1
;I_InitStretchTables+112
	callr %r3,GenerateStretchTable
	stdr %r4,stretch_tables.1
	ldi %r5,10
;I_InitStretchTables+128
	callr %r4,putchar
	retf 0
	nop 0
;I_Stretch1x
	alloc 22
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch1x+16
	bwne %r2,%gz,I_Stretch1x+496
	bwnei %r3,320,I_Stretch1x+496
	bwnei %r4,200,I_Stretch1x+496
;I_Stretch1x+32
	mov %r5,%gz
	lddzr %r4,dest_buffer
	ldwsr %r6,dest_pitch
;I_Stretch1x+48
	lddzr %r2,src_buffer
	lddzr %r7,stretch_tables.0
	lddzr %r8,stretch_tables.1
;I_Stretch1x+64
	add %r9,%r4,%r6
	muli %r10,%r6,6
	sladd %r11,%r4,%r6,1
;I_Stretch1x+80
	ldi %r1,3
	muladd %r12,%r6,%r1,%r4
	sladd %r13,%r4,%r6,2
;I_Stretch1x+96
	ldi %r3,320
	ldi %r1,1
	nop 0
;I_Stretch1x+112
	mov2 %r14,%r19,%r5,%r4
	mov2 %r20,%r21,%r2,%r3
	callr %r18,memcpy
;I_Stretch1x+128
	mov2 %r5,%r15,%gz,%gz
	add %r4,%r4,%r6
	nop 0
;I_Stretch1x+144
	ldbzx.xd %r16,%r2,%r5,0,0
	ldbzx.xd.l %r17,%r2,%r5,0,320
;I_Stretch1x+160
	slor %r16,%r17,%r16,8
	ldbzx.xd %r16,%r7,%r16,0,0
	mov %r17,%r15
;I_Stretch1x+176
	stbx.xd %r16,%r9,%r5,0,0
	addiws %r15,%r15,1
	addi %r5,%r5,1
;I_Stretch1x+192
	bwltui %r17,319,I_Stretch1x+144
	mov2 %r5,%r15,%gz,%gz
	add %r4,%r4,%r6
;I_Stretch1x+208
	ldbzx.xd.l %r16,%r2,%r5,0,320
	nop 2
;I_Stretch1x+224
	ldbzx.xd.l %r17,%r2,%r5,0,640
	slor %r16,%r17,%r16,8
;I_Stretch1x+240
	ldbzx.xd %r16,%r8,%r16,0,0
	mov %r17,%r15
	stbx.xd %r16,%r11,%r5,0,0
;I_Stretch1x+256
	addiws %r15,%r15,1
	addi %r5,%r5,1
	bwltui %r17,319,I_Stretch1x+208
;I_Stretch1x+272
	mov2 %r5,%r15,%gz,%gz
	add %r4,%r4,%r6
	nop 0
;I_Stretch1x+288
	ldbzx.xd.l %r16,%r2,%r5,0,960
	nop 2
;I_Stretch1x+304
	ldbzx.xd.l %r17,%r2,%r5,0,640
	slor %r16,%r17,%r16,8
;I_Stretch1x+320
	ldbzx.xd %r16,%r8,%r16,0,0
	mov %r17,%r15
	stbx.xd %r16,%r12,%r5,0,0
;I_Stretch1x+336
	addiws %r15,%r15,1
	addi %r5,%r5,1
	bwltui %r17,319,I_Stretch1x+288
;I_Stretch1x+352
	mov2 %r15,%r16,%gz,%gz
	add %r5,%r4,%r6
	addi %r20,%r2,1280
;I_Stretch1x+368
	ldbzx.xd.l %r4,%r2,%r15,0,1280
	nop 2
;I_Stretch1x+384
	ldbzx.xd.l %r17,%r2,%r15,0,960
	slor %r4,%r17,%r4,8
;I_Stretch1x+400
	ldbzx.xd %r4,%r7,%r4,0,0
	mov %r17,%r16
	stbx.xd %r4,%r13,%r15,0,0
;I_Stretch1x+416
	addiws %r16,%r16,1
	addi %r15,%r15,1
	bwltui %r17,319,I_Stretch1x+368
;I_Stretch1x+432
	add %r19,%r5,%r6
	mov %r21,%r3
	callr %r18,memcpy
;I_Stretch1x+448
	addadd %r4,%r5,%r6,%r6
	addi %r2,%r2,1600
	addiws %r5,%r14,5
;I_Stretch1x+464
	add %r9,%r9,%r10
	add %r11,%r11,%r10
	add %r12,%r12,%r10
;I_Stretch1x+480
	add %r13,%r13,%r10
	bwltui %r14,195,I_Stretch1x+112
	nop 0
;I_Stretch1x+496
	retf 0
	nop 0
	nop 0
;I_Stretch2x
	alloc 15
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch2x+16
	bwne %r2,%gz,I_Stretch2x+1056
	bwnei %r3,320,I_Stretch2x+1056
	bwnei %r4,200,I_Stretch2x+1056
;I_Stretch2x+32
	mov %r9,%gz
	lddzr %r2,src_buffer
	lddzr %r8,dest_buffer
;I_Stretch2x+48
	ldi %r3,320
	ldi %r4,640
	ldi %r5,960
;I_Stretch2x+64
	ldi %r6,1280
	ldi %r1,1
	nop 0
;I_Stretch2x+80
	mov2 %r11,%r7,%gz,%r9
	mov2 %r9,%r10,%r2,%r8
	nop 0
;I_Stretch2x+96
	ldbz %r12,%r9,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+112
	stb %r12,%r10,1
	addi %r10,%r10,2
	addi %r9,%r9,1
;I_Stretch2x+128
	addiws %r11,%r11,1
	bwltui %r13,319,I_Stretch2x+96
	ldwsr %r9,dest_pitch
;I_Stretch2x+144
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r2
	mov %r10,%r8
;I_Stretch2x+160
	ldbz %r12,%r9,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+176
	stb %r12,%r10,1
	addi %r10,%r10,2
	addi %r9,%r9,1
;I_Stretch2x+192
	addiws %r11,%r11,1
	bwltui %r13,319,I_Stretch2x+160
	ldwsr %r9,dest_pitch
;I_Stretch2x+208
	mov %r12,%gz
	add %r8,%r8,%r9
	lddzr %r9,stretch_tables.1
;I_Stretch2x+224
	mov2 %r10,%r11,%r8,%r2
	nop 0
	nop 0
;I_Stretch2x+240
	ldbz %r13,%r11,0
	ldbz %r14,%r11,320
	slor %r13,%r14,%r13,8
;I_Stretch2x+256
	ldbzx.xd %r13,%r9,%r13,0,0
	mov %r14,%r12
	stb %r13,%r10,0
;I_Stretch2x+272
	stb %r13,%r10,1
	addi %r10,%r10,2
	addi %r11,%r11,1
;I_Stretch2x+288
	addiws %r12,%r12,1
	bwltui %r14,319,I_Stretch2x+240
	ldwsr %r9,dest_pitch
;I_Stretch2x+304
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r3
	mov %r10,%r8
;I_Stretch2x+320
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+336
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+352
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+320
	ldwsr %r9,dest_pitch
;I_Stretch2x+368
	mov %r11,%gz
	add %r8,%r8,%r9
	lddzr %r9,stretch_tables.0
;I_Stretch2x+384
	mov2 %r10,%r12,%r4,%r8
	nop 0
	nop 0
;I_Stretch2x+400
	ldbzx.xd %r13,%r2,%r10,0,0
	ldbzx.xd.l %r14,%r2,%r10,0,-320
;I_Stretch2x+416
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r9,%r13,0,0
	mov %r14,%r11
;I_Stretch2x+432
	stb %r13,%r12,0
	stb %r13,%r12,1
	addiws %r11,%r11,1
;I_Stretch2x+448
	addi %r10,%r10,1
	addi %r12,%r12,2
	bwltui %r14,319,I_Stretch2x+400
;I_Stretch2x+464
	ldwsr %r9,dest_pitch
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r4
;I_Stretch2x+480
	mov %r10,%r8
	nop 0
	nop 0
;I_Stretch2x+496
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+512
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+528
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+496
	ldwsr %r9,dest_pitch
;I_Stretch2x+544
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r4
	mov %r10,%r8
;I_Stretch2x+560
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+576
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+592
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+560
	ldwsr %r9,dest_pitch
;I_Stretch2x+608
	mov %r11,%gz
	add %r8,%r8,%r9
	lddzr %r9,stretch_tables.0
;I_Stretch2x+624
	mov2 %r10,%r12,%r4,%r8
	nop 0
	nop 0
;I_Stretch2x+640
	ldbzx.xd %r13,%r2,%r10,0,0
	ldbzx.xd.l %r14,%r2,%r10,0,320
;I_Stretch2x+656
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r9,%r13,0,0
	mov %r14,%r11
;I_Stretch2x+672
	stb %r13,%r12,0
	stb %r13,%r12,1
	addiws %r11,%r11,1
;I_Stretch2x+688
	addi %r10,%r10,1
	addi %r12,%r12,2
	bwltui %r14,319,I_Stretch2x+640
;I_Stretch2x+704
	ldwsr %r9,dest_pitch
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r5
;I_Stretch2x+720
	mov %r10,%r8
	nop 0
	nop 0
;I_Stretch2x+736
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+752
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+768
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+736
	ldwsr %r9,dest_pitch
;I_Stretch2x+784
	mov %r11,%gz
	add %r8,%r8,%r9
	lddzr %r9,stretch_tables.1
;I_Stretch2x+800
	mov2 %r10,%r12,%r6,%r8
	nop 0
	nop 0
;I_Stretch2x+816
	ldbzx.xd %r13,%r2,%r10,0,0
	ldbzx.xd.l %r14,%r2,%r10,0,-320
;I_Stretch2x+832
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r9,%r13,0,0
	mov %r14,%r11
;I_Stretch2x+848
	stb %r13,%r12,0
	stb %r13,%r12,1
	addiws %r11,%r11,1
;I_Stretch2x+864
	addi %r10,%r10,1
	addi %r12,%r12,2
	bwltui %r14,319,I_Stretch2x+816
;I_Stretch2x+880
	ldwsr %r9,dest_pitch
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r6
;I_Stretch2x+896
	mov %r10,%r8
	nop 0
	nop 0
;I_Stretch2x+912
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+928
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+944
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+912
	ldwsr %r9,dest_pitch
;I_Stretch2x+960
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r6
	mov %r10,%r8
;I_Stretch2x+976
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+992
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+1008
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+976
	ldwsr %r9,dest_pitch
;I_Stretch2x+1024
	add %r8,%r8,%r9
	addi %r2,%r2,1600
	addiws %r9,%r7,5
;I_Stretch2x+1040
	bwltui %r7,195,I_Stretch2x+80
	nop 0
	nop 0
;I_Stretch2x+1056
	retf 0
	nop 0
	nop 0
;I_Stretch3x
	alloc 13
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch3x+16
	bwne %r2,%gz,I_Stretch3x+1616
	bwnei %r3,320,I_Stretch3x+1616
	bwnei %r4,200,I_Stretch3x+1616
;I_Stretch3x+32
	mov %r7,%gz
	lddzr %r1,src_buffer
	lddzr %r6,dest_buffer
;I_Stretch3x+48
	ldi %r2,320
	ldi %r3,640
	ldi %r4,960
;I_Stretch3x+64
	mov2 %r9,%r5,%gz,%r7
	mov2 %r7,%r8,%r1,%r6
	nop 0
;I_Stretch3x+80
	ldbz %r10,%r7,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+96
	ldbz %r10,%r7,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+112
	addi %r8,%r8,3
	addi %r7,%r7,1
	addiws %r9,%r9,1
;I_Stretch3x+128
	bwltui %r11,319,I_Stretch3x+80
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+144
	mov2 %r9,%r7,%gz,%r1
	mov %r8,%r6
	nop 0
;I_Stretch3x+160
	ldbz %r10,%r7,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+176
	ldbz %r10,%r7,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+192
	addi %r8,%r8,3
	addi %r7,%r7,1
	addiws %r9,%r9,1
;I_Stretch3x+208
	bwltui %r11,319,I_Stretch3x+160
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+224
	mov2 %r9,%r7,%gz,%r1
	mov %r8,%r6
	nop 0
;I_Stretch3x+240
	ldbz %r10,%r7,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+256
	ldbz %r10,%r7,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+272
	addi %r8,%r8,3
	addi %r7,%r7,1
	addiws %r9,%r9,1
;I_Stretch3x+288
	bwltui %r11,319,I_Stretch3x+240
	ldwsr %r7,dest_pitch
	mov %r10,%gz
;I_Stretch3x+304
	add %r6,%r6,%r7
	lddzr %r7,stretch_tables.1
	mov2 %r8,%r9,%r2,%r6
;I_Stretch3x+320
	ldbzx.xd %r11,%r1,%r8,0,0
	ldbzx.xd.l %r12,%r1,%r8,0,-320
;I_Stretch3x+336
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r7,%r11,0,0
	mov %r12,%r10
;I_Stretch3x+352
	stb %r11,%r9,0
	stb %r11,%r9,1
	stb %r11,%r9,2
;I_Stretch3x+368
	addiws %r10,%r10,1
	addi %r8,%r8,1
	addi %r9,%r9,3
;I_Stretch3x+384
	bwltui %r12,319,I_Stretch3x+320
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+400
	mov2 %r9,%r7,%gz,%r2
	mov %r8,%r6
	nop 0
;I_Stretch3x+416
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+432
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+448
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+464
	bwltui %r11,319,I_Stretch3x+416
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+480
	mov2 %r9,%r7,%gz,%r2
	mov %r8,%r6
	nop 0
;I_Stretch3x+496
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+512
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+528
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+544
	bwltui %r11,319,I_Stretch3x+496
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+560
	mov2 %r9,%r7,%gz,%r2
	mov %r8,%r6
	nop 0
;I_Stretch3x+576
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+592
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+608
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+624
	bwltui %r11,319,I_Stretch3x+576
	ldwsr %r7,dest_pitch
	mov %r10,%gz
;I_Stretch3x+640
	add %r6,%r6,%r7
	lddzr %r7,stretch_tables.0
	mov2 %r8,%r9,%r2,%r6
;I_Stretch3x+656
	ldbzx.xd %r11,%r1,%r8,0,0
	ldbzx.xd.l %r12,%r1,%r8,0,320
;I_Stretch3x+672
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r7,%r11,0,0
	mov %r12,%r10
;I_Stretch3x+688
	stb %r11,%r9,0
	stb %r11,%r9,1
	stb %r11,%r9,2
;I_Stretch3x+704
	addiws %r10,%r10,1
	addi %r8,%r8,1
	addi %r9,%r9,3
;I_Stretch3x+720
	bwltui %r12,319,I_Stretch3x+656
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+736
	mov2 %r9,%r7,%gz,%r3
	mov %r8,%r6
	nop 0
;I_Stretch3x+752
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+768
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+784
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+800
	bwltui %r11,319,I_Stretch3x+752
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+816
	mov2 %r9,%r7,%gz,%r3
	mov %r8,%r6
	nop 0
;I_Stretch3x+832
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+848
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+864
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+880
	bwltui %r11,319,I_Stretch3x+832
	ldwsr %r7,dest_pitch
	mov %r10,%gz
;I_Stretch3x+896
	add %r6,%r6,%r7
	lddzr %r7,stretch_tables.0
	mov2 %r8,%r9,%r4,%r6
;I_Stretch3x+912
	ldbzx.xd %r11,%r1,%r8,0,0
	ldbzx.xd.l %r12,%r1,%r8,0,-320
;I_Stretch3x+928
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r7,%r11,0,0
	mov %r12,%r10
;I_Stretch3x+944
	stb %r11,%r9,0
	stb %r11,%r9,1
	stb %r11,%r9,2
;I_Stretch3x+960
	addiws %r10,%r10,1
	addi %r8,%r8,1
	addi %r9,%r9,3
;I_Stretch3x+976
	bwltui %r12,319,I_Stretch3x+912
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+992
	mov2 %r9,%r7,%gz,%r4
	mov %r8,%r6
	nop 0
;I_Stretch3x+1008
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1024
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1040
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1056
	bwltui %r11,319,I_Stretch3x+1008
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1072
	mov2 %r9,%r7,%gz,%r4
	mov %r8,%r6
	nop 0
;I_Stretch3x+1088
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1104
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1120
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1136
	bwltui %r11,319,I_Stretch3x+1088
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1152
	mov2 %r9,%r7,%gz,%r4
	mov %r8,%r6
	nop 0
;I_Stretch3x+1168
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1184
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1200
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1216
	bwltui %r11,319,I_Stretch3x+1168
	ldwsr %r7,dest_pitch
	mov %r10,%gz
;I_Stretch3x+1232
	add %r6,%r6,%r7
	ldi %r7,960
	lddzr %r8,stretch_tables.1
;I_Stretch3x+1248
	mov %r9,%r6
	nop 0
	nop 0
;I_Stretch3x+1264
	ldbzx.xd %r11,%r1,%r7,0,0
	ldbzx.xd.l %r12,%r1,%r7,0,320
;I_Stretch3x+1280
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r8,%r11,0,0
	mov %r12,%r10
;I_Stretch3x+1296
	stb %r11,%r9,0
	stb %r11,%r9,1
	stb %r11,%r9,2
;I_Stretch3x+1312
	addiws %r10,%r10,1
	addi %r7,%r7,1
	addi %r9,%r9,3
;I_Stretch3x+1328
	bwltui %r12,319,I_Stretch3x+1264
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1344
	mov %r9,%gz
	ldi %r7,1280
	mov %r8,%r6
;I_Stretch3x+1360
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1376
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1392
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1408
	bwltui %r11,319,I_Stretch3x+1360
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1424
	mov %r9,%gz
	ldi %r7,1280
	mov %r8,%r6
;I_Stretch3x+1440
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1456
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1472
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1488
	bwltui %r11,319,I_Stretch3x+1440
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1504
	mov %r9,%gz
	ldi %r7,1280
	mov %r8,%r6
;I_Stretch3x+1520
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1536
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1552
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1568
	bwltui %r11,319,I_Stretch3x+1520
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1584
	addi %r1,%r1,1600
	addiws %r7,%r5,5
	bwltui %r5,195,I_Stretch3x+64
;I_Stretch3x+1600
	ldi %r1,1
	nop 0
	nop 0
;I_Stretch3x+1616
	retf 0
	nop 0
	nop 0
;I_Stretch4x
	alloc 12
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch4x+16
	bwne %r2,%gz,I_Stretch4x+2288
	bwnei %r3,320,I_Stretch4x+2288
	bwnei %r4,200,I_Stretch4x+2288
;I_Stretch4x+32
	mov %r6,%gz
	lddzr %r1,src_buffer
	lddzr %r5,dest_buffer
;I_Stretch4x+48
	ldi %r2,320
	ldi %r3,640
	nop 0
;I_Stretch4x+64
	mov2 %r8,%r4,%gz,%r6
	mov2 %r6,%r7,%r1,%r5
	nop 0
;I_Stretch4x+80
	ldbz %r9,%r6,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+96
	ldbz %r9,%r6,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+112
	stb %r9,%r7,3
	addi %r7,%r7,4
	addi %r6,%r6,1
;I_Stretch4x+128
	addiws %r8,%r8,1
	bwltui %r10,319,I_Stretch4x+80
	ldwsr %r6,dest_pitch
;I_Stretch4x+144
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r1
	mov %r7,%r5
;I_Stretch4x+160
	ldbz %r9,%r6,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+176
	ldbz %r9,%r6,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+192
	stb %r9,%r7,3
	addi %r7,%r7,4
	addi %r6,%r6,1
;I_Stretch4x+208
	addiws %r8,%r8,1
	bwltui %r10,319,I_Stretch4x+160
	ldwsr %r6,dest_pitch
;I_Stretch4x+224
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r1
	mov %r7,%r5
;I_Stretch4x+240
	ldbz %r9,%r6,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+256
	ldbz %r9,%r6,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+272
	stb %r9,%r7,3
	addi %r7,%r7,4
	addi %r6,%r6,1
;I_Stretch4x+288
	addiws %r8,%r8,1
	bwltui %r10,319,I_Stretch4x+240
	ldwsr %r6,dest_pitch
;I_Stretch4x+304
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r1
	mov %r7,%r5
;I_Stretch4x+320
	ldbz %r9,%r6,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+336
	ldbz %r9,%r6,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+352
	stb %r9,%r7,3
	addi %r7,%r7,4
	addi %r6,%r6,1
;I_Stretch4x+368
	addiws %r8,%r8,1
	bwltui %r10,319,I_Stretch4x+320
	ldwsr %r6,dest_pitch
;I_Stretch4x+384
	mov %r9,%gz
	add %r5,%r5,%r6
	lddzr %r6,stretch_tables.0
;I_Stretch4x+400
	mov2 %r7,%r8,%r2,%r5
	nop 0
	nop 0
;I_Stretch4x+416
	ldbzx.xd %r10,%r1,%r7,0,0
	ldbzx.xd.l %r11,%r1,%r7,0,-320
;I_Stretch4x+432
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r6,%r10,0,0
	mov %r11,%r9
;I_Stretch4x+448
	stb %r10,%r8,0
	stb %r10,%r8,1
	stb %r10,%r8,2
;I_Stretch4x+464
	stb %r10,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch4x+480
	addi %r8,%r8,4
	bwltui %r11,319,I_Stretch4x+416
	ldwsr %r6,dest_pitch
;I_Stretch4x+496
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r2
	mov %r7,%r5
;I_Stretch4x+512
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+528
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+544
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+560
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+512
	ldwsr %r6,dest_pitch
;I_Stretch4x+576
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r2
	mov %r7,%r5
;I_Stretch4x+592
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+608
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+624
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+640
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+592
	ldwsr %r6,dest_pitch
;I_Stretch4x+656
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r2
	mov %r7,%r5
;I_Stretch4x+672
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+688
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+704
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+720
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+672
	ldwsr %r6,dest_pitch
;I_Stretch4x+736
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r2
	mov %r7,%r5
;I_Stretch4x+752
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+768
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+784
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+800
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+752
	ldwsr %r6,dest_pitch
;I_Stretch4x+816
	mov %r9,%gz
	add %r5,%r5,%r6
	lddzr %r6,stretch_tables.1
;I_Stretch4x+832
	mov2 %r7,%r8,%r3,%r5
	nop 0
	nop 0
;I_Stretch4x+848
	ldbzx.xd %r10,%r1,%r7,0,0
	ldbzx.xd.l %r11,%r1,%r7,0,-320
;I_Stretch4x+864
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r6,%r10,0,0
	mov %r11,%r9
;I_Stretch4x+880
	stb %r10,%r8,0
	stb %r10,%r8,1
	stb %r10,%r8,2
;I_Stretch4x+896
	stb %r10,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch4x+912
	addi %r8,%r8,4
	bwltui %r11,319,I_Stretch4x+848
	ldwsr %r6,dest_pitch
;I_Stretch4x+928
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r3
	mov %r7,%r5
;I_Stretch4x+944
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+960
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+976
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+992
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+944
	ldwsr %r6,dest_pitch
;I_Stretch4x+1008
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r3
	mov %r7,%r5
;I_Stretch4x+1024
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1040
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1056
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1072
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1024
	ldwsr %r6,dest_pitch
;I_Stretch4x+1088
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r3
	mov %r7,%r5
;I_Stretch4x+1104
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1120
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1136
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1152
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1104
	ldwsr %r6,dest_pitch
;I_Stretch4x+1168
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,640
;I_Stretch4x+1184
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1200
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1216
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1232
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1248
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1200
	ldwsr %r6,dest_pitch
;I_Stretch4x+1264
	mov %r9,%gz
	add %r5,%r5,%r6
	ldi %r6,640
;I_Stretch4x+1280
	lddzr %r7,stretch_tables.1
	mov %r8,%r5
	nop 0
;I_Stretch4x+1296
	ldbzx.xd %r10,%r1,%r6,0,0
	ldbzx.xd.l %r11,%r1,%r6,0,320
;I_Stretch4x+1312
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r7,%r10,0,0
	mov %r11,%r9
;I_Stretch4x+1328
	stb %r10,%r8,0
	stb %r10,%r8,1
	stb %r10,%r8,2
;I_Stretch4x+1344
	stb %r10,%r8,3
	addiws %r9,%r9,1
	addi %r6,%r6,1
;I_Stretch4x+1360
	addi %r8,%r8,4
	bwltui %r11,319,I_Stretch4x+1296
	ldwsr %r6,dest_pitch
;I_Stretch4x+1376
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,960
;I_Stretch4x+1392
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1408
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1424
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1440
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1456
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1408
	ldwsr %r6,dest_pitch
;I_Stretch4x+1472
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,960
;I_Stretch4x+1488
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1504
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1520
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1536
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1552
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1504
	ldwsr %r6,dest_pitch
;I_Stretch4x+1568
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,960
;I_Stretch4x+1584
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1600
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1616
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1632
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1648
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1600
	ldwsr %r6,dest_pitch
;I_Stretch4x+1664
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,960
;I_Stretch4x+1680
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1696
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1712
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1728
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1744
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1696
	ldwsr %r6,dest_pitch
;I_Stretch4x+1760
	mov %r9,%gz
	add %r5,%r5,%r6
	ldi %r6,960
;I_Stretch4x+1776
	lddzr %r7,stretch_tables.0
	mov %r8,%r5
	nop 0
;I_Stretch4x+1792
	ldbzx.xd %r10,%r1,%r6,0,0
	ldbzx.xd.l %r11,%r1,%r6,0,320
;I_Stretch4x+1808
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r7,%r10,0,0
	mov %r11,%r9
;I_Stretch4x+1824
	stb %r10,%r8,0
	stb %r10,%r8,1
	stb %r10,%r8,2
;I_Stretch4x+1840
	stb %r10,%r8,3
	addiws %r9,%r9,1
	addi %r6,%r6,1
;I_Stretch4x+1856
	addi %r8,%r8,4
	bwltui %r11,319,I_Stretch4x+1792
	ldwsr %r6,dest_pitch
;I_Stretch4x+1872
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,1280
;I_Stretch4x+1888
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1904
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1920
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1936
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1952
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1904
	ldwsr %r6,dest_pitch
;I_Stretch4x+1968
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,1280
;I_Stretch4x+1984
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+2000
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+2016
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+2032
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+2048
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+2000
	ldwsr %r6,dest_pitch
;I_Stretch4x+2064
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,1280
;I_Stretch4x+2080
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+2096
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+2112
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+2128
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+2144
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+2096
	ldwsr %r6,dest_pitch
;I_Stretch4x+2160
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,1280
;I_Stretch4x+2176
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+2192
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+2208
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+2224
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+2240
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+2192
	ldwsr %r6,dest_pitch
;I_Stretch4x+2256
	add %r5,%r5,%r6
	addi %r1,%r1,1600
	addiws %r6,%r4,5
;I_Stretch4x+2272
	bwltui %r4,195,I_Stretch4x+64
	ldi %r1,1
	nop 0
;I_Stretch4x+2288
	retf 0
	nop 0
	nop 0
;I_Stretch5x
	alloc 19
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch5x+16
	bwne %r2,%gz,I_Stretch5x+752
	bwnei %r3,320,I_Stretch5x+752
	bwnei %r4,200,I_Stretch5x+752
;I_Stretch5x+32
	ldwsr %r1,dest_pitch
	mov %r9,%gz
	lddzr %r2,src_buffer
;I_Stretch5x+48
	lddzr %r4,dest_buffer
	slli %r3,%r1,1
	muli %r5,%r1,3
;I_Stretch5x+64
	slli %r6,%r1,2
	muli %r7,%r1,5
	nop 0
;I_Stretch5x+80
	mov2 %r11,%r8,%gz,%r9
	mov2 %r9,%r10,%r2,%r4
	nop 0
;I_Stretch5x+96
	ldbz %r12,%r9,0
	stb %r12,%r10,0
	stb %r12,%r10,1
;I_Stretch5x+112
	ldbz %r12,%r9,0
	stb %r12,%r10,2
	stb %r12,%r10,3
;I_Stretch5x+128
	ldbz %r12,%r9,0
	mov %r13,%r11
	stb %r12,%r10,4
;I_Stretch5x+144
	addi %r10,%r10,5
	addi %r9,%r9,1
	addiws %r11,%r11,1
;I_Stretch5x+160
	bwltui %r13,319,I_Stretch5x+96
	mov %r11,%gz
	add %r9,%r4,%r1
;I_Stretch5x+176
	mov2 %r10,%r12,%r1,%r2
	nop 0
	nop 0
;I_Stretch5x+192
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+208
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+224
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+240
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+256
	bwltui %r14,319,I_Stretch5x+192
	mov %r11,%gz
	add %r9,%r9,%r1
;I_Stretch5x+272
	mov2 %r10,%r12,%r3,%r2
	nop 0
	nop 0
;I_Stretch5x+288
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+304
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+320
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+336
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+352
	bwltui %r14,319,I_Stretch5x+288
	mov %r11,%gz
	add %r9,%r9,%r1
;I_Stretch5x+368
	mov2 %r10,%r12,%r5,%r2
	nop 0
	nop 0
;I_Stretch5x+384
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+400
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+416
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+432
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+448
	bwltui %r14,319,I_Stretch5x+384
	mov %r11,%gz
	add %r9,%r9,%r1
;I_Stretch5x+464
	mov2 %r10,%r12,%r6,%r2
	nop 0
	nop 0
;I_Stretch5x+480
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+496
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+512
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+528
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+544
	bwltui %r14,319,I_Stretch5x+480
	mov %r11,%gz
	add %r9,%r9,%r1
;I_Stretch5x+560
	mov2 %r10,%r12,%r7,%r2
	nop 0
	nop 0
;I_Stretch5x+576
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+592
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+608
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+624
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+640
	bwltui %r14,319,I_Stretch5x+576
	add %r4,%r9,%r1
	addi %r2,%r2,320
;I_Stretch5x+656
	addiws %r9,%r8,1
	bwltui %r8,199,I_Stretch5x+80
	ldafr %r18,.rodata+1691
;I_Stretch5x+672
	callr %r17,M_CheckParm
	ldi %r1,1
	bwlti %r18,1,I_Stretch5x+752
;I_Stretch5x+688
	lddzr %r2,dest_buffer
	ldwzr %r3,dest_pitch
	mov %r4,%gz
;I_Stretch5x+704
	ldax.xw %r2,%r2,%r3,1,0
	mulwsi %r5,%r3,3
	ldi %r3,1600
;I_Stretch5x+720
	mov2 %r6,%r16,%r4,%r2
	mov2 %r17,%r18,%gz,%r3
	callr %r15,memset
;I_Stretch5x+736
	add %r2,%r2,%r5
	addiws %r4,%r4,3
	bwltui %r6,1195,I_Stretch5x+720
;I_Stretch5x+752
	retf 0
	nop 0
	nop 0
;I_Squash1x
	alloc 13
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash1x+16
	bwne %r2,%gz,I_Squash1x+256
	bwnei %r3,320,I_Squash1x+256
	bwnei %r4,200,I_Squash1x+256
;I_Squash1x+32
	mov %r8,%gz
	lddzr %r1,src_buffer
	lddzr %r2,dest_buffer
;I_Squash1x+48
	lddzr %r3,stretch_tables.0
	lddzr %r4,stretch_tables.1
	ldwsr %r5,dest_pitch
;I_Squash1x+64
	addi %r6,%r1,2
	ldi %r1,1
	nop 0
;I_Squash1x+80
	mov2 %r9,%r7,%gz,%r8
	mov2 %r8,%r10,%r6,%r2
	nop 0
;I_Squash1x+96
	ldbz %r11,%r8,-1
	ldbz %r12,%r8,-2
	slor %r11,%r12,%r11,8
;I_Squash1x+112
	ldbzx.xd %r11,%r3,%r11,0,0
	stb %r11,%r10,0
	ldbz %r11,%r8,0
;I_Squash1x+128
	ldbz %r12,%r8,-1
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r4,%r11,0,0
;I_Squash1x+144
	stb %r11,%r10,1
	ldbz %r11,%r8,0
	ldbz %r12,%r8,1
;I_Squash1x+160
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r4,%r11,0,0
	stb %r11,%r10,2
;I_Squash1x+176
	ldbz %r11,%r8,1
	ldbz %r12,%r8,2
	slor %r11,%r12,%r11,8
;I_Squash1x+192
	ldbzx.xd %r11,%r3,%r11,0,0
	mov %r12,%r9
	stb %r11,%r10,3
;I_Squash1x+208
	addiws %r9,%r9,5
	addi %r8,%r8,5
	addi %r10,%r10,4
;I_Squash1x+224
	bwltui %r12,315,I_Squash1x+96
	add %r2,%r2,%r5
	addiws %r8,%r7,1
;I_Squash1x+240
	addi %r6,%r6,320
	bwltui %r7,199,I_Squash1x+80
	nop 0
;I_Squash1x+256
	retf 0
	nop 0
	nop 0
;I_Squash2x
	alloc 14
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash2x+16
	bwne %r2,%gz,I_Squash2x+352
	bwnei %r3,320,I_Squash2x+352
	bwnei %r4,200,I_Squash2x+352
;I_Squash2x+32
	ldwzr %r1,dest_pitch
	mov %r9,%gz
	lddzr %r2,src_buffer
;I_Squash2x+48
	lddzr %r7,dest_buffer
	sraiw %r3,%r1,0
	lddzr %r4,stretch_tables.1
;I_Squash2x+64
	lddzr %r5,stretch_tables.0
	slliw %r1,%r1,1
	sraiw %r6,%r1,0
;I_Squash2x+80
	addi %r7,%r7,7
	ldi %r1,1
	nop 0
;I_Squash2x+96
	mov2 %r10,%r8,%gz,%r9
	mov2 %r9,%r11,%r7,%r2
	nop 0
;I_Squash2x+112
	ldbz %r12,%r11,0
	stbx.xd %r12,%r9,%r3,0,-7
	stb %r12,%r9,-7
;I_Squash2x+128
	ldbz %r12,%r11,1
	ldbz %r13,%r11,0
	slor %r12,%r13,%r12,8
;I_Squash2x+144
	ldbzx.xd %r12,%r4,%r12,0,0
	stbx.xd %r12,%r9,%r3,0,-6
	stb %r12,%r9,-6
;I_Squash2x+160
	ldbz %r12,%r11,1
	stbx.xd %r12,%r9,%r3,0,-5
	stb %r12,%r9,-5
;I_Squash2x+176
	ldbz %r12,%r11,1
	ldbz %r13,%r11,2
	slor %r12,%r13,%r12,8
;I_Squash2x+192
	ldbzx.xd %r12,%r5,%r12,0,0
	stbx.xd %r12,%r9,%r3,0,-4
	stb %r12,%r9,-4
;I_Squash2x+208
	ldbz %r12,%r11,3
	ldbz %r13,%r11,2
	slor %r12,%r13,%r12,8
;I_Squash2x+224
	ldbzx.xd %r12,%r5,%r12,0,0
	stbx.xd %r12,%r9,%r3,0,-3
	stb %r12,%r9,-3
;I_Squash2x+240
	ldbz %r12,%r11,3
	stbx.xd %r12,%r9,%r3,0,-2
	stb %r12,%r9,-2
;I_Squash2x+256
	ldbz %r12,%r11,3
	ldbz %r13,%r11,4
	slor %r12,%r13,%r12,8
;I_Squash2x+272
	ldbzx.xd %r12,%r4,%r12,0,0
	stbx.xd %r12,%r9,%r3,0,-1
	stb %r12,%r9,-1
;I_Squash2x+288
	ldbz %r12,%r11,4
	mov %r13,%r10
	stbx.xd %r12,%r9,%r3,0,0
;I_Squash2x+304
	stb %r12,%r9,0
	addiws %r10,%r10,5
	addi %r11,%r11,5
;I_Squash2x+320
	addi %r9,%r9,8
	bwltui %r13,315,I_Squash2x+112
	addi %r2,%r2,320
;I_Squash2x+336
	addiws %r9,%r8,1
	add %r7,%r7,%r6
	bwltui %r8,199,I_Squash2x+96
;I_Squash2x+352
	retf 0
	nop 0
	nop 0
;I_InitSquashTable
	alloc 6
	lddzr %r2,half_stretch_table
	bdeq %r2,%gz,I_InitSquashTable+32
;I_InitSquashTable+16
	retf 0
	nop 0
	nop 0
;I_InitSquashTable+32
	ldafr %r5,.rodata+27049
	callr %r4,printf
	lddzr %r5,stdout
;I_InitSquashTable+48
	callr %r4,fflush_unlocked
	ldi %r5,50
	mov %r4,%r1
;I_InitSquashTable+64
	callr %r3,GenerateStretchTable
	stdr %r4,half_stretch_table
	ldi %r5,10
;I_InitSquashTable+80
	callr %r4,putchar
	retf 0
	nop 0
;I_Squash3x
	alloc 14
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash3x+16
	bwne %r2,%gz,I_Squash3x+272
	bwnei %r3,320,I_Squash3x+272
	bwnei %r4,200,I_Squash3x+272
;I_Squash3x+32
	ldwzr %r1,dest_pitch
	mov %r9,%gz
	lddzr %r2,src_buffer
;I_Squash3x+48
	lddzr %r7,dest_buffer
	sraiw %r3,%r1,0
	slliw %r4,%r1,1
;I_Squash3x+64
	sraiw %r4,%r4,0
	lddzr %r5,half_stretch_table
	mulwsi %r6,%r1,3
;I_Squash3x+80
	addi %r7,%r7,4
	ldi %r1,1
	nop 0
;I_Squash3x+96
	mov2 %r11,%r8,%gz,%r9
	mov2 %r9,%r10,%r7,%r2
	nop 0
;I_Squash3x+112
	ldbz %r12,%r10,0
	stbx.xd %r12,%r9,%r4,0,-4
	stbx.xd %r12,%r9,%r3,0,-4
;I_Squash3x+128
	stb %r12,%r9,-4
	stbx.xd %r12,%r9,%r4,0,-3
	stbx.xd %r12,%r9,%r3,0,-3
;I_Squash3x+144
	stb %r12,%r9,-3
	ldbz %r12,%r10,0
	ldbz %r13,%r10,1
;I_Squash3x+160
	slor %r12,%r13,%r12,8
	ldbzx.xd %r12,%r5,%r12,0,0
	stbx.xd %r12,%r9,%r4,0,-2
;I_Squash3x+176
	stbx.xd %r12,%r9,%r3,0,-2
	stb %r12,%r9,-2
	ldbz %r12,%r10,1
;I_Squash3x+192
	mov %r13,%r11
	stbx.xd %r12,%r9,%r4,0,-1
	stbx.xd %r12,%r9,%r3,0,-1
;I_Squash3x+208
	stb %r12,%r9,-1
	stbx.xd %r12,%r9,%r4,0,0
	stbx.xd %r12,%r9,%r3,0,0
;I_Squash3x+224
	stb %r12,%r9,0
	addiws %r11,%r11,2
	addi %r10,%r10,2
;I_Squash3x+240
	addi %r9,%r9,5
	bwltui %r13,318,I_Squash3x+112
	addi %r2,%r2,320
;I_Squash3x+256
	addiws %r9,%r8,1
	add %r7,%r7,%r6
	bwltui %r8,199,I_Squash3x+96
;I_Squash3x+272
	retf 0
	nop 0
	nop 0
;I_Squash4x
	alloc 15
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash4x+16
	bwne %r2,%gz,I_Squash4x+640
	bwnei %r3,320,I_Squash4x+640
	bwnei %r4,200,I_Squash4x+640
;I_Squash4x+32
	ldwzr %r1,dest_pitch
	mov %r10,%gz
	lddzr %r2,src_buffer
;I_Squash4x+48
	lddzr %r3,dest_buffer
	sraiw %r6,%r1,0
	mulwsi %r8,%r1,3
;I_Squash4x+64
	lddzr %r4,stretch_tables.0
	lddzr %r5,stretch_tables.1
	addi %r6,%r6,15
;I_Squash4x+80
	ldi %r7,15
	ldax.xw %r7,%r7,%r1,1,0
	addi %r8,%r8,7
;I_Squash4x+96
	ldi %r1,1
	nop 0
	nop 0
;I_Squash4x+112
	mov2 %r12,%r9,%gz,%r10
	mov2 %r11,%r10,%r3,%r2
	nop 0
;I_Squash4x+128
	ldbz %r13,%r10,0
	stbx.xd %r13,%r11,%r8,0,-7
	stbx.xd %r13,%r11,%r7,0,-15
;I_Squash4x+144
	stbx.xd %r13,%r11,%r6,0,-15
	stb %r13,%r11,0
	stbx.xd %r13,%r11,%r8,0,-6
;I_Squash4x+160
	stbx.xd %r13,%r11,%r7,0,-14
	stbx.xd %r13,%r11,%r6,0,-14
	stb %r13,%r11,1
;I_Squash4x+176
	stbx.xd %r13,%r11,%r8,0,-5
	stbx.xd %r13,%r11,%r7,0,-13
	stbx.xd %r13,%r11,%r6,0,-13
;I_Squash4x+192
	stb %r13,%r11,2
	ldbz %r13,%r10,0
	ldbz %r14,%r10,1
;I_Squash4x+208
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r4,%r13,0,0
	stbx.xd %r13,%r11,%r8,0,-4
;I_Squash4x+224
	stbx.xd %r13,%r11,%r7,0,-12
	stbx.xd %r13,%r11,%r6,0,-12
	stb %r13,%r11,3
;I_Squash4x+240
	ldbz %r13,%r10,1
	stbx.xd %r13,%r11,%r8,0,-3
	stbx.xd %r13,%r11,%r7,0,-11
;I_Squash4x+256
	stbx.xd %r13,%r11,%r6,0,-11
	stb %r13,%r11,4
	stbx.xd %r13,%r11,%r8,0,-2
;I_Squash4x+272
	stbx.xd %r13,%r11,%r7,0,-10
	stbx.xd %r13,%r11,%r6,0,-10
	stb %r13,%r11,5
;I_Squash4x+288
	ldbz %r13,%r10,1
	ldbz %r14,%r10,2
	slor %r13,%r14,%r13,8
;I_Squash4x+304
	ldbzx.xd %r13,%r5,%r13,0,0
	stbx.xd %r13,%r11,%r8,0,-1
	stbx.xd %r13,%r11,%r7,0,-9
;I_Squash4x+320
	stbx.xd %r13,%r11,%r6,0,-9
	stb %r13,%r11,6
	ldbz %r13,%r10,2
;I_Squash4x+336
	stbx.xd %r13,%r11,%r8,0,0
	stbx.xd %r13,%r11,%r7,0,-8
	stbx.xd %r13,%r11,%r6,0,-8
;I_Squash4x+352
	stb %r13,%r11,7
	stbx.xd %r13,%r11,%r8,0,1
	stbx.xd %r13,%r11,%r7,0,-7
;I_Squash4x+368
	stbx.xd %r13,%r11,%r6,0,-7
	stb %r13,%r11,8
	ldbz %r13,%r10,3
;I_Squash4x+384
	ldbz %r14,%r10,2
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r5,%r13,0,0
;I_Squash4x+400
	stbx.xd %r13,%r11,%r8,0,2
	stbx.xd %r13,%r11,%r7,0,-6
	stbx.xd %r13,%r11,%r6,0,-6
;I_Squash4x+416
	stb %r13,%r11,9
	ldbz %r13,%r10,3
	stbx.xd %r13,%r11,%r8,0,3
;I_Squash4x+432
	stbx.xd %r13,%r11,%r7,0,-5
	stbx.xd %r13,%r11,%r6,0,-5
	stb %r13,%r11,10
;I_Squash4x+448
	stbx.xd %r13,%r11,%r8,0,4
	stbx.xd %r13,%r11,%r7,0,-4
	stbx.xd %r13,%r11,%r6,0,-4
;I_Squash4x+464
	stb %r13,%r11,11
	ldbz %r13,%r10,4
	ldbz %r14,%r10,3
;I_Squash4x+480
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r4,%r13,0,0
	stbx.xd %r13,%r11,%r8,0,5
;I_Squash4x+496
	stbx.xd %r13,%r11,%r7,0,-3
	stbx.xd %r13,%r11,%r6,0,-3
	stb %r13,%r11,12
;I_Squash4x+512
	ldbz %r13,%r10,4
	mov %r14,%r12
	stbx.xd %r13,%r11,%r8,0,6
;I_Squash4x+528
	stbx.xd %r13,%r11,%r7,0,-2
	stbx.xd %r13,%r11,%r6,0,-2
	stb %r13,%r11,13
;I_Squash4x+544
	stbx.xd %r13,%r11,%r8,0,7
	stbx.xd %r13,%r11,%r7,0,-1
	stbx.xd %r13,%r11,%r6,0,-1
;I_Squash4x+560
	stb %r13,%r11,14
	stbx.xd %r13,%r11,%r8,0,8
	stbx.xd %r13,%r11,%r7,0,0
;I_Squash4x+576
	stbx.xd %r13,%r11,%r6,0,0
	stb %r13,%r11,15
	addi %r11,%r11,16
;I_Squash4x+592
	addiws %r12,%r12,5
	addi %r10,%r10,5
	bwltui %r14,315,I_Squash4x+128
;I_Squash4x+608
	ldwzr %r10,dest_pitch
	ldax.xw %r3,%r3,%r10,2,0
	addi %r2,%r2,320
;I_Squash4x+624
	addiws %r10,%r9,1
	bwltui %r9,199,I_Squash4x+112
	nop 0
;I_Squash4x+640
	retf 0
	nop 0
	nop 0
;I_Squash5x
	alloc 15
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash5x+16
	bwne %r2,%gz,I_Squash5x+288
	bwnei %r3,320,I_Squash5x+288
	bwnei %r4,200,I_Squash5x+288
;I_Squash5x+32
	ldwzr %r1,dest_pitch
	mov %r10,%gz
	lddzr %r2,src_buffer
;I_Squash5x+48
	lddzr %r3,dest_buffer
	sraiw %r6,%r1,0
	mulwsi %r4,%r1,3
;I_Squash5x+64
	slliw %r5,%r1,2
	sraiw %r7,%r5,0
	mulwsi %r5,%r1,5
;I_Squash5x+80
	addi %r6,%r6,3
	ori %r7,%r7,1
	ldi %r8,3
;I_Squash5x+96
	ldax.xw %r8,%r8,%r1,1,0
	ldi %r1,1
	nop 0
;I_Squash5x+112
	mov2 %r11,%r9,%gz,%r10
	mov2 %r10,%r12,%r3,%r2
	nop 0
;I_Squash5x+128
	ldbz %r13,%r12,0
	mov %r14,%r11
	addi %r12,%r12,1
;I_Squash5x+144
	stbx.xd %r13,%r10,%r7,0,-1
	stbx.xd %r13,%r10,%r4,0,0
	stbx.xd %r13,%r10,%r8,0,-3
;I_Squash5x+160
	stbx.xd %r13,%r10,%r6,0,-3
	stb %r13,%r10,0
	stbx.xd %r13,%r10,%r7,0,0
;I_Squash5x+176
	stbx.xd %r13,%r10,%r4,0,1
	stbx.xd %r13,%r10,%r8,0,-2
	stbx.xd %r13,%r10,%r6,0,-2
;I_Squash5x+192
	stb %r13,%r10,1
	stbx.xd %r13,%r10,%r7,0,1
	stbx.xd %r13,%r10,%r4,0,2
;I_Squash5x+208
	stbx.xd %r13,%r10,%r8,0,-1
	stbx.xd %r13,%r10,%r6,0,-1
	stb %r13,%r10,2
;I_Squash5x+224
	stbx.xd %r13,%r10,%r7,0,2
	stbx.xd %r13,%r10,%r4,0,3
	stbx.xd %r13,%r10,%r8,0,0
;I_Squash5x+240
	stbx.xd %r13,%r10,%r6,0,0
	stb %r13,%r10,3
	addi %r10,%r10,4
;I_Squash5x+256
	addiws %r11,%r11,1
	bwltui %r14,319,I_Squash5x+128
	add %r3,%r3,%r5
;I_Squash5x+272
	addi %r2,%r2,320
	addiws %r10,%r9,1
	bwltui %r9,199,I_Squash5x+112
;I_Squash5x+288
	retf 0
	nop 0
	nop 0
;I_InitSound
	alloc 3
	ldafr %r2,.rodata+12338
	callr %r1,M_CheckParm
;I_InitSound+16
	ldafr %r2,.rodata+3943
	callr %r1,M_CheckParm
	ldafr %r2,.rodata+10187
;I_InitSound+32
	callr %r1,M_CheckParm
	retf 0
	nop 0
;I_ShutdownSound
	alloc 1
	retf 0
	nop 0
;I_GetSfxLumpNum
	alloc 2
	mov %r1,%gz
	retf 0
;I_UpdateSound
	alloc 1
	retf 0
	nop 0
;I_UpdateSoundParams
	alloc 1
	retf 0
	nop 0
;I_StartSound
	alloc 2
	mov %r1,%gz
	retf 0
;I_StopSound
	alloc 1
	retf 0
	nop 0
;I_SoundIsPlaying
	alloc 2
	mov %r1,%gz
	retf 0
;I_PrecacheSounds
	alloc 1
	retf 0
	nop 0
;I_InitMusic
	alloc 1
	retf 0
	nop 0
;I_ShutdownMusic
	alloc 1
	retf 0
	nop 0
;I_SetMusicVolume
	alloc 1
	retf 0
	nop 0
;I_PauseSong
	alloc 1
	retf 0
	nop 0
;I_ResumeSong
	alloc 1
	retf 0
	nop 0
;I_RegisterSong
	alloc 2
	mov %r1,%gz
	retf 0
;I_UnRegisterSong
	alloc 1
	retf 0
	nop 0
;I_PlaySong
	alloc 1
	retf 0
	nop 0
;I_StopSong
	alloc 1
	retf 0
	nop 0
;I_MusicIsPlaying
	alloc 2
	mov %r1,%gz
	retf 0
;I_BindSoundVariables
	alloc 4
	ldafr %r2,.rodata+805
	ldafr %r3,snd_musicdevice
;I_BindSoundVariables+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+11776
	ldafr %r3,snd_sfxdevice
;I_BindSoundVariables+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+13712
	ldafr %r3,snd_sbport
;I_BindSoundVariables+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9134
	ldafr %r3,snd_sbirq
;I_BindSoundVariables+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+7914
	ldafr %r3,snd_sbdma
;I_BindSoundVariables+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+20953
	ldafr %r3,snd_mport
;I_BindSoundVariables+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2592
	ldafr %r3,snd_maxslicetime_ms
;I_BindSoundVariables+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19051
	ldafr %r3,snd_musiccmd
;I_BindSoundVariables+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22404
	ldafr %r3,snd_samplerate
;I_BindSoundVariables+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9144
	ldafr %r3,snd_cachesize
;I_BindSoundVariables+160
	callr %r1,M_BindVariable
	retf 0
	nop 0
;I_AtExit
	alloc 6
	ldi %r5,24
	callr %r4,default_malloc
;I_AtExit+16
	lddzr %r3,exit_funcs
	std %r1,%r5,0
	stw %r2,%r5,8
;I_AtExit+32
	std %r3,%r5,16
	stdr %r5,exit_funcs
	retf 0
;I_Tactile
	alloc 1
	retf 0
	nop 0
;I_ZoneBase
	allocsp 8,16
	ldafr %r6,.rodata+16667
	ldi %r7,1
;I_ZoneBase+16
	callr %r5,M_CheckParmWithArgs
	bwlti %r6,1,I_ZoneBase+64
	lddzr %r2,myargv
;I_ZoneBase+32
	lddzx.xuw %r7,%r2,%r6,3,8
	callr %r6,atoi
	mov %r2,%r7
;I_ZoneBase+48
	jmp I_ZoneBase+80
	nop 0
	nop 0
;I_ZoneBase+64
	ldi %r2,6
	nop 0
	nop 0
;I_ZoneBase+80
	slliw %r4,%r2,20
	sraiw %r7,%r4,0
	callr %r6,default_malloc
;I_ZoneBase+96
	bdeq %r7,%gz,I_ZoneBase+144
	mov %r3,%r7
	stw %r4,%r1,0
;I_ZoneBase+112
	stw %r4,%sp,8
	ldafr %r7,.rodata+3308
	std %r3,%sp,0
;I_ZoneBase+128
	callr %r6,printf
	mov %r1,%r3
	retf 16
;I_ZoneBase+144
	addiws %r2,%r2,-1
	stw %r4,%r1,0
	ldafr %r7,.rodata+20970
;I_ZoneBase+160
	stw %r2,%sp,0
	callr %r6,I_Error
	nop 0
;I_PrintBanner
	alloc 8
	mov %r7,%r1
	callr %r6,strlen
;I_PrintBanner+16
	srli %r2,%r7,1
	subfiws %r4,%r2,35
	bwlti %r4,1,I_PrintBanner+80
;I_PrintBanner+32
	mov %r5,%gz
	ldi %r2,32
	nop 0
;I_PrintBanner+48
	mov %r7,%r2
	callr %r6,putchar
	addiws %r5,%r5,1
;I_PrintBanner+64
	bwlt %r5,%r4,I_PrintBanner+48
	nop 0
	nop 0
;I_PrintBanner+80
	mov %r7,%r1
	callr %r6,puts
	retf 0
;I_PrintDivider
	alloc 6
	mov %r2,%gz
	ldi %r1,61
;I_PrintDivider+16
	mov2 %r3,%r5,%r2,%r1
	callr %r4,putchar
	addiws %r2,%r2,1
;I_PrintDivider+32
	bwltui %r3,74,I_PrintDivider+16
	ldi %r5,10
	callr %r4,putchar
;I_PrintDivider+48
	retf 0
	nop 0
	nop 0
;I_PrintStartupBanner
	alloc 7
	mov %r3,%gz
	ldi %r2,61
;I_PrintStartupBanner+16
	mov2 %r4,%r6,%r3,%r2
	callr %r5,putchar
	addiws %r3,%r3,1
;I_PrintStartupBanner+32
	bwltui %r4,74,I_PrintStartupBanner+16
	ldi %r6,10
	callr %r5,putchar
;I_PrintStartupBanner+48
	mov %r6,%r1
	callr %r5,I_PrintBanner
	mov %r2,%gz
;I_PrintStartupBanner+64
	ldi %r1,61
	nop 0
	nop 0
;I_PrintStartupBanner+80
	mov2 %r3,%r6,%r2,%r1
	callr %r5,putchar
	addiws %r2,%r2,1
;I_PrintStartupBanner+96
	bwltui %r3,74,I_PrintStartupBanner+80
	ldi %r6,10
	callr %r5,putchar
;I_PrintStartupBanner+112
	ldafr %r6,.rodata+25252
	callr %r5,puts
	mov %r2,%gz
;I_PrintStartupBanner+128
	ldi %r1,61
	nop 0
	nop 0
;I_PrintStartupBanner+144
	mov2 %r3,%r6,%r2,%r1
	callr %r5,putchar
	addiws %r2,%r2,1
;I_PrintStartupBanner+160
	bwltui %r3,74,I_PrintStartupBanner+144
	ldi %r6,10
	callr %r5,putchar
;I_PrintStartupBanner+176
	retf 0
	nop 0
	nop 0
;I_ConsoleStdout
	alloc 2
	mov %r1,%gz
	retf 0
;I_Quit
	alloc 4
	lddzr %r2,exit_funcs
	bdeq %r2,%gz,I_Quit+32
;I_Quit+16
	callmi %r3,%r2,0
	lddz %r2,%r2,16
	bdne %r2,%gz,I_Quit+16
;I_Quit+32
	retf 0
	nop 0
	nop 0
;I_GetMemoryValue
	allocsp 14,16
	ldbzr %r4,I_GetMemoryValue.firsttime
	bbsi %r4,0,I_GetMemoryValue+320
;I_GetMemoryValue+16
	ldi %r4,1
	stbr %r4,I_GetMemoryValue.firsttime
	ldafr %r12,.rodata+9158
;I_GetMemoryValue+32
	ldi %r13,1
	callr %r11,M_CheckParmWithArgs
	bwlti %r12,1,I_GetMemoryValue+320
;I_GetMemoryValue+48
	mov %r4,%r12
	lddzr %r5,myargv
	lddzx.xuw %r5,%r5,%r12,3,8
;I_GetMemoryValue+64
	ldafr %r13,.rodata+6281
	mov %r12,%r5
	callr %r11,strcasecmp
;I_GetMemoryValue+80
	bwne %r12,%gz,I_GetMemoryValue+96
	ldafr %r6,mem_dump_dos622
	stdr %r6,dos_mem_dump
;I_GetMemoryValue+96
	ldafr %r13,.rodata+16671
	mov %r12,%r5
	callr %r11,strcasecmp
;I_GetMemoryValue+112
	bweq %r12,%gz,I_GetMemoryValue+272
	ldafr %r13,.rodata+20963
	mov %r12,%r5
;I_GetMemoryValue+128
	callr %r11,strcasecmp
	bweq %r12,%gz,I_GetMemoryValue+288
	srliw %r4,%r4,0
;I_GetMemoryValue+144
	ldi %r6,8
	mov %r5,%gz
	sladd %r7,%r6,%r4,3
;I_GetMemoryValue+160
	addi %r8,%r4,1
	ldafr %r6,mem_dump_custom
	addi %r4,%sp,12
;I_GetMemoryValue+176
	ldwzr %r10,myargc
	bwle %r10,%r8,I_GetMemoryValue+304
	mov %r9,%r5
;I_GetMemoryValue+192
	lddzr %r5,myargv
	lddzx.xd %r12,%r5,%r7,0,0
	ldbz %r5,%r12,0
;I_GetMemoryValue+208
	bweqi %r5,45,I_GetMemoryValue+304
	mov %r13,%r4
	callr %r11,M_StrToInt
;I_GetMemoryValue+224
	ldwz %r5,%sp,12
	stbx.xd %r5,%r9,%r6,0,0
	addi %r5,%r9,2
;I_GetMemoryValue+240
	addi %r7,%r7,8
	addi %r8,%r8,1
	bdltui %r9,8,I_GetMemoryValue+176
;I_GetMemoryValue+256
	jmp I_GetMemoryValue+304
	nop 0
	nop 0
;I_GetMemoryValue+272
	ldafr %r6,mem_dump_win98
	jmp I_GetMemoryValue+304
	nop 0
;I_GetMemoryValue+288
	ldafr %r6,mem_dump_dosbox
	nop 0
	nop 0
;I_GetMemoryValue+304
	stdr %r6,dos_mem_dump
	nop 0
	nop 0
;I_GetMemoryValue+320
	bweqi %r3,4,I_GetMemoryValue+416
	bweqi %r3,2,I_GetMemoryValue+368
	mov %r4,%gz
;I_GetMemoryValue+336
	bwnei %r3,1,I_GetMemoryValue+496
	lddzr %r3,dos_mem_dump
	ldbzx.xuw %r1,%r3,%r1,0,0
;I_GetMemoryValue+352
	stb %r1,%r2,0
	jmp I_GetMemoryValue+480
	nop 0
;I_GetMemoryValue+368
	lddzr %r3,dos_mem_dump
	ldbzx.xuw %r4,%r3,%r1,0,0
	addiws %r1,%r1,1
;I_GetMemoryValue+384
	ldbzx.xuw %r1,%r3,%r1,0,0
	slor %r1,%r4,%r1,8
	sth %r1,%r2,0
;I_GetMemoryValue+400
	jmp I_GetMemoryValue+480
	nop 0
	nop 0
;I_GetMemoryValue+416
	lddzr %r3,dos_mem_dump
	ldbzx.xuw %r4,%r3,%r1,0,0
	addiws %r5,%r1,1
;I_GetMemoryValue+432
	ldbzx.xuw %r5,%r3,%r5,0,0
	addiws %r6,%r1,2
	ldbzx.xuw %r6,%r3,%r6,0,0
;I_GetMemoryValue+448
	addiws %r1,%r1,3
	ldbzx.xuw %r1,%r3,%r1,0,0
	slor %r3,%r4,%r5,8
;I_GetMemoryValue+464
	slor %r3,%r3,%r6,16
	slor %r1,%r3,%r1,24
	stw %r1,%r2,0
;I_GetMemoryValue+480
	ldi %r4,1
	nop 0
	nop 0
;I_GetMemoryValue+496
	mov %r1,%r4
	retf 16
	nop 0
;I_Error
	allocsp 16,544
	ldbzr %r2,already_quitting
	bbci %r2,0,I_Error+64
;I_Error+16
	lddzr %r2,stderr
	ldafr %r12,.rodata+13723
	ldi %r13,45
;I_Error+32
	ldi %r14,1
	mov %r15,%r2
	callr %r11,fwrite_unlocked
;I_Error+48
	jmp I_Error+80
	nop 0
	nop 0
;I_Error+64
	ldi %r2,1
	stbr %r2,already_quitting
	lddzr %r2,stderr
;I_Error+80
	addi %r3,%sp,544
	std %r3,%sp,24
	mov2 %r13,%r14,%r2,%r1
;I_Error+96
	mov %r15,%r3
	callr %r12,vfprintf
	ldafr %r12,.rodata+19064
;I_Error+112
	ldi %r13,2
	ldi %r14,1
	mov %r15,%r2
;I_Error+128
	callr %r11,fwrite_unlocked
	mov %r15,%r2
	callr %r14,fflush_unlocked
;I_Error+144
	std %r3,%sp,24
	stq %gz,%sp,528
	stq %gz,%sp,512
;I_Error+160
	stq %gz,%sp,496
	stq %gz,%sp,480
	stq %gz,%sp,464
;I_Error+176
	stq %gz,%sp,448
	stq %gz,%sp,432
	stq %gz,%sp,416
;I_Error+192
	stq %gz,%sp,400
	stq %gz,%sp,384
	stq %gz,%sp,368
;I_Error+208
	stq %gz,%sp,352
	stq %gz,%sp,336
	stq %gz,%sp,320
;I_Error+224
	stq %gz,%sp,304
	stq %gz,%sp,288
	stq %gz,%sp,272
;I_Error+240
	stq %gz,%sp,256
	stq %gz,%sp,240
	stq %gz,%sp,224
;I_Error+256
	stq %gz,%sp,208
	stq %gz,%sp,192
	stq %gz,%sp,176
;I_Error+272
	stq %gz,%sp,160
	stq %gz,%sp,144
	stq %gz,%sp,128
;I_Error+288
	stq %gz,%sp,112
	stq %gz,%sp,96
	stq %gz,%sp,80
;I_Error+304
	stq %gz,%sp,64
	stq %gz,%sp,48
	stq %gz,%sp,32
;I_Error+320
	lddz %r15,%sp,24
	addi %r12,%sp,32
	ldi %r13,512
;I_Error+336
	mov %r14,%r1
	callr %r11,M_vsnprintf
	lddzr %r2,exit_funcs
;I_Error+352
	bdne %r2,%gz,I_Error+608
	nop 0
	nop 0
;I_Error+368
	ldafr %r15,.rodata+27536
	callr %r14,M_ParmExists
	bwne %r15,%gz,I_Error+576
;I_Error+384
	ldafr %r15,.rodata+15201
	callr %r14,system
	bwne %r15,%gz,I_Error+576
;I_Error+400
	addi %r2,%sp,32
	mov %r15,%r2
	callr %r14,strlen
;I_Error+416
	ldi %r1,3
	sladd %r15,%r1,%r15,1
	callr %r14,default_malloc
;I_Error+432
	ldbz %r6,%sp,32
	mov %r1,%r15
	ldi %r5,34
;I_Error+448
	stb %r5,%r15,0
	mov %r9,%r15
	bwne %r6,%gz,I_Error+640
;I_Error+464
	stb %r5,%r9,1
	stb %gz,%r9,2
	mov %r15,%r1
;I_Error+480
	callr %r14,strlen
	addi %r2,%r15,34
	mov %r15,%r2
;I_Error+496
	callr %r14,default_malloc
	mov %r3,%r15
	std %r1,%sp,8
;I_Error+512
	ldafr %r4,.rodata+16677
	ldafr %r15,.rodata+22419
	std %r4,%sp,0
;I_Error+528
	mov2 %r13,%r14,%r3,%r2
	callr %r12,M_snprintf
	mov %r15,%r3
;I_Error+544
	callr %r14,system
	mov %r15,%r3
	callr %r14,free
;I_Error+560
	mov %r15,%r1
	callr %r14,free
	nop 0
;I_Error+576
	ldi %r15,1
	callr %r14,exit
	nop 0
;I_Error+592
	lddz %r2,%r2,16
	bdeq %r2,%gz,I_Error+368
	nop 0
;I_Error+608
	ldwz %r1,%r2,8
	bweq %r1,%gz,I_Error+592
	callmi %r15,%r2,0
;I_Error+624
	jmp I_Error+592
	nop 0
	nop 0
;I_Error+640
	addi %r10,%r1,1
	ori %r7,%r2,1
	ldafr %r2,.rodata+21963
;I_Error+656
	ldi %r3,5
	ldi %r8,92
	mov %r9,%r1
;I_Error+672
	jmp I_Error+720
	nop 0
	nop 0
;I_Error+688
	mov %r9,%r10
	stb %r6,%r10,0
	ldbz %r6,%r7,0
;I_Error+704
	addi %r10,%r10,1
	addi %r7,%r7,1
	bweq %r6,%gz,I_Error+464
;I_Error+720
	slsrai %r14,%r6,56,56
	mov2 %r13,%r15,%r2,%r3
	callr %r12,memchr
;I_Error+736
	bdeq %r13,%gz,I_Error+688
	stb %r8,%r9,1
	addi %r10,%r9,2
;I_Error+752
	ldbz %r6,%r7,-1
	jmp I_Error+688
	nop 0
;system
	allocsp 12,1104
	std %gz,%sp,832
	std %gz,%sp,824
;system+16
	std %gz,%sp,816
	std %gz,%sp,808
	std %gz,%sp,800
;system+32
	std %gz,%sp,792
	std %gz,%sp,784
	std %gz,%sp,776
;system+48
	std %gz,%sp,768
	std %gz,%sp,760
	std %gz,%sp,752
;system+64
	std %gz,%sp,744
	std %gz,%sp,736
	std %gz,%sp,728
;system+80
	std %gz,%sp,720
	std %gz,%sp,712
	std %gz,%sp,704
;system+96
	std %gz,%sp,696
	ldi %r2,1
	std %r2,%sp,688
;system+112
	ldi %r4,-1
	stw %r4,%sp,380
	callr %r11,pthread_testcancel
;system+128
	bdeq %r1,%gz,system+512
	ldi %r9,2
	addi %r2,%sp,688
;system+144
	addi %r11,%sp,536
	mov %r10,%r2
	callr %r8,sigaction
;system+160
	ldi %r9,3
	addi %r11,%sp,384
	mov %r10,%r2
;system+176
	callr %r8,sigaction
	addi %r2,%sp,696
	ldi %r11,17
;system+192
	mov %r10,%r2
	callr %r9,sigaddset
	addi %r11,%sp,968
;system+208
	mov2 %r9,%r10,%gz,%r2
	callr %r8,sigprocmask
	addi %r11,%sp,840
;system+224
	callr %r10,sigemptyset
	lddz %r2,%sp,536
	bdeqi %r2,1,system+256
;system+240
	addi %r10,%sp,840
	ldi %r11,2
	callr %r9,sigaddset
;system+256
	lddz %r2,%sp,384
	bdeqi %r2,1,system+288
	addi %r10,%sp,840
;system+272
	ldi %r11,3
	callr %r9,sigaddset
	nop 0
;system+288
	addi %r2,%sp,40
	mov %r11,%r2
	callr %r10,posix_spawnattr_init
;system+304
	addi %r11,%sp,968
	mov %r10,%r2
	callr %r9,posix_spawnattr_setsigmask
;system+320
	addi %r11,%sp,840
	mov %r10,%r2
	callr %r9,posix_spawnattr_setsigdefault
;system+336
	ldi %r11,12
	mov %r10,%r2
	callr %r9,posix_spawnattr_setflags
;system+352
	ldafr %r3,.rodata+16701
	std %r3,%sp,8
	ldafr %r3,.rodata+25530
;system+368
	std %r3,%sp,16
	std %r1,%sp,24
	std %gz,%sp,32
;system+384
	lddzr %r11,___environ
	ldafr %r7,.rodata+16693
	addi %r6,%sp,1100
;system+400
	addi %r10,%sp,8
	mov2 %r8,%r9,%gz,%r2
	callr %r5,posix_spawn
;system+416
	mov %r11,%r2
	callr %r10,posix_spawnattr_destroy
	bweq %r6,%gz,system+528
;system+432
	ldi %r1,2
	addi %r10,%sp,536
	mov2 %r9,%r11,%r1,%gz
;system+448
	callr %r8,sigaction
	ldi %r9,3
	addi %r10,%sp,384
;system+464
	mov %r11,%gz
	callr %r8,sigaction
	addi %r10,%sp,968
;system+480
	mov2 %r9,%r11,%r1,%gz
	callr %r8,sigprocmask
	callr %r10,___errno_location
;system+496
	stw %r6,%r11,0
	mov %r2,%r4
	nop 0
;system+512
	mov %r1,%r2
	retf 1104
	nop 0
;system+528
	addi %r1,%sp,380
	nop 0
	nop 0
;system+544
	ldwz %r9,%sp,1100
	mov2 %r10,%r11,%r1,%gz
	callr %r8,waitpid
;system+560
	bwgei %r9,0,system+592
	callr %r10,___errno_location
	ldwz %r2,%r11,0
;system+576
	bweqi %r2,4,system+544
	nop 0
	nop 0
;system+592
	ldi %r1,2
	addi %r10,%sp,536
	mov2 %r9,%r11,%r1,%gz
;system+608
	callr %r8,sigaction
	ldi %r9,3
	addi %r10,%sp,384
;system+624
	mov %r11,%gz
	callr %r8,sigaction
	addi %r10,%sp,968
;system+640
	mov2 %r9,%r11,%r1,%gz
	callr %r8,sigprocmask
	ldwz %r1,%sp,380
;system+656
	retf 1104
	nop 0
	nop 0
;pthread_testcancel
	alloc 2
	callr %r1,dummy
	retf 0
;dummy
	alloc 1
	retf 0
	nop 0
;__get_handler_set
	alloc 6
	ldafr %r4,handler_set
	ldi %r5,8
;__get_handler_set+16
	mov %r3,%r1
	callr %r2,memcpy
	retf 0
;__libc_sigaction
	allocsp 15,80
	bdeq %r2,%gz,__libc_sigaction+192
	lddz %r4,%r2,0
;__libc_sigaction+16
	bdltui %r4,2,__libc_sigaction+208
	addiws %r4,%r1,-1
	srli %r5,%r4,3
;__libc_sigaction+32
	andi.l %r5,%r5,2305843009213693944
	ldafr %r6,handler_set
;__libc_sigaction+48
	add %r5,%r5,%r6
	andi %r4,%r4,63
	ldi %r6,1
;__libc_sigaction+64
	sll %r4,%r6,%r4
	fence.seq_cst
	ldord.relaxed %r4,%r5,%r4
;__libc_sigaction+80
	ldbzr %r4,__libc+1
	bwne %r4,%gz,__libc_sigaction+160
	ldbzr %r4,unmask_done
;__libc_sigaction+96
	bbsi %r4,0,__libc_sigaction+160
	ldi.l %r4,12884901888
;__libc_sigaction+112
	std %r4,%sp,8
	ldi %r8,14
	ldi %r4,1
;__libc_sigaction+128
	addi %r10,%sp,8
	ldi %r12,8
	mov2 %r9,%r11,%r4,%gz
;__libc_sigaction+144
	mov2 %r13,%r14,%gz,%gz
	callr %r7,__syscall_postrisc
	stbr %r4,unmask_done
;__libc_sigaction+160
	ldwz %r4,%r2,136
	bbsi %r4,28,__libc_sigaction+224
	ldafr %r5,__eintr_valid_flag
;__libc_sigaction+176
	staw.seq_cst %r6,%r5
	jmp __libc_sigaction+224
	nop 0
;__libc_sigaction+192
	mov %r10,%gz
	jmp __libc_sigaction+304
	nop 0
;__libc_sigaction+208
	ldwz %r4,%r2,136
	nop 0
	nop 0
;__libc_sigaction+224
	lddz %r5,%r2,0
	std %r5,%sp,48
	nop 2
;__libc_sigaction+240
	ori.l %r4,%r4,67108864
	sraiw %r4,%r4,0
;__libc_sigaction+256
	std %r4,%sp,56
	ldar %r4,__restore_rt
	std %r4,%sp,64
;__libc_sigaction+272
	addi %r12,%sp,72
	addi %r13,%r2,8
	ldi %r14,8
;__libc_sigaction+288
	callr %r11,memcpy
	addi %r10,%sp,48
	nop 0
;__libc_sigaction+304
	addi %r2,%sp,16
	sraiw %r9,%r1,0
	cmovdeq %r11,%r3,%gz,%r2
;__libc_sigaction+320
	ldi %r8,13
	ldi %r12,8
	mov2 %r13,%r14,%gz,%gz
;__libc_sigaction+336
	callr %r7,__syscall_postrisc
	bdeq %r3,%gz,__libc_sigaction+400
	srliw %r1,%r8,0
;__libc_sigaction+352
	bdne %r1,%gz,__libc_sigaction+400
	lddz %r1,%sp,16
	lddz %r2,%sp,24
;__libc_sigaction+368
	std %r1,%r3,0
	stw %r2,%r3,136
	addi %r12,%r3,8
;__libc_sigaction+384
	addi %r13,%sp,40
	ldi %r14,8
	callr %r11,memcpy
;__libc_sigaction+400
	sraiw %r14,%r8,0
	callr %r13,__syscall_ret
	mov %r1,%r14
;__libc_sigaction+416
	retf 80
	nop 0
	nop 0
;sigaction
	allocsp 10,16
	addiws %r4,%r1,-32
	bwltui %r4,3,sigaction+112
;sigaction+16
	addiws %r4,%r1,-65
	bwltui.l %r4,1099511627712,sigaction+112
;sigaction+32
	bwnei %r1,6,sigaction+144
	addi %r4,%sp,8
	mov %r9,%r4
;sigaction+48
	callr %r8,__block_all_sigs
	ldafr %r5,__abort_lock
	mov %r9,%r5
;sigaction+64
	callr %r8,__lock
	ldi %r7,6
	mov2 %r8,%r9,%r2,%r3
;sigaction+80
	callr %r6,__libc_sigaction
	mov2 %r1,%r9,%r7,%r5
	callr %r8,__unlock
;sigaction+96
	mov %r9,%r4
	callr %r8,__restore_sigs
	retf 16
;sigaction+112
	callr %r8,___errno_location
	ldi %r1,22
	stw %r1,%r9,0
;sigaction+128
	ldi %r1,-1
	retf 16
	nop 0
;sigaction+144
	mov2 %r7,%r8,%r1,%r2
	mov %r9,%r3
	callr %r6,__libc_sigaction
;sigaction+160
	mov %r1,%r7
	retf 16
	nop 0
;__restore
	alloc 9
	ldi %r2,15
	mov2 %r3,%r4,%gz,%gz
;__restore+16
	mov2 %r5,%r6,%gz,%gz
	mov2 %r7,%r8,%gz,%gz
	callr %r1,__syscall_postrisc
;__restore+32
	retf 0
	nop 0
	nop 0
;__restore_rt
	alloc 9
	ldi %r2,15
	mov2 %r3,%r4,%gz,%gz
;__restore_rt+16
	mov2 %r5,%r6,%gz,%gz
	mov2 %r7,%r8,%gz,%gz
	callr %r1,__syscall_postrisc
;__restore_rt+32
	retf 0
	nop 0
	nop 0
;__block_all_sigs
	alloc 10
	ldafr %r5,all_mask
	ldi %r3,14
;__block_all_sigs+16
	ldi %r7,8
	mov2 %r4,%r6,%gz,%r1
	mov2 %r8,%r9,%gz,%gz
;__block_all_sigs+32
	callr %r2,__syscall_postrisc
	retf 0
	nop 0
;__block_app_sigs
	alloc 10
	ldafr %r5,app_mask
	ldi %r3,14
;__block_app_sigs+16
	ldi %r7,8
	mov2 %r4,%r6,%gz,%r1
	mov2 %r8,%r9,%gz,%gz
;__block_app_sigs+32
	callr %r2,__syscall_postrisc
	retf 0
	nop 0
;__restore_sigs
	alloc 10
	ldi %r3,14
	ldi %r4,2
;__restore_sigs+16
	ldi %r7,8
	mov2 %r5,%r6,%r1,%gz
	mov2 %r8,%r9,%gz,%gz
;__restore_sigs+32
	callr %r2,__syscall_postrisc
	retf 0
	nop 0
;sigaddset
	alloc 8
	addiws %r3,%r2,-1
	bwgeui %r3,64,sigaddset+64
;sigaddset+16
	addiws %r2,%r2,-32
	bwltui %r2,3,sigaddset+64
	lddz %r4,%r1,0
;sigaddset+32
	ldi %r5,1
	sll %r3,%r5,%r3
	or %r3,%r4,%r3
;sigaddset+48
	std %r3,%r1,0
	mov %r1,%gz
	retf 0
;sigaddset+64
	callr %r6,___errno_location
	ldi %r1,22
	stw %r1,%r7,0
;sigaddset+80
	ldi %r1,-1
	retf 0
	nop 0
;sigprocmask
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;sigprocmask+16
	callr %r4,pthread_sigmask
	bweq %r5,%gz,sigprocmask+48
	callr %r6,___errno_location
;sigprocmask+32
	stw %r5,%r7,0
	ldi %r1,-1
	retf 0
;sigprocmask+48
	mov %r1,%gz
	retf 0
	nop 0
;pthread_sigmask
	alloc 12
	bwltui %r1,3,pthread_sigmask+32
	bdeq %r2,%gz,pthread_sigmask+32
;pthread_sigmask+16
	ldi %r1,22
	retf 0
	nop 0
;pthread_sigmask+32
	sraiw %r6,%r1,0
	ldi %r5,14
	ldi %r9,8
;pthread_sigmask+48
	mov2 %r7,%r8,%r2,%r3
	mov2 %r10,%r11,%gz,%gz
	callr %r4,__syscall_postrisc
;pthread_sigmask+64
	subfiws %r1,%r5,0
	bdeq %r3,%gz,pthread_sigmask+112
	bwne %r5,%gz,pthread_sigmask+112
;pthread_sigmask+80
	lddz %r2,%r3,0
	mov %r1,%gz
	nop 2
;pthread_sigmask+96
	andi.l %r2,%r2,-15032385537
	std %r2,%r3,0
;pthread_sigmask+112
	retf 0
	nop 0
	nop 0
;sigemptyset
	alloc 2
	std %gz,%r1,0
	mov %r1,%gz
;sigemptyset+16
	retf 0
	nop 0
	nop 0
;posix_spawnattr_init
	alloc 6
	ldi %r5,336
	mov2 %r3,%r4,%r1,%gz
;posix_spawnattr_init+16
	callr %r2,memset
	mov %r1,%gz
	retf 0
;posix_spawnattr_setsigmask
	alloc 7
	lddz %r3,%r2,120
	lddz %r4,%r2,112
;posix_spawnattr_setsigmask+16
	lddz %r5,%r2,104
	lddz %r6,%r2,96
	std %r3,%r1,256
;posix_spawnattr_setsigmask+32
	std %r4,%r1,248
	std %r5,%r1,240
	std %r6,%r1,232
;posix_spawnattr_setsigmask+48
	lddz %r3,%r2,88
	lddz %r4,%r2,80
	lddz %r5,%r2,72
;posix_spawnattr_setsigmask+64
	lddz %r6,%r2,64
	std %r3,%r1,224
	std %r4,%r1,216
;posix_spawnattr_setsigmask+80
	std %r5,%r1,208
	std %r6,%r1,200
	lddz %r3,%r2,56
;posix_spawnattr_setsigmask+96
	lddz %r4,%r2,48
	lddz %r5,%r2,40
	lddz %r6,%r2,32
;posix_spawnattr_setsigmask+112
	std %r3,%r1,192
	std %r4,%r1,184
	std %r5,%r1,176
;posix_spawnattr_setsigmask+128
	std %r6,%r1,168
	lddz %r3,%r2,24
	lddz %r4,%r2,16
;posix_spawnattr_setsigmask+144
	lddz %r5,%r2,8
	lddz %r2,%r2,0
	std %r3,%r1,160
;posix_spawnattr_setsigmask+160
	std %r4,%r1,152
	std %r5,%r1,144
	std %r2,%r1,136
;posix_spawnattr_setsigmask+176
	mov %r1,%gz
	retf 0
	nop 0
;posix_spawnattr_setsigdefault
	alloc 7
	lddz %r3,%r2,120
	lddz %r4,%r2,112
;posix_spawnattr_setsigdefault+16
	lddz %r5,%r2,104
	lddz %r6,%r2,96
	std %r3,%r1,128
;posix_spawnattr_setsigdefault+32
	std %r4,%r1,120
	std %r5,%r1,112
	std %r6,%r1,104
;posix_spawnattr_setsigdefault+48
	lddz %r3,%r2,88
	lddz %r4,%r2,80
	lddz %r5,%r2,72
;posix_spawnattr_setsigdefault+64
	lddz %r6,%r2,64
	std %r3,%r1,96
	std %r4,%r1,88
;posix_spawnattr_setsigdefault+80
	std %r5,%r1,80
	std %r6,%r1,72
	lddz %r3,%r2,56
;posix_spawnattr_setsigdefault+96
	lddz %r4,%r2,48
	lddz %r5,%r2,40
	lddz %r6,%r2,32
;posix_spawnattr_setsigdefault+112
	std %r3,%r1,64
	std %r4,%r1,56
	std %r5,%r1,48
;posix_spawnattr_setsigdefault+128
	std %r6,%r1,40
	lddz %r3,%r2,24
	lddz %r4,%r2,16
;posix_spawnattr_setsigdefault+144
	lddz %r5,%r2,8
	lddz %r2,%r2,0
	std %r3,%r1,32
;posix_spawnattr_setsigdefault+160
	std %r4,%r1,24
	std %r5,%r1,16
	std %r2,%r1,8
;posix_spawnattr_setsigdefault+176
	mov %r1,%gz
	retf 0
	nop 0
;posix_spawnattr_setflags
	alloc 4
	bwgeui %r2,256,posix_spawnattr_setflags+32
	stw %r2,%r1,0
;posix_spawnattr_setflags+16
	mov %r1,%gz
	retf 0
	nop 0
;posix_spawnattr_setflags+32
	ldi %r1,22
	retf 0
	nop 0
;posix_spawn
	allocsp 12,5680
	stw %gz,%sp,556
	ldi %r10,1
;posix_spawn+16
	addi %r11,%sp,552
	callr %r9,__pthread_setcancelstate
	std %r2,%sp,512
;posix_spawn+32
	std %r3,%sp,520
	bdne %r4,%gz,posix_spawn+160
	stq %gz,%sp,352
;posix_spawn+48
	stq %gz,%sp,336
	stq %gz,%sp,320
	stq %gz,%sp,304
;posix_spawn+64
	stq %gz,%sp,288
	stq %gz,%sp,272
	stq %gz,%sp,256
;posix_spawn+80
	stq %gz,%sp,240
	stq %gz,%sp,224
	stq %gz,%sp,208
;posix_spawn+96
	stq %gz,%sp,192
	stq %gz,%sp,176
	stq %gz,%sp,160
;posix_spawn+112
	stq %gz,%sp,144
	stq %gz,%sp,128
	stq %gz,%sp,112
;posix_spawn+128
	stq %gz,%sp,96
	stq %gz,%sp,80
	stq %gz,%sp,64
;posix_spawn+144
	stq %gz,%sp,48
	stq %gz,%sp,32
	addi %r4,%sp,32
;posix_spawn+160
	std %r4,%sp,528
	std %r5,%sp,536
	std %r6,%sp,544
;posix_spawn+176
	ldi %r2,-1
	std %r2,%sp,16
	std %r2,%sp,24
;posix_spawn+192
	addi %r2,%sp,384
	addi %r10,%sp,16
	mov2 %r9,%r11,%gz,%r2
;posix_spawn+208
	callr %r8,pthread_sigmask
	ldafr %r11,__abort_lock
	callr %r10,__lock
;posix_spawn+224
	addi %r4,%sp,376
	ldi %r11,524288
	mov %r10,%r4
;posix_spawn+240
	callr %r9,pipe2
	bweq %r10,%gz,posix_spawn+288
	ldafr %r11,__abort_lock
;posix_spawn+256
	callr %r10,__unlock
	callr %r10,___errno_location
	ldwz %r1,%r11,0
;posix_spawn+272
	stw %r1,%sp,556
	jmp posix_spawn+480
	nop 0
;posix_spawn+288
	addi %r9,%sp,5680
	ldar %r8,child
	ldi %r10,16657
;posix_spawn+304
	mov %r11,%r4
	callr %r7,__clone
	mov %r3,%r8
;posix_spawn+320
	ori %r4,%r4,4
	ldwz %r11,%r4,0
	callr %r10,close
;posix_spawn+336
	ldafr %r11,__abort_lock
	callr %r10,__unlock
	bwlti %r8,1,posix_spawn+416
;posix_spawn+352
	ldwz %r9,%sp,376
	addi %r10,%sp,556
	ldi %r11,4
;posix_spawn+368
	callr %r8,read
	bdnei %r9,4,posix_spawn+432
	stw %gz,%sp,12
;posix_spawn+384
	addi %r10,%sp,12
	mov2 %r9,%r11,%r3,%gz
	callr %r8,waitpid
;posix_spawn+400
	jmp posix_spawn+448
	nop 0
	nop 0
;posix_spawn+416
	subfiws %r4,%r3,0
	stw %r4,%sp,556
	jmp posix_spawn+448
;posix_spawn+432
	stw %gz,%sp,556
	nop 0
	nop 0
;posix_spawn+448
	ldwz %r11,%sp,376
	callr %r10,close
	bdeq %r1,%gz,posix_spawn+480
;posix_spawn+464
	ldwz %r4,%sp,556
	bwne %r4,%gz,posix_spawn+480
	stw %r3,%r1,0
;posix_spawn+480
	ldi %r9,2
	mov2 %r10,%r11,%r2,%gz
	callr %r8,pthread_sigmask
;posix_spawn+496
	ldwz %r10,%sp,552
	mov %r11,%gz
	callr %r9,__pthread_setcancelstate
;posix_spawn+512
	ldwz %r1,%sp,556
	retf 5680
	nop 0
;child
	allocsp 25,288
	std %gz,%sp,272
	stq %gz,%sp,256
;child+16
	stq %gz,%sp,240
	stq %gz,%sp,224
	stq %gz,%sp,208
;child+32
	stq %gz,%sp,192
	stq %gz,%sp,176
	stq %gz,%sp,160
;child+48
	stq %gz,%sp,144
	stq %gz,%sp,128
	ldwz %r12,%r1,4
;child+64
	lddz %r7,%r1,144
	lddz %r13,%r1,152
	ldwz %r24,%r1,0
;child+80
	callr %r23,close
	addi %r2,%sp,0
	mov %r24,%r2
;child+96
	callr %r23,__get_handler_set
	addi %r3,%r13,8
	ldi %r8,1
;child+112
	addi %r4,%sp,128
	mov %r6,%r8
	jmp child+208
;child+128
	mov2 %r23,%r24,%r3,%r5
	callr %r22,sigismember
	mov %r6,%gz
;child+144
	bweq %r23,%gz,child+224
	nop 0
	nop 0
;child+160
	std %r6,%sp,128
	mov2 %r22,%r23,%r5,%r4
	mov %r24,%gz
;child+176
	callr %r21,__libc_sigaction
	nop 0
	nop 0
;child+192
	addiws %r6,%r5,1
	bwgeui %r5,64,child+304
	nop 0
;child+208
	ldbz %r9,%r13,0
	mov %r5,%r6
	bbsi %r9,2,child+128
;child+224
	mov2 %r23,%r24,%r2,%r5
	callr %r22,sigismember
	bweq %r23,%gz,child+192
;child+240
	addiws %r9,%r5,-32
	mov %r6,%r8
	bwltui %r9,3,child+160
;child+256
	mov2 %r22,%r23,%r5,%gz
	mov %r24,%r4
	callr %r21,__libc_sigaction
;child+272
	lddz %r9,%sp,128
	mov %r6,%gz
	bdnei %r9,1,child+160
;child+288
	jmp child+192
	nop 0
	nop 0
;child+304
	ldwz %r2,%r13,0
	bbci %r2,7,child+352
	ldi %r18,112
;child+320
	mov2 %r19,%r20,%gz,%gz
	mov2 %r21,%r22,%gz,%gz
	mov2 %r23,%r24,%gz,%gz
;child+336
	callr %r17,__syscall_postrisc
	bwlt %r18,%gz,child+1296
	ldwz %r2,%r13,0
;child+352
	bbci %r2,1,child+400
	ldws %r20,%r13,4
	ldi %r18,109
;child+368
	mov2 %r19,%r21,%gz,%gz
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
;child+384
	callr %r17,__syscall_postrisc
	bwne %r18,%gz,child+1296
	ldwz %r2,%r13,0
;child+400
	bbsi %r2,0,child+1168
	nop 0
	nop 0
;child+416
	bdeq %r7,%gz,child+432
	lddz %r2,%r7,8
	bdne %r2,%gz,child+576
;child+432
	sraiw %r19,%r12,0
	ldi %r18,72
	ldi %r20,2
;child+448
	ldi %r21,1
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
;child+464
	callr %r17,__syscall_postrisc
	ldwz %r2,%r13,0
	andi %r2,%r2,8
;child+480
	addi %r3,%r13,136
	addi %r4,%r1,8
	cmovweq %r23,%r2,%r4,%r3
;child+496
	ldi %r22,2
	mov %r24,%gz
	callr %r21,pthread_sigmask
;child+512
	lddz %r2,%r13,272
	ldar %r3,execve
	cmovdeq %r2,%r2,%r3,%r2
;child+528
	lddz %r22,%r1,136
	lddz %r23,%r1,160
	lddz %r24,%r1,168
;child+544
	callri %r21,%r2,%gz
	callr %r23,___errno_location
	ldwz %r1,%r24,0
;child+560
	stw %r1,%sp,284
	bwne %r1,%gz,child+1328
	jmp child+1408
;child+576
	mov %r14,%r2
	lddz %r2,%r2,0
	bdne %r2,%gz,child+576
;child+592
	ldi %r2,32
	ldi %r3,3
	ldafr %r16,.rodata+33480
;child+608
	ldi %r15,-9
	ldi %r4,72
	ldi %r5,1
;child+624
	ldi %r6,2
	ldi %r7,33
	ldi %r8,80
;child+640
	ldi %r9,81
	jmp child+720
	nop 0
;child+656
	ldws %r19,%r14,20
	nop 0
	nop 0
;child+672
	mov2 %r18,%r20,%r3,%gz
	mov2 %r21,%r22,%gz,%gz
	mov2 %r23,%r24,%gz,%gz
;child+688
	callr %r17,__syscall_postrisc
	nop 0
	nop 0
;child+704
	lddz %r14,%r14,8
	bdeq %r14,%gz,child+432
	nop 0
;child+720
	ldwz %r10,%r14,20
	bwne %r10,%r12,child+816
	sraiw %r11,%r12,0
;child+736
	mov2 %r18,%r19,%r2,%r11
	mov2 %r20,%r21,%gz,%gz
	mov2 %r22,%r23,%gz,%gz
;child+752
	mov %r24,%gz
	callr %r17,__syscall_postrisc
	mov %r10,%r18
;child+768
	bwlt %r18,%gz,child+1312
	mov2 %r18,%r19,%r3,%r11
	mov2 %r20,%r21,%gz,%gz
;child+784
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
	callr %r17,__syscall_postrisc
;child+800
	mov %r12,%r10
	nop 0
	nop 0
;child+816
	ldwz %r10,%r14,16
	addiws %r11,%r10,-1
	bwgeui %r11,5,child+704
;child+832
	addiwz %r10,%r10,-1
	jmpt %r16,%r10
	nop 0
;child+848
	ldwz %r10,%r14,24
	bweq %r10,%r12,child+1424
	ldwz %r11,%r14,20
;child+864
	sraiw %r19,%r10,0
	bwne %r10,%r11,child+1152
	mov2 %r18,%r10,%r4,%r19
;child+880
	mov2 %r20,%r21,%r5,%gz
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
;child+896
	callr %r17,__syscall_postrisc
	sraiw %r11,%r18,0
	andi %r21,%r11,-2
;child+912
	mov2 %r18,%r19,%r4,%r10
	mov %r20,%r6
	jmp child+1120
;child+928
	ldws %r19,%r14,20
	mov %r18,%r9
	jmp child+1088
;child+944
	ldws %r10,%r14,28
	addi %r19,%r14,36
	ori %r20,%r10,32768
;child+960
	ldwz %r21,%r14,32
	mov2 %r18,%r22,%r6,%gz
	mov2 %r23,%r24,%gz,%gz
;child+976
	callr %r17,__syscall_postrisc
	mov %r10,%r18
	stw %r18,%sp,284
;child+992
	bwlt %r18,%gz,child+1312
	ldwz %r11,%r14,20
	bweq %r11,%r10,child+704
;child+1008
	andi.l %r10,%r10,2147483647
	sraiw %r20,%r11,0
;child+1024
	mov2 %r18,%r19,%r7,%r10
	mov2 %r21,%r22,%gz,%gz
	mov2 %r23,%r24,%gz,%gz
;child+1040
	callr %r17,__syscall_postrisc
	mov %r19,%r10
	stw %r18,%sp,284
;child+1056
	bwle %gz,%r18,child+672
	jmp child+1296
	nop 0
;child+1072
	addi %r19,%r14,36
	mov %r18,%r8
	nop 0
;child+1088
	mov %r20,%gz
	nop 0
	nop 0
;child+1104
	mov %r21,%gz
	nop 0
	nop 0
;child+1120
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
	callr %r17,__syscall_postrisc
;child+1136
	stw %r18,%sp,284
	bwle %gz,%r18,child+704
	jmp child+1296
;child+1152
	sraiw %r20,%r11,0
	mov %r18,%r7
	jmp child+1104
;child+1168
	ldi %r18,104
	mov2 %r19,%r20,%gz,%gz
	mov2 %r21,%r22,%gz,%gz
;child+1184
	mov2 %r23,%r24,%gz,%gz
	callr %r17,__syscall_postrisc
	mov %r19,%r18
;child+1200
	ldi %r18,106
	mov2 %r20,%r21,%gz,%gz
	mov2 %r22,%r23,%gz,%gz
;child+1216
	mov %r24,%gz
	callr %r17,__syscall_postrisc
	bwne %r18,%gz,child+1296
;child+1232
	ldi %r18,102
	mov2 %r19,%r20,%gz,%gz
	mov2 %r21,%r22,%gz,%gz
;child+1248
	mov2 %r23,%r24,%gz,%gz
	callr %r17,__syscall_postrisc
	mov %r19,%r18
;child+1264
	ldi %r18,105
	mov2 %r20,%r21,%gz,%gz
	mov2 %r22,%r23,%gz,%gz
;child+1280
	mov %r24,%gz
	callr %r17,__syscall_postrisc
	bweq %r18,%gz,child+416
;child+1296
	mov %r10,%r18
	nop 0
	nop 0
;child+1312
	subfiws %r1,%r10,0
	stw %r1,%sp,284
	nop 0
;child+1328
	sraiw %r1,%r12,0
	ldi %r2,1
	addi %r3,%sp,284
;child+1344
	ldi %r4,4
	nop 0
	nop 0
;child+1360
	mov2 %r18,%r19,%r2,%r1
	mov2 %r20,%r21,%r3,%r4
	mov2 %r22,%r23,%gz,%gz
;child+1376
	mov %r24,%gz
	callr %r17,__syscall_postrisc
	bwgei %r18,0,child+1408
;child+1392
	bwnei %r18,-32,child+1360
	nop 0
	nop 0
;child+1408
	ldi %r24,127
	callr %r23,_exit
	nop 0
;child+1424
	mov %r10,%r15
	jmp child+1312
	nop 0
;__pthread_setcancelstate
	alloc 4
	bwltui %r1,3,__pthread_setcancelstate+32
	ldi %r1,22
;__pthread_setcancelstate+16
	retf 0
	nop 0
	nop 0
;__pthread_setcancelstate+32
	bdeq %r2,%gz,__pthread_setcancelstate+48
	ldbz %r3,%tp,64
	stw %r3,%r2,0
;__pthread_setcancelstate+48
	stb %r1,%tp,64
	mov %r1,%gz
	retf 0
;pipe2
	alloc 14
	bweq %r2,%gz,pipe2+80
	sraiw %r9,%r2,0
;pipe2+16
	ldi %r7,293
	mov2 %r8,%r10,%r1,%gz
	mov2 %r11,%r12,%gz,%gz
;pipe2+32
	mov %r13,%gz
	callr %r6,__syscall_postrisc
	bwnei %r7,-38,pipe2+112
;pipe2+48
	andi %r3,%r2,-526337
	bweq %r3,%gz,pipe2+144
	ldi %r13,-22
;pipe2+64
	jmp pipe2+128
	nop 0
	nop 0
;pipe2+80
	mov %r13,%r1
	callr %r12,pipe
	mov %r1,%r13
;pipe2+96
	retf 0
	nop 0
	nop 0
;pipe2+112
	sraiw %r13,%r7,0
	nop 0
	nop 0
;pipe2+128
	callr %r12,__syscall_ret
	mov %r1,%r13
	retf 0
;pipe2+144
	mov %r13,%r1
	callr %r12,pipe
	bweq %r13,%gz,pipe2+176
;pipe2+160
	mov %r1,%r13
	retf 0
	nop 0
;pipe2+176
	bwltui.l %r2,524288,pipe2+256
	ldws %r8,%r1,0
;pipe2+192
	ldi %r3,72
	ldi %r4,2
	ldi %r5,1
;pipe2+208
	mov2 %r7,%r9,%r3,%r4
	mov2 %r10,%r11,%r5,%gz
	mov2 %r12,%r13,%gz,%gz
;pipe2+224
	callr %r6,__syscall_postrisc
	ldws %r8,%r1,4
	mov2 %r7,%r9,%r3,%r4
;pipe2+240
	mov2 %r10,%r11,%r5,%gz
	mov2 %r12,%r13,%gz,%gz
	callr %r6,__syscall_postrisc
;pipe2+256
	mov %r13,%gz
	bbci %r2,11,pipe2+160
	ldws %r8,%r1,0
;pipe2+272
	ldi %r2,72
	ldi %r3,4
	ldi %r4,2048
;pipe2+288
	mov2 %r7,%r9,%r2,%r3
	mov2 %r10,%r11,%r4,%gz
	mov2 %r12,%r13,%gz,%gz
;pipe2+304
	callr %r6,__syscall_postrisc
	ldws %r8,%r1,4
	mov2 %r7,%r9,%r2,%r3
;pipe2+320
	mov2 %r10,%r11,%r4,%gz
	mov2 %r12,%r13,%gz,%gz
	callr %r6,__syscall_postrisc
;pipe2+336
	mov %r13,%gz
	mov %r1,%r13
	retf 0
;pipe
	alloc 10
	ldi %r3,22
	mov2 %r4,%r5,%r1,%gz
;pipe+16
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;pipe+32
	mov %r9,%r3
	callr %r8,__syscall_ret
	mov %r1,%r9
;pipe+48
	retf 0
	nop 0
	nop 0
;__clone
	halt
	retf 0
	nop 0
;dummy
	alloc 2
	retf 0
	nop 0
;close
	alloc 11
	mov %r10,%r1
	callr %r9,__aio_close
;close+16
	sraiw %r5,%r10,0
	ldi %r4,3
	mov2 %r6,%r7,%gz,%gz
;close+32
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
	callr %r3,__syscall_cp
;close+48
	cmpweqi %r1,%r4,-4
	sraiw %r2,%r4,0
	cmovlsb %r10,%r1,%gz,%r2
;close+64
	callr %r9,__syscall_ret
	mov %r1,%r10
	retf 0
;__syscall_cp_c
	alloc 16
	mov2 %r9,%r10,%r1,%r2
	mov2 %r11,%r12,%r3,%r4
;__syscall_cp_c+16
	mov2 %r13,%r14,%r5,%r6
	mov %r15,%r7
	callr %r8,__syscall_postrisc
;__syscall_cp_c+32
	mov %r1,%r9
	retf 0
	nop 0
;__syscall_cp
	alloc 16
	mov2 %r9,%r10,%r1,%r2
	mov2 %r11,%r12,%r3,%r4
;__syscall_cp+16
	mov2 %r13,%r14,%r5,%r6
	mov %r15,%r7
	callr %r8,__syscall_cp_c
;__syscall_cp+32
	mov %r1,%r9
	retf 0
	nop 0
;read
	alloc 12
	sraiw %r6,%r1,0
	mov2 %r5,%r7,%gz,%r2
;read+16
	mov2 %r8,%r9,%r3,%gz
	mov2 %r10,%r11,%gz,%gz
	callr %r4,__syscall_cp
;read+32
	mov %r11,%r5
	callr %r10,__syscall_ret
	mov %r1,%r11
;read+48
	retf 0
	nop 0
	nop 0
;waitpid
	alloc 12
	sraiw %r6,%r1,0
	sraiw %r8,%r3,0
;waitpid+16
	ldi %r5,61
	mov2 %r7,%r9,%r2,%gz
	mov2 %r10,%r11,%gz,%gz
;waitpid+32
	callr %r4,__syscall_cp
	mov %r11,%r5
	callr %r10,__syscall_ret
;waitpid+48
	mov %r1,%r11
	retf 0
	nop 0
;sigismember
	alloc 4
	addiws %r3,%r2,-1
	mov2 %r2,%r1,%r1,%gz
;sigismember+16
	bwgeui %r3,64,sigismember+48
	lddz %r1,%r2,0
	srl %r1,%r1,%r3
;sigismember+32
	andi %r1,%r1,1
	nop 0
	nop 0
;sigismember+48
	retf 0
	nop 0
	nop 0
;execve
	alloc 12
	ldi %r5,59
	mov2 %r6,%r7,%r1,%r2
;execve+16
	mov2 %r8,%r9,%r3,%gz
	mov2 %r10,%r11,%gz,%gz
	callr %r4,__syscall_postrisc
;execve+32
	mov %r11,%r5
	callr %r10,__syscall_ret
	mov %r1,%r11
;execve+48
	retf 0
	nop 0
	nop 0
;_exit
	alloc 4
	mov %r3,%r1
	callr %r2,_Exit
;posix_spawnattr_destroy
	alloc 2
	mov %r1,%gz
	retf 0
;I_GetTicks
	alloc 4
	callr %r2,DG_GetTicksMs
	mov %r1,%r3
;I_GetTicks+16
	retf 0
	nop 0
	nop 0
;I_GetTime
	alloc 4
	callr %r2,DG_GetTicksMs
	ldwzr %r1,basetime
;I_GetTime+16
	bwne %r1,%gz,I_GetTime+32
	stwr %r3,basetime
	mov %r1,%r3
;I_GetTime+32
	subws %r1,%r3,%r1
	mulwzi %r1,%r1,35
	nop 2
;I_GetTime+48
	muli.l %r1,%r1,274877907
	srli %r1,%r1,38
;I_GetTime+64
	retf 0
	nop 0
	nop 0
;I_GetTimeMS
	alloc 4
	callr %r2,DG_GetTicksMs
	ldwzr %r1,basetime
;I_GetTimeMS+16
	bweq %r1,%gz,I_GetTimeMS+32
	subws %r1,%r3,%r1
	retf 0
;I_GetTimeMS+32
	stwr %r3,basetime
	mov %r1,%r3
	subws %r1,%r3,%r1
;I_GetTimeMS+48
	retf 0
	nop 0
	nop 0
;I_Sleep
	alloc 4
	mov %r3,%r1
	callr %r2,DG_SleepMs
;I_Sleep+16
	retf 0
	nop 0
	nop 0
;I_WaitVBL
	alloc 1
	retf 0
	nop 0
;I_InitTimer
	alloc 1
	retf 0
	nop 0
;mem_fopen_read
	alloc 7
	ldi %r4,32
	ldi %r5,1
;mem_fopen_read+16
	mov %r6,%gz
	callr %r3,Z_Malloc
	std %r1,%r4,0
;mem_fopen_read+32
	std %r2,%r4,8
	std %gz,%r4,24
	mov %r1,%r4
;mem_fopen_read+48
	retf 0
	nop 0
	nop 0
;mem_fread
	alloc 12
	ldwz %r5,%r4,28
	bweq %r5,%gz,mem_fread+48
;mem_fread+16
	ldafr %r11,.rodata+7924
	callr %r10,puts
	ldi %r1,-1
;mem_fread+32
	retf 0
	nop 0
	nop 0
;mem_fread+48
	lddz %r7,%r4,8
	ldwz %r6,%r4,24
	mul %r5,%r3,%r2
;mem_fread+64
	sub %r7,%r7,%r6
	bdleu %r5,%r7,mem_fread+96
	divu %r3,%r7,%r2
;mem_fread+80
	mul %r5,%r3,%r2
	nop 0
	nop 0
;mem_fread+96
	lddz %r2,%r4,0
	add %r10,%r2,%r6
	mov2 %r9,%r11,%r1,%r5
;mem_fread+112
	callr %r8,memcpy
	ldwz %r1,%r4,24
	addws %r1,%r1,%r5
;mem_fread+128
	stw %r1,%r4,24
	mov %r1,%r3
	retf 0
;mem_fopen_write
	alloc 8
	ldi %r5,32
	ldi %r3,1
;mem_fopen_write+16
	mov2 %r6,%r7,%r3,%gz
	callr %r4,Z_Malloc
	mov %r1,%r5
;mem_fopen_write+32
	ldi %r2,1024
	std %r2,%r5,16
	ldi %r5,1024
;mem_fopen_write+48
	mov2 %r6,%r7,%r3,%gz
	callr %r4,Z_Malloc
	std %r5,%r1,0
;mem_fopen_write+64
	std %gz,%r1,8
	ldi.l %r2,4294967296
;mem_fopen_write+80
	std %r2,%r1,24
	retf 0
	nop 0
;mem_fwrite
	alloc 14
	ldwz %r5,%r4,28
	bwnei %r5,1,mem_fwrite+144
;mem_fwrite+16
	lddz %r8,%r4,16
	ldwz %r7,%r4,24
	mul %r2,%r3,%r2
;mem_fwrite+32
	sub %r5,%r8,%r7
	bdleu %r2,%r5,mem_fwrite+160
	ldi %r5,1
;mem_fwrite+48
	slliw %r11,%r8,1
	mov2 %r12,%r13,%r5,%gz
	callr %r10,Z_Malloc
;mem_fwrite+64
	mov %r6,%r11
	lddz %r12,%r4,0
	lddz %r13,%r4,16
;mem_fwrite+80
	callr %r10,memcpy
	lddz %r13,%r4,0
	callr %r12,Z_Free
;mem_fwrite+96
	std %r6,%r4,0
	lddz %r9,%r4,16
	slli %r8,%r9,1
;mem_fwrite+112
	std %r8,%r4,16
	ldwz %r7,%r4,24
	slsubf %r9,%r7,%r9,1
;mem_fwrite+128
	bdltu %r9,%r2,mem_fwrite+48
	jmp mem_fwrite+176
	nop 0
;mem_fwrite+144
	ldi %r1,-1
	retf 0
	nop 0
;mem_fwrite+160
	lddz %r6,%r4,0
	nop 0
	nop 0
;mem_fwrite+176
	add %r11,%r6,%r7
	mov2 %r12,%r13,%r1,%r2
	callr %r10,memcpy
;mem_fwrite+192
	ldwz %r1,%r4,24
	addws %r5,%r1,%r2
	stw %r5,%r4,24
;mem_fwrite+208
	lddz %r5,%r4,8
	addwz %r1,%r1,%r2
	bdleu %r1,%r5,mem_fwrite+240
;mem_fwrite+224
	std %r1,%r4,8
	nop 0
	nop 0
;mem_fwrite+240
	mov %r1,%r3
	retf 0
	nop 0
;mem_get_buf
	alloc 5
	lddz %r4,%r1,0
	std %r4,%r2,0
;mem_get_buf+16
	lddz %r1,%r1,8
	std %r1,%r3,0
	retf 0
;mem_fclose
	alloc 5
	ldwz %r2,%r1,28
	bwnei %r2,1,mem_fclose+32
;mem_fclose+16
	lddz %r4,%r1,0
	callr %r3,Z_Free
	nop 0
;mem_fclose+32
	mov %r4,%r1
	callr %r3,Z_Free
	retf 0
;mem_ftell
	alloc 2
	ldwz %r1,%r1,24
	retf 0
;mem_fseek
	allocsp 8,16
	mov %r4,%r1
	ldi %r1,-1
;mem_fseek+16
	bweqi %r3,2,mem_fseek+64
	bweqi %r3,1,mem_fseek+48
	bweq %r3,%gz,mem_fseek+80
;mem_fseek+32
	retf 16
	nop 0
	nop 0
;mem_fseek+48
	ldwz %r3,%r4,24
	addws %r2,%r3,%r2
	jmp mem_fseek+80
;mem_fseek+64
	lddz %r3,%r4,8
	add %r2,%r3,%r2
	nop 0
;mem_fseek+80
	lddz %r3,%r4,8
	srliw %r5,%r2,0
	bdleu %r3,%r5,mem_fseek+112
;mem_fseek+96
	mov %r1,%gz
	stw %r2,%r4,24
	retf 16
;mem_fseek+112
	ldafr %r7,.rodata+8300
	stw %r2,%sp,0
	callr %r6,printf
;mem_fseek+128
	retf 16
	nop 0
	nop 0
;M_CheckParmWithArgs
	alloc 9
	ldwzr %r3,myargc
	subws %r3,%r3,%r2
;M_CheckParmWithArgs+16
	bwlti %r3,2,M_CheckParmWithArgs+96
	mov %r2,%r1
	lddzr %r1,myargv
;M_CheckParmWithArgs+32
	srliw %r4,%r3,0
	addi %r5,%r1,8
	ldi %r1,1
;M_CheckParmWithArgs+48
	lddz %r8,%r5,0
	mov %r7,%r2
	callr %r6,strcasecmp
;M_CheckParmWithArgs+64
	bweq %r7,%gz,M_CheckParmWithArgs+112
	addi %r1,%r1,1
	addi %r5,%r5,8
;M_CheckParmWithArgs+80
	bdne %r4,%r1,M_CheckParmWithArgs+48
	nop 0
	nop 0
;M_CheckParmWithArgs+96
	mov %r1,%gz
	nop 0
	nop 0
;M_CheckParmWithArgs+112
	retf 0
	nop 0
	nop 0
;M_ParmExists
	alloc 9
	ldwzr %r3,myargc
	mov2 %r2,%r1,%r1,%gz
;M_ParmExists+16
	bwlti %r3,2,M_ParmExists+96
	lddzr %r1,myargv
	srliw %r3,%r3,0
;M_ParmExists+32
	addi %r5,%r3,-2
	addi %r3,%r1,8
	nop 0
;M_ParmExists+48
	mov %r4,%r5
	lddz %r8,%r3,0
	mov %r7,%r2
;M_ParmExists+64
	callr %r6,strcasecmp
	cmpweqi %r1,%r7,0
	bweq %r7,%gz,M_ParmExists+96
;M_ParmExists+80
	addi %r5,%r4,-1
	addi %r3,%r3,8
	bdne %r4,%gz,M_ParmExists+48
;M_ParmExists+96
	retf 0
	nop 0
	nop 0
;M_CheckParm
	alloc 9
	ldwzr %r3,myargc
	bwlti %r3,2,M_CheckParm+96
;M_CheckParm+16
	mov %r2,%r1
	lddzr %r1,myargv
	srliw %r4,%r3,0
;M_CheckParm+32
	addi %r5,%r1,8
	ldi %r1,1
	nop 0
;M_CheckParm+48
	lddz %r8,%r5,0
	mov %r7,%r2
	callr %r6,strcasecmp
;M_CheckParm+64
	bweq %r7,%gz,M_CheckParm+112
	addi %r1,%r1,1
	addi %r5,%r5,8
;M_CheckParm+80
	bdne %r4,%r1,M_CheckParm+48
	nop 0
	nop 0
;M_CheckParm+96
	mov %r1,%gz
	nop 0
	nop 0
;M_CheckParm+112
	retf 0
	nop 0
	nop 0
;M_FindResponseFile
	alloc 1
	retf 0
	nop 0
;M_GetExecutableName
	alloc 6
	lddzr %r1,myargv
	lddz %r1,%r1,0
;M_GetExecutableName+16
	ldi %r5,47
	mov %r4,%r1
	callr %r3,strrchr
;M_GetExecutableName+32
	addi %r2,%r4,1
	cmovdeq %r1,%r4,%r1,%r2
	retf 0
;M_ClearBox
	alloc 3
	ldi.l %r2,-2147483648
;M_ClearBox+16
	stw %r2,%r1,12
	stw %r2,%r1,0
	nop 2
;M_ClearBox+32
	ldi.l %r2,2147483647
	stw %r2,%r1,8
;M_ClearBox+48
	stw %r2,%r1,4
	retf 0
	nop 0
;M_AddToBox
	alloc 5
	ldwz %r4,%r1,8
	bwle %r4,%r2,M_AddToBox+32
;M_AddToBox+16
	stw %r2,%r1,8
	jmp M_AddToBox+48
	nop 0
;M_AddToBox+32
	ldwz %r4,%r1,12
	bwle %r2,%r4,M_AddToBox+48
	stw %r2,%r1,12
;M_AddToBox+48
	ldwz %r2,%r1,4
	bwle %r2,%r3,M_AddToBox+80
	stw %r3,%r1,4
;M_AddToBox+64
	retf 0
	nop 0
	nop 0
;M_AddToBox+80
	ldwz %r2,%r1,0
	bwle %r3,%r2,M_AddToBox+96
	stw %r3,%r1,0
;M_AddToBox+96
	retf 0
	nop 0
	nop 0
;cht_CheckCheat
	alloc 8
	ldwz %r5,%r1,40
	bwlti %r5,1,cht_CheckCheat+48
;cht_CheckCheat+16
	mov %r7,%r1
	callr %r6,strlen
	lddz %r3,%r1,32
;cht_CheckCheat+32
	bdleu %r3,%r7,cht_CheckCheat+48
	mov %r1,%gz
	retf 0
;cht_CheckCheat+48
	lddz %r4,%r1,48
	mov %r7,%r1
	callr %r6,strlen
;cht_CheckCheat+64
	bdleu %r7,%r4,cht_CheckCheat+128
	ldbzx.xd %r3,%r1,%r4,0,0
	andi %r2,%r2,255
;cht_CheckCheat+80
	cmpweq %r2,%r2,%r3
	addi %r4,%r4,1
	mov %r3,%gz
;cht_CheckCheat+96
	cmovlsb %r4,%r2,%r4,%gz
	std %r4,%r1,48
	stw %gz,%r1,56
;cht_CheckCheat+112
	jmp cht_CheckCheat+176
	nop 0
	nop 0
;cht_CheckCheat+128
	ldwz %r3,%r1,56
	bwle %r5,%r3,cht_CheckCheat+176
	stbx.xw %r2,%r1,%r3,0,60
;cht_CheckCheat+144
	ldwz %r2,%r1,56
	addiws %r3,%r2,1
	stw %r3,%r1,56
;cht_CheckCheat+160
	lddz %r4,%r1,48
	nop 0
	nop 0
;cht_CheckCheat+176
	mov %r7,%r1
	callr %r6,strlen
	bdleu %r7,%r4,cht_CheckCheat+208
;cht_CheckCheat+192
	mov %r1,%gz
	retf 0
	nop 0
;cht_CheckCheat+208
	ldwz %r2,%r1,40
	bwle %r2,%r3,cht_CheckCheat+240
	mov %r1,%gz
;cht_CheckCheat+224
	retf 0
	nop 0
	nop 0
;cht_CheckCheat+240
	stw %gz,%r1,56
	std %gz,%r1,48
	ldi %r1,1
;cht_CheckCheat+256
	retf 0
	nop 0
	nop 0
;cht_GetParam
	alloc 7
	addi %r5,%r1,60
	ldws %r6,%r1,40
;cht_GetParam+16
	mov %r4,%r2
	callr %r3,memcpy
	retf 0
;M_SetConfigFilenames
	alloc 3
	stdr %r1,default_main_config
	stdr %r2,default_extra_config
;M_SetConfigFilenames+16
	retf 0
	nop 0
	nop 0
;M_SaveDefaults
	alloc 1
	retf 0
	nop 0
;M_SaveDefaultsAlternate
	alloc 1
	retf 0
	nop 0
;M_LoadDefaults
	allocsp 5,16
	ldafr %r3,.rodata+17490
	ldi %r4,1
;M_LoadDefaults+16
	callr %r2,M_CheckParmWithArgs
	bweq %r3,%gz,M_LoadDefaults+80
	lddzr %r1,myargv
;M_LoadDefaults+32
	lddzx.xw %r1,%r1,%r3,3,8
	stdr %r1,doom_defaults.2
	ldafr %r4,.rodata+21012
;M_LoadDefaults+48
	std %r1,%sp,0
	callr %r3,printf
	lddzr %r4,doom_defaults.2
;M_LoadDefaults+64
	jmp M_LoadDefaults+112
	nop 0
	nop 0
;M_LoadDefaults+80
	lddzr %r4,configdir
	lddzr %r1,default_main_config
	std %gz,%sp,8
;M_LoadDefaults+96
	std %r1,%sp,0
	callr %r3,M_StringJoin
	stdr %r4,doom_defaults.2
;M_LoadDefaults+112
	ldafr %r1,.rodata+25533
	std %r4,%sp,0
	mov %r4,%r1
;M_LoadDefaults+128
	callr %r3,printf
	ldafr %r3,.rodata+25554
	ldi %r4,1
;M_LoadDefaults+144
	callr %r2,M_CheckParmWithArgs
	bweq %r3,%gz,M_LoadDefaults+192
	lddzr %r1,myargv
;M_LoadDefaults+160
	lddzx.xw %r1,%r1,%r3,3,8
	stdr %r1,extra_defaults.2
	ldafr %r4,.rodata+9166
;M_LoadDefaults+176
	std %r1,%sp,0
	callr %r3,printf
	retf 16
;M_LoadDefaults+192
	lddzr %r4,configdir
	lddzr %r1,default_extra_config
	std %gz,%sp,8
;M_LoadDefaults+208
	std %r1,%sp,0
	callr %r3,M_StringJoin
	stdr %r4,extra_defaults.2
;M_LoadDefaults+224
	retf 16
	nop 0
	nop 0
;M_BindVariable
	alloc 5
	mov %r4,%r1
	callr %r3,GetDefaultForName
;M_BindVariable+16
	std %r2,%r4,8
	ldi %r1,1
	stw %r1,%r4,28
;M_BindVariable+32
	retf 0
	nop 0
	nop 0
;GetDefaultForName
	allocsp 8,16
	mov %r3,%gz
	ldafr %r4,doom_defaults_list
;GetDefaultForName+16
	lddzx.xd %r7,%r3,%r4,0,0
	mov %r6,%r1
	callr %r5,strcmp
;GetDefaultForName+32
	bweq %r6,%gz,GetDefaultForName+160
	addi %r3,%r3,32
	nop 2
;GetDefaultForName+48
	bdnei.l %r3,2432,GetDefaultForName+16
	mov %r3,%gz
;GetDefaultForName+64
	ldafr %r4,extra_defaults_list
	nop 0
	nop 0
;GetDefaultForName+80
	lddzx.xd %r7,%r3,%r4,0,0
	mov %r6,%r1
	callr %r5,strcmp
;GetDefaultForName+96
	bweq %r6,%gz,GetDefaultForName+160
	addi %r3,%r3,32
	nop 2
;GetDefaultForName+112
	bdnei.l %r3,3808,GetDefaultForName+80
	ldafr %r7,.rodata+1744
;GetDefaultForName+128
	std %r1,%sp,0
	callr %r6,I_Error
	mov %r1,%gz
;GetDefaultForName+144
	retf 16
	nop 0
	nop 0
;GetDefaultForName+160
	add %r1,%r3,%r4
	retf 16
	nop 0
;M_SetVariable
	allocsp 8,32
	mov %r7,%r1
	callr %r6,GetDefaultForName
;M_SetVariable+16
	bdeq %r7,%gz,M_SetVariable+128
	ldwz %r1,%r7,28
	bweq %r1,%gz,M_SetVariable+128
;M_SetVariable+32
	ldwz %r3,%r7,16
	ldi %r1,1
	bdgeui %r3,5,M_SetVariable+320
;M_SetVariable+48
	ldafr %r4,.rodata+33500
	jmpt %r4,%r3
	nop 0
;M_SetVariable+64
	mov %r3,%r7
	ldbz %r4,%r2,0
	bwnei %r4,48,M_SetVariable+144
;M_SetVariable+80
	ldbz %r4,%r2,1
	bwnei %r4,120,M_SetVariable+144
	addi %r6,%r2,2
;M_SetVariable+96
	addi %r2,%sp,24
	ldafr %r7,.rodata+5051
	std %r2,%sp,0
;M_SetVariable+112
	jmp M_SetVariable+176
	nop 0
	nop 0
;M_SetVariable+128
	mov %r1,%gz
	retf 32
	nop 0
;M_SetVariable+144
	addi %r4,%sp,24
	ldafr %r7,.rodata+18175
	std %r4,%sp,0
;M_SetVariable+160
	mov %r6,%r2
	nop 0
	nop 0
;M_SetVariable+176
	callr %r5,__isoc99_sscanf
	ldwz %r2,%sp,24
	jmp M_SetVariable+432
;M_SetVariable+192
	mov %r3,%r7
	ldbz %r4,%r2,0
	bwnei %r4,48,M_SetVariable+336
;M_SetVariable+208
	ldbz %r4,%r2,1
	bwnei %r4,120,M_SetVariable+336
	addi %r6,%r2,2
;M_SetVariable+224
	addi %r2,%sp,28
	ldafr %r7,.rodata+5051
	std %r2,%sp,0
;M_SetVariable+240
	jmp M_SetVariable+368
	nop 0
	nop 0
;M_SetVariable+256
	mov2 %r3,%r7,%r7,%r2
	callr %r6,strdup
	lddz %r2,%r3,8
;M_SetVariable+272
	std %r7,%r2,0
	retf 32
	nop 0
;M_SetVariable+288
	mov2 %r3,%r7,%r7,%r2
	callr %r6,atof
	lddz %r2,%r3,8
;M_SetVariable+304
	fcvtsd2ss %r3,%r7,0
	stw %r3,%r2,0
	nop 0
;M_SetVariable+320
	retf 32
	nop 0
	nop 0
;M_SetVariable+336
	addi %r4,%sp,28
	ldafr %r7,.rodata+18175
	std %r4,%sp,0
;M_SetVariable+352
	mov %r6,%r2
	nop 0
	nop 0
;M_SetVariable+368
	callr %r5,__isoc99_sscanf
	ldwz %r4,%sp,28
	mov %r2,%gz
;M_SetVariable+384
	stw %r4,%r3,20
	bwgeui %r4,128,M_SetVariable+416
	ldafr %r2,scantokey
;M_SetVariable+400
	ldwzx.xuw %r2,%r2,%r4,2,0
	nop 0
	nop 0
;M_SetVariable+416
	stw %r2,%r3,24
	nop 0
	nop 0
;M_SetVariable+432
	lddz %r3,%r3,8
	stw %r2,%r3,0
	retf 32
;M_GetIntVariable
	alloc 4
	mov %r3,%r1
	callr %r2,GetDefaultForName
;M_GetIntVariable+16
	bdeq %r3,%gz,M_GetIntVariable+64
	ldwz %r1,%r3,28
	bweq %r1,%gz,M_GetIntVariable+64
;M_GetIntVariable+32
	ldwz %r1,%r3,16
	bwgeui %r1,2,M_GetIntVariable+64
	lddz %r1,%r3,8
;M_GetIntVariable+48
	ldwz %r1,%r1,0
	retf 0
	nop 0
;M_GetIntVariable+64
	mov %r1,%gz
	retf 0
	nop 0
;M_GetStrVariable
	alloc 4
	mov %r3,%r1
	callr %r2,GetDefaultForName
;M_GetStrVariable+16
	bdeq %r3,%gz,M_GetStrVariable+64
	ldwz %r1,%r3,28
	bweq %r1,%gz,M_GetStrVariable+64
;M_GetStrVariable+32
	ldwz %r1,%r3,16
	bwnei %r1,2,M_GetStrVariable+64
	lddz %r1,%r3,8
;M_GetStrVariable+48
	lddz %r1,%r1,0
	retf 0
	nop 0
;M_GetStrVariable+64
	mov %r1,%gz
	retf 0
	nop 0
;M_GetFloatVariable
	alloc 4
	mov %r3,%r1
	callr %r2,GetDefaultForName
;M_GetFloatVariable+16
	bdeq %r3,%gz,M_GetFloatVariable+64
	ldwz %r1,%r3,28
	bweq %r1,%gz,M_GetFloatVariable+64
;M_GetFloatVariable+32
	ldwz %r1,%r3,16
	bwnei %r1,3,M_GetFloatVariable+64
	lddz %r1,%r3,8
;M_GetFloatVariable+48
	ldwz %r1,%r1,0
	retf 0
	nop 0
;M_GetFloatVariable+64
	mov %r1,%gz
	retf 0
	nop 0
;M_SetConfigDir
	allocsp 4,16
	mov %r3,%r1
	bdne %r1,%gz,M_SetConfigDir+48
;M_SetConfigDir+16
	ldi %r3,2
	callr %r2,default_malloc
	ldi %r1,46
;M_SetConfigDir+32
	stb %r1,%r3,0
	stb %gz,%r3,1
	nop 0
;M_SetConfigDir+48
	stdr %r3,configdir
	ldbz %r1,%r3,0
	bweq %r1,%gz,M_SetConfigDir+96
;M_SetConfigDir+64
	ldafr %r1,.rodata+4992
	std %r3,%sp,0
	mov %r3,%r1
;M_SetConfigDir+80
	callr %r2,printf
	lddzr %r3,configdir
	nop 0
;M_SetConfigDir+96
	callr %r2,M_MakeDirectory
	retf 16
	nop 0
;M_GetSaveGameDir
	allocsp 4,32
	lddzr %r3,configdir
	ldbz %r1,%r3,0
;M_GetSaveGameDir+16
	bweq %r1,%gz,M_GetSaveGameDir+96
	std %gz,%sp,16
	ldafr %r1,.rodata+3950
;M_GetSaveGameDir+32
	std %r1,%sp,8
	ldafr %r1,.rodata+5432
	std %r1,%sp,0
;M_GetSaveGameDir+48
	callr %r2,M_StringJoin
	mov %r1,%r3
	callr %r2,M_MakeDirectory
;M_GetSaveGameDir+64
	ldafr %r3,.rodata+28598
	std %r1,%sp,0
	callr %r2,printf
;M_GetSaveGameDir+80
	retf 32
	nop 0
	nop 0
;M_GetSaveGameDir+96
	ldafr %r3,.rodata+6226
	callr %r2,strdup
	mov %r1,%r3
;M_GetSaveGameDir+112
	retf 32
	nop 0
	nop 0
;__isoc99_sscanf
	allocsp 7,16
	addi %r6,%sp,16
	std %r6,%sp,8
;__isoc99_sscanf+16
	mov2 %r4,%r5,%r1,%r2
	callr %r3,vsscanf
	mov %r1,%r4
;__isoc99_sscanf+32
	retf 16
	nop 0
	nop 0
;vsscanf
	allocsp 9,240
	stq %gz,%sp,64
	stq %gz,%sp,80
;vsscanf+16
	stq %gz,%sp,128
	stq %gz,%sp,144
	std %gz,%sp,224
;vsscanf+32
	stq %gz,%sp,208
	stq %gz,%sp,192
	stq %gz,%sp,176
;vsscanf+48
	stq %gz,%sp,160
	stq %gz,%sp,112
	stq %gz,%sp,96
;vsscanf+64
	stq %gz,%sp,48
	stq %gz,%sp,32
	stq %gz,%sp,16
;vsscanf+80
	stq %gz,%sp,0
	ldar %r4,string_read
	std %r4,%sp,64
;vsscanf+96
	std %r1,%sp,88
	ldi %r4,-1
	stw %r4,%sp,140
;vsscanf+112
	std %r1,%sp,152
	addi %r6,%sp,0
	mov2 %r7,%r8,%r2,%r3
;vsscanf+128
	callr %r5,vfscanf
	mov %r1,%r6
	retf 240
;string_read
	alloc 11
	lddz %r4,%r1,152
	addi %r5,%r3,256
;string_read+16
	mov2 %r8,%r9,%r4,%gz
	mov %r10,%r5
	callr %r7,memchr
;string_read+32
	sub %r6,%r8,%r4
	cmovdeq %r5,%r8,%r5,%r6
	minu %r3,%r5,%r3
;string_read+48
	mov2 %r8,%r9,%r2,%r4
	mov %r10,%r3
	callr %r7,memcpy
;string_read+64
	add %r2,%r4,%r3
	std %r2,%r1,8
	add %r2,%r4,%r5
;string_read+80
	std %r2,%r1,16
	std %r2,%r1,152
	mov %r1,%r3
;string_read+96
	retf 0
	nop 0
	nop 0
;vfscanf
	allocsp 41,304
	mov %r15,%r1
	std %r3,%sp,280
;vfscanf+16
	ldwz %r1,%r1,140
	bwlt %r1,%gz,vfscanf+64
	mov %r40,%r15
;vfscanf+32
	callr %r39,__lockfile
	cmpweqi %r16,%r40,0
	lddz %r1,%r15,8
;vfscanf+48
	bdne %r1,%gz,vfscanf+112
	jmp vfscanf+80
	nop 0
;vfscanf+64
	ldi %r16,1
	lddz %r1,%r15,8
	bdne %r1,%gz,vfscanf+112
;vfscanf+80
	mov %r40,%r15
	callr %r39,__toread
	lddz %r1,%r15,8
;vfscanf+96
	bdeq %r1,%gz,vfscanf+3424
	nop 0
	nop 0
;vfscanf+112
	mov2 %r1,%r20,%gz,%gz
	addi %r17,%sp,16
	ldafr %r18,.rodata+34032
;vfscanf+128
	ldi %r19,3
	ldafr %r21,.rodata+34184
	ldi %r4,1
;vfscanf+144
	ldi %r22,16
	ldafr %r23,.rodata+34440
	ldi %r14,-1
;vfscanf+160
	ldafr %r24,.rodata+34664
	addi %r5,%sp,15
	ldi %r6,257
;vfscanf+176
	ldi %r25,31
	addi %r7,%sp,272
	addi %r8,%sp,8
;vfscanf+192
	addi %r9,%sp,7
	jmp vfscanf+240
	nop 0
;vfscanf+208
	lddz %r3,%r15,200
	lddz %r12,%r15,88
	add %r3,%r3,%r20
;vfscanf+224
	addsub %r20,%r3,%r2,%r12
	addi %r2,%r26,1
	nop 0
;vfscanf+240
	ldbz %r3,%r2,0
	bdgeui %r3,38,vfscanf+448
	jmpt %r18,%r3
;vfscanf+256
	mov %r26,%r2
	ldbz %r3,%r2,1
	addiws %r12,%r3,-9
;vfscanf+272
	addi %r2,%r2,1
	bwltui %r12,5,vfscanf+256
	bweqi %r3,32,vfscanf+256
;vfscanf+288
	mov2 %r39,%r40,%r15,%gz
	callr %r38,__shlim
	jmp vfscanf+336
;vfscanf+304
	mov %r40,%r15
	callr %r39,__shgetc
	addiws %r2,%r40,-9
;vfscanf+320
	bwgeui %r2,5,vfscanf+384
	nop 0
	nop 0
;vfscanf+336
	lddz %r2,%r15,8
	lddz %r3,%r15,184
	bdeq %r2,%r3,vfscanf+304
;vfscanf+352
	addi %r3,%r2,1
	std %r3,%r15,8
	ldbz %r40,%r2,0
;vfscanf+368
	addiws %r2,%r40,-9
	bwltui %r2,5,vfscanf+336
	nop 0
;vfscanf+384
	bweqi %r40,32,vfscanf+336
	lddz %r3,%r15,192
	lddz %r2,%r15,8
;vfscanf+400
	bdlt %r3,%gz,vfscanf+208
	addi %r2,%r2,-1
	std %r2,%r15,8
;vfscanf+416
	jmp vfscanf+208
	nop 0
	nop 0
;vfscanf+432
	ldbz %r3,%r2,1
	bweqi %r3,42,vfscanf+640
	bwnei %r3,37,vfscanf+656
;vfscanf+448
	mov2 %r39,%r40,%r15,%gz
	callr %r38,__shlim
	ldbz %r3,%r2,0
;vfscanf+464
	bweqi %r3,37,vfscanf+560
	lddz %r3,%r15,8
	lddz %r12,%r15,184
;vfscanf+480
	bdeq %r3,%r12,vfscanf+784
	addi %r12,%r3,1
	std %r12,%r15,8
;vfscanf+496
	ldbz %r40,%r3,0
	ldbz %r3,%r2,0
	bweq %r40,%r3,vfscanf+816
;vfscanf+512
	jmp vfscanf+3376
	nop 0
	nop 0
;vfscanf+528
	mov %r40,%r15
	callr %r39,__shgetc
	addiws %r3,%r40,-9
;vfscanf+544
	bwgeui %r3,5,vfscanf+608
	nop 0
	nop 0
;vfscanf+560
	lddz %r3,%r15,8
	lddz %r12,%r15,184
	bdeq %r3,%r12,vfscanf+528
;vfscanf+576
	addi %r12,%r3,1
	std %r12,%r15,8
	ldbz %r40,%r3,0
;vfscanf+592
	addiws %r3,%r40,-9
	bwltui %r3,5,vfscanf+560
	nop 0
;vfscanf+608
	bweqi %r40,32,vfscanf+560
	addi %r2,%r2,1
	ldbz %r3,%r2,0
;vfscanf+624
	bweq %r40,%r3,vfscanf+816
	jmp vfscanf+3376
	nop 0
;vfscanf+640
	mov %r28,%gz
	addi %r12,%r2,2
	jmp vfscanf+896
;vfscanf+656
	addiws %r3,%r3,-48
	bwgeui %r3,10,vfscanf+864
	ldbz %r12,%r2,2
;vfscanf+672
	bwnei %r12,36,vfscanf+864
	lddz %r12,%sp,280
	std %r12,%sp,296
;vfscanf+688
	std %r12,%sp,288
	bwltui %r3,2,vfscanf+736
	nop 0
;vfscanf+704
	lddz %r12,%sp,288
	algnup %r12,%r12,0,3
	addi %r12,%r12,8
;vfscanf+720
	addiws %r3,%r3,-1
	std %r12,%sp,288
	bwgeui %r3,2,vfscanf+704
;vfscanf+736
	lddz %r3,%sp,288
	algnup %r3,%r3,0,3
	addi %r12,%r3,8
;vfscanf+752
	std %r12,%sp,288
	lddz %r28,%r3,0
	addi %r12,%r2,3
;vfscanf+768
	jmp vfscanf+896
	nop 0
	nop 0
;vfscanf+784
	mov %r40,%r15
	callr %r39,__shgetc
	ldbz %r3,%r2,0
;vfscanf+800
	bwne %r40,%r3,vfscanf+3376
	nop 0
	nop 0
;vfscanf+816
	lddz %r3,%r15,200
	lddz %r12,%r15,8
	lddz %r13,%r15,88
;vfscanf+832
	add %r3,%r3,%r20
	addsub %r20,%r3,%r12,%r13
	addi %r2,%r2,1
;vfscanf+848
	jmp vfscanf+240
	nop 0
	nop 0
;vfscanf+864
	lddz %r3,%sp,280
	addi %r12,%r2,1
	algnup %r2,%r3,0,3
;vfscanf+880
	addi %r3,%r2,8
	std %r3,%sp,280
	lddz %r28,%r2,0
;vfscanf+896
	ldbz %r3,%r12,0
	addiws %r2,%r3,-48
	mov %r31,%gz
;vfscanf+912
	andi %r2,%r2,255
	bwgeui %r2,10,vfscanf+992
	nop 0
;vfscanf+928
	andi %r2,%r3,255
	ldbz %r3,%r12,1
	mulwsi %r13,%r31,10
;vfscanf+944
	addws %r13,%r13,%r2
	addi %r2,%r12,1
	addiws %r12,%r3,-48
;vfscanf+960
	andi %r26,%r12,255
	addiws %r31,%r13,-48
	mov %r12,%r2
;vfscanf+976
	bwltui %r26,10,vfscanf+928
	jmp vfscanf+1008
	nop 0
;vfscanf+992
	mov %r2,%r12
	nop 0
	nop 0
;vfscanf+1008
	andi %r12,%r3,255
	cmpdnei %r27,%r28,0
	bwnei %r12,109,vfscanf+1056
;vfscanf+1024
	mov2 %r11,%r10,%gz,%gz
	addi %r12,%r2,1
	ldbz %r3,%r2,1
;vfscanf+1040
	mov2 %r2,%r29,%r12,%r27
	jmp vfscanf+1072
	nop 0
;vfscanf+1056
	mov %r29,%gz
	nop 0
	nop 0
;vfscanf+1072
	andi %r3,%r3,255
	addiws %r12,%r3,-65
	bwgeui %r12,58,vfscanf+3456
;vfscanf+1088
	addiwz %r12,%r3,-65
	addi %r26,%r2,1
	mov %r3,%r19
;vfscanf+1104
	jmpt %r21,%r12
	nop 0
	nop 0
;vfscanf+1120
	mov2 %r3,%r26,%gz,%r2
	nop 0
	nop 0
;vfscanf+1136
	ldbz %r2,%r26,0
	andi %r12,%r2,47
	cmpweqi %r12,%r12,3
;vfscanf+1152
	ori %r13,%r2,32
	cmovlsb %r30,%r12,%r13,%r2
	cmovlsb %r13,%r12,%r4,%r3
;vfscanf+1168
	bweqi %r30,91,vfscanf+1408
	bweqi %r30,110,vfscanf+1200
	bwnei %r30,99,vfscanf+1248
;vfscanf+1184
	ldi %r2,1
	maxsw %r31,%r31,%r2
	jmp vfscanf+1408
;vfscanf+1200
	bdeq %r28,%gz,vfscanf+3360
	addiws %r2,%r13,2
	bwgeui %r2,6,vfscanf+3360
;vfscanf+1216
	addiwz %r2,%r13,2
	ldafr %r3,.rodata+34416
	jmpt %r3,%r2
;vfscanf+1232
	std %r20,%r28,0
	addi %r2,%r26,1
	jmp vfscanf+240
;vfscanf+1248
	mov2 %r39,%r40,%r15,%gz
	callr %r38,__shlim
	jmp vfscanf+1296
;vfscanf+1264
	mov %r40,%r15
	callr %r39,__shgetc
	addiws %r2,%r40,-9
;vfscanf+1280
	bwgeui %r2,5,vfscanf+1344
	nop 0
	nop 0
;vfscanf+1296
	lddz %r2,%r15,8
	lddz %r3,%r15,184
	bdeq %r2,%r3,vfscanf+1264
;vfscanf+1312
	addi %r3,%r2,1
	std %r3,%r15,8
	ldbz %r40,%r2,0
;vfscanf+1328
	addiws %r2,%r40,-9
	bwltui %r2,5,vfscanf+1296
	nop 0
;vfscanf+1344
	bweqi %r40,32,vfscanf+1296
	lddz %r3,%r15,192
	lddz %r2,%r15,8
;vfscanf+1360
	bdlt %r3,%gz,vfscanf+1376
	addi %r2,%r2,-1
	std %r2,%r15,8
;vfscanf+1376
	lddz %r3,%r15,200
	lddz %r12,%r15,88
	add %r3,%r3,%r20
;vfscanf+1392
	addsub %r20,%r3,%r2,%r12
	nop 0
	nop 0
;vfscanf+1408
	sraiw %r12,%r31,0
	mov2 %r39,%r40,%r15,%r12
	callr %r38,__shlim
;vfscanf+1424
	lddz %r2,%r15,8
	lddz %r3,%r15,184
	bdeq %r2,%r3,vfscanf+1456
;vfscanf+1440
	addi %r2,%r2,1
	std %r2,%r15,8
	jmp vfscanf+1472
;vfscanf+1456
	mov %r40,%r15
	callr %r39,__shgetc
	bwlt %r40,%gz,vfscanf+3456
;vfscanf+1472
	lddz %r2,%r15,192
	bdlt %r2,%gz,vfscanf+1504
	lddz %r2,%r15,8
;vfscanf+1488
	addi %r2,%r2,-1
	std %r2,%r15,8
	nop 0
;vfscanf+1504
	addiws %r2,%r30,-65
	bwgeui %r2,56,vfscanf+3328
	addiwz %r2,%r30,-65
;vfscanf+1520
	mov %r38,%r22
	jmpt %r23,%r2
	nop 0
;vfscanf+1536
	mov2 %r38,%r39,%r15,%r13
	mov %r40,%gz
	callr %r37,__floatscan
;vfscanf+1552
	lddz %r2,%r15,8
	lddz %r3,%r15,88
	lddz %r12,%r15,200
;vfscanf+1568
	sub %r2,%r3,%r2
	bdeq %r12,%r2,vfscanf+3472
	bdeq %r28,%gz,vfscanf+3328
;vfscanf+1584
	bweqi %r13,2,vfscanf+2240
	bweqi %r13,1,vfscanf+2224
	bwne %r13,%gz,vfscanf+3328
;vfscanf+1600
	fcvtsq2ss %r2,%r38,0
	stw %r2,%r28,0
	jmp vfscanf+3328
;vfscanf+1616
	ori %r2,%r30,16
	bwnei %r2,115,vfscanf+2256
	mov2 %r38,%r39,%r5,%r14
;vfscanf+1632
	mov %r40,%r6
	callr %r37,memset
	stb %gz,%sp,15
;vfscanf+1648
	bwnei %r30,115,vfscanf+1696
	stb %gz,%sp,25
	stb %gz,%sp,26
;vfscanf+1664
	stb %gz,%sp,27
	stb %gz,%sp,28
	stb %gz,%sp,29
;vfscanf+1680
	stb %gz,%sp,48
	nop 0
	nop 0
;vfscanf+1696
	cmpwnei %r32,%r30,99
	addiws %r2,%r31,1
	cmovlsb %r2,%r32,%r25,%r2
;vfscanf+1712
	srliw %r10,%r2,0
	bwnei %r13,1,vfscanf+2016
	mov %r40,%r28
;vfscanf+1728
	bweq %r29,%gz,vfscanf+1760
	slli %r40,%r10,2
	callr %r39,default_malloc
;vfscanf+1744
	bdeq %r40,%gz,vfscanf+3536
	nop 0
	nop 0
;vfscanf+1760
	mov %r13,%gz
	stw %gz,%sp,272
	stw %gz,%sp,276
;vfscanf+1776
	mov %r2,%r40
	jmp vfscanf+1856
	nop 0
;vfscanf+1792
	mov %r40,%r15
	callr %r39,__shgetc
	ldbzx.xw %r3,%r5,%r40,0,1
;vfscanf+1808
	bweq %r3,%gz,vfscanf+2704
	nop 0
	nop 0
;vfscanf+1824
	stb %r40,%sp,7
	mov2 %r37,%r38,%r8,%r9
	mov2 %r39,%r40,%r4,%r7
;vfscanf+1840
	callr %r36,mbrtowc
	bdnei %r37,-2,vfscanf+1904
	nop 0
;vfscanf+1856
	lddz %r3,%r15,8
	lddz %r11,%r15,184
	bdeq %r3,%r11,vfscanf+1792
;vfscanf+1872
	addi %r11,%r3,1
	std %r11,%r15,8
	ldbz %r40,%r3,0
;vfscanf+1888
	ldbzx.xw %r3,%r5,%r40,0,1
	bwne %r3,%gz,vfscanf+1824
	jmp vfscanf+2704
;vfscanf+1904
	bdeqi %r37,-1,vfscanf+3440
	bdeq %r2,%gz,vfscanf+1936
	ldwz %r3,%sp,8
;vfscanf+1920
	addi %r11,%r13,1
	stwx.xd %r3,%r2,%r13,2,0
	mov %r13,%r11
;vfscanf+1936
	bweq %r29,%gz,vfscanf+1856
	bdne %r13,%r10,vfscanf+1856
	slor %r10,%r4,%r10,1
;vfscanf+1952
	slli %r40,%r10,2
	mov %r39,%r2
	callr %r38,realloc
;vfscanf+1968
	mov %r40,%r39
	bdne %r39,%gz,vfscanf+1776
	jmp vfscanf+3568
;vfscanf+1984
	ldi %r38,10
	jmp vfscanf+2400
	nop 0
;vfscanf+2000
	ldi %r3,1
	jmp vfscanf+1136
	nop 0
;vfscanf+2016
	bweq %r29,%gz,vfscanf+2736
	mov %r40,%r10
	callr %r39,default_malloc
;vfscanf+2032
	bdeq %r40,%gz,vfscanf+3536
	mov %r11,%gz
	nop 0
;vfscanf+2048
	mov2 %r2,%r13,%r40,%r11
	jmp vfscanf+2128
	nop 0
;vfscanf+2064
	mov %r40,%r15
	callr %r39,__shgetc
	ldbzx.xw %r3,%r5,%r40,0,1
;vfscanf+2080
	bweq %r3,%gz,vfscanf+2640
	nop 0
	nop 0
;vfscanf+2096
	addi %r11,%r13,1
	stbx.xd %r40,%r2,%r13,0,0
	mov %r13,%r11
;vfscanf+2112
	bdeq %r10,%r11,vfscanf+2176
	nop 0
	nop 0
;vfscanf+2128
	lddz %r3,%r15,8
	lddz %r11,%r15,184
	bdeq %r3,%r11,vfscanf+2064
;vfscanf+2144
	addi %r11,%r3,1
	std %r11,%r15,8
	ldbz %r40,%r3,0
;vfscanf+2160
	ldbzx.xw %r3,%r5,%r40,0,1
	bwne %r3,%gz,vfscanf+2096
	jmp vfscanf+2640
;vfscanf+2176
	ldi %r13,1
	slor %r10,%r13,%r10,1
	mov2 %r39,%r40,%r2,%r10
;vfscanf+2192
	callr %r38,realloc
	mov %r40,%r39
	bdne %r39,%gz,vfscanf+2048
;vfscanf+2208
	jmp vfscanf+3552
	nop 0
	nop 0
;vfscanf+2224
	fcvtsq2sd %r2,%r38,0
	std %r2,%r28,0
	jmp vfscanf+3328
;vfscanf+2240
	stq %r38,%r28,0
	jmp vfscanf+3328
	nop 0
;vfscanf+2256
	ldbz %r33,%r26,1
	addi %r2,%r26,1
	cmpweqi %r39,%r33,94
;vfscanf+2272
	addi %r3,%r26,2
	ldi %r32,1
	ldi %r34,2
;vfscanf+2288
	cmovlsb %r34,%r39,%r34,%r32
	cmovlsb %r32,%r39,%r3,%r2
	addi %r2,%sp,15
;vfscanf+2304
	ldi %r40,257
	mov %r38,%r2
	callr %r37,memset
;vfscanf+2320
	ldbzx.xd %r26,%r26,%r34,0,0
	stb %gz,%sp,15
	cmpwnei %r3,%r33,94
;vfscanf+2336
	bweqi %r26,45,vfscanf+3120
	bwnei %r26,93,vfscanf+3136
	addi %r32,%r32,1
;vfscanf+2352
	stb %r3,%sp,109
	jmp vfscanf+3136
	nop 0
;vfscanf+2368
	ldi %r38,8
	jmp vfscanf+2400
	nop 0
;vfscanf+2384
	mov %r38,%gz
	nop 0
	nop 0
;vfscanf+2400
	mov2 %r37,%r39,%r15,%gz
	mov %r40,%r14
	callr %r36,__intscan
;vfscanf+2416
	lddz %r2,%r15,8
	lddz %r3,%r15,88
	lddz %r12,%r15,200
;vfscanf+2432
	sub %r2,%r3,%r2
	bdeq %r12,%r2,vfscanf+3472
	bwnei %r30,112,vfscanf+2480
;vfscanf+2448
	bdeq %r28,%gz,vfscanf+2480
	nop 0
	nop 0
;vfscanf+2464
	std %r37,%r28,0
	jmp vfscanf+3328
	nop 0
;vfscanf+2480
	bdeq %r28,%gz,vfscanf+3328
	addiws %r2,%r13,2
	bwgeui %r2,6,vfscanf+3328
;vfscanf+2496
	addiwz %r2,%r13,2
	jmpt %r24,%r2
	nop 0
;vfscanf+2512
	stb %r37,%r28,0
	jmp vfscanf+3328
	nop 0
;vfscanf+2528
	ldbz %r3,%r2,1
	cmpweqi %r3,%r3,108
	addi %r2,%r2,2
;vfscanf+2544
	ldi %r12,1
	ldi %r13,3
	cmovlsb %r26,%r3,%r2,%r26
;vfscanf+2560
	cmovlsb %r3,%r3,%r13,%r12
	jmp vfscanf+1136
	nop 0
;vfscanf+2576
	ldi %r3,2
	jmp vfscanf+1136
	nop 0
;vfscanf+2592
	ldbz %r3,%r2,1
	cmpweqi %r3,%r3,104
	addi %r2,%r2,2
;vfscanf+2608
	ldi %r12,-2
	cmovlsb %r26,%r3,%r2,%r26
	cmovlsb %r3,%r3,%r12,%r14
;vfscanf+2624
	jmp vfscanf+1136
	nop 0
	nop 0
;vfscanf+2640
	mov2 %r10,%r11,%gz,%r2
	jmp vfscanf+2960
	nop 0
;vfscanf+2656
	stw %r20,%r28,0
	addi %r2,%r26,1
	jmp vfscanf+240
;vfscanf+2672
	stb %r20,%r28,0
	addi %r2,%r26,1
	jmp vfscanf+240
;vfscanf+2688
	sth %r20,%r28,0
	addi %r2,%r26,1
	jmp vfscanf+240
;vfscanf+2704
	mov %r40,%r7
	callr %r39,mbsinit
	mov2 %r11,%r10,%gz,%r2
;vfscanf+2720
	bwne %r40,%gz,vfscanf+2960
	jmp vfscanf+3440
	nop 0
;vfscanf+2736
	bdeq %r28,%gz,vfscanf+2896
	mov %r13,%gz
	jmp vfscanf+2800
;vfscanf+2752
	mov %r40,%r15
	callr %r39,__shgetc
	ldbzx.xw %r2,%r5,%r40,0,1
;vfscanf+2768
	bweq %r2,%gz,vfscanf+2848
	nop 0
	nop 0
;vfscanf+2784
	addi %r2,%r13,1
	stbx.xd %r40,%r28,%r13,0,0
	mov %r13,%r2
;vfscanf+2800
	lddz %r2,%r15,8
	lddz %r3,%r15,184
	bdeq %r2,%r3,vfscanf+2752
;vfscanf+2816
	addi %r3,%r2,1
	std %r3,%r15,8
	ldbz %r40,%r2,0
;vfscanf+2832
	ldbzx.xw %r2,%r5,%r40,0,1
	bwne %r2,%gz,vfscanf+2784
	nop 0
;vfscanf+2848
	mov2 %r10,%r2,%gz,%r28
	mov %r11,%r28
	jmp vfscanf+2960
;vfscanf+2864
	mov %r40,%r15
	callr %r39,__shgetc
	ldbzx.xw %r2,%r5,%r40,0,1
;vfscanf+2880
	bweq %r2,%gz,vfscanf+2944
	nop 0
	nop 0
;vfscanf+2896
	lddz %r2,%r15,8
	lddz %r3,%r15,184
	bdeq %r2,%r3,vfscanf+2864
;vfscanf+2912
	addi %r3,%r2,1
	std %r3,%r15,8
	ldbz %r40,%r2,0
;vfscanf+2928
	ldbzx.xw %r2,%r5,%r40,0,1
	bwne %r2,%gz,vfscanf+2896
	nop 0
;vfscanf+2944
	mov2 %r2,%r11,%gz,%gz
	mov2 %r10,%r13,%gz,%gz
	nop 0
;vfscanf+2960
	lddz %r31,%r15,192
	lddz %r3,%r15,8
	bdlt %r31,%gz,vfscanf+2992
;vfscanf+2976
	addi %r3,%r3,-1
	std %r3,%r15,8
	nop 0
;vfscanf+2992
	lddz %r31,%r15,88
	lddz %r33,%r15,200
	sub %r3,%r3,%r31
;vfscanf+3008
	add %r3,%r3,%r33
	bdeq %r3,%gz,vfscanf+3472
	cmpdeq %r3,%r3,%r12
;vfscanf+3024
	or %r3,%r32,%r3
	bbci %r3,0,vfscanf+3472
	bweq %r29,%gz,vfscanf+3056
;vfscanf+3040
	std %r2,%r28,0
	nop 0
	nop 0
;vfscanf+3056
	bweqi %r30,99,vfscanf+3328
	bdeq %r10,%gz,vfscanf+3072
	stwx.xd %gz,%r10,%r13,2,0
;vfscanf+3072
	bdeq %r11,%gz,vfscanf+3312
	stbx.xd %gz,%r11,%r13,0,0
	jmp vfscanf+3328
;vfscanf+3088
	stw %r37,%r28,0
	jmp vfscanf+3328
	nop 0
;vfscanf+3104
	sth %r37,%r28,0
	jmp vfscanf+3328
	nop 0
;vfscanf+3120
	addi %r32,%r32,1
	stb %r3,%sp,61
	nop 0
;vfscanf+3136
	mov %r26,%r32
	jmp vfscanf+3184
	nop 0
;vfscanf+3152
	mov %r32,%r33
	nop 0
	nop 0
;vfscanf+3168
	andi %r32,%r32,255
	stbx.xd %r3,%r32,%r2,0,1
	addi %r26,%r26,1
;vfscanf+3184
	ldbz %r32,%r26,0
	bweqi %r32,45,vfscanf+3216
	bweq %r32,%gz,vfscanf+3456
;vfscanf+3200
	bwnei %r32,93,vfscanf+3168
	jmp vfscanf+1696
	nop 0
;vfscanf+3216
	ldbz %r33,%r26,1
	ldi %r32,45
	bweq %r33,%gz,vfscanf+3168
;vfscanf+3232
	bweqi %r33,93,vfscanf+3168
	ldbz %r32,%r26,-1
	addi %r26,%r26,1
;vfscanf+3248
	bwleu %r33,%r32,vfscanf+3152
	srliw %r33,%r32,0
	nop 0
;vfscanf+3264
	ldbz %r32,%r26,0
	addi %r34,%r33,1
	andi %r35,%r32,255
;vfscanf+3280
	stbx.xd %r3,%r17,%r33,0,0
	mov %r33,%r34
	bdltu %r34,%r35,vfscanf+3264
;vfscanf+3296
	jmp vfscanf+3168
	nop 0
	nop 0
;vfscanf+3312
	mov %r11,%gz
	nop 0
	nop 0
;vfscanf+3328
	lddz %r2,%r15,200
	lddz %r3,%r15,8
	lddz %r12,%r15,88
;vfscanf+3344
	add %r2,%r2,%r20
	addsub %r20,%r2,%r3,%r12
	addws %r1,%r1,%r27
;vfscanf+3360
	addi %r2,%r26,1
	jmp vfscanf+240
	nop 0
;vfscanf+3376
	lddz %r2,%r15,192
	bdlt %r2,%gz,vfscanf+3408
	lddz %r2,%r15,8
;vfscanf+3392
	addi %r2,%r2,-1
	std %r2,%r15,8
	nop 0
;vfscanf+3408
	bwgei %r40,0,vfscanf+3504
	bwne %r1,%gz,vfscanf+3504
	nop 0
;vfscanf+3424
	ldi %r1,-1
	jmp vfscanf+3504
	nop 0
;vfscanf+3440
	mov2 %r11,%r10,%gz,%r2
	nop 0
	nop 0
;vfscanf+3456
	cmovweq %r1,%r1,%r14,%r1
	nop 0
	nop 0
;vfscanf+3472
	bweq %r29,%gz,vfscanf+3504
	mov %r40,%r11
	callr %r39,free
;vfscanf+3488
	mov %r40,%r10
	callr %r39,free
	nop 0
;vfscanf+3504
	bbsi %r16,0,vfscanf+3520
	mov %r40,%r15
	callr %r39,__unlockfile
;vfscanf+3520
	retf 304
	nop 0
	nop 0
;vfscanf+3536
	mov2 %r11,%r10,%gz,%gz
	mov %r29,%r4
	jmp vfscanf+3456
;vfscanf+3552
	mov2 %r10,%r11,%gz,%r2
	mov %r29,%r13
	jmp vfscanf+3456
;vfscanf+3568
	mov2 %r11,%r10,%gz,%r2
	mov %r29,%r4
	jmp vfscanf+3456
;__toread
	alloc 9
	ldwz %r2,%r1,136
	addiws %r3,%r2,-1
;__toread+16
	or %r2,%r3,%r2
	stw %r2,%r1,136
	lddz %r2,%r1,40
;__toread+32
	lddz %r3,%r1,56
	bdeq %r2,%r3,__toread+64
	mov2 %r6,%r7,%r1,%gz
;__toread+48
	mov %r8,%gz
	callmi %r5,%r1,72
	nop 0
;__toread+64
	std %gz,%r1,32
	std %gz,%r1,56
	std %gz,%r1,40
;__toread+80
	ldwz %r2,%r1,0
	bbsi %r2,2,__toread+144
	lddz %r3,%r1,88
;__toread+96
	lddz %r4,%r1,96
	add %r3,%r3,%r4
	std %r3,%r1,16
;__toread+112
	std %r3,%r1,8
	slliw %r1,%r2,27
	sraiw %r1,%r1,31
;__toread+128
	retf 0
	nop 0
	nop 0
;__toread+144
	ori %r2,%r2,32
	stw %r2,%r1,0
	ldi %r1,-1
;__toread+160
	retf 0
	nop 0
	nop 0
;__toread_needs_stdio_exit
	alloc 2
	callr %r1,__stdio_exit
	retf 0
;__shlim
	alloc 6
	std %r2,%r1,192
	lddz %r3,%r1,88
;__shlim+16
	lddz %r4,%r1,8
	sub %r3,%r3,%r4
	std %r3,%r1,200
;__shlim+32
	lddz %r3,%r1,16
	sub %r5,%r3,%r4
	cmpdlt %r5,%r2,%r5
;__shlim+48
	add %r4,%r4,%r2
	cmovlsb %r4,%r5,%r4,%r3
	cmovdeq %r2,%r2,%r3,%r4
;__shlim+64
	std %r2,%r1,184
	retf 0
	nop 0
;__shgetc
	alloc 10
	lddz %r3,%r1,200
	lddz %r2,%r1,8
;__shgetc+16
	lddz %r4,%r1,88
	lddz %r5,%r1,192
	sub %r6,%r2,%r4
;__shgetc+32
	add %r3,%r6,%r3
	bdeq %r5,%gz,__shgetc+48
	bdle %r5,%r3,__shgetc+192
;__shgetc+48
	mov %r9,%r1
	callr %r8,__uflow
	bwlti %r9,0,__shgetc+176
;__shgetc+64
	lddz %r4,%r1,16
	lddz %r2,%r1,8
	lddz %r5,%r1,192
;__shgetc+80
	sub %r6,%r4,%r2
	ldi %r7,1
	subsub %r7,%r5,%r3,%r7
;__shgetc+96
	cmpdlt %r6,%r7,%r6
	add %r7,%r2,%r7
	cmovlsb %r6,%r6,%r7,%r4
;__shgetc+112
	cmovdeq %r4,%r5,%r4,%r6
	std %r4,%r1,184
	lddz %r4,%r1,88
;__shgetc+128
	addi %r3,%r3,1
	addsub %r3,%r3,%r4,%r2
	std %r3,%r1,200
;__shgetc+144
	bdltu %r4,%r2,__shgetc+160
	stb %r9,%r2,-1
	nop 0
;__shgetc+160
	mov %r1,%r9
	retf 0
	nop 0
;__shgetc+176
	lddz %r4,%r1,88
	lddz %r2,%r1,8
	nop 0
;__shgetc+192
	addsub %r3,%r3,%r4,%r2
	std %r3,%r1,200
	std %r2,%r1,184
;__shgetc+208
	ldi %r9,-1
	std %r9,%r1,192
	mov %r1,%r9
;__shgetc+224
	retf 0
	nop 0
	nop 0
;__uflow
	allocsp 6,16
	mov2 %r3,%r5,%r1,%r1
	callr %r4,__toread
;__uflow+16
	ldi %r1,-1
	bweq %r5,%gz,__uflow+48
	nop 0
;__uflow+32
	retf 16
	nop 0
	nop 0
;__uflow+48
	addi %r4,%sp,15
	ldi %r5,1
	callmi %r2,%r3,64
;__uflow+64
	bdnei %r3,1,__uflow+32
	ldbz %r1,%sp,15
	retf 16
;__floatscan
	allocsp 27,8192
	mov2 %r22,%r1,%r1,%gz
	bwgeui %r2,3,__floatscan+4544
;__floatscan+16
	ldi %r1,6
	srlw %r1,%r1,%r2
	andi %r7,%r1,1
;__floatscan+32
	ldafr %r1,.Lswitch.table.__floatscan
	ldwzx.xuw %r23,%r1,%r2,2,0
	ldafr %r1,.Lswitch.table.__floatscan.2
;__floatscan+48
	ldwzx.xuw %r2,%r1,%r2,2,0
	nop 0
	nop 0
;__floatscan+64
	lddz %r1,%r22,8
	lddz %r4,%r22,184
	bdeq %r1,%r4,__floatscan+112
;__floatscan+80
	addi %r4,%r1,1
	std %r4,%r22,8
	ldbz %r26,%r1,0
;__floatscan+96
	addiws %r1,%r26,-9
	bwltui %r1,5,__floatscan+64
	jmp __floatscan+144
;__floatscan+112
	mov %r26,%r22
	callr %r25,__shgetc
	addiws %r1,%r26,-9
;__floatscan+128
	bwltui %r1,5,__floatscan+64
	nop 0
	nop 0
;__floatscan+144
	bweqi %r26,32,__floatscan+64
	bweqi %r26,45,__floatscan+160
	bwnei %r26,43,__floatscan+224
;__floatscan+160
	lddz %r4,%r22,8
	lddz %r5,%r22,184
	cmpweqi %r1,%r26,45
;__floatscan+176
	ldi %r6,1
	ldi %r8,-1
	cmovlsb %r1,%r1,%r8,%r6
;__floatscan+192
	bdeq %r4,%r5,__floatscan+240
	addi %r5,%r4,1
	std %r5,%r22,8
;__floatscan+208
	ldbz %r26,%r4,0
	jmp __floatscan+256
	nop 0
;__floatscan+224
	ldi %r1,1
	jmp __floatscan+256
	nop 0
;__floatscan+240
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+256
	andi %r5,%r26,-33
	mov %r4,%gz
	bwnei %r5,73,__floatscan+384
;__floatscan+272
	mov %r6,%gz
	ldafr %r5,.rodata+21124
	jmp __floatscan+336
;__floatscan+288
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+304
	ldbsx.xd %r8,%r6,%r5,0,0
	addi %r4,%r6,1
	ori %r9,%r26,32
;__floatscan+320
	mov %r6,%r4
	bwne %r9,%r8,__floatscan+384
	nop 0
;__floatscan+336
	bdeqi %r6,7,__floatscan+464
	lddz %r4,%r22,8
	lddz %r8,%r22,184
;__floatscan+352
	bdeq %r4,%r8,__floatscan+288
	addi %r8,%r4,1
	std %r8,%r22,8
;__floatscan+368
	ldbz %r26,%r4,0
	jmp __floatscan+304
	nop 0
;__floatscan+384
	bdeqi %r4,3,__floatscan+416
	bdeqi %r4,8,__floatscan+464
	bweq %r3,%gz,__floatscan+544
;__floatscan+400
	bdltui %r4,4,__floatscan+544
	bdeqi %r4,8,__floatscan+464
	nop 0
;__floatscan+416
	lddz %r2,%r22,192
	bdlt %r2,%gz,__floatscan+448
	lddz %r5,%r22,8
;__floatscan+432
	addi %r5,%r5,-1
	std %r5,%r22,8
	nop 0
;__floatscan+448
	bweq %r3,%gz,__floatscan+464
	bdgeui %r4,4,__floatscan+512
	nop 0
;__floatscan+464
	fcvtiw2ss %r1,%r1,0
	ldi.l %r2,2139095040
;__floatscan+480
	fmulss %r1,%r1,%r2
	fextss2sq %r1,%r1
	retf 8192
;__floatscan+496
	addi %r4,%r4,-1
	bdltui %r4,4,__floatscan+464
	nop 0
;__floatscan+512
	bdlt %r2,%gz,__floatscan+496
	lddz %r3,%r22,8
	addi %r3,%r3,-1
;__floatscan+528
	std %r3,%r22,8
	jmp __floatscan+496
	nop 0
;__floatscan+544
	bdne %r4,%gz,__floatscan+688
	andi %r5,%r26,-33
	mov %r4,%gz
;__floatscan+560
	bwnei %r5,78,__floatscan+688
	mov %r6,%gz
	ldafr %r5,.rodata+22865
;__floatscan+576
	jmp __floatscan+640
	nop 0
	nop 0
;__floatscan+592
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+608
	ldbsx.xd %r8,%r6,%r5,0,0
	addi %r4,%r6,1
	ori %r9,%r26,32
;__floatscan+624
	mov %r6,%r4
	bwne %r9,%r8,__floatscan+688
	nop 0
;__floatscan+640
	bdeqi %r6,2,__floatscan+704
	lddz %r4,%r22,8
	lddz %r8,%r22,184
;__floatscan+656
	bdeq %r4,%r8,__floatscan+592
	addi %r8,%r4,1
	std %r8,%r22,8
;__floatscan+672
	ldbz %r26,%r4,0
	jmp __floatscan+608
	nop 0
;__floatscan+688
	bdeq %r4,%gz,__floatscan+752
	bdnei %r4,3,__floatscan+800
	nop 0
;__floatscan+704
	lddz %r1,%r22,8
	lddz %r2,%r22,184
	bdeq %r1,%r2,__floatscan+832
;__floatscan+720
	addi %r2,%r1,1
	std %r2,%r22,8
	ldbz %r26,%r1,0
;__floatscan+736
	jmp __floatscan+848
	nop 0
	nop 0
;__floatscan+752
	bwnei %r26,48,__floatscan+1296
	lddz %r4,%r22,8
	lddz %r5,%r22,184
;__floatscan+768
	bdeq %r4,%r5,__floatscan+1200
	addi %r5,%r4,1
	std %r5,%r22,8
;__floatscan+784
	ldbz %r4,%r4,0
	jmp __floatscan+1216
	nop 0
;__floatscan+800
	lddz %r1,%r22,192
	bdlt %r1,%gz,__floatscan+2144
	lddz %r1,%r22,8
;__floatscan+816
	addi %r1,%r1,-1
	std %r1,%r22,8
	jmp __floatscan+2144
;__floatscan+832
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+848
	bwnei %r26,40,__floatscan+1120
	ldi %r2,-1
	jmp __floatscan+880
;__floatscan+864
	addi %r2,%r2,-1
	nop 0
	nop 0
;__floatscan+880
	lddz %r1,%r22,8
	lddz %r4,%r22,184
	bdeq %r1,%r4,__floatscan+928
;__floatscan+896
	addi %r4,%r1,1
	std %r4,%r22,8
	ldbz %r26,%r1,0
;__floatscan+912
	addiws %r1,%r26,-48
	bwgeui %r1,10,__floatscan+960
	jmp __floatscan+864
;__floatscan+928
	mov %r26,%r22
	callr %r25,__shgetc
	addiws %r1,%r26,-48
;__floatscan+944
	bwltui %r1,10,__floatscan+864
	nop 0
	nop 0
;__floatscan+960
	addiws %r1,%r26,-65
	bwltui %r1,26,__floatscan+864
	bweqi %r26,95,__floatscan+864
;__floatscan+976
	addiws %r1,%r26,-97
	bwltui %r1,26,__floatscan+864
	ldi %r4,0
;__floatscan+992
	mov %r1,%r4
	ldih.l %r1,9223231299366420480
;__floatscan+1008
	bweqi %r26,41,__floatscan+4544
	lddz %r5,%r22,192
	bdlt %r5,%gz,__floatscan+1040
;__floatscan+1024
	lddz %r1,%r22,8
	addi %r1,%r1,-1
	std %r1,%r22,8
;__floatscan+1040
	bwne %r3,%gz,__floatscan+1072
	jmp __floatscan+2144
	nop 0
;__floatscan+1056
	addi %r2,%r2,1
	nop 0
	nop 0
;__floatscan+1072
	mov %r1,%r4
	ldih.l %r1,9223231299366420480
;__floatscan+1088
	bdeq %r2,%gz,__floatscan+4544
	bdlt %r5,%gz,__floatscan+1056
	lddz %r1,%r22,8
;__floatscan+1104
	addi %r1,%r1,-1
	std %r1,%r22,8
	jmp __floatscan+1056
;__floatscan+1120
	lddz %r3,%r22,192
	ldi %r2,0
	mov %r1,%r2
;__floatscan+1136
	ldih.l %r1,9223231299366420480
	bdlt %r3,%gz,__floatscan+4544
;__floatscan+1152
	lddz %r1,%r22,8
	addi %r1,%r1,-1
	std %r1,%r22,8
;__floatscan+1168
	ldih.l %r2,9223231299366420480
	mov %r1,%r2
;__floatscan+1184
	retf 8192
	nop 0
	nop 0
;__floatscan+1200
	mov2 %r5,%r26,%r26,%r22
	callr %r25,__shgetc
	mov2 %r4,%r26,%r26,%r5
;__floatscan+1216
	andi %r4,%r4,-33
	bwnei %r4,88,__floatscan+1264
	mov2 %r24,%r25,%r2,%r1
;__floatscan+1232
	mov %r26,%r3
	callr %r21,hexfloat
	mov %r1,%r22
;__floatscan+1248
	retf 8192
	nop 0
	nop 0
;__floatscan+1264
	lddz %r4,%r22,192
	bdlt %r4,%gz,__floatscan+1296
	lddz %r4,%r22,8
;__floatscan+1280
	addi %r4,%r4,-1
	std %r4,%r22,8
	nop 0
;__floatscan+1296
	mov %r13,%gz
	subfiws %r8,%r2,0
	subws %r6,%r8,%r23
;__floatscan+1312
	ldi %r5,1
	bweqi %r26,48,__floatscan+1360
	jmp __floatscan+1408
;__floatscan+1328
	addi %r9,%r4,1
	std %r9,%r22,8
	ldbz %r26,%r4,0
;__floatscan+1344
	mov %r13,%r5
	bwnei %r26,48,__floatscan+1408
	nop 0
;__floatscan+1360
	lddz %r4,%r22,8
	lddz %r9,%r22,184
	bdne %r4,%r9,__floatscan+1328
;__floatscan+1376
	mov %r26,%r22
	callr %r25,__shgetc
	mov %r13,%r5
;__floatscan+1392
	bweqi %r26,48,__floatscan+1360
	nop 0
	nop 0
;__floatscan+1408
	bwnei %r26,46,__floatscan+1456
	lddz %r4,%r22,8
	lddz %r5,%r22,184
;__floatscan+1424
	bdeq %r4,%r5,__floatscan+1472
	addi %r5,%r4,1
	std %r5,%r22,8
;__floatscan+1440
	ldbz %r26,%r4,0
	jmp __floatscan+1488
	nop 0
;__floatscan+1456
	mov2 %r5,%r14,%gz,%gz
	jmp __floatscan+1632
	nop 0
;__floatscan+1472
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+1488
	mov %r5,%gz
	bwnei %r26,48,__floatscan+1616
	ldi %r13,1
;__floatscan+1504
	jmp __floatscan+1552
	nop 0
	nop 0
;__floatscan+1520
	mov %r26,%r22
	callr %r25,__shgetc
	addi %r5,%r5,-1
;__floatscan+1536
	bwnei %r26,48,__floatscan+1600
	nop 0
	nop 0
;__floatscan+1552
	lddz %r4,%r22,8
	lddz %r9,%r22,184
	bdeq %r4,%r9,__floatscan+1520
;__floatscan+1568
	addi %r9,%r4,1
	std %r9,%r22,8
	ldbz %r26,%r4,0
;__floatscan+1584
	addi %r5,%r5,-1
	bweqi %r26,48,__floatscan+1552
	nop 0
;__floatscan+1600
	mov %r14,%r13
	jmp __floatscan+1632
	nop 0
;__floatscan+1616
	ldi %r14,1
	nop 0
	nop 0
;__floatscan+1632
	stw %gz,%sp,0
	addiws %r4,%r26,-48
	bweqi %r26,46,__floatscan+1680
;__floatscan+1648
	bwltui %r4,10,__floatscan+1680
	mov2 %r12,%r10,%gz,%gz
	mov2 %r9,%r11,%gz,%gz
;__floatscan+1664
	jmp __floatscan+1968
	nop 0
	nop 0
;__floatscan+1680
	mov2 %r11,%r9,%gz,%gz
	mov2 %r10,%r12,%gz,%gz
	cmpweqi %r18,%r26,46
;__floatscan+1696
	ldi %r15,1
	addi %r16,%sp,0
	ldi %r17,18396
;__floatscan+1712
	bbci %r18,0,__floatscan+1744
	bwne %r14,%gz,__floatscan+2080
	mov2 %r5,%r14,%r12,%r15
;__floatscan+1728
	jmp __floatscan+1872
	nop 0
	nop 0
;__floatscan+1744
	addi %r12,%r12,1
	bwgei.l %r9,2045,__floatscan+1840
;__floatscan+1760
	ldax.xw %r13,%r16,%r9,2,0
	bweq %r11,%gz,__floatscan+1792
	ldwz %r4,%r13,0
;__floatscan+1776
	mulwsi %r4,%r4,10
	addws %r4,%r26,%r4
	addiws %r4,%r4,-48
;__floatscan+1792
	cmpweqi %r18,%r26,48
	cmovlsb %r10,%r18,%r10,%r12
	stw %r4,%r13,0
;__floatscan+1808
	addiws %r4,%r11,1
	cmpweqi %r11,%r4,9
	addws %r9,%r9,%r11
;__floatscan+1824
	cmovlsb %r11,%r11,%gz,%r4
	mov %r13,%r15
	jmp __floatscan+1872
;__floatscan+1840
	bweqi %r26,48,__floatscan+1872
	ldwz %r4,%sp,8176
	ori %r4,%r4,1
;__floatscan+1856
	stw %r4,%sp,8176
	mov %r10,%r17
	nop 0
;__floatscan+1872
	lddz %r4,%r22,8
	lddz %r18,%r22,184
	bdeq %r4,%r18,__floatscan+1920
;__floatscan+1888
	addi %r18,%r4,1
	std %r18,%r22,8
	ldbz %r26,%r4,0
;__floatscan+1904
	jmp __floatscan+1936
	nop 0
	nop 0
;__floatscan+1920
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+1936
	addiws %r4,%r26,-48
	cmpweqi %r18,%r26,46
	bweqi %r26,46,__floatscan+1712
;__floatscan+1952
	bwltui %r4,10,__floatscan+1712
	nop 0
	nop 0
;__floatscan+1968
	cmovweq %r5,%r14,%r12,%r5
	bweq %r13,%gz,__floatscan+2064
	andi %r4,%r26,-33
;__floatscan+1984
	bwnei %r4,69,__floatscan+2064
	mov2 %r25,%r26,%r22,%r3
	callr %r24,scanexp
;__floatscan+2000
	ldi.l %r4,-9223372036854775808
	bdne %r25,%r4,__floatscan+2208
;__floatscan+2016
	bweq %r3,%gz,__floatscan+2160
	lddz %r3,%r22,192
	bdlt %r3,%gz,__floatscan+2192
;__floatscan+2032
	lddz %r3,%r22,8
	mov %r25,%gz
	addi %r3,%r3,-1
;__floatscan+2048
	std %r3,%r22,8
	jmp __floatscan+2208
	nop 0
;__floatscan+2064
	cmpweqi %r3,%r13,0
	bwle %gz,%r26,__floatscan+2096
	jmp __floatscan+2128
;__floatscan+2080
	cmpweqi %r3,%r13,0
	nop 0
	nop 0
;__floatscan+2096
	lddz %r4,%r22,192
	bdlt %r4,%gz,__floatscan+2128
	lddz %r4,%r22,8
;__floatscan+2112
	addi %r4,%r4,-1
	std %r4,%r22,8
	nop 0
;__floatscan+2128
	bbci %r3,0,__floatscan+2224
	nop 0
	nop 0
;__floatscan+2144
	callr %r25,___errno_location
	ldi %r1,22
	stw %r1,%r26,0
;__floatscan+2160
	mov2 %r25,%r26,%r22,%gz
	callr %r24,__shlim
	mov %r1,%gz
;__floatscan+2176
	retf 8192
	nop 0
	nop 0
;__floatscan+2192
	mov %r25,%gz
	nop 0
	nop 0
;__floatscan+2208
	add %r5,%r25,%r5
	nop 0
	nop 0
;__floatscan+2224
	ldwz %r3,%sp,0
	bweq %r3,%gz,__floatscan+2352
	bdgei %r12,10,__floatscan+2288
;__floatscan+2240
	bdne %r5,%r12,__floatscan+2288
	srlw %r4,%r3,%r23
	cmpweqi %r4,%r4,0
;__floatscan+2256
	or %r4,%r7,%r4
	bbci %r4,0,__floatscan+2288
	fcvtiw2sq %r1,%r1,0
;__floatscan+2272
	fcvtuw2sq %r2,%r3,0
	fmulsq %r1,%r1,%r2
	retf 8192
;__floatscan+2288
	srliw %r3,%r8,1
	bdle %r5,%r3,__floatscan+2384
	callr %r25,___errno_location
;__floatscan+2304
	ldi %r2,34
	ldi %r3,-1
	stw %r2,%r26,0
;__floatscan+2320
	fcvtiw2sq %r1,%r1,0
	ldih.l %r3,9223090561878065151
;__floatscan+2336
	jmp __floatscan+2432
	nop 0
	nop 0
;__floatscan+2352
	fcvtiw2sd %r1,%r1,0
	fmergesd %r1,%r1,%gz,%gz
	fextsd2sq %r1,%r1
;__floatscan+2368
	retf 8192
	nop 0
	nop 0
;__floatscan+2384
	addiws %r3,%r2,-226
	bdle %r3,%r5,__floatscan+2448
	callr %r25,___errno_location
;__floatscan+2400
	ldi %r2,34
	ldi %r3,0
	stw %r2,%r26,0
;__floatscan+2416
	fcvtiw2sq %r1,%r1,0
	ldih.l %r3,281474976710656
;__floatscan+2432
	fmulsq %r1,%r1,%r3
	fmulsq %r1,%r1,%r3
	retf 8192
;__floatscan+2448
	addi %r3,%sp,0
	bweq %r11,%gz,__floatscan+2528
	bwgei %r11,9,__floatscan+2512
;__floatscan+2464
	ldax.xw %r4,%r3,%r9,2,0
	ldwzx.xw %r7,%r3,%r9,2,0
	nop 0
;__floatscan+2480
	mov %r8,%r11
	mulwsi %r7,%r7,10
	addiws %r11,%r11,1
;__floatscan+2496
	bwlti %r8,8,__floatscan+2480
	stw %r7,%r4,0
	nop 0
;__floatscan+2512
	addiws %r9,%r9,1
	nop 0
	nop 0
;__floatscan+2528
	bwgei %r10,9,__floatscan+2688
	bdgei %r5,18,__floatscan+2688
	bwlt %r5,%r10,__floatscan+2688
;__floatscan+2544
	bdnei %r5,9,__floatscan+2576
	ldwz %r2,%sp,0
	fcvtiw2sq %r1,%r1,0
;__floatscan+2560
	fcvtuw2sq %r2,%r2,0
	fmulsq %r1,%r1,%r2
	retf 8192
;__floatscan+2576
	bdgei %r5,9,__floatscan+2640
	ldwz %r2,%sp,0
	subfi %r3,%r5,8
;__floatscan+2592
	ldafr %r4,decfloat.p10s
	ldwzx.xuw %r3,%r4,%r3,2,0
	fcvtiw2sq %r1,%r1,0
;__floatscan+2608
	fcvtuw2sq %r2,%r2,0
	fmulsq %r1,%r1,%r2
	fcvtiw2sq %r2,%r3,0
;__floatscan+2624
	fdivsq %r1,%r1,%r2
	retf 8192
	nop 0
;__floatscan+2640
	mulwsi %r4,%r5,-3
	addws %r4,%r23,%r4
	addiws %r7,%r4,27
;__floatscan+2656
	ldwz %r4,%sp,0
	bwgei %r7,31,__floatscan+3424
	srlw %r7,%r4,%r7
;__floatscan+2672
	bweq %r7,%gz,__floatscan+3424
	nop 0
	nop 0
;__floatscan+2688
	sraiw %r4,%r9,0
	ldi.l %r8,4294967296
;__floatscan+2704
	addi %r7,%r4,1
	sladd %r8,%r8,%r4,32
	ldax.xw %r4,%r3,%r9,2,-4
;__floatscan+2720
	ldwz %r9,%r4,0
	addi %r7,%r7,-1
	nop 2
;__floatscan+2736
	addi.l %r8,%r8,-4294967296
	addi %r4,%r4,-4
;__floatscan+2752
	bweq %r9,%gz,__floatscan+2720
	sraiw %r4,%r5,0
	nop 2
;__floatscan+2768
	muli.l %r4,%r4,954437177
	srli %r9,%r4,63
;__floatscan+2784
	srai %r4,%r4,33
	addws %r4,%r4,%r9
	mulwsi %r4,%r4,9
;__floatscan+2800
	subws %r9,%r5,%r4
	ldi.l %r4,1000000000
;__floatscan+2816
	bweq %r9,%gz,__floatscan+3024
	addiws %r10,%r9,9
	cmovdlt %r10,%r5,%r10,%r9
;__floatscan+2832
	bdeq %r7,%gz,__floatscan+3040
	subfiws %r9,%r10,8
	ldafr %r11,decfloat.p10s
;__floatscan+2848
	ldwzx.xw %r11,%r11,%r9,2,0
	mov2 %r12,%r15,%gz,%gz
	mov %r9,%gz
;__floatscan+2864
	divw %r13,%r4,%r11
	srliw %r14,%r7,0
	nop 0
;__floatscan+2880
	ldwz %r16,%r3,0
	divuw %r17,%r16,%r11
	mulws %r18,%r17,%r11
;__floatscan+2896
	subws %r16,%r16,%r18
	addws %r15,%r17,%r15
	stw %r15,%r3,0
;__floatscan+2912
	srliw %r17,%r9,0
	cmpdeq %r17,%r12,%r17
	cmpweqi %r15,%r15,0
;__floatscan+2928
	and %r17,%r17,%r15
	addiws %r15,%r9,1
	andi %r18,%r15,2047
;__floatscan+2944
	addiws %r19,%r5,-9
	mulws %r15,%r16,%r13
	cmovlsb %r5,%r17,%r19,%r5
;__floatscan+2960
	cmovlsb %r9,%r17,%r18,%r9
	addi %r12,%r12,1
	addi %r3,%r3,4
;__floatscan+2976
	bdne %r14,%r12,__floatscan+2880
	bweq %r15,%gz,__floatscan+3056
	addiws %r7,%r7,1
;__floatscan+2992
	srai %r3,%r8,30
	addi %r8,%sp,0
	stwx.xd %r15,%r8,%r3,0,0
;__floatscan+3008
	jmp __floatscan+3056
	nop 0
	nop 0
;__floatscan+3024
	mov %r9,%gz
	jmp __floatscan+3072
	nop 0
;__floatscan+3040
	mov2 %r9,%r7,%gz,%gz
	nop 0
	nop 0
;__floatscan+3056
	subws %r3,%r5,%r10
	addiws %r5,%r3,9
	nop 0
;__floatscan+3072
	mov %r3,%gz
	addi %r8,%sp,0
	nop 0
;__floatscan+3088
	ldax.xw %r10,%r8,%r9,2,0
	jmp __floatscan+3120
	nop 0
;__floatscan+3104
	addiws %r3,%r3,-29
	mov %r7,%r12
	bwne %r11,%gz,__floatscan+3312
;__floatscan+3120
	bwlti %r5,36,__floatscan+3152
	bwnei %r5,36,__floatscan+3504
	ldwz %r11,%r10,0
;__floatscan+3136
	bwgeui.l %r11,10384593,__floatscan+3504
	nop 0
;__floatscan+3152
	mov %r11,%gz
	addiws %r15,%r7,2047
	jmp __floatscan+3248
;__floatscan+3168
	divui.l %r11,%r16,1000000000
	mulsubf %r16,%r11,%r4,%r16
;__floatscan+3184
	addiws %r7,%r12,-1
	andi %r13,%r7,2047
	cmpweq %r7,%r14,%r9
;__floatscan+3200
	cmovdeq %r17,%r16,%r14,%r12
	cmpwne %r18,%r14,%r13
	cmovlsb %r7,%r7,%r12,%r17
;__floatscan+3216
	stw %r16,%r15,0
	cmovlsb %r7,%r18,%r12,%r7
	addiws %r15,%r14,-1
;__floatscan+3232
	bweq %r14,%r9,__floatscan+3104
	nop 0
	nop 0
;__floatscan+3248
	andi %r14,%r15,2047
	ldax.xuw %r15,%r8,%r14,2,0
	ldwzx.xuw %r12,%r8,%r14,2,0
;__floatscan+3264
	srliw %r11,%r11,0
	sladd %r16,%r11,%r12,29
	mov %r12,%r7
;__floatscan+3280
	bdgeui.l %r16,1000000001,__floatscan+3168
	mov %r11,%gz
;__floatscan+3296
	jmp __floatscan+3184
	nop 0
	nop 0
;__floatscan+3312
	addiws %r7,%r9,-1
	andi %r9,%r7,2047
	bwne %r9,%r12,__floatscan+3376
;__floatscan+3328
	ldwzx.xuw %r7,%r8,%r13,2,0
	addiws %r10,%r12,2046
	andi %r10,%r10,2047
;__floatscan+3344
	ldwzx.xuw %r12,%r8,%r10,2,0
	or %r7,%r12,%r7
	stwx.xuw %r7,%r8,%r10,2,0
;__floatscan+3360
	jmp __floatscan+3392
	nop 0
	nop 0
;__floatscan+3376
	mov %r13,%r12
	nop 0
	nop 0
;__floatscan+3392
	addiws %r5,%r5,9
	stwx.xuw %r11,%r8,%r9,2,0
	mov %r7,%r13
;__floatscan+3408
	jmp __floatscan+3088
	nop 0
	nop 0
;__floatscan+3424
	ldi.l %r2,-42949672960
	sladd %r2,%r2,%r5,32
;__floatscan+3440
	srai %r2,%r2,30
	ldafr %r3,decfloat.p10s
	ldwzx.xd %r2,%r2,%r3,0,0
;__floatscan+3456
	fcvtiw2sq %r1,%r1,0
	fcvtuw2sq %r3,%r4,0
	fmulsq %r1,%r1,%r3
;__floatscan+3472
	fcvtiw2sq %r2,%r2,0
	fmulsq %r1,%r1,%r2
	retf 8192
;__floatscan+3488
	stwx.xuw %r14,%r8,%r7,2,0
	mov %r7,%r11
	nop 0
;__floatscan+3504
	addiws %r10,%r7,1
	andi %r11,%r10,2047
	addiws %r10,%r7,-1
;__floatscan+3520
	andi %r10,%r10,2047
	ldax.xuw %r12,%r8,%r10,2,0
	nop 0
;__floatscan+3536
	cmpwgti %r10,%r5,45
	ldi %r13,1
	ldi %r14,9
;__floatscan+3552
	cmovlsb %r13,%r10,%r14,%r13
	jmp __floatscan+3600
	nop 0
;__floatscan+3568
	bweqi %r5,36,__floatscan+3840
	nop 0
	nop 0
;__floatscan+3584
	addws %r3,%r13,%r3
	mov %r9,%r7
	bwne %r10,%r7,__floatscan+3680
;__floatscan+3600
	mov2 %r14,%r10,%gz,%r9
	ldafr %r9,decfloat.th
	nop 0
;__floatscan+3616
	addws %r15,%r10,%r14
	andi %r15,%r15,2047
	bweq %r15,%r7,__floatscan+3568
;__floatscan+3632
	ldwzx.xuw %r15,%r8,%r15,2,0
	ldwz %r16,%r9,0
	bwltu %r15,%r16,__floatscan+3568
;__floatscan+3648
	bwltu %r16,%r15,__floatscan+3584
	addi %r14,%r14,1
	addi %r9,%r9,4
;__floatscan+3664
	bdnei %r14,4,__floatscan+3616
	jmp __floatscan+3568
	nop 0
;__floatscan+3680
	mov %r14,%gz
	ldi %r9,-1
	sllw %r9,%r9,%r13
;__floatscan+3696
	xori %r15,%r9,-1
	srlw %r16,%r4,%r13
	mov %r9,%r10
;__floatscan+3712
	ldwzx.xw %r17,%r8,%r10,2,0
	and %r18,%r17,%r15
	srlw %r17,%r17,%r13
;__floatscan+3728
	addws %r14,%r17,%r14
	stwx.xw %r14,%r8,%r10,2,0
	cmpweq %r17,%r10,%r9
;__floatscan+3744
	cmpweqi %r14,%r14,0
	and %r17,%r17,%r14
	addiws %r14,%r9,1
;__floatscan+3760
	andi %r19,%r14,2047
	addiws %r20,%r5,-9
	addiws %r10,%r10,1
;__floatscan+3776
	andi %r10,%r10,2047
	mulws %r14,%r18,%r16
	cmovlsb %r5,%r17,%r20,%r5
;__floatscan+3792
	cmovlsb %r9,%r17,%r19,%r9
	bwne %r10,%r7,__floatscan+3712
	bweq %r14,%gz,__floatscan+3536
;__floatscan+3808
	bwne %r11,%r9,__floatscan+3488
	ldwz %r10,%r12,0
	ori %r10,%r10,1
;__floatscan+3824
	stw %r10,%r12,0
	jmp __floatscan+3536
	nop 0
;__floatscan+3840
	mov2 %r11,%r4,%gz,%gz
	ldi %r9,0
	jmp __floatscan+3904
;__floatscan+3856
	ldwzx.xuw %r11,%r8,%r11,2,0
	mov %r12,%r9
	fcvtuw2sq %r11,%r11,0
;__floatscan+3872
	ldih.l %r12,4619810130798575616
	fmaddsq %r4,%r4,%r12,%r11
;__floatscan+3888
	addiws %r11,%r5,1
	bwgeui %r5,3,__floatscan+3952
	nop 0
;__floatscan+3904
	mov %r5,%r11
	addws %r11,%r11,%r10
	andi %r11,%r11,2047
;__floatscan+3920
	bwne %r11,%r7,__floatscan+3856
	addiws %r7,%r7,1
	andi %r7,%r7,2047
;__floatscan+3936
	stwx.xuw %gz,%r8,%r7,2,-4
	jmp __floatscan+3856
	nop 0
;__floatscan+3952
	addiws %r14,%r3,113
	subws %r12,%r14,%r2
	cmpwlt %r11,%r12,%r23
;__floatscan+3968
	maxsw %r2,%r12,%gz
	fcvtiw2sq %r5,%r1,0
	cmovlsb %r13,%r11,%r2,%r23
;__floatscan+3984
	fmulsq %r2,%r4,%r5
	bwgeui %r13,113,__floatscan+4096
	subfiws %r26,%r13,225
;__floatscan+4000
	ldi.l %r4,4607182418800017408
	mov %r25,%r4
;__floatscan+4016
	callr %r24,scalbn
	fextsd2sq %r25,%r25
	mov %r26,%r2
;__floatscan+4032
	callr %r24,copysignl
	mov %r5,%r25
	subfiws %r26,%r13,113
;__floatscan+4048
	mov %r25,%r4
	callr %r24,scalbn
	fextsd2sq %r26,%r25
;__floatscan+4064
	mov %r25,%r2
	callr %r24,fmodl
	mov %r4,%r25
;__floatscan+4080
	fsubsq %r2,%r2,%r25
	faddsq %r2,%r5,%r2
	jmp __floatscan+4112
;__floatscan+4096
	mov2 %r4,%r5,%gz,%gz
	nop 0
	nop 0
;__floatscan+4112
	addiws %r15,%r10,4
	andi %r15,%r15,2047
	bweq %r15,%r7,__floatscan+4368
;__floatscan+4128
	ldwzx.xuw %r8,%r8,%r15,2,0
	bwgeui.l %r8,500000000,__floatscan+4208
;__floatscan+4144
	bwne %r8,%gz,__floatscan+4176
	addiws %r8,%r10,5
	andi %r8,%r8,2047
;__floatscan+4160
	bweq %r8,%r7,__floatscan+4304
	nop 0
	nop 0
;__floatscan+4176
	fcvtiw2sd %r1,%r1,0
	ldi.l %r7,4598175219545276416
;__floatscan+4192
	jmp __floatscan+4288
	nop 0
	nop 0
;__floatscan+4208
	bwnei.l %r8,500000000,__floatscan+4256
	addiws %r8,%r10,5
;__floatscan+4224
	andi %r8,%r8,2047
	fcvtiw2sd %r1,%r1,0
	bwne %r8,%r7,__floatscan+4272
;__floatscan+4240
	ldi.l %r7,4602678819172646912
	jmp __floatscan+4288
;__floatscan+4256
	fcvtiw2sd %r1,%r1,0
	nop 0
	nop 0
;__floatscan+4272
	ldi.l %r7,4604930618986332160
	nop 0
;__floatscan+4288
	fmulsd %r1,%r1,%r7
	fextsd2sq %r1,%r1
	faddsq %r4,%r4,%r1
;__floatscan+4304
	bwgeui %r13,112,__floatscan+4368
	mov %r26,%r9
	nop 2
;__floatscan+4320
	ldih.l %r26,4611404543450677248
	mov %r25,%r4
;__floatscan+4336
	callr %r24,fmodl
	bfsqune %r25,%gz,__floatscan+4368
	mov %r1,%r9
;__floatscan+4352
	ldih.l %r1,4611404543450677248
	faddsq %r4,%r4,%r1
;__floatscan+4368
	faddsq %r1,%r2,%r4
	andi.l %r2,%r14,2147483647
;__floatscan+4384
	addiws %r7,%r6,-2
	fsubsq %r1,%r1,%r5
	bwle %r2,%r7,__floatscan+4528
;__floatscan+4400
	mov %r26,%r1
	callr %r25,fabsl
	mov %r2,%r9
;__floatscan+4416
	ldih.l %r2,4643211215818981376
	fcmpsqole %r5,%r2,%r26
;__floatscan+4432
	ldih.l %r9,4611123068473966592
	fmulsq %r7,%r1,%r9
;__floatscan+4448
	addws %r3,%r3,%r5
	addiws %r8,%r3,110
	cmovlsb %r1,%r5,%r7,%r1
;__floatscan+4464
	bwlt %r6,%r8,__floatscan+4512
	fcmpsqult %r2,%r26,%r2
	cmpwne %r5,%r13,%r12
;__floatscan+4480
	or %r2,%r5,%r2
	and %r2,%r11,%r2
	fcmpsqune %r4,%r4,%gz
;__floatscan+4496
	and %r2,%r2,%r4
	bbci %r2,0,__floatscan+4528
	nop 0
;__floatscan+4512
	callr %r25,___errno_location
	ldi %r2,34
	stw %r2,%r26,0
;__floatscan+4528
	mov2 %r25,%r26,%r1,%r3
	callr %r24,scalbnl
	mov %r1,%r25
;__floatscan+4544
	retf 8192
	nop 0
	nop 0
;hexfloat
	alloc 22
	lddz %r6,%r1,8
	lddz %r7,%r1,184
;hexfloat+16
	bdeq %r6,%r7,hexfloat+48
	addi %r7,%r6,1
	std %r7,%r1,8
;hexfloat+32
	ldbz %r21,%r6,0
	jmp hexfloat+64
	nop 0
;hexfloat+48
	mov %r21,%r1
	callr %r20,__shgetc
	nop 0
;hexfloat+64
	mov %r13,%gz
	ldi %r7,1
	bweqi %r21,48,hexfloat+128
;hexfloat+80
	jmp hexfloat+176
	nop 0
	nop 0
;hexfloat+96
	mov %r21,%r1
	callr %r20,__shgetc
	mov %r13,%r7
;hexfloat+112
	bwnei %r21,48,hexfloat+176
	nop 0
	nop 0
;hexfloat+128
	lddz %r6,%r1,8
	lddz %r8,%r1,184
	bdeq %r6,%r8,hexfloat+96
;hexfloat+144
	addi %r8,%r6,1
	std %r8,%r1,8
	ldbz %r21,%r6,0
;hexfloat+160
	mov %r13,%r7
	bweqi %r21,48,hexfloat+128
	nop 0
;hexfloat+176
	bwnei %r21,46,hexfloat+224
	lddz %r6,%r1,8
	lddz %r7,%r1,184
;hexfloat+192
	bdeq %r6,%r7,hexfloat+240
	addi %r7,%r6,1
	std %r7,%r1,8
;hexfloat+208
	ldbz %r21,%r6,0
	jmp hexfloat+256
	nop 0
;hexfloat+224
	mov2 %r10,%r11,%gz,%gz
	jmp hexfloat+384
	nop 0
;hexfloat+240
	mov %r21,%r1
	callr %r20,__shgetc
	nop 0
;hexfloat+256
	mov %r11,%gz
	ldi %r10,1
	bweqi %r21,48,hexfloat+320
;hexfloat+272
	jmp hexfloat+384
	nop 0
	nop 0
;hexfloat+288
	mov %r21,%r1
	callr %r20,__shgetc
	addi %r11,%r11,-1
;hexfloat+304
	bwnei %r21,48,hexfloat+368
	nop 0
	nop 0
;hexfloat+320
	lddz %r6,%r1,8
	lddz %r7,%r1,184
	bdeq %r6,%r7,hexfloat+288
;hexfloat+336
	addi %r7,%r6,1
	std %r7,%r1,8
	ldbz %r21,%r6,0
;hexfloat+352
	addi %r11,%r11,-1
	bweqi %r21,48,hexfloat+320
	nop 0
;hexfloat+368
	mov %r13,%r10
	nop 0
	nop 0
;hexfloat+384
	ldi %r9,0
	mov2 %r14,%r8,%r9,%gz
	mov2 %r7,%r15,%gz,%gz
;hexfloat+400
	mov %r12,%gz
	ldih.l %r14,4611404543450677248
;hexfloat+416
	ldi %r16,1
	jmp hexfloat+448
	nop 0
;hexfloat+432
	addi %r17,%r6,1
	std %r17,%r1,8
	ldbz %r21,%r6,0
;hexfloat+448
	addiws %r6,%r21,-48
	mov %r17,%r21
	bwltui %r6,10,hexfloat+528
;hexfloat+464
	ori %r17,%r21,32
	bweqi %r21,46,hexfloat+496
	addiws %r18,%r17,-97
;hexfloat+480
	bwgeui %r18,6,hexfloat+704
	nop 0
	nop 0
;hexfloat+496
	bwnei %r21,46,hexfloat+528
	bwne %r10,%gz,hexfloat+704
	mov2 %r10,%r11,%r16,%r12
;hexfloat+512
	jmp hexfloat+672
	nop 0
	nop 0
;hexfloat+528
	cmpwgti %r13,%r21,57
	addiws %r17,%r17,-87
	cmovlsb %r6,%r13,%r17,%r6
;hexfloat+544
	bdgei %r12,8,hexfloat+560
	sladdws %r8,%r6,%r8,4
	jmp hexfloat+656
;hexfloat+560
	bdgeui %r12,29,hexfloat+608
	mov %r13,%r9
	fcvtiw2sq %r6,%r6,0
;hexfloat+576
	ldih.l %r13,4610278643543834624
	fmulsq %r14,%r14,%r13
;hexfloat+592
	fmaddsq %r7,%r6,%r14,%r7
	jmp hexfloat+656
	nop 0
;hexfloat+608
	cmpweqi %r6,%r6,0
	cmpwnei %r13,%r15,0
	mov %r17,%r9
;hexfloat+624
	or %r6,%r6,%r13
	ldih.l %r17,4611123068473966592
;hexfloat+640
	fmaddsq %r13,%r14,%r17,%r7
	cmovlsb %r7,%r6,%r7,%r13
	cmovlsb %r15,%r6,%r15,%r16
;hexfloat+656
	addi %r12,%r12,1
	mov %r13,%r16
	nop 0
;hexfloat+672
	lddz %r6,%r1,8
	lddz %r17,%r1,184
	bdne %r6,%r17,hexfloat+432
;hexfloat+688
	mov %r21,%r1
	callr %r20,__shgetc
	jmp hexfloat+448
;hexfloat+704
	bweq %r13,%gz,hexfloat+816
	bdgei %r12,8,hexfloat+736
	addi %r6,%r12,-8
;hexfloat+720
	addi %r6,%r6,1
	slliw %r8,%r8,4
	bdne %r6,%gz,hexfloat+720
;hexfloat+736
	andi %r6,%r21,-33
	bwnei %r6,80,hexfloat+880
	mov2 %r20,%r21,%r1,%r5
;hexfloat+752
	callr %r19,scanexp
	ldi.l %r6,-9223372036854775808
;hexfloat+768
	bdne %r20,%r6,hexfloat+928
	bweq %r5,%gz,hexfloat+1328
	lddz %r5,%r1,192
;hexfloat+784
	bdgei %r5,0,hexfloat+896
	nop 0
	nop 0
;hexfloat+800
	mov %r20,%gz
	jmp hexfloat+928
	nop 0
;hexfloat+816
	lddz %r2,%r1,192
	bdlt %r2,%gz,hexfloat+1072
	lddz %r2,%r1,8
;hexfloat+832
	addi %r3,%r2,-1
	std %r3,%r1,8
	bweq %r5,%gz,hexfloat+1088
;hexfloat+848
	addi %r3,%r2,-2
	std %r3,%r1,8
	bweq %r10,%gz,hexfloat+1104
;hexfloat+864
	addi %r2,%r2,-3
	std %r2,%r1,8
	jmp hexfloat+1104
;hexfloat+880
	lddz %r5,%r1,192
	bdlt %r5,%gz,hexfloat+800
	nop 0
;hexfloat+896
	lddz %r5,%r1,8
	mov %r20,%gz
	addi %r5,%r5,-1
;hexfloat+912
	std %r5,%r1,8
	nop 0
	nop 0
;hexfloat+928
	cmovweq %r1,%r10,%r12,%r11
	ldax.xd %r1,%r20,%r1,2,-32
	bweq %r8,%gz,hexfloat+1104
;hexfloat+944
	subfiwz %r5,%r3,0
	bdle %r1,%r5,hexfloat+1008
	callr %r20,___errno_location
;hexfloat+960
	ldi %r1,34
	ldi %r2,-1
	stw %r1,%r21,0
;hexfloat+976
	fcvtiw2sq %r1,%r4,0
	ldih.l %r2,9223090561878065151
;hexfloat+992
	fmulsq %r1,%r1,%r2
	fmulsq %r1,%r1,%r2
	retf 0
;hexfloat+1008
	addiws %r5,%r3,-226
	bdle %r5,%r1,hexfloat+1136
	callr %r20,___errno_location
;hexfloat+1024
	ldi %r1,34
	stw %r1,%r21,0
	fcvtiw2sq %r1,%r4,0
;hexfloat+1040
	ldih.l %r9,281474976710656
	fmulsq %r1,%r1,%r9
;hexfloat+1056
	fmulsq %r1,%r1,%r9
	retf 0
	nop 0
;hexfloat+1072
	bwne %r5,%gz,hexfloat+1104
	nop 0
	nop 0
;hexfloat+1088
	mov2 %r20,%r21,%r1,%gz
	callr %r19,__shlim
	nop 0
;hexfloat+1104
	fcvtiw2sd %r1,%r4,0
	fmergesd %r1,%r1,%gz,%gz
	fextsd2sq %r1,%r1
;hexfloat+1120
	retf 0
	nop 0
	nop 0
;hexfloat+1136
	bwlt %r8,%gz,hexfloat+1232
	nop 0
	nop 0
;hexfloat+1152
	mov %r5,%r9
	ldih.l %r5,4611123068473966592
;hexfloat+1168
	mov %r6,%r9
	fcmpsqole %r5,%r5,%r7
	nop 2
;hexfloat+1184
	ldih.l %r6,-4611967493404098560
	faddsq %r6,%r7,%r6
;hexfloat+1200
	slliw %r10,%r8,1
	slor %r8,%r5,%r8,1
	cmovlsb %r5,%r5,%r6,%r7
;hexfloat+1216
	faddsq %r7,%r7,%r5
	addi %r1,%r1,-1
	bwgei %r10,0,hexfloat+1152
;hexfloat+1232
	subfiws %r3,%r3,32
	ldax.xuw %r3,%r1,%r3,0,0
	srliw %r5,%r2,0
;hexfloat+1248
	cmpdlt %r5,%r3,%r5
	maxsw %r3,%r3,%gz
	cmovlsb %r5,%r5,%r3,%r2
;hexfloat+1264
	bwgeui %r5,113,hexfloat+1360
	subfiws %r21,%r5,144
	nop 2
;hexfloat+1280
	ldi.l %r20,4607182418800017408
	callr %r19,scalbn
;hexfloat+1296
	fextsd2sq %r20,%r20
	fcvtiw2sq %r2,%r4,0
	mov %r21,%r2
;hexfloat+1312
	callr %r19,copysignl
	jmp hexfloat+1376
	nop 0
;hexfloat+1328
	mov2 %r20,%r21,%r1,%gz
	callr %r19,__shlim
	mov %r1,%gz
;hexfloat+1344
	retf 0
	nop 0
	nop 0
;hexfloat+1360
	mov %r20,%gz
	fcvtiw2sq %r2,%r4,0
	nop 0
;hexfloat+1376
	cmpwltui %r3,%r5,32
	fcmpsqune %r4,%r7,%gz
	and %r3,%r3,%r4
;hexfloat+1392
	andi %r4,%r8,1
	or %r5,%r3,%r8
	cmovlsb %r3,%r3,%gz,%r7
;hexfloat+1408
	cmovlsb %r3,%r4,%r7,%r3
	fcvtuw2sq %r4,%r5,0
	fmaddsq %r4,%r2,%r4,%r20
;hexfloat+1424
	fmaddsq %r2,%r2,%r3,%r4
	fsubsq %r20,%r2,%r20
	bfsqune %r20,%gz,hexfloat+1472
;hexfloat+1440
	mov %r3,%r20
	callr %r20,___errno_location
	mov %r20,%r3
;hexfloat+1456
	ldi %r2,34
	stw %r2,%r21,0
	nop 0
;hexfloat+1472
	mov %r21,%r1
	callr %r19,scalbnl
	mov %r1,%r20
;hexfloat+1488
	retf 0
	nop 0
	nop 0
;scanexp
	alloc 9
	mov %r5,%r1
	lddz %r1,%r1,8
;scanexp+16
	lddz %r3,%r5,184
	bdeq %r1,%r3,scanexp+64
	addi %r3,%r1,1
;scanexp+32
	std %r3,%r5,8
	ldbz %r4,%r1,0
	bwnei %r4,43,scanexp+96
;scanexp+48
	jmp scanexp+112
	nop 0
	nop 0
;scanexp+64
	mov %r8,%r5
	callr %r7,__shgetc
	mov %r4,%r8
;scanexp+80
	bweqi %r4,43,scanexp+112
	nop 0
	nop 0
;scanexp+96
	bwnei %r4,45,scanexp+160
	nop 0
	nop 0
;scanexp+112
	lddz %r1,%r5,8
	lddz %r3,%r5,184
	bdeq %r1,%r3,scanexp+192
;scanexp+128
	addi %r3,%r1,1
	std %r3,%r5,8
	ldbz %r3,%r1,0
;scanexp+144
	jmp scanexp+208
	nop 0
	nop 0
;scanexp+160
	mov %r6,%gz
	addiws %r1,%r4,-58
	mov %r3,%r4
;scanexp+176
	jmp scanexp+272
	nop 0
	nop 0
;scanexp+192
	mov %r8,%r5
	callr %r7,__shgetc
	mov %r3,%r8
;scanexp+208
	cmpweqi %r6,%r4,45
	addiws %r1,%r3,-58
	bweq %r2,%gz,scanexp+272
;scanexp+224
	bwgeui.l %r1,1099511627766,scanexp+272
	lddz %r1,%r5,192
;scanexp+240
	bdlt %r1,%gz,scanexp+288
	lddz %r1,%r5,8
	addi %r1,%r1,-1
;scanexp+256
	std %r1,%r5,8
	jmp scanexp+288
	nop 0
;scanexp+272
	bwgeui.l %r1,4294967286,scanexp+336
	nop 0
;scanexp+288
	lddz %r2,%r5,192
	ldi.l %r1,-9223372036854775808
;scanexp+304
	bdlt %r2,%gz,scanexp+768
	lddz %r2,%r5,8
	addi %r2,%r2,-1
;scanexp+320
	std %r2,%r5,8
	retf 0
	nop 0
;scanexp+336
	addiws %r1,%r3,-48
	mov %r2,%gz
	bwgeui %r1,10,scanexp+720
;scanexp+352
	mov %r2,%gz
	nop 0
	nop 0
;scanexp+368
	lddz %r1,%r5,8
	lddz %r4,%r5,184
	bdeq %r1,%r4,scanexp+416
;scanexp+384
	addi %r4,%r1,1
	std %r4,%r5,8
	ldbz %r8,%r1,0
;scanexp+400
	jmp scanexp+432
	nop 0
	nop 0
;scanexp+416
	mov %r8,%r5
	callr %r7,__shgetc
	nop 0
;scanexp+432
	mulwsi %r1,%r2,10
	addws %r2,%r3,%r1
	addiws %r1,%r8,-48
;scanexp+448
	addiws %r2,%r2,-48
	bwgeui %r1,10,scanexp+480
	mov %r3,%r8
;scanexp+464
	bwlti.l %r2,214748364,scanexp+368
	nop 0
;scanexp+480
	sraiw %r2,%r2,0
	bwgeui %r1,10,scanexp+720
	nop 2
;scanexp+496
	ldi.l %r3,92233720368547758
	nop 0
;scanexp+512
	muli %r1,%r2,10
	ldax.xuw %r2,%r1,%r8,0,-48
	lddz %r1,%r5,8
;scanexp+528
	lddz %r4,%r5,184
	bdeq %r1,%r4,scanexp+576
	addi %r4,%r1,1
;scanexp+544
	std %r4,%r5,8
	ldbz %r8,%r1,0
	addiws %r1,%r8,-48
;scanexp+560
	bwltui %r1,10,scanexp+608
	jmp scanexp+624
	nop 0
;scanexp+576
	mov %r8,%r5
	callr %r7,__shgetc
	addiws %r1,%r8,-48
;scanexp+592
	bwgeui %r1,10,scanexp+624
	nop 0
	nop 0
;scanexp+608
	bdlt %r2,%r3,scanexp+512
	nop 0
	nop 0
;scanexp+624
	bwltui %r1,10,scanexp+672
	jmp scanexp+720
	nop 0
;scanexp+640
	mov %r8,%r5
	callr %r7,__shgetc
	addiws %r1,%r8,-48
;scanexp+656
	bwgeui %r1,10,scanexp+720
	nop 0
	nop 0
;scanexp+672
	lddz %r1,%r5,8
	lddz %r3,%r5,184
	bdeq %r1,%r3,scanexp+640
;scanexp+688
	addi %r3,%r1,1
	std %r3,%r5,8
	ldbz %r8,%r1,0
;scanexp+704
	addiws %r1,%r8,-48
	bwltui %r1,10,scanexp+672
	nop 0
;scanexp+720
	lddz %r1,%r5,192
	bdlt %r1,%gz,scanexp+752
	lddz %r1,%r5,8
;scanexp+736
	addi %r1,%r1,-1
	std %r1,%r5,8
	nop 0
;scanexp+752
	subfi %r1,%r2,0
	cmovlsb %r1,%r6,%r1,%r2
	nop 0
;scanexp+768
	retf 0
	nop 0
	nop 0
;copysignl
	alloc 3
	fmergesq %r1,%r2,%r1,%r1
	retf 0
;fmodl
	allocsp 15,32
	stq %r1,%sp,16
	stq %r2,%sp,0
;fmodl+16
	addi %r8,%sp,16
	ori %r4,%r8,14
	ldhz %r10,%r4,0
;fmodl+32
	addi %r6,%sp,0
	ori %r9,%r6,14
	ldhz %r7,%r9,0
;fmodl+48
	ldhz %r5,%r4,0
	bfsqune %r2,%gz,fmodl+80
	nop 0
;fmodl+64
	fmulsq %r1,%r1,%r2
	fdivsq %r1,%r1,%r1
	retf 32
;fmodl+80
	mov %r14,%r2
	callr %r13,__fpclassifyl
	bweq %r14,%gz,fmodl+64
;fmodl+96
	andi %r3,%r10,32767
	bweqi.l %r3,32767,fmodl+64
;fmodl+112
	andi %r7,%r7,32767
	sth %r3,%r4,0
	sth %r7,%r9,0
;fmodl+128
	ldq %r2,%sp,16
	ldq %r10,%sp,0
	bfsqole %r2,%r10,fmodl+416
;fmodl+144
	bwne %r3,%gz,fmodl+192
	ldq %r2,%sp,16
	ldi %r3,0
;fmodl+160
	ldih.l %r3,4645181540655955968
	fmulsq %r2,%r2,%r3
;fmodl+176
	stq %r2,%sp,16
	ldhz %r2,%r4,0
	addiws %r3,%r2,-120
;fmodl+192
	bwne %r7,%gz,fmodl+240
	ldq %r2,%sp,0
	ldi %r7,0
;fmodl+208
	ldih.l %r7,4645181540655955968
	fmulsq %r2,%r2,%r7
;fmodl+224
	stq %r2,%sp,0
	ldhz %r2,%r9,0
	addiws %r7,%r2,-120
;fmodl+240
	ori %r2,%r8,8
	lddz %r8,%r2,0
	ori %r6,%r6,8
;fmodl+256
	lddz %r6,%r6,0
	andi.l %r8,%r8,281474976710655
;fmodl+272
	ori.l %r9,%r8,281474976710656
	nop 2
;fmodl+288
	andi.l %r6,%r6,281474976710655
	nop 2
;fmodl+304
	ori.l %r10,%r6,281474976710656
	lddz %r6,%sp,16
;fmodl+320
	lddz %r8,%sp,0
	bwlt %r7,%r3,fmodl+368
	jmp fmodl+464
;fmodl+336
	srpi %r9,%r9,%r6,63
	nop 0
	nop 0
;fmodl+352
	addiws %r3,%r3,-1
	slli %r6,%r6,1
	bwle %r3,%r7,fmodl+448
;fmodl+368
	sub %r11,%r9,%r10
	cmpdltu %r12,%r6,%r8
	sub %r11,%r11,%r12
;fmodl+384
	bdlt %r11,%gz,fmodl+336
	sub %r6,%r6,%r8
	or %r9,%r11,%r6
;fmodl+400
	bdeq %r9,%gz,fmodl+512
	srpi %r9,%r11,%r6,63
	jmp fmodl+352
;fmodl+416
	ldq %r2,%sp,16
	ldq %r3,%sp,0
	bfsqoeq %r2,%r3,fmodl+512
;fmodl+432
	retf 32
	nop 0
	nop 0
;fmodl+448
	mov %r3,%r7
	nop 0
	nop 0
;fmodl+464
	sub %r7,%r9,%r10
	cmpdltu %r10,%r6,%r8
	sub %r7,%r7,%r10
;fmodl+480
	bdlt %r7,%gz,fmodl+528
	sub %r6,%r6,%r8
	or %r8,%r7,%r6
;fmodl+496
	bdne %r8,%gz,fmodl+544
	nop 0
	nop 0
;fmodl+512
	fmulsq %r1,%r1,%gz
	retf 32
	nop 0
;fmodl+528
	mov %r7,%r9
	nop 0
	nop 0
;fmodl+544
	ldi.l %r1,281474976710655
	bdltu %r1,%r7,fmodl+608
;fmodl+560
	ldi.l %r1,281474976710656
	nop 0
;fmodl+576
	srpi %r7,%r7,%r6,63
	slli %r6,%r6,1
	addiws %r3,%r3,-1
;fmodl+592
	bdltu %r7,%r1,fmodl+576
	nop 0
	nop 0
;fmodl+608
	andi %r1,%r5,-32768
	std %r7,%r2,0
	std %r6,%sp,16
;fmodl+624
	bwle %r3,%gz,fmodl+656
	or %r1,%r1,%r3
	sth %r1,%r4,0
;fmodl+640
	ldq %r1,%sp,16
	retf 32
	nop 0
;fmodl+656
	addiws %r2,%r3,120
	or %r1,%r2,%r1
	sth %r1,%r4,0
;fmodl+672
	ldq %r1,%sp,16
	ldi %r2,0
	nop 2
;fmodl+688
	ldih.l %r2,4577627546245398528
	fmulsq %r1,%r1,%r2
;fmodl+704
	stq %r1,%sp,16
	ldq %r1,%sp,16
	retf 32
;fabsl
	allocsp 3,16
	stq %r1,%sp,0
	addi %r1,%sp,0
;fabsl+16
	ori %r1,%r1,14
	ldhz %r2,%r1,0
	andi %r2,%r2,32767
;fabsl+32
	sth %r2,%r1,0
	ldq %r1,%sp,0
	retf 16
;scalbnl
	allocsp 5,16
	ldi %r3,0
	nop 2
;scalbnl+16
	bwlti.l %r2,16384,scalbnl+112
	mov %r4,%r3
;scalbnl+32
	ldih.l %r4,9222809086901354496
	fmulsq %r1,%r1,%r4
;scalbnl+48
	bwltui.l %r2,32767,scalbnl+208
	mov %r4,%r3
;scalbnl+64
	ldih.l %r4,9222809086901354496
	fmulsq %r1,%r1,%r4
;scalbnl+80
	ldi %r4,49149
	minuw %r2,%r2,%r4
	addiws %r2,%r2,-32766
;scalbnl+96
	jmp scalbnl+240
	nop 0
	nop 0
;scalbnl+112
	bwgei.l %r2,-16382,scalbnl+240
	mov %r4,%r3
;scalbnl+128
	ldih.l %r4,32088147345014784
	fmulsq %r1,%r1,%r4
;scalbnl+144
	bwgeui.l %r2,1099511595125,scalbnl+224
	mov %r4,%r3
;scalbnl+160
	ldih.l %r4,32088147345014784
	fmulsq %r1,%r1,%r4
;scalbnl+176
	ldi %r4,-48920
	maxuw %r2,%r2,%r4
	addiws %r2,%r2,32538
;scalbnl+192
	jmp scalbnl+240
	nop 0
	nop 0
;scalbnl+208
	addiws %r2,%r2,-16383
	jmp scalbnl+240
	nop 0
;scalbnl+224
	addiws %r2,%r2,16269
	nop 0
	nop 0
;scalbnl+240
	ldih.l %r3,4611404543450677248
	stq %r3,%sp,0
;scalbnl+256
	addiws %r2,%r2,16383
	addi %r3,%sp,0
	ori %r3,%r3,14
;scalbnl+272
	sth %r2,%r3,0
	ldq %r2,%sp,0
	fmulsq %r1,%r1,%r2
;scalbnl+288
	retf 16
	nop 0
	nop 0
;mbrtowc
	alloc 14
	ldafr %r6,mbrtowc.internal_state
	cmovdeq %r4,%r4,%r6,%r4
;mbrtowc+16
	ldwz %r6,%r4,0
	bdeq %r2,%gz,mbrtowc+176
	mov %r5,%r1
;mbrtowc+32
	ldi %r1,-2
	bdeq %r3,%gz,mbrtowc+224
	bweq %r6,%gz,mbrtowc+240
;mbrtowc+48
	mov %r7,%r3
	nop 0
	nop 0
;mbrtowc+64
	ldbz %r8,%r2,0
	srliw %r9,%r8,3
	addiws %r10,%r9,-16
;mbrtowc+80
	sraiw %r11,%r6,26
	addws %r9,%r11,%r9
	or %r9,%r10,%r9
;mbrtowc+96
	bwgeui %r9,8,mbrtowc+192
	addi %r7,%r7,-1
	addi %r2,%r2,1
;mbrtowc+112
	andi %r8,%r8,255
	addiws %r8,%r8,-128
	slor %r6,%r8,%r6,6
;mbrtowc+128
	bwle %gz,%r6,mbrtowc+384
	bdeq %r7,%gz,mbrtowc+368
	ldbs %r8,%r2,0
;mbrtowc+144
	addi %r7,%r7,-1
	addi %r2,%r2,1
	bwlti %r8,-64,mbrtowc+112
;mbrtowc+160
	jmp mbrtowc+192
	nop 0
	nop 0
;mbrtowc+176
	bweq %r6,%gz,mbrtowc+288
	nop 0
	nop 0
;mbrtowc+192
	stw %gz,%r4,0
	callr %r12,___errno_location
	ldi %r1,84
;mbrtowc+208
	stw %r1,%r13,0
	ldi %r1,-1
	nop 0
;mbrtowc+224
	retf 0
	nop 0
	nop 0
;mbrtowc+240
	ldbz %r7,%r2,0
	slsrai %r6,%r7,56,56
	bwlt %r6,%gz,mbrtowc+304
;mbrtowc+256
	bdeq %r5,%gz,mbrtowc+272
	stw %r7,%r5,0
	nop 0
;mbrtowc+272
	cmpwnei %r1,%r6,0
	retf 0
	nop 0
;mbrtowc+288
	mov %r1,%gz
	retf 0
	nop 0
;mbrtowc+304
	lddz %r8,%tp,168
	lddz %r8,%r8,0
	bdeq %r8,%gz,mbrtowc+416
;mbrtowc+320
	addiws %r6,%r7,-194
	bwgeui %r6,51,mbrtowc+192
	ldafr %r8,__fsmu8
;mbrtowc+336
	addi %r7,%r3,-1
	ldwzx.xuw %r6,%r8,%r6,2,0
	bdeq %r7,%gz,mbrtowc+368
;mbrtowc+352
	addi %r2,%r2,1
	jmp mbrtowc+64
	nop 0
;mbrtowc+368
	stw %r6,%r4,0
	retf 0
	nop 0
;mbrtowc+384
	stw %gz,%r4,0
	bdeq %r5,%gz,mbrtowc+400
	stw %r6,%r5,0
;mbrtowc+400
	sub %r1,%r3,%r7
	retf 0
	nop 0
;mbrtowc+416
	ldi %r1,1
	bdeq %r5,%gz,mbrtowc+224
	andi %r2,%r6,57343
;mbrtowc+432
	stw %r2,%r5,0
	retf 0
	nop 0
;realloc
	alloc 6
	mov2 %r4,%r5,%r1,%r2
	callr %r3,__libc_realloc
;realloc+16
	mov %r1,%r4
	retf 0
	nop 0
;__libc_realloc
	alloc 18
	bdeq %r1,%gz,__libc_realloc+64
	nop 2
;__libc_realloc+16
	ldi.l %r3,9223372036854771711
	bdltu %r2,%r3,__libc_realloc+96
;__libc_realloc+32
	callr %r16,___errno_location
	mov %r1,%gz
	ldi %r2,12
;__libc_realloc+48
	stw %r2,%r17,0
	retf 0
	nop 0
;__libc_realloc+64
	mov %r17,%r2
	callr %r16,__libc_malloc_impl
	mov %r1,%r17
;__libc_realloc+80
	retf 0
	nop 0
	nop 0
;__libc_realloc+96
	bmany %r1,15,__libc_realloc+1168
	ldbz %r3,%r1,-4
	ldhz %r7,%r1,-2
;__libc_realloc+112
	ldbz %r6,%r1,-3
	bweq %r3,%gz,__libc_realloc+144
	bwne %r7,%gz,__libc_realloc+1168
;__libc_realloc+128
	ldwz %r7,%r1,-8
	bwlti.l %r7,65536,__libc_realloc+1168
;__libc_realloc+144
	slliw %r3,%r7,4
	sub %r3,%r1,%r3
	lddz %r5,%r3,-16
;__libc_realloc+160
	lddz %r14,%r5,16
	addi %r3,%r3,-16
	bdne %r14,%r3,__libc_realloc+1168
;__libc_realloc+176
	lddz %r4,%r5,32
	andi %r8,%r6,31
	andi %r3,%r4,31
;__libc_realloc+192
	bwltu %r3,%r8,__libc_realloc+1168
	ldwz %r9,%r5,24
	ldi %r3,1
;__libc_realloc+208
	sllw %r3,%r3,%r8
	and %r9,%r9,%r3
	bwne %r9,%gz,__libc_realloc+1168
;__libc_realloc+224
	ldwz %r9,%r5,28
	and %r3,%r9,%r3
	bwne %r3,%gz,__libc_realloc+1168
;__libc_realloc+240
	andi %r3,%r5,-4096
	lddz %r3,%r3,0
	lddzr %r9,__malloc_context
;__libc_realloc+256
	bdne %r3,%r9,__libc_realloc+1168
	slsrli %r9,%r4,52,58
	ldafr %r3,__malloc_size_classes
;__libc_realloc+272
	bdgeui %r9,48,__libc_realloc+320
	ldhzx.xd %r10,%r3,%r9,1,0
	mulws %r11,%r10,%r8
;__libc_realloc+288
	bwltu %r7,%r11,__libc_realloc+1168
	addiws %r11,%r8,1
	mulws %r10,%r11,%r10
;__libc_realloc+304
	bwltu %r7,%r10,__libc_realloc+336
	jmp __libc_realloc+1168
	nop 0
;__libc_realloc+320
	bdnei %r9,63,__libc_realloc+1168
	nop 0
	nop 0
;__libc_realloc+336
	bdltui.l %r4,4096,__libc_realloc+384
	srliw %r7,%r7,0
;__libc_realloc+352
	srli %r10,%r4,4
	andi.l %r10,%r10,1152921504606846720
;__libc_realloc+368
	addi %r10,%r10,-1
	bdltu %r10,%r7,__libc_realloc+1168
	bmnone %r4,31,__libc_realloc+1056
;__libc_realloc+384
	ldhzx.xd %r7,%r3,%r9,1,0
	slli %r10,%r7,4
	nop 0
;__libc_realloc+400
	srliw %r7,%r8,0
	mul %r8,%r10,%r7
	ldax.xd %r9,%r14,%r8,0,16
;__libc_realloc+416
	muladd %r7,%r10,%r7,%r14
	ldax.xd %r7,%r7,%r10,0,16
	ldax.xd %r8,%r9,%r10,0,-4
;__libc_realloc+432
	srliw %r11,%r6,5
	bwltui %r6,160,__libc_realloc+480
	bwnei %r11,5,__libc_realloc+1168
;__libc_realloc+448
	ldwz %r6,%r7,-8
	bwltui %r6,5,__libc_realloc+1168
	ldbz %r10,%r7,-9
;__libc_realloc+464
	bwne %r10,%gz,__libc_realloc+1168
	srliw %r11,%r6,0
	nop 0
;__libc_realloc+480
	sub %r10,%r8,%r1
	bdltu %r10,%r11,__libc_realloc+1168
	sub %r6,%r8,%r11
;__libc_realloc+496
	ldbz %r11,%r6,0
	bwne %r11,%gz,__libc_realloc+1168
	ldbz %r11,%r8,0
;__libc_realloc+512
	bwne %r11,%gz,__libc_realloc+1168
	bdgeui.l %r2,131052,__libc_realloc+768
;__libc_realloc+528
	bdltu %r10,%r2,__libc_realloc+768
	addi %r5,%r2,3
	srli %r5,%r5,4
;__libc_realloc+544
	bdltui %r2,157,__libc_realloc+688
	addiws %r9,%r5,1
	srliw %r10,%r9,1
;__libc_realloc+560
	srliw %r11,%r9,2
	or %r9,%r11,%r9
	or %r9,%r9,%r10
;__libc_realloc+576
	srliw %r9,%r9,2
	or %r9,%r9,%r10
	srliw %r10,%r9,4
;__libc_realloc+592
	or %r9,%r10,%r9
	srliw %r10,%r9,8
	or %r9,%r10,%r9
;__libc_realloc+608
	addiws %r9,%r9,1
	cnttz %r9,%r9,31
	ldi %r10,124
;__libc_realloc+624
	slxor %r9,%r10,%r9,2
	subfiws %r10,%r9,121
	ldhzx.xw %r10,%r3,%r10,1,0
;__libc_realloc+640
	cmpdltu %r10,%r5,%r10
	ldi %r11,122
	ldi %r12,120
;__libc_realloc+656
	cmovlsb %r10,%r10,%r12,%r11
	subws %r9,%r10,%r9
	ldhzx.xw %r3,%r3,%r9,1,0
;__libc_realloc+672
	cmpdleu %r3,%r3,%r5
	or %r5,%r9,%r3
	nop 0
;__libc_realloc+688
	addiws %r3,%r5,1
	slsrli %r4,%r4,52,58
	bwlt %r3,%r4,__libc_realloc+976
;__libc_realloc+704
	subsub %r2,%r8,%r2,%r1
	bweq %r2,%gz,__libc_realloc+1072
	slsub %r3,%gz,%r2,32
;__libc_realloc+720
	srai %r3,%r3,32
	stbx.xd %gz,%r8,%r3,0,0
	bwlti %r2,5,__libc_realloc+1088
;__libc_realloc+736
	stw %r2,%r7,-8
	stb %gz,%r7,-9
	ldi %r2,5
;__libc_realloc+752
	jmp __libc_realloc+1088
	nop 0
	nop 0
;__libc_realloc+768
	bdltui.l %r2,131052,__libc_realloc+976
	slsrli %r3,%r4,52,58
;__libc_realloc+784
	bwltui %r3,48,__libc_realloc+976
	bwnei %r3,63,__libc_realloc+1168
	sub %r7,%r1,%r9
;__libc_realloc+800
	ldax.xd.l %r3,%r2,%r7,0,4115
	andi %r3,%r3,-4096
;__libc_realloc+816
	andi %r15,%r4,-4096
	bdeq %r15,%r3,__libc_realloc+848
	ldi %r17,1
;__libc_realloc+832
	mov %r16,%r3
	callr %r13,__mremap
	nop 0
;__libc_realloc+848
	bdeqi %r14,-1,__libc_realloc+976
	std %r14,%r5,16
	lddz %r1,%r5,32
;__libc_realloc+864
	andi %r1,%r1,4095
	or %r1,%r1,%r3
	std %r1,%r5,32
;__libc_realloc+880
	add %r5,%r14,%r7
	ldax.xd %r1,%r14,%r7,0,16
	ldax.xd %r4,%r14,%r3,0,-4
;__libc_realloc+896
	stbx.xd %gz,%r14,%r3,0,-4
	ldax.xd %r5,%r5,%r2,0,16
	add %r2,%r14,%r3
;__libc_realloc+912
	ldi %r3,-4
	addsub %r3,%r2,%r3,%r5
	mov %r5,%gz
;__libc_realloc+928
	bweq %r3,%gz,__libc_realloc+1136
	slsub %r5,%gz,%r3,32
	srai %r5,%r5,32
;__libc_realloc+944
	stbx.xd %gz,%r4,%r5,0,0
	bwlti %r3,5,__libc_realloc+1120
	stw %r3,%r2,-8
;__libc_realloc+960
	stb %gz,%r2,-9
	ldi %r5,5
	jmp __libc_realloc+1136
;__libc_realloc+976
	mov %r17,%r2
	callr %r16,__libc_malloc_impl
	bdeq %r17,%gz,__libc_realloc+1040
;__libc_realloc+992
	sub %r3,%r6,%r1
	minu %r2,%r2,%r3
	mov2 %r15,%r16,%r17,%r1
;__libc_realloc+1008
	mov2 %r3,%r17,%r17,%r2
	callr %r14,memcpy
	mov %r17,%r1
;__libc_realloc+1024
	callr %r16,__libc_free
	mov %r1,%r3
	retf 0
;__libc_realloc+1040
	mov %r1,%gz
	retf 0
	nop 0
;__libc_realloc+1056
	andi %r7,%r4,-4096
	addi %r10,%r7,-16
	jmp __libc_realloc+400
;__libc_realloc+1072
	mov %r2,%gz
	nop 0
	nop 0
;__libc_realloc+1088
	ldbz %r3,%r1,-3
	andi %r3,%r3,31
	slor %r2,%r3,%r2,5
;__libc_realloc+1104
	stb %r2,%r1,-3
	retf 0
	nop 0
;__libc_realloc+1120
	mov %r5,%r3
	nop 0
	nop 0
;__libc_realloc+1136
	ldbz %r2,%r1,-3
	andi %r2,%r2,31
	slor %r2,%r2,%r5,5
;__libc_realloc+1152
	stb %r2,%r1,-3
	retf 0
	nop 0
;__libc_realloc+1168
	halt
	nop 0
	nop 0
;dummy
	alloc 1
	retf 0
	nop 0
;__mremap
	allocsp 14,16
	ldi.l %r5,9223372036854775807
;__mremap+16
	bdltu %r3,%r5,__mremap+48
	callr %r12,___errno_location
	ldi %r1,12
;__mremap+32
	stw %r1,%r13,0
	ldi %r1,-1
	retf 16
;__mremap+48
	mov %r12,%gz
	bbci %r4,1,__mremap+96
	callr %r13,dummy
;__mremap+64
	addi %r5,%sp,16
	ori %r5,%r5,8
	std %r5,%sp,8
;__mremap+80
	lddz %r12,%sp,16
	nop 0
	nop 0
;__mremap+96
	sraiw %r11,%r4,0
	ldi %r7,25
	mov2 %r8,%r9,%r1,%r2
;__mremap+112
	mov2 %r10,%r13,%r3,%gz
	callr %r6,__syscall_postrisc
	mov %r13,%r7
;__mremap+128
	callr %r12,__syscall_ret
	mov %r1,%r13
	retf 16
;__intscan
	alloc 17
	bwgeui %r2,37,__intscan+416
	bwnei %r2,1,__intscan+64
;__intscan+16
	jmp __intscan+416
	nop 0
	nop 0
;__intscan+32
	mov %r16,%r1
	callr %r15,__shgetc
	addiws %r5,%r16,-9
;__intscan+48
	bwgeui %r5,5,__intscan+112
	nop 0
	nop 0
;__intscan+64
	lddz %r5,%r1,8
	lddz %r6,%r1,184
	bdeq %r5,%r6,__intscan+32
;__intscan+80
	addi %r6,%r5,1
	std %r6,%r1,8
	ldbz %r16,%r5,0
;__intscan+96
	addiws %r5,%r16,-9
	bwltui %r5,5,__intscan+64
	nop 0
;__intscan+112
	bweqi %r16,32,__intscan+64
	bweqi %r16,45,__intscan+128
	bwnei %r16,43,__intscan+176
;__intscan+128
	lddz %r5,%r1,8
	lddz %r7,%r1,184
	cmpweqi %r6,%r16,45
;__intscan+144
	slsrai %r6,%r6,63,63
	bdeq %r5,%r7,__intscan+192
	addi %r7,%r5,1
;__intscan+160
	std %r7,%r1,8
	ldbz %r16,%r5,0
	jmp __intscan+208
;__intscan+176
	mov %r6,%gz
	jmp __intscan+208
	nop 0
;__intscan+192
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+208
	cmpwnei %r5,%r2,0
	cmpwnei %r7,%r2,16
	and %r5,%r5,%r7
;__intscan+224
	bbsi %r5,0,__intscan+336
	bwnei %r16,48,__intscan+336
	lddz %r5,%r1,8
;__intscan+240
	lddz %r7,%r1,184
	bdeq %r5,%r7,__intscan+448
	addi %r7,%r5,1
;__intscan+256
	std %r7,%r1,8
	ldbz %r16,%r5,0
	andi %r5,%r16,-33
;__intscan+272
	bwnei %r5,88,__intscan+480
	nop 0
	nop 0
;__intscan+288
	lddz %r2,%r1,8
	lddz %r5,%r1,184
	bdeq %r2,%r5,__intscan+800
;__intscan+304
	addi %r5,%r2,1
	std %r5,%r1,8
	ldbz %r16,%r2,0
;__intscan+320
	jmp __intscan+816
	nop 0
	nop 0
;__intscan+336
	ldafr %r3,table+1
	ldbzx.xw %r3,%r3,%r16,0,0
	ldi %r5,10
;__intscan+352
	cmovweq %r2,%r2,%r5,%r2
	bwltu %r3,%r2,__intscan+496
	lddz %r2,%r1,192
;__intscan+368
	bdlt %r2,%gz,__intscan+400
	lddz %r2,%r1,8
	addi %r2,%r2,-1
;__intscan+384
	std %r2,%r1,8
	nop 0
	nop 0
;__intscan+400
	mov2 %r15,%r16,%r1,%gz
	callr %r14,__shlim
	nop 0
;__intscan+416
	callr %r15,___errno_location
	ldi %r1,22
	stw %r1,%r16,0
;__intscan+432
	mov %r1,%gz
	retf 0
	nop 0
;__intscan+448
	mov %r16,%r1
	callr %r15,__shgetc
	andi %r5,%r16,-33
;__intscan+464
	bweqi %r5,88,__intscan+288
	nop 0
	nop 0
;__intscan+480
	bweq %r2,%gz,__intscan+912
	nop 0
	nop 0
;__intscan+496
	bwnei %r2,10,__intscan+928
	addiws %r3,%r16,-48
	bwgeui %r3,10,__intscan+640
;__intscan+512
	mov %r5,%gz
	nop 0
	nop 0
;__intscan+528
	lddz %r2,%r1,8
	lddz %r7,%r1,184
	bdeq %r2,%r7,__intscan+576
;__intscan+544
	addi %r7,%r2,1
	std %r7,%r1,8
	ldbz %r16,%r2,0
;__intscan+560
	jmp __intscan+592
	nop 0
	nop 0
;__intscan+576
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+592
	mulwsi %r2,%r5,10
	addws %r5,%r2,%r3
	addiws %r3,%r16,-48
;__intscan+608
	bwgeui %r3,10,__intscan+624
	bwltui.l %r5,429496729,__intscan+528
;__intscan+624
	srliw %r7,%r5,0
	bwltui %r3,10,__intscan+656
	jmp __intscan+1632
;__intscan+640
	mov %r7,%gz
	bwgeui %r3,10,__intscan+1632
	nop 0
;__intscan+656
	srliw %r8,%r3,0
	muli %r9,%r7,10
	nop 2
;__intscan+672
	ldi.l %r5,1844674407370955162
	ldi %r2,10
;__intscan+688
	lddz %r3,%r1,8
	lddz %r7,%r1,184
	bdeq %r3,%r7,__intscan+736
;__intscan+704
	addi %r7,%r3,1
	std %r7,%r1,8
	ldbz %r16,%r3,0
;__intscan+720
	jmp __intscan+752
	nop 0
	nop 0
;__intscan+736
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+752
	addiws %r3,%r16,-48
	add %r7,%r9,%r8
	bwgeui %r3,10,__intscan+1600
;__intscan+768
	bdleu %r5,%r7,__intscan+1600
	muli %r9,%r7,10
	srliw %r8,%r3,0
;__intscan+784
	xori %r3,%r8,-1
	bdleu %r9,%r3,__intscan+688
	jmp __intscan+1616
;__intscan+800
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+816
	ldafr %r2,table+1
	ldbzx.xw %r2,%r2,%r16,0,0
	bwltui %r2,16,__intscan+896
;__intscan+832
	lddz %r2,%r1,192
	bdlt %r2,%gz,__intscan+1920
	lddz %r2,%r1,8
;__intscan+848
	addi %r4,%r2,-1
	std %r4,%r1,8
	bweq %r3,%gz,__intscan+1936
;__intscan+864
	addi %r2,%r2,-2
	std %r2,%r1,8
	mov %r1,%gz
;__intscan+880
	retf 0
	nop 0
	nop 0
;__intscan+896
	ldi %r2,16
	jmp __intscan+928
	nop 0
;__intscan+912
	ldi %r2,8
	nop 0
	nop 0
;__intscan+928
	addiws %r3,%r2,-1
	and %r3,%r2,%r3
	bwne %r3,%gz,__intscan+1248
;__intscan+944
	ldafr %r5,table+1
	ldbzx.xw %r8,%r5,%r16,0,0
	mulwsi %r3,%r2,23
;__intscan+960
	srliw %r3,%r3,5
	andi %r3,%r3,7
	ldafr %r7,.L.str
;__intscan+976
	ldbsx.xd %r9,%r3,%r7,0,0
	mov %r7,%gz
	bwleu %r2,%r8,__intscan+1104
;__intscan+992
	lddz %r3,%r1,8
	lddz %r10,%r1,184
	bdeq %r3,%r10,__intscan+1040
;__intscan+1008
	addi %r10,%r3,1
	std %r10,%r1,8
	ldbz %r16,%r3,0
;__intscan+1024
	jmp __intscan+1056
	nop 0
	nop 0
;__intscan+1040
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+1056
	sllw %r3,%r7,%r9
	or %r7,%r8,%r3
	ldbzx.xw %r8,%r5,%r16,0,0
;__intscan+1072
	bwleu %r2,%r8,__intscan+1088
	bwltui.l %r3,134217728,__intscan+992
;__intscan+1088
	srliw %r7,%r7,0
	nop 0
	nop 0
;__intscan+1104
	bwleu %r2,%r8,__intscan+1616
	ldi %r3,-1
	srl %r10,%r3,%r9
;__intscan+1120
	bdltu %r10,%r7,__intscan+1616
	srliw %r9,%r9,0
	nop 0
;__intscan+1136
	lddz %r3,%r1,8
	lddz %r11,%r1,184
	bdeq %r3,%r11,__intscan+1184
;__intscan+1152
	addi %r11,%r3,1
	std %r11,%r1,8
	ldbz %r16,%r3,0
;__intscan+1168
	jmp __intscan+1200
	nop 0
	nop 0
;__intscan+1184
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+1200
	andi %r3,%r8,255
	ldbzx.xw %r8,%r5,%r16,0,0
	sll %r7,%r7,%r9
;__intscan+1216
	or %r7,%r7,%r3
	bwleu %r2,%r8,__intscan+1616
	bdleu %r7,%r10,__intscan+1136
;__intscan+1232
	jmp __intscan+1616
	nop 0
	nop 0
;__intscan+1248
	ldafr %r8,table+1
	ldbzx.xw %r9,%r8,%r16,0,0
	bwleu %r2,%r9,__intscan+1392
;__intscan+1264
	mov %r5,%gz
	nop 0
	nop 0
;__intscan+1280
	lddz %r3,%r1,8
	lddz %r7,%r1,184
	bdeq %r3,%r7,__intscan+1328
;__intscan+1296
	addi %r7,%r3,1
	std %r7,%r1,8
	ldbz %r16,%r3,0
;__intscan+1312
	jmp __intscan+1344
	nop 0
	nop 0
;__intscan+1328
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+1344
	mulws %r3,%r5,%r2
	addws %r5,%r9,%r3
	ldbzx.xw %r9,%r8,%r16,0,0
;__intscan+1360
	bwleu %r2,%r9,__intscan+1376
	bwltui.l %r5,119304647,__intscan+1280
;__intscan+1376
	srliw %r7,%r5,0
	bwltu %r9,%r2,__intscan+1408
	jmp __intscan+1616
;__intscan+1392
	mov %r7,%gz
	bwleu %r2,%r9,__intscan+1616
	nop 0
;__intscan+1408
	mov %r12,%r16
	srliw %r10,%r2,0
	ldi %r11,255
;__intscan+1424
	srli %r3,%r10,0
	nop 0
	nop 0
;__intscan+1440
	mul %r13,%r7,%r10
	nand %r5,%r9,%r11
	bdltu %r5,%r13,__intscan+1584
;__intscan+1456
	lddz %r5,%r1,8
	lddz %r7,%r1,184
	bdeq %r5,%r7,__intscan+1504
;__intscan+1472
	addi %r7,%r5,1
	std %r7,%r1,8
	ldbz %r16,%r5,0
;__intscan+1488
	jmp __intscan+1520
	nop 0
	nop 0
;__intscan+1504
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+1520
	andi %r5,%r9,255
	ldbzx.xw %r9,%r8,%r16,0,0
	add %r7,%r13,%r5
;__intscan+1536
	bwleu %r2,%r9,__intscan+1616
	mov %r12,%r16
	srli %r16,%r7,0
;__intscan+1552
	mov %r15,%r3
	callr %r14,__multi3
	srlqi %r5,%r15,0
;__intscan+1568
	bdeq %r5,%gz,__intscan+1440
	nop 0
	nop 0
;__intscan+1584
	mov %r16,%r12
	jmp __intscan+1616
	nop 0
;__intscan+1600
	bwgeui %r3,10,__intscan+1632
	nop 0
	nop 0
;__intscan+1616
	ldafr %r5,table+1
	ldbzx.xw %r3,%r5,%r16,0,0
	bwltu %r3,%r2,__intscan+1744
;__intscan+1632
	lddz %r2,%r1,192
	bdlt %r2,%gz,__intscan+1664
	nop 0
;__intscan+1648
	lddz %r2,%r1,8
	addi %r2,%r2,-1
	std %r2,%r1,8
;__intscan+1664
	bdleu %r4,%r7,__intscan+1840
	nop 0
	nop 0
;__intscan+1680
	sraiw %r1,%r6,0
	xor %r2,%r7,%r1
	sub %r4,%r2,%r1
;__intscan+1696
	mov %r1,%r4
	retf 0
	nop 0
;__intscan+1712
	mov %r16,%r1
	callr %r15,__shgetc
	ldbzx.xw %r3,%r5,%r16,0,0
;__intscan+1728
	bwleu %r2,%r3,__intscan+1792
	nop 0
	nop 0
;__intscan+1744
	lddz %r3,%r1,8
	lddz %r7,%r1,184
	bdeq %r3,%r7,__intscan+1712
;__intscan+1760
	addi %r7,%r3,1
	std %r7,%r1,8
	ldbz %r16,%r3,0
;__intscan+1776
	ldbzx.xw %r3,%r5,%r16,0,0
	bwltu %r3,%r2,__intscan+1744
	nop 0
;__intscan+1792
	callr %r15,___errno_location
	ldi %r2,34
	andi %r3,%r4,1
;__intscan+1808
	stw %r2,%r16,0
	cmovlsb %r6,%r3,%gz,%r6
	mov %r7,%r4
;__intscan+1824
	lddz %r2,%r1,192
	bdle %gz,%r2,__intscan+1648
	jmp __intscan+1664
;__intscan+1840
	bbsi %r4,0,__intscan+1888
	bwne %r6,%gz,__intscan+1888
	callr %r15,___errno_location
;__intscan+1856
	ldi %r1,34
	stw %r1,%r16,0
	addi %r1,%r4,-1
;__intscan+1872
	retf 0
	nop 0
	nop 0
;__intscan+1888
	bdleu %r7,%r4,__intscan+1680
	callr %r15,___errno_location
	ldi %r1,34
;__intscan+1904
	stw %r1,%r16,0
	mov %r1,%r4
	retf 0
;__intscan+1920
	mov %r4,%gz
	bwne %r3,%gz,__intscan+1696
	nop 0
;__intscan+1936
	mov2 %r15,%r16,%r1,%gz
	callr %r14,__shlim
	mov %r1,%gz
;__intscan+1952
	retf 0
	nop 0
	nop 0
;__multi3
	alloc 10
	srliw %r3,%r1,0
	srliw %r4,%r2,0
;__multi3+16
	mul %r5,%r4,%r3
	srli %r6,%r5,32
	srli %r7,%r1,32
;__multi3+32
	muladd %r4,%r4,%r7,%r6
	srli %r6,%r2,32
	mul %r3,%r6,%r3
;__multi3+48
	ldax.xuw %r3,%r3,%r4,0,0
	srlqi %r8,%r1,0
	srlqi %r9,%r2,0
;__multi3+64
	srliw %r5,%r5,0
	srli %r4,%r4,32
	slor %r5,%r5,%r3,32
;__multi3+80
	srli %r3,%r3,32
	mul %r6,%r6,%r7
	srli %r5,%r5,0
;__multi3+96
	mul %r2,%r8,%r2
	mul %r1,%r9,%r1
	addadd %r1,%r1,%r2,%r6
;__multi3+112
	addadd %r1,%r1,%r4,%r3
	sllqi %r1,%r1,0
	or %r1,%r1,%r5
;__multi3+128
	retf 0
	nop 0
	nop 0
;mbsinit
	alloc 2
	bdeq %r1,%gz,mbsinit+32
	ldwz %r1,%r1,0
;mbsinit+16
	cmpweqi %r1,%r1,0
	retf 0
	nop 0
;mbsinit+32
	ldi %r1,1
	retf 0
	nop 0
;atof
	alloc 5
	mov2 %r3,%r4,%r1,%gz
	callr %r2,strtod
;atof+16
	mov %r1,%r3
	retf 0
	nop 0
;strtof
	allocsp 10,240
	std %r1,%sp,16
	std %r1,%sp,96
;strtof+16
	ldi %r3,-1
	std %r3,%sp,24
	addi %r3,%sp,8
;strtof+32
	mov2 %r8,%r9,%r3,%gz
	callr %r7,__shlim
	ldi %r9,1
;strtof+48
	mov2 %r7,%r8,%r3,%gz
	callr %r6,__floatscan
	bdeq %r2,%gz,strtof+96
;strtof+64
	lddz %r3,%sp,16
	lddz %r4,%sp,96
	lddz %r5,%sp,208
;strtof+80
	sub %r3,%r3,%r4
	addadd %r1,%r1,%r5,%r3
	std %r1,%r2,0
;strtof+96
	fcvtsq2ss %r1,%r7,0
	retf 240
	nop 0
;strtod
	allocsp 10,240
	std %r1,%sp,16
	std %r1,%sp,96
;strtod+16
	ldi %r3,-1
	std %r3,%sp,24
	addi %r3,%sp,8
;strtod+32
	mov2 %r8,%r9,%r3,%gz
	callr %r7,__shlim
	ldi %r8,1
;strtod+48
	mov2 %r7,%r9,%r3,%r8
	callr %r6,__floatscan
	bdeq %r2,%gz,strtod+96
;strtod+64
	lddz %r3,%sp,16
	lddz %r4,%sp,96
	lddz %r5,%sp,208
;strtod+80
	sub %r3,%r3,%r4
	addadd %r1,%r1,%r5,%r3
	std %r1,%r2,0
;strtod+96
	fcvtsq2sd %r1,%r7,0
	retf 240
	nop 0
;strtold
	allocsp 10,240
	std %r1,%sp,16
	std %r1,%sp,96
;strtold+16
	ldi %r3,-1
	std %r3,%sp,24
	addi %r3,%sp,8
;strtold+32
	mov2 %r8,%r9,%r3,%gz
	callr %r7,__shlim
	ldi %r8,2
;strtold+48
	ldi %r9,1
	mov %r7,%r3
	callr %r6,__floatscan
;strtold+64
	bdeq %r2,%gz,strtold+112
	lddz %r3,%sp,16
	lddz %r4,%sp,96
;strtold+80
	lddz %r5,%sp,208
	sub %r3,%r3,%r4
	addadd %r1,%r1,%r5,%r3
;strtold+96
	std %r1,%r2,0
	nop 0
	nop 0
;strtold+112
	mov %r1,%r7
	retf 240
	nop 0
;M_BindBaseControls
	alloc 4
	ldafr %r2,.rodata+5030
	ldafr %r3,key_right
;M_BindBaseControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22440
	ldafr %r3,key_left
;M_BindBaseControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+25567
	ldafr %r3,key_up
;M_BindBaseControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22449
	ldafr %r3,key_down
;M_BindBaseControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+14437
	ldafr %r3,key_strafeleft
;M_BindBaseControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+27094
	ldafr %r3,key_straferight
;M_BindBaseControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+25587
	ldafr %r3,key_fire
;M_BindBaseControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10196
	ldafr %r3,key_use
;M_BindBaseControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+25596
	ldafr %r3,key_strafe
;M_BindBaseControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+7942
	ldafr %r3,key_speed
;M_BindBaseControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+23477
	ldafr %r3,mousebfire
;M_BindBaseControls+176
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+15264
	ldafr %r3,mousebstrafe
;M_BindBaseControls+192
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+14452
	ldafr %r3,mousebforward
;M_BindBaseControls+208
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21968
	ldafr %r3,joybfire
;M_BindBaseControls+224
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+14467
	ldafr %r3,joybstrafe
;M_BindBaseControls+240
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9229
	ldafr %r3,joybuse
;M_BindBaseControls+256
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+8321
	ldafr %r3,joybspeed
;M_BindBaseControls+272
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+3358
	ldafr %r3,joybmenu
;M_BindBaseControls+288
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+4023
	ldafr %r3,joybstrafeleft
;M_BindBaseControls+304
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+13769
	ldafr %r3,joybstraferight
;M_BindBaseControls+320
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19093
	ldafr %r3,mousebstrafeleft
;M_BindBaseControls+336
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9247
	ldafr %r3,mousebstraferight
;M_BindBaseControls+352
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21075
	ldafr %r3,mousebuse
;M_BindBaseControls+368
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12384
	ldafr %r3,mousebbackward
;M_BindBaseControls+384
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19889
	ldafr %r3,dclick_use
;M_BindBaseControls+400
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21978
	ldafr %r3,key_pause
;M_BindBaseControls+416
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+910
	ldafr %r3,key_message_refresh
;M_BindBaseControls+432
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindHereticControls
	alloc 4
	ldafr %r2,.rodata+16704
	ldafr %r3,key_flyup
;M_BindHereticControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+28622
	ldafr %r3,key_flydown
;M_BindHereticControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21031
	ldafr %r3,key_flycenter
;M_BindHereticControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+5040
	ldafr %r3,key_lookup
;M_BindHereticControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+25574
	ldafr %r3,key_lookdown
;M_BindHereticControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+27110
	ldafr %r3,key_lookcenter
;M_BindHereticControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+17509
	ldafr %r3,key_invleft
;M_BindHereticControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6288
	ldafr %r3,key_invright
;M_BindHereticControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10757
	ldafr %r3,key_useartifact
;M_BindHereticControls+144
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindHexenControls
	alloc 4
	ldafr %r2,.rodata+3975
	ldafr %r3,key_jump
;M_BindHexenControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+3984
	ldafr %r3,mousebjump
;M_BindHexenControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10784
	ldafr %r3,joybjump
;M_BindHexenControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+18144
	ldafr %r3,key_arti_all
;M_BindHexenControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+27558
	ldafr %r3,key_arti_health
;M_BindHexenControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+16714
	ldafr %r3,key_arti_poisonbag
;M_BindHexenControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21102
	ldafr %r3,key_arti_blastradius
;M_BindHexenControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+18157
	ldafr %r3,key_arti_teleport
;M_BindHexenControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+887
	ldafr %r3,key_arti_teleportother
;M_BindHexenControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10839
	ldafr %r3,key_arti_egg
;M_BindHexenControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2654
	ldafr %r3,key_arti_invulnerability
;M_BindHexenControls+176
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindStrifeControls
	alloc 8
	ldi %r1,47
	stwr %r1,key_message_refresh
;M_BindStrifeControls+16
	ldi %r1,97
	stwr %r1,key_jump
	ldafr %r7,key_jump
;M_BindStrifeControls+32
	ldi %r1,201
	stwr %r1,key_lookup
	ldafr %r1,key_lookup
;M_BindStrifeControls+48
	ldi %r2,209
	stwr %r2,key_lookdown
	ldafr %r2,key_lookdown
;M_BindStrifeControls+64
	ldi %r3,210
	stwr %r3,key_invleft
	ldafr %r3,key_invleft
;M_BindStrifeControls+80
	ldi %r4,211
	stwr %r4,key_invright
	ldafr %r4,key_invright
;M_BindStrifeControls+96
	ldafr %r6,.rodata+3975
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+10773
;M_BindStrifeControls+112
	mov %r7,%r1
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+821
;M_BindStrifeControls+128
	mov %r7,%r2
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+15240
;M_BindStrifeControls+144
	mov %r7,%r3
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+9216
;M_BindStrifeControls+160
	mov %r7,%r4
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+3961
;M_BindStrifeControls+176
	ldafr %r7,key_usehealth
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+5586
;M_BindStrifeControls+192
	ldafr %r7,key_invquery
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+11800
;M_BindStrifeControls+208
	ldafr %r7,key_mission
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+17498
;M_BindStrifeControls+224
	ldafr %r7,key_invpop
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+1701
;M_BindStrifeControls+240
	ldafr %r7,key_invkey
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+9204
;M_BindStrifeControls+256
	ldafr %r7,key_invhome
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+12347
;M_BindStrifeControls+272
	ldafr %r7,key_invend
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+5599
;M_BindStrifeControls+288
	ldafr %r7,key_invuse
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+15252
;M_BindStrifeControls+304
	ldafr %r7,key_invdrop
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+3984
;M_BindStrifeControls+320
	ldafr %r7,mousebjump
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+10784
;M_BindStrifeControls+336
	ldafr %r7,joybjump
	callr %r5,M_BindVariable
	retf 0
;M_BindWeaponControls
	alloc 4
	ldafr %r2,.rodata+4083
	ldafr %r3,key_weapon1
;M_BindWeaponControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19913
	ldafr %r3,key_weapon2
;M_BindWeaponControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6395
	ldafr %r3,key_weapon3
;M_BindWeaponControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19925
	ldafr %r3,key_weapon4
;M_BindWeaponControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9282
	ldafr %r3,key_weapon5
;M_BindWeaponControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+13800
	ldafr %r3,key_weapon6
;M_BindWeaponControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19937
	ldafr %r3,key_weapon7
;M_BindWeaponControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+875
	ldafr %r3,key_weapon8
;M_BindWeaponControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+28652
	ldafr %r3,key_prevweapon
;M_BindWeaponControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+27543
	ldafr %r3,key_nextweapon
;M_BindWeaponControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+3377
	ldafr %r3,joybprevweapon
;M_BindWeaponControls+176
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+5677
	ldafr %r3,joybnextweapon
;M_BindWeaponControls+192
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+7027
	ldafr %r3,mousebprevweapon
;M_BindWeaponControls+208
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+28634
	ldafr %r3,mousebnextweapon
;M_BindWeaponControls+224
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindMapControls
	alloc 4
	ldafr %r2,.rodata+4069
	ldafr %r3,key_map_north
;M_BindMapControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+845
	ldafr %r3,key_map_south
;M_BindMapControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12445
	ldafr %r3,key_map_east
;M_BindMapControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19900
	ldafr %r3,key_map_west
;M_BindMapControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6380
	ldafr %r3,key_map_zoomin
;M_BindMapControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+859
	ldafr %r3,key_map_zoomout
;M_BindMapControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2626
	ldafr %r3,key_map_toggle
;M_BindMapControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10235
	ldafr %r3,key_map_maxzoom
;M_BindMapControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+17574
	ldafr %r3,key_map_follow
;M_BindMapControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2641
	ldafr %r3,key_map_grid
;M_BindMapControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+11841
	ldafr %r3,key_map_mark
;M_BindMapControls+176
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19119
	ldafr %r3,key_map_clearmark
;M_BindMapControls+192
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindMenuControls
	alloc 4
	ldafr %r2,.rodata+25640
	ldafr %r3,key_menu_activate
;M_BindMenuControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+5693
	ldafr %r3,key_menu_up
;M_BindMenuControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2612
	ldafr %r3,key_menu_down
;M_BindMenuControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22484
	ldafr %r3,key_menu_left
;M_BindMenuControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+4039
	ldafr %r3,key_menu_right
;M_BindMenuControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+17560
	ldafr %r3,key_menu_back
;M_BindMenuControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12400
	ldafr %r3,key_menu_forward
;M_BindMenuControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22498
	ldafr %r3,key_menu_confirm
;M_BindMenuControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+11826
	ldafr %r3,key_menu_abort
;M_BindMenuControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12417
	ldafr %r3,key_menu_help
;M_BindMenuControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+13786
	ldafr %r3,key_menu_save
;M_BindMenuControls+176
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22515
	ldafr %r3,key_menu_load
;M_BindMenuControls+192
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9266
	ldafr %r3,key_menu_volume
;M_BindMenuControls+208
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21086
	ldafr %r3,key_menu_detail
;M_BindMenuControls+224
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21988
	ldafr %r3,key_menu_qsave
;M_BindMenuControls+240
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22003
	ldafr %r3,key_menu_endgame
;M_BindMenuControls+256
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22529
	ldafr %r3,key_menu_messages
;M_BindMenuControls+272
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+3393
	ldafr %r3,key_menu_qload
;M_BindMenuControls+288
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12431
	ldafr %r3,key_menu_quit
;M_BindMenuControls+304
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+4054
	ldafr %r3,key_menu_gamma
;M_BindMenuControls+320
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6341
	ldafr %r3,key_menu_incscreen
;M_BindMenuControls+336
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+7963
	ldafr %r3,key_menu_decscreen
;M_BindMenuControls+352
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6360
	ldafr %r3,key_menu_screenshot
;M_BindMenuControls+368
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+16733
	ldafr %r3,key_demo_quit
;M_BindMenuControls+384
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19111
	ldafr %r3,key_spy
;M_BindMenuControls+400
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindChatControls
	allocsp 12,48
	ldafr %r10,.rodata+13812
	ldafr %r11,key_multi_msg
;M_BindChatControls+16
	callr %r9,M_BindVariable
	bweq %r1,%gz,M_BindChatControls+112
	mov %r6,%gz
;M_BindChatControls+32
	srliw %r7,%r1,0
	ldafr %r1,key_multi_msgplayer
	ldafr %r2,.rodata+10894
;M_BindChatControls+48
	addi %r3,%sp,16
	ldi %r4,32
	nop 0
;M_BindChatControls+64
	addi %r6,%r6,1
	stw %r6,%sp,0
	mov2 %r9,%r10,%r3,%r4
;M_BindChatControls+80
	mov %r11,%r2
	callr %r8,M_snprintf
	mov2 %r10,%r11,%r3,%r1
;M_BindChatControls+96
	callr %r9,M_BindVariable
	addi %r1,%r1,4
	bdne %r7,%r6,M_BindChatControls+64
;M_BindChatControls+112
	retf 48
	nop 0
	nop 0
;M_ApplyPlatformDefaults
	alloc 1
	retf 0
	nop 0
;FixedDiv
	alloc 5
	absdw %r3,%r1,%gz
	srliw %r3,%r3,14
;FixedDiv+16
	absdw %r4,%r2,%gz
	bwleu %r4,%r3,FixedDiv+64
	sraiw %r1,%r1,0
;FixedDiv+32
	slli %r1,%r1,16
	sraiw %r2,%r2,0
	div %r1,%r1,%r2
;FixedDiv+48
	retf 0
	nop 0
	nop 0
;FixedDiv+64
	xor %r1,%r2,%r1
	sraiw %r1,%r1,31
	nop 2
;FixedDiv+80
	xori.l %r1,%r1,2147483647
	retf 0
;M_NewGame
	alloc 3
	ldwzr %r1,netgame
	bweq %r1,%gz,M_NewGame+80
;M_NewGame+16
	ldwzr %r1,demoplayback
	bwne %r1,%gz,M_NewGame+80
	ldwzr %r1,menuactive
;M_NewGame+32
	stwr %r1,messageLastMenuActive
	ldi %r1,1
	stwr %r1,messageToPrint
;M_NewGame+48
	ldafr %r2,.rodata+5116
	stdr %r2,messageString
	stdr %gz,messageRoutine
;M_NewGame+64
	stwr %gz,messageNeedsInput
	stwr %r1,menuactive
	retf 0
;M_NewGame+80
	ldwzr %r1,gamemode
	bweqi %r1,2,M_NewGame+128
	ldwzr %r1,gameversion
;M_NewGame+96
	bweqi %r1,9,M_NewGame+128
	ldhzr %r1,EpiDef+36
	ldafr %r2,EpiDef
;M_NewGame+112
	jmp M_NewGame+144
	nop 0
	nop 0
;M_NewGame+128
	ldhzr %r1,NewDef+36
	ldafr %r2,NewDef
	nop 0
;M_NewGame+144
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_Options
	alloc 3
	ldhzr %r1,OptionsDef+36
	ldafr %r2,OptionsDef
;M_Options+16
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_LoadGame
	alloc 4
	ldwzr %r1,netgame
	bweq %r1,%gz,M_LoadGame+80
;M_LoadGame+16
	ldwzr %r1,menuactive
	stwr %r1,messageLastMenuActive
	ldi %r1,1
;M_LoadGame+32
	stwr %r1,messageToPrint
	ldafr %r2,.rodata+5063
	stdr %r2,messageString
;M_LoadGame+48
	stdr %gz,messageRoutine
	stwr %gz,messageNeedsInput
	stwr %r1,menuactive
;M_LoadGame+64
	retf 0
	nop 0
	nop 0
;M_LoadGame+80
	ldhzr %r1,LoadDef+36
	ldafr %r2,LoadDef
	stdr %r2,currentMenu
;M_LoadGame+96
	sthr %r1,itemOn
	callr %r3,M_ReadSaveStrings
	retf 0
;M_SaveGame
	alloc 4
	ldwzr %r1,usergame
	bweq %r1,%gz,M_SaveGame+32
;M_SaveGame+16
	ldwzr %r1,gamestate
	bweq %r1,%gz,M_SaveGame+96
	retf 0
;M_SaveGame+32
	ldwzr %r1,menuactive
	stwr %r1,messageLastMenuActive
	ldi %r1,1
;M_SaveGame+48
	stwr %r1,messageToPrint
	ldafr %r2,.rodata+13826
	stdr %r2,messageString
;M_SaveGame+64
	stdr %gz,messageRoutine
	stwr %gz,messageNeedsInput
	stwr %r1,menuactive
;M_SaveGame+80
	retf 0
	nop 0
	nop 0
;M_SaveGame+96
	ldhzr %r1,SaveDef+36
	ldafr %r2,SaveDef
	stdr %r2,currentMenu
;M_SaveGame+112
	sthr %r1,itemOn
	callr %r3,M_ReadSaveStrings
	retf 0
;M_ReadThis
	alloc 3
	ldhzr %r1,ReadDef1+36
	ldafr %r2,ReadDef1
;M_ReadThis+16
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_QuitDOOM
	allocsp 9,16
	ldwzr %r1,gamemission
	ldwzr %r2,gametic
;M_QuitDOOM+16
	andi %r1,%r1,-5
	ldafr %r3,doom2_endmsg
	ldafr %r4,doom1_endmsg
;M_QuitDOOM+32
	cmovweq %r1,%r1,%r4,%r3
	sraiw %r3,%r2,31
	srliw %r3,%r3,29
;M_QuitDOOM+48
	addws %r3,%r2,%r3
	andi %r3,%r3,-8
	subws %r2,%r2,%r3
;M_QuitDOOM+64
	lddzx.xw %r2,%r1,%r2,3,0
	ldafr %r1,endstring
	ldafr %r8,.rodata+7145
;M_QuitDOOM+80
	ldi %r7,160
	std %r2,%sp,0
	mov %r6,%r1
;M_QuitDOOM+96
	callr %r5,snprintf
	ldwzr %r2,menuactive
	stwr %r2,messageLastMenuActive
;M_QuitDOOM+112
	ldi %r2,1
	stwr %r2,messageToPrint
	stdr %r1,messageString
;M_QuitDOOM+128
	ldar %r1,M_QuitResponse
	stdr %r1,messageRoutine
	stwr %r2,messageNeedsInput
;M_QuitDOOM+144
	stwr %r2,menuactive
	retf 16
	nop 0
;M_DrawMainMenu
	alloc 5
	ldafr %r3,.rodata+22025
	ldi %r4,8
;M_DrawMainMenu+16
	callr %r2,W_CacheLumpName
	mov %r4,%r3
	ldi %r2,94
;M_DrawMainMenu+32
	ldi %r3,2
	callr %r1,V_DrawPatchDirect
	retf 0
;M_Episode
	alloc 8
	ldwzr %r2,gamemode
	bweq %r1,%gz,M_Episode+80
;M_Episode+16
	bwne %r2,%gz,M_Episode+80
	ldwzr %r1,menuactive
	stwr %r1,messageLastMenuActive
;M_Episode+32
	ldi %r1,1
	stwr %r1,messageToPrint
	ldafr %r2,.rodata+3416
;M_Episode+48
	stdr %r2,messageString
	stdr %gz,messageRoutine
	stwr %gz,messageNeedsInput
;M_Episode+64
	stwr %r1,menuactive
	ldafr %r1,ReadDef1
	jmp M_Episode+112
;M_Episode+80
	bwlti %r1,3,M_Episode+96
	bweqi %r2,1,M_Episode+144
	nop 0
;M_Episode+96
	stwr %r1,epi
	ldafr %r1,NewDef
	nop 0
;M_Episode+112
	ldhz %r2,%r1,36
	stdr %r1,currentMenu
	sthr %r2,itemOn
;M_Episode+128
	retf 0
	nop 0
	nop 0
;M_Episode+144
	lddzr %r7,stderr
	ldafr %r4,.rodata+10251
	ldi %r5,45
;M_Episode+160
	ldi %r6,1
	callr %r3,fwrite_unlocked
	mov %r1,%gz
;M_Episode+176
	jmp M_Episode+96
	nop 0
	nop 0
;M_DrawEpisode
	alloc 5
	ldafr %r3,.rodata+4147
	ldi %r4,8
;M_DrawEpisode+16
	callr %r2,W_CacheLumpName
	mov %r4,%r3
	ldi %r2,54
;M_DrawEpisode+32
	ldi %r3,38
	callr %r1,V_DrawPatchDirect
	retf 0
;M_ChooseSkill
	alloc 7
	bwnei %r1,4,M_ChooseSkill+80
	ldwzr %r1,menuactive
;M_ChooseSkill+16
	stwr %r1,messageLastMenuActive
	ldi %r1,1
	stwr %r1,messageToPrint
;M_ChooseSkill+32
	ldafr %r2,.rodata+7073
	stdr %r2,messageString
	ldar %r2,M_VerifyNightmare
;M_ChooseSkill+48
	stdr %r2,messageRoutine
	stwr %r1,messageNeedsInput
	stwr %r1,menuactive
;M_ChooseSkill+64
	retf 0
	nop 0
	nop 0
;M_ChooseSkill+80
	ldwzr %r2,epi
	addiws %r5,%r2,1
	ldi %r6,1
;M_ChooseSkill+96
	mov %r4,%r1
	callr %r3,G_DeferedInitNew
	stwr %gz,menuactive
;M_ChooseSkill+112
	retf 0
	nop 0
	nop 0
;M_DrawNewGame
	alloc 6
	ldafr %r4,.rodata+17589
	ldi %r1,8
;M_DrawNewGame+16
	mov %r5,%r1
	callr %r3,W_CacheLumpName
	mov %r5,%r4
;M_DrawNewGame+32
	ldi %r3,96
	ldi %r4,14
	callr %r2,V_DrawPatchDirect
;M_DrawNewGame+48
	ldafr %r4,.rodata+3408
	mov %r5,%r1
	callr %r3,W_CacheLumpName
;M_DrawNewGame+64
	mov %r5,%r4
	ldi %r3,54
	ldi %r4,38
;M_DrawNewGame+80
	callr %r2,V_DrawPatchDirect
	retf 0
	nop 0
;M_EndGame
	alloc 6
	ldwzr %r1,usergame
	bweq %r1,%gz,M_EndGame+80
;M_EndGame+16
	ldwzr %r1,menuactive
	ldwzr %r2,netgame
	stwr %r1,messageLastMenuActive
;M_EndGame+32
	ldi %r1,1
	stwr %r1,messageToPrint
	bweq %r2,%gz,M_EndGame+112
;M_EndGame+48
	ldafr %r2,.rodata+16755
	stdr %r2,messageString
	stdr %gz,messageRoutine
;M_EndGame+64
	stwr %gz,messageNeedsInput
	stwr %r1,menuactive
	retf 0
;M_EndGame+80
	ldi %r5,34
	mov %r4,%gz
	callr %r3,S_StartSound
;M_EndGame+96
	retf 0
	nop 0
	nop 0
;M_EndGame+112
	ldafr %r2,.rodata+25658
	stdr %r2,messageString
	ldar %r2,M_EndGameResponse
;M_EndGame+128
	stdr %r2,messageRoutine
	stwr %r1,messageNeedsInput
	stwr %r1,menuactive
;M_EndGame+144
	retf 0
	nop 0
	nop 0
;M_ChangeMessages
	alloc 5
	ldwzr %r1,showMessages
	ldwsr %r2,consoleplayer
;M_ChangeMessages+16
	subfiws %r3,%r1,1
	stwr %r3,showMessages
	cmpweqi %r1,%r1,1
;M_ChangeMessages+32
	ldafr %r3,.rodata+21132
	ldafr %r4,.rodata+23549
	muli %r2,%r2,328
;M_ChangeMessages+48
	cmovlsb %r1,%r1,%r4,%r3
	ldafr %r3,players+232
	stdx.xd %r1,%r2,%r3,0,0
;M_ChangeMessages+64
	ldi %r1,1
	stwr %r1,message_dontfuckwithme
	retf 0
;M_ChangeDetail
	alloc 8
	ldwzr %r1,detailLevel
	subfiws %r7,%r1,1
;M_ChangeDetail+16
	stwr %r7,detailLevel
	ldwzr %r6,screenblocks
	callr %r5,R_SetViewSize
;M_ChangeDetail+32
	ldwzr %r1,detailLevel
	ldwsr %r2,consoleplayer
	ldafr %r3,.rodata+5182
;M_ChangeDetail+48
	ldafr %r4,.rodata+3508
	muli %r2,%r2,328
	cmovweq %r1,%r1,%r4,%r3
;M_ChangeDetail+64
	ldafr %r3,players+232
	stdx.xd %r1,%r2,%r3,0,0
	retf 0
;M_SizeDisplay
	alloc 5
	bweq %r1,%gz,M_SizeDisplay+64
	bwnei %r1,1,M_SizeDisplay+112
;M_SizeDisplay+16
	ldwzr %r1,screenSize
	ldwzr %r3,screenblocks
	bwgei %r1,8,M_SizeDisplay+128
;M_SizeDisplay+32
	addiws %r3,%r3,1
	stwr %r3,screenblocks
	addiws %r1,%r1,1
;M_SizeDisplay+48
	jmp M_SizeDisplay+96
	nop 0
	nop 0
;M_SizeDisplay+64
	ldwzr %r1,screenSize
	ldwzr %r3,screenblocks
	bwlti %r1,1,M_SizeDisplay+128
;M_SizeDisplay+80
	addiws %r3,%r3,-1
	stwr %r3,screenblocks
	addiws %r1,%r1,-1
;M_SizeDisplay+96
	stwr %r1,screenSize
	jmp M_SizeDisplay+128
	nop 0
;M_SizeDisplay+112
	ldwzr %r3,screenblocks
	nop 0
	nop 0
;M_SizeDisplay+128
	ldwzr %r4,detailLevel
	callr %r2,R_SetViewSize
	retf 0
;M_ChangeSensitivity
	alloc 2
	bweqi %r1,1,M_ChangeSensitivity+48
	bwne %r1,%gz,M_ChangeSensitivity+80
;M_ChangeSensitivity+16
	ldwzr %r1,mouseSensitivity
	bweq %r1,%gz,M_ChangeSensitivity+80
	addiws %r1,%r1,-1
;M_ChangeSensitivity+32
	jmp M_ChangeSensitivity+64
	nop 0
	nop 0
;M_ChangeSensitivity+48
	ldwzr %r1,mouseSensitivity
	bwgei %r1,9,M_ChangeSensitivity+80
	addiws %r1,%r1,1
;M_ChangeSensitivity+64
	stwr %r1,mouseSensitivity
	nop 0
	nop 0
;M_ChangeSensitivity+80
	retf 0
	nop 0
	nop 0
;M_Sound
	alloc 3
	ldhzr %r1,SoundDef+36
	ldafr %r2,SoundDef
;M_Sound+16
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_DrawOptions
	alloc 12
	ldafr %r10,.rodata+2688
	ldi %r1,8
;M_DrawOptions+16
	mov %r11,%r1
	callr %r9,W_CacheLumpName
	mov %r11,%r10
;M_DrawOptions+32
	ldi %r9,108
	ldi %r10,15
	callr %r8,V_DrawPatchDirect
;M_DrawOptions+48
	ldwsr %r2,detailLevel
	ldhsr %r3,OptionsDef+32
	ldhsr %r4,OptionsDef+34
;M_DrawOptions+64
	ldafr %r5,detailNames.rel
	ldwsx.xd %r6,%r5,%r2,2,0
	addiws %r2,%r3,175
;M_DrawOptions+80
	addiws %r3,%r4,32
	add %r10,%r6,%r5
	mov %r11,%r1
;M_DrawOptions+96
	callr %r9,W_CacheLumpName
	mov2 %r11,%r9,%r10,%r2
	mov %r10,%r3
;M_DrawOptions+112
	callr %r8,V_DrawPatchDirect
	ldwsr %r2,showMessages
	ldhsr %r3,OptionsDef+32
;M_DrawOptions+128
	ldhsr %r4,OptionsDef+34
	ldafr %r5,msgNames.rel
	ldwsx.xd %r6,%r5,%r2,2,0
;M_DrawOptions+144
	addiws %r2,%r3,120
	addiws %r3,%r4,16
	add %r10,%r6,%r5
;M_DrawOptions+160
	mov %r11,%r1
	callr %r9,W_CacheLumpName
	mov2 %r11,%r9,%r10,%r2
;M_DrawOptions+176
	mov %r10,%r3
	callr %r8,V_DrawPatchDirect
	ldhsr %r1,OptionsDef+34
;M_DrawOptions+192
	ldhsr %r8,OptionsDef+32
	addiws %r9,%r1,96
	ldwzr %r11,mouseSensitivity
;M_DrawOptions+208
	ldi %r10,10
	callr %r7,M_DrawThermo
	ldhsr %r1,OptionsDef+34
;M_DrawOptions+224
	ldhsr %r8,OptionsDef+32
	addiws %r9,%r1,64
	ldwzr %r11,screenSize
;M_DrawOptions+240
	ldi %r10,9
	callr %r7,M_DrawThermo
	retf 0
;M_ReadThis2
	alloc 5
	ldwzr %r1,gameversion
	ldwzr %r2,gamemode
;M_ReadThis2+16
	cmpwltui %r1,%r1,5
	cmpwnei %r2,%r2,2
	and %r1,%r1,%r2
;M_ReadThis2+32
	ldafr %r2,MainDef
	ldafr %r3,ReadDef2
	cmovlsb %r2,%r1,%r3,%r2
;M_ReadThis2+48
	ldafr %r3,MainDef+36
	ldafr %r4,ReadDef2+36
	stdr %r2,currentMenu
;M_ReadThis2+64
	cmovlsb %r1,%r1,%r4,%r3
	ldhz %r1,%r1,0
	sthr %r1,itemOn
;M_ReadThis2+80
	retf 0
	nop 0
	nop 0
;M_DrawReadThis1
	alloc 12
	ldwzr %r1,gameversion
	ldi %r4,1
;M_DrawReadThis1+16
	stwr %r4,inhelpscreens
	ldi %r2,175
	ldi %r3,330
;M_DrawReadThis1+32
	bwgeui %r1,10,M_DrawReadThis1+176
	sllw %r1,%r4,%r1
	andi %r4,%r1,62
;M_DrawReadThis1+48
	bweq %r4,%gz,M_DrawReadThis1+128
	ldwzr %r1,gamemode
	cmpweqi %r1,%r1,2
;M_DrawReadThis1+64
	ldafr %r2,.rodata+11065
	ldafr %r3,.rodata+22020
	ldi %r4,280
;M_DrawReadThis1+80
	ldi %r5,330
	ldi %r6,185
	ldi %r7,165
;M_DrawReadThis1+96
	cmovlsb %r10,%r1,%r3,%r2
	cmovlsb %r3,%r1,%r5,%r4
	cmovlsb %r2,%r1,%r7,%r6
;M_DrawReadThis1+112
	jmp M_DrawReadThis1+192
	nop 0
	nop 0
;M_DrawReadThis1+128
	andi %r4,%r1,384
	bwne %r4,%gz,M_DrawReadThis1+160
	andi %r1,%r1,576
;M_DrawReadThis1+144
	bweq %r1,%gz,M_DrawReadThis1+176
	ldafr %r10,.rodata+8409
	jmp M_DrawReadThis1+192
;M_DrawReadThis1+160
	ldafr %r10,.rodata+22020
	jmp M_DrawReadThis1+192
	nop 0
;M_DrawReadThis1+176
	ldafr %r11,.rodata+12487
	callr %r10,I_Error
	ldafr %r10,.rodata+10578
;M_DrawReadThis1+192
	ldi %r11,8
	callr %r9,W_CacheLumpName
	mov2 %r11,%r9,%r10,%gz
;M_DrawReadThis1+208
	mov %r10,%gz
	callr %r8,V_DrawPatchDirect
	sthr %r3,ReadDef1+32
;M_DrawReadThis1+224
	sthr %r2,ReadDef1+34
	retf 0
	nop 0
;M_FinishReadThis
	alloc 3
	ldhzr %r1,MainDef+36
	ldafr %r2,MainDef
;M_FinishReadThis+16
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_DrawReadThis2
	alloc 6
	ldi %r1,1
	stwr %r1,inhelpscreens
;M_DrawReadThis2+16
	ldafr %r4,.rodata+8409
	ldi %r5,8
	callr %r3,W_CacheLumpName
;M_DrawReadThis2+32
	mov2 %r5,%r3,%r4,%gz
	mov %r4,%gz
	callr %r2,V_DrawPatchDirect
;M_DrawReadThis2+48
	retf 0
	nop 0
	nop 0
;M_SfxVol
	alloc 5
	ldwzr %r2,sfxVolume
	bweqi %r1,1,M_SfxVol+48
;M_SfxVol+16
	bwne %r1,%gz,M_SfxVol+96
	bweq %r2,%gz,M_SfxVol+80
	ldi %r1,-1
;M_SfxVol+32
	jmp M_SfxVol+64
	nop 0
	nop 0
;M_SfxVol+48
	bwgei %r2,15,M_SfxVol+96
	ldi %r1,1
	nop 0
;M_SfxVol+64
	addws %r2,%r2,%r1
	stwr %r2,sfxVolume
	jmp M_SfxVol+96
;M_SfxVol+80
	mov %r2,%gz
	nop 0
	nop 0
;M_SfxVol+96
	slliw %r4,%r2,3
	callr %r3,S_SetSfxVolume
	retf 0
;M_MusicVol
	alloc 5
	ldwzr %r2,musicVolume
	bweqi %r1,1,M_MusicVol+48
;M_MusicVol+16
	bwne %r1,%gz,M_MusicVol+96
	bweq %r2,%gz,M_MusicVol+80
	ldi %r1,-1
;M_MusicVol+32
	jmp M_MusicVol+64
	nop 0
	nop 0
;M_MusicVol+48
	bwgei %r2,15,M_MusicVol+96
	ldi %r1,1
	nop 0
;M_MusicVol+64
	addws %r2,%r2,%r1
	stwr %r2,musicVolume
	jmp M_MusicVol+96
;M_MusicVol+80
	mov %r2,%gz
	nop 0
	nop 0
;M_MusicVol+96
	slliw %r4,%r2,3
	callr %r3,S_SetMusicVolume
	retf 0
;M_DrawSound
	alloc 8
	ldafr %r6,.rodata+7066
	ldi %r7,8
;M_DrawSound+16
	callr %r5,W_CacheLumpName
	mov %r7,%r6
	ldi %r5,60
;M_DrawSound+32
	ldi %r6,38
	callr %r4,V_DrawPatchDirect
	ldhsr %r1,SoundDef+34
;M_DrawSound+48
	ldhsr %r4,SoundDef+32
	addiws %r5,%r1,16
	ldwzr %r7,sfxVolume
;M_DrawSound+64
	ldi %r1,16
	mov %r6,%r1
	callr %r3,M_DrawThermo
;M_DrawSound+80
	ldhsr %r2,SoundDef+34
	ldhsr %r4,SoundDef+32
	addiws %r5,%r2,48
;M_DrawSound+96
	ldwzr %r7,musicVolume
	mov %r6,%r1
	callr %r3,M_DrawThermo
;M_DrawSound+112
	retf 0
	nop 0
	nop 0
;M_LoadSelect
	allocsp 6,256
	mov %r5,%r1
	callr %r4,P_SaveGameFile
;M_LoadSelect+16
	mov %r4,%r5
	addi %r1,%sp,0
	ldi %r5,256
;M_LoadSelect+32
	mov %r3,%r1
	callr %r2,M_StringCopy
	mov %r5,%r1
;M_LoadSelect+48
	callr %r4,G_LoadGame
	stwr %gz,menuactive
	retf 256
;M_DrawLoad
	alloc 8
	ldafr %r6,.rodata+12479
	ldi %r7,8
;M_DrawLoad+16
	callr %r5,W_CacheLumpName
	mov %r7,%r6
	ldi %r5,72
;M_DrawLoad+32
	ldi %r6,28
	callr %r4,V_DrawPatchDirect
	mov %r3,%gz
;M_DrawLoad+48
	ldafr %r1,savegamestrings
	nop 0
	nop 0
;M_DrawLoad+64
	ldhsr %r2,LoadDef+34
	ldhsr %r6,LoadDef+32
	sladdws %r7,%r2,%r3,4
;M_DrawLoad+80
	callr %r5,M_DrawSaveLoadBorder
	ldhsr %r2,LoadDef+34
	ldhsr %r5,LoadDef+32
;M_DrawLoad+96
	sladdws %r6,%r2,%r3,4
	mov %r7,%r1
	callr %r4,M_WriteText
;M_DrawLoad+112
	addi %r3,%r3,1
	addi %r1,%r1,24
	bdnei %r3,6,M_DrawLoad+64
;M_DrawLoad+128
	retf 0
	nop 0
	nop 0
;M_SaveSelect
	alloc 7
	ldi %r2,1
	stwr %r2,saveStringEnter
;M_SaveSelect+16
	stwr %r1,saveSlot
	sraiw %r1,%r1,0
	ldafr %r2,savegamestrings
;M_SaveSelect+32
	ldi %r6,24
	muladd %r1,%r1,%r6,%r2
	ldafr %r4,saveOldString
;M_SaveSelect+48
	mov %r5,%r1
	callr %r3,M_StringCopy
	ldafr %r6,.rodata+15354
;M_SaveSelect+64
	mov %r5,%r1
	callr %r4,strcmp
	bwne %r5,%gz,M_SaveSelect+96
;M_SaveSelect+80
	stb %gz,%r1,0
	nop 0
	nop 0
;M_SaveSelect+96
	mov %r6,%r1
	callr %r5,strlen
	stwr %r6,saveCharIndex
;M_SaveSelect+112
	retf 0
	nop 0
	nop 0
;M_DrawSave
	alloc 9
	ldafr %r7,.rodata+16747
	ldi %r8,8
;M_DrawSave+16
	callr %r6,W_CacheLumpName
	mov %r8,%r7
	ldi %r6,72
;M_DrawSave+32
	ldi %r7,28
	callr %r5,V_DrawPatchDirect
	mov %r3,%gz
;M_DrawSave+48
	ldafr %r1,savegamestrings
	nop 0
	nop 0
;M_DrawSave+64
	ldhsr %r2,LoadDef+34
	ldhsr %r7,LoadDef+32
	sladdws %r8,%r2,%r3,4
;M_DrawSave+80
	callr %r6,M_DrawSaveLoadBorder
	ldhsr %r2,LoadDef+34
	ldhsr %r6,LoadDef+32
;M_DrawSave+96
	sladdws %r7,%r2,%r3,4
	mov %r8,%r1
	callr %r5,M_WriteText
;M_DrawSave+112
	addi %r3,%r3,1
	addi %r1,%r1,24
	bdnei %r3,6,M_DrawSave+64
;M_DrawSave+128
	ldwzr %r1,saveStringEnter
	bweq %r1,%gz,M_DrawSave+208
	ldwzr %r2,saveSlot
;M_DrawSave+144
	sraiw %r1,%r2,0
	ldafr %r3,savegamestrings
	ldi %r4,24
;M_DrawSave+160
	muladd %r8,%r1,%r4,%r3
	callr %r7,M_StringWidth
	ldhsr %r1,LoadDef+32
;M_DrawSave+176
	ldhsr %r3,LoadDef+34
	addws %r6,%r8,%r1
	sladdws %r7,%r3,%r2,4
;M_DrawSave+192
	ldafr %r8,.rodata+14479
	callr %r5,M_WriteText
	nop 0
;M_DrawSave+208
	retf 0
	nop 0
	nop 0
;M_ReadSaveStrings
	allocsp 17,256
	mov %r1,%gz
	ldafr %r11,LoadMenu
;M_ReadSaveStrings+16
	ldafr %r2,savegamestrings
	addi %r3,%sp,0
	ldi %r4,256
;M_ReadSaveStrings+32
	ldafr %r5,.rodata+12248
	ldafr %r6,.rodata+15354
	ldi %r7,24
;M_ReadSaveStrings+48
	ldi %r8,1
	jmp M_ReadSaveStrings+144
	nop 0
;M_ReadSaveStrings+64
	mov2 %r9,%r13,%r15,%r2
	mov2 %r14,%r15,%r8,%r7
	mov %r16,%r9
;M_ReadSaveStrings+80
	callr %r12,fread_unlocked
	mov %r16,%r9
	callr %r15,fclose
;M_ReadSaveStrings+96
	mov %r9,%r8
	nop 0
	nop 0
;M_ReadSaveStrings+112
	sth %r9,%r11,0
	addi %r1,%r1,1
	addi %r11,%r11,32
;M_ReadSaveStrings+128
	addi %r2,%r2,24
	bdeqi %r1,6,M_ReadSaveStrings+224
	nop 0
;M_ReadSaveStrings+144
	mov %r16,%r1
	callr %r15,P_SaveGameFile
	mov2 %r15,%r14,%r16,%r3
;M_ReadSaveStrings+160
	mov %r16,%r4
	callr %r13,M_StringCopy
	mov2 %r15,%r16,%r3,%r5
;M_ReadSaveStrings+176
	callr %r14,fopen
	bdne %r15,%gz,M_ReadSaveStrings+64
	mov2 %r14,%r15,%r2,%r6
;M_ReadSaveStrings+192
	mov %r16,%r7
	callr %r13,M_StringCopy
	mov %r9,%gz
;M_ReadSaveStrings+208
	jmp M_ReadSaveStrings+112
	nop 0
	nop 0
;M_ReadSaveStrings+224
	retf 256
	nop 0
	nop 0
;M_DrawSaveLoadBorder
	alloc 11
	addiws %r4,%r1,-8
	addiws %r2,%r2,7
;M_DrawSaveLoadBorder+16
	ldafr %r9,.rodata+10916
	ldi %r3,8
	mov %r10,%r3
;M_DrawSaveLoadBorder+32
	callr %r8,W_CacheLumpName
	mov2 %r10,%r8,%r9,%r4
	mov %r9,%r2
;M_DrawSaveLoadBorder+48
	callr %r7,V_DrawPatchDirect
	mov %r5,%gz
	ldafr %r4,.rodata+8400
;M_DrawSaveLoadBorder+64
	mov2 %r6,%r9,%r5,%r4
	mov %r10,%r3
	callr %r8,W_CacheLumpName
;M_DrawSaveLoadBorder+80
	mov2 %r10,%r8,%r9,%r1
	mov %r9,%r2
	callr %r7,V_DrawPatchDirect
;M_DrawSaveLoadBorder+96
	addiws %r1,%r1,8
	addiws %r5,%r5,1
	bwltui %r6,23,M_DrawSaveLoadBorder+64
;M_DrawSaveLoadBorder+112
	ldafr %r9,.rodata+15365
	ldi %r10,8
	callr %r8,W_CacheLumpName
;M_DrawSaveLoadBorder+128
	mov2 %r10,%r8,%r9,%r1
	mov %r9,%r2
	callr %r7,V_DrawPatchDirect
;M_DrawSaveLoadBorder+144
	retf 0
	nop 0
	nop 0
;M_WriteText
	alloc 11
	ldafr %r5,hu_font
	nop 0
;M_WriteText+16
	addi %r3,%r3,1
	mov %r8,%r1
	ldbz %r4,%r3,-1
;M_WriteText+32
	bwne %r4,%gz,M_WriteText+80
	jmp M_WriteText+208
	nop 0
;M_WriteText+48
	addiws %r8,%r8,4
	addi %r3,%r3,1
	ldbz %r4,%r3,-1
;M_WriteText+64
	bweq %r4,%gz,M_WriteText+208
	nop 0
	nop 0
;M_WriteText+80
	bweqi %r4,10,M_WriteText+192
	slsrai %r10,%r4,56,56
	callr %r9,toupper
;M_WriteText+96
	addiws %r4,%r10,-96
	bwltui.l %r4,1099511627713,M_WriteText+48
;M_WriteText+112
	addiws %r4,%r10,-33
	lddzx.xuw %r10,%r5,%r4,3,0
	ldbs %r4,%r10,1
;M_WriteText+128
	ldbz %r6,%r10,0
	slor %r4,%r6,%r4,8
	addws %r6,%r8,%r4
;M_WriteText+144
	bwgei %r6,321,M_WriteText+208
	mov %r9,%r2
	callr %r7,V_DrawPatchDirect
;M_WriteText+160
	addi %r3,%r3,1
	mov %r8,%r6
	ldbz %r4,%r3,-1
;M_WriteText+176
	bwne %r4,%gz,M_WriteText+80
	jmp M_WriteText+208
	nop 0
;M_WriteText+192
	addiws %r2,%r2,12
	jmp M_WriteText+16
	nop 0
;M_WriteText+208
	retf 0
	nop 0
	nop 0
;M_ClearMenus
	alloc 1
	stwr %gz,menuactive
	retf 0
;M_StartMessage
	alloc 5
	ldwzr %r4,menuactive
	stwr %r4,messageLastMenuActive
;M_StartMessage+16
	ldi %r4,1
	stwr %r4,messageToPrint
	stdr %r1,messageString
;M_StartMessage+32
	stdr %r2,messageRoutine
	stwr %r3,messageNeedsInput
	stwr %r4,menuactive
;M_StartMessage+48
	retf 0
	nop 0
	nop 0
;M_SetupNextMenu
	alloc 2
	stdr %r1,currentMenu
	ldhz %r1,%r1,36
;M_SetupNextMenu+16
	sthr %r1,itemOn
	retf 0
	nop 0
;M_StringWidth
	alloc 10
	mov %r9,%r1
	callr %r8,strlen
;M_StringWidth+16
	bdeq %r9,%gz,M_StringWidth+160
	mov2 %r2,%r3,%r9,%gz
	ldi %r5,4
;M_StringWidth+32
	ldafr %r6,hu_font
	jmp M_StringWidth+80
	nop 0
;M_StringWidth+48
	addws %r3,%r3,%r4
	addi %r2,%r2,-1
	addi %r1,%r1,1
;M_StringWidth+64
	bdeq %r2,%gz,M_StringWidth+144
	nop 0
	nop 0
;M_StringWidth+80
	ldbs %r9,%r1,0
	callr %r8,toupper
	addiws %r7,%r9,-96
;M_StringWidth+96
	mov %r4,%r5
	bwltui.l %r7,4294967233,M_StringWidth+48
;M_StringWidth+112
	addiws %r4,%r9,-33
	lddzx.xuw %r4,%r6,%r4,3,0
	ldbs %r7,%r4,1
;M_StringWidth+128
	ldbz %r4,%r4,0
	slor %r4,%r4,%r7,8
	jmp M_StringWidth+48
;M_StringWidth+144
	mov %r1,%r3
	retf 0
	nop 0
;M_StringWidth+160
	mov %r1,%gz
	retf 0
	nop 0
;M_DoSave
	alloc 8
	sraiw %r2,%r1,0
	ldafr %r3,savegamestrings
;M_DoSave+16
	ldi %r4,24
	muladd %r7,%r2,%r4,%r3
	mov %r6,%r1
;M_DoSave+32
	callr %r5,G_SaveGame
	ldwzr %r2,quickSaveSlot
	stwr %gz,menuactive
;M_DoSave+48
	bwnei %r2,-2,M_DoSave+64
	stwr %r1,quickSaveSlot
	nop 0
;M_DoSave+64
	retf 0
	nop 0
	nop 0
;M_QuickSaveResponse
	alloc 8
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_QuickSaveResponse+96
;M_QuickSaveResponse+16
	ldwzr %r1,quickSaveSlot
	sraiw %r2,%r1,0
	ldafr %r3,savegamestrings
;M_QuickSaveResponse+32
	ldi %r4,24
	muladd %r7,%r2,%r4,%r3
	mov %r6,%r1
;M_QuickSaveResponse+48
	callr %r5,G_SaveGame
	ldwzr %r2,quickSaveSlot
	stwr %gz,menuactive
;M_QuickSaveResponse+64
	bwnei %r2,-2,M_QuickSaveResponse+80
	stwr %r1,quickSaveSlot
	nop 0
;M_QuickSaveResponse+80
	ldi %r7,24
	mov %r6,%gz
	callr %r5,S_StartSound
;M_QuickSaveResponse+96
	retf 0
	nop 0
	nop 0
;M_QuickSave
	allocsp 8,16
	ldwzr %r1,usergame
	bweq %r1,%gz,M_QuickSave+32
;M_QuickSave+16
	ldwzr %r1,gamestate
	bweq %r1,%gz,M_QuickSave+64
	retf 16
;M_QuickSave+32
	ldi %r7,34
	mov %r6,%gz
	callr %r5,S_StartSound
;M_QuickSave+48
	retf 16
	nop 0
	nop 0
;M_QuickSave+64
	ldwzr %r1,quickSaveSlot
	bwlti %r1,0,M_QuickSave+192
	srliw %r1,%r1,0
;M_QuickSave+80
	ldafr %r2,savegamestrings
	ldi %r3,24
	muladd %r2,%r1,%r3,%r2
;M_QuickSave+96
	ldafr %r1,tempstring
	ldafr %r7,.rodata+5705
	ldi %r6,80
;M_QuickSave+112
	std %r2,%sp,0
	mov %r5,%r1
	callr %r4,snprintf
;M_QuickSave+128
	ldwzr %r2,menuactive
	stwr %r2,messageLastMenuActive
	ldi %r2,1
;M_QuickSave+144
	stwr %r2,messageToPrint
	stdr %r1,messageString
	ldar %r1,M_QuickSaveResponse
;M_QuickSave+160
	stdr %r1,messageRoutine
	stwr %r2,messageNeedsInput
	stwr %r2,menuactive
;M_QuickSave+176
	retf 16
	nop 0
	nop 0
;M_QuickSave+192
	ldwzr %r1,menuactive
	bwne %r1,%gz,M_QuickSave+240
	ldhzr %r1,MainDef+36
;M_QuickSave+208
	ldi %r2,1
	stwr %r2,menuactive
	ldafr %r2,MainDef
;M_QuickSave+224
	stdr %r2,currentMenu
	sthr %r1,itemOn
	nop 0
;M_QuickSave+240
	callr %r7,M_ReadSaveStrings
	ldhzr %r1,SaveDef+36
	ldafr %r2,SaveDef
;M_QuickSave+256
	stdr %r2,currentMenu
	sthr %r1,itemOn
	ldi %r1,-2
;M_QuickSave+272
	stwr %r1,quickSaveSlot
	retf 16
	nop 0
;M_StartControlPanel
	alloc 3
	ldwzr %r1,menuactive
	bweq %r1,%gz,M_StartControlPanel+32
;M_StartControlPanel+16
	retf 0
	nop 0
	nop 0
;M_StartControlPanel+32
	ldhzr %r1,MainDef+36
	ldi %r2,1
	stwr %r2,menuactive
;M_StartControlPanel+48
	ldafr %r2,MainDef
	stdr %r2,currentMenu
	sthr %r1,itemOn
;M_StartControlPanel+64
	retf 0
	nop 0
	nop 0
;M_QuickLoadResponse
	allocsp 7,256
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_QuickLoadResponse+96
;M_QuickLoadResponse+16
	ldwzr %r6,quickSaveSlot
	callr %r5,P_SaveGameFile
	mov %r5,%r6
;M_QuickLoadResponse+32
	addi %r1,%sp,0
	ldi %r6,256
	mov %r4,%r1
;M_QuickLoadResponse+48
	callr %r3,M_StringCopy
	mov %r6,%r1
	callr %r5,G_LoadGame
;M_QuickLoadResponse+64
	stwr %gz,menuactive
	ldi %r6,24
	mov %r5,%gz
;M_QuickLoadResponse+80
	callr %r4,S_StartSound
	nop 0
	nop 0
;M_QuickLoadResponse+96
	retf 256
	nop 0
	nop 0
;M_QuickLoad
	allocsp 10,16
	ldwzr %r1,netgame
	ldi %r3,1
;M_QuickLoad+16
	bweq %r1,%gz,M_QuickLoad+48
	mov2 %r2,%r4,%gz,%gz
	ldafr %r1,.rodata+4095
;M_QuickLoad+32
	jmp M_QuickLoad+144
	nop 0
	nop 0
;M_QuickLoad+48
	ldwzr %r1,quickSaveSlot
	bwlt %r1,%gz,M_QuickLoad+128
	srliw %r1,%r1,0
;M_QuickLoad+64
	ldafr %r2,savegamestrings
	ldi %r4,24
	muladd %r2,%r1,%r4,%r2
;M_QuickLoad+80
	ldafr %r1,tempstring
	ldafr %r9,.rodata+15374
	ldi %r8,80
;M_QuickLoad+96
	std %r2,%sp,0
	mov %r7,%r1
	callr %r6,snprintf
;M_QuickLoad+112
	ldar %r2,M_QuickLoadResponse
	mov %r4,%r3
	jmp M_QuickLoad+144
;M_QuickLoad+128
	mov2 %r2,%r4,%gz,%gz
	ldafr %r1,.rodata+6428
	nop 0
;M_QuickLoad+144
	ldwzr %r5,menuactive
	stwr %r5,messageLastMenuActive
	stwr %r3,messageToPrint
;M_QuickLoad+160
	stdr %r1,messageString
	stdr %r2,messageRoutine
	stwr %r4,messageNeedsInput
;M_QuickLoad+176
	stwr %r3,menuactive
	retf 16
	nop 0
;M_DrawThermo
	alloc 14
	ldafr %r12,.rodata+6483
	ldi %r13,8
;M_DrawThermo+16
	callr %r11,W_CacheLumpName
	mov2 %r13,%r11,%r12,%r1
	mov %r12,%r2
;M_DrawThermo+32
	callr %r10,V_DrawPatchDirect
	addiws %r8,%r1,8
	mov %r1,%r8
;M_DrawThermo+48
	bwlti %r3,1,M_DrawThermo+128
	mov %r9,%gz
	ldafr %r5,.rodata+19137
;M_DrawThermo+64
	ldi %r6,8
	mov %r1,%r8
	nop 0
;M_DrawThermo+80
	mov2 %r12,%r13,%r5,%r6
	callr %r11,W_CacheLumpName
	mov2 %r13,%r11,%r12,%r1
;M_DrawThermo+96
	mov %r12,%r2
	callr %r10,V_DrawPatchDirect
	addiws %r9,%r9,1
;M_DrawThermo+112
	addiws %r1,%r1,8
	bwlt %r9,%r3,M_DrawThermo+80
	nop 0
;M_DrawThermo+128
	ldafr %r12,.rodata+13878
	ldi %r3,8
	mov %r13,%r3
;M_DrawThermo+144
	callr %r11,W_CacheLumpName
	mov2 %r13,%r11,%r12,%r1
	mov %r12,%r2
;M_DrawThermo+160
	callr %r10,V_DrawPatchDirect
	sladdws %r1,%r8,%r4,3
	ldafr %r12,.rodata+28667
;M_DrawThermo+176
	mov %r13,%r3
	callr %r11,W_CacheLumpName
	mov2 %r13,%r11,%r12,%r1
;M_DrawThermo+192
	mov %r12,%r2
	callr %r10,V_DrawPatchDirect
	retf 0
;M_VerifyNightmare
	alloc 7
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_VerifyNightmare+48
;M_VerifyNightmare+16
	ldwzr %r1,epi
	addiws %r5,%r1,1
	ldi %r4,4
;M_VerifyNightmare+32
	ldi %r6,1
	callr %r3,G_DeferedInitNew
	stwr %gz,menuactive
;M_VerifyNightmare+48
	retf 0
	nop 0
	nop 0
;M_EndGameResponse
	alloc 4
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_EndGameResponse+48
;M_EndGameResponse+16
	ldhzr %r1,itemOn
	lddzr %r2,currentMenu
	sth %r1,%r2,36
;M_EndGameResponse+32
	stwr %gz,menuactive
	callr %r3,D_StartTitle
	nop 0
;M_EndGameResponse+48
	retf 0
	nop 0
	nop 0
;M_QuitResponse
	alloc 8
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_QuitResponse+112
;M_QuitResponse+16
	ldwzr %r1,netgame
	bwne %r1,%gz,M_QuitResponse+96
	ldwzr %r1,gamemode
;M_QuitResponse+32
	ldwzr %r2,gametic
	cmpweqi %r1,%r1,2
	ldafr %r3,quitsounds
;M_QuitResponse+48
	ldafr %r4,quitsounds2
	cmovlsb %r1,%r1,%r4,%r3
	andi %r2,%r2,28
;M_QuitResponse+64
	ldwzx.xd %r7,%r1,%r2,0,0
	mov %r6,%gz
	callr %r5,S_StartSound
;M_QuitResponse+80
	ldi %r7,105
	callr %r6,I_WaitVBL
	nop 0
;M_QuitResponse+96
	callr %r7,I_Quit
	nop 0
	nop 0
;M_QuitResponse+112
	retf 0
	nop 0
	nop 0
;M_DrawEmptyCell
	alloc 9
	ldhs %r3,%r1,32
	ldhs %r4,%r1,34
;M_DrawEmptyCell+16
	addiws %r1,%r3,-10
	sladdws %r2,%r4,%r2,4
	addiws %r2,%r2,-1
;M_DrawEmptyCell+32
	ldafr %r7,.rodata+2697
	ldi %r8,8
	callr %r6,W_CacheLumpName
;M_DrawEmptyCell+48
	mov2 %r8,%r6,%r7,%r1
	mov %r7,%r2
	callr %r5,V_DrawPatchDirect
;M_DrawEmptyCell+64
	retf 0
	nop 0
	nop 0
;M_DrawSelCell
	alloc 9
	ldhs %r3,%r1,32
	ldhs %r4,%r1,34
;M_DrawSelCell+16
	addiws %r1,%r3,-10
	sladdws %r2,%r4,%r2,4
	addiws %r2,%r2,-1
;M_DrawSelCell+32
	ldafr %r7,.rodata+27150
	ldi %r8,8
	callr %r6,W_CacheLumpName
;M_DrawSelCell+48
	mov2 %r8,%r6,%r7,%r1
	mov %r7,%r2
	callr %r5,V_DrawPatchDirect
;M_DrawSelCell+64
	retf 0
	nop 0
	nop 0
;M_StopMessage
	alloc 2
	ldwzr %r1,messageLastMenuActive
	stwr %r1,menuactive
;M_StopMessage+16
	stwr %gz,messageToPrint
	retf 0
	nop 0
;M_StringHeight
	alloc 7
	lddzr %r2,hu_font
	ldbs %r3,%r2,3
;M_StringHeight+16
	ldbz %r2,%r2,2
	slor %r3,%r2,%r3,8
	mov %r6,%r1
;M_StringHeight+32
	callr %r5,strlen
	bdeq %r6,%gz,M_StringHeight+96
	mov %r2,%r3
;M_StringHeight+48
	ldbz %r4,%r1,0
	cmpweqi %r4,%r4,10
	cmovlsb %r4,%r4,%r3,%gz
;M_StringHeight+64
	addws %r2,%r4,%r2
	addi %r6,%r6,-1
	addi %r1,%r1,1
;M_StringHeight+80
	bdne %r6,%gz,M_StringHeight+48
	mov %r1,%r2
	retf 0
;M_StringHeight+96
	mov %r1,%r3
	retf 0
	nop 0
;M_Responder
	allocsp 13,16
	ldwzr %r3,testcontrols
	ldwz %r2,%r1,0
;M_Responder+16
	bweq %r3,%gz,M_Responder+80
	bweqi %r2,4,M_Responder+64
	bwne %r2,%gz,M_Responder+1744
;M_Responder+32
	ldwz %r1,%r1,4
	ldwzr %r2,key_menu_activate
	bweq %r1,%r2,M_Responder+64
;M_Responder+48
	ldwzr %r2,key_menu_quit
	bwne %r1,%r2,M_Responder+1744
	nop 0
;M_Responder+64
	callr %r12,I_Quit
	ldi %r1,1
	retf 16
;M_Responder+80
	bweqi %r2,3,M_Responder+160
	bwnei %r2,4,M_Responder+384
	ldwzr %r1,menuactive
;M_Responder+96
	ldar %r3,M_QuitResponse
	bweq %r1,%gz,M_Responder+208
	ldwzr %r1,messageToPrint
;M_Responder+112
	bweq %r1,%gz,M_Responder+208
	lddzr %r1,messageRoutine
	bdne %r1,%r3,M_Responder+208
;M_Responder+128
	ldwzr %r12,key_menu_confirm
	callr %r11,M_QuitResponse
	ldi %r1,1
;M_Responder+144
	retf 16
	nop 0
	nop 0
;M_Responder+160
	ldwzr %r3,M_Responder.joywait
	callr %r11,I_GetTime
	bwle %r12,%r3,M_Responder+368
;M_Responder+176
	ldwz %r2,%r1,12
	bwlt %r2,%gz,M_Responder+512
	bweq %r2,%gz,M_Responder+656
;M_Responder+192
	ldafr %r2,key_menu_down
	jmp M_Responder+528
	nop 0
;M_Responder+208
	ldi %r12,23
	mov %r11,%gz
	callr %r10,S_StartSound
;M_Responder+224
	ldwzr %r1,gamemission
	ldwzr %r2,gametic
	andi %r1,%r1,-5
;M_Responder+240
	ldafr %r4,doom2_endmsg
	ldafr %r5,doom1_endmsg
	cmovweq %r1,%r1,%r5,%r4
;M_Responder+256
	sraiw %r4,%r2,31
	srliw %r4,%r4,29
	addws %r4,%r2,%r4
;M_Responder+272
	andi %r4,%r4,-8
	subws %r2,%r2,%r4
	lddzx.xw %r1,%r1,%r2,3,0
;M_Responder+288
	ldafr %r2,endstring
	ldafr %r12,.rodata+7145
	ldi %r11,160
;M_Responder+304
	std %r1,%sp,0
	mov %r10,%r2
	callr %r9,snprintf
;M_Responder+320
	ldwzr %r1,menuactive
	stwr %r1,messageLastMenuActive
	ldi %r1,1
;M_Responder+336
	stwr %r1,messageToPrint
	stdr %r2,messageString
	stdr %r3,messageRoutine
;M_Responder+352
	stwr %r1,messageNeedsInput
	stwr %r1,menuactive
	retf 16
;M_Responder+368
	ldwz %r2,%r1,0
	nop 0
	nop 0
;M_Responder+384
	bwnei %r2,2,M_Responder+480
	ldwzr %r3,M_Responder.mousewait
	callr %r11,I_GetTime
;M_Responder+400
	bwle %r12,%r3,M_Responder+464
	ldwz %r2,%r1,12
	ldwzr %r4,M_Responder.mousey
;M_Responder+416
	ldwzr %r3,M_Responder.lasty
	addws %r2,%r4,%r2
	addiws %r4,%r3,-30
;M_Responder+432
	stwr %r2,M_Responder.mousey
	bwle %r4,%r2,M_Responder+576
	ldi %r4,-30
;M_Responder+448
	ldafr %r2,key_menu_down
	jmp M_Responder+608
	nop 0
;M_Responder+464
	ldwz %r2,%r1,0
	nop 0
	nop 0
;M_Responder+480
	bwne %r2,%gz,M_Responder+1744
	ldwz %r2,%r1,4
	ldwz %r3,%r1,8
;M_Responder+496
	jmp M_Responder+1152
	nop 0
	nop 0
;M_Responder+512
	ldafr %r2,key_menu_up
	nop 0
	nop 0
;M_Responder+528
	ldwz %r2,%r2,0
	callr %r11,I_GetTime
	addiws %r3,%r12,5
;M_Responder+544
	stwr %r3,M_Responder.joywait
	ldwz %r3,%r1,8
	bwlt %r3,%gz,M_Responder+672
;M_Responder+560
	bweq %r3,%gz,M_Responder+720
	ldafr %r2,key_menu_right
	jmp M_Responder+688
;M_Responder+576
	addiws %r3,%r3,30
	bwle %r2,%r3,M_Responder+864
	ldi %r4,30
;M_Responder+592
	ldafr %r2,key_menu_up
	nop 0
	nop 0
;M_Responder+608
	ldwz %r2,%r2,0
	callr %r11,I_GetTime
	ldwzr %r3,M_Responder.lasty
;M_Responder+624
	addiws %r5,%r12,5
	stwr %r5,M_Responder.mousewait
	addws %r3,%r3,%r4
;M_Responder+640
	stwr %r3,M_Responder.lasty
	stwr %r3,M_Responder.mousey
	jmp M_Responder+880
;M_Responder+656
	ldi %r2,-1
	ldwz %r3,%r1,8
	bwle %gz,%r3,M_Responder+560
;M_Responder+672
	ldafr %r2,key_menu_left
	nop 0
	nop 0
;M_Responder+688
	ldwz %r2,%r2,0
	callr %r11,I_GetTime
	addiws %r3,%r12,2
;M_Responder+704
	stwr %r3,M_Responder.joywait
	nop 0
	nop 0
;M_Responder+720
	ldwz %r3,%r1,4
	bbsi %r3,0,M_Responder+752
	bbsi %r3,1,M_Responder+784
;M_Responder+736
	ldwzr %r3,joybmenu
	bwle %gz,%r3,M_Responder+816
	jmp M_Responder+1136
;M_Responder+752
	ldwzr %r2,key_menu_forward
	callr %r11,I_GetTime
	addiws %r3,%r12,5
;M_Responder+768
	stwr %r3,M_Responder.joywait
	ldwz %r3,%r1,4
	bbci %r3,1,M_Responder+736
;M_Responder+784
	ldwzr %r2,key_menu_back
	callr %r11,I_GetTime
	addiws %r3,%r12,5
;M_Responder+800
	stwr %r3,M_Responder.joywait
	ldwzr %r3,joybmenu
	bwlt %r3,%gz,M_Responder+1136
;M_Responder+816
	ldwz %r1,%r1,4
	bbc %r1,%r3,M_Responder+1136
	ldwzr %r2,key_menu_activate
;M_Responder+832
	callr %r11,I_GetTime
	mov %r3,%gz
	addiws %r1,%r12,5
;M_Responder+848
	stwr %r1,M_Responder.joywait
	jmp M_Responder+1152
	nop 0
;M_Responder+864
	ldi %r2,-1
	nop 0
	nop 0
;M_Responder+880
	ldwz %r3,%r1,8
	ldwzr %r5,M_Responder.mousex
	ldwzr %r4,M_Responder.lastx
;M_Responder+896
	addws %r3,%r5,%r3
	addiws %r5,%r4,-30
	stwr %r3,M_Responder.mousex
;M_Responder+912
	bwle %r5,%r3,M_Responder+944
	ldi %r4,-30
	ldafr %r2,key_menu_left
;M_Responder+928
	jmp M_Responder+976
	nop 0
	nop 0
;M_Responder+944
	addiws %r4,%r4,30
	bwle %r3,%r4,M_Responder+1104
	ldi %r4,30
;M_Responder+960
	ldafr %r2,key_menu_right
	nop 0
	nop 0
;M_Responder+976
	ldwz %r2,%r2,0
	callr %r11,I_GetTime
	ldwzr %r3,M_Responder.lastx
;M_Responder+992
	addiws %r5,%r12,5
	stwr %r5,M_Responder.mousewait
	addws %r3,%r3,%r4
;M_Responder+1008
	stwr %r3,M_Responder.lastx
	stwr %r3,M_Responder.mousex
	ldwz %r3,%r1,4
;M_Responder+1024
	bbci %r3,0,M_Responder+1120
	nop 0
	nop 0
;M_Responder+1040
	ldwzr %r2,key_menu_forward
	callr %r11,I_GetTime
	addiws %r3,%r12,15
;M_Responder+1056
	stwr %r3,M_Responder.mousewait
	ldwz %r3,%r1,4
	bbci %r3,1,M_Responder+1136
;M_Responder+1072
	ldwzr %r2,key_menu_back
	callr %r11,I_GetTime
	mov %r3,%gz
;M_Responder+1088
	addiws %r1,%r12,15
	stwr %r1,M_Responder.mousewait
	jmp M_Responder+1152
;M_Responder+1104
	ldwz %r3,%r1,4
	bbsi %r3,0,M_Responder+1040
	nop 0
;M_Responder+1120
	bbsi %r3,1,M_Responder+1072
	nop 0
	nop 0
;M_Responder+1136
	mov %r3,%gz
	nop 0
	nop 0
;M_Responder+1152
	bweqi %r2,-1,M_Responder+1744
	ldwzr %r1,saveStringEnter
	bweq %r1,%gz,M_Responder+1248
;M_Responder+1168
	bweqi %r2,13,M_Responder+1424
	bweqi %r2,27,M_Responder+1376
	bwnei %r2,127,M_Responder+1520
;M_Responder+1184
	ldwzr %r2,saveCharIndex
	ldi %r1,1
	bwlti %r2,1,M_Responder+1904
;M_Responder+1200
	ldwsr %r3,saveSlot
	addiws %r4,%r2,-1
	stwr %r4,saveCharIndex
;M_Responder+1216
	addiwz %r2,%r2,-1
	ldi %r4,24
	muladd %r2,%r3,%r4,%r2
;M_Responder+1232
	ldafr %r3,savegamestrings
	stbx.xd %gz,%r2,%r3,0,0
	retf 16
;M_Responder+1248
	ldwzr %r1,messageToPrint
	bweq %r1,%gz,M_Responder+1648
	ldwzr %r1,messageNeedsInput
;M_Responder+1264
	bweq %r1,%gz,M_Responder+1280
	bweqi %r2,27,M_Responder+1280
	bwnei %r2,32,M_Responder+1712
;M_Responder+1280
	ldwzr %r3,messageLastMenuActive
	lddzr %r1,messageRoutine
	stwr %r3,menuactive
;M_Responder+1296
	stwr %gz,messageToPrint
	bdeq %r1,%gz,M_Responder+1328
	mov %r12,%r2
;M_Responder+1312
	callri %r11,%r1,%gz
	nop 0
	nop 0
;M_Responder+1328
	stwr %gz,menuactive
	ldi %r12,24
	nop 0
;M_Responder+1344
	mov %r11,%gz
	callr %r10,S_StartSound
	ldi %r1,1
;M_Responder+1360
	retf 16
	nop 0
	nop 0
;M_Responder+1376
	ldwsr %r1,saveSlot
	stwr %gz,saveStringEnter
	ldafr %r2,savegamestrings
;M_Responder+1392
	ldi %r12,24
	muladd %r10,%r1,%r12,%r2
	ldafr %r11,saveOldString
;M_Responder+1408
	callr %r9,M_StringCopy
	ldi %r1,1
	retf 16
;M_Responder+1424
	ldwzr %r2,saveSlot
	sraiw %r3,%r2,0
	ldafr %r4,savegamestrings
;M_Responder+1440
	muli %r1,%r3,24
	ldbzx.xd %r5,%r1,%r4,0,0
	stwr %gz,saveStringEnter
;M_Responder+1456
	ldi %r1,1
	bweq %r5,%gz,M_Responder+1904
	ldi %r5,24
;M_Responder+1472
	muladd %r12,%r3,%r5,%r4
	mov %r11,%r2
	callr %r10,G_SaveGame
;M_Responder+1488
	ldwzr %r3,quickSaveSlot
	stwr %gz,menuactive
	bwnei %r3,-2,M_Responder+1904
;M_Responder+1504
	stwr %r2,quickSaveSlot
	retf 16
	nop 0
;M_Responder+1520
	ldwzr %r1,vanilla_keyboard_mapping
	cmovweq %r12,%r1,%r3,%r2
	callr %r11,toupper
;M_Responder+1536
	addiws %r2,%r12,-96
	ldi %r1,1
	nop 2
;M_Responder+1552
	bwltui.l %r2,4294967232,M_Responder+1904
	ldwzr %r4,saveCharIndex
;M_Responder+1568
	bwgei %r4,23,M_Responder+1904
	mov %r5,%r12
	ldwsr %r2,saveSlot
;M_Responder+1584
	ldafr %r3,savegamestrings
	ldi %r6,24
	muladd %r2,%r2,%r6,%r3
;M_Responder+1600
	mov %r12,%r2
	callr %r11,M_StringWidth
	bwgei %r12,176,M_Responder+1904
;M_Responder+1616
	addiws %r3,%r4,1
	stwr %r3,saveCharIndex
	stbx.xw %r5,%r2,%r4,0,0
;M_Responder+1632
	stbx.xw %gz,%r2,%r3,0,0
	retf 16
	nop 0
;M_Responder+1648
	ldwzr %r4,devparm
	ldwzr %r1,key_menu_help
	bweq %r4,%gz,M_Responder+1680
;M_Responder+1664
	bweq %r2,%r1,M_Responder+1696
	nop 0
	nop 0
;M_Responder+1680
	bweq %r2,%gz,M_Responder+1760
	ldwzr %r4,key_menu_screenshot
	bwne %r2,%r4,M_Responder+1760
;M_Responder+1696
	callr %r12,G_ScreenShot
	ldi %r1,1
	retf 16
;M_Responder+1712
	ldwzr %r1,key_menu_confirm
	bweq %r2,%r1,M_Responder+1280
	ldwzr %r1,key_menu_abort
;M_Responder+1728
	bweq %r2,%r1,M_Responder+1280
	nop 0
	nop 0
;M_Responder+1744
	mov %r1,%gz
	retf 16
	nop 0
;M_Responder+1760
	ldwzr %r4,menuactive
	bweq %r4,%gz,M_Responder+1920
	ldwzr %r1,key_menu_down
;M_Responder+1776
	bwne %r2,%r1,M_Responder+1984
	ldhzr %r3,itemOn
	lddzr %r4,currentMenu
;M_Responder+1792
	ldi %r2,19
	ldi %r1,1
	nop 0
;M_Responder+1808
	ldhs %r4,%r4,0
	slsrai %r5,%r3,48,48
	addiws %r4,%r4,-1
;M_Responder+1824
	cmpwlt %r4,%r5,%r4
	addiws %r3,%r3,1
	cmovlsb %r3,%r4,%r3,%gz
;M_Responder+1840
	sthr %r3,itemOn
	mov2 %r11,%r12,%gz,%r2
	callr %r10,S_StartSound
;M_Responder+1856
	lddzr %r4,currentMenu
	ldhzr %r3,itemOn
	lddz %r5,%r4,16
;M_Responder+1872
	slsrai %r6,%r3,48,48
	ldhzx.xd %r5,%r5,%r6,5,0
	nop 2
;M_Responder+1888
	bweqi.l %r5,65535,M_Responder+1808
	nop 0
;M_Responder+1904
	retf 16
	nop 0
	nop 0
;M_Responder+1920
	ldwzr %r3,key_menu_decscreen
	bwne %r2,%r3,M_Responder+2112
	ldwzr %r1,automapactive
;M_Responder+1936
	ldwzr %r2,chat_on
	or %r1,%r1,%r2
	bwne %r1,%gz,M_Responder+1744
;M_Responder+1952
	mov %r12,%gz
	callr %r11,M_SizeDisplay
	ldi %r12,22
;M_Responder+1968
	jmp M_Responder+1344
	nop 0
	nop 0
;M_Responder+1984
	ldwzr %r1,key_menu_up
	bwne %r2,%r1,M_Responder+2176
	ldhzr %r3,itemOn
;M_Responder+2000
	ldi %r2,19
	ldi %r1,1
	jmp M_Responder+2080
;M_Responder+2016
	addiws %r3,%r3,-1
	sthr %r3,itemOn
	mov2 %r11,%r12,%gz,%r2
;M_Responder+2032
	callr %r10,S_StartSound
	lddzr %r4,currentMenu
	ldhzr %r3,itemOn
;M_Responder+2048
	lddz %r4,%r4,16
	slsrai %r5,%r3,48,48
	ldhzx.xd %r4,%r4,%r5,5,0
;M_Responder+2064
	bwnei.l %r4,65535,M_Responder+1904
	nop 0
;M_Responder+2080
	andi %r4,%r3,65535
	bwne %r4,%gz,M_Responder+2016
	lddzr %r3,currentMenu
;M_Responder+2096
	ldhz %r3,%r3,0
	jmp M_Responder+2016
	nop 0
;M_Responder+2112
	ldwzr %r3,key_menu_incscreen
	bwne %r2,%r3,M_Responder+2288
	ldwzr %r1,automapactive
;M_Responder+2128
	ldwzr %r2,chat_on
	or %r1,%r1,%r2
	bwne %r1,%gz,M_Responder+1744
;M_Responder+2144
	ldi %r1,1
	mov %r12,%r1
	callr %r11,M_SizeDisplay
;M_Responder+2160
	ldi %r12,22
	jmp M_Responder+2352
	nop 0
;M_Responder+2176
	ldwzr %r1,key_menu_left
	bwne %r2,%r1,M_Responder+2368
	lddzr %r1,currentMenu
;M_Responder+2192
	lddz %r2,%r1,16
	ldhsr %r3,itemOn
	lddzx.xd %r4,%r2,%r3,5,16
;M_Responder+2208
	ldi %r1,1
	bdeq %r4,%gz,M_Responder+1904
	sladd %r2,%r2,%r3,5
;M_Responder+2224
	ldhz %r2,%r2,0
	bwnei %r2,2,M_Responder+1904
	ldi %r12,22
;M_Responder+2240
	mov %r11,%gz
	callr %r10,S_StartSound
	lddzr %r2,currentMenu
;M_Responder+2256
	lddz %r2,%r2,16
	ldhsr %r3,itemOn
	sladd %r2,%r2,%r3,5
;M_Responder+2272
	mov %r12,%gz
	callmi %r11,%r2,16
	retf 16
;M_Responder+2288
	bwne %r2,%r1,M_Responder+2496
	ldwzr %r2,gamemode
	ldi %r1,1
;M_Responder+2304
	cmpweqi %r2,%r2,3
	ldafr %r3,ReadDef1
	ldafr %r4,ReadDef2
;M_Responder+2320
	stwr %r1,menuactive
	cmovlsb %r2,%r2,%r4,%r3
	nop 0
;M_Responder+2336
	stdr %r2,currentMenu
	sthr %gz,itemOn
	ldi %r12,23
;M_Responder+2352
	mov %r11,%gz
	callr %r10,S_StartSound
	retf 16
;M_Responder+2368
	ldwzr %r1,key_menu_right
	bwne %r2,%r1,M_Responder+2576
	lddzr %r1,currentMenu
;M_Responder+2384
	lddz %r2,%r1,16
	ldhsr %r3,itemOn
	lddzx.xd %r4,%r2,%r3,5,16
;M_Responder+2400
	ldi %r1,1
	bdeq %r4,%gz,M_Responder+1904
	sladd %r2,%r2,%r3,5
;M_Responder+2416
	ldhz %r2,%r2,0
	bwnei %r2,2,M_Responder+1904
	ldi %r12,22
;M_Responder+2432
	mov %r11,%gz
	callr %r10,S_StartSound
	lddzr %r1,currentMenu
;M_Responder+2448
	lddz %r1,%r1,16
	ldhsr %r2,itemOn
	sladd %r2,%r1,%r2,5
;M_Responder+2464
	ldi %r1,1
	mov %r12,%r1
	callmi %r11,%r2,16
;M_Responder+2480
	retf 16
	nop 0
	nop 0
;M_Responder+2496
	ldwzr %r1,key_menu_save
	bwne %r2,%r1,M_Responder+2672
	ldhzr %r2,MainDef+36
;M_Responder+2512
	ldi %r1,1
	stwr %r1,menuactive
	ldafr %r3,MainDef
;M_Responder+2528
	stdr %r3,currentMenu
	sthr %r2,itemOn
	ldi %r12,23
;M_Responder+2544
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r11,M_SaveGame
;M_Responder+2560
	retf 16
	nop 0
	nop 0
;M_Responder+2576
	ldwzr %r1,key_menu_forward
	bwne %r2,%r1,M_Responder+2752
	lddzr %r3,currentMenu
;M_Responder+2592
	lddz %r1,%r3,16
	ldhsr %r12,itemOn
	ldax.xw %r4,%r1,%r12,5,0
;M_Responder+2608
	lddzx.xw %r2,%r1,%r12,5,16
	ldi %r1,1
	bdeq %r2,%gz,M_Responder+1904
;M_Responder+2624
	ldhz %r4,%r4,0
	bweq %r4,%gz,M_Responder+1904
	sth %r12,%r3,36
;M_Responder+2640
	bwnei %r4,2,M_Responder+3088
	mov %r12,%r1
	callri %r11,%r2,%gz
;M_Responder+2656
	jmp M_Responder+2160
	nop 0
	nop 0
;M_Responder+2672
	ldwzr %r1,key_menu_load
	bwne %r2,%r1,M_Responder+2784
	ldhzr %r2,MainDef+36
;M_Responder+2688
	ldi %r1,1
	stwr %r1,menuactive
	ldafr %r3,MainDef
;M_Responder+2704
	stdr %r3,currentMenu
	sthr %r2,itemOn
	ldi %r12,23
;M_Responder+2720
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r11,M_LoadGame
;M_Responder+2736
	retf 16
	nop 0
	nop 0
;M_Responder+2752
	ldwzr %r1,key_menu_activate
	bwne %r2,%r1,M_Responder+2816
	ldhzr %r1,itemOn
;M_Responder+2768
	lddzr %r2,currentMenu
	sth %r1,%r2,36
	jmp M_Responder+1328
;M_Responder+2784
	ldwzr %r1,key_menu_volume
	bwne %r2,%r1,M_Responder+2896
	ldi %r1,1
;M_Responder+2800
	stwr %r1,menuactive
	ldafr %r2,SoundDef
	jmp M_Responder+2336
;M_Responder+2816
	ldwzr %r1,key_menu_back
	bwne %r2,%r1,M_Responder+2928
	ldhzr %r1,itemOn
;M_Responder+2832
	lddzr %r2,currentMenu
	sth %r1,%r2,36
	lddz %r2,%r2,8
;M_Responder+2848
	ldi %r1,1
	bdeq %r2,%gz,M_Responder+1904
	stdr %r2,currentMenu
;M_Responder+2864
	ldhz %r2,%r2,36
	nop 0
	nop 0
;M_Responder+2880
	sthr %r2,itemOn
	ldi %r12,23
	jmp M_Responder+2352
;M_Responder+2896
	ldwzr %r1,key_menu_detail
	bwne %r2,%r1,M_Responder+3120
	callr %r11,M_ChangeDetail
;M_Responder+2912
	ldi %r12,23
	jmp M_Responder+1344
	nop 0
;M_Responder+2928
	bwne %r3,%gz,M_Responder+2992
	addiws %r1,%r2,-197
	bwgeui %r1,59,M_Responder+2976
;M_Responder+2944
	addiwz %r1,%r2,-197
	ldi %r4,1
	sll %r1,%r4,%r1
;M_Responder+2960
	andi.l %r1,%r1,288230376151711747
	bdne %r1,%gz,M_Responder+2992
;M_Responder+2976
	bwnei %r2,186,M_Responder+1744
	nop 0
	nop 0
;M_Responder+2992
	ldhsr %r2,itemOn
	lddzr %r4,currentMenu
	sraiw %r1,%r2,0
;M_Responder+3008
	ldhs %r5,%r4,0
	ldi %r6,56
	ldax.xw %r6,%r6,%r2,5,0
;M_Responder+3024
	mov %r7,%r1
	nop 0
	nop 0
;M_Responder+3040
	addi %r7,%r7,1
	bdle %r5,%r7,M_Responder+3168
	lddz %r8,%r4,16
;M_Responder+3056
	ldbsx.xd %r8,%r8,%r6,0,0
	addi %r6,%r6,32
	bwne %r3,%r8,M_Responder+3040
;M_Responder+3072
	sthr %r7,itemOn
	jmp M_Responder+3408
	nop 0
;M_Responder+3088
	callri %r11,%r2,%gz
	ldi %r1,1
	mov2 %r11,%r12,%gz,%r1
;M_Responder+3104
	callr %r10,S_StartSound
	retf 16
	nop 0
;M_Responder+3120
	ldwzr %r1,key_menu_qsave
	bwne %r2,%r1,M_Responder+3248
	ldi %r12,23
;M_Responder+3136
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r12,M_QuickSave
;M_Responder+3152
	ldi %r1,1
	retf 16
	nop 0
;M_Responder+3168
	bwlt %r2,%gz,M_Responder+1744
	lddz %r5,%r4,16
	mov %r2,%gz
;M_Responder+3184
	addi %r4,%r1,1
	addi %r5,%r5,24
	nop 0
;M_Responder+3200
	ldbs %r1,%r5,0
	bweq %r3,%r1,M_Responder+3392
	mov %r1,%gz
;M_Responder+3216
	addi %r2,%r2,1
	addi %r5,%r5,32
	bdne %r4,%r2,M_Responder+3200
;M_Responder+3232
	jmp M_Responder+1904
	nop 0
	nop 0
;M_Responder+3248
	ldwzr %r1,key_menu_endgame
	bwne %r2,%r1,M_Responder+3296
	ldi %r12,23
;M_Responder+3264
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r11,M_EndGame
;M_Responder+3280
	ldi %r1,1
	retf 16
	nop 0
;M_Responder+3296
	ldwzr %r1,key_menu_messages
	bwne %r2,%r1,M_Responder+3424
	ldwzr %r1,showMessages
;M_Responder+3312
	ldwsr %r2,consoleplayer
	subfiws %r3,%r1,1
	stwr %r3,showMessages
;M_Responder+3328
	cmpweqi %r1,%r1,1
	ldafr %r3,.rodata+21132
	ldafr %r4,.rodata+23549
;M_Responder+3344
	muli %r2,%r2,328
	cmovlsb %r1,%r1,%r4,%r3
	ldafr %r3,players+232
;M_Responder+3360
	stdx.xd %r1,%r2,%r3,0,0
	ldi %r1,1
	stwr %r1,message_dontfuckwithme
;M_Responder+3376
	ldi %r12,23
	jmp M_Responder+2352
	nop 0
;M_Responder+3392
	sthr %r2,itemOn
	nop 0
	nop 0
;M_Responder+3408
	ldi %r12,19
	jmp M_Responder+1344
	nop 0
;M_Responder+3424
	ldwzr %r1,key_menu_qload
	bwne %r2,%r1,M_Responder+3472
	ldi %r12,23
;M_Responder+3440
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r12,M_QuickLoad
;M_Responder+3456
	ldi %r1,1
	retf 16
	nop 0
;M_Responder+3472
	ldwzr %r1,key_menu_quit
	bwne %r2,%r1,M_Responder+3520
	ldi %r12,23
;M_Responder+3488
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r11,M_QuitDOOM
;M_Responder+3504
	ldi %r1,1
	retf 16
	nop 0
;M_Responder+3520
	ldwzr %r1,key_menu_gamma
	bwne %r2,%r1,M_Responder+3648
	ldwzr %r1,usegamma
;M_Responder+3536
	addiws %r2,%r1,1
	cmpwgti %r1,%r1,3
	cmovlsb %r1,%r1,%gz,%r2
;M_Responder+3552
	ldwsr %r2,consoleplayer
	stwr %r1,usegamma
	sraiw %r1,%r1,0
;M_Responder+3568
	ldafr %r3,gammamsg
	ldi %r4,26
	muladd %r1,%r1,%r4,%r3
;M_Responder+3584
	muli %r2,%r2,328
	ldafr %r3,players+232
	stdx.xd %r1,%r2,%r3,0,0
;M_Responder+3600
	ldafr %r11,.rodata+27930
	ldi %r12,8
	callr %r10,W_CacheLumpName
;M_Responder+3616
	mov %r12,%r11
	callr %r11,I_SetPalette
	ldi %r1,1
;M_Responder+3632
	retf 16
	nop 0
	nop 0
;M_Responder+3648
	ldwzr %r1,key_menu_activate
	bwne %r2,%r1,M_Responder+1744
	ldhzr %r2,MainDef+36
;M_Responder+3664
	ldi %r1,1
	stwr %r1,menuactive
	ldafr %r3,MainDef
;M_Responder+3680
	stdr %r3,currentMenu
	jmp M_Responder+2880
	nop 0
;M_Drawer
	allocsp 13,80
	ldwzr %r1,messageToPrint
	stwr %gz,inhelpscreens
;M_Drawer+16
	bweq %r1,%gz,M_Drawer+128
	lddzr %r1,hu_font
	ldbs %r2,%r1,3
;M_Drawer+32
	ldbz %r1,%r1,2
	lddzr %r3,messageString
	slor %r2,%r1,%r2,8
;M_Drawer+48
	mov %r12,%r3
	callr %r11,strlen
	bdeq %r12,%gz,M_Drawer+352
;M_Drawer+64
	mov2 %r4,%r1,%r3,%r2
	nop 0
	nop 0
;M_Drawer+80
	ldbz %r5,%r4,0
	cmpweqi %r5,%r5,10
	cmovlsb %r5,%r5,%r2,%gz
;M_Drawer+96
	addws %r1,%r5,%r1
	addi %r12,%r12,-1
	addi %r4,%r4,1
;M_Drawer+112
	bdne %r12,%gz,M_Drawer+80
	jmp M_Drawer+368
	nop 0
;M_Drawer+128
	ldwzr %r1,menuactive
	bweq %r1,%gz,M_Drawer+832
	lddzr %r2,currentMenu
;M_Drawer+144
	lddz %r1,%r2,24
	bdeq %r1,%gz,M_Drawer+176
	callri %r12,%r1,%gz
;M_Drawer+160
	lddzr %r2,currentMenu
	nop 0
	nop 0
;M_Drawer+176
	ldhz %r1,%r2,32
	sthr %r1,M_Drawer.x
	ldhz %r3,%r2,34
;M_Drawer+192
	sthr %r3,M_Drawer.y
	ldhs %r4,%r2,0
	bdeq %r4,%gz,M_Drawer+752
;M_Drawer+208
	srliw %r5,%r4,0
	ldi %r6,2
	ldi %r1,8
;M_Drawer+224
	jmp M_Drawer+272
	nop 0
	nop 0
;M_Drawer+240
	addiws %r3,%r3,16
	sthr %r3,M_Drawer.y
	addi %r5,%r5,-1
;M_Drawer+256
	addi %r6,%r6,32
	bdeq %r5,%gz,M_Drawer+736
	nop 0
;M_Drawer+272
	lddz %r4,%r2,16
	ldbzx.xd %r7,%r4,%r6,0,0
	bweq %r7,%gz,M_Drawer+240
;M_Drawer+288
	add %r11,%r4,%r6
	ldhsr %r2,M_Drawer.x
	slsrai %r3,%r3,48,48
;M_Drawer+304
	mov %r12,%r1
	callr %r10,W_CacheLumpName
	mov2 %r12,%r10,%r11,%r2
;M_Drawer+320
	mov %r11,%r3
	callr %r9,V_DrawPatchDirect
	lddzr %r2,currentMenu
;M_Drawer+336
	ldhzr %r3,M_Drawer.y
	jmp M_Drawer+240
	nop 0
;M_Drawer+352
	mov %r1,%r2
	nop 0
	nop 0
;M_Drawer+368
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	srliw %r1,%r1,1
;M_Drawer+384
	subfiws %r1,%r1,100
	sthr %r1,M_Drawer.y
	ldbz %r1,%r3,0
;M_Drawer+400
	bweq %r1,%gz,M_Drawer+832
	mov %r5,%gz
	addi %r1,%sp,0
;M_Drawer+416
	ldi %r2,80
	mov %r6,%r3
	jmp M_Drawer+592
;M_Drawer+432
	ldax.xw %r11,%r6,%r5,0,0
	mov2 %r10,%r12,%r1,%r2
	callr %r9,M_StringCopy
;M_Drawer+448
	mov %r12,%r1
	callr %r11,strlen
	nop 0
;M_Drawer+464
	addws %r5,%r12,%r5
	mov %r12,%r1
	callr %r11,M_StringWidth
;M_Drawer+480
	srliw %r3,%r12,31
	addws %r3,%r12,%r3
	srliw %r3,%r3,1
;M_Drawer+496
	subfiws %r3,%r3,160
	sthr %r3,M_Drawer.x
	slsrai %r10,%r3,48,48
;M_Drawer+512
	ldhsr %r11,M_Drawer.y
	mov %r12,%r1
	callr %r9,M_WriteText
;M_Drawer+528
	lddzr %r3,hu_font
	ldbz %r4,%r3,3
	ldbz %r3,%r3,2
;M_Drawer+544
	ldhzr %r7,M_Drawer.y
	lddzr %r6,messageString
	slor %r3,%r3,%r4,8
;M_Drawer+560
	addws %r3,%r7,%r3
	sthr %r3,M_Drawer.y
	ldax.xw %r3,%r6,%r5,0,0
;M_Drawer+576
	ldbzx.xw %r4,%r6,%r5,0,0
	bweq %r4,%gz,M_Drawer+832
	nop 0
;M_Drawer+592
	mov %r12,%r3
	callr %r11,strlen
	bdeq %r12,%gz,M_Drawer+432
;M_Drawer+608
	ldbzx.xuw %r4,%r6,%r5,0,0
	bwnei %r4,10,M_Drawer+640
	mov2 %r7,%r4,%gz,%gz
;M_Drawer+624
	jmp M_Drawer+688
	nop 0
	nop 0
;M_Drawer+640
	mov %r4,%gz
	nop 0
	nop 0
;M_Drawer+656
	addiwz %r7,%r4,1
	bdleu %r12,%r7,M_Drawer+432
	addiws %r4,%r4,1
;M_Drawer+672
	addws %r8,%r4,%r5
	ldbzx.xuw %r8,%r6,%r8,0,0
	bwnei %r8,10,M_Drawer+656
;M_Drawer+688
	mov2 %r10,%r11,%r1,%r3
	mov %r12,%r2
	callr %r9,M_StringCopy
;M_Drawer+704
	bwgeui %r4,80,M_Drawer+720
	stbx.xd %gz,%r1,%r7,0,0
	nop 0
;M_Drawer+720
	addiws %r12,%r4,1
	jmp M_Drawer+464
	nop 0
;M_Drawer+736
	ldhzr %r1,M_Drawer.x
	ldhz %r3,%r2,34
	nop 0
;M_Drawer+752
	ldhsr %r2,itemOn
	slsrai %r1,%r1,48,48
	ldhsr %r4,whichSkull
;M_Drawer+768
	slsrai %r3,%r3,48,48
	addiws %r1,%r1,-32
	sladdws %r2,%r3,%r2,4
;M_Drawer+784
	addiws %r2,%r2,-5
	ldafr %r3,skullName
	lddzx.xd %r11,%r3,%r4,3,0
;M_Drawer+800
	ldi %r12,8
	callr %r10,W_CacheLumpName
	mov2 %r12,%r10,%r11,%r1
;M_Drawer+816
	mov %r11,%r2
	callr %r9,V_DrawPatchDirect
	nop 0
;M_Drawer+832
	retf 80
	nop 0
	nop 0
;M_Ticker
	alloc 3
	ldhzr %r1,skullAnimCounter
	addiws %r1,%r1,-1
;M_Ticker+16
	slsrai %r2,%r1,48,48
	sthr %r1,skullAnimCounter
	bwle %r2,%gz,M_Ticker+48
;M_Ticker+32
	retf 0
	nop 0
	nop 0
;M_Ticker+48
	ldhzr %r1,whichSkull
	xori %r1,%r1,1
	sthr %r1,whichSkull
;M_Ticker+64
	ldi %r1,8
	sthr %r1,skullAnimCounter
	retf 0
;M_Init
	alloc 4
	ldafr %r1,MainDef
	ldhzr %r2,MainDef+36
;M_Init+16
	stdr %r1,currentMenu
	stwr %gz,menuactive
	ldwzr %r3,screenblocks
;M_Init+32
	sthr %r2,itemOn
	sthr %gz,whichSkull
	ldi %r2,10
;M_Init+48
	sthr %r2,skullAnimCounter
	addiws %r2,%r3,-3
	stwr %r2,screenSize
;M_Init+64
	ldwzr %r2,gamemode
	stwr %gz,messageToPrint
	stdr %gz,messageString
;M_Init+80
	stwr %gz,messageLastMenuActive
	ldi %r3,-1
	stwr %r3,quickSaveSlot
;M_Init+96
	bweqi %r2,2,M_Init+128
	ldwzr %r1,gameversion
	bwltui %r1,6,M_Init+224
;M_Init+112
	retf 0
	nop 0
	nop 0
;M_Init+128
	lddzr %r2,MainMenu+184
	stdr %r2,MainMenu+152
	lddzr %r2,MainMenu+176
;M_Init+144
	stdr %r2,MainMenu+144
	lddzr %r2,MainMenu+168
	ldhzr %r3,MainDef
;M_Init+160
	stdr %r2,MainMenu+136
	lddzr %r2,MainMenu+160
	addiws %r3,%r3,-1
;M_Init+176
	sthr %r3,MainDef
	ldhzr %r3,MainDef+34
	stdr %r2,MainMenu+128
;M_Init+192
	addiws %r2,%r3,8
	sthr %r2,MainDef+34
	stdr %r1,NewDef+8
;M_Init+208
	ldwzr %r1,gameversion
	bwgeui %r1,6,M_Init+112
	nop 0
;M_Init+224
	ldhzr %r1,EpiDef
	addiws %r1,%r1,-1
	sthr %r1,EpiDef
;M_Init+240
	retf 0
	nop 0
	nop 0
;fread_unlocked
	alloc 13
	ldwz %r5,%r4,140
	bwlt %r5,%gz,fread_unlocked+48
;fread_unlocked+16
	mov %r12,%r4
	callr %r11,__lockfile
	cmpweqi %r7,%r12,0
;fread_unlocked+32
	jmp fread_unlocked+64
	nop 0
	nop 0
;fread_unlocked+48
	ldi %r7,1
	nop 0
	nop 0
;fread_unlocked+64
	ldwz %r5,%r4,136
	addiws %r6,%r5,-1
	or %r5,%r6,%r5
;fread_unlocked+80
	stw %r5,%r4,136
	lddz %r11,%r4,8
	lddz %r5,%r4,16
;fread_unlocked+96
	mul %r8,%r3,%r2
	bdeq %r11,%r5,fread_unlocked+304
	sub %r5,%r5,%r11
;fread_unlocked+112
	minu %r5,%r5,%r8
	mov2 %r10,%r12,%r1,%r5
	callr %r9,memcpy
;fread_unlocked+128
	lddz %r6,%r4,8
	add %r6,%r6,%r5
	std %r6,%r4,8
;fread_unlocked+144
	add %r1,%r1,%r5
	sub %r5,%r8,%r5
	bdeq %r5,%gz,fread_unlocked+224
;fread_unlocked+160
	mov %r12,%r4
	callr %r11,__toread
	bwne %r12,%gz,fread_unlocked+272
;fread_unlocked+176
	mov2 %r10,%r11,%r4,%r1
	mov %r12,%r5
	callmi %r9,%r4,64
;fread_unlocked+192
	bdeq %r10,%gz,fread_unlocked+272
	sub %r5,%r5,%r10
	add %r1,%r1,%r10
;fread_unlocked+208
	bdne %r5,%gz,fread_unlocked+160
	nop 0
	nop 0
;fread_unlocked+224
	cmovdeq %r1,%r2,%gz,%r3
	bbsi %r7,0,fread_unlocked+256
	mov %r12,%r4
;fread_unlocked+240
	callr %r11,__unlockfile
	nop 0
	nop 0
;fread_unlocked+256
	retf 0
	nop 0
	nop 0
;fread_unlocked+272
	bbsi %r7,0,fread_unlocked+288
	mov %r12,%r4
	callr %r11,__unlockfile
;fread_unlocked+288
	sub %r1,%r8,%r5
	divu %r1,%r1,%r2
	retf 0
;fread_unlocked+304
	mov %r5,%r8
	bdne %r5,%gz,fread_unlocked+160
	jmp fread_unlocked+224
;M_MakeDirectory
	alloc 5
	ldi %r4,493
	mov %r3,%r1
;M_MakeDirectory+16
	callr %r2,mkdir
	retf 0
	nop 0
;M_FileExists
	alloc 5
	ldafr %r4,.rodata+19146
	mov %r3,%r1
;M_FileExists+16
	callr %r2,fopen
	bdeq %r3,%gz,M_FileExists+48
	mov %r4,%r3
;M_FileExists+32
	callr %r3,fclose
	ldi %r1,1
	retf 0
;M_FileExists+48
	callr %r3,___errno_location
	ldwz %r1,%r4,0
	cmpweqi %r1,%r1,21
;M_FileExists+64
	retf 0
	nop 0
	nop 0
;M_FileLength
	alloc 9
	mov2 %r4,%r8,%r1,%r1
	callr %r7,ftell
;M_FileLength+16
	mov %r2,%r8
	ldi %r8,2
	mov2 %r6,%r7,%r1,%gz
;M_FileLength+32
	callr %r5,fseek
	mov %r8,%r1
	callr %r7,ftell
;M_FileLength+48
	mov2 %r1,%r6,%r8,%r4
	mov2 %r7,%r8,%r2,%gz
	callr %r5,fseek
;M_FileLength+64
	retf 0
	nop 0
	nop 0
;M_WriteFile
	alloc 9
	ldafr %r8,.rodata+3835
	mov %r7,%r1
;M_WriteFile+16
	callr %r6,fopen
	bdeq %r7,%gz,M_WriteFile+80
	mov %r1,%r7
;M_WriteFile+32
	sraiw %r7,%r3,0
	ldi %r6,1
	mov2 %r5,%r8,%r2,%r1
;M_WriteFile+48
	callr %r4,fwrite_unlocked
	mov %r8,%r1
	callr %r7,fclose
;M_WriteFile+64
	cmpwle %r1,%r3,%r5
	retf 0
	nop 0
;M_WriteFile+80
	mov %r1,%gz
	retf 0
	nop 0
;M_ReadFile
	allocsp 11,16
	ldafr %r10,.rodata+12248
	mov %r9,%r1
;M_ReadFile+16
	callr %r8,fopen
	mov %r3,%r9
	bdne %r9,%gz,M_ReadFile+48
;M_ReadFile+32
	ldafr %r10,.rodata+22032
	std %r1,%sp,0
	callr %r9,I_Error
;M_ReadFile+48
	mov %r10,%r3
	callr %r9,ftell
	mov %r5,%r10
;M_ReadFile+64
	ldi %r10,2
	mov2 %r8,%r9,%r3,%gz
	callr %r7,fseek
;M_ReadFile+80
	mov %r10,%r3
	callr %r9,ftell
	mov2 %r4,%r8,%r10,%r3
;M_ReadFile+96
	mov2 %r9,%r10,%r5,%gz
	callr %r7,fseek
	ldi %r9,1
;M_ReadFile+112
	mov2 %r8,%r10,%r4,%gz
	callr %r7,Z_Malloc
	mov %r5,%r8
;M_ReadFile+128
	sraiw %r9,%r4,0
	ldi %r8,1
	mov2 %r7,%r10,%r5,%r3
;M_ReadFile+144
	callr %r6,fread_unlocked
	mov %r10,%r3
	callr %r9,fclose
;M_ReadFile+160
	bwle %r4,%r7,M_ReadFile+192
	ldafr %r10,.rodata+22032
	std %r1,%sp,0
;M_ReadFile+176
	callr %r9,I_Error
	nop 0
	nop 0
;M_ReadFile+192
	std %r5,%r2,0
	mov %r1,%r4
	retf 16
;M_TempFile
	allocsp 4,32
	std %gz,%sp,16
	std %r1,%sp,8
;M_TempFile+16
	ldafr %r1,.rodata+5432
	ldafr %r3,.rodata+5758
	std %r1,%sp,0
;M_TempFile+32
	callr %r2,M_StringJoin
	mov %r1,%r3
	retf 32
;M_StringJoin
	allocsp 10,16
	mov %r9,%r1
	callr %r8,strlen
;M_StringJoin+16
	lddz %r3,%sp,16
	addi %r2,%r9,1
	addi %r4,%sp,16
;M_StringJoin+32
	ori %r4,%r4,8
	std %r4,%sp,8
	bdeq %r3,%gz,M_StringJoin+96
;M_StringJoin+48
	mov %r9,%r3
	callr %r8,strlen
	lddz %r3,%sp,8
;M_StringJoin+64
	algnup %r3,%r3,0,3
	addi %r5,%r3,8
	std %r5,%sp,8
;M_StringJoin+80
	lddz %r3,%r3,0
	add %r2,%r9,%r2
	bdne %r3,%gz,M_StringJoin+48
;M_StringJoin+96
	mov %r9,%r2
	callr %r8,default_malloc
	mov %r3,%r9
;M_StringJoin+112
	bdeq %r9,%gz,M_StringJoin+224
	bdeq %r2,%gz,M_StringJoin+144
	addi %r9,%r2,-1
;M_StringJoin+128
	stbx.xd %gz,%r2,%r3,0,-1
	mov2 %r7,%r8,%r3,%r1
	callr %r6,strncpy
;M_StringJoin+144
	lddz %r8,%sp,16
	std %r4,%sp,8
	bdeq %r8,%gz,M_StringJoin+208
;M_StringJoin+160
	mov2 %r7,%r9,%r3,%r2
	callr %r6,M_StringConcat
	lddz %r1,%sp,8
;M_StringJoin+176
	algnup %r1,%r1,0,3
	addi %r4,%r1,8
	std %r4,%sp,8
;M_StringJoin+192
	lddz %r8,%r1,0
	bdne %r8,%gz,M_StringJoin+160
	nop 0
;M_StringJoin+208
	mov %r1,%r3
	retf 16
	nop 0
;M_StringJoin+224
	ldafr %r9,.rodata+19957
	callr %r8,I_Error
	mov %r1,%r3
;M_StringJoin+240
	retf 16
	nop 0
	nop 0
;M_StrToInt
	allocsp 7,16
	mov %r3,%r1
	ldafr %r6,.rodata+7184
;M_StrToInt+16
	std %r2,%sp,0
	mov %r5,%r1
	callr %r4,__isoc99_sscanf
;M_StrToInt+32
	ldi %r1,1
	bweqi %r5,1,M_StrToInt+128
	ldafr %r6,.rodata+12510
;M_StrToInt+48
	std %r2,%sp,0
	mov %r5,%r3
	callr %r4,__isoc99_sscanf
;M_StrToInt+64
	bweqi %r5,1,M_StrToInt+128
	ldafr %r6,.rodata+6492
	std %r2,%sp,0
;M_StrToInt+80
	mov %r5,%r3
	callr %r4,__isoc99_sscanf
	bweqi %r5,1,M_StrToInt+128
;M_StrToInt+96
	ldafr %r6,.rodata+13887
	std %r2,%sp,0
	mov %r5,%r3
;M_StrToInt+112
	callr %r4,__isoc99_sscanf
	cmpweqi %r1,%r5,1
	nop 0
;M_StrToInt+128
	retf 16
	nop 0
	nop 0
;M_ExtractFileBase
	allocsp 7,16
	mov %r6,%r1
	callr %r5,strlen
;M_ExtractFileBase+16
	bdeqi %r6,1,M_ExtractFileBase+48
	ldbzx.xd %r3,%r1,%r6,0,-2
	addi %r6,%r6,-1
;M_ExtractFileBase+32
	bwnei %r3,47,M_ExtractFileBase+16
	add %r1,%r1,%r6
	nop 0
;M_ExtractFileBase+48
	mov %r4,%gz
	stb %gz,%r2,7
	stb %gz,%r2,6
;M_ExtractFileBase+64
	stb %gz,%r2,5
	stb %gz,%r2,4
	stb %gz,%r2,3
;M_ExtractFileBase+80
	stb %gz,%r2,2
	stb %gz,%r2,1
	stb %gz,%r2,0
;M_ExtractFileBase+96
	ldbzx.xd %r3,%r1,%r4,0,0
	bweq %r3,%gz,M_ExtractFileBase+160
	nop 0
;M_ExtractFileBase+112
	bweqi %r3,46,M_ExtractFileBase+160
	bdeqi %r4,8,M_ExtractFileBase+176
	slsrai %r6,%r3,56,56
;M_ExtractFileBase+128
	callr %r5,toupper
	addi %r3,%r4,1
	stbx.xd %r6,%r2,%r4,0,0
;M_ExtractFileBase+144
	mov %r4,%r3
	ldbzx.xd %r3,%r1,%r4,0,0
	bwne %r3,%gz,M_ExtractFileBase+112
;M_ExtractFileBase+160
	retf 16
	nop 0
	nop 0
;M_ExtractFileBase+176
	std %r2,%sp,8
	ldafr %r6,.rodata+17596
	std %r1,%sp,0
;M_ExtractFileBase+192
	callr %r5,printf
	retf 16
	nop 0
;M_ForceUppercase
	alloc 6
	ldbz %r3,%r1,0
	bweq %r3,%gz,M_ForceUppercase+64
;M_ForceUppercase+16
	addi %r2,%r1,1
	nop 0
	nop 0
;M_ForceUppercase+32
	slsrai %r5,%r3,56,56
	callr %r4,toupper
	stb %r5,%r2,-1
;M_ForceUppercase+48
	ldbz %r3,%r2,0
	addi %r2,%r2,1
	bwne %r3,%gz,M_ForceUppercase+32
;M_ForceUppercase+64
	retf 0
	nop 0
	nop 0
;M_StrCaseStr
	alloc 12
	mov %r11,%r1
	callr %r10,strlen
;M_StrCaseStr+16
	mov2 %r3,%r11,%r11,%r2
	callr %r10,strlen
	bwleu %r11,%r3,M_StrCaseStr+48
;M_StrCaseStr+32
	mov %r1,%gz
	retf 0
	nop 0
;M_StrCaseStr+48
	mov %r6,%gz
	subws %r7,%r3,%r11
	srliw %r3,%r11,0
;M_StrCaseStr+64
	ldax.xuw %r4,%r1,%r6,0,0
	mov2 %r9,%r10,%r4,%r2
	mov %r11,%r3
;M_StrCaseStr+80
	callr %r8,strncasecmp
	bweq %r9,%gz,M_StrCaseStr+112
	addiws %r6,%r6,1
;M_StrCaseStr+96
	bwleu %r6,%r7,M_StrCaseStr+64
	mov %r1,%gz
	retf 0
;M_StrCaseStr+112
	mov %r1,%r4
	retf 0
	nop 0
;M_StringDuplicate
	allocsp 5,16
	mov2 %r2,%r4,%r1,%r1
	callr %r3,strdup
;M_StringDuplicate+16
	mov %r1,%r4
	bdeq %r4,%gz,M_StringDuplicate+32
	retf 16
;M_StringDuplicate+32
	mov %r4,%r2
	callr %r3,strlen
	ldafr %r2,.rodata+19148
;M_StringDuplicate+48
	std %r4,%sp,0
	mov %r4,%r2
	callr %r3,I_Error
;M_StringDuplicate+64
	retf 16
	nop 0
	nop 0
;M_StringReplace
	alloc 14
	mov2 %r6,%r13,%r1,%r2
	callr %r12,strlen
;M_StringReplace+16
	mov2 %r4,%r13,%r13,%r1
	callr %r12,strlen
	addi %r5,%r13,1
;M_StringReplace+32
	mov2 %r12,%r13,%r1,%r2
	callr %r11,strstr
	bdeq %r12,%gz,M_StringReplace+112
;M_StringReplace+48
	mov2 %r13,%r7,%r3,%r12
	callr %r12,strlen
	mov %r12,%r7
;M_StringReplace+64
	sub %r7,%r13,%r4
	nop 0
	nop 0
;M_StringReplace+80
	add %r12,%r12,%r4
	add %r5,%r5,%r7
	mov %r13,%r2
;M_StringReplace+96
	callr %r11,strstr
	bdne %r12,%gz,M_StringReplace+80
	nop 0
;M_StringReplace+112
	mov %r13,%r5
	callr %r12,default_malloc
	mov %r1,%r13
;M_StringReplace+128
	bdeq %r13,%gz,M_StringReplace+304
	ldbz %r9,%r6,0
	mov %r7,%r1
;M_StringReplace+144
	bweq %r9,%gz,M_StringReplace+288
	mov %r7,%r1
	jmp M_StringReplace+192
;M_StringReplace+160
	stb %r9,%r7,0
	addi %r7,%r7,1
	addi %r5,%r5,-1
;M_StringReplace+176
	addi %r6,%r6,1
	ldbz %r9,%r6,0
	bweq %r9,%gz,M_StringReplace+288
;M_StringReplace+192
	mov2 %r11,%r12,%r6,%r2
	mov %r13,%r4
	callr %r10,strncmp
;M_StringReplace+208
	bwne %r11,%gz,M_StringReplace+160
	bdeq %r5,%gz,M_StringReplace+240
	addi %r13,%r5,-1
;M_StringReplace+224
	stbx.xd %gz,%r5,%r7,0,-1
	mov2 %r11,%r12,%r7,%r3
	callr %r10,strncpy
;M_StringReplace+240
	add %r6,%r6,%r4
	mov %r13,%r3
	callr %r12,strlen
;M_StringReplace+256
	add %r7,%r7,%r13
	sub %r5,%r5,%r13
	ldbz %r9,%r6,0
;M_StringReplace+272
	bwne %r9,%gz,M_StringReplace+192
	nop 0
	nop 0
;M_StringReplace+288
	stb %gz,%r7,0
	retf 0
	nop 0
;M_StringReplace+304
	ldafr %r13,.rodata+22547
	callr %r12,I_Error
	retf 0
;M_StringCopy
	alloc 8
	bdeq %r3,%gz,M_StringCopy+64
	addi %r7,%r3,-1
;M_StringCopy+16
	stbx.xd %gz,%r3,%r1,0,-1
	mov2 %r5,%r6,%r1,%r2
	callr %r4,strncpy
;M_StringCopy+32
	mov %r7,%r1
	callr %r6,strlen
	ldbzx.xd %r1,%r2,%r7,0,0
;M_StringCopy+48
	cmpweqi %r1,%r1,0
	retf 0
	nop 0
;M_StringCopy+64
	mov %r1,%gz
	retf 0
	nop 0
;M_StringConcat
	alloc 9
	mov %r8,%r1
	callr %r7,strlen
;M_StringConcat+16
	mov %r4,%gz
	bdleu %r3,%r8,M_StringConcat+80
	add %r1,%r1,%r8
;M_StringConcat+32
	xori %r4,%r8,-1
	add %r8,%r3,%r4
	stbx.xd %gz,%r1,%r8,0,0
;M_StringConcat+48
	mov2 %r6,%r7,%r1,%r2
	callr %r5,strncpy
	mov %r8,%r1
;M_StringConcat+64
	callr %r7,strlen
	ldbzx.xd %r1,%r2,%r8,0,0
	cmpweqi %r4,%r1,0
;M_StringConcat+80
	mov %r1,%r4
	retf 0
	nop 0
;M_StringStartsWith
	alloc 9
	mov %r8,%r1
	callr %r7,strlen
;M_StringStartsWith+16
	mov2 %r4,%r8,%r8,%r2
	callr %r7,strlen
	mov %r3,%gz
;M_StringStartsWith+32
	bdleu %r4,%r8,M_StringStartsWith+64
	mov2 %r6,%r7,%r1,%r2
	callr %r5,strncmp
;M_StringStartsWith+48
	cmpweqi %r3,%r6,0
	nop 0
	nop 0
;M_StringStartsWith+64
	mov %r1,%r3
	retf 0
	nop 0
;M_StringEndsWith
	alloc 8
	mov %r7,%r1
	callr %r6,strlen
;M_StringEndsWith+16
	mov2 %r3,%r7,%r7,%r2
	callr %r6,strlen
	mov %r4,%gz
;M_StringEndsWith+32
	bdltu %r3,%r7,M_StringEndsWith+64
	addsub %r6,%r1,%r3,%r7
	mov %r7,%r2
;M_StringEndsWith+48
	callr %r5,strcmp
	cmpweqi %r4,%r6,0
	nop 0
;M_StringEndsWith+64
	mov %r1,%r4
	retf 0
	nop 0
;M_vsnprintf
	alloc 10
	bdeq %r2,%gz,M_vsnprintf+64
	mov2 %r6,%r7,%r1,%r2
;M_vsnprintf+16
	mov2 %r8,%r9,%r3,%r4
	callr %r5,vsnprintf
	bwlt %r6,%gz,M_vsnprintf+80
;M_vsnprintf+32
	srliw %r3,%r6,0
	bdleu %r2,%r3,M_vsnprintf+80
	mov %r1,%r6
;M_vsnprintf+48
	retf 0
	nop 0
	nop 0
;M_vsnprintf+64
	mov2 %r6,%r1,%gz,%gz
	retf 0
	nop 0
;M_vsnprintf+80
	addi %r6,%r2,-1
	stbx.xd %gz,%r2,%r1,0,-1
	mov %r1,%r6
;M_vsnprintf+96
	retf 0
	nop 0
	nop 0
;M_snprintf
	allocsp 10,16
	addi %r4,%sp,16
	std %r4,%sp,8
;M_snprintf+16
	bdeq %r2,%gz,M_snprintf+80
	lddz %r9,%sp,8
	mov2 %r6,%r7,%r1,%r2
;M_snprintf+32
	mov %r8,%r3
	callr %r5,vsnprintf
	bwlt %r6,%gz,M_snprintf+96
;M_snprintf+48
	srliw %r3,%r6,0
	bdleu %r2,%r3,M_snprintf+96
	mov %r1,%r6
;M_snprintf+64
	retf 16
	nop 0
	nop 0
;M_snprintf+80
	mov2 %r6,%r1,%gz,%gz
	retf 16
	nop 0
;M_snprintf+96
	addi %r6,%r2,-1
	stbx.xd %gz,%r2,%r1,0,-1
	mov %r1,%r6
;M_snprintf+112
	retf 16
	nop 0
	nop 0
;mkdir
	alloc 11
	srliw %r6,%r2,0
	ldi %r4,83
;mkdir+16
	mov2 %r5,%r7,%r1,%gz
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
;mkdir+32
	callr %r3,__syscall_postrisc
	mov %r10,%r4
	callr %r9,__syscall_ret
;mkdir+48
	mov %r1,%r10
	retf 0
	nop 0
;__fseeko_unlocked
	alloc 11
	bwltui %r3,3,__fseeko_unlocked+48
	callr %r9,___errno_location
;__fseeko_unlocked+16
	ldi %r1,22
	stw %r1,%r10,0
	ldi %r1,-1
;__fseeko_unlocked+32
	retf 0
	nop 0
	nop 0
;__fseeko_unlocked+48
	bwnei %r3,1,__fseeko_unlocked+80
	lddz %r4,%r1,16
	bdeq %r4,%gz,__fseeko_unlocked+80
;__fseeko_unlocked+64
	lddz %r5,%r1,8
	sub %r2,%r2,%r4
	add %r2,%r2,%r5
;__fseeko_unlocked+80
	lddz %r5,%r1,40
	lddz %r6,%r1,56
	ldi %r4,-1
;__fseeko_unlocked+96
	bdeq %r5,%r6,__fseeko_unlocked+128
	mov2 %r8,%r9,%r1,%gz
	mov %r10,%gz
;__fseeko_unlocked+112
	callmi %r7,%r1,72
	lddz %r5,%r1,40
	bdeq %r5,%gz,__fseeko_unlocked+208
;__fseeko_unlocked+128
	std %gz,%r1,32
	std %gz,%r1,56
	std %gz,%r1,40
;__fseeko_unlocked+144
	mov2 %r8,%r9,%r1,%r2
	mov %r10,%r3
	callmi %r7,%r1,80
;__fseeko_unlocked+160
	bdlt %r8,%gz,__fseeko_unlocked+208
	std %gz,%r1,16
	std %gz,%r1,8
;__fseeko_unlocked+176
	ldwz %r2,%r1,0
	mov %r4,%gz
	andi %r2,%r2,-17
;__fseeko_unlocked+192
	stw %r2,%r1,0
	nop 0
	nop 0
;__fseeko_unlocked+208
	mov %r1,%r4
	retf 0
	nop 0
;fseeko
	alloc 12
	mov %r4,%r1
	ldwz %r1,%r1,140
;fseeko+16
	bwlt %r1,%gz,fseeko+80
	mov %r11,%r4
	callr %r10,__lockfile
;fseeko+32
	cmpweqi %r6,%r11,0
	bwltui %r3,3,fseeko+96
	nop 0
;fseeko+48
	callr %r10,___errno_location
	ldi %r1,22
	stw %r1,%r11,0
;fseeko+64
	ldi %r1,-1
	jmp fseeko+256
	nop 0
;fseeko+80
	ldi %r6,1
	bwgeui %r3,3,fseeko+48
	nop 0
;fseeko+96
	bwnei %r3,1,fseeko+128
	lddz %r1,%r4,16
	bdeq %r1,%gz,fseeko+128
;fseeko+112
	lddz %r5,%r4,8
	sub %r1,%r2,%r1
	add %r2,%r1,%r5
;fseeko+128
	lddz %r5,%r4,40
	lddz %r7,%r4,56
	ldi %r1,-1
;fseeko+144
	bdeq %r5,%r7,fseeko+176
	mov2 %r9,%r10,%r4,%gz
	mov %r11,%gz
;fseeko+160
	callmi %r8,%r4,72
	lddz %r5,%r4,40
	bdeq %r5,%gz,fseeko+256
;fseeko+176
	std %gz,%r4,32
	std %gz,%r4,56
	std %gz,%r4,40
;fseeko+192
	mov2 %r9,%r10,%r4,%r2
	mov %r11,%r3
	callmi %r8,%r4,80
;fseeko+208
	bdlt %r9,%gz,fseeko+256
	std %gz,%r4,16
	std %gz,%r4,8
;fseeko+224
	ldwz %r2,%r4,0
	mov %r1,%gz
	andi %r2,%r2,-17
;fseeko+240
	stw %r2,%r4,0
	nop 0
	nop 0
;fseeko+256
	bbsi %r6,0,fseeko+272
	mov %r11,%r4
	callr %r10,__unlockfile
;fseeko+272
	retf 0
	nop 0
	nop 0
;fseek
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;fseek+16
	callr %r4,fseeko
	mov %r1,%r5
	retf 0
;strncpy
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;strncpy+16
	callr %r4,stpncpy
	retf 0
	nop 0
;stpncpy
	alloc 11
	xor %r4,%r2,%r1
	bmnone %r4,7,stpncpy+96
;stpncpy+16
	bdeq %r3,%gz,stpncpy+288
	nop 0
	nop 0
;stpncpy+32
	mov %r10,%r3
	nop 0
	nop 0
;stpncpy+48
	ldbz %r3,%r2,0
	stb %r3,%r1,0
	bweq %r3,%gz,stpncpy+304
;stpncpy+64
	addi %r10,%r10,-1
	addi %r2,%r2,1
	addi %r1,%r1,1
;stpncpy+80
	bdne %r10,%gz,stpncpy+48
	jmp stpncpy+288
	nop 0
;stpncpy+96
	cmpdnei %r4,%r3,0
	bmnone %r2,7,stpncpy+192
	bdeq %r3,%gz,stpncpy+192
;stpncpy+112
	addi %r5,%r2,1
	nop 0
	nop 0
;stpncpy+128
	ldbz %r4,%r2,0
	mov %r10,%r3
	stb %r4,%r1,0
;stpncpy+144
	bweq %r4,%gz,stpncpy+304
	addi %r3,%r10,-1
	addi %r2,%r2,1
;stpncpy+160
	addi %r1,%r1,1
	cmpdnei %r4,%r10,1
	bmnone %r5,7,stpncpy+192
;stpncpy+176
	addi %r5,%r5,1
	bdnei %r10,1,stpncpy+128
	nop 0
;stpncpy+192
	bbci %r4,0,stpncpy+288
	ldbz %r4,%r2,0
	bweq %r4,%gz,stpncpy+320
;stpncpy+208
	bdltui %r3,8,stpncpy+16
	ldi.l %r4,-9187201950435737472
;stpncpy+224
	lddz %r5,%r2,0
	subfi.l %r6,%r5,72340172838076672
;stpncpy+240
	or %r6,%r6,%r5
	and %r6,%r6,%r4
	bdne %r6,%r4,stpncpy+32
;stpncpy+256
	std %r5,%r1,0
	addi %r3,%r3,-8
	addi %r2,%r2,8
;stpncpy+272
	addi %r1,%r1,8
	bdgeui %r3,8,stpncpy+224
	jmp stpncpy+16
;stpncpy+288
	mov %r10,%gz
	nop 0
	nop 0
;stpncpy+304
	mov2 %r8,%r9,%r1,%gz
	callr %r7,memset
	retf 0
;stpncpy+320
	mov %r10,%r3
	jmp stpncpy+304
	nop 0
;strstr
	alloc 11
	ldbs %r10,%r2,0
	bweq %r10,%gz,strstr+400
;strstr+16
	mov %r9,%r1
	callr %r8,strchr
	bdeq %r9,%gz,strstr+128
;strstr+32
	mov %r1,%r9
	ldbz %r3,%r2,1
	bweq %r3,%gz,strstr+400
;strstr+48
	ldbz %r4,%r1,1
	bweq %r4,%gz,strstr+128
	ldbz %r5,%r2,2
;strstr+64
	bweq %r5,%gz,strstr+144
	ldbz %r6,%r1,2
	bweq %r6,%gz,strstr+128
;strstr+80
	ldbz %r7,%r2,3
	bweq %r7,%gz,strstr+256
	ldbz %r3,%r1,3
;strstr+96
	bweq %r3,%gz,strstr+128
	ldbz %r3,%r2,4
	bweq %r3,%gz,strstr+368
;strstr+112
	mov2 %r9,%r10,%r1,%r2
	callr %r8,twoway_strstr
	jmp strstr+384
;strstr+128
	mov %r1,%gz
	retf 0
	nop 0
;strstr+144
	ldbz %r2,%r2,0
	ldbz %r5,%r1,0
	slor %r2,%r3,%r2,8
;strstr+160
	andi %r2,%r2,65535
	slor %r3,%r4,%r5,8
	andi %r4,%r3,65535
;strstr+176
	bweq %r4,%r2,strstr+400
	nop 0
	nop 0
;strstr+192
	ldbz %r4,%r1,2
	andi %r4,%r4,255
	addi %r1,%r1,1
;strstr+208
	bweq %r4,%gz,strstr+240
	slor %r3,%r4,%r3,8
	andi %r5,%r3,65535
;strstr+224
	bwne %r5,%r2,strstr+192
	nop 0
	nop 0
;strstr+240
	cmovweq %r1,%r4,%gz,%r1
	retf 0
	nop 0
;strstr+256
	ldbz %r2,%r2,0
	ldbz %r7,%r1,0
	slliw %r5,%r5,8
;strstr+272
	slliw %r6,%r6,8
	slor %r3,%r5,%r3,16
	slor %r4,%r6,%r4,16
;strstr+288
	slor %r2,%r3,%r2,24
	slor %r3,%r4,%r7,24
	bweq %r3,%r2,strstr+400
;strstr+304
	ldbz %r4,%r1,3
	andi %r4,%r4,255
	addi %r1,%r1,1
;strstr+320
	bweq %r4,%gz,strstr+352
	or %r3,%r3,%r4
	slliw %r3,%r3,8
;strstr+336
	bwne %r3,%r2,strstr+304
	nop 0
	nop 0
;strstr+352
	cmovweq %r1,%r4,%gz,%r1
	retf 0
	nop 0
;strstr+368
	mov2 %r9,%r10,%r1,%r2
	callr %r8,fourbyte_strstr
	nop 0
;strstr+384
	mov %r1,%r9
	nop 0
	nop 0
;strstr+400
	retf 0
	nop 0
	nop 0
;fourbyte_strstr
	alloc 12
	ldbz %r5,%r1,3
	addi %r3,%r1,3
;fourbyte_strstr+16
	cmpwnei %r4,%r5,0
	bweq %r5,%gz,fourbyte_strstr+144
	ldbz %r6,%r2,1
;fourbyte_strstr+32
	ldbz %r7,%r2,0
	slliw %r6,%r6,16
	ldbz %r8,%r2,2
;fourbyte_strstr+48
	ldbz %r2,%r2,3
	ldbz %r9,%r1,1
	ldbz %r10,%r1,0
;fourbyte_strstr+64
	ldbz %r11,%r1,2
	slor %r1,%r6,%r7,24
	slliw %r6,%r9,16
;fourbyte_strstr+80
	slor %r1,%r1,%r8,8
	slor %r6,%r6,%r10,24
	or %r1,%r1,%r2
;fourbyte_strstr+96
	slor %r2,%r6,%r11,8
	or %r2,%r2,%r5
	bweq %r2,%r1,fourbyte_strstr+144
;fourbyte_strstr+112
	ldbz %r5,%r3,1
	addi %r3,%r3,1
	cmpwnei %r4,%r5,0
;fourbyte_strstr+128
	bweq %r5,%gz,fourbyte_strstr+144
	slor %r2,%r5,%r2,8
	bwne %r2,%r1,fourbyte_strstr+112
;fourbyte_strstr+144
	addi %r1,%r3,-3
	cmovlsb %r1,%r4,%r1,%gz
	retf 0
;twoway_strstr
	allocsp 24,2080
	stq %gz,%sp,2064
	stq %gz,%sp,2048
;twoway_strstr+16
	ldbz %r4,%r2,0
	mov %r5,%r1
	ldi %r1,-1
;twoway_strstr+32
	addi %r7,%r2,1
	addi %r8,%sp,2048
	addi %r9,%sp,0
;twoway_strstr+48
	bweq %r4,%gz,twoway_strstr+320
	mov %r6,%gz
	ldi %r3,1
;twoway_strstr+64
	ldbzx.xd %r10,%r5,%r6,0,0
	bweq %r10,%gz,twoway_strstr+800
	srliw %r10,%r4,3
;twoway_strstr+80
	andi %r10,%r10,24
	lddzx.xd %r11,%r8,%r10,0,0
	andi %r12,%r4,255
;twoway_strstr+96
	andi %r4,%r4,63
	sll %r4,%r3,%r4
	or %r4,%r11,%r4
;twoway_strstr+112
	stdx.xd %r4,%r8,%r10,0,0
	addi %r10,%r6,1
	stdx.xd %r10,%r9,%r12,3,0
;twoway_strstr+128
	ldbzx.xd %r4,%r7,%r6,0,0
	mov %r6,%r10
	bwne %r4,%gz,twoway_strstr+64
;twoway_strstr+144
	bdltui %r10,2,twoway_strstr+336
	ldi %r4,1
	mov %r6,%gz
;twoway_strstr+160
	ldi %r1,-1
	mov2 %r12,%r3,%r4,%r4
	mov %r11,%r4
;twoway_strstr+176
	jmp twoway_strstr+224
	nop 0
	nop 0
;twoway_strstr+192
	addi %r3,%r6,1
	mov2 %r1,%r6,%r6,%r3
	mov2 %r11,%r3,%r4,%r4
;twoway_strstr+208
	add %r12,%r11,%r6
	bdleu %r10,%r12,twoway_strstr+832
	nop 0
;twoway_strstr+224
	add %r13,%r2,%r1
	ldbzx.xd %r13,%r13,%r11,0,0
	ldbzx.xd %r14,%r2,%r12,0,0
;twoway_strstr+240
	bwne %r13,%r14,twoway_strstr+272
	bdne %r11,%r3,twoway_strstr+304
	add %r6,%r3,%r6
;twoway_strstr+256
	mov %r11,%r4
	jmp twoway_strstr+208
	nop 0
;twoway_strstr+272
	bwleu %r13,%r14,twoway_strstr+192
	sub %r3,%r12,%r1
	mov2 %r6,%r11,%r12,%r4
;twoway_strstr+288
	jmp twoway_strstr+208
	nop 0
	nop 0
;twoway_strstr+304
	addi %r11,%r11,1
	jmp twoway_strstr+208
	nop 0
;twoway_strstr+320
	ldi %r3,1
	mov %r10,%gz
	nop 0
;twoway_strstr+336
	mov2 %r4,%r6,%r1,%r3
	nop 0
	nop 0
;twoway_strstr+352
	addi %r11,%r4,1
	addi %r12,%r1,1
	cmpdltu %r11,%r12,%r11
;twoway_strstr+368
	cmovlsb %r12,%r11,%r6,%r3
	cmovlsb %r11,%r11,%r4,%r1
	add %r22,%r2,%r12
;twoway_strstr+384
	addi %r3,%r11,1
	mov2 %r21,%r23,%r2,%r3
	callr %r20,memcmp
;twoway_strstr+400
	bweq %r21,%gz,twoway_strstr+448
	mov %r13,%gz
	xori %r1,%r11,-1
;twoway_strstr+416
	add %r1,%r10,%r1
	maxu %r1,%r11,%r1
	addi %r12,%r1,1
;twoway_strstr+432
	jmp twoway_strstr+464
	nop 0
	nop 0
;twoway_strstr+448
	sub %r13,%r10,%r12
	nop 0
	nop 0
;twoway_strstr+464
	mov %r6,%gz
	ori %r4,%r10,63
	subfi %r14,%r3,1
;twoway_strstr+480
	mov %r16,%r5
	jmp twoway_strstr+528
	nop 0
;twoway_strstr+496
	mov %r6,%gz
	sub %r16,%r10,%r16
	maxu %r15,%r16,%r15
;twoway_strstr+512
	add %r16,%r1,%r15
	nop 0
	nop 0
;twoway_strstr+528
	mov %r1,%r16
	sub %r16,%r5,%r16
	mov %r15,%r6
;twoway_strstr+544
	bdleu %r10,%r16,twoway_strstr+592
	mov2 %r21,%r22,%r5,%gz
	mov %r23,%r4
;twoway_strstr+560
	callr %r20,memchr
	add %r5,%r5,%r4
	cmovdeq %r5,%r21,%r5,%r21
;twoway_strstr+576
	bdeq %r21,%gz,twoway_strstr+592
	sub %r6,%r21,%r1
	bdltu %r6,%r10,twoway_strstr+800
;twoway_strstr+592
	ldbzx.xd %r17,%r1,%r10,0,-1
	srliw %r6,%r17,3
	andi %r6,%r6,24
;twoway_strstr+608
	lddzx.xd %r18,%r8,%r6,0,0
	mov %r6,%gz
	andi %r19,%r17,63
;twoway_strstr+624
	add %r16,%r1,%r10
	bbc %r18,%r19,twoway_strstr+528
	srliw %r6,%r17,0
;twoway_strstr+640
	lddzx.xd %r16,%r9,%r6,3,0
	bdne %r10,%r16,twoway_strstr+496
	maxu %r17,%r3,%r15
;twoway_strstr+656
	ldbzx.xd %r6,%r2,%r17,0,0
	mov %r16,%r11
	bweq %r6,%gz,twoway_strstr+736
;twoway_strstr+672
	add %r16,%r1,%r17
	add %r17,%r7,%r17
	nop 0
;twoway_strstr+688
	ldbz %r18,%r16,0
	andi %r6,%r6,255
	bwne %r6,%r18,twoway_strstr+784
;twoway_strstr+704
	ldbz %r6,%r17,0
	addi %r16,%r16,1
	addi %r17,%r17,1
;twoway_strstr+720
	bwne %r6,%gz,twoway_strstr+688
	mov %r16,%r11
	nop 0
;twoway_strstr+736
	addi %r6,%r16,1
	bdleu %r6,%r15,twoway_strstr+816
	ldbzx.xd %r6,%r2,%r16,0,0
;twoway_strstr+752
	ldbzx.xd %r17,%r1,%r16,0,0
	addi %r16,%r16,-1
	bweq %r6,%r17,twoway_strstr+736
;twoway_strstr+768
	add %r16,%r1,%r12
	mov %r6,%r13
	jmp twoway_strstr+528
;twoway_strstr+784
	mov %r6,%gz
	add %r16,%r16,%r14
	jmp twoway_strstr+528
;twoway_strstr+800
	mov %r1,%gz
	nop 0
	nop 0
;twoway_strstr+816
	retf 2080
	nop 0
	nop 0
;twoway_strstr+832
	ldi %r11,1
	mov %r12,%gz
	ldi %r4,-1
;twoway_strstr+848
	mov2 %r14,%r6,%r11,%r11
	mov %r13,%r11
	jmp twoway_strstr+896
;twoway_strstr+864
	addi %r6,%r12,1
	mov2 %r4,%r12,%r12,%r6
	mov2 %r13,%r6,%r11,%r11
;twoway_strstr+880
	add %r14,%r13,%r12
	bdleu %r10,%r14,twoway_strstr+352
	nop 0
;twoway_strstr+896
	add %r15,%r2,%r4
	ldbzx.xd %r15,%r15,%r13,0,0
	ldbzx.xd %r16,%r2,%r14,0,0
;twoway_strstr+912
	bwne %r15,%r16,twoway_strstr+944
	bdne %r13,%r6,twoway_strstr+976
	add %r12,%r6,%r12
;twoway_strstr+928
	mov %r13,%r11
	jmp twoway_strstr+880
	nop 0
;twoway_strstr+944
	bwleu %r16,%r15,twoway_strstr+864
	sub %r6,%r14,%r4
	mov2 %r12,%r13,%r14,%r11
;twoway_strstr+960
	jmp twoway_strstr+880
	nop 0
	nop 0
;twoway_strstr+976
	addi %r13,%r13,1
	jmp twoway_strstr+880
	nop 0
;memcmp
	alloc 6
	bdeq %r3,%gz,memcmp+64
	nop 0
;memcmp+16
	ldbz %r4,%r1,0
	ldbz %r5,%r2,0
	bwne %r4,%r5,memcmp+80
;memcmp+32
	addi %r3,%r3,-1
	addi %r1,%r1,1
	addi %r2,%r2,1
;memcmp+48
	bdne %r3,%gz,memcmp+16
	nop 0
	nop 0
;memcmp+64
	mov %r1,%gz
	retf 0
	nop 0
;memcmp+80
	subws %r1,%r4,%r5
	retf 0
	nop 0
;strncmp
	alloc 7
	bdeq %r3,%gz,strncmp+144
	ldbz %r4,%r1,0
;strncmp+16
	bweq %r4,%gz,strncmp+96
	addi %r3,%r3,-1
	addi %r1,%r1,1
;strncmp+32
	ldbz %r5,%r2,0
	andi %r6,%r4,255
	bwne %r6,%r5,strncmp+112
;strncmp+48
	bweq %r5,%gz,strncmp+112
	cmpdnei %r5,%r3,0
	bbci %r5,0,strncmp+112
;strncmp+64
	ldbz %r4,%r1,0
	addi %r3,%r3,-1
	addi %r2,%r2,1
;strncmp+80
	addi %r1,%r1,1
	bwne %r4,%gz,strncmp+32
	nop 0
;strncmp+96
	mov %r4,%gz
	nop 0
	nop 0
;strncmp+112
	ldbz %r1,%r2,0
	andi %r2,%r4,255
	subws %r1,%r2,%r1
;strncmp+128
	retf 0
	nop 0
	nop 0
;strncmp+144
	mov %r1,%gz
	retf 0
	nop 0
;P_Random
	alloc 3
	ldwzr %r1,prndindex
	addiws %r1,%r1,1
;P_Random+16
	andi %r2,%r1,255
	ldafr %r1,rndtable
	ldbzx.xuw %r1,%r1,%r2,0,0
;P_Random+32
	stwr %r2,prndindex
	retf 0
	nop 0
;M_Random
	alloc 3
	ldwzr %r1,rndindex
	addiws %r1,%r1,1
;M_Random+16
	andi %r2,%r1,255
	ldafr %r1,rndtable
	ldbzx.xuw %r1,%r1,%r2,0,0
;M_Random+32
	stwr %r2,rndindex
	retf 0
	nop 0
;M_ClearRandom
	alloc 1
	stwr %gz,prndindex
	stwr %gz,rndindex
;M_ClearRandom+16
	retf 0
	nop 0
	nop 0
;T_MoveCeiling
	alloc 12
	ldwz %r2,%r1,56
	bweqi %r2,-1,T_MoveCeiling+192
;T_MoveCeiling+16
	bwnei %r2,1,T_MoveCeiling+416
	lddz %r6,%r1,32
	ldwz %r7,%r1,48
;T_MoveCeiling+32
	ldwz %r8,%r1,44
	ldi %r10,1
	mov2 %r9,%r11,%gz,%r10
;T_MoveCeiling+48
	callr %r5,T_MovePlane
	ldbzr %r2,leveltime
	andi %r2,%r2,7
;T_MoveCeiling+64
	bwne %r2,%gz,T_MoveCeiling+112
	ldwz %r2,%r1,24
	bweqi %r2,5,T_MoveCeiling+112
;T_MoveCeiling+80
	lddz %r2,%r1,32
	addi %r10,%r2,48
	ldi %r11,22
;T_MoveCeiling+96
	callr %r9,S_StartSound
	nop 0
	nop 0
;T_MoveCeiling+112
	bwnei %r6,2,T_MoveCeiling+416
	ldwz %r2,%r1,24
	addiws %r3,%r2,-3
;T_MoveCeiling+128
	bwltui %r3,2,T_MoveCeiling+496
	bweqi %r2,5,T_MoveCeiling+464
	bwnei %r2,1,T_MoveCeiling+416
;T_MoveCeiling+144
	mov %r2,%gz
	ldafr %r3,activeceilings
	nop 0
;T_MoveCeiling+160
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%r1,T_MoveCeiling+432
	addi %r2,%r2,8
;T_MoveCeiling+176
	bdnei %r2,240,T_MoveCeiling+160
	jmp T_MoveCeiling+416
	nop 0
;T_MoveCeiling+192
	lddz %r6,%r1,32
	ldwz %r7,%r1,48
	ldwz %r8,%r1,40
;T_MoveCeiling+208
	ldwz %r9,%r1,52
	ldi %r2,1
	ldi %r11,-1
;T_MoveCeiling+224
	mov %r10,%r2
	callr %r5,T_MovePlane
	ldbzr %r3,leveltime
;T_MoveCeiling+240
	andi %r3,%r3,7
	bwne %r3,%gz,T_MoveCeiling+288
	ldwz %r3,%r1,24
;T_MoveCeiling+256
	bweqi %r3,5,T_MoveCeiling+288
	lddz %r3,%r1,32
	addi %r10,%r3,48
;T_MoveCeiling+272
	ldi %r11,22
	callr %r9,S_StartSound
	nop 0
;T_MoveCeiling+288
	bweqi %r6,1,T_MoveCeiling+368
	bwnei %r6,2,T_MoveCeiling+416
	ldwz %r3,%r1,24
;T_MoveCeiling+304
	bdgeui %r3,6,T_MoveCeiling+416
	ldafr %r4,.rodata+35488
	jmpt %r4,%r3
;T_MoveCeiling+320
	mov %r2,%gz
	ldafr %r3,activeceilings
	nop 0
;T_MoveCeiling+336
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%r1,T_MoveCeiling+432
	addi %r2,%r2,8
;T_MoveCeiling+352
	bdnei %r2,240,T_MoveCeiling+336
	jmp T_MoveCeiling+416
	nop 0
;T_MoveCeiling+368
	ldwz %r3,%r1,24
	bwgeui %r3,6,T_MoveCeiling+416
	sllw %r2,%r2,%r3
;T_MoveCeiling+384
	andi %r2,%r2,44
	bweq %r2,%gz,T_MoveCeiling+416
	ldi %r2,8192
;T_MoveCeiling+400
	stw %r2,%r1,48
	nop 0
	nop 0
;T_MoveCeiling+416
	retf 0
	nop 0
	nop 0
;T_MoveCeiling+432
	lddz %r1,%r4,32
	std %gz,%r1,104
	lddzx.xd %r11,%r2,%r3,0,0
;T_MoveCeiling+448
	callr %r10,P_RemoveThinker
	stdx.xd %gz,%r2,%r3,0,0
	retf 0
;T_MoveCeiling+464
	lddz %r2,%r1,32
	addi %r10,%r2,48
	ldi %r11,19
;T_MoveCeiling+480
	callr %r9,S_StartSound
	nop 0
	nop 0
;T_MoveCeiling+496
	ldi %r2,-1
	stw %r2,%r1,56
	retf 0
;T_MoveCeiling+512
	lddz %r3,%r1,32
	addi %r10,%r3,48
	ldi %r11,19
;T_MoveCeiling+528
	callr %r9,S_StartSound
	nop 0
	nop 0
;T_MoveCeiling+544
	ldi %r3,65536
	stw %r3,%r1,48
	nop 0
;T_MoveCeiling+560
	stw %r2,%r1,56
	retf 0
	nop 0
;P_RemoveActiveCeiling
	alloc 7
	mov %r2,%gz
	ldafr %r3,activeceilings
;P_RemoveActiveCeiling+16
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%r1,P_RemoveActiveCeiling+48
	addi %r2,%r2,8
;P_RemoveActiveCeiling+32
	bdnei %r2,240,P_RemoveActiveCeiling+16
	retf 0
	nop 0
;P_RemoveActiveCeiling+48
	lddz %r1,%r4,32
	std %gz,%r1,104
	lddzx.xd %r6,%r2,%r3,0,0
;P_RemoveActiveCeiling+64
	callr %r5,P_RemoveThinker
	stdx.xd %gz,%r2,%r3,0,0
	retf 0
;EV_DoCeiling
	alloc 21
	addiws %r3,%r2,-3
	mov %r7,%r1
;EV_DoCeiling+16
	ldafr %r8,activeceilings
	ldar %r9,T_MoveCeiling
	bwgeui %r3,3,EV_DoCeiling+128
;EV_DoCeiling+32
	mov %r1,%gz
	jmp EV_DoCeiling+64
	nop 0
;EV_DoCeiling+48
	addi %r1,%r1,8
	bdeqi %r1,240,EV_DoCeiling+128
	nop 0
;EV_DoCeiling+64
	lddzx.xd %r3,%r1,%r8,0,0
	bdeq %r3,%gz,EV_DoCeiling+48
	ldwz %r4,%r3,60
;EV_DoCeiling+80
	ldhs %r5,%r7,28
	bwne %r4,%r5,EV_DoCeiling+48
	ldwz %r4,%r3,56
;EV_DoCeiling+96
	bwne %r4,%gz,EV_DoCeiling+48
	ldwz %r4,%r3,64
	stw %r4,%r3,56
;EV_DoCeiling+112
	std %r9,%r3,16
	jmp EV_DoCeiling+48
	nop 0
;EV_DoCeiling+128
	mov %r1,%gz
	ldi %r10,-1
	ldi %r3,72
;EV_DoCeiling+144
	ldi %r4,6
	srliw %r11,%r2,0
	ldi %r12,1
;EV_DoCeiling+160
	ldafr %r13,.rodata+35512
	ldi %r14,65536
	ldi %r15,131072
;EV_DoCeiling+176
	mov %r5,%r10
	nop 0
	nop 0
;EV_DoCeiling+192
	mov2 %r19,%r20,%r7,%r5
	callr %r18,P_FindSectorFromLineTag
	bwlt %r19,%gz,EV_DoCeiling+544
;EV_DoCeiling+208
	mov %r5,%r19
	lddzr %r16,sectors
	ldax.xuw %r6,%r16,%r19,7,0
;EV_DoCeiling+224
	lddzx.xuw %r16,%r16,%r19,7,104
	bdne %r16,%gz,EV_DoCeiling+192
	mov2 %r18,%r19,%r3,%r4
;EV_DoCeiling+240
	mov %r20,%gz
	callr %r17,Z_Malloc
	mov %r20,%r18
;EV_DoCeiling+256
	callr %r19,P_AddThinker
	std %r18,%r6,104
	std %r9,%r18,16
;EV_DoCeiling+272
	std %r6,%r18,32
	stw %gz,%r18,52
	bwgeui %r2,6,EV_DoCeiling+384
;EV_DoCeiling+288
	jmpt %r13,%r11
	nop 0
	nop 0
;EV_DoCeiling+304
	stw %r12,%r18,52
	ldwz %r1,%r6,4
	stw %r1,%r18,44
;EV_DoCeiling+320
	ldwz %r1,%r6,0
	addiws %r16,%r1,524288
	cmovweq %r1,%r2,%r1,%r16
;EV_DoCeiling+336
	stw %r1,%r18,40
	mov %r1,%r10
	nop 0
;EV_DoCeiling+352
	mov %r16,%r14
	nop 0
	nop 0
;EV_DoCeiling+368
	stw %r1,%r18,56
	stw %r16,%r18,48
	nop 0
;EV_DoCeiling+384
	ldhs %r6,%r6,16
	mov %r1,%gz
	stw %r6,%r18,60
;EV_DoCeiling+400
	stw %r2,%r18,24
	nop 0
	nop 0
;EV_DoCeiling+416
	lddzx.xd %r6,%r1,%r8,0,0
	bdeq %r6,%gz,EV_DoCeiling+448
	addi %r1,%r1,8
;EV_DoCeiling+432
	bdnei %r1,240,EV_DoCeiling+416
	mov %r1,%r12
	jmp EV_DoCeiling+192
;EV_DoCeiling+448
	stdx.xd %r18,%r1,%r8,0,0
	mov %r1,%r12
	jmp EV_DoCeiling+192
;EV_DoCeiling+464
	mov %r20,%r6
	callr %r19,P_FindHighestCeilingSurrounding
	stw %r20,%r18,44
;EV_DoCeiling+480
	mov %r1,%r12
	jmp EV_DoCeiling+352
	nop 0
;EV_DoCeiling+496
	stw %r12,%r18,52
	ldwz %r1,%r6,4
	stw %r1,%r18,44
;EV_DoCeiling+512
	ldwz %r1,%r6,0
	addiws %r1,%r1,524288
	stw %r1,%r18,40
;EV_DoCeiling+528
	mov2 %r1,%r16,%r10,%r15
	jmp EV_DoCeiling+368
	nop 0
;EV_DoCeiling+544
	retf 0
	nop 0
	nop 0
;P_ActivateInStasisCeiling
	alloc 8
	mov %r2,%gz
	ldafr %r3,activeceilings
;P_ActivateInStasisCeiling+16
	ldar %r4,T_MoveCeiling
	jmp P_ActivateInStasisCeiling+48
	nop 0
;P_ActivateInStasisCeiling+32
	addi %r2,%r2,8
	bdeqi %r2,240,P_ActivateInStasisCeiling+112
	nop 0
;P_ActivateInStasisCeiling+48
	lddzx.xd %r5,%r2,%r3,0,0
	bdeq %r5,%gz,P_ActivateInStasisCeiling+32
	ldwz %r6,%r5,60
;P_ActivateInStasisCeiling+64
	ldhs %r7,%r1,28
	bwne %r6,%r7,P_ActivateInStasisCeiling+32
	ldwz %r6,%r5,56
;P_ActivateInStasisCeiling+80
	bwne %r6,%gz,P_ActivateInStasisCeiling+32
	ldwz %r6,%r5,64
	stw %r6,%r5,56
;P_ActivateInStasisCeiling+96
	std %r4,%r5,16
	jmp P_ActivateInStasisCeiling+32
	nop 0
;P_ActivateInStasisCeiling+112
	retf 0
	nop 0
	nop 0
;P_AddActiveCeiling
	alloc 5
	mov %r2,%gz
	ldafr %r3,activeceilings
;P_AddActiveCeiling+16
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%gz,P_AddActiveCeiling+48
	addi %r2,%r2,8
;P_AddActiveCeiling+32
	bdnei %r2,240,P_AddActiveCeiling+16
	retf 0
	nop 0
;P_AddActiveCeiling+48
	stdx.xd %r1,%r2,%r3,0,0
	retf 0
	nop 0
;EV_CeilingCrushStop
	alloc 9
	mov2 %r3,%r2,%gz,%gz
	ldafr %r4,activeceilings
;EV_CeilingCrushStop+16
	ldi %r5,1
	jmp EV_CeilingCrushStop+48
	nop 0
;EV_CeilingCrushStop+32
	addi %r3,%r3,8
	bdeqi %r3,240,EV_CeilingCrushStop+128
	nop 0
;EV_CeilingCrushStop+48
	lddzx.xd %r6,%r3,%r4,0,0
	bdeq %r6,%gz,EV_CeilingCrushStop+32
	ldwz %r7,%r6,60
;EV_CeilingCrushStop+64
	ldhs %r8,%r1,28
	bwne %r7,%r8,EV_CeilingCrushStop+32
	ldwz %r7,%r6,56
;EV_CeilingCrushStop+80
	bweq %r7,%gz,EV_CeilingCrushStop+32
	stw %r7,%r6,64
	std %gz,%r6,16
;EV_CeilingCrushStop+96
	lddzx.xd %r2,%r3,%r4,0,0
	stw %gz,%r2,56
	mov %r2,%r5
;EV_CeilingCrushStop+112
	jmp EV_CeilingCrushStop+32
	nop 0
	nop 0
;EV_CeilingCrushStop+128
	mov %r1,%r2
	retf 0
	nop 0
;T_VerticalDoor
	alloc 11
	ldwz %r2,%r1,48
	addiws %r3,%r2,1
;T_VerticalDoor+16
	bwgeui %r3,4,T_VerticalDoor+304
	addiwz %r2,%r2,1
	ldafr %r3,.rodata+35536
;T_VerticalDoor+32
	jmpt %r3,%r2
	nop 0
	nop 0
;T_VerticalDoor+48
	lddz %r5,%r1,32
	ldwz %r6,%r1,44
	ldwz %r7,%r5,0
;T_VerticalDoor+64
	ldi %r2,1
	ldi %r10,-1
	mov2 %r8,%r9,%gz,%r2
;T_VerticalDoor+80
	callr %r4,T_MovePlane
	bweqi %r5,1,T_VerticalDoor+448
	bwnei %r5,2,T_VerticalDoor+304
;T_VerticalDoor+96
	ldwz %r2,%r1,24
	bdgeui %r2,8,T_VerticalDoor+304
	ldafr %r3,.rodata+35552
;T_VerticalDoor+112
	jmpt %r3,%r2
	nop 0
	nop 0
;T_VerticalDoor+128
	lddz %r2,%r1,32
	std %gz,%r2,104
	mov %r10,%r1
;T_VerticalDoor+144
	callr %r9,P_RemoveThinker
	jmp T_VerticalDoor+384
	nop 0
;T_VerticalDoor+160
	lddz %r5,%r1,32
	ldwz %r6,%r1,44
	ldwz %r7,%r1,40
;T_VerticalDoor+176
	ldi %r2,1
	mov2 %r8,%r9,%gz,%r2
	mov %r10,%r2
;T_VerticalDoor+192
	callr %r4,T_MovePlane
	bwnei %r5,2,T_VerticalDoor+304
	ldwz %r3,%r1,24
;T_VerticalDoor+208
	bwgeui %r3,7,T_VerticalDoor+304
	sllw %r2,%r2,%r3
	andi %r3,%r2,74
;T_VerticalDoor+224
	bweq %r3,%gz,T_VerticalDoor+480
	nop 0
	nop 0
;T_VerticalDoor+240
	lddz %r2,%r1,32
	std %gz,%r2,104
	mov %r10,%r1
;T_VerticalDoor+256
	callr %r9,P_RemoveThinker
	retf 0
	nop 0
;T_VerticalDoor+272
	ldwz %r2,%r1,56
	addiws %r2,%r2,-1
	stw %r2,%r1,56
;T_VerticalDoor+288
	bweq %r2,%gz,T_VerticalDoor+416
	nop 0
	nop 0
;T_VerticalDoor+304
	retf 0
	nop 0
	nop 0
;T_VerticalDoor+320
	ldwz %r2,%r1,56
	addiws %r2,%r2,-1
	stw %r2,%r1,56
;T_VerticalDoor+336
	bwne %r2,%gz,T_VerticalDoor+304
	ldwz %r2,%r1,24
	bweq %r2,%gz,T_VerticalDoor+576
;T_VerticalDoor+352
	bweqi %r2,1,T_VerticalDoor+512
	bwnei %r2,5,T_VerticalDoor+304
	ldi %r2,-1
;T_VerticalDoor+368
	stw %r2,%r1,48
	nop 0
	nop 0
;T_VerticalDoor+384
	lddz %r1,%r1,32
	addi %r9,%r1,48
	ldi %r10,89
;T_VerticalDoor+400
	callr %r8,S_StartSound
	retf 0
	nop 0
;T_VerticalDoor+416
	ldwz %r2,%r1,24
	bwnei %r2,4,T_VerticalDoor+304
	ldi %r2,1
;T_VerticalDoor+432
	stw %r2,%r1,48
	stw %gz,%r1,24
	jmp T_VerticalDoor+544
;T_VerticalDoor+448
	ldwz %r3,%r1,24
	bweqi %r3,2,T_VerticalDoor+304
	bweqi %r3,7,T_VerticalDoor+304
;T_VerticalDoor+464
	jmp T_VerticalDoor+528
	nop 0
	nop 0
;T_VerticalDoor+480
	andi %r2,%r2,33
	bweq %r2,%gz,T_VerticalDoor+304
	stw %gz,%r1,48
;T_VerticalDoor+496
	ldwz %r2,%r1,52
	stw %r2,%r1,56
	retf 0
;T_VerticalDoor+512
	ldi %r2,1
	nop 0
	nop 0
;T_VerticalDoor+528
	stw %r2,%r1,48
	nop 0
	nop 0
;T_VerticalDoor+544
	lddz %r1,%r1,32
	addi %r9,%r1,48
	ldi %r10,20
;T_VerticalDoor+560
	callr %r8,S_StartSound
	retf 0
	nop 0
;T_VerticalDoor+576
	ldi %r2,-1
	stw %r2,%r1,48
	lddz %r1,%r1,32
;T_VerticalDoor+592
	addi %r9,%r1,48
	ldi %r10,21
	callr %r8,S_StartSound
;T_VerticalDoor+608
	retf 0
	nop 0
	nop 0
;T_VerticalDoor+624
	stw %gz,%r1,48
	ldi %r2,1050
	stw %r2,%r1,56
;T_VerticalDoor+640
	retf 0
	nop 0
	nop 0
;EV_DoLockedDoor
	alloc 9
	lddz %r3,%r3,192
	bdeq %r3,%gz,EV_DoLockedDoor+128
;EV_DoLockedDoor+16
	ldhz %r4,%r1,26
	addiws %r5,%r4,-99
	bwgeui %r5,39,EV_DoLockedDoor+208
;EV_DoLockedDoor+32
	addiwz %r4,%r4,-99
	ldi %r5,1
	sll %r4,%r5,%r4
;EV_DoLockedDoor+48
	bmany.l %r4,17179869185,EV_DoLockedDoor+176
	nop 2
;EV_DoLockedDoor+64
	bmany.l %r4,103079215104,EV_DoLockedDoor+144
	nop 2
;EV_DoLockedDoor+80
	bmnone.l %r4,412316860416,EV_DoLockedDoor+208
	ldwz %r4,%r3,84
;EV_DoLockedDoor+96
	bwne %r4,%gz,EV_DoLockedDoor+208
	ldwz %r4,%r3,96
	bwne %r4,%gz,EV_DoLockedDoor+208
;EV_DoLockedDoor+112
	ldafr %r1,.rodata+27574
	jmp EV_DoLockedDoor+256
	nop 0
;EV_DoLockedDoor+128
	mov %r1,%gz
	retf 0
	nop 0
;EV_DoLockedDoor+144
	ldwz %r4,%r3,88
	bwne %r4,%gz,EV_DoLockedDoor+208
	ldwz %r4,%r3,100
;EV_DoLockedDoor+160
	bwne %r4,%gz,EV_DoLockedDoor+208
	ldafr %r1,.rodata+10297
	jmp EV_DoLockedDoor+256
;EV_DoLockedDoor+176
	ldwz %r4,%r3,80
	bwne %r4,%gz,EV_DoLockedDoor+208
	ldwz %r4,%r3,92
;EV_DoLockedDoor+192
	bweq %r4,%gz,EV_DoLockedDoor+240
	nop 0
	nop 0
;EV_DoLockedDoor+208
	mov2 %r7,%r8,%r1,%r2
	callr %r6,EV_DoDoor
	mov %r1,%r7
;EV_DoLockedDoor+224
	retf 0
	nop 0
	nop 0
;EV_DoLockedDoor+240
	ldafr %r1,.rodata+960
	nop 0
	nop 0
;EV_DoLockedDoor+256
	std %r1,%r3,232
	ldi %r8,34
	mov %r7,%gz
;EV_DoLockedDoor+272
	callr %r6,S_StartSound
	mov %r1,%gz
	retf 0
;EV_DoDoor
	alloc 25
	mov2 %r7,%r1,%r1,%gz
	ldi %r8,-1
;EV_DoDoor+16
	ldi %r3,64
	ldi %r4,6
	ldar %r9,T_VerticalDoor
;EV_DoDoor+32
	ldi %r10,150
	ldi %r11,131072
	ldi %r12,1
;EV_DoDoor+48
	srliw %r13,%r2,0
	ldafr %r14,.rodata+35584
	ldi %r15,20
;EV_DoDoor+64
	ldi %r16,21
	ldi %r17,524288
	ldi %r18,88
;EV_DoDoor+80
	ldi %r19,89
	mov %r5,%r8
	nop 0
;EV_DoDoor+96
	mov2 %r23,%r24,%r7,%r5
	callr %r22,P_FindSectorFromLineTag
	bwlt %r23,%gz,EV_DoDoor+512
;EV_DoDoor+112
	mov %r5,%r23
	lddzr %r20,sectors
	ldax.xuw %r6,%r20,%r23,7,0
;EV_DoDoor+128
	lddzx.xuw %r20,%r20,%r23,7,104
	bdne %r20,%gz,EV_DoDoor+96
	mov2 %r22,%r23,%r3,%r4
;EV_DoDoor+144
	mov %r24,%gz
	callr %r21,Z_Malloc
	mov %r24,%r22
;EV_DoDoor+160
	callr %r23,P_AddThinker
	std %r22,%r6,104
	std %r9,%r22,16
;EV_DoDoor+176
	std %r6,%r22,32
	stw %r2,%r22,24
	stw %r10,%r22,52
;EV_DoDoor+192
	stw %r11,%r22,44
	mov %r1,%r12
	bwgeui %r2,8,EV_DoDoor+96
;EV_DoDoor+208
	mov %r1,%r12
	jmpt %r14,%r13
	nop 0
;EV_DoDoor+224
	stw %r12,%r22,48
	mov %r24,%r6
	callr %r23,P_FindLowestCeilingSurrounding
;EV_DoDoor+240
	addiws %r20,%r24,-262144
	stw %r20,%r22,40
	ldwz %r6,%r6,4
;EV_DoDoor+256
	mov %r1,%r12
	bweq %r20,%r6,EV_DoDoor+96
	lddz %r6,%r22,32
;EV_DoDoor+272
	mov %r24,%r15
	jmp EV_DoDoor+480
	nop 0
;EV_DoDoor+288
	stw %r12,%r22,48
	mov %r24,%r6
	callr %r23,P_FindLowestCeilingSurrounding
;EV_DoDoor+304
	addiws %r20,%r24,-262144
	stw %r20,%r22,40
	stw %r17,%r22,44
;EV_DoDoor+320
	ldwz %r6,%r6,4
	mov %r1,%r12
	bweq %r20,%r6,EV_DoDoor+96
;EV_DoDoor+336
	lddz %r6,%r22,32
	mov %r24,%r18
	jmp EV_DoDoor+480
;EV_DoDoor+352
	ldwz %r1,%r6,4
	stw %r1,%r22,40
	stw %r8,%r22,48
;EV_DoDoor+368
	mov %r24,%r16
	jmp EV_DoDoor+480
	nop 0
;EV_DoDoor+384
	mov %r24,%r6
	callr %r23,P_FindLowestCeilingSurrounding
	addiws %r1,%r24,-262144
;EV_DoDoor+400
	stw %r1,%r22,40
	stw %r8,%r22,48
	lddz %r6,%r22,32
;EV_DoDoor+416
	mov %r24,%r16
	jmp EV_DoDoor+480
	nop 0
;EV_DoDoor+432
	mov %r24,%r6
	callr %r23,P_FindLowestCeilingSurrounding
	addiws %r1,%r24,-262144
;EV_DoDoor+448
	stw %r1,%r22,40
	stw %r8,%r22,48
	stw %r17,%r22,44
;EV_DoDoor+464
	lddz %r6,%r22,32
	mov %r24,%r19
	nop 0
;EV_DoDoor+480
	addi %r23,%r6,48
	callr %r22,S_StartSound
	mov %r1,%r12
;EV_DoDoor+496
	jmp EV_DoDoor+96
	nop 0
	nop 0
;EV_DoDoor+512
	retf 0
	nop 0
	nop 0
;EV_VerticalDoor
	alloc 13
	ldhz %r4,%r1,26
	lddz %r3,%r2,192
;EV_VerticalDoor+16
	ldi %r5,1
	bwgeui %r4,35,EV_VerticalDoor+192
	srliw %r2,%r4,0
;EV_VerticalDoor+32
	sll %r2,%r5,%r2
	bmany.l %r2,4362076160,EV_VerticalDoor+160
;EV_VerticalDoor+48
	bmany.l %r2,8858370048,EV_VerticalDoor+112
	nop 2
;EV_VerticalDoor+64
	bmnone.l %r2,17314086912,EV_VerticalDoor+192
	bdeq %r3,%gz,EV_VerticalDoor+672
;EV_VerticalDoor+80
	ldwz %r2,%r3,84
	bwne %r2,%gz,EV_VerticalDoor+192
	ldwz %r2,%r3,96
;EV_VerticalDoor+96
	bwne %r2,%gz,EV_VerticalDoor+192
	ldafr %r1,.rodata+25712
	jmp EV_VerticalDoor+704
;EV_VerticalDoor+112
	bdeq %r3,%gz,EV_VerticalDoor+672
	ldwz %r2,%r3,88
	bwne %r2,%gz,EV_VerticalDoor+192
;EV_VerticalDoor+128
	ldwz %r2,%r3,100
	bwne %r2,%gz,EV_VerticalDoor+192
	ldafr %r1,.rodata+10340
;EV_VerticalDoor+144
	jmp EV_VerticalDoor+704
	nop 0
	nop 0
;EV_VerticalDoor+160
	bdeq %r3,%gz,EV_VerticalDoor+672
	ldwz %r2,%r3,80
	bwne %r2,%gz,EV_VerticalDoor+192
;EV_VerticalDoor+176
	ldwz %r2,%r3,92
	bweq %r2,%gz,EV_VerticalDoor+688
	nop 0
;EV_VerticalDoor+192
	ldhs %r2,%r1,32
	lddzr %r6,sides
	muli %r2,%r2,24
;EV_VerticalDoor+208
	lddzx.xd %r2,%r6,%r2,0,16
	lddz %r6,%r2,104
	bdeq %r6,%gz,EV_VerticalDoor+256
;EV_VerticalDoor+224
	bwgei %r4,31,EV_VerticalDoor+272
	addiws %r7,%r4,-26
	bwltui %r7,3,EV_VerticalDoor+288
;EV_VerticalDoor+240
	bweqi %r4,1,EV_VerticalDoor+288
	jmp EV_VerticalDoor+352
	nop 0
;EV_VerticalDoor+256
	addiws %r3,%r4,-117
	bwgeui %r3,2,EV_VerticalDoor+352
	jmp EV_VerticalDoor+368
;EV_VerticalDoor+272
	bweqi %r4,31,EV_VerticalDoor+352
	bweqi %r4,118,EV_VerticalDoor+368
	bwnei %r4,117,EV_VerticalDoor+352
;EV_VerticalDoor+288
	ldwz %r1,%r6,48
	bweqi %r1,-1,EV_VerticalDoor+592
	bdeq %r3,%gz,EV_VerticalDoor+672
;EV_VerticalDoor+304
	lddz %r1,%r6,16
	ldar %r2,T_VerticalDoor
	bdeq %r1,%r2,EV_VerticalDoor+768
;EV_VerticalDoor+320
	ldar %r2,T_PlatRaise
	bdne %r1,%r2,EV_VerticalDoor+736
	ldi %r1,-1
;EV_VerticalDoor+336
	stw %r1,%r6,44
	retf 0
	nop 0
;EV_VerticalDoor+352
	ldi %r12,20
	jmp EV_VerticalDoor+384
	nop 0
;EV_VerticalDoor+368
	ldi %r12,88
	nop 0
	nop 0
;EV_VerticalDoor+384
	addi %r11,%r2,48
	callr %r10,S_StartSound
	ldi %r10,64
;EV_VerticalDoor+400
	ldi %r3,6
	mov2 %r11,%r12,%r3,%gz
	callr %r9,Z_Malloc
;EV_VerticalDoor+416
	mov %r12,%r10
	callr %r11,P_AddThinker
	std %r10,%r2,104
;EV_VerticalDoor+432
	ldar %r4,T_VerticalDoor
	std %r4,%r10,16
	std %r2,%r10,32
;EV_VerticalDoor+448
	ldi.l %r4,644245094401
	std %r4,%r10,48
;EV_VerticalDoor+464
	ldi %r4,131072
	stw %r4,%r10,44
	ldhz %r4,%r1,26
;EV_VerticalDoor+480
	bwgeui %r4,35,EV_VerticalDoor+560
	srliw %r6,%r4,0
	sll %r5,%r5,%r6
;EV_VerticalDoor+496
	bmany.l %r5,469762050,EV_VerticalDoor+544
	nop 2
;EV_VerticalDoor+512
	bmnone.l %r5,32212254720,EV_VerticalDoor+560
	ldi %r3,3
;EV_VerticalDoor+528
	stw %r3,%r10,24
	sth %gz,%r1,26
	jmp EV_VerticalDoor+640
;EV_VerticalDoor+544
	stw %gz,%r10,24
	jmp EV_VerticalDoor+640
	nop 0
;EV_VerticalDoor+560
	bweqi %r4,117,EV_VerticalDoor+608
	bwnei %r4,118,EV_VerticalDoor+640
	stw %r3,%r10,24
;EV_VerticalDoor+576
	sth %gz,%r1,26
	jmp EV_VerticalDoor+624
	nop 0
;EV_VerticalDoor+592
	stw %r5,%r6,48
	retf 0
	nop 0
;EV_VerticalDoor+608
	ldi %r1,5
	stw %r1,%r10,24
	nop 0
;EV_VerticalDoor+624
	ldi %r1,524288
	stw %r1,%r10,44
	nop 0
;EV_VerticalDoor+640
	mov %r12,%r2
	callr %r11,P_FindLowestCeilingSurrounding
	addiws %r1,%r12,-262144
;EV_VerticalDoor+656
	stw %r1,%r10,40
	nop 0
	nop 0
;EV_VerticalDoor+672
	retf 0
	nop 0
	nop 0
;EV_VerticalDoor+688
	ldafr %r1,.rodata+21144
	nop 0
	nop 0
;EV_VerticalDoor+704
	std %r1,%r3,232
	ldi %r12,34
	mov %r11,%gz
;EV_VerticalDoor+720
	callr %r10,S_StartSound
	retf 0
	nop 0
;EV_VerticalDoor+736
	lddzr %r12,stderr
	ldafr %r9,.rodata+10377
	ldi %r10,62
;EV_VerticalDoor+752
	ldi %r11,1
	callr %r8,fwrite_unlocked
	nop 0
;EV_VerticalDoor+768
	ldi %r1,-1
	stw %r1,%r6,48
	retf 0
;P_SpawnDoorCloseIn30
	alloc 7
	ldi %r4,64
	ldi %r5,6
;P_SpawnDoorCloseIn30+16
	mov %r6,%gz
	callr %r3,Z_Malloc
	mov %r6,%r4
;P_SpawnDoorCloseIn30+32
	callr %r5,P_AddThinker
	std %r4,%r1,104
	sth %gz,%r1,14
;P_SpawnDoorCloseIn30+48
	ldar %r2,T_VerticalDoor
	std %r2,%r4,16
	std %r1,%r4,32
;P_SpawnDoorCloseIn30+64
	stw %gz,%r4,48
	stw %gz,%r4,24
	ldi %r1,131072
;P_SpawnDoorCloseIn30+80
	stw %r1,%r4,44
	ldi %r1,1050
	stw %r1,%r4,56
;P_SpawnDoorCloseIn30+96
	retf 0
	nop 0
	nop 0
;P_SpawnDoorRaiseIn5Mins
	alloc 7
	ldi %r4,64
	ldi %r5,6
;P_SpawnDoorRaiseIn5Mins+16
	mov %r6,%gz
	callr %r3,Z_Malloc
	mov %r6,%r4
;P_SpawnDoorRaiseIn5Mins+32
	callr %r5,P_AddThinker
	std %r4,%r1,104
	sth %gz,%r1,14
;P_SpawnDoorRaiseIn5Mins+48
	ldar %r2,T_VerticalDoor
	std %r2,%r4,16
	std %r1,%r4,32
;P_SpawnDoorRaiseIn5Mins+64
	ldi %r2,2
	stw %r2,%r4,48
	ldi %r2,4
;P_SpawnDoorRaiseIn5Mins+80
	stw %r2,%r4,24
	ldi %r2,131072
	stw %r2,%r4,44
;P_SpawnDoorRaiseIn5Mins+96
	mov %r6,%r1
	callr %r5,P_FindLowestCeilingSurrounding
	addiws %r1,%r6,-262144
;P_SpawnDoorRaiseIn5Mins+112
	stw %r1,%r4,40
	ldi %r1,150
	stw %r1,%r4,52
;P_SpawnDoorRaiseIn5Mins+128
	ldi %r1,10500
	stw %r1,%r4,56
	retf 0
;P_RecursiveSound
	alloc 12
	ldwz %r4,%r1,88
	ldwzr %r3,validcount
;P_RecursiveSound+16
	bwne %r4,%r3,P_RecursiveSound+48
	ldwz %r5,%r1,20
	addiws %r4,%r2,1
;P_RecursiveSound+32
	bwlt %r4,%r5,P_RecursiveSound+64
	jmp P_RecursiveSound+288
	nop 0
;P_RecursiveSound+48
	addiws %r4,%r2,1
	nop 0
	nop 0
;P_RecursiveSound+64
	stw %r3,%r1,88
	stw %r4,%r1,20
	lddzr %r3,soundtarget
;P_RecursiveSound+80
	std %r3,%r1,24
	ldwz %r3,%r1,112
	bwlti %r3,1,P_RecursiveSound+288
;P_RecursiveSound+96
	mov2 %r5,%r6,%gz,%gz
	ldi %r7,1
	jmp P_RecursiveSound+160
;P_RecursiveSound+112
	andi %r3,%r3,64
	cmovweq %r11,%r3,%r2,%r7
	callr %r9,P_RecursiveSound
;P_RecursiveSound+128
	ldws %r3,%r1,112
	addi %r6,%r6,1
	addi %r5,%r5,8
;P_RecursiveSound+144
	bdle %r3,%r6,P_RecursiveSound+288
	nop 0
	nop 0
;P_RecursiveSound+160
	lddz %r3,%r1,120
	lddzx.xd %r3,%r3,%r5,0,0
	ldbz %r4,%r3,24
;P_RecursiveSound+176
	bbci %r4,2,P_RecursiveSound+128
	mov %r11,%r3
	callr %r10,P_LineOpening
;P_RecursiveSound+192
	ldwzr %r4,openrange
	bwlti %r4,1,P_RecursiveSound+128
	ldhs %r8,%r3,30
;P_RecursiveSound+208
	lddzr %r4,sides
	muli %r8,%r8,24
	lddzx.xd %r10,%r4,%r8,0,16
;P_RecursiveSound+224
	bdne %r10,%r1,P_RecursiveSound+256
	ldhs %r8,%r3,32
	muli %r8,%r8,24
;P_RecursiveSound+240
	lddzx.xd %r10,%r4,%r8,0,16
	nop 0
	nop 0
;P_RecursiveSound+256
	ldhz %r3,%r3,24
	bbci %r3,6,P_RecursiveSound+112
	bwne %r2,%gz,P_RecursiveSound+128
;P_RecursiveSound+272
	jmp P_RecursiveSound+112
	nop 0
	nop 0
;P_RecursiveSound+288
	retf 0
	nop 0
	nop 0
;P_NoiseAlert
	alloc 7
	ldwzr %r3,validcount
	stdr %r1,soundtarget
;P_NoiseAlert+16
	addiws %r1,%r3,1
	stwr %r1,validcount
	lddz %r1,%r2,88
;P_NoiseAlert+32
	lddz %r5,%r1,0
	mov %r6,%gz
	callr %r4,P_RecursiveSound
;P_NoiseAlert+48
	retf 0
	nop 0
	nop 0
;P_CheckMeleeRange
	alloc 10
	lddz %r3,%r1,176
	bdeq %r3,%gz,P_CheckMeleeRange+112
;P_CheckMeleeRange+16
	ldwz %r2,%r3,24
	ldwz %r4,%r1,24
	ldwz %r5,%r3,28
;P_CheckMeleeRange+32
	ldwz %r6,%r1,28
	subws %r8,%r2,%r4
	subws %r9,%r5,%r6
;P_CheckMeleeRange+48
	callr %r7,P_AproxDistance
	lddz %r2,%r3,136
	ldwz %r2,%r2,64
;P_CheckMeleeRange+64
	addiws.l %r2,%r2,2883584
	bwle %r2,%r8,P_CheckMeleeRange+112
;P_CheckMeleeRange+80
	lddz %r9,%r1,176
	mov %r8,%r1
	callr %r7,P_CheckSight
;P_CheckMeleeRange+96
	cmpwnei %r1,%r8,0
	retf 0
	nop 0
;P_CheckMeleeRange+112
	mov %r1,%gz
	retf 0
	nop 0
;P_CheckMissileRange
	alloc 9
	lddz %r8,%r1,176
	mov %r7,%r1
;P_CheckMissileRange+16
	callr %r6,P_CheckSight
	bweq %r7,%gz,P_CheckMissileRange+144
	ldwz %r2,%r1,160
;P_CheckMissileRange+32
	bbsi %r2,6,P_CheckMissileRange+160
	ldwz %r2,%r1,184
	bwne %r2,%gz,P_CheckMissileRange+144
;P_CheckMissileRange+48
	lddz %r2,%r1,176
	ldwz %r3,%r1,24
	ldwz %r4,%r2,24
;P_CheckMissileRange+64
	ldwz %r5,%r1,28
	ldwz %r2,%r2,28
	subws %r7,%r3,%r4
;P_CheckMissileRange+80
	subws %r8,%r5,%r2
	callr %r6,P_AproxDistance
	lddz %r2,%r1,136
;P_CheckMissileRange+96
	ldwz %r2,%r2,40
	ldwz %r1,%r1,128
	ldi %r3,-4194304
;P_CheckMissileRange+112
	ldi %r4,-12582912
	cmovweq %r2,%r2,%r4,%r3
	addws %r3,%r2,%r7
;P_CheckMissileRange+128
	sraiw %r2,%r3,16
	bwnei %r1,3,P_CheckMissileRange+192
	bwlti %r2,897,P_CheckMissileRange+192
;P_CheckMissileRange+144
	mov %r1,%gz
	retf 0
	nop 0
;P_CheckMissileRange+160
	andi %r2,%r2,-65
	stw %r2,%r1,160
	ldi %r1,1
;P_CheckMissileRange+176
	retf 0
	nop 0
	nop 0
;P_CheckMissileRange+192
	addiws %r4,%r1,-18
	bwltui %r4,2,P_CheckMissileRange+240
	bweqi %r1,21,P_CheckMissileRange+240
;P_CheckMissileRange+208
	bwnei %r1,5,P_CheckMissileRange+256
	bwlti %r2,196,P_CheckMissileRange+144
	srliw %r2,%r2,1
;P_CheckMissileRange+224
	jmp P_CheckMissileRange+256
	nop 0
	nop 0
;P_CheckMissileRange+240
	sraiw %r2,%r3,17
	nop 0
	nop 0
;P_CheckMissileRange+256
	ldi %r3,200
	minsw %r3,%r2,%r3
	cmpwgti %r2,%r2,160
;P_CheckMissileRange+272
	ldi %r4,160
	cmpweqi %r1,%r1,21
	cmovlsb %r2,%r2,%r4,%r3
;P_CheckMissileRange+288
	cmovlsb %r2,%r1,%r2,%r3
	callr %r7,P_Random
	cmpwle %r1,%r2,%r8
;P_CheckMissileRange+304
	retf 0
	nop 0
	nop 0
;P_Move
	alloc 11
	mov %r2,%r1
	ldwz %r1,%r1,168
;P_Move+16
	bwnei %r1,8,P_Move+48
	nop 0
	nop 0
;P_Move+32
	mov %r1,%gz
	retf 0
	nop 0
;P_Move+48
	bwltui %r1,8,P_Move+80
	ldafr %r10,.rodata+7190
	callr %r9,I_Error
;P_Move+64
	ldwz %r1,%r2,168
	nop 0
	nop 0
;P_Move+80
	lddz %r3,%r2,136
	ldwz %r3,%r3,60
	ldafr %r4,xspeed
;P_Move+96
	ldwzx.xw %r4,%r4,%r1,2,0
	ldwz %r5,%r2,24
	ldafr %r6,yspeed
;P_Move+112
	ldwzx.xw %r1,%r6,%r1,2,0
	ldwz %r6,%r2,28
	mulws %r4,%r4,%r3
;P_Move+128
	addws %r9,%r4,%r5
	mulws %r1,%r1,%r3
	addws %r10,%r1,%r6
;P_Move+144
	mov %r8,%r2
	callr %r7,P_TryMove
	ldwz %r3,%r2,160
;P_Move+160
	bweq %r8,%gz,P_Move+208
	andi.l %r1,%r3,-2097153
;P_Move+176
	stw %r1,%r2,160
	ldi %r1,1
	bbsi %r3,14,P_Move+400
;P_Move+192
	ldwz %r3,%r2,96
	stw %r3,%r2,32
	retf 0
;P_Move+208
	bbci %r3,14,P_Move+304
	ldwzr %r1,floatok
	bweq %r1,%gz,P_Move+304
;P_Move+224
	ldwz %r1,%r2,32
	ldwzr %r4,tmfloorz
	cmpwlt %r4,%r1,%r4
;P_Move+240
	ldi %r5,-262144
	ldi %r6,262144
	cmovlsb %r4,%r4,%r6,%r5
;P_Move+256
	addws %r1,%r4,%r1
	stw %r1,%r2,32
	nop 2
;P_Move+272
	ori.l %r1,%r3,2097152
	stw %r1,%r2,160
;P_Move+288
	ldi %r1,1
	retf 0
	nop 0
;P_Move+304
	ldwzr %r3,numspechit
	bweq %r3,%gz,P_Move+32
	mov %r1,%gz
;P_Move+320
	ldi %r4,8
	stw %r4,%r2,168
	addiws %r3,%r3,-1
;P_Move+336
	stwr %r3,numspechit
	ldafr %r4,spechit
	ldi %r5,1
;P_Move+352
	lddzx.xw %r9,%r4,%r3,3,0
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_UseSpecialLine
;P_Move+368
	ldwzr %r6,numspechit
	cmovweq %r1,%r8,%r1,%r5
	addiws %r3,%r6,-1
;P_Move+384
	stwr %r3,numspechit
	bwne %r6,%gz,P_Move+352
	nop 0
;P_Move+400
	retf 0
	nop 0
	nop 0
;P_TryWalk
	alloc 5
	mov %r4,%r1
	callr %r3,P_Move
;P_TryWalk+16
	bweq %r4,%gz,P_TryWalk+48
	callr %r3,P_Random
	andi %r2,%r4,15
;P_TryWalk+32
	stw %r2,%r1,172
	ldi %r1,1
	retf 0
;P_TryWalk+48
	mov %r1,%gz
	retf 0
	nop 0
;P_NewChaseDir
	alloc 15
	lddz %r2,%r1,176
	bdne %r2,%gz,P_NewChaseDir+32
;P_NewChaseDir+16
	ldafr %r14,.rodata+7212
	callr %r13,I_Error
	lddz %r2,%r1,176
;P_NewChaseDir+32
	ldwz %r5,%r1,168
	ldafr %r3,opposite
	ldwz %r4,%r2,24
;P_NewChaseDir+48
	ldwz %r6,%r1,24
	ldwz %r2,%r2,28
	ldwz %r7,%r1,28
;P_NewChaseDir+64
	ldwzx.xuw %r3,%r3,%r5,2,0
	subws %r6,%r4,%r6
	addiws %r4,%r6,-655361
;P_NewChaseDir+80
	subws %r7,%r2,%r7
	bwgeui.l %r4,1099510317055,P_NewChaseDir+176
;P_NewChaseDir+96
	addiws %r2,%r7,-655361
	bwgeui.l %r2,1099510317055,P_NewChaseDir+176
;P_NewChaseDir+112
	srliw %r2,%r7,30
	andi %r2,%r2,2
	cmpwgti %r4,%r6,0
;P_NewChaseDir+128
	or %r2,%r2,%r4
	ldafr %r4,diags
	ldwzx.xuw %r2,%r4,%r2,2,0
;P_NewChaseDir+144
	stw %r2,%r1,168
	bweq %r2,%r3,P_NewChaseDir+176
	mov %r14,%r1
;P_NewChaseDir+160
	callr %r13,P_Move
	bwne %r14,%gz,P_NewChaseDir+624
	nop 0
;P_NewChaseDir+176
	cmpwlti %r2,%r6,-655360
	ldi %r4,8
	ldi %r8,4
;P_NewChaseDir+192
	cmpwgti %r9,%r6,655360
	cmovlsb %r2,%r2,%r8,%r4
	cmpwgti %r8,%r7,655360
;P_NewChaseDir+208
	ldi %r10,2
	cmpwlti %r11,%r7,-655360
	cmovlsb %r10,%r8,%r10,%r4
;P_NewChaseDir+224
	ldi %r12,6
	cmovlsb %r8,%r9,%gz,%r2
	cmovlsb %r9,%r11,%r12,%r10
;P_NewChaseDir+240
	callr %r13,P_Random
	bwgei %r14,201,P_NewChaseDir+272
	absdw %r2,%r7,%gz
;P_NewChaseDir+256
	absdw %r6,%r6,%gz
	bwleu %r2,%r6,P_NewChaseDir+288
	nop 0
;P_NewChaseDir+272
	mov %r2,%r9
	bwne %r2,%r3,P_NewChaseDir+304
	jmp P_NewChaseDir+336
;P_NewChaseDir+288
	mov2 %r2,%r8,%r8,%r9
	bweq %r2,%r3,P_NewChaseDir+336
	nop 0
;P_NewChaseDir+304
	bweqi %r2,8,P_NewChaseDir+336
	stw %r2,%r1,168
	mov %r14,%r1
;P_NewChaseDir+320
	callr %r13,P_Move
	bwne %r14,%gz,P_NewChaseDir+624
	nop 0
;P_NewChaseDir+336
	cmpweq %r2,%r8,%r3
	cmovlsb %r2,%r2,%r4,%r8
	bweqi %r2,8,P_NewChaseDir+384
;P_NewChaseDir+352
	stw %r2,%r1,168
	mov %r14,%r1
	callr %r13,P_Move
;P_NewChaseDir+368
	bwne %r14,%gz,P_NewChaseDir+624
	nop 0
	nop 0
;P_NewChaseDir+384
	bweqi %r5,8,P_NewChaseDir+416
	stw %r5,%r1,168
	mov %r14,%r1
;P_NewChaseDir+400
	callr %r13,P_Move
	bwne %r14,%gz,P_NewChaseDir+624
	nop 0
;P_NewChaseDir+416
	callr %r13,P_Random
	bbsi %r14,0,P_NewChaseDir+512
	ldi %r2,7
;P_NewChaseDir+432
	jmp P_NewChaseDir+464
	nop 0
	nop 0
;P_NewChaseDir+448
	addiws %r2,%r5,-1
	bweq %r5,%gz,P_NewChaseDir+592
	nop 0
;P_NewChaseDir+464
	mov %r5,%r2
	bweq %r2,%r3,P_NewChaseDir+448
	stw %r5,%r1,168
;P_NewChaseDir+480
	mov %r14,%r1
	callr %r13,P_Move
	bweq %r14,%gz,P_NewChaseDir+448
;P_NewChaseDir+496
	jmp P_NewChaseDir+624
	nop 0
	nop 0
;P_NewChaseDir+512
	mov %r2,%gz
	jmp P_NewChaseDir+544
	nop 0
;P_NewChaseDir+528
	addiws %r2,%r5,1
	bwgeui %r5,7,P_NewChaseDir+592
	nop 0
;P_NewChaseDir+544
	mov %r5,%r2
	bweq %r2,%r3,P_NewChaseDir+528
	stw %r5,%r1,168
;P_NewChaseDir+560
	mov %r14,%r1
	callr %r13,P_Move
	bweq %r14,%gz,P_NewChaseDir+528
;P_NewChaseDir+576
	jmp P_NewChaseDir+624
	nop 0
	nop 0
;P_NewChaseDir+592
	bweqi %r3,8,P_NewChaseDir+656
	stw %r3,%r1,168
	mov %r14,%r1
;P_NewChaseDir+608
	callr %r13,P_Move
	bweq %r14,%gz,P_NewChaseDir+656
	nop 0
;P_NewChaseDir+624
	callr %r13,P_Random
	andi %r2,%r14,15
	stw %r2,%r1,172
;P_NewChaseDir+640
	retf 0
	nop 0
	nop 0
;P_NewChaseDir+656
	stw %r4,%r1,168
	retf 0
	nop 0
;P_LookForPlayers
	alloc 19
	mov %r3,%r1
	ldwz %r10,%r1,200
;P_LookForPlayers+16
	mov %r4,%gz
	addiws %r1,%r10,-1
	andi %r5,%r1,3
;P_LookForPlayers+32
	ldafr %r6,playeringame
	ldafr %r7,players
	ldi %r8,328
;P_LookForPlayers+48
	ldafr %r9,players+44
	jmp P_LookForPlayers+96
	nop 0
;P_LookForPlayers+64
	ldwz %r1,%r3,200
	addiws %r1,%r1,1
	andi %r10,%r1,3
;P_LookForPlayers+80
	stw %r10,%r3,200
	nop 0
	nop 0
;P_LookForPlayers+96
	ldwzx.xw %r1,%r6,%r10,2,0
	bweq %r1,%gz,P_LookForPlayers+64
	mov %r1,%gz
;P_LookForPlayers+112
	bweqi %r4,2,P_LookForPlayers+320
	bweq %r10,%r5,P_LookForPlayers+320
	sraiw %r1,%r10,0
;P_LookForPlayers+128
	muli %r10,%r1,328
	ldwzx.xd %r10,%r10,%r9,0,0
	addiws %r4,%r4,1
;P_LookForPlayers+144
	bwlti %r10,1,P_LookForPlayers+64
	muladd %r10,%r1,%r8,%r7
	lddz %r18,%r10,0
;P_LookForPlayers+160
	mov %r17,%r3
	callr %r16,P_CheckSight
	bweq %r17,%gz,P_LookForPlayers+64
;P_LookForPlayers+176
	bwne %r2,%gz,P_LookForPlayers+304
	lddz %r1,%r10,0
	ldwz %r15,%r3,24
;P_LookForPlayers+192
	ldwz %r16,%r3,28
	ldwz %r17,%r1,24
	ldwz %r18,%r1,28
;P_LookForPlayers+208
	callr %r14,R_PointToAngle2
	ldwz %r1,%r3,56
	subws %r1,%r15,%r1
;P_LookForPlayers+224
	addiws.l %r1,%r1,-1073741825
	nop 2
;P_LookForPlayers+240
	bwgeui.l %r1,2147483647,P_LookForPlayers+304
	lddz %r1,%r10,0
;P_LookForPlayers+256
	ldwz %r11,%r1,24
	ldwz %r12,%r3,24
	ldwz %r1,%r1,28
;P_LookForPlayers+272
	ldwz %r13,%r3,28
	subws %r17,%r11,%r12
	subws %r18,%r1,%r13
;P_LookForPlayers+288
	callr %r16,P_AproxDistance
	bwgei.l %r17,4194305,P_LookForPlayers+64
;P_LookForPlayers+304
	lddz %r1,%r10,0
	std %r1,%r3,176
	ldi %r1,1
;P_LookForPlayers+320
	retf 0
	nop 0
	nop 0
;A_KeenDie
	allocsp 10,96
	ldwz %r2,%r1,160
	andi %r2,%r2,-3
;A_KeenDie+16
	stw %r2,%r1,160
	lddzr %r2,thinkercap+8
	ldafr %r3,thinkercap
;A_KeenDie+32
	bdeq %r2,%r3,A_KeenDie+112
	ldar %r4,P_MobjThinker
	jmp A_KeenDie+64
;A_KeenDie+48
	lddz %r2,%r2,8
	bdeq %r2,%r3,A_KeenDie+112
	nop 0
;A_KeenDie+64
	bdeq %r2,%r1,A_KeenDie+48
	lddz %r5,%r2,16
	bdne %r5,%r4,A_KeenDie+48
;A_KeenDie+80
	ldwz %r5,%r2,128
	ldwz %r6,%r1,128
	bwne %r5,%r6,A_KeenDie+48
;A_KeenDie+96
	ldwz %r5,%r2,164
	bwle %r5,%gz,A_KeenDie+48
	retf 96
;A_KeenDie+112
	ldi %r1,666
	sth %r1,%sp,36
	addi %r8,%sp,8
;A_KeenDie+128
	ldi %r9,3
	callr %r7,EV_DoDoor
	retf 96
;A_Fall
	alloc 3
	ldwz %r2,%r1,160
	andi %r2,%r2,-3
;A_Fall+16
	stw %r2,%r1,160
	retf 0
	nop 0
;A_Look
	alloc 7
	stw %gz,%r1,188
	lddz %r2,%r1,88
;A_Look+16
	lddz %r2,%r2,0
	lddz %r6,%r2,24
	bdeq %r6,%gz,A_Look+48
;A_Look+32
	ldbz %r2,%r6,160
	bbsi %r2,2,A_Look+80
	nop 0
;A_Look+48
	mov2 %r5,%r6,%r1,%gz
	callr %r4,P_LookForPlayers
	bwne %r5,%gz,A_Look+112
;A_Look+64
	retf 0
	nop 0
	nop 0
;A_Look+80
	std %r6,%r1,176
	ldbz %r2,%r1,160
	bbci %r2,5,A_Look+112
;A_Look+96
	mov %r5,%r1
	callr %r4,P_CheckSight
	bweq %r5,%gz,A_Look+48
;A_Look+112
	lddz %r2,%r1,136
	ldwz %r6,%r2,16
	addiws %r2,%r6,-36
;A_Look+128
	bwltui %r2,3,A_Look+192
	addiws %r2,%r6,-39
	bwgeui %r2,2,A_Look+256
;A_Look+144
	callr %r5,P_Random
	srliw %r2,%r6,31
	addws %r2,%r6,%r2
;A_Look+160
	andi %r2,%r2,-2
	subws %r2,%r6,%r2
	addiws %r6,%r2,39
;A_Look+176
	jmp A_Look+272
	nop 0
	nop 0
;A_Look+192
	callr %r5,P_Random
	sraiw %r2,%r6,0
	nop 2
;A_Look+208
	muli.l %r2,%r2,1431655766
	srli %r3,%r2,63
;A_Look+224
	srli %r2,%r2,32
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,3
;A_Look+240
	subws %r2,%r6,%r2
	addiws %r6,%r2,36
	jmp A_Look+272
;A_Look+256
	bweq %r6,%gz,A_Look+336
	nop 0
	nop 0
;A_Look+272
	ldwz %r2,%r1,128
	bweqi %r2,19,A_Look+304
	mov %r5,%gz
;A_Look+288
	bweqi %r2,21,A_Look+320
	mov %r5,%r1
	jmp A_Look+320
;A_Look+304
	mov %r5,%gz
	nop 0
	nop 0
;A_Look+320
	callr %r4,S_StartSound
	nop 0
	nop 0
;A_Look+336
	lddz %r2,%r1,136
	ldwz %r6,%r2,12
	mov %r5,%r1
;A_Look+352
	callr %r4,P_SetMobjState
	retf 0
	nop 0
;A_Chase
	alloc 7
	ldwz %r2,%r1,184
	bweq %r2,%gz,A_Chase+32
;A_Chase+16
	addiws %r2,%r2,-1
	stw %r2,%r1,184
	nop 0
;A_Chase+32
	ldwz %r2,%r1,188
	bweq %r2,%gz,A_Chase+112
	lddz %r3,%r1,176
;A_Chase+48
	bdeq %r3,%gz,A_Chase+80
	ldwz %r3,%r3,164
	addiws %r2,%r2,-1
;A_Chase+64
	cmovwle %r2,%r3,%gz,%r2
	jmp A_Chase+96
	nop 0
;A_Chase+80
	mov %r2,%gz
	nop 0
	nop 0
;A_Chase+96
	stw %r2,%r1,188
	nop 0
	nop 0
;A_Chase+112
	ldwz %r3,%r1,168
	bwgei %r3,8,A_Chase+208
	ldwz %r2,%r1,56
;A_Chase+128
	andi.l %r2,%r2,-536870912
	slsubws %r3,%r2,%r3,29
;A_Chase+144
	stw %r2,%r1,56
	bwle %r3,%gz,A_Chase+192
	nop 2
;A_Chase+160
	ldi.l %r3,-536870912
	nop 0
;A_Chase+176
	addws %r2,%r2,%r3
	stw %r2,%r1,56
	jmp A_Chase+208
;A_Chase+192
	bwlti %r3,0,A_Chase+576
	nop 0
	nop 0
;A_Chase+208
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_Chase+240
	ldbz %r2,%r2,160
;A_Chase+224
	bbsi %r2,2,A_Chase+288
	nop 0
	nop 0
;A_Chase+240
	ldi %r6,1
	mov %r5,%r1
	callr %r4,P_LookForPlayers
;A_Chase+256
	bweq %r5,%gz,A_Chase+384
	nop 0
	nop 0
;A_Chase+272
	retf 0
	nop 0
	nop 0
;A_Chase+288
	ldwz %r2,%r1,160
	bbsi %r2,7,A_Chase+416
	lddz %r2,%r1,136
;A_Chase+304
	ldwz %r3,%r2,40
	bweq %r3,%gz,A_Chase+464
	mov %r6,%r1
;A_Chase+320
	callr %r5,P_CheckMeleeRange
	lddz %r2,%r1,136
	bweq %r6,%gz,A_Chase+464
;A_Chase+336
	ldwz %r6,%r2,24
	bweq %r6,%gz,A_Chase+368
	mov %r5,%r1
;A_Chase+352
	callr %r4,S_StartSound
	lddz %r2,%r1,136
	nop 0
;A_Chase+368
	ldwz %r6,%r2,40
	jmp A_Chase+400
	nop 0
;A_Chase+384
	lddz %r2,%r1,136
	ldwz %r6,%r2,4
	nop 0
;A_Chase+400
	mov %r5,%r1
	callr %r4,P_SetMobjState
	retf 0
;A_Chase+416
	andi %r2,%r2,-129
	stw %r2,%r1,160
	ldwzr %r2,gameskill
;A_Chase+432
	bweqi %r2,4,A_Chase+272
	ldwzr %r2,fastparm
	bwne %r2,%gz,A_Chase+272
;A_Chase+448
	mov %r6,%r1
	callr %r5,P_NewChaseDir
	retf 0
;A_Chase+464
	ldwz %r2,%r2,44
	bweq %r2,%gz,A_Chase+592
	ldwzr %r2,gameskill
;A_Chase+480
	bwgei %r2,4,A_Chase+512
	ldwzr %r2,fastparm
	bwne %r2,%gz,A_Chase+512
;A_Chase+496
	ldwz %r2,%r1,172
	bwne %r2,%gz,A_Chase+592
	nop 0
;A_Chase+512
	mov %r6,%r1
	callr %r5,P_CheckMissileRange
	bweq %r6,%gz,A_Chase+592
;A_Chase+528
	lddz %r2,%r1,136
	ldwz %r6,%r2,44
	mov %r5,%r1
;A_Chase+544
	callr %r4,P_SetMobjState
	ldwz %r2,%r1,160
	ori %r2,%r2,128
;A_Chase+560
	stw %r2,%r1,160
	retf 0
	nop 0
;A_Chase+576
	ldi.l %r3,536870912
	jmp A_Chase+176
;A_Chase+592
	ldwzr %r2,netgame
	bweq %r2,%gz,A_Chase+640
	ldwz %r2,%r1,188
;A_Chase+608
	bwne %r2,%gz,A_Chase+640
	lddz %r6,%r1,176
	mov %r5,%r1
;A_Chase+624
	callr %r4,P_CheckSight
	bweq %r5,%gz,A_Chase+768
	nop 0
;A_Chase+640
	ldwz %r2,%r1,172
	addiws %r3,%r2,-1
	stw %r3,%r1,172
;A_Chase+656
	bwlti %r2,1,A_Chase+688
	mov %r6,%r1
	callr %r5,P_Move
;A_Chase+672
	bwne %r6,%gz,A_Chase+704
	nop 0
	nop 0
;A_Chase+688
	mov %r6,%r1
	callr %r5,P_NewChaseDir
	nop 0
;A_Chase+704
	lddz %r2,%r1,136
	ldwz %r2,%r2,80
	bweq %r2,%gz,A_Chase+272
;A_Chase+720
	callr %r5,P_Random
	bwgei %r6,3,A_Chase+272
	lddz %r2,%r1,136
;A_Chase+736
	ldwz %r6,%r2,80
	mov %r5,%r1
	callr %r4,S_StartSound
;A_Chase+752
	retf 0
	nop 0
	nop 0
;A_Chase+768
	ldi %r6,1
	mov %r5,%r1
	callr %r4,P_LookForPlayers
;A_Chase+784
	bwne %r5,%gz,A_Chase+272
	jmp A_Chase+640
	nop 0
;A_FaceTarget
	alloc 9
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_FaceTarget+128
;A_FaceTarget+16
	ldwz %r3,%r1,160
	andi %r3,%r3,-33
	stw %r3,%r1,160
;A_FaceTarget+32
	ldwz %r5,%r1,24
	ldwz %r6,%r1,28
	ldwz %r7,%r2,24
;A_FaceTarget+48
	ldwz %r8,%r2,28
	callr %r4,R_PointToAngle2
	stw %r5,%r1,56
;A_FaceTarget+64
	lddz %r2,%r1,176
	ldbz %r2,%r2,162
	bbci %r2,2,A_FaceTarget+128
;A_FaceTarget+80
	callr %r7,P_Random
	mov %r2,%r8
	callr %r7,P_Random
;A_FaceTarget+96
	ldwz %r3,%r1,56
	subws %r2,%r2,%r8
	sladdws %r2,%r3,%r2,21
;A_FaceTarget+112
	stw %r2,%r1,56
	nop 0
	nop 0
;A_FaceTarget+128
	retf 0
	nop 0
	nop 0
;A_PosAttack
	alloc 12
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_PosAttack+192
;A_PosAttack+16
	mov %r11,%r1
	callr %r10,A_FaceTarget
	ldwz %r2,%r1,56
;A_PosAttack+32
	ldi.l %r3,134217728
	mov2 %r9,%r10,%r1,%r2
;A_PosAttack+48
	mov %r11,%r3
	callr %r8,P_AimLineAttack
	mov %r4,%r9
;A_PosAttack+64
	ldi %r11,1
	mov %r10,%r1
	callr %r9,S_StartSound
;A_PosAttack+80
	callr %r10,P_Random
	mov %r5,%r11
	callr %r10,P_Random
;A_PosAttack+96
	subws %r5,%r5,%r11
	sladdws %r8,%r2,%r5,20
	callr %r10,P_Random
;A_PosAttack+112
	sraiw %r2,%r11,0
	muli.l %r2,%r2,1717986919
;A_PosAttack+128
	srli %r5,%r2,63
	srai %r2,%r2,33
	addws %r2,%r2,%r5
;A_PosAttack+144
	mulwsi %r2,%r2,5
	subws %r2,%r11,%r2
	mulwsi %r2,%r2,3
;A_PosAttack+160
	addiws %r11,%r2,3
	mov2 %r7,%r9,%r1,%r3
	mov %r10,%r4
;A_PosAttack+176
	callr %r6,P_LineAttack
	nop 0
	nop 0
;A_PosAttack+192
	retf 0
	nop 0
	nop 0
;A_SPosAttack
	alloc 14
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SPosAttack+208
;A_SPosAttack+16
	ldi %r13,2
	mov %r12,%r1
	callr %r11,S_StartSound
;A_SPosAttack+32
	mov %r13,%r1
	callr %r12,A_FaceTarget
	ldwz %r2,%r1,56
;A_SPosAttack+48
	ldi.l %r3,134217728
	mov2 %r11,%r12,%r1,%r2
;A_SPosAttack+64
	mov %r13,%r3
	callr %r10,P_AimLineAttack
	mov2 %r4,%r5,%r11,%gz
;A_SPosAttack+80
	mov %r7,%r5
	callr %r12,P_Random
	mov %r5,%r13
;A_SPosAttack+96
	callr %r12,P_Random
	subws %r5,%r5,%r13
	sladdws %r10,%r2,%r5,20
;A_SPosAttack+112
	callr %r12,P_Random
	sraiw %r5,%r13,0
	nop 2
;A_SPosAttack+128
	muli.l %r5,%r5,1717986919
	srli %r6,%r5,63
;A_SPosAttack+144
	srai %r5,%r5,33
	addws %r5,%r5,%r6
	mulwsi %r5,%r5,5
;A_SPosAttack+160
	subws %r5,%r13,%r5
	mulwsi %r5,%r5,3
	addiws %r13,%r5,3
;A_SPosAttack+176
	mov2 %r9,%r11,%r1,%r3
	mov %r12,%r4
	callr %r8,P_LineAttack
;A_SPosAttack+192
	addiws %r5,%r7,1
	bwltui %r7,2,A_SPosAttack+80
	nop 0
;A_SPosAttack+208
	retf 0
	nop 0
	nop 0
;A_CPosAttack
	alloc 12
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_CPosAttack+192
;A_CPosAttack+16
	ldi %r11,2
	mov %r10,%r1
	callr %r9,S_StartSound
;A_CPosAttack+32
	mov %r11,%r1
	callr %r10,A_FaceTarget
	ldwz %r2,%r1,56
;A_CPosAttack+48
	ldi.l %r3,134217728
	mov2 %r9,%r10,%r1,%r2
;A_CPosAttack+64
	mov %r11,%r3
	callr %r8,P_AimLineAttack
	mov %r4,%r9
;A_CPosAttack+80
	callr %r10,P_Random
	mov %r5,%r11
	callr %r10,P_Random
;A_CPosAttack+96
	subws %r5,%r5,%r11
	sladdws %r8,%r2,%r5,20
	callr %r10,P_Random
;A_CPosAttack+112
	sraiw %r2,%r11,0
	muli.l %r2,%r2,1717986919
;A_CPosAttack+128
	srli %r5,%r2,63
	srai %r2,%r2,33
	addws %r2,%r2,%r5
;A_CPosAttack+144
	mulwsi %r2,%r2,5
	subws %r2,%r11,%r2
	mulwsi %r2,%r2,3
;A_CPosAttack+160
	addiws %r11,%r2,3
	mov2 %r7,%r9,%r1,%r3
	mov %r10,%r4
;A_CPosAttack+176
	callr %r6,P_LineAttack
	nop 0
	nop 0
;A_CPosAttack+192
	retf 0
	nop 0
	nop 0
;A_CPosRefire
	alloc 6
	mov %r5,%r1
	callr %r4,A_FaceTarget
;A_CPosRefire+16
	callr %r4,P_Random
	bwlti %r5,40,A_CPosRefire+64
	lddz %r5,%r1,176
;A_CPosRefire+32
	bdeq %r5,%gz,A_CPosRefire+80
	ldwz %r2,%r5,164
	bwlti %r2,1,A_CPosRefire+80
;A_CPosRefire+48
	mov %r4,%r1
	callr %r3,P_CheckSight
	bweq %r4,%gz,A_CPosRefire+80
;A_CPosRefire+64
	retf 0
	nop 0
	nop 0
;A_CPosRefire+80
	lddz %r2,%r1,136
	ldwz %r5,%r2,12
	mov %r4,%r1
;A_CPosRefire+96
	callr %r3,P_SetMobjState
	retf 0
	nop 0
;A_SpidRefire
	alloc 6
	mov %r5,%r1
	callr %r4,A_FaceTarget
;A_SpidRefire+16
	callr %r4,P_Random
	bwlti %r5,10,A_SpidRefire+64
	lddz %r5,%r1,176
;A_SpidRefire+32
	bdeq %r5,%gz,A_SpidRefire+80
	ldwz %r2,%r5,164
	bwlti %r2,1,A_SpidRefire+80
;A_SpidRefire+48
	mov %r4,%r1
	callr %r3,P_CheckSight
	bweq %r4,%gz,A_SpidRefire+80
;A_SpidRefire+64
	retf 0
	nop 0
	nop 0
;A_SpidRefire+80
	lddz %r2,%r1,136
	ldwz %r5,%r2,12
	mov %r4,%r1
;A_SpidRefire+96
	callr %r3,P_SetMobjState
	retf 0
	nop 0
;A_BspiAttack
	alloc 7
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_BspiAttack+48
;A_BspiAttack+16
	mov %r6,%r1
	callr %r5,A_FaceTarget
	lddz %r5,%r1,176
;A_BspiAttack+32
	ldi %r6,36
	mov %r4,%r1
	callr %r3,P_SpawnMissile
;A_BspiAttack+48
	retf 0
	nop 0
	nop 0
;A_TroopAttack
	alloc 8
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_TroopAttack+160
;A_TroopAttack+16
	mov %r7,%r1
	callr %r6,A_FaceTarget
	mov %r7,%r1
;A_TroopAttack+32
	callr %r6,P_CheckMeleeRange
	bweq %r7,%gz,A_TroopAttack+128
	ldi %r7,55
;A_TroopAttack+48
	mov %r6,%r1
	callr %r5,S_StartSound
	callr %r6,P_Random
;A_TroopAttack+64
	sraiw %r2,%r7,31
	srliw %r2,%r2,29
	addws %r2,%r7,%r2
;A_TroopAttack+80
	andi %r2,%r2,-8
	subws %r2,%r7,%r2
	mulwsi %r2,%r2,3
;A_TroopAttack+96
	addiws %r7,%r2,3
	lddz %r4,%r1,176
	mov2 %r5,%r6,%r1,%r1
;A_TroopAttack+112
	callr %r3,P_DamageMobj
	retf 0
	nop 0
;A_TroopAttack+128
	lddz %r6,%r1,176
	ldi %r7,31
	mov %r5,%r1
;A_TroopAttack+144
	callr %r4,P_SpawnMissile
	nop 0
	nop 0
;A_TroopAttack+160
	retf 0
	nop 0
	nop 0
;A_SargAttack
	alloc 9
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SargAttack+128
;A_SargAttack+16
	mov %r8,%r1
	callr %r7,A_FaceTarget
	mov %r8,%r1
;A_SargAttack+32
	callr %r7,P_CheckMeleeRange
	bweq %r8,%gz,A_SargAttack+128
	callr %r7,P_Random
;A_SargAttack+48
	sraiw %r2,%r8,0
	muli.l %r2,%r2,1717986919
;A_SargAttack+64
	srli %r3,%r2,63
	srli %r2,%r2,34
	addws %r2,%r2,%r3
;A_SargAttack+80
	mulwsi %r2,%r2,10
	subws %r2,%r8,%r2
	ldi %r3,4
;A_SargAttack+96
	sladdws %r8,%r3,%r2,2
	lddz %r5,%r1,176
	mov2 %r6,%r7,%r1,%r1
;A_SargAttack+112
	callr %r4,P_DamageMobj
	nop 0
	nop 0
;A_SargAttack+128
	retf 0
	nop 0
	nop 0
;A_HeadAttack
	alloc 9
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_HeadAttack+160
;A_HeadAttack+16
	mov %r8,%r1
	callr %r7,A_FaceTarget
	mov %r8,%r1
;A_HeadAttack+32
	callr %r7,P_CheckMeleeRange
	bweq %r8,%gz,A_HeadAttack+128
	callr %r7,P_Random
;A_HeadAttack+48
	sraiw %r2,%r8,0
	muli.l %r2,%r2,715827883
;A_HeadAttack+64
	srli %r3,%r2,63
	srli %r2,%r2,32
	addws %r2,%r2,%r3
;A_HeadAttack+80
	mulwsi %r2,%r2,6
	subws %r2,%r8,%r2
	mulwsi %r2,%r2,10
;A_HeadAttack+96
	addiws %r8,%r2,10
	lddz %r5,%r1,176
	mov2 %r6,%r7,%r1,%r1
;A_HeadAttack+112
	callr %r4,P_DamageMobj
	retf 0
	nop 0
;A_HeadAttack+128
	lddz %r7,%r1,176
	ldi %r8,32
	mov %r6,%r1
;A_HeadAttack+144
	callr %r5,P_SpawnMissile
	nop 0
	nop 0
;A_HeadAttack+160
	retf 0
	nop 0
	nop 0
;A_CyberAttack
	alloc 7
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_CyberAttack+48
;A_CyberAttack+16
	mov %r6,%r1
	callr %r5,A_FaceTarget
	lddz %r5,%r1,176
;A_CyberAttack+32
	ldi %r6,33
	mov %r4,%r1
	callr %r3,P_SpawnMissile
;A_CyberAttack+48
	retf 0
	nop 0
	nop 0
;A_BruisAttack
	alloc 8
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_BruisAttack+160
;A_BruisAttack+16
	mov %r7,%r1
	callr %r6,P_CheckMeleeRange
	bweq %r7,%gz,A_BruisAttack+128
;A_BruisAttack+32
	ldi %r7,55
	mov %r6,%r1
	callr %r5,S_StartSound
;A_BruisAttack+48
	callr %r6,P_Random
	sraiw %r2,%r7,31
	srliw %r2,%r2,29
;A_BruisAttack+64
	addws %r2,%r7,%r2
	andi.l %r2,%r2,2147483640
;A_BruisAttack+80
	subws %r2,%r7,%r2
	mulwsi %r2,%r2,10
	addiws %r7,%r2,10
;A_BruisAttack+96
	lddz %r4,%r1,176
	mov2 %r5,%r6,%r1,%r1
	callr %r3,P_DamageMobj
;A_BruisAttack+112
	retf 0
	nop 0
	nop 0
;A_BruisAttack+128
	lddz %r6,%r1,176
	ldi %r7,16
	mov %r5,%r1
;A_BruisAttack+144
	callr %r4,P_SpawnMissile
	nop 0
	nop 0
;A_BruisAttack+160
	retf 0
	nop 0
	nop 0
;A_SkelMissile
	alloc 8
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SkelMissile+144
;A_SkelMissile+16
	mov %r7,%r1
	callr %r6,A_FaceTarget
	ldwz %r2,%r1,32
;A_SkelMissile+32
	addiws.l %r2,%r2,1048576
	stw %r2,%r1,32
;A_SkelMissile+48
	lddz %r6,%r1,176
	ldi %r7,6
	mov %r5,%r1
;A_SkelMissile+64
	callr %r4,P_SpawnMissile
	ldwz %r2,%r1,32
	addiws %r2,%r2,-1048576
;A_SkelMissile+80
	stw %r2,%r1,32
	ldwz %r2,%r5,112
	ldwz %r3,%r5,24
;A_SkelMissile+96
	addws %r2,%r3,%r2
	stw %r2,%r5,24
	ldwz %r2,%r5,116
;A_SkelMissile+112
	ldwz %r3,%r5,28
	addws %r2,%r3,%r2
	stw %r2,%r5,28
;A_SkelMissile+128
	lddz %r1,%r1,176
	std %r1,%r5,216
	nop 0
;A_SkelMissile+144
	retf 0
	nop 0
	nop 0
;A_Tracer
	alloc 13
	ldbzr %r2,gametic
	andi %r2,%r2,3
;A_Tracer+16
	bweq %r2,%gz,A_Tracer+48
	nop 0
	nop 0
;A_Tracer+32
	retf 0
	nop 0
	nop 0
;A_Tracer+48
	ldwz %r10,%r1,24
	ldwz %r11,%r1,28
	ldwz %r12,%r1,32
;A_Tracer+64
	callr %r9,P_SpawnPuff
	ldwz %r2,%r1,24
	ldwz %r3,%r1,112
;A_Tracer+80
	ldwz %r4,%r1,28
	ldwz %r5,%r1,116
	subws %r9,%r2,%r3
;A_Tracer+96
	subws %r10,%r4,%r5
	ldwz %r11,%r1,32
	ldi %r12,7
;A_Tracer+112
	callr %r8,P_SpawnMobj
	ldi %r2,65536
	stw %r2,%r9,120
;A_Tracer+128
	callr %r11,P_Random
	ldwz %r2,%r9,144
	andi %r3,%r12,3
;A_Tracer+144
	subws %r2,%r2,%r3
	ldi %r3,1
	maxsw %r2,%r2,%r3
;A_Tracer+160
	stw %r2,%r9,144
	lddz %r4,%r1,216
	bdeq %r4,%gz,A_Tracer+32
;A_Tracer+176
	ldwz %r2,%r4,164
	bwlti %r2,1,A_Tracer+32
	ldwz %r9,%r1,24
;A_Tracer+192
	ldwz %r10,%r1,28
	ldwz %r11,%r4,24
	ldwz %r12,%r4,28
;A_Tracer+208
	callr %r8,R_PointToAngle2
	ldwz %r2,%r1,56
	bweq %r9,%r2,A_Tracer+320
;A_Tracer+224
	subws %r6,%r9,%r2
	ldwzr %r5,TRACEANGLE
	nop 2
;A_Tracer+240
	bwltui.l %r6,2147483649,A_Tracer+272
	subws %r2,%r2,%r5
;A_Tracer+256
	subws %r5,%r9,%r2
	cmovwlt %r9,%r5,%r2,%r9
	jmp A_Tracer+304
;A_Tracer+272
	addws %r2,%r5,%r2
	subws %r5,%r9,%r2
	nop 2
;A_Tracer+288
	cmpwgtui.l %r5,%r5,2147483648
	cmovlsb %r9,%r5,%r9,%r2
;A_Tracer+304
	stw %r9,%r1,56
	nop 0
	nop 0
;A_Tracer+320
	lddz %r2,%r1,136
	lddzr %r5,finecosine
	srliw %r6,%r9,19
;A_Tracer+336
	ldws %r2,%r2,60
	ldwsx.xuw %r5,%r5,%r6,2,0
	mul %r5,%r5,%r2
;A_Tracer+352
	srli %r5,%r5,16
	stw %r5,%r1,112
	ldafr %r5,finesine
;A_Tracer+368
	ldwsx.xuw %r5,%r5,%r6,2,0
	mul %r2,%r5,%r2
	srli %r2,%r2,16
;A_Tracer+384
	stw %r2,%r1,116
	ldwz %r2,%r4,24
	ldwz %r5,%r1,24
;A_Tracer+400
	ldwz %r6,%r4,28
	ldwz %r7,%r1,28
	subws %r11,%r2,%r5
;A_Tracer+416
	subws %r12,%r6,%r7
	callr %r10,P_AproxDistance
	lddz %r2,%r1,136
;A_Tracer+432
	ldwz %r2,%r2,60
	divw %r2,%r11,%r2
	ldwz %r4,%r4,32
;A_Tracer+448
	ldwz %r5,%r1,32
	maxsw %r2,%r2,%r3
	subws %r3,%r4,%r5
;A_Tracer+464
	addiws.l %r3,%r3,2621440
	divw %r2,%r3,%r2
;A_Tracer+480
	ldwz %r3,%r1,120
	cmpwlt %r2,%r2,%r3
	ldi %r4,8192
;A_Tracer+496
	ldi %r5,-8192
	cmovlsb %r2,%r2,%r5,%r4
	addws %r2,%r2,%r3
;A_Tracer+512
	stw %r2,%r1,120
	retf 0
	nop 0
;A_SkelWhoosh
	alloc 6
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SkelWhoosh+48
;A_SkelWhoosh+16
	mov %r5,%r1
	callr %r4,A_FaceTarget
	ldi %r5,56
;A_SkelWhoosh+32
	mov %r4,%r1
	callr %r3,S_StartSound
	nop 0
;A_SkelWhoosh+48
	retf 0
	nop 0
	nop 0
;A_SkelFist
	alloc 9
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SkelFist+144
;A_SkelFist+16
	mov %r8,%r1
	callr %r7,A_FaceTarget
	mov %r8,%r1
;A_SkelFist+32
	callr %r7,P_CheckMeleeRange
	bweq %r8,%gz,A_SkelFist+144
	callr %r7,P_Random
;A_SkelFist+48
	sraiw %r2,%r8,0
	muli.l %r2,%r2,1717986919
;A_SkelFist+64
	srli %r3,%r2,63
	srai %r2,%r2,34
	addws %r2,%r2,%r3
;A_SkelFist+80
	mulwsi %r2,%r2,10
	subws %r2,%r8,%r2
	mulwsi %r2,%r2,6
;A_SkelFist+96
	addiws %r2,%r2,6
	ldi %r8,53
	mov %r7,%r1
;A_SkelFist+112
	callr %r6,S_StartSound
	lddz %r5,%r1,176
	mov2 %r6,%r7,%r1,%r1
;A_SkelFist+128
	mov %r8,%r2
	callr %r4,P_DamageMobj
	nop 0
;A_SkelFist+144
	retf 0
	nop 0
	nop 0
;PIT_VileCheck
	alloc 9
	mov %r6,%r1
	ldbz %r2,%r1,162
;PIT_VileCheck+16
	ldi %r1,1
	bbci %r2,4,PIT_VileCheck+48
	ldwz %r2,%r6,144
;PIT_VileCheck+32
	bweqi %r2,-1,PIT_VileCheck+64
	nop 0
	nop 0
;PIT_VileCheck+48
	retf 0
	nop 0
	nop 0
;PIT_VileCheck+64
	lddz %r2,%r6,136
	ldwz %r3,%r2,88
	bweq %r3,%gz,PIT_VileCheck+48
;PIT_VileCheck+80
	ldwz %r2,%r2,64
	ldwzr %r3,mobjinfo+340
	ldwz %r7,%r6,24
;PIT_VileCheck+96
	ldwzr %r4,viletryx
	addws %r2,%r3,%r2
	absdw %r3,%r4,%r7
;PIT_VileCheck+112
	bwlt %r2,%r3,PIT_VileCheck+48
	ldwz %r8,%r6,28
	ldwzr %r3,viletryy
;PIT_VileCheck+128
	absdw %r3,%r3,%r8
	bwltu %r2,%r3,PIT_VileCheck+48
	stdr %r6,corpsehit
;PIT_VileCheck+144
	std %gz,%r6,112
	ldwz %r1,%r6,108
	slliw %r1,%r1,2
;PIT_VileCheck+160
	stw %r1,%r6,108
	callr %r5,P_CheckPosition
	lddzr %r1,corpsehit
;PIT_VileCheck+176
	ldwz %r2,%r1,108
	sraiw %r2,%r2,2
	stw %r2,%r1,108
;PIT_VileCheck+192
	cmpweqi %r1,%r6,0
	retf 0
	nop 0
;A_VileChase
	alloc 13
	ldwz %r2,%r1,168
	bweqi %r2,8,A_VileChase+160
;A_VileChase+16
	lddz %r3,%r1,136
	ldwz %r3,%r3,60
	ldafr %r4,xspeed
;A_VileChase+32
	ldwzx.xw %r4,%r4,%r2,2,0
	ldwz %r5,%r1,24
	mulws %r4,%r4,%r3
;A_VileChase+48
	addws %r4,%r4,%r5
	stwr %r4,viletryx
	ldafr %r5,yspeed
;A_VileChase+64
	ldwzx.xw %r2,%r5,%r2,2,0
	ldwz %r5,%r1,28
	ldwzr %r6,bmaporgx
;A_VileChase+80
	mulws %r2,%r2,%r3
	addws %r2,%r2,%r5
	stwr %r2,viletryy
;A_VileChase+96
	subws %r3,%r4,%r6
	addiws.l %r4,%r3,-4194304
;A_VileChase+112
	sraiw %r4,%r4,23
	addiws.l %r3,%r3,4194304
;A_VileChase+128
	sraiw %r6,%r3,23
	ldwzr %r3,bmaporgy
	stdr %r1,vileobj
;A_VileChase+144
	bwle %r4,%r6,A_VileChase+176
	nop 0
	nop 0
;A_VileChase+160
	mov %r12,%r1
	callr %r11,A_Chase
	retf 0
;A_VileChase+176
	subws %r2,%r2,%r3
	addiws.l %r3,%r2,-4194304
;A_VileChase+192
	sraiw %r7,%r3,23
	addiws.l %r2,%r2,4194304
;A_VileChase+208
	sraiw %r8,%r2,23
	ldar %r2,PIT_VileCheck
	jmp A_VileChase+240
;A_VileChase+224
	addiws %r4,%r3,1
	bwle %r6,%r3,A_VileChase+160
	nop 0
;A_VileChase+240
	mov2 %r3,%r5,%r4,%r7
	bwlt %r8,%r7,A_VileChase+224
	nop 0
;A_VileChase+256
	mov2 %r4,%r10,%r5,%r3
	mov2 %r11,%r12,%r5,%r2
	callr %r9,P_BlockThingsIterator
;A_VileChase+272
	bweq %r10,%gz,A_VileChase+304
	addiws %r5,%r4,1
	bwlt %r4,%r8,A_VileChase+256
;A_VileChase+288
	jmp A_VileChase+224
	nop 0
	nop 0
;A_VileChase+304
	lddzr %r2,corpsehit
	lddz %r3,%r1,176
	std %r2,%r1,176
;A_VileChase+320
	mov %r12,%r1
	callr %r11,A_FaceTarget
	std %r3,%r1,176
;A_VileChase+336
	ldi %r12,266
	mov %r11,%r1
	callr %r10,P_SetMobjState
;A_VileChase+352
	lddzr %r11,corpsehit
	ldi %r12,31
	callr %r10,S_StartSound
;A_VileChase+368
	lddzr %r11,corpsehit
	lddz %r2,%r11,136
	ldwz %r12,%r2,88
;A_VileChase+384
	callr %r10,P_SetMobjState
	lddzr %r1,corpsehit
	ldwz %r3,%r1,108
;A_VileChase+400
	slliw %r3,%r3,2
	stw %r3,%r1,108
	ldwz %r3,%r2,84
;A_VileChase+416
	stw %r3,%r1,160
	ldwz %r2,%r2,8
	stw %r2,%r1,164
;A_VileChase+432
	std %gz,%r1,176
	retf 0
	nop 0
;A_VileStart
	alloc 5
	ldi %r4,54
	mov %r3,%r1
;A_VileStart+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;A_StartFire
	alloc 5
	ldi %r4,92
	mov %r3,%r1
;A_StartFire+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Fire
;A_StartFire+32
	retf 0
	nop 0
	nop 0
;A_Fire
	alloc 9
	lddz %r2,%r1,216
	bdeq %r2,%gz,A_Fire+160
;A_Fire+16
	lddz %r8,%r1,176
	callr %r7,P_SubstNullMobj
	mov2 %r7,%r8,%r8,%r2
;A_Fire+32
	callr %r6,P_CheckSight
	bweq %r7,%gz,A_Fire+160
	ldwz %r3,%r2,56
;A_Fire+48
	srliw %r4,%r3,19
	mov %r8,%r1
	callr %r7,P_UnsetThingPosition
;A_Fire+64
	lddzr %r3,finecosine
	ldwzx.xuw %r3,%r3,%r4,2,0
	ldwz %r5,%r2,24
;A_Fire+80
	mulwsi %r3,%r3,24
	addws %r3,%r3,%r5
	stw %r3,%r1,24
;A_Fire+96
	ldafr %r3,finesine
	ldwzx.xuw %r3,%r3,%r4,2,0
	ldwz %r4,%r2,28
;A_Fire+112
	mulwsi %r3,%r3,24
	addws %r3,%r3,%r4
	stw %r3,%r1,28
;A_Fire+128
	ldwz %r2,%r2,32
	stw %r2,%r1,32
	mov %r8,%r1
;A_Fire+144
	callr %r7,P_SetThingPosition
	nop 0
	nop 0
;A_Fire+160
	retf 0
	nop 0
	nop 0
;A_FireCrackle
	alloc 5
	ldi %r4,91
	mov %r3,%r1
;A_FireCrackle+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Fire
;A_FireCrackle+32
	retf 0
	nop 0
	nop 0
;A_VileTarget
	alloc 8
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_VileTarget+96
;A_VileTarget+16
	mov %r7,%r1
	callr %r6,A_FaceTarget
	lddz %r2,%r1,176
;A_VileTarget+32
	ldwz %r4,%r2,24
	ldwz %r6,%r2,32
	ldi %r7,4
;A_VileTarget+48
	mov %r5,%r4
	callr %r3,P_SpawnMobj
	std %r4,%r1,216
;A_VileTarget+64
	std %r1,%r4,176
	lddz %r1,%r1,176
	std %r1,%r4,216
;A_VileTarget+80
	mov %r7,%r4
	callr %r6,A_Fire
	nop 0
;A_VileTarget+96
	retf 0
	nop 0
	nop 0
;A_VileAttack
	alloc 11
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_VileAttack+224
;A_VileAttack+16
	mov %r10,%r1
	callr %r9,A_FaceTarget
	lddz %r10,%r1,176
;A_VileAttack+32
	mov %r9,%r1
	callr %r8,P_CheckSight
	bweq %r9,%gz,A_VileAttack+224
;A_VileAttack+48
	ldi %r10,82
	mov %r9,%r1
	callr %r8,S_StartSound
;A_VileAttack+64
	lddz %r7,%r1,176
	ldi %r10,20
	mov2 %r8,%r9,%r1,%r1
;A_VileAttack+80
	callr %r6,P_DamageMobj
	lddz %r2,%r1,176
	lddz %r3,%r2,136
;A_VileAttack+96
	ldwz %r3,%r3,72
	ldi %r4,65536000
	divw %r3,%r4,%r3
;A_VileAttack+112
	stw %r3,%r2,120
	lddz %r8,%r1,216
	bdeq %r8,%gz,A_VileAttack+224
;A_VileAttack+128
	ldwz %r3,%r1,56
	lddzr %r4,finecosine
	srliw %r3,%r3,19
;A_VileAttack+144
	ldwzx.xuw %r4,%r4,%r3,2,0
	ldwz %r5,%r2,24
	mulwsi %r4,%r4,-24
;A_VileAttack+160
	addws %r4,%r4,%r5
	stw %r4,%r8,24
	ldafr %r4,finesine
;A_VileAttack+176
	ldwzx.xuw %r3,%r4,%r3,2,0
	ldwz %r2,%r2,28
	mulwsi %r3,%r3,-24
;A_VileAttack+192
	addws %r2,%r3,%r2
	stw %r2,%r8,28
	ldi %r10,70
;A_VileAttack+208
	mov %r9,%r1
	callr %r7,P_RadiusAttack
	nop 0
;A_VileAttack+224
	retf 0
	nop 0
	nop 0
;A_FatRaise
	alloc 5
	mov %r4,%r1
	callr %r3,A_FaceTarget
;A_FatRaise+16
	ldi %r4,99
	mov %r3,%r1
	callr %r2,S_StartSound
;A_FatRaise+32
	retf 0
	nop 0
	nop 0
;A_FatAttack1
	alloc 8
	mov %r7,%r1
	callr %r6,A_FaceTarget
;A_FatAttack1+16
	ldwz %r2,%r1,56
	addiws.l %r2,%r2,134217728
;A_FatAttack1+32
	stw %r2,%r1,56
	lddz %r7,%r1,176
	callr %r6,P_SubstNullMobj
;A_FatAttack1+48
	mov %r2,%r7
	ldi %r3,9
	mov2 %r5,%r6,%r1,%r7
;A_FatAttack1+64
	mov %r7,%r3
	callr %r4,P_SpawnMissile
	mov2 %r5,%r6,%r1,%r2
;A_FatAttack1+80
	mov %r7,%r3
	callr %r4,P_SpawnMissile
	ldwz %r1,%r5,56
;A_FatAttack1+96
	addiws.l %r1,%r1,134217728
	stw %r1,%r5,56
;A_FatAttack1+112
	lddz %r2,%r5,136
	lddzr %r3,finecosine
	srliw %r1,%r1,19
;A_FatAttack1+128
	ldws %r2,%r2,60
	ldwsx.xuw %r3,%r3,%r1,2,0
	mul %r3,%r3,%r2
;A_FatAttack1+144
	srli %r3,%r3,16
	stw %r3,%r5,112
	ldafr %r3,finesine
;A_FatAttack1+160
	ldwsx.xuw %r1,%r3,%r1,2,0
	mul %r1,%r1,%r2
	srli %r1,%r1,16
;A_FatAttack1+176
	stw %r1,%r5,116
	retf 0
	nop 0
;A_FatAttack2
	alloc 8
	mov %r7,%r1
	callr %r6,A_FaceTarget
;A_FatAttack2+16
	ldwz %r2,%r1,56
	addiws.l %r2,%r2,-134217728
;A_FatAttack2+32
	stw %r2,%r1,56
	lddz %r7,%r1,176
	callr %r6,P_SubstNullMobj
;A_FatAttack2+48
	mov %r2,%r7
	ldi %r3,9
	mov2 %r5,%r6,%r1,%r7
;A_FatAttack2+64
	mov %r7,%r3
	callr %r4,P_SpawnMissile
	mov2 %r5,%r6,%r1,%r2
;A_FatAttack2+80
	mov %r7,%r3
	callr %r4,P_SpawnMissile
	ldwz %r1,%r5,56
;A_FatAttack2+96
	addiws.l %r1,%r1,-268435456
	stw %r1,%r5,56
;A_FatAttack2+112
	lddz %r2,%r5,136
	lddzr %r3,finecosine
	srliw %r1,%r1,19
;A_FatAttack2+128
	ldws %r2,%r2,60
	ldwsx.xuw %r3,%r3,%r1,2,0
	mul %r3,%r3,%r2
;A_FatAttack2+144
	srli %r3,%r3,16
	stw %r3,%r5,112
	ldafr %r3,finesine
;A_FatAttack2+160
	ldwsx.xuw %r1,%r3,%r1,2,0
	mul %r1,%r1,%r2
	srli %r1,%r1,16
;A_FatAttack2+176
	stw %r1,%r5,116
	retf 0
	nop 0
;A_FatAttack3
	alloc 11
	mov %r10,%r1
	callr %r9,A_FaceTarget
;A_FatAttack3+16
	lddz %r10,%r1,176
	callr %r9,P_SubstNullMobj
	mov %r2,%r10
;A_FatAttack3+32
	ldi %r3,9
	mov2 %r8,%r9,%r1,%r10
	mov %r10,%r3
;A_FatAttack3+48
	callr %r7,P_SpawnMissile
	ldwz %r4,%r8,56
	nop 2
;A_FatAttack3+64
	addiws.l %r4,%r4,-67108864
	stw %r4,%r8,56
;A_FatAttack3+80
	lddz %r5,%r8,136
	lddzr %r6,finecosine
	srliw %r4,%r4,19
;A_FatAttack3+96
	ldws %r5,%r5,60
	ldwsx.xuw %r6,%r6,%r4,2,0
	mul %r6,%r6,%r5
;A_FatAttack3+112
	srli %r6,%r6,16
	stw %r6,%r8,112
	ldafr %r6,finesine
;A_FatAttack3+128
	ldwsx.xuw %r4,%r6,%r4,2,0
	mul %r4,%r4,%r5
	srli %r4,%r4,16
;A_FatAttack3+144
	stw %r4,%r8,116
	mov2 %r8,%r9,%r1,%r2
	mov %r10,%r3
;A_FatAttack3+160
	callr %r7,P_SpawnMissile
	ldwz %r1,%r8,56
	nop 2
;A_FatAttack3+176
	addiws.l %r1,%r1,67108864
	stw %r1,%r8,56
;A_FatAttack3+192
	lddz %r2,%r8,136
	lddzr %r3,finecosine
	srliw %r1,%r1,19
;A_FatAttack3+208
	ldws %r2,%r2,60
	ldwsx.xuw %r3,%r3,%r1,2,0
	mul %r3,%r3,%r2
;A_FatAttack3+224
	srli %r3,%r3,16
	stw %r3,%r8,112
	ldwsx.xuw %r1,%r6,%r1,2,0
;A_FatAttack3+240
	mul %r1,%r1,%r2
	srli %r1,%r1,16
	stw %r1,%r8,116
;A_FatAttack3+256
	retf 0
	nop 0
	nop 0
;A_SkullAttack
	alloc 10
	lddz %r3,%r1,176
	bdeq %r3,%gz,A_SkullAttack+256
;A_SkullAttack+16
	ldwz %r2,%r1,160
	ori.l %r2,%r2,16777216
;A_SkullAttack+32
	stw %r2,%r1,160
	lddz %r2,%r1,136
	ldwz %r9,%r2,24
;A_SkullAttack+48
	mov %r8,%r1
	callr %r7,S_StartSound
	mov %r9,%r1
;A_SkullAttack+64
	callr %r8,A_FaceTarget
	ldwz %r2,%r1,56
	lddzr %r4,finecosine
;A_SkullAttack+80
	srliw %r2,%r2,19
	ldwzx.xuw %r4,%r4,%r2,2,0
	mulwsi %r4,%r4,20
;A_SkullAttack+96
	stw %r4,%r1,112
	ldafr %r4,finesine
	ldwzx.xuw %r2,%r4,%r2,2,0
;A_SkullAttack+112
	mulwsi %r2,%r2,20
	stw %r2,%r1,116
	ldwz %r2,%r3,24
;A_SkullAttack+128
	ldwz %r4,%r1,24
	ldwz %r5,%r3,28
	ldwz %r6,%r1,28
;A_SkullAttack+144
	subws %r8,%r2,%r4
	subws %r9,%r5,%r6
	callr %r7,P_AproxDistance
;A_SkullAttack+160
	sraiw %r2,%r8,0
	muli.l %r2,%r2,1717986919
;A_SkullAttack+176
	srli %r4,%r2,63
	srai %r2,%r2,51
	addws %r2,%r2,%r4
;A_SkullAttack+192
	ldi %r4,1
	ldwz %r5,%r3,108
	ldwz %r3,%r3,32
;A_SkullAttack+208
	ldwz %r6,%r1,32
	maxsw %r2,%r2,%r4
	sraiw %r4,%r5,1
;A_SkullAttack+224
	addws %r3,%r4,%r3
	subws %r3,%r3,%r6
	divw %r2,%r3,%r2
;A_SkullAttack+240
	stw %r2,%r1,120
	nop 0
	nop 0
;A_SkullAttack+256
	retf 0
	nop 0
	nop 0
;A_PainShootSkull
	alloc 13
	lddzr %r3,thinkercap+8
	ldafr %r4,thinkercap
;A_PainShootSkull+16
	bdeq %r3,%r4,A_PainShootSkull+112
	mov %r5,%gz
	ldar %r6,P_MobjThinker
;A_PainShootSkull+32
	jmp A_PainShootSkull+64
	nop 0
	nop 0
;A_PainShootSkull+48
	lddz %r3,%r3,8
	bdeq %r3,%r4,A_PainShootSkull+96
	nop 0
;A_PainShootSkull+64
	lddz %r7,%r3,16
	bdne %r7,%r6,A_PainShootSkull+48
	ldwz %r7,%r3,128
;A_PainShootSkull+80
	cmpweqi %r7,%r7,18
	addws %r5,%r5,%r7
	jmp A_PainShootSkull+48
;A_PainShootSkull+96
	bwgei %r5,21,A_PainShootSkull+304
	nop 0
	nop 0
;A_PainShootSkull+112
	lddz %r3,%r1,136
	ldwz %r3,%r3,64
	ldwzr %r4,mobjinfo+1720
;A_PainShootSkull+128
	srliw %r2,%r2,19
	addws %r3,%r4,%r3
	lddzr %r4,finecosine
;A_PainShootSkull+144
	mulwsi %r3,%r3,3
	srliw %r5,%r3,31
	addws %r3,%r3,%r5
;A_PainShootSkull+160
	ldwsx.xuw %r4,%r4,%r2,2,0
	sraiw %r3,%r3,1
	ldwz %r5,%r1,24
;A_PainShootSkull+176
	addiws %r3,%r3,262144
	mul %r4,%r3,%r4
	srli %r4,%r4,16
;A_PainShootSkull+192
	ldafr %r6,finesine
	ldwsx.xuw %r2,%r6,%r2,2,0
	addws %r9,%r5,%r4
;A_PainShootSkull+208
	ldwz %r4,%r1,28
	ldwz %r5,%r1,32
	mul %r2,%r2,%r3
;A_PainShootSkull+224
	srli %r2,%r2,16
	addws %r10,%r4,%r2
	addiws %r11,%r5,524288
;A_PainShootSkull+240
	ldi %r12,18
	callr %r8,P_SpawnMobj
	mov %r2,%r9
;A_PainShootSkull+256
	ldwz %r11,%r9,24
	ldwz %r12,%r9,28
	mov %r10,%r9
;A_PainShootSkull+272
	callr %r9,P_TryMove
	bweq %r10,%gz,A_PainShootSkull+320
	lddz %r1,%r1,176
;A_PainShootSkull+288
	std %r1,%r2,176
	mov %r12,%r2
	callr %r11,A_SkullAttack
;A_PainShootSkull+304
	retf 0
	nop 0
	nop 0
;A_PainShootSkull+320
	ldi %r12,10000
	mov2 %r9,%r10,%r2,%r1
	mov %r11,%r1
;A_PainShootSkull+336
	callr %r8,P_DamageMobj
	retf 0
	nop 0
;A_PainAttack
	alloc 6
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_PainAttack+48
;A_PainAttack+16
	mov %r5,%r1
	callr %r4,A_FaceTarget
	ldwz %r5,%r1,56
;A_PainAttack+32
	mov %r4,%r1
	callr %r3,A_PainShootSkull
	nop 0
;A_PainAttack+48
	retf 0
	nop 0
	nop 0
;A_PainDie
	alloc 6
	ldwz %r2,%r1,160
	andi %r2,%r2,-3
;A_PainDie+16
	stw %r2,%r1,160
	ldwz %r2,%r1,56
	nop 2
;A_PainDie+32
	addiws.l %r5,%r2,1073741824
	mov %r4,%r1
;A_PainDie+48
	callr %r3,A_PainShootSkull
	ldwz %r2,%r1,56
	nop 2
;A_PainDie+64
	xori.l %r5,%r2,-2147483648
	mov %r4,%r1
;A_PainDie+80
	callr %r3,A_PainShootSkull
	ldwz %r2,%r1,56
	nop 2
;A_PainDie+96
	addiws.l %r5,%r2,-1073741824
	mov %r4,%r1
;A_PainDie+112
	callr %r3,A_PainShootSkull
	retf 0
	nop 0
;A_Scream
	alloc 7
	lddz %r2,%r1,136
	ldwz %r6,%r2,56
;A_Scream+16
	addiws %r2,%r6,-59
	bwltui %r2,3,A_Scream+80
	addiws %r2,%r6,-62
;A_Scream+32
	bwgeui %r2,2,A_Scream+144
	callr %r5,P_Random
	srliw %r2,%r6,31
;A_Scream+48
	addws %r2,%r6,%r2
	andi %r2,%r2,-2
	subws %r2,%r6,%r2
;A_Scream+64
	addiws %r6,%r2,62
	jmp A_Scream+160
	nop 0
;A_Scream+80
	callr %r5,P_Random
	sraiw %r2,%r6,0
	nop 2
;A_Scream+96
	muli.l %r2,%r2,1431655766
	srli %r3,%r2,63
;A_Scream+112
	srli %r2,%r2,32
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,3
;A_Scream+128
	subws %r2,%r6,%r2
	addiws %r6,%r2,59
	jmp A_Scream+160
;A_Scream+144
	bweq %r6,%gz,A_Scream+224
	nop 0
	nop 0
;A_Scream+160
	ldwz %r2,%r1,128
	bweqi %r2,19,A_Scream+192
	mov %r5,%gz
;A_Scream+176
	bweqi %r2,21,A_Scream+208
	mov %r5,%r1
	jmp A_Scream+208
;A_Scream+192
	mov %r5,%gz
	nop 0
	nop 0
;A_Scream+208
	callr %r4,S_StartSound
	nop 0
	nop 0
;A_Scream+224
	retf 0
	nop 0
	nop 0
;A_XScream
	alloc 5
	ldi %r4,31
	mov %r3,%r1
;A_XScream+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;A_Pain
	alloc 6
	lddz %r2,%r1,136
	ldwz %r5,%r2,36
;A_Pain+16
	bweq %r5,%gz,A_Pain+32
	mov %r4,%r1
	callr %r3,S_StartSound
;A_Pain+32
	retf 0
	nop 0
	nop 0
;A_Explode
	alloc 6
	lddz %r4,%r1,176
	ldi %r5,128
;A_Explode+16
	mov %r3,%r1
	callr %r2,P_RadiusAttack
	retf 0
;A_BossDeath
	allocsp 12,96
	ldwzr %r2,gamemode
	bwnei %r2,2,A_BossDeath+64
;A_BossDeath+16
	ldwzr %r3,gamemap
	bwnei %r3,7,A_BossDeath+416
	ldwz %r3,%r1,128
;A_BossDeath+32
	ldi %r4,7
	bweqi %r3,8,A_BossDeath+336
	bweqi %r3,20,A_BossDeath+336
;A_BossDeath+48
	jmp A_BossDeath+416
	nop 0
	nop 0
;A_BossDeath+64
	ldwzr %r4,gameversion
	ldwz %r3,%r1,128
	bwgeui %r4,6,A_BossDeath+128
;A_BossDeath+80
	ldwzr %r4,gamemap
	bwnei %r4,8,A_BossDeath+416
	ldi %r4,8
;A_BossDeath+96
	bwnei %r3,15,A_BossDeath+336
	ldwzr %r5,gameepisode
	bwnei %r5,1,A_BossDeath+416
;A_BossDeath+112
	jmp A_BossDeath+336
	nop 0
	nop 0
;A_BossDeath+128
	ldwzr %r5,gameepisode
	addiws %r6,%r5,-1
	ldwzr %r4,gamemap
;A_BossDeath+144
	bwgeui %r6,4,A_BossDeath+304
	addiwz %r5,%r5,-1
	ldafr %r6,.rodata+35616
;A_BossDeath+160
	jmpt %r6,%r5
	nop 0
	nop 0
;A_BossDeath+176
	bwnei %r3,15,A_BossDeath+416
	bwnei %r4,8,A_BossDeath+416
	ldi %r3,15
;A_BossDeath+192
	jmp A_BossDeath+320
	nop 0
	nop 0
;A_BossDeath+208
	bwnei %r3,21,A_BossDeath+240
	bwnei %r4,6,A_BossDeath+240
	ldi %r3,21
;A_BossDeath+224
	ldi %r4,6
	jmp A_BossDeath+336
	nop 0
;A_BossDeath+240
	bwnei %r3,19,A_BossDeath+416
	bwnei %r4,8,A_BossDeath+416
	ldi %r3,19
;A_BossDeath+256
	jmp A_BossDeath+320
	nop 0
	nop 0
;A_BossDeath+272
	bwnei %r3,21,A_BossDeath+416
	bwnei %r4,8,A_BossDeath+416
	ldi %r3,21
;A_BossDeath+288
	jmp A_BossDeath+320
	nop 0
	nop 0
;A_BossDeath+304
	bwnei %r4,8,A_BossDeath+416
	nop 0
	nop 0
;A_BossDeath+320
	ldi %r4,8
	nop 0
	nop 0
;A_BossDeath+336
	mov %r5,%gz
	ldafr %r6,players+44
	ldafr %r7,playeringame
;A_BossDeath+352
	jmp A_BossDeath+384
	nop 0
	nop 0
;A_BossDeath+368
	addi %r5,%r5,4
	addi %r6,%r6,328
	bdeqi %r5,16,A_BossDeath+416
;A_BossDeath+384
	ldwzx.xd %r8,%r5,%r7,0,0
	bweq %r8,%gz,A_BossDeath+368
	ldwz %r8,%r6,0
;A_BossDeath+400
	bwle %r8,%gz,A_BossDeath+368
	bdnei %r5,16,A_BossDeath+432
	nop 0
;A_BossDeath+416
	retf 96
	nop 0
	nop 0
;A_BossDeath+432
	lddzr %r5,thinkercap+8
	ldafr %r6,thinkercap
	bdeq %r5,%r6,A_BossDeath+528
;A_BossDeath+448
	ldar %r7,P_MobjThinker
	jmp A_BossDeath+480
	nop 0
;A_BossDeath+464
	lddz %r5,%r5,8
	bdeq %r5,%r6,A_BossDeath+528
	nop 0
;A_BossDeath+480
	bdeq %r5,%r1,A_BossDeath+464
	lddz %r8,%r5,16
	bdne %r8,%r7,A_BossDeath+464
;A_BossDeath+496
	ldwz %r8,%r5,128
	bwne %r8,%r3,A_BossDeath+464
	ldwz %r8,%r5,164
;A_BossDeath+512
	bwle %r8,%gz,A_BossDeath+464
	jmp A_BossDeath+416
	nop 0
;A_BossDeath+528
	bwnei %r2,2,A_BossDeath+560
	bweqi %r3,20,A_BossDeath+592
	bweqi %r3,8,A_BossDeath+672
;A_BossDeath+544
	jmp A_BossDeath+704
	nop 0
	nop 0
;A_BossDeath+560
	ldwzr %r1,gameepisode
	bweqi %r1,4,A_BossDeath+624
	bweqi %r1,1,A_BossDeath+672
;A_BossDeath+576
	jmp A_BossDeath+704
	nop 0
	nop 0
;A_BossDeath+592
	ldi %r1,667
	sth %r1,%sp,36
	addi %r10,%sp,8
;A_BossDeath+608
	ldi %r11,5
	callr %r9,EV_DoFloor
	retf 96
;A_BossDeath+624
	bweqi %r4,8,A_BossDeath+672
	bwnei %r4,6,A_BossDeath+704
	ldi %r1,666
;A_BossDeath+640
	sth %r1,%sp,36
	addi %r10,%sp,8
	ldi %r11,6
;A_BossDeath+656
	callr %r9,EV_DoDoor
	retf 96
	nop 0
;A_BossDeath+672
	ldi %r1,666
	sth %r1,%sp,36
	addi %r10,%sp,8
;A_BossDeath+688
	ldi %r11,1
	callr %r9,EV_DoFloor
	retf 96
;A_BossDeath+704
	callr %r11,G_ExitLevel
	retf 96
	nop 0
;A_Hoof
	alloc 5
	ldi %r4,84
	mov %r3,%r1
;A_Hoof+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Chase
;A_Hoof+32
	retf 0
	nop 0
	nop 0
;A_Metal
	alloc 5
	ldi %r4,85
	mov %r3,%r1
;A_Metal+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Chase
;A_Metal+32
	retf 0
	nop 0
	nop 0
;A_BabyMetal
	alloc 5
	ldi %r4,79
	mov %r3,%r1
;A_BabyMetal+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Chase
;A_BabyMetal+32
	retf 0
	nop 0
	nop 0
;A_OpenShotgun2
	alloc 5
	lddz %r3,%r1,0
	ldi %r4,5
;A_OpenShotgun2+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;A_LoadShotgun2
	alloc 5
	lddz %r3,%r1,0
	ldi %r4,7
;A_LoadShotgun2+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;A_CloseShotgun2
	alloc 6
	lddz %r4,%r1,0
	ldi %r5,6
;A_CloseShotgun2+16
	callr %r3,S_StartSound
	mov2 %r4,%r5,%r1,%r2
	callr %r3,A_ReFire
;A_CloseShotgun2+32
	retf 0
	nop 0
	nop 0
;A_BrainAwake
	alloc 10
	lddzr %r1,thinkercap+8
	stwr %gz,numbraintargets
;A_BrainAwake+16
	ldafr %r2,thinkercap
	stwr %gz,braintargeton
	bdeq %r1,%r2,A_BrainAwake+128
;A_BrainAwake+32
	mov %r3,%gz
	ldar %r4,P_MobjThinker
	ldafr %r5,braintargets
;A_BrainAwake+48
	jmp A_BrainAwake+80
	nop 0
	nop 0
;A_BrainAwake+64
	lddz %r1,%r1,8
	bdeq %r1,%r2,A_BrainAwake+128
	nop 0
;A_BrainAwake+80
	lddz %r6,%r1,16
	bdne %r6,%r4,A_BrainAwake+64
	ldwz %r6,%r1,128
;A_BrainAwake+96
	bwnei %r6,27,A_BrainAwake+64
	stdx.xw %r1,%r5,%r3,3,0
	addiws %r3,%r3,1
;A_BrainAwake+112
	stwr %r3,numbraintargets
	jmp A_BrainAwake+64
	nop 0
;A_BrainAwake+128
	ldi %r9,96
	mov %r8,%gz
	callr %r7,S_StartSound
;A_BrainAwake+144
	retf 0
	nop 0
	nop 0
;A_BrainPain
	alloc 4
	ldi %r3,97
	mov %r2,%gz
;A_BrainPain+16
	callr %r1,S_StartSound
	retf 0
	nop 0
;A_BrainScream
	alloc 14
	ldwz %r2,%r1,24
	nop 2
;A_BrainScream+16
	addiws.l %r5,%r2,-12845056
	ldi %r6,128
;A_BrainScream+32
	ldi %r2,33
	ldi %r3,799
	ldi %r7,1
;A_BrainScream+48
	ldwz %r8,%r1,28
	mov %r4,%r5
	nop 2
;A_BrainScream+64
	addiws.l %r11,%r8,-20971520
	callr %r12,P_Random
;A_BrainScream+80
	slor %r12,%r6,%r13,17
	mov2 %r10,%r13,%r5,%r2
	callr %r9,P_SpawnMobj
;A_BrainScream+96
	callr %r12,P_Random
	slliw %r5,%r13,9
	stw %r5,%r10,120
;A_BrainScream+112
	mov2 %r12,%r13,%r10,%r3
	callr %r11,P_SetMobjState
	callr %r12,P_Random
;A_BrainScream+128
	ldwz %r5,%r10,144
	andi %r8,%r13,7
	subws %r5,%r5,%r8
;A_BrainScream+144
	maxsw %r5,%r5,%r7
	stw %r5,%r10,144
	ldwz %r5,%r1,24
;A_BrainScream+160
	addiws.l %r8,%r5,20447232
	addiws %r5,%r4,524288
;A_BrainScream+176
	bwlt %r4,%r8,A_BrainScream+48
	ldi %r13,98
	mov %r12,%gz
;A_BrainScream+192
	callr %r11,S_StartSound
	retf 0
	nop 0
;A_BrainExplode
	alloc 10
	ldwz %r4,%r1,24
	callr %r8,P_Random
;A_BrainExplode+16
	mov %r2,%r9
	callr %r8,P_Random
	subws %r2,%r2,%r9
;A_BrainExplode+32
	sladdws %r6,%r4,%r2,11
	ldwz %r7,%r1,28
	callr %r8,P_Random
;A_BrainExplode+48
	ldi %r1,128
	slor %r8,%r1,%r9,17
	ldi %r9,33
;A_BrainExplode+64
	callr %r5,P_SpawnMobj
	callr %r8,P_Random
	slliw %r1,%r9,9
;A_BrainExplode+80
	stw %r1,%r6,120
	ldi %r9,799
	mov %r8,%r6
;A_BrainExplode+96
	callr %r7,P_SetMobjState
	callr %r8,P_Random
	ldwz %r1,%r6,144
;A_BrainExplode+112
	andi %r2,%r9,7
	subws %r1,%r1,%r2
	ldi %r2,1
;A_BrainExplode+128
	maxsw %r1,%r1,%r2
	stw %r1,%r6,144
	retf 0
;A_BrainDie
	alloc 2
	callr %r1,G_ExitLevel
	retf 0
;A_BrainSpit
	alloc 9
	ldwzr %r2,A_BrainSpit.easy
	ldwzr %r3,gameskill
;A_BrainSpit+16
	xori %r4,%r2,1
	stwr %r4,A_BrainSpit.easy
	bwgei %r3,2,A_BrainSpit+48
;A_BrainSpit+32
	bwnei %r2,1,A_BrainSpit+48
	retf 0
	nop 0
;A_BrainSpit+48
	ldwzr %r3,braintargeton
	ldwzr %r4,numbraintargets
	ldafr %r2,braintargets
;A_BrainSpit+64
	lddzx.xw %r2,%r2,%r3,3,0
	addiws %r3,%r3,1
	modw %r3,%r3,%r4
;A_BrainSpit+80
	stwr %r3,braintargeton
	ldi %r8,28
	mov2 %r6,%r7,%r1,%r2
;A_BrainSpit+96
	callr %r5,P_SpawnMissile
	std %r2,%r6,176
	ldwz %r2,%r2,28
;A_BrainSpit+112
	ldwz %r1,%r1,28
	ldwz %r3,%r6,116
	subws %r1,%r2,%r1
;A_BrainSpit+128
	divw %r1,%r1,%r3
	lddz %r2,%r6,152
	ldwz %r2,%r2,8
;A_BrainSpit+144
	divw %r1,%r1,%r2
	stw %r1,%r6,184
	ldi %r8,94
;A_BrainSpit+160
	mov %r7,%gz
	callr %r6,S_StartSound
	retf 0
;A_SpawnSound
	alloc 5
	ldi %r4,95
	mov %r3,%r1
;A_SpawnSound+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_SpawnFly
;A_SpawnSound+32
	retf 0
	nop 0
	nop 0
;A_SpawnFly
	alloc 11
	ldwz %r2,%r1,184
	addiws %r2,%r2,-1
;A_SpawnFly+16
	stw %r2,%r1,184
	bweq %r2,%gz,A_SpawnFly+32
	retf 0
;A_SpawnFly+32
	lddz %r10,%r1,176
	callr %r9,P_SubstNullMobj
	mov %r2,%r10
;A_SpawnFly+48
	ldwz %r7,%r10,24
	ldwz %r8,%r10,28
	ldwz %r9,%r10,32
;A_SpawnFly+64
	ldi %r10,29
	callr %r6,P_SpawnMobj
	ldi %r10,35
;A_SpawnFly+80
	mov %r9,%r7
	callr %r8,S_StartSound
	callr %r9,P_Random
;A_SpawnFly+96
	bwgei %r10,50,A_SpawnFly+112
	ldi %r10,11
	jmp A_SpawnFly+272
;A_SpawnFly+112
	bwgeui %r10,90,A_SpawnFly+128
	ldi %r10,12
	jmp A_SpawnFly+272
;A_SpawnFly+128
	bwgeui %r10,120,A_SpawnFly+144
	ldi %r10,13
	jmp A_SpawnFly+272
;A_SpawnFly+144
	bwgeui %r10,130,A_SpawnFly+160
	ldi %r10,22
	jmp A_SpawnFly+272
;A_SpawnFly+160
	bwgeui %r10,160,A_SpawnFly+176
	ldi %r10,14
	jmp A_SpawnFly+272
;A_SpawnFly+176
	bwgeui %r10,162,A_SpawnFly+192
	ldi %r10,3
	jmp A_SpawnFly+272
;A_SpawnFly+192
	bwgeui %r10,172,A_SpawnFly+208
	ldi %r10,5
	jmp A_SpawnFly+272
;A_SpawnFly+208
	bwgeui %r10,192,A_SpawnFly+224
	ldi %r10,20
	jmp A_SpawnFly+272
;A_SpawnFly+224
	bwgeui %r10,222,A_SpawnFly+240
	ldi %r10,8
	jmp A_SpawnFly+272
;A_SpawnFly+240
	cmpwltui %r3,%r10,246
	ldi %r4,15
	ldi %r5,17
;A_SpawnFly+256
	cmovlsb %r10,%r3,%r5,%r4
	nop 0
	nop 0
;A_SpawnFly+272
	ldwz %r7,%r2,24
	ldwz %r8,%r2,28
	ldwz %r9,%r2,32
;A_SpawnFly+288
	callr %r6,P_SpawnMobj
	ldi %r10,1
	mov %r9,%r7
;A_SpawnFly+304
	callr %r8,P_LookForPlayers
	bweq %r9,%gz,A_SpawnFly+336
	lddz %r2,%r7,136
;A_SpawnFly+320
	ldwz %r10,%r2,12
	mov %r9,%r7
	callr %r8,P_SetMobjState
;A_SpawnFly+336
	ldwz %r9,%r7,24
	ldwz %r10,%r7,28
	mov %r8,%r7
;A_SpawnFly+352
	callr %r7,P_TeleportMove
	mov %r10,%r1
	callr %r9,P_RemoveMobj
;A_SpawnFly+368
	retf 0
	nop 0
	nop 0
;A_PlayerScream
	alloc 8
	ldwzr %r2,gamemode
	bwnei %r2,2,A_PlayerScream+48
;A_PlayerScream+16
	ldwz %r2,%r1,164
	cmpwlti %r2,%r2,-50
	ldi %r3,57
;A_PlayerScream+32
	ldi %r4,58
	cmovlsb %r7,%r2,%r4,%r3
	jmp A_PlayerScream+64
;A_PlayerScream+48
	ldi %r7,57
	nop 0
	nop 0
;A_PlayerScream+64
	mov %r6,%r1
	callr %r5,S_StartSound
	retf 0
;T_MovePlane
	alloc 10
	bweqi %r5,1,T_MovePlane+80
	bwne %r5,%gz,T_MovePlane+336
;T_MovePlane+16
	bweqi %r6,1,T_MovePlane+144
	bwnei %r6,-1,T_MovePlane+336
	ldwz %r5,%r1,0
;T_MovePlane+32
	subws %r2,%r5,%r2
	bwlt %r2,%r3,T_MovePlane+160
	stw %r2,%r1,0
;T_MovePlane+48
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
	bwnei %r8,1,T_MovePlane+336
;T_MovePlane+64
	jmp T_MovePlane+368
	nop 0
	nop 0
;T_MovePlane+80
	bweqi %r6,1,T_MovePlane+208
	bwnei %r6,-1,T_MovePlane+336
	ldwz %r5,%r1,4
;T_MovePlane+96
	subws %r2,%r5,%r2
	bwlt %r2,%r3,T_MovePlane+224
	stw %r2,%r1,4
;T_MovePlane+112
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
	bwnei %r8,1,T_MovePlane+336
;T_MovePlane+128
	bwnei %r4,1,T_MovePlane+384
	ldi %r1,1
	retf 0
;T_MovePlane+144
	ldwz %r5,%r1,0
	addws %r2,%r5,%r2
	bwle %r2,%r3,T_MovePlane+288
;T_MovePlane+160
	stw %r3,%r1,0
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
;T_MovePlane+176
	bwnei %r8,1,T_MovePlane+272
	stw %r5,%r1,0
	ldi %r2,2
;T_MovePlane+192
	jmp T_MovePlane+416
	nop 0
	nop 0
;T_MovePlane+208
	ldwz %r5,%r1,4
	addws %r6,%r5,%r2
	bwle %r6,%r3,T_MovePlane+352
;T_MovePlane+224
	stw %r3,%r1,4
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
;T_MovePlane+240
	bwnei %r8,1,T_MovePlane+272
	stw %r5,%r1,4
	ldi %r2,2
;T_MovePlane+256
	jmp T_MovePlane+416
	nop 0
	nop 0
;T_MovePlane+272
	ldi %r1,2
	retf 0
	nop 0
;T_MovePlane+288
	stw %r2,%r1,0
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
;T_MovePlane+304
	bwnei %r8,1,T_MovePlane+336
	bwnei %r4,1,T_MovePlane+368
	ldi %r1,1
;T_MovePlane+320
	retf 0
	nop 0
	nop 0
;T_MovePlane+336
	mov %r1,%gz
	retf 0
	nop 0
;T_MovePlane+352
	mov %r2,%gz
	stw %r6,%r1,4
	jmp T_MovePlane+416
;T_MovePlane+368
	stw %r5,%r1,0
	jmp T_MovePlane+400
	nop 0
;T_MovePlane+384
	stw %r5,%r1,4
	nop 0
	nop 0
;T_MovePlane+400
	ldi %r2,1
	nop 0
	nop 0
;T_MovePlane+416
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
	mov %r1,%r2
;T_MovePlane+432
	retf 0
	nop 0
	nop 0
;T_MoveFloor
	alloc 11
	lddz %r5,%r1,32
	ldwz %r6,%r1,56
;T_MoveFloor+16
	ldwz %r7,%r1,52
	ldwz %r8,%r1,28
	ldwz %r10,%r1,40
;T_MoveFloor+32
	mov %r9,%gz
	callr %r4,T_MovePlane
	ldbzr %r2,leveltime
;T_MoveFloor+48
	andi %r2,%r2,7
	bweq %r2,%gz,T_MoveFloor+80
	bweqi %r5,2,T_MoveFloor+112
;T_MoveFloor+64
	retf 0
	nop 0
	nop 0
;T_MoveFloor+80
	lddz %r2,%r1,32
	addi %r9,%r2,48
	ldi %r10,22
;T_MoveFloor+96
	callr %r8,S_StartSound
	bwnei %r5,2,T_MoveFloor+64
	nop 0
;T_MoveFloor+112
	lddz %r2,%r1,32
	std %gz,%r2,104
	ldwz %r3,%r1,40
;T_MoveFloor+128
	bweqi %r3,-1,T_MoveFloor+240
	bwnei %r3,1,T_MoveFloor+192
	ldwz %r3,%r1,24
;T_MoveFloor+144
	bwnei %r3,11,T_MoveFloor+192
	nop 0
	nop 0
;T_MoveFloor+160
	ldwz %r3,%r1,44
	sth %r3,%r2,14
	ldhz %r3,%r1,48
;T_MoveFloor+176
	sth %r3,%r2,8
	nop 0
	nop 0
;T_MoveFloor+192
	mov %r10,%r1
	callr %r9,P_RemoveThinker
	lddz %r1,%r1,32
;T_MoveFloor+208
	addi %r9,%r1,48
	ldi %r10,19
	callr %r8,S_StartSound
;T_MoveFloor+224
	retf 0
	nop 0
	nop 0
;T_MoveFloor+240
	ldwz %r3,%r1,24
	bweqi %r3,6,T_MoveFloor+160
	jmp T_MoveFloor+192
;EV_DoFloor
	alloc 25
	cmpweqi %r3,%r2,9
	ldi %r4,-524288
;EV_DoFloor+16
	mov2 %r9,%r1,%r1,%gz
	cmovlsb %r11,%r3,%r4,%gz
	ldi %r12,-1
;EV_DoFloor+32
	ldi %r3,64
	ldi %r4,6
	ldar %r13,T_MoveFloor
;EV_DoFloor+48
	ldi %r5,1
	srliw %r14,%r2,0
	ldafr %r15,.rodata+35632
;EV_DoFloor+64
	ldi %r16,65536
	ldi %r17,262144
	nop 2
;EV_DoFloor+80
	ldi.l %r18,2147483647
	mov %r6,%r12
;EV_DoFloor+96
	mov2 %r23,%r24,%r9,%r6
	callr %r22,P_FindSectorFromLineTag
	bwlt %r23,%gz,EV_DoFloor+1184
;EV_DoFloor+112
	mov %r6,%r23
	lddzr %r7,sectors
	ldax.xuw %r8,%r7,%r23,7,0
;EV_DoFloor+128
	lddzx.xuw %r7,%r7,%r23,7,104
	bdne %r7,%gz,EV_DoFloor+96
	mov2 %r22,%r23,%r3,%r4
;EV_DoFloor+144
	mov %r24,%gz
	callr %r21,Z_Malloc
	mov2 %r7,%r24,%r22,%r22
;EV_DoFloor+160
	callr %r23,P_AddThinker
	std %r22,%r8,104
	std %r13,%r22,16
;EV_DoFloor+176
	stw %r2,%r22,24
	stw %gz,%r22,28
	mov %r1,%r5
;EV_DoFloor+192
	bwgeui %r2,13,EV_DoFloor+96
	mov %r1,%r5
	jmpt %r15,%r14
;EV_DoFloor+208
	stw %r12,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+224
	mov %r24,%r8
	callr %r23,P_FindHighestFloorSurrounding
	jmp EV_DoFloor+528
;EV_DoFloor+240
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+256
	ldwz %r1,%r8,0
	addiws.l %r1,%r1,33554432
;EV_DoFloor+272
	jmp EV_DoFloor+1136
	nop 0
	nop 0
;EV_DoFloor+288
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+304
	jmp EV_DoFloor+960
	nop 0
	nop 0
;EV_DoFloor+320
	stw %r5,%r7,28
	nop 0
	nop 0
;EV_DoFloor+336
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+352
	mov %r24,%r8
	callr %r23,P_FindLowestCeilingSurrounding
	ldwz %r1,%r8,4
;EV_DoFloor+368
	minsw %r1,%r24,%r1
	addws %r1,%r1,%r11
	jmp EV_DoFloor+1136
;EV_DoFloor+384
	stw %r12,%r7,40
	std %r8,%r7,32
	stw %r17,%r7,56
;EV_DoFloor+400
	mov %r24,%r8
	callr %r23,P_FindHighestFloorSurrounding
	stw %r24,%r7,52
;EV_DoFloor+416
	ldwz %r8,%r8,0
	mov %r1,%r5
	bweq %r24,%r8,EV_DoFloor+96
;EV_DoFloor+432
	addiws %r1,%r24,524288
	jmp EV_DoFloor+1136
	nop 0
;EV_DoFloor+448
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+464
	ldwz %r1,%r8,0
	addiws.l %r1,%r1,1572864
;EV_DoFloor+480
	jmp EV_DoFloor+1136
	nop 0
	nop 0
;EV_DoFloor+496
	stw %r12,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+512
	mov %r24,%r8
	callr %r23,P_FindLowestFloorSurrounding
	nop 0
;EV_DoFloor+528
	stw %r24,%r7,52
	mov %r1,%r5
	jmp EV_DoFloor+96
;EV_DoFloor+544
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+560
	ldwz %r1,%r8,112
	bwlti %r1,1,EV_DoFloor+1104
	mov2 %r1,%r19,%gz,%r18
;EV_DoFloor+576
	jmp EV_DoFloor+608
	nop 0
	nop 0
;EV_DoFloor+592
	ldwz %r10,%r8,112
	addiws %r1,%r1,1
	bwle %r10,%r1,EV_DoFloor+1072
;EV_DoFloor+608
	mov2 %r23,%r24,%r6,%r1
	callr %r22,twoSided
	bweq %r23,%gz,EV_DoFloor+592
;EV_DoFloor+624
	mov2 %r22,%r23,%r6,%r1
	mov %r24,%gz
	callr %r21,getSide
;EV_DoFloor+640
	ldhs %r10,%r22,10
	bdlt %r10,%gz,EV_DoFloor+672
	lddzr %r20,textureheight
;EV_DoFloor+656
	ldwzx.xd %r10,%r20,%r10,2,0
	minsw %r19,%r10,%r19
	nop 0
;EV_DoFloor+672
	mov2 %r22,%r23,%r6,%r1
	mov %r24,%r5
	callr %r21,getSide
;EV_DoFloor+688
	ldhs %r10,%r22,10
	bdlt %r10,%gz,EV_DoFloor+592
	lddzr %r20,textureheight
;EV_DoFloor+704
	ldwzx.xd %r10,%r20,%r10,2,0
	minsw %r19,%r10,%r19
	jmp EV_DoFloor+592
;EV_DoFloor+720
	stw %r12,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+736
	mov %r24,%r8
	callr %r23,P_FindLowestFloorSurrounding
	stw %r24,%r7,52
;EV_DoFloor+752
	ldhz %r1,%r8,8
	sth %r1,%r7,48
	ldwz %r10,%r8,112
;EV_DoFloor+768
	mov %r1,%r5
	bwlti %r10,1,EV_DoFloor+96
	mov %r1,%gz
;EV_DoFloor+784
	srliw %r19,%r6,0
	jmp EV_DoFloor+864
	nop 0
;EV_DoFloor+800
	mov %r24,%r5
	nop 0
	nop 0
;EV_DoFloor+816
	callr %r21,getSector
	mov %r8,%r22
	ldwz %r10,%r22,0
;EV_DoFloor+832
	ldwz %r20,%r7,52
	bweq %r10,%r20,EV_DoFloor+1152
	nop 0
;EV_DoFloor+848
	ldwz %r10,%r8,112
	addiws %r1,%r1,1
	bwle %r10,%r1,EV_DoFloor+1088
;EV_DoFloor+864
	mov2 %r23,%r24,%r6,%r1
	callr %r22,twoSided
	bweq %r23,%gz,EV_DoFloor+848
;EV_DoFloor+880
	mov2 %r22,%r23,%r6,%r1
	mov %r24,%gz
	callr %r21,getSide
;EV_DoFloor+896
	lddz %r8,%r22,16
	lddzr %r10,sectors
	sub %r8,%r8,%r10
;EV_DoFloor+912
	mov2 %r22,%r23,%r6,%r1
	srai %r8,%r8,7
	bdeq %r8,%r19,EV_DoFloor+800
;EV_DoFloor+928
	mov %r24,%gz
	jmp EV_DoFloor+816
	nop 0
;EV_DoFloor+944
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r17,%r7,56
;EV_DoFloor+960
	ldwz %r24,%r8,0
	mov %r23,%r8
	callr %r22,P_FindNextHighestFloor
;EV_DoFloor+976
	stw %r23,%r7,52
	mov %r1,%r5
	jmp EV_DoFloor+96
;EV_DoFloor+992
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+1008
	ldwz %r1,%r8,0
	addiws.l %r1,%r1,1572864
;EV_DoFloor+1024
	stw %r1,%r7,52
	lddz %r1,%r9,56
	ldhz %r7,%r1,8
;EV_DoFloor+1040
	sth %r7,%r8,8
	ldhz %r1,%r1,14
	sth %r1,%r8,14
;EV_DoFloor+1056
	mov %r1,%r5
	jmp EV_DoFloor+96
	nop 0
;EV_DoFloor+1072
	lddz %r8,%r7,32
	jmp EV_DoFloor+1120
	nop 0
;EV_DoFloor+1088
	mov %r1,%r5
	jmp EV_DoFloor+96
	nop 0
;EV_DoFloor+1104
	mov %r19,%r18
	nop 0
	nop 0
;EV_DoFloor+1120
	ldwz %r1,%r8,0
	addws %r1,%r1,%r19
	nop 0
;EV_DoFloor+1136
	stw %r1,%r7,52
	mov %r1,%r5
	jmp EV_DoFloor+96
;EV_DoFloor+1152
	ldhz %r1,%r8,8
	sth %r1,%r7,48
	ldhs %r1,%r8,14
;EV_DoFloor+1168
	stw %r1,%r7,44
	mov %r1,%r5
	jmp EV_DoFloor+96
;EV_DoFloor+1184
	retf 0
	nop 0
	nop 0
;EV_BuildStairs
	alloc 25
	mov2 %r6,%r1,%r1,%gz
	mov2 %r7,%r9,%gz,%gz
;EV_BuildStairs+16
	ldi %r5,-1
	ldi %r3,64
	ldi %r4,6
;EV_BuildStairs+32
	ldar %r8,T_MoveFloor
	ldi %r10,1
	ldi %r11,262144
;EV_BuildStairs+48
	ldi %r12,1048576
	ldi %r13,16384
	ldi %r14,524288
;EV_BuildStairs+64
	mov2 %r23,%r24,%r6,%r5
	callr %r22,P_FindSectorFromLineTag
	bwlt %r23,%gz,EV_BuildStairs+464
;EV_BuildStairs+80
	mov %r5,%r23
	lddzr %r16,sectors
	ldax.xuw %r15,%r16,%r23,7,0
;EV_BuildStairs+96
	lddzx.xuw %r16,%r16,%r23,7,104
	bdne %r16,%gz,EV_BuildStairs+64
	mov2 %r22,%r23,%r3,%r4
;EV_BuildStairs+112
	mov %r24,%gz
	callr %r21,Z_Malloc
	mov %r24,%r22
;EV_BuildStairs+128
	callr %r23,P_AddThinker
	std %r22,%r15,104
	std %r8,%r22,16
;EV_BuildStairs+144
	stw %r10,%r22,40
	std %r15,%r22,32
	bweqi %r2,1,EV_BuildStairs+176
;EV_BuildStairs+160
	bwne %r2,%gz,EV_BuildStairs+192
	mov2 %r7,%r9,%r14,%r13
	jmp EV_BuildStairs+192
;EV_BuildStairs+176
	mov2 %r7,%r9,%r12,%r11
	nop 0
	nop 0
;EV_BuildStairs+192
	stw %r9,%r22,56
	ldwz %r1,%r15,0
	addws %r16,%r1,%r7
;EV_BuildStairs+208
	stw %r16,%r22,52
	ldwz %r19,%r15,112
	mov %r1,%r10
;EV_BuildStairs+224
	bwlti %r19,1,EV_BuildStairs+64
	ldhz %r1,%r15,8
	andi %r17,%r1,65535
;EV_BuildStairs+240
	lddz %r18,%r15,120
	lddzr %r1,sectors
	srliw %r19,%r19,0
;EV_BuildStairs+256
	jmp EV_BuildStairs+288
	nop 0
	nop 0
;EV_BuildStairs+272
	addi %r19,%r19,-1
	addi %r18,%r18,8
	bdeq %r19,%gz,EV_BuildStairs+448
;EV_BuildStairs+288
	lddz %r15,%r18,0
	ldbz %r20,%r15,24
	bbci %r20,2,EV_BuildStairs+272
;EV_BuildStairs+304
	lddz %r20,%r15,56
	sub %r20,%r20,%r1
	srli %r20,%r20,7
;EV_BuildStairs+320
	bwne %r5,%r20,EV_BuildStairs+272
	lddz %r15,%r15,64
	ldhz %r20,%r15,8
;EV_BuildStairs+336
	bwne %r20,%r17,EV_BuildStairs+272
	lddz %r20,%r15,104
	addws %r16,%r16,%r7
;EV_BuildStairs+352
	bdne %r20,%gz,EV_BuildStairs+272
	sub %r1,%r15,%r1
	srli %r5,%r1,7
;EV_BuildStairs+368
	mov2 %r22,%r23,%r3,%r4
	mov %r24,%gz
	callr %r21,Z_Malloc
;EV_BuildStairs+384
	mov %r24,%r22
	callr %r23,P_AddThinker
	std %r22,%r15,104
;EV_BuildStairs+400
	std %r8,%r22,16
	stw %r10,%r22,40
	std %r15,%r22,32
;EV_BuildStairs+416
	stw %r9,%r22,56
	stw %r16,%r22,52
	ldwz %r19,%r15,112
;EV_BuildStairs+432
	bwlt %gz,%r19,EV_BuildStairs+240
	mov %r1,%r10
	jmp EV_BuildStairs+64
;EV_BuildStairs+448
	mov %r1,%r10
	jmp EV_BuildStairs+64
	nop 0
;EV_BuildStairs+464
	retf 0
	nop 0
	nop 0
;P_GiveAmmo
	allocsp 12,16
	bwnei %r2,5,P_GiveAmmo+32
	mov %r1,%gz
;P_GiveAmmo+16
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+32
	bwltui %r2,5,P_GiveAmmo+64
	ldafr %r11,.rodata+5193
	stw %r2,%sp,0
;P_GiveAmmo+48
	callr %r10,I_Error
	nop 0
	nop 0
;P_GiveAmmo+64
	ldax.xuw %r7,%r1,%r2,2,168
	ldwzx.xuw %r6,%r1,%r2,2,168
	ldwzx.xuw %r8,%r1,%r2,2,184
;P_GiveAmmo+80
	bwne %r6,%r8,P_GiveAmmo+96
	mov %r1,%gz
	retf 16
;P_GiveAmmo+96
	srliw %r5,%r2,0
	ldafr %r4,clipammo
	ldwzx.xd %r9,%r4,%r5,2,0
;P_GiveAmmo+112
	mov %r4,%r1
	bweq %r3,%gz,P_GiveAmmo+144
	mulws %r1,%r9,%r3
;P_GiveAmmo+128
	jmp P_GiveAmmo+160
	nop 0
	nop 0
;P_GiveAmmo+144
	srliw %r1,%r9,31
	addws %r1,%r9,%r1
	sraiw %r1,%r1,1
;P_GiveAmmo+160
	ldwzr %r3,gameskill
	andi %r3,%r3,-5
	cmpweqi %r3,%r3,0
;P_GiveAmmo+176
	sllw %r1,%r1,%r3
	addws %r1,%r1,%r6
	minsw %r1,%r1,%r8
;P_GiveAmmo+192
	stw %r1,%r7,0
	ldi %r1,1
	bweq %r6,%gz,P_GiveAmmo+224
;P_GiveAmmo+208
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+224
	bwgeui %r2,4,P_GiveAmmo+208
	ldafr %r2,.rodata+35684
	jmpt %r2,%r5
;P_GiveAmmo+240
	ldwz %r2,%r4,124
	bwne %r2,%gz,P_GiveAmmo+208
	ldwz %r2,%r4,144
;P_GiveAmmo+256
	bweq %r2,%gz,P_GiveAmmo+432
	ldi %r2,3
	stw %r2,%r4,128
;P_GiveAmmo+272
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+288
	ldwz %r2,%r4,124
	bwgeui %r2,2,P_GiveAmmo+208
	ldwz %r2,%r4,152
;P_GiveAmmo+304
	bweq %r2,%gz,P_GiveAmmo+208
	ldi %r2,5
	stw %r2,%r4,128
;P_GiveAmmo+320
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+336
	ldwz %r2,%r4,124
	bwne %r2,%gz,P_GiveAmmo+208
	ldwz %r2,%r4,148
;P_GiveAmmo+352
	bweq %r2,%gz,P_GiveAmmo+208
	ldi %r2,4
	stw %r2,%r4,128
;P_GiveAmmo+368
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+384
	ldwz %r2,%r4,124
	bwgeui %r2,2,P_GiveAmmo+208
	ldwz %r2,%r4,140
;P_GiveAmmo+400
	bweq %r2,%gz,P_GiveAmmo+208
	ldi %r2,2
	stw %r2,%r4,128
;P_GiveAmmo+416
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+432
	stw %r1,%r4,128
	retf 16
	nop 0
;P_GiveWeapon
	alloc 12
	bwne %r3,%gz,P_GiveWeapon+64
	ldwzr %r4,netgame
;P_GiveWeapon+16
	bweq %r4,%gz,P_GiveWeapon+64
	ldwzr %r4,deathmatch
	bweqi %r4,2,P_GiveWeapon+64
;P_GiveWeapon+32
	ldax.xuw %r3,%r1,%r2,2,132
	ldwzx.xuw %r4,%r1,%r2,2,132
	bweq %r4,%gz,P_GiveWeapon+160
;P_GiveWeapon+48
	mov %r1,%gz
	retf 0
	nop 0
;P_GiveWeapon+64
	srliw %r5,%r2,0
	muli %r4,%r5,24
	ldafr %r6,weaponinfo
;P_GiveWeapon+80
	ldwzx.xd %r10,%r4,%r6,0,0
	mov %r4,%gz
	bweqi %r10,5,P_GiveWeapon+128
;P_GiveWeapon+96
	ldi %r4,1
	ldi %r6,2
	cmovweq %r11,%r3,%r6,%r4
;P_GiveWeapon+112
	mov %r9,%r1
	callr %r8,P_GiveAmmo
	cmpwnei %r4,%r9,0
;P_GiveWeapon+128
	ldax.xd %r3,%r1,%r5,2,132
	ldwzx.xd %r5,%r1,%r5,2,132
	bweq %r5,%gz,P_GiveWeapon+288
;P_GiveWeapon+144
	mov %r1,%r4
	retf 0
	nop 0
;P_GiveWeapon+160
	ldwz %r4,%r1,244
	addiws %r4,%r4,6
	stw %r4,%r1,244
;P_GiveWeapon+176
	ldi %r4,1
	stw %r4,%r3,0
	ldwzr %r3,deathmatch
;P_GiveWeapon+192
	srliw %r4,%r2,0
	muli %r4,%r4,24
	ldafr %r5,weaponinfo
;P_GiveWeapon+208
	ldi %r6,5
	ldi %r7,2
	ldwzx.xd %r10,%r4,%r5,0,0
;P_GiveWeapon+224
	cmovweq %r11,%r3,%r7,%r6
	mov %r9,%r1
	callr %r8,P_GiveAmmo
;P_GiveWeapon+240
	stw %r2,%r1,128
	ldwsr %r2,consoleplayer
	ldafr %r3,players
;P_GiveWeapon+256
	ldi %r4,328
	muladd %r2,%r2,%r4,%r3
	bdeq %r1,%r2,P_GiveWeapon+320
;P_GiveWeapon+272
	mov %r1,%gz
	retf 0
	nop 0
;P_GiveWeapon+288
	ldi %r4,1
	stw %r4,%r3,0
	stw %r2,%r1,128
;P_GiveWeapon+304
	mov %r1,%r4
	retf 0
	nop 0
;P_GiveWeapon+320
	ldi %r11,33
	mov %r10,%gz
	callr %r9,S_StartSound
;P_GiveWeapon+336
	mov %r1,%gz
	retf 0
	nop 0
;P_GiveBody
	alloc 5
	ldwz %r4,%r1,44
	mov %r3,%gz
;P_GiveBody+16
	bwgei %r4,100,P_GiveBody+64
	addws %r2,%r4,%r2
	ldi %r3,100
;P_GiveBody+32
	minsw %r2,%r2,%r3
	stw %r2,%r1,44
	lddz %r1,%r1,0
;P_GiveBody+48
	stw %r2,%r1,164
	ldi %r3,1
	nop 0
;P_GiveBody+64
	mov %r1,%r3
	retf 0
	nop 0
;P_GiveArmor
	alloc 6
	ldwz %r5,%r1,48
	mulwsi %r4,%r2,100
;P_GiveArmor+16
	mov %r3,%gz
	bwle %r4,%r5,P_GiveArmor+48
	stw %r2,%r1,52
;P_GiveArmor+32
	stw %r4,%r1,48
	ldi %r3,1
	nop 0
;P_GiveArmor+48
	mov %r1,%r3
	retf 0
	nop 0
;P_GiveCard
	alloc 4
	ldax.xuw %r3,%r1,%r2,2,80
	ldwzx.xuw %r2,%r1,%r2,2,80
;P_GiveCard+16
	bweq %r2,%gz,P_GiveCard+32
	retf 0
	nop 0
;P_GiveCard+32
	ldi %r2,6
	stw %r2,%r1,244
	ldi %r1,1
;P_GiveCard+48
	stw %r1,%r3,0
	retf 0
	nop 0
;P_GivePower
	alloc 5
	bwgeui %r2,6,P_GivePower+64
	srliw %r3,%r2,0
;P_GivePower+16
	ldafr %r4,.rodata+35700
	jmpt %r4,%r3
	nop 0
;P_GivePower+32
	ldi %r2,1050
	stw %r2,%r1,56
	ldi %r1,1
;P_GivePower+48
	retf 0
	nop 0
	nop 0
;P_GivePower+64
	ldax.xw %r3,%r1,%r2,2,56
	ldwzx.xw %r2,%r1,%r2,2,56
	mov %r1,%gz
;P_GivePower+80
	bweq %r2,%gz,P_GivePower+288
	retf 0
	nop 0
;P_GivePower+96
	ldi %r2,2100
	stw %r2,%r1,64
	lddz %r1,%r1,0
;P_GivePower+112
	ldwz %r2,%r1,160
	ori %r2,%r2,262144
	stw %r2,%r1,160
;P_GivePower+128
	ldi %r1,1
	retf 0
	nop 0
;P_GivePower+144
	ldwz %r2,%r1,44
	bwgei %r2,100,P_GivePower+192
	minsw %r2,%r2,%gz
;P_GivePower+160
	addiws %r2,%r2,100
	stw %r2,%r1,44
	lddz %r3,%r1,0
;P_GivePower+176
	stw %r2,%r3,164
	nop 0
	nop 0
;P_GivePower+192
	ldi %r2,1
	stw %r2,%r1,60
	mov %r1,%r2
;P_GivePower+208
	retf 0
	nop 0
	nop 0
;P_GivePower+224
	ldi %r2,2100
	stw %r2,%r1,68
	ldi %r1,1
;P_GivePower+240
	retf 0
	nop 0
	nop 0
;P_GivePower+256
	ldi %r2,4200
	stw %r2,%r1,76
	ldi %r1,1
;P_GivePower+272
	retf 0
	nop 0
	nop 0
;P_GivePower+288
	ldi %r1,1
	stw %r1,%r3,0
	retf 0
;P_TouchSpecialThing
	alloc 11
	ldwz %r3,%r1,32
	ldwz %r4,%r2,32
;P_TouchSpecialThing+16
	ldwz %r5,%r2,108
	subws %r3,%r3,%r4
	bwlt %r5,%r3,P_TouchSpecialThing+2112
;P_TouchSpecialThing+32
	bwlti.l %r3,-524288,P_TouchSpecialThing+2112
	ldwz %r3,%r2,164
;P_TouchSpecialThing+48
	bwlti %r3,1,P_TouchSpecialThing+2112
	ldwz %r3,%r1,60
	addiws %r4,%r3,-55
;P_TouchSpecialThing+64
	lddz %r2,%r2,192
	bwgeui %r4,39,P_TouchSpecialThing+1904
	addiwz %r3,%r3,-55
;P_TouchSpecialThing+80
	ldafr %r4,.rodata+35724
	jmpt %r4,%r3
	nop 0
;P_TouchSpecialThing+96
	ldwz %r3,%r2,48
	bwgei %r3,100,P_TouchSpecialThing+2112
	nop 2
;P_TouchSpecialThing+112
	ldi.l %r3,4294967396
	std %r3,%r2,48
;P_TouchSpecialThing+128
	ldafr %r3,.rodata+28676
	jmp P_TouchSpecialThing+1984
	nop 0
;P_TouchSpecialThing+144
	ldwz %r3,%r2,72
	bwne %r3,%gz,P_TouchSpecialThing+2112
	ldi %r3,1
;P_TouchSpecialThing+160
	stw %r3,%r2,72
	ldafr %r3,.rodata+15444
	jmp P_TouchSpecialThing+1680
;P_TouchSpecialThing+176
	ldi %r10,5
	mov2 %r8,%r9,%r2,%gz
	callr %r7,P_GiveAmmo
;P_TouchSpecialThing+192
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+6497
	jmp P_TouchSpecialThing+1984
;P_TouchSpecialThing+208
	ldi %r3,1050
	stw %r3,%r2,56
	ldafr %r3,.rodata+1781
;P_TouchSpecialThing+224
	jmp P_TouchSpecialThing+1680
	nop 0
	nop 0
;P_TouchSpecialThing+240
	ldi %r9,2
	ldi %r10,5
	mov %r8,%r2
;P_TouchSpecialThing+256
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+6525
;P_TouchSpecialThing+272
	jmp P_TouchSpecialThing+1984
	nop 0
	nop 0
;P_TouchSpecialThing+288
	ldi %r9,3
	ldi %r10,5
	mov %r8,%r2
;P_TouchSpecialThing+304
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+1029
;P_TouchSpecialThing+320
	jmp P_TouchSpecialThing+1984
	nop 0
	nop 0
;P_TouchSpecialThing+336
	ldwz %r3,%r2,44
	bwgei %r3,100,P_TouchSpecialThing+2112
	ldi %r4,90
;P_TouchSpecialThing+352
	minsw %r3,%r3,%r4
	addiws %r3,%r3,10
	stw %r3,%r2,44
;P_TouchSpecialThing+368
	lddz %r4,%r2,0
	stw %r3,%r4,164
	ldafr %r3,.rodata+17642
;P_TouchSpecialThing+384
	jmp P_TouchSpecialThing+1984
	nop 0
	nop 0
;P_TouchSpecialThing+400
	ldi %r9,5
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_GiveWeapon
;P_TouchSpecialThing+416
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+27620
	jmp P_TouchSpecialThing+1888
;P_TouchSpecialThing+432
	ldwz %r3,%r2,104
	bwne %r3,%gz,P_TouchSpecialThing+496
	mov %r4,%gz
;P_TouchSpecialThing+448
	ldi %r3,1
	addi %r5,%r2,184
	nop 0
;P_TouchSpecialThing+464
	ldwzx.xd %r6,%r5,%r4,0,0
	slliw %r6,%r6,1
	stwx.xd %r6,%r5,%r4,0,0
;P_TouchSpecialThing+480
	addi %r4,%r4,4
	bdnei %r4,16,P_TouchSpecialThing+464
	stw %r3,%r2,104
;P_TouchSpecialThing+496
	mov %r5,%gz
	ldi %r3,1
	nop 0
;P_TouchSpecialThing+512
	mov2 %r4,%r8,%r5,%r2
	mov2 %r9,%r10,%r5,%r3
	callr %r7,P_GiveAmmo
;P_TouchSpecialThing+528
	addiws %r5,%r5,1
	bwltui %r4,3,P_TouchSpecialThing+512
	ldafr %r3,.rodata+7261
;P_TouchSpecialThing+544
	jmp P_TouchSpecialThing+1984
	nop 0
	nop 0
;P_TouchSpecialThing+560
	ldi %r9,3
	ldi %r10,1
	mov %r8,%r2
;P_TouchSpecialThing+576
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+11854
;P_TouchSpecialThing+592
	jmp P_TouchSpecialThing+1984
	nop 0
	nop 0
;P_TouchSpecialThing+608
	ldwz %r3,%r2,44
	ldi %r4,100
	minsw %r3,%r3,%r4
;P_TouchSpecialThing+624
	addiws %r3,%r3,100
	stw %r3,%r2,44
	lddz %r4,%r2,0
;P_TouchSpecialThing+640
	stw %r3,%r4,164
	ldafr %r3,.rodata+14481
	jmp P_TouchSpecialThing+1680
;P_TouchSpecialThing+656
	ldi %r3,4200
	stw %r3,%r2,76
	ldafr %r3,.rodata+21182
;P_TouchSpecialThing+672
	jmp P_TouchSpecialThing+1680
	nop 0
	nop 0
;P_TouchSpecialThing+688
	ldwz %r3,%r2,44
	ldi %r4,199
	minsw %r3,%r3,%r4
;P_TouchSpecialThing+704
	addiws %r3,%r3,1
	stw %r3,%r2,44
	lddz %r4,%r2,0
;P_TouchSpecialThing+720
	stw %r3,%r4,164
	ldafr %r3,.rodata+27158
	jmp P_TouchSpecialThing+1984
;P_TouchSpecialThing+736
	ldi %r9,6
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_GiveWeapon
;P_TouchSpecialThing+752
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+17664
	jmp P_TouchSpecialThing+1888
;P_TouchSpecialThing+768
	ldi %r9,7
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_GiveWeapon
;P_TouchSpecialThing+784
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+4156
	jmp P_TouchSpecialThing+1888
;P_TouchSpecialThing+800
	ldwz %r3,%r2,88
	bwne %r3,%gz,P_TouchSpecialThing+1504
	ldafr %r3,.rodata+1004
;P_TouchSpecialThing+816
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+832
	ldi %r3,1
	stw %r3,%r2,88
	jmp P_TouchSpecialThing+1504
;P_TouchSpecialThing+848
	ldwz %r3,%r2,44
	bwgei %r3,100,P_TouchSpecialThing+2112
	ldi %r4,75
;P_TouchSpecialThing+864
	minsw %r4,%r3,%r4
	addiws %r4,%r4,25
	stw %r4,%r2,44
;P_TouchSpecialThing+880
	lddz %r5,%r2,0
	stw %r4,%r5,164
	bwlti %r3,0,P_TouchSpecialThing+1968
;P_TouchSpecialThing+896
	ldafr %r3,.rodata+10950
	jmp P_TouchSpecialThing+1984
	nop 0
;P_TouchSpecialThing+912
	ldi %r9,2
	ldi %r10,1
	mov %r8,%r2
;P_TouchSpecialThing+928
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+13916
;P_TouchSpecialThing+944
	jmp P_TouchSpecialThing+1984
	nop 0
	nop 0
;P_TouchSpecialThing+960
	ldwz %r3,%r2,48
	bwgei %r3,200,P_TouchSpecialThing+2112
	nop 2
;P_TouchSpecialThing+976
	ldi.l %r3,8589934792
	std %r3,%r2,48
;P_TouchSpecialThing+992
	ldafr %r3,.rodata+10925
	jmp P_TouchSpecialThing+1984
	nop 0
;P_TouchSpecialThing+1008
	ldwz %r3,%r2,84
	bwne %r3,%gz,P_TouchSpecialThing+1504
	ldafr %r3,.rodata+28697
;P_TouchSpecialThing+1024
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1040
	ldi %r3,1
	stw %r3,%r2,84
	jmp P_TouchSpecialThing+1504
;P_TouchSpecialThing+1056
	ldwz %r3,%r2,92
	bwne %r3,%gz,P_TouchSpecialThing+1504
	ldafr %r3,.rodata+19188
;P_TouchSpecialThing+1072
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1088
	ldi %r3,1
	stw %r3,%r2,92
	jmp P_TouchSpecialThing+1504
;P_TouchSpecialThing+1104
	ldwz %r3,%r2,44
	bwgei %r3,100,P_TouchSpecialThing+1152
	minsw %r3,%r3,%gz
;P_TouchSpecialThing+1120
	addiws %r3,%r3,100
	stw %r3,%r2,44
	lddz %r4,%r2,0
;P_TouchSpecialThing+1136
	stw %r3,%r4,164
	nop 0
	nop 0
;P_TouchSpecialThing+1152
	ldi %r3,1
	stw %r3,%r2,60
	ldafr %r3,.rodata+19216
;P_TouchSpecialThing+1168
	std %r3,%r2,232
	ldwz %r4,%r2,124
	ldi %r3,93
;P_TouchSpecialThing+1184
	bweq %r4,%gz,P_TouchSpecialThing+2016
	stw %gz,%r2,128
	jmp P_TouchSpecialThing+2016
;P_TouchSpecialThing+1200
	ldi %r3,2100
	stw %r3,%r2,64
	lddz %r3,%r2,0
;P_TouchSpecialThing+1216
	ldwz %r4,%r3,160
	ori %r4,%r4,262144
	stw %r4,%r3,160
;P_TouchSpecialThing+1232
	ldafr %r3,.rodata+12543
	jmp P_TouchSpecialThing+1680
	nop 0
;P_TouchSpecialThing+1248
	ldwz %r3,%r1,160
	slsrli %r10,%r3,46,63
	ldi %r9,3
;P_TouchSpecialThing+1264
	mov %r8,%r2
	callr %r7,P_GiveWeapon
	bweq %r8,%gz,P_TouchSpecialThing+2112
;P_TouchSpecialThing+1280
	ldafr %r3,.rodata+27214
	jmp P_TouchSpecialThing+1888
	nop 0
;P_TouchSpecialThing+1296
	ldwz %r3,%r2,48
	ldi %r4,199
	minsw %r3,%r3,%r4
;P_TouchSpecialThing+1312
	addiws %r3,%r3,1
	stw %r3,%r2,48
	ldwz %r3,%r2,52
;P_TouchSpecialThing+1328
	bwne %r3,%gz,P_TouchSpecialThing+1344
	ldi %r3,1
	stw %r3,%r2,52
;P_TouchSpecialThing+1344
	ldafr %r3,.rodata+5217
	jmp P_TouchSpecialThing+1984
	nop 0
;P_TouchSpecialThing+1360
	ldwz %r3,%r2,80
	bwne %r3,%gz,P_TouchSpecialThing+1504
	ldafr %r3,.rodata+9294
;P_TouchSpecialThing+1376
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1392
	ldi %r3,1
	stw %r3,%r2,80
	jmp P_TouchSpecialThing+1504
;P_TouchSpecialThing+1408
	ldwz %r3,%r2,96
	bwne %r3,%gz,P_TouchSpecialThing+1504
	ldafr %r3,.rodata+27184
;P_TouchSpecialThing+1424
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1440
	ldi %r3,1
	stw %r3,%r2,96
	jmp P_TouchSpecialThing+1504
;P_TouchSpecialThing+1456
	ldwz %r3,%r2,100
	bwne %r3,%gz,P_TouchSpecialThing+1504
	ldafr %r3,.rodata+12516
;P_TouchSpecialThing+1472
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1488
	ldi %r3,1
	stw %r3,%r2,100
	nop 0
;P_TouchSpecialThing+1504
	ldwzr %r3,netgame
	bwne %r3,%gz,P_TouchSpecialThing+2112
	jmp P_TouchSpecialThing+2000
;P_TouchSpecialThing+1520
	ldi %r3,2100
	stw %r3,%r2,68
	ldafr %r3,.rodata+13891
;P_TouchSpecialThing+1536
	jmp P_TouchSpecialThing+1680
	nop 0
	nop 0
;P_TouchSpecialThing+1552
	ldwz %r3,%r1,160
	slsrli %r10,%r3,46,63
	ldi %r9,2
;P_TouchSpecialThing+1568
	mov %r8,%r2
	callr %r7,P_GiveWeapon
	bweq %r8,%gz,P_TouchSpecialThing+2112
;P_TouchSpecialThing+1584
	ldafr %r3,.rodata+12564
	jmp P_TouchSpecialThing+1888
	nop 0
;P_TouchSpecialThing+1600
	ldwzr %r3,gamemode
	bwnei %r3,2,P_TouchSpecialThing+2112
	ldi %r3,200
;P_TouchSpecialThing+1616
	stw %r3,%r2,44
	lddz %r4,%r2,0
	stw %r3,%r4,164
;P_TouchSpecialThing+1632
	ldwz %r3,%r2,48
	bwgei %r3,200,P_TouchSpecialThing+1664
	nop 2
;P_TouchSpecialThing+1648
	ldi.l %r3,8589934792
	std %r3,%r2,48
;P_TouchSpecialThing+1664
	ldafr %r3,.rodata+7249
	nop 0
	nop 0
;P_TouchSpecialThing+1680
	std %r3,%r2,232
	ldi %r3,93
	jmp P_TouchSpecialThing+2016
;P_TouchSpecialThing+1696
	ldbz %r3,%r1,162
	bbsi %r3,1,P_TouchSpecialThing+1920
	ldi %r10,1
;P_TouchSpecialThing+1712
	mov2 %r8,%r9,%r2,%gz
	jmp P_TouchSpecialThing+1936
	nop 0
;P_TouchSpecialThing+1728
	ldi %r9,1
	ldi %r10,5
	mov %r8,%r2
;P_TouchSpecialThing+1744
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+19225
;P_TouchSpecialThing+1760
	jmp P_TouchSpecialThing+1984
	nop 0
	nop 0
;P_TouchSpecialThing+1776
	ldi %r9,1
	mov2 %r8,%r10,%r2,%r9
	callr %r7,P_GiveAmmo
;P_TouchSpecialThing+1792
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+22072
	jmp P_TouchSpecialThing+1984
;P_TouchSpecialThing+1808
	ldwz %r3,%r1,160
	slsrli %r10,%r3,46,63
	ldi %r9,8
;P_TouchSpecialThing+1824
	mov %r8,%r2
	callr %r7,P_GiveWeapon
	bweq %r8,%gz,P_TouchSpecialThing+2112
;P_TouchSpecialThing+1840
	ldafr %r3,.rodata+27236
	jmp P_TouchSpecialThing+1888
	nop 0
;P_TouchSpecialThing+1856
	ldi %r9,4
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_GiveWeapon
;P_TouchSpecialThing+1872
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+25752
	nop 0
;P_TouchSpecialThing+1888
	std %r3,%r2,232
	ldi %r3,33
	jmp P_TouchSpecialThing+2016
;P_TouchSpecialThing+1904
	ldafr %r10,.rodata+27644
	callr %r9,I_Error
	jmp P_TouchSpecialThing+2000
;P_TouchSpecialThing+1920
	mov2 %r8,%r9,%r2,%gz
	mov %r10,%gz
	nop 0
;P_TouchSpecialThing+1936
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2112
	ldafr %r3,.rodata+22054
;P_TouchSpecialThing+1952
	jmp P_TouchSpecialThing+1984
	nop 0
	nop 0
;P_TouchSpecialThing+1968
	ldafr %r3,.rodata+16794
	nop 0
	nop 0
;P_TouchSpecialThing+1984
	std %r3,%r2,232
	nop 0
	nop 0
;P_TouchSpecialThing+2000
	ldi %r3,32
	nop 0
	nop 0
;P_TouchSpecialThing+2016
	ldbz %r4,%r1,162
	bbci %r4,7,P_TouchSpecialThing+2048
	ldwz %r4,%r2,220
;P_TouchSpecialThing+2032
	addiws %r4,%r4,1
	stw %r4,%r2,220
	nop 0
;P_TouchSpecialThing+2048
	mov %r10,%r1
	callr %r9,P_RemoveMobj
	ldwz %r1,%r2,244
;P_TouchSpecialThing+2064
	addiws %r1,%r1,6
	stw %r1,%r2,244
	ldwsr %r1,consoleplayer
;P_TouchSpecialThing+2080
	ldafr %r4,players
	ldi %r5,328
	muladd %r1,%r1,%r5,%r4
;P_TouchSpecialThing+2096
	bdeq %r2,%r1,P_TouchSpecialThing+2128
	nop 0
	nop 0
;P_TouchSpecialThing+2112
	retf 0
	nop 0
	nop 0
;P_TouchSpecialThing+2128
	mov2 %r9,%r10,%gz,%r3
	callr %r8,S_StartSound
	retf 0
;P_KillMobj
	alloc 12
	ldwz %r4,%r2,128
	ldwz %r3,%r2,160
;P_KillMobj+16
	cmpweqi %r4,%r4,18
	ldi %r5,-17843717
	ldi %r6,-17843205
;P_KillMobj+32
	cmovlsb %r4,%r4,%r6,%r5
	and %r4,%r3,%r4
	nop 2
;P_KillMobj+48
	ori.l %r4,%r4,1049600
	stw %r4,%r2,160
;P_KillMobj+64
	ldwz %r4,%r2,108
	sraiw %r4,%r4,2
	stw %r4,%r2,108
;P_KillMobj+80
	bdeq %r1,%gz,P_KillMobj+192
	lddz %r4,%r1,192
	bdeq %r4,%gz,P_KillMobj+192
;P_KillMobj+96
	bbci %r3,22,P_KillMobj+128
	ldwz %r3,%r4,216
	addiws %r3,%r3,1
;P_KillMobj+112
	stw %r3,%r4,216
	nop 0
	nop 0
;P_KillMobj+128
	lddz %r3,%r2,192
	bdeq %r3,%gz,P_KillMobj+240
	ldafr %r5,players
;P_KillMobj+144
	sub %r3,%r3,%r5
	srai %r3,%r3,3
	nop 2
;P_KillMobj+160
	muli.l %r3,%r3,4499205871636476004
	ldwzx.xd %r5,%r4,%r3,0,108
;P_KillMobj+176
	addiws %r5,%r5,1
	stwx.xd %r5,%r4,%r3,0,108
	jmp P_KillMobj+240
;P_KillMobj+192
	ldwzr %r4,netgame
	bwne %r4,%gz,P_KillMobj+240
	nop 2
;P_KillMobj+208
	andi.l %r3,%r3,4194304
	bweq %r3,%gz,P_KillMobj+240
;P_KillMobj+224
	ldwzr %r3,players+216
	addiws %r3,%r3,1
	stwr %r3,players+216
;P_KillMobj+240
	lddz %r11,%r2,192
	ldi %r3,1
	bdeq %r11,%gz,P_KillMobj+384
;P_KillMobj+256
	bdne %r1,%gz,P_KillMobj+304
	ldafr %r1,players
	sub %r1,%r11,%r1
;P_KillMobj+272
	srai %r1,%r1,3
	muli.l %r1,%r1,4499205871636476004
;P_KillMobj+288
	ldwzx.xd %r4,%r11,%r1,0,108
	addiws %r4,%r4,1
	stwx.xd %r4,%r11,%r1,0,108
;P_KillMobj+304
	ldwz %r1,%r2,160
	andi %r1,%r1,-3
	stw %r1,%r2,160
;P_KillMobj+320
	stw %r3,%r11,8
	callr %r10,P_DropWeapon
	ldwsr %r1,consoleplayer
;P_KillMobj+336
	lddz %r4,%r2,192
	ldafr %r5,players
	ldi %r6,328
;P_KillMobj+352
	muladd %r1,%r1,%r6,%r5
	bdne %r4,%r1,P_KillMobj+384
	ldwzr %r1,automapactive
;P_KillMobj+368
	bweq %r1,%gz,P_KillMobj+384
	callr %r11,AM_Stop
	nop 0
;P_KillMobj+384
	lddz %r1,%r2,136
	ldwz %r4,%r1,8
	ldwz %r5,%r2,164
;P_KillMobj+400
	subfiws %r4,%r4,0
	bwle %r4,%r5,P_KillMobj+432
	ldwz %r11,%r1,52
;P_KillMobj+416
	bwne %r11,%gz,P_KillMobj+448
	nop 0
	nop 0
;P_KillMobj+432
	ldwz %r11,%r1,48
	nop 0
	nop 0
;P_KillMobj+448
	mov %r10,%r2
	callr %r9,P_SetMobjState
	callr %r10,P_Random
;P_KillMobj+464
	ldwz %r1,%r2,144
	andi %r4,%r11,3
	subws %r1,%r1,%r4
;P_KillMobj+480
	maxsw %r1,%r1,%r3
	stw %r1,%r2,144
	ldwzr %r1,gameversion
;P_KillMobj+496
	bweqi %r1,9,P_KillMobj+624
	ldwz %r1,%r2,128
	addiws %r3,%r1,-1
;P_KillMobj+512
	bwgeui %r3,23,P_KillMobj+624
	addiwz %r1,%r1,-1
	ldafr %r3,.rodata+35880
;P_KillMobj+528
	ldi %r11,63
	jmpt %r3,%r1
	nop 0
;P_KillMobj+544
	ldi %r11,77
	jmp P_KillMobj+576
	nop 0
;P_KillMobj+560
	ldi %r11,73
	nop 0
	nop 0
;P_KillMobj+576
	ldwz %r8,%r2,24
	ldwz %r9,%r2,28
	nop 2
;P_KillMobj+592
	ldi.l %r10,-2147483648
	callr %r7,P_SpawnMobj
;P_KillMobj+608
	ldwz %r1,%r8,160
	ori %r1,%r1,131072
	stw %r1,%r8,160
;P_KillMobj+624
	retf 0
	nop 0
	nop 0
;P_DamageMobj
	alloc 14
	ldwz %r7,%r1,160
	bbci %r7,2,P_DamageMobj+928
;P_DamageMobj+16
	ldwz %r5,%r1,164
	bwlti %r5,1,P_DamageMobj+928
	bbci %r7,24,P_DamageMobj+48
;P_DamageMobj+32
	stw %gz,%r1,120
	std %gz,%r1,112
	nop 0
;P_DamageMobj+48
	lddz %r6,%r1,192
	ldwzr %r5,gameskill
	cmpdnei %r8,%r6,0
;P_DamageMobj+64
	cmpweqi %r5,%r5,0
	and %r5,%r8,%r5
	sraw %r5,%r4,%r5
;P_DamageMobj+80
	bdeq %r2,%gz,P_DamageMobj+352
	andi %r4,%r7,4096
	bwne %r4,%gz,P_DamageMobj+352
;P_DamageMobj+96
	bdeq %r3,%gz,P_DamageMobj+128
	lddz %r4,%r3,192
	bdeq %r4,%gz,P_DamageMobj+128
;P_DamageMobj+112
	ldwz %r4,%r4,124
	bweqi %r4,7,P_DamageMobj+352
	nop 0
;P_DamageMobj+128
	ldwz %r10,%r2,24
	ldwz %r11,%r2,28
	ldwz %r12,%r1,24
;P_DamageMobj+144
	ldwz %r13,%r1,28
	callr %r9,R_PointToAngle2
	lddz %r4,%r1,136
;P_DamageMobj+160
	ldwz %r4,%r4,72
	mulwsi %r7,%r5,819200
	divw %r4,%r7,%r4
;P_DamageMobj+176
	bwgei %r5,40,P_DamageMobj+256
	ldwz %r7,%r1,164
	bwle %r5,%r7,P_DamageMobj+256
;P_DamageMobj+192
	ldwz %r7,%r1,32
	ldwz %r2,%r2,32
	subws %r2,%r7,%r2
;P_DamageMobj+208
	bwlti.l %r2,4194305,P_DamageMobj+256
	callr %r12,P_Random
;P_DamageMobj+224
	bbci %r13,0,P_DamageMobj+256
	xori.l %r10,%r10,-2147483648
;P_DamageMobj+240
	slliw %r4,%r4,2
	nop 0
	nop 0
;P_DamageMobj+256
	lddzr %r2,finecosine
	srliw %r7,%r10,19
	ldwsx.xuw %r2,%r2,%r7,2,0
;P_DamageMobj+272
	ldwz %r8,%r1,112
	sraiw %r4,%r4,0
	mul %r2,%r2,%r4
;P_DamageMobj+288
	srli %r2,%r2,16
	addws %r2,%r8,%r2
	stw %r2,%r1,112
;P_DamageMobj+304
	ldafr %r2,finesine
	ldwsx.xuw %r2,%r2,%r7,2,0
	ldwz %r7,%r1,116
;P_DamageMobj+320
	mul %r2,%r2,%r4
	srli %r2,%r2,16
	addws %r2,%r7,%r2
;P_DamageMobj+336
	stw %r2,%r1,116
	nop 0
	nop 0
;P_DamageMobj+352
	bdeq %r6,%gz,P_DamageMobj+672
	lddz %r2,%r1,88
	lddz %r2,%r2,0
;P_DamageMobj+368
	ldhz %r2,%r2,14
	bwnei %r2,11,P_DamageMobj+400
	ldwz %r2,%r1,164
;P_DamageMobj+384
	cmpwlt %r4,%r5,%r2
	addiws %r2,%r2,-1
	cmovlsb %r5,%r4,%r5,%r2
;P_DamageMobj+400
	bwgei %r5,1000,P_DamageMobj+432
	ldbz %r2,%r6,208
	bbsi %r2,1,P_DamageMobj+928
;P_DamageMobj+416
	ldwz %r2,%r6,56
	bwne %r2,%gz,P_DamageMobj+928
	nop 0
;P_DamageMobj+432
	ldwz %r2,%r6,52
	bweq %r2,%gz,P_DamageMobj+560
	bwnei %r2,1,P_DamageMobj+496
;P_DamageMobj+448
	sraiw %r2,%r5,0
	muli.l %r2,%r2,1431655766
;P_DamageMobj+464
	srli %r4,%r2,63
	srli %r2,%r2,32
	addws %r2,%r2,%r4
;P_DamageMobj+480
	jmp P_DamageMobj+512
	nop 0
	nop 0
;P_DamageMobj+496
	srliw %r2,%r5,31
	addws %r2,%r5,%r2
	sraiw %r2,%r2,1
;P_DamageMobj+512
	ldwz %r4,%r6,48
	bwlt %r2,%r4,P_DamageMobj+544
	stw %gz,%r6,52
;P_DamageMobj+528
	mov %r2,%r4
	nop 0
	nop 0
;P_DamageMobj+544
	subws %r4,%r4,%r2
	stw %r4,%r6,48
	subws %r5,%r5,%r2
;P_DamageMobj+560
	ldwz %r2,%r6,44
	subws %r2,%r2,%r5
	maxsw %r2,%r2,%gz
;P_DamageMobj+576
	stw %r2,%r6,44
	std %r3,%r6,248
	ldwz %r2,%r6,240
;P_DamageMobj+592
	addws %r4,%r2,%r5
	ldi %r2,100
	minsw %r4,%r4,%r2
;P_DamageMobj+608
	stw %r4,%r6,240
	ldwsr %r4,consoleplayer
	ldafr %r7,players
;P_DamageMobj+624
	ldi %r8,328
	muladd %r4,%r4,%r8,%r7
	bdne %r6,%r4,P_DamageMobj+672
;P_DamageMobj+640
	minsw %r2,%r5,%r2
	ldi %r11,40
	sladdws %r13,%r11,%r2,1
;P_DamageMobj+656
	ldi %r12,10
	callr %r10,I_Tactile
	nop 0
;P_DamageMobj+672
	ldwz %r2,%r1,164
	subws %r2,%r2,%r5
	stw %r2,%r1,164
;P_DamageMobj+688
	bwle %r2,%gz,P_DamageMobj+800
	callr %r12,P_Random
	lddz %r2,%r1,136
;P_DamageMobj+704
	ldwz %r4,%r2,32
	bwle %r4,%r13,P_DamageMobj+752
	ldwz %r4,%r1,160
;P_DamageMobj+720
	bbsi %r4,24,P_DamageMobj+752
	ori %r4,%r4,64
	stw %r4,%r1,160
;P_DamageMobj+736
	ldwz %r13,%r2,28
	mov %r12,%r1
	callr %r11,P_SetMobjState
;P_DamageMobj+752
	stw %gz,%r1,184
	ldwz %r2,%r1,188
	bweq %r2,%gz,P_DamageMobj+816
;P_DamageMobj+768
	bdeq %r3,%r1,P_DamageMobj+928
	bdeq %r3,%gz,P_DamageMobj+928
	ldwz %r2,%r1,128
;P_DamageMobj+784
	bweqi %r2,3,P_DamageMobj+832
	jmp P_DamageMobj+928
	nop 0
;P_DamageMobj+800
	mov2 %r12,%r13,%r3,%r1
	callr %r11,P_KillMobj
	retf 0
;P_DamageMobj+816
	bdeq %r3,%gz,P_DamageMobj+928
	bdeq %r3,%r1,P_DamageMobj+928
	nop 0
;P_DamageMobj+832
	ldwz %r2,%r3,128
	bweqi %r2,3,P_DamageMobj+928
	std %r3,%r1,176
;P_DamageMobj+848
	ldi %r2,100
	stw %r2,%r1,188
	lddz %r2,%r1,136
;P_DamageMobj+864
	ldws %r3,%r2,4
	lddz %r4,%r1,152
	ldafr %r5,states
;P_DamageMobj+880
	ldi %r6,40
	muladd %r3,%r3,%r6,%r5
	bdne %r4,%r3,P_DamageMobj+928
;P_DamageMobj+896
	ldwz %r13,%r2,12
	bweq %r13,%gz,P_DamageMobj+928
	mov %r12,%r1
;P_DamageMobj+912
	callr %r11,P_SetMobjState
	nop 0
	nop 0
;P_DamageMobj+928
	retf 0
	nop 0
	nop 0
;T_FireFlicker
	alloc 8
	ldwz %r2,%r1,32
	addiws %r2,%r2,-1
;T_FireFlicker+16
	stw %r2,%r1,32
	bweq %r2,%gz,T_FireFlicker+32
	retf 0
;T_FireFlicker+32
	callr %r6,P_Random
	lddz %r2,%r1,24
	ldhs %r5,%r2,12
;T_FireFlicker+48
	ldwz %r3,%r1,40
	slliw %r4,%r7,4
	andi %r4,%r4,48
;T_FireFlicker+64
	subws %r5,%r5,%r4
	bwlt %r5,%r3,T_FireFlicker+96
	ldwz %r3,%r1,36
;T_FireFlicker+80
	subws %r3,%r3,%r4
	nop 0
	nop 0
;T_FireFlicker+96
	sth %r3,%r2,12
	ldi %r2,4
	stw %r2,%r1,32
;T_FireFlicker+112
	retf 0
	nop 0
	nop 0
;P_SpawnFireFlicker
	alloc 8
	sth %gz,%r1,14
	ldi %r5,48
;P_SpawnFireFlicker+16
	ldi %r6,6
	mov %r7,%gz
	callr %r4,Z_Malloc
;P_SpawnFireFlicker+32
	mov2 %r2,%r7,%r5,%r5
	callr %r6,P_AddThinker
	ldar %r3,T_FireFlicker
;P_SpawnFireFlicker+48
	std %r3,%r5,16
	std %r1,%r5,24
	ldhs %r7,%r1,12
;P_SpawnFireFlicker+64
	stw %r7,%r5,36
	mov %r6,%r1
	callr %r5,P_FindMinSurroundingLight
;P_SpawnFireFlicker+80
	addiws %r1,%r6,16
	stw %r1,%r2,40
	ldi %r1,4
;P_SpawnFireFlicker+96
	stw %r1,%r2,32
	retf 0
	nop 0
;T_LightFlash
	alloc 7
	ldwz %r2,%r1,32
	addiws %r2,%r2,-1
;T_LightFlash+16
	stw %r2,%r1,32
	bweq %r2,%gz,T_LightFlash+32
	retf 0
;T_LightFlash+32
	lddz %r2,%r1,24
	ldhs %r4,%r2,12
	ldwz %r3,%r1,36
;T_LightFlash+48
	bwne %r3,%r4,T_LightFlash+80
	ldwz %r3,%r1,40
	sth %r3,%r2,12
;T_LightFlash+64
	callr %r5,P_Random
	ldwz %r2,%r1,48
	jmp T_LightFlash+96
;T_LightFlash+80
	sth %r3,%r2,12
	callr %r5,P_Random
	ldwz %r2,%r1,44
;T_LightFlash+96
	and %r2,%r2,%r6
	addiws %r2,%r2,1
	stw %r2,%r1,32
;T_LightFlash+112
	retf 0
	nop 0
	nop 0
;P_SpawnLightFlash
	alloc 8
	sth %gz,%r1,14
	ldi %r5,56
;P_SpawnLightFlash+16
	ldi %r6,6
	mov %r7,%gz
	callr %r4,Z_Malloc
;P_SpawnLightFlash+32
	mov2 %r2,%r7,%r5,%r5
	callr %r6,P_AddThinker
	ldar %r3,T_LightFlash
;P_SpawnLightFlash+48
	std %r3,%r5,16
	std %r1,%r5,24
	ldhs %r7,%r1,12
;P_SpawnLightFlash+64
	stw %r7,%r5,36
	mov %r6,%r1
	callr %r5,P_FindMinSurroundingLight
;P_SpawnLightFlash+80
	stw %r6,%r2,40
	ldi %r1,64
	stw %r1,%r2,44
;P_SpawnLightFlash+96
	ldi %r1,7
	stw %r1,%r2,48
	callr %r6,P_Random
;P_SpawnLightFlash+112
	ldwz %r1,%r2,44
	and %r1,%r1,%r7
	addiws %r1,%r1,1
;P_SpawnLightFlash+128
	stw %r1,%r2,32
	retf 0
	nop 0
;T_StrobeFlash
	alloc 5
	ldwz %r2,%r1,32
	addiws %r2,%r2,-1
;T_StrobeFlash+16
	stw %r2,%r1,32
	bweq %r2,%gz,T_StrobeFlash+32
	retf 0
;T_StrobeFlash+32
	lddz %r2,%r1,24
	ldhs %r4,%r2,12
	ldwz %r3,%r1,36
;T_StrobeFlash+48
	bwne %r3,%r4,T_StrobeFlash+80
	ldwz %r3,%r1,40
	ldi %r4,48
;T_StrobeFlash+64
	jmp T_StrobeFlash+96
	nop 0
	nop 0
;T_StrobeFlash+80
	ldi %r4,44
	nop 0
	nop 0
;T_StrobeFlash+96
	sth %r3,%r2,12
	ldwzx.xd %r2,%r1,%r4,0,0
	stw %r2,%r1,32
;T_StrobeFlash+112
	retf 0
	nop 0
	nop 0
;P_SpawnStrobeFlash
	alloc 9
	ldi %r6,56
	ldi %r7,6
;P_SpawnStrobeFlash+16
	mov %r8,%gz
	callr %r5,Z_Malloc
	mov2 %r4,%r8,%r6,%r6
;P_SpawnStrobeFlash+32
	callr %r7,P_AddThinker
	std %r1,%r6,24
	stw %r2,%r6,44
;P_SpawnStrobeFlash+48
	ldi %r2,5
	stw %r2,%r6,48
	ldar %r2,T_StrobeFlash
;P_SpawnStrobeFlash+64
	std %r2,%r6,16
	ldhs %r8,%r1,12
	stw %r8,%r6,40
;P_SpawnStrobeFlash+80
	mov %r7,%r1
	callr %r6,P_FindMinSurroundingLight
	ldwz %r2,%r4,40
;P_SpawnStrobeFlash+96
	cmpweq %r2,%r7,%r2
	cmovlsb %r2,%r2,%gz,%r7
	stw %r2,%r4,36
;P_SpawnStrobeFlash+112
	sth %gz,%r1,14
	bweq %r3,%gz,P_SpawnStrobeFlash+144
	ldi %r1,1
;P_SpawnStrobeFlash+128
	stw %r1,%r4,32
	retf 0
	nop 0
;P_SpawnStrobeFlash+144
	callr %r7,P_Random
	andi %r1,%r8,7
	addiws %r1,%r1,1
;P_SpawnStrobeFlash+160
	stw %r1,%r4,32
	retf 0
	nop 0
;EV_StartLightStrobing
	alloc 9
	ldi %r8,-1
	mov %r7,%r1
;EV_StartLightStrobing+16
	callr %r6,P_FindSectorFromLineTag
	bwlt %r7,%gz,EV_StartLightStrobing+128
	mov %r3,%r7
;EV_StartLightStrobing+32
	ldi %r2,35
	jmp EV_StartLightStrobing+80
	nop 0
;EV_StartLightStrobing+48
	mov2 %r7,%r8,%r1,%r3
	callr %r6,P_FindSectorFromLineTag
	mov %r3,%r7
;EV_StartLightStrobing+64
	bwlti %r7,0,EV_StartLightStrobing+128
	nop 0
	nop 0
;EV_StartLightStrobing+80
	lddzr %r4,sectors
	ldax.xuw %r6,%r4,%r3,7,0
	lddzx.xuw %r4,%r4,%r3,7,104
;EV_StartLightStrobing+96
	bdne %r4,%gz,EV_StartLightStrobing+48
	mov2 %r7,%r8,%r2,%gz
	callr %r5,P_SpawnStrobeFlash
;EV_StartLightStrobing+112
	jmp EV_StartLightStrobing+48
	nop 0
	nop 0
;EV_StartLightStrobing+128
	retf 0
	nop 0
	nop 0
;EV_TurnTagLightsOff
	alloc 11
	ldwzr %r3,numsectors
	bwlti %r3,1,EV_TurnTagLightsOff+208
;EV_TurnTagLightsOff+16
	mov %r4,%gz
	lddzr %r2,sectors
	jmp EV_TurnTagLightsOff+80
;EV_TurnTagLightsOff+32
	ldwzr %r3,numsectors
	nop 0
	nop 0
;EV_TurnTagLightsOff+48
	sth %r5,%r2,12
	nop 0
	nop 0
;EV_TurnTagLightsOff+64
	addiws %r4,%r4,1
	addi %r2,%r2,128
	bwle %r3,%r4,EV_TurnTagLightsOff+208
;EV_TurnTagLightsOff+80
	ldhz %r5,%r2,16
	ldhz %r6,%r1,28
	bwne %r5,%r6,EV_TurnTagLightsOff+64
;EV_TurnTagLightsOff+96
	ldwz %r6,%r2,112
	ldhs %r5,%r2,12
	bwlti %r6,1,EV_TurnTagLightsOff+48
;EV_TurnTagLightsOff+112
	mov2 %r6,%r7,%gz,%gz
	jmp EV_TurnTagLightsOff+160
	nop 0
;EV_TurnTagLightsOff+128
	ldws %r3,%r2,112
	addi %r7,%r7,1
	addi %r6,%r6,8
;EV_TurnTagLightsOff+144
	bdle %r3,%r7,EV_TurnTagLightsOff+32
	nop 0
	nop 0
;EV_TurnTagLightsOff+160
	lddz %r3,%r2,120
	lddzx.xd %r9,%r3,%r6,0,0
	mov %r10,%r2
;EV_TurnTagLightsOff+176
	callr %r8,getNextSector
	bdeq %r9,%gz,EV_TurnTagLightsOff+128
	ldhs %r3,%r9,12
;EV_TurnTagLightsOff+192
	minsw %r5,%r5,%r3
	jmp EV_TurnTagLightsOff+128
	nop 0
;EV_TurnTagLightsOff+208
	retf 0
	nop 0
	nop 0
;EV_LightTurnOn
	alloc 11
	ldwzr %r4,numsectors
	bwlti %r4,1,EV_LightTurnOn+224
;EV_LightTurnOn+16
	mov %r5,%gz
	lddzr %r3,sectors
	jmp EV_LightTurnOn+80
;EV_LightTurnOn+32
	ldwzr %r4,numsectors
	nop 0
	nop 0
;EV_LightTurnOn+48
	sth %r2,%r3,12
	nop 0
	nop 0
;EV_LightTurnOn+64
	addiws %r5,%r5,1
	addi %r3,%r3,128
	bwle %r4,%r5,EV_LightTurnOn+224
;EV_LightTurnOn+80
	ldhz %r6,%r3,16
	ldhz %r7,%r1,28
	bwne %r6,%r7,EV_LightTurnOn+64
;EV_LightTurnOn+96
	bwne %r2,%gz,EV_LightTurnOn+48
	ldwz %r2,%r3,112
	bwlti %r2,1,EV_LightTurnOn+208
;EV_LightTurnOn+112
	mov2 %r6,%r7,%gz,%gz
	mov %r2,%gz
	jmp EV_LightTurnOn+160
;EV_LightTurnOn+128
	ldws %r4,%r3,112
	addi %r7,%r7,1
	addi %r6,%r6,8
;EV_LightTurnOn+144
	bdle %r4,%r7,EV_LightTurnOn+32
	nop 0
	nop 0
;EV_LightTurnOn+160
	lddz %r4,%r3,120
	lddzx.xd %r9,%r4,%r6,0,0
	mov %r10,%r3
;EV_LightTurnOn+176
	callr %r8,getNextSector
	bdeq %r9,%gz,EV_LightTurnOn+128
	ldhs %r4,%r9,12
;EV_LightTurnOn+192
	maxsw %r2,%r2,%r4
	jmp EV_LightTurnOn+128
	nop 0
;EV_LightTurnOn+208
	mov %r2,%gz
	jmp EV_LightTurnOn+48
	nop 0
;EV_LightTurnOn+224
	retf 0
	nop 0
	nop 0
;T_Glow
	alloc 6
	ldwz %r2,%r1,40
	bweqi %r2,1,T_Glow+80
;T_Glow+16
	bwnei %r2,-1,T_Glow+144
	lddz %r2,%r1,24
	ldhz %r3,%r2,12
;T_Glow+32
	addiws %r4,%r3,-8
	sth %r4,%r2,12
	ldwz %r5,%r1,32
;T_Glow+48
	slsrai %r4,%r4,48,48
	bwlt %r5,%r4,T_Glow+144
	sth %r3,%r2,12
;T_Glow+64
	ldi %r2,1
	jmp T_Glow+128
	nop 0
;T_Glow+80
	lddz %r2,%r1,24
	ldhz %r3,%r2,12
	addiws %r4,%r3,8
;T_Glow+96
	sth %r4,%r2,12
	ldwz %r5,%r1,36
	slsrai %r4,%r4,48,48
;T_Glow+112
	bwlt %r4,%r5,T_Glow+144
	sth %r3,%r2,12
	ldi %r2,-1
;T_Glow+128
	stw %r2,%r1,40
	nop 0
	nop 0
;T_Glow+144
	retf 0
	nop 0
	nop 0
;P_SpawnGlowingLight
	alloc 8
	ldi %r5,48
	ldi %r6,6
;P_SpawnGlowingLight+16
	mov %r7,%gz
	callr %r4,Z_Malloc
	mov2 %r2,%r7,%r5,%r5
;P_SpawnGlowingLight+32
	callr %r6,P_AddThinker
	std %r1,%r5,24
	ldhs %r7,%r1,12
;P_SpawnGlowingLight+48
	mov %r6,%r1
	callr %r5,P_FindMinSurroundingLight
	stw %r6,%r2,32
;P_SpawnGlowingLight+64
	ldhs %r3,%r1,12
	stw %r3,%r2,36
	ldar %r3,T_Glow
;P_SpawnGlowingLight+80
	std %r3,%r2,16
	ldi %r3,-1
	stw %r3,%r2,40
;P_SpawnGlowingLight+96
	sth %gz,%r1,14
	retf 0
	nop 0
;PIT_StompThing
	alloc 12
	ldbz %r2,%r1,160
	ldi %r3,1
;PIT_StompThing+16
	bbci %r2,2,PIT_StompThing+144
	lddzr %r9,tmthing
	ldwz %r2,%r1,104
;PIT_StompThing+32
	ldwz %r4,%r9,104
	ldwz %r5,%r1,24
	ldwzr %r6,tmx
;PIT_StompThing+48
	addws %r2,%r4,%r2
	absdw %r4,%r6,%r5
	bwle %r2,%r4,PIT_StompThing+144
;PIT_StompThing+64
	bdeq %r1,%r9,PIT_StompThing+144
	ldwz %r4,%r1,28
	ldwzr %r5,tmy
;PIT_StompThing+80
	absdw %r4,%r5,%r4
	bwleu %r2,%r4,PIT_StompThing+144
	lddz %r2,%r9,192
;PIT_StompThing+96
	bdne %r2,%gz,PIT_StompThing+128
	ldwzr %r4,gamemap
	mov %r2,%gz
;PIT_StompThing+112
	bweqi %r4,30,PIT_StompThing+128
	mov %r1,%r2
	retf 0
;PIT_StompThing+128
	ldi %r11,10000
	mov2 %r8,%r10,%r1,%r9
	callr %r7,P_DamageMobj
;PIT_StompThing+144
	mov %r2,%r3
	mov %r1,%r2
	retf 0
;P_TeleportMove
	alloc 15
	stdr %r1,tmthing
	ldwz %r4,%r1,160
;P_TeleportMove+16
	stwr %r4,tmflags
	stwr %r2,tmx
	stwr %r3,tmy
;P_TeleportMove+32
	ldwz %r4,%r1,104
	addws %r5,%r4,%r3
	stwr %r5,tmbbox
;P_TeleportMove+48
	subws %r5,%r3,%r4
	stwr %r5,tmbbox+4
	addws %r5,%r4,%r2
;P_TeleportMove+64
	stwr %r5,tmbbox+12
	subws %r4,%r2,%r4
	stwr %r4,tmbbox+8
;P_TeleportMove+80
	mov2 %r13,%r14,%r2,%r3
	callr %r12,R_PointInSubsector
	stdr %gz,ceilingline
;P_TeleportMove+96
	lddz %r4,%r13,0
	ldwz %r5,%r4,0
	stwr %r5,tmdropoffz
;P_TeleportMove+112
	stwr %r5,tmfloorz
	ldwz %r4,%r4,4
	ldwzr %r5,validcount
;P_TeleportMove+128
	stwr %r4,tmceilingz
	ldwzr %r4,tmbbox+8
	ldwzr %r7,bmaporgx
;P_TeleportMove+144
	addiws %r5,%r5,1
	stwr %r5,validcount
	ldwzr %r5,tmbbox+12
;P_TeleportMove+160
	subws %r4,%r4,%r7
	addiws.l %r4,%r4,-2097152
;P_TeleportMove+176
	sraiw %r6,%r4,23
	subws %r4,%r5,%r7
	nop 2
;P_TeleportMove+192
	addiws.l %r4,%r4,2097152
	sraiw %r8,%r4,23
;P_TeleportMove+208
	stwr %gz,numspechit
	bwle %r6,%r8,P_TeleportMove+288
	nop 0
;P_TeleportMove+224
	mov %r14,%r1
	callr %r13,P_UnsetThingPosition
	ldwzr %r4,tmfloorz
;P_TeleportMove+240
	stw %r4,%r1,96
	ldwzr %r4,tmceilingz
	stw %r4,%r1,100
;P_TeleportMove+256
	stw %r2,%r1,24
	stw %r3,%r1,28
	mov %r14,%r1
;P_TeleportMove+272
	callr %r13,P_SetThingPosition
	ldi %r1,1
	retf 0
;P_TeleportMove+288
	ldwzr %r4,tmbbox+4
	ldwzr %r5,bmaporgy
	ldwzr %r7,tmbbox
;P_TeleportMove+304
	subws %r4,%r4,%r5
	addiws.l %r4,%r4,-2097152
;P_TeleportMove+320
	sraiw %r9,%r4,23
	subws %r4,%r7,%r5
	nop 2
;P_TeleportMove+336
	addiws.l %r4,%r4,2097152
	sraiw %r10,%r4,23
;P_TeleportMove+352
	ldar %r4,PIT_StompThing
	jmp P_TeleportMove+384
	nop 0
;P_TeleportMove+368
	addiws %r6,%r5,1
	bwle %r8,%r5,P_TeleportMove+224
	nop 0
;P_TeleportMove+384
	mov2 %r5,%r7,%r6,%r9
	bwlt %r10,%r9,P_TeleportMove+368
	nop 0
;P_TeleportMove+400
	mov2 %r6,%r12,%r7,%r5
	mov2 %r13,%r14,%r7,%r4
	callr %r11,P_BlockThingsIterator
;P_TeleportMove+416
	bweq %r12,%gz,P_TeleportMove+448
	addiws %r7,%r6,1
	bwlt %r6,%r10,P_TeleportMove+400
;P_TeleportMove+432
	jmp P_TeleportMove+368
	nop 0
	nop 0
;P_TeleportMove+448
	mov %r1,%gz
	retf 0
	nop 0
;PIT_CheckLine
	alloc 8
	mov %r2,%r1
	ldwzr %r3,tmbbox+12
;PIT_CheckLine+16
	ldwz %r4,%r1,44
	ldi %r1,1
	bwle %r3,%r4,PIT_CheckLine+176
;PIT_CheckLine+32
	ldwzr %r3,tmbbox+8
	ldwz %r4,%r2,48
	bwle %r4,%r3,PIT_CheckLine+176
;PIT_CheckLine+48
	ldwzr %r3,tmbbox
	ldwz %r4,%r2,40
	bwle %r3,%r4,PIT_CheckLine+176
;PIT_CheckLine+64
	ldwzr %r3,tmbbox+4
	ldwz %r4,%r2,36
	bwle %r4,%r3,PIT_CheckLine+176
;PIT_CheckLine+80
	ldafr %r6,tmbbox
	mov %r7,%r2
	callr %r5,P_BoxOnLineSide
;PIT_CheckLine+96
	bwnei %r6,-1,PIT_CheckLine+176
	lddz %r3,%r2,64
	bdeq %r3,%gz,PIT_CheckLine+160
;PIT_CheckLine+112
	lddzr %r3,tmthing
	ldbz %r4,%r3,162
	bbsi %r4,0,PIT_CheckLine+192
;PIT_CheckLine+128
	ldhz %r4,%r2,24
	bbsi %r4,0,PIT_CheckLine+160
	bbci %r4,1,PIT_CheckLine+192
;PIT_CheckLine+144
	lddz %r3,%r3,192
	bdne %r3,%gz,PIT_CheckLine+192
	nop 0
;PIT_CheckLine+160
	mov %r1,%gz
	nop 0
	nop 0
;PIT_CheckLine+176
	retf 0
	nop 0
	nop 0
;PIT_CheckLine+192
	mov %r7,%r2
	callr %r6,P_LineOpening
	ldwzr %r3,opentop
;PIT_CheckLine+208
	ldwzr %r4,tmceilingz
	bwle %r4,%r3,PIT_CheckLine+240
	stwr %r3,tmceilingz
;PIT_CheckLine+224
	stdr %r2,ceilingline
	nop 0
	nop 0
;PIT_CheckLine+240
	ldwzr %r3,openbottom
	ldwzr %r4,tmfloorz
	bwle %r3,%r4,PIT_CheckLine+272
;PIT_CheckLine+256
	stwr %r3,tmfloorz
	nop 0
	nop 0
;PIT_CheckLine+272
	ldwzr %r3,lowfloor
	ldwzr %r4,tmdropoffz
	bwle %r4,%r3,PIT_CheckLine+304
;PIT_CheckLine+288
	stwr %r3,tmdropoffz
	nop 0
	nop 0
;PIT_CheckLine+304
	ldhz %r3,%r2,26
	bweq %r3,%gz,PIT_CheckLine+176
	ldwzr %r3,numspechit
;PIT_CheckLine+320
	ldafr %r4,spechit
	stdx.xw %r2,%r4,%r3,3,0
	addiws %r4,%r3,1
;PIT_CheckLine+336
	stwr %r4,numspechit
	bwlti %r3,8,PIT_CheckLine+176
	mov %r7,%r2
;PIT_CheckLine+352
	callr %r6,SpechitOverrun
	retf 0
	nop 0
;SpechitOverrun
	allocsp 8,16
	ldwzr %r2,SpechitOverrun.baseaddr
	bwne %r2,%gz,SpechitOverrun+96
;SpechitOverrun+16
	ldafr %r6,.rodata+7982
	ldi %r7,1
	callr %r5,M_CheckParmWithArgs
;SpechitOverrun+32
	bwlti %r6,1,SpechitOverrun+80
	lddzr %r2,myargv
	lddzx.xuw %r6,%r2,%r6,3,8
;SpechitOverrun+48
	ldafr %r7,SpechitOverrun.baseaddr
	callr %r5,M_StrToInt
	ldwzr %r2,SpechitOverrun.baseaddr
;SpechitOverrun+64
	jmp SpechitOverrun+96
	nop 0
	nop 0
;SpechitOverrun+80
	ldi %r2,29400216
	stwr %r2,SpechitOverrun.baseaddr
	nop 0
;SpechitOverrun+96
	lddzr %r4,lines
	ldwzr %r3,numspechit
	sub %r1,%r1,%r4
;SpechitOverrun+112
	srli %r1,%r1,3
	mulwsi.l %r1,%r1,390451578
;SpechitOverrun+128
	addiws %r4,%r3,-9
	addws %r1,%r1,%r2
	bwgeui %r4,4,SpechitOverrun+160
;SpechitOverrun+144
	ldafr %r2,tmbbox
	stwx.xuw %r1,%r2,%r4,2,0
	retf 16
;SpechitOverrun+160
	bweqi %r3,13,SpechitOverrun+192
	bwnei %r3,14,SpechitOverrun+208
	stwr %r1,nofit
;SpechitOverrun+176
	retf 16
	nop 0
	nop 0
;SpechitOverrun+192
	stwr %r1,crushchange
	retf 16
	nop 0
;SpechitOverrun+208
	lddzr %r6,stderr
	ldafr %r7,.rodata+15462
	stw %r3,%sp,0
;SpechitOverrun+224
	callr %r5,fprintf
	retf 16
	nop 0
;PIT_CheckThing
	alloc 13
	ldwz %r3,%r1,160
	andi %r4,%r3,7
;PIT_CheckThing+16
	ldi %r2,1
	bweq %r4,%gz,PIT_CheckThing+432
	lddzr %r12,tmthing
;PIT_CheckThing+32
	ldwz %r4,%r1,104
	ldwz %r5,%r12,104
	ldwz %r6,%r1,24
;PIT_CheckThing+48
	ldwzr %r7,tmx
	addws %r4,%r5,%r4
	absdw %r5,%r7,%r6
;PIT_CheckThing+64
	bwle %r4,%r5,PIT_CheckThing+432
	bdeq %r1,%r12,PIT_CheckThing+432
	ldwz %r5,%r1,28
;PIT_CheckThing+80
	ldwzr %r6,tmy
	absdw %r5,%r6,%r5
	bwleu %r4,%r5,PIT_CheckThing+432
;PIT_CheckThing+96
	ldwz %r4,%r12,160
	bbsi %r4,24,PIT_CheckThing+144
	bbsi %r4,16,PIT_CheckThing+288
;PIT_CheckThing+112
	bbci %r3,0,PIT_CheckThing+416
	ldbzr %r2,tmflags+1
	bbci %r2,3,PIT_CheckThing+416
;PIT_CheckThing+128
	mov %r11,%r1
	callr %r10,P_TouchSpecialThing
	jmp PIT_CheckThing+416
;PIT_CheckThing+144
	callr %r11,P_Random
	lddzr %r10,tmthing
	lddz %r2,%r10,136
;PIT_CheckThing+160
	sraiw %r3,%r12,31
	srliw %r3,%r3,29
	addws %r3,%r12,%r3
;PIT_CheckThing+176
	ldwz %r2,%r2,76
	andi %r3,%r3,-8
	subws %r3,%r12,%r3
;PIT_CheckThing+192
	addiws %r3,%r3,1
	mulws %r12,%r2,%r3
	mov2 %r9,%r11,%r1,%r10
;PIT_CheckThing+208
	callr %r8,P_DamageMobj
	lddzr %r11,tmthing
	ldwz %r1,%r11,160
;PIT_CheckThing+224
	andi.l %r1,%r1,-16777217
	stw %r1,%r11,160
;PIT_CheckThing+240
	stw %gz,%r11,120
	std %gz,%r11,112
	lddz %r1,%r11,136
;PIT_CheckThing+256
	ldwz %r12,%r1,4
	callr %r10,P_SetMobjState
	mov %r1,%gz
;PIT_CheckThing+272
	retf 0
	nop 0
	nop 0
;PIT_CheckThing+288
	ldwz %r4,%r1,32
	ldwz %r6,%r1,108
	ldwz %r5,%r12,32
;PIT_CheckThing+304
	addws %r6,%r6,%r4
	bwlt %r6,%r5,PIT_CheckThing+432
	ldwz %r6,%r12,108
;PIT_CheckThing+320
	addws %r5,%r6,%r5
	bwlt %r5,%r4,PIT_CheckThing+432
	lddz %r4,%r12,176
;PIT_CheckThing+336
	bdeq %r4,%gz,PIT_CheckThing+400
	ldwz %r6,%r4,128
	ldwz %r5,%r1,128
;PIT_CheckThing+352
	bweq %r6,%r5,PIT_CheckThing+384
	bwnei %r6,17,PIT_CheckThing+368
	bweqi %r5,15,PIT_CheckThing+384
;PIT_CheckThing+368
	bwnei %r6,15,PIT_CheckThing+400
	bwnei %r5,17,PIT_CheckThing+400
	nop 0
;PIT_CheckThing+384
	bdeq %r1,%r4,PIT_CheckThing+432
	mov %r2,%gz
	bwne %r5,%gz,PIT_CheckThing+432
;PIT_CheckThing+400
	bbsi %r3,2,PIT_CheckThing+448
	nop 0
	nop 0
;PIT_CheckThing+416
	xori %r1,%r3,-1
	slsrli %r2,%r1,62,63
	nop 0
;PIT_CheckThing+432
	mov %r1,%r2
	retf 0
	nop 0
;PIT_CheckThing+448
	callr %r11,P_Random
	lddzr %r10,tmthing
	lddz %r2,%r10,136
;PIT_CheckThing+464
	sraiw %r3,%r12,31
	srliw %r3,%r3,29
	addws %r3,%r12,%r3
;PIT_CheckThing+480
	ldwz %r2,%r2,76
	andi %r3,%r3,-8
	subws %r3,%r12,%r3
;PIT_CheckThing+496
	addiws %r3,%r3,1
	mulws %r12,%r2,%r3
	lddz %r11,%r10,176
;PIT_CheckThing+512
	mov %r9,%r1
	callr %r8,P_DamageMobj
	mov %r1,%gz
;PIT_CheckThing+528
	retf 0
	nop 0
	nop 0
;P_CheckPosition
	alloc 14
	stdr %r1,tmthing
	ldwz %r4,%r1,160
;P_CheckPosition+16
	stwr %r4,tmflags
	stwr %r2,tmx
	stwr %r3,tmy
;P_CheckPosition+32
	ldwz %r1,%r1,104
	addws %r4,%r1,%r3
	stwr %r4,tmbbox
;P_CheckPosition+48
	subws %r4,%r3,%r1
	stwr %r4,tmbbox+4
	addws %r4,%r1,%r2
;P_CheckPosition+64
	stwr %r4,tmbbox+12
	subws %r1,%r2,%r1
	stwr %r1,tmbbox+8
;P_CheckPosition+80
	mov2 %r12,%r13,%r2,%r3
	callr %r11,R_PointInSubsector
	stdr %gz,ceilingline
;P_CheckPosition+96
	lddz %r1,%r12,0
	ldwz %r2,%r1,0
	stwr %r2,tmdropoffz
;P_CheckPosition+112
	stwr %r2,tmfloorz
	ldwz %r1,%r1,4
	ldwzr %r2,validcount
;P_CheckPosition+128
	ldbzr %r3,tmflags+1
	stwr %r1,tmceilingz
	addiws %r1,%r2,1
;P_CheckPosition+144
	stwr %r1,validcount
	stwr %gz,numspechit
	ldi %r1,1
;P_CheckPosition+160
	bbsi %r3,4,P_CheckPosition+528
	ldwzr %r3,tmbbox+8
	ldwzr %r2,bmaporgx
;P_CheckPosition+176
	ldwzr %r4,tmbbox+12
	subws %r5,%r3,%r2
	nop 2
;P_CheckPosition+192
	addiws.l %r5,%r5,-2097152
	sraiw %r9,%r5,23
;P_CheckPosition+208
	subws %r5,%r4,%r2
	ldwzr %r4,bmaporgy
	ldwzr %r7,tmbbox
;P_CheckPosition+224
	addiws.l %r6,%r5,2097152
	sraiw %r6,%r6,23
;P_CheckPosition+240
	ldwzr %r8,tmbbox+4
	subws %r7,%r7,%r4
	bwle %r9,%r6,P_CheckPosition+384
;P_CheckPosition+256
	subws %r2,%r3,%r2
	sraiw %r9,%r2,23
	sraiw %r6,%r5,23
;P_CheckPosition+272
	bwlt %r6,%r9,P_CheckPosition+528
	subws %r2,%r8,%r4
	sraiw %r8,%r2,23
;P_CheckPosition+288
	sraiw %r7,%r7,23
	ldar %r2,PIT_CheckLine
	jmp P_CheckPosition+320
;P_CheckPosition+304
	addiws %r9,%r3,1
	bwle %r6,%r3,P_CheckPosition+528
	nop 0
;P_CheckPosition+320
	mov2 %r3,%r5,%r9,%r8
	bwlt %r7,%r8,P_CheckPosition+304
	nop 0
;P_CheckPosition+336
	mov2 %r4,%r11,%r5,%r3
	mov2 %r12,%r13,%r5,%r2
	callr %r10,P_BlockLinesIterator
;P_CheckPosition+352
	bweq %r11,%gz,P_CheckPosition+512
	addiws %r5,%r4,1
	bwlt %r4,%r7,P_CheckPosition+336
;P_CheckPosition+368
	jmp P_CheckPosition+304
	nop 0
	nop 0
;P_CheckPosition+384
	subws %r2,%r8,%r4
	addiws.l %r2,%r2,-2097152
;P_CheckPosition+400
	sraiw %r8,%r2,23
	addiws.l %r2,%r7,2097152
;P_CheckPosition+416
	sraiw %r7,%r2,23
	ldar %r2,PIT_CheckThing
	jmp P_CheckPosition+448
;P_CheckPosition+432
	addiws %r9,%r3,1
	bwle %r6,%r3,P_CheckPosition+544
	nop 0
;P_CheckPosition+448
	mov2 %r3,%r5,%r9,%r8
	bwlt %r7,%r8,P_CheckPosition+432
	nop 0
;P_CheckPosition+464
	mov2 %r4,%r11,%r5,%r3
	mov2 %r12,%r13,%r5,%r2
	callr %r10,P_BlockThingsIterator
;P_CheckPosition+480
	bweq %r11,%gz,P_CheckPosition+512
	addiws %r5,%r4,1
	bwlt %r4,%r7,P_CheckPosition+464
;P_CheckPosition+496
	jmp P_CheckPosition+432
	nop 0
	nop 0
;P_CheckPosition+512
	mov %r1,%gz
	nop 0
	nop 0
;P_CheckPosition+528
	retf 0
	nop 0
	nop 0
;P_CheckPosition+544
	ldwzr %r2,bmaporgx
	ldwzr %r5,tmbbox+12
	ldwzr %r4,bmaporgy
;P_CheckPosition+560
	ldwzr %r6,tmbbox
	ldwzr %r3,tmbbox+8
	ldwzr %r8,tmbbox+4
;P_CheckPosition+576
	subws %r5,%r5,%r2
	subws %r7,%r6,%r4
	jmp P_CheckPosition+256
;P_TryMove
	alloc 13
	mov %r6,%r1
	stwr %gz,floatok
;P_TryMove+16
	mov2 %r10,%r11,%r1,%r2
	mov %r12,%r3
	callr %r9,P_CheckPosition
;P_TryMove+32
	mov %r1,%gz
	bweq %r10,%gz,P_TryMove+288
	ldwz %r4,%r6,160
;P_TryMove+48
	bbsi %r4,12,P_TryMove+192
	ldwzr %r1,tmceilingz
	ldwzr %r5,tmfloorz
;P_TryMove+64
	ldwz %r7,%r6,108
	subws %r8,%r1,%r5
	bwle %r7,%r8,P_TryMove+96
;P_TryMove+80
	mov %r1,%gz
	retf 0
	nop 0
;P_TryMove+96
	ldi %r8,1
	stwr %r8,floatok
	bbsi %r4,15,P_TryMove+160
;P_TryMove+112
	ldwz %r8,%r6,32
	subws %r1,%r1,%r8
	bwlt %r1,%r7,P_TryMove+80
;P_TryMove+128
	subws %r7,%r5,%r8
	mov %r1,%gz
	nop 2
;P_TryMove+144
	bwgei.l %r7,1572865,P_TryMove+288
	nop 0
;P_TryMove+160
	andi %r1,%r4,17408
	bwne %r1,%gz,P_TryMove+192
	ldwzr %r1,tmdropoffz
;P_TryMove+176
	subws %r1,%r5,%r1
	bwgei.l %r1,1572865,P_TryMove+80
;P_TryMove+192
	mov %r12,%r6
	callr %r11,P_UnsetThingPosition
	ldwzr %r1,tmfloorz
;P_TryMove+208
	ldwz %r5,%r6,24
	ldwz %r4,%r6,28
	stw %r1,%r6,96
;P_TryMove+224
	ldwzr %r1,tmceilingz
	stw %r1,%r6,100
	stw %r2,%r6,24
;P_TryMove+240
	stw %r3,%r6,28
	mov %r12,%r6
	callr %r11,P_SetThingPosition
;P_TryMove+256
	ldbz %r1,%r6,161
	andi %r2,%r1,144
	ldi %r1,1
;P_TryMove+272
	bweq %r2,%gz,P_TryMove+304
	nop 0
	nop 0
;P_TryMove+288
	retf 0
	nop 0
	nop 0
;P_TryMove+304
	ldwzr %r3,numspechit
	addiws %r2,%r3,-1
	stwr %r2,numspechit
;P_TryMove+320
	bweq %r3,%gz,P_TryMove+288
	ldafr %r8,spechit
	jmp P_TryMove+368
;P_TryMove+336
	ldwzr %r3,numspechit
	addiws %r2,%r3,-1
	stwr %r2,numspechit
;P_TryMove+352
	bweq %r3,%gz,P_TryMove+288
	nop 0
	nop 0
;P_TryMove+368
	lddzx.xw %r2,%r8,%r2,3,0
	ldwz %r10,%r6,24
	ldwz %r11,%r6,28
;P_TryMove+384
	mov %r12,%r2
	callr %r9,P_PointOnLineSide
	mov2 %r3,%r10,%r10,%r5
;P_TryMove+400
	mov2 %r11,%r12,%r4,%r2
	callr %r9,P_PointOnLineSide
	bweq %r3,%r10,P_TryMove+336
;P_TryMove+416
	ldhz %r3,%r2,26
	bweq %r3,%gz,P_TryMove+336
	mov %r11,%r10
;P_TryMove+432
	lddzr %r3,lines
	sub %r2,%r2,%r3
	srli %r2,%r2,3
;P_TryMove+448
	mulwsi.l %r10,%r2,-1171354717
	mov %r12,%r6
;P_TryMove+464
	callr %r9,P_CrossSpecialLine
	jmp P_TryMove+336
	nop 0
;P_ThingHeightClip
	alloc 10
	ldwz %r4,%r1,32
	ldwz %r5,%r1,96
;P_ThingHeightClip+16
	ldwz %r8,%r1,24
	ldwz %r9,%r1,28
	mov %r7,%r1
;P_ThingHeightClip+32
	callr %r6,P_CheckPosition
	ldwzr %r2,tmfloorz
	stw %r2,%r1,96
;P_ThingHeightClip+48
	ldwzr %r3,tmceilingz
	stw %r3,%r1,100
	bwne %r4,%r5,P_ThingHeightClip+80
;P_ThingHeightClip+64
	stw %r2,%r1,32
	ldwz %r4,%r1,108
	jmp P_ThingHeightClip+112
;P_ThingHeightClip+80
	ldwz %r5,%r1,32
	ldwz %r4,%r1,108
	addws %r5,%r4,%r5
;P_ThingHeightClip+96
	bwle %r5,%r3,P_ThingHeightClip+112
	subws %r5,%r3,%r4
	stw %r5,%r1,32
;P_ThingHeightClip+112
	subws %r1,%r3,%r2
	cmpwle %r1,%r4,%r1
	retf 0
;P_HitSlideLine
	alloc 10
	ldwz %r2,%r1,52
	bweqi %r2,1,P_HitSlideLine+32
;P_HitSlideLine+16
	bwne %r2,%gz,P_HitSlideLine+48
	stwr %gz,tmymove
	retf 0
;P_HitSlideLine+32
	stwr %gz,tmxmove
	retf 0
	nop 0
;P_HitSlideLine+48
	lddzr %r2,slidemo
	ldwz %r7,%r2,24
	ldwz %r8,%r2,28
;P_HitSlideLine+64
	mov %r9,%r1
	callr %r6,P_PointOnLineSide
	mov %r2,%r7
;P_HitSlideLine+80
	ldwz %r8,%r1,16
	ldwz %r9,%r1,20
	mov2 %r6,%r7,%gz,%gz
;P_HitSlideLine+96
	callr %r5,R_PointToAngle2
	cmpweqi %r1,%r2,1
	nop 2
;P_HitSlideLine+112
	xori.l %r2,%r6,-2147483648
	cmovlsb %r2,%r1,%r2,%r6
;P_HitSlideLine+128
	ldwzr %r8,tmxmove
	ldwzr %r9,tmymove
	mov2 %r6,%r7,%gz,%gz
;P_HitSlideLine+144
	callr %r5,R_PointToAngle2
	subws %r1,%r6,%r2
	nop 2
;P_HitSlideLine+160
	cmpwgtui.l %r3,%r1,2147483648
	srliw %r4,%r1,19
;P_HitSlideLine+176
	slsrli %r1,%r1,33,52
	srliw %r2,%r2,19
	cmovlsb %r3,%r3,%r1,%r4
;P_HitSlideLine+192
	ldwzr %r8,tmxmove
	ldwzr %r9,tmymove
	callr %r7,P_AproxDistance
;P_HitSlideLine+208
	lddzr %r1,finecosine
	ldwsx.xuw %r3,%r1,%r3,2,0
	sraiw %r4,%r8,0
;P_HitSlideLine+224
	ldwsx.xuw %r1,%r1,%r2,2,0
	mul %r3,%r4,%r3
	slsrai %r3,%r3,16,32
;P_HitSlideLine+240
	ldafr %r4,finesine
	ldwsx.xuw %r2,%r4,%r2,2,0
	mul %r1,%r3,%r1
;P_HitSlideLine+256
	srli %r1,%r1,16
	stwr %r1,tmxmove
	mul %r1,%r3,%r2
;P_HitSlideLine+272
	srli %r1,%r1,16
	stwr %r1,tmymove
	retf 0
;PTR_SlideTraverse
	alloc 10
	ldwz %r2,%r1,4
	bwne %r2,%gz,PTR_SlideTraverse+32
;PTR_SlideTraverse+16
	ldafr %r9,.rodata+7296
	callr %r8,I_Error
	nop 0
;PTR_SlideTraverse+32
	lddz %r2,%r1,8
	ldbz %r3,%r2,24
	bbsi %r3,2,PTR_SlideTraverse+96
;PTR_SlideTraverse+48
	lddzr %r3,slidemo
	ldwz %r7,%r3,24
	ldwz %r8,%r3,28
;PTR_SlideTraverse+64
	mov %r9,%r2
	callr %r6,P_PointOnLineSide
	bweq %r7,%gz,PTR_SlideTraverse+176
;PTR_SlideTraverse+80
	ldi %r1,1
	retf 0
	nop 0
;PTR_SlideTraverse+96
	mov %r9,%r2
	callr %r8,P_LineOpening
	lddzr %r3,slidemo
;PTR_SlideTraverse+112
	ldwzr %r5,openrange
	ldwz %r4,%r3,108
	bwlt %r5,%r4,PTR_SlideTraverse+176
;PTR_SlideTraverse+128
	ldwzr %r5,opentop
	ldwz %r3,%r3,32
	subws %r5,%r5,%r3
;PTR_SlideTraverse+144
	bwlt %r5,%r4,PTR_SlideTraverse+176
	ldwzr %r4,openbottom
	subws %r3,%r4,%r3
;PTR_SlideTraverse+160
	bwlti.l %r3,1572865,PTR_SlideTraverse+80
	nop 0
;PTR_SlideTraverse+176
	ldwz %r5,%r1,0
	ldwzr %r4,bestslidefrac
	mov %r3,%gz
;PTR_SlideTraverse+192
	bwle %r4,%r5,PTR_SlideTraverse+240
	lddzr %r3,bestslideline
	stwr %r4,secondslidefrac
;PTR_SlideTraverse+208
	stdr %r3,secondslideline
	ldwz %r1,%r1,0
	mov %r3,%gz
;PTR_SlideTraverse+224
	stwr %r1,bestslidefrac
	stdr %r2,bestslideline
	nop 0
;PTR_SlideTraverse+240
	mov %r1,%r3
	retf 0
	nop 0
;P_SlideMove
	alloc 22
	mov %r9,%gz
	stdr %r1,slidemo
;P_SlideMove+16
	ldi %r10,65537
	ldar %r2,PTR_SlideTraverse
	ldi %r3,1
;P_SlideMove+32
	ldi %r11,65536
	jmp P_SlideMove+192
	nop 0
;P_SlideMove+48
	subfiws %r4,%r4,65536
	minuw %r4,%r4,%r11
	stwr %r4,bestslidefrac
;P_SlideMove+64
	ldws %r5,%r1,112
	sraiw %r4,%r4,0
	mul %r5,%r5,%r4
;P_SlideMove+80
	srli %r5,%r5,16
	stwr %r5,tmxmove
	ldws %r5,%r1,116
;P_SlideMove+96
	mul %r4,%r5,%r4
	srli %r4,%r4,16
	stwr %r4,tmymove
;P_SlideMove+112
	lddzr %r21,bestslideline
	callr %r20,P_HitSlideLine
	ldwzr %r4,tmxmove
;P_SlideMove+128
	stw %r4,%r1,112
	ldwzr %r5,tmymove
	stw %r5,%r1,116
;P_SlideMove+144
	ldwz %r6,%r1,24
	ldwz %r7,%r1,28
	addws %r20,%r6,%r4
;P_SlideMove+160
	addws %r21,%r7,%r5
	mov %r19,%r1
	callr %r18,P_TryMove
;P_SlideMove+176
	bwne %r19,%gz,P_SlideMove+592
	nop 0
	nop 0
;P_SlideMove+192
	addiws %r9,%r9,1
	bweqi %r9,3,P_SlideMove+544
	ldwz %r7,%r1,104
;P_SlideMove+208
	ldwz %r8,%r1,112
	ldwz %r5,%r1,24
	subfiws %r12,%r7,0
;P_SlideMove+224
	ldwz %r13,%r1,116
	ldwz %r14,%r1,28
	cmovwle %r4,%r8,%r7,%r12
;P_SlideMove+240
	addws %r4,%r5,%r4
	cmovwle %r6,%r8,%r12,%r7
	addws %r5,%r5,%r6
;P_SlideMove+256
	cmovwle %r6,%r13,%r7,%r12
	addws %r6,%r14,%r6
	cmovwle %r7,%r13,%r12,%r7
;P_SlideMove+272
	addws %r7,%r14,%r7
	stwr %r10,bestslidefrac
	addws %r18,%r5,%r8
;P_SlideMove+288
	addws %r19,%r7,%r13
	mov2 %r16,%r17,%r5,%r7
	mov2 %r20,%r21,%r3,%r2
;P_SlideMove+304
	callr %r15,P_PathTraverse
	ldwz %r8,%r1,112
	ldwz %r12,%r1,116
;P_SlideMove+320
	addws %r18,%r8,%r4
	addws %r19,%r12,%r7
	mov2 %r16,%r17,%r4,%r7
;P_SlideMove+336
	mov2 %r20,%r21,%r3,%r2
	callr %r15,P_PathTraverse
	ldwz %r4,%r1,112
;P_SlideMove+352
	ldwz %r7,%r1,116
	addws %r18,%r4,%r5
	addws %r19,%r7,%r6
;P_SlideMove+368
	mov2 %r16,%r17,%r5,%r6
	mov2 %r20,%r21,%r3,%r2
	callr %r15,P_PathTraverse
;P_SlideMove+384
	ldwzr %r4,bestslidefrac
	bweqi.l %r4,65537,P_SlideMove+544
;P_SlideMove+400
	addiws %r5,%r4,-2048
	stwr %r5,bestslidefrac
	nop 2
;P_SlideMove+416
	bwlti.l %r4,2049,P_SlideMove+48
	ldws %r4,%r1,112
;P_SlideMove+432
	srliw %r5,%r5,0
	mul %r4,%r4,%r5
	ldws %r6,%r1,116
;P_SlideMove+448
	srli %r4,%r4,16
	ldwz %r7,%r1,24
	ldwz %r8,%r1,28
;P_SlideMove+464
	mul %r5,%r6,%r5
	srli %r5,%r5,16
	addws %r20,%r7,%r4
;P_SlideMove+480
	addws %r21,%r8,%r5
	mov %r19,%r1
	callr %r18,P_TryMove
;P_SlideMove+496
	bweq %r19,%gz,P_SlideMove+544
	ldwzr %r5,bestslidefrac
	subfiws %r4,%r5,63488
;P_SlideMove+512
	minsw %r4,%r4,%r11
	stwr %r4,bestslidefrac
	nop 2
;P_SlideMove+528
	bwlti.l %r5,63488,P_SlideMove+64
	jmp P_SlideMove+592
;P_SlideMove+544
	ldwz %r2,%r1,28
	ldwz %r3,%r1,116
	ldwz %r20,%r1,24
;P_SlideMove+560
	addws %r21,%r3,%r2
	mov %r19,%r1
	callr %r18,P_TryMove
;P_SlideMove+576
	bweq %r19,%gz,P_SlideMove+608
	nop 0
	nop 0
;P_SlideMove+592
	retf 0
	nop 0
	nop 0
;P_SlideMove+608
	ldwz %r2,%r1,24
	ldwz %r3,%r1,112
	addws %r20,%r3,%r2
;P_SlideMove+624
	ldwz %r21,%r1,28
	mov %r19,%r1
	callr %r18,P_TryMove
;P_SlideMove+640
	retf 0
	nop 0
	nop 0
;PTR_AimTraverse
	alloc 11
	ldwz %r3,%r1,4
	lddz %r2,%r1,8
;PTR_AimTraverse+16
	bweq %r3,%gz,PTR_AimTraverse+224
	ldbz %r3,%r2,24
	bbci %r3,2,PTR_AimTraverse+208
;PTR_AimTraverse+32
	mov %r10,%r2
	callr %r9,P_LineOpening
	ldwzr %r3,openbottom
;PTR_AimTraverse+48
	ldwzr %r4,opentop
	bwle %r4,%r3,PTR_AimTraverse+208
	ldwsr %r5,attackrange
;PTR_AimTraverse+64
	ldws %r1,%r1,0
	lddz %r4,%r2,64
	mul %r1,%r1,%r5
;PTR_AimTraverse+80
	srli %r1,%r1,16
	bdeq %r4,%gz,PTR_AimTraverse+112
	lddz %r5,%r2,56
;PTR_AimTraverse+96
	ldwz %r5,%r5,0
	ldwz %r4,%r4,0
	bweq %r5,%r4,PTR_AimTraverse+160
;PTR_AimTraverse+112
	ldwzr %r4,shootz
	subws %r9,%r3,%r4
	mov %r10,%r1
;PTR_AimTraverse+128
	callr %r8,FixedDiv
	ldwzr %r3,bottomslope
	bwle %r9,%r3,PTR_AimTraverse+160
;PTR_AimTraverse+144
	stwr %r9,bottomslope
	nop 0
	nop 0
;PTR_AimTraverse+160
	lddz %r3,%r2,64
	bdeq %r3,%gz,PTR_AimTraverse+448
	lddz %r2,%r2,56
;PTR_AimTraverse+176
	ldwz %r2,%r2,4
	ldwz %r3,%r3,4
	bwne %r2,%r3,PTR_AimTraverse+448
;PTR_AimTraverse+192
	ldwzr %r1,topslope
	jmp PTR_AimTraverse+496
	nop 0
;PTR_AimTraverse+208
	mov %r1,%gz
	retf 0
	nop 0
;PTR_AimTraverse+224
	mov %r3,%r1
	lddzr %r4,shootthing
	ldi %r1,1
;PTR_AimTraverse+240
	bdeq %r2,%r4,PTR_AimTraverse+432
	ldbz %r4,%r2,160
	bbci %r4,2,PTR_AimTraverse+432
;PTR_AimTraverse+256
	ldwsr %r4,attackrange
	ldws %r3,%r3,0
	ldwz %r5,%r2,32
;PTR_AimTraverse+272
	ldwz %r6,%r2,108
	ldwzr %r7,shootz
	mul %r3,%r3,%r4
;PTR_AimTraverse+288
	srli %r4,%r3,16
	addws %r3,%r6,%r5
	subws %r9,%r3,%r7
;PTR_AimTraverse+304
	mov %r10,%r4
	callr %r8,FixedDiv
	ldwzr %r5,bottomslope
;PTR_AimTraverse+320
	bwlt %r9,%r5,PTR_AimTraverse+432
	mov %r3,%r9
	ldwz %r5,%r2,32
;PTR_AimTraverse+336
	ldwzr %r6,shootz
	subws %r9,%r5,%r6
	mov %r10,%r4
;PTR_AimTraverse+352
	callr %r8,FixedDiv
	ldwzr %r4,topslope
	bwlt %r4,%r9,PTR_AimTraverse+432
;PTR_AimTraverse+368
	ldwzr %r5,bottomslope
	mov %r1,%gz
	minsw %r3,%r3,%r4
;PTR_AimTraverse+384
	maxsw %r4,%r9,%r5
	addws %r3,%r4,%r3
	srliw %r4,%r3,31
;PTR_AimTraverse+400
	addws %r3,%r3,%r4
	sraiw %r3,%r3,1
	stwr %r3,aimslope
;PTR_AimTraverse+416
	stdr %r2,linetarget
	nop 0
	nop 0
;PTR_AimTraverse+432
	retf 0
	nop 0
	nop 0
;PTR_AimTraverse+448
	ldwzr %r2,opentop
	ldwzr %r3,shootz
	subws %r9,%r2,%r3
;PTR_AimTraverse+464
	mov %r10,%r1
	callr %r8,FixedDiv
	ldwzr %r1,topslope
;PTR_AimTraverse+480
	bwle %r1,%r9,PTR_AimTraverse+496
	stwr %r9,topslope
	mov %r1,%r9
;PTR_AimTraverse+496
	ldwzr %r2,bottomslope
	cmpwlt %r1,%r2,%r1
	retf 0
;PTR_ShootTraverse
	alloc 18
	ldwz %r3,%r1,4
	lddz %r2,%r1,8
;PTR_ShootTraverse+16
	bweq %r3,%gz,PTR_ShootTraverse+288
	ldhz %r3,%r2,26
	bweq %r3,%gz,PTR_ShootTraverse+48
;PTR_ShootTraverse+32
	lddzr %r16,shootthing
	mov %r17,%r2
	callr %r15,P_ShootSpecialLine
;PTR_ShootTraverse+48
	ldbz %r3,%r2,24
	bbsi %r3,2,PTR_ShootTraverse+592
	nop 0
;PTR_ShootTraverse+64
	ldwz %r3,%r1,0
	ldwzr %r17,attackrange
	ldi %r16,262144
;PTR_ShootTraverse+80
	callr %r15,FixedDiv
	ldwzr %r1,trace
	ldwsr %r5,trace+8
;PTR_ShootTraverse+96
	subws %r4,%r3,%r16
	ldwzr %r3,trace+4
	ldwsr %r6,trace+12
;PTR_ShootTraverse+112
	ldwsr %r7,attackrange
	lddz %r8,%r2,56
	ldwzr %r9,shootz
;PTR_ShootTraverse+128
	ldwsr %r10,aimslope
	mul %r11,%r4,%r7
	ldhs %r7,%r8,10
;PTR_ShootTraverse+144
	ldwzr %r12,skyflatnum
	slsrai %r11,%r11,16,32
	mul %r10,%r11,%r10
;PTR_ShootTraverse+160
	srli %r10,%r10,16
	addws %r17,%r9,%r10
	bwne %r12,%r7,PTR_ShootTraverse+224
;PTR_ShootTraverse+176
	ldwz %r8,%r8,4
	bwlt %r8,%r17,PTR_ShootTraverse+272
	lddz %r2,%r2,64
;PTR_ShootTraverse+192
	bdeq %r2,%gz,PTR_ShootTraverse+224
	ldhz %r2,%r2,10
	andi %r7,%r7,65535
;PTR_ShootTraverse+208
	bweq %r7,%r2,PTR_ShootTraverse+272
	nop 0
	nop 0
;PTR_ShootTraverse+224
	mul %r2,%r5,%r4
	srli %r2,%r2,16
	addws %r15,%r1,%r2
;PTR_ShootTraverse+240
	mul %r1,%r6,%r4
	srli %r1,%r1,16
	addws %r16,%r3,%r1
;PTR_ShootTraverse+256
	callr %r14,P_SpawnPuff
	nop 0
	nop 0
;PTR_ShootTraverse+272
	mov %r3,%gz
	mov %r1,%r3
	retf 0
;PTR_ShootTraverse+288
	lddzr %r4,shootthing
	ldi %r3,1
	bdeq %r2,%r4,PTR_ShootTraverse+768
;PTR_ShootTraverse+304
	ldbz %r4,%r2,160
	bbci %r4,2,PTR_ShootTraverse+768
	ldwsr %r4,attackrange
;PTR_ShootTraverse+320
	ldws %r5,%r1,0
	ldwz %r6,%r2,32
	ldwz %r7,%r2,108
;PTR_ShootTraverse+336
	ldwzr %r8,shootz
	mul %r4,%r5,%r4
	srli %r4,%r4,16
;PTR_ShootTraverse+352
	addws %r5,%r7,%r6
	subws %r16,%r5,%r8
	mov %r17,%r4
;PTR_ShootTraverse+368
	callr %r15,FixedDiv
	ldwzr %r5,aimslope
	bwlt %r16,%r5,PTR_ShootTraverse+768
;PTR_ShootTraverse+384
	ldwz %r5,%r2,32
	ldwzr %r6,shootz
	subws %r16,%r5,%r6
;PTR_ShootTraverse+400
	mov %r17,%r4
	callr %r15,FixedDiv
	ldwzr %r4,aimslope
;PTR_ShootTraverse+416
	bwlt %r4,%r16,PTR_ShootTraverse+768
	ldwz %r4,%r1,0
	ldwzr %r17,attackrange
;PTR_ShootTraverse+432
	ldi %r16,655360
	callr %r15,FixedDiv
	ldwsr %r3,trace+8
;PTR_ShootTraverse+448
	ldwzr %r5,trace
	subws %r4,%r4,%r16
	mul %r3,%r3,%r4
;PTR_ShootTraverse+464
	ldwsr %r6,trace+12
	srli %r3,%r3,16
	ldwzr %r7,trace+4
;PTR_ShootTraverse+480
	addws %r14,%r5,%r3
	mul %r3,%r6,%r4
	srli %r3,%r3,16
;PTR_ShootTraverse+496
	addws %r16,%r7,%r3
	ldwsr %r3,attackrange
	lddz %r1,%r1,8
;PTR_ShootTraverse+512
	ldwzr %r5,shootz
	ldwsr %r6,aimslope
	mul %r3,%r4,%r3
;PTR_ShootTraverse+528
	ldbz %r4,%r1,162
	slsrai %r1,%r3,16,32
	mul %r1,%r1,%r6
;PTR_ShootTraverse+544
	srli %r1,%r1,16
	addws %r1,%r5,%r1
	bbsi %r4,3,PTR_ShootTraverse+880
;PTR_ShootTraverse+560
	ldwzr %r17,la_damage
	mov2 %r15,%r16,%r16,%r1
	callr %r13,P_SpawnBlood
;PTR_ShootTraverse+576
	jmp PTR_ShootTraverse+896
	nop 0
	nop 0
;PTR_ShootTraverse+592
	mov %r17,%r2
	callr %r16,P_LineOpening
	ldwsr %r4,attackrange
;PTR_ShootTraverse+608
	ldws %r5,%r1,0
	lddz %r3,%r2,64
	mul %r4,%r5,%r4
;PTR_ShootTraverse+624
	srli %r4,%r4,16
	bdeq %r3,%gz,PTR_ShootTraverse+784
	lddz %r5,%r2,56
;PTR_ShootTraverse+640
	ldwz %r6,%r5,0
	ldwz %r7,%r3,0
	bweq %r6,%r7,PTR_ShootTraverse+704
;PTR_ShootTraverse+656
	ldwzr %r3,openbottom
	ldwzr %r5,shootz
	subws %r16,%r3,%r5
;PTR_ShootTraverse+672
	mov %r17,%r4
	callr %r15,FixedDiv
	ldwzr %r3,aimslope
;PTR_ShootTraverse+688
	bwlt %r3,%r16,PTR_ShootTraverse+64
	lddz %r5,%r2,56
	lddz %r3,%r2,64
;PTR_ShootTraverse+704
	ldwz %r5,%r5,4
	ldwz %r6,%r3,4
	ldi %r3,1
;PTR_ShootTraverse+720
	bweq %r5,%r6,PTR_ShootTraverse+768
	ldwzr %r5,opentop
	ldwzr %r6,shootz
;PTR_ShootTraverse+736
	subws %r16,%r5,%r6
	mov %r17,%r4
	callr %r15,FixedDiv
;PTR_ShootTraverse+752
	ldwzr %r4,aimslope
	bwlt %r16,%r4,PTR_ShootTraverse+64
	nop 0
;PTR_ShootTraverse+768
	mov %r1,%r3
	retf 0
	nop 0
;PTR_ShootTraverse+784
	ldwzr %r3,openbottom
	ldwzr %r5,shootz
	subws %r16,%r3,%r5
;PTR_ShootTraverse+800
	mov %r17,%r4
	callr %r15,FixedDiv
	ldwzr %r3,aimslope
;PTR_ShootTraverse+816
	bwlt %r3,%r16,PTR_ShootTraverse+64
	ldwzr %r3,opentop
	ldwzr %r5,shootz
;PTR_ShootTraverse+832
	subws %r16,%r3,%r5
	mov %r17,%r4
	callr %r15,FixedDiv
;PTR_ShootTraverse+848
	ldwzr %r3,aimslope
	bwlt %r16,%r3,PTR_ShootTraverse+64
	ldi %r1,1
;PTR_ShootTraverse+864
	retf 0
	nop 0
	nop 0
;PTR_ShootTraverse+880
	mov2 %r15,%r17,%r14,%r1
	callr %r14,P_SpawnPuff
	nop 0
;PTR_ShootTraverse+896
	ldwzr %r17,la_damage
	bweq %r17,%gz,PTR_ShootTraverse+272
	lddzr %r15,shootthing
;PTR_ShootTraverse+912
	mov2 %r14,%r16,%r2,%r15
	callr %r13,P_DamageMobj
	jmp PTR_ShootTraverse+272
;P_AimLineAttack
	alloc 13
	mov %r12,%r1
	callr %r11,P_SubstNullMobj
;P_AimLineAttack+16
	lddzr %r1,finecosine
	srliw %r2,%r2,19
	stdr %r12,shootthing
;P_AimLineAttack+32
	ldwzx.xuw %r1,%r1,%r2,2,0
	ldwz %r7,%r12,24
	sraiw %r4,%r3,16
;P_AimLineAttack+48
	mulws %r1,%r1,%r4
	addws %r9,%r1,%r7
	ldafr %r1,finesine
;P_AimLineAttack+64
	ldwzx.xuw %r1,%r1,%r2,2,0
	ldwz %r8,%r12,28
	ldwz %r2,%r12,108
;P_AimLineAttack+80
	ldwz %r5,%r12,32
	mulws %r1,%r1,%r4
	addws %r10,%r1,%r8
;P_AimLineAttack+96
	sraiw %r1,%r2,1
	addws %r1,%r5,%r1
	addiws %r1,%r1,524288
;P_AimLineAttack+112
	stwr %r1,shootz
	ldi %r1,40960
	stwr %r1,topslope
;P_AimLineAttack+128
	ldi %r1,-40960
	stwr %r1,bottomslope
	stwr %r3,attackrange
;P_AimLineAttack+144
	stdr %gz,linetarget
	ldar %r12,PTR_AimTraverse
	ldi %r11,3
;P_AimLineAttack+160
	callr %r6,P_PathTraverse
	lddzr %r1,linetarget
	ldwzr %r2,aimslope
;P_AimLineAttack+176
	cmovdeq %r1,%r1,%gz,%r2
	retf 0
	nop 0
;P_LineAttack
	alloc 14
	lddzr %r6,finecosine
	srliw %r2,%r2,19
;P_LineAttack+16
	stdr %r1,shootthing
	stwr %r5,la_damage
	ldwzx.xuw %r5,%r6,%r2,2,0
;P_LineAttack+32
	ldwz %r8,%r1,24
	sraiw %r6,%r3,16
	mulws %r5,%r5,%r6
;P_LineAttack+48
	addws %r10,%r5,%r8
	ldafr %r5,finesine
	ldwzx.xuw %r2,%r5,%r2,2,0
;P_LineAttack+64
	ldwz %r9,%r1,28
	ldwz %r5,%r1,108
	ldwz %r1,%r1,32
;P_LineAttack+80
	mulws %r2,%r2,%r6
	addws %r11,%r2,%r9
	sraiw %r2,%r5,1
;P_LineAttack+96
	addws %r1,%r1,%r2
	addiws %r1,%r1,524288
	stwr %r1,shootz
;P_LineAttack+112
	stwr %r3,attackrange
	stwr %r4,aimslope
	ldar %r13,PTR_ShootTraverse
;P_LineAttack+128
	ldi %r12,3
	callr %r7,P_PathTraverse
	retf 0
;PTR_UseTraverse
	alloc 7
	lddz %r6,%r1,8
	ldhz %r2,%r6,26
;PTR_UseTraverse+16
	bweq %r2,%gz,PTR_UseTraverse+80
	lddzr %r2,usething
	ldwz %r4,%r2,24
;PTR_UseTraverse+32
	ldwz %r5,%r2,28
	callr %r3,P_PointOnLineSide
	cmpweqi %r6,%r4,1
;PTR_UseTraverse+48
	lddzr %r4,usething
	lddz %r5,%r1,8
	callr %r3,P_UseSpecialLine
;PTR_UseTraverse+64
	mov %r1,%gz
	retf 0
	nop 0
;PTR_UseTraverse+80
	callr %r5,P_LineOpening
	ldwzr %r1,openrange
	bwle %r1,%gz,PTR_UseTraverse+112
;PTR_UseTraverse+96
	ldi %r1,1
	retf 0
	nop 0
;PTR_UseTraverse+112
	lddzr %r5,usething
	ldi %r6,81
	callr %r4,S_StartSound
;PTR_UseTraverse+128
	mov %r1,%gz
	retf 0
	nop 0
;P_UseLines
	alloc 11
	lddz %r1,%r1,0
	stdr %r1,usething
;P_UseLines+16
	ldwz %r2,%r1,56
	lddzr %r3,finecosine
	srliw %r2,%r2,19
;P_UseLines+32
	ldwz %r5,%r1,24
	ldwz %r6,%r1,28
	ldwzx.xuw %r1,%r3,%r2,2,0
;P_UseLines+48
	ldafr %r3,finesine
	ldwzx.xuw %r2,%r3,%r2,2,0
	sladdws %r7,%r5,%r1,6
;P_UseLines+64
	sladdws %r8,%r6,%r2,6
	ldar %r10,PTR_UseTraverse
	ldi %r9,1
;P_UseLines+80
	callr %r4,P_PathTraverse
	retf 0
	nop 0
;PIT_RadiusAttack
	alloc 11
	ldbz %r2,%r1,160
	bbci %r2,2,PIT_RadiusAttack+160
;PIT_RadiusAttack+16
	ldwz %r2,%r1,128
	bweqi %r2,19,PIT_RadiusAttack+160
	bweqi %r2,21,PIT_RadiusAttack+160
;PIT_RadiusAttack+32
	lddzr %r10,bombspot
	ldwz %r2,%r1,24
	ldwz %r3,%r10,24
;PIT_RadiusAttack+48
	ldwz %r4,%r1,28
	ldwz %r5,%r10,28
	absdw %r2,%r3,%r2
;PIT_RadiusAttack+64
	ldwz %r3,%r1,104
	absdw %r4,%r5,%r4
	maxuw %r2,%r2,%r4
;PIT_RadiusAttack+80
	ldwzr %r4,bombdamage
	subws %r2,%r2,%r3
	sraiw %r2,%r2,16
;PIT_RadiusAttack+96
	maxsw %r3,%r2,%gz
	bwle %r4,%r3,PIT_RadiusAttack+160
	mov %r9,%r1
;PIT_RadiusAttack+112
	callr %r8,P_CheckSight
	bweq %r9,%gz,PIT_RadiusAttack+160
	ldwzr %r2,bombdamage
;PIT_RadiusAttack+128
	lddzr %r8,bombspot
	lddzr %r9,bombsource
	subws %r10,%r2,%r3
;PIT_RadiusAttack+144
	mov %r7,%r1
	callr %r6,P_DamageMobj
	nop 0
;PIT_RadiusAttack+160
	ldi %r1,1
	retf 0
	nop 0
;P_RadiusAttack
	alloc 13
	ldwz %r4,%r1,28
	ldwzr %r6,bmaporgy
;P_RadiusAttack+16
	sladdws %r5,%r4,%r3,16
	subws %r5,%r5,%r6
	sraiw %r5,%r5,23
;P_RadiusAttack+32
	sladdws %r6,%r6,%r3,16
	subws %r4,%r4,%r6
	sraiw %r4,%r4,23
;P_RadiusAttack+48
	ldwz %r7,%r1,24
	ldwzr %r8,bmaporgx
	stdr %r1,bombspot
;P_RadiusAttack+64
	stdr %r2,bombsource
	stwr %r3,bombdamage
	bwle %r4,%r5,P_RadiusAttack+96
;P_RadiusAttack+80
	retf 0
	nop 0
	nop 0
;P_RadiusAttack+96
	sladdws %r1,%r7,%r3,16
	subws %r1,%r1,%r8
	sraiw %r6,%r1,23
;P_RadiusAttack+112
	sladdws %r1,%r8,%r3,16
	subws %r1,%r7,%r1
	sraiw %r7,%r1,23
;P_RadiusAttack+128
	ldar %r1,PIT_RadiusAttack
	jmp P_RadiusAttack+160
	nop 0
;P_RadiusAttack+144
	addiws %r4,%r2,1
	bwle %r5,%r2,P_RadiusAttack+80
	nop 0
;P_RadiusAttack+160
	mov %r2,%r4
	bwlt %r6,%r7,P_RadiusAttack+144
	mov %r4,%r7
;P_RadiusAttack+176
	mov2 %r3,%r10,%r4,%r4
	mov2 %r11,%r12,%r2,%r1
	callr %r9,P_BlockThingsIterator
;P_RadiusAttack+192
	addiws %r4,%r4,1
	bwlt %r3,%r6,P_RadiusAttack+176
	jmp P_RadiusAttack+144
;PIT_ChangeSector
	alloc 9
	mov %r8,%r1
	callr %r7,P_ThingHeightClip
;PIT_ChangeSector+16
	bweq %r8,%gz,PIT_ChangeSector+48
	nop 0
	nop 0
;PIT_ChangeSector+32
	ldi %r1,1
	retf 0
	nop 0
;PIT_ChangeSector+48
	ldwz %r2,%r1,164
	bwle %r2,%gz,PIT_ChangeSector+272
	ldwz %r2,%r1,160
;PIT_ChangeSector+64
	bbsi %r2,17,PIT_ChangeSector+320
	bbci %r2,2,PIT_ChangeSector+32
	ldwzr %r2,crushchange
;PIT_ChangeSector+80
	ldi %r3,1
	stwr %r3,nofit
	bweq %r2,%gz,PIT_ChangeSector+32
;PIT_ChangeSector+96
	ldbzr %r2,leveltime
	andi %r2,%r2,3
	bwne %r2,%gz,PIT_ChangeSector+32
;PIT_ChangeSector+112
	ldi %r8,10
	mov2 %r5,%r6,%r1,%gz
	mov %r7,%gz
;PIT_ChangeSector+128
	callr %r4,P_DamageMobj
	ldwz %r2,%r1,108
	ldwz %r5,%r1,24
;PIT_ChangeSector+144
	ldwz %r6,%r1,28
	ldwz %r1,%r1,32
	srliw %r3,%r2,31
;PIT_ChangeSector+160
	addws %r2,%r2,%r3
	sraiw %r2,%r2,1
	addws %r7,%r2,%r1
;PIT_ChangeSector+176
	ldi %r8,38
	callr %r4,P_SpawnMobj
	callr %r7,P_Random
;PIT_ChangeSector+192
	mov %r1,%r8
	callr %r7,P_Random
	subws %r1,%r1,%r8
;PIT_ChangeSector+208
	slliw %r1,%r1,12
	stw %r1,%r5,112
	callr %r7,P_Random
;PIT_ChangeSector+224
	mov %r1,%r8
	callr %r7,P_Random
	subws %r1,%r1,%r8
;PIT_ChangeSector+240
	slliw %r1,%r1,12
	stw %r1,%r5,116
	ldi %r1,1
;PIT_ChangeSector+256
	retf 0
	nop 0
	nop 0
;PIT_ChangeSector+272
	ldi %r8,895
	mov %r7,%r1
	callr %r6,P_SetMobjState
;PIT_ChangeSector+288
	ldwz %r2,%r1,160
	andi %r2,%r2,-3
	stw %r2,%r1,160
;PIT_ChangeSector+304
	std %gz,%r1,104
	ldi %r1,1
	retf 0
;PIT_ChangeSector+320
	mov %r8,%r1
	callr %r7,P_RemoveMobj
	ldi %r1,1
;PIT_ChangeSector+336
	retf 0
	nop 0
	nop 0
;P_ChangeSector
	alloc 12
	stwr %gz,nofit
	stwr %r2,crushchange
;P_ChangeSector+16
	ldwz %r6,%r1,40
	ldwz %r4,%r1,44
	mov %r2,%gz
;P_ChangeSector+32
	bwlt %r4,%r6,P_ChangeSector+160
	ldwz %r5,%r1,32
	ldar %r2,PIT_ChangeSector
;P_ChangeSector+48
	jmp P_ChangeSector+80
	nop 0
	nop 0
;P_ChangeSector+64
	addiws %r6,%r3,1
	bwle %r4,%r3,P_ChangeSector+144
	nop 0
;P_ChangeSector+80
	ldwz %r7,%r1,36
	mov %r3,%r6
	bwlt %r5,%r7,P_ChangeSector+64
;P_ChangeSector+96
	mov2 %r4,%r9,%r7,%r3
	mov2 %r10,%r11,%r7,%r2
	callr %r8,P_BlockThingsIterator
;P_ChangeSector+112
	ldwz %r5,%r1,32
	addiws %r7,%r7,1
	bwlt %r4,%r5,P_ChangeSector+96
;P_ChangeSector+128
	ldwz %r4,%r1,44
	jmp P_ChangeSector+64
	nop 0
;P_ChangeSector+144
	ldwzr %r2,nofit
	nop 0
	nop 0
;P_ChangeSector+160
	mov %r1,%r2
	retf 0
	nop 0
;P_AproxDistance
	alloc 4
	absdw %r1,%r1,%gz
	absdw %r2,%r2,%gz
;P_AproxDistance+16
	addws %r3,%r2,%r1
	minuw %r1,%r1,%r2
	srliw %r1,%r1,1
;P_AproxDistance+32
	subws %r1,%r3,%r1
	retf 0
	nop 0
;P_PointOnLineSide
	alloc 7
	ldwz %r4,%r3,16
	bweq %r4,%gz,P_PointOnLineSide+96
;P_PointOnLineSide+16
	ldwz %r5,%r3,20
	lddz %r3,%r3,0
	bweq %r5,%gz,P_PointOnLineSide+128
;P_PointOnLineSide+32
	ldwz %r6,%r3,0
	ldwz %r3,%r3,4
	sraiw %r5,%r5,16
;P_PointOnLineSide+48
	subws %r1,%r1,%r6
	mul %r1,%r1,%r5
	srli %r1,%r1,16
;P_PointOnLineSide+64
	subws %r2,%r2,%r3
	sraiw %r3,%r4,16
	mul %r2,%r2,%r3
;P_PointOnLineSide+80
	srli %r2,%r2,16
	cmpwle %r1,%r1,%r2
	retf 0
;P_PointOnLineSide+96
	lddz %r2,%r3,0
	ldwz %r4,%r2,0
	ldwz %r2,%r3,20
;P_PointOnLineSide+112
	bwle %r1,%r4,P_PointOnLineSide+160
	srliw %r1,%r2,31
	retf 0
;P_PointOnLineSide+128
	ldwz %r1,%r3,4
	bwle %r2,%r1,P_PointOnLineSide+176
	cmpwgti %r1,%r4,0
;P_PointOnLineSide+144
	retf 0
	nop 0
	nop 0
;P_PointOnLineSide+160
	cmpwgti %r1,%r2,0
	retf 0
	nop 0
;P_PointOnLineSide+176
	srliw %r1,%r4,31
	retf 0
	nop 0
;P_BoxOnLineSide
	alloc 10
	ldwz %r3,%r2,52
	bdgeui %r3,4,P_BoxOnLineSide+256
;P_BoxOnLineSide+16
	ldafr %r4,.rodata+35972
	jmpt %r4,%r3
	nop 0
;P_BoxOnLineSide+32
	lddz %r3,%r2,0
	ldwz %r4,%r1,0
	ldwz %r5,%r3,4
;P_BoxOnLineSide+48
	ldwz %r1,%r1,4
	ldwz %r2,%r2,16
	cmpwlt %r3,%r5,%r4
;P_BoxOnLineSide+64
	cmpwlt %r7,%r5,%r1
	bwgei %r2,0,P_BoxOnLineSide+272
	jmp P_BoxOnLineSide+240
;P_BoxOnLineSide+80
	ldwz %r7,%r1,8
	ldwz %r8,%r1,0
	mov %r9,%r2
;P_BoxOnLineSide+96
	callr %r6,P_PointOnLineSide
	mov %r3,%r7
	ldwz %r7,%r1,12
;P_BoxOnLineSide+112
	jmp P_BoxOnLineSide+160
	nop 0
	nop 0
;P_BoxOnLineSide+128
	ldwz %r7,%r1,12
	ldwz %r8,%r1,0
	mov %r9,%r2
;P_BoxOnLineSide+144
	callr %r6,P_PointOnLineSide
	mov %r3,%r7
	ldwz %r7,%r1,8
;P_BoxOnLineSide+160
	ldwz %r8,%r1,4
	mov %r9,%r2
	callr %r6,P_PointOnLineSide
;P_BoxOnLineSide+176
	jmp P_BoxOnLineSide+272
	nop 0
	nop 0
;P_BoxOnLineSide+192
	lddz %r3,%r2,0
	ldwz %r4,%r1,12
	ldwz %r5,%r3,0
;P_BoxOnLineSide+208
	ldwz %r1,%r1,8
	ldwz %r2,%r2,20
	cmpwlt %r3,%r4,%r5
;P_BoxOnLineSide+224
	cmpwlt %r7,%r1,%r5
	bwgei %r2,0,P_BoxOnLineSide+272
	nop 0
;P_BoxOnLineSide+240
	xori %r3,%r3,1
	xori %r7,%r7,1
	jmp P_BoxOnLineSide+272
;P_BoxOnLineSide+256
	mov2 %r3,%r7,%gz,%gz
	nop 0
	nop 0
;P_BoxOnLineSide+272
	cmpweq %r1,%r3,%r7
	ldi %r2,-1
	cmovlsb %r1,%r1,%r3,%r2
;P_BoxOnLineSide+288
	retf 0
	nop 0
	nop 0
;P_PointOnDivlineSide
	alloc 8
	ldwz %r4,%r3,8
	bweq %r4,%gz,P_PointOnDivlineSide+128
;P_PointOnDivlineSide+16
	ldwz %r5,%r3,12
	bweq %r5,%gz,P_PointOnDivlineSide+160
	ldwz %r6,%r3,0
;P_PointOnDivlineSide+32
	ldwz %r7,%r3,4
	subws %r3,%r1,%r6
	subws %r1,%r2,%r7
;P_PointOnDivlineSide+48
	xor %r2,%r5,%r4
	xor %r2,%r2,%r3
	xor %r2,%r2,%r1
;P_PointOnDivlineSide+64
	bwlti %r2,0,P_PointOnDivlineSide+208
	sraiw %r2,%r5,8
	sraiw %r3,%r3,8
;P_PointOnDivlineSide+80
	mul %r2,%r3,%r2
	srli %r2,%r2,16
	sraiw %r1,%r1,8
;P_PointOnDivlineSide+96
	sraiw %r3,%r4,8
	mul %r1,%r1,%r3
	srli %r1,%r1,16
;P_PointOnDivlineSide+112
	cmpwle %r1,%r2,%r1
	retf 0
	nop 0
;P_PointOnDivlineSide+128
	ldwz %r4,%r3,0
	ldwz %r2,%r3,12
	bwle %r1,%r4,P_PointOnDivlineSide+192
;P_PointOnDivlineSide+144
	srliw %r1,%r2,31
	retf 0
	nop 0
;P_PointOnDivlineSide+160
	ldwz %r1,%r3,4
	bwle %r2,%r1,P_PointOnDivlineSide+224
	cmpwgti %r1,%r4,0
;P_PointOnDivlineSide+176
	retf 0
	nop 0
	nop 0
;P_PointOnDivlineSide+192
	cmpwgti %r1,%r2,0
	retf 0
	nop 0
;P_PointOnDivlineSide+208
	xor %r1,%r3,%r5
	srliw %r1,%r1,31
	retf 0
;P_PointOnDivlineSide+224
	srliw %r1,%r4,31
	retf 0
	nop 0
;P_MakeDivline
	alloc 5
	lddz %r3,%r1,0
	ldwz %r4,%r3,0
;P_MakeDivline+16
	stw %r4,%r2,0
	ldwz %r3,%r3,4
	stw %r3,%r2,4
;P_MakeDivline+32
	ldwz %r3,%r1,16
	stw %r3,%r2,8
	ldwz %r1,%r1,20
;P_MakeDivline+48
	stw %r1,%r2,12
	retf 0
	nop 0
;P_InterceptVector
	alloc 12
	ldwz %r3,%r2,12
	ldws %r5,%r1,8
;P_InterceptVector+16
	sraiw %r6,%r3,8
	ldwz %r4,%r2,8
	ldws %r7,%r1,12
;P_InterceptVector+32
	mul %r5,%r5,%r6
	srli %r5,%r5,16
	sraiw %r6,%r4,8
;P_InterceptVector+48
	mul %r6,%r7,%r6
	srli %r6,%r6,16
	mov %r10,%gz
;P_InterceptVector+64
	bweq %r5,%r6,P_InterceptVector+160
	ldwz %r7,%r2,0
	ldwz %r8,%r1,0
;P_InterceptVector+80
	subws %r11,%r5,%r6
	subws %r5,%r7,%r8
	sraiw %r5,%r5,8
;P_InterceptVector+96
	ldwz %r1,%r1,4
	ldwz %r2,%r2,4
	sraiw %r3,%r3,0
;P_InterceptVector+112
	mul %r3,%r5,%r3
	srli %r3,%r3,16
	subws %r1,%r1,%r2
;P_InterceptVector+128
	sraiw %r1,%r1,8
	sraiw %r2,%r4,0
	mul %r1,%r1,%r2
;P_InterceptVector+144
	srli %r1,%r1,16
	addws %r10,%r1,%r3
	callr %r9,FixedDiv
;P_InterceptVector+160
	mov %r1,%r10
	retf 0
	nop 0
;P_LineOpening
	alloc 7
	ldhz %r2,%r1,32
	nop 2
;P_LineOpening+16
	bweqi.l %r2,65535,P_LineOpening+128
	lddz %r2,%r1,56
;P_LineOpening+32
	lddz %r1,%r1,64
	ldwz %r3,%r2,4
	ldwz %r4,%r1,4
;P_LineOpening+48
	minsw %r3,%r3,%r4
	stwr %r3,opentop
	ldwz %r4,%r2,0
;P_LineOpening+64
	ldwz %r5,%r1,0
	cmpwlt %r6,%r5,%r4
	maxsw %r4,%r4,%r5
;P_LineOpening+80
	stwr %r4,openbottom
	cmovlsb %r1,%r6,%r1,%r2
	ldwz %r1,%r1,0
;P_LineOpening+96
	stwr %r1,lowfloor
	subws %r1,%r3,%r4
	stwr %r1,openrange
;P_LineOpening+112
	retf 0
	nop 0
	nop 0
;P_LineOpening+128
	stwr %gz,openrange
	retf 0
	nop 0
;P_UnsetThingPosition
	alloc 6
	ldwz %r2,%r1,160
	bbsi %r2,3,P_UnsetThingPosition+64
;P_UnsetThingPosition+16
	lddz %r3,%r1,40
	lddz %r4,%r1,48
	bdeq %r3,%gz,P_UnsetThingPosition+48
;P_UnsetThingPosition+32
	std %r4,%r3,48
	nop 0
	nop 0
;P_UnsetThingPosition+48
	bdeq %r4,%gz,P_UnsetThingPosition+128
	std %r3,%r4,40
	nop 0
;P_UnsetThingPosition+64
	bbsi %r2,4,P_UnsetThingPosition+160
	nop 0
	nop 0
;P_UnsetThingPosition+80
	lddz %r2,%r1,72
	lddz %r3,%r1,80
	bdeq %r2,%gz,P_UnsetThingPosition+112
;P_UnsetThingPosition+96
	std %r3,%r2,80
	nop 0
	nop 0
;P_UnsetThingPosition+112
	bdeq %r3,%gz,P_UnsetThingPosition+176
	std %r2,%r3,72
	retf 0
;P_UnsetThingPosition+128
	lddz %r4,%r1,88
	lddz %r4,%r4,0
	std %r3,%r4,96
;P_UnsetThingPosition+144
	bbci %r2,4,P_UnsetThingPosition+80
	nop 0
	nop 0
;P_UnsetThingPosition+160
	retf 0
	nop 0
	nop 0
;P_UnsetThingPosition+176
	ldwz %r3,%r1,24
	ldwzr %r4,bmaporgx
	subws %r3,%r3,%r4
;P_UnsetThingPosition+192
	sraiw %r3,%r3,23
	bwlt %r3,%gz,P_UnsetThingPosition+160
	ldwzr %r4,bmapwidth
;P_UnsetThingPosition+208
	bwle %r4,%r3,P_UnsetThingPosition+160
	ldwz %r1,%r1,28
	ldwzr %r5,bmaporgy
;P_UnsetThingPosition+224
	subws %r1,%r1,%r5
	sraiw %r1,%r1,23
	bwlt %r1,%gz,P_UnsetThingPosition+160
;P_UnsetThingPosition+240
	ldwzr %r5,bmapheight
	bwle %r5,%r1,P_UnsetThingPosition+160
	lddzr %r5,blocklinks
;P_UnsetThingPosition+256
	mulws %r1,%r4,%r1
	addws %r1,%r1,%r3
	stdx.xuw %r2,%r5,%r1,3,0
;P_UnsetThingPosition+272
	retf 0
	nop 0
	nop 0
;P_SetThingPosition
	alloc 9
	ldwz %r7,%r1,24
	ldwz %r8,%r1,28
;P_SetThingPosition+16
	callr %r6,R_PointInSubsector
	std %r7,%r1,88
	ldwz %r2,%r1,160
;P_SetThingPosition+32
	bbsi %r2,3,P_SetThingPosition+96
	lddz %r3,%r7,0
	std %gz,%r1,48
;P_SetThingPosition+48
	lddz %r4,%r3,96
	std %r4,%r1,40
	bdeq %r4,%gz,P_SetThingPosition+80
;P_SetThingPosition+64
	std %r1,%r4,48
	nop 0
	nop 0
;P_SetThingPosition+80
	std %r1,%r3,96
	nop 0
	nop 0
;P_SetThingPosition+96
	bbsi %r2,4,P_SetThingPosition+256
	ldwz %r2,%r1,24
	ldwzr %r3,bmaporgx
;P_SetThingPosition+112
	subws %r2,%r2,%r3
	sraiw %r2,%r2,23
	bwlt %r2,%gz,P_SetThingPosition+240
;P_SetThingPosition+128
	ldwzr %r3,bmapwidth
	bwle %r3,%r2,P_SetThingPosition+240
	ldwz %r4,%r1,28
;P_SetThingPosition+144
	ldwzr %r5,bmaporgy
	subws %r4,%r4,%r5
	sraiw %r4,%r4,23
;P_SetThingPosition+160
	bwlt %r4,%gz,P_SetThingPosition+240
	ldwzr %r5,bmapheight
	bwle %r5,%r4,P_SetThingPosition+240
;P_SetThingPosition+176
	lddzr %r5,blocklinks
	mulws %r3,%r3,%r4
	addws %r3,%r3,%r2
;P_SetThingPosition+192
	ldax.xuw %r2,%r5,%r3,3,0
	std %gz,%r1,80
	lddzx.xuw %r3,%r5,%r3,3,0
;P_SetThingPosition+208
	std %r3,%r1,72
	bdeq %r3,%gz,P_SetThingPosition+224
	std %r1,%r3,80
;P_SetThingPosition+224
	std %r1,%r2,0
	retf 0
	nop 0
;P_SetThingPosition+240
	std %gz,%r1,80
	std %gz,%r1,72
	nop 0
;P_SetThingPosition+256
	retf 0
	nop 0
	nop 0
;P_BlockLinesIterator
	alloc 11
	mov %r4,%r1
	or %r5,%r2,%r1
;P_BlockLinesIterator+16
	ldi %r1,1
	bwlt %r5,%gz,P_BlockLinesIterator+224
	ldwzr %r5,bmapwidth
;P_BlockLinesIterator+32
	bwle %r5,%r4,P_BlockLinesIterator+224
	ldwzr %r6,bmapheight
	bwle %r6,%r2,P_BlockLinesIterator+224
;P_BlockLinesIterator+48
	lddzr %r6,blockmap
	mulws %r2,%r5,%r2
	addws %r2,%r2,%r4
;P_BlockLinesIterator+64
	ldhsx.xuw %r4,%r6,%r2,1,0
	lddzr %r5,blockmaplump
	ldhzx.xd %r7,%r5,%r4,1,0
;P_BlockLinesIterator+80
	bweqi.l %r7,65535,P_BlockLinesIterator+224
	lddzr %r2,lines
;P_BlockLinesIterator+96
	ldwzr %r6,validcount
	ldax.xd %r4,%r5,%r4,1,2
	ldi %r5,88
;P_BlockLinesIterator+112
	jmp P_BlockLinesIterator+160
	nop 0
	nop 0
;P_BlockLinesIterator+128
	ldhz %r7,%r4,0
	addi %r4,%r4,2
	nop 2
;P_BlockLinesIterator+144
	bweqi.l %r7,65535,P_BlockLinesIterator+224
	nop 0
;P_BlockLinesIterator+160
	slsrai %r7,%r7,48,48
	muli %r8,%r7,88
	ldwzx.xd %r8,%r2,%r8,0,72
;P_BlockLinesIterator+176
	bweq %r8,%r6,P_BlockLinesIterator+128
	muladd %r10,%r7,%r5,%r2
	stw %r6,%r10,72
;P_BlockLinesIterator+192
	callri %r9,%r3,%gz
	bweq %r10,%gz,P_BlockLinesIterator+240
	lddzr %r2,lines
;P_BlockLinesIterator+208
	ldwzr %r6,validcount
	jmp P_BlockLinesIterator+128
	nop 0
;P_BlockLinesIterator+224
	retf 0
	nop 0
	nop 0
;P_BlockLinesIterator+240
	mov %r1,%gz
	retf 0
	nop 0
;P_BlockThingsIterator
	alloc 9
	mov %r4,%r1
	or %r5,%r2,%r1
;P_BlockThingsIterator+16
	ldi %r1,1
	bwlt %r5,%gz,P_BlockThingsIterator+112
	ldwzr %r5,bmapwidth
;P_BlockThingsIterator+32
	bwle %r5,%r4,P_BlockThingsIterator+112
	ldwzr %r6,bmapheight
	bwle %r6,%r2,P_BlockThingsIterator+112
;P_BlockThingsIterator+48
	lddzr %r6,blocklinks
	mulws %r2,%r5,%r2
	addws %r2,%r2,%r4
;P_BlockThingsIterator+64
	lddzx.xuw %r2,%r6,%r2,3,0
	bdeq %r2,%gz,P_BlockThingsIterator+112
	nop 0
;P_BlockThingsIterator+80
	mov %r8,%r2
	callri %r7,%r3,%gz
	bweq %r8,%gz,P_BlockThingsIterator+128
;P_BlockThingsIterator+96
	lddz %r2,%r2,72
	bdne %r2,%gz,P_BlockThingsIterator+80
	nop 0
;P_BlockThingsIterator+112
	retf 0
	nop 0
	nop 0
;P_BlockThingsIterator+128
	mov %r1,%gz
	retf 0
	nop 0
;PIT_AddLineIntercepts
	allocsp 11,16
	ldwzr %r5,trace+8
	nop 2
;PIT_AddLineIntercepts+16
	addiws.l %r2,%r5,-1048577
	nop 2
;PIT_AddLineIntercepts+32
	bwltui.l %r2,4292870143,PIT_AddLineIntercepts+160
	ldwzr %r6,trace+12
;PIT_AddLineIntercepts+48
	addiws.l %r2,%r6,-1048577
	nop 2
;PIT_AddLineIntercepts+64
	bwltui.l %r2,1099509530623,PIT_AddLineIntercepts+160
	ldwzr %r2,trace
;PIT_AddLineIntercepts+80
	ldwzr %r4,trace+4
	mov2 %r8,%r9,%r2,%r4
	mov %r10,%r1
;PIT_AddLineIntercepts+96
	callr %r7,P_PointOnLineSide
	mov %r3,%r8
	addws %r8,%r2,%r5
;PIT_AddLineIntercepts+112
	addws %r9,%r4,%r6
	mov %r10,%r1
	callr %r7,P_PointOnLineSide
;PIT_AddLineIntercepts+128
	ldi %r2,1
	bwne %r3,%r8,PIT_AddLineIntercepts+240
	nop 0
;PIT_AddLineIntercepts+144
	mov %r1,%r2
	retf 16
	nop 0
;PIT_AddLineIntercepts+160
	lddz %r2,%r1,0
	ldwz %r8,%r2,0
	ldwz %r9,%r2,4
;PIT_AddLineIntercepts+176
	ldafr %r2,trace
	mov %r10,%r2
	callr %r7,P_PointOnDivlineSide
;PIT_AddLineIntercepts+192
	lddz %r4,%r1,8
	mov %r3,%r8
	ldwz %r8,%r4,0
;PIT_AddLineIntercepts+208
	ldwz %r9,%r4,4
	mov %r10,%r2
	callr %r7,P_PointOnDivlineSide
;PIT_AddLineIntercepts+224
	ldi %r2,1
	bweq %r3,%r8,PIT_AddLineIntercepts+144
	nop 0
;PIT_AddLineIntercepts+240
	lddz %r3,%r1,0
	ldwz %r4,%r3,0
	stw %r4,%sp,0
;PIT_AddLineIntercepts+256
	ldwz %r3,%r3,4
	stw %r3,%sp,4
	ldwz %r3,%r1,16
;PIT_AddLineIntercepts+272
	stw %r3,%sp,8
	ldwz %r3,%r1,20
	stw %r3,%sp,12
;PIT_AddLineIntercepts+288
	ldafr %r9,trace
	addi %r10,%sp,0
	callr %r8,P_InterceptVector
;PIT_AddLineIntercepts+304
	bwlt %r9,%gz,PIT_AddLineIntercepts+144
	bwgeui.l %r9,65536,PIT_AddLineIntercepts+352
;PIT_AddLineIntercepts+320
	ldwzr %r2,earlyout
	bweq %r2,%gz,PIT_AddLineIntercepts+352
	lddz %r2,%r1,64
;PIT_AddLineIntercepts+336
	bdeq %r2,%gz,PIT_AddLineIntercepts+432
	nop 0
	nop 0
;PIT_AddLineIntercepts+352
	lddzr %r10,intercept_p
	stw %r9,%r10,0
	ldi %r2,1
;PIT_AddLineIntercepts+368
	stw %r2,%r10,4
	std %r1,%r10,8
	ldafr %r1,intercepts
;PIT_AddLineIntercepts+384
	sub %r1,%r10,%r1
	srli %r9,%r1,4
	callr %r8,InterceptsOverrun
;PIT_AddLineIntercepts+400
	lddzr %r1,intercept_p
	addi %r1,%r1,16
	stdr %r1,intercept_p
;PIT_AddLineIntercepts+416
	mov %r1,%r2
	retf 16
	nop 0
;PIT_AddLineIntercepts+432
	mov %r1,%gz
	retf 16
	nop 0
;InterceptsOverrun
	alloc 10
	bwlti %r1,129,InterceptsOverrun+512
	mulwsi %r3,%r1,12
;InterceptsOverrun+16
	addiws %r5,%r3,-1548
	ldwz %r4,%r2,0
	ldafr %r1,intercepts_overrun+24
;InterceptsOverrun+32
	bwgei %r5,4,InterceptsOverrun+64
	mov %r6,%gz
	ldafr %r8,intercepts_overrun
;InterceptsOverrun+48
	lddz %r7,%r8,8
	bdne %r7,%gz,InterceptsOverrun+144
	jmp InterceptsOverrun+240
;InterceptsOverrun+64
	mov %r7,%gz
	ldi %r9,4
	nop 0
;InterceptsOverrun+80
	addi %r8,%r7,24
	bdeqi %r8,528,InterceptsOverrun+240
	mov %r6,%r9
;InterceptsOverrun+96
	ldwzx.xd %r7,%r7,%r1,0,0
	addws %r9,%r9,%r7
	mov %r7,%r8
;InterceptsOverrun+112
	bwle %r9,%r5,InterceptsOverrun+80
	ldafr %r7,intercepts_overrun
	add %r8,%r8,%r7
;InterceptsOverrun+128
	lddz %r7,%r8,8
	bdeq %r7,%gz,InterceptsOverrun+240
	nop 0
;InterceptsOverrun+144
	ldwz %r8,%r8,16
	subws %r5,%r5,%r6
	bweq %r8,%gz,InterceptsOverrun+208
;InterceptsOverrun+160
	srliw %r6,%r5,31
	addws %r5,%r5,%r6
	sraiw %r5,%r5,1
;InterceptsOverrun+176
	sthx.xw %r4,%r7,%r5,1,0
	srliw %r4,%r4,16
	sthx.xw %r4,%r7,%r5,1,2
;InterceptsOverrun+192
	jmp InterceptsOverrun+240
	nop 0
	nop 0
;InterceptsOverrun+208
	sraiw %r6,%r5,31
	srliw %r6,%r6,30
	addws %r5,%r5,%r6
;InterceptsOverrun+224
	sraiw %r5,%r5,2
	stwx.xw %r4,%r7,%r5,2,0
	nop 0
;InterceptsOverrun+240
	addiws %r5,%r3,-1544
	ldwz %r4,%r2,4
	bwgei %r5,4,InterceptsOverrun+288
;InterceptsOverrun+256
	mov %r6,%gz
	ldafr %r8,intercepts_overrun
	lddz %r7,%r8,8
;InterceptsOverrun+272
	bdne %r7,%gz,InterceptsOverrun+368
	jmp InterceptsOverrun+464
	nop 0
;InterceptsOverrun+288
	mov %r7,%gz
	ldi %r9,4
	nop 0
;InterceptsOverrun+304
	addi %r8,%r7,24
	bdeqi %r8,528,InterceptsOverrun+464
	mov %r6,%r9
;InterceptsOverrun+320
	ldwzx.xd %r7,%r7,%r1,0,0
	addws %r9,%r9,%r7
	mov %r7,%r8
;InterceptsOverrun+336
	bwle %r9,%r5,InterceptsOverrun+304
	ldafr %r7,intercepts_overrun
	add %r8,%r8,%r7
;InterceptsOverrun+352
	lddz %r7,%r8,8
	bdeq %r7,%gz,InterceptsOverrun+464
	nop 0
;InterceptsOverrun+368
	ldwz %r8,%r8,16
	subws %r5,%r5,%r6
	bweq %r8,%gz,InterceptsOverrun+432
;InterceptsOverrun+384
	srliw %r6,%r5,31
	addws %r5,%r5,%r6
	sraiw %r5,%r5,1
;InterceptsOverrun+400
	sthx.xw %r4,%r7,%r5,1,0
	srliw %r4,%r4,16
	sthx.xw %r4,%r7,%r5,1,2
;InterceptsOverrun+416
	jmp InterceptsOverrun+464
	nop 0
	nop 0
;InterceptsOverrun+432
	sraiw %r6,%r5,31
	srliw %r6,%r6,30
	addws %r5,%r5,%r6
;InterceptsOverrun+448
	sraiw %r5,%r5,2
	stwx.xw %r4,%r7,%r5,2,0
	nop 0
;InterceptsOverrun+464
	addiws %r3,%r3,-1540
	lddz %r2,%r2,8
	bwgei %r3,4,InterceptsOverrun+528
;InterceptsOverrun+480
	mov %r4,%gz
	ldafr %r5,intercepts_overrun
	lddz %r1,%r5,8
;InterceptsOverrun+496
	bdne %r1,%gz,InterceptsOverrun+608
	nop 0
	nop 0
;InterceptsOverrun+512
	retf 0
	nop 0
	nop 0
;InterceptsOverrun+528
	mov %r5,%gz
	ldi %r7,4
	nop 0
;InterceptsOverrun+544
	addi %r6,%r5,24
	bdeqi %r6,528,InterceptsOverrun+512
	mov %r4,%r7
;InterceptsOverrun+560
	ldwzx.xd %r5,%r5,%r1,0,0
	addws %r7,%r7,%r5
	mov %r5,%r6
;InterceptsOverrun+576
	bwle %r7,%r3,InterceptsOverrun+544
	ldafr %r1,intercepts_overrun
	add %r5,%r6,%r1
;InterceptsOverrun+592
	lddz %r1,%r5,8
	bdeq %r1,%gz,InterceptsOverrun+512
	nop 0
;InterceptsOverrun+608
	ldwz %r5,%r5,16
	subws %r3,%r3,%r4
	bweq %r5,%gz,InterceptsOverrun+672
;InterceptsOverrun+624
	srliw %r4,%r3,31
	addws %r3,%r3,%r4
	sraiw %r3,%r3,1
;InterceptsOverrun+640
	sthx.xw %r2,%r1,%r3,1,0
	srli %r2,%r2,16
	sthx.xw %r2,%r1,%r3,1,2
;InterceptsOverrun+656
	retf 0
	nop 0
	nop 0
;InterceptsOverrun+672
	sraiw %r4,%r3,31
	srliw %r4,%r4,30
	addws %r3,%r3,%r4
;InterceptsOverrun+688
	sraiw %r3,%r3,2
	stwx.xw %r2,%r1,%r3,2,0
	retf 0
;PIT_AddThingIntercepts
	allocsp 16,16
	ldwzr %r2,trace+8
	ldwzr %r3,trace+12
;PIT_AddThingIntercepts+16
	ldwz %r4,%r1,24
	ldwz %r7,%r1,104
	ldafr %r5,trace
;PIT_AddThingIntercepts+32
	xor %r9,%r3,%r2
	ldwz %r10,%r1,28
	subws %r2,%r4,%r7
;PIT_AddThingIntercepts+48
	subfiws %r11,%r7,0
	addws %r3,%r7,%r4
	cmovwle %r8,%r9,%r7,%r11
;PIT_AddThingIntercepts+64
	addws %r6,%r10,%r8
	cmovwle %r9,%r9,%r11,%r7
	addws %r4,%r10,%r9
;PIT_AddThingIntercepts+80
	mov2 %r13,%r14,%r2,%r4
	mov %r15,%r5
	callr %r12,P_PointOnDivlineSide
;PIT_AddThingIntercepts+96
	mov2 %r7,%r13,%r13,%r3
	mov2 %r14,%r15,%r6,%r5
	callr %r12,P_PointOnDivlineSide
;PIT_AddThingIntercepts+112
	bweq %r7,%r13,PIT_AddThingIntercepts+240
	stw %r2,%sp,0
	stw %r4,%sp,4
;PIT_AddThingIntercepts+128
	subws %r2,%r3,%r2
	stw %r2,%sp,8
	subws %r2,%r8,%r9
;PIT_AddThingIntercepts+144
	stw %r2,%sp,12
	ldafr %r14,trace
	addi %r15,%sp,0
;PIT_AddThingIntercepts+160
	callr %r13,P_InterceptVector
	bwlt %r14,%gz,PIT_AddThingIntercepts+240
	lddzr %r15,intercept_p
;PIT_AddThingIntercepts+176
	stw %r14,%r15,0
	stw %gz,%r15,4
	std %r1,%r15,8
;PIT_AddThingIntercepts+192
	ldafr %r1,intercepts
	sub %r1,%r15,%r1
	srli %r14,%r1,4
;PIT_AddThingIntercepts+208
	callr %r13,InterceptsOverrun
	lddzr %r1,intercept_p
	addi %r1,%r1,16
;PIT_AddThingIntercepts+224
	stdr %r1,intercept_p
	nop 0
	nop 0
;PIT_AddThingIntercepts+240
	ldi %r1,1
	retf 16
	nop 0
;P_TraverseIntercepts
	alloc 15
	lddzr %r3,intercept_p
	ldafr %r6,intercepts
;P_TraverseIntercepts+16
	sub %r3,%r3,%r6
	srli %r7,%r3,4
	mov %r3,%r1
;P_TraverseIntercepts+32
	ldi %r1,1
	bweq %r7,%gz,P_TraverseIntercepts+176
	mov %r4,%gz
;P_TraverseIntercepts+48
	ldi.l %r8,2147483647
	nop 0
;P_TraverseIntercepts+64
	lddzr %r9,intercept_p
	bdleu %r9,%r6,P_TraverseIntercepts+128
	mov2 %r10,%r5,%r6,%r8
;P_TraverseIntercepts+80
	ldwz %r11,%r10,0
	cmpwlt %r12,%r11,%r5
	cmovlsb %r4,%r12,%r10,%r4
;P_TraverseIntercepts+96
	addi %r10,%r10,16
	minsw %r5,%r11,%r5
	bdltu %r10,%r9,P_TraverseIntercepts+80
;P_TraverseIntercepts+112
	bwle %r5,%r2,P_TraverseIntercepts+144
	jmp P_TraverseIntercepts+176
	nop 0
;P_TraverseIntercepts+128
	mov %r5,%r8
	bwlt %r2,%r5,P_TraverseIntercepts+176
	nop 0
;P_TraverseIntercepts+144
	mov %r14,%r4
	callri %r13,%r3,%gz
	bweq %r14,%gz,P_TraverseIntercepts+192
;P_TraverseIntercepts+160
	addiws %r7,%r7,-1
	stw %r8,%r4,0
	bwne %r7,%gz,P_TraverseIntercepts+64
;P_TraverseIntercepts+176
	retf 0
	nop 0
	nop 0
;P_TraverseIntercepts+192
	mov %r1,%gz
	retf 0
	nop 0
;P_PathTraverse
	alloc 23
	ldwzr %r7,validcount
	andi %r8,%r5,4
;P_PathTraverse+16
	stwr %r8,earlyout
	ldwzr %r10,bmaporgx
	addiws %r7,%r7,1
;P_PathTraverse+32
	stwr %r7,validcount
	ldafr %r9,intercepts
	ldwzr %r11,bmaporgy
;P_PathTraverse+48
	subws %r7,%r1,%r10
	andi.l %r7,%r7,8388607
;P_PathTraverse+64
	addiws %r8,%r1,65536
	subws %r12,%r2,%r11
	nop 2
;P_PathTraverse+80
	andi.l %r12,%r12,8388607
	addiws %r13,%r2,65536
;P_PathTraverse+96
	stdr %r9,intercept_p
	cmovweq %r1,%r7,%r8,%r1
	cmovweq %r2,%r12,%r13,%r2
;P_PathTraverse+112
	stwr %r1,trace
	stwr %r2,trace+4
	subws %r7,%r3,%r1
;P_PathTraverse+128
	stwr %r7,trace+8
	subws %r7,%r4,%r2
	stwr %r7,trace+12
;P_PathTraverse+144
	subws %r7,%r1,%r10
	subws %r8,%r2,%r11
	sraiw %r1,%r7,23
;P_PathTraverse+160
	sraiw %r2,%r8,23
	subws %r14,%r3,%r10
	subws %r4,%r4,%r11
;P_PathTraverse+176
	sraiw %r10,%r14,23
	sraiw %r11,%r4,23
	bwle %r10,%r1,P_PathTraverse+224
;P_PathTraverse+192
	slsrli %r3,%r7,41,48
	subfiws %r13,%r3,65536
	ldi %r12,1
;P_PathTraverse+208
	jmp P_PathTraverse+240
	nop 0
	nop 0
;P_PathTraverse+224
	bwle %r1,%r10,P_PathTraverse+272
	slsrli %r13,%r7,41,48
	ldi %r12,-1
;P_PathTraverse+240
	subws %r21,%r4,%r8
	absdw %r22,%r7,%r14
	callr %r20,FixedDiv
;P_PathTraverse+256
	mov %r3,%r21
	srliw %r13,%r13,0
	jmp P_PathTraverse+288
;P_PathTraverse+272
	mov %r12,%gz
	ldi %r13,65536
	ldi %r3,16777216
;P_PathTraverse+288
	sraiw %r15,%r8,7
	sraiw %r16,%r3,0
	mul %r13,%r13,%r16
;P_PathTraverse+304
	srli %r16,%r13,16
	bwle %r11,%r2,P_PathTraverse+336
	andi %r13,%r15,65535
;P_PathTraverse+320
	subfiws %r17,%r13,65536
	ldi %r13,1
	jmp P_PathTraverse+352
;P_PathTraverse+336
	bwle %r2,%r11,P_PathTraverse+384
	andi %r17,%r15,65535
	ldi %r13,-1
;P_PathTraverse+352
	subws %r21,%r14,%r7
	absdw %r22,%r8,%r4
	callr %r20,FixedDiv
;P_PathTraverse+368
	mov %r4,%r21
	srliw %r17,%r17,0
	jmp P_PathTraverse+400
;P_PathTraverse+384
	mov %r13,%gz
	ldi %r17,65536
	ldi %r4,16777216
;P_PathTraverse+400
	mov %r8,%gz
	addws %r14,%r15,%r16
	sraiw %r7,%r7,7
;P_PathTraverse+416
	sraiw %r15,%r4,0
	mul %r15,%r17,%r15
	srli %r15,%r15,16
;P_PathTraverse+432
	addws %r15,%r7,%r15
	andi %r16,%r5,1
	andi %r17,%r5,2
;P_PathTraverse+448
	ldar %r5,PIT_AddLineIntercepts
	jmp P_PathTraverse+496
	nop 0
;P_PathTraverse+464
	addws %r14,%r14,%r3
	addws %r1,%r1,%r12
	nop 0
;P_PathTraverse+480
	addiws %r8,%r18,1
	bwgeui %r18,63,P_PathTraverse+688
	nop 0
;P_PathTraverse+496
	mov %r18,%r8
	bweq %r16,%gz,P_PathTraverse+528
	mov2 %r20,%r21,%r1,%r2
;P_PathTraverse+512
	mov %r22,%r5
	callr %r19,P_BlockLinesIterator
	bweq %r20,%gz,P_PathTraverse+864
;P_PathTraverse+528
	bweq %r17,%gz,P_PathTraverse+624
	or %r7,%r2,%r1
	bwlt %r7,%gz,P_PathTraverse+624
;P_PathTraverse+544
	ldwzr %r7,bmapwidth
	bwle %r7,%r1,P_PathTraverse+624
	ldwzr %r8,bmapheight
;P_PathTraverse+560
	bwle %r8,%r2,P_PathTraverse+624
	lddzr %r8,blocklinks
	mulws %r7,%r7,%r2
;P_PathTraverse+576
	addws %r7,%r7,%r1
	lddzx.xuw %r7,%r8,%r7,3,0
	bdeq %r7,%gz,P_PathTraverse+624
;P_PathTraverse+592
	mov %r22,%r7
	callr %r21,PIT_AddThingIntercepts
	bweq %r22,%gz,P_PathTraverse+864
;P_PathTraverse+608
	lddz %r7,%r7,72
	bdne %r7,%gz,P_PathTraverse+592
	nop 0
;P_PathTraverse+624
	bwne %r1,%r10,P_PathTraverse+640
	bweq %r2,%r11,P_PathTraverse+688
	nop 0
;P_PathTraverse+640
	sraiw %r7,%r14,16
	bweq %r7,%r2,P_PathTraverse+464
	sraiw %r7,%r15,16
;P_PathTraverse+656
	bwne %r7,%r1,P_PathTraverse+480
	addws %r15,%r15,%r4
	addws %r2,%r2,%r13
;P_PathTraverse+672
	jmp P_PathTraverse+480
	nop 0
	nop 0
;P_PathTraverse+688
	lddzr %r1,intercept_p
	sub %r1,%r1,%r9
	srli %r4,%r1,4
;P_PathTraverse+704
	ldi %r1,1
	bweq %r4,%gz,P_PathTraverse+848
	mov %r2,%gz
;P_PathTraverse+720
	ldi.l %r5,2147483647
	nop 0
;P_PathTraverse+736
	lddzr %r3,intercept_p
	bdleu %r3,%r9,P_PathTraverse+848
	addiws %r4,%r4,-1
;P_PathTraverse+752
	mov2 %r8,%r7,%r9,%r5
	nop 0
	nop 0
;P_PathTraverse+768
	ldwz %r10,%r8,0
	cmpwlt %r11,%r10,%r7
	cmovlsb %r2,%r11,%r8,%r2
;P_PathTraverse+784
	addi %r8,%r8,16
	minsw %r7,%r10,%r7
	bdltu %r8,%r3,P_PathTraverse+768
;P_PathTraverse+800
	bwgei.l %r7,65537,P_PathTraverse+848
	mov %r22,%r2
;P_PathTraverse+816
	callri %r21,%r6,%gz
	bweq %r22,%gz,P_PathTraverse+864
	stw %r5,%r2,0
;P_PathTraverse+832
	bwne %r4,%gz,P_PathTraverse+736
	nop 0
	nop 0
;P_PathTraverse+848
	retf 0
	nop 0
	nop 0
;P_PathTraverse+864
	mov %r1,%gz
	retf 0
	nop 0
;P_SetMobjState
	alloc 14
	mov %r3,%r1
	ldafr %r4,states
;P_SetMobjState+16
	ldi %r5,40
	ldafr %r6,states+8
	ldafr %r7,states+4
;P_SetMobjState+32
	ldafr %r8,states+16
	ldi %r1,1
	jmp P_SetMobjState+64
;P_SetMobjState+48
	ldwz %r2,%r9,24
	bwne %r10,%gz,P_SetMobjState+192
	nop 0
;P_SetMobjState+64
	bweq %r2,%gz,P_SetMobjState+160
	srliw %r2,%r2,0
	muladd %r9,%r2,%r5,%r4
;P_SetMobjState+80
	muli %r2,%r2,40
	std %r9,%r3,152
	ldwzx.xd %r10,%r2,%r6,0,0
;P_SetMobjState+96
	stw %r10,%r3,144
	ldwzx.xd %r11,%r2,%r4,0,0
	stw %r11,%r3,60
;P_SetMobjState+112
	ldwzx.xd %r11,%r2,%r7,0,0
	stw %r11,%r3,64
	lddzx.xd %r2,%r2,%r8,0,0
;P_SetMobjState+128
	bdeq %r2,%gz,P_SetMobjState+48
	mov %r13,%r3
	callri %r12,%r2,%gz
;P_SetMobjState+144
	ldwz %r10,%r3,144
	jmp P_SetMobjState+48
	nop 0
;P_SetMobjState+160
	std %gz,%r3,152
	mov %r13,%r3
	callr %r12,P_RemoveMobj
;P_SetMobjState+176
	mov %r1,%gz
	nop 0
	nop 0
;P_SetMobjState+192
	retf 0
	nop 0
	nop 0
;P_RemoveMobj
	alloc 9
	ldwz %r2,%r1,160
	andi %r2,%r2,131073
;P_RemoveMobj+16
	bwnei %r2,1,P_RemoveMobj+48
	ldwz %r2,%r1,128
	ori %r2,%r2,2
;P_RemoveMobj+32
	bwnei %r2,58,P_RemoveMobj+96
	nop 0
	nop 0
;P_RemoveMobj+48
	mov %r8,%r1
	callr %r7,P_UnsetThingPosition
	mov %r8,%r1
;P_RemoveMobj+64
	callr %r7,S_StopSound
	mov %r8,%r1
	callr %r7,P_RemoveThinker
;P_RemoveMobj+80
	retf 0
	nop 0
	nop 0
;P_RemoveMobj+96
	ldwzr %r2,iquehead
	ldbz %r3,%r1,213
	sraiw %r4,%r2,0
;P_RemoveMobj+112
	muli %r4,%r4,10
	ldafr %r5,itemrespawnque+9
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+128
	ldbz %r3,%r1,212
	ldafr %r5,itemrespawnque+8
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+144
	ldbz %r3,%r1,211
	ldafr %r5,itemrespawnque+7
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+160
	ldbz %r3,%r1,210
	ldafr %r5,itemrespawnque+6
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+176
	ldbz %r3,%r1,209
	ldafr %r5,itemrespawnque+5
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+192
	ldbz %r3,%r1,208
	ldafr %r5,itemrespawnque+4
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+208
	ldbz %r3,%r1,207
	ldafr %r5,itemrespawnque+3
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+224
	ldbz %r3,%r1,206
	ldafr %r5,itemrespawnque+2
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+240
	ldbz %r3,%r1,205
	ldafr %r5,itemrespawnque+1
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+256
	ldbz %r3,%r1,204
	ldwzr %r5,leveltime
	ldafr %r6,itemrespawnque
;P_RemoveMobj+272
	stbx.xd %r3,%r4,%r6,0,0
	ldafr %r3,itemrespawntime
	ldwzr %r4,iquetail
;P_RemoveMobj+288
	stwx.xw %r5,%r3,%r2,2,0
	addiws %r3,%r2,1
	andi %r3,%r3,127
;P_RemoveMobj+304
	stwr %r3,iquehead
	bwne %r3,%r4,P_RemoveMobj+48
	addiws %r2,%r2,2
;P_RemoveMobj+320
	andi %r2,%r2,127
	stwr %r2,iquetail
	jmp P_RemoveMobj+48
;P_ExplodeMissile
	alloc 7
	stw %gz,%r1,120
	std %gz,%r1,112
;P_ExplodeMissile+16
	ldwz %r2,%r1,128
	muli %r2,%r2,92
	ldafr %r3,mobjinfo+48
;P_ExplodeMissile+32
	ldwzx.xd %r6,%r2,%r3,0,0
	mov %r5,%r1
	callr %r4,P_SetMobjState
;P_ExplodeMissile+48
	callr %r5,P_Random
	ldwz %r2,%r1,144
	andi %r3,%r6,3
;P_ExplodeMissile+64
	subws %r2,%r2,%r3
	ldi %r3,1
	maxsw %r2,%r2,%r3
;P_ExplodeMissile+80
	stw %r2,%r1,144
	ldwz %r2,%r1,160
	andi %r2,%r2,-65537
;P_ExplodeMissile+96
	stw %r2,%r1,160
	lddz %r2,%r1,136
	ldwz %r6,%r2,56
;P_ExplodeMissile+112
	bweq %r6,%gz,P_ExplodeMissile+128
	mov %r5,%r1
	callr %r4,S_StartSound
;P_ExplodeMissile+128
	retf 0
	nop 0
	nop 0
;P_XYMovement
	alloc 13
	ldwz %r4,%r1,112
	ldi %r2,1966080
;P_XYMovement+16
	bweq %r4,%gz,P_XYMovement+64
	addi %r5,%r1,192
	lddz %r3,%r1,192
;P_XYMovement+32
	bwlti.l %r4,1966081,P_XYMovement+96
	stw %r2,%r1,112
;P_XYMovement+48
	mov %r4,%r2
	jmp P_XYMovement+128
	nop 0
;P_XYMovement+64
	ldwz %r3,%r1,116
	bweq %r3,%gz,P_XYMovement+768
	mov %r4,%gz
;P_XYMovement+80
	addi %r5,%r1,192
	lddz %r3,%r1,192
	jmp P_XYMovement+128
;P_XYMovement+96
	bwgei.l %r4,-1966080,P_XYMovement+128
	ldi %r4,-1966080
;P_XYMovement+112
	stw %r4,%r1,112
	nop 0
	nop 0
;P_XYMovement+128
	ldwz %r6,%r1,116
	bwgei.l %r6,1966081,P_XYMovement+160
;P_XYMovement+144
	bwgei.l %r6,-1966080,P_XYMovement+208
	ldi %r2,-1966080
;P_XYMovement+160
	stw %r2,%r1,116
	mov %r6,%r2
	jmp P_XYMovement+208
;P_XYMovement+176
	mov %r12,%r1
	callr %r11,P_SlideMove
	nop 0
;P_XYMovement+192
	or %r2,%r4,%r6
	bweq %r2,%gz,P_XYMovement+464
	nop 0
;P_XYMovement+208
	bwgei.l %r4,983041,P_XYMovement+272
	nop 2
;P_XYMovement+224
	bwgei.l %r6,983041,P_XYMovement+272
	ldwz %r2,%r1,28
;P_XYMovement+240
	addws %r12,%r2,%r6
	mov2 %r2,%r4,%r4,%gz
	mov %r6,%gz
;P_XYMovement+256
	jmp P_XYMovement+336
	nop 0
	nop 0
;P_XYMovement+272
	srliw %r2,%r4,31
	addws %r2,%r4,%r2
	sraiw %r2,%r2,1
;P_XYMovement+288
	ldwz %r7,%r1,28
	srliw %r8,%r6,31
	addws %r8,%r6,%r8
;P_XYMovement+304
	sraiw %r8,%r8,1
	addws %r12,%r7,%r8
	sraiw %r4,%r4,1
;P_XYMovement+320
	sraiw %r6,%r6,1
	nop 0
	nop 0
;P_XYMovement+336
	ldwz %r7,%r1,24
	addws %r11,%r7,%r2
	mov %r10,%r1
;P_XYMovement+352
	callr %r9,P_TryMove
	bwne %r10,%gz,P_XYMovement+192
	lddz %r2,%r5,0
;P_XYMovement+368
	bdne %r2,%gz,P_XYMovement+176
	ldbz %r2,%r1,162
	bbsi %r2,0,P_XYMovement+400
;P_XYMovement+384
	std %gz,%r1,112
	jmp P_XYMovement+192
	nop 0
;P_XYMovement+400
	lddzr %r2,ceilingline
	bdeq %r2,%gz,P_XYMovement+448
	lddz %r2,%r2,64
;P_XYMovement+416
	bdeq %r2,%gz,P_XYMovement+448
	ldhs %r2,%r2,10
	ldwzr %r7,skyflatnum
;P_XYMovement+432
	bweq %r7,%r2,P_XYMovement+848
	nop 0
	nop 0
;P_XYMovement+448
	mov %r12,%r1
	callr %r11,P_ExplodeMissile
	jmp P_XYMovement+192
;P_XYMovement+464
	bdeq %r3,%gz,P_XYMovement+480
	ldbz %r2,%r3,208
	bbsi %r2,2,P_XYMovement+528
;P_XYMovement+480
	ldwz %r5,%r1,160
	andi.l %r2,%r5,16842752
;P_XYMovement+496
	bweq %r2,%gz,P_XYMovement+544
	nop 0
	nop 0
;P_XYMovement+512
	retf 0
	nop 0
	nop 0
;P_XYMovement+528
	std %gz,%r1,112
	retf 0
	nop 0
;P_XYMovement+544
	ldwz %r2,%r1,32
	ldwz %r4,%r1,96
	bwlt %r4,%r2,P_XYMovement+512
;P_XYMovement+560
	ldwz %r2,%r1,112
	bbci %r5,20,P_XYMovement+640
	addiws %r5,%r2,-16385
;P_XYMovement+576
	bwltui.l %r5,4294934527,P_XYMovement+608
	ldwz %r5,%r1,116
;P_XYMovement+592
	addiws %r5,%r5,-16385
	bwgeui.l %r5,1099511595007,P_XYMovement+640
;P_XYMovement+608
	lddz %r5,%r1,88
	lddz %r5,%r5,0
	ldwz %r5,%r5,0
;P_XYMovement+624
	bwne %r4,%r5,P_XYMovement+512
	nop 0
	nop 0
;P_XYMovement+640
	addiws %r5,%r2,4095
	ldwz %r4,%r1,116
	nop 2
;P_XYMovement+656
	bwgeui.l %r5,8191,P_XYMovement+720
	addiws %r5,%r4,4095
;P_XYMovement+672
	bwgeui.l %r5,8191,P_XYMovement+720
	bdeq %r3,%gz,P_XYMovement+928
;P_XYMovement+688
	ldbz %r5,%r3,12
	bwne %r5,%gz,P_XYMovement+720
	ldbz %r5,%r3,13
;P_XYMovement+704
	bweq %r5,%gz,P_XYMovement+864
	nop 0
	nop 0
;P_XYMovement+720
	sraiw %r2,%r2,0
	muli %r2,%r2,59392
	srli %r2,%r2,16
;P_XYMovement+736
	stw %r2,%r1,112
	sraiw %r2,%r4,0
	muli %r2,%r2,59392
;P_XYMovement+752
	srli %r2,%r2,16
	stw %r2,%r1,116
	retf 0
;P_XYMovement+768
	ldwz %r2,%r1,160
	bbci %r2,24,P_XYMovement+512
	nop 2
;P_XYMovement+784
	andi.l %r2,%r2,-16777217
	stw %r2,%r1,160
;P_XYMovement+800
	stw %gz,%r1,120
	std %gz,%r1,112
	lddz %r2,%r1,136
;P_XYMovement+816
	ldwz %r12,%r2,4
	mov %r11,%r1
	callr %r10,P_SetMobjState
;P_XYMovement+832
	retf 0
	nop 0
	nop 0
;P_XYMovement+848
	mov %r12,%r1
	callr %r11,P_RemoveMobj
	retf 0
;P_XYMovement+864
	lddz %r11,%r3,0
	lddz %r2,%r11,152
	ldafr %r3,states
;P_XYMovement+880
	sub %r2,%r2,%r3
	srli %r2,%r2,3
	nop 2
;P_XYMovement+896
	mulwsi.l %r2,%r2,-858993459
	addiws %r2,%r2,-150
;P_XYMovement+912
	bwgeui %r2,4,P_XYMovement+928
	ldi %r12,149
	callr %r10,P_SetMobjState
;P_XYMovement+928
	mov %r2,%gz
	stw %gz,%r1,112
	stw %r2,%r1,116
;P_XYMovement+944
	retf 0
	nop 0
	nop 0
;P_ZMovement
	alloc 10
	lddz %r3,%r1,192
	ldwz %r2,%r1,32
;P_ZMovement+16
	bdeq %r3,%gz,P_ZMovement+80
	ldwz %r4,%r1,96
	bwle %r4,%r2,P_ZMovement+80
;P_ZMovement+32
	ldwz %r5,%r3,32
	subws %r4,%r2,%r4
	addws %r4,%r5,%r4
;P_ZMovement+48
	stw %r4,%r3,32
	subfiws.l %r4,%r4,2686976
;P_ZMovement+64
	sraiw %r4,%r4,3
	stw %r4,%r3,36
	nop 0
;P_ZMovement+80
	ldwz %r3,%r1,120
	addws %r2,%r2,%r3
	stw %r2,%r1,32
;P_ZMovement+96
	ldwz %r3,%r1,160
	bbci %r3,14,P_ZMovement+288
	nop 2
;P_ZMovement+112
	andi.l %r3,%r3,18874368
	bwne %r3,%gz,P_ZMovement+288
;P_ZMovement+128
	lddz %r3,%r1,176
	bdeq %r3,%gz,P_ZMovement+288
	ldwz %r2,%r1,24
;P_ZMovement+144
	ldwz %r4,%r3,24
	ldwz %r5,%r1,28
	ldwz %r3,%r3,28
;P_ZMovement+160
	subws %r8,%r2,%r4
	subws %r9,%r5,%r3
	callr %r7,P_AproxDistance
;P_ZMovement+176
	lddz %r2,%r1,176
	ldwz %r3,%r1,108
	ldwz %r4,%r2,32
;P_ZMovement+192
	ldwz %r2,%r1,32
	sraiw %r3,%r3,1
	addws %r3,%r3,%r4
;P_ZMovement+208
	subws %r3,%r3,%r2
	bwgei %r3,0,P_ZMovement+240
	mulwsi %r4,%r3,-3
;P_ZMovement+224
	bwle %r4,%r8,P_ZMovement+240
	ldi %r3,-262144
	jmp P_ZMovement+272
;P_ZMovement+240
	bwlti %r3,1,P_ZMovement+288
	mulwsi %r3,%r3,3
	bwle %r3,%r8,P_ZMovement+288
;P_ZMovement+256
	ldi %r3,262144
	nop 0
	nop 0
;P_ZMovement+272
	addws %r2,%r2,%r3
	stw %r2,%r1,32
	nop 0
;P_ZMovement+288
	ldwz %r4,%r1,96
	bwle %r2,%r4,P_ZMovement+352
	ldwz %r4,%r1,160
;P_ZMovement+304
	bbsi %r4,9,P_ZMovement+576
	ldwz %r3,%r1,120
	addiws %r5,%r3,-65536
;P_ZMovement+320
	ldi %r6,-131072
	cmovweq %r3,%r3,%r6,%r5
	stw %r3,%r1,120
;P_ZMovement+336
	jmp P_ZMovement+576
	nop 0
	nop 0
;P_ZMovement+352
	ldwzr %r3,gameversion
	bwltui %r3,6,P_ZMovement+416
	ldbz %r2,%r1,163
;P_ZMovement+368
	ldwz %r5,%r1,120
	bbci %r2,0,P_ZMovement+400
	subfiws %r5,%r5,0
;P_ZMovement+384
	stw %r5,%r1,120
	nop 0
	nop 0
;P_ZMovement+400
	bwgei %r5,0,P_ZMovement+512
	jmp P_ZMovement+432
	nop 0
;P_ZMovement+416
	ldwz %r5,%r1,120
	bwgei %r5,0,P_ZMovement+512
	nop 0
;P_ZMovement+432
	bwgeui.l %r5,1099511103488,P_ZMovement+496
	lddz %r2,%r1,192
;P_ZMovement+448
	bdeq %r2,%gz,P_ZMovement+496
	sraiw %r4,%r5,3
	stw %r4,%r2,36
;P_ZMovement+464
	ldi %r9,34
	mov %r8,%r1
	callr %r7,S_StartSound
;P_ZMovement+480
	ldwz %r4,%r1,96
	nop 0
	nop 0
;P_ZMovement+496
	mov %r5,%gz
	stw %gz,%r1,120
	nop 0
;P_ZMovement+512
	mov %r2,%r4
	stw %r4,%r1,32
	ldwz %r4,%r1,160
;P_ZMovement+528
	bwgeui %r3,6,P_ZMovement+560
	andi.l %r3,%r4,16777216
;P_ZMovement+544
	bweq %r3,%gz,P_ZMovement+560
	subfiws %r3,%r5,0
	stw %r3,%r1,120
;P_ZMovement+560
	andi %r3,%r4,69632
	bweqi.l %r3,65536,P_ZMovement+672
;P_ZMovement+576
	ldwz %r3,%r1,108
	ldwz %r5,%r1,100
	addws %r2,%r3,%r2
;P_ZMovement+592
	bwle %r2,%r5,P_ZMovement+688
	ldwz %r2,%r1,120
	bwlti %r2,1,P_ZMovement+624
;P_ZMovement+608
	mov %r2,%gz
	stw %gz,%r1,120
	nop 0
;P_ZMovement+624
	subws %r3,%r5,%r3
	stw %r3,%r1,32
	bbci %r4,24,P_ZMovement+656
;P_ZMovement+640
	subfiws %r2,%r2,0
	stw %r2,%r1,120
	nop 0
;P_ZMovement+656
	andi %r2,%r4,69632
	bwnei.l %r2,65536,P_ZMovement+688
;P_ZMovement+672
	mov %r9,%r1
	callr %r8,P_ExplodeMissile
	nop 0
;P_ZMovement+688
	retf 0
	nop 0
	nop 0
;P_NightmareRespawn
	alloc 13
	ldhz %r2,%r1,204
	ldhz %r3,%r1,206
;P_NightmareRespawn+16
	slliw %r2,%r2,16
	slliw %r3,%r3,16
	mov2 %r10,%r11,%r1,%r2
;P_NightmareRespawn+32
	mov %r12,%r3
	callr %r9,P_CheckPosition
	bweq %r10,%gz,P_NightmareRespawn+368
;P_NightmareRespawn+48
	lddz %r4,%r1,88
	lddz %r4,%r4,0
	addi %r7,%r1,204
;P_NightmareRespawn+64
	ldwz %r9,%r1,24
	ldwz %r10,%r1,28
	ldwz %r11,%r4,0
;P_NightmareRespawn+80
	ldi %r4,39
	mov %r12,%r4
	callr %r8,P_SpawnMobj
;P_NightmareRespawn+96
	ldi %r5,35
	mov2 %r11,%r12,%r9,%r5
	callr %r10,S_StartSound
;P_NightmareRespawn+112
	mov2 %r11,%r12,%r2,%r3
	callr %r10,R_PointInSubsector
	lddz %r6,%r11,0
;P_NightmareRespawn+128
	ldwz %r11,%r6,0
	mov2 %r9,%r10,%r2,%r3
	mov %r12,%r4
;P_NightmareRespawn+144
	callr %r8,P_SpawnMobj
	mov2 %r11,%r12,%r9,%r5
	callr %r10,S_StartSound
;P_NightmareRespawn+160
	lddz %r4,%r1,136
	ldwz %r4,%r4,84
	andi %r4,%r4,256
;P_NightmareRespawn+176
	ldi.l %r5,2147483647
	nop 2
;P_NightmareRespawn+192
	ldi.l %r6,-2147483648
	cmovweq %r11,%r4,%r6,%r5
;P_NightmareRespawn+208
	ldwz %r12,%r1,128
	mov2 %r9,%r10,%r2,%r3
	callr %r8,P_SpawnMobj
;P_NightmareRespawn+224
	ldwz %r2,%r7,0
	stw %r2,%r9,204
	ldwz %r2,%r7,4
;P_NightmareRespawn+240
	stw %r2,%r9,208
	ldhz %r2,%r7,8
	sth %r2,%r9,212
;P_NightmareRespawn+256
	ldbs %r2,%r1,209
	ldbz %r3,%r1,208
	slor %r2,%r3,%r2,8
;P_NightmareRespawn+272
	mulwsi %r2,%r2,11651
	srliw %r3,%r2,31
	srliw %r2,%r2,19
;P_NightmareRespawn+288
	addws %r2,%r2,%r3
	slliw %r2,%r2,29
	stw %r2,%r9,56
;P_NightmareRespawn+304
	ldbz %r2,%r1,212
	bbci %r2,3,P_NightmareRespawn+336
	ldwz %r2,%r9,160
;P_NightmareRespawn+320
	ori %r2,%r2,32
	stw %r2,%r9,160
	nop 0
;P_NightmareRespawn+336
	ldi %r2,18
	stw %r2,%r9,184
	mov %r12,%r1
;P_NightmareRespawn+352
	callr %r11,P_RemoveMobj
	nop 0
	nop 0
;P_NightmareRespawn+368
	retf 0
	nop 0
	nop 0
;P_SpawnMobj
	alloc 12
	ldi %r9,224
	ldi %r10,5
;P_SpawnMobj+16
	mov %r11,%gz
	callr %r8,Z_Malloc
	std %gz,%r9,0
;P_SpawnMobj+32
	std %gz,%r9,8
	std %gz,%r9,16
	std %gz,%r9,24
;P_SpawnMobj+48
	std %gz,%r9,32
	std %gz,%r9,40
	std %gz,%r9,48
;P_SpawnMobj+64
	std %gz,%r9,56
	std %gz,%r9,64
	std %gz,%r9,72
;P_SpawnMobj+80
	std %gz,%r9,80
	std %gz,%r9,88
	std %gz,%r9,96
;P_SpawnMobj+96
	std %gz,%r9,104
	std %gz,%r9,112
	std %gz,%r9,120
;P_SpawnMobj+112
	std %gz,%r9,128
	std %gz,%r9,136
	std %gz,%r9,144
;P_SpawnMobj+128
	std %gz,%r9,152
	std %gz,%r9,160
	std %gz,%r9,168
;P_SpawnMobj+144
	std %gz,%r9,176
	std %gz,%r9,184
	std %gz,%r9,192
;P_SpawnMobj+160
	std %gz,%r9,200
	std %gz,%r9,208
	std %gz,%r9,216
;P_SpawnMobj+176
	srliw %r6,%r4,0
	ldafr %r5,mobjinfo
	ldi %r7,92
;P_SpawnMobj+192
	muladd %r5,%r6,%r7,%r5
	muli %r6,%r6,92
	stw %r4,%r9,128
;P_SpawnMobj+208
	std %r5,%r9,136
	stw %r1,%r9,24
	stw %r2,%r9,28
;P_SpawnMobj+224
	ldafr %r1,mobjinfo+64
	ldwzx.xd %r1,%r6,%r1,0,0
	stw %r1,%r9,104
;P_SpawnMobj+240
	ldafr %r1,mobjinfo+68
	ldwzx.xd %r1,%r6,%r1,0,0
	stw %r1,%r9,108
;P_SpawnMobj+256
	ldafr %r1,mobjinfo+84
	ldwzx.xd %r1,%r6,%r1,0,0
	stw %r1,%r9,160
;P_SpawnMobj+272
	ldafr %r1,mobjinfo+8
	ldwzx.xd %r1,%r6,%r1,0,0
	stw %r1,%r9,164
;P_SpawnMobj+288
	ldwzr %r1,gameskill
	bweqi %r1,4,P_SpawnMobj+320
	ldwz %r1,%r5,20
;P_SpawnMobj+304
	stw %r1,%r9,184
	nop 0
	nop 0
;P_SpawnMobj+320
	callr %r10,P_Random
	sraiw %r1,%r11,31
	srliw %r1,%r1,30
;P_SpawnMobj+336
	addws %r1,%r11,%r1
	andi %r1,%r1,-4
	subws %r1,%r11,%r1
;P_SpawnMobj+352
	stw %r1,%r9,200
	ldws %r1,%r5,4
	ldafr %r2,states
;P_SpawnMobj+368
	ldi %r4,40
	muladd %r4,%r1,%r4,%r2
	muli %r1,%r1,40
;P_SpawnMobj+384
	std %r4,%r9,152
	ldafr %r4,states+8
	ldwzx.xd %r4,%r1,%r4,0,0
;P_SpawnMobj+400
	stw %r4,%r9,144
	ldwzx.xd %r2,%r1,%r2,0,0
	stw %r2,%r9,60
;P_SpawnMobj+416
	ldafr %r2,states+4
	ldwzx.xd %r1,%r1,%r2,0,0
	stw %r1,%r9,64
;P_SpawnMobj+432
	mov %r11,%r9
	callr %r10,P_SetThingPosition
	lddz %r1,%r9,88
;P_SpawnMobj+448
	lddz %r2,%r1,0
	ldwz %r1,%r2,0
	stw %r1,%r9,96
;P_SpawnMobj+464
	ldwz %r2,%r2,4
	stw %r2,%r9,100
	nop 2
;P_SpawnMobj+480
	bweqi.l %r3,-2147483648,P_SpawnMobj+544
	nop 2
;P_SpawnMobj+496
	bwnei.l %r3,2147483647,P_SpawnMobj+528
	lddz %r1,%r9,136
;P_SpawnMobj+512
	ldwz %r1,%r1,68
	subws %r1,%r2,%r1
	jmp P_SpawnMobj+544
;P_SpawnMobj+528
	mov %r1,%r3
	nop 0
	nop 0
;P_SpawnMobj+544
	stw %r1,%r9,32
	ldar %r1,P_MobjThinker
	std %r1,%r9,16
;P_SpawnMobj+560
	mov %r11,%r9
	callr %r10,P_AddThinker
	mov %r1,%r9
;P_SpawnMobj+576
	retf 0
	nop 0
	nop 0
;P_MobjThinker
	alloc 7
	ldwz %r2,%r1,112
	bwne %r2,%gz,P_MobjThinker+48
;P_MobjThinker+16
	ldwz %r2,%r1,116
	bwne %r2,%gz,P_MobjThinker+48
	ldbz %r2,%r1,163
;P_MobjThinker+32
	bbci %r2,0,P_MobjThinker+80
	nop 0
	nop 0
;P_MobjThinker+48
	mov %r6,%r1
	callr %r5,P_XYMovement
	lddz %r2,%r1,16
;P_MobjThinker+64
	bdeqi %r2,-1,P_MobjThinker+176
	nop 0
	nop 0
;P_MobjThinker+80
	ldwz %r2,%r1,32
	ldwz %r3,%r1,96
	bwne %r2,%r3,P_MobjThinker+112
;P_MobjThinker+96
	ldwz %r2,%r1,120
	bweq %r2,%gz,P_MobjThinker+144
	nop 0
;P_MobjThinker+112
	mov %r6,%r1
	callr %r5,P_ZMovement
	lddz %r2,%r1,16
;P_MobjThinker+128
	bdeqi %r2,-1,P_MobjThinker+176
	nop 0
	nop 0
;P_MobjThinker+144
	ldwz %r2,%r1,144
	bweqi %r2,-1,P_MobjThinker+192
	addiws %r2,%r2,-1
;P_MobjThinker+160
	stw %r2,%r1,144
	bweq %r2,%gz,P_MobjThinker+288
	nop 0
;P_MobjThinker+176
	retf 0
	nop 0
	nop 0
;P_MobjThinker+192
	ldbz %r2,%r1,162
	bbci %r2,6,P_MobjThinker+176
	ldwzr %r2,respawnmonsters
;P_MobjThinker+208
	bweq %r2,%gz,P_MobjThinker+176
	ldwz %r2,%r1,172
	addiws %r3,%r2,1
;P_MobjThinker+224
	stw %r3,%r1,172
	bwlti %r2,419,P_MobjThinker+176
	ldbzr %r2,leveltime
;P_MobjThinker+240
	andi %r2,%r2,31
	bwne %r2,%gz,P_MobjThinker+176
	callr %r5,P_Random
;P_MobjThinker+256
	bwgei %r6,5,P_MobjThinker+176
	mov %r6,%r1
	callr %r5,P_NightmareRespawn
;P_MobjThinker+272
	retf 0
	nop 0
	nop 0
;P_MobjThinker+288
	lddz %r2,%r1,152
	ldwz %r6,%r2,24
	mov %r5,%r1
;P_MobjThinker+304
	callr %r4,P_SetMobjState
	retf 0
	nop 0
;P_RespawnSpecials
	alloc 15
	ldwzr %r1,deathmatch
	bwnei %r1,2,P_RespawnSpecials+544
;P_RespawnSpecials+16
	ldwzr %r2,iquehead
	ldwzr %r1,iquetail
	bweq %r2,%r1,P_RespawnSpecials+544
;P_RespawnSpecials+32
	ldwzr %r2,leveltime
	ldafr %r3,itemrespawntime
	ldwzx.xw %r3,%r3,%r1,2,0
;P_RespawnSpecials+48
	subws %r2,%r2,%r3
	bwlti.l %r2,1050,P_RespawnSpecials+544
;P_RespawnSpecials+64
	sraiw %r1,%r1,0
	ldafr %r2,itemrespawnque
	muli %r5,%r1,10
;P_RespawnSpecials+80
	ldbzx.xd %r3,%r5,%r2,0,0
	ldbzx.xd %r4,%r5,%r2,0,1
	ldafr %r6,itemrespawnque+2
;P_RespawnSpecials+96
	ldbzx.xd %r7,%r5,%r6,0,1
	ldbzx.xd %r6,%r5,%r6,0,0
	ldi %r8,10
;P_RespawnSpecials+112
	slliw %r9,%r4,24
	slliw %r7,%r7,24
	muladd %r4,%r1,%r8,%r2
;P_RespawnSpecials+128
	slor %r1,%r9,%r3,16
	slor %r2,%r7,%r6,16
	mov2 %r13,%r14,%r1,%r2
;P_RespawnSpecials+144
	callr %r12,R_PointInSubsector
	lddz %r3,%r13,0
	ldwz %r13,%r3,0
;P_RespawnSpecials+160
	ldi %r14,40
	mov2 %r11,%r12,%r1,%r2
	callr %r10,P_SpawnMobj
;P_RespawnSpecials+176
	ldi %r14,90
	mov %r13,%r11
	callr %r12,S_StartSound
;P_RespawnSpecials+192
	ldafr %r3,itemrespawnque+6
	ldbsx.xd %r6,%r5,%r3,0,1
	ldbzx.xd %r5,%r5,%r3,0,0
;P_RespawnSpecials+208
	mov %r3,%gz
	slor %r5,%r5,%r6,8
	ldafr %r6,mobjinfo
;P_RespawnSpecials+224
	ldi %r14,137
	nop 0
	nop 0
;P_RespawnSpecials+240
	ldwz %r7,%r6,0
	bweq %r7,%r5,P_RespawnSpecials+272
	addi %r3,%r3,1
;P_RespawnSpecials+256
	addi %r6,%r6,92
	bdnei %r3,137,P_RespawnSpecials+240
	jmp P_RespawnSpecials+288
;P_RespawnSpecials+272
	mov %r14,%r3
	nop 0
	nop 0
;P_RespawnSpecials+288
	srliw %r3,%r14,0
	muli %r3,%r3,92
	ldafr %r5,mobjinfo+84
;P_RespawnSpecials+304
	ldwzx.xd %r3,%r3,%r5,0,0
	andi %r3,%r3,256
	nop 2
;P_RespawnSpecials+320
	ldi.l %r5,2147483647
	nop 2
;P_RespawnSpecials+336
	ldi.l %r6,-2147483648
	cmovweq %r13,%r3,%r6,%r5
;P_RespawnSpecials+352
	mov2 %r11,%r12,%r1,%r2
	callr %r10,P_SpawnMobj
	ldbz %r1,%r4,0
;P_RespawnSpecials+368
	stb %r1,%r11,204
	ldbz %r1,%r4,1
	stb %r1,%r11,205
;P_RespawnSpecials+384
	ldbz %r1,%r4,2
	stb %r1,%r11,206
	ldbz %r1,%r4,3
;P_RespawnSpecials+400
	stb %r1,%r11,207
	ldbz %r1,%r4,4
	stb %r1,%r11,208
;P_RespawnSpecials+416
	ldbz %r1,%r4,5
	stb %r1,%r11,209
	ldbz %r1,%r4,6
;P_RespawnSpecials+432
	stb %r1,%r11,210
	ldbz %r1,%r4,7
	stb %r1,%r11,211
;P_RespawnSpecials+448
	ldbz %r1,%r4,8
	stb %r1,%r11,212
	ldbz %r1,%r4,9
;P_RespawnSpecials+464
	stb %r1,%r11,213
	ldbs %r1,%r4,5
	ldbz %r2,%r4,4
;P_RespawnSpecials+480
	slor %r1,%r2,%r1,8
	mulwsi %r1,%r1,11651
	srliw %r2,%r1,31
;P_RespawnSpecials+496
	srliw %r1,%r1,19
	addws %r1,%r1,%r2
	slliw %r1,%r1,29
;P_RespawnSpecials+512
	stw %r1,%r11,56
	ldwzr %r1,iquetail
	addiws %r1,%r1,1
;P_RespawnSpecials+528
	andi %r1,%r1,127
	stwr %r1,iquetail
	nop 0
;P_RespawnSpecials+544
	retf 0
	nop 0
	nop 0
;P_SpawnPlayer
	alloc 14
	ldbs %r2,%r1,7
	ldbz %r3,%r1,6
;P_SpawnPlayer+16
	slor %r2,%r3,%r2,8
	bweq %r2,%gz,P_SpawnPlayer+432
	addiws %r2,%r2,-1
;P_SpawnPlayer+32
	ldafr %r3,playeringame
	ldwzx.xw %r3,%r3,%r2,2,0
	bweq %r3,%gz,P_SpawnPlayer+432
;P_SpawnPlayer+48
	muli %r3,%r2,328
	ldafr %r4,players+8
	ldwzx.xd %r3,%r3,%r4,0,0
;P_SpawnPlayer+64
	ldafr %r4,players
	ldi %r5,328
	bwnei %r3,2,P_SpawnPlayer+96
;P_SpawnPlayer+80
	mov %r13,%r2
	callr %r12,G_PlayerReborn
	nop 0
;P_SpawnPlayer+96
	ldbz %r3,%r1,0
	ldbz %r6,%r1,1
	ldbz %r7,%r1,3
;P_SpawnPlayer+112
	ldbz %r8,%r1,2
	slliw %r6,%r6,24
	slliw %r7,%r7,24
;P_SpawnPlayer+128
	muladd %r2,%r2,%r5,%r4
	slor %r10,%r6,%r3,16
	slor %r11,%r7,%r8,16
;P_SpawnPlayer+144
	ldi.l %r12,-2147483648
	mov %r13,%gz
;P_SpawnPlayer+160
	callr %r9,P_SpawnMobj
	ldbs %r3,%r1,7
	ldbz %r4,%r1,6
;P_SpawnPlayer+176
	slor %r3,%r4,%r3,8
	bwlti %r3,2,P_SpawnPlayer+224
	ldwz %r4,%r10,160
;P_SpawnPlayer+192
	ldi %r5,-67108864
	sladdws %r3,%r5,%r3,26
	or %r3,%r4,%r3
;P_SpawnPlayer+208
	stw %r3,%r10,160
	nop 0
	nop 0
;P_SpawnPlayer+224
	ldbs %r3,%r1,5
	ldbz %r4,%r1,4
	slor %r3,%r4,%r3,8
;P_SpawnPlayer+240
	mulwsi %r3,%r3,11651
	srliw %r4,%r3,31
	srliw %r3,%r3,19
;P_SpawnPlayer+256
	addws %r3,%r3,%r4
	slliw %r3,%r3,29
	stw %r3,%r10,56
;P_SpawnPlayer+272
	std %r2,%r10,192
	ldwz %r3,%r2,44
	stw %r3,%r10,164
;P_SpawnPlayer+288
	std %r10,%r2,0
	stw %gz,%r2,8
	stw %gz,%r2,212
;P_SpawnPlayer+304
	std %gz,%r2,256
	std %gz,%r2,232
	std %gz,%r2,240
;P_SpawnPlayer+320
	ldi %r3,2686976
	stw %r3,%r2,32
	mov %r13,%r2
;P_SpawnPlayer+336
	callr %r12,P_SetupPsprites
	ldwzr %r3,deathmatch
	bweq %r3,%gz,P_SpawnPlayer+384
;P_SpawnPlayer+352
	mov %r3,%gz
	addi %r2,%r2,80
	ldi %r4,1
;P_SpawnPlayer+368
	stwx.xd %r4,%r2,%r3,0,0
	addi %r3,%r3,4
	bdnei %r3,24,P_SpawnPlayer+368
;P_SpawnPlayer+384
	ldbs %r2,%r1,7
	ldbz %r1,%r1,6
	ldwzr %r3,consoleplayer
;P_SpawnPlayer+400
	slor %r1,%r1,%r2,8
	addiws %r1,%r1,-1
	bwne %r1,%r3,P_SpawnPlayer+432
;P_SpawnPlayer+416
	callr %r13,ST_Start
	callr %r13,HU_Start
	nop 0
;P_SpawnPlayer+432
	retf 0
	nop 0
	nop 0
;P_SpawnMapThing
	allocsp 14,16
	ldbz %r2,%r1,7
	ldbz %r3,%r1,6
;P_SpawnMapThing+16
	slor %r2,%r3,%r2,8
	bwnei %r2,11,P_SpawnMapThing+176
	lddzr %r2,deathmatch_p
;P_SpawnMapThing+32
	ldafr %r3,deathmatch_p
	bdleu %r3,%r2,P_SpawnMapThing+384
	ldbz %r3,%r1,9
;P_SpawnMapThing+48
	stb %r3,%r2,9
	ldbz %r3,%r1,8
	stb %r3,%r2,8
;P_SpawnMapThing+64
	ldbz %r3,%r1,7
	stb %r3,%r2,7
	ldbz %r3,%r1,6
;P_SpawnMapThing+80
	stb %r3,%r2,6
	ldbz %r3,%r1,5
	stb %r3,%r2,5
;P_SpawnMapThing+96
	ldbz %r3,%r1,4
	stb %r3,%r2,4
	ldbz %r3,%r1,3
;P_SpawnMapThing+112
	stb %r3,%r2,3
	ldbz %r3,%r1,2
	stb %r3,%r2,2
;P_SpawnMapThing+128
	ldbz %r3,%r1,1
	stb %r3,%r2,1
	ldbz %r1,%r1,0
;P_SpawnMapThing+144
	stb %r1,%r2,0
	lddzr %r1,deathmatch_p
	addi %r1,%r1,10
;P_SpawnMapThing+160
	stdr %r1,deathmatch_p
	retf 16
	nop 0
;P_SpawnMapThing+176
	slsrai %r3,%r2,48,48
	bwlti %r3,1,P_SpawnMapThing+384
	bwgeui %r2,5,P_SpawnMapThing+400
;P_SpawnMapThing+192
	ldbz %r3,%r1,9
	addiws %r2,%r2,-1
	andi %r2,%r2,65535
;P_SpawnMapThing+208
	muli %r2,%r2,10
	ldafr %r4,playerstarts+9
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+224
	ldbz %r3,%r1,8
	ldafr %r4,playerstarts+8
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+240
	ldbz %r3,%r1,7
	ldafr %r4,playerstarts+7
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+256
	ldbz %r3,%r1,6
	ldafr %r4,playerstarts+6
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+272
	ldbz %r3,%r1,5
	ldafr %r4,playerstarts+5
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+288
	ldbz %r3,%r1,4
	ldafr %r4,playerstarts+4
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+304
	ldbz %r3,%r1,3
	ldafr %r4,playerstarts+3
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+320
	ldbz %r3,%r1,2
	ldafr %r4,playerstarts+2
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+336
	ldbz %r3,%r1,1
	ldafr %r4,playerstarts+1
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+352
	ldbz %r3,%r1,0
	ldwzr %r4,deathmatch
	ldafr %r5,playerstarts
;P_SpawnMapThing+368
	stbx.xd %r3,%r2,%r5,0,0
	bweq %r4,%gz,P_SpawnMapThing+464
	nop 0
;P_SpawnMapThing+384
	retf 16
	nop 0
	nop 0
;P_SpawnMapThing+400
	ldwzr %r3,netgame
	bwne %r3,%gz,P_SpawnMapThing+432
	ldbz %r3,%r1,8
;P_SpawnMapThing+416
	bbsi %r3,4,P_SpawnMapThing+384
	nop 0
	nop 0
;P_SpawnMapThing+432
	ldwzr %r3,gameskill
	bweq %r3,%gz,P_SpawnMapThing+480
	bwnei %r3,4,P_SpawnMapThing+496
;P_SpawnMapThing+448
	ldi %r3,4
	jmp P_SpawnMapThing+512
	nop 0
;P_SpawnMapThing+464
	mov %r13,%r1
	callr %r12,P_SpawnPlayer
	retf 16
;P_SpawnMapThing+480
	ldi %r3,1
	jmp P_SpawnMapThing+512
	nop 0
;P_SpawnMapThing+496
	addiws %r3,%r3,-1
	ldi %r4,1
	sllw %r3,%r4,%r3
;P_SpawnMapThing+512
	ldbs %r4,%r1,9
	ldbz %r5,%r1,8
	slor %r4,%r5,%r4,8
;P_SpawnMapThing+528
	and %r3,%r3,%r4
	bweq %r3,%gz,P_SpawnMapThing+384
	mov %r13,%gz
;P_SpawnMapThing+544
	ldafr %r3,mobjinfo
	nop 0
	nop 0
;P_SpawnMapThing+560
	ldwz %r4,%r3,0
	bweq %r4,%r2,P_SpawnMapThing+656
	addi %r13,%r13,1
;P_SpawnMapThing+576
	addi %r3,%r3,92
	bdnei %r13,137,P_SpawnMapThing+560
	ldbs %r3,%r1,1
;P_SpawnMapThing+592
	ldbz %r4,%r1,0
	ldbs %r5,%r1,3
	ldbz %r6,%r1,2
;P_SpawnMapThing+608
	slor %r3,%r4,%r3,8
	slor %r4,%r6,%r5,8
	stw %r4,%sp,8
;P_SpawnMapThing+624
	stw %r3,%sp,4
	ldafr %r13,.rodata+9320
	stw %r2,%sp,0
;P_SpawnMapThing+640
	callr %r12,I_Error
	ldi %r13,137
	nop 0
;P_SpawnMapThing+656
	ldwzr %r2,deathmatch
	bweq %r2,%gz,P_SpawnMapThing+704
	srliw %r2,%r13,0
;P_SpawnMapThing+672
	muli %r2,%r2,92
	ldafr %r3,mobjinfo+87
	ldbzx.xd %r2,%r2,%r3,0,0
;P_SpawnMapThing+688
	bbsi %r2,1,P_SpawnMapThing+384
	nop 0
	nop 0
;P_SpawnMapThing+704
	ldwzr %r2,nomonsters
	bweq %r2,%gz,P_SpawnMapThing+752
	bweqi %r13,18,P_SpawnMapThing+384
;P_SpawnMapThing+720
	srliw %r2,%r13,0
	muli %r2,%r2,92
	ldafr %r3,mobjinfo+84
;P_SpawnMapThing+736
	ldwzx.xd %r2,%r2,%r3,0,0
	bbsi %r2,22,P_SpawnMapThing+384
	jmp P_SpawnMapThing+784
;P_SpawnMapThing+752
	srliw %r2,%r13,0
	muli %r2,%r2,92
	ldafr %r3,mobjinfo+84
;P_SpawnMapThing+768
	ldwzx.xd %r2,%r2,%r3,0,0
	nop 0
	nop 0
;P_SpawnMapThing+784
	ldbz %r3,%r1,1
	ldbz %r4,%r1,3
	ldbz %r5,%r1,0
;P_SpawnMapThing+800
	ldbz %r6,%r1,2
	slliw %r3,%r3,24
	slliw %r4,%r4,24
;P_SpawnMapThing+816
	andi %r2,%r2,256
	ldi.l %r7,2147483647
;P_SpawnMapThing+832
	ldi.l %r8,-2147483648
	slor %r10,%r3,%r5,16
;P_SpawnMapThing+848
	slor %r11,%r4,%r6,16
	cmovweq %r12,%r2,%r8,%r7
	callr %r9,P_SpawnMobj
;P_SpawnMapThing+864
	ldbz %r2,%r1,0
	stb %r2,%r10,204
	ldbz %r2,%r1,1
;P_SpawnMapThing+880
	stb %r2,%r10,205
	ldbz %r2,%r1,2
	stb %r2,%r10,206
;P_SpawnMapThing+896
	ldbz %r2,%r1,3
	stb %r2,%r10,207
	ldbz %r2,%r1,4
;P_SpawnMapThing+912
	stb %r2,%r10,208
	ldbz %r2,%r1,5
	stb %r2,%r10,209
;P_SpawnMapThing+928
	ldbz %r2,%r1,6
	stb %r2,%r10,210
	ldbz %r2,%r1,7
;P_SpawnMapThing+944
	stb %r2,%r10,211
	ldbz %r2,%r1,8
	stb %r2,%r10,212
;P_SpawnMapThing+960
	ldbz %r2,%r1,9
	stb %r2,%r10,213
	ldwz %r2,%r10,144
;P_SpawnMapThing+976
	bwlti %r2,1,P_SpawnMapThing+1008
	callr %r12,P_Random
	ldwz %r2,%r10,144
;P_SpawnMapThing+992
	modw %r2,%r13,%r2
	addiws %r2,%r2,1
	stw %r2,%r10,144
;P_SpawnMapThing+1008
	ldwz %r2,%r10,160
	bbci %r2,22,P_SpawnMapThing+1040
	ldwzr %r3,totalkills
;P_SpawnMapThing+1024
	addiws %r3,%r3,1
	stwr %r3,totalkills
	nop 0
;P_SpawnMapThing+1040
	bbci %r2,23,P_SpawnMapThing+1072
	ldwzr %r3,totalitems
	addiws %r3,%r3,1
;P_SpawnMapThing+1056
	stwr %r3,totalitems
	nop 0
	nop 0
;P_SpawnMapThing+1072
	ldbs %r3,%r1,5
	ldbz %r4,%r1,4
	slor %r3,%r4,%r3,8
;P_SpawnMapThing+1088
	mulwsi %r3,%r3,11651
	srliw %r4,%r3,31
	srliw %r3,%r3,19
;P_SpawnMapThing+1104
	addws %r3,%r3,%r4
	slliw %r3,%r3,29
	stw %r3,%r10,56
;P_SpawnMapThing+1120
	ldbz %r1,%r1,8
	bbci %r1,3,P_SpawnMapThing+384
	ori %r1,%r2,32
;P_SpawnMapThing+1136
	stw %r1,%r10,160
	retf 16
	nop 0
;P_SpawnPuff
	alloc 10
	callr %r8,P_Random
	mov %r4,%r9
;P_SpawnPuff+16
	callr %r8,P_Random
	subws %r4,%r4,%r9
	sladdws %r8,%r3,%r4,10
;P_SpawnPuff+32
	ldi %r9,37
	mov2 %r6,%r7,%r1,%r2
	callr %r5,P_SpawnMobj
;P_SpawnPuff+48
	ldi %r1,65536
	stw %r1,%r6,120
	callr %r8,P_Random
;P_SpawnPuff+64
	ldwz %r1,%r6,144
	andi %r2,%r9,3
	subws %r1,%r1,%r2
;P_SpawnPuff+80
	ldi %r2,1
	maxsw %r1,%r1,%r2
	stw %r1,%r6,144
;P_SpawnPuff+96
	ldwzr %r1,attackrange
	bwnei.l %r1,4194304,P_SpawnPuff+128
;P_SpawnPuff+112
	ldi %r9,95
	mov %r8,%r6
	callr %r7,P_SetMobjState
;P_SpawnPuff+128
	retf 0
	nop 0
	nop 0
;P_SpawnBlood
	alloc 11
	callr %r9,P_Random
	mov %r5,%r10
;P_SpawnBlood+16
	callr %r9,P_Random
	subws %r5,%r5,%r10
	sladdws %r9,%r3,%r5,10
;P_SpawnBlood+32
	ldi %r10,38
	mov2 %r7,%r8,%r1,%r2
	callr %r6,P_SpawnMobj
;P_SpawnBlood+48
	ldi %r1,131072
	stw %r1,%r7,120
	callr %r9,P_Random
;P_SpawnBlood+64
	ldwz %r1,%r7,144
	andi %r2,%r10,3
	subws %r1,%r1,%r2
;P_SpawnBlood+80
	ldi %r2,1
	maxsw %r1,%r1,%r2
	addiws %r2,%r4,-9
;P_SpawnBlood+96
	stw %r1,%r7,144
	bwgeui %r2,4,P_SpawnBlood+128
	ldi %r10,91
;P_SpawnBlood+112
	jmp P_SpawnBlood+144
	nop 0
	nop 0
;P_SpawnBlood+128
	bwgei %r4,9,P_SpawnBlood+160
	ldi %r10,92
	nop 0
;P_SpawnBlood+144
	mov %r9,%r7
	callr %r8,P_SetMobjState
	nop 0
;P_SpawnBlood+160
	retf 0
	nop 0
	nop 0
;P_CheckMissileSpawn
	alloc 8
	callr %r6,P_Random
	ldwz %r2,%r1,144
;P_CheckMissileSpawn+16
	andi %r3,%r7,3
	subws %r2,%r2,%r3
	ldi %r3,1
;P_CheckMissileSpawn+32
	maxsw %r2,%r2,%r3
	stw %r2,%r1,144
	ldwz %r2,%r1,112
;P_CheckMissileSpawn+48
	ldwz %r3,%r1,24
	sraiw %r2,%r2,1
	addws %r6,%r3,%r2
;P_CheckMissileSpawn+64
	stw %r6,%r1,24
	ldwz %r2,%r1,116
	ldwz %r3,%r1,28
;P_CheckMissileSpawn+80
	sraiw %r2,%r2,1
	addws %r7,%r3,%r2
	stw %r7,%r1,28
;P_CheckMissileSpawn+96
	ldwz %r2,%r1,120
	ldwz %r3,%r1,32
	sraiw %r2,%r2,1
;P_CheckMissileSpawn+112
	addws %r2,%r3,%r2
	stw %r2,%r1,32
	mov %r5,%r1
;P_CheckMissileSpawn+128
	callr %r4,P_TryMove
	bweq %r5,%gz,P_CheckMissileSpawn+144
	retf 0
;P_CheckMissileSpawn+144
	mov %r7,%r1
	callr %r6,P_ExplodeMissile
	retf 0
;P_SubstNullMobj
	alloc 2
	bdeq %r1,%gz,P_SubstNullMobj+16
	retf 0
;P_SubstNullMobj+16
	stdr %gz,P_SubstNullMobj.dummy_mobj+24
	ldafr %r1,P_SubstNullMobj.dummy_mobj
	stwr %gz,P_SubstNullMobj.dummy_mobj+32
;P_SubstNullMobj+32
	stwr %gz,P_SubstNullMobj.dummy_mobj+160
	retf 0
	nop 0
;P_SpawnMissile
	alloc 13
	ldwz %r4,%r1,32
	ldwz %r9,%r1,24
;P_SpawnMissile+16
	ldwz %r10,%r1,28
	addiws.l %r11,%r4,2097152
;P_SpawnMissile+32
	mov %r12,%r3
	callr %r8,P_SpawnMobj
	mov %r3,%r9
;P_SpawnMissile+48
	lddz %r4,%r9,136
	ldwz %r12,%r4,16
	bweq %r12,%gz,P_SpawnMissile+80
;P_SpawnMissile+64
	mov %r11,%r3
	callr %r10,S_StartSound
	nop 0
;P_SpawnMissile+80
	std %r1,%r3,176
	ldwz %r9,%r1,24
	ldwz %r10,%r1,28
;P_SpawnMissile+96
	ldwz %r11,%r2,24
	ldwz %r12,%r2,28
	callr %r8,R_PointToAngle2
;P_SpawnMissile+112
	ldbz %r4,%r2,162
	bbci %r4,2,P_SpawnMissile+160
	callr %r11,P_Random
;P_SpawnMissile+128
	mov %r4,%r12
	callr %r11,P_Random
	subws %r4,%r4,%r12
;P_SpawnMissile+144
	sladdws %r9,%r9,%r4,20
	nop 0
	nop 0
;P_SpawnMissile+160
	stw %r9,%r3,56
	lddz %r4,%r3,136
	lddzr %r5,finecosine
;P_SpawnMissile+176
	srliw %r6,%r9,19
	ldws %r4,%r4,60
	ldwsx.xuw %r5,%r5,%r6,2,0
;P_SpawnMissile+192
	mul %r5,%r5,%r4
	srli %r5,%r5,16
	stw %r5,%r3,112
;P_SpawnMissile+208
	ldafr %r5,finesine
	ldwsx.xuw %r5,%r5,%r6,2,0
	mul %r4,%r5,%r4
;P_SpawnMissile+224
	srli %r4,%r4,16
	stw %r4,%r3,116
	ldwz %r4,%r2,24
;P_SpawnMissile+240
	ldwz %r5,%r1,24
	ldwz %r6,%r2,28
	ldwz %r7,%r1,28
;P_SpawnMissile+256
	subws %r11,%r4,%r5
	subws %r12,%r6,%r7
	callr %r10,P_AproxDistance
;P_SpawnMissile+272
	lddz %r4,%r3,136
	ldwz %r4,%r4,60
	divw %r4,%r11,%r4
;P_SpawnMissile+288
	ldwz %r2,%r2,32
	ldwz %r1,%r1,32
	ldi %r5,1
;P_SpawnMissile+304
	maxsw %r4,%r4,%r5
	subws %r1,%r2,%r1
	divw %r1,%r1,%r4
;P_SpawnMissile+320
	stw %r1,%r3,120
	mov %r12,%r3
	callr %r11,P_CheckMissileSpawn
;P_SpawnMissile+336
	mov %r1,%r3
	retf 0
	nop 0
;P_SpawnPlayerMissile
	alloc 12
	ldwz %r3,%r1,56
	ldi %r11,67108864
;P_SpawnPlayerMissile+16
	mov2 %r9,%r10,%r1,%r3
	callr %r8,P_AimLineAttack
	lddzr %r5,linetarget
;P_SpawnPlayerMissile+32
	bdeq %r5,%gz,P_SpawnPlayerMissile+64
	nop 0
	nop 0
;P_SpawnPlayerMissile+48
	mov %r4,%r9
	jmp P_SpawnPlayerMissile+112
	nop 0
;P_SpawnPlayerMissile+64
	addiws.l %r5,%r3,67108864
	ldi %r11,67108864
;P_SpawnPlayerMissile+80
	mov2 %r9,%r10,%r1,%r5
	callr %r8,P_AimLineAttack
	lddzr %r6,linetarget
;P_SpawnPlayerMissile+96
	bdeq %r6,%gz,P_SpawnPlayerMissile+304
	mov2 %r4,%r3,%r9,%r5
	nop 0
;P_SpawnPlayerMissile+112
	ldwz %r5,%r1,32
	ldwz %r8,%r1,24
	ldwz %r9,%r1,28
;P_SpawnPlayerMissile+128
	addiws.l %r10,%r5,2097152
	mov %r11,%r2
;P_SpawnPlayerMissile+144
	callr %r7,P_SpawnMobj
	lddz %r2,%r8,136
	ldwz %r11,%r2,16
;P_SpawnPlayerMissile+160
	bweq %r11,%gz,P_SpawnPlayerMissile+192
	mov %r10,%r8
	callr %r9,S_StartSound
;P_SpawnPlayerMissile+176
	lddz %r2,%r8,136
	nop 0
	nop 0
;P_SpawnPlayerMissile+192
	std %r1,%r8,176
	stw %r3,%r8,56
	lddzr %r1,finecosine
;P_SpawnPlayerMissile+208
	ldws %r2,%r2,60
	srliw %r3,%r3,19
	ldwsx.xuw %r1,%r1,%r3,2,0
;P_SpawnPlayerMissile+224
	mul %r1,%r1,%r2
	srli %r1,%r1,16
	stw %r1,%r8,112
;P_SpawnPlayerMissile+240
	ldafr %r1,finesine
	ldwsx.xuw %r1,%r1,%r3,2,0
	mul %r1,%r1,%r2
;P_SpawnPlayerMissile+256
	srli %r1,%r1,16
	stw %r1,%r8,116
	sraiw %r1,%r4,0
;P_SpawnPlayerMissile+272
	mul %r1,%r2,%r1
	srli %r1,%r1,16
	stw %r1,%r8,120
;P_SpawnPlayerMissile+288
	mov %r11,%r8
	callr %r10,P_CheckMissileSpawn
	retf 0
;P_SpawnPlayerMissile+304
	addiws.l %r3,%r3,-67108864
	ldi %r11,67108864
;P_SpawnPlayerMissile+320
	mov2 %r9,%r10,%r1,%r3
	callr %r8,P_AimLineAttack
	lddzr %r5,linetarget
;P_SpawnPlayerMissile+336
	bdne %r5,%gz,P_SpawnPlayerMissile+48
	mov %r4,%gz
	ldwz %r3,%r1,56
;P_SpawnPlayerMissile+352
	jmp P_SpawnPlayerMissile+112
	nop 0
	nop 0
;T_PlatRaise
	alloc 12
	ldwz %r2,%r1,52
	bweqi %r2,2,T_PlatRaise+272
;T_PlatRaise+16
	bweqi %r2,1,T_PlatRaise+176
	bwne %r2,%gz,T_PlatRaise+160
	lddz %r6,%r1,24
;T_PlatRaise+32
	ldwz %r7,%r1,32
	ldwz %r8,%r1,40
	ldwz %r9,%r1,60
;T_PlatRaise+48
	ldi %r2,1
	mov2 %r10,%r11,%gz,%r2
	callr %r5,T_MovePlane
;T_PlatRaise+64
	ldwz %r3,%r1,68
	andi %r3,%r3,-2
	bwnei %r3,2,T_PlatRaise+128
;T_PlatRaise+80
	ldbzr %r3,leveltime
	andi %r3,%r3,7
	bwne %r3,%gz,T_PlatRaise+128
;T_PlatRaise+96
	lddz %r3,%r1,24
	addi %r10,%r3,48
	ldi %r11,22
;T_PlatRaise+112
	callr %r9,S_StartSound
	nop 0
	nop 0
;T_PlatRaise+128
	bweqi %r6,2,T_PlatRaise+336
	bwnei %r6,1,T_PlatRaise+160
	ldwz %r3,%r1,60
;T_PlatRaise+144
	bweq %r3,%gz,T_PlatRaise+560
	nop 0
	nop 0
;T_PlatRaise+160
	retf 0
	nop 0
	nop 0
;T_PlatRaise+176
	lddz %r6,%r1,24
	ldwz %r7,%r1,32
	ldwz %r8,%r1,36
;T_PlatRaise+192
	ldi %r11,-1
	mov2 %r9,%r10,%gz,%gz
	callr %r5,T_MovePlane
;T_PlatRaise+208
	bwnei %r6,2,T_PlatRaise+160
	ldwz %r2,%r1,44
	stw %r2,%r1,48
;T_PlatRaise+224
	ldi %r2,2
	stw %r2,%r1,52
	lddz %r1,%r1,24
;T_PlatRaise+240
	addi %r10,%r1,48
	ldi %r11,19
	callr %r9,S_StartSound
;T_PlatRaise+256
	retf 0
	nop 0
	nop 0
;T_PlatRaise+272
	ldwz %r2,%r1,48
	addiws %r2,%r2,-1
	stw %r2,%r1,48
;T_PlatRaise+288
	bwne %r2,%gz,T_PlatRaise+160
	lddz %r2,%r1,24
	ldwz %r3,%r2,0
;T_PlatRaise+304
	ldwz %r4,%r1,36
	cmpwne %r3,%r3,%r4
	stw %r3,%r1,52
;T_PlatRaise+320
	addi %r10,%r2,48
	jmp T_PlatRaise+592
	nop 0
;T_PlatRaise+336
	ldwz %r2,%r1,44
	stw %r2,%r1,48
	ldi %r2,2
;T_PlatRaise+352
	stw %r2,%r1,52
	lddz %r2,%r1,24
	addi %r10,%r2,48
;T_PlatRaise+368
	ldi %r11,19
	callr %r9,S_StartSound
	ldwz %r2,%r1,68
;T_PlatRaise+384
	addiws %r3,%r2,-2
	bwltui %r3,2,T_PlatRaise+464
	bweqi %r2,1,T_PlatRaise+416
;T_PlatRaise+400
	bwnei %r2,4,T_PlatRaise+160
	nop 0
	nop 0
;T_PlatRaise+416
	mov %r2,%gz
	ldafr %r3,activeplats
	nop 0
;T_PlatRaise+432
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r1,%r4,T_PlatRaise+528
	addi %r2,%r2,8
;T_PlatRaise+448
	bdnei %r2,240,T_PlatRaise+432
	jmp T_PlatRaise+512
	nop 0
;T_PlatRaise+464
	mov %r2,%gz
	ldafr %r3,activeplats
	nop 0
;T_PlatRaise+480
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r1,%r4,T_PlatRaise+528
	addi %r2,%r2,8
;T_PlatRaise+496
	bdnei %r2,240,T_PlatRaise+480
	nop 0
	nop 0
;T_PlatRaise+512
	ldafr %r11,.rodata+12585
	callr %r10,I_Error
	retf 0
;T_PlatRaise+528
	lddz %r1,%r4,24
	std %gz,%r1,104
	lddzx.xd %r11,%r2,%r3,0,0
;T_PlatRaise+544
	callr %r10,P_RemoveThinker
	stdx.xd %gz,%r2,%r3,0,0
	retf 0
;T_PlatRaise+560
	ldwz %r3,%r1,44
	stw %r3,%r1,48
	stw %r2,%r1,52
;T_PlatRaise+576
	lddz %r1,%r1,24
	addi %r10,%r1,48
	nop 0
;T_PlatRaise+592
	ldi %r11,18
	callr %r9,S_StartSound
	retf 0
;P_RemoveActivePlat
	alloc 7
	mov %r2,%gz
	ldafr %r3,activeplats
;P_RemoveActivePlat+16
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r1,%r4,P_RemoveActivePlat+64
	addi %r2,%r2,8
;P_RemoveActivePlat+32
	bdnei %r2,240,P_RemoveActivePlat+16
	ldafr %r6,.rodata+12585
	callr %r5,I_Error
;P_RemoveActivePlat+48
	retf 0
	nop 0
	nop 0
;P_RemoveActivePlat+64
	lddz %r1,%r4,24
	std %gz,%r1,104
	lddzx.xd %r6,%r2,%r3,0,0
;P_RemoveActivePlat+80
	callr %r5,P_RemoveThinker
	stdx.xd %gz,%r2,%r3,0,0
	retf 0
;EV_DoPlat
	alloc 28
	mov %r9,%r1
	ldafr %r10,activeplats
;EV_DoPlat+16
	ldar %r11,T_PlatRaise
	bweq %r2,%gz,EV_DoPlat+736
	nop 0
;EV_DoPlat+32
	mov %r1,%gz
	slliw %r12,%r3,16
	ldi %r6,-1
;EV_DoPlat+48
	ldi %r3,72
	ldi %r4,6
	srliw %r13,%r2,0
;EV_DoPlat+64
	ldi %r14,1
	ldafr %r5,.rodata+14494
	ldafr %r15,.rodata+35988
;EV_DoPlat+80
	ldi %r16,65536
	ldi %r17,105
	ldi %r18,18
;EV_DoPlat+96
	ldi %r19,262144
	ldi %r20,32768
	ldi %r21,22
;EV_DoPlat+112
	ldi %r22,524288
	nop 0
	nop 0
;EV_DoPlat+128
	mov2 %r26,%r27,%r9,%r6
	callr %r25,P_FindSectorFromLineTag
	bwlt %r26,%gz,EV_DoPlat+720
;EV_DoPlat+144
	mov %r6,%r26
	lddzr %r7,sectors
	ldax.xuw %r8,%r7,%r26,7,0
;EV_DoPlat+160
	lddzx.xuw %r7,%r7,%r26,7,104
	bdne %r7,%gz,EV_DoPlat+128
	mov2 %r25,%r26,%r3,%r4
;EV_DoPlat+176
	mov %r27,%gz
	callr %r24,Z_Malloc
	mov2 %r7,%r27,%r25,%r25
;EV_DoPlat+192
	callr %r26,P_AddThinker
	stw %r2,%r25,68
	std %r8,%r25,24
;EV_DoPlat+208
	std %r25,%r8,104
	std %r11,%r25,16
	stw %gz,%r25,60
;EV_DoPlat+224
	ldhs %r1,%r9,28
	stw %r1,%r25,64
	bwgeui %r2,5,EV_DoPlat+640
;EV_DoPlat+240
	jmpt %r15,%r13
	nop 0
	nop 0
;EV_DoPlat+256
	stw %r16,%r7,32
	mov %r27,%r8
	callr %r26,P_FindLowestFloorSurrounding
;EV_DoPlat+272
	ldwz %r1,%r8,0
	minsw %r1,%r27,%r1
	stw %r1,%r7,36
;EV_DoPlat+288
	mov %r27,%r8
	callr %r26,P_FindHighestFloorSurrounding
	ldwz %r1,%r8,0
;EV_DoPlat+304
	maxsw %r1,%r27,%r1
	stw %r1,%r7,40
	stw %r17,%r7,44
;EV_DoPlat+320
	callr %r26,P_Random
	andi %r1,%r27,1
	stw %r1,%r7,52
;EV_DoPlat+336
	jmp EV_DoPlat+608
	nop 0
	nop 0
;EV_DoPlat+352
	stw %r22,%r7,32
	jmp EV_DoPlat+560
	nop 0
;EV_DoPlat+368
	stw %r20,%r7,32
	ldhs %r1,%r9,30
	lddzr %r23,sides
;EV_DoPlat+384
	muli %r1,%r1,24
	lddzx.xd %r1,%r23,%r1,0,16
	ldhz %r1,%r1,8
;EV_DoPlat+400
	sth %r1,%r8,8
	ldwz %r1,%r8,0
	addws %r1,%r1,%r12
;EV_DoPlat+416
	stw %r1,%r7,40
	stw %gz,%r7,44
	stw %gz,%r7,52
;EV_DoPlat+432
	mov %r27,%r21
	jmp EV_DoPlat+624
	nop 0
;EV_DoPlat+448
	stw %r20,%r7,32
	ldhs %r1,%r9,30
	lddzr %r23,sides
;EV_DoPlat+464
	muli %r1,%r1,24
	lddzx.xd %r1,%r23,%r1,0,16
	ldhz %r1,%r1,8
;EV_DoPlat+480
	sth %r1,%r8,8
	ldwz %r27,%r8,0
	mov %r26,%r8
;EV_DoPlat+496
	callr %r25,P_FindNextHighestFloor
	stw %r26,%r7,40
	stw %gz,%r7,44
;EV_DoPlat+512
	stw %gz,%r7,52
	sth %gz,%r8,14
	mov %r27,%r21
;EV_DoPlat+528
	jmp EV_DoPlat+624
	nop 0
	nop 0
;EV_DoPlat+544
	stw %r19,%r7,32
	nop 0
	nop 0
;EV_DoPlat+560
	mov %r27,%r8
	callr %r26,P_FindLowestFloorSurrounding
	ldwz %r1,%r8,0
;EV_DoPlat+576
	minsw %r1,%r27,%r1
	stw %r1,%r7,36
	ldwz %r1,%r8,0
;EV_DoPlat+592
	stw %r1,%r7,40
	stw %r17,%r7,44
	stw %r14,%r7,52
;EV_DoPlat+608
	mov %r27,%r18
	nop 0
	nop 0
;EV_DoPlat+624
	addi %r26,%r8,48
	callr %r25,S_StartSound
	nop 0
;EV_DoPlat+640
	mov %r1,%gz
	nop 0
	nop 0
;EV_DoPlat+656
	lddzx.xd %r8,%r1,%r10,0,0
	bdeq %r8,%gz,EV_DoPlat+704
	addi %r1,%r1,8
;EV_DoPlat+672
	bdnei %r1,240,EV_DoPlat+656
	mov %r27,%r5
	callr %r26,I_Error
;EV_DoPlat+688
	mov %r1,%r14
	jmp EV_DoPlat+128
	nop 0
;EV_DoPlat+704
	stdx.xd %r7,%r1,%r10,0,0
	mov %r1,%r14
	jmp EV_DoPlat+128
;EV_DoPlat+720
	retf 0
	nop 0
	nop 0
;EV_DoPlat+736
	mov %r1,%gz
	ldhs %r4,%r9,28
	jmp EV_DoPlat+768
;EV_DoPlat+752
	addi %r1,%r1,8
	bdeqi %r1,240,EV_DoPlat+32
	nop 0
;EV_DoPlat+768
	lddzx.xd %r5,%r1,%r10,0,0
	bdeq %r5,%gz,EV_DoPlat+752
	ldwz %r6,%r5,64
;EV_DoPlat+784
	bwne %r6,%r4,EV_DoPlat+752
	ldwz %r6,%r5,52
	bwnei %r6,3,EV_DoPlat+752
;EV_DoPlat+800
	ldwz %r6,%r5,56
	stw %r6,%r5,52
	std %r11,%r5,16
;EV_DoPlat+816
	jmp EV_DoPlat+752
	nop 0
	nop 0
;P_ActivateInStasis
	alloc 7
	mov %r2,%gz
	ldafr %r3,activeplats
;P_ActivateInStasis+16
	ldar %r4,T_PlatRaise
	jmp P_ActivateInStasis+48
	nop 0
;P_ActivateInStasis+32
	addi %r2,%r2,8
	bdeqi %r2,240,P_ActivateInStasis+112
	nop 0
;P_ActivateInStasis+48
	lddzx.xd %r5,%r2,%r3,0,0
	bdeq %r5,%gz,P_ActivateInStasis+32
	ldwz %r6,%r5,64
;P_ActivateInStasis+64
	bwne %r6,%r1,P_ActivateInStasis+32
	ldwz %r6,%r5,52
	bwnei %r6,3,P_ActivateInStasis+32
;P_ActivateInStasis+80
	ldwz %r6,%r5,56
	stw %r6,%r5,52
	std %r4,%r5,16
;P_ActivateInStasis+96
	jmp P_ActivateInStasis+32
	nop 0
	nop 0
;P_ActivateInStasis+112
	retf 0
	nop 0
	nop 0
;P_AddActivePlat
	alloc 7
	mov %r2,%gz
	ldafr %r3,activeplats
;P_AddActivePlat+16
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%gz,P_AddActivePlat+64
	addi %r2,%r2,8
;P_AddActivePlat+32
	bdnei %r2,240,P_AddActivePlat+16
	ldafr %r6,.rodata+14494
	callr %r5,I_Error
;P_AddActivePlat+48
	retf 0
	nop 0
	nop 0
;P_AddActivePlat+64
	stdx.xd %r1,%r2,%r3,0,0
	retf 0
	nop 0
;EV_StopPlat
	alloc 9
	mov %r2,%gz
	ldafr %r3,activeplats
;EV_StopPlat+16
	ldi %r4,3
	jmp EV_StopPlat+48
	nop 0
;EV_StopPlat+32
	addi %r2,%r2,8
	bdeqi %r2,240,EV_StopPlat+112
	nop 0
;EV_StopPlat+48
	lddzx.xd %r5,%r2,%r3,0,0
	bdeq %r5,%gz,EV_StopPlat+32
	ldwz %r6,%r5,52
;EV_StopPlat+64
	bweqi %r6,3,EV_StopPlat+32
	ldwz %r7,%r5,64
	ldhs %r8,%r1,28
;EV_StopPlat+80
	bwne %r7,%r8,EV_StopPlat+32
	stw %r6,%r5,56
	stw %r4,%r5,52
;EV_StopPlat+96
	std %gz,%r5,16
	jmp EV_StopPlat+32
	nop 0
;EV_StopPlat+112
	retf 0
	nop 0
	nop 0
;P_SetPsprite
	alloc 13
	sraiw %r2,%r2,0
	muli %r2,%r2,24
;P_SetPsprite+16
	ldax.xd.l %r2,%r1,%r2,0,272
	ldafr %r4,states
;P_SetPsprite+32
	ldi %r5,40
	ldafr %r6,states+8
	ldafr %r7,states+28
;P_SetPsprite+48
	jmp P_SetPsprite+80
	nop 0
	nop 0
;P_SetPsprite+64
	ldwz %r3,%r3,24
	bwne %r8,%gz,P_SetPsprite+208
	nop 0
;P_SetPsprite+80
	bweq %r3,%gz,P_SetPsprite+224
	srliw %r8,%r3,0
	muladd %r3,%r8,%r5,%r4
;P_SetPsprite+96
	muli %r9,%r8,40
	std %r3,%r2,0
	ldwzx.xd %r8,%r9,%r6,0,0
;P_SetPsprite+112
	stw %r8,%r2,8
	ldwzx.xd %r9,%r9,%r7,0,0
	bweq %r9,%gz,P_SetPsprite+160
;P_SetPsprite+128
	slliw %r9,%r9,16
	stw %r9,%r2,12
	ldwz %r9,%r3,32
;P_SetPsprite+144
	slliw %r9,%r9,16
	stw %r9,%r2,16
	nop 0
;P_SetPsprite+160
	lddz %r9,%r3,16
	bdeq %r9,%gz,P_SetPsprite+64
	mov2 %r11,%r12,%r1,%r2
;P_SetPsprite+176
	callri %r10,%r9,%gz
	lddz %r3,%r2,0
	bdeq %r3,%gz,P_SetPsprite+208
;P_SetPsprite+192
	ldwz %r8,%r2,8
	jmp P_SetPsprite+64
	nop 0
;P_SetPsprite+208
	retf 0
	nop 0
	nop 0
;P_SetPsprite+224
	std %gz,%r2,0
	retf 0
	nop 0
;P_CalcSwing
	alloc 5
	ldwzr %r2,leveltime
	ldws %r1,%r1,40
;P_CalcSwing+16
	mulwsi %r2,%r2,117
	andi %r2,%r2,8191
	ldafr %r3,finesine
;P_CalcSwing+32
	ldwsx.xuw %r4,%r3,%r2,2,0
	mul %r1,%r4,%r1
	xori %r2,%r2,4096
;P_CalcSwing+48
	ldwsx.xuw %r2,%r3,%r2,2,0
	srli %r1,%r1,16
	stwr %r1,swingx
;P_CalcSwing+64
	sraiw %r1,%r1,0
	mul %r1,%r1,%r2
	srli %r1,%r1,16
;P_CalcSwing+80
	subfiws %r1,%r1,0
	stwr %r1,swingy
	retf 0
;P_BringUpWeapon
	alloc 8
	ldwz %r2,%r1,128
	bwnei %r2,10,P_BringUpWeapon+32
;P_BringUpWeapon+16
	ldwz %r2,%r1,124
	stw %r2,%r1,128
	nop 0
;P_BringUpWeapon+32
	bwnei %r2,7,P_BringUpWeapon+64
	lddz %r6,%r1,0
	ldi %r7,10
;P_BringUpWeapon+48
	callr %r5,S_StartSound
	ldwz %r2,%r1,128
	nop 0
;P_BringUpWeapon+64
	srliw %r2,%r2,0
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+4
;P_BringUpWeapon+80
	ldwzx.xd %r7,%r2,%r3,0,0
	ldi %r2,10
	stw %r2,%r1,128
;P_BringUpWeapon+96
	ldi %r2,8388608
	stw %r2,%r1,288
	mov2 %r5,%r6,%r1,%gz
;P_BringUpWeapon+112
	callr %r4,P_SetPsprite
	retf 0
	nop 0
;P_CheckAmmo
	alloc 13
	ldwz %r5,%r1,124
	srliw %r2,%r5,0
;P_CheckAmmo+16
	muli %r3,%r2,24
	ldafr %r2,weaponinfo
	ldwzx.xd %r2,%r3,%r2,0,0
;P_CheckAmmo+32
	bwnei %r2,5,P_CheckAmmo+48
	ldi %r1,1
	retf 0
;P_CheckAmmo+48
	ldwzx.xuw %r6,%r1,%r2,2,168
	cmpweqi %r7,%r5,8
	ldi %r2,1
;P_CheckAmmo+64
	ldi %r4,2
	cmpweqi %r5,%r5,6
	cmovlsb %r7,%r7,%r4,%r2
;P_CheckAmmo+80
	ldi %r8,40
	cmovlsb %r5,%r5,%r8,%r7
	bwle %r5,%r6,P_CheckAmmo+464
;P_CheckAmmo+96
	ldwz %r5,%r1,152
	ldwzr %r2,gamemode
	bweq %r5,%gz,P_CheckAmmo+144
;P_CheckAmmo+112
	ldwz %r5,%r1,176
	bweq %r5,%gz,P_CheckAmmo+144
	bweq %r2,%gz,P_CheckAmmo+144
;P_CheckAmmo+128
	ldi %r4,5
	jmp P_CheckAmmo+432
	nop 0
;P_CheckAmmo+144
	ldwz %r5,%r1,164
	bweq %r5,%gz,P_CheckAmmo+192
	ldwz %r5,%r1,172
;P_CheckAmmo+160
	bwlti %r5,3,P_CheckAmmo+192
	bwnei %r2,2,P_CheckAmmo+192
	ldi %r4,8
;P_CheckAmmo+176
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+192
	ldwz %r6,%r1,144
	addi %r5,%r1,168
	bweq %r6,%gz,P_CheckAmmo+240
;P_CheckAmmo+208
	ldwz %r6,%r5,0
	bweq %r6,%gz,P_CheckAmmo+240
	ldi %r4,3
;P_CheckAmmo+224
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+240
	ldwz %r6,%r1,140
	bweq %r6,%gz,P_CheckAmmo+272
	ldwz %r6,%r1,172
;P_CheckAmmo+256
	bwne %r6,%gz,P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+272
	ldwz %r4,%r5,0
	bweq %r4,%gz,P_CheckAmmo+304
	ldi %r4,1
;P_CheckAmmo+288
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+304
	ldwz %r4,%r1,160
	bweq %r4,%gz,P_CheckAmmo+336
	ldi %r4,7
;P_CheckAmmo+320
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+336
	ldwz %r4,%r1,148
	bweq %r4,%gz,P_CheckAmmo+368
	ldwz %r4,%r1,180
;P_CheckAmmo+352
	bweq %r4,%gz,P_CheckAmmo+368
	ldi %r4,4
	jmp P_CheckAmmo+432
;P_CheckAmmo+368
	ldwz %r4,%r1,156
	bweq %r4,%gz,P_CheckAmmo+416
	ldwz %r4,%r1,176
;P_CheckAmmo+384
	bwlti %r4,41,P_CheckAmmo+416
	bweq %r2,%gz,P_CheckAmmo+416
	ldi %r4,6
;P_CheckAmmo+400
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+416
	mov %r4,%gz
	nop 0
	nop 0
;P_CheckAmmo+432
	stw %r4,%r1,128
	ldafr %r2,weaponinfo+8
	ldwzx.xd %r12,%r3,%r2,0,0
;P_CheckAmmo+448
	mov2 %r10,%r11,%r1,%gz
	callr %r9,P_SetPsprite
	mov %r2,%gz
;P_CheckAmmo+464
	mov %r1,%r2
	retf 0
	nop 0
;P_FireWeapon
	alloc 8
	mov %r7,%r1
	callr %r6,P_CheckAmmo
;P_FireWeapon+16
	bweq %r7,%gz,P_FireWeapon+96
	lddz %r6,%r1,0
	ldi %r7,154
;P_FireWeapon+32
	callr %r5,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;P_FireWeapon+48
	ldafr %r3,weaponinfo+16
	ldwzx.xd %r7,%r2,%r3,0,0
	mov2 %r5,%r6,%r1,%gz
;P_FireWeapon+64
	callr %r4,P_SetPsprite
	lddz %r6,%r1,0
	mov %r7,%r6
;P_FireWeapon+80
	callr %r5,P_NoiseAlert
	nop 0
	nop 0
;P_FireWeapon+96
	retf 0
	nop 0
	nop 0
;P_DropWeapon
	alloc 8
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;P_DropWeapon+16
	ldafr %r3,weaponinfo+8
	ldwzx.xd %r7,%r2,%r3,0,0
	mov2 %r5,%r6,%r1,%gz
;P_DropWeapon+32
	callr %r4,P_SetPsprite
	retf 0
	nop 0
;A_WeaponReady
	alloc 10
	lddz %r8,%r1,0
	lddz %r3,%r8,152
;A_WeaponReady+16
	ldafr %r4,states+6160
	bdeq %r3,%r4,A_WeaponReady+48
	ldafr %r4,states+6200
;A_WeaponReady+32
	bdne %r3,%r4,A_WeaponReady+64
	nop 0
	nop 0
;A_WeaponReady+48
	ldi %r9,149
	callr %r7,P_SetMobjState
	nop 0
;A_WeaponReady+64
	ldwz %r3,%r1,124
	bwnei %r3,7,A_WeaponReady+96
	lddz %r3,%r2,0
;A_WeaponReady+80
	ldafr %r4,states+2680
	bdeq %r3,%r4,A_WeaponReady+144
	nop 0
;A_WeaponReady+96
	ldwz %r3,%r1,128
	bwnei %r3,10,A_WeaponReady+176
	nop 0
;A_WeaponReady+112
	ldwz %r3,%r1,44
	bweq %r3,%gz,A_WeaponReady+176
	ldbz %r3,%r1,17
;A_WeaponReady+128
	bbsi %r3,0,A_WeaponReady+224
	stw %gz,%r1,200
	jmp A_WeaponReady+256
;A_WeaponReady+144
	lddz %r8,%r1,0
	ldi %r9,11
	callr %r7,S_StartSound
;A_WeaponReady+160
	ldwz %r3,%r1,128
	bweqi %r3,10,A_WeaponReady+112
	nop 0
;A_WeaponReady+176
	ldwz %r2,%r1,124
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+8
;A_WeaponReady+192
	ldwzx.xd %r9,%r2,%r3,0,0
	mov2 %r7,%r8,%r1,%gz
	callr %r6,P_SetPsprite
;A_WeaponReady+208
	retf 0
	nop 0
	nop 0
;A_WeaponReady+224
	ldwz %r3,%r1,200
	bweq %r3,%gz,A_WeaponReady+368
	ldwz %r3,%r1,124
;A_WeaponReady+240
	ori %r3,%r3,2
	bwnei %r3,6,A_WeaponReady+368
	nop 0
;A_WeaponReady+256
	ldwzr %r3,leveltime
	lddzr %r4,finecosine
	slliw %r3,%r3,7
;A_WeaponReady+272
	andi %r5,%r3,8064
	ldws %r1,%r1,40
	ldwsx.xuw %r4,%r4,%r5,2,0
;A_WeaponReady+288
	mul %r4,%r4,%r1
	srli %r4,%r4,16
	addiws %r4,%r4,65536
;A_WeaponReady+304
	stw %r4,%r2,12
	andi %r3,%r3,3968
	ldafr %r4,finesine
;A_WeaponReady+320
	ldwsx.xuw %r3,%r4,%r3,2,0
	mul %r1,%r3,%r1
	srli %r1,%r1,16
;A_WeaponReady+336
	addiws.l %r1,%r1,2097152
	stw %r1,%r2,16
;A_WeaponReady+352
	retf 0
	nop 0
	nop 0
;A_WeaponReady+368
	ldi %r2,1
	stw %r2,%r1,200
	mov %r9,%r1
;A_WeaponReady+384
	callr %r8,P_FireWeapon
	retf 0
	nop 0
;A_ReFire
	alloc 5
	ldbz %r2,%r1,17
	bbci %r2,0,A_ReFire+80
;A_ReFire+16
	ldwz %r2,%r1,128
	bwnei %r2,10,A_ReFire+80
	ldwz %r2,%r1,44
;A_ReFire+32
	bweq %r2,%gz,A_ReFire+80
	ldwz %r2,%r1,212
	addiws %r2,%r2,1
;A_ReFire+48
	stw %r2,%r1,212
	mov %r4,%r1
	callr %r3,P_FireWeapon
;A_ReFire+64
	retf 0
	nop 0
	nop 0
;A_ReFire+80
	stw %gz,%r1,212
	mov %r4,%r1
	callr %r3,P_CheckAmmo
;A_ReFire+96
	retf 0
	nop 0
	nop 0
;A_CheckReload
	alloc 4
	mov %r3,%r1
	callr %r2,P_CheckAmmo
;A_CheckReload+16
	retf 0
	nop 0
	nop 0
;A_Lower
	alloc 9
	ldwz %r3,%r2,16
	addiws %r4,%r3,393216
;A_Lower+16
	stw %r4,%r2,16
	bwlti.l %r3,7995392,A_Lower+96
;A_Lower+32
	ldwz %r3,%r1,8
	bwnei %r3,1,A_Lower+64
	ldi %r1,8388608
;A_Lower+48
	stw %r1,%r2,16
	retf 0
	nop 0
;A_Lower+64
	ldwz %r2,%r1,44
	bweq %r2,%gz,A_Lower+112
	ldwz %r2,%r1,128
;A_Lower+80
	stw %r2,%r1,124
	mov %r8,%r1
	callr %r7,P_BringUpWeapon
;A_Lower+96
	retf 0
	nop 0
	nop 0
;A_Lower+112
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callr %r5,P_SetPsprite
;A_Lower+128
	retf 0
	nop 0
	nop 0
;A_Raise
	alloc 9
	ldwz %r3,%r2,16
	addiws %r4,%r3,-393216
;A_Raise+16
	stw %r4,%r2,16
	bwgei.l %r3,2490369,A_Raise+80
;A_Raise+32
	ldi %r3,2097152
	stw %r3,%r2,16
	ldwz %r2,%r1,124
;A_Raise+48
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+12
	ldwzx.xd %r8,%r2,%r3,0,0
;A_Raise+64
	mov2 %r6,%r7,%r1,%gz
	callr %r5,P_SetPsprite
	nop 0
;A_Raise+80
	retf 0
	nop 0
	nop 0
;A_GunFlash
	alloc 8
	lddz %r6,%r1,0
	ldi %r7,155
;A_GunFlash+16
	callr %r5,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;A_GunFlash+32
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r7,%r2,%r3,0,0
	ldi %r6,1
;A_GunFlash+48
	mov %r5,%r1
	callr %r4,P_SetPsprite
	retf 0
;A_Punch
	alloc 12
	callr %r10,P_Random
	sraiw %r2,%r11,0
;A_Punch+16
	muli.l %r2,%r2,1717986919
	srli %r3,%r2,63
;A_Punch+32
	srai %r2,%r2,34
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,10
;A_Punch+48
	subws %r2,%r11,%r2
	ldi %r3,2
	ldwz %r4,%r1,60
;A_Punch+64
	lddz %r5,%r1,0
	sladdws %r2,%r3,%r2,1
	mulwsi %r3,%r2,10
;A_Punch+80
	cmovweq %r2,%r4,%r2,%r3
	ldwz %r5,%r5,56
	callr %r10,P_Random
;A_Punch+96
	mov %r3,%r11
	callr %r10,P_Random
	subws %r3,%r3,%r11
;A_Punch+112
	sladdws %r3,%r5,%r3,18
	lddz %r9,%r1,0
	ldi %r4,4194304
;A_Punch+128
	mov2 %r10,%r11,%r3,%r4
	callr %r8,P_AimLineAttack
	mov %r10,%r9
;A_Punch+144
	lddz %r7,%r1,0
	mov2 %r8,%r9,%r3,%r4
	mov %r11,%r2
;A_Punch+160
	callr %r6,P_LineAttack
	lddzr %r2,linetarget
	bdeq %r2,%gz,A_Punch+240
;A_Punch+176
	lddz %r10,%r1,0
	ldi %r11,83
	callr %r9,S_StartSound
;A_Punch+192
	lddz %r2,%r1,0
	lddzr %r3,linetarget
	ldwz %r8,%r2,24
;A_Punch+208
	ldwz %r9,%r2,28
	ldwz %r10,%r3,24
	ldwz %r11,%r3,28
;A_Punch+224
	callr %r7,R_PointToAngle2
	lddz %r1,%r1,0
	stw %r8,%r1,56
;A_Punch+240
	retf 0
	nop 0
	nop 0
;A_Saw
	alloc 12
	callr %r10,P_Random
	sraiw %r2,%r11,0
;A_Saw+16
	muli.l %r2,%r2,1717986919
	srli %r3,%r2,63
;A_Saw+32
	srai %r2,%r2,34
	addws %r2,%r2,%r3
	lddz %r3,%r1,0
;A_Saw+48
	mulwsi %r2,%r2,10
	subws %r2,%r11,%r2
	ldi %r4,2
;A_Saw+64
	sladdws %r2,%r4,%r2,1
	ldwz %r5,%r3,56
	callr %r10,P_Random
;A_Saw+80
	mov %r3,%r11
	callr %r10,P_Random
	subws %r3,%r3,%r11
;A_Saw+96
	sladdws %r3,%r5,%r3,18
	lddz %r9,%r1,0
	ldi %r4,4194305
;A_Saw+112
	mov2 %r10,%r11,%r3,%r4
	callr %r8,P_AimLineAttack
	mov %r10,%r9
;A_Saw+128
	lddz %r7,%r1,0
	mov2 %r8,%r9,%r3,%r4
	mov %r11,%r2
;A_Saw+144
	callr %r6,P_LineAttack
	lddzr %r2,linetarget
	lddz %r10,%r1,0
;A_Saw+160
	bdeq %r2,%gz,A_Saw+272
	ldi %r11,13
	callr %r9,S_StartSound
;A_Saw+176
	lddz %r2,%r1,0
	lddzr %r3,linetarget
	ldwz %r8,%r2,24
;A_Saw+192
	ldwz %r9,%r2,28
	ldwz %r10,%r3,24
	ldwz %r11,%r3,28
;A_Saw+208
	callr %r7,R_PointToAngle2
	lddz %r1,%r1,0
	ldwz %r2,%r1,56
;A_Saw+224
	subws %r3,%r8,%r2
	bwltui.l %r3,2147483649,A_Saw+288
;A_Saw+240
	bwgeui.l %r3,1099457940685,A_Saw+320
	nop 2
;A_Saw+256
	addiws.l %r2,%r8,51130563
	jmp A_Saw+352
;A_Saw+272
	ldi %r11,12
	callr %r9,S_StartSound
	retf 0
;A_Saw+288
	bwltui.l %r3,53687092,A_Saw+336
	nop 2
;A_Saw+304
	addiws.l %r2,%r8,-51130563
	jmp A_Saw+352
;A_Saw+320
	addiws.l %r2,%r2,-53687091
	jmp A_Saw+352
;A_Saw+336
	addiws.l %r2,%r2,53687091
	nop 0
;A_Saw+352
	stw %r2,%r1,56
	ldwz %r2,%r1,160
	ori %r2,%r2,128
;A_Saw+368
	stw %r2,%r1,160
	retf 0
	nop 0
;A_FireMissile
	alloc 7
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;A_FireMissile+16
	ldafr %r3,weaponinfo
	ldwzx.xd %r2,%r2,%r3,0,0
	bwgei %r2,4,A_FireMissile+64
;A_FireMissile+32
	ldwzx.xw %r3,%r1,%r2,2,168
	addiws %r3,%r3,-1
	stwx.xw %r3,%r1,%r2,2,168
;A_FireMissile+48
	jmp A_FireMissile+96
	nop 0
	nop 0
;A_FireMissile+64
	addiws %r2,%r2,-4
	ldwzx.xuw %r3,%r1,%r2,2,184
	addiws %r3,%r3,-1
;A_FireMissile+80
	stwx.xuw %r3,%r1,%r2,2,184
	nop 0
	nop 0
;A_FireMissile+96
	lddz %r5,%r1,0
	ldi %r6,33
	callr %r4,P_SpawnPlayerMissile
;A_FireMissile+112
	retf 0
	nop 0
	nop 0
;A_FireBFG
	alloc 7
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;A_FireBFG+16
	ldafr %r3,weaponinfo
	ldwzx.xd %r2,%r2,%r3,0,0
	bwgei %r2,4,A_FireBFG+64
;A_FireBFG+32
	ldwzx.xw %r3,%r1,%r2,2,168
	addiws %r3,%r3,-40
	stwx.xw %r3,%r1,%r2,2,168
;A_FireBFG+48
	jmp A_FireBFG+96
	nop 0
	nop 0
;A_FireBFG+64
	addiws %r2,%r2,-4
	ldwzx.xuw %r3,%r1,%r2,2,184
	addiws %r3,%r3,-40
;A_FireBFG+80
	stwx.xuw %r3,%r1,%r2,2,184
	nop 0
	nop 0
;A_FireBFG+96
	lddz %r5,%r1,0
	ldi %r6,35
	callr %r4,P_SpawnPlayerMissile
;A_FireBFG+112
	retf 0
	nop 0
	nop 0
;A_FirePlasma
	alloc 9
	ldwz %r2,%r1,124
	muli %r3,%r2,24
;A_FirePlasma+16
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	bwgei %r3,4,A_FirePlasma+64
;A_FirePlasma+32
	ldwzx.xw %r2,%r1,%r3,2,168
	addiws %r2,%r2,-1
	stwx.xw %r2,%r1,%r3,2,168
;A_FirePlasma+48
	ldwz %r2,%r1,124
	jmp A_FirePlasma+96
	nop 0
;A_FirePlasma+64
	addiws %r3,%r3,-4
	ldwzx.xuw %r4,%r1,%r3,2,184
	addiws %r4,%r4,-1
;A_FirePlasma+80
	stwx.xuw %r4,%r1,%r3,2,184
	nop 0
	nop 0
;A_FirePlasma+96
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r3,%r2,%r3,0,0
;A_FirePlasma+112
	callr %r7,P_Random
	andi %r2,%r8,1
	addws %r8,%r2,%r3
;A_FirePlasma+128
	ldi %r7,1
	mov %r6,%r1
	callr %r5,P_SetPsprite
;A_FirePlasma+144
	lddz %r7,%r1,0
	ldi %r8,34
	callr %r6,P_SpawnPlayerMissile
;A_FirePlasma+160
	retf 0
	nop 0
	nop 0
;P_BulletSlope
	alloc 8
	ldwz %r2,%r1,56
	ldi %r7,67108864
;P_BulletSlope+16
	mov2 %r5,%r6,%r1,%r2
	callr %r4,P_AimLineAttack
	lddzr %r3,linetarget
;P_BulletSlope+32
	stwr %r5,bulletslope
	bdeq %r3,%gz,P_BulletSlope+64
	nop 0
;P_BulletSlope+48
	retf 0
	nop 0
	nop 0
;P_BulletSlope+64
	addiws.l %r6,%r2,67108864
	ldi %r7,67108864
;P_BulletSlope+80
	mov %r5,%r1
	callr %r4,P_AimLineAttack
	lddzr %r3,linetarget
;P_BulletSlope+96
	stwr %r5,bulletslope
	bdne %r3,%gz,P_BulletSlope+48
	nop 2
;P_BulletSlope+112
	addiws.l %r6,%r2,-67108864
	ldi %r7,67108864
;P_BulletSlope+128
	mov %r5,%r1
	callr %r4,P_AimLineAttack
	stwr %r5,bulletslope
;P_BulletSlope+144
	retf 0
	nop 0
	nop 0
;P_GunShot
	alloc 11
	callr %r9,P_Random
	mov %r3,%r10
;P_GunShot+16
	ldwz %r7,%r1,56
	bwne %r2,%gz,P_GunShot+64
	callr %r9,P_Random
;P_GunShot+32
	mov %r2,%r10
	callr %r9,P_Random
	subws %r2,%r2,%r10
;P_GunShot+48
	sladdws %r7,%r7,%r2,18
	nop 0
	nop 0
;P_GunShot+64
	sraiw %r2,%r3,0
	muli.l %r2,%r2,1431655766
;P_GunShot+80
	srli %r4,%r2,63
	srli %r2,%r2,32
	addws %r2,%r2,%r4
;P_GunShot+96
	mulwsi %r2,%r2,3
	subws %r2,%r3,%r2
	mulwsi %r2,%r2,5
;P_GunShot+112
	addiws %r10,%r2,5
	ldwzr %r9,bulletslope
	nop 2
;P_GunShot+128
	ldi.l %r8,134217728
	mov %r6,%r1
;P_GunShot+144
	callr %r5,P_LineAttack
	retf 0
	nop 0
;A_FirePistol
	alloc 9
	lddz %r7,%r1,0
	ldi %r8,1
;A_FirePistol+16
	callr %r6,S_StartSound
	lddz %r7,%r1,0
	ldi %r8,155
;A_FirePistol+32
	callr %r6,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r3,%r2,24
;A_FirePistol+48
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	bwgei %r3,4,A_FirePistol+96
;A_FirePistol+64
	ldwzx.xw %r2,%r1,%r3,2,168
	addiws %r2,%r2,-1
	stwx.xw %r2,%r1,%r3,2,168
;A_FirePistol+80
	ldwz %r2,%r1,124
	jmp A_FirePistol+128
	nop 0
;A_FirePistol+96
	addiws %r3,%r3,-4
	ldwzx.xuw %r4,%r1,%r3,2,184
	addiws %r4,%r4,-1
;A_FirePistol+112
	stwx.xuw %r4,%r1,%r3,2,184
	nop 0
	nop 0
;A_FirePistol+128
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r8,%r2,%r3,0,0
;A_FirePistol+144
	ldi %r7,1
	mov %r6,%r1
	callr %r5,P_SetPsprite
;A_FirePistol+160
	lddz %r8,%r1,0
	callr %r7,P_BulletSlope
	ldwz %r2,%r1,212
;A_FirePistol+176
	lddz %r7,%r1,0
	cmpweqi %r8,%r2,0
	callr %r6,P_GunShot
;A_FirePistol+192
	retf 0
	nop 0
	nop 0
;A_FireShotgun
	alloc 14
	lddz %r12,%r1,0
	ldi %r13,2
;A_FireShotgun+16
	callr %r11,S_StartSound
	lddz %r12,%r1,0
	ldi %r13,155
;A_FireShotgun+32
	callr %r11,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r3,%r2,24
;A_FireShotgun+48
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	bwgei %r3,4,A_FireShotgun+96
;A_FireShotgun+64
	ldwzx.xw %r2,%r1,%r3,2,168
	addiws %r2,%r2,-1
	stwx.xw %r2,%r1,%r3,2,168
;A_FireShotgun+80
	ldwz %r2,%r1,124
	jmp A_FireShotgun+128
	nop 0
;A_FireShotgun+96
	addiws %r3,%r3,-4
	ldwzx.xuw %r4,%r1,%r3,2,184
	addiws %r4,%r4,-1
;A_FireShotgun+112
	stwx.xuw %r4,%r1,%r3,2,184
	nop 0
	nop 0
;A_FireShotgun+128
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r13,%r2,%r3,0,0
;A_FireShotgun+144
	ldi %r12,1
	mov %r11,%r1
	callr %r10,P_SetPsprite
;A_FireShotgun+160
	lddz %r13,%r1,0
	callr %r12,P_BulletSlope
	mov %r3,%gz
;A_FireShotgun+176
	ldi.l %r2,134217728
	nop 0
;A_FireShotgun+192
	mov %r6,%r3
	lddz %r9,%r1,0
	callr %r12,P_Random
;A_FireShotgun+208
	mov %r3,%r13
	ldwz %r7,%r9,56
	callr %r12,P_Random
;A_FireShotgun+224
	mov %r4,%r13
	callr %r12,P_Random
	subws %r4,%r4,%r13
;A_FireShotgun+240
	sladdws %r10,%r7,%r4,18
	sraiw %r4,%r3,0
	nop 2
;A_FireShotgun+256
	muli.l %r4,%r4,1431655766
	srli %r5,%r4,63
;A_FireShotgun+272
	srli %r4,%r4,32
	addws %r4,%r4,%r5
	mulwsi %r4,%r4,3
;A_FireShotgun+288
	subws %r3,%r3,%r4
	mulwsi %r3,%r3,5
	addiws %r13,%r3,5
;A_FireShotgun+304
	ldwzr %r12,bulletslope
	mov %r11,%r2
	callr %r8,P_LineAttack
;A_FireShotgun+320
	addiws %r3,%r6,1
	bwltui %r6,6,A_FireShotgun+192
	retf 0
;A_FireShotgun2
	alloc 14
	lddz %r12,%r1,0
	ldi %r13,4
;A_FireShotgun2+16
	callr %r11,S_StartSound
	lddz %r12,%r1,0
	ldi %r13,155
;A_FireShotgun2+32
	callr %r11,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r3,%r2,24
;A_FireShotgun2+48
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	bwgei %r3,4,A_FireShotgun2+96
;A_FireShotgun2+64
	ldwzx.xw %r2,%r1,%r3,2,168
	addiws %r2,%r2,-2
	stwx.xw %r2,%r1,%r3,2,168
;A_FireShotgun2+80
	ldwz %r2,%r1,124
	jmp A_FireShotgun2+128
	nop 0
;A_FireShotgun2+96
	addiws %r3,%r3,-4
	ldwzx.xuw %r4,%r1,%r3,2,184
	addiws %r4,%r4,-2
;A_FireShotgun2+112
	stwx.xuw %r4,%r1,%r3,2,184
	nop 0
	nop 0
;A_FireShotgun2+128
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r13,%r2,%r3,0,0
;A_FireShotgun2+144
	ldi %r12,1
	mov %r11,%r1
	callr %r10,P_SetPsprite
;A_FireShotgun2+160
	lddz %r13,%r1,0
	callr %r12,P_BulletSlope
	mov %r3,%gz
;A_FireShotgun2+176
	ldi.l %r2,134217728
	nop 0
;A_FireShotgun2+192
	mov %r6,%r3
	callr %r12,P_Random
	sraiw %r3,%r13,0
;A_FireShotgun2+208
	muli.l %r3,%r3,1431655766
	srli %r4,%r3,63
;A_FireShotgun2+224
	srli %r3,%r3,32
	addws %r3,%r3,%r4
	mulwsi %r3,%r3,3
;A_FireShotgun2+240
	lddz %r4,%r1,0
	subws %r3,%r13,%r3
	mulwsi %r3,%r3,5
;A_FireShotgun2+256
	addiws %r3,%r3,5
	ldwz %r7,%r4,56
	callr %r12,P_Random
;A_FireShotgun2+272
	mov %r4,%r13
	callr %r12,P_Random
	subws %r4,%r4,%r13
;A_FireShotgun2+288
	sladdws %r10,%r7,%r4,19
	lddz %r9,%r1,0
	ldwzr %r7,bulletslope
;A_FireShotgun2+304
	callr %r12,P_Random
	mov %r4,%r13
	callr %r12,P_Random
;A_FireShotgun2+320
	subws %r4,%r4,%r13
	sladdws %r12,%r7,%r4,5
	mov2 %r11,%r13,%r2,%r3
;A_FireShotgun2+336
	callr %r8,P_LineAttack
	addiws %r3,%r6,1
	bwltui %r6,19,A_FireShotgun2+192
;A_FireShotgun2+352
	retf 0
	nop 0
	nop 0
;A_FireCGun
	alloc 10
	lddz %r8,%r1,0
	ldi %r9,1
;A_FireCGun+16
	callr %r7,S_StartSound
	ldwz %r3,%r1,124
	muli %r3,%r3,24
;A_FireCGun+32
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	ldwzx.xd %r3,%r1,%r3,2,168
;A_FireCGun+48
	bweq %r3,%gz,A_FireCGun+272
	lddz %r8,%r1,0
	ldi %r9,155
;A_FireCGun+64
	callr %r7,P_SetMobjState
	ldwz %r3,%r1,124
	muli %r5,%r3,24
;A_FireCGun+80
	ldwzx.xd %r4,%r5,%r4,0,0
	bwgei %r4,4,A_FireCGun+128
	addi %r3,%r1,168
;A_FireCGun+96
	ldwzx.xw %r5,%r3,%r4,2,0
	addiws %r5,%r5,-1
	stwx.xw %r5,%r3,%r4,2,0
;A_FireCGun+112
	ldwz %r3,%r1,124
	jmp A_FireCGun+160
	nop 0
;A_FireCGun+128
	addiws %r4,%r4,-4
	ldwzx.xuw %r5,%r1,%r4,2,184
	addiws %r5,%r5,-1
;A_FireCGun+144
	stwx.xuw %r5,%r1,%r4,2,184
	nop 0
	nop 0
;A_FireCGun+160
	muli %r3,%r3,24
	ldafr %r4,weaponinfo+20
	ldwsx.xd %r3,%r3,%r4,0,0
;A_FireCGun+176
	lddz %r2,%r2,0
	muli %r3,%r3,40
	ldafr %r4,states+2080
;A_FireCGun+192
	addsub %r2,%r2,%r3,%r4
	srli %r2,%r2,3
	nop 2
;A_FireCGun+208
	mulwsi.l %r9,%r2,-858993459
	ldi %r8,1
;A_FireCGun+224
	mov %r7,%r1
	callr %r6,P_SetPsprite
	lddz %r9,%r1,0
;A_FireCGun+240
	callr %r8,P_BulletSlope
	ldwz %r2,%r1,212
	lddz %r8,%r1,0
;A_FireCGun+256
	cmpweqi %r9,%r2,0
	callr %r7,P_GunShot
	nop 0
;A_FireCGun+272
	retf 0
	nop 0
	nop 0
;A_Light0
	alloc 2
	stw %gz,%r1,256
	retf 0
;A_Light1
	alloc 3
	ldi %r2,1
	stw %r2,%r1,256
;A_Light1+16
	retf 0
	nop 0
	nop 0
;A_Light2
	alloc 3
	ldi %r2,2
	stw %r2,%r1,256
;A_Light2+16
	retf 0
	nop 0
	nop 0
;A_BFGSpray
	alloc 13
	mov %r4,%gz
	ldi %r2,67108864
;A_BFGSpray+16
	ldi %r3,42
	jmp A_BFGSpray+48
	nop 0
;A_BFGSpray+32
	addiws %r4,%r6,1
	bwgeui %r6,39,A_BFGSpray+240
	nop 0
;A_BFGSpray+48
	ldwz %r5,%r1,56
	mov %r6,%r4
	nop 2
;A_BFGSpray+64
	mulwsi.l %r4,%r4,26843545
	addws %r4,%r4,%r5
;A_BFGSpray+80
	addiws.l %r11,%r4,-536870912
	lddz %r10,%r1,176
;A_BFGSpray+96
	mov %r12,%r2
	callr %r9,P_AimLineAttack
	lddzr %r4,linetarget
;A_BFGSpray+112
	bdeq %r4,%gz,A_BFGSpray+32
	ldwz %r5,%r4,108
	ldwz %r7,%r4,32
;A_BFGSpray+128
	ldwz %r9,%r4,24
	ldwz %r10,%r4,28
	sraiw %r4,%r5,2
;A_BFGSpray+144
	addws %r11,%r4,%r7
	mov %r12,%r3
	callr %r8,P_SpawnMobj
;A_BFGSpray+160
	mov2 %r4,%r5,%gz,%gz
	nop 0
	nop 0
;A_BFGSpray+176
	mov %r7,%r5
	callr %r11,P_Random
	andi %r5,%r12,7
;A_BFGSpray+192
	addws %r4,%r4,%r5
	addiws %r4,%r4,1
	addiws %r5,%r7,1
;A_BFGSpray+208
	bwltui %r7,14,A_BFGSpray+176
	lddzr %r9,linetarget
	lddz %r10,%r1,176
;A_BFGSpray+224
	mov2 %r11,%r12,%r10,%r4
	callr %r8,P_DamageMobj
	jmp A_BFGSpray+32
;A_BFGSpray+240
	retf 0
	nop 0
	nop 0
;A_BFGsound
	alloc 5
	lddz %r3,%r1,0
	ldi %r4,9
;A_BFGsound+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;P_SetupPsprites
	alloc 5
	std %gz,%r1,272
	std %gz,%r1,296
;P_SetupPsprites+16
	ldwz %r2,%r1,124
	stw %r2,%r1,128
	mov %r4,%r1
;P_SetupPsprites+32
	callr %r3,P_BringUpWeapon
	retf 0
	nop 0
;P_MovePsprites
	alloc 11
	mov %r9,%gz
	ldi %r3,1
;P_MovePsprites+16
	addi %r4,%r1,280
	mov %r6,%r3
	jmp P_MovePsprites+64
;P_MovePsprites+32
	mov %r6,%gz
	addi %r4,%r4,24
	mov %r9,%r3
;P_MovePsprites+48
	bbci %r5,0,P_MovePsprites+128
	nop 0
	nop 0
;P_MovePsprites+64
	lddz %r2,%r4,-8
	mov %r5,%r6
	bdeq %r2,%gz,P_MovePsprites+32
;P_MovePsprites+80
	ldwz %r6,%r4,0
	bweqi %r6,-1,P_MovePsprites+32
	addiws %r6,%r6,-1
;P_MovePsprites+96
	stw %r6,%r4,0
	bwne %r6,%gz,P_MovePsprites+32
	ldwz %r10,%r2,24
;P_MovePsprites+112
	mov %r8,%r1
	callr %r7,P_SetPsprite
	jmp P_MovePsprites+32
;P_MovePsprites+128
	ldwz %r2,%r1,284
	stw %r2,%r1,308
	ldwz %r2,%r1,288
;P_MovePsprites+144
	stw %r2,%r1,312
	retf 0
	nop 0
;P_TempSaveGameFile
	allocsp 4,16
	lddzr %r1,P_TempSaveGameFile.filename
	bdeq %r1,%gz,P_TempSaveGameFile+32
;P_TempSaveGameFile+16
	retf 16
	nop 0
	nop 0
;P_TempSaveGameFile+32
	lddzr %r3,savegamedir
	std %gz,%sp,8
	ldafr %r1,.rodata+16836
;P_TempSaveGameFile+48
	std %r1,%sp,0
	callr %r2,M_StringJoin
	mov %r1,%r3
;P_TempSaveGameFile+64
	stdr %r3,P_TempSaveGameFile.filename
	retf 16
	nop 0
;P_SaveGameFile
	allocsp 7,48
	lddzr %r2,P_SaveGameFile.filename
	bdne %r2,%gz,P_SaveGameFile+48
;P_SaveGameFile+16
	lddzr %r6,savegamedir
	callr %r5,strlen
	addi %r6,%r6,32
;P_SaveGameFile+32
	stdr %r6,P_SaveGameFile.filename_size
	callr %r5,default_malloc
	stdr %r6,P_SaveGameFile.filename
;P_SaveGameFile+48
	ldafr %r6,.rodata+7991
	addi %r2,%sp,16
	ldi %r5,32
;P_SaveGameFile+64
	stw %r1,%sp,0
	mov %r4,%r2
	callr %r3,snprintf
;P_SaveGameFile+80
	lddzr %r4,P_SaveGameFile.filename
	lddzr %r5,P_SaveGameFile.filename_size
	lddzr %r1,savegamedir
;P_SaveGameFile+96
	std %r2,%sp,8
	ldafr %r6,.rodata+3520
	std %r1,%sp,0
;P_SaveGameFile+112
	callr %r3,M_snprintf
	lddzr %r1,P_SaveGameFile.filename
	retf 48
;P_WriteSaveGameHeader
	allocsp 9,32
	ldbz %r4,%r1,0
	bweq %r4,%gz,P_WriteSaveGameHeader+80
;P_WriteSaveGameHeader+16
	mov %r2,%gz
	addi %r3,%r1,1
	nop 0
;P_WriteSaveGameHeader+32
	andi %r8,%r4,255
	callr %r7,saveg_write8
	ldbzx.xd %r4,%r3,%r2,0,0
;P_WriteSaveGameHeader+48
	addi %r2,%r2,1
	bwne %r4,%gz,P_WriteSaveGameHeader+32
	addi %r1,%r2,-1
;P_WriteSaveGameHeader+64
	bdltui %r1,23,P_WriteSaveGameHeader+96
	jmp P_WriteSaveGameHeader+128
	nop 0
;P_WriteSaveGameHeader+80
	mov %r2,%gz
	nop 0
	nop 0
;P_WriteSaveGameHeader+96
	mov2 %r3,%r8,%r2,%gz
	callr %r7,saveg_write8
	addiws %r2,%r2,1
;P_WriteSaveGameHeader+112
	bwltui %r3,23,P_WriteSaveGameHeader+96
	nop 0
	nop 0
;P_WriteSaveGameHeader+128
	stq %gz,%sp,16
	callr %r7,G_VanillaVersionCode
	ldafr %r2,.rodata+28725
;P_WriteSaveGameHeader+144
	addi %r1,%sp,16
	ldi %r7,16
	stw %r8,%sp,0
;P_WriteSaveGameHeader+160
	mov2 %r6,%r8,%r1,%r2
	callr %r5,M_snprintf
	mov %r3,%gz
;P_WriteSaveGameHeader+176
	ldbzx.xd %r8,%r1,%r3,0,0
	callr %r7,saveg_write8
	addi %r3,%r3,1
;P_WriteSaveGameHeader+192
	bdnei %r3,16,P_WriteSaveGameHeader+176
	ldbzr %r8,gameskill
	callr %r7,saveg_write8
;P_WriteSaveGameHeader+208
	ldbzr %r8,gameepisode
	callr %r7,saveg_write8
	ldbzr %r8,gamemap
;P_WriteSaveGameHeader+224
	callr %r7,saveg_write8
	mov %r2,%gz
	ldafr %r3,playeringame
;P_WriteSaveGameHeader+240
	ldbzx.xd %r8,%r2,%r3,0,0
	callr %r7,saveg_write8
	addi %r2,%r2,4
;P_WriteSaveGameHeader+256
	bdnei %r2,16,P_WriteSaveGameHeader+240
	ldbzr %r8,leveltime+2
	callr %r7,saveg_write8
;P_WriteSaveGameHeader+272
	ldbzr %r8,leveltime+1
	callr %r7,saveg_write8
	ldbzr %r8,leveltime
;P_WriteSaveGameHeader+288
	callr %r7,saveg_write8
	retf 32
	nop 0
;saveg_write8
	allocsp 7,16
	stb %r1,%sp,15
	lddzr %r6,save_stream
;saveg_write8+16
	addi %r3,%sp,15
	ldi %r4,1
	mov %r5,%r4
;saveg_write8+32
	callr %r2,fwrite_unlocked
	bdne %r3,%gz,saveg_write8+64
	ldwzr %r1,savegame_error
;saveg_write8+48
	bweq %r1,%gz,saveg_write8+80
	nop 0
	nop 0
;saveg_write8+64
	retf 16
	nop 0
	nop 0
;saveg_write8+80
	lddzr %r6,stderr
	ldafr %r3,.rodata+9365
	ldi %r4,44
;saveg_write8+96
	ldi %r1,1
	mov %r5,%r1
	callr %r2,fwrite_unlocked
;saveg_write8+112
	stwr %r1,savegame_error
	retf 16
	nop 0
;P_ReadSaveGameHeader
	allocsp 8,48
	mov %r1,%gz
	nop 0
;P_ReadSaveGameHeader+16
	mov %r2,%r1
	callr %r6,saveg_read8
	addiws %r1,%r1,1
;P_ReadSaveGameHeader+32
	bwltui %r2,23,P_ReadSaveGameHeader+16
	mov %r2,%gz
	addi %r3,%sp,16
;P_ReadSaveGameHeader+48
	callr %r6,saveg_read8
	stbx.xd %r7,%r3,%r2,0,0
	addi %r2,%r2,1
;P_ReadSaveGameHeader+64
	bdnei %r2,16,P_ReadSaveGameHeader+48
	stq %gz,%sp,32
	callr %r6,G_VanillaVersionCode
;P_ReadSaveGameHeader+80
	ldafr %r1,.rodata+28725
	addi %r2,%sp,32
	ldi %r6,16
;P_ReadSaveGameHeader+96
	stw %r7,%sp,0
	mov2 %r5,%r7,%r2,%r1
	callr %r4,M_snprintf
;P_ReadSaveGameHeader+112
	addi %r6,%sp,16
	mov %r7,%r2
	callr %r5,strcmp
;P_ReadSaveGameHeader+128
	mov %r1,%gz
	bweq %r6,%gz,P_ReadSaveGameHeader+144
	retf 48
;P_ReadSaveGameHeader+144
	callr %r6,saveg_read8
	stwr %r7,gameskill
	callr %r6,saveg_read8
;P_ReadSaveGameHeader+160
	stwr %r7,gameepisode
	callr %r6,saveg_read8
	mov %r2,%gz
;P_ReadSaveGameHeader+176
	stwr %r7,gamemap
	ldafr %r3,playeringame
	nop 0
;P_ReadSaveGameHeader+192
	callr %r6,saveg_read8
	stwx.xd %r7,%r2,%r3,0,0
	addi %r2,%r2,4
;P_ReadSaveGameHeader+208
	bdnei %r2,16,P_ReadSaveGameHeader+192
	callr %r6,saveg_read8
	mov %r1,%r7
;P_ReadSaveGameHeader+224
	callr %r6,saveg_read8
	mov %r2,%r7
	callr %r6,saveg_read8
;P_ReadSaveGameHeader+240
	slliw %r2,%r2,8
	slor %r1,%r2,%r1,16
	or %r1,%r1,%r7
;P_ReadSaveGameHeader+256
	stwr %r1,leveltime
	ldi %r1,1
	retf 48
;saveg_read8
	allocsp 7,16
	lddzr %r6,save_stream
	addi %r3,%sp,15
;saveg_read8+16
	ldi %r4,1
	mov %r5,%r4
	callr %r2,fread_unlocked
;saveg_read8+32
	bdne %r3,%gz,saveg_read8+48
	ldwzr %r1,savegame_error
	bweq %r1,%gz,saveg_read8+64
;saveg_read8+48
	ldbz %r1,%sp,15
	retf 16
	nop 0
;saveg_read8+64
	lddzr %r6,stderr
	ldafr %r3,.rodata+5243
	ldi %r4,60
;saveg_read8+80
	ldi %r1,1
	mov %r5,%r1
	callr %r2,fwrite_unlocked
;saveg_read8+96
	stwr %r1,savegame_error
	ldbz %r1,%sp,15
	retf 16
;P_ReadSaveGameEOF
	alloc 4
	callr %r2,saveg_read8
	cmpweqi %r1,%r3,29
;P_ReadSaveGameEOF+16
	retf 0
	nop 0
	nop 0
;P_WriteSaveGameEOF
	alloc 3
	ldi %r2,29
	callr %r1,saveg_write8
;P_WriteSaveGameEOF+16
	retf 0
	nop 0
	nop 0
;P_ArchivePlayers
	alloc 36
	mov %r2,%gz
	ldafr %r3,players+56
;P_ArchivePlayers+16
	ldafr %r4,players+80
	ldafr %r5,players+108
	ldafr %r6,players+132
;P_ArchivePlayers+32
	ldafr %r7,players+168
	ldafr %r8,players+184
	ldafr %r9,playeringame
;P_ArchivePlayers+48
	ldafr %r10,players
	ldi %r11,328
	ldafr %r12,players+8
;P_ArchivePlayers+64
	ldafr %r13,players+12
	ldafr %r14,players+13
	ldafr %r15,players+14
;P_ArchivePlayers+80
	ldafr %r16,players+18
	ldafr %r17,players+16
	ldafr %r18,players+17
;P_ArchivePlayers+96
	ldafr %r19,players+28
	ldafr %r20,players+32
	ldafr %r21,players+36
;P_ArchivePlayers+112
	ldafr %r22,players+40
	ldafr %r23,players+44
	ldafr %r24,players+48
;P_ArchivePlayers+128
	ldafr %r25,players+52
	ldi %r26,1
	ldi %r27,24
;P_ArchivePlayers+144
	ldafr %r28,states
	jmp P_ArchivePlayers+256
	nop 0
;P_ArchivePlayers+160
	ldwz %r29,%r29,320
	andi %r35,%r29,255
	callr %r34,saveg_write8
;P_ArchivePlayers+176
	slsrli %r35,%r29,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r29,40,56
;P_ArchivePlayers+192
	callr %r34,saveg_write8
	srliw %r35,%r29,24
	callr %r34,saveg_write8
;P_ArchivePlayers+208
	addi %r2,%r2,1
	addi %r3,%r3,328
	addi %r4,%r4,328
;P_ArchivePlayers+224
	addi %r5,%r5,328
	addi %r6,%r6,328
	addi %r7,%r7,328
;P_ArchivePlayers+240
	addi %r8,%r8,328
	bdeqi %r2,4,P_ArchivePlayers+2416
	nop 0
;P_ArchivePlayers+256
	ldwzx.xd %r1,%r9,%r2,2,0
	bweq %r1,%gz,P_ArchivePlayers+208
	lddzr %r35,save_stream
;P_ArchivePlayers+272
	callr %r34,ftell
	subfiws %r1,%r35,0
	andi %r29,%r1,3
;P_ArchivePlayers+288
	bweq %r29,%gz,P_ArchivePlayers+336
	mov %r30,%gz
	nop 0
;P_ArchivePlayers+304
	mov %r35,%gz
	callr %r34,saveg_write8
	addiws %r30,%r30,1
;P_ArchivePlayers+320
	bwltu %r30,%r29,P_ArchivePlayers+304
	nop 0
	nop 0
;P_ArchivePlayers+336
	muli %r30,%r2,328
	ldwzx.xd %r31,%r30,%r10,0,0
	muladd %r29,%r2,%r11,%r10
;P_ArchivePlayers+352
	andi %r35,%r31,255
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
;P_ArchivePlayers+368
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+384
	srliw %r35,%r31,24
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r12,0,0
;P_ArchivePlayers+400
	andi %r35,%r31,255
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
;P_ArchivePlayers+416
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+432
	srliw %r35,%r31,24
	callr %r34,saveg_write8
	ldbzx.xd %r35,%r30,%r13,0,0
;P_ArchivePlayers+448
	callr %r34,saveg_write8
	ldbzx.xd %r35,%r30,%r14,0,0
	callr %r34,saveg_write8
;P_ArchivePlayers+464
	ldhzx.xd %r31,%r30,%r15,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+480
	srliw %r35,%r31,8
	callr %r34,saveg_write8
	ldbzx.xd %r35,%r30,%r16,0,0
;P_ArchivePlayers+496
	callr %r34,saveg_write8
	mov %r35,%gz
	callr %r34,saveg_write8
;P_ArchivePlayers+512
	ldbzx.xd %r35,%r30,%r17,0,0
	callr %r34,saveg_write8
	ldbzx.xd %r35,%r30,%r18,0,0
;P_ArchivePlayers+528
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r19,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+544
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+560
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+576
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r20,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+592
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+608
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+624
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r21,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+640
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+656
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+672
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r22,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+688
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+704
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+720
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r23,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+736
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+752
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+768
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r24,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+784
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+800
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+816
	callr %r34,saveg_write8
	ldwzx.xd %r30,%r30,%r25,0,0
	andi %r35,%r30,255
;P_ArchivePlayers+832
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+848
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
	srliw %r35,%r30,24
;P_ArchivePlayers+864
	callr %r34,saveg_write8
	mov %r30,%gz
	nop 0
;P_ArchivePlayers+880
	ldwzx.xd %r31,%r3,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+896
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+912
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+928
	addi %r30,%r30,4
	bdnei %r30,24,P_ArchivePlayers+880
	mov %r30,%gz
;P_ArchivePlayers+944
	ldwzx.xd %r31,%r4,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+960
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+976
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+992
	addi %r30,%r30,4
	bdnei %r30,24,P_ArchivePlayers+944
	ldwz %r30,%r29,104
;P_ArchivePlayers+1008
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1024
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1040
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	mov %r30,%gz
;P_ArchivePlayers+1056
	ldwzx.xd %r31,%r5,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+1072
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+1088
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+1104
	addi %r30,%r30,4
	bdnei %r30,16,P_ArchivePlayers+1056
	ldwz %r30,%r29,124
;P_ArchivePlayers+1120
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1136
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1152
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,128
;P_ArchivePlayers+1168
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1184
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1200
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	mov %r30,%gz
;P_ArchivePlayers+1216
	ldwzx.xd %r31,%r6,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+1232
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+1248
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+1264
	addi %r30,%r30,4
	bdnei %r30,36,P_ArchivePlayers+1216
	mov %r30,%gz
;P_ArchivePlayers+1280
	ldwzx.xd %r31,%r7,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+1296
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+1312
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+1328
	addi %r30,%r30,4
	bdnei %r30,16,P_ArchivePlayers+1280
	mov %r30,%gz
;P_ArchivePlayers+1344
	ldwzx.xd %r31,%r8,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+1360
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+1376
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+1392
	addi %r30,%r30,4
	bdnei %r30,16,P_ArchivePlayers+1344
	ldwz %r30,%r29,200
;P_ArchivePlayers+1408
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1424
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1440
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,204
;P_ArchivePlayers+1456
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1472
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1488
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,208
;P_ArchivePlayers+1504
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1520
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1536
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,212
;P_ArchivePlayers+1552
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1568
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1584
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,216
;P_ArchivePlayers+1600
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1616
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1632
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,220
;P_ArchivePlayers+1648
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1664
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1680
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,224
;P_ArchivePlayers+1696
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1712
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1728
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,232
;P_ArchivePlayers+1744
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1760
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1776
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,240
;P_ArchivePlayers+1792
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1808
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1824
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,244
;P_ArchivePlayers+1840
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1856
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1872
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,248
;P_ArchivePlayers+1888
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1904
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1920
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,256
;P_ArchivePlayers+1936
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1952
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1968
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,260
;P_ArchivePlayers+1984
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+2000
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+2016
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,264
;P_ArchivePlayers+2032
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+2048
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+2064
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	mov %r32,%gz
;P_ArchivePlayers+2080
	addi %r30,%r29,272
	mov %r1,%r26
	jmp P_ArchivePlayers+2320
;P_ArchivePlayers+2096
	mov %r35,%gz
	callr %r34,saveg_write8
	mov %r35,%gz
;P_ArchivePlayers+2112
	callr %r34,saveg_write8
	mov %r35,%gz
	callr %r34,saveg_write8
;P_ArchivePlayers+2128
	mov %r1,%gz
	nop 0
	nop 0
;P_ArchivePlayers+2144
	muladd %r32,%r32,%r27,%r30
	andi %r35,%r1,255
	callr %r34,saveg_write8
;P_ArchivePlayers+2160
	ldwz %r33,%r32,8
	andi %r35,%r33,255
	callr %r34,saveg_write8
;P_ArchivePlayers+2176
	slsrli %r35,%r33,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r33,40,56
;P_ArchivePlayers+2192
	callr %r34,saveg_write8
	srliw %r35,%r33,24
	callr %r34,saveg_write8
;P_ArchivePlayers+2208
	ldwz %r33,%r32,12
	andi %r35,%r33,255
	callr %r34,saveg_write8
;P_ArchivePlayers+2224
	slsrli %r35,%r33,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r33,40,56
;P_ArchivePlayers+2240
	callr %r34,saveg_write8
	srliw %r35,%r33,24
	callr %r34,saveg_write8
;P_ArchivePlayers+2256
	ldwz %r32,%r32,16
	andi %r35,%r32,255
	callr %r34,saveg_write8
;P_ArchivePlayers+2272
	slsrli %r35,%r32,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r32,40,56
;P_ArchivePlayers+2288
	callr %r34,saveg_write8
	srliw %r35,%r32,24
	callr %r34,saveg_write8
;P_ArchivePlayers+2304
	mov2 %r1,%r32,%gz,%r26
	bbci %r31,0,P_ArchivePlayers+160
	nop 0
;P_ArchivePlayers+2320
	muli %r31,%r32,24
	lddzx.xd %r33,%r30,%r31,0,0
	mov %r31,%r1
;P_ArchivePlayers+2336
	bdeq %r33,%gz,P_ArchivePlayers+2096
	sub %r1,%r33,%r28
	srai %r1,%r1,3
;P_ArchivePlayers+2352
	muli.l %r33,%r1,-3689348814741910323
	andi %r35,%r33,255
;P_ArchivePlayers+2368
	callr %r34,saveg_write8
	slsrli %r35,%r33,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+2384
	slsrli %r35,%r33,40,56
	callr %r34,saveg_write8
	srli %r1,%r33,24
;P_ArchivePlayers+2400
	jmp P_ArchivePlayers+2144
	nop 0
	nop 0
;P_ArchivePlayers+2416
	retf 0
	nop 0
	nop 0
;P_UnArchivePlayers
	alloc 37
	mov %r3,%gz
	ldafr %r4,players+56
;P_UnArchivePlayers+16
	ldafr %r5,players+80
	ldafr %r6,players+108
	ldafr %r7,players+132
;P_UnArchivePlayers+32
	ldafr %r8,players+168
	ldafr %r9,players+184
	ldafr %r10,playeringame
;P_UnArchivePlayers+48
	ldafr %r11,players
	ldi %r12,328
	ldafr %r13,players+8
;P_UnArchivePlayers+64
	ldafr %r14,players+12
	ldafr %r15,players+13
	ldafr %r16,players+14
;P_UnArchivePlayers+80
	ldafr %r17,players+18
	ldafr %r18,players+16
	ldafr %r19,players+17
;P_UnArchivePlayers+96
	ldafr %r20,players+28
	ldafr %r21,players+32
	ldafr %r22,players+36
;P_UnArchivePlayers+112
	ldafr %r23,players+40
	ldafr %r24,players+44
	ldafr %r25,players+48
;P_UnArchivePlayers+128
	ldafr %r26,players+52
	ldi %r27,1
	ldafr %r28,states
;P_UnArchivePlayers+144
	ldi %r29,40
	jmp P_UnArchivePlayers+208
	nop 0
;P_UnArchivePlayers+160
	addi %r3,%r3,1
	addi %r4,%r4,328
	addi %r5,%r5,328
;P_UnArchivePlayers+176
	addi %r6,%r6,328
	addi %r7,%r7,328
	addi %r8,%r8,328
;P_UnArchivePlayers+192
	addi %r9,%r9,328
	bdeqi %r3,4,P_UnArchivePlayers+2352
	nop 0
;P_UnArchivePlayers+208
	ldwzx.xd %r1,%r10,%r3,2,0
	bweq %r1,%gz,P_UnArchivePlayers+160
	lddzr %r36,save_stream
;P_UnArchivePlayers+224
	callr %r35,ftell
	subfiws %r1,%r36,0
	andi %r2,%r1,3
;P_UnArchivePlayers+240
	bweq %r2,%gz,P_UnArchivePlayers+272
	mov %r30,%gz
	nop 0
;P_UnArchivePlayers+256
	callr %r35,saveg_read8
	addiws %r30,%r30,1
	bwltu %r30,%r2,P_UnArchivePlayers+256
;P_UnArchivePlayers+272
	muladd %r30,%r3,%r12,%r11
	muli %r31,%r3,328
	callr %r35,saveg_read8
;P_UnArchivePlayers+288
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+304
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+320
	slor %r1,%r2,%r36,24
	sraiw %r1,%r1,0
	stdx.xd %r1,%r31,%r11,0,0
;P_UnArchivePlayers+336
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+352
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+368
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r13,0,0
;P_UnArchivePlayers+384
	callr %r35,saveg_read8
	stbx.xd %r36,%r31,%r14,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+400
	stbx.xd %r36,%r31,%r15,0,0
	callr %r35,saveg_read8
	mov %r1,%r36
;P_UnArchivePlayers+416
	callr %r35,saveg_read8
	slor %r1,%r1,%r36,8
	sthx.xd %r1,%r31,%r16,0,0
;P_UnArchivePlayers+432
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+448
	stbx.xd %r1,%r31,%r17,0,0
	callr %r35,saveg_read8
	stbx.xd %r36,%r31,%r18,0,0
;P_UnArchivePlayers+464
	callr %r35,saveg_read8
	stbx.xd %r36,%r31,%r19,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+480
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+496
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+512
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r20,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+528
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+544
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+560
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r21,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+576
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+592
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+608
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r22,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+624
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+640
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+656
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r23,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+672
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+688
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+704
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r24,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+720
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+736
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+752
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r25,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+768
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+784
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+800
	mov %r32,%gz
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r26,0,0
;P_UnArchivePlayers+816
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+832
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+848
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r4,%r32,0,0
;P_UnArchivePlayers+864
	addi %r32,%r32,4
	bdnei %r32,24,P_UnArchivePlayers+816
	mov %r31,%gz
;P_UnArchivePlayers+880
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+896
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+912
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r5,%r31,0,0
;P_UnArchivePlayers+928
	addi %r31,%r31,4
	bdnei %r31,24,P_UnArchivePlayers+880
	callr %r35,saveg_read8
;P_UnArchivePlayers+944
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+960
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+976
	mov %r31,%gz
	slor %r1,%r2,%r36,24
	stw %r1,%r30,104
;P_UnArchivePlayers+992
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1008
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1024
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r6,%r31,0,0
;P_UnArchivePlayers+1040
	addi %r31,%r31,4
	bdnei %r31,16,P_UnArchivePlayers+992
	callr %r35,saveg_read8
;P_UnArchivePlayers+1056
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1072
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1088
	slor %r1,%r2,%r36,24
	stw %r1,%r30,124
	callr %r35,saveg_read8
;P_UnArchivePlayers+1104
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1120
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1136
	mov %r31,%gz
	slor %r1,%r2,%r36,24
	stw %r1,%r30,128
;P_UnArchivePlayers+1152
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1168
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1184
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r7,%r31,0,0
;P_UnArchivePlayers+1200
	addi %r31,%r31,4
	bdnei %r31,36,P_UnArchivePlayers+1152
	mov %r31,%gz
;P_UnArchivePlayers+1216
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1232
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1248
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r8,%r31,0,0
;P_UnArchivePlayers+1264
	addi %r31,%r31,4
	bdnei %r31,16,P_UnArchivePlayers+1216
	mov %r31,%gz
;P_UnArchivePlayers+1280
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1296
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1312
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r9,%r31,0,0
;P_UnArchivePlayers+1328
	addi %r31,%r31,4
	bdnei %r31,16,P_UnArchivePlayers+1280
	callr %r35,saveg_read8
;P_UnArchivePlayers+1344
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1360
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1376
	slor %r1,%r2,%r36,24
	stw %r1,%r30,200
	callr %r35,saveg_read8
;P_UnArchivePlayers+1392
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1408
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1424
	slor %r1,%r2,%r36,24
	stw %r1,%r30,204
	callr %r35,saveg_read8
;P_UnArchivePlayers+1440
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1456
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1472
	slor %r1,%r2,%r36,24
	stw %r1,%r30,208
	callr %r35,saveg_read8
;P_UnArchivePlayers+1488
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1504
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1520
	slor %r1,%r2,%r36,24
	stw %r1,%r30,212
	callr %r35,saveg_read8
;P_UnArchivePlayers+1536
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1552
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1568
	slor %r1,%r2,%r36,24
	stw %r1,%r30,216
	callr %r35,saveg_read8
;P_UnArchivePlayers+1584
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1600
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1616
	slor %r1,%r2,%r36,24
	stw %r1,%r30,220
	callr %r35,saveg_read8
;P_UnArchivePlayers+1632
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1648
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1664
	slor %r1,%r2,%r36,24
	stw %r1,%r30,224
	callr %r35,saveg_read8
;P_UnArchivePlayers+1680
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1696
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1712
	slor %r1,%r2,%r36,24
	sraiw %r1,%r1,0
	std %r1,%r30,232
;P_UnArchivePlayers+1728
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1744
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1760
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stw %r1,%r30,240
;P_UnArchivePlayers+1776
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1792
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1808
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stw %r1,%r30,244
;P_UnArchivePlayers+1824
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1840
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1856
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	sraiw %r1,%r1,0
;P_UnArchivePlayers+1872
	std %r1,%r30,248
	callr %r35,saveg_read8
	mov %r1,%r36
;P_UnArchivePlayers+1888
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
;P_UnArchivePlayers+1904
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
;P_UnArchivePlayers+1920
	stw %r1,%r30,256
	callr %r35,saveg_read8
	mov %r1,%r36
;P_UnArchivePlayers+1936
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
;P_UnArchivePlayers+1952
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
;P_UnArchivePlayers+1968
	stw %r1,%r30,260
	callr %r35,saveg_read8
	mov %r1,%r36
;P_UnArchivePlayers+1984
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
;P_UnArchivePlayers+2000
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
	mov %r1,%gz
;P_UnArchivePlayers+2016
	slor %r2,%r2,%r36,24
	stw %r2,%r30,264
	addi %r31,%r30,272
;P_UnArchivePlayers+2032
	mov %r2,%r27
	nop 0
	nop 0
;P_UnArchivePlayers+2048
	mov %r32,%r2
	muli %r33,%r1,24
	callr %r35,saveg_read8
;P_UnArchivePlayers+2064
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2080
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2096
	slor %r1,%r2,%r36,24
	srliw %r2,%r1,0
	muladd %r2,%r2,%r29,%r28
;P_UnArchivePlayers+2112
	cmovwle %r1,%r1,%gz,%r2
	stdx.xd %r1,%r31,%r33,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+2128
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2144
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2160
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r33,0,8
	callr %r35,saveg_read8
;P_UnArchivePlayers+2176
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2192
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2208
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r33,0,12
	callr %r35,saveg_read8
;P_UnArchivePlayers+2224
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2240
	callr %r35,saveg_read8
	slor %r34,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2256
	mov %r2,%gz
	slor %r1,%r34,%r36,24
	stwx.xd %r1,%r31,%r33,0,16
;P_UnArchivePlayers+2272
	mov %r1,%r27
	bbsi %r32,0,P_UnArchivePlayers+2048
	callr %r35,saveg_read8
;P_UnArchivePlayers+2288
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2304
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2320
	slor %r1,%r2,%r36,24
	stw %r1,%r30,320
	std %gz,%r30,0
;P_UnArchivePlayers+2336
	std %gz,%r30,232
	std %gz,%r30,248
	jmp P_UnArchivePlayers+160
;P_UnArchivePlayers+2352
	retf 0
	nop 0
	nop 0
;P_ArchiveWorld
	alloc 12
	ldwzr %r1,numsectors
	bwlti %r1,1,P_ArchiveWorld+240
;P_ArchiveWorld+16
	mov %r2,%gz
	lddzr %r3,sectors
	nop 0
;P_ArchiveWorld+32
	ldwz %r4,%r3,0
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveWorld+48
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r3,4
;P_ArchiveWorld+64
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveWorld+80
	callr %r10,saveg_write8
	ldhz %r4,%r3,8
	andi %r11,%r4,255
;P_ArchiveWorld+96
	callr %r10,saveg_write8
	srliw %r11,%r4,8
	callr %r10,saveg_write8
;P_ArchiveWorld+112
	ldhz %r4,%r3,10
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveWorld+128
	srliw %r11,%r4,8
	callr %r10,saveg_write8
	ldhz %r4,%r3,12
;P_ArchiveWorld+144
	andi %r11,%r4,255
	callr %r10,saveg_write8
	srliw %r11,%r4,8
;P_ArchiveWorld+160
	callr %r10,saveg_write8
	ldhz %r4,%r3,14
	andi %r11,%r4,255
;P_ArchiveWorld+176
	callr %r10,saveg_write8
	srliw %r11,%r4,8
	callr %r10,saveg_write8
;P_ArchiveWorld+192
	ldhz %r4,%r3,16
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveWorld+208
	srliw %r11,%r4,8
	callr %r10,saveg_write8
	ldwzr %r1,numsectors
;P_ArchiveWorld+224
	addiws %r2,%r2,1
	addi %r3,%r3,128
	bwlt %r2,%r1,P_ArchiveWorld+32
;P_ArchiveWorld+240
	ldwzr %r1,numlines
	bwlti %r1,1,P_ArchiveWorld+608
	mov %r2,%gz
;P_ArchiveWorld+256
	lddzr %r3,lines
	ldi %r4,1
	jmp P_ArchiveWorld+304
;P_ArchiveWorld+272
	ldwzr %r1,numlines
	addiws %r2,%r2,1
	addi %r3,%r3,88
;P_ArchiveWorld+288
	bwle %r1,%r2,P_ArchiveWorld+608
	nop 0
	nop 0
;P_ArchiveWorld+304
	ldhz %r5,%r3,24
	andi %r11,%r5,255
	callr %r10,saveg_write8
;P_ArchiveWorld+320
	srliw %r11,%r5,8
	callr %r10,saveg_write8
	ldhz %r5,%r3,26
;P_ArchiveWorld+336
	andi %r11,%r5,255
	callr %r10,saveg_write8
	srliw %r11,%r5,8
;P_ArchiveWorld+352
	callr %r10,saveg_write8
	ldhz %r5,%r3,28
	andi %r11,%r5,255
;P_ArchiveWorld+368
	callr %r10,saveg_write8
	srliw %r11,%r5,8
	callr %r10,saveg_write8
;P_ArchiveWorld+384
	mov %r7,%gz
	addi %r5,%r3,30
	mov %r1,%r4
;P_ArchiveWorld+400
	jmp P_ArchiveWorld+432
	nop 0
	nop 0
;P_ArchiveWorld+416
	mov2 %r1,%r7,%gz,%r4
	bbci %r6,0,P_ArchiveWorld+272
	nop 0
;P_ArchiveWorld+432
	ldhsx.xd %r7,%r5,%r7,1,0
	mov %r6,%r1
	bdeqi %r7,-1,P_ArchiveWorld+416
;P_ArchiveWorld+448
	lddzr %r8,sides
	muli %r7,%r7,24
	ldwzx.xd %r9,%r8,%r7,0,0
;P_ArchiveWorld+464
	slsrli %r11,%r9,40,56
	callr %r10,saveg_write8
	srliw %r11,%r9,24
;P_ArchiveWorld+480
	callr %r10,saveg_write8
	ldwzx.xd %r9,%r8,%r7,0,4
	slsrli %r11,%r9,40,56
;P_ArchiveWorld+496
	callr %r10,saveg_write8
	srliw %r11,%r9,24
	callr %r10,saveg_write8
;P_ArchiveWorld+512
	ldhzx.xd %r9,%r8,%r7,0,8
	andi %r11,%r9,255
	callr %r10,saveg_write8
;P_ArchiveWorld+528
	srliw %r11,%r9,8
	callr %r10,saveg_write8
	ldhzx.xd %r9,%r8,%r7,0,10
;P_ArchiveWorld+544
	andi %r11,%r9,255
	callr %r10,saveg_write8
	srliw %r11,%r9,8
;P_ArchiveWorld+560
	callr %r10,saveg_write8
	ldhzx.xd %r7,%r8,%r7,0,12
	andi %r11,%r7,255
;P_ArchiveWorld+576
	callr %r10,saveg_write8
	srliw %r11,%r7,8
	callr %r10,saveg_write8
;P_ArchiveWorld+592
	jmp P_ArchiveWorld+416
	nop 0
	nop 0
;P_ArchiveWorld+608
	retf 0
	nop 0
	nop 0
;P_UnArchiveWorld
	alloc 12
	ldwzr %r1,numsectors
	bwlti %r1,1,P_UnArchiveWorld+272
;P_UnArchiveWorld+16
	mov %r3,%gz
	lddzr %r4,sectors
	nop 0
;P_UnArchiveWorld+32
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+48
	slliw %r2,%r11,24
	slor %r1,%r2,%r1,16
	stw %r1,%r4,0
;P_UnArchiveWorld+64
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+80
	slliw %r2,%r11,24
	slor %r1,%r2,%r1,16
	stw %r1,%r4,4
;P_UnArchiveWorld+96
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+112
	slor %r1,%r1,%r11,8
	sth %r1,%r4,8
	callr %r10,saveg_read8
;P_UnArchiveWorld+128
	mov %r1,%r11
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+144
	sth %r1,%r4,10
	callr %r10,saveg_read8
	mov %r1,%r11
;P_UnArchiveWorld+160
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
	sth %r1,%r4,12
;P_UnArchiveWorld+176
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+192
	slor %r1,%r1,%r11,8
	sth %r1,%r4,14
	callr %r10,saveg_read8
;P_UnArchiveWorld+208
	mov %r1,%r11
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+224
	sth %r1,%r4,16
	std %gz,%r4,104
	std %gz,%r4,24
;P_UnArchiveWorld+240
	ldwzr %r1,numsectors
	addiws %r3,%r3,1
	addi %r4,%r4,128
;P_UnArchiveWorld+256
	bwlt %r3,%r1,P_UnArchiveWorld+32
	nop 0
	nop 0
;P_UnArchiveWorld+272
	ldwzr %r1,numlines
	bwlti %r1,1,P_UnArchiveWorld+640
	mov %r3,%gz
;P_UnArchiveWorld+288
	lddzr %r4,lines
	ldi %r5,1
	jmp P_UnArchiveWorld+336
;P_UnArchiveWorld+304
	ldwzr %r1,numlines
	addiws %r3,%r3,1
	addi %r4,%r4,88
;P_UnArchiveWorld+320
	bwle %r1,%r3,P_UnArchiveWorld+640
	nop 0
	nop 0
;P_UnArchiveWorld+336
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+352
	slor %r1,%r1,%r11,8
	sth %r1,%r4,24
	callr %r10,saveg_read8
;P_UnArchiveWorld+368
	mov %r1,%r11
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+384
	sth %r1,%r4,26
	callr %r10,saveg_read8
	mov %r1,%r11
;P_UnArchiveWorld+400
	callr %r10,saveg_read8
	mov %r2,%gz
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+416
	sth %r1,%r4,28
	addi %r6,%r4,30
	mov %r1,%r5
;P_UnArchiveWorld+432
	jmp P_UnArchiveWorld+464
	nop 0
	nop 0
;P_UnArchiveWorld+448
	mov2 %r1,%r2,%gz,%r5
	bbci %r7,0,P_UnArchiveWorld+304
	nop 0
;P_UnArchiveWorld+464
	ldhsx.xd %r2,%r6,%r2,1,0
	mov %r7,%r1
	bdeqi %r2,-1,P_UnArchiveWorld+448
;P_UnArchiveWorld+480
	lddzr %r8,sides
	muli %r9,%r2,24
	callr %r10,saveg_read8
;P_UnArchiveWorld+496
	mov %r1,%r11
	callr %r10,saveg_read8
	slliw %r2,%r11,24
;P_UnArchiveWorld+512
	slor %r1,%r2,%r1,16
	stwx.xd %r1,%r8,%r9,0,0
	callr %r10,saveg_read8
;P_UnArchiveWorld+528
	mov %r1,%r11
	callr %r10,saveg_read8
	slliw %r2,%r11,24
;P_UnArchiveWorld+544
	slor %r1,%r2,%r1,16
	stwx.xd %r1,%r8,%r9,0,4
	callr %r10,saveg_read8
;P_UnArchiveWorld+560
	mov %r1,%r11
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+576
	sthx.xd %r1,%r8,%r9,0,8
	callr %r10,saveg_read8
	mov %r1,%r11
;P_UnArchiveWorld+592
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
	sthx.xd %r1,%r8,%r9,0,10
;P_UnArchiveWorld+608
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+624
	slor %r1,%r1,%r11,8
	sthx.xd %r1,%r8,%r9,0,12
	jmp P_UnArchiveWorld+448
;P_UnArchiveWorld+640
	retf 0
	nop 0
	nop 0
;P_ArchiveThinkers
	alloc 12
	lddzr %r1,thinkercap+8
	ldafr %r5,thinkercap
;P_ArchiveThinkers+16
	bdeq %r1,%r5,P_ArchiveThinkers+2064
	ldar %r6,P_MobjThinker
	ldi %r2,1
;P_ArchiveThinkers+32
	ldafr %r7,states
	ldafr %r8,players
	jmp P_ArchiveThinkers+432
;P_ArchiveThinkers+48
	sub %r3,%r3,%r8
	srli %r3,%r3,3
	nop 2
;P_ArchiveThinkers+64
	mulwsi.l %r3,%r3,-1047552999
	addiws %r4,%r3,1
;P_ArchiveThinkers+80
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+96
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+112
	srliw %r11,%r4,24
	nop 0
	nop 0
;P_ArchiveThinkers+128
	callr %r10,saveg_write8
	ldwz %r4,%r1,200
	andi %r11,%r4,255
;P_ArchiveThinkers+144
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+160
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+176
	callr %r10,saveg_write8
	ldbz %r3,%r1,205
	ldbz %r4,%r1,204
;P_ArchiveThinkers+192
	slor %r4,%r4,%r3,8
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveThinkers+208
	mov %r11,%r3
	callr %r10,saveg_write8
	ldbz %r3,%r1,207
;P_ArchiveThinkers+224
	ldbz %r4,%r1,206
	slor %r4,%r4,%r3,8
	andi %r11,%r4,255
;P_ArchiveThinkers+240
	callr %r10,saveg_write8
	mov %r11,%r3
	callr %r10,saveg_write8
;P_ArchiveThinkers+256
	ldbz %r3,%r1,209
	ldbz %r4,%r1,208
	slor %r4,%r4,%r3,8
;P_ArchiveThinkers+272
	andi %r11,%r4,255
	callr %r10,saveg_write8
	mov %r11,%r3
;P_ArchiveThinkers+288
	callr %r10,saveg_write8
	ldbz %r3,%r1,211
	ldbz %r4,%r1,210
;P_ArchiveThinkers+304
	slor %r4,%r4,%r3,8
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveThinkers+320
	mov %r11,%r3
	callr %r10,saveg_write8
	ldbz %r3,%r1,213
;P_ArchiveThinkers+336
	ldbz %r4,%r1,212
	slor %r4,%r4,%r3,8
	andi %r11,%r4,255
;P_ArchiveThinkers+352
	callr %r10,saveg_write8
	mov %r11,%r3
	callr %r10,saveg_write8
;P_ArchiveThinkers+368
	ldwz %r4,%r1,216
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveThinkers+384
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
;P_ArchiveThinkers+400
	callr %r10,saveg_write8
	srliw %r11,%r4,24
	callr %r10,saveg_write8
;P_ArchiveThinkers+416
	lddz %r1,%r1,8
	bdeq %r1,%r5,P_ArchiveThinkers+2064
	nop 0
;P_ArchiveThinkers+432
	lddz %r3,%r1,16
	bdne %r3,%r6,P_ArchiveThinkers+416
	mov %r11,%r2
;P_ArchiveThinkers+448
	callr %r10,saveg_write8
	lddzr %r11,save_stream
	callr %r10,ftell
;P_ArchiveThinkers+464
	subfiws %r3,%r11,0
	andi %r4,%r3,3
	bweq %r4,%gz,P_ArchiveThinkers+528
;P_ArchiveThinkers+480
	mov %r9,%gz
	nop 0
	nop 0
;P_ArchiveThinkers+496
	mov %r11,%gz
	callr %r10,saveg_write8
	addiws %r9,%r9,1
;P_ArchiveThinkers+512
	bwltu %r9,%r4,P_ArchiveThinkers+496
	nop 0
	nop 0
;P_ArchiveThinkers+528
	mov %r11,%r1
	callr %r10,saveg_write_thinker_t
	ldwz %r4,%r1,24
;P_ArchiveThinkers+544
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+560
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+576
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,28
;P_ArchiveThinkers+592
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+608
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+624
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,32
;P_ArchiveThinkers+640
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+656
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+672
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,40
;P_ArchiveThinkers+688
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+704
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+720
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,48
;P_ArchiveThinkers+736
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+752
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+768
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,56
;P_ArchiveThinkers+784
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+800
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+816
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,60
;P_ArchiveThinkers+832
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+848
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+864
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,64
;P_ArchiveThinkers+880
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+896
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+912
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,72
;P_ArchiveThinkers+928
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+944
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+960
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,80
;P_ArchiveThinkers+976
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+992
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1008
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,88
;P_ArchiveThinkers+1024
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1040
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1056
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,96
;P_ArchiveThinkers+1072
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1088
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1104
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,100
;P_ArchiveThinkers+1120
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1136
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1152
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,104
;P_ArchiveThinkers+1168
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1184
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1200
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,108
;P_ArchiveThinkers+1216
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1232
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1248
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,112
;P_ArchiveThinkers+1264
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1280
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1296
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,116
;P_ArchiveThinkers+1312
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1328
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1344
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,120
;P_ArchiveThinkers+1360
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1376
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1392
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,124
;P_ArchiveThinkers+1408
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1424
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1440
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,128
;P_ArchiveThinkers+1456
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1472
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1488
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,136
;P_ArchiveThinkers+1504
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1520
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1536
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,144
;P_ArchiveThinkers+1552
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1568
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1584
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	lddz %r3,%r1,152
;P_ArchiveThinkers+1600
	sub %r3,%r3,%r7
	srli %r3,%r3,3
	nop 2
;P_ArchiveThinkers+1616
	mulwsi.l %r4,%r3,-858993459
	andi %r11,%r4,255
;P_ArchiveThinkers+1632
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1648
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1664
	callr %r10,saveg_write8
	ldwz %r4,%r1,160
	andi %r11,%r4,255
;P_ArchiveThinkers+1680
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1696
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1712
	callr %r10,saveg_write8
	ldwz %r4,%r1,164
	andi %r11,%r4,255
;P_ArchiveThinkers+1728
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1744
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1760
	callr %r10,saveg_write8
	ldwz %r4,%r1,168
	andi %r11,%r4,255
;P_ArchiveThinkers+1776
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1792
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1808
	callr %r10,saveg_write8
	ldwz %r4,%r1,172
	andi %r11,%r4,255
;P_ArchiveThinkers+1824
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1840
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1856
	callr %r10,saveg_write8
	ldwz %r4,%r1,176
	andi %r11,%r4,255
;P_ArchiveThinkers+1872
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1888
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1904
	callr %r10,saveg_write8
	ldwz %r4,%r1,184
	andi %r11,%r4,255
;P_ArchiveThinkers+1920
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1936
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1952
	callr %r10,saveg_write8
	ldwz %r4,%r1,188
	andi %r11,%r4,255
;P_ArchiveThinkers+1968
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1984
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+2000
	callr %r10,saveg_write8
	lddz %r3,%r1,192
	bdne %r3,%gz,P_ArchiveThinkers+48
;P_ArchiveThinkers+2016
	mov %r11,%gz
	callr %r10,saveg_write8
	mov %r11,%gz
;P_ArchiveThinkers+2032
	callr %r10,saveg_write8
	mov %r11,%gz
	callr %r10,saveg_write8
;P_ArchiveThinkers+2048
	mov %r11,%gz
	jmp P_ArchiveThinkers+128
	nop 0
;P_ArchiveThinkers+2064
	mov %r11,%gz
	callr %r10,saveg_write8
	retf 0
;P_UnArchiveThinkers
	allocsp 18,16
	lddzr %r17,thinkercap+8
	ldafr %r2,thinkercap
;P_UnArchiveThinkers+16
	ldar %r6,P_MobjThinker
	bdne %r17,%r2,P_UnArchiveThinkers+48
	jmp P_UnArchiveThinkers+80
;P_UnArchiveThinkers+32
	callr %r16,Z_Free
	mov %r17,%r3
	bdeq %r3,%r2,P_UnArchiveThinkers+80
;P_UnArchiveThinkers+48
	lddz %r1,%r17,16
	lddz %r3,%r17,8
	bdne %r1,%r6,P_UnArchiveThinkers+32
;P_UnArchiveThinkers+64
	callr %r16,P_RemoveMobj
	mov %r17,%r3
	bdne %r3,%r2,P_UnArchiveThinkers+48
;P_UnArchiveThinkers+80
	callr %r17,P_InitThinkers
	ldi %r1,224
	ldi %r2,5
;P_UnArchiveThinkers+96
	ldafr %r7,states
	ldi %r8,40
	ldafr %r9,players
;P_UnArchiveThinkers+112
	ldi %r10,328
	ldafr %r11,mobjinfo
	ldi %r12,92
;P_UnArchiveThinkers+128
	ldafr %r3,.rodata+3525
	callr %r16,saveg_read8
	bwnei %r17,1,P_UnArchiveThinkers+464
;P_UnArchiveThinkers+144
	jmp P_UnArchiveThinkers+496
	nop 0
	nop 0
;P_UnArchiveThinkers+160
	std %r4,%r15,192
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+176
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+192
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+208
	stw %r4,%r15,200
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+224
	callr %r16,saveg_read8
	stb %r17,%r15,205
	stb %r4,%r15,204
;P_UnArchiveThinkers+240
	callr %r16,saveg_read8
	mov %r4,%r17
	callr %r16,saveg_read8
;P_UnArchiveThinkers+256
	stb %r17,%r15,207
	stb %r4,%r15,206
	callr %r16,saveg_read8
;P_UnArchiveThinkers+272
	mov %r4,%r17
	callr %r16,saveg_read8
	stb %r17,%r15,209
;P_UnArchiveThinkers+288
	stb %r4,%r15,208
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+304
	callr %r16,saveg_read8
	stb %r17,%r15,211
	stb %r4,%r15,210
;P_UnArchiveThinkers+320
	callr %r16,saveg_read8
	mov %r4,%r17
	callr %r16,saveg_read8
;P_UnArchiveThinkers+336
	stb %r17,%r15,213
	stb %r4,%r15,212
	callr %r16,saveg_read8
;P_UnArchiveThinkers+352
	callr %r16,saveg_read8
	callr %r16,saveg_read8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+368
	std %gz,%r15,176
	std %gz,%r15,216
	mov %r17,%r15
;P_UnArchiveThinkers+384
	callr %r16,P_SetThingPosition
	ldwz %r4,%r15,128
	muladd %r4,%r4,%r12,%r11
;P_UnArchiveThinkers+400
	std %r4,%r15,136
	lddz %r4,%r15,88
	lddz %r4,%r4,0
;P_UnArchiveThinkers+416
	ldwz %r5,%r4,0
	stw %r5,%r15,96
	ldwz %r4,%r4,4
;P_UnArchiveThinkers+432
	stw %r4,%r15,100
	std %r6,%r15,16
	mov %r17,%r15
;P_UnArchiveThinkers+448
	callr %r16,P_AddThinker
	callr %r16,saveg_read8
	bweqi %r17,1,P_UnArchiveThinkers+496
;P_UnArchiveThinkers+464
	bweq %r17,%gz,P_UnArchiveThinkers+2144
	stw %r17,%sp,0
	mov %r17,%r3
;P_UnArchiveThinkers+480
	callr %r16,I_Error
	callr %r16,saveg_read8
	bwnei %r17,1,P_UnArchiveThinkers+464
;P_UnArchiveThinkers+496
	lddzr %r17,save_stream
	callr %r16,ftell
	subfiws %r4,%r17,0
;P_UnArchiveThinkers+512
	andi %r5,%r4,3
	bweq %r5,%gz,P_UnArchiveThinkers+544
	mov %r13,%gz
;P_UnArchiveThinkers+528
	callr %r16,saveg_read8
	addiws %r13,%r13,1
	bwltu %r13,%r5,P_UnArchiveThinkers+528
;P_UnArchiveThinkers+544
	mov2 %r15,%r16,%r1,%r2
	mov %r17,%gz
	callr %r14,Z_Malloc
;P_UnArchiveThinkers+560
	mov %r17,%r15
	callr %r16,saveg_read_thinker_t
	callr %r16,saveg_read8
;P_UnArchiveThinkers+576
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+592
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+608
	slor %r4,%r5,%r17,24
	stw %r4,%r15,24
	callr %r16,saveg_read8
;P_UnArchiveThinkers+624
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+640
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+656
	slor %r4,%r5,%r17,24
	stw %r4,%r15,28
	callr %r16,saveg_read8
;P_UnArchiveThinkers+672
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+688
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+704
	slor %r4,%r5,%r17,24
	stw %r4,%r15,32
	callr %r16,saveg_read8
;P_UnArchiveThinkers+720
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+736
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+752
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
	std %r4,%r15,40
;P_UnArchiveThinkers+768
	callr %r16,saveg_read8
	mov %r4,%r17
	callr %r16,saveg_read8
;P_UnArchiveThinkers+784
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
;P_UnArchiveThinkers+800
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
;P_UnArchiveThinkers+816
	std %r4,%r15,48
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+832
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+848
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+864
	stw %r4,%r15,56
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+880
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+896
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+912
	stw %r4,%r15,60
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+928
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+944
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+960
	stw %r4,%r15,64
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+976
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+992
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1008
	sraiw %r4,%r4,0
	std %r4,%r15,72
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1024
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+1040
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1056
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
	std %r4,%r15,80
;P_UnArchiveThinkers+1072
	callr %r16,saveg_read8
	mov %r4,%r17
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1088
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
;P_UnArchiveThinkers+1104
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
;P_UnArchiveThinkers+1120
	std %r4,%r15,88
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1136
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1152
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1168
	stw %r4,%r15,96
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1184
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1200
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1216
	stw %r4,%r15,100
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1232
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1248
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1264
	stw %r4,%r15,104
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1280
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1296
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1312
	stw %r4,%r15,108
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1328
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1344
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1360
	stw %r4,%r15,112
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1376
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1392
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1408
	stw %r4,%r15,116
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1424
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1440
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1456
	stw %r4,%r15,120
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1472
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1488
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1504
	stw %r4,%r15,124
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1520
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1536
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1552
	stw %r4,%r15,128
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1568
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1584
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1600
	sraiw %r4,%r4,0
	std %r4,%r15,136
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1616
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+1632
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1648
	slor %r4,%r5,%r17,24
	stw %r4,%r15,144
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1664
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+1680
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1696
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
	muladd %r4,%r4,%r8,%r7
;P_UnArchiveThinkers+1712
	std %r4,%r15,152
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1728
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1744
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1760
	stw %r4,%r15,160
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1776
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1792
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1808
	stw %r4,%r15,164
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1824
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1840
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1856
	stw %r4,%r15,168
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1872
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1888
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1904
	stw %r4,%r15,172
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1920
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1936
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1952
	sraiw %r4,%r4,0
	std %r4,%r15,176
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1968
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+1984
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2000
	slor %r4,%r5,%r17,24
	stw %r4,%r15,184
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2016
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+2032
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2048
	slor %r4,%r5,%r17,24
	stw %r4,%r15,188
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2064
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+2080
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2096
	slor %r5,%r5,%r17,24
	mov %r4,%gz
	bwlti %r5,1,P_UnArchiveThinkers+160
;P_UnArchiveThinkers+2112
	addiwz %r5,%r5,-1
	muladd %r4,%r5,%r10,%r9
	muli %r5,%r5,328
;P_UnArchiveThinkers+2128
	stdx.xd %r15,%r5,%r9,0,0
	jmp P_UnArchiveThinkers+160
	nop 0
;P_UnArchiveThinkers+2144
	retf 16
	nop 0
	nop 0
;P_ArchiveSpecials
	alloc 22
	lddzr %r1,thinkercap+8
	ldafr %r9,thinkercap
;P_ArchiveSpecials+16
	bdeq %r1,%r9,P_ArchiveSpecials+2560
	ldafr %r10,activeceilings
	ldar %r11,T_MoveCeiling
;P_ArchiveSpecials+32
	ldar %r12,T_VerticalDoor
	ldi %r2,1
	ldar %r13,T_MoveFloor
;P_ArchiveSpecials+48
	ldi %r3,2
	ldar %r14,T_PlatRaise
	ldi %r4,3
;P_ArchiveSpecials+64
	ldar %r15,T_LightFlash
	ldi %r5,4
	ldar %r16,T_StrobeFlash
;P_ArchiveSpecials+80
	ldi %r6,5
	ldar %r17,T_Glow
	ldi %r7,6
;P_ArchiveSpecials+96
	jmp P_ArchiveSpecials+144
	nop 0
	nop 0
;P_ArchiveSpecials+112
	mov %r21,%r1
	callr %r20,saveg_write_ceiling_t
	nop 0
;P_ArchiveSpecials+128
	lddz %r1,%r1,8
	bdeq %r1,%r9,P_ArchiveSpecials+2560
	nop 0
;P_ArchiveSpecials+144
	lddz %r8,%r1,16
	bdeq %r8,%gz,P_ArchiveSpecials+464
	bdeq %r8,%r11,P_ArchiveSpecials+512
;P_ArchiveSpecials+160
	bdeq %r8,%r12,P_ArchiveSpecials+672
	bdeq %r8,%r13,P_ArchiveSpecials+1024
	bdeq %r8,%r14,P_ArchiveSpecials+1504
;P_ArchiveSpecials+176
	bdeq %r8,%r15,P_ArchiveSpecials+2112
	bdeq %r8,%r16,P_ArchiveSpecials+2192
	bdne %r8,%r17,P_ArchiveSpecials+128
;P_ArchiveSpecials+192
	mov %r21,%r7
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+208
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+224
	bweq %r18,%gz,P_ArchiveSpecials+272
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+240
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+256
	bwltu %r19,%r18,P_ArchiveSpecials+240
	nop 0
	nop 0
;P_ArchiveSpecials+272
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	lddz %r8,%r1,24
;P_ArchiveSpecials+288
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+304
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+320
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+336
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,32
;P_ArchiveSpecials+352
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+368
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+384
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,36
;P_ArchiveSpecials+400
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+416
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+432
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+448
	jmp P_ArchiveSpecials+1456
	nop 0
	nop 0
;P_ArchiveSpecials+464
	mov %r8,%gz
	nop 0
	nop 0
;P_ArchiveSpecials+480
	lddzx.xd %r18,%r8,%r10,0,0
	bdeq %r18,%r1,P_ArchiveSpecials+592
	addi %r8,%r8,8
;P_ArchiveSpecials+496
	bdnei %r8,240,P_ArchiveSpecials+480
	jmp P_ArchiveSpecials+128
	nop 0
;P_ArchiveSpecials+512
	mov %r21,%gz
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+528
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+544
	bweq %r18,%gz,P_ArchiveSpecials+112
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+560
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+576
	bwltu %r19,%r18,P_ArchiveSpecials+560
	jmp P_ArchiveSpecials+112
	nop 0
;P_ArchiveSpecials+592
	mov %r21,%gz
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+608
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+624
	bweq %r18,%gz,P_ArchiveSpecials+112
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+640
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+656
	bwltu %r19,%r18,P_ArchiveSpecials+640
	jmp P_ArchiveSpecials+112
	nop 0
;P_ArchiveSpecials+672
	mov %r21,%r2
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+688
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+704
	bweq %r18,%gz,P_ArchiveSpecials+752
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+720
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+736
	bwltu %r19,%r18,P_ArchiveSpecials+720
	nop 0
	nop 0
;P_ArchiveSpecials+752
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	ldwz %r18,%r1,24
;P_ArchiveSpecials+768
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+784
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+800
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	lddz %r8,%r1,32
;P_ArchiveSpecials+816
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+832
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+848
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+864
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+880
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+896
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+912
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,44
;P_ArchiveSpecials+928
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+944
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+960
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,48
;P_ArchiveSpecials+976
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+992
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1008
	srliw %r21,%r18,24
	jmp P_ArchiveSpecials+1392
	nop 0
;P_ArchiveSpecials+1024
	mov %r21,%r3
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+1040
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+1056
	bweq %r18,%gz,P_ArchiveSpecials+1104
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+1072
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+1088
	bwltu %r19,%r18,P_ArchiveSpecials+1072
	nop 0
	nop 0
;P_ArchiveSpecials+1104
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	ldwz %r18,%r1,24
;P_ArchiveSpecials+1120
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1136
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1152
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,28
;P_ArchiveSpecials+1168
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1184
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1200
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	lddz %r8,%r1,32
;P_ArchiveSpecials+1216
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+1232
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1248
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+1264
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+1280
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1296
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1312
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,44
;P_ArchiveSpecials+1328
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1344
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1360
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldhz %r18,%r1,48
;P_ArchiveSpecials+1376
	andi %r21,%r18,255
	callr %r20,saveg_write8
	srliw %r21,%r18,8
;P_ArchiveSpecials+1392
	callr %r20,saveg_write8
	ldwz %r18,%r1,52
	andi %r21,%r18,255
;P_ArchiveSpecials+1408
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1424
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
	srliw %r21,%r18,24
;P_ArchiveSpecials+1440
	callr %r20,saveg_write8
	ldwz %r18,%r1,56
	nop 0
;P_ArchiveSpecials+1456
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1472
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1488
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	jmp P_ArchiveSpecials+128
;P_ArchiveSpecials+1504
	mov %r21,%r4
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+1520
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+1536
	bweq %r18,%gz,P_ArchiveSpecials+1584
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+1552
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+1568
	bwltu %r19,%r18,P_ArchiveSpecials+1552
	nop 0
	nop 0
;P_ArchiveSpecials+1584
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	lddz %r8,%r1,24
;P_ArchiveSpecials+1600
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+1616
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1632
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+1648
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,32
;P_ArchiveSpecials+1664
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1680
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1696
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,36
;P_ArchiveSpecials+1712
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1728
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1744
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+1760
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1776
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1792
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,44
;P_ArchiveSpecials+1808
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1824
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1840
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,48
;P_ArchiveSpecials+1856
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1872
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1888
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,52
;P_ArchiveSpecials+1904
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1920
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1936
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,56
;P_ArchiveSpecials+1952
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1968
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1984
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,60
;P_ArchiveSpecials+2000
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2016
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2032
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,64
;P_ArchiveSpecials+2048
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2064
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2080
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,68
;P_ArchiveSpecials+2096
	jmp P_ArchiveSpecials+1456
	nop 0
	nop 0
;P_ArchiveSpecials+2112
	mov %r21,%r5
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+2128
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+2144
	bweq %r18,%gz,P_ArchiveSpecials+2272
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+2160
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+2176
	bwltu %r19,%r18,P_ArchiveSpecials+2160
	jmp P_ArchiveSpecials+2272
	nop 0
;P_ArchiveSpecials+2192
	mov %r21,%r6
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+2208
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+2224
	bweq %r18,%gz,P_ArchiveSpecials+2272
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+2240
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+2256
	bwltu %r19,%r18,P_ArchiveSpecials+2240
	nop 0
	nop 0
;P_ArchiveSpecials+2272
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	lddz %r8,%r1,24
;P_ArchiveSpecials+2288
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+2304
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2320
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+2336
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,32
;P_ArchiveSpecials+2352
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2368
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2384
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,36
;P_ArchiveSpecials+2400
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2416
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2432
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+2448
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2464
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2480
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,44
;P_ArchiveSpecials+2496
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2512
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2528
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,48
;P_ArchiveSpecials+2544
	jmp P_ArchiveSpecials+1456
	nop 0
	nop 0
;P_ArchiveSpecials+2560
	ldi %r21,7
	callr %r20,saveg_write8
	retf 0
;saveg_write_ceiling_t
	alloc 6
	mov %r5,%r1
	callr %r4,saveg_write_thinker_t
;saveg_write_ceiling_t+16
	ldwz %r3,%r1,24
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+32
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+48
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+64
	lddz %r2,%r1,32
	lddzr %r3,sectors
	sub %r3,%r2,%r3
;saveg_write_ceiling_t+80
	slsrli %r5,%r3,49,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,41,56
;saveg_write_ceiling_t+96
	callr %r4,saveg_write8
	slsrli %r5,%r3,33,56
	callr %r4,saveg_write8
;saveg_write_ceiling_t+112
	srli %r2,%r3,31
	andi %r5,%r2,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+128
	ldwz %r3,%r1,40
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+144
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+160
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+176
	ldwz %r3,%r1,44
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+192
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+208
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+224
	ldwz %r3,%r1,48
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+240
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+256
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+272
	ldwz %r3,%r1,52
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+288
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+304
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+320
	ldwz %r3,%r1,56
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+336
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+352
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+368
	ldwz %r3,%r1,60
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+384
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+400
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+416
	ldwz %r2,%r1,64
	andi %r5,%r2,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+432
	slsrli %r5,%r2,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r2,40,56
;saveg_write_ceiling_t+448
	callr %r4,saveg_write8
	srliw %r5,%r2,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+464
	retf 0
	nop 0
	nop 0
;P_UnArchiveSpecials
	allocsp 22,16
	ldafr %r1,.rodata+18178
	ldafr %r9,.rodata+36008
;P_UnArchiveSpecials+16
	ldi %r2,72
	ldi %r3,5
	ldar %r10,T_MoveCeiling
;P_UnArchiveSpecials+32
	ldi %r4,64
	ldar %r11,T_VerticalDoor
	ldar %r12,T_MoveFloor
;P_UnArchiveSpecials+48
	ldar %r13,T_PlatRaise
	ldi %r5,56
	ldar %r14,T_LightFlash
;P_UnArchiveSpecials+64
	ldar %r15,T_StrobeFlash
	ldi %r6,48
	ldar %r16,T_Glow
;P_UnArchiveSpecials+80
	jmp P_UnArchiveSpecials+448
	nop 0
	nop 0
;P_UnArchiveSpecials+96
	mov2 %r19,%r20,%r5,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+112
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+128
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+144
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+160
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+176
	std %r7,%r19,24
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+192
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+208
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+224
	stw %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+240
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+256
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+272
	stw %r7,%r19,36
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+288
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+304
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+320
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+336
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+352
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+368
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+384
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+400
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+416
	stw %r7,%r19,48
	std %r14,%r19,16
	nop 0
;P_UnArchiveSpecials+432
	mov %r21,%r19
	callr %r20,P_AddThinker
	nop 0
;P_UnArchiveSpecials+448
	callr %r20,saveg_read8
	bwgeui %r21,8,P_UnArchiveSpecials+2272
	srliw %r7,%r21,0
;P_UnArchiveSpecials+464
	jmpt %r9,%r7
	nop 0
	nop 0
;P_UnArchiveSpecials+480
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+496
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+528
	mov %r17,%gz
;P_UnArchiveSpecials+512
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+512
;P_UnArchiveSpecials+528
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+544
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+560
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+576
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+592
	slor %r7,%r8,%r21,24
	stw %r7,%r19,24
	callr %r20,saveg_read8
;P_UnArchiveSpecials+608
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+624
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+640
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+656
	std %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+672
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+688
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+704
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+720
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+736
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+752
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+768
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+784
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+800
	stw %r7,%r19,48
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+816
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+832
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+848
	stw %r7,%r19,52
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+864
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+880
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+896
	stw %r7,%r19,56
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+912
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+928
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+944
	stw %r7,%r19,60
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+960
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+976
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+992
	stw %r7,%r19,64
	lddz %r7,%r19,32
	std %r19,%r7,104
;P_UnArchiveSpecials+1008
	lddz %r7,%r19,16
	bdeq %r7,%gz,P_UnArchiveSpecials+1024
	std %r10,%r19,16
;P_UnArchiveSpecials+1024
	mov %r21,%r19
	callr %r20,P_AddThinker
	mov %r21,%r19
;P_UnArchiveSpecials+1040
	callr %r20,P_AddActiveCeiling
	jmp P_UnArchiveSpecials+448
	nop 0
;P_UnArchiveSpecials+1056
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+1072
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+96
	mov %r17,%gz
;P_UnArchiveSpecials+1088
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+1088
;P_UnArchiveSpecials+1104
	jmp P_UnArchiveSpecials+96
	nop 0
	nop 0
;P_UnArchiveSpecials+1120
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+1136
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+1168
	mov %r17,%gz
;P_UnArchiveSpecials+1152
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+1152
;P_UnArchiveSpecials+1168
	mov2 %r19,%r20,%r4,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+1184
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1200
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+1216
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1232
	slor %r7,%r8,%r21,24
	stw %r7,%r19,24
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1248
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+1264
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1280
	slor %r7,%r8,%r21,24
	stw %r7,%r19,28
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1296
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+1312
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1328
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+1344
	std %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1360
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1376
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1392
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1408
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1424
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1440
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1456
	callr %r20,saveg_read8
	slor %r7,%r7,%r21,8
	sth %r7,%r19,48
;P_UnArchiveSpecials+1472
	callr %r20,saveg_read8
	mov %r7,%r21
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1488
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
;P_UnArchiveSpecials+1504
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
	stw %r7,%r19,52
;P_UnArchiveSpecials+1520
	callr %r20,saveg_read8
	mov %r7,%r21
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1536
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
;P_UnArchiveSpecials+1552
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
	stw %r7,%r19,56
;P_UnArchiveSpecials+1568
	lddz %r7,%r19,32
	std %r19,%r7,104
	std %r12,%r19,16
;P_UnArchiveSpecials+1584
	jmp P_UnArchiveSpecials+432
	nop 0
	nop 0
;P_UnArchiveSpecials+1600
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+1616
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+1648
	mov %r17,%gz
;P_UnArchiveSpecials+1632
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+1632
;P_UnArchiveSpecials+1648
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+1664
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1680
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+1696
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1712
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+1728
	std %r7,%r19,24
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1744
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1760
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1776
	stw %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1792
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1808
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1824
	stw %r7,%r19,36
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1840
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1856
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1872
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1888
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1904
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1920
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1936
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1952
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1968
	stw %r7,%r19,48
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1984
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2000
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2016
	stw %r7,%r19,52
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2032
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2048
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2064
	stw %r7,%r19,56
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2080
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2096
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2112
	stw %r7,%r19,60
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2128
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2144
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2160
	stw %r7,%r19,64
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2176
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2192
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2208
	stw %r7,%r19,68
	lddz %r7,%r19,24
	std %r19,%r7,104
;P_UnArchiveSpecials+2224
	lddz %r7,%r19,16
	bdeq %r7,%gz,P_UnArchiveSpecials+2240
	std %r13,%r19,16
;P_UnArchiveSpecials+2240
	mov %r21,%r19
	callr %r20,P_AddThinker
	mov %r21,%r19
;P_UnArchiveSpecials+2256
	callr %r20,P_AddActivePlat
	jmp P_UnArchiveSpecials+448
	nop 0
;P_UnArchiveSpecials+2272
	stw %r21,%sp,0
	mov %r21,%r1
	callr %r20,I_Error
;P_UnArchiveSpecials+2288
	jmp P_UnArchiveSpecials+448
	nop 0
	nop 0
;P_UnArchiveSpecials+2304
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+2320
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+2352
	mov %r17,%gz
;P_UnArchiveSpecials+2336
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+2336
;P_UnArchiveSpecials+2352
	mov2 %r19,%r20,%r4,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+2368
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2384
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+2400
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2416
	slor %r7,%r8,%r21,24
	stw %r7,%r19,24
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2432
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+2448
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2464
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+2480
	std %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2496
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2512
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2528
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2544
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2560
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2576
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2592
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2608
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2624
	stw %r7,%r19,48
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2640
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2656
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2672
	stw %r7,%r19,52
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2688
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2704
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2720
	stw %r7,%r19,56
	lddz %r7,%r19,32
	std %r19,%r7,104
;P_UnArchiveSpecials+2736
	std %r11,%r19,16
	jmp P_UnArchiveSpecials+432
	nop 0
;P_UnArchiveSpecials+2752
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+2768
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+2800
	mov %r17,%gz
;P_UnArchiveSpecials+2784
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+2784
;P_UnArchiveSpecials+2800
	mov2 %r19,%r20,%r5,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+2816
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2832
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+2848
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2864
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+2880
	std %r7,%r19,24
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2896
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2912
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2928
	stw %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2944
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2960
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2976
	stw %r7,%r19,36
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2992
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3008
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3024
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3040
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3056
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3072
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3088
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3104
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3120
	stw %r7,%r19,48
	std %r15,%r19,16
	jmp P_UnArchiveSpecials+432
;P_UnArchiveSpecials+3136
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+3152
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+3184
	mov %r17,%gz
;P_UnArchiveSpecials+3168
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+3168
;P_UnArchiveSpecials+3184
	mov2 %r19,%r20,%r6,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+3200
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3216
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+3232
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3248
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+3264
	std %r7,%r19,24
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3280
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3296
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3312
	stw %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3328
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3344
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3360
	stw %r7,%r19,36
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3376
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3392
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3408
	stw %r7,%r19,40
	std %r16,%r19,16
	jmp P_UnArchiveSpecials+432
;P_UnArchiveSpecials+3424
	retf 16
	nop 0
	nop 0
;saveg_write_thinker_t
	alloc 6
	ldwz %r3,%r1,0
	andi %r5,%r3,255
;saveg_write_thinker_t+16
	callr %r4,saveg_write8
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
;saveg_write_thinker_t+32
	slsrli %r5,%r3,40,56
	callr %r4,saveg_write8
	srliw %r5,%r3,24
;saveg_write_thinker_t+48
	callr %r4,saveg_write8
	ldwz %r3,%r1,8
	andi %r5,%r3,255
;saveg_write_thinker_t+64
	callr %r4,saveg_write8
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
;saveg_write_thinker_t+80
	slsrli %r5,%r3,40,56
	callr %r4,saveg_write8
	srliw %r5,%r3,24
;saveg_write_thinker_t+96
	callr %r4,saveg_write8
	ldwz %r2,%r1,16
	andi %r5,%r2,255
;saveg_write_thinker_t+112
	callr %r4,saveg_write8
	slsrli %r5,%r2,48,56
	callr %r4,saveg_write8
;saveg_write_thinker_t+128
	slsrli %r5,%r2,40,56
	callr %r4,saveg_write8
	srliw %r5,%r2,24
;saveg_write_thinker_t+144
	callr %r4,saveg_write8
	retf 0
	nop 0
;saveg_read_thinker_t
	alloc 6
	callr %r4,saveg_read8
	mov %r2,%r5
;saveg_read_thinker_t+16
	callr %r4,saveg_read8
	slor %r3,%r2,%r5,8
	callr %r4,saveg_read8
;saveg_read_thinker_t+32
	slor %r3,%r3,%r5,16
	callr %r4,saveg_read8
	slor %r2,%r3,%r5,24
;saveg_read_thinker_t+48
	sraiw %r2,%r2,0
	std %r2,%r1,0
	callr %r4,saveg_read8
;saveg_read_thinker_t+64
	mov %r2,%r5
	callr %r4,saveg_read8
	slor %r3,%r2,%r5,8
;saveg_read_thinker_t+80
	callr %r4,saveg_read8
	slor %r3,%r3,%r5,16
	callr %r4,saveg_read8
;saveg_read_thinker_t+96
	slor %r2,%r3,%r5,24
	sraiw %r2,%r2,0
	std %r2,%r1,8
;saveg_read_thinker_t+112
	callr %r4,saveg_read8
	mov %r2,%r5
	callr %r4,saveg_read8
;saveg_read_thinker_t+128
	slor %r3,%r2,%r5,8
	callr %r4,saveg_read8
	slor %r3,%r3,%r5,16
;saveg_read_thinker_t+144
	callr %r4,saveg_read8
	slor %r2,%r3,%r5,24
	sraiw %r2,%r2,0
;saveg_read_thinker_t+160
	std %r2,%r1,16
	retf 0
	nop 0
;P_LoadVertexes
	alloc 10
	mov %r9,%r1
	callr %r8,W_LumpLength
;P_LoadVertexes+16
	sraiw %r2,%r9,2
	stwr %r2,numvertexes
	slliw %r7,%r2,3
;P_LoadVertexes+32
	ldi %r8,5
	mov %r9,%gz
	callr %r6,Z_Malloc
;P_LoadVertexes+48
	stdr %r7,vertexes
	ldi %r9,1
	mov %r8,%r1
;P_LoadVertexes+64
	callr %r7,W_CacheLumpNum
	ldwzr %r2,numvertexes
	bwlti %r2,1,P_LoadVertexes+176
;P_LoadVertexes+80
	mov %r2,%gz
	lddzr %r3,vertexes
	nop 0
;P_LoadVertexes+96
	ldbz %r4,%r8,1
	ldbz %r5,%r8,0
	slliw %r4,%r4,24
;P_LoadVertexes+112
	slor %r4,%r4,%r5,16
	stw %r4,%r3,0
	ldbz %r4,%r8,3
;P_LoadVertexes+128
	ldbz %r5,%r8,2
	slliw %r4,%r4,24
	slor %r4,%r4,%r5,16
;P_LoadVertexes+144
	stw %r4,%r3,4
	ldwzr %r4,numvertexes
	addiws %r2,%r2,1
;P_LoadVertexes+160
	addi %r3,%r3,8
	addi %r8,%r8,4
	bwlt %r2,%r4,P_LoadVertexes+96
;P_LoadVertexes+176
	mov %r9,%r1
	callr %r8,W_ReleaseLumpNum
	retf 0
;GetSectorAtNullAddress
	alloc 6
	ldbzr %r1,GetSectorAtNullAddress.null_sector_is_initialized
	bbsi %r1,0,GetSectorAtNullAddress+160
;GetSectorAtNullAddress+16
	stdr %gz,GetSectorAtNullAddress.null_sector+120
	stdr %gz,GetSectorAtNullAddress.null_sector+112
	stdr %gz,GetSectorAtNullAddress.null_sector+104
;GetSectorAtNullAddress+32
	stdr %gz,GetSectorAtNullAddress.null_sector+96
	stdr %gz,GetSectorAtNullAddress.null_sector+88
	stdr %gz,GetSectorAtNullAddress.null_sector+80
;GetSectorAtNullAddress+48
	stdr %gz,GetSectorAtNullAddress.null_sector+72
	stdr %gz,GetSectorAtNullAddress.null_sector+64
	stdr %gz,GetSectorAtNullAddress.null_sector+56
;GetSectorAtNullAddress+64
	stdr %gz,GetSectorAtNullAddress.null_sector+48
	stdr %gz,GetSectorAtNullAddress.null_sector+40
	stdr %gz,GetSectorAtNullAddress.null_sector+32
;GetSectorAtNullAddress+80
	stdr %gz,GetSectorAtNullAddress.null_sector+24
	stdr %gz,GetSectorAtNullAddress.null_sector+16
	stdr %gz,GetSectorAtNullAddress.null_sector+8
;GetSectorAtNullAddress+96
	stdr %gz,GetSectorAtNullAddress.null_sector
	ldafr %r4,GetSectorAtNullAddress.null_sector
	ldi %r1,4
;GetSectorAtNullAddress+112
	mov2 %r3,%r5,%gz,%r1
	callr %r2,I_GetMemoryValue
	ldafr %r4,GetSectorAtNullAddress.null_sector+4
;GetSectorAtNullAddress+128
	mov2 %r3,%r5,%r1,%r1
	callr %r2,I_GetMemoryValue
	ldi %r1,1
;GetSectorAtNullAddress+144
	stbr %r1,GetSectorAtNullAddress.null_sector_is_initialized
	nop 0
	nop 0
;GetSectorAtNullAddress+160
	ldafr %r1,GetSectorAtNullAddress.null_sector
	retf 0
	nop 0
;P_LoadSegs
	alloc 24
	mov %r23,%r1
	callr %r22,W_LumpLength
;P_LoadSegs+16
	sraiw %r2,%r23,0
	divui %r2,%r2,12
	stwr %r2,numsegs
;P_LoadSegs+32
	mulwsi %r21,%r2,56
	ldi %r22,5
	mov %r23,%gz
;P_LoadSegs+48
	callr %r20,Z_Malloc
	ldwsr %r2,numsegs
	stdr %r21,segs
;P_LoadSegs+64
	muli %r23,%r2,56
	mov %r22,%gz
	callr %r20,memset
;P_LoadSegs+80
	ldi %r2,1
	mov2 %r22,%r23,%r1,%r2
	callr %r21,W_CacheLumpNum
;P_LoadSegs+96
	ldwzr %r7,numsegs
	bwlti %r7,1,P_LoadSegs+672
	mov2 %r3,%r8,%r22,%gz
;P_LoadSegs+112
	lddzr %r9,segs
	lddzr %r13,vertexes
	lddzr %r12,lines
;P_LoadSegs+128
	ldi %r10,88
	ldi %r11,24
	ldafr %r4,GetSectorAtNullAddress.null_sector
;P_LoadSegs+144
	ldi %r5,4
	ldafr %r6,GetSectorAtNullAddress.null_sector+4
	jmp P_LoadSegs+208
;P_LoadSegs+160
	mov %r14,%gz
	nop 0
	nop 0
;P_LoadSegs+176
	std %r14,%r9,48
	addiws %r8,%r8,1
	addi %r9,%r9,56
;P_LoadSegs+192
	addi %r3,%r3,12
	bwle %r7,%r8,P_LoadSegs+672
	nop 0
;P_LoadSegs+208
	ldbs %r14,%r3,1
	ldbz %r15,%r3,0
	slli %r14,%r14,11
;P_LoadSegs+224
	slor %r14,%r14,%r15,3
	add %r13,%r13,%r14
	std %r13,%r9,0
;P_LoadSegs+240
	ldbs %r14,%r3,3
	ldbz %r15,%r3,2
	lddzr %r13,vertexes
;P_LoadSegs+256
	slli %r14,%r14,11
	slor %r14,%r14,%r15,3
	add %r14,%r13,%r14
;P_LoadSegs+272
	std %r14,%r9,8
	ldbz %r14,%r3,5
	ldbz %r15,%r3,4
;P_LoadSegs+288
	slliw %r14,%r14,24
	slor %r14,%r14,%r15,16
	stw %r14,%r9,20
;P_LoadSegs+304
	ldbz %r14,%r3,11
	ldbz %r15,%r3,10
	slliw %r14,%r14,24
;P_LoadSegs+320
	slor %r14,%r14,%r15,16
	stw %r14,%r9,16
	ldbs %r14,%r3,7
;P_LoadSegs+336
	ldbz %r15,%r3,6
	slor %r14,%r15,%r14,8
	muladd %r17,%r14,%r10,%r12
;P_LoadSegs+352
	std %r17,%r9,32
	ldbz %r15,%r3,9
	ldbz %r16,%r3,8
;P_LoadSegs+368
	muli %r18,%r14,88
	slor %r15,%r16,%r15,8
	lddzr %r14,sides
;P_LoadSegs+384
	ldax.xd %r16,%r12,%r18,0,30
	slsrai %r19,%r15,48,48
	ldhsx.xd %r17,%r17,%r19,1,30
;P_LoadSegs+400
	muli %r19,%r17,24
	muladd %r17,%r17,%r11,%r14
	std %r17,%r9,24
;P_LoadSegs+416
	lddzx.xd %r17,%r14,%r19,0,16
	std %r17,%r9,40
	ldbzx.xd %r17,%r12,%r18,0,24
;P_LoadSegs+432
	bbci %r17,2,P_LoadSegs+160
	xori %r15,%r15,1
	slsrai %r15,%r15,48,48
;P_LoadSegs+448
	ldhsx.xd %r15,%r16,%r15,1,0
	bwlt %r15,%gz,P_LoadSegs+496
	ldwzr %r16,numsides
;P_LoadSegs+464
	bwle %r16,%r15,P_LoadSegs+496
	srliw %r15,%r15,0
	muli %r15,%r15,24
;P_LoadSegs+480
	lddzx.xd %r14,%r14,%r15,0,16
	jmp P_LoadSegs+176
	nop 0
;P_LoadSegs+496
	ldbzr %r15,GetSectorAtNullAddress.null_sector_is_initialized
	mov %r14,%r4
	bbsi %r15,0,P_LoadSegs+176
;P_LoadSegs+512
	stdr %gz,GetSectorAtNullAddress.null_sector+120
	stdr %gz,GetSectorAtNullAddress.null_sector+112
	stdr %gz,GetSectorAtNullAddress.null_sector+104
;P_LoadSegs+528
	stdr %gz,GetSectorAtNullAddress.null_sector+96
	stdr %gz,GetSectorAtNullAddress.null_sector+88
	stdr %gz,GetSectorAtNullAddress.null_sector+80
;P_LoadSegs+544
	stdr %gz,GetSectorAtNullAddress.null_sector+72
	stdr %gz,GetSectorAtNullAddress.null_sector+64
	stdr %gz,GetSectorAtNullAddress.null_sector+56
;P_LoadSegs+560
	stdr %gz,GetSectorAtNullAddress.null_sector+48
	stdr %gz,GetSectorAtNullAddress.null_sector+40
	stdr %gz,GetSectorAtNullAddress.null_sector+32
;P_LoadSegs+576
	stdr %gz,GetSectorAtNullAddress.null_sector+24
	stdr %gz,GetSectorAtNullAddress.null_sector+16
	stdr %gz,GetSectorAtNullAddress.null_sector+8
;P_LoadSegs+592
	stdr %gz,GetSectorAtNullAddress.null_sector
	mov2 %r21,%r22,%gz,%r4
	mov %r23,%r5
;P_LoadSegs+608
	callr %r20,I_GetMemoryValue
	mov2 %r21,%r22,%r5,%r6
	mov %r23,%r5
;P_LoadSegs+624
	callr %r20,I_GetMemoryValue
	stbr %r2,GetSectorAtNullAddress.null_sector_is_initialized
	lddzr %r13,vertexes
;P_LoadSegs+640
	lddzr %r12,lines
	ldwzr %r7,numsegs
	mov %r14,%r4
;P_LoadSegs+656
	jmp P_LoadSegs+176
	nop 0
	nop 0
;P_LoadSegs+672
	mov %r23,%r1
	callr %r22,W_ReleaseLumpNum
	retf 0
;P_LoadSubsectors
	alloc 12
	mov %r11,%r1
	callr %r10,W_LumpLength
;P_LoadSubsectors+16
	sraiw %r2,%r11,2
	stwr %r2,numsubsectors
	slliw %r9,%r2,4
;P_LoadSubsectors+32
	ldi %r10,5
	mov %r11,%gz
	callr %r8,Z_Malloc
;P_LoadSubsectors+48
	stdr %r9,subsectors
	ldi %r11,1
	mov %r10,%r1
;P_LoadSubsectors+64
	callr %r9,W_CacheLumpNum
	ldwsr %r3,numsubsectors
	mov %r2,%r10
;P_LoadSubsectors+80
	lddzr %r9,subsectors
	slli %r11,%r3,4
	mov %r10,%gz
;P_LoadSubsectors+96
	callr %r8,memset
	ldwzr %r3,numsubsectors
	bwlti %r3,1,P_LoadSubsectors+192
;P_LoadSubsectors+112
	lddzr %r5,subsectors
	mov %r4,%gz
	addi %r5,%r5,10
;P_LoadSubsectors+128
	ldbz %r6,%r2,1
	ldbz %r7,%r2,0
	slor %r6,%r7,%r6,8
;P_LoadSubsectors+144
	sth %r6,%r5,-2
	ldbz %r6,%r2,3
	ldbz %r7,%r2,2
;P_LoadSubsectors+160
	slor %r6,%r7,%r6,8
	sth %r6,%r5,0
	addiws %r4,%r4,1
;P_LoadSubsectors+176
	addi %r2,%r2,4
	addi %r5,%r5,16
	bwlt %r4,%r3,P_LoadSubsectors+128
;P_LoadSubsectors+192
	mov %r11,%r1
	callr %r10,W_ReleaseLumpNum
	retf 0
;P_LoadSectors
	alloc 11
	mov %r10,%r1
	callr %r9,W_LumpLength
;P_LoadSectors+16
	sraiw %r2,%r10,0
	divui %r2,%r2,26
	stwr %r2,numsectors
;P_LoadSectors+32
	slliw %r8,%r2,7
	ldi %r9,5
	mov %r10,%gz
;P_LoadSectors+48
	callr %r7,Z_Malloc
	ldwsr %r2,numsectors
	stdr %r8,sectors
;P_LoadSectors+64
	slli %r10,%r2,7
	mov %r9,%gz
	callr %r7,memset
;P_LoadSectors+80
	ldi %r10,1
	mov %r9,%r1
	callr %r8,W_CacheLumpNum
;P_LoadSectors+96
	ldwzr %r3,numsectors
	bwlti %r3,1,P_LoadSectors+320
	mov2 %r2,%r4,%r9,%gz
;P_LoadSectors+112
	lddzr %r5,sectors
	nop 0
	nop 0
;P_LoadSectors+128
	ldbz %r3,%r2,1
	ldbz %r6,%r2,0
	slliw %r3,%r3,24
;P_LoadSectors+144
	slor %r3,%r3,%r6,16
	stw %r3,%r5,0
	ldbz %r3,%r2,3
;P_LoadSectors+160
	ldbz %r6,%r2,2
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;P_LoadSectors+176
	stw %r3,%r5,4
	addi %r10,%r2,4
	callr %r9,R_FlatNumForName
;P_LoadSectors+192
	sth %r10,%r5,8
	addi %r10,%r2,12
	callr %r9,R_FlatNumForName
;P_LoadSectors+208
	sth %r10,%r5,10
	ldbz %r3,%r2,21
	ldbz %r6,%r2,20
;P_LoadSectors+224
	slor %r3,%r6,%r3,8
	sth %r3,%r5,12
	ldbz %r3,%r2,23
;P_LoadSectors+240
	ldbz %r6,%r2,22
	slor %r3,%r6,%r3,8
	sth %r3,%r5,14
;P_LoadSectors+256
	ldbz %r3,%r2,25
	ldbz %r6,%r2,24
	slor %r3,%r6,%r3,8
;P_LoadSectors+272
	sth %r3,%r5,16
	std %gz,%r5,96
	ldwzr %r3,numsectors
;P_LoadSectors+288
	addiws %r4,%r4,1
	addi %r5,%r5,128
	addi %r2,%r2,26
;P_LoadSectors+304
	bwlt %r4,%r3,P_LoadSectors+128
	nop 0
	nop 0
;P_LoadSectors+320
	mov %r10,%r1
	callr %r9,W_ReleaseLumpNum
	retf 0
;P_LoadNodes
	alloc 19
	mov %r18,%r1
	callr %r17,W_LumpLength
;P_LoadNodes+16
	sraiw %r2,%r18,0
	divui %r2,%r2,28
	stwr %r2,numnodes
;P_LoadNodes+32
	mulwsi %r16,%r2,52
	ldi %r17,5
	mov %r18,%gz
;P_LoadNodes+48
	callr %r15,Z_Malloc
	stdr %r16,nodes
	ldi %r2,1
;P_LoadNodes+64
	mov2 %r17,%r18,%r1,%r2
	callr %r16,W_CacheLumpNum
	ldwzr %r3,numnodes
;P_LoadNodes+80
	bwlti %r3,1,P_LoadNodes+384
	mov %r3,%gz
	lddzr %r4,nodes
;P_LoadNodes+96
	addi %r5,%r17,8
	ldi %r6,16
	nop 0
;P_LoadNodes+112
	ldbz %r7,%r17,1
	ldbz %r8,%r17,0
	slliw %r7,%r7,24
;P_LoadNodes+128
	slor %r7,%r7,%r8,16
	stw %r7,%r4,0
	ldbz %r7,%r17,3
;P_LoadNodes+144
	ldbz %r8,%r17,2
	slliw %r7,%r7,24
	slor %r7,%r7,%r8,16
;P_LoadNodes+160
	stw %r7,%r4,4
	ldbz %r7,%r17,5
	ldbz %r8,%r17,4
;P_LoadNodes+176
	slliw %r7,%r7,24
	slor %r7,%r7,%r8,16
	stw %r7,%r4,8
;P_LoadNodes+192
	ldbz %r7,%r17,7
	ldbz %r8,%r17,6
	slliw %r7,%r7,24
;P_LoadNodes+208
	mov %r9,%gz
	slor %r7,%r7,%r8,16
	stw %r7,%r4,12
;P_LoadNodes+224
	addi %r7,%r17,24
	addi %r8,%r4,48
	mov %r12,%r2
;P_LoadNodes+240
	ldbzx.xd %r13,%r7,%r9,1,1
	ldbzx.xd %r14,%r7,%r9,1,0
	mov2 %r11,%r10,%gz,%r12
;P_LoadNodes+256
	slor %r12,%r14,%r13,8
	sthx.xd %r12,%r8,%r9,1,0
	sladd %r12,%r5,%r9,3
;P_LoadNodes+272
	sladd %r9,%r6,%r9,4
	nop 0
	nop 0
;P_LoadNodes+288
	ldbzx.xd %r13,%r12,%r11,0,1
	ldbzx.xd %r14,%r12,%r11,0,0
	slliw %r13,%r13,24
;P_LoadNodes+304
	slor %r13,%r13,%r14,16
	stwx.xd %r13,%r4,%r9,0,0
	addi %r11,%r11,2
;P_LoadNodes+320
	addi %r9,%r9,4
	bdnei %r11,8,P_LoadNodes+288
	mov2 %r12,%r9,%gz,%r2
;P_LoadNodes+336
	bbsi %r10,0,P_LoadNodes+240
	ldwzr %r7,numnodes
	addiws %r3,%r3,1
;P_LoadNodes+352
	addi %r4,%r4,52
	addi %r17,%r17,28
	addi %r5,%r5,28
;P_LoadNodes+368
	bwlt %r3,%r7,P_LoadNodes+112
	nop 0
	nop 0
;P_LoadNodes+384
	mov %r18,%r1
	callr %r17,W_ReleaseLumpNum
	retf 0
;P_LoadThings
	allocsp 13,16
	ldi %r2,1
	mov2 %r11,%r12,%r1,%r2
;P_LoadThings+16
	callr %r10,W_CacheLumpNum
	mov2 %r3,%r12,%r11,%r1
	callr %r11,W_LumpLength
;P_LoadThings+32
	sraiw %r4,%r12,0
	divui %r5,%r4,10
	bwlti %r5,1,P_LoadThings+272
;P_LoadThings+48
	mov %r6,%gz
	addi %r7,%r3,4
	addi %r3,%sp,6
;P_LoadThings+64
	jmp P_LoadThings+208
	nop 0
	nop 0
;P_LoadThings+80
	ldbz %r8,%r7,-3
	ldbz %r9,%r7,-4
	slor %r8,%r9,%r8,8
;P_LoadThings+96
	sth %r8,%sp,6
	ldbz %r8,%r7,-1
	ldbz %r9,%r7,-2
;P_LoadThings+112
	slor %r8,%r9,%r8,8
	sth %r8,%sp,8
	ldbz %r8,%r7,1
;P_LoadThings+128
	ldbz %r9,%r7,0
	slor %r8,%r9,%r8,8
	sth %r8,%sp,10
;P_LoadThings+144
	sth %r4,%sp,12
	ldbz %r4,%r7,5
	ldbz %r8,%r7,4
;P_LoadThings+160
	slor %r4,%r8,%r4,8
	sth %r4,%sp,14
	mov %r12,%r3
;P_LoadThings+176
	callr %r11,P_SpawnMapThing
	addiws %r6,%r6,1
	addi %r7,%r7,10
;P_LoadThings+192
	bwle %r5,%r6,P_LoadThings+272
	nop 0
	nop 0
;P_LoadThings+208
	ldwzr %r8,gamemode
	ldbz %r4,%r7,3
	ldbz %r9,%r7,2
;P_LoadThings+224
	slor %r4,%r9,%r4,8
	bweqi %r8,2,P_LoadThings+80
	addiws %r8,%r4,-64
;P_LoadThings+240
	bwgeui %r8,26,P_LoadThings+80
	sllw %r8,%r2,%r8
	nop 2
;P_LoadThings+256
	andi.l %r8,%r8,51380415
	bweq %r8,%gz,P_LoadThings+80
;P_LoadThings+272
	mov %r12,%r1
	callr %r11,W_ReleaseLumpNum
	retf 16
;P_LoadLineDefs
	alloc 20
	mov %r19,%r1
	callr %r18,W_LumpLength
;P_LoadLineDefs+16
	sraiw %r2,%r19,0
	divui %r2,%r2,14
	stwr %r2,numlines
;P_LoadLineDefs+32
	mulwsi %r17,%r2,88
	ldi %r18,5
	mov %r19,%gz
;P_LoadLineDefs+48
	callr %r16,Z_Malloc
	ldwsr %r2,numlines
	stdr %r17,lines
;P_LoadLineDefs+64
	muli %r19,%r2,88
	mov %r18,%gz
	callr %r16,memset
;P_LoadLineDefs+80
	ldi %r2,1
	mov2 %r18,%r19,%r1,%r2
	callr %r17,W_CacheLumpNum
;P_LoadLineDefs+96
	ldwzr %r3,numlines
	bwlti %r3,1,P_LoadLineDefs+752
	lddzr %r5,lines
;P_LoadLineDefs+112
	mov %r4,%gz
	lddzr %r3,vertexes
	addi %r5,%r5,64
;P_LoadLineDefs+128
	addi %r6,%r18,6
	ldi %r7,2
	ldi %r8,3
;P_LoadLineDefs+144
	jmp P_LoadLineDefs+224
	nop 0
	nop 0
;P_LoadLineDefs+160
	lddzr %r10,sides
	slsrai %r9,%r9,48,48
	muli %r9,%r9,24
;P_LoadLineDefs+176
	lddzx.xd %r9,%r10,%r9,0,16
	nop 0
	nop 0
;P_LoadLineDefs+192
	std %r9,%r5,0
	ldwzr %r9,numlines
	addiws %r4,%r4,1
;P_LoadLineDefs+208
	addi %r5,%r5,88
	addi %r6,%r6,14
	bwle %r9,%r4,P_LoadLineDefs+752
;P_LoadLineDefs+224
	ldbz %r9,%r6,-1
	ldbz %r10,%r6,-2
	slor %r9,%r10,%r9,8
;P_LoadLineDefs+240
	sth %r9,%r5,-40
	ldbz %r9,%r6,1
	ldbz %r10,%r6,0
;P_LoadLineDefs+256
	slor %r9,%r10,%r9,8
	sth %r9,%r5,-38
	ldbz %r9,%r6,3
;P_LoadLineDefs+272
	ldbz %r10,%r6,2
	slor %r9,%r10,%r9,8
	sth %r9,%r5,-36
;P_LoadLineDefs+288
	ldbs %r9,%r6,-5
	ldbz %r10,%r6,-6
	slli %r9,%r9,11
;P_LoadLineDefs+304
	mov %r12,%r3
	slor %r13,%r9,%r10,3
	add %r9,%r3,%r13
;P_LoadLineDefs+320
	std %r9,%r5,-64
	ldbs %r10,%r6,-3
	ldbz %r11,%r6,-4
;P_LoadLineDefs+336
	lddzr %r3,vertexes
	slli %r10,%r10,11
	slor %r11,%r10,%r11,3
;P_LoadLineDefs+352
	add %r10,%r3,%r11
	std %r10,%r5,-56
	ldwzx.xd %r14,%r3,%r11,0,0
;P_LoadLineDefs+368
	ldwzx.xd %r15,%r12,%r13,0,0
	subws %r19,%r14,%r15
	stw %r19,%r5,-48
;P_LoadLineDefs+384
	ldwzx.xd %r11,%r3,%r11,0,4
	ldwzx.xd %r12,%r12,%r13,0,4
	subws %r18,%r11,%r12
;P_LoadLineDefs+400
	stw %r18,%r5,-44
	bwne %r14,%r15,P_LoadLineDefs+432
	stw %r2,%r5,-12
;P_LoadLineDefs+416
	jmp P_LoadLineDefs+496
	nop 0
	nop 0
;P_LoadLineDefs+432
	bwne %r11,%r12,P_LoadLineDefs+448
	stw %gz,%r5,-12
	jmp P_LoadLineDefs+496
;P_LoadLineDefs+448
	callr %r17,FixedDiv
	lddzr %r3,vertexes
	bwlti %r18,1,P_LoadLineDefs+480
;P_LoadLineDefs+464
	stw %r7,%r5,-12
	jmp P_LoadLineDefs+496
	nop 0
;P_LoadLineDefs+480
	stw %r8,%r5,-12
	nop 0
	nop 0
;P_LoadLineDefs+496
	ldwz %r11,%r9,0
	ldwz %r12,%r10,0
	cmpwlt %r13,%r11,%r12
;P_LoadLineDefs+512
	minsw %r11,%r11,%r12
	stw %r11,%r5,-20
	cmovlsb %r11,%r13,%r10,%r9
;P_LoadLineDefs+528
	ldwz %r11,%r11,0
	stw %r11,%r5,-16
	ldwz %r11,%r9,4
;P_LoadLineDefs+544
	ldwz %r12,%r10,4
	addi %r9,%r9,4
	addi %r10,%r10,4
;P_LoadLineDefs+560
	cmpwlt %r13,%r11,%r12
	minsw %r11,%r11,%r12
	stw %r11,%r5,-24
;P_LoadLineDefs+576
	cmovlsb %r9,%r13,%r10,%r9
	ldwz %r9,%r9,0
	stw %r9,%r5,-28
;P_LoadLineDefs+592
	ldbz %r9,%r6,5
	ldbz %r10,%r6,4
	slor %r10,%r10,%r9,8
;P_LoadLineDefs+608
	sth %r10,%r5,-34
	ldbz %r9,%r6,7
	ldbz %r11,%r6,6
;P_LoadLineDefs+624
	slor %r9,%r11,%r9,8
	sth %r9,%r5,-32
	nop 2
;P_LoadLineDefs+640
	bweqi.l %r10,65535,P_LoadLineDefs+688
	lddzr %r11,sides
;P_LoadLineDefs+656
	slsrai %r10,%r10,48,48
	muli %r10,%r10,24
	lddzx.xd %r10,%r11,%r10,0,16
;P_LoadLineDefs+672
	jmp P_LoadLineDefs+704
	nop 0
	nop 0
;P_LoadLineDefs+688
	mov %r10,%gz
	nop 0
	nop 0
;P_LoadLineDefs+704
	andi %r11,%r9,65535
	std %r10,%r5,-8
	nop 2
;P_LoadLineDefs+720
	bwnei.l %r11,65535,P_LoadLineDefs+160
	mov %r9,%gz
;P_LoadLineDefs+736
	jmp P_LoadLineDefs+192
	nop 0
	nop 0
;P_LoadLineDefs+752
	mov %r19,%r1
	callr %r18,W_ReleaseLumpNum
	retf 0
;P_LoadSideDefs
	alloc 12
	mov %r11,%r1
	callr %r10,W_LumpLength
;P_LoadSideDefs+16
	sraiw %r2,%r11,0
	divui %r2,%r2,30
	stwr %r2,numsides
;P_LoadSideDefs+32
	mulwsi %r9,%r2,24
	ldi %r10,5
	mov %r11,%gz
;P_LoadSideDefs+48
	callr %r8,Z_Malloc
	ldwsr %r2,numsides
	stdr %r9,sides
;P_LoadSideDefs+64
	muli %r11,%r2,24
	mov %r10,%gz
	callr %r8,memset
;P_LoadSideDefs+80
	ldi %r11,1
	mov %r10,%r1
	callr %r9,W_CacheLumpNum
;P_LoadSideDefs+96
	ldwzr %r3,numsides
	bwlti %r3,1,P_LoadSideDefs+304
	mov2 %r2,%r4,%r10,%gz
;P_LoadSideDefs+112
	lddzr %r5,sides
	nop 0
	nop 0
;P_LoadSideDefs+128
	ldbz %r3,%r2,1
	ldbz %r6,%r2,0
	slliw %r3,%r3,24
;P_LoadSideDefs+144
	slor %r3,%r3,%r6,16
	stw %r3,%r5,0
	ldbz %r3,%r2,3
;P_LoadSideDefs+160
	ldbz %r6,%r2,2
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;P_LoadSideDefs+176
	stw %r3,%r5,4
	addi %r11,%r2,4
	callr %r10,R_TextureNumForName
;P_LoadSideDefs+192
	sth %r11,%r5,8
	addi %r11,%r2,12
	callr %r10,R_TextureNumForName
;P_LoadSideDefs+208
	sth %r11,%r5,10
	addi %r11,%r2,20
	callr %r10,R_TextureNumForName
;P_LoadSideDefs+224
	sth %r11,%r5,12
	ldbs %r3,%r2,29
	ldbz %r6,%r2,28
;P_LoadSideDefs+240
	lddzr %r7,sectors
	slli %r3,%r3,15
	slor %r3,%r3,%r6,7
;P_LoadSideDefs+256
	add %r3,%r7,%r3
	std %r3,%r5,16
	ldwzr %r3,numsides
;P_LoadSideDefs+272
	addiws %r4,%r4,1
	addi %r5,%r5,24
	addi %r2,%r2,30
;P_LoadSideDefs+288
	bwlt %r4,%r3,P_LoadSideDefs+128
	nop 0
	nop 0
;P_LoadSideDefs+304
	mov %r11,%r1
	callr %r10,W_ReleaseLumpNum
	retf 0
;P_LoadBlockMap
	alloc 8
	mov %r7,%r1
	callr %r6,W_LumpLength
;P_LoadBlockMap+16
	mov %r5,%r7
	ldi %r2,5
	mov2 %r6,%r7,%r2,%gz
;P_LoadBlockMap+32
	callr %r4,Z_Malloc
	stdr %r5,blockmaplump
	mov2 %r6,%r7,%r1,%r5
;P_LoadBlockMap+48
	callr %r5,W_ReadLump
	lddzr %r1,blockmaplump
	addi %r3,%r1,8
;P_LoadBlockMap+64
	stdr %r3,blockmap
	ldhz %r3,%r1,0
	slliw %r3,%r3,16
;P_LoadBlockMap+80
	stwr %r3,bmaporgx
	ldhz %r3,%r1,2
	slliw %r3,%r3,16
;P_LoadBlockMap+96
	stwr %r3,bmaporgy
	ldhs %r3,%r1,4
	stwr %r3,bmapwidth
;P_LoadBlockMap+112
	ldhs %r1,%r1,6
	stwr %r1,bmapheight
	mulws %r1,%r3,%r1
;P_LoadBlockMap+128
	slliw %r1,%r1,3
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%gz
;P_LoadBlockMap+144
	callr %r4,Z_Malloc
	stdr %r5,blocklinks
	sraiw %r7,%r1,0
;P_LoadBlockMap+160
	mov %r6,%gz
	callr %r4,memset
	retf 0
;P_GroupLines
	allocsp 15,16
	ldwzr %r1,numsubsectors
	bwlti %r1,1,P_GroupLines+80
;P_GroupLines+16
	mov %r2,%gz
	lddzr %r3,subsectors
	nop 0
;P_GroupLines+32
	ldhs %r4,%r3,10
	lddzr %r5,segs
	muli %r4,%r4,56
;P_GroupLines+48
	lddzx.xd %r4,%r5,%r4,0,24
	lddz %r4,%r4,16
	std %r4,%r3,0
;P_GroupLines+64
	addiws %r2,%r2,1
	addi %r3,%r3,16
	bwlt %r2,%r1,P_GroupLines+32
;P_GroupLines+80
	ldwzr %r1,numlines
	mov %r12,%gz
	lddzr %r3,lines
;P_GroupLines+96
	stwr %gz,totallines
	bwlti %r1,1,P_GroupLines+240
	mov2 %r2,%r4,%gz,%gz
;P_GroupLines+112
	addi %r3,%r3,64
	jmp P_GroupLines+144
	nop 0
;P_GroupLines+128
	addiws %r2,%r2,1
	addi %r3,%r3,88
	bwle %r1,%r2,P_GroupLines+224
;P_GroupLines+144
	lddz %r7,%r3,-8
	ldwz %r5,%r7,112
	addiws %r5,%r5,1
;P_GroupLines+160
	stw %r5,%r7,112
	lddz %r6,%r3,0
	mov %r5,%r4
;P_GroupLines+176
	addiws %r4,%r4,1
	bdeq %r6,%gz,P_GroupLines+128
	bdeq %r6,%r7,P_GroupLines+128
;P_GroupLines+192
	ldwz %r4,%r6,112
	addiws %r4,%r4,1
	stw %r4,%r6,112
;P_GroupLines+208
	addiws %r4,%r5,2
	jmp P_GroupLines+128
	nop 0
;P_GroupLines+224
	stwr %r4,totallines
	slliw %r12,%r4,3
	nop 0
;P_GroupLines+240
	ldi %r13,5
	mov %r14,%gz
	callr %r11,Z_Malloc
;P_GroupLines+256
	ldwzr %r1,numsectors
	bwlti %r1,1,P_GroupLines+368
	mov2 %r1,%r2,%gz,%gz
;P_GroupLines+272
	lddzr %r3,sectors
	nop 0
	nop 0
;P_GroupLines+288
	stdx.xd %r12,%r3,%r1,0,120
	lddzr %r3,sectors
	ldwsx.xd %r5,%r3,%r1,0,112
;P_GroupLines+304
	stwx.xd %gz,%r3,%r1,0,112
	ldwzr %r4,numsectors
	sladd %r12,%r12,%r5,3
;P_GroupLines+320
	addi %r2,%r2,1
	sraiw %r5,%r4,0
	addi %r1,%r1,128
;P_GroupLines+336
	bdlt %r2,%r5,P_GroupLines+288
	cmpwgti %r1,%r4,0
	ldwzr %r3,numlines
;P_GroupLines+352
	bwgei %r3,1,P_GroupLines+384
	jmp P_GroupLines+528
	nop 0
;P_GroupLines+368
	mov %r1,%gz
	ldwzr %r3,numlines
	bwlti %r3,1,P_GroupLines+528
;P_GroupLines+384
	mov %r2,%gz
	srliw %r3,%r3,0
	muli %r3,%r3,88
;P_GroupLines+400
	jmp P_GroupLines+432
	nop 0
	nop 0
;P_GroupLines+416
	addi %r2,%r2,88
	bdeq %r3,%r2,P_GroupLines+528
	nop 0
;P_GroupLines+432
	lddzr %r6,lines
	lddzx.xd %r5,%r6,%r2,0,56
	add %r4,%r6,%r2
;P_GroupLines+448
	bdeq %r5,%gz,P_GroupLines+480
	lddz %r7,%r5,120
	ldwz %r8,%r5,112
;P_GroupLines+464
	stdx.xw %r4,%r7,%r8,3,0
	addiws %r7,%r8,1
	stw %r7,%r5,112
;P_GroupLines+480
	lddzx.xd %r6,%r6,%r2,0,64
	bdeq %r6,%gz,P_GroupLines+416
	bdeq %r5,%r6,P_GroupLines+416
;P_GroupLines+496
	lddz %r5,%r6,120
	ldwz %r7,%r6,112
	stdx.xw %r4,%r5,%r7,3,0
;P_GroupLines+512
	addiws %r4,%r7,1
	stw %r4,%r6,112
	jmp P_GroupLines+416
;P_GroupLines+528
	bbci %r1,0,P_GroupLines+976
	mov %r3,%gz
	lddzr %r4,sectors
;P_GroupLines+544
	addi %r1,%sp,0
	jmp P_GroupLines+848
	nop 0
;P_GroupLines+560
	ldwz %r2,%sp,12
	ldwz %r5,%sp,8
	addws %r6,%r5,%r2
;P_GroupLines+576
	srliw %r7,%r6,31
	addws %r6,%r6,%r7
	sraiw %r6,%r6,1
;P_GroupLines+592
	stw %r6,%r4,72
	ldwz %r6,%sp,0
	ldwz %r7,%sp,4
;P_GroupLines+608
	addws %r8,%r7,%r6
	srliw %r9,%r8,31
	addws %r8,%r8,%r9
;P_GroupLines+624
	sraiw %r8,%r8,1
	stw %r8,%r4,76
	ldwzr %r8,bmaporgy
;P_GroupLines+640
	ldwzr %r9,bmapheight
	subws %r6,%r6,%r8
	nop 2
;P_GroupLines+656
	addiws.l %r6,%r6,2097152
	sraiw %r6,%r6,23
;P_GroupLines+672
	cmpwlt %r10,%r6,%r9
	addiws %r9,%r9,-1
	cmovlsb %r6,%r10,%r6,%r9
;P_GroupLines+688
	stw %r6,%r4,32
	subws %r6,%r7,%r8
	nop 2
;P_GroupLines+704
	addiws.l %r6,%r6,-2097152
	sraiw %r6,%r6,23
;P_GroupLines+720
	maxsw %r6,%r6,%gz
	stw %r6,%r4,36
	ldwzr %r6,bmaporgx
;P_GroupLines+736
	ldwzr %r7,bmapwidth
	subws %r2,%r2,%r6
	nop 2
;P_GroupLines+752
	addiws.l %r2,%r2,2097152
	sraiw %r2,%r2,23
;P_GroupLines+768
	cmpwlt %r8,%r2,%r7
	addiws %r7,%r7,-1
	cmovlsb %r2,%r8,%r2,%r7
;P_GroupLines+784
	stw %r2,%r4,44
	subws %r2,%r5,%r6
	nop 2
;P_GroupLines+800
	addiws.l %r2,%r2,-2097152
	sraiw %r2,%r2,23
;P_GroupLines+816
	maxsw %r2,%r2,%gz
	stw %r2,%r4,40
	ldwzr %r2,numsectors
;P_GroupLines+832
	addiws %r3,%r3,1
	addi %r4,%r4,128
	bwle %r2,%r3,P_GroupLines+976
;P_GroupLines+848
	mov %r14,%r1
	callr %r13,M_ClearBox
	ldwz %r2,%r4,112
;P_GroupLines+864
	bwlti %r2,1,P_GroupLines+560
	mov2 %r5,%r6,%gz,%gz
	nop 0
;P_GroupLines+880
	lddz %r2,%r4,120
	lddzx.xd %r7,%r2,%r5,0,0
	lddz %r2,%r7,0
;P_GroupLines+896
	ldwz %r13,%r2,0
	ldwz %r14,%r2,4
	mov %r12,%r1
;P_GroupLines+912
	callr %r11,M_AddToBox
	lddz %r2,%r7,8
	ldwz %r13,%r2,0
;P_GroupLines+928
	ldwz %r14,%r2,4
	mov %r12,%r1
	callr %r11,M_AddToBox
;P_GroupLines+944
	ldws %r2,%r4,112
	addi %r6,%r6,1
	addi %r5,%r5,8
;P_GroupLines+960
	bdlt %r6,%r2,P_GroupLines+880
	jmp P_GroupLines+560
	nop 0
;P_GroupLines+976
	retf 16
	nop 0
	nop 0
;P_SetupLevel
	allocsp 15,48
	mov %r3,%gz
	stwr %gz,wminfo+28
;P_SetupLevel+16
	stwr %gz,totalsecret
	stwr %gz,totalitems
	stwr %gz,totalkills
;P_SetupLevel+32
	ldi %r4,180
	stwr %r4,wminfo+32
	ldafr %r4,players+216
;P_SetupLevel+48
	ldafr %r5,players+224
	nop 0
	nop 0
;P_SetupLevel+64
	stdx.xd %gz,%r3,%r4,0,0
	stwx.xd %gz,%r3,%r5,0,0
	addi %r3,%r3,328
;P_SetupLevel+80
	bdnei.l %r3,1312,P_SetupLevel+64
	ldwsr %r3,consoleplayer
;P_SetupLevel+96
	muli %r3,%r3,328
	ldafr %r4,players+28
	ldi %r5,1
;P_SetupLevel+112
	stwx.xd %r5,%r3,%r4,0,0
	callr %r14,S_Start
	ldi %r13,5
;P_SetupLevel+128
	ldi %r14,6
	callr %r12,Z_FreeTags
	callr %r14,P_InitThinkers
;P_SetupLevel+144
	ldwzr %r3,gamemode
	bwnei %r3,2,P_SetupLevel+176
	bwgei %r2,10,P_SetupLevel+240
;P_SetupLevel+160
	ldafr %r14,.rodata+22100
	jmp P_SetupLevel+256
	nop 0
;P_SetupLevel+176
	ldi %r3,69
	stb %r3,%sp,23
	addiws %r1,%r1,48
;P_SetupLevel+192
	stb %r1,%sp,24
	ldi %r1,77
	stb %r1,%sp,25
;P_SetupLevel+208
	addiws %r1,%r2,48
	stb %r1,%sp,26
	stb %gz,%sp,27
;P_SetupLevel+224
	jmp P_SetupLevel+288
	nop 0
	nop 0
;P_SetupLevel+240
	ldafr %r14,.rodata+5763
	nop 0
	nop 0
;P_SetupLevel+256
	addi %r12,%sp,23
	ldi %r13,9
	stw %r2,%sp,0
;P_SetupLevel+272
	callr %r11,snprintf
	nop 0
	nop 0
;P_SetupLevel+288
	addi %r14,%sp,23
	callr %r13,W_GetNumForName
	mov %r1,%r14
;P_SetupLevel+304
	stwr %gz,leveltime
	addiws %r14,%r14,10
	callr %r13,P_LoadBlockMap
;P_SetupLevel+320
	addiws %r14,%r1,4
	callr %r13,P_LoadVertexes
	addiws %r14,%r1,8
;P_SetupLevel+336
	callr %r13,P_LoadSectors
	addiws %r14,%r1,3
	callr %r13,P_LoadSideDefs
;P_SetupLevel+352
	addiws %r14,%r1,2
	callr %r13,P_LoadLineDefs
	addiws %r14,%r1,6
;P_SetupLevel+368
	callr %r13,P_LoadSubsectors
	addiws %r14,%r1,7
	callr %r13,P_LoadNodes
;P_SetupLevel+384
	addiws %r14,%r1,5
	callr %r13,P_LoadSegs
	callr %r14,P_GroupLines
;P_SetupLevel+400
	ldwzr %r2,numsectors
	addiws %r4,%r1,9
	mulws %r2,%r2,%r2
;P_SetupLevel+416
	addiws %r2,%r2,7
	srliw %r2,%r2,3
	mov %r14,%r4
;P_SetupLevel+432
	callr %r13,W_LumpLength
	bwle %r2,%r14,P_SetupLevel+704
	mov %r3,%r14
;P_SetupLevel+448
	ldafr %r14,rejectmatrix
	ldi %r13,5
	mov %r12,%r2
;P_SetupLevel+464
	callr %r11,Z_Malloc
	stdr %r12,rejectmatrix
	mov2 %r13,%r14,%r4,%r12
;P_SetupLevel+480
	callr %r12,W_ReadLump
	lddzr %r4,rejectmatrix
	ldax.xw %r4,%r4,%r3,0,0
;P_SetupLevel+496
	ldwzr %r6,totallines
	mov %r5,%gz
	ldi %r7,24
;P_SetupLevel+512
	subws %r2,%r2,%r3
	sladdws %r3,%r7,%r6,2
	stw %r3,%sp,32
;P_SetupLevel+528
	stw %gz,%sp,36
	ldi %r3,50
	stw %r3,%sp,40
;P_SetupLevel+544
	ldi %r3,1919505
	stw %r3,%sp,44
	ldi %r3,16
;P_SetupLevel+560
	minuw %r6,%r2,%r3
	addi %r7,%sp,32
	mov %r8,%r4
;P_SetupLevel+576
	andi %r9,%r5,-4
	ldwzx.xuw %r9,%r7,%r9,0,0
	slliw %r10,%r5,3
;P_SetupLevel+592
	andi %r10,%r10,24
	srlw %r9,%r9,%r10
	stb %r9,%r8,0
;P_SetupLevel+608
	addiws %r5,%r5,1
	addi %r8,%r8,1
	bwltu %r5,%r6,P_SetupLevel+576
;P_SetupLevel+624
	bwltui %r2,17,P_SetupLevel+736
	srliw %r5,%r2,0
	lddzr %r13,stderr
;P_SetupLevel+640
	stw %r3,%sp,4
	ldafr %r14,.rodata+2705
	stw %r2,%sp,0
;P_SetupLevel+656
	callr %r12,fprintf
	ldafr %r14,.rodata+11874
	callr %r13,M_CheckParm
;P_SetupLevel+672
	cmpwnei %r2,%r14,0
	addi %r12,%r4,16
	addi %r14,%r5,-16
;P_SetupLevel+688
	slsrai %r13,%r2,63,63
	callr %r11,memset
	jmp P_SetupLevel+736
;P_SetupLevel+704
	ldi %r14,5
	mov %r13,%r4
	callr %r12,W_CacheLumpNum
;P_SetupLevel+720
	stdr %r13,rejectmatrix
	nop 0
	nop 0
;P_SetupLevel+736
	stwr %gz,bodyqueslot
	ldafr %r2,deathmatchstarts
	stdr %r2,deathmatch_p
;P_SetupLevel+752
	addiws %r14,%r1,1
	callr %r13,P_LoadThings
	ldwzr %r1,deathmatch
;P_SetupLevel+768
	bweq %r1,%gz,P_SetupLevel+864
	mov %r1,%gz
	ldafr %r3,players
;P_SetupLevel+784
	ldafr %r4,playeringame
	jmp P_SetupLevel+832
	nop 0
;P_SetupLevel+800
	addi %r1,%r1,1
	addi %r3,%r3,328
	addi %r4,%r4,4
;P_SetupLevel+816
	bdeqi %r1,4,P_SetupLevel+864
	nop 0
	nop 0
;P_SetupLevel+832
	ldwz %r2,%r4,0
	bweq %r2,%gz,P_SetupLevel+800
	std %gz,%r3,0
;P_SetupLevel+848
	mov %r14,%r1
	callr %r13,G_DeathMatchSpawnPlayer
	jmp P_SetupLevel+800
;P_SetupLevel+864
	stwr %gz,iquetail
	stwr %gz,iquehead
	callr %r14,P_SpawnSpecials
;P_SetupLevel+880
	ldwzr %r1,precache
	bweq %r1,%gz,P_SetupLevel+896
	callr %r14,R_PrecacheLevel
;P_SetupLevel+896
	retf 48
	nop 0
	nop 0
;P_Init
	alloc 3
	callr %r2,P_InitSwitchList
	callr %r2,P_InitPicAnims
;P_Init+16
	ldafr %r2,sprnames
	callr %r1,R_InitSprites
	retf 0
;P_DivlineSide
	alloc 7
	ldwz %r4,%r3,8
	bweq %r4,%gz,P_DivlineSide+128
;P_DivlineSide+16
	ldwz %r5,%r3,12
	bweq %r5,%gz,P_DivlineSide+160
	ldwz %r6,%r3,0
;P_DivlineSide+32
	ldwz %r3,%r3,4
	subws %r1,%r1,%r6
	subws %r3,%r2,%r3
;P_DivlineSide+48
	sraiw %r2,%r5,16
	sraiw %r1,%r1,16
	mulws %r2,%r1,%r2
;P_DivlineSide+64
	sraiw %r1,%r3,16
	sraiw %r3,%r4,16
	mulws %r3,%r1,%r3
;P_DivlineSide+80
	mov %r1,%gz
	bwlt %r3,%r2,P_DivlineSide+112
	cmpweq %r1,%r2,%r3
;P_DivlineSide+96
	ldi %r2,1
	ldi %r3,2
	cmovlsb %r1,%r1,%r3,%r2
;P_DivlineSide+112
	retf 0
	nop 0
	nop 0
;P_DivlineSide+128
	ldwz %r4,%r3,0
	bwne %r1,%r4,P_DivlineSide+192
	ldi %r1,2
;P_DivlineSide+144
	retf 0
	nop 0
	nop 0
;P_DivlineSide+160
	ldwz %r3,%r3,4
	bwne %r1,%r3,P_DivlineSide+224
	ldi %r1,2
;P_DivlineSide+176
	retf 0
	nop 0
	nop 0
;P_DivlineSide+192
	ldwz %r2,%r3,12
	bwle %r1,%r4,P_DivlineSide+240
	srliw %r1,%r2,31
;P_DivlineSide+208
	retf 0
	nop 0
	nop 0
;P_DivlineSide+224
	bwle %r2,%r3,P_DivlineSide+256
	cmpwgti %r1,%r4,0
	retf 0
;P_DivlineSide+240
	cmpwgti %r1,%r2,0
	retf 0
	nop 0
;P_DivlineSide+256
	srliw %r1,%r4,31
	retf 0
	nop 0
;P_InterceptVector2
	alloc 12
	ldwz %r3,%r2,12
	ldws %r5,%r1,8
;P_InterceptVector2+16
	sraiw %r6,%r3,8
	ldwz %r4,%r2,8
	ldws %r7,%r1,12
;P_InterceptVector2+32
	mul %r5,%r5,%r6
	srli %r5,%r5,16
	sraiw %r6,%r4,8
;P_InterceptVector2+48
	mul %r6,%r7,%r6
	srli %r6,%r6,16
	mov %r10,%gz
;P_InterceptVector2+64
	bweq %r5,%r6,P_InterceptVector2+160
	ldwz %r7,%r2,0
	ldwz %r8,%r1,0
;P_InterceptVector2+80
	subws %r11,%r5,%r6
	subws %r5,%r7,%r8
	sraiw %r5,%r5,8
;P_InterceptVector2+96
	ldwz %r1,%r1,4
	ldwz %r2,%r2,4
	sraiw %r3,%r3,0
;P_InterceptVector2+112
	mul %r3,%r5,%r3
	srli %r3,%r3,16
	subws %r1,%r1,%r2
;P_InterceptVector2+128
	sraiw %r1,%r1,8
	sraiw %r2,%r4,0
	mul %r1,%r1,%r2
;P_InterceptVector2+144
	srli %r1,%r1,16
	addws %r10,%r1,%r3
	callr %r9,FixedDiv
;P_InterceptVector2+160
	mov %r1,%r10
	retf 0
	nop 0
;P_CrossSubsector
	allocsp 17,32
	ldwzr %r2,numsubsectors
	bwlt %r1,%r2,P_CrossSubsector+48
;P_CrossSubsector+16
	stw %r2,%sp,4
	ldafr %r16,.rodata+17695
	stw %r1,%sp,0
;P_CrossSubsector+32
	callr %r15,I_Error
	nop 0
	nop 0
;P_CrossSubsector+48
	lddzr %r3,subsectors
	ldax.xw %r2,%r3,%r1,4,0
	ldhsx.xw %r10,%r3,%r1,4,8
;P_CrossSubsector+64
	ldi %r1,1
	bweq %r10,%gz,P_CrossSubsector+576
	ldhs %r2,%r2,10
;P_CrossSubsector+80
	lddzr %r3,segs
	muli %r2,%r2,56
	ldax.xd %r11,%r2,%r3,0,48
;P_CrossSubsector+96
	ldafr %r2,strace
	addi %r3,%sp,16
	jmp P_CrossSubsector+160
;P_CrossSubsector+112
	ldwzr %r4,topslope
	nop 0
	nop 0
;P_CrossSubsector+128
	ldwzr %r5,bottomslope
	bwle %r4,%r5,P_CrossSubsector+592
	nop 0
;P_CrossSubsector+144
	addiws %r10,%r10,-1
	addi %r11,%r11,56
	bweq %r10,%gz,P_CrossSubsector+576
;P_CrossSubsector+160
	lddz %r12,%r11,-16
	ldwz %r5,%r12,72
	ldwzr %r4,validcount
;P_CrossSubsector+176
	bweq %r5,%r4,P_CrossSubsector+144
	stw %r4,%r12,72
	lddz %r4,%r12,0
;P_CrossSubsector+192
	lddz %r9,%r12,8
	ldwz %r5,%r4,0
	ldwz %r4,%r4,4
;P_CrossSubsector+208
	mov2 %r14,%r15,%r5,%r4
	mov %r16,%r2
	callr %r13,P_DivlineSide
;P_CrossSubsector+224
	mov %r8,%r14
	ldwz %r7,%r9,0
	ldwz %r6,%r9,4
;P_CrossSubsector+240
	mov2 %r14,%r15,%r7,%r6
	mov %r16,%r2
	callr %r13,P_DivlineSide
;P_CrossSubsector+256
	bweq %r8,%r14,P_CrossSubsector+144
	stw %r5,%sp,16
	stw %r4,%sp,20
;P_CrossSubsector+272
	subws %r5,%r7,%r5
	stw %r5,%sp,24
	subws %r4,%r6,%r4
;P_CrossSubsector+288
	stw %r4,%sp,28
	ldwzr %r14,strace
	ldwzr %r15,strace+4
;P_CrossSubsector+304
	mov %r16,%r3
	callr %r13,P_DivlineSide
	mov %r4,%r14
;P_CrossSubsector+320
	ldwzr %r14,t2x
	ldwzr %r15,t2y
	mov %r16,%r3
;P_CrossSubsector+336
	callr %r13,P_DivlineSide
	bweq %r4,%r14,P_CrossSubsector+144
	lddz %r4,%r12,64
;P_CrossSubsector+352
	bdeq %r4,%gz,P_CrossSubsector+592
	ldbz %r4,%r12,24
	bbci %r4,2,P_CrossSubsector+592
;P_CrossSubsector+368
	lddz %r6,%r11,-8
	lddz %r7,%r11,0
	ldwz %r4,%r6,0
;P_CrossSubsector+384
	ldwz %r5,%r7,0
	ldwz %r8,%r6,4
	ldwz %r9,%r7,4
;P_CrossSubsector+400
	bwne %r4,%r5,P_CrossSubsector+416
	bweq %r8,%r9,P_CrossSubsector+144
	nop 0
;P_CrossSubsector+416
	minsw %r8,%r8,%r9
	maxsw %r5,%r4,%r5
	bwle %r8,%r5,P_CrossSubsector+592
;P_CrossSubsector+432
	mov2 %r15,%r16,%r2,%r3
	callr %r14,P_InterceptVector2
	ldwz %r9,%r6,0
;P_CrossSubsector+448
	ldwz %r12,%r7,0
	mov %r4,%r15
	bweq %r9,%r12,P_CrossSubsector+512
;P_CrossSubsector+464
	ldwzr %r9,sightzstart
	subws %r15,%r5,%r9
	mov %r16,%r4
;P_CrossSubsector+480
	callr %r14,FixedDiv
	ldwzr %r5,bottomslope
	bwle %r15,%r5,P_CrossSubsector+512
;P_CrossSubsector+496
	stwr %r15,bottomslope
	nop 0
	nop 0
;P_CrossSubsector+512
	ldwz %r5,%r6,4
	ldwz %r6,%r7,4
	bweq %r5,%r6,P_CrossSubsector+112
;P_CrossSubsector+528
	ldwzr %r5,sightzstart
	subws %r15,%r8,%r5
	mov %r16,%r4
;P_CrossSubsector+544
	callr %r14,FixedDiv
	ldwzr %r4,topslope
	bwle %r4,%r15,P_CrossSubsector+128
;P_CrossSubsector+560
	stwr %r15,topslope
	mov %r4,%r15
	jmp P_CrossSubsector+128
;P_CrossSubsector+576
	retf 32
	nop 0
	nop 0
;P_CrossSubsector+592
	mov %r1,%gz
	retf 32
	nop 0
;P_CrossBSPNode
	alloc 10
	bbsi %r1,15,P_CrossBSPNode+144
	lddzr %r5,nodes
;P_CrossBSPNode+16
	sraiw %r1,%r1,0
	ldi %r2,52
	muladd %r3,%r1,%r2,%r5
;P_CrossBSPNode+32
	muli %r1,%r1,52
	ldwzr %r7,strace
	ldwzr %r8,strace+4
;P_CrossBSPNode+48
	mov %r9,%r3
	callr %r6,P_DivlineSide
	cmpweqi %r2,%r7,2
;P_CrossBSPNode+64
	cmovlsb %r4,%r2,%gz,%r7
	ldax.xd %r5,%r5,%r1,0,48
	ldhzx.xuw %r9,%r3,%r4,1,48
;P_CrossBSPNode+80
	callr %r8,P_CrossBSPNode
	mov %r1,%gz
	bweq %r9,%gz,P_CrossBSPNode+224
;P_CrossBSPNode+96
	ldwzr %r7,t2x
	ldwzr %r8,t2y
	mov %r9,%r3
;P_CrossBSPNode+112
	callr %r6,P_DivlineSide
	bwne %r4,%r7,P_CrossBSPNode+192
	ldi %r1,1
;P_CrossBSPNode+128
	retf 0
	nop 0
	nop 0
;P_CrossBSPNode+144
	bweqi %r1,-1,P_CrossBSPNode+176
	andi %r9,%r1,-32769
	callr %r8,P_CrossSubsector
;P_CrossBSPNode+160
	jmp P_CrossBSPNode+208
	nop 0
	nop 0
;P_CrossBSPNode+176
	mov %r9,%gz
	callr %r8,P_CrossSubsector
	jmp P_CrossBSPNode+208
;P_CrossBSPNode+192
	xori %r1,%r4,1
	ldhzx.xuw %r9,%r5,%r1,1,0
	callr %r8,P_CrossBSPNode
;P_CrossBSPNode+208
	mov %r1,%r9
	nop 0
	nop 0
;P_CrossBSPNode+224
	retf 0
	nop 0
	nop 0
;P_CheckSight
	alloc 9
	lddz %r3,%r1,88
	lddz %r3,%r3,0
;P_CheckSight+16
	lddz %r4,%r2,88
	lddzr %r5,sectors
	lddz %r4,%r4,0
;P_CheckSight+32
	sub %r3,%r3,%r5
	srli %r3,%r3,7
	ldwzr %r6,numsectors
;P_CheckSight+48
	sub %r4,%r4,%r5
	srli %r4,%r4,7
	lddzr %r5,rejectmatrix
;P_CheckSight+64
	mulws %r3,%r6,%r3
	addws %r3,%r3,%r4
	sraiw %r4,%r3,3
;P_CheckSight+80
	ldbzx.xw %r4,%r5,%r4,0,0
	andi %r3,%r3,7
	bbc %r4,%r3,P_CheckSight+128
;P_CheckSight+96
	ldwzr %r2,sightcounts
	mov %r1,%gz
	addiws %r2,%r2,1
;P_CheckSight+112
	stwr %r2,sightcounts
	retf 0
	nop 0
;P_CheckSight+128
	ldwzr %r3,sightcounts+4
	ldwzr %r4,validcount
	addiws %r3,%r3,1
;P_CheckSight+144
	stwr %r3,sightcounts+4
	addiws %r3,%r4,1
	stwr %r3,validcount
;P_CheckSight+160
	ldwz %r3,%r1,32
	ldwz %r4,%r1,108
	addws %r3,%r4,%r3
;P_CheckSight+176
	sraiw %r4,%r4,2
	subws %r3,%r3,%r4
	stwr %r3,sightzstart
;P_CheckSight+192
	ldwz %r4,%r2,32
	ldwz %r5,%r2,108
	subws %r3,%r4,%r3
;P_CheckSight+208
	addws %r4,%r3,%r5
	stwr %r4,topslope
	stwr %r3,bottomslope
;P_CheckSight+224
	ldwz %r3,%r1,24
	stwr %r3,strace
	ldwz %r1,%r1,28
;P_CheckSight+240
	stwr %r1,strace+4
	ldwz %r4,%r2,24
	stwr %r4,t2x
;P_CheckSight+256
	ldwz %r2,%r2,28
	stwr %r2,t2y
	subws %r3,%r4,%r3
;P_CheckSight+272
	ldwzr %r4,numnodes
	stwr %r3,strace+8
	subws %r1,%r2,%r1
;P_CheckSight+288
	stwr %r1,strace+12
	addiws %r8,%r4,-1
	callr %r7,P_CrossBSPNode
;P_CheckSight+304
	mov %r1,%r8
	retf 0
	nop 0
;P_InitPicAnims
	allocsp 10,16
	ldwzr %r4,animdefs
	ldafr %r1,anims
;P_InitPicAnims+16
	stdr %r1,lastanim
	bweqi %r4,-1,P_InitPicAnims+304
	ldafr %r5,animdefs+28
;P_InitPicAnims+32
	ldafr %r1,.rodata+10971
	jmp P_InitPicAnims+96
	nop 0
;P_InitPicAnims+48
	ldwz %r2,%r5,-4
	stw %r2,%r4,16
	addi %r2,%r4,20
;P_InitPicAnims+64
	stdr %r2,lastanim
	nop 0
	nop 0
;P_InitPicAnims+80
	ldwz %r4,%r5,0
	addi %r5,%r5,28
	bweqi %r4,-1,P_InitPicAnims+304
;P_InitPicAnims+96
	addi %r2,%r5,-15
	addi %r3,%r5,-24
	mov %r9,%r2
;P_InitPicAnims+112
	bweq %r4,%gz,P_InitPicAnims+176
	callr %r8,R_CheckTextureNumForName
	bweqi %r9,-1,P_InitPicAnims+80
;P_InitPicAnims+128
	mov %r9,%r3
	callr %r8,R_TextureNumForName
	lddzr %r4,lastanim
;P_InitPicAnims+144
	stw %r9,%r4,4
	mov %r9,%r2
	callr %r8,R_TextureNumForName
;P_InitPicAnims+160
	jmp P_InitPicAnims+224
	nop 0
	nop 0
;P_InitPicAnims+176
	callr %r8,W_CheckNumForName
	bweqi %r9,-1,P_InitPicAnims+80
	mov %r9,%r3
;P_InitPicAnims+192
	callr %r8,R_FlatNumForName
	lddzr %r4,lastanim
	stw %r9,%r4,4
;P_InitPicAnims+208
	mov %r9,%r2
	callr %r8,R_FlatNumForName
	nop 0
;P_InitPicAnims+224
	lddzr %r4,lastanim
	stw %r9,%r4,8
	ldwz %r6,%r5,-28
;P_InitPicAnims+240
	stw %r6,%r4,0
	ldwz %r6,%r4,4
	subws %r6,%r6,%r9
;P_InitPicAnims+256
	addiws %r7,%r6,1
	stw %r7,%r4,12
	bwlt %gz,%r6,P_InitPicAnims+48
;P_InitPicAnims+272
	std %r3,%sp,8
	std %r2,%sp,0
	mov %r9,%r1
;P_InitPicAnims+288
	callr %r8,I_Error
	lddzr %r4,lastanim
	jmp P_InitPicAnims+48
;P_InitPicAnims+304
	retf 16
	nop 0
	nop 0
;getSide
	alloc 5
	lddzr %r4,sectors
	lddzx.xw %r1,%r4,%r1,7,120
;getSide+16
	lddzx.xw %r1,%r1,%r2,3,0
	lddzr %r2,sides
	ldhsx.xw %r1,%r1,%r3,1,30
;getSide+32
	ldi %r3,24
	muladd %r1,%r1,%r3,%r2
	retf 0
;getSector
	alloc 5
	lddzr %r4,sectors
	lddzx.xw %r1,%r4,%r1,7,120
;getSector+16
	lddzx.xw %r1,%r1,%r2,3,0
	ldhsx.xw %r1,%r1,%r3,1,30
	lddzr %r2,sides
;getSector+32
	muli %r1,%r1,24
	lddzx.xd %r1,%r2,%r1,0,16
	retf 0
;twoSided
	alloc 4
	lddzr %r3,sectors
	lddzx.xw %r1,%r3,%r1,7,120
;twoSided+16
	lddzx.xw %r1,%r1,%r2,3,0
	ldhz %r1,%r1,24
	andi %r1,%r1,4
;twoSided+32
	retf 0
	nop 0
	nop 0
;getNextSector
	alloc 5
	ldbz %r4,%r1,24
	mov %r3,%gz
;getNextSector+16
	bbci %r4,2,getNextSector+32
	lddz %r3,%r1,56
	bdeq %r3,%r2,getNextSector+48
;getNextSector+32
	mov %r1,%r3
	retf 0
	nop 0
;getNextSector+48
	lddz %r3,%r1,64
	mov %r1,%r3
	retf 0
;P_FindLowestFloorSurrounding
	alloc 7
	mov %r2,%r1
	ldwz %r4,%r1,112
;P_FindLowestFloorSurrounding+16
	ldwz %r1,%r1,0
	bwlti %r4,1,P_FindLowestFloorSurrounding+144
	lddz %r3,%r2,120
;P_FindLowestFloorSurrounding+32
	srliw %r4,%r4,0
	jmp P_FindLowestFloorSurrounding+64
	nop 0
;P_FindLowestFloorSurrounding+48
	addi %r4,%r4,-1
	addi %r3,%r3,8
	bdeq %r4,%gz,P_FindLowestFloorSurrounding+144
;P_FindLowestFloorSurrounding+64
	lddz %r6,%r3,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindLowestFloorSurrounding+48
;P_FindLowestFloorSurrounding+80
	lddz %r5,%r6,56
	bdeq %r5,%r2,P_FindLowestFloorSurrounding+112
	bdne %r5,%gz,P_FindLowestFloorSurrounding+128
;P_FindLowestFloorSurrounding+96
	jmp P_FindLowestFloorSurrounding+48
	nop 0
	nop 0
;P_FindLowestFloorSurrounding+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindLowestFloorSurrounding+48
	nop 0
;P_FindLowestFloorSurrounding+128
	ldwz %r5,%r5,0
	minsw %r1,%r5,%r1
	jmp P_FindLowestFloorSurrounding+48
;P_FindLowestFloorSurrounding+144
	retf 0
	nop 0
	nop 0
;P_FindHighestFloorSurrounding
	alloc 7
	ldwz %r2,%r1,112
	bwlti %r2,1,P_FindHighestFloorSurrounding+160
;P_FindHighestFloorSurrounding+16
	lddz %r3,%r1,120
	srliw %r4,%r2,0
	ldi %r2,-32768000
;P_FindHighestFloorSurrounding+32
	jmp P_FindHighestFloorSurrounding+64
	nop 0
	nop 0
;P_FindHighestFloorSurrounding+48
	addi %r4,%r4,-1
	addi %r3,%r3,8
	bdeq %r4,%gz,P_FindHighestFloorSurrounding+144
;P_FindHighestFloorSurrounding+64
	lddz %r6,%r3,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindHighestFloorSurrounding+48
;P_FindHighestFloorSurrounding+80
	lddz %r5,%r6,56
	bdeq %r5,%r1,P_FindHighestFloorSurrounding+112
	bdne %r5,%gz,P_FindHighestFloorSurrounding+128
;P_FindHighestFloorSurrounding+96
	jmp P_FindHighestFloorSurrounding+48
	nop 0
	nop 0
;P_FindHighestFloorSurrounding+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindHighestFloorSurrounding+48
	nop 0
;P_FindHighestFloorSurrounding+128
	ldwz %r5,%r5,0
	maxsw %r2,%r5,%r2
	jmp P_FindHighestFloorSurrounding+48
;P_FindHighestFloorSurrounding+144
	mov %r1,%r2
	retf 0
	nop 0
;P_FindHighestFloorSurrounding+160
	ldi %r1,-32768000
	retf 0
	nop 0
;P_FindNextHighestFloor
	allocsp 14,96
	mov %r3,%r1
	ldwz %r4,%r1,112
;P_FindNextHighestFloor+16
	mov %r1,%r2
	bwlti %r4,1,P_FindNextHighestFloor+304
	mov2 %r6,%r7,%gz,%gz
;P_FindNextHighestFloor+32
	mov %r5,%gz
	addi %r8,%sp,8
	ldafr %r2,.rodata+22594
;P_FindNextHighestFloor+48
	mov %r9,%r1
	jmp P_FindNextHighestFloor+128
	nop 0
;P_FindNextHighestFloor+64
	mov %r9,%r10
	nop 0
	nop 0
;P_FindNextHighestFloor+80
	addiws %r11,%r5,1
	stwx.xw %r10,%r8,%r5,2,0
	mov %r5,%r11
;P_FindNextHighestFloor+96
	addi %r7,%r7,1
	sraiw %r10,%r4,0
	addi %r6,%r6,8
;P_FindNextHighestFloor+112
	bdle %r10,%r7,P_FindNextHighestFloor+240
	nop 0
	nop 0
;P_FindNextHighestFloor+128
	lddz %r10,%r3,120
	lddzx.xd %r10,%r10,%r6,0,0
	ldbz %r11,%r10,24
;P_FindNextHighestFloor+144
	bbci %r11,2,P_FindNextHighestFloor+96
	lddz %r11,%r10,56
	bdeq %r11,%r3,P_FindNextHighestFloor+176
;P_FindNextHighestFloor+160
	bdne %r11,%gz,P_FindNextHighestFloor+192
	jmp P_FindNextHighestFloor+96
	nop 0
;P_FindNextHighestFloor+176
	lddz %r11,%r10,64
	bdeq %r11,%gz,P_FindNextHighestFloor+96
	nop 0
;P_FindNextHighestFloor+192
	ldwz %r10,%r11,0
	bwle %r10,%r9,P_FindNextHighestFloor+96
	bweqi %r5,21,P_FindNextHighestFloor+64
;P_FindNextHighestFloor+208
	bwnei %r5,22,P_FindNextHighestFloor+80
	mov %r13,%r2
	callr %r12,I_Error
;P_FindNextHighestFloor+224
	ldwz %r10,%r11,0
	ldwz %r4,%r3,112
	jmp P_FindNextHighestFloor+80
;P_FindNextHighestFloor+240
	bweq %r5,%gz,P_FindNextHighestFloor+304
	ldwz %r1,%sp,8
	bwlti %r5,2,P_FindNextHighestFloor+304
;P_FindNextHighestFloor+256
	srliw %r3,%r5,0
	addi %r2,%sp,12
	addi %r3,%r3,-1
;P_FindNextHighestFloor+272
	ldwz %r4,%r2,0
	minsw %r1,%r4,%r1
	addi %r3,%r3,-1
;P_FindNextHighestFloor+288
	addi %r2,%r2,4
	bdne %r3,%gz,P_FindNextHighestFloor+272
	nop 0
;P_FindNextHighestFloor+304
	retf 96
	nop 0
	nop 0
;P_FindLowestCeilingSurrounding
	alloc 7
	ldwz %r2,%r1,112
	bwlti %r2,1,P_FindLowestCeilingSurrounding+160
;P_FindLowestCeilingSurrounding+16
	lddz %r3,%r1,120
	srliw %r4,%r2,0
	nop 2
;P_FindLowestCeilingSurrounding+32
	ldi.l %r2,2147483647
	jmp P_FindLowestCeilingSurrounding+64
;P_FindLowestCeilingSurrounding+48
	addi %r4,%r4,-1
	addi %r3,%r3,8
	bdeq %r4,%gz,P_FindLowestCeilingSurrounding+144
;P_FindLowestCeilingSurrounding+64
	lddz %r6,%r3,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindLowestCeilingSurrounding+48
;P_FindLowestCeilingSurrounding+80
	lddz %r5,%r6,56
	bdeq %r5,%r1,P_FindLowestCeilingSurrounding+112
	bdne %r5,%gz,P_FindLowestCeilingSurrounding+128
;P_FindLowestCeilingSurrounding+96
	jmp P_FindLowestCeilingSurrounding+48
	nop 0
	nop 0
;P_FindLowestCeilingSurrounding+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindLowestCeilingSurrounding+48
	nop 0
;P_FindLowestCeilingSurrounding+128
	ldwz %r5,%r5,4
	minsw %r2,%r5,%r2
	jmp P_FindLowestCeilingSurrounding+48
;P_FindLowestCeilingSurrounding+144
	mov %r1,%r2
	retf 0
	nop 0
;P_FindLowestCeilingSurrounding+160
	ldi.l %r1,2147483647
	retf 0
;P_FindHighestCeilingSurrounding
	alloc 7
	ldwz %r4,%r1,112
	bwlti %r4,1,P_FindHighestCeilingSurrounding+160
;P_FindHighestCeilingSurrounding+16
	mov %r2,%gz
	lddz %r3,%r1,120
	srliw %r4,%r4,0
;P_FindHighestCeilingSurrounding+32
	jmp P_FindHighestCeilingSurrounding+64
	nop 0
	nop 0
;P_FindHighestCeilingSurrounding+48
	addi %r4,%r4,-1
	addi %r3,%r3,8
	bdeq %r4,%gz,P_FindHighestCeilingSurrounding+144
;P_FindHighestCeilingSurrounding+64
	lddz %r6,%r3,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindHighestCeilingSurrounding+48
;P_FindHighestCeilingSurrounding+80
	lddz %r5,%r6,56
	bdeq %r5,%r1,P_FindHighestCeilingSurrounding+112
	bdne %r5,%gz,P_FindHighestCeilingSurrounding+128
;P_FindHighestCeilingSurrounding+96
	jmp P_FindHighestCeilingSurrounding+48
	nop 0
	nop 0
;P_FindHighestCeilingSurrounding+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindHighestCeilingSurrounding+48
	nop 0
;P_FindHighestCeilingSurrounding+128
	ldwz %r5,%r5,4
	maxsw %r2,%r5,%r2
	jmp P_FindHighestCeilingSurrounding+48
;P_FindHighestCeilingSurrounding+144
	mov %r1,%r2
	retf 0
	nop 0
;P_FindHighestCeilingSurrounding+160
	mov %r1,%gz
	retf 0
	nop 0
;P_FindSectorFromLineTag
	alloc 8
	lddzr %r6,sectors
	mov %r3,%r1
;P_FindSectorFromLineTag+16
	ldwsr %r5,numsectors
	sraiw %r4,%r2,0
	ldax.xw %r2,%r6,%r2,7,144
;P_FindSectorFromLineTag+32
	ldi %r1,-1
	nop 0
	nop 0
;P_FindSectorFromLineTag+48
	addi %r4,%r4,1
	bdle %r5,%r4,P_FindSectorFromLineTag+96
	ldhz %r6,%r2,0
;P_FindSectorFromLineTag+64
	ldhz %r7,%r3,28
	addi %r2,%r2,128
	bwne %r6,%r7,P_FindSectorFromLineTag+48
;P_FindSectorFromLineTag+80
	mov %r1,%r4
	nop 0
	nop 0
;P_FindSectorFromLineTag+96
	retf 0
	nop 0
	nop 0
;P_FindMinSurroundingLight
	alloc 7
	mov %r3,%r1
	ldwz %r4,%r1,112
;P_FindMinSurroundingLight+16
	mov %r1,%r2
	bwlti %r4,1,P_FindMinSurroundingLight+144
	lddz %r2,%r3,120
;P_FindMinSurroundingLight+32
	srliw %r4,%r4,0
	jmp P_FindMinSurroundingLight+64
	nop 0
;P_FindMinSurroundingLight+48
	addi %r4,%r4,-1
	addi %r2,%r2,8
	bdeq %r4,%gz,P_FindMinSurroundingLight+144
;P_FindMinSurroundingLight+64
	lddz %r6,%r2,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindMinSurroundingLight+48
;P_FindMinSurroundingLight+80
	lddz %r5,%r6,56
	bdeq %r5,%r3,P_FindMinSurroundingLight+112
	bdne %r5,%gz,P_FindMinSurroundingLight+128
;P_FindMinSurroundingLight+96
	jmp P_FindMinSurroundingLight+48
	nop 0
	nop 0
;P_FindMinSurroundingLight+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindMinSurroundingLight+48
	nop 0
;P_FindMinSurroundingLight+128
	ldhs %r5,%r5,12
	minsw %r1,%r1,%r5
	jmp P_FindMinSurroundingLight+48
;P_FindMinSurroundingLight+144
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine
	alloc 12
	lddzr %r5,lines
	lddz %r4,%r3,192
;P_CrossSpecialLine+16
	sraiw %r1,%r1,0
	ldi %r6,88
	muladd %r1,%r1,%r6,%r5
;P_CrossSpecialLine+32
	bdeq %r4,%gz,P_CrossSpecialLine+96
	ldhz %r5,%r1,26
	nop 0
;P_CrossSpecialLine+48
	andi %r5,%r5,65535
	addiws %r6,%r5,-2
	bwgeui %r6,140,P_CrossSpecialLine+112
;P_CrossSpecialLine+64
	addiwz %r5,%r5,-2
	ldafr %r6,.rodata+36040
	jmpt %r6,%r5
;P_CrossSpecialLine+80
	ldi %r11,3
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+96
	ldwz %r5,%r3,128
	addiws %r6,%r5,-31
	bwgeui %r6,5,P_CrossSpecialLine+128
;P_CrossSpecialLine+112
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+128
	bweqi %r5,16,P_CrossSpecialLine+112
	ldhz %r5,%r1,26
	addiws %r6,%r5,-88
;P_CrossSpecialLine+144
	bwgeui %r6,39,P_CrossSpecialLine+176
	addiwz %r6,%r5,-88
	ldi %r7,1
;P_CrossSpecialLine+160
	sll %r6,%r7,%r6
	bmany.l %r6,412316860929,P_CrossSpecialLine+48
;P_CrossSpecialLine+176
	bwgeui %r5,40,P_CrossSpecialLine+112
	srliw %r6,%r5,0
	ldi %r7,1
;P_CrossSpecialLine+192
	sll %r6,%r7,%r6
	bmany.l %r6,549755814928,P_CrossSpecialLine+48
;P_CrossSpecialLine+208
	jmp P_CrossSpecialLine+112
	nop 0
	nop 0
;P_CrossSpecialLine+224
	bdne %r4,%gz,P_CrossSpecialLine+112
	nop 0
	nop 0
;P_CrossSpecialLine+240
	mov2 %r9,%r10,%r1,%r2
	mov %r11,%r3
	callr %r8,EV_Teleport
;P_CrossSpecialLine+256
	sth %gz,%r1,26
	retf 0
	nop 0
;P_CrossSpecialLine+272
	ldi %r10,1
	jmp P_CrossSpecialLine+1296
	nop 0
;P_CrossSpecialLine+288
	ldi %r10,3
	jmp P_CrossSpecialLine+1296
	nop 0
;P_CrossSpecialLine+304
	ldi %r11,5
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+320
	ldi %r11,2
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+336
	ldi %r11,9
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+352
	mov2 %r10,%r11,%r1,%gz
	callr %r9,EV_DoFloor
	retf 0
;P_CrossSpecialLine+368
	ldi %r11,1
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+384
	mov2 %r10,%r11,%r1,%gz
	callr %r9,EV_LightTurnOn
	retf 0
;P_CrossSpecialLine+400
	mov %r11,%r1
	callr %r10,EV_StopPlat
	retf 0
;P_CrossSpecialLine+416
	ldi %r11,1
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+432
	ldi %r11,2
	jmp P_CrossSpecialLine+1344
	nop 0
;P_CrossSpecialLine+448
	ldi %r11,3
	jmp P_CrossSpecialLine+1344
	nop 0
;P_CrossSpecialLine+464
	ldi %r11,9
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+480
	ldi %r10,4
	jmp P_CrossSpecialLine+800
	nop 0
;P_CrossSpecialLine+496
	mov2 %r9,%r10,%r1,%gz
	jmp P_CrossSpecialLine+816
	nop 0
;P_CrossSpecialLine+512
	mov %r11,%r1
	callr %r10,EV_StartLightStrobing
	sth %gz,%r1,26
;P_CrossSpecialLine+528
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+544
	ldi %r11,1
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+560
	ldi %r11,8
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+576
	ldi %r11,6
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+592
	callr %r11,G_ExitLevel
	retf 0
	nop 0
;P_CrossSpecialLine+608
	ldi %r10,3
	jmp P_CrossSpecialLine+800
	nop 0
;P_CrossSpecialLine+624
	mov2 %r10,%r11,%r1,%gz
	jmp P_CrossSpecialLine+1744
	nop 0
;P_CrossSpecialLine+640
	ldi %r11,2
	jmp P_CrossSpecialLine+1136
	nop 0
;P_CrossSpecialLine+656
	mov %r11,%r1
	callr %r10,EV_CeilingCrushStop
	retf 0
;P_CrossSpecialLine+672
	mov2 %r10,%r11,%r1,%gz
	jmp P_CrossSpecialLine+1040
	nop 0
;P_CrossSpecialLine+688
	mov2 %r10,%r11,%r1,%gz
	jmp P_CrossSpecialLine+1696
	nop 0
;P_CrossSpecialLine+704
	ldi %r11,10
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+720
	mov %r11,%r1
	callr %r10,EV_StopPlat
	sth %gz,%r1,26
;P_CrossSpecialLine+736
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+752
	ldi %r11,3
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+768
	ldi %r11,2
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+784
	ldi %r10,1
	nop 0
	nop 0
;P_CrossSpecialLine+800
	mov %r9,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+816
	mov %r11,%gz
	callr %r8,EV_DoPlat
	sth %gz,%r1,26
;P_CrossSpecialLine+832
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+848
	mov2 %r10,%r11,%r1,%gz
	jmp P_CrossSpecialLine+1088
	nop 0
;P_CrossSpecialLine+864
	mov2 %r10,%r11,%r1,%gz
	callr %r9,EV_DoDoor
	retf 0
;P_CrossSpecialLine+880
	ldi %r11,5
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+896
	ldi %r11,35
	jmp P_CrossSpecialLine+1072
	nop 0
;P_CrossSpecialLine+912
	ldi %r11,8
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+928
	ldi %r11,3
	jmp P_CrossSpecialLine+1136
	nop 0
;P_CrossSpecialLine+944
	ldi %r11,3
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+960
	ldi %r11,3
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+976
	ldi %r11,4
	jmp P_CrossSpecialLine+1344
	nop 0
;P_CrossSpecialLine+992
	ldi %r11,255
	jmp P_CrossSpecialLine+1472
	nop 0
;P_CrossSpecialLine+1008
	ldi %r11,1
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+1024
	ldi %r11,1
	mov %r10,%r1
	nop 0
;P_CrossSpecialLine+1040
	callr %r9,EV_BuildStairs
	sth %gz,%r1,26
	retf 0
;P_CrossSpecialLine+1056
	ldi %r11,255
	nop 0
	nop 0
;P_CrossSpecialLine+1072
	mov %r10,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+1088
	callr %r9,EV_LightTurnOn
	sth %gz,%r1,26
	retf 0
;P_CrossSpecialLine+1104
	ldi %r11,6
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+1120
	ldi %r11,4
	nop 0
	nop 0
;P_CrossSpecialLine+1136
	mov %r10,%r1
	callr %r9,EV_DoCeiling
	retf 0
;P_CrossSpecialLine+1152
	ldi %r11,2
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+1168
	mov %r11,%r1
	callr %r10,EV_TurnTagLightsOff
	sth %gz,%r1,26
;P_CrossSpecialLine+1184
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+1200
	mov2 %r9,%r10,%r1,%gz
	jmp P_CrossSpecialLine+1312
	nop 0
;P_CrossSpecialLine+1216
	ldi %r2,1
	mov2 %r10,%r11,%r1,%r2
	callr %r9,EV_DoCeiling
;P_CrossSpecialLine+1232
	mov2 %r10,%r11,%r1,%r2
	jmp P_CrossSpecialLine+1696
	nop 0
;P_CrossSpecialLine+1248
	ldi %r11,7
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+1264
	ldi %r11,4
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+1280
	ldi %r10,4
	nop 0
	nop 0
;P_CrossSpecialLine+1296
	mov %r9,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+1312
	mov %r11,%gz
	callr %r8,EV_DoPlat
	retf 0
;P_CrossSpecialLine+1328
	ldi %r11,5
	nop 0
	nop 0
;P_CrossSpecialLine+1344
	mov %r10,%r1
	callr %r9,EV_DoCeiling
	sth %gz,%r1,26
;P_CrossSpecialLine+1360
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+1376
	ldi %r11,6
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+1392
	ldi %r11,7
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+1408
	mov %r11,%r1
	callr %r10,EV_CeilingCrushStop
	sth %gz,%r1,26
;P_CrossSpecialLine+1424
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+1440
	callr %r11,G_SecretExitLevel
	retf 0
	nop 0
;P_CrossSpecialLine+1456
	ldi %r11,35
	nop 0
	nop 0
;P_CrossSpecialLine+1472
	mov %r10,%r1
	callr %r9,EV_LightTurnOn
	retf 0
;P_CrossSpecialLine+1488
	ldi %r11,2
	nop 0
	nop 0
;P_CrossSpecialLine+1504
	mov %r10,%r1
	callr %r9,EV_DoDoor
	retf 0
;P_CrossSpecialLine+1520
	ldi %r11,7
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+1536
	bdne %r4,%gz,P_CrossSpecialLine+112
	nop 0
	nop 0
;P_CrossSpecialLine+1552
	mov2 %r9,%r10,%r1,%r2
	mov %r11,%r3
	callr %r8,EV_Teleport
;P_CrossSpecialLine+1568
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+1584
	ldi %r11,6
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+1600
	ldi %r11,4
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+1616
	ldi %r11,5
	nop 0
	nop 0
;P_CrossSpecialLine+1632
	mov %r10,%r1
	callr %r9,EV_DoFloor
	retf 0
;P_CrossSpecialLine+1648
	ldi %r11,7
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+1664
	ldi %r11,10
	nop 0
	nop 0
;P_CrossSpecialLine+1680
	mov %r10,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+1696
	callr %r9,EV_DoFloor
	sth %gz,%r1,26
	retf 0
;P_CrossSpecialLine+1712
	ldi %r11,5
	nop 0
	nop 0
;P_CrossSpecialLine+1728
	mov %r10,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+1744
	callr %r9,EV_DoDoor
	sth %gz,%r1,26
	retf 0
;P_ShootSpecialLine
	alloc 8
	lddz %r3,%r1,192
	ldhz %r1,%r2,26
;P_ShootSpecialLine+16
	bdeq %r3,%gz,P_ShootSpecialLine+64
	bweqi %r1,47,P_ShootSpecialLine+112
	bweqi %r1,46,P_ShootSpecialLine+80
;P_ShootSpecialLine+32
	bwnei %r1,24,P_ShootSpecialLine+160
	ldi %r7,3
	mov %r6,%r2
;P_ShootSpecialLine+48
	callr %r5,EV_DoFloor
	jmp P_ShootSpecialLine+128
	nop 0
;P_ShootSpecialLine+64
	bwnei %r1,46,P_ShootSpecialLine+160
	nop 0
	nop 0
;P_ShootSpecialLine+80
	ldi %r7,3
	mov %r6,%r2
	callr %r5,EV_DoDoor
;P_ShootSpecialLine+96
	ldi %r7,1
	jmp P_ShootSpecialLine+144
	nop 0
;P_ShootSpecialLine+112
	ldi %r6,3
	mov2 %r5,%r7,%r2,%gz
	callr %r4,EV_DoPlat
;P_ShootSpecialLine+128
	mov %r7,%gz
	nop 0
	nop 0
;P_ShootSpecialLine+144
	mov %r6,%r2
	callr %r5,P_ChangeSwitchTexture
	nop 0
;P_ShootSpecialLine+160
	retf 0
	nop 0
	nop 0
;P_PlayerInSpecialSector
	allocsp 11,16
	lddz %r7,%r1,0
	lddz %r2,%r7,88
;P_PlayerInSpecialSector+16
	lddz %r2,%r2,0
	ldwz %r3,%r7,32
	ldwz %r4,%r2,0
;P_PlayerInSpecialSector+32
	bwne %r3,%r4,P_PlayerInSpecialSector+128
	ldhz %r3,%r2,14
	addiws %r4,%r3,-4
;P_PlayerInSpecialSector+48
	bwgeui %r4,13,P_PlayerInSpecialSector+272
	addiwz %r4,%r3,-4
	ldafr %r5,.rodata+36600
;P_PlayerInSpecialSector+64
	jmpt %r5,%r4
	nop 0
	nop 0
;P_PlayerInSpecialSector+80
	ldwz %r2,%r1,68
	bweq %r2,%gz,P_PlayerInSpecialSector+112
	callr %r9,P_Random
;P_PlayerInSpecialSector+96
	bwgei %r10,5,P_PlayerInSpecialSector+128
	nop 0
	nop 0
;P_PlayerInSpecialSector+112
	ldbzr %r2,leveltime
	andi %r2,%r2,31
	bweq %r2,%gz,P_PlayerInSpecialSector+384
;P_PlayerInSpecialSector+128
	retf 16
	nop 0
	nop 0
;P_PlayerInSpecialSector+144
	ldwz %r1,%r1,68
	bwne %r1,%gz,P_PlayerInSpecialSector+128
	ldbzr %r1,leveltime
;P_PlayerInSpecialSector+160
	andi %r1,%r1,31
	bwne %r1,%gz,P_PlayerInSpecialSector+128
	ldi %r10,10
;P_PlayerInSpecialSector+176
	jmp P_PlayerInSpecialSector+400
	nop 0
	nop 0
;P_PlayerInSpecialSector+192
	ldwz %r2,%r1,208
	andi %r2,%r2,-3
	stw %r2,%r1,208
;P_PlayerInSpecialSector+208
	ldbzr %r2,leveltime
	andi %r2,%r2,31
	bwne %r2,%gz,P_PlayerInSpecialSector+240
;P_PlayerInSpecialSector+224
	ldi %r10,20
	mov2 %r8,%r9,%gz,%gz
	callr %r6,P_DamageMobj
;P_PlayerInSpecialSector+240
	ldwz %r1,%r1,44
	bwgei %r1,11,P_PlayerInSpecialSector+128
	callr %r10,G_ExitLevel
;P_PlayerInSpecialSector+256
	retf 16
	nop 0
	nop 0
;P_PlayerInSpecialSector+272
	slsrai %r1,%r3,48,48
	ldafr %r10,.rodata+17735
	stw %r1,%sp,0
;P_PlayerInSpecialSector+288
	callr %r9,I_Error
	retf 16
	nop 0
;P_PlayerInSpecialSector+304
	ldwz %r1,%r1,68
	bwne %r1,%gz,P_PlayerInSpecialSector+128
	ldbzr %r1,leveltime
;P_PlayerInSpecialSector+320
	andi %r1,%r1,31
	bwne %r1,%gz,P_PlayerInSpecialSector+128
	ldi %r10,5
;P_PlayerInSpecialSector+336
	jmp P_PlayerInSpecialSector+400
	nop 0
	nop 0
;P_PlayerInSpecialSector+352
	ldwz %r3,%r1,224
	addiws %r3,%r3,1
	stw %r3,%r1,224
;P_PlayerInSpecialSector+368
	sth %gz,%r2,14
	retf 16
	nop 0
;P_PlayerInSpecialSector+384
	lddz %r7,%r1,0
	ldi %r10,20
	nop 0
;P_PlayerInSpecialSector+400
	mov2 %r8,%r9,%gz,%gz
	callr %r6,P_DamageMobj
	retf 16
;P_UpdateSpecials
	alloc 15
	ldwzr %r1,levelTimer
	bwnei %r1,1,P_UpdateSpecials+48
;P_UpdateSpecials+16
	ldwzr %r1,levelTimeCount
	addiws %r1,%r1,-1
	stwr %r1,levelTimeCount
;P_UpdateSpecials+32
	bwne %r1,%gz,P_UpdateSpecials+48
	callr %r14,G_ExitLevel
	nop 0
;P_UpdateSpecials+48
	lddzr %r1,lastanim
	ldafr %r2,anims
	bdltu %r2,%r1,P_UpdateSpecials+176
;P_UpdateSpecials+64
	ldhsr %r1,numlinespecials
	bdlti %r1,1,P_UpdateSpecials+320
	ldafr %r2,linespeciallist
;P_UpdateSpecials+80
	lddzr %r3,sides
	jmp P_UpdateSpecials+112
	nop 0
;P_UpdateSpecials+96
	addi %r1,%r1,-1
	addi %r2,%r2,8
	bdeq %r1,%gz,P_UpdateSpecials+320
;P_UpdateSpecials+112
	lddz %r4,%r2,0
	ldhz %r5,%r4,26
	bwnei %r5,48,P_UpdateSpecials+96
;P_UpdateSpecials+128
	ldhs %r4,%r4,30
	muli %r4,%r4,24
	ldwzx.xd %r5,%r3,%r4,0,0
;P_UpdateSpecials+144
	addiws %r5,%r5,65536
	stwx.xd %r5,%r3,%r4,0,0
	jmp P_UpdateSpecials+96
;P_UpdateSpecials+160
	addi %r2,%r2,20
	bdleu %r1,%r2,P_UpdateSpecials+64
	nop 0
;P_UpdateSpecials+176
	ldwz %r7,%r2,12
	bwlti %r7,1,P_UpdateSpecials+160
	ldwz %r8,%r2,8
;P_UpdateSpecials+192
	lddzr %r3,texturetranslation
	lddzr %r4,flattranslation
	sraiw %r5,%r8,0
;P_UpdateSpecials+208
	slli %r6,%r5,2
	nop 0
	nop 0
;P_UpdateSpecials+224
	ldwzr %r9,leveltime
	ldwz %r10,%r2,16
	divw %r9,%r9,%r10
;P_UpdateSpecials+240
	addws %r9,%r9,%r5
	modw %r7,%r9,%r7
	ldwz %r9,%r2,0
;P_UpdateSpecials+256
	addws %r7,%r7,%r8
	cmovweq %r8,%r9,%r4,%r3
	stwx.xd %r7,%r8,%r6,0,0
;P_UpdateSpecials+272
	ldwz %r8,%r2,8
	ldwz %r7,%r2,12
	addi %r5,%r5,1
;P_UpdateSpecials+288
	addws %r9,%r7,%r8
	addi %r6,%r6,4
	bdlt %r5,%r9,P_UpdateSpecials+224
;P_UpdateSpecials+304
	jmp P_UpdateSpecials+160
	nop 0
	nop 0
;P_UpdateSpecials+320
	mov %r3,%gz
	ldafr %r4,buttonlist
	ldafr %r5,buttonlist+16
;P_UpdateSpecials+336
	ldafr %r6,buttonlist+8
	ldafr %r7,buttonlist+12
	ldafr %r8,buttonlist+24
;P_UpdateSpecials+352
	ldi %r1,23
	jmp P_UpdateSpecials+464
	nop 0
;P_UpdateSpecials+368
	lddzx.xd %r2,%r3,%r4,0,0
	ldwzx.xd %r10,%r3,%r7,0,0
	ldhs %r2,%r2,30
;P_UpdateSpecials+384
	lddzr %r11,sides
	muli %r2,%r2,24
	sthx.xd %r10,%r11,%r2,0,12
;P_UpdateSpecials+400
	add %r13,%r3,%r8
	mov %r14,%r1
	callr %r12,S_StartSound
;P_UpdateSpecials+416
	std %gz,%r9,0
	std %gz,%r9,8
	std %gz,%r9,16
;P_UpdateSpecials+432
	std %gz,%r9,24
	nop 0
	nop 0
;P_UpdateSpecials+448
	addi %r3,%r3,32
	bdeqi %r3,512,P_UpdateSpecials+608
	nop 0
;P_UpdateSpecials+464
	ldwzx.xd %r2,%r3,%r5,0,0
	bweq %r2,%gz,P_UpdateSpecials+448
	add %r9,%r3,%r4
;P_UpdateSpecials+480
	addiws %r2,%r2,-1
	stw %r2,%r9,16
	bwne %r2,%gz,P_UpdateSpecials+448
;P_UpdateSpecials+496
	ldwzx.xd %r2,%r3,%r6,0,0
	bweqi %r2,2,P_UpdateSpecials+560
	bweqi %r2,1,P_UpdateSpecials+368
;P_UpdateSpecials+512
	bwne %r2,%gz,P_UpdateSpecials+400
	lddzx.xd %r2,%r3,%r4,0,0
	ldwzx.xd %r10,%r3,%r7,0,0
;P_UpdateSpecials+528
	ldhs %r2,%r2,30
	lddzr %r11,sides
	muli %r2,%r2,24
;P_UpdateSpecials+544
	sthx.xd %r10,%r11,%r2,0,8
	jmp P_UpdateSpecials+400
	nop 0
;P_UpdateSpecials+560
	lddzx.xd %r2,%r3,%r4,0,0
	ldwzx.xd %r10,%r3,%r7,0,0
	ldhs %r2,%r2,30
;P_UpdateSpecials+576
	lddzr %r11,sides
	muli %r2,%r2,24
	sthx.xd %r10,%r11,%r2,0,10
;P_UpdateSpecials+592
	jmp P_UpdateSpecials+400
	nop 0
	nop 0
;P_UpdateSpecials+608
	retf 0
	nop 0
	nop 0
;EV_DoDonut
	allocsp 32,16
	mov %r13,%gz
	lddzr %r2,stderr
;EV_DoDonut+16
	ldwzr %r23,numsectors
	ldi %r14,-1
	lddzr %r24,sectors
;EV_DoDonut+32
	ldi %r15,144
	ldi %r3,1
	ldafr %r4,.rodata+7327
;EV_DoDonut+48
	ldi %r5,118
	ldafr %r6,DonutOverrun.tmp_s3_floorheight
	ldi %r16,22
;EV_DoDonut+64
	ldafr %r7,.rodata+5769
	ldi %r8,2
	ldafr %r9,DonutOverrun.tmp_s3_floorpic
;EV_DoDonut+80
	ldafr %r10,.rodata+23562
	ldi %r11,64
	ldi %r12,6
;EV_DoDonut+96
	ldar %r17,T_MoveFloor
	ldi %r18,11
	ldi %r19,32768
;EV_DoDonut+112
	mov %r20,%r14
	nop 0
	nop 0
;EV_DoDonut+128
	sraiw %r22,%r23,0
	nop 0
	nop 0
;EV_DoDonut+144
	sraiw %r25,%r20,0
	ldax.xw %r21,%r15,%r20,7,0
	mov %r20,%r25
;EV_DoDonut+160
	addi %r20,%r20,1
	bdle %r22,%r20,EV_DoDonut+720
	ldhzx.xd %r25,%r24,%r21,0,0
;EV_DoDonut+176
	ldhz %r26,%r1,28
	addi %r21,%r21,128
	bwne %r25,%r26,EV_DoDonut+160
;EV_DoDonut+192
	addi %r21,%r20,-1
	bdlti %r21,-1,EV_DoDonut+720
	ldax.xuw %r21,%r24,%r20,7,0
;EV_DoDonut+208
	lddzx.xuw %r25,%r24,%r20,7,104
	bdne %r25,%gz,EV_DoDonut+144
	lddz %r13,%r21,120
;EV_DoDonut+224
	lddz %r13,%r13,0
	ldbz %r22,%r13,24
	bbci %r22,2,EV_DoDonut+688
;EV_DoDonut+240
	lddz %r22,%r13,56
	bdne %r22,%r21,EV_DoDonut+256
	lddz %r22,%r13,64
;EV_DoDonut+256
	bdeq %r22,%gz,EV_DoDonut+688
	ldwz %r25,%r22,112
	mov %r13,%r3
;EV_DoDonut+272
	bwlti %r25,1,EV_DoDonut+128
	lddz %r13,%r22,120
	srliw %r25,%r25,0
;EV_DoDonut+288
	lddz %r26,%r13,0
	lddz %r26,%r26,64
	bdne %r26,%r21,EV_DoDonut+336
;EV_DoDonut+304
	addi %r25,%r25,-1
	addi %r13,%r13,8
	bdne %r25,%gz,EV_DoDonut+288
;EV_DoDonut+320
	mov %r13,%r3
	jmp EV_DoDonut+128
	nop 0
;EV_DoDonut+336
	bdeq %r26,%gz,EV_DoDonut+512
	ldhz %r23,%r26,8
	nop 0
;EV_DoDonut+352
	ldwz %r24,%r26,0
	mov2 %r29,%r30,%r11,%r12
	mov %r31,%gz
;EV_DoDonut+368
	callr %r28,Z_Malloc
	mov %r31,%r29
	callr %r30,P_AddThinker
;EV_DoDonut+384
	std %r29,%r22,104
	std %r17,%r29,16
	std %r18,%r29,24
;EV_DoDonut+400
	std %r3,%r29,40
	std %r22,%r29,32
	stw %r19,%r29,56
;EV_DoDonut+416
	sth %r23,%r29,48
	stw %r24,%r29,52
	mov2 %r29,%r30,%r11,%r12
;EV_DoDonut+432
	mov %r31,%gz
	callr %r28,Z_Malloc
	mov %r31,%r29
;EV_DoDonut+448
	callr %r30,P_AddThinker
	std %r29,%r21,104
	std %r17,%r29,16
;EV_DoDonut+464
	std %gz,%r29,24
	stw %r14,%r29,40
	std %r21,%r29,32
;EV_DoDonut+480
	stw %r19,%r29,56
	stw %r24,%r29,52
	ldwzr %r23,numsectors
;EV_DoDonut+496
	lddzr %r24,sectors
	mov %r13,%r3
	jmp EV_DoDonut+128
;EV_DoDonut+512
	mov2 %r28,%r29,%r4,%r5
	mov2 %r30,%r31,%r3,%r2
	callr %r27,fwrite_unlocked
;EV_DoDonut+528
	ldbzr %r13,DonutOverrun.first
	bbsi %r13,0,EV_DoDonut+640
	stbr %r3,DonutOverrun.first
;EV_DoDonut+544
	stwr %gz,DonutOverrun.tmp_s3_floorheight
	stwr %r16,DonutOverrun.tmp_s3_floorpic
	mov2 %r30,%r31,%r7,%r8
;EV_DoDonut+560
	callr %r29,M_CheckParmWithArgs
	bwlti %r30,1,EV_DoDonut+640
	lddzr %r13,myargv
;EV_DoDonut+576
	lddzx.xuw %r13,%r13,%r30,3,8
	mov2 %r23,%r30,%r30,%r13
	mov %r31,%r6
;EV_DoDonut+592
	callr %r29,M_StrToInt
	lddzr %r13,myargv
	lddzx.xuw %r30,%r13,%r23,3,16
;EV_DoDonut+608
	mov %r31,%r9
	callr %r29,M_StrToInt
	ldwzr %r23,DonutOverrun.tmp_s3_floorpic
;EV_DoDonut+624
	ldwzr %r13,numflats
	bwle %r13,%r23,EV_DoDonut+656
	nop 0
;EV_DoDonut+640
	ldwzr %r23,DonutOverrun.tmp_s3_floorpic
	mov %r26,%r6
	jmp EV_DoDonut+352
;EV_DoDonut+656
	stw %r16,%sp,4
	stw %r13,%sp,0
	mov2 %r30,%r31,%r2,%r10
;EV_DoDonut+672
	callr %r29,fprintf
	stwr %r16,DonutOverrun.tmp_s3_floorpic
	jmp EV_DoDonut+640
;EV_DoDonut+688
	ldafr %r28,.rodata+27683
	ldi %r29,91
	ldi %r13,1
;EV_DoDonut+704
	mov2 %r30,%r31,%r13,%r2
	callr %r27,fwrite_unlocked
	nop 0
;EV_DoDonut+720
	mov %r1,%r13
	retf 16
	nop 0
;P_SpawnSpecials
	alloc 14
	ldwzr %r2,timelimit
	mov %r1,%gz
;P_SpawnSpecials+16
	bwlti %r2,1,P_SpawnSpecials+48
	ldwzr %r3,deathmatch
	bweq %r3,%gz,P_SpawnSpecials+48
;P_SpawnSpecials+32
	ldi %r1,1
	mulwsi %r2,%r2,2100
	stwr %r2,levelTimeCount
;P_SpawnSpecials+48
	ldwzr %r2,numsectors
	stwr %r1,levelTimer
	bwlti %r2,1,P_SpawnSpecials+416
;P_SpawnSpecials+64
	mov %r1,%gz
	lddzr %r2,sectors
	ldafr %r7,.rodata+36652
;P_SpawnSpecials+80
	ldi %r3,15
	ldi %r4,35
	ldi %r8,4
;P_SpawnSpecials+96
	ldi %r5,1
	jmp P_SpawnSpecials+160
	nop 0
;P_SpawnSpecials+112
	mov %r13,%r2
	callr %r12,P_SpawnFireFlicker
	nop 0
;P_SpawnSpecials+128
	ldwzr %r6,numsectors
	addiws %r1,%r1,1
	addi %r2,%r2,128
;P_SpawnSpecials+144
	bwle %r6,%r1,P_SpawnSpecials+416
	nop 0
	nop 0
;P_SpawnSpecials+160
	ldhz %r6,%r2,14
	addiws %r9,%r6,-1
	bwgeui %r9,17,P_SpawnSpecials+128
;P_SpawnSpecials+176
	addiwz %r6,%r6,-1
	jmpt %r7,%r6
	nop 0
;P_SpawnSpecials+192
	mov %r13,%r2
	callr %r12,P_SpawnLightFlash
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+208
	mov %r13,%r2
	callr %r12,P_SpawnGlowingLight
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+224
	ldwzr %r6,totalsecret
	addiws %r6,%r6,1
	stwr %r6,totalsecret
;P_SpawnSpecials+240
	jmp P_SpawnSpecials+128
	nop 0
	nop 0
;P_SpawnSpecials+256
	mov2 %r11,%r12,%r2,%r3
	mov %r13,%gz
	callr %r10,P_SpawnStrobeFlash
;P_SpawnSpecials+272
	sth %r8,%r2,14
	jmp P_SpawnSpecials+128
	nop 0
;P_SpawnSpecials+288
	mov2 %r11,%r12,%r2,%r4
	jmp P_SpawnSpecials+320
	nop 0
;P_SpawnSpecials+304
	mov2 %r11,%r12,%r2,%r3
	nop 0
	nop 0
;P_SpawnSpecials+320
	mov %r13,%gz
	callr %r10,P_SpawnStrobeFlash
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+336
	mov %r13,%r2
	callr %r12,P_SpawnDoorCloseIn30
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+352
	mov2 %r11,%r12,%r2,%r4
	jmp P_SpawnSpecials+400
	nop 0
;P_SpawnSpecials+368
	mov2 %r12,%r13,%r2,%r1
	callr %r11,P_SpawnDoorRaiseIn5Mins
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+384
	mov2 %r11,%r12,%r2,%r3
	nop 0
	nop 0
;P_SpawnSpecials+400
	mov %r13,%r5
	callr %r10,P_SpawnStrobeFlash
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+416
	ldwzr %r2,numlines
	sthr %gz,numlinespecials
	bwlti %r2,1,P_SpawnSpecials+592
;P_SpawnSpecials+432
	mov2 %r3,%r6,%gz,%gz
	mov %r4,%gz
	lddzr %r7,lines
;P_SpawnSpecials+448
	ldafr %r1,.rodata+9410
	ldafr %r5,linespeciallist
	jmp P_SpawnSpecials+528
;P_SpawnSpecials+464
	add %r8,%r7,%r3
	slsrai %r9,%r6,48,48
	stdx.xd %r8,%r5,%r9,3,0
;P_SpawnSpecials+480
	addiws %r6,%r6,1
	sthr %r6,numlinespecials
	nop 0
;P_SpawnSpecials+496
	addi %r4,%r4,1
	sraiw %r8,%r2,0
	addi %r3,%r3,88
;P_SpawnSpecials+512
	bdle %r8,%r4,P_SpawnSpecials+592
	nop 0
	nop 0
;P_SpawnSpecials+528
	ldhzx.xd %r8,%r7,%r3,0,26
	bwnei %r8,48,P_SpawnSpecials+496
	slsrai %r8,%r6,48,48
;P_SpawnSpecials+544
	bwlti %r8,64,P_SpawnSpecials+464
	mov %r13,%r1
	callr %r12,I_Error
;P_SpawnSpecials+560
	lddzr %r7,lines
	ldhzr %r6,numlinespecials
	ldwzr %r2,numlines
;P_SpawnSpecials+576
	jmp P_SpawnSpecials+464
	nop 0
	nop 0
;P_SpawnSpecials+592
	stdr %gz,activeceilings+232
	stdr %gz,activeceilings+224
	stdr %gz,activeceilings+216
;P_SpawnSpecials+608
	stdr %gz,activeceilings+208
	stdr %gz,activeceilings+200
	stdr %gz,activeceilings+192
;P_SpawnSpecials+624
	stdr %gz,activeceilings+184
	stdr %gz,activeceilings+176
	stdr %gz,activeceilings+168
;P_SpawnSpecials+640
	stdr %gz,activeceilings+160
	stdr %gz,activeceilings+152
	stdr %gz,activeceilings+144
;P_SpawnSpecials+656
	stdr %gz,activeceilings+136
	stdr %gz,activeceilings+128
	stdr %gz,activeceilings+120
;P_SpawnSpecials+672
	stdr %gz,activeceilings+112
	stdr %gz,activeceilings+104
	stdr %gz,activeceilings+96
;P_SpawnSpecials+688
	stdr %gz,activeceilings+88
	stdr %gz,activeceilings+80
	stdr %gz,activeceilings+72
;P_SpawnSpecials+704
	stdr %gz,activeceilings+64
	stdr %gz,activeceilings+56
	stdr %gz,activeceilings+48
;P_SpawnSpecials+720
	stdr %gz,activeceilings+40
	stdr %gz,activeceilings+32
	stdr %gz,activeceilings+24
;P_SpawnSpecials+736
	stdr %gz,activeceilings+16
	stdr %gz,activeceilings+8
	stdr %gz,activeceilings
;P_SpawnSpecials+752
	stdr %gz,activeplats+232
	stdr %gz,activeplats+224
	stdr %gz,activeplats+216
;P_SpawnSpecials+768
	stdr %gz,activeplats+208
	stdr %gz,activeplats+200
	stdr %gz,activeplats+192
;P_SpawnSpecials+784
	stdr %gz,activeplats+184
	stdr %gz,activeplats+176
	stdr %gz,activeplats+168
;P_SpawnSpecials+800
	stdr %gz,activeplats+160
	stdr %gz,activeplats+152
	stdr %gz,activeplats+144
;P_SpawnSpecials+816
	stdr %gz,activeplats+136
	stdr %gz,activeplats+128
	stdr %gz,activeplats+120
;P_SpawnSpecials+832
	stdr %gz,activeplats+112
	stdr %gz,activeplats+104
	stdr %gz,activeplats+96
;P_SpawnSpecials+848
	stdr %gz,activeplats+88
	stdr %gz,activeplats+80
	stdr %gz,activeplats+72
;P_SpawnSpecials+864
	stdr %gz,activeplats+64
	stdr %gz,activeplats+56
	stdr %gz,activeplats+48
;P_SpawnSpecials+880
	stdr %gz,activeplats+40
	stdr %gz,activeplats+32
	stdr %gz,activeplats+24
;P_SpawnSpecials+896
	stdr %gz,activeplats+16
	stdr %gz,activeplats+8
	stdr %gz,activeplats
;P_SpawnSpecials+912
	ldafr %r11,buttonlist
	ldi %r13,512
	mov %r12,%gz
;P_SpawnSpecials+928
	callr %r10,memset
	retf 0
	nop 0
;P_InitSwitchList
	alloc 12
	ldwzr %r1,gamemode
	andi %r2,%r1,-3
;P_InitSwitchList+16
	cmpweqi %r1,%r1,2
	ldi %r3,1
	ldi %r4,3
;P_InitSwitchList+32
	cmpweqi %r5,%r2,1
	cmovlsb %r1,%r1,%r4,%r3
	ldi %r3,2
;P_InitSwitchList+48
	mov2 %r4,%r2,%gz,%gz
	cmovlsb %r5,%r5,%r3,%r1
	ldafr %r6,alphSwitchList
;P_InitSwitchList+64
	ldafr %r7,alphSwitchList+18
	ldafr %r3,switchlist
	ldafr %r8,alphSwitchList+9
;P_InitSwitchList+80
	ldafr %r9,switchlist+4
	jmp P_InitSwitchList+112
	nop 0
;P_InitSwitchList+96
	addi %r4,%r4,20
	bdeqi %r4,1000,P_InitSwitchList+208
	nop 0
;P_InitSwitchList+112
	ldhsx.xd %r1,%r4,%r7,0,0
	bweq %r1,%gz,P_InitSwitchList+176
	bwlt %r5,%r1,P_InitSwitchList+96
;P_InitSwitchList+128
	add %r11,%r4,%r6
	callr %r10,R_TextureNumForName
	stwx.xw %r11,%r3,%r2,2,0
;P_InitSwitchList+144
	add %r11,%r4,%r8
	callr %r10,R_TextureNumForName
	addiws %r1,%r2,2
;P_InitSwitchList+160
	stwx.xw %r11,%r9,%r2,2,0
	mov %r2,%r1
	jmp P_InitSwitchList+96
;P_InitSwitchList+176
	srliw %r1,%r2,31
	addws %r1,%r2,%r1
	sraiw %r1,%r1,1
;P_InitSwitchList+192
	stwr %r1,numswitches
	ldi %r1,-1
	stwx.xw %r1,%r3,%r2,2,0
;P_InitSwitchList+208
	retf 0
	nop 0
	nop 0
;P_StartButton
	alloc 11
	mov %r7,%gz
	ldafr %r5,buttonlist+16
;P_StartButton+16
	ldafr %r6,buttonlist
	jmp P_StartButton+48
	nop 0
;P_StartButton+32
	addi %r7,%r7,32
	bdeqi %r7,512,P_StartButton+80
	nop 0
;P_StartButton+48
	ldwzx.xd %r8,%r7,%r5,0,0
	bweq %r8,%gz,P_StartButton+32
	lddzx.xd %r8,%r7,%r6,0,0
;P_StartButton+64
	bdne %r8,%r1,P_StartButton+32
	retf 0
	nop 0
;P_StartButton+80
	mov %r7,%gz
	nop 0
	nop 0
;P_StartButton+96
	ldwzx.xd %r8,%r7,%r5,0,0
	bweq %r8,%gz,P_StartButton+144
	addi %r7,%r7,32
;P_StartButton+112
	bdnei %r7,512,P_StartButton+96
	ldafr %r10,.rodata+16845
	callr %r9,I_Error
;P_StartButton+128
	retf 0
	nop 0
	nop 0
;P_StartButton+144
	stdx.xd %r1,%r7,%r6,0,0
	ldafr %r6,buttonlist+8
	stwx.xd %r2,%r7,%r6,0,0
;P_StartButton+160
	ldafr %r2,buttonlist+12
	stwx.xd %r3,%r7,%r2,0,0
	stwx.xd %r4,%r7,%r5,0,0
;P_StartButton+176
	lddz %r1,%r1,56
	addi %r1,%r1,48
	ldafr %r2,buttonlist+24
;P_StartButton+192
	stdx.xd %r1,%r7,%r2,0,0
	retf 0
	nop 0
;P_ChangeSwitchTexture
	alloc 16
	bweq %r2,%gz,P_ChangeSwitchTexture+64
	ldhz %r3,%r1,26
;P_ChangeSwitchTexture+16
	cmpweqi %r3,%r3,11
	ldi %r4,23
	ldi %r5,24
;P_ChangeSwitchTexture+32
	cmovlsb %r15,%r3,%r5,%r4
	ldwzr %r3,numswitches
	bwgei %r3,1,P_ChangeSwitchTexture+96
;P_ChangeSwitchTexture+48
	retf 0
	nop 0
	nop 0
;P_ChangeSwitchTexture+64
	sth %gz,%r1,26
	ldi %r15,23
	ldwzr %r3,numswitches
;P_ChangeSwitchTexture+80
	bwlti %r3,1,P_ChangeSwitchTexture+48
	nop 0
	nop 0
;P_ChangeSwitchTexture+96
	ldhs %r4,%r1,30
	lddzr %r5,sides
	mov %r6,%gz
;P_ChangeSwitchTexture+112
	muli %r8,%r4,24
	ldhsx.xd %r4,%r5,%r8,0,8
	ldhsx.xd %r7,%r5,%r8,0,12
;P_ChangeSwitchTexture+128
	ldhsx.xd %r8,%r5,%r8,0,10
	slliw %r5,%r3,1
	ldi %r3,1
;P_ChangeSwitchTexture+144
	maxsw %r5,%r5,%r3
	srliw %r9,%r5,0
	ldafr %r5,switchlist
;P_ChangeSwitchTexture+160
	ldwz %r10,%r5,0
	bweq %r10,%r4,P_ChangeSwitchTexture+208
	bweq %r10,%r7,P_ChangeSwitchTexture+272
;P_ChangeSwitchTexture+176
	bweq %r10,%r8,P_ChangeSwitchTexture+336
	addi %r6,%r6,1
	addi %r5,%r5,4
;P_ChangeSwitchTexture+192
	bdne %r9,%r6,P_ChangeSwitchTexture+160
	jmp P_ChangeSwitchTexture+48
	nop 0
;P_ChangeSwitchTexture+208
	lddzr %r14,buttonlist+24
	callr %r13,S_StartSound
	xori %r3,%r6,1
;P_ChangeSwitchTexture+224
	ldafr %r4,switchlist
	ldwzx.xd %r4,%r4,%r3,2,0
	ldhs %r6,%r1,30
;P_ChangeSwitchTexture+240
	lddzr %r7,sides
	mov %r3,%gz
	muli %r6,%r6,24
;P_ChangeSwitchTexture+256
	sthx.xd %r4,%r7,%r6,0,8
	bwne %r2,%gz,P_ChangeSwitchTexture+400
	jmp P_ChangeSwitchTexture+48
;P_ChangeSwitchTexture+272
	lddzr %r14,buttonlist+24
	callr %r13,S_StartSound
	xori %r4,%r6,1
;P_ChangeSwitchTexture+288
	ldafr %r6,switchlist
	ldwzx.xd %r4,%r6,%r4,2,0
	ldhs %r6,%r1,30
;P_ChangeSwitchTexture+304
	lddzr %r7,sides
	muli %r6,%r6,24
	sthx.xd %r4,%r7,%r6,0,12
;P_ChangeSwitchTexture+320
	bwne %r2,%gz,P_ChangeSwitchTexture+400
	jmp P_ChangeSwitchTexture+48
	nop 0
;P_ChangeSwitchTexture+336
	lddzr %r14,buttonlist+24
	callr %r13,S_StartSound
	xori %r3,%r6,1
;P_ChangeSwitchTexture+352
	ldafr %r4,switchlist
	ldwzx.xd %r3,%r4,%r3,2,0
	ldhs %r4,%r1,30
;P_ChangeSwitchTexture+368
	lddzr %r6,sides
	muli %r4,%r4,24
	sthx.xd %r3,%r6,%r4,0,10
;P_ChangeSwitchTexture+384
	bweq %r2,%gz,P_ChangeSwitchTexture+48
	ldi %r3,2
	nop 0
;P_ChangeSwitchTexture+400
	ldwz %r14,%r5,0
	ldi %r15,35
	mov2 %r12,%r13,%r1,%r3
;P_ChangeSwitchTexture+416
	callr %r11,P_StartButton
	retf 0
	nop 0
;P_UseSpecialLine
	alloc 9
	mov %r8,%r1
	bweq %r3,%gz,P_UseSpecialLine+32
;P_UseSpecialLine+16
	ldhz %r1,%r2,26
	bwnei %r1,124,P_UseSpecialLine+176
	nop 0
;P_UseSpecialLine+32
	lddz %r1,%r8,192
	bdeq %r1,%gz,P_UseSpecialLine+112
	ldhz %r3,%r2,26
;P_UseSpecialLine+48
	andi %r3,%r3,65535
	addiws %r4,%r3,-1
	ldi %r1,1
;P_UseSpecialLine+64
	bwgeui %r4,140,P_UseSpecialLine+1328
	addiwz %r3,%r3,-1
	ldafr %r4,.rodata+36720
;P_UseSpecialLine+80
	jmpt %r4,%r3
	nop 0
	nop 0
;P_UseSpecialLine+96
	mov %r7,%r2
	callr %r6,EV_VerticalDoor
	retf 0
;P_UseSpecialLine+112
	ldbz %r1,%r2,24
	bbsi %r1,5,P_UseSpecialLine+176
	ldhz %r3,%r2,26
;P_UseSpecialLine+128
	bwgeui %r3,35,P_UseSpecialLine+176
	srliw %r1,%r3,0
	ldi %r4,1
;P_UseSpecialLine+144
	sll %r4,%r4,%r1
	mov %r1,%gz
	nop 2
;P_UseSpecialLine+160
	bmany.l %r4,30064771074,P_UseSpecialLine+48
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+176
	mov %r1,%gz
	retf 0
	nop 0
;P_UseSpecialLine+192
	ldi %r7,6
	mov %r6,%r2
	callr %r5,EV_DoLockedDoor
;P_UseSpecialLine+208
	bwne %r6,%gz,P_UseSpecialLine+1376
	jmp P_UseSpecialLine+1328
	nop 0
;P_UseSpecialLine+224
	ldi %r7,6
	mov %r6,%r2
	callr %r5,EV_DoLockedDoor
;P_UseSpecialLine+240
	bwne %r6,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
	nop 0
;P_UseSpecialLine+256
	ldi %r8,6
	jmp P_UseSpecialLine+1296
	nop 0
;P_UseSpecialLine+272
	ldi %r8,2
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+288
	ldi %r8,10
	jmp P_UseSpecialLine+1120
	nop 0
;P_UseSpecialLine+304
	ldi %r7,4
	jmp P_UseSpecialLine+368
	nop 0
;P_UseSpecialLine+320
	ldi %r8,5
	jmp P_UseSpecialLine+1296
	nop 0
;P_UseSpecialLine+336
	ldi %r8,2
	jmp P_UseSpecialLine+1120
	nop 0
;P_UseSpecialLine+352
	ldi %r7,3
	nop 0
	nop 0
;P_UseSpecialLine+368
	mov2 %r6,%r8,%r2,%gz
	jmp P_UseSpecialLine+1088
	nop 0
;P_UseSpecialLine+384
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+1248
	nop 0
;P_UseSpecialLine+400
	ldi %r8,2
	jmp P_UseSpecialLine+1296
	nop 0
;P_UseSpecialLine+416
	ldi %r8,2
	jmp P_UseSpecialLine+1168
	nop 0
;P_UseSpecialLine+432
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+1136
	nop 0
;P_UseSpecialLine+448
	ldi %r8,9
	jmp P_UseSpecialLine+1120
	nop 0
;P_UseSpecialLine+464
	mov2 %r7,%r8,%r2,%r1
	jmp P_UseSpecialLine+1136
	nop 0
;P_UseSpecialLine+480
	mov2 %r7,%r8,%r2,%gz
	callr %r6,EV_DoCeiling
	bwne %r7,%gz,P_UseSpecialLine+1376
;P_UseSpecialLine+496
	jmp P_UseSpecialLine+1328
	nop 0
	nop 0
;P_UseSpecialLine+512
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+1184
	nop 0
;P_UseSpecialLine+528
	ldi %r8,3
	jmp P_UseSpecialLine+1296
	nop 0
;P_UseSpecialLine+544
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+1312
	nop 0
;P_UseSpecialLine+560
	ldi %r8,3
	mov %r7,%r2
	jmp P_UseSpecialLine+864
;P_UseSpecialLine+576
	ldi %r7,2
	ldi %r8,24
	jmp P_UseSpecialLine+800
;P_UseSpecialLine+592
	ldi %r8,4
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+608
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+736
	nop 0
;P_UseSpecialLine+624
	mov2 %r6,%r7,%r2,%r1
	mov %r8,%r1
	jmp P_UseSpecialLine+1088
;P_UseSpecialLine+640
	ldi %r8,4
	jmp P_UseSpecialLine+1120
	nop 0
;P_UseSpecialLine+656
	mov2 %r6,%r7,%r2,%r1
	mov %r8,%gz
	jmp P_UseSpecialLine+1040
;P_UseSpecialLine+672
	ldi %r8,3
	jmp P_UseSpecialLine+1168
	nop 0
;P_UseSpecialLine+688
	ldi %r8,7
	jmp P_UseSpecialLine+1168
	nop 0
;P_UseSpecialLine+704
	ldi %r8,5
	jmp P_UseSpecialLine+1168
	nop 0
;P_UseSpecialLine+720
	mov2 %r7,%r8,%r2,%r1
	nop 0
	nop 0
;P_UseSpecialLine+736
	callr %r6,EV_BuildStairs
	bwne %r7,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+752
	ldi %r7,3
	jmp P_UseSpecialLine+1024
	nop 0
;P_UseSpecialLine+768
	ldi %r7,2
	ldi %r8,24
	jmp P_UseSpecialLine+1072
;P_UseSpecialLine+784
	ldi %r7,2
	ldi %r8,32
	nop 0
;P_UseSpecialLine+800
	mov %r6,%r2
	jmp P_UseSpecialLine+1040
	nop 0
;P_UseSpecialLine+816
	mov %r8,%r2
	callr %r7,EV_DoDonut
	bwne %r8,%gz,P_UseSpecialLine+1264
;P_UseSpecialLine+832
	jmp P_UseSpecialLine+1328
	nop 0
	nop 0
;P_UseSpecialLine+848
	mov2 %r7,%r8,%r2,%gz
	nop 0
	nop 0
;P_UseSpecialLine+864
	callr %r6,EV_DoCeiling
	bwne %r7,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+880
	mov2 %r7,%r8,%r2,%gz
	callr %r6,P_ChangeSwitchTexture
	callr %r8,G_ExitLevel
;P_UseSpecialLine+896
	retf 0
	nop 0
	nop 0
;P_UseSpecialLine+912
	ldi %r8,10
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+928
	ldi %r8,12
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+944
	mov2 %r7,%r8,%r2,%r1
	jmp P_UseSpecialLine+1248
	nop 0
;P_UseSpecialLine+960
	ldi %r8,9
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+976
	mov2 %r7,%r8,%r2,%gz
	callr %r6,P_ChangeSwitchTexture
	callr %r8,G_SecretExitLevel
;P_UseSpecialLine+992
	retf 0
	nop 0
	nop 0
;P_UseSpecialLine+1008
	ldi %r7,4
	nop 0
	nop 0
;P_UseSpecialLine+1024
	mov2 %r6,%r8,%r2,%gz
	nop 0
	nop 0
;P_UseSpecialLine+1040
	callr %r5,EV_DoPlat
	bwne %r6,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+1056
	ldi %r7,2
	ldi %r8,32
	nop 0
;P_UseSpecialLine+1072
	mov %r6,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1088
	callr %r5,EV_DoPlat
	bwne %r6,%gz,P_UseSpecialLine+1376
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+1104
	ldi %r8,3
	nop 0
	nop 0
;P_UseSpecialLine+1120
	mov %r7,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1136
	callr %r6,EV_DoFloor
	bwne %r7,%gz,P_UseSpecialLine+1376
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+1152
	ldi %r8,6
	nop 0
	nop 0
;P_UseSpecialLine+1168
	mov %r7,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1184
	callr %r6,EV_DoDoor
	bwne %r7,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+1200
	ldi %r8,255
	jmp P_UseSpecialLine+1360
	nop 0
;P_UseSpecialLine+1216
	ldi %r8,3
	nop 0
	nop 0
;P_UseSpecialLine+1232
	mov %r7,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1248
	callr %r6,EV_DoFloor
	bweq %r7,%gz,P_UseSpecialLine+1328
	nop 0
;P_UseSpecialLine+1264
	mov2 %r7,%r8,%r2,%gz
	callr %r6,P_ChangeSwitchTexture
	retf 0
;P_UseSpecialLine+1280
	ldi %r8,7
	nop 0
	nop 0
;P_UseSpecialLine+1296
	mov %r7,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1312
	callr %r6,EV_DoDoor
	bwne %r7,%gz,P_UseSpecialLine+1376
	nop 0
;P_UseSpecialLine+1328
	retf 0
	nop 0
	nop 0
;P_UseSpecialLine+1344
	ldi %r8,35
	nop 0
	nop 0
;P_UseSpecialLine+1360
	mov %r7,%r2
	callr %r6,EV_LightTurnOn
	nop 0
;P_UseSpecialLine+1376
	ldi %r1,1
	mov2 %r7,%r8,%r2,%r1
	callr %r6,P_ChangeSwitchTexture
;P_UseSpecialLine+1392
	retf 0
	nop 0
	nop 0
;EV_Teleport
	alloc 16
	mov %r4,%gz
	bweqi %r2,1,EV_Teleport+512
;EV_Teleport+16
	ldwz %r2,%r3,160
	andi %r2,%r2,65536
	bwne %r2,%gz,EV_Teleport+512
;EV_Teleport+32
	ldwzr %r5,numsectors
	bwlti %r5,1,EV_Teleport+496
	mov %r2,%gz
;EV_Teleport+48
	ldhz %r6,%r1,28
	lddzr %r1,sectors
	lddzr %r4,thinkercap+8
;EV_Teleport+64
	srliw %r5,%r5,0
	andi %r7,%r6,65535
	ldafr %r8,thinkercap
;EV_Teleport+80
	ldar %r9,P_MobjThinker
	jmp EV_Teleport+112
	nop 0
;EV_Teleport+96
	addi %r2,%r2,1
	bdeq %r2,%r5,EV_Teleport+496
	nop 0
;EV_Teleport+112
	ldhzx.xd %r6,%r1,%r2,7,16
	bwne %r6,%r7,EV_Teleport+96
	bdeq %r4,%r8,EV_Teleport+96
;EV_Teleport+128
	mov %r6,%r4
	jmp EV_Teleport+160
	nop 0
;EV_Teleport+144
	lddz %r6,%r6,8
	bdeq %r6,%r8,EV_Teleport+96
	nop 0
;EV_Teleport+160
	lddz %r10,%r6,16
	bdne %r10,%r9,EV_Teleport+144
	ldwz %r10,%r6,128
;EV_Teleport+176
	bwnei %r10,41,EV_Teleport+144
	lddz %r10,%r6,88
	lddz %r10,%r10,0
;EV_Teleport+192
	sub %r10,%r10,%r1
	srai %r10,%r10,7
	bdne %r10,%r2,EV_Teleport+144
;EV_Teleport+208
	ldwz %r1,%r3,24
	ldwz %r2,%r3,28
	ldwz %r4,%r3,32
;EV_Teleport+224
	ldwz %r14,%r6,24
	ldwz %r15,%r6,28
	mov %r13,%r3
;EV_Teleport+240
	callr %r12,P_TeleportMove
	bweq %r13,%gz,EV_Teleport+496
	ldwzr %r5,gameversion
;EV_Teleport+256
	bweqi %r5,7,EV_Teleport+272
	ldwz %r5,%r3,96
	stw %r5,%r3,32
;EV_Teleport+272
	lddz %r5,%r3,192
	bdeq %r5,%gz,EV_Teleport+304
	ldwz %r7,%r3,32
;EV_Teleport+288
	ldwz %r8,%r5,32
	addws %r7,%r8,%r7
	stw %r7,%r5,28
;EV_Teleport+304
	ldi %r5,39
	mov2 %r12,%r13,%r1,%r2
	mov2 %r14,%r15,%r4,%r5
;EV_Teleport+320
	callr %r11,P_SpawnMobj
	ldi %r1,35
	mov2 %r14,%r15,%r12,%r1
;EV_Teleport+336
	callr %r13,S_StartSound
	ldwz %r2,%r6,56
	lddzr %r4,finecosine
;EV_Teleport+352
	srliw %r2,%r2,19
	ldwzx.xuw %r4,%r4,%r2,2,0
	ldwz %r7,%r6,24
;EV_Teleport+368
	ldafr %r8,finesine
	ldwzx.xuw %r2,%r8,%r2,2,0
	ldwz %r8,%r6,28
;EV_Teleport+384
	mulwsi %r4,%r4,20
	addws %r12,%r4,%r7
	mulwsi %r2,%r2,20
;EV_Teleport+400
	addws %r13,%r2,%r8
	ldwz %r14,%r3,32
	mov %r15,%r5
;EV_Teleport+416
	callr %r11,P_SpawnMobj
	mov2 %r14,%r15,%r12,%r1
	callr %r13,S_StartSound
;EV_Teleport+432
	lddz %r1,%r3,192
	bdeq %r1,%gz,EV_Teleport+464
	ldi %r1,18
;EV_Teleport+448
	stw %r1,%r3,184
	nop 0
	nop 0
;EV_Teleport+464
	ldwz %r1,%r6,56
	stw %r1,%r3,56
	stw %gz,%r3,120
;EV_Teleport+480
	std %gz,%r3,112
	ldi %r1,1
	retf 0
;EV_Teleport+496
	mov %r4,%gz
	nop 0
	nop 0
;EV_Teleport+512
	mov %r1,%r4
	retf 0
	nop 0
;P_InitThinkers
	alloc 2
	ldafr %r1,thinkercap
	stdr %r1,thinkercap+8
;P_InitThinkers+16
	stdr %r1,thinkercap
	retf 0
	nop 0
;P_AddThinker
	alloc 4
	lddzr %r2,thinkercap
	ldafr %r3,thinkercap
;P_AddThinker+16
	std %r1,%r2,8
	std %r3,%r1,8
	std %r2,%r1,0
;P_AddThinker+32
	stdr %r1,thinkercap
	retf 0
	nop 0
;P_RemoveThinker
	alloc 3
	ldi %r2,-1
	std %r2,%r1,16
;P_RemoveThinker+16
	retf 0
	nop 0
	nop 0
;P_AllocateThinker
	alloc 1
	retf 0
	nop 0
;P_RunThinkers
	alloc 7
	lddzr %r1,thinkercap+8
	ldafr %r3,thinkercap
;P_RunThinkers+16
	bdne %r1,%r3,P_RunThinkers+96
	nop 0
	nop 0
;P_RunThinkers+32
	retf 0
	nop 0
	nop 0
;P_RunThinkers+48
	lddz %r2,%r1,0
	lddz %r4,%r1,8
	std %r2,%r4,0
;P_RunThinkers+64
	std %r4,%r2,8
	mov %r6,%r1
	callr %r5,Z_Free
;P_RunThinkers+80
	lddz %r1,%r1,8
	bdeq %r1,%r3,P_RunThinkers+32
	nop 0
;P_RunThinkers+96
	lddz %r2,%r1,16
	bdeq %r2,%gz,P_RunThinkers+80
	bdeqi %r2,-1,P_RunThinkers+48
;P_RunThinkers+112
	mov %r6,%r1
	callri %r5,%r2,%gz
	jmp P_RunThinkers+80
;P_Ticker
	alloc 7
	ldwzr %r1,paused
	bweq %r1,%gz,P_Ticker+32
;P_Ticker+16
	retf 0
	nop 0
	nop 0
;P_Ticker+32
	ldwzr %r1,netgame
	bwne %r1,%gz,P_Ticker+96
	ldwzr %r1,menuactive
;P_Ticker+48
	bweq %r1,%gz,P_Ticker+96
	ldwzr %r1,demoplayback
	bwne %r1,%gz,P_Ticker+96
;P_Ticker+64
	ldwsr %r1,consoleplayer
	muli %r1,%r1,328
	ldafr %r2,players+28
;P_Ticker+80
	ldwzx.xd %r1,%r1,%r2,0,0
	bwnei %r1,1,P_Ticker+16
	nop 0
;P_Ticker+96
	mov %r3,%gz
	ldafr %r1,players
	ldafr %r4,playeringame
;P_Ticker+112
	jmp P_Ticker+144
	nop 0
	nop 0
;P_Ticker+128
	addi %r3,%r3,4
	addi %r1,%r1,328
	bdeqi %r3,16,P_Ticker+176
;P_Ticker+144
	ldwzx.xd %r2,%r3,%r4,0,0
	bweq %r2,%gz,P_Ticker+128
	mov %r6,%r1
;P_Ticker+160
	callr %r5,P_PlayerThink
	jmp P_Ticker+128
	nop 0
;P_Ticker+176
	lddzr %r1,thinkercap+8
	ldafr %r3,thinkercap
	bdne %r1,%r3,P_Ticker+256
;P_Ticker+192
	callr %r6,P_UpdateSpecials
	callr %r6,P_RespawnSpecials
	ldwzr %r1,leveltime
;P_Ticker+208
	addiws %r1,%r1,1
	stwr %r1,leveltime
	retf 0
;P_Ticker+224
	mov %r6,%r1
	callri %r5,%r2,%gz
	nop 0
;P_Ticker+240
	lddz %r1,%r1,8
	bdeq %r1,%r3,P_Ticker+192
	nop 0
;P_Ticker+256
	lddz %r2,%r1,16
	bdeq %r2,%gz,P_Ticker+240
	bdnei %r2,-1,P_Ticker+224
;P_Ticker+272
	lddz %r2,%r1,0
	lddz %r4,%r1,8
	std %r2,%r4,0
;P_Ticker+288
	std %r4,%r2,8
	mov %r6,%r1
	callr %r5,Z_Free
;P_Ticker+304
	jmp P_Ticker+240
	nop 0
	nop 0
;P_Thrust
	alloc 6
	lddzr %r4,finecosine
	lddz %r1,%r1,0
;P_Thrust+16
	srliw %r2,%r2,19
	ldwsx.xuw %r4,%r4,%r2,2,0
	ldwz %r5,%r1,112
;P_Thrust+32
	sraiw %r3,%r3,0
	mul %r4,%r4,%r3
	srli %r4,%r4,16
;P_Thrust+48
	addws %r4,%r5,%r4
	stw %r4,%r1,112
	ldafr %r4,finesine
;P_Thrust+64
	ldwsx.xuw %r2,%r4,%r2,2,0
	ldwz %r4,%r1,116
	mul %r2,%r2,%r3
;P_Thrust+80
	srli %r2,%r2,16
	addws %r2,%r4,%r2
	stw %r2,%r1,116
;P_Thrust+96
	retf 0
	nop 0
	nop 0
;P_CalcHeight
	alloc 7
	lddz %r2,%r1,0
	ldws %r3,%r2,112
;P_CalcHeight+16
	ldws %r4,%r2,116
	mul %r3,%r3,%r3
	srli %r3,%r3,16
;P_CalcHeight+32
	mul %r4,%r4,%r4
	srli %r4,%r4,16
	addws %r3,%r4,%r3
;P_CalcHeight+48
	sraiw %r3,%r3,2
	ldi %r4,1048576
	minsw %r3,%r3,%r4
;P_CalcHeight+64
	stw %r3,%r1,40
	ldbz %r4,%r1,208
	bbsi %r4,2,P_CalcHeight+176
;P_CalcHeight+80
	ldwzr %r4,onground
	bweq %r4,%gz,P_CalcHeight+176
	ldwzr %r4,leveltime
;P_CalcHeight+96
	mulwsi %r4,%r4,409
	andi %r4,%r4,8191
	srliw %r5,%r3,31
;P_CalcHeight+112
	ldafr %r6,finesine
	ldwsx.xuw %r4,%r6,%r4,2,0
	ldwz %r6,%r1,8
;P_CalcHeight+128
	addws %r3,%r3,%r5
	sraiw %r3,%r3,1
	mul %r3,%r4,%r3
;P_CalcHeight+144
	srli %r3,%r3,16
	bweq %r6,%gz,P_CalcHeight+256
	ldwz %r4,%r1,32
;P_CalcHeight+160
	jmp P_CalcHeight+384
	nop 0
	nop 0
;P_CalcHeight+176
	ldwz %r3,%r2,32
	ldwz %r4,%r2,100
	nop 2
;P_CalcHeight+192
	addiws.l %r3,%r3,2686976
	addiws %r4,%r4,-262144
;P_CalcHeight+208
	minsw %r3,%r3,%r4
	stw %r3,%r1,28
	ldwz %r2,%r2,32
;P_CalcHeight+224
	ldwz %r3,%r1,32
	addws %r2,%r3,%r2
	stw %r2,%r1,28
;P_CalcHeight+240
	retf 0
	nop 0
	nop 0
;P_CalcHeight+256
	ldwz %r5,%r1,36
	ldwz %r4,%r1,32
	addws %r4,%r4,%r5
;P_CalcHeight+272
	stw %r4,%r1,32
	bwlti.l %r4,2686977,P_CalcHeight+304
;P_CalcHeight+288
	ldi %r4,2686976
	std %r4,%r1,32
	jmp P_CalcHeight+384
;P_CalcHeight+304
	ldi %r6,1
	bwgei.l %r4,1343488,P_CalcHeight+352
;P_CalcHeight+320
	ldi %r4,1343488
	stw %r4,%r1,32
	maxsw %r5,%r5,%r6
;P_CalcHeight+336
	jmp P_CalcHeight+368
	nop 0
	nop 0
;P_CalcHeight+352
	bweq %r5,%gz,P_CalcHeight+384
	nop 0
	nop 0
;P_CalcHeight+368
	addiws %r5,%r5,16384
	maxuw %r5,%r5,%r6
	stw %r5,%r1,36
;P_CalcHeight+384
	ldwz %r5,%r2,32
	ldwz %r2,%r2,100
	addws %r3,%r5,%r3
;P_CalcHeight+400
	addws %r3,%r3,%r4
	addiws %r2,%r2,-262144
	minsw %r2,%r3,%r2
;P_CalcHeight+416
	stw %r2,%r1,28
	retf 0
	nop 0
;P_MovePlayer
	alloc 13
	lddz %r11,%r1,0
	ldhz %r2,%r1,14
;P_MovePlayer+16
	ldwz %r3,%r11,56
	sladdws %r3,%r3,%r2,16
	stw %r3,%r11,56
;P_MovePlayer+32
	ldwz %r4,%r11,32
	ldwz %r5,%r11,96
	cmpwle %r2,%r4,%r5
;P_MovePlayer+48
	stwr %r2,onground
	ldbz %r2,%r1,12
	bweq %r2,%gz,P_MovePlayer+176
;P_MovePlayer+64
	bwlt %r5,%r4,P_MovePlayer+176
	lddzr %r6,finecosine
	slsrai %r7,%r2,56,56
;P_MovePlayer+80
	srliw %r8,%r3,19
	ldwsx.xuw %r6,%r6,%r8,2,0
	slliw %r7,%r7,11
;P_MovePlayer+96
	ldwz %r9,%r11,112
	sraiw %r7,%r7,0
	mul %r6,%r6,%r7
;P_MovePlayer+112
	srli %r6,%r6,16
	addws %r6,%r9,%r6
	stw %r6,%r11,112
;P_MovePlayer+128
	ldafr %r6,finesine
	ldwsx.xuw %r6,%r6,%r8,2,0
	ldwz %r8,%r11,116
;P_MovePlayer+144
	mul %r6,%r6,%r7
	srli %r6,%r6,16
	addws %r6,%r8,%r6
;P_MovePlayer+160
	stw %r6,%r11,116
	nop 0
	nop 0
;P_MovePlayer+176
	ldbz %r1,%r1,13
	bweq %r1,%gz,P_MovePlayer+304
	bwlt %r5,%r4,P_MovePlayer+304
;P_MovePlayer+192
	lddzr %r4,finecosine
	slsrai %r5,%r1,56,56
	nop 2
;P_MovePlayer+208
	addiws.l %r3,%r3,-1073741824
	srliw %r3,%r3,19
;P_MovePlayer+224
	ldwsx.xuw %r4,%r4,%r3,2,0
	slliw %r5,%r5,11
	ldwz %r6,%r11,112
;P_MovePlayer+240
	sraiw %r5,%r5,0
	mul %r4,%r4,%r5
	srli %r4,%r4,16
;P_MovePlayer+256
	addws %r4,%r6,%r4
	stw %r4,%r11,112
	ldafr %r4,finesine
;P_MovePlayer+272
	ldwsx.xuw %r3,%r4,%r3,2,0
	ldwz %r4,%r11,116
	mul %r3,%r3,%r5
;P_MovePlayer+288
	srli %r3,%r3,16
	addws %r3,%r4,%r3
	stw %r3,%r11,116
;P_MovePlayer+304
	or %r1,%r1,%r2
	bweq %r1,%gz,P_MovePlayer+336
	lddz %r1,%r11,152
;P_MovePlayer+320
	ldafr %r2,states+5960
	bdeq %r1,%r2,P_MovePlayer+352
	nop 0
;P_MovePlayer+336
	retf 0
	nop 0
	nop 0
;P_MovePlayer+352
	ldi %r12,150
	callr %r10,P_SetMobjState
	retf 0
;P_DeathThink
	alloc 11
	mov %r10,%r1
	callr %r9,P_MovePsprites
;P_DeathThink+16
	ldwz %r3,%r1,32
	cmpwgti %r2,%r3,393216
	addiws %r4,%r3,-65536
;P_DeathThink+32
	cmovlsb %r2,%r2,%r4,%r3
	bwgei.l %r3,393217,P_DeathThink+64
;P_DeathThink+48
	bwgei.l %r2,393216,P_DeathThink+80
	nop 0
;P_DeathThink+64
	ldi %r3,393216
	maxsw %r2,%r2,%r3
	stw %r2,%r1,32
;P_DeathThink+80
	stw %gz,%r1,36
	lddz %r2,%r1,0
	ldwz %r3,%r2,32
;P_DeathThink+96
	ldwz %r2,%r2,96
	cmpwle %r2,%r3,%r2
	stwr %r2,onground
;P_DeathThink+112
	mov %r10,%r1
	callr %r9,P_CalcHeight
	lddz %r2,%r1,248
;P_DeathThink+128
	bdeq %r2,%gz,P_DeathThink+224
	lddz %r3,%r1,0
	bdeq %r2,%r3,P_DeathThink+224
;P_DeathThink+144
	ldwz %r7,%r3,24
	ldwz %r8,%r3,28
	ldwz %r9,%r2,24
;P_DeathThink+160
	ldwz %r10,%r2,28
	callr %r6,R_PointToAngle2
	lddz %r2,%r1,0
;P_DeathThink+176
	ldwz %r3,%r2,56
	subws %r4,%r7,%r3
	nop 2
;P_DeathThink+192
	addiws.l %r5,%r4,59652322
	nop 2
;P_DeathThink+208
	bwgeui.l %r5,119304645,P_DeathThink+304
	stw %r7,%r2,56
;P_DeathThink+224
	ldwz %r2,%r1,240
	bweq %r2,%gz,P_DeathThink+256
	addiws %r2,%r2,-1
;P_DeathThink+240
	stw %r2,%r1,240
	nop 0
	nop 0
;P_DeathThink+256
	ldbz %r2,%r1,17
	bbci %r2,1,P_DeathThink+288
	nop 0
;P_DeathThink+272
	ldi %r2,2
	stw %r2,%r1,8
	nop 0
;P_DeathThink+288
	retf 0
	nop 0
	nop 0
;P_DeathThink+304
	bwlt %r4,%gz,P_DeathThink+336
	addiws.l %r3,%r3,59652323
;P_DeathThink+320
	jmp P_DeathThink+352
	nop 0
	nop 0
;P_DeathThink+336
	addiws.l %r3,%r3,-59652323
	nop 0
;P_DeathThink+352
	stw %r3,%r2,56
	ldbz %r2,%r1,17
	bbsi %r2,1,P_DeathThink+272
;P_DeathThink+368
	jmp P_DeathThink+288
	nop 0
	nop 0
;P_PlayerThink
	alloc 8
	lddz %r2,%r1,0
	ldwz %r4,%r2,160
;P_PlayerThink+16
	ldwz %r3,%r1,208
	andi %r5,%r4,-4097
	slliw %r3,%r3,12
;P_PlayerThink+32
	andi %r3,%r3,4096
	or %r3,%r5,%r3
	stw %r3,%r2,160
;P_PlayerThink+48
	bbci %r4,7,P_PlayerThink+80
	ldi %r4,100
	stw %r4,%r1,12
;P_PlayerThink+64
	andi %r3,%r3,-129
	stw %r3,%r2,160
	nop 0
;P_PlayerThink+80
	ldwz %r3,%r1,8
	bwnei %r3,1,P_PlayerThink+112
	mov %r7,%r1
;P_PlayerThink+96
	callr %r6,P_DeathThink
	retf 0
	nop 0
;P_PlayerThink+112
	ldwz %r3,%r2,184
	bweq %r3,%gz,P_PlayerThink+144
	addiws %r3,%r3,-1
;P_PlayerThink+128
	stw %r3,%r2,184
	jmp P_PlayerThink+160
	nop 0
;P_PlayerThink+144
	mov %r7,%r1
	callr %r6,P_MovePlayer
	nop 0
;P_PlayerThink+160
	mov %r7,%r1
	callr %r6,P_CalcHeight
	lddz %r2,%r1,0
;P_PlayerThink+176
	lddz %r2,%r2,88
	lddz %r2,%r2,0
	ldhz %r2,%r2,14
;P_PlayerThink+192
	bweq %r2,%gz,P_PlayerThink+208
	mov %r7,%r1
	callr %r6,P_PlayerInSpecialSector
;P_PlayerThink+208
	ldbs %r2,%r1,17
	bwlti %r2,0,P_PlayerThink+304
	bbci %r2,2,P_PlayerThink+464
;P_PlayerThink+224
	slsrli %r3,%r2,58,61
	bweq %r3,%gz,P_PlayerThink+320
	ldwzr %r4,gamemode
;P_PlayerThink+240
	bwnei %r3,2,P_PlayerThink+400
	bwnei %r4,2,P_PlayerThink+400
	ldwz %r3,%r1,164
;P_PlayerThink+256
	bweq %r3,%gz,P_PlayerThink+384
	ldwz %r3,%r1,124
	cmpweqi %r3,%r3,8
;P_PlayerThink+272
	ldi %r5,8
	ldi %r4,2
	cmovlsb %r3,%r3,%r4,%r5
;P_PlayerThink+288
	jmp P_PlayerThink+400
	nop 0
	nop 0
;P_PlayerThink+304
	stb %gz,%r1,17
	jmp P_PlayerThink+480
	nop 0
;P_PlayerThink+320
	ldwz %r3,%r1,160
	bweq %r3,%gz,P_PlayerThink+352
	ldwz %r3,%r1,124
;P_PlayerThink+336
	bwnei %r3,7,P_PlayerThink+368
	ldwz %r3,%r1,60
	bweq %r3,%gz,P_PlayerThink+368
;P_PlayerThink+352
	mov %r3,%gz
	ldwzr %r4,gamemode
	jmp P_PlayerThink+400
;P_PlayerThink+368
	ldi %r3,7
	ldwzr %r4,gamemode
	jmp P_PlayerThink+400
;P_PlayerThink+384
	ldi %r4,2
	mov %r3,%r4
	nop 0
;P_PlayerThink+400
	ldwzx.xuw %r5,%r1,%r3,2,132
	bweq %r5,%gz,P_PlayerThink+464
	ldwz %r5,%r1,124
;P_PlayerThink+416
	bweq %r3,%r5,P_PlayerThink+464
	addiws %r5,%r3,-7
	nop 2
;P_PlayerThink+432
	bwltui.l %r5,4294967294,P_PlayerThink+448
	bweq %r4,%gz,P_PlayerThink+464
;P_PlayerThink+448
	stw %r3,%r1,128
	nop 0
	nop 0
;P_PlayerThink+464
	bbsi %r2,1,P_PlayerThink+496
	nop 0
	nop 0
;P_PlayerThink+480
	stw %gz,%r1,204
	jmp P_PlayerThink+528
	nop 0
;P_PlayerThink+496
	ldwz %r2,%r1,204
	bwne %r2,%gz,P_PlayerThink+528
	mov %r7,%r1
;P_PlayerThink+512
	callr %r6,P_UseLines
	ldi %r2,1
	stw %r2,%r1,204
;P_PlayerThink+528
	mov %r7,%r1
	callr %r6,P_MovePsprites
	ldwz %r2,%r1,60
;P_PlayerThink+544
	bweq %r2,%gz,P_PlayerThink+560
	addiws %r2,%r2,1
	stw %r2,%r1,60
;P_PlayerThink+560
	ldwz %r2,%r1,56
	bweq %r2,%gz,P_PlayerThink+592
	addiws %r2,%r2,-1
;P_PlayerThink+576
	stw %r2,%r1,56
	nop 0
	nop 0
;P_PlayerThink+592
	ldwz %r2,%r1,64
	bweq %r2,%gz,P_PlayerThink+624
	addiws %r2,%r2,-1
;P_PlayerThink+608
	stw %r2,%r1,64
	bweq %r2,%gz,P_PlayerThink+848
	nop 0
;P_PlayerThink+624
	ldwz %r2,%r1,76
	bweq %r2,%gz,P_PlayerThink+880
	nop 0
;P_PlayerThink+640
	addiws %r2,%r2,-1
	stw %r2,%r1,76
	ldwz %r3,%r1,68
;P_PlayerThink+656
	bweq %r3,%gz,P_PlayerThink+688
	nop 0
	nop 0
;P_PlayerThink+672
	addiws %r3,%r3,-1
	stw %r3,%r1,68
	nop 0
;P_PlayerThink+688
	ldwz %r3,%r1,240
	bweq %r3,%gz,P_PlayerThink+720
	addiws %r3,%r3,-1
;P_PlayerThink+704
	stw %r3,%r1,240
	nop 0
	nop 0
;P_PlayerThink+720
	ldwz %r3,%r1,244
	bweq %r3,%gz,P_PlayerThink+752
	addiws %r3,%r3,-1
;P_PlayerThink+736
	stw %r3,%r1,244
	nop 0
	nop 0
;P_PlayerThink+752
	ldwz %r3,%r1,56
	bweq %r3,%gz,P_PlayerThink+800
	bwgei %r3,129,P_PlayerThink+784
;P_PlayerThink+768
	andi %r2,%r3,8
	bweq %r2,%gz,P_PlayerThink+832
	nop 0
;P_PlayerThink+784
	ldi %r2,32
	stw %r2,%r1,260
	retf 0
;P_PlayerThink+800
	bweq %r2,%gz,P_PlayerThink+832
	bwgei %r2,129,P_PlayerThink+912
	andi %r2,%r2,8
;P_PlayerThink+816
	bwne %r2,%gz,P_PlayerThink+912
	nop 0
	nop 0
;P_PlayerThink+832
	stw %gz,%r1,260
	retf 0
	nop 0
;P_PlayerThink+848
	lddz %r2,%r1,0
	ldwz %r3,%r2,160
	andi %r3,%r3,-262145
;P_PlayerThink+864
	stw %r3,%r2,160
	ldwz %r2,%r1,76
	bwne %r2,%gz,P_PlayerThink+640
;P_PlayerThink+880
	mov %r2,%gz
	ldwz %r3,%r1,68
	bwne %r3,%gz,P_PlayerThink+672
;P_PlayerThink+896
	jmp P_PlayerThink+688
	nop 0
	nop 0
;P_PlayerThink+912
	ldi %r2,1
	stw %r2,%r1,260
	retf 0
;R_ClearDrawSegs
	alloc 2
	ldafr %r1,drawsegs
	stdr %r1,ds_p
;R_ClearDrawSegs+16
	retf 0
	nop 0
	nop 0
;R_ClipSolidWallSegment
	alloc 11
	addiws %r5,%r1,-1
	ldafr %r4,ds_p
;R_ClipSolidWallSegment+16
	ldwz %r3,%r4,12
	addi %r4,%r4,8
	bwlt %r3,%r5,R_ClipSolidWallSegment+16
;R_ClipSolidWallSegment+32
	ldwz %r5,%r4,0
	bwle %r5,%r1,R_ClipSolidWallSegment+160
	mov %r9,%r1
;R_ClipSolidWallSegment+48
	addiws %r10,%r5,-1
	bwle %r10,%r2,R_ClipSolidWallSegment+144
	mov %r10,%r2
;R_ClipSolidWallSegment+64
	callr %r8,R_StoreWallRange
	lddzr %r3,newend
	addi %r5,%r3,8
;R_ClipSolidWallSegment+80
	stdr %r5,newend
	bdeq %r4,%r3,R_ClipSolidWallSegment+384
	nop 0
;R_ClipSolidWallSegment+96
	ldwz %r6,%r3,-4
	ldwz %r7,%r3,-8
	addi %r5,%r3,-8
;R_ClipSolidWallSegment+112
	stw %r6,%r3,4
	stw %r7,%r3,0
	mov %r3,%r5
;R_ClipSolidWallSegment+128
	bdne %r4,%r5,R_ClipSolidWallSegment+96
	jmp R_ClipSolidWallSegment+400
	nop 0
;R_ClipSolidWallSegment+144
	callr %r8,R_StoreWallRange
	stw %r1,%r4,0
	ldwz %r3,%r4,4
;R_ClipSolidWallSegment+160
	bwle %r2,%r3,R_ClipSolidWallSegment+368
	mov %r3,%gz
	nop 0
;R_ClipSolidWallSegment+176
	ldwzx.xd %r1,%r4,%r3,0,8
	ldwzx.xd %r5,%r4,%r3,0,4
	addiws %r10,%r1,-1
;R_ClipSolidWallSegment+192
	addiws %r9,%r5,1
	bwlt %r2,%r10,R_ClipSolidWallSegment+240
	callr %r8,R_StoreWallRange
;R_ClipSolidWallSegment+208
	ldwzx.xd %r1,%r4,%r3,0,12
	addi %r3,%r3,8
	bwlt %r1,%r2,R_ClipSolidWallSegment+176
;R_ClipSolidWallSegment+224
	stw %r1,%r4,4
	jmp R_ClipSolidWallSegment+272
	nop 0
;R_ClipSolidWallSegment+240
	mov %r10,%r2
	callr %r8,R_StoreWallRange
	stw %r2,%r4,4
;R_ClipSolidWallSegment+256
	bdeq %r3,%gz,R_ClipSolidWallSegment+368
	nop 0
	nop 0
;R_ClipSolidWallSegment+272
	add %r1,%r4,%r3
	lddzr %r2,newend
	bdeq %r1,%r2,R_ClipSolidWallSegment+352
;R_ClipSolidWallSegment+288
	mov %r3,%gz
	nop 0
	nop 0
;R_ClipSolidWallSegment+304
	ldwzx.xd %r5,%r1,%r3,0,12
	ldwzx.xd %r6,%r1,%r3,0,8
	stwx.xd %r5,%r4,%r3,0,12
;R_ClipSolidWallSegment+320
	stwx.xd %r6,%r4,%r3,0,8
	ldax.xd %r5,%r3,%r1,0,8
	addi %r3,%r3,8
;R_ClipSolidWallSegment+336
	bdne %r5,%r2,R_ClipSolidWallSegment+304
	add %r4,%r4,%r3
	nop 0
;R_ClipSolidWallSegment+352
	addi %r1,%r4,8
	stdr %r1,newend
	nop 0
;R_ClipSolidWallSegment+368
	retf 0
	nop 0
	nop 0
;R_ClipSolidWallSegment+384
	mov %r5,%r3
	nop 0
	nop 0
;R_ClipSolidWallSegment+400
	stw %r1,%r5,0
	stw %r2,%r5,4
	retf 0
;R_ClipPassWallSegment
	alloc 8
	mov %r6,%r1
	addiws %r4,%r1,-1
;R_ClipPassWallSegment+16
	ldafr %r3,solidsegs
	nop 0
	nop 0
;R_ClipPassWallSegment+32
	ldwz %r1,%r3,4
	addi %r3,%r3,8
	bwlt %r1,%r4,R_ClipPassWallSegment+32
;R_ClipPassWallSegment+48
	ldwz %r4,%r3,-8
	bwle %r4,%r6,R_ClipPassWallSegment+112
	addiws %r7,%r4,-1
;R_ClipPassWallSegment+64
	bwle %r7,%r2,R_ClipPassWallSegment+96
	nop 0
	nop 0
;R_ClipPassWallSegment+80
	mov %r7,%r2
	callr %r5,R_StoreWallRange
	retf 0
;R_ClipPassWallSegment+96
	callr %r5,R_StoreWallRange
	ldwz %r1,%r3,-4
	nop 0
;R_ClipPassWallSegment+112
	bwle %r2,%r1,R_ClipPassWallSegment+176
	nop 0
	nop 0
;R_ClipPassWallSegment+128
	ldwz %r1,%r3,0
	ldwz %r4,%r3,-4
	addiws %r7,%r1,-1
;R_ClipPassWallSegment+144
	addiws %r6,%r4,1
	bwlt %r2,%r7,R_ClipPassWallSegment+80
	callr %r5,R_StoreWallRange
;R_ClipPassWallSegment+160
	ldwz %r1,%r3,4
	addi %r3,%r3,8
	bwlt %r1,%r2,R_ClipPassWallSegment+128
;R_ClipPassWallSegment+176
	retf 0
	nop 0
	nop 0
;R_ClearClipSegs
	alloc 3
	ldwzr %r1,viewwidth
	nop 2
;R_ClearClipSegs+16
	ldi.l %r2,-2147483647
	stwr %r2,solidsegs
;R_ClearClipSegs+32
	ldi %r2,-1
	stwr %r2,solidsegs+4
	stwr %r1,solidsegs+8
;R_ClearClipSegs+48
	ldi.l %r1,2147483647
	stwr %r1,solidsegs+12
;R_ClearClipSegs+64
	ldafr %r1,solidsegs+16
	stdr %r1,newend
	retf 0
;R_AddLine
	alloc 12
	stdr %r1,curline
	lddz %r2,%r1,0
;R_AddLine+16
	ldwz %r10,%r2,0
	ldwz %r11,%r2,4
	callr %r9,R_PointToAngle
;R_AddLine+32
	lddz %r3,%r1,8
	mov %r2,%r10
	ldwz %r10,%r3,0
;R_AddLine+48
	ldwz %r11,%r3,4
	callr %r9,R_PointToAngle
	subws %r3,%r2,%r10
;R_AddLine+64
	bwlt %r3,%gz,R_AddLine+384
	ldwzr %r7,viewangle
	ldwzr %r5,clipangle
;R_AddLine+80
	subws %r4,%r2,%r7
	addws %r8,%r4,%r5
	slliw %r6,%r5,1
;R_AddLine+96
	stwr %r2,rw_angle1
	bwleu %r8,%r6,R_AddLine+128
	subws %r2,%r8,%r6
;R_AddLine+112
	mov %r4,%r5
	bwleu %r3,%r2,R_AddLine+384
	nop 0
;R_AddLine+128
	subws %r2,%r10,%r7
	subws %r7,%r5,%r2
	bwleu %r7,%r6,R_AddLine+160
;R_AddLine+144
	subws %r2,%r7,%r6
	bwleu %r3,%r2,R_AddLine+384
	subfiws %r2,%r5,0
;R_AddLine+160
	addiws.l %r3,%r4,1073741824
	srliw %r3,%r3,19
;R_AddLine+176
	addiws.l %r2,%r2,1073741824
	srliw %r2,%r2,19
;R_AddLine+192
	ldafr %r4,viewangletox
	ldwzx.xuw %r10,%r4,%r3,2,0
	ldwzx.xuw %r2,%r4,%r2,2,0
;R_AddLine+208
	bweq %r10,%r2,R_AddLine+384
	lddz %r1,%r1,48
	stdr %r1,backsector
;R_AddLine+224
	bdeq %r1,%gz,R_AddLine+368
	lddzr %r3,frontsector
	ldwz %r4,%r1,4
;R_AddLine+240
	ldwz %r5,%r3,0
	bwle %r4,%r5,R_AddLine+368
	ldwz %r7,%r1,0
;R_AddLine+256
	ldwz %r6,%r3,4
	bwle %r6,%r7,R_AddLine+368
	bwne %r7,%r5,R_AddLine+352
;R_AddLine+272
	bwne %r4,%r6,R_AddLine+352
	ldhz %r4,%r1,10
	ldhz %r5,%r3,10
;R_AddLine+288
	bwne %r4,%r5,R_AddLine+352
	ldhz %r4,%r1,8
	ldhz %r5,%r3,8
;R_AddLine+304
	bwne %r4,%r5,R_AddLine+352
	ldhz %r1,%r1,12
	ldhz %r3,%r3,12
;R_AddLine+320
	bwne %r1,%r3,R_AddLine+352
	lddzr %r1,curline
	lddz %r1,%r1,24
;R_AddLine+336
	ldhz %r1,%r1,12
	bweq %r1,%gz,R_AddLine+384
	nop 0
;R_AddLine+352
	addiws %r11,%r2,-1
	callr %r9,R_ClipPassWallSegment
	retf 0
;R_AddLine+368
	addiws %r11,%r2,-1
	callr %r9,R_ClipSolidWallSegment
	nop 0
;R_AddLine+384
	retf 0
	nop 0
	nop 0
;R_CheckBBox
	alloc 11
	mov %r2,%r1
	ldwzr %r3,viewx
;R_CheckBBox+16
	ldwz %r4,%r1,8
	mov %r1,%gz
	bwle %r3,%r4,R_CheckBBox+64
;R_CheckBBox+32
	ldwz %r1,%r2,12
	cmpwlt %r1,%r3,%r1
	ldi %r3,2
;R_CheckBBox+48
	ldi %r4,1
	cmovlsb %r1,%r1,%r4,%r3
	nop 0
;R_CheckBBox+64
	ldwzr %r3,viewy
	ldwz %r5,%r2,0
	mov %r4,%gz
;R_CheckBBox+80
	bwle %r5,%r3,R_CheckBBox+112
	ldwz %r4,%r2,4
	cmpwlt %r3,%r4,%r3
;R_CheckBBox+96
	ldi %r4,8
	ldi %r5,4
	cmovlsb %r4,%r3,%r5,%r4
;R_CheckBBox+112
	or %r3,%r4,%r1
	ldi %r1,1
	bweqi %r3,5,R_CheckBBox+448
;R_CheckBBox+128
	ldafr %r4,checkcoord
	ldwsx.xuw %r4,%r4,%r3,4,0
	ldafr %r5,checkcoord+4
;R_CheckBBox+144
	ldwsx.xuw %r5,%r5,%r3,4,0
	ldafr %r6,checkcoord+8
	ldwsx.xuw %r6,%r6,%r3,4,0
;R_CheckBBox+160
	ldafr %r7,checkcoord+12
	ldwsx.xuw %r7,%r7,%r3,4,0
	ldwzx.xd %r9,%r2,%r4,2,0
;R_CheckBBox+176
	ldwzx.xd %r10,%r2,%r5,2,0
	ldwzx.xd %r3,%r2,%r6,2,0
	ldwzx.xd %r2,%r2,%r7,2,0
;R_CheckBBox+192
	callr %r8,R_PointToAngle
	ldwzr %r4,viewangle
	subws %r4,%r9,%r4
;R_CheckBBox+208
	mov2 %r9,%r10,%r3,%r2
	callr %r8,R_PointToAngle
	ldwzr %r2,viewangle
;R_CheckBBox+224
	subws %r2,%r9,%r2
	subws %r3,%r4,%r2
	bwlt %r3,%gz,R_CheckBBox+448
;R_CheckBBox+240
	ldwzr %r1,clipangle
	addws %r6,%r1,%r4
	slliw %r5,%r1,1
;R_CheckBBox+256
	bwleu %r6,%r5,R_CheckBBox+288
	subws %r6,%r6,%r5
	mov %r4,%r1
;R_CheckBBox+272
	bwleu %r3,%r6,R_CheckBBox+384
	nop 0
	nop 0
;R_CheckBBox+288
	subws %r6,%r1,%r2
	bwleu %r6,%r5,R_CheckBBox+320
	subws %r2,%r6,%r5
;R_CheckBBox+304
	bwleu %r3,%r2,R_CheckBBox+384
	subfiws %r2,%r1,0
	nop 0
;R_CheckBBox+320
	addiws.l %r1,%r4,1073741824
	srliw %r1,%r1,19
;R_CheckBBox+336
	addiws.l %r2,%r2,1073741824
	srliw %r2,%r2,19
;R_CheckBBox+352
	ldafr %r3,viewangletox
	ldwzx.xuw %r1,%r3,%r1,2,0
	ldwzx.xuw %r2,%r3,%r2,2,0
;R_CheckBBox+368
	bwne %r1,%r2,R_CheckBBox+400
	nop 0
	nop 0
;R_CheckBBox+384
	mov %r1,%gz
	retf 0
	nop 0
;R_CheckBBox+400
	addiws %r3,%r2,-1
	ldafr %r2,ds_p
	nop 0
;R_CheckBBox+416
	ldwz %r4,%r2,12
	addi %r2,%r2,8
	bwlt %r4,%r3,R_CheckBBox+416
;R_CheckBBox+432
	ldwz %r2,%r2,0
	cmpwlt %r1,%r1,%r2
	nop 0
;R_CheckBBox+448
	retf 0
	nop 0
	nop 0
;R_Subsector
	allocsp 10,16
	ldwzr %r2,numsubsectors
	bwlt %r1,%r2,R_Subsector+48
;R_Subsector+16
	stw %r2,%sp,4
	ldafr %r9,.rodata+21208
	stw %r1,%sp,0
;R_Subsector+32
	callr %r8,I_Error
	nop 0
	nop 0
;R_Subsector+48
	ldwzr %r2,sscount
	lddzr %r4,subsectors
	addiws %r2,%r2,1
;R_Subsector+64
	stwr %r2,sscount
	lddzx.xw %r9,%r4,%r1,4,0
	stdr %r9,frontsector
;R_Subsector+80
	ldwz %r7,%r9,0
	ldwzr %r5,viewz
	ldhsx.xw %r3,%r4,%r1,4,8
;R_Subsector+96
	lddzr %r2,segs
	ldhsx.xw %r4,%r4,%r1,4,10
	bwle %r5,%r7,R_Subsector+144
;R_Subsector+112
	ldhs %r8,%r9,8
	ldhs %r9,%r9,12
	callr %r6,R_FindPlane
;R_Subsector+128
	lddzr %r9,frontsector
	ldwzr %r5,viewz
	jmp R_Subsector+160
;R_Subsector+144
	mov %r7,%gz
	nop 0
	nop 0
;R_Subsector+160
	stdr %r7,floorplane
	ldwz %r7,%r9,4
	ldhs %r8,%r9,10
;R_Subsector+176
	bwlt %r5,%r7,R_Subsector+208
	ldwzr %r1,skyflatnum
	bweq %r1,%r8,R_Subsector+208
;R_Subsector+192
	mov %r7,%gz
	jmp R_Subsector+224
	nop 0
;R_Subsector+208
	ldhs %r9,%r9,12
	callr %r6,R_FindPlane
	lddzr %r9,frontsector
;R_Subsector+224
	stdr %r7,ceilingplane
	callr %r8,R_AddSprites
	bweq %r3,%gz,R_Subsector+288
;R_Subsector+240
	ldi %r1,56
	muladd %r1,%r4,%r1,%r2
	nop 0
;R_Subsector+256
	addiws %r3,%r3,-1
	mov %r9,%r1
	callr %r8,R_AddLine
;R_Subsector+272
	addi %r1,%r1,56
	bwne %r3,%gz,R_Subsector+256
	nop 0
;R_Subsector+288
	retf 16
	nop 0
	nop 0
;R_RenderBSPNode
	alloc 9
	bbsi %r1,15,R_RenderBSPNode+128
	lddzr %r3,nodes
;R_RenderBSPNode+16
	sraiw %r2,%r1,0
	ldi %r1,52
	muladd %r1,%r2,%r1,%r3
;R_RenderBSPNode+32
	muli %r4,%r2,52
	ldwzr %r6,viewx
	ldwzr %r7,viewy
;R_RenderBSPNode+48
	mov %r8,%r1
	callr %r5,R_PointOnSide
	ldax.xd %r3,%r3,%r4,0,48
;R_RenderBSPNode+64
	ldhzx.xw %r8,%r1,%r6,1,48
	callr %r7,R_RenderBSPNode
	xori %r2,%r6,1
;R_RenderBSPNode+80
	ldax.xw %r8,%r1,%r2,4,16
	callr %r7,R_CheckBBox
	bweq %r8,%gz,R_RenderBSPNode+112
;R_RenderBSPNode+96
	sraiw %r1,%r2,0
	ldhzx.xd %r8,%r3,%r1,1,0
	callr %r7,R_RenderBSPNode
;R_RenderBSPNode+112
	retf 0
	nop 0
	nop 0
;R_RenderBSPNode+128
	bweqi %r1,-1,R_RenderBSPNode+160
	andi %r8,%r1,-32769
	callr %r7,R_Subsector
;R_RenderBSPNode+144
	retf 0
	nop 0
	nop 0
;R_RenderBSPNode+160
	mov %r8,%gz
	callr %r7,R_Subsector
	retf 0
;R_DrawColumnInCache
	alloc 14
	ldbz %r5,%r1,0
	bwnei %r5,255,R_DrawColumnInCache+64
;R_DrawColumnInCache+16
	retf 0
	nop 0
	nop 0
;R_DrawColumnInCache+32
	andi %r5,%r6,255
	ldax.xd %r6,%r1,%r5,0,4
	ldbzx.xd %r5,%r1,%r5,0,4
;R_DrawColumnInCache+48
	mov %r1,%r6
	bweqi %r5,255,R_DrawColumnInCache+16
	nop 0
;R_DrawColumnInCache+64
	ldbz %r6,%r1,1
	andi %r5,%r5,255
	addws %r5,%r3,%r5
;R_DrawColumnInCache+80
	minsw %r7,%r5,%gz
	addws %r7,%r7,%r6
	maxsw %r5,%r5,%gz
;R_DrawColumnInCache+96
	addws %r8,%r7,%r5
	cmpwlt %r8,%r4,%r8
	subws %r9,%r4,%r5
;R_DrawColumnInCache+112
	cmovlsb %r7,%r8,%r9,%r7
	bwlti %r7,1,R_DrawColumnInCache+32
	addi %r12,%r1,3
;R_DrawColumnInCache+128
	ldax.xuw %r11,%r2,%r5,0,0
	srliw %r13,%r7,0
	callr %r10,memcpy
;R_DrawColumnInCache+144
	ldbz %r6,%r1,1
	jmp R_DrawColumnInCache+32
	nop 0
;R_GenerateComposite
	alloc 27
	lddzr %r2,textures
	lddzr %r3,texturecompositesize
;R_GenerateComposite+16
	lddzr %r4,texturecomposite
	lddzx.xw %r5,%r2,%r1,3,0
	ldwzx.xw %r24,%r3,%r1,2,0
;R_GenerateComposite+32
	ldax.xw %r26,%r4,%r1,3,0
	ldi %r25,1
	callr %r23,Z_Malloc
;R_GenerateComposite+48
	ldhs %r2,%r5,24
	mov %r4,%r24
	bwlti %r2,1,R_GenerateComposite+496
;R_GenerateComposite+64
	lddzr %r2,texturecolumnlump
	lddzr %r3,texturecolumnofs
	mov %r6,%gz
;R_GenerateComposite+80
	lddzx.xw %r7,%r2,%r1,3,0
	lddzx.xw %r8,%r3,%r1,3,0
	addi %r9,%r5,28
;R_GenerateComposite+96
	ldi %r2,8
	jmp R_GenerateComposite+144
	nop 0
;R_GenerateComposite+112
	ldhs %r1,%r5,24
	addiws %r6,%r6,1
	addi %r9,%r9,8
;R_GenerateComposite+128
	bwle %r1,%r6,R_GenerateComposite+496
	nop 0
	nop 0
;R_GenerateComposite+144
	ldwz %r25,%r9,4
	mov %r26,%r2
	callr %r24,W_CacheLumpNum
;R_GenerateComposite+160
	ldbs %r10,%r25,1
	ldbz %r11,%r25,0
	ldhs %r1,%r9,0
;R_GenerateComposite+176
	ldhs %r13,%r5,8
	slor %r10,%r11,%r10,8
	addws %r10,%r10,%r1
;R_GenerateComposite+192
	maxsw %r12,%r1,%gz
	minsw %r13,%r10,%r13
	bwle %r13,%r12,R_GenerateComposite+112
;R_GenerateComposite+208
	mov %r3,%r25
	sraiw %r10,%r1,0
	addi %r11,%r25,8
;R_GenerateComposite+224
	srliw %r12,%r12,0
	srliw %r13,%r13,0
	jmp R_GenerateComposite+256
;R_GenerateComposite+240
	addi %r12,%r12,1
	bdeq %r12,%r13,R_GenerateComposite+112
	nop 0
;R_GenerateComposite+256
	ldhsx.xd %r1,%r7,%r12,1,0
	bwgei %r1,0,R_GenerateComposite+240
	sub %r1,%r12,%r10
;R_GenerateComposite+272
	ldbzx.xd %r14,%r11,%r1,2,1
	ldbzx.xd %r15,%r11,%r1,2,0
	ldbsx.xd %r16,%r11,%r1,2,3
;R_GenerateComposite+288
	ldbzx.xd %r1,%r11,%r1,2,2
	slli %r16,%r16,24
	slor %r14,%r15,%r14,8
;R_GenerateComposite+304
	slor %r1,%r16,%r1,16
	or %r14,%r1,%r14
	ldbzx.xd %r1,%r3,%r14,0,0
;R_GenerateComposite+320
	bweqi %r1,255,R_GenerateComposite+240
	ldhzx.xd %r15,%r8,%r12,1,0
	add %r16,%r3,%r14
;R_GenerateComposite+336
	add %r14,%r4,%r15
	ldhs %r15,%r9,2
	ldhs %r17,%r5,10
;R_GenerateComposite+352
	jmp R_GenerateComposite+400
	nop 0
	nop 0
;R_GenerateComposite+368
	andi %r1,%r18,255
	ldax.xd %r18,%r16,%r1,0,4
	ldbzx.xd %r1,%r16,%r1,0,4
;R_GenerateComposite+384
	mov %r16,%r18
	bweqi %r1,255,R_GenerateComposite+240
	nop 0
;R_GenerateComposite+400
	ldbz %r18,%r16,1
	andi %r1,%r1,255
	addws %r1,%r1,%r15
;R_GenerateComposite+416
	minsw %r19,%r1,%gz
	addws %r19,%r19,%r18
	maxsw %r1,%r1,%gz
;R_GenerateComposite+432
	addws %r20,%r19,%r1
	cmpwlt %r20,%r17,%r20
	subws %r21,%r17,%r1
;R_GenerateComposite+448
	cmovlsb %r19,%r20,%r21,%r19
	bwlti %r19,1,R_GenerateComposite+368
	addi %r25,%r16,3
;R_GenerateComposite+464
	ldax.xuw %r24,%r14,%r1,0,0
	srliw %r26,%r19,0
	callr %r23,memcpy
;R_GenerateComposite+480
	ldbz %r18,%r16,1
	jmp R_GenerateComposite+368
	nop 0
;R_GenerateComposite+496
	ldafr %r25,.rodata+11894
	ldi %r24,8
	ldi %r26,286
;R_GenerateComposite+512
	mov %r23,%r4
	callr %r22,Z_ChangeTag2
	retf 0
;R_GenerateLookup
	allocsp 19,32
	lddzr %r2,textures
	lddzr %r3,texturecomposite
;R_GenerateLookup+16
	lddzx.xw %r4,%r2,%r1,3,0
	stdx.xw %gz,%r3,%r1,3,0
	lddzr %r2,texturecompositesize
;R_GenerateLookup+32
	stwx.xw %gz,%r2,%r1,2,0
	lddzr %r2,texturecolumnlump
	lddzr %r3,texturecolumnofs
;R_GenerateLookup+48
	lddzx.xw %r5,%r2,%r1,3,0
	lddzx.xw %r6,%r3,%r1,3,0
	ldhs %r16,%r4,8
;R_GenerateLookup+64
	ldi %r17,1
	addi %r18,%sp,24
	callr %r15,Z_Malloc
;R_GenerateLookup+80
	std %r16,%sp,24
	ldhs %r18,%r4,8
	mov %r17,%gz
;R_GenerateLookup+96
	callr %r15,memset
	ldhs %r2,%r4,24
	bwlti %r2,1,R_GenerateLookup+384
;R_GenerateLookup+112
	mov %r7,%gz
	addi %r8,%r4,28
	ldi %r2,8
;R_GenerateLookup+128
	jmp R_GenerateLookup+176
	nop 0
	nop 0
;R_GenerateLookup+144
	ldhs %r3,%r4,24
	addiws %r7,%r7,1
	addi %r8,%r8,8
;R_GenerateLookup+160
	bwle %r3,%r7,R_GenerateLookup+384
	nop 0
	nop 0
;R_GenerateLookup+176
	ldwz %r17,%r8,4
	mov %r18,%r2
	callr %r16,W_CacheLumpNum
;R_GenerateLookup+192
	ldbs %r9,%r17,1
	ldbz %r10,%r17,0
	ldhs %r3,%r8,0
;R_GenerateLookup+208
	ldhs %r12,%r4,8
	slor %r9,%r10,%r9,8
	addws %r9,%r9,%r3
;R_GenerateLookup+224
	maxsw %r11,%r3,%gz
	minsw %r9,%r9,%r12
	bwle %r9,%r11,R_GenerateLookup+144
;R_GenerateLookup+240
	sraiw %r12,%r3,0
	srliw %r3,%r11,0
	srliw %r9,%r9,0
;R_GenerateLookup+256
	ldax.xuw %r10,%r6,%r11,1,0
	slli %r13,%r3,2
	ldax.xuw %r11,%r5,%r11,1,0
;R_GenerateLookup+272
	slsub %r12,%r13,%r12,2
	ldax.xd %r12,%r17,%r12,0,8
	nop 0
;R_GenerateLookup+288
	lddz %r13,%sp,24
	ldbzx.xd %r14,%r13,%r3,0,0
	addiws %r14,%r14,1
;R_GenerateLookup+304
	stbx.xd %r14,%r13,%r3,0,0
	ldwz %r13,%r8,4
	sth %r13,%r11,0
;R_GenerateLookup+320
	ldbz %r13,%r12,1
	ldbz %r14,%r12,0
	slor %r13,%r14,%r13,8
;R_GenerateLookup+336
	addiws %r13,%r13,3
	sth %r13,%r10,0
	addi %r3,%r3,1
;R_GenerateLookup+352
	addi %r10,%r10,2
	addi %r11,%r11,2
	addi %r12,%r12,4
;R_GenerateLookup+368
	bdne %r9,%r3,R_GenerateLookup+288
	jmp R_GenerateLookup+144
	nop 0
;R_GenerateLookup+384
	ldhs %r3,%r4,8
	bwlti %r3,1,R_GenerateLookup+576
	mov %r7,%gz
;R_GenerateLookup+400
	sraiw %r8,%r1,0
	ldi %r9,65535
	ldafr %r2,.rodata+1798
;R_GenerateLookup+416
	jmp R_GenerateLookup+480
	nop 0
	nop 0
;R_GenerateLookup+432
	addws %r10,%r10,%r11
	stwx.xd %r10,%r3,%r8,2,0
	ldhz %r3,%r4,8
;R_GenerateLookup+448
	addi %r7,%r7,1
	slsrai %r10,%r3,48,48
	addi %r6,%r6,2
;R_GenerateLookup+464
	addi %r5,%r5,2
	bdle %r10,%r7,R_GenerateLookup+576
	nop 0
;R_GenerateLookup+480
	lddz %r10,%sp,24
	ldbzx.xd %r10,%r10,%r7,0,0
	bweqi %r10,1,R_GenerateLookup+448
;R_GenerateLookup+496
	bweq %r10,%gz,R_GenerateLookup+592
	sth %r9,%r5,0
	lddzr %r3,texturecompositesize
;R_GenerateLookup+512
	ldwzx.xd %r10,%r3,%r8,2,0
	sth %r10,%r6,0
	ldhs %r11,%r4,10
;R_GenerateLookup+528
	subfiws %r12,%r11,65536
	bwle %r10,%r12,R_GenerateLookup+432
	stw %r1,%sp,0
;R_GenerateLookup+544
	mov %r18,%r2
	callr %r17,I_Error
	lddzr %r3,texturecompositesize
;R_GenerateLookup+560
	ldhs %r11,%r4,10
	ldwzx.xd %r10,%r3,%r8,2,0
	jmp R_GenerateLookup+432
;R_GenerateLookup+576
	lddz %r18,%sp,24
	callr %r17,Z_Free
	retf 32
;R_GenerateLookup+592
	ldafr %r18,.rodata+28736
	std %r4,%sp,0
	callr %r17,printf
;R_GenerateLookup+608
	retf 32
	nop 0
	nop 0
;R_GetColumn
	alloc 9
	lddzr %r3,texturewidthmask
	lddzr %r4,texturecolumnlump
;R_GetColumn+16
	ldwzx.xw %r3,%r3,%r1,2,0
	lddzx.xw %r4,%r4,%r1,3,0
	lddzr %r5,texturecolumnofs
;R_GetColumn+32
	and %r2,%r3,%r2
	ldhsx.xw %r7,%r4,%r2,1,0
	lddzx.xw %r3,%r5,%r1,3,0
;R_GetColumn+48
	ldhzx.xw %r2,%r3,%r2,1,0
	bwlti %r7,1,R_GetColumn+80
	ldi %r8,8
;R_GetColumn+64
	callr %r6,W_CacheLumpNum
	add %r1,%r7,%r2
	retf 0
;R_GetColumn+80
	lddzr %r4,texturecomposite
	sraiw %r3,%r1,0
	lddzx.xd %r7,%r4,%r3,3,0
;R_GetColumn+96
	bdeq %r7,%gz,R_GetColumn+112
	add %r1,%r7,%r2
	retf 0
;R_GetColumn+112
	mov %r8,%r1
	callr %r7,R_GenerateComposite
	lddzr %r1,texturecomposite
;R_GetColumn+128
	lddzx.xd %r7,%r1,%r3,3,0
	add %r1,%r7,%r2
	retf 0
;R_InitTextures
	allocsp 30,32
	stb %gz,%sp,31
	ldafr %r28,.rodata+9466
;R_InitTextures+16
	ldi %r1,1
	mov %r29,%r1
	callr %r27,W_CacheLumpName
;R_InitTextures+32
	mov %r2,%r28
	ldwz %r3,%r28,0
	slliw %r27,%r3,2
;R_InitTextures+48
	mov2 %r28,%r29,%r1,%gz
	callr %r26,Z_Malloc
	mov %r1,%r27
;R_InitTextures+64
	bwlti %r3,1,R_InitTextures+160
	addi %r2,%r2,4
	srliw %r6,%r3,0
;R_InitTextures+80
	addi %r3,%sp,23
	ldi %r4,9
	mov %r7,%r1
;R_InitTextures+96
	mov2 %r27,%r28,%r3,%r2
	mov %r29,%r4
	callr %r26,M_StringCopy
;R_InitTextures+112
	mov %r29,%r3
	callr %r28,W_CheckNumForName
	stw %r29,%r7,0
;R_InitTextures+128
	addi %r2,%r2,8
	addi %r6,%r6,-1
	addi %r7,%r7,4
;R_InitTextures+144
	bdne %r6,%gz,R_InitTextures+96
	nop 0
	nop 0
;R_InitTextures+160
	ldafr %r29,.rodata+9466
	callr %r28,W_ReleaseLumpName
	ldafr %r2,.rodata+13942
;R_InitTextures+176
	ldi %r29,1
	mov %r28,%r2
	callr %r27,W_CacheLumpName
;R_InitTextures+192
	mov %r6,%r28
	ldwz %r10,%r28,0
	mov %r29,%r2
;R_InitTextures+208
	callr %r28,W_GetNumForName
	callr %r28,W_LumpLength
	mov %r2,%r29
;R_InitTextures+224
	ldafr %r29,.rodata+3555
	callr %r28,W_CheckNumForName
	bweqi %r29,-1,R_InitTextures+304
;R_InitTextures+240
	ldafr %r4,.rodata+3555
	ldi %r29,1
	mov %r28,%r4
;R_InitTextures+256
	callr %r27,W_CacheLumpName
	mov %r3,%r28
	ldwz %r5,%r28,0
;R_InitTextures+272
	mov %r29,%r4
	callr %r28,W_GetNumForName
	callr %r28,W_LumpLength
;R_InitTextures+288
	mov %r4,%r29
	jmp R_InitTextures+320
	nop 0
;R_InitTextures+304
	mov2 %r3,%r4,%gz,%gz
	mov %r5,%gz
	nop 0
;R_InitTextures+320
	addws %r5,%r5,%r10
	stwr %r5,numtextures
	slliw %r27,%r5,3
;R_InitTextures+336
	ldi %r5,1
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
;R_InitTextures+352
	ldwzr %r7,numtextures
	stdr %r27,textures
	slliw %r27,%r7,3
;R_InitTextures+368
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
	ldwzr %r7,numtextures
;R_InitTextures+384
	stdr %r27,texturecolumnlump
	slliw %r27,%r7,3
	mov2 %r28,%r29,%r5,%gz
;R_InitTextures+400
	callr %r26,Z_Malloc
	ldwzr %r7,numtextures
	stdr %r27,texturecolumnofs
;R_InitTextures+416
	slliw %r27,%r7,3
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
;R_InitTextures+432
	ldwzr %r7,numtextures
	stdr %r27,texturecomposite
	slliw %r27,%r7,2
;R_InitTextures+448
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
	ldwzr %r7,numtextures
;R_InitTextures+464
	stdr %r27,texturecompositesize
	slliw %r27,%r7,2
	mov2 %r28,%r29,%r5,%gz
;R_InitTextures+480
	callr %r26,Z_Malloc
	ldwzr %r7,numtextures
	stdr %r27,texturewidthmask
;R_InitTextures+496
	slliw %r27,%r7,2
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
;R_InitTextures+512
	stdr %r27,textureheight
	ldafr %r29,.rodata+7446
	callr %r28,W_GetNumForName
;R_InitTextures+528
	mov %r7,%r29
	ldafr %r29,.rodata+4185
	callr %r28,W_GetNumForName
;R_InitTextures+544
	mov %r8,%r29
	ldwzr %r11,numtextures
	callr %r28,I_ConsoleStdout
;R_InitTextures+560
	bweq %r29,%gz,R_InitTextures+768
	subws %r7,%r8,%r7
	addiws %r7,%r7,62
;R_InitTextures+576
	sraiw %r8,%r7,31
	srliw %r8,%r8,26
	addws %r7,%r7,%r8
;R_InitTextures+592
	sraiw %r7,%r7,6
	addiws %r8,%r11,63
	sraiw %r9,%r8,31
;R_InitTextures+608
	srliw %r9,%r9,26
	addws %r8,%r8,%r9
	sraiw %r8,%r8,6
;R_InitTextures+624
	addws %r9,%r8,%r7
	ldi %r29,91
	callr %r28,putchar
;R_InitTextures+640
	bwlti %r9,-8,R_InitTextures+704
	mov %r8,%gz
	addiws %r11,%r9,8
;R_InitTextures+656
	ldi %r7,32
	nop 0
	nop 0
;R_InitTextures+672
	mov2 %r12,%r29,%r8,%r7
	callr %r28,putchar
	addiws %r8,%r8,1
;R_InitTextures+688
	bwlt %r12,%r11,R_InitTextures+672
	nop 0
	nop 0
;R_InitTextures+704
	ldi %r29,93
	callr %r28,putchar
	bwlti %r9,-9,R_InitTextures+768
;R_InitTextures+720
	mov %r8,%gz
	addiws %r9,%r9,9
	ldi %r7,8
;R_InitTextures+736
	mov2 %r11,%r29,%r8,%r7
	callr %r28,putchar
	addiws %r8,%r8,1
;R_InitTextures+752
	bwlt %r11,%r9,R_InitTextures+736
	nop 0
	nop 0
;R_InitTextures+768
	ldwzr %r7,numtextures
	bwlti %r7,1,R_InitTextures+1456
	mov %r12,%gz
;R_InitTextures+784
	srliw %r13,%r10,0
	ldi %r7,46
	ldafr %r8,.rodata+11903
;R_InitTextures+800
	ldi %r14,28
	ldafr %r9,.rodata+1057
	mov %r15,%r6
;R_InitTextures+816
	bmany %r12,63,R_InitTextures+832
	mov %r29,%r7
	callr %r28,putchar
;R_InitTextures+832
	cmpdeq %r10,%r12,%r13
	cmovlsb %r11,%r10,%r3,%r6
	ldwz %r17,%r11,4
;R_InitTextures+848
	cmovlsb %r2,%r10,%r4,%r2
	bwle %r17,%r2,R_InitTextures+880
	mov %r29,%r8
;R_InitTextures+864
	callr %r28,I_Error
	nop 0
	nop 0
;R_InitTextures+880
	cmovlsb %r15,%r10,%r3,%r15
	ldax.xw %r16,%r15,%r17,0,0
	ldbsx.xw %r6,%r15,%r17,0,21
;R_InitTextures+896
	ldbzx.xw %r10,%r15,%r17,0,20
	slliw %r6,%r6,11
	slor %r6,%r6,%r10,3
;R_InitTextures+912
	addiws %r27,%r6,32
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
;R_InitTextures+928
	lddzr %r6,textures
	mov %r10,%r27
	stdx.xd %r27,%r6,%r12,3,0
;R_InitTextures+944
	ldbzx.xw %r6,%r15,%r17,0,13
	ldbzx.xw %r18,%r15,%r17,0,12
	slor %r18,%r18,%r6,8
;R_InitTextures+960
	sth %r18,%r27,8
	ldbzx.xw %r6,%r15,%r17,0,15
	ldbzx.xw %r19,%r15,%r17,0,14
;R_InitTextures+976
	slor %r6,%r19,%r6,8
	sth %r6,%r27,10
	ldbsx.xw %r6,%r15,%r17,0,21
;R_InitTextures+992
	ldbzx.xw %r19,%r15,%r17,0,20
	slor %r6,%r19,%r6,8
	sth %r6,%r27,24
;R_InitTextures+1008
	ldbzx.xw %r19,%r15,%r17,0,5
	ldbzx.xw %r20,%r15,%r17,0,4
	ldbzx.xw %r21,%r15,%r17,0,6
;R_InitTextures+1024
	ldbzx.xw %r22,%r15,%r17,0,7
	ldbzx.xw %r23,%r15,%r17,0,1
	ldbzx.xw %r24,%r15,%r17,0,0
;R_InitTextures+1040
	ldbzx.xw %r25,%r15,%r17,0,3
	ldbzx.xw %r17,%r15,%r17,0,2
	slli %r22,%r22,24
;R_InitTextures+1056
	slor %r19,%r20,%r19,8
	slor %r20,%r22,%r21,16
	slli %r21,%r25,24
;R_InitTextures+1072
	or %r19,%r20,%r19
	slor %r20,%r24,%r23,8
	slor %r17,%r21,%r17,16
;R_InitTextures+1088
	or %r17,%r17,%r20
	slor %r17,%r17,%r19,32
	std %r17,%r27,0
;R_InitTextures+1104
	bwlti %r6,1,R_InitTextures+1296
	mov %r17,%gz
	addi %r16,%r16,22
;R_InitTextures+1120
	mov %r18,%r14
	jmp R_InitTextures+1168
	nop 0
;R_InitTextures+1136
	addiws %r17,%r17,1
	addi %r16,%r16,10
	slsrai %r19,%r6,48,48
;R_InitTextures+1152
	addi %r18,%r18,8
	bwle %r19,%r17,R_InitTextures+1280
	nop 0
;R_InitTextures+1168
	ldbz %r19,%r16,1
	ldbz %r20,%r16,0
	slor %r19,%r20,%r19,8
;R_InitTextures+1184
	sthx.xd %r19,%r10,%r18,0,0
	ldbz %r19,%r16,3
	ldbz %r20,%r16,2
;R_InitTextures+1200
	slor %r19,%r20,%r19,8
	sthx.xd %r19,%r10,%r18,0,2
	ldbs %r19,%r16,5
;R_InitTextures+1216
	ldbz %r20,%r16,4
	slli %r19,%r19,10
	slor %r19,%r19,%r20,2
;R_InitTextures+1232
	ldwzx.xd %r19,%r1,%r19,0,0
	stwx.xd %r19,%r10,%r18,0,4
	bwnei %r19,-1,R_InitTextures+1136
;R_InitTextures+1248
	std %r10,%sp,0
	mov %r29,%r9
	callr %r28,I_Error
;R_InitTextures+1264
	ldhz %r6,%r10,24
	jmp R_InitTextures+1136
	nop 0
;R_InitTextures+1280
	ldhz %r18,%r10,8
	nop 0
	nop 0
;R_InitTextures+1296
	addi %r6,%r11,4
	slsrai %r11,%r18,48,48
	slliw %r27,%r11,1
;R_InitTextures+1312
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
	lddzr %r11,texturecolumnlump
;R_InitTextures+1328
	stdx.xd %r27,%r11,%r12,3,0
	ldhs %r11,%r10,8
	slliw %r27,%r11,1
;R_InitTextures+1344
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
	lddzr %r11,texturecolumnofs
;R_InitTextures+1360
	stdx.xd %r27,%r11,%r12,3,0
	ldhs %r16,%r10,8
	mov %r17,%r5
;R_InitTextures+1376
	mov %r11,%r17
	slliw %r17,%r17,1
	bwle %r17,%r16,R_InitTextures+1376
;R_InitTextures+1392
	lddzr %r16,texturewidthmask
	addiws %r11,%r11,-1
	stwx.xd %r11,%r16,%r12,2,0
;R_InitTextures+1408
	ldhz %r10,%r10,10
	lddzr %r11,textureheight
	slliw %r10,%r10,16
;R_InitTextures+1424
	stwx.xd %r10,%r11,%r12,2,0
	ldwsr %r10,numtextures
	addi %r12,%r12,1
;R_InitTextures+1440
	bdlt %r12,%r10,R_InitTextures+816
	nop 0
	nop 0
;R_InitTextures+1456
	mov %r29,%r1
	callr %r28,Z_Free
	ldafr %r29,.rodata+13942
;R_InitTextures+1472
	callr %r28,W_ReleaseLumpName
	bdeq %r3,%gz,R_InitTextures+1504
	ldafr %r29,.rodata+3555
;R_InitTextures+1488
	callr %r28,W_ReleaseLumpName
	nop 0
	nop 0
;R_InitTextures+1504
	ldwzr %r2,numtextures
	bwlti %r2,1,R_InitTextures+1552
	mov %r1,%gz
;R_InitTextures+1520
	mov %r29,%r1
	callr %r28,R_GenerateLookup
	ldwzr %r2,numtextures
;R_InitTextures+1536
	addiws %r1,%r1,1
	bwlt %r1,%r2,R_InitTextures+1520
	nop 0
;R_InitTextures+1552
	ldi %r1,4
	sladdws %r27,%r1,%r2,2
	ldi %r28,1
;R_InitTextures+1568
	mov %r29,%gz
	callr %r26,Z_Malloc
	ldwzr %r1,numtextures
;R_InitTextures+1584
	stdr %r27,texturetranslation
	bwlti %r1,1,R_InitTextures+1632
	mov %r2,%gz
;R_InitTextures+1600
	stw %r2,%r27,0
	ldwzr %r1,numtextures
	addi %r2,%r2,1
;R_InitTextures+1616
	sraiw %r3,%r1,0
	addi %r27,%r27,4
	bdlt %r2,%r3,R_InitTextures+1600
;R_InitTextures+1632
	slliw %r27,%r1,3
	ldi %r28,1
	mov %r29,%gz
;R_InitTextures+1648
	callr %r26,Z_Malloc
	ldwsr %r1,numtextures
	stdr %r27,textures_hashtable
;R_InitTextures+1664
	slli %r29,%r1,3
	mov %r28,%gz
	callr %r26,memset
;R_InitTextures+1680
	ldwzr %r1,numtextures
	bwlti %r1,1,R_InitTextures+1824
	mov %r2,%gz
;R_InitTextures+1696
	lddzr %r3,textures
	nop 0
	nop 0
;R_InitTextures+1712
	lddzx.xd %r29,%r3,%r2,3,0
	stw %r2,%r29,12
	callr %r28,W_LumpNameHash
;R_InitTextures+1728
	ldwzr %r1,numtextures
	moduw %r3,%r29,%r1
	lddzr %r4,textures_hashtable
;R_InitTextures+1744
	ldax.xw %r3,%r4,%r3,3,0
	nop 0
	nop 0
;R_InitTextures+1760
	mov %r4,%r3
	lddz %r5,%r3,0
	addi %r3,%r5,16
;R_InitTextures+1776
	bdne %r5,%gz,R_InitTextures+1760
	lddzr %r3,textures
	lddzx.xd %r5,%r3,%r2,3,0
;R_InitTextures+1792
	std %gz,%r5,16
	lddzx.xd %r5,%r3,%r2,3,0
	addi %r2,%r2,1
;R_InitTextures+1808
	sraiw %r1,%r1,0
	std %r5,%r4,0
	bdlt %r2,%r1,R_InitTextures+1712
;R_InitTextures+1824
	retf 32
	nop 0
	nop 0
;R_InitFlats
	alloc 8
	ldafr %r7,.rodata+11941
	callr %r6,W_GetNumForName
;R_InitFlats+16
	addiws %r1,%r7,1
	stwr %r1,firstflat
	ldafr %r7,.rodata+13951
;R_InitFlats+32
	callr %r6,W_GetNumForName
	ldwzr %r1,firstflat
	addiws %r2,%r7,-1
;R_InitFlats+48
	stwr %r2,lastflat
	subws %r1,%r2,%r1
	addiws %r2,%r1,1
;R_InitFlats+64
	ldi %r3,8
	stwr %r2,numflats
	sladdws %r5,%r3,%r1,2
;R_InitFlats+80
	ldi %r6,1
	mov %r7,%gz
	callr %r4,Z_Malloc
;R_InitFlats+96
	ldwzr %r1,numflats
	stdr %r5,flattranslation
	bwlti %r1,1,R_InitFlats+160
;R_InitFlats+112
	mov %r1,%gz
	nop 0
	nop 0
;R_InitFlats+128
	stw %r1,%r5,0
	ldwsr %r2,numflats
	addi %r1,%r1,1
;R_InitFlats+144
	addi %r5,%r5,4
	bdlt %r1,%r2,R_InitFlats+128
	nop 0
;R_InitFlats+160
	retf 0
	nop 0
	nop 0
;R_InitSpriteLumps
	alloc 12
	ldafr %r11,.rodata+7446
	callr %r10,W_GetNumForName
;R_InitSpriteLumps+16
	addiws %r1,%r11,1
	stwr %r1,firstspritelump
	ldafr %r11,.rodata+4185
;R_InitSpriteLumps+32
	callr %r10,W_GetNumForName
	ldwzr %r1,firstspritelump
	addiws %r2,%r11,-1
;R_InitSpriteLumps+48
	stwr %r2,lastspritelump
	subws %r1,%r2,%r1
	addiws %r1,%r1,1
;R_InitSpriteLumps+64
	stwr %r1,numspritelumps
	slliw %r9,%r1,2
	ldi %r1,1
;R_InitSpriteLumps+80
	mov2 %r10,%r11,%r1,%gz
	callr %r8,Z_Malloc
	ldwzr %r2,numspritelumps
;R_InitSpriteLumps+96
	stdr %r9,spritewidth
	slliw %r9,%r2,2
	mov2 %r10,%r11,%r1,%gz
;R_InitSpriteLumps+112
	callr %r8,Z_Malloc
	ldwzr %r2,numspritelumps
	stdr %r9,spriteoffset
;R_InitSpriteLumps+128
	slliw %r9,%r2,2
	mov2 %r10,%r11,%r1,%gz
	callr %r8,Z_Malloc
;R_InitSpriteLumps+144
	ldwzr %r1,numspritelumps
	stdr %r9,spritetopoffset
	bwlti %r1,1,R_InitSpriteLumps+368
;R_InitSpriteLumps+160
	mov2 %r4,%r5,%gz,%gz
	ldi %r1,46
	ldi %r2,8
;R_InitSpriteLumps+176
	jmp R_InitSpriteLumps+336
	nop 0
	nop 0
;R_InitSpriteLumps+192
	ldwzr %r3,firstspritelump
	addws %r10,%r3,%r5
	mov %r11,%r2
;R_InitSpriteLumps+208
	callr %r9,W_CacheLumpNum
	ldbz %r3,%r10,1
	ldbz %r6,%r10,0
;R_InitSpriteLumps+224
	lddzr %r7,spritewidth
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;R_InitSpriteLumps+240
	stwx.xd %r3,%r7,%r4,0,0
	ldbz %r3,%r10,5
	ldbz %r6,%r10,4
;R_InitSpriteLumps+256
	lddzr %r7,spriteoffset
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;R_InitSpriteLumps+272
	stwx.xd %r3,%r7,%r4,0,0
	ldbz %r3,%r10,7
	ldbz %r6,%r10,6
;R_InitSpriteLumps+288
	lddzr %r7,spritetopoffset
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;R_InitSpriteLumps+304
	stwx.xd %r3,%r7,%r4,0,0
	ldwsr %r3,numspritelumps
	addi %r5,%r5,1
;R_InitSpriteLumps+320
	addi %r4,%r4,4
	bdle %r3,%r5,R_InitSpriteLumps+368
	nop 0
;R_InitSpriteLumps+336
	andi %r3,%r5,63
	bwne %r3,%gz,R_InitSpriteLumps+192
	mov %r11,%r1
;R_InitSpriteLumps+352
	callr %r10,putchar
	jmp R_InitSpriteLumps+192
	nop 0
;R_InitSpriteLumps+368
	retf 0
	nop 0
	nop 0
;R_InitColormaps
	alloc 4
	ldafr %r3,.rodata+23714
	callr %r2,W_GetNumForName
;R_InitColormaps+16
	mov %r2,%r3
	ldi %r3,1
	callr %r1,W_CacheLumpNum
;R_InitColormaps+32
	stdr %r2,colormaps
	retf 0
	nop 0
;R_InitData
	alloc 5
	callr %r4,R_InitTextures
	ldi %r1,46
;R_InitData+16
	mov %r4,%r1
	callr %r3,putchar
	callr %r4,R_InitFlats
;R_InitData+32
	mov %r4,%r1
	callr %r3,putchar
	callr %r4,R_InitSpriteLumps
;R_InitData+48
	mov %r4,%r1
	callr %r3,putchar
	ldafr %r4,.rodata+23714
;R_InitData+64
	callr %r3,W_GetNumForName
	mov %r3,%r4
	ldi %r4,1
;R_InitData+80
	callr %r2,W_CacheLumpNum
	stdr %r3,colormaps
	retf 0
;R_FlatNumForName
	allocsp 12,32
	mov %r11,%r1
	callr %r10,W_CheckNumForName
;R_FlatNumForName+16
	mov %r2,%r11
	bwnei %r11,-1,R_FlatNumForName+160
	stb %gz,%sp,24
;R_FlatNumForName+32
	ldbz %r3,%r1,5
	ldbz %r4,%r1,4
	ldbz %r5,%r1,6
;R_FlatNumForName+48
	ldbz %r6,%r1,7
	ldbz %r7,%r1,1
	ldbz %r8,%r1,0
;R_FlatNumForName+64
	ldbz %r9,%r1,3
	ldbz %r1,%r1,2
	slli %r6,%r6,24
;R_FlatNumForName+80
	slor %r3,%r4,%r3,8
	slor %r4,%r6,%r5,16
	slli %r5,%r9,24
;R_FlatNumForName+96
	or %r3,%r4,%r3
	slor %r4,%r8,%r7,8
	slor %r1,%r5,%r1,16
;R_FlatNumForName+112
	or %r1,%r1,%r4
	slor %r1,%r1,%r3,32
	std %r1,%sp,16
;R_FlatNumForName+128
	addi %r1,%sp,16
	ldafr %r11,.rodata+7454
	std %r1,%sp,0
;R_FlatNumForName+144
	callr %r10,I_Error
	nop 0
	nop 0
;R_FlatNumForName+160
	ldwzr %r1,firstflat
	subws %r1,%r2,%r1
	retf 32
;R_CheckTextureNumForName
	alloc 9
	mov %r2,%r1
	ldbz %r3,%r1,0
;R_CheckTextureNumForName+16
	mov %r1,%gz
	bweqi %r3,45,R_CheckTextureNumForName+112
	mov %r8,%r2
;R_CheckTextureNumForName+32
	callr %r7,W_LumpNameHash
	ldwzr %r1,numtextures
	moduw %r1,%r8,%r1
;R_CheckTextureNumForName+48
	lddzr %r3,textures_hashtable
	lddzx.xw %r3,%r3,%r1,3,0
	ldi %r1,-1
;R_CheckTextureNumForName+64
	bdeq %r3,%gz,R_CheckTextureNumForName+112
	ldi %r4,8
	nop 0
;R_CheckTextureNumForName+80
	mov2 %r6,%r7,%r3,%r2
	mov %r8,%r4
	callr %r5,strncasecmp
;R_CheckTextureNumForName+96
	bweq %r6,%gz,R_CheckTextureNumForName+128
	lddz %r3,%r3,16
	bdne %r3,%gz,R_CheckTextureNumForName+80
;R_CheckTextureNumForName+112
	retf 0
	nop 0
	nop 0
;R_CheckTextureNumForName+128
	ldwz %r1,%r3,12
	retf 0
	nop 0
;R_TextureNumForName
	allocsp 5,16
	mov2 %r2,%r4,%r1,%r1
	callr %r3,R_CheckTextureNumForName
;R_TextureNumForName+16
	mov %r1,%r4
	bweqi %r4,-1,R_TextureNumForName+32
	retf 16
;R_TextureNumForName+32
	ldafr %r4,.rodata+20002
	std %r2,%sp,0
	callr %r3,I_Error
;R_TextureNumForName+48
	retf 16
	nop 0
	nop 0
;R_PrecacheLevel
	alloc 16
	ldwzr %r1,demoplayback
	bweq %r1,%gz,R_PrecacheLevel+32
;R_PrecacheLevel+16
	retf 0
	nop 0
	nop 0
;R_PrecacheLevel+32
	ldwzr %r13,numflats
	ldi %r2,1
	mov2 %r14,%r15,%r2,%gz
;R_PrecacheLevel+48
	callr %r12,Z_Malloc
	mov %r1,%r13
	ldwsr %r15,numflats
;R_PrecacheLevel+64
	mov %r14,%gz
	callr %r12,memset
	ldwzr %r3,numsectors
;R_PrecacheLevel+80
	bwlti %r3,1,R_PrecacheLevel+160
	mov2 %r3,%r4,%gz,%gz
	nop 0
;R_PrecacheLevel+96
	lddzr %r5,sectors
	ldhsx.xd %r5,%r5,%r3,0,8
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+112
	lddzr %r5,sectors
	ldhsx.xd %r5,%r5,%r3,0,10
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+128
	ldwsr %r5,numsectors
	addi %r4,%r4,1
	addi %r3,%r3,128
;R_PrecacheLevel+144
	bdlt %r4,%r5,R_PrecacheLevel+96
	nop 0
	nop 0
;R_PrecacheLevel+160
	ldwzr %r3,numflats
	stwr %gz,flatmemory
	bwlti %r3,1,R_PrecacheLevel+288
;R_PrecacheLevel+176
	mov %r4,%gz
	ldi %r2,8
	jmp R_PrecacheLevel+208
;R_PrecacheLevel+192
	addi %r4,%r4,1
	sraiw %r5,%r3,0
	bdle %r5,%r4,R_PrecacheLevel+288
;R_PrecacheLevel+208
	ldbzx.xd %r5,%r1,%r4,0,0
	bweq %r5,%gz,R_PrecacheLevel+192
	ldwzr %r3,firstflat
;R_PrecacheLevel+224
	lddzr %r5,lumpinfo
	addws %r14,%r3,%r4
	muli %r3,%r14,40
;R_PrecacheLevel+240
	ldwzx.xd %r3,%r5,%r3,0,20
	ldwzr %r5,flatmemory
	addws %r3,%r5,%r3
;R_PrecacheLevel+256
	stwr %r3,flatmemory
	mov %r15,%r2
	callr %r13,W_CacheLumpNum
;R_PrecacheLevel+272
	ldwzr %r3,numflats
	jmp R_PrecacheLevel+192
	nop 0
;R_PrecacheLevel+288
	mov %r15,%r1
	callr %r14,Z_Free
	ldwzr %r13,numtextures
;R_PrecacheLevel+304
	ldi %r2,1
	mov2 %r14,%r15,%r2,%gz
	callr %r12,Z_Malloc
;R_PrecacheLevel+320
	mov %r1,%r13
	ldwsr %r15,numtextures
	mov %r14,%gz
;R_PrecacheLevel+336
	callr %r12,memset
	ldwzr %r3,numsides
	bwlti %r3,1,R_PrecacheLevel+448
;R_PrecacheLevel+352
	mov2 %r3,%r4,%gz,%gz
	nop 0
	nop 0
;R_PrecacheLevel+368
	lddzr %r5,sides
	ldhsx.xd %r5,%r5,%r3,0,8
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+384
	lddzr %r5,sides
	ldhsx.xd %r5,%r5,%r3,0,12
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+400
	lddzr %r5,sides
	ldhsx.xd %r5,%r5,%r3,0,10
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+416
	ldwsr %r5,numsides
	addi %r4,%r4,1
	addi %r3,%r3,24
;R_PrecacheLevel+432
	bdlt %r4,%r5,R_PrecacheLevel+368
	nop 0
	nop 0
;R_PrecacheLevel+448
	ldwsr %r3,skytexture
	stbx.xd %r2,%r1,%r3,0,0
	ldwzr %r3,numtextures
;R_PrecacheLevel+464
	stwr %gz,texturememory
	bwlti %r3,1,R_PrecacheLevel+656
	mov %r4,%gz
;R_PrecacheLevel+480
	ldi %r2,8
	jmp R_PrecacheLevel+512
	nop 0
;R_PrecacheLevel+496
	addi %r4,%r4,1
	sraiw %r5,%r3,0
	bdle %r5,%r4,R_PrecacheLevel+656
;R_PrecacheLevel+512
	ldbzx.xd %r5,%r1,%r4,0,0
	bweq %r5,%gz,R_PrecacheLevel+496
	lddzr %r5,textures
;R_PrecacheLevel+528
	lddzx.xd %r5,%r5,%r4,3,0
	ldhs %r6,%r5,24
	bwlti %r6,1,R_PrecacheLevel+496
;R_PrecacheLevel+544
	mov %r6,%gz
	addi %r7,%r5,32
	nop 0
;R_PrecacheLevel+560
	ldwz %r14,%r7,0
	lddzr %r3,lumpinfo
	sraiw %r8,%r14,0
;R_PrecacheLevel+576
	muli %r8,%r8,40
	ldwzx.xd %r3,%r3,%r8,0,20
	ldwzr %r8,texturememory
;R_PrecacheLevel+592
	addws %r3,%r8,%r3
	stwr %r3,texturememory
	mov %r15,%r2
;R_PrecacheLevel+608
	callr %r13,W_CacheLumpNum
	ldhs %r3,%r5,24
	addi %r6,%r6,1
;R_PrecacheLevel+624
	addi %r7,%r7,8
	bdlt %r6,%r3,R_PrecacheLevel+560
	ldwzr %r3,numtextures
;R_PrecacheLevel+640
	jmp R_PrecacheLevel+496
	nop 0
	nop 0
;R_PrecacheLevel+656
	mov %r15,%r1
	callr %r14,Z_Free
	ldwzr %r13,numsprites
;R_PrecacheLevel+672
	ldi %r2,1
	mov2 %r14,%r15,%r2,%gz
	callr %r12,Z_Malloc
;R_PrecacheLevel+688
	mov %r1,%r13
	ldwsr %r15,numsprites
	mov %r14,%gz
;R_PrecacheLevel+704
	callr %r12,memset
	lddzr %r3,thinkercap+8
	ldafr %r4,thinkercap
;R_PrecacheLevel+720
	bdeq %r3,%r4,R_PrecacheLevel+784
	ldar %r5,P_MobjThinker
	jmp R_PrecacheLevel+752
;R_PrecacheLevel+736
	lddz %r3,%r3,8
	bdeq %r3,%r4,R_PrecacheLevel+784
	nop 0
;R_PrecacheLevel+752
	lddz %r6,%r3,16
	bdne %r6,%r5,R_PrecacheLevel+736
	ldwz %r6,%r3,60
;R_PrecacheLevel+768
	stbx.xd %r2,%r1,%r6,0,0
	jmp R_PrecacheLevel+736
	nop 0
;R_PrecacheLevel+784
	ldwzr %r3,numsprites
	stwr %gz,spritememory
	bwlti %r3,1,R_PrecacheLevel+1008
;R_PrecacheLevel+800
	mov %r4,%gz
	ldi %r5,4
	ldi %r2,8
;R_PrecacheLevel+816
	jmp R_PrecacheLevel+848
	nop 0
	nop 0
;R_PrecacheLevel+832
	addi %r4,%r4,1
	sraiw %r6,%r3,0
	bdle %r6,%r4,R_PrecacheLevel+1008
;R_PrecacheLevel+848
	ldbzx.xd %r6,%r1,%r4,0,0
	bweq %r6,%gz,R_PrecacheLevel+832
	lddzr %r8,sprites
;R_PrecacheLevel+864
	ldwzx.xd %r6,%r8,%r4,4,0
	bwlti %r6,1,R_PrecacheLevel+832
	mov2 %r6,%r7,%gz,%r5
;R_PrecacheLevel+880
	lddzx.xd %r3,%r8,%r4,4,8
	mov %r8,%gz
	add %r9,%r3,%r7
;R_PrecacheLevel+896
	ldwzr %r3,firstspritelump
	ldhsx.xd %r10,%r9,%r8,0,0
	lddzr %r11,lumpinfo
;R_PrecacheLevel+912
	addws %r14,%r3,%r10
	muli %r3,%r14,40
	ldwzx.xd %r3,%r11,%r3,0,20
;R_PrecacheLevel+928
	ldwzr %r10,spritememory
	addws %r3,%r10,%r3
	stwr %r3,spritememory
;R_PrecacheLevel+944
	mov %r15,%r2
	callr %r13,W_CacheLumpNum
	addi %r8,%r8,2
;R_PrecacheLevel+960
	bdnei %r8,16,R_PrecacheLevel+896
	lddzr %r8,sprites
	ldwsx.xd %r3,%r8,%r4,4,0
;R_PrecacheLevel+976
	addi %r6,%r6,1
	addi %r7,%r7,28
	bdlt %r6,%r3,R_PrecacheLevel+880
;R_PrecacheLevel+992
	ldwzr %r3,numsprites
	jmp R_PrecacheLevel+832
	nop 0
;R_PrecacheLevel+1008
	mov %r15,%r1
	callr %r14,Z_Free
	retf 0
;R_DrawColumn
	allocsp 11,16
	ldwzr %r4,dc_yh
	ldwzr %r1,dc_yl
;R_DrawColumn+16
	subws %r2,%r4,%r1
	bwlt %r2,%gz,R_DrawColumn+240
	ldwzr %r3,dc_x
;R_DrawColumn+32
	bwgei %r4,200,R_DrawColumn+48
	bwlt %r1,%gz,R_DrawColumn+48
	bwltui %r3,320,R_DrawColumn+96
;R_DrawColumn+48
	stw %r3,%sp,8
	stw %r4,%sp,4
	ldafr %r10,.rodata+22662
;R_DrawColumn+64
	stw %r1,%sp,0
	callr %r9,I_Error
	ldwzr %r1,dc_yl
;R_DrawColumn+80
	ldwzr %r3,dc_x
	nop 0
	nop 0
;R_DrawColumn+96
	ldafr %r4,ylookup
	lddzx.xw %r4,%r4,%r1,3,0
	ldafr %r5,columnofs
;R_DrawColumn+112
	ldwsx.xw %r5,%r5,%r3,2,0
	ldwzr %r6,centery
	ldwzr %r3,dc_iscale
;R_DrawColumn+128
	ldwzr %r7,dc_texturemid
	add %r4,%r4,%r5
	subws %r1,%r1,%r6
;R_DrawColumn+144
	mulws %r1,%r1,%r3
	addws %r1,%r1,%r7
	lddzr %r5,dc_colormap
;R_DrawColumn+160
	lddzr %r6,dc_source
	nop 0
	nop 0
;R_DrawColumn+176
	srliw %r7,%r1,16
	andi %r7,%r7,127
	ldbzx.xd %r7,%r6,%r7,0,0
;R_DrawColumn+192
	ldbzx.xd %r7,%r5,%r7,0,0
	mov %r8,%r2
	stb %r7,%r4,0
;R_DrawColumn+208
	addi %r4,%r4,320
	addws %r1,%r1,%r3
	addiws %r2,%r2,-1
;R_DrawColumn+224
	bwne %r8,%gz,R_DrawColumn+176
	nop 0
	nop 0
;R_DrawColumn+240
	retf 16
	nop 0
	nop 0
;R_DrawColumnLow
	allocsp 11,16
	ldwzr %r3,dc_yh
	ldwzr %r1,dc_yl
;R_DrawColumnLow+16
	subws %r2,%r3,%r1
	bwlt %r2,%gz,R_DrawColumnLow+272
	ldwzr %r4,dc_x
;R_DrawColumnLow+32
	bwgei %r3,200,R_DrawColumnLow+48
	bwlt %r1,%gz,R_DrawColumnLow+48
	bwltui %r4,320,R_DrawColumnLow+96
;R_DrawColumnLow+48
	stw %r4,%sp,8
	stw %r3,%sp,4
	ldafr %r10,.rodata+22662
;R_DrawColumnLow+64
	stw %r1,%sp,0
	callr %r9,I_Error
	ldwzr %r4,dc_x
;R_DrawColumnLow+80
	ldwzr %r1,dc_yl
	nop 0
	nop 0
;R_DrawColumnLow+96
	slliw %r3,%r4,1
	ldafr %r5,ylookup
	lddzx.xw %r5,%r5,%r1,3,0
;R_DrawColumnLow+112
	ldafr %r6,columnofs
	ldwsx.xw %r3,%r6,%r3,2,0
	ldi %r7,1
;R_DrawColumnLow+128
	add %r3,%r5,%r3
	slor %r4,%r7,%r4,1
	ldwsx.xw %r6,%r6,%r4,2,0
;R_DrawColumnLow+144
	ldwzr %r7,centery
	ldwzr %r4,dc_iscale
	ldwzr %r8,dc_texturemid
;R_DrawColumnLow+160
	add %r5,%r5,%r6
	subws %r1,%r1,%r7
	mulws %r1,%r1,%r4
;R_DrawColumnLow+176
	addws %r1,%r1,%r8
	nop 0
	nop 0
;R_DrawColumnLow+192
	lddzr %r6,dc_source
	lddzr %r7,dc_colormap
	srliw %r8,%r1,16
;R_DrawColumnLow+208
	andi %r8,%r8,127
	ldbzx.xd %r6,%r6,%r8,0,0
	ldbzx.xd %r6,%r7,%r6,0,0
;R_DrawColumnLow+224
	mov %r7,%r2
	stb %r6,%r3,0
	stb %r6,%r5,0
;R_DrawColumnLow+240
	addi %r3,%r3,320
	addi %r5,%r5,320
	addws %r1,%r1,%r4
;R_DrawColumnLow+256
	addiws %r2,%r2,-1
	bwne %r7,%gz,R_DrawColumnLow+192
	nop 0
;R_DrawColumnLow+272
	retf 16
	nop 0
	nop 0
;R_DrawFuzzColumn
	allocsp 10,16
	ldwzr %r1,dc_yl
	bwne %r1,%gz,R_DrawFuzzColumn+32
;R_DrawFuzzColumn+16
	ldi %r1,1
	stwr %r1,dc_yl
	nop 0
;R_DrawFuzzColumn+32
	ldwzr %r2,viewheight
	ldwzr %r3,dc_yh
	addiws %r4,%r2,-1
;R_DrawFuzzColumn+48
	bwne %r3,%r4,R_DrawFuzzColumn+64
	addiws %r3,%r2,-2
	stwr %r3,dc_yh
;R_DrawFuzzColumn+64
	subws %r2,%r3,%r1
	bwlt %r2,%gz,R_DrawFuzzColumn+272
	ldwzr %r4,dc_x
;R_DrawFuzzColumn+80
	bwgei %r3,200,R_DrawFuzzColumn+96
	bwlt %r1,%gz,R_DrawFuzzColumn+96
	bwltui %r4,320,R_DrawFuzzColumn+144
;R_DrawFuzzColumn+96
	stw %r4,%sp,8
	stw %r3,%sp,4
	ldafr %r9,.rodata+22691
;R_DrawFuzzColumn+112
	stw %r1,%sp,0
	callr %r8,I_Error
	ldwzr %r1,dc_yl
;R_DrawFuzzColumn+128
	ldwzr %r4,dc_x
	nop 0
	nop 0
;R_DrawFuzzColumn+144
	ldafr %r3,ylookup
	lddzx.xw %r1,%r3,%r1,3,0
	ldafr %r3,columnofs
;R_DrawFuzzColumn+160
	ldwsx.xw %r3,%r3,%r4,2,0
	add %r1,%r1,%r3
	lddzr %r3,colormaps
;R_DrawFuzzColumn+176
	ldwzr %r5,fuzzpos
	ldafr %r4,fuzzoffset
	nop 0
;R_DrawFuzzColumn+192
	ldwsx.xw %r6,%r4,%r5,2,0
	ldbzx.xd %r6,%r1,%r6,0,0
	nop 2
;R_DrawFuzzColumn+208
	ldbzx.xd.l %r6,%r3,%r6,0,1536
	mov %r7,%r2
;R_DrawFuzzColumn+224
	addiws %r2,%r5,1
	cmpweqi %r5,%r2,50
	stb %r6,%r1,0
;R_DrawFuzzColumn+240
	cmovlsb %r5,%r5,%gz,%r2
	addi %r1,%r1,320
	addiws %r2,%r7,-1
;R_DrawFuzzColumn+256
	bwne %r7,%gz,R_DrawFuzzColumn+192
	stwr %r5,fuzzpos
	nop 0
;R_DrawFuzzColumn+272
	retf 16
	nop 0
	nop 0
;R_DrawFuzzColumnLow
	allocsp 10,16
	ldwzr %r1,dc_yl
	bwne %r1,%gz,R_DrawFuzzColumnLow+32
;R_DrawFuzzColumnLow+16
	ldi %r1,1
	stwr %r1,dc_yl
	nop 0
;R_DrawFuzzColumnLow+32
	ldwzr %r2,viewheight
	ldwzr %r4,dc_yh
	addiws %r3,%r2,-1
;R_DrawFuzzColumnLow+48
	bwne %r4,%r3,R_DrawFuzzColumnLow+64
	addiws %r4,%r2,-2
	stwr %r4,dc_yh
;R_DrawFuzzColumnLow+64
	subws %r2,%r4,%r1
	bwlt %r2,%gz,R_DrawFuzzColumnLow+336
	ldwzr %r5,dc_x
;R_DrawFuzzColumnLow+80
	slliw %r3,%r5,1
	bwgei %r4,200,R_DrawFuzzColumnLow+112
	bwlt %r1,%gz,R_DrawFuzzColumnLow+112
;R_DrawFuzzColumnLow+96
	bwltui %r3,320,R_DrawFuzzColumnLow+144
	nop 0
	nop 0
;R_DrawFuzzColumnLow+112
	stw %r5,%sp,8
	stw %r4,%sp,4
	ldafr %r9,.rodata+22691
;R_DrawFuzzColumnLow+128
	stw %r1,%sp,0
	callr %r8,I_Error
	ldwzr %r1,dc_yl
;R_DrawFuzzColumnLow+144
	ldafr %r4,ylookup
	lddzx.xw %r4,%r4,%r1,3,0
	ldafr %r1,columnofs
;R_DrawFuzzColumnLow+160
	ldwsx.xw %r5,%r1,%r3,2,0
	ori %r3,%r3,1
	ldwsx.xw %r3,%r1,%r3,2,0
;R_DrawFuzzColumnLow+176
	add %r1,%r4,%r5
	add %r3,%r4,%r3
	ldwzr %r5,fuzzpos
;R_DrawFuzzColumnLow+192
	ldafr %r4,fuzzoffset
	nop 0
	nop 0
;R_DrawFuzzColumnLow+208
	ldwsx.xw %r5,%r4,%r5,2,0
	lddzr %r6,colormaps
	ldbzx.xd %r5,%r1,%r5,0,0
;R_DrawFuzzColumnLow+224
	ldbzx.xd.l %r5,%r6,%r5,0,1536
	stb %r5,%r1,0
;R_DrawFuzzColumnLow+240
	ldwsr %r5,fuzzpos
	ldwsx.xd %r5,%r4,%r5,2,0
	lddzr %r6,colormaps
;R_DrawFuzzColumnLow+256
	ldbzx.xd %r5,%r3,%r5,0,0
	ldbzx.xd.l %r5,%r6,%r5,0,1536
;R_DrawFuzzColumnLow+272
	stb %r5,%r3,0
	ldwzr %r5,fuzzpos
	addiws %r5,%r5,1
;R_DrawFuzzColumnLow+288
	cmpweqi %r6,%r5,50
	mov %r7,%r2
	cmovlsb %r5,%r6,%gz,%r5
;R_DrawFuzzColumnLow+304
	stwr %r5,fuzzpos
	addi %r1,%r1,320
	addi %r3,%r3,320
;R_DrawFuzzColumnLow+320
	addiws %r2,%r2,-1
	bwne %r7,%gz,R_DrawFuzzColumnLow+208
	nop 0
;R_DrawFuzzColumnLow+336
	retf 16
	nop 0
	nop 0
;R_DrawTranslatedColumn
	allocsp 10,16
	ldwzr %r4,dc_yh
	ldwzr %r1,dc_yl
;R_DrawTranslatedColumn+16
	subws %r2,%r4,%r1
	bwlt %r2,%gz,R_DrawTranslatedColumn+240
	ldwzr %r3,dc_x
;R_DrawTranslatedColumn+32
	bwgei %r4,200,R_DrawTranslatedColumn+48
	bwlt %r1,%gz,R_DrawTranslatedColumn+48
	bwltui %r3,320,R_DrawTranslatedColumn+96
;R_DrawTranslatedColumn+48
	stw %r3,%sp,8
	stw %r4,%sp,4
	ldafr %r9,.rodata+22662
;R_DrawTranslatedColumn+64
	stw %r1,%sp,0
	callr %r8,I_Error
	ldwzr %r1,dc_yl
;R_DrawTranslatedColumn+80
	ldwzr %r3,dc_x
	nop 0
	nop 0
;R_DrawTranslatedColumn+96
	ldafr %r4,ylookup
	lddzx.xw %r4,%r4,%r1,3,0
	ldafr %r5,columnofs
;R_DrawTranslatedColumn+112
	ldwsx.xw %r5,%r5,%r3,2,0
	ldwzr %r6,centery
	ldwzr %r3,dc_iscale
;R_DrawTranslatedColumn+128
	ldwzr %r7,dc_texturemid
	add %r4,%r4,%r5
	subws %r1,%r1,%r6
;R_DrawTranslatedColumn+144
	mulws %r1,%r1,%r3
	addws %r1,%r1,%r7
	nop 0
;R_DrawTranslatedColumn+160
	lddzr %r5,dc_source
	lddzr %r6,dc_translation
	sraiw %r7,%r1,16
;R_DrawTranslatedColumn+176
	ldbzx.xw %r5,%r5,%r7,0,0
	lddzr %r7,dc_colormap
	ldbzx.xd %r5,%r6,%r5,0,0
;R_DrawTranslatedColumn+192
	ldbzx.xd %r5,%r7,%r5,0,0
	mov %r6,%r2
	stb %r5,%r4,0
;R_DrawTranslatedColumn+208
	addi %r4,%r4,320
	addws %r1,%r1,%r3
	addiws %r2,%r2,-1
;R_DrawTranslatedColumn+224
	bwne %r6,%gz,R_DrawTranslatedColumn+160
	nop 0
	nop 0
;R_DrawTranslatedColumn+240
	retf 16
	nop 0
	nop 0
;R_DrawTranslatedColumnLow
	allocsp 12,16
	ldwzr %r1,dc_yh
	ldwzr %r5,dc_yl
;R_DrawTranslatedColumnLow+16
	subws %r2,%r1,%r5
	bwlt %r2,%gz,R_DrawTranslatedColumnLow+288
	ldwzr %r3,dc_x
;R_DrawTranslatedColumnLow+32
	slliw %r3,%r3,1
	bwgei %r1,200,R_DrawTranslatedColumnLow+64
	bwlt %r5,%gz,R_DrawTranslatedColumnLow+64
;R_DrawTranslatedColumnLow+48
	bwltui %r3,320,R_DrawTranslatedColumnLow+96
	nop 0
	nop 0
;R_DrawTranslatedColumnLow+64
	stw %r3,%sp,8
	stw %r1,%sp,4
	ldafr %r11,.rodata+22662
;R_DrawTranslatedColumnLow+80
	stw %r5,%sp,0
	callr %r10,I_Error
	ldwzr %r5,dc_yl
;R_DrawTranslatedColumnLow+96
	ldafr %r1,ylookup
	lddzx.xw %r4,%r1,%r5,3,0
	ldafr %r6,columnofs
;R_DrawTranslatedColumnLow+112
	ldwsx.xw %r1,%r6,%r3,2,0
	add %r1,%r4,%r1
	ori %r3,%r3,1
;R_DrawTranslatedColumnLow+128
	ldwsx.xw %r6,%r6,%r3,2,0
	ldwzr %r7,centery
	ldwzr %r3,dc_iscale
;R_DrawTranslatedColumnLow+144
	ldwzr %r8,dc_texturemid
	add %r4,%r4,%r6
	subws %r5,%r5,%r7
;R_DrawTranslatedColumnLow+160
	mulws %r5,%r5,%r3
	addws %r5,%r5,%r8
	nop 0
;R_DrawTranslatedColumnLow+176
	lddzr %r6,dc_source
	lddzr %r7,dc_translation
	sraiw %r8,%r5,16
;R_DrawTranslatedColumnLow+192
	ldbzx.xw %r6,%r6,%r8,0,0
	lddzr %r9,dc_colormap
	ldbzx.xd %r6,%r7,%r6,0,0
;R_DrawTranslatedColumnLow+208
	ldbzx.xd %r6,%r9,%r6,0,0
	stb %r6,%r1,0
	lddzr %r6,dc_source
;R_DrawTranslatedColumnLow+224
	lddzr %r7,dc_translation
	ldbzx.xw %r6,%r6,%r8,0,0
	lddzr %r8,dc_colormap
;R_DrawTranslatedColumnLow+240
	ldbzx.xd %r6,%r7,%r6,0,0
	ldbzx.xd %r6,%r8,%r6,0,0
	mov %r7,%r2
;R_DrawTranslatedColumnLow+256
	stb %r6,%r4,0
	addi %r1,%r1,320
	addi %r4,%r4,320
;R_DrawTranslatedColumnLow+272
	addws %r5,%r5,%r3
	addiws %r2,%r2,-1
	bwne %r7,%gz,R_DrawTranslatedColumnLow+176
;R_DrawTranslatedColumnLow+288
	retf 16
	nop 0
	nop 0
;R_InitTranslationTables
	alloc 9
	ldi %r6,768
	ldi %r7,1
;R_InitTranslationTables+16
	mov %r8,%gz
	callr %r5,Z_Malloc
	mov %r1,%gz
;R_InitTranslationTables+32
	stdr %r6,translationtables
	jmp R_InitTranslationTables+112
	nop 0
;R_InitTranslationTables+48
	lddzr %r2,translationtables
	stbx.xd.l %r1,%r2,%r1,0,512
;R_InitTranslationTables+64
	lddzr %r2,translationtables
	stbx.xd.l %r1,%r2,%r1,0,256
;R_InitTranslationTables+80
	lddzr %r2,translationtables
	stbx.xd %r1,%r2,%r1,0,0
	addi %r1,%r1,1
;R_InitTranslationTables+96
	bdeqi %r1,256,R_InitTranslationTables+208
	nop 0
	nop 0
;R_InitTranslationTables+112
	andi %r2,%r1,240
	bdnei %r2,112,R_InitTranslationTables+48
	lddzr %r2,translationtables
;R_InitTranslationTables+128
	andi %r3,%r1,15
	ori %r4,%r3,96
	stbx.xd %r4,%r2,%r1,0,0
;R_InitTranslationTables+144
	lddzr %r2,translationtables
	ori %r4,%r3,64
	nop 2
;R_InitTranslationTables+160
	stbx.xd.l %r4,%r2,%r1,0,256
	lddzr %r2,translationtables
;R_InitTranslationTables+176
	ori %r3,%r3,32
	stbx.xd.l %r3,%r2,%r1,0,512
;R_InitTranslationTables+192
	addi %r1,%r1,1
	bdnei %r1,256,R_InitTranslationTables+112
	nop 0
;R_InitTranslationTables+208
	retf 0
	nop 0
	nop 0
;R_DrawSpan
	allocsp 11,16
	ldwzr %r2,ds_x2
	ldwzr %r1,ds_x1
;R_DrawSpan+16
	ldwzr %r3,ds_y
	bwgei %r2,320,R_DrawSpan+48
	bwlt %r2,%r1,R_DrawSpan+48
;R_DrawSpan+32
	bwlt %r1,%gz,R_DrawSpan+48
	bwltui %r3,201,R_DrawSpan+96
	nop 0
;R_DrawSpan+48
	stw %r3,%sp,8
	stw %r2,%sp,4
	ldafr %r10,.rodata+5776
;R_DrawSpan+64
	stw %r1,%sp,0
	callr %r9,I_Error
	ldwzr %r3,ds_y
;R_DrawSpan+80
	ldwzr %r1,ds_x1
	ldwzr %r2,ds_x2
	nop 0
;R_DrawSpan+96
	ldwzr %r4,ds_xfrac
	ldwzr %r5,ds_yfrac
	slliw %r4,%r4,10
;R_DrawSpan+112
	ldwzr %r6,ds_xstep
	andi %r4,%r4,-65536
	slsrli %r5,%r5,42,48
;R_DrawSpan+128
	or %r4,%r5,%r4
	slliw %r5,%r6,10
	ldwzr %r6,ds_ystep
;R_DrawSpan+144
	ldafr %r7,ylookup
	lddzx.xw %r7,%r7,%r3,3,0
	ldafr %r3,columnofs
;R_DrawSpan+160
	ldwsx.xw %r8,%r3,%r1,2,0
	andi %r3,%r5,-65536
	slsrli %r5,%r6,42,48
;R_DrawSpan+176
	or %r3,%r5,%r3
	add %r5,%r7,%r8
	subws %r6,%r2,%r1
;R_DrawSpan+192
	lddzr %r1,ds_colormap
	lddzr %r2,ds_source
	nop 0
;R_DrawSpan+208
	srliw %r7,%r4,4
	andi %r7,%r7,4032
	srliw %r8,%r4,26
;R_DrawSpan+224
	or %r7,%r7,%r8
	ldbzx.xuw %r7,%r2,%r7,0,0
	ldbzx.xd %r7,%r1,%r7,0,0
;R_DrawSpan+240
	mov %r8,%r6
	stb %r7,%r5,0
	addi %r5,%r5,1
;R_DrawSpan+256
	addws %r4,%r3,%r4
	addiws %r6,%r6,-1
	bwne %r8,%gz,R_DrawSpan+208
;R_DrawSpan+272
	retf 16
	nop 0
	nop 0
;R_DrawSpanLow
	allocsp 10,16
	ldwzr %r1,ds_x2
	ldwzr %r3,ds_x1
;R_DrawSpanLow+16
	ldwzr %r4,ds_y
	bwgei %r1,320,R_DrawSpanLow+48
	bwlt %r1,%r3,R_DrawSpanLow+48
;R_DrawSpanLow+32
	bwlt %r3,%gz,R_DrawSpanLow+48
	bwltui %r4,201,R_DrawSpanLow+96
	nop 0
;R_DrawSpanLow+48
	stw %r4,%sp,8
	stw %r1,%sp,4
	ldafr %r9,.rodata+5776
;R_DrawSpanLow+64
	stw %r3,%sp,0
	callr %r8,I_Error
	ldwzr %r1,ds_x2
;R_DrawSpanLow+80
	ldwzr %r3,ds_x1
	ldwzr %r4,ds_y
	nop 0
;R_DrawSpanLow+96
	ldwzr %r2,ds_xfrac
	ldwzr %r5,ds_yfrac
	slliw %r2,%r2,10
;R_DrawSpanLow+112
	andi %r2,%r2,-65536
	ldwzr %r6,ds_xstep
	slsrli %r5,%r5,42,48
;R_DrawSpanLow+128
	ldwzr %r7,ds_ystep
	or %r2,%r5,%r2
	slliw %r5,%r6,10
;R_DrawSpanLow+144
	andi %r5,%r5,-65536
	slsrli %r6,%r7,42,48
	or %r5,%r6,%r5
;R_DrawSpanLow+160
	subws %r6,%r1,%r3
	slliw %r3,%r3,1
	ldafr %r7,ylookup
;R_DrawSpanLow+176
	lddzx.xw %r4,%r7,%r4,3,0
	ldafr %r7,columnofs
	ldwsx.xw %r7,%r7,%r3,2,0
;R_DrawSpanLow+192
	stwr %r3,ds_x1
	slliw %r1,%r1,1
	stwr %r1,ds_x2
;R_DrawSpanLow+208
	add %r1,%r4,%r7
	nop 0
	nop 0
;R_DrawSpanLow+224
	srliw %r3,%r2,4
	andi %r3,%r3,4032
	lddzr %r4,ds_source
;R_DrawSpanLow+240
	srliw %r7,%r2,26
	or %r3,%r3,%r7
	lddzr %r7,ds_colormap
;R_DrawSpanLow+256
	ldbzx.xuw %r4,%r4,%r3,0,0
	ldbzx.xd %r4,%r7,%r4,0,0
	stb %r4,%r1,0
;R_DrawSpanLow+272
	lddzr %r4,ds_source
	lddzr %r7,ds_colormap
	ldbzx.xuw %r3,%r4,%r3,0,0
;R_DrawSpanLow+288
	ldbzx.xd %r3,%r7,%r3,0,0
	mov %r4,%r6
	stb %r3,%r1,1
;R_DrawSpanLow+304
	addi %r1,%r1,2
	addws %r2,%r5,%r2
	addiws %r6,%r6,-1
;R_DrawSpanLow+320
	bwne %r4,%gz,R_DrawSpanLow+224
	retf 16
	nop 0
;R_InitBuffer
	alloc 8
	subfiws %r3,%r1,320
	sraiw %r3,%r3,1
;R_InitBuffer+16
	stwr %r3,viewwindowx
	bwlti %r1,1,R_InitBuffer+80
	mov %r4,%gz
;R_InitBuffer+32
	srliw %r5,%r1,0
	ldafr %r6,columnofs
	nop 0
;R_InitBuffer+48
	addws %r7,%r3,%r4
	stw %r7,%r6,0
	addi %r4,%r4,1
;R_InitBuffer+64
	addi %r6,%r6,4
	bdne %r5,%r4,R_InitBuffer+48
	nop 0
;R_InitBuffer+80
	cmpweqi %r1,%r1,320
	subfiws %r3,%r2,168
	sraiw %r3,%r3,1
;R_InitBuffer+96
	cmovlsb %r1,%r1,%gz,%r3
	stwr %r1,viewwindowy
	bwlti %r2,1,R_InitBuffer+176
;R_InitBuffer+112
	lddzr %r3,I_VideoBuffer
	sraiw %r4,%r1,0
	srliw %r1,%r2,0
;R_InitBuffer+128
	ldi %r2,320
	muladd %r2,%r4,%r2,%r3
	ldafr %r3,ylookup
;R_InitBuffer+144
	std %r2,%r3,0
	addi %r2,%r2,320
	addi %r1,%r1,-1
;R_InitBuffer+160
	addi %r3,%r3,8
	bdne %r1,%gz,R_InitBuffer+144
	nop 0
;R_InitBuffer+176
	retf 0
	nop 0
	nop 0
;R_FillBackScreen
	alloc 13
	ldwzr %r1,scaledviewwidth
	lddzr %r12,background_buffer
;R_FillBackScreen+16
	bwnei %r1,320,R_FillBackScreen+48
	bdeq %r12,%gz,R_FillBackScreen+848
	callr %r11,Z_Free
;R_FillBackScreen+32
	stdr %gz,background_buffer
	retf 0
	nop 0
;R_FillBackScreen+48
	bdne %r12,%gz,R_FillBackScreen+80
	ldi %r10,53760
	ldi %r11,1
;R_FillBackScreen+64
	mov %r12,%gz
	callr %r9,Z_Malloc
	stdr %r10,background_buffer
;R_FillBackScreen+80
	ldwzr %r1,gamemode
	cmpweqi %r1,%r1,2
	ldafr %r2,.rodata+1835
;R_FillBackScreen+96
	ldafr %r3,.rodata+5803
	cmovlsb %r11,%r1,%r3,%r2
	ldi %r12,8
;R_FillBackScreen+112
	callr %r10,W_CacheLumpName
	lddzr %r1,background_buffer
	mov2 %r2,%r5,%r11,%gz
;R_FillBackScreen+128
	ldi %r3,64
	mov %r4,%r1
	nop 0
;R_FillBackScreen+144
	mov2 %r6,%r7,%gz,%r5
	slliw %r5,%r5,6
	andi %r5,%r5,4032
;R_FillBackScreen+160
	ldax.xuw %r5,%r2,%r5,0,0
	nop 0
	nop 0
;R_FillBackScreen+176
	mov2 %r8,%r10,%r6,%r4
	mov2 %r11,%r12,%r5,%r3
	callr %r9,memcpy
;R_FillBackScreen+192
	addi %r4,%r4,64
	addiws %r6,%r6,1
	bwltui %r8,4,R_FillBackScreen+176
;R_FillBackScreen+208
	addiws %r5,%r7,1
	bwltui %r7,167,R_FillBackScreen+144
	mov %r12,%r1
;R_FillBackScreen+224
	callr %r11,V_UseBuffer
	ldafr %r11,.rodata+19260
	ldi %r12,8
;R_FillBackScreen+240
	callr %r10,W_CacheLumpName
	ldwzr %r2,scaledviewwidth
	bwlti %r2,1,R_FillBackScreen+320
;R_FillBackScreen+256
	mov2 %r1,%r3,%r11,%gz
	nop 0
	nop 0
;R_FillBackScreen+272
	ldwzr %r2,viewwindowx
	ldwzr %r4,viewwindowy
	addws %r10,%r2,%r3
;R_FillBackScreen+288
	addiws %r11,%r4,-8
	mov %r12,%r1
	callr %r9,V_DrawPatch
;R_FillBackScreen+304
	ldwzr %r2,scaledviewwidth
	addiws %r3,%r3,8
	bwlt %r3,%r2,R_FillBackScreen+272
;R_FillBackScreen+320
	ldafr %r11,.rodata+4191
	ldi %r12,8
	callr %r10,W_CacheLumpName
;R_FillBackScreen+336
	ldwzr %r2,scaledviewwidth
	bwlti %r2,1,R_FillBackScreen+416
	mov2 %r1,%r3,%r11,%gz
;R_FillBackScreen+352
	ldwzr %r2,viewwindowx
	ldwzr %r4,viewwindowy
	ldwzr %r5,viewheight
;R_FillBackScreen+368
	addws %r10,%r2,%r3
	addws %r11,%r5,%r4
	mov %r12,%r1
;R_FillBackScreen+384
	callr %r9,V_DrawPatch
	ldwzr %r2,scaledviewwidth
	addiws %r3,%r3,8
;R_FillBackScreen+400
	bwlt %r3,%r2,R_FillBackScreen+352
	nop 0
	nop 0
;R_FillBackScreen+416
	ldafr %r11,.rodata+3564
	ldi %r12,8
	callr %r10,W_CacheLumpName
;R_FillBackScreen+432
	ldwzr %r2,viewheight
	bwlti %r2,1,R_FillBackScreen+496
	mov2 %r1,%r3,%r11,%gz
;R_FillBackScreen+448
	ldwzr %r2,viewwindowx
	ldwzr %r4,viewwindowy
	addiws %r10,%r2,-8
;R_FillBackScreen+464
	addws %r11,%r4,%r3
	mov %r12,%r1
	callr %r9,V_DrawPatch
;R_FillBackScreen+480
	ldwzr %r2,viewheight
	addiws %r3,%r3,8
	bwlt %r3,%r2,R_FillBackScreen+448
;R_FillBackScreen+496
	ldafr %r11,.rodata+1101
	ldi %r12,8
	callr %r10,W_CacheLumpName
;R_FillBackScreen+512
	ldwzr %r2,viewheight
	bwlti %r2,1,R_FillBackScreen+592
	mov2 %r1,%r3,%r11,%gz
;R_FillBackScreen+528
	ldwzr %r2,viewwindowx
	ldwzr %r4,scaledviewwidth
	ldwzr %r5,viewwindowy
;R_FillBackScreen+544
	addws %r10,%r4,%r2
	addws %r11,%r5,%r3
	mov %r12,%r1
;R_FillBackScreen+560
	callr %r9,V_DrawPatch
	ldwzr %r2,viewheight
	addiws %r3,%r3,8
;R_FillBackScreen+576
	bwlt %r3,%r2,R_FillBackScreen+528
	nop 0
	nop 0
;R_FillBackScreen+592
	ldwzr %r1,viewwindowx
	ldwzr %r2,viewwindowy
	addiws %r1,%r1,-8
;R_FillBackScreen+608
	addiws %r2,%r2,-8
	ldafr %r11,.rodata+8415
	ldi %r3,8
;R_FillBackScreen+624
	mov %r12,%r3
	callr %r10,W_CacheLumpName
	mov2 %r12,%r10,%r11,%r1
;R_FillBackScreen+640
	mov %r11,%r2
	callr %r9,V_DrawPatch
	ldwzr %r1,viewwindowx
;R_FillBackScreen+656
	ldwzr %r2,scaledviewwidth
	ldwzr %r4,viewwindowy
	addws %r1,%r2,%r1
;R_FillBackScreen+672
	addiws %r2,%r4,-8
	ldafr %r11,.rodata+3571
	mov %r12,%r3
;R_FillBackScreen+688
	callr %r10,W_CacheLumpName
	mov2 %r12,%r10,%r11,%r1
	mov %r11,%r2
;R_FillBackScreen+704
	callr %r9,V_DrawPatch
	ldwzr %r1,viewwindowx
	ldwzr %r2,viewwindowy
;R_FillBackScreen+720
	ldwzr %r4,viewheight
	addiws %r1,%r1,-8
	addws %r2,%r4,%r2
;R_FillBackScreen+736
	ldafr %r11,.rodata+5304
	mov %r12,%r3
	callr %r10,W_CacheLumpName
;R_FillBackScreen+752
	mov2 %r12,%r10,%r11,%r1
	mov %r11,%r2
	callr %r9,V_DrawPatch
;R_FillBackScreen+768
	ldwzr %r1,viewwindowx
	ldwzr %r2,scaledviewwidth
	ldwzr %r4,viewwindowy
;R_FillBackScreen+784
	ldwzr %r5,viewheight
	addws %r1,%r2,%r1
	addws %r2,%r5,%r4
;R_FillBackScreen+800
	ldafr %r11,.rodata+28783
	mov %r12,%r3
	callr %r10,W_CacheLumpName
;R_FillBackScreen+816
	mov2 %r12,%r10,%r11,%r1
	mov %r11,%r2
	callr %r9,V_DrawPatch
;R_FillBackScreen+832
	callr %r12,V_RestoreBuffer
	nop 0
	nop 0
;R_FillBackScreen+848
	retf 0
	nop 0
	nop 0
;R_VideoErase
	alloc 9
	lddzr %r3,background_buffer
	bdeq %r3,%gz,R_VideoErase+48
;R_VideoErase+16
	lddzr %r4,I_VideoBuffer
	ldax.xuw %r6,%r4,%r1,0,0
	ldax.xuw %r7,%r3,%r1,0,0
;R_VideoErase+32
	sraiw %r8,%r2,0
	callr %r5,memcpy
	nop 0
;R_VideoErase+48
	retf 0
	nop 0
	nop 0
;R_DrawViewBorder
	alloc 13
	ldwzr %r1,scaledviewwidth
	bweqi %r1,320,R_DrawViewBorder+288
;R_DrawViewBorder+16
	ldwzr %r3,viewheight
	subfiws %r2,%r3,168
	srliw %r4,%r2,31
;R_DrawViewBorder+32
	addws %r2,%r2,%r4
	sraiw %r6,%r2,1
	subfiws %r2,%r1,320
;R_DrawViewBorder+48
	lddzr %r1,background_buffer
	srliw %r4,%r2,31
	addws %r2,%r2,%r4
;R_DrawViewBorder+64
	sraiw %r4,%r2,1
	mulwsi %r5,%r6,320
	bdeq %r1,%gz,R_DrawViewBorder+160
;R_DrawViewBorder+80
	lddzr %r10,I_VideoBuffer
	addws %r2,%r5,%r4
	mov2 %r11,%r12,%r1,%r2
;R_DrawViewBorder+96
	callr %r9,memcpy
	ldwzr %r3,viewheight
	lddzr %r7,I_VideoBuffer
;R_DrawViewBorder+112
	addws %r3,%r3,%r6
	mulwsi %r3,%r3,320
	subws %r3,%r3,%r4
;R_DrawViewBorder+128
	ldax.xuw %r10,%r7,%r3,0,0
	ldax.xuw %r11,%r1,%r3,0,0
	mov %r12,%r2
;R_DrawViewBorder+144
	callr %r9,memcpy
	ldwzr %r3,viewheight
	nop 0
;R_DrawViewBorder+160
	bwlti %r3,2,R_DrawViewBorder+256
	slliw %r2,%r4,1
	subws %r4,%r5,%r4
;R_DrawViewBorder+176
	sraiw %r2,%r2,0
	ldi %r5,1
	jmp R_DrawViewBorder+208
;R_DrawViewBorder+192
	addiws %r5,%r5,1
	bwle %r3,%r5,R_DrawViewBorder+256
	nop 0
;R_DrawViewBorder+208
	addiws %r4,%r4,320
	bdeq %r1,%gz,R_DrawViewBorder+192
	lddzr %r3,I_VideoBuffer
;R_DrawViewBorder+224
	ldax.xuw %r10,%r3,%r4,0,0
	ldax.xuw %r11,%r1,%r4,0,0
	mov %r12,%r2
;R_DrawViewBorder+240
	callr %r9,memcpy
	ldwzr %r3,viewheight
	jmp R_DrawViewBorder+192
;R_DrawViewBorder+256
	ldi %r11,320
	ldi %r12,168
	mov2 %r9,%r10,%gz,%gz
;R_DrawViewBorder+272
	callr %r8,V_MarkRect
	nop 0
	nop 0
;R_DrawViewBorder+288
	retf 0
	nop 0
	nop 0
;R_AddPointToBox
	alloc 5
	ldwz %r4,%r3,8
	bwlt %r1,%r4,R_AddPointToBox+80
;R_AddPointToBox+16
	ldwz %r4,%r3,12
	bwlt %r4,%r1,R_AddPointToBox+96
	nop 0
;R_AddPointToBox+32
	ldwz %r1,%r3,4
	bwlt %r2,%r1,R_AddPointToBox+112
	nop 0
;R_AddPointToBox+48
	ldwz %r1,%r3,0
	bwlt %r1,%r2,R_AddPointToBox+128
	nop 0
;R_AddPointToBox+64
	retf 0
	nop 0
	nop 0
;R_AddPointToBox+80
	stw %r1,%r3,8
	ldwz %r4,%r3,12
	bwle %r1,%r4,R_AddPointToBox+32
;R_AddPointToBox+96
	stw %r1,%r3,12
	ldwz %r1,%r3,4
	bwle %r1,%r2,R_AddPointToBox+48
;R_AddPointToBox+112
	stw %r2,%r3,4
	ldwz %r1,%r3,0
	bwle %r2,%r1,R_AddPointToBox+64
;R_AddPointToBox+128
	stw %r2,%r3,0
	retf 0
	nop 0
;R_PointOnSide
	alloc 8
	ldwz %r4,%r3,8
	bweq %r4,%gz,R_PointOnSide+128
;R_PointOnSide+16
	ldwz %r5,%r3,12
	bweq %r5,%gz,R_PointOnSide+160
	ldwz %r6,%r3,0
;R_PointOnSide+32
	ldwz %r7,%r3,4
	subws %r3,%r1,%r6
	subws %r1,%r2,%r7
;R_PointOnSide+48
	xor %r2,%r5,%r4
	xor %r2,%r2,%r3
	xor %r2,%r2,%r1
;R_PointOnSide+64
	bwlti %r2,0,R_PointOnSide+208
	sraiw %r2,%r5,16
	sraiw %r3,%r3,0
;R_PointOnSide+80
	mul %r2,%r3,%r2
	srli %r2,%r2,16
	sraiw %r1,%r1,0
;R_PointOnSide+96
	sraiw %r3,%r4,16
	mul %r1,%r1,%r3
	srli %r1,%r1,16
;R_PointOnSide+112
	cmpwle %r1,%r2,%r1
	retf 0
	nop 0
;R_PointOnSide+128
	ldwz %r4,%r3,0
	ldwz %r2,%r3,12
	bwle %r1,%r4,R_PointOnSide+192
;R_PointOnSide+144
	srliw %r1,%r2,31
	retf 0
	nop 0
;R_PointOnSide+160
	ldwz %r1,%r3,4
	bwle %r2,%r1,R_PointOnSide+224
	cmpwgti %r1,%r4,0
;R_PointOnSide+176
	retf 0
	nop 0
	nop 0
;R_PointOnSide+192
	cmpwgti %r1,%r2,0
	retf 0
	nop 0
;R_PointOnSide+208
	xor %r1,%r3,%r5
	srliw %r1,%r1,31
	retf 0
;R_PointOnSide+224
	srliw %r1,%r4,31
	retf 0
	nop 0
;R_PointOnSegSide
	alloc 8
	lddz %r4,%r3,0
	lddz %r3,%r3,8
;R_PointOnSegSide+16
	ldwz %r5,%r4,0
	ldwz %r6,%r4,4
	ldwz %r4,%r3,0
;R_PointOnSegSide+32
	ldwz %r7,%r3,4
	subws %r3,%r7,%r6
	bwne %r4,%r5,R_PointOnSegSide+64
;R_PointOnSegSide+48
	bwle %r1,%r5,R_PointOnSegSide+96
	srliw %r1,%r3,31
	retf 0
;R_PointOnSegSide+64
	subws %r4,%r4,%r5
	bwne %r7,%r6,R_PointOnSegSide+112
	bwle %r2,%r6,R_PointOnSegSide+208
;R_PointOnSegSide+80
	cmpwgti %r1,%r4,0
	retf 0
	nop 0
;R_PointOnSegSide+96
	cmpwgti %r1,%r3,0
	retf 0
	nop 0
;R_PointOnSegSide+112
	subws %r5,%r1,%r5
	subws %r1,%r2,%r6
	xor %r2,%r1,%r5
;R_PointOnSegSide+128
	xor %r2,%r2,%r4
	xor %r2,%r2,%r3
	bwlti %r2,0,R_PointOnSegSide+224
;R_PointOnSegSide+144
	sraiw %r2,%r3,16
	sraiw %r3,%r5,0
	mul %r2,%r2,%r3
;R_PointOnSegSide+160
	srli %r2,%r2,16
	sraiw %r1,%r1,0
	sraiw %r3,%r4,16
;R_PointOnSegSide+176
	mul %r1,%r3,%r1
	srli %r1,%r1,16
	cmpwle %r1,%r2,%r1
;R_PointOnSegSide+192
	retf 0
	nop 0
	nop 0
;R_PointOnSegSide+208
	srliw %r1,%r4,31
	retf 0
	nop 0
;R_PointOnSegSide+224
	xor %r1,%r3,%r5
	srliw %r1,%r1,31
	retf 0
;R_PointToAngle
	alloc 9
	ldwzr %r4,viewx
	mov %r3,%r1
;R_PointToAngle+16
	ldwzr %r5,viewy
	bwne %r1,%r4,R_PointToAngle+48
	mov %r1,%gz
;R_PointToAngle+32
	bwne %r2,%r5,R_PointToAngle+48
	retf 0
	nop 0
;R_PointToAngle+48
	subws %r8,%r3,%r4
	subws %r1,%r2,%r5
	bwlt %r8,%gz,R_PointToAngle+112
;R_PointToAngle+64
	bwlt %r1,%gz,R_PointToAngle+176
	bwleu %r8,%r1,R_PointToAngle+224
	mov %r7,%r1
;R_PointToAngle+80
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
	ldwzx.xw %r1,%r1,%r7,2,0
;R_PointToAngle+96
	retf 0
	nop 0
	nop 0
;R_PointToAngle+112
	subfiws %r2,%r8,0
	bwlt %r1,%gz,R_PointToAngle+272
	bwleu %r2,%r1,R_PointToAngle+320
;R_PointToAngle+128
	mov2 %r7,%r8,%r1,%r2
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+144
	ldwzx.xw %r1,%r1,%r7,2,0
	xori.l %r1,%r1,2147483647
;R_PointToAngle+160
	retf 0
	nop 0
	nop 0
;R_PointToAngle+176
	subfiws %r1,%r1,0
	bwleu %r8,%r1,R_PointToAngle+368
	mov %r7,%r1
;R_PointToAngle+192
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
	ldwzx.xw %r1,%r1,%r7,2,0
;R_PointToAngle+208
	subfiws %r1,%r1,0
	retf 0
	nop 0
;R_PointToAngle+224
	mov2 %r7,%r8,%r8,%r1
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+240
	ldwzx.xw %r1,%r1,%r7,2,0
	subfiws.l %r1,%r1,1073741823
;R_PointToAngle+256
	retf 0
	nop 0
	nop 0
;R_PointToAngle+272
	subfiws %r3,%r1,0
	bwleu %r1,%r8,R_PointToAngle+416
	mov2 %r7,%r8,%r3,%r2
;R_PointToAngle+288
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
	ldwzx.xw %r1,%r1,%r7,2,0
;R_PointToAngle+304
	xori.l %r1,%r1,-2147483648
	retf 0
;R_PointToAngle+320
	mov2 %r7,%r8,%r2,%r1
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+336
	ldwzx.xw %r1,%r1,%r7,2,0
	addiws.l %r1,%r1,1073741824
;R_PointToAngle+352
	retf 0
	nop 0
	nop 0
;R_PointToAngle+368
	mov2 %r7,%r8,%r8,%r1
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+384
	ldwzx.xw %r1,%r1,%r7,2,0
	addiws.l %r1,%r1,-1073741824
;R_PointToAngle+400
	retf 0
	nop 0
	nop 0
;R_PointToAngle+416
	mov2 %r7,%r8,%r2,%r3
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+432
	ldwzx.xw %r1,%r1,%r7,2,0
	subfiws.l %r1,%r1,-1073741825
;R_PointToAngle+448
	retf 0
	nop 0
	nop 0
;R_PointToAngle2
	alloc 8
	stwr %r1,viewx
	stwr %r2,viewy
;R_PointToAngle2+16
	mov2 %r6,%r7,%r3,%r4
	callr %r5,R_PointToAngle
	mov %r1,%r6
;R_PointToAngle2+32
	retf 0
	nop 0
	nop 0
;R_PointToDist
	alloc 8
	ldwzr %r3,viewx
	ldwzr %r4,viewy
;R_PointToDist+16
	absdw %r3,%r3,%r1
	absdw %r2,%r4,%r2
	maxuw %r1,%r2,%r3
;R_PointToDist+32
	bweq %r1,%gz,R_PointToDist+64
	minuw %r6,%r2,%r3
	mov %r7,%r1
;R_PointToDist+48
	callr %r5,FixedDiv
	sraiw %r2,%r6,5
	jmp R_PointToDist+80
;R_PointToDist+64
	mov %r2,%gz
	nop 0
	nop 0
;R_PointToDist+80
	ldafr %r3,tantoangle
	ldwzx.xd %r2,%r3,%r2,2,0
	nop 2
;R_PointToDist+96
	addiws.l %r2,%r2,1073741824
	srliw %r2,%r2,19
;R_PointToDist+112
	ldafr %r3,finesine
	ldwzx.xuw %r7,%r3,%r2,2,0
	mov %r6,%r1
;R_PointToDist+128
	callr %r5,FixedDiv
	mov %r1,%r6
	retf 0
;R_InitPointToAngle
	alloc 1
	retf 0
	nop 0
;R_ScaleFromGlobalAngle
	alloc 9
	ldwzr %r2,viewangle
	ldwzr %r3,rw_normalangle
;R_ScaleFromGlobalAngle+16
	addiws.l %r1,%r1,1073741824
	subws %r2,%r1,%r2
;R_ScaleFromGlobalAngle+32
	subws %r1,%r1,%r3
	srliw %r2,%r2,19
	ldafr %r3,finesine
;R_ScaleFromGlobalAngle+48
	srliw %r1,%r1,19
	ldwsx.xuw %r1,%r3,%r1,2,0
	ldwsr %r4,projection
;R_ScaleFromGlobalAngle+64
	ldwsx.xuw %r2,%r3,%r2,2,0
	ldwzr %r3,detailshift
	ldwsr %r5,rw_distance
;R_ScaleFromGlobalAngle+80
	mul %r1,%r4,%r1
	srli %r1,%r1,16
	sllw %r7,%r1,%r3
;R_ScaleFromGlobalAngle+96
	mul %r1,%r5,%r2
	srli %r8,%r1,16
	sraiw %r1,%r7,16
;R_ScaleFromGlobalAngle+112
	bwle %r8,%r1,R_ScaleFromGlobalAngle+160
	callr %r6,FixedDiv
	ldi %r1,256
;R_ScaleFromGlobalAngle+128
	maxsw %r1,%r7,%r1
	ldi %r2,4194304
	minsw %r1,%r1,%r2
;R_ScaleFromGlobalAngle+144
	retf 0
	nop 0
	nop 0
;R_ScaleFromGlobalAngle+160
	ldi %r1,4194304
	retf 0
	nop 0
;R_InitTables
	alloc 1
	retf 0
	nop 0
;R_InitTextureMapping
	alloc 15
	ldwzr %r13,centerxfrac
	ldwzr %r14,finetangent+12288
;R_InitTextureMapping+16
	callr %r12,FixedDiv
	ldwzr %r2,centerxfrac
	ldwzr %r1,viewwidth
;R_InitTextureMapping+32
	mov %r4,%gz
	sraiw %r5,%r13,0
	addiws %r6,%r2,65535
;R_InitTextureMapping+48
	addiws %r2,%r1,1
	ldafr %r7,finetangent
	ldi %r8,-1
;R_InitTextureMapping+64
	ldafr %r3,viewangletox
	jmp R_InitTextureMapping+112
	nop 0
;R_InitTextureMapping+80
	stwx.xd %r9,%r4,%r3,0,0
	addi %r4,%r4,4
	nop 2
;R_InitTextureMapping+96
	bdeqi.l %r4,16384,R_InitTextureMapping+208
	nop 0
;R_InitTextureMapping+112
	ldwzx.xd %r10,%r4,%r7,0,0
	mov %r9,%r8
	nop 2
;R_InitTextureMapping+128
	bwgei.l %r10,131073,R_InitTextureMapping+80
	mov %r9,%r2
;R_InitTextureMapping+144
	bwlti.l %r10,-131072,R_InitTextureMapping+80
	sraiw %r9,%r10,0
;R_InitTextureMapping+160
	mul %r9,%r9,%r5
	srli %r9,%r9,16
	subws %r9,%r6,%r9
;R_InitTextureMapping+176
	sraiw %r9,%r9,16
	cmpwlti %r10,%r9,-1
	minsw %r9,%r9,%r2
;R_InitTextureMapping+192
	cmovlsb %r9,%r10,%r8,%r9
	jmp R_InitTextureMapping+80
	nop 0
;R_InitTextureMapping+208
	bwlt %r1,%gz,R_InitTextureMapping+320
	mov %r4,%gz
	srliw %r5,%r2,0
;R_InitTextureMapping+224
	ldi %r6,-1
	ldi.l %r7,-1073741824
;R_InitTextureMapping+240
	ldafr %r8,xtoviewangle
	nop 0
	nop 0
;R_InitTextureMapping+256
	mov2 %r10,%r9,%r3,%r6
	nop 0
	nop 0
;R_InitTextureMapping+272
	ldws %r11,%r10,0
	addi %r9,%r9,1
	addi %r10,%r10,4
;R_InitTextureMapping+288
	bdlt %r4,%r11,R_InitTextureMapping+272
	sladdws %r9,%r7,%r9,19
	stwx.xd %r9,%r8,%r4,2,0
;R_InitTextureMapping+304
	addi %r4,%r4,1
	bdne %r4,%r5,R_InitTextureMapping+256
	nop 0
;R_InitTextureMapping+320
	mov %r3,%gz
	ldafr %r4,viewangletox
	jmp R_InitTextureMapping+384
;R_InitTextureMapping+336
	mov %r5,%gz
	nop 0
	nop 0
;R_InitTextureMapping+352
	stwx.xd %r5,%r3,%r4,0,0
	nop 0
	nop 0
;R_InitTextureMapping+368
	addi %r3,%r3,4
	bdeqi.l %r3,16384,R_InitTextureMapping+416
;R_InitTextureMapping+384
	ldwzx.xd %r6,%r3,%r4,0,0
	bweqi %r6,-1,R_InitTextureMapping+336
	mov %r5,%r1
;R_InitTextureMapping+400
	bweq %r6,%r2,R_InitTextureMapping+352
	jmp R_InitTextureMapping+368
	nop 0
;R_InitTextureMapping+416
	ldwzr %r1,xtoviewangle
	stwr %r1,clipangle
	retf 0
;R_InitLightTables
	alloc 15
	mov %r3,%gz
	ldafr %r4,zlight
;R_InitLightTables+16
	ldi %r5,960
	ldi %r6,1
	ldi %r1,10485760
;R_InitLightTables+32
	ldi %r7,31
	nop 0
	nop 0
;R_InitLightTables+48
	slsubws %r2,%r5,%r3,6
	srliw %r8,%r2,4
	mov2 %r9,%r10,%r6,%r4
;R_InitLightTables+64
	slliw %r14,%r9,20
	mov %r13,%r1
	callr %r12,FixedDiv
;R_InitLightTables+80
	sraiw %r2,%r13,12
	srliw %r11,%r13,31
	addws %r2,%r2,%r11
;R_InitLightTables+96
	sraiw %r2,%r2,1
	subws %r2,%r8,%r2
	lddzr %r11,colormaps
;R_InitLightTables+112
	maxsw %r2,%r2,%gz
	minsw %r2,%r2,%r7
	slliw %r2,%r2,8
;R_InitLightTables+128
	ldax.xuw %r2,%r11,%r2,0,0
	std %r2,%r10,0
	addi %r9,%r9,1
;R_InitLightTables+144
	addi %r10,%r10,8
	bdnei %r9,129,R_InitLightTables+64
	addi %r3,%r3,1
;R_InitLightTables+160
	addi %r4,%r4,1024
	bdnei %r3,16,R_InitLightTables+48
	retf 0
;R_SetViewSize
	alloc 4
	ldi %r3,1
	stwr %r3,setsizeneeded
;R_SetViewSize+16
	stwr %r1,setblocks
	stwr %r2,setdetail
	retf 0
;R_ExecuteSetViewSize
	alloc 15
	ldwzr %r1,setblocks
	stwr %gz,setsizeneeded
;R_ExecuteSetViewSize+16
	bwnei %r1,11,R_ExecuteSetViewSize+48
	ldi %r14,200
	ldi %r13,320
;R_ExecuteSetViewSize+32
	jmp R_ExecuteSetViewSize+96
	nop 0
	nop 0
;R_ExecuteSetViewSize+48
	slliw %r13,%r1,5
	mulwsi %r1,%r1,168
	nop 2
;R_ExecuteSetViewSize+64
	muli.l %r1,%r1,1717986919
	srli %r2,%r1,63
;R_ExecuteSetViewSize+80
	srai %r1,%r1,34
	addws %r1,%r1,%r2
	andi %r14,%r1,-8
;R_ExecuteSetViewSize+96
	ldwzr %r1,setdetail
	stwr %r13,scaledviewwidth
	stwr %r14,viewheight
;R_ExecuteSetViewSize+112
	stwr %r1,detailshift
	sraw %r2,%r13,%r1
	stwr %r2,viewwidth
;R_ExecuteSetViewSize+128
	sraiw %r3,%r14,1
	stwr %r3,centery
	srliw %r3,%r13,31
;R_ExecuteSetViewSize+144
	addws %r2,%r2,%r3
	sraiw %r2,%r2,1
	stwr %r2,centerx
;R_ExecuteSetViewSize+160
	slliw %r2,%r2,16
	stwr %r2,centerxfrac
	slliw %r3,%r14,15
;R_ExecuteSetViewSize+176
	stwr %r3,centeryfrac
	ldar %r3,R_DrawColumnLow
	ldar %r4,R_DrawColumn
;R_ExecuteSetViewSize+192
	ldar %r5,R_DrawFuzzColumnLow
	ldar %r6,R_DrawFuzzColumn
	ldar %r7,R_DrawTranslatedColumnLow
;R_ExecuteSetViewSize+208
	ldar %r8,R_DrawTranslatedColumn
	ldar %r9,R_DrawSpanLow
	ldar %r10,R_DrawSpan
;R_ExecuteSetViewSize+224
	stwr %r2,projection
	cmovweq %r2,%r1,%r4,%r3
	cmovweq %r3,%r1,%r6,%r5
;R_ExecuteSetViewSize+240
	cmovweq %r4,%r1,%r8,%r7
	cmovweq %r1,%r1,%r10,%r9
	stdr %r2,basecolfunc
;R_ExecuteSetViewSize+256
	stdr %r2,colfunc
	stdr %r3,fuzzcolfunc
	stdr %r4,transcolfunc
;R_ExecuteSetViewSize+272
	stdr %r1,spanfunc
	callr %r12,R_InitBuffer
	callr %r14,R_InitTextureMapping
;R_ExecuteSetViewSize+288
	ldwzr %r2,viewwidth
	slliw %r1,%r2,16
	sraiw %r1,%r1,0
;R_ExecuteSetViewSize+304
	muli.l %r1,%r1,1717986919
	srli %r3,%r1,63
;R_ExecuteSetViewSize+320
	srai %r1,%r1,39
	addws %r1,%r1,%r3
	stwr %r1,pspritescale
;R_ExecuteSetViewSize+336
	ldi %r1,20971520
	divw %r1,%r1,%r2
	stwr %r1,pspriteiscale
;R_ExecuteSetViewSize+352
	ldwzr %r1,viewheight
	bwlti %r2,1,R_ExecuteSetViewSize+416
	srliw %r3,%r2,0
;R_ExecuteSetViewSize+368
	ldafr %r4,screenheightarray
	nop 0
	nop 0
;R_ExecuteSetViewSize+384
	sth %r1,%r4,0
	addi %r3,%r3,-1
	addi %r4,%r4,2
;R_ExecuteSetViewSize+400
	bdne %r3,%gz,R_ExecuteSetViewSize+384
	nop 0
	nop 0
;R_ExecuteSetViewSize+416
	bwlti %r1,1,R_ExecuteSetViewSize+560
	mov %r2,%gz
	ldafr %r3,yslope
;R_ExecuteSetViewSize+432
	ldi %r4,32768
	nop 0
	nop 0
;R_ExecuteSetViewSize+448
	srliw %r5,%r1,31
	addws %r1,%r1,%r5
	srliw %r1,%r1,1
;R_ExecuteSetViewSize+464
	ldwzr %r5,viewwidth
	ldwzr %r6,detailshift
	subws %r1,%r2,%r1
;R_ExecuteSetViewSize+480
	slor %r1,%r4,%r1,16
	absdw %r14,%r1,%gz
	sllw %r1,%r5,%r6
;R_ExecuteSetViewSize+496
	srliw %r5,%r1,31
	addws %r1,%r1,%r5
	slliw %r1,%r1,15
;R_ExecuteSetViewSize+512
	andi %r13,%r1,-65536
	callr %r12,FixedDiv
	ldwzr %r1,viewheight
;R_ExecuteSetViewSize+528
	stw %r13,%r3,0
	addi %r2,%r2,1
	sraiw %r5,%r1,0
;R_ExecuteSetViewSize+544
	addi %r3,%r3,4
	bdlt %r2,%r5,R_ExecuteSetViewSize+448
	ldwzr %r2,viewwidth
;R_ExecuteSetViewSize+560
	bwlti %r2,1,R_ExecuteSetViewSize+672
	mov %r3,%gz
	ldafr %r4,distscale
;R_ExecuteSetViewSize+576
	ldafr %r5,xtoviewangle
	ldi %r1,65536
	nop 0
;R_ExecuteSetViewSize+592
	ldwz %r2,%r5,0
	lddzr %r6,finecosine
	srliw %r2,%r2,19
;R_ExecuteSetViewSize+608
	ldwzx.xuw %r2,%r6,%r2,2,0
	absdw %r14,%r2,%gz
	mov %r13,%r1
;R_ExecuteSetViewSize+624
	callr %r12,FixedDiv
	ldwzr %r2,viewwidth
	stw %r13,%r4,0
;R_ExecuteSetViewSize+640
	addi %r3,%r3,1
	sraiw %r6,%r2,0
	addi %r4,%r4,4
;R_ExecuteSetViewSize+656
	addi %r5,%r5,4
	bdlt %r3,%r6,R_ExecuteSetViewSize+592
	nop 0
;R_ExecuteSetViewSize+672
	ldwzr %r3,detailshift
	mov %r1,%gz
	sllw %r2,%r2,%r3
;R_ExecuteSetViewSize+688
	ldafr %r3,scalelight
	lddzr %r4,colormaps
	ldi %r5,960
;R_ExecuteSetViewSize+704
	ldi %r6,31
	nop 0
	nop 0
;R_ExecuteSetViewSize+720
	mov %r7,%gz
	slsubws %r8,%r5,%r1,6
	srliw %r8,%r8,4
;R_ExecuteSetViewSize+736
	mov %r9,%r3
	nop 0
	nop 0
;R_ExecuteSetViewSize+752
	mulwsi %r10,%r7,320
	divw %r10,%r10,%r2
	andi %r11,%r10,32768
;R_ExecuteSetViewSize+768
	srliw %r11,%r11,15
	addws %r10,%r10,%r11
	slsrai %r10,%r10,48,48
;R_ExecuteSetViewSize+784
	sraiw %r10,%r10,1
	subws %r10,%r8,%r10
	maxsw %r10,%r10,%gz
;R_ExecuteSetViewSize+800
	minsw %r10,%r10,%r6
	slliw %r10,%r10,8
	ldax.xuw %r10,%r4,%r10,0,0
;R_ExecuteSetViewSize+816
	std %r10,%r9,0
	addi %r7,%r7,1
	addi %r9,%r9,8
;R_ExecuteSetViewSize+832
	bdnei %r7,48,R_ExecuteSetViewSize+752
	addi %r1,%r1,1
	addi %r3,%r3,384
;R_ExecuteSetViewSize+848
	bdnei %r1,16,R_ExecuteSetViewSize+720
	retf 0
	nop 0
;R_Init
	alloc 7
	callr %r6,R_InitData
	ldi %r1,46
;R_Init+16
	mov %r6,%r1
	callr %r5,putchar
	mov %r6,%r1
;R_Init+32
	callr %r5,putchar
	mov %r6,%r1
	callr %r5,putchar
;R_Init+48
	ldwzr %r2,screenblocks
	ldwzr %r3,detailLevel
	ldi %r4,1
;R_Init+64
	stwr %r4,setsizeneeded
	stwr %r2,setblocks
	stwr %r3,setdetail
;R_Init+80
	callr %r6,R_InitPlanes
	mov %r6,%r1
	callr %r5,putchar
;R_Init+96
	callr %r6,R_InitLightTables
	mov %r6,%r1
	callr %r5,putchar
;R_Init+112
	callr %r6,R_InitSkyMap
	callr %r6,R_InitTranslationTables
	mov %r6,%r1
;R_Init+128
	callr %r5,putchar
	stwr %gz,framecount
	retf 0
;R_PointInSubsector
	alloc 11
	ldwzr %r3,numnodes
	bweq %r3,%gz,R_PointInSubsector+128
;R_PointInSubsector+16
	addiws %r3,%r3,-1
	bbsi %r3,15,R_PointInSubsector+96
	lddzr %r5,nodes
;R_PointInSubsector+32
	ldi %r6,52
	nop 0
	nop 0
;R_PointInSubsector+48
	sraiw %r3,%r3,0
	muladd %r3,%r3,%r6,%r5
	mov2 %r8,%r9,%r1,%r2
;R_PointInSubsector+64
	mov %r10,%r3
	callr %r7,R_PointOnSide
	ldhzx.xuw %r3,%r3,%r8,1,48
;R_PointInSubsector+80
	slsrai %r4,%r3,48,48
	bwgei %r4,0,R_PointInSubsector+48
	nop 0
;R_PointInSubsector+96
	lddzr %r1,subsectors
	andi %r2,%r3,-32769
	ldax.xw %r1,%r1,%r2,4,0
;R_PointInSubsector+112
	retf 0
	nop 0
	nop 0
;R_PointInSubsector+128
	lddzr %r1,subsectors
	retf 0
	nop 0
;R_SetupFrame
	alloc 6
	stdr %r1,viewplayer
	lddz %r2,%r1,0
;R_SetupFrame+16
	ldwz %r3,%r2,24
	stwr %r3,viewx
	ldwz %r3,%r2,28
;R_SetupFrame+32
	stwr %r3,viewy
	ldwz %r2,%r2,56
	ldwzr %r3,viewangleoffset
;R_SetupFrame+48
	addws %r2,%r3,%r2
	stwr %r2,viewangle
	ldwz %r3,%r1,256
;R_SetupFrame+64
	stwr %r3,extralight
	ldwz %r3,%r1,28
	srliw %r2,%r2,19
;R_SetupFrame+80
	ldafr %r4,finesine
	ldwzx.xuw %r4,%r4,%r2,2,0
	lddzr %r5,finecosine
;R_SetupFrame+96
	stwr %r3,viewz
	stwr %r4,viewsin
	ldwzx.xuw %r2,%r5,%r2,2,0
;R_SetupFrame+112
	stwr %r2,viewcos
	stwr %gz,sscount
	ldwz %r1,%r1,260
;R_SetupFrame+128
	bweq %r1,%gz,R_SetupFrame+208
	lddzr %r2,colormaps
	slliw %r1,%r1,8
;R_SetupFrame+144
	ldax.xw %r1,%r2,%r1,0,0
	mov %r2,%gz
	stdr %r1,fixedcolormap
;R_SetupFrame+160
	ldafr %r3,scalelightfixed
	stdr %r3,walllights
	nop 0
;R_SetupFrame+176
	stdx.xd %r1,%r2,%r3,0,0
	addi %r2,%r2,8
	bdnei %r2,384,R_SetupFrame+176
;R_SetupFrame+192
	jmp R_SetupFrame+224
	nop 0
	nop 0
;R_SetupFrame+208
	stdr %gz,fixedcolormap
	nop 0
	nop 0
;R_SetupFrame+224
	ldwzr %r1,framecount
	ldwzr %r2,validcount
	addiws %r1,%r1,1
;R_SetupFrame+240
	stwr %r1,framecount
	addiws %r1,%r2,1
	stwr %r1,validcount
;R_SetupFrame+256
	retf 0
	nop 0
	nop 0
;R_RenderPlayerView
	alloc 4
	mov %r3,%r1
	callr %r2,R_SetupFrame
;R_RenderPlayerView+16
	callr %r3,R_ClearClipSegs
	callr %r3,R_ClearDrawSegs
	callr %r3,R_ClearPlanes
;R_RenderPlayerView+32
	callr %r3,R_ClearSprites
	callr %r3,NetUpdate
	ldwzr %r1,numnodes
;R_RenderPlayerView+48
	addiws %r3,%r1,-1
	callr %r2,R_RenderBSPNode
	callr %r3,NetUpdate
;R_RenderPlayerView+64
	callr %r3,R_DrawPlanes
	callr %r3,NetUpdate
	callr %r3,R_DrawMasked
;R_RenderPlayerView+80
	callr %r3,NetUpdate
	retf 0
	nop 0
;R_InitPlanes
	alloc 1
	retf 0
	nop 0
;R_MapPlane
	allocsp 12,16
	bwlt %r2,%gz,R_MapPlane+48
	bwlt %r3,%r2,R_MapPlane+48
;R_MapPlane+16
	ldwzr %r4,viewwidth
	bwle %r4,%r3,R_MapPlane+48
	ldwzr %r4,viewheight
;R_MapPlane+32
	bwle %r1,%r4,R_MapPlane+80
	nop 0
	nop 0
;R_MapPlane+48
	stw %r1,%sp,8
	stw %r3,%sp,4
	ldafr %r11,.rodata+27775
;R_MapPlane+64
	stw %r2,%sp,0
	callr %r10,I_Error
	nop 0
;R_MapPlane+80
	ldwzr %r4,planeheight
	ldafr %r5,cachedheight
	ldax.xw %r6,%r5,%r1,2,0
;R_MapPlane+96
	ldwzx.xw %r7,%r5,%r1,2,0
	sraiw %r5,%r1,0
	bwne %r4,%r7,R_MapPlane+160
;R_MapPlane+112
	ldafr %r4,cacheddistance
	ldwzx.xd %r4,%r4,%r5,2,0
	ldafr %r6,cachedxstep
;R_MapPlane+128
	ldwzx.xd %r6,%r6,%r5,2,0
	ldafr %r7,cachedystep
	ldwzx.xd %r7,%r7,%r5,2,0
;R_MapPlane+144
	jmp R_MapPlane+272
	nop 0
	nop 0
;R_MapPlane+160
	ldafr %r7,yslope
	ldwsx.xd %r7,%r7,%r5,2,0
	stw %r4,%r6,0
;R_MapPlane+176
	sraiw %r4,%r4,0
	mul %r4,%r7,%r4
	srli %r4,%r4,16
;R_MapPlane+192
	ldafr %r6,cacheddistance
	ldwsr %r7,basexscale
	stwx.xd %r4,%r6,%r5,2,0
;R_MapPlane+208
	sraiw %r8,%r4,0
	ldwsr %r9,baseyscale
	mul %r6,%r8,%r7
;R_MapPlane+224
	srli %r6,%r6,16
	ldafr %r7,cachedxstep
	stwx.xd %r6,%r7,%r5,2,0
;R_MapPlane+240
	mul %r7,%r8,%r9
	srli %r7,%r7,16
	ldafr %r8,cachedystep
;R_MapPlane+256
	stwx.xd %r7,%r8,%r5,2,0
	nop 0
	nop 0
;R_MapPlane+272
	stwr %r6,ds_xstep
	stwr %r7,ds_ystep
	ldafr %r5,distscale
;R_MapPlane+288
	ldwzr %r6,viewangle
	ldafr %r7,xtoviewangle
	ldwzx.xw %r7,%r7,%r2,2,0
;R_MapPlane+304
	ldwsx.xw %r5,%r5,%r2,2,0
	lddzr %r8,finecosine
	sraiw %r9,%r4,0
;R_MapPlane+320
	addws %r6,%r7,%r6
	srliw %r6,%r6,19
	ldwsx.xuw %r7,%r8,%r6,2,0
;R_MapPlane+336
	ldwzr %r8,viewx
	mul %r5,%r9,%r5
	slsrai %r5,%r5,16,32
;R_MapPlane+352
	mul %r7,%r5,%r7
	srli %r7,%r7,16
	ldafr %r9,finesine
;R_MapPlane+368
	ldwsx.xuw %r6,%r9,%r6,2,0
	addws %r7,%r8,%r7
	stwr %r7,ds_xfrac
;R_MapPlane+384
	ldwzr %r7,viewy
	mul %r6,%r5,%r6
	lddzr %r5,fixedcolormap
;R_MapPlane+400
	srli %r6,%r6,16
	addws %r6,%r7,%r6
	subfiws %r6,%r6,0
;R_MapPlane+416
	stwr %r6,ds_yfrac
	bdne %r5,%gz,R_MapPlane+464
	lddzr %r5,planezlight
;R_MapPlane+432
	sraiw %r4,%r4,20
	ldi %r6,127
	minuw %r4,%r4,%r6
;R_MapPlane+448
	lddzx.xuw %r5,%r5,%r4,3,0
	nop 0
	nop 0
;R_MapPlane+464
	stdr %r5,ds_colormap
	stwr %r1,ds_y
	stwr %r2,ds_x1
;R_MapPlane+480
	stwr %r3,ds_x2
	callplt %r11,spanfunc
	retf 16
;R_ClearPlanes
	alloc 8
	ldwzr %r1,viewwidth
	bwlti %r1,1,R_ClearPlanes+96
;R_ClearPlanes+16
	ldwzr %r2,viewheight
	srliw %r3,%r1,0
	slli %r7,%r3,1
;R_ClearPlanes+32
	ldafr %r5,ceilingclip
	ldi %r6,255
	callr %r4,memset
;R_ClearPlanes+48
	ldafr %r1,floorclip
	nop 0
	nop 0
;R_ClearPlanes+64
	sth %r2,%r1,0
	addi %r3,%r3,-1
	addi %r1,%r1,2
;R_ClearPlanes+80
	bdne %r3,%gz,R_ClearPlanes+64
	nop 0
	nop 0
;R_ClearPlanes+96
	ldafr %r1,visplanes
	stdr %r1,lastvisplane
	ldafr %r1,openings
;R_ClearPlanes+112
	stdr %r1,lastopening
	ldafr %r5,cachedheight
	ldi %r7,800
;R_ClearPlanes+128
	mov %r6,%gz
	callr %r4,memset
	ldwzr %r1,viewangle
;R_ClearPlanes+144
	lddzr %r2,finecosine
	addiws.l %r1,%r1,-1073741824
;R_ClearPlanes+160
	srliw %r3,%r1,19
	ldwzx.xuw %r6,%r2,%r3,2,0
	ldwzr %r7,centerxfrac
;R_ClearPlanes+176
	callr %r5,FixedDiv
	stwr %r6,basexscale
	ldafr %r1,finesine
;R_ClearPlanes+192
	ldwzx.xuw %r6,%r1,%r3,2,0
	ldwzr %r7,centerxfrac
	callr %r5,FixedDiv
;R_ClearPlanes+208
	subfiws %r1,%r6,0
	stwr %r1,baseyscale
	retf 0
;R_FindPlane
	alloc 12
	ldwzr %r4,skyflatnum
	lddzr %r6,lastvisplane
;R_FindPlane+16
	cmpweq %r4,%r2,%r4
	ldafr %r7,visplanes
	cmovlsb %r5,%r4,%gz,%r1
;R_FindPlane+32
	cmovlsb %r4,%r4,%gz,%r3
	mov %r1,%r7
	bdleu %r6,%r7,R_FindPlane+128
;R_FindPlane+48
	ldafr %r1,visplanes
	jmp R_FindPlane+80
	nop 0
;R_FindPlane+64
	addi %r1,%r1,664
	bdleu %r6,%r1,R_FindPlane+128
	nop 0
;R_FindPlane+80
	ldwz %r3,%r1,0
	bwne %r5,%r3,R_FindPlane+64
	ldwz %r3,%r1,4
;R_FindPlane+96
	bwne %r2,%r3,R_FindPlane+64
	ldwz %r3,%r1,8
	bwne %r4,%r3,R_FindPlane+64
;R_FindPlane+112
	retf 0
	nop 0
	nop 0
;R_FindPlane+128
	sub %r3,%r6,%r7
	bdnei.l %r3,84992,R_FindPlane+160
;R_FindPlane+144
	ldafr %r11,.rodata+22724
	callr %r10,I_Error
	lddzr %r6,lastvisplane
;R_FindPlane+160
	addi %r3,%r6,664
	stdr %r3,lastvisplane
	stw %r5,%r1,0
;R_FindPlane+176
	stw %r2,%r1,4
	stw %r4,%r1,8
	ldi %r2,320
;R_FindPlane+192
	stw %r2,%r1,12
	ldi %r2,-1
	stw %r2,%r1,16
;R_FindPlane+208
	addi %r9,%r1,21
	ldi %r10,255
	ldi %r11,320
;R_FindPlane+224
	callr %r8,memset
	retf 0
	nop 0
;R_CheckPlane
	alloc 14
	ldwz %r4,%r1,12
	ldwz %r5,%r1,16
;R_CheckPlane+16
	maxsw %r6,%r2,%r4
	minsw %r7,%r3,%r5
	bwlt %r7,%r6,R_CheckPlane+96
;R_CheckPlane+32
	maxsw %r8,%r4,%r2
	sraiw %r9,%r8,0
	addws %r7,%r7,%r8
;R_CheckPlane+48
	subws %r6,%r7,%r6
	addiws %r6,%r6,1
	addi %r7,%r9,21
;R_CheckPlane+64
	ldbzx.xd %r8,%r1,%r7,0,0
	bwnei %r8,255,R_CheckPlane+128
	addiws %r8,%r7,-20
;R_CheckPlane+80
	addi %r7,%r7,1
	bwne %r6,%r8,R_CheckPlane+64
	nop 0
;R_CheckPlane+96
	minsw %r2,%r2,%r4
	maxsw %r3,%r3,%r5
	stw %r2,%r1,12
;R_CheckPlane+112
	stw %r3,%r1,16
	retf 0
	nop 0
;R_CheckPlane+128
	ldwz %r4,%r1,0
	lddzr %r5,lastvisplane
	stw %r4,%r5,0
;R_CheckPlane+144
	ldwz %r4,%r1,4
	stw %r4,%r5,4
	ldwz %r1,%r1,8
;R_CheckPlane+160
	stw %r1,%r5,8
	addi %r1,%r5,664
	stdr %r1,lastvisplane
;R_CheckPlane+176
	stw %r2,%r5,12
	stw %r3,%r5,16
	addi %r11,%r5,21
;R_CheckPlane+192
	ldi %r12,255
	ldi %r13,320
	callr %r10,memset
;R_CheckPlane+208
	mov %r1,%r5
	retf 0
	nop 0
;R_DrawPlanes
	allocsp 29,16
	lddzr %r1,ds_p
	ldafr %r2,drawsegs
;R_DrawPlanes+16
	sub %r1,%r1,%r2
	srai %r1,%r1,6
	bdlti %r1,257,R_DrawPlanes+48
;R_DrawPlanes+32
	ldafr %r28,.rodata+9473
	std %r1,%sp,0
	callr %r27,I_Error
;R_DrawPlanes+48
	lddzr %r1,lastvisplane
	ldafr %r6,visplanes
	sub %r1,%r1,%r6
;R_DrawPlanes+64
	bdlti.l %r1,84993,R_DrawPlanes+112
	srli %r1,%r1,3
;R_DrawPlanes+80
	ldi.l %r2,-6667497857967307813
	mul %r1,%r1,%r2
;R_DrawPlanes+96
	ldafr %r28,.rodata+16882
	std %r1,%sp,0
	callr %r27,I_Error
;R_DrawPlanes+112
	lddzr %r1,lastopening
	ldafr %r2,openings
	sub %r1,%r1,%r2
;R_DrawPlanes+128
	srai %r1,%r1,1
	bdlti.l %r1,20481,R_DrawPlanes+160
;R_DrawPlanes+144
	ldafr %r28,.rodata+13957
	std %r1,%sp,0
	callr %r27,I_Error
;R_DrawPlanes+160
	lddzr %r1,lastvisplane
	bdleu %r1,%r6,R_DrawPlanes+1008
	ldafr %r7,xtoviewangle
;R_DrawPlanes+176
	ldi %r1,1
	ldi %r8,15
	ldafr %r9,zlight
;R_DrawPlanes+192
	ldi %r10,255
	ldafr %r11,spanstart
	jmp R_DrawPlanes+240
;R_DrawPlanes+208
	mov %r28,%r2
	callr %r27,W_ReleaseLumpNum
	nop 0
;R_DrawPlanes+224
	lddzr %r2,lastvisplane
	addi %r6,%r6,664
	bdleu %r2,%r6,R_DrawPlanes+1008
;R_DrawPlanes+240
	ldwz %r3,%r6,12
	ldwz %r2,%r6,16
	bwlt %r2,%r3,R_DrawPlanes+224
;R_DrawPlanes+256
	ldwz %r4,%r6,4
	ldwzr %r5,skyflatnum
	bwne %r4,%r5,R_DrawPlanes+480
;R_DrawPlanes+272
	ldwzr %r4,pspriteiscale
	ldwzr %r5,detailshift
	lddzr %r12,colormaps
;R_DrawPlanes+288
	ldwzr %r13,skytexturemid
	sraw %r4,%r4,%r5
	stwr %r4,dc_iscale
;R_DrawPlanes+304
	stdr %r12,dc_colormap
	stwr %r13,dc_texturemid
	sraiw %r5,%r3,0
;R_DrawPlanes+320
	ldax.xw %r3,%r7,%r3,2,0
	jmp R_DrawPlanes+368
	nop 0
;R_DrawPlanes+336
	addi %r5,%r4,1
	sraiw %r12,%r2,0
	addi %r3,%r3,4
;R_DrawPlanes+352
	bdle %r12,%r4,R_DrawPlanes+224
	nop 0
	nop 0
;R_DrawPlanes+368
	mov %r4,%r5
	ldbzx.xd %r5,%r6,%r5,0,21
	nop 2
;R_DrawPlanes+384
	ldbzx.xd.l %r12,%r6,%r4,0,343
	stwr %r5,dc_yl
;R_DrawPlanes+400
	stwr %r12,dc_yh
	bwltu %r12,%r5,R_DrawPlanes+336
	ldwzr %r2,viewangle
;R_DrawPlanes+416
	ldwz %r5,%r3,0
	addws %r2,%r5,%r2
	srliw %r28,%r2,22
;R_DrawPlanes+432
	stwr %r4,dc_x
	ldwzr %r27,skytexture
	callr %r26,R_GetColumn
;R_DrawPlanes+448
	stdr %r27,dc_source
	callplt %r28,colfunc
	ldwz %r2,%r6,16
;R_DrawPlanes+464
	jmp R_DrawPlanes+336
	nop 0
	nop 0
;R_DrawPlanes+480
	lddzr %r2,flattranslation
	ldwzr %r3,firstflat
	ldwzx.xw %r2,%r2,%r4,2,0
;R_DrawPlanes+496
	addws %r2,%r2,%r3
	mov2 %r27,%r28,%r2,%r1
	callr %r26,W_CacheLumpNum
;R_DrawPlanes+512
	ldwz %r3,%r6,0
	ldwzr %r4,viewz
	ldwz %r5,%r6,8
;R_DrawPlanes+528
	stdr %r27,ds_source
	absdw %r13,%r4,%r3
	ldws %r3,%r6,16
;R_DrawPlanes+544
	sraiw %r4,%r5,4
	ldwzr %r5,extralight
	addi %r12,%r6,21
;R_DrawPlanes+560
	stbx.xd %r10,%r3,%r12,0,1
	ldws %r3,%r6,12
	addws %r4,%r4,%r5
;R_DrawPlanes+576
	minsw %r4,%r4,%r8
	maxsw %r5,%r4,%gz
	stbx.xd %r10,%r3,%r12,0,-1
;R_DrawPlanes+592
	ldwz %r3,%r6,16
	ldwz %r4,%r6,12
	srliw %r5,%r5,0
;R_DrawPlanes+608
	stwr %r13,planeheight
	sladd %r5,%r9,%r5,10
	addiws %r13,%r3,1
;R_DrawPlanes+624
	stdr %r5,planezlight
	bwlt %r13,%r4,R_DrawPlanes+208
	addi %r13,%r6,343
;R_DrawPlanes+640
	sraiw %r4,%r4,0
	sraiw %r14,%r3,0
	jmp R_DrawPlanes+672
;R_DrawPlanes+656
	addi %r4,%r15,1
	bdlt %r14,%r15,R_DrawPlanes+208
	nop 0
;R_DrawPlanes+672
	mov %r15,%r4
	ldbzx.xd %r16,%r4,%r13,0,-1
	ldbzx.xd %r18,%r12,%r4,0,0
;R_DrawPlanes+688
	ldbzx.xd %r21,%r4,%r12,0,-1
	addi %r3,%r4,-1
	srliw %r22,%r16,0
;R_DrawPlanes+704
	srliw %r20,%r18,0
	ldbzx.xd %r17,%r13,%r4,0,0
	bwleu %r18,%r21,R_DrawPlanes+784
;R_DrawPlanes+720
	bwltu %r16,%r21,R_DrawPlanes+784
	srliw %r21,%r21,0
	sladd %r19,%r11,%r21,2
;R_DrawPlanes+736
	mov %r4,%r21
	ldwz %r27,%r19,0
	mov2 %r26,%r28,%r21,%r3
;R_DrawPlanes+752
	callr %r25,R_MapPlane
	addi %r21,%r21,1
	bdleu %r20,%r21,R_DrawPlanes+784
;R_DrawPlanes+768
	addi %r19,%r19,4
	bdltu %r4,%r22,R_DrawPlanes+736
	nop 0
;R_DrawPlanes+784
	srliw %r19,%r17,0
	bwleu %r16,%r17,R_DrawPlanes+864
	bwlt %r16,%r21,R_DrawPlanes+864
;R_DrawPlanes+800
	sraiw %r23,%r21,0
	sladd %r24,%r11,%r22,2
	mov %r16,%r22
;R_DrawPlanes+816
	mov %r4,%r16
	ldwz %r27,%r24,0
	mov2 %r26,%r28,%r16,%r3
;R_DrawPlanes+832
	callr %r25,R_MapPlane
	addi %r16,%r16,-1
	bdle %r4,%r23,R_DrawPlanes+864
;R_DrawPlanes+848
	addi %r24,%r24,-4
	bdlt %r19,%r16,R_DrawPlanes+816
	nop 0
;R_DrawPlanes+864
	bwleu %r21,%r18,R_DrawPlanes+928
	bwltu %r17,%r18,R_DrawPlanes+928
	srliw %r3,%r21,0
;R_DrawPlanes+880
	sladd %r4,%r11,%r20,2
	mov %r18,%r20
	nop 0
;R_DrawPlanes+896
	mov %r5,%r18
	addi %r18,%r18,1
	stw %r15,%r4,0
;R_DrawPlanes+912
	bdleu %r3,%r18,R_DrawPlanes+928
	addi %r4,%r4,4
	bdltu %r5,%r19,R_DrawPlanes+896
;R_DrawPlanes+928
	bwle %r17,%r16,R_DrawPlanes+656
	bwlt %r17,%r18,R_DrawPlanes+656
	sraiw %r3,%r18,0
;R_DrawPlanes+944
	sladd %r4,%r11,%r19,2
	nop 0
	nop 0
;R_DrawPlanes+960
	stw %r15,%r4,0
	bdle %r19,%r3,R_DrawPlanes+656
	addiws %r5,%r19,-1
;R_DrawPlanes+976
	addi %r19,%r19,-1
	addi %r4,%r4,-4
	bwlt %r16,%r5,R_DrawPlanes+960
;R_DrawPlanes+992
	jmp R_DrawPlanes+656
	nop 0
	nop 0
;R_DrawPlanes+1008
	retf 16
	nop 0
	nop 0
;R_RenderMaskedSegRange
	alloc 17
	lddz %r11,%r1,0
	stdr %r11,curline
;R_RenderMaskedSegRange+16
	lddz %r9,%r11,40
	stdr %r9,frontsector
	lddz %r10,%r11,48
;R_RenderMaskedSegRange+32
	stdr %r10,backsector
	lddz %r4,%r11,0
	lddz %r6,%r11,8
;R_RenderMaskedSegRange+48
	ldhs %r5,%r9,12
	ldwzr %r7,extralight
	ldwz %r12,%r4,4
;R_RenderMaskedSegRange+64
	ldwz %r13,%r6,4
	lddz %r8,%r11,24
	sraiw %r5,%r5,4
;R_RenderMaskedSegRange+80
	addws %r5,%r7,%r5
	bwne %r12,%r13,R_RenderMaskedSegRange+112
	ldi %r6,-1
;R_RenderMaskedSegRange+96
	jmp R_RenderMaskedSegRange+128
	nop 0
	nop 0
;R_RenderMaskedSegRange+112
	ldwz %r4,%r4,0
	ldwz %r6,%r6,0
	cmpweq %r6,%r4,%r6
;R_RenderMaskedSegRange+128
	lddzr %r4,texturetranslation
	addws %r6,%r5,%r6
	ldhs %r5,%r8,12
;R_RenderMaskedSegRange+144
	bwlt %r6,%gz,R_RenderMaskedSegRange+176
	bwltui %r6,16,R_RenderMaskedSegRange+192
	ldafr %r6,scalelight+5760
;R_RenderMaskedSegRange+160
	jmp R_RenderMaskedSegRange+224
	nop 0
	nop 0
;R_RenderMaskedSegRange+176
	ldafr %r6,scalelight
	jmp R_RenderMaskedSegRange+224
	nop 0
;R_RenderMaskedSegRange+192
	srliw %r6,%r6,0
	ldafr %r7,scalelight
	ldi %r12,384
;R_RenderMaskedSegRange+208
	muladd %r6,%r6,%r12,%r7
	nop 0
	nop 0
;R_RenderMaskedSegRange+224
	ldwzx.xd %r4,%r4,%r5,2,0
	stdr %r6,walllights
	lddz %r6,%r1,56
;R_RenderMaskedSegRange+240
	stdr %r6,maskedtexturecol
	ldwz %r7,%r1,24
	stwr %r7,rw_scalestep
;R_RenderMaskedSegRange+256
	ldwz %r5,%r1,8
	ldwz %r12,%r1,16
	subws %r5,%r2,%r5
;R_RenderMaskedSegRange+272
	mulws %r5,%r5,%r7
	addws %r5,%r5,%r12
	stwr %r5,spryscale
;R_RenderMaskedSegRange+288
	lddz %r12,%r1,48
	stdr %r12,mfloorclip
	lddz %r1,%r1,40
;R_RenderMaskedSegRange+304
	stdr %r1,mceilingclip
	lddz %r1,%r11,32
	ldbz %r1,%r1,24
;R_RenderMaskedSegRange+320
	bbsi %r1,4,R_RenderMaskedSegRange+352
	ldwz %r1,%r9,4
	ldwz %r9,%r10,4
;R_RenderMaskedSegRange+336
	minsw %r1,%r1,%r9
	jmp R_RenderMaskedSegRange+400
	nop 0
;R_RenderMaskedSegRange+352
	ldwz %r1,%r9,0
	ldwz %r9,%r10,0
	lddzr %r10,textureheight
;R_RenderMaskedSegRange+368
	maxsw %r1,%r1,%r9
	stwr %r1,dc_texturemid
	ldwzx.xw %r9,%r10,%r4,2,0
;R_RenderMaskedSegRange+384
	addws %r1,%r9,%r1
	nop 0
	nop 0
;R_RenderMaskedSegRange+400
	ldwzr %r9,viewz
	ldwz %r10,%r8,4
	lddzr %r8,fixedcolormap
;R_RenderMaskedSegRange+416
	subws %r1,%r1,%r9
	addws %r1,%r10,%r1
	stwr %r1,dc_texturemid
;R_RenderMaskedSegRange+432
	bdeq %r8,%gz,R_RenderMaskedSegRange+448
	stdr %r8,dc_colormap
	nop 0
;R_RenderMaskedSegRange+448
	stwr %r2,dc_x
	bwle %r2,%r3,R_RenderMaskedSegRange+480
	nop 0
;R_RenderMaskedSegRange+464
	retf 0
	nop 0
	nop 0
;R_RenderMaskedSegRange+480
	ldi %r8,47
	ldi %r9,-1
	ldi %r10,32767
;R_RenderMaskedSegRange+496
	jmp R_RenderMaskedSegRange+640
	nop 0
	nop 0
;R_RenderMaskedSegRange+512
	ldwsr %r1,dc_texturemid
	ldwzr %r2,centeryfrac
	sraiw %r6,%r5,0
;R_RenderMaskedSegRange+528
	mul %r1,%r6,%r1
	srli %r1,%r1,16
	subws %r1,%r2,%r1
;R_RenderMaskedSegRange+544
	stwr %r1,sprtopscreen
	divuw %r1,%r9,%r5
	stwr %r1,dc_iscale
;R_RenderMaskedSegRange+560
	mov %r15,%r4
	callr %r14,R_GetColumn
	addi %r16,%r15,-3
;R_RenderMaskedSegRange+576
	callr %r15,R_DrawMaskedColumn
	lddzr %r6,maskedtexturecol
	ldwzr %r2,dc_x
;R_RenderMaskedSegRange+592
	sthx.xw %r10,%r6,%r2,1,0
	ldwzr %r7,rw_scalestep
	ldwzr %r5,spryscale
;R_RenderMaskedSegRange+608
	mov %r1,%r2
	addws %r5,%r5,%r7
	stwr %r5,spryscale
;R_RenderMaskedSegRange+624
	addiws %r2,%r2,1
	stwr %r2,dc_x
	bwle %r3,%r1,R_RenderMaskedSegRange+464
;R_RenderMaskedSegRange+640
	ldhsx.xw %r16,%r6,%r2,1,0
	bweqi.l %r16,32767,R_RenderMaskedSegRange+608
;R_RenderMaskedSegRange+656
	lddzr %r1,fixedcolormap
	bdne %r1,%gz,R_RenderMaskedSegRange+512
	lddzr %r1,walllights
;R_RenderMaskedSegRange+672
	sraiw %r2,%r5,12
	minuw %r2,%r2,%r8
	lddzx.xuw %r1,%r1,%r2,3,0
;R_RenderMaskedSegRange+688
	stdr %r1,dc_colormap
	jmp R_RenderMaskedSegRange+512
	nop 0
;R_RenderSegLoop
	alloc 20
	ldwzr %r1,rw_x
	ldwzr %r2,rw_stopx
;R_RenderSegLoop+16
	bwle %r2,%r1,R_RenderSegLoop+1040
	ldwzr %r10,topfrac
	ldafr %r3,ceilingclip
;R_RenderSegLoop+32
	ldafr %r4,floorclip
	ldi %r5,65535
	ldafr %r6,xtoviewangle
;R_RenderSegLoop+48
	ldafr %r7,finetangent
	ldi %r8,47
	ldi %r9,-1
;R_RenderSegLoop+64
	jmp R_RenderSegLoop+240
	nop 0
	nop 0
;R_RenderSegLoop+80
	ldwzr %r11,rw_midtexturemid
	stwr %r2,dc_yl
	stwr %r10,dc_yh
;R_RenderSegLoop+96
	stwr %r11,dc_texturemid
	mov %r19,%r1
	callr %r17,R_GetColumn
;R_RenderSegLoop+112
	stdr %r18,dc_source
	callplt %r19,colfunc
	ldwzr %r1,viewheight
;R_RenderSegLoop+128
	ldwzr %r2,rw_x
	sthx.xw %r1,%r3,%r2,1,0
	sthx.xw %r5,%r4,%r2,1,0
;R_RenderSegLoop+144
	ldwzr %r1,rw_scalestep
	ldwzr %r10,rw_scale
	addws %r1,%r10,%r1
;R_RenderSegLoop+160
	ldwzr %r10,topstep
	ldwzr %r11,topfrac
	stwr %r1,rw_scale
;R_RenderSegLoop+176
	ldwzr %r1,bottomstep
	ldwzr %r12,bottomfrac
	addws %r10,%r11,%r10
;R_RenderSegLoop+192
	stwr %r10,topfrac
	ldwzr %r11,rw_stopx
	addws %r1,%r12,%r1
;R_RenderSegLoop+208
	stwr %r1,bottomfrac
	addiws %r1,%r2,1
	stwr %r1,rw_x
;R_RenderSegLoop+224
	bwle %r11,%r1,R_RenderSegLoop+1040
	nop 0
	nop 0
;R_RenderSegLoop+240
	ldhsx.xw %r11,%r3,%r1,1,0
	addiws %r2,%r10,4095
	ldwzr %r12,markceiling
;R_RenderSegLoop+256
	sraiw %r2,%r2,12
	cmpwlt %r13,%r11,%r2
	addiws %r10,%r11,1
;R_RenderSegLoop+272
	sraiw %r1,%r1,0
	cmovlsb %r2,%r13,%r2,%r10
	bweq %r12,%gz,R_RenderSegLoop+352
;R_RenderSegLoop+288
	ldhsx.xd %r12,%r4,%r1,1,0
	minsw %r12,%r2,%r12
	addiws %r12,%r12,-1
;R_RenderSegLoop+304
	bwle %r12,%r11,R_RenderSegLoop+352
	lddzr %r11,ceilingplane
	stbx.xd %r10,%r11,%r1,0,21
;R_RenderSegLoop+320
	lddzr %r1,ceilingplane
	ldwsr %r10,rw_x
	nop 2
;R_RenderSegLoop+336
	stbx.xd.l %r12,%r1,%r10,0,343
	ldwsr %r1,rw_x
;R_RenderSegLoop+352
	ldwzr %r10,bottomfrac
	ldhsx.xd %r11,%r4,%r1,1,0
	ldwzr %r12,markfloor
;R_RenderSegLoop+368
	sraiw %r10,%r10,12
	cmpwlt %r13,%r10,%r11
	addiws %r11,%r11,-1
;R_RenderSegLoop+384
	cmovlsb %r10,%r13,%r10,%r11
	bweq %r12,%gz,R_RenderSegLoop+448
	ldhsx.xd %r12,%r3,%r1,1,0
;R_RenderSegLoop+400
	maxsw %r12,%r10,%r12
	bwle %r11,%r12,R_RenderSegLoop+448
	lddzr %r13,floorplane
;R_RenderSegLoop+416
	addiws %r12,%r12,1
	stbx.xd %r12,%r13,%r1,0,21
	lddzr %r1,floorplane
;R_RenderSegLoop+432
	ldwsr %r12,rw_x
	stbx.xd.l %r11,%r1,%r12,0,343
;R_RenderSegLoop+448
	ldwzr %r1,segtextured
	bweq %r1,%gz,R_RenderSegLoop+592
	ldwzr %r11,rw_x
;R_RenderSegLoop+464
	ldwzr %r1,rw_centerangle
	ldwzx.xw %r12,%r6,%r11,2,0
	addws %r1,%r12,%r1
;R_RenderSegLoop+480
	srliw %r1,%r1,19
	ldwsx.xuw %r1,%r7,%r1,2,0
	ldwsr %r12,rw_distance
;R_RenderSegLoop+496
	ldwzr %r13,rw_scale
	ldwzr %r14,rw_offset
	lddzr %r15,walllights
;R_RenderSegLoop+512
	mul %r1,%r12,%r1
	sraiw %r12,%r13,12
	minuw %r12,%r12,%r8
;R_RenderSegLoop+528
	lddzx.xuw %r12,%r15,%r12,3,0
	srli %r1,%r1,16
	subws %r1,%r14,%r1
;R_RenderSegLoop+544
	sraiw %r1,%r1,16
	stdr %r12,dc_colormap
	stwr %r11,dc_x
;R_RenderSegLoop+560
	divuw %r11,%r9,%r13
	stwr %r11,dc_iscale
	ldwzr %r18,midtexture
;R_RenderSegLoop+576
	bwne %r18,%gz,R_RenderSegLoop+80
	jmp R_RenderSegLoop+608
	nop 0
;R_RenderSegLoop+592
	mov %r1,%gz
	ldwzr %r18,midtexture
	bwne %r18,%gz,R_RenderSegLoop+80
;R_RenderSegLoop+608
	ldwzr %r18,toptexture
	bweq %r18,%gz,R_RenderSegLoop+688
	ldwsr %r12,rw_x
;R_RenderSegLoop+624
	ldwzr %r11,pixhigh
	ldhsx.xd %r13,%r4,%r12,1,0
	ldwzr %r14,pixhighstep
;R_RenderSegLoop+640
	sraiw %r15,%r11,12
	cmpwlt %r16,%r15,%r13
	addiws %r13,%r13,-1
;R_RenderSegLoop+656
	addws %r14,%r14,%r11
	cmovlsb %r11,%r16,%r15,%r13
	stwr %r14,pixhigh
;R_RenderSegLoop+672
	bwle %r2,%r11,R_RenderSegLoop+720
	addiws %r11,%r2,-1
	jmp R_RenderSegLoop+784
;R_RenderSegLoop+688
	ldwzr %r11,markceiling
	bweq %r11,%gz,R_RenderSegLoop+800
	addiws %r11,%r2,-1
;R_RenderSegLoop+704
	jmp R_RenderSegLoop+768
	nop 0
	nop 0
;R_RenderSegLoop+720
	ldwzr %r12,rw_toptexturemid
	stwr %r2,dc_yl
	stwr %r11,dc_yh
;R_RenderSegLoop+736
	stwr %r12,dc_texturemid
	mov %r19,%r1
	callr %r17,R_GetColumn
;R_RenderSegLoop+752
	stdr %r18,dc_source
	callplt %r19,colfunc
	nop 0
;R_RenderSegLoop+768
	ldwsr %r12,rw_x
	nop 0
	nop 0
;R_RenderSegLoop+784
	sthx.xd %r11,%r3,%r12,1,0
	nop 0
	nop 0
;R_RenderSegLoop+800
	ldwzr %r18,bottomtexture
	bweq %r18,%gz,R_RenderSegLoop+896
	ldwzr %r2,rw_x
;R_RenderSegLoop+816
	ldwzr %r11,pixlow
	ldhsx.xw %r12,%r3,%r2,1,0
	addiws %r13,%r11,4095
;R_RenderSegLoop+832
	ldwzr %r14,pixlowstep
	sraiw %r13,%r13,12
	cmpwlt %r15,%r12,%r13
;R_RenderSegLoop+848
	addiws %r12,%r12,1
	addws %r14,%r14,%r11
	cmovlsb %r11,%r15,%r13,%r12
;R_RenderSegLoop+864
	stwr %r14,pixlow
	bwle %r11,%r10,R_RenderSegLoop+928
	sraiw %r12,%r2,0
;R_RenderSegLoop+880
	addiws %r11,%r10,1
	jmp R_RenderSegLoop+992
	nop 0
;R_RenderSegLoop+896
	ldwzr %r11,markfloor
	ldwzr %r2,rw_x
	bweq %r11,%gz,R_RenderSegLoop+1008
;R_RenderSegLoop+912
	addiws %r11,%r10,1
	jmp R_RenderSegLoop+976
	nop 0
;R_RenderSegLoop+928
	ldwzr %r2,rw_bottomtexturemid
	stwr %r11,dc_yl
	stwr %r10,dc_yh
;R_RenderSegLoop+944
	stwr %r2,dc_texturemid
	mov %r19,%r1
	callr %r17,R_GetColumn
;R_RenderSegLoop+960
	stdr %r18,dc_source
	callplt %r19,colfunc
	ldwzr %r2,rw_x
;R_RenderSegLoop+976
	sraiw %r12,%r2,0
	nop 0
	nop 0
;R_RenderSegLoop+992
	sthx.xd %r11,%r4,%r12,1,0
	nop 0
	nop 0
;R_RenderSegLoop+1008
	ldwzr %r10,maskedtexture
	bweq %r10,%gz,R_RenderSegLoop+144
	lddzr %r10,maskedtexturecol
;R_RenderSegLoop+1024
	sthx.xw %r1,%r10,%r2,1,0
	jmp R_RenderSegLoop+144
	nop 0
;R_RenderSegLoop+1040
	retf 0
	nop 0
	nop 0
;R_StoreWallRange
	allocsp 27,16
	lddzr %r3,ds_p
	ldafr %r4,ds_p
;R_StoreWallRange+16
	bdeq %r3,%r4,R_StoreWallRange+2432
	bwlt %r2,%r1,R_StoreWallRange+48
	ldwzr %r3,viewwidth
;R_StoreWallRange+32
	bwlt %r1,%r3,R_StoreWallRange+80
	nop 0
	nop 0
;R_StoreWallRange+48
	stw %r2,%sp,4
	ldafr %r26,.rodata+5811
	stw %r1,%sp,0
;R_StoreWallRange+64
	callr %r25,I_Error
	nop 0
	nop 0
;R_StoreWallRange+80
	lddzr %r3,curline
	lddz %r4,%r3,24
	stdr %r4,sidedef
;R_StoreWallRange+96
	lddz %r4,%r3,32
	stdr %r4,linedef
	ldhz %r5,%r4,24
;R_StoreWallRange+112
	ori %r5,%r5,256
	sth %r5,%r4,24
	ldwz %r4,%r3,20
;R_StoreWallRange+128
	ldwzr %r5,rw_angle1
	addiws.l %r4,%r4,1073741824
;R_StoreWallRange+144
	stwr %r4,rw_normalangle
	lddz %r3,%r3,0
	absdw %r4,%r5,%r4
;R_StoreWallRange+160
	ldi.l %r8,1073741824
	maxuw %r5,%r4,%r8
;R_StoreWallRange+176
	subws %r4,%r5,%r4
	ldwz %r25,%r3,0
	ldwz %r26,%r3,4
;R_StoreWallRange+192
	callr %r24,R_PointToDist
	srliw %r3,%r4,19
	ldafr %r9,finesine
;R_StoreWallRange+208
	ldwsx.xuw %r3,%r9,%r3,2,0
	sraiw %r10,%r25,0
	mul %r3,%r3,%r10
;R_StoreWallRange+224
	lddzr %r4,ds_p
	srli %r3,%r3,16
	stwr %r3,rw_distance
;R_StoreWallRange+240
	stwr %r1,rw_x
	stw %r1,%r4,8
	stw %r2,%r4,12
;R_StoreWallRange+256
	lddzr %r3,curline
	std %r3,%r4,0
	ldwzr %r3,viewangle
;R_StoreWallRange+272
	ldafr %r4,xtoviewangle
	ldwzx.xw %r5,%r4,%r1,2,0
	addiws %r6,%r2,1
;R_StoreWallRange+288
	stwr %r6,rw_stopx
	addws %r26,%r5,%r3
	callr %r25,R_ScaleFromGlobalAngle
;R_StoreWallRange+304
	lddzr %r13,ds_p
	stwr %r26,rw_scale
	stw %r26,%r13,16
;R_StoreWallRange+320
	bwle %r2,%r1,R_StoreWallRange+400
	ldwzr %r3,viewangle
	ldwzx.xw %r4,%r4,%r2,2,0
;R_StoreWallRange+336
	addws %r26,%r4,%r3
	callr %r25,R_ScaleFromGlobalAngle
	lddzr %r13,ds_p
;R_StoreWallRange+352
	mov %r3,%r26
	stw %r26,%r13,20
	ldwzr %r26,rw_scale
;R_StoreWallRange+368
	subws %r3,%r3,%r26
	subws %r2,%r2,%r1
	divw %r2,%r3,%r2
;R_StoreWallRange+384
	stwr %r2,rw_scalestep
	stw %r2,%r13,24
	jmp R_StoreWallRange+416
;R_StoreWallRange+400
	stw %r26,%r13,20
	nop 0
	nop 0
;R_StoreWallRange+416
	lddzr %r5,frontsector
	ldwz %r6,%r5,4
	ldwzr %r7,viewz
;R_StoreWallRange+432
	subws %r4,%r6,%r7
	stwr %r4,worldtop
	ldwz %r14,%r5,0
;R_StoreWallRange+448
	subws %r3,%r14,%r7
	stwr %r3,worldbottom
	stwr %gz,maskedtexture
;R_StoreWallRange+464
	stwr %gz,bottomtexture
	stwr %gz,toptexture
	stwr %gz,midtexture
;R_StoreWallRange+480
	std %gz,%r13,56
	lddzr %r2,backsector
	bdeq %r2,%gz,R_StoreWallRange+1088
;R_StoreWallRange+496
	stw %gz,%r13,28
	std %gz,%r13,40
	std %gz,%r13,48
;R_StoreWallRange+512
	ldwz %r16,%r5,0
	ldwz %r11,%r2,0
	mov %r15,%r16
;R_StoreWallRange+528
	bwlt %r11,%r16,R_StoreWallRange+560
	mov %r12,%gz
	bwle %r11,%r7,R_StoreWallRange+576
;R_StoreWallRange+544
	ldi.l %r15,2147483647
	nop 0
;R_StoreWallRange+560
	ldi %r12,1
	stw %r12,%r13,28
	stw %r15,%r13,32
;R_StoreWallRange+576
	ldwz %r15,%r2,4
	mov %r17,%r6
	bwlt %r6,%r15,R_StoreWallRange+2544
;R_StoreWallRange+592
	bwlt %r15,%r7,R_StoreWallRange+2528
	bwle %r15,%r16,R_StoreWallRange+2576
	nop 0
;R_StoreWallRange+608
	bwlt %r11,%r6,R_StoreWallRange+672
	nop 0
	nop 0
;R_StoreWallRange+624
	ldafr %r11,screenheightarray
	std %r11,%r13,40
	nop 2
;R_StoreWallRange+640
	ldi.l %r11,-2147483648
	stw %r11,%r13,36
;R_StoreWallRange+656
	ori %r11,%r12,2
	stw %r11,%r13,28
	nop 0
;R_StoreWallRange+672
	subws %r19,%r15,%r7
	stwr %r19,worldhigh
	ldwz %r18,%r2,0
;R_StoreWallRange+688
	subws %r17,%r18,%r7
	stwr %r17,worldlow
	ldhs %r11,%r5,10
;R_StoreWallRange+704
	ldwzr %r12,skyflatnum
	andi %r16,%r11,65535
	bwne %r12,%r11,R_StoreWallRange+752
;R_StoreWallRange+720
	ldhz %r11,%r2,10
	bwne %r16,%r11,R_StoreWallRange+752
	stwr %r19,worldtop
;R_StoreWallRange+736
	mov %r4,%r19
	nop 0
	nop 0
;R_StoreWallRange+752
	ldi %r12,1
	mov %r11,%r12
	bwne %r18,%r14,R_StoreWallRange+816
;R_StoreWallRange+768
	ldhz %r20,%r2,8
	ldhz %r21,%r5,8
	mov %r11,%r12
;R_StoreWallRange+784
	bwne %r20,%r21,R_StoreWallRange+816
	ldhz %r11,%r2,12
	ldhz %r20,%r5,12
;R_StoreWallRange+800
	cmpwne %r11,%r11,%r20
	nop 0
	nop 0
;R_StoreWallRange+816
	stwr %r11,markfloor
	bwne %r19,%r4,R_StoreWallRange+864
	ldhz %r20,%r2,10
;R_StoreWallRange+832
	bwne %r20,%r16,R_StoreWallRange+864
	ldhz %r12,%r2,12
	ldhz %r16,%r5,12
;R_StoreWallRange+848
	cmpwne %r12,%r12,%r16
	nop 0
	nop 0
;R_StoreWallRange+864
	stwr %r12,markceiling
	ldwz %r16,%r5,0
	bwle %r15,%r16,R_StoreWallRange+896
;R_StoreWallRange+880
	ldwz %r15,%r2,0
	bwlt %r15,%r6,R_StoreWallRange+928
	nop 0
;R_StoreWallRange+896
	ldi %r11,1
	stwr %r11,markfloor
	stwr %r11,markceiling
;R_StoreWallRange+912
	mov %r12,%r11
	nop 0
	nop 0
;R_StoreWallRange+928
	mov %r16,%gz
	lddzr %r15,sidedef
	bwle %r4,%r19,R_StoreWallRange+1024
;R_StoreWallRange+944
	lddzr %r16,texturetranslation
	ldhs %r20,%r15,8
	ldwzx.xd %r16,%r16,%r20,2,0
;R_StoreWallRange+960
	lddzr %r21,linedef
	stwr %r16,toptexture
	ldbz %r22,%r21,24
;R_StoreWallRange+976
	mov %r21,%r4
	bbsi %r22,3,R_StoreWallRange+1008
	lddzr %r21,textureheight
;R_StoreWallRange+992
	ldwzx.xd %r20,%r21,%r20,2,0
	addws %r21,%r19,%r20
	nop 0
;R_StoreWallRange+1008
	stwr %r21,rw_toptexturemid
	nop 0
	nop 0
;R_StoreWallRange+1024
	bwle %r18,%r14,R_StoreWallRange+1264
	lddzr %r14,texturetranslation
	ldhs %r18,%r15,10
;R_StoreWallRange+1040
	ldwzx.xd %r14,%r14,%r18,2,0
	lddzr %r18,linedef
	stwr %r14,bottomtexture
;R_StoreWallRange+1056
	ldbz %r18,%r18,24
	andi %r18,%r18,16
	cmovweq %r17,%r18,%r17,%r4
;R_StoreWallRange+1072
	jmp R_StoreWallRange+1280
	nop 0
	nop 0
;R_StoreWallRange+1088
	lddzr %r15,sidedef
	lddzr %r11,texturetranslation
	ldhs %r14,%r15,12
;R_StoreWallRange+1104
	ldwzx.xd %r16,%r11,%r14,2,0
	lddzr %r12,linedef
	stwr %r16,midtexture
;R_StoreWallRange+1120
	ldi %r11,1
	stwr %r11,markceiling
	stwr %r11,markfloor
;R_StoreWallRange+1136
	ldbz %r17,%r12,24
	mov %r12,%r4
	bbci %r17,4,R_StoreWallRange+1184
;R_StoreWallRange+1152
	lddzr %r12,textureheight
	ldwz %r17,%r5,0
	ldwzx.xd %r12,%r12,%r14,2,0
;R_StoreWallRange+1168
	subws %r14,%r17,%r7
	addws %r12,%r14,%r12
	nop 0
;R_StoreWallRange+1184
	ldwz %r18,%r15,4
	mov2 %r17,%r14,%gz,%gz
	addws %r12,%r18,%r12
;R_StoreWallRange+1200
	stwr %r12,rw_midtexturemid
	ldi %r12,3
	stw %r12,%r13,28
;R_StoreWallRange+1216
	ldafr %r12,screenheightarray
	std %r12,%r13,40
	ldafr %r12,negonearray
;R_StoreWallRange+1232
	std %r12,%r13,48
	ldi.l %r12,-9223372034707292161
;R_StoreWallRange+1248
	std %r12,%r13,32
	mov %r12,%r11
	jmp R_StoreWallRange+1408
;R_StoreWallRange+1264
	mov %r14,%gz
	ldwzr %r17,rw_bottomtexturemid
	nop 0
;R_StoreWallRange+1280
	ldwz %r18,%r15,4
	ldwzr %r19,rw_toptexturemid
	addws %r19,%r19,%r18
;R_StoreWallRange+1296
	stwr %r19,rw_toptexturemid
	addws %r17,%r17,%r18
	stwr %r17,rw_bottomtexturemid
;R_StoreWallRange+1312
	ldhz %r17,%r15,12
	bweq %r17,%gz,R_StoreWallRange+1392
	ldwzr %r18,rw_x
;R_StoreWallRange+1328
	lddzr %r19,lastopening
	ldi %r17,1
	sraiw %r20,%r18,0
;R_StoreWallRange+1344
	stwr %r17,maskedtexture
	slsub %r20,%r19,%r20,1
	stdr %r20,maskedtexturecol
;R_StoreWallRange+1360
	std %r20,%r13,56
	ldwzr %r13,rw_stopx
	subws %r13,%r13,%r18
;R_StoreWallRange+1376
	ldax.xw %r13,%r19,%r13,1,0
	stdr %r13,lastopening
	jmp R_StoreWallRange+1408
;R_StoreWallRange+1392
	mov %r17,%gz
	nop 0
	nop 0
;R_StoreWallRange+1408
	or %r13,%r16,%r14
	or %r13,%r13,%r17
	stwr %r13,segtextured
;R_StoreWallRange+1424
	bweq %r13,%gz,R_StoreWallRange+1584
	ldwzr %r13,rw_normalangle
	ldwzr %r14,rw_angle1
;R_StoreWallRange+1440
	subws %r14,%r13,%r14
	cmpwgtui.l %r16,%r14,2147483648
;R_StoreWallRange+1456
	subfiws %r17,%r14,0
	cmovlsb %r16,%r16,%r17,%r14
	minuw %r8,%r16,%r8
;R_StoreWallRange+1472
	srliw %r8,%r8,19
	ldwsx.xuw %r8,%r9,%r8,2,0
	mul %r8,%r8,%r10
;R_StoreWallRange+1488
	srli %r9,%r8,16
	subfiws %r10,%r9,0
	lddzr %r8,curline
;R_StoreWallRange+1504
	cmovwlt %r9,%r14,%r9,%r10
	stwr %r9,rw_offset
	ldwz %r10,%r15,0
;R_StoreWallRange+1520
	ldwz %r14,%r8,16
	addws %r10,%r14,%r10
	ldwzr %r14,viewangle
;R_StoreWallRange+1536
	addws %r9,%r10,%r9
	lddzr %r10,fixedcolormap
	stwr %r9,rw_offset
;R_StoreWallRange+1552
	subws %r9,%r14,%r13
	addiws.l %r9,%r9,1073741824
;R_StoreWallRange+1568
	stwr %r9,rw_centerangle
	bdeq %r10,%gz,R_StoreWallRange+2448
	nop 0
;R_StoreWallRange+1584
	ldwz %r8,%r5,0
	bwlt %r8,%r7,R_StoreWallRange+1616
	nop 0
;R_StoreWallRange+1600
	mov %r11,%gz
	stwr %gz,markfloor
	nop 0
;R_StoreWallRange+1616
	bwlt %r7,%r6,R_StoreWallRange+1648
	ldhs %r5,%r5,10
	ldwzr %r6,skyflatnum
;R_StoreWallRange+1632
	bweq %r6,%r5,R_StoreWallRange+1648
	mov %r12,%gz
	stwr %gz,markceiling
;R_StoreWallRange+1648
	sraiw %r6,%r4,4
	ldwsr %r4,rw_scalestep
	stwr %r6,worldtop
;R_StoreWallRange+1664
	sraiw %r3,%r3,4
	stwr %r3,worldbottom
	mul %r5,%r4,%r6
;R_StoreWallRange+1680
	ldwzr %r7,centeryfrac
	srli %r5,%r5,16
	subfiws %r5,%r5,0
;R_StoreWallRange+1696
	stwr %r5,topstep
	sraiw %r5,%r7,4
	sraiw %r7,%r26,0
;R_StoreWallRange+1712
	mul %r8,%r7,%r6
	srli %r8,%r8,16
	subws %r8,%r5,%r8
;R_StoreWallRange+1728
	stwr %r8,topfrac
	mul %r8,%r4,%r3
	srli %r8,%r8,16
;R_StoreWallRange+1744
	subfiws %r8,%r8,0
	stwr %r8,bottomstep
	mul %r8,%r7,%r3
;R_StoreWallRange+1760
	srli %r8,%r8,16
	subws %r8,%r5,%r8
	stwr %r8,bottomfrac
;R_StoreWallRange+1776
	bdeq %r2,%gz,R_StoreWallRange+1936
	ldwzr %r2,worldhigh
	ldwzr %r9,worldlow
;R_StoreWallRange+1792
	sraiw %r8,%r2,4
	stwr %r8,worldhigh
	sraiw %r2,%r9,4
;R_StoreWallRange+1808
	stwr %r2,worldlow
	bwle %r6,%r8,R_StoreWallRange+1872
	sraiw %r6,%r8,0
;R_StoreWallRange+1824
	mul %r8,%r6,%r7
	srli %r8,%r8,16
	subws %r8,%r5,%r8
;R_StoreWallRange+1840
	stwr %r8,pixhigh
	mul %r6,%r6,%r4
	srli %r6,%r6,16
;R_StoreWallRange+1856
	subfiws %r6,%r6,0
	stwr %r6,pixhighstep
	nop 0
;R_StoreWallRange+1872
	bwle %r2,%r3,R_StoreWallRange+1936
	sraiw %r2,%r2,0
	mul %r3,%r2,%r7
;R_StoreWallRange+1888
	srli %r3,%r3,16
	subws %r3,%r5,%r3
	stwr %r3,pixlow
;R_StoreWallRange+1904
	mul %r2,%r2,%r4
	srli %r2,%r2,16
	subfiws %r2,%r2,0
;R_StoreWallRange+1920
	stwr %r2,pixlowstep
	nop 0
	nop 0
;R_StoreWallRange+1936
	bweq %r12,%gz,R_StoreWallRange+1984
	ldwzr %r2,rw_stopx
	lddzr %r24,ceilingplane
;R_StoreWallRange+1952
	ldwzr %r25,rw_x
	addiws %r26,%r2,-1
	callr %r23,R_CheckPlane
;R_StoreWallRange+1968
	stdr %r24,ceilingplane
	ldwzr %r11,markfloor
	nop 0
;R_StoreWallRange+1984
	bweq %r11,%gz,R_StoreWallRange+2032
	ldwzr %r2,rw_stopx
	lddzr %r24,floorplane
;R_StoreWallRange+2000
	ldwzr %r25,rw_x
	addiws %r26,%r2,-1
	callr %r23,R_CheckPlane
;R_StoreWallRange+2016
	stdr %r24,floorplane
	nop 0
	nop 0
;R_StoreWallRange+2032
	sraiw %r3,%r1,0
	callr %r26,R_RenderSegLoop
	lddzr %r2,ds_p
;R_StoreWallRange+2048
	ldwz %r5,%r2,28
	ldwzr %r4,maskedtexture
	andi %r6,%r5,2
;R_StoreWallRange+2064
	or %r6,%r6,%r4
	bweq %r6,%gz,R_StoreWallRange+2192
	lddz %r6,%r2,40
;R_StoreWallRange+2080
	bdne %r6,%gz,R_StoreWallRange+2208
	ldwzr %r2,rw_stopx
	ldafr %r4,ceilingclip
;R_StoreWallRange+2096
	lddzr %r24,lastopening
	sladd %r25,%r4,%r3,1
	subws %r2,%r2,%r1
;R_StoreWallRange+2112
	slliw %r2,%r2,1
	sraiw %r26,%r2,0
	callr %r23,memcpy
;R_StoreWallRange+2128
	lddzr %r4,lastopening
	lddzr %r2,ds_p
	slsub %r5,%r4,%r3,1
;R_StoreWallRange+2144
	std %r5,%r2,40
	ldwzr %r5,rw_stopx
	subws %r5,%r5,%r1
;R_StoreWallRange+2160
	ldax.xw %r4,%r4,%r5,1,0
	stdr %r4,lastopening
	ldwz %r5,%r2,28
;R_StoreWallRange+2176
	ldwzr %r4,maskedtexture
	jmp R_StoreWallRange+2208
	nop 0
;R_StoreWallRange+2192
	mov %r4,%gz
	nop 0
	nop 0
;R_StoreWallRange+2208
	andi %r5,%r5,1
	or %r5,%r5,%r4
	bweq %r5,%gz,R_StoreWallRange+2416
;R_StoreWallRange+2224
	lddz %r5,%r2,48
	bdne %r5,%gz,R_StoreWallRange+2336
	ldwzr %r2,rw_stopx
;R_StoreWallRange+2240
	ldafr %r4,floorclip
	lddzr %r24,lastopening
	sladd %r25,%r4,%r3,1
;R_StoreWallRange+2256
	subws %r2,%r2,%r1
	slliw %r2,%r2,1
	sraiw %r26,%r2,0
;R_StoreWallRange+2272
	callr %r23,memcpy
	lddzr %r4,lastopening
	lddzr %r2,ds_p
;R_StoreWallRange+2288
	slsub %r3,%r4,%r3,1
	std %r3,%r2,48
	ldwzr %r3,rw_stopx
;R_StoreWallRange+2304
	subws %r1,%r3,%r1
	ldax.xw %r1,%r4,%r1,1,0
	stdr %r1,lastopening
;R_StoreWallRange+2320
	ldwzr %r4,maskedtexture
	nop 0
	nop 0
;R_StoreWallRange+2336
	bweq %r4,%gz,R_StoreWallRange+2416
	ldwz %r1,%r2,28
	bbsi %r1,1,R_StoreWallRange+2384
;R_StoreWallRange+2352
	ori %r1,%r1,2
	stw %r1,%r2,28
	nop 2
;R_StoreWallRange+2368
	ldi.l %r3,-2147483648
	stw %r3,%r2,36
;R_StoreWallRange+2384
	bbsi %r1,0,R_StoreWallRange+2416
	ori %r1,%r1,1
	stw %r1,%r2,28
;R_StoreWallRange+2400
	ldi.l %r1,2147483647
	stw %r1,%r2,32
;R_StoreWallRange+2416
	addi %r1,%r2,64
	stdr %r1,ds_p
	nop 0
;R_StoreWallRange+2432
	retf 16
	nop 0
	nop 0
;R_StoreWallRange+2448
	lddz %r9,%r8,0
	lddz %r10,%r8,8
	ldhs %r8,%r5,12
;R_StoreWallRange+2464
	ldwzr %r13,extralight
	ldwz %r14,%r9,4
	ldwz %r15,%r10,4
;R_StoreWallRange+2480
	sraiw %r8,%r8,4
	addws %r8,%r13,%r8
	bwne %r14,%r15,R_StoreWallRange+2640
;R_StoreWallRange+2496
	ldi %r9,-1
	addws %r8,%r8,%r9
	bwlt %r8,%gz,R_StoreWallRange+2672
;R_StoreWallRange+2512
	bwltui %r8,16,R_StoreWallRange+2688
	ldafr %r8,scalelight+5760
	jmp R_StoreWallRange+2720
;R_StoreWallRange+2528
	ldi.l %r17,-2147483648
	nop 0
;R_StoreWallRange+2544
	ori %r12,%r12,2
	stw %r12,%r13,28
	stw %r17,%r13,36
;R_StoreWallRange+2560
	bwlt %r16,%r15,R_StoreWallRange+608
	nop 0
	nop 0
;R_StoreWallRange+2576
	ldafr %r16,negonearray
	std %r16,%r13,48
	nop 2
;R_StoreWallRange+2592
	ldi.l %r16,2147483647
	stw %r16,%r13,32
;R_StoreWallRange+2608
	ori %r12,%r12,1
	stw %r12,%r13,28
	bwle %r6,%r11,R_StoreWallRange+624
;R_StoreWallRange+2624
	jmp R_StoreWallRange+672
	nop 0
	nop 0
;R_StoreWallRange+2640
	ldwz %r9,%r9,0
	ldwz %r10,%r10,0
	cmpweq %r9,%r9,%r10
;R_StoreWallRange+2656
	addws %r8,%r8,%r9
	bwle %gz,%r8,R_StoreWallRange+2512
	nop 0
;R_StoreWallRange+2672
	ldafr %r8,scalelight
	jmp R_StoreWallRange+2720
	nop 0
;R_StoreWallRange+2688
	srliw %r8,%r8,0
	ldafr %r9,scalelight
	ldi %r10,384
;R_StoreWallRange+2704
	muladd %r8,%r8,%r10,%r9
	nop 0
	nop 0
;R_StoreWallRange+2720
	stdr %r8,walllights
	ldwz %r8,%r5,0
	bwle %r7,%r8,R_StoreWallRange+1600
;R_StoreWallRange+2736
	jmp R_StoreWallRange+1616
	nop 0
	nop 0
;R_InitSkyMap
	alloc 2
	ldi %r1,6553600
	stwr %r1,skytexturemid
;R_InitSkyMap+16
	retf 0
	nop 0
	nop 0
;R_InstallSpriteLump
	allocsp 11,16
	bwgeui %r2,29,R_InstallSpriteLump+16
	bwltui %r3,9,R_InstallSpriteLump+32
;R_InstallSpriteLump+16
	ldafr %r10,.rodata+5312
	stw %r1,%sp,0
	callr %r9,I_Error
;R_InstallSpriteLump+32
	ldwzr %r5,maxframe
	bwle %r2,%r5,R_InstallSpriteLump+48
	stwr %r2,maxframe
;R_InstallSpriteLump+48
	srliw %r6,%r2,0
	ldafr %r7,sprtemp
	ldi %r5,28
;R_InstallSpriteLump+64
	muladd %r5,%r6,%r5,%r7
	muli %r6,%r6,28
	ldwzx.xd %r7,%r6,%r7,0,0
;R_InstallSpriteLump+80
	bweq %r3,%gz,R_InstallSpriteLump+240
	addiws %r6,%r2,65
	bwne %r7,%gz,R_InstallSpriteLump+128
;R_InstallSpriteLump+96
	lddzr %r2,spritename
	stw %r6,%sp,8
	ldafr %r10,.rodata+3579
;R_InstallSpriteLump+112
	std %r2,%sp,0
	callr %r9,I_Error
	nop 0
;R_InstallSpriteLump+128
	ldi %r2,1
	stw %r2,%r5,0
	addiws %r2,%r3,-1
;R_InstallSpriteLump+144
	ldax.xuw %r7,%r5,%r2,1,4
	ldhzx.xuw %r2,%r5,%r2,1,4
	addiwz %r8,%r3,-1
;R_InstallSpriteLump+160
	bweqi.l %r2,65535,R_InstallSpriteLump+208
	lddzr %r2,spritename
;R_InstallSpriteLump+176
	addiws %r3,%r3,48
	stw %r3,%sp,12
	stw %r6,%sp,8
;R_InstallSpriteLump+192
	ldafr %r10,.rodata+8423
	std %r2,%sp,0
	callr %r9,I_Error
;R_InstallSpriteLump+208
	ldwzr %r2,firstspritelump
	subws %r1,%r1,%r2
	sth %r1,%r7,0
;R_InstallSpriteLump+224
	stbx.xd %r4,%r5,%r8,0,20
	retf 16
	nop 0
;R_InstallSpriteLump+240
	bweq %r7,%gz,R_InstallSpriteLump+352
	bwnei %r7,1,R_InstallSpriteLump+288
	nop 0
;R_InstallSpriteLump+256
	lddzr %r3,spritename
	addiws %r2,%r2,65
	stw %r2,%sp,8
;R_InstallSpriteLump+272
	ldafr %r10,.rodata+3579
	std %r3,%sp,0
	callr %r9,I_Error
;R_InstallSpriteLump+288
	ldwzr %r3,firstspritelump
	mov %r2,%gz
	stw %gz,%r5,0
;R_InstallSpriteLump+304
	subws %r1,%r1,%r3
	addi %r3,%r5,4
	addi %r5,%r5,20
;R_InstallSpriteLump+320
	sth %r1,%r3,0
	stbx.xd %r4,%r5,%r2,0,0
	addi %r2,%r2,1
;R_InstallSpriteLump+336
	addi %r3,%r3,2
	bdnei %r2,8,R_InstallSpriteLump+320
	retf 16
;R_InstallSpriteLump+352
	lddzr %r3,spritename
	addiws %r6,%r2,65
	stw %r6,%sp,8
;R_InstallSpriteLump+368
	ldafr %r10,.rodata+18228
	std %r3,%sp,0
	callr %r9,I_Error
;R_InstallSpriteLump+384
	ldwz %r7,%r5,0
	bweqi %r7,1,R_InstallSpriteLump+256
	jmp R_InstallSpriteLump+288
;R_InitSpriteDefs
	allocsp 28,16
	mov %r2,%gz
	ldi %r3,-1
;R_InitSpriteDefs+16
	lddzx.xd %r4,%r1,%r2,0,0
	addi %r2,%r2,8
	addi %r3,%r3,1
;R_InitSpriteDefs+32
	bdne %r4,%gz,R_InitSpriteDefs+16
	stwr %r3,numsprites
	bweq %r3,%gz,R_InitSpriteDefs+768
;R_InitSpriteDefs+48
	addi %r2,%r2,-8
	slliw %r2,%r2,1
	andi %r25,%r2,-16
;R_InitSpriteDefs+64
	ldi %r26,1
	mov %r27,%gz
	callr %r24,Z_Malloc
;R_InitSpriteDefs+80
	ldwzr %r2,numsprites
	stdr %r25,sprites
	bwlti %r2,1,R_InitSpriteDefs+768
;R_InitSpriteDefs+96
	ldwzr %r12,firstspritelump
	ldwzr %r13,lastspritelump
	mov %r14,%gz
;R_InitSpriteDefs+112
	sraiw %r15,%r12,0
	addiws %r16,%r13,1
	muli %r17,%r15,40
;R_InitSpriteDefs+128
	ldafr %r2,sprtemp
	ldi %r3,255
	ldi %r4,812
;R_InitSpriteDefs+144
	ldi %r18,-1
	ldi %r5,4
	ldi %r6,1
;R_InitSpriteDefs+160
	ldafr %r19,sprtemp+4
	ldafr %r7,.rodata+21243
	ldafr %r8,.rodata+25781
;R_InitSpriteDefs+176
	jmp R_InitSpriteDefs+224
	nop 0
	nop 0
;R_InitSpriteDefs+192
	lddzr %r9,sprites
	stwx.xd %gz,%r9,%r14,4,0
	nop 0
;R_InitSpriteDefs+208
	ldwsr %r9,numsprites
	addi %r14,%r14,1
	bdle %r9,%r14,R_InitSpriteDefs+768
;R_InitSpriteDefs+224
	lddzx.xd %r9,%r1,%r14,3,0
	stdr %r9,spritename
	mov2 %r25,%r26,%r2,%r3
;R_InitSpriteDefs+240
	mov %r27,%r4
	callr %r24,memset
	stwr %r18,maxframe
;R_InitSpriteDefs+256
	bwlt %r13,%r12,R_InitSpriteDefs+192
	lddzr %r21,lumpinfo
	mov2 %r20,%r9,%r17,%r15
;R_InitSpriteDefs+272
	jmp R_InitSpriteDefs+304
	nop 0
	nop 0
;R_InitSpriteDefs+288
	addi %r9,%r9,1
	addi %r20,%r20,40
	bweq %r16,%r9,R_InitSpriteDefs+464
;R_InitSpriteDefs+304
	add %r10,%r21,%r20
	lddzr %r26,spritename
	mov2 %r25,%r27,%r10,%r5
;R_InitSpriteDefs+320
	callr %r24,strncasecmp
	bwne %r25,%gz,R_InitSpriteDefs+288
	ldwzr %r22,modifiedgame
;R_InitSpriteDefs+336
	ldbsx.xd %r11,%r21,%r20,0,4
	ldbsx.xd %r21,%r21,%r20,0,5
	mov %r24,%r9
;R_InitSpriteDefs+352
	bweq %r22,%gz,R_InitSpriteDefs+384
	mov %r27,%r10
	callr %r26,W_GetNumForName
;R_InitSpriteDefs+368
	mov %r24,%r27
	nop 0
	nop 0
;R_InitSpriteDefs+384
	addiws %r25,%r11,-65
	addiws %r26,%r21,-48
	mov %r27,%gz
;R_InitSpriteDefs+400
	callr %r23,R_InstallSpriteLump
	lddzr %r21,lumpinfo
	ldbsx.xd %r10,%r21,%r20,0,6
;R_InitSpriteDefs+416
	bweq %r10,%gz,R_InitSpriteDefs+288
	ldbsx.xd %r11,%r21,%r20,0,7
	addiws %r25,%r10,-65
;R_InitSpriteDefs+432
	addiws %r26,%r11,-48
	mov2 %r24,%r27,%r9,%r6
	callr %r23,R_InstallSpriteLump
;R_InitSpriteDefs+448
	lddzr %r21,lumpinfo
	jmp R_InitSpriteDefs+288
	nop 0
;R_InitSpriteDefs+464
	ldwzr %r10,maxframe
	bweqi %r10,-1,R_InitSpriteDefs+192
	addiws %r9,%r10,1
;R_InitSpriteDefs+480
	stwr %r9,maxframe
	bwlt %r10,%gz,R_InitSpriteDefs+688
	mov2 %r10,%r11,%gz,%r19
;R_InitSpriteDefs+496
	jmp R_InitSpriteDefs+576
	nop 0
	nop 0
;R_InitSpriteDefs+512
	lddzr %r9,spritename
	addiws %r20,%r10,65
	std %r9,%sp,0
;R_InitSpriteDefs+528
	stw %r20,%sp,8
	mov %r27,%r7
	callr %r26,I_Error
;R_InitSpriteDefs+544
	ldwzr %r9,maxframe
	addi %r10,%r10,1
	sraiw %r20,%r9,0
;R_InitSpriteDefs+560
	addi %r11,%r11,28
	bdle %r20,%r10,R_InitSpriteDefs+688
	nop 0
;R_InitSpriteDefs+576
	muli %r9,%r10,28
	ldwzx.xd %r9,%r9,%r2,0,0
	bweqi %r9,-1,R_InitSpriteDefs+512
;R_InitSpriteDefs+592
	bwnei %r9,1,R_InitSpriteDefs+544
	mov %r20,%gz
	addiws %r21,%r10,65
;R_InitSpriteDefs+608
	jmp R_InitSpriteDefs+640
	nop 0
	nop 0
;R_InitSpriteDefs+624
	addi %r20,%r20,2
	bdeqi %r20,16,R_InitSpriteDefs+544
	nop 0
;R_InitSpriteDefs+640
	ldhzx.xd %r9,%r11,%r20,0,0
	bwnei.l %r9,65535,R_InitSpriteDefs+624
;R_InitSpriteDefs+656
	lddzr %r9,spritename
	stw %r21,%sp,8
	std %r9,%sp,0
;R_InitSpriteDefs+672
	mov %r27,%r8
	callr %r26,I_Error
	jmp R_InitSpriteDefs+624
;R_InitSpriteDefs+688
	lddzr %r10,sprites
	stwx.xd %r9,%r10,%r14,4,0
	ldwzr %r9,maxframe
;R_InitSpriteDefs+704
	mulwsi %r25,%r9,28
	mov2 %r26,%r27,%r6,%gz
	callr %r24,Z_Malloc
;R_InitSpriteDefs+720
	lddzr %r9,sprites
	stdx.xd %r25,%r9,%r14,4,8
	lddzr %r9,sprites
;R_InitSpriteDefs+736
	ldwsr %r10,maxframe
	lddzx.xd %r25,%r9,%r14,4,8
	muli %r27,%r10,28
;R_InitSpriteDefs+752
	mov %r26,%r2
	callr %r24,memcpy
	jmp R_InitSpriteDefs+208
;R_InitSpriteDefs+768
	retf 16
	nop 0
	nop 0
;R_InitSprites
	alloc 6
	ldafr %r3,negonearray
	ldi %r4,255
;R_InitSprites+16
	ldi %r5,640
	callr %r2,memset
	mov %r5,%r1
;R_InitSprites+32
	callr %r4,R_InitSpriteDefs
	retf 0
	nop 0
;R_ClearSprites
	alloc 2
	ldafr %r1,vissprites
	stdr %r1,vissprite_p
;R_ClearSprites+16
	retf 0
	nop 0
	nop 0
;R_NewVisSprite
	alloc 3
	lddzr %r1,vissprite_p
	ldafr %r2,vissprite_p
;R_NewVisSprite+16
	bdeq %r1,%r2,R_NewVisSprite+48
	addi %r2,%r1,80
	stdr %r2,vissprite_p
;R_NewVisSprite+32
	retf 0
	nop 0
	nop 0
;R_NewVisSprite+48
	ldafr %r1,overflowsprite
	retf 0
	nop 0
;R_DrawMaskedColumn
	alloc 14
	ldbz %r8,%r1,0
	ldwzr %r3,dc_texturemid
;R_DrawMaskedColumn+16
	bweqi %r8,255,R_DrawMaskedColumn+272
	ldwzr %r2,sprtopscreen
	ldwzr %r4,spryscale
;R_DrawMaskedColumn+32
	lddzr %r5,mfloorclip
	ldwzr %r6,dc_x
	jmp R_DrawMaskedColumn+80
;R_DrawMaskedColumn+48
	andi %r7,%r7,255
	ldax.xd %r9,%r1,%r7,0,4
	ldbzx.xd %r8,%r1,%r7,0,4
;R_DrawMaskedColumn+64
	mov %r1,%r9
	bweqi %r8,255,R_DrawMaskedColumn+272
	nop 0
;R_DrawMaskedColumn+80
	ldbz %r7,%r1,1
	andi %r8,%r8,255
	mulws %r9,%r4,%r8
;R_DrawMaskedColumn+96
	addws %r10,%r9,%r2
	mulws %r11,%r4,%r7
	addiws %r9,%r10,65535
;R_DrawMaskedColumn+112
	sraiw %r9,%r9,16
	stwr %r9,dc_yl
	addws %r10,%r10,%r11
;R_DrawMaskedColumn+128
	addiws %r10,%r10,-1
	sraiw %r10,%r10,16
	stwr %r10,dc_yh
;R_DrawMaskedColumn+144
	ldhsx.xw %r11,%r5,%r6,1,0
	bwlt %r10,%r11,R_DrawMaskedColumn+176
	addiws %r10,%r11,-1
;R_DrawMaskedColumn+160
	stwr %r10,dc_yh
	nop 0
	nop 0
;R_DrawMaskedColumn+176
	lddzr %r11,mceilingclip
	sraiw %r12,%r6,0
	ldhsx.xd %r11,%r11,%r12,1,0
;R_DrawMaskedColumn+192
	bwlt %r11,%r9,R_DrawMaskedColumn+208
	addiws %r9,%r11,1
	stwr %r9,dc_yl
;R_DrawMaskedColumn+208
	bwlt %r10,%r9,R_DrawMaskedColumn+48
	addi %r2,%r1,3
	stdr %r2,dc_source
;R_DrawMaskedColumn+224
	slsubws %r2,%r3,%r8,16
	stwr %r2,dc_texturemid
	callplt %r13,colfunc
;R_DrawMaskedColumn+240
	ldwzr %r2,sprtopscreen
	ldwzr %r4,spryscale
	lddzr %r5,mfloorclip
;R_DrawMaskedColumn+256
	ldwzr %r6,dc_x
	ldbz %r7,%r1,1
	jmp R_DrawMaskedColumn+48
;R_DrawMaskedColumn+272
	stwr %r3,dc_texturemid
	retf 0
	nop 0
;R_DrawVisSprite
	alloc 13
	ldwz %r2,%r1,56
	ldwzr %r3,firstspritelump
;R_DrawVisSprite+16
	addws %r11,%r3,%r2
	ldi %r12,8
	callr %r10,W_CacheLumpNum
;R_DrawVisSprite+32
	lddz %r3,%r1,64
	mov %r2,%r11
	stdr %r3,dc_colormap
;R_DrawVisSprite+48
	bdeq %r3,%gz,R_DrawVisSprite+128
	ldwz %r3,%r1,72
	nop 2
;R_DrawVisSprite+64
	andi.l %r4,%r3,201326592
	bweq %r4,%gz,R_DrawVisSprite+144
;R_DrawVisSprite+80
	lddzr %r4,transcolfunc
	lddzr %r5,translationtables
	stdr %r4,colfunc
;R_DrawVisSprite+96
	srliw %r3,%r3,18
	andi %r3,%r3,768
	ldax.xuw %r3,%r5,%r3,0,-256
;R_DrawVisSprite+112
	stdr %r3,dc_translation
	jmp R_DrawVisSprite+144
	nop 0
;R_DrawVisSprite+128
	lddzr %r3,fuzzcolfunc
	stdr %r3,colfunc
	nop 0
;R_DrawVisSprite+144
	ldwz %r3,%r1,48
	ldwzr %r4,detailshift
	absdw %r3,%r3,%gz
;R_DrawVisSprite+160
	srlw %r3,%r3,%r4
	stwr %r3,dc_iscale
	ldwz %r3,%r1,52
;R_DrawVisSprite+176
	stwr %r3,dc_texturemid
	ldwz %r4,%r1,44
	ldwz %r5,%r1,40
;R_DrawVisSprite+192
	stwr %r4,spryscale
	ldwzr %r6,centeryfrac
	sraiw %r3,%r3,0
;R_DrawVisSprite+208
	sraiw %r4,%r4,0
	mul %r3,%r4,%r3
	srli %r3,%r3,16
;R_DrawVisSprite+224
	subws %r3,%r6,%r3
	stwr %r3,sprtopscreen
	ldwz %r3,%r1,16
;R_DrawVisSprite+240
	stwr %r3,dc_x
	ldwz %r4,%r1,20
	bwle %r3,%r4,R_DrawVisSprite+272
;R_DrawVisSprite+256
	lddzr %r1,basecolfunc
	stdr %r1,colfunc
	retf 0
;R_DrawVisSprite+272
	addi %r6,%r2,8
	ldafr %r3,.rodata+23723
	jmp R_DrawVisSprite+400
;R_DrawVisSprite+288
	mov %r12,%r3
	callr %r11,I_Error
	nop 0
;R_DrawVisSprite+304
	ldbzx.xw %r4,%r6,%r7,2,1
	ldbzx.xw %r8,%r6,%r7,2,0
	ldbsx.xw %r9,%r6,%r7,2,3
;R_DrawVisSprite+320
	ldbzx.xw %r7,%r6,%r7,2,2
	slli %r9,%r9,24
	slor %r4,%r8,%r4,8
;R_DrawVisSprite+336
	slor %r7,%r9,%r7,16
	or %r4,%r7,%r4
	add %r12,%r2,%r4
;R_DrawVisSprite+352
	callr %r11,R_DrawMaskedColumn
	ldwzr %r4,dc_x
	addiws %r7,%r4,1
;R_DrawVisSprite+368
	stwr %r7,dc_x
	ldwz %r7,%r1,48
	ldwz %r8,%r1,20
;R_DrawVisSprite+384
	addws %r5,%r7,%r5
	bwle %r8,%r4,R_DrawVisSprite+256
	nop 0
;R_DrawVisSprite+400
	sraiw %r7,%r5,16
	bwlt %r7,%gz,R_DrawVisSprite+288
	ldbs %r4,%r2,1
;R_DrawVisSprite+416
	ldbz %r8,%r2,0
	slor %r4,%r8,%r4,8
	bwle %r4,%r7,R_DrawVisSprite+288
;R_DrawVisSprite+432
	jmp R_DrawVisSprite+304
	nop 0
	nop 0
;R_ProjectSprite
	allocsp 15,16
	ldwz %r2,%r1,24
	ldwzr %r3,viewx
;R_ProjectSprite+16
	ldwz %r5,%r1,28
	ldwsr %r6,viewcos
	ldwzr %r7,viewy
;R_ProjectSprite+32
	subws %r4,%r2,%r3
	ldwsr %r2,viewsin
	mul %r3,%r6,%r4
;R_ProjectSprite+48
	srli %r3,%r3,16
	subws %r5,%r5,%r7
	mul %r2,%r2,%r5
;R_ProjectSprite+64
	srli %r2,%r2,16
	addws %r2,%r2,%r3
	nop 2
;R_ProjectSprite+80
	bwlti.l %r2,262144,R_ProjectSprite+944
	ldwzr %r13,projection
;R_ProjectSprite+96
	mov %r14,%r2
	callr %r12,FixedDiv
	ldwsr %r3,viewsin
;R_ProjectSprite+112
	ldwsr %r6,viewcos
	mul %r3,%r3,%r4
	srli %r4,%r3,16
;R_ProjectSprite+128
	mul %r3,%r6,%r5
	srli %r5,%r3,16
	absdw %r3,%r5,%r4
;R_ProjectSprite+144
	slliw %r6,%r2,2
	bwlt %r6,%r3,R_ProjectSprite+944
	mov %r2,%r13
;R_ProjectSprite+160
	ldwz %r3,%r1,60
	ldwzr %r6,numsprites
	bwltu %r3,%r6,R_ProjectSprite+208
;R_ProjectSprite+176
	ldafr %r14,.rodata+5365
	stw %r3,%sp,0
	callr %r13,I_Error
;R_ProjectSprite+192
	ldwz %r3,%r1,60
	nop 0
	nop 0
;R_ProjectSprite+208
	lddzr %r7,sprites
	ldax.xuw %r6,%r7,%r3,4,0
	ldwz %r8,%r1,64
;R_ProjectSprite+224
	ldwzx.xuw %r9,%r7,%r3,4,0
	andi %r7,%r8,32767
	bwlt %r7,%r9,R_ProjectSprite+272
;R_ProjectSprite+240
	stw %r8,%sp,4
	ldafr %r14,.rodata+6556
	stw %r3,%sp,0
;R_ProjectSprite+256
	callr %r13,I_Error
	ldwz %r3,%r1,64
	andi %r7,%r3,32767
;R_ProjectSprite+272
	lddz %r3,%r6,8
	srliw %r6,%r7,0
	muli %r7,%r6,28
;R_ProjectSprite+288
	ldwzx.xd %r7,%r3,%r7,0,0
	subws %r4,%r4,%r5
	ldi %r5,28
;R_ProjectSprite+304
	muladd %r5,%r6,%r5,%r3
	bweq %r7,%gz,R_ProjectSprite+384
	ldwz %r13,%r1,24
;R_ProjectSprite+320
	ldwz %r14,%r1,28
	callr %r12,R_PointToAngle
	ldwz %r3,%r1,56
;R_ProjectSprite+336
	subws %r3,%r13,%r3
	addiws.l %r3,%r3,-1879048192
;R_ProjectSprite+352
	srliw %r6,%r3,29
	ldax.xuw %r3,%r5,%r6,1,4
	ldax.xuw %r8,%r5,%r6,0,20
;R_ProjectSprite+368
	jmp R_ProjectSprite+400
	nop 0
	nop 0
;R_ProjectSprite+384
	addi %r3,%r5,4
	addi %r8,%r5,20
	nop 0
;R_ProjectSprite+400
	ldhs %r5,%r3,0
	lddzr %r3,spriteoffset
	ldwzx.xw %r3,%r3,%r5,2,0
;R_ProjectSprite+416
	subws %r9,%r4,%r3
	ldwzr %r4,centerxfrac
	sraiw %r10,%r2,0
;R_ProjectSprite+432
	mul %r6,%r9,%r10
	ldwzr %r3,viewwidth
	srli %r6,%r6,16
;R_ProjectSprite+448
	addws %r6,%r4,%r6
	sraiw %r6,%r6,16
	bwlt %r3,%r6,R_ProjectSprite+944
;R_ProjectSprite+464
	lddzr %r11,spritewidth
	sraiw %r7,%r5,0
	ldwzx.xd %r11,%r11,%r7,2,0
;R_ProjectSprite+480
	addws %r9,%r11,%r9
	mul %r9,%r9,%r10
	srli %r9,%r9,16
;R_ProjectSprite+496
	addws %r4,%r4,%r9
	sraiw %r9,%r4,16
	bwlti %r9,1,R_ProjectSprite+944
;R_ProjectSprite+512
	lddzr %r4,vissprite_p
	ldafr %r10,vissprite_p
	ldbz %r8,%r8,0
;R_ProjectSprite+528
	bdeq %r4,%r10,R_ProjectSprite+560
	addi %r10,%r4,80
	stdr %r10,vissprite_p
;R_ProjectSprite+544
	jmp R_ProjectSprite+576
	nop 0
	nop 0
;R_ProjectSprite+560
	ldafr %r4,overflowsprite
	nop 0
	nop 0
;R_ProjectSprite+576
	ldwz %r10,%r1,160
	stw %r10,%r4,72
	ldwzr %r10,detailshift
;R_ProjectSprite+592
	sllw %r10,%r2,%r10
	stw %r10,%r4,44
	ldwz %r10,%r1,24
;R_ProjectSprite+608
	stw %r10,%r4,24
	ldwz %r10,%r1,28
	stw %r10,%r4,28
;R_ProjectSprite+624
	ldwz %r10,%r1,32
	stw %r10,%r4,32
	lddzr %r11,spritetopoffset
;R_ProjectSprite+640
	ldwzx.xd %r11,%r11,%r7,2,0
	addws %r10,%r11,%r10
	stw %r10,%r4,36
;R_ProjectSprite+656
	ldwzr %r11,viewz
	subws %r10,%r10,%r11
	stw %r10,%r4,52
;R_ProjectSprite+672
	maxsw %r10,%r6,%gz
	stw %r10,%r4,16
	minsw %r3,%r9,%r3
;R_ProjectSprite+688
	addiws %r3,%r3,-1
	stw %r3,%r4,20
	ldi %r13,65536
;R_ProjectSprite+704
	mov %r14,%r2
	callr %r12,FixedDiv
	andi %r3,%r8,255
;R_ProjectSprite+720
	bweq %r3,%gz,R_ProjectSprite+752
	lddzr %r3,spritewidth
	ldwzx.xd %r3,%r3,%r7,2,0
;R_ProjectSprite+736
	addiws %r3,%r3,-1
	subfiws %r13,%r13,0
	jmp R_ProjectSprite+768
;R_ProjectSprite+752
	mov %r3,%gz
	nop 0
	nop 0
;R_ProjectSprite+768
	stw %r3,%r4,40
	stw %r13,%r4,48
	ldwz %r7,%r4,16
;R_ProjectSprite+784
	bwle %r7,%r6,R_ProjectSprite+816
	subws %r6,%r7,%r6
	mulws %r6,%r13,%r6
;R_ProjectSprite+800
	addws %r3,%r3,%r6
	stw %r3,%r4,40
	nop 0
;R_ProjectSprite+816
	stw %r5,%r4,56
	ldbz %r5,%r1,162
	mov %r3,%gz
;R_ProjectSprite+832
	bbsi %r5,2,R_ProjectSprite+928
	lddzr %r3,fixedcolormap
	bdne %r3,%gz,R_ProjectSprite+928
;R_ProjectSprite+848
	ldbz %r1,%r1,65
	bbsi %r1,7,R_ProjectSprite+912
	ldwzr %r1,detailshift
;R_ProjectSprite+864
	lddzr %r3,spritelights
	subfiws %r1,%r1,12
	sraw %r1,%r2,%r1
;R_ProjectSprite+880
	ldi %r2,47
	minsw %r1,%r1,%r2
	lddzx.xw %r3,%r3,%r1,3,0
;R_ProjectSprite+896
	jmp R_ProjectSprite+928
	nop 0
	nop 0
;R_ProjectSprite+912
	lddzr %r3,colormaps
	nop 0
	nop 0
;R_ProjectSprite+928
	std %r3,%r4,64
	nop 0
	nop 0
;R_ProjectSprite+944
	retf 16
	nop 0
	nop 0
;R_AddSprites
	alloc 7
	ldwz %r3,%r1,88
	ldwzr %r2,validcount
;R_AddSprites+16
	bweq %r3,%r2,R_AddSprites+176
	stw %r2,%r1,88
	ldhs %r2,%r1,12
;R_AddSprites+32
	ldwzr %r3,extralight
	sraiw %r2,%r2,4
	addws %r2,%r3,%r2
;R_AddSprites+48
	bwlt %r2,%gz,R_AddSprites+80
	bwltui %r2,16,R_AddSprites+96
	ldafr %r2,scalelight+5760
;R_AddSprites+64
	jmp R_AddSprites+128
	nop 0
	nop 0
;R_AddSprites+80
	ldafr %r2,scalelight
	jmp R_AddSprites+128
	nop 0
;R_AddSprites+96
	srliw %r2,%r2,0
	ldafr %r3,scalelight
	ldi %r4,384
;R_AddSprites+112
	muladd %r2,%r2,%r4,%r3
	nop 0
	nop 0
;R_AddSprites+128
	stdr %r2,spritelights
	lddz %r1,%r1,96
	bdeq %r1,%gz,R_AddSprites+176
;R_AddSprites+144
	mov %r6,%r1
	callr %r5,R_ProjectSprite
	lddz %r1,%r1,40
;R_AddSprites+160
	bdne %r1,%gz,R_AddSprites+144
	nop 0
	nop 0
;R_AddSprites+176
	retf 0
	nop 0
	nop 0
;R_DrawPSprite
	allocsp 18,96
	lddz %r2,%r1,0
	ldwz %r4,%r2,0
;R_DrawPSprite+16
	ldwzr %r3,numsprites
	bwltu %r4,%r3,R_DrawPSprite+64
	ldafr %r17,.rodata+5365
;R_DrawPSprite+32
	stw %r4,%sp,0
	callr %r16,I_Error
	lddz %r2,%r1,0
;R_DrawPSprite+48
	ldwz %r4,%r2,0
	nop 0
	nop 0
;R_DrawPSprite+64
	lddzr %r5,sprites
	ldax.xuw %r3,%r5,%r4,4,0
	ldwz %r2,%r2,4
;R_DrawPSprite+80
	ldwzx.xuw %r6,%r5,%r4,4,0
	andi %r5,%r2,32767
	bwlt %r5,%r6,R_DrawPSprite+144
;R_DrawPSprite+96
	stw %r2,%sp,4
	ldafr %r17,.rodata+6556
	stw %r4,%sp,0
;R_DrawPSprite+112
	callr %r16,I_Error
	lddz %r2,%r1,0
	ldwz %r2,%r2,4
;R_DrawPSprite+128
	andi %r5,%r2,32767
	nop 0
	nop 0
;R_DrawPSprite+144
	lddz %r6,%r3,8
	srliw %r3,%r5,0
	muli %r7,%r3,28
;R_DrawPSprite+160
	ldhsx.xd %r3,%r6,%r7,0,4
	lddzr %r4,spriteoffset
	ldwz %r5,%r1,12
;R_DrawPSprite+176
	ldwzx.xw %r8,%r4,%r3,2,0
	ldwzr %r4,pspritescale
	subws %r5,%r5,%r8
;R_DrawPSprite+192
	addiws.l %r12,%r5,-10485760
	ldwzr %r10,centerxfrac
;R_DrawPSprite+208
	sraiw %r13,%r4,0
	mul %r5,%r13,%r12
	ldwzr %r9,viewwidth
;R_DrawPSprite+224
	srli %r5,%r5,16
	addws %r5,%r10,%r5
	sraiw %r5,%r5,16
;R_DrawPSprite+240
	bwlt %r9,%r5,R_DrawPSprite+576
	lddzr %r8,spritewidth
	sraiw %r11,%r3,0
;R_DrawPSprite+256
	ldwzx.xd %r8,%r8,%r11,2,0
	addws %r12,%r8,%r12
	mul %r12,%r12,%r13
;R_DrawPSprite+272
	srli %r12,%r12,16
	addws %r10,%r10,%r12
	sraiw %r10,%r10,16
;R_DrawPSprite+288
	bwlti %r10,1,R_DrawPSprite+576
	lddzr %r12,spritetopoffset
	ldbzx.xd %r6,%r6,%r7,0,20
;R_DrawPSprite+304
	stw %gz,%sp,88
	ldwz %r1,%r1,16
	ldwzx.xd %r7,%r12,%r11,2,0
;R_DrawPSprite+320
	subws %r1,%r7,%r1
	addiws.l %r1,%r1,6586368
;R_DrawPSprite+336
	stw %r1,%sp,68
	maxsw %r1,%r5,%gz
	stw %r1,%sp,32
;R_DrawPSprite+352
	minsw %r7,%r10,%r9
	ldwzr %r9,detailshift
	addiws %r7,%r7,-1
;R_DrawPSprite+368
	ldwzr %r10,pspriteiscale
	stw %r7,%sp,36
	sllw %r4,%r4,%r9
;R_DrawPSprite+384
	andi %r6,%r6,255
	subfiws %r7,%r10,0
	addiws %r8,%r8,-1
;R_DrawPSprite+400
	stw %r4,%sp,60
	cmovweq %r4,%r6,%r10,%r7
	cmovweq %r6,%r6,%gz,%r8
;R_DrawPSprite+416
	stw %r4,%sp,64
	subws %r1,%r1,%r5
	mulws %r1,%r4,%r1
;R_DrawPSprite+432
	sraiw %r4,%r5,31
	and %r1,%r4,%r1
	lddzr %r4,viewplayer
;R_DrawPSprite+448
	addws %r1,%r6,%r1
	stw %r1,%sp,56
	stw %r3,%sp,72
;R_DrawPSprite+464
	ldwz %r1,%r4,64
	bwgei %r1,129,R_DrawPSprite+528
	andi %r3,%r1,8
;R_DrawPSprite+480
	mov %r1,%gz
	bwne %r3,%gz,R_DrawPSprite+560
	lddzr %r1,fixedcolormap
;R_DrawPSprite+496
	bdne %r1,%gz,R_DrawPSprite+560
	bbsi %r2,15,R_DrawPSprite+544
	lddzr %r1,spritelights
;R_DrawPSprite+512
	lddz %r1,%r1,376
	jmp R_DrawPSprite+560
	nop 0
;R_DrawPSprite+528
	mov %r1,%gz
	jmp R_DrawPSprite+560
	nop 0
;R_DrawPSprite+544
	lddzr %r1,colormaps
	nop 0
	nop 0
;R_DrawPSprite+560
	std %r1,%sp,80
	addi %r15,%sp,16
	callr %r14,R_DrawVisSprite
;R_DrawPSprite+576
	retf 96
	nop 0
	nop 0
;R_DrawPlayerSprites
	alloc 7
	lddzr %r1,viewplayer
	lddz %r2,%r1,0
;R_DrawPlayerSprites+16
	lddz %r2,%r2,88
	lddz %r2,%r2,0
	ldhs %r2,%r2,12
;R_DrawPlayerSprites+32
	ldwzr %r3,extralight
	sraiw %r2,%r2,4
	addws %r2,%r3,%r2
;R_DrawPlayerSprites+48
	bwlt %r2,%gz,R_DrawPlayerSprites+80
	bwltui %r2,16,R_DrawPlayerSprites+96
	ldafr %r2,scalelight+5760
;R_DrawPlayerSprites+64
	jmp R_DrawPlayerSprites+128
	nop 0
	nop 0
;R_DrawPlayerSprites+80
	ldafr %r2,scalelight
	jmp R_DrawPlayerSprites+128
	nop 0
;R_DrawPlayerSprites+96
	srliw %r2,%r2,0
	ldafr %r3,scalelight
	ldi %r4,384
;R_DrawPlayerSprites+112
	muladd %r2,%r2,%r4,%r3
	nop 0
	nop 0
;R_DrawPlayerSprites+128
	stdr %r2,spritelights
	ldafr %r2,screenheightarray
	stdr %r2,mfloorclip
;R_DrawPlayerSprites+144
	ldafr %r2,negonearray
	stdr %r2,mceilingclip
	addi %r1,%r1,272
;R_DrawPlayerSprites+160
	ldi %r2,1
	jmp R_DrawPlayerSprites+192
	nop 0
;R_DrawPlayerSprites+176
	mov %r2,%gz
	addi %r1,%r1,24
	bbci %r3,0,R_DrawPlayerSprites+224
;R_DrawPlayerSprites+192
	lddz %r4,%r1,0
	mov %r3,%r2
	bdeq %r4,%gz,R_DrawPlayerSprites+176
;R_DrawPlayerSprites+208
	mov %r6,%r1
	callr %r5,R_DrawPSprite
	jmp R_DrawPlayerSprites+176
;R_DrawPlayerSprites+224
	retf 0
	nop 0
	nop 0
;R_SortVisSprites
	allocsp 11,80
	lddzr %r3,vissprite_p
	ldafr %r4,vissprites
;R_SortVisSprites+16
	sub %r1,%r3,%r4
	srli %r1,%r1,4
	nop 2
;R_SortVisSprites+32
	mulwsi.l %r1,%r1,-858993459
	bweq %r1,%gz,R_SortVisSprites+304
;R_SortVisSprites+48
	bdleu %r3,%r4,R_SortVisSprites+96
	mov %r2,%r4
	nop 0
;R_SortVisSprites+64
	addi %r5,%r2,80
	std %r5,%r2,8
	addi %r6,%r2,-80
;R_SortVisSprites+80
	std %r6,%r2,0
	mov %r2,%r5
	bdltu %r5,%r3,R_SortVisSprites+64
;R_SortVisSprites+96
	addi %r2,%sp,0
	stdr %r2,vissprites
	std %r4,%sp,8
;R_SortVisSprites+112
	std %r2,%r3,-72
	lddzr %r3,vissprite_p
	addi %r3,%r3,-80
;R_SortVisSprites+128
	std %r3,%sp,0
	ldafr %r3,vsprsortedhead
	stdr %r3,vsprsortedhead
;R_SortVisSprites+144
	stdr %r3,vsprsortedhead+8
	bwlti %r1,1,R_SortVisSprites+304
	mov %r4,%gz
;R_SortVisSprites+160
	ldi.l %r5,2147483647
	jmp R_SortVisSprites+240
;R_SortVisSprites+176
	lddz %r7,%r6,0
	lddz %r8,%r6,8
	std %r7,%r8,0
;R_SortVisSprites+192
	std %r8,%r7,8
	std %r3,%r6,8
	lddzr %r7,vsprsortedhead
;R_SortVisSprites+208
	std %r7,%r6,0
	std %r6,%r7,8
	addiws %r4,%r4,1
;R_SortVisSprites+224
	stdr %r6,vsprsortedhead
	bwle %r1,%r4,R_SortVisSprites+304
	nop 0
;R_SortVisSprites+240
	lddz %r6,%sp,8
	bdeq %r6,%r2,R_SortVisSprites+176
	mov2 %r7,%r8,%r5,%r6
;R_SortVisSprites+256
	ldwz %r9,%r8,44
	cmpwlt %r10,%r9,%r7
	cmovlsb %r6,%r10,%r8,%r6
;R_SortVisSprites+272
	lddz %r8,%r8,8
	minsw %r7,%r9,%r7
	bdne %r8,%r2,R_SortVisSprites+256
;R_SortVisSprites+288
	jmp R_SortVisSprites+176
	nop 0
	nop 0
;R_SortVisSprites+304
	retf 80
	nop 0
	nop 0
;R_DrawSprite
	alloc 19
	ldwz %r3,%r1,16
	ldwz %r4,%r1,20
;R_DrawSprite+16
	ldafr %r6,clipbot
	ldafr %r7,cliptop
	bwlt %r4,%r3,R_DrawSprite+112
;R_DrawSprite+32
	sraiw %r9,%r3,0
	addiws %r2,%r4,1
	ldax.xw %r5,%r7,%r3,1,0
;R_DrawSprite+48
	ldax.xw %r8,%r6,%r3,1,0
	addi %r9,%r9,1
	ldi %r10,65534
;R_DrawSprite+64
	sth %r10,%r5,0
	sth %r10,%r8,0
	mov %r11,%r9
;R_DrawSprite+80
	addi %r5,%r5,2
	addi %r8,%r8,2
	addi %r9,%r9,1
;R_DrawSprite+96
	bwne %r2,%r11,R_DrawSprite+64
	nop 0
	nop 0
;R_DrawSprite+112
	lddzr %r2,ds_p
	addi %r5,%r2,-64
	ldafr %r8,drawsegs
;R_DrawSprite+128
	bdleu %r8,%r5,R_DrawSprite+160
	bwlt %r4,%r3,R_DrawSprite+848
	jmp R_DrawSprite+880
;R_DrawSprite+144
	addi %r5,%r2,-64
	bdltu %r5,%r8,R_DrawSprite+832
	nop 0
;R_DrawSprite+160
	mov %r9,%r2
	ldwz %r3,%r2,-56
	ldwz %r4,%r1,20
;R_DrawSprite+176
	mov %r2,%r5
	bwlt %r4,%r3,R_DrawSprite+144
	ldwz %r10,%r9,-52
;R_DrawSprite+192
	ldwz %r11,%r1,16
	bwlt %r10,%r11,R_DrawSprite+144
	ldwz %r5,%r9,-36
;R_DrawSprite+208
	bwne %r5,%gz,R_DrawSprite+224
	lddz %r12,%r9,-8
	bdeq %r12,%gz,R_DrawSprite+144
;R_DrawSprite+224
	ldwz %r12,%r9,-48
	ldwz %r13,%r9,-44
	ldwz %r14,%r1,44
;R_DrawSprite+240
	maxsw %r3,%r3,%r11
	maxsw %r11,%r12,%r13
	minsw %r4,%r10,%r4
;R_DrawSprite+256
	bwle %r14,%r11,R_DrawSprite+304
	nop 0
	nop 0
;R_DrawSprite+272
	lddz %r5,%r9,-8
	bdeq %r5,%gz,R_DrawSprite+144
	mov2 %r16,%r17,%r2,%r3
;R_DrawSprite+288
	mov %r18,%r4
	callr %r15,R_RenderMaskedSegRange
	jmp R_DrawSprite+144
;R_DrawSprite+304
	minsw %r10,%r12,%r13
	bwle %r14,%r10,R_DrawSprite+352
	ldwz %r16,%r1,24
;R_DrawSprite+320
	ldwz %r17,%r1,28
	lddz %r18,%r2,0
	callr %r15,R_PointOnSegSide
;R_DrawSprite+336
	bweq %r16,%gz,R_DrawSprite+272
	ldwz %r5,%r9,-36
	nop 0
;R_DrawSprite+352
	ldwz %r10,%r1,32
	ldwz %r11,%r9,-32
	ldwz %r12,%r1,36
;R_DrawSprite+368
	ldwz %r13,%r9,-28
	cmpwlt %r10,%r10,%r11
	andi %r11,%r5,-2
;R_DrawSprite+384
	cmovlsb %r5,%r10,%r5,%r11
	cmpwlt %r10,%r13,%r12
	andi %r11,%r5,-3
;R_DrawSprite+400
	cmovlsb %r5,%r10,%r5,%r11
	bweqi %r5,1,R_DrawSprite+704
	bweqi %r5,2,R_DrawSprite+576
;R_DrawSprite+416
	bwnei %r5,3,R_DrawSprite+144
	bwlt %r4,%r3,R_DrawSprite+144
	sraiw %r5,%r3,0
;R_DrawSprite+432
	addws %r4,%r4,%r3
	subws %r3,%r4,%r3
	addiws %r3,%r3,1
;R_DrawSprite+448
	slli %r4,%r5,1
	addi %r5,%r5,1
	jmp R_DrawSprite+496
;R_DrawSprite+464
	mov %r10,%r5
	addi %r4,%r4,2
	addi %r5,%r5,1
;R_DrawSprite+480
	bweq %r3,%r10,R_DrawSprite+144
	nop 0
	nop 0
;R_DrawSprite+496
	ldhzx.xd %r10,%r4,%r6,0,0
	bwnei.l %r10,65534,R_DrawSprite+528
;R_DrawSprite+512
	lddz %r10,%r9,-16
	ldhzx.xd %r10,%r10,%r4,0,0
	sthx.xd %r10,%r4,%r6,0,0
;R_DrawSprite+528
	ldhzx.xd %r10,%r4,%r7,0,0
	bwnei.l %r10,65534,R_DrawSprite+464
;R_DrawSprite+544
	lddz %r10,%r9,-24
	ldhzx.xd %r10,%r10,%r4,0,0
	sthx.xd %r10,%r4,%r7,0,0
;R_DrawSprite+560
	jmp R_DrawSprite+464
	nop 0
	nop 0
;R_DrawSprite+576
	bwlt %r4,%r3,R_DrawSprite+144
	sraiw %r5,%r3,0
	addws %r4,%r4,%r3
;R_DrawSprite+592
	subws %r3,%r4,%r3
	addiws %r3,%r3,1
	slli %r4,%r5,1
;R_DrawSprite+608
	addi %r5,%r5,1
	jmp R_DrawSprite+656
	nop 0
;R_DrawSprite+624
	mov %r10,%r5
	addi %r4,%r4,2
	addi %r5,%r5,1
;R_DrawSprite+640
	bweq %r3,%r10,R_DrawSprite+144
	nop 0
	nop 0
;R_DrawSprite+656
	ldhzx.xd %r10,%r4,%r7,0,0
	bwnei.l %r10,65534,R_DrawSprite+624
;R_DrawSprite+672
	lddz %r10,%r9,-24
	ldhzx.xd %r10,%r10,%r4,0,0
	sthx.xd %r10,%r4,%r7,0,0
;R_DrawSprite+688
	jmp R_DrawSprite+624
	nop 0
	nop 0
;R_DrawSprite+704
	bwlt %r4,%r3,R_DrawSprite+144
	sraiw %r5,%r3,0
	addws %r4,%r4,%r3
;R_DrawSprite+720
	subws %r3,%r4,%r3
	addiws %r3,%r3,1
	slli %r4,%r5,1
;R_DrawSprite+736
	addi %r5,%r5,1
	jmp R_DrawSprite+784
	nop 0
;R_DrawSprite+752
	mov %r10,%r5
	addi %r4,%r4,2
	addi %r5,%r5,1
;R_DrawSprite+768
	bweq %r3,%r10,R_DrawSprite+144
	nop 0
	nop 0
;R_DrawSprite+784
	ldhzx.xd %r10,%r4,%r6,0,0
	bwnei.l %r10,65534,R_DrawSprite+752
;R_DrawSprite+800
	lddz %r10,%r9,-16
	ldhzx.xd %r10,%r10,%r4,0,0
	sthx.xd %r10,%r4,%r6,0,0
;R_DrawSprite+816
	jmp R_DrawSprite+752
	nop 0
	nop 0
;R_DrawSprite+832
	ldwz %r3,%r1,16
	ldwz %r4,%r1,20
	bwle %r3,%r4,R_DrawSprite+880
;R_DrawSprite+848
	stdr %r6,mfloorclip
	stdr %r7,mceilingclip
	mov %r16,%r1
;R_DrawSprite+864
	callr %r15,R_DrawVisSprite
	retf 0
	nop 0
;R_DrawSprite+880
	ldwzr %r2,viewheight
	sraiw %r8,%r3,0
	addiws %r4,%r4,1
;R_DrawSprite+896
	ldax.xw %r5,%r6,%r3,1,0
	ldax.xw %r3,%r7,%r3,1,0
	addi %r8,%r8,1
;R_DrawSprite+912
	ldi %r9,65535
	jmp R_DrawSprite+960
	nop 0
;R_DrawSprite+928
	mov %r10,%r8
	addi %r5,%r5,2
	addi %r3,%r3,2
;R_DrawSprite+944
	addi %r8,%r8,1
	bweq %r4,%r10,R_DrawSprite+848
	nop 0
;R_DrawSprite+960
	ldhz %r10,%r5,0
	bwnei.l %r10,65534,R_DrawSprite+992
;R_DrawSprite+976
	sth %r2,%r5,0
	nop 0
	nop 0
;R_DrawSprite+992
	ldhz %r10,%r3,0
	bwnei.l %r10,65534,R_DrawSprite+928
;R_DrawSprite+1008
	sth %r9,%r3,0
	jmp R_DrawSprite+928
	nop 0
;R_DrawMasked
	alloc 8
	callr %r7,R_SortVisSprites
	lddzr %r1,vissprite_p
;R_DrawMasked+16
	ldafr %r2,vissprites
	bdleu %r1,%r2,R_DrawMasked+80
	lddzr %r1,vsprsortedhead+8
;R_DrawMasked+32
	ldafr %r3,vsprsortedhead
	bdeq %r1,%r3,R_DrawMasked+80
	nop 0
;R_DrawMasked+48
	mov %r7,%r1
	callr %r6,R_DrawSprite
	lddz %r1,%r1,8
;R_DrawMasked+64
	bdne %r1,%r3,R_DrawMasked+48
	nop 0
	nop 0
;R_DrawMasked+80
	lddzr %r1,ds_p
	addi %r1,%r1,-64
	ldafr %r3,drawsegs
;R_DrawMasked+96
	bdleu %r3,%r1,R_DrawMasked+144
	nop 0
	nop 0
;R_DrawMasked+112
	ldwzr %r1,viewangleoffset
	bweq %r1,%gz,R_DrawMasked+192
	retf 0
;R_DrawMasked+128
	addi %r1,%r1,-64
	bdltu %r1,%r3,R_DrawMasked+112
	nop 0
;R_DrawMasked+144
	lddz %r2,%r1,56
	bdeq %r2,%gz,R_DrawMasked+128
	ldwz %r6,%r1,8
;R_DrawMasked+160
	ldwz %r7,%r1,12
	mov %r5,%r1
	callr %r4,R_RenderMaskedSegRange
;R_DrawMasked+176
	jmp R_DrawMasked+128
	nop 0
	nop 0
;R_DrawMasked+192
	callr %r7,R_DrawPlayerSprites
	retf 0
	nop 0
;SHA1_Init
	alloc 3
	ldi.l %r2,1732584193
;SHA1_Init+16
	stw %r2,%r1,0
	ldi.l %r2,-271733879
;SHA1_Init+32
	stw %r2,%r1,4
	ldi.l %r2,-1732584194
;SHA1_Init+48
	stw %r2,%r1,8
	ldi.l %r2,271733878
;SHA1_Init+64
	stw %r2,%r1,12
	ldi.l %r2,-1009589776
;SHA1_Init+80
	stw %r2,%r1,16
	stw %gz,%r1,20
	stw %gz,%r1,88
;SHA1_Init+96
	retf 0
	nop 0
	nop 0
;SHA1_Update
	alloc 11
	ldwz %r4,%r1,88
	bwnei %r4,64,SHA1_Update+64
;SHA1_Update+16
	addi %r10,%r1,24
	mov %r9,%r1
	callr %r8,Transform
;SHA1_Update+32
	stw %gz,%r1,88
	ldwz %r4,%r1,20
	addiws %r4,%r4,1
;SHA1_Update+48
	stw %r4,%r1,20
	bdne %r2,%gz,SHA1_Update+240
	jmp SHA1_Update+368
;SHA1_Update+64
	bdeq %r2,%gz,SHA1_Update+368
	bweq %r4,%gz,SHA1_Update+240
	bdeq %r3,%gz,SHA1_Update+368
;SHA1_Update+80
	addi %r10,%r1,24
	nop 0
	nop 0
;SHA1_Update+96
	ldwz %r4,%r1,88
	bwgei %r4,64,SHA1_Update+192
	ldbz %r5,%r2,0
;SHA1_Update+112
	addi %r2,%r2,1
	addiws %r6,%r4,1
	stw %r6,%r1,88
;SHA1_Update+128
	addi %r3,%r3,-1
	stbx.xw %r5,%r10,%r4,0,0
	bdne %r3,%gz,SHA1_Update+96
;SHA1_Update+144
	ldwz %r2,%r1,88
	bwnei %r2,64,SHA1_Update+368
	mov %r9,%r1
;SHA1_Update+160
	callr %r8,Transform
	stw %gz,%r1,88
	ldwz %r2,%r1,20
;SHA1_Update+176
	addiws %r2,%r2,1
	stw %r2,%r1,20
	retf 0
;SHA1_Update+192
	bwnei %r4,64,SHA1_Update+240
	mov %r9,%r1
	callr %r8,Transform
;SHA1_Update+208
	stw %gz,%r1,88
	ldwz %r4,%r1,20
	addiws %r4,%r4,1
;SHA1_Update+224
	stw %r4,%r1,20
	nop 0
	nop 0
;SHA1_Update+240
	bdltui %r3,64,SHA1_Update+304
	nop 0
	nop 0
;SHA1_Update+256
	mov2 %r9,%r10,%r1,%r2
	callr %r8,Transform
	stw %gz,%r1,88
;SHA1_Update+272
	ldwz %r4,%r1,20
	addiws %r4,%r4,1
	stw %r4,%r1,20
;SHA1_Update+288
	addi %r3,%r3,-64
	addi %r2,%r2,64
	bdgeui %r3,64,SHA1_Update+256
;SHA1_Update+304
	bdeq %r3,%gz,SHA1_Update+368
	addi %r4,%r1,24
	nop 0
;SHA1_Update+320
	ldwz %r5,%r1,88
	bwgei %r5,64,SHA1_Update+368
	ldbz %r6,%r2,0
;SHA1_Update+336
	addi %r2,%r2,1
	addiws %r7,%r5,1
	stw %r7,%r1,88
;SHA1_Update+352
	addi %r3,%r3,-1
	stbx.xw %r6,%r4,%r5,0,0
	bdne %r3,%gz,SHA1_Update+320
;SHA1_Update+368
	retf 0
	nop 0
	nop 0
;Transform
	allocsp 31,64
	mov2 %r8,%r9,%gz,%gz
	ldwz %r7,%r1,0
;Transform+16
	ldwz %r6,%r1,4
	ldwz %r5,%r1,8
	ldwz %r4,%r1,12
;Transform+32
	ldwz %r3,%r1,16
	addi %r10,%sp,0
	nop 0
;Transform+48
	ldbzx.xd %r11,%r2,%r8,0,0
	stbx.xd %r11,%r10,%r8,0,3
	ldbzx.xd %r11,%r2,%r8,0,1
;Transform+64
	stbx.xd %r11,%r10,%r8,0,2
	ldbzx.xd %r11,%r2,%r8,0,2
	stbx.xd %r11,%r10,%r8,0,1
;Transform+80
	ldbzx.xd %r11,%r2,%r8,0,3
	mov %r12,%r9
	stbx.xd %r11,%r10,%r8,0,0
;Transform+96
	addiws %r9,%r9,1
	addi %r8,%r8,4
	bwltui %r12,15,Transform+48
;Transform+112
	srpiw %r2,%r7,%r7,27
	xor %r8,%r4,%r5
	and %r8,%r8,%r6
;Transform+128
	ldwz %r9,%sp,0
	xor %r8,%r8,%r4
	addws %r2,%r2,%r3
;Transform+144
	addws %r2,%r2,%r8
	addws %r2,%r2,%r9
	nop 2
;Transform+160
	addiws.l %r2,%r2,1518500249
	srpiw %r8,%r6,%r6,2
;Transform+176
	srpiw %r10,%r2,%r2,27
	xor %r11,%r8,%r5
	ldwz %r12,%sp,4
;Transform+192
	and %r11,%r11,%r7
	xor %r11,%r11,%r5
	addws %r11,%r4,%r11
;Transform+208
	addws %r11,%r11,%r12
	addws %r10,%r11,%r10
	nop 2
;Transform+224
	addiws.l %r10,%r10,1518500249
	srpiw %r11,%r7,%r7,2
;Transform+240
	srpiw %r13,%r10,%r10,27
	ldwz %r14,%sp,8
	xor %r15,%r8,%r11
;Transform+256
	and %r15,%r2,%r15
	xor %r15,%r15,%r8
	addws %r16,%r5,%r14
;Transform+272
	addws %r15,%r16,%r15
	addws %r13,%r15,%r13
	nop 2
;Transform+288
	addiws.l %r13,%r13,1518500249
	srpiw %r2,%r2,%r2,2
;Transform+304
	srpiw %r15,%r13,%r13,27
	ldwz %r16,%sp,12
	xor %r17,%r2,%r11
;Transform+320
	and %r17,%r10,%r17
	xor %r17,%r17,%r11
	addws %r8,%r8,%r16
;Transform+336
	addws %r8,%r8,%r17
	addws %r8,%r8,%r15
	nop 2
;Transform+352
	addiws.l %r8,%r8,1518500249
	srpiw %r10,%r10,%r10,2
;Transform+368
	srpiw %r15,%r8,%r8,27
	ldwz %r17,%sp,16
	xor %r18,%r10,%r2
;Transform+384
	and %r18,%r13,%r18
	xor %r18,%r18,%r2
	addws %r11,%r11,%r17
;Transform+400
	addws %r11,%r11,%r18
	addws %r11,%r11,%r15
	nop 2
;Transform+416
	addiws.l %r11,%r11,1518500249
	srpiw %r13,%r13,%r13,2
;Transform+432
	srpiw %r15,%r11,%r11,27
	ldwz %r18,%sp,20
	xor %r19,%r13,%r10
;Transform+448
	and %r19,%r8,%r19
	xor %r19,%r19,%r10
	addws %r2,%r2,%r18
;Transform+464
	addws %r2,%r2,%r19
	addws %r2,%r2,%r15
	nop 2
;Transform+480
	addiws.l %r2,%r2,1518500249
	srpiw %r8,%r8,%r8,2
;Transform+496
	srpiw %r15,%r2,%r2,27
	ldwz %r19,%sp,24
	xor %r20,%r8,%r13
;Transform+512
	and %r20,%r11,%r20
	xor %r20,%r20,%r13
	addws %r10,%r19,%r10
;Transform+528
	addws %r10,%r10,%r20
	addws %r10,%r10,%r15
	nop 2
;Transform+544
	addiws.l %r10,%r10,1518500249
	srpiw %r11,%r11,%r11,2
;Transform+560
	srpiw %r15,%r10,%r10,27
	ldwz %r20,%sp,28
	xor %r21,%r11,%r8
;Transform+576
	and %r21,%r2,%r21
	xor %r21,%r21,%r8
	addws %r13,%r20,%r13
;Transform+592
	addws %r13,%r13,%r21
	addws %r13,%r13,%r15
	nop 2
;Transform+608
	addiws.l %r13,%r13,1518500249
	srpiw %r2,%r2,%r2,2
;Transform+624
	srpiw %r15,%r13,%r13,27
	ldwz %r21,%sp,32
	xor %r22,%r2,%r11
;Transform+640
	and %r22,%r10,%r22
	xor %r22,%r22,%r11
	addws %r8,%r21,%r8
;Transform+656
	addws %r8,%r8,%r22
	addws %r8,%r8,%r15
	nop 2
;Transform+672
	addiws.l %r8,%r8,1518500249
	srpiw %r10,%r10,%r10,2
;Transform+688
	srpiw %r15,%r8,%r8,27
	ldwz %r22,%sp,36
	xor %r23,%r10,%r2
;Transform+704
	and %r23,%r13,%r23
	xor %r23,%r23,%r2
	addws %r11,%r22,%r11
;Transform+720
	addws %r11,%r11,%r23
	addws %r11,%r11,%r15
	nop 2
;Transform+736
	addiws.l %r11,%r11,1518500249
	srpiw %r13,%r13,%r13,2
;Transform+752
	srpiw %r15,%r11,%r11,27
	ldwz %r23,%sp,40
	xor %r24,%r13,%r10
;Transform+768
	and %r24,%r8,%r24
	xor %r24,%r24,%r10
	addws %r2,%r23,%r2
;Transform+784
	addws %r2,%r2,%r24
	addws %r2,%r2,%r15
	nop 2
;Transform+800
	addiws.l %r2,%r2,1518500249
	srpiw %r8,%r8,%r8,2
;Transform+816
	srpiw %r15,%r2,%r2,27
	ldwz %r24,%sp,44
	xor %r25,%r8,%r13
;Transform+832
	and %r25,%r11,%r25
	xor %r25,%r25,%r13
	addws %r10,%r24,%r10
;Transform+848
	addws %r10,%r10,%r25
	addws %r10,%r10,%r15
	nop 2
;Transform+864
	addiws.l %r10,%r10,1518500249
	srpiw %r11,%r11,%r11,2
;Transform+880
	srpiw %r15,%r10,%r10,27
	ldwz %r25,%sp,48
	xor %r26,%r11,%r8
;Transform+896
	and %r26,%r2,%r26
	xor %r26,%r26,%r8
	addws %r13,%r25,%r13
;Transform+912
	addws %r13,%r13,%r26
	addws %r13,%r13,%r15
	nop 2
;Transform+928
	addiws.l %r13,%r13,1518500249
	srpiw %r2,%r2,%r2,2
;Transform+944
	srpiw %r15,%r13,%r13,27
	ldwz %r26,%sp,52
	xor %r27,%r2,%r11
;Transform+960
	and %r27,%r10,%r27
	xor %r27,%r27,%r11
	addws %r8,%r26,%r8
;Transform+976
	addws %r8,%r8,%r27
	addws %r8,%r8,%r15
	nop 2
;Transform+992
	addiws.l %r8,%r8,1518500249
	srpiw %r10,%r10,%r10,2
;Transform+1008
	srpiw %r15,%r8,%r8,27
	ldwz %r27,%sp,56
	xor %r28,%r10,%r2
;Transform+1024
	and %r28,%r13,%r28
	xor %r28,%r28,%r2
	addws %r11,%r27,%r11
;Transform+1040
	addws %r11,%r11,%r28
	addws %r11,%r11,%r15
	nop 2
;Transform+1056
	addiws.l %r11,%r11,1518500249
	srpiw %r13,%r13,%r13,2
;Transform+1072
	srpiw %r15,%r11,%r11,27
	ldwz %r28,%sp,60
	xor %r29,%r13,%r10
;Transform+1088
	and %r29,%r8,%r29
	xor %r29,%r29,%r10
	addws %r2,%r28,%r2
;Transform+1104
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
	nop 2
;Transform+1120
	addiws.l %r2,%r2,1518500249
	srpiw %r8,%r8,%r8,2
;Transform+1136
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
	and %r29,%r11,%r29
;Transform+1152
	xor %r9,%r14,%r9
	xor %r9,%r9,%r21
	xor %r9,%r9,%r26
;Transform+1168
	xor %r29,%r29,%r13
	srpiw %r9,%r9,%r9,31
	addws %r10,%r9,%r10
;Transform+1184
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+1200
	addiws.l %r10,%r10,1518500249
	srpiw %r11,%r11,%r11,2
;Transform+1216
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	and %r29,%r2,%r29
;Transform+1232
	xor %r12,%r16,%r12
	xor %r12,%r12,%r22
	xor %r12,%r12,%r27
;Transform+1248
	xor %r29,%r29,%r8
	srpiw %r12,%r12,%r12,31
	addws %r13,%r12,%r13
;Transform+1264
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
	nop 2
;Transform+1280
	addiws.l %r13,%r13,1518500249
	srpiw %r2,%r2,%r2,2
;Transform+1296
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
	and %r29,%r10,%r29
;Transform+1312
	xor %r14,%r17,%r14
	xor %r14,%r14,%r23
	xor %r14,%r14,%r28
;Transform+1328
	xor %r29,%r29,%r11
	srpiw %r14,%r14,%r14,31
	addws %r8,%r14,%r8
;Transform+1344
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+1360
	addiws.l %r8,%r8,1518500249
	srpiw %r10,%r10,%r10,2
;Transform+1376
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	and %r29,%r13,%r29
;Transform+1392
	xor %r16,%r18,%r16
	xor %r16,%r16,%r24
	xor %r16,%r16,%r9
;Transform+1408
	xor %r29,%r29,%r2
	srpiw %r16,%r16,%r16,31
	addws %r11,%r16,%r11
;Transform+1424
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
	nop 2
;Transform+1440
	addiws.l %r11,%r11,1518500249
	srpiw %r13,%r13,%r13,2
;Transform+1456
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
	xor %r17,%r19,%r17
;Transform+1472
	xor %r17,%r17,%r25
	xor %r17,%r17,%r12
	xor %r29,%r29,%r8
;Transform+1488
	srpiw %r17,%r17,%r17,31
	addws %r2,%r17,%r2
	addws %r2,%r2,%r29
;Transform+1504
	addws %r2,%r2,%r15
	addiws.l %r2,%r2,1859775393
;Transform+1520
	srpiw %r8,%r8,%r8,2
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
;Transform+1536
	xor %r18,%r20,%r18
	xor %r18,%r18,%r26
	xor %r18,%r18,%r14
;Transform+1552
	xor %r29,%r29,%r11
	srpiw %r18,%r18,%r18,31
	addws %r10,%r18,%r10
;Transform+1568
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+1584
	addiws.l %r10,%r10,1859775393
	srpiw %r11,%r11,%r11,2
;Transform+1600
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	xor %r19,%r21,%r19
;Transform+1616
	xor %r19,%r19,%r27
	xor %r19,%r19,%r16
	xor %r29,%r29,%r2
;Transform+1632
	srpiw %r19,%r19,%r19,31
	addws %r13,%r19,%r13
	addws %r13,%r13,%r29
;Transform+1648
	addws %r13,%r13,%r15
	addiws.l %r13,%r13,1859775393
;Transform+1664
	srpiw %r2,%r2,%r2,2
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
;Transform+1680
	xor %r20,%r22,%r20
	xor %r20,%r20,%r28
	xor %r20,%r20,%r17
;Transform+1696
	xor %r29,%r29,%r10
	srpiw %r20,%r20,%r20,31
	addws %r8,%r20,%r8
;Transform+1712
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+1728
	addiws.l %r8,%r8,1859775393
	srpiw %r10,%r10,%r10,2
;Transform+1744
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	xor %r21,%r23,%r21
;Transform+1760
	xor %r21,%r21,%r9
	xor %r21,%r21,%r18
	xor %r29,%r29,%r13
;Transform+1776
	srpiw %r21,%r21,%r21,31
	addws %r11,%r21,%r11
	addws %r11,%r11,%r29
;Transform+1792
	addws %r11,%r11,%r15
	addiws.l %r11,%r11,1859775393
;Transform+1808
	srpiw %r13,%r13,%r13,2
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
;Transform+1824
	xor %r22,%r24,%r22
	xor %r22,%r22,%r12
	xor %r22,%r22,%r19
;Transform+1840
	xor %r29,%r29,%r8
	srpiw %r22,%r22,%r22,31
	addws %r2,%r22,%r2
;Transform+1856
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
	nop 2
;Transform+1872
	addiws.l %r2,%r2,1859775393
	srpiw %r8,%r8,%r8,2
;Transform+1888
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
	xor %r23,%r25,%r23
;Transform+1904
	xor %r23,%r23,%r14
	xor %r23,%r23,%r20
	xor %r29,%r29,%r11
;Transform+1920
	srpiw %r23,%r23,%r23,31
	addws %r10,%r23,%r10
	addws %r10,%r10,%r29
;Transform+1936
	addws %r10,%r10,%r15
	addiws.l %r10,%r10,1859775393
;Transform+1952
	srpiw %r11,%r11,%r11,2
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
;Transform+1968
	xor %r24,%r26,%r24
	xor %r24,%r24,%r16
	xor %r24,%r24,%r21
;Transform+1984
	xor %r29,%r29,%r2
	srpiw %r24,%r24,%r24,31
	addws %r13,%r24,%r13
;Transform+2000
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
	nop 2
;Transform+2016
	addiws.l %r13,%r13,1859775393
	srpiw %r2,%r2,%r2,2
;Transform+2032
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
	xor %r25,%r27,%r25
;Transform+2048
	xor %r25,%r25,%r17
	xor %r25,%r25,%r22
	xor %r29,%r29,%r10
;Transform+2064
	srpiw %r25,%r25,%r25,31
	addws %r8,%r25,%r8
	addws %r8,%r8,%r29
;Transform+2080
	addws %r8,%r8,%r15
	addiws.l %r8,%r8,1859775393
;Transform+2096
	srpiw %r10,%r10,%r10,2
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
;Transform+2112
	xor %r26,%r28,%r26
	xor %r26,%r26,%r18
	xor %r26,%r26,%r23
;Transform+2128
	xor %r29,%r29,%r13
	srpiw %r26,%r26,%r26,31
	addws %r11,%r26,%r11
;Transform+2144
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
	nop 2
;Transform+2160
	addiws.l %r11,%r11,1859775393
	srpiw %r13,%r13,%r13,2
;Transform+2176
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
	xor %r27,%r9,%r27
;Transform+2192
	xor %r27,%r27,%r19
	xor %r27,%r27,%r24
	xor %r29,%r29,%r8
;Transform+2208
	srpiw %r27,%r27,%r27,31
	addws %r2,%r27,%r2
	addws %r2,%r2,%r29
;Transform+2224
	addws %r2,%r2,%r15
	addiws.l %r2,%r2,1859775393
;Transform+2240
	srpiw %r8,%r8,%r8,2
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
;Transform+2256
	xor %r28,%r12,%r28
	xor %r28,%r28,%r20
	xor %r28,%r28,%r25
;Transform+2272
	xor %r29,%r29,%r11
	srpiw %r28,%r28,%r28,31
	addws %r10,%r28,%r10
;Transform+2288
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+2304
	addiws.l %r10,%r10,1859775393
	srpiw %r11,%r11,%r11,2
;Transform+2320
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	xor %r9,%r14,%r9
;Transform+2336
	xor %r9,%r9,%r21
	xor %r9,%r9,%r26
	xor %r29,%r29,%r2
;Transform+2352
	srpiw %r9,%r9,%r9,31
	addws %r13,%r9,%r13
	addws %r13,%r13,%r29
;Transform+2368
	addws %r13,%r13,%r15
	addiws.l %r13,%r13,1859775393
;Transform+2384
	srpiw %r2,%r2,%r2,2
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
;Transform+2400
	xor %r12,%r16,%r12
	xor %r12,%r12,%r22
	xor %r12,%r12,%r27
;Transform+2416
	xor %r29,%r29,%r10
	srpiw %r12,%r12,%r12,31
	addws %r8,%r12,%r8
;Transform+2432
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+2448
	addiws.l %r8,%r8,1859775393
	srpiw %r10,%r10,%r10,2
;Transform+2464
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	xor %r14,%r17,%r14
;Transform+2480
	xor %r14,%r14,%r23
	xor %r14,%r14,%r28
	xor %r29,%r29,%r13
;Transform+2496
	srpiw %r14,%r14,%r14,31
	addws %r11,%r14,%r11
	addws %r11,%r11,%r29
;Transform+2512
	addws %r11,%r11,%r15
	addiws.l %r11,%r11,1859775393
;Transform+2528
	srpiw %r13,%r13,%r13,2
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
;Transform+2544
	xor %r16,%r18,%r16
	xor %r16,%r16,%r24
	xor %r16,%r16,%r9
;Transform+2560
	xor %r29,%r29,%r8
	srpiw %r16,%r16,%r16,31
	addws %r2,%r16,%r2
;Transform+2576
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
	nop 2
;Transform+2592
	addiws.l %r2,%r2,1859775393
	srpiw %r8,%r8,%r8,2
;Transform+2608
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
	xor %r17,%r19,%r17
;Transform+2624
	xor %r17,%r17,%r25
	xor %r17,%r17,%r12
	xor %r29,%r29,%r11
;Transform+2640
	srpiw %r17,%r17,%r17,31
	addws %r10,%r17,%r10
	addws %r10,%r10,%r29
;Transform+2656
	addws %r10,%r10,%r15
	addiws.l %r10,%r10,1859775393
;Transform+2672
	srpiw %r11,%r11,%r11,2
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
;Transform+2688
	xor %r18,%r20,%r18
	xor %r18,%r18,%r26
	xor %r18,%r18,%r14
;Transform+2704
	xor %r29,%r29,%r2
	srpiw %r18,%r18,%r18,31
	addws %r13,%r18,%r13
;Transform+2720
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
	nop 2
;Transform+2736
	addiws.l %r13,%r13,1859775393
	srpiw %r2,%r2,%r2,2
;Transform+2752
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
	xor %r19,%r21,%r19
;Transform+2768
	xor %r19,%r19,%r27
	xor %r19,%r19,%r16
	xor %r29,%r29,%r10
;Transform+2784
	srpiw %r19,%r19,%r19,31
	addws %r8,%r19,%r8
	addws %r8,%r8,%r29
;Transform+2800
	addws %r8,%r8,%r15
	addiws.l %r8,%r8,1859775393
;Transform+2816
	srpiw %r10,%r10,%r10,2
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
;Transform+2832
	xor %r20,%r22,%r20
	xor %r20,%r20,%r28
	xor %r20,%r20,%r17
;Transform+2848
	xor %r29,%r29,%r13
	srpiw %r20,%r20,%r20,31
	addws %r11,%r20,%r11
;Transform+2864
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
	nop 2
;Transform+2880
	addiws.l %r11,%r11,1859775393
	srpiw %r13,%r13,%r13,2
;Transform+2896
	srpiw %r15,%r11,%r11,27
	and %r29,%r8,%r13
	or %r30,%r8,%r13
;Transform+2912
	and %r30,%r30,%r10
	xor %r21,%r23,%r21
	xor %r21,%r21,%r9
;Transform+2928
	xor %r21,%r21,%r18
	or %r29,%r30,%r29
	srpiw %r21,%r21,%r21,31
;Transform+2944
	addws %r2,%r21,%r2
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
;Transform+2960
	addiws.l %r2,%r2,-1894007588
	srpiw %r8,%r8,%r8,2
;Transform+2976
	srpiw %r15,%r2,%r2,27
	and %r29,%r11,%r8
	or %r30,%r11,%r8
;Transform+2992
	and %r30,%r30,%r13
	xor %r22,%r24,%r22
	xor %r22,%r22,%r12
;Transform+3008
	xor %r22,%r22,%r19
	or %r29,%r30,%r29
	srpiw %r22,%r22,%r22,31
;Transform+3024
	addws %r10,%r22,%r10
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
;Transform+3040
	addiws.l %r10,%r10,-1894007588
	srpiw %r11,%r11,%r11,2
;Transform+3056
	srpiw %r15,%r10,%r10,27
	and %r29,%r2,%r11
	or %r30,%r2,%r11
;Transform+3072
	and %r30,%r30,%r8
	xor %r23,%r25,%r23
	xor %r23,%r23,%r14
;Transform+3088
	xor %r23,%r23,%r20
	or %r29,%r30,%r29
	srpiw %r23,%r23,%r23,31
;Transform+3104
	addws %r13,%r23,%r13
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
;Transform+3120
	addiws.l %r13,%r13,-1894007588
	srpiw %r2,%r2,%r2,2
;Transform+3136
	srpiw %r15,%r13,%r13,27
	and %r29,%r10,%r2
	or %r30,%r10,%r2
;Transform+3152
	and %r30,%r30,%r11
	xor %r24,%r26,%r24
	xor %r24,%r24,%r16
;Transform+3168
	xor %r24,%r24,%r21
	or %r29,%r30,%r29
	srpiw %r24,%r24,%r24,31
;Transform+3184
	addws %r8,%r24,%r8
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
;Transform+3200
	addiws.l %r8,%r8,-1894007588
	srpiw %r10,%r10,%r10,2
;Transform+3216
	srpiw %r15,%r8,%r8,27
	and %r29,%r13,%r10
	or %r30,%r13,%r10
;Transform+3232
	and %r30,%r30,%r2
	xor %r25,%r27,%r25
	xor %r25,%r25,%r17
;Transform+3248
	xor %r25,%r25,%r22
	or %r29,%r30,%r29
	srpiw %r25,%r25,%r25,31
;Transform+3264
	addws %r11,%r25,%r11
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
;Transform+3280
	addiws.l %r11,%r11,-1894007588
	srpiw %r13,%r13,%r13,2
;Transform+3296
	srpiw %r15,%r11,%r11,27
	and %r29,%r8,%r13
	or %r30,%r8,%r13
;Transform+3312
	and %r30,%r30,%r10
	xor %r26,%r28,%r26
	xor %r26,%r26,%r18
;Transform+3328
	xor %r26,%r26,%r23
	or %r29,%r30,%r29
	srpiw %r26,%r26,%r26,31
;Transform+3344
	addws %r2,%r26,%r2
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
;Transform+3360
	addiws.l %r2,%r2,-1894007588
	srpiw %r8,%r8,%r8,2
;Transform+3376
	srpiw %r15,%r2,%r2,27
	and %r29,%r11,%r8
	or %r30,%r11,%r8
;Transform+3392
	and %r30,%r30,%r13
	xor %r27,%r9,%r27
	xor %r27,%r27,%r19
;Transform+3408
	xor %r27,%r27,%r24
	or %r29,%r30,%r29
	srpiw %r27,%r27,%r27,31
;Transform+3424
	addws %r10,%r27,%r10
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
;Transform+3440
	addiws.l %r10,%r10,-1894007588
	srpiw %r11,%r11,%r11,2
;Transform+3456
	srpiw %r15,%r10,%r10,27
	and %r29,%r2,%r11
	or %r30,%r2,%r11
;Transform+3472
	and %r30,%r30,%r8
	xor %r28,%r12,%r28
	xor %r28,%r28,%r20
;Transform+3488
	xor %r28,%r28,%r25
	or %r29,%r30,%r29
	srpiw %r28,%r28,%r28,31
;Transform+3504
	addws %r13,%r28,%r13
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
;Transform+3520
	addiws.l %r13,%r13,-1894007588
	srpiw %r2,%r2,%r2,2
;Transform+3536
	srpiw %r15,%r13,%r13,27
	and %r29,%r10,%r2
	or %r30,%r10,%r2
;Transform+3552
	and %r30,%r30,%r11
	xor %r9,%r14,%r9
	xor %r9,%r9,%r21
;Transform+3568
	xor %r9,%r9,%r26
	or %r29,%r30,%r29
	srpiw %r9,%r9,%r9,31
;Transform+3584
	addws %r8,%r9,%r8
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
;Transform+3600
	addiws.l %r8,%r8,-1894007588
	srpiw %r10,%r10,%r10,2
;Transform+3616
	srpiw %r15,%r8,%r8,27
	and %r29,%r13,%r10
	or %r30,%r13,%r10
;Transform+3632
	and %r30,%r30,%r2
	xor %r12,%r16,%r12
	xor %r12,%r12,%r22
;Transform+3648
	xor %r12,%r12,%r27
	or %r29,%r30,%r29
	srpiw %r12,%r12,%r12,31
;Transform+3664
	addws %r11,%r12,%r11
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
;Transform+3680
	addiws.l %r11,%r11,-1894007588
	srpiw %r13,%r13,%r13,2
;Transform+3696
	srpiw %r15,%r11,%r11,27
	and %r29,%r8,%r13
	or %r30,%r8,%r13
;Transform+3712
	and %r30,%r30,%r10
	xor %r14,%r17,%r14
	xor %r14,%r14,%r23
;Transform+3728
	xor %r14,%r14,%r28
	or %r29,%r30,%r29
	srpiw %r14,%r14,%r14,31
;Transform+3744
	addws %r2,%r14,%r2
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
;Transform+3760
	addiws.l %r2,%r2,-1894007588
	srpiw %r8,%r8,%r8,2
;Transform+3776
	srpiw %r15,%r2,%r2,27
	and %r29,%r11,%r8
	or %r30,%r11,%r8
;Transform+3792
	and %r30,%r30,%r13
	xor %r16,%r18,%r16
	xor %r16,%r16,%r24
;Transform+3808
	xor %r16,%r16,%r9
	or %r29,%r30,%r29
	srpiw %r16,%r16,%r16,31
;Transform+3824
	addws %r10,%r16,%r10
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
;Transform+3840
	addiws.l %r10,%r10,-1894007588
	srpiw %r11,%r11,%r11,2
;Transform+3856
	srpiw %r15,%r10,%r10,27
	and %r29,%r2,%r11
	or %r30,%r2,%r11
;Transform+3872
	and %r30,%r30,%r8
	xor %r17,%r19,%r17
	xor %r17,%r17,%r25
;Transform+3888
	xor %r17,%r17,%r12
	or %r29,%r30,%r29
	srpiw %r17,%r17,%r17,31
;Transform+3904
	addws %r13,%r17,%r13
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
;Transform+3920
	addiws.l %r13,%r13,-1894007588
	srpiw %r2,%r2,%r2,2
;Transform+3936
	srpiw %r15,%r13,%r13,27
	and %r29,%r10,%r2
	or %r30,%r10,%r2
;Transform+3952
	and %r30,%r30,%r11
	xor %r18,%r20,%r18
	xor %r18,%r18,%r26
;Transform+3968
	xor %r18,%r18,%r14
	or %r29,%r30,%r29
	srpiw %r18,%r18,%r18,31
;Transform+3984
	addws %r8,%r18,%r8
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
;Transform+4000
	addiws.l %r8,%r8,-1894007588
	srpiw %r10,%r10,%r10,2
;Transform+4016
	srpiw %r15,%r8,%r8,27
	and %r29,%r13,%r10
	or %r30,%r13,%r10
;Transform+4032
	and %r30,%r30,%r2
	xor %r19,%r21,%r19
	xor %r19,%r19,%r27
;Transform+4048
	xor %r19,%r19,%r16
	or %r29,%r30,%r29
	srpiw %r19,%r19,%r19,31
;Transform+4064
	addws %r11,%r19,%r11
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
;Transform+4080
	addiws.l %r11,%r11,-1894007588
	srpiw %r13,%r13,%r13,2
;Transform+4096
	srpiw %r15,%r11,%r11,27
	and %r29,%r8,%r13
	or %r30,%r8,%r13
;Transform+4112
	and %r30,%r30,%r10
	xor %r20,%r22,%r20
	xor %r20,%r20,%r28
;Transform+4128
	xor %r20,%r20,%r17
	or %r29,%r30,%r29
	srpiw %r20,%r20,%r20,31
;Transform+4144
	addws %r2,%r20,%r2
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
;Transform+4160
	addiws.l %r2,%r2,-1894007588
	srpiw %r8,%r8,%r8,2
;Transform+4176
	srpiw %r15,%r2,%r2,27
	and %r29,%r11,%r8
	or %r30,%r11,%r8
;Transform+4192
	and %r30,%r30,%r13
	xor %r21,%r23,%r21
	xor %r21,%r21,%r9
;Transform+4208
	xor %r21,%r21,%r18
	or %r29,%r30,%r29
	srpiw %r21,%r21,%r21,31
;Transform+4224
	addws %r10,%r21,%r10
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
;Transform+4240
	addiws.l %r10,%r10,-1894007588
	srpiw %r11,%r11,%r11,2
;Transform+4256
	srpiw %r15,%r10,%r10,27
	and %r29,%r2,%r11
	or %r30,%r2,%r11
;Transform+4272
	and %r30,%r30,%r8
	xor %r22,%r24,%r22
	xor %r22,%r22,%r12
;Transform+4288
	xor %r22,%r22,%r19
	or %r29,%r30,%r29
	srpiw %r22,%r22,%r22,31
;Transform+4304
	addws %r13,%r22,%r13
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
;Transform+4320
	addiws.l %r13,%r13,-1894007588
	srpiw %r2,%r2,%r2,2
;Transform+4336
	srpiw %r15,%r13,%r13,27
	and %r29,%r10,%r2
	or %r30,%r10,%r2
;Transform+4352
	and %r30,%r30,%r11
	xor %r23,%r25,%r23
	xor %r23,%r23,%r14
;Transform+4368
	xor %r23,%r23,%r20
	or %r29,%r30,%r29
	srpiw %r23,%r23,%r23,31
;Transform+4384
	addws %r8,%r23,%r8
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
;Transform+4400
	addiws.l %r8,%r8,-1894007588
	srpiw %r10,%r10,%r10,2
;Transform+4416
	srpiw %r15,%r8,%r8,27
	and %r29,%r13,%r10
	or %r30,%r13,%r10
;Transform+4432
	and %r30,%r30,%r2
	xor %r24,%r26,%r24
	xor %r24,%r24,%r16
;Transform+4448
	xor %r24,%r24,%r21
	or %r29,%r30,%r29
	srpiw %r24,%r24,%r24,31
;Transform+4464
	addws %r11,%r24,%r11
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
;Transform+4480
	addiws.l %r11,%r11,-1894007588
	srpiw %r13,%r13,%r13,2
;Transform+4496
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
	xor %r25,%r27,%r25
;Transform+4512
	xor %r25,%r25,%r17
	xor %r25,%r25,%r22
	xor %r29,%r29,%r8
;Transform+4528
	srpiw %r25,%r25,%r25,31
	addws %r2,%r25,%r2
	addws %r2,%r2,%r29
;Transform+4544
	addws %r2,%r2,%r15
	addiws.l %r2,%r2,-899497514
;Transform+4560
	srpiw %r8,%r8,%r8,2
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
;Transform+4576
	xor %r26,%r28,%r26
	xor %r26,%r26,%r18
	xor %r26,%r26,%r23
;Transform+4592
	xor %r29,%r29,%r11
	srpiw %r26,%r26,%r26,31
	addws %r10,%r26,%r10
;Transform+4608
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+4624
	addiws.l %r10,%r10,-899497514
	srpiw %r11,%r11,%r11,2
;Transform+4640
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	xor %r27,%r9,%r27
;Transform+4656
	xor %r27,%r27,%r19
	xor %r27,%r27,%r24
	xor %r29,%r29,%r2
;Transform+4672
	srpiw %r27,%r27,%r27,31
	addws %r13,%r27,%r13
	addws %r13,%r13,%r29
;Transform+4688
	addws %r13,%r13,%r15
	addiws.l %r13,%r13,-899497514
;Transform+4704
	srpiw %r2,%r2,%r2,2
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
;Transform+4720
	xor %r28,%r12,%r28
	xor %r28,%r28,%r20
	xor %r28,%r28,%r25
;Transform+4736
	xor %r29,%r29,%r10
	srpiw %r28,%r28,%r28,31
	addws %r8,%r28,%r8
;Transform+4752
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+4768
	addiws.l %r8,%r8,-899497514
	srpiw %r10,%r10,%r10,2
;Transform+4784
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	xor %r9,%r14,%r9
;Transform+4800
	xor %r9,%r9,%r21
	xor %r9,%r9,%r26
	xor %r29,%r29,%r13
;Transform+4816
	srpiw %r9,%r9,%r9,31
	addws %r11,%r9,%r11
	addws %r11,%r11,%r29
;Transform+4832
	addws %r11,%r11,%r15
	addiws.l %r11,%r11,-899497514
;Transform+4848
	srpiw %r13,%r13,%r13,2
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
;Transform+4864
	xor %r12,%r16,%r12
	xor %r12,%r12,%r22
	xor %r12,%r12,%r27
;Transform+4880
	xor %r29,%r29,%r8
	srpiw %r12,%r12,%r12,31
	addws %r2,%r12,%r2
;Transform+4896
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
	nop 2
;Transform+4912
	addiws.l %r2,%r2,-899497514
	srpiw %r8,%r8,%r8,2
;Transform+4928
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
	xor %r14,%r17,%r14
;Transform+4944
	xor %r14,%r14,%r23
	xor %r14,%r14,%r28
	xor %r29,%r29,%r11
;Transform+4960
	srpiw %r14,%r14,%r14,31
	addws %r10,%r14,%r10
	addws %r10,%r10,%r29
;Transform+4976
	addws %r10,%r10,%r15
	addiws.l %r10,%r10,-899497514
;Transform+4992
	srpiw %r11,%r11,%r11,2
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
;Transform+5008
	xor %r16,%r18,%r16
	xor %r16,%r16,%r24
	xor %r16,%r16,%r9
;Transform+5024
	xor %r29,%r29,%r2
	srpiw %r16,%r16,%r16,31
	addws %r13,%r16,%r13
;Transform+5040
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
	nop 2
;Transform+5056
	addiws.l %r13,%r13,-899497514
	srpiw %r2,%r2,%r2,2
;Transform+5072
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
	xor %r17,%r19,%r17
;Transform+5088
	xor %r17,%r17,%r25
	xor %r17,%r17,%r12
	xor %r29,%r29,%r10
;Transform+5104
	srpiw %r17,%r17,%r17,31
	addws %r8,%r17,%r8
	addws %r8,%r8,%r29
;Transform+5120
	addws %r8,%r8,%r15
	addiws.l %r8,%r8,-899497514
;Transform+5136
	srpiw %r10,%r10,%r10,2
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
;Transform+5152
	xor %r18,%r20,%r18
	xor %r18,%r18,%r26
	xor %r18,%r18,%r14
;Transform+5168
	xor %r29,%r29,%r13
	srpiw %r18,%r18,%r18,31
	addws %r11,%r18,%r11
;Transform+5184
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
	nop 2
;Transform+5200
	addiws.l %r11,%r11,-899497514
	srpiw %r13,%r13,%r13,2
;Transform+5216
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
	xor %r19,%r21,%r19
;Transform+5232
	xor %r19,%r19,%r27
	xor %r19,%r19,%r16
	xor %r29,%r29,%r8
;Transform+5248
	srpiw %r19,%r19,%r19,31
	addws %r2,%r19,%r2
	addws %r2,%r2,%r29
;Transform+5264
	addws %r2,%r2,%r15
	addiws.l %r2,%r2,-899497514
;Transform+5280
	srpiw %r8,%r8,%r8,2
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
;Transform+5296
	xor %r20,%r22,%r20
	xor %r20,%r20,%r28
	xor %r20,%r20,%r17
;Transform+5312
	xor %r29,%r29,%r11
	srpiw %r20,%r20,%r20,31
	addws %r10,%r20,%r10
;Transform+5328
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+5344
	addiws.l %r10,%r10,-899497514
	srpiw %r11,%r11,%r11,2
;Transform+5360
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	xor %r21,%r23,%r21
;Transform+5376
	xor %r21,%r21,%r9
	xor %r21,%r21,%r18
	xor %r29,%r29,%r2
;Transform+5392
	srpiw %r21,%r21,%r21,31
	addws %r13,%r21,%r13
	addws %r13,%r13,%r29
;Transform+5408
	addws %r13,%r13,%r15
	addiws.l %r13,%r13,-899497514
;Transform+5424
	srpiw %r2,%r2,%r2,2
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
;Transform+5440
	xor %r22,%r24,%r22
	xor %r22,%r22,%r12
	xor %r22,%r22,%r19
;Transform+5456
	xor %r29,%r29,%r10
	srpiw %r22,%r22,%r22,31
	addws %r8,%r22,%r8
;Transform+5472
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+5488
	addiws.l %r8,%r8,-899497514
	srpiw %r10,%r10,%r10,2
;Transform+5504
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	xor %r23,%r25,%r23
;Transform+5520
	xor %r14,%r23,%r14
	xor %r14,%r14,%r20
	xor %r23,%r29,%r13
;Transform+5536
	srpiw %r14,%r14,%r14,31
	addws %r11,%r14,%r11
	addws %r11,%r11,%r23
;Transform+5552
	addws %r11,%r11,%r15
	addiws.l %r11,%r11,-899497514
;Transform+5568
	srpiw %r13,%r13,%r13,2
	srpiw %r15,%r11,%r11,27
	xor %r23,%r13,%r10
;Transform+5584
	xor %r24,%r26,%r24
	xor %r16,%r24,%r16
	xor %r16,%r16,%r21
;Transform+5600
	xor %r21,%r23,%r8
	srpiw %r16,%r16,%r16,31
	addws %r2,%r16,%r2
;Transform+5616
	addws %r2,%r2,%r21
	addws %r2,%r2,%r15
	nop 2
;Transform+5632
	addiws.l %r2,%r2,-899497514
	srpiw %r8,%r8,%r8,2
;Transform+5648
	srpiw %r15,%r2,%r2,27
	xor %r21,%r8,%r13
	xor %r23,%r27,%r25
;Transform+5664
	xor %r17,%r23,%r17
	xor %r17,%r17,%r22
	xor %r21,%r21,%r11
;Transform+5680
	srpiw %r17,%r17,%r17,31
	addws %r10,%r17,%r10
	addws %r10,%r10,%r21
;Transform+5696
	addws %r10,%r10,%r15
	addiws.l %r10,%r10,-899497514
;Transform+5712
	srpiw %r11,%r11,%r11,2
	srpiw %r15,%r10,%r10,27
	xor %r21,%r11,%r8
;Transform+5728
	xor %r22,%r28,%r26
	xor %r18,%r22,%r18
	xor %r14,%r18,%r14
;Transform+5744
	xor %r18,%r21,%r2
	srpiw %r14,%r14,%r14,31
	addws %r13,%r14,%r13
;Transform+5760
	addws %r13,%r13,%r18
	addws %r13,%r13,%r15
	nop 2
;Transform+5776
	addiws.l %r13,%r13,-899497514
	srpiw %r2,%r2,%r2,2
;Transform+5792
	srpiw %r14,%r13,%r13,27
	xor %r15,%r2,%r11
	xor %r9,%r9,%r27
;Transform+5808
	xor %r9,%r9,%r19
	xor %r9,%r9,%r16
	xor %r15,%r15,%r10
;Transform+5824
	srpiw %r9,%r9,%r9,31
	addws %r8,%r9,%r8
	addws %r8,%r8,%r15
;Transform+5840
	addws %r8,%r8,%r14
	addiws.l %r8,%r8,-899497514
;Transform+5856
	srpiw %r9,%r10,%r10,2
	srpiw %r10,%r8,%r8,27
	xor %r14,%r9,%r2
;Transform+5872
	xor %r12,%r12,%r28
	xor %r12,%r12,%r20
	xor %r12,%r12,%r17
;Transform+5888
	xor %r14,%r14,%r13
	srpiw %r12,%r12,%r12,31
	srpiw %r13,%r13,%r13,2
;Transform+5904
	addws %r7,%r7,%r12
	addws %r7,%r7,%r11
	addws %r7,%r7,%r14
;Transform+5920
	addws %r7,%r7,%r10
	addiws.l %r7,%r7,-899497514
;Transform+5936
	stw %r7,%r1,0
	addws %r6,%r8,%r6
	stw %r6,%r1,4
;Transform+5952
	addws %r5,%r13,%r5
	stw %r5,%r1,8
	addws %r4,%r9,%r4
;Transform+5968
	stw %r4,%r1,12
	addws %r2,%r2,%r3
	stw %r2,%r1,16
;Transform+5984
	retf 64
	nop 0
	nop 0
;SHA1_Final
	alloc 22
	ldwz %r5,%r2,88
	addi %r3,%r2,24
;SHA1_Final+16
	bwnei %r5,64,SHA1_Final+64
	mov2 %r20,%r21,%r2,%r3
	callr %r19,Transform
;SHA1_Final+32
	ldwz %r4,%r2,20
	mov %r5,%gz
	addiws %r6,%r4,1
;SHA1_Final+48
	stw %r6,%r2,20
	jmp SHA1_Final+80
	nop 0
;SHA1_Final+64
	ldwz %r6,%r2,20
	bwgei %r5,56,SHA1_Final+144
	nop 0
;SHA1_Final+80
	addiws %r4,%r5,1
	stw %r4,%r2,88
	ldi %r4,128
;SHA1_Final+96
	stbx.xw %r4,%r2,%r5,0,24
	nop 0
	nop 0
;SHA1_Final+112
	ldwz %r4,%r2,88
	bwgei %r4,56,SHA1_Final+336
	addiws %r7,%r4,1
;SHA1_Final+128
	stw %r7,%r2,88
	stbx.xw %gz,%r3,%r4,0,0
	jmp SHA1_Final+112
;SHA1_Final+144
	addiws %r4,%r5,1
	stw %r4,%r2,88
	ldi %r4,128
;SHA1_Final+160
	stbx.xuw %r4,%r2,%r5,0,24
	ldwz %r4,%r2,88
	bwgei %r4,64,SHA1_Final+208
;SHA1_Final+176
	addiws %r7,%r4,1
	stw %r7,%r2,88
	stbx.xw %gz,%r3,%r4,0,0
;SHA1_Final+192
	ldwz %r4,%r2,88
	bwlti %r4,64,SHA1_Final+176
	nop 0
;SHA1_Final+208
	bwnei %r4,64,SHA1_Final+256
	mov2 %r20,%r21,%r2,%r3
	callr %r19,Transform
;SHA1_Final+224
	stw %gz,%r2,88
	ldwz %r4,%r2,20
	addiws %r4,%r4,1
;SHA1_Final+240
	stw %r4,%r2,20
	nop 0
	nop 0
;SHA1_Final+256
	stw %gz,%r3,52
	stw %gz,%r3,48
	stw %gz,%r3,44
;SHA1_Final+272
	stw %gz,%r3,40
	stw %gz,%r3,36
	stw %gz,%r3,32
;SHA1_Final+288
	stw %gz,%r3,28
	stw %gz,%r3,24
	stw %gz,%r3,20
;SHA1_Final+304
	stw %gz,%r3,16
	stw %gz,%r3,12
	stw %gz,%r3,8
;SHA1_Final+320
	stw %gz,%r3,4
	stw %gz,%r3,0
	nop 0
;SHA1_Final+336
	slliw %r4,%r6,6
	sladdws %r5,%r5,%r6,6
	cmpwltu %r4,%r5,%r4
;SHA1_Final+352
	srliw %r6,%r6,26
	addws %r4,%r6,%r4
	srpiw %r4,%r4,%r5,29
;SHA1_Final+368
	slliw %r6,%r5,3
	sth %gz,%r2,80
	srliw %r7,%r4,8
;SHA1_Final+384
	stb %r7,%r2,82
	stb %r4,%r2,83
	srliw %r4,%r5,21
;SHA1_Final+400
	stb %r4,%r2,84
	srliw %r4,%r5,13
	stb %r4,%r2,85
;SHA1_Final+416
	srliw %r4,%r5,5
	stb %r4,%r2,86
	stb %r6,%r2,87
;SHA1_Final+432
	mov2 %r20,%r21,%r2,%r3
	callr %r19,Transform
	ldwz %r3,%r2,0
;SHA1_Final+448
	srliw %r4,%r3,24
	stb %r4,%r2,24
	srliw %r4,%r3,16
;SHA1_Final+464
	stb %r4,%r2,25
	srliw %r4,%r3,8
	stb %r4,%r2,26
;SHA1_Final+480
	stb %r3,%r2,27
	ldwz %r3,%r2,4
	srliw %r4,%r3,24
;SHA1_Final+496
	stb %r4,%r2,28
	srliw %r5,%r3,16
	stb %r5,%r2,29
;SHA1_Final+512
	srliw %r6,%r3,8
	stb %r6,%r2,30
	stb %r3,%r2,31
;SHA1_Final+528
	ldwz %r7,%r2,8
	srliw %r8,%r7,24
	stb %r8,%r2,32
;SHA1_Final+544
	srliw %r9,%r7,16
	stb %r9,%r2,33
	srliw %r10,%r7,8
;SHA1_Final+560
	stb %r10,%r2,34
	stb %r7,%r2,35
	ldwz %r11,%r2,12
;SHA1_Final+576
	srliw %r12,%r11,24
	stb %r12,%r2,36
	srliw %r13,%r11,16
;SHA1_Final+592
	stb %r13,%r2,37
	srliw %r14,%r11,8
	stb %r14,%r2,38
;SHA1_Final+608
	stb %r11,%r2,39
	ldwz %r15,%r2,16
	srliw %r16,%r15,24
;SHA1_Final+624
	stb %r16,%r2,40
	srliw %r17,%r15,16
	stb %r17,%r2,41
;SHA1_Final+640
	srliw %r18,%r15,8
	stb %r18,%r2,42
	stb %r15,%r2,43
;SHA1_Final+656
	stb %r15,%r1,19
	stb %r18,%r1,18
	stb %r17,%r1,17
;SHA1_Final+672
	stb %r16,%r1,16
	stb %r11,%r1,15
	stb %r14,%r1,14
;SHA1_Final+688
	stb %r13,%r1,13
	stb %r12,%r1,12
	stb %r7,%r1,11
;SHA1_Final+704
	stb %r10,%r1,10
	stb %r9,%r1,9
	stb %r8,%r1,8
;SHA1_Final+720
	stb %r3,%r1,7
	stb %r6,%r1,6
	stb %r5,%r1,5
;SHA1_Final+736
	stb %r4,%r1,4
	ldbz %r3,%r2,27
	stb %r3,%r1,3
;SHA1_Final+752
	ldbz %r3,%r2,26
	stb %r3,%r1,2
	ldbz %r3,%r2,25
;SHA1_Final+768
	stb %r3,%r1,1
	ldbz %r2,%r2,24
	stb %r2,%r1,0
;SHA1_Final+784
	retf 0
	nop 0
	nop 0
;SHA1_UpdateInt32
	allocsp 8,16
	srliw %r3,%r2,24
	stb %r3,%sp,12
;SHA1_UpdateInt32+16
	srliw %r3,%r2,16
	stb %r3,%sp,13
	srliw %r3,%r2,8
;SHA1_UpdateInt32+32
	stb %r3,%sp,14
	stb %r2,%sp,15
	addi %r6,%sp,12
;SHA1_UpdateInt32+48
	ldi %r7,4
	mov %r5,%r1
	callr %r4,SHA1_Update
;SHA1_UpdateInt32+64
	retf 16
	nop 0
	nop 0
;SHA1_UpdateString
	alloc 7
	mov %r6,%r2
	callr %r5,strlen
;SHA1_UpdateString+16
	addi %r6,%r6,1
	mov2 %r4,%r5,%r1,%r2
	callr %r3,SHA1_Update
;SHA1_UpdateString+32
	retf 0
	nop 0
	nop 0
;StatCopy
	alloc 4
	ldafr %r3,.rodata+25952
	callr %r2,M_ParmExists
;StatCopy+16
	bweq %r3,%gz,StatCopy+48
	ldwzr %r1,num_captured_stats
	bwgei %r1,32,StatCopy+48
;StatCopy+32
	addiws %r1,%r1,1
	stwr %r1,num_captured_stats
	nop 0
;StatCopy+48
	retf 0
	nop 0
	nop 0
;StatDump
	alloc 1
	retf 0
	nop 0
;STlib_init
	alloc 4
	ldafr %r2,.rodata+9524
	ldi %r3,1
;STlib_init+16
	callr %r1,W_CacheLumpName
	stdr %r2,sttminus
	retf 0
;STlib_initNum
	alloc 8
	stw %r2,%r1,0
	stw %r3,%r1,4
;STlib_initNum+16
	stw %gz,%r1,12
	stw %r7,%r1,8
	std %r5,%r1,16
;STlib_initNum+32
	std %r6,%r1,24
	std %r4,%r1,32
	retf 0
;STlib_drawNum
	alloc 19
	lddz %r2,%r1,32
	lddz %r3,%r2,0
;STlib_drawNum+16
	lddz %r2,%r1,16
	ldbs %r5,%r3,1
	ldbz %r7,%r3,0
;STlib_drawNum+32
	ldwz %r4,%r2,0
	ldwz %r6,%r1,8
	slor %r5,%r7,%r5,8
;STlib_drawNum+48
	ldbs %r2,%r3,3
	ldbz %r3,%r3,2
	stw %r4,%r1,12
;STlib_drawNum+64
	mov %r7,%r4
	bwgei %r4,0,STlib_drawNum+144
	cmpweqi %r7,%r6,3
;STlib_drawNum+80
	ldi %r8,-99
	maxuw %r8,%r4,%r8
	nop 2
;STlib_drawNum+96
	cmpwltui.l %r9,%r4,4294967287
	cmovlsb %r7,%r7,%r8,%r4
;STlib_drawNum+112
	ldi %r8,-9
	cmpweqi %r10,%r6,2
	cmovlsb %r8,%r9,%r8,%r7
;STlib_drawNum+128
	cmovlsb %r7,%r10,%r8,%r7
	subfiws %r7,%r7,0
	nop 0
;STlib_drawNum+144
	ldwz %r8,%r1,0
	ldwz %r18,%r1,4
	slor %r16,%r3,%r2,8
;STlib_drawNum+160
	mulws %r15,%r6,%r5
	subws %r12,%r8,%r15
	bwgei %r18,168,STlib_drawNum+192
;STlib_drawNum+176
	ldafr %r18,.rodata+23779
	callr %r17,I_Error
	ldwz %r18,%r1,4
;STlib_drawNum+192
	addiws %r13,%r18,-168
	lddzr %r14,st_backing_screen
	mov %r17,%r12
;STlib_drawNum+208
	callr %r11,V_CopyRect
	bweqi.l %r7,1994,STlib_drawNum+352
;STlib_drawNum+224
	ldwz %r2,%r1,0
	bweq %r7,%gz,STlib_drawNum+368
	bweq %r6,%gz,STlib_drawNum+336
;STlib_drawNum+240
	subws %r2,%r2,%r5
	ldwz %r17,%r1,4
	lddz %r3,%r1,32
;STlib_drawNum+256
	srliw %r8,%r7,0
	muli.l %r8,%r8,3435973837
;STlib_drawNum+272
	srli %r8,%r8,35
	mulwsi %r9,%r8,10
	subws %r9,%r7,%r9
;STlib_drawNum+288
	lddzx.xuw %r18,%r3,%r9,3,0
	mov %r16,%r2
	callr %r15,V_DrawPatch
;STlib_drawNum+304
	bwltui %r7,10,STlib_drawNum+336
	addiws %r6,%r6,-1
	mov %r7,%r8
;STlib_drawNum+320
	bwne %r6,%gz,STlib_drawNum+240
	nop 0
	nop 0
;STlib_drawNum+336
	bwlti %r4,0,STlib_drawNum+400
	nop 0
	nop 0
;STlib_drawNum+352
	retf 0
	nop 0
	nop 0
;STlib_drawNum+368
	lddz %r3,%r1,32
	subws %r16,%r2,%r5
	ldwz %r17,%r1,4
;STlib_drawNum+384
	lddz %r18,%r3,0
	callr %r15,V_DrawPatch
	bwgei %r4,0,STlib_drawNum+352
;STlib_drawNum+400
	addiws %r16,%r2,-8
	ldwz %r17,%r1,4
	lddzr %r18,sttminus
;STlib_drawNum+416
	callr %r15,V_DrawPatch
	retf 0
	nop 0
;STlib_updateNum
	alloc 6
	lddz %r2,%r1,24
	ldwz %r2,%r2,0
;STlib_updateNum+16
	bweq %r2,%gz,STlib_updateNum+32
	mov %r4,%r1
	callr %r3,STlib_drawNum
;STlib_updateNum+32
	retf 0
	nop 0
	nop 0
;STlib_initPercent
	alloc 8
	stw %r2,%r1,0
	stw %r3,%r1,4
;STlib_initPercent+16
	ldi %r2,3
	std %r2,%r1,8
	std %r5,%r1,16
;STlib_initPercent+32
	std %r6,%r1,24
	std %r4,%r1,32
	std %r7,%r1,48
;STlib_initPercent+48
	retf 0
	nop 0
	nop 0
;STlib_updatePercent
	alloc 7
	bweq %r2,%gz,STlib_updatePercent+48
	lddz %r2,%r1,24
;STlib_updatePercent+16
	ldwz %r2,%r2,0
	bweq %r2,%gz,STlib_updatePercent+48
	ldwz %r4,%r1,0
;STlib_updatePercent+32
	ldwz %r5,%r1,4
	lddz %r6,%r1,48
	callr %r3,V_DrawPatch
;STlib_updatePercent+48
	lddz %r2,%r1,24
	ldwz %r2,%r2,0
	bweq %r2,%gz,STlib_updatePercent+80
;STlib_updatePercent+64
	mov %r5,%r1
	callr %r4,STlib_drawNum
	nop 0
;STlib_updatePercent+80
	retf 0
	nop 0
	nop 0
;STlib_initMultIcon
	alloc 7
	stw %r2,%r1,0
	stw %r3,%r1,4
;STlib_initMultIcon+16
	ldi %r2,-1
	stw %r2,%r1,8
	std %r5,%r1,16
;STlib_initMultIcon+32
	std %r6,%r1,24
	std %r4,%r1,32
	retf 0
;STlib_updateMultIcon
	alloc 21
	lddz %r3,%r1,24
	ldwz %r3,%r3,0
;STlib_updateMultIcon+16
	bweq %r3,%gz,STlib_updateMultIcon+272
	lddz %r3,%r1,16
	ldwz %r3,%r3,0
;STlib_updateMultIcon+32
	bweqi %r3,-1,STlib_updateMultIcon+272
	ldwz %r4,%r1,8
	cmpweq %r5,%r4,%r3
;STlib_updateMultIcon+48
	cmpweqi %r2,%r2,0
	and %r2,%r2,%r5
	bbsi %r2,0,STlib_updateMultIcon+272
;STlib_updateMultIcon+64
	bweqi %r4,-1,STlib_updateMultIcon+224
	lddz %r2,%r1,32
	lddzx.xw %r2,%r2,%r4,3,0
;STlib_updateMultIcon+80
	ldwz %r3,%r1,0
	ldbs %r4,%r2,5
	ldbz %r5,%r2,4
;STlib_updateMultIcon+96
	ldwz %r6,%r1,4
	ldbs %r7,%r2,7
	ldbz %r8,%r2,6
;STlib_updateMultIcon+112
	ldbs %r9,%r2,1
	ldbz %r10,%r2,0
	ldbs %r11,%r2,3
;STlib_updateMultIcon+128
	ldbz %r12,%r2,2
	slor %r2,%r5,%r4,8
	subws %r14,%r3,%r2
;STlib_updateMultIcon+144
	slor %r2,%r8,%r7,8
	subws %r2,%r6,%r2
	slor %r17,%r10,%r9,8
;STlib_updateMultIcon+160
	slor %r18,%r12,%r11,8
	addiws %r15,%r2,-168
	bwgei %r2,168,STlib_updateMultIcon+192
;STlib_updateMultIcon+176
	ldafr %r20,.rodata+11011
	callr %r19,I_Error
	nop 0
;STlib_updateMultIcon+192
	lddzr %r16,st_backing_screen
	mov2 %r19,%r20,%r14,%r2
	callr %r13,V_CopyRect
;STlib_updateMultIcon+208
	lddz %r2,%r1,16
	ldwz %r3,%r2,0
	nop 0
;STlib_updateMultIcon+224
	lddz %r2,%r1,32
	ldwz %r18,%r1,0
	ldwz %r19,%r1,4
;STlib_updateMultIcon+240
	lddzx.xw %r20,%r2,%r3,3,0
	callr %r17,V_DrawPatch
	lddz %r2,%r1,16
;STlib_updateMultIcon+256
	ldwz %r2,%r2,0
	stw %r2,%r1,8
	nop 0
;STlib_updateMultIcon+272
	retf 0
	nop 0
	nop 0
;STlib_initBinIcon
	alloc 7
	stw %r2,%r1,0
	stw %r3,%r1,4
;STlib_initBinIcon+16
	stw %gz,%r1,8
	std %r5,%r1,16
	std %r6,%r1,24
;STlib_initBinIcon+32
	std %r4,%r1,32
	retf 0
	nop 0
;STlib_updateBinIcon
	alloc 19
	lddz %r3,%r1,24
	ldwz %r3,%r3,0
;STlib_updateBinIcon+16
	bweq %r3,%gz,STlib_updateBinIcon+48
	lddz %r3,%r1,16
	ldwz %r3,%r3,0
;STlib_updateBinIcon+32
	bwne %r2,%gz,STlib_updateBinIcon+64
	ldwz %r2,%r1,8
	bwne %r2,%r3,STlib_updateBinIcon+64
;STlib_updateBinIcon+48
	retf 0
	nop 0
	nop 0
;STlib_updateBinIcon+64
	lddz %r10,%r1,32
	ldbs %r2,%r10,7
	ldbz %r7,%r10,6
;STlib_updateBinIcon+80
	ldwz %r8,%r1,4
	ldwz %r4,%r1,0
	ldbs %r5,%r10,5
;STlib_updateBinIcon+96
	ldbz %r6,%r10,4
	slor %r2,%r7,%r2,8
	subws %r2,%r8,%r2
;STlib_updateBinIcon+112
	ldbs %r7,%r10,1
	ldbz %r8,%r10,0
	ldbs %r9,%r10,3
;STlib_updateBinIcon+128
	ldbz %r10,%r10,2
	bwgei %r2,168,STlib_updateBinIcon+160
	ldafr %r18,.rodata+11955
;STlib_updateBinIcon+144
	callr %r17,I_Error
	lddz %r3,%r1,16
	ldwz %r3,%r3,0
;STlib_updateBinIcon+160
	bweq %r3,%gz,STlib_updateBinIcon+192
	ldwz %r16,%r1,0
	ldwz %r17,%r1,4
;STlib_updateBinIcon+176
	lddz %r18,%r1,32
	callr %r15,V_DrawPatch
	jmp STlib_updateBinIcon+240
;STlib_updateBinIcon+192
	slor %r3,%r6,%r5,8
	subws %r12,%r4,%r3
	slor %r15,%r8,%r7,8
;STlib_updateBinIcon+208
	slor %r16,%r10,%r9,8
	addiws %r13,%r2,-168
	lddzr %r14,st_backing_screen
;STlib_updateBinIcon+224
	mov2 %r17,%r18,%r12,%r2
	callr %r11,V_CopyRect
	nop 0
;STlib_updateBinIcon+240
	lddz %r2,%r1,16
	ldwz %r2,%r2,0
	stw %r2,%r1,8
;STlib_updateBinIcon+256
	retf 0
	nop 0
	nop 0
;ST_refreshBackground
	alloc 10
	ldwzr %r1,st_statusbaron
	bweq %r1,%gz,ST_refreshBackground+128
;ST_refreshBackground+16
	lddzr %r9,st_backing_screen
	callr %r8,V_UseBuffer
	lddzr %r9,sbar
;ST_refreshBackground+32
	mov2 %r7,%r8,%gz,%gz
	callr %r6,V_DrawPatch
	ldwzr %r1,netgame
;ST_refreshBackground+48
	bweq %r1,%gz,ST_refreshBackground+80
	lddzr %r9,faceback
	ldi %r7,143
;ST_refreshBackground+64
	mov %r8,%gz
	callr %r6,V_DrawPatch
	nop 0
;ST_refreshBackground+80
	callr %r9,V_RestoreBuffer
	lddzr %r5,st_backing_screen
	ldi %r6,320
;ST_refreshBackground+96
	ldi %r7,32
	ldi %r9,168
	mov2 %r3,%r4,%gz,%gz
;ST_refreshBackground+112
	mov %r8,%gz
	callr %r2,V_CopyRect
	nop 0
;ST_refreshBackground+128
	retf 0
	nop 0
	nop 0
;ST_Responder
	allocsp 12,32
	ldwz %r2,%r1,0
	bweq %r2,%gz,ST_Responder+64
;ST_Responder+16
	bwnei %r2,1,ST_Responder+848
	ldwz %r1,%r1,4
	nop 2
;ST_Responder+32
	bwnei.l %r1,1634559232,ST_Responder+848
	ldi %r1,1
;ST_Responder+48
	stwr %r1,st_firsttime
	mov %r1,%gz
	retf 32
;ST_Responder+64
	ldwzr %r2,netgame
	bwne %r2,%gz,ST_Responder+832
	ldwzr %r3,gameskill
;ST_Responder+80
	bweqi %r3,4,ST_Responder+832
	ldbs %r11,%r1,8
	ldafr %r10,cheat_god
;ST_Responder+96
	callr %r9,cht_CheckCheat
	bweq %r10,%gz,ST_Responder+176
	lddzr %r2,plyr
;ST_Responder+112
	ldwz %r3,%r2,208
	xori %r4,%r3,2
	stw %r4,%r2,208
;ST_Responder+128
	bbsi %r3,1,ST_Responder+320
	lddz %r4,%r2,0
	ldi %r3,100
;ST_Responder+144
	bdeq %r4,%gz,ST_Responder+160
	stw %r3,%r4,164
	nop 0
;ST_Responder+160
	stw %r3,%r2,44
	ldafr %r3,.rodata+4208
	jmp ST_Responder+512
;ST_Responder+176
	ldbs %r11,%r1,8
	ldafr %r10,cheat_ammonokey
	callr %r9,cht_CheckCheat
;ST_Responder+192
	bweq %r10,%gz,ST_Responder+336
	lddzr %r2,plyr
	mov %r3,%gz
;ST_Responder+208
	ldi.l %r4,8589934792
	std %r4,%r2,48
;ST_Responder+224
	addi %r4,%r2,132
	ldi %r5,1
	nop 0
;ST_Responder+240
	stwx.xd %r5,%r4,%r3,0,0
	addi %r3,%r3,4
	bdnei %r3,36,ST_Responder+240
;ST_Responder+256
	ldwz %r3,%r2,196
	stw %r3,%r2,180
	ldwz %r3,%r2,192
;ST_Responder+272
	stw %r3,%r2,176
	ldwz %r3,%r2,188
	stw %r3,%r2,172
;ST_Responder+288
	ldwz %r3,%r2,184
	stw %r3,%r2,168
	ldafr %r3,.rodata+11983
;ST_Responder+304
	jmp ST_Responder+512
	nop 0
	nop 0
;ST_Responder+320
	ldafr %r3,.rodata+1844
	jmp ST_Responder+512
	nop 0
;ST_Responder+336
	ldbs %r11,%r1,8
	ldafr %r10,cheat_ammo
	callr %r9,cht_CheckCheat
;ST_Responder+352
	bweq %r10,%gz,ST_Responder+1264
	lddzr %r2,plyr
	mov %r4,%gz
;ST_Responder+368
	ldi.l %r3,8589934792
	std %r3,%r2,48
;ST_Responder+384
	addi %r5,%r2,132
	ldi %r3,1
	nop 0
;ST_Responder+400
	stwx.xd %r3,%r5,%r4,0,0
	addi %r4,%r4,4
	bdnei %r4,36,ST_Responder+400
;ST_Responder+416
	ldwz %r4,%r2,196
	stw %r4,%r2,180
	ldwz %r4,%r2,192
;ST_Responder+432
	stw %r4,%r2,176
	ldwz %r4,%r2,188
	stw %r4,%r2,172
;ST_Responder+448
	ldwz %r5,%r2,184
	mov %r4,%gz
	stw %r5,%r2,168
;ST_Responder+464
	addi %r5,%r2,80
	nop 0
	nop 0
;ST_Responder+480
	stwx.xd %r3,%r5,%r4,0,0
	addi %r4,%r4,4
	bdnei %r4,24,ST_Responder+480
;ST_Responder+496
	ldafr %r3,.rodata+20042
	nop 0
	nop 0
;ST_Responder+512
	std %r3,%r2,232
	nop 0
	nop 0
;ST_Responder+528
	mov %r2,%gz
	ldi %r6,56
	ldafr %r3,cheat_powerup
;ST_Responder+544
	ldafr %r7,.rodata+17796
	ldi %r5,1
	jmp ST_Responder+624
;ST_Responder+560
	mov %r11,%r2
	callr %r9,P_GivePower
	lddzr %r10,plyr
;ST_Responder+576
	std %r7,%r10,232
	nop 0
	nop 0
;ST_Responder+592
	addi %r2,%r2,1
	addi %r6,%r6,4
	addi %r3,%r3,72
;ST_Responder+608
	bdeqi %r2,6,ST_Responder+704
	nop 0
	nop 0
;ST_Responder+624
	ldbs %r11,%r1,8
	mov %r10,%r3
	callr %r9,cht_CheckCheat
;ST_Responder+640
	bweq %r10,%gz,ST_Responder+592
	lddzr %r10,plyr
	ldwzx.xd %r4,%r10,%r6,0,0
;ST_Responder+656
	bweq %r4,%gz,ST_Responder+560
	bdnei %r2,1,ST_Responder+688
	stwx.xd %gz,%r10,%r6,0,0
;ST_Responder+672
	jmp ST_Responder+576
	nop 0
	nop 0
;ST_Responder+688
	stwx.xd %r5,%r10,%r6,0,0
	jmp ST_Responder+576
	nop 0
;ST_Responder+704
	ldbs %r11,%r1,8
	ldafr %r10,cheat_powerup+432
	callr %r9,cht_CheckCheat
;ST_Responder+720
	bweq %r10,%gz,ST_Responder+752
	ldafr %r2,.rodata+3651
	nop 0
;ST_Responder+736
	lddzr %r3,plyr
	jmp ST_Responder+800
	nop 0
;ST_Responder+752
	ldbs %r11,%r1,8
	ldafr %r10,cheat_choppers
	callr %r9,cht_CheckCheat
;ST_Responder+768
	bweq %r10,%gz,ST_Responder+1040
	lddzr %r3,plyr
	stw %r5,%r3,160
;ST_Responder+784
	stw %r5,%r3,56
	ldafr %r2,.rodata+12004
	nop 0
;ST_Responder+800
	std %r2,%r3,232
	nop 0
	nop 0
;ST_Responder+816
	ldwzr %r2,netgame
	nop 0
	nop 0
;ST_Responder+832
	bweq %r2,%gz,ST_Responder+864
	nop 0
	nop 0
;ST_Responder+848
	mov %r1,%gz
	retf 32
	nop 0
;ST_Responder+864
	ldbs %r11,%r1,8
	ldafr %r10,cheat_clev
	callr %r9,cht_CheckCheat
;ST_Responder+880
	bweq %r10,%gz,ST_Responder+848
	ldafr %r10,cheat_clev
	addi %r11,%sp,26
;ST_Responder+896
	callr %r9,cht_GetParam
	ldwzr %r2,gamemode
	ldbs %r1,%sp,26
;ST_Responder+912
	bwnei %r2,2,ST_Responder+960
	ldbs %r3,%sp,27
	mulwsi %r1,%r1,10
;ST_Responder+928
	addws %r1,%r1,%r3
	addiws %r1,%r1,-480
	ldi %r3,1
;ST_Responder+944
	jmp ST_Responder+976
	nop 0
	nop 0
;ST_Responder+960
	addiws %r3,%r1,-48
	ldbs %r1,%sp,27
	nop 0
;ST_Responder+976
	ldwzr %r4,gameversion
	cmpweqi %r4,%r4,9
	ldi %r5,1
;ST_Responder+992
	cmovlsb %r10,%r4,%r5,%r3
	bwlti %r10,1,ST_Responder+848
	bwlti %r1,49,ST_Responder+848
;ST_Responder+1008
	bweq %r2,%gz,ST_Responder+1168
	bweqi %r2,1,ST_Responder+1152
	bwnei %r2,3,ST_Responder+1200
;ST_Responder+1024
	bwltui %r10,5,ST_Responder+1184
	jmp ST_Responder+848
	nop 0
;ST_Responder+1040
	ldbs %r11,%r1,8
	ldafr %r10,cheat_mypos
	callr %r9,cht_CheckCheat
;ST_Responder+1056
	bweq %r10,%gz,ST_Responder+816
	ldwsr %r2,consoleplayer
	muli %r2,%r2,328
;ST_Responder+1072
	ldafr %r3,players
	lddzx.xd %r2,%r2,%r3,0,0
	ldwz %r3,%r2,56
;ST_Responder+1088
	ldwz %r4,%r2,24
	ldwz %r2,%r2,28
	stw %r2,%sp,8
;ST_Responder+1104
	stw %r4,%sp,4
	ldafr %r2,ST_Responder.buf
	ldafr %r11,.rodata+19274
;ST_Responder+1120
	ldi %r10,52
	stw %r3,%sp,0
	mov %r9,%r2
;ST_Responder+1136
	callr %r8,M_snprintf
	jmp ST_Responder+736
	nop 0
;ST_Responder+1152
	bwltui %r10,4,ST_Responder+1184
	jmp ST_Responder+848
	nop 0
;ST_Responder+1168
	bwnei %r10,1,ST_Responder+848
	nop 0
	nop 0
;ST_Responder+1184
	bwltui %r1,58,ST_Responder+1216
	jmp ST_Responder+848
	nop 0
;ST_Responder+1200
	bwnei %r2,2,ST_Responder+1216
	bwnei %r10,1,ST_Responder+848
	bwgeui %r1,89,ST_Responder+848
;ST_Responder+1216
	lddzr %r2,plyr
	addiws %r11,%r1,-48
	ldafr %r1,.rodata+14568
;ST_Responder+1232
	std %r1,%r2,232
	ldwzr %r9,gameskill
	callr %r8,G_DeferedInitNew
;ST_Responder+1248
	mov %r1,%gz
	retf 32
	nop 0
;ST_Responder+1264
	ldbs %r11,%r1,8
	ldafr %r10,cheat_mus
	callr %r9,cht_CheckCheat
;ST_Responder+1280
	bweq %r10,%gz,ST_Responder+1376
	lddzr %r2,plyr
	ldafr %r3,.rodata+28797
;ST_Responder+1296
	std %r3,%r2,232
	ldafr %r10,cheat_mus
	addi %r11,%sp,29
;ST_Responder+1312
	callr %r9,cht_GetParam
	ldwzr %r4,gamemode
	ldbs %r3,%sp,29
;ST_Responder+1328
	ldbs %r2,%sp,30
	bweqi %r4,2,ST_Responder+1424
	ldwzr %r4,gameversion
;ST_Responder+1344
	bwltui %r4,6,ST_Responder+1424
	mulwsi %r3,%r3,9
	addws %r2,%r3,%r2
;ST_Responder+1360
	bwgei %r2,522,ST_Responder+1440
	addiws %r10,%r2,-489
	jmp ST_Responder+1472
;ST_Responder+1376
	ldwzr %r2,gamemission
	andi %r2,%r2,-5
	bweq %r2,%gz,ST_Responder+1488
;ST_Responder+1392
	ldbs %r11,%r1,8
	ldafr %r10,cheat_commercial_noclip
	callr %r9,cht_CheckCheat
;ST_Responder+1408
	bwne %r10,%gz,ST_Responder+1520
	jmp ST_Responder+528
	nop 0
;ST_Responder+1424
	mulwsi %r3,%r3,10
	addws %r2,%r3,%r2
	bwlti %r2,564,ST_Responder+1456
;ST_Responder+1440
	lddzr %r2,plyr
	ldafr %r3,.rodata+2788
	jmp ST_Responder+512
;ST_Responder+1456
	addiws %r10,%r2,-496
	nop 0
	nop 0
;ST_Responder+1472
	ldi %r11,1
	callr %r9,S_ChangeMusic
	jmp ST_Responder+528
;ST_Responder+1488
	ldbs %r11,%r1,8
	ldafr %r10,cheat_noclip
	callr %r9,cht_CheckCheat
;ST_Responder+1504
	bweq %r10,%gz,ST_Responder+1584
	nop 0
	nop 0
;ST_Responder+1520
	lddzr %r2,plyr
	ldwz %r3,%r2,208
	xori %r4,%r3,1
;ST_Responder+1536
	stw %r4,%r2,208
	bbsi %r3,0,ST_Responder+1568
	ldafr %r3,.rodata+1868
;ST_Responder+1552
	jmp ST_Responder+512
	nop 0
	nop 0
;ST_Responder+1568
	ldafr %r3,.rodata+22121
	jmp ST_Responder+512
	nop 0
;ST_Responder+1584
	ldwzr %r2,gamemission
	andi %r2,%r2,-5
	bwne %r2,%gz,ST_Responder+1392
;ST_Responder+1600
	jmp ST_Responder+528
	nop 0
	nop 0
;ST_calcPainOffset
	alloc 4
	lddzr %r1,plyr
	ldwz %r1,%r1,44
;ST_calcPainOffset+16
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r2,100
	minsw %r2,%r1,%r2
;ST_calcPainOffset+32
	bwne %r2,%r3,ST_calcPainOffset+48
	ldwzr %r1,ST_calcPainOffset.lastcalc
	retf 0
;ST_calcPainOffset+48
	subfiws %r1,%r2,100
	mulwsi %r3,%r1,5
	mulwzi %r1,%r1,5
;ST_calcPainOffset+64
	muli.l %r1,%r1,1148159575
	srli %r1,%r1,32
;ST_calcPainOffset+80
	subws %r3,%r3,%r1
	srliw %r3,%r3,1
	addws %r1,%r3,%r1
;ST_calcPainOffset+96
	srliw %r1,%r1,3
	andi.l %r1,%r1,536870904
;ST_calcPainOffset+112
	stwr %r1,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	retf 0
;ST_updateFaceWidget
	alloc 16
	lddzr %r1,plyr
	ldwz %r2,%r1,44
;ST_updateFaceWidget+16
	bweq %r2,%gz,ST_updateFaceWidget+160
	ldwzr %r3,ST_updateFaceWidget.priority
	bwgei %r3,9,ST_updateFaceWidget+1440
;ST_updateFaceWidget+32
	ldwz %r4,%r1,244
	bweq %r4,%gz,ST_updateFaceWidget+208
	mov %r5,%gz
;ST_updateFaceWidget+48
	addi %r4,%r1,132
	ldi %r7,1
	ldafr %r6,oldweaponsowned
;ST_updateFaceWidget+64
	addi %r9,%r5,1
	slli %r8,%r5,2
	mov %r5,%r9
;ST_updateFaceWidget+80
	ldwzx.xd %r10,%r8,%r6,0,0
	ldwzx.xd %r9,%r4,%r8,0,0
	bwne %r10,%r9,ST_updateFaceWidget+128
;ST_updateFaceWidget+96
	addi %r5,%r5,1
	addi %r8,%r8,4
	bdnei %r5,10,ST_updateFaceWidget+80
;ST_updateFaceWidget+112
	jmp ST_updateFaceWidget+192
	nop 0
	nop 0
;ST_updateFaceWidget+128
	mov %r7,%gz
	stwx.xd %r9,%r8,%r6,0,0
	bdnei %r5,9,ST_updateFaceWidget+64
;ST_updateFaceWidget+144
	jmp ST_updateFaceWidget+320
	nop 0
	nop 0
;ST_updateFaceWidget+160
	ldi %r1,9
	stwr %r1,ST_updateFaceWidget.priority
	ldi %r1,41
;ST_updateFaceWidget+176
	stwr %r1,st_faceindex
	ldi %r2,1
	jmp ST_updateFaceWidget+1648
;ST_updateFaceWidget+192
	bbci %r7,0,ST_updateFaceWidget+320
	nop 0
	nop 0
;ST_updateFaceWidget+208
	bweqi %r3,8,ST_updateFaceWidget+1440
	ldwz %r3,%r1,240
	bweq %r3,%gz,ST_updateFaceWidget+896
;ST_updateFaceWidget+224
	lddz %r3,%r1,248
	bdeq %r3,%gz,ST_updateFaceWidget+896
	lddz %r5,%r1,0
;ST_updateFaceWidget+240
	bdeq %r3,%r5,ST_updateFaceWidget+896
	ldwzr %r4,st_oldhealth
	ldi %r6,7
;ST_updateFaceWidget+256
	subws %r7,%r2,%r4
	stwr %r6,ST_updateFaceWidget.priority
	ldi %r4,35
;ST_updateFaceWidget+272
	bwlti %r7,21,ST_updateFaceWidget+480
	ldwzr %r5,ST_calcPainOffset.oldhealth
	ldi %r3,100
;ST_updateFaceWidget+288
	minsw %r3,%r2,%r3
	stwr %r4,st_facecount
	bwne %r3,%r5,ST_updateFaceWidget+592
;ST_updateFaceWidget+304
	ldwzr %r3,ST_calcPainOffset.lastcalc
	addiws %r3,%r3,5
	jmp ST_updateFaceWidget+880
;ST_updateFaceWidget+320
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r4,8
	stwr %r4,ST_updateFaceWidget.priority
;ST_updateFaceWidget+336
	ldi %r4,70
	ldi %r5,100
	minsw %r2,%r2,%r5
;ST_updateFaceWidget+352
	stwr %r4,st_facecount
	bwne %r2,%r3,ST_updateFaceWidget+384
	ldwzr %r2,ST_calcPainOffset.lastcalc
;ST_updateFaceWidget+368
	addiws %r2,%r2,6
	jmp ST_updateFaceWidget+464
	nop 0
;ST_updateFaceWidget+384
	subfiws %r3,%r2,100
	mulwsi %r4,%r3,5
	mulwzi %r3,%r3,5
;ST_updateFaceWidget+400
	muli.l %r3,%r3,1148159575
	srli %r3,%r3,32
;ST_updateFaceWidget+416
	subws %r4,%r4,%r3
	srliw %r4,%r4,1
	addws %r3,%r4,%r3
;ST_updateFaceWidget+432
	srliw %r3,%r3,3
	andi.l %r3,%r3,536870904
;ST_updateFaceWidget+448
	stwr %r3,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	addiws %r2,%r3,6
;ST_updateFaceWidget+464
	stwr %r2,st_faceindex
	jmp ST_updateFaceWidget+1440
	nop 0
;ST_updateFaceWidget+480
	ldwz %r12,%r5,24
	ldwz %r13,%r5,28
	ldwz %r14,%r3,24
;ST_updateFaceWidget+496
	ldwz %r15,%r3,28
	callr %r11,R_PointToAngle2
	lddzr %r1,plyr
;ST_updateFaceWidget+512
	lddz %r2,%r1,0
	ldwz %r3,%r2,56
	stwr %r4,st_facecount
;ST_updateFaceWidget+528
	ldwz %r2,%r1,44
	ldwzr %r4,ST_calcPainOffset.oldhealth
	minuw %r5,%r12,%r3
;ST_updateFaceWidget+544
	maxuw %r7,%r12,%r3
	ldi %r6,100
	minsw %r6,%r2,%r6
;ST_updateFaceWidget+560
	subws %r5,%r7,%r5
	bwne %r6,%r4,ST_updateFaceWidget+688
	ldwzr %r4,ST_calcPainOffset.lastcalc
;ST_updateFaceWidget+576
	jmp ST_updateFaceWidget+768
	nop 0
	nop 0
;ST_updateFaceWidget+592
	subfiws %r4,%r3,100
	mulwsi %r5,%r4,5
	mulwzi %r4,%r4,5
;ST_updateFaceWidget+608
	muli.l %r4,%r4,1148159575
	srli %r4,%r4,32
;ST_updateFaceWidget+624
	subws %r5,%r5,%r4
	srliw %r5,%r5,1
	addws %r4,%r5,%r4
;ST_updateFaceWidget+640
	srliw %r4,%r4,3
	andi.l %r4,%r4,536870904
;ST_updateFaceWidget+656
	stwr %r4,ST_calcPainOffset.lastcalc
	stwr %r3,ST_calcPainOffset.oldhealth
	addiws %r3,%r4,5
;ST_updateFaceWidget+672
	jmp ST_updateFaceWidget+880
	nop 0
	nop 0
;ST_updateFaceWidget+688
	subfiws %r4,%r6,100
	mulwsi %r7,%r4,5
	mulwzi %r4,%r4,5
;ST_updateFaceWidget+704
	muli.l %r4,%r4,1148159575
	srli %r4,%r4,32
;ST_updateFaceWidget+720
	subws %r7,%r7,%r4
	srliw %r7,%r7,1
	addws %r4,%r7,%r4
;ST_updateFaceWidget+736
	srliw %r4,%r4,3
	andi.l %r4,%r4,536870904
;ST_updateFaceWidget+752
	stwr %r4,ST_calcPainOffset.lastcalc
	stwr %r6,ST_calcPainOffset.oldhealth
	nop 0
;ST_updateFaceWidget+768
	bwgeui.l %r5,536870912,ST_updateFaceWidget+800
	addiws %r3,%r4,7
;ST_updateFaceWidget+784
	jmp ST_updateFaceWidget+880
	nop 0
	nop 0
;ST_updateFaceWidget+800
	subws %r5,%r12,%r3
	subws %r6,%r3,%r12
	cmpwltu %r3,%r3,%r12
;ST_updateFaceWidget+816
	cmpwgtui.l %r5,%r5,2147483648
	nop 2
;ST_updateFaceWidget+832
	cmpwltui.l %r6,%r6,2147483649
	cmovlsb %r3,%r3,%r5,%r6
;ST_updateFaceWidget+848
	bbci %r3,0,ST_updateFaceWidget+864
	addiws %r3,%r4,3
	jmp ST_updateFaceWidget+880
;ST_updateFaceWidget+864
	addiws %r3,%r4,4
	nop 0
	nop 0
;ST_updateFaceWidget+880
	stwr %r3,st_faceindex
	nop 0
	nop 0
;ST_updateFaceWidget+896
	ldwzr %r3,ST_updateFaceWidget.priority
	bwgei %r3,7,ST_updateFaceWidget+1440
	ldwz %r4,%r1,240
;ST_updateFaceWidget+912
	bweq %r4,%gz,ST_updateFaceWidget+992
	ldwzr %r3,st_oldhealth
	subws %r3,%r2,%r3
;ST_updateFaceWidget+928
	ldi %r4,100
	minsw %r2,%r2,%r4
	bwlti %r3,21,ST_updateFaceWidget+1088
;ST_updateFaceWidget+944
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r4,7
	stwr %r4,ST_updateFaceWidget.priority
;ST_updateFaceWidget+960
	ldi %r4,35
	stwr %r4,st_facecount
	bwne %r2,%r3,ST_updateFaceWidget+1136
;ST_updateFaceWidget+976
	ldwzr %r2,ST_calcPainOffset.lastcalc
	addiws %r2,%r2,5
	jmp ST_updateFaceWidget+464
;ST_updateFaceWidget+992
	bweqi %r3,6,ST_updateFaceWidget+1440
	ldwz %r4,%r1,200
	bweq %r4,%gz,ST_updateFaceWidget+1328
;ST_updateFaceWidget+1008
	ldwzr %r4,ST_updateFaceWidget.lastattackdown
	bweqi %r4,-1,ST_updateFaceWidget+1344
	addiws %r4,%r4,-1
;ST_updateFaceWidget+1024
	stwr %r4,ST_updateFaceWidget.lastattackdown
	bwne %r4,%gz,ST_updateFaceWidget+1376
	ldwzr %r3,ST_calcPainOffset.oldhealth
;ST_updateFaceWidget+1040
	ldi %r4,5
	ldi %r1,100
	minsw %r1,%r2,%r1
;ST_updateFaceWidget+1056
	stwr %r4,ST_updateFaceWidget.priority
	bwne %r1,%r3,ST_updateFaceWidget+1664
	ldwzr %r2,ST_calcPainOffset.lastcalc
;ST_updateFaceWidget+1072
	jmp ST_updateFaceWidget+1744
	nop 0
	nop 0
;ST_updateFaceWidget+1088
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r4,6
	stwr %r4,ST_updateFaceWidget.priority
;ST_updateFaceWidget+1104
	ldi %r4,35
	stwr %r4,st_facecount
	bwne %r2,%r3,ST_updateFaceWidget+1232
;ST_updateFaceWidget+1120
	ldwzr %r2,ST_calcPainOffset.lastcalc
	addiws %r2,%r2,7
	jmp ST_updateFaceWidget+464
;ST_updateFaceWidget+1136
	subfiws %r3,%r2,100
	mulwsi %r4,%r3,5
	mulwzi %r3,%r3,5
;ST_updateFaceWidget+1152
	muli.l %r3,%r3,1148159575
	srli %r3,%r3,32
;ST_updateFaceWidget+1168
	subws %r4,%r4,%r3
	srliw %r4,%r4,1
	addws %r3,%r4,%r3
;ST_updateFaceWidget+1184
	srliw %r3,%r3,3
	andi.l %r3,%r3,536870904
;ST_updateFaceWidget+1200
	stwr %r3,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	addiws %r2,%r3,5
;ST_updateFaceWidget+1216
	jmp ST_updateFaceWidget+464
	nop 0
	nop 0
;ST_updateFaceWidget+1232
	subfiws %r3,%r2,100
	mulwsi %r4,%r3,5
	mulwzi %r3,%r3,5
;ST_updateFaceWidget+1248
	muli.l %r3,%r3,1148159575
	srli %r3,%r3,32
;ST_updateFaceWidget+1264
	subws %r4,%r4,%r3
	srliw %r4,%r4,1
	addws %r3,%r4,%r3
;ST_updateFaceWidget+1280
	srliw %r3,%r3,3
	andi.l %r3,%r3,536870904
;ST_updateFaceWidget+1296
	stwr %r3,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	addiws %r2,%r3,7
;ST_updateFaceWidget+1312
	jmp ST_updateFaceWidget+464
	nop 0
	nop 0
;ST_updateFaceWidget+1328
	ldi %r2,-1
	jmp ST_updateFaceWidget+1360
	nop 0
;ST_updateFaceWidget+1344
	ldi %r2,70
	nop 0
	nop 0
;ST_updateFaceWidget+1360
	stwr %r2,ST_updateFaceWidget.lastattackdown
	nop 0
	nop 0
;ST_updateFaceWidget+1376
	bwgei %r3,5,ST_updateFaceWidget+1440
	ldbz %r2,%r1,208
	bbsi %r2,1,ST_updateFaceWidget+1408
;ST_updateFaceWidget+1392
	ldwz %r2,%r1,56
	bweq %r2,%gz,ST_updateFaceWidget+1440
	nop 0
;ST_updateFaceWidget+1408
	ldi %r1,4
	stwr %r1,ST_updateFaceWidget.priority
	ldi %r1,40
;ST_updateFaceWidget+1424
	jmp ST_updateFaceWidget+176
	nop 0
	nop 0
;ST_updateFaceWidget+1440
	ldwzr %r2,st_facecount
	bwne %r2,%gz,ST_updateFaceWidget+1648
	ldwz %r1,%r1,44
;ST_updateFaceWidget+1456
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r2,100
	minsw %r2,%r1,%r2
;ST_updateFaceWidget+1472
	bwne %r2,%r3,ST_updateFaceWidget+1488
	ldwzr %r1,ST_calcPainOffset.lastcalc
	jmp ST_updateFaceWidget+1568
;ST_updateFaceWidget+1488
	subfiws %r1,%r2,100
	mulwsi %r3,%r1,5
	mulwzi %r1,%r1,5
;ST_updateFaceWidget+1504
	muli.l %r1,%r1,1148159575
	srli %r1,%r1,32
;ST_updateFaceWidget+1520
	subws %r3,%r3,%r1
	srliw %r3,%r3,1
	addws %r1,%r3,%r1
;ST_updateFaceWidget+1536
	srliw %r1,%r1,3
	andi.l %r1,%r1,536870904
;ST_updateFaceWidget+1552
	stwr %r1,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	nop 0
;ST_updateFaceWidget+1568
	ldwzr %r2,st_randomnumber
	sraiw %r3,%r2,0
	nop 2
;ST_updateFaceWidget+1584
	muli.l %r3,%r3,1431655766
	srli %r4,%r3,63
;ST_updateFaceWidget+1600
	srli %r3,%r3,32
	addws %r3,%r3,%r4
	mulwsi %r3,%r3,3
;ST_updateFaceWidget+1616
	subws %r2,%r2,%r3
	addws %r1,%r2,%r1
	stwr %r1,st_faceindex
;ST_updateFaceWidget+1632
	stwr %gz,ST_updateFaceWidget.priority
	ldi %r2,17
	nop 0
;ST_updateFaceWidget+1648
	addiws %r1,%r2,-1
	stwr %r1,st_facecount
	retf 0
;ST_updateFaceWidget+1664
	subfiws %r2,%r1,100
	mulwsi %r3,%r2,5
	mulwzi %r2,%r2,5
;ST_updateFaceWidget+1680
	muli.l %r2,%r2,1148159575
	srli %r2,%r2,32
;ST_updateFaceWidget+1696
	subws %r3,%r3,%r2
	srliw %r3,%r3,1
	addws %r2,%r3,%r2
;ST_updateFaceWidget+1712
	srliw %r2,%r2,3
	andi.l %r2,%r2,536870904
;ST_updateFaceWidget+1728
	stwr %r2,ST_calcPainOffset.lastcalc
	stwr %r1,ST_calcPainOffset.oldhealth
	nop 0
;ST_updateFaceWidget+1744
	addiws %r1,%r2,7
	stwr %r1,st_faceindex
	ldi %r2,1
;ST_updateFaceWidget+1760
	stwr %r2,ST_updateFaceWidget.lastattackdown
	jmp ST_updateFaceWidget+1648
	nop 0
;ST_updateWidgets
	alloc 9
	lddzr %r2,plyr
	ldwz %r3,%r2,124
;ST_updateWidgets+16
	srliw %r1,%r3,0
	muli %r1,%r1,24
	ldafr %r4,weaponinfo
;ST_updateWidgets+32
	ldwzx.xd %r1,%r1,%r4,0,0
	ldax.xd %r4,%r2,%r1,2,168
	cmpdeqi %r5,%r1,5
;ST_updateWidgets+48
	ldafr %r6,ST_updateWidgets.largeammo
	mov %r1,%gz
	cmovlsb %r4,%r5,%r6,%r4
;ST_updateWidgets+64
	stdr %r4,w_ready+16
	stwr %r3,w_ready+40
	addi %r2,%r2,92
;ST_updateWidgets+80
	ldafr %r3,keyboxes
	ldi %r4,-1
	nop 0
;ST_updateWidgets+96
	ldwz %r5,%r2,-12
	ldwz %r6,%r2,0
	cmovweq %r5,%r5,%r4,%r1
;ST_updateWidgets+112
	addiws %r7,%r1,3
	cmovweq %r5,%r6,%r5,%r7
	stw %r5,%r3,0
;ST_updateWidgets+128
	addi %r1,%r1,1
	addi %r2,%r2,4
	addi %r3,%r3,4
;ST_updateWidgets+144
	bdnei %r1,3,ST_updateWidgets+96
	callr %r8,ST_updateFaceWidget
	ldwzr %r3,deathmatch
;ST_updateWidgets+160
	ldwzr %r4,st_statusbaron
	mov2 %r1,%r2,%gz,%gz
	cmpweqi %r5,%r3,0
;ST_updateWidgets+176
	stwr %r5,st_notdeathmatch
	cmpwnei %r4,%r4,0
	and %r5,%r4,%r5
;ST_updateWidgets+192
	stwr %r5,st_armson
	cmpwnei %r3,%r3,0
	and %r3,%r3,%r4
;ST_updateWidgets+208
	lddzr %r4,plyr
	ldwzr %r5,consoleplayer
	stwr %r3,st_fragson
;ST_updateWidgets+224
	stwr %gz,st_fragscount
	addi %r3,%r4,108
	ldax.xd %r4,%r4,%r5,2,108
;ST_updateWidgets+240
	slli %r5,%r5,2
	jmp ST_updateWidgets+288
	nop 0
;ST_updateWidgets+256
	ldwz %r6,%r4,0
	subws %r2,%r2,%r6
	nop 0
;ST_updateWidgets+272
	addi %r1,%r1,4
	stwr %r2,st_fragscount
	bdeqi %r1,16,ST_updateWidgets+320
;ST_updateWidgets+288
	bdeq %r5,%r1,ST_updateWidgets+256
	ldwzx.xd %r6,%r3,%r1,0,0
	addws %r2,%r2,%r6
;ST_updateWidgets+304
	jmp ST_updateWidgets+272
	nop 0
	nop 0
;ST_updateWidgets+320
	ldwzr %r1,st_msgcounter
	addiws %r1,%r1,-1
	stwr %r1,st_msgcounter
;ST_updateWidgets+336
	retf 0
	nop 0
	nop 0
;ST_Ticker
	alloc 4
	ldwzr %r1,st_clock
	addiws %r1,%r1,1
;ST_Ticker+16
	stwr %r1,st_clock
	callr %r2,M_Random
	stwr %r3,st_randomnumber
;ST_Ticker+32
	callr %r3,ST_updateWidgets
	lddzr %r1,plyr
	ldwz %r1,%r1,44
;ST_Ticker+48
	stwr %r1,st_oldhealth
	retf 0
	nop 0
;ST_doPaletteStuff
	alloc 9
	lddzr %r2,plyr
	ldwz %r1,%r2,60
;ST_doPaletteStuff+16
	ldwz %r3,%r2,240
	sraiw %r4,%r1,6
	subfiws %r4,%r4,12
;ST_doPaletteStuff+32
	maxsw %r4,%r4,%r3
	cmovweq %r3,%r1,%r3,%r4
	ldi %r1,13
;ST_doPaletteStuff+48
	bweq %r3,%gz,ST_doPaletteStuff+96
	addiws %r2,%r3,7
	sraiw %r2,%r2,3
;ST_doPaletteStuff+64
	ldi %r3,7
	minsw %r2,%r2,%r3
	addiws %r2,%r2,1
;ST_doPaletteStuff+80
	jmp ST_doPaletteStuff+176
	nop 0
	nop 0
;ST_doPaletteStuff+96
	ldwz %r3,%r2,244
	bweq %r3,%gz,ST_doPaletteStuff+144
	addiws %r2,%r3,7
;ST_doPaletteStuff+112
	sraiw %r2,%r2,3
	ldi %r3,3
	minsw %r2,%r2,%r3
;ST_doPaletteStuff+128
	addiws %r2,%r2,9
	jmp ST_doPaletteStuff+176
	nop 0
;ST_doPaletteStuff+144
	ldwz %r2,%r2,68
	cmpwlti %r3,%r2,129
	slliw %r2,%r2,28
;ST_doPaletteStuff+160
	sraiw %r2,%r2,31
	andi %r2,%r2,13
	cmovlsb %r2,%r3,%r2,%r1
;ST_doPaletteStuff+176
	ldwzr %r3,gameversion
	addiws %r4,%r2,-1
	ldwzr %r5,st_palette
;ST_doPaletteStuff+192
	cmpwltui %r4,%r4,8
	cmpweqi %r3,%r3,9
	cmovlsb %r1,%r4,%r1,%r2
;ST_doPaletteStuff+208
	cmovlsb %r2,%r3,%r1,%r2
	bweq %r2,%r5,ST_doPaletteStuff+256
	stwr %r2,st_palette
;ST_doPaletteStuff+224
	ldwzr %r7,lu_palette
	ldi %r8,8
	callr %r6,W_CacheLumpNum
;ST_doPaletteStuff+240
	mulwsi %r1,%r2,768
	ldax.xw %r8,%r7,%r1,0,0
	callr %r7,I_SetPalette
;ST_doPaletteStuff+256
	retf 0
	nop 0
	nop 0
;ST_drawWidgets
	alloc 9
	ldwzr %r2,st_statusbaron
	ldwzr %r3,deathmatch
;ST_drawWidgets+16
	cmpwnei %r2,%r2,0
	cmpweqi %r4,%r3,0
	and %r4,%r2,%r4
;ST_drawWidgets+32
	stwr %r4,st_armson
	cmpwnei %r3,%r3,0
	and %r2,%r3,%r2
;ST_drawWidgets+48
	stwr %r2,st_fragson
	ldafr %r7,w_ready
	mov %r8,%r1
;ST_drawWidgets+64
	callr %r6,STlib_updateNum
	mov %r3,%gz
	ldafr %r4,w_ammo
;ST_drawWidgets+80
	ldafr %r5,w_maxammo
	nop 0
	nop 0
;ST_drawWidgets+96
	add %r7,%r3,%r4
	mov %r8,%r1
	callr %r6,STlib_updateNum
;ST_drawWidgets+112
	add %r7,%r3,%r5
	mov %r8,%r1
	callr %r6,STlib_updateNum
;ST_drawWidgets+128
	addi %r3,%r3,48
	bdnei %r3,192,ST_drawWidgets+96
	ldafr %r7,w_health
;ST_drawWidgets+144
	mov %r8,%r1
	callr %r6,STlib_updatePercent
	ldafr %r7,w_armor
;ST_drawWidgets+160
	mov %r8,%r1
	callr %r6,STlib_updatePercent
	ldafr %r7,w_armsbg
;ST_drawWidgets+176
	mov %r8,%r1
	callr %r6,STlib_updateBinIcon
	mov %r3,%gz
;ST_drawWidgets+192
	ldafr %r4,w_arms
	nop 0
	nop 0
;ST_drawWidgets+208
	add %r7,%r3,%r4
	mov %r8,%r1
	callr %r6,STlib_updateMultIcon
;ST_drawWidgets+224
	addi %r3,%r3,48
	bdnei %r3,288,ST_drawWidgets+208
	ldafr %r7,w_faces
;ST_drawWidgets+240
	mov %r8,%r1
	callr %r6,STlib_updateMultIcon
	mov %r3,%gz
;ST_drawWidgets+256
	ldafr %r4,w_keyboxes
	nop 0
	nop 0
;ST_drawWidgets+272
	add %r7,%r3,%r4
	mov %r8,%r1
	callr %r6,STlib_updateMultIcon
;ST_drawWidgets+288
	addi %r3,%r3,48
	bdnei %r3,144,ST_drawWidgets+272
	ldafr %r7,w_frags
;ST_drawWidgets+304
	mov %r8,%r1
	callr %r6,STlib_updateNum
	retf 0
;ST_doRefresh
	alloc 3
	stwr %gz,st_firsttime
	callr %r2,ST_refreshBackground
;ST_doRefresh+16
	ldi %r2,1
	callr %r1,ST_drawWidgets
	retf 0
;ST_diffDraw
	alloc 3
	mov %r2,%gz
	callr %r1,ST_drawWidgets
;ST_diffDraw+16
	retf 0
	nop 0
	nop 0
;ST_Drawer
	alloc 7
	ldwzr %r3,automapactive
	cmpweqi %r1,%r1,0
;ST_Drawer+16
	ldwzr %r4,st_firsttime
	cmpwnei %r3,%r3,0
	or %r1,%r1,%r3
;ST_Drawer+32
	stwr %r1,st_statusbaron
	or %r1,%r4,%r2
	cmpwnei %r1,%r1,0
;ST_Drawer+48
	stwr %r1,st_firsttime
	callr %r6,ST_doPaletteStuff
	ldwzr %r1,st_firsttime
;ST_Drawer+64
	bweq %r1,%gz,ST_Drawer+96
	stwr %gz,st_firsttime
	callr %r6,ST_refreshBackground
;ST_Drawer+80
	ldi %r6,1
	callr %r5,ST_drawWidgets
	retf 0
;ST_Drawer+96
	mov %r6,%gz
	callr %r5,ST_drawWidgets
	retf 0
;ST_loadGraphics
	allocsp 23,32
	mov %r7,%gz
	ldafr %r8,shortnum
;ST_loadGraphics+16
	ldafr %r9,tallnum
	ldafr %r1,.rodata+27805
	addi %r2,%sp,23
;ST_loadGraphics+32
	ldi %r3,9
	ldi %r4,1
	ldafr %r5,.rodata+19299
;ST_loadGraphics+48
	stw %r7,%sp,0
	mov2 %r20,%r21,%r2,%r3
	mov %r22,%r1
;ST_loadGraphics+64
	callr %r19,snprintf
	mov2 %r21,%r22,%r2,%r4
	callr %r20,W_CacheLumpName
;ST_loadGraphics+80
	std %r21,%r9,0
	stw %r7,%sp,0
	mov2 %r20,%r21,%r2,%r3
;ST_loadGraphics+96
	mov %r22,%r5
	callr %r19,snprintf
	mov2 %r21,%r22,%r2,%r4
;ST_loadGraphics+112
	callr %r20,W_CacheLumpName
	std %r21,%r8,0
	addi %r7,%r7,1
;ST_loadGraphics+128
	addi %r8,%r8,8
	addi %r9,%r9,8
	bdnei %r7,10,ST_loadGraphics+48
;ST_loadGraphics+144
	ldafr %r21,.rodata+8490
	ldi %r1,1
	mov %r22,%r1
;ST_loadGraphics+160
	callr %r20,W_CacheLumpName
	mov %r6,%gz
	stdr %r21,tallpercent
;ST_loadGraphics+176
	ldafr %r7,keys
	ldafr %r2,.rodata+7499
	addi %r3,%sp,23
;ST_loadGraphics+192
	ldi %r4,9
	nop 0
	nop 0
;ST_loadGraphics+208
	stw %r6,%sp,0
	mov2 %r20,%r21,%r3,%r4
	mov %r22,%r2
;ST_loadGraphics+224
	callr %r19,snprintf
	mov2 %r21,%r22,%r3,%r1
	callr %r20,W_CacheLumpName
;ST_loadGraphics+240
	std %r21,%r7,0
	addi %r6,%r6,1
	addi %r7,%r7,8
;ST_loadGraphics+256
	bdnei %r6,6,ST_loadGraphics+208
	ldafr %r21,.rodata+7508
	ldi %r1,1
;ST_loadGraphics+272
	mov %r22,%r1
	callr %r20,W_CacheLumpName
	stdr %r21,armsbg
;ST_loadGraphics+288
	ldi %r6,2
	ldafr %r7,arms+8
	ldafr %r8,shortnum+16
;ST_loadGraphics+304
	ldafr %r2,.rodata+10460
	addi %r3,%sp,23
	ldi %r4,9
;ST_loadGraphics+320
	stw %r6,%sp,0
	mov2 %r20,%r21,%r3,%r4
	mov %r22,%r2
;ST_loadGraphics+336
	callr %r19,snprintf
	mov2 %r21,%r22,%r3,%r1
	callr %r20,W_CacheLumpName
;ST_loadGraphics+352
	lddz %r5,%r8,0
	std %r21,%r7,-8
	std %r5,%r7,0
;ST_loadGraphics+368
	addi %r6,%r6,1
	addi %r7,%r7,16
	addi %r8,%r8,8
;ST_loadGraphics+384
	bdnei %r6,8,ST_loadGraphics+320
	ldwzr %r3,consoleplayer
	ldafr %r22,.rodata+22142
;ST_loadGraphics+400
	addi %r1,%sp,23
	ldi %r2,9
	stw %r3,%sp,0
;ST_loadGraphics+416
	mov2 %r20,%r21,%r1,%r2
	callr %r19,snprintf
	ldi %r3,1
;ST_loadGraphics+432
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
	stdr %r21,faceback
;ST_loadGraphics+448
	ldafr %r21,.rodata+22755
	mov %r22,%r3
	callr %r20,W_CacheLumpName
;ST_loadGraphics+464
	mov2 %r10,%r15,%gz,%gz
	stdr %r21,sbar
	nop 2
;ST_loadGraphics+480
	ldi.l %r12,25769803776
	ldafr %r11,faces
;ST_loadGraphics+496
	ldafr %r4,.rodata+10469
	ldafr %r5,.rodata+25846
	ldafr %r6,.rodata+16926
;ST_loadGraphics+512
	ldafr %r7,.rodata+15550
	ldafr %r8,.rodata+2809
	ldafr %r9,.rodata+15560
;ST_loadGraphics+528
	mov2 %r17,%r14,%gz,%r15
	sraiw %r15,%r10,0
	addiws %r16,%r10,3
;ST_loadGraphics+544
	sladd %r13,%r12,%r15,32
	addi %r15,%r15,-1
	ldax.xw %r18,%r11,%r10,3,0
;ST_loadGraphics+560
	stw %r17,%sp,4
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
;ST_loadGraphics+576
	mov %r22,%r4
	callr %r19,snprintf
	mov2 %r21,%r22,%r1,%r3
;ST_loadGraphics+592
	callr %r20,W_CacheLumpName
	std %r21,%r18,0
	addiws %r17,%r17,1
;ST_loadGraphics+608
	addiws %r10,%r15,2
	addi.l %r13,%r13,4294967296
;ST_loadGraphics+624
	addi %r15,%r15,1
	addi %r18,%r18,8
	bwne %r16,%r10,ST_loadGraphics+560
;ST_loadGraphics+640
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
	mov %r22,%r5
;ST_loadGraphics+656
	callr %r19,snprintf
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
;ST_loadGraphics+672
	stdx.xw %r21,%r11,%r16,3,0
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
;ST_loadGraphics+688
	mov %r22,%r6
	callr %r19,snprintf
	nop 2
;ST_loadGraphics+704
	addi.l %r10,%r13,-21474836480
	srai %r16,%r10,29
;ST_loadGraphics+720
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
	stdx.xd %r21,%r16,%r11,0,0
;ST_loadGraphics+736
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
	mov %r22,%r7
;ST_loadGraphics+752
	callr %r19,snprintf
	addi.l %r10,%r13,-17179869184
;ST_loadGraphics+768
	srai %r16,%r10,29
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
;ST_loadGraphics+784
	stdx.xd %r21,%r16,%r11,0,0
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
;ST_loadGraphics+800
	mov %r22,%r8
	callr %r19,snprintf
	nop 2
;ST_loadGraphics+816
	addi.l %r10,%r13,-12884901888
	srai %r16,%r10,29
;ST_loadGraphics+832
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
	stdx.xd %r21,%r16,%r11,0,0
;ST_loadGraphics+848
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
	mov %r22,%r9
;ST_loadGraphics+864
	callr %r19,snprintf
	addi.l %r10,%r13,-8589934592
;ST_loadGraphics+880
	srai %r16,%r10,29
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
;ST_loadGraphics+896
	stdx.xd %r21,%r16,%r11,0,0
	addiws %r10,%r15,6
	addiws %r15,%r14,1
;ST_loadGraphics+912
	bwltui %r14,4,ST_loadGraphics+528
	ldafr %r21,.rodata+2818
	ldi %r1,1
;ST_loadGraphics+928
	mov %r22,%r1
	callr %r20,W_CacheLumpName
	stdx.xw %r21,%r11,%r10,3,0
;ST_loadGraphics+944
	srai %r2,%r13,29
	ldafr %r21,.rodata+7515
	mov %r22,%r1
;ST_loadGraphics+960
	callr %r20,W_CacheLumpName
	stdx.xd %r21,%r2,%r11,0,0
	retf 32
;ST_loadData
	alloc 3
	ldafr %r2,.rodata+27930
	callr %r1,W_GetNumForName
;ST_loadData+16
	stwr %r2,lu_palette
	callr %r2,ST_loadGraphics
	retf 0
;ST_unloadGraphics
	allocsp 22,32
	mov %r6,%gz
	ldafr %r7,shortnum
;ST_unloadGraphics+16
	ldafr %r8,tallnum
	ldafr %r1,.rodata+27805
	addi %r2,%sp,23
;ST_unloadGraphics+32
	ldi %r3,9
	ldafr %r4,.rodata+19299
	nop 0
;ST_unloadGraphics+48
	stw %r6,%sp,0
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
;ST_unloadGraphics+64
	callr %r18,snprintf
	mov %r21,%r2
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+80
	std %gz,%r8,0
	stw %r6,%sp,0
	mov2 %r19,%r20,%r2,%r3
;ST_unloadGraphics+96
	mov %r21,%r4
	callr %r18,snprintf
	mov %r21,%r2
;ST_unloadGraphics+112
	callr %r20,W_ReleaseLumpName
	std %gz,%r7,0
	addi %r6,%r6,1
;ST_unloadGraphics+128
	addi %r7,%r7,8
	addi %r8,%r8,8
	bdnei %r6,10,ST_unloadGraphics+48
;ST_unloadGraphics+144
	ldafr %r21,.rodata+8490
	callr %r20,W_ReleaseLumpName
	mov %r5,%gz
;ST_unloadGraphics+160
	stdr %gz,tallpercent
	ldafr %r6,keys
	ldafr %r1,.rodata+7499
;ST_unloadGraphics+176
	addi %r2,%sp,23
	ldi %r3,9
	nop 0
;ST_unloadGraphics+192
	stw %r5,%sp,0
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
;ST_unloadGraphics+208
	callr %r18,snprintf
	mov %r21,%r2
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+224
	std %gz,%r6,0
	addi %r5,%r5,1
	addi %r6,%r6,8
;ST_unloadGraphics+240
	bdnei %r5,6,ST_unloadGraphics+192
	ldafr %r21,.rodata+7508
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+256
	stdr %gz,armsbg
	ldi %r5,2
	ldafr %r6,arms+8
;ST_unloadGraphics+272
	ldafr %r7,shortnum+16
	ldafr %r1,.rodata+10460
	addi %r2,%sp,23
;ST_unloadGraphics+288
	ldi %r3,9
	nop 0
	nop 0
;ST_unloadGraphics+304
	stw %r5,%sp,0
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
;ST_unloadGraphics+320
	callr %r18,snprintf
	mov %r21,%r2
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+336
	lddz %r4,%r7,0
	std %gz,%r6,-8
	std %r4,%r6,0
;ST_unloadGraphics+352
	addi %r5,%r5,1
	addi %r6,%r6,16
	addi %r7,%r7,8
;ST_unloadGraphics+368
	bdnei %r5,8,ST_unloadGraphics+304
	ldwzr %r3,consoleplayer
	ldafr %r21,.rodata+22142
;ST_unloadGraphics+384
	addi %r1,%sp,23
	ldi %r2,9
	stw %r3,%sp,0
;ST_unloadGraphics+400
	mov2 %r19,%r20,%r1,%r2
	callr %r18,snprintf
	mov %r21,%r1
;ST_unloadGraphics+416
	callr %r20,W_ReleaseLumpName
	stdr %gz,faceback
	ldafr %r21,.rodata+22755
;ST_unloadGraphics+432
	callr %r20,W_ReleaseLumpName
	mov2 %r9,%r14,%gz,%gz
	stdr %gz,sbar
;ST_unloadGraphics+448
	ldi.l %r11,25769803776
	ldafr %r10,faces
;ST_unloadGraphics+464
	ldafr %r3,.rodata+10469
	ldafr %r4,.rodata+25846
	ldafr %r5,.rodata+16926
;ST_unloadGraphics+480
	ldafr %r6,.rodata+15550
	ldafr %r7,.rodata+2809
	ldafr %r8,.rodata+15560
;ST_unloadGraphics+496
	mov2 %r16,%r13,%gz,%r14
	sraiw %r14,%r9,0
	addiws %r15,%r9,3
;ST_unloadGraphics+512
	sladd %r12,%r11,%r14,32
	addi %r14,%r14,-1
	ldax.xw %r17,%r10,%r9,3,0
;ST_unloadGraphics+528
	stw %r16,%sp,4
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
;ST_unloadGraphics+544
	mov %r21,%r3
	callr %r18,snprintf
	mov %r21,%r1
;ST_unloadGraphics+560
	callr %r20,W_ReleaseLumpName
	std %gz,%r17,0
	addiws %r16,%r16,1
;ST_unloadGraphics+576
	addiws %r9,%r14,2
	addi.l %r12,%r12,4294967296
;ST_unloadGraphics+592
	addi %r14,%r14,1
	addi %r17,%r17,8
	bwne %r15,%r9,ST_unloadGraphics+528
;ST_unloadGraphics+608
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
	mov %r21,%r4
;ST_unloadGraphics+624
	callr %r18,snprintf
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+640
	stdx.xw %gz,%r10,%r15,3,0
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
;ST_unloadGraphics+656
	mov %r21,%r5
	callr %r18,snprintf
	nop 2
;ST_unloadGraphics+672
	addi.l %r9,%r12,-21474836480
	srai %r15,%r9,29
;ST_unloadGraphics+688
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
	stdx.xd %gz,%r15,%r10,0,0
;ST_unloadGraphics+704
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
	mov %r21,%r6
;ST_unloadGraphics+720
	callr %r18,snprintf
	addi.l %r9,%r12,-17179869184
;ST_unloadGraphics+736
	srai %r15,%r9,29
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+752
	stdx.xd %gz,%r15,%r10,0,0
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
;ST_unloadGraphics+768
	mov %r21,%r7
	callr %r18,snprintf
	nop 2
;ST_unloadGraphics+784
	addi.l %r9,%r12,-12884901888
	srai %r15,%r9,29
;ST_unloadGraphics+800
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
	stdx.xd %gz,%r15,%r10,0,0
;ST_unloadGraphics+816
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
	mov %r21,%r8
;ST_unloadGraphics+832
	callr %r18,snprintf
	addi.l %r9,%r12,-8589934592
;ST_unloadGraphics+848
	srai %r15,%r9,29
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+864
	stdx.xd %gz,%r15,%r10,0,0
	addiws %r9,%r14,6
	addiws %r14,%r13,1
;ST_unloadGraphics+880
	bwltui %r13,4,ST_unloadGraphics+496
	ldafr %r21,.rodata+2818
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+896
	stdx.xw %gz,%r10,%r9,3,0
	srai %r2,%r12,29
	ldafr %r21,.rodata+7515
;ST_unloadGraphics+912
	callr %r20,W_ReleaseLumpName
	stdx.xd %gz,%r2,%r10,0,0
	retf 32
;ST_unloadData
	alloc 2
	callr %r1,ST_unloadGraphics
	retf 0
;ST_initData
	alloc 8
	ldwsr %r1,consoleplayer
	ldi %r2,1
;ST_initData+16
	stwr %r2,st_firsttime
	ldafr %r3,players
	ldi %r4,328
;ST_initData+32
	muladd %r3,%r1,%r4,%r3
	muli %r1,%r1,328
	stdr %r3,plyr
;ST_initData+48
	stwr %gz,st_clock
	stwr %r2,st_statusbaron
	ldafr %r2,players+132
;ST_initData+64
	ldwzx.xd %r2,%r1,%r2,0,0
	stwr %gz,st_faceindex
	ldi %r3,-1
;ST_initData+80
	stwr %r3,st_palette
	stwr %r3,st_oldhealth
	stwr %r2,oldweaponsowned
;ST_initData+96
	ldafr %r2,players+136
	ldwzx.xd %r2,%r1,%r2,0,0
	ldafr %r4,players+140
;ST_initData+112
	ldwzx.xd %r4,%r1,%r4,0,0
	ldafr %r5,players+144
	ldwzx.xd %r5,%r1,%r5,0,0
;ST_initData+128
	ldafr %r6,players+148
	ldwzx.xd %r6,%r1,%r6,0,0
	stwr %r2,oldweaponsowned+4
;ST_initData+144
	stwr %r4,oldweaponsowned+8
	stwr %r5,oldweaponsowned+12
	stwr %r6,oldweaponsowned+16
;ST_initData+160
	ldafr %r2,players+152
	ldwzx.xd %r2,%r1,%r2,0,0
	ldafr %r4,players+156
;ST_initData+176
	ldwzx.xd %r4,%r1,%r4,0,0
	ldafr %r5,players+160
	ldwzx.xd %r5,%r1,%r5,0,0
;ST_initData+192
	ldafr %r6,players+164
	ldwzx.xd %r1,%r1,%r6,0,0
	stwr %r2,oldweaponsowned+20
;ST_initData+208
	stwr %r4,oldweaponsowned+24
	stwr %r5,oldweaponsowned+28
	stwr %r1,oldweaponsowned+32
;ST_initData+224
	stwr %r3,keyboxes+8
	stwr %r3,keyboxes+4
	stwr %r3,keyboxes
;ST_initData+240
	callr %r7,STlib_init
	retf 0
	nop 0
;ST_createWidgets
	alloc 20
	lddzr %r1,plyr
	ldwz %r2,%r1,124
;ST_createWidgets+16
	muli %r2,%r2,24
	ldafr %r3,weaponinfo
	ldwzx.xd %r2,%r2,%r3,0,0
;ST_createWidgets+32
	ldax.xd %r17,%r1,%r2,2,168
	ldafr %r13,w_ready
	ldafr %r1,tallnum
;ST_createWidgets+48
	ldafr %r2,st_statusbaron
	ldi %r14,44
	ldi %r3,171
;ST_createWidgets+64
	ldi %r19,3
	mov2 %r15,%r16,%r3,%r1
	mov %r18,%r2
;ST_createWidgets+80
	callr %r12,STlib_initNum
	lddzr %r4,plyr
	ldwz %r5,%r4,124
;ST_createWidgets+96
	stwr %r5,w_ready+40
	addi %r17,%r4,44
	lddzr %r19,tallpercent
;ST_createWidgets+112
	ldafr %r13,w_health
	ldi %r14,90
	mov2 %r15,%r16,%r3,%r1
;ST_createWidgets+128
	mov %r18,%r2
	callr %r12,STlib_initPercent
	lddzr %r17,armsbg
;ST_createWidgets+144
	ldafr %r14,w_armsbg
	ldafr %r18,st_notdeathmatch
	ldi %r15,104
;ST_createWidgets+160
	ldi %r16,168
	mov %r19,%r2
	callr %r13,STlib_initBinIcon
;ST_createWidgets+176
	mov2 %r5,%r6,%gz,%gz
	ldafr %r1,arms
	ldafr %r2,w_arms
;ST_createWidgets+192
	ldi %r7,136
	ldi %r8,172
	ldi %r9,182
;ST_createWidgets+208
	ldafr %r3,st_armson
	nop 0
	nop 0
;ST_createWidgets+224
	addiws %r4,%r6,-3
	cmpdltui %r10,%r5,3
	cmovlsb %r4,%r10,%r5,%r4
;ST_createWidgets+240
	mulwsi %r4,%r4,12
	cmpdgtui %r10,%r5,2
	lddzr %r11,plyr
;ST_createWidgets+256
	addiws %r15,%r4,111
	cmovlsb %r16,%r10,%r9,%r8
	addi %r5,%r5,1
;ST_createWidgets+272
	addiws %r6,%r6,1
	add %r18,%r11,%r7
	mov2 %r14,%r17,%r2,%r1
;ST_createWidgets+288
	mov %r19,%r3
	callr %r13,STlib_initMultIcon
	addi %r1,%r1,16
;ST_createWidgets+304
	addi %r2,%r2,48
	addi %r7,%r7,4
	bdnei %r5,6,ST_createWidgets+224
;ST_createWidgets+320
	ldafr %r13,w_frags
	ldafr %r1,tallnum
	ldafr %r17,st_fragscount
;ST_createWidgets+336
	ldafr %r18,st_fragson
	ldi %r14,138
	ldi %r2,171
;ST_createWidgets+352
	ldi %r19,2
	mov2 %r15,%r16,%r2,%r1
	callr %r12,STlib_initNum
;ST_createWidgets+368
	ldafr %r14,w_faces
	ldafr %r17,faces
	ldafr %r18,st_faceindex
;ST_createWidgets+384
	ldafr %r3,st_statusbaron
	ldi %r15,143
	ldi %r16,168
;ST_createWidgets+400
	mov %r19,%r3
	callr %r13,STlib_initMultIcon
	lddzr %r4,plyr
;ST_createWidgets+416
	addi %r17,%r4,48
	lddzr %r19,tallpercent
	ldafr %r13,w_armor
;ST_createWidgets+432
	ldi %r14,221
	mov2 %r15,%r16,%r2,%r1
	mov %r18,%r3
;ST_createWidgets+448
	callr %r12,STlib_initPercent
	ldafr %r14,w_keyboxes
	ldafr %r1,keys
;ST_createWidgets+464
	ldafr %r18,keyboxes
	ldi %r4,239
	mov2 %r15,%r16,%r4,%r2
;ST_createWidgets+480
	mov2 %r17,%r19,%r1,%r3
	callr %r13,STlib_initMultIcon
	ldafr %r14,w_keyboxes+48
;ST_createWidgets+496
	ldi %r16,181
	ldafr %r18,keyboxes+4
	mov2 %r15,%r17,%r4,%r1
;ST_createWidgets+512
	mov %r19,%r3
	callr %r13,STlib_initMultIcon
	ldafr %r14,w_keyboxes+96
;ST_createWidgets+528
	ldi %r2,191
	ldafr %r18,keyboxes+8
	mov2 %r15,%r16,%r4,%r2
;ST_createWidgets+544
	mov2 %r17,%r19,%r1,%r3
	callr %r13,STlib_initMultIcon
	lddzr %r1,plyr
;ST_createWidgets+560
	addi %r17,%r1,168
	ldafr %r13,w_ammo
	ldafr %r1,shortnum
;ST_createWidgets+576
	ldi %r4,288
	ldi %r5,173
	ldi %r6,3
;ST_createWidgets+592
	mov2 %r14,%r15,%r4,%r5
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
;ST_createWidgets+608
	callr %r12,STlib_initNum
	lddzr %r7,plyr
	addi %r17,%r7,172
;ST_createWidgets+624
	ldafr %r13,w_ammo+48
	ldi %r7,179
	mov2 %r14,%r15,%r4,%r7
;ST_createWidgets+640
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
	callr %r12,STlib_initNum
;ST_createWidgets+656
	lddzr %r8,plyr
	addi %r17,%r8,176
	ldafr %r13,w_ammo+96
;ST_createWidgets+672
	mov2 %r14,%r15,%r4,%r2
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
;ST_createWidgets+688
	callr %r12,STlib_initNum
	lddzr %r8,plyr
	addi %r17,%r8,180
;ST_createWidgets+704
	ldafr %r13,w_ammo+144
	ldi %r8,185
	mov2 %r14,%r15,%r4,%r8
;ST_createWidgets+720
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
	callr %r12,STlib_initNum
;ST_createWidgets+736
	lddzr %r4,plyr
	addi %r17,%r4,184
	ldafr %r13,w_maxammo
;ST_createWidgets+752
	ldi %r4,314
	mov2 %r14,%r15,%r4,%r5
	mov2 %r16,%r18,%r1,%r3
;ST_createWidgets+768
	mov %r19,%r6
	callr %r12,STlib_initNum
	lddzr %r5,plyr
;ST_createWidgets+784
	addi %r17,%r5,188
	ldafr %r13,w_maxammo+48
	mov2 %r14,%r15,%r4,%r7
;ST_createWidgets+800
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
	callr %r12,STlib_initNum
;ST_createWidgets+816
	lddzr %r5,plyr
	addi %r17,%r5,192
	ldafr %r13,w_maxammo+96
;ST_createWidgets+832
	mov2 %r14,%r15,%r4,%r2
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
;ST_createWidgets+848
	callr %r12,STlib_initNum
	lddzr %r2,plyr
	addi %r17,%r2,196
;ST_createWidgets+864
	ldafr %r13,w_maxammo+144
	mov2 %r14,%r15,%r4,%r8
	mov2 %r16,%r18,%r1,%r3
;ST_createWidgets+880
	mov %r19,%r6
	callr %r12,STlib_initNum
	retf 0
;ST_Start
	alloc 11
	ldbzr %r1,st_stopped
	bbci %r1,0,ST_Start+48
;ST_Start+16
	ldwzr %r9,lu_palette
	ldi %r10,8
	callr %r8,W_CacheLumpNum
;ST_Start+32
	mov %r10,%r9
	callr %r9,I_SetPalette
	stbr %gz,st_stopped
;ST_Start+48
	ldwsr %r1,consoleplayer
	ldi %r2,1
	stwr %r2,st_firsttime
;ST_Start+64
	ldafr %r3,players
	ldi %r4,328
	muladd %r3,%r1,%r4,%r3
;ST_Start+80
	muli %r1,%r1,328
	stdr %r3,plyr
	stwr %gz,st_clock
;ST_Start+96
	stwr %r2,st_statusbaron
	ldafr %r3,players+132
	ldwzx.xd %r3,%r1,%r3,0,0
;ST_Start+112
	stwr %gz,st_faceindex
	ldi %r4,-1
	stwr %r4,st_palette
;ST_Start+128
	stwr %r4,st_oldhealth
	stwr %r3,oldweaponsowned
	ldafr %r3,players+136
;ST_Start+144
	ldwzx.xd %r3,%r1,%r3,0,0
	ldafr %r5,players+140
	ldwzx.xd %r5,%r1,%r5,0,0
;ST_Start+160
	ldafr %r6,players+144
	ldwzx.xd %r6,%r1,%r6,0,0
	ldafr %r7,players+148
;ST_Start+176
	ldwzx.xd %r7,%r1,%r7,0,0
	stwr %r3,oldweaponsowned+4
	stwr %r5,oldweaponsowned+8
;ST_Start+192
	stwr %r6,oldweaponsowned+12
	stwr %r7,oldweaponsowned+16
	ldafr %r3,players+152
;ST_Start+208
	ldwzx.xd %r3,%r1,%r3,0,0
	ldafr %r5,players+156
	ldwzx.xd %r5,%r1,%r5,0,0
;ST_Start+224
	ldafr %r6,players+160
	ldwzx.xd %r6,%r1,%r6,0,0
	ldafr %r7,players+164
;ST_Start+240
	ldwzx.xd %r1,%r1,%r7,0,0
	stwr %r3,oldweaponsowned+20
	stwr %r5,oldweaponsowned+24
;ST_Start+256
	stwr %r6,oldweaponsowned+28
	stwr %r1,oldweaponsowned+32
	stwr %r4,keyboxes+8
;ST_Start+272
	stwr %r4,keyboxes+4
	stwr %r4,keyboxes
	callr %r10,STlib_init
;ST_Start+288
	callr %r10,ST_createWidgets
	stbr %r2,st_stopped
	retf 0
;ST_Stop
	alloc 5
	ldbzr %r1,st_stopped
	bbci %r1,0,ST_Stop+48
;ST_Stop+16
	ldwzr %r3,lu_palette
	ldi %r4,8
	callr %r2,W_CacheLumpNum
;ST_Stop+32
	mov %r4,%r3
	callr %r3,I_SetPalette
	stbr %gz,st_stopped
;ST_Stop+48
	retf 0
	nop 0
	nop 0
;ST_Init
	alloc 5
	ldafr %r4,.rodata+27930
	callr %r3,W_GetNumForName
;ST_Init+16
	stwr %r4,lu_palette
	callr %r4,ST_loadGraphics
	ldi %r2,10240
;ST_Init+32
	ldi %r3,1
	mov %r4,%gz
	callr %r1,Z_Malloc
;ST_Init+48
	stdr %r2,st_backing_screen
	retf 0
	nop 0
;S_Init
	allocsp 8,16
	ldafr %r6,S_sfx
	ldi %r7,109
;S_Init+16
	callr %r5,I_PrecacheSounds
	bwltui %r1,128,S_Init+48
	ldafr %r7,.rodata+22149
;S_Init+32
	stw %r1,%sp,0
	callr %r6,I_Error
	nop 0
;S_Init+48
	stwr %r1,snd_SfxVolume
	bwltui %r2,128,S_Init+80
	ldafr %r7,.rodata+1902
;S_Init+64
	stw %r2,%sp,0
	callr %r6,I_Error
	nop 0
;S_Init+80
	mov %r7,%r2
	callr %r6,I_SetMusicVolume
	ldwzr %r1,snd_channels
;S_Init+96
	mulwsi %r5,%r1,24
	ldi %r6,1
	mov %r7,%gz
;S_Init+112
	callr %r4,Z_Malloc
	ldwzr %r1,snd_channels
	stdr %r5,channels
;S_Init+128
	bwlti %r1,1,S_Init+176
	srliw %r1,%r1,0
	nop 0
;S_Init+144
	std %gz,%r5,0
	addi %r1,%r1,-1
	addi %r5,%r5,24
;S_Init+160
	bdne %r1,%gz,S_Init+144
	nop 0
	nop 0
;S_Init+176
	mov %r1,%gz
	stbr %gz,mus_paused
	ldafr %r2,S_sfx+104
;S_Init+192
	ldi %r3,-1
	nop 0
	nop 0
;S_Init+208
	stdx.xd %r3,%r1,%r2,0,0
	addi %r1,%r1,64
	nop 2
;S_Init+224
	bdnei.l %r1,6912,S_Init+208
	ldar %r6,S_Shutdown
;S_Init+240
	ldi %r7,1
	callr %r5,I_AtExit
	retf 16
;S_SetSfxVolume
	allocsp 4,16
	bwltui %r1,128,S_SetSfxVolume+32
	ldafr %r3,.rodata+22149
;S_SetSfxVolume+16
	stw %r1,%sp,0
	callr %r2,I_Error
	nop 0
;S_SetSfxVolume+32
	stwr %r1,snd_SfxVolume
	retf 16
	nop 0
;S_SetMusicVolume
	allocsp 4,16
	bwltui %r1,128,S_SetMusicVolume+32
	ldafr %r3,.rodata+1902
;S_SetMusicVolume+16
	stw %r1,%sp,0
	callr %r2,I_Error
	nop 0
;S_SetMusicVolume+32
	mov %r3,%r1
	callr %r2,I_SetMusicVolume
	retf 16
;S_Shutdown
	alloc 2
	callr %r1,I_ShutdownSound
	callr %r1,I_ShutdownMusic
;S_Shutdown+16
	retf 0
	nop 0
	nop 0
;S_Start
	alloc 9
	ldwzr %r2,snd_channels
	bwlti %r2,1,S_Start+112
;S_Start+16
	mov2 %r3,%r1,%gz,%gz
	lddzr %r4,channels
	jmp S_Start+64
;S_Start+32
	addi %r1,%r1,1
	sraiw %r5,%r2,0
	addi %r3,%r3,24
;S_Start+48
	bdle %r5,%r1,S_Start+112
	nop 0
	nop 0
;S_Start+64
	lddzx.xd %r5,%r4,%r3,0,0
	bdeq %r5,%gz,S_Start+32
	mov %r8,%r1
;S_Start+80
	callr %r7,S_StopChannel
	lddzr %r4,channels
	ldwzr %r2,snd_channels
;S_Start+96
	jmp S_Start+32
	nop 0
	nop 0
;S_Start+112
	ldwzr %r1,gamemode
	stbr %gz,mus_paused
	bwnei %r1,2,S_Start+144
;S_Start+128
	ldwzr %r1,gamemap
	addiws %r7,%r1,32
	jmp S_Start+208
;S_Start+144
	ldwzr %r1,gameepisode
	bwgei %r1,4,S_Start+192
	ldwzr %r2,gamemap
;S_Start+160
	mulwsi %r1,%r1,9
	addws %r1,%r1,%r2
	addiws %r7,%r1,-9
;S_Start+176
	jmp S_Start+208
	nop 0
	nop 0
;S_Start+192
	ldwsr %r1,gamemap
	ldafr %r2,fuzzoffset+196
	ldwzx.xd %r7,%r2,%r1,2,0
;S_Start+208
	ldi %r8,1
	callr %r6,S_ChangeMusic
	retf 0
;S_StopChannel
	alloc 6
	lddzr %r2,channels
	sraiw %r1,%r1,0
;S_StopChannel+16
	muli %r3,%r1,24
	lddzx.xd %r3,%r2,%r3,0,0
	bdeq %r3,%gz,S_StopChannel+112
;S_StopChannel+32
	ldi %r3,24
	muladd %r2,%r1,%r3,%r2
	ldwz %r5,%r2,16
;S_StopChannel+48
	callr %r4,I_SoundIsPlaying
	bweq %r5,%gz,S_StopChannel+80
	ldwz %r5,%r2,16
;S_StopChannel+64
	callr %r4,I_StopSound
	nop 0
	nop 0
;S_StopChannel+80
	lddz %r1,%r2,0
	ldwz %r3,%r1,40
	addiws %r3,%r3,-1
;S_StopChannel+96
	stw %r3,%r1,40
	std %gz,%r2,0
	nop 0
;S_StopChannel+112
	retf 0
	nop 0
	nop 0
;S_ChangeMusic
	allocsp 11,32
	ldwzr %r3,snd_musicdevice
	andi %r3,%r3,-2
;S_ChangeMusic+16
	cmpweqi %r3,%r3,2
	ldi %r4,29
	ldi %r5,32
;S_ChangeMusic+32
	cmpweqi %r6,%r1,29
	cmovlsb %r3,%r3,%r5,%r4
	cmovlsb %r1,%r6,%r3,%r1
;S_ChangeMusic+48
	addiws %r3,%r1,-68
	bwgeui.l %r3,1099511627709,S_ChangeMusic+112
;S_ChangeMusic+64
	ldafr %r10,.rodata+18291
	stw %r1,%sp,0
	callr %r9,I_Error
;S_ChangeMusic+80
	mov %r4,%gz
	lddzr %r1,mus_playing
	bdne %r1,%r4,S_ChangeMusic+144
;S_ChangeMusic+96
	retf 32
	nop 0
	nop 0
;S_ChangeMusic+112
	ldafr %r3,S_music
	ldax.xuw %r4,%r3,%r1,5,0
	lddzr %r1,mus_playing
;S_ChangeMusic+128
	bdeq %r1,%r4,S_ChangeMusic+96
	nop 0
	nop 0
;S_ChangeMusic+144
	callr %r10,S_StopMusic
	ldwz %r9,%r4,8
	bwne %r9,%gz,S_ChangeMusic+224
;S_ChangeMusic+160
	lddz %r3,%r4,0
	ldafr %r10,.rodata+8499
	addi %r1,%sp,23
;S_ChangeMusic+176
	ldi %r9,9
	std %r3,%sp,0
	mov %r8,%r1
;S_ChangeMusic+192
	callr %r7,M_snprintf
	mov %r10,%r1
	callr %r9,W_GetNumForName
;S_ChangeMusic+208
	mov %r9,%r10
	stw %r10,%r4,8
	nop 0
;S_ChangeMusic+224
	ldi %r10,1
	callr %r8,W_CacheLumpNum
	mov %r1,%r9
;S_ChangeMusic+240
	std %r9,%r4,16
	ldwz %r10,%r4,8
	callr %r9,W_LumpLength
;S_ChangeMusic+256
	mov %r9,%r1
	callr %r8,I_RegisterSong
	std %r9,%r4,24
;S_ChangeMusic+272
	mov %r10,%r2
	callr %r8,I_PlaySong
	stdr %r4,mus_playing
;S_ChangeMusic+288
	retf 32
	nop 0
	nop 0
;S_StopSound
	alloc 7
	ldwzr %r2,snd_channels
	bwlti %r2,1,S_StopSound+96
;S_StopSound+16
	lddzr %r3,channels
	mov %r6,%gz
	srliw %r2,%r2,0
;S_StopSound+32
	addi %r3,%r3,8
	jmp S_StopSound+64
	nop 0
;S_StopSound+48
	addi %r6,%r6,1
	addi %r3,%r3,24
	bdeq %r2,%r6,S_StopSound+96
;S_StopSound+64
	lddz %r4,%r3,-8
	bdeq %r4,%gz,S_StopSound+48
	lddz %r4,%r3,0
;S_StopSound+80
	bdne %r4,%r1,S_StopSound+48
	callr %r5,S_StopChannel
	nop 0
;S_StopSound+96
	retf 0
	nop 0
	nop 0
;S_StartSound
	allocsp 13,32
	ldwzr %r4,snd_SfxVolume
	addiws %r3,%r2,-110
;S_StartSound+16
	stw %r4,%sp,24
	bwgeui.l %r3,1099511627667,S_StartSound+48
;S_StartSound+32
	ldafr %r12,.rodata+1888
	stw %r2,%sp,0
	callr %r11,I_Error
;S_StartSound+48
	ldafr %r3,S_sfx
	ldax.xw %r3,%r3,%r2,6,0
	ldafr %r5,S_sfx+24
;S_StartSound+64
	lddzx.xw %r2,%r5,%r2,6,0
	bdeq %r2,%gz,S_StartSound+112
	ldwz %r2,%r3,36
;S_StartSound+80
	addws %r2,%r2,%r4
	stw %r2,%sp,24
	bwlti %r2,1,S_StartSound+576
;S_StartSound+96
	ldwzr %r4,snd_SfxVolume
	bwle %r2,%r4,S_StartSound+112
	stw %r4,%sp,24
;S_StartSound+112
	bdeq %r1,%gz,S_StartSound+432
	ldwsr %r2,consoleplayer
	muli %r2,%r2,328
;S_StartSound+128
	ldafr %r4,players
	lddzx.xd %r9,%r2,%r4,0,0
	bdeq %r1,%r9,S_StartSound+432
;S_StartSound+144
	addi %r11,%sp,24
	addi %r12,%sp,28
	mov %r10,%r1
;S_StartSound+160
	callr %r8,S_AdjustSoundParams
	ldwsr %r2,consoleplayer
	muli %r2,%r2,328
;S_StartSound+176
	lddzx.xd %r2,%r2,%r4,0,0
	ldwz %r4,%r1,24
	ldwz %r5,%r2,24
;S_StartSound+192
	bwne %r4,%r5,S_StartSound+224
	ldwz %r4,%r1,28
	ldwz %r2,%r2,28
;S_StartSound+208
	bwne %r4,%r2,S_StartSound+224
	ldi %r2,128
	stw %r2,%sp,28
;S_StartSound+224
	bweq %r9,%gz,S_StartSound+576
	ldwzr %r2,snd_channels
	bwlti %r2,1,S_StartSound+464
;S_StartSound+240
	lddzr %r5,channels
	mov %r12,%gz
	srliw %r4,%r2,0
;S_StartSound+256
	addi %r5,%r5,8
	jmp S_StartSound+288
	nop 0
;S_StartSound+272
	addi %r12,%r12,1
	addi %r5,%r5,24
	bdeq %r4,%r12,S_StartSound+320
;S_StartSound+288
	lddz %r6,%r5,-8
	bdeq %r6,%gz,S_StartSound+272
	lddz %r6,%r5,0
;S_StartSound+304
	bdne %r6,%r1,S_StartSound+272
	callr %r11,S_StopChannel
	ldwzr %r2,snd_channels
;S_StartSound+320
	bwlti %r2,1,S_StartSound+496
	lddzr %r5,channels
	mov %r10,%gz
;S_StartSound+336
	srliw %r4,%r2,0
	addi %r5,%r5,8
	jmp S_StartSound+368
;S_StartSound+352
	addi %r10,%r10,1
	addi %r5,%r5,24
	bdeq %r4,%r10,S_StartSound+512
;S_StartSound+368
	lddz %r6,%r5,-8
	bdeq %r6,%gz,S_StartSound+480
	bdeq %r1,%gz,S_StartSound+352
;S_StartSound+384
	lddz %r6,%r5,0
	bdne %r6,%r1,S_StartSound+352
	mov %r12,%r10
;S_StartSound+400
	callr %r11,S_StopChannel
	ldwzr %r2,snd_channels
	bweq %r10,%r2,S_StartSound+512
;S_StartSound+416
	jmp S_StartSound+608
	nop 0
	nop 0
;S_StartSound+432
	ldi %r2,128
	stw %r2,%sp,28
	ldwzr %r2,snd_channels
;S_StartSound+448
	bwgei %r2,1,S_StartSound+240
	nop 0
	nop 0
;S_StartSound+464
	mov %r10,%gz
	nop 0
	nop 0
;S_StartSound+480
	bweq %r10,%r2,S_StartSound+512
	jmp S_StartSound+608
	nop 0
;S_StartSound+496
	mov %r10,%gz
	bwne %r10,%r2,S_StartSound+608
	nop 0
;S_StartSound+512
	mov %r10,%gz
	bwlti %r2,1,S_StartSound+592
	lddzr %r4,channels
;S_StartSound+528
	ldwz %r5,%r3,20
	srliw %r6,%r2,0
	nop 0
;S_StartSound+544
	lddz %r7,%r4,0
	ldwz %r7,%r7,20
	bwle %r5,%r7,S_StartSound+592
;S_StartSound+560
	addi %r10,%r10,1
	addi %r4,%r4,24
	bdne %r6,%r10,S_StartSound+544
;S_StartSound+576
	retf 32
	nop 0
	nop 0
;S_StartSound+592
	bweq %r10,%r2,S_StartSound+576
	mov %r12,%r10
	callr %r11,S_StopChannel
;S_StartSound+608
	lddzr %r4,channels
	srliw %r2,%r10,0
	muli %r2,%r2,24
;S_StartSound+624
	stdx.xd %r3,%r4,%r2,0,0
	stdx.xd %r1,%r4,%r2,0,8
	bwlt %r10,%gz,S_StartSound+576
;S_StartSound+640
	ldwz %r1,%r3,40
	maxsw %r1,%r1,%gz
	addiws %r1,%r1,1
;S_StartSound+656
	stw %r1,%r3,40
	ldwz %r1,%r3,44
	bwgei %r1,0,S_StartSound+688
;S_StartSound+672
	mov %r12,%r3
	callr %r11,I_GetSfxLumpNum
	stw %r12,%r3,44
;S_StartSound+688
	ldwz %r11,%sp,24
	ldwz %r12,%sp,28
	mov %r9,%r3
;S_StartSound+704
	callr %r8,I_StartSound
	lddzr %r1,channels
	stwx.xd %r9,%r1,%r2,0,16
;S_StartSound+720
	retf 32
	nop 0
	nop 0
;S_AdjustSoundParams
	alloc 13
	ldwz %r9,%r1,24
	ldwz %r11,%r2,24
;S_AdjustSoundParams+16
	ldwz %r10,%r1,28
	ldwz %r12,%r2,28
	absdw %r2,%r11,%r9
;S_AdjustSoundParams+32
	absdw %r5,%r12,%r10
	ldwzr %r6,gamemap
	addws %r7,%r5,%r2
;S_AdjustSoundParams+48
	minuw %r2,%r2,%r5
	srliw %r2,%r2,1
	subws %r5,%r7,%r2
;S_AdjustSoundParams+64
	bweqi %r6,8,S_AdjustSoundParams+112
	mov %r2,%gz
	nop 2
;S_AdjustSoundParams+80
	bwlti.l %r5,78643201,S_AdjustSoundParams+112
	mov %r1,%r2
;S_AdjustSoundParams+96
	retf 0
	nop 0
	nop 0
;S_AdjustSoundParams+112
	callr %r8,R_PointToAngle2
	ldwz %r1,%r1,56
	cmpwltu %r2,%r1,%r9
;S_AdjustSoundParams+128
	xori %r6,%r1,-1
	subfiws %r1,%r1,0
	cmovlsb %r1,%r2,%r1,%r6
;S_AdjustSoundParams+144
	addws %r1,%r1,%r9
	srliw %r1,%r1,19
	ldafr %r2,finesine
;S_AdjustSoundParams+160
	ldwzx.xuw %r1,%r2,%r1,2,0
	mulwsi %r1,%r1,96
	sraiw %r1,%r1,16
;S_AdjustSoundParams+176
	subfiws %r1,%r1,128
	stw %r1,%r4,0
	nop 2
;S_AdjustSoundParams+192
	bwgei.l %r5,13107200,S_AdjustSoundParams+224
	ldwzr %r1,snd_SfxVolume
;S_AdjustSoundParams+208
	jmp S_AdjustSoundParams+368
	nop 0
	nop 0
;S_AdjustSoundParams+224
	ldwzr %r2,gamemap
	ldwzr %r1,snd_SfxVolume
	bwnei %r2,8,S_AdjustSoundParams+320
;S_AdjustSoundParams+240
	addiws %r1,%r1,-15
	ldi %r2,78643200
	maxuw %r2,%r5,%r2
;S_AdjustSoundParams+256
	subws %r2,%r2,%r5
	srliw %r2,%r2,16
	mulws %r1,%r1,%r2
;S_AdjustSoundParams+272
	muli.l %r1,%r1,274877907
	srli %r2,%r1,63
;S_AdjustSoundParams+288
	srai %r1,%r1,38
	addws %r1,%r1,%r2
	addiws %r1,%r1,15
;S_AdjustSoundParams+304
	jmp S_AdjustSoundParams+368
	nop 0
	nop 0
;S_AdjustSoundParams+320
	subfiws.l %r2,%r5,78643200
	sraiw %r2,%r2,16
;S_AdjustSoundParams+336
	mulws %r1,%r1,%r2
	muli.l %r1,%r1,274877907
;S_AdjustSoundParams+352
	srli %r2,%r1,63
	srai %r1,%r1,38
	addws %r1,%r1,%r2
;S_AdjustSoundParams+368
	stw %r1,%r3,0
	cmpwgti %r2,%r1,0
	mov %r1,%r2
;S_AdjustSoundParams+384
	retf 0
	nop 0
	nop 0
;S_PauseSound
	alloc 3
	lddzr %r1,mus_playing
	bdeq %r1,%gz,S_PauseSound+48
;S_PauseSound+16
	ldbzr %r1,mus_paused
	bbsi %r1,0,S_PauseSound+48
	callr %r2,I_PauseSong
;S_PauseSound+32
	ldi %r1,1
	stbr %r1,mus_paused
	nop 0
;S_PauseSound+48
	retf 0
	nop 0
	nop 0
;S_ResumeSound
	alloc 3
	lddzr %r1,mus_playing
	bdeq %r1,%gz,S_ResumeSound+48
;S_ResumeSound+16
	ldbzr %r1,mus_paused
	bbci %r1,0,S_ResumeSound+48
	callr %r2,I_ResumeSong
;S_ResumeSound+32
	stbr %gz,mus_paused
	nop 0
	nop 0
;S_ResumeSound+48
	retf 0
	nop 0
	nop 0
;S_UpdateSounds
	allocsp 16,16
	callr %r15,I_UpdateSound
	ldwzr %r2,snd_channels
;S_UpdateSounds+16
	bwlti %r2,1,S_UpdateSounds+272
	mov2 %r6,%r2,%gz,%gz
	ldi %r7,128
;S_UpdateSounds+32
	addi %r3,%sp,12
	addi %r4,%sp,8
	jmp S_UpdateSounds+96
;S_UpdateSounds+48
	mov %r15,%r2
	callr %r14,S_StopChannel
	nop 0
;S_UpdateSounds+64
	ldwsr %r5,snd_channels
	addi %r2,%r2,1
	addi %r6,%r6,24
;S_UpdateSounds+80
	bdle %r5,%r2,S_UpdateSounds+272
	nop 0
	nop 0
;S_UpdateSounds+96
	lddzr %r8,channels
	lddzx.xd %r9,%r8,%r6,0,0
	bdeq %r9,%gz,S_UpdateSounds+64
;S_UpdateSounds+112
	ldwzx.xd %r15,%r8,%r6,0,16
	callr %r14,I_SoundIsPlaying
	bweq %r15,%gz,S_UpdateSounds+48
;S_UpdateSounds+128
	ldwzr %r5,snd_SfxVolume
	stw %r5,%sp,12
	stw %r7,%sp,8
;S_UpdateSounds+144
	lddz %r10,%r9,24
	bdeq %r10,%gz,S_UpdateSounds+192
	ldwz %r9,%r9,36
;S_UpdateSounds+160
	addws %r10,%r9,%r5
	stw %r10,%sp,12
	bwle %r10,%gz,S_UpdateSounds+48
;S_UpdateSounds+176
	bwlti %r9,1,S_UpdateSounds+192
	stw %r5,%sp,12
	nop 0
;S_UpdateSounds+192
	lddzx.xd %r13,%r8,%r6,0,8
	bdeq %r13,%gz,S_UpdateSounds+64
	bdeq %r1,%r13,S_UpdateSounds+64
;S_UpdateSounds+208
	mov2 %r12,%r14,%r1,%r3
	mov %r15,%r4
	callr %r11,S_AdjustSoundParams
;S_UpdateSounds+224
	bweq %r12,%gz,S_UpdateSounds+48
	add %r5,%r8,%r6
	ldwz %r13,%r5,16
;S_UpdateSounds+240
	ldwz %r14,%sp,12
	ldwz %r15,%sp,8
	callr %r12,I_UpdateSoundParams
;S_UpdateSounds+256
	jmp S_UpdateSounds+64
	nop 0
	nop 0
;S_UpdateSounds+272
	retf 16
	nop 0
	nop 0
;S_StartMusic
	alloc 5
	mov2 %r3,%r4,%r1,%gz
	callr %r2,S_ChangeMusic
;S_StartMusic+16
	retf 0
	nop 0
	nop 0
;S_StopMusic
	alloc 4
	lddzr %r1,mus_playing
	bdeq %r1,%gz,S_StopMusic+96
;S_StopMusic+16
	ldbzr %r1,mus_paused
	bbci %r1,0,S_StopMusic+32
	callr %r3,I_ResumeSong
;S_StopMusic+32
	callr %r3,I_StopSong
	lddzr %r1,mus_playing
	lddz %r3,%r1,24
;S_StopMusic+48
	callr %r2,I_UnRegisterSong
	lddzr %r1,mus_playing
	ldwz %r3,%r1,8
;S_StopMusic+64
	callr %r2,W_ReleaseLumpNum
	lddzr %r1,mus_playing
	std %gz,%r1,16
;S_StopMusic+80
	stdr %gz,mus_playing
	nop 0
	nop 0
;S_StopMusic+96
	retf 0
	nop 0
	nop 0
;S_MusicPlaying
	alloc 4
	callr %r2,I_MusicIsPlaying
	mov %r1,%r3
;S_MusicPlaying+16
	retf 0
	nop 0
	nop 0
;SlopeDiv
	alloc 3
	bwgeui %r2,512,SlopeDiv+32
	ldi %r1,2048
;SlopeDiv+16
	retf 0
	nop 0
	nop 0
;SlopeDiv+32
	slliw %r1,%r1,3
	srliw %r2,%r2,8
	divuw %r1,%r1,%r2
;SlopeDiv+48
	ldi %r2,2048
	minuw %r1,%r1,%r2
	retf 0
;V_MarkRect
	alloc 11
	lddzr %r5,dest_screen
	lddzr %r6,I_VideoBuffer
;V_MarkRect+16
	bdeq %r5,%r6,V_MarkRect+32
	retf 0
	nop 0
;V_MarkRect+32
	ldafr %r5,dirtybox
	mov2 %r8,%r9,%r5,%r1
	mov %r10,%r2
;V_MarkRect+48
	callr %r7,M_AddToBox
	addws %r1,%r1,%r3
	addiws %r9,%r1,-1
;V_MarkRect+64
	addws %r1,%r2,%r4
	addiws %r10,%r1,-1
	mov %r8,%r5
;V_MarkRect+80
	callr %r7,M_AddToBox
	retf 0
	nop 0
;V_CopyRect
	alloc 14
	bwlt %r1,%gz,V_CopyRect+80
	bwlt %r2,%gz,V_CopyRect+80
;V_CopyRect+16
	addws %r8,%r4,%r1
	bwgei %r8,321,V_CopyRect+80
	addws %r8,%r5,%r2
;V_CopyRect+32
	bwgei %r8,201,V_CopyRect+80
	bwlt %r6,%gz,V_CopyRect+80
	addws %r8,%r6,%r4
;V_CopyRect+48
	bwgei %r8,321,V_CopyRect+80
	bwlt %r7,%gz,V_CopyRect+80
	addws %r8,%r7,%r5
;V_CopyRect+64
	bwlti %r8,201,V_CopyRect+96
	nop 0
	nop 0
;V_CopyRect+80
	ldafr %r13,.rodata+8017
	callr %r12,I_Error
	nop 0
;V_CopyRect+96
	lddzr %r8,dest_screen
	lddzr %r9,I_VideoBuffer
	bdne %r8,%r9,V_CopyRect+176
;V_CopyRect+112
	ldafr %r8,dirtybox
	mov2 %r11,%r12,%r8,%r6
	mov %r13,%r7
;V_CopyRect+128
	callr %r10,M_AddToBox
	addws %r9,%r6,%r4
	addiws %r12,%r9,-1
;V_CopyRect+144
	addws %r9,%r7,%r5
	addiws %r13,%r9,-1
	mov %r11,%r8
;V_CopyRect+160
	callr %r10,M_AddToBox
	nop 0
	nop 0
;V_CopyRect+176
	bwlti %r5,1,V_CopyRect+272
	lddzr %r8,dest_screen
	mulwsi %r7,%r7,320
;V_CopyRect+192
	sraiw %r6,%r6,0
	addadd %r6,%r8,%r7,%r6
	mulwsi %r2,%r2,320
;V_CopyRect+208
	sraiw %r1,%r1,0
	addadd %r1,%r3,%r2,%r1
	sraiw %r2,%r4,0
;V_CopyRect+224
	mov2 %r4,%r11,%r5,%r6
	mov2 %r12,%r13,%r1,%r2
	callr %r10,memcpy
;V_CopyRect+240
	addi %r1,%r1,320
	addi %r6,%r6,320
	addiws %r5,%r5,-1
;V_CopyRect+256
	bwgeui %r4,2,V_CopyRect+224
	nop 0
	nop 0
;V_CopyRect+272
	retf 0
	nop 0
	nop 0
;V_SetPatchClipCallback
	alloc 2
	stdr %r1,patchclip_callback
	retf 0
;V_DrawPatch
	allocsp 15,32
	ldbs %r4,%r3,7
	ldbz %r6,%r3,6
;V_DrawPatch+16
	ldbs %r7,%r3,5
	ldbz %r8,%r3,4
	lddzr %r5,patchclip_callback
;V_DrawPatch+32
	slor %r4,%r6,%r4,8
	subws %r4,%r2,%r4
	slor %r2,%r8,%r7,8
;V_DrawPatch+48
	subws %r2,%r1,%r2
	bdeq %r5,%gz,V_DrawPatch+80
	mov2 %r12,%r13,%r3,%r2
;V_DrawPatch+64
	mov %r14,%r4
	callri %r11,%r5,%gz
	bweq %r12,%gz,V_DrawPatch+640
;V_DrawPatch+80
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
;V_DrawPatch+96
	bwlt %r2,%gz,V_DrawPatch+144
	addws %r1,%r2,%r5
	bwgei %r1,321,V_DrawPatch+144
;V_DrawPatch+112
	bwlt %r4,%gz,V_DrawPatch+144
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
;V_DrawPatch+128
	slor %r1,%r6,%r1,8
	addws %r1,%r4,%r1
	bwlti %r1,201,V_DrawPatch+256
;V_DrawPatch+144
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
	ldbs %r7,%r3,7
;V_DrawPatch+160
	ldbz %r8,%r3,6
	ldbs %r9,%r3,5
	ldbz %r10,%r3,4
;V_DrawPatch+176
	slor %r1,%r6,%r1,8
	slor %r6,%r8,%r7,8
	slor %r7,%r10,%r9,8
;V_DrawPatch+192
	stw %r7,%sp,20
	stw %r6,%sp,16
	stw %r1,%sp,12
;V_DrawPatch+208
	stw %r5,%sp,8
	stw %r4,%sp,4
	ldafr %r14,.rodata+20064
;V_DrawPatch+224
	stw %r2,%sp,0
	callr %r13,I_Error
	ldbz %r1,%r3,1
;V_DrawPatch+240
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawPatch+256
	lddzr %r1,dest_screen
	lddzr %r6,I_VideoBuffer
	bdne %r1,%r6,V_DrawPatch+368
;V_DrawPatch+272
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
	slor %r6,%r6,%r1,8
;V_DrawPatch+288
	slsrai %r7,%r5,48,48
	ldafr %r1,dirtybox
	mov2 %r12,%r13,%r1,%r2
;V_DrawPatch+304
	mov %r14,%r4
	callr %r11,M_AddToBox
	addws %r5,%r2,%r7
;V_DrawPatch+320
	addiws %r13,%r5,-1
	addws %r5,%r4,%r6
	addiws %r14,%r5,-1
;V_DrawPatch+336
	mov %r12,%r1
	callr %r11,M_AddToBox
	ldbz %r1,%r3,1
;V_DrawPatch+352
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawPatch+368
	slsrai %r1,%r5,48,48
	bwlti %r1,1,V_DrawPatch+640
	mov %r1,%gz
;V_DrawPatch+384
	lddzr %r6,dest_screen
	andi %r5,%r5,65535
	mulwsi %r4,%r4,320
;V_DrawPatch+400
	sraiw %r2,%r2,0
	addadd %r2,%r6,%r4,%r2
	addi %r4,%r3,8
;V_DrawPatch+416
	jmp V_DrawPatch+448
	nop 0
	nop 0
;V_DrawPatch+432
	addi %r1,%r1,1
	addi %r2,%r2,1
	bdeq %r1,%r5,V_DrawPatch+640
;V_DrawPatch+448
	ldbzx.xd %r6,%r4,%r1,2,1
	ldbzx.xd %r7,%r4,%r1,2,0
	ldbsx.xd %r8,%r4,%r1,2,3
;V_DrawPatch+464
	ldbzx.xd %r9,%r4,%r1,2,2
	slli %r8,%r8,24
	slor %r6,%r7,%r6,8
;V_DrawPatch+480
	slor %r7,%r8,%r9,16
	or %r6,%r7,%r6
	ldbzx.xd %r8,%r3,%r6,0,0
;V_DrawPatch+496
	bweqi %r8,255,V_DrawPatch+432
	add %r6,%r3,%r6
	jmp V_DrawPatch+560
;V_DrawPatch+512
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawPatch+528
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawPatch+544
	bweqi %r8,255,V_DrawPatch+432
	nop 0
	nop 0
;V_DrawPatch+560
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawPatch+512
	andi %r8,%r8,255
;V_DrawPatch+576
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawPatch+592
	ldbz %r10,%r9,0
	addiws %r7,%r7,-1
	addi %r9,%r9,1
;V_DrawPatch+608
	stbx.xd %r10,%r2,%r8,0,0
	addi %r8,%r8,320
	bwne %r7,%gz,V_DrawPatch+592
;V_DrawPatch+624
	ldbz %r7,%r6,1
	jmp V_DrawPatch+528
	nop 0
;V_DrawPatch+640
	retf 32
	nop 0
	nop 0
;V_DrawPatchFlipped
	alloc 15
	ldbs %r4,%r3,7
	ldbz %r6,%r3,6
;V_DrawPatchFlipped+16
	ldbs %r7,%r3,5
	ldbz %r8,%r3,4
	lddzr %r5,patchclip_callback
;V_DrawPatchFlipped+32
	slor %r4,%r6,%r4,8
	subws %r4,%r2,%r4
	slor %r2,%r8,%r7,8
;V_DrawPatchFlipped+48
	subws %r2,%r1,%r2
	bdeq %r5,%gz,V_DrawPatchFlipped+80
	mov2 %r12,%r13,%r3,%r2
;V_DrawPatchFlipped+64
	mov %r14,%r4
	callri %r11,%r5,%gz
	bweq %r12,%gz,V_DrawPatchFlipped+576
;V_DrawPatchFlipped+80
	bwlt %r2,%gz,V_DrawPatchFlipped+144
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
;V_DrawPatchFlipped+96
	slor %r5,%r5,%r1,8
	addws %r1,%r2,%r5
	bwgei %r1,321,V_DrawPatchFlipped+144
;V_DrawPatchFlipped+112
	bwlt %r4,%gz,V_DrawPatchFlipped+144
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
;V_DrawPatchFlipped+128
	slor %r1,%r6,%r1,8
	addws %r1,%r4,%r1
	bwlti %r1,201,V_DrawPatchFlipped+176
;V_DrawPatchFlipped+144
	ldafr %r14,.rodata+2826
	callr %r13,I_Error
	ldbz %r1,%r3,1
;V_DrawPatchFlipped+160
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawPatchFlipped+176
	lddzr %r1,dest_screen
	lddzr %r6,I_VideoBuffer
	bdne %r1,%r6,V_DrawPatchFlipped+288
;V_DrawPatchFlipped+192
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
	slor %r6,%r6,%r1,8
;V_DrawPatchFlipped+208
	slsrai %r7,%r5,48,48
	ldafr %r1,dirtybox
	mov2 %r12,%r13,%r1,%r2
;V_DrawPatchFlipped+224
	mov %r14,%r4
	callr %r11,M_AddToBox
	addws %r5,%r2,%r7
;V_DrawPatchFlipped+240
	addiws %r13,%r5,-1
	addws %r5,%r4,%r6
	addiws %r14,%r5,-1
;V_DrawPatchFlipped+256
	mov %r12,%r1
	callr %r11,M_AddToBox
	ldbz %r1,%r3,1
;V_DrawPatchFlipped+272
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawPatchFlipped+288
	slsrai %r1,%r5,48,48
	bwlti %r1,1,V_DrawPatchFlipped+576
	lddzr %r6,dest_screen
;V_DrawPatchFlipped+304
	mov %r1,%gz
	mulwsi %r4,%r4,320
	sraiw %r2,%r2,0
;V_DrawPatchFlipped+320
	addadd %r2,%r6,%r4,%r2
	addi %r4,%r3,8
	andi %r5,%r5,65535
;V_DrawPatchFlipped+336
	jmp V_DrawPatchFlipped+368
	nop 0
	nop 0
;V_DrawPatchFlipped+352
	addi %r1,%r1,1
	addi %r2,%r2,1
	bdeq %r1,%r5,V_DrawPatchFlipped+576
;V_DrawPatchFlipped+368
	xori %r6,%r1,-1
	add %r6,%r6,%r5
	ldbzx.xd %r7,%r4,%r6,2,1
;V_DrawPatchFlipped+384
	ldbzx.xd %r8,%r4,%r6,2,0
	ldbsx.xd %r9,%r4,%r6,2,3
	ldbzx.xd %r6,%r4,%r6,2,2
;V_DrawPatchFlipped+400
	slli %r9,%r9,24
	slor %r7,%r8,%r7,8
	slor %r6,%r9,%r6,16
;V_DrawPatchFlipped+416
	or %r6,%r6,%r7
	ldbzx.xd %r8,%r3,%r6,0,0
	bweqi %r8,255,V_DrawPatchFlipped+352
;V_DrawPatchFlipped+432
	add %r6,%r3,%r6
	jmp V_DrawPatchFlipped+496
	nop 0
;V_DrawPatchFlipped+448
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawPatchFlipped+464
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawPatchFlipped+480
	bweqi %r8,255,V_DrawPatchFlipped+352
	nop 0
	nop 0
;V_DrawPatchFlipped+496
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawPatchFlipped+448
	andi %r8,%r8,255
;V_DrawPatchFlipped+512
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawPatchFlipped+528
	ldbz %r10,%r9,0
	addiws %r7,%r7,-1
	addi %r9,%r9,1
;V_DrawPatchFlipped+544
	stbx.xd %r10,%r2,%r8,0,0
	addi %r8,%r8,320
	bwne %r7,%gz,V_DrawPatchFlipped+528
;V_DrawPatchFlipped+560
	ldbz %r7,%r6,1
	jmp V_DrawPatchFlipped+464
	nop 0
;V_DrawPatchFlipped+576
	retf 0
	nop 0
	nop 0
;V_DrawPatchDirect
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;V_DrawPatchDirect+16
	callr %r4,V_DrawPatch
	retf 0
	nop 0
;V_DrawTLPatch
	alloc 15
	ldbs %r4,%r3,7
	ldbz %r5,%r3,6
;V_DrawTLPatch+16
	ldbs %r6,%r3,5
	ldbz %r7,%r3,4
	slor %r5,%r5,%r4,8
;V_DrawTLPatch+32
	slor %r4,%r7,%r6,8
	subws %r4,%r1,%r4
	subws %r2,%r2,%r5
;V_DrawTLPatch+48
	bwlt %r4,%gz,V_DrawTLPatch+112
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
;V_DrawTLPatch+64
	slor %r5,%r5,%r1,8
	addws %r1,%r4,%r5
	bwgei %r1,321,V_DrawTLPatch+112
;V_DrawTLPatch+80
	bwlt %r2,%gz,V_DrawTLPatch+112
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
;V_DrawTLPatch+96
	slor %r1,%r6,%r1,8
	addws %r1,%r2,%r1
	bwlti %r1,201,V_DrawTLPatch+144
;V_DrawTLPatch+112
	ldafr %r14,.rodata+12026
	callr %r13,I_Error
	ldbs %r1,%r3,1
;V_DrawTLPatch+128
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawTLPatch+144
	bwlti %r5,1,V_DrawTLPatch+416
	lddzr %r6,dest_screen
	mov %r1,%gz
;V_DrawTLPatch+160
	mulwsi %r2,%r2,320
	sraiw %r4,%r4,0
	addadd %r2,%r6,%r2,%r4
;V_DrawTLPatch+176
	addi %r4,%r3,8
	srliw %r5,%r5,0
	jmp V_DrawTLPatch+208
;V_DrawTLPatch+192
	addi %r1,%r1,1
	addi %r2,%r2,1
	bdeq %r1,%r5,V_DrawTLPatch+416
;V_DrawTLPatch+208
	ldbzx.xd %r6,%r4,%r1,2,1
	ldbzx.xd %r7,%r4,%r1,2,0
	ldbsx.xd %r8,%r4,%r1,2,3
;V_DrawTLPatch+224
	ldbzx.xd %r9,%r4,%r1,2,2
	slli %r8,%r8,24
	slor %r6,%r7,%r6,8
;V_DrawTLPatch+240
	slor %r7,%r8,%r9,16
	or %r6,%r7,%r6
	ldbzx.xd %r8,%r3,%r6,0,0
;V_DrawTLPatch+256
	bweqi %r8,255,V_DrawTLPatch+192
	add %r6,%r3,%r6
	jmp V_DrawTLPatch+320
;V_DrawTLPatch+272
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawTLPatch+288
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawTLPatch+304
	bweqi %r8,255,V_DrawTLPatch+192
	nop 0
	nop 0
;V_DrawTLPatch+320
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawTLPatch+272
	andi %r8,%r8,255
;V_DrawTLPatch+336
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawTLPatch+352
	ldbzx.xd %r10,%r2,%r8,0,0
	ldbz %r11,%r9,0
	lddzr %r12,tinttable
;V_DrawTLPatch+368
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r12,%r10,0,0
	addiws %r7,%r7,-1
;V_DrawTLPatch+384
	addi %r9,%r9,1
	stbx.xd %r10,%r2,%r8,0,0
	addi %r8,%r8,320
;V_DrawTLPatch+400
	bwne %r7,%gz,V_DrawTLPatch+352
	ldbz %r7,%r6,1
	jmp V_DrawTLPatch+288
;V_DrawTLPatch+416
	retf 0
	nop 0
	nop 0
;V_DrawXlaPatch
	alloc 17
	ldbs %r4,%r3,7
	ldbz %r6,%r3,6
;V_DrawXlaPatch+16
	ldbs %r7,%r3,5
	ldbz %r8,%r3,4
	lddzr %r5,patchclip_callback
;V_DrawXlaPatch+32
	slor %r4,%r6,%r4,8
	subws %r4,%r2,%r4
	slor %r2,%r8,%r7,8
;V_DrawXlaPatch+48
	subws %r2,%r1,%r2
	bdeq %r5,%gz,V_DrawXlaPatch+80
	mov2 %r14,%r15,%r3,%r2
;V_DrawXlaPatch+64
	mov %r16,%r4
	callri %r13,%r5,%gz
	bweq %r14,%gz,V_DrawXlaPatch+368
;V_DrawXlaPatch+80
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
	slor %r1,%r5,%r1,8
;V_DrawXlaPatch+96
	bdlti %r1,1,V_DrawXlaPatch+368
	lddzr %r6,dest_screen
	mov %r5,%gz
;V_DrawXlaPatch+112
	mulwsi %r4,%r4,320
	sraiw %r2,%r2,0
	addadd %r2,%r6,%r4,%r2
;V_DrawXlaPatch+128
	addi %r4,%r3,8
	jmp V_DrawXlaPatch+160
	nop 0
;V_DrawXlaPatch+144
	addi %r5,%r5,1
	addi %r2,%r2,1
	bdeq %r5,%r1,V_DrawXlaPatch+368
;V_DrawXlaPatch+160
	ldbzx.xd %r6,%r4,%r5,2,1
	ldbzx.xd %r7,%r4,%r5,2,0
	ldbsx.xd %r8,%r4,%r5,2,3
;V_DrawXlaPatch+176
	ldbzx.xd %r9,%r4,%r5,2,2
	slli %r8,%r8,24
	slor %r6,%r7,%r6,8
;V_DrawXlaPatch+192
	slor %r7,%r8,%r9,16
	or %r6,%r7,%r6
	ldbzx.xd %r8,%r3,%r6,0,0
;V_DrawXlaPatch+208
	bweqi %r8,255,V_DrawXlaPatch+144
	add %r6,%r3,%r6
	jmp V_DrawXlaPatch+272
;V_DrawXlaPatch+224
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawXlaPatch+240
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawXlaPatch+256
	bweqi %r8,255,V_DrawXlaPatch+144
	nop 0
	nop 0
;V_DrawXlaPatch+272
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawXlaPatch+224
	andi %r8,%r8,255
;V_DrawXlaPatch+288
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawXlaPatch+304
	ldbzx.xd %r10,%r2,%r8,0,0
	ldbz %r11,%r9,0
	lddzr %r12,xlatab
;V_DrawXlaPatch+320
	slor %r10,%r10,%r11,8
	ldbzx.xd %r10,%r12,%r10,0,0
	addiws %r7,%r7,-1
;V_DrawXlaPatch+336
	stbx.xd %r10,%r2,%r8,0,0
	addi %r9,%r9,1
	addi %r8,%r8,320
;V_DrawXlaPatch+352
	bwne %r7,%gz,V_DrawXlaPatch+304
	ldbz %r7,%r6,1
	jmp V_DrawXlaPatch+240
;V_DrawXlaPatch+368
	retf 0
	nop 0
	nop 0
;V_DrawAltTLPatch
	alloc 15
	ldbs %r4,%r3,7
	ldbz %r5,%r3,6
;V_DrawAltTLPatch+16
	ldbs %r6,%r3,5
	ldbz %r7,%r3,4
	slor %r5,%r5,%r4,8
;V_DrawAltTLPatch+32
	slor %r4,%r7,%r6,8
	subws %r4,%r1,%r4
	subws %r2,%r2,%r5
;V_DrawAltTLPatch+48
	bwlt %r4,%gz,V_DrawAltTLPatch+112
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
;V_DrawAltTLPatch+64
	slor %r5,%r5,%r1,8
	addws %r1,%r4,%r5
	bwgei %r1,321,V_DrawAltTLPatch+112
;V_DrawAltTLPatch+80
	bwlt %r2,%gz,V_DrawAltTLPatch+112
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
;V_DrawAltTLPatch+96
	slor %r1,%r6,%r1,8
	addws %r1,%r2,%r1
	bwlti %r1,201,V_DrawAltTLPatch+144
;V_DrawAltTLPatch+112
	ldafr %r14,.rodata+20148
	callr %r13,I_Error
	ldbs %r1,%r3,1
;V_DrawAltTLPatch+128
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawAltTLPatch+144
	bwlti %r5,1,V_DrawAltTLPatch+416
	lddzr %r6,dest_screen
	mov %r1,%gz
;V_DrawAltTLPatch+160
	mulwsi %r2,%r2,320
	sraiw %r4,%r4,0
	addadd %r2,%r6,%r2,%r4
;V_DrawAltTLPatch+176
	addi %r4,%r3,8
	srliw %r5,%r5,0
	jmp V_DrawAltTLPatch+208
;V_DrawAltTLPatch+192
	addi %r1,%r1,1
	addi %r2,%r2,1
	bdeq %r1,%r5,V_DrawAltTLPatch+416
;V_DrawAltTLPatch+208
	ldbzx.xd %r6,%r4,%r1,2,1
	ldbzx.xd %r7,%r4,%r1,2,0
	ldbsx.xd %r8,%r4,%r1,2,3
;V_DrawAltTLPatch+224
	ldbzx.xd %r9,%r4,%r1,2,2
	slli %r8,%r8,24
	slor %r6,%r7,%r6,8
;V_DrawAltTLPatch+240
	slor %r7,%r8,%r9,16
	or %r6,%r7,%r6
	ldbzx.xd %r8,%r3,%r6,0,0
;V_DrawAltTLPatch+256
	bweqi %r8,255,V_DrawAltTLPatch+192
	add %r6,%r3,%r6
	jmp V_DrawAltTLPatch+320
;V_DrawAltTLPatch+272
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawAltTLPatch+288
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawAltTLPatch+304
	bweqi %r8,255,V_DrawAltTLPatch+192
	nop 0
	nop 0
;V_DrawAltTLPatch+320
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawAltTLPatch+272
	andi %r8,%r8,255
;V_DrawAltTLPatch+336
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawAltTLPatch+352
	ldbzx.xd %r10,%r2,%r8,0,0
	ldbz %r11,%r9,0
	lddzr %r12,tinttable
;V_DrawAltTLPatch+368
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r12,%r10,0,0
	addiws %r7,%r7,-1
;V_DrawAltTLPatch+384
	addi %r9,%r9,1
	stbx.xd %r10,%r2,%r8,0,0
	addi %r8,%r8,320
;V_DrawAltTLPatch+400
	bwne %r7,%gz,V_DrawAltTLPatch+352
	ldbz %r7,%r6,1
	jmp V_DrawAltTLPatch+288
;V_DrawAltTLPatch+416
	retf 0
	nop 0
	nop 0
;V_DrawShadowedPatch
	alloc 15
	ldbs %r4,%r3,7
	ldbz %r5,%r3,6
;V_DrawShadowedPatch+16
	ldbs %r6,%r3,5
	ldbz %r7,%r3,4
	slor %r5,%r5,%r4,8
;V_DrawShadowedPatch+32
	slor %r4,%r7,%r6,8
	subws %r4,%r1,%r4
	subws %r2,%r2,%r5
;V_DrawShadowedPatch+48
	bwlt %r4,%gz,V_DrawShadowedPatch+112
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
;V_DrawShadowedPatch+64
	slor %r6,%r5,%r1,8
	addws %r1,%r4,%r6
	bwgei %r1,321,V_DrawShadowedPatch+112
;V_DrawShadowedPatch+80
	bwlt %r2,%gz,V_DrawShadowedPatch+112
	ldbs %r1,%r3,3
	ldbz %r5,%r3,2
;V_DrawShadowedPatch+96
	slor %r1,%r5,%r1,8
	addws %r1,%r2,%r1
	bwlti %r1,201,V_DrawShadowedPatch+144
;V_DrawShadowedPatch+112
	ldafr %r14,.rodata+12044
	callr %r13,I_Error
	ldbs %r1,%r3,1
;V_DrawShadowedPatch+128
	ldbz %r5,%r3,0
	slor %r6,%r5,%r1,8
	nop 0
;V_DrawShadowedPatch+144
	bwlti %r6,1,V_DrawShadowedPatch+464
	lddzr %r5,dest_screen
	mulwsi %r7,%r2,320
;V_DrawShadowedPatch+160
	addiws %r1,%r7,640
	ldax.xw %r2,%r5,%r1,0,0
	mov %r1,%gz
;V_DrawShadowedPatch+176
	sraiw %r8,%r4,0
	ldax.xw %r2,%r2,%r4,0,2
	addadd %r4,%r5,%r7,%r8
;V_DrawShadowedPatch+192
	addi %r5,%r3,8
	srliw %r6,%r6,0
	jmp V_DrawShadowedPatch+240
;V_DrawShadowedPatch+208
	addi %r1,%r1,1
	addi %r4,%r4,1
	addi %r2,%r2,1
;V_DrawShadowedPatch+224
	bdeq %r1,%r6,V_DrawShadowedPatch+464
	nop 0
	nop 0
;V_DrawShadowedPatch+240
	ldbzx.xd %r7,%r5,%r1,2,1
	ldbzx.xd %r8,%r5,%r1,2,0
	ldbsx.xd %r9,%r5,%r1,2,3
;V_DrawShadowedPatch+256
	ldbzx.xd %r10,%r5,%r1,2,2
	slli %r9,%r9,24
	slor %r7,%r8,%r7,8
;V_DrawShadowedPatch+272
	slor %r8,%r9,%r10,16
	or %r7,%r8,%r7
	ldbzx.xd %r9,%r3,%r7,0,0
;V_DrawShadowedPatch+288
	bweqi %r9,255,V_DrawShadowedPatch+208
	add %r7,%r3,%r7
	jmp V_DrawShadowedPatch+352
;V_DrawShadowedPatch+304
	mov %r8,%gz
	nop 0
	nop 0
;V_DrawShadowedPatch+320
	ldax.xd %r10,%r7,%r8,0,4
	ldbzx.xd %r9,%r7,%r8,0,4
	mov %r7,%r10
;V_DrawShadowedPatch+336
	bweqi %r9,255,V_DrawShadowedPatch+208
	nop 0
	nop 0
;V_DrawShadowedPatch+352
	ldbz %r8,%r7,1
	bweq %r8,%gz,V_DrawShadowedPatch+304
	andi %r9,%r9,255
;V_DrawShadowedPatch+368
	muli %r9,%r9,320
	addi %r10,%r7,3
	nop 0
;V_DrawShadowedPatch+384
	ldbzx.xd %r11,%r2,%r9,0,0
	lddzr %r12,tinttable
	slli %r11,%r11,8
;V_DrawShadowedPatch+400
	ldbzx.xd %r11,%r12,%r11,0,0
	stbx.xd %r11,%r2,%r9,0,0
	ldbz %r11,%r10,0
;V_DrawShadowedPatch+416
	addiws %r8,%r8,-1
	addi %r10,%r10,1
	stbx.xd %r11,%r4,%r9,0,0
;V_DrawShadowedPatch+432
	addi %r9,%r9,320
	bwne %r8,%gz,V_DrawShadowedPatch+384
	ldbz %r8,%r7,1
;V_DrawShadowedPatch+448
	jmp V_DrawShadowedPatch+320
	nop 0
	nop 0
;V_DrawShadowedPatch+464
	retf 0
	nop 0
	nop 0
;V_LoadTintTable
	alloc 4
	ldafr %r2,.rodata+1936
	ldi %r3,1
;V_LoadTintTable+16
	callr %r1,W_CacheLumpName
	stdr %r2,tinttable
	retf 0
;V_LoadXlaTable
	alloc 4
	ldafr %r2,.rodata+2849
	ldi %r3,1
;V_LoadXlaTable+16
	callr %r1,W_CacheLumpName
	stdr %r2,xlatab
	retf 0
;V_DrawBlock
	alloc 14
	addws %r8,%r3,%r1
	addws %r9,%r4,%r2
;V_DrawBlock+16
	bwlt %r1,%gz,V_DrawBlock+48
	bwlt %r2,%gz,V_DrawBlock+48
	bwgei %r8,321,V_DrawBlock+48
;V_DrawBlock+32
	bwlti %r9,201,V_DrawBlock+64
	nop 0
	nop 0
;V_DrawBlock+48
	ldafr %r13,.rodata+1944
	callr %r12,I_Error
	nop 0
;V_DrawBlock+64
	lddzr %r6,dest_screen
	lddzr %r7,I_VideoBuffer
	bdne %r6,%r7,V_DrawBlock+128
;V_DrawBlock+80
	ldafr %r6,dirtybox
	mov2 %r11,%r12,%r6,%r1
	mov %r13,%r2
;V_DrawBlock+96
	callr %r10,M_AddToBox
	addiws %r12,%r8,-1
	addiws %r13,%r9,-1
;V_DrawBlock+112
	mov %r11,%r6
	callr %r10,M_AddToBox
	nop 0
;V_DrawBlock+128
	bweq %r4,%gz,V_DrawBlock+208
	lddzr %r6,dest_screen
	mulwsi %r2,%r2,320
;V_DrawBlock+144
	sraiw %r1,%r1,0
	addadd %r1,%r6,%r2,%r1
	sraiw %r2,%r3,0
;V_DrawBlock+160
	addiws %r4,%r4,-1
	mov2 %r11,%r12,%r1,%r5
	mov %r13,%r2
;V_DrawBlock+176
	callr %r10,memcpy
	add %r5,%r5,%r2
	addi %r1,%r1,320
;V_DrawBlock+192
	bwne %r4,%gz,V_DrawBlock+160
	nop 0
	nop 0
;V_DrawBlock+208
	retf 0
	nop 0
	nop 0
;V_DrawFilledBox
	alloc 12
	bwlti %r4,1,V_DrawFilledBox+96
	lddzr %r6,I_VideoBuffer
;V_DrawFilledBox+16
	mov %r7,%gz
	mulwsi %r2,%r2,320
	sraiw %r1,%r1,0
;V_DrawFilledBox+32
	addadd %r1,%r6,%r2,%r1
	srliw %r2,%r3,0
	jmp V_DrawFilledBox+64
;V_DrawFilledBox+48
	addiws %r7,%r7,1
	addi %r1,%r1,320
	bwle %r4,%r7,V_DrawFilledBox+96
;V_DrawFilledBox+64
	bwlti %r3,1,V_DrawFilledBox+48
	mov2 %r9,%r10,%r1,%r5
	mov %r11,%r2
;V_DrawFilledBox+80
	callr %r8,memset
	jmp V_DrawFilledBox+48
	nop 0
;V_DrawFilledBox+96
	retf 0
	nop 0
	nop 0
;V_DrawHorizLine
	alloc 10
	bwlti %r3,1,V_DrawHorizLine+48
	lddzr %r5,I_VideoBuffer
;V_DrawHorizLine+16
	mulwsi %r2,%r2,320
	sraiw %r1,%r1,0
	addadd %r7,%r5,%r2,%r1
;V_DrawHorizLine+32
	srliw %r9,%r3,0
	mov %r8,%r4
	callr %r6,memset
;V_DrawHorizLine+48
	retf 0
	nop 0
	nop 0
;V_DrawVertLine
	alloc 7
	bwlti %r3,1,V_DrawVertLine+80
	lddzr %r6,I_VideoBuffer
;V_DrawVertLine+16
	mov %r5,%gz
	mulwsi %r2,%r2,320
	sraiw %r1,%r1,0
;V_DrawVertLine+32
	addadd %r1,%r6,%r2,%r1
	nop 0
	nop 0
;V_DrawVertLine+48
	stb %r4,%r1,0
	addiws %r5,%r5,1
	addi %r1,%r1,320
;V_DrawVertLine+64
	bwlt %r5,%r3,V_DrawVertLine+48
	nop 0
	nop 0
;V_DrawVertLine+80
	retf 0
	nop 0
	nop 0
;V_DrawBox
	alloc 14
	mulwsi %r8,%r2,320
	sraiw %r9,%r1,0
;V_DrawBox+16
	bwlti %r3,1,V_DrawBox+96
	lddzr %r6,I_VideoBuffer
	addadd %r11,%r6,%r8,%r9
;V_DrawBox+32
	srliw %r6,%r3,0
	mov2 %r12,%r13,%r5,%r6
	callr %r10,memset
;V_DrawBox+48
	lddzr %r7,I_VideoBuffer
	addws %r2,%r4,%r2
	mulwsi %r2,%r2,320
;V_DrawBox+64
	addiws %r2,%r2,-320
	addadd %r11,%r7,%r2,%r9
	mov2 %r12,%r13,%r5,%r6
;V_DrawBox+80
	callr %r10,memset
	nop 0
	nop 0
;V_DrawBox+96
	bwlti %r4,1,V_DrawBox+208
	lddzr %r6,I_VideoBuffer
	mov %r2,%gz
;V_DrawBox+112
	addadd %r6,%r6,%r8,%r9
	nop 0
	nop 0
;V_DrawBox+128
	stb %r5,%r6,0
	addiws %r2,%r2,1
	addi %r6,%r6,320
;V_DrawBox+144
	bwlt %r2,%r4,V_DrawBox+128
	lddzr %r6,I_VideoBuffer
	mov %r2,%gz
;V_DrawBox+160
	addws %r1,%r3,%r1
	add %r3,%r6,%r8
	ldax.xw %r1,%r3,%r1,0,-1
;V_DrawBox+176
	stb %r5,%r1,0
	addiws %r2,%r2,1
	addi %r1,%r1,320
;V_DrawBox+192
	bwlt %r2,%r4,V_DrawBox+176
	nop 0
	nop 0
;V_DrawBox+208
	retf 0
	nop 0
	nop 0
;V_DrawRawScreen
	alloc 6
	lddzr %r3,dest_screen
	ldi %r5,64000
;V_DrawRawScreen+16
	mov %r4,%r1
	callr %r2,memcpy
	retf 0
;V_Init
	alloc 1
	retf 0
	nop 0
;V_UseBuffer
	alloc 2
	stdr %r1,dest_screen
	retf 0
;V_RestoreBuffer
	alloc 2
	lddzr %r1,I_VideoBuffer
	stdr %r1,dest_screen
;V_RestoreBuffer+16
	retf 0
	nop 0
	nop 0
;WritePCXfile
	alloc 16
	mulws %r8,%r4,%r3
	ldi %r6,1000
;WritePCXfile+16
	sladdws %r13,%r6,%r8,1
	ldi %r7,1
	mov2 %r14,%r15,%r7,%gz
;WritePCXfile+32
	callr %r12,Z_Malloc
	mov %r6,%r13
	ldi %r9,10
;WritePCXfile+48
	stb %r9,%r13,0
	ldi %r9,5
	stb %r9,%r13,1
;WritePCXfile+64
	stb %r7,%r13,2
	ldi %r9,8
	stb %r9,%r13,3
;WritePCXfile+80
	stb %gz,%r13,5
	stb %gz,%r13,4
	stb %gz,%r13,7
;WritePCXfile+96
	stb %gz,%r13,6
	addiws %r9,%r3,-1
	srliw %r10,%r9,8
;WritePCXfile+112
	stb %r10,%r13,9
	stb %r9,%r13,8
	addiws %r9,%r4,-1
;WritePCXfile+128
	srliw %r10,%r9,8
	stb %r10,%r13,11
	stb %r9,%r13,10
;WritePCXfile+144
	srliw %r9,%r3,8
	stb %r9,%r13,13
	stb %r3,%r13,12
;WritePCXfile+160
	srliw %r10,%r4,8
	stb %r10,%r13,15
	stb %r4,%r13,14
;WritePCXfile+176
	addi %r13,%r13,16
	ldi %r15,48
	mov %r14,%gz
;WritePCXfile+192
	callr %r12,memset
	stb %r7,%r6,65
	stb %r9,%r6,67
;WritePCXfile+208
	stb %r3,%r6,66
	stb %gz,%r6,69
	ldi %r3,2
;WritePCXfile+224
	stb %r3,%r6,68
	addi %r13,%r6,70
	ldi %r15,58
;WritePCXfile+240
	mov %r14,%gz
	callr %r12,memset
	addi %r3,%r6,128
;WritePCXfile+256
	bwlti %r8,1,WritePCXfile+384
	mov %r4,%gz
	ldi %r9,193
;WritePCXfile+272
	jmp WritePCXfile+352
	nop 0
	nop 0
;WritePCXfile+288
	stb %r9,%r3,0
	ldbz %r10,%r2,0
	addi %r11,%r3,2
;WritePCXfile+304
	stb %r10,%r3,1
	nop 0
	nop 0
;WritePCXfile+320
	mov %r3,%r11
	addiws %r4,%r4,1
	addi %r2,%r2,1
;WritePCXfile+336
	bwle %r8,%r4,WritePCXfile+384
	nop 0
	nop 0
;WritePCXfile+352
	ldbz %r10,%r2,0
	bwgeui %r10,192,WritePCXfile+288
	addi %r11,%r3,1
;WritePCXfile+368
	stb %r10,%r3,0
	jmp WritePCXfile+320
	nop 0
;WritePCXfile+384
	mov %r4,%gz
	ldi %r2,12
	stb %r2,%r3,0
;WritePCXfile+400
	addi %r2,%r3,1
	addsub %r15,%r3,%r7,%r6
	nop 0
;WritePCXfile+416
	ldbz %r3,%r5,0
	mov %r7,%r4
	addi %r5,%r5,1
;WritePCXfile+432
	stb %r3,%r2,0
	addiws %r4,%r4,1
	addi %r2,%r2,1
;WritePCXfile+448
	addi %r15,%r15,1
	bwltui %r7,767,WritePCXfile+416
	mov2 %r13,%r14,%r1,%r6
;WritePCXfile+464
	callr %r12,M_WriteFile
	mov %r15,%r6
	callr %r14,Z_Free
;WritePCXfile+480
	retf 0
	nop 0
	nop 0
;V_ScreenShot
	allocsp 13,32
	mov %r4,%gz
	ldafr %r5,.rodata+5848
;V_ScreenShot+16
	addi %r2,%sp,16
	ldi %r3,16
	nop 0
;V_ScreenShot+32
	mov %r6,%r4
	std %r5,%sp,8
	stw %r4,%sp,0
;V_ScreenShot+48
	mov2 %r10,%r11,%r2,%r3
	mov %r12,%r1
	callr %r9,M_snprintf
;V_ScreenShot+64
	mov %r12,%r2
	callr %r11,M_FileExists
	bweq %r12,%gz,V_ScreenShot+112
;V_ScreenShot+80
	addiws %r4,%r6,1
	bwltui %r6,99,V_ScreenShot+32
	ldafr %r12,.rodata+27274
;V_ScreenShot+96
	callr %r11,I_Error
	nop 0
	nop 0
;V_ScreenShot+112
	lddzr %r9,I_VideoBuffer
	ldafr %r11,.rodata+27930
	ldi %r12,8
;V_ScreenShot+128
	callr %r10,W_CacheLumpName
	mov %r12,%r11
	addi %r8,%sp,16
;V_ScreenShot+144
	ldi %r10,320
	ldi %r11,200
	callr %r7,WritePCXfile
;V_ScreenShot+160
	retf 32
	nop 0
	nop 0
;V_DrawMouseSpeedBox
	alloc 17
	ldi %r2,119
	mov2 %r14,%r15,%r2,%r2
;V_DrawMouseSpeedBox+16
	mov %r16,%r2
	callr %r13,I_GetPaletteIndex
	mov %r8,%r14
;V_DrawMouseSpeedBox+32
	ldi %r14,85
	mov2 %r15,%r16,%r14,%r14
	callr %r13,I_GetPaletteIndex
;V_DrawMouseSpeedBox+48
	mov %r7,%r14
	ldi %r5,255
	mov2 %r14,%r15,%r5,%gz
;V_DrawMouseSpeedBox+64
	mov %r16,%gz
	callr %r13,I_GetPaletteIndex
	mov2 %r3,%r14,%r14,%gz
;V_DrawMouseSpeedBox+80
	mov2 %r15,%r16,%gz,%gz
	callr %r13,I_GetPaletteIndex
	mov2 %r6,%r14,%r14,%r5
;V_DrawMouseSpeedBox+96
	mov2 %r15,%r16,%r5,%gz
	callr %r13,I_GetPaletteIndex
	mov2 %r4,%r14,%r14,%r5
;V_DrawMouseSpeedBox+112
	mov2 %r15,%r16,%r5,%r5
	callr %r13,I_GetPaletteIndex
	ldwzr %r5,usemouse
;V_DrawMouseSpeedBox+128
	bweq %r5,%gz,V_DrawMouseSpeedBox+640
	ldwzr %r5,mouse_acceleration
	nop 2
;V_DrawMouseSpeedBox+144
	ldi.l %r9,-1082130432
	faddss %r5,%r5,%r9
;V_DrawMouseSpeedBox+160
	fabsss %r5,%r5
	fextss2sd %r5,%r5
	nop 2
;V_DrawMouseSpeedBox+176
	ldi.l %r9,4576918229304087675
	bfsdolt %r5,%r9,V_DrawMouseSpeedBox+640
;V_DrawMouseSpeedBox+192
	mov %r5,%r14
	lddzr %r9,I_VideoBuffer
	mov %r11,%gz
;V_DrawMouseSpeedBox+208
	addi %r9,%r9,4990
	ldi %r10,120
	nop 0
;V_DrawMouseSpeedBox+224
	mov2 %r12,%r14,%r11,%r9
	mov2 %r15,%r16,%r8,%r10
	callr %r13,memset
;V_DrawMouseSpeedBox+240
	addi %r9,%r9,320
	addiws %r11,%r11,1
	bwltui %r12,8,V_DrawMouseSpeedBox+224
;V_DrawMouseSpeedBox+256
	lddzr %r8,I_VideoBuffer
	addi %r14,%r8,4990
	ldi %r8,120
;V_DrawMouseSpeedBox+272
	mov2 %r15,%r16,%r7,%r8
	callr %r13,memset
	lddzr %r9,I_VideoBuffer
;V_DrawMouseSpeedBox+288
	addi %r14,%r9,7550
	mov2 %r15,%r16,%r7,%r8
	callr %r13,memset
;V_DrawMouseSpeedBox+304
	lddzr %r8,I_VideoBuffer
	mov %r9,%gz
	addi %r8,%r8,4990
;V_DrawMouseSpeedBox+320
	mov %r10,%r9
	stb %r7,%r8,0
	addi %r8,%r8,320
;V_DrawMouseSpeedBox+336
	addiws %r9,%r9,1
	bwltui %r10,8,V_DrawMouseSpeedBox+320
	lddzr %r8,I_VideoBuffer
;V_DrawMouseSpeedBox+352
	mov %r9,%gz
	addi %r8,%r8,5109
	nop 0
;V_DrawMouseSpeedBox+368
	mov %r10,%r9
	stb %r7,%r8,0
	addi %r8,%r8,320
;V_DrawMouseSpeedBox+384
	addiws %r9,%r9,1
	bwltui %r10,8,V_DrawMouseSpeedBox+368
	ldwzr %r7,mouse_threshold
;V_DrawMouseSpeedBox+400
	bwlt %r1,%r7,V_DrawMouseSpeedBox+448
	ldwzr %r8,mouse_acceleration
	subws %r1,%r1,%r7
;V_DrawMouseSpeedBox+416
	fcvtiw2ss %r1,%r1,0
	fdivss %r1,%r1,%r8
	fcvtss2iw %r1,%r1,0
;V_DrawMouseSpeedBox+432
	addws %r1,%r7,%r1
	nop 0
	nop 0
;V_DrawMouseSpeedBox+448
	mulwsi %r1,%r1,40
	divw %r7,%r1,%r7
	lddzr %r1,I_VideoBuffer
;V_DrawMouseSpeedBox+464
	minsw %r2,%r7,%r2
	addi %r14,%r1,6271
	ldi %r16,118
;V_DrawMouseSpeedBox+480
	mov %r15,%r6
	callr %r13,memset
	bwgei %r7,40,V_DrawMouseSpeedBox+512
;V_DrawMouseSpeedBox+496
	bwle %r7,%gz,V_DrawMouseSpeedBox+592
	ldi %r1,6271
	jmp V_DrawMouseSpeedBox+560
;V_DrawMouseSpeedBox+512
	lddzr %r1,I_VideoBuffer
	addi %r14,%r1,6271
	ldi %r16,40
;V_DrawMouseSpeedBox+528
	mov %r15,%r5
	callr %r13,memset
	bweqi %r7,40,V_DrawMouseSpeedBox+592
;V_DrawMouseSpeedBox+544
	addiws %r2,%r2,-40
	ldi %r1,6310
	mov %r5,%r4
;V_DrawMouseSpeedBox+560
	lddzr %r4,I_VideoBuffer
	add %r14,%r4,%r1
	srliw %r16,%r2,0
;V_DrawMouseSpeedBox+576
	mov %r15,%r5
	callr %r13,memset
	nop 0
;V_DrawMouseSpeedBox+592
	lddzr %r1,I_VideoBuffer
	mov %r2,%gz
	addi %r1,%r1,5350
;V_DrawMouseSpeedBox+608
	mov %r4,%r2
	stb %r3,%r1,0
	addi %r1,%r1,320
;V_DrawMouseSpeedBox+624
	addiws %r2,%r2,1
	bwltui %r4,6,V_DrawMouseSpeedBox+608
	nop 0
;V_DrawMouseSpeedBox+640
	retf 0
	nop 0
	nop 0
;WI_slamBackground
	alloc 5
	lddzr %r4,background
	mov2 %r2,%r3,%gz,%gz
;WI_slamBackground+16
	callr %r1,V_DrawPatch
	retf 0
	nop 0
;WI_Responder
	alloc 2
	mov %r1,%gz
	retf 0
;WI_drawLF
	allocsp 9,48
	ldwzr %r2,gamemode
	lddzr %r1,wbs
;WI_drawLF+16
	ldwz %r1,%r1,8
	bwnei %r2,2,WI_drawLF+48
	ldbzr %r2,NUMCMAPS
;WI_drawLF+32
	ldi %r3,32
	cmovlsb %r2,%r2,%r3,%gz
	bwle %r2,%r1,WI_drawLF+256
;WI_drawLF+48
	lddzr %r2,lnames
	lddzx.xw %r8,%r2,%r1,3,0
	ldbs %r1,%r8,1
;WI_drawLF+64
	ldbz %r2,%r8,0
	slor %r1,%r2,%r1,8
	subfiws %r1,%r1,320
;WI_drawLF+80
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
;WI_drawLF+96
	ldi %r7,2
	callr %r5,V_DrawPatch
	lddzr %r1,wbs
;WI_drawLF+112
	lddzr %r2,lnames
	ldws %r1,%r1,8
	lddzx.xd %r1,%r2,%r1,3,0
;WI_drawLF+128
	ldbs %r2,%r1,3
	ldbz %r1,%r1,2
	lddzr %r8,finished
;WI_drawLF+144
	slor %r1,%r1,%r2,8
	mulwsi %r1,%r1,5
	ldbs %r2,%r8,1
;WI_drawLF+160
	ldbz %r3,%r8,0
	srliw %r4,%r1,30
	addws %r1,%r1,%r4
;WI_drawLF+176
	sraiw %r1,%r1,2
	addiws %r7,%r1,2
	slor %r1,%r3,%r2,8
;WI_drawLF+192
	subfiws %r1,%r1,320
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
;WI_drawLF+208
	sraiw %r6,%r1,1
	nop 0
	nop 0
;WI_drawLF+224
	callr %r5,V_DrawPatch
	nop 0
	nop 0
;WI_drawLF+240
	retf 48
	nop 0
	nop 0
;WI_drawLF+256
	bwleu %r1,%r2,WI_drawLF+240
	sth %gz,%sp,46
	sth %gz,%sp,44
;WI_drawLF+272
	sth %gz,%sp,42
	sth %gz,%sp,40
	sth %gz,%sp,38
;WI_drawLF+288
	sth %gz,%sp,36
	sth %gz,%sp,34
	sth %gz,%sp,32
;WI_drawLF+304
	sth %gz,%sp,30
	sth %gz,%sp,28
	sth %gz,%sp,26
;WI_drawLF+320
	sth %gz,%sp,24
	sth %gz,%sp,22
	sth %gz,%sp,20
;WI_drawLF+336
	sth %gz,%sp,18
	sth %gz,%sp,16
	ldi %r1,320
;WI_drawLF+352
	sth %r1,%sp,8
	ldi %r1,200
	sth %r1,%sp,10
;WI_drawLF+368
	ldi %r1,1
	sth %r1,%sp,12
	sth %r1,%sp,14
;WI_drawLF+384
	ldi %r7,2
	addi %r8,%sp,8
	mov %r6,%gz
;WI_drawLF+400
	jmp WI_drawLF+224
	nop 0
	nop 0
;WI_drawEL
	alloc 9
	lddzr %r8,entering
	ldbs %r1,%r8,1
;WI_drawEL+16
	ldbz %r2,%r8,0
	slor %r1,%r2,%r1,8
	subfiws %r1,%r1,320
;WI_drawEL+32
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
;WI_drawEL+48
	ldi %r7,2
	callr %r5,V_DrawPatch
	lddzr %r1,wbs
;WI_drawEL+64
	lddzr %r2,lnames
	ldws %r1,%r1,12
	lddzx.xd %r8,%r2,%r1,3,0
;WI_drawEL+80
	ldbs %r1,%r8,3
	ldbz %r2,%r8,2
	slor %r1,%r2,%r1,8
;WI_drawEL+96
	mulwsi %r1,%r1,5
	ldbs %r2,%r8,1
	ldbz %r3,%r8,0
;WI_drawEL+112
	srliw %r4,%r1,30
	addws %r1,%r1,%r4
	sraiw %r1,%r1,2
;WI_drawEL+128
	addiws %r7,%r1,2
	slor %r1,%r3,%r2,8
	subfiws %r1,%r1,320
;WI_drawEL+144
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
;WI_drawEL+160
	callr %r5,V_DrawPatch
	retf 0
	nop 0
;WI_drawOnLnode
	allocsp 15,16
	lddzr %r3,wbs
	ldws %r3,%r3,0
;WI_drawOnLnode+16
	muli %r3,%r3,72
	ldax.xw %r4,%r3,%r1,3,0
	mov %r3,%gz
;WI_drawOnLnode+32
	ldafr %r5,lnodes
	ldwzx.xd %r12,%r4,%r5,0,0
	ldafr %r5,lnodes+4
;WI_drawOnLnode+48
	ldwzx.xd %r13,%r4,%r5,0,0
	lddz %r4,%r2,0
	nop 0
;WI_drawOnLnode+64
	ldbs %r5,%r4,5
	ldbz %r6,%r4,4
	slor %r5,%r6,%r5,8
;WI_drawOnLnode+80
	ldbz %r6,%r4,7
	ldbz %r7,%r4,6
	ldbs %r8,%r4,1
;WI_drawOnLnode+96
	ldbz %r9,%r4,0
	ldbs %r10,%r4,3
	ldbz %r4,%r4,2
;WI_drawOnLnode+112
	subws %r5,%r12,%r5
	slor %r6,%r7,%r6,8
	slsrai %r6,%r6,48,48
;WI_drawOnLnode+128
	subws %r6,%r13,%r6
	slor %r7,%r9,%r8,8
	addws %r7,%r5,%r7
;WI_drawOnLnode+144
	slor %r4,%r4,%r10,8
	addws %r4,%r6,%r4
	or %r5,%r5,%r6
;WI_drawOnLnode+160
	cmpwgti %r6,%r7,319
	cmpwlti %r5,%r5,0
	cmpwgti %r4,%r4,199
;WI_drawOnLnode+176
	or %r4,%r6,%r4
	or %r4,%r4,%r5
	addws %r3,%r3,%r4
;WI_drawOnLnode+192
	bbci %r4,0,WI_drawOnLnode+224
	bweqi %r3,2,WI_drawOnLnode+224
	lddzx.xuw %r4,%r2,%r3,3,0
;WI_drawOnLnode+208
	bdne %r4,%gz,WI_drawOnLnode+64
	jmp WI_drawOnLnode+240
	nop 0
;WI_drawOnLnode+224
	cmpwgtui %r5,%r3,1
	or %r4,%r4,%r5
	bbci %r4,0,WI_drawOnLnode+272
;WI_drawOnLnode+240
	addiws %r1,%r1,1
	ldafr %r14,.rodata+23804
	stw %r1,%sp,0
;WI_drawOnLnode+256
	callr %r13,printf
	retf 16
	nop 0
;WI_drawOnLnode+272
	lddzx.xuw %r14,%r2,%r3,3,0
	callr %r11,V_DrawPatch
	retf 16
;WI_initAnimatedBack
	alloc 11
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_initAnimatedBack+32
;WI_initAnimatedBack+16
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwlti %r1,3,WI_initAnimatedBack+48
;WI_initAnimatedBack+32
	retf 0
	nop 0
	nop 0
;WI_initAnimatedBack+48
	mov2 %r2,%r3,%gz,%gz
	sraiw %r1,%r1,0
	ldafr %r4,anims
;WI_initAnimatedBack+64
	ldi %r5,-1
	ldafr %r6,NUMANIMS
	jmp WI_initAnimatedBack+144
;WI_initAnimatedBack+80
	ldwzr %r1,bcnt
	nop 0
	nop 0
;WI_initAnimatedBack+96
	addiws %r1,%r1,1
	stwx.xd %r1,%r7,%r2,0,56
	nop 0
;WI_initAnimatedBack+112
	lddzr %r1,wbs
	ldws %r1,%r1,0
	ldwsx.xd %r7,%r6,%r1,2,0
;WI_initAnimatedBack+128
	addi %r3,%r3,1
	addi %r2,%r2,72
	bdle %r7,%r3,WI_initAnimatedBack+32
;WI_initAnimatedBack+144
	lddzx.xd %r7,%r4,%r1,3,0
	stwx.xd %r5,%r7,%r2,0,64
	ldwzx.xd %r1,%r7,%r2,0,0
;WI_initAnimatedBack+160
	bweqi %r1,2,WI_initAnimatedBack+80
	bweqi %r1,1,WI_initAnimatedBack+208
	bwne %r1,%gz,WI_initAnimatedBack+112
;WI_initAnimatedBack+176
	ldwzr %r8,bcnt
	callr %r9,M_Random
	ldwzx.xd %r1,%r7,%r2,0,4
;WI_initAnimatedBack+192
	jmp WI_initAnimatedBack+240
	nop 0
	nop 0
;WI_initAnimatedBack+208
	ldwzr %r1,bcnt
	ldwzx.xd %r8,%r7,%r2,0,24
	addws %r8,%r1,%r8
;WI_initAnimatedBack+224
	callr %r9,M_Random
	ldwzx.xd %r1,%r7,%r2,0,20
	nop 0
;WI_initAnimatedBack+240
	modw %r1,%r10,%r1
	addws %r1,%r8,%r1
	jmp WI_initAnimatedBack+96
;WI_updateAnimatedBack
	alloc 15
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_updateAnimatedBack+32
;WI_updateAnimatedBack+16
	lddzr %r1,wbs
	ldwz %r4,%r1,0
	bwlti %r4,3,WI_updateAnimatedBack+48
;WI_updateAnimatedBack+32
	retf 0
	nop 0
	nop 0
;WI_updateAnimatedBack+48
	mov2 %r2,%r3,%gz,%gz
	sraiw %r8,%r4,0
	ldwzr %r7,bcnt
;WI_updateAnimatedBack+64
	ldafr %r4,anims
	ldi %r5,-1
	ldafr %r6,NUMANIMS
;WI_updateAnimatedBack+80
	jmp WI_updateAnimatedBack+160
	nop 0
	nop 0
;WI_updateAnimatedBack+96
	stwx.xd %r10,%r9,%r2,0,64
	nop 0
	nop 0
;WI_updateAnimatedBack+112
	ldwzx.xd %r9,%r9,%r2,0,4
	addws %r9,%r9,%r7
	stw %r9,%r8,56
;WI_updateAnimatedBack+128
	ldws %r8,%r1,0
	ldwsx.xd %r9,%r6,%r8,2,0
	addi %r3,%r3,1
;WI_updateAnimatedBack+144
	addi %r2,%r2,72
	bdle %r9,%r3,WI_updateAnimatedBack+32
	nop 0
;WI_updateAnimatedBack+160
	lddzx.xd %r9,%r4,%r8,3,0
	ldwzx.xd %r8,%r9,%r2,0,56
	bwne %r7,%r8,WI_updateAnimatedBack+128
;WI_updateAnimatedBack+176
	add %r8,%r9,%r2
	ldwz %r10,%r8,0
	bweqi %r10,2,WI_updateAnimatedBack+336
;WI_updateAnimatedBack+192
	bweqi %r10,1,WI_updateAnimatedBack+240
	bwne %r10,%gz,WI_updateAnimatedBack+128
	ldwzx.xd %r10,%r9,%r2,0,64
;WI_updateAnimatedBack+208
	ldwzx.xd %r11,%r9,%r2,0,8
	addiws %r10,%r10,1
	cmpwlt %r11,%r10,%r11
;WI_updateAnimatedBack+224
	cmovlsb %r10,%r11,%r10,%gz
	jmp WI_updateAnimatedBack+96
	nop 0
;WI_updateAnimatedBack+240
	ldwzx.xd %r10,%r9,%r2,0,64
	addiws %r10,%r10,1
	stwx.xd %r10,%r9,%r2,0,64
;WI_updateAnimatedBack+256
	ldwzx.xd %r11,%r9,%r2,0,8
	bwne %r10,%r11,WI_updateAnimatedBack+112
	stw %r5,%r8,64
;WI_updateAnimatedBack+272
	ldwzx.xd %r1,%r9,%r2,0,24
	addws %r7,%r1,%r7
	callr %r13,M_Random
;WI_updateAnimatedBack+288
	ldwzx.xd %r1,%r9,%r2,0,20
	modw %r1,%r14,%r1
	addws %r1,%r7,%r1
;WI_updateAnimatedBack+304
	stw %r1,%r8,56
	ldwzr %r7,bcnt
	lddzr %r1,wbs
;WI_updateAnimatedBack+320
	jmp WI_updateAnimatedBack+128
	nop 0
	nop 0
;WI_updateAnimatedBack+336
	bdnei %r3,7,WI_updateAnimatedBack+352
	ldwzr %r10,state
	bweq %r10,%gz,WI_updateAnimatedBack+128
;WI_updateAnimatedBack+352
	ldwz %r10,%r1,12
	ldwzx.xd %r11,%r9,%r2,0,20
	bwne %r10,%r11,WI_updateAnimatedBack+128
;WI_updateAnimatedBack+368
	ldwzx.xd %r10,%r9,%r2,0,64
	ldwzx.xd %r11,%r9,%r2,0,8
	addiws %r12,%r10,1
;WI_updateAnimatedBack+384
	cmpweq %r11,%r12,%r11
	cmovlsb %r10,%r11,%r10,%r12
	jmp WI_updateAnimatedBack+96
;WI_drawAnimatedBack
	alloc 12
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_drawAnimatedBack+32
;WI_drawAnimatedBack+16
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwlti %r1,3,WI_drawAnimatedBack+48
;WI_drawAnimatedBack+32
	retf 0
	nop 0
	nop 0
;WI_drawAnimatedBack+48
	mov2 %r2,%r3,%gz,%gz
	sraiw %r6,%r1,0
	ldafr %r4,anims
;WI_drawAnimatedBack+64
	ldafr %r5,NUMANIMS
	jmp WI_drawAnimatedBack+112
	nop 0
;WI_drawAnimatedBack+80
	ldwsx.xw %r7,%r5,%r1,2,0
	addi %r3,%r3,1
	sraiw %r6,%r1,0
;WI_drawAnimatedBack+96
	addi %r2,%r2,72
	bdle %r7,%r3,WI_drawAnimatedBack+32
	nop 0
;WI_drawAnimatedBack+112
	lddzx.xd %r6,%r4,%r6,3,0
	ldwzx.xd %r7,%r6,%r2,0,64
	bwlt %r7,%gz,WI_drawAnimatedBack+80
;WI_drawAnimatedBack+128
	add %r1,%r6,%r2
	ldwzx.xd %r9,%r6,%r2,0,12
	ldwzx.xd %r10,%r6,%r2,0,16
;WI_drawAnimatedBack+144
	lddzx.xuw %r11,%r1,%r7,3,32
	callr %r8,V_DrawPatch
	lddzr %r1,wbs
;WI_drawAnimatedBack+160
	ldwz %r1,%r1,0
	jmp WI_drawAnimatedBack+80
	nop 0
;WI_drawNum
	alloc 15
	lddzr %r7,num
	mov %r5,%r1
;WI_drawNum+16
	ldbs %r6,%r7,1
	ldbz %r7,%r7,0
	bwgei %r4,0,WI_drawNum+96
;WI_drawNum+32
	bweq %r3,%gz,WI_drawNum+144
	mov2 %r4,%r1,%gz,%r3
	nop 0
;WI_drawNum+48
	sraiw %r8,%r1,0
	muli.l %r8,%r8,1717986919
;WI_drawNum+64
	srli %r9,%r8,63
	srai %r8,%r8,34
	addiws %r10,%r1,9
;WI_drawNum+80
	addws %r1,%r8,%r9
	addiws %r4,%r4,1
	bwgeui %r10,19,WI_drawNum+48
;WI_drawNum+96
	absdw %r8,%r3,%gz
	mov %r1,%gz
	nop 2
;WI_drawNum+112
	bweqi.l %r8,1994,WI_drawNum+288
	cmpwlti %r3,%r3,0
;WI_drawNum+128
	bwne %r4,%gz,WI_drawNum+160
	jmp WI_drawNum+256
	nop 0
;WI_drawNum+144
	mov2 %r3,%r8,%gz,%gz
	ldi %r4,1
	nop 0
;WI_drawNum+160
	slor %r6,%r7,%r6,8
	ldafr %r7,num
	nop 0
;WI_drawNum+176
	addiws %r4,%r4,-1
	subws %r5,%r5,%r6
	srliw %r1,%r8,0
;WI_drawNum+192
	muli.l %r1,%r1,3435973837
	srli %r9,%r1,35
;WI_drawNum+208
	mulwsi %r1,%r9,10
	subws %r1,%r8,%r1
	lddzx.xuw %r14,%r7,%r1,3,0
;WI_drawNum+224
	mov2 %r12,%r13,%r5,%r2
	callr %r11,V_DrawPatch
	mov %r8,%r9
;WI_drawNum+240
	bwne %r4,%gz,WI_drawNum+176
	nop 0
	nop 0
;WI_drawNum+256
	bbci %r3,0,WI_drawNum+304
	addiws %r1,%r5,-8
	lddzr %r14,wiminus
;WI_drawNum+272
	mov2 %r12,%r13,%r1,%r2
	callr %r11,V_DrawPatch
	nop 0
;WI_drawNum+288
	retf 0
	nop 0
	nop 0
;WI_drawNum+304
	mov %r1,%r5
	retf 0
	nop 0
;WI_drawPercent
	alloc 9
	bwlt %r3,%gz,WI_drawPercent+48
	lddzr %r8,percent
;WI_drawPercent+16
	mov2 %r6,%r7,%r1,%r2
	callr %r5,V_DrawPatch
	ldi %r8,-1
;WI_drawPercent+32
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
	callr %r4,WI_drawNum
;WI_drawPercent+48
	retf 0
	nop 0
	nop 0
;WI_drawTime
	alloc 13
	bwlt %r3,%gz,WI_drawTime+240
	mov %r4,%r1
;WI_drawTime+16
	bwgeui.l %r3,3600,WI_drawTime+192
	ldi %r6,1
;WI_drawTime+32
	ldi %r1,2
	jmp WI_drawTime+80
	nop 0
;WI_drawTime+48
	mov2 %r10,%r11,%r4,%r2
	callr %r9,V_DrawPatch
	nop 0
;WI_drawTime+64
	bwltu %r3,%r6,WI_drawTime+240
	nop 0
	nop 0
;WI_drawTime+80
	mov %r5,%r6
	divuw %r6,%r3,%r6
	srliw %r7,%r6,0
;WI_drawTime+96
	muli.l %r7,%r7,2290649225
	srli %r7,%r7,37
;WI_drawTime+112
	mulwsi %r7,%r7,60
	subws %r11,%r6,%r7
	mov2 %r9,%r10,%r4,%r2
;WI_drawTime+128
	mov %r12,%r1
	callr %r8,WI_drawNum
	lddzr %r12,colon
;WI_drawTime+144
	ldbs %r4,%r12,1
	ldbz %r6,%r12,0
	slor %r4,%r6,%r4,8
;WI_drawTime+160
	subws %r4,%r9,%r4
	mulwsi %r6,%r5,60
	bweqi %r5,1,WI_drawTime+48
;WI_drawTime+176
	bwltu %r3,%r6,WI_drawTime+64
	jmp WI_drawTime+48
	nop 0
;WI_drawTime+192
	lddzr %r12,sucks
	ldbs %r1,%r12,1
	ldbz %r3,%r12,0
;WI_drawTime+208
	slor %r1,%r3,%r1,8
	subws %r10,%r4,%r1
	mov %r11,%r2
;WI_drawTime+224
	callr %r9,V_DrawPatch
	nop 0
	nop 0
;WI_drawTime+240
	retf 0
	nop 0
	nop 0
;WI_End
	alloc 2
	callr %r1,WI_unloadData
	retf 0
;WI_unloadData
	allocsp 21,32
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_unloadData+128
;WI_unloadData+16
	ldbzr %r1,NUMCMAPS
	bbci %r1,0,WI_unloadData+592
	mov2 %r5,%r4,%gz,%gz
;WI_unloadData+32
	ldafr %r1,.rodata+16943
	addi %r2,%sp,23
	ldi %r3,9
;WI_unloadData+48
	mov %r6,%r4
	stw %r4,%sp,0
	mov2 %r18,%r19,%r2,%r3
;WI_unloadData+64
	mov %r20,%r1
	callr %r17,snprintf
	lddzr %r7,lnames
;WI_unloadData+80
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
	stdx.xd %gz,%r7,%r5,0,0
;WI_unloadData+96
	ldbzr %r4,NUMCMAPS
	bbci %r4,0,WI_unloadData+592
	addi %r4,%r6,1
;WI_unloadData+112
	addi %r5,%r5,8
	bdltui %r6,31,WI_unloadData+48
	jmp WI_unloadData+592
;WI_unloadData+128
	mov2 %r5,%r6,%gz,%gz
	ldafr %r1,.rodata+18311
	addi %r2,%sp,23
;WI_unloadData+144
	ldi %r3,9
	nop 0
	nop 0
;WI_unloadData+160
	lddzr %r4,wbs
	ldwz %r4,%r4,0
	stw %r6,%sp,4
;WI_unloadData+176
	stw %r4,%sp,0
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r1
;WI_unloadData+192
	callr %r17,snprintf
	lddzr %r7,lnames
	mov %r20,%r2
;WI_unloadData+208
	callr %r19,W_ReleaseLumpName
	stdx.xd %gz,%r7,%r5,0,0
	addi %r6,%r6,1
;WI_unloadData+224
	addi %r5,%r5,8
	bdnei %r6,9,WI_unloadData+160
	ldafr %r20,.rodata+1960
;WI_unloadData+240
	callr %r19,W_ReleaseLumpName
	stdr %gz,yah
	ldafr %r20,.rodata+5852
;WI_unloadData+256
	callr %r19,W_ReleaseLumpName
	stdr %gz,yah+8
	ldafr %r20,.rodata+5418
;WI_unloadData+272
	callr %r19,W_ReleaseLumpName
	lddzr %r4,wbs
	stdr %gz,splat
;WI_unloadData+288
	ldwz %r11,%r4,0
	bwgei %r11,3,WI_unloadData+592
	mov %r5,%gz
;WI_unloadData+304
	sraiw %r12,%r11,0
	ldi %r6,32
	ldafr %r7,anims
;WI_unloadData+320
	ldi %r8,72
	ldafr %r9,epsd1animinfo+320
	ldafr %r1,.rodata+18320
;WI_unloadData+336
	addi %r2,%sp,23
	ldi %r3,9
	ldafr %r10,NUMANIMS
;WI_unloadData+352
	jmp WI_unloadData+416
	nop 0
	nop 0
;WI_unloadData+368
	ldwz %r11,%r4,0
	nop 0
	nop 0
;WI_unloadData+384
	ldwsx.xw %r13,%r10,%r11,2,0
	addi %r5,%r5,1
	sraiw %r12,%r11,0
;WI_unloadData+400
	addi %r6,%r6,72
	bdle %r13,%r5,WI_unloadData+592
	nop 0
;WI_unloadData+416
	lddzx.xd %r13,%r7,%r12,3,0
	muli %r12,%r5,72
	ldwzx.xd %r15,%r13,%r12,0,8
;WI_unloadData+432
	bwlti %r15,1,WI_unloadData+384
	mov %r11,%gz
	muladd %r12,%r5,%r8,%r13
;WI_unloadData+448
	add %r13,%r13,%r6
	mov %r14,%r9
	jmp WI_unloadData+560
;WI_unloadData+464
	stw %r11,%sp,8
	stw %r5,%sp,4
	stw %r16,%sp,0
;WI_unloadData+480
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r1
	callr %r17,snprintf
;WI_unloadData+496
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
	mov %r16,%gz
;WI_unloadData+512
	lddzr %r4,wbs
	ldwz %r15,%r12,8
	nop 0
;WI_unloadData+528
	std %r16,%r13,0
	addi %r11,%r11,1
	sraiw %r16,%r15,0
;WI_unloadData+544
	addi %r14,%r14,8
	addi %r13,%r13,8
	bdle %r16,%r11,WI_unloadData+368
;WI_unloadData+560
	ldwz %r16,%r4,0
	bdnei %r5,8,WI_unloadData+464
	bwnei %r16,1,WI_unloadData+464
;WI_unloadData+576
	lddz %r16,%r14,0
	jmp WI_unloadData+528
	nop 0
;WI_unloadData+592
	ldafr %r20,.rodata+10479
	callr %r19,W_ReleaseLumpName
	mov %r5,%gz
;WI_unloadData+608
	stdr %gz,wiminus
	ldafr %r6,num
	ldafr %r1,.rodata+14586
;WI_unloadData+624
	addi %r2,%sp,23
	ldi %r3,9
	nop 0
;WI_unloadData+640
	stw %r5,%sp,0
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r1
;WI_unloadData+656
	callr %r17,snprintf
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
;WI_unloadData+672
	std %gz,%r6,0
	addi %r5,%r5,1
	addi %r6,%r6,8
;WI_unloadData+688
	bdnei %r5,10,WI_unloadData+640
	ldafr %r20,.rodata+2856
	callr %r19,W_ReleaseLumpName
;WI_unloadData+704
	stdr %gz,percent
	ldafr %r20,.rodata+22761
	callr %r19,W_ReleaseLumpName
;WI_unloadData+720
	stdr %gz,finished
	ldafr %r20,.rodata+23838
	callr %r19,W_ReleaseLumpName
;WI_unloadData+736
	stdr %gz,entering
	ldafr %r20,.rodata+11040
	callr %r19,W_ReleaseLumpName
;WI_unloadData+752
	stdr %gz,kills
	ldafr %r20,.rodata+12068
	callr %r19,W_ReleaseLumpName
;WI_unloadData+768
	stdr %gz,secret
	ldafr %r20,.rodata+20169
	callr %r19,W_ReleaseLumpName
;WI_unloadData+784
	stdr %gz,sp_secret
	ldafr %r1,.rodata+12075
	mov %r20,%r1
;WI_unloadData+800
	callr %r19,W_CheckNumForName
	bwlt %r20,%gz,WI_unloadData+848
	ldwzr %r2,deathmatch
;WI_unloadData+816
	ldwzr %r3,netgame
	ldafr %r4,.rodata+6615
	cmovweq %r1,%r2,%r1,%r4
;WI_unloadData+832
	cmovweq %r20,%r3,%r4,%r1
	jmp WI_unloadData+864
	nop 0
;WI_unloadData+848
	ldafr %r20,.rodata+6615
	nop 0
	nop 0
;WI_unloadData+864
	callr %r19,W_ReleaseLumpName
	stdr %gz,items
	ldafr %r20,.rodata+10487
;WI_unloadData+880
	callr %r19,W_ReleaseLumpName
	stdr %gz,frags
	ldafr %r20,.rodata+4231
;WI_unloadData+896
	callr %r19,W_ReleaseLumpName
	stdr %gz,colon
	ldafr %r20,.rodata+9533
;WI_unloadData+912
	callr %r19,W_ReleaseLumpName
	stdr %gz,timepatch
	ldafr %r20,.rodata+25855
;WI_unloadData+928
	callr %r19,W_ReleaseLumpName
	stdr %gz,sucks
	ldafr %r20,.rodata+15570
;WI_unloadData+944
	callr %r19,W_ReleaseLumpName
	stdr %gz,par
	ldafr %r20,.rodata+12081
;WI_unloadData+960
	callr %r19,W_ReleaseLumpName
	stdr %gz,killers
	ldafr %r20,.rodata+12089
;WI_unloadData+976
	callr %r19,W_ReleaseLumpName
	stdr %gz,victims
	ldafr %r20,.rodata+15576
;WI_unloadData+992
	callr %r19,W_ReleaseLumpName
	mov %r6,%gz
	stdr %gz,total
;WI_unloadData+1008
	ldafr %r7,bp
	ldafr %r8,p
	ldafr %r1,.rodata+1967
;WI_unloadData+1024
	addi %r2,%sp,23
	ldi %r3,9
	ldafr %r4,.rodata+12097
;WI_unloadData+1040
	stw %r6,%sp,0
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r1
;WI_unloadData+1056
	callr %r17,snprintf
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
;WI_unloadData+1072
	std %gz,%r8,0
	addi %r6,%r6,1
	stw %r6,%sp,0
;WI_unloadData+1088
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r4
	callr %r17,snprintf
;WI_unloadData+1104
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
	std %gz,%r7,0
;WI_unloadData+1120
	addi %r7,%r7,8
	addi %r8,%r8,8
	bdnei %r6,4,WI_unloadData+1040
;WI_unloadData+1136
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_unloadData+1168
	bwnei %r1,3,WI_unloadData+1200
;WI_unloadData+1152
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwnei %r1,3,WI_unloadData+1216
;WI_unloadData+1168
	ldafr %r19,.rodata+14684
	addi %r18,%sp,23
	ldi %r20,9
;WI_unloadData+1184
	callr %r17,M_StringCopy
	jmp WI_unloadData+1248
	nop 0
;WI_unloadData+1200
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	nop 0
;WI_unloadData+1216
	ldafr %r20,.rodata+17813
	addi %r18,%sp,23
	ldi %r19,9
;WI_unloadData+1232
	stw %r1,%sp,0
	callr %r17,snprintf
	nop 0
;WI_unloadData+1248
	addi %r20,%sp,23
	callr %r19,W_ReleaseLumpName
	stdr %gz,background
;WI_unloadData+1264
	retf 32
	nop 0
	nop 0
;WI_initNoState
	alloc 2
	ldi %r1,-1
	stwr %r1,state
;WI_initNoState+16
	stbr %gz,acceleratestage
	ldi %r1,10
	stwr %r1,cnt
;WI_initNoState+32
	retf 0
	nop 0
	nop 0
;WI_updateNoState
	alloc 3
	callr %r2,WI_updateAnimatedBack
	ldwzr %r1,cnt
;WI_updateNoState+16
	addiws %r1,%r1,-1
	stwr %r1,cnt
	bweq %r1,%gz,WI_updateNoState+48
;WI_updateNoState+32
	retf 0
	nop 0
	nop 0
;WI_updateNoState+48
	callr %r2,G_WorldDone
	retf 0
	nop 0
;WI_initShowNextLoc
	alloc 3
	ldi %r1,1
	stwr %r1,state
;WI_initShowNextLoc+16
	stbr %gz,acceleratestage
	ldi %r1,140
	stwr %r1,cnt
;WI_initShowNextLoc+32
	callr %r2,WI_initAnimatedBack
	retf 0
	nop 0
;WI_updateShowNextLoc
	alloc 4
	callr %r3,WI_updateAnimatedBack
	ldwzr %r1,cnt
;WI_updateShowNextLoc+16
	addiws %r1,%r1,-1
	stwr %r1,cnt
	bweq %r1,%gz,WI_updateShowNextLoc+64
;WI_updateShowNextLoc+32
	ldbzr %r2,acceleratestage
	bbsi %r2,0,WI_updateShowNextLoc+64
	andi %r1,%r1,28
;WI_updateShowNextLoc+48
	cmpwltui %r1,%r1,20
	stwr %r1,snl_pointeron
	retf 0
;WI_updateShowNextLoc+64
	ldi %r1,-1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_updateShowNextLoc+80
	ldi %r1,10
	stwr %r1,cnt
	retf 0
;WI_drawShowNextLoc
	alloc 9
	lddzr %r8,background
	mov2 %r6,%r7,%gz,%gz
;WI_drawShowNextLoc+16
	callr %r5,V_DrawPatch
	callr %r8,WI_drawAnimatedBack
	ldwzr %r2,gamemode
;WI_drawShowNextLoc+32
	lddzr %r1,wbs
	bwnei %r2,2,WI_drawShowNextLoc+80
	ldwz %r1,%r1,12
;WI_drawShowNextLoc+48
	bwnei %r1,30,WI_drawShowNextLoc+256
	nop 0
	nop 0
;WI_drawShowNextLoc+64
	retf 0
	nop 0
	nop 0
;WI_drawShowNextLoc+80
	ldwz %r2,%r1,0
	bwgei %r2,3,WI_drawShowNextLoc+256
	ldwz %r4,%r1,8
;WI_drawShowNextLoc+96
	bwnei %r4,8,WI_drawShowNextLoc+112
	ldwz %r2,%r1,12
	addiws %r4,%r2,-1
;WI_drawShowNextLoc+112
	bwlt %r4,%gz,WI_drawShowNextLoc+160
	mov %r3,%gz
	ldafr %r1,splat
;WI_drawShowNextLoc+128
	mov2 %r2,%r7,%r3,%r3
	mov %r8,%r1
	callr %r6,WI_drawOnLnode
;WI_drawShowNextLoc+144
	addiws %r3,%r3,1
	bwlt %r2,%r4,WI_drawShowNextLoc+128
	lddzr %r1,wbs
;WI_drawShowNextLoc+160
	ldwz %r1,%r1,4
	bweq %r1,%gz,WI_drawShowNextLoc+192
	ldafr %r8,splat
;WI_drawShowNextLoc+176
	ldi %r7,8
	callr %r6,WI_drawOnLnode
	nop 0
;WI_drawShowNextLoc+192
	ldwzr %r1,snl_pointeron
	bweq %r1,%gz,WI_drawShowNextLoc+224
	lddzr %r1,wbs
;WI_drawShowNextLoc+208
	ldwz %r7,%r1,12
	ldafr %r8,yah
	callr %r6,WI_drawOnLnode
;WI_drawShowNextLoc+224
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_drawShowNextLoc+256
	lddzr %r1,wbs
;WI_drawShowNextLoc+240
	ldwz %r1,%r1,12
	bweqi %r1,30,WI_drawShowNextLoc+64
	nop 0
;WI_drawShowNextLoc+256
	lddzr %r8,entering
	ldbs %r1,%r8,1
	ldbz %r2,%r8,0
;WI_drawShowNextLoc+272
	slor %r1,%r2,%r1,8
	subfiws %r1,%r1,320
	srliw %r2,%r1,31
;WI_drawShowNextLoc+288
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
	ldi %r7,2
;WI_drawShowNextLoc+304
	callr %r5,V_DrawPatch
	lddzr %r1,wbs
	lddzr %r2,lnames
;WI_drawShowNextLoc+320
	ldws %r1,%r1,12
	lddzx.xd %r8,%r2,%r1,3,0
	ldbs %r1,%r8,3
;WI_drawShowNextLoc+336
	ldbz %r2,%r8,2
	slor %r1,%r2,%r1,8
	mulwsi %r1,%r1,5
;WI_drawShowNextLoc+352
	ldbs %r2,%r8,1
	ldbz %r3,%r8,0
	srliw %r4,%r1,30
;WI_drawShowNextLoc+368
	addws %r1,%r1,%r4
	sraiw %r1,%r1,2
	addiws %r7,%r1,2
;WI_drawShowNextLoc+384
	slor %r1,%r3,%r2,8
	subfiws %r1,%r1,320
	srliw %r2,%r1,31
;WI_drawShowNextLoc+400
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
	callr %r5,V_DrawPatch
;WI_drawShowNextLoc+416
	retf 0
	nop 0
	nop 0
;WI_drawNoState
	alloc 3
	ldi %r1,1
	stwr %r1,snl_pointeron
;WI_drawNoState+16
	callr %r2,WI_drawShowNextLoc
	retf 0
	nop 0
;WI_fragSum
	alloc 9
	mov2 %r5,%r2,%gz,%gz
	lddzr %r3,plrs
;WI_fragSum+16
	sraiw %r4,%r1,0
	srliw %r6,%r1,0
	muli %r1,%r4,40
;WI_fragSum+32
	ldax.xd %r1,%r1,%r3,0,20
	slli %r6,%r6,2
	ldafr %r7,playeringame
;WI_fragSum+48
	jmp WI_fragSum+80
	nop 0
	nop 0
;WI_fragSum+64
	addi %r5,%r5,4
	bdeqi %r5,16,WI_fragSum+112
	nop 0
;WI_fragSum+80
	bdeq %r6,%r5,WI_fragSum+64
	ldwzx.xd %r8,%r5,%r7,0,0
	bweq %r8,%gz,WI_fragSum+64
;WI_fragSum+96
	ldwzx.xd %r8,%r1,%r5,0,0
	addws %r2,%r8,%r2
	jmp WI_fragSum+64
;WI_fragSum+112
	ldi %r1,40
	muladd %r1,%r4,%r1,%r3
	ldwzx.xd %r1,%r1,%r4,2,20
;WI_fragSum+128
	subws %r1,%r2,%r1
	retf 0
	nop 0
;WI_initDeathmatchStats
	alloc 8
	mov %r1,%gz
	stwr %gz,state
;WI_initDeathmatchStats+16
	stbr %gz,acceleratestage
	ldi %r2,1
	stwr %r2,dm_state
;WI_initDeathmatchStats+32
	ldi %r2,35
	stwr %r2,cnt_pause
	ldafr %r2,dm_frags
;WI_initDeathmatchStats+48
	ldafr %r3,playeringame
	ldafr %r4,dm_totals
	jmp WI_initDeathmatchStats+96
;WI_initDeathmatchStats+64
	stwx.xd %gz,%r4,%r1,2,0
	nop 0
	nop 0
;WI_initDeathmatchStats+80
	addi %r1,%r1,1
	addi %r2,%r2,16
	bdeqi %r1,4,WI_initDeathmatchStats+176
;WI_initDeathmatchStats+96
	ldwzx.xd %r5,%r3,%r1,2,0
	bweq %r5,%gz,WI_initDeathmatchStats+80
	mov %r5,%gz
;WI_initDeathmatchStats+112
	jmp WI_initDeathmatchStats+144
	nop 0
	nop 0
;WI_initDeathmatchStats+128
	addi %r5,%r5,4
	bdeqi %r5,16,WI_initDeathmatchStats+64
	nop 0
;WI_initDeathmatchStats+144
	ldwzx.xd %r6,%r5,%r3,0,0
	bweq %r6,%gz,WI_initDeathmatchStats+128
	stwx.xd %gz,%r2,%r5,0,0
;WI_initDeathmatchStats+160
	jmp WI_initDeathmatchStats+128
	nop 0
	nop 0
;WI_initDeathmatchStats+176
	callr %r7,WI_initAnimatedBack
	retf 0
	nop 0
;WI_updateDeathmatchStats
	alloc 20
	callr %r19,WI_updateAnimatedBack
	ldbzr %r2,acceleratestage
;WI_updateDeathmatchStats+16
	ldwzr %r1,dm_state
	bbci %r2,0,WI_updateDeathmatchStats+288
	bweqi %r1,4,WI_updateDeathmatchStats+288
;WI_updateDeathmatchStats+32
	lddzr %r1,plrs
	mov2 %r2,%r3,%gz,%gz
	stbr %gz,acceleratestage
;WI_updateDeathmatchStats+48
	addi %r4,%r1,20
	ldafr %r5,dm_frags
	ldafr %r6,playeringame
;WI_updateDeathmatchStats+64
	ldi %r7,40
	ldafr %r8,dm_totals
	jmp WI_updateDeathmatchStats+144
;WI_updateDeathmatchStats+80
	muladd %r10,%r3,%r7,%r1
	ldwzx.xd %r10,%r10,%r3,2,20
	subws %r9,%r9,%r10
;WI_updateDeathmatchStats+96
	stwx.xd %r9,%r8,%r3,2,0
	nop 0
	nop 0
;WI_updateDeathmatchStats+112
	addi %r3,%r3,1
	addi %r4,%r4,40
	addi %r5,%r5,16
;WI_updateDeathmatchStats+128
	addi %r2,%r2,4
	bdeqi %r3,4,WI_updateDeathmatchStats+656
	nop 0
;WI_updateDeathmatchStats+144
	ldwzx.xd %r9,%r6,%r3,2,0
	bweq %r9,%gz,WI_updateDeathmatchStats+112
	mov %r9,%gz
;WI_updateDeathmatchStats+160
	jmp WI_updateDeathmatchStats+192
	nop 0
	nop 0
;WI_updateDeathmatchStats+176
	addi %r9,%r9,4
	bdeqi %r9,16,WI_updateDeathmatchStats+224
	nop 0
;WI_updateDeathmatchStats+192
	ldwzx.xd %r10,%r9,%r6,0,0
	bweq %r10,%gz,WI_updateDeathmatchStats+176
	ldwzx.xd %r10,%r4,%r9,0,0
;WI_updateDeathmatchStats+208
	stwx.xd %r10,%r5,%r9,0,0
	jmp WI_updateDeathmatchStats+176
	nop 0
;WI_updateDeathmatchStats+224
	mov2 %r10,%r9,%gz,%gz
	jmp WI_updateDeathmatchStats+256
	nop 0
;WI_updateDeathmatchStats+240
	addi %r10,%r10,4
	bdeqi %r10,16,WI_updateDeathmatchStats+80
	nop 0
;WI_updateDeathmatchStats+256
	bdeq %r2,%r10,WI_updateDeathmatchStats+240
	ldwzx.xd %r11,%r10,%r6,0,0
	bweq %r11,%gz,WI_updateDeathmatchStats+240
;WI_updateDeathmatchStats+272
	ldwzx.xd %r11,%r4,%r10,0,0
	addws %r9,%r11,%r9
	jmp WI_updateDeathmatchStats+240
;WI_updateDeathmatchStats+288
	bweqi %r1,4,WI_updateDeathmatchStats+768
	bwnei %r1,2,WI_updateDeathmatchStats+896
	ldbzr %r1,bcnt
;WI_updateDeathmatchStats+304
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateDeathmatchStats+336
	ldi %r19,1
;WI_updateDeathmatchStats+320
	mov %r18,%gz
	callr %r17,S_StartSound
	nop 0
;WI_updateDeathmatchStats+336
	lddzr %r1,plrs
	mov2 %r2,%r3,%gz,%gz
	mov %r9,%gz
;WI_updateDeathmatchStats+352
	addi %r4,%r1,20
	ldafr %r5,dm_frags
	ldafr %r6,playeringame
;WI_updateDeathmatchStats+368
	ldi %r7,40
	ldafr %r8,dm_totals
	ldi %r10,99
;WI_updateDeathmatchStats+384
	ldi %r11,-99
	ldi %r12,1
	ldi %r13,-1
;WI_updateDeathmatchStats+400
	jmp WI_updateDeathmatchStats+480
	nop 0
	nop 0
;WI_updateDeathmatchStats+416
	muladd %r15,%r3,%r7,%r1
	ldwzx.xd %r15,%r15,%r3,2,20
	subws %r14,%r14,%r15
;WI_updateDeathmatchStats+432
	minsw %r14,%r14,%r10
	maxsw %r14,%r14,%r11
	stwx.xd %r14,%r8,%r3,2,0
;WI_updateDeathmatchStats+448
	addi %r3,%r3,1
	addi %r5,%r5,16
	addi %r4,%r4,40
;WI_updateDeathmatchStats+464
	addi %r2,%r2,4
	bdeqi %r3,4,WI_updateDeathmatchStats+720
	nop 0
;WI_updateDeathmatchStats+480
	ldwzx.xd %r14,%r6,%r3,2,0
	bweq %r14,%gz,WI_updateDeathmatchStats+448
	mov %r14,%gz
;WI_updateDeathmatchStats+496
	jmp WI_updateDeathmatchStats+528
	nop 0
	nop 0
;WI_updateDeathmatchStats+512
	addi %r14,%r14,4
	bdeqi %r14,16,WI_updateDeathmatchStats+592
	nop 0
;WI_updateDeathmatchStats+528
	ldwzx.xd %r15,%r14,%r6,0,0
	bweq %r15,%gz,WI_updateDeathmatchStats+512
	ldwzx.xd %r15,%r5,%r14,0,0
;WI_updateDeathmatchStats+544
	ldwzx.xd %r16,%r4,%r14,0,0
	bweq %r15,%r16,WI_updateDeathmatchStats+512
	cmovwlt %r9,%r16,%r13,%r12
;WI_updateDeathmatchStats+560
	addws %r9,%r9,%r15
	minsw %r9,%r9,%r10
	maxsw %r9,%r9,%r11
;WI_updateDeathmatchStats+576
	stwx.xd %r9,%r5,%r14,0,0
	mov %r9,%r12
	jmp WI_updateDeathmatchStats+512
;WI_updateDeathmatchStats+592
	mov2 %r15,%r14,%gz,%gz
	jmp WI_updateDeathmatchStats+624
	nop 0
;WI_updateDeathmatchStats+608
	addi %r15,%r15,4
	bdeqi %r15,16,WI_updateDeathmatchStats+416
	nop 0
;WI_updateDeathmatchStats+624
	bdeq %r2,%r15,WI_updateDeathmatchStats+608
	ldwzx.xd %r16,%r15,%r6,0,0
	bweq %r16,%gz,WI_updateDeathmatchStats+608
;WI_updateDeathmatchStats+640
	ldwzx.xd %r16,%r4,%r15,0,0
	addws %r14,%r16,%r14
	jmp WI_updateDeathmatchStats+608
;WI_updateDeathmatchStats+656
	ldi %r19,82
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateDeathmatchStats+672
	ldbzr %r1,acceleratestage
	ldi %r2,4
	stwr %r2,dm_state
;WI_updateDeathmatchStats+688
	bbsi %r1,0,WI_updateDeathmatchStats+784
	nop 0
	nop 0
;WI_updateDeathmatchStats+704
	retf 0
	nop 0
	nop 0
;WI_updateDeathmatchStats+720
	bwne %r9,%gz,WI_updateDeathmatchStats+704
	ldi %r19,82
	mov %r18,%gz
;WI_updateDeathmatchStats+736
	callr %r17,S_StartSound
	ldwzr %r1,dm_state
	addiws %r1,%r1,1
;WI_updateDeathmatchStats+752
	stwr %r1,dm_state
	retf 0
	nop 0
;WI_updateDeathmatchStats+768
	bbci %r2,0,WI_updateDeathmatchStats+704
	nop 0
	nop 0
;WI_updateDeathmatchStats+784
	ldi %r19,31
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateDeathmatchStats+800
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_updateDeathmatchStats+848
	ldi %r1,-1
;WI_updateDeathmatchStats+816
	stwr %r1,state
	stbr %gz,acceleratestage
	ldi %r1,10
;WI_updateDeathmatchStats+832
	stwr %r1,cnt
	retf 0
	nop 0
;WI_updateDeathmatchStats+848
	ldi %r1,1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_updateDeathmatchStats+864
	ldi %r1,140
	stwr %r1,cnt
	callr %r19,WI_initAnimatedBack
;WI_updateDeathmatchStats+880
	retf 0
	nop 0
	nop 0
;WI_updateDeathmatchStats+896
	bbci %r1,0,WI_updateDeathmatchStats+704
	ldwzr %r2,cnt_pause
	addiws %r2,%r2,-1
;WI_updateDeathmatchStats+912
	stwr %r2,cnt_pause
	bwne %r2,%gz,WI_updateDeathmatchStats+704
	addiws %r1,%r1,1
;WI_updateDeathmatchStats+928
	stwr %r1,dm_state
	ldi %r1,35
	stwr %r1,cnt_pause
;WI_updateDeathmatchStats+944
	retf 0
	nop 0
	nop 0
;WI_drawDeathmatchStats
	alloc 18
	lddzr %r17,background
	mov2 %r15,%r16,%gz,%gz
;WI_drawDeathmatchStats+16
	callr %r14,V_DrawPatch
	callr %r17,WI_drawAnimatedBack
	callr %r17,WI_drawLF
;WI_drawDeathmatchStats+32
	lddzr %r17,total
	ldbz %r1,%r17,1
	ldbz %r2,%r17,0
;WI_drawDeathmatchStats+48
	slor %r2,%r2,%r1,8
	srliw %r1,%r1,7
	addws %r1,%r2,%r1
;WI_drawDeathmatchStats+64
	slsrai %r1,%r1,48,48
	sraiw %r1,%r1,1
	subfiws %r15,%r1,269
;WI_drawDeathmatchStats+80
	ldi %r16,45
	callr %r14,V_DrawPatch
	lddzr %r17,killers
;WI_drawDeathmatchStats+96
	ldi %r15,10
	ldi %r16,100
	callr %r14,V_DrawPatch
;WI_drawDeathmatchStats+112
	lddzr %r17,victims
	ldi %r15,5
	ldi %r16,50
;WI_drawDeathmatchStats+128
	callr %r14,V_DrawPatch
	mov %r4,%gz
	ldi %r5,82
;WI_drawDeathmatchStats+144
	ldi %r1,68
	ldafr %r6,p
	ldafr %r7,playeringame
;WI_drawDeathmatchStats+160
	ldi %r2,35
	jmp WI_drawDeathmatchStats+208
	nop 0
;WI_drawDeathmatchStats+176
	addiws %r5,%r5,40
	addiws %r1,%r1,33
	addi %r4,%r4,1
;WI_drawDeathmatchStats+192
	addi %r6,%r6,8
	addi %r7,%r7,4
	bdeqi %r4,4,WI_drawDeathmatchStats+480
;WI_drawDeathmatchStats+208
	ldwz %r3,%r7,0
	bweq %r3,%gz,WI_drawDeathmatchStats+176
	lddz %r17,%r6,0
;WI_drawDeathmatchStats+224
	ldbz %r3,%r17,1
	ldbz %r8,%r17,0
	slor %r8,%r8,%r3,8
;WI_drawDeathmatchStats+240
	srliw %r3,%r3,7
	addws %r3,%r8,%r3
	slsrai %r3,%r3,48,48
;WI_drawDeathmatchStats+256
	sraiw %r3,%r3,1
	subws %r15,%r5,%r3
	mov %r16,%r2
;WI_drawDeathmatchStats+272
	callr %r14,V_DrawPatch
	lddz %r17,%r6,0
	ldbz %r3,%r17,1
;WI_drawDeathmatchStats+288
	ldbz %r8,%r17,0
	slor %r8,%r8,%r3,8
	srliw %r3,%r3,7
;WI_drawDeathmatchStats+304
	addws %r3,%r8,%r3
	slsrai %r3,%r3,48,48
	sraiw %r3,%r3,1
;WI_drawDeathmatchStats+320
	subfiws %r15,%r3,42
	mov %r16,%r1
	callr %r14,V_DrawPatch
;WI_drawDeathmatchStats+336
	ldwzr %r3,me
	bdne %r4,%r3,WI_drawDeathmatchStats+176
	lddz %r3,%r6,0
;WI_drawDeathmatchStats+352
	ldbz %r8,%r3,1
	ldbz %r3,%r3,0
	slor %r3,%r3,%r8,8
;WI_drawDeathmatchStats+368
	srliw %r8,%r8,7
	addws %r3,%r3,%r8
	slsrai %r3,%r3,48,48
;WI_drawDeathmatchStats+384
	sraiw %r3,%r3,1
	subws %r15,%r5,%r3
	lddzr %r17,bstar
;WI_drawDeathmatchStats+400
	mov %r16,%r2
	callr %r14,V_DrawPatch
	lddz %r3,%r6,0
;WI_drawDeathmatchStats+416
	ldbz %r8,%r3,1
	ldbz %r3,%r3,0
	slor %r3,%r3,%r8,8
;WI_drawDeathmatchStats+432
	srliw %r8,%r8,7
	addws %r3,%r3,%r8
	slsrai %r3,%r3,48,48
;WI_drawDeathmatchStats+448
	sraiw %r3,%r3,1
	subfiws %r15,%r3,42
	lddzr %r17,star
;WI_drawDeathmatchStats+464
	mov %r16,%r1
	callr %r14,V_DrawPatch
	jmp WI_drawDeathmatchStats+176
;WI_drawDeathmatchStats+480
	lddzr %r1,num
	ldbs %r2,%r1,1
	ldbz %r1,%r1,0
;WI_drawDeathmatchStats+496
	mov %r5,%gz
	slor %r6,%r1,%r2,8
	addiws %r1,%r6,269
;WI_drawDeathmatchStats+512
	ldi %r2,78
	ldafr %r7,dm_frags
	ldafr %r8,playeringame
;WI_drawDeathmatchStats+528
	ldi %r9,82
	ldafr %r10,dm_totals
	ldi %r3,2
;WI_drawDeathmatchStats+544
	jmp WI_drawDeathmatchStats+624
	nop 0
	nop 0
;WI_drawDeathmatchStats+560
	ldwzx.xd %r16,%r10,%r5,2,0
	mov2 %r14,%r15,%r1,%r2
	mov %r17,%r3
;WI_drawDeathmatchStats+576
	callr %r13,WI_drawNum
	nop 0
	nop 0
;WI_drawDeathmatchStats+592
	addiws %r2,%r2,33
	addi %r5,%r5,1
	addi %r7,%r7,16
;WI_drawDeathmatchStats+608
	bdeqi %r5,4,WI_drawDeathmatchStats+720
	nop 0
	nop 0
;WI_drawDeathmatchStats+624
	ldwzx.xd %r4,%r8,%r5,2,0
	bweq %r4,%gz,WI_drawDeathmatchStats+592
	mov2 %r11,%r12,%gz,%r9
;WI_drawDeathmatchStats+640
	jmp WI_drawDeathmatchStats+672
	nop 0
	nop 0
;WI_drawDeathmatchStats+656
	addi %r11,%r11,4
	addiws %r12,%r12,40
	bdeqi %r11,16,WI_drawDeathmatchStats+560
;WI_drawDeathmatchStats+672
	ldwzx.xd %r4,%r11,%r8,0,0
	bweq %r4,%gz,WI_drawDeathmatchStats+656
	addws %r14,%r12,%r6
;WI_drawDeathmatchStats+688
	ldwzx.xd %r16,%r7,%r11,0,0
	mov2 %r15,%r17,%r2,%r3
	callr %r13,WI_drawNum
;WI_drawDeathmatchStats+704
	jmp WI_drawDeathmatchStats+656
	nop 0
	nop 0
;WI_drawDeathmatchStats+720
	retf 0
	nop 0
	nop 0
;WI_initNetgameStats
	alloc 17
	mov %r1,%gz
	stwr %gz,state
;WI_initNetgameStats+16
	stbr %gz,acceleratestage
	ldi %r3,1
	lddzr %r2,plrs
;WI_initNetgameStats+32
	stwr %r3,ng_state
	ldi %r3,35
	stwr %r3,cnt_pause
;WI_initNetgameStats+48
	ldwzr %r3,dofrags
	addi %r4,%r2,20
	ldafr %r5,playeringame
;WI_initNetgameStats+64
	ldafr %r6,cnt_frags
	ldafr %r7,cnt_secret
	ldafr %r8,cnt_items
;WI_initNetgameStats+80
	ldafr %r9,cnt_kills
	ldi %r10,40
	jmp WI_initNetgameStats+144
;WI_initNetgameStats+96
	muladd %r12,%r1,%r10,%r2
	ldwzx.xd %r12,%r12,%r1,2,20
	subws %r11,%r11,%r12
;WI_initNetgameStats+112
	addws %r3,%r11,%r3
	nop 0
	nop 0
;WI_initNetgameStats+128
	addi %r1,%r1,1
	addi %r4,%r4,40
	bdeqi %r1,4,WI_initNetgameStats+256
;WI_initNetgameStats+144
	ldwzx.xd %r11,%r5,%r1,2,0
	bweq %r11,%gz,WI_initNetgameStats+128
	mov2 %r12,%r11,%gz,%gz
;WI_initNetgameStats+160
	stwx.xd %gz,%r6,%r1,2,0
	stwx.xd %gz,%r7,%r1,2,0
	stwx.xd %gz,%r8,%r1,2,0
;WI_initNetgameStats+176
	stwx.xd %gz,%r9,%r1,2,0
	mov2 %r13,%r14,%r5,%r4
	jmp WI_initNetgameStats+224
;WI_initNetgameStats+192
	addi %r12,%r12,1
	addi %r14,%r14,4
	addi %r13,%r13,4
;WI_initNetgameStats+208
	bdeqi %r12,4,WI_initNetgameStats+96
	nop 0
	nop 0
;WI_initNetgameStats+224
	bdeq %r1,%r12,WI_initNetgameStats+192
	ldwz %r15,%r13,0
	bweq %r15,%gz,WI_initNetgameStats+192
;WI_initNetgameStats+240
	ldwz %r15,%r14,0
	addws %r11,%r15,%r11
	jmp WI_initNetgameStats+192
;WI_initNetgameStats+256
	cmpwnei %r1,%r3,0
	stwr %r1,dofrags
	callr %r16,WI_initAnimatedBack
;WI_initNetgameStats+272
	retf 0
	nop 0
	nop 0
;WI_updateNetgameStats
	alloc 20
	callr %r19,WI_updateAnimatedBack
	ldbzr %r2,acceleratestage
;WI_updateNetgameStats+16
	ldwzr %r1,ng_state
	bbci %r2,0,WI_updateNetgameStats+352
	bweqi %r1,10,WI_updateNetgameStats+352
;WI_updateNetgameStats+32
	mov %r1,%gz
	lddzr %r2,plrs
	stbr %gz,acceleratestage
;WI_updateNetgameStats+48
	lddzr %r3,wbs
	ldwzr %r4,dofrags
	addi %r5,%r2,20
;WI_updateNetgameStats+64
	ldafr %r6,playeringame
	ldafr %r7,cnt_kills
	ldafr %r8,cnt_items
;WI_updateNetgameStats+80
	ldafr %r9,cnt_secret
	ldi %r10,40
	ldafr %r11,cnt_frags
;WI_updateNetgameStats+96
	jmp WI_updateNetgameStats+160
	nop 0
	nop 0
;WI_updateNetgameStats+112
	muladd %r13,%r1,%r10,%r2
	ldwzx.xd %r13,%r13,%r1,2,20
	subws %r12,%r12,%r13
;WI_updateNetgameStats+128
	stwx.xd %r12,%r11,%r1,2,0
	nop 0
	nop 0
;WI_updateNetgameStats+144
	addi %r1,%r1,1
	addi %r5,%r5,40
	bdeqi %r1,4,WI_updateNetgameStats+560
;WI_updateNetgameStats+160
	ldwzx.xd %r12,%r6,%r1,2,0
	bweq %r12,%gz,WI_updateNetgameStats+144
	muli %r12,%r1,40
;WI_updateNetgameStats+176
	ldwzx.xd %r13,%r2,%r12,0,4
	ldwz %r14,%r3,16
	mulwsi %r13,%r13,100
;WI_updateNetgameStats+192
	divw %r13,%r13,%r14
	stwx.xd %r13,%r7,%r1,2,0
	ldwzx.xd %r13,%r2,%r12,0,8
;WI_updateNetgameStats+208
	ldwz %r14,%r3,20
	mulwsi %r13,%r13,100
	divw %r13,%r13,%r14
;WI_updateNetgameStats+224
	stwx.xd %r13,%r8,%r1,2,0
	ldwzx.xd %r12,%r2,%r12,0,12
	ldwz %r13,%r3,24
;WI_updateNetgameStats+240
	mulwsi %r12,%r12,100
	divw %r12,%r12,%r13
	stwx.xd %r12,%r9,%r1,2,0
;WI_updateNetgameStats+256
	bweq %r4,%gz,WI_updateNetgameStats+144
	mov2 %r13,%r12,%gz,%gz
	mov2 %r14,%r15,%r6,%r5
;WI_updateNetgameStats+272
	jmp WI_updateNetgameStats+320
	nop 0
	nop 0
;WI_updateNetgameStats+288
	addi %r13,%r13,1
	addi %r15,%r15,4
	addi %r14,%r14,4
;WI_updateNetgameStats+304
	bdeqi %r13,4,WI_updateNetgameStats+112
	nop 0
	nop 0
;WI_updateNetgameStats+320
	bdeq %r1,%r13,WI_updateNetgameStats+288
	ldwz %r16,%r14,0
	bweq %r16,%gz,WI_updateNetgameStats+288
;WI_updateNetgameStats+336
	ldwz %r16,%r15,0
	addws %r12,%r16,%r12
	jmp WI_updateNetgameStats+288
;WI_updateNetgameStats+352
	addiws %r3,%r1,-2
	bwgeui %r3,9,WI_updateNetgameStats+720
	addiwz %r3,%r1,-2
;WI_updateNetgameStats+368
	ldafr %r4,.rodata+104336
	jmpt %r4,%r3
	nop 0
;WI_updateNetgameStats+384
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateNetgameStats+416
;WI_updateNetgameStats+400
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+416
	lddzr %r4,plrs
	mov2 %r2,%r1,%gz,%gz
	lddzr %r3,wbs
;WI_updateNetgameStats+432
	addi %r4,%r4,4
	ldafr %r5,playeringame
	ldafr %r6,cnt_kills
;WI_updateNetgameStats+448
	ldi %r7,1
	jmp WI_updateNetgameStats+480
	nop 0
;WI_updateNetgameStats+464
	addi %r2,%r2,4
	addi %r4,%r4,40
	bdeqi %r2,16,WI_updateNetgameStats+1200
;WI_updateNetgameStats+480
	ldwzx.xd %r8,%r2,%r5,0,0
	bweq %r8,%gz,WI_updateNetgameStats+464
	ldwzx.xd %r8,%r2,%r6,0,0
;WI_updateNetgameStats+496
	ldwz %r9,%r4,0
	ldwz %r10,%r3,16
	addiws %r8,%r8,2
;WI_updateNetgameStats+512
	mulwsi %r9,%r9,100
	divw %r9,%r9,%r10
	cmpwlt %r10,%r8,%r9
;WI_updateNetgameStats+528
	minsw %r8,%r8,%r9
	stwx.xd %r8,%r2,%r6,0,0
	cmovlsb %r1,%r10,%r7,%r1
;WI_updateNetgameStats+544
	jmp WI_updateNetgameStats+464
	nop 0
	nop 0
;WI_updateNetgameStats+560
	ldi %r19,82
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+576
	ldbzr %r1,acceleratestage
	ldi %r2,10
	stwr %r2,ng_state
;WI_updateNetgameStats+592
	bbci %r1,0,WI_updateNetgameStats+1568
	nop 0
	nop 0
;WI_updateNetgameStats+608
	ldi %r19,3
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+624
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_updateNetgameStats+672
	ldi %r1,-1
;WI_updateNetgameStats+640
	stwr %r1,state
	stbr %gz,acceleratestage
	ldi %r1,10
;WI_updateNetgameStats+656
	stwr %r1,cnt
	retf 0
	nop 0
;WI_updateNetgameStats+672
	ldi %r1,1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_updateNetgameStats+688
	ldi %r1,140
	stwr %r1,cnt
	callr %r19,WI_initAnimatedBack
;WI_updateNetgameStats+704
	retf 0
	nop 0
	nop 0
;WI_updateNetgameStats+720
	bbci %r1,0,WI_updateNetgameStats+1568
	ldwzr %r2,cnt_pause
	addiws %r2,%r2,-1
;WI_updateNetgameStats+736
	stwr %r2,cnt_pause
	bwne %r2,%gz,WI_updateNetgameStats+1568
	addiws %r1,%r1,1
;WI_updateNetgameStats+752
	stwr %r1,ng_state
	ldi %r1,35
	stwr %r1,cnt_pause
;WI_updateNetgameStats+768
	retf 0
	nop 0
	nop 0
;WI_updateNetgameStats+784
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateNetgameStats+816
;WI_updateNetgameStats+800
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+816
	lddzr %r2,plrs
	mov2 %r3,%r1,%gz,%gz
	lddzr %r4,wbs
;WI_updateNetgameStats+832
	addi %r5,%r2,12
	ldafr %r6,playeringame
	ldafr %r7,cnt_secret
;WI_updateNetgameStats+848
	ldi %r2,1
	jmp WI_updateNetgameStats+880
	nop 0
;WI_updateNetgameStats+864
	addi %r3,%r3,4
	addi %r5,%r5,40
	bdeqi %r3,16,WI_updateNetgameStats+960
;WI_updateNetgameStats+880
	ldwzx.xd %r8,%r3,%r6,0,0
	bweq %r8,%gz,WI_updateNetgameStats+864
	ldwzx.xd %r8,%r3,%r7,0,0
;WI_updateNetgameStats+896
	ldwz %r9,%r5,0
	ldwz %r10,%r4,24
	addiws %r8,%r8,2
;WI_updateNetgameStats+912
	mulwsi %r9,%r9,100
	divw %r9,%r9,%r10
	cmpwlt %r10,%r8,%r9
;WI_updateNetgameStats+928
	minsw %r8,%r8,%r9
	stwx.xd %r8,%r3,%r7,0,0
	cmovlsb %r1,%r10,%r2,%r1
;WI_updateNetgameStats+944
	jmp WI_updateNetgameStats+864
	nop 0
	nop 0
;WI_updateNetgameStats+960
	bwne %r1,%gz,WI_updateNetgameStats+1568
	ldi %r19,82
	mov %r18,%gz
;WI_updateNetgameStats+976
	callr %r17,S_StartSound
	ldwzr %r1,dofrags
	ldwzr %r3,ng_state
;WI_updateNetgameStats+992
	ldi %r4,3
	cmovweq %r1,%r1,%r4,%r2
	addws %r1,%r1,%r3
;WI_updateNetgameStats+1008
	stwr %r1,ng_state
	retf 0
	nop 0
;WI_updateNetgameStats+1024
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateNetgameStats+1056
;WI_updateNetgameStats+1040
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+1056
	lddzr %r4,plrs
	mov2 %r2,%r1,%gz,%gz
	lddzr %r3,wbs
;WI_updateNetgameStats+1072
	addi %r4,%r4,8
	ldafr %r5,playeringame
	ldafr %r6,cnt_items
;WI_updateNetgameStats+1088
	ldi %r7,1
	jmp WI_updateNetgameStats+1120
	nop 0
;WI_updateNetgameStats+1104
	addi %r2,%r2,4
	addi %r4,%r4,40
	bdeqi %r2,16,WI_updateNetgameStats+1200
;WI_updateNetgameStats+1120
	ldwzx.xd %r8,%r2,%r5,0,0
	bweq %r8,%gz,WI_updateNetgameStats+1104
	ldwzx.xd %r8,%r2,%r6,0,0
;WI_updateNetgameStats+1136
	ldwz %r9,%r4,0
	ldwz %r10,%r3,20
	addiws %r8,%r8,2
;WI_updateNetgameStats+1152
	mulwsi %r9,%r9,100
	divw %r9,%r9,%r10
	cmpwlt %r10,%r8,%r9
;WI_updateNetgameStats+1168
	minsw %r8,%r8,%r9
	stwx.xd %r8,%r2,%r6,0,0
	cmovlsb %r1,%r10,%r7,%r1
;WI_updateNetgameStats+1184
	jmp WI_updateNetgameStats+1104
	nop 0
	nop 0
;WI_updateNetgameStats+1200
	bwne %r1,%gz,WI_updateNetgameStats+1568
	ldi %r19,82
	jmp WI_updateNetgameStats+1536
;WI_updateNetgameStats+1216
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateNetgameStats+1248
;WI_updateNetgameStats+1232
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+1248
	lddzr %r1,plrs
	mov %r9,%gz
	addi %r2,%r1,20
;WI_updateNetgameStats+1264
	ldi %r5,1
	ldi %r3,40
	ldafr %r4,playeringame
;WI_updateNetgameStats+1280
	ldafr %r6,cnt_frags
	nop 0
	nop 0
;WI_updateNetgameStats+1296
	muladd %r7,%r9,%r3,%r2
	mov %r8,%r9
	jmp WI_updateNetgameStats+1328
;WI_updateNetgameStats+1312
	addi %r8,%r8,1
	addi %r7,%r7,40
	bdeqi %r8,4,WI_updateNetgameStats+1520
;WI_updateNetgameStats+1328
	ldwzx.xd %r9,%r4,%r8,2,0
	bweq %r9,%gz,WI_updateNetgameStats+1312
	ldwzx.xd %r12,%r6,%r8,2,0
;WI_updateNetgameStats+1344
	mov2 %r13,%r11,%gz,%gz
	addi %r9,%r8,1
	sladd %r10,%r6,%r8,2
;WI_updateNetgameStats+1360
	addiws %r12,%r12,1
	stwx.xd %r12,%r6,%r8,2,0
	mov2 %r14,%r15,%r4,%r7
;WI_updateNetgameStats+1376
	jmp WI_updateNetgameStats+1424
	nop 0
	nop 0
;WI_updateNetgameStats+1392
	addi %r13,%r13,1
	addi %r15,%r15,4
	addi %r14,%r14,4
;WI_updateNetgameStats+1408
	bdeqi %r13,4,WI_updateNetgameStats+1456
	nop 0
	nop 0
;WI_updateNetgameStats+1424
	bdeq %r8,%r13,WI_updateNetgameStats+1392
	ldwz %r16,%r14,0
	bweq %r16,%gz,WI_updateNetgameStats+1392
;WI_updateNetgameStats+1440
	ldwz %r16,%r15,0
	addws %r11,%r16,%r11
	jmp WI_updateNetgameStats+1392
;WI_updateNetgameStats+1456
	muladd %r13,%r8,%r3,%r1
	ldwzx.xd %r13,%r13,%r8,2,20
	subws %r11,%r11,%r13
;WI_updateNetgameStats+1472
	bwlt %r12,%r11,WI_updateNetgameStats+1488
	stw %r11,%r10,0
	jmp WI_updateNetgameStats+1312
;WI_updateNetgameStats+1488
	mov %r5,%gz
	bdnei %r9,4,WI_updateNetgameStats+1296
	jmp WI_updateNetgameStats+1568
;WI_updateNetgameStats+1504
	bbsi %r2,0,WI_updateNetgameStats+608
	jmp WI_updateNetgameStats+1568
	nop 0
;WI_updateNetgameStats+1520
	bbci %r5,0,WI_updateNetgameStats+1568
	ldi %r19,57
	nop 0
;WI_updateNetgameStats+1536
	mov %r18,%gz
	callr %r17,S_StartSound
	ldwzr %r1,ng_state
;WI_updateNetgameStats+1552
	addiws %r1,%r1,1
	stwr %r1,ng_state
	retf 0
;WI_updateNetgameStats+1568
	retf 0
	nop 0
	nop 0
;WI_drawNetgameStats
	alloc 22
	lddzr %r1,percent
	ldbs %r3,%r1,1
;WI_drawNetgameStats+16
	ldbz %r4,%r1,0
	lddzr %r21,background
	mov2 %r19,%r20,%gz,%gz
;WI_drawNetgameStats+32
	callr %r18,V_DrawPatch
	callr %r21,WI_drawAnimatedBack
	callr %r21,WI_drawLF
;WI_drawNetgameStats+48
	lddzr %r1,star
	ldbz %r2,%r1,1
	ldbz %r1,%r1,0
;WI_drawNetgameStats+64
	slor %r1,%r1,%r2,8
	lddzr %r21,kills
	srliw %r2,%r2,7
;WI_drawNetgameStats+80
	addws %r1,%r1,%r2
	ldwzr %r2,dofrags
	ldbs %r5,%r21,1
;WI_drawNetgameStats+96
	ldbz %r6,%r21,0
	slsrai %r1,%r1,48,48
	sraiw %r1,%r1,1
;WI_drawNetgameStats+112
	cmpweqi %r2,%r2,0
	slor %r5,%r6,%r5,8
	sladdws %r1,%r1,%r2,5
;WI_drawNetgameStats+128
	subws %r1,%r1,%r5
	addiws %r19,%r1,96
	ldi %r1,50
;WI_drawNetgameStats+144
	mov %r20,%r1
	callr %r18,V_DrawPatch
	lddzr %r2,star
;WI_drawNetgameStats+160
	ldbz %r5,%r2,1
	ldbz %r2,%r2,0
	slor %r2,%r2,%r5,8
;WI_drawNetgameStats+176
	lddzr %r21,items
	srliw %r5,%r5,7
	addws %r2,%r2,%r5
;WI_drawNetgameStats+192
	ldwzr %r5,dofrags
	ldbs %r6,%r21,1
	ldbz %r7,%r21,0
;WI_drawNetgameStats+208
	slsrai %r2,%r2,48,48
	sraiw %r2,%r2,1
	cmpweqi %r5,%r5,0
;WI_drawNetgameStats+224
	slor %r6,%r7,%r6,8
	sladdws %r2,%r2,%r5,5
	subws %r2,%r2,%r6
;WI_drawNetgameStats+240
	addiws %r19,%r2,160
	mov %r20,%r1
	callr %r18,V_DrawPatch
;WI_drawNetgameStats+256
	lddzr %r2,star
	ldbz %r5,%r2,1
	ldbz %r2,%r2,0
;WI_drawNetgameStats+272
	slor %r2,%r2,%r5,8
	lddzr %r21,secret
	srliw %r5,%r5,7
;WI_drawNetgameStats+288
	addws %r2,%r2,%r5
	ldwzr %r5,dofrags
	ldbs %r6,%r21,1
;WI_drawNetgameStats+304
	ldbz %r7,%r21,0
	slsrai %r2,%r2,48,48
	sraiw %r2,%r2,1
;WI_drawNetgameStats+320
	cmpweqi %r5,%r5,0
	slor %r6,%r7,%r6,8
	sladdws %r2,%r2,%r5,5
;WI_drawNetgameStats+336
	subws %r2,%r2,%r6
	addiws %r19,%r2,224
	mov %r20,%r1
;WI_drawNetgameStats+352
	callr %r18,V_DrawPatch
	ldwzr %r1,dofrags
	bweq %r1,%gz,WI_drawNetgameStats+464
;WI_drawNetgameStats+368
	lddzr %r1,star
	ldbz %r2,%r1,1
	ldbz %r1,%r1,0
;WI_drawNetgameStats+384
	lddzr %r21,frags
	slor %r1,%r1,%r2,8
	ldbs %r5,%r21,1
;WI_drawNetgameStats+400
	ldbz %r6,%r21,0
	srliw %r2,%r2,7
	addws %r1,%r1,%r2
;WI_drawNetgameStats+416
	slsrai %r1,%r1,48,48
	sraiw %r1,%r1,1
	slor %r2,%r6,%r5,8
;WI_drawNetgameStats+432
	subws %r1,%r1,%r2
	addiws %r19,%r1,288
	ldi %r20,50
;WI_drawNetgameStats+448
	callr %r18,V_DrawPatch
	nop 0
	nop 0
;WI_drawNetgameStats+464
	lddzr %r1,kills
	ldbs %r2,%r1,3
	ldbz %r1,%r1,2
;WI_drawNetgameStats+480
	mov %r7,%gz
	slor %r8,%r4,%r3,8
	slor %r1,%r1,%r2,8
;WI_drawNetgameStats+496
	addiws %r1,%r1,50
	ldafr %r9,cnt_frags
	ldafr %r10,cnt_secret
;WI_drawNetgameStats+512
	ldafr %r11,cnt_items
	ldafr %r12,cnt_kills
	ldafr %r13,p
;WI_drawNetgameStats+528
	ldafr %r14,playeringame
	ldi %r2,-1
	jmp WI_drawNetgameStats+608
;WI_drawNetgameStats+544
	addiws %r1,%r1,33
	nop 0
	nop 0
;WI_drawNetgameStats+560
	addi %r7,%r7,1
	addi %r9,%r9,4
	addi %r10,%r10,4
;WI_drawNetgameStats+576
	addi %r11,%r11,4
	addi %r12,%r12,4
	addi %r13,%r13,8
;WI_drawNetgameStats+592
	addi %r14,%r14,4
	bdeqi %r7,4,WI_drawNetgameStats+992
	nop 0
;WI_drawNetgameStats+608
	ldwz %r3,%r14,0
	bweq %r3,%gz,WI_drawNetgameStats+560
	lddzr %r3,star
;WI_drawNetgameStats+624
	ldbz %r4,%r3,1
	ldbz %r3,%r3,0
	slor %r3,%r3,%r4,8
;WI_drawNetgameStats+640
	srliw %r4,%r4,7
	lddz %r21,%r13,0
	addws %r3,%r3,%r4
;WI_drawNetgameStats+656
	slsrai %r3,%r3,48,48
	ldwzr %r4,dofrags
	ldbs %r5,%r21,1
;WI_drawNetgameStats+672
	ldbz %r6,%r21,0
	sraiw %r3,%r3,1
	cmpweqi %r4,%r4,0
;WI_drawNetgameStats+688
	sladdws %r3,%r3,%r4,5
	addiws %r15,%r3,32
	slor %r3,%r6,%r5,8
;WI_drawNetgameStats+704
	subws %r19,%r15,%r3
	mov %r20,%r1
	callr %r18,V_DrawPatch
;WI_drawNetgameStats+720
	ldwzr %r3,me
	bdne %r7,%r3,WI_drawNetgameStats+784
	lddz %r3,%r13,0
;WI_drawNetgameStats+736
	ldbs %r4,%r3,1
	ldbz %r3,%r3,0
	slor %r3,%r3,%r4,8
;WI_drawNetgameStats+752
	subws %r19,%r15,%r3
	lddzr %r21,star
	mov %r20,%r1
;WI_drawNetgameStats+768
	callr %r18,V_DrawPatch
	nop 0
	nop 0
;WI_drawNetgameStats+784
	ldwz %r4,%r12,0
	addiws %r3,%r1,10
	subws %r16,%r15,%r8
;WI_drawNetgameStats+800
	bwlt %r4,%gz,WI_drawNetgameStats+848
	addiws %r5,%r16,64
	lddzr %r21,percent
;WI_drawNetgameStats+816
	mov2 %r19,%r20,%r5,%r3
	callr %r18,V_DrawPatch
	mov2 %r18,%r19,%r5,%r3
;WI_drawNetgameStats+832
	mov2 %r20,%r21,%r4,%r2
	callr %r17,WI_drawNum
	nop 0
;WI_drawNetgameStats+848
	ldwz %r4,%r11,0
	bwlt %r4,%gz,WI_drawNetgameStats+896
	addiws %r5,%r16,128
;WI_drawNetgameStats+864
	lddzr %r21,percent
	mov2 %r19,%r20,%r5,%r3
	callr %r18,V_DrawPatch
;WI_drawNetgameStats+880
	mov2 %r18,%r19,%r5,%r3
	mov2 %r20,%r21,%r4,%r2
	callr %r17,WI_drawNum
;WI_drawNetgameStats+896
	ldwz %r4,%r10,0
	bwlt %r4,%gz,WI_drawNetgameStats+944
	addiws %r5,%r16,192
;WI_drawNetgameStats+912
	lddzr %r21,percent
	mov2 %r19,%r20,%r5,%r3
	callr %r18,V_DrawPatch
;WI_drawNetgameStats+928
	mov2 %r18,%r19,%r5,%r3
	mov2 %r20,%r21,%r4,%r2
	callr %r17,WI_drawNum
;WI_drawNetgameStats+944
	ldwzr %r4,dofrags
	bweq %r4,%gz,WI_drawNetgameStats+544
	addiws %r18,%r15,256
;WI_drawNetgameStats+960
	ldwz %r20,%r9,0
	mov2 %r19,%r21,%r3,%r2
	callr %r17,WI_drawNum
;WI_drawNetgameStats+976
	jmp WI_drawNetgameStats+544
	nop 0
	nop 0
;WI_drawNetgameStats+992
	retf 0
	nop 0
	nop 0
;WI_initStats
	alloc 3
	stwr %gz,state
	stbr %gz,acceleratestage
;WI_initStats+16
	ldi %r1,1
	stwr %r1,sp_state
	ldi %r1,-1
;WI_initStats+32
	stwr %r1,cnt_secret
	stwr %r1,cnt_items
	stwr %r1,cnt_kills
;WI_initStats+48
	stwr %r1,cnt_par
	stwr %r1,cnt_time
	ldi %r1,35
;WI_initStats+64
	stwr %r1,cnt_pause
	callr %r2,WI_initAnimatedBack
	retf 0
;WI_updateStats
	alloc 9
	callr %r8,WI_updateAnimatedBack
	ldbzr %r2,acceleratestage
;WI_updateStats+16
	ldwzr %r1,sp_state
	bbci %r2,0,WI_updateStats+352
	bweqi %r1,10,WI_updateStats+352
;WI_updateStats+32
	ldwsr %r1,me
	lddzr %r2,plrs
	lddzr %r3,wbs
;WI_updateStats+48
	stbr %gz,acceleratestage
	muli %r1,%r1,40
	ldwzx.xd %r4,%r2,%r1,0,4
;WI_updateStats+64
	ldwz %r5,%r3,16
	mulwsi %r4,%r4,100
	divw %r4,%r4,%r5
;WI_updateStats+80
	stwr %r4,cnt_kills
	ldwzx.xd %r4,%r2,%r1,0,8
	ldwz %r5,%r3,20
;WI_updateStats+96
	mulwsi %r4,%r4,100
	divw %r4,%r4,%r5
	stwr %r4,cnt_items
;WI_updateStats+112
	ldwzx.xd %r4,%r2,%r1,0,12
	ldwz %r5,%r3,24
	mulwsi %r4,%r4,100
;WI_updateStats+128
	divw %r4,%r4,%r5
	stwr %r4,cnt_secret
	ldwzx.xd %r1,%r2,%r1,0,16
;WI_updateStats+144
	sraiw %r2,%r1,0
	muli.l %r2,%r2,-368140053
;WI_updateStats+160
	srli %r2,%r2,32
	addws %r1,%r2,%r1
	srliw %r2,%r1,31
;WI_updateStats+176
	sraiw %r1,%r1,5
	addws %r1,%r1,%r2
	stwr %r1,cnt_time
;WI_updateStats+192
	ldwz %r1,%r3,32
	sraiw %r2,%r1,0
	nop 2
;WI_updateStats+208
	muli.l %r2,%r2,-368140053
	srli %r2,%r2,32
;WI_updateStats+224
	addws %r1,%r2,%r1
	srliw %r2,%r1,31
	sraiw %r1,%r1,5
;WI_updateStats+240
	addws %r1,%r1,%r2
	stwr %r1,cnt_par
	ldi %r8,82
;WI_updateStats+256
	mov %r7,%gz
	callr %r6,S_StartSound
	ldbzr %r1,acceleratestage
;WI_updateStats+272
	ldi %r2,10
	stwr %r2,sp_state
	bbci %r1,0,WI_updateStats+1152
;WI_updateStats+288
	ldi %r8,3
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+304
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_updateStats+512
	ldi %r1,-1
;WI_updateStats+320
	stwr %r1,state
	stbr %gz,acceleratestage
	ldi %r1,10
;WI_updateStats+336
	stwr %r1,cnt
	retf 0
	nop 0
;WI_updateStats+352
	addiws %r3,%r1,-2
	bwgeui %r3,9,WI_updateStats+560
	addiwz %r3,%r1,-2
;WI_updateStats+368
	ldafr %r4,.rodata+104372
	jmpt %r4,%r3
	nop 0
;WI_updateStats+384
	ldwzr %r1,cnt_kills
	ldbzr %r2,bcnt
	addiws %r1,%r1,2
;WI_updateStats+400
	andi %r2,%r2,3
	stwr %r1,cnt_kills
	bwne %r2,%gz,WI_updateStats+448
;WI_updateStats+416
	ldi %r8,1
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+432
	ldwzr %r1,cnt_kills
	nop 0
	nop 0
;WI_updateStats+448
	ldwsr %r2,me
	lddzr %r3,plrs
	lddzr %r4,wbs
;WI_updateStats+464
	muli %r2,%r2,40
	ldwzx.xd %r2,%r3,%r2,0,4
	ldwz %r3,%r4,16
;WI_updateStats+480
	mulwsi %r2,%r2,100
	divw %r2,%r2,%r3
	bwlt %r1,%r2,WI_updateStats+1152
;WI_updateStats+496
	stwr %r2,cnt_kills
	jmp WI_updateStats+1088
	nop 0
;WI_updateStats+512
	ldi %r1,1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_updateStats+528
	ldi %r1,140
	stwr %r1,cnt
	callr %r8,WI_initAnimatedBack
;WI_updateStats+544
	retf 0
	nop 0
	nop 0
;WI_updateStats+560
	bbci %r1,0,WI_updateStats+1152
	ldwzr %r2,cnt_pause
	addiws %r2,%r2,-1
;WI_updateStats+576
	stwr %r2,cnt_pause
	bwne %r2,%gz,WI_updateStats+1152
	addiws %r1,%r1,1
;WI_updateStats+592
	stwr %r1,sp_state
	ldi %r1,35
	stwr %r1,cnt_pause
;WI_updateStats+608
	retf 0
	nop 0
	nop 0
;WI_updateStats+624
	ldwzr %r1,cnt_secret
	ldbzr %r2,bcnt
	addiws %r1,%r1,2
;WI_updateStats+640
	andi %r2,%r2,3
	stwr %r1,cnt_secret
	bwne %r2,%gz,WI_updateStats+688
;WI_updateStats+656
	ldi %r8,1
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+672
	ldwzr %r1,cnt_secret
	nop 0
	nop 0
;WI_updateStats+688
	ldwsr %r2,me
	lddzr %r3,plrs
	lddzr %r4,wbs
;WI_updateStats+704
	muli %r2,%r2,40
	ldwzx.xd %r2,%r3,%r2,0,12
	ldwz %r3,%r4,24
;WI_updateStats+720
	mulwsi %r2,%r2,100
	divw %r2,%r2,%r3
	bwlt %r1,%r2,WI_updateStats+1152
;WI_updateStats+736
	stwr %r2,cnt_secret
	jmp WI_updateStats+1088
	nop 0
;WI_updateStats+752
	ldwzr %r1,cnt_items
	ldbzr %r2,bcnt
	addiws %r1,%r1,2
;WI_updateStats+768
	andi %r2,%r2,3
	stwr %r1,cnt_items
	bwne %r2,%gz,WI_updateStats+816
;WI_updateStats+784
	ldi %r8,1
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+800
	ldwzr %r1,cnt_items
	nop 0
	nop 0
;WI_updateStats+816
	ldwsr %r2,me
	lddzr %r3,plrs
	lddzr %r4,wbs
;WI_updateStats+832
	muli %r2,%r2,40
	ldwzx.xd %r2,%r3,%r2,0,8
	ldwz %r3,%r4,20
;WI_updateStats+848
	mulwsi %r2,%r2,100
	divw %r2,%r2,%r3
	bwlt %r1,%r2,WI_updateStats+1152
;WI_updateStats+864
	stwr %r2,cnt_items
	jmp WI_updateStats+1088
	nop 0
;WI_updateStats+880
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateStats+912
;WI_updateStats+896
	ldi %r8,1
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+912
	ldwsr %r1,me
	lddzr %r2,plrs
	ldwzr %r3,cnt_time
;WI_updateStats+928
	muli %r1,%r1,40
	ldwzx.xd %r2,%r2,%r1,0,16
	addiws %r1,%r3,3
;WI_updateStats+944
	sraiw %r3,%r2,0
	muli.l %r3,%r3,-368140053
;WI_updateStats+960
	srli %r3,%r3,32
	addws %r2,%r3,%r2
	srliw %r3,%r2,31
;WI_updateStats+976
	sraiw %r2,%r2,5
	addws %r2,%r2,%r3
	ldwzr %r3,cnt_par
;WI_updateStats+992
	minsw %r4,%r1,%r2
	lddzr %r5,wbs
	stwr %r4,cnt_time
;WI_updateStats+1008
	addiws %r4,%r3,3
	stwr %r4,cnt_par
	ldwz %r3,%r5,32
;WI_updateStats+1024
	sraiw %r5,%r3,0
	muli.l %r5,%r5,-368140053
;WI_updateStats+1040
	srli %r5,%r5,32
	addws %r3,%r5,%r3
	srliw %r5,%r3,31
;WI_updateStats+1056
	sraiw %r3,%r3,5
	addws %r3,%r3,%r5
	bwlt %r4,%r3,WI_updateStats+1152
;WI_updateStats+1072
	stwr %r3,cnt_par
	bwlt %r1,%r2,WI_updateStats+1152
	nop 0
;WI_updateStats+1088
	ldi %r8,82
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+1104
	ldwzr %r1,sp_state
	addiws %r1,%r1,1
	stwr %r1,sp_state
;WI_updateStats+1120
	retf 0
	nop 0
	nop 0
;WI_updateStats+1136
	bbsi %r2,0,WI_updateStats+288
	nop 0
	nop 0
;WI_updateStats+1152
	retf 0
	nop 0
	nop 0
;WI_drawStats
	alloc 12
	lddzr %r1,num
	ldbs %r2,%r1,3
;WI_drawStats+16
	ldbz %r1,%r1,2
	slor %r1,%r1,%r2,8
	mulwsi %r1,%r1,3
;WI_drawStats+32
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
;WI_drawStats+48
	lddzr %r11,background
	mov2 %r9,%r10,%gz,%gz
	callr %r8,V_DrawPatch
;WI_drawStats+64
	callr %r11,WI_drawAnimatedBack
	callr %r11,WI_drawLF
	lddzr %r11,kills
;WI_drawStats+80
	ldi %r9,50
	mov %r10,%r9
	callr %r8,V_DrawPatch
;WI_drawStats+96
	ldwzr %r1,cnt_kills
	bwlt %r1,%gz,WI_drawStats+160
	lddzr %r11,percent
;WI_drawStats+112
	ldi %r2,270
	ldi %r3,50
	mov2 %r9,%r10,%r2,%r3
;WI_drawStats+128
	callr %r8,V_DrawPatch
	ldi %r11,-1
	mov2 %r8,%r9,%r2,%r3
;WI_drawStats+144
	mov %r10,%r1
	callr %r7,WI_drawNum
	nop 0
;WI_drawStats+160
	addiws %r2,%r6,50
	lddzr %r11,items
	ldi %r1,50
;WI_drawStats+176
	mov2 %r9,%r10,%r1,%r2
	callr %r8,V_DrawPatch
	ldwzr %r3,cnt_items
;WI_drawStats+192
	bwlt %r3,%gz,WI_drawStats+240
	lddzr %r11,percent
	ldi %r4,270
;WI_drawStats+208
	mov2 %r9,%r10,%r4,%r2
	callr %r8,V_DrawPatch
	ldi %r11,-1
;WI_drawStats+224
	mov2 %r8,%r9,%r4,%r2
	mov %r10,%r3
	callr %r7,WI_drawNum
;WI_drawStats+240
	sladdws %r2,%r1,%r6,1
	lddzr %r11,sp_secret
	mov2 %r9,%r10,%r1,%r2
;WI_drawStats+256
	callr %r8,V_DrawPatch
	ldwzr %r1,cnt_secret
	bwlt %r1,%gz,WI_drawStats+320
;WI_drawStats+272
	lddzr %r11,percent
	ldi %r3,270
	mov2 %r9,%r10,%r3,%r2
;WI_drawStats+288
	callr %r8,V_DrawPatch
	ldi %r11,-1
	mov2 %r8,%r9,%r3,%r2
;WI_drawStats+304
	mov %r10,%r1
	callr %r7,WI_drawNum
	nop 0
;WI_drawStats+320
	lddzr %r11,timepatch
	ldi %r9,16
	ldi %r1,168
;WI_drawStats+336
	mov %r10,%r1
	callr %r8,V_DrawPatch
	ldwzr %r11,cnt_time
;WI_drawStats+352
	ldi %r9,144
	mov %r10,%r1
	callr %r8,WI_drawTime
;WI_drawStats+368
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwgei %r1,3,WI_drawStats+432
;WI_drawStats+384
	lddzr %r11,par
	ldi %r9,176
	ldi %r1,168
;WI_drawStats+400
	mov %r10,%r1
	callr %r8,V_DrawPatch
	ldwzr %r11,cnt_par
;WI_drawStats+416
	ldi %r9,304
	mov %r10,%r1
	callr %r8,WI_drawTime
;WI_drawStats+432
	retf 0
	nop 0
	nop 0
;WI_checkForAccelerate
	alloc 8
	mov %r1,%gz
	ldafr %r2,players+204
;WI_checkForAccelerate+16
	ldafr %r3,playeringame
	ldi %r4,1
	jmp WI_checkForAccelerate+64
;WI_checkForAccelerate+32
	stw %r7,%r2,0
	nop 0
	nop 0
;WI_checkForAccelerate+48
	addi %r1,%r1,4
	addi %r2,%r2,328
	bdeqi %r1,16,WI_checkForAccelerate+176
;WI_checkForAccelerate+64
	ldwzx.xd %r5,%r1,%r3,0,0
	bweq %r5,%gz,WI_checkForAccelerate+48
	ldbz %r5,%r2,-187
;WI_checkForAccelerate+80
	mov %r6,%gz
	bbci %r5,0,WI_checkForAccelerate+128
	ldwz %r7,%r2,-4
;WI_checkForAccelerate+96
	mov %r6,%r4
	bwne %r7,%gz,WI_checkForAccelerate+128
	stbr %r4,acceleratestage
;WI_checkForAccelerate+112
	mov %r6,%r4
	nop 0
	nop 0
;WI_checkForAccelerate+128
	mov %r7,%gz
	stw %r6,%r2,-4
	bbci %r5,1,WI_checkForAccelerate+32
;WI_checkForAccelerate+144
	ldwz %r5,%r2,0
	mov %r7,%r4
	bwne %r5,%gz,WI_checkForAccelerate+32
;WI_checkForAccelerate+160
	stbr %r4,acceleratestage
	mov %r7,%r4
	jmp WI_checkForAccelerate+32
;WI_checkForAccelerate+176
	retf 0
	nop 0
	nop 0
;WI_Ticker
	alloc 11
	ldwzr %r1,bcnt
	addiws %r2,%r1,1
;WI_Ticker+16
	stwr %r2,bcnt
	bwne %r1,%gz,WI_Ticker+64
	ldwzr %r1,gamemode
;WI_Ticker+32
	cmpweqi %r1,%r1,2
	ldi %r2,28
	ldi %r3,67
;WI_Ticker+48
	cmovlsb %r9,%r1,%r3,%r2
	ldi %r10,1
	callr %r8,S_ChangeMusic
;WI_Ticker+64
	mov %r1,%gz
	ldafr %r2,players+204
	ldafr %r3,playeringame
;WI_Ticker+80
	ldi %r4,1
	jmp WI_Ticker+128
	nop 0
;WI_Ticker+96
	stw %r7,%r2,0
	nop 0
	nop 0
;WI_Ticker+112
	addi %r1,%r1,4
	addi %r2,%r2,328
	bdeqi %r1,16,WI_Ticker+240
;WI_Ticker+128
	ldwzx.xd %r5,%r1,%r3,0,0
	bweq %r5,%gz,WI_Ticker+112
	ldbz %r5,%r2,-187
;WI_Ticker+144
	mov %r6,%gz
	bbci %r5,0,WI_Ticker+192
	ldwz %r7,%r2,-4
;WI_Ticker+160
	mov %r6,%r4
	bwne %r7,%gz,WI_Ticker+192
	stbr %r4,acceleratestage
;WI_Ticker+176
	mov %r6,%r4
	nop 0
	nop 0
;WI_Ticker+192
	mov %r7,%gz
	stw %r6,%r2,-4
	bbci %r5,1,WI_Ticker+96
;WI_Ticker+208
	ldwz %r5,%r2,0
	mov %r7,%r4
	bwne %r5,%gz,WI_Ticker+96
;WI_Ticker+224
	stbr %r4,acceleratestage
	mov %r7,%r4
	jmp WI_Ticker+96
;WI_Ticker+240
	ldwzr %r1,state
	bweqi %r1,-1,WI_Ticker+320
	bwnei %r1,1,WI_Ticker+352
;WI_Ticker+256
	callr %r10,WI_updateAnimatedBack
	ldwzr %r1,cnt
	addiws %r1,%r1,-1
;WI_Ticker+272
	stwr %r1,cnt
	bweq %r1,%gz,WI_Ticker+384
	ldbzr %r2,acceleratestage
;WI_Ticker+288
	bbsi %r2,0,WI_Ticker+384
	andi %r1,%r1,28
	cmpwltui %r1,%r1,20
;WI_Ticker+304
	stwr %r1,snl_pointeron
	retf 0
	nop 0
;WI_Ticker+320
	callr %r10,WI_updateAnimatedBack
	ldwzr %r1,cnt
	addiws %r1,%r1,-1
;WI_Ticker+336
	stwr %r1,cnt
	bweq %r1,%gz,WI_Ticker+416
	retf 0
;WI_Ticker+352
	ldwzr %r1,deathmatch
	bweq %r1,%gz,WI_Ticker+432
	callr %r10,WI_updateDeathmatchStats
;WI_Ticker+368
	retf 0
	nop 0
	nop 0
;WI_Ticker+384
	ldi %r1,-1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_Ticker+400
	ldi %r1,10
	stwr %r1,cnt
	retf 0
;WI_Ticker+416
	callr %r10,G_WorldDone
	retf 0
	nop 0
;WI_Ticker+432
	ldwzr %r1,netgame
	bweq %r1,%gz,WI_Ticker+464
	callr %r10,WI_updateNetgameStats
;WI_Ticker+448
	retf 0
	nop 0
	nop 0
;WI_Ticker+464
	callr %r10,WI_updateStats
	retf 0
	nop 0
;WI_loadData
	allocsp 22,32
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_loadData+48
;WI_loadData+16
	ldi %r1,1
	stbr %r1,NUMCMAPS
	ldi %r19,256
;WI_loadData+32
	jmp WI_loadData+64
	nop 0
	nop 0
;WI_loadData+48
	ldi %r19,72
	nop 0
	nop 0
;WI_loadData+64
	ldi %r20,1
	mov %r21,%gz
	callr %r18,Z_Malloc
;WI_loadData+80
	ldwzr %r1,gamemode
	stdr %r19,lnames
	bwnei %r1,2,WI_loadData+224
;WI_loadData+96
	ldbzr %r1,NUMCMAPS
	bbci %r1,0,WI_loadData+704
	mov2 %r6,%r5,%gz,%gz
;WI_loadData+112
	ldafr %r1,.rodata+16943
	addi %r2,%sp,23
	ldi %r3,9
;WI_loadData+128
	ldi %r4,1
	nop 0
	nop 0
;WI_loadData+144
	mov %r7,%r5
	stw %r5,%sp,0
	mov2 %r19,%r20,%r2,%r3
;WI_loadData+160
	mov %r21,%r1
	callr %r18,snprintf
	lddzr %r8,lnames
;WI_loadData+176
	mov2 %r20,%r21,%r2,%r4
	callr %r19,W_CacheLumpName
	stdx.xd %r20,%r8,%r6,0,0
;WI_loadData+192
	ldbzr %r5,NUMCMAPS
	bbci %r5,0,WI_loadData+704
	addi %r5,%r7,1
;WI_loadData+208
	addi %r6,%r6,8
	bdltui %r7,31,WI_loadData+144
	jmp WI_loadData+704
;WI_loadData+224
	mov2 %r6,%r7,%gz,%gz
	ldafr %r1,.rodata+18311
	addi %r2,%sp,23
;WI_loadData+240
	ldi %r3,9
	ldi %r4,1
	nop 0
;WI_loadData+256
	lddzr %r5,wbs
	ldwz %r5,%r5,0
	stw %r7,%sp,4
;WI_loadData+272
	stw %r5,%sp,0
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
;WI_loadData+288
	callr %r18,snprintf
	lddzr %r8,lnames
	mov2 %r20,%r21,%r2,%r4
;WI_loadData+304
	callr %r19,W_CacheLumpName
	stdx.xd %r20,%r8,%r6,0,0
	addi %r7,%r7,1
;WI_loadData+320
	addi %r6,%r6,8
	bdnei %r7,9,WI_loadData+256
	ldafr %r20,.rodata+1960
;WI_loadData+336
	ldi %r1,1
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+352
	stdr %r20,yah
	ldafr %r20,.rodata+5852
	mov %r21,%r1
;WI_loadData+368
	callr %r19,W_CacheLumpName
	stdr %r20,yah+8
	ldafr %r20,.rodata+5418
;WI_loadData+384
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	lddzr %r5,wbs
;WI_loadData+400
	stdr %r20,splat
	ldwz %r12,%r5,0
	bwgei %r12,3,WI_loadData+704
;WI_loadData+416
	mov %r6,%gz
	sraiw %r13,%r12,0
	ldi %r7,32
;WI_loadData+432
	ldafr %r8,anims
	ldi %r9,72
	ldafr %r10,epsd1animinfo+320
;WI_loadData+448
	ldafr %r1,.rodata+18320
	addi %r2,%sp,23
	ldi %r3,9
;WI_loadData+464
	ldi %r4,1
	ldafr %r11,NUMANIMS
	jmp WI_loadData+528
;WI_loadData+480
	ldwz %r12,%r5,0
	nop 0
	nop 0
;WI_loadData+496
	ldwsx.xw %r14,%r11,%r12,2,0
	addi %r6,%r6,1
	sraiw %r13,%r12,0
;WI_loadData+512
	addi %r7,%r7,72
	bdle %r14,%r6,WI_loadData+704
	nop 0
;WI_loadData+528
	lddzx.xd %r14,%r8,%r13,3,0
	muli %r13,%r6,72
	ldwzx.xd %r16,%r14,%r13,0,8
;WI_loadData+544
	bwlti %r16,1,WI_loadData+496
	mov %r12,%gz
	muladd %r13,%r6,%r9,%r14
;WI_loadData+560
	add %r14,%r14,%r7
	mov %r15,%r10
	jmp WI_loadData+672
;WI_loadData+576
	stw %r12,%sp,8
	stw %r6,%sp,4
	stw %r17,%sp,0
;WI_loadData+592
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
	callr %r18,snprintf
;WI_loadData+608
	mov2 %r20,%r21,%r2,%r4
	callr %r19,W_CacheLumpName
	lddzr %r5,wbs
;WI_loadData+624
	ldwz %r16,%r13,8
	nop 0
	nop 0
;WI_loadData+640
	std %r20,%r14,0
	addi %r12,%r12,1
	sraiw %r17,%r16,0
;WI_loadData+656
	addi %r15,%r15,8
	addi %r14,%r14,8
	bdle %r17,%r12,WI_loadData+480
;WI_loadData+672
	ldwz %r17,%r5,0
	bdnei %r6,8,WI_loadData+576
	bwnei %r17,1,WI_loadData+576
;WI_loadData+688
	lddz %r20,%r15,0
	jmp WI_loadData+640
	nop 0
;WI_loadData+704
	ldafr %r20,.rodata+10479
	ldi %r1,1
	mov %r21,%r1
;WI_loadData+720
	callr %r19,W_CacheLumpName
	mov %r6,%gz
	stdr %r20,wiminus
;WI_loadData+736
	ldafr %r7,num
	ldafr %r2,.rodata+14586
	addi %r3,%sp,23
;WI_loadData+752
	ldi %r4,9
	nop 0
	nop 0
;WI_loadData+768
	stw %r6,%sp,0
	mov2 %r19,%r20,%r3,%r4
	mov %r21,%r2
;WI_loadData+784
	callr %r18,snprintf
	mov2 %r20,%r21,%r3,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+800
	std %r20,%r7,0
	addi %r6,%r6,1
	addi %r7,%r7,8
;WI_loadData+816
	bdnei %r6,10,WI_loadData+768
	ldafr %r20,.rodata+2856
	ldi %r1,1
;WI_loadData+832
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,percent
;WI_loadData+848
	ldafr %r20,.rodata+22761
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+864
	stdr %r20,finished
	ldafr %r20,.rodata+23838
	mov %r21,%r1
;WI_loadData+880
	callr %r19,W_CacheLumpName
	stdr %r20,entering
	ldafr %r20,.rodata+11040
;WI_loadData+896
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,kills
;WI_loadData+912
	ldafr %r20,.rodata+12068
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+928
	stdr %r20,secret
	ldafr %r20,.rodata+20169
	mov %r21,%r1
;WI_loadData+944
	callr %r19,W_CacheLumpName
	stdr %r20,sp_secret
	ldafr %r1,.rodata+12075
;WI_loadData+960
	mov %r21,%r1
	callr %r20,W_CheckNumForName
	bwlt %r21,%gz,WI_loadData+1008
;WI_loadData+976
	ldwzr %r2,deathmatch
	ldwzr %r3,netgame
	ldafr %r4,.rodata+6615
;WI_loadData+992
	cmovweq %r1,%r2,%r1,%r4
	cmovweq %r20,%r3,%r4,%r1
	jmp WI_loadData+1024
;WI_loadData+1008
	ldafr %r20,.rodata+6615
	nop 0
	nop 0
;WI_loadData+1024
	ldi %r1,1
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1040
	stdr %r20,items
	ldafr %r20,.rodata+10487
	mov %r21,%r1
;WI_loadData+1056
	callr %r19,W_CacheLumpName
	stdr %r20,frags
	ldafr %r20,.rodata+4231
;WI_loadData+1072
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,colon
;WI_loadData+1088
	ldafr %r20,.rodata+9533
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1104
	stdr %r20,timepatch
	ldafr %r20,.rodata+25855
	mov %r21,%r1
;WI_loadData+1120
	callr %r19,W_CacheLumpName
	stdr %r20,sucks
	ldafr %r20,.rodata+15570
;WI_loadData+1136
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,par
;WI_loadData+1152
	ldafr %r20,.rodata+12081
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1168
	stdr %r20,killers
	ldafr %r20,.rodata+12089
	mov %r21,%r1
;WI_loadData+1184
	callr %r19,W_CacheLumpName
	stdr %r20,victims
	ldafr %r20,.rodata+15576
;WI_loadData+1200
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	mov %r7,%gz
;WI_loadData+1216
	stdr %r20,total
	ldafr %r8,bp
	ldafr %r9,p
;WI_loadData+1232
	ldafr %r2,.rodata+1967
	addi %r3,%sp,23
	ldi %r4,9
;WI_loadData+1248
	ldafr %r5,.rodata+12097
	nop 0
	nop 0
;WI_loadData+1264
	stw %r7,%sp,0
	mov2 %r19,%r20,%r3,%r4
	mov %r21,%r2
;WI_loadData+1280
	callr %r18,snprintf
	mov2 %r20,%r21,%r3,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1296
	std %r20,%r9,0
	addi %r7,%r7,1
	stw %r7,%sp,0
;WI_loadData+1312
	mov2 %r19,%r20,%r3,%r4
	mov %r21,%r5
	callr %r18,snprintf
;WI_loadData+1328
	mov2 %r20,%r21,%r3,%r1
	callr %r19,W_CacheLumpName
	std %r20,%r8,0
;WI_loadData+1344
	addi %r8,%r8,8
	addi %r9,%r9,8
	bdnei %r7,4,WI_loadData+1264
;WI_loadData+1360
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_loadData+1392
	bwnei %r1,3,WI_loadData+1424
;WI_loadData+1376
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwnei %r1,3,WI_loadData+1440
;WI_loadData+1392
	ldafr %r20,.rodata+14684
	addi %r19,%sp,23
	ldi %r21,9
;WI_loadData+1408
	callr %r18,M_StringCopy
	jmp WI_loadData+1472
	nop 0
;WI_loadData+1424
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	nop 0
;WI_loadData+1440
	ldafr %r21,.rodata+17813
	addi %r19,%sp,23
	ldi %r20,9
;WI_loadData+1456
	stw %r1,%sp,0
	callr %r18,snprintf
	nop 0
;WI_loadData+1472
	addi %r20,%sp,23
	ldi %r1,1
	mov %r21,%r1
;WI_loadData+1488
	callr %r19,W_CacheLumpName
	stdr %r20,background
	ldafr %r20,.rodata+16935
;WI_loadData+1504
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,star
;WI_loadData+1520
	ldafr %r20,.rodata+7515
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1536
	stdr %r20,bstar
	retf 32
	nop 0
;WI_Drawer
	alloc 3
	ldwzr %r1,state
	bweqi %r1,-1,WI_Drawer+48
;WI_Drawer+16
	bweqi %r1,1,WI_Drawer+64
	ldwzr %r1,deathmatch
	bweq %r1,%gz,WI_Drawer+80
;WI_Drawer+32
	callr %r2,WI_drawDeathmatchStats
	retf 0
	nop 0
;WI_Drawer+48
	ldi %r1,1
	stwr %r1,snl_pointeron
	nop 0
;WI_Drawer+64
	callr %r2,WI_drawShowNextLoc
	retf 0
	nop 0
;WI_Drawer+80
	ldwzr %r1,netgame
	bweq %r1,%gz,WI_Drawer+112
	callr %r2,WI_drawNetgameStats
;WI_Drawer+96
	retf 0
	nop 0
	nop 0
;WI_Drawer+112
	callr %r2,WI_drawStats
	retf 0
	nop 0
;WI_initVariables
	alloc 3
	stdr %r1,wbs
	stbr %gz,acceleratestage
;WI_initVariables+16
	stwr %gz,bcnt
	stwr %gz,cnt
	ldwz %r2,%r1,36
;WI_initVariables+32
	stwr %r2,me
	addi %r2,%r1,40
	stdr %r2,plrs
;WI_initVariables+48
	ldwz %r2,%r1,16
	bweq %r2,%gz,WI_initVariables+128
	ldwz %r2,%r1,20
;WI_initVariables+64
	bweq %r2,%gz,WI_initVariables+160
	nop 0
	nop 0
;WI_initVariables+80
	ldwz %r2,%r1,24
	bweq %r2,%gz,WI_initVariables+192
	nop 0
;WI_initVariables+96
	ldwzr %r2,gamemode
	bwnei %r2,3,WI_initVariables+224
	nop 0
;WI_initVariables+112
	retf 0
	nop 0
	nop 0
;WI_initVariables+128
	ldi %r2,1
	stw %r2,%r1,16
	ldwz %r2,%r1,20
;WI_initVariables+144
	bwne %r2,%gz,WI_initVariables+80
	nop 0
	nop 0
;WI_initVariables+160
	ldi %r2,1
	stw %r2,%r1,20
	ldwz %r2,%r1,24
;WI_initVariables+176
	bwne %r2,%gz,WI_initVariables+96
	nop 0
	nop 0
;WI_initVariables+192
	ldi %r2,1
	stw %r2,%r1,24
	ldwzr %r2,gamemode
;WI_initVariables+208
	bweqi %r2,3,WI_initVariables+112
	nop 0
	nop 0
;WI_initVariables+224
	ldwz %r2,%r1,0
	bwlti %r2,3,WI_initVariables+112
	addiws %r2,%r2,-3
;WI_initVariables+240
	stw %r2,%r1,0
	retf 0
	nop 0
;WI_Start
	alloc 4
	mov %r3,%r1
	callr %r2,WI_initVariables
;WI_Start+16
	callr %r3,WI_loadData
	ldwzr %r1,deathmatch
	bweq %r1,%gz,WI_Start+48
;WI_Start+32
	callr %r3,WI_initDeathmatchStats
	retf 0
	nop 0
;WI_Start+48
	ldwzr %r1,netgame
	bweq %r1,%gz,WI_Start+80
	callr %r3,WI_initNetgameStats
;WI_Start+64
	retf 0
	nop 0
	nop 0
;WI_Start+80
	stwr %gz,state
	stbr %gz,acceleratestage
	ldi %r1,1
;WI_Start+96
	stwr %r1,sp_state
	ldi %r1,-1
	stwr %r1,cnt_secret
;WI_Start+112
	stwr %r1,cnt_items
	stwr %r1,cnt_kills
	stwr %r1,cnt_par
;WI_Start+128
	stwr %r1,cnt_time
	ldi %r1,35
	stwr %r1,cnt_pause
;WI_Start+144
	callr %r3,WI_initAnimatedBack
	retf 0
	nop 0
;W_Checksum
	allocsp 18,112
	addi %r17,%sp,8
	callr %r16,SHA1_Init
;W_Checksum+16
	ldwzr %r2,numlumps
	stwr %gz,num_open_wadfiles
	bweq %r2,%gz,W_Checksum+288
;W_Checksum+32
	mov %r8,%gz
	ldi %r9,40
	addi %r2,%sp,103
;W_Checksum+48
	ldi %r3,9
	addi %r4,%sp,8
	jmp W_Checksum+160
;W_Checksum+64
	addiws %r11,%r6,1
	slli %r17,%r11,3
	callr %r15,realloc
;W_Checksum+80
	stdr %r16,open_wadfiles
	stdx.xw %r10,%r16,%r6,3,0
	stwr %r11,num_open_wadfiles
;W_Checksum+96
	mov2 %r16,%r17,%r4,%r6
	callr %r15,SHA1_UpdateInt32
	ldwz %r17,%r5,16
;W_Checksum+112
	mov %r16,%r4
	callr %r15,SHA1_UpdateInt32
	ldwz %r17,%r5,20
;W_Checksum+128
	mov %r16,%r4
	callr %r15,SHA1_UpdateInt32
	ldwzr %r5,numlumps
;W_Checksum+144
	addi %r8,%r8,1
	bdleu %r5,%r8,W_Checksum+288
	nop 0
;W_Checksum+160
	lddzr %r7,lumpinfo
	muladd %r5,%r8,%r9,%r7
	muli %r10,%r8,40
;W_Checksum+176
	mov2 %r15,%r16,%r2,%r5
	mov %r17,%r3
	callr %r14,M_StringCopy
;W_Checksum+192
	mov2 %r16,%r17,%r4,%r2
	callr %r15,SHA1_UpdateString
	ldwzr %r6,num_open_wadfiles
;W_Checksum+208
	lddzx.xd %r10,%r7,%r10,0,8
	lddzr %r16,open_wadfiles
	bwlti %r6,1,W_Checksum+64
;W_Checksum+224
	mov %r7,%gz
	srliw %r11,%r6,0
	mov %r12,%r16
;W_Checksum+240
	lddz %r13,%r12,0
	bdeq %r13,%r10,W_Checksum+272
	addi %r7,%r7,1
;W_Checksum+256
	addi %r12,%r12,8
	bdne %r11,%r7,W_Checksum+240
	jmp W_Checksum+64
;W_Checksum+272
	mov %r6,%r7
	jmp W_Checksum+96
	nop 0
;W_Checksum+288
	addi %r17,%sp,8
	mov %r16,%r1
	callr %r15,SHA1_Final
;W_Checksum+304
	retf 112
	nop 0
	nop 0
;W_OpenFile
	alloc 4
	ldafr %r3,.rodata+5426
	callr %r2,M_CheckParm
;W_OpenFile+16
	mov %r3,%r1
	callplt %r2,stdc_wad_file
	mov %r1,%r3
;W_OpenFile+32
	retf 0
	nop 0
	nop 0
;W_CloseFile
	alloc 5
	lddz %r2,%r1,0
	mov %r4,%r1
;W_CloseFile+16
	callmi %r3,%r2,8
	retf 0
	nop 0
;W_Read
	alloc 11
	lddz %r5,%r1,0
	mov2 %r7,%r8,%r1,%r2
;W_Read+16
	mov2 %r9,%r10,%r3,%r4
	callmi %r6,%r5,16
	mov %r1,%r7
;W_Read+32
	retf 0
	nop 0
	nop 0
;W_ParseCommandLine
	allocsp 10,16
	ldafr %r8,.rodata+1974
	ldi %r1,1
;W_ParseCommandLine+16
	mov %r9,%r1
	callr %r7,M_CheckParmWithArgs
	bweq %r8,%gz,W_ParseCommandLine+192
;W_ParseCommandLine+32
	ldwzr %r3,myargc
	addiws %r2,%r8,1
	bweq %r2,%r3,W_ParseCommandLine+176
;W_ParseCommandLine+48
	sraiw %r2,%r2,0
	slli %r5,%r2,3
	addi %r6,%r2,1
;W_ParseCommandLine+64
	ldafr %r2,.rodata+1265
	nop 0
	nop 0
;W_ParseCommandLine+80
	lddzr %r3,myargv
	lddzx.xd %r9,%r3,%r5,0,0
	ldbz %r3,%r9,0
;W_ParseCommandLine+96
	bweqi %r3,45,W_ParseCommandLine+176
	callr %r8,D_TryFindWADByName
	mov %r3,%r9
;W_ParseCommandLine+112
	std %r9,%sp,0
	mov %r9,%r2
	callr %r8,printf
;W_ParseCommandLine+128
	mov %r9,%r3
	callr %r8,W_AddFile
	ldwzr %r3,myargc
;W_ParseCommandLine+144
	mov %r4,%r6
	addi %r5,%r5,8
	addi %r6,%r6,1
;W_ParseCommandLine+160
	bwne %r3,%r4,W_ParseCommandLine+80
	nop 0
	nop 0
;W_ParseCommandLine+176
	retf 16
	nop 0
	nop 0
;W_ParseCommandLine+192
	mov %r1,%gz
	retf 16
	nop 0
;W_LumpNameHash
	alloc 7
	mov2 %r2,%r4,%r1,%gz
	ldi %r1,5381
;W_LumpNameHash+16
	ldbsx.xd %r6,%r2,%r4,0,0
	bweq %r6,%gz,W_LumpNameHash+64
	callr %r5,toupper
;W_LumpNameHash+32
	slxor %r3,%r6,%r1,5
	addi %r4,%r4,1
	xor %r1,%r3,%r1
;W_LumpNameHash+48
	bdnei %r4,8,W_LumpNameHash+16
	nop 0
	nop 0
;W_LumpNameHash+64
	retf 0
	nop 0
	nop 0
;W_AddFile
	allocsp 17,32
	mov2 %r3,%r16,%r1,%r1
	callr %r15,W_OpenFile
;W_AddFile+16
	mov %r1,%r16
	bdeq %r16,%gz,W_AddFile+192
	ldwzr %r4,numlumps
;W_AddFile+32
	mov %r16,%r3
	callr %r15,strlen
	ldax.xd %r15,%r3,%r16,0,-3
;W_AddFile+48
	ldafr %r16,.rodata+22181
	callr %r14,strcasecmp
	bweq %r15,%gz,W_AddFile+224
;W_AddFile+64
	ldi %r14,16
	ldi %r15,1
	mov %r16,%gz
;W_AddFile+80
	callr %r13,Z_Malloc
	mov %r2,%r14
	stb %gz,%r14,3
;W_AddFile+96
	stb %gz,%r14,2
	stb %gz,%r14,1
	stb %gz,%r14,0
;W_AddFile+112
	ldwz %r5,%r1,16
	stb %r5,%r14,4
	srliw %r6,%r5,16
;W_AddFile+128
	stb %r6,%r14,6
	srliw %r6,%r5,24
	stb %r6,%r14,7
;W_AddFile+144
	srliw %r5,%r5,8
	stb %r5,%r14,5
	addi %r16,%r14,8
;W_AddFile+160
	mov %r15,%r3
	callr %r14,M_ExtractFileBase
	addiws %r7,%r4,1
;W_AddFile+176
	jmp W_AddFile+544
	nop 0
	nop 0
;W_AddFile+192
	ldafr %r16,.rodata+27310
	std %r3,%sp,0
	callr %r15,printf
;W_AddFile+208
	retf 32
	nop 0
	nop 0
;W_AddFile+224
	addi %r15,%sp,20
	ldi %r16,12
	mov2 %r13,%r14,%r1,%gz
;W_AddFile+240
	callr %r12,W_Read
	ldbz %r2,%sp,21
	ldbz %r5,%sp,20
;W_AddFile+256
	ldbz %r6,%sp,23
	ldbz %r7,%sp,22
	slliw %r6,%r6,24
;W_AddFile+272
	slor %r2,%r5,%r2,8
	slor %r5,%r6,%r7,16
	or %r2,%r5,%r2
;W_AddFile+288
	bweqi.l %r2,1145132873,W_AddFile+368
	ldbz %r2,%sp,21
;W_AddFile+304
	ldbz %r5,%sp,20
	ldbz %r6,%sp,23
	ldbz %r7,%sp,22
;W_AddFile+320
	slliw %r6,%r6,24
	slor %r2,%r5,%r2,8
	slor %r5,%r6,%r7,16
;W_AddFile+336
	or %r2,%r5,%r2
	bweqi.l %r2,1145132880,W_AddFile+368
;W_AddFile+352
	ldafr %r16,.rodata+12639
	std %r3,%sp,0
	callr %r15,I_Error
;W_AddFile+368
	ldbz %r2,%sp,25
	ldbz %r3,%sp,24
	ldbz %r5,%sp,27
;W_AddFile+384
	ldbz %r6,%sp,26
	slliw %r5,%r5,24
	slor %r2,%r3,%r2,8
;W_AddFile+400
	slor %r3,%r5,%r6,16
	or %r2,%r3,%r2
	slliw %r3,%r2,4
;W_AddFile+416
	ldi %r15,1
	mov2 %r14,%r16,%r3,%gz
	callr %r13,Z_Malloc
;W_AddFile+432
	ldbz %r5,%sp,29
	ldbz %r6,%sp,28
	ldbz %r2,%sp,31
;W_AddFile+448
	ldbz %r7,%sp,30
	slliw %r8,%r2,24
	mov %r2,%r14
;W_AddFile+464
	slor %r5,%r6,%r5,8
	slor %r6,%r8,%r7,16
	or %r14,%r6,%r5
;W_AddFile+480
	sraiw %r16,%r3,0
	mov2 %r13,%r15,%r1,%r2
	callr %r12,W_Read
;W_AddFile+496
	ldbz %r3,%sp,25
	ldbz %r5,%sp,24
	ldbz %r6,%sp,27
;W_AddFile+512
	ldbz %r7,%sp,26
	slliw %r6,%r6,24
	slor %r3,%r5,%r3,8
;W_AddFile+528
	slor %r5,%r6,%r7,16
	or %r3,%r5,%r3
	addws %r7,%r3,%r4
;W_AddFile+544
	ldwzr %r8,numlumps
	sraiw %r15,%r7,0
	ldi %r3,40
;W_AddFile+560
	mov %r16,%r3
	callr %r14,calloc
	mov2 %r4,%r5,%r15,%r8
;W_AddFile+576
	bdne %r15,%gz,W_AddFile+608
	ldafr %r16,.rodata+18334
	callr %r15,I_Error
;W_AddFile+592
	ldwzr %r5,numlumps
	nop 0
	nop 0
;W_AddFile+608
	lddzr %r16,lumpinfo
	bweq %r7,%gz,W_AddFile+816
	bweq %r5,%gz,W_AddFile+816
;W_AddFile+624
	mov %r6,%gz
	ldi %r5,1
	srliw %r9,%r7,0
;W_AddFile+640
	lddzx.xd %r10,%r16,%r6,0,32
	stdx.xd %r10,%r4,%r6,0,32
	lddzx.xd %r15,%r16,%r6,0,24
;W_AddFile+656
	stdx.xd %r15,%r4,%r6,0,24
	lddzx.xd %r10,%r16,%r6,0,16
	stdx.xd %r10,%r4,%r6,0,16
;W_AddFile+672
	lddzx.xd %r10,%r16,%r6,0,8
	stdx.xd %r10,%r4,%r6,0,8
	lddzx.xd %r11,%r16,%r6,0,0
;W_AddFile+688
	mov %r10,%r5
	stdx.xd %r11,%r4,%r6,0,0
	ldax.xd %r5,%r4,%r6,0,24
;W_AddFile+704
	bdeq %r15,%gz,W_AddFile+736
	mov %r16,%r5
	callr %r14,Z_ChangeUser
;W_AddFile+720
	lddzr %r16,lumpinfo
	nop 0
	nop 0
;W_AddFile+736
	lddzx.xd %r5,%r16,%r6,0,32
	bdeq %r5,%gz,W_AddFile+784
	sub %r5,%r5,%r16
;W_AddFile+752
	srli %r5,%r5,3
	muli.l %r5,%r5,-3689348814741910323
;W_AddFile+768
	sraiw %r5,%r5,0
	muladd %r5,%r5,%r3,%r4
	stdx.xd %r5,%r4,%r6,0,32
;W_AddFile+784
	bdleu %r9,%r10,W_AddFile+816
	ldwzr %r11,numlumps
	addi %r5,%r10,1
;W_AddFile+800
	addi %r6,%r6,40
	bdltu %r10,%r11,W_AddFile+640
	nop 0
;W_AddFile+816
	callr %r15,free
	stdr %r4,lumpinfo
	stwr %r7,numlumps
;W_AddFile+832
	bwleu %r7,%r8,W_AddFile+1008
	sraiw %r5,%r8,0
	muladd %r3,%r5,%r3,%r4
;W_AddFile+848
	addi %r4,%r2,8
	ldi %r5,8
	nop 0
;W_AddFile+864
	std %r1,%r3,8
	ldbz %r6,%r4,-7
	ldbz %r9,%r4,-8
;W_AddFile+880
	ldbz %r10,%r4,-5
	ldbz %r11,%r4,-6
	slliw %r10,%r10,24
;W_AddFile+896
	slor %r6,%r9,%r6,8
	slor %r9,%r10,%r11,16
	or %r6,%r9,%r6
;W_AddFile+912
	stw %r6,%r3,16
	ldbz %r6,%r4,-3
	ldbz %r9,%r4,-4
;W_AddFile+928
	ldbz %r10,%r4,-1
	ldbz %r11,%r4,-2
	slliw %r10,%r10,24
;W_AddFile+944
	slor %r6,%r9,%r6,8
	slor %r9,%r10,%r11,16
	or %r6,%r9,%r6
;W_AddFile+960
	stw %r6,%r3,20
	std %gz,%r3,24
	mov2 %r14,%r15,%r3,%r4
;W_AddFile+976
	mov %r16,%r5
	callr %r13,strncpy
	addi %r3,%r3,40
;W_AddFile+992
	addiws %r8,%r8,1
	addi %r4,%r4,16
	bwltu %r8,%r7,W_AddFile+864
;W_AddFile+1008
	mov %r16,%r2
	callr %r15,Z_Free
	lddzr %r16,lumphash
;W_AddFile+1024
	bdeq %r16,%gz,W_AddFile+1040
	callr %r15,Z_Free
	stdr %gz,lumphash
;W_AddFile+1040
	retf 32
	nop 0
	nop 0
;W_NumLumps
	alloc 2
	ldwzr %r1,numlumps
	retf 0
;W_CheckNumForName
	alloc 13
	lddzr %r3,lumphash
	mov %r2,%r1
;W_CheckNumForName+16
	bdeq %r3,%gz,W_CheckNumForName+160
	mov %r5,%gz
	ldi %r4,5381
;W_CheckNumForName+32
	ldbsx.xd %r12,%r2,%r5,0,0
	bweq %r12,%gz,W_CheckNumForName+80
	callr %r11,toupper
;W_CheckNumForName+48
	slxor %r1,%r12,%r4,5
	addi %r5,%r5,1
	xor %r4,%r1,%r4
;W_CheckNumForName+64
	bdnei %r5,8,W_CheckNumForName+32
	nop 0
	nop 0
;W_CheckNumForName+80
	ldwzr %r1,numlumps
	moduw %r1,%r4,%r1
	lddzx.xw %r3,%r3,%r1,3,0
;W_CheckNumForName+96
	ldi %r1,-1
	bdeq %r3,%gz,W_CheckNumForName+240
	ldi %r4,8
;W_CheckNumForName+112
	mov2 %r10,%r11,%r3,%r2
	mov %r12,%r4
	callr %r9,strncasecmp
;W_CheckNumForName+128
	bweq %r10,%gz,W_CheckNumForName+256
	lddz %r3,%r3,32
	bdne %r3,%gz,W_CheckNumForName+112
;W_CheckNumForName+144
	jmp W_CheckNumForName+240
	nop 0
	nop 0
;W_CheckNumForName+160
	ldwzr %r5,numlumps
	lddzr %r7,lumpinfo
	ldi %r6,-1
;W_CheckNumForName+176
	ldi %r8,40
	ldi %r3,8
	nop 0
;W_CheckNumForName+192
	addiws %r1,%r5,-1
	bwlt %r1,%gz,W_CheckNumForName+288
	srliw %r4,%r1,0
;W_CheckNumForName+208
	muladd %r10,%r4,%r8,%r7
	mov2 %r11,%r12,%r2,%r3
	callr %r9,strncasecmp
;W_CheckNumForName+224
	addi %r5,%r5,-1
	bwne %r10,%gz,W_CheckNumForName+192
	nop 0
;W_CheckNumForName+240
	retf 0
	nop 0
	nop 0
;W_CheckNumForName+256
	lddzr %r1,lumpinfo
	sub %r1,%r3,%r1
	srli %r1,%r1,3
;W_CheckNumForName+272
	mulwsi.l %r1,%r1,-858993459
	retf 0
;W_CheckNumForName+288
	mov %r1,%r6
	retf 0
	nop 0
;W_GetNumForName
	allocsp 5,16
	mov2 %r2,%r4,%r1,%r1
	callr %r3,W_CheckNumForName
;W_GetNumForName+16
	mov %r1,%r4
	bwlti %r4,0,W_GetNumForName+32
	retf 16
;W_GetNumForName+32
	ldafr %r4,.rodata+2868
	std %r2,%sp,0
	callr %r3,I_Error
;W_GetNumForName+48
	retf 16
	nop 0
	nop 0
;W_LumpLength
	allocsp 5,16
	ldwzr %r2,numlumps
	bwltu %r1,%r2,W_LumpLength+32
;W_LumpLength+16
	ldafr %r4,.rodata+9540
	stw %r1,%sp,0
	callr %r3,I_Error
;W_LumpLength+32
	lddzr %r2,lumpinfo
	srliw %r1,%r1,0
	muli %r1,%r1,40
;W_LumpLength+48
	ldwzx.xd %r1,%r2,%r1,0,20
	retf 16
	nop 0
;W_ReadLump
	allocsp 11,16
	ldwzr %r3,numlumps
	bwltu %r1,%r3,W_ReadLump+32
;W_ReadLump+16
	ldafr %r10,.rodata+27334
	stw %r1,%sp,0
	callr %r9,I_Error
;W_ReadLump+32
	lddzr %r4,lumpinfo
	srliw %r3,%r1,0
	muli %r5,%r3,40
;W_ReadLump+48
	callr %r10,I_BeginRead
	lddzx.xd %r7,%r4,%r5,0,8
	ldwzx.xd %r8,%r4,%r5,0,16
;W_ReadLump+64
	ldwsx.xd %r10,%r4,%r5,0,20
	mov %r9,%r2
	callr %r6,W_Read
;W_ReadLump+80
	ldwzx.xd %r2,%r4,%r5,0,20
	bwle %r2,%r7,W_ReadLump+128
	stw %r1,%sp,8
;W_ReadLump+96
	stw %r2,%sp,4
	ldafr %r10,.rodata+27814
	stw %r7,%sp,0
;W_ReadLump+112
	callr %r9,I_Error
	nop 0
	nop 0
;W_ReadLump+128
	callr %r10,I_EndRead
	retf 16
	nop 0
;W_CacheLumpNum
	allocsp 12,16
	ldwzr %r3,numlumps
	bwltu %r1,%r3,W_CacheLumpNum+32
;W_CacheLumpNum+16
	ldafr %r11,.rodata+22765
	stw %r1,%sp,0
	callr %r10,I_Error
;W_CacheLumpNum+32
	lddzr %r4,lumpinfo
	sraiw %r3,%r1,0
	muli %r5,%r3,40
;W_CacheLumpNum+48
	lddzx.xd %r5,%r4,%r5,0,8
	lddz %r5,%r5,8
	ldi %r6,40
;W_CacheLumpNum+64
	muladd %r3,%r3,%r6,%r4
	bdeq %r5,%gz,W_CacheLumpNum+96
	ldws %r1,%r3,16
;W_CacheLumpNum+80
	add %r1,%r5,%r1
	retf 16
	nop 0
;W_CacheLumpNum+96
	lddz %r6,%r3,24
	bdeq %r6,%gz,W_CacheLumpNum+144
	mov %r5,%r6
;W_CacheLumpNum+112
	ldafr %r10,.rodata+12681
	ldi %r11,410
	mov2 %r1,%r8,%r6,%r5
;W_CacheLumpNum+128
	mov %r9,%r2
	callr %r7,Z_ChangeTag2
	retf 16
;W_CacheLumpNum+144
	ldwzr %r5,numlumps
	addi %r3,%r3,24
	bwltu %r1,%r5,W_CacheLumpNum+192
;W_CacheLumpNum+160
	ldafr %r11,.rodata+9540
	stw %r1,%sp,0
	callr %r10,I_Error
;W_CacheLumpNum+176
	lddzr %r4,lumpinfo
	nop 0
	nop 0
;W_CacheLumpNum+192
	srliw %r5,%r1,0
	muli %r5,%r5,40
	ldwzx.xd %r9,%r4,%r5,0,20
;W_CacheLumpNum+208
	mov2 %r10,%r11,%r2,%r3
	callr %r8,Z_Malloc
	std %r9,%r3,0
;W_CacheLumpNum+224
	mov2 %r10,%r11,%r1,%r9
	callr %r9,W_ReadLump
	lddz %r1,%r3,0
;W_CacheLumpNum+240
	retf 16
	nop 0
	nop 0
;W_CacheLumpName
	allocsp 7,16
	mov %r6,%r1
	callr %r5,W_CheckNumForName
;W_CacheLumpName+16
	mov %r3,%r6
	bwgei %r6,0,W_CacheLumpName+48
	ldafr %r6,.rodata+2868
;W_CacheLumpName+32
	std %r1,%sp,0
	callr %r5,I_Error
	nop 0
;W_CacheLumpName+48
	mov2 %r5,%r6,%r3,%r2
	callr %r4,W_CacheLumpNum
	mov %r1,%r5
;W_CacheLumpName+64
	retf 16
	nop 0
	nop 0
;W_ReleaseLumpNum
	allocsp 9,16
	ldwzr %r2,numlumps
	bwltu %r1,%r2,W_ReleaseLumpNum+32
;W_ReleaseLumpNum+16
	ldafr %r8,.rodata+12689
	stw %r1,%sp,0
	callr %r7,I_Error
;W_ReleaseLumpNum+32
	lddzr %r2,lumpinfo
	sraiw %r1,%r1,0
	muli %r3,%r1,40
;W_ReleaseLumpNum+48
	lddzx.xd %r3,%r2,%r3,0,8
	lddz %r3,%r3,8
	bdeq %r3,%gz,W_ReleaseLumpNum+80
;W_ReleaseLumpNum+64
	retf 16
	nop 0
	nop 0
;W_ReleaseLumpNum+80
	ldi %r3,40
	muladd %r1,%r1,%r3,%r2
	lddz %r5,%r1,24
;W_ReleaseLumpNum+96
	ldafr %r7,.rodata+12681
	ldi %r6,8
	ldi %r8,461
;W_ReleaseLumpNum+112
	callr %r4,Z_ChangeTag2
	retf 16
	nop 0
;W_ReleaseLumpName
	allocsp 6,16
	mov %r5,%r1
	callr %r4,W_CheckNumForName
;W_ReleaseLumpName+16
	bwlti %r5,0,W_ReleaseLumpName+32
	callr %r4,W_ReleaseLumpNum
	retf 16
;W_ReleaseLumpName+32
	ldafr %r2,.rodata+2868
	std %r1,%sp,0
	mov2 %r3,%r5,%r5,%r2
;W_ReleaseLumpName+48
	callr %r4,I_Error
	mov %r5,%r3
	callr %r4,W_ReleaseLumpNum
;W_ReleaseLumpName+64
	retf 16
	nop 0
	nop 0
;W_GenerateHashTable
	alloc 17
	lddzr %r16,lumphash
	bdeq %r16,%gz,W_GenerateHashTable+32
;W_GenerateHashTable+16
	callr %r15,Z_Free
	nop 0
	nop 0
;W_GenerateHashTable+32
	ldwzr %r1,numlumps
	bweq %r1,%gz,W_GenerateHashTable+288
	slliw %r14,%r1,3
;W_GenerateHashTable+48
	ldi %r15,1
	mov %r16,%gz
	callr %r13,Z_Malloc
;W_GenerateHashTable+64
	ldwzr %r2,numlumps
	mov %r1,%r14
	stdr %r14,lumphash
;W_GenerateHashTable+80
	slli %r16,%r2,3
	mov %r15,%gz
	callr %r13,memset
;W_GenerateHashTable+96
	ldwzr %r3,numlumps
	bweq %r3,%gz,W_GenerateHashTable+288
	mov2 %r4,%r5,%gz,%gz
;W_GenerateHashTable+112
	srliw %r6,%r3,0
	ldi %r7,5381
	ldi %r8,40
;W_GenerateHashTable+128
	jmp W_GenerateHashTable+208
	nop 0
	nop 0
;W_GenerateHashTable+144
	moduw %r2,%r10,%r3
	lddzx.xuw %r10,%r1,%r2,3,0
	muli %r11,%r5,40
;W_GenerateHashTable+160
	stdx.xd %r10,%r9,%r11,0,32
	lddzr %r9,lumpinfo
	muladd %r9,%r5,%r8,%r9
;W_GenerateHashTable+176
	stdx.xuw %r9,%r1,%r2,3,0
	addi %r5,%r5,1
	addi %r4,%r4,40
;W_GenerateHashTable+192
	bdeq %r5,%r6,W_GenerateHashTable+288
	nop 0
	nop 0
;W_GenerateHashTable+208
	lddzr %r9,lumpinfo
	mov %r11,%gz
	add %r12,%r9,%r4
;W_GenerateHashTable+224
	mov %r10,%r7
	nop 0
	nop 0
;W_GenerateHashTable+240
	ldbsx.xd %r16,%r12,%r11,0,0
	bweq %r16,%gz,W_GenerateHashTable+144
	callr %r15,toupper
;W_GenerateHashTable+256
	slxor %r2,%r16,%r10,5
	addi %r11,%r11,1
	xor %r10,%r2,%r10
;W_GenerateHashTable+272
	bdnei %r11,8,W_GenerateHashTable+240
	jmp W_GenerateHashTable+144
	nop 0
;W_GenerateHashTable+288
	retf 0
	nop 0
	nop 0
;W_CheckCorrectIWAD
	allocsp 14,48
	mov %r7,%gz
	ldafr %r8,unique_lumps
;W_CheckCorrectIWAD+16
	ldafr %r9,unique_lumps+4
	ldi %r2,4
	ldafr %r10,.rodata+6622
;W_CheckCorrectIWAD+32
	ldafr %r3,.rodata+1980
	jmp W_CheckCorrectIWAD+64
	nop 0
;W_CheckCorrectIWAD+48
	addi %r7,%r7,12
	bdeqi %r7,48,W_CheckCorrectIWAD+176
	nop 0
;W_CheckCorrectIWAD+64
	ldwzx.xd %r4,%r7,%r8,0,0
	bweq %r1,%r4,W_CheckCorrectIWAD+48
	add %r13,%r7,%r9
;W_CheckCorrectIWAD+80
	callr %r12,W_CheckNumForName
	bwlt %r13,%gz,W_CheckCorrectIWAD+48
	mov2 %r12,%r13,%r4,%r2
;W_CheckCorrectIWAD+96
	callr %r11,D_SuggestGameName
	mov2 %r5,%r13,%r12,%r1
	callr %r12,D_GameMissionString
;W_CheckCorrectIWAD+112
	mov2 %r6,%r13,%r13,%r4
	callr %r12,D_GameMissionString
	std %r13,%sp,32
;W_CheckCorrectIWAD+128
	std %r10,%sp,24
	std %r6,%sp,16
	std %r10,%sp,8
;W_CheckCorrectIWAD+144
	std %r5,%sp,0
	mov %r13,%r3
	callr %r12,I_Error
;W_CheckCorrectIWAD+160
	jmp W_CheckCorrectIWAD+48
	nop 0
	nop 0
;W_CheckCorrectIWAD+176
	retf 48
	nop 0
	nop 0
;allzerop
	alloc 2
	mov %r1,%gz
	retf 0
;calloc
	alloc 10
	bdeq %r2,%gz,calloc+64
	srli %r8,%r2,0
;calloc+16
	srli %r9,%r1,0
	callr %r7,__multi3
	srlqi %r3,%r8,0
;calloc+32
	bdeq %r3,%gz,calloc+64
	callr %r8,___errno_location
	mov %r1,%gz
;calloc+48
	ldi %r2,12
	stw %r2,%r9,0
	retf 0
;calloc+64
	mul %r2,%r2,%r1
	mov %r9,%r2
	callr %r8,default_malloc
;calloc+80
	bdeq %r9,%gz,calloc+160
	mov %r1,%r9
	ldwzr %r3,__malloc_replaced
;calloc+96
	bweq %r3,%gz,calloc+336
	nop 0
	nop 0
;calloc+112
	bdgeui.l %r2,4096,calloc+176
	nop 0
;calloc+128
	mov2 %r7,%r8,%r1,%gz
	mov %r9,%r2
	callr %r6,memset
;calloc+144
	mov %r1,%r7
	retf 0
	nop 0
;calloc+160
	mov %r1,%gz
	retf 0
	nop 0
;calloc+176
	add %r2,%r1,%r2
	andi %r9,%r2,4095
	andi %r7,%r2,-4096
;calloc+192
	jmp calloc+224
	nop 0
	nop 0
;calloc+208
	addi %r9,%r3,4096
	add %r2,%r7,%r3
	sub %r7,%r2,%r9
;calloc+224
	mov %r8,%gz
	callr %r6,memset
	sub %r2,%r7,%r1
;calloc+240
	bdltui.l %r2,4096,calloc+128
	mov %r3,%gz
;calloc+256
	addi %r2,%r7,-4096
	nop 0
	nop 0
;calloc+272
	lddzx.xd %r4,%r7,%r3,0,-8
	lddzx.xd %r5,%r7,%r3,0,-16
	or %r4,%r5,%r4
;calloc+288
	bdne %r4,%gz,calloc+208
	addi %r3,%r3,-16
	nop 2
;calloc+304
	bdnei.l %r3,-4096,calloc+272
	mov %r9,%gz
;calloc+320
	sub %r7,%r2,%r9
	jmp calloc+224
	nop 0
;calloc+336
	mov %r9,%r1
	callr %r8,__malloc_allzerop
	bweq %r9,%gz,calloc+112
;calloc+352
	retf 0
	nop 0
	nop 0
;Z_ClearZone
	alloc 5
	addi %r2,%r1,56
	addi %r3,%r1,8
;Z_ClearZone+16
	std %r2,%r1,40
	std %r2,%r1,32
	std %r1,%r1,16
;Z_ClearZone+32
	ldi %r4,1
	stw %r4,%r1,24
	std %r2,%r1,48
;Z_ClearZone+48
	std %r3,%r1,80
	std %r3,%r1,88
	ldi %r2,4
;Z_ClearZone+64
	stw %r2,%r1,72
	ldwz %r2,%r1,0
	addiws %r2,%r2,-56
;Z_ClearZone+80
	stw %r2,%r1,56
	retf 0
	nop 0
;Z_Init
	allocsp 6,16
	addi %r5,%sp,12
	callr %r4,I_ZoneBase
;Z_Init+16
	ldwz %r1,%sp,12
	stdr %r5,mainzone
	stw %r1,%r5,0
;Z_Init+32
	addi %r2,%r5,56
	std %r2,%r5,40
	std %r2,%r5,32
;Z_Init+48
	std %r5,%r5,16
	ldi %r3,1
	stw %r3,%r5,24
;Z_Init+64
	std %r2,%r5,48
	addi %r2,%r5,8
	std %r2,%r5,80
;Z_Init+80
	std %r2,%r5,88
	ldi %r2,4
	stw %r2,%r5,72
;Z_Init+96
	addiws %r1,%r1,-56
	stw %r1,%r5,56
	retf 16
;Z_Free
	alloc 8
	ldwz %r2,%r1,-20
	nop 2
;Z_Free+16
	bweqi.l %r2,1919505,Z_Free+48
	ldafr %r7,.rodata+22796
;Z_Free+32
	callr %r6,I_Error
	nop 0
	nop 0
;Z_Free+48
	ldwz %r2,%r1,-24
	bweqi %r2,4,Z_Free+80
	lddz %r2,%r1,-32
;Z_Free+64
	bdeq %r2,%gz,Z_Free+80
	std %gz,%r2,0
	nop 0
;Z_Free+80
	ldi %r2,4
	std %r2,%r1,-24
	std %gz,%r1,-32
;Z_Free+96
	lddz %r3,%r1,-8
	ldwz %r4,%r3,16
	addi %r2,%r1,-40
;Z_Free+112
	bwnei %r4,4,Z_Free+208
	ldwz %r4,%r1,-40
	ldwz %r5,%r3,0
;Z_Free+128
	addws %r4,%r5,%r4
	stw %r4,%r3,0
	lddz %r1,%r1,-16
;Z_Free+144
	std %r1,%r3,24
	std %r3,%r1,32
	lddzr %r4,mainzone
;Z_Free+160
	lddz %r5,%r4,48
	bdne %r2,%r5,Z_Free+176
	std %r3,%r4,48
;Z_Free+176
	mov %r2,%r3
	ldwz %r3,%r1,16
	bweqi %r3,4,Z_Free+224
;Z_Free+192
	retf 0
	nop 0
	nop 0
;Z_Free+208
	lddz %r1,%r1,-16
	ldwz %r3,%r1,16
	bwnei %r3,4,Z_Free+192
;Z_Free+224
	ldwz %r3,%r1,0
	ldwz %r4,%r2,0
	addws %r3,%r4,%r3
;Z_Free+240
	stw %r3,%r2,0
	lddz %r3,%r1,24
	std %r3,%r2,24
;Z_Free+256
	std %r2,%r3,32
	lddzr %r3,mainzone
	lddz %r4,%r3,48
;Z_Free+272
	bdne %r1,%r4,Z_Free+192
	std %r2,%r3,48
	retf 0
;Z_Malloc
	allocsp 11,16
	lddzr %r4,mainzone
	lddz %r4,%r4,48
;Z_Malloc+16
	lddz %r5,%r4,32
	ldwz %r6,%r5,16
	addiws %r1,%r1,7
;Z_Malloc+32
	andi %r1,%r1,-8
	cmpweqi %r7,%r6,4
	addiws %r6,%r1,40
;Z_Malloc+48
	cmovlsb %r8,%r7,%r5,%r4
	lddz %r7,%r8,32
	ldafr %r1,.rodata+9569
;Z_Malloc+64
	mov %r5,%r8
	nop 0
	nop 0
;Z_Malloc+80
	bdeq %r8,%r7,Z_Malloc+128
	ldwz %r4,%r8,16
	bwnei %r4,4,Z_Malloc+160
;Z_Malloc+96
	lddz %r8,%r8,24
	ldwz %r4,%r5,16
	bwnei %r4,4,Z_Malloc+80
;Z_Malloc+112
	jmp Z_Malloc+240
	nop 0
	nop 0
;Z_Malloc+128
	stw %r6,%sp,0
	mov %r10,%r1
	callr %r9,I_Error
;Z_Malloc+144
	ldwz %r4,%r8,16
	bweqi %r4,4,Z_Malloc+96
	nop 0
;Z_Malloc+160
	bwgei %r4,7,Z_Malloc+192
	lddz %r8,%r8,24
	mov %r5,%r8
;Z_Malloc+176
	ldwz %r4,%r5,16
	bwnei %r4,4,Z_Malloc+80
	jmp Z_Malloc+240
;Z_Malloc+192
	lddz %r5,%r5,32
	addi %r10,%r8,40
	callr %r9,Z_Free
;Z_Malloc+208
	lddz %r5,%r5,24
	lddz %r8,%r5,24
	ldwz %r4,%r5,16
;Z_Malloc+224
	bwnei %r4,4,Z_Malloc+80
	nop 0
	nop 0
;Z_Malloc+240
	ldwz %r4,%r5,0
	bwlt %r4,%r6,Z_Malloc+80
	subws %r1,%r4,%r6
;Z_Malloc+256
	bwlti %r1,65,Z_Malloc+320
	ldax.xw %r4,%r5,%r6,0,0
	stwx.xw %r1,%r5,%r6,0,0
;Z_Malloc+272
	ldi %r1,4
	stwx.xw %r1,%r5,%r6,0,16
	stdx.xw %gz,%r5,%r6,0,8
;Z_Malloc+288
	stdx.xw %r5,%r5,%r6,0,32
	lddz %r1,%r5,24
	stdx.xw %r1,%r5,%r6,0,24
;Z_Malloc+304
	std %r4,%r1,32
	std %r4,%r5,24
	stw %r6,%r5,0
;Z_Malloc+320
	bwlti %r2,7,Z_Malloc+368
	bdne %r3,%gz,Z_Malloc+368
	ldafr %r10,.rodata+16954
;Z_Malloc+336
	callr %r9,I_Error
	std %gz,%r5,8
	stw %r2,%r5,16
;Z_Malloc+352
	addi %r1,%r5,40
	jmp Z_Malloc+400
	nop 0
;Z_Malloc+368
	std %r3,%r5,8
	stw %r2,%r5,16
	addi %r1,%r5,40
;Z_Malloc+384
	bdeq %r3,%gz,Z_Malloc+400
	std %r1,%r3,0
	nop 0
;Z_Malloc+400
	lddz %r2,%r5,24
	lddzr %r3,mainzone
	std %r2,%r3,48
;Z_Malloc+416
	ldi %r2,1919505
	stw %r2,%r5,20
	retf 16
;Z_FreeTags
	alloc 9
	lddzr %r3,mainzone
	lddz %r4,%r3,32
;Z_FreeTags+16
	addi %r5,%r3,8
	bdeq %r4,%r5,Z_FreeTags+80
	mov %r5,%r4
;Z_FreeTags+32
	ldwz %r6,%r4,16
	lddz %r4,%r4,24
	bwlt %r2,%r6,Z_FreeTags+16
;Z_FreeTags+48
	bweqi %r6,4,Z_FreeTags+16
	bwlt %r6,%r1,Z_FreeTags+16
	addi %r8,%r5,40
;Z_FreeTags+64
	callr %r7,Z_Free
	lddzr %r3,mainzone
	jmp Z_FreeTags+16
;Z_FreeTags+80
	retf 0
	nop 0
	nop 0
;Z_DumpHeap
	allocsp 13,32
	lddzr %r3,mainzone
	ldwz %r4,%r3,0
;Z_DumpHeap+16
	std %r3,%sp,8
	ldafr %r12,.rodata+22835
	stw %r4,%sp,0
;Z_DumpHeap+32
	callr %r11,printf
	stw %r2,%sp,4
	ldafr %r12,.rodata+22185
;Z_DumpHeap+48
	stw %r1,%sp,0
	callr %r11,printf
	lddzr %r3,mainzone
;Z_DumpHeap+64
	addi %r9,%r3,32
	ldafr %r3,.rodata+25863
	ldafr %r4,.rodata+9612
;Z_DumpHeap+80
	ldafr %r5,.rodata+23846
	ldafr %r6,.rodata+5859
	nop 0
;Z_DumpHeap+96
	lddz %r8,%r9,0
	ldwz %r7,%r8,16
	bwlt %r7,%r1,Z_DumpHeap+160
;Z_DumpHeap+112
	bwlt %r2,%r7,Z_DumpHeap+160
	ldwz %r9,%r8,0
	lddz %r10,%r8,8
;Z_DumpHeap+128
	stw %r7,%sp,24
	std %r10,%sp,16
	stw %r9,%sp,8
;Z_DumpHeap+144
	std %r8,%sp,0
	mov %r12,%r6
	callr %r11,printf
;Z_DumpHeap+160
	lddzr %r9,mainzone
	lddz %r7,%r8,24
	addi %r9,%r9,8
;Z_DumpHeap+176
	bdeq %r7,%r9,Z_DumpHeap+304
	ldws %r9,%r8,0
	add %r10,%r8,%r9
;Z_DumpHeap+192
	addi %r9,%r8,24
	bdeq %r10,%r7,Z_DumpHeap+224
	mov %r12,%r5
;Z_DumpHeap+208
	callr %r11,puts
	lddz %r7,%r9,0
	nop 0
;Z_DumpHeap+224
	lddz %r7,%r7,32
	bdeq %r7,%r8,Z_DumpHeap+256
	mov %r12,%r4
;Z_DumpHeap+240
	callr %r11,puts
	nop 0
	nop 0
;Z_DumpHeap+256
	ldwz %r7,%r8,16
	bwnei %r7,4,Z_DumpHeap+96
	lddz %r7,%r9,0
;Z_DumpHeap+272
	ldwz %r7,%r7,16
	bwnei %r7,4,Z_DumpHeap+96
	mov %r12,%r3
;Z_DumpHeap+288
	callr %r11,puts
	jmp Z_DumpHeap+96
	nop 0
;Z_DumpHeap+304
	retf 32
	nop 0
	nop 0
;Z_FileDumpHeap
	allocsp 20,32
	lddzr %r2,mainzone
	ldwz %r3,%r2,0
;Z_FileDumpHeap+16
	std %r2,%sp,8
	ldafr %r19,.rodata+22835
	stw %r3,%sp,0
;Z_FileDumpHeap+32
	mov %r18,%r1
	callr %r17,fprintf
	lddzr %r2,mainzone
;Z_FileDumpHeap+48
	lddz %r12,%r2,32
	ldwz %r2,%r12,0
	lddz %r3,%r12,8
;Z_FileDumpHeap+64
	ldwz %r4,%r12,16
	stw %r4,%sp,24
	std %r3,%sp,16
;Z_FileDumpHeap+80
	stw %r2,%sp,8
	ldafr %r19,.rodata+5859
	std %r12,%sp,0
;Z_FileDumpHeap+96
	mov %r18,%r1
	callr %r17,fprintf
	lddzr %r2,mainzone
;Z_FileDumpHeap+112
	lddz %r9,%r12,24
	addi %r2,%r2,8
	bdeq %r9,%r2,Z_FileDumpHeap+432
;Z_FileDumpHeap+128
	addi %r10,%r12,16
	addi %r11,%r12,24
	ldafr %r2,.rodata+19358
;Z_FileDumpHeap+144
	ldi %r3,35
	ldi %r4,1
	ldafr %r5,.rodata+5859
;Z_FileDumpHeap+160
	ldafr %r6,.rodata+19309
	ldi %r7,48
	ldafr %r8,.rodata+17005
;Z_FileDumpHeap+176
	jmp Z_FileDumpHeap+288
	nop 0
	nop 0
;Z_FileDumpHeap+192
	ldwz %r9,%r13,0
	lddz %r11,%r13,8
	addi %r10,%r13,16
;Z_FileDumpHeap+208
	ldwz %r12,%r13,16
	stw %r12,%sp,24
	std %r11,%sp,16
;Z_FileDumpHeap+224
	stw %r9,%sp,8
	std %r13,%sp,0
	mov2 %r18,%r19,%r1,%r5
;Z_FileDumpHeap+240
	callr %r17,fprintf
	lddzr %r11,mainzone
	lddz %r9,%r13,24
;Z_FileDumpHeap+256
	addi %r14,%r11,8
	addi %r11,%r13,24
	mov %r12,%r13
;Z_FileDumpHeap+272
	bdeq %r9,%r14,Z_FileDumpHeap+432
	nop 0
	nop 0
;Z_FileDumpHeap+288
	ldws %r13,%r12,0
	add %r13,%r12,%r13
	bdeq %r13,%r9,Z_FileDumpHeap+336
;Z_FileDumpHeap+304
	mov2 %r16,%r17,%r8,%r7
	mov2 %r18,%r19,%r4,%r1
	callr %r15,fwrite_unlocked
;Z_FileDumpHeap+320
	lddz %r9,%r11,0
	nop 0
	nop 0
;Z_FileDumpHeap+336
	lddz %r14,%r9,32
	mov %r13,%r9
	bdeq %r14,%r12,Z_FileDumpHeap+384
;Z_FileDumpHeap+352
	mov2 %r16,%r17,%r6,%r7
	mov2 %r18,%r19,%r4,%r1
	callr %r15,fwrite_unlocked
;Z_FileDumpHeap+368
	lddz %r13,%r11,0
	nop 0
	nop 0
;Z_FileDumpHeap+384
	ldwz %r9,%r10,0
	bwnei %r9,4,Z_FileDumpHeap+192
	ldwz %r9,%r13,16
;Z_FileDumpHeap+400
	bwnei %r9,4,Z_FileDumpHeap+192
	mov2 %r16,%r17,%r2,%r3
	mov2 %r18,%r19,%r4,%r1
;Z_FileDumpHeap+416
	callr %r15,fwrite_unlocked
	lddz %r13,%r11,0
	jmp Z_FileDumpHeap+192
;Z_FileDumpHeap+432
	retf 32
	nop 0
	nop 0
;Z_CheckHeap
	alloc 11
	lddzr %r1,mainzone
	lddz %r6,%r1,32
;Z_CheckHeap+16
	lddz %r4,%r6,24
	addi %r1,%r1,8
	bdeq %r4,%r1,Z_CheckHeap+208
;Z_CheckHeap+32
	addi %r5,%r6,24
	ldafr %r1,.rodata+2899
	ldafr %r2,.rodata+8032
;Z_CheckHeap+48
	ldafr %r3,.rodata+10494
	jmp Z_CheckHeap+96
	nop 0
;Z_CheckHeap+64
	lddzr %r5,mainzone
	lddz %r4,%r7,24
	addi %r8,%r5,8
;Z_CheckHeap+80
	addi %r5,%r7,24
	mov %r6,%r7
	bdeq %r4,%r8,Z_CheckHeap+208
;Z_CheckHeap+96
	ldws %r7,%r6,0
	add %r7,%r6,%r7
	bdeq %r7,%r4,Z_CheckHeap+128
;Z_CheckHeap+112
	mov %r10,%r3
	callr %r9,I_Error
	lddz %r4,%r5,0
;Z_CheckHeap+128
	lddz %r8,%r4,32
	mov %r7,%r4
	bdeq %r8,%r6,Z_CheckHeap+160
;Z_CheckHeap+144
	mov %r10,%r2
	callr %r9,I_Error
	lddz %r7,%r5,0
;Z_CheckHeap+160
	ldwz %r4,%r6,16
	bwnei %r4,4,Z_CheckHeap+64
	ldwz %r4,%r7,16
;Z_CheckHeap+176
	bwnei %r4,4,Z_CheckHeap+64
	mov %r10,%r1
	callr %r9,I_Error
;Z_CheckHeap+192
	lddz %r7,%r5,0
	jmp Z_CheckHeap+64
	nop 0
;Z_CheckHeap+208
	retf 0
	nop 0
	nop 0
;Z_ChangeTag2
	allocsp 8,16
	ldwz %r5,%r1,-20
	nop 2
;Z_ChangeTag2+16
	bweqi.l %r5,1919505,Z_ChangeTag2+48
	stw %r4,%sp,8
;Z_ChangeTag2+32
	ldafr %r7,.rodata+12722
	std %r3,%sp,0
	callr %r6,I_Error
;Z_ChangeTag2+48
	bwlti %r2,7,Z_ChangeTag2+64
	lddz %r5,%r1,-32
	bdeq %r5,%gz,Z_ChangeTag2+80
;Z_ChangeTag2+64
	stw %r2,%r1,-24
	retf 16
	nop 0
;Z_ChangeTag2+80
	stw %r4,%sp,8
	ldafr %r7,.rodata+12104
	std %r3,%sp,0
;Z_ChangeTag2+96
	callr %r6,I_Error
	stw %r2,%r1,-24
	retf 16
;Z_ChangeUser
	alloc 6
	ldwz %r3,%r1,-20
	nop 2
;Z_ChangeUser+16
	bweqi.l %r3,1919505,Z_ChangeUser+48
	ldafr %r5,.rodata+2108
;Z_ChangeUser+32
	callr %r4,I_Error
	nop 0
	nop 0
;Z_ChangeUser+48
	std %r2,%r1,-32
	std %r1,%r2,0
	retf 0
;Z_FreeMemory
	alloc 5
	lddzr %r1,mainzone
	lddz %r2,%r1,32
;Z_FreeMemory+16
	addi %r3,%r1,8
	bdeq %r2,%r3,Z_FreeMemory+128
	mov %r1,%gz
;Z_FreeMemory+32
	jmp Z_FreeMemory+80
	nop 0
	nop 0
;Z_FreeMemory+48
	ldwz %r4,%r2,0
	addws %r1,%r4,%r1
	nop 0
;Z_FreeMemory+64
	lddz %r2,%r2,24
	bdeq %r2,%r3,Z_FreeMemory+112
	nop 0
;Z_FreeMemory+80
	ldwz %r4,%r2,16
	bweqi %r4,4,Z_FreeMemory+48
	bwlti %r4,7,Z_FreeMemory+64
;Z_FreeMemory+96
	jmp Z_FreeMemory+48
	nop 0
	nop 0
;Z_FreeMemory+112
	retf 0
	nop 0
	nop 0
;Z_FreeMemory+128
	mov %r1,%gz
	retf 0
	nop 0
;Z_ZoneSize
	alloc 2
	lddzr %r1,mainzone
	ldwz %r1,%r1,0
;Z_ZoneSize+16
	retf 0
	nop 0
	nop 0
;W_StdC_Read
	alloc 10
	lddz %r7,%r1,24
	srliw %r8,%r2,0
;W_StdC_Read+16
	mov %r9,%gz
	callr %r6,fseek
	lddz %r9,%r1,24
;W_StdC_Read+32
	ldi %r7,1
	mov2 %r6,%r8,%r3,%r4
	callr %r5,fread_unlocked
;W_StdC_Read+48
	mov %r1,%r6
	retf 0
	nop 0
;W_StdC_OpenFile
	alloc 7
	ldafr %r6,.rodata+12248
	mov %r5,%r1
;W_StdC_OpenFile+16
	callr %r4,fopen
	bdeq %r5,%gz,W_StdC_OpenFile+112
	mov %r1,%r5
;W_StdC_OpenFile+32
	ldi %r4,32
	ldi %r5,1
	mov %r6,%gz
;W_StdC_OpenFile+48
	callr %r3,Z_Malloc
	ldafr %r2,stdc_wad_file
	std %r2,%r4,0
;W_StdC_OpenFile+64
	std %gz,%r4,8
	mov %r6,%r1
	callr %r5,M_FileLength
;W_StdC_OpenFile+80
	stw %r6,%r4,16
	std %r1,%r4,24
	mov %r1,%r4
;W_StdC_OpenFile+96
	retf 0
	nop 0
	nop 0
;W_StdC_OpenFile+112
	mov2 %r4,%r1,%gz,%gz
	retf 0
	nop 0
;W_StdC_CloseFile
	alloc 4
	lddz %r3,%r1,24
	callr %r2,fclose
;W_StdC_CloseFile+16
	mov %r3,%r1
	callr %r2,Z_Free
	retf 0
;I_GetEvent
	allocsp 15,32
	addi %r13,%sp,8
	addi %r14,%sp,7
;I_GetEvent+16
	callr %r12,DG_GetKey
	bweq %r13,%gz,I_GetEvent+336
	ldi %r5,1
;I_GetEvent+32
	ldi %r7,-1
	ldi %r6,182
	addi %r1,%sp,12
;I_GetEvent+48
	addi %r2,%sp,8
	addi %r3,%sp,7
	ldafr %r8,shiftxform
;I_GetEvent+64
	jmp I_GetEvent+144
	nop 0
	nop 0
;I_GetEvent+80
	mov %r4,%gz
	nop 0
	nop 0
;I_GetEvent+96
	stw %r4,%sp,20
	nop 0
	nop 0
;I_GetEvent+112
	mov %r14,%r1
	callr %r13,D_PostEvent
	nop 0
;I_GetEvent+128
	mov2 %r13,%r14,%r2,%r3
	callr %r12,DG_GetKey
	bweq %r13,%gz,I_GetEvent+336
;I_GetEvent+144
	ldbz %r9,%sp,7
	ldwz %r10,%sp,8
	bwnei %r9,182,I_GetEvent+208
;I_GetEvent+160
	ldwzr %r4,shiftdown
	cmovweq %r9,%r10,%r7,%r5
	addws %r4,%r4,%r9
;I_GetEvent+176
	stwr %r4,shiftdown
	bweq %r10,%gz,I_GetEvent+352
	stw %gz,%sp,12
;I_GetEvent+192
	stw %r6,%sp,16
	cmovwle %r4,%r4,%r6,%gz
	jmp I_GetEvent+96
;I_GetEvent+208
	slsrai %r4,%r9,56,56
	bweq %r10,%gz,I_GetEvent+304
	ldwzr %r11,shiftdown
;I_GetEvent+224
	stw %gz,%sp,12
	stw %r9,%sp,16
	mov %r10,%r4
;I_GetEvent+240
	bwle %r11,%gz,I_GetEvent+272
	bwlt %r4,%gz,I_GetEvent+80
	srliw %r9,%r9,0
;I_GetEvent+256
	ldbzx.xd %r10,%r9,%r8,0,0
	nop 0
	nop 0
;I_GetEvent+272
	andi %r9,%r10,255
	stw %r9,%sp,20
	bwne %r4,%gz,I_GetEvent+112
;I_GetEvent+288
	jmp I_GetEvent+128
	nop 0
	nop 0
;I_GetEvent+304
	stw %r5,%sp,12
	stw %r9,%sp,16
	stw %gz,%sp,20
;I_GetEvent+320
	bwne %r4,%gz,I_GetEvent+368
	nop 0
	nop 0
;I_GetEvent+336
	retf 32
	nop 0
	nop 0
;I_GetEvent+352
	stw %r5,%sp,12
	stw %r6,%sp,16
	stw %gz,%sp,20
;I_GetEvent+368
	addi %r14,%sp,12
	callr %r13,D_PostEvent
	retf 32
;I_InitInput
	alloc 1
	retf 0
	nop 0
;I_InitGraphics
	allocsp 13,32
	stwr %gz,s_Fb+48
	stwr %gz,s_Fb+44
;I_InitGraphics+16
	stwr %gz,s_Fb+40
	stwr %gz,s_Fb+36
	stwr %gz,s_Fb+32
;I_InitGraphics+32
	stwr %gz,s_Fb+28
	stwr %gz,s_Fb+24
	stwr %gz,s_Fb+20
;I_InitGraphics+48
	ldi %r1,640
	stwr %r1,s_Fb
	ldi %r2,400
;I_InitGraphics+64
	stwr %r2,s_Fb+4
	stwr %r1,s_Fb+8
	stwr %r2,s_Fb+12
;I_InitGraphics+80
	ldi %r3,8
	stwr %r3,s_Fb+16
	stw %r3,%sp,16
;I_InitGraphics+96
	stw %r2,%sp,12
	stw %r1,%sp,8
	stw %r2,%sp,4
;I_InitGraphics+112
	ldafr %r12,.rodata+14594
	stw %r1,%sp,0
	callr %r11,printf
;I_InitGraphics+128
	ldwzr %r1,s_Fb+24
	ldwzr %r2,s_Fb+32
	ldwzr %r3,s_Fb+40
;I_InitGraphics+144
	ldwzr %r4,s_Fb+48
	ldwzr %r5,s_Fb+20
	ldwzr %r6,s_Fb+28
;I_InitGraphics+160
	ldwzr %r7,s_Fb+36
	ldwzr %r8,s_Fb+44
	stw %r8,%sp,28
;I_InitGraphics+176
	stw %r7,%sp,24
	stw %r6,%sp,20
	stw %r5,%sp,16
;I_InitGraphics+192
	stw %r4,%sp,12
	stw %r3,%sp,8
	stw %r2,%sp,4
;I_InitGraphics+208
	ldafr %r12,.rodata+17821
	stw %r1,%sp,0
	callr %r11,printf
;I_InitGraphics+224
	ldi %r1,200
	stw %r1,%sp,4
	ldi %r1,320
;I_InitGraphics+240
	ldafr %r12,.rodata+22206
	stw %r1,%sp,0
	callr %r11,printf
;I_InitGraphics+256
	ldafr %r11,.rodata+17054
	ldi %r1,1
	mov %r12,%r1
;I_InitGraphics+272
	callr %r10,M_CheckParmWithArgs
	bwlti %r11,1,I_InitGraphics+336
	lddzr %r2,myargv
;I_InitGraphics+288
	lddzx.xuw %r12,%r2,%r11,3,8
	callr %r11,atoi
	stwr %r12,fb_scaling
;I_InitGraphics+304
	ldafr %r2,.rodata+20177
	stw %r12,%sp,0
	mov %r12,%r2
;I_InitGraphics+320
	jmp I_InitGraphics+416
	nop 0
	nop 0
;I_InitGraphics+336
	ldwzr %r2,s_Fb
	ldwzr %r3,s_Fb+4
	nop 2
;I_InitGraphics+352
	muli.l %r2,%r2,3435973837
	srli %r2,%r2,40
;I_InitGraphics+368
	muli.l %r3,%r3,1374389535
	srli %r3,%r3,38
;I_InitGraphics+384
	minuw %r2,%r3,%r2
	stwr %r2,fb_scaling
	ldafr %r12,.rodata+18360
;I_InitGraphics+400
	stw %r2,%sp,0
	nop 0
	nop 0
;I_InitGraphics+416
	callr %r11,printf
	ldi %r10,64000
	mov2 %r11,%r12,%r1,%gz
;I_InitGraphics+432
	callr %r9,Z_Malloc
	stdr %r10,I_VideoBuffer
	stwr %r1,screenvisible
;I_InitGraphics+448
	callr %r12,I_InitInput
	retf 32
	nop 0
;I_ShutdownGraphics
	alloc 3
	lddzr %r2,I_VideoBuffer
	callr %r1,Z_Free
;I_ShutdownGraphics+16
	retf 0
	nop 0
	nop 0
;I_StartFrame
	alloc 1
	retf 0
	nop 0
;I_StartTic
	alloc 2
	callr %r1,I_GetEvent
	retf 0
;I_UpdateNoBlit
	alloc 1
	retf 0
	nop 0
;I_FinishUpdate
	alloc 2
	callr %r1,DG_DrawFrame
	retf 0
;I_ReadScreen
	alloc 6
	lddzr %r4,I_VideoBuffer
	ldi %r5,64000
;I_ReadScreen+16
	mov %r3,%r1
	callr %r2,memcpy
	retf 0
;I_SetPalette
	alloc 7
	ldwsr %r4,usegamma
	ldafr %r5,gammatable
;I_SetPalette+16
	mov %r2,%gz
	ldafr %r3,colors
	sladd %r4,%r5,%r4,8
;I_SetPalette+32
	ldwz %r5,%r3,0
	andi.l %r6,%r5,16777215
;I_SetPalette+48
	stw %r6,%r3,0
	ldbzx.xd %r6,%r1,%r2,0,0
	ldbzx.xd %r6,%r4,%r6,0,0
;I_SetPalette+64
	andi %r5,%r5,65535
	slor %r5,%r5,%r6,16
	stw %r5,%r3,0
;I_SetPalette+80
	ldbzx.xd %r6,%r1,%r2,0,1
	ldbzx.xd %r6,%r4,%r6,0,0
	nop 2
;I_SetPalette+96
	andi.l %r5,%r5,16711935
	slor %r5,%r5,%r6,8
;I_SetPalette+112
	stw %r5,%r3,0
	ldbzx.xd %r6,%r1,%r2,0,2
	ldbzx.xd %r6,%r4,%r6,0,0
;I_SetPalette+128
	andi.l %r5,%r5,16776960
	or %r5,%r5,%r6
;I_SetPalette+144
	stw %r5,%r3,0
	addi %r2,%r2,3
	addi %r3,%r3,4
;I_SetPalette+160
	bdnei %r2,768,I_SetPalette+32
	ldi %r1,1
	stwr %r1,palette_changed
;I_SetPalette+176
	retf 0
	nop 0
	nop 0
;I_GetPaletteIndex
	alloc 9
	mov %r4,%r1
	ldafr %r8,.rodata+11047
;I_GetPaletteIndex+16
	callr %r7,puts
	mov2 %r1,%r5,%gz,%gz
	mulws %r4,%r4,%r4
;I_GetPaletteIndex+32
	mulws %r2,%r2,%r2
	addws %r2,%r2,%r4
	mulws %r3,%r3,%r3
;I_GetPaletteIndex+48
	addws %r2,%r2,%r3
	ldi.l %r3,2147483647
;I_GetPaletteIndex+64
	cmpwlt %r6,%r2,%r3
	cmovlsb %r1,%r6,%r5,%r1
	bweq %r2,%gz,I_GetPaletteIndex+112
;I_GetPaletteIndex+80
	mov %r4,%r5
	minsw %r3,%r2,%r3
	addiws %r5,%r5,1
;I_GetPaletteIndex+96
	bwltui %r4,255,I_GetPaletteIndex+64
	nop 0
	nop 0
;I_GetPaletteIndex+112
	retf 0
	nop 0
	nop 0
;I_BeginRead
	alloc 1
	retf 0
	nop 0
;I_EndRead
	alloc 1
	retf 0
	nop 0
;I_SetWindowTitle
	alloc 4
	mov %r3,%r1
	callr %r2,DG_SetWindowTitle
;I_SetWindowTitle+16
	retf 0
	nop 0
	nop 0
;I_GraphicsCheckCommandLine
	alloc 1
	retf 0
	nop 0
;I_SetGrabMouseCallback
	alloc 1
	retf 0
	nop 0
;I_EnableLoadingDisk
	alloc 1
	retf 0
	nop 0
;I_BindVideoVariables
	alloc 1
	retf 0
	nop 0
;I_DisplayFPSDots
	alloc 1
	retf 0
	nop 0
;I_CheckIsScreensaver
	alloc 1
	retf 0
	nop 0
;doomgeneric_Create
	alloc 5
	stwr %r1,myargc
	stdr %r2,myargv
;doomgeneric_Create+16
	callr %r4,M_FindResponseFile
	ldi %r4,1024000
	callr %r3,default_malloc
;doomgeneric_Create+32
	stdr %r4,DG_ScreenBuffer
	callr %r4,DG_Init
	callr %r4,D_DoomMain
;doomgeneric_Create+48
	retf 0
	nop 0
	nop 0
;DG_Init
	alloc 9
	ldi %r2,2001
	ldi %r3,640
;DG_Init+16
	ldi %r4,400
	mov2 %r5,%r6,%gz,%gz
	mov2 %r7,%r8,%gz,%gz
;DG_Init+32
	callr %r1,__syscall_postrisc
	retf 0
	nop 0
;DG_DrawFrame
	alloc 9
	lddzr %r3,I_VideoBuffer
	ldafr %r6,colors
;DG_DrawFrame+16
	ldi %r2,2002
	ldi %r4,320
	ldi %r5,200
;DG_DrawFrame+32
	mov2 %r7,%r8,%gz,%gz
	callr %r1,__syscall_postrisc
	retf 0
;DG_SleepMs
	alloc 10
	srliw %r4,%r1,0
	ldi %r3,2003
;DG_SleepMs+16
	mov2 %r5,%r6,%gz,%gz
	mov2 %r7,%r8,%gz,%gz
	mov %r9,%gz
;DG_SleepMs+32
	callr %r2,__syscall_postrisc
	retf 0
	nop 0
;print_current_time_with_ms
	alloc 1
	retf 0
	nop 0
;DG_GetTicksMs
	alloc 10
	ldi %r3,2004
	mov2 %r4,%r5,%gz,%gz
;DG_GetTicksMs+16
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;DG_GetTicksMs+32
	mov %r1,%r3
	retf 0
	nop 0
;DG_GetKey
	alloc 11
	ldi %r4,2005
	mov2 %r5,%r6,%r1,%r2
;DG_GetKey+16
	mov2 %r7,%r8,%gz,%gz
	mov2 %r9,%r10,%gz,%gz
	callr %r3,__syscall_postrisc
;DG_GetKey+32
	mov %r1,%r4
	retf 0
	nop 0
;DG_SetWindowTitle
	alloc 10
	ldi %r3,2006
	mov2 %r4,%r5,%r1,%gz
;DG_SetWindowTitle+16
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;DG_SetWindowTitle+32
	retf 0
	nop 0
	nop 0
;main
	allocsp 6,16
	mov2 %r4,%r5,%r1,%r2
	callr %r3,doomgeneric_Create
;main+16
	std %gz,%sp,8
	lddz %r1,%sp,8
	nop 2
;main+32
	bdgei.l %r1,2000000000,main+96
	nop 0
;main+48
	callr %r5,doomgeneric_Tick
	lddz %r1,%sp,8
	addi %r1,%r1,1
;main+64
	std %r1,%sp,8
	lddz %r1,%sp,8
	nop 2
;main+80
	bdlti.l %r1,2000000000,main+48
	nop 0
;main+96
	mov %r1,%gz
	retf 16
	nop 0
;_start
	alloc 8
	ldwz %r3,%sp,0
	addi %r4,%sp,8
;_start+16
	ldar %r2,main
	ldar %r5,_init
	ldar %r6,_fini
;_start+32
	mov %r7,%gz
	callr %r1,__libc_start_main
	retf 0
;_start_c
	alloc 9
	ldwz %r4,%r1,0
	addi %r5,%r1,8
;_start_c+16
	ldar %r3,main
	ldar %r6,_init
	ldar %r7,_fini
;_start_c+32
	mov %r8,%gz
	callr %r2,__libc_start_main
	retf 0
;_init
	alloc 1
	retf 0
	nop 0
;__init_ssp
	alloc 1
	retf 0
	nop 0
;__init_libc
	allocsp 15,336
	stq %gz,%sp,320
	stq %gz,%sp,304
;__init_libc+16
	stq %gz,%sp,288
	stq %gz,%sp,272
	stq %gz,%sp,256
;__init_libc+32
	stq %gz,%sp,240
	stq %gz,%sp,224
	stq %gz,%sp,208
;__init_libc+48
	stq %gz,%sp,192
	stq %gz,%sp,176
	stq %gz,%sp,160
;__init_libc+64
	stq %gz,%sp,144
	stq %gz,%sp,128
	stq %gz,%sp,112
;__init_libc+80
	stq %gz,%sp,96
	stq %gz,%sp,80
	stq %gz,%sp,64
;__init_libc+96
	stq %gz,%sp,48
	stq %gz,%sp,32
	stdr %r1,___environ
;__init_libc+112
	lddz %r3,%r1,0
	addi %r1,%r1,8
	bdne %r3,%gz,__init_libc+112
;__init_libc+128
	stdr %r1,__libc+8
	lddz %r3,%r1,0
	bdeq %r3,%gz,__init_libc+240
;__init_libc+144
	addi %r1,%r1,16
	addi %r4,%sp,32
	jmp __init_libc+176
;__init_libc+160
	lddz %r3,%r1,0
	addi %r1,%r1,16
	bdeq %r3,%gz,__init_libc+208
;__init_libc+176
	bdgeui %r3,38,__init_libc+160
	lddz %r5,%r1,-8
	stdx.xd %r5,%r4,%r3,3,0
;__init_libc+192
	jmp __init_libc+160
	nop 0
	nop 0
;__init_libc+208
	lddz %r3,%sp,160
	lddz %r1,%sp,288
	stdr %r3,__hwcap
;__init_libc+224
	bdeq %r1,%gz,__init_libc+256
	stdr %r1,__sysinfo
	jmp __init_libc+256
;__init_libc+240
	stdr %gz,__hwcap
	nop 0
	nop 0
;__init_libc+256
	lddz %r1,%sp,280
	lddz %r3,%sp,80
	cmovdeq %r1,%r2,%r1,%r2
;__init_libc+272
	ldafr %r2,.rodata+6226
	stdr %r3,__libc+48
	cmovdeq %r1,%r1,%r2,%r1
;__init_libc+288
	stdr %r1,program_invocation_name
	nop 0
	nop 0
;__init_libc+304
	stdr %r1,program_invocation_short_name
	nop 0
	nop 0
;__init_libc+320
	addi %r1,%r1,1
	ldbz %r2,%r1,-1
	bweqi %r2,47,__init_libc+304
;__init_libc+336
	bwne %r2,%gz,__init_libc+320
	addi %r14,%sp,32
	callr %r13,static_init_tls
;__init_libc+352
	lddz %r14,%sp,232
	callr %r13,__init_ssp
	lddz %r1,%sp,120
;__init_libc+368
	lddz %r2,%sp,128
	bdne %r1,%r2,__init_libc+416
	lddz %r1,%sp,136
;__init_libc+384
	lddz %r2,%sp,144
	bdne %r1,%r2,__init_libc+416
	lddz %r1,%sp,216
;__init_libc+400
	bdne %r1,%gz,__init_libc+416
	retf 336
	nop 0
;__init_libc+416
	ldwzr %r1,.L__const.__init_libc.pfd+20
	ldwzr %r2,.L__const.__init_libc.pfd+16
	ldwzr %r3,.L__const.__init_libc.pfd+8
;__init_libc+432
	slor %r1,%r2,%r1,32
	std %r1,%sp,16
	ldwzr %r1,.L__const.__init_libc.pfd+12
;__init_libc+448
	sllqi %r2,%r3,0
	ldafr %r3,.L__const.__init_libc.pfd
	ldwz %r3,%r3,4
;__init_libc+464
	ldwzr %r4,.L__const.__init_libc.pfd
	sllqi %r1,%r1,32
	or %r1,%r1,%r2
;__init_libc+480
	sllqi %r2,%r3,32
	or %r2,%r2,%r4
	or %r1,%r1,%r2
;__init_libc+496
	stq %r1,%sp,0
	ldi %r8,7
	addi %r1,%sp,0
;__init_libc+512
	ldi %r10,3
	mov2 %r9,%r11,%r1,%gz
	mov2 %r12,%r13,%gz,%gz
;__init_libc+528
	mov %r14,%gz
	callr %r7,__syscall_postrisc
	bbsi %r8,31,__init_libc+640
;__init_libc+544
	ldi %r6,6
	ldafr %r2,.rodata+28810
	ldi %r3,2
;__init_libc+560
	ldi %r4,32770
	jmp __init_libc+592
	nop 0
;__init_libc+576
	addi %r6,%r6,8
	bdeqi %r6,30,__init_libc+656
	nop 0
;__init_libc+592
	ldbzx.xd %r5,%r1,%r6,0,0
	bbci %r5,5,__init_libc+576
	mov2 %r8,%r9,%r3,%r2
;__init_libc+608
	mov2 %r10,%r11,%r4,%gz
	mov2 %r12,%r13,%gz,%gz
	mov %r14,%gz
;__init_libc+624
	callr %r7,__syscall_postrisc
	bdgei %r8,0,__init_libc+576
	nop 0
;__init_libc+640
	halt
	nop 0
	nop 0
;__init_libc+656
	ldi %r1,1
	stbr %r1,__libc+2
	retf 336
;__libc_start_init
	alloc 5
	callr %r4,_init
	ldafr %r2,AM_Stop.st_notify
;__libc_start_init+16
	ldafr %r3,AM_Stop.st_notify
	bdleu %r3,%r2,__libc_start_init+48
	nop 0
;__libc_start_init+32
	callmi %r4,%r2,0
	addi %r2,%r2,8
	bdltu %r2,%r3,__libc_start_init+32
;__libc_start_init+48
	retf 0
	nop 0
	nop 0
;__libc_start_main
	alloc 9
	ldax.xw %r4,%r3,%r2,3,8
	lddz %r8,%r3,0
;__libc_start_main+16
	mov %r7,%r4
	callr %r6,__init_libc
	fence.seq_cst
;__libc_start_main+32
	callr %r8,__libc_start_init
	mov2 %r6,%r7,%r2,%r3
	mov %r8,%r4
;__libc_start_main+48
	callri %r5,%r1,%gz
	mov %r8,%r6
	callr %r7,exit
;__init_tp
	alloc 11
	std %r1,%r1,0
	ldi %r2,1
;__init_tp+16
	stbr %r2,__libc
	ldi %r2,2
	stw %r2,%r1,56
;__init_tp+32
	mov %tp,%r1
	ldafr %r5,__thread_list_lock
	ldi %r4,218
;__init_tp+48
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
;__init_tp+64
	callr %r3,__syscall_postrisc
	stw %r4,%r1,48
	ldafr %r2,__libc+56
;__init_tp+80
	std %r2,%r1,168
	addi %r2,%r1,136
	std %r2,%r1,136
;__init_tp+96
	lddzr %r2,__sysinfo
	std %r2,%r1,32
	std %r1,%r1,16
;__init_tp+112
	std %r1,%r1,24
	mov %r1,%gz
	retf 0
;__copy_tls
	alloc 10
	lddzr %r2,__libc+24
	ldax.xd %r2,%r1,%r2,0,-200
;__copy_tls+16
	lddzr %r3,__libc+32
	lddzr %r4,__libc+16
	subfi %r3,%r3,0
;__copy_tls+32
	and %r2,%r2,%r3
	bdeq %r4,%gz,__copy_tls+112
	addi %r5,%r1,8
;__copy_tls+48
	lddz %r3,%r4,40
	sub %r3,%r2,%r3
	std %r3,%r5,0
;__copy_tls+64
	lddz %r3,%r4,40
	sub %r7,%r2,%r3
	lddz %r8,%r4,8
;__copy_tls+80
	lddz %r9,%r4,16
	callr %r6,memcpy
	lddz %r4,%r4,0
;__copy_tls+96
	addi %r5,%r5,8
	bdne %r4,%gz,__copy_tls+48
	nop 0
;__copy_tls+112
	lddzr %r3,__libc+40
	std %r3,%r1,0
	std %r1,%r2,8
;__copy_tls+128
	mov %r1,%r2
	retf 0
	nop 0
;static_init_tls
	alloc 20
	lddz %r4,%r1,40
	ldi %r2,1
;static_init_tls+16
	bdeq %r4,%gz,static_init_tls+304
	lddz %r5,%r1,24
	mov2 %r6,%r3,%gz,%gz
;static_init_tls+32
	ldwzr %r7,__default_stacksize
	lddz %r1,%r1,32
	ldafr %r8,.dynamic
;static_init_tls+48
	mov %r9,%r5
	jmp static_init_tls+96
	nop 0
;static_init_tls+64
	lddz %r6,%r9,16
	sub %r6,%r5,%r6
	nop 0
;static_init_tls+80
	addi %r4,%r4,-1
	add %r9,%r9,%r1
	bdeq %r4,%gz,static_init_tls+224
;static_init_tls+96
	ldwz %r10,%r9,0
	bweqi %r10,6,static_init_tls+64
	bdeq %r8,%gz,static_init_tls+144
;static_init_tls+112
	bwnei %r10,2,static_init_tls+144
	lddz %r6,%r9,16
	sub %r6,%r8,%r6
;static_init_tls+128
	jmp static_init_tls+80
	nop 0
	nop 0
;static_init_tls+144
	cmpweqi %r11,%r10,7
	cmovlsb %r3,%r11,%r9,%r3
	nop 2
;static_init_tls+160
	bwnei.l %r10,1685382481,static_init_tls+80
	lddz %r10,%r9,40
;static_init_tls+176
	srliw %r11,%r7,0
	bdleu %r10,%r11,static_init_tls+80
	nop 2
;static_init_tls+192
	minui.l %r7,%r10,8388608
	stwr %r7,__default_stacksize
;static_init_tls+208
	jmp static_init_tls+80
	nop 0
	nop 0
;static_init_tls+224
	bdeq %r3,%gz,static_init_tls+304
	lddz %r1,%r3,16
	add %r4,%r1,%r6
;static_init_tls+240
	stdr %r4,main_tls+8
	lddz %r1,%r3,32
	stdr %r1,main_tls+16
;static_init_tls+256
	lddz %r1,%r3,48
	ldafr %r5,main_tls
	lddz %r3,%r3,40
;static_init_tls+272
	stdr %r1,main_tls+32
	stdr %r2,__libc+40
	stdr %r5,__libc+16
;static_init_tls+288
	jmp static_init_tls+320
	nop 0
	nop 0
;static_init_tls+304
	lddzr %r1,main_tls+32
	lddzr %r3,main_tls+24
	lddzr %r4,main_tls+8
;static_init_tls+320
	add %r4,%r3,%r4
	subfi %r4,%r4,0
	addi %r5,%r1,-1
;static_init_tls+336
	and %r4,%r5,%r4
	add %r3,%r4,%r3
	stdr %r3,main_tls+24
;static_init_tls+352
	stdr %r3,main_tls+40
	bdgeui %r1,8,static_init_tls+384
	ldi %r1,8
;static_init_tls+368
	stdr %r1,main_tls+32
	nop 0
	nop 0
;static_init_tls+384
	stdr %r1,__libc+32
	ldax.xd %r3,%r3,%r1,0,223
	andi %r15,%r3,-8
;static_init_tls+400
	stdr %r15,__libc+24
	bdltui %r15,337,static_init_tls+464
	ldi %r13,9
;static_init_tls+416
	ldi %r16,3
	ldi %r17,34
	ldi %r18,-1
;static_init_tls+432
	mov2 %r14,%r19,%gz,%gz
	callr %r12,__syscall_postrisc
	lddzr %r15,__libc+24
;static_init_tls+448
	lddzr %r1,__libc+32
	jmp static_init_tls+480
	nop 0
;static_init_tls+464
	ldafr %r13,builtin_tls
	nop 0
	nop 0
;static_init_tls+480
	ldax.xd %r3,%r13,%r15,0,-200
	lddzr %r4,__libc+16
	subfi %r1,%r1,0
;static_init_tls+496
	and %r3,%r3,%r1
	bdeq %r4,%gz,static_init_tls+576
	addi %r5,%r13,8
;static_init_tls+512
	lddz %r1,%r4,40
	sub %r1,%r3,%r1
	std %r1,%r5,0
;static_init_tls+528
	lddz %r1,%r4,40
	sub %r17,%r3,%r1
	lddz %r18,%r4,8
;static_init_tls+544
	lddz %r19,%r4,16
	callr %r16,memcpy
	lddz %r4,%r4,0
;static_init_tls+560
	addi %r5,%r5,8
	bdne %r4,%gz,static_init_tls+512
	nop 0
;static_init_tls+576
	lddzr %r1,__libc+40
	std %r1,%r13,0
	std %r13,%r3,8
;static_init_tls+592
	std %r3,%r3,0
	stbr %r2,__libc
	ldi %r1,2
;static_init_tls+608
	stw %r1,%r3,56
	mov %tp,%r3
	ldafr %r14,__thread_list_lock
;static_init_tls+624
	ldi %r13,218
	mov2 %r15,%r16,%gz,%gz
	mov2 %r17,%r18,%gz,%gz
;static_init_tls+640
	mov %r19,%gz
	callr %r12,__syscall_postrisc
	stw %r13,%r3,48
;static_init_tls+656
	ldafr %r1,__libc+56
	std %r1,%r3,168
	addi %r1,%r3,136
;static_init_tls+672
	std %r1,%r3,136
	lddzr %r1,__sysinfo
	std %r1,%r3,32
;static_init_tls+688
	std %r3,%r3,16
	std %r3,%r3,24
	retf 0
Static instruction frequencies: 56251
position instruction occurrence percent cumulative
percent
1nop678012.05311912.053119
2callr43817.78830619.841425
3mov34766.17944626.020871
4ldi25344.50480930.525680
5ldafr20883.71193434.237614
6ldwz18723.32794137.565554
7addi18163.22838740.793941
8retf15932.83195043.625891
9ldwzr15402.73772946.363620
10jmp15192.70039649.064017
11stw13642.42484651.488862
12mov212132.15640653.645269
13addiws11992.13151855.776786
14lddz11742.08707457.863860
15stwr11592.06040859.924268
16lddzr9701.72441461.648682
17bweq9551.69774863.346429
18ldbz9541.69597065.042399
19std9091.61597166.658371
20alloc8551.51997368.178343
21addws8231.46308569.641429
22slor6731.19642370.837852
23andi6101.08442571.922277
24srliw5891.04709272.969369
25bwne5861.04175974.011129
26bdeq5751.02220475.033333
27stb5620.99909376.032426
28sraiw5290.94042876.972854
29stdr4840.86042977.833283
30subws4670.83020778.663490
31ldwzx4500.79998679.463476
32ldbzx3680.65421180.117687
33or3620.64354480.761231
34bwnei3440.61154581.372776
35xor3340.59376781.966543
36bweqi3070.54576882.512311
37bwlt2870.51021383.022524
38stbx2850.50665883.529182
39bwlti2740.48710284.016284
40add2720.48354784.499831
41slsrli2580.45865984.958490
42srli2550.45332585.411815
43cmovlsb2450.43554885.847363
44srpiw2380.42310486.270466
45bwltui2360.41954886.690014
46muli2360.41954887.109562
47lddzx2320.41243787.522000
48bwle2310.41065987.932659
49bdne2260.40177188.334430
50ldwsr1880.33421688.668646
51stwx1800.31999488.988640
52bwgeui1790.31821789.306857
53sllqi1750.31110689.617962
54allocsp1720.30577289.923735
55bbsi1690.30043990.224174
56mulwsi1690.30043990.524613
57ldax1650.29332890.817941
58slliw1640.29155091.109491
59bwgei1580.28088491.390375
60ldbzr1510.26844091.658815
61mul1490.26488491.923699
62stq1490.26488492.188583
63ldbs1440.25599592.444579
64sth1440.25599592.700574
65bbci1420.25244092.953014
66bdnei1420.25244093.205454
67sub1400.24888493.454339
68ori1330.23644093.690779
69cmpweqi1320.23466293.925441
70and1240.22044194.145882
71ldhz1160.20621994.352100
72subfiws1100.19555294.547652
73bdeqi1060.18844194.736094
74muladd1050.18666394.922757
75stdx950.16888695.091643
76ldar880.15644295.248084
77ldwsx840.14933195.397415
78mulws840.14933195.546746
79ldhs830.14755395.694299
80minsw790.14044295.834741
81bdleu680.12088795.955627
82ldws660.11733196.072959
83slli650.11555496.188512
84maxsw640.11377696.302288
85slsrai640.11377696.416064
86cmovweq620.11022096.526284
87ldhzx550.09777696.624060
88stbr540.09599896.720058
89bdlt530.09422196.814279
90bwltu500.08888796.903166
91sladdws500.08888796.992053
92bdltu490.08711097.079163
93bdgeui470.08355497.162717
94srai470.08355497.246271
95bwleu460.08177697.328048
96cmpwlt460.08177697.409824
97bdltui450.07999997.489822
98jmpt440.07822197.568043
99xori440.07822197.646264
100divw420.07466597.720929
101bdle410.07288897.793817
102sthr410.07288897.866705
103addiwz390.06933297.936037
104callmi370.06577798.001813
105ldih360.06399998.065812
106sladd350.06222198.128033
107cmpwnei330.05866698.186699
108ldhsr330.05866698.245365
109ldhsx330.05866698.304030
110minuw330.05866698.362696
111absdw320.05688898.419584
112ldhzr320.05688898.476472
113sllw320.05688898.533359
114addadd300.05333298.586692
115cmpwgti290.05155598.638246
116sthx290.05155598.689801
117fmulsq280.04977798.739578
118ldbsx280.04977798.789355
119cmovdeq260.04622198.835576
120cmpwltui230.04088898.876464
121subfi230.04088898.917353
122cmovwlt210.03733398.954685
123callri200.03555598.990240
124fence190.03377799.024017
125algnup180.03199999.056017
126bmany170.03022299.086238
127cmpwlti170.03022299.116460
128bmnone160.02844499.144904
129cmpweq160.02844499.173348
130divui150.02666699.200014
131fcvtiw2sq150.02666699.226680
132addsub140.02488899.251569
133ldq140.02488899.276457
134sll140.02488899.301346
135bdlti130.02311199.324456
136casw120.02133399.345789
137cmpwle120.02133399.367122
138cmpdltu110.01955599.386678
139maxuw110.01955599.406233
140cmpdnei100.01777799.424010
141halt100.01777799.441788
142bdgei90.01600099.457787
143cmovwle90.01600099.473787
144cmpwgtui90.01600099.489787
145faddsq90.01600099.505787
146fextsd2sq90.01600099.521786
147mulsubf90.01600099.537786
148mulwzi90.01600099.553786
149srlw90.01600099.569785
150slsubws80.01422299.584007
151callplt70.01244499.596452
152cmpdeq70.01244499.608896
153cmpwltu70.01244499.621340
154fcvtuw2sq70.01244499.633784
155fsubsq70.01244499.646229
156minu70.01244499.658673
157modw70.01244499.671117
158slsub70.01244499.683561
159bbc60.01066699.694228
160cmpwne60.01066699.704894
161divuw60.01066699.715561
162fmulsd60.01066699.726227
163slxor60.01066699.736894
164bfsqoeq50.00888999.745782
165cmpdgtui50.00888999.754671
166cmpdleu50.00888999.763560
167cnttz50.00888999.772448
168fcvtiw2sd50.00888999.781337
169fmaddsq50.00888999.790226
170moduw50.00888999.799115
171addwz40.00711199.806226
172bfsqune40.00711199.813337
173cmpdeqi40.00711199.820448
174cmpdlt40.00711199.827559
175divu40.00711199.834670
176fcvtiw2ss40.00711199.841781
177fnegsq40.00711199.848892
178sraw40.00711199.856003
179srlqi40.00711199.863114
180subsub40.00711199.870225
181maxu30.00533399.875558
182srpi30.00533399.880891
183cmpdltui20.00355599.884446
184fcmpsqole20.00355599.888002
185fcmpsqune20.00355599.891557
186fcvtsq2sd20.00355599.895113
187fcvtsq2ss20.00355599.898668
188fdivsq20.00355599.902224
189fdivss20.00355599.905779
190fextss2sd20.00355599.909335
191fmergesd20.00355599.912890
192fmulss20.00355599.916446
193ldaddw20.00355599.920001
194maxs20.00355599.923557
195maxui20.00355599.927112
196mins20.00355599.930668
197minui20.00355599.934223
198modui20.00355599.937779
199srl20.00355599.941334
200swapw20.00355599.944890
201bfsdolt10.00177899.946668
202bfsqole10.00177899.948445
203bmall10.00177899.950223
204cmovdlt10.00177899.952001
205cmpdne10.00177899.953779
206div10.00177899.955556
207fabsss10.00177899.957334
208faddss10.00177899.959112
209fcmpsqoeq10.00177899.960890
210fcmpsqult10.00177899.962667
211fcmpsquo10.00177899.964445
212fcvtsd2ss10.00177899.966223
213fcvtsq2iw10.00177899.968001
214fcvtsq2uw10.00177899.969778
215fcvtss2iw10.00177899.971556
216fextss2sq10.00177899.973334
217fmergesq10.00177899.975112
218fnaddsq10.00177899.976889
219ldbsr10.00177899.978667
220ldord10.00177899.980445
221ldorw10.00177899.982223
222ldqx10.00177899.984000
223maxsi10.00177899.985778
224nand10.00177899.987556
225nor10.00177899.989334
226orni10.00177899.991111
227slsubf10.00177899.992889
228staw10.00177899.994667
229subfiwz10.00177899.996445
230subwz10.00177899.998222
231syscall10.001778100.000000

prepare usual stack: 16384 bytes

guest environment

guest args

argc=1
argv[0]=doomgeneric.postrisc

prepare backstore: size=16384 bytes

Start...

syscall 2002 failed and forces exit

Stop

frames: 16141
instructions per frame: 846088.601016
instructions per pixel: 13.220134
frames per second: 47.487292
core id=0
  reads                  => 0
  writes                 => 0
  complex_ops            => 0
  config_reads           => 0
  config_writes          => 0
  vendor_id              => 404
  device_id              => 16
  TimeCmp                => 00000000deadbeaf
special registers
namevalue
ip00007f01c9f1a6b0
eip00007f01c9f5fbf0
fpcr0000000000000000 fe=vzoux rm=0
eca0000000000000000
rsc000000001b001f08 sof=8 bof=31 soc=0 ndirty=27 bod=4
rsp00007f012c037040
bsp00007f012c078000
psr0000000000020000 pm=0 id=0 dd=0 lp=0 tb=0 ss=0 ic=0 ib=0 pl=0 pp=0 ri=2 future=00000000000000000000000000000000
reip00007f01c9f5fbf0
kipffffffff00000000
ksp0000000000000000
krsp0000000000000000
peb0000000000000000
teb0000000000000000
itc00000001334e94d0
itm0000000000000000
pta0000000000000000 v=0 pta=0000000000000000 pageoffset=0 nlevels=0
iva0000000000000000
iip00007f01c9f1a6b0
iipa00007f01c9f1a6b0
ipsr0000000000020000 pm=0 id=0 dd=0 lp=0 tb=0 ss=0 ic=0 ib=0 pl=0 pp=0 ri=2 future=00000000000000000000000000000000
cause000005c000000000 x=0 w=0 r=0 a=0 n=0 d=0 ei=0 code=0 vector=46
ifa0000000000000000
iib00103040c1000000_0408000000000000
irr00000000000000000
irr10000000000000000
irr20000000000000000
irr30000000000000000
isr00000000000000000
isr10000000000000000
isr20000000000000000
isr30000000000000000
iv0000000000000000
lid0000000000000000
tpr00000000000000ff vector=255
itcv0000000000008000 vector=0 mask=1
tsv0000000000008000 vector=0 mask=1
pmv0000000000008000 vector=0 mask=1
cmcv0000000000008000 vector=0 mask=1
general registers
namevaluenamevalue
r00000000000230401_00007f01c9f5f332r10000000000000000_00000000000007d2
r20000000000000000_00007f01bc3b5960r30000000000000000_0000000000000140
r40000000000000000_00000000000000c8r50000000000000000_00007f01c9ffdc20
r60000000000000000_0000000000000000r70000000000000000_0000000000000000
r80000000000214402_00007f01c9f5f3a0r90000000000000000_0000000000052fce
r100000000000000000_0000000000000000r110000000000000000_0000000000000000
r120000000000000000_0000000000000000r130000000000000000_0000000000000000
r140000000000000000_0000000000000000r150000000000000000_0000000000000000
r160000000000000000_0000000000000043r17000000000f820107_00007f01c9f21b72
r180000000000000000_0000000000000063r190000000000000000_0000000000000001
r200000000000000000_0000000000000063r210000000000000000_0000000000000000
r22ffffffffffffffff_ffffffffffffffcer230000000000000000_0000000000000000
r240000000000000000_00007f01c9faa544r250000000000000000_00007f01c9f99890
r260000000000000000_0000000000000000r270000000000000000_00007f01c9faa6f8
r280000000000000000_00007f01c9fc45f8r290000000000000000_00007f01c9fc4608
r3000000000003c018c_00007f01c9f5ecf1r310000000000000000_0000000000000000
r320000000000000000_00007f012c07bd17r330000000000208403_00007f01c9f5f3d0
r34000000000ee20113_00007f01c9f24371r350000000000000000_0000000000000000
r360000000000000000_0000000000000000r370000000000000000_0000000000000000
r380000000000000000_0000000000000000r390000000000000000_0000000000000000
r400000000000000000_0000000000000000r41000000000e98809b_00007f01c9f255d1
r420000000000000000_000000000000004er430000000000000000_000000000000004d
r440000000000000000_0000000000000001r450000000000000000_00000000000000ff
r460000000000000000_00007f01bc2fae06r470000000000000000_00000000000000a7
r48ffffffffffffffff_ffffffffffffffffr490000000000000000_00000000000000cb
r500000000000000000_00007f01bc39d2a8r510000000000000000_00007f01bc38fddc
r520000000000000000_0000000000000006r530000000000000000_0000000000000000
r540000000000000000_00000000f62ff7e4r550000000003f8c186_00007f01c9f4fdc1
r560000000000000000_0000000000000169r570000000000000000_0000000000000800
r580000000000000000_00000000f5000000r590000000000000000_00000000fb200000
r600000000000000000_00000000fa8d15e4r610000000000000000_00000000f62ff7e4
r620000000003f60186_00007f01c9f4fe72r630000000000000000_00000000000003dd
r640000000000000000_0000000000000800r650000000000000000_00000000f6400000
r660000000000000000_00000000fb200000r670000000000000000_00000000fa8d15e4
r680000000000000000_00000000f62ff7e4r690000000003fa8186_00007f01c9f4fd51
r700000000000000000_00000000000000dfr710000000000000000_0000000000000800
r720000000000000000_00000000292dc940r730000000000000000_0000000020080000
r740000000000000000_0000000040100000r750000000000000000_00000000310f7e00
r760000000000000000_0000000000000001r770000000004a44188_00007f01c9f4d2e2
r78ffffffffffffffff_ffffffffc285fa80r790000000000000000_00000000f5000000
r800000000000000000_00000000faa00000r810000000000000000_00000000fa8d15e4
r820000000000000000_00000000f62ff7e4r830000000003f60186_00007f01c9f4fe72
r840000000000000000_000000000000007fr850000000000000000_0000000000000800
r860000000000000000_0000000000000088r870000000000000000_0000000000000b68
r880000000000000000_00007f01c9fcef50r890000000000000000_0000000020080000
r900000000000000000_0000000040100000r910000000000000000_0000000019e46341
r920000000000000000_000000003b4efb1fr930000000004a80189_00007f01c9f4d1f2
r940000000000000000_00007f01c9fcbe48r950000000000000000_00007f01c9fcbe48
r960000000000000000_0000000000000008r970000000000000000_00007f01c9fcbe40
r980000000000000000_00007f01c9fcbe48r990000000000000000_0000000000000000
r1000000000000000000_00000000000007b6r1010000000000000000_00007f012c07bd58
r1020000000000000000_00007f012c07bd68r10300000000000f8205_00007f01c9f5f811
r1040000000000000000_0000000000003e19r1050000000000000000_00007f012c07bd58
r10600000000001f4183_00007f01c9f5f420r1070000000000000000_0000000000000001
r10800000000001ec085_00007f01c9f5f441r1090000000000000000_0000000000000001
r1100000000000000000_00007f01c9fc4608r1110000000010028103_00007f01c9f1fb52
r1120000000010024084_00007f01c9f1fb62r1130000000000000000_0000000000000001
r1140000000000000000_0000000000000000r1150000000000000000_0000000000000003
r1160000000000000000_0000000000000003r1170000000000000000_0000000000000003
r1180000000000000000_0000000000000000r1190000000000000000_00007f01bc3a1e58
---0000000000000000_0000000000000000---0000000000000000_0000000000000001
---0000000000000000_00000000000000a0---000000001016c20b_00007f01c9f1f640
---0000000000000000_0000000000000140---0000000000000000_00007f01bc3b5aa0
---00000000100dc08e_00007f01c9f1f881---00000000002d8081_00007f01c9f5f092
g00000000000000000_0000000000000000g10000000000000000_0000000000000000
g20000000000000000_0000000000000000g30000000000000000_0000000000000000
tp0000000000000000_00007f01c9ffe088fp0000000000000000_00007f012c07bd50
sp0000000000000000_00007f012c07bd40gz0000000000000000_0000000000000000
cpuid
namevalue
size11
version0000000000000001
capabilities0000000000000000
L1 icache0000000080000440 rowsize=64 assoc=4 size=32768
L1 dcache0000000080000440 rowsize=64 assoc=4 size=32768
L2 dcache0000000400000840 rowsize=64 assoc=8 size=262144
L3 dcache0000002000000840 rowsize=64 assoc=8 size=2097152
L1 itlb0000000000000040 size=64
L1 dtlb0000000000000040 size=64
L2 tlb0000000000000100 size=256
PMR_MAX18
performance monitor
namevalue
bundles fetched5155755216
slots fetched15467265648
instructions issued13656716109
short instructions13617808268 99.715101%
long instructions38907841 0.284899%
shadowed instructions83236484 0.609491%
nops220004858 1.610965%
qualified nops0 0.000000%
register spills3627500
register fills3627496
code cache hits0
code cache missess0
data cache hits0
data cache missess0
code TLB hits0
code TLB misses0
data TLB hits0
data TLB misses0
backstore TLB hits0
backstore TLB misses0
Dynamic instruction frequencies: 13656716109
position instruction occurrence percent cumulative
percent
1ldbzx184920130113.54060013.540600
2addi12375173379.06160322.602203
3srliw11969151198.76429731.366499
4addiws11003234708.05701439.423513
5bwne10214107327.47918346.902695
6mov9778062387.15989354.062588
7addws9531215176.97914161.041730
8andi8892027126.51110267.552832
9stb8703331956.37293273.925763
10ldwzr4085442972.99152776.917290
11or2752266532.01532178.932611
12nop2200048581.61096580.543575
13ldbz1526505601.11776981.661344
14stwr1526076041.11745582.778799
15ldwz1310782530.95980883.738607
16stbx1304662860.95532784.693934
17sraiw1299192200.95132185.645255
18lddzr1259554120.92229686.567552
19bweq1026569840.75169687.319248
20bwle856008360.62680487.946052
21bwlt843720490.61780688.563858
22retf723426620.52972289.093580
23ldafr707212470.51785089.611430
24ldhsx652915780.47809190.089521
25bwleu604986800.44299690.532517
26subws592144980.43359390.966109
27callr540441400.39573391.361842
28lddzx510515580.37382091.735662
29jmp461821920.33816592.073827
30alloc431645320.31606892.389895
31ldwsx415498240.30424592.694140
32cmovlsb393071200.28782392.981963
33lddz389291600.28505593.267018
34stw372763940.27295393.539970
35ldwzx367289590.26894493.808915
36ldi353332820.25872594.067639
37bdeq345370430.25289494.320534
38add343354130.25141894.571951
39ldwsr337304390.24698894.818939
40bweqi305485840.22368995.042628
41cmpwlt302942070.22182695.264455
42allocsp291781380.21365495.478109
43mul289528020.21200495.690113
44stdr282339050.20674095.896853
45mulws278103490.20363996.100492
46srli267936510.19619496.296686
47slor253002360.18525996.481944
48sthx212050360.15527296.637216
49mov2197025160.14427096.781486
50bdlt193717590.14184896.923334
51sth188875280.13830297.061636
52ldax180467250.13214597.193781
53bwgei174655490.12789097.321671
54ldhzx168490580.12337697.445047
55bwlti161356640.11815297.563199
56bwltui147176250.10776897.670967
57bwnei142992140.10470597.775672
58minuw142318510.10421197.879883
59callplt141820450.10384797.983730
60muli140970410.10322498.086954
61minsw138503670.10141898.188372
62maxsw131201990.09607198.284443
63bdne124231770.09096898.375411
64std122112020.08941598.464826
65ldhz114325900.08371498.548540
66divuw107860120.07898098.627520
67slli104903430.07681598.704334
68muladd101079680.07401598.778349
69slliw95706390.07008098.848429
70ldbsx88205440.06458898.913017
71bdltu86109030.06305398.976069
72and80791240.05915999.035228
73ldbs76617850.05610399.091330
74subfiws76131700.05574799.147077
75bdleu73751540.05400499.201081
76bwltu72838890.05333699.254417
77bbci72814830.05331899.307735
78stwx69410750.05082599.358560
79cmpweqi65361800.04786199.406420
80slsrai63108680.04621199.452631
81slsrli58274460.04267199.495302
82bdgeui57495170.04210099.537402
83bbsi55617030.04072599.578127
84absdw53698430.03932099.617448
85bdnei42030650.03077799.648224
86bwgeui41451120.03035299.678576
87callri40667320.02977899.708355
88bmnone38886290.02847499.736829
89slsubws35203440.02577799.762606
90bdltui26713810.01956199.782167
91sladd26084540.01910099.801267
92ldhs22235660.01628299.817549
93bdle21963510.01608399.833632
94xor18586480.01361099.847241
95cmpweq18267410.01337699.860618
96div17294740.01266499.873281
97cmpwgti16294440.01193199.885213
98mulwsi14572640.01067199.895884
99xori14133560.01034999.906233
100ldws12649500.00926299.915495
101addadd10164830.00744399.922938
102srpiw9530210.00697899.929917
103ori8807190.00644999.936366
104sub8533950.00624999.942615
105sllw7553770.00553199.948146
106bdeqi7098050.00519799.953343
107bmany6547850.00479599.958138
108cmpwltui6478170.00474499.962881
109divw6225580.00455999.967440
110maxuw5732570.00419899.971638
111cmpwle4956030.00362999.975267
112cmovweq2958970.00216799.977433
113ldbzr2743480.00200999.979442
114cmpwgtui2403400.00176099.981202
115cmovwlt2401070.00175899.982960
116syscall2205630.00161599.984575
117ldar2061260.00150999.986085
118srlw1961630.00143699.987521
119subfi1908820.00139899.988919
120sraw1740370.00127499.990193
121srai1549570.00113599.991328
122cmpdnei1361100.00099799.992324
123bbc1198050.00087799.993202
124cmpwnei1155610.00084699.994048
125jmpt986410.00072299.994770
126slsub955450.00070099.995470
127cmpwne784300.00057499.996044
128stdx709270.00051999.996563
129bdlti708790.00051999.997082
130modw665410.00048799.997570
131slxor536490.00039399.997963
132callmi497520.00036499.998327
133mulwzi432760.00031799.998644
134cmovwle305120.00022399.998867
135cmpwlti286610.00021099.999077
136cmpwltu273470.00020099.999277
137sthr145990.00010799.999384
138stq143500.00010599.999489
139sladdws135830.00009999.999589
140ldhzr131320.00009699.999685
141cmpdeqi111990.00008299.999767
142ldhsr109990.00008199.999847
143moduw78160.00005799.999905
144addiwz68350.00005099.999955
145sll26220.00001999.999974
146cmovdeq15720.00001299.999985
147maxs4140.00000399.999988
148subwz3650.00000399.999991
149minu3280.00000299.999993
150algnup2230.00000299.999995
151maxui1640.00000199.999996
152cmpdeq1250.00000199.999997
153divui930.00000199.999998
154mulsubf750.00000199.999998
155stbr350.00000099.999999
156cmpdltu320.00000099.999999
157addsub240.00000099.999999
158cmpdgtui210.00000099.999999
159cnttz210.00000099.999999
160cmpdltui180.000000100.000000
161cmpdne150.000000100.000000
162cmpdleu130.000000100.000000
163sllqi100.000000100.000000
164divu40.000000100.000000
165fence30.000000100.000000
166ldbsr30.000000100.000000
167nor30.000000100.000000
168srlqi30.000000100.000000
169ldorw20.000000100.000000
170bdgei10.000000100.000000
171bmall10.000000100.000000
172orni10.000000100.000000
profile
positionfrequencypercent cumulative
percent
address
160164614411.66940911.669409R_DrawColumn+176
260164614411.66940923.338817R_DrawColumn+192
360164614411.66940935.008226R_DrawColumn+208
460164614411.66940946.677635R_DrawColumn+224
52586321235.01637751.694012R_DrawSpan+208
62586321235.01637756.710389R_DrawSpan+224
72586321235.01637761.726766R_DrawSpan+240
82586321235.01637766.743143R_DrawSpan+256
91114239062.16115668.904299V_DrawPatch+592
101114239062.16115671.065455V_DrawPatch+608
11180537700.35016771.415622R_DrawPlanes+656
12180537700.35016771.765789R_DrawPlanes+672
13180537700.35016772.115957R_DrawPlanes+688
14180537700.35016772.466124R_DrawPlanes+704
15180537700.35016772.816291R_DrawPlanes+784
16180537700.35016773.166458R_DrawPlanes+864
17180537700.35016773.516626R_DrawPlanes+928
18111491840.21624773.732873R_DrawColumn
19111491840.21624773.949121R_DrawColumn+16
20111491840.21624774.165368R_DrawColumn+240
21109430410.21224974.377617R_RenderSegLoop+144
22109430410.21224974.589866R_RenderSegLoop+160
23109430410.21224974.802115R_RenderSegLoop+176
24109430410.21224975.014364R_RenderSegLoop+192
25109430410.21224975.226613R_RenderSegLoop+208
26109430410.21224975.438862R_RenderSegLoop+224
27109430410.21224975.651111R_RenderSegLoop+240
28109430410.21224975.863360R_RenderSegLoop+256
29109430410.21224976.075609R_RenderSegLoop+272
30109430410.21224976.287858R_RenderSegLoop+352
31109430410.21224976.500107R_RenderSegLoop+368
32109430410.21224976.712356R_RenderSegLoop+384
33109430410.21224976.924605R_RenderSegLoop+448
34108860410.21114377.135749R_DrawColumn+32
35108860410.21114377.346892R_DrawColumn+96
36108860410.21114377.558036R_DrawColumn+112
37108860410.21114377.769179R_DrawColumn+128
38108860410.21114377.980323R_DrawColumn+144
39108860410.21114378.191466R_DrawColumn+160
4099015640.19204978.383515W_CacheLumpNum+128
4196048580.18629478.569809R_RenderSegLoop+400
4292367940.17915578.748964R_GetColumn+64
4390886820.17628278.925246R_DrawVisSprite+352
4486789840.16833679.093582R_RenderSegLoop+112
4586351700.16748679.261068R_RenderSegLoop+288
4686351700.16748679.428554R_RenderSegLoop+304
4783342090.16164979.590203R_RenderSegLoop+464
4883342090.16164979.751851R_RenderSegLoop+480
4983342090.16164979.913500R_RenderSegLoop+496
5083342090.16164980.075149R_RenderSegLoop+512
5183342090.16164980.236797R_RenderSegLoop+528
5283342090.16164980.398446R_RenderSegLoop+544
5383342090.16164980.560095R_RenderSegLoop+560
5483342090.16164980.721743R_RenderSegLoop+576
5578540610.15233680.874079R_GetColumn
5678540610.15233681.026415R_GetColumn+16
5778540610.15233681.178751R_GetColumn+32
5878540610.15233681.331087R_GetColumn+48
5966035490.12808181.459168R_RenderSegLoop+608
6066035490.12808181.587249R_RenderSegLoop+800
6166035490.12808181.715330R_RenderSegLoop+1008
6257989200.11247581.827805R_DrawMaskedColumn+48
6357989200.11247581.940279R_DrawMaskedColumn+64
6457989200.11247582.052754R_DrawMaskedColumn+80
6557989200.11247582.165229R_DrawMaskedColumn+96
6657989200.11247582.277703R_DrawMaskedColumn+112
6757989200.11247582.390178R_DrawMaskedColumn+128
6857989200.11247582.502653R_DrawMaskedColumn+144
6957989200.11247582.615128R_DrawMaskedColumn+176
7057989200.11247582.727602R_DrawMaskedColumn+192
7157989200.11247582.840077R_DrawMaskedColumn+208
7257977160.11245182.952528R_MapPlane+480
7357454660.11143883.063966R_RenderSegLoop+992
7457241400.11102483.174990P_Ticker+224
7556710680.10999583.284985R_RenderSegLoop+416
7656710680.10999583.394980R_RenderSegLoop+432
7752406100.10164683.496626R_RenderSegLoop+976
7851189820.09928783.595913R_DrawFuzzColumn+192
7951189820.09928783.695200R_DrawFuzzColumn+208
8051189820.09928783.794486R_DrawFuzzColumn+224
8151189820.09928783.893773R_DrawFuzzColumn+240
8251189820.09928783.993060R_DrawFuzzColumn+256
8350846890.09862284.091681Z_ChangeTag2
8450846890.09862284.190303Z_ChangeTag2+16
8550846890.09862284.288925Z_ChangeTag2+48
8650846890.09862284.387546Z_ChangeTag2+64
8749516480.09604184.483587W_CacheLumpNum
8849516480.09604184.579629W_CacheLumpNum+32
8949516480.09604184.675670W_CacheLumpNum+48
9049516480.09604184.771711W_CacheLumpNum+64
9149516480.09604184.867752W_CacheLumpNum+96
9249507820.09602484.963777W_CacheLumpNum+112
9347435690.09200585.055782V_DrawPatch+528
9447435690.09200585.147787V_DrawPatch+544
9547435690.09200585.239793V_DrawPatch+560
9647435690.09200585.331798V_DrawPatch+576
9747435690.09200585.423803V_DrawPatch+624
9846704000.09058685.514389R_ClearPlanes+64
9946704000.09058685.604975R_ClearPlanes+80
10046209140.08962685.694602R_DrawPlanes+752
10145911690.08904985.783651R_DrawMaskedColumn
10245911690.08904985.872701R_DrawMaskedColumn+16
10345911690.08904985.961750R_DrawMaskedColumn+272
10445800090.08883386.050583R_DrawMaskedColumn+32
10545781330.08879786.139379R_DrawSprite+144
10645781330.08879786.228176R_DrawSprite+160
10745781330.08879786.316973R_DrawSprite+176
10845443410.08814186.405114R_DrawVisSprite+304
10945443410.08814186.493255R_DrawVisSprite+320
11045443410.08814186.581396R_DrawVisSprite+336
11145443410.08814186.669537R_DrawVisSprite+368
11245443410.08814186.757678R_DrawVisSprite+384
11345443410.08814186.845819R_DrawVisSprite+400
11445443410.08814186.933961R_DrawVisSprite+416
11545443410.08814187.022102R_DrawVisSprite+432
11645361030.08798187.110083R_RenderSegLoop+688
11743637870.08463987.194722R_CheckPlane+64
11843637320.08463887.279360R_RenderSegLoop+784
11943465230.08430487.363664R_CheckPlane+80
12043394920.08416887.447832R_RenderSegLoop+80
12143394920.08416887.532000R_RenderSegLoop+96
12243394920.08416887.616168R_RenderSegLoop+128
12341553600.08059787.696765R_RenderSegLoop+960
12440210130.07799187.774756R_RenderSegLoop+896
12538840190.07533487.850089V_DrawPatch+432
12638840190.07533487.925423V_DrawPatch+448
12738840190.07533488.000757V_DrawPatch+464
12838840190.07533488.076090V_DrawPatch+480
12938840190.07533488.151424V_DrawPatch+496
13037279550.07230788.223731P_DivlineSide
13135339730.06854488.292275R_RenderSegLoop+320
13235339730.06854488.360819R_RenderSegLoop+336
13334862330.06761888.428437R_RenderSegLoop+768
13434759530.06741988.495856R_DrawMaskedColumn+224
13534759530.06741988.563275R_DrawMaskedColumn+240
13634759530.06741988.630694R_DrawMaskedColumn+256
13733899260.06575088.696444R_DrawMaskedColumn+160
13832356640.06275888.759203R_GetColumn+80
13932356640.06275888.821961R_GetColumn+96
14032336360.06271988.884680R_DrawSprite+64
14132336360.06271988.947399R_DrawSprite+80
14232336360.06271989.010118R_DrawSprite+96
14332336360.06271989.072837R_DrawSprite+928
14432336360.06271989.135556R_DrawSprite+944
14532336360.06271989.198275R_DrawSprite+960
14632336360.06271989.260994R_DrawSprite+992
14731629300.06134889.322341R_RenderSegLoop+912
14828988580.05622689.378567R_DrawSpan
14928988580.05622689.434792R_DrawSpan+16
15028988580.05622689.491018R_DrawSpan+32
15128988580.05622689.547244R_DrawSpan+96
15228988580.05622689.603469R_DrawSpan+112
15328988580.05622689.659695R_DrawSpan+128
15428988580.05622689.715921R_DrawSpan+144
15528988580.05622689.772147R_DrawSpan+160
15628988580.05622689.828372R_DrawSpan+176
15728988580.05622689.884598R_DrawSpan+192
15828988580.05622689.940824R_DrawSpan+272
15928988580.05622689.997049R_MapPlane
16028988580.05622690.053275R_MapPlane+16
16128988580.05622690.109501R_MapPlane+32
16228988580.05622690.165726R_MapPlane+80
16328988580.05622690.221952R_MapPlane+96
16428988580.05622690.278178R_MapPlane+272
16528988580.05622690.334403R_MapPlane+288
16628988580.05622690.390629R_MapPlane+304
16728988580.05622690.446855R_MapPlane+320
16828988580.05622690.503080R_MapPlane+336
16928988580.05622690.559306R_MapPlane+352
17028988580.05622690.615532R_MapPlane+368
17128988580.05622690.671757R_MapPlane+384
17228988580.05622690.727983R_MapPlane+400
17328988580.05622690.784209R_MapPlane+416
17428988580.05622690.840434R_MapPlane+432
17528988580.05622690.896660R_MapPlane+448
17628988580.05622690.952886R_MapPlane+464
17728937630.05612791.009012P_DivlineSide+16
17828634010.05553891.064550P_Ticker+240
17928634010.05553891.120088P_Ticker+256
18028440160.05516291.175250R_PointInSubsector+64
18127321490.05299291.228243R_DrawSprite+192
18227004130.05237791.280619P_MobjThinker
18327004130.05237791.332996P_MobjThinker+80
18427004130.05237791.385373P_MobjThinker+144
18526856460.05209091.437463P_MobjThinker+96
18626832010.05204391.489506P_MobjThinker+16
18726831730.05204291.541548P_MobjThinker+32
18826088320.05060091.592148R_RenderSegLoop+592
18925825360.05009091.642239R_RenderSegLoop+816
19025825360.05009091.692329R_RenderSegLoop+832
19125825360.05009091.742419R_RenderSegLoop+848
19225825360.05009091.792510R_RenderSegLoop+864
19325382400.04923191.841741wipe_doMelt+368
19425382400.04923191.890972wipe_doMelt+384
19524532030.04758291.938554P_MobjThinker+176
19624230220.04699691.985550P_CrossBSPNode+48
19724230220.04699692.032547P_CrossBSPNode+80
19824049840.04664792.079193R_PointToAngle
19924049840.04664792.125840R_PointToAngle+16
20024049770.04664692.172487R_PointToAngle+48