// File: /workspace/github_cpp_makefile_star2_O1/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 %rdi, %rbx
movq 0x23ff5(%rip), %r14     # 0x3dee0
movq 0xe8(%rbx), %r15
movq 0xd0(%rbx), %rax
movq 0xd8(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %rdx, %r15
je 0x1a20d
jae 0x1a21c
movq %r15, %rcx
shlq $0x5, %rcx
leaq (%rax,%rcx), %r13
movq 0x8(%rax,%rcx), %r12
cmpq 0x8(%r14), %r12
jne 0x19f4c
testq %r12, %r12
je 0x1a070
movq (%r14), %rsi
movq (%r13), %rdi
movq %r12, %rdx
callq 0x17be0
testl %eax, %eax
je 0x1a070
movq 0x23fdd(%rip), %rax     # 0x3df30
cmpq 0x8(%rax), %r12
jne 0x19f80
testq %r12, %r12
je 0x1a084
movq 0x23fc7(%rip), %rax     # 0x3df30
movq (%rax), %rsi
movq (%r13), %rdi
movq %r12, %rdx
callq 0x17be0
testl %eax, %eax
je 0x1a084
movq 0x23ff1(%rip), %rax     # 0x3df78
cmpq 0x8(%rax), %r12
jne 0x19fb4
testq %r12, %r12
je 0x1a098
movq 0x23fdb(%rip), %rax     # 0x3df78
movq (%rax), %rsi
movq (%r13), %rdi
movq %r12, %rdx
callq 0x17be0
testl %eax, %eax
je 0x1a098
movq 0x23fa5(%rip), %rax     # 0x3df60
cmpq 0x8(%rax), %r12
jne 0x19fe4
testq %r12, %r12
je 0x1a05f
movq 0x23f8f(%rip), %rax     # 0x3df60
movq (%rax), %rsi
movq (%r13), %rdi
movq %r12, %rdx
callq 0x17be0
testl %eax, %eax
je 0x1a05f
movq 0x23fbd(%rip), %rax     # 0x3dfa8
cmpq 0x8(%rax), %r12
jne 0x1a010
testq %r12, %r12
je 0x1a05f
movq 0x23fab(%rip), %rax     # 0x3dfa8
movq (%rax), %rsi
movq (%r13), %rdi
movq %r12, %rdx
callq 0x17be0
testl %eax, %eax
je 0x1a05f
movq %r13, %rdi
movq 0x23e86(%rip), %rsi     # 0x3dea0
callq 0x175d0
testb %al, %al
jne 0x1a05f
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a22d
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x23eca(%rip), %rsi     # 0x3df20
callq 0x175d0
testb %al, %al
je 0x1a0b6
incq 0xe8(%rbx)
movq %rbx, %rdi
callq 0x17de0
jmp 0x1a0aa
incq %r15
movq %r15, 0xe8(%rbx)
movq %rbx, %rdi
callq 0x18570
jmp 0x1a0aa
incq %r15
movq %r15, 0xe8(%rbx)
movq %rbx, %rdi
callq 0x17180
jmp 0x1a0aa
incq %r15
movq %r15, 0xe8(%rbx)
movq %rbx, %rdi
callq 0x17960
incq 0xe8(%rbx)
jmp 0x19eeb
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a22d
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x23ec7(%rip), %rsi     # 0x3dfb0
callq 0x175d0
testb %al, %al
jne 0x1a20d
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a22d
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x23e57(%rip), %rsi     # 0x3df80
callq 0x175d0
testb %al, %al
jne 0x1a16e
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a22d
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x23d8b(%rip), %rsi     # 0x3def0
callq 0x175d0
testb %al, %al
je 0x1a182
incq 0xe8(%rbx)
movq %rbx, %rdi
callq 0x177d0
jmp 0x19eeb
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rdi
movq 0xd8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a22d
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x23cc3(%rip), %rsi     # 0x3de78
callq 0x175d0
testb %al, %al
jne 0x1a236
cmpb $0x1, 0x148(%rbx)
jne 0x1a0aa
movq 0xe8(%rbx), %rsi
movq 0xd0(%rbx), %rcx
movq 0xd8(%rbx), %rdx
subq %rcx, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x1a22d
leaq 0x90(%rbx), %rdi
shlq $0x5, %rsi
movq (%rcx,%rsi), %rax
movq 0x8(%rcx,%rsi), %rdx
movq %rax, %rsi
callq 0x172b0
jmp 0x1a0aa
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1a4bd(%rip), %rdi     # 0x346e0
movq %r15, %rsi
xorl %eax, %eax
callq 0x18110
leaq 0x1a4ac(%rip), %rdi     # 0x346e0
jmp 0x1a226
leaq 0x16a67(%rip), %rsi     # 0x30ca4
movq 0x23c34(%rip), %rdx     # 0x3de78
leaq -0x68(%rbp), %rbx
movq %rbx, %rdi
callq 0x17a70
leaq 0x18c33(%rip), %rsi     # 0x32e8a
movq %rbx, %rdi
callq 0x18680
leaq -0x38(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1a27f
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x1a28a
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x17e70
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x1a2c0
callq 0x17b00
jmp 0x1a2c0
movq %rax, %rbx
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1a2d2
callq 0x17b00
movq %rbx, %rdi
callq 0x184b0