OpenShadingLanguage 1.00
# Compiled by oslc 1.15.3.0
# options: -q -O2 -I/build/blender/src/blender/intern/cycles/kernel/osl/shaders -I/usr/share/OSL/shaders -o /build/blender/src/build/intern/cycles/kernel/osl/shaders/node_sky_texture.oso
shader node_sky_texture
param	int	use_mapping	0		%read{2,2} %write{2147483647,-1}
param	matrix	mapping	0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0		%read{3,3} %write{2147483647,-1} %derivs
param	vector	Vector	0 0 0		%read{1,1} %write{0,0} %derivs %initexpr
param	string	sky_type	"multiple_scattering"		%read{4,182} %write{2147483647,-1}
param	float	theta	0		%read{18,202} %write{2147483647,-1}
param	float	phi	0		%read{20,198} %write{2147483647,-1}
param	string	filename	""		%read{442,442} %write{2147483647,-1}
param	color	radiance	0 0 0		%read{77,259} %write{2147483647,-1}
param	float[9]	config_x	0 0 0 0 0 0 0 0 0		%read{40,275} %write{2147483647,-1}
param	float[9]	config_y	0 0 0 0 0 0 0 0 0		%read{82,231} %write{2147483647,-1}
param	float[9]	config_z	0 0 0 0 0 0 0 0 0		%read{124,253} %write{2147483647,-1}
param	float[11]	nishita_data	0 0 0 0 0 0 0 0 0 0 0		%read{321,333} %write{2147483647,-1} %derivs
oparam	color	Color	0 0 0		%read{2147483647,-1} %write{181,464}
global	point	P	%read{0,0} %write{2147483647,-1} %derivs
local	float	___355_X	%read{299,299} %write{285,286}
local	float	___355_Z	%read{299,299} %write{297,298}
local	float	___410_cospsi	%read{27,213} %write{26,204}
local	float	___412_ctheta	%read{221,265} %write{217,261}
local	float	___412_cgamma	%read{232,277} %write{218,262}
local	vector	___413_spherical	%read{192,193} %write{191,191}
local	float	___413_theta	%read{195,261} %write{192,214}
local	float	___413_phi	%read{198,198} %write{193,193}
local	float	___413_gamma	%read{218,271} %write{207,213}
local	float	___413_x	%read{284,294} %write{236,236}
local	float	___413_y	%read{282,296} %write{258,258}
local	float	___413_Y	%read{285,299} %write{280,280}
local	color	___413_xyz	%read{300,302} %write{299,299}
local	float	___414_ctheta	%read{55,142} %write{38,122}
local	float	___414_cgamma	%read{43,135} %write{39,123}
local	float	___414_expM	%read{65,149} %write{42,126}
local	float	___414_rayM	%read{44,152} %write{43,127}
local	float	___414_mieM	%read{71,155} %write{54,138}
local	float	___414_zenith	%read{74,158} %write{55,139}
local	vector	___415_spherical	%read{14,15} %write{13,13}
local	float	___415_theta	%read{17,122} %write{14,36}
local	float	___415_phi	%read{20,20} %write{15,15}
local	float	___415_gamma	%read{39,125} %write{29,35}
local	float	___415_x	%read{164,174} %write{78,78}
local	float	___415_y	%read{165,175} %write{120,120}
local	float	___415_z	%read{167,177} %write{162,162}
local	color	___422_pixel_bottom	%read{385,385} %write{324,324}
local	color	___422_pixel_top	%read{385,385} %write{328,328}
local	float	___422_sun_elevation	%read{337,382} %write{329,329}
local	float	___422_sun_rotation	%read{335,416} %write{330,330} %derivs
local	float	___422_angular_diameter	%read{334,383} %write{331,331}
local	float	___422_sun_intensity	%read{463,463} %write{332,332}
local	float	___422_earth_intersection_angle	%read{378,378} %write{333,333}
local	int	___422_sun_disc	%read{367,367} %write{334,334}
local	vector	___422_sun_dir	%read{346,348} %write{344,344}
local	float	___422_sun_dir_angle	%read{364,386} %write{351,351}
local	float	___422_half_angular	%read{364,386} %write{352,352}
local	float	___422_alpha	%read{2147483647,-1} %write{353,442}
local	color	___422_rgb_sun	%read{463,463} %write{354,413}
local	vector	___422_direction	%read{362,414} %write{361,361} %derivs
local	float	___422_dir_elevation	%read{378,432} %write{363,363} %derivs
local	float	___423_y	%read{385,385} %write{384,384}
local	color	___423_xyz	%read{393,395} %write{385,385}
local	float	___423_angle_fraction	%read{387,387} %write{386,386}
local	float	___423_limb_darkening	%read{413,413} %write{392,392}
local	float	___422_x	%read{418,442} %write{417,420} %derivs
local	float	___422_dir_elevation_abs	%read{425,425} %write{423,424} %derivs
local	float	___422_y	%read{442,442} %write{441,441} %derivs
local	color	___422_xyz	%read{443,445} %write{442,442}
local	color	___422_rgb_sky	%read{464,464} %write{462,462}
local	vector	p	%read{3,359} %write{1,3} %derivs
const	string	$const1	"hosek_wilkie"		%read{4,4} %write{2147483647,-1}
temp	int	$tmp1	%read{5,5} %write{4,4}
const	string	$const2	"sky_radiance_hosek"		%read{6,6} %write{2147483647,-1}
const	string	$const3	"sky_spherical_coordinates"		%read{7,355} %write{2147483647,-1}
temp	float	$tmp2	%read{13,13} %write{9,9}
const	int	$const4	2		%read{8,445} %write{2147483647,-1}
temp	float	$tmp3	%read{9,9} %write{8,8}
temp	float	$tmp4	%read{13,13} %write{12,12}
const	int	$const5	0		%read{10,443} %write{2147483647,-1}
temp	float	$tmp5	%read{12,12} %write{10,10}
const	int	$const6	1		%read{11,444} %write{2147483647,-1}
temp	float	$tmp6	%read{12,12} %write{11,11}
const	float	$const7	0		%read{13,436} %write{2147483647,-1}
const	string	$const8	"sky_angle_between"		%read{16,194} %write{2147483647,-1}
temp	float	$tmp7	%read{19,19} %write{17,17}
temp	float	$tmp8	%read{19,19} %write{18,18}
temp	float	$tmp9	%read{22,22} %write{19,19}
temp	float	$tmp10	%read{22,22} %write{21,21}
temp	float	$tmp11	%read{21,21} %write{20,20}
temp	float	$tmp12	%read{26,26} %write{22,22}
temp	float	$tmp13	%read{25,25} %write{23,23}
temp	float	$tmp14	%read{25,25} %write{24,24}
temp	float	$tmp15	%read{26,26} %write{25,25}
const	float	$const9	1		%read{27,441} %write{2147483647,-1}
temp	int	$tmp16	%read{28,28} %write{27,27}
const	float	$const10	-1		%read{31,430} %write{2147483647,-1}
temp	int	$tmp17	%read{32,32} %write{31,31}
const	float	$const11	3.14159274		%read{33,415} %write{2147483647,-1}
const	float	$const12	1.56979632		%read{36,214} %write{2147483647,-1}
temp	float	$tmp18	%read{78,78} %write{76,76}
const	string	$const13	"sky_radiance_internal"		%read{37,121} %write{2147483647,-1}
const	int	$const14	4		%read{40,326} %write{2147483647,-1}
temp	float	$tmp19	%read{41,41} %write{40,40}
temp	float	$tmp20	%read{42,42} %write{41,41}
temp	float	$tmp21	%read{54,54} %write{44,44}
temp	float	$tmp22	%read{54,54} %write{53,53}
const	int	$const15	8		%read{45,331} %write{2147483647,-1}
temp	float	$tmp23	%read{47,47} %write{45,45}
temp	float	$tmp24	%read{47,47} %write{46,46}
temp	float	$tmp25	%read{48,48} %write{47,47}
temp	float	$tmp26	%read{52,52} %write{48,48}
const	float	$const16	2		%read{50,351} %write{2147483647,-1}
temp	float	$tmp27	%read{50,50} %write{49,49}
temp	float	$tmp28	%read{51,51} %write{50,50}
temp	float	$tmp29	%read{52,52} %write{51,51}
temp	float	$tmp30	%read{53,53} %write{52,52}
const	float	$const17	1.5		%read{53,137} %write{2147483647,-1}
temp	float	$tmp31	%read{61,61} %write{56,56}
temp	float	$tmp32	%read{61,61} %write{60,60}
temp	float	$tmp33	%read{59,59} %write{57,57}
const	float	$const18	0.00999999978		%read{58,142} %write{2147483647,-1}
temp	float	$tmp34	%read{59,59} %write{58,58}
temp	float	$tmp35	%read{60,60} %write{59,59}
temp	float	$tmp36	%read{62,62} %write{61,61}
temp	float	$tmp37	%read{76,76} %write{62,62}
temp	float	$tmp38	%read{66,66} %write{63,63}
const	int	$const19	3		%read{64,325} %write{2147483647,-1}
temp	float	$tmp39	%read{65,65} %write{64,64}
temp	float	$tmp40	%read{66,66} %write{65,65}
temp	float	$tmp41	%read{69,69} %write{66,66}
const	int	$const20	5		%read{67,327} %write{2147483647,-1}
temp	float	$tmp42	%read{68,68} %write{67,67}
temp	float	$tmp43	%read{69,69} %write{68,68}
temp	float	$tmp44	%read{72,72} %write{69,69}
const	int	$const21	6		%read{70,329} %write{2147483647,-1}
temp	float	$tmp45	%read{71,71} %write{70,70}
temp	float	$tmp46	%read{72,72} %write{71,71}
temp	float	$tmp47	%read{75,75} %write{72,72}
const	int	$const22	7		%read{73,330} %write{2147483647,-1}
temp	float	$tmp48	%read{74,74} %write{73,73}
temp	float	$tmp49	%read{75,75} %write{74,74}
temp	float	$tmp50	%read{76,76} %write{75,75}
temp	float	$tmp51	%read{78,78} %write{77,77}
temp	float	$tmp52	%read{120,120} %write{118,118}
temp	float	$tmp53	%read{83,83} %write{82,82}
temp	float	$tmp54	%read{84,84} %write{83,83}
temp	float	$tmp55	%read{96,96} %write{86,86}
temp	float	$tmp56	%read{96,96} %write{95,95}
temp	float	$tmp57	%read{89,89} %write{87,87}
temp	float	$tmp58	%read{89,89} %write{88,88}
temp	float	$tmp59	%read{90,90} %write{89,89}
temp	float	$tmp60	%read{94,94} %write{90,90}
temp	float	$tmp61	%read{92,92} %write{91,91}
temp	float	$tmp62	%read{93,93} %write{92,92}
temp	float	$tmp63	%read{94,94} %write{93,93}
temp	float	$tmp64	%read{95,95} %write{94,94}
temp	float	$tmp65	%read{103,103} %write{98,98}
temp	float	$tmp66	%read{103,103} %write{102,102}
temp	float	$tmp67	%read{101,101} %write{99,99}
temp	float	$tmp68	%read{101,101} %write{100,100}
temp	float	$tmp69	%read{102,102} %write{101,101}
temp	float	$tmp70	%read{104,104} %write{103,103}
temp	float	$tmp71	%read{118,118} %write{104,104}
temp	float	$tmp72	%read{108,108} %write{105,105}
temp	float	$tmp73	%read{107,107} %write{106,106}
temp	float	$tmp74	%read{108,108} %write{107,107}
temp	float	$tmp75	%read{111,111} %write{108,108}
temp	float	$tmp76	%read{110,110} %write{109,109}
temp	float	$tmp77	%read{111,111} %write{110,110}
temp	float	$tmp78	%read{114,114} %write{111,111}
temp	float	$tmp79	%read{113,113} %write{112,112}
temp	float	$tmp80	%read{114,114} %write{113,113}
temp	float	$tmp81	%read{117,117} %write{114,114}
temp	float	$tmp82	%read{116,116} %write{115,115}
temp	float	$tmp83	%read{117,117} %write{116,116}
temp	float	$tmp84	%read{118,118} %write{117,117}
temp	float	$tmp85	%read{120,120} %write{119,119}
temp	float	$tmp86	%read{162,162} %write{160,160}
temp	float	$tmp87	%read{125,125} %write{124,124}
temp	float	$tmp88	%read{126,126} %write{125,125}
temp	float	$tmp89	%read{138,138} %write{128,128}
temp	float	$tmp90	%read{138,138} %write{137,137}
temp	float	$tmp91	%read{131,131} %write{129,129}
temp	float	$tmp92	%read{131,131} %write{130,130}
temp	float	$tmp93	%read{132,132} %write{131,131}
temp	float	$tmp94	%read{136,136} %write{132,132}
temp	float	$tmp95	%read{134,134} %write{133,133}
temp	float	$tmp96	%read{135,135} %write{134,134}
temp	float	$tmp97	%read{136,136} %write{135,135}
temp	float	$tmp98	%read{137,137} %write{136,136}
temp	float	$tmp99	%read{145,145} %write{140,140}
temp	float	$tmp100	%read{145,145} %write{144,144}
temp	float	$tmp101	%read{143,143} %write{141,141}
temp	float	$tmp102	%read{143,143} %write{142,142}
temp	float	$tmp103	%read{144,144} %write{143,143}
temp	float	$tmp104	%read{146,146} %write{145,145}
temp	float	$tmp105	%read{160,160} %write{146,146}
temp	float	$tmp106	%read{150,150} %write{147,147}
temp	float	$tmp107	%read{149,149} %write{148,148}
temp	float	$tmp108	%read{150,150} %write{149,149}
temp	float	$tmp109	%read{153,153} %write{150,150}
temp	float	$tmp110	%read{152,152} %write{151,151}
temp	float	$tmp111	%read{153,153} %write{152,152}
temp	float	$tmp112	%read{156,156} %write{153,153}
temp	float	$tmp113	%read{155,155} %write{154,154}
temp	float	$tmp114	%read{156,156} %write{155,155}
temp	float	$tmp115	%read{159,159} %write{156,156}
temp	float	$tmp116	%read{158,158} %write{157,157}
temp	float	$tmp117	%read{159,159} %write{158,158}
temp	float	$tmp118	%read{160,160} %write{159,159}
temp	float	$tmp119	%read{162,162} %write{161,161}
temp	color	$tmp120	%read{181,181} %write{179,179}
const	string	$const23	"xyz_to_rgb"		%read{163,446} %write{2147483647,-1}
const	float	$const24	3.24047899		%read{164,447} %write{2147483647,-1}
temp	float	$tmp121	%read{166,166} %write{164,164}
const	float	$const25	-1.53715003		%read{165,448} %write{2147483647,-1}
temp	float	$tmp122	%read{166,166} %write{165,165}
temp	float	$tmp123	%read{168,168} %write{166,166}
const	float	$const26	-0.498535007		%read{167,450} %write{2147483647,-1}
temp	float	$tmp124	%read{168,168} %write{167,167}
temp	float	$tmp125	%read{179,179} %write{168,168}
const	float	$const27	-0.969255984		%read{169,452} %write{2147483647,-1}
temp	float	$tmp126	%read{171,171} %write{169,169}
const	float	$const28	1.87599099		%read{170,453} %write{2147483647,-1}
temp	float	$tmp127	%read{171,171} %write{170,170}
temp	float	$tmp128	%read{173,173} %write{171,171}
const	float	$const29	0.0415560007		%read{172,455} %write{2147483647,-1}
temp	float	$tmp129	%read{173,173} %write{172,172}
temp	float	$tmp130	%read{179,179} %write{173,173}
const	float	$const30	0.055647999		%read{174,457} %write{2147483647,-1}
temp	float	$tmp131	%read{176,176} %write{174,174}
const	float	$const31	-0.204043001		%read{175,458} %write{2147483647,-1}
temp	float	$tmp132	%read{176,176} %write{175,175}
temp	float	$tmp133	%read{178,178} %write{176,176}
const	float	$const32	1.05731106		%read{177,460} %write{2147483647,-1}
temp	float	$tmp134	%read{178,178} %write{177,177}
temp	float	$tmp135	%read{179,179} %write{178,178}
const	float	$const33	6.28318548		%read{180,417} %write{2147483647,-1}
temp	float	$tmp136	%read{181,181} %write{180,180}
const	float	$const35	683		%read{180,180} %write{2147483647,-1}
const	string	$const36	"preetham"		%read{182,182} %write{2147483647,-1}
temp	int	$tmp137	%read{183,183} %write{182,182}
const	string	$const37	"sky_radiance_preetham"		%read{184,184} %write{2147483647,-1}
temp	float	$tmp138	%read{191,191} %write{187,187}
temp	float	$tmp139	%read{187,187} %write{186,186}
temp	float	$tmp140	%read{191,191} %write{190,190}
temp	float	$tmp141	%read{190,190} %write{188,188}
temp	float	$tmp142	%read{190,190} %write{189,189}
temp	float	$tmp143	%read{197,197} %write{195,195}
temp	float	$tmp144	%read{197,197} %write{196,196}
temp	float	$tmp145	%read{200,200} %write{197,197}
temp	float	$tmp146	%read{200,200} %write{199,199}
temp	float	$tmp147	%read{199,199} %write{198,198}
temp	float	$tmp148	%read{204,204} %write{200,200}
temp	float	$tmp149	%read{203,203} %write{201,201}
temp	float	$tmp150	%read{203,203} %write{202,202}
temp	float	$tmp151	%read{204,204} %write{203,203}
temp	int	$tmp152	%read{206,206} %write{205,205}
temp	int	$tmp153	%read{210,210} %write{209,209}
temp	float	$tmp154	%read{236,236} %write{215,215}
temp	float	$tmp155	%read{236,236} %write{235,235}
const	string	$const38	"sky_perez_function"		%read{216,260} %write{2147483647,-1}
temp	float	$tmp156	%read{223,223} %write{219,219}
temp	float	$tmp157	%read{223,223} %write{222,222}
temp	float	$tmp158	%read{221,221} %write{220,220}
temp	float	$tmp159	%read{222,222} %write{221,221}
temp	float	$tmp160	%read{224,224} %write{223,223}
temp	float	$tmp161	%read{235,235} %write{224,224}
temp	float	$tmp162	%read{229,229} %write{225,225}
temp	float	$tmp163	%read{229,229} %write{228,228}
temp	float	$tmp164	%read{227,227} %write{226,226}
temp	float	$tmp165	%read{228,228} %write{227,227}
temp	float	$tmp166	%read{230,230} %write{229,229}
temp	float	$tmp167	%read{234,234} %write{230,230}
temp	float	$tmp168	%read{232,232} %write{231,231}
temp	float	$tmp169	%read{233,233} %write{232,232}
temp	float	$tmp170	%read{234,234} %write{233,233}
temp	float	$tmp171	%read{235,235} %write{234,234}
temp	float	$tmp172	%read{258,258} %write{237,237}
temp	float	$tmp173	%read{258,258} %write{257,257}
temp	float	$tmp174	%read{245,245} %write{241,241}
temp	float	$tmp175	%read{245,245} %write{244,244}
temp	float	$tmp176	%read{243,243} %write{242,242}
temp	float	$tmp177	%read{244,244} %write{243,243}
temp	float	$tmp178	%read{246,246} %write{245,245}
temp	float	$tmp179	%read{257,257} %write{246,246}
temp	float	$tmp180	%read{251,251} %write{247,247}
temp	float	$tmp181	%read{251,251} %write{250,250}
temp	float	$tmp182	%read{249,249} %write{248,248}
temp	float	$tmp183	%read{250,250} %write{249,249}
temp	float	$tmp184	%read{252,252} %write{251,251}
temp	float	$tmp185	%read{256,256} %write{252,252}
temp	float	$tmp186	%read{254,254} %write{253,253}
temp	float	$tmp187	%read{255,255} %write{254,254}
temp	float	$tmp188	%read{256,256} %write{255,255}
temp	float	$tmp189	%read{257,257} %write{256,256}
temp	float	$tmp190	%read{280,280} %write{259,259}
temp	float	$tmp191	%read{280,280} %write{279,279}
temp	float	$tmp192	%read{267,267} %write{263,263}
temp	float	$tmp193	%read{267,267} %write{266,266}
temp	float	$tmp194	%read{265,265} %write{264,264}
temp	float	$tmp195	%read{266,266} %write{265,265}
temp	float	$tmp196	%read{268,268} %write{267,267}
temp	float	$tmp197	%read{279,279} %write{268,268}
temp	float	$tmp198	%read{273,273} %write{269,269}
temp	float	$tmp199	%read{273,273} %write{272,272}
temp	float	$tmp200	%read{271,271} %write{270,270}
temp	float	$tmp201	%read{272,272} %write{271,271}
temp	float	$tmp202	%read{274,274} %write{273,273}
temp	float	$tmp203	%read{278,278} %write{274,274}
temp	float	$tmp204	%read{276,276} %write{275,275}
temp	float	$tmp205	%read{277,277} %write{276,276}
temp	float	$tmp206	%read{278,278} %write{277,277}
temp	float	$tmp207	%read{279,279} %write{278,278}
const	string	$const39	"xyY_to_xyz"		%read{281,281} %write{2147483647,-1}
temp	int	$tmp208	%read{283,283} %write{282,282}
temp	float	$tmp209	%read{285,285} %write{284,284}
temp	int	$tmp210	%read{288,288} %write{287,287}
temp	int	$tmp211	%read{289,293} %write{288,292}
temp	int	$tmp212	%read{291,291} %write{290,290}
temp	int	$tmp213	%read{292,292} %write{291,291}
temp	float	$tmp214	%read{295,295} %write{294,294}
temp	float	$tmp215	%read{296,296} %write{295,295}
temp	float	$tmp216	%read{297,297} %write{296,296}
temp	float	$tmp217	%read{304,314} %write{300,300}
temp	float	$tmp218	%read{305,315} %write{301,301}
temp	float	$tmp219	%read{307,317} %write{302,302}
temp	float	$tmp220	%read{306,306} %write{304,304}
temp	float	$tmp221	%read{306,306} %write{305,305}
temp	float	$tmp222	%read{308,308} %write{306,306}
temp	float	$tmp223	%read{308,308} %write{307,307}
temp	float	$tmp224	%read{319,319} %write{308,308}
temp	float	$tmp225	%read{311,311} %write{309,309}
temp	float	$tmp226	%read{311,311} %write{310,310}
temp	float	$tmp227	%read{313,313} %write{311,311}
temp	float	$tmp228	%read{313,313} %write{312,312}
temp	float	$tmp229	%read{319,319} %write{313,313}
temp	float	$tmp230	%read{316,316} %write{314,314}
temp	float	$tmp231	%read{316,316} %write{315,315}
temp	float	$tmp232	%read{318,318} %write{316,316}
temp	float	$tmp233	%read{318,318} %write{317,317}
temp	float	$tmp234	%read{319,319} %write{318,318}
const	string	$const40	"sky_radiance_nishita"		%read{320,320} %write{2147483647,-1}
temp	float	$tmp235	%read{324,324} %write{321,321}
temp	float	$tmp236	%read{324,324} %write{322,322}
temp	float	$tmp237	%read{324,324} %write{323,323}
temp	float	$tmp238	%read{328,328} %write{325,325}
temp	float	$tmp239	%read{328,328} %write{326,326}
temp	float	$tmp240	%read{328,328} %write{327,327}
const	int	$const41	9		%read{332,332} %write{2147483647,-1}
const	int	$const42	10		%read{333,333} %write{2147483647,-1}
const	float	$const43	1.57079637		%read{335,425} %write{2147483647,-1}
temp	float	$tmp241	%read{338,341} %write{335,335}
const	string	$const44	"spherical_to_direction"		%read{336,336} %write{2147483647,-1}
temp	float	$tmp242	%read{339,339} %write{337,337}
temp	float	$tmp243	%read{339,339} %write{338,338}
temp	float	$tmp244	%read{344,344} %write{339,339}
temp	float	$tmp245	%read{342,342} %write{340,340}
temp	float	$tmp246	%read{342,342} %write{341,341}
temp	float	$tmp247	%read{344,344} %write{342,342}
temp	float	$tmp248	%read{344,344} %write{343,343}
const	string	$const45	"precise_angle"		%read{345,345} %write{2147483647,-1}
temp	float	$tmp249	%read{351,351} %write{350,350}
temp	float	$tmp250	%read{350,350} %write{347,347}
temp	vector	$tmp251	%read{347,347} %write{346,346}
temp	float	$tmp252	%read{350,350} %write{349,349}
temp	vector	$tmp253	%read{349,349} %write{348,348}
const	float	$const46	0.5		%read{352,440} %write{2147483647,-1}
const	color	$const47	0 0 0		%read{354,354} %write{2147483647,-1}
temp	float	$tmp254	%read{361,361} %write{357,357} %derivs
temp	float	$tmp255	%read{357,357} %write{356,356} %derivs
temp	float	$tmp256	%read{361,361} %write{360,360} %derivs
temp	float	$tmp257	%read{360,360} %write{358,358} %derivs
temp	float	$tmp258	%read{360,360} %write{359,359} %derivs
temp	float	$tmp259	%read{363,363} %write{362,362} %derivs
temp	int	$tmp260	%read{365,365} %write{364,364}
temp	int	$tmp261	%read{366,370} %write{365,369}
temp	int	$tmp262	%read{368,368} %write{367,367}
temp	int	$tmp263	%read{369,369} %write{368,368}
temp	int	$tmp264	%read{371,376} %write{370,375}
temp	int	$tmp265	%read{373,373} %write{372,372}
const	string	$const48	"importance_bake"		%read{372,372} %write{2147483647,-1}
temp	int	$tmp266	%read{374,374} %write{373,373}
temp	int	$tmp267	%read{375,375} %write{374,374}
temp	int	$tmp268	%read{377,381} %write{376,380}
temp	int	$tmp269	%read{379,379} %write{378,378}
temp	int	$tmp270	%read{380,380} %write{379,379}
temp	float	$tmp271	%read{383,383} %write{382,382}
temp	float	$tmp272	%read{384,384} %write{383,383}
const	float	$const49	0.600000024		%read{391,391} %write{2147483647,-1}
temp	float	$tmp273	%read{390,390} %write{389,389}
temp	float	$tmp274	%read{388,388} %write{387,387}
temp	float	$tmp275	%read{389,389} %write{388,388}
temp	float	$tmp276	%read{391,391} %write{390,390}
temp	float	$tmp277	%read{392,392} %write{391,391}
temp	color	$tmp278	%read{413,413} %write{412,412}
temp	float	$tmp279	%read{397,407} %write{393,393}
temp	float	$tmp280	%read{398,408} %write{394,394}
temp	float	$tmp281	%read{400,410} %write{395,395}
temp	float	$tmp282	%read{399,399} %write{397,397}
temp	float	$tmp283	%read{399,399} %write{398,398}
temp	float	$tmp284	%read{401,401} %write{399,399}
temp	float	$tmp285	%read{401,401} %write{400,400}
temp	float	$tmp286	%read{412,412} %write{401,401}
temp	float	$tmp287	%read{404,404} %write{402,402}
temp	float	$tmp288	%read{404,404} %write{403,403}
temp	float	$tmp289	%read{406,406} %write{404,404}
temp	float	$tmp290	%read{406,406} %write{405,405}
temp	float	$tmp291	%read{412,412} %write{406,406}
temp	float	$tmp292	%read{409,409} %write{407,407}
temp	float	$tmp293	%read{409,409} %write{408,408}
temp	float	$tmp294	%read{411,411} %write{409,409}
temp	float	$tmp295	%read{411,411} %write{410,410}
temp	float	$tmp296	%read{412,412} %write{411,411}
temp	float	$tmp297	%read{415,415} %write{414,414} %derivs
temp	float	$tmp298	%read{416,416} %write{415,415} %derivs
temp	float	$tmp299	%read{417,417} %write{416,416} %derivs
temp	int	$tmp300	%read{419,419} %write{418,418}
temp	int	$tmp301	%read{422,422} %write{421,421}
temp	float	$tmp302	%read{438,438} %write{426,426} %derivs
temp	float	$tmp303	%read{426,426} %write{425,425} %derivs
temp	float	$tmp304	%read{438,438} %write{430,436} %derivs
const	string	$const50	"signx"		%read{427,427} %write{2147483647,-1}
temp	int	$tmp305	%read{429,429} %write{428,428}
temp	int	$tmp306	%read{433,433} %write{432,432}
temp	float	$tmp307	%read{439,439} %write{438,438} %derivs
temp	float	$tmp308	%read{440,440} %write{439,439} %derivs
temp	float	$tmp309	%read{441,441} %write{440,440} %derivs
const	string	$const51	"wrap"		%read{442,442} %write{2147483647,-1}
const	string	$const52	"clamp"		%read{442,442} %write{2147483647,-1}
const	string	$const53	"interp"		%read{442,442} %write{2147483647,-1}
const	string	$const54	"linear"		%read{442,442} %write{2147483647,-1}
const	string	$const55	"alpha"		%read{442,442} %write{2147483647,-1}
temp	float	$tmp310	%read{447,457} %write{443,443}
temp	float	$tmp311	%read{448,458} %write{444,444}
temp	float	$tmp312	%read{450,460} %write{445,445}
temp	float	$tmp313	%read{449,449} %write{447,447}
temp	float	$tmp314	%read{449,449} %write{448,448}
temp	float	$tmp315	%read{451,451} %write{449,449}
temp	float	$tmp316	%read{451,451} %write{450,450}
temp	float	$tmp317	%read{462,462} %write{451,451}
temp	float	$tmp318	%read{454,454} %write{452,452}
temp	float	$tmp319	%read{454,454} %write{453,453}
temp	float	$tmp320	%read{456,456} %write{454,454}
temp	float	$tmp321	%read{456,456} %write{455,455}
temp	float	$tmp322	%read{462,462} %write{456,456}
temp	float	$tmp323	%read{459,459} %write{457,457}
temp	float	$tmp324	%read{459,459} %write{458,458}
temp	float	$tmp325	%read{461,461} %write{459,459}
temp	float	$tmp326	%read{461,461} %write{460,460}
temp	float	$tmp327	%read{462,462} %write{461,461}
temp	color	$tmp328	%read{464,464} %write{463,463}
code Vector
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:178
#     vector Vector = P,
	assign		Vector P 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl"} %line{178} %argrw{"wr"}
