OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface maya_cloth
param	float	alphaGain	1		%read{188,188} %write{2147483647,-1}
param	float	alphaIsLuminance	0		%read{175,175} %write{2147483647,-1}
param	float	alphaOffset	0		%read{189,189} %write{2147483647,-1}
param	float	brightSpread	0		%read{149,158} %write{2147483647,-1}
param	color	colorGain	1 1 1		%read{186,186} %write{2147483647,-1}
param	color	colorOffset	0 0 0		%read{187,187} %write{2147483647,-1}
param	color	defaultColor	0.5 0.5 0.5		%read{190,190} %write{2147483647,-1}
param	color	gapColor	0 0 0		%read{163,163} %write{2147483647,-1}
param	float	invert	0		%read{171,171} %write{2147483647,-1}
param	float	randomness	0		%read{23,34} %write{2147483647,-1}
param	color	uColor	1 1 1		%read{166,166} %write{2147483647,-1}
param	float[2]	uvCoord	0 0		%read{2,154} %write{0,1} %initexpr
param	float	uWave	0		%read{38,43} %write{2147483647,-1}
param	float	uWidth	0.75		%read{52,52} %write{2147483647,-1}
param	color	vColor	0.5 0.5 0.5		%read{167,167} %write{2147483647,-1}
param	float	vWave	0		%read{45,50} %write{2147483647,-1}
param	float	vWidth	0.75		%read{53,53} %write{2147483647,-1}
param	float	widthSpread	0		%read{54,70} %write{2147483647,-1}
oparam	float	outAlpha	0		%read{174,189} %write{174,191}
oparam	color	outColor	0 0 0		%read{173,187} %write{169,190}
global	float	u	%read{0,0} %write{2147483647,-1}
global	float	v	%read{1,1} %write{2147483647,-1}
local	float	ss	%read{4,134} %write{2,112}
local	float	tt	%read{8,138} %write{3,118}
local	point	___315_nn	%read{29,33} %write{28,28}
local	float	___314_prewaved_ss	%read{47,47} %write{37,37}
local	float	___314_uuWidth	%read{63,135} %write{52,104}
local	float	___314_vvWidth	%read{71,137} %write{53,105}
local	float	___318_spread	%read{62,70} %write{61,69}
local	float	___314_thread_color	%read{144,164} %write{82,144}
local	float	___319_tmp	%read{102,105} %write{100,103}
local	float	___314_cloth	%read{148,168} %write{119,161}
local	float	___314_in_gap	%read{146,146} %write{120,145}
local	float	___320_cs	%read{128,128} %write{124,124}
local	float	___320_ct	%read{129,129} %write{127,127}
local	float	___321_cs	%read{140,140} %write{136,136}
local	float	___321_ct	%read{141,141} %write{139,139}
local	float	___324_spread	%read{157,157} %write{156,156}
const	int	$const1	0		%read{0,178} %write{2147483647,-1}
const	int	$const2	1		%read{1,180} %write{2147483647,-1}
temp	float	$tmp1	%read{5,5} %write{4,4}
const	int	$const3	100000		%read{5,9} %write{2147483647,-1}
temp	int	$tmp2	%read{6,6} %write{5,5}
temp	int	$tmp3	%read{7,12} %write{6,11}
temp	float	$tmp4	%read{9,9} %write{8,8}
temp	int	$tmp5	%read{10,10} %write{9,9}
temp	int	$tmp6	%read{11,11} %write{10,10}
const	float	$const4	1.000001		%read{14,21} %write{2147483647,-1}
const	string	$const5	"mod"		%read{13,114} %write{2147483647,-1}
temp	float	$tmp7	%read{16,16} %write{15,15}
temp	float	$tmp8	%read{15,15} %write{14,14}
temp	float	$tmp9	%read{17,17} %write{16,16}
temp	float	$tmp10	%read{21,21} %write{20,20}
temp	float	$tmp11	%read{20,20} %write{19,19}
temp	float	$tmp12	%read{22,22} %write{21,21}
temp	int	$tmp13	%read{24,24} %write{23,23}
temp	point	$tmp14	%read{28,28} %write{27,27}
temp	float	$tmp15	%read{27,27} %write{25,25}
temp	float	$tmp16	%read{27,27} %write{26,26}
const	float	$const6	0		%read{27,175} %write{2147483647,-1}
temp	float	$tmp17	%read{30,30} %write{29,29}
temp	float	$tmp18	%read{31,31} %write{30,30}
const	int	$const7	2		%read{183,183} %write{2147483647,-1}
temp	float	$tmp19	%read{32,32} %write{31,31}
const	float	$const8	2		%read{31,155} %write{2147483647,-1}
temp	float	$tmp20	%read{34,34} %write{33,33}
temp	float	$tmp21	%read{35,35} %write{34,34}
temp	float	$tmp22	%read{36,36} %write{35,35}
temp	int	$tmp23	%read{39,39} %write{38,38}
temp	float	$tmp24	%read{43,43} %write{42,42}
temp	float	$tmp25	%read{41,41} %write{40,40}
const	float	$const9	3.1415927		%read{41,48} %write{2147483647,-1}
temp	float	$tmp26	%read{42,42} %write{41,41}
temp	float	$tmp27	%read{44,44} %write{43,43}
temp	int	$tmp28	%read{46,46} %write{45,45}
temp	float	$tmp29	%read{50,50} %write{49,49}
temp	float	$tmp30	%read{48,48} %write{47,47}
temp	float	$tmp31	%read{49,49} %write{48,48}
temp	float	$tmp32	%read{51,51} %write{50,50}
temp	int	$tmp33	%read{55,55} %write{54,54}
const	float	$const10	0.5		%read{58,137} %write{2147483647,-1}
temp	point	$tmp34	%read{60,60} %write{59,59}
temp	float	$tmp35	%read{59,59} %write{56,56}
temp	float	$tmp36	%read{58,58} %write{57,57}
temp	float	$tmp37	%read{59,59} %write{58,58}
const	float	$const11	1		%read{59,191} %write{2147483647,-1}
temp	point	$tmp38	%read{61,61} %write{60,60}
temp	float	$tmp39	%read{63,63} %write{62,62}
temp	point	$tmp40	%read{68,68} %write{67,67}
temp	float	$tmp41	%read{65,65} %write{64,64}
temp	float	$tmp42	%read{67,67} %write{65,65}
temp	float	$tmp43	%read{67,67} %write{66,66}
temp	point	$tmp44	%read{69,69} %write{68,68}
temp	float	$tmp45	%read{71,71} %write{70,70}
temp	float	$tmp46	%read{75,75} %write{74,74}
temp	float	$tmp47	%read{74,74} %write{73,73}
temp	float	$tmp48	%read{76,76} %write{75,75}
temp	float	$tmp49	%read{80,80} %write{79,79}
temp	float	$tmp50	%read{79,79} %write{78,78}
temp	float	$tmp51	%read{81,81} %write{80,80}
temp	int	$tmp52	%read{84,84} %write{83,83}
temp	int	$tmp53	%read{85,89} %write{84,88}
temp	int	$tmp54	%read{87,87} %write{86,86}
temp	int	$tmp55	%read{88,88} %write{87,87}
temp	int	$tmp56	%read{90,99} %write{89,98}
temp	int	$tmp57	%read{92,92} %write{91,91}
temp	int	$tmp58	%read{93,97} %write{92,96}
temp	int	$tmp59	%read{95,95} %write{94,94}
temp	int	$tmp60	%read{96,96} %write{95,95}
temp	int	$tmp61	%read{98,98} %write{97,97}
temp	float	$tmp62	%read{109,112} %write{107,107}
temp	float	$tmp63	%read{111,111} %write{110,110}
temp	float	$tmp64	%read{110,110} %write{109,109}
temp	float	$tmp65	%read{112,112} %write{111,111}
temp	float	$tmp66	%read{115,118} %write{113,113}
temp	float	$tmp67	%read{117,117} %write{116,116}
temp	float	$tmp68	%read{116,116} %write{115,115}
temp	float	$tmp69	%read{118,118} %write{117,117}
temp	int	$tmp70	%read{122,122} %write{121,121}
temp	float	$tmp71	%read{124,124} %write{123,123}
temp	float	$tmp72	%read{126,126} %write{125,125}
temp	float	$tmp73	%read{127,127} %write{126,126}
const	float	$const12	0.75		%read{131,143} %write{2147483647,-1}
temp	float	$tmp74	%read{130,130} %write{128,128}
temp	float	$tmp75	%read{130,130} %write{129,129}
temp	float	$tmp76	%read{131,131} %write{130,130}
temp	int	$tmp77	%read{133,133} %write{132,132}
temp	float	$tmp78	%read{135,135} %write{134,134}
temp	float	$tmp79	%read{136,136} %write{135,135}
temp	float	$tmp80	%read{138,138} %write{137,137}
temp	float	$tmp81	%read{139,139} %write{138,138}
temp	float	$tmp82	%read{142,142} %write{140,140}
temp	float	$tmp83	%read{142,142} %write{141,141}
temp	float	$tmp84	%read{143,143} %write{142,142}
temp	int	$tmp85	%read{147,147} %write{146,146}
temp	int	$tmp86	%read{150,150} %write{149,149}
temp	float	$tmp87	%read{155,155} %write{153,154}
temp	int	$tmp88	%read{152,152} %write{151,151}
temp	float	$tmp89	%read{156,156} %write{155,155}
temp	float	$tmp90	%read{158,158} %write{157,157}
const	string	$const13	"clamp"		%read{159,159} %write{2147483647,-1}
temp	float	$tmp91	%read{161,161} %write{160,160}
temp	float	$tmp92	%read{163,163} %write{162,162}
temp	color	$tmp93	%read{169,169} %write{163,163}
temp	color	$tmp94	%read{168,168} %write{166,167}
temp	int	$tmp95	%read{165,165} %write{164,164}
temp	color	$tmp96	%read{169,169} %write{168,168}
const	string	$const14	"colorBalance"		%read{170,170} %write{2147483647,-1}
temp	int	$tmp97	%read{172,172} %write{171,171}
temp	int	$tmp98	%read{176,176} %write{175,175}
const	string	$const15	"luminance"		%read{177,177} %write{2147483647,-1}
const	float	$const16	0.30000001		%read{179,179} %write{2147483647,-1}
temp	float	$tmp99	%read{179,179} %write{178,178}
temp	float	$tmp100	%read{182,182} %write{179,179}
const	float	$const17	0.58999997		%read{181,181} %write{2147483647,-1}
temp	float	$tmp101	%read{181,181} %write{180,180}
temp	float	$tmp102	%read{182,182} %write{181,181}
temp	float	$tmp103	%read{185,185} %write{182,182}
const	float	$const18	0.11		%read{184,184} %write{2147483647,-1}
temp	float	$tmp104	%read{184,184} %write{183,183}
temp	float	$tmp105	%read{185,185} %write{184,184}
code uvCoord
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:21
# 	float uWave = 0,
	aassign		uvCoord $const1 u 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{21} %argrw{"wrr"}
	aassign		uvCoord $const2 v 	%argrw{"wrr"}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:35
# 	float tt = uvCoord[1];
	aref		ss uvCoord $const1 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{35} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:36
# 
	aref		tt uvCoord $const2 	%line{36} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:38
# 	{
	abs		$tmp1 ss 	%line{38} %argrw{"wr"}
	lt		$tmp2 $tmp1 $const3 	%argrw{"wrr"}
	neq		$tmp3 $tmp2 $const1 	%argrw{"wrr"}
	if		$tmp3 12 12 	%argrw{"r"}
	abs		$tmp4 tt 	%argrw{"wr"}
	lt		$tmp5 $tmp4 $const3 	%argrw{"wrr"}
	neq		$tmp6 $tmp5 $const1 	%argrw{"wrr"}
	assign		$tmp3 $tmp6 	%argrw{"wr"}
	if		$tmp3 190 192 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:40
# 		tt = mod(tt, WRAPMAX);
	functioncall	$const5 18 	%line{40} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
# PERCOMP2 (atan2)
	div		$tmp8 ss $const4 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{135} %argrw{"wrr"}
	floor		$tmp7 $tmp8 	%argrw{"wr"}
	mul		$tmp9 $const4 $tmp7 	%argrw{"wrr"}
	sub		ss ss $tmp9 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:41
# 
	functioncall	$const5 23 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{41} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
