/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */ /* time: November 11, 1992 6:03:49 pm PST */ /* C2C version: October 7, 1992 (native) */ /* ref-counting: off */ /* file: ImagerPrintColorImpl, module: ImagerPrintColorImpl */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [3272545578,3048834797] ImagerPrintColorImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef struct {word f0, f1, f2, f3;} W4; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef struct {word f0, f1;} W2; typedef word (*fPt)(); typedef W5 *W5Pt; typedef W2 *W2Pt; typedef W4 *W4Pt; typedef struct {word f0, f1, f2;} W3; typedef W3 *W3Pt; typedef struct { byte u1:5; byte f:3; } * P3x5b; typedef struct {word f0, f1, f2, f3, f4, f5;} W6; typedef W6 *W6Pt; typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; typedef struct {W8 f; W2 r;} W10; typedef struct {W8 f; W5 r;} W13; typedef struct {W8 f; W3 r;} W11; #define SOURCE(p, l) /* source p, l */ static float fc36 = 2.0; static float fc38 = 262144.0; #define SGNCK(i) ((int) (word) (i) < 0 ? XR_RaiseArithmeticFault(): i ) #define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR_RaiseBoundsFault()) : (idx) ) static float fc48 = 1.0; static float fc65 = 0.9999; static float fc68 = 0.0001; static float fc90 = 255.0; static float fc110 = 0.0; #define FMAX(x, y, tx, ty) ( (tx=((float) x)) >= (ty=((float) y)) ? tx : ty ) #define FABS(f, t) ( ((t=(f)) >= (float) 0.0) ? (t) : (- (t)) ) static float fc169 = 16383.0; static float fc174 = 1048576.0; static float fc190 = 0.5; static void NoName_Q3540(); static void ImagerPrintColorImpl_P0(); static word GetFractionProbes_P60(); static word GetFractionMisses_P120(); static void GetGoodShape_P180(); static word PixelMapWords_P240(); static word NewDeviceColorData_P300(); static void SetSeparation_P360(); static void SetDeviceColorData_P420(); static void SetInk_P480(); static void SetFraction_P540(); static void SetTile_P600(); static void SetLogicalDeviceColor_P660(); static void SetGray_P720(); static void SetOpConstantColor_P780(); static void SetSampledColor_P840(); static word Compare_P2352(); static word ComputeSource_P900(); static word GetColorTransform_P960(); static void CMYKTransform_P1020(); static void KTransform_P1080(); static void SetSampledBlack_P1140(); static word ImagerPrintColorNewStuff_P1200(); static word ImagerPrintColorTileTolerance_P1260(); static word TryTransformingBitmapIntoTile_P1320(); static void action_P2988(); static void MaskBoxes_P1380(); static void Action_P3096(); static void Action_P3204(); static struct {unsigned f; char r[44];} string1 = {2752556, "\260\006\005\146\151\162\163\164\257\300\207\164\301\163\300\327\135\041\305\104\130\005\004\162\145\163\164\214\257\300\207\164\301\163\300\327\135\041\305\104\130\261\000"}; static struct {unsigned f; char r[4];} string2 = {131074, "\003\001\000"}; static struct {unsigned f; char r[16];} string3 = {851984, "\257\300\166\344\362\325\300\124\127\204\375\100\200\000\000"}; static struct {unsigned f; char r[28];} string4 = {1572888, "\006\011\004\001\010\001\030\003\001\044\001\060\001\074\001\100\100\001\100\104\001\100\114\001\000\000\000"}; static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\260\302\146\322\300\075\027\134\123\100\354\000\000"}; static struct {unsigned f; char r[12];} string6 = {589833, "\011\000\004\100\240\040\001\030\001\000\000"}; static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\303\017\025\052\300\265\271\206\355\100\200\000\000"}; static struct {unsigned f; char r[16];} string8 = {917518, "\006\003\000\001\004\001\010\010\000\030\101\001\004\012\000"}; static struct {unsigned f; char r[16];} string9 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"}; static struct {unsigned f; char r[4];} string10 = {65537, "\001\000\000"}; static struct {unsigned f; char r[16];} string11 = {851984, "\257\300\207\164\301\163\300\327\135\041\305\104\334\000\000"}; static struct {unsigned f; char r[4];} string12 = {131074, "\004\012\000"}; static struct {unsigned f; char r[4];} string13 = {131076, "\216\251\000"}; static struct {unsigned f; char r[16];} string14 = {851984, "\257\300\303\017\025\052\300\265\271\206\355\101\144\000\000"}; static struct {unsigned f; char r[4];} string15 = {131074, "\004\033\000"}; static struct {unsigned f; char r[16];} string16 = {851984, "\257\300\236\211\262\021\300\215\235\324\340\100\200\000\000"}; static struct {unsigned f; char r[12];} string17 = {524296, "\011\000\004\000\040\000\004\001\000\000\000"}; static struct {unsigned f; char r[48];} string18 = {2949168, "Unknown special color has no substitute value\000\000"}; static struct {unsigned f; char r[40];} string19 = {2359336, "Unable to render gray on this device\000\000\000"}; static struct {unsigned f; char r[12];} string20 = {655372, "PrintColor\000"}; static struct {unsigned f; char r[48];} string21 = {3080240, "Illegal toner (no halftone properties supplied)"}; static struct {unsigned f; char r[8];} string22 = {393224, "Bitmap\000"}; static struct {unsigned f; char r[16];} string23 = {851984, "\257\300\303\017\025\052\300\265\271\206\355\100\164\000\000"}; static struct {unsigned f; char r[12];} string24 = {655370, "\006\003\030\001\034\001\100\174\004\037\000"}; static struct {unsigned f; char r[16];} string25 = {851984, "\257\300\161\264\233\303\300\026\075\022\161\100\150\000\000"}; static struct {unsigned f; char r[16];} string26 = {851984, "\257\300\074\177\166\242\300\203\113\217\044\100\150\000\000"}; static struct {unsigned f; char r[16];} string27 = {851984, "\257\300\353\300\316\013\300\313\011\345\022\100\150\000\000"}; static struct {unsigned f; char r[16];} string28 = {851984, "\257\300\207\164\301\163\300\327\135\041\305\100\150\000\000"}; static struct {unsigned f; char r[16];} string29 = {851984, "\257\300\230\052\311\306\300\242\375\035\324\100\150\000\000"}; static struct {unsigned f; char r[16];} string30 = {851984, "\257\300\213\226\301\143\300\072\355\320\373\100\150\000\000"}; static struct {unsigned f; char r[16];} string31 = {851984, "\257\300\121\117\377\026\300\315\013\026\004\100\150\000\000"}; static struct {unsigned f; char r[16];} string32 = {851984, "\257\300\243\162\130\311\300\344\000\142\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string33 = {851984, "\257\300\246\205\220\035\300\344\000\142\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string34 = {851984, "\257\300\260\302\146\322\300\075\027\134\123\100\150\000\000"}; static struct {unsigned f; char r[16];} string35 = {851984, "\257\300\166\344\362\325\300\124\127\204\375\100\150\000\000"}; static struct { word f0[36]; word f36; word f37; word f38; word f39; word f40; word f41; word f42; word f43; word f44; word f45; word f46; word f47; word f48; word f49; word f50; word f51; word f52; word f53; word f54; word f55; word f56; word f57; word f58; word f59; word f60; word f61; word f62; word f63; word f64; word f65; word f66; word f67; word f68; word f69; word f70; word f71; word f72; word f73; word f74; word f75; word f76; word f77; word f78; word f79; word f80; word f81; word f82; word f83[3]; word f86; word f87; word f88[12]; } globalframe = { {0}, (word) MaskBoxes_P1380, 0, (word) TryTransformingBitmapIntoTile_P1320, 0, (word) ImagerPrintColorTileTolerance_P1260, 0, (word) ImagerPrintColorNewStuff_P1200, 0, (word) SetSampledBlack_P1140, 0, (word) KTransform_P1080, 0, (word) CMYKTransform_P1020, 0, (word) GetColorTransform_P960, 0, (word) ComputeSource_P900, 0, (word) SetSampledColor_P840, 0, (word) SetOpConstantColor_P780, 0, (word) SetGray_P720, 0, (word) SetLogicalDeviceColor_P660, 0, (word) SetTile_P600, 0, (word) SetFraction_P540, 0, (word) SetInk_P480, 0, (word) SetDeviceColorData_P420, 0, (word) SetSeparation_P360, 0, (word) NewDeviceColorData_P300, 0, (word) PixelMapWords_P240, 0, (word) GetGoodShape_P180, 0, (word) GetFractionMisses_P120, 0, (word) GetFractionProbes_P60, 0, (word) ImagerPrintColorImpl_P0, {0}, (word) 32, (word) 32, {0} }; static void NoName_Q3540() { register ptr gf_c0252 = (ptr) &globalframe; word var_c35248; (* (( (ptr) gf_c0252)+10) ) = (word) XR_GetTypeIndex((word) &string1, 0, (word) &string2); (* (( (ptr) gf_c0252)+13) ) = (word) XR_GetTypeIndex((word) &string3, 0, (word) &string4); (* (( (ptr) gf_c0252)+20) ) = (word) XR_GetTypeIndex((word) &string5, 0, (word) &string6); (* (( (ptr) gf_c0252)+22) ) = (word) XR_GetTypeIndex((word) &string7, 0, (word) &string8); (* (( (ptr) gf_c0252)+25) ) = (word) XR_GetTypeIndex((word) &string9, 0, (word) &string10); (* (( (ptr) gf_c0252)+26) ) = (word) XR_GetTypeIndex((word) &string11, 0, (word) &string12); (* (( (ptr) gf_c0252)+27) ) = (word) XR_GetTypeIndex((word) &string13, 0, (word) &string10); (* (( (ptr) gf_c0252)+28) ) = (word) XR_GetTypeIndex((word) &string14, 0, (word) &string15); (* (( (ptr) gf_c0252)+30) ) = (word) XR_GetTypeIndex((word) &string16, 0, (word) &string17); (* (ptr) (( (bPt) gf_c0252)+124) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0252)+25) ), (word) &string18); (* (ptr) (( (bPt) gf_c0252)+128) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0252)+25) ), (word) &string19); (* (ptr) (( (bPt) gf_c0252)+132) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0252)+27) ), (word) &string20); (* (ptr) (( (bPt) gf_c0252)+136) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0252)+25) ), (word) &string21); (* (ptr) (( (bPt) gf_c0252)+140) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0252)+27) ), (word) &string22); (void) XR_DeclareGlobalFrame((word) "ImagerPrintColorImpl", &globalframe, (word) XR_GetTypeIndex((word) &string23, 0, (word) &string24) , (word) (( (bPt) gf_c0252)+328)/* var_c32528 */ ); var_c35248 = (word) XR_ImportInterface((word) "FunctionCache", (word) XR_GetTypeIndexS((word) (&string25)), 14); (* (( (ptr) gf_c0252)+95)/* var_c34032 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 1311237); (void) XR_ImportProcS(var_c35248, 135005443); (void) XR_ImportProcS(var_c35248, 67112192); var_c35248 = (word) XR_ImportInterface((word) "Imager", (word) XR_GetTypeIndexS((word) (&string26)), 84); (* (( (ptr) gf_c0252)+92)/* var_c33264 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 542978); (void) XR_ImportProcS(var_c35248, 526850); (void) XR_ImportProcS(var_c35248, 790018); (void) XR_ImportProcS(var_c35248, 526338); var_c35248 = (word) XR_ImportInterface((word) "ImagerBitmapContext", (word) XR_GetTypeIndexS((word) (&string27)), 8); (* (( (ptr) gf_c0252)+98)/* var_c34832 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 524802); (void) XR_ImportProcS(var_c35248, 69206278); var_c35248 = (word) XR_ImportInterface((word) "ImagerColorPrivate", (word) XR_GetTypeIndexS((word) (&string28)), 48); (* (( (ptr) gf_c0252)+94)/* var_c33904 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 67641090); (void) XR_ImportProcS(var_c35248, 67642882); (void) XR_ImportProcS(var_c35248, 67905795); (void) XR_ImportProcS(var_c35248, 67379201); (void) XR_ImportProcS(var_c35248, 67643138); var_c35248 = (word) XR_ImportInterface((word) "ImagerPixelArray", (word) XR_GetTypeIndexS((word) (&string29)), 13); (* (( (ptr) gf_c0252)+97)/* var_c34544 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 2623240); var_c35248 = (word) XR_ImportInterface((word) "ImagerSample", (word) XR_GetTypeIndexS((word) (&string30)), 60); (* (( (ptr) gf_c0252)+90)/* var_c33040 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 1583621); (void) XR_ImportProcS(var_c35248, 262913); (void) XR_ImportProcS(var_c35248, 1324037); (void) XR_ImportProcS(var_c35248, 1062404); (void) XR_ImportProcS(var_c35248, 268801); (void) XR_ImportProcS(var_c35248, 67901442); (void) XR_ImportProcS(var_c35248, 68686339); (void) XR_ImportProcS(var_c35248, 2370311); (void) XR_ImportProcS(var_c35248, 1321220); (void) XR_ImportProcS(var_c35248, 273409); (void) XR_ImportProcS(var_c35248, 68685571); (void) XR_ImportProcS(var_c35248, 67371521); (void) XR_ImportProcS(var_c35248, 267009); (void) XR_ImportProcS(var_c35248, 67648258); (void) XR_ImportProcS(var_c35248, 68161027); var_c35248 = (word) XR_ImportInterface((word) "ImagerTransformation", (word) XR_GetTypeIndexS((word) (&string31)), 55); (* (( (ptr) gf_c0252)+91)/* var_c33104 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 262401); (void) XR_ImportProcS(var_c35248, 67383041); (void) XR_ImportProcS(var_c35248, 269756930); (void) XR_ImportProcS(var_c35248, 1319173); (void) XR_ImportProcS(var_c35248, 67371777); var_c35248 = (word) XR_ImportInterface((word) "SF", (word) XR_GetTypeIndexS((word) (&string32)), 19); (* (( (ptr) gf_c0252)+89)/* var_c32752 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 68160769); (void) XR_ImportProcS(var_c35248, 135270145); var_c35248 = (word) XR_ImportInterface((word) "Real", (word) XR_GetTypeIndexS((word) (&string33)), 11); (* (( (ptr) gf_c0252)+93)/* var_c33520 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 67372033); (void) XR_ImportProcS(var_c35248, 67371521); var_c35248 = (word) XR_ImportInterface((word) "ImagerPixel", (word) XR_GetTypeIndexS((word) (&string34)), 9); (* (( (ptr) gf_c0252)+96)/* var_c34192 */ ) = var_c35248; (void) XR_ImportProcS(var_c35248, 2361350); (void) XR_ImportProcS(var_c35248, 68420869); var_c35248 = (word) XR_ExportInterface((word) "ImagerPrintColor", (word) XR_GetTypeIndexS((word) (&string35)), 4); (* (( (ptr) gf_c0252)+99)/* var_c35280 */ ) = var_c35248; (void) XR_ExportProcS(var_c35248, (word) (( (bPt) gf_c0252)+288)/* var_c32368 */ , 68157444); (void) XR_ExportProcS(var_c35248, (word) (( (bPt) gf_c0252)+280)/* var_c32336 */ , 524546); (void) XR_ExportProcS(var_c35248, (word) (( (bPt) gf_c0252)+272)/* var_c32304 */ , 786947); (void) XR_ExportProcS(var_c35248, (word) (( (bPt) gf_c0252)+144)/* var_c31792 */ , 1835780); } static void ImagerPrintColorImpl_P0(formal_c050, formal_c046) word formal_c050; word formal_c046; { register ptr gf_c35312 = (ptr) &globalframe; /* ImagerPrintColorImpl: */ SOURCE(227, 19400) /* moved to installation proc */ /* moved to installation proc */ SOURCE(12221, 8) (* (( (ptr) gf_c35312)+6)/* allowY_v4092 */ ) = XR_NewObject(8, (* (( (ptr) gf_c35312)+10) )); { word var_c32656; var_c32656 = (* (( (ptr) gf_c35312)+6)/* allowY_v4092 */ ); }; SOURCE(12279, 13) { word var_c32688; word var_c32720; var_c32688 = XR_NewObject(8, (* (( (ptr) gf_c35312)+10) )); var_c32720 = var_c32688; (* (ptr) var_c32720 ) = 1; (* (( (ptr) var_c32720)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c35312)+10) )); var_c32720 = (* (( (ptr) var_c32720)+1) ); (* (( (ptr) gf_c35312)+7)/* allowRGBorY_v4120 */ ) = var_c32688; }; SOURCE(15715, 21) (* (( (ptr) gf_c35312)+8)/* newStuff_v4288 */ ) = 1; SOURCE(15870, 33) { word x37; word x39; *(float*)(( (ptr) gf_c35312)+9)/* tileTolerance_v4344 */ = ( x37 = (* (ptr) &fc36 ), *(float*)&x37 ) * ( x39 = (* (ptr) &fc38 ), *(float*)&x39 ); }; } static word GetFractionProbes_P60() { register ptr gf_c35344 = (ptr) &globalframe; word var_c4744; /* GetFractionProbes: */ SOURCE(1478, 66) SOURCE(1521, 23) return((* (( (ptr) gf_c35344)+4)/* fractionProbes_v3504 */ )); } static word GetFractionMisses_P120() { register ptr gf_c35376 = (ptr) &globalframe; word var_c4804; /* GetFractionMisses: */ SOURCE(1550, 66) SOURCE(1593, 23) return((* (( (ptr) gf_c35376)+5)/* fractionMisses_v3532 */ )); } static void GetGoodShape_P180(formal_c059, box_v4936, phase_v4964) word formal_c059; W4 box_v4936; word phase_v4964; { register ptr gf_c35408 = (ptr) &globalframe; W5 var_c5008; W2 size_v7608; /* GetGoodShape: */ SOURCE(1701, 398) SOURCE(1774, 27) { word pd40; pd40 = (* (( (ptr) (* (( (ptr) gf_c35408)+89)/* var_c32752 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd40 ))))((word) &size_v7608, box_v4936, pd40); }; SOURCE(1803, 35) if (( (int)size_v7608.f0 <= (int)0) || ( (int)size_v7608.f1 <= (int)0)) { SOURCE(1838, 5) (void) XR_RaiseUnnamedError(); }; SOURCE(1845, 49) lab_L100003: ; if (( (int)phase_v4964 < (int)0)) { } else { goto lab_L100001; }; SOURCE(1864, 30) phase_v4964 = (phase_v4964 + size_v7608.f1); goto lab_L100003; lab_L100001: ; SOURCE(1896, 159) { word idx41; word idx42; word idx43; if ( ( ( ((32 % ( idx41 = (word) size_v7608.f0, SGNCK(idx41) )) == 0) ? ((32 % ( idx42 = (word) size_v7608.f1, SGNCK(idx42) )) == 0) : 0 ) ? (((SGNCK(phase_v4964) * (32 / ( idx43 = (word) size_v7608.f0, SGNCK(idx43) ))) & 037) == 0) : 0 ) ) { SOURCE(2011, 44) var_c5008 = (* (W5Pt) (( (ptr) gf_c35408)+84)/* var_c32592 */ ); goto lab_L100000; }; }; SOURCE(2058, 41) var_c5008.f0 = 0; var_c5008.f1 = 0; (* (W2Pt) (( (ptr) &var_c5008)+2) ) = size_v7608; var_c5008.f4 = phase_v4964; /* removed tail goto */ lab_L100000: ; (* (W5Pt) formal_c059 ) = var_c5008; return; } static word PixelMapWords_P240(pixelMap_v5068) word pixelMap_v5068; { register ptr gf_c35440 = (ptr) &globalframe; word var_c5112; word words_v7652 = 0; /* PixelMapWords: */ SOURCE(2105, 298) SOURCE(2192, 195) { register word i_v7696 = 0; register word noName_c32848; noName_c32848 = (* (( (ptr) pixelMap_v5068)+5) ); if ((i_v7696 >= noName_c32848)) { goto lab_L100004; }; lab_L100007: ; SOURCE(2239, 148) { W2 var_c32880; word var_c32976; word var_c0280; { W2 var_c32912; word map_v31744; { word limit44; map_v31744 = (* ((( (ptr) pixelMap_v5068)+6)+( limit44 = (* (( (ptr) pixelMap_v5068)+5) ), BCK(i_v7696, limit44) )) ); }; { W4 b_v14700; b_v14700 = (* (W4Pt) map_v31744 ); var_c32912.f0 = (b_v14700.f2 - b_v14700.f0); var_c32912.f1 = (b_v14700.f3 - b_v14700.f1); }; var_c32880 = var_c32912; }; { word var_c33008; word map_v31696; { word limit45; map_v31696 = (* ((( (ptr) pixelMap_v5068)+6)+( limit45 = (* (( (ptr) pixelMap_v5068)+5) ), BCK(i_v7696, limit45) )) ); }; var_c33008 = (* (( (ptr) map_v31696)+5) ); var_c32976 = var_c33008; }; { word pd46; pd46 = (* (( (ptr) (* (( (ptr) gf_c35440)+90)/* var_c33040 */ ))+18) ); var_c0280 = (word) ( *( (fPt) ((* (ptr) pd46 ))))(var_c32880, var_c32976, 0, pd46); }; words_v7652 = (words_v7652 + var_c0280); }; i_v7696 = (i_v7696 + 1); if ((i_v7696 < noName_c32848)) { goto lab_L100007; }; lab_L100004: ; }; SOURCE(2389, 14) return(words_v7652); } static word NewDeviceColorData_P300(logicalDevice_v5172, halftoneProperties_v5200, correction_v5228, interpolate_v5256) word logicalDevice_v5172; word halftoneProperties_v5200; word correction_v5228; word interpolate_v5256; { register ptr gf_c35472 = (ptr) &globalframe; word var_c5300; word deviceColorData_v7740; /* NewDeviceColorData: */ SOURCE(2409, 924) SOURCE(2654, 92) deviceColorData_v7740 = XR_NewObject(80, (* (( (ptr) gf_c35472)+13) )); (* (( (ptr) deviceColorData_v7740)+10) ) = 1; (* (( (ptr) deviceColorData_v7740)+14) ) = 255; SOURCE(2748, 55) (* (( (ptr) deviceColorData_v7740)+1) ) = halftoneProperties_v5200; SOURCE(2805, 39) (* (( (ptr) deviceColorData_v7740)+2) ) = correction_v5228; SOURCE(2846, 41) (* (( (ptr) deviceColorData_v7740)+3) ) = interpolate_v5256; SOURCE(2889, 26) (* (( (ptr) deviceColorData_v7740)+10) ) = 0; SOURCE(2917, 61) { word pd47; pd47 = (* (( (ptr) (* (( (ptr) gf_c35472)+91)/* var_c33104 */ ))+7) ); (* (( (ptr) deviceColorData_v7740)+17) ) = (word) ( *( (fPt) ((* (ptr) pd47 ))))((* (ptr) (&fc48) ), pd47); }; SOURCE(2980, 56) { word var_c33136; { word var_c33168; var_c33168 = XR_NewObject(28, (* (( (ptr) gf_c35472)+20) )); (* (( (ptr) var_c33168)+5) ) = 1; var_c33136 = var_c33168; }; (* (( (ptr) deviceColorData_v7740)+16) ) = var_c33136; }; SOURCE(3038, 42) (* (( (hPt) deviceColorData_v7740)+9) ) = 0; SOURCE(3082, 167) { register word each_v7784; each_v7784 = halftoneProperties_v5200; lab_L100013: ; if ((each_v7784 != 0)) { } else { goto lab_L100010; }; SOURCE(3195, 54) { word x49; word x50; x49 = (* (( (ptr) each_v7784)+1) ); x50 = (word) ((( (bPt) deviceColorData_v7740)+18) + ((word) x49 >> 3)); x49 = 8 - ((word) (x49 & 7)+1); (* (bPt) x50 ) = ((* (bPt) x50 ) & ( ~ ((unsigned) 1 << x49))) | (((1)) << x49); }; each_v7784 = (* (( (ptr) each_v7784)+5) ); goto lab_L100013; lab_L100010: ; }; SOURCE(3260, 46) (* (( (ptr) deviceColorData_v7740)+19) ) = XR_NewObject(6176, (* (( (ptr) gf_c35472)+22) )); SOURCE(3308, 25) return(deviceColorData_v7740); } static void SetSeparation_P360(deviceColorData_v5360, toner_v5388) word deviceColorData_v5360; word toner_v5388; { register ptr gf_c35504 = (ptr) &globalframe; W3 old_v7912; W3 new_v7940; /* SetSeparation: */ SOURCE(3337, 908) SOURCE(3445, 46) old_v7912 = (* (W3Pt) (( (ptr) deviceColorData_v5360)+6) ); SOURCE(3493, 36) new_v7940.f0 = 0; new_v7940.f1 = 0; new_v7940.f2 = 0; SOURCE(3531, 154) if ( ! (((* (bPt) ((( (bPt) deviceColorData_v5360)+18) + ((word) toner_v5388 >> 3)) ) >> (7 - ((word) (toner_v5388 & 7)))) & 1)) { SOURCE(3580, 105) { W3 var_c086; var_c086.f0 = 50; var_c086.f1 = (* (( (ptr) gf_c35504)+34) ); var_c086.f2 = 0; (void) XR_RaiseError((* (ptr) (* (( (ptr) (* (( (ptr) gf_c35504)+92)/* var_c33264 */ ))+6) ) ), (word) &var_c086); }; }; SOURCE(3687, 185) { register word each_v7984; each_v7984 = (* (( (ptr) deviceColorData_v5360)+1) ); lab_L100017: ; if ((each_v7984 != 0)) { } else { goto lab_L100014; }; SOURCE(3816, 56) if (((* (( (ptr) each_v7984)+1) ) == toner_v5388)) { SOURCE(3850, 22) new_v7940 = (* (W3Pt) (( (ptr) each_v7984)+2) ); SOURCE(3874, 4) goto lab_L100015; }; each_v7984 = (* (( (ptr) each_v7984)+5) ); goto lab_L100017; lab_L100014: ; lab_L100015: ; }; SOURCE(3890, 127) if ( ( (new_v7940.f1 == 0) ? ((* (( (ptr) deviceColorData_v5360)+1) ) != 0) : 0 ) ) { SOURCE(3965, 52) new_v7940 = (* (W3Pt) (( (ptr) (* (( (ptr) deviceColorData_v5360)+1) ))+2) ); }; SOURCE(4022, 192) { word pd52; if ((new_v7940.f0 != old_v7912.f0)) { goto then051;}; if ((new_v7940.f2 != old_v7912.f2)) { goto then051;}; if ((new_v7940.f1 == 0)) { goto then051;}; if ((old_v7912.f1 == 0)) { goto then051;}; pd52 = (* (( (ptr) (* (( (ptr) gf_c35504)+90)/* var_c33040 */ ))+63) ); if ((0 == (word) ( *( (fPt) ((* (ptr) pd52 ))))(new_v7940.f1, old_v7912.f1, pd52))) { then051: ; SOURCE(4187, 27) (* (W3Pt) (( (ptr) deviceColorData_v5360)+6) ) = new_v7940; }; }; SOURCE(4216, 29) (* (( (ptr) deviceColorData_v5360)+5) ) = toner_v5388; } static void SetDeviceColorData_P420(deviceColorData_v5448, color_v5476, viewToDevice_v5504) word deviceColorData_v5448; word color_v5476; word viewToDevice_v5504; { register ptr gf_c35536 = (ptr) &globalframe; /* SetDeviceColorData: */ SOURCE(4251, 1712) SOURCE(4395, 26) (* (( (ptr) deviceColorData_v5448)+10) ) = 0; SOURCE(4423, 25) (* (( (ptr) deviceColorData_v5448)+11) ) = 2; SOURCE(4450, 30) (* (( (ptr) deviceColorData_v5448)+12) ) = 0; SOURCE(4482, 27) (* (( (ptr) deviceColorData_v5448)+14) ) = 255; SOURCE(4511, 32) (* (( (ptr) deviceColorData_v5448)+15) ) = 0; SOURCE(4545, 31) { word var_c33328; var_c33328 = (* (( (ptr) deviceColorData_v5448)+16) ); { word limit53; (* ((( (ptr) var_c33328)+6)+( limit53 = (* (( (ptr) var_c33328)+5) ), BCK(0, limit53) )) ) = 0; }; }; SOURCE(4578, 147) if (((* (( (ptr) deviceColorData_v5448)+9) ) != 0)) { SOURCE(4625, 62) { word pd54; pd54 = (* (( (ptr) (* (( (ptr) gf_c35536)+90)/* var_c33040 */ ))+23) ); (void) ( *( (fPt) ((* (ptr) pd54 ))))((* ((( (ptr) deviceColorData_v5448)+9)) ), pd54); }; SOURCE(4689, 36) (* (( (ptr) deviceColorData_v5448)+9) ) = 0; }; SOURCE(4730, 39) ((P3x5b) (( (bPt) deviceColorData_v5448) + 75))->f = 0; SOURCE(4771, 1192) lab_L100020: ; SOURCE(4774, 1189) { word var_c33360; var_c33360 = color_v5476; if ((var_c33360 == 0)) { goto lab_L100021; }; { word var_c33456; if ( ( ((* (ptr) var_c33360 ) == 0) ? ((* (( (ptr) var_c33360)+1) ) == 1) : 0 ) ) { { word specialColor_v8112; specialColor_v8112 = var_c33360; SOURCE(4841, 607) { word var_c33392; var_c33392 = (* (( (ptr) specialColor_v8112)+2) ); if ((var_c33392 == (* (( (ptr) gf_c35536)+33) ))) { SOURCE(4886, 359) { word data_v8156; SOURCE(4888, 66) data_v8156 = XR_Narrow((* (( (ptr) specialColor_v8112)+4) ), (* (( (ptr) gf_c35536)+30) )); SOURCE(4956, 242) if (((* (ptr) deviceColorData_v5448 ) < (* (ptr) data_v8156 ))) { SOURCE(5008, 50) { /*1*/ word idx56; /*1*/ word limit57; /*1*/ if (((* ((( (ptr) data_v8156)+1)+( /*1*/ idx56 = (* (ptr) deviceColorData_v5448 ), /*1*/ limit57 = (* (ptr) data_v8156 ), /*1*/ BCK(idx56, limit57) /*1*/ )) ) == 0)) { /*1*/ }; /*1*/ }; SOURCE(5063, 135) { /*1*/ word idx58; /*1*/ word limit59; /*1*/ if (((* ((( (ptr) data_v8156)+1)+( /*1*/ idx58 = (* (ptr) deviceColorData_v5448 ), /*1*/ limit59 = (* (ptr) data_v8156 ), /*1*/ BCK(idx58, limit59) /*1*/ )) ) != 0)) { SOURCE(5115, 75) /*1*/ { /*1*/ word idx60; /*1*/ word limit61; /*1*/ (void) SetLogicalDeviceColor_P660(deviceColorData_v5448, (* ((( (ptr) data_v8156)+1)+( /*1*/ idx60 = (* (ptr) deviceColorData_v5448 ), /*1*/ limit61 = (* (ptr) data_v8156 ), /*1*/ BCK(idx60, limit61) /*1*/ )) )); /*1*/ }; SOURCE(5192, 6) /*1*/ return; /*1*/ }; /*1*/ }; }; SOURCE(5206, 31) color_v5476 = (* (( (ptr) specialColor_v8112)+5) ); SOURCE(5239, 4) goto lab_L100020; }; } else { SOURCE(5261, 187) if (((* (( (ptr) specialColor_v8112)+5) ) == 0)) { SOURCE(5299, 116) { W3 var_c098; var_c098.f0 = 63; var_c098.f1 = (* (( (ptr) gf_c35536)+31) ); var_c098.f2 = 0; (void) XR_RaiseError((* (ptr) (* (( (ptr) (* (( (ptr) gf_c35536)+92)/* var_c33264 */ ))+6) ) ), (word) &var_c098); }; } else { SOURCE(5417, 31) color_v5476 = (* (( (ptr) specialColor_v8112)+5) ); SOURCE(5450, 5) goto lab_L100020; }; }; }; }; goto endif055; }; if ( ( ((* (ptr) var_c33360 ) == 0) ? ((* (( (ptr) var_c33360)+1) ) == 0) : 0 ) ) { { word opColor_v8200; opColor_v8200 = var_c33360; SOURCE(5505, 44) (void) SetOpConstantColor_P780(deviceColorData_v5448, opColor_v8200); }; goto endif055; }; if ((( var_c33456 = (* (ptr) var_c33360 ) ) == 1)) { { word sampledColor_v8244; sampledColor_v8244 = var_c33360; SOURCE(5598, 110) { word pd62; pd62 = (* (( (ptr) (* (( (ptr) gf_c35536)+91)/* var_c33104 */ ))+37) ); (void) ( *( (fPt) ((* (ptr) pd62 ))))((* (( (ptr) deviceColorData_v5448)+17) ), (* (( (ptr) (* (( (ptr) sampledColor_v8244)+1) ))+4) ), (* (( (ptr) sampledColor_v8244)+2) ), viewToDevice_v5504, 0, pd62); }; SOURCE(5710, 46) (void) SetSampledColor_P840(deviceColorData_v5448, sampledColor_v8244); }; goto endif055; }; if ((var_c33456 == 2)) { { word sampledBlack_v8288; sampledBlack_v8288 = var_c33360; SOURCE(5805, 110) { word pd63; pd63 = (* (( (ptr) (* (( (ptr) gf_c35536)+91)/* var_c33104 */ ))+37) ); (void) ( *( (fPt) ((* (ptr) pd63 ))))((* (( (ptr) deviceColorData_v5448)+17) ), (* (( (ptr) (* (( (ptr) sampledBlack_v8288)+1) ))+4) ), (* (( (ptr) sampledBlack_v8288)+2) ), viewToDevice_v5504, 0, pd63); }; SOURCE(5917, 46) (void) SetSampledBlack_P1140(deviceColorData_v5448, sampledBlack_v8288); }; goto endif055; }; lab_L100021: ; SOURCE(5979, 5) (void) XR_RaiseUnnamedError(); goto endif055; endif055: ; }; }; SOURCE(5986, 4) goto lab_L100019; /* c2c skipped dead code */ lab_L100019: ; } static void SetInk_P480(deviceColorData_v5564, ink_v5592) word deviceColorData_v5564; word ink_v5592; { /* SetInk: */ SOURCE(6005, 148) SOURCE(6095, 31) (* (( (ptr) deviceColorData_v5564)+10) ) = 1; SOURCE(6128, 25) (* (( (ptr) deviceColorData_v5564)+11) ) = ink_v5592; } static void SetFraction_P540(deviceColorData_v5652, f_v5680) word deviceColorData_v5652; word f_v5680; { register ptr gf_c35568 = (ptr) &globalframe; /* SetFraction: */ SOURCE(6159, 1733) SOURCE(6242, 1650) { word var_c33488; var_c33488 = f_v5680; { word x64; word x66; word x67; word x69; if ((( x64 = var_c33488, *(float*)&x64 ) >= ( x66 = (* (ptr) &fc65 ), *(float*)&x66 ))) { SOURCE(6269, 28) (void) SetInk_P480(deviceColorData_v5652, 2); } else { if ((( x67 = var_c33488, *(float*)&x67 ) <= ( x69 = (* (ptr) &fc68 ), *(float*)&x69 ))) { SOURCE(6312, 31) (void) SetInk_P480(deviceColorData_v5652, 1); } else { SOURCE(6356, 1544) { W3 brick_v8332; word sample_v8360; SOURCE(6358, 48) brick_v8332 = (* (W3Pt) (( (ptr) deviceColorData_v5652)+6) ); SOURCE(6408, 48) { word pd70; word x71; float tf72; word idx73; pd70 = (* (( (ptr) (* (( (ptr) gf_c35568)+93)/* var_c33520 */ ))+6) ); sample_v8360 = ( idx73 = (word) ( *( (fPt) ((* (ptr) pd70 ))))(( /*1*/ tf72 = ( /*1*/ x71 = f_v5680, *(float*)&x71 /*1*/ ) * (float)(unsigned)brick_v8332.f0, *(word*)&tf72 /*1*/ ), pd70), SGNCK(idx73) ); }; SOURCE(6458, 1434) { word var_c33552; var_c33552 = sample_v8360; if ((var_c33552 == brick_v8332.f0)) { SOURCE(6496, 28) (void) SetInk_P480(deviceColorData_v5652, 2); } else { if ((var_c33552 == 0)) { SOURCE(6531, 31) (void) SetInk_P480(deviceColorData_v5652, 1); } else { SOURCE(6575, 1322) { /*1*/ word private_v8404; /*1*/ word mod_v8432; SOURCE(6577, 57) /*1*/ private_v8404 = XR_Narrow((* (( (ptr) deviceColorData_v5652)+19) ), (* (( (ptr) gf_c35568)+22) )); SOURCE(6636, 46) /*1*/ mod_v8432 = (sample_v8360 & 0377); SOURCE(6684, 35) /*1*/ (* (( (ptr) gf_c35568)+4)/* fractionProbes_v3504 */ ) = ((* (( (ptr) gf_c35568)+4)/* fractionProbes_v3504 */ ) + 1); SOURCE(6721, 283) /*1*/ if ((private_v8404 != 0)) { SOURCE(6743, 261) /*1*/ { /*1*/ word tc74; /*1*/ if (XR_EqualWords((( (W6Pt) (( (ptr) private_v8404)+2))+mod_v8432), &brick_v8332, 3)) { /*1*/ tc74 = (word) ((* (( (W6Pt) (( (ptr) private_v8404)+2))+mod_v8432) ).f5 == sample_v8360); /*1*/ } /*1*/ else { /*1*/ tc74 = (word) 0; /*1*/ }; /*1*/ if (tc74) { SOURCE(6841, 155) /*1*/ { /*1*/ word idx75; /*1*/ (void) SetTile_P600(deviceColorData_v5652, (* (( (W6Pt) (( (ptr) private_v8404)+2))+mod_v8432) ).f3, ( /*1*/ idx75 = (word) (* (( (W6Pt) (( (ptr) private_v8404)+2))+mod_v8432) ).f4, /*1*/ SGNCK(idx75) /*1*/ ), 0); /*1*/ }; SOURCE(6998, 6) /*1*/ return; /*1*/ }; /*1*/ }; /*1*/ }; SOURCE(7009, 885) /*1*/ { /*1*/ W5 shape_v8508; /*1*/ word b_v8536; /*1*/ word bitmap_v8564; SOURCE(7011, 82) /*1*/ (void) GetGoodShape_P180((word) &shape_v8508, (* (W4Pt) brick_v8332.f1 ), brick_v8332.f2); SOURCE(7095, 85) /*1*/ { /*1*/ word var_c33584; /*1*/ { /*1*/ word pd76; /*1*/ word idx77; /*1*/ pd76 = (* (( (ptr) (* (( (ptr) gf_c35568)+89)/* var_c32752 */ ))+17) ); /*1*/ var_c33584 = ( /*1*/ idx77 = (word) ( *( (fPt) ((* (ptr) pd76 ))))((* (W4Pt) (&shape_v8508) ), pd76), /*1*/ SGNCK(idx77) /*1*/ ); /*1*/ }; /*1*/ { /*1*/ word pd78; /*1*/ pd78 = (* (( (ptr) (* (( (ptr) gf_c35568)+90)/* var_c33040 */ ))+6) ); /*1*/ b_v8536 = (word) ( *( (fPt) ((* (ptr) pd78 ))))(var_c33584, pd78); /*1*/ }; /*1*/ }; SOURCE(7182, 75) /*1*/ { /*1*/ word pd79; /*1*/ pd79 = (* (( (ptr) (* (( (ptr) gf_c35568)+90)/* var_c33040 */ ))+19) ); /*1*/ bitmap_v8564 = (word) ( *( (fPt) ((* (ptr) pd79 ))))((* (W4Pt) &shape_v8508 ), 1, 0, pd79); /*1*/ }; SOURCE(7259, 26) /*1*/ { /*1*/ word pd80; /*1*/ pd80 = (* (( (ptr) (* (( (ptr) gf_c35568)+90)/* var_c33040 */ ))+48) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd80 ))))(bitmap_v8564, pd80); /*1*/ }; SOURCE(7287, 35) /*1*/ (* (( (ptr) gf_c35568)+5)/* fractionMisses_v3532 */ ) = ((* (( (ptr) gf_c35568)+5)/* fractionMisses_v3532 */ ) + 1); SOURCE(7324, 331) /*1*/ { /*1*/ register word s_v8608; /*1*/ register word noName_c33616; /*1*/ s_v8608 = shape_v8508.f0; /*1*/ noName_c33616 = shape_v8508.f2; /*1*/ if (( (int)s_v8608 >= (int)noName_c33616)) { /*1*/ goto lab_L100022; /*1*/ }; /*1*/ lab_L100025: ; SOURCE(7380, 114) /*1*/ { /*1*/ W2 var_c33648; /*1*/ var_c33648.f0 = s_v8608; /*1*/ var_c33648.f1 = shape_v8508.f1; /*1*/ { /*1*/ word pd81; /*1*/ pd81 = (* (( (ptr) (* (( (ptr) gf_c35568)+90)/* var_c33040 */ ))+45) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd81 ))))(brick_v8332.f1, brick_v8332.f2, var_c33648, b_v8536, pd81); /*1*/ }; /*1*/ }; SOURCE(7496, 68) /*1*/ { /*1*/ register word j_v8652 = 0; /*1*/ register word noName_c33680; /*1*/ noName_c33680 = (* (ptr) b_v8536 ); /*1*/ if ((j_v8652 >= noName_c33680)) { /*1*/ goto lab_L100026; /*1*/ }; /*1*/ lab_L100029: ; SOURCE(7527, 37) /*1*/ { /*1*/ word limit82; /*1*/ word limit83; /*1*/ word limit84; /*1*/ if ((sample_v8360 > (* ((( (ptr) b_v8536)+2)+( /*1*/ limit82 = (* (( (ptr) b_v8536)+1) ), /*1*/ BCK(j_v8652, limit82) /*1*/ )) ))) { /*1*/ (* ((( (ptr) b_v8536)+2)+( /*1*/ limit83 = (* (( (ptr) b_v8536)+1) ), /*1*/ BCK(j_v8652, limit83) /*1*/ )) ) = 1; /*1*/ } /*1*/ else { /*1*/ (* ((( (ptr) b_v8536)+2)+( /*1*/ limit84 = (* (( (ptr) b_v8536)+1) ), /*1*/ BCK(j_v8652, limit84) /*1*/ )) ) = 0; /*1*/ }; /*1*/ }; /*1*/ j_v8652 = (j_v8652 + 1); /*1*/ if ((j_v8652 < noName_c33680)) { /*1*/ goto lab_L100029; /*1*/ }; /*1*/ lab_L100026: ; /*1*/ }; SOURCE(7575, 80) /*1*/ { /*1*/ W2 var_c33712; /*1*/ W2 var_c33744; /*1*/ var_c33712.f0 = s_v8608; /*1*/ var_c33712.f1 = shape_v8508.f1; /*1*/ var_c33744.f0 = 0; /*1*/ var_c33744.f1 = 1; /*1*/ { /*1*/ word pd85; /*1*/ pd85 = (* (( (ptr) (* (( (ptr) gf_c35568)+90)/* var_c33040 */ ))+47) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd85 ))))(bitmap_v8564, var_c33712, var_c33744, b_v8536, 0, 2147483647 /*1*/ , 0, pd85); /*1*/ }; /*1*/ }; /*1*/ s_v8608 = (s_v8608 + 1); /*1*/ if (( (int)s_v8608 < (int)noName_c33616)) { /*1*/ goto lab_L100025; /*1*/ }; /*1*/ lab_L100022: ; /*1*/ }; SOURCE(7666, 107) /*1*/ { /*1*/ word idx86; /*1*/ (void) SetTile_P600(deviceColorData_v5652, bitmap_v8564, ( /*1*/ idx86 = (word) shape_v8508.f4, /*1*/ SGNCK(idx86) /*1*/ ), 0); /*1*/ }; SOURCE(7775, 117) /*1*/ if ((private_v8404 != 0)) { SOURCE(7797, 95) /*1*/ { /*1*/ word var_c33776; /*1*/ var_c33776 = (word) (( (W6Pt) (( (bPt) private_v8404)+8))+mod_v8432); /*1*/ (* (W3Pt) var_c33776 ) = brick_v8332; /*1*/ (* (( (ptr) var_c33776)+3) ) = bitmap_v8564; /*1*/ (* (( (ptr) var_c33776)+4) ) = shape_v8508.f4; /*1*/ (* (( (ptr) var_c33776)+5) ) = sample_v8360; /*1*/ }; /*1*/ }; /*1*/ }; /*1*/ }; }; }; }; }; }; }; }; }; } static void SetTile_P600(deviceColorData_v5740, tileBits_v5768, tilePhase_v5796, function_v5824) word deviceColorData_v5740; word tileBits_v5768; word tilePhase_v5796; word function_v5824; { /* SetTile: */ SOURCE(7907, 280) SOURCE(8047, 27) (* (( (ptr) deviceColorData_v5740)+10) ) = 2; SOURCE(8076, 35) (* (( (ptr) deviceColorData_v5740)+12) ) = tileBits_v5768; SOURCE(8113, 37) (* (( (ptr) deviceColorData_v5740)+13) ) = tilePhase_v5796; SOURCE(8152, 35) ((P3x5b) (( (bPt) deviceColorData_v5740) + 75))->f = (function_v5824 & 7); } static void SetLogicalDeviceColor_P660(deviceColorData_v5884, lData_v5912) word deviceColorData_v5884; word lData_v5912; { /* SetLogicalDeviceColor: */ SOURCE(8193, 769) SOURCE(8319, 60) if (((* (ptr) deviceColorData_v5884 ) != (* (ptr) lData_v5912 ))) { SOURCE(8379, 5) (void) XR_RaiseUnnamedError(); }; SOURCE(8403, 514) { register word e_v8696; e_v8696 = (* (( (ptr) lData_v5912)+2) ); lab_L100033: ; if ((e_v8696 != 0)) { } else { goto lab_L100030; }; { word b_v8824; SOURCE(8494, 45) b_v8824 = (* (ptr) e_v8696 ); SOURCE(8541, 376) if (((* (ptr) b_v8824 ) == (* (( (ptr) deviceColorData_v5884)+5) ))) { SOURCE(8583, 308) { word var_c33808; var_c33808 = b_v8824; if ((var_c33808 == 0)) { goto lab_L100034; }; { word var_c33840; var_c33840 = (* (( (ptr) var_c33808)+1) ); switch (var_c33840) { case 0: { word b_v8868; b_v8868 = var_c33808; SOURCE(8657, 30) (void) SetInk_P480(deviceColorData_v5884, (* (( (ptr) b_v8868)+2) )); }; break; case 1: { word b_v8924; b_v8924 = var_c33808; SOURCE(8744, 33) (void) SetFraction_P540(deviceColorData_v5884, (* (( (ptr) b_v8924)+2) )); }; break; case 2: { word b_v8980; b_v8980 = var_c33808; SOURCE(8830, 61) (void) SetTile_P600(deviceColorData_v5884, (* (( (ptr) b_v8980)+2) ), (* (( (ptr) b_v8980)+3) ), ((* (( (bPt) b_v8980)+19) /*1*/ ) & 7)); }; break; default: lab_L100034: ; SOURCE(8904, 5) (void) XR_RaiseUnnamedError(); break; }; }; }; SOURCE(8911, 6) return; }; }; e_v8696 = (* (( (ptr) e_v8696)+1) ); goto lab_L100033; lab_L100030: ; }; SOURCE(8931, 31) (void) SetInk_P480(deviceColorData_v5884, 1); } static void SetGray_P720(deviceColorData_v5972, f_v6000) word deviceColorData_v5972; word f_v6000; { register ptr gf_c35600 = (ptr) &globalframe; /* SetGray: */ SOURCE(8998, 351) SOURCE(9077, 272) if (*(( short *)deviceColorData_v5972 + 9)<0) { SOURCE(9124, 106) if (((* (( (ptr) deviceColorData_v5972)+5) ) == 0)) { SOURCE(9162, 37) (void) SetFraction_P540(deviceColorData_v5972, f_v6000); } else { SOURCE(9199, 31) (void) SetInk_P480(deviceColorData_v5972, 1); }; } else { SOURCE(9241, 28) (void) SetInk_P480(deviceColorData_v5972, 2); SOURCE(9271, 78) { W3 var_c0141; var_c0141.f0 = 62; var_c0141.f1 = (* (( (ptr) gf_c35600)+32) ); var_c0141.f2 = 0; (void) (XR_RaiseSignal((* (ptr) (* (( (ptr) (* (( (ptr) gf_c35600)+92)/* var_c33264 */ ))+7) ) ), 0, (word) &var_c0141) ); }; }; } static void SetOpConstantColor_P780(deviceColorData_v6060, color_v6088) word deviceColorData_v6060; word color_v6088; { register ptr gf_c35632 = (ptr) &globalframe; word transform_v9036; word p_v9064; /* SetOpConstantColor: */ SOURCE(9358, 560) SOURCE(9475, 83) transform_v9036 = (word) GetColorTransform_P960(deviceColorData_v6060, (* (( (ptr) color_v6088)+2) )); SOURCE(9560, 72) { word pd87; pd87 = (* (( (ptr) (* (( (ptr) gf_c35632)+94)/* var_c33904 */ ))+43) ); p_v9064 = (word) ( *( (fPt) ((* (ptr) pd87 ))))(color_v6088, transform_v9036, pd87); }; SOURCE(9634, 220) { word var_c33936; var_c33936 = (* (( (ptr) p_v9064)+1) ); if ((var_c33936 == 1)) { SOURCE(9659, 37) { word limit88; word x89; word x91; float tf92; (void) SetGray_P720(deviceColorData_v6060, ( tf92 = ( x89 = (* ((( (ptr) p_v9064)+2)+( limit88 = (* (( (ptr) p_v9064)+1) ), BCK(0, limit88) )) ), *(float*)&x89 ) / ( x91 = (* (ptr) &fc90 ), *(float*)&x91 ), *(word*)&tf92 )); }; } else { if ((var_c33936 == 4)) { SOURCE(9704, 150) { word i_v9108; SOURCE(9706, 105) { word var_c33968; var_c33968 = (* (( (ptr) deviceColorData_v6060)+5) ); switch (var_c33968) { case 1: i_v9108 = 0; break; case 2: i_v9108 = 1; break; case 3: i_v9108 = 2; break; case 0: i_v9108 = 3; break; default: i_v9108 = 3; break; }; }; SOURCE(9813, 41) { word limit93; word x94; word x95; float tf96; (void) SetFraction_P540(deviceColorData_v6060, ( tf96 = ( x94 = (* ((( (ptr) p_v9064)+2)+( /*1*/ limit93 = (* (( (ptr) p_v9064)+1) ), /*1*/ BCK(i_v9108, limit93) /*1*/ )) ), *(float*)&x94 ) / ( x95 = (* (ptr) &fc90 ), *(float*)&x95 ), *(word*)&tf96 )); }; }; } else { SOURCE(9868, 5) (void) XR_RaiseUnnamedError(); }; }; }; SOURCE(9875, 43) { word pd97; pd97 = (* (( (ptr) (* (( (ptr) gf_c35632)+94)/* var_c33904 */ ))+36) ); p_v9064 = (word) ( *( (fPt) ((* (ptr) pd97 ))))(p_v9064, pd97); }; } static void SetSampledColor_P840(formal_c0288, color_v6344) word formal_c0288; word color_v6344; { W10 var_c35664; /* declaration of deviceColorData_v6316 skipped */ register ptr gf_c35696 = (ptr) &globalframe; /* declaration of var_c34000 skipped */ /* declaration of pa_v9152 skipped */ word cache_v9180; /* declaration of colorOperator_v9208 skipped */ word tu_v9236; /* declaration of fullColor_v9264 skipped */ word toner_v9320; word index_v9348; word scd_v9376; (* (( (ptr) &var_c35664)+4)/* deviceColorData_v6316 */ ) = formal_c0288; /* SetSampledColor: */ SOURCE(10164, 1572) { word tmpAddr98; tmpAddr98 = (word) (( (ptr) &var_c35664)+5)/* var_c34000 */ ; (* (ptr) tmpAddr98 ) = ( ((word) (fPt) Compare_P2352) ); (* (( (ptr) tmpAddr98) + 1) ) = 1; }; SOURCE(10275, 25) (* (( (ptr) &var_c35664)+7)/* pa_v9152 */ ) = (* (( (ptr) color_v6344)+1) ); SOURCE(10302, 56) { word pd99; pd99 = (* (( (ptr) (* (( (ptr) gf_c35696)+95)/* var_c34032 */ ))+17) ); cache_v9180 = (word) ( *( (fPt) ((* (ptr) pd99 ))))(pd99); }; SOURCE(10360, 62) (* (( (ptr) &var_c35664)+8)/* colorOperator_v9208 */ ) = (* (( (ptr) color_v6344)+3) ); SOURCE(10424, 60) tu_v9236 = (* (( (hPt) (* (( (ptr) &var_c35664)+4)/* deviceColorData_v6316 */ ))+9) ); SOURCE(10486, 85) (* (( (ptr) &var_c35664)+9)/* fullColor_v9264 */ ) = ( ( ( (0 != (* (ptr) (* (( (ptr) &var_c35664)+8)/* colorOperator_v9208 */ ) )) ? (((unsigned)tu_v9236 << 17) >> 31) : 0 ) ? (((unsigned)tu_v9236 << 18) >> 31) : 0 ) ? (((unsigned)tu_v9236 << 19) >> 31) : 0 ) ; SOURCE(10835, 47) toner_v9320 = (* (( (ptr) (* (( (ptr) &var_c35664)+4)/* deviceColorData_v6316 */ ))+5) ); SOURCE(10884, 120) if ((0 != (* (( (ptr) &var_c35664)+9)/* fullColor_v9264 */ ))) { { word var_c34064; var_c34064 = toner_v9320; switch (var_c34064) { case 0: index_v9348 = 3; break; case 1: index_v9348 = 0; break; case 2: index_v9348 = 1; break; case 3: index_v9348 = 2; break; default: index_v9348 = 0; break; }; }; } else { index_v9348 = 0; }; SOURCE(11006, 109) { W2 var_c0161; word var_c0281; { word pd100; pd100 = (* (( (ptr) (* (( (ptr) gf_c35696)+95)/* var_c34032 */ ))+9) ); (void) ( *( (fPt) ((* (ptr) pd100 ))))((word) &var_c0161, cache_v9180, (word) (( (bPt) &var_c35664)+20)/* var_c34000 */ , (* ( ( (ptr) gf_c35696)+33) ), pd100); }; var_c0281 = var_c0161.f0; scd_v9376 = XR_Narrow(var_c0281, (* (( (ptr) gf_c35696)+28) )); }; SOURCE(11117, 383) if ((scd_v9376 == 0)) { SOURCE(11135, 367) { word pixelMap_v9420; SOURCE(11137, 70) pixelMap_v9420 = (word) ComputeSource_P900((* (( (ptr) &var_c35664)+4)/* deviceColorData_v6316 */ ), color_v6344); SOURCE(11209, 157) { word var_c34096; var_c34096 = XR_NewObject(20, (* (( (ptr) gf_c35696)+28) )); (* (ptr) var_c34096 ) = (* (( (ptr) &var_c35664)+7)/* pa_v9152 */ ); (* (( (ptr) var_c34096)+1) ) = (* (( (ptr) &var_c35664)+8)/* colorOperator_v9208 */ ); (* (( (ptr) var_c34096)+2) ) = (* (( (ptr) &var_c35664)+9)/* fullColor_v9264 */ ); (* (( (ptr) var_c34096)+3) ) = (* (( (ptr) (* (( (ptr) &var_c35664)+4)/* deviceColorData_v6316 */ ))+2) ); (* (( (ptr) var_c34096)+4) ) = pixelMap_v9420; scd_v9376 = var_c34096; }; SOURCE(11368, 132) if ((0 != (* (ptr) (* (( (ptr) &var_c35664)+7)/* pa_v9152 */ ) ))) { SOURCE(11389, 111) { word var_c34128; var_c34128 = (word) PixelMapWords_P240(pixelMap_v9420); { word pd101; pd101 = (* (( (ptr) (* (( (ptr) gf_c35696)+95)/* var_c34032 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd101 ))))(cache_v9180, scd_v9376, scd_v9376, var_c34128, (* (( (ptr) gf_c35696)+33) ), pd101) ; }; }; }; }; }; SOURCE(11505, 231) if ((index_v9348 >= (* (( (ptr) (* (( (ptr) scd_v9376)+4) ))+5) )) || ( (0 == (* (( (ptr) &var_c35664)+9)/* fullColor_v9264 */ )) ? (toner_v9320 != 0) : 0 ) ) { SOURCE(11586, 32) (void) SetInk_P480((* (( (ptr) &var_c35664)+4)/* deviceColorData_v6316 */ ), 1); } else { SOURCE(11627, 35) (* (( (ptr) (* (( (ptr) &var_c35664)+4)/* deviceColorData_v6316 */ ))+10) ) = 3; SOURCE(11664, 72) { word var_c34160; var_c34160 = (* (( (ptr) scd_v9376)+4) ); { word pd102; word limit103; pd102 = (* (( (ptr) (* (( (ptr) gf_c35696)+96)/* var_c34192 */ ))+9) ); (* (( (ptr) (* (( (ptr) &var_c35664)+4)/* deviceColorData_v6316 */ ))+15) ) = (word) ( *( (fPt) ((* (ptr) pd102 ))))((* ( (( (ptr) var_c34160)+6)+( limit103 = (* (( (ptr) var_c34160)+5) ), BCK(index_v9348, limit103) )) ), 0, 0, 0, 0, pd102); }; }; }; } static word Compare_P2352(argument_v24932, formal_c35760) word argument_v24932; word formal_c35760; { register ptr gf_c35728 = (ptr) &globalframe; word good_v24976; formal_c35760 = (formal_c35760 - 20); /* Compare: */ SOURCE(10573, 259) SOURCE(10612, 220) { word var_c34224; var_c34224 = argument_v24932; if ((var_c34224 == 0)) { goto lab_L100035; }; if (((* (( (ptr) gf_c35728)+28) ) == XR_GetReferentType(var_c34224))) { { word scd_v9464; scd_v9464 = var_c34224; SOURCE(10663, 141) { word tc104; if ( ( ( ((* (ptr) scd_v9464 ) == (* (( (ptr) formal_c35760)+7) )) ? ((* (( (ptr) scd_v9464)+1) ) == (* (( (ptr) formal_c35760)+8) )) : 0 ) ? ((* (( (ptr) scd_v9464)+2) ) == (* (( (ptr) formal_c35760)+9) )) : 0 ) ) { tc104 = (word) ((* (( (ptr) scd_v9464)+3) ) == (* (( (ptr) (* (( (ptr) formal_c35760)+4) ))+2) )); } else { tc104 = (word) 0; }; return(tc104); }; }; } else { lab_L100035: ; SOURCE(10817, 15) return(0); }; }; } static word ComputeSource_P900(deviceColorData_v6404, color_v6432) word deviceColorData_v6404; word color_v6432; { register ptr gf_c35792 = (ptr) &globalframe; word var_c6476; word pa_v9508; word colorOperator_v9536; /* ComputeSource: */ SOURCE(11745, 467) SOURCE(11885, 25) pa_v9508 = (* (( (ptr) color_v6432)+1) ); SOURCE(11912, 62) colorOperator_v9536 = (* (( (ptr) color_v6432)+3) ); SOURCE(11984, 230) { word transform_v9580; word pixelMap_v9608; SOURCE(11986, 96) transform_v9580 = (word) GetColorTransform_P960(deviceColorData_v6404, colorOperator_v9536); SOURCE(12084, 109) { word pd105; pd105 = (* (( (ptr) (* (( (ptr) gf_c35792)+94)/* var_c33904 */ ))+45) ); pixelMap_v9608 = (word) ( *( (fPt) ((* (ptr) pd105 ))))(colorOperator_v9536, transform_v9580, pa_v9508, pd105); }; SOURCE(12195, 17) return(pixelMap_v9608); }; } static word GetColorTransform_P960(deviceColorData_v6704, colorOperator_v6732) word deviceColorData_v6704; word colorOperator_v6732; { register ptr gf_c35824 = (ptr) &globalframe; word var_c6776; word private_v9652; word tu_v9680; word fullColor_v9708; /* GetColorTransform: */ SOURCE(12348, 1342) SOURCE(12502, 57) private_v9652 = XR_Narrow((* (( (ptr) deviceColorData_v6704)+19) ), (* (( (ptr) gf_c35824)+22) )); SOURCE(12561, 60) tu_v9680 = (* (( (hPt) deviceColorData_v6704)+9) ); SOURCE(12623, 71) fullColor_v9708 = ( ( ( (tu_v9680 & 040000) ? (((unsigned)tu_v9680 << 18) >> 31) : 0 ) ? (((unsigned)tu_v9680 << 19) >> 31) : 0 ) ? (((unsigned)tu_v9680 << 16) >> 31) : 0 ) ; SOURCE(12696, 954) if ((0 != fullColor_v9708)) { SOURCE(12714, 471) { word colorSpace_v9764; SOURCE(12716, 107) { word pd106; pd106 = (* (( (ptr) (* (( (ptr) gf_c35824)+94)/* var_c33904 */ ))+42) ); colorSpace_v9764 = (word) ( *( (fPt) ((* (ptr) pd106 ))))(colorOperator_v6732, (* (( (ptr) gf_c35824)+7)/* allowRGBorY_v4120 */ ), pd106) ; }; SOURCE(12825, 355) if (((* (( (ptr) private_v9652)+1) ) == 0) || (colorSpace_v9764 != (* (ptr) (* (( (ptr) private_v9652)+1) ) ))) { SOURCE(12908, 274) { word rangeMax_v9808; word ct_v9836; SOURCE(12910, 83) { word pd107; pd107 = (* (( (ptr) (* (( (ptr) gf_c35824)+94)/* var_c33904 */ ))+35) ); rangeMax_v9808 = (word) ( *( (fPt) ((* (ptr) pd107 ))))(4, (* (ptr) &fc90 ), pd107); }; SOURCE(12995, 156) ct_v9836 = XR_NewObject(16, (* (( (ptr) gf_c35824)+26) )); (* (ptr) ct_v9836 ) = colorSpace_v9764; (* (( (ptr) ct_v9836)+1) ) = rangeMax_v9808; (* (( (ptr) ct_v9836)+2) ) = (word) (( (bPt) gf_c35824)+192)/* var_c31984 */ ; SOURCE(13153, 27) (* (( (ptr) private_v9652)+1) ) = ct_v9836; }; }; }; } else { SOURCE(13192, 463) { word colorSpace_v9880; SOURCE(13194, 102) { word pd108; pd108 = (* (( (ptr) (* (( (ptr) gf_c35824)+94)/* var_c33904 */ ))+42) ); colorSpace_v9880 = (word) ( *( (fPt) ((* (ptr) pd108 ))))(colorOperator_v6732, (* (( (ptr) gf_c35824)+6)/* allowY_v4092 */ ), pd108) ; }; SOURCE(13298, 352) if (((* (( (ptr) private_v9652)+1) ) == 0) || (colorSpace_v9880 != (* (ptr) (* (( (ptr) private_v9652)+1) ) ))) { SOURCE(13381, 271) { word rangeMax_v9924; word ct_v9952; SOURCE(13383, 83) { word pd109; pd109 = (* (( (ptr) (* (( (ptr) gf_c35824)+94)/* var_c33904 */ ))+35) ); rangeMax_v9924 = (word) ( *( (fPt) ((* (ptr) pd109 ))))(1, (* (ptr) &fc90 ), pd109); }; SOURCE(13468, 153) ct_v9952 = XR_NewObject(16, (* (( (ptr) gf_c35824)+26) )); (* (ptr) ct_v9952 ) = colorSpace_v9880; (* (( (ptr) ct_v9952)+1) ) = rangeMax_v9924; (* (( (ptr) ct_v9952)+2) ) = (word) (( (bPt) gf_c35824)+184)/* var_c31952 */ ; SOURCE(13623, 27) (* (( (ptr) private_v9652)+1) ) = ct_v9952; }; }; }; }; SOURCE(13658, 32) return((* (( (ptr) private_v9652)+1) )); } static void CMYKTransform_P1020(self_v6836, in_v6864, out_v6892) word self_v6836; word in_v6864; word out_v6892; { /* CMYKTransform: */ SOURCE(13694, 332) SOURCE(13774, 252) { word var_c34320; var_c34320 = (* (ptr) self_v6836 ); if ((var_c34320 == 0)) { SOURCE(13806, 28) { word var_c34352; var_c34352 = (* (ptr) &fc110 ); { word limit111; (* ((( (ptr) out_v6892)+2)+( limit111 = (* (( (ptr) out_v6892)+1) ), BCK(2, limit111) )) ) = var_c34352; }; { word limit112; (* ((( (ptr) out_v6892)+2)+( limit112 = (* (( (ptr) out_v6892)+1) ), BCK(1, limit112) )) ) = var_c34352; }; { word limit113; (* ((( (ptr) out_v6892)+2)+( limit113 = (* (( (ptr) out_v6892)+1) ), BCK(0, limit113) )) ) = var_c34352; }; }; SOURCE(13836, 26) { word limit114; word x115; word x116; word limit117; word x118; *(float*)((( (ptr) out_v6892)+2)+( limit114 = (* (( (ptr) out_v6892)+1) ), BCK(3, limit114) )) = ( x115 = (* (ptr) &fc90 ), *(float*)&x115 ) * (( x116 = (* (ptr) &fc48 ), *(float*)&x116 ) - ( x118 = (* ((( (ptr) in_v6864)+2)+( limit117 = (* (( (ptr) in_v6864)+1) ), BCK(0, limit117) )) ), *(float*)&x118 )); }; } else { if ((var_c34320 == 1)) { SOURCE(13877, 26) { word limit119; word x120; word x121; word limit122; word x123; *(float*)((( (ptr) out_v6892)+2)+( limit119 = (* (( (ptr) out_v6892)+1) ), BCK(0, limit119) )) = ( x120 = (* (ptr) &fc90 ), *(float*)&x120 ) * (( x121 = (* (ptr) &fc48 ), *(float*)&x121 ) - ( x123 = (* ((( (ptr) in_v6864)+2)+( limit122 = (* (( (ptr) in_v6864)+1) ), BCK(0, limit122) )) ), *(float*)&x123 )); }; SOURCE(13920, 26) { word limit124; word x125; word x126; word limit127; word x128; *(float*)((( (ptr) out_v6892)+2)+( limit124 = (* (( (ptr) out_v6892)+1) ), BCK(1, limit124) )) = ( x125 = (* (ptr) &fc90 ), *(float*)&x125 ) * (( x126 = (* (ptr) &fc48 ), *(float*)&x126 ) - ( x128 = (* ((( (ptr) in_v6864)+2)+( limit127 = (* (( (ptr) in_v6864)+1) ), BCK(1, limit127) )) ), *(float*)&x128 )); }; SOURCE(13968, 26) { word limit129; word x130; word x131; word limit132; word x133; *(float*)((( (ptr) out_v6892)+2)+( limit129 = (* (( (ptr) out_v6892)+1) ), BCK(2, limit129) )) = ( x130 = (* (ptr) &fc90 ), *(float*)&x130 ) * (( x131 = (* (ptr) &fc48 ), *(float*)&x131 ) - ( x133 = (* ((( (ptr) in_v6864)+2)+( limit132 = (* (( (ptr) in_v6864)+1) ), BCK(2, limit132) )) ), *(float*)&x133 )); }; SOURCE(14014, 12) { word limit134; (* ((( (ptr) out_v6892)+2)+( limit134 = (* (( (ptr) out_v6892)+1) ), BCK(3, limit134) )) ) = (* (ptr) &fc110 ); }; } else { SOURCE(14052, 5) (void) XR_RaiseUnnamedError(); }; }; }; } static void KTransform_P1080(self_v6952, in_v6980, out_v7008) word self_v6952; word in_v6980; word out_v7008; { /* KTransform: */ SOURCE(14063, 135) SOURCE(14140, 58) { word var_c34384; var_c34384 = (* (ptr) self_v6952 ); if ((var_c34384 == 0)) { SOURCE(14172, 26) { word limit135; word x136; word x137; word limit138; word x139; *(float*)((( (ptr) out_v7008)+2)+( limit135 = (* (( (ptr) out_v7008)+1) ), BCK(0, limit135) )) = ( x136 = (* (ptr) &fc90 ), *(float*)&x136 ) * (( x137 = (* (ptr) &fc48 ), *(float*)&x137 ) - ( x139 = (* ((( (ptr) in_v6980)+2)+( limit138 = (* (( (ptr) in_v6980)+1) ), BCK(0, limit138) )) ), *(float*)&x139 )); }; } else { SOURCE(14244, 5) (void) XR_RaiseUnnamedError(); }; }; } static void SetSampledBlack_P1140(deviceColorData_v7068, color_v7096) word deviceColorData_v7068; word color_v7096; { register ptr gf_c35856 = (ptr) &globalframe; word pa_v9996; /* SetSampledBlack: */ SOURCE(14255, 1347) SOURCE(14366, 25) pa_v9996 = (* (( (ptr) color_v7096)+1) ); SOURCE(14393, 180) if ( ( (*(( short *)deviceColorData_v7068 + 9)<0) ? ((* (( (ptr) deviceColorData_v7068)+5) ) != 0) : 0 ) ) { SOURCE(14474, 31) (* (( (ptr) deviceColorData_v7068)+10) ) = 1; SOURCE(14507, 57) if ((0 != (* (( (ptr) color_v7096)+3) ))) { (* (( (ptr) deviceColorData_v7068)+11) ) = 0; } else { (* (( (ptr) deviceColorData_v7068)+11) ) = 1; }; SOURCE(14566, 7) return; }; SOURCE(14576, 75) if ((0 != (* (( (ptr) color_v7096)+3) ))) { ((P3x5b) (( (bPt) deviceColorData_v7068) + 75))->f = 4; } else { ((P3x5b) (( (bPt) deviceColorData_v7068) + 75))->f = 0; }; if ( ( ((* (( (ptr) (* (( (ptr) deviceColorData_v7068)+17) ))+9) ) == 3) ? (0 != (* (( (ptr) (* (( (ptr) deviceColorData_v7068)+17) ))+8) )) : 0 ) ) { SOURCE(14759, 437) { W2 min_v10040; W2 max_v10068; word sampleMap_v10096; SOURCE(14761, 88) min_v10040.f0 = (* (( (ptr) (* (( (ptr) deviceColorData_v7068)+17) ))+6) ); min_v10040.f1 = (* (( (ptr) (* (( (ptr) deviceColorData_v7068)+17) ))+7) ); SOURCE(14851, 56) max_v10068.f0 = (min_v10040.f0 + (* (( (ptr) pa_v9996)+2) )); max_v10068.f1 = (min_v10040.f1 + (* (( (ptr) pa_v9996)+3) )); SOURCE(14909, 79) { W4 var_c34480; (* (W2Pt) &var_c34480 ) = min_v10040; (* (W2Pt) (( (ptr) &var_c34480)+2) ) = max_v10068; { word pd140; pd140 = (* (( (ptr) (* (( (ptr) gf_c35856)+90)/* var_c33040 */ ))+22) ); sampleMap_v10096 = (word) ( *( (fPt) ((* (ptr) pd140 ))))(var_c34480, 1, 0, pd140); }; }; SOURCE(14990, 62) { W2 var_c34512; var_c34512.f0 = 2147483647; var_c34512.f1 = 2147483647; { word pd141; pd141 = (* (( (ptr) (* (( (ptr) gf_c35856)+97)/* var_c34544 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd141 ))))(pa_v9996, 0, 0, 0, sampleMap_v10096, min_v10040 , var_c34512, 0, pd141); }; }; SOURCE(15054, 27) (* (( (ptr) deviceColorData_v7068)+10) ) = 2; SOURCE(15083, 29) (* (( (ptr) deviceColorData_v7068)+13) ) = 0; SOURCE(15114, 36) (* (( (ptr) deviceColorData_v7068)+12) ) = sampleMap_v10096; SOURCE(15152, 42) (* (( (ptr) deviceColorData_v7068)+9) ) = sampleMap_v10096; }; } else { if ( ( (0 != (* (( (ptr) gf_c35856)+8)/* newStuff_v4288 */ )) ? (0 != (word) TryTransformingBitmapIntoTile_P1320(deviceColorData_v7068, pa_v9996) ) : 0 ) ) { } else { SOURCE(15282, 322) { word sampleMap_v10140; SOURCE(15284, 86) { W4 var_c34576; var_c34576.f0 = 0; var_c34576.f1 = 0; var_c34576.f2 = (* (( (ptr) pa_v9996)+2) ); var_c34576.f3 = (* (( (ptr) pa_v9996)+3) ); { word pd142; pd142 = (* (( (ptr) (* (( (ptr) gf_c35856)+90)/* var_c33040 */ ))+22) ); sampleMap_v10140 = (word) ( *( (fPt) ((* (ptr) pd142 ))))(var_c34576, 1, 0, pd142); }; }; SOURCE(15372, 49) { W2 var_c34608; W2 var_c34640; var_c34608.f0 = 0; var_c34608.f1 = 0; var_c34640.f0 = 2147483647; var_c34640.f1 = 2147483647; { word pd143; pd143 = (* (( (ptr) (* (( (ptr) gf_c35856)+97)/* var_c34544 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd143 ))))(pa_v9996, 0, 0, 0, sampleMap_v10140, var_c34608 , var_c34640, 0, pd143); }; }; SOURCE(15423, 35) (* (( (ptr) deviceColorData_v7068)+10) ) = 4; SOURCE(15460, 37) { word var_c34672; var_c34672 = (* (( (ptr) deviceColorData_v7068)+16) ); { word limit144; (* ((( (ptr) var_c34672)+6)+( limit144 = (* (( (ptr) var_c34672)+5) ), BCK(0, limit144) )) ) = sampleMap_v10140; }; }; SOURCE(15499, 59) (* (W4Pt) (( (ptr) (* (( (ptr) deviceColorData_v7068)+16) ))+1) ) = (* (W4Pt) sampleMap_v10140 ); SOURCE(15560, 42) (* (( (ptr) deviceColorData_v7068)+9) ) = sampleMap_v10140; }; }; }; } static word ImagerPrintColorNewStuff_P1200(new_v7156) word new_v7156; { register ptr gf_c35888 = (ptr) &globalframe; word old_v7200; /* ImagerPrintColorNewStuff: */ SOURCE(15611, 99) SOURCE(15678, 14) old_v7200 = (* (( (ptr) gf_c35888)+8)/* newStuff_v4288 */ ); SOURCE(15694, 16) (* (( (ptr) gf_c35888)+8)/* newStuff_v4288 */ ) = (new_v7156 != 0); SOURCE(15611, 99) return(old_v7200); } static word ImagerPrintColorTileTolerance_P1260(int_v7260) word int_v7260; { register ptr gf_c35920 = (ptr) &globalframe; word old_v7304; /* ImagerPrintColorTileTolerance: */ SOURCE(15753, 112) SOURCE(15823, 21) { word pd145; float tf146; pd145 = (* (( (ptr) (* (( (ptr) gf_c35920)+93)/* var_c33520 */ ))+6) ); old_v7304 = (word) ( *( (fPt) ((* (ptr) pd145 ))))(( tf146 = (float)(int)int_v7260, *(word*)&tf146 ), pd145); }; SOURCE(15846, 19) { float tf147; (* (( (ptr) gf_c35920)+9)/* tileTolerance_v4344 */ ) = ( tf147 = (float)(int)int_v7260, *(word*)&tf147 ); }; SOURCE(15753, 112) return(old_v7304); } static word TryTransformingBitmapIntoTile_P1320(deviceColorData_v7364, formal_c0289) word deviceColorData_v7364; word formal_c0289; { W13 var_c35952; /* declaration of pa_v7392 skipped */ register ptr gf_c35984 = (ptr) &globalframe; word var_c7436; /* declaration of var_c34704 skipped */ /* declaration of m_v10184 skipped */ (* (( (ptr) &var_c35952)+4)/* pa_v7392 */ ) = formal_c0289; /* TryTransformingBitmapIntoTile: */ SOURCE(16114, 1842) { word tmpAddr148; tmpAddr148 = (word) (( (ptr) &var_c35952)+5)/* var_c34704 */ ; (* (ptr) tmpAddr148 ) = ( ((word) (fPt) action_P2988) ); (* (( (ptr) tmpAddr148) + 1) ) = 1; }; SOURCE(16237, 49) (* (( (ptr) &var_c35952)+7)/* m_v10184 */ ) = (* (( (ptr) deviceColorData_v7364)+17) ); SOURCE(16288, 1643) if (((* (( (ptr) (* (( (ptr) &var_c35952)+7)/* m_v10184 */ ))+9) ) != 0)) { SOURCE(16305, 1634) { W4 sRect_v10228; /* declaration of dRect_v10256 skipped */ SOURCE(16307, 45) sRect_v10228.f0 = (* (ptr) &fc110 ); sRect_v10228.f1 = (* (ptr) &fc110 ); { float tf149; sRect_v10228.f2 = ( tf149 = (float)(int)(* (( (ptr) (* (( (ptr) &var_c35952)+4)/* pa_v7392 */ ))+2) ), *(word*)&tf149 ); }; { float tf150; sRect_v10228.f3 = ( tf150 = (float)(int)(* (( (ptr) (* (( (ptr) &var_c35952)+4)/* pa_v7392 */ ))+3) ), *(word*)&tf150 ); }; SOURCE(16354, 68) { word pd151; pd151 = (* (( (ptr) (* (( (ptr) gf_c35984)+91)/* var_c33104 */ ))+46) ); (void) ( *( (fPt) ((* (ptr) pd151 ))))((word) (( (bPt) &var_c35952)+32)/* dRect_v10256 */ , (* (( (ptr) &var_c35952)+7)/* m_v10184 */ ), sRect_v10228, pd151) ; }; SOURCE(16424, 1507) { word tc152; float tf153; word x154; float tf155; float tf156; float tf157; word x158; float tf159; float tf160; float tf161; float tf162; word x163; float tf164; float tf165; float tf166; float tf167; word x168; word x170; float tf171; word x172; word x173; word x175; tf159 = FMAX(FABS(( x154 = (* (( (ptr) &var_c35952)+8) ), *(float*)&x154 ), tf153), FABS(( x158 = (* (( (ptr) &var_c35952)+9) ), *(float*)&x158 ), tf157), tf155, tf156); tf164 = FMAX(tf159, FABS(( x163 = (* (( (ptr) &var_c35952)+10) ), *(float*)&x163 ), tf162), tf160, tf161); if ((FMAX(tf164, FABS(( x168 = (* (( (ptr) &var_c35952)+11) ), *(float*)&x168 ), tf167), tf165, tf166) <= ( x170 = (* (ptr) &fc169 ), *(float*)&x170 ))) { tc152 = (word) (FABS((( x172 = (* (( (ptr) &var_c35952)+10) ), *(float*)&x172 ) * ( x173 = (* (( (ptr) &var_c35952)+11) ), *(float*)&x173 )), tf171) <= ( x175 = (* (ptr) &fc174 ), *(float*)&x175 )); } else { tc152 = (word) 0; }; if (tc152) { SOURCE(16539, 1397) { word sSize_v10300; word fSize_v10328; SOURCE(16541, 32) { word pd176; word idx177; pd176 = (* (( (ptr) (* (( (ptr) gf_c35984)+93)/* var_c33520 */ ))+6) ); sSize_v10300 = ( idx177 = (word) ( *( (fPt) ((* (ptr) pd176 ))))((* ((( (ptr) &var_c35952)+10)) ), pd176), SGNCK(idx177) ); }; SOURCE(16575, 32) { word pd178; word idx179; pd178 = (* (( (ptr) (* (( (ptr) gf_c35984)+93)/* var_c33520 */ ))+6) ); fSize_v10328 = ( idx179 = (word) ( *( (fPt) ((* (ptr) pd178 ))))((* ((( (ptr) &var_c35952)+11)) ), pd178), SGNCK(idx179) ); }; SOURCE(16609, 1322) { word x180; word x181; word x182; word x183; word x184; word x185; if ( ( ((( x180 = (* (( (ptr) &var_c35952)+10) ), *(float*)&x180 ) - (float)(unsigned)sSize_v10300) + ( x181 = (* (( (ptr) gf_c35984)+9)/* tileTolerance_v4344 */ ), *(float*)&x181 ) == ( x182 = (* (( (ptr) gf_c35984)+9)/* tileTolerance_v4344 */ ), *(float*)&x182 )) ? ((( x183 = (* (( (ptr) &var_c35952)+11) ), *(float*)&x183 ) - (float)(unsigned)fSize_v10328) + ( x184 = (* (( (ptr) gf_c35984)+9)/* tileTolerance_v4344 */ ), *(float*)&x184 ) == ( x185 = (* (( (ptr) gf_c35984)+9)/* tileTolerance_v4344 */ ), *(float*)&x185 )) : 0 ) ) { SOURCE(16713, 1220) { word private_v10372; /* declaration of context_v10400 skipped */ word sampleMap_v10456; word tileMap_v10484; SOURCE(16715, 57) private_v10372 = XR_Narrow((* (( (ptr) deviceColorData_v7364)+19) ), (* (( (ptr) gf_c35984)+22) )); SOURCE(16774, 295) if (((* (ptr) private_v10372 ) == 0)) { /*1*/ { /*1*/ word var_c34864; /*1*/ { /*1*/ W2 var_c34768; /*1*/ W2 var_c34800; /*1*/ var_c34768.f0 = 2147483647; /*1*/ var_c34768.f1 = 2147483647; /*1*/ var_c34800.f0 = (* (ptr) &fc48 ); /*1*/ var_c34800.f1 = (* (ptr) &fc48 ); /*1*/ { /*1*/ word pd186; /*1*/ pd186 = (* (( (ptr) (* (( (ptr) gf_c35984)+98)/* var_c34832 */ ))+5) ); /*1*/ var_c34864 = (word) ( *( (fPt) ((* (ptr) pd186 ))))(var_c34768, 6, var_c34800, 1, 1, (* (( (ptr) gf_c35984)+35) ), pd186) /*1*/ ; /*1*/ }; /*1*/ }; /*1*/ (* (ptr) private_v10372 ) = var_c34864; /*1*/ (* (( (ptr) &var_c35952)+12)/* context_v10400 */ ) = var_c34864; /*1*/ }; /*1*/ } else { /*1*/ (* (( (ptr) &var_c35952)+12)/* context_v10400 */ ) = (* (ptr) private_v10372 ); /*1*/ }; SOURCE(17343, 80) { /*1*/ W4 var_c34896; /*1*/ var_c34896.f0 = 0; /*1*/ var_c34896.f1 = 0; /*1*/ var_c34896.f2 = sSize_v10300; /*1*/ var_c34896.f3 = fSize_v10328; /*1*/ { /*1*/ word pd187; /*1*/ pd187 = (* (( (ptr) (* (( (ptr) gf_c35984)+90)/* var_c33040 */ ))+22) ); /*1*/ sampleMap_v10456 = (word) ( *( (fPt) ((* (ptr) pd187 ))))(var_c34896, 1, 0, pd187); /*1*/ }; /*1*/ }; SOURCE(17425, 108) { /*1*/ word var_c34928; /*1*/ word var_c34960; /*1*/ { /*1*/ word pd188; /*1*/ word x189; /*1*/ word x191; /*1*/ float tf192; /*1*/ pd188 = (* (( (ptr) (* (( (ptr) gf_c35984)+93)/* var_c33520 */ ))+8) ); /*1*/ var_c34928 = (word) ( *( (fPt) ((* (ptr) pd188 ))))(( /*1*/ tf192 = ( /*1*/ x189 = (* (( (ptr) &var_c35952)+8) ), *(float*)&x189 /*1*/ ) + ( /*1*/ x191 = (* (ptr) &fc190 ), *(float*)&x191 /*1*/ ), *(word*)&tf192 /*1*/ ), pd188); /*1*/ }; /*1*/ { /*1*/ word pd193; /*1*/ word x194; /*1*/ word x195; /*1*/ float tf196; /*1*/ pd193 = (* (( (ptr) (* (( (ptr) gf_c35984)+93)/* var_c33520 */ ))+8) ); /*1*/ var_c34960 = (word) ( *( (fPt) ((* (ptr) pd193 ))))(( /*1*/ tf196 = ( /*1*/ x194 = (* (( (ptr) &var_c35952)+9) ), *(float*)&x194 /*1*/ ) + ( /*1*/ x195 = (* (ptr) &fc190 ), *(float*)&x195 /*1*/ ), *(word*)&tf196 /*1*/ ), pd193); /*1*/ }; /*1*/ { /*1*/ W2 var_c34992; /*1*/ var_c34992.f0 = var_c34928; /*1*/ var_c34992.f1 = var_c34960; /*1*/ { /*1*/ word pd197; /*1*/ pd197 = (* (( (ptr) (* (( (ptr) gf_c35984)+90)/* var_c33040 */ ))+28) ); /*1*/ tileMap_v10484 = (word) ( *( (fPt) ((* (ptr) pd197 ))))(sampleMap_v10456, var_c34992, pd197); /*1*/ }; /*1*/ }; /*1*/ }; SOURCE(17535, 29) { /*1*/ word pd198; /*1*/ pd198 = (* (( (ptr) (* (( (ptr) gf_c35984)+90)/* var_c33040 */ ))+48) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd198 ))))(sampleMap_v10456, pd198); /*1*/ }; SOURCE(17566, 49) { /*1*/ word pd199; /*1*/ pd199 = (* (( (ptr) (* (( (ptr) gf_c35984)+98)/* var_c34832 */ ))+6) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd199 ))))((* (( (ptr) &var_c35952)+12)/* context_v10400 */ ), sampleMap_v10456, pd199); /*1*/ }; SOURCE(17617, 30) { /*1*/ word pd200; /*1*/ pd200 = (* (( (ptr) (* (( (ptr) gf_c35984)+92)/* var_c33264 */ ))+12) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd200 ))))((* (( (ptr) &var_c35952)+12)/* context_v10400 */ ), (word) (( (bPt) &var_c35952)+20) /*1*/ /* var_c34704 */ , pd200); /*1*/ }; SOURCE(17649, 43) { /*1*/ word pd201; /*1*/ pd201 = (* (( (ptr) (* (( (ptr) gf_c35984)+98)/* var_c34832 */ ))+6) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd201 ))))((* (( (ptr) &var_c35952)+12)/* context_v10400 */ ), 0, pd201); /*1*/ }; SOURCE(17702, 59) SOURCE(17703, 41) { /*1*/ word pd202; /*1*/ pd202 = (* (( (ptr) (* (( (ptr) gf_c35984)+90)/* var_c33040 */ ))+30) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd202 ))))(sampleMap_v10456, pd202); /*1*/ }; SOURCE(17746, 15) sampleMap_v10456 = 0; SOURCE(17764, 110) (void) SetTile_P600(deviceColorData_v7364, tileMap_v10484, 0, ((* (( (bPt) deviceColorData_v7364)+75) ) & 7)); SOURCE(17876, 40) (* (( (ptr) deviceColorData_v7364)+9) ) = tileMap_v10484; SOURCE(17918, 13) return(1); }; }; }; }; }; }; }; }; SOURCE(17942, 14) return(0); } static void action_P2988(formal_c36048) word formal_c36048; { register ptr gf_c36016 = (ptr) &globalframe; word pamInverse_v10556; formal_c36048 = (formal_c36048 - 20); /* action: */ SOURCE(17071, 15) SOURCE(17088, 62) { word pd203; pd203 = (* (( (ptr) (* (( (ptr) gf_c36016)+91)/* var_c33104 */ ))+51) ); pamInverse_v10556 = (word) ( *( (fPt) ((* (ptr) pd203 ))))((* ((( (ptr) (* (( (ptr) formal_c36048)+4) ))+4)) ), pd203); }; SOURCE(17152, 48) { W2 var_c35024; { word x204; *(float*)&var_c35024.f0 = - ( x204 = (* (( (ptr) formal_c36048)+8) ), *(float*)&x204 ); }; { word x205; *(float*)&var_c35024.f1 = - ( x205 = (* (( (ptr) formal_c36048)+9) ), *(float*)&x205 ); }; { word pd206; pd206 = (* (( (ptr) (* (( (ptr) gf_c36016)+92)/* var_c33264 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd206 ))))((* (( (ptr) formal_c36048)+12) ), var_c35024, pd206); }; }; SOURCE(17202, 26) { word pd207; pd207 = (* (( (ptr) (* (( (ptr) gf_c36016)+92)/* var_c33264 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd207 ))))((* (( (ptr) formal_c36048)+12) ), (* (( (ptr) formal_c36048)+7) ), pd207); }; SOURCE(17230, 35) { word pd208; pd208 = (* (( (ptr) (* (( (ptr) gf_c36016)+92)/* var_c33264 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd208 ))))((* (( (ptr) formal_c36048)+12) ), pamInverse_v10556, pd208); }; SOURCE(17267, 29) { word pd209; pd209 = (* (( (ptr) (* (( (ptr) gf_c36016)+92)/* var_c33264 */ ))+77) ); (void) ( *( (fPt) ((* (ptr) pd209 ))))((* (( (ptr) formal_c36048)+12) ), (* (( (ptr) formal_c36048)+4) ), pd209); }; SOURCE(17298, 40) { word pd210; pd210 = (* (( (ptr) (* (( (ptr) gf_c36016)+91)/* var_c33104 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd210 ))))(pamInverse_v10556, pd210); }; } static void MaskBoxes_P1380(formal_c0290, formal_c0291, bounds_v7552, boxes_v7580) word formal_c0290; word formal_c0291; W4 bounds_v7552; word boxes_v7580; { W11 var_c36080; /* declaration of bitmap_v7496 skipped */ /* declaration of deviceColorData_v7524 skipped */ register ptr gf_c36112 = (ptr) &globalframe; /* declaration of var_c35056 skipped */ /* declaration of var_c35088 skipped */ (* (( (ptr) &var_c36080)+4)/* bitmap_v7496 */ ) = formal_c0290; (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ) = formal_c0291; /* MaskBoxes: */ SOURCE(17962, 1665) { word tmpAddr211; tmpAddr211 = (word) (( (ptr) &var_c36080)+6)/* var_c35056 */ ; (* (ptr) tmpAddr211 ) = ( ((word) (fPt) Action_P3204) ); (* (( (ptr) tmpAddr211) + 1) ) = 1; }; { word tmpAddr212; tmpAddr212 = (word) (( (ptr) &var_c36080)+8)/* var_c35088 */ ; (* (ptr) tmpAddr212 ) = ( ((word) (fPt) Action_P3096) ); (* (( (ptr) tmpAddr212) + 1) ) = 1; }; SOURCE(18100, 1527) { word var_c35120; var_c35120 = (* (( (ptr) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+10) ); switch (var_c35120) { case 1: SOURCE(18147, 134) if (((* (( (ptr) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+11) ) != 0)) { SOURCE(18181, 100) { word pd213; pd213 = (* (( (ptr) (* (( (ptr) gf_c36112)+90)/* var_c33040 */ ))+58) ); (void) ( *( (fPt) ((* (ptr) pd213 ))))((* (( (ptr) &var_c36080)+4)/* bitmap_v7496 */ ), boxes_v7580, ( ((* (( (ptr) (* ( ( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+11) ) == 2) ? 1 : 0 ) , 0, pd213); }; }; break; case 2: SOURCE(18296, 151) { word pd214; pd214 = (* (( (ptr) (* (( (ptr) gf_c36112)+90)/* var_c33040 */ ))+56) ); (void) ( *( (fPt) ((* (ptr) pd214 ))))((* (( (ptr) &var_c36080)+4)/* bitmap_v7496 */ ), boxes_v7580, (* (( (ptr) (* (( (ptr) &var_c36080)+5) /* deviceColorData_v7524 */ ))+12) ), (* (( (ptr) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+13) ), ((* ( ( (bPt) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+75) ) & 7), pd214); }; break; case 3: SOURCE(18476, 772) { /* declaration of buffer_v10600 skipped */ SOURCE(18478, 87) { word var_c35152; { word pd215; word idx216; pd215 = (* (( (ptr) (* (( (ptr) gf_c36112)+89)/* var_c32752 */ ))+17) ); var_c35152 = ( idx216 = (word) ( *( (fPt) ((* (ptr) pd215 ))))(bounds_v7552, pd215), SGNCK(idx216) ); }; { word pd217; pd217 = (* (( (ptr) (* (( (ptr) gf_c36112)+90)/* var_c33040 */ ))+6) ); (* (( (ptr) &var_c36080)+10)/* buffer_v10600 */ ) = (word) ( *( (fPt) ((* (ptr) pd217 ))))(var_c35152, pd217); }; }; SOURCE(19026, 176) { word pd218; pd218 = (* (( (ptr) (* (( (ptr) gf_c36112)+96)/* var_c34192 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd218 ))))((* (( (ptr) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+15) ), (* ( ( (ptr) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+17) ), (* (( (ptr) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+3) ), boxes_v7580, bounds_v7552, (word) (( (bPt) &var_c36080)+32)/* var_c35088 */ , pd218); }; SOURCE(19204, 42) { word pd219; pd219 = (* (( (ptr) (* (( (ptr) gf_c36112)+90)/* var_c33040 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd219 ))))((* ((( (ptr) &var_c36080)+10)/* buffer_v10600 */ ) ), pd219); }; }; break; case 4: SOURCE(19267, 362) SOURCE(19477, 150) { word pd220; pd220 = (* (( (ptr) (* (( (ptr) gf_c36112)+96)/* var_c34192 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd220 ))))((* (( (ptr) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+16) ), (* ( ( (ptr) (* (( (ptr) &var_c36080)+5)/* deviceColorData_v7524 */ ))+17) ), 0, boxes_v7580, bounds_v7552, (word) (( (bPt) &var_c36080)+24) /* var_c35056 */ , pd220); }; break; default: SOURCE(19643, 5) (void) XR_RaiseUnnamedError(); break; }; }; } static void Action_P3096(pixels_v10704, min_v10732, formal_c36176) word pixels_v10704; W2 min_v10732; word formal_c36176; { register ptr gf_c36144 = (ptr) &globalframe; formal_c36176 = (formal_c36176 - 32); /* Action: */ SOURCE(18567, 19) SOURCE(18644, 29) (* (ptr) (* (( (ptr) formal_c36176)+10) ) ) = (* (ptr) pixels_v10704 ); SOURCE(18675, 134) { word pd221; pd221 = (* (( (ptr) (* (( (ptr) gf_c36144)+90)/* var_c33040 */ ))+45) ); (void) ( *( (fPt) ((* (ptr) pd221 ))))((* (( (ptr) (* (( (ptr) formal_c36176)+5) ))+7) ), (* (( (ptr) (* (( (ptr) formal_c36176)+5) ))+8) ), min_v10732, (* (( (ptr) formal_c36176)+10) ), pd221); }; SOURCE(18811, 210) { word pd222; word limit223; word tc224; pd222 = (* (( (ptr) (* (( (ptr) gf_c36144)+90)/* var_c33040 */ ))+46) ); if ((((* (( (bPt) (* (( (ptr) formal_c36176)+5) ))+75) ) & 1) == 0)) { tc224 = (word) 1; } else { tc224 = (word) 0; }; (void) ( *( (fPt) ((* (ptr) pd222 ))))((* (( (ptr) formal_c36176)+4) ), min_v10732, (* ((( (ptr) pixels_v10704)+2)+( limit223 = (* (( (ptr) pixels_v10704)+1) ), BCK(0, limit223) )) ), (* (( (ptr) formal_c36176)+10) ), (((word) (((unsigned)(* (( (bPt) (* (( (ptr) formal_c36176)+5) ))+75) ) << 29) >> 30) << 1) + (tc224 & 1)), pd222); }; } static void Action_P3204(pixels_v10836, min_v10864, formal_c36240) word pixels_v10836; W2 min_v10864; word formal_c36240; { register ptr gf_c36208 = (ptr) &globalframe; formal_c36240 = (formal_c36240 - 24); /* Action: */ SOURCE(19269, 14) SOURCE(19333, 139) { W2 var_c35216; var_c35216.f0 = 0; var_c35216.f1 = 1; { word pd225; word limit226; pd225 = (* (( (ptr) (* (( (ptr) gf_c36208)+90)/* var_c33040 */ ))+47) ); (void) ( *( (fPt) ((* (ptr) pd225 ))))((* (( (ptr) formal_c36240)+4) ), min_v10864, var_c35216, (* ((( (ptr) pixels_v10836)+2) +( limit226 = (* (( (ptr) pixels_v10836)+1) ), BCK(0, limit226) )) ), 0, (* (ptr) pixels_v10836 ) , ((* (( (bPt) (* (( (ptr) formal_c36240)+5) ))+75) ) & 7), pd225); }; }; } /* file: ImagerPrintColorImpl, module: ImagerPrintColorImpl, compiled at: November 11, 1992 6:03:48 pm PST */ extern void XR_install_ImagerPrintColorImpl() { NoName_Q3540(); } extern void XR_run_ImagerPrintColorImpl() { XR_Start(&globalframe); }