// File: /workspace/github_c_makefile_star2_O0/ZmengXu[P]boxMesh/boxMesh.C
// Function: writeBoundary(int, int)
void writeBoundary(int nFaces, int nExternalFaces)
{
    ofstream currentFile("constant/polyMesh/boundary");

    currentFile << "/*--------------------------------*- C++ -*----------------------------------*\\\n";
    currentFile << "| =========                 |                                                 |\n";
    currentFile << "| \\\\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |\n";
    currentFile << "|  \\\\    /   O peration     | Version:  2.3.0                                 |\n";
    currentFile << "|   \\\\  /    A nd           | Web:      www.OpenFOAM.org                      |\n";
    currentFile << "|    \\\\/     M anipulation  |                                                 |\n";
    currentFile << "\\*---------------------------------------------------------------------------*/\n";
    currentFile << "FoamFile\n";
    currentFile << "{\n";
    currentFile << "    version     2.0;\n";
    currentFile << "    format      ascii;\n";
    currentFile << "    class       polyBoundaryMesh;\n";
    currentFile << "    location    \"constant/polyMesh\";\n";
    currentFile << "    object      boundary;\n";
    currentFile << "}\n";
    currentFile << "// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //\n";
    currentFile << "\n";
    currentFile << "1\n";
    currentFile << "(\n";
    currentFile << "    defaultFaces\n";
    currentFile << "    {\n";
    currentFile << "        type            empty;\n";
    currentFile << "        inGroups        1(empty);\n";

    ostringstream convert;
    convert << "        nFaces          " << nExternalFaces        << ";\n";
    convert << "        startFace       " << nFaces-nExternalFaces << ";\n";
    currentFile << convert.str();

    currentFile << "    }\n";
    currentFile << ")\n";
    currentFile << "\n";
    currentFile << "// ************************************************************************* //\n";
    currentFile.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x3e0, %rsp            # imm = 0x3E0
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
leaq 0x6acc(%rip), %rsi      # 0x9004
leaq -0x208(%rbp), %rdi
movq %rdi, -0x3b8(%rbp)
movl $0x10, %edx
callq 0x2210
movq -0x3b8(%rbp), %rdi
leaq 0x6ac1(%rip), %rsi      # 0x901f
callq 0x21b0
jmp 0x2565
leaq 0x6b04(%rip), %rsi      # 0x9070
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x257a
leaq 0x6b40(%rip), %rsi      # 0x90c1
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x258f
leaq 0x6b7c(%rip), %rsi      # 0x9112
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x25a4
leaq 0x6bb8(%rip), %rsi      # 0x9163
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x25b9
leaq 0x6bf4(%rip), %rsi      # 0x91b4
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x25ce
leaq 0x6c30(%rip), %rsi      # 0x9205
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x25e3
leaq 0x6c6c(%rip), %rsi      # 0x9256
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x25f8
leaq 0x6d5d(%rip), %rsi      # 0x935c
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x260d
leaq 0x6c4c(%rip), %rsi      # 0x9260
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2622
leaq 0x6c4d(%rip), %rsi      # 0x9276
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2637
leaq 0x6c50(%rip), %rsi      # 0x928e
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x264c
leaq 0x6c5e(%rip), %rsi      # 0x92b1
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2661
leaq 0x6c6f(%rip), %rsi      # 0x92d7
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2676
leaq 0x6d5b(%rip), %rsi      # 0x93d8
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x268b
leaq 0x6c60(%rip), %rsi      # 0x92f2
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x26a0
leaq 0x6dd5(%rip), %rsi      # 0x947c
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x26b5
leaq 0x6c87(%rip), %rsi      # 0x9343
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x26ca
leaq 0x6daa(%rip), %rsi      # 0x947b
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x26df
leaq 0x6c60(%rip), %rsi      # 0x9346
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x26f4
leaq 0x6c5d(%rip), %rsi      # 0x9358
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2709
leaq 0x6c4f(%rip), %rsi      # 0x935f
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x271e
leaq 0x6c5a(%rip), %rsi      # 0x937f
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2733
leaq -0x390(%rbp), %rdi
callq 0x2260
jmp 0x2741
leaq 0x6c5a(%rip), %rsi      # 0x93a2
leaq -0x390(%rbp), %rdi
callq 0x21b0
movq %rax, -0x3c0(%rbp)
jmp 0x275d
movq -0x3c0(%rbp), %rdi
movl -0x8(%rbp), %esi
callq 0x2360
movq %rax, -0x3c8(%rbp)
jmp 0x2775
movq -0x3c8(%rbp), %rdi
leaq 0x6b51(%rip), %rsi      # 0x92d4
callq 0x21b0
jmp 0x278a
leaq 0x6c2a(%rip), %rsi      # 0x93bb
leaq -0x390(%rbp), %rdi
callq 0x21b0
movq %rax, -0x3d0(%rbp)
jmp 0x27a6
movq -0x3d0(%rbp), %rdi
movl -0x4(%rbp), %esi
movl -0x8(%rbp), %eax
subl %eax, %esi
callq 0x2360
movq %rax, -0x3d8(%rbp)
jmp 0x27c3
movq -0x3d8(%rbp), %rdi
leaq 0x6b03(%rip), %rsi      # 0x92d4
callq 0x21b0
jmp 0x27d8
leaq -0x3b0(%rbp), %rdi
leaq -0x390(%rbp), %rsi
callq 0x21e0
jmp 0x27ed
leaq -0x208(%rbp), %rdi
leaq -0x3b0(%rbp), %rsi
callq 0x2190
jmp 0x2802
leaq -0x3b0(%rbp), %rdi
callq 0x2100
leaq 0x6bbf(%rip), %rsi      # 0x93d4
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2823
leaq 0x6bb1(%rip), %rsi      # 0x93db
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2838
leaq 0x6c3d(%rip), %rsi      # 0x947c
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x284d
leaq 0x6b8a(%rip), %rsi      # 0x93de
leaq -0x208(%rbp), %rdi
callq 0x21b0
jmp 0x2862
leaq -0x208(%rbp), %rdi
callq 0x2290
jmp 0x2870
leaq -0x390(%rbp), %rdi
callq 0x2050
leaq -0x208(%rbp), %rdi
callq 0x22c0
addq $0x3e0, %rsp            # imm = 0x3E0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
jmp 0x28e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
jmp 0x28d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
leaq -0x3b0(%rbp), %rdi
callq 0x2100
leaq -0x390(%rbp), %rdi
callq 0x2050
leaq -0x208(%rbp), %rdi
callq 0x22c0
movq -0x210(%rbp), %rdi
callq 0x2370
nopl (%rax,%rax)