# PERCOMP1 (atan)
	div		$tmp11 tt $const4 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{135} %argrw{"wrr"}
	floor		$tmp10 $tmp11 	%argrw{"wr"}
	mul		$tmp12 $const4 $tmp10 	%argrw{"wrr"}
	sub		tt tt $tmp12 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:43
# 		{
	gt		$tmp13 randomness $const1 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{43} %argrw{"wrr"}
	if		$tmp13 37 37 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:45
# 
	aref		$tmp15 uvCoord $const1 	%line{45} %argrw{"wrr"}
	aref		$tmp16 uvCoord $const2 	%argrw{"wrr"}
	point		$tmp14 $tmp15 $tmp16 $const6 	%argrw{"wrrr"}
	noise		___315_nn $tmp14 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:47
# 			tt += nn[1] * randomness * 2;
	compref		$tmp17 ___315_nn $const1 	%line{47} %argrw{"wrr"}
	mul		$tmp18 $tmp17 randomness 	%argrw{"wrr"}
	mul		$tmp19 $tmp18 $const8 	%argrw{"wrr"}
	add		ss ss $tmp19 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:48
# 		}
	compref		$tmp20 ___315_nn $const2 	%line{48} %argrw{"wrr"}
	mul		$tmp21 $tmp20 randomness 	%argrw{"wrr"}
	mul		$tmp22 $tmp21 $const8 	%argrw{"wrr"}
	add		tt tt $tmp22 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:51
