// File: /workspace/github_c_makefile_star2_O0/anuwu[P]ERPLAG-Compiler/symbolTable.c
// Function: fillSymbolTable
baseST * fillSymbolTable (astNode * thisASTNode , int depthSTPrint) 
{
	astNode * currentASTNode = thisASTNode ;
	realBase = createBaseST () ;

	//****************************************************************
	astNode * moduleDECS = currentASTNode->child ;
	currentASTNode = moduleDECS->child ;
	while (currentASTNode) 
	{
		varST * searchResult ;
		if((searchResult =  searchVarInbaseST (currentASTNode->tok->lexeme))) 
		{
			errSemantic () ;
			#ifdef _WIN64
				printf ("In line %d, \"%s\" module already declared.\n" , currentASTNode->tok->lineNumber, searchResult->lexeme ) ;
			#endif
			#if defined __linux__ || __MACH__
				printf ("In line " ANSI_BOLD ANSI_CYAN "%d" ANSI_RESET ", " ANSI_BOLD ANSI_RED "%s" ANSI_RESET " module already declared.\n" , currentASTNode->tok->lineNumber, searchResult->lexeme ) ;
			#endif
			realBase->semanticError = 1 ;
		}
		else {
			varST * tmp = createVarST (currentASTNode->tok->lexeme , realBase , VAR_MODULE, TK_ID) ;
			insertVarSTInbaseST (tmp) ;
		}

		currentASTNode = currentASTNode->next ;
	}

	//***************************************************************
	astNode * otherMODS = moduleDECS->next ;
	moduleST *searchCond ;
	
	for (int otherMODS_Count = 1 ; otherMODS_Count <= 2 ; otherMODS_Count++)
	{
		currentASTNode = otherMODS->child ;
		//currentASTNode is now a modulef
		while (currentASTNode) 
		{
			searchCond = searchModuleInbaseST (currentASTNode->child->tok->lexeme) ;
			
			if (searchCond == NULL) {
				// need to create and insert
				moduleST * moduleToInsert = createModuleST ((void *)realBase, currentASTNode->child->tok->lexeme, 16) ;

				// filling input_plist and output_plist
				astNode * input_plistAST = currentASTNode->child->next ;
				astNode * iplAST = input_plistAST->child ;

				while (iplAST) 
				{

					if (searchVarModule (moduleToInsert , iplAST->child->tok->lexeme) != NULL ) 
					{
						errSemantic () ;
						#ifdef _WIN64
							printf ("In the signature of \"%s\" at line %d, input variable \"%s\" already declared\n", moduleToInsert->lexeme,iplAST->child->tok->lineNumber, iplAST->child->tok->lexeme) ;
						#endif
						#if defined __linux__ || __MACH__
							printf ("In the signature of " ANSI_BOLD "%s" ANSI_RESET " at line " ANSI_BOLD ANSI_CYAN "%d" ANSI_RESET ", " ANSI_BOLD ANSI_BLACK "input" ANSI_RESET " variable " ANSI_BOLD ANSI_RED "%s" ANSI_RESET " already declared\n", moduleToInsert->lexeme,iplAST->child->tok->lineNumber, iplAST->child->tok->lexeme) ;
						#endif
						realBase->semanticError = 1 ;
					}
					else{
						varST * tmp = createVarST (iplAST->child->tok->lexeme, moduleToInsert , VAR_INPUT, -9999) ;
						int retSize ;
					
						if ( iplAST->child->next->dtTag == PRIMITIVE) 
						{
							tmp->datatype = iplAST->child->next->dt->pType ;

							// Setting and increasing offset
							retSize = getSize (tmp) ;
							tmp->offset = -moduleToInsert->currOffset ;
							moduleToInsert->currOffset += retSize ;
							moduleToInsert->inputSize += retSize ;
						}
						else{
							// array 
							tmp->datatype = TK_ARRAY ;
							tmp->arrayIndices = iplAST->child->next->dt->arrType ;

							retSize = getSize (tmp) ;		// Return will be positive or -1	

							if (retSize > 0)
							{
								tmp->offset = -moduleToInsert->currOffset ;
								tmp->size = retSize ;
								moduleToInsert->currOffset += retSize ;
								moduleToInsert->inputSize += retSize ;
							}
							else
								tmp->offset = retSize ;
						}

						insertVar (moduleToInsert , tmp, INSERT_INPUT) ;
					}
				
					iplAST = iplAST->next ;
				}

				astNode * retAST = input_plistAST->next ;
				astNode * oplAST = retAST->child ;
				

				// Handle exact offsets later

				while (oplAST) 
				{
					// Input and output parameters CANNOT share identifiers
					varST *searchedInput, *searchedOutput ;
					searchedInput = searchVarModuleList (moduleToInsert , oplAST->child->tok->lexeme, SEARCH_INPUT) ;
					searchedOutput = searchVarModuleList (moduleToInsert , oplAST->child->tok->lexeme, SEARCH_OUTPUT) ;

					if (searchedInput != NULL) 
					{
						errSemantic () ;
						#ifdef _WIN64
							printf ("In the signature of \"%s\" at line %d, input  variable \"%s\" is already declared\n", moduleToInsert->lexeme,oplAST->child->tok->lineNumber, oplAST->child->tok->lexeme) ;
						#endif
						#if defined __linux__ || __MACH__
							printf ("In the signature of " ANSI_BOLD "%s" ANSI_RESET " at line " ANSI_BOLD ANSI_CYAN "%d" ANSI_RESET ", " ANSI_BOLD ANSI_BLACK "input " ANSI_RESET " variable " ANSI_BOLD ANSI_RED "%s" ANSI_RESET " is already declared\n", moduleToInsert->lexeme,oplAST->child->tok->lineNumber, oplAST->child->tok->lexeme) ;
						#endif
						realBase->semanticError = 1 ;
					}
					else if (searchedOutput != NULL)
					{
						errSemantic () ;
						#ifdef _WIN64
							printf ("In the signature of \"%s\" at line %d, output variable \"%s\" is already declared\n", moduleToInsert->lexeme,oplAST->child->tok->lineNumber, oplAST->child->tok->lexeme) ;
						#endif
						#if defined __linux__ || __MACH__
							printf ("In the signature of " ANSI_BOLD "%s" ANSI_RESET " at line " ANSI_BOLD ANSI_CYAN "%d" ANSI_RESET ", " ANSI_BOLD ANSI_BLACK "output" ANSI_RESET " variable " ANSI_BOLD ANSI_RED "%s" ANSI_RESET " is already declared\n", moduleToInsert->lexeme,oplAST->child->tok->lineNumber, oplAST->child->tok->lexeme) ;
						#endif
						realBase->semanticError = 1 ;
					}
					else
					{
						varST * tmp = createVarST ( oplAST->child->tok->lexeme , moduleToInsert, VAR_OUTPUT, oplAST->child->next->id) ;
						int retSize = getSize (tmp) ;

						tmp->offset = -moduleToInsert->currOffset ;
						tmp->size = retSize ;
						moduleToInsert->currOffset += retSize ;
						moduleToInsert->outputSize += retSize ;
						insertVar (moduleToInsert, tmp, INSERT_OUTPUT) ;
					}
					
					oplAST = oplAST->next ;
				}

				moduleToInsert->currOffset = 0 ;	//resetting for input values
				insertModuleSTInbaseST (moduleToInsert) ;

			}
			else {
				// Only valid when otherMODS_Count = 1
				errSemantic () ;
				#ifdef _WIN64
					printf ("In line %d, module \"%s\" already defined\n", currentASTNode->child->tok->lineNumber, currentASTNode->child->tok->lexeme) ;
				#endif
				#if defined __linux__ || __MACH__
					printf ("In line " ANSI_BOLD ANSI_CYAN "%d" ANSI_RESET ", module " ANSI_BOLD "%s" ANSI_RESET " already defined\n", currentASTNode->child->tok->lineNumber, currentASTNode->child->tok->lexeme) ;
				#endif
				realBase->semanticError = 1 ;
				currentASTNode->child->prev = currentASTNode->child ;		// Encoding to be removed later
			}

			currentASTNode = currentASTNode->next ;
		}

		if (otherMODS->next != NULL)
			otherMODS = otherMODS->next->next ;
	}

	// ------------------------------------------------- fillModuleST --------------------------------------

	otherMODS = moduleDECS->next ;


	for (int otherMODS_Count = 1 ; otherMODS_Count <= 2 ; otherMODS_Count++)
	{
		currentASTNode = otherMODS->child ;

		//currentASTNode is now a module
		while (currentASTNode)
		{
			if (currentASTNode->child->prev == currentASTNode->child)		// For invalid nodes
			{
				currentASTNode->child->prev = NULL ;
				currentASTNode = currentASTNode->next ;
				continue ;
			}
			
			moduleST *moduleToInsert = searchModuleInbaseST (currentASTNode->child->tok->lexeme) ;
			fillModuleST (moduleToInsert , currentASTNode->child->next->next->next, depthSTPrint) ;

			if (!checkAllOutputsTinkered(moduleToInsert))
			{
				errWarning () ;
				#ifdef _WIN64
					printf ("In the signature of \"%s\", the following output variables are not assigned - ", moduleToInsert->lexeme) ;
				#endif
				#if defined __linux__ || __MACH__
					printf ("In the signature of " ANSI_BOLD "%s" ANSI_RESET ", the following " ANSI_BOLD ANSI_BLACK "output" ANSI_RESET " variables are not assigned - ", moduleToInsert->lexeme) ;
				#endif
				printOutputsNotTinkered (moduleToInsert) ;
				printf ("\n") ;
			}

			moduleToInsert->filledMod = 1 ;
			printModuleST (moduleToInsert, depthSTPrint) ;

			currentASTNode = currentASTNode->next ;
		}

		if (otherMODS->next != NULL)
		{
			astNode * driverMODS = otherMODS->next ;
			moduleST * driverST = createDriverST() ;
			realBase->driverST = driverST ;
			
			fillModuleST (driverST , driverMODS->child, depthSTPrint) ;
			printModuleST (driverST, depthSTPrint) ;
			
			otherMODS = otherMODS->next->next ;
		}
	}

	//*****************************************************************
			
	return realBase ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
callq 0x103f0
movq %rax, 0x23832(%rip)     # 0x37008
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x1388e
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x10930
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0x1384e
movb $0x0, %al
callq 0x14d10
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movl 0x10(%rax), %esi
movq -0x28(%rbp), %rax
movq (%rax), %rdx
leaq 0x5686(%rip), %rdi      # 0x18eba
movb $0x0, %al
callq 0x1090
movq 0x237c6(%rip), %rax     # 0x37008
movl $0x1, 0xd8(%rax)
jmp 0x1387d
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
movq 0x237a7(%rip), %rsi     # 0x37008
movl $0x5, %edx
movl $0x40, %ecx
callq 0x10660
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x10760
movq -0x18(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x137ee
movq -0x20(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x38(%rbp)
movl $0x1, -0x44(%rbp)
cmpl $0x2, -0x44(%rbp)
jg 0x13d71
movq -0x38(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x13d46
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x109b0
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
jne 0x13cdc
movq 0x2371b(%rip), %rdi     # 0x37008
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rsi
movl $0x10, %edx
callq 0x10480
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x38(%rax), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x60(%rbp)
cmpq $0x0, -0x60(%rbp)
je 0x13ae4
movq -0x50(%rbp), %rdi
movq -0x60(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rsi
callq 0x10b20
cmpq $0x0, %rax
je 0x139a2
movb $0x0, %al
callq 0x14d10
movq -0x50(%rbp), %rax
movq (%rax), %rsi
movq -0x60(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movl 0x10(%rax), %edx
movq -0x60(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
leaq 0x5578(%rip), %rdi      # 0x18efd
movb $0x0, %al
callq 0x1090
movq 0x23675(%rip), %rax     # 0x37008
movl $0x1, 0xd8(%rax)
jmp 0x13ad3
movq -0x60(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
movq -0x50(%rbp), %rsi
xorl %edx, %edx
movl $0xffffd8f1, %ecx       # imm = 0xFFFFD8F1
callq 0x10660
movq %rax, -0x68(%rbp)
movq -0x60(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x38(%rax), %rax
cmpl $0x0, 0x10(%rax)
jne 0x13a3b
movq -0x60(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x38(%rax), %rax
movq 0x18(%rax), %rax
movl (%rax), %ecx
movq -0x68(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x68(%rbp), %rdi
callq 0x11ca0
movl %eax, -0x6c(%rbp)
movq -0x50(%rbp), %rax
xorl %ecx, %ecx
subl 0x10c(%rax), %ecx
movq -0x68(%rbp), %rax
movl %ecx, 0x1c(%rax)
movl -0x6c(%rbp), %ecx
movq -0x50(%rbp), %rax
addl 0x10c(%rax), %ecx
movl %ecx, 0x10c(%rax)
movl -0x6c(%rbp), %ecx
movq -0x50(%rbp), %rax
addl 0x104(%rax), %ecx
movl %ecx, 0x104(%rax)
jmp 0x13ac4
movq -0x68(%rbp), %rax
movl $0x3b, 0x8(%rax)
movq -0x60(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x38(%rax), %rax
movq 0x18(%rax), %rax
movq (%rax), %rcx
movq -0x68(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x68(%rbp), %rdi
callq 0x11ca0
movl %eax, -0x6c(%rbp)
cmpl $0x0, -0x6c(%rbp)
jle 0x13ab8
movq -0x50(%rbp), %rax
xorl %ecx, %ecx
subl 0x10c(%rax), %ecx
movq -0x68(%rbp), %rax
movl %ecx, 0x1c(%rax)
movl -0x6c(%rbp), %ecx
movq -0x68(%rbp), %rax
movl %ecx, 0x18(%rax)
movl -0x6c(%rbp), %ecx
movq -0x50(%rbp), %rax
addl 0x10c(%rax), %ecx
movl %ecx, 0x10c(%rax)
movl -0x6c(%rbp), %ecx
movq -0x50(%rbp), %rax
addl 0x104(%rax), %ecx
movl %ecx, 0x104(%rax)
jmp 0x13ac2
movl -0x6c(%rbp), %ecx
movq -0x68(%rbp), %rax
movl %ecx, 0x1c(%rax)
jmp 0x13ac4
movq -0x50(%rbp), %rdi
movq -0x68(%rbp), %rsi
xorl %edx, %edx
callq 0x10840
movq -0x60(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x60(%rbp)
jmp 0x13927
movq -0x58(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
je 0x13cc3
movq -0x50(%rbp), %rdi
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rsi
xorl %edx, %edx
callq 0x10a40
movq %rax, -0x88(%rbp)
movq -0x50(%rbp), %rdi
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rsi
movl $0x1, %edx
callq 0x10a40
movq %rax, -0x90(%rbp)
cmpq $0x0, -0x88(%rbp)
je 0x13ba9
movb $0x0, %al
callq 0x14d10
movq -0x50(%rbp), %rax
movq (%rax), %rsi
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movl 0x10(%rax), %edx
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
leaq 0x53e7(%rip), %rdi      # 0x18f73
movb $0x0, %al
callq 0x1090
movq 0x2346e(%rip), %rax     # 0x37008
movl $0x1, 0xd8(%rax)
jmp 0x13cb2
cmpq $0x0, -0x90(%rbp)
je 0x13c04
movb $0x0, %al
callq 0x14d10
movq -0x50(%rbp), %rax
movq (%rax), %rsi
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movl 0x10(%rax), %edx
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
leaq 0x5406(%rip), %rdi      # 0x18fed
movb $0x0, %al
callq 0x1090
movq 0x23413(%rip), %rax     # 0x37008
movl $0x1, 0xd8(%rax)
jmp 0x13cb0
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
movq -0x50(%rbp), %rsi
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x38(%rax), %rax
movl (%rax), %ecx
movl $0x2, %edx
callq 0x10660
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
callq 0x11ca0
movl %eax, -0x9c(%rbp)
movq -0x50(%rbp), %rax
xorl %ecx, %ecx
subl 0x10c(%rax), %ecx
movq -0x98(%rbp), %rax
movl %ecx, 0x1c(%rax)
movl -0x9c(%rbp), %ecx
movq -0x98(%rbp), %rax
movl %ecx, 0x18(%rax)
movl -0x9c(%rbp), %ecx
movq -0x50(%rbp), %rax
addl 0x10c(%rax), %ecx
movl %ecx, 0x10c(%rax)
movl -0x9c(%rbp), %ecx
movq -0x50(%rbp), %rax
addl 0x108(%rax), %ecx
movl %ecx, 0x108(%rax)
movq -0x50(%rbp), %rdi
movq -0x98(%rbp), %rsi
movl $0x1, %edx
callq 0x10840
jmp 0x13cb2
movq -0x80(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x80(%rbp)
jmp 0x13afc
movq -0x50(%rbp), %rax
movl $0x0, 0x10c(%rax)
movq -0x50(%rbp), %rdi
callq 0x106f0
jmp 0x13d35
movb $0x0, %al
callq 0x14d10
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movl 0x10(%rax), %esi
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
leaq 0x535e(%rip), %rdi      # 0x19067
movb $0x0, %al
callq 0x1090
movq 0x232f1(%rip), %rax     # 0x37008
movl $0x1, 0xd8(%rax)
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rcx
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq %rcx, 0x40(%rax)
movq -0x18(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x138b7
movq -0x38(%rbp), %rax
cmpq $0x0, 0x38(%rax)
je 0x13d61
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq 0x38(%rax), %rax
movq %rax, -0x38(%rbp)
jmp 0x13d63
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x138a1
movq -0x20(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x38(%rbp)
movl $0x1, -0xa0(%rbp)
cmpl $0x2, -0xa0(%rbp)
jg 0x13f23
movq -0x38(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x13e99
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x40(%rax), %rax
movq -0x18(%rbp), %rcx
cmpq 0x30(%rcx), %rax
jne 0x13ddf
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq $0x0, 0x40(%rax)
movq -0x18(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x13da0
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x109b0
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movq 0x38(%rax), %rax
movq 0x38(%rax), %rax
movq 0x38(%rax), %rsi
movl -0xc(%rbp), %edx
callq 0x12900
movq -0xa8(%rbp), %rdi
callq 0x125a0
cmpl $0x0, %eax
jne 0x13e68
movb $0x0, %al
callq 0x14d30
movq -0xa8(%rbp), %rax
movq (%rax), %rsi
leaq 0x525c(%rip), %rdi      # 0x190a3
movb $0x0, %al
callq 0x1090
movq -0xa8(%rbp), %rdi
callq 0x12610
leaq 0x1fa0(%rip), %rdi      # 0x15e01
movb $0x0, %al
callq 0x1090
movq -0xa8(%rbp), %rax
movl $0x1, 0x100(%rax)
movq -0xa8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x10e00
movq -0x18(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x13da0
movq -0x38(%rbp), %rax
cmpq $0x0, 0x38(%rax)
je 0x13f0d
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0xb0(%rbp)
callq 0x105b0
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rcx
movq 0x2313b(%rip), %rax     # 0x37008
movq %rcx, 0xd0(%rax)
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rax
movq 0x30(%rax), %rsi
movl -0xc(%rbp), %edx
callq 0x12900
movq -0xb8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x10e00
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq 0x38(%rax), %rax
movq %rax, -0x38(%rbp)
jmp 0x13f0f
movl -0xa0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xa0(%rbp)
jmp 0x13d87
movq 0x230de(%rip), %rax     # 0x37008
addq $0xc0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)