code ___main___
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:190
#   vector p = Vector;
	assign		p Vector 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl"} %line{190} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:192
#   if (use_mapping)
	if		use_mapping 4 4 	%line{192} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:193
#     p = transform(mapping, p);
	transformv	p mapping p 	%line{193} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:195
#   if (sky_type == "hosek_wilkie")
	eq		$tmp1 sky_type $const1 	%line{195} %argrw{"wrr"}
	if		$tmp1 182 466 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:196
#     Color = sky_radiance_hosek(p, phi, theta, radiance, config_x, config_y, config_z);
	functioncall	$const2 182 	%line{196} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:88
#   vector spherical = sky_spherical_coordinates(dir);
	functioncall	$const3 14 	%line{88} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:22
#   return vector(acos(dir[2]), atan2(dir[0], dir[1]), 0);
	compref		$tmp3 p $const4 	%line{22} %argrw{"wrr"}
	acos		$tmp2 $tmp3 	%argrw{"wr"}
	compref		$tmp5 p $const5 	%argrw{"wrr"}
	compref		$tmp6 p $const6 	%argrw{"wrr"}
	atan2		$tmp4 $tmp5 $tmp6 	%argrw{"wrr"}
	vector		___415_spherical $tmp2 $tmp4 $const7 	%argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:89
