// File: /workspace/github_cpp_makefile_star2_O3/xelia-it[P]mustache/src/mustache-light.cpp
// Function: mustache::Mustache::produceMessage()
void Mustache::produceMessage() {
        LOG_START("");
        LOG_END("MESSAGE := ");
        LOG_START("");

        if (IS_TOKEN_EMPTY()) {
                LOG_END("  (empty)");

                return;
        }
        if (IS_TOKEN(TOKEN_START_VARIABLE)) {
                LOG_END("  VARIABLE");
                CONSUME_TOKEN();
                produceVariable();
                CONSUME_TOKEN();
                produceMessage();

                return;
        }
        if (IS_TOKEN(TOKEN_START_VARIABLE_UNESCAPED)) {
                LOG_END("  VARIABLE UNESCAPED");
                CONSUME_TOKEN();
                produceVariableUnescaped();
                CONSUME_TOKEN();
                produceMessage();

                return;
        }
        if (IS_TOKEN(TOKEN_START_COMMENT)) {
                LOG_END("  COMMENT");
                CONSUME_TOKEN();
                produceComment();
                CONSUME_TOKEN();
                produceMessage();

                return;
        }
        if (IS_TOKEN(TOKEN_START_BEGIN_SECTION) || IS_TOKEN(TOKEN_START_IF) ||
            IS_TOKEN(TOKEN_START_UNLESS) || IS_TOKEN(TOKEN_START_EXISTS_TEST)) {
                LOG_END("  SECTION");
                CONSUME_TOKEN();
                produceSection();
                CONSUME_TOKEN();
                produceMessage();
                return;
        }
        if (IS_TOKEN(TOKEN_START_END_SECTION)) {
                //        if (stack_.size() == 1) {
                //            error("Unexpected end of block '" + TOKEN_START_END_SECTION + "'");
                //        }
                // If we are in a block do not throw error.. simply return
                return;
        }
        if (IS_TOKEN(TOKEN_START_PARTIAL) || IS_TOKEN(TOKEN_START_TEMPLATE)) {
                LOG_END("  PARTIAL");
                CONSUME_TOKEN();
                producePartial();
                produceMessage();
                return;
        }
        if (IS_TOKEN(TOKEN_END)) {
                error("Unexpected end of variable '" + TOKEN_END + "'");
                return;
        }

        LOG_END("  (text)");
        if (visible_) {
                rendered_.append(tokens_.at(currentToken_));
        }
        CONSUME_TOKEN();
        produceMessage();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq 0xe8(%rdi), %r13
movq 0xd0(%rdi), %rax
movq 0xd8(%rdi), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %rdx, %r13
jne 0x19fad
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdi, %rbx
leaq 0x90(%rdi), %rcx
movq %rcx, -0x30(%rbp)
movq 0x22f1e(%rip), %r15     # 0x3cee0
cmpq %r13, %rdx
jbe 0x1a2f0
movq %r13, %rcx
shlq $0x5, %rcx
leaq (%rax,%rcx), %r14
movq 0x8(%rax,%rcx), %r12
cmpq 0x8(%r15), %r12
jne 0x1a000
testq %r12, %r12
je 0x1a132
movq (%r15), %rsi
movq (%r14), %rdi
movq %r12, %rdx
callq 0x17bc0
testl %eax, %eax
je 0x1a132
movq 0x22f29(%rip), %rax     # 0x3cf30
cmpq 0x8(%rax), %r12
jne 0x1a033
testq %r12, %r12
je 0x1a146
movq 0x22f13(%rip), %rax     # 0x3cf30
movq (%rax), %rsi
movq (%r14), %rdi
movq %r12, %rdx
callq 0x17bc0
testl %eax, %eax
je 0x1a146
movq 0x22f3e(%rip), %rax     # 0x3cf78
cmpq 0x8(%rax), %r12
jne 0x1a066
testq %r12, %r12
je 0x1a15a
movq 0x22f28(%rip), %rax     # 0x3cf78
movq (%rax), %rsi
movq (%r14), %rdi
movq %r12, %rdx
callq 0x17bc0
testl %eax, %eax
je 0x1a15a
movq 0x22ef3(%rip), %rax     # 0x3cf60
cmpq 0x8(%rax), %r12
jne 0x1a099
testq %r12, %r12
je 0x1a11e
movq 0x22edd(%rip), %rax     # 0x3cf60
movq (%rax), %rsi
movq (%r14), %rdi
movq %r12, %rdx
callq 0x17bc0
testl %eax, %eax
je 0x1a11e
movq 0x22f08(%rip), %rax     # 0x3cfa8
cmpq 0x8(%rax), %r12
jne 0x1a0c4
testq %r12, %r12
je 0x1a11e
movq 0x22ef6(%rip), %rax     # 0x3cfa8
movq (%rax), %rsi
movq (%r14), %rdi
movq %r12, %rdx
callq 0x17bc0
testl %eax, %eax
je 0x1a11e
movq %r14, %rdi
movq 0x22dd2(%rip), %rsi     # 0x3cea0
callq 0x175c0
movq 0xe8(%rbx), %r13
testb %al, %al
jne 0x1a11e
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r13, %rdx
jbe 0x1a2f0
shlq $0x5, %r13
addq %r13, %rdi
movq 0x22e16(%rip), %rsi     # 0x3cf20
callq 0x175c0
movq 0xe8(%rbx), %r13
testb %al, %al
je 0x1a1a0
incq %r13
movq %r13, 0xe8(%rbx)
movq %rbx, %rdi
callq 0x17dc0
jmp 0x1a16c
incq %r13
movq %r13, 0xe8(%rbx)
movq %rbx, %rdi
callq 0x18550
jmp 0x1a16c
incq %r13
movq %r13, 0xe8(%rbx)
movq %rbx, %rdi
callq 0x17180
jmp 0x1a16c
incq %r13
movq %r13, 0xe8(%rbx)
movq %rbx, %rdi
callq 0x17940
movq 0xe8(%rbx), %r13
incq %r13
movq %r13, 0xe8(%rbx)
movq 0xd0(%rbx), %rax
movq 0xd8(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %rdx, %r13
jne 0x19fc2
jmp 0x19f9e
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r13, %rdx
jbe 0x1a2f0
shlq $0x5, %r13
addq %r13, %rdi
movq 0x22de4(%rip), %rsi     # 0x3cfb0
callq 0x175c0
testb %al, %al
jne 0x19f9e
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a301
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x22d74(%rip), %rsi     # 0x3cf80
callq 0x175c0
testb %al, %al
jne 0x1a251
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a301
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x22ca8(%rip), %rsi     # 0x3cef0
callq 0x175c0
testb %al, %al
je 0x1a26c
incq 0xe8(%rbx)
movq %rbx, %rdi
callq 0x177c0
movq 0xe8(%rbx), %r13
jmp 0x1a17d
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a301
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x22bdd(%rip), %rsi     # 0x3ce78
callq 0x175c0
testb %al, %al
jne 0x1a30a
cmpb $0x1, 0x148(%rbx)
jne 0x1a16c
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rcx
movq 0xd8(%rbx), %rdx
subq %rcx, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a301
shlq $0x5, %rsi
movq (%rcx,%rsi), %rax
movq 0x8(%rcx,%rsi), %rdx
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0x172b0
jmp 0x1a16c
leaq 0x193dd(%rip), %rdi     # 0x336d4
movq %r13, %rsi
xorl %eax, %eax
callq 0x180f0
leaq 0x193cc(%rip), %rdi     # 0x336d4
jmp 0x1a2fa
leaq 0x15987(%rip), %rsi     # 0x2fc98
movq 0x22b60(%rip), %rdx     # 0x3ce78
leaq -0x70(%rbp), %rbx
movq %rbx, %rdi
callq 0x17a50
leaq 0x17b53(%rip), %rsi     # 0x31e7e
movq %rbx, %rdi
callq 0x18660
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1a353
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x1a35e
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
movq 0x8(%rax), %rdx
leaq -0x50(%rbp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x17e50
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a394
callq 0x17ae0
jmp 0x1a394
movq %rax, %rbx
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a3a6
callq 0x17ae0
movq %rbx, %rdi
callq 0x18490