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

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

INCLUDELIB OLDNAMES

PUBLIC	?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@EE@Z ; CTDA9887Ex::SetModes
PUBLIC	?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@PAUTTDA9887Modes@@@Z ; CTDA9887Ex::SetModes
PUBLIC	?SetModes@CTDA9887Ex@@UAEXPAUTTDA9887FormatModes@@@Z ; CTDA9887Ex::SetModes
PUBLIC	?TunerSet@CTDA9887Ex@@UAEXHW4eTDA9887Format@@@Z	; CTDA9887Ex::TunerSet
PUBLIC	?TunerSet@CTDA9887Ex@@UAEXHW4eVideoFormat@@@Z	; CTDA9887Ex::TunerSet
PUBLIC	??_R4CTDA9887Ex@@6B@				; CTDA9887Ex::`RTTI Complete Object Locator'
PUBLIC	??_R3CTDA9887Ex@@8				; CTDA9887Ex::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2CTDA9887Ex@@8				; CTDA9887Ex::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@CTDA9887Ex@@8			; CTDA9887Ex::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVCTDA9887Ex@@@8				; CTDA9887Ex `RTTI Type Descriptor'
PUBLIC	?TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z ; CTDA9887Pinnacle::TunerSet
PUBLIC	?Init@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z	; CTDA9887Pinnacle::Init
PUBLIC	??_R4CTDA9887Pinnacle@@6B@			; CTDA9887Pinnacle::`RTTI Complete Object Locator'
PUBLIC	??_R3CTDA9887Pinnacle@@8			; CTDA9887Pinnacle::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2CTDA9887Pinnacle@@8			; CTDA9887Pinnacle::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@CTDA9887Pinnacle@@8		; CTDA9887Pinnacle::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVCTDA9887Pinnacle@@@8			; CTDA9887Pinnacle `RTTI Type Descriptor'
PUBLIC	?GetAFCStatus@CTDA9887@@UAE?AW4eTunerAFCStatus@@AAJ@Z ; CTDA9887::GetAFCStatus
PUBLIC	?Detect@CTDA9887@@UAEHXZ			; CTDA9887::Detect
PUBLIC	?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z	; CTDA9887::TunerSet
PUBLIC	?Init@CTDA9887@@UAEXHW4eVideoFormat@@@Z		; CTDA9887::Init
PUBLIC	?SetDetectedI2CAddress@CTDA9887@@UAEHPAVCI2CBus@@@Z ; CTDA9887::SetDetectedI2CAddress
PUBLIC	??_R4CTDA9887@@6B@				; CTDA9887::`RTTI Complete Object Locator'
PUBLIC	??_R3CTDA9887@@8				; CTDA9887::`RTTI Class Hierarchy Descriptor'
PUBLIC	??_R2CTDA9887@@8				; CTDA9887::`RTTI Base Class Array'
PUBLIC	??_R1A@?0A@EA@CTDA9887@@8			; CTDA9887::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC	??_R0?AVCTDA9887@@@8				; CTDA9887 `RTTI Type Descriptor'
PUBLIC	??_GCTDA9887@@UAEPAXI@Z				; CTDA9887::`scalar deleting destructor'
PUBLIC	??_GCTDA9887Pinnacle@@UAEPAXI@Z			; CTDA9887Pinnacle::`scalar deleting destructor'
PUBLIC	?GetDefaultAddress@CTDA9887@@MBEEXZ		; CTDA9887::GetDefaultAddress
PUBLIC	??_GCTDA9887Ex@@UAEPAXI@Z			; CTDA9887Ex::`scalar deleting destructor'
PUBLIC	??_C@_1EE@DBBIILEN@?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA5?$AA?1?$AA6?$AA?1?$AA7?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2@ ; `string'
PUBLIC	??_C@_1FG@FCOIMGFK@?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA5?$AA?1?$AA6?$AA?1?$AA7?$AA?5?$AAP?$AAi?$AAn?$AAn?$AAa?$AAc?$AAl?$AAe?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF@ ; `string'
PUBLIC	?k_TDAStandardtSettings@CTDA9887Ex@@1QBUTTDABytes@1@B ; CTDA9887Ex::k_TDAStandardtSettings
PUBLIC	??_C@_1FC@PMBBONKB@?$AAC?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA7?$AAE?$AAx?$AA?3?$AA?5?$AAU?$AAn?$AAs?$AAu?$AAp?$AAp?$AAo?$AAr?$AAt?$AAe?$AAd?$AA?5?$AAv?$AAi?$AAd?$AAe?$AAo?$AA?5?$AAf?$AAo@ ; `string'
PUBLIC	??_C@_1EC@GDOICCE@?$AAC?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA7?$AAE?$AAx?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx@ ; `string'
PUBLIC	??_7CTDA9887@@6B@				; CTDA9887::`vftable'
PUBLIC	??_7CTDA9887Pinnacle@@6B@			; CTDA9887Pinnacle::`vftable'
PUBLIC	??_7CTDA9887Ex@@6B@				; CTDA9887Ex::`vftable'
EXTRN	??_ECTDA9887@@UAEPAXI@Z:PROC			; CTDA9887::`vector deleting destructor'
EXTRN	??_ECTDA9887Pinnacle@@UAEPAXI@Z:PROC		; CTDA9887Pinnacle::`vector deleting destructor'
EXTRN	??_ECTDA9887Ex@@UAEPAXI@Z:PROC			; CTDA9887Ex::`vector deleting destructor'
;	COMDAT ?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA
_BSS	SEGMENT
?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA DB 05H DUP (?) ; `CTDA9887::TunerSet'::`2'::tda9887set_pal_bg
_BSS	ENDS
;	COMDAT ?tda9887set_pal_i@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA
_BSS	SEGMENT
?tda9887set_pal_i@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA DB 05H DUP (?) ; `CTDA9887::TunerSet'::`2'::tda9887set_pal_i
_BSS	ENDS
;	COMDAT ?tda9887set_pal_dk@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA
_BSS	SEGMENT
?tda9887set_pal_dk@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA DB 05H DUP (?) ; `CTDA9887::TunerSet'::`2'::tda9887set_pal_dk
_BSS	ENDS
;	COMDAT ?tda9887set_pal_l@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA
_BSS	SEGMENT
?tda9887set_pal_l@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA DB 05H DUP (?) ; `CTDA9887::TunerSet'::`2'::tda9887set_pal_l
_BSS	ENDS
;	COMDAT ?tda9887set_ntsc@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA
_BSS	SEGMENT
?tda9887set_ntsc@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA DB 05H DUP (?) ; `CTDA9887::TunerSet'::`2'::tda9887set_ntsc
_BSS	ENDS
;	COMDAT ?tda9887set_ntsc_jp@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA
_BSS	SEGMENT
?tda9887set_ntsc_jp@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA DB 05H DUP (?) ; `CTDA9887::TunerSet'::`2'::tda9887set_ntsc_jp
_BSS	ENDS
;	COMDAT ?tda9887set_fm_radio@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA
_BSS	SEGMENT
?tda9887set_fm_radio@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA DB 05H DUP (?) ; `CTDA9887::TunerSet'::`2'::tda9887set_fm_radio
;	COMDAT ??_7CTDA9887Ex@@6B@
CONST	SEGMENT
??_7CTDA9887Ex@@6B@ DD FLAT:??_R4CTDA9887Ex@@6B@	; CTDA9887Ex::`vftable'
	DD	FLAT:??_ECTDA9887Ex@@UAEPAXI@Z
	DD	FLAT:?GetDefaultAddress@CTDA9887@@MBEEXZ
	DD	FLAT:?SetDetectedI2CAddress@IExternalIFDemodulator@@UAEHPAVCI2CBus@@PAEI@Z
	DD	FLAT:?SetDetectedI2CAddress@CTDA9887@@UAEHPAVCI2CBus@@@Z
	DD	FLAT:?Init@CTDA9887@@UAEXHW4eVideoFormat@@@Z
	DD	FLAT:?TunerSet@CTDA9887Ex@@UAEXHW4eVideoFormat@@@Z
	DD	FLAT:?Detect@CTDA9887@@UAEHXZ
	DD	FLAT:?GetAFCStatus@CTDA9887@@UAE?AW4eTunerAFCStatus@@AAJ@Z
	DD	FLAT:?TunerSet@CTDA9887Ex@@UAEXHW4eTDA9887Format@@@Z
	DD	FLAT:?SetModes@CTDA9887Ex@@UAEXPAUTTDA9887FormatModes@@@Z
	DD	FLAT:?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@PAUTTDA9887Modes@@@Z
	DD	FLAT:?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@EE@Z
CONST	ENDS
;	COMDAT ??_R4CTDA9887Ex@@6B@
rdata$r	SEGMENT
??_R4CTDA9887Ex@@6B@ DD 00H				; CTDA9887Ex::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AVCTDA9887Ex@@@8
	DD	FLAT:??_R3CTDA9887Ex@@8
rdata$r	ENDS
;	COMDAT ??_R3CTDA9887Ex@@8
rdata$r	SEGMENT
??_R3CTDA9887Ex@@8 DD 00H				; CTDA9887Ex::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	04H
	DD	FLAT:??_R2CTDA9887Ex@@8
rdata$r	ENDS
;	COMDAT ??_R2CTDA9887Ex@@8
rdata$r	SEGMENT
??_R2CTDA9887Ex@@8 DD FLAT:??_R1A@?0A@EA@CTDA9887Ex@@8	; CTDA9887Ex::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@CTDA9887@@8
	DD	FLAT:??_R1A@?0A@EA@IExternalIFDemodulator@@8
	DD	FLAT:??_R1A@?0A@EA@CI2CDevice@@8
rdata$r	ENDS
;	COMDAT ??_R1A@?0A@EA@CTDA9887Ex@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@CTDA9887Ex@@8 DD FLAT:??_R0?AVCTDA9887Ex@@@8 ; CTDA9887Ex::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	03H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3CTDA9887Ex@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVCTDA9887Ex@@@8
_DATA	SEGMENT
??_R0?AVCTDA9887Ex@@@8 DD FLAT:??_7type_info@@6B@	; CTDA9887Ex `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVCTDA9887Ex@@', 00H
_DATA	ENDS
;	COMDAT ??_7CTDA9887Pinnacle@@6B@
CONST	SEGMENT
??_7CTDA9887Pinnacle@@6B@ DD FLAT:??_R4CTDA9887Pinnacle@@6B@ ; CTDA9887Pinnacle::`vftable'
	DD	FLAT:??_ECTDA9887Pinnacle@@UAEPAXI@Z
	DD	FLAT:?GetDefaultAddress@CTDA9887@@MBEEXZ
	DD	FLAT:?SetDetectedI2CAddress@IExternalIFDemodulator@@UAEHPAVCI2CBus@@PAEI@Z
	DD	FLAT:?SetDetectedI2CAddress@CTDA9887@@UAEHPAVCI2CBus@@@Z
	DD	FLAT:?Init@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z
	DD	FLAT:?TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z
	DD	FLAT:?Detect@CTDA9887@@UAEHXZ
	DD	FLAT:?GetAFCStatus@CTDA9887@@UAE?AW4eTunerAFCStatus@@AAJ@Z
CONST	ENDS
;	COMDAT ??_R4CTDA9887Pinnacle@@6B@
rdata$r	SEGMENT
??_R4CTDA9887Pinnacle@@6B@ DD 00H			; CTDA9887Pinnacle::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AVCTDA9887Pinnacle@@@8
	DD	FLAT:??_R3CTDA9887Pinnacle@@8
rdata$r	ENDS
;	COMDAT ??_R3CTDA9887Pinnacle@@8
rdata$r	SEGMENT
??_R3CTDA9887Pinnacle@@8 DD 00H				; CTDA9887Pinnacle::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	04H
	DD	FLAT:??_R2CTDA9887Pinnacle@@8
rdata$r	ENDS
;	COMDAT ??_R2CTDA9887Pinnacle@@8
rdata$r	SEGMENT
??_R2CTDA9887Pinnacle@@8 DD FLAT:??_R1A@?0A@EA@CTDA9887Pinnacle@@8 ; CTDA9887Pinnacle::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@CTDA9887@@8
	DD	FLAT:??_R1A@?0A@EA@IExternalIFDemodulator@@8
	DD	FLAT:??_R1A@?0A@EA@CI2CDevice@@8
rdata$r	ENDS
;	COMDAT ??_R1A@?0A@EA@CTDA9887Pinnacle@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@CTDA9887Pinnacle@@8 DD FLAT:??_R0?AVCTDA9887Pinnacle@@@8 ; CTDA9887Pinnacle::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	03H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3CTDA9887Pinnacle@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVCTDA9887Pinnacle@@@8
_DATA	SEGMENT
??_R0?AVCTDA9887Pinnacle@@@8 DD FLAT:??_7type_info@@6B@	; CTDA9887Pinnacle `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVCTDA9887Pinnacle@@', 00H
_DATA	ENDS
;	COMDAT ??_7CTDA9887@@6B@
CONST	SEGMENT
??_7CTDA9887@@6B@ DD FLAT:??_R4CTDA9887@@6B@		; CTDA9887::`vftable'
	DD	FLAT:??_ECTDA9887@@UAEPAXI@Z
	DD	FLAT:?GetDefaultAddress@CTDA9887@@MBEEXZ
	DD	FLAT:?SetDetectedI2CAddress@IExternalIFDemodulator@@UAEHPAVCI2CBus@@PAEI@Z
	DD	FLAT:?SetDetectedI2CAddress@CTDA9887@@UAEHPAVCI2CBus@@@Z
	DD	FLAT:?Init@CTDA9887@@UAEXHW4eVideoFormat@@@Z
	DD	FLAT:?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z
	DD	FLAT:?Detect@CTDA9887@@UAEHXZ
	DD	FLAT:?GetAFCStatus@CTDA9887@@UAE?AW4eTunerAFCStatus@@AAJ@Z
CONST	ENDS
;	COMDAT ??_R4CTDA9887@@6B@
rdata$r	SEGMENT
??_R4CTDA9887@@6B@ DD 00H				; CTDA9887::`RTTI Complete Object Locator'
	DD	00H
	DD	00H
	DD	FLAT:??_R0?AVCTDA9887@@@8
	DD	FLAT:??_R3CTDA9887@@8
rdata$r	ENDS
;	COMDAT ??_R3CTDA9887@@8
rdata$r	SEGMENT
??_R3CTDA9887@@8 DD 00H					; CTDA9887::`RTTI Class Hierarchy Descriptor'
	DD	00H
	DD	03H
	DD	FLAT:??_R2CTDA9887@@8
rdata$r	ENDS
;	COMDAT ??_R2CTDA9887@@8
rdata$r	SEGMENT
??_R2CTDA9887@@8 DD FLAT:??_R1A@?0A@EA@CTDA9887@@8	; CTDA9887::`RTTI Base Class Array'
	DD	FLAT:??_R1A@?0A@EA@IExternalIFDemodulator@@8
	DD	FLAT:??_R1A@?0A@EA@CI2CDevice@@8
rdata$r	ENDS
;	COMDAT ??_R1A@?0A@EA@CTDA9887@@8
rdata$r	SEGMENT
??_R1A@?0A@EA@CTDA9887@@8 DD FLAT:??_R0?AVCTDA9887@@@8	; CTDA9887::`RTTI Base Class Descriptor at (0,-1,0,64)'
	DD	02H
	DD	00H
	DD	0ffffffffH
	DD	00H
	DD	040H
	DD	FLAT:??_R3CTDA9887@@8
rdata$r	ENDS
;	COMDAT ??_R0?AVCTDA9887@@@8
_DATA	SEGMENT
??_R0?AVCTDA9887@@@8 DD FLAT:??_7type_info@@6B@		; CTDA9887 `RTTI Type Descriptor'
	DD	00H
	DB	'.?AVCTDA9887@@', 00H
_DATA	ENDS
;	COMDAT ??_C@_1EC@GDOICCE@?$AAC?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA7?$AAE?$AAx?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx@
CONST	SEGMENT
??_C@_1EC@GDOICCE@?$AAC?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA7?$AAE?$AAx?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx@ DB 'C'
	DB	00H, 'T', 00H, 'D', 00H, 'A', 00H, '9', 00H, '8', 00H, '8', 00H
	DB	'7', 00H, 'E', 00H, 'x', 00H, ':', 00H, ' ', 00H, '0', 00H, 'x'
	DB	00H, '%', 00H, '0', 00H, '2', 00H, 'x', 00H, ' ', 00H, '0', 00H
	DB	'x', 00H, '%', 00H, '0', 00H, '2', 00H, 'x', 00H, ' ', 00H, '0'
	DB	00H, 'x', 00H, '%', 00H, '0', 00H, '2', 00H, 'x', 00H, 00H, 00H ; `string'
CONST	ENDS
;	COMDAT ??_C@_1FC@PMBBONKB@?$AAC?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA7?$AAE?$AAx?$AA?3?$AA?5?$AAU?$AAn?$AAs?$AAu?$AAp?$AAp?$AAo?$AAr?$AAt?$AAe?$AAd?$AA?5?$AAv?$AAi?$AAd?$AAe?$AAo?$AA?5?$AAf?$AAo@
CONST	SEGMENT
??_C@_1FC@PMBBONKB@?$AAC?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA7?$AAE?$AAx?$AA?3?$AA?5?$AAU?$AAn?$AAs?$AAu?$AAp?$AAp?$AAo?$AAr?$AAt?$AAe?$AAd?$AA?5?$AAv?$AAi?$AAd?$AAe?$AAo?$AA?5?$AAf?$AAo@ DB 'C'
	DB	00H, 'T', 00H, 'D', 00H, 'A', 00H, '9', 00H, '8', 00H, '8', 00H
	DB	'7', 00H, 'E', 00H, 'x', 00H, ':', 00H, ' ', 00H, 'U', 00H, 'n'
	DB	00H, 's', 00H, 'u', 00H, 'p', 00H, 'p', 00H, 'o', 00H, 'r', 00H
	DB	't', 00H, 'e', 00H, 'd', 00H, ' ', 00H, 'v', 00H, 'i', 00H, 'd'
	DB	00H, 'e', 00H, 'o', 00H, ' ', 00H, 'f', 00H, 'o', 00H, 'r', 00H
	DB	'm', 00H, 'a', 00H, 't', 00H, ':', 00H, ' ', 00H, '%', 00H, 'u'
	DB	00H, 00H, 00H				; `string'