#   float theta = spherical[0];
	compref		___415_theta ___415_spherical $const5 	%line{89} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:90
#   float phi = spherical[1];
	compref		___415_phi ___415_spherical $const6 	%line{90} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:93
#   float gamma = sky_angle_between(theta, phi, suntheta, sunphi);
	functioncall	$const8 36 	%line{93} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:10
#   float cospsi = sin(thetav) * sin(theta) * cos(phi - phiv) + cos(thetav) * cos(theta);
	sin		$tmp7 ___415_theta 	%line{10} %argrw{"wr"}
	sin		$tmp8 theta 	%argrw{"wr"}
	mul		$tmp9 $tmp7 $tmp8 	%argrw{"wrr"}
	sub		$tmp11 phi ___415_phi 	%argrw{"wrr"}
	cos		$tmp10 $tmp11 	%argrw{"wr"}
	mul		$tmp12 $tmp9 $tmp10 	%argrw{"wrr"}
	cos		$tmp13 ___415_theta 	%argrw{"wr"}
	cos		$tmp14 theta 	%argrw{"wr"}
	mul		$tmp15 $tmp13 $tmp14 	%argrw{"wrr"}
	add		___410_cospsi $tmp12 $tmp15 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:12
#   if (cospsi > 1.0)
	gt		$tmp16 ___410_cospsi $const9 	%line{12} %argrw{"wrr"}
	if		$tmp16 31 31 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:13
