OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface maya_phong
param	color	ambientColor	0 0 0		%read{54,54} %write{2147483647,-1}
param	color	_color	0.5 0.5 0.5		%read{154,154} %write{2147483647,-1}
param	float	cosinePower	20		%read{84,84} %write{2147483647,-1}
param	float	diffuse	0.80000001		%read{51,51} %write{2147483647,-1}
param	color	incandescence	0 0 0		%read{316,316} %write{2147483647,-1}
param	float	matteOpacity	1		%read{163,165} %write{2147483647,-1}
param	float	matteOpacityMode	2		%read{158,161} %write{2147483647,-1}
param	normal	normalCamera	0 0 0		%read{2,2} %write{0,0} %derivs %initexpr
param	color	specularColor	0.5 0.5 0.5		%read{90,276} %write{2147483647,-1}
param	float	reflectivity	0		%read{118,276} %write{2147483647,-1}
param	color	reflectedColor	0 0 0		%read{119,277} %write{2147483647,-1}
param	float	refractions	0		%read{188,188} %write{2147483647,-1}
param	float	refractiveIndex	1		%read{200,202} %write{2147483647,-1} %derivs
param	float	refractionLimit	6		%read{194,247} %write{2147483647,-1}
param	float	lightAbsorbance	0		%read{2147483647,-1} %write{2147483647,-1}
param	float	shadowAttenuation	0.5		%read{186,186} %write{2147483647,-1}
param	float	reflectionLimit	0		%read{126,284} %write{2147483647,-1}
param	float	translucence	0		%read{94,116} %write{2147483647,-1}
param	float	translucenceDepth	0.5		%read{2147483647,-1} %write{2147483647,-1}
param	float	translucenceFocus	0.5		%read{92,92} %write{2147483647,-1}
param	color	transparency	0 0 0		%read{164,164} %write{2147483647,-1}
param	float	reflectionBlur	0		%read{150,308} %write{2147483647,-1}
param	float	reflectionMaxDistance	0		%read{150,308} %write{2147483647,-1}
param	float	reflectionNoiseAmplitude	0		%read{135,305} %write{2147483647,-1} %derivs
param	float	reflectionNoiseFrequency	0		%read{138,302} %write{2147483647,-1} %derivs
param	float	reflectionSamples	1		%read{149,307} %write{2147483647,-1}
global	point	P	%read{30,308} %write{2147483647,-1} %derivs
global	vector	I	%read{1,255} %write{2147483647,-1} %derivs
global	normal	N	%read{0,0} %write{2147483647,-1} %derivs
global	normal	Ng	%read{11,11} %write{2147483647,-1}
global	color	C	%read{154,318} %write{155,318}
global	color	opacity	%read{166,319} %write{160,319}
global	vector	L	%read{44,103} %write{2147483647,-1}
global	color	Cl	%read{46,112} %write{2147483647,-1}
local	float	___216_IdotN	%read{208,216} %write{206,206} %derivs
local	float	___216_k	%read{212,217} %write{211,211} %derivs
local	normal	___314_Nf	%read{14,25} %write{4,24} %derivs
local	float	___314_sides	%read{7,7} %write{5,6}
local	float	___316_geometricnormal	%read{19,19} %write{17,18}
local	string	___317_orientation	%read{22,22} %write{21,21}
local	color	___319_C	%read{28,50} %write{27,49}
local	float	___320_isKeyLight	%read{28,49} %write{28,49}
local	float	___322_nondiffuse	%read{28,49} %write{28,49}
local	float	___324_focus	%read{108,109} %write{92,92}
local	color	___324_C	%read{96,116} %write{93,115}
local	float	___326_nondiffuse	%read{96,115} %write{96,115}
local	float	___327_costheta	%read{96,115} %write{96,115}
local	float	___327_a	%read{96,115} %write{96,115}
local	float	___327_trs	%read{96,115} %write{96,115}
local	color	___347_ray_coloration	%read{120,311} %write{118,276}
local	color	___347_reflected	%read{151,311} %write{119,310}
local	vector	___348_R	%read{146,308} %write{134,305} %derivs
local	point	___349_Pobj	%read{144,302} %write{143,301} %derivs
local	color	___348_trs	%read{151,309} %write{148,306}
local	color	___348_rc	%read{152,310} %write{150,308}
local	float	___350_tir	%read{233,233} %write{175,226}
local	color	___353_refractionColor	%read{229,229} %write{190,228}
local	float	___354_eta	%read{207,216} %write{200,202} %derivs
local	normal	___354_Nf	%read{206,219} %write{196,203} %derivs
local	vector	___354_refract	%read{222,227} %write{214,220} %derivs
local	vector	___358_dir	%read{228,228} %write{227,227} %derivs
local	color	___362_C	%read{66,89} %write{57,88}
local	vector	___362_R	%read{82,82} %write{65,65}
local	float	___363_isKeyLight	%read{66,88} %write{66,88}
local	float	___365_nonspecular	%read{66,88} %write{66,88}
local	vector	___366_Ln	%read{66,88} %write{66,88}
local	vector	In	%read{55,292} %write{1,1} %derivs
local	normal	Nn	%read{4,203} %write{2,2} %derivs
local	normal	Nf	%read{30,291} %write{25,25} %derivs
local	color	Cdiffuse	%read{312,312} %write{51,51}
local	color	Cambient	%read{312,312} %write{54,54}
local	color	Cspecular	%read{315,315} %write{90,90}
local	color	Ctransl	%read{313,313} %write{116,116}
local	color	Creflect	%read{315,315} %write{153,311}
local	color	refraction	%read{317,317} %write{180,232}
local	float	tir	%read{234,234} %write{233,233}
const	string	$const1	"ShadingNormal"		%read{3,3} %write{2147483647,-1}
const	int	$const2	2		%read{5,7} %write{2147483647,-1}
temp	int	$tmp1	%read{2147483647,-1} %write{6,6}
const	string	$const3	"Sides"		%read{6,6} %write{2147483647,-1}
temp	int	$tmp2	%read{8,8} %write{7,7}
const	string	$const4	"faceforward"		%read{9,10} %write{2147483647,-1}
temp	float	$tmp3	%read{12,12} %write{11,11}
const	int	$const5	0		%read{12,297} %write{2147483647,-1}
temp	int	$tmp4	%read{13,13} %write{12,12}
const	int	$const6	1		%read{17,306} %write{2147483647,-1}
temp	int	$tmp5	%read{2147483647,-1} %write{18,18}
const	string	$const7	"geometry:geometricnormal"		%read{18,18} %write{2147483647,-1}
temp	int	$tmp6	%read{20,20} %write{19,19}
temp	int	$tmp7	%read{2147483647,-1} %write{21,21}
const	string	$const8	"Ri:Orientation"		%read{21,21} %write{2147483647,-1}
const	string	$const9	"outside"		%read{22,22} %write{2147483647,-1}
temp	int	$tmp8	%read{23,23} %write{22,22}
temp	color	$tmp9	%read{51,51} %write{50,50}
const	float	$const10	0		%read{34,237} %write{2147483647,-1}
const	string	$const11	"getDiffuse"		%read{26,26} %write{2147483647,-1}
const	float	$const12	3.1415927		%read{29,69} %write{2147483647,-1}
temp	float	$tmp10	%read{30,30} %write{29,29}
const	float	$const13	2		%read{29,290} %write{2147483647,-1}
temp	int	$tmp11	%read{28,49} %write{28,49}
temp	float	$tmp12	%read{32,32} %write{31,31}
temp	int	$tmp13	%read{35,35} %write{34,34}
temp	int	$tmp14	%read{2147483647,-1} %write{37,37}
const	string	$const14	"light"		%read{37,100} %write{2147483647,-1}
const	string	$const15	"iskeylight"		%read{37,74} %write{2147483647,-1}
temp	int	$tmp15	%read{39,39} %write{38,38}
temp	int	$tmp16	%read{2147483647,-1} %write{41,41}
const	string	$const16	"__nondiffuse"		%read{41,100} %write{2147483647,-1}
temp	int	$tmp17	%read{43,43} %write{42,42}
temp	float	$tmp18	%read{46,46} %write{45,45}
temp	vector	$tmp19	%read{45,45} %write{44,44}
temp	color	$tmp20	%read{48,48} %write{46,46}
temp	float	$tmp21	%read{48,48} %write{47,47}
const	float	$const17	1		%read{47,319} %write{2147483647,-1}
temp	color	$tmp22	%read{28,49} %write{28,49}
temp	color	$tmp23	%read{54,54} %write{53,53}
const	string	$const18	"getAmbient"		%read{52,52} %write{2147483647,-1}
temp	color	$tmp24	%read{90,90} %write{89,89}
temp	vector	$tmp25	%read{58,58} %write{55,55}
const	string	$const19	"getPhong"		%read{56,56} %write{2147483647,-1}
temp	vector	$tmp26	%read{59,59} %write{58,58}
temp	vector	$tmp27	%read{62,65} %write{59,59}
temp	normal	$tmp28	%read{62,64} %write{60,60}
const	string	$const20	"reflect"		%read{61,288} %write{2147483647,-1}
temp	float	$tmp29	%read{63,63} %write{62,62}
temp	float	$tmp30	%read{64,64} %write{63,63}
temp	vector	$tmp31	%read{65,65} %write{64,64}
temp	float	$tmp32	%read{68,68} %write{67,67}
temp	int	$tmp33	%read{66,88} %write{66,88}
temp	float	$tmp34	%read{70,70} %write{69,69}
temp	int	$tmp35	%read{73,73} %write{72,72}
temp	int	$tmp36	%read{2147483647,-1} %write{74,74}
temp	int	$tmp37	%read{76,76} %write{75,75}
temp	int	$tmp38	%read{2147483647,-1} %write{78,78}
const	string	$const21	"__nonspecular"		%read{78,78} %write{2147483647,-1}
temp	int	$tmp39	%read{80,80} %write{79,79}
temp	float	$tmp40	%read{85,85} %write{84,84}
temp	float	$tmp41	%read{84,84} %write{83,83}
temp	float	$tmp42	%read{83,83} %write{82,82}
temp	color	$tmp43	%read{87,87} %write{85,85}
temp	float	$tmp44	%read{87,87} %write{86,86}
temp	color	$tmp45	%read{66,88} %write{66,88}
const	string	$const22	"getTranslucence"		%read{91,91} %write{2147483647,-1}
const	float	$const23	0.99998999		%read{92,92} %write{2147483647,-1}
temp	int	$tmp46	%read{95,95} %write{94,94}
temp	int	$tmp47	%read{96,115} %write{96,115}
temp	int	$tmp48	%read{2147483647,-1} %write{100,100}
temp	int	$tmp49	%read{102,102} %write{101,101}
temp	vector	$tmp50	%read{105,105} %write{103,103}
temp	vector	$tmp51	%read{105,105} %write{104,104}
temp	float	$tmp52	%read{107,107} %write{106,106}
const	float	$const24	0.5		%read{107,107} %write{2147483647,-1}
temp	float	$tmp53	%read{111,111} %write{108,108}
temp	float	$tmp54	%read{110,110} %write{109,109}
temp	float	$tmp55	%read{111,111} %write{110,110}
temp	color	$tmp56	%read{114,114} %write{112,112}
temp	float	$tmp57	%read{114,114} %write{113,113}
temp	color	$tmp58	%read{96,115} %write{96,115}
const	string	$const25	"getReflection"		%read{117,275} %write{2147483647,-1}
const	color	$const26	0 0 0		%read{120,278} %write{2147483647,-1}
temp	int	$tmp60	%read{121,121} %write{120,120}
temp	int	$tmp61	%read{122,129} %write{121,128}
temp	float	$tmp62	%read{126,126} %write{125,125}
const	string	$const27	"raySpecularDepth"		%read{123,281} %write{2147483647,-1}
temp	int	$tmp63	%read{125,125} %write{124,124}
temp	int	$tmp64	%read{127,127} %write{126,126}
temp	int	$tmp65	%read{128,128} %write{127,127}
temp	float	$tmp66	%read{132,132} %write{131,131} %derivs
temp	float	$tmp67	%read{133,133} %write{132,132} %derivs
temp	vector	$tmp68	%read{134,134} %write{133,133} %derivs
temp	int	$tmp69	%read{136,136} %write{135,135}
temp	int	$tmp70	%read{137,141} %write{136,140}
temp	int	$tmp71	%read{139,139} %write{138,138}
temp	int	$tmp72	%read{140,140} %write{139,139}
const	string	$const28	"object"		%read{143,301} %write{2147483647,-1}
const	string	$const29	"transform"		%read{142,300} %write{2147483647,-1}
const	string	$const30	"common"		%read{143,301} %write{2147483647,-1}
temp	float	$tmp73	%read{146,146} %write{145,145} %derivs
temp	point	$tmp74	%read{145,145} %write{144,144} %derivs
temp	vector	$tmp75	%read{147,147} %write{146,146} %derivs
const	string	$const31	"maxdist"		%read{150,308} %write{2147483647,-1}
const	string	$const32	"coneangle"		%read{150,308} %write{2147483647,-1}
const	string	$const33	"samples"		%read{150,308} %write{2147483647,-1}
temp	int	$tmp76	%read{150,150} %write{149,149}
temp	color	$tmp77	%read{155,155} %write{154,154}
const	string	$const34	"computeSurface"		%read{156,156} %write{2147483647,-1}
const	string	$const35	"computeSurfaceTransparency"		%read{157,157} %write{2147483647,-1}
temp	int	$tmp78	%read{159,159} %write{158,158}
temp	int	$tmp79	%read{162,162} %write{161,161}
temp	color	$tmp80	%read{165,165} %write{164,164}
temp	color	$tmp81	%read{168,168} %write{167,167}
temp	color	$tmp82	%read{173,173} %write{169,169}
const	float	$const36	1e+030		%read{170,170} %write{2147483647,-1}
temp	color	$tmp83	%read{172,172} %write{170,170}
const	string	$const37	"clamp"		%read{171,171} %write{2147483647,-1}
temp	color	$tmp84	%read{173,173} %write{172,172}
const	string	$const38	"doRefraction"		%read{174,174} %write{2147483647,-1}
temp	int	$tmp86	%read{177,177} %write{176,176}
temp	int	$tmp87	%read{179,179} %write{178,178}
const	string	$const39	"shadow"		%read{178,178} %write{2147483647,-1}
temp	color	$tmp88	%read{187,187} %write{186,186}
temp	color	$tmp89	%read{186,186} %write{181,181}
temp	float	$tmp90	%read{185,185} %write{184,184}
temp	float	$tmp91	%read{184,184} %write{183,183}
temp	vector	$tmp92	%read{183,183} %write{182,182}
temp	color	$tmp93	%read{186,186} %write{185,185}
temp	int	$tmp94	%read{189,189} %write{188,188}
temp	float	$tmp95	%read{194,194} %write{193,193}
temp	int	$tmp96	%read{193,193} %write{192,192}
temp	int	$tmp97	%read{195,195} %write{194,194}
temp	float	$tmp98	%read{198,198} %write{197,197}
temp	int	$tmp99	%read{199,199} %write{198,198}
temp	vector	$tmp100	%read{206,215} %write{204,204} %derivs
const	string	$const40	"refract"		%read{205,205} %write{2147483647,-1}
temp	float	$tmp101	%read{210,210} %write{207,207} %derivs
temp	float	$tmp102	%read{209,209} %write{208,208} %derivs
temp	float	$tmp103	%read{210,210} %write{209,209} %derivs
temp	float	$tmp104	%read{211,211} %write{210,210} %derivs
temp	int	$tmp105	%read{213,213} %write{212,212}
const	vector	$const41	0 0 0		%read{214,214} %write{2147483647,-1}
temp	vector	$tmp106	%read{220,220} %write{215,215} %derivs
temp	float	$tmp107	%read{218,218} %write{216,216} %derivs
temp	float	$tmp108	%read{218,218} %write{217,217} %derivs
temp	float	$tmp109	%read{219,219} %write{218,218} %derivs
temp	vector	$tmp110	%read{220,220} %write{219,219} %derivs
temp	float	$tmp111	%read{223,223} %write{222,222}
const	float	$const42	1e-006		%read{223,223} %write{2147483647,-1}
temp	int	$tmp112	%read{224,224} %write{223,223}
temp	int	$tmp113	%read{235,235} %write{234,234}
temp	color	$tmp114	%read{239,239} %write{236,236}
temp	color	$tmp115	%read{240,240} %write{237,237}
temp	int	$tmp117	%read{242,242} %write{241,241}
temp	int	$tmp118	%read{243,250} %write{242,249}
temp	float	$tmp119	%read{247,247} %write{246,246}
temp	int	$tmp120	%read{246,246} %write{245,245}
temp	int	$tmp121	%read{248,248} %write{247,247}
temp	int	$tmp122	%read{249,249} %write{248,248}
temp	float	$tmp123	%read{253,253} %write{252,252} %derivs
temp	float	$tmp124	%read{254,254} %write{253,253} %derivs
temp	vector	$tmp125	%read{255,255} %write{254,254} %derivs
temp	int	$tmp126	%read{257,257} %write{256,256}
temp	int	$tmp127	%read{258,262} %write{257,261}
temp	int	$tmp128	%read{260,260} %write{259,259}
temp	int	$tmp129	%read{261,261} %write{260,260}
temp	float	$tmp130	%read{267,267} %write{266,266} %derivs
temp	point	$tmp131	%read{266,266} %write{265,265} %derivs
temp	vector	$tmp132	%read{268,268} %write{267,267} %derivs
temp	int	$tmp133	%read{271,271} %write{270,270}
temp	int	$tmp135	%read{279,279} %write{278,278}
temp	int	$tmp136	%read{280,287} %write{279,286}
temp	float	$tmp137	%read{284,284} %write{283,283}
temp	int	$tmp138	%read{283,283} %write{282,282}
temp	int	$tmp139	%read{285,285} %write{284,284}
temp	int	$tmp140	%read{286,286} %write{285,285}
temp	float	$tmp141	%read{290,290} %write{289,289} %derivs
temp	float	$tmp142	%read{291,291} %write{290,290} %derivs
temp	vector	$tmp143	%read{292,292} %write{291,291} %derivs
temp	int	$tmp144	%read{294,294} %write{293,293}
temp	int	$tmp145	%read{295,299} %write{294,298}
temp	int	$tmp146	%read{297,297} %write{296,296}
temp	int	$tmp147	%read{298,298} %write{297,297}
temp	float	$tmp148	%read{304,304} %write{303,303} %derivs
temp	point	$tmp149	%read{303,303} %write{302,302} %derivs
temp	vector	$tmp150	%read{305,305} %write{304,304} %derivs
temp	int	$tmp151	%read{308,308} %write{307,307}
temp	color	$tmp152	%read{313,313} %write{312,312}
temp	color	$tmp153	%read{314,314} %write{313,313}
temp	color	$tmp154	%read{316,316} %write{315,315}
temp	color	$tmp155	%read{317,317} %write{316,316}
temp	color	$tmp156	%read{318,318} %write{317,317}
code normalCamera
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:16
# 	color specularColor = 0.5,
	assign		normalCamera N 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{16} %argrw{"wr"}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:40