# 		
	assign		___314_prewaved_ss ss 	%line{51} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:53
# 		{
	gt		$tmp23 uWave $const6 	%line{53} %argrw{"wrr"}
	if		$tmp23 45 45 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:55
# 		}
	mul		$tmp25 tt $const8 	%line{55} %argrw{"wrr"}
	mul		$tmp26 $tmp25 $const9 	%argrw{"wrr"}
	sin		$tmp24 $tmp26 	%argrw{"wr"}
	mul		$tmp27 uWave $tmp24 	%argrw{"wrr"}
	sub		ss ss $tmp27 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:58
# 		{
	gt		$tmp28 vWave $const6 	%line{58} %argrw{"wrr"}
	if		$tmp28 52 52 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:60
# 		}
	mul		$tmp30 ___314_prewaved_ss $const8 	%line{60} %argrw{"wrr"}
	mul		$tmp31 $tmp30 $const9 	%argrw{"wrr"}
	sin		$tmp29 $tmp31 	%argrw{"wr"}
	mul		$tmp32 vWave $tmp29 	%argrw{"wrr"}
	add		tt tt $tmp32 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:64
# 		float vvWidth = vWidth;
	assign		___314_uuWidth uWidth 	%line{64} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:65
# 
	assign		___314_vvWidth vWidth 	%line{65} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:67
# 		{
	gt		$tmp33 widthSpread $const1 	%line{67} %argrw{"wrr"}
	if		$tmp33 72 72 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:69
# 			uuWidth -= widthSpread * spread;
	aref		$tmp35 uvCoord $const1 	%line{69} %argrw{"wrr"}
	aref		$tmp36 uvCoord $const2 	%argrw{"wrr"}
	mul		$tmp37 $const10 $tmp36 	%argrw{"wrr"}
	point		$tmp34 $tmp35 $tmp37 $const11 	%argrw{"wrrr"}
	mul		$tmp38 $const10 $tmp34 	%argrw{"wrr"}
	noise		___318_spread $tmp38 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:70
