OpenShadingLanguage 1.00
# Compiled by oslc 1.3.0
shader node_musgrave_texture
param	int	use_mapping	0 		 %read{9,9} %write{2147483647,-1}
param	matrix	mapping	0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0		 %read{10,10} %write{2147483647,-1}
param	string	Type	"fBM" 		 %read{12,246} %write{2147483647,-1}
param	float	Dimension	2 		 %read{1,1} %write{2147483647,-1}
param	float	Lacunarity	1 		 %read{5,5} %write{2147483647,-1}
param	float	Detail	2 		 %read{3,3} %write{2147483647,-1}
param	float	Offset	0 		 %read{132,306} %write{2147483647,-1}
param	float	Gain	1 		 %read{133,219} %write{2147483647,-1}
param	float	Scale	5 		 %read{11,11} %write{2147483647,-1}
param	point	Vector	0 0 0 		 %read{8,8} %write{0,0}
oparam	float	Fac	0 		 %read{313,313} %write{63,312}
oparam	color	Color	0 0 0 		 %read{2147483647,-1} %write{313,313}
global	point	P	 %read{0,0} %write{2147483647,-1}
local	float	___320_f	 %read{19,305} %write{19,299}
local	float	___333_rmd	 %read{95,109} %write{94,94}
local	float	___333_value	 %read{71,112} %write{67,111}
local	float	___333_pwr	 %read{71,110} %write{68,92}
local	float	___333_pwHL	 %read{89,89} %write{70,70}
local	int	___333_i	 %read{71,92} %write{71,92}
local	float	___336_rmd	 %read{44,46} %write{43,43}
local	float	___336_value	 %read{19,62} %write{15,61}
local	float	___336_pwr	 %read{19,46} %write{16,41}
local	float	___336_pwHL	 %read{38,38} %write{18,18}
local	int	___336_i	 %read{19,41} %write{19,41}
local	float	___339_value	 %read{266,311} %write{264,310}
local	float	___339_increment	 %read{266,309} %write{266,308}
local	float	___339_rmd	 %read{292,309} %write{291,291}
local	float	___339_pwHL	 %read{251,286} %write{250,250}
local	float	___339_pwr	 %read{266,307} %write{251,289}
local	int	___339_i	 %read{266,289} %write{266,289}
local	float	___343_result	 %read{133,189} %write{132,188}
local	float	___343_signal	 %read{135,168} %write{135,168}
local	float	___343_weight	 %read{135,168} %write{133,168}
local	float	___343_rmd	 %read{171,187} %write{170,170}
local	float	___343_pwHL	 %read{119,161} %write{118,118}
local	float	___343_pwr	 %read{135,186} %write{119,168}
local	int	___343_i	 %read{135,168} %write{135,168}
local	float	___346_result	 %read{214,244} %write{212,243}
local	float	___346_signal	 %read{211,243} %write{210,243}
local	float	___346_weight	 %read{214,243} %write{213,243}
local	float	___346_pwHL	 %read{196,241} %write{195,195}
local	float	___346_pwr	 %read{214,243} %write{196,243}
local	int	___346_i	 %read{214,243} %write{214,243}
local	float	dimension	 %read{17,249} %write{1,1}
local	float	octaves	 %read{21,291} %write{4,4}
local	float	lacunarity	 %read{18,287} %write{5,5}
local	string	Basis	 %read{2147483647,-1} %write{6,6}
local	float	intensity	 %read{63,312} %write{7,7}
local	point	p	 %read{10,299} %write{8,289}
const	float	$const1	9.9999997e-006		 %read{1,5} %write{2147483647,-1}
const	float	$const2	0		 %read{4,295} %write{2147483647,-1}
const	float	$const3	16		 %read{3,3} %write{2147483647,-1}
const	string	$const4	"clamp"		 %read{2,220} %write{2147483647,-1}
temp	float	$tmp1	 %read{4,4} %write{3,3}
const	string	$const5	"Perlin"		 %read{6,6} %write{2147483647,-1}
const	float	$const6	1		 %read{7,221} %write{2147483647,-1}
const	string	$const7	"Multifractal"		 %read{12,12} %write{2147483647,-1}
temp	int	$tmp2	 %read{13,13} %write{12,12}
temp	float	$tmp3	 %read{63,63} %write{62,62}
const	string	$const8	"noise_musgrave_multi_fractal"		 %read{14,14} %write{2147483647,-1}
temp	float	$tmp4	 %read{18,18} %write{17,17}
const	int	$const9	0		 %read{20,301} %write{2147483647,-1}
temp	int	$tmp5	 %read{22,22} %write{21,21}
temp	int	$tmp6	 %read{19,41} %write{19,41}
temp	float	$tmp7	 %read{35,35} %write{32,34}
const	string	$const10	"safe_noise"		 %read{23,294} %write{2147483647,-1}
temp	int	$tmp8	 %read{26,26} %write{25,25}
const	string	$const11	"perlin"		 %read{27,298} %write{2147483647,-1}
temp	int	$tmp9	 %read{30,30} %write{29,29}
temp	int	$tmp10	 %read{31,31} %write{30,30}
const	float	$const12	0.5		 %read{32,303} %write{2147483647,-1}
temp	float	$tmp11	 %read{36,36} %write{35,35}
temp	float	$tmp12	 %read{37,37} %write{36,36}
const	int	$const13	1		 %read{41,289} %write{2147483647,-1}
temp	int	$tmp13	 %read{2147483647,-1} %write{40,40}
temp	float	$tmp14	 %read{43,43} %write{42,42}
temp	int	$tmp15	 %read{45,45} %write{44,44}
temp	float	$tmp16	 %read{59,59} %write{46,46}
temp	float	$tmp17	 %read{59,59} %write{56,58}
temp	int	$tmp18	 %read{50,50} %write{49,49}
temp	int	$tmp19	 %read{54,54} %write{53,53}
temp	int	$tmp20	 %read{55,55} %write{54,54}
temp	float	$tmp21	 %read{60,60} %write{59,59}
temp	float	$tmp22	 %read{61,61} %write{60,60}
const	string	$const14	"fBM"		 %read{64,64} %write{2147483647,-1}
temp	int	$tmp23	 %read{65,65} %write{64,64}
temp	float	$tmp24	 %read{113,113} %write{112,112}
const	string	$const15	"noise_musgrave_fBm"		 %read{66,66} %write{2147483647,-1}
temp	float	$tmp25	 %read{70,70} %write{69,69}
temp	int	$tmp26	 %read{74,74} %write{73,73}
temp	int	$tmp27	 %read{71,92} %write{71,92}
temp	float	$tmp28	 %read{87,87} %write{84,86}
temp	int	$tmp29	 %read{78,78} %write{77,77}
temp	int	$tmp30	 %read{82,82} %write{81,81}
temp	int	$tmp31	 %read{83,83} %write{82,82}
temp	float	$tmp32	 %read{88,88} %write{87,87}
temp	int	$tmp33	 %read{2147483647,-1} %write{91,91}
temp	float	$tmp34	 %read{94,94} %write{93,93}
temp	int	$tmp35	 %read{96,96} %write{95,95}
temp	float	$tmp36	 %read{109,109} %write{106,108}
temp	int	$tmp37	 %read{100,100} %write{99,99}
temp	int	$tmp38	 %read{104,104} %write{103,103}
temp	int	$tmp39	 %read{105,105} %write{104,104}
temp	float	$tmp40	 %read{110,110} %write{109,109}
temp	float	$tmp41	 %read{111,111} %write{110,110}
const	string	$const16	"Hybrid Multifractal"		 %read{114,114} %write{2147483647,-1}
temp	int	$tmp42	 %read{115,115} %write{114,114}
temp	float	$tmp43	 %read{190,190} %write{189,189}
const	string	$const17	"noise_musgrave_hybrid_multi_fractal"		 %read{116,116} %write{2147483647,-1}
temp	float	$tmp44	 %read{118,118} %write{117,117}
temp	float	$tmp45	 %read{132,132} %write{129,131}
temp	int	$tmp46	 %read{123,123} %write{122,122}
temp	int	$tmp47	 %read{127,127} %write{126,126}
temp	int	$tmp48	 %read{128,128} %write{127,127}
const	float	$const18	0.001		 %read{137,137} %write{2147483647,-1}
temp	int	$tmp49	 %read{138,138} %write{137,137}
temp	int	$tmp50	 %read{135,168} %write{135,168}
temp	int	$tmp51	 %read{141,141} %write{140,140}
temp	int	$tmp52	 %read{142,142} %write{141,141}
temp	int	$tmp53	 %read{143,143} %write{142,142}
temp	int	$tmp54	 %read{145,145} %write{144,144}
temp	float	$tmp55	 %read{159,159} %write{156,158}
temp	int	$tmp56	 %read{150,150} %write{149,149}
temp	int	$tmp57	 %read{154,154} %write{153,153}
temp	int	$tmp58	 %read{155,155} %write{154,154}
temp	float	$tmp59	 %read{160,160} %write{159,159}
temp	float	$tmp60	 %read{163,163} %write{162,162}
temp	float	$tmp61	 %read{165,165} %write{164,164}
temp	int	$tmp62	 %read{2147483647,-1} %write{167,167}
temp	float	$tmp63	 %read{170,170} %write{169,169}
temp	int	$tmp64	 %read{172,172} %write{171,171}
temp	float	$tmp65	 %read{185,185} %write{182,184}
temp	int	$tmp66	 %read{176,176} %write{175,175}
temp	int	$tmp67	 %read{180,180} %write{179,179}
temp	int	$tmp68	 %read{181,181} %write{180,180}
temp	float	$tmp69	 %read{186,186} %write{185,185}
temp	float	$tmp70	 %read{187,187} %write{186,186}
temp	float	$tmp71	 %read{188,188} %write{187,187}
const	string	$const19	"Ridged Multifractal"		 %read{191,191} %write{2147483647,-1}
temp	int	$tmp72	 %read{192,192} %write{191,191}
temp	float	$tmp73	 %read{245,245} %write{244,244}
const	string	$const20	"noise_musgrave_ridged_multi_fractal"		 %read{193,193} %write{2147483647,-1}
temp	float	$tmp74	 %read{195,195} %write{194,194}
temp	float	$tmp75	 %read{210,210} %write{209,209}
temp	float	$tmp76	 %read{209,209} %write{206,208}
temp	int	$tmp77	 %read{200,200} %write{199,199}
temp	int	$tmp78	 %read{204,204} %write{203,203}
temp	int	$tmp79	 %read{205,205} %write{204,204}
temp	int	$tmp80	 %read{217,217} %write{216,216}
temp	int	$tmp81	 %read{214,243} %write{214,243}
temp	float	$tmp82	 %read{221,221} %write{219,219}
temp	float	$tmp83	 %read{222,222} %write{221,221}
temp	float	$tmp84	 %read{236,236} %write{235,235}
temp	float	$tmp85	 %read{235,235} %write{232,234}
temp	int	$tmp86	 %read{226,226} %write{225,225}
temp	int	$tmp87	 %read{230,230} %write{229,229}
temp	int	$tmp88	 %read{231,231} %write{230,230}
temp	float	$tmp89	 %read{240,240} %write{239,239}
temp	int	$tmp90	 %read{2147483647,-1} %write{242,242}
const	string	$const21	"Hetero Terrain"		 %read{246,246} %write{2147483647,-1}
temp	int	$tmp91	 %read{247,247} %write{246,246}
temp	float	$tmp92	 %read{312,312} %write{311,311}
const	string	$const22	"noise_musgrave_hetero_terrain"		 %read{248,248} %write{2147483647,-1}
temp	float	$tmp93	 %read{250,250} %write{249,249}
temp	float	$tmp94	 %read{264,264} %write{261,263}
temp	int	$tmp95	 %read{255,255} %write{254,254}
temp	int	$tmp96	 %read{259,259} %write{258,258}
temp	int	$tmp97	 %read{260,260} %write{259,259}
temp	int	$tmp98	 %read{269,269} %write{268,268}
temp	int	$tmp99	 %read{266,289} %write{266,289}
temp	float	$tmp100	 %read{282,282} %write{279,281}
temp	int	$tmp101	 %read{273,273} %write{272,272}
temp	int	$tmp102	 %read{277,277} %write{276,276}
temp	int	$tmp103	 %read{278,278} %write{277,277}
temp	float	$tmp104	 %read{283,283} %write{282,282}
temp	float	$tmp105	 %read{284,284} %write{283,283}
temp	int	$tmp106	 %read{2147483647,-1} %write{288,288}
temp	float	$tmp107	 %read{291,291} %write{290,290}
temp	int	$tmp108	 %read{293,293} %write{292,292}
temp	float	$tmp109	 %read{306,306} %write{303,305}
temp	int	$tmp110	 %read{297,297} %write{296,296}
temp	int	$tmp111	 %read{301,301} %write{300,300}
temp	int	$tmp112	 %read{302,302} %write{301,301}
temp	float	$tmp113	 %read{307,307} %write{306,306}
temp	float	$tmp114	 %read{308,308} %write{307,307}
temp	float	$tmp115	 %read{310,310} %write{309,309}
code Vector
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:200
# 	output float Fac = 0.0,
	assign		Vector P 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{200} %argrw{"wr"}
