// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_lexer_zaLexer_closezecolonszx
static void mw_mirth_lexer_zaLexer_closezecolonszx (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) {
	bool v5 = true;
	struct mirth_mirth_zaMirth* r6 = in_zaMirth_1;
	struct mirth_lexer_zaLexer* r7 = in_zaLexer_2;
	bool v8 = v5;
	bool v9 = v5;
	while (v9) {
		struct mirth_mirth_zaMirth* r10 = r6;
		struct mirth_lexer_zaLexer* r11 = r7;
		bool v12 = v8;
		struct mirth_lexer_zaLexer* v13;
		struct std_maybe_Maybe_1 v14 = mw_mirth_lexer_zaLexer_stackzepeek(r11, &v13);
		struct mirth_mirth_zaMirth* branch_zaMirth_15;
		VAL branch_zux1_16;
		struct std_maybe_Maybe_1 branch_Maybe_17;
		switch ((v14).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v18 = mtp_std_maybe_Maybe_1_Some(v14);
				incref(v18);
				struct mirth_mirth_zaMirth* v19;
				bool v20 = mw_mirth_token_Token_lcolonzeopenzy(r10, V_mirth_token_Token(v18), &v19);
				struct mirth_mirth_zaMirth* branch_zaMirth_21;
				VAL branch_zux1_22;
				struct std_maybe_Maybe_1 branch_Maybe_23;
				if (v20) {
					struct std_maybe_Maybe_1 v24 = mtw_std_maybe_Maybe_1_Some(v18);
					branch_Maybe_23 = v24;
					branch_zux1_22 = MK_mirth_lexer_zaLexer(v13);
					branch_zaMirth_21 = v19;
				} else {
					decref(v18);
					struct std_maybe_Maybe_1 v25 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_23 = v25;
					branch_zux1_22 = MK_mirth_lexer_zaLexer(v13);
					branch_zaMirth_21 = v19;
				}
				branch_Maybe_17 = branch_Maybe_23;
				branch_zux1_16 = branch_zux1_22;
				branch_zaMirth_15 = branch_zaMirth_21;
			} break;
			case std_maybe_Maybe_1_None: {
				struct std_maybe_Maybe_1 v26 = { .tag=std_maybe_Maybe_1_None };
				branch_Maybe_17 = v26;
				branch_zux1_16 = MK_mirth_lexer_zaLexer(v13);
				branch_zaMirth_15 = r10;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		struct mirth_mirth_zaMirth* branch_zaMirth_27;
		struct mirth_lexer_zaLexer* branch_zaLexer_28;
		bool branch_Bool_29;
		switch ((branch_Maybe_17).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v30 = mtp_std_maybe_Maybe_1_Some(branch_Maybe_17);
				struct mirth_lexer_zaLexer* v31;
				mw_mirth_lexer_zaLexer_stackzedrop(V_mirth_lexer_zaLexer(branch_zux1_16), &v31);
				incref(v30);
				struct mirth_token_TokenValue v32 = mtw_mirth_token_TokenValue_RColon(V_mirth_token_Token(v30));
				struct mirth_mirth_zaMirth* v33;
				struct mirth_lexer_zaLexer* v34;
				uint64_t v35 = mw_mirth_lexer_zaLexer_makezx(branch_zaMirth_15, v31, v32, &v33, &v34);
				struct mirth_token_TokenValue v36 = mtw_mirth_token_TokenValue_LColon(v35);
				struct mirth_mirth_zaMirth* v37;
				mw_mirth_token_Token_valuezx(v33, v36, V_mirth_token_Token(v30), &v37);
				bool v38 = true;
				branch_Bool_29 = v38;
				branch_zaLexer_28 = v34;
				branch_zaMirth_27 = v37;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v39 = false;
				branch_Bool_29 = v39;
				branch_zaLexer_28 = V_mirth_lexer_zaLexer(branch_zux1_16);
				branch_zaMirth_27 = branch_zaMirth_15;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v9 = branch_Bool_29;
		v8 = branch_Bool_29;
		r7 = branch_zaLexer_28;
		r6 = branch_zaMirth_27;
	}
	*out_zaLexer_4 = r7;
	*out_zaMirth_3 = r6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, -0x40(%rbp)
movq %rdx, -0x48(%rbp)
movq %rsi, %r15
movq %rdi, %r13
movl 0x28(%r15), %r12d
movq 0x30(%r15), %rdi
movq %rdi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x85b54
incl (%rax)
testl %r12d, %r12d
je 0x85bbb
cmpl $0x1, %r12d
jne 0x85da7
leaq -0x38(%rbp), %rsi
callq 0xd450
movq %rax, %rbx
movq %rdx, %r14
movq -0x30(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x85bae
movl -0x38(%rbp), %edi
decl (%rcx)
jne 0x85bae
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0x8f6d0(%rip), %rsi     # 0x115279
callq 0xd4e3
movq %rbx, %rdi
movq %r14, %rsi
callq 0x95f6
jmp 0x85bbd
xorl %edx, %edx
testl %r12d, %r12d
je 0x85c28
cmpl $0x1, %r12d
jne 0x85da7
movq %r13, %rbx
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r13
movq %rdx, %r14
testb $0x1, %r14b
je 0x85c03
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x85c03
incl (%rax)
movq %rbx, %rdi
movq %r13, %rsi
leaq -0x38(%rbp), %rdx
callq 0x88e9b
movl %eax, %ebx
testb %al, %al
je 0x85c2e
movq %r13, %rdi
movq %r14, %rsi
callq 0x95f6
movq %rdx, %rdi
jmp 0x85c63
xorl %ebx, %ebx
xorl %edi, %edi
jmp 0x85c67
testb $0x1, %r14b
je 0x85c61
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x85c61
decl (%rax)
jne 0x85c61
movq %r13, %rdi
movq %r14, %rsi
callq 0xd4e3
xorl %edi, %edi
movq -0x38(%rbp), %r13
testb %bl, %bl
je 0x85d82
movq %r13, -0x58(%rbp)
callq 0xdaeb
movq %rax, %r14
movq %rdx, -0x50(%rbp)
movl 0x28(%r15), %edi
movq 0x30(%r15), %rsi
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x85ca7
incl (%rax)
callq 0x55da9
movl %eax, %r12d
movq %rdx, %r13
movq 0x30(%r15), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x85cef
movl 0x28(%r15), %edi
decl (%rcx)
jne 0x85cef
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0x8f58f(%rip), %rsi     # 0x115279
callq 0xd4e3
movl %r12d, 0x28(%r15)
movq %r13, 0x30(%r15)
testb $0x1, -0x50(%rbp)
je 0x85d1d
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x85d1d
incl (%rax)
movq %r14, %rdi
callq 0x5613c
movq -0x58(%rbp), %rdi
movq %r15, %rsi
movl $0xd, %edx
movq %rax, %rcx
leaq -0x38(%rbp), %r8
leaq -0x60(%rbp), %r9
callq 0x88f14
movq %rax, %rdi
callq 0x560e9
movq %rax, %r15
movq -0x38(%rbp), %r13
leaq 0x1093691(%rip), %rdi   # 0x11193e8
movq %r14, %rsi
callq 0x13ff0
movabsq $0xc000000000000, %rcx  # imm = 0xC000000000000
orq %rcx, %r15
movq %r15, %rdi
leaq 0x90163(%rip), %rsi     # 0x115ed9
movq %rax, %rdx
callq 0x14ab5
movq -0x60(%rbp), %r15
testb %bl, %bl
jne 0x85b2c
movq -0x40(%rbp), %rax
movq %r15, (%rax)
movq -0x48(%rbp), %rax
movq %r13, (%rax)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x5e98d(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x5e992(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5