// File: /workspace/github_c_makefile_star2_O3/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 0xd699
movq %rax, %r14
movq %rax, %rdi
movq %rdx, %rsi
callq 0x90ba
callq 0xd6f2
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 0x910b
movq %r12, %rsi
shrq $0x30, %rsi
andq %r13, %r12
leaq -0x38(%rbp), %rcx
movq %r15, %rdi
movq %r12, %rdx
callq 0x6c087
cmpl $0x1, %eax
jne 0x70dce
testb $0x1, %bl
movq -0x40(%rbp), %rsi
je 0x70d06
movq %rsi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x70d06
incl (%rax)
movq -0x38(%rbp), %r14
leaq 0x10a5037(%rip), %rdi   # 0x1115d48
callq 0x13c85
leaq -0x48(%rbp), %rbx
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x1a6db
movq (%rbx), %rdi
movq %rax, %rsi
shrq $0x30, %rsi
andq %r13, %rax
leaq -0x30(%rbp), %rcx
movq %rax, %rdx
callq 0x2cfb8
testl %eax, %eax
je 0x70df6
cmpl $0x1, %eax
jne 0x70e33
movq %rdx, %rdi
callq 0xd745
movq %rax, %rdi
andq %r13, %rdi
movabsq $-0x1000000000000, %rcx # imm = 0xFFFF000000000000
andq %rax, %rcx
leaq 0x4(%r13), %rdx
cmpq %rdx, %rcx
jne 0x70dda
movq 0x8(%rdi), %rbx
decl (%rdi)
jne 0x70d83
callq 0x5030
leaq 0xa12fe(%rip), %rsi     # 0x112088
movq %rbx, %rdi
callq 0x9353
movq %rdx, %rdi
callq 0xd745
movq -0x30(%rbp), %rbx
leaq 0x10a526b(%rip), %rdi   # 0x1116010
movq %rax, %rsi
callq 0x13c85
leaq -0x48(%rbp), %r14
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x1a6db
movq (%r14), %rdi
andq %rax, %r13
movq %rax, %r14
shrq $0x30, %r14
jmp 0x70e03
movl %eax, %r14d
movq -0x38(%rbp), %rdi
movq %rdx, %r13
jmp 0x70e03
testq %rdi, %rdi
je 0x70df6
decl (%rdi)
jne 0x70df6
andq $-0x4, %rax
leaq 0xa0b93(%rip), %rsi     # 0x111981
movq %rax, %rdi
callq 0xd13d
movl $0x1, %r14d
movq -0x30(%rbp), %rdi
xorl %r13d, %r13d
leaq 0xa0ae6(%rip), %rsi     # 0x1118f0
callq 0x8e6d
shlq $0x30, %r14
orq %r13, %r14
leaq 0xa1c8c(%rip), %rsi     # 0x112aa9
movq %r14, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xd34b
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x6f881(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x6f886(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302