; Listing generated by Microsoft (R) Optimizing Compiler Version 15.00.21022.08 

	TITLE	c:\Develop\DScaler423a\DScaler\MSP34xx_revG.cpp
	.686P
	.XMM
	include listing.inc
	.model	flat

INCLUDELIB OLDNAMES

PUBLIC	??_C@_1FC@GCCPIEGM@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAs?$AAR?$AAe?$AAv?$AAG@ ; `string'
PUBLIC	??_C@_1FG@GCDGGIIO@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAs?$AAR?$AAe?$AAv?$AAG@ ; `string'
PUBLIC	??_C@_1EI@EHKCCKLE@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAn@ ; `string'
PUBLIC	??_C@_1EM@JHBJLLND@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?$DN?$AA?$CF?$AAd@ ; `string'
PUBLIC	??_C@_1EO@KCEOAEIN@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?$CJ@ ; `string'
PUBLIC	??_C@_1EM@FMAGLJBO@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?$CJ@ ; `string'
PUBLIC	??_C@_1EA@OHGEKOE@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAI?$AAn?$AAi?$AAt?$AAi?$AAa?$AAl?$AAi?$AAz?$AAe?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAn?$AAt?$AAe?$AAr?$AA?$AA@ ; `string'
PUBLIC	??_C@_1DO@FFGOEMAN@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAI?$AAn?$AAi?$AAt?$AAi?$AAa?$AAl?$AAi?$AAz?$AAe?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAx?$AAi?$AAt?$AA?$AA@ ; `string'
PUBLIC	??_C@_1EK@EIOMMAKJ@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?0?$AA?5?$AA?$CF?$AAd?$AA?0@ ; `string'
PUBLIC	??_C@_1FE@NFPNNOND@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?0?$AA?5?$AA?$CF?$AAd?$AA?0@ ; `string'
;	COMDAT ??_C@_1FE@NFPNNOND@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?0?$AA?5?$AA?$CF?$AAd?$AA?0@
CONST	SEGMENT
??_C@_1FE@NFPNNOND@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?0?$AA?5?$AA?$CF?$AAd?$AA?0@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'S', 00H, 'e', 00H, 't', 00H, 'S', 00H, 't'
	DB	00H, 'a', 00H, 'n', 00H, 'd', 00H, 'a', 00H, 'r', 00H, 'd', 00H
	DB	'R', 00H, 'e', 00H, 'v', 00H, 'G', 00H, '(', 00H, '%', 00H, 'd'
	DB	00H, ',', 00H, ' ', 00H, '%', 00H, 'd', 00H, ',', 00H, ' ', 00H
	DB	'%', 00H, 'd', 00H, ')', 00H, ' ', 00H, 'e', 00H, 'x', 00H, 'i'
	DB	00H, 't', 00H, 00H, 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_1EK@EIOMMAKJ@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?0?$AA?5?$AA?$CF?$AAd?$AA?0@
CONST	SEGMENT
??_C@_1EK@EIOMMAKJ@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?0?$AA?5?$AA?$CF?$AAd?$AA?0@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'S', 00H, 'e', 00H, 't', 00H, 'S', 00H, 't'
	DB	00H, 'a', 00H, 'n', 00H, 'd', 00H, 'a', 00H, 'r', 00H, 'd', 00H
	DB	'R', 00H, 'e', 00H, 'v', 00H, 'G', 00H, '(', 00H, '%', 00H, 'd'
	DB	00H, ',', 00H, ' ', 00H, '%', 00H, 'd', 00H, ',', 00H, ' ', 00H
	DB	'%', 00H, 'd', 00H, ')', 00H, 00H, 00H	; `string'
CONST	ENDS
;	COMDAT ??_C@_1DO@FFGOEMAN@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAI?$AAn?$AAi?$AAt?$AAi?$AAa?$AAl?$AAi?$AAz?$AAe?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAx?$AAi?$AAt?$AA?$AA@
CONST	SEGMENT
??_C@_1DO@FFGOEMAN@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAI?$AAn?$AAi?$AAt?$AAi?$AAa?$AAl?$AAi?$AAz?$AAe?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAx?$AAi?$AAt?$AA?$AA@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 't', 00H, 'i'
	DB	00H, 'a', 00H, 'l', 00H, 'i', 00H, 'z', 00H, 'e', 00H, 'R', 00H
	DB	'e', 00H, 'v', 00H, 'G', 00H, '(', 00H, ')', 00H, ' ', 00H, 'e'
	DB	00H, 'x', 00H, 'i', 00H, 't', 00H, 00H, 00H	; `string'
CONST	ENDS
;	COMDAT ??_C@_1EA@OHGEKOE@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAI?$AAn?$AAi?$AAt?$AAi?$AAa?$AAl?$AAi?$AAz?$AAe?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAn?$AAt?$AAe?$AAr?$AA?$AA@
CONST	SEGMENT
??_C@_1EA@OHGEKOE@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAI?$AAn?$AAi?$AAt?$AAi?$AAa?$AAl?$AAi?$AAz?$AAe?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAn?$AAt?$AAe?$AAr?$AA?$AA@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'I', 00H, 'n', 00H, 'i', 00H, 't', 00H, 'i'
	DB	00H, 'a', 00H, 'l', 00H, 'i', 00H, 'z', 00H, 'e', 00H, 'R', 00H
	DB	'e', 00H, 'v', 00H, 'G', 00H, '(', 00H, ')', 00H, ' ', 00H, 'e'
	DB	00H, 'n', 00H, 't', 00H, 'e', 00H, 'r', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1EM@FMAGLJBO@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?$CJ@
CONST	SEGMENT
??_C@_1EM@FMAGLJBO@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?$CJ@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'S', 00H, 'e', 00H, 't', 00H, 'S', 00H, 'o'
	DB	00H, 'u', 00H, 'n', 00H, 'd', 00H, 'C', 00H, 'h', 00H, 'a', 00H
	DB	'n', 00H, 'n', 00H, 'e', 00H, 'l', 00H, 'R', 00H, 'e', 00H, 'v'
	DB	00H, 'G', 00H, '(', 00H, '%', 00H, 'd', 00H, ')', 00H, ' ', 00H
	DB	'e', 00H, 'x', 00H, 'i', 00H, 't', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1EO@KCEOAEIN@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?$CJ@