CONST	ENDS
;	COMDAT ??_C@_1FG@FCOIMGFK@?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA5?$AA?1?$AA6?$AA?1?$AA7?$AA?5?$AAP?$AAi?$AAn?$AAn?$AAa?$AAc?$AAl?$AAe?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF@
CONST	SEGMENT
??_C@_1FG@FCOIMGFK@?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA5?$AA?1?$AA6?$AA?1?$AA7?$AA?5?$AAP?$AAi?$AAn?$AAn?$AAa?$AAc?$AAl?$AAe?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF@ DB 'T'
	DB	00H, 'D', 00H, 'A', 00H, '9', 00H, '8', 00H, '8', 00H, '5', 00H
	DB	'/', 00H, '6', 00H, '/', 00H, '7', 00H, ' ', 00H, 'P', 00H, 'i'
	DB	00H, 'n', 00H, 'n', 00H, 'a', 00H, 'c', 00H, 'l', 00H, 'e', 00H
	DB	':', 00H, ' ', 00H, '0', 00H, 'x', 00H, '%', 00H, '0', 00H, '2'
	DB	00H, 'x', 00H, ' ', 00H, '0', 00H, 'x', 00H, '%', 00H, '0', 00H
	DB	'2', 00H, 'x', 00H, ' ', 00H, '0', 00H, 'x', 00H, '%', 00H, '0'
	DB	00H, '2', 00H, 'x', 00H, 00H, 00H		; `string'
CONST	ENDS
;	COMDAT ??_C@_1EE@DBBIILEN@?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA5?$AA?1?$AA6?$AA?1?$AA7?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2@
CONST	SEGMENT
??_C@_1EE@DBBIILEN@?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA5?$AA?1?$AA6?$AA?1?$AA7?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2@ DB 'T'
	DB	00H, 'D', 00H, 'A', 00H, '9', 00H, '8', 00H, '8', 00H, '5', 00H
	DB	'/', 00H, '6', 00H, '/', 00H, '7', 00H, ':', 00H, ' ', 00H, '0'
	DB	00H, 'x', 00H, '%', 00H, '0', 00H, '2', 00H, 'x', 00H, ' ', 00H
	DB	'0', 00H, 'x', 00H, '%', 00H, '0', 00H, '2', 00H, 'x', 00H, ' '
	DB	00H, '0', 00H, 'x', 00H, '%', 00H, '0', 00H, '2', 00H, 'x', 00H
	DB	00H, 00H					; `string'
?k_TDAStandardtSettings@CTDA9887Ex@@1QBUTTDABytes@1@B DB 0d4H ; CTDA9887Ex::k_TDAStandardtSettings
	DB	070H
	DB	09H
	DB	0d4H
	DB	070H
	DB	0aH
	DB	0d4H
	DB	070H
	DB	0fH
	DB	0d4H
	DB	030H
	DB	04H
	DB	0c4H
	DB	010H
	DB	0bH
	DB	0d4H
	DB	070H
	DB	0fH
	DB	0d4H
	DB	070H
	DB	044H
	DB	0d4H
	DB	070H
	DB	040H
	DB	0ccH
	DB	030H
	DB	01dH
PUBLIC	?SetBit@CTDA9887Ex@@IAEXAAEEH@Z			; CTDA9887Ex::SetBit
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\tda9887.cpp
;	COMDAT ?SetBit@CTDA9887Ex@@IAEXAAEEH@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_bits$ = 8						; size = 4
_bit$ = 12						; size = 1
_set$ = 16						; size = 4
?SetBit@CTDA9887Ex@@IAEXAAEEH@Z PROC			; CTDA9887Ex::SetBit, COMDAT
; _this$ = ecx

; 615  : {

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

; 616  :     if (set)

  00007	83 7d 10 00	 cmp	 DWORD PTR _set$[ebp], 0
  0000b	74 13		 je	 SHORT $LN2@SetBit

; 617  :     {
; 618  :         bits |= bit;

  0000d	0f b6 45 0c	 movzx	 eax, BYTE PTR _bit$[ebp]
  00011	8b 4d 08	 mov	 ecx, DWORD PTR _bits$[ebp]
  00014	0f b6 11	 movzx	 edx, BYTE PTR [ecx]
  00017	0b d0		 or	 edx, eax
  00019	8b 45 08	 mov	 eax, DWORD PTR _bits$[ebp]
  0001c	88 10		 mov	 BYTE PTR [eax], dl

; 619  :     }
; 620  :     else

  0001e	eb 13		 jmp	 SHORT $LN3@SetBit
$LN2@SetBit:

; 621  :     {
; 622  :         bits &= ~bit;

  00020	0f b6 4d 0c	 movzx	 ecx, BYTE PTR _bit$[ebp]
  00024	f7 d1		 not	 ecx
  00026	8b 55 08	 mov	 edx, DWORD PTR _bits$[ebp]
  00029	0f b6 02	 movzx	 eax, BYTE PTR [edx]
  0002c	23 c1		 and	 eax, ecx
  0002e	8b 4d 08	 mov	 ecx, DWORD PTR _bits$[ebp]
  00031	88 01		 mov	 BYTE PTR [ecx], al
$LN3@SetBit:

; 623  :     }
; 624  : }

  00033	8b e5		 mov	 esp, ebp
  00035	5d		 pop	 ebp
  00036	c2 0c 00	 ret	 12			; 0000000cH
?SetBit@CTDA9887Ex@@IAEXAAEEH@Z ENDP			; CTDA9887Ex::SetBit
_TEXT	ENDS
PUBLIC	?VideoFormat2TDA9887Format@CTDA9887Ex@@IAE?AW4eTDA9887Format@@W4eVideoFormat@@@Z ; CTDA9887Ex::VideoFormat2TDA9887Format
; Function compile flags: /Odtp
;	COMDAT ?VideoFormat2TDA9887Format@CTDA9887Ex@@IAE?AW4eTDA9887Format@@W4eVideoFormat@@@Z
_TEXT	SEGMENT
tv64 = -8						; size = 4
_this$ = -4						; size = 4
_format$ = 8						; size = 4
?VideoFormat2TDA9887Format@CTDA9887Ex@@IAE?AW4eTDA9887Format@@W4eVideoFormat@@@Z PROC ; CTDA9887Ex::VideoFormat2TDA9887Format, COMDAT
; _this$ = ecx

; 573  : {

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

; 574  :     switch (format)

  00009	8b 45 08	 mov	 eax, DWORD PTR _format$[ebp]
  0000c	89 45 f8	 mov	 DWORD PTR tv64[ebp], eax
  0000f	83 7d f8 1b	 cmp	 DWORD PTR tv64[ebp], 27	; 0000001bH
  00013	77 58		 ja	 SHORT $LN12@VideoForma
  00015	8b 4d f8	 mov	 ecx, DWORD PTR tv64[ebp]
  00018	0f b6 91 00 00
	00 00		 movzx	 edx, BYTE PTR $LN16@VideoForma[ecx]
  0001f	ff 24 95 00 00
	00 00		 jmp	 DWORD PTR $LN17@VideoForma[edx*4]
$LN11@VideoForma:

; 575  :     {
; 576  :         case VIDEOFORMAT_PAL_B:
; 577  :         case VIDEOFORMAT_PAL_G:
; 578  :             return TDA9887_FORMAT_PAL_BG;

  00026	33 c0		 xor	 eax, eax
  00028	eb 46		 jmp	 SHORT $LN14@VideoForma
$LN10@VideoForma:

; 579  :         case VIDEOFORMAT_PAL_I:
; 580  :             return TDA9887_FORMAT_PAL_I;

  0002a	b8 01 00 00 00	 mov	 eax, 1
  0002f	eb 3f		 jmp	 SHORT $LN14@VideoForma
$LN9@VideoForma:

; 581  :         case VIDEOFORMAT_PAL_D:
; 582  :             return TDA9887_FORMAT_PAL_DK;

  00031	b8 02 00 00 00	 mov	 eax, 2
  00036	eb 38		 jmp	 SHORT $LN14@VideoForma
$LN8@VideoForma:

; 583  :         case VIDEOFORMAT_PAL_M:
; 584  :         case VIDEOFORMAT_PAL_N:
; 585  :         case VIDEOFORMAT_PAL_N_COMBO:
; 586  :             return TDA9887_FORMAT_PAL_MN;

  00038	b8 03 00 00 00	 mov	 eax, 3
  0003d	eb 31		 jmp	 SHORT $LN14@VideoForma
$LN7@VideoForma:

; 587  :         case VIDEOFORMAT_SECAM_L:
; 588  :         case VIDEOFORMAT_SECAM_L1:
; 589  :             return TDA9887_FORMAT_SECAM_L;

  0003f	b8 04 00 00 00	 mov	 eax, 4
  00044	eb 2a		 jmp	 SHORT $LN14@VideoForma
$LN6@VideoForma:

; 590  :         case VIDEOFORMAT_SECAM_D:
; 591  :         case VIDEOFORMAT_SECAM_K:
; 592  :         case VIDEOFORMAT_SECAM_K1:
; 593  :             return TDA9887_FORMAT_SECAM_DK;

  00046	b8 05 00 00 00	 mov	 eax, 5
  0004b	eb 23		 jmp	 SHORT $LN14@VideoForma
$LN5@VideoForma:

; 594  :         case VIDEOFORMAT_NTSC_M:
; 595  :             return TDA9887_FORMAT_NTSC_M;

  0004d	b8 06 00 00 00	 mov	 eax, 6
  00052	eb 1c		 jmp	 SHORT $LN14@VideoForma
$LN4@VideoForma:

; 596  :         case VIDEOFORMAT_NTSC_50:
; 597  :         case VIDEOFORMAT_NTSC_M_Japan:
; 598  :             return TDA9887_FORMAT_NTSC_JP;

  00054	b8 07 00 00 00	 mov	 eax, 7
  00059	eb 15		 jmp	 SHORT $LN14@VideoForma
$LN3@VideoForma:

; 599  :         case (VIDEOFORMAT_LASTONE+1):
; 600  :             return TDA9887_FORMAT_RADIO;

  0005b	b8 08 00 00 00	 mov	 eax, 8
  00060	eb 0e		 jmp	 SHORT $LN14@VideoForma
$LN2@VideoForma:

; 601  :         // I'm not sure about the following.
; 602  :         case VIDEOFORMAT_PAL_H:
; 603  :         case VIDEOFORMAT_SECAM_B:
; 604  :         case VIDEOFORMAT_SECAM_G:
; 605  :         case VIDEOFORMAT_SECAM_H:
; 606  :             return TDA9887_FORMAT_PAL_BG;

  00062	33 c0		 xor	 eax, eax
  00064	eb 0a		 jmp	 SHORT $LN14@VideoForma
$LN1@VideoForma:

; 607  :         case VIDEOFORMAT_PAL_60:
; 608  :             return TDA9887_FORMAT_NTSC_M;

  00066	b8 06 00 00 00	 mov	 eax, 6
  0006b	eb 03		 jmp	 SHORT $LN14@VideoForma
$LN12@VideoForma:

; 609  :     }
; 610  :     // NEVER_GET_HERE;
; 611  :     return TDA9887_FORMAT_NONE;

  0006d	83 c8 ff	 or	 eax, -1
$LN14@VideoForma:

; 612  : }

  00070	8b e5		 mov	 esp, ebp
  00072	5d		 pop	 ebp
  00073	c2 04 00	 ret	 4
  00076	8b ff		 npad	 2
$LN17@VideoForma:
  00078	00 00 00 00	 DD	 $LN11@VideoForma
  0007c	00 00 00 00	 DD	 $LN9@VideoForma
  00080	00 00 00 00	 DD	 $LN2@VideoForma
  00084	00 00 00 00	 DD	 $LN10@VideoForma
  00088	00 00 00 00	 DD	 $LN8@VideoForma
  0008c	00 00 00 00	 DD	 $LN1@VideoForma
  00090	00 00 00 00	 DD	 $LN6@VideoForma
  00094	00 00 00 00	 DD	 $LN7@VideoForma
  00098	00 00 00 00	 DD	 $LN5@VideoForma
  0009c	00 00 00 00	 DD	 $LN4@VideoForma
  000a0	00 00 00 00	 DD	 $LN3@VideoForma
  000a4	00 00 00 00	 DD	 $LN12@VideoForma
$LN16@VideoForma:
  000a8	00		 DB	 0
  000a9	01		 DB	 1
  000aa	00		 DB	 0
  000ab	02		 DB	 2
  000ac	03		 DB	 3
  000ad	04		 DB	 4
  000ae	04		 DB	 4
  000af	05		 DB	 5
  000b0	04		 DB	 4
  000b1	02		 DB	 2
  000b2	06		 DB	 6
  000b3	02		 DB	 2
  000b4	02		 DB	 2
  000b5	06		 DB	 6
  000b6	06		 DB	 6
  000b7	07		 DB	 7
  000b8	07		 DB	 7
  000b9	08		 DB	 8
  000ba	09		 DB	 9
  000bb	09		 DB	 9
  000bc	0b		 DB	 11			; 0000000bH
  000bd	0b		 DB	 11			; 0000000bH
  000be	0b		 DB	 11			; 0000000bH
  000bf	0b		 DB	 11			; 0000000bH
  000c0	0b		 DB	 11			; 0000000bH
  000c1	0b		 DB	 11			; 0000000bH
  000c2	0b		 DB	 11			; 0000000bH
  000c3	0a		 DB	 10			; 0000000aH
?VideoFormat2TDA9887Format@CTDA9887Ex@@IAE?AW4eTDA9887Format@@W4eVideoFormat@@@Z ENDP ; CTDA9887Ex::VideoFormat2TDA9887Format
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ?SetModes@CTDA9887Ex@@UAEXPAUTTDA9887FormatModes@@@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_modes$ = 8						; size = 4
?SetModes@CTDA9887Ex@@UAEXPAUTTDA9887FormatModes@@@Z PROC ; CTDA9887Ex::SetModes, COMDAT
; _this$ = ecx

; 568  : {

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

; 569  :     SetModes(modes->format, modes->mask, modes->bits);

  00007	8b 45 08	 mov	 eax, DWORD PTR _modes$[ebp]
  0000a	0f b6 48 05	 movzx	 ecx, BYTE PTR [eax+5]
  0000e	51		 push	 ecx
  0000f	8b 55 08	 mov	 edx, DWORD PTR _modes$[ebp]
  00012	0f b6 42 04	 movzx	 eax, BYTE PTR [edx+4]
  00016	50		 push	 eax
  00017	8b 4d 08	 mov	 ecx, DWORD PTR _modes$[ebp]
  0001a	8b 11		 mov	 edx, DWORD PTR [ecx]
  0001c	52		 push	 edx
  0001d	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  00020	8b 10		 mov	 edx, DWORD PTR [eax]
  00022	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00025	8b 42 2c	 mov	 eax, DWORD PTR [edx+44]
  00028	ff d0		 call	 eax

; 570  : }

  0002a	8b e5		 mov	 esp, ebp
  0002c	5d		 pop	 ebp
  0002d	c2 04 00	 ret	 4
?SetModes@CTDA9887Ex@@UAEXPAUTTDA9887FormatModes@@@Z ENDP ; CTDA9887Ex::SetModes
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@PAUTTDA9887Modes@@@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_format$ = 8						; size = 4
_modes$ = 12						; size = 4
?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@PAUTTDA9887Modes@@@Z PROC ; CTDA9887Ex::SetModes, COMDAT
; _this$ = ecx

; 563  : {

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

; 564  :     SetModes(format, modes->mask, modes->bits);

  00007	8b 45 0c	 mov	 eax, DWORD PTR _modes$[ebp]
  0000a	0f b6 48 01	 movzx	 ecx, BYTE PTR [eax+1]
  0000e	51		 push	 ecx
  0000f	8b 55 0c	 mov	 edx, DWORD PTR _modes$[ebp]
  00012	0f b6 02	 movzx	 eax, BYTE PTR [edx]
  00015	50		 push	 eax
  00016	8b 4d 08	 mov	 ecx, DWORD PTR _format$[ebp]
  00019	51		 push	 ecx
  0001a	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  0001d	8b 02		 mov	 eax, DWORD PTR [edx]
  0001f	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00022	8b 50 2c	 mov	 edx, DWORD PTR [eax+44]
  00025	ff d2		 call	 edx

; 565  : }

  00027	8b e5		 mov	 esp, ebp
  00029	5d		 pop	 ebp
  0002a	c2 08 00	 ret	 8
?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@PAUTTDA9887Modes@@@Z ENDP ; CTDA9887Ex::SetModes
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@EE@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_format$ = 8						; size = 4
_mask$ = 12						; size = 1
_bits$ = 16						; size = 1
?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@EE@Z PROC	; CTDA9887Ex::SetModes, COMDAT
; _this$ = ecx