#     return 0.0;
	assign		___415_gamma $const7 	%line{13} %argrw{"wr"}
	return
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:14
#   if (cospsi < -1.0)
	lt		$tmp17 ___410_cospsi $const10 	%line{14} %argrw{"wrr"}
	if		$tmp17 35 35 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:15
#     return M_PI;
	assign		___415_gamma $const11 	%line{15} %argrw{"wr"}
	return
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:17
#   return acos(cospsi);
	acos		___415_gamma ___410_cospsi 	%line{17} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:96
#   theta = min(theta, M_PI_2 - 0.001);
	min		___415_theta ___415_theta $const12 	%line{96} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:99
#   float x = sky_radiance_internal(config_x, theta, gamma) * radiance[0];
	functioncall	$const13 77 	%line{99} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:67
#   float ctheta = cos(theta);
	cos		___414_ctheta ___415_theta 	%line{67} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:68
#   float cgamma = cos(gamma);
	cos		___414_cgamma ___415_gamma 	%line{68} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:70
#   float expM = exp(config[4] * gamma);
	aref		$tmp19 config_x $const14 	%line{70} %argrw{"wrr"}
	mul		$tmp20 $tmp19 ___415_gamma 	%argrw{"wrr"}
	exp		___414_expM $tmp20 	%argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:71
#   float rayM = cgamma * cgamma;
	mul		___414_rayM ___414_cgamma ___414_cgamma 	%line{71} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:72
#   float mieM = (1.0 + rayM) / pow((1.0 + config[8] * config[8] - 2.0 * config[8] * cgamma), 1.5);
	add		$tmp21 $const9 ___414_rayM 	%line{72} %argrw{"wrr"}
	aref		$tmp23 config_x $const15 	%argrw{"wrr"}
	aref		$tmp24 config_x $const15 	%argrw{"wrr"}
	mul		$tmp25 $tmp23 $tmp24 	%argrw{"wrr"}
	add		$tmp26 $const9 $tmp25 	%argrw{"wrr"}
	aref		$tmp27 config_x $const15 	%argrw{"wrr"}
	mul		$tmp28 $const16 $tmp27 	%argrw{"wrr"}
	mul		$tmp29 $tmp28 ___414_cgamma 	%argrw{"wrr"}
	sub		$tmp30 $tmp26 $tmp29 	%argrw{"wrr"}
	pow		$tmp22 $tmp30 $const17 	%argrw{"wrr"}
	div		___414_mieM $tmp21 $tmp22 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:73
#   float zenith = sqrt(ctheta);
	sqrt		___414_zenith ___414_ctheta 	%line{73} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:75
#   return (1.0 + config[0] * exp(config[1] / (ctheta + 0.01))) *
	aref		$tmp31 config_x $const5 	%line{75} %argrw{"wrr"}
	aref		$tmp33 config_x $const6 	%argrw{"wrr"}
	add		$tmp34 ___414_ctheta $const18 	%argrw{"wrr"}
	div		$tmp35 $tmp33 $tmp34 	%argrw{"wrr"}
	exp		$tmp32 $tmp35 	%argrw{"wr"}
	mul		$tmp36 $tmp31 $tmp32 	%argrw{"wrr"}
	add		$tmp37 $const9 $tmp36 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:76
#          (config[2] + config[3] * expM + config[5] * rayM + config[6] * mieM + config[7] * zenith);
	aref		$tmp38 config_x $const4 	%line{76} %argrw{"wrr"}
	aref		$tmp39 config_x $const19 	%argrw{"wrr"}
	mul		$tmp40 $tmp39 ___414_expM 	%argrw{"wrr"}
	add		$tmp41 $tmp38 $tmp40 	%argrw{"wrr"}
	aref		$tmp42 config_x $const20 	%argrw{"wrr"}
	mul		$tmp43 $tmp42 ___414_rayM 	%argrw{"wrr"}
	add		$tmp44 $tmp41 $tmp43 	%argrw{"wrr"}
	aref		$tmp45 config_x $const21 	%argrw{"wrr"}
	mul		$tmp46 $tmp45 ___414_mieM 	%argrw{"wrr"}
	add		$tmp47 $tmp44 $tmp46 	%argrw{"wrr"}
	aref		$tmp48 config_x $const22 	%argrw{"wrr"}
	mul		$tmp49 $tmp48 ___414_zenith 	%argrw{"wrr"}
	add		$tmp50 $tmp47 $tmp49 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:75
#   return (1.0 + config[0] * exp(config[1] / (ctheta + 0.01))) *
	mul		$tmp18 $tmp37 $tmp50 	%line{75} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:99
#   float x = sky_radiance_internal(config_x, theta, gamma) * radiance[0];
	compref		$tmp51 radiance $const5 	%line{99} %argrw{"wrr"}
	mul		___415_x $tmp18 $tmp51 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:100
#   float y = sky_radiance_internal(config_y, theta, gamma) * radiance[1];
	functioncall	$const13 119 	%line{100} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:67
#   float ctheta = cos(theta);
	cos		___414_ctheta ___415_theta 	%line{67} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:68
#   float cgamma = cos(gamma);
	cos		___414_cgamma ___415_gamma 	%line{68} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:70
#   float expM = exp(config[4] * gamma);
	aref		$tmp53 config_y $const14 	%line{70} %argrw{"wrr"}
	mul		$tmp54 $tmp53 ___415_gamma 	%argrw{"wrr"}
	exp		___414_expM $tmp54 	%argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:71
#   float rayM = cgamma * cgamma;
	mul		___414_rayM ___414_cgamma ___414_cgamma 	%line{71} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:72
#   float mieM = (1.0 + rayM) / pow((1.0 + config[8] * config[8] - 2.0 * config[8] * cgamma), 1.5);
	add		$tmp55 $const9 ___414_rayM 	%line{72} %argrw{"wrr"}
	aref		$tmp57 config_y $const15 	%argrw{"wrr"}
	aref		$tmp58 config_y $const15 	%argrw{"wrr"}
	mul		$tmp59 $tmp57 $tmp58 	%argrw{"wrr"}
	add		$tmp60 $const9 $tmp59 	%argrw{"wrr"}
	aref		$tmp61 config_y $const15 	%argrw{"wrr"}
	mul		$tmp62 $const16 $tmp61 	%argrw{"wrr"}
	mul		$tmp63 $tmp62 ___414_cgamma 	%argrw{"wrr"}
	sub		$tmp64 $tmp60 $tmp63 	%argrw{"wrr"}
	pow		$tmp56 $tmp64 $const17 	%argrw{"wrr"}
	div		___414_mieM $tmp55 $tmp56 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:73
#   float zenith = sqrt(ctheta);
	sqrt		___414_zenith ___414_ctheta 	%line{73} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:75
#   return (1.0 + config[0] * exp(config[1] / (ctheta + 0.01))) *
	aref		$tmp65 config_y $const5 	%line{75} %argrw{"wrr"}
	aref		$tmp67 config_y $const6 	%argrw{"wrr"}
	add		$tmp68 ___414_ctheta $const18 	%argrw{"wrr"}
	div		$tmp69 $tmp67 $tmp68 	%argrw{"wrr"}
	exp		$tmp66 $tmp69 	%argrw{"wr"}
	mul		$tmp70 $tmp65 $tmp66 	%argrw{"wrr"}
	add		$tmp71 $const9 $tmp70 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:76
#          (config[2] + config[3] * expM + config[5] * rayM + config[6] * mieM + config[7] * zenith);
	aref		$tmp72 config_y $const4 	%line{76} %argrw{"wrr"}
	aref		$tmp73 config_y $const19 	%argrw{"wrr"}
	mul		$tmp74 $tmp73 ___414_expM 	%argrw{"wrr"}
	add		$tmp75 $tmp72 $tmp74 	%argrw{"wrr"}
	aref		$tmp76 config_y $const20 	%argrw{"wrr"}
	mul		$tmp77 $tmp76 ___414_rayM 	%argrw{"wrr"}
	add		$tmp78 $tmp75 $tmp77 	%argrw{"wrr"}
	aref		$tmp79 config_y $const21 	%argrw{"wrr"}
	mul		$tmp80 $tmp79 ___414_mieM 	%argrw{"wrr"}
	add		$tmp81 $tmp78 $tmp80 	%argrw{"wrr"}
	aref		$tmp82 config_y $const22 	%argrw{"wrr"}
	mul		$tmp83 $tmp82 ___414_zenith 	%argrw{"wrr"}
	add		$tmp84 $tmp81 $tmp83 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:75
#   return (1.0 + config[0] * exp(config[1] / (ctheta + 0.01))) *
	mul		$tmp52 $tmp71 $tmp84 	%line{75} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:100
#   float y = sky_radiance_internal(config_y, theta, gamma) * radiance[1];
	compref		$tmp85 radiance $const6 	%line{100} %argrw{"wrr"}
	mul		___415_y $tmp52 $tmp85 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:101
#   float z = sky_radiance_internal(config_z, theta, gamma) * radiance[2];
	functioncall	$const13 161 	%line{101} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:67
#   float ctheta = cos(theta);
	cos		___414_ctheta ___415_theta 	%line{67} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:68
#   float cgamma = cos(gamma);
	cos		___414_cgamma ___415_gamma 	%line{68} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:70
#   float expM = exp(config[4] * gamma);
	aref		$tmp87 config_z $const14 	%line{70} %argrw{"wrr"}
	mul		$tmp88 $tmp87 ___415_gamma 	%argrw{"wrr"}
	exp		___414_expM $tmp88 	%argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:71
#   float rayM = cgamma * cgamma;
	mul		___414_rayM ___414_cgamma ___414_cgamma 	%line{71} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:72
#   float mieM = (1.0 + rayM) / pow((1.0 + config[8] * config[8] - 2.0 * config[8] * cgamma), 1.5);
	add		$tmp89 $const9 ___414_rayM 	%line{72} %argrw{"wrr"}
	aref		$tmp91 config_z $const15 	%argrw{"wrr"}
	aref		$tmp92 config_z $const15 	%argrw{"wrr"}
	mul		$tmp93 $tmp91 $tmp92 	%argrw{"wrr"}
	add		$tmp94 $const9 $tmp93 	%argrw{"wrr"}
	aref		$tmp95 config_z $const15 	%argrw{"wrr"}
	mul		$tmp96 $const16 $tmp95 	%argrw{"wrr"}
	mul		$tmp97 $tmp96 ___414_cgamma 	%argrw{"wrr"}
	sub		$tmp98 $tmp94 $tmp97 	%argrw{"wrr"}
	pow		$tmp90 $tmp98 $const17 	%argrw{"wrr"}
	div		___414_mieM $tmp89 $tmp90 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:73
#   float zenith = sqrt(ctheta);
	sqrt		___414_zenith ___414_ctheta 	%line{73} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:75
#   return (1.0 + config[0] * exp(config[1] / (ctheta + 0.01))) *
	aref		$tmp99 config_z $const5 	%line{75} %argrw{"wrr"}
	aref		$tmp101 config_z $const6 	%argrw{"wrr"}
	add		$tmp102 ___414_ctheta $const18 	%argrw{"wrr"}
	div		$tmp103 $tmp101 $tmp102 	%argrw{"wrr"}
	exp		$tmp100 $tmp103 	%argrw{"wr"}
	mul		$tmp104 $tmp99 $tmp100 	%argrw{"wrr"}
	add		$tmp105 $const9 $tmp104 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:76
#          (config[2] + config[3] * expM + config[5] * rayM + config[6] * mieM + config[7] * zenith);
	aref		$tmp106 config_z $const4 	%line{76} %argrw{"wrr"}
	aref		$tmp107 config_z $const19 	%argrw{"wrr"}
	mul		$tmp108 $tmp107 ___414_expM 	%argrw{"wrr"}
	add		$tmp109 $tmp106 $tmp108 	%argrw{"wrr"}
	aref		$tmp110 config_z $const20 	%argrw{"wrr"}
	mul		$tmp111 $tmp110 ___414_rayM 	%argrw{"wrr"}
	add		$tmp112 $tmp109 $tmp111 	%argrw{"wrr"}
	aref		$tmp113 config_z $const21 	%argrw{"wrr"}
	mul		$tmp114 $tmp113 ___414_mieM 	%argrw{"wrr"}
	add		$tmp115 $tmp112 $tmp114 	%argrw{"wrr"}
	aref		$tmp116 config_z $const22 	%argrw{"wrr"}
	mul		$tmp117 $tmp116 ___414_zenith 	%argrw{"wrr"}
	add		$tmp118 $tmp115 $tmp117 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:75
#   return (1.0 + config[0] * exp(config[1] / (ctheta + 0.01))) *
	mul		$tmp86 $tmp105 $tmp118 	%line{75} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:101
#   float z = sky_radiance_internal(config_z, theta, gamma) * radiance[2];
	compref		$tmp119 radiance $const4 	%line{101} %argrw{"wrr"}
	mul		___415_z $tmp86 $tmp119 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:104
#   return xyz_to_rgb(x, y, z) * (M_2PI / 683);
	functioncall	$const23 180 	%line{104} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:75
#   return color(3.240479 * x + -1.537150 * y + -0.498535 * z,
	mul		$tmp121 $const24 ___415_x 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h"} %line{75} %argrw{"wrr"}
	mul		$tmp122 $const25 ___415_y 	%argrw{"wrr"}
	add		$tmp123 $tmp121 $tmp122 	%argrw{"wrr"}
	mul		$tmp124 $const26 ___415_z 	%argrw{"wrr"}
	add		$tmp125 $tmp123 $tmp124 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:76
#                -0.969256 * x + 1.875991 * y + 0.041556 * z,
	mul		$tmp126 $const27 ___415_x 	%line{76} %argrw{"wrr"}
	mul		$tmp127 $const28 ___415_y 	%argrw{"wrr"}
	add		$tmp128 $tmp126 $tmp127 	%argrw{"wrr"}
	mul		$tmp129 $const29 ___415_z 	%argrw{"wrr"}
	add		$tmp130 $tmp128 $tmp129 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:77
#                0.055648 * x + -0.204043 * y + 1.057311 * z);
	mul		$tmp131 $const30 ___415_x 	%line{77} %argrw{"wrr"}
	mul		$tmp132 $const31 ___415_y 	%argrw{"wrr"}
	add		$tmp133 $tmp131 $tmp132 	%argrw{"wrr"}
	mul		$tmp134 $const32 ___415_z 	%argrw{"wrr"}
	add		$tmp135 $tmp133 $tmp134 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:75
#   return color(3.240479 * x + -1.537150 * y + -0.498535 * z,
	color		$tmp120 $tmp125 $tmp130 $tmp135 	%line{75} %argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:104