# 	normal Nn = normalize(normalCamera);
	normalize	In I 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{40} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:41
# 	normal Nf = ShadingNormal(Nn);
	normalize	Nn normalCamera 	%line{41} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:42
# 
	functioncall	$const1 26 	%line{42} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:22
# 	normal Nf = i_N;
	assign		___314_Nf Nn 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{22} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:24
# 	float sides = 2;
	assign		___314_sides $const2 	%line{24} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:25
# 	getattribute("Sides", sides);
	getattribute	$tmp1 $const3 ___314_sides 	%line{25} %argrw{"wrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:27
# 	if( sides == 2 )
	eq		$tmp2 ___314_sides $const2 	%line{27} %argrw{"wrr"}
	if		$tmp2 17 25 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:29
# 		Nf = faceforward(Nf, I);
	functioncall	$const4 17 	%line{29} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:196
# int isnan (float x) BUILTIN;
	functioncall	$const4 17 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{196} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:192
#     return (dot(I,Nref) > 0) ? -N : N;
	dot		$tmp3 I Ng 	%line{192} %argrw{"wrr"}
	gt		$tmp4 $tmp3 $const5 	%argrw{"wrr"}
	if		$tmp4 15 16 	%argrw{"r"}
	neg		___314_Nf ___314_Nf 	%argrw{"wr"}
	assign		___314_Nf ___314_Nf 	%argrw{"wr"}
	return
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:35
# 		float geometricnormal = 1;
	assign		___316_geometricnormal $const6 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{35} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:36
# 		getattribute( "geometry:geometricnormal", geometricnormal );
	getattribute	$tmp5 $const7 ___316_geometricnormal 	%line{36} %argrw{"wrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:38
# 		if( geometricnormal == 0 )
	eq		$tmp6 ___316_geometricnormal $const5 	%line{38} %argrw{"wrr"}
	if		$tmp6 25 25 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:41
# 			getattribute( "Ri:Orientation", orientation );
	getattribute	$tmp7 $const8 ___317_orientation 	%line{41} %argrw{"wrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:42
# 			if( orientation == "outside" )
	eq		$tmp8 ___317_orientation $const9 	%line{42} %argrw{"wrr"}
	if		$tmp8 25 25 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:43
# 				Nf = -Nf;
	neg		___314_Nf ___314_Nf 	%line{43} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:47
# 	return Nf;
	assign		Nf ___314_Nf 	%line{47} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:44
# 	color Cambient = ambientColor + getAmbient(Nf);
	functioncall	$const11 51 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{44} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:66
# 	normal Nf = i_N;
	assign		___319_C $const5 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{66} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:68
# 	float sides = 2;
	for		$tmp11 31 33 50 50 	%line{68} %argrw{"r"}
	div		$tmp10 $const12 $const13 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:88
# 		}
	lights_begin	P Nf $tmp10 	%line{88} %argrw{"rrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:68
# 	lights( P, i_N, M_PI/2 )
	div		$tmp12 $const12 $const13 	%line{68} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:88
# 	}
	lights		$tmp11 P Nf $tmp12 	%line{88} %argrw{"wrrr"} %argderivs{1}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:70
# 		float isKeyLight = 1;
	assign		___320_isKeyLight $const6 	%line{70} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:72
# 		if( keyLightsOnly != 0 )
	neq		$tmp13 $const10 $const5 	%line{72} %argrw{"wrr"}
	if		$tmp13 38 38 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:74
# 			isKeyLight = 0;
	assign		___320_isKeyLight $const5 	%line{74} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:75
# 			getmessage( "light", "iskeylight", isKeyLight );
	getmessage	$tmp14 $const14 $const15 ___320_isKeyLight 	%line{75} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:78
# 		if( isKeyLight != 0 )
	neq		$tmp15 ___320_isKeyLight $const5 	%line{78} %argrw{"wrr"}
	if		$tmp15 50 50 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:80
# 			float nondiffuse = 0;
	assign		___322_nondiffuse $const5 	%line{80} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:81
# 			getmessage( "light", "__nondiffuse", nondiffuse );
	getmessage	$tmp16 $const14 $const16 ___322_nondiffuse 	%line{81} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:83
# 			if( nondiffuse < 1 )
	lt		$tmp17 ___322_nondiffuse $const6 	%line{83} %argrw{"wrr"}
	if		$tmp17 50 50 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:85
# 				C += Cl * dot(normalize(L),i_N) * (1-nondiffuse);
	normalize	$tmp19 L 	%line{85} %argrw{"wr"}
	dot		$tmp18 $tmp19 Nf 	%argrw{"wrr"}
	mul		$tmp20 Cl $tmp18 	%argrw{"wrr"}
	sub		$tmp21 $const17 ___322_nondiffuse 	%argrw{"wrr"}
	mul		$tmp22 $tmp20 $tmp21 	%argrw{"wrr"}
	add		___319_C ___319_C $tmp22 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:90
# 	return C;
	assign		$tmp9 ___319_C 	%line{90} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:44
# 	color Cambient = ambientColor + getAmbient(Nf);
	mul		Cdiffuse diffuse $tmp9 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{44} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:45
# 	color Cspecular = getPhong(Nf, -In, cosinePower, 0, 0) * specularColor;
	functioncall	$const18 54 	%line{45} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:55
# 
	ambient		$tmp23 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{55} %argrw{"w"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:45
# 	color Cspecular = getPhong(Nf, -In, cosinePower, 0, 0) * specularColor;
	add		Cambient ambientColor $tmp23 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{45} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:46
# 	color Ctransl = getTranslucence(
	neg		$tmp25 In 	%line{46} %argrw{"wr"}
	functioncall	$const19 90 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:457
# 				}
	assign		___362_C $const5 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{457} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:458
# 				else
	normalize	$tmp26 $tmp25 	%line{458} %argrw{"wr"}
	neg		$tmp27 $tmp26 	%argrw{"wr"}
	normalize	$tmp28 Nf 	%argrw{"wr"}
	functioncall	$const20 66 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:198
# vector reflect (vector I, vector N) { return I - 2*dot(N,I)*N; }
	dot		$tmp29 $tmp28 $tmp27 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{198} %argrw{"wrr"}
	mul		$tmp30 $const13 $tmp29 	%argrw{"wrr"}
	mul		$tmp31 $tmp30 $tmp28 	%argrw{"wrr"}
	sub		___362_R $tmp27 $tmp31 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:460
# 				factor = clamp(factor, 0, 1) * i_fresnel;
	for		$tmp33 69 71 89 89 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{460} %argrw{"r"}
	div		$tmp32 $const12 $const13 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:481
# 	else if(i_matteOpacityMode == 1)
	lights_begin	P Nf $tmp32 	%line{481} %argrw{"rrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:460
# 	lights( P, i_N, M_PI/2 )
	div		$tmp34 $const12 $const13 	%line{460} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:481
# 	}
	lights		$tmp33 P Nf $tmp34 	%line{481} %argrw{"wrrr"} %argderivs{1}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:462
# 		float isKeyLight = 1;
	assign		___363_isKeyLight $const6 	%line{462} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:464
# 		if( i_keyLightsOnly != 0 )
	neq		$tmp35 $const10 $const5 	%line{464} %argrw{"wrr"}
	if		$tmp35 75 75 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:466
# 			getmessage( "light", "iskeylight", isKeyLight );
	getmessage	$tmp36 $const14 $const15 ___363_isKeyLight 	%line{466} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:469
# 		if( isKeyLight != 0 )
	neq		$tmp37 ___363_isKeyLight $const5 	%line{469} %argrw{"wrr"}
	if		$tmp37 89 89 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:471
# 			float nonspecular = 0;
	assign		___365_nonspecular $const5 	%line{471} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:472
# 			getmessage( "light", "__nonspecular", nonspecular );
	getmessage	$tmp38 $const14 $const21 ___365_nonspecular 	%line{472} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:474
# 			if( nonspecular < 1 )
	lt		$tmp39 ___365_nonspecular $const6 	%line{474} %argrw{"wrr"}
	if		$tmp39 89 89 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:476
# 				vector Ln = normalize(L);
	normalize	___366_Ln L 	%line{476} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:478
# 				C += Cl * pow(max(0.0,dot(R,Ln)), i_size) * (1-nonspecular);
	dot		$tmp42 ___362_R ___366_Ln 	%line{478} %argrw{"wrr"}
	max		$tmp41 $const10 $tmp42 	%argrw{"wrr"}
	pow		$tmp40 $tmp41 cosinePower 	%argrw{"wrr"}
	mul		$tmp43 Cl $tmp40 	%argrw{"wrr"}
	sub		$tmp44 $const17 ___365_nonspecular 	%argrw{"wrr"}
	mul		$tmp45 $tmp43 $tmp44 	%argrw{"wrr"}
	add		___362_C ___362_C $tmp45 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:482
# 	return C;
	assign		$tmp24 ___362_C 	%line{482} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:46
# 	color Ctransl = getTranslucence(
	mul		Cspecular $tmp24 specularColor 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{46} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:48
# 	color Creflect = getReflection(
	functioncall	$const22 117 	%line{48} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:101
# color getAmbient( normal i_N )
	min		___324_focus translucenceFocus $const23 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{101} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:103
# 	return ambient();
	assign		___324_C $const5 	%line{103} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:105
# 
	gt		$tmp46 translucence $const10 	%line{105} %argrw{"wrr"}
	if		$tmp46 116 116 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:107
# 	Maya's diffuse function
	for		$tmp47 98 99 116 116 	%line{107} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:121
# 		{
	lights_begin	P 	%line{121} %argrw{"r"}
	lights		$tmp47 P 	%argrw{"wr"} %argderivs{1}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:109
# 			float nondiffuse = 0;
	assign		___326_nondiffuse $const5 	%line{109} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:110
# 			getmessage( "light", "__nondiffuse", nondiffuse );
	getmessage	$tmp48 $const14 $const16 ___326_nondiffuse 	%line{110} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:112
# 			if( nondiffuse < 1 )
	lt		$tmp49 ___326_nondiffuse $const6 	%line{112} %argrw{"wrr"}
	if		$tmp49 116 116 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:114
# 				float costheta = dot(normalize(L),normalize(I));
	normalize	$tmp50 L 	%line{114} %argrw{"wr"}
	normalize	$tmp51 I 	%argrw{"wr"}
	dot		___327_costheta $tmp50 $tmp51 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:115
#  				float a = (1 + costheta) * 0.5;
	add		$tmp52 $const17 ___327_costheta 	%line{115} %argrw{"wrr"}
	mul		___327_a $tmp52 $const24 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:117
#  				float trs = pow( pow(a, focus), 1/(1-focus) );
	pow		$tmp53 ___327_a ___324_focus 	%line{117} %argrw{"wrr"}
	sub		$tmp54 $const17 ___324_focus 	%argrw{"wrr"}
	div		$tmp55 $const17 $tmp54 	%argrw{"wrr"}
	pow		___327_trs $tmp53 $tmp55 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:119
#   				C += Cl * trs * (1-nondiffuse);
	mul		$tmp56 Cl ___327_trs 	%line{119} %argrw{"wrr"}
	sub		$tmp57 $const17 ___326_nondiffuse 	%argrw{"wrr"}
	mul		$tmp58 $tmp56 $tmp57 	%argrw{"wrr"}
	add		___324_C ___324_C $tmp58 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:124
# 	return C * i_translucence;
	mul		Ctransl ___324_C translucence 	%line{124} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:53
# 
	functioncall	$const25 154 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{53} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:331
# 	if(i_matteOpacityMode == 0)
	mul		___347_ray_coloration specularColor reflectivity 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{331} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:332
# 	{
	assign		___347_reflected reflectedColor 	%line{332} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:334
# 		o_outTransparency = 0;
	neq		$tmp60 ___347_ray_coloration $const26 	%line{334} %argrw{"wrr"}
	neq		$tmp61 $tmp60 $const5 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:335
# 	}
	if		$tmp61 129 129 	%line{335} %argrw{"r"}
	functioncall	$const27 126 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:315
# 	return raylevel();
	raylevel	$tmp63 	%line{315} %argrw{"w"}
	assign		$tmp62 $tmp63 	%argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:335
# 	    raySpecularDepth() < i_reflectionLimit)
	lt		$tmp64 $tmp62 reflectionLimit 	%line{335} %argrw{"wrr"}
	neq		$tmp65 $tmp64 $const5 	%argrw{"wrr"}
	assign		$tmp61 $tmp65 	%argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:334
# 	if( ray_coloration != color(0) &&
	if		$tmp61 153 153 	%line{334} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:337
# 		vector R = reflect( i_I, i_N );
	functioncall	$const20 135 	%line{337} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:198
# vector reflect (vector I, vector N) { return I - 2*dot(N,I)*N; }
	dot		$tmp66 Nf In 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{198} %argrw{"wrr"}
	mul		$tmp67 $const13 $tmp66 	%argrw{"wrr"}
	mul		$tmp68 $tmp67 Nf 	%argrw{"wrr"}
	sub		___348_R In $tmp68 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:339
# 	if(i_eccentricity != 1)
	neq		$tmp69 reflectionNoiseAmplitude $const5 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{339} %argrw{"wrr"}
	neq		$tmp70 $tmp69 $const5 	%argrw{"wrr"}
	if		$tmp70 141 141 	%argrw{"r"}
	neq		$tmp71 reflectionNoiseFrequency $const5 	%argrw{"wrr"}
	neq		$tmp72 $tmp71 $const5 	%argrw{"wrr"}
	assign		$tmp70 $tmp72 	%argrw{"wr"}
	if		$tmp70 148 148 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:341
# 	else
	functioncall	$const29 144 	%line{341} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:249
# point  transform (string to, point p)  { return transform("common",to,p); }
	transform	___349_Pobj $const30 $const28 P 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{249} %argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:342
# color getTranslucence(
	mul		$tmp74 ___349_Pobj reflectionNoiseFrequency 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{342} %argrw{"wrr"}
	noise		$tmp73 $tmp74 	%argrw{"wr"}
	mul		$tmp75 ___348_R $tmp73 	%argrw{"wrr"}
	mix		___348_R ___348_R $tmp75 reflectionNoiseAmplitude 	%argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:345
# {
	assign		___348_trs $const6 	%line{345} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:350
#  	float focus = min( i_translucenceFocus, 0.99999 );
	assign		$tmp76 reflectionSamples 	%line{350} %argrw{"wr"}
	trace		___348_rc P ___348_R $const31 reflectionMaxDistance $const32 reflectionBlur $const33 $tmp76 	%argrw{"wrrrrrrrr"} %argderivs{1,2}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:352
# 	color C = 0;
	mul		___347_reflected ___347_reflected ___348_trs 	%line{352} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:353
# 
	add		___347_reflected ___347_reflected ___348_rc 	%line{353} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:355
# 	{
	mul		Creflect ___347_reflected ___347_ray_coloration 	%line{355} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:55
# 
	mul		$tmp77 _color C 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{55} %argrw{"wrr"}
	mul		C C $tmp77 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:63
# 
	functioncall	$const34 174 	%line{63} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:307
# 
	functioncall	$const35 167 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{307} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:278
# 	if(i_matteOpacityMode == 0)
	eq		$tmp78 matteOpacityMode $const5 	%line{278} %argrw{"wrr"}
	if		$tmp78 161 166 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:281
# 		o_outTransparency = 0;
	assign		opacity $const5 	%line{281} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:283
# 	else if(i_matteOpacityMode == 1)
	eq		$tmp79 matteOpacityMode $const6 	%line{283} %argrw{"wrr"}
	if		$tmp79 164 166 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:286
# 		o_outTransparency = i_matteOpacity;
	assign		opacity matteOpacity 	%line{286} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:291
# 		o_outTransparency = (1 - i_transparency) * i_matteOpacity;
	sub		$tmp80 $const17 transparency 	%line{291} %argrw{"wrr"}
	mul		opacity $tmp80 matteOpacity 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:294
# 	o_outTransparency = 1.0 - o_outTransparency;
	sub		opacity $const17 opacity 	%line{294} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:309
# 	o_outColor = i_surfaceColor * (1 - o_outTransparency);
	sub		$tmp81 $const17 opacity 	%line{309} %argrw{"wrr"}
	mul		C C $tmp81 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:310
# 	o_outColor = clamp(o_outColor, 0, 1e30);
	assign		$tmp82 $const10 	%line{310} %argrw{"wr"}
	assign		$tmp83 $const36 	%argrw{"wr"}
	functioncall	$const37 174 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:143
# color  clamp (color x, color minval, color maxval) { return max(min(x,maxval),minval); }
	min		$tmp84 C $tmp83 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{143} %argrw{"wrr"}
	max		C $tmp84 $tmp82 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:76
# 
	functioncall	$const38 234 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{76} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:372
# 
	assign		___350_tir $const5 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{372} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:373
# void computeSurface(
	neq		$tmp86 opacity $const26 	%line{373} %argrw{"wrr"}
	if		$tmp86 232 233 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:379
# 	output color o_outTransparency
	raytype		$tmp87 $const39 	%line{379} %argrw{"wr"}
	if		$tmp87 188 232 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:381
# {
	assign		refraction $const5 	%line{381} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:383
# 		i_matteOpacityMode, i_matteOpacity, i_transparency, o_outTransparency );
	assign		$tmp89 $const17 	%line{383} %argrw{"wr"}
	normalize	$tmp92 I 	%argrw{"wr"}
	dot		$tmp91 $tmp92 Nn 	%argrw{"wrr"}
	abs		$tmp90 $tmp91 	%argrw{"wr"}
	assign		$tmp93 $tmp90 	%argrw{"wr"}
	mix		$tmp88 $tmp89 $tmp93 shadowAttenuation 	%argrw{"wrrr"}
	mul		opacity opacity $tmp88 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:385
# 	o_outColor = i_surfaceColor * (1 - o_outTransparency);
	neq		$tmp94 refractions $const5 	%line{385} %argrw{"wrr"}
	if		$tmp94 231 232 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:387
# }
	assign		___353_refractionColor $const5 	%line{387} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:389
# float raySpecularDepth()
	functioncall	$const27 194 	%line{389} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:315
# 	return raylevel();
	raylevel	$tmp96 	%line{315} %argrw{"w"}
	assign		$tmp95 $tmp96 	%argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:389
# 			if( raySpecularDepth() < i_refractionLimit )
	lt		$tmp97 $tmp95 refractionLimit 	%line{389} %argrw{"wrr"}
	if		$tmp97 229 229 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:392
# 				normal Nf = i_N;
	assign		___354_Nf Nn 	%line{392} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:394
# 				if( dot(i_I, i_N) < 0 )
	dot		$tmp98 I Nn 	%line{394} %argrw{"wrr"}
	lt		$tmp99 $tmp98 $const5 	%argrw{"wrr"}
	if		$tmp99 202 204 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:396
# 					eta = 1.0 / i_refractiveIndex;
	div		___354_eta $const17 refractiveIndex 	%line{396} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:397
# 					Nf = i_N;
	assign		___354_Nf Nn 	%line{397} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:401
# 					eta = i_refractiveIndex;
	assign		___354_eta refractiveIndex 	%line{401} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:402
# 					Nf = -i_N;
	neg		___354_Nf Nn 	%line{402} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:405
# 				vector refract = refract(normalize(i_I), Nf, eta);
	normalize	$tmp100 I 	%line{405} %argrw{"wr"}
	functioncall	$const40 222 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:200
#     float IdotN = dot (I, N);
	dot		___216_IdotN $tmp100 ___354_Nf 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{200} %argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:201
#     float k = 1 - eta*eta * (1 - IdotN*IdotN);
	mul		$tmp101 ___354_eta ___354_eta 	%line{201} %argrw{"wrr"}
	mul		$tmp102 ___216_IdotN ___216_IdotN 	%argrw{"wrr"}
	sub		$tmp103 $const17 $tmp102 	%argrw{"wrr"}
	mul		$tmp104 $tmp101 $tmp103 	%argrw{"wrr"}
	sub		___216_k $const17 $tmp104 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:202
#     return (k < 0) ? vector(0,0,0) : (eta*I - N * (eta*IdotN + sqrt(k)));
	lt		$tmp105 ___216_k $const5 	%line{202} %argrw{"wrr"}
	if		$tmp105 215 221 	%argrw{"r"}
	assign		___354_refract $const41 	%argrw{"wr"}
	mul		$tmp106 ___354_eta $tmp100 	%argrw{"wrr"}
	mul		$tmp107 ___354_eta ___216_IdotN 	%argrw{"wrr"}
	sqrt		$tmp108 ___216_k 	%argrw{"wr"}
	add		$tmp109 $tmp107 $tmp108 	%argrw{"wrr"}
	mul		$tmp110 ___354_Nf $tmp109 	%argrw{"wrr"}
	sub		___354_refract $tmp106 $tmp110 	%argrw{"wrr"}
	return
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:407
# 	float stam_anisotropy( float u, float v, float w, float rx, float ry )
	length		$tmp111 ___354_refract 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{407} %argrw{"wr"}
	le		$tmp112 $tmp111 $const42 	%argrw{"wrr"}
	if		$tmp112 227 229 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:409
# 		float w2 = w * w;
	assign		refraction $const5 	%line{409} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:410
# 		float bt = 4 * M_PI * w2 * w2 * rx * ry;
	assign		___350_tir $const17 	%line{410} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:414
# 	}
	normalize	___358_dir ___354_refract 	%line{414} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:417
# 
	trace		___353_refractionColor P ___358_dir 	%line{417} %argrw{"wrr"} %argderivs{1,2}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:421
# 
	mul		refraction opacity ___353_refractionColor 	%line{421} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:422
# 	float rx = i_roughness / i_spreadx;
	assign		opacity $const5 	%line{422} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:426
# 	color ClnoShadow = 0;
	assign		refraction $const5 	%line{426} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:431
# 		float isKeyLight = 1;
	assign		refraction $const5 	%line{431} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:434
# 		{
	assign		tir ___350_tir 	%line{434} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:78
# 	{
	gt		$tmp113 tir $const5 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{78} %argrw{"wrr"}
	if		$tmp113 275 312 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:87
# 	}
	assign		$tmp114 $const17 	%line{87} %argrw{"wr"}
	assign		$tmp115 $const10 	%argrw{"wr"}
	functioncall	$const25 275 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:331
# 
	mul		___347_ray_coloration $tmp114 $const17 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{331} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:332
# 				float costheta1 = dot(Ln,i_N);
	assign		___347_reflected $tmp115 	%line{332} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:334
# 
	neq		$tmp117 ___347_ray_coloration $const26 	%line{334} %argrw{"wrr"}
	neq		$tmp118 $tmp117 $const5 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:335
# 				float v = dot(V,i_xdir);
	if		$tmp118 250 250 	%line{335} %argrw{"r"}
	functioncall	$const27 247 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:315
# 	return raylevel();
	raylevel	$tmp120 	%line{315} %argrw{"w"}
	assign		$tmp119 $tmp120 	%argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:335
# 	    raySpecularDepth() < i_reflectionLimit)
	lt		$tmp121 $tmp119 refractionLimit 	%line{335} %argrw{"wrr"}
	neq		$tmp122 $tmp121 $const5 	%argrw{"wrr"}
	assign		$tmp118 $tmp122 	%argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:334
# 	if( ray_coloration != color(0) &&
	if		$tmp118 274 274 	%line{334} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:337
# 		vector R = reflect( i_I, i_N );
	functioncall	$const20 256 	%line{337} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:198
# vector reflect (vector I, vector N) { return I - 2*dot(N,I)*N; }
	dot		$tmp123 Nf I 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{198} %argrw{"wrr"}
	mul		$tmp124 $const13 $tmp123 	%argrw{"wrr"}
	mul		$tmp125 $tmp124 Nf 	%argrw{"wrr"}
	sub		___348_R I $tmp125 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:339
# 	if(i_eccentricity != 1)
	neq		$tmp126 reflectionNoiseAmplitude $const5 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{339} %argrw{"wrr"}
	neq		$tmp127 $tmp126 $const5 	%argrw{"wrr"}
	if		$tmp127 262 262 	%argrw{"r"}
	neq		$tmp128 reflectionNoiseFrequency $const5 	%argrw{"wrr"}
	neq		$tmp129 $tmp128 $const5 	%argrw{"wrr"}
	assign		$tmp127 $tmp129 	%argrw{"wr"}
	if		$tmp127 269 269 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:341
# 	else
	functioncall	$const29 265 	%line{341} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:249
# point  transform (string to, point p)  { return transform("common",to,p); }
	transform	___349_Pobj $const30 $const28 P 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{249} %argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:342
# color getTranslucence(
	mul		$tmp131 ___349_Pobj reflectionNoiseFrequency 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{342} %argrw{"wrr"}
	noise		$tmp130 $tmp131 	%argrw{"wr"}
	mul		$tmp132 ___348_R $tmp130 	%argrw{"wrr"}
	mix		___348_R ___348_R $tmp132 reflectionNoiseAmplitude 	%argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:345
# {
	assign		___348_trs $const6 	%line{345} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:350
#  	float focus = min( i_translucenceFocus, 0.99999 );
	assign		$tmp133 reflectionSamples 	%line{350} %argrw{"wr"}
	trace		___348_rc P ___348_R $const31 reflectionMaxDistance $const32 reflectionBlur $const33 $tmp133 	%argrw{"wrrrrrrrr"} %argderivs{1,2}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:352
# 	color C = 0;
	mul		___347_reflected ___347_reflected ___348_trs 	%line{352} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:353
# 
	add		___347_reflected ___347_reflected ___348_rc 	%line{353} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:355
# 	{
	mul		Creflect ___347_reflected ___347_ray_coloration 	%line{355} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:95
# 	}
	functioncall	$const25 312 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{95} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:331
# 		if( isKeyLight != 0 )
	mul		___347_ray_coloration specularColor reflectivity 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{331} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:332
# 		{
	assign		___347_reflected reflectedColor 	%line{332} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:334
# 			getmessage( "light", "__nonspecular", nonspecular );
	neq		$tmp135 ___347_ray_coloration $const26 	%line{334} %argrw{"wrr"}
	neq		$tmp136 $tmp135 $const5 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:335
# 
	if		$tmp136 287 287 	%line{335} %argrw{"r"}
	functioncall	$const27 284 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:315
# 	return raylevel();
	raylevel	$tmp138 	%line{315} %argrw{"w"}
	assign		$tmp137 $tmp138 	%argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:335
# 	    raySpecularDepth() < i_reflectionLimit)
	lt		$tmp139 $tmp137 reflectionLimit 	%line{335} %argrw{"wrr"}
	neq		$tmp140 $tmp139 $const5 	%argrw{"wrr"}
	assign		$tmp136 $tmp140 	%argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:334
# 	if( ray_coloration != color(0) &&
	if		$tmp136 311 311 	%line{334} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:337
# 		vector R = reflect( i_I, i_N );
	functioncall	$const20 293 	%line{337} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:198
# vector reflect (vector I, vector N) { return I - 2*dot(N,I)*N; }
	dot		$tmp141 Nf In 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{198} %argrw{"wrr"}
	mul		$tmp142 $const13 $tmp141 	%argrw{"wrr"}
	mul		$tmp143 $tmp142 Nf 	%argrw{"wrr"}
	sub		___348_R In $tmp143 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:339
# 	if(i_eccentricity != 1)
	neq		$tmp144 reflectionNoiseAmplitude $const5 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{339} %argrw{"wrr"}
	neq		$tmp145 $tmp144 $const5 	%argrw{"wrr"}
	if		$tmp145 299 299 	%argrw{"r"}
	neq		$tmp146 reflectionNoiseFrequency $const5 	%argrw{"wrr"}
	neq		$tmp147 $tmp146 $const5 	%argrw{"wrr"}
	assign		$tmp145 $tmp147 	%argrw{"wr"}
	if		$tmp145 306 306 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:341
# 	else
	functioncall	$const29 302 	%line{341} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:249
# point  transform (string to, point p)  { return transform("common",to,p); }
	transform	___349_Pobj $const30 $const28 P 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{249} %argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:342
# color getTranslucence(
	mul		$tmp149 ___349_Pobj reflectionNoiseFrequency 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{342} %argrw{"wrr"}
	noise		$tmp148 $tmp149 	%argrw{"wr"}
	mul		$tmp150 ___348_R $tmp148 	%argrw{"wrr"}
	mix		___348_R ___348_R $tmp150 reflectionNoiseAmplitude 	%argrw{"wrrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:345
# {
	assign		___348_trs $const6 	%line{345} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:350
#  	float focus = min( i_translucenceFocus, 0.99999 );
	assign		$tmp151 reflectionSamples 	%line{350} %argrw{"wr"}
	trace		___348_rc P ___348_R $const31 reflectionMaxDistance $const32 reflectionBlur $const33 $tmp151 	%argrw{"wrrrrrrrr"} %argderivs{1,2}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:352
# 	color C = 0;
	mul		___347_reflected ___347_reflected ___348_trs 	%line{352} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:353
# 
	add		___347_reflected ___347_reflected ___348_rc 	%line{353} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:355
# 	{
	mul		Creflect ___347_reflected ___347_ray_coloration 	%line{355} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:98
# 	C += Creflect + Cspecular + incandescence + refraction;
	add		$tmp152 Cdiffuse Cambient 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl"} %line{98} %argrw{"wrr"}
	add		$tmp153 $tmp152 Ctransl 	%argrw{"wrr"}
	mul		C C $tmp153 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:99
# 	opacity = 1 - opacity;
	add		$tmp154 Creflect Cspecular 	%line{99} %argrw{"wrr"}
	add		$tmp155 $tmp154 incandescence 	%argrw{"wrr"}
	add		$tmp156 $tmp155 refraction 	%argrw{"wrr"}
	add		C C $tmp156 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_phong.osl:100
# }
	sub		opacity $const17 opacity 	%line{100} %argrw{"wrr"}
	end