code ___main___
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:204
# 	float octaves = clamp(Detail, 0.0, 16.0);
	max		dimension Dimension $const1 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{204} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:205
# 	float lacunarity = max(Lacunarity, 1e-5);
	functioncall	$const4 5 	%line{205} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\stdosl.h:142
# float  clamp (float x, float minval, float maxval) { return max(min(x,maxval),minval); }
	min		$tmp1 Detail $const3 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\stdosl.h"} %line{142} %argrw{"wrr"}
	max		octaves $tmp1 $const2 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:206
# 	float pwHL = pow(lacunarity, -H);
	max		lacunarity Lacunarity $const1 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{206} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:207
# 	int i;
	assign		Basis $const5 	%line{207} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:208
# 
	assign		intensity $const6 	%line{208} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:210
# 		value *= (pwr * safe_noise(p, 0) + 1.0);
	assign		p Vector 	%line{210} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:212
# 		p *= lacunarity;
	if		use_mapping 11 11 	%line{212} %argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:213
# 	}
	transform	p mapping p 	%line{213} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:215
# 	rmd = octaves - floor(octaves);
	mul		p p Scale 	%line{215} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:217
# 		value *= (rmd * pwr * safe_noise(p, 0) + 1.0); /* correct? */
	eq		$tmp2 Type $const7 	%line{217} %argrw{"wrr"}
	if		$tmp2 64 313 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:218
# 
	functioncall	$const8 63 	%line{218} %argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:63
# 	float pwr = 1.0;
	assign		___336_value $const6 	%line{63} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:64
# 	float pwHL = pow(lacunarity, -H);
	assign		___336_pwr $const6 	%line{64} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:65
# 	int i;
	neg		$tmp4 dimension 	%line{65} %argrw{"wr"}
	pow		___336_pwHL lacunarity $tmp4 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:68
# 		value *= (pwr * safe_noise(p, 0) + 1.0);
	for		$tmp6 21 23 40 42 	%line{68} %argrw{"r"}
	assign		___336_i $const9 	%argrw{"wr"}
	assign		$tmp5 octaves 	%argrw{"wr"}
	lt		$tmp6 ___336_i $tmp5 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:69
# 		pwr *= pwHL;
	functioncall	$const10 35 	%line{69} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 				else if (d < da[1]) {
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 					da[1] = d;
	eq		$tmp8 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp8 28 29 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 				}
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 					da[2] = d;
	isfinite	$tmp9 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp10 $tmp9 $const9 	%argrw{"wrr"}
	if		$tmp10 34 34 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 
	assign		$tmp7 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 					pa[2] = vp;
	assign		$tmp7 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:69
# 		pwr *= pwHL;
	mul		$tmp11 ___336_pwr $tmp7 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{69} %argrw{"wrr"}
	add		$tmp12 $tmp11 $const6 	%argrw{"wrr"}
	mul		___336_value ___336_value $tmp12 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:70
# 		p *= lacunarity;
	mul		___336_pwr ___336_pwr ___336_pwHL 	%line{70} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:71
# 	}
	mul		p p lacunarity 	%line{71} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:68
# 		value *= (pwr * safe_noise(p, 0) + 1.0);
	assign		$tmp13 ___336_i 	%line{68} %argrw{"wr"}
	add		___336_i ___336_i $const13 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:74
# 	if (rmd != 0.0)
	floor		$tmp14 octaves 	%line{74} %argrw{"wr"}
	sub		___336_rmd octaves $tmp14 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:75
# 		value *= (rmd * pwr * safe_noise(p, 0) + 1.0); /* correct? */
	neq		$tmp15 ___336_rmd $const2 	%line{75} %argrw{"wrr"}
	if		$tmp15 62 62 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:76
# 
	mul		$tmp16 ___336_rmd ___336_pwr 	%line{76} %argrw{"wrr"}
	functioncall	$const10 59 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 					da[0] = d;
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 					pa[2] = pa[1];
	eq		$tmp18 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp18 52 53 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 					pa[1] = pa[0];
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 					da[3] = da[2];
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 
	isfinite	$tmp19 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp20 $tmp19 $const9 	%argrw{"wrr"}
	if		$tmp20 58 58 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 					pa[3] = pa[2];
	assign		$tmp17 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 					pa[1] = vp;
	assign		$tmp17 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:76
# 
	mul		$tmp21 $tmp16 $tmp17 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{76} %argrw{"wrr"}
	add		$tmp22 $tmp21 $const6 	%argrw{"wrr"}
	mul		___336_value ___336_value $tmp22 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:78
# }
	assign		$tmp3 ___336_value 	%line{78} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:218
# 	else if (Type == "fBM")
	mul		Fac intensity $tmp3 	%line{218} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:219
# 		Fac = intensity * noise_musgrave_fBm(p, Basis, dimension, lacunarity, octaves);
	eq		$tmp23 Type $const14 	%line{219} %argrw{"wrr"}
	if		$tmp23 114 313 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:220
# 	else if (Type == "Hybrid Multifractal")
	functioncall	$const15 113 	%line{220} %argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:35
# 	float pwr = 1.0;
	assign		___333_value $const2 	%line{35} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:36
# 	float pwHL = pow(lacunarity, -H);
	assign		___333_pwr $const6 	%line{36} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:37
# 	int i;
	neg		$tmp25 dimension 	%line{37} %argrw{"wr"}
	pow		___333_pwHL lacunarity $tmp25 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:40
# 		value += safe_noise(p, 0) * pwr;
	for		$tmp27 73 75 91 93 	%line{40} %argrw{"r"}
	assign		___333_i $const9 	%argrw{"wr"}
	assign		$tmp26 octaves 	%argrw{"wr"}
	lt		$tmp27 ___333_i $tmp26 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:41
# 		pwr *= pwHL;
	functioncall	$const10 87 	%line{41} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 	point pa[4];
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 
	eq		$tmp29 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp29 80 81 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 	return da[n];
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# {
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 
	isfinite	$tmp30 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp31 $tmp30 $const9 	%argrw{"wrr"}
	if		$tmp31 86 86 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 	voronoi(p, "Distance Squared", 0, da, pa);
	assign		$tmp28 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 	return da[n2] - da[n1];
	assign		$tmp28 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:41
# 		pwr *= pwHL;
	mul		$tmp32 $tmp28 ___333_pwr 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{41} %argrw{"wrr"}
	add		___333_value ___333_value $tmp32 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:42
# 		p *= lacunarity;
	mul		___333_pwr ___333_pwr ___333_pwHL 	%line{42} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:43
# 	}
	mul		p p lacunarity 	%line{43} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:40
# 		value += safe_noise(p, 0) * pwr;
	assign		$tmp33 ___333_i 	%line{40} %argrw{"wr"}
	add		___333_i ___333_i $const13 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:46
# 	if (rmd != 0.0)
	floor		$tmp34 octaves 	%line{46} %argrw{"wr"}
	sub		___333_rmd octaves $tmp34 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:47
# 		value += rmd * safe_noise(p, 0) * pwr;
	neq		$tmp35 ___333_rmd $const2 	%line{47} %argrw{"wrr"}
	if		$tmp35 112 112 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:48
# 
	functioncall	$const10 109 	%line{48} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 		}
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 
	eq		$tmp37 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp37 102 103 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# float voronoi_Fn(point p, int n)
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 	return da[n];
	isfinite	$tmp38 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp39 $tmp38 $const9 	%argrw{"wrr"}
	if		$tmp39 108 108 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# }
	assign		$tmp36 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# float voronoi_FnFn(point p, int n1, int n2)
	assign		$tmp36 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:48
# 
	mul		$tmp40 ___333_rmd $tmp36 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{48} %argrw{"wrr"}
	mul		$tmp41 $tmp40 ___333_pwr 	%argrw{"wrr"}
	add		___333_value ___333_value $tmp41 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:50
# }
	assign		$tmp24 ___333_value 	%line{50} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:220
# 	else if (Type == "Hybrid Multifractal")
	mul		Fac intensity $tmp24 	%line{220} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:221
# 		Fac = intensity * noise_musgrave_hybrid_multi_fractal(p, Basis, dimension, lacunarity, octaves, Offset, Gain);
	eq		$tmp42 Type $const16 	%line{221} %argrw{"wrr"}
	if		$tmp42 191 313 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:222
# 	else if (Type == "Ridged Multifractal")
	functioncall	$const17 190 	%line{222} %argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:128
# 	float pwr = pwHL;
	neg		$tmp44 dimension 	%line{128} %argrw{"wr"}
	pow		___343_pwHL lacunarity $tmp44 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:129
# 	int i;
	assign		___343_pwr ___343_pwHL 	%line{129} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:132
# 	weight = gain * result;
	functioncall	$const10 132 	%line{132} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 		result = dot(d, d);
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 	if (distance_metric == "Manhattan")
	eq		$tmp46 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp46 125 126 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 		result = fabs(d[0]) + fabs(d[1]) + fabs(d[2]);
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 		result = sqrt(fabs(d[0])) + sqrt(fabs(d[1])) + sqrt(fabs(d[1]));
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 	if (distance_metric == "Minkovsky")
	isfinite	$tmp47 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp48 $tmp47 $const9 	%argrw{"wrr"}
	if		$tmp48 131 131 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 		result = pow(pow(fabs(d[0]), e) + pow(fabs(d[1]), e) + pow(fabs(d[2]), e), 1.0 / e);
	assign		$tmp45 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 	return result;
	assign		$tmp45 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:132
# 	weight = gain * result;
	add		___343_result $tmp45 Offset 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{132} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:133
# 	p *= lacunarity;
	mul		___343_weight Gain ___343_result 	%line{133} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:134
# 
	mul		p p lacunarity 	%line{134} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:136
# 		if (weight > 1.0)
	for		$tmp50 137 144 167 169 	%line{136} %argrw{"r"}
	assign		___343_i $const13 	%argrw{"wr"}
	gt		$tmp49 ___343_weight $const18 	%argrw{"wrr"}
	neq		$tmp50 $tmp49 $const9 	%argrw{"wrr"}
	if		$tmp50 144 144 	%argrw{"r"}
	assign		$tmp51 octaves 	%argrw{"wr"}
	lt		$tmp52 ___343_i $tmp51 	%argrw{"wrr"}
	neq		$tmp53 $tmp52 $const9 	%argrw{"wrr"}
	assign		$tmp50 $tmp53 	%argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:137
# 			weight = 1.0;
	gt		$tmp54 ___343_weight $const6 	%line{137} %argrw{"wrr"}
	if		$tmp54 147 147 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:138
# 
	assign		___343_weight $const6 	%line{138} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:140
# 		pwr *= pwHL;
	functioncall	$const10 159 	%line{140} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# float voronoi_distance(string distance_metric, vector d, float e)
	eq		$tmp56 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp56 152 153 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# {
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 		result = dot(d, d);
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 	if (distance_metric == "Manhattan")
	isfinite	$tmp57 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp58 $tmp57 $const9 	%argrw{"wrr"}
	if		$tmp58 158 158 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 		result = fabs(d[0]) + fabs(d[1]) + fabs(d[2]);
	assign		$tmp55 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 		result = max(fabs(d[0]), max(fabs(d[1]), fabs(d[2])));
	assign		$tmp55 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:140
# 		pwr *= pwHL;
	add		$tmp59 $tmp55 Offset 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{140} %argrw{"wrr"}
	mul		___343_signal $tmp59 ___343_pwr 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:141
# 		result += weight * signal;
	mul		___343_pwr ___343_pwr ___343_pwHL 	%line{141} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:142
# 		weight *= gain * signal;
	mul		$tmp60 ___343_weight ___343_signal 	%line{142} %argrw{"wrr"}
	add		___343_result ___343_result $tmp60 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:143
# 		p *= lacunarity;
	mul		$tmp61 Gain ___343_signal 	%line{143} %argrw{"wrr"}
	mul		___343_weight ___343_weight $tmp61 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:144
# 	}
	mul		p p lacunarity 	%line{144} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:136
# 		if (weight > 1.0)
	assign		$tmp62 ___343_i 	%line{136} %argrw{"wr"}
	add		___343_i ___343_i $const13 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:147
# 	if (rmd != 0.0)
	floor		$tmp63 octaves 	%line{147} %argrw{"wr"}
	sub		___343_rmd octaves $tmp63 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:148
# 		result += rmd * ((safe_noise(p, 0) + offset) * pwr);
	neq		$tmp64 ___343_rmd $const2 	%line{148} %argrw{"wrr"}
	if		$tmp64 189 189 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:149
# 
	functioncall	$const10 185 	%line{149} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
#  * This program is distributed in the hope that it will be useful,
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
#  * GNU General Public License for more details.
	eq		$tmp66 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp66 178 179 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
#  *
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
#  */
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 
	isfinite	$tmp67 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp68 $tmp67 $const9 	%argrw{"wrr"}
	if		$tmp68 184 184 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# float voronoi_distance(string distance_metric, vector d, float e)
	assign		$tmp65 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 	float result = 0.0;
	assign		$tmp65 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:149
# 
	add		$tmp69 $tmp65 Offset 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{149} %argrw{"wrr"}
	mul		$tmp70 $tmp69 ___343_pwr 	%argrw{"wrr"}
	mul		$tmp71 ___343_rmd $tmp70 	%argrw{"wrr"}
	add		___343_result ___343_result $tmp71 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:151
# }
	assign		$tmp43 ___343_result 	%line{151} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:222
# 	else if (Type == "Ridged Multifractal")
	mul		Fac intensity $tmp43 	%line{222} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:223
# 		Fac = intensity * noise_musgrave_ridged_multi_fractal(p, Basis, dimension, lacunarity, octaves, Offset, Gain);
	eq		$tmp72 Type $const19 	%line{223} %argrw{"wrr"}
	if		$tmp72 246 313 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:224
# 	else if (Type == "Hetero Terrain")
	functioncall	$const20 245 	%line{224} %argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:166
# 	float pwr = pwHL;
	neg		$tmp74 dimension 	%line{166} %argrw{"wr"}
	pow		___346_pwHL lacunarity $tmp74 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:167
