// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Tag_labelzeinputszefromzesig
static struct std_list_List_1 mw_mirth_data_Tag_labelzeinputszefromzesig (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Tag_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct std_maybe_Maybe_1 v6 = mw_mirth_data_Tag_sigzy(in_zaMirth_1, in_Tag_2, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_list_List_1 branch_List_8;
	switch ((v6).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v9 = mtp_std_maybe_Maybe_1_Some(v6);
			struct mirth_mirth_zaMirth* v10;
			struct std_list_List_1 v11 = mw_mirth_token_Token_sigzestackzetokens(v5, V_mirth_token_Token(v9), &v10);
			struct std_list_List_1 v12 = { .tag=std_list_List_1_Nil };
			struct std_list_List_1 v13;
			mw_std_list_List_1_buildzx(v12, &v13);
			bool v14 = true;
			struct mirth_mirth_zaMirth* r15 = v10;
			struct std_list_List_1 r16 = v13;
			struct std_list_List_1 v17 = v11;
			bool v18 = v14;
			bool v19 = v14;
			while (v19) {
				struct mirth_mirth_zaMirth* r20 = r15;
				struct std_list_List_1 r21 = r16;
				struct std_list_List_1 v22 = v17;
				bool v23 = v18;
				struct mirth_mirth_zaMirth* branch_zaMirth_24;
				struct std_list_List_1 branch_zaLister_25;
				struct std_list_List_1 branch_List_26;
				bool branch_Bool_27;
				switch ((v22).tag) {
					case std_list_List_1_Cons: {
						struct std_list_List_1 v28;
						VAL v29 = mtp_std_list_List_1_Cons(v22, &v28);
						struct mirth_mirth_zaMirth* v30;
						struct std_maybe_Maybe_1 v31 = mw_mirth_token_Token_sigzelabelzy(r20, V_mirth_token_Token(v29), &v30);
						struct std_list_List_1 v32;
						mw_std_maybe_Maybe_1_for_1_sp2(r21, v31, &v32);
						bool v33 = true;
						branch_Bool_27 = v33;
						branch_List_26 = v28;
						branch_zaLister_25 = v32;
						branch_zaMirth_24 = v30;
					} break;
					case std_list_List_1_Nil: {
						struct std_list_List_1 v34 = { .tag=std_list_List_1_Nil };
						bool v35 = false;
						branch_Bool_27 = v35;
						branch_List_26 = v34;
						branch_zaLister_25 = r21;
						branch_zaMirth_24 = r20;
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				v19 = branch_Bool_27;
				v18 = branch_Bool_27;
				v17 = branch_List_26;
				r16 = branch_zaLister_25;
				r15 = branch_zaMirth_24;
			}
			decref(MK_std_list_List_1(v17));
			struct std_list_List_1 v36 = mw_std_list_zaLister_1_donezx(r16);
			branch_List_8 = v36;
			branch_zaMirth_7 = r15;
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_list_List_1 v37 = { .tag=std_list_List_1_Nil };
			branch_List_8 = v37;
			branch_zaMirth_7 = v5;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_List_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp            # imm = 0x210
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x606e0
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movl -0x40(%rbp), %eax
movl %eax, -0x204(%rbp)
testl %eax, %eax
je 0x1a64fb
jmp 0x1a60b2
movl -0x204(%rbp), %eax
subl $0x1, %eax
jne 0x1a652e
jmp 0x1a60c3
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x174a0
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x30(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0x19fc70
movl %eax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x91(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0xb8(%rbp)
movb -0x91(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
movb -0x91(%rbp), %al
andb $0x1, %al
movb %al, -0xc2(%rbp)
testb $0x1, -0xc2(%rbp)
je 0x1a63a2
movq -0xa0(%rbp), %rax
movq %rax, -0xd0(%rbp)
movups -0xb0(%rbp), %xmm0
movaps %xmm0, -0xe0(%rbp)
movups -0xc0(%rbp), %xmm0
movaps %xmm0, -0xf0(%rbp)
movb -0xc1(%rbp), %al
andb $0x1, %al
movb %al, -0xf1(%rbp)
movl -0xf0(%rbp), %eax
movl %eax, -0x208(%rbp)
testl %eax, %eax
je 0x1a62b2
jmp 0x1a61cd
movl -0x208(%rbp), %eax
subl $0x1, %eax
jne 0x1a6322
jmp 0x1a61de
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
leaq -0x138(%rbp), %rdx
callq 0x125e0
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0xd0(%rbp), %rdi
movq -0x148(%rbp), %rsi
leaq -0x150(%rbp), %rdx
callq 0xd03d0
movl %eax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
movl -0x160(%rbp), %edx
movq -0x158(%rbp), %rcx
leaq -0x170(%rbp), %r8
callq 0x989f0
movb $0x1, -0x171(%rbp)
movb -0x171(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x1a633b
leaq -0x188(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x189(%rbp)
movb -0x189(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x1a633b
leaq 0x1adb58(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x121(%rbp), %al
andb $0x1, %al
movb %al, -0xc2(%rbp)
movb -0x121(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xa0(%rbp)
jmp 0x1a6172
jmp 0x1a63a4
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x198(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1a64b7
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1b0(%rbp), %rax
cmpq $0x0, %rax
je 0x1a64b7
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movq -0x1c0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1a64b7
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1d0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1a64b5
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movq -0x1e0(%rbp), %rdi
movq -0x1d8(%rbp), %rsi
callq 0x127c0
jmp 0x1a64b7
jmp 0x1a64b9
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0xcea0
movl %eax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x1a6547
leaq -0x200(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x200(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x1a6547
leaq 0x1ad94c(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x48(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x210, %rsp            # imm = 0x210
popq %rbp
retq
nopw %cs:(%rax,%rax)