// File: /workspace/github_c_makefile_star2_O2/theovosse[P]llgen/llgen.c
// Function: printTokenSet
static void printTokenSet(FILE *f, TREE tokenSet) {
	TREE node;
	int lastBoundary = 0;
	unsigned long int cValue = 0;
	TREE tokens = NULL;

	for (node = GetFirstNode(tokenSet); node != NULL; node = GetNextNode(node)) {
		Name name = (Name) GetKey(node);
		long int tokenIndex = name->index;
		if (tokenIndex == -1) tokenIndex = 0;
		InsertNodeSingle(&tokens, (void *) tokenIndex, NULL, IntCmp);
	}
	node = GetFirstNode(tokens);
	while (lastBoundary <= nodeNumber) {
		if (node != NULL) {
			int tokenIndex = (int) GetKey(node);
			while (tokenIndex >= lastBoundary + nrBitsInElement) {
				fprintf(f, "0x%0*lX", (nrBitsInElement + 3) / 4, cValue);
				cValue = 0;
				lastBoundary += nrBitsInElement;
				if (lastBoundary <= nodeNumber) {
					fputs(", ", f);
				}
			}
			cValue |= 1 << (tokenIndex - lastBoundary);
			node = GetNextNode(node);
		} else {
			fprintf(f, "0x%0*lX", (nrBitsInElement + 3) / 4, cValue);
			cValue = 0;
			lastBoundary += nrBitsInElement;
			if (lastBoundary <= nodeNumber) {
				fputs(", ", f);
			}
		}
	}
	fprintf(f, "%s%s /*", targetLanguage->endOfArrayLiteral, targetLanguage->terminateDeclaration);
	for (node = GetFirstNode(tokenSet); node != NULL; node = GetNextNode(node)) {
		Name name = (Name) GetKey(node);
		fprintf(f, " %s", name->name);
	}
	fputs(" */\n", f);
	KillTree(tokens, NULL);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsp, %r14
andq $0x0, (%r14)
movq %rsi, 0x8(%rsp)
movq %rsi, %rdi
callq 0xb236
movq %rax, %r15
xorl %r13d, %r13d
leaq 0x1c5(%rip), %r12       # 0x6e2b
testq %r15, %r15
je 0x6c99
movq %r15, %rdi
callq 0xb272
movq 0x28(%rax), %rsi
cmpq $-0x1, %rsi
cmoveq %r13, %rsi
movq %r14, %rdi
xorl %edx, %edx
movq %r12, %rcx
callq 0xaecc
movq %r15, %rdi
callq 0xb27e
movq %rax, %r15
jmp 0x6c66
movq (%rsp), %rdi
callq 0xb236
pushq $0x4
popq %r13
leaq 0x981d(%rip), %r15      # 0x104ca
xorl %ebp, %ebp
xorl %r12d, %r12d
cmpl 0x11e4f(%rip), %r12d    # 0x18b08
jg 0x6da4
testq %rax, %rax
je 0x6d4f
movq %rax, 0x10(%rsp)
movq %rax, %rdi
callq 0xb272
movq %rax, %r14
movl 0x11492(%rip), %eax     # 0x18170
leal (%rax,%r12), %ecx
cmpl %r14d, %ecx
jg 0x6d30
addl $0x3, %eax
cltd
idivl %r13d
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
movq %rbp, %rcx
xorl %eax, %eax
callq 0x3150
movl 0x1146a(%rip), %eax     # 0x18170
addl %eax, %r12d
movl $0x0, %ebp
cmpl 0x11df3(%rip), %r12d    # 0x18b08
jg 0x6cde
leaq 0x97a9(%rip), %rdi      # 0x104c7
movq %rbx, %rsi
callq 0x3110
movl 0x11444(%rip), %eax     # 0x18170
xorl %ebp, %ebp
jmp 0x6cde
subl %r12d, %r14d
pushq $0x1
popq %rax
movl %r14d, %ecx
shll %cl, %eax
cltq
orq %rax, %rbp
movq 0x10(%rsp), %rdi
callq 0xb27e
jmp 0x6cb2
movl 0x1141b(%rip), %eax     # 0x18170
addl $0x3, %eax
cltd
idivl %r13d
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
movq %rbp, %rcx
xorl %eax, %eax
callq 0x3150
addl 0x113fb(%rip), %r12d    # 0x18170
movl $0x0, %ebp
movl $0x0, %eax
cmpl 0x11d82(%rip), %r12d    # 0x18b08
jg 0x6cb2
leaq 0x9734(%rip), %rdi      # 0x104c7
movq %rbx, %rsi
callq 0x3110
xorl %ebp, %ebp
xorl %eax, %eax
jmp 0x6cb2
movq 0x113d5(%rip), %rax     # 0x18180
movq 0x70(%rax), %rdx
movq 0x78(%rax), %rcx
leaq 0x9749(%rip), %rsi      # 0x10503
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3150
movq 0x8(%rsp), %rdi
callq 0xb236
movq %rax, %r15
leaq 0xb960(%rip), %r14      # 0x12738
testq %r15, %r15
je 0x6e02
movq %r15, %rdi
callq 0xb272
movq (%rax), %rdx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3150
movq %r15, %rdi
callq 0xb27e
movq %rax, %r15
jmp 0x6dd8
leaq 0x9b0d(%rip), %rdi      # 0x10916
movq %rbx, %rsi
callq 0x3110
movq (%rsp), %rdi
xorl %esi, %esi
callq 0xb397
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq