// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/translate_to_mdp.cpp
// Function: make_concat(int, int)
mdp::command_t make_concat(int from, int to) {
    return mdp::command_t {
        make<mdp::binop_expr_t>(
                make<mdp::var_expr_t>("location"),
                make<mdp::int_expr_t>(from),
                mdp::binop_kind_t::Eq),
        {
            mdp::branch_t{
                make<mdp::int_expr_t>(1),
                make<mdp::binop_expr_t>(
                        make<mdp::var_expr_t>("location'"),
                        make<mdp::int_expr_t>(to),
                        mdp::binop_kind_t::Eq)
            }
        }
    };
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
leaq 0x48(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x88bd(%rip), %rcx      # 0x45150
leaq 0x40(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x38192
movl $0x20, %edi
callq 0x92d0
movabsq $0x100000001, %r15      # imm = 0x100000001
movq %r15, 0x8(%rax)
leaq 0x25077(%rip), %r12     # 0x61938
movq %r12, (%rax)
movq %rax, %rcx
addq $0x10, %rcx
leaq 0x250b6(%rip), %r13     # 0x61988
movq %r13, 0x10(%rax)
movl %r14d, 0x18(%rax)
leaq 0x88(%rsp), %r8
movq %rax, 0x8(%r8)
movq %rcx, (%r8)
leaq 0x84(%rsp), %r9
movl $0x8, (%r9)
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %rsi
leaq 0x50(%rsp), %rdx
leaq 0x40(%rsp), %rcx
callq 0x37f76
movaps 0x10(%rsp), %xmm0
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movups %xmm0, (%rbx)
movq %rax, 0x10(%rsp)
movl $0x20, %edi
callq 0x92d0
movq %r15, 0x8(%rax)
movq %r12, (%rax)
movq %rax, %rcx
addq $0x10, %rcx
movq %r13, 0x10(%rax)
movl $0x1, 0x18(%rax)
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
leaq 0x38(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0xe4b1(%rip), %rcx      # 0x4ae1f
leaq 0x30(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x385c2
movl $0x20, %edi
callq 0x92d0
movq %r15, 0x8(%rax)
movq %r12, (%rax)
movq %rax, %rcx
addq $0x10, %rcx
movq %r13, 0x10(%rax)
movl %ebp, 0x18(%rax)
leaq 0x70(%rsp), %r8
movq %rax, 0x8(%r8)
movq %rcx, (%r8)
leaq 0x80(%rsp), %r9
movl $0x8, (%r9)
leaq 0x28(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x20(%rsp), %rsi
leaq 0xf(%rsp), %rdx
leaq 0x30(%rsp), %rcx
callq 0x37f76
leaq 0x10(%rbx), %rdi
movaps 0x20(%rsp), %xmm0
leaq 0x50(%rsp), %rsi
movups %xmm0, 0x10(%rsi)
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
leaq 0xf(%rsp), %rcx
movl $0x1, %edx
callq 0x37e1e
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x3ca10
callq 0xa946
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x3ca1f
callq 0xa946
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x3ca2e
callq 0xa946
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x3ca3d
callq 0xa946
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3ca4c
callq 0xa946
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x3ca5b
callq 0xa946
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x3ca6d
callq 0xa946
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x3ca7c
callq 0xa946
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x37d86
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x3caad
callq 0xa946
xorl %ebp, %ebp
jmp 0x3cab7
movq %rax, %r14
movb $0x1, %bpl
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x3cac6
callq 0xa946
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3cad5
callq 0xa946
testb %bpl, %bpl
jne 0x3caf3
jmp 0x3cb07
movq %rax, %r14
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3caf3
callq 0xa946
jmp 0x3caf3
movq %rax, %r14
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x3cb07
callq 0xa946
jmp 0x3cb07
movq %rax, %r14
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x3cb15
callq 0xa946
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x3cb29
callq 0xa946
jmp 0x3cb29
movq %rax, %r14
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x3cb40
callq 0xa946
jmp 0x3cb40
movq %rax, %r14
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x3cb4f
callq 0xa946
movq %r14, %rdi
callq 0x94e0