# 	int i;
	assign		___346_pwr ___346_pwHL 	%line{167} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:170
# 	signal *= signal;
	functioncall	$const10 209 	%line{170} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 	float f = 0.0;
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 	if (type == 0)
	eq		$tmp77 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp77 202 203 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 		f = noise("perlin", p);
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 		f = noise(p);
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 	if(!isfinite(f))
	isfinite	$tmp78 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp79 $tmp78 $const9 	%argrw{"wrr"}
	if		$tmp79 208 208 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 		return 0.5;
	assign		$tmp76 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 	return f;
	assign		$tmp76 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:170
# 	return f;
	fabs		$tmp75 $tmp76 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %argrw{"wr"}
	sub		___346_signal Offset $tmp75 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:171
# /*
	mul		___346_signal ___346_signal ___346_signal 	%line{171} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:172
#  * Copyright 2011, Blender Foundation.
	assign		___346_result ___346_signal 	%line{172} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:173
#  *
	assign		___346_weight $const6 	%line{173} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:175
#  * modify it under the terms of the GNU General Public License
	for		$tmp81 216 218 242 244 	%line{175} %argrw{"r"}
	assign		___346_i $const13 	%argrw{"wr"}
	assign		$tmp80 octaves 	%argrw{"wr"}
	lt		$tmp81 ___346_i $tmp80 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:176
#  * as published by the Free Software Foundation; either version 2
	mul		p p lacunarity 	%line{176} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:177
#  * of the License, or (at your option) any later version.
	mul		$tmp82 ___346_signal Gain 	%line{177} %argrw{"wrr"}
	functioncall	$const4 223 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\stdosl.h:142
# float  clamp (float x, float minval, float maxval) { return max(min(x,maxval),minval); }
	min		$tmp83 $tmp82 $const6 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\stdosl.h"} %line{142} %argrw{"wrr"}
	max		___346_weight $tmp83 $const2 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:178
# 	float pwHL = pow(lacunarity, -H);
	functioncall	$const10 235 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{178} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 	float f = 0.0;
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 	if (type == 0)
	eq		$tmp86 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp86 228 229 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 		f = noise("perlin", p);
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 		f = noise(p);
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 	if(!isfinite(f))
	isfinite	$tmp87 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp88 $tmp87 $const9 	%argrw{"wrr"}
	if		$tmp88 234 234 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 		return 0.5;
	assign		$tmp85 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 	return f;
	assign		$tmp85 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:178
#  *
	fabs		$tmp84 $tmp85 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{178} %argrw{"wr"}
	sub		___346_signal Offset $tmp84 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:179
#  * This program is distributed in the hope that it will be useful,
	mul		___346_signal ___346_signal ___346_signal 	%line{179} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:180
#  * but WITHOUT ANY WARRANTY; without even the implied warranty of
	mul		___346_signal ___346_signal ___346_weight 	%line{180} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:181
#  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	mul		$tmp89 ___346_signal ___346_pwr 	%line{181} %argrw{"wrr"}
	add		___346_result ___346_result $tmp89 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:182
#  * GNU General Public License for more details.
	mul		___346_pwr ___346_pwr ___346_pwHL 	%line{182} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:175
# 		p *= lacunarity;
	assign		$tmp90 ___346_i 	%line{175} %argrw{"wr"}
	add		___346_i ___346_i $const13 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:185
# }
	assign		$tmp73 ___346_result 	%line{185} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:224
# 	else if (Type == "Hetero Terrain")
	mul		Fac intensity $tmp73 	%line{224} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:225
# 		Fac = intensity * noise_musgrave_hetero_terrain(p, Basis, dimension, lacunarity, octaves, Offset);
	eq		$tmp91 Type $const21 	%line{225} %argrw{"wrr"}
	if		$tmp91 313 313 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:226
# 	
	functioncall	$const22 312 	%line{226} %argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:92
# 	float pwr = pwHL;
	neg		$tmp93 dimension 	%line{92} %argrw{"wr"}
	pow		___339_pwHL lacunarity $tmp93 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:93
# 	int i;
	assign		___339_pwr ___339_pwHL 	%line{93} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:97