CONST	SEGMENT
??_C@_1EO@KCEOAEIN@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?$CJ@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'S', 00H, 'e', 00H, 't', 00H, 'S', 00H, 'o'
	DB	00H, 'u', 00H, 'n', 00H, 'd', 00H, 'C', 00H, 'h', 00H, 'a', 00H
	DB	'n', 00H, 'n', 00H, 'e', 00H, 'l', 00H, 'R', 00H, 'e', 00H, 'v'
	DB	00H, 'G', 00H, '(', 00H, '%', 00H, 'd', 00H, ')', 00H, ' ', 00H
	DB	'e', 00H, 'n', 00H, 't', 00H, 'e', 00H, 'r', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1EM@JHBJLLND@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?$DN?$AA?$CF?$AAd@
CONST	SEGMENT
??_C@_1EM@JHBJLLND@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?$DN?$AA?$CF?$AAd@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'D', 00H, 'e', 00H, 't', 00H, 'e', 00H, 'c'
	DB	00H, 't', 00H, 'S', 00H, 't', 00H, 'a', 00H, 'n', 00H, 'd', 00H
	DB	'a', 00H, 'r', 00H, 'd', 00H, 'R', 00H, 'e', 00H, 'v', 00H, 'G'
	DB	00H, '(', 00H, ')', 00H, '=', 00H, '%', 00H, 'd', 00H, ' ', 00H
	DB	'e', 00H, 'x', 00H, 'i', 00H, 't', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1EI@EHKCCKLE@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAn@
CONST	SEGMENT
??_C@_1EI@EHKCCKLE@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAn@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'D', 00H, 'e', 00H, 't', 00H, 'e', 00H, 'c'
	DB	00H, 't', 00H, 'S', 00H, 't', 00H, 'a', 00H, 'n', 00H, 'd', 00H
	DB	'a', 00H, 'r', 00H, 'd', 00H, 'R', 00H, 'e', 00H, 'v', 00H, 'G'
	DB	00H, '(', 00H, ')', 00H, ' ', 00H, 'e', 00H, 'n', 00H, 't', 00H
	DB	'e', 00H, 'r', 00H, 00H, 00H			; `string'
CONST	ENDS
;	COMDAT ??_C@_1FG@GCDGGIIO@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAs?$AAR?$AAe?$AAv?$AAG@
CONST	SEGMENT
??_C@_1FG@GCDGGIIO@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAs?$AAR?$AAe?$AAv?$AAG@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'D', 00H, 'e', 00H, 't', 00H, 'e', 00H, 'c'
	DB	00H, 't', 00H, 'S', 00H, 'o', 00H, 'u', 00H, 'n', 00H, 'd', 00H
	DB	'C', 00H, 'h', 00H, 'a', 00H, 'n', 00H, 'n', 00H, 'e', 00H, 'l'
	DB	00H, 's', 00H, 'R', 00H, 'e', 00H, 'v', 00H, 'G', 00H, '(', 00H
	DB	')', 00H, '=', 00H, '%', 00H, 'd', 00H, ' ', 00H, 'e', 00H, 'x'
	DB	00H, 'i', 00H, 't', 00H, 00H, 00H		; `string'
