// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/network.cc
// Function: NEWcalculateFreeSphereParametersPrint(MATERIAL*, char*, bool)
void NEWcalculateFreeSphereParametersPrint(MATERIAL *Mat, char *filename, bool extendedPrintout){
  fstream output;
  output.setf(ios::fixed,ios::floatfield);
  output.precision(5);
  output.width(12);
  output.open(filename, fstream::out);

  output << filename << "    " << Mat->Di << " ";

  output << Mat->Df << "  " << Mat->Dif;

  if(extendedPrintout==true){
    output << "  ";
    for(unsigned int i = 0; i < Mat->directionDf.size(); i++)
       output << Mat->directionDf.at(i) << "  ";

    for(unsigned int i = 0; i < Mat->directionDif.size(); i++)
       output << Mat->directionDif.at(i) << "  ";
    };

 /* 
  for(unsigned int i = 0; i < NtoN.size(); i++)
    output << (NtoN[i] ? "t" : "f") << "  ";
 */

  output << "\n";


}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x4520
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xfffffefb, %edx       # imm = 0xFFFFFEFB
andl 0x20(%rsp,%rcx), %edx
orl $0x4, %edx
movl %edx, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rcx
movq $0x5, 0x10(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0xc, 0x18(%rsp,%rax)
movq %r14, %rdi
movq %r15, %rsi
movl $0x10, %edx
callq 0x43d0
leaq 0x18(%rsp), %r14
testq %r15, %r15
je 0x9489
movq %r15, %rdi
callq 0x41e0
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x44e0
jmp 0x94a2
movq 0x18(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x38(%rsp,%rax), %esi
orl $0x1, %esi
callq 0x4710
leaq 0x144034(%rip), %rsi    # 0x14d4dd
movl $0x4, %edx
movq %r14, %rdi
callq 0x44e0
movsd 0xc28(%rbx), %xmm0
movq %r14, %rdi
callq 0x46b0
leaq 0x14c109(%rip), %rsi    # 0x1555d6
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movsd 0xc30(%rbx), %xmm0
movq %r14, %rdi
callq 0x46b0
movq %rax, %r15
leaq 0x143feb(%rip), %rsi    # 0x14d4df
movl $0x2, %edx
movq %rax, %rdi
callq 0x44e0
movsd 0xc38(%rbx), %xmm0
movq %r15, %rdi
callq 0x46b0
testb %bpl, %bpl
je 0x95e0
leaq 0x143fbe(%rip), %rsi    # 0x14d4df
movl $0x2, %edx
movq %r14, %rdi
callq 0x44e0
movq 0xc40(%rbx), %rax
cmpq %rax, 0xc48(%rbx)
je 0x9587
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x143f93(%rip), %r15    # 0x14d4df
movsd (%rax,%rcx,8), %xmm0
movq %r14, %rdi
callq 0x46b0
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movl %ebp, %ecx
movq 0xc40(%rbx), %rax
movq 0xc48(%rbx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x954c
movq 0xc58(%rbx), %rax
cmpq %rax, 0xc60(%rbx)
je 0x95e0
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x143f3a(%rip), %r15    # 0x14d4df
movsd (%rax,%rcx,8), %xmm0
movq %r14, %rdi
callq 0x46b0
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movl %ebp, %ecx
movq 0xc58(%rbx), %rax
movq 0xc60(%rbx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x95a5
leaq 0x14a037(%rip), %rsi    # 0x15361e
movl $0x1, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x8(%rsp), %rdi
callq 0x4110
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9610
jmp 0x9610
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4110
movq %rbx, %rdi
callq 0x4780