OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface maya_fractal
param	float	alphaGain	1		%read{153,153} %write{2147483647,-1}
param	float	alphaIsLuminance	0		%read{140,140} %write{2147483647,-1}
param	float	alphaOffset	0		%read{154,154} %write{2147483647,-1}
param	float	amplitude	1		%read{26,26} %write{2147483647,-1}
param	color	colorGain	1 1 1		%read{151,151} %write{2147483647,-1}
param	color	colorOffset	0 0 0		%read{152,152} %write{2147483647,-1}
param	color	defaultColor	0.5 0.5 0.5		%read{155,155} %write{2147483647,-1}
param	float	frequencyRatio	2		%read{28,85} %write{2147483647,-1} %derivs
param	float	invert	0		%read{136,136} %write{2147483647,-1}
param	float	levelMin	0		%read{46,46} %write{2147483647,-1}
param	float	levelMax	9		%read{38,92} %write{2147483647,-1}
param	float	ratio	0.70700002		%read{86,86} %write{2147483647,-1}
param	float	threshold	0		%read{129,129} %write{2147483647,-1}
param	float	inflection	0		%read{57,125} %write{2147483647,-1}
param	float	animated	0		%read{49,96} %write{2147483647,-1}
param	float	timeRatio	2		%read{65,65} %write{2147483647,-1}
param	float[2]	uvCoord	0 0		%read{2,3} %write{0,1} %derivs %initexpr
oparam	float	outAlpha	1		%read{139,154} %write{134,156}
oparam	color	outColor	0 0 0		%read{138,152} %write{133,155}
global	float	u	%read{0,0} %write{2147483647,-1} %derivs
global	float	v	%read{1,1} %write{2147483647,-1} %derivs
global	float	time	%read{53,100} %write{2147483647,-1}
local	float	___314_noise	%read{37,122} %write{37,121}
local	float	___315_noise	%read{37,111} %write{37,110}
local	point	___315_p	%read{37,108} %write{37,102}
local	point	___315_period	%read{37,108} %write{37,103}
local	float	ss	%read{4,112} %write{2,17} %derivs
local	float	tt	%read{8,113} %write{3,22} %derivs
local	point	___316_pp	%read{2147483647,-1} %write{24,24}
local	float	___316_result	%read{37,134} %write{25,132}
local	float	___316_amp	%read{37,123} %write{26,88}
local	float	___316_curFreq	%read{29,119} %write{27,88} %derivs
local	float	___316_inv_frequencyRatio	%read{77,77} %write{28,28}
local	float	___316_pixel_size	%read{41,89} %write{33,33}
local	float	___316_pixel	%read{37,89} %write{34,88}
local	float	___316_curTimeFreq	%read{37,103} %write{35,88}
local	float	___316_i	%read{37,92} %write{36,88}
local	float	___317_noise	%read{37,88} %write{37,88}
local	float	___317_next_pixel	%read{37,88} %write{37,88}
local	float	___321_noise	%read{123,123} %write{111,122}
const	int	$const1	0		%read{0,143} %write{2147483647,-1}
const	int	$const2	1		%read{1,145} %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,18} %write{2147483647,-1}
temp	float	$tmp7	%read{16,16} %write{15,15} %derivs
temp	float	$tmp8	%read{15,15} %write{14,14} %derivs
temp	float	$tmp9	%read{17,17} %write{16,16} %derivs
temp	float	$tmp10	%read{21,21} %write{20,20} %derivs
temp	float	$tmp11	%read{20,20} %write{19,19} %derivs
temp	float	$tmp12	%read{22,22} %write{21,21} %derivs
temp	point	$tmp13	%read{24,24} %write{23,23}
const	float	$const6	0		%read{23,140} %write{2147483647,-1}
const	float	$const8	15		%read{24,24} %write{2147483647,-1}
const	int	$const9	2		%read{148,148} %write{2147483647,-1}
const	float	$const10	2		%read{26,26} %write{2147483647,-1}
const	float	$const11	10		%read{27,35} %write{2147483647,-1}
const	float	$const12	1		%read{28,156} %write{2147483647,-1}
temp	float	$tmp14	%read{33,33} %write{30,30}
temp	float	$tmp15	%read{30,30} %write{29,29} %derivs
temp	float	$tmp16	%read{33,33} %write{32,32}
temp	float	$tmp17	%read{32,32} %write{31,31} %derivs
temp	int	$tmp18	%read{39,39} %write{38,38}
temp	int	$tmp19	%read{40,44} %write{39,43}
temp	int	$tmp20	%read{42,42} %write{41,41}
temp	int	$tmp21	%read{43,43} %write{42,42}
temp	int	$tmp22	%read{37,88} %write{37,88}
temp	int	$tmp23	%read{47,47} %write{46,46}
temp	int	$tmp24	%read{48,48} %write{47,47}
temp	int	$tmp25	%read{50,50} %write{49,49}
temp	float	$tmp26	%read{55,55} %write{51,51}
temp	float	$tmp27	%read{55,55} %write{52,52}
temp	float	$tmp28	%read{55,55} %write{53,53}
const	string	$const13	"get3DNoise"		%read{54,101} %write{2147483647,-1}
temp	int	$tmp29	%read{58,58} %write{57,57}
temp	float	$tmp30	%read{60,60} %write{59,59}
const	float	$const14	0.5		%read{60,128} %write{2147483647,-1}
temp	float	$tmp31	%read{62,62} %write{61,61}
temp	float	$tmp32	%read{63,63} %write{62,62}
temp	float	$tmp33	%read{71,73} %write{66,66}
temp	float	$tmp34	%read{71,73} %write{67,67}
const	string	$const15	"get2DNoise"		%read{68,114} %write{2147483647,-1}
temp	int	$tmp35	%read{70,70} %write{69,69}
temp	float	$tmp36	%read{72,72} %write{71,71}
temp	float	$tmp37	%read{74,74} %write{73,73}
temp	float	$tmp38	%read{75,75} %write{74,74}
temp	int	$tmp39	%read{79,79} %write{78,78}
temp	float	$tmp40	%read{81,81} %write{80,80}
temp	float	$tmp41	%read{82,82} %write{81,81}
temp	float	$tmp42	%read{84,84} %write{83,83}
temp	int	$tmp43	%read{90,90} %write{89,89}
temp	int	$tmp44	%read{91,95} %write{90,94}
temp	int	$tmp45	%read{93,93} %write{92,92}
temp	int	$tmp46	%read{94,94} %write{93,93}
temp	int	$tmp47	%read{97,97} %write{96,96}
temp	float	$tmp48	%read{102,102} %write{98,98}
temp	float	$tmp49	%read{102,102} %write{99,99}
temp	float	$tmp50	%read{102,102} %write{100,100}
temp	int	$tmp51	%read{105,105} %write{104,104}
temp	float	$tmp52	%read{107,107} %write{106,106}
temp	float	$tmp53	%read{109,109} %write{108,108}
temp	float	$tmp54	%read{110,110} %write{109,109}
temp	float	$tmp55	%read{117,119} %write{112,112}
temp	float	$tmp56	%read{117,119} %write{113,113}
temp	int	$tmp57	%read{116,116} %write{115,115}
temp	float	$tmp58	%read{118,118} %write{117,117}
temp	float	$tmp59	%read{120,120} %write{119,119}
temp	float	$tmp60	%read{121,121} %write{120,120}
temp	float	$tmp61	%read{124,124} %write{123,123}
temp	int	$tmp62	%read{126,126} %write{125,125}
temp	float	$tmp63	%read{128,128} %write{127,127}
const	string	$const16	"clamp"		%read{130,130} %write{2147483647,-1}
temp	float	$tmp64	%read{132,132} %write{131,131}
const	string	$const17	"colorBalance"		%read{135,135} %write{2147483647,-1}
temp	int	$tmp65	%read{137,137} %write{136,136}
temp	int	$tmp66	%read{141,141} %write{140,140}
const	string	$const18	"luminance"		%read{142,142} %write{2147483647,-1}
const	float	$const19	0.30000001		%read{144,144} %write{2147483647,-1}
temp	float	$tmp67	%read{144,144} %write{143,143}
temp	float	$tmp68	%read{147,147} %write{144,144}
const	float	$const20	0.58999997		%read{146,146} %write{2147483647,-1}
temp	float	$tmp69	%read{146,146} %write{145,145}
temp	float	$tmp70	%read{147,147} %write{146,146}
temp	float	$tmp71	%read{150,150} %write{147,147}
const	float	$const21	0.11		%read{149,149} %write{2147483647,-1}
temp	float	$tmp72	%read{149,149} %write{148,148}
temp	float	$tmp73	%read{150,150} %write{149,149}
code uvCoord
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:52
# 	
	aassign		uvCoord $const1 u 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl"} %line{52} %argrw{"wrr"}
	aassign		uvCoord $const2 v 	%argrw{"wrr"}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:60