#   return xyz_to_rgb(x, y, z) * (M_2PI / 683);
	div		$tmp136 $const33 $const35 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl"} %line{104} %argrw{"wrr"}
	mul		Color $tmp120 $tmp136 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:197
#   else if (sky_type == "preetham")
	eq		$tmp137 sky_type $const36 	%line{197} %argrw{"wrr"}
	if		$tmp137 320 466 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:198
#     Color = sky_radiance_preetham(p, phi, theta, radiance, config_x, config_y, config_z);
	functioncall	$const37 320 	%line{198} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:44
#   vector spherical = sky_spherical_coordinates(dir);
	functioncall	$const3 192 	%line{44} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:22
#   return vector(acos(dir[2]), atan2(dir[0], dir[1]), 0);
	compref		$tmp139 p $const4 	%line{22} %argrw{"wrr"}
	acos		$tmp138 $tmp139 	%argrw{"wr"}
	compref		$tmp141 p $const5 	%argrw{"wrr"}
	compref		$tmp142 p $const6 	%argrw{"wrr"}
	atan2		$tmp140 $tmp141 $tmp142 	%argrw{"wrr"}
	vector		___413_spherical $tmp138 $tmp140 $const7 	%argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:45
#   float theta = spherical[0];
	compref		___413_theta ___413_spherical $const5 	%line{45} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:46
#   float phi = spherical[1];
	compref		___413_phi ___413_spherical $const6 	%line{46} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:49
#   float gamma = sky_angle_between(theta, phi, suntheta, sunphi);
	functioncall	$const8 214 	%line{49} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:10
#   float cospsi = sin(thetav) * sin(theta) * cos(phi - phiv) + cos(thetav) * cos(theta);
	sin		$tmp143 ___413_theta 	%line{10} %argrw{"wr"}
	sin		$tmp144 theta 	%argrw{"wr"}
	mul		$tmp145 $tmp143 $tmp144 	%argrw{"wrr"}
	sub		$tmp147 phi ___413_phi 	%argrw{"wrr"}
	cos		$tmp146 $tmp147 	%argrw{"wr"}
	mul		$tmp148 $tmp145 $tmp146 	%argrw{"wrr"}
	cos		$tmp149 ___413_theta 	%argrw{"wr"}
	cos		$tmp150 theta 	%argrw{"wr"}
	mul		$tmp151 $tmp149 $tmp150 	%argrw{"wrr"}
	add		___410_cospsi $tmp148 $tmp151 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:12
#   if (cospsi > 1.0)
	gt		$tmp152 ___410_cospsi $const9 	%line{12} %argrw{"wrr"}
	if		$tmp152 209 209 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:13
#     return 0.0;
	assign		___413_gamma $const7 	%line{13} %argrw{"wr"}
	return
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:14
#   if (cospsi < -1.0)
	lt		$tmp153 ___410_cospsi $const10 	%line{14} %argrw{"wrr"}
	if		$tmp153 213 213 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:15
#     return M_PI;
	assign		___413_gamma $const11 	%line{15} %argrw{"wr"}
	return
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:17
#   return acos(cospsi);
	acos		___413_gamma ___410_cospsi 	%line{17} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:52
#   theta = min(theta, M_PI_2 - 0.001);
	min		___413_theta ___413_theta $const12 	%line{52} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:55
#   float x = radiance[1] * sky_perez_function(config_y, theta, gamma);
	compref		$tmp154 radiance $const6 	%line{55} %argrw{"wrr"}
	functioncall	$const38 236 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:28
#   float ctheta = cos(theta);
	cos		___412_ctheta ___413_theta 	%line{28} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:29
#   float cgamma = cos(gamma);
	cos		___412_cgamma ___413_gamma 	%line{29} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:31
#   return (1.0 + lam[0] * exp(lam[1] / ctheta)) *
	aref		$tmp156 config_y $const5 	%line{31} %argrw{"wrr"}
	aref		$tmp158 config_y $const6 	%argrw{"wrr"}
	div		$tmp159 $tmp158 ___412_ctheta 	%argrw{"wrr"}
	exp		$tmp157 $tmp159 	%argrw{"wr"}
	mul		$tmp160 $tmp156 $tmp157 	%argrw{"wrr"}
	add		$tmp161 $const9 $tmp160 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:32
#          (1.0 + lam[2] * exp(lam[3] * gamma) + lam[4] * cgamma * cgamma);
	aref		$tmp162 config_y $const4 	%line{32} %argrw{"wrr"}
	aref		$tmp164 config_y $const19 	%argrw{"wrr"}
	mul		$tmp165 $tmp164 ___413_gamma 	%argrw{"wrr"}
	exp		$tmp163 $tmp165 	%argrw{"wr"}
	mul		$tmp166 $tmp162 $tmp163 	%argrw{"wrr"}
	add		$tmp167 $const9 $tmp166 	%argrw{"wrr"}
	aref		$tmp168 config_y $const14 	%argrw{"wrr"}
	mul		$tmp169 $tmp168 ___412_cgamma 	%argrw{"wrr"}
	mul		$tmp170 $tmp169 ___412_cgamma 	%argrw{"wrr"}
	add		$tmp171 $tmp167 $tmp170 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:31
#   return (1.0 + lam[0] * exp(lam[1] / ctheta)) *
	mul		$tmp155 $tmp161 $tmp171 	%line{31} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:55
#   float x = radiance[1] * sky_perez_function(config_y, theta, gamma);
	mul		___413_x $tmp154 $tmp155 	%line{55} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:56
#   float y = radiance[2] * sky_perez_function(config_z, theta, gamma);
	compref		$tmp172 radiance $const4 	%line{56} %argrw{"wrr"}
	functioncall	$const38 258 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:28
#   float ctheta = cos(theta);
	cos		___412_ctheta ___413_theta 	%line{28} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:29
#   float cgamma = cos(gamma);
	cos		___412_cgamma ___413_gamma 	%line{29} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:31
#   return (1.0 + lam[0] * exp(lam[1] / ctheta)) *
	aref		$tmp174 config_z $const5 	%line{31} %argrw{"wrr"}
	aref		$tmp176 config_z $const6 	%argrw{"wrr"}
	div		$tmp177 $tmp176 ___412_ctheta 	%argrw{"wrr"}
	exp		$tmp175 $tmp177 	%argrw{"wr"}
	mul		$tmp178 $tmp174 $tmp175 	%argrw{"wrr"}
	add		$tmp179 $const9 $tmp178 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:32
#          (1.0 + lam[2] * exp(lam[3] * gamma) + lam[4] * cgamma * cgamma);
	aref		$tmp180 config_z $const4 	%line{32} %argrw{"wrr"}
	aref		$tmp182 config_z $const19 	%argrw{"wrr"}
	mul		$tmp183 $tmp182 ___413_gamma 	%argrw{"wrr"}
	exp		$tmp181 $tmp183 	%argrw{"wr"}
	mul		$tmp184 $tmp180 $tmp181 	%argrw{"wrr"}
	add		$tmp185 $const9 $tmp184 	%argrw{"wrr"}
	aref		$tmp186 config_z $const14 	%argrw{"wrr"}
	mul		$tmp187 $tmp186 ___412_cgamma 	%argrw{"wrr"}
	mul		$tmp188 $tmp187 ___412_cgamma 	%argrw{"wrr"}
	add		$tmp189 $tmp185 $tmp188 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:31
#   return (1.0 + lam[0] * exp(lam[1] / ctheta)) *
	mul		$tmp173 $tmp179 $tmp189 	%line{31} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:56
#   float y = radiance[2] * sky_perez_function(config_z, theta, gamma);
	mul		___413_y $tmp172 $tmp173 	%line{56} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:57
#   float Y = radiance[0] * sky_perez_function(config_x, theta, gamma);
	compref		$tmp190 radiance $const5 	%line{57} %argrw{"wrr"}
	functioncall	$const38 280 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:28
#   float ctheta = cos(theta);
	cos		___412_ctheta ___413_theta 	%line{28} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:29
#   float cgamma = cos(gamma);
	cos		___412_cgamma ___413_gamma 	%line{29} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:31
#   return (1.0 + lam[0] * exp(lam[1] / ctheta)) *
	aref		$tmp192 config_x $const5 	%line{31} %argrw{"wrr"}
	aref		$tmp194 config_x $const6 	%argrw{"wrr"}
	div		$tmp195 $tmp194 ___412_ctheta 	%argrw{"wrr"}
	exp		$tmp193 $tmp195 	%argrw{"wr"}
	mul		$tmp196 $tmp192 $tmp193 	%argrw{"wrr"}
	add		$tmp197 $const9 $tmp196 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:32
#          (1.0 + lam[2] * exp(lam[3] * gamma) + lam[4] * cgamma * cgamma);
	aref		$tmp198 config_x $const4 	%line{32} %argrw{"wrr"}
	aref		$tmp200 config_x $const19 	%argrw{"wrr"}
	mul		$tmp201 $tmp200 ___413_gamma 	%argrw{"wrr"}
	exp		$tmp199 $tmp201 	%argrw{"wr"}
	mul		$tmp202 $tmp198 $tmp199 	%argrw{"wrr"}
	add		$tmp203 $const9 $tmp202 	%argrw{"wrr"}
	aref		$tmp204 config_x $const14 	%argrw{"wrr"}
	mul		$tmp205 $tmp204 ___412_cgamma 	%argrw{"wrr"}
	mul		$tmp206 $tmp205 ___412_cgamma 	%argrw{"wrr"}
	add		$tmp207 $tmp203 $tmp206 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:31
#   return (1.0 + lam[0] * exp(lam[1] / ctheta)) *
	mul		$tmp191 $tmp197 $tmp207 	%line{31} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:57
