LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxGet.c
// Function: Hax_GetLongLong
int
Hax_GetLongLong(
    Hax_Interp *interp,		/* Interpreter to use for error reporting. */
    char *string,		/* String containing a (possibly signed)
				 * integer in a form acceptable to strtol. */
    long long int *llongPtr	/* Place to store converted result. */)
{
    char *end;
    long long int i;

    i = Strtoll(NULL, string, &end, 0);
    while ((*end != '\0') && isspace(*end)) {
	end++;
    }
    if ((end == string) || (*end != 0)) {
	Hax_AppendResult(interp, "expected integer but got \"", string,
		"\"", (char *) NULL);
	return HAX_ERROR;
    }
    *llongPtr = i;
    return HAX_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rsp, %r13
xorl %edi, %edi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x41e0
movq %rax, %r12
movq (%r13), %r13
movsbq (%r13), %rbp
testq %rbp, %rbp
je 0xc524
callq 0x4660
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbp,2)
je 0xc530
incq %r13
movq %r13, (%rsp)
jmp 0xc502
cmpq %rbx, %r13
je 0xc530
movq %r12, (%r15)
xorl %eax, %eax
jmp 0xc551
leaq 0x8423(%rip), %rsi      # 0x1495a
leaq 0x6d71(%rip), %rcx      # 0x132af
movq %r14, %rdi
movq %rbx, %rdx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0x4520
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxGet.c
// Function: Hax_GetDouble
int
Hax_GetDouble(
    Hax_Interp *interp,		/* Interpreter to use for error reporting. */
    char *string,		/* String containing a floating-point number
				 * in a form acceptable to strtod. */
    void *doublePtr		/* Place to store converted result. */)
{
    char *end;
    double d;

    d = strtod(string, &end);
    while ((*end != '\0') && isspace(*end)) {
	end++;
    }
    if ((end == string) || (*end != 0)) {
	Hax_AppendResult(interp, "expected floating-point number but got \"",
		string, "\"", (char *) NULL);
	return HAX_ERROR;
    }
    *(double *)doublePtr = d;
    return HAX_OK;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %r12
movq %rsi, %rdi
movq %r12, %rsi
callq 0x4150
movsd %xmm0, (%rsp)
movq (%r12), %r12
movsbq (%r12), %r13
testq %r13, %r13
je 0xc5ae
callq 0x4660
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r13,2)
je 0xc5c1
incq %r12
jmp 0xc58f
cmpq %rbx, %r12
je 0xc5c1
movsd (%rsp), %xmm0
movsd %xmm0, (%r15)
xorl %eax, %eax
jmp 0xc5e2
leaq 0x83ad(%rip), %rsi      # 0x14975
leaq 0x6ce0(%rip), %rcx      # 0x132af
movq %r14, %rdi
movq %rbx, %rdx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0x4520
pushq $0x1
popq %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHash.c
// Function: StringFind
static Hax_HashEntry *
StringFind(
    Hax_HashTable *tablePtr,	/* Table in which to lookup entry. */
    char *key			/* Key to use to find matching entry. */)
{
    Hax_HashEntry *hPtr;
    char *p1, *p2;
    int index;

    index = HashString(key) & tablePtr->mask;

    /*
     * Search all of the entries in the appropriate bucket.
     */

    for (hPtr = tablePtr->buckets[index]; hPtr != NULL;
	    hPtr = hPtr->nextPtr) {
	for (p1 = key, p2 = hPtr->key.string; ; p1++, p2++) {
	    if (*p1 != *p2) {
		break;
	    }
	    if (*p1 == '\0') {
		return hPtr;
	    }
	}
    }
    return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0xcdf3
andl 0x38(%r14), %eax
cltq
shlq $0x3, %rax
addq (%r14), %rax
pushq $0x20
popq %rcx
movq (%rax), %rax
testq %rax, %rax
je 0xc80d
movq %rcx, %rdx
movb -0x20(%rbx,%rdx), %sil
cmpb (%rax,%rdx), %sil
jne 0xc7ed
testb %sil, %sil
je 0xc80d
incq %rdx
jmp 0xc7f8
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHash.c
// Function: StringCreate
static Hax_HashEntry *
StringCreate(
    Hax_Interp *interp,
    Hax_HashTable *tablePtr,	/* Table in which to lookup entry. */
    char *key,			/* Key to use to find or create matching
				 * entry. */
    int *newPtr			/* Store info here telling whether a new
				 * entry was created. */)
{
    Interp *iPtr = (Interp *)interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    Hax_HashEntry *hPtr;
    char *p1, *p2;
    int index;

    index = HashString(key) & tablePtr->mask;

    /*
     * Search all of the entries in this bucket.
     */

    for (hPtr = tablePtr->buckets[index]; hPtr != NULL;
	    hPtr = hPtr->nextPtr) {
	for (p1 = key, p2 = hPtr->key.string; ; p1++, p2++) {
	    if (*p1 != *p2) {
		break;
	    }
	    if (*p1 == '\0') {
		*newPtr = 0;
		return hPtr;
	    }
	}
    }

    /*
     * Entry not found.  Add a new one to the bucket.
     */

    *newPtr = 1;
    hPtr = (Hax_HashEntry *) ckalloc(memoryp, (unsigned)
	    (sizeof(Hax_HashEntry) + strlen(key) - (sizeof(hPtr->key) -1)));
    hPtr->tablePtr = tablePtr;
    hPtr->bucketPtr = &(tablePtr->buckets[index]);
    hPtr->nextPtr = *hPtr->bucketPtr;
    hPtr->clientData = 0;
    strcpy(hPtr->key.string, key);
    *hPtr->bucketPtr = hPtr;
    tablePtr->numEntries++;

    /*
     * If the table has exceeded a decent size, rebuild it with many
     * more buckets.
     */

    if (tablePtr->numEntries >= tablePtr->rebuildSize) {
	RebuildTable(interp, tablePtr);
    }
    return hPtr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq 0x280(%rdi), %rax
movq %rax, (%rsp)
movq %rdx, %rdi
callq 0xcdf3
andl 0x38(%rbx), %eax
movslq %eax, %r13
leaq (,%r13,8), %r12
addq (%rbx), %r12
pushq $0x20
popq %rax
movq (%r12), %r12
testq %r12, %r12
je 0xc889
movq %rax, %rcx
movb -0x20(%r15,%rcx), %dl
cmpb (%r12,%rcx), %dl
jne 0xc853
testb %dl, %dl
je 0xc873
incq %rcx
jmp 0xc85f
andl $0x0, (%rbp)
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, (%rbp)
movq %r15, %rdi
callq 0x41d0
leal 0x21(%rax), %esi
leaq 0x6bbc(%rip), %rdx      # 0x1345e
movq (%rsp), %rdi
movl $0x213, %ecx            # imm = 0x213
callq 0x44e0
movq %rax, %r12
movq %rbx, 0x8(%rax)
movq (%rbx), %rax
leaq (%rax,%r13,8), %r13
movq %r13, 0x10(%r12)
movq (%r13), %rax
movq %rax, (%r12)
andq $0x0, 0x18(%r12)
leaq 0x20(%r12), %rdi
movq %r15, %rsi
callq 0x40f0
movq %r12, (%r13)
movl 0x2c(%rbx), %eax
incl %eax
movl %eax, 0x2c(%rbx)
cmpl 0x30(%rbx), %eax
jl 0xc877
movq %r14, %rdi
movq %rbx, %rsi
callq 0xce07
jmp 0xc877
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHash.c
// Function: OneWordCreate
static Hax_HashEntry *
OneWordCreate(
    Hax_Interp *interp,
    Hax_HashTable *tablePtr,	/* Table in which to lookup entry. */
    char *key,			/* Key to use to find or create matching
				 * entry. */
    int *newPtr			/* Store info here telling whether a new
				 * entry was created. */)
{
    Interp *iPtr = (Interp *) interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    Hax_HashEntry *hPtr;
    int index;

    index = RANDOM_INDEX(tablePtr, key);

    /*
     * Search all of the entries in this bucket.
     */

    for (hPtr = tablePtr->buckets[index]; hPtr != NULL;
	    hPtr = hPtr->nextPtr) {
	if (hPtr->key.oneWordValue == key) {
	    *newPtr = 0;
	    return hPtr;
	}
    }

    /*
     * Entry not found.  Add a new one to the bucket.
     */

    *newPtr = 1;
    hPtr = (Hax_HashEntry *) ckalloc(memoryp, sizeof(Hax_HashEntry));
    hPtr->tablePtr = tablePtr;
    hPtr->bucketPtr = &(tablePtr->buckets[index]);
    hPtr->nextPtr = *hPtr->bucketPtr;
    hPtr->clientData = 0;
    hPtr->key.oneWordValue = key;
    *hPtr->bucketPtr = hPtr;
    tablePtr->numEntries++;

    /*
     * If the table has exceeded a decent size, rebuild it with many
     * more buckets.
     */

    if (tablePtr->numEntries >= tablePtr->rebuildSize) {
	RebuildTable(interp, tablePtr);
    }
    return hPtr;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rax
movq %rdx, %r15
movq %rsi, %rbx
imulq $0x41c64e6d, %rdx, %rdx # imm = 0x41C64E6D
movb 0x34(%rsi), %cl
sarq %cl, %rdx
movq %rdi, %r14
movq 0x280(%rdi), %rdi
andl 0x38(%rsi), %edx
movslq %edx, %r13
leaq (,%r13,8), %r12
addq (%rsi), %r12
movq (%r12), %r12
testq %r12, %r12
je 0xc976
cmpq %r15, 0x20(%r12)
jne 0xc961
andl $0x0, (%rax)
jmp 0xc9d0
movl $0x1, (%rax)
leaq 0x6adb(%rip), %rdx      # 0x1345e
pushq $0x28
popq %rsi
movl $0x286, %ecx            # imm = 0x286
callq 0x44e0
movq %rax, %r12
movq %rbx, 0x8(%rax)
movq (%rbx), %rax
leaq (%rax,%r13,8), %rax
movq %rax, 0x10(%r12)
movq (%rax), %rcx
movq %rcx, (%r12)
andq $0x0, 0x18(%r12)
movq %r15, 0x20(%r12)
movq %r12, (%rax)
movl 0x2c(%rbx), %eax
incl %eax
movl %eax, 0x2c(%rbx)
cmpl 0x30(%rbx), %eax
jl 0xc9d0
movq %r14, %rdi
movq %rbx, %rsi
callq 0xce07
movq %r12, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHash.c
// Function: Hax_DeleteHashEntry
void
Hax_DeleteHashEntry(
    Hax_Interp *interp,
    Hax_HashEntry *entryPtr)
{
    Interp *iPtr = (Interp *)interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    Hax_HashEntry *prevPtr;

    if (*entryPtr->bucketPtr == entryPtr) {
	*entryPtr->bucketPtr = entryPtr->nextPtr;
    } else {
	for (prevPtr = *entryPtr->bucketPtr; ; prevPtr = prevPtr->nextPtr) {
	    if (prevPtr == NULL) {
		Hax_Panic(
		    (char *) "malformed bucket chain in Hax_DeleteHashEntry");
	    }
	    if (prevPtr->nextPtr == entryPtr) {
		prevPtr->nextPtr = entryPtr->nextPtr;
		break;
	    }
	}
    }
    entryPtr->tablePtr->numEntries--;
    ckfree(memoryp, (char *) entryPtr);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x280(%rdi), %r14
movq 0x10(%rsi), %r12
movq (%r12), %rax
cmpq %rsi, %rax
je 0xcb74
leaq 0x7e9f(%rip), %r15      # 0x149f8
movq %rax, %r12
testq %rax, %rax
jne 0xcb6b
movq %r15, %rdi
xorl %eax, %eax
callq 0x4140
movq (%r12), %rax
cmpq %rbx, %rax
jne 0xcb59
movq (%rbx), %rax
movq %rax, (%r12)
movq 0x8(%rbx), %rax
decl 0x2c(%rax)
leaq 0x68d5(%rip), %rdx      # 0x1345e
movq %r14, %rdi
movq %rbx, %rsi
movl $0xa0, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x4280
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHash.c
// Function: Hax_DeleteHashTable
void
Hax_DeleteHashTable(
    Hax_Interp *interp,
    Hax_HashTable *tablePtr		/* Table to delete. */)
{
    Interp *iPtr = (Interp *)interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    Hax_HashEntry *hPtr, *nextPtr;
    int i;

    /*
     * Free up all the entries in the table.
     */

    for (i = 0; i < tablePtr->numBuckets; i++) {
	hPtr = tablePtr->buckets[i];
	while (hPtr != NULL) {
	    nextPtr = hPtr->nextPtr;
	    ckfree(memoryp, (char *) hPtr);
	    hPtr = nextPtr;
	}
    }

    /*
     * Free up the bucket array, if it was dynamically allocated.
     */

    if (tablePtr->buckets != tablePtr->staticBuckets) {
	ckfree(memoryp, (char *) tablePtr->buckets);
    }

    /*
     * Arrange for panics if the table is used again without
     * re-initialization.
     */

    tablePtr->findProc = BogusFind;
    tablePtr->createProc = BogusCreate;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq 0x280(%rdi), %r14
xorl %r12d, %r12d
leaq 0x689d(%rip), %r15      # 0x1345e
movslq 0x28(%rbx), %rax
movq (%rbx), %rsi
cmpq %rax, %r12
jge 0xcbf3
movq (%rsi,%r12,8), %rsi
testq %rsi, %rsi
je 0xcbee
movq (%rsi), %r13
movq %r14, %rdi
movq %r15, %rdx
movl $0xc6, %ecx
callq 0x4280
movq %r13, %rsi
jmp 0xcbd1
incq %r12
jmp 0xcbc1
leaq 0x8(%rbx), %rax
cmpq %rax, %rsi
je 0xcc10
leaq 0x685b(%rip), %rdx      # 0x1345e
movq %r14, %rdi
movl $0xd0, %ecx
callq 0x4280
leaq 0x19(%rip), %rax        # 0xcc30
movq %rax, 0x40(%rbx)
leaq 0x21(%rip), %rax        # 0xcc43
movq %rax, 0x48(%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHistory.c
// Function: Hax_InitHistory
void
Hax_InitHistory(
    Hax_Interp *interp		/* Interpreter to initialize. */)
{
    Interp *iPtr = (Interp *) interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    int i;

    if (iPtr->numEvents != 0) {
	return;
    }
    iPtr->numEvents = 20;
    iPtr->events = (HistoryEvent *)
	    ckalloc(memoryp,
		(unsigned) (iPtr->numEvents * sizeof(HistoryEvent)));
    for (i = 0; i < iPtr->numEvents; i++) {
	iPtr->events[i].command = (char *) ckalloc(memoryp, INITIAL_CMD_SIZE);
	*iPtr->events[i].command = 0;
	iPtr->events[i].bytesAvl = INITIAL_CMD_SIZE;
    }
    iPtr->curEvent = 0;
    iPtr->curEventNum = 0;
    Hax_CreateCommand((Hax_Interp *) iPtr, (char *) "history", Hax_HistoryCmd,
	    (ClientData) NULL, (Hax_CmdDeleteProc *) NULL);
}

// Assembly:
cmpl $0x0, 0xd8(%rdi)
je 0xcf4e
retq
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x280(%rdi), %r14
movl $0x14, 0xd8(%rdi)
leaq 0x7bf8(%rip), %r15      # 0x14b6c
movl $0x140, %esi            # imm = 0x140
movq %r14, %rdi
movq %r15, %rdx
movl $0x86, %ecx
callq 0x44e0
movq %rax, 0xe0(%rbx)
xorl %r13d, %r13d
pushq $0x28
popq %r12
xorl %ebp, %ebp
movslq 0xd8(%rbx), %rax
cmpq %rax, %rbp
jge 0xcfdf
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl $0x88, %ecx
callq 0x44e0
movq 0xe0(%rbx), %rcx
movq %rax, (%rcx,%r13)
movb $0x0, (%rax)
movq 0xe0(%rbx), %rax
movl $0x28, 0x8(%rax,%r13)
incq %rbp
addq $0x10, %r13
jmp 0xcf99
andq $0x0, 0xe8(%rbx)
leaq 0x7b8b(%rip), %rsi      # 0x14b79
movq 0xdfc3(%rip), %rdx      # 0x1afb8
movq %rbx, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4030
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHistory.c
// Function: MakeSpace
static void
MakeSpace(
    Interp *iPtr,
    HistoryEvent *hPtr,
    int size			/* # of bytes needed in hPtr. */)
{
    Hax_Memoryp *memoryp = iPtr->memoryp;
    if (hPtr->bytesAvl < size) {
	ckfree(memoryp, hPtr->command);
	hPtr->command = (char *) ckalloc(memoryp, (unsigned) size);
	hPtr->bytesAvl = size;
    }
}

// Assembly:
cmpl %edx, 0x8(%rsi)
jge 0xdfe0
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq 0x280(%rdi), %r15
movq (%rsi), %rsi
leaq 0x6bc0(%rip), %r12      # 0x14b6c
movq %r15, %rdi
movq %r12, %rdx
movl $0x21c, %ecx            # imm = 0x21C
callq 0x4280
movl %ebx, %esi
movq %r15, %rdi
movq %r12, %rdx
movl $0x21d, %ecx            # imm = 0x21D
callq 0x44e0
movq %rax, (%r14)
movl %ebx, 0x8(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHistory.c
// Function: RevResult
static void
RevResult(
    Interp *iPtr,		/* Interpreter in which to perform the
				 * substitution. */
    char *string		/* String to substitute. */)
{
    Hax_Memoryp *memoryp = iPtr->memoryp;
    HistoryRev *revPtr;
    char *evalFirst, *evalLast;
    char *argv[2];

    if ((iPtr->evalFirst == NULL) || (iPtr->revDisables > 0)) {
	return;
    }

    /*
     * Expand the replacement range to include the brackets that surround
     * the command.  If there aren't any brackets (i.e. this command was
     * invoked at top-level) then don't do any revision.  Also, if there
     * are several commands in brackets, of which this is just one,
     * then don't do any revision.
     */

    evalFirst = iPtr->evalFirst;
    evalLast = iPtr->evalLast + 1;
    while (1) {
	if (evalFirst == iPtr->historyFirst) {
	    return;
	}
	evalFirst--;
	if (*evalFirst == '[') {
	    break;
	}
	if (!isspace(*evalFirst)) {
	    return;
	}
    }
    if (*evalLast != ']') {
	return;
    }

    revPtr = (HistoryRev *) ckalloc(memoryp, sizeof(HistoryRev));
    revPtr->firstIndex = evalFirst - iPtr->historyFirst;
    revPtr->lastIndex = evalLast - iPtr->historyFirst;
    argv[0] = string;
    revPtr->newBytes = Hax_Merge((Hax_Interp *) iPtr, 1, argv);
    revPtr->newSize = strlen(revPtr->newBytes);
    InsertRev(iPtr, revPtr);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, 0x8(%rsp)
movq 0x108(%rdi), %r13
testq %r13, %r13
je 0xe161
movq %rdi, %rbx
cmpl $0x0, 0x100(%rdi)
jle 0xe170
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x280(%rbx), %rax
movq %rax, (%rsp)
movq 0xf8(%rbx), %r15
movq 0x110(%rbx), %r12
incq %r12
pushq $0x1
popq %rbp
subl %r13d, %ebp
cmpq %r15, %r13
je 0xe161
movsbq -0x1(%r13), %r14
cmpq $0x5b, %r14
je 0xe1b9
decq %r13
callq 0x4660
movq (%rax), %rax
incl %ebp
testb $0x20, 0x1(%rax,%r14,2)
jne 0xe192
jmp 0xe161
cmpb $0x5d, (%r12)
jne 0xe161
leaq 0x69a5(%rip), %rdx      # 0x14b6c
pushq $0x20
popq %rsi
movq (%rsp), %rdi
movl $0x2cb, %ecx            # imm = 0x2CB
callq 0x44e0
movq %rax, %r15
movl 0xf8(%rbx), %eax
addl %eax, %ebp
negl %ebp
movl %ebp, (%r15)
subl %eax, %r12d
movl %r12d, 0x4(%r15)
leaq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rax
movq %rax, (%rdx)
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x4530
movq %rax, 0x10(%r15)
movq %rax, %rdi
callq 0x41d0
movl %eax, 0x8(%r15)
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe2d3
jmp 0xe161
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHistory.c
// Function: RevCommand
static void
RevCommand(
    Interp *iPtr,		/* Interpreter in which to perform the
				 * substitution. */
    char *string		/* String to substitute. */)
{
    Hax_Memoryp *memoryp = iPtr->memoryp;
    HistoryRev *revPtr;

    if ((iPtr->evalFirst == NULL) || (iPtr->revDisables > 0)) {
	return;
    }
    revPtr = (HistoryRev *) ckalloc(memoryp, sizeof(HistoryRev));
    revPtr->firstIndex = iPtr->evalFirst - iPtr->historyFirst;
    revPtr->lastIndex = iPtr->evalLast - iPtr->historyFirst;
    revPtr->newSize = strlen(string);
    revPtr->newBytes =
	(char *) ckalloc(memoryp, (unsigned) (revPtr->newSize+1));
    strcpy(revPtr->newBytes, string);
    InsertRev(iPtr, revPtr);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
cmpq $0x0, 0x108(%rdi)
je 0xe246
movq %rdi, %rbx
cmpl $0x0, 0x100(%rdi)
jle 0xe250
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rsi, %r14
movq 0x280(%rbx), %r12
leaq 0x690b(%rip), %r13      # 0x14b6c
pushq $0x20
popq %rsi
movq %r12, %rdi
movq %r13, %rdx
movl $0x286, %ecx            # imm = 0x286
callq 0x44e0
movq %rax, %r15
movl 0xf8(%rbx), %eax
movl 0x108(%rbx), %ecx
subl %eax, %ecx
movl %ecx, (%r15)
movl 0x110(%rbx), %ecx
subl %eax, %ecx
movl %ecx, 0x4(%r15)
movq %r14, %rdi
callq 0x41d0
movl %eax, 0x8(%r15)
leal 0x1(%rax), %esi
movq %r12, %rdi
movq %r13, %rdx
movl $0x28b, %ecx            # imm = 0x28B
callq 0x44e0
movq %rax, 0x10(%r15)
movq %rax, %rdi
movq %r14, %rsi
callq 0x40f0
movq %rbx, %rdi
movq %r15, %rsi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xe2d3
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxHistory.c
// Function: InsertRev
static void
InsertRev(
    Interp *iPtr,			/* Interpreter to use. */
    HistoryRev *revPtr	/* Revision to add to iPtr's list. */)
{
    Hax_Memoryp *memoryp = iPtr->memoryp;
    HistoryRev *curPtr;
    HistoryRev *prevPtr;

    for (curPtr = iPtr->revPtr, prevPtr = NULL; curPtr != NULL;
	    prevPtr = curPtr, curPtr = curPtr->nextPtr) {
	/*
	 * If this revision includes the new one (or vice versa) then
	 * just eliminate the one that is a subset of the other.
	 */

	if ((revPtr->firstIndex <= curPtr->firstIndex)
		&& (revPtr->lastIndex >= curPtr->firstIndex)) {
	    curPtr->firstIndex = revPtr->firstIndex;
	    curPtr->lastIndex = revPtr->lastIndex;
	    curPtr->newSize = revPtr->newSize;
	    ckfree(memoryp, curPtr->newBytes);
	    curPtr->newBytes = revPtr->newBytes;
	    ckfree(memoryp, (char *) revPtr);
	    return;
	}
	if ((revPtr->firstIndex >= curPtr->firstIndex)
		&& (revPtr->lastIndex <= curPtr->lastIndex)) {
	    ckfree(memoryp, revPtr->newBytes);
	    ckfree(memoryp, (char *) revPtr);
	    return;
	}

	if (revPtr->firstIndex < curPtr->firstIndex) {
	    break;
	}
    }

    /*
     * Insert revPtr just after prevPtr.
     */

    if (prevPtr == NULL) {
	revPtr->nextPtr = iPtr->revPtr;
	iPtr->revPtr = revPtr;
    } else {
	revPtr->nextPtr = prevPtr->nextPtr;
	prevPtr->nextPtr = revPtr;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x280(%rdi), %r14
addq $0xf0, %rdi
xorl %eax, %eax
movq %rdi, %rcx
movq (%rcx), %r12
testq %r12, %r12
je 0xe322
movl (%rbx), %ecx
movl (%r12), %edx
cmpl %edx, %ecx
jg 0xe30a
movl 0x4(%rbx), %esi
cmpl %edx, %esi
jge 0xe376
cmpl %edx, %ecx
jl 0xe322
movl 0x4(%rbx), %eax
cmpl 0x4(%r12), %eax
jle 0xe335
leaq 0x18(%r12), %rcx
movq %r12, %rax
jmp 0xe2f1
testq %rax, %rax
je 0xe360
movq 0x18(%rax), %rcx
movq %rcx, 0x18(%rbx)
movq %rbx, 0x18(%rax)
jmp 0xe36a
movq 0x10(%rbx), %rsi
leaq 0x682c(%rip), %r15      # 0x14b6c
movq %r14, %rdi
movq %r15, %rdx
movl $0x251, %ecx            # imm = 0x251
callq 0x4280
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movl $0x252, %ecx            # imm = 0x252
jmp 0xe3ba
movq (%rdi), %rax
movq %rax, 0x18(%rbx)
movq %rbx, (%rdi)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl %ecx, (%r12)
movl %esi, 0x4(%r12)
movl 0x8(%rbx), %eax
movl %eax, 0x8(%r12)
movq 0x10(%r12), %rsi
leaq 0x67d9(%rip), %r15      # 0x14b6c
movq %r14, %rdi
movq %r15, %rdx
movl $0x24a, %ecx            # imm = 0x24A
callq 0x4280
movq 0x10(%rbx), %rax
movq %rax, 0x10(%r12)
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movl $0x24c, %ecx            # imm = 0x24C
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x4280
nop
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxParse.c
// Function: HaxParseNestedCmd
int
HaxParseNestedCmd(
    Hax_Interp *interp,		/* Interpreter to use for nested command
				 * evaluations and error messages. */
    char *string,		/* Character just after opening bracket. */
    int flags,			/* Flags to pass to nested Hax_Eval. */
    char **termPtr,		/* Store address of terminating character
				 * here. */
    ParseValue *pvPtr		/* Information about where to place
				 * result of command. */)
{
    int result, length, shortfall;
    Interp *iPtr = (Interp *) interp;

    result = Hax_Eval(interp, NULL, string, flags | HAX_BRACKET_TERM, termPtr);
    if (result != HAX_OK) {
	/*
	 * The increment below results in slightly cleaner message in
	 * the errorInfo variable (the close-bracket will appear).
	 */

	if (**termPtr == ']') {
	    *termPtr += 1;
	}
	return result;
    }
    (*termPtr) += 1;
    length = strlen(iPtr->result);
    shortfall = length + 1 - (pvPtr->end - pvPtr->next);
    if (shortfall > 0) {
	(*pvPtr->expandProc)(interp, pvPtr, shortfall);
    }
    strcpy(pvPtr->next, iPtr->result);
    pvPtr->next += length;
    Hax_FreeResult(interp);
    iPtr->result = iPtr->resultSpace;
    iPtr->resultSpace[0] = '\0';
    return HAX_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ecx
movq %rsi, %rdx
movq %rdi, %rbx
orl $0x1, %ecx
xorl %esi, %esi
movq %r15, %r8
callq 0x45d0
movl %eax, %ebp
movq (%r15), %rax
testl %ebp, %ebp
je 0xe9bc
cmpb $0x5d, (%rax)
jne 0xea4f
incq %rax
movq %rax, (%r15)
jmp 0xea4f
incq %rax
movq %rax, (%r15)
movq (%rbx), %r12
movq %r12, %rdi
callq 0x41d0
movq %rax, %r15
movq 0x8(%r14), %rdi
subl 0x10(%r14), %eax
leal (%rax,%rdi), %edx
incl %edx
testl %edx, %edx
jle 0xe9f2
movq %rbx, %rdi
movq %r14, %rsi
callq *0x18(%r14)
movq 0x8(%r14), %rdi
movq (%rbx), %r12
movq %r12, %rsi
callq 0x40f0
movslq %r15d, %rax
addq %rax, 0x8(%r14)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0xea3e
cmpq 0xc58f(%rip), %rax      # 0x1afa0
je 0xea1a
movq (%rbx), %rdi
callq *%rax
jmp 0xea39
movq %rbx, %rdi
callq 0x4560
movq (%rbx), %rsi
leaq 0x6413(%rip), %rdx      # 0x14e3f
movq %rax, %rdi
movl $0x1a6, %ecx            # imm = 0x1A6
callq 0x4280
andq $0x0, 0x8(%rbx)
leaq 0x1b0(%rbx), %rax
movq %rax, (%rbx)
movb $0x0, 0x1b0(%rbx)
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxParse.c
// Function: HaxExpandParseValue
void
HaxExpandParseValue(
    Hax_Interp *interp,
    ParseValue *pvPtr,			/* Information about buffer that
					 * must be expanded.  If the clientData
					 * in the structure is non-zero, it
					 * means that the current buffer is
					 * dynamically allocated. */
    int needed				/* Minimum amount of additional space
					 * to allocate. */)
{
    Interp *iPtr = (Interp *) interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    int newSpace;
    char *newBuf;

    /*
     * Either double the size of the buffer or add enough new space
     * to meet the demand, whichever produces a larger new buffer.
     */

    newSpace = (pvPtr->end - pvPtr->buffer) + 1;
    if (newSpace < needed) {
	newSpace += needed;
    } else {
	newSpace += newSpace;
    }
    newBuf = (char *) ckalloc(memoryp, (unsigned) newSpace);

    /*
     * Copy from old buffer to new, free old buffer if needed, and
     * mark newBuf buffer as malloc-ed.
     */

    memcpy(newBuf, pvPtr->buffer, pvPtr->next - pvPtr->buffer);
    pvPtr->next = newBuf + (pvPtr->next - pvPtr->buffer);
    if (pvPtr->clientData != 0) {
	ckfree(memoryp, pvPtr->buffer);
    }
    pvPtr->buffer = newBuf;
    pvPtr->end = newBuf + newSpace - 1;
    pvPtr->clientData = (ClientData) 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x280(%rdi), %r14
movl 0x10(%rsi), %eax
subl (%rsi), %eax
leal 0x1(%rax), %ecx
cmpl %edx, %ecx
leal 0x1(%rax,%rdx), %ecx
leal 0x2(%rax,%rax), %r15d
cmovll %ecx, %r15d
leaq 0x5f2a(%rip), %rdx      # 0x14e3f
movq %r14, %rdi
movq %r15, %rsi
movl $0x34b, %ecx            # imm = 0x34B
callq 0x44e0
movq %rax, %r12
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
subq %rsi, %rdx
movq %rax, %rdi
callq 0x43c0
movq (%rbx), %rsi
movq 0x8(%rbx), %rax
subq %rsi, %rax
addq %r12, %rax
movq %rax, 0x8(%rbx)
cmpq $0x0, 0x20(%rbx)
je 0xef66
leaq 0x5ee6(%rip), %rdx      # 0x14e3f
movq %r14, %rdi
movl $0x355, %ecx            # imm = 0x355
callq 0x4280
movq %r12, (%rbx)
movslq %r15d, %rax
addq %r12, %rax
decq %rax
movq %rax, 0x10(%rbx)
movq $0x1, 0x20(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxParse.c
// Function: QuoteEnd
static char *
QuoteEnd(
    char *string,		/* Pointer to character just after opening
				 * "quote". */
    int term			/* This character will terminate the
				 * quoted string (e.g. '"' or ')'). */)
{
    char *p = string;
    int count;

    while (*p != term) {
	if (*p == '\\') {
	    (void) Hax_Backslash(p, &count);
	    p += count;
	} else if (*p == '[') {
	    for (p++; *p != ']'; p++) {
		p = HaxWordEnd(p, 1);
		if (*p == 0) {
		    return p;
		}
	    }
	    p++;
	} else if (*p == '$') {
	    p = VarNameEnd(p);
	    if (*p == 0) {
		return p;
	    }
	    p++;
	} else if (*p == 0) {
	    return p;
	} else {
	    p++;
	}
    }
    return p-1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
pushq $0x1
popq %r14
leaq 0x4(%rsp), %r15
movsbl (%rbx), %eax
cmpl %ebp, %eax
je 0xf193
movzbl %al, %eax
cmpl $0x24, %eax
je 0xf169
cmpl $0x5b, %eax
je 0xf15d
cmpl $0x5c, %eax
je 0xf17e
testl %eax, %eax
jne 0xf179
jmp 0xf196
incq %rbx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x41b0
movq %rax, %rbx
cmpb $0x0, (%rax)
je 0xf196
cmpb $0x5d, 0x1(%rbx)
jne 0xf147
addq $0x2, %rbx
jmp 0xf128
movq %rbx, %rdi
callq 0xf1a4
movq %rax, %rbx
cmpb $0x0, (%rax)
je 0xf196
incq %rbx
jmp 0xf128
movq %rbx, %rdi
movq %r15, %rsi
callq 0x42c0
movslq 0x4(%rsp), %rax
addq %rax, %rbx
jmp 0xf128
decq %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxParse.c
// Function: VarNameEnd
static char *
VarNameEnd(
    char *string		/* Pointer to dollar-sign character. */)
{
    char *p = string+1;

    if (*p == '{') {
	for (p++; (*p != '}') && (*p != 0); p++) {
	    /* Empty loop body. */
	}
	return p;
    }
    while (isalnum(*p) || (*p == '_')) {
	p++;
    }
    if ((*p == '(') && (p != string+1)) {
	return QuoteEnd(p+1, ')');
    }
    return p-1;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpb $0x7b, 0x1(%rdi)
jne 0xf1c6
addq $0x2, %rbx
movq %rbx, %rax
movzbl (%rax), %ecx
testl %ecx, %ecx
je 0xf211
cmpl $0x7d, %ecx
je 0xf211
incq %rax
jmp 0xf1b5
callq 0x4660
movq (%rax), %rcx
xorl %edx, %edx
xorl %eax, %eax
movsbq 0x1(%rbx,%rdx), %rsi
decq %rax
incq %rdx
cmpq $0x5f, %rsi
je 0xf1d2
movzwl (%rcx,%rsi,2), %edi
andl $0x8, %edi
jne 0xf1d2
cmpq $-0x1, %rax
je 0xf20b
cmpb $0x28, %sil
jne 0xf20b
subq %rax, %rbx
incq %rbx
pushq $0x29
popq %rsi
movq %rbx, %rdi
popq %rbx
jmp 0xf113
notq %rax
addq %rbx, %rax
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxProc.c
// Function: ProcDeleteProc
static void
ProcDeleteProc(
    Hax_Interp *interp,
    ClientData clientData		/* Procedure to be deleted. */)
{
    Interp *iPtr = (Interp *) interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    Proc *procPtr = (Proc *) clientData;
    Arg *argPtr;

    ckfree(memoryp, (char *) procPtr->command);
    for (argPtr = procPtr->argPtr; argPtr != NULL; ) {
	Arg *nextPtr = argPtr->nextPtr;

	ckfree(memoryp, (char *) argPtr);
	argPtr = nextPtr;
    }
    ckfree(memoryp, (char *) procPtr);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x280(%rdi), %r14
movq 0x8(%rsi), %rsi
leaq 0x574a(%rip), %r15      # 0x14f2d
movq %r14, %rdi
movq %r15, %rdx
movl $0x236, %ecx            # imm = 0x236
callq 0x4280
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0xf814
movq (%rsi), %r12
movq %r14, %rdi
movq %r15, %rdx
movl $0x23a, %ecx            # imm = 0x23A
callq 0x4280
movq %r12, %rsi
jmp 0xf7f7
leaq 0x5712(%rip), %rdx      # 0x14f2d
movq %r14, %rdi
movq %rbx, %rsi
movl $0x23d, %ecx            # imm = 0x23D
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x4280
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxProc.c
// Function: HaxGetFrame
int
HaxGetFrame(
    Hax_Interp *interp,		/* Interpreter in which to find frame. */
    char *string,		/* String describing frame. */
    CallFrame **framePtrPtr	/* Store pointer to frame here (or NULL
				 * if global frame indicated). */)
{
    Interp *iPtr = (Interp *) interp;
    int level, result;
    CallFrame *framePtr;

    if (iPtr->varFramePtr == NULL) {
	iPtr->result = (char *) "already at top level";
	return -1;
    }

    /*
     * Parse string to figure out which level number to go to.
     */

    result = 1;
    if (*string == '#') {
	if (Hax_GetInt(interp, string+1, &level) != HAX_OK) {
	    return -1;
	}
	if (level < 0) {
	    levelError:
	    Hax_AppendResult(interp, "bad level \"", string, "\"",
		    (char *) NULL);
	    return -1;
	}
    } else if (isdigit(*string)) {
	if (Hax_GetInt(interp, string, &level) != HAX_OK) {
	    return -1;
	}
	level = iPtr->varFramePtr->level - level;
    } else {
	level = iPtr->varFramePtr->level - 1;
	result = 0;
    }

    /*
     * Figure out which frame to use, and modify the interpreter so
     * its variables come from that frame.
     */

    if (level == 0) {
	framePtr = NULL;
    } else {
	for (framePtr = iPtr->varFramePtr; framePtr != NULL;
		framePtr = framePtr->callerVarPtr) {
	    if (framePtr->level == level) {
		break;
	    }
	}
	if (framePtr == NULL) {
	    goto levelError;
	}
    }
    *framePtrPtr = framePtr;
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r12
movq 0xc8(%rdi), %rbp
testq %rbp, %rbp
je 0xf8b1
movq %rsi, %r15
movq %rdx, 0x10(%rsp)
leaq 0xc8(%r12), %r13
movsbq (%rsi), %r14
pushq $-0x1
popq %rbx
cmpq $0x23, %r14
jne 0xf8c1
leaq 0x1(%r15), %rsi
leaq 0xc(%rsp), %rdx
movq %r12, %rdi
callq 0x41c0
testl %eax, %eax
jne 0xf92a
movl 0xc(%rsp), %eax
testl %eax, %eax
jns 0xf901
leaq 0x44bf(%rip), %rsi      # 0x13d57
leaq 0x3a10(%rip), %rcx      # 0x132af
movq %r12, %rdi
movq %r15, %rdx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0x4520
jmp 0xf92a
leaq 0x56c3(%rip), %rax      # 0x14f7b
movq %rax, (%r12)
pushq $-0x1
popq %rbx
jmp 0xf92a
callq 0x4660
movq (%rax), %rax
testb $0x8, 0x1(%rax,%r14,2)
jne 0xf8de
movl 0x50(%rbp), %eax
decl %eax
movl %eax, 0xc(%rsp)
xorl %ecx, %ecx
jmp 0xf904
leaq 0xc(%rsp), %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x41c0
testl %eax, %eax
jne 0xf92a
movq (%r13), %rax
movl 0x50(%rax), %eax
subl 0xc(%rsp), %eax
movl %eax, 0xc(%rsp)
pushq $0x1
popq %rcx
testl %eax, %eax
je 0xf91d
movq (%r13), %r13
testq %r13, %r13
je 0xf891
cmpl %eax, 0x50(%r13)
je 0xf920
addq $0x68, %r13
jmp 0xf908
xorl %r13d, %r13d
movq 0x10(%rsp), %rax
movq %r13, (%rax)
movl %ecx, %ebx
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxProc.c
// Function: Hax_UplevelCmd
int
Hax_UplevelCmd(
    ClientData dummy,			/* Not used. */
    Hax_Interp *interp,			/* Current interpreter. */
    int argc,				/* Number of arguments. */
    char **argv				/* Argument strings. */)
{
    Interp *iPtr = (Interp *) interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    int result;
    CallFrame *savedVarFramePtr, *framePtr;

    if (argc < 2) {
	uplevelSyntax:
	Hax_AppendResult(interp, "wrong # args: should be \"", argv[0],
		" ?level? command ?arg ...?\"", (char *) NULL);
	return HAX_ERROR;
    }

    /*
     * Find the level to use for executing the command.
     */

    result = HaxGetFrame(interp, argv[1], &framePtr);
    if (result == -1) {
	return HAX_ERROR;
    }
    argc -= (result+1);
    if (argc == 0) {
	goto uplevelSyntax;
    }
    argv += (result+1);

    /*
     * Modify the interpreter state to execute in the given frame.
     */

    savedVarFramePtr = iPtr->varFramePtr;
    iPtr->varFramePtr = framePtr;

    /*
     * Execute the residual arguments as a command.
     */

    if (argc == 1) {
	result = Hax_Eval(interp, NULL, argv[0], 0, (char **) NULL);
    } else {
	char *cmd;

	cmd = Hax_Concat(interp, argc, argv);
	result = Hax_Eval(interp, NULL, cmd, 0, (char **) NULL);
	ckfree(memoryp, cmd);
    }
    if (result == HAX_ERROR) {
	char msg[60];
	sprintf(msg, "\n    (\"uplevel\" body line %d)", interp->errorLine);
	Hax_AddErrorInfo(interp, msg);
    }

    /*
     * Restore the variable frame, and return.
     */

    iPtr->varFramePtr = savedVarFramePtr;
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rcx, %r12
movq %rsi, %rbx
pushq $0x1
popq %rbp
cmpl $0x1, %edx
jle 0xf97d
movl %edx, %r15d
movq 0x280(%rbx), %r14
movq 0x8(%r12), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x4200
cmpl $-0x1, %eax
je 0xf99c
incl %eax
subl %eax, %r15d
jne 0xf9ab
movq (%r12), %rdx
leaq 0x3ed8(%rip), %rsi      # 0x13860
leaq 0x5601(%rip), %rcx      # 0x14f90
movq %rbx, %rdi
xorl %r8d, %r8d
xorl %eax, %eax
callq 0x4520
movl %ebp, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %eax
leaq (%r12,%rax,8), %rdx
movq 0xc8(%rbx), %r12
movq 0x8(%rsp), %rax
movq %rax, 0xc8(%rbx)
cmpl $0x1, %r15d
jne 0xf9e0
movq (%rdx), %rdx
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x45d0
movl %eax, %ebp
jmp 0xfa19
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4680
movq %rax, %r15
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x45d0
movl %eax, %ebp
leaq 0x5524(%rip), %rdx      # 0x14f2d
movq %r14, %rdi
movq %r15, %rsi
movl $0x13e, %ecx            # imm = 0x13E
callq 0x4280
cmpl $0x1, %ebp
jne 0xfa42
movl 0x10(%rbx), %edx
leaq 0x5584(%rip), %rsi      # 0x14fac
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x45f0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4420
movq %r12, 0xc8(%rbx)
jmp 0xf99c
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxUtil.c
// Function: Hax_ResetResult
void
Hax_ResetResult(
    Hax_Interp *interp		/* Interpreter for which to clear result. */)
{
    Interp *iPtr = (Interp *) interp;

    Hax_FreeResult(interp);
    iPtr->result = iPtr->resultSpace;
    iPtr->resultSpace[0] = 0;
    iPtr->flags &=
	    ~(ERR_ALREADY_LOGGED | ERR_IN_PROGRESS | ERROR_CODE_SET);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0xfd96
cmpq 0xb237(%rip), %rax      # 0x1afa0
je 0xfd72
movq (%rbx), %rdi
callq *%rax
jmp 0xfd91
movq %rbx, %rdi
callq 0x4560
movq (%rbx), %rsi
leaq 0x538a(%rip), %rdx      # 0x1510e
movq %rax, %rdi
movl $0x4c9, %ecx            # imm = 0x4C9
callq 0x4280
andq $0x0, 0x8(%rbx)
leaq 0x1b0(%rbx), %rax
movq %rax, (%rbx)
movb $0x0, 0x1b0(%rbx)
andb $-0xf, 0x1a0(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxUtil.c
// Function: Hax_SetResult
void
Hax_SetResult(
    Hax_Interp *interp,		/* Interpreter with which to associate the
				 * return value. */
    char *string,		/* Value to be returned.  If NULL,
				 * the result is set to an empty string. */
    Hax_FreeProc *freeProc	/* Gives information about the string:
				 * HAX_STATIC, HAX_VOLATILE, or the address
				 * of a Hax_FreeProc such as free. */)
{
    Interp *iPtr = (Interp *) interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    int length;
    Hax_FreeProc *oldFreeProc = iPtr->freeProc;
    char *oldResult = iPtr->result;

    iPtr->freeProc = freeProc;
    if (string == NULL) {
	iPtr->resultSpace[0] = 0;
	iPtr->result = iPtr->resultSpace;
	iPtr->freeProc = 0;
    } else if (freeProc == HAX_VOLATILE) {
	length = strlen(string);
	if (length > HAX_RESULT_SIZE) {
	    iPtr->result = (char *) ckalloc(memoryp, (unsigned) length+1);
	    iPtr->freeProc = (Hax_FreeProc *) free;
	} else {
	    iPtr->result = iPtr->resultSpace;
	    iPtr->freeProc = 0;
	}
	strcpy(iPtr->result, string);
    } else {
	iPtr->result = string;
    }

    /*
     * If the old result was dynamically-allocated, free it up.  Do it
     * here, rather than at the beginning, in case the new result value
     * was part of the old result value.
     */

    if (oldFreeProc != 0) {
	if (oldFreeProc == (Hax_FreeProc *) free) {
	    ckfree(memoryp, oldResult);
	} else {
	    (*oldFreeProc)(oldResult);
	}
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r15
movq 0x280(%rdi), %r14
movq (%rdi), %rbx
movq 0x8(%rdi), %rcx
movq %rdx, 0x8(%rdi)
testq %rsi, %rsi
je 0xfde1
movq %rsi, %r12
cmpq $-0x1, %rdx
je 0xfdfa
movq %r12, (%r15)
jmp 0xfe4c
leaq 0x1b0(%r15), %rax
movb $0x0, 0x1b0(%r15)
movq %rax, (%r15)
andq $0x0, 0x8(%r15)
jmp 0xfe4c
movq %rcx, %r13
movq %r12, %rdi
callq 0x41d0
cmpl $0xc8, %eax
jl 0xfe31
incl %eax
leaq 0x52f9(%rip), %rdx      # 0x1510e
movq %r14, %rdi
movq %rax, %rsi
movl $0x3c8, %ecx            # imm = 0x3C8
callq 0x44e0
movq %rax, %rdi
movq 0xb171(%rip), %rax      # 0x1afa0
jmp 0xfe3a
leaq 0x1b0(%r15), %rdi
xorl %eax, %eax
movq %rdi, (%r15)
movq %rax, 0x8(%r15)
movq %r12, %rsi
callq 0x40f0
movq %r13, %rcx
testq %rcx, %rcx
je 0xfe68
cmpq 0xb148(%rip), %rcx      # 0x1afa0
je 0xfe72
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmpq *%rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x5295(%rip), %rdx      # 0x1510e
movq %r14, %rdi
movq %rbx, %rsi
movl $0x3db, %ecx            # imm = 0x3DB
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x4280
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxUtil.c
// Function: HaxCopyAndCollapse
void
HaxCopyAndCollapse(
    int count,			/* Total number of characters to copy
				 * from src. */
    char *src,		/* Copy from here... */
    char *dst		/* ... to here. */)
{
    char c;
    int numRead;

    for (c = *src; count > 0; src++, c = *src, count--) {
	if (c == '\\') {
	    *dst = Hax_Backslash(src, &numRead);
	    if (*dst != 0) {
		dst++;
	    }
	    src += numRead-1;
	    count -= numRead-1;
	} else {
	    *dst = c;
	    dst++;
	}
    }
    *dst = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movl %edi, %ebp
leaq 0x4(%rsp), %r15
testl %ebp, %ebp
jle 0xfee2
movb (%r14), %al
cmpb $0x5c, %al
jne 0xfed6
movq %r14, %rdi
movq %r15, %rsi
callq 0x42c0
movb %al, (%rbx)
cmpb $0x1, %al
sbbq $-0x1, %rbx
movslq 0x4(%rsp), %rax
addq %rax, %r14
decq %r14
decq %rax
subl %eax, %ebp
jmp 0xfedb
movb %al, (%rbx)
incq %rbx
incq %r14
decl %ebp
jmp 0xfea6
movb $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxUtil.c
// Function: Hax_Merge
char *
Hax_Merge(
    Hax_Interp *interp,
    int argc,			/* How many strings to merge. */
    char **argv			/* Array of string values. */)
{
    Interp *iPtr = (Interp *) interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
#   define LOCAL_SIZE 20
    int localFlags[LOCAL_SIZE], *flagPtr;
    int numChars;
    char *result;
    char *dst;
    int i;

    /*
     * Pass 1: estimate space, gather flags.
     */

    if (argc <= LOCAL_SIZE) {
	flagPtr = localFlags;
    } else {
	flagPtr = (int *) ckalloc(memoryp, (unsigned) argc*sizeof(int));
    }
    numChars = 1;
    for (i = 0; i < argc; i++) {
	numChars += Hax_ScanElement(argv[i], &flagPtr[i]) + 1;
    }

    /*
     * Pass two: copy into the result area.
     */

    result = (char *) ckalloc(memoryp, (unsigned) numChars);
    dst = result;
    for (i = 0; i < argc; i++) {
	numChars = Hax_ConvertElement(argv[i], dst, flagPtr[i]);
	dst += numChars;
	*dst = ' ';
	dst++;
    }
    if (dst == result) {
	*dst = 0;
    } else {
	dst[-1] = 0;
    }

    if (flagPtr != localFlags) {
	ckfree(memoryp, (char *) flagPtr);
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movl %esi, %r15d
movq 0x280(%rdi), %rdi
cmpl $0x15, %esi
movq %rdi, 0x8(%rsp)
jge 0x10266
leaq 0x10(%rsp), %r12
jmp 0x10281
movl %r15d, %esi
shlq $0x2, %rsi
leaq 0x4e9a(%rip), %rdx      # 0x1510e
movl $0x2b1, %ecx            # imm = 0x2B1
callq 0x44e0
movq %rax, %r12
xorl %r13d, %r13d
testl %r15d, %r15d
cmovlel %r13d, %r15d
leaq (,%r15,4), %rbp
pushq $0x1
popq %rbx
cmpq %r13, %rbp
je 0x102b2
movq (%r14,%r13,2), %rdi
leaq (%r12,%r13), %rsi
callq 0x4110
addl %eax, %ebx
incl %ebx
addq $0x4, %r13
jmp 0x10296
movl %ebx, %esi
leaq 0x4e53(%rip), %rdx      # 0x1510e
movq 0x8(%rsp), %rdi
movl $0x2bc, %ecx            # imm = 0x2BC
callq 0x44e0
movq %rax, %r13
xorl %ebx, %ebx
movq %rax, %rbp
cmpq %rbx, %r15
je 0x102f8
movq (%r14,%rbx,8), %rdi
movl (%r12,%rbx,4), %edx
movq %rbp, %rsi
callq 0x4170
cltq
addq %rax, %rbp
incq %rbp
movb $0x20, -0x1(%rbp)
incq %rbx
jmp 0x102d2
leaq -0x1(%rbp), %rax
cmpq %r13, %rbp
cmoveq %r13, %rax
movb $0x0, (%rax)
leaq 0x10(%rsp), %rax
cmpq %rax, %r12
je 0x10329
leaq 0x4df7(%rip), %rdx      # 0x1510e
movq 0x8(%rsp), %rdi
movq %r12, %rsi
movl $0x2cb, %ecx            # imm = 0x2CB
callq 0x4280
movq %r13, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxUtil.c
// Function: Hax_Concat
char *
Hax_Concat(
    Hax_Interp *interp,
    int argc,			/* Number of strings to concatenate. */
    char **argv			/* Array of strings to concatenate. */)
{
    Interp *iPtr = (Interp *) interp;
    Hax_Memoryp *memoryp = iPtr->memoryp;
    int totalSize, i;
    char *p;
    char *result;

    for (totalSize = 1, i = 0; i < argc; i++) {
	totalSize += strlen(argv[i]) + 1;
    }
    result = (char *) ckalloc(memoryp, (unsigned) totalSize);
    if (argc == 0) {
	*result = '\0';
	return result;
    }
    for (p = result, i = 0; i < argc; i++) {
	char *element;
	int length;

	/*
	 * Clip white space off the front and back of the string
	 * to generate a neater result, and ignore any empty
	 * elements.
	 */

	element = argv[i];
	while (isspace(*element)) {
	    element++;
	}
	for (length = strlen(element);
		(length > 0) && (isspace(element[length-1]));
		length--) {
	    /* Null loop body. */
	}
	if (length == 0) {
	    continue;
	}
	(void) strncpy(p, element, length);
	p += length;
	*p = ' ';
	p++;
    }
    if (p != result) {
	p[-1] = 0;
    } else {
	*p = 0;
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r13
movl %esi, %ebp
movq 0x280(%rdi), %r15
xorl %ebx, %ebx
testl %esi, %esi
movl $0x0, %r14d
cmovgl %esi, %r14d
pushq $0x1
popq %r12
cmpq %rbx, %r14
je 0x10381
movq (%r13,%rbx,8), %rdi
callq 0x41d0
addl %eax, %r12d
incl %r12d
incq %rbx
jmp 0x10367
movl %r12d, %esi
leaq 0x4d83(%rip), %rdx      # 0x1510e
movq %r15, %rdi
movl $0x2f2, %ecx            # imm = 0x2F2
callq 0x44e0
movq %rax, %rcx
testl %ebp, %ebp
je 0x10455
xorl %ebp, %ebp
movq %rax, 0x8(%rsp)
movq %rax, %r15
movq %r14, 0x10(%rsp)
cmpq %r14, %rbp
je 0x10445
movq %r13, %r14
movq (%r13,%rbp,8), %r13
callq 0x4660
movq (%rax), %rbx
leaq -0x1(%r13), %r12
addq $-0x2, %r13
movsbq 0x1(%r12), %rax
incq %r12
incq %r13
testb $0x20, 0x1(%rbx,%rax,2)
jne 0x103d3
movq %r12, %rdi
callq 0x41d0
movl %eax, %ecx
addq %rcx, %r13
xorl %esi, %esi
movq %rsi, %rdx
addl %eax, %esi
testl %esi, %esi
jle 0x10411
movsbq (%r13,%rdx), %rdi
leaq -0x1(%rdx), %rsi
testb $0x20, 0x1(%rbx,%rdi,2)
jne 0x103f5
jmp 0x10416
addq %rdx, %rcx
je 0x10435
movslq %eax, %r13
addq %rdx, %r13
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x40a0
addq %r13, %r15
incq %r15
movb $0x20, -0x1(%r15)
movq %r14, %r13
incq %rbp
movq 0x10(%rsp), %r14
jmp 0x103b2
leaq -0x1(%r15), %rcx
movq 0x8(%rsp), %rax
cmpq %rax, %r15
cmoveq %rax, %rcx
movb $0x0, (%rcx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxUtil.c
// Function: Hax_AppendResult
void
	/* VARARGS2 */ /* ARGSUSED */
Hax_AppendResult(
    Hax_Interp *interp,		/* Interpreter whose result is to be
				 * extended. */
    ...				/* One or more strings to add to the
				 * result, terminated with NULL. */)
{
    va_list argList, argList2;
    Interp *iPtr;
    char *string;
    int newSpace;

    /*
     * First, scan through all the arguments to see how much space is
     * needed.
     */

    va_start(argList, interp);
    va_copy(argList2, argList);
    iPtr = (Interp *) interp;
    newSpace = 0;
    while (1) {
	string = va_arg(argList, char *);
	if (string == NULL) {
	    break;
	}
	newSpace += strlen(string);
    }
    va_end(argList);

    /*
     * If the append buffer isn't already setup and large enough
     * to hold the new data, set it up.
     */

    if ((iPtr->result != iPtr->appendResult)
	   || ((newSpace + iPtr->appendUsed) >= iPtr->appendAvl)) {
       SetupAppendBuffer(iPtr, newSpace);
    }

    /*
     * Final step:  go through all the argument strings again, copying
     * them into the buffer.
     */

    while (1) {
	string = va_arg(argList2, char *);
	if (string == NULL) {
	    break;
	}
	strcpy(iPtr->appendResult + iPtr->appendUsed, string);
	iPtr->appendUsed += strlen(string);
    }
    va_end(argList2);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
leaq 0x40(%rsp), %r14
movq %rsi, 0x8(%r14)
movq %rdx, 0x10(%r14)
movq %rcx, 0x18(%r14)
movq %r8, 0x20(%r14)
movq %r9, 0x28(%r14)
testb %al, %al
je 0x10605
movaps %xmm0, 0x70(%rsp)
movaps %xmm1, 0x80(%rsp)
movaps %xmm2, 0x90(%rsp)
movaps %xmm3, 0xa0(%rsp)
movaps %xmm4, 0xb0(%rsp)
movaps %xmm5, 0xc0(%rsp)
movaps %xmm6, 0xd0(%rsp)
movaps %xmm7, 0xe0(%rsp)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, 0x20(%rsp)
leaq 0x120(%rsp), %rax
movq %rax, 0x28(%rsp)
movq %r14, 0x30(%rsp)
movq %r14, 0x10(%rsp)
movq 0x20(%rsp), %rcx
movq %rcx, (%rsp)
movq 0x28(%rsp), %rcx
movq %rcx, 0x8(%rsp)
pushq $0x8
popq %r15
xorl %ebp, %ebp
cmpl $0x28, %r15d
ja 0x1065e
movq %rax, %r12
movl %r15d, %eax
addq %r14, %rax
addl $0x8, %r15d
movl %r15d, 0x20(%rsp)
jmp 0x10667
leaq 0x8(%rax), %r12
movq %r12, 0x28(%rsp)
movq (%rax), %rdi
testq %rdi, %rdi
je 0x1067b
callq 0x41d0
addl %eax, %ebp
movq %r12, %rax
jmp 0x10644
movq (%rbx), %rax
cmpq 0x118(%rbx), %rax
jne 0x10697
movl 0x124(%rbx), %eax
addl %ebp, %eax
cmpl 0x120(%rbx), %eax
jl 0x106c7
movq %rbx, %rdi
movl %ebp, %esi
callq 0x10706
jmp 0x106c7
movslq 0x124(%rbx), %rdi
addq 0x118(%rbx), %rdi
movq %r14, %rsi
callq 0x40f0
movq %r14, %rdi
callq 0x41d0
addl %eax, 0x124(%rbx)
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x106e0
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x106ee
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %r14
testq %r14, %r14
jne 0x106a3
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq