// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_appzetypezjzj
static void mw_mirth_type_Type_appzetypezjzj (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_zaStr_2, struct mirth_type_Type in_Type_3, struct mirth_type_Type in_Type_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, STR* *out_zaStr_6) {
	struct mirth_mirth_zaMirth* v7;
	struct std_list_List_1 v8;
	struct mirth_type_Type v9 = mw_mirth_type_Type_splitzeargs(in_zaMirth_1, in_Type_3, &v7, &v8);
	struct mirth_mirth_zaMirth* v10;
	STR* v11;
	mw_mirth_type_Type_typezj(v7, in_zaStr_2, v9, &v10, &v11);
	STR* v12;
	STRLIT(v12, "(", 1);
	STR* v13;
	mw_std_str_zaStr_pushzestrzx(v12, v11, &v13);
	bool v14 = true;
	struct mirth_mirth_zaMirth* r15 = v10;
	STR* r16 = v13;
	struct std_list_List_1 v17 = v8;
	bool v18 = v14;
	bool v19 = v14;
	while (v19) {
		struct mirth_mirth_zaMirth* r20 = r15;
		STR* r21 = r16;
		struct std_list_List_1 v22 = v17;
		bool v23 = v18;
		struct mirth_mirth_zaMirth* branch_zaMirth_24;
		STR* branch_zaStr_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;
				STR* v31;
				mw_mirth_type_Type_typezj(r20, r21, V_mirth_type_Type(v29), &v30, &v31);
				STR* v32;
				STRLIT(v32, ", ", 2);
				STR* v33;
				mw_std_str_zaStr_pushzestrzx(v32, v31, &v33);
				bool v34 = true;
				branch_Bool_27 = v34;
				branch_List_26 = v28;
				branch_zaStr_25 = v33;
				branch_zaMirth_24 = v30;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v35 = { .tag=std_list_List_1_Nil };
				bool v36 = false;
				branch_Bool_27 = v36;
				branch_List_26 = v35;
				branch_zaStr_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_zaStr_25;
		r15 = branch_zaMirth_24;
	}
	decref(MK_std_list_List_1(v17));
	struct mirth_mirth_zaMirth* v37;
	STR* v38;
	mw_mirth_type_Type_typezj(r15, r16, in_Type_4, &v37, &v38);
	STR* v39;
	STRLIT(v39, ")", 1);
	STR* v40;
	mw_std_str_zaStr_pushzestrzx(v39, v38, &v40);
	*out_zaStr_6 = v40;
	*out_zaMirth_5 = v37;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2c0, %rsp            # imm = 0x2C0
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movl %r8d, -0x20(%rbp)
movq %r9, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0x38(%rbp), %rcx
leaq -0x48(%rbp), %r8
callq 0xc1e10
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x58(%rbp), %edx
movq -0x50(%rbp), %rcx
leaq -0x60(%rbp), %r8
leaq -0x68(%rbp), %r9
callq 0xbb3c0
cmpq $0x0, 0x12d7923(%rip)   # 0x1395990
jne 0xbe087
leaq 0x2afba7(%rip), %rdi    # 0x36dc1d
movl $0x1, %esi
callq 0xb6c0
movq %rax, 0x12d7909(%rip)   # 0x1395990
jmp 0xbe089
movq 0x12d7900(%rip), %rax   # 0x1395990
movq %rax, -0x80(%rbp)
leaq 0x2d30bd(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xbe155
movq 0x12d78d4(%rip), %rax   # 0x1395990
movq %rax, -0x90(%rbp)
leaq 0x2d308e(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0xbe155
movq 0x12d789d(%rip), %rax   # 0x1395990
movq %rax, -0xa0(%rbp)
leaq 0x2d3057(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xbe155
movq 0x12d786c(%rip), %rax   # 0x1395990
movq %rax, -0xb0(%rbp)
leaq 0x2d3026(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xbe157
movq 0x12d7832(%rip), %rax   # 0x1395990
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0xb940
movb $0x1, -0xb9(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0xd8(%rbp)
movb -0xb9(%rbp), %al
andb $0x1, %al
movb %al, -0xe1(%rbp)
movb -0xb9(%rbp), %al
andb $0x1, %al
movb %al, -0xe2(%rbp)
testb $0x1, -0xe2(%rbp)
je 0xbe50b
movq -0xc8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xf8(%rbp)
movups -0xe0(%rbp), %xmm0
movaps %xmm0, -0x110(%rbp)
movb -0xe1(%rbp), %al
andb $0x1, %al
movb %al, -0x111(%rbp)
movl -0x110(%rbp), %eax
movl %eax, -0x2a4(%rbp)
testl %eax, %eax
je 0xbe437
jmp 0xbe223
movl -0x2a4(%rbp), %eax
subl $0x1, %eax
jne 0xbe499
jmp 0xbe234
movl -0x110(%rbp), %edi
movq -0x108(%rbp), %rsi
leaq -0x150(%rbp), %rdx
callq 0x125e0
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x2b8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x2b0(%rbp)
movq -0x160(%rbp), %rdi
movq -0x158(%rbp), %rsi
callq 0x6f100
movq -0x2b8(%rbp), %rdi
movq -0x2b0(%rbp), %rsi
movl %eax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movl -0x180(%rbp), %edx
movq -0x178(%rbp), %rcx
leaq -0x168(%rbp), %r8
leaq -0x170(%rbp), %r9
callq 0xbb3c0
cmpq $0x0, 0x12d76cb(%rip)   # 0x1395998
jne 0xbe2e7
leaq 0x2af9e5(%rip), %rdi    # 0x36dcbb
movl $0x2, %esi
callq 0xb6c0
movq %rax, 0x12d76b1(%rip)   # 0x1395998
jmp 0xbe2e9
movq 0x12d76a8(%rip), %rax   # 0x1395998
movq %rax, -0x198(%rbp)
leaq 0x2d2e5a(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xbe3be
movq 0x12d7673(%rip), %rax   # 0x1395998
movq %rax, -0x1a8(%rbp)
leaq 0x2d2e25(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a8(%rbp), %rax
cmpq $0x0, %rax
je 0xbe3be
movq 0x12d763c(%rip), %rax   # 0x1395998
movq %rax, -0x1b8(%rbp)
leaq 0x2d2dee(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xbe3be
movq 0x12d760b(%rip), %rax   # 0x1395998
movq %rax, -0x1c8(%rbp)
leaq 0x2d2dbd(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1c0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1c8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xbe3c0
movq 0x12d75d1(%rip), %rax   # 0x1395998
movq %rax, -0x188(%rbp)
movq -0x188(%rbp), %rdi
movq -0x170(%rbp), %rsi
leaq -0x1d0(%rbp), %rdx
callq 0xb940
movb $0x1, -0x1d1(%rbp)
movb -0x1d1(%rbp), %al
andb $0x1, %al
movb %al, -0x139(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0xbe4b2
leaq -0x1e8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x1e9(%rbp)
movb -0x1e9(%rbp), %al
andb $0x1, %al
movb %al, -0x139(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0xbe4b2
leaq 0x2959e1(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x139(%rbp), %al
andb $0x1, %al
movb %al, -0xe2(%rbp)
movb -0x139(%rbp), %al
andb $0x1, %al
movb %al, -0xe1(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xc8(%rbp)
jmp 0xbe1c8
jmp 0xbe50d
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
callq 0x12780
movq %rax, -0x200(%rbp)
movq %rdx, -0x1f8(%rbp)
movq -0x1f8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xbe620
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
callq 0x12780
movq %rax, -0x210(%rbp)
movq %rdx, -0x208(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x210(%rbp), %rax
cmpq $0x0, %rax
je 0xbe620
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
callq 0x12780
movq %rax, -0x220(%rbp)
movq %rdx, -0x218(%rbp)
movq -0x220(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xbe620
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
callq 0x12780
movq %rax, -0x230(%rbp)
movq %rdx, -0x228(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x230(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xbe61e
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
callq 0x12780
movq %rax, -0x240(%rbp)
movq %rdx, -0x238(%rbp)
movq -0x240(%rbp), %rdi
movq -0x238(%rbp), %rsi
callq 0x127c0
jmp 0xbe620
jmp 0xbe622
movq -0xc8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
movl -0x20(%rbp), %edx
movq -0x18(%rbp), %rcx
leaq -0x248(%rbp), %r8
leaq -0x250(%rbp), %r9
callq 0xbb3c0
cmpq $0x0, 0x12d734e(%rip)   # 0x13959a0
jne 0xbe66c
leaq 0x2af449(%rip), %rdi    # 0x36daa4
movl $0x1, %esi
callq 0xb6c0
movq %rax, 0x12d7334(%rip)   # 0x13959a0
jmp 0xbe66e
movq 0x12d732b(%rip), %rax   # 0x13959a0
movq %rax, -0x268(%rbp)
leaq 0x2d2ad5(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x260(%rbp)
movq -0x260(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xbe743
movq 0x12d72f6(%rip), %rax   # 0x13959a0
movq %rax, -0x278(%rbp)
leaq 0x2d2aa0(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x270(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x278(%rbp), %rax
cmpq $0x0, %rax
je 0xbe743
movq 0x12d72bf(%rip), %rax   # 0x13959a0
movq %rax, -0x288(%rbp)
leaq 0x2d2a69(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x280(%rbp)
movq -0x288(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xbe743
movq 0x12d728e(%rip), %rax   # 0x13959a0
movq %rax, -0x298(%rbp)
leaq 0x2d2a38(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x290(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x298(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xbe745
movq 0x12d7254(%rip), %rax   # 0x13959a0
movq %rax, -0x258(%rbp)
movq -0x258(%rbp), %rdi
movq -0x250(%rbp), %rsi
leaq -0x2a0(%rbp), %rdx
callq 0xb940
movq -0x2a0(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x248(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
addq $0x2c0, %rsp            # imm = 0x2C0
popq %rbp
retq
nopw %cs:(%rax,%rax)