// File: /workspace/github_cpp_makefile_star2_O3/acliusBackHome[P]kamaya/dist/x86.cpp
// Function: x86::Assembler::quaDIV(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::quaDIV(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, "eax"); // eax存商 edx存余数
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xe0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0xd0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xfeef(%rip), %rsi      # 0x477a9
leaq 0xfeeb(%rip), %rdx      # 0x477ac
leaq -0xe0(%rbp), %rdi
callq 0xf868
leaq -0xb0(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
addq %rsi, %rdx
leaq -0xc0(%rbp), %rdi
callq 0xf7ca
leaq -0xe0(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
movq %rbx, %rdi
callq 0x3a7d0
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x37917
callq 0x42b0
movq -0xe0(%rbp), %rdi
cmpq %r15, %rdi
je 0x37928
callq 0x42b0
leaq -0x90(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xfe73(%rip), %rsi      # 0x477ad
leaq 0xfe6f(%rip), %rdx      # 0x477b0
leaq -0xa0(%rbp), %rdi
callq 0xf868
leaq -0x70(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
leaq -0x80(%rbp), %rdi
callq 0xf7ca
leaq -0xa0(%rbp), %rsi
leaq -0x80(%rbp), %rdx
movq %rbx, %rdi
callq 0x3a7d0
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x3798b
callq 0x42b0
movq -0xa0(%rbp), %rdi
cmpq %r15, %rdi
je 0x3799c
callq 0x42b0
leaq -0xf0(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xfdfe(%rip), %rsi      # 0x477ad
leaq 0xfdfa(%rip), %rdx      # 0x477b0
leaq -0x100(%rbp), %r15
movq %r15, %rdi
callq 0xf868
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3ac6e
movq -0x100(%rbp), %rdi
cmpq %r12, %rdi
je 0x379e1
callq 0x42b0
leaq -0x50(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq -0x60(%rbp), %rdi
callq 0xf7ca
leaq -0x30(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xfd9e(%rip), %rsi      # 0x477a9
leaq 0xfd9a(%rip), %rdx      # 0x477ac
leaq -0x40(%rbp), %rdi
callq 0xf868
leaq -0x60(%rbp), %rsi
leaq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x3a7d0
movq -0x40(%rbp), %rdi
cmpq %r14, %rdi
je 0x37a39
callq 0x42b0
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x37a47
callq 0x42b0
addq $0xe0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r14, %rdi
je 0x37a6d
callq 0x42b0
jmp 0x37a6d
movq %rax, %rbx
movq -0x60(%rbp), %rdi
jmp 0x37ac3
movq %rax, %rbx
movq -0x100(%rbp), %rdi
cmpq %r12, %rdi
jne 0x37ac8
jmp 0x37acd
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x37a9a
callq 0x42b0
jmp 0x37a9a
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
jmp 0x37ac3
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x37abc
callq 0x42b0
jmp 0x37abc
movq %rax, %rbx
movq -0xe0(%rbp), %rdi
cmpq %r15, %rdi
je 0x37acd
callq 0x42b0
movq %rbx, %rdi
callq 0x4560
nop