// File: myudelson[P]hmm-scalable/HMMProblemComp.cpp
// Function: HMMProblemComp::init(param*)
void HMMProblemComp::init(struct param *param) {
	this->p = param;
    NPAR nS = this->p->nS, nO = this->p->nO; NCAT nK = this->p->nK;//, nG = this->p->nG;
	this->non01constraints = true;
    this->null_obs_ratio = Calloc(NUMBER, (size_t)this->p->nO);
    this->neg_log_lik = 0;
    this->null_skill_obs = 0;
    this->null_skill_obs_prob = 0;
    
    NUMBER *a_PI, ** a_A, ** a_B;
    init3Params(a_PI, a_A, a_B, nS, nO);
    
	// is_multi
	this->is_multi = Calloc(NPAR, (size_t)this->p->nK);
	// assign is_multi labels
	NCAT k, n;
	for(NDAT t=0; t<this->p->N; t++) {
		n = this->p->dat_skill_rcount[t];
		if(n>1) {
			for(NCAT l=0; l<n; l++) {
				k = this->p->dat_skill_stacked[ this->p->dat_skill_rix[t] + l ];
				is_multi[k] = 1;
			}
		}
	}

	//
    // setup params
    //
	NPAR i, j, idx, offset;
	NUMBER sumPI = 0;
	NUMBER sumA[nS];
	NUMBER sumB[nS];
	for(i=0; i<nS; i++) {
		sumA[i] = 0;
		sumB[i] = 0;
	}
    
    // write default parameters first
	// populate PI
	for(i=0; i<((nS)-1); i++) {
		a_PI[i] = this->p->init_params[i];
		sumPI  += this->p->init_params[i];
	}
	a_PI[nS-1] = 1 - sumPI;
	// populate A
	offset = (NPAR)(nS-1);
	for(i=0; i<nS; i++) {
		for(j=0; j<((nS)-1); j++) {
			idx = (NPAR)(offset + i*((nS)-1) + j);
			a_A[i][j] = this->p->init_params[idx];
			sumA[i]  += this->p->init_params[idx];
		}
		a_A[i][((this->p->nS)-1)]  = 1 - sumA[i];
	}
	// polupale B
	offset = (NPAR)((nS-1) + nS*(nS-1));
	for(i=0; i<nS; i++) {
		for(j=0; j<((nO)-1); j++) {
			idx = (NPAR)(offset + i*((nO)-1) + j);
			a_B[i][j] = this->p->init_params[idx];
			sumB[i] += this->p->init_params[idx];
		}
		a_B[i][((nO)-1)]  = 1 - sumB[i];
	}
    
    // mass produce PI's/PIg's, A's, B's
    if( this->p->do_not_check_constraints==0 && !checkPIABConstraints(a_PI, a_A, a_B)) {
        fprintf(stderr,"params do not meet constraints.\n");
        exit(1);
    }
    this->pi  = init2D<NUMBER>(nK, nS);
    this->A   = init3D<NUMBER>(nK, nS, nS);
    this->B   = init3D<NUMBER>(nK, nS, nO);
    NCAT x;
    for(x=0; x<nK; x++) {
//		if(this->is_multi[x]==0) {
			cpy1D<NUMBER>(a_PI, this->pi[x], nS);
			cpy2D<NUMBER>(a_A,  this->A[x],  nS, nS);
			cpy2D<NUMBER>(a_B,  this->B[x],  nS, nO);
//		} else {
//			for(i=0; i<nS; i++) {
//				this->pi[x][i] = 0.5;
//				for(j=0; j<nS; j++)
//					this->A[x][i][j] = 0.5;
//				for(m=0; m<nO; m++)
//					this->B[x][i][m] = 0.5;
//			}
//		}
    }
    // PIg start with same params
    // destroy setup params
	free(a_PI);
	free2D<NUMBER>(a_A, nS);
	free2D<NUMBER>(a_B, nS);
	
    // if needs be -- read in init params from a file
    if(param->initfile[0]!=0)
        this->readModel(param->initfile, false /* read and upload but not overwrite*/);
    
    // populate boundaries
	// populate lb*/ub*
	// *PI
    init3Params(this->lbPI, this->lbA, this->lbB, nS, nO);
    init3Params(this->ubPI, this->ubA, this->ubB, nS, nO);
	for(i=0; i<nS; i++) {
		lbPI[i] = this->p->param_lo[i];
		ubPI[i] = this->p->param_hi[i];
	}
	// *A
	offset = nS;
	for(i=0; i<nS; i++)
		for(j=0; j<nS; j++) {
			idx = (NPAR)(offset + i*nS + j);
			lbA[i][j] = this->p->param_lo[idx];
			ubA[i][j] = this->p->param_hi[idx];
		}
	// *B
	offset = (NPAR)(nS + nS*nS);
	for(i=0; i<nS; i++)
		for(j=0; j<nO; j++) {
			idx = (NPAR)(offset + i*nS + j);
			lbB[i][j] = this->p->param_lo[idx];
			ubB[i][j] = this->p->param_hi[idx];
		}
	// set up parameter union
//	this->pu = new PUCorbettianAdditive();
	this->pu = new PULogistic();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x10(%rbp), %rcx
movq %rcx, 0x88(%rax)
movq 0x88(%rax), %rcx
movb 0x8b8(%rcx), %cl
movb %cl, -0x11(%rbp)
movq 0x88(%rax), %rcx
movb 0x8b9(%rcx), %cl
movb %cl, -0x12(%rbp)
movq 0x88(%rax), %rcx
movl 0x8c0(%rcx), %ecx
movl %ecx, -0x18(%rbp)
movb $0x1, 0x80(%rax)
movq 0x88(%rax), %rax
movsbq 0x8b9(%rax), %rdi
movl $0x8, %esi
callq 0x5180
movq -0x88(%rbp), %rdi
movq %rax, 0x18(%rdi)
xorps %xmm0, %xmm0
movsd %xmm0, 0x20(%rdi)
xorps %xmm0, %xmm0
movsd %xmm0, 0x28(%rdi)
xorps %xmm0, %xmm0
movsd %xmm0, 0x30(%rdi)
movb -0x11(%rbp), %al
leaq -0x20(%rbp), %rsi
leaq -0x28(%rbp), %rdx
leaq -0x30(%rbp), %rcx
movsbl %al, %r8d
movsbl -0x12(%rbp), %r9d
callq 0x19de0
movq -0x88(%rbp), %rax
movq 0x88(%rax), %rax
movslq 0x8c0(%rax), %rdi
movl $0x1, %esi
callq 0x5180
movq %rax, %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x90(%rax)
movl $0x0, -0x3c(%rbp)
movq -0x88(%rbp), %rcx
movl -0x3c(%rbp), %eax
movq 0x88(%rcx), %rcx
cmpl 0x8b0(%rcx), %eax
jge 0x4b7a3
movq -0x88(%rbp), %rax
movq 0x88(%rax), %rax
movq 0x890(%rax), %rax
movslq -0x3c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x38(%rbp)
cmpl $0x1, -0x38(%rbp)
jle 0x4b793
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x38(%rbp), %eax
jge 0x4b791
movq -0x88(%rbp), %rax
movq 0x88(%rax), %rcx
movq 0x888(%rcx), %rcx
movq 0x88(%rax), %rdx
movq 0x898(%rdx), %rdx
movslq -0x3c(%rbp), %rsi
movl (%rdx,%rsi,4), %edx
addl -0x40(%rbp), %edx
movslq %edx, %rdx
movl (%rcx,%rdx,4), %ecx
movl %ecx, -0x34(%rbp)
movq 0x90(%rax), %rax
movslq -0x34(%rbp), %rcx
movb $0x1, (%rax,%rcx)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x4b739
jmp 0x4b793
jmp 0x4b795
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x4b6f0
movq $0x0, -0x50(%rbp)
movzbl -0x11(%rbp), %edx
movl %edx, %eax
movq %rsp, %rcx
movq %rcx, -0x58(%rbp)
movl %edx, %ecx
leal 0xf(,%rcx,8), %ecx
andl $-0x10, %ecx
movl %ecx, %edx
movq %rsp, %rcx
subq %rdx, %rcx
movq %rcx, -0x98(%rbp)
movq %rcx, %rsp
movq %rax, -0x60(%rbp)
movzbl -0x11(%rbp), %edx
movl %edx, %eax
movl %edx, %ecx
leal 0xf(,%rcx,8), %ecx
andl $-0x10, %ecx
movl %ecx, %edx
movq %rsp, %rcx
subq %rdx, %rcx
movq %rcx, -0x90(%rbp)
movq %rcx, %rsp
movq %rax, -0x68(%rbp)
movb $0x0, -0x41(%rbp)
movsbl -0x41(%rbp), %eax
movsbl -0x11(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4b844
movq -0x90(%rbp), %rax
movq -0x98(%rbp), %rcx
movsbq -0x41(%rbp), %rdx
xorps %xmm0, %xmm0
movsd %xmm0, (%rcx,%rdx,8)
movsbq -0x41(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movb -0x41(%rbp), %al
addb $0x1, %al
movb %al, -0x41(%rbp)
jmp 0x4b806
movb $0x0, -0x41(%rbp)
movsbl -0x41(%rbp), %eax
movsbl -0x11(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x4b8aa
movq -0x88(%rbp), %rax
movq 0x88(%rax), %rcx
movq 0x8(%rcx), %rcx
movsbq -0x41(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movq -0x20(%rbp), %rcx
movsbq -0x41(%rbp), %rdx
movsd %xmm0, (%rcx,%rdx,8)
movq 0x88(%rax), %rax
movq 0x8(%rax), %rax
movsbq -0x41(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
addsd -0x50(%rbp), %xmm0
movsd %xmm0, -0x50(%rbp)
movb -0x41(%rbp), %al
addb $0x1, %al
movb %al, -0x41(%rbp)
jmp 0x4b848
movsd 0x4156(%rip), %xmm0     # 0x4fa08
subsd -0x50(%rbp), %xmm0
movq -0x20(%rbp), %rax
movsbl -0x11(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsbl -0x11(%rbp), %eax
subl $0x1, %eax
movb %al, -0x44(%rbp)
movb $0x0, -0x41(%rbp)
movsbl -0x41(%rbp), %eax
movsbl -0x11(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4b9da
movb $0x0, -0x42(%rbp)
movsbl -0x42(%rbp), %eax
movsbl -0x11(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x4b987
movq -0x98(%rbp), %rax
movq -0x88(%rbp), %rcx
movsbl -0x44(%rbp), %edx
movsbl -0x41(%rbp), %esi
movsbl -0x11(%rbp), %edi
subl $0x1, %edi
imull %edi, %esi
addl %esi, %edx
movsbl -0x42(%rbp), %esi
addl %esi, %edx
movb %dl, -0x43(%rbp)
movq 0x88(%rcx), %rdx
movq 0x8(%rdx), %rdx
movsbq -0x43(%rbp), %rsi
movsd (%rdx,%rsi,8), %xmm0
movq -0x28(%rbp), %rdx
movsbq -0x41(%rbp), %rsi
movq (%rdx,%rsi,8), %rdx
movsbq -0x42(%rbp), %rsi
movsd %xmm0, (%rdx,%rsi,8)
movq 0x88(%rcx), %rcx
movq 0x8(%rcx), %rcx
movsbq -0x43(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movsbq -0x41(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movb -0x42(%rbp), %al
addb $0x1, %al
movb %al, -0x42(%rbp)
jmp 0x4b8ec
movq -0x88(%rbp), %rcx
movq -0x98(%rbp), %rax
movsbq -0x41(%rbp), %rdx
movsd 0x4066(%rip), %xmm0     # 0x4fa08
subsd (%rax,%rdx,8), %xmm0
movq -0x28(%rbp), %rax
movsbq -0x41(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq 0x88(%rcx), %rcx
movsbl 0x8b8(%rcx), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movb -0x41(%rbp), %al
addb $0x1, %al
movb %al, -0x41(%rbp)
jmp 0x4b8d8
movsbl -0x11(%rbp), %eax
subl $0x1, %eax
movsbl -0x11(%rbp), %ecx
movsbl -0x11(%rbp), %edx
subl $0x1, %edx
imull %edx, %ecx
addl %ecx, %eax
movb %al, -0x44(%rbp)
movb $0x0, -0x41(%rbp)
movsbl -0x41(%rbp), %eax
movsbl -0x11(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4bae9
movb $0x0, -0x42(%rbp)
movsbl -0x42(%rbp), %eax
movsbl -0x12(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x4baa7
movq -0x90(%rbp), %rax
movq -0x88(%rbp), %rcx
movsbl -0x44(%rbp), %edx
movsbl -0x41(%rbp), %esi
movsbl -0x12(%rbp), %edi
subl $0x1, %edi
imull %edi, %esi
addl %esi, %edx
movsbl -0x42(%rbp), %esi
addl %esi, %edx
movb %dl, -0x43(%rbp)
movq 0x88(%rcx), %rdx
movq 0x8(%rdx), %rdx
movsbq -0x43(%rbp), %rsi
movsd (%rdx,%rsi,8), %xmm0
movq -0x30(%rbp), %rdx
movsbq -0x41(%rbp), %rsi
movq (%rdx,%rsi,8), %rdx
movsbq -0x42(%rbp), %rsi
movsd %xmm0, (%rdx,%rsi,8)
movq 0x88(%rcx), %rcx
movq 0x8(%rcx), %rcx
movsbq -0x43(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movsbq -0x41(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movb -0x42(%rbp), %al
addb $0x1, %al
movb %al, -0x42(%rbp)
jmp 0x4ba0c
movq -0x90(%rbp), %rax
movsbq -0x41(%rbp), %rcx
movsd 0x3f4d(%rip), %xmm0     # 0x4fa08
subsd (%rax,%rcx,8), %xmm0
movq -0x30(%rbp), %rax
movsbq -0x41(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl -0x12(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movb -0x41(%rbp), %al
addb $0x1, %al
movb %al, -0x41(%rbp)
jmp 0x4b9f8
movq -0x88(%rbp), %rax
movq 0x88(%rax), %rax
movsbl 0x32(%rax), %eax
cmpl $0x0, %eax
jne 0x4bb3e
movq -0x88(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq -0x30(%rbp), %rcx
callq 0x19e80
testb $0x1, %al
jne 0x4bb3e
movq 0xf4b5(%rip), %rax      # 0x5afd8
movq (%rax), %rdi
leaq 0x4942(%rip), %rsi      # 0x5046f
movb $0x0, %al
callq 0x5440
movl $0x1, %edi
callq 0x5390
movl -0x18(%rbp), %edi
movsbl -0x11(%rbp), %esi
callq 0xf580
movq %rax, %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x38(%rax)
movl -0x18(%rbp), %edi
movsbl -0x11(%rbp), %esi
movsbl -0x11(%rbp), %edx
callq 0x11310
movq %rax, %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x40(%rax)
movl -0x18(%rbp), %edi
movsbl -0x11(%rbp), %esi
movsbl -0x12(%rbp), %edx
callq 0x11310
movq %rax, %rcx
movq -0x88(%rbp), %rax
movq %rcx, 0x48(%rax)
movl $0x0, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x4bc16
movq -0x88(%rbp), %rax
movq -0x20(%rbp), %rdi
movq 0x38(%rax), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movsbl -0x11(%rbp), %edx
callq 0xc440
movq -0x88(%rbp), %rax
movq -0x28(%rbp), %rdi
movq 0x40(%rax), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movsbl -0x11(%rbp), %edx
movsbl -0x11(%rbp), %ecx
callq 0xf650
movq -0x88(%rbp), %rax
movq -0x30(%rbp), %rdi
movq 0x48(%rax), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movsbl -0x11(%rbp), %edx
movsbl -0x12(%rbp), %ecx
callq 0xf650
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x4bb9b
movq -0x20(%rbp), %rdi
callq 0x5380
movq -0x28(%rbp), %rdi
movsbl -0x11(%rbp), %esi
callq 0xc7f0
movq -0x30(%rbp), %rdi
movsbl -0x11(%rbp), %esi
callq 0xc7f0
movq -0x10(%rbp), %rax
movsbl 0x6c(%rax), %eax
cmpl $0x0, %eax
je 0x4bc5c
movq -0x88(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x6c, %rsi
xorl %edx, %edx
callq 0x1a1f0
movq -0x88(%rbp), %rdi
movq %rdi, %rsi
addq $0x50, %rsi
movq %rdi, %rdx
addq $0x58, %rdx
movq %rdi, %rcx
addq $0x60, %rcx
movb -0x11(%rbp), %al
movsbl %al, %r8d
movsbl -0x12(%rbp), %r9d
callq 0x19de0
movq -0x88(%rbp), %rdi
movq %rdi, %rsi
addq $0x68, %rsi
movq %rdi, %rdx
addq $0x70, %rdx
movq %rdi, %rcx
addq $0x78, %rcx
movb -0x11(%rbp), %al
movsbl %al, %r8d
movsbl -0x12(%rbp), %r9d
callq 0x19de0
movb $0x0, -0x41(%rbp)
movsbl -0x41(%rbp), %eax
movsbl -0x11(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4bd1d
movq -0x88(%rbp), %rax
movq 0x88(%rax), %rcx
movq 0x18(%rcx), %rcx
movsbq -0x41(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movq 0x50(%rax), %rcx
movsbq -0x41(%rbp), %rdx
movsd %xmm0, (%rcx,%rdx,8)
movq 0x88(%rax), %rcx
movq 0x20(%rcx), %rcx
movsbq -0x41(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movq 0x68(%rax), %rax
movsbq -0x41(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movb -0x41(%rbp), %al
addb $0x1, %al
movb %al, -0x41(%rbp)
jmp 0x4bcba
movb -0x11(%rbp), %al
movb %al, -0x44(%rbp)
movb $0x0, -0x41(%rbp)
movsbl -0x41(%rbp), %eax
movsbl -0x11(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4bde0
movb $0x0, -0x42(%rbp)
movsbl -0x42(%rbp), %eax
movsbl -0x11(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4bdd1
movq -0x88(%rbp), %rax
movsbl -0x44(%rbp), %ecx
movsbl -0x41(%rbp), %edx
movsbl -0x11(%rbp), %esi
imull %esi, %edx
addl %edx, %ecx
movsbl -0x42(%rbp), %edx
addl %edx, %ecx
movb %cl, -0x43(%rbp)
movq 0x88(%rax), %rcx
movq 0x18(%rcx), %rcx
movsbq -0x43(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movq 0x58(%rax), %rcx
movsbq -0x41(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movsbq -0x42(%rbp), %rdx
movsd %xmm0, (%rcx,%rdx,8)
movq 0x88(%rax), %rcx
movq 0x20(%rcx), %rcx
movsbq -0x43(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movq 0x70(%rax), %rax
movsbq -0x41(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbq -0x42(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movb -0x42(%rbp), %al
addb $0x1, %al
movb %al, -0x42(%rbp)
jmp 0x4bd3b
jmp 0x4bdd3
movb -0x41(%rbp), %al
addb $0x1, %al
movb %al, -0x41(%rbp)
jmp 0x4bd27
movsbl -0x11(%rbp), %eax
movsbl -0x11(%rbp), %ecx
movsbl -0x11(%rbp), %edx
imull %edx, %ecx
addl %ecx, %eax
movb %al, -0x44(%rbp)
movb $0x0, -0x41(%rbp)
movsbl -0x41(%rbp), %eax
movsbl -0x11(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4beb1
movb $0x0, -0x42(%rbp)
movsbl -0x42(%rbp), %eax
movsbl -0x12(%rbp), %ecx
cmpl %ecx, %eax
jge 0x4bea2
movq -0x88(%rbp), %rax
movsbl -0x44(%rbp), %ecx
movsbl -0x41(%rbp), %edx
movsbl -0x11(%rbp), %esi
imull %esi, %edx
addl %edx, %ecx
movsbl -0x42(%rbp), %edx
addl %edx, %ecx
movb %cl, -0x43(%rbp)
movq 0x88(%rax), %rcx
movq 0x18(%rcx), %rcx
movsbq -0x43(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movq 0x60(%rax), %rcx
movsbq -0x41(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movsbq -0x42(%rbp), %rdx
movsd %xmm0, (%rcx,%rdx,8)
movq 0x88(%rax), %rcx
movq 0x20(%rcx), %rcx
movsbq -0x43(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movq 0x78(%rax), %rax
movsbq -0x41(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbq -0x42(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movb -0x42(%rbp), %al
addb $0x1, %al
movb %al, -0x42(%rbp)
jmp 0x4be0c
jmp 0x4bea4
movb -0x41(%rbp), %al
addb $0x1, %al
movb %al, -0x41(%rbp)
jmp 0x4bdf8
movl $0x8, %edi
callq 0x52d0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0xa0(%rbp)
callq 0x4e860
jmp 0x4becf
movq -0x88(%rbp), %rax
movq -0xa0(%rbp), %rcx
movq %rcx, 0x98(%rax)
movq -0x58(%rbp), %rax
movq %rax, %rsp
movq %rbp, %rsp
popq %rbp
retq
movq -0xa0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
movl $0x8, %esi
callq 0x52e0
movq -0x78(%rbp), %rdi
callq 0x5540
nopw %cs:(%rax,%rax)