// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mb_mirth_mirth_PropLabel_prop_1_sp54_0
static void mb_mirth_mirth_PropLabel_prop_1_sp54_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);
	bool v4 = false;
	incref(v2);
	struct mirth_mirth_zaMirth* v5;
	struct std_maybe_Maybe_1 v6 = mw_mirth_elab_resolvezedefzenamespace(r1, V_mirth_token_Token(v2), V_std_either_Either_2(v3), v4, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	uint64_t branch_Token_8;
	VAL branch_zux1_9;
	switch ((v6).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v10 = mtp_std_maybe_Maybe_1_Some(v6);
			branch_zux1_9 = v10;
			branch_Token_8 = V_mirth_token_Token(v2);
			branch_zaMirth_7 = v5;
		} break;
		case std_maybe_Maybe_1_None: {
			STR* v11;
			STRLIT(v11, "Cannot compute patch namespace.", 31);
			mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v5, V_mirth_token_Token(v2), v11);
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	push_resource(MK_mirth_mirth_zaMirth(branch_zaMirth_7));
	push_value(branch_zux1_9);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
callq 0x138a0
movq %rax, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xb770
movq %rax, -0x8(%rbp)
callq 0x13920
movq %rax, -0x30(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x20(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x8(%rbp), %rax
movq 0x8(%rax), %rcx
movq %rcx, -0x40(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x38(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
movq %rcx, -0x50(%rbp)
movq 0x20(%rax), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rdi
callq 0xb7e0
movb $0x0, -0x51(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x7865c
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x40(%rbp), %rax
cmpq $0x0, %rax
je 0x7865c
movq -0x40(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x7865c
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x40(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x7865e
movq -0x20(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
callq 0x7bd50
movq -0x120(%rbp), %rdi
movq -0x118(%rbp), %rsi
movl %eax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movl -0x80(%rbp), %edx
movq -0x78(%rbp), %rcx
movzbl -0x51(%rbp), %r8d
andl $0x1, %r8d
leaq -0x60(%rbp), %r9
callq 0x7bd90
movl %eax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movl -0x70(%rbp), %eax
movl %eax, -0x10c(%rbp)
testl %eax, %eax
je 0x78727
jmp 0x786c5
movl -0x10c(%rbp), %eax
subl $0x1, %eax
jne 0x78848
jmp 0x786d6
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x174a0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0x78861
jmp 0x78729
cmpq $0x0, 0x131ce0f(%rip)   # 0x1395540
jne 0x7874b
leaq 0x2df3c1(%rip), %rdi    # 0x357afb
movl $0x1f, %esi
callq 0xb6c0
movq %rax, 0x131cdf5(%rip)   # 0x1395540
jmp 0x7874d
movq 0x131cdec(%rip), %rax   # 0x1395540
movq %rax, -0xc8(%rbp)
leaq 0x3189f6(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x78822
movq 0x131cdb7(%rip), %rax   # 0x1395540
movq %rax, -0xd8(%rbp)
leaq 0x3189c1(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
cmpq $0x0, %rax
je 0x78822
movq 0x131cd80(%rip), %rax   # 0x1395540
movq %rax, -0xe8(%rbp)
leaq 0x31898a(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x78822
movq 0x131cd4f(%rip), %rax   # 0x1395540
movq %rax, -0xf8(%rbp)
leaq 0x318959(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x78824
movq 0x131cd15(%rip), %rax   # 0x1395540
movq %rax, -0xb8(%rbp)
movq -0x60(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0xb8(%rbp), %rdx
callq 0x76b70
jmp 0x78861
leaq 0x2db632(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x88(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x31910a(%rip), %rax    # 0x391980
movq %rax, -0x100(%rbp)
movq -0x108(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x5b40
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
callq 0x12cc0
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopl (%rax)