// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_zaMirth_definingzenamespacezy
static struct std_maybe_Maybe_1 mw_mirth_mirth_zaMirth_definingzenamespacezy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_mirth_zaMirth* *out_zaMirth_2) {
	struct mirth_mirth_LexicalState* v4 = in_zaMirth_1->mlexicalzestate;
	incref(MK_mirth_mirth_LexicalState(v4));
	incref(MK_mirth_mirth_LexicalState(v4));
	struct std_maybe_Maybe_1 v5 = v4->mdefiningzenamespace;
	incref(MK_std_maybe_Maybe_1(v5));
	decref(MK_mirth_mirth_LexicalState(v4));
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct std_maybe_Maybe_1 branch_Maybe_7;
	struct std_maybe_Maybe_1 branch_Maybe_8;
	switch ((v5).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v9 = mtp_std_maybe_Maybe_1_Some(v5);
			struct mirth_mirth_zaMirth* v10;
			struct mirth_mirth_Prop_1* v11;
			struct std_maybe_Maybe_1 v12 = mw_mirth_mirth_Prop_1_compute(in_zaMirth_1, V_mirth_mirth_Prop_1(v9), &v10, &v11);
			struct std_maybe_Maybe_1 v13 = mtw_std_maybe_Maybe_1_Some(MK_mirth_mirth_Prop_1(v11));
			branch_Maybe_8 = v13;
			branch_Maybe_7 = v12;
			branch_zaMirth_6 = v10;
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_maybe_Maybe_1 v14 = { .tag=std_maybe_Maybe_1_None };
			struct std_maybe_Maybe_1 v15 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_8 = v15;
			branch_Maybe_7 = v14;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct mirth_mirth_LexicalState* v16 = mirth_mirth_LexicalState_set_definingzenamespace(v4, branch_Maybe_8);
	struct mirth_mirth_LexicalState* v17 = branch_zaMirth_6->mlexicalzestate;
	decref(MK_mirth_mirth_LexicalState(v17));
	branch_zaMirth_6->mlexicalzestate = v16;
	*out_zaMirth_2 = branch_zaMirth_6;
	return branch_Maybe_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x1db9c2(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1b5fc0
movq -0x28(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x1db99d(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x48(%rbp), %rax
cmpq $0x0, %rax
je 0x1b5fc0
movq -0x28(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x1db972(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x58(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1b5fc0
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x1db94d(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1b5fc2
jmp 0x1b5fc4
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x1db91d(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1b6081
movq -0x28(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x1db8f1(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rax
cmpq $0x0, %rax
je 0x1b6081
movq -0x28(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x1db8c0(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movq -0x98(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1b6081
movq -0x28(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x1db892(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1b6083
movq -0x28(%rbp), %rax
movq 0x18(%rax), %rcx
movq %rcx, -0xb8(%rbp)
movq 0x20(%rax), %rax
movq %rax, -0xb0(%rbp)
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x133a0
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1b6172
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x133a0
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
cmpq $0x0, %rax
je 0x1b6172
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x133a0
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1b6172
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x133a0
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1b6174
jmp 0x1b6176
movq -0x28(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x1db768(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x100(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1b627a
movq -0x28(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x1db736(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rax
cmpq $0x0, %rax
je 0x1b627a
movq -0x28(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x1db6fe(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1b627a
movq -0x28(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x1db6d0(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1b6278
movq -0x28(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq 0x1db696(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
callq 0x127c0
jmp 0x1b627a
jmp 0x1b627c
movl -0xb8(%rbp), %eax
movl %eax, -0x234(%rbp)
testl %eax, %eax
je 0x1b6370
jmp 0x1b6292
movl -0x234(%rbp), %eax
subl $0x1, %eax
jne 0x1b63d5
jmp 0x1b62a3
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x174a0
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x18(%rbp), %rdi
movq -0x170(%rbp), %rsi
leaq -0x178(%rbp), %rdx
leaq -0x180(%rbp), %rcx
callq 0xa7080
movl %eax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x1b0(%rbp)
leaq 0x1db55d(%rip), %rax    # 0x391860
orq $0x1, %rax
movq %rax, -0x1a8(%rbp)
movq -0x1b0(%rbp), %rdi
movq -0x1a8(%rbp), %rsi
callq 0xca10
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x150(%rbp)
jmp 0x1b63ee
leaq -0x1c0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
leaq -0x1d0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x1d0(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1b8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x150(%rbp)
jmp 0x1b63ee
leaq 0x19daa5(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x28(%rbp), %rdi
movl -0x160(%rbp), %esi
movq -0x158(%rbp), %rdx
callq 0x78960
movq %rax, -0x1d8(%rbp)
movq -0x150(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x1e0(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x1f0(%rbp)
leaq 0x1db4be(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x1e8(%rbp)
movq -0x1e8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1b6530
movq -0x1e0(%rbp), %rax
movq %rax, -0x200(%rbp)
leaq 0x1db489(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x1f8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x200(%rbp), %rax
cmpq $0x0, %rax
je 0x1b6530
movq -0x1e0(%rbp), %rax
movq %rax, -0x210(%rbp)
leaq 0x1db44e(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x208(%rbp)
movq -0x210(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1b6530
movq -0x1e0(%rbp), %rax
movq %rax, -0x220(%rbp)
leaq 0x1db41d(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x218(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x220(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1b652e
movq -0x1e0(%rbp), %rax
movq %rax, -0x230(%rbp)
leaq 0x1db3e0(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x228(%rbp)
movq -0x230(%rbp), %rdi
movq -0x228(%rbp), %rsi
callq 0x127c0
jmp 0x1b6530
jmp 0x1b6532
movq -0x1d8(%rbp), %rcx
movq -0x150(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0x150(%rbp), %rcx
movq -0x20(%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)