// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_match_Pattern_dom
static struct mirth_type_StackType mw_mirth_match_Pattern_dom (struct mirth_match_Pattern* in_Pattern_1) {
	incref(MK_mirth_match_Pattern(in_Pattern_1));
	struct mirth_type_StackType v3 = in_Pattern_1->mmid;
	incref(MK_mirth_type_StackType(v3));
	decref(MK_mirth_match_Pattern(in_Pattern_1));
	struct std_list_List_1 v4 = in_Pattern_1->msaved;
	incref(MK_std_list_List_1(v4));
	decref(MK_mirth_match_Pattern(in_Pattern_1));
	bool v5 = true;
	struct mirth_type_StackType v6 = v3;
	struct std_list_List_1 v7 = v4;
	bool v8 = v5;
	bool v9 = v5;
	while (v9) {
		struct mirth_type_StackType v10 = v6;
		struct std_list_List_1 v11 = v7;
		bool v12 = v8;
		struct mirth_type_StackType branch_StackType_13;
		struct std_list_List_1 branch_List_14;
		bool branch_Bool_15;
		switch ((v11).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v16;
				VAL v17 = mtp_std_list_List_1_Cons(v11, &v16);
				struct mirth_type_StackType v18 = mtw_mirth_type_StackType_Cons(v10, V_mirth_type_Type(v17));
				bool v19 = true;
				branch_Bool_15 = v19;
				branch_List_14 = v16;
				branch_StackType_13 = v18;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v20 = { .tag=std_list_List_1_Nil };
				bool v21 = false;
				branch_Bool_15 = v21;
				branch_List_14 = v20;
				branch_StackType_13 = v10;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v9 = branch_Bool_15;
		v8 = branch_Bool_15;
		v7 = branch_List_14;
		v6 = branch_StackType_13;
	}
	decref(MK_std_list_List_1(v7));
	return v6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2d0, %rsp            # imm = 0x2D0
movq %rdi, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq 0x29a90a(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf7db0
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x29a8e5(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x38(%rbp), %rax
cmpq $0x0, %rax
je 0xf7db0
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x29a8ba(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf7db0
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x29a895(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xf7db2
movq -0x18(%rbp), %rax
movq 0x58(%rax), %rcx
movq %rcx, -0x68(%rbp)
movq 0x60(%rax), %rax
movq %rax, -0x60(%rbp)
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x6f140
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x70(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf7e77
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x6f140
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rax
cmpq $0x0, %rax
je 0xf7e77
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x6f140
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x98(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf7e77
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x6f140
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xf7e79
jmp 0xf7e7b
movq -0x18(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x29a79b(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf7f7f
movq -0x18(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x29a769(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc8(%rbp), %rax
cmpq $0x0, %rax
je 0xf7f7f
movq -0x18(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x29a731(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movq -0xd8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf7f7f
movq -0x18(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x29a703(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xe8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf7f7d
movq -0x18(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x29a6c9(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movq -0xf8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
callq 0x127c0
jmp 0xf7f7f
jmp 0xf7f81
movq -0x18(%rbp), %rax
movq 0x48(%rax), %rcx
movq %rcx, -0x108(%rbp)
movq 0x50(%rax), %rax
movq %rax, -0x100(%rbp)
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0x110(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf8070
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rax
cmpq $0x0, %rax
je 0xf8070
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movq -0x138(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf8070
movl -0x108(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x12780
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xf8072
jmp 0xf8074
movq -0x18(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq 0x29a5a2(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf8178
movq -0x18(%rbp), %rax
movq %rax, -0x168(%rbp)
leaq 0x29a570(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x160(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x168(%rbp), %rax
cmpq $0x0, %rax
je 0xf8178
movq -0x18(%rbp), %rax
movq %rax, -0x178(%rbp)
leaq 0x29a538(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x170(%rbp)
movq -0x178(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf8178
movq -0x18(%rbp), %rax
movq %rax, -0x188(%rbp)
leaq 0x29a50a(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x180(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x188(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf8176
movq -0x18(%rbp), %rax
movq %rax, -0x198(%rbp)
leaq 0x29a4d0(%rip), %rax    # 0x392628
orq $0x1, %rax
movq %rax, -0x190(%rbp)
movq -0x198(%rbp), %rdi
movq -0x190(%rbp), %rsi
callq 0x127c0
jmp 0xf8178
jmp 0xf817a
movb $0x1, -0x199(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movb -0x199(%rbp), %al
andb $0x1, %al
movb %al, -0x1b1(%rbp)
movb -0x199(%rbp), %al
andb $0x1, %al
movb %al, -0x1b2(%rbp)
testb $0x1, -0x1b2(%rbp)
je 0xf83b4
movups -0x10(%rbp), %xmm0
movaps %xmm0, -0x1d0(%rbp)
movups -0x1b0(%rbp), %xmm0
movaps %xmm0, -0x1e0(%rbp)
movb -0x1b1(%rbp), %al
andb $0x1, %al
movb %al, -0x1e1(%rbp)
movl -0x1e0(%rbp), %eax
movl %eax, -0x2c4(%rbp)
testl %eax, %eax
je 0xf82e6
jmp 0xf8213
movl -0x2c4(%rbp), %eax
subl $0x1, %eax
jne 0xf8348
jmp 0xf8224
movl -0x1e0(%rbp), %edi
movq -0x1d8(%rbp), %rsi
leaq -0x220(%rbp), %rdx
callq 0x125e0
movq %rax, -0x230(%rbp)
movq %rdx, -0x228(%rbp)
movq -0x230(%rbp), %rdi
movq -0x228(%rbp), %rsi
callq 0x6f100
movl %eax, -0x250(%rbp)
movq %rdx, -0x248(%rbp)
movl -0x1d0(%rbp), %edi
movq -0x1c8(%rbp), %rsi
movl -0x250(%rbp), %edx
movq -0x248(%rbp), %rcx
callq 0x73df0
movl %eax, -0x240(%rbp)
movq %rdx, -0x238(%rbp)
movb $0x1, -0x251(%rbp)
movb -0x251(%rbp), %al
andb $0x1, %al
movb %al, -0x209(%rbp)
movq -0x220(%rbp), %rax
movq %rax, -0x208(%rbp)
movq -0x218(%rbp), %rax
movq %rax, -0x200(%rbp)
movq -0x240(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x238(%rbp), %rax
movq %rax, -0x1f0(%rbp)
jmp 0xf8361
leaq -0x268(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x269(%rbp)
movb -0x269(%rbp), %al
andb $0x1, %al
movb %al, -0x209(%rbp)
movq -0x268(%rbp), %rax
movq %rax, -0x208(%rbp)
movq -0x260(%rbp), %rax
movq %rax, -0x200(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x1f0(%rbp)
jmp 0xf8361
leaq 0x25bb32(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x209(%rbp), %al
andb $0x1, %al
movb %al, -0x1b2(%rbp)
movb -0x209(%rbp), %al
andb $0x1, %al
movb %al, -0x1b1(%rbp)
movq -0x208(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x200(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xf81c9
jmp 0xf83b6
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x12780
movq %rax, -0x280(%rbp)
movq %rdx, -0x278(%rbp)
movq -0x278(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf84c9
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x12780
movq %rax, -0x290(%rbp)
movq %rdx, -0x288(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x290(%rbp), %rax
cmpq $0x0, %rax
je 0xf84c9
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x12780
movq %rax, -0x2a0(%rbp)
movq %rdx, -0x298(%rbp)
movq -0x2a0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf84c9
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x12780
movq %rax, -0x2b0(%rbp)
movq %rdx, -0x2a8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x2b0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf84c7
movl -0x1b0(%rbp), %edi
movq -0x1a8(%rbp), %rsi
callq 0x12780
movq %rax, -0x2c0(%rbp)
movq %rdx, -0x2b8(%rbp)
movq -0x2c0(%rbp), %rdi
movq -0x2b8(%rbp), %rsi
callq 0x127c0
jmp 0xf84c9
jmp 0xf84cb
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x2d0, %rsp            # imm = 0x2D0
popq %rbp
retq
nopl (%rax,%rax)