; 529  : {

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

; 530  :     if (format == TDA9887_FORMAT_NONE)

  00007	83 7d 08 ff	 cmp	 DWORD PTR _format$[ebp], -1
  0000b	75 05		 jne	 SHORT $LN5@SetModes

; 531  :     {
; 532  :         return;

  0000d	e9 e1 00 00 00	 jmp	 $LN6@SetModes
$LN5@SetModes:

; 533  :     }
; 534  : 
; 535  :     // Override demodulation
; 536  :     if (mask & TDA9887_SM_CARRIER_QSS)

  00012	0f b6 45 0c	 movzx	 eax, BYTE PTR _mask$[ebp]
  00016	83 e0 20	 and	 eax, 32			; 00000020H
  00019	74 26		 je	 SHORT $LN4@SetModes

; 537  :     {
; 538  :         SetBit(m_TDASettings[format].b,
; 539  :             TDA9887_QSS, (bits & TDA9887_SM_CARRIER_QSS) != 0);

  0001b	0f b6 4d 10	 movzx	 ecx, BYTE PTR _bits$[ebp]
  0001f	83 e1 20	 and	 ecx, 32			; 00000020H
  00022	f7 d9		 neg	 ecx
  00024	1b c9		 sbb	 ecx, ecx
  00026	f7 d9		 neg	 ecx
  00028	51		 push	 ecx
  00029	6a 04		 push	 4
  0002b	8b 55 08	 mov	 edx, DWORD PTR _format$[ebp]
  0002e	6b d2 03	 imul	 edx, 3
  00031	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  00034	8d 4c 10 0c	 lea	 ecx, DWORD PTR [eax+edx+12]
  00038	51		 push	 ecx
  00039	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0003c	e8 00 00 00 00	 call	 ?SetBit@CTDA9887Ex@@IAEXAAEEH@Z ; CTDA9887Ex::SetBit
$LN4@SetModes:

; 540  :     }
; 541  :     // Override OutputPort1
; 542  :     if (mask & TDA9887_SM_OUTPUTPORT1_INACTIVE)

  00041	0f b6 55 0c	 movzx	 edx, BYTE PTR _mask$[ebp]
  00045	83 e2 40	 and	 edx, 64			; 00000040H
  00048	74 26		 je	 SHORT $LN3@SetModes

; 543  :     {
; 544  :         SetBit(m_TDASettings[format].b,
; 545  :             TDA9887_OutputPort1Inactive, (bits & TDA9887_SM_OUTPUTPORT1_INACTIVE) != 0);

  0004a	0f b6 45 10	 movzx	 eax, BYTE PTR _bits$[ebp]
  0004e	83 e0 40	 and	 eax, 64			; 00000040H
  00051	f7 d8		 neg	 eax
  00053	1b c0		 sbb	 eax, eax
  00055	f7 d8		 neg	 eax
  00057	50		 push	 eax
  00058	6a 40		 push	 64			; 00000040H
  0005a	8b 4d 08	 mov	 ecx, DWORD PTR _format$[ebp]
  0005d	6b c9 03	 imul	 ecx, 3
  00060	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  00063	8d 44 0a 0c	 lea	 eax, DWORD PTR [edx+ecx+12]
  00067	50		 push	 eax
  00068	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0006b	e8 00 00 00 00	 call	 ?SetBit@CTDA9887Ex@@IAEXAAEEH@Z ; CTDA9887Ex::SetBit
$LN3@SetModes:

; 546  :     }
; 547  :     // Override OutputPort2
; 548  :     if (mask & TDA9887_SM_OUTPUTPORT2_INACTIVE)

  00070	0f b6 4d 0c	 movzx	 ecx, BYTE PTR _mask$[ebp]
  00074	81 e1 80 00 00
	00		 and	 ecx, 128		; 00000080H
  0007a	74 2c		 je	 SHORT $LN2@SetModes

; 549  :     {
; 550  :         SetBit(m_TDASettings[format].b,
; 551  :             TDA9887_OutputPort2Inactive, (bits & TDA9887_SM_OUTPUTPORT2_INACTIVE) != 0);

  0007c	0f b6 55 10	 movzx	 edx, BYTE PTR _bits$[ebp]
  00080	81 e2 80 00 00
	00		 and	 edx, 128		; 00000080H
  00086	f7 da		 neg	 edx
  00088	1b d2		 sbb	 edx, edx
  0008a	f7 da		 neg	 edx
  0008c	52		 push	 edx
  0008d	68 80 00 00 00	 push	 128			; 00000080H
  00092	8b 45 08	 mov	 eax, DWORD PTR _format$[ebp]
  00095	6b c0 03	 imul	 eax, 3
  00098	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0009b	8d 54 01 0c	 lea	 edx, DWORD PTR [ecx+eax+12]
  0009f	52		 push	 edx
  000a0	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  000a3	e8 00 00 00 00	 call	 ?SetBit@CTDA9887Ex@@IAEXAAEEH@Z ; CTDA9887Ex::SetBit
$LN2@SetModes:

; 552  :     }
; 553  :     // Override TakeOverPoint
; 554  :     if (mask & TDA9887_SM_TAKEOVERPOINT_MASK)

  000a8	0f b6 45 0c	 movzx	 eax, BYTE PTR _mask$[ebp]
  000ac	83 e0 1f	 and	 eax, 31			; 0000001fH
  000af	74 42		 je	 SHORT $LN6@SetModes

; 555  :     {
; 556  :         m_TDASettings[format].c &= ~TDA9887_TakeOverPointMax;

  000b1	8b 4d 08	 mov	 ecx, DWORD PTR _format$[ebp]
  000b4	6b c9 03	 imul	 ecx, 3
  000b7	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  000ba	0f b6 44 0a 0d	 movzx	 eax, BYTE PTR [edx+ecx+13]
  000bf	83 e0 e0	 and	 eax, -32		; ffffffe0H
  000c2	8b 4d 08	 mov	 ecx, DWORD PTR _format$[ebp]
  000c5	6b c9 03	 imul	 ecx, 3
  000c8	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  000cb	88 44 0a 0d	 mov	 BYTE PTR [edx+ecx+13], al

; 557  :         m_TDASettings[format].c |=
; 558  :             (bits & TDA9887_SM_TAKEOVERPOINT_MASK) >> TDA9887_SM_TAKEOVERPOINT_OFFSET;

  000cf	8b 45 08	 mov	 eax, DWORD PTR _format$[ebp]
  000d2	6b c0 03	 imul	 eax, 3
  000d5	0f b6 4d 10	 movzx	 ecx, BYTE PTR _bits$[ebp]
  000d9	83 e1 1f	 and	 ecx, 31			; 0000001fH
  000dc	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  000df	0f b6 44 02 0d	 movzx	 eax, BYTE PTR [edx+eax+13]
  000e4	0b c1		 or	 eax, ecx
  000e6	8b 4d 08	 mov	 ecx, DWORD PTR _format$[ebp]
  000e9	6b c9 03	 imul	 ecx, 3
  000ec	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  000ef	88 44 0a 0d	 mov	 BYTE PTR [edx+ecx+13], al
$LN6@SetModes:

; 559  :     }
; 560  : }

  000f3	8b e5		 mov	 esp, ebp
  000f5	5d		 pop	 ebp
  000f6	c2 0c 00	 ret	 12			; 0000000cH
?SetModes@CTDA9887Ex@@UAEXW4eTDA9887Format@@EE@Z ENDP	; CTDA9887Ex::SetModes
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ?Init@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_bPreInit$ = 8						; size = 4
_videoFormat$ = 12					; size = 4
?Init@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z PROC	; CTDA9887Pinnacle::Init, COMDAT
; _this$ = ecx

; 195  : {

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

; 196  :     TunerSet(bPreInit, videoFormat);

  00007	8b 45 0c	 mov	 eax, DWORD PTR _videoFormat$[ebp]
  0000a	50		 push	 eax
  0000b	8b 4d 08	 mov	 ecx, DWORD PTR _bPreInit$[ebp]
  0000e	51		 push	 ecx
  0000f	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  00012	8b 02		 mov	 eax, DWORD PTR [edx]
  00014	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00017	8b 50 14	 mov	 edx, DWORD PTR [eax+20]
  0001a	ff d2		 call	 edx

; 197  : }

  0001c	8b e5		 mov	 esp, ebp
  0001e	5d		 pop	 ebp
  0001f	c2 08 00	 ret	 8
?Init@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z ENDP	; CTDA9887Pinnacle::Init
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ?GetAFCStatus@CTDA9887@@UAE?AW4eTunerAFCStatus@@AAJ@Z
_TEXT	SEGMENT
_this$ = -8						; size = 4
_addr$ = -2						; size = 1
_result$ = -1						; size = 1
_nFreqDeviation$ = 8					; size = 4
?GetAFCStatus@CTDA9887@@UAE?AW4eTunerAFCStatus@@AAJ@Z PROC ; CTDA9887::GetAFCStatus, COMDAT
; _this$ = ecx

; 151  : {

  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

; 152  :     /**
; 153  :     bit 0: power on reset
; 154  :     bit 1-4: AFC
; 155  :     bit 5: FM carrier detection
; 156  :     bit 6: VIF input level
; 157  :     bit 7: 1=VCO in +-1.6MHz AFC window
; 158  :     */
; 159  :     BYTE addr[] = { m_DeviceAddress };

  00009	8b 45 f8	 mov	 eax, DWORD PTR _this$[ebp]
  0000c	8a 48 08	 mov	 cl, BYTE PTR [eax+8]
  0000f	88 4d fe	 mov	 BYTE PTR _addr$[ebp], cl

; 160  :     BYTE result;
; 161  :     if (m_I2CBus->Read(addr, 1, &result, 1))

  00012	6a 01		 push	 1
  00014	8d 55 ff	 lea	 edx, DWORD PTR _result$[ebp]
  00017	52		 push	 edx
  00018	6a 01		 push	 1
  0001a	8d 45 fe	 lea	 eax, DWORD PTR _addr$[ebp]
  0001d	50		 push	 eax
  0001e	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00021	8b 51 04	 mov	 edx, DWORD PTR [ecx+4]
  00024	8b 45 f8	 mov	 eax, DWORD PTR _this$[ebp]
  00027	8b 48 04	 mov	 ecx, DWORD PTR [eax+4]
  0002a	8b 12		 mov	 edx, DWORD PTR [edx]
  0002c	8b 42 04	 mov	 eax, DWORD PTR [edx+4]
  0002f	ff d0		 call	 eax
  00031	85 c0		 test	 eax, eax
  00033	74 59		 je	 SHORT $LN4@GetAFCStat

; 162  :     {
; 163  :         nFreqDeviation = ((result>>1) & 0xF);

  00035	0f b6 4d ff	 movzx	 ecx, BYTE PTR _result$[ebp]
  00039	d1 f9		 sar	 ecx, 1
  0003b	83 e1 0f	 and	 ecx, 15			; 0000000fH
  0003e	8b 55 08	 mov	 edx, DWORD PTR _nFreqDeviation$[ebp]
  00041	89 0a		 mov	 DWORD PTR [edx], ecx

; 164  :         if ((nFreqDeviation == 0x7) || (nFreqDeviation == 0x8))

  00043	8b 45 08	 mov	 eax, DWORD PTR _nFreqDeviation$[ebp]
  00046	83 38 07	 cmp	 DWORD PTR [eax], 7
  00049	74 08		 je	 SHORT $LN2@GetAFCStat
  0004b	8b 4d 08	 mov	 ecx, DWORD PTR _nFreqDeviation$[ebp]
  0004e	83 39 08	 cmp	 DWORD PTR [ecx], 8
  00051	75 04		 jne	 SHORT $LN3@GetAFCStat
$LN2@GetAFCStat:

; 165  :         {
; 166  :             // <= -187.5 kHz or >= 187.5 hKz
; 167  :             return TUNER_AFC_NOCARRIER;

  00053	33 c0		 xor	 eax, eax
  00055	eb 3a		 jmp	 SHORT $LN5@GetAFCStat
$LN3@GetAFCStat:

; 168  :         }
; 169  :         if (nFreqDeviation&8)

  00057	8b 55 08	 mov	 edx, DWORD PTR _nFreqDeviation$[ebp]
  0005a	8b 02		 mov	 eax, DWORD PTR [edx]
  0005c	83 e0 08	 and	 eax, 8
  0005f	74 0d		 je	 SHORT $LN1@GetAFCStat

; 170  :         {
; 171  :             nFreqDeviation |= (-8);

  00061	8b 4d 08	 mov	 ecx, DWORD PTR _nFreqDeviation$[ebp]
  00064	8b 11		 mov	 edx, DWORD PTR [ecx]
  00066	83 ca f8	 or	 edx, -8			; fffffff8H
  00069	8b 45 08	 mov	 eax, DWORD PTR _nFreqDeviation$[ebp]
  0006c	89 10		 mov	 DWORD PTR [eax], edx
$LN1@GetAFCStat:

; 172  :         }
; 173  : 
; 174  :         nFreqDeviation = -1 * ((nFreqDeviation *  25000) + 12500);

  0006e	8b 4d 08	 mov	 ecx, DWORD PTR _nFreqDeviation$[ebp]
  00071	8b 11		 mov	 edx, DWORD PTR [ecx]
  00073	69 d2 a8 61 00
	00		 imul	 edx, 25000		; 000061a8H
  00079	81 c2 d4 30 00
	00		 add	 edx, 12500		; 000030d4H
  0007f	6b d2 ff	 imul	 edx, -1
  00082	8b 45 08	 mov	 eax, DWORD PTR _nFreqDeviation$[ebp]
  00085	89 10		 mov	 DWORD PTR [eax], edx

; 175  :         return TUNER_AFC_CARRIER;

  00087	b8 01 00 00 00	 mov	 eax, 1
  0008c	eb 03		 jmp	 SHORT $LN5@GetAFCStat
$LN4@GetAFCStat:

; 176  :     }
; 177  :     return TUNER_AFC_NOTSUPPORTED;

  0008e	83 c8 ff	 or	 eax, -1
$LN5@GetAFCStat:

; 178  : }

  00091	8b e5		 mov	 esp, ebp
  00093	5d		 pop	 ebp
  00094	c2 04 00	 ret	 4
?GetAFCStatus@CTDA9887@@UAE?AW4eTunerAFCStatus@@AAJ@Z ENDP ; CTDA9887::GetAFCStatus
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ?Init@CTDA9887@@UAEXHW4eVideoFormat@@@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_bPreInit$ = 8						; size = 4
_videoFormat$ = 12					; size = 4
?Init@CTDA9887@@UAEXHW4eVideoFormat@@@Z PROC		; CTDA9887::Init, COMDAT
; _this$ = ecx

; 72   : {

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

; 73   :     TunerSet(bPreInit, videoFormat);

  00007	8b 45 0c	 mov	 eax, DWORD PTR _videoFormat$[ebp]
  0000a	50		 push	 eax
  0000b	8b 4d 08	 mov	 ecx, DWORD PTR _bPreInit$[ebp]
  0000e	51		 push	 ecx
  0000f	8b 55 fc	 mov	 edx, DWORD PTR _this$[ebp]
  00012	8b 02		 mov	 eax, DWORD PTR [edx]
  00014	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00017	8b 50 14	 mov	 edx, DWORD PTR [eax+20]
  0001a	ff d2		 call	 edx

; 74   : }

  0001c	8b e5		 mov	 esp, ebp
  0001e	5d		 pop	 ebp
  0001f	c2 08 00	 ret	 8
?Init@CTDA9887@@UAEXHW4eVideoFormat@@@Z ENDP		; CTDA9887::Init
_TEXT	ENDS
PUBLIC	__$ArrayPad$
; Function compile flags: /Odtp
;	COMDAT ?Detect@CTDA9887@@UAEHXZ
_TEXT	SEGMENT
_this$ = -16						; size = 4
_tda9887set$ = -12					; size = 5
__$ArrayPad$ = -4					; size = 4
?Detect@CTDA9887@@UAEHXZ PROC				; CTDA9887::Detect, COMDAT
; _this$ = ecx

; 66   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 10	 sub	 esp, 16			; 00000010H
  00006	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0000b	33 c5		 xor	 eax, ebp
  0000d	89 45 fc	 mov	 DWORD PTR __$ArrayPad$[ebp], eax
  00010	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx

; 67   :     BYTE tda9887set[5] = { m_DeviceAddress, 0x00, 0x54, 0x70, 0x44 };

  00013	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00016	8a 48 08	 mov	 cl, BYTE PTR [eax+8]
  00019	88 4d f4	 mov	 BYTE PTR _tda9887set$[ebp], cl
  0001c	c6 45 f5 00	 mov	 BYTE PTR _tda9887set$[ebp+1], 0
  00020	c6 45 f6 54	 mov	 BYTE PTR _tda9887set$[ebp+2], 84 ; 00000054H
  00024	c6 45 f7 70	 mov	 BYTE PTR _tda9887set$[ebp+3], 112 ; 00000070H
  00028	c6 45 f8 44	 mov	 BYTE PTR _tda9887set$[ebp+4], 68 ; 00000044H

; 68   :     return m_I2CBus->Write(tda9887set, 5);

  0002c	6a 05		 push	 5
  0002e	8d 55 f4	 lea	 edx, DWORD PTR _tda9887set$[ebp]
  00031	52		 push	 edx
  00032	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00035	8b 48 04	 mov	 ecx, DWORD PTR [eax+4]
  00038	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  0003b	8b 42 04	 mov	 eax, DWORD PTR [edx+4]
  0003e	8b 11		 mov	 edx, DWORD PTR [ecx]
  00040	8b c8		 mov	 ecx, eax
  00042	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  00045	ff d0		 call	 eax

; 69   : }

  00047	8b 4d fc	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  0004a	33 cd		 xor	 ecx, ebp
  0004c	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00051	8b e5		 mov	 esp, ebp
  00053	5d		 pop	 ebp
  00054	c3		 ret	 0
?Detect@CTDA9887@@UAEHXZ ENDP				; CTDA9887::Detect
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\tda9887.h
_TEXT	ENDS
;	COMDAT ?GetDefaultAddress@CTDA9887@@MBEEXZ
_TEXT	SEGMENT
_this$ = -4						; size = 4
?GetDefaultAddress@CTDA9887@@MBEEXZ PROC		; CTDA9887::GetDefaultAddress, COMDAT
; _this$ = ecx

; 127  :     virtual BYTE GetDefaultAddress() const { return I2C_TDA9887_0; }

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  00007	b0 86		 mov	 al, 134			; 00000086H
  00009	8b e5		 mov	 esp, ebp
  0000b	5d		 pop	 ebp
  0000c	c3		 ret	 0
?GetDefaultAddress@CTDA9887@@MBEEXZ ENDP		; CTDA9887::GetDefaultAddress
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\tda9887.cpp
;	COMDAT ?SetDetectedI2CAddress@CTDA9887@@UAEHPAVCI2CBus@@@Z
_TEXT	SEGMENT
_this$ = -8						; size = 4
_tda9887Addresses$ = -4					; size = 4
_i2cBus$ = 8						; size = 4
?SetDetectedI2CAddress@CTDA9887@@UAEHPAVCI2CBus@@@Z PROC ; CTDA9887::SetDetectedI2CAddress, COMDAT
; _this$ = ecx

; 59   : {

  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

; 60   :     BYTE tda9887Addresses[4] = { I2C_TDA9887_0, I2C_TDA9887_1,

  00009	c6 45 fc 86	 mov	 BYTE PTR _tda9887Addresses$[ebp], 134 ; 00000086H
  0000d	c6 45 fd 96	 mov	 BYTE PTR _tda9887Addresses$[ebp+1], 150 ; 00000096H

; 61   :                                  I2C_TDA9887_2, I2C_TDA9887_3 };

  00011	c6 45 fe 84	 mov	 BYTE PTR _tda9887Addresses$[ebp+2], 132 ; 00000084H
  00015	c6 45 ff 94	 mov	 BYTE PTR _tda9887Addresses$[ebp+3], 148 ; 00000094H

; 62   :     return IExternalIFDemodulator::SetDetectedI2CAddress(i2cBus, tda9887Addresses, 4);

  00019	6a 04		 push	 4
  0001b	8d 45 fc	 lea	 eax, DWORD PTR _tda9887Addresses$[ebp]
  0001e	50		 push	 eax
  0001f	8b 4d 08	 mov	 ecx, DWORD PTR _i2cBus$[ebp]
  00022	51		 push	 ecx
  00023	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00026	e8 00 00 00 00	 call	 ?SetDetectedI2CAddress@IExternalIFDemodulator@@UAEHPAVCI2CBus@@PAEI@Z ; IExternalIFDemodulator::SetDetectedI2CAddress

; 63   : }

  0002b	8b e5		 mov	 esp, ebp
  0002d	5d		 pop	 ebp
  0002e	c2 04 00	 ret	 4
?SetDetectedI2CAddress@CTDA9887@@UAEHPAVCI2CBus@@@Z ENDP ; CTDA9887::SetDetectedI2CAddress
_TEXT	ENDS
PUBLIC	??1CTDA9887@@UAE@XZ				; CTDA9887::~CTDA9887
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??1CTDA9887@@UAE@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??1CTDA9887@@UAE@XZ$0
__ehfuncinfo$??1CTDA9887@@UAE@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??1CTDA9887@@UAE@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??1CTDA9887@@UAE@XZ
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
??1CTDA9887@@UAE@XZ PROC				; CTDA9887::~CTDA9887, COMDAT
; _this$ = ecx

; 43   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??1CTDA9887@@UAE@XZ
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00029	c7 00 00 00 00
	00		 mov	 DWORD PTR [eax], OFFSET ??_7CTDA9887@@6B@
  0002f	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0

; 44   : }

  00036	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0003d	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00040	e8 00 00 00 00	 call	 ??1IExternalIFDemodulator@@UAE@XZ
  00045	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00048	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0004f	59		 pop	 ecx
  00050	8b e5		 mov	 esp, ebp
  00052	5d		 pop	 ebp
  00053	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??1CTDA9887@@UAE@XZ$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1IExternalIFDemodulator@@UAE@XZ
__ehhandler$??1CTDA9887@@UAE@XZ:
  00008	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000c	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0000f	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00012	33 c8		 xor	 ecx, eax
  00014	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00019	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??1CTDA9887@@UAE@XZ
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??1CTDA9887@@UAE@XZ ENDP				; CTDA9887::~CTDA9887
; Function compile flags: /Odtp
;	COMDAT ??_GCTDA9887@@UAEPAXI@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
___flags$ = 8						; size = 4
??_GCTDA9887@@UAEPAXI@Z PROC				; CTDA9887::`scalar deleting destructor', COMDAT
; _this$ = ecx
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  00007	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0000a	e8 00 00 00 00	 call	 ??1CTDA9887@@UAE@XZ	; CTDA9887::~CTDA9887
  0000f	8b 45 08	 mov	 eax, DWORD PTR ___flags$[ebp]
  00012	83 e0 01	 and	 eax, 1
  00015	74 0c		 je	 SHORT $LN1@scalar@92
  00017	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0001a	51		 push	 ecx
  0001b	e8 00 00 00 00	 call	 ??3@YAXPAX@Z		; operator delete
  00020	83 c4 04	 add	 esp, 4
$LN1@scalar@92:
  00023	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  00026	8b e5		 mov	 esp, ebp
  00028	5d		 pop	 ebp
  00029	c2 04 00	 ret	 4
??_GCTDA9887@@UAEPAXI@Z ENDP				; CTDA9887::`scalar deleting destructor'
_TEXT	ENDS
PUBLIC	??0CTDA9887@@QAE@XZ				; CTDA9887::CTDA9887
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??0CTDA9887@@QAE@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??0CTDA9887@@QAE@XZ$0
__ehfuncinfo$??0CTDA9887@@QAE@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??0CTDA9887@@QAE@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??0CTDA9887@@QAE@XZ
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
??0CTDA9887@@QAE@XZ PROC				; CTDA9887::CTDA9887, COMDAT
; _this$ = ecx

; 39   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??0CTDA9887@@QAE@XZ
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00029	e8 00 00 00 00	 call	 ??0IExternalIFDemodulator@@QAE@XZ
  0002e	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00035	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00038	c7 00 00 00 00
	00		 mov	 DWORD PTR [eax], OFFSET ??_7CTDA9887@@6B@

; 40   : }

  0003e	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00045	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00048	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0004b	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00052	59		 pop	 ecx
  00053	8b e5		 mov	 esp, ebp
  00055	5d		 pop	 ebp
  00056	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??0CTDA9887@@QAE@XZ$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1IExternalIFDemodulator@@UAE@XZ
__ehhandler$??0CTDA9887@@QAE@XZ:
  00008	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000c	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0000f	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00012	33 c8		 xor	 ecx, eax
  00014	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00019	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??0CTDA9887@@QAE@XZ
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??0CTDA9887@@QAE@XZ ENDP				; CTDA9887::CTDA9887
PUBLIC	??1CTDA9887Ex@@UAE@XZ				; CTDA9887Ex::~CTDA9887Ex
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??1CTDA9887Ex@@UAE@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??1CTDA9887Ex@@UAE@XZ$0
__ehfuncinfo$??1CTDA9887Ex@@UAE@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??1CTDA9887Ex@@UAE@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??1CTDA9887Ex@@UAE@XZ
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
??1CTDA9887Ex@@UAE@XZ PROC				; CTDA9887Ex::~CTDA9887Ex, COMDAT
; _this$ = ecx

; 482  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??1CTDA9887Ex@@UAE@XZ
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00029	c7 00 00 00 00
	00		 mov	 DWORD PTR [eax], OFFSET ??_7CTDA9887Ex@@6B@
  0002f	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0

; 483  : }

  00036	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0003d	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00040	e8 00 00 00 00	 call	 ??1CTDA9887@@UAE@XZ	; CTDA9887::~CTDA9887
  00045	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00048	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0004f	59		 pop	 ecx
  00050	8b e5		 mov	 esp, ebp
  00052	5d		 pop	 ebp
  00053	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??1CTDA9887Ex@@UAE@XZ$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1CTDA9887@@UAE@XZ	; CTDA9887::~CTDA9887
__ehhandler$??1CTDA9887Ex@@UAE@XZ:
  00008	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000c	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0000f	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00012	33 c8		 xor	 ecx, eax
  00014	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00019	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??1CTDA9887Ex@@UAE@XZ
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??1CTDA9887Ex@@UAE@XZ ENDP				; CTDA9887Ex::~CTDA9887Ex
; Function compile flags: /Odtp
;	COMDAT ??_GCTDA9887Ex@@UAEPAXI@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
___flags$ = 8						; size = 4
??_GCTDA9887Ex@@UAEPAXI@Z PROC				; CTDA9887Ex::`scalar deleting destructor', COMDAT
; _this$ = ecx
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  00007	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0000a	e8 00 00 00 00	 call	 ??1CTDA9887Ex@@UAE@XZ	; CTDA9887Ex::~CTDA9887Ex
  0000f	8b 45 08	 mov	 eax, DWORD PTR ___flags$[ebp]
  00012	83 e0 01	 and	 eax, 1
  00015	74 0c		 je	 SHORT $LN1@scalar@115
  00017	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0001a	51		 push	 ecx
  0001b	e8 00 00 00 00	 call	 ??3@YAXPAX@Z		; operator delete
  00020	83 c4 04	 add	 esp, 4
$LN1@scalar@115:
  00023	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  00026	8b e5		 mov	 esp, ebp
  00028	5d		 pop	 ebp
  00029	c2 04 00	 ret	 4
??_GCTDA9887Ex@@UAEPAXI@Z ENDP				; CTDA9887Ex::`scalar deleting destructor'
_TEXT	ENDS
PUBLIC	??0CTDA9887Ex@@QAE@XZ				; CTDA9887Ex::CTDA9887Ex
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??0CTDA9887Ex@@QAE@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??0CTDA9887Ex@@QAE@XZ$0
__ehfuncinfo$??0CTDA9887Ex@@QAE@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??0CTDA9887Ex@@QAE@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??0CTDA9887Ex@@QAE@XZ
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
??0CTDA9887Ex@@QAE@XZ PROC				; CTDA9887Ex::CTDA9887Ex, COMDAT
; _this$ = ecx

; 477  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??0CTDA9887Ex@@QAE@XZ
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00029	e8 00 00 00 00	 call	 ??0CTDA9887@@QAE@XZ	; CTDA9887::CTDA9887
  0002e	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00035	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00038	c7 00 00 00 00
	00		 mov	 DWORD PTR [eax], OFFSET ??_7CTDA9887Ex@@6B@

; 478  :     memcpy(m_TDASettings, k_TDAStandardtSettings, sizeof(m_TDASettings));

  0003e	6a 1b		 push	 27			; 0000001bH
  00040	68 00 00 00 00	 push	 OFFSET ?k_TDAStandardtSettings@CTDA9887Ex@@1QBUTTDABytes@1@B ; CTDA9887Ex::k_TDAStandardtSettings
  00045	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00048	83 c1 0c	 add	 ecx, 12			; 0000000cH
  0004b	51		 push	 ecx
  0004c	e8 00 00 00 00	 call	 _memcpy
  00051	83 c4 0c	 add	 esp, 12			; 0000000cH

; 479  : }

  00054	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0005b	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  0005e	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00061	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00068	59		 pop	 ecx
  00069	8b e5		 mov	 esp, ebp
  0006b	5d		 pop	 ebp
  0006c	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??0CTDA9887Ex@@QAE@XZ$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1CTDA9887@@UAE@XZ	; CTDA9887::~CTDA9887
__ehhandler$??0CTDA9887Ex@@QAE@XZ:
  00008	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000c	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0000f	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00012	33 c8		 xor	 ecx, eax
  00014	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00019	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??0CTDA9887Ex@@QAE@XZ
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??0CTDA9887Ex@@QAE@XZ ENDP				; CTDA9887Ex::CTDA9887Ex
PUBLIC	??1CTDA9887Pinnacle@@UAE@XZ			; CTDA9887Pinnacle::~CTDA9887Pinnacle
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??1CTDA9887Pinnacle@@UAE@XZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??1CTDA9887Pinnacle@@UAE@XZ$0
__ehfuncinfo$??1CTDA9887Pinnacle@@UAE@XZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??1CTDA9887Pinnacle@@UAE@XZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??1CTDA9887Pinnacle@@UAE@XZ
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
??1CTDA9887Pinnacle@@UAE@XZ PROC			; CTDA9887Pinnacle::~CTDA9887Pinnacle, COMDAT
; _this$ = ecx

; 190  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??1CTDA9887Pinnacle@@UAE@XZ
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00029	c7 00 00 00 00
	00		 mov	 DWORD PTR [eax], OFFSET ??_7CTDA9887Pinnacle@@6B@
  0002f	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0

; 191  : }

  00036	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  0003d	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00040	e8 00 00 00 00	 call	 ??1CTDA9887@@UAE@XZ	; CTDA9887::~CTDA9887
  00045	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00048	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0004f	59		 pop	 ecx
  00050	8b e5		 mov	 esp, ebp
  00052	5d		 pop	 ebp
  00053	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??1CTDA9887Pinnacle@@UAE@XZ$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1CTDA9887@@UAE@XZ	; CTDA9887::~CTDA9887
__ehhandler$??1CTDA9887Pinnacle@@UAE@XZ:
  00008	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000c	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0000f	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00012	33 c8		 xor	 ecx, eax
  00014	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00019	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??1CTDA9887Pinnacle@@UAE@XZ
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??1CTDA9887Pinnacle@@UAE@XZ ENDP			; CTDA9887Pinnacle::~CTDA9887Pinnacle
; Function compile flags: /Odtp
;	COMDAT ??_GCTDA9887Pinnacle@@UAEPAXI@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
___flags$ = 8						; size = 4
??_GCTDA9887Pinnacle@@UAEPAXI@Z PROC			; CTDA9887Pinnacle::`scalar deleting destructor', COMDAT
; _this$ = ecx
  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx
  00007	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0000a	e8 00 00 00 00	 call	 ??1CTDA9887Pinnacle@@UAE@XZ ; CTDA9887Pinnacle::~CTDA9887Pinnacle
  0000f	8b 45 08	 mov	 eax, DWORD PTR ___flags$[ebp]
  00012	83 e0 01	 and	 eax, 1
  00015	74 0c		 je	 SHORT $LN1@scalar@116
  00017	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0001a	51		 push	 ecx
  0001b	e8 00 00 00 00	 call	 ??3@YAXPAX@Z		; operator delete
  00020	83 c4 04	 add	 esp, 4
$LN1@scalar@116:
  00023	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  00026	8b e5		 mov	 esp, ebp
  00028	5d		 pop	 ebp
  00029	c2 04 00	 ret	 4
??_GCTDA9887Pinnacle@@UAEPAXI@Z ENDP			; CTDA9887Pinnacle::`scalar deleting destructor'
_TEXT	ENDS
PUBLIC	??0CTDA9887Pinnacle@@QAE@H@Z			; CTDA9887Pinnacle::CTDA9887Pinnacle
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$??0CTDA9887Pinnacle@@QAE@H@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$??0CTDA9887Pinnacle@@QAE@H@Z$0
__ehfuncinfo$??0CTDA9887Pinnacle@@QAE@H@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$??0CTDA9887Pinnacle@@QAE@H@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ??0CTDA9887Pinnacle@@QAE@H@Z
_TEXT	SEGMENT
_this$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
_CardId$ = 8						; size = 4
??0CTDA9887Pinnacle@@QAE@H@Z PROC			; CTDA9887Pinnacle::CTDA9887Pinnacle, COMDAT
; _this$ = ecx

; 184  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$??0CTDA9887Pinnacle@@QAE@H@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	51		 push	 ecx
  00012	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00017	33 c5		 xor	 eax, ebp
  00019	50		 push	 eax
  0001a	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001d	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00023	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx
  00026	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00029	e8 00 00 00 00	 call	 ??0CTDA9887@@QAE@XZ	; CTDA9887::CTDA9887
  0002e	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00035	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00038	c7 00 00 00 00
	00		 mov	 DWORD PTR [eax], OFFSET ??_7CTDA9887Pinnacle@@6B@

; 185  :     m_CardId = CardId;

  0003e	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00041	8b 55 08	 mov	 edx, DWORD PTR _CardId$[ebp]
  00044	89 51 0c	 mov	 DWORD PTR [ecx+12], edx

; 186  :     m_LastVideoFormat = (eVideoFormat)-1;

  00047	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  0004a	c7 40 10 ff ff
	ff ff		 mov	 DWORD PTR [eax+16], -1

; 187  : }

  00051	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00058	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  0005b	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  0005e	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  00065	59		 pop	 ecx
  00066	8b e5		 mov	 esp, ebp
  00068	5d		 pop	 ebp
  00069	c2 04 00	 ret	 4
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$??0CTDA9887Pinnacle@@QAE@H@Z$0:
  00000	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00003	e9 00 00 00 00	 jmp	 ??1CTDA9887@@UAE@XZ	; CTDA9887::~CTDA9887
__ehhandler$??0CTDA9887Pinnacle@@QAE@H@Z:
  00008	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000c	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  0000f	8b 4a f8	 mov	 ecx, DWORD PTR [edx-8]
  00012	33 c8		 xor	 ecx, eax
  00014	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00019	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$??0CTDA9887Pinnacle@@QAE@H@Z
  0001e	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
??0CTDA9887Pinnacle@@QAE@H@Z ENDP			; CTDA9887Pinnacle::CTDA9887Pinnacle
PUBLIC	?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z ; CTDA9887::CreateDetectedTDA9887
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z$0
__ehfuncinfo$?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z
_TEXT	SEGMENT
tv91 = -40						; size = 4
tv71 = -36						; size = 4
$T325077 = -32						; size = 4
$T325076 = -28						; size = 4
$T325073 = -24						; size = 4
$T325072 = -20						; size = 4
_pTDA9887$ = -16					; size = 4
__$EHRec$ = -12						; size = 12
_i2cBus$ = 8						; size = 4
?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z PROC ; CTDA9887::CreateDetectedTDA9887, COMDAT

; 47   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 1c	 sub	 esp, 28			; 0000001cH
  00014	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00019	33 c5		 xor	 eax, ebp
  0001b	50		 push	 eax
  0001c	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001f	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax

; 48   :     CTDA9887* pTDA9887 = new CTDA9887();

  00025	6a 0c		 push	 12			; 0000000cH
  00027	e8 00 00 00 00	 call	 ??2@YAPAXI@Z		; operator new
  0002c	83 c4 04	 add	 esp, 4
  0002f	89 45 e8	 mov	 DWORD PTR $T325073[ebp], eax
  00032	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00039	83 7d e8 00	 cmp	 DWORD PTR $T325073[ebp], 0
  0003d	74 0d		 je	 SHORT $LN4@CreateDete
  0003f	8b 4d e8	 mov	 ecx, DWORD PTR $T325073[ebp]
  00042	e8 00 00 00 00	 call	 ??0CTDA9887@@QAE@XZ	; CTDA9887::CTDA9887
  00047	89 45 dc	 mov	 DWORD PTR tv71[ebp], eax
  0004a	eb 07		 jmp	 SHORT $LN5@CreateDete
$LN4@CreateDete:
  0004c	c7 45 dc 00 00
	00 00		 mov	 DWORD PTR tv71[ebp], 0
$LN5@CreateDete:
  00053	8b 45 dc	 mov	 eax, DWORD PTR tv71[ebp]
  00056	89 45 ec	 mov	 DWORD PTR $T325072[ebp], eax
  00059	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00060	8b 4d ec	 mov	 ecx, DWORD PTR $T325072[ebp]
  00063	89 4d f0	 mov	 DWORD PTR _pTDA9887$[ebp], ecx

; 49   : 
; 50   :     if (!pTDA9887->SetDetectedI2CAddress(i2cBus))

  00066	8b 55 08	 mov	 edx, DWORD PTR _i2cBus$[ebp]
  00069	52		 push	 edx
  0006a	8b 45 f0	 mov	 eax, DWORD PTR _pTDA9887$[ebp]
  0006d	8b 10		 mov	 edx, DWORD PTR [eax]
  0006f	8b 4d f0	 mov	 ecx, DWORD PTR _pTDA9887$[ebp]
  00072	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  00075	ff d0		 call	 eax
  00077	85 c0		 test	 eax, eax
  00079	75 30		 jne	 SHORT $LN1@CreateDete

; 51   :     {
; 52   :         delete pTDA9887;

  0007b	8b 4d f0	 mov	 ecx, DWORD PTR _pTDA9887$[ebp]
  0007e	89 4d e0	 mov	 DWORD PTR $T325077[ebp], ecx
  00081	8b 55 e0	 mov	 edx, DWORD PTR $T325077[ebp]
  00084	89 55 e4	 mov	 DWORD PTR $T325076[ebp], edx
  00087	83 7d e4 00	 cmp	 DWORD PTR $T325076[ebp], 0
  0008b	74 13		 je	 SHORT $LN6@CreateDete
  0008d	6a 01		 push	 1
  0008f	8b 45 e4	 mov	 eax, DWORD PTR $T325076[ebp]
  00092	8b 10		 mov	 edx, DWORD PTR [eax]
  00094	8b 4d e4	 mov	 ecx, DWORD PTR $T325076[ebp]
  00097	8b 02		 mov	 eax, DWORD PTR [edx]
  00099	ff d0		 call	 eax
  0009b	89 45 d8	 mov	 DWORD PTR tv91[ebp], eax
  0009e	eb 07		 jmp	 SHORT $LN7@CreateDete
$LN6@CreateDete:
  000a0	c7 45 d8 00 00
	00 00		 mov	 DWORD PTR tv91[ebp], 0
$LN7@CreateDete:

; 53   :         return NULL;

  000a7	33 c0		 xor	 eax, eax
  000a9	eb 03		 jmp	 SHORT $LN2@CreateDete
$LN1@CreateDete:

; 54   :     }
; 55   :     return pTDA9887;

  000ab	8b 45 f0	 mov	 eax, DWORD PTR _pTDA9887$[ebp]
$LN2@CreateDete:

; 56   : }

  000ae	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  000b1	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  000b8	59		 pop	 ecx
  000b9	8b e5		 mov	 esp, ebp
  000bb	5d		 pop	 ebp
  000bc	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z$0:
  00000	8b 45 e8	 mov	 eax, DWORD PTR $T325073[ebp]
  00003	50		 push	 eax
  00004	e8 00 00 00 00	 call	 ??3@YAXPAX@Z		; operator delete
  00009	59		 pop	 ecx
  0000a	c3		 ret	 0
__ehhandler$?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z:
  0000b	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000f	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00012	8b 4a e0	 mov	 ecx, DWORD PTR [edx-32]
  00015	33 c8		 xor	 ecx, eax
  00017	e8 00 00 00 00	 call	 @__security_check_cookie@4
  0001c	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z
  00021	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?CreateDetectedTDA9887@CTDA9887@@SAPAV1@PAVCI2CBus@@@Z ENDP ; CTDA9887::CreateDetectedTDA9887
PUBLIC	?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z ; CTDA9887Ex::CreateDetectedTDA9887Ex
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z$0
__ehfuncinfo$?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z
_TEXT	SEGMENT
tv91 = -40						; size = 4
tv71 = -36						; size = 4
$T326029 = -32						; size = 4
$T326028 = -28						; size = 4
$T326025 = -24						; size = 4
$T326024 = -20						; size = 4
_pTDA9887Ex$ = -16					; size = 4
__$EHRec$ = -12						; size = 12
_i2cBus$ = 8						; size = 4
?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z PROC ; CTDA9887Ex::CreateDetectedTDA9887Ex, COMDAT

; 486  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 1c	 sub	 esp, 28			; 0000001cH
  00014	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00019	33 c5		 xor	 eax, ebp
  0001b	50		 push	 eax
  0001c	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001f	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax

; 487  :     CTDA9887Ex* pTDA9887Ex = new CTDA9887Ex();

  00025	6a 28		 push	 40			; 00000028H
  00027	e8 00 00 00 00	 call	 ??2@YAPAXI@Z		; operator new
  0002c	83 c4 04	 add	 esp, 4
  0002f	89 45 e8	 mov	 DWORD PTR $T326025[ebp], eax
  00032	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00039	83 7d e8 00	 cmp	 DWORD PTR $T326025[ebp], 0
  0003d	74 0d		 je	 SHORT $LN4@CreateDete@3
  0003f	8b 4d e8	 mov	 ecx, DWORD PTR $T326025[ebp]
  00042	e8 00 00 00 00	 call	 ??0CTDA9887Ex@@QAE@XZ	; CTDA9887Ex::CTDA9887Ex
  00047	89 45 dc	 mov	 DWORD PTR tv71[ebp], eax
  0004a	eb 07		 jmp	 SHORT $LN5@CreateDete@3
$LN4@CreateDete@3:
  0004c	c7 45 dc 00 00
	00 00		 mov	 DWORD PTR tv71[ebp], 0
$LN5@CreateDete@3:
  00053	8b 45 dc	 mov	 eax, DWORD PTR tv71[ebp]
  00056	89 45 ec	 mov	 DWORD PTR $T326024[ebp], eax
  00059	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00060	8b 4d ec	 mov	 ecx, DWORD PTR $T326024[ebp]
  00063	89 4d f0	 mov	 DWORD PTR _pTDA9887Ex$[ebp], ecx

; 488  : 
; 489  :     if (!pTDA9887Ex->SetDetectedI2CAddress(i2cBus))

  00066	8b 55 08	 mov	 edx, DWORD PTR _i2cBus$[ebp]
  00069	52		 push	 edx
  0006a	8b 45 f0	 mov	 eax, DWORD PTR _pTDA9887Ex$[ebp]
  0006d	8b 10		 mov	 edx, DWORD PTR [eax]
  0006f	8b 4d f0	 mov	 ecx, DWORD PTR _pTDA9887Ex$[ebp]
  00072	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  00075	ff d0		 call	 eax
  00077	85 c0		 test	 eax, eax
  00079	75 30		 jne	 SHORT $LN1@CreateDete@3

; 490  :     {
; 491  :         delete pTDA9887Ex;

  0007b	8b 4d f0	 mov	 ecx, DWORD PTR _pTDA9887Ex$[ebp]
  0007e	89 4d e0	 mov	 DWORD PTR $T326029[ebp], ecx
  00081	8b 55 e0	 mov	 edx, DWORD PTR $T326029[ebp]
  00084	89 55 e4	 mov	 DWORD PTR $T326028[ebp], edx
  00087	83 7d e4 00	 cmp	 DWORD PTR $T326028[ebp], 0
  0008b	74 13		 je	 SHORT $LN6@CreateDete@3
  0008d	6a 01		 push	 1
  0008f	8b 45 e4	 mov	 eax, DWORD PTR $T326028[ebp]
  00092	8b 10		 mov	 edx, DWORD PTR [eax]
  00094	8b 4d e4	 mov	 ecx, DWORD PTR $T326028[ebp]
  00097	8b 02		 mov	 eax, DWORD PTR [edx]
  00099	ff d0		 call	 eax
  0009b	89 45 d8	 mov	 DWORD PTR tv91[ebp], eax
  0009e	eb 07		 jmp	 SHORT $LN7@CreateDete@3
$LN6@CreateDete@3:
  000a0	c7 45 d8 00 00
	00 00		 mov	 DWORD PTR tv91[ebp], 0
$LN7@CreateDete@3:

; 492  :         return NULL;

  000a7	33 c0		 xor	 eax, eax
  000a9	eb 03		 jmp	 SHORT $LN2@CreateDete@3
$LN1@CreateDete@3:

; 493  :     }
; 494  :     return pTDA9887Ex;

  000ab	8b 45 f0	 mov	 eax, DWORD PTR _pTDA9887Ex$[ebp]
$LN2@CreateDete@3:

; 495  : }

  000ae	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  000b1	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  000b8	59		 pop	 ecx
  000b9	8b e5		 mov	 esp, ebp
  000bb	5d		 pop	 ebp
  000bc	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z$0:
  00000	8b 45 e8	 mov	 eax, DWORD PTR $T326025[ebp]
  00003	50		 push	 eax
  00004	e8 00 00 00 00	 call	 ??3@YAXPAX@Z		; operator delete
  00009	59		 pop	 ecx
  0000a	c3		 ret	 0
__ehhandler$?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z:
  0000b	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000f	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00012	8b 4a e0	 mov	 ecx, DWORD PTR [edx-32]
  00015	33 c8		 xor	 ecx, eax
  00017	e8 00 00 00 00	 call	 @__security_check_cookie@4
  0001c	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z
  00021	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?CreateDetectedTDA9887Ex@CTDA9887Ex@@SAPAV1@PAVCI2CBus@@@Z ENDP ; CTDA9887Ex::CreateDetectedTDA9887Ex
PUBLIC	__$ArrayPad$
; Function compile flags: /Odtp
;	COMDAT ?TunerSet@CTDA9887Ex@@UAEXHW4eTDA9887Format@@@Z
_TEXT	SEGMENT
_this$ = -16						; size = 4
_writeBytes$ = -12					; size = 5
__$ArrayPad$ = -4					; size = 4
_bPreSet$ = 8						; size = 4
_format$ = 12						; size = 4
?TunerSet@CTDA9887Ex@@UAEXHW4eTDA9887Format@@@Z PROC	; CTDA9887Ex::TunerSet, COMDAT
; _this$ = ecx

; 511  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 10	 sub	 esp, 16			; 00000010H
  00006	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  0000b	33 c5		 xor	 eax, ebp
  0000d	89 45 fc	 mov	 DWORD PTR __$ArrayPad$[ebp], eax
  00010	89 4d f0	 mov	 DWORD PTR _this$[ebp], ecx

; 512  :     if (!bPreSet || format == TDA9887_FORMAT_NONE)

  00013	83 7d 08 00	 cmp	 DWORD PTR _bPreSet$[ebp], 0
  00017	74 06		 je	 SHORT $LN1@TunerSet@2
  00019	83 7d 0c ff	 cmp	 DWORD PTR _format$[ebp], -1
  0001d	75 02		 jne	 SHORT $LN2@TunerSet@2
$LN1@TunerSet@2:

; 513  :     {
; 514  :         // Only setup before tuning (bPreSet).
; 515  :         return;

  0001f	eb 7d		 jmp	 SHORT $LN3@TunerSet@2
$LN2@TunerSet@2:

; 516  :     }
; 517  : 
; 518  :     BYTE writeBytes[5] = { m_DeviceAddress, 0x00 };

  00021	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00024	8a 48 08	 mov	 cl, BYTE PTR [eax+8]
  00027	88 4d f4	 mov	 BYTE PTR _writeBytes$[ebp], cl
  0002a	c6 45 f5 00	 mov	 BYTE PTR _writeBytes$[ebp+1], 0
  0002e	33 d2		 xor	 edx, edx
  00030	66 89 55 f6	 mov	 WORD PTR _writeBytes$[ebp+2], dx
  00034	88 55 f8	 mov	 BYTE PTR _writeBytes$[ebp+4], dl

; 519  : 
; 520  :     writeBytes[2] = m_TDASettings[format].b;

  00037	8b 45 0c	 mov	 eax, DWORD PTR _format$[ebp]
  0003a	6b c0 03	 imul	 eax, 3
  0003d	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00040	8a 54 01 0c	 mov	 dl, BYTE PTR [ecx+eax+12]
  00044	88 55 f6	 mov	 BYTE PTR _writeBytes$[ebp+2], dl

; 521  :     writeBytes[3] = m_TDASettings[format].c;

  00047	8b 45 0c	 mov	 eax, DWORD PTR _format$[ebp]
  0004a	6b c0 03	 imul	 eax, 3
  0004d	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00050	8a 54 01 0d	 mov	 dl, BYTE PTR [ecx+eax+13]
  00054	88 55 f7	 mov	 BYTE PTR _writeBytes$[ebp+3], dl

; 522  :     writeBytes[4] = m_TDASettings[format].e;

  00057	8b 45 0c	 mov	 eax, DWORD PTR _format$[ebp]
  0005a	6b c0 03	 imul	 eax, 3
  0005d	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00060	8a 54 01 0e	 mov	 dl, BYTE PTR [ecx+eax+14]
  00064	88 55 f8	 mov	 BYTE PTR _writeBytes$[ebp+4], dl

; 523  : 
; 524  :     LOG(2,_T("CTDA9887Ex: 0x%02x 0x%02x 0x%02x"), writeBytes[2], writeBytes[3], writeBytes[4]);

  00067	0f b6 45 f8	 movzx	 eax, BYTE PTR _writeBytes$[ebp+4]
  0006b	50		 push	 eax
  0006c	0f b6 4d f7	 movzx	 ecx, BYTE PTR _writeBytes$[ebp+3]
  00070	51		 push	 ecx
  00071	0f b6 55 f6	 movzx	 edx, BYTE PTR _writeBytes$[ebp+2]
  00075	52		 push	 edx
  00076	68 00 00 00 00	 push	 OFFSET ??_C@_1EC@GDOICCE@?$AAC?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA7?$AAE?$AAx?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx@
  0007b	6a 02		 push	 2
  0007d	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  00082	83 c4 14	 add	 esp, 20			; 00000014H

; 525  :     m_I2CBus->Write(writeBytes, 5);

  00085	6a 05		 push	 5
  00087	8d 45 f4	 lea	 eax, DWORD PTR _writeBytes$[ebp]
  0008a	50		 push	 eax
  0008b	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0008e	8b 51 04	 mov	 edx, DWORD PTR [ecx+4]
  00091	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00094	8b 48 04	 mov	 ecx, DWORD PTR [eax+4]
  00097	8b 12		 mov	 edx, DWORD PTR [edx]
  00099	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  0009c	ff d0		 call	 eax
$LN3@TunerSet@2:

; 526  : }

  0009e	8b 4d fc	 mov	 ecx, DWORD PTR __$ArrayPad$[ebp]
  000a1	33 cd		 xor	 ecx, ebp
  000a3	e8 00 00 00 00	 call	 @__security_check_cookie@4
  000a8	8b e5		 mov	 esp, ebp
  000aa	5d		 pop	 ebp
  000ab	c2 08 00	 ret	 8
?TunerSet@CTDA9887Ex@@UAEXHW4eTDA9887Format@@@Z ENDP	; CTDA9887Ex::TunerSet
; Function compile flags: /Odtp
_TEXT	ENDS
;	COMDAT ?TunerSet@CTDA9887Ex@@UAEXHW4eVideoFormat@@@Z
_TEXT	SEGMENT
_this$ = -8						; size = 4
_tdaFormat$ = -4					; size = 4
_bPreSet$ = 8						; size = 4
_format$ = 12						; size = 4
?TunerSet@CTDA9887Ex@@UAEXHW4eVideoFormat@@@Z PROC	; CTDA9887Ex::TunerSet, COMDAT
; _this$ = ecx

; 498  : {

  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

; 499  :     eTDA9887Format tdaFormat = VideoFormat2TDA9887Format(format);

  00009	8b 45 0c	 mov	 eax, DWORD PTR _format$[ebp]
  0000c	50		 push	 eax
  0000d	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00010	e8 00 00 00 00	 call	 ?VideoFormat2TDA9887Format@CTDA9887Ex@@IAE?AW4eTDA9887Format@@W4eVideoFormat@@@Z ; CTDA9887Ex::VideoFormat2TDA9887Format
  00015	89 45 fc	 mov	 DWORD PTR _tdaFormat$[ebp], eax

; 500  :     if (tdaFormat == TDA9887_FORMAT_NONE)

  00018	83 7d fc ff	 cmp	 DWORD PTR _tdaFormat$[ebp], -1
  0001c	75 15		 jne	 SHORT $LN2@TunerSet@3

; 501  :     {
; 502  :         LOG(2,_T("CTDA9887Ex: Unsupported video format: %u"), format);

  0001e	8b 4d 0c	 mov	 ecx, DWORD PTR _format$[ebp]
  00021	51		 push	 ecx
  00022	68 00 00 00 00	 push	 OFFSET ??_C@_1FC@PMBBONKB@?$AAC?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA7?$AAE?$AAx?$AA?3?$AA?5?$AAU?$AAn?$AAs?$AAu?$AAp?$AAp?$AAo?$AAr?$AAt?$AAe?$AAd?$AA?5?$AAv?$AAi?$AAd?$AAe?$AAo?$AA?5?$AAf?$AAo@
  00027	6a 02		 push	 2
  00029	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  0002e	83 c4 0c	 add	 esp, 12			; 0000000cH

; 503  :     }
; 504  :     else

  00031	eb 15		 jmp	 SHORT $LN3@TunerSet@3
$LN2@TunerSet@3:

; 505  :     {
; 506  :         TunerSet(bPreSet, tdaFormat);

  00033	8b 55 fc	 mov	 edx, DWORD PTR _tdaFormat$[ebp]
  00036	52		 push	 edx
  00037	8b 45 08	 mov	 eax, DWORD PTR _bPreSet$[ebp]
  0003a	50		 push	 eax
  0003b	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0003e	8b 11		 mov	 edx, DWORD PTR [ecx]
  00040	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00043	8b 42 20	 mov	 eax, DWORD PTR [edx+32]
  00046	ff d0		 call	 eax
$LN3@TunerSet@3:

; 507  :     }
; 508  : }

  00048	8b e5		 mov	 esp, ebp
  0004a	5d		 pop	 ebp
  0004b	c2 08 00	 ret	 8
?TunerSet@CTDA9887Ex@@UAEXHW4eVideoFormat@@@Z ENDP	; CTDA9887Ex::TunerSet
_TEXT	ENDS
;	COMDAT ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA
_BSS	SEGMENT
?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA DB 05H DUP (?) ; `CTDA9887Pinnacle::TunerSet'::`2'::bData
; Function compile flags: /Odtp
_BSS	ENDS
;	COMDAT ?TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z
_TEXT	SEGMENT
tv93 = -20						; size = 4
_this$ = -16						; size = 4
_bVideoIF$140067 = -10					; size = 1
_bModulation$140071 = -9				; size = 1
_bOutPort2$140074 = -8					; size = 1
_bTopAdjust$140076 = -7					; size = 1
_bDeEmphVal$140070 = -6					; size = 1
_bAudioIF$140068 = -5					; size = 1
_bOutPort1$140073 = -4					; size = 1
_bDeEmphasis$140069 = -3				; size = 1
_bVideoTrap$140075 = -2					; size = 1
_bCarrierMode$140072 = -1				; size = 1
_bPreSet$ = 8						; size = 4
_videoFormat$ = 12					; size = 4
?TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z PROC ; CTDA9887Pinnacle::TunerSet, COMDAT
; _this$ = ecx

