// File: /workspace/github_cpp_makefile_star2_O3/pfnet-research[P]pml/src/test.cpp
// Function: subst_term_test::subst_term_test()
PML_TEST(subst_term_test) {
    assert_eq(
            *logic::subst(
                make<logic::prob_term_t>(make<logic::var_formula_t>("x")),
                "x", make<logic::top_formula_t>()),
            logic::prob_term_t{make<logic::top_formula_t>()});
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
movl $0x0, 0x8(%rdi)
leaq 0x2ed7a(%rip), %rax     # 0x61ab0
movq %rax, (%rdi)
xorl %r15d, %r15d
leaq 0x70(%rsp), %rdi
movq %r15, -0x8(%rdi)
leaq 0x17fee(%rip), %rcx     # 0x4ad3a
leaq 0x68(%rsp), %r14
leaq 0x18(%rsp), %rdx
movq %r14, %rsi
callq 0x3aa70
leaq 0x8(%rsp), %rdi
movq %r15, -0x8(%rdi)
movq %rsp, %rsi
leaq 0x18(%rsp), %rdx
movq %r14, %rcx
callq 0x3a9b0
movaps (%rsp), %xmm0
movaps %xmm0, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x17fa3(%rip), %rsi     # 0x4ad3a
leaq 0x17f9d(%rip), %rdx     # 0x4ad3b
leaq 0x18(%rsp), %rdi
callq 0x116f8
movl $0x18, %edi
callq 0x92d0
movabsq $0x100000001, %r13      # imm = 0x100000001
movq %r13, 0x8(%rax)
leaq 0x2db89(%rip), %rbp     # 0x60950
movq %rbp, (%rax)
movq %rax, %rdx
addq $0x10, %rdx
leaq 0x2dbc8(%rip), %r12     # 0x609a0
movq %r12, 0x10(%rax)
leaq 0x88(%rsp), %rcx
movq %rdx, (%rcx)
movq %rax, 0x8(%rcx)
leaq 0x78(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x1239d
movq 0x78(%rsp), %r15
movl $0x18, %edi
callq 0x92d0
movq %rax, %r14
movq %r13, 0x8(%rax)
movq %rbp, (%rax)
addq $0x10, %rax
movq %r12, 0x10(%r14)
leaq 0x2d181(%rip), %r12     # 0x5ffa8
movq %r12, 0x38(%rsp)
movq %rax, 0x40(%rsp)
movq %r14, 0x48(%rsp)
movq 0x2f173(%rip), %rax     # 0x61fb0
cmpb $0x0, (%rax)
je 0x32e4c
movl $0x2, 0x8(%r14)
jmp 0x32e51
lock
incl 0x8(%r14)
leaq 0x38(%rsp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3a7c2
movq %r12, 0x38(%rsp)
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x32e75
callq 0xa946
movq %r14, %rdi
callq 0xa946
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x32e8f
callq 0xa946
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
leaq 0x28(%rsp), %rbx
je 0x32ea6
callq 0xa946
movq 0x18(%rsp), %rdi
cmpq %rbx, %rdi
je 0x32ebd
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x92e0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x32ecc
callq 0xa946
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x32edb
callq 0xa946
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x32eea
callq 0xa946
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r12, 0x38(%rsp)
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x32f13
callq 0xa946
movq %r14, %rdi
callq 0xa946
jmp 0x32f20
movq %rax, %rbx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x32f37
callq 0xa946
jmp 0x32f37
movq %rax, %rbx
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x32f4e
callq 0xa946
jmp 0x32f4e
movq %rax, %rbx
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x32f6f
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x92e0
jmp 0x32f6f
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x32f7e
callq 0xa946
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x32f92
callq 0xa946
jmp 0x32f92
movq %rax, %rbx
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x32fa1
callq 0xa946
movq %rbx, %rdi
callq 0x94e0
nop