// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mb_mirth_mirth_PropLabel_prop_1_sp23_0
static void mb_mirth_mirth_PropLabel_prop_1_sp23_0 (void) {
	PTUP v0 = value_tup(pop_value());
	struct mirth_mirth_zaMirth* r1 = V_mirth_mirth_zaMirth(pop_resource());
	VAL v2 = ((TUP*)PTRPTR(v0))->cells[0];
	VAL v3 = ((TUP*)PTRPTR(v0))->cells[1];
	tup_decref_outer(v0);
	struct mirth_mirth_zaMirth* v4;
	struct mirth_table_StateOwner v5 = mw_mirth_mirth_zaMirth_resolvezeowner(r1, V_std_maybe_Maybe_1(v3), &v4);
	uint64_t branch_Field_6;
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_table_StateOwner branch_StateOwner_8;
	switch ((v5).tag) {
		case mirth_table_StateOwner_Default: {
			incref(v2);
			struct mirth_mirth_zaMirth* v9;
			struct mirth_type_Type v10 = mw_mirth_table_Field_indexzetype(v4, V_mirth_table_Field(v2), &v9);
			struct mirth_mirth_zaMirth* v11;
			struct std_maybe_Maybe_1 v12 = mw_mirth_type_Type_tyconzy(v9, v10, &v11);
			struct std_maybe_Maybe_1 branch_Maybe_13;
			switch ((v12).tag) {
				case std_maybe_Maybe_1_Some: {
					VAL v14 = mtp_std_maybe_Maybe_1_Some(v12);
					struct std_maybe_Maybe_1 v15 = mw_mirth_tycon_Tycon_tablezy(V_mirth_tycon_Tycon(v14));
					branch_Maybe_13 = v15;
				} break;
				case std_maybe_Maybe_1_None: {
					struct std_maybe_Maybe_1 v16 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_13 = v16;
				} break;
				default: {
					do_panic(str_make("unexpected fallthrough in match\n", 32));
				}
			}
			struct mirth_mirth_zaMirth* branch_zaMirth_17;
			struct mirth_table_StateOwner branch_StateOwner_18;
			switch ((branch_Maybe_13).tag) {
				case std_maybe_Maybe_1_Some: {
					VAL v19 = mtp_std_maybe_Maybe_1_Some(branch_Maybe_13);
					struct mirth_mirth_zaMirth* v20;
					struct mirth_table_StateOwner v21 = mw_mirth_table_Table_owner(v11, V_mirth_table_Table(v19), &v20);
					branch_StateOwner_18 = v21;
					branch_zaMirth_17 = v20;
				} break;
				case std_maybe_Maybe_1_None: {
					struct mirth_table_StateOwner v22 = { .tag=mirth_table_StateOwner_Default };
					branch_StateOwner_18 = v22;
					branch_zaMirth_17 = v11;
				} break;
				default: {
					do_panic(str_make("unexpected fallthrough in match\n", 32));
				}
			}
			branch_StateOwner_8 = branch_StateOwner_18;
			branch_zaMirth_7 = branch_zaMirth_17;
			branch_Field_6 = V_mirth_table_Field(v2);
		} break;
		default: {
			branch_StateOwner_8 = v5;
			branch_zaMirth_7 = v4;
			branch_Field_6 = V_mirth_table_Field(v2);
		} break;
	}
	push_resource(MK_mirth_mirth_zaMirth(branch_zaMirth_7));
	push_value(MK_mirth_table_StateOwner(branch_StateOwner_8));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
callq 0xd3d6
movq %rax, %r14
movq %rax, %rdi
movq %rdx, %rsi
callq 0x8a95
callq 0xd429
movq %rax, %r15
movq %r14, %rax
andq %r13, %rax
movq 0x8(%rax), %rcx
movq %rcx, -0x40(%rbp)
movq 0x10(%rax), %rbx
movq 0x18(%rax), %r12
movq %r14, %rdi
callq 0x8ae0
movq %r12, %rsi
shrq $0x30, %rsi
andq %r13, %r12
leaq -0x38(%rbp), %rcx
movq %r15, %rdi
movq %r12, %rdx
callq 0x6639e
cmpl $0x1, %eax
jne 0x6aa1e
testb $0x1, %bl
movq -0x40(%rbp), %rsi
je 0x6a991
movq %rsi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x6a991
incl (%rax)
movq -0x38(%rbp), %rdi
leaq -0x50(%rbp), %r14
movq %r14, %rdx
callq 0x57e52
movq (%r14), %rdi
leaq -0x30(%rbp), %rcx
movl %eax, %esi
callq 0x2a670
testl %eax, %eax
je 0x6aa46
cmpl $0x1, %eax
jne 0x6aa81
movq %rdx, %rdi
callq 0xd491
movq %rax, %rdi
andq %r13, %rdi
movabsq $-0x1000000000000, %rcx # imm = 0xFFFF000000000000
andq %rax, %rcx
addq $0x4, %r13
cmpq %r13, %rcx
jne 0x6aa2a
callq 0x17cb1
leaq 0x9e698(%rip), %rsi     # 0x109088
movq %rax, %rdi
callq 0x8d0c
movq %rdx, %rdi
callq 0xd491
movq -0x30(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rax, %rsi
movq %rbx, %rdx
callq 0x66d79
movl %eax, %r14d
movq %rdx, %r15
movq (%rbx), %rdi
jmp 0x6aa51
movl %eax, %r14d
movq %rdx, %r15
movq -0x38(%rbp), %rdi
jmp 0x6aa51
testq %rdi, %rdi
je 0x6aa46
decl (%rdi)
jne 0x6aa46
andq $-0x4, %rax
leaq 0x9df43(%rip), %rsi     # 0x108981
movq %rax, %rdi
callq 0xce94
pushq $0x1
popq %r14
movq -0x30(%rbp), %rdi
xorl %r15d, %r15d
leaq 0x9de98(%rip), %rsi     # 0x1088f0
callq 0x883c
shlq $0x30, %r14
orq %r15, %r14
leaq 0x9f03e(%rip), %rsi     # 0x109aa9
movq %r14, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xd08e
leaq 0x69d85(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6