# 	p *= lacunarity;
	functioncall	$const10 264 	%line{97} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 	zi = (int)floor(p[2]);
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 	da[1] = 1e10;
	eq		$tmp95 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp95 257 258 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 	da[2] = 1e10;
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 		for (yy = yi - 1; yy <= yi + 1; yy++) {
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 				point vp = (point)cellnoise_color(ip);
	isfinite	$tmp96 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp97 $tmp96 $const9 	%argrw{"wrr"}
	if		$tmp97 263 263 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 				point pd = p - (vp + ip);
	assign		$tmp94 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 
	assign		$tmp94 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:97
# 	p *= lacunarity;
	add		___339_value Offset $tmp94 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{97} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:98
# 
	mul		p p lacunarity 	%line{98} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:100
# 		increment = (safe_noise(p, 0) + offset) * pwr * value;
	for		$tmp99 268 270 288 290 	%line{100} %argrw{"r"}
	assign		___339_i $const13 	%argrw{"wr"}
	assign		$tmp98 octaves 	%argrw{"wr"}
	lt		$tmp99 ___339_i $tmp98 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:101
# 		value += increment;
	functioncall	$const10 282 	%line{101} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 	int xx, yy, zz, xi, yi, zi;
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# 	yi = (int)floor(p[1]);
	eq		$tmp101 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp101 275 276 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 	zi = (int)floor(p[2]);
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 	da[2] = 1e10;
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 	for (xx = xi - 1; xx <= xi + 1; xx++) {
	isfinite	$tmp102 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp103 $tmp102 $const9 	%argrw{"wrr"}
	if		$tmp103 281 281 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 		for (yy = yi - 1; yy <= yi + 1; yy++) {
	assign		$tmp100 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 				point ip = point(xx, yy, zz);
	assign		$tmp100 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:101
# 		value += increment;
	add		$tmp104 $tmp100 Offset 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{101} %argrw{"wrr"}
	mul		$tmp105 $tmp104 ___339_pwr 	%argrw{"wrr"}
	mul		___339_increment $tmp105 ___339_value 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:102
# 		pwr *= pwHL;
	add		___339_value ___339_value ___339_increment 	%line{102} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:103
# 		p *= lacunarity;
	mul		___339_pwr ___339_pwr ___339_pwHL 	%line{103} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:104
# 	}
	mul		p p lacunarity 	%line{104} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:100
# 		increment = (safe_noise(p, 0) + offset) * pwr * value;
	assign		$tmp106 ___339_i 	%line{100} %argrw{"wr"}
	add		___339_i ___339_i $const13 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:107
# 	if (rmd != 0.0) {
	floor		$tmp107 octaves 	%line{107} %argrw{"wr"}
	sub		___339_rmd octaves $tmp107 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:108
# 		increment = (safe_noise(p, 0) + offset) * pwr * value;
	neq		$tmp108 ___339_rmd $const2 	%line{108} %argrw{"wrr"}
	if		$tmp108 311 311 	%argrw{"r"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:109
# 		value += rmd * increment;
	functioncall	$const10 306 	%line{109} %argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:156
# 	float b = cellnoise(point(p[1], p[2], p[0]));
	assign		___320_f $const2 	%filename{"D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h"} %line{156} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:159
# }
	eq		$tmp110 $const9 $const9 	%line{159} %argrw{"wrr"}
	if		$tmp110 299 300 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:160
# 
	noise		___320_f $const11 p 	%line{160} %argrw{"wrr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:164
# 	int xx, yy, zz, xi, yi, zi;
	noise		___320_f p 	%line{164} %argrw{"wr"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:167
# 	yi = (int)floor(p[1]);
	isfinite	$tmp111 ___320_f 	%line{167} %argrw{"wr"}
	eq		$tmp112 $tmp111 $const9 	%argrw{"wrr"}
	if		$tmp112 305 305 	%argrw{"r"}
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:168
# 	zi = (int)floor(p[2]);
	assign		$tmp109 $const12 	%line{168} %argrw{"wr"}
	return
# D:/blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_texture.h:170
# 	da[0] = 1e10;
	assign		$tmp109 ___320_f 	%line{170} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:109
# 		value += rmd * increment;
	add		$tmp113 $tmp109 Offset 	%filename{"D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl"} %line{109} %argrw{"wrr"}
	mul		$tmp114 $tmp113 ___339_pwr 	%argrw{"wrr"}
	mul		___339_increment $tmp114 ___339_value 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:110
# 	}
	mul		$tmp115 ___339_rmd ___339_increment 	%line{110} %argrw{"wrr"}
	add		___339_value ___339_value $tmp115 	%argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:113
# }
	assign		$tmp92 ___339_value 	%line{113} %argrw{"wr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:226
# 	
	mul		Fac intensity $tmp92 	%line{226} %argrw{"wrr"}
# D:\\blender_dev\\code\\trunk\\intern\\cycles\\kernel\\shaders\\node_musgrave_texture.osl:228
# }
	color		Color Fac Fac Fac 	%line{228} %argrw{"wrrr"}
	end
