LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: StoreBleeploadCode
void StoreBleeploadCode(word length)
{
  word count;
  PushFilePointers();
  if (length>512) Error(14);
  ResetTempFile();
  GetData(&tempfile);
  for (count=0; count<length; count++)
      { bleeploader[count]=GetData(&tempfile); }
  for (count=1; count<length-3; count++)
      {
	if (bleeploader[count]==0x32 && bleeploader[count+1]==0x15 && bleeploader[count+2]==0xff)
	   { expectedlength=0x109+2+bleeploader[count-1]; break;}
      }
  ResetTempFile();
  PopFilePointers();
//  RecoverFilePointers();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %edi, %ebx
callq 0x1659
cmpl $0x201, %ebx            # imm = 0x201
jae 0x5987
callq 0x161e
leaq 0x11bc4(%rip), %rdi     # 0x174b8
callq 0x1d8c
testl %ebx, %ebx
je 0x592f
movl %ebx, %r15d
xorl %r12d, %r12d
leaq 0x11bae(%rip), %r14     # 0x174b8
leaq 0x1641f(%rip), %r13     # 0x1bd30
movq %r14, %rdi
callq 0x1d8c
movb %al, (%r12,%r13)
incq %r12
cmpq %r12, %r15
jne 0x5911
addl $-0x3, %ebx
cmpl $0x2, %ebx
jae 0x5934
jmp 0x5974
movl $0xfffffffd, %ebx       # imm = 0xFFFFFFFD
movl %ebx, %eax
decq %rax
xorl %edx, %edx
leaq 0x163ee(%rip), %rcx     # 0x1bd30
cmpb $0x32, 0x1(%rdx,%rcx)
jne 0x5959
cmpb $0x15, 0x2(%rdx,%rcx)
jne 0x5959
leal 0x3(%rdx), %esi
cmpb $-0x1, (%rsi,%rcx)
je 0x5963
incq %rdx
cmpq %rdx, %rax
jne 0x5942
jmp 0x5974
movl %edx, %eax
movzbl (%rax,%rcx), %eax
addl $0x10b, %eax            # imm = 0x10B
movl %eax, 0x98a0(%rip)      # 0xf214
callq 0x161e
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x16fa
movl $0xe, %edi
callq 0x140c
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: ReadSoftlockFirstBlock
word ReadSoftlockFirstBlock(void)
{
  dword loaded;
  pilot.freq=808;
  syncx.freq=2450;
  bit0.freq=2600;
  bit1.freq=1300;
  SetTimings();
  pilotlength=0;
  DataLoadOK=0;
  while (!DataLoadOK)
	{
	  PilotSearch(256);
	  if (!blocktype) return 0; if (!PilotLinkingOK) { pilotlength=0; return 0;}
	  mspause=0;
	  SyncSearch();
	  if (!blocktype) return 0; if (!SyncLoadOK) return 0;
	  loaded=DataRead(bit0.samples,bit1.samples,expectedlength);
	}
  return loaded;
}

// Assembly:
pushq %rbx
movabsq $0x4089400000000000, %rax # imm = 0x4089400000000000
movq %rax, 0x15d95(%rip)     # 0x1b738
movabsq $0x40a3240000000000, %rax # imm = 0x40A3240000000000
movq %rax, 0x15da4(%rip)     # 0x1b758
movabsq $0x40a4500000000000, %rax # imm = 0x40A4500000000000
movq %rax, 0x15db3(%rip)     # 0x1b778
movabsq $0x4094500000000000, %rax # imm = 0x4094500000000000
movq %rax, 0x15dc2(%rip)     # 0x1b798
callq 0x240d
movq $0x0, 0x161fa(%rip) # 0x1bbe0
movb $0x0, 0x161fc(%rip)     # 0x1bbe9
movl $0x100, %edi            # imm = 0x100
callq 0x2ba3
xorl %ebx, %ebx
cmpb $0x0, 0x15cc1(%rip)     # 0x1b6c1
je 0x5a61
cmpb $0x0, 0x161cf(%rip)     # 0x1bbd8
je 0x5a56
movq $0x0, 0x980a(%rip) # 0xf220
callq 0x2edd
cmpb $0x0, 0x15c9f(%rip)     # 0x1b6c1
je 0x5a61
cmpb $0x0, 0x15d8f(%rip)     # 0x1b7ba
je 0x5a61
movsd 0x15d53(%rip), %xmm0    # 0x1b788
movsd 0x15d6b(%rip), %xmm1    # 0x1b7a8
movl 0x97d1(%rip), %edi      # 0xf214
callq 0x38de
cmpb $0x0, 0x1619a(%rip)     # 0x1bbe9
je 0x59ed
movq %rax, %rbx
jmp 0x5a61
movq $0x0, 0x1617f(%rip) # 0x1bbe0
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: FindAlkatrazLoader1
word FindAlkatrazLoader1(word limit)
{
  byte lastval;
  word count,position,offset;
  PushFilePointers();
  ResetTempFile();
  for (count=0; count<limit; count++)
      {
	if ((lastval=GetData(&tempfile))==0xea && count>127) break;
      }
  do { lastval=GetData(&tempfile); }
  while (lastval!=0x11);
  position=GetData(&tempfile);
  position+=256*GetData(&tempfile)+1;
  if (position<61440) offset=0x190;
  else offset=0x200;
  position-=offset;
  ResetTempFile();
  PopFilePointers();
  lseek(inpfile.handle,filepos,SEEK_SET);
  inpfile.bufpoint=0;
  return position;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edi, %ebx
callq 0x1659
callq 0x161e
testl %ebx, %ebx
je 0x5aaa
decl %ebx
xorl %r15d, %r15d
leaq 0x11a32(%rip), %r14     # 0x174b8
movq %r14, %rdi
callq 0x1d8c
cmpb $-0x16, %al
sete %al
cmpl $0x7f, %r15d
seta %cl
testb %al, %cl
jne 0x5aaa
leal 0x1(%r15), %eax
cmpl %r15d, %ebx
movl %eax, %r15d
jne 0x5a86
leaq 0x11a07(%rip), %rbx     # 0x174b8
movq %rbx, %rdi
callq 0x1d8c
cmpb $0x11, %al
jne 0x5ab1
leaq 0x119f4(%rip), %rbx     # 0x174b8
movq %rbx, %rdi
callq 0x1d8c
movzbl %al, %r14d
movq %rbx, %rdi
callq 0x1d8c
movzbl %al, %eax
shll $0x8, %eax
leal (%r14,%rax), %ecx
incl %ecx
cmpl $0xf000, %ecx           # imm = 0xF000
leal -0x18f(%r14,%rax), %ecx
leal -0x1ff(%r14,%rax), %ebx
cmovbl %ecx, %ebx
callq 0x161e
callq 0x16fa
movzbl 0x9772(%rip), %edi      # 0xf280
movq 0x96d3(%rip), %rsi      # 0xf1e8
xorl %edx, %edx
callq 0x10d0
movl $0x0, 0x985a(%rip)      # 0xf380
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: ReadAlkatrazBlock
dword ReadAlkatrazBlock(void)
{
  dword loaded;
  pilot.freq=808;
  syncx.freq=2450;
  bit0.freq=3100;
  bit1.freq=1550;
  SetTimings();
  pilotlength=0;
  DataLoadOK=0;
  while (!DataLoadOK)
	{
	  PilotSearch(50);
	  if (!blocktype) return 0; if (!PilotLinkingOK) { pilotlength=0; return 0;}
	  mspause=0;
	  SyncSearch();
	  if (!blocktype) return 0; if (!SyncLoadOK) return 0;
	  loaded=DataRead(bit0.samples,bit1.samples,expectedlength);
	  if (blocktype) mspause+=(FindPause()/samprate)*1000;
	}
  return loaded;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movabsq $0x4089400000000000, %rax # imm = 0x4089400000000000
movq %rax, 0x15bf5(%rip)     # 0x1b738
movabsq $0x40a3240000000000, %rax # imm = 0x40A3240000000000
movq %rax, 0x15c04(%rip)     # 0x1b758
movabsq $0x40a8380000000000, %rax # imm = 0x40A8380000000000
movq %rax, 0x15c13(%rip)     # 0x1b778
movabsq $0x4098380000000000, %rax # imm = 0x4098380000000000
movq %rax, 0x15c22(%rip)     # 0x1b798
callq 0x240d
movq $0x0, 0x1605a(%rip) # 0x1bbe0
movb $0x0, 0x1605c(%rip)     # 0x1bbe9
xorl %ebx, %ebx
movl $0x32, %edi
callq 0x2ba3
cmpb $0x0, 0x15b21(%rip)     # 0x1b6c1
je 0x5c73
cmpb $0x0, 0x1602b(%rip)     # 0x1bbd8
je 0x5c66
movq $0x0, 0x9662(%rip) # 0xf220
callq 0x2edd
cmpb $0x0, 0x15af7(%rip)     # 0x1b6c1
je 0x5c73
cmpb $0x0, 0x15be3(%rip)     # 0x1b7ba
je 0x5c73
movsd 0x15ba3(%rip), %xmm0    # 0x1b788
movsd 0x15bbb(%rip), %xmm1    # 0x1b7a8
movl 0x9621(%rip), %edi      # 0xf214
callq 0x38de
movq %rax, %r14
cmpb $0x0, 0x15abf(%rip)     # 0x1b6c1
je 0x5c54
callq 0x43aa
testq %rax, %rax
js 0x5c18
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
jmp 0x5c30
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
divss 0x95b8(%rip), %xmm0     # 0xf1f0
mulss 0x57a4(%rip), %xmm0     # 0xb3e4
cvtss2sd %xmm0, %xmm0
addsd 0x95d4(%rip), %xmm0     # 0xf220
movsd %xmm0, 0x95cc(%rip)     # 0xf220
cmpb $0x0, 0x15f8e(%rip)     # 0x1bbe9
je 0x5b8f
movq %r14, %rbx
jmp 0x5c73
movq $0x0, 0x15f6f(%rip) # 0x1bbe0
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: ReadSpeedlock13FirstBlock
word ReadSpeedlock13FirstBlock(void)
{
  word loaded;
  pilotlength=0;
  DataLoadOK=0;
  while (!DataLoadOK)
	{
	  PushFilePointers();
	  pilotlength=ClickingPilotSearch();
	  if (!blocktype || !ClickingPilotOK) return 0;
	  mspause=0;
	  ReadSpeedlockFlag(bit0.samples,bit1.samples);
	  if (!blocktype) return 0;
	  loaded=DataRead(bit0.samples,bit1.samples,expectedlength);
	  if (blocktype && blocks<=blockskip+1 || slocktype==1) mspause+=(FindPause()/samprate)*1000;
	}

  return loaded;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq $0x0, 0x15f54(%rip) # 0x1bbe0
movb $0x0, 0x15f56(%rip)     # 0x1bbe9
movl $0xff, %ebp
callq 0x1659
callq 0x28c8
movq %rax, 0x15f37(%rip)     # 0x1bbe0
xorl %ebx, %ebx
cmpb $0x0, 0x15a0f(%rip)     # 0x1b6c1
je 0x5d93
cmpb $0x0, 0x15afa(%rip)     # 0x1b7b9
je 0x5d93
cvttsd2si 0x15abb(%rip), %edi # 0x1b788
cvttsd2si 0x15ad3(%rip), %esi # 0x1b7a8
movq $0x0, 0x9540(%rip) # 0xf220
andl %ebp, %edi
andl %ebp, %esi
callq 0x5d9c
cmpb $0x0, 0x159d1(%rip)     # 0x1b6c1
je 0x5d93
movsd 0x15a8a(%rip), %xmm0    # 0x1b788
movsd 0x15aa2(%rip), %xmm1    # 0x1b7a8
movl 0x9508(%rip), %edi      # 0xf214
callq 0x38de
movq %rax, %rbx
cmpb $0x0, 0x159a6(%rip)     # 0x1b6c1
je 0x5d2d
movl 0x9509(%rip), %eax      # 0xf22c
incl %eax
cmpl %eax, 0x94fd(%rip)      # 0xf228
jbe 0x5d36
cmpb $0x1, 0x9480(%rip)      # 0xf1b4
jne 0x5d86
callq 0x43aa
testq %rax, %rax
js 0x5d4a
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
jmp 0x5d62
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
divss 0x9486(%rip), %xmm0     # 0xf1f0
mulss 0x5672(%rip), %xmm0     # 0xb3e4
cvtss2sd %xmm0, %xmm0
addsd 0x94a2(%rip), %xmm0     # 0xf220
movsd %xmm0, 0x949a(%rip)     # 0xf220
cmpb $0x0, 0x15e5c(%rip)     # 0x1bbe9
je 0x5c98
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: ReadSpeedlockFlag
void ReadSpeedlockFlag(byte bit0,byte bit1)
{
  byte count,value=0,tolerance,maxpulse;/*=bit1+bit0-tolerance;*/
  word pulse;
/*  if (maxpulse>pilot.samples) */
  if (spdchk) { bit0*=ecf; bit1*=ecf; }
  tolerance=(bit1-bit0)/2;
  maxpulse=bit1+(pilot.samples-bit1)/2;
  for (count=0; count<slockflagbits+1; count++)
      {
	pulse=FindEdge2();
	if ((pulse<=bit0+tolerance) && (pulse>=bit0-tolerance)) value<<=1;
	else if ((pulse<=maxpulse) && (pulse>=bit1-tolerance)) { value<<=1; value|=0x01; }
	     else if (pulse>maxpulse) { strcpy(errstring,"Pulse too long"); Error(8);}
      }
  value<<=7-slockflagbits;
  slockflag=value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
shll $0x8, %esi
orl %edi, %esi
cmpb $0x0, 0x9406(%rip)      # 0xf1b9
movd %esi, %xmm0
je 0x5de5
pxor %xmm1, %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
cvtdq2pd %xmm0, %xmm0
movsd 0x9327(%rip), %xmm1     # 0xf0f8
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
mulpd %xmm0, %xmm1
cvttpd2dq %xmm1, %xmm0
packuswb %xmm0, %xmm0
packuswb %xmm0, %xmm0
movd %xmm0, %ebx
movl %ebx, %ebp
shrl $0x8, %ebp
movl $0xff, %eax
andl %eax, %ebp
andl %eax, %ebx
movl %ebp, %ecx
subl %ebx, %ecx
movzwl %cx, %edx
shrl $0xf, %edx
xorps %xmm0, %xmm0
cvtsi2sd %ebp, %xmm0
movsd 0x15938(%rip), %xmm1    # 0x1b748
subsd %xmm0, %xmm1
mulsd 0x54b4(%rip), %xmm1     # 0xb2d0
addl %ecx, %edx
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %r14d
shrl %edx
andl %eax, %edx
leal (%rdx,%rbx), %r15d
subl %edx, %ebx
andl %eax, %r14d
subl %edx, %ebp
xorl %r12d, %r12d
xorl %r13d, %r13d
callq 0x260f
cmpl %eax, %r15d
jb 0x5e4f
cmpl %eax, %ebx
ja 0x5e4f
addb %r13b, %r13b
jmp 0x5e65
cmpl %r14d, %eax
ja 0x5e60
cmpl %eax, %ebp
ja 0x5e60
addb %r13b, %r13b
incb %r13b
jmp 0x5e65
cmpl %r14d, %eax
ja 0x5e93
incb %r12b
movzbl 0x92bd(%rip), %eax      # 0xf12c
cmpb %r12b, %al
jae 0x5e3c
movzbl %r13b, %edx
movb $0x7, %cl
subb %al, %cl
shll %cl, %edx
movb %dl, 0x93c8(%rip)       # 0xf24c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movabsq $0x676e6f6c206f6f, %rax # imm = 0x676E6F6C206F6F
movq %rax, 0x15843(%rip)     # 0x1b6e7
movabsq $0x6f742065736c7550, %rax # imm = 0x6F742065736C7550
movq %rax, 0x1582b(%rip)     # 0x1b6e0
movl $0x8, %edi
callq 0x140c
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: ReadSpeedlock47FirstBlock
word ReadSpeedlock47FirstBlock(void)
{
  word loaded;
  pilotlength=0;
  DataLoadOK=0;
  while (!DataLoadOK)
	{

	  do {
	       PilotSearch(32);
	       if (!blocktype) return 0;
	       if (!PilotLinkingOK) { pilotlength=0; }
	     }
	  while (!PilotLinkingOK);
	  mspause=0;
	  do
	     {
	       SyncSearch();
	       if (!blocktype) return 0;
	     }
	  while (!SyncLoadOK);

/*        PilotSearch(32);
	  if (!blocktype) return 0; if (!PilotLinkingOK) { pilotlength=0; return 0; }
	  mspause=0;
	  SyncSearch();
	  if (!blocktype) return 0; if (!SyncLoadOK) return 0; */
	  CompositeSyncSearch();
	  if (!blocktype) return 0;
	  ReadSpeedlockFlag(bit0.samples,bit1.samples);
	  if (!blocktype) return 0;
	  loaded=DataRead(bit0.samples,bit1.samples,expectedlength);
	  if (blocktype && blocks<=blockskip+1) mspause+=(FindPause()/samprate)*1000;
	}

  return loaded;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq $0x0, 0x15d13(%rip) # 0x1bbe0
movb $0x0, 0x15d15(%rip)     # 0x1bbe9
movl $0xff, %ebp
movl $0x20, %edi
callq 0x2ba3
xorl %ebx, %ebx
cmpb $0x0, 0x157d5(%rip)     # 0x1b6c1
je 0x6004
cmpb $0x0, 0x15cdf(%rip)     # 0x1bbd8
jne 0x5f12
movq $0x0, 0x15cda(%rip) # 0x1bbe0
movl $0x20, %edi
callq 0x2ba3
jmp 0x5ee5
movq $0x0, 0x9303(%rip) # 0xf220
callq 0x2edd
cmpb $0x0, 0x15798(%rip)     # 0x1b6c1
je 0x6004
cmpb $0x0, 0x15884(%rip)     # 0x1b7ba
je 0x5f1d
callq 0x600d
cmpb $0x0, 0x1577d(%rip)     # 0x1b6c1
je 0x6004
cvttsd2si 0x15836(%rip), %edi # 0x1b788
cvttsd2si 0x1584e(%rip), %esi # 0x1b7a8
andl %ebp, %edi
andl %ebp, %esi
callq 0x5d9c
cmpb $0x0, 0x15757(%rip)     # 0x1b6c1
je 0x6004
movsd 0x15810(%rip), %xmm0    # 0x1b788
movsd 0x15828(%rip), %xmm1    # 0x1b7a8
movl 0x928e(%rip), %edi      # 0xf214
callq 0x38de
movq %rax, %rbx
cmpb $0x0, 0x1572c(%rip)     # 0x1b6c1
je 0x5ff7
movl 0x928f(%rip), %eax      # 0xf22c
incl %eax
cmpl %eax, 0x9283(%rip)      # 0xf228
ja 0x5ff7
callq 0x43aa
testq %rax, %rax
js 0x5fbb
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
jmp 0x5fd3
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
divss 0x9215(%rip), %xmm0     # 0xf1f0
mulss 0x5401(%rip), %xmm0     # 0xb3e4
cvtss2sd %xmm0, %xmm0
addsd 0x9231(%rip), %xmm0     # 0xf220
movsd %xmm0, 0x9229(%rip)     # 0xf220
cmpb $0x0, 0x15beb(%rip)     # 0x1bbe9
je 0x5ed9
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: CompositeSyncSearch
void CompositeSyncSearch(void)
{
  byte count,tolerance;
  dword pulse;
  for (count=0; count<7; count++)
      {
	syncx.freq=compositesync[count];
	SetTimings();
	tolerance=syncx.samples/3;
	pulse=FindEdge2();
	if (!blocktype) return;
	if (pulse<(int)syncx.samples-tolerance || pulse>(int)syncx.samples+tolerance)
	   { strcpy(errstring,"Bad sync detection or corrupted composite-sync"); Error(8); }
      }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
leaq 0x90f6(%rip), %r14      # 0xf110
movl (%rbx,%r14), %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movsd %xmm0, 0x1572a(%rip)    # 0x1b758
callq 0x240d
movsd 0x1572d(%rip), %xmm0    # 0x1b768
movsd %xmm0, (%rsp)
callq 0x260f
cmpb $0x0, 0x15675(%rip)     # 0x1b6c1
je 0x608a
movsd (%rsp), %xmm0
divsd 0x522d(%rip), %xmm0     # 0xb288
cvttsd2si %xmm0, %edx
cvttsd2si 0x15701(%rip), %ecx # 0x1b768
movzbl %dl, %edx
movl %ecx, %esi
subl %edx, %esi
movslq %esi, %rsi
cmpq %rsi, %rax
jb 0x6092
addl %edx, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
ja 0x6092
addq $0x4, %rbx
cmpq $0x1c, %rbx
jne 0x601a
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movups 0x59ac(%rip), %xmm0     # 0xba45
movups %xmm0, 0x1565f(%rip)    # 0x1b6ff
movups 0x598f(%rip), %xmm0     # 0xba36
movaps %xmm0, 0x15642(%rip)    # 0x1b6f0
movups 0x5971(%rip), %xmm0     # 0xba26
movaps %xmm0, 0x15624(%rip)    # 0x1b6e0
movl $0x8, %edi
callq 0x140c
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: WriteTZXPureData
void WriteTZXPureData(byte lastbyte,dword datalen)
{
  dword count;
  puredata[1]=Lo(bit0.tstates); puredata[2]=Hi(bit0.tstates);
  puredata[3]=Lo(bit1.tstates); puredata[4]=Hi(bit1.tstates);
  puredata[5]=lastbyte;
  if (!saveslockflag) { puredata[6]=Lo(mspause); puredata[7]=Hi(mspause); }
  else puredata[6]=puredata[7]=0;
  puredata[8]=Lo(datalen); puredata[9]=Hi(datalen); puredata[10]=Ehi(datalen);
  for (count=0; count<sizeof(puredata); count++) PutData(&outfile,puredata[count],1);
  if (saveslockflag) PutData(&outfile,slockflag,1);
  else if (savemidsync)
	  { for (count=0; count<datalen; count++) PutData(&outfile,midsync[count],1); }
       else {
	      PushFilePointers();
	      ResetTempFile();
	      for (count=0; count<datalen; count++)
		  { PutData(&outfile,GetData(&tempfile),1); }
	      PopFilePointers();
	      lseek(inpfile.handle,filepos,SEEK_SET);
	      inpfile.bufpoint=0;
	    }
  ResetTempFile();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movzwl 0x153f6(%rip), %eax     # 0x1b790
movw %ax, 0x8dda(%rip)       # 0xf17b
movl 0x15409(%rip), %eax     # 0x1b7b0
movb %al, 0x8dd0(%rip)       # 0xf17d
movsd 0x8e6b(%rip), %xmm0     # 0xf220
cvttsd2si %xmm0, %rcx
movb %ah, 0x8dbe(%rip)       # 0xf17e
movq %rcx, %rax
subsd 0x4f3d(%rip), %xmm0     # 0xb308
sarq $0x3f, %rax
cvttsd2si %xmm0, %rdx
andl %eax, %edx
orl %edx, %ecx
movl %ecx, %eax
shrl $0x8, %eax
xorl %r14d, %r14d
cmpb $0x0, 0x8e66(%rip)      # 0xf24d
cmovnel %r14d, %ecx
movb %dil, 0x8d8d(%rip)      # 0xf17f
cmovnel %r14d, %eax
movb %cl, 0x8d84(%rip)       # 0xf180
movb %al, 0x8d7f(%rip)       # 0xf181
movb %bl, 0x8d7a(%rip)       # 0xf182
movb %bh, 0x8d75(%rip)       # 0xf183
movq %rsi, %r12
movl %ebx, %eax
shrl $0x10, %eax
movb %al, 0x8d68(%rip)       # 0xf184
leaq 0x8d57(%rip), %r15      # 0xf17a
leaq 0xcf6e(%rip), %rbx      # 0x13398
movzbl (%r14,%r15), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x1e01
incq %r14
cmpq $0xb, %r14
jne 0x642a
cmpb $0x0, 0x8e01(%rip)      # 0xf24d
je 0x6476
movzbl 0x8df7(%rip), %esi      # 0xf24c
leaq 0xcf3c(%rip), %rdi      # 0x13398
movl $0x1, %edx
callq 0x1e01
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x161e
cmpb $0x0, 0x8dd1(%rip)      # 0xf24e
je 0x64b1
testq %r12, %r12
je 0x6466
xorl %r14d, %r14d
leaq 0x8c9f(%rip), %r15      # 0xf12d
leaq 0xcf03(%rip), %rbx      # 0x13398
movzbl (%r14,%r15), %esi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x1e01
incq %r14
cmpq %r14, %r12
jne 0x6495
jmp 0x6466
callq 0x1659
callq 0x161e
testq %r12, %r12
je 0x64eb
leaq 0x10ff1(%rip), %rbx     # 0x174b8
leaq 0xceca(%rip), %r14      # 0x13398
movq %rbx, %rdi
callq 0x1d8c
movzbl %al, %esi
movq %r14, %rdi
movl $0x1, %edx
callq 0x1e01
decq %r12
jne 0x64ce
callq 0x16fa
movzbl 0x8d89(%rip), %edi      # 0xf280
movq 0x8cea(%rip), %rsi      # 0xf1e8
xorl %edx, %edx
callq 0x10d0
movl $0x0, 0x8e71(%rip)      # 0xf380
jmp 0x6466
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: DecryptToneSearch
void DecryptToneSearch(void)
{
  tonesearch=1;
  pilotlength=BeepSearch(128);
  tonesearch=0;
  mspause+=(FindPause()/samprate)*1000;
}

// Assembly:
pushq %rax
movb $0x1, 0x8ce4(%rip)      # 0xf200
movl $0x80, %edi
callq 0x33d9
movl %eax, %eax
movq %rax, 0x156b1(%rip)     # 0x1bbe0
movb $0x0, 0x8cca(%rip)      # 0xf200
callq 0x43aa
testq %rax, %rax
js 0x6547
cvtsi2ss %rax, %xmm0
jmp 0x655c
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
divss 0x8c8c(%rip), %xmm0     # 0xf1f0
mulss 0x4e78(%rip), %xmm0     # 0xb3e4
cvtss2sd %xmm0, %xmm0
addsd 0x8ca8(%rip), %xmm0     # 0xf220
movsd %xmm0, 0x8ca0(%rip)     # 0xf220
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: WaveSearch
word WaveSearch(void)
{
  byte maxsmp=(samprate/500)/2;
  word length=0;
  dword pulse,last,read;
  read=pulse=FindEdge1();
  if (!blocktype) return read;
  do {
       last=pulse;
       pulse=FindEdge1();
       if (!blocktype) return read;
       length=(((read+=pulse)/samprate)*1000);
     }
  while ((last-pulse)<maxsmp/4 || length<20);
  return length;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movss 0x8c5d(%rip), %xmm0     # 0xf1f0
movss %xmm0, 0xc(%rsp)
callq 0x249f
movq %rax, %rbx
cmpb $0x0, 0x15119(%rip)     # 0x1b6c1
je 0x6634
movss 0xc(%rsp), %xmm0
divss 0x4e24(%rip), %xmm0     # 0xb3e0
mulss 0x4e24(%rip), %xmm0     # 0xb3e8
cvttss2si %xmm0, %eax
shrb $0x2, %al
movzbl %al, %r14d
movq %rbx, %r15
callq 0x249f
cmpb $0x0, 0x150e3(%rip)     # 0x1b6c1
je 0x6638
addq %rax, %r15
js 0x65ef
xorps %xmm0, %xmm0
cvtsi2ss %r15, %xmm0
jmp 0x660a
movq %r15, %rcx
shrq %rcx
movl %r15d, %edx
andl $0x1, %edx
orq %rcx, %rdx
xorps %xmm0, %xmm0
cvtsi2ss %rdx, %xmm0
addss %xmm0, %xmm0
divss 0x8bde(%rip), %xmm0     # 0xf1f0
mulss 0x4dca(%rip), %xmm0     # 0xb3e4
subq %rax, %rbx
cmpq %r14, %rbx
movq %rax, %rbx
jb 0x65d2
cvttss2si %xmm0, %rcx
movq %rax, %rbx
cmpl $0x14, %ecx
jb 0x65d2
jmp 0x663b
movl %ebx, %ecx
jmp 0x663b
movl %r15d, %ecx
movl %ecx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: FindLoadAddress
void FindLoadAddress(word limit)
{
  byte push=0,found=0,opcode=0;
  word count;
  dword savepos=filepos;
  slockloadaddress=0;
  ResetTempFile();
  do
     {
       for (count=0; ((count<limit) && !found); count++)
	   {
	     if (!found) if ((GetData(&tempfile))==0x19) { found=1;break; }
	   }
       if (!found) Error(11);
       opcode=GetData(&tempfile);
       if (opcode==1)
	  {
	    slockloadaddress+=GetData(&tempfile);
	    slockloadaddress+=256*(GetData(&tempfile));
	  }
       if (opcode==0x11)
	  {
	    slockloadaddress+=GetData(&tempfile);
	    slockloadaddress+=256*(GetData(&tempfile));
	  }
       if (opcode==0xd5) push=1;
     }
  while (!push);
  filepos=savepos;
  lseek(inpfile.handle,filepos,SEEK_SET);
  inpfile.bufpoint=0;
  ResetTempFile();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edi, %ebp
movq 0x85e4(%rip), %rbx      # 0xf1e8
movl $0x0, 0x862a(%rip)      # 0xf238
callq 0x161e
xorl %r15d, %r15d
leaq 0x1089b(%rip), %r14     # 0x174b8
testl %ebp, %ebp
sete %al
testb %r15b, %r15b
setne %cl
orb %al, %cl
jne 0x6c43
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x1d8c
cmpb $0x19, %al
je 0x6c4a
incl %r12d
cmpl %ebp, %r12d
jb 0x6c2f
testb %r15b, %r15b
jne 0x6c4d
jmp 0x6cc0
movb $0x1, %r15b
movq %r14, %rdi
callq 0x1d8c
cmpb $0x1, %al
je 0x6c6a
movzbl %al, %eax
cmpl $0x11, %eax
je 0x6c6a
cmpl $0xd5, %eax
jne 0x6c1d
jmp 0x6c91
movq %r14, %rdi
callq 0x1d8c
movzbl %al, %eax
addl %eax, 0x85bd(%rip)      # 0xf238
movq %r14, %rdi
callq 0x1d8c
movzbl %al, %eax
shll $0x8, %eax
addl %eax, 0x85a9(%rip)      # 0xf238
jmp 0x6c1d
movq %rbx, 0x8550(%rip)      # 0xf1e8
movzbl 0x85e1(%rip), %edi      # 0xf280
movq %rbx, %rsi
xorl %edx, %edx
callq 0x10d0
movl $0x0, 0x86cd(%rip)      # 0xf380
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x161e
movl $0xb, %edi
callq 0x140c
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: ReadZetaLoadFirstBlock
word ReadZetaLoadFirstBlock(void)
{
  word loaded;
  pilotlength=0;
  DataLoadOK=0;
  while (!DataLoadOK)
	{
	  PilotSearch(32);
	  if (!blocktype) return 0; if (!PilotLinkingOK) { pilotlength=0; return 0; }
	  mspause=0;
	  SyncSearch();
	  if (!blocktype) return 0; if (!SyncLoadOK) return 0;
	  bit0.freq=2044; bit1.freq=1022; SetTimings();
	  slockflagbits=4;
	  ReadSpeedlockFlag(bit0.samples,bit1.samples);
	  if (!blocktype) return 0;
	  bit0.freq=3100; bit1.freq=1550; SetTimings();
	  loaded=DataRead(bit0.samples,bit1.samples,expectedlength);
	  if (blocktype && blocks<=blockskip+1) mspause+=(FindPause()/samprate)*1000;
	}
  return loaded;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq $0x0, 0x14877(%rip) # 0x1bbe0
movb $0x0, 0x14879(%rip)     # 0x1bbe9
movabsq $0x409ff00000000000, %r14 # imm = 0x409FF00000000000
movabsq $0x408ff00000000000, %r15 # imm = 0x408FF00000000000
movl $0xff, %ebp
movabsq $0x40a8380000000000, %r12 # imm = 0x40A8380000000000
movabsq $0x4098380000000000, %r13 # imm = 0x4098380000000000
movl $0x20, %edi
callq 0x2ba3
xorl %ebx, %ebx
cmpb $0x0, 0x14311(%rip)     # 0x1b6c1
je 0x74e1
cmpb $0x0, 0x1481b(%rip)     # 0x1bbd8
je 0x74d6
movq $0x0, 0x7e52(%rip) # 0xf220
callq 0x2edd
cmpb $0x0, 0x142e7(%rip)     # 0x1b6c1
je 0x74e1
cmpb $0x0, 0x143d3(%rip)     # 0x1b7ba
je 0x74e1
movq %r14, 0x14384(%rip)     # 0x1b778
movq %r15, 0x1439d(%rip)     # 0x1b798
callq 0x240d
cvttsd2si 0x14380(%rip), %edi # 0x1b788
cvttsd2si 0x14398(%rip), %esi # 0x1b7a8
movb $0x4, 0x7d15(%rip)      # 0xf12c
andl %ebp, %edi
andl %ebp, %esi
callq 0x5d9c
cmpb $0x0, 0x1429a(%rip)     # 0x1b6c1
je 0x74e1
movq %r12, 0x14344(%rip)     # 0x1b778
movq %r13, 0x1435d(%rip)     # 0x1b798
callq 0x240d
movsd 0x14340(%rip), %xmm0    # 0x1b788
movsd 0x14358(%rip), %xmm1    # 0x1b7a8
movl 0x7dbe(%rip), %edi      # 0xf214
callq 0x38de
movq %rax, %rbx
cmpb $0x0, 0x1425c(%rip)     # 0x1b6c1
je 0x74c7
movl 0x7dbf(%rip), %eax      # 0xf22c
incl %eax
cmpl %eax, 0x7db3(%rip)      # 0xf228
ja 0x74c7
callq 0x43aa
testq %rax, %rax
js 0x748b
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
jmp 0x74a3
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
divss 0x7d45(%rip), %xmm0     # 0xf1f0
mulss 0x3f31(%rip), %xmm0     # 0xb3e4
cvtss2sd %xmm0, %xmm0
addsd 0x7d61(%rip), %xmm0     # 0xf220
movsd %xmm0, 0x7d59(%rip)     # 0xf220
cmpb $0x0, 0x1471b(%rip)     # 0x1bbe9
je 0x739d
jmp 0x74e1
movq $0x0, 0x146ff(%rip) # 0x1bbe0
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: WriteTZXNormalBlock
void WriteTZXNormalBlock(word datalen)
{
  word count;
  PushFilePointers();
  stdspeed[1]=Lo(mspause); stdspeed[2]=Hi(mspause);
  stdspeed[3]=Lo(datalen); stdspeed[4]=Hi(datalen);
  for (count=0; count<sizeof(stdspeed); count++) PutData(&outfile,stdspeed[count],1);
  ResetTempFile();
  for (count=0; count<datalen; count++) PutData(&outfile,GetData(&tempfile),1);
  PopFilePointers();
  lseek(inpfile.handle,filepos,SEEK_SET);
  inpfile.bufpoint=0;
  ResetTempFile();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
callq 0x1659
movsd 0x738e(%rip), %xmm0     # 0xf220
cvttsd2si %xmm0, %rcx
movq %rcx, %rdx
subsd 0x3466(%rip), %xmm0     # 0xb308
sarq $0x3f, %rdx
cvttsd2si %xmm0, %rax
andq %rdx, %rax
orq %rcx, %rax
movb %al, 0x72a2(%rip)       # 0xf159
movb %ah, 0x729d(%rip)       # 0xf15a
movb %bl, 0x7298(%rip)       # 0xf15b
movb %bh, 0x7293(%rip)       # 0xf15c
xorl %r15d, %r15d
leaq 0x7285(%rip), %r12      # 0xf158
leaq 0xb4be(%rip), %r14      # 0x13398
movzbl (%r15,%r12), %esi
movq %r14, %rdi
movl $0x1, %edx
callq 0x1e01
incq %r15
cmpq $0x5, %r15
jne 0x7eda
callq 0x161e
testl %ebx, %ebx
je 0x7f28
leaq 0xf5b3(%rip), %r15      # 0x174b8
leaq 0xb48c(%rip), %r14      # 0x13398
movq %r15, %rdi
callq 0x1d8c
movzbl %al, %esi
movq %r14, %rdi
movl $0x1, %edx
callq 0x1e01
decl %ebx
jne 0x7f0c
callq 0x16fa
movzbl 0x734c(%rip), %edi      # 0xf280
movq 0x72ad(%rip), %rsi      # 0xf1e8
xorl %edx, %edx
callq 0x10d0
movl $0x0, 0x7434(%rip)      # 0xf380
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x161e
// File: /workspace/github_c_makefile_star2_O3/mincebert[P]maketzx/maketzx.c
// Function: WriteTZXText
void WriteTZXText(void)
{
  byte count;
  text[1]=strlen(descr);
  for (count=0; count<sizeof(text); count++) PutData(&outfile,text[count],1);
  for (count=0; count<text[1]; count++) PutData(&outfile,descr[count],1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
leaq 0x140d0(%rip), %rbx     # 0x1c270
movq %rbx, %rdi
callq 0x10a0
movb %al, 0x6fe2(%rip)       # 0xf190
movzbl 0x6fda(%rip), %esi      # 0xf18f
leaq 0xb1dc(%rip), %r14      # 0x13398
movq %r14, %rdi
movl $0x1, %edx
callq 0x1e01
movzbl 0x6fc0(%rip), %esi      # 0xf190
movq %r14, %rdi
movl $0x1, %edx
callq 0x1e01
cmpb $0x0, 0x6fac(%rip)      # 0xf190
je 0x8211
xorl %r15d, %r15d
leaq 0xb1a8(%rip), %r14      # 0x13398
movzbl (%r15,%rbx), %esi
movq %r14, %rdi
movl $0x1, %edx
callq 0x1e01
incq %r15
movzbl 0x6f84(%rip), %eax      # 0xf190
cmpq %rax, %r15
jb 0x81f0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/antonblanchard[P]will-it-scale/tests/readseek1.c
// Function: testcase
void testcase(unsigned long long *iterations, unsigned long nr)
{
	char buf[BUFLEN];
	char tmpfile[] = "/tmp/willitscale.XXXXXX";
	int fd = mkstemp(tmpfile);

	memset(buf, 0, sizeof(buf));
	assert(fd >= 0);
	assert(write(fd, buf, sizeof(buf)) == sizeof(buf));
	unlink(tmpfile);

	while (1) {
		lseek(fd, 0, SEEK_SET);
		assert(read(fd, buf, BUFLEN) == BUFLEN);

		(*iterations)++;
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1020, %rsp           # imm = 0x1020
movq %rdi, %rbx
movaps 0x6c7(%rip), %xmm0      # 0x3360
movq %rsp, %rdi
movaps %xmm0, (%rdi)
movabsq $0x5858585858582e, %rax # imm = 0x5858585858582E
movq %rax, 0x10(%rdi)
callq 0x21e0
movl %eax, %ebp
leaq 0x20(%rsp), %rdi
movl $0x1000, %edx           # imm = 0x1000
xorl %esi, %esi
callq 0x2140
testl %ebp, %ebp
js 0x2d5f
leaq 0x20(%rsp), %rsi
movl $0x1000, %edx           # imm = 0x1000
movl %ebp, %edi
callq 0x20d0
cmpq $0x1000, %rax           # imm = 0x1000
jne 0x2d7e
movq %rsp, %rdi
callq 0x2080
movl %ebp, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2120
leaq 0x20(%rsp), %rsi
movl $0x1000, %edx           # imm = 0x1000
movl %ebp, %edi
callq 0x2160
cmpq $0x1000, %rax           # imm = 0x1000
jne 0x2d40
leaq 0x20(%rsp), %r14
incq (%rbx)
movl %ebp, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2120
movl $0x1000, %edx           # imm = 0x1000
movl %ebp, %edi
movq %r14, %rsi
callq 0x2160
cmpq $0x1000, %rax           # imm = 0x1000
je 0x2d1b
leaq 0x5f1(%rip), %rdi       # 0x3338
leaq 0x57a(%rip), %rsi       # 0x32c8
leaq 0x585(%rip), %rcx       # 0x32da
movl $0x18, %edx
callq 0x2130
leaq 0x55a(%rip), %rdi       # 0x32c0
leaq 0x55b(%rip), %rsi       # 0x32c8
leaq 0x566(%rip), %rcx       # 0x32da
movl $0x12, %edx
callq 0x2130
leaq 0x588(%rip), %rdi       # 0x330d
leaq 0x53c(%rip), %rsi       # 0x32c8
leaq 0x547(%rip), %rcx       # 0x32da
movl $0x13, %edx
callq 0x2130
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: panic
static int panic(lua_State*L){
(void)L;
fprintf(stderr,"PANIC: unprotected error in call to Lua API (%s)\n",
lua_tostring(L,-1));
return 0;
}

// Assembly:
pushq %rbx
movq 0x18ce0(%rip), %rax     # 0x1bff8
movq (%rax), %rbx
pushq $-0x1
popq %rsi
xorl %edx, %edx
callq 0x3d8d
leaq 0x125c6(%rip), %rsi     # 0x158f2
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x3180
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: lua_pushstring
static void lua_pushstring(lua_State*L,const char*s){
if(s==NULL)
lua_pushnil(L);
else
lua_pushlstring(L,s,strlen(s));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x3915
movq %rsi, %r14
movq %rsi, %rdi
callq 0x30e0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x94a5
movq 0x10(%rbx), %rax
movl $0x0, 0x8(%rax)
addq $0x10, %rax
movq %rax, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: lua_rawseti
static void lua_rawseti(lua_State*L,int idx,int n){
StkId o;
api_checknelems(L,1);
o=index2adr(L,idx);
luai_apicheck(L,ttistable(o));
setobj(L,luaH_setnum(L,hvalue(o),n),L->top-1);
luaC_barriert(L,hvalue(o),L->top-1);
L->top--;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
callq 0x9d4e
movq %rax, %r14
movq 0x10(%rbx), %r15
movq (%rax), %rsi
movq %rbx, %rdi
movl %ebp, %edx
callq 0x77a3
movq -0x10(%r15), %rcx
movq %rcx, (%rax)
movl -0x8(%r15), %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rbx), %rax
cmpl $0x4, -0x8(%rax)
jl 0x399c
movq -0x10(%rax), %rcx
testb $0x3, 0x9(%rcx)
je 0x399c
movq (%r14), %rcx
movb 0x9(%rcx), %dl
testb $0x4, %dl
je 0x399c
movq 0x20(%rbx), %rax
andb $-0x5, %dl
movb %dl, 0x9(%rcx)
movq 0x40(%rax), %rdx
movq %rdx, 0x30(%rcx)
movq %rcx, 0x40(%rax)
movq 0x10(%rbx), %rax
addq $-0x10, %rax
movq %rax, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: lua_setfield
static void lua_setfield(lua_State*L,int idx,const char*k){
StkId t;
TValue key;
api_checknelems(L,1);
t=index2adr(L,idx);
api_checkvalidindex(L,t);
setsvalue(L,&key,luaS_new(L,k));
luaV_settable(L,t,&key,L->top-1);
L->top--;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rdi, %rbx
callq 0x9d4e
movq %rax, %r15
movq %r14, %rdi
callq 0x30e0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x4265
movq %rsp, %rdx
movq %rax, (%rdx)
movl $0x4, 0x8(%rdx)
movq 0x10(%rbx), %rcx
addq $-0x10, %rcx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x729b
addq $-0x10, 0x10(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: lua_pcall
static int lua_pcall(lua_State*L,int nargs,int nresults,int errfunc){
struct CallS c;
int status;
ptrdiff_t func;
api_checknelems(L,nargs+1);
checkresults(L,nargs,nresults);
if(errfunc==0)
func=0;
else{
StkId o=index2adr(L,errfunc);
api_checkvalidindex(L,o);
func=savestack(L,o);
}
c.func=L->top-(nargs+1);
c.nresults=nresults;
status=luaD_pcall(L,f_call,&c,savestack(L,c.func),func);
adjustresults(L,nresults);
return status;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rdi, %rbx
notl %esi
movslq %esi, %rcx
shlq $0x4, %rcx
addq 0x10(%rdi), %rcx
leaq 0x8(%rsp), %rdx
movq %rcx, (%rdx)
movl %ebp, 0x8(%rdx)
subq 0x40(%rdi), %rcx
leaq 0x109de(%rip), %rsi     # 0x14745
xorl %r8d, %r8d
callq 0xb24e
cmpl $-0x1, %ebp
jne 0x3d86
movq 0x10(%rbx), %rcx
movq 0x28(%rbx), %rdx
cmpq 0x10(%rdx), %rcx
jb 0x3d86
movq %rcx, 0x10(%rdx)
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: lua_tolstring
static const char*lua_tolstring(lua_State*L,int idx,size_t*len){
StkId o=index2adr(L,idx);
if(!ttisstring(o)){
if(!luaV_tostring(L,o)){
if(len!=NULL)*len=0;
return NULL;
}
luaC_checkGC(L);
o=index2adr(L,idx);
}
if(len!=NULL)*len=tsvalue(o)->len;
return svalue(o);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
callq 0x9d4e
cmpl $0x4, 0x8(%rax)
je 0x3dd3
movq %r14, %rdi
movq %rax, %rsi
callq 0x51cc
testl %eax, %eax
je 0x3dee
movq 0x20(%r14), %rax
movq 0x78(%rax), %rcx
cmpq 0x70(%rax), %rcx
jb 0x3dc9
movq %r14, %rdi
callq 0x6bbf
movq %r14, %rdi
movl %ebp, %esi
callq 0x9d4e
testq %rbx, %rbx
je 0x3de2
movq (%rax), %rcx
movq 0x10(%rcx), %rcx
movq %rcx, (%rbx)
movq (%rax), %rax
addq $0x18, %rax
popq %rbx
popq %r14
popq %rbp
retq
testq %rbx, %rbx
je 0x3dfa
movq $0x0, (%rbx)
xorl %eax, %eax
jmp 0x3de9
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: l_alloc
static void*l_alloc(void*ud,void*ptr,size_t osize,size_t nsize){
(void)ud;
(void)osize;
if(nsize==0){
free(ptr);
return NULL;
}
else
return realloc(ptr,nsize);
}

// Assembly:
movq %rsi, %rdi
testq %rcx, %rcx
je 0x3e0e
movq %rcx, %rsi
jmp 0x3230
pushq %rax
callq 0x3040
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: f_luaopen
static void f_luaopen(lua_State*L,void*ud){
global_State*g=G(L);
UNUSED(ud);
stack_init(L,L);
sethvalue(L,gt(L),luaH_new(L,0,2));
sethvalue(L,registry(L),luaH_new(L,0,2));
luaS_resize(L,32);
luaT_init(L);
luaX_init(L);
luaS_fix(luaS_newliteral(L,"not enough memory"));
g->GCthreshold=4*g->totalbytes;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %r15
xorl %r12d, %r12d
movl $0x140, %ecx            # imm = 0x140
xorl %esi, %esi
xorl %edx, %edx
callq 0x43d1
movq %rax, 0x50(%rbx)
movq %rax, 0x28(%rbx)
movl $0x8, 0x5c(%rbx)
addq $0x118, %rax            # imm = 0x118
movq %rax, 0x48(%rbx)
movl $0x2d0, %ecx            # imm = 0x2D0
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x43d1
movq %rax, 0x40(%rbx)
movl $0x2d, 0x58(%rbx)
leaq 0x270(%rax), %rcx
movq %rcx, 0x38(%rbx)
movq 0x28(%rbx), %rcx
movq %rax, 0x8(%rcx)
leaq 0x10(%rax), %rdx
movq %rdx, 0x10(%rbx)
movl $0x0, 0x8(%rax)
movq %rdx, (%rcx)
movq %rdx, 0x18(%rbx)
addq $0x150, %rax            # imm = 0x150
movq %rax, 0x10(%rcx)
movq %rbx, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x40f7
movq %rax, 0x78(%rbx)
movl $0x5, %ebp
movl %ebp, 0x80(%rbx)
movq 0x20(%rbx), %r14
movq %rbx, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x40f7
movq %rax, 0xa0(%r14)
movl %ebp, 0xa8(%r14)
movq %rbx, %rdi
movl $0x20, %esi
callq 0x417d
leaq 0x1795e(%rip), %r13     # 0x1b8c0
movq (%r12,%r13), %r14
movq %r14, %rdi
callq 0x30e0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x4265
movq 0x20(%rbx), %rcx
movq %rax, 0x128(%rcx,%r12)
movq 0x20(%rbx), %rax
movq 0x128(%rax,%r12), %rax
orb $0x20, 0x9(%rax)
addq $0x8, %r12
cmpq $0x88, %r12
jne 0x3f62
movb $0x1, %bpl
xorl %r12d, %r12d
leaq 0x1799e(%rip), %r13     # 0x1b950
movq (%r12,%r13), %r14
movq %r14, %rdi
callq 0x30e0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x4265
orb $0x20, 0x9(%rax)
movb %bpl, 0xa(%rax)
addq $0x8, %r12
incb %bpl
cmpq $0xa8, %r12
jne 0x3fb2
leaq 0x1162c(%rip), %rsi     # 0x15617
movl $0x11, %edx
movq %rbx, %rdi
callq 0x4265
orb $0x20, 0x9(%rax)
movq 0x78(%r15), %rax
shlq $0x2, %rax
movq %rax, 0x70(%r15)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: close_state
static void close_state(lua_State*L){
global_State*g=G(L);
luaF_close(L,L->stack);
luaC_freeall(L);
luaM_freearray(L,G(L)->strt.hash,G(L)->strt.size,TString*);
luaZ_freebuffer(L,&g->buff);
freestack(L,L);
(*g->frealloc)(g->ud,fromstate(L),state_size(LG),0);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %r15
movq 0x40(%rdi), %rsi
callq 0x44b4
movq 0x20(%rbx), %r14
movb $0x43, 0x20(%r14)
leaq 0x28(%r14), %rsi
movq %rbx, %rdi
movq $-0x3, %rdx
callq 0x8b0a
cmpl $0x0, 0xc(%r14)
jle 0x407e
xorl %r12d, %r12d
xorl %r13d, %r13d
movq (%r14), %rsi
addq %r12, %rsi
movq %rbx, %rdi
movq $-0x3, %rdx
callq 0x8b0a
incq %r13
movslq 0xc(%r14), %rax
addq $0x8, %r12
cmpq %rax, %r13
jl 0x4059
movq 0x20(%rbx), %r12
movslq 0xc(%r12), %r14
shlq $0x3, %r14
movq (%r12), %rsi
movq 0x18(%r12), %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq *0x10(%r12)
subq %r14, 0x78(%r12)
movq 0x58(%r15), %rsi
movq 0x68(%r15), %r14
movq 0x20(%rbx), %r12
movq 0x18(%r12), %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq *0x10(%r12)
subq %r14, 0x78(%r12)
movq %rax, 0x58(%r15)
movq $0x0, 0x68(%r15)
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x8feb
movq 0x10(%r15), %rax
movq 0x18(%r15), %rdi
movl $0x268, %edx            # imm = 0x268
movq %rbx, %rsi
xorl %ecx, %ecx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmpq *%rax
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaH_new
static Table*luaH_new(lua_State*L,int narray,int nhash){
Table*t=luaM_new(L,Table);
luaC_link(L,obj2gco(t),5);
t->metatable=NULL;
t->flags=cast_byte(~0);
t->array=NULL;
t->sizearray=0;
t->lsizenode=0;
t->node=cast(Node*,(&dummynode_));
setarrayvector(L,t,narray);
setnodevector(L,t,nhash);
return t;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
movl $0x40, %ecx
xorl %esi, %esi
xorl %edx, %edx
callq 0x43d1
movq %rax, %r15
movq 0x20(%r14), %rax
movq 0x28(%rax), %rcx
movq %rcx, (%r15)
movq %r15, 0x28(%rax)
movb 0x20(%rax), %al
andb $0x3, %al
movb %al, 0x9(%r15)
movb $0x5, 0x8(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movw $0xff, 0xa(%r15)
movl $0x0, 0x38(%r15)
leaq 0x11357(%rip), %rax     # 0x154a8
movq %rax, 0x20(%r15)
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x8055
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq 0x81ae
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaS_resize
static void luaS_resize(lua_State*L,int newsize){
GCObject**newhash;
stringtable*tb;
int i;
if(G(L)->gcstate==2)
return;
newhash=luaM_newvector(L,newsize,GCObject*);
tb=&G(L)->strt;
for(i=0;i<newsize;i++)newhash[i]=NULL;
for(i=0;i<tb->size;i++){
GCObject*p=tb->hash[i];
while(p){
GCObject*next=p->gch.next;
unsigned int h=gco2ts(p)->hash;
int h1=lmod(h,newsize);
p->gch.next=newhash[h1];
newhash[h1]=p;
p=next;
}
}
luaM_freearray(L,tb->hash,tb->size,TString*);
tb->size=newsize;
tb->hash=newhash;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x20(%rdi), %rax
cmpb $0x2, 0x21(%rax)
je 0x4245
movl %esi, %ebx
movq %rdi, %r14
cmpl $-0x2, %esi
jle 0x4254
movslq %ebx, %rbp
leaq (,%rbp,8), %rcx
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x43d1
movq %rax, %r15
movq 0x20(%r14), %r13
testl %ebx, %ebx
jle 0x41d6
movl %ebx, %edx
shlq $0x3, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x3100
movslq 0xc(%r13), %r12
testq %r12, %r12
jle 0x4220
decq %rbp
xorl %eax, %eax
movl %r12d, %ecx
movq (%r13), %rdx
movq (%rdx,%rax,8), %rdx
testq %rdx, %rdx
je 0x4215
movq (%rdx), %rcx
movslq 0xc(%rdx), %rsi
andq %rbp, %rsi
movq (%r15,%rsi,8), %rdi
movq %rdi, (%rdx)
movq %rdx, (%r15,%rsi,8)
movq %rcx, %rdx
testq %rcx, %rcx
jne 0x41f4
movl 0xc(%r13), %ecx
incq %rax
movslq %ecx, %r12
cmpq %r12, %rax
jl 0x41e7
movq (%r13), %rsi
shlq $0x3, %r12
movq 0x20(%r14), %r14
movq 0x18(%r14), %rdi
movq %r12, %rdx
xorl %ecx, %ecx
callq *0x10(%r14)
subq %r12, 0x78(%r14)
movl %ebx, 0xc(%r13)
movq %r15, (%r13)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x113e6(%rip), %rsi     # 0x15641
movq %r14, %rdi
xorl %eax, %eax
callq 0x47e0
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaS_newlstr
static TString*luaS_newlstr(lua_State*L,const char*str,size_t l){
GCObject*o;
unsigned int h=cast(unsigned int,l);
size_t step=(l>>5)+1;
size_t l1;
for(l1=l;l1>=step;l1-=step)
h=h^((h<<5)+(h>>2)+cast(unsigned char,str[l1-1]));
for(o=G(L)->strt.hash[lmod(h,G(L)->strt.size)];
o!=NULL;
o=o->gch.next){
TString*ts=rawgco2ts(o);
if(ts->tsv.len==l&&(memcmp(str,getstr(ts),l)==0)){
if(isdead(G(L),o))changewhite(o);
return ts;
}
}
return newlstr(L,str,l,h);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rdx, %rdx
je 0x42b1
movq %r14, %rax
shrq $0x5, %rax
movq %rax, %rcx
notq %rcx
movq %r14, %rdx
movl %r14d, %ebp
movl %ebp, %esi
shll $0x5, %esi
movl %ebp, %edi
shrl $0x2, %edi
addl %esi, %edi
movzbl -0x1(%r15,%rdx), %esi
addl %edi, %esi
xorl %esi, %ebp
addq %rcx, %rdx
cmpq %rax, %rdx
ja 0x4291
jmp 0x42b3
xorl %ebp, %ebp
movq 0x20(%rbx), %r13
movq (%r13), %rax
movslq 0xc(%r13), %rcx
decq %rcx
movslq %ebp, %rdx
andq %rcx, %rdx
movq (%rax,%rdx,8), %r12
testq %r12, %r12
je 0x42f6
cmpq %r14, 0x10(%r12)
jne 0x42f0
leaq 0x18(%r12), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x3200
testl %eax, %eax
je 0x4395
movq (%r12), %r12
jmp 0x42cc
leaq 0x1b(%r14), %rax
cmpq $0x19, %rax
jbe 0x43c0
leaq 0x19(%r14), %rcx
xorl %r13d, %r13d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x43d1
movq %rax, %r12
movq %r14, 0x10(%rax)
movl %ebp, 0xc(%rax)
movq 0x20(%rbx), %rax
movb 0x20(%rax), %al
andb $0x3, %al
movb %al, 0x9(%r12)
movb $0x4, 0x8(%r12)
movb %r13b, 0xa(%r12)
leaq 0x18(%r12), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x31b0
movb %r13b, 0x18(%r12,%r14)
movq 0x20(%rbx), %rax
movl 0xc(%rax), %ecx
decl %ecx
andl %ebp, %ecx
movq (%rax), %rdx
movq (%rdx,%rcx,8), %rdx
movq %rdx, (%r12)
movq (%rax), %rdx
movq %r12, (%rdx,%rcx,8)
movl 0x8(%rax), %ecx
movl 0xc(%rax), %esi
incl %ecx
cmpl %esi, %ecx
setbe %dl
movl %ecx, 0x8(%rax)
cmpl $0x3fffffff, %esi       # imm = 0x3FFFFFFF
setge %al
orb %dl, %al
jne 0x43ae
addl %esi, %esi
movq %rbx, %rdi
callq 0x417d
jmp 0x43ae
movb 0x9(%r12), %al
movb 0x20(%r13), %cl
notb %cl
andb %al, %cl
testb $0x3, %cl
je 0x43ae
xorb $0x3, %al
movb %al, 0x9(%r12)
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1127a(%rip), %rsi     # 0x15641
movq %rbx, %rdi
xorl %eax, %eax
callq 0x47e0
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaM_realloc_
static void*luaM_realloc_(lua_State*L,void*block,size_t osize,size_t nsize){
global_State*g=G(L);
block=(*g->frealloc)(g->ud,block,osize,nsize);
if(block==NULL&&nsize>0)
luaD_throw(L,4);
g->totalbytes=(g->totalbytes-osize)+nsize;
return block;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movq 0x20(%rdi), %r12
movq 0x18(%r12), %rdi
callq *0x10(%r12)
testq %rbx, %rbx
je 0x43fa
testq %rax, %rax
je 0x440e
subq %r14, %rbx
addq %rbx, 0x78(%r12)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r15, %rdi
movl $0x4, %esi
callq 0x441b
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaD_throw
static void luaD_throw(lua_State*L,int errcode){
if(L->errorJmp){
L->errorJmp->status=errcode;
LUAI_THROW(L,L->errorJmp);
}
else{
L->status=cast_byte(errcode);
if(G(L)->panic){
resetstack(L,errcode);
G(L)->panic(L);
}
exit(EXIT_FAILURE);
}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0xa8(%rdi), %rdi
testq %rdi, %rdi
jne 0x44a0
movb %bpl, 0xa(%rbx)
movq 0x20(%rbx), %rax
cmpq $0x0, 0x98(%rax)
je 0x4496
leaq 0xa8(%rbx), %r14
movq 0x50(%rbx), %rax
movq %rax, 0x28(%rbx)
movq (%rax), %rsi
movq %rsi, 0x18(%rbx)
movq %rbx, %rdi
callq 0x44b4
movq 0x18(%rbx), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x4597
movzwl 0x62(%rbx), %eax
movw %ax, 0x60(%rbx)
movb $0x1, 0x65(%rbx)
movq %rbx, %rdi
callq 0x4600
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq 0x20(%rbx), %rax
movq %rbx, %rdi
callq *0x98(%rax)
movl $0x1, %edi
callq 0x32a0
movl %ebp, 0xd0(%rdi)
addq $0x8, %rdi
movl $0x1, %esi
callq 0x3240
// File: /workspace/github_c_makefile_star2_O3/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaF_close
static void luaF_close(lua_State*L,StkId level){
UpVal*uv;
global_State*g=G(L);
while(L->openupval!=NULL&&(uv=ngcotouv(L->openupval))->v>=level){
GCObject*o=obj2gco(uv);
L->openupval=uv->next;
if(isdead(g,o))
luaF_freeupval(L,uv);
else{
unlinkupval(uv);
setobj(L,&uv->u.value,uv->v);
uv->v=&uv->u.value;
luaC_linkupval(L,uv);
}
}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq 0x98(%rdi), %rsi
testq %rsi, %rsi
je 0x4591
movq %rdi, %r14
movq 0x20(%rdi), %r15
cmpq %rbx, 0x10(%rsi)
jb 0x4591
movq (%rsi), %rax
movq %rax, 0x98(%r14)
movb 0x20(%r15), %al
notb %al
andb 0x9(%rsi), %al
testb $0x3, %al
je 0x4501
movq %r14, %rdi
callq 0x4673
jmp 0x4581
leaq 0x18(%rsi), %rax
movq 0x18(%rsi), %rcx
movq 0x20(%rsi), %rdx
movq %rcx, 0x18(%rdx)
movq 0x20(%rsi), %rdx
movq %rdx, 0x20(%rcx)
movq 0x10(%rsi), %rcx
movq (%rcx), %rdx
movq %rdx, 0x18(%rsi)
movl 0x8(%rcx), %edx
movl %edx, 0x20(%rsi)
movq %rax, 0x10(%rsi)
movq 0x20(%r14), %rdi
movq 0x28(%rdi), %rcx
movq %rcx, (%rsi)
movq %rsi, 0x28(%rdi)
movb 0x9(%rsi), %cl
testb $0x7, %cl
jne 0x4581
cmpb $0x1, 0x21(%rdi)
jne 0x4577
movl %ecx, %edi
orb $0x4, %dil
movb %dil, 0x9(%rsi)
cmpl $0x4, %edx
jl 0x4581
movq (%rax), %rax
testb $0x3, 0x9(%rax)
je 0x4581
movq 0x20(%r14), %rdi
cmpb $0x1, 0x21(%rdi)
jne 0x4577
movq %rax, %rsi
callq 0x46ab
jmp 0x4581
movb 0x20(%rdi), %al
andb $0x3, %al
orb %cl, %al
movb %al, 0x9(%rsi)
movq 0x98(%r14), %rsi
testq %rsi, %rsi
jne 0x44d3
popq %rbx
popq %r14
popq %r15
retq