# 
	mul		$tmp39 widthSpread ___318_spread 	%line{70} %argrw{"wrr"}
	sub		___314_uuWidth ___314_uuWidth $tmp39 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:72
# 			vvWidth -= widthSpread * spread;
	aref		$tmp41 uvCoord $const1 	%line{72} %argrw{"wrr"}
	mul		$tmp42 $const10 $tmp41 	%argrw{"wrr"}
	aref		$tmp43 uvCoord $const2 	%argrw{"wrr"}
	point		$tmp40 $tmp42 $tmp43 $const8 	%argrw{"wrrr"}
	mul		$tmp44 $const10 $tmp40 	%argrw{"wrr"}
	noise		___318_spread $tmp44 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:73
# 		}
	mul		$tmp45 widthSpread ___318_spread 	%line{73} %argrw{"wrr"}
	sub		___314_vvWidth ___314_vvWidth $tmp45 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:76
# 		tt = mod(tt, 1);
	functioncall	$const5 77 	%line{76} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
#     point  name (point x) BUILTIN;              \
	div		$tmp47 ss $const11 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{135} %argrw{"wrr"}
	floor		$tmp46 $tmp47 	%argrw{"wr"}
	mul		$tmp48 $const11 $tmp46 	%argrw{"wrr"}
	sub		ss ss $tmp48 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:77
# 
	functioncall	$const5 82 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{77} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
#     vector name (vector x) BUILTIN;             \
	div		$tmp50 tt $const11 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{135} %argrw{"wrr"}
	floor		$tmp49 $tmp50 	%argrw{"wr"}
	mul		$tmp51 $const11 $tmp49 	%argrw{"wrr"}
	sub		tt tt $tmp51 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:79
# 		
	assign		___314_thread_color $const1 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{79} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:82
# 		{
	ge		$tmp52 ss $const10 	%line{82} %argrw{"wrr"}
	neq		$tmp53 $tmp52 $const1 	%argrw{"wrr"}
	if		$tmp53 89 89 	%argrw{"r"}
	lt		$tmp54 tt $const10 	%argrw{"wrr"}
	neq		$tmp55 $tmp54 $const1 	%argrw{"wrr"}
	assign		$tmp53 $tmp55 	%argrw{"wr"}
	neq		$tmp56 $tmp53 $const1 	%argrw{"wrr"}
	if		$tmp56 91 99 	%argrw{"r"}
	lt		$tmp57 ss $const10 	%argrw{"wrr"}
	neq		$tmp58 $tmp57 $const1 	%argrw{"wrr"}
	if		$tmp58 97 97 	%argrw{"r"}
	ge		$tmp59 tt $const10 	%argrw{"wrr"}
	neq		$tmp60 $tmp59 $const1 	%argrw{"wrr"}
	assign		$tmp58 $tmp60 	%argrw{"wr"}
	neq		$tmp61 $tmp58 $const1 	%argrw{"wrr"}
	assign		$tmp56 $tmp61 	%argrw{"wr"}
	if		$tmp56 107 107 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:84
# 			ss = tt;
	assign		___319_tmp ss 	%line{84} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:85
# 			tt = tmp;
	assign		ss tt 	%line{85} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:86
# 			
	assign		tt ___319_tmp 	%line{86} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:88
# 			uuWidth = vvWidth;
	assign		___319_tmp ___314_uuWidth 	%line{88} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:89
# 			vvWidth = tmp;
	assign		___314_uuWidth ___314_vvWidth 	%line{89} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:90
# 			
	assign		___314_vvWidth ___319_tmp 	%line{90} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:92
# 		}
	assign		___314_thread_color $const11 	%line{92} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:95
# 		tt = mod(2 * tt, 1.0);
	mul		$tmp62 $const8 ss 	%line{95} %argrw{"wrr"}
	functioncall	$const5 113 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
# #define M_2_SQRTPI 1.1283791670955126        /* 2/sqrt(pi) */
	div		$tmp64 $tmp62 $const11 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{135} %argrw{"wrr"}
	floor		$tmp63 $tmp64 	%argrw{"wr"}
	mul		$tmp65 $const11 $tmp63 	%argrw{"wrr"}
	sub		ss $tmp62 $tmp65 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:96
# 				
	mul		$tmp66 $const8 tt 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{96} %argrw{"wrr"}
	functioncall	$const5 119 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
# #define M_4PI     12.566370614359173         /* 4*pi */
	div		$tmp68 $tmp66 $const11 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{135} %argrw{"wrr"}
	floor		$tmp67 $tmp68 	%argrw{"wr"}
	mul		$tmp69 $const11 $tmp67 	%argrw{"wrr"}
	sub		tt $tmp66 $tmp69 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:98
# 		float in_gap = 0;   
	assign		___314_cloth $const6 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{98} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:99
# 		
	assign		___314_in_gap $const1 	%line{99} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:101
# 		{
	lt		$tmp70 tt ___314_vvWidth 	%line{101} %argrw{"wrr"}
	if		$tmp70 132 146 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:103
# 			float ct = 2.0 * tt / vvWidth - 1.0;
	mul		$tmp71 $const10 ___314_uuWidth 	%line{103} %argrw{"wrr"}
	sub		___320_cs ss $tmp71 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:104
# 			cloth = 0.75 * (SQR(cs) + SQR(ct));
	mul		$tmp72 $const8 tt 	%line{104} %argrw{"wrr"}
	div		$tmp73 $tmp72 ___314_vvWidth 	%argrw{"wrr"}
	sub		___320_ct $tmp73 $const11 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:105
# 		}
	mul		$tmp74 ___320_cs ___320_cs 	%line{105} %argrw{"wrr"}
	mul		$tmp75 ___320_ct ___320_ct 	%argrw{"wrr"}
	add		$tmp76 $tmp74 $tmp75 	%argrw{"wrr"}
	mul		___314_cloth $const12 $tmp76 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:107
# 		{
	lt		$tmp77 ss ___314_uuWidth 	%line{107} %argrw{"wrr"}
	if		$tmp77 145 146 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:109
# 			float ct = tt - 0.5 * vvWidth - 1.0;
	mul		$tmp78 $const8 ss 	%line{109} %argrw{"wrr"}
	div		$tmp79 $tmp78 ___314_uuWidth 	%argrw{"wrr"}
	sub		___321_cs $tmp79 $const11 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:110
# 			cloth = 0.75 * (SQR(cs) + SQR(ct));
	mul		$tmp80 $const10 ___314_vvWidth 	%line{110} %argrw{"wrr"}
	sub		$tmp81 tt $tmp80 	%argrw{"wrr"}
	sub		___321_ct $tmp81 $const11 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:111
# 			thread_color = 1 - thread_color;
	mul		$tmp82 ___321_cs ___321_cs 	%line{111} %argrw{"wrr"}
	mul		$tmp83 ___321_ct ___321_ct 	%argrw{"wrr"}
	add		$tmp84 $tmp82 $tmp83 	%argrw{"wrr"}
	mul		___314_cloth $const12 $tmp84 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:112
# 		}
	sub		___314_thread_color $const11 ___314_thread_color 	%line{112} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:116
# 		}
	assign		___314_in_gap $const11 	%line{116} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:119
# 		{
	lt		$tmp85 ___314_in_gap $const11 	%line{119} %argrw{"wrr"}
	if		$tmp85 159 159 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:121
# 			
	sub		___314_cloth $const11 ___314_cloth 	%line{121} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:123
# 			{
	gt		$tmp86 brightSpread $const1 	%line{123} %argrw{"wrr"}
	if		$tmp86 159 159 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:125
