// File: BartMassey[P]ancient-raytracer/./xform.cc
// Function: xform::operator*=(xform)
inline void xform::operator*= ( xform n ) {
  int i, j, k;
  xform l(*this);

  for( i = 0; i < 4; i++ )
    for( j = 0; j < 4; j++ ) {
      (*m)[i][j] = (*n.m)[i][0] * (*l.m)[0][j];
      for( k = 1; k < 4; k++ )
        (*m)[i][j] += (*n.m)[i][k] * (*l.m)[k][j];
    }
  for( i = 0; i < 4; i++ )
    for( j = 0; j < 4; j++ ) {
      (*mi)[i][j] = (*l.mi)[i][0] * (*n.mi)[0][j];
      for( k = 1; k < 4; k++ )
        (*mi)[i][j] += (*l.mi)[i][k] * (*n.mi)[k][j];
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xc8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0xc0(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x6730
movl $0x0, -0x14(%rbp)
cmpl $0x4, -0x14(%rbp)
jge 0x5b0a
movl $0x0, -0x18(%rbp)
cmpl $0x4, -0x18(%rbp)
jge 0x5afa
movq -0xc0(%rbp), %rax
movq -0xc8(%rbp), %rcx
movq 0x8(%rcx), %rcx
movslq -0x14(%rbp), %rdx
shlq $0x4, %rdx
addq %rdx, %rcx
movss (%rcx), %xmm0
movq -0xb0(%rbp), %rcx
movslq -0x18(%rbp), %rdx
mulss (%rcx,%rdx,4), %xmm0
movq 0x8(%rax), %rax
movslq -0x14(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movslq -0x18(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl $0x1, -0x1c(%rbp)
cmpl $0x4, -0x1c(%rbp)
jge 0x5aea
movq -0xc0(%rbp), %rax
movq -0xc8(%rbp), %rcx
movq 0x8(%rcx), %rcx
movslq -0x14(%rbp), %rdx
shlq $0x4, %rdx
addq %rdx, %rcx
movslq -0x1c(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
movq -0xb0(%rbp), %rcx
movslq -0x1c(%rbp), %rdx
shlq $0x4, %rdx
addq %rdx, %rcx
movslq -0x18(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm2
movq 0x8(%rax), %rax
movslq -0x14(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movslq -0x18(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x5a73
jmp 0x5aec
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x5a19
jmp 0x5afc
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x5a08
movl $0x0, -0x14(%rbp)
cmpl $0x4, -0x14(%rbp)
jge 0x5c13
movl $0x0, -0x18(%rbp)
cmpl $0x4, -0x18(%rbp)
jge 0x5c03
movq -0xc0(%rbp), %rax
movq -0xc8(%rbp), %rcx
movq -0xa8(%rbp), %rdx
movslq -0x14(%rbp), %rsi
shlq $0x4, %rsi
addq %rsi, %rdx
movss (%rdx), %xmm0
movq 0x10(%rcx), %rcx
movslq -0x18(%rbp), %rdx
mulss (%rcx,%rdx,4), %xmm0
movq 0x10(%rax), %rax
movslq -0x14(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movslq -0x18(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl $0x1, -0x1c(%rbp)
cmpl $0x4, -0x1c(%rbp)
jge 0x5bf3
movq -0xc0(%rbp), %rax
movq -0xc8(%rbp), %rcx
movq -0xa8(%rbp), %rdx
movslq -0x14(%rbp), %rsi
shlq $0x4, %rsi
addq %rsi, %rdx
movslq -0x1c(%rbp), %rsi
movss (%rdx,%rsi,4), %xmm0
movq 0x10(%rcx), %rcx
movslq -0x1c(%rbp), %rdx
shlq $0x4, %rdx
addq %rdx, %rcx
movslq -0x18(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm2
movq 0x10(%rax), %rax
movslq -0x14(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movslq -0x18(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x5b7c
jmp 0x5bf5
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x5b22
jmp 0x5c05
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x5b11
leaq -0xb8(%rbp), %rdi
callq 0x41c0
addq $0xd0, %rsp
popq %rbp
retq
nopl (%rax,%rax)