; 200  : {

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

; 201  :     static BYTE bData[5];
; 202  : 
; 203  :     if (videoFormat != m_LastVideoFormat)

  00009	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  0000c	8b 4d 0c	 mov	 ecx, DWORD PTR _videoFormat$[ebp]
  0000f	3b 48 10	 cmp	 ecx, DWORD PTR [eax+16]
  00012	0f 84 46 02 00
	00		 je	 $LN40@TunerSet@4

; 204  :     {
; 205  :         m_LastVideoFormat = videoFormat;

  00018	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  0001b	8b 45 0c	 mov	 eax, DWORD PTR _videoFormat$[ebp]
  0001e	89 42 10	 mov	 DWORD PTR [edx+16], eax

; 206  : 
; 207  :         BYTE   bVideoIF     = 0;

  00021	c6 45 f6 00	 mov	 BYTE PTR _bVideoIF$140067[ebp], 0

; 208  :         BYTE   bAudioIF     = 0;

  00025	c6 45 fb 00	 mov	 BYTE PTR _bAudioIF$140068[ebp], 0

; 209  :         BYTE   bDeEmphasis  = 0;

  00029	c6 45 fd 00	 mov	 BYTE PTR _bDeEmphasis$140069[ebp], 0

; 210  :         BYTE   bDeEmphVal   = 0;

  0002d	c6 45 fa 00	 mov	 BYTE PTR _bDeEmphVal$140070[ebp], 0

; 211  :         BYTE   bModulation  = 0;

  00031	c6 45 f7 00	 mov	 BYTE PTR _bModulation$140071[ebp], 0

; 212  :         BYTE   bCarrierMode = 0;

  00035	c6 45 ff 00	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 0

; 213  :         BYTE   bOutPort1    = TDA9887_OutputPort1Inactive;

  00039	c6 45 fc 40	 mov	 BYTE PTR _bOutPort1$140073[ebp], 64 ; 00000040H

; 214  :         BYTE   bOutPort2    = 0; //TDA9887_OutputPort2Inactive

  0003d	c6 45 f8 00	 mov	 BYTE PTR _bOutPort2$140074[ebp], 0

; 215  :         BYTE   bVideoTrap   = TDA9887_VideoTrapBypassOFF;

  00041	c6 45 fe 00	 mov	 BYTE PTR _bVideoTrap$140075[ebp], 0

; 216  :         // Noise fix supplied by anonymous
; 217  :         BYTE   bTopAdjust   = 0x0e; //mbAGC;

  00045	c6 45 f9 0e	 mov	 BYTE PTR _bTopAdjust$140076[ebp], 14 ; 0000000eH

; 218  : 
; 219  :         //if (mParams.fVideoTrap)
; 220  :         //{
; 221  :         //    bVideoTrap   = cVideoTrapBypassON;
; 222  :         //}
; 223  : 
; 224  :         if (IsPALVideoFormat(videoFormat))

  00049	8b 4d 0c	 mov	 ecx, DWORD PTR _videoFormat$[ebp]
  0004c	51		 push	 ecx
  0004d	e8 00 00 00 00	 call	 ?IsPALVideoFormat@@YAHW4eVideoFormat@@@Z ; IsPALVideoFormat
  00052	83 c4 04	 add	 esp, 4
  00055	85 c0		 test	 eax, eax
  00057	74 54		 je	 SHORT $LN39@TunerSet@4

; 225  :         {
; 226  :             bDeEmphasis  = TDA9887_DeemphasisON;

  00059	c6 45 fd 20	 mov	 BYTE PTR _bDeEmphasis$140069[ebp], 32 ; 00000020H

; 227  :             bDeEmphVal   = TDA9887_Deemphasis50;

  0005d	c6 45 fa 40	 mov	 BYTE PTR _bDeEmphVal$140070[ebp], 64 ; 00000040H

; 228  :             bModulation  = TDA9887_NegativeFmTV;

  00061	c6 45 f7 10	 mov	 BYTE PTR _bModulation$140071[ebp], 16 ; 00000010H

; 229  :             if (m_CardId == 1)

  00065	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  00068	83 7a 0c 01	 cmp	 DWORD PTR [edx+12], 1
  0006c	75 06		 jne	 SHORT $LN38@TunerSet@4

; 230  :             {
; 231  :                 bCarrierMode = TDA9887_Intercarrier;

  0006e	c6 45 ff 00	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 0

; 232  :             }
; 233  :             else  // stereo boards

  00072	eb 04		 jmp	 SHORT $LN37@TunerSet@4
$LN38@TunerSet@4:

; 234  :             {
; 235  :                 bCarrierMode = TDA9887_QSS;

  00074	c6 45 ff 04	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 4
$LN37@TunerSet@4:

; 236  :             }
; 237  :             bOutPort1    = TDA9887_OutputPort1Inactive;

  00078	c6 45 fc 40	 mov	 BYTE PTR _bOutPort1$140073[ebp], 64 ; 00000040H

; 238  : 
; 239  :             if ((videoFormat == VIDEOFORMAT_PAL_M) || (videoFormat == VIDEOFORMAT_PAL_N))

  0007c	83 7d 0c 05	 cmp	 DWORD PTR _videoFormat$[ebp], 5
  00080	74 06		 je	 SHORT $LN35@TunerSet@4
  00082	83 7d 0c 06	 cmp	 DWORD PTR _videoFormat$[ebp], 6
  00086	75 20		 jne	 SHORT $LN36@TunerSet@4
$LN35@TunerSet@4:

; 240  :             {
; 241  :                 bDeEmphVal = TDA9887_Deemphasis75;

  00088	c6 45 fa 00	 mov	 BYTE PTR _bDeEmphVal$140070[ebp], 0

; 242  :                 if ((m_CardId == 5) || (m_CardId == 6))

  0008c	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  0008f	83 78 0c 05	 cmp	 DWORD PTR [eax+12], 5
  00093	74 09		 je	 SHORT $LN33@TunerSet@4
  00095	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  00098	83 79 0c 06	 cmp	 DWORD PTR [ecx+12], 6
  0009c	75 06		 jne	 SHORT $LN34@TunerSet@4
$LN33@TunerSet@4:

; 243  :                 {
; 244  :                     bCarrierMode = TDA9887_Intercarrier;

  0009e	c6 45 ff 00	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 0

; 245  :                 }
; 246  :                 else  // stereo boards

  000a2	eb 04		 jmp	 SHORT $LN36@TunerSet@4
$LN34@TunerSet@4:

; 247  :                 {
; 248  :                     bCarrierMode = TDA9887_QSS;

  000a4	c6 45 ff 04	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 4
$LN36@TunerSet@4:

; 249  :                 }
; 250  :             }
; 251  :         }

  000a8	e9 a9 00 00 00	 jmp	 $LN31@TunerSet@4
$LN39@TunerSet@4:

; 252  :         else if (IsSECAMVideoFormat(videoFormat))

  000ad	8b 55 0c	 mov	 edx, DWORD PTR _videoFormat$[ebp]
  000b0	52		 push	 edx
  000b1	e8 00 00 00 00	 call	 ?IsSECAMVideoFormat@@YAHW4eVideoFormat@@@Z ; IsSECAMVideoFormat
  000b6	83 c4 04	 add	 esp, 4
  000b9	85 c0		 test	 eax, eax
  000bb	74 2e		 je	 SHORT $LN30@TunerSet@4

; 253  :         {
; 254  :             bDeEmphasis  = TDA9887_DeemphasisON;

  000bd	c6 45 fd 20	 mov	 BYTE PTR _bDeEmphasis$140069[ebp], 32 ; 00000020H

; 255  :             bDeEmphVal   = TDA9887_Deemphasis50;

  000c1	c6 45 fa 40	 mov	 BYTE PTR _bDeEmphVal$140070[ebp], 64 ; 00000040H

; 256  :             bModulation  = TDA9887_NegativeFmTV;

  000c5	c6 45 f7 10	 mov	 BYTE PTR _bModulation$140071[ebp], 16 ; 00000010H

; 257  :             bCarrierMode = TDA9887_QSS;

  000c9	c6 45 ff 04	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 4

; 258  :             bOutPort1    = TDA9887_OutputPort1Inactive;

  000cd	c6 45 fc 40	 mov	 BYTE PTR _bOutPort1$140073[ebp], 64 ; 00000040H

; 259  : 
; 260  :             if ((videoFormat == VIDEOFORMAT_SECAM_L) || (videoFormat == VIDEOFORMAT_SECAM_L1))

  000d1	83 7d 0c 0f	 cmp	 DWORD PTR _videoFormat$[ebp], 15 ; 0000000fH
  000d5	74 06		 je	 SHORT $LN28@TunerSet@4
  000d7	83 7d 0c 10	 cmp	 DWORD PTR _videoFormat$[ebp], 16 ; 00000010H
  000db	75 0c		 jne	 SHORT $LN29@TunerSet@4
$LN28@TunerSet@4:

; 261  :             {
; 262  :                 bDeEmphasis  = TDA9887_DeemphasisOFF;

  000dd	c6 45 fd 00	 mov	 BYTE PTR _bDeEmphasis$140069[ebp], 0

; 263  :                 bDeEmphVal   = TDA9887_Deemphasis75;

  000e1	c6 45 fa 00	 mov	 BYTE PTR _bDeEmphVal$140070[ebp], 0

; 264  :                 bModulation  = TDA9887_PositiveAmTV;

  000e5	c6 45 f7 00	 mov	 BYTE PTR _bModulation$140071[ebp], 0
$LN29@TunerSet@4:

; 265  :             }
; 266  :         }

  000e9	eb 6b		 jmp	 SHORT $LN31@TunerSet@4
$LN30@TunerSet@4:

; 267  :         else if (IsNTSCVideoFormat(videoFormat))

  000eb	8b 45 0c	 mov	 eax, DWORD PTR _videoFormat$[ebp]
  000ee	50		 push	 eax
  000ef	e8 00 00 00 00	 call	 ?IsNTSCVideoFormat@@YAHW4eVideoFormat@@@Z ; IsNTSCVideoFormat
  000f4	83 c4 04	 add	 esp, 4
  000f7	85 c0		 test	 eax, eax
  000f9	74 2e		 je	 SHORT $LN26@TunerSet@4

; 268  :         {
; 269  :             bDeEmphasis  = TDA9887_DeemphasisON;

  000fb	c6 45 fd 20	 mov	 BYTE PTR _bDeEmphasis$140069[ebp], 32 ; 00000020H

; 270  :             bDeEmphVal   = TDA9887_Deemphasis75;

  000ff	c6 45 fa 00	 mov	 BYTE PTR _bDeEmphVal$140070[ebp], 0

; 271  :             bModulation  = TDA9887_NegativeFmTV;

  00103	c6 45 f7 10	 mov	 BYTE PTR _bModulation$140071[ebp], 16 ; 00000010H

; 272  :             if ((m_CardId == 5) || (m_CardId == 6))

  00107	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  0010a	83 79 0c 05	 cmp	 DWORD PTR [ecx+12], 5
  0010e	74 09		 je	 SHORT $LN24@TunerSet@4
  00110	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  00113	83 7a 0c 06	 cmp	 DWORD PTR [edx+12], 6
  00117	75 06		 jne	 SHORT $LN25@TunerSet@4
$LN24@TunerSet@4:

; 273  :             {
; 274  :                 bCarrierMode = TDA9887_Intercarrier;

  00119	c6 45 ff 00	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 0

; 275  :             }
; 276  :             else

  0011d	eb 04		 jmp	 SHORT $LN23@TunerSet@4
$LN25@TunerSet@4:

; 277  :             {
; 278  :                 bCarrierMode = TDA9887_QSS;

  0011f	c6 45 ff 04	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 4
$LN23@TunerSet@4:

; 279  :             }
; 280  :             bOutPort1    = TDA9887_OutputPort1Inactive;

  00123	c6 45 fc 40	 mov	 BYTE PTR _bOutPort1$140073[ebp], 64 ; 00000040H
  00127	eb 2d		 jmp	 SHORT $LN31@TunerSet@4
$LN26@TunerSet@4:

; 281  :         }
; 282  :         else if (videoFormat == (VIDEOFORMAT_LASTONE+1)) //FM Radio

  00129	83 7d 0c 1b	 cmp	 DWORD PTR _videoFormat$[ebp], 27 ; 0000001bH
  0012d	75 27		 jne	 SHORT $LN31@TunerSet@4

; 283  :         {
; 284  :             bDeEmphasis  = TDA9887_DeemphasisON;

  0012f	c6 45 fd 20	 mov	 BYTE PTR _bDeEmphasis$140069[ebp], 32 ; 00000020H

; 285  :             if (m_CardId == 3)

  00133	8b 45 f0	 mov	 eax, DWORD PTR _this$[ebp]
  00136	83 78 0c 03	 cmp	 DWORD PTR [eax+12], 3
  0013a	75 06		 jne	 SHORT $LN20@TunerSet@4

; 286  :             {
; 287  :                 bDeEmphVal = TDA9887_Deemphasis75;

  0013c	c6 45 fa 00	 mov	 BYTE PTR _bDeEmphVal$140070[ebp], 0

; 288  :             }
; 289  :             else

  00140	eb 04		 jmp	 SHORT $LN19@TunerSet@4
$LN20@TunerSet@4:

; 290  :             {
; 291  :                 bDeEmphVal = TDA9887_Deemphasis50;

  00142	c6 45 fa 40	 mov	 BYTE PTR _bDeEmphVal$140070[ebp], 64 ; 00000040H
$LN19@TunerSet@4:

; 292  :             }
; 293  :             bModulation  = TDA9887_FmRadio;

  00146	c6 45 f7 08	 mov	 BYTE PTR _bModulation$140071[ebp], 8

; 294  :             bCarrierMode = TDA9887_QSS;

  0014a	c6 45 ff 04	 mov	 BYTE PTR _bCarrierMode$140072[ebp], 4

; 295  :             bOutPort1    = TDA9887_OutputPort1Inactive;

  0014e	c6 45 fc 40	 mov	 BYTE PTR _bOutPort1$140073[ebp], 64 ; 00000040H

; 296  : 
; 297  :             bVideoTrap   = TDA9887_VideoTrapBypassOFF;

  00152	c6 45 fe 00	 mov	 BYTE PTR _bVideoTrap$140075[ebp], 0
$LN31@TunerSet@4:

; 298  :         }
; 299  : 
; 300  :         //Set bandwidths
; 301  : 
; 302  :         bVideoIF     = TDA9887_VideoIF_38_90;

  00156	c6 45 f6 08	 mov	 BYTE PTR _bVideoIF$140067[ebp], 8

; 303  :         bAudioIF     = TDA9887_AudioIF_5_5;

  0015a	c6 45 fb 01	 mov	 BYTE PTR _bAudioIF$140068[ebp], 1

; 304  :         switch (videoFormat)

  0015e	8b 4d 0c	 mov	 ecx, DWORD PTR _videoFormat$[ebp]
  00161	89 4d ec	 mov	 DWORD PTR tv93[ebp], ecx
  00164	83 7d ec 1b	 cmp	 DWORD PTR tv93[ebp], 27	; 0000001bH
  00168	0f 87 96 00 00
	00		 ja	 $LN17@TunerSet@4
  0016e	8b 55 ec	 mov	 edx, DWORD PTR tv93[ebp]
  00171	0f b6 82 00 00
	00 00		 movzx	 eax, BYTE PTR $LN43@TunerSet@4[edx]
  00178	ff 24 85 00 00
	00 00		 jmp	 DWORD PTR $LN44@TunerSet@4[eax*4]
$LN16@TunerSet@4:

; 305  :         {
; 306  :         case VIDEOFORMAT_PAL_B:
; 307  :         case VIDEOFORMAT_PAL_G:
; 308  :         case VIDEOFORMAT_PAL_H:
; 309  :             bVideoIF     = TDA9887_VideoIF_38_90;

  0017f	c6 45 f6 08	 mov	 BYTE PTR _bVideoIF$140067[ebp], 8

; 310  :             bAudioIF     = TDA9887_AudioIF_5_5;

  00183	c6 45 fb 01	 mov	 BYTE PTR _bAudioIF$140068[ebp], 1

; 311  :             break;

  00187	eb 7b		 jmp	 SHORT $LN17@TunerSet@4
$LN15@TunerSet@4:

; 312  :         case VIDEOFORMAT_PAL_D:
; 313  :             bVideoIF     = TDA9887_VideoIF_38_00;

  00189	c6 45 f6 0c	 mov	 BYTE PTR _bVideoIF$140067[ebp], 12 ; 0000000cH

; 314  :             bAudioIF     = TDA9887_AudioIF_6_5;

  0018d	c6 45 fb 03	 mov	 BYTE PTR _bAudioIF$140068[ebp], 3

; 315  :             break;

  00191	eb 71		 jmp	 SHORT $LN17@TunerSet@4
$LN14@TunerSet@4:

; 316  :         case VIDEOFORMAT_PAL_I:
; 317  :             bVideoIF     = TDA9887_VideoIF_38_90;

  00193	c6 45 f6 08	 mov	 BYTE PTR _bVideoIF$140067[ebp], 8

; 318  :             bAudioIF     = TDA9887_AudioIF_6_0;

  00197	c6 45 fb 02	 mov	 BYTE PTR _bAudioIF$140068[ebp], 2

; 319  :             break;

  0019b	eb 67		 jmp	 SHORT $LN17@TunerSet@4
$LN13@TunerSet@4:

; 320  :         case VIDEOFORMAT_PAL_M:
; 321  :         case VIDEOFORMAT_PAL_N:
; 322  :         case VIDEOFORMAT_PAL_N_COMBO:   //Not sure about PAL-NC
; 323  :             bVideoIF     = TDA9887_VideoIF_45_75;

  0019d	c6 45 f6 04	 mov	 BYTE PTR _bVideoIF$140067[ebp], 4

; 324  :             bAudioIF     = TDA9887_AudioIF_4_5;

  001a1	c6 45 fb 00	 mov	 BYTE PTR _bAudioIF$140068[ebp], 0
$LN12@TunerSet@4:

; 325  : 
; 326  :         case VIDEOFORMAT_SECAM_D:
; 327  :             bVideoIF     = TDA9887_VideoIF_38_00;

  001a5	c6 45 f6 0c	 mov	 BYTE PTR _bVideoIF$140067[ebp], 12 ; 0000000cH

; 328  :             bAudioIF     = TDA9887_AudioIF_6_5;

  001a9	c6 45 fb 03	 mov	 BYTE PTR _bAudioIF$140068[ebp], 3

; 329  :             break;

  001ad	eb 55		 jmp	 SHORT $LN17@TunerSet@4
$LN11@TunerSet@4:

; 330  :         case VIDEOFORMAT_SECAM_K:
; 331  :         case VIDEOFORMAT_SECAM_K1:
; 332  :             bVideoIF     = TDA9887_VideoIF_38_90;

  001af	c6 45 f6 08	 mov	 BYTE PTR _bVideoIF$140067[ebp], 8

; 333  :             bAudioIF     = TDA9887_AudioIF_6_5;

  001b3	c6 45 fb 03	 mov	 BYTE PTR _bAudioIF$140068[ebp], 3

; 334  :             break;

  001b7	eb 4b		 jmp	 SHORT $LN17@TunerSet@4
$LN10@TunerSet@4:

; 335  :         case VIDEOFORMAT_SECAM_L:
; 336  :             bVideoIF     = TDA9887_VideoIF_38_90;

  001b9	c6 45 f6 08	 mov	 BYTE PTR _bVideoIF$140067[ebp], 8

; 337  :             bAudioIF     = TDA9887_AudioIF_6_5;

  001bd	c6 45 fb 03	 mov	 BYTE PTR _bAudioIF$140068[ebp], 3

; 338  :             break;

  001c1	eb 41		 jmp	 SHORT $LN17@TunerSet@4
$LN9@TunerSet@4:

; 339  :         case VIDEOFORMAT_SECAM_L1:
; 340  :             bVideoIF     = TDA9887_VideoIF_33_90;

  001c3	c6 45 f6 10	 mov	 BYTE PTR _bVideoIF$140067[ebp], 16 ; 00000010H

; 341  :             bAudioIF     = TDA9887_AudioIF_6_5;

  001c7	c6 45 fb 03	 mov	 BYTE PTR _bAudioIF$140068[ebp], 3

; 342  :             break;

  001cb	eb 37		 jmp	 SHORT $LN17@TunerSet@4
$LN8@TunerSet@4:

; 343  : 
; 344  :         case VIDEOFORMAT_NTSC_M:
; 345  :         case VIDEOFORMAT_NTSC_M_Japan:
; 346  :             bVideoIF     = TDA9887_VideoIF_45_75;

  001cd	c6 45 f6 04	 mov	 BYTE PTR _bVideoIF$140067[ebp], 4

; 347  :             bAudioIF     = TDA9887_AudioIF_4_5;

  001d1	c6 45 fb 00	 mov	 BYTE PTR _bAudioIF$140068[ebp], 0

; 348  :             break;

  001d5	eb 2d		 jmp	 SHORT $LN17@TunerSet@4
$LN7@TunerSet@4:

; 349  : 
; 350  :         case (VIDEOFORMAT_LASTONE+1): // FM Radio
; 351  :             if (m_CardId == 3)

  001d7	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  001da	83 79 0c 03	 cmp	 DWORD PTR [ecx+12], 3
  001de	75 0a		 jne	 SHORT $LN6@TunerSet@4

; 352  :             {
; 353  :                 // NTSC
; 354  :                 bVideoIF     = TDA9887_RadioIF_45_75;

  001e0	c6 45 f6 18	 mov	 BYTE PTR _bVideoIF$140067[ebp], 24 ; 00000018H

; 355  :                 bAudioIF     = TDA9887_AudioIF_4_5;

  001e4	c6 45 fb 00	 mov	 BYTE PTR _bAudioIF$140068[ebp], 0

; 356  :             }
; 357  :             else

  001e8	eb 08		 jmp	 SHORT $LN5@TunerSet@4
$LN6@TunerSet@4:

; 358  :             {
; 359  :                 // PAL
; 360  :                 bVideoIF     = TDA9887_RadioIF_38_90;

  001ea	c6 45 f6 1c	 mov	 BYTE PTR _bVideoIF$140067[ebp], 28 ; 0000001cH

; 361  :                 bAudioIF     = TDA9887_AudioIF_5_5;

  001ee	c6 45 fb 01	 mov	 BYTE PTR _bAudioIF$140068[ebp], 1
$LN5@TunerSet@4:

; 362  :             }
; 363  :             break;

  001f2	eb 10		 jmp	 SHORT $LN17@TunerSet@4
$LN4@TunerSet@4:

; 364  : 
; 365  :         case VIDEOFORMAT_NTSC_50:
; 366  :             ///\todo check
; 367  :             bVideoIF     = TDA9887_VideoIF_38_90;

  001f4	c6 45 f6 08	 mov	 BYTE PTR _bVideoIF$140067[ebp], 8

; 368  :             bAudioIF     = TDA9887_AudioIF_5_5;

  001f8	c6 45 fb 01	 mov	 BYTE PTR _bAudioIF$140068[ebp], 1
$LN3@TunerSet@4:

; 369  : 
; 370  :         case VIDEOFORMAT_PAL_60:
; 371  :             ///\todo check
; 372  :             bVideoIF     = TDA9887_VideoIF_45_75;

  001fc	c6 45 f6 04	 mov	 BYTE PTR _bVideoIF$140067[ebp], 4

; 373  :             bAudioIF     = TDA9887_AudioIF_5_5;

  00200	c6 45 fb 01	 mov	 BYTE PTR _bAudioIF$140068[ebp], 1
$LN17@TunerSet@4:

; 374  :             break;
; 375  : 
; 376  :         }
; 377  : 
; 378  :         bData[0] =  m_DeviceAddress;

  00204	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  00207	8a 42 08	 mov	 al, BYTE PTR [edx+8]
  0020a	a2 00 00 00 00	 mov	 BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA, al

; 379  :         bData[1] =  0;

  0020f	c6 05 01 00 00
	00 00		 mov	 BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+1, 0

; 380  : 
; 381  :         bData[2] =  bVideoTrap                   |  // B0: video trap bypass
; 382  :                     TDA9887_AutoMuteFmInactive   |  // B1: auto mute
; 383  :                     bCarrierMode                 |  // B2: InterCarrier for PAL else QSS
; 384  :                     bModulation                  |  // B3 - B4: positive AM TV for SECAM only
; 385  :                     TDA9887_ForcedMuteAudioOFF   |  // B5: forced Audio Mute (off)
; 386  :                     bOutPort1                    |  // B6: Out Port 1
; 387  :                     bOutPort2;                      // B7: Out Port 2

  00216	0f b6 4d fe	 movzx	 ecx, BYTE PTR _bVideoTrap$140075[ebp]
  0021a	0f b6 55 ff	 movzx	 edx, BYTE PTR _bCarrierMode$140072[ebp]
  0021e	0b ca		 or	 ecx, edx
  00220	0f b6 45 f7	 movzx	 eax, BYTE PTR _bModulation$140071[ebp]
  00224	0b c8		 or	 ecx, eax
  00226	0f b6 55 fc	 movzx	 edx, BYTE PTR _bOutPort1$140073[ebp]
  0022a	0b ca		 or	 ecx, edx
  0022c	0f b6 45 f8	 movzx	 eax, BYTE PTR _bOutPort2$140074[ebp]
  00230	0b c8		 or	 ecx, eax
  00232	88 0d 02 00 00
	00		 mov	 BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, cl

; 388  :         bData[3] =  bTopAdjust                   |  // C0 - C4: Top Adjust 0 == -16dB  31 == 15dB
; 389  :                     bDeEmphasis                  |  // C5: De-emphasis on/off
; 390  :                     bDeEmphVal                   |  // C6: De-emphasis 50/75 microsec
; 391  :                     TDA9887_AudioGain0;             // C7: normal audio gain

  00238	0f b6 4d f9	 movzx	 ecx, BYTE PTR _bTopAdjust$140076[ebp]
  0023c	0f b6 55 fd	 movzx	 edx, BYTE PTR _bDeEmphasis$140069[ebp]
  00240	0b ca		 or	 ecx, edx
  00242	0f b6 45 fa	 movzx	 eax, BYTE PTR _bDeEmphVal$140070[ebp]
  00246	0b c8		 or	 ecx, eax
  00248	88 0d 03 00 00
	00		 mov	 BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+3, cl

; 392  :         bData[4] =  bAudioIF                     |  // E0 - E1: Sound IF
; 393  :                     bVideoIF                     |  // E2 - E4: Video IF
; 394  :                     TDA9887_TunerGainNormal      |  // E5: Tuner gain (normal)
; 395  :                     TDA9887_Gating_18            |  // E6: Gating (18%)
; 396  :                     TDA9887_AgcOutOFF;              // E7: VAGC  (off)

  0024e	0f b6 4d fb	 movzx	 ecx, BYTE PTR _bAudioIF$140068[ebp]
  00252	0f b6 55 f6	 movzx	 edx, BYTE PTR _bVideoIF$140067[ebp]
  00256	0b ca		 or	 ecx, edx
  00258	88 0d 04 00 00
	00		 mov	 BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+4, cl
$LN40@TunerSet@4:

; 397  :     }
; 398  : 
; 399  :     if (bPreSet)

  0025e	83 7d 08 00	 cmp	 DWORD PTR _bPreSet$[ebp], 0
  00262	74 13		 je	 SHORT $LN2@TunerSet@4

; 400  :     {
; 401  :         bData[2] |= TDA9887_OutputPort2Inactive;

  00264	0f b6 05 02 00
	00 00		 movzx	 eax, BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+2
  0026b	0d 80 00 00 00	 or	 eax, 128		; 00000080H
  00270	a2 02 00 00 00	 mov	 BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, al

; 402  :     }
; 403  :     else

  00275	eb 13		 jmp	 SHORT $LN1@TunerSet@4
$LN2@TunerSet@4:

; 404  :     {
; 405  :         bData[2] &= ~TDA9887_OutputPort2Inactive;

  00277	0f b6 0d 02 00
	00 00		 movzx	 ecx, BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+2
  0027e	81 e1 7f ff ff
	ff		 and	 ecx, -129		; ffffff7fH
  00284	88 0d 02 00 00
	00		 mov	 BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, cl
$LN1@TunerSet@4:

; 406  :     }
; 407  : 
; 408  :     LOG(2,_T("TDA9885/6/7 Pinnacle: 0x%02x 0x%02x 0x%02x"), bData[2],bData[3],bData[4]);

  0028a	0f b6 15 04 00
	00 00		 movzx	 edx, BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+4
  00291	52		 push	 edx
  00292	0f b6 05 03 00
	00 00		 movzx	 eax, BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+3
  00299	50		 push	 eax
  0029a	0f b6 0d 02 00
	00 00		 movzx	 ecx, BYTE PTR ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA+2
  002a1	51		 push	 ecx
  002a2	68 00 00 00 00	 push	 OFFSET ??_C@_1FG@FCOIMGFK@?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA5?$AA?1?$AA6?$AA?1?$AA7?$AA?5?$AAP?$AAi?$AAn?$AAn?$AAa?$AAc?$AAl?$AAe?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF@
  002a7	6a 02		 push	 2
  002a9	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  002ae	83 c4 14	 add	 esp, 20			; 00000014H

; 409  : 
; 410  :     m_I2CBus->Write(bData, 5);

  002b1	6a 05		 push	 5
  002b3	68 00 00 00 00	 push	 OFFSET ?bData@?1??TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z@4PAEA
  002b8	8b 55 f0	 mov	 edx, DWORD PTR _this$[ebp]
  002bb	8b 42 04	 mov	 eax, DWORD PTR [edx+4]
  002be	8b 4d f0	 mov	 ecx, DWORD PTR _this$[ebp]
  002c1	8b 49 04	 mov	 ecx, DWORD PTR [ecx+4]
  002c4	8b 10		 mov	 edx, DWORD PTR [eax]
  002c6	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  002c9	ff d0		 call	 eax

; 411  : }

  002cb	8b e5		 mov	 esp, ebp
  002cd	5d		 pop	 ebp
  002ce	c2 08 00	 ret	 8
  002d1	8d 49 00	 npad	 3
