// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_splitzeargs
static struct mirth_type_Type mw_mirth_type_Type_splitzeargs (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_Type in_Type_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct std_list_List_1 *out_List_5) {
	struct std_list_List_1 v6 = { .tag=std_list_List_1_Nil };
	bool v7 = true;
	struct std_list_List_1 v8 = v6;
	struct mirth_mirth_zaMirth* r9 = in_zaMirth_1;
	struct mirth_type_Type v10 = in_Type_2;
	bool v11 = v7;
	bool v12 = v7;
	while (v12) {
		struct std_list_List_1 v13 = v8;
		struct mirth_mirth_zaMirth* r14 = r9;
		struct mirth_type_Type v15 = v10;
		bool v16 = v11;
		incref(MK_mirth_type_Type(v15));
		struct mirth_mirth_zaMirth* v17;
		struct std_maybe_Maybe_1 v18 = mw_mirth_type_Type_appzy(r14, v15, &v17);
		VAL branch_zux2_19;
		struct std_list_List_1 branch_List_20;
		bool branch_Bool_21;
		switch ((v18).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v22 = mtp_std_maybe_Maybe_1_Some(v18);
				decref(MK_mirth_type_Type(v15));
				VAL v23 = ((TUP*)PTRPTR(value_tup(v22)))->cells[0];
				VAL v24 = ((TUP*)PTRPTR(value_tup(v22)))->cells[1];
				tup_decref_outer(value_tup(v22));
				struct std_list_List_1 v25 = mw_std_list_List_1_cons(v24, v13);
				bool v26 = true;
				branch_Bool_21 = v26;
				branch_List_20 = v25;
				branch_zux2_19 = v23;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v27 = false;
				branch_Bool_21 = v27;
				branch_List_20 = v13;
				branch_zux2_19 = MK_mirth_type_Type(v15);
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v12 = branch_Bool_21;
		v11 = branch_Bool_21;
		v10 = V_mirth_type_Type(branch_zux2_19);
		r9 = v17;
		v8 = branch_List_20;
	}
	*out_List_5 = v8;
	*out_zaMirth_3 = r9;
	return v10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
leaq -0x48(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x1, -0x49(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movb -0x49(%rbp), %al
andb $0x1, %al
movb %al, -0x69(%rbp)
movb -0x49(%rbp), %al
andb $0x1, %al
movb %al, -0x6a(%rbp)
testb $0x1, -0x6a(%rbp)
je 0xc2314
movq -0x60(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movb -0x69(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xc1f95
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rax
cmpq $0x0, %rax
je 0xc1f95
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0xd0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xc1f95
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xc1f97
movq -0x88(%rbp), %rdi
movl -0x98(%rbp), %esi
movq -0x90(%rbp), %rdx
leaq -0xe8(%rbp), %rcx
callq 0xc2340
movl %eax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movl -0xf8(%rbp), %eax
movl %eax, -0x1dc(%rbp)
testl %eax, %eax
je 0xc2220
jmp 0xc1fda
movl -0x1dc(%rbp), %eax
subl $0x1, %eax
jne 0xc2289
jmp 0xc1feb
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x174a0
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x138(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xc211e
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rax
cmpq $0x0, %rax
je 0xc211e
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x160(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xc211e
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xc211c
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0x127c0
jmp 0xc211e
jmp 0xc2120
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0xb770
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
movq 0x8(%rax), %rcx
movq %rcx, -0x190(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x188(%rbp)
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0xb770
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
movq 0x18(%rax), %rcx
movq %rcx, -0x1a0(%rbp)
movq 0x20(%rax), %rax
movq %rax, -0x198(%rbp)
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0xb770
movq %rax, %rdi
callq 0xb7e0
movq -0x1a0(%rbp), %rdi
movq -0x198(%rbp), %rsi
movl -0x80(%rbp), %edx
movq -0x78(%rbp), %rcx
callq 0x12740
movl %eax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movb $0x1, -0x1b1(%rbp)
movb -0x1b1(%rbp), %al
andb $0x1, %al
movb %al, -0x119(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0xc22a2
movb $0x0, -0x1b2(%rbp)
movb -0x1b2(%rbp), %al
andb $0x1, %al
movb %al, -0x119(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x110(%rbp)
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0xc22a2
leaq 0x291bf1(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x119(%rbp), %al
andb $0x1, %al
movb %al, -0x6a(%rbp)
movb -0x119(%rbp), %al
andb $0x1, %al
movb %al, -0x69(%rbp)
movq -0x108(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x6f100
movl %eax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0xc1e7a
movq -0x38(%rbp), %rax
movups -0x60(%rbp), %xmm0
movups %xmm0, (%rax)
movq -0x68(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
nopw (%rax,%rax)