// File: /workspace/github_cpp_makefile_star2_O2/WShabti-Team[P]WShabtiPict/wshabtilib/api/model.cpp
// Function: pictcore::Model::generateFull()
void Model::generateFull()
{
    // no support for result rows in this generation mode
    assert( 0 == GetResultParameterCount() );

    GlobalZerosCount = 0;
    // turn each submodel's output into a PseudoParameter and add to model
    for( SubmodelCollection::iterator im = m_submodels.begin(); im != m_submodels.end(); ++im )
    {
        // Make a pseudo-parameter from the submodel, add to this model
        // Ignore first arg (order) - it'll be reset below
        Parameter *pseudo = new PseudoParameter( 2, ++m_lastParamId, *im );
        AddParameter( pseudo );
    }

    // initialize combinations based on contents of m_parameters
    vector<Combination*> vecCombo;

    // set all parameters to order = number of parameters
    // (include the pseudo-parameters)
    // let's estimate how many rows we'll produce
    long rows = 1;
    for( ParamCollection::iterator ip = m_parameters.begin(); ip != m_parameters.end(); ++ip )
    {
        ( *ip )->SetOrder( static_cast<int>( m_parameters.size() ) );
        rows *= ( *ip )->GetValueCount();
        if( rows > MaxRowsToGenerate )
        {
            throw GenerationError( __FILE__, __LINE__, TooManyRows );
        }
    }
    bool r1 = mapExclusionsToPseudoParameters();
    bool r2 = excludeConflictingParamValues();
    if( r1 || r2 ) deriveSubmodelExclusions();

    mapRowSeedsToPseudoParameters();

    Combination baseCombo( this );
    choose( m_parameters.begin(),
            m_parameters.end(),
            static_cast<int>( m_parameters.size() ),
            static_cast<int>( m_parameters.size() ),
            baseCombo, vecCombo );
    gcd( vecCombo );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rdi, %rbx
callq 0xc4cc
testq %rax, %rax
jne 0xb5c0
andl $0x0, (%rbx)
leaq 0x50(%rbx), %r14
pushq $0x2
popq %rbp
movq %r14, %r12
movq (%r12), %r12
cmpq %r14, %r12
je 0xb48f
movl $0xd8, %edi
callq 0x6440
movq %rax, %r15
movl 0x130(%rbx), %edx
incl %edx
movl %edx, 0x130(%rbx)
movq 0x10(%r12), %rcx
movq %rax, %rdi
movl %ebp, %esi
callq 0xfc02
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc5c2
jmp 0xb44f
andq $0x0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
shrq $0x3, %rdx
pushq $0x1
popq %rsi
cmpq %rcx, %rax
je 0xb52c
movq (%rax), %rdi
movl %edx, 0x28(%rdi)
movslq 0x38(%rdi), %rdi
imulq %rdi, %rsi
addq $0x8, %rax
cmpq $0xf4241, %rsi          # imm = 0xF4241
jl 0xb4b2
pushq $0x30
popq %rdi
callq 0x6220
movq %rax, %rbx
leaq 0x17151(%rip), %rsi     # 0x22635
leaq 0x30(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0x7f56
movl $0x1, (%rbx)
movq %rbx, %rdi
addq $0x8, %rdi
movb $0x1, %bpl
leaq 0x30(%rsp), %rsi
callq 0x65b0
movl $0x368, 0x28(%rbx)      # imm = 0x368
xorl %ebp, %ebp
leaq 0x29523(%rip), %rsi     # 0x34a40
leaq -0x3592(%rip), %rdx     # 0x7f92
movq %rbx, %rdi
callq 0x66c0
movq %rbx, %rdi
callq 0xbbce
movl %eax, %ebp
movq %rbx, %rdi
callq 0xadee
orb %al, %bpl
cmpb $0x1, %bpl
jne 0xb54f
movq %rbx, %rdi
callq 0xbee2
movq %rbx, %rdi
callq 0xbfe4
leaq 0x50(%rsp), %rdi
movq %rbx, %rsi
callq 0x6fa6
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %rdx, %rcx
subq %rsi, %rcx
shrq $0x3, %rcx
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
leaq 0x50(%rsp), %r9
movq %rbx, %rdi
movl %ecx, %r8d
callq 0x9b4c
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9ce0
leaq 0x50(%rsp), %rdi
callq 0x6fca
leaq 0x10(%rsp), %rdi
callq 0xd978
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x171fb(%rip), %rdi     # 0x227c2
leaq 0x17067(%rip), %rsi     # 0x22635
leaq 0x17238(%rip), %rcx     # 0x2280d
movl $0x34f, %edx            # imm = 0x34F
callq 0x6310
jmp 0xb5f2
jmp 0xb5f2
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x6fca
jmp 0xb616
movq %rax, %r14
jmp 0xb616
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x61e0
testb %bpl, %bpl
jne 0xb60e
jmp 0xb616
movq %rax, %r14
movq %rbx, %rdi
callq 0x6340
leaq 0x10(%rsp), %rdi
callq 0xd978
jmp 0xb632
movq %rax, %r14
movl $0xd8, %esi
movq %r15, %rdi
callq 0x6460
movq %r14, %rdi
callq 0x66e0