// File: /workspace/github_cpp_makefile_star2_O2/gpertea[P]gclib/htest.cpp
// Function: loadStrings(_IO_FILE*, GPVec<HStrData>&, GPVec<HStrData>&, int)
int loadStrings(FILE* f, GPVec<HStrData>& strgsuf, GPVec<HStrData>& strgs, int toLoad) {
  int num=0;
  GLineReader lr(f);
  char* line=NULL;
  int numcl=0;
  while ((line=lr.nextLine())!=NULL) {
	  int len=strlen(line);
	  if (len<3) continue;
	  if (line[0]=='>') {
		  numcl++;
		  if (toLoad && numcl>toLoad) {
			  break;
		  }
		  continue;
	  }
	  if (strcmp(line, "HCLR")==0) {
		  strgs.Add(new HStrData(NULL, 2));
		  strgsuf.Add(new HStrData(NULL, 2));
		  continue;
	  }
	  if (startsWith(line, "RM ")) {
	     strgsuf.Add(new HStrData(line+3,1) );
	     line[len-3]=0;
	     strgs.Add(new HStrData(line+3,1));
	     continue;
	  }
      strgsuf.Add(new HStrData(line));
      line[len-3]=0;
      strgs.Add(new HStrData(line));
	  num++;
  } //while line
  return num;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %ecx, 0x24(%rsp)
movq %rdx, 0x10(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdi, %rsi
movq $0x0, 0x28(%rsp)
leaq 0x30(%rsp), %r12
movq %r12, %rdi
xorl %edx, %edx
callq 0x9ae0
pushq $0x30
popq %rbx
movl $0x0, 0xc(%rsp)
movq %r12, %rdi
callq 0xa604
movq %rax, %r14
testq %rax, %rax
je 0x8886
movq %r14, %rdi
callq 0x2140
movq %rax, %rbp
cmpl $0x3, %ebp
jl 0x8702
cmpb $0x3e, (%r14)
je 0x8802
movq %r14, %rdi
leaq 0x3d06(%rip), %rsi      # 0xc440
callq 0x2350
testl %eax, %eax
je 0x87b3
movq %r14, %rdi
leaq 0x3cf8(%rip), %rsi      # 0xc445
callq 0x3711
testb %al, %al
je 0x8827
movq %rbx, %rdi
callq 0x2240
movq %rax, %r15
movq %r14, %r13
addq $0x3, %r13
movq %rax, %rdi
movq %r13, %rsi
pushq $0x1
popq %rdx
callq 0x9b68
movq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0x9b28
movl $0xfffffffd, %eax       # imm = 0xFFFFFFFD
addl %eax, %ebp
movb $0x0, (%r14,%rbp)
movq %rbx, %rdi
callq 0x2240
movq %rax, %r14
movq %rax, %rdi
movq %r13, %rsi
pushq $0x1
popq %rdx
callq 0x9b68
movq 0x10(%rsp), %rdi
jmp 0x87f5
movq %rbx, %rdi
callq 0x2240
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
pushq $0x2
popq %rdx
callq 0x9b68
movq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x9b28
movq %rbx, %rdi
callq 0x2240
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
pushq $0x2
popq %rdx
callq 0x9b68
movq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x9b28
jmp 0x8702
movl 0x24(%rsp), %ecx
testl %ecx, %ecx
setne %al
movq 0x28(%rsp), %rdx
cmpl %ecx, %edx
leal 0x1(%rdx), %ecx
setge %dl
movq %rcx, 0x28(%rsp)
testb %dl, %al
je 0x8702
jmp 0x8886
movq %rbx, %rdi
callq 0x2240
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x9b68
movq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0x9b28
movl $0xfffffffd, %eax       # imm = 0xFFFFFFFD
addl %eax, %ebp
movb $0x0, (%r14,%rbp)
movq %rbx, %rdi
callq 0x2240
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x9b68
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x9b28
incl 0xc(%rsp)
jmp 0x8702
leaq 0x30(%rsp), %rdi
callq 0x9b76
movl 0xc(%rsp), %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x88b8
jmp 0x88b8
jmp 0x88ca
jmp 0x88ad
jmp 0x88ad
movq %rax, %rbx
pushq $0x30
popq %rsi
movq %r14, %rdi
jmp 0x88c1
movq %rax, %rbx
pushq $0x30
popq %rsi
movq %r15, %rdi
callq 0x2250
jmp 0x88cd
jmp 0x88ca
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x9b76
movq %rbx, %rdi
callq 0x2400