// File: /workspace/github_c_makefile_star2_O2/orangeduck[P]mpc/tests/regex.c
// Function: test_regex_dotall
void test_regex_dotall(void) {

  mpc_parser_t *re0 = mpc_re_mode("^.*$", MPC_RE_DEFAULT);
  mpc_parser_t *re1 = mpc_re_mode("^.*$", MPC_RE_DOTALL);

  PT_ASSERT(regex_test_pass(re0, "hello", "hello"));
  PT_ASSERT(regex_test_fail(re0, "hello\n", "hello"));
  PT_ASSERT(regex_test_fail(re0, "he\nllo\n", "he"));
  PT_ASSERT(regex_test_pass(re0, "34njaksdklmasd", "34njaksdklmasd"));
  PT_ASSERT(regex_test_fail(re0, "34njaksd\nklmasd", "34njaksd"));

  PT_ASSERT(regex_test_pass(re1, "hello", "hello"));
  PT_ASSERT(regex_test_pass(re1, "hello\n", "hello\n"));
  PT_ASSERT(regex_test_pass(re1, "he\nllo\n", "he\nllo\n"));
  PT_ASSERT(regex_test_pass(re1, "34njaksdklmasd", "34njaksdklmasd"));
  PT_ASSERT(regex_test_pass(re1, "34njaksd\nklmasd", "34njaksd\nklmasd"));

  mpc_delete(re0);
  mpc_delete(re1);

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0xab0e(%rip), %r14      # 0xfab6
movq %r14, %rdi
xorl %esi, %esi
callq 0x8383
movq %rax, %rbx
pushq $0x2
popq %rsi
movq %r14, %rdi
callq 0x8383
movq %rax, %r14
leaq 0xa9a2(%rip), %r12      # 0xf96c
movq %rbx, %rdi
movq %r12, %rsi
movq %r12, %rdx
callq 0x472c
leaq 0xaadc(%rip), %rsi      # 0xfabb
leaq 0xa373(%rip), %r15      # 0xf359
movl %eax, %edi
movq %r15, %rdx
movl $0x9b, %ecx
callq 0x4040
leaq 0xa9b1(%rip), %rsi      # 0xf9ad
movq %rbx, %rdi
movq %r12, %rdx
callq 0x4768
leaq 0xaad4(%rip), %rsi      # 0xfae2
movl %eax, %edi
movq %r15, %rdx
movl $0x9c, %ecx
callq 0x4040
leaq 0xaae7(%rip), %rsi      # 0xfb0b
leaq 0xa87d(%rip), %rdx      # 0xf8a8
movq %rbx, %rdi
callq 0x4768
leaq 0xaad9(%rip), %rsi      # 0xfb13
movl %eax, %edi
movq %r15, %rdx
movl $0x9d, %ecx
callq 0x4040
leaq 0xaaeb(%rip), %r13      # 0xfb3b
movq %rbx, %rdi
movq %r13, %rsi
movq %r13, %rdx
callq 0x472c
leaq 0xaae5(%rip), %rsi      # 0xfb4a
movl %eax, %edi
movq %r15, %rdx
movl $0x9e, %ecx
callq 0x4040
leaq 0xab08(%rip), %rbp      # 0xfb83
leaq 0xab11(%rip), %rdx      # 0xfb93
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x4768
leaq 0xab08(%rip), %rsi      # 0xfb9c
movl %eax, %edi
movq %r15, %rdx
movl $0x9f, %ecx
callq 0x4040
movq %r14, %rdi
movq %r12, %rsi
movq %r12, %rdx
callq 0x472c
leaq 0xab19(%rip), %rsi      # 0xfbd1
movl %eax, %edi
movq %r15, %rdx
movl $0xa1, %ecx
callq 0x4040
movq %r14, %rdi
leaq 0xa8dc(%rip), %rdx      # 0xf9ad
movq %rdx, %rsi
callq 0x472c
leaq 0xab18(%rip), %rsi      # 0xfbf8
movl %eax, %edi
movq %r15, %rdx
movl $0xa2, %ecx
callq 0x4040
movq %r14, %rdi
leaq 0xaa12(%rip), %rdx      # 0xfb0b
movq %rdx, %rsi
callq 0x472c
leaq 0xab1b(%rip), %rsi      # 0xfc23
movl %eax, %edi
movq %r15, %rdx
movl $0xa3, %ecx
callq 0x4040
movq %r14, %rdi
movq %r13, %rsi
movq %r13, %rdx
callq 0x472c
leaq 0xab26(%rip), %rsi      # 0xfc52
movl %eax, %edi
movq %r15, %rdx
movl $0xa4, %ecx
callq 0x4040
movq %r14, %rdi
movq %rbp, %rsi
movq %rbp, %rdx
callq 0x472c
leaq 0xab3b(%rip), %rsi      # 0xfc8b
movl %eax, %edi
movq %r15, %rdx
movl $0xa5, %ecx
callq 0x4040
movq %rbx, %rdi
callq 0x68f0
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x68f0