// File: /workspace/github_c_makefile_star2_O0/markpeerdeman[P]mbemm/src/emath/parse.c
// Function: fill_C_points
void fill_C_points(FILE *fp, cmesh theCMesh)
{ point p; 
  point q;
  int node1label;
  int node2label;
  double length;
  static char theKeyword[80];
  while (1)
  { read_keyword(fp,theKeyword);
    if (!strcmp(theKeyword,"END_CNODES")) return;
    node1label=atoi(theKeyword);
    read_keyword(fp,theKeyword); 
    node2label=atoi(theKeyword)+theCMesh->nr_of_nodes_basemesh;
    p=(point)point_dll(theCMesh->merged_mesh->mesh_p,SEARCH,node1label);
    q=(point)point_dll(theCMesh->merged_mesh->mesh_p,SEARCH,node2label);
    p->type=CNODE; q->type=CNODE;
    p->conn=q->label; q->conn=p->label;
    read_keyword(fp,theKeyword); p->n1=strtod(theKeyword,NULL);
    read_keyword(fp,theKeyword); p->n2=strtod(theKeyword,NULL);
    read_keyword(fp,theKeyword); p->n3=strtod(theKeyword,NULL);
    length=sqrt(p->n1*p->n1+p->n2*p->n2+p->n3*p->n3);
    p->n1/=length;
    p->n2/=length;
    p->n3/=length;
    q->n1=p->n1;
    q->n2=p->n2;
    q->n3=p->n3;
     
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
leaq 0x15236(%rip), %rsi     # 0x1e570
callq 0x8f80
leaq 0x1522a(%rip), %rdi     # 0x1e570
leaq 0x10bda(%rip), %rsi     # 0x19f27
callq 0x10c0
cmpl $0x0, %eax
jne 0x935c
addq $0x38, %rsp
retq
leaq 0x1520d(%rip), %rdi     # 0x1e570
callq 0x1130
movl %eax, 0x14(%rsp)
movq 0x30(%rsp), %rdi
leaq 0x151f8(%rip), %rsi     # 0x1e570
callq 0x8f80
leaq 0x151ec(%rip), %rdi     # 0x1e570
callq 0x1130
movq 0x28(%rsp), %rcx
addl 0x8(%rcx), %eax
movl %eax, 0x10(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rax
movq (%rax), %rdi
movl 0x14(%rsp), %edx
movl $0x2, %esi
callq 0x175c0
movq %rax, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rax
movq (%rax), %rdi
movl 0x10(%rsp), %edx
movl $0x2, %esi
callq 0x175c0
movq %rax, 0x18(%rsp)
movq 0x20(%rsp), %rax
movl $0xf, 0x14(%rax)
movq 0x18(%rsp), %rax
movl $0xf, 0x14(%rax)
movq 0x18(%rsp), %rax
movl 0x10(%rax), %ecx
movq 0x20(%rsp), %rax
movl %ecx, 0x18(%rax)
movq 0x20(%rsp), %rax
movl 0x10(%rax), %ecx
movq 0x18(%rsp), %rax
movl %ecx, 0x18(%rax)
movq 0x30(%rsp), %rdi
leaq 0x1515b(%rip), %rsi     # 0x1e570
callq 0x8f80
leaq 0x1514f(%rip), %rdi     # 0x1e570
xorl %eax, %eax
movl %eax, %esi
callq 0x1050
movq 0x20(%rsp), %rax
movsd %xmm0, 0x68(%rax)
movq 0x30(%rsp), %rdi
leaq 0x15130(%rip), %rsi     # 0x1e570
callq 0x8f80
leaq 0x15124(%rip), %rdi     # 0x1e570
xorl %eax, %eax
movl %eax, %esi
callq 0x1050
movq 0x20(%rsp), %rax
movsd %xmm0, 0x70(%rax)
movq 0x30(%rsp), %rdi
leaq 0x15105(%rip), %rsi     # 0x1e570
callq 0x8f80
leaq 0x150f9(%rip), %rdi     # 0x1e570
xorl %eax, %eax
movl %eax, %esi
callq 0x1050
movq 0x20(%rsp), %rax
movsd %xmm0, 0x78(%rax)
movq 0x20(%rsp), %rax
movsd 0x68(%rax), %xmm1
movq 0x20(%rsp), %rax
movsd 0x68(%rax), %xmm2
movq 0x20(%rsp), %rax
movsd 0x70(%rax), %xmm0
movq 0x20(%rsp), %rax
mulsd 0x70(%rax), %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movq 0x20(%rsp), %rax
movsd 0x78(%rax), %xmm0
movq 0x20(%rsp), %rax
movsd 0x78(%rax), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x1150
movsd %xmm0, 0x8(%rsp)
movsd 0x8(%rsp), %xmm1
movq 0x20(%rsp), %rax
movsd 0x68(%rax), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x68(%rax)
movsd 0x8(%rsp), %xmm1
movq 0x20(%rsp), %rax
movsd 0x70(%rax), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x70(%rax)
movsd 0x8(%rsp), %xmm1
movq 0x20(%rsp), %rax
movsd 0x78(%rax), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x78(%rax)
movq 0x20(%rsp), %rax
movsd 0x68(%rax), %xmm0
movq 0x18(%rsp), %rax
movsd %xmm0, 0x68(%rax)
movq 0x20(%rsp), %rax
movsd 0x70(%rax), %xmm0
movq 0x18(%rsp), %rax
movsd %xmm0, 0x70(%rax)
movq 0x20(%rsp), %rax
movsd 0x78(%rax), %xmm0
movq 0x18(%rsp), %rax
movsd %xmm0, 0x78(%rax)
jmp 0x932e
nopl (%rax)