# 				cloth = mix(cloth, cloth * spread, brightSpread);
	neq		$tmp88 ___314_thread_color $const1 	%line{125} %argrw{"wrr"}
	if		$tmp88 154 155 	%argrw{"r"}
	aref		$tmp87 uvCoord $const1 	%argrw{"wrr"}
	aref		$tmp87 uvCoord $const2 	%argrw{"wrr"}
	mul		$tmp89 $const8 $tmp87 	%argrw{"wrr"}
	noise		___324_spread $tmp89 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:126
# 			}
	mul		$tmp90 ___314_cloth ___324_spread 	%line{126} %argrw{"wrr"}
	mix		___314_cloth ___314_cloth $tmp90 brightSpread 	%argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:130
# 		
	functioncall	$const13 162 	%line{130} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:144
# //   this software without specific prior written permission.
	min		$tmp91 ___314_cloth $const11 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{144} %argrw{"wrr"}
	max		___314_cloth $tmp91 $const6 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:132
# 			cloth * (thread_color != 0 ? uColor : vColor);
	sub		$tmp92 $const11 ___314_cloth 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{132} %argrw{"wrr"}
	mul		$tmp93 $tmp92 gapColor 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:133
# 		
	neq		$tmp95 ___314_thread_color $const1 	%line{133} %argrw{"wrr"}
	if		$tmp95 167 168 	%argrw{"r"}
	assign		$tmp94 uColor 	%argrw{"wr"}
	assign		$tmp94 vColor 	%argrw{"wr"}
	mul		$tmp96 ___314_cloth $tmp94 	%argrw{"wrr"}
	add		outColor $tmp93 $tmp96 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:142
# 	}
	functioncall	$const14 190 	%line{142} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:107
# 	if(i_invert != 0.0)
	neq		$tmp97 invert $const6 	%filename{"D:/xrt.git\\src\\osl\\shaders\\utils.h"} %line{107} %argrw{"wrr"}
	if		$tmp97 175 175 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:109
# 		io_outColor = 1 - io_outColor;
	sub		outColor $const11 outColor 	%line{109} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:110
# 		io_outAlpha = 1 - io_outAlpha;
	sub		outAlpha $const11 outAlpha 	%line{110} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:113
# 	if(i_alphaIsLuminance != 0.0)
	neq		$tmp98 alphaIsLuminance $const6 	%line{113} %argrw{"wrr"}
	if		$tmp98 186 186 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:115
# 		io_outAlpha = luminance( io_outColor );
	functioncall	$const15 186 	%line{115} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:18
# 		0.3 * i_color[0] + 
	compref		$tmp99 outColor $const1 	%line{18} %argrw{"wrr"}
	mul		$tmp100 $const16 $tmp99 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:19
# 		0.59 * i_color[1] + 
	compref		$tmp101 outColor $const2 	%line{19} %argrw{"wrr"}
	mul		$tmp102 $const17 $tmp101 	%argrw{"wrr"}
	add		$tmp103 $tmp100 $tmp102 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:20
# 		0.11 * i_color[2];
	compref		$tmp104 outColor $const7 	%line{20} %argrw{"wrr"}
	mul		$tmp105 $const18 $tmp104 	%argrw{"wrr"}
	add		outAlpha $tmp103 $tmp105 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:118
# 	io_outColor *= i_colorGain;
	mul		outColor outColor colorGain 	%line{118} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:119
# 	io_outColor += i_colorOffset;
	add		outColor outColor colorOffset 	%line{119} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:121
# 	io_outAlpha *= i_alphaGain;
	mul		outAlpha outAlpha alphaGain 	%line{121} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:122
# 	io_outAlpha += i_alphaOffset;
	add		outAlpha outAlpha alphaOffset 	%line{122} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:146
# 	float vWave = 0,
	assign		outColor defaultColor 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl"} %line{146} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_cloth.osl:147
# 	float vWidth = 0.75,
	assign		outAlpha $const11 	%line{147} %argrw{"wr"}
	end
