// File: /workspace/github_c_makefile_star2_O1/markpeerdeman[P]mbemm/src/emath/linearc.c
// Function: norm_int
void norm_int(element te, hypermatrix c, hypermatrix e)
{ int i;

  fillhypermatrix(c,ZEROFILL);
  fillhypermatrix(e,ZEROFILL);

  for (i=1; i<=7; i++) 
  { /* node 1: */
    matcopy3x3(tf[i],temp);
    scalemat3x3(temp,xi1[i]*w[i]);
    matsum3x3(e->data[1],temp); 
    matcopy3x3(uf[i],temp);
    scalemat3x3(temp,xi1[i]*w[i]);
    matsum3x3(c->data[1],temp); 

    /* node 2: */
    matcopy3x3(tf[i],temp);
    scalemat3x3(temp,xi2[i]*w[i]);
    matsum3x3(e->data[2],temp); 
    matcopy3x3(uf[i],temp);
    scalemat3x3(temp,xi2[i]*w[i]); 
    matsum3x3(c->data[2],temp); 

    /* node 3: */
    matcopy3x3(tf[i],temp);
    scalemat3x3(temp,xi3[i]*w[i]);
    matsum3x3(e->data[3],temp); 
    matcopy3x3(uf[i],temp);
    scalemat3x3(temp,xi3[i]*w[i]);
    matsum3x3(c->data[3],temp); 

  } 
  /* scale the results with the jacobian: */
  for (i=1; i<=3; i++)
  { scalemat3x3(e->data[i],te->area);
    scalemat3x3(c->data[i],te->area);
  }

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %r12d, %r12d
movq %rsi, %rdi
xorl %esi, %esi
callq 0xc136
movq %rbx, %rdi
xorl %esi, %esi
callq 0xc136
leaq 0xb097(%rip), %rbp      # 0x153c0
movq 0xb588(%rip), %rax      # 0x158b8
movq 0x8(%rax,%r12), %rdi
movq 0xb574(%rip), %rsi      # 0x158b0
callq 0xc92e
movq 0xb568(%rip), %rdi      # 0x158b0
leaq 0xafb1(%rip), %r13      # 0x15300
movsd 0x8(%r12,%r13), %xmm0
mulsd 0x8(%r12,%rbp), %xmm0
callq 0xc558
movq 0x8(%rbx), %rax
movq 0x8(%rax), %rdi
movq 0xb53f(%rip), %rsi      # 0x158b0
callq 0xc625
movq 0xb543(%rip), %rax      # 0x158c0
movq 0x8(%rax,%r12), %rdi
movq 0xb527(%rip), %rsi      # 0x158b0
callq 0xc92e
movq 0xb51b(%rip), %rdi      # 0x158b0
movsd 0x8(%r12,%r13), %xmm0
mulsd 0x8(%r12,%rbp), %xmm0
callq 0xc558
movq 0x8(%r14), %rax
movq 0x8(%rax), %rdi
movq 0xb4f9(%rip), %rsi      # 0x158b0
callq 0xc625
movq 0xb4f5(%rip), %rax      # 0x158b8
movq 0x8(%rax,%r12), %rdi
movq 0xb4e1(%rip), %rsi      # 0x158b0
callq 0xc92e
movq 0xb4d5(%rip), %rdi      # 0x158b0
leaq 0xaf5e(%rip), %r13      # 0x15340
movsd 0x8(%r12,%r13), %xmm0
mulsd 0x8(%r12,%rbp), %xmm0
callq 0xc558
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rdi
movq 0xb4ac(%rip), %rsi      # 0x158b0
callq 0xc625
movq 0xb4b0(%rip), %rax      # 0x158c0
movq 0x8(%rax,%r12), %rdi
movq 0xb494(%rip), %rsi      # 0x158b0
callq 0xc92e
movq 0xb488(%rip), %rdi      # 0x158b0
movsd 0x8(%r12,%r13), %xmm0
mulsd 0x8(%r12,%rbp), %xmm0
callq 0xc558
movq 0x8(%r14), %rax
movq 0x10(%rax), %rdi
movq 0xb466(%rip), %rsi      # 0x158b0
callq 0xc625
movq 0xb462(%rip), %rax      # 0x158b8
movq 0x8(%rax,%r12), %rdi
movq 0xb44e(%rip), %rsi      # 0x158b0
callq 0xc92e
movq 0xb442(%rip), %rdi      # 0x158b0
leaq 0xaf0b(%rip), %r13      # 0x15380
movsd 0x8(%r12,%r13), %xmm0
mulsd 0x8(%r12,%rbp), %xmm0
callq 0xc558
movq 0x8(%rbx), %rax
movq 0x18(%rax), %rdi
movq 0xb419(%rip), %rsi      # 0x158b0
callq 0xc625
movq 0xb41d(%rip), %rax      # 0x158c0
movq 0x8(%rax,%r12), %rdi
movq 0xb401(%rip), %rsi      # 0x158b0
callq 0xc92e
movq 0xb3f5(%rip), %rdi      # 0x158b0
movsd 0x8(%r12,%r13), %xmm0
mulsd 0x8(%r12,%rbp), %xmm0
callq 0xc558
movq 0x8(%r14), %rax
movq 0x18(%rax), %rdi
movq 0xb3d3(%rip), %rsi      # 0x158b0
callq 0xc625
addq $0x8, %r12
cmpq $0x38, %r12
jne 0xa329
movl $0x1, %r12d
movq 0x8(%rbx), %rax
movq (%rax,%r12,8), %rdi
movsd 0xb8(%r15), %xmm0
callq 0xc558
movq 0x8(%r14), %rax
movq (%rax,%r12,8), %rdi
movsd 0xb8(%r15), %xmm0
callq 0xc558
incq %r12
cmpq $0x4, %r12
jne 0xa4f6
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq