// File: /workspace/github_cpp_makefile_star2_O1/CoinXu[P]reviser-compiler/src/compiler/javascript/javascript_generator.cpp
// Function: reviser::javascript::JavaScriptGenerator::Export[abi:cxx11]()
string JavaScriptGenerator::Export() {
    string code;

    if (descriptor->GlobalVariables().size() == 0) {
      return code;
    }

    code += "export {\n";
    vector<Descriptor::VariableDeclare> variables = descriptor->GlobalVariables();
    for (vector<Descriptor::VariableDeclare>::iterator it = begin(variables); it != end(variables); it++) {
      code += JavaScriptCommon::Indent(1) + (*it).id + (next(it) == end(variables) ? "\n" : ",\n");
    }

    return code += "}";
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, -0x30(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x50(%rsi), %rsi
leaq -0x70(%rbp), %rdi
callq 0x340d2
leaq -0x70(%rbp), %rdi
movq 0x8(%rdi), %rbx
movq (%rdi), %r15
callq 0x346ca
cmpq %r15, %rbx
je 0x45fb1
leaq 0xbc5b(%rip), %rsi      # 0x51ac0
leaq -0x50(%rbp), %rdi
callq 0x25650
movq 0x50(%r14), %rsi
leaq -0x88(%rbp), %rdi
callq 0x340d2
movq -0x88(%rbp), %r14
cmpq -0x80(%rbp), %r14
je 0x45f75
leaq -0x60(%rbp), %rbx
leaq -0xa8(%rbp), %r15
leaq -0xc8(%rbp), %r12
leaq -0x50(%rbp), %r13
movq %r15, %rdi
movl $0x1, %esi
callq 0x440e8
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x357bd
addq $0x28, %r14
leaq 0xbc88(%rip), %rsi      # 0x51b53
cmpq -0x80(%rbp), %r14
je 0x45ed8
leaq 0xbae5(%rip), %rsi      # 0x519bd
movq %r12, %rdi
callq 0x25650
movq %rbx, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x45f00
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x45f06
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq %r13, %rdi
callq 0x250f0
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x45f3b
callq 0x25320
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x45f53
callq 0x25320
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x45f6b
callq 0x25320
cmpq -0x80(%rbp), %r14
jne 0x45ea5
leaq 0xa310(%rip), %rsi      # 0x5028c
leaq -0x50(%rbp), %rdi
callq 0x25650
movq -0x30(%rbp), %rdi
leaq 0x10(%rdi), %rcx
movq %rcx, (%rdi)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
callq 0x2a264
leaq -0x88(%rbp), %rdi
callq 0x346ca
leaq -0x40(%rbp), %rcx
jmp 0x45ff7
movq -0x30(%rbp), %rsi
leaq 0x10(%rsi), %rax
movq %rax, (%rsi)
movq -0x50(%rbp), %rcx
leaq -0x40(%rbp), %rdx
cmpq %rdx, %rcx
je 0x45fd6
movq %rcx, (%rsi)
movq -0x40(%rbp), %rax
movq %rax, 0x10(%rsi)
jmp 0x45fdc
movups (%rdx), %xmm0
movups %xmm0, (%rax)
movq %rdx, %rcx
movq -0x48(%rbp), %rax
movq %rax, 0x8(%rsi)
movq %rdx, -0x50(%rbp)
movq $0x0, -0x48(%rbp)
movb $0x0, -0x40(%rbp)
movq -0x50(%rbp), %rdi
cmpq %rcx, %rdi
je 0x46005
callq 0x25320
movq -0x30(%rbp), %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4601f
jmp 0x4601f
movq %rax, %r14
jmp 0x46082
jmp 0x46026
movq %rax, %r14
jmp 0x46076
movq %rax, %r14
jmp 0x4605e
movq %rax, %r14
jmp 0x46046
movq %rax, %r14
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x46046
callq 0x25320
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x4605e
callq 0x25320
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x46076
callq 0x25320
leaq -0x88(%rbp), %rdi
callq 0x346ca
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x46094
callq 0x25320
movq %r14, %rdi
callq 0x255f0