// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_lexer_zaLexer_emitzerparenzx
static void mw_mirth_lexer_zaLexer_emitzerparenzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_lexer_zaLexer* in_zaLexer_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_lexer_zaLexer* *out_zaLexer_4) {
	struct mirth_lexer_zaLexer* v5;
	struct std_maybe_Maybe_1 v6 = mw_mirth_lexer_zaLexer_stackzepopzx(in_zaLexer_2, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	VAL branch_zux1_8;
	struct std_maybe_Maybe_1 branch_Maybe_9;
	switch ((v6).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v10 = mtp_std_maybe_Maybe_1_Some(v6);
			incref(v10);
			struct mirth_mirth_zaMirth* v11;
			struct mirth_token_TokenValue v12 = mw_mirth_token_Token_value(in_zaMirth_1, V_mirth_token_Token(v10), &v11);
			bool v13 = mw_mirth_token_TokenValue_lparenzeopenzy(v12);
			struct mirth_mirth_zaMirth* branch_zaMirth_14;
			VAL branch_zux1_15;
			struct std_maybe_Maybe_1 branch_Maybe_16;
			if (v13) {
				struct std_maybe_Maybe_1 v17 = mtw_std_maybe_Maybe_1_Some(v10);
				branch_Maybe_16 = v17;
				branch_zux1_15 = MK_mirth_lexer_zaLexer(v5);
				branch_zaMirth_14 = v11;
			} else {
				decref(v10);
				struct std_maybe_Maybe_1 v18 = { .tag=std_maybe_Maybe_1_None };
				branch_Maybe_16 = v18;
				branch_zux1_15 = MK_mirth_lexer_zaLexer(v5);
				branch_zaMirth_14 = v11;
			}
			branch_Maybe_9 = branch_Maybe_16;
			branch_zux1_8 = branch_zux1_15;
			branch_zaMirth_7 = branch_zaMirth_14;
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_maybe_Maybe_1 v19 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_9 = v19;
			branch_zux1_8 = MK_mirth_lexer_zaLexer(v5);
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct mirth_mirth_zaMirth* branch_zaMirth_20;
	struct mirth_lexer_zaLexer* branch_zaLexer_21;
	VAL branch_zux1_22;
	switch ((branch_Maybe_9).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v23 = mtp_std_maybe_Maybe_1_Some(branch_Maybe_9);
			branch_zux1_22 = v23;
			branch_zaLexer_21 = V_mirth_lexer_zaLexer(branch_zux1_8);
			branch_zaMirth_20 = branch_zaMirth_7;
		} break;
		case std_maybe_Maybe_1_None: {
			STR* v24;
			STRLIT(v24, "Mismatched right parenthesis.", 29);
			mw_mirth_lexer_zaLexer_lexerzefatalzeerrorzx(v24, branch_zaMirth_7, V_mirth_lexer_zaLexer(branch_zux1_8));
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	incref(branch_zux1_22);
	struct mirth_token_TokenValue v28 = mtw_mirth_token_TokenValue_RParen(V_mirth_token_Token(branch_zux1_22));
	struct mirth_mirth_zaMirth* v29;
	struct mirth_lexer_zaLexer* v30;
	uint64_t v31 = mw_mirth_lexer_zaLexer_makezx(branch_zaMirth_20, branch_zaLexer_21, v28, &v29, &v30);
	struct mirth_token_TokenValue v32 = mtw_mirth_token_TokenValue_LParen(v31);
	struct mirth_mirth_zaMirth* v33;
	mw_mirth_token_Token_valuezx(v29, v32, V_mirth_token_Token(branch_zux1_22), &v33);
	*out_zaLexer_4 = v30;
	*out_zaMirth_3 = v33;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x1cbff0
movl %eax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movl -0x38(%rbp), %eax
movl %eax, -0x1d4(%rbp)
testl %eax, %eax
je 0x1c8769
jmp 0x1c8542
movl -0x1d4(%rbp), %eax
subl $0x1, %eax
jne 0x1c87cb
jmp 0x1c8553
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x174a0
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movq -0x68(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c85ac
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
cmpq $0x0, %rax
je 0x1c85ac
movq -0x70(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c85ac
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1c85ae
movq -0x8(%rbp), %rdi
movq -0x70(%rbp), %rsi
leaq -0x78(%rbp), %rdx
callq 0x79660
movl %eax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x1cc220
andb $0x1, %al
movb %al, -0x89(%rbp)
testb $0x1, -0x89(%rbp)
je 0x1c8664
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0xca10
movl %eax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x1ca6b7(%rip), %rax    # 0x392ce8
movq %rax, -0xd0(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x98(%rbp)
jmp 0x1c8730
jmp 0x1c8666
movq -0x68(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c86bf
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
cmpq $0x0, %rax
je 0x1c86bf
movq -0x70(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c86bf
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1c86bd
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x127c0
jmp 0x1c86bf
jmp 0x1c86c1
leaq -0xe8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0xe8(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x1ca5e6(%rip), %rax    # 0x392ce8
movq %rax, -0xf0(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x1c87e4
leaq -0x108(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x108(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x1ca544(%rip), %rax    # 0x392ce8
movq %rax, -0x110(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x1c87e4
leaq 0x18b6af(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x60(%rbp), %eax
movl %eax, -0x1d8(%rbp)
testl %eax, %eax
je 0x1c8855
jmp 0x1c87f3
movl -0x1d8(%rbp), %eax
subl $0x1, %eax
jne 0x1c8976
jmp 0x1c8804
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x174a0
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x1c898f
jmp 0x1c8857
cmpq $0x0, 0x11cde89(%rip)   # 0x13966e8
jne 0x1c8879
leaq 0x1937aa(%rip), %rdi    # 0x35c012
movl $0x1d, %esi
callq 0xb6c0
movq %rax, 0x11cde6f(%rip)   # 0x13966e8
jmp 0x1c887b
movq 0x11cde66(%rip), %rax   # 0x13966e8
movq %rax, -0x160(%rbp)
leaq 0x1c88c8(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x158(%rbp)
movq -0x158(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c8950
movq 0x11cde31(%rip), %rax   # 0x13966e8
movq %rax, -0x170(%rbp)
leaq 0x1c8893(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x168(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rax
cmpq $0x0, %rax
je 0x1c8950
movq 0x11cddfa(%rip), %rax   # 0x13966e8
movq %rax, -0x180(%rbp)
leaq 0x1c885c(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x178(%rbp)
movq -0x180(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c8950
movq 0x11cddc9(%rip), %rax   # 0x13966e8
movq %rax, -0x190(%rbp)
leaq 0x1c882b(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x188(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x190(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1c8952
movq 0x11cdd8f(%rip), %rax   # 0x13966e8
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0x50(%rbp), %rdx
callq 0x1cb250
jmp 0x1c898f
leaq 0x18b504(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
jmp 0x1c8991
movq -0x130(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1c89e2
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rax
cmpq $0x0, %rax
je 0x1c89e2
movq -0x138(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1c89e2
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1c89e4
movq -0x138(%rbp), %rdi
callq 0x11cc10
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x120(%rbp), %rdi
movq -0x128(%rbp), %rsi
movl -0x1a0(%rbp), %edx
movq -0x198(%rbp), %rcx
leaq -0x1a8(%rbp), %r8
leaq -0x1b0(%rbp), %r9
callq 0x1cb7b0
movq %rax, -0x1b8(%rbp)
movq -0x1b8(%rbp), %rdi
callq 0x11cb80
movl %eax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movq -0x1a8(%rbp), %rdi
movq -0x138(%rbp), %rcx
movl -0x1c8(%rbp), %esi
movq -0x1c0(%rbp), %rdx
leaq -0x1d0(%rbp), %r8
callq 0x11d000
movq -0x1b0(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x1d0(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
nopw (%rax,%rax)