$LN44@TunerSet@4:
  002d4	00 00 00 00	 DD	 $LN16@TunerSet@4
  002d8	00 00 00 00	 DD	 $LN15@TunerSet@4
  002dc	00 00 00 00	 DD	 $LN14@TunerSet@4
  002e0	00 00 00 00	 DD	 $LN13@TunerSet@4
  002e4	00 00 00 00	 DD	 $LN3@TunerSet@4
  002e8	00 00 00 00	 DD	 $LN12@TunerSet@4
  002ec	00 00 00 00	 DD	 $LN11@TunerSet@4
  002f0	00 00 00 00	 DD	 $LN10@TunerSet@4
  002f4	00 00 00 00	 DD	 $LN9@TunerSet@4
  002f8	00 00 00 00	 DD	 $LN8@TunerSet@4
  002fc	00 00 00 00	 DD	 $LN4@TunerSet@4
  00300	00 00 00 00	 DD	 $LN7@TunerSet@4
  00304	00 00 00 00	 DD	 $LN17@TunerSet@4
$LN43@TunerSet@4:
  00308	00		 DB	 0
  00309	01		 DB	 1
  0030a	00		 DB	 0
  0030b	00		 DB	 0
  0030c	02		 DB	 2
  0030d	03		 DB	 3
  0030e	03		 DB	 3
  0030f	04		 DB	 4
  00310	03		 DB	 3
  00311	0c		 DB	 12			; 0000000cH
  00312	05		 DB	 5
  00313	0c		 DB	 12			; 0000000cH
  00314	0c		 DB	 12			; 0000000cH
  00315	06		 DB	 6
  00316	06		 DB	 6
  00317	07		 DB	 7
  00318	08		 DB	 8
  00319	09		 DB	 9
  0031a	09		 DB	 9
  0031b	0a		 DB	 10			; 0000000aH
  0031c	0c		 DB	 12			; 0000000cH
  0031d	0c		 DB	 12			; 0000000cH
  0031e	0c		 DB	 12			; 0000000cH
  0031f	0c		 DB	 12			; 0000000cH
  00320	0c		 DB	 12			; 0000000cH
  00321	0c		 DB	 12			; 0000000cH
  00322	0c		 DB	 12			; 0000000cH
  00323	0b		 DB	 11			; 0000000bH
?TunerSet@CTDA9887Pinnacle@@UAEXHW4eVideoFormat@@@Z ENDP ; CTDA9887Pinnacle::TunerSet
_TEXT	ENDS
;	COMDAT ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
_BSS	SEGMENT
?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA DD 01H DUP (?) ; `CTDA9887::TunerSet'::`2'::$S1
_BSS	ENDS
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$0
	DD	0ffffffffH
	DD	FLAT:__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$1
	DD	0ffffffffH
	DD	FLAT:__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$2
	DD	0ffffffffH
	DD	FLAT:__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$3
	DD	0ffffffffH
	DD	FLAT:__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$4
	DD	0ffffffffH
	DD	FLAT:__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$5
	DD	0ffffffffH
	DD	FLAT:__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$6
__ehfuncinfo$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z DD 019930522H
	DD	07H
	DD	FLAT:__unwindtable$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z
_TEXT	SEGMENT
tv224 = -24						; size = 4
_this$ = -20						; size = 4
_tda9887set$ = -16					; size = 4
__$EHRec$ = -12						; size = 12
_bPreSet$ = 8						; size = 4
_VideoFormat$ = 12					; size = 4
?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z PROC	; CTDA9887::TunerSet, COMDAT
; _this$ = ecx

; 77   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 0c	 sub	 esp, 12			; 0000000cH
  00014	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00019	33 c5		 xor	 eax, ebp
  0001b	50		 push	 eax
  0001c	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001f	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00025	89 4d ec	 mov	 DWORD PTR _this$[ebp], ecx

; 78   :    static BYTE tda9887set_pal_bg[] =   {m_DeviceAddress, 0x00, 0x96, 0x70, 0x49};

  00028	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  0002d	83 e0 01	 and	 eax, 1
  00030	75 44		 jne	 SHORT $LN19@TunerSet@5
  00032	8b 0d 00 00 00
	00		 mov	 ecx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00038	83 c9 01	 or	 ecx, 1
  0003b	89 0d 00 00 00
	00		 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, ecx
  00041	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  00048	8b 55 ec	 mov	 edx, DWORD PTR _this$[ebp]
  0004b	8a 42 08	 mov	 al, BYTE PTR [edx+8]
  0004e	a2 00 00 00 00	 mov	 BYTE PTR ?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA, al
  00053	c6 05 01 00 00
	00 00		 mov	 BYTE PTR ?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+1, 0
  0005a	c6 05 02 00 00
	00 96		 mov	 BYTE PTR ?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, 150 ; 00000096H
  00061	c6 05 03 00 00
	00 70		 mov	 BYTE PTR ?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+3, 112 ; 00000070H
  00068	c6 05 04 00 00
	00 49		 mov	 BYTE PTR ?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+4, 73 ; 00000049H
  0006f	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
$LN19@TunerSet@5:

; 79   :    static BYTE tda9887set_pal_i[] =    {m_DeviceAddress, 0x00, 0x96, 0x70, 0x4a};

  00076	8b 0d 00 00 00
	00		 mov	 ecx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  0007c	83 e1 02	 and	 ecx, 2
  0007f	75 45		 jne	 SHORT $LN18@TunerSet@5
  00081	8b 15 00 00 00
	00		 mov	 edx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00087	83 ca 02	 or	 edx, 2
  0008a	89 15 00 00 00
	00		 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, edx
  00090	c7 45 fc 01 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 1
  00097	8b 45 ec	 mov	 eax, DWORD PTR _this$[ebp]
  0009a	8a 48 08	 mov	 cl, BYTE PTR [eax+8]
  0009d	88 0d 00 00 00
	00		 mov	 BYTE PTR ?tda9887set_pal_i@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA, cl
  000a3	c6 05 01 00 00
	00 00		 mov	 BYTE PTR ?tda9887set_pal_i@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+1, 0
  000aa	c6 05 02 00 00
	00 96		 mov	 BYTE PTR ?tda9887set_pal_i@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, 150 ; 00000096H
  000b1	c6 05 03 00 00
	00 70		 mov	 BYTE PTR ?tda9887set_pal_i@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+3, 112 ; 00000070H
  000b8	c6 05 04 00 00
	00 4a		 mov	 BYTE PTR ?tda9887set_pal_i@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+4, 74 ; 0000004aH
  000bf	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
$LN18@TunerSet@5:

; 80   :    static BYTE tda9887set_pal_dk[] =   {m_DeviceAddress, 0x00, 0x96, 0x70, 0x4b};

  000c6	8b 15 00 00 00
	00		 mov	 edx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  000cc	83 e2 04	 and	 edx, 4
  000cf	75 43		 jne	 SHORT $LN17@TunerSet@5
  000d1	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  000d6	83 c8 04	 or	 eax, 4
  000d9	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  000de	c7 45 fc 02 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 2
  000e5	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  000e8	8a 51 08	 mov	 dl, BYTE PTR [ecx+8]
  000eb	88 15 00 00 00
	00		 mov	 BYTE PTR ?tda9887set_pal_dk@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA, dl
  000f1	c6 05 01 00 00
	00 00		 mov	 BYTE PTR ?tda9887set_pal_dk@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+1, 0
  000f8	c6 05 02 00 00
	00 96		 mov	 BYTE PTR ?tda9887set_pal_dk@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, 150 ; 00000096H
  000ff	c6 05 03 00 00
	00 70		 mov	 BYTE PTR ?tda9887set_pal_dk@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+3, 112 ; 00000070H
  00106	c6 05 04 00 00
	00 4b		 mov	 BYTE PTR ?tda9887set_pal_dk@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+4, 75 ; 0000004bH
  0010d	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
$LN17@TunerSet@5:

; 81   :    static BYTE tda9887set_pal_l[] =    {m_DeviceAddress, 0x00, 0x86, 0x50, 0x4b};

  00114	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00119	83 e0 08	 and	 eax, 8
  0011c	75 44		 jne	 SHORT $LN16@TunerSet@5
  0011e	8b 0d 00 00 00
	00		 mov	 ecx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00124	83 c9 08	 or	 ecx, 8
  00127	89 0d 00 00 00
	00		 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, ecx
  0012d	c7 45 fc 03 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 3
  00134	8b 55 ec	 mov	 edx, DWORD PTR _this$[ebp]
  00137	8a 42 08	 mov	 al, BYTE PTR [edx+8]
  0013a	a2 00 00 00 00	 mov	 BYTE PTR ?tda9887set_pal_l@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA, al
  0013f	c6 05 01 00 00
	00 00		 mov	 BYTE PTR ?tda9887set_pal_l@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+1, 0
  00146	c6 05 02 00 00
	00 86		 mov	 BYTE PTR ?tda9887set_pal_l@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, 134 ; 00000086H
  0014d	c6 05 03 00 00
	00 50		 mov	 BYTE PTR ?tda9887set_pal_l@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+3, 80 ; 00000050H
  00154	c6 05 04 00 00
	00 4b		 mov	 BYTE PTR ?tda9887set_pal_l@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+4, 75 ; 0000004bH
  0015b	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
$LN16@TunerSet@5:

; 82   :    static BYTE tda9887set_ntsc[] =     {m_DeviceAddress, 0x00, 0x96, 0x70, 0x44};

  00162	8b 0d 00 00 00
	00		 mov	 ecx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00168	83 e1 10	 and	 ecx, 16			; 00000010H
  0016b	75 45		 jne	 SHORT $LN15@TunerSet@5
  0016d	8b 15 00 00 00
	00		 mov	 edx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00173	83 ca 10	 or	 edx, 16			; 00000010H
  00176	89 15 00 00 00
	00		 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, edx
  0017c	c7 45 fc 04 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 4
  00183	8b 45 ec	 mov	 eax, DWORD PTR _this$[ebp]
  00186	8a 48 08	 mov	 cl, BYTE PTR [eax+8]
  00189	88 0d 00 00 00
	00		 mov	 BYTE PTR ?tda9887set_ntsc@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA, cl
  0018f	c6 05 01 00 00
	00 00		 mov	 BYTE PTR ?tda9887set_ntsc@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+1, 0
  00196	c6 05 02 00 00
	00 96		 mov	 BYTE PTR ?tda9887set_ntsc@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, 150 ; 00000096H
  0019d	c6 05 03 00 00
	00 70		 mov	 BYTE PTR ?tda9887set_ntsc@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+3, 112 ; 00000070H
  001a4	c6 05 04 00 00
	00 44		 mov	 BYTE PTR ?tda9887set_ntsc@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+4, 68 ; 00000044H
  001ab	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
$LN15@TunerSet@5:

; 83   :    static BYTE tda9887set_ntsc_jp[] =  {m_DeviceAddress, 0x00, 0x96, 0x70, 0x40};

  001b2	8b 15 00 00 00
	00		 mov	 edx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  001b8	83 e2 20	 and	 edx, 32			; 00000020H
  001bb	75 43		 jne	 SHORT $LN14@TunerSet@5
  001bd	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  001c2	83 c8 20	 or	 eax, 32			; 00000020H
  001c5	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  001ca	c7 45 fc 05 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 5
  001d1	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  001d4	8a 51 08	 mov	 dl, BYTE PTR [ecx+8]
  001d7	88 15 00 00 00
	00		 mov	 BYTE PTR ?tda9887set_ntsc_jp@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA, dl
  001dd	c6 05 01 00 00
	00 00		 mov	 BYTE PTR ?tda9887set_ntsc_jp@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+1, 0
  001e4	c6 05 02 00 00
	00 96		 mov	 BYTE PTR ?tda9887set_ntsc_jp@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, 150 ; 00000096H
  001eb	c6 05 03 00 00
	00 70		 mov	 BYTE PTR ?tda9887set_ntsc_jp@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+3, 112 ; 00000070H
  001f2	c6 05 04 00 00
	00 40		 mov	 BYTE PTR ?tda9887set_ntsc_jp@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+4, 64 ; 00000040H
  001f9	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
$LN14@TunerSet@5:

; 84   :    static BYTE tda9887set_fm_radio[] = {m_DeviceAddress, 0x00, 0x8e, 0x0d, 0x77};

  00200	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00205	83 e0 40	 and	 eax, 64			; 00000040H
  00208	75 44		 jne	 SHORT $LN13@TunerSet@5
  0020a	8b 0d 00 00 00
	00		 mov	 ecx, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00210	83 c9 40	 or	 ecx, 64			; 00000040H
  00213	89 0d 00 00 00
	00		 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, ecx
  00219	c7 45 fc 06 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 6
  00220	8b 55 ec	 mov	 edx, DWORD PTR _this$[ebp]
  00223	8a 42 08	 mov	 al, BYTE PTR [edx+8]
  00226	a2 00 00 00 00	 mov	 BYTE PTR ?tda9887set_fm_radio@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA, al
  0022b	c6 05 01 00 00
	00 00		 mov	 BYTE PTR ?tda9887set_fm_radio@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+1, 0
  00232	c6 05 02 00 00
	00 8e		 mov	 BYTE PTR ?tda9887set_fm_radio@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+2, 142 ; 0000008eH
  00239	c6 05 03 00 00
	00 0d		 mov	 BYTE PTR ?tda9887set_fm_radio@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+3, 13 ; 0000000dH
  00240	c6 05 04 00 00
	00 77		 mov	 BYTE PTR ?tda9887set_fm_radio@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA+4, 119 ; 00000077H
  00247	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
$LN13@TunerSet@5:

; 85   : 
; 86   :    if (!bPreSet)

  0024e	83 7d 08 00	 cmp	 DWORD PTR _bPreSet$[ebp], 0
  00252	75 05		 jne	 SHORT $LN12@TunerSet@5

; 87   :    {
; 88   :        // only setup before tuning
; 89   :        return;

  00254	e9 a9 00 00 00	 jmp	 $LN20@TunerSet@5
$LN12@TunerSet@5:

; 90   :    }
; 91   : 
; 92   :    BYTE *tda9887set = tda9887set_pal_bg;

  00259	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _tda9887set$[ebp], OFFSET ?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA

; 93   : 
; 94   :    switch (VideoFormat)

  00260	8b 4d 0c	 mov	 ecx, DWORD PTR _VideoFormat$[ebp]
  00263	89 4d e8	 mov	 DWORD PTR tv224[ebp], ecx
  00266	83 7d e8 1b	 cmp	 DWORD PTR tv224[ebp], 27 ; 0000001bH
  0026a	77 50		 ja	 SHORT $LN10@TunerSet@5
  0026c	8b 55 e8	 mov	 edx, DWORD PTR tv224[ebp]
  0026f	0f b6 82 00 00
	00 00		 movzx	 eax, BYTE PTR $LN29@TunerSet@5[edx]
  00276	ff 24 85 00 00
	00 00		 jmp	 DWORD PTR $LN31@TunerSet@5[eax*4]
$LN9@TunerSet@5:

; 95   :    {
; 96   :     case VIDEOFORMAT_PAL_B:
; 97   :     case VIDEOFORMAT_PAL_G:
; 98   :     case VIDEOFORMAT_PAL_H:
; 99   :     case VIDEOFORMAT_PAL_N:
; 100  :     case VIDEOFORMAT_SECAM_B:
; 101  :     case VIDEOFORMAT_SECAM_G:
; 102  :     case VIDEOFORMAT_SECAM_H:
; 103  :         tda9887set = tda9887set_pal_bg;

  0027d	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _tda9887set$[ebp], OFFSET ?tda9887set_pal_bg@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA

; 104  :         break;

  00284	eb 36		 jmp	 SHORT $LN10@TunerSet@5
$LN8@TunerSet@5:

; 105  : 
; 106  :     case VIDEOFORMAT_PAL_I:
; 107  :         tda9887set = tda9887set_pal_i;

  00286	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _tda9887set$[ebp], OFFSET ?tda9887set_pal_i@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA

; 108  :         break;

  0028d	eb 2d		 jmp	 SHORT $LN10@TunerSet@5
$LN7@TunerSet@5:

; 109  : 
; 110  :     case VIDEOFORMAT_PAL_D:
; 111  :     case VIDEOFORMAT_SECAM_D:
; 112  :     case VIDEOFORMAT_SECAM_K:
; 113  :     case VIDEOFORMAT_SECAM_K1:
; 114  :         tda9887set = tda9887set_pal_dk;

  0028f	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _tda9887set$[ebp], OFFSET ?tda9887set_pal_dk@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA

; 115  :         break;

  00296	eb 24		 jmp	 SHORT $LN10@TunerSet@5
$LN6@TunerSet@5:

; 116  : 
; 117  :     case VIDEOFORMAT_SECAM_L:
; 118  :     case VIDEOFORMAT_SECAM_L1:
; 119  :         tda9887set = tda9887set_pal_l;

  00298	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _tda9887set$[ebp], OFFSET ?tda9887set_pal_l@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA

; 120  :         break;

  0029f	eb 1b		 jmp	 SHORT $LN10@TunerSet@5

; 121  : 
; 122  :     case VIDEOFORMAT_PAL_60:
; 123  :         ///\todo Video bandwidth of PAL-60?
; 124  :         break;

  002a1	eb 19		 jmp	 SHORT $LN10@TunerSet@5
$LN4@TunerSet@5:

; 125  : 
; 126  :     case VIDEOFORMAT_PAL_M:
; 127  :     case VIDEOFORMAT_PAL_N_COMBO:
; 128  :     case VIDEOFORMAT_NTSC_M:
; 129  :         tda9887set = tda9887set_ntsc;

  002a3	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _tda9887set$[ebp], OFFSET ?tda9887set_ntsc@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA

; 130  :         break;

  002aa	eb 10		 jmp	 SHORT $LN10@TunerSet@5
$LN3@TunerSet@5:

; 131  : 
; 132  :     case VIDEOFORMAT_NTSC_50:
; 133  :     case VIDEOFORMAT_NTSC_M_Japan:
; 134  :         tda9887set = tda9887set_ntsc_jp;

  002ac	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _tda9887set$[ebp], OFFSET ?tda9887set_ntsc_jp@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA

; 135  :         break;

  002b3	eb 07		 jmp	 SHORT $LN10@TunerSet@5
$LN2@TunerSet@5:

; 136  : 
; 137  :     case (VIDEOFORMAT_LASTONE+1):
; 138  :         //radio
; 139  :         tda9887set = tda9887set_fm_radio;

  002b5	c7 45 f0 00 00
	00 00		 mov	 DWORD PTR _tda9887set$[ebp], OFFSET ?tda9887set_fm_radio@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4PAEA
$LN10@TunerSet@5:

; 140  :         break;
; 141  :    }
; 142  : 
; 143  :    if (tda9887set != NULL)

  002bc	83 7d f0 00	 cmp	 DWORD PTR _tda9887set$[ebp], 0
  002c0	74 40		 je	 SHORT $LN20@TunerSet@5

; 144  :    {
; 145  :       LOG(2,_T("TDA9885/6/7: 0x%02x 0x%02x 0x%02x"), tda9887set[2],tda9887set[3],tda9887set[4]);

  002c2	8b 4d f0	 mov	 ecx, DWORD PTR _tda9887set$[ebp]
  002c5	0f b6 51 04	 movzx	 edx, BYTE PTR [ecx+4]
  002c9	52		 push	 edx
  002ca	8b 45 f0	 mov	 eax, DWORD PTR _tda9887set$[ebp]
  002cd	0f b6 48 03	 movzx	 ecx, BYTE PTR [eax+3]
  002d1	51		 push	 ecx
  002d2	8b 55 f0	 mov	 edx, DWORD PTR _tda9887set$[ebp]
  002d5	0f b6 42 02	 movzx	 eax, BYTE PTR [edx+2]
  002d9	50		 push	 eax
  002da	68 00 00 00 00	 push	 OFFSET ??_C@_1EE@DBBIILEN@?$AAT?$AAD?$AAA?$AA9?$AA8?$AA8?$AA5?$AA?1?$AA6?$AA?1?$AA7?$AA?3?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2?$AAx?$AA?5?$AA0?$AAx?$AA?$CF?$AA0?$AA2@
  002df	6a 02		 push	 2
  002e1	e8 00 00 00 00	 call	 ?LOG@@YAXHPB_WZZ	; LOG
  002e6	83 c4 14	 add	 esp, 20			; 00000014H

; 146  :       m_I2CBus->Write(tda9887set, 5);

  002e9	6a 05		 push	 5
  002eb	8b 4d f0	 mov	 ecx, DWORD PTR _tda9887set$[ebp]
  002ee	51		 push	 ecx
  002ef	8b 55 ec	 mov	 edx, DWORD PTR _this$[ebp]
  002f2	8b 42 04	 mov	 eax, DWORD PTR [edx+4]
  002f5	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  002f8	8b 49 04	 mov	 ecx, DWORD PTR [ecx+4]
  002fb	8b 10		 mov	 edx, DWORD PTR [eax]
  002fd	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  00300	ff d0		 call	 eax
$LN20@TunerSet@5:

; 147  :    }
; 148  : }

  00302	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  00305	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  0030c	59		 pop	 ecx
  0030d	8b e5		 mov	 esp, ebp
  0030f	5d		 pop	 ebp
  00310	c2 08 00	 ret	 8
  00313	90		 npad	 1
$LN31@TunerSet@5:
  00314	00 00 00 00	 DD	 $LN9@TunerSet@5
  00318	00 00 00 00	 DD	 $LN7@TunerSet@5
  0031c	00 00 00 00	 DD	 $LN8@TunerSet@5
  00320	00 00 00 00	 DD	 $LN4@TunerSet@5
  00324	00 00 00 00	 DD	 $LN6@TunerSet@5
  00328	00 00 00 00	 DD	 $LN3@TunerSet@5
  0032c	00 00 00 00	 DD	 $LN2@TunerSet@5
  00330	00 00 00 00	 DD	 $LN10@TunerSet@5
$LN29@TunerSet@5:
  00334	00		 DB	 0
  00335	01		 DB	 1
  00336	00		 DB	 0
  00337	00		 DB	 0
  00338	02		 DB	 2
  00339	03		 DB	 3
  0033a	00		 DB	 0
  0033b	07		 DB	 7
  0033c	03		 DB	 3
  0033d	00		 DB	 0
  0033e	01		 DB	 1
  0033f	00		 DB	 0
  00340	00		 DB	 0
  00341	01		 DB	 1
  00342	01		 DB	 1
  00343	04		 DB	 4
  00344	04		 DB	 4
  00345	03		 DB	 3
  00346	05		 DB	 5
  00347	05		 DB	 5
  00348	07		 DB	 7
  00349	07		 DB	 7
  0034a	07		 DB	 7
  0034b	07		 DB	 7
  0034c	07		 DB	 7
  0034d	07		 DB	 7
  0034e	07		 DB	 7
  0034f	06		 DB	 6
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$0:
  00000	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00005	83 e0 fe	 and	 eax, -2			; fffffffeH
  00008	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  0000d	c3		 ret	 0
__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$1:
  0000e	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00013	83 e0 fd	 and	 eax, -3			; fffffffdH
  00016	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  0001b	c3		 ret	 0
__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$2:
  0001c	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00021	83 e0 fb	 and	 eax, -5			; fffffffbH
  00024	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  00029	c3		 ret	 0
__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$3:
  0002a	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  0002f	83 e0 f7	 and	 eax, -9			; fffffff7H
  00032	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  00037	c3		 ret	 0
__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$4:
  00038	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  0003d	83 e0 ef	 and	 eax, -17		; ffffffefH
  00040	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  00045	c3		 ret	 0
__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$5:
  00046	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  0004b	83 e0 df	 and	 eax, -33		; ffffffdfH
  0004e	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  00053	c3		 ret	 0
__unwindfunclet$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z$6:
  00054	a1 00 00 00 00	 mov	 eax, DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA
  00059	83 e0 bf	 and	 eax, -65		; ffffffbfH
  0005c	a3 00 00 00 00	 mov	 DWORD PTR ?$S1@?1??TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z@4IA, eax
  00061	c3		 ret	 0
__ehhandler$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z:
  00062	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  00066	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00069	8b 4a f0	 mov	 ecx, DWORD PTR [edx-16]
  0006c	33 c8		 xor	 ecx, eax
  0006e	e8 00 00 00 00	 call	 @__security_check_cookie@4
  00073	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z
  00078	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?TunerSet@CTDA9887@@UAEXHW4eVideoFormat@@@Z ENDP	; CTDA9887::TunerSet
END