# 	float tt = uvCoord[1];
	aref		ss uvCoord $const1 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl"} %line{60} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:61
# 
	aref		tt uvCoord $const2 	%line{61} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:63
# 	{
	abs		$tmp1 ss 	%line{63} %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 155 157 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:65
# 		tt = mod(tt, WRAPMAX);
	functioncall	$const5 18 	%line{65} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
# #define PERCOMP2F(name)                         \
	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_fractal.osl:66
#     
	functioncall	$const5 23 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl"} %line{66} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
# 
	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_fractal.osl:68
# 
	point		$tmp13 ss tt $const6 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl"} %line{68} %argrw{"wrrr"}
	mul		___316_pp $tmp13 $const8 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:70
# 		float amp = amplitude*2; /* our noise is between -0.5 and 0.5 */
	assign		___316_result $const1 	%line{70} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:71
# 		float curFreq = 10.0; /* 10 = Maya fudge factor */
	mul		___316_amp amplitude $const10 	%line{71} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:72
# 		float inv_frequencyRatio = 1.0 / frequencyRatio;
	assign		___316_curFreq $const11 	%line{72} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:73
# 
	div		___316_inv_frequencyRatio $const12 frequencyRatio 	%line{73} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:75
# 		float pixel = 1.0;
	mul		$tmp15 tt ___316_curFreq 	%line{75} %argrw{"wrr"}
	filterwidth	$tmp14 $tmp15 	%argrw{"wr"} %argderivs{1}
	mul		$tmp17 ss ___316_curFreq 	%argrw{"wrr"}
	filterwidth	$tmp16 $tmp17 	%argrw{"wr"} %argderivs{1}
	max		___316_pixel_size $tmp14 $tmp16 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:76
# 	    
	assign		___316_pixel $const12 	%line{76} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:78
#     
	assign		___316_curTimeFreq $const11 	%line{78} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:80
# 		while( (i<levelMax && pixel>pixel_size) || (i<levelMin) ) 
	assign		___316_i $const1 	%line{80} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:81
# 		{
	while		$tmp22 38 49 89 89 	%line{81} %argrw{"r"}
	lt		$tmp18 ___316_i levelMax 	%argrw{"wrr"}
	neq		$tmp19 $tmp18 $const1 	%argrw{"wrr"}
	if		$tmp19 44 44 	%argrw{"r"}
	gt		$tmp20 ___316_pixel ___316_pixel_size 	%argrw{"wrr"}
	neq		$tmp21 $tmp20 $const1 	%argrw{"wrr"}
	assign		$tmp19 $tmp21 	%argrw{"wr"}
	neq		$tmp22 $tmp19 $const1 	%argrw{"wrr"}
	if		$tmp22 46 49 	%argrw{"r"}
	lt		$tmp23 ___316_i levelMin 	%argrw{"wrr"}
	neq		$tmp24 $tmp23 $const1 	%argrw{"wrr"}
	assign		$tmp22 $tmp24 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:85
# 			{
	neq		$tmp25 animated $const1 	%line{85} %argrw{"wrr"}
	if		$tmp25 66 77 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:87
# 													 curFreq, curFreq, curTimeFreq, inflection);
	mul		$tmp26 ss ___316_curFreq 	%line{87} %argrw{"wrr"}
	mul		$tmp27 tt ___316_curFreq 	%argrw{"wrr"}
	mul		$tmp28 time ___316_curTimeFreq 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:88
# 				
	functioncall	$const13 65 	%line{88} %argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:21
# 	point period = point(px, py, pz);
	point		___315_p $tmp26 $tmp27 $tmp28 	%line{21} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:22
# 
	point		___315_period ___316_curFreq ___316_curFreq ___316_curTimeFreq 	%line{22} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:24
# 		noise = pnoise(p, period) - 0.5;
	eq		$tmp29 inflection $const1 	%line{24} %argrw{"wrr"}
	if		$tmp29 61 64 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:25
# 	else
	pnoise		$tmp30 ___315_p ___315_period 	%line{25} %argrw{"wrr"}
	sub		___315_noise $tmp30 $const14 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:27
# 
	pnoise		$tmp31 ___315_p ___315_period 	%line{27} %argrw{"wrr"}
	sub		$tmp32 $tmp31 $const14 	%argrw{"wrr"}
	abs		___315_noise $tmp32 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:29
# }
	assign		___317_noise ___315_noise 	%line{29} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:90
# 			}
	mul		___316_curTimeFreq ___316_curTimeFreq timeRatio 	%line{90} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:94
# 			}
	mul		$tmp33 ss ___316_curFreq 	%line{94} %argrw{"wrr"}
	mul		$tmp34 tt ___316_curFreq 	%argrw{"wrr"}
	functioncall	$const15 77 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:9
# 		noise =  pnoise(x, y, px, py) - 0.5;
	eq		$tmp35 inflection $const1 	%line{9} %argrw{"wrr"}
	if		$tmp35 73 76 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:10
# 	else
	pnoise		$tmp36 $tmp33 $tmp34 ___316_curFreq ___316_curFreq 	%line{10} %argrw{"wrrrr"}
	sub		___314_noise $tmp36 $const14 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:12
# 
	pnoise		$tmp37 $tmp33 $tmp34 ___316_curFreq ___316_curFreq 	%line{12} %argrw{"wrrrr"}
	sub		$tmp38 $tmp37 $const14 	%argrw{"wrr"}
	abs		___314_noise $tmp38 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:14
# }
	assign		___317_noise ___314_noise 	%line{14} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:97
# 			if( next_pixel < pixel_size )
	mul		___317_next_pixel ___316_pixel ___316_inv_frequencyRatio 	%line{97} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:98
# 			{
	lt		$tmp39 ___317_next_pixel ___316_pixel_size 	%line{98} %argrw{"wrr"}
	if		$tmp39 83 83 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:100
# 			}
	smoothstep	$tmp40 ___317_next_pixel ___316_pixel ___316_pixel_size 	%line{100} %argrw{"wrrr"}
	sub		$tmp41 $const12 $tmp40 	%argrw{"wrr"}
	mul		___317_noise ___317_noise $tmp41 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:103
# 			curFreq *= frequencyRatio;
	mul		$tmp42 ___316_amp ___317_noise 	%line{103} %argrw{"wrr"}
	add		___316_result ___316_result $tmp42 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:104
# 			amp *= ratio;
	mul		___316_curFreq ___316_curFreq frequencyRatio 	%line{104} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:105
# 			pixel = next_pixel;
	mul		___316_amp ___316_amp ratio 	%line{105} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:106
# 			i+=1.0;
	assign		___316_pixel ___317_next_pixel 	%line{106} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:107
# 		}
	add		___316_i ___316_i $const12 	%line{107} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:110
# 		{
	gt		$tmp43 ___316_pixel ___316_pixel_size 	%line{110} %argrw{"wrr"}
	neq		$tmp44 $tmp43 $const1 	%argrw{"wrr"}
	if		$tmp44 95 95 	%argrw{"r"}
	le		$tmp45 ___316_i levelMax 	%argrw{"wrr"}
	neq		$tmp46 $tmp45 $const1 	%argrw{"wrr"}
	assign		$tmp44 $tmp46 	%argrw{"wr"}
	if		$tmp44 125 125 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:113
# 			{
	neq		$tmp47 animated $const1 	%line{113} %argrw{"wrr"}
	if		$tmp47 112 123 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:115
# 													 curFreq, curFreq, curTimeFreq, inflection);
	mul		$tmp48 ss ___316_curFreq 	%line{115} %argrw{"wrr"}
	mul		$tmp49 tt ___316_curFreq 	%argrw{"wrr"}
	mul		$tmp50 time ___316_curTimeFreq 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:116
# 			}
	functioncall	$const13 112 	%line{116} %argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:21
# 	point period = point(px, py, pz);
	point		___315_p $tmp48 $tmp49 $tmp50 	%line{21} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:22
# 
	point		___315_period ___316_curFreq ___316_curFreq ___316_curTimeFreq 	%line{22} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:24
# 		noise = pnoise(p, period) - 0.5;
	eq		$tmp51 inflection $const1 	%line{24} %argrw{"wrr"}
	if		$tmp51 108 111 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:25
# 	else
	pnoise		$tmp52 ___315_p ___315_period 	%line{25} %argrw{"wrr"}
	sub		___315_noise $tmp52 $const14 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:27
