// File: tomfunkhouser[P]gaps/pkgs/R3Shapes/R4Matrix.cpp
// Function: gaps::operator-(gaps::R4Matrix const&)
R4Matrix 
operator-(const R4Matrix& a)
{
    // Negate matrix
    return R4Matrix(
   	-a.m[0][0], -a.m[0][1], -a.m[0][2], -a.m[0][3], 
	-a.m[1][0], -a.m[1][1], -a.m[1][2], -a.m[1][3], 
        -a.m[2][0], -a.m[2][1], -a.m[2][2], -a.m[2][3], 
        -a.m[3][0], -a.m[3][1], -a.m[3][2], -a.m[3][3]);
}

// Assembly:
subq $0x58, %rsp
movq %rdi, %rax
movq %rax, 0x40(%rsp)
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq 0x48(%rsp), %rax
movsd (%rax), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq 0x48(%rsp), %rax
movsd 0x8(%rax), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
movq 0x48(%rsp), %rax
movsd 0x10(%rax), %xmm2
movq %xmm2, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm2
movq 0x48(%rsp), %rax
movsd 0x18(%rax), %xmm3
movq %xmm3, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm3
movq 0x48(%rsp), %rax
movsd 0x20(%rax), %xmm4
movq %xmm4, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm4
movq 0x48(%rsp), %rax
movsd 0x28(%rax), %xmm5
movq %xmm5, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm5
movq 0x48(%rsp), %rax
movsd 0x30(%rax), %xmm6
movq %xmm6, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm6
movq 0x48(%rsp), %rax
movsd 0x38(%rax), %xmm7
movq %xmm7, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm7
movq 0x48(%rsp), %rax
movsd 0x40(%rax), %xmm8
movq %xmm8, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm15
movq 0x48(%rsp), %rax
movsd 0x48(%rax), %xmm8
movq %xmm8, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm14
movq 0x48(%rsp), %rax
movsd 0x50(%rax), %xmm8
movq %xmm8, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm13
movq 0x48(%rsp), %rax
movsd 0x58(%rax), %xmm8
movq %xmm8, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm12
movq 0x48(%rsp), %rax
movsd 0x60(%rax), %xmm8
movq %xmm8, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm11
movq 0x48(%rsp), %rax
movsd 0x68(%rax), %xmm8
movq %xmm8, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm10
movq 0x48(%rsp), %rax
movsd 0x70(%rax), %xmm8
movq %xmm8, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm9
movq 0x48(%rsp), %rax
movsd 0x78(%rax), %xmm8
movq %xmm8, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm8
movsd %xmm15, (%rsp)
movsd %xmm14, 0x8(%rsp)
movsd %xmm13, 0x10(%rsp)
movsd %xmm12, 0x18(%rsp)
movsd %xmm11, 0x20(%rsp)
movsd %xmm10, 0x28(%rsp)
movsd %xmm9, 0x30(%rsp)
movsd %xmm8, 0x38(%rsp)
callq 0x51c60
movq 0x40(%rsp), %rax
addq $0x58, %rsp
retq
nopw %cs:(%rax,%rax)