// File: /workspace/github_cpp_makefile_star2_O1/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 0x10589(%rip), %rsi     # 0x487a9
leaq 0x10585(%rip), %rdx     # 0x487ac
leaq -0xe0(%rbp), %rdi
callq 0xf65c
leaq -0xb0(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
addq %rsi, %rdx
leaq -0xc0(%rbp), %rdi
callq 0xf5c2
leaq -0xe0(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
movq %rbx, %rdi
callq 0x3b202
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x3827d
callq 0x42b0
movq -0xe0(%rbp), %rdi
cmpq %r15, %rdi
je 0x3828e
callq 0x42b0
leaq -0x90(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1050d(%rip), %rsi     # 0x487ad
leaq 0x10509(%rip), %rdx     # 0x487b0
leaq -0xa0(%rbp), %rdi
callq 0xf65c
leaq -0x70(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
leaq -0x80(%rbp), %rdi
callq 0xf5c2
leaq -0xa0(%rbp), %rsi
leaq -0x80(%rbp), %rdx
movq %rbx, %rdi
callq 0x3b202
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x382f1
callq 0x42b0
movq -0xa0(%rbp), %rdi
cmpq %r15, %rdi
je 0x38302
callq 0x42b0
leaq -0xf0(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x10498(%rip), %rsi     # 0x487ad
leaq 0x10494(%rip), %rdx     # 0x487b0
leaq -0x100(%rbp), %r15
movq %r15, %rdi
callq 0xf65c
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b6a0
movq -0x100(%rbp), %rdi
cmpq %r12, %rdi
je 0x38347
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 0xf5c2
leaq -0x30(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x10438(%rip), %rsi     # 0x487a9
leaq 0x10434(%rip), %rdx     # 0x487ac
leaq -0x40(%rbp), %rdi
callq 0xf65c
leaq -0x60(%rbp), %rsi
leaq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x3b202
movq -0x40(%rbp), %rdi
cmpq %r14, %rdi
je 0x3839f
callq 0x42b0
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x383ad
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 0x383d3
callq 0x42b0
jmp 0x383d3
movq %rax, %rbx
movq -0x60(%rbp), %rdi
jmp 0x38429
movq %rax, %rbx
movq -0x100(%rbp), %rdi
cmpq %r12, %rdi
jne 0x3842e
jmp 0x38433
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r12, %rdi
je 0x38400
callq 0x42b0
jmp 0x38400
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
jmp 0x38429
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x38422
callq 0x42b0
jmp 0x38422
movq %rax, %rbx
movq -0xe0(%rbp), %rdi
cmpq %r15, %rdi
je 0x38433
callq 0x42b0
movq %rbx, %rdi
callq 0x4560
nop