OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface maya_lambert
param	color	ambientColor	0 0 0		%read{27,27} %write{2147483647,-1}
param	color	_color	0.5 0.5 0.5		%read{80,80} %write{2147483647,-1}
param	float	diffuse	0.80000001		%read{53,53} %write{2147483647,-1}
param	color	incandescence	0 0 0		%read{162,162} %write{2147483647,-1}
param	float	matteOpacityMode	2		%read{83,86} %write{2147483647,-1}
param	float	matteOpacity	1		%read{88,90} %write{2147483647,-1}
param	float	refractions	0		%read{113,113} %write{2147483647,-1}
param	float	refractiveIndex	1		%read{125,127} %write{2147483647,-1} %derivs
param	float	refractionLimit	6		%read{119,119} %write{2147483647,-1}
param	float	lightAbsorbance	0		%read{2147483647,-1} %write{2147483647,-1}
param	float	shadowAttenuation	0.5		%read{111,111} %write{2147483647,-1}
param	normal	normalCamera	0 0 0		%read{1,1} %write{0,0} %derivs %initexpr
param	color	transparency	0 0 0		%read{89,89} %write{2147483647,-1}
param	float	translucence	0		%read{57,79} %write{2147483647,-1}
param	float	translucenceFocus	0.5		%read{55,55} %write{2147483647,-1}
param	float	translucenceDepth	0.5		%read{2147483647,-1} %write{2147483647,-1}
global	point	P	%read{32,153} %write{2147483647,-1} %derivs
global	vector	I	%read{10,129} %write{2147483647,-1} %derivs
global	normal	N	%read{0,0} %write{2147483647,-1} %derivs
global	normal	Ng	%read{10,10} %write{2147483647,-1}
global	color	C	%read{80,161} %write{80,163}
global	color	opacity	%read{91,164} %write{85,164}
global	vector	L	%read{46,66} %write{2147483647,-1}
global	color	Cl	%read{48,75} %write{2147483647,-1}
local	float	___216_IdotN	%read{133,141} %write{131,131} %derivs
local	float	___216_k	%read{137,142} %write{136,136} %derivs
local	normal	___314_Nf	%read{13,24} %write{3,23}
local	float	___314_sides	%read{6,6} %write{4,5}
local	float	___316_geometricnormal	%read{18,18} %write{16,17}
local	string	___317_orientation	%read{21,21} %write{20,20}
local	color	___319_C	%read{30,52} %write{29,51}
local	float	___320_isKeyLight	%read{30,51} %write{30,51}
local	float	___322_nondiffuse	%read{30,51} %write{30,51}
local	float	___324_focus	%read{71,72} %write{55,55}
local	color	___324_C	%read{59,79} %write{56,78}
local	float	___326_nondiffuse	%read{59,78} %write{59,78}
local	float	___327_costheta	%read{59,78} %write{59,78}
local	float	___327_a	%read{59,78} %write{59,78}
local	float	___327_trs	%read{59,78} %write{59,78}
local	float	___350_tir	%read{158,158} %write{100,151}
local	color	___353_refractionColor	%read{154,154} %write{115,153}
local	float	___354_eta	%read{132,141} %write{125,127} %derivs
local	normal	___354_Nf	%read{131,144} %write{121,128} %derivs
local	vector	___354_refract	%read{147,152} %write{139,145} %derivs
local	vector	___358_dir	%read{153,153} %write{152,152} %derivs
local	normal	Nn	%read{3,128} %write{1,1} %derivs
local	normal	Nf	%read{32,47} %write{24,24}
local	color	Ia	%read{159,159} %write{27,27}
local	color	Id	%read{159,159} %write{53,53}
local	color	Itr	%read{160,160} %write{79,79}
local	color	refraction	%read{163,163} %write{105,157}
const	string	$const1	"ShadingNormal"		%read{2,2} %write{2147483647,-1}
const	int	$const2	2		%read{4,6} %write{2147483647,-1}
temp	int	$tmp1	%read{2147483647,-1} %write{5,5}
const	string	$const3	"Sides"		%read{5,5} %write{2147483647,-1}
temp	int	$tmp2	%read{7,7} %write{6,6}
const	string	$const4	"faceforward"		%read{8,9} %write{2147483647,-1}
temp	float	$tmp3	%read{11,11} %write{10,10}
const	int	$const5	0		%read{11,157} %write{2147483647,-1}
temp	int	$tmp4	%read{12,12} %write{11,11}
const	int	$const6	1		%read{16,86} %write{2147483647,-1}
temp	int	$tmp5	%read{2147483647,-1} %write{17,17}
const	string	$const7	"geometry:geometricnormal"		%read{17,17} %write{2147483647,-1}
temp	int	$tmp6	%read{19,19} %write{18,18}
temp	int	$tmp7	%read{2147483647,-1} %write{20,20}
const	string	$const8	"Ri:Orientation"		%read{20,20} %write{2147483647,-1}
const	string	$const9	"outside"		%read{21,21} %write{2147483647,-1}
temp	int	$tmp8	%read{22,22} %write{21,21}
temp	color	$tmp9	%read{27,27} %write{26,26}
const	string	$const10	"getAmbient"		%read{25,25} %write{2147483647,-1}
temp	color	$tmp10	%read{53,53} %write{52,52}
const	float	$const11	0		%read{36,94} %write{2147483647,-1}
const	string	$const12	"getDiffuse"		%read{28,28} %write{2147483647,-1}
const	float	$const13	3.1415927		%read{31,33} %write{2147483647,-1}
temp	float	$tmp11	%read{32,32} %write{31,31}
const	float	$const14	2		%read{31,33} %write{2147483647,-1}
temp	int	$tmp12	%read{30,51} %write{30,51}
temp	float	$tmp13	%read{34,34} %write{33,33}
temp	int	$tmp14	%read{37,37} %write{36,36}
temp	int	$tmp15	%read{2147483647,-1} %write{39,39}
const	string	$const15	"light"		%read{39,63} %write{2147483647,-1}
const	string	$const16	"iskeylight"		%read{39,39} %write{2147483647,-1}
temp	int	$tmp16	%read{41,41} %write{40,40}
temp	int	$tmp17	%read{2147483647,-1} %write{43,43}
const	string	$const17	"__nondiffuse"		%read{43,63} %write{2147483647,-1}
temp	int	$tmp18	%read{45,45} %write{44,44}
temp	float	$tmp19	%read{48,48} %write{47,47}
temp	vector	$tmp20	%read{47,47} %write{46,46}
temp	color	$tmp21	%read{50,50} %write{48,48}
temp	float	$tmp22	%read{50,50} %write{49,49}
const	float	$const18	1		%read{49,164} %write{2147483647,-1}
temp	color	$tmp23	%read{30,51} %write{30,51}
const	string	$const19	"getTranslucence"		%read{54,54} %write{2147483647,-1}
const	float	$const20	0.99998999		%read{55,55} %write{2147483647,-1}
temp	int	$tmp24	%read{58,58} %write{57,57}
temp	int	$tmp25	%read{59,78} %write{59,78}
temp	int	$tmp26	%read{2147483647,-1} %write{63,63}
temp	int	$tmp27	%read{65,65} %write{64,64}
temp	vector	$tmp28	%read{68,68} %write{66,66}
temp	vector	$tmp29	%read{68,68} %write{67,67}
temp	float	$tmp30	%read{70,70} %write{69,69}
const	float	$const21	0.5		%read{70,70} %write{2147483647,-1}
temp	float	$tmp31	%read{74,74} %write{71,71}
temp	float	$tmp32	%read{73,73} %write{72,72}
temp	float	$tmp33	%read{74,74} %write{73,73}
temp	color	$tmp34	%read{77,77} %write{75,75}
temp	float	$tmp35	%read{77,77} %write{76,76}
temp	color	$tmp36	%read{59,78} %write{59,78}
const	string	$const22	"computeSurface"		%read{81,81} %write{2147483647,-1}
const	string	$const23	"computeSurfaceTransparency"		%read{82,82} %write{2147483647,-1}
temp	int	$tmp37	%read{84,84} %write{83,83}
temp	int	$tmp38	%read{87,87} %write{86,86}
temp	color	$tmp39	%read{90,90} %write{89,89}
temp	color	$tmp40	%read{93,93} %write{92,92}
temp	color	$tmp41	%read{98,98} %write{94,94}
const	float	$const24	1e+030		%read{95,95} %write{2147483647,-1}
temp	color	$tmp42	%read{97,97} %write{95,95}
const	string	$const25	"clamp"		%read{96,96} %write{2147483647,-1}
temp	color	$tmp43	%read{98,98} %write{97,97}
temp	float	$tmp44	%read{2147483647,-1} %write{158,158}
const	string	$const26	"doRefraction"		%read{99,99} %write{2147483647,-1}
const	color	$const27	0 0 0		%read{101,101} %write{2147483647,-1}
temp	int	$tmp46	%read{102,102} %write{101,101}
temp	int	$tmp47	%read{104,104} %write{103,103}
const	string	$const28	"shadow"		%read{103,103} %write{2147483647,-1}
temp	color	$tmp48	%read{112,112} %write{111,111}
temp	color	$tmp49	%read{111,111} %write{106,106}
temp	float	$tmp50	%read{110,110} %write{109,109}
temp	float	$tmp51	%read{109,109} %write{108,108}
temp	vector	$tmp52	%read{108,108} %write{107,107}
temp	color	$tmp53	%read{111,111} %write{110,110}
temp	int	$tmp54	%read{114,114} %write{113,113}
temp	float	$tmp55	%read{119,119} %write{118,118}
const	string	$const29	"raySpecularDepth"		%read{116,116} %write{2147483647,-1}
temp	int	$tmp56	%read{118,118} %write{117,117}
temp	int	$tmp57	%read{120,120} %write{119,119}
temp	float	$tmp58	%read{123,123} %write{122,122}
temp	int	$tmp59	%read{124,124} %write{123,123}
temp	vector	$tmp60	%read{131,140} %write{129,129} %derivs
const	string	$const30	"refract"		%read{130,130} %write{2147483647,-1}
temp	float	$tmp61	%read{135,135} %write{132,132} %derivs
temp	float	$tmp62	%read{134,134} %write{133,133} %derivs
temp	float	$tmp63	%read{135,135} %write{134,134} %derivs
temp	float	$tmp64	%read{136,136} %write{135,135} %derivs
temp	int	$tmp65	%read{138,138} %write{137,137}
const	vector	$const31	0 0 0		%read{139,139} %write{2147483647,-1}
temp	vector	$tmp66	%read{145,145} %write{140,140} %derivs
temp	float	$tmp67	%read{143,143} %write{141,141} %derivs
temp	float	$tmp68	%read{143,143} %write{142,142} %derivs
temp	float	$tmp69	%read{144,144} %write{143,143} %derivs
temp	vector	$tmp70	%read{145,145} %write{144,144} %derivs
temp	float	$tmp71	%read{148,148} %write{147,147}
const	float	$const32	1e-006		%read{148,148} %write{2147483647,-1}
temp	int	$tmp72	%read{149,149} %write{148,148}
temp	color	$tmp73	%read{160,160} %write{159,159}
temp	color	$tmp74	%read{161,161} %write{160,160}
temp	color	$tmp75	%read{162,162} %write{161,161}
temp	color	$tmp76	%read{163,163} %write{162,162}
code normalCamera
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:23
# 	color transparency = 0,
	assign		normalCamera N 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl"} %line{23} %argrw{"wr"}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:35
# 	normal Nf = ShadingNormal(Nn);
	normalize	Nn normalCamera 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl"} %line{35} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:36
# 
	functioncall	$const1 25 	%line{36} %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 16 24 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:29
# 		Nf = faceforward(Nf, I);
	functioncall	$const4 16 	%line{29} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:196
# int isnan (float x) BUILTIN;
	functioncall	$const4 16 	%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 14 15 	%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 24 24 	%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 24 24 	%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_lambert.osl:38
# 	color Id = diffuse * getDiffuse(Nf, 0, 0);
	functioncall	$const10 27 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl"} %line{38} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:55
# 	that we don't explicitely check for double-sided shading as it also sets
	ambient		$tmp9 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{55} %argrw{"w"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:38
# 	color Id = diffuse * getDiffuse(Nf, 0, 0);
	add		Ia ambientColor $tmp9 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl"} %line{38} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:39
# 	color Itr = getTranslucence(
	functioncall	$const12 53 	%line{39} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:66
# 	if( sides == 2 )
	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
# 		Nf = faceforward(Nf, I);
	for		$tmp12 33 35 52 52 	%line{68} %argrw{"r"}
	div		$tmp11 $const13 $const14 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:88
# 
	lights_begin	P Nf $tmp11 	%line{88} %argrw{"rrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:68
# 	lights( P, i_N, M_PI/2 )
	div		$tmp13 $const13 $const14 	%line{68} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:88
# 	}
	lights		$tmp12 P Nf $tmp13 	%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		$tmp14 $const11 $const5 	%line{72} %argrw{"wrr"}
	if		$tmp14 40 40 	%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	$tmp15 $const15 $const16 ___320_isKeyLight 	%line{75} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:78
# 		if( isKeyLight != 0 )
	neq		$tmp16 ___320_isKeyLight $const5 	%line{78} %argrw{"wrr"}
	if		$tmp16 52 52 	%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	$tmp17 $const15 $const17 ___322_nondiffuse 	%line{81} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:83
# 			if( nondiffuse < 1 )
	lt		$tmp18 ___322_nondiffuse $const6 	%line{83} %argrw{"wrr"}
	if		$tmp18 52 52 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:85
# 				C += Cl * dot(normalize(L),i_N) * (1-nondiffuse);
	normalize	$tmp20 L 	%line{85} %argrw{"wr"}
	dot		$tmp19 $tmp20 Nf 	%argrw{"wrr"}
	mul		$tmp21 Cl $tmp19 	%argrw{"wrr"}
	sub		$tmp22 $const18 ___322_nondiffuse 	%argrw{"wrr"}
	mul		$tmp23 $tmp21 $tmp22 	%argrw{"wrr"}
	add		___319_C ___319_C $tmp23 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:90
# 	return C;
	assign		$tmp10 ___319_C 	%line{90} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:39
# 	color Itr = getTranslucence(
	mul		Id diffuse $tmp10 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl"} %line{39} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:41
# 
	functioncall	$const19 80 	%line{41} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:101
# */
	min		___324_focus translucenceFocus $const20 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{101} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:103
# 	normal i_N, 
	assign		___324_C $const5 	%line{103} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:105
# 	float unshadowed )
	gt		$tmp24 translucence $const11 	%line{105} %argrw{"wrr"}
	if		$tmp24 79 79 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:107
# 	color C = 0;
	for		$tmp25 61 62 79 79 	%line{107} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:121
# 			float nondiffuse = 0;
	lights_begin	P 	%line{121} %argrw{"r"}
	lights		$tmp25 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	$tmp26 $const15 $const17 ___326_nondiffuse 	%line{110} %argrw{"wrrw"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:112
# 			if( nondiffuse < 1 )
	lt		$tmp27 ___326_nondiffuse $const6 	%line{112} %argrw{"wrr"}
	if		$tmp27 79 79 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:114
# 				float costheta = dot(normalize(L),normalize(I));
	normalize	$tmp28 L 	%line{114} %argrw{"wr"}
	normalize	$tmp29 I 	%argrw{"wr"}
	dot		___327_costheta $tmp28 $tmp29 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:115
#  				float a = (1 + costheta) * 0.5;
	add		$tmp30 $const18 ___327_costheta 	%line{115} %argrw{"wrr"}
	mul		___327_a $tmp30 $const21 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:117
#  				float trs = pow( pow(a, focus), 1/(1-focus) );
	pow		$tmp31 ___327_a ___324_focus 	%line{117} %argrw{"wrr"}
	sub		$tmp32 $const18 ___324_focus 	%argrw{"wrr"}
	div		$tmp33 $const18 $tmp32 	%argrw{"wrr"}
	pow		___327_trs $tmp31 $tmp33 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:119
#   				C += Cl * trs * (1-nondiffuse);
	mul		$tmp34 Cl ___327_trs 	%line{119} %argrw{"wrr"}
	sub		$tmp35 $const18 ___326_nondiffuse 	%argrw{"wrr"}
	mul		$tmp36 $tmp34 $tmp35 	%argrw{"wrr"}
	add		___324_C ___324_C $tmp36 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:124
# 	return C * i_translucence;
	mul		Itr ___324_C translucence 	%line{124} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:43
# 
	mul		C C _color 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl"} %line{43} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:51
# 
	functioncall	$const22 99 	%line{51} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:307
# 
	functioncall	$const23 92 	%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		$tmp37 matteOpacityMode $const5 	%line{278} %argrw{"wrr"}
	if		$tmp37 86 91 	%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		$tmp38 matteOpacityMode $const6 	%line{283} %argrw{"wrr"}
	if		$tmp38 89 91 	%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		$tmp39 $const18 transparency 	%line{291} %argrw{"wrr"}
	mul		opacity $tmp39 matteOpacity 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:294
# 	o_outTransparency = 1.0 - o_outTransparency;
	sub		opacity $const18 opacity 	%line{294} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:309
# 	o_outColor = i_surfaceColor * (1 - o_outTransparency);
	sub		$tmp40 $const18 opacity 	%line{309} %argrw{"wrr"}
	mul		C C $tmp40 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:310
# 	o_outColor = clamp(o_outColor, 0, 1e30);
	assign		$tmp41 $const11 	%line{310} %argrw{"wr"}
	assign		$tmp42 $const24 	%argrw{"wr"}
	functioncall	$const25 99 	%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		$tmp43 C $tmp42 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{143} %argrw{"wrr"}
	max		C $tmp43 $tmp41 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:65
# 
	functioncall	$const26 159 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl"} %line{65} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:372
# 		i_matteOpacityMode, i_matteOpacity, i_transparency, o_outTransparency );
	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
# 
	neq		$tmp46 opacity $const27 	%line{373} %argrw{"wrr"}
	if		$tmp46 157 158 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:379
# {
	raytype		$tmp47 $const28 	%line{379} %argrw{"wr"}
	if		$tmp47 113 157 	%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
# color getReflection(
	assign		$tmp49 $const18 	%line{383} %argrw{"wr"}
	normalize	$tmp52 I 	%argrw{"wr"}
	dot		$tmp51 $tmp52 Nn 	%argrw{"wrr"}
	abs		$tmp50 $tmp51 	%argrw{"wr"}
	assign		$tmp53 $tmp50 	%argrw{"wr"}
	mix		$tmp48 $tmp49 $tmp53 shadowAttenuation 	%argrw{"wrrr"}
	mul		opacity opacity $tmp48 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:385
# 	vector i_I,
	neq		$tmp54 refractions $const5 	%line{385} %argrw{"wrr"}
	if		$tmp54 156 157 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:387
# 	float i_reflectivity,
	assign		___353_refractionColor $const5 	%line{387} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:389
# 	float i_maxDistance,
	functioncall	$const29 119 	%line{389} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:315
# 	return raylevel();
	raylevel	$tmp56 	%line{315} %argrw{"w"}
	assign		$tmp55 $tmp56 	%argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:389
# 			if( raySpecularDepth() < i_refractionLimit )
	lt		$tmp57 $tmp55 refractionLimit 	%line{389} %argrw{"wrr"}
	if		$tmp57 154 154 	%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		$tmp58 I Nn 	%line{394} %argrw{"wrr"}
	lt		$tmp59 $tmp58 $const5 	%argrw{"wrr"}
	if		$tmp59 127 129 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\shading_utils.h:396
# 					eta = 1.0 / i_refractiveIndex;
	div		___354_eta $const18 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	$tmp60 I 	%line{405} %argrw{"wr"}
	functioncall	$const30 147 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:200
#     float IdotN = dot (I, N);
	dot		___216_IdotN $tmp60 ___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		$tmp61 ___354_eta ___354_eta 	%line{201} %argrw{"wrr"}
	mul		$tmp62 ___216_IdotN ___216_IdotN 	%argrw{"wrr"}
	sub		$tmp63 $const18 $tmp62 	%argrw{"wrr"}
	mul		$tmp64 $tmp61 $tmp63 	%argrw{"wrr"}
	sub		___216_k $const18 $tmp64 	%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		$tmp65 ___216_k $const5 	%line{202} %argrw{"wrr"}
	if		$tmp65 140 146 	%argrw{"r"}
	assign		___354_refract $const31 	%argrw{"wr"}
	mul		$tmp66 ___354_eta $tmp60 	%argrw{"wrr"}
	mul		$tmp67 ___354_eta ___216_IdotN 	%argrw{"wrr"}
	sqrt		$tmp68 ___216_k 	%argrw{"wr"}
	add		$tmp69 $tmp67 $tmp68 	%argrw{"wrr"}
	mul		$tmp70 ___354_Nf $tmp69 	%argrw{"wrr"}
	sub		___354_refract $tmp66 $tmp70 	%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		$tmp71 ___354_refract 	%filename{"D:/xrt.git\\src\\osl\\shaders\\shading_utils.h"} %line{407} %argrw{"wr"}
	le		$tmp72 $tmp71 $const32 	%argrw{"wrr"}
	if		$tmp72 152 154 	%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 $const18 	%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		$tmp44 ___350_tir 	%line{434} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:67
# 	opacity = 1 - opacity;
	add		$tmp73 Ia Id 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl"} %line{67} %argrw{"wrr"}
	add		$tmp74 $tmp73 Itr 	%argrw{"wrr"}
	mul		$tmp75 C $tmp74 	%argrw{"wrr"}
	add		$tmp76 $tmp75 incandescence 	%argrw{"wrr"}
	add		C $tmp76 refraction 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_lambert.osl:68
# }
	sub		opacity $const18 opacity 	%line{68} %argrw{"wrr"}
	end
