// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_Type_exceptzefield
static struct mirth_type_Type mw_mirth_type_Type_exceptzefield (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Label_2, uint64_t in_Tag_3, struct mirth_type_Type in_Type_4, struct mirth_mirth_zaMirth* *out_zaMirth_5) {
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_type_Type branch_Type_8;
	switch ((in_Type_4).tag) {
		case mirth_type_Type_Meta: {
			uint64_t v9 = mtp_mirth_type_Type_Meta(in_Type_4);
			struct mirth_mirth_zaMirth* v10;
			struct std_maybe_Maybe_1 v11 = mw_mirth_type_MetaVar_typezy(in_zaMirth_1, v9, &v10);
			struct mirth_mirth_zaMirth* branch_zaMirth_12;
			struct mirth_type_Type branch_Type_13;
			switch ((v11).tag) {
				case std_maybe_Maybe_1_None: {
					STR* v14;
					STRLIT(v14, "Type.except-field on metavar", 28);
					do_panic(v14);
				} break;
				case std_maybe_Maybe_1_Some: {
					VAL v17 = mtp_std_maybe_Maybe_1_Some(v11);
					struct mirth_mirth_zaMirth* v18;
					struct mirth_type_Type v19 = mw_mirth_type_Type_expand(v10, V_mirth_type_Type(v17), &v18);
					incref(MK_mirth_type_Type(v19));
					struct std_maybe_Maybe_1 v20 = mtw_std_maybe_Maybe_1_Some(MK_mirth_type_Type(v19));
					struct mirth_mirth_zaMirth* v21;
					mw_mirth_type_MetaVar_typezyzx(v18, v20, v9, &v21);
					struct mirth_mirth_zaMirth* v22;
					struct mirth_type_Type v23 = mw_mirth_type_Type_exceptzefield(v21, in_Label_2, in_Tag_3, v19, &v22);
					branch_Type_13 = v23;
					branch_zaMirth_12 = v22;
				} break;
				default: {
					do_panic(str_make("unexpected fallthrough in match\n", 32));
				}
			}
			branch_Type_8 = branch_Type_13;
			branch_zaMirth_7 = branch_zaMirth_12;
		} break;
		case mirth_type_Type_Data: {
			uint64_t v24 = mtp_mirth_type_Type_Data(in_Type_4);
			struct mirth_data_DataPartial* v25 = mtw_mirth_data_DataPartial_DataPartial(v24, in_Label_2);
			struct mirth_type_Type v26 = mtw_mirth_type_Type_DataPartial(v25);
			branch_Type_8 = v26;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_type_Type_App: {
			struct mirth_type_Type v27;
			struct mirth_type_Type v28 = mtp_mirth_type_Type_App(in_Type_4, &v27);
			struct mirth_mirth_zaMirth* v29;
			struct mirth_type_Type v30 = mw_mirth_type_Type_exceptzefield(in_zaMirth_1, in_Label_2, in_Tag_3, v28, &v29);
			struct mirth_type_Type v31 = mtw_mirth_type_Type_App(v30, v27);
			branch_Type_8 = v31;
			branch_zaMirth_7 = v29;
		} break;
		default: {
			STR* v32;
			STRLIT(v32, "Type.except-field on unexpected type", 36);
			do_panic(v32);
		} break;
	}
	*out_zaMirth_5 = branch_zaMirth_7;
	return branch_Type_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movl %ecx, -0x20(%rbp)
movq %r8, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq %r9, -0x40(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x234(%rbp)
subl $0x3, %eax
je 0x150b37
jmp 0x150b12
movl -0x234(%rbp), %eax
subl $0x7, %eax
je 0x150ed9
jmp 0x150b23
movl -0x234(%rbp), %eax
subl $0xb, %eax
je 0x150f3f
jmp 0x150fe3
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x870e0
movq %rax, -0x50(%rbp)
movq -0x28(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x87130
movl %eax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movl -0x68(%rbp), %eax
movl %eax, -0x238(%rbp)
testl %eax, %eax
je 0x150b82
jmp 0x150b6e
movl -0x238(%rbp), %eax
subl $0x1, %eax
je 0x150c9e
jmp 0x150ea3
jmp 0x150b84
cmpq $0x0, 0x1245344(%rip)   # 0x1395ed0
jne 0x150ba6
leaq 0x2095fc(%rip), %rdi    # 0x35a191
movl $0x1c, %esi
callq 0xb6c0
movq %rax, 0x124532a(%rip)   # 0x1395ed0
jmp 0x150ba8
movq 0x1245321(%rip), %rax   # 0x1395ed0
movq %rax, -0x98(%rbp)
leaq 0x24059b(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x150c7d
movq 0x12452ec(%rip), %rax   # 0x1395ed0
movq %rax, -0xa8(%rbp)
leaq 0x240566(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
cmpq $0x0, %rax
je 0x150c7d
movq 0x12452b5(%rip), %rax   # 0x1395ed0
movq %rax, -0xb8(%rbp)
leaq 0x24052f(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x150c7d
movq 0x1245284(%rip), %rax   # 0x1395ed0
movq %rax, -0xc8(%rbp)
leaq 0x2404fe(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x150c7f
movq 0x124524a(%rip), %rax   # 0x1395ed0
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
callq 0xc620
jmp 0x150ebc
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x174a0
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x240(%rbp)
movq -0xd8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
callq 0x6f100
movq -0x240(%rbp), %rdi
movl %eax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movl -0x100(%rbp), %esi
movq -0xf8(%rbp), %rdx
leaq -0xe0(%rbp), %rcx
callq 0x872e0
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x108(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x150de5
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rax
cmpq $0x0, %rax
je 0x150de5
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x130(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x150de5
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x140(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x150de7
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x6e780
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x160(%rbp), %rdi
movq -0x158(%rbp), %rsi
callq 0xca10
movl %eax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0xe0(%rbp), %rdi
movq -0x50(%rbp), %rcx
movl -0x150(%rbp), %esi
movq -0x148(%rbp), %rdx
leaq -0x168(%rbp), %r8
callq 0x87380
movq -0x168(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0xf0(%rbp), %ecx
movq -0xe8(%rbp), %r8
leaq -0x170(%rbp), %r9
callq 0x150ae0
movl %eax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x150ebc
leaq 0x202fd7(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x80(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x1510fa
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x874e0
movq %rax, -0x188(%rbp)
movq -0x188(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x151180
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rdi
callq 0xcea30
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x1510fa
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0x1b0(%rbp), %rdx
callq 0x87830
movl %eax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0x1c0(%rbp), %ecx
movq -0x1b8(%rbp), %r8
leaq -0x1c8(%rbp), %r9
callq 0x150ae0
movl %eax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movl -0x1d8(%rbp), %edi
movq -0x1d0(%rbp), %rsi
movl -0x1b0(%rbp), %edx
movq -0x1a8(%rbp), %rcx
callq 0x70600
movl %eax, -0x1e8(%rbp)
movq %rdx, -0x1e0(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x1510fa
jmp 0x150fe5
cmpq $0x0, 0x1244eeb(%rip)   # 0x1395ed8
jne 0x151007
leaq 0x2091b8(%rip), %rdi    # 0x35a1ae
movl $0x24, %esi
callq 0xb6c0
movq %rax, 0x1244ed1(%rip)   # 0x1395ed8
jmp 0x151009
movq 0x1244ec8(%rip), %rax   # 0x1395ed8
movq %rax, -0x200(%rbp)
leaq 0x24013a(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1f8(%rbp)
movq -0x1f8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1510de
movq 0x1244e93(%rip), %rax   # 0x1395ed8
movq %rax, -0x210(%rbp)
leaq 0x240105(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x208(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x210(%rbp), %rax
cmpq $0x0, %rax
je 0x1510de
movq 0x1244e5c(%rip), %rax   # 0x1395ed8
movq %rax, -0x220(%rbp)
leaq 0x2400ce(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x218(%rbp)
movq -0x220(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1510de
movq 0x1244e2b(%rip), %rax   # 0x1395ed8
movq %rax, -0x230(%rbp)
leaq 0x24009d(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x228(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x230(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1510e0
movq 0x1244df1(%rip), %rax   # 0x1395ed8
movq %rax, -0x1f0(%rbp)
movq -0x1f0(%rbp), %rdi
callq 0xc620
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
nopw %cs:(%rax,%rax)