# 
	pnoise		$tmp53 ___315_p ___315_period 	%line{27} %argrw{"wrr"}
	sub		$tmp54 $tmp53 $const14 	%argrw{"wrr"}
	abs		___315_noise $tmp54 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:29
# }
	assign		___321_noise ___315_noise 	%line{29} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:120
# 			}
	mul		$tmp55 ss ___316_curFreq 	%line{120} %argrw{"wrr"}
	mul		$tmp56 tt ___316_curFreq 	%argrw{"wrr"}
	functioncall	$const15 123 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:9
# 		noise =  pnoise(x, y, px, py) - 0.5;
	eq		$tmp57 inflection $const1 	%line{9} %argrw{"wrr"}
	if		$tmp57 119 122 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:10
# 	else
	pnoise		$tmp58 $tmp55 $tmp56 ___316_curFreq ___316_curFreq 	%line{10} %argrw{"wrrrr"}
	sub		___314_noise $tmp58 $const14 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:12
# 
	pnoise		$tmp59 $tmp55 $tmp56 ___316_curFreq ___316_curFreq 	%line{12} %argrw{"wrrrr"}
	sub		$tmp60 $tmp59 $const14 	%argrw{"wrr"}
	abs		___314_noise $tmp60 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:14
# }
	assign		___321_noise ___314_noise 	%line{14} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:123
# 		}
	mul		$tmp61 ___316_amp ___321_noise 	%line{123} %argrw{"wrr"}
	add		___316_result ___316_result $tmp61 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:127
# 			result = (result*0.5 + 0.5);
	eq		$tmp62 inflection $const1 	%line{127} %argrw{"wrr"}
	if		$tmp62 129 129 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:128
# 
	mul		$tmp63 ___316_result $const14 	%line{128} %argrw{"wrr"}
	add		___316_result $tmp63 $const14 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:130
# 		result = clamp(result, 0, 1);
	add		___316_result ___316_result threshold 	%line{130} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:131
# 
	functioncall	$const16 133 	%line{131} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:144
# //   contributors may be used to endorse or promote products derived from
	min		$tmp64 ___316_result $const12 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{144} %argrw{"wrr"}
	max		___316_result $tmp64 $const6 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:133
# 		outAlpha = result;
	color		outColor ___316_result ___316_result ___316_result 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl"} %line{133} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:134
# 
	assign		outAlpha ___316_result 	%line{134} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:143
# 	}
	functioncall	$const17 155 	%line{143} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:107
# 	if(i_invert != 0.0)
	neq		$tmp65 invert $const6 	%filename{"D:/xrt.git\\src\\osl\\shaders\\utils.h"} %line{107} %argrw{"wrr"}
	if		$tmp65 140 140 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:109
# 		io_outColor = 1 - io_outColor;
	sub		outColor $const12 outColor 	%line{109} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:110
# 		io_outAlpha = 1 - io_outAlpha;
	sub		outAlpha $const12 outAlpha 	%line{110} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:113
# 	if(i_alphaIsLuminance != 0.0)
	neq		$tmp66 alphaIsLuminance $const6 	%line{113} %argrw{"wrr"}
	if		$tmp66 151 151 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:115
# 		io_outAlpha = luminance( io_outColor );
	functioncall	$const18 151 	%line{115} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:18
# 		0.3 * i_color[0] + 
	compref		$tmp67 outColor $const1 	%line{18} %argrw{"wrr"}
	mul		$tmp68 $const19 $tmp67 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:19
# 		0.59 * i_color[1] + 
	compref		$tmp69 outColor $const2 	%line{19} %argrw{"wrr"}
	mul		$tmp70 $const20 $tmp69 	%argrw{"wrr"}
	add		$tmp71 $tmp68 $tmp70 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\utils.h:20
# 		0.11 * i_color[2];
	compref		$tmp72 outColor $const9 	%line{20} %argrw{"wrr"}
	mul		$tmp73 $const21 $tmp72 	%argrw{"wrr"}
	add		outAlpha $tmp71 $tmp73 	%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_fractal.osl:147
# 	else
	assign		outColor defaultColor 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl"} %line{147} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\maya_fractal.osl:148
# 		noise = abs(pnoise(p, period) - 0.5);
	assign		outAlpha $const12 	%line{148} %argrw{"wr"}
	end
