// File: estan[P]tsp/tsp.cpp
// Function: ordered(unsigned short&, unsigned long&, unsigned short&, unsigned long&, unsigned short&, unsigned long&, unsigned short&, unsigned long&, unsigned short&, unsigned long&, unsigned short&, unsigned long&, unsigned short, unsigned long, unsigned short, unsigned long, unsigned short, unsigned long, unsigned short, unsigned long, unsigned short, unsigned long, unsigned short, unsigned long)
inline void ordered(
        uint16_t& A, size_t& A_i, uint16_t& B, size_t& B_i,
        uint16_t& C, size_t& C_i, uint16_t& D, size_t& D_i,
        uint16_t& E, size_t& E_i, uint16_t& F, size_t& F_i,

        uint16_t G, size_t G_i, uint16_t H, size_t H_i,
        uint16_t I, size_t I_i, uint16_t J, size_t J_i,
        uint16_t K, size_t K_i, uint16_t L, size_t L_i) {
    E = K; E_i = K_i;
    F = L; F_i = L_i;
    if ((I_i < G_i && G_i < K_i) ||
        (K_i < I_i && I_i < G_i) ||
        (G_i < K_i && K_i < I_i)) {
        A = I; A_i = I_i;
        B = J; B_i = J_i;
        C = G; C_i = G_i;
        D = H; D_i = H_i;
    } else {
        A = G; A_i = G_i;
        B = H; B_i = H_i;
        C = I; C_i = I_i;
        D = J; D_i = J_i;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x98(%rbp), %rax
movw 0x90(%rbp), %ax
movq 0x88(%rbp), %rax
movw 0x80(%rbp), %ax
movq 0x78(%rbp), %rax
movw 0x70(%rbp), %ax
movq 0x68(%rbp), %rax
movw 0x60(%rbp), %ax
movq 0x58(%rbp), %rax
movw 0x50(%rbp), %ax
movq 0x48(%rbp), %rax
movw 0x40(%rbp), %ax
movq 0x38(%rbp), %rax
movq 0x30(%rbp), %rax
movq 0x28(%rbp), %rax
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movw 0x80(%rbp), %cx
movq 0x20(%rbp), %rax
movw %cx, (%rax)
movq 0x88(%rbp), %rcx
movq 0x28(%rbp), %rax
movq %rcx, (%rax)
movw 0x90(%rbp), %cx
movq 0x30(%rbp), %rax
movw %cx, (%rax)
movq 0x98(%rbp), %rcx
movq 0x38(%rbp), %rax
movq %rcx, (%rax)
movq 0x68(%rbp), %rax
cmpq 0x48(%rbp), %rax
jae 0x931f
movq 0x48(%rbp), %rax
cmpq 0x88(%rbp), %rax
jb 0x9350
movq 0x88(%rbp), %rax
cmpq 0x68(%rbp), %rax
jae 0x9336
movq 0x68(%rbp), %rax
cmpq 0x48(%rbp), %rax
jb 0x9350
movq 0x48(%rbp), %rax
cmpq 0x88(%rbp), %rax
jae 0x93aa
movq 0x88(%rbp), %rax
cmpq 0x68(%rbp), %rax
jae 0x93aa
movw 0x60(%rbp), %cx
movq -0x8(%rbp), %rax
movw %cx, (%rax)
movq 0x68(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movw 0x70(%rbp), %cx
movq -0x18(%rbp), %rax
movw %cx, (%rax)
movq 0x78(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movw 0x40(%rbp), %cx
movq -0x28(%rbp), %rax
movw %cx, (%rax)
movq 0x48(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movw 0x50(%rbp), %cx
movq 0x10(%rbp), %rax
movw %cx, (%rax)
movq 0x58(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, (%rax)
jmp 0x9402
movw 0x40(%rbp), %cx
movq -0x8(%rbp), %rax
movw %cx, (%rax)
movq 0x48(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movw 0x50(%rbp), %cx
movq -0x18(%rbp), %rax
movw %cx, (%rax)
movq 0x58(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movw 0x60(%rbp), %cx
movq -0x28(%rbp), %rax
movw %cx, (%rax)
movq 0x68(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movw 0x70(%rbp), %cx
movq 0x10(%rbp), %rax
movw %cx, (%rax)
movq 0x78(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, (%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop