// File: acliusBackHome[P]kamaya/dist/x86.cpp
// Function: x86::Assembler::quaMOD(std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&)
void Assembler::quaMOD(const Qua &qua) {
  const string &x = get<1>(qua);
  const string &y = get<2>(qua);
  const string &z = get<3>(qua);
  mov("eax", x);
  mov("ebx", y);
  div("ebx");
  mov(z, "edx"); // eax存商 edx存余数
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x10(%rbp), %rdi
callq 0x78c50
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x78c70
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x78750
movq %rax, -0x28(%rbp)
leaq -0x49(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x45f0
movq -0x140(%rbp), %rdx
leaq 0x13ff4(%rip), %rsi     # 0x91847
leaq -0x48(%rbp), %rdi
callq 0x4450
jmp 0x7d85e
movq -0x18(%rbp), %rsi
leaq -0x80(%rbp), %rdi
callq 0x4190
jmp 0x7d86d
movq -0x148(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x80(%rbp), %rdx
callq 0x80b50
jmp 0x7d883
leaq -0x80(%rbp), %rdi
callq 0x4688
leaq -0x48(%rbp), %rdi
callq 0x4688
leaq -0x49(%rbp), %rdi
callq 0x4380
leaq -0xa1(%rbp), %rdi
movq %rdi, -0x150(%rbp)
callq 0x45f0
movq -0x150(%rbp), %rdx
leaq 0x13f8c(%rip), %rsi     # 0x9184b
leaq -0xa0(%rbp), %rdi
callq 0x4450
jmp 0x7d8cd
movq -0x20(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x4190
jmp 0x7d8df
movq -0x148(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
callq 0x80b50
jmp 0x7d8fb
leaq -0xc8(%rbp), %rdi
callq 0x4688
leaq -0xa0(%rbp), %rdi
callq 0x4688
leaq -0xa1(%rbp), %rdi
callq 0x4380
leaq -0xe9(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x45f0
movq -0x158(%rbp), %rdx
leaq 0x13f0b(%rip), %rsi     # 0x9184b
leaq -0xe8(%rbp), %rdi
callq 0x4450
jmp 0x7d94e
movq -0x148(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x80ff0
jmp 0x7d963
leaq -0xe8(%rbp), %rdi
callq 0x4688
leaq -0xe9(%rbp), %rdi
callq 0x4380
movq -0x28(%rbp), %rsi
leaq -0x110(%rbp), %rdi
callq 0x4190
leaq -0x131(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x45f0
movq -0x160(%rbp), %rdx
leaq 0x13ea7(%rip), %rsi     # 0x91853
leaq -0x130(%rbp), %rdi
callq 0x4450
jmp 0x7d9ba
movq -0x148(%rbp), %rdi
leaq -0x110(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0x80b50
jmp 0x7d9d6
leaq -0x130(%rbp), %rdi
callq 0x4688
leaq -0x131(%rbp), %rdi
callq 0x4380
leaq -0x110(%rbp), %rdi
callq 0x4688
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x7da3d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x7da34
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x4688
leaq -0x48(%rbp), %rdi
callq 0x4688
leaq -0x49(%rbp), %rdi
callq 0x4380
jmp 0x7db0b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x7da8b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x7da7f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x4688
leaq -0xa0(%rbp), %rdi
callq 0x4688
leaq -0xa1(%rbp), %rdi
callq 0x4380
jmp 0x7db0b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x7dabf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x4688
leaq -0xe9(%rbp), %rdi
callq 0x4380
jmp 0x7db0b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x7daf3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x130(%rbp), %rdi
callq 0x4688
leaq -0x131(%rbp), %rdi
callq 0x4380
leaq -0x110(%rbp), %rdi
callq 0x4688
movq -0x58(%rbp), %rdi
callq 0x45e0
nopw %cs:(%rax,%rax)