CONST	ENDS
;	COMDAT ??_C@_1FC@GCCPIEGM@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAs?$AAR?$AAe?$AAv?$AAG@
CONST	SEGMENT
??_C@_1FC@GCCPIEGM@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAs?$AAR?$AAe?$AAv?$AAG@ DB 'M'
	DB	00H, 'S', 00H, 'P', 00H, 'r', 00H, 'e', 00H, 'v', 00H, 'G', 00H
	DB	':', 00H, ' ', 00H, 'D', 00H, 'e', 00H, 't', 00H, 'e', 00H, 'c'
	DB	00H, 't', 00H, 'S', 00H, 'o', 00H, 'u', 00H, 'n', 00H, 'd', 00H
	DB	'C', 00H, 'h', 00H, 'a', 00H, 'n', 00H, 'n', 00H, 'e', 00H, 'l'
	DB	00H, 's', 00H, 'R', 00H, 'e', 00H, 'v', 00H, 'G', 00H, '(', 00H
	DB	')', 00H, ' ', 00H, 'e', 00H, 'n', 00H, 't', 00H, 'e', 00H, 'r'
	DB	00H, 00H, 00H				; `string'
PUBLIC	?SetCarrierRevG@CMSP34x0AudioDecoder@@AAEXW4eCarrier@1@0@Z ; CMSP34x0AudioDecoder::SetCarrierRevG
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\msp34xx_revg.cpp
;	COMDAT ?SetCarrierRevG@CMSP34x0AudioDecoder@@AAEXW4eCarrier@1@0@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_MajorCarrier$ = 8					; size = 4
_MinorCarrier$ = 12					; size = 4
?SetCarrierRevG@CMSP34x0AudioDecoder@@AAEXW4eCarrier@1@0@Z PROC ; CMSP34x0AudioDecoder::SetCarrierRevG, COMDAT
; _this$ = ecx

; 262  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 263  :     // do nothing
; 264  : }

  00007	8b e5		 mov	 esp, ebp
  00009	5d		 pop	 ebp
  0000a	c2 08 00	 ret	 8
?SetCarrierRevG@CMSP34x0AudioDecoder@@AAEXW4eCarrier@1@0@Z ENDP ; CMSP34x0AudioDecoder::SetCarrierRevG
PUBLIC	?SetStandardRevG@CMSP34x0AudioDecoder@@AAEXW4eStandard@1@W4eVideoFormat@@H@Z ; CMSP34x0AudioDecoder::SetStandardRevG
; Function compile flags: /Odtp
;	COMDAT ?SetStandardRevG@CMSP34x0AudioDecoder@@AAEXW4eStandard@1@W4eVideoFormat@@H@Z
_TEXT	SEGMENT
tv89 = -20						; size = 4
tv76 = -16						; size = 4
_this$ = -12						; size = 4
_nIndex$140664 = -8					; size = 4
_modus$ = -4						; size = 2
_standard$ = 8						; size = 4
_videoformat$ = 12					; size = 4
_bWasDetected$ = 16					; size = 4
?SetStandardRevG@CMSP34x0AudioDecoder@@AAEXW4eStandard@1@W4eVideoFormat@@H@Z PROC ; CMSP34x0AudioDecoder::SetStandardRevG, COMDAT
; _this$ = ecx

; 143  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 14	 sub	 esp, 20			; 00000014H
  00006	89 4d f4	 mov	 DWORD PTR _this$[ebp], ecx

; 144  :     LOG(2,_T("MSPrevG: SetStandardRevG(%d, %d, %d)"), standard, videoformat, bWasDetected);

  00009	8b 45 10	 mov	 eax, DWORD PTR _bWasDetected$[ebp]
  0000c	50		 push	 eax
  0000d	8b 4d 0c	 mov	 ecx, DWORD PTR _videoformat$[ebp]
  00010	51		 push	 ecx
  00011	8b 55 08	 mov	 edx, DWORD PTR _standard$[ebp]
  00014	52		 push	 edx
  00015	68 00 00 00 00	 push	 OFFSET ??_C@_1EK@EIOMMAKJ@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?0?$AA?5?$AA?$CF?$AAd?$AA?0@
  0001a	6a 02		 push	 2
  0001c	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00021	83 c4 14	 add	 esp, 20			; 00000014H

; 145  : 
; 146  :     WORD modus = 0;

  00024	33 c0		 xor	 eax, eax
  00026	66 89 45 fc	 mov	 WORD PTR _modus$[ebp], ax

; 147  : 
; 148  :     if (standard == MSP34x0_STANDARD_AUTO)

  0002a	83 7d 08 01	 cmp	 DWORD PTR _standard$[ebp], 1
  0002e	75 7c		 jne	 SHORT $LN24@SetStandar

; 149  :     {
; 150  :         // Set modus register
; 151  :         modus = 0x3003;

  00030	b9 03 30 00 00	 mov	 ecx, 12291		; 00003003H
  00035	66 89 4d fc	 mov	 WORD PTR _modus$[ebp], cx

; 152  : 
; 153  :         if (m_AudioInput == AUDIOINPUT_RADIO)

  00039	8b 55 f4	 mov	 edx, DWORD PTR _this$[ebp]
  0003c	83 7a 18 01	 cmp	 DWORD PTR [edx+24], 1
  00040	75 0b		 jne	 SHORT $LN23@SetStandar

; 154  :         {
; 155  :             modus = 0x0003; //autodetect

  00042	b8 03 00 00 00	 mov	 eax, 3
  00047	66 89 45 fc	 mov	 WORD PTR _modus$[ebp], ax

; 156  :         }
; 157  :         else

  0004b	eb 5d		 jmp	 SHORT $LN20@SetStandar
$LN23@SetStandar:

; 158  :         {
; 159  :             switch(videoformat)

  0004d	8b 4d 0c	 mov	 ecx, DWORD PTR _videoformat$[ebp]
  00050	89 4d f0	 mov	 DWORD PTR tv76[ebp], ecx
  00053	83 7d f0 13	 cmp	 DWORD PTR tv76[ebp], 19	; 00000013H
  00057	77 51		 ja	 SHORT $LN20@SetStandar
  00059	8b 55 f0	 mov	 edx, DWORD PTR tv76[ebp]
  0005c	0f b6 82 00 00
	00 00		 movzx	 eax, BYTE PTR $LN27@SetStandar[edx]
  00063	ff 24 85 00 00
	00 00		 jmp	 DWORD PTR $LN28@SetStandar[eax*4]
$LN19@SetStandar:

; 160  :             {
; 161  :             case VIDEOFORMAT_SECAM_L:
; 162  :             case VIDEOFORMAT_SECAM_L1:
; 163  :                 modus = 0x6003;

  0006a	b9 03 60 00 00	 mov	 ecx, 24579		; 00006003H
  0006f	66 89 4d fc	 mov	 WORD PTR _modus$[ebp], cx

; 164  :                 break;

  00073	eb 35		 jmp	 SHORT $LN20@SetStandar
$LN18@SetStandar:

; 165  : 
; 166  :             case VIDEOFORMAT_PAL_M:
; 167  :             case VIDEOFORMAT_PAL_60:
; 168  :             case VIDEOFORMAT_NTSC_50:
; 169  :                 modus = 0x3003;

  00075	ba 03 30 00 00	 mov	 edx, 12291		; 00003003H
  0007a	66 89 55 fc	 mov	 WORD PTR _modus$[ebp], dx

; 170  :                 break;

  0007e	eb 2a		 jmp	 SHORT $LN20@SetStandar
$LN17@SetStandar:

; 171  :             case VIDEOFORMAT_PAL_B:
; 172  :             case VIDEOFORMAT_PAL_D:
; 173  :             case VIDEOFORMAT_PAL_G:
; 174  :             case VIDEOFORMAT_PAL_H:
; 175  :             case VIDEOFORMAT_PAL_I:
; 176  :             case VIDEOFORMAT_PAL_N:
; 177  :             case VIDEOFORMAT_PAL_N_COMBO:
; 178  :                 modus = 0x7003;

  00080	b8 03 70 00 00	 mov	 eax, 28675		; 00007003H
  00085	66 89 45 fc	 mov	 WORD PTR _modus$[ebp], ax

; 179  :                 break;

  00089	eb 1f		 jmp	 SHORT $LN20@SetStandar
$LN16@SetStandar:

; 180  :             case VIDEOFORMAT_NTSC_M_Japan:
; 181  :                 modus = 0x5003;

  0008b	b9 03 50 00 00	 mov	 ecx, 20483		; 00005003H
  00090	66 89 4d fc	 mov	 WORD PTR _modus$[ebp], cx

; 182  :                 break;

  00094	eb 14		 jmp	 SHORT $LN20@SetStandar
$LN15@SetStandar:

; 183  :             case VIDEOFORMAT_NTSC_M:
; 184  :                 modus = 0x3003;

  00096	ba 03 30 00 00	 mov	 edx, 12291		; 00003003H
  0009b	66 89 55 fc	 mov	 WORD PTR _modus$[ebp], dx

; 185  :                 break;

  0009f	eb 09		 jmp	 SHORT $LN20@SetStandar
$LN14@SetStandar:

; 186  :             case VIDEOFORMAT_SECAM_B:
; 187  :             case VIDEOFORMAT_SECAM_D:
; 188  :             case VIDEOFORMAT_SECAM_G:
; 189  :             case VIDEOFORMAT_SECAM_H:
; 190  :             case VIDEOFORMAT_SECAM_K:
; 191  :             case VIDEOFORMAT_SECAM_K1:
; 192  :                 modus = 0x7003;

  000a1	b8 03 70 00 00	 mov	 eax, 28675		; 00007003H
  000a6	66 89 45 fc	 mov	 WORD PTR _modus$[ebp], ax
$LN20@SetStandar:

; 193  :                 break;
; 194  :             }
; 195  :         }
; 196  :     }
; 197  :     else

  000aa	eb 59		 jmp	 SHORT $LN13@SetStandar
$LN24@SetStandar:

; 198  :     {
; 199  :         /*
; 200  :         if(m_SoundChannel == SOUNDCHANNEL_MONO)
; 201  :         {
; 202  :             SetDEMRegister(DEM_WR_MODUS, 0x2002);  //turn of auto sound select
; 203  :         } else {
; 204  :             SetDEMRegister(DEM_WR_MODUS, 0x2003);
; 205  :         }
; 206  :         */
; 207  :         // if mono output is forced, Automatic Sound Select must be disabled, otherwise enabled.
; 208  :         if(m_SoundChannel == SOUNDCHANNEL_MONO)

  000ac	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  000af	83 79 14 01	 cmp	 DWORD PTR [ecx+20], 1
  000b3	75 08		 jne	 SHORT $LN12@SetStandar

; 209  :         {
; 210  :             modus = 0;

  000b5	33 d2		 xor	 edx, edx
  000b7	66 89 55 fc	 mov	 WORD PTR _modus$[ebp], dx

; 211  :         }
; 212  :         else

  000bb	eb 09		 jmp	 SHORT $LN11@SetStandar
$LN12@SetStandar:

; 213  :         {
; 214  :             modus = 1;

  000bd	b8 01 00 00 00	 mov	 eax, 1
  000c2	66 89 45 fc	 mov	 WORD PTR _modus$[ebp], ax
$LN11@SetStandar:

; 215  :         }
; 216  : 
; 217  :         // choose sound IF2 input pin if needed.
; 218  :         // todo: Maybe some cards are using IF1?
; 219  :         switch(m_AudioInput)

  000c6	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  000c9	8b 51 18	 mov	 edx, DWORD PTR [ecx+24]
  000cc	89 55 ec	 mov	 DWORD PTR tv89[ebp], edx
  000cf	83 7d ec 00	 cmp	 DWORD PTR tv89[ebp], 0
  000d3	7c 22		 jl	 SHORT $LN6@SetStandar
  000d5	83 7d ec 01	 cmp	 DWORD PTR tv89[ebp], 1
  000d9	7e 02		 jle	 SHORT $LN8@SetStandar
  000db	eb 1a		 jmp	 SHORT $LN6@SetStandar
$LN8@SetStandar:

; 220  :         {
; 221  :         case AUDIOINPUT_RADIO:
; 222  :         case AUDIOINPUT_TUNER:
; 223  :             if(!m_bUseInputPin1)

  000dd	8b 45 f4	 mov	 eax, DWORD PTR _this$[ebp]
  000e0	83 b8 94 00 00
	00 00		 cmp	 DWORD PTR [eax+148], 0
  000e7	75 0e		 jne	 SHORT $LN7@SetStandar

; 224  :             {
; 225  :                 modus |= 0x100;

  000e9	0f b7 4d fc	 movzx	 ecx, WORD PTR _modus$[ebp]
  000ed	81 c9 00 01 00
	00		 or	 ecx, 256		; 00000100H
  000f3	66 89 4d fc	 mov	 WORD PTR _modus$[ebp], cx
$LN7@SetStandar:
$LN6@SetStandar:

; 226  :             }
; 227  :             break;
; 228  :         default:
; 229  :             break;
; 230  :         }
; 231  :         modus |= 0x2000;

  000f7	0f b7 55 fc	 movzx	 edx, WORD PTR _modus$[ebp]
  000fb	81 ca 00 20 00
	00		 or	 edx, 8192		; 00002000H
  00101	66 89 55 fc	 mov	 WORD PTR _modus$[ebp], dx
$LN13@SetStandar:

; 232  :     }
; 233  :     SetDEMRegister(DEM_WR_MODUS, modus);

  00105	0f b7 45 fc	 movzx	 eax, WORD PTR _modus$[ebp]
  00109	50		 push	 eax
  0010a	6a 30		 push	 48			; 00000030H
  0010c	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  0010f	e8 00 00 00 00	 call	 ?SetDEMRegister@CMSP34x0@@IAEXW4eDEMWriteRegister@1@G@Z ; CMSP34x0::SetDEMRegister

; 234  : 
; 235  :     if (!bWasDetected)

  00114	83 7d 10 00	 cmp	 DWORD PTR _bWasDetected$[ebp], 0
  00118	75 0f		 jne	 SHORT $LN5@SetStandar

; 236  :     {
; 237  :         // Set standard
; 238  :         SetDEMRegister(DEM_WR_STANDARD_SELECT, (int)standard);

  0011a	0f b7 4d 08	 movzx	 ecx, WORD PTR _standard$[ebp]
  0011e	51		 push	 ecx
  0011f	6a 20		 push	 32			; 00000020H
  00121	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  00124	e8 00 00 00 00	 call	 ?SetDEMRegister@CMSP34x0@@IAEXW4eDEMWriteRegister@1@G@Z ; CMSP34x0::SetDEMRegister
$LN5@SetStandar:

; 239  :     }
; 240  : 
; 241  : 
; 242  :     m_AudioStandardMajorCarrier = 0;

  00129	8b 55 f4	 mov	 edx, DWORD PTR _this$[ebp]
  0012c	c7 42 20 00 00
	00 00		 mov	 DWORD PTR [edx+32], 0

; 243  :     m_AudioStandardMinorCarrier = 0;

  00133	8b 45 f4	 mov	 eax, DWORD PTR _this$[ebp]
  00136	c7 40 24 00 00
	00 00		 mov	 DWORD PTR [eax+36], 0

; 244  :     if (standard != MSP34x0_STANDARD_AUTO)

  0013d	83 7d 08 01	 cmp	 DWORD PTR _standard$[ebp], 1
  00141	74 78		 je	 SHORT $LN2@SetStandar

; 245  :     {
; 246  :         int nIndex = 0;

  00143	c7 45 f8 00 00
	00 00		 mov	 DWORD PTR _nIndex$140664[ebp], 0
$LN3@SetStandar:

; 247  :         while (m_MSPStandards[nIndex].Name != NULL)

  0014a	8b 4d f8	 mov	 ecx, DWORD PTR _nIndex$140664[ebp]
  0014d	6b c9 1c	 imul	 ecx, 28			; 0000001cH
  00150	83 b9 00 00 00
	00 00		 cmp	 DWORD PTR ?m_MSPStandards@CMSP34x0AudioDecoder@@0PAUTStandardDefinition@1@A[ecx], 0
  00157	74 62		 je	 SHORT $LN2@SetStandar

; 248  :         {
; 249  :             if (m_MSPStandards[nIndex].Standard == standard)

  00159	8b 55 f8	 mov	 edx, DWORD PTR _nIndex$140664[ebp]
  0015c	6b d2 1c	 imul	 edx, 28			; 0000001cH
  0015f	8b 82 04 00 00
	00		 mov	 eax, DWORD PTR ?m_MSPStandards@CMSP34x0AudioDecoder@@0PAUTStandardDefinition@1@A[edx+4]
  00165	3b 45 08	 cmp	 eax, DWORD PTR _standard$[ebp]
  00168	75 46		 jne	 SHORT $LN1@SetStandar

; 250  :             {
; 251  :                 m_AudioStandardMajorCarrier = MSP_UNCARRIER_HZ(m_MSPStandards[nIndex].MajorCarrier);

  0016a	8b 4d f8	 mov	 ecx, DWORD PTR _nIndex$140664[ebp]
  0016d	6b c9 1c	 imul	 ecx, 28			; 0000001cH
  00170	db 81 08 00 00
	00		 fild	 DWORD PTR ?m_MSPStandards@CMSP34x0AudioDecoder@@0PAUTStandardDefinition@1@A[ecx+8]
  00176	dc 0d 00 00 00
	00		 fmul	 QWORD PTR __real@4171940000000000
  0017c	dc 35 00 00 00
	00		 fdiv	 QWORD PTR __real@4170000000000000
  00182	e8 00 00 00 00	 call	 __ftol2_sse
  00187	8b 55 f4	 mov	 edx, DWORD PTR _this$[ebp]
  0018a	89 42 20	 mov	 DWORD PTR [edx+32], eax

; 252  :                 m_AudioStandardMinorCarrier = MSP_UNCARRIER_HZ(m_MSPStandards[nIndex].MinorCarrier);

  0018d	8b 45 f8	 mov	 eax, DWORD PTR _nIndex$140664[ebp]
  00190	6b c0 1c	 imul	 eax, 28			; 0000001cH
  00193	db 80 0c 00 00
	00		 fild	 DWORD PTR ?m_MSPStandards@CMSP34x0AudioDecoder@@0PAUTStandardDefinition@1@A[eax+12]
  00199	dc 0d 00 00 00
	00		 fmul	 QWORD PTR __real@4171940000000000
  0019f	dc 35 00 00 00
	00		 fdiv	 QWORD PTR __real@4170000000000000
  001a5	e8 00 00 00 00	 call	 __ftol2_sse
  001aa	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  001ad	89 41 24	 mov	 DWORD PTR [ecx+36], eax
$LN1@SetStandar:

; 253  :             }
; 254  :             nIndex++;

  001b0	8b 55 f8	 mov	 edx, DWORD PTR _nIndex$140664[ebp]
  001b3	83 c2 01	 add	 edx, 1
  001b6	89 55 f8	 mov	 DWORD PTR _nIndex$140664[ebp], edx

; 255  :         }

  001b9	eb 8f		 jmp	 SHORT $LN3@SetStandar
$LN2@SetStandar:

; 256  :     }
; 257  : 
; 258  :     LOG(2,_T("MSPrevG: SetStandardRevG(%d, %d, %d) exit"), standard, videoformat, bWasDetected);

  001bb	8b 45 10	 mov	 eax, DWORD PTR _bWasDetected$[ebp]
  001be	50		 push	 eax
  001bf	8b 4d 0c	 mov	 ecx, DWORD PTR _videoformat$[ebp]
  001c2	51		 push	 ecx
  001c3	8b 55 08	 mov	 edx, DWORD PTR _standard$[ebp]
  001c6	52		 push	 edx
  001c7	68 00 00 00 00	 push	 OFFSET ??_C@_1FE@NFPNNOND@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?0?$AA?5?$AA?$CF?$AAd?$AA?0@
  001cc	6a 02		 push	 2
  001ce	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  001d3	83 c4 14	 add	 esp, 20			; 00000014H

; 259  : }

  001d6	8b e5		 mov	 esp, ebp
  001d8	5d		 pop	 ebp
  001d9	c2 0c 00	 ret	 12			; 0000000cH
$LN28@SetStandar:
  001dc	00 00 00 00	 DD	 $LN17@SetStandar
  001e0	00 00 00 00	 DD	 $LN18@SetStandar
  001e4	00 00 00 00	 DD	 $LN14@SetStandar
  001e8	00 00 00 00	 DD	 $LN19@SetStandar
  001ec	00 00 00 00	 DD	 $LN15@SetStandar
  001f0	00 00 00 00	 DD	 $LN16@SetStandar
$LN27@SetStandar:
  001f4	00		 DB	 0
  001f5	00		 DB	 0
  001f6	00		 DB	 0
  001f7	00		 DB	 0
  001f8	00		 DB	 0
  001f9	01		 DB	 1
  001fa	00		 DB	 0
  001fb	01		 DB	 1
  001fc	00		 DB	 0
  001fd	02		 DB	 2
  001fe	02		 DB	 2
  001ff	02		 DB	 2
  00200	02		 DB	 2
  00201	02		 DB	 2
  00202	02		 DB	 2
  00203	03		 DB	 3
  00204	03		 DB	 3
  00205	04		 DB	 4
  00206	05		 DB	 5
  00207	01		 DB	 1
?SetStandardRevG@CMSP34x0AudioDecoder@@AAEXW4eStandard@1@W4eVideoFormat@@H@Z ENDP ; CMSP34x0AudioDecoder::SetStandardRevG
_TEXT	ENDS
PUBLIC	?InitializeRevG@CMSP34x0AudioDecoder@@AAEXXZ	; CMSP34x0AudioDecoder::InitializeRevG
; Function compile flags: /Odtp
;	COMDAT ?InitializeRevG@CMSP34x0AudioDecoder@@AAEXXZ
_TEXT	SEGMENT
_this$ = -4						; size = 4
?InitializeRevG@CMSP34x0AudioDecoder@@AAEXXZ PROC	; CMSP34x0AudioDecoder::InitializeRevG, COMDAT
; _this$ = ecx

; 135  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 136  :     LOG(2,_T("MSPrevG: InitializeRevG() enter"));

  00007	68 00 00 00 00	 push	 OFFSET ??_C@_1EA@OHGEKOE@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAI?$AAn?$AAi?$AAt?$AAi?$AAa?$AAl?$AAi?$AAz?$AAe?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAn?$AAt?$AAe?$AAr?$AA?$AA@
  0000c	6a 02		 push	 2
  0000e	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00013	83 c4 08	 add	 esp, 8

; 137  :     SetDSPRegister(DSP_WR_I2S1_PRESCALE, 0x1000);

  00016	68 00 10 00 00	 push	 4096			; 00001000H
  0001b	6a 16		 push	 22			; 00000016H
  0001d	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00020	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 138  :     SetDSPRegister(DSP_WR_I2S2_PRESCALE, 0x1000);

  00025	68 00 10 00 00	 push	 4096			; 00001000H
  0002a	6a 12		 push	 18			; 00000012H
  0002c	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0002f	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 139  :     LOG(2,_T("MSPrevG: InitializeRevG() exit"));

  00034	68 00 00 00 00	 push	 OFFSET ??_C@_1DO@FFGOEMAN@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAI?$AAn?$AAi?$AAt?$AAi?$AAa?$AAl?$AAi?$AAz?$AAe?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAx?$AAi?$AAt?$AA?$AA@
  00039	6a 02		 push	 2
  0003b	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00040	83 c4 08	 add	 esp, 8

; 140  : }

  00043	8b e5		 mov	 esp, ebp
  00045	5d		 pop	 ebp
  00046	c3		 ret	 0
?InitializeRevG@CMSP34x0AudioDecoder@@AAEXXZ ENDP	; CMSP34x0AudioDecoder::InitializeRevG
_TEXT	ENDS
PUBLIC	?SetSoundChannelRevG@CMSP34x0AudioDecoder@@AAEXW4eSoundChannel@@@Z ; CMSP34x0AudioDecoder::SetSoundChannelRevG
; Function compile flags: /Odtp
;	COMDAT ?SetSoundChannelRevG@CMSP34x0AudioDecoder@@AAEXW4eSoundChannel@@@Z
_TEXT	SEGMENT
tv141 = -12						; size = 4
_this$ = -8						; size = 4
_source$ = -4						; size = 2
_soundChannel$ = 8					; size = 4
?SetSoundChannelRevG@CMSP34x0AudioDecoder@@AAEXW4eSoundChannel@@@Z PROC ; CMSP34x0AudioDecoder::SetSoundChannelRevG, COMDAT
; _this$ = ecx

; 80   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 0c	 sub	 esp, 12			; 0000000cH
  00006	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 81   :     LOG(2,_T("MSPrevG: SetSoundChannelRevG(%d) enter"), soundChannel);

  00009	8b 45 08	 mov	 eax, DWORD PTR _soundChannel$[ebp]
  0000c	50		 push	 eax
  0000d	68 00 00 00 00	 push	 OFFSET ??_C@_1EO@KCEOAEIN@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?$CJ@
  00012	6a 02		 push	 2
  00014	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00019	83 c4 0c	 add	 esp, 12			; 0000000cH

; 82   : 
; 83   :     //SetDSPRegister(DSP_WR_FMAM_PRESCALE, 0x3000);
; 84   :     SetDSPRegister(DSP_WR_NICAM_PRESCALE, 0x5A00);

  0001c	68 00 5a 00 00	 push	 23040			; 00005a00H
  00021	6a 10		 push	 16			; 00000010H
  00023	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00026	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 85   :     SetDSPRegister(DSP_WR_SCART_PRESCALE, 0x1900);

  0002b	68 00 19 00 00	 push	 6400			; 00001900H
  00030	6a 0d		 push	 13			; 0000000dH
  00032	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00035	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 86   : 
; 87   :     if (m_AudioStandard == MSP34x0_STANDARD_L_NICAM_AM)

  0003a	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0003d	83 79 1c 09	 cmp	 DWORD PTR [ecx+28], 9
  00041	75 11		 jne	 SHORT $LN11@SetSoundCh@4

; 88   :     {
; 89   :         SetDSPRegister(DSP_WR_FMAM_PRESCALE, 0x7c03);

  00043	68 03 7c 00 00	 push	 31747			; 00007c03H
  00048	6a 0e		 push	 14			; 0000000eH
  0004a	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0004d	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 90   :     }
; 91   :     else

  00052	eb 26		 jmp	 SHORT $LN10@SetSoundCh@4
$LN11@SetSoundCh@4:

; 92   :     {
; 93   :         if(soundChannel == SOUNDCHANNEL_MONO)

  00054	83 7d 08 01	 cmp	 DWORD PTR _soundChannel$[ebp], 1
  00058	75 11		 jne	 SHORT $LN9@SetSoundCh@4

; 94   :         {
; 95   :             SetDSPRegister(DSP_WR_FMAM_PRESCALE, 0x3003);

  0005a	68 03 30 00 00	 push	 12291			; 00003003H
  0005f	6a 0e		 push	 14			; 0000000eH
  00061	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00064	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 96   :         }
; 97   :         else

  00069	eb 0f		 jmp	 SHORT $LN10@SetSoundCh@4
$LN9@SetSoundCh@4:

; 98   :         {
; 99   :             SetDSPRegister(DSP_WR_FMAM_PRESCALE, 0x2403); //  0x3000);

  0006b	68 03 24 00 00	 push	 9219			; 00002403H
  00070	6a 0e		 push	 14			; 0000000eH
  00072	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00075	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister
$LN10@SetSoundCh@4:

; 100  :         }
; 101  :     }
; 102  : 
; 103  :     WORD source = 0;

  0007a	33 d2		 xor	 edx, edx
  0007c	66 89 55 fc	 mov	 WORD PTR _source$[ebp], dx

; 104  :     switch (soundChannel)

  00080	8b 45 08	 mov	 eax, DWORD PTR _soundChannel$[ebp]
  00083	89 45 f4	 mov	 DWORD PTR tv141[ebp], eax
  00086	8b 4d f4	 mov	 ecx, DWORD PTR tv141[ebp]
  00089	83 e9 01	 sub	 ecx, 1
  0008c	89 4d f4	 mov	 DWORD PTR tv141[ebp], ecx
  0008f	83 7d f4 03	 cmp	 DWORD PTR tv141[ebp], 3
  00093	77 34		 ja	 SHORT $LN6@SetSoundCh@4
  00095	8b 55 f4	 mov	 edx, DWORD PTR tv141[ebp]
  00098	ff 24 95 00 00
	00 00		 jmp	 DWORD PTR $LN14@SetSoundCh@4[edx*4]
$LN5@SetSoundCh@4:

; 105  :     {
; 106  :     case SOUNDCHANNEL_MONO:
; 107  :         source = 0x20;

  0009f	b8 20 00 00 00	 mov	 eax, 32			; 00000020H
  000a4	66 89 45 fc	 mov	 WORD PTR _source$[ebp], ax

; 108  :         break;

  000a8	eb 1f		 jmp	 SHORT $LN6@SetSoundCh@4
$LN4@SetSoundCh@4:

; 109  :     case SOUNDCHANNEL_STEREO:
; 110  :         source = 0x120;

  000aa	b9 20 01 00 00	 mov	 ecx, 288		; 00000120H
  000af	66 89 4d fc	 mov	 WORD PTR _source$[ebp], cx

; 111  :         break;

  000b3	eb 14		 jmp	 SHORT $LN6@SetSoundCh@4
$LN3@SetSoundCh@4:

; 112  :     case SOUNDCHANNEL_LANGUAGE1:
; 113  :         // if not bilingual then stereo is automatically enabled if available
; 114  :         source = 0x320;

  000b5	ba 20 03 00 00	 mov	 edx, 800		; 00000320H
  000ba	66 89 55 fc	 mov	 WORD PTR _source$[ebp], dx

; 115  :         break;

  000be	eb 09		 jmp	 SHORT $LN6@SetSoundCh@4
$LN2@SetSoundCh@4:

; 116  :     case SOUNDCHANNEL_LANGUAGE2:
; 117  :         // if not bilingual then stereo is automatically enabled if available
; 118  :         source = 0x420;

  000c0	b8 20 04 00 00	 mov	 eax, 1056		; 00000420H
  000c5	66 89 45 fc	 mov	 WORD PTR _source$[ebp], ax
$LN6@SetSoundCh@4:

; 119  :         break;
; 120  :     default:
; 121  :         break;
; 122  :     }
; 123  : 
; 124  :     SetDSPRegister(DSP_WR_LDSPK_SOURCE, source);

  000c9	0f b7 4d fc	 movzx	 ecx, WORD PTR _source$[ebp]
  000cd	51		 push	 ecx
  000ce	6a 08		 push	 8
  000d0	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  000d3	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 125  :     SetDSPRegister(DSP_WR_HEADPH_SOURCE, source);

  000d8	0f b7 55 fc	 movzx	 edx, WORD PTR _source$[ebp]
  000dc	52		 push	 edx
  000dd	6a 09		 push	 9
  000df	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  000e2	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 126  :     SetDSPRegister(DSP_WR_SCART1_SOURCE, source);

  000e7	0f b7 45 fc	 movzx	 eax, WORD PTR _source$[ebp]
  000eb	50		 push	 eax
  000ec	6a 0a		 push	 10			; 0000000aH
  000ee	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  000f1	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 127  :     SetDSPRegister(DSP_WR_SCART2_SOURCE, source);

  000f6	0f b7 4d fc	 movzx	 ecx, WORD PTR _source$[ebp]
  000fa	51		 push	 ecx
  000fb	6a 41		 push	 65			; 00000041H
  000fd	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00100	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 128  :     SetDSPRegister(DSP_WR_I2S_SOURCE, source);

  00105	0f b7 55 fc	 movzx	 edx, WORD PTR _source$[ebp]
  00109	52		 push	 edx
  0010a	6a 0b		 push	 11			; 0000000bH
  0010c	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0010f	e8 00 00 00 00	 call	 ?SetDSPRegister@CMSP34x0@@IAEXW4eDSPWriteRegister@1@G@Z ; CMSP34x0::SetDSPRegister

; 129  : 
; 130  :     LOG(2,_T("MSPrevG: SetSoundChannelRevG(%d) exit"), soundChannel);

  00114	8b 45 08	 mov	 eax, DWORD PTR _soundChannel$[ebp]
  00117	50		 push	 eax
  00118	68 00 00 00 00	 push	 OFFSET ??_C@_1EM@FMAGLJBO@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAS?$AAe?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CF?$AAd?$AA?$CJ@
  0011d	6a 02		 push	 2
  0011f	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00124	83 c4 0c	 add	 esp, 12			; 0000000cH

; 131  : }

  00127	8b e5		 mov	 esp, ebp
  00129	5d		 pop	 ebp
  0012a	c2 04 00	 ret	 4
  0012d	8d 49 00	 npad	 3
$LN14@SetSoundCh@4:
  00130	00 00 00 00	 DD	 $LN5@SetSoundCh@4
  00134	00 00 00 00	 DD	 $LN4@SetSoundCh@4
  00138	00 00 00 00	 DD	 $LN3@SetSoundCh@4
  0013c	00 00 00 00	 DD	 $LN2@SetSoundCh@4
?SetSoundChannelRevG@CMSP34x0AudioDecoder@@AAEXW4eSoundChannel@@@Z ENDP ; CMSP34x0AudioDecoder::SetSoundChannelRevG
_TEXT	ENDS
PUBLIC	?DetectStandardRevG@CMSP34x0AudioDecoder@@AAE?AW4eStandard@1@XZ ; CMSP34x0AudioDecoder::DetectStandardRevG
; Function compile flags: /Odtp
;	COMDAT ?DetectStandardRevG@CMSP34x0AudioDecoder@@AAE?AW4eStandard@1@XZ
_TEXT	SEGMENT
_this$ = -8						; size = 4
_Result$ = -4						; size = 2
?DetectStandardRevG@CMSP34x0AudioDecoder@@AAE?AW4eStandard@1@XZ PROC ; CMSP34x0AudioDecoder::DetectStandardRevG, COMDAT
; _this$ = ecx

; 62   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 08	 sub	 esp, 8
  00006	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 63   :     LOG(2,_T("MSPrevG: DetectStandardRevG() enter"));

  00009	68 00 00 00 00	 push	 OFFSET ??_C@_1EI@EHKCCKLE@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?5?$AAe?$AAn@
  0000e	6a 02		 push	 2
  00010	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00015	83 c4 08	 add	 esp, 8

; 64   : 
; 65   :     if(m_MSPVersion != MSPVersionG)

  00018	8b 45 f8	 mov	 eax, DWORD PTR _this$[ebp]
  0001b	83 78 64 02	 cmp	 DWORD PTR [eax+100], 2
  0001f	74 04		 je	 SHORT $LN2@DetectStan@2

; 66   :     {
; 67   :         return MSP34x0_STANDARD_NONE;

  00021	33 c0		 xor	 eax, eax
  00023	eb 39		 jmp	 SHORT $LN3@DetectStan@2
$LN2@DetectStan@2:

; 68   :     }
; 69   :     WORD Result = GetDEMRegister(DEM_RD_STANDARD_RESULT);

  00025	6a 7e		 push	 126			; 0000007eH
  00027	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0002a	e8 00 00 00 00	 call	 ?GetDEMRegister@CMSP34x0@@IAEGW4eDEMReadRegister@1@@Z ; CMSP34x0::GetDEMRegister
  0002f	66 89 45 fc	 mov	 WORD PTR _Result$[ebp], ax

; 70   :     if (Result >= 0x07ff)

  00033	0f b7 4d fc	 movzx	 ecx, WORD PTR _Result$[ebp]
  00037	81 f9 ff 07 00
	00		 cmp	 ecx, 2047		; 000007ffH
  0003d	7c 07		 jl	 SHORT $LN1@DetectStan@2

; 71   :     {
; 72   :         return MSP34x0_STANDARD_AUTODETECTION_IN_PROGRESS;

  0003f	b8 ff 07 00 00	 mov	 eax, 2047		; 000007ffH
  00044	eb 18		 jmp	 SHORT $LN3@DetectStan@2
$LN1@DetectStan@2:

; 73   :     }
; 74   : 
; 75   :     LOG(2,_T("MSPrevG: DetectStandardRevG()=%d exit"), Result);

  00046	0f b7 55 fc	 movzx	 edx, WORD PTR _Result$[ebp]
  0004a	52		 push	 edx
  0004b	68 00 00 00 00	 push	 OFFSET ??_C@_1EM@JHBJLLND@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAt?$AAa?$AAn?$AAd?$AAa?$AAr?$AAd?$AAR?$AAe?$AAv?$AAG?$AA?$CI?$AA?$CJ?$AA?$DN?$AA?$CF?$AAd@
  00050	6a 02		 push	 2
  00052	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00057	83 c4 0c	 add	 esp, 12			; 0000000cH

; 76   :     return (eStandard)Result;

  0005a	0f b7 45 fc	 movzx	 eax, WORD PTR _Result$[ebp]
$LN3@DetectStan@2:

; 77   : }

  0005e	8b e5		 mov	 esp, ebp
  00060	5d		 pop	 ebp
  00061	c3		 ret	 0
?DetectStandardRevG@CMSP34x0AudioDecoder@@AAE?AW4eStandard@1@XZ ENDP ; CMSP34x0AudioDecoder::DetectStandardRevG
_TEXT	ENDS
PUBLIC	?DetectSoundChannelsRevG@CMSP34x0AudioDecoder@@AAE?AW4eSupportedSoundChannels@@XZ ; CMSP34x0AudioDecoder::DetectSoundChannelsRevG
; Function compile flags: /Odtp
;	COMDAT ?DetectSoundChannelsRevG@CMSP34x0AudioDecoder@@AAE?AW4eSupportedSoundChannels@@XZ
_TEXT	SEGMENT
_this$ = -12						; size = 4
_supported$ = -8					; size = 4
_val$ = -4						; size = 4
?DetectSoundChannelsRevG@CMSP34x0AudioDecoder@@AAE?AW4eSupportedSoundChannels@@XZ PROC ; CMSP34x0AudioDecoder::DetectSoundChannelsRevG, COMDAT
; _this$ = ecx

; 42   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 0c	 sub	 esp, 12			; 0000000cH
  00006	89 4d f4	 mov	 DWORD PTR _this$[ebp], ecx

; 43   :     LOG(2,_T("MSPrevG: DetectSoundChannelsRevG() enter"));

  00009	68 00 00 00 00	 push	 OFFSET ??_C@_1FC@GCCPIEGM@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAs?$AAR?$AAe?$AAv?$AAG@
  0000e	6a 02		 push	 2
  00010	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00015	83 c4 08	 add	 esp, 8

; 44   : 
; 45   :     int supported = SUPPORTEDSOUNDCHANNEL_MONO;

  00018	c7 45 f8 01 00
	00 00		 mov	 DWORD PTR _supported$[ebp], 1

; 46   :     int val = GetDEMRegister(DEM_RD_STATUS);

  0001f	68 00 02 00 00	 push	 512			; 00000200H
  00024	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  00027	e8 00 00 00 00	 call	 ?GetDEMRegister@CMSP34x0@@IAEGW4eDEMReadRegister@1@@Z ; CMSP34x0::GetDEMRegister
  0002c	0f b7 c0	 movzx	 eax, ax
  0002f	89 45 fc	 mov	 DWORD PTR _val$[ebp], eax

; 47   :     if (val & 0x0040)

  00032	8b 4d fc	 mov	 ecx, DWORD PTR _val$[ebp]
  00035	83 e1 40	 and	 ecx, 64			; 00000040H
  00038	74 09		 je	 SHORT $LN2@DetectSoun

; 48   :     {
; 49   :         supported |= SUPPORTEDSOUNDCHANNEL_STEREO;

  0003a	8b 55 f8	 mov	 edx, DWORD PTR _supported$[ebp]
  0003d	83 ca 02	 or	 edx, 2
  00040	89 55 f8	 mov	 DWORD PTR _supported$[ebp], edx
$LN2@DetectSoun:

; 50   :     }
; 51   :     if (val & 0x0180)

  00043	8b 45 fc	 mov	 eax, DWORD PTR _val$[ebp]
  00046	25 80 01 00 00	 and	 eax, 384		; 00000180H
  0004b	74 09		 je	 SHORT $LN1@DetectSoun

; 52   :     {
; 53   :         supported |= SUPPORTEDSOUNDCHANNEL_LANG1 | SUPPORTEDSOUNDCHANNEL_LANG2;

  0004d	8b 4d f8	 mov	 ecx, DWORD PTR _supported$[ebp]
  00050	83 c9 0c	 or	 ecx, 12			; 0000000cH
  00053	89 4d f8	 mov	 DWORD PTR _supported$[ebp], ecx
$LN1@DetectSoun:

; 54   :     }
; 55   : 
; 56   :     LOG(2,_T("MSPrevG: DetectSoundChannelsRevG()=%d exit"), supported);

  00056	8b 55 f8	 mov	 edx, DWORD PTR _supported$[ebp]
  00059	52		 push	 edx
  0005a	68 00 00 00 00	 push	 OFFSET ??_C@_1FG@GCDGGIIO@?$AAM?$AAS?$AAP?$AAr?$AAe?$AAv?$AAG?$AA?3?$AA?5?$AAD?$AAe?$AAt?$AAe?$AAc?$AAt?$AAS?$AAo?$AAu?$AAn?$AAd?$AAC?$AAh?$AAa?$AAn?$AAn?$AAe?$AAl?$AAs?$AAR?$AAe?$AAv?$AAG@
  0005f	6a 02		 push	 2
  00061	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00066	83 c4 0c	 add	 esp, 12			; 0000000cH

; 57   :     return (eSupportedSoundChannels)supported;

  00069	8b 45 f8	 mov	 eax, DWORD PTR _supported$[ebp]

; 58   : }

  0006c	8b e5		 mov	 esp, ebp
  0006e	5d		 pop	 ebp
  0006f	c3		 ret	 0
?DetectSoundChannelsRevG@CMSP34x0AudioDecoder@@AAE?AW4eSupportedSoundChannels@@XZ ENDP ; CMSP34x0AudioDecoder::DetectSoundChannelsRevG
END