#   float Y = radiance[0] * sky_perez_function(config_x, theta, gamma);
	mul		___413_Y $tmp190 $tmp191 	%line{57} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:60
#   color xyz = xyY_to_xyz(x, y, Y);
	functioncall	$const39 300 	%line{60} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:56
#   if (y != 0.0) {
	neq		$tmp208 ___413_y $const7 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h"} %line{56} %argrw{"wrr"}
	if		$tmp208 286 287 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:57
#     X = (x / y) * Y;
	div		$tmp209 ___413_x ___413_y 	%line{57} %argrw{"wrr"}
	mul		___355_X $tmp209 ___413_Y 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:60
#     X = 0.0;
	assign		___355_X $const7 	%line{60} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:63
#   if (y != 0.0 && Y != 0.0) {
	neq		$tmp210 ___413_y $const7 	%line{63} %argrw{"wrr"}
	neq		$tmp211 $tmp210 $const5 	%argrw{"wrr"}
	if		$tmp211 293 293 	%argrw{"r"}
	neq		$tmp212 ___413_Y $const7 	%argrw{"wrr"}
	neq		$tmp213 $tmp212 $const5 	%argrw{"wrr"}
	assign		$tmp211 $tmp213 	%argrw{"wr"}
	if		$tmp211 298 299 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:64
#     Z = ((1.0 - x - y) / y) * Y;
	sub		$tmp214 $const9 ___413_x 	%line{64} %argrw{"wrr"}
	sub		$tmp215 $tmp214 ___413_y 	%argrw{"wrr"}
	div		$tmp216 $tmp215 ___413_y 	%argrw{"wrr"}
	mul		___355_Z $tmp216 ___413_Y 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:67
#     Z = 0.0;
	assign		___355_Z $const7 	%line{67} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:70
#   return color(X, Y, Z);
	color		___413_xyz ___355_X ___413_Y ___355_Z 	%line{70} %argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:61
#   return xyz_to_rgb(xyz[0], xyz[1], xyz[2]);
	compref		$tmp217 ___413_xyz $const5 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl"} %line{61} %argrw{"wrr"}
	compref		$tmp218 ___413_xyz $const6 	%argrw{"wrr"}
	compref		$tmp219 ___413_xyz $const4 	%argrw{"wrr"}
	functioncall	$const23 320 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:75
#   return color(3.240479 * x + -1.537150 * y + -0.498535 * z,
	mul		$tmp220 $const24 $tmp217 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h"} %line{75} %argrw{"wrr"}
	mul		$tmp221 $const25 $tmp218 	%argrw{"wrr"}
	add		$tmp222 $tmp220 $tmp221 	%argrw{"wrr"}
	mul		$tmp223 $const26 $tmp219 	%argrw{"wrr"}
	add		$tmp224 $tmp222 $tmp223 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:76
#                -0.969256 * x + 1.875991 * y + 0.041556 * z,
	mul		$tmp225 $const27 $tmp217 	%line{76} %argrw{"wrr"}
	mul		$tmp226 $const28 $tmp218 	%argrw{"wrr"}
	add		$tmp227 $tmp225 $tmp226 	%argrw{"wrr"}
	mul		$tmp228 $const29 $tmp219 	%argrw{"wrr"}
	add		$tmp229 $tmp227 $tmp228 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:77
#                0.055648 * x + -0.204043 * y + 1.057311 * z);
	mul		$tmp230 $const30 $tmp217 	%line{77} %argrw{"wrr"}
	mul		$tmp231 $const31 $tmp218 	%argrw{"wrr"}
	add		$tmp232 $tmp230 $tmp231 	%argrw{"wrr"}
	mul		$tmp233 $const32 $tmp219 	%argrw{"wrr"}
	add		$tmp234 $tmp232 $tmp233 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:75
#   return color(3.240479 * x + -1.537150 * y + -0.498535 * z,
	color		Color $tmp224 $tmp229 $tmp234 	%line{75} %argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:200
#     Color = sky_radiance_nishita(p, nishita_data, filename, sky_type);
	functioncall	$const40 466 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl"} %line{200} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:134
#   color pixel_bottom = color(sky_data[0], sky_data[1], sky_data[2]);
	aref		$tmp235 nishita_data $const5 	%line{134} %argrw{"wrr"}
	aref		$tmp236 nishita_data $const6 	%argrw{"wrr"}
	aref		$tmp237 nishita_data $const4 	%argrw{"wrr"}
	color		___422_pixel_bottom $tmp235 $tmp236 $tmp237 	%argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:135
#   color pixel_top = color(sky_data[3], sky_data[4], sky_data[5]);
	aref		$tmp238 nishita_data $const19 	%line{135} %argrw{"wrr"}
	aref		$tmp239 nishita_data $const14 	%argrw{"wrr"}
	aref		$tmp240 nishita_data $const20 	%argrw{"wrr"}
	color		___422_pixel_top $tmp238 $tmp239 $tmp240 	%argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:136
#   float sun_elevation = sky_data[6];
	aref		___422_sun_elevation nishita_data $const21 	%line{136} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:137
#   float sun_rotation = sky_data[7];
	aref		___422_sun_rotation nishita_data $const22 	%line{137} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:138
#   float angular_diameter = sky_data[8];
	aref		___422_angular_diameter nishita_data $const15 	%line{138} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:139
#   float sun_intensity = sky_data[9];
	aref		___422_sun_intensity nishita_data $const41 	%line{139} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:140
#   float earth_intersection_angle = sky_data[10];
	aref		___422_earth_intersection_angle nishita_data $const42 	%line{140} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:141
#   int sun_disc = angular_diameter > 0;
	gt		___422_sun_disc ___422_angular_diameter $const5 	%line{141} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:142
#   vector sun_dir = spherical_to_direction(sun_elevation, sun_rotation + M_PI_2);
	add		$tmp241 ___422_sun_rotation $const43 	%line{142} %argrw{"wrr"}
	functioncall	$const44 345 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:110
#   return vector(cos(lat) * cos(lon), cos(lat) * sin(lon), sin(lat));
	cos		$tmp242 ___422_sun_elevation 	%line{110} %argrw{"wr"}
	cos		$tmp243 $tmp241 	%argrw{"wr"}
	mul		$tmp244 $tmp242 $tmp243 	%argrw{"wrr"}
	cos		$tmp245 ___422_sun_elevation 	%argrw{"wr"}
	sin		$tmp246 $tmp241 	%argrw{"wr"}
	mul		$tmp247 $tmp245 $tmp246 	%argrw{"wrr"}
	sin		$tmp248 ___422_sun_elevation 	%argrw{"wr"}
	vector		___422_sun_dir $tmp244 $tmp247 $tmp248 	%argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:143
#   float sun_dir_angle = precise_angle(dir, sun_dir);
	functioncall	$const45 352 	%line{143} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:115
#   return 2.0 * atan2(length(a - b), length(a + b));
	sub		$tmp251 p ___422_sun_dir 	%line{115} %argrw{"wrr"}
	length		$tmp250 $tmp251 	%argrw{"wr"}
	add		$tmp253 p ___422_sun_dir 	%argrw{"wrr"}
	length		$tmp252 $tmp253 	%argrw{"wr"}
	atan2		$tmp249 $tmp250 $tmp252 	%argrw{"wrr"}
	mul		___422_sun_dir_angle $const16 $tmp249 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:144
#   float half_angular = angular_diameter * 0.5;
	mul		___422_half_angular ___422_angular_diameter $const46 	%line{144} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:145
#   float alpha = 1.0;
	assign		___422_alpha $const9 	%line{145} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:146
#   color rgb_sun = color(0.0, 0.0, 0.0);
	assign		___422_rgb_sun $const47 	%line{146} %argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:147
#   vector direction = sky_spherical_coordinates(dir);
	functioncall	$const3 362 	%line{147} %argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:22
#   return vector(acos(dir[2]), atan2(dir[0], dir[1]), 0);
	compref		$tmp255 p $const4 	%line{22} %argrw{"wrr"}
	acos		$tmp254 $tmp255 	%argrw{"wr"}
	compref		$tmp257 p $const5 	%argrw{"wrr"}
	compref		$tmp258 p $const6 	%argrw{"wrr"}
	atan2		$tmp256 $tmp257 $tmp258 	%argrw{"wrr"}
	vector		___422_direction $tmp254 $tmp256 $const7 	%argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:148
#   float dir_elevation = M_PI_2 - direction[0];
	compref		$tmp259 ___422_direction $const5 	%line{148} %argrw{"wrr"}
	sub		___422_dir_elevation $const43 $tmp259 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:152
#   if (sun_dir_angle < half_angular && sun_disc == 1 && raytype("importance_bake") != 1 &&
	lt		$tmp260 ___422_sun_dir_angle ___422_half_angular 	%line{152} %argrw{"wrr"}
	neq		$tmp261 $tmp260 $const5 	%argrw{"wrr"}
	if		$tmp261 370 370 	%argrw{"r"}
	eq		$tmp262 ___422_sun_disc $const6 	%argrw{"wrr"}
	neq		$tmp263 $tmp262 $const5 	%argrw{"wrr"}
	assign		$tmp261 $tmp263 	%argrw{"wr"}
	neq		$tmp264 $tmp261 $const5 	%argrw{"wrr"}
	if		$tmp264 376 376 	%argrw{"r"}
	raytype		$tmp265 $const48 	%argrw{"wr"}
	neq		$tmp266 $tmp265 $const6 	%argrw{"wrr"}
	neq		$tmp267 $tmp266 $const5 	%argrw{"wrr"}
	assign		$tmp264 $tmp267 	%argrw{"wr"}
	neq		$tmp268 $tmp264 $const5 	%argrw{"wrr"}
	if		$tmp268 381 381 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:153
