#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ updateScrollWindow(int, char **);
void updateHelp(void) {
  static char *helpPtr[] = {
      "(Use PGUP, PGDN, HOME, END, arrows to scroll help text)          ",
      "                                                                ",
      "A demo program for GLUT.                                        ",
      "G Edwards, Aug 95                                               ",
      "Exercises 99% of GLUT calls                                     ",
      "Version "
      "1.00"
      "/"
      "16Sep95"
      ", compiled "
      "Mar 15 2022"
      ", "
      "19:37:46"
      ", file "
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/aapodoll/ARToolKit/refs/heads/master/LablGlut/"
      "examples/glut3.7/test/not_yet_ported/bigtest.c",
      "                                                                ",
      "This text uses GLUT_STROKE_MONO_ROMAN font, a built-in vector font.",
      "(Try resizing the help window).                                 ",
      "                                                                ",
      "Keys:                                                           ",
      " esc   quit                                                     ",
      " t     toggle text on/off in each window                        ",
      " h     toggle help                                              ",
      " q     quit current window                                      ",
      " a     auto demo                                                ",
      " p     pause/unpause demo                                       ",
      " l     increase line width (gfx & stroke text)                  ",
      " L     decrease line width (gfx & stroke text)                  ",
      " r     reset transforms                                         ",
      " k     show keyboard events                                     ",
      " D     show all events                                          ",
      "                                                                ",
      "Mouse:                                                          ",
      " Left button:    rotate                                         ",
      " Middle button:  pan                                            ",
      " Left + middle:  zoom                                           ",
      NULL};
  updateScrollWindow(5, helpPtr);
}


x86 assembly (clang, -O0):
<updateHelp>:
push   %rbp
mov    %rsp,%rbp
mov    $0x5,%edi
lea    0x2f10(%rip),%rsi
call   1030 <updateScrollWindow@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<updateHelp>:
lea    0x2f19(%rip),%rsi
mov    $0x5,%edi
jmp    1030 <updateScrollWindow@plt>

LLVM IR (-O0):
@updateHelp.helpPtr = internal global [28 x i8*] [i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([242 x i8], [242 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.23, i32 0, i32 0), i8* null]
@.str = [66 x i8] c"(Use PGUP, PGDN, HOME, END, arrows to scroll help text) \00"
@.str.1 = [65 x i8] c" \00"
@.str.2 = [65 x i8] c"A demo program for GLUT. \00"
@.str.3 = [65 x i8] c"G Edwards, Aug 95 \00"
@.str.4 = [65 x i8] c"Exercises 99% of GLUT calls \00"
@.str.5 = [242 x i8] c"Version 1.00/16Sep95, compiled Mar 15 2022, 19:37:46, file /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/aapodoll/ARToolKit/refs/heads/master/LablGlut/examples/glut3.7/test/not_yet_ported/bigtest.c\00"
@.str.6 = [68 x i8] c"This text uses GLUT_STROKE_MONO_ROMAN font, a built-in vector font.\00"
@.str.7 = [65 x i8] c"(Try resizing the help window). \00"
@.str.8 = [65 x i8] c"Keys: \00"
@.str.9 = [65 x i8] c" esc quit \00"
@.str.10 = [65 x i8] c" t toggle text on/off in each window \00"
@.str.11 = [65 x i8] c" h toggle help \00"
@.str.12 = [65 x i8] c" q quit current window \00"
@.str.13 = [65 x i8] c" a auto demo \00"
@.str.14 = [65 x i8] c" p pause/unpause demo \00"
@.str.15 = [65 x i8] c" l increase line width (gfx & stroke text) \00"
@.str.16 = [65 x i8] c" L decrease line width (gfx & stroke text) \00"
@.str.17 = [65 x i8] c" r reset transforms \00"
@.str.18 = [65 x i8] c" k show keyboard events \00"
@.str.19 = [65 x i8] c" D show all events \00"
@.str.20 = [65 x i8] c"Mouse: \00"
@.str.21 = [65 x i8] c" Left button: rotate \00"
@.str.22 = [65 x i8] c" Middle button: pan \00"
@.str.23 = [65 x i8] c" Left + middle: zoom \00"
define void @updateHelp() {
%1 = call i32 @updateScrollWindow(i32 5, i8** getelementptr inbounds ([28 x i8*], [28 x i8*]* @updateHelp.helpPtr, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@updateHelp.helpPtr = internal global [28 x i8*] [i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([242 x i8], [242 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.23, i32 0, i32 0), i8* null]
@.str = [66 x i8] c"(Use PGUP, PGDN, HOME, END, arrows to scroll help text) \00"
@.str.1 = [65 x i8] c" \00"
@.str.2 = [65 x i8] c"A demo program for GLUT. \00"
@.str.3 = [65 x i8] c"G Edwards, Aug 95 \00"
@.str.4 = [65 x i8] c"Exercises 99% of GLUT calls \00"
@.str.5 = [242 x i8] c"Version 1.00/16Sep95, compiled Mar 15 2022, 19:37:46, file /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/aapodoll/ARToolKit/refs/heads/master/LablGlut/examples/glut3.7/test/not_yet_ported/bigtest.c\00"
@.str.6 = [68 x i8] c"This text uses GLUT_STROKE_MONO_ROMAN font, a built-in vector font.\00"
@.str.7 = [65 x i8] c"(Try resizing the help window). \00"
@.str.8 = [65 x i8] c"Keys: \00"
@.str.9 = [65 x i8] c" esc quit \00"
@.str.10 = [65 x i8] c" t toggle text on/off in each window \00"
@.str.11 = [65 x i8] c" h toggle help \00"
@.str.12 = [65 x i8] c" q quit current window \00"
@.str.13 = [65 x i8] c" a auto demo \00"
@.str.14 = [65 x i8] c" p pause/unpause demo \00"
@.str.15 = [65 x i8] c" l increase line width (gfx & stroke text) \00"
@.str.16 = [65 x i8] c" L decrease line width (gfx & stroke text) \00"
@.str.17 = [65 x i8] c" r reset transforms \00"
@.str.18 = [65 x i8] c" k show keyboard events \00"
@.str.19 = [65 x i8] c" D show all events \00"
@.str.20 = [65 x i8] c"Mouse: \00"
@.str.21 = [65 x i8] c" Left button: rotate \00"
@.str.22 = [65 x i8] c" Middle button: pan \00"
@.str.23 = [65 x i8] c" Left + middle: zoom \00"
define void @updateHelp() {
%1 = tail call i32 @updateScrollWindow(i32 5, i8** getelementptr inbounds ([28 x i8*], [28 x i8*]* @updateHelp.helpPtr, i64 0, i64 0))
ret void
}