#       dir_elevation > earth_intersection_angle)
	gt		$tmp269 ___422_dir_elevation ___422_earth_intersection_angle 	%line{153} %argrw{"wrr"}
	neq		$tmp270 $tmp269 $const5 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:152
#   if (sun_dir_angle < half_angular && sun_disc == 1 && raytype("importance_bake") != 1 &&
	assign		$tmp268 $tmp270 	%line{152} %argrw{"wr"}
	if		$tmp268 414 414 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:155
#     float y = ((dir_elevation - sun_elevation) / angular_diameter) + 0.5;
	sub		$tmp271 ___422_dir_elevation ___422_sun_elevation 	%line{155} %argrw{"wrr"}
	div		$tmp272 $tmp271 ___422_angular_diameter 	%argrw{"wrr"}
	add		___423_y $tmp272 $const46 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:156
#     color xyz = mix(pixel_bottom, pixel_top, y);
	mix		___423_xyz ___422_pixel_bottom ___422_pixel_top ___423_y 	%line{156} %argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:158
#     float angle_fraction = sun_dir_angle / half_angular;
	div		___423_angle_fraction ___422_sun_dir_angle ___422_half_angular 	%line{158} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:159
#     float limb_darkening = (1.0 - 0.6 * (1.0 - sqrt(1.0 - angle_fraction * angle_fraction)));
	mul		$tmp274 ___423_angle_fraction ___423_angle_fraction 	%line{159} %argrw{"wrr"}
	sub		$tmp275 $const9 $tmp274 	%argrw{"wrr"}
	sqrt		$tmp273 $tmp275 	%argrw{"wr"}
	sub		$tmp276 $const9 $tmp273 	%argrw{"wrr"}
	mul		$tmp277 $const49 $tmp276 	%argrw{"wrr"}
	sub		___423_limb_darkening $const9 $tmp277 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:160
#     rgb_sun = xyz_to_rgb(xyz[0], xyz[1], xyz[2]) * limb_darkening;
	compref		$tmp279 ___423_xyz $const5 	%line{160} %argrw{"wrr"}
	compref		$tmp280 ___423_xyz $const6 	%argrw{"wrr"}
	compref		$tmp281 ___423_xyz $const4 	%argrw{"wrr"}
	functioncall	$const23 413 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:75
#   return color(3.240479 * x + -1.537150 * y + -0.498535 * z,
	mul		$tmp282 $const24 $tmp279 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h"} %line{75} %argrw{"wrr"}
	mul		$tmp283 $const25 $tmp280 	%argrw{"wrr"}
	add		$tmp284 $tmp282 $tmp283 	%argrw{"wrr"}
	mul		$tmp285 $const26 $tmp281 	%argrw{"wrr"}
	add		$tmp286 $tmp284 $tmp285 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:76
#                -0.969256 * x + 1.875991 * y + 0.041556 * z,
	mul		$tmp287 $const27 $tmp279 	%line{76} %argrw{"wrr"}
	mul		$tmp288 $const28 $tmp280 	%argrw{"wrr"}
	add		$tmp289 $tmp287 $tmp288 	%argrw{"wrr"}
	mul		$tmp290 $const29 $tmp281 	%argrw{"wrr"}
	add		$tmp291 $tmp289 $tmp290 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:77
#                0.055648 * x + -0.204043 * y + 1.057311 * z);
	mul		$tmp292 $const30 $tmp279 	%line{77} %argrw{"wrr"}
	mul		$tmp293 $const31 $tmp280 	%argrw{"wrr"}
	add		$tmp294 $tmp292 $tmp293 	%argrw{"wrr"}
	mul		$tmp295 $const32 $tmp281 	%argrw{"wrr"}
	add		$tmp296 $tmp294 $tmp295 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:75
#   return color(3.240479 * x + -1.537150 * y + -0.498535 * z,
	color		$tmp278 $tmp286 $tmp291 $tmp296 	%line{75} %argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:160
#     rgb_sun = xyz_to_rgb(xyz[0], xyz[1], xyz[2]) * limb_darkening;
	mul		___422_rgb_sun $tmp278 ___423_limb_darkening 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl"} %line{160} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:162
#   float x = (direction[1] + M_PI + sun_rotation) / M_2PI;
	compref		$tmp297 ___422_direction $const6 	%line{162} %argrw{"wrr"}
	add		$tmp298 $tmp297 $const11 	%argrw{"wrr"}
	add		$tmp299 $tmp298 ___422_sun_rotation 	%argrw{"wrr"}
	div		___422_x $tmp299 $const33 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:163
#   if (x > 1.0) {
	gt		$tmp300 ___422_x $const9 	%line{163} %argrw{"wrr"}
	if		$tmp300 421 421 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:164
#     x = x - 1.0;
	sub		___422_x ___422_x $const9 	%line{164} %argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:167
#   float dir_elevation_abs = (dir_elevation < 0.0) ? -dir_elevation : dir_elevation;
	lt		$tmp301 ___422_dir_elevation $const7 	%line{167} %argrw{"wrr"}
	if		$tmp301 424 425 	%argrw{"r"}
	neg		___422_dir_elevation_abs ___422_dir_elevation 	%argrw{"wr"}
	assign		___422_dir_elevation_abs ___422_dir_elevation 	%argrw{"wr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:168
#   float y = 1.0 - (sqrt(dir_elevation_abs / M_PI_2) * signx(dir_elevation) * 0.5 + 0.5);
	div		$tmp303 ___422_dir_elevation_abs $const43 	%line{168} %argrw{"wrr"}
	sqrt		$tmp302 $tmp303 	%argrw{"wr"}
	functioncall	$const50 438 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:120
#   if (x < 0.0) {
	lt		$tmp305 ___422_dir_elevation $const7 	%line{120} %argrw{"wrr"}
	if		$tmp305 432 438 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:121
#     return -1.0;
	assign		$tmp304 $const10 	%line{121} %argrw{"wr"}
	return
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:123
#   else if (x > 0.0) {
	gt		$tmp306 ___422_dir_elevation $const7 	%line{123} %argrw{"wrr"}
	if		$tmp306 436 438 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:124
#     return 1.0;
	assign		$tmp304 $const9 	%line{124} %argrw{"wr"}
	return
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:127
#     return 0.0;
	assign		$tmp304 $const7 	%line{127} %argrw{"wr"}
	return
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:168
#   float y = 1.0 - (sqrt(dir_elevation_abs / M_PI_2) * signx(dir_elevation) * 0.5 + 0.5);
	mul		$tmp307 $tmp302 $tmp304 	%line{168} %argrw{"wrr"}
	mul		$tmp308 $tmp307 $const46 	%argrw{"wrr"}
	add		$tmp309 $tmp308 $const46 	%argrw{"wrr"}
	sub		___422_y $const9 $tmp309 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:169
#   color xyz = (color)texture(filename, x, y, "wrap", "clamp", "interp", "linear", "alpha", alpha);
	texture		___422_xyz filename ___422_x ___422_y $const51 $const52 $const53 $const54 $const55 ___422_alpha 	%line{169} %argrw{"wrrrrrrrrw"} %argderivs{2,3}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:170
#   color rgb_sky = xyz_to_rgb(xyz[0], xyz[1], xyz[2]);
	compref		$tmp310 ___422_xyz $const5 	%line{170} %argrw{"wrr"}
	compref		$tmp311 ___422_xyz $const6 	%argrw{"wrr"}
	compref		$tmp312 ___422_xyz $const4 	%argrw{"wrr"}
	functioncall	$const23 463 	%argrw{"r"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:75
#   return color(3.240479 * x + -1.537150 * y + -0.498535 * z,
	mul		$tmp313 $const24 $tmp310 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h"} %line{75} %argrw{"wrr"}
	mul		$tmp314 $const25 $tmp311 	%argrw{"wrr"}
	add		$tmp315 $tmp313 $tmp314 	%argrw{"wrr"}
	mul		$tmp316 $const26 $tmp312 	%argrw{"wrr"}
	add		$tmp317 $tmp315 $tmp316 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:76
#                -0.969256 * x + 1.875991 * y + 0.041556 * z,
	mul		$tmp318 $const27 $tmp310 	%line{76} %argrw{"wrr"}
	mul		$tmp319 $const28 $tmp311 	%argrw{"wrr"}
	add		$tmp320 $tmp318 $tmp319 	%argrw{"wrr"}
	mul		$tmp321 $const29 $tmp312 	%argrw{"wrr"}
	add		$tmp322 $tmp320 $tmp321 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:77
#                0.055648 * x + -0.204043 * y + 1.057311 * z);
	mul		$tmp323 $const30 $tmp310 	%line{77} %argrw{"wrr"}
	mul		$tmp324 $const31 $tmp311 	%argrw{"wrr"}
	add		$tmp325 $tmp323 $tmp324 	%argrw{"wrr"}
	mul		$tmp326 $const32 $tmp312 	%argrw{"wrr"}
	add		$tmp327 $tmp325 $tmp326 	%argrw{"wrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_color.h:75
#   return color(3.240479 * x + -1.537150 * y + -0.498535 * z,
	color		___422_rgb_sky $tmp317 $tmp322 $tmp327 	%line{75} %argrw{"wrrr"}
# /build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl:172
#   return rgb_sun * sun_intensity + rgb_sky;
	mul		$tmp328 ___422_rgb_sun ___422_sun_intensity 	%filename{"/build/blender/src/blender/intern/cycles/kernel/osl/shaders/node_sky_texture.osl"} %line{172} %argrw{"wrr"}
	add		Color $tmp328 ___422_rgb_sky 	%argrw{"wrr"}
	return
	end
