// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_zaMirth_parsezelabelzenames
static struct std_list_List_1 mw_mirth_mirth_zaMirth_parsezelabelzenames (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct std_list_List_1 v6 = mw_mirth_token_Token_runzetokens(in_zaMirth_1, in_Token_2, &v5);
	struct std_list_List_1 v7 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v8;
	mw_std_list_List_1_buildzx(v7, &v8);
	bool v9 = true;
	struct mirth_mirth_zaMirth* r10 = v5;
	struct std_list_List_1 r11 = v8;
	struct std_list_List_1 v12 = v6;
	bool v13 = v9;
	bool v14 = v9;
	while (v14) {
		struct mirth_mirth_zaMirth* r15 = r10;
		struct std_list_List_1 r16 = r11;
		struct std_list_List_1 v17 = v12;
		bool v18 = v13;
		struct mirth_mirth_zaMirth* branch_zaMirth_19;
		struct std_list_List_1 branch_zaLister_20;
		struct std_list_List_1 branch_List_21;
		bool branch_Bool_22;
		switch ((v17).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v23;
				VAL v24 = mtp_std_list_List_1_Cons(v17, &v23);
				incref(v24);
				struct mirth_mirth_zaMirth* v25;
				mw_mirth_token_Token_argsze0(r15, V_mirth_token_Token(v24), &v25);
				incref(v24);
				struct mirth_mirth_zaMirth* v26;
				struct std_maybe_Maybe_1 v27 = mw_mirth_token_Token_namezy(v25, V_mirth_token_Token(v24), &v26);
				struct mirth_mirth_zaMirth* branch_zaMirth_28;
				uint64_t branch_Token_29;
				VAL branch_zux1_30;
				switch ((v27).tag) {
					case std_maybe_Maybe_1_Some: {
						VAL v31 = mtp_std_maybe_Maybe_1_Some(v27);
						branch_zux1_30 = v31;
						branch_Token_29 = V_mirth_token_Token(v24);
						branch_zaMirth_28 = v26;
					} break;
					case std_maybe_Maybe_1_None: {
						STR* v32;
						STRLIT(v32, "Expected label name.", 20);
						mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v26, V_mirth_token_Token(v24), v32);
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				incref(branch_zux1_30);
				struct mirth_mirth_zaMirth* v36;
				bool v37 = mw_mirth_name_Name_couldzebezelabelzenamezy(branch_zaMirth_28, V_mirth_name_Name(branch_zux1_30), &v36);
				uint64_t branch_Token_38;
				struct mirth_mirth_zaMirth* branch_zaMirth_39;
				uint64_t branch_Name_40;
				if (v37) {
					branch_Name_40 = V_mirth_name_Name(branch_zux1_30);
					branch_zaMirth_39 = v36;
					branch_Token_38 = branch_Token_29;
				} else {
					STR* v41;
					STRLIT(v41, "", 0);
					STR* v42;
					STRLIT(v42, "Invalid label name: ", 20);
					STR* v43;
					mw_std_str_zaStr_pushzestrzx(v42, v41, &v43);
					struct mirth_mirth_zaMirth* v44;
					STR* v45;
					mw_mirth_name_Name_namezj(v36, v43, V_mirth_name_Name(branch_zux1_30), &v44, &v45);
					mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v44, branch_Token_29, v45);
				}
				struct mirth_mirth_zaMirth* v49;
				uint64_t v50 = mw_mirth_label_Label_Label(branch_zaMirth_39, branch_Name_40, &v49);
				struct std_list_List_1 v51;
				mw_std_list_zaLister_1_pushzx(MK_mirth_label_Label(v50), r16, &v51);
				bool v52 = true;
				branch_Bool_22 = v52;
				branch_List_21 = v23;
				branch_zaLister_20 = v51;
				branch_zaMirth_19 = v49;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v53 = { .tag=std_list_List_1_Nil };
				bool v54 = false;
				branch_Bool_22 = v54;
				branch_List_21 = v53;
				branch_zaLister_20 = r16;
				branch_zaMirth_19 = r15;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v14 = branch_Bool_22;
		v13 = branch_Bool_22;
		v12 = branch_List_21;
		r11 = branch_zaLister_20;
		r10 = branch_zaMirth_19;
	}
	decref(MK_std_list_List_1(v12));
	struct std_list_List_1 v55 = mw_std_list_zaLister_1_donezx(r11);
	*out_zaMirth_3 = r10;
	return v55;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, -0x58(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movq %rax, -0x30(%rbp)
leaq -0x80(%rbp), %r13
movq %r13, %rdx
callq 0x31550
movl %eax, %r14d
movq %rdx, %rbx
xorl %edi, %edi
xorl %esi, %esi
callq 0xcd32
movl %eax, %r15d
movq %rdx, %r12
movq (%r13), %r13
leaq -0x78(%rbp), %rsi
movb $0x1, %al
movq %rbx, %rdi
testb $0x1, %al
je 0x73f5d
xorl %eax, %eax
movl $0x0, %ebx
testl %r14d, %r14d
je 0x73e4a
cmpl $0x1, %r14d
jne 0x73fb3
callq 0xce01
movq %rax, %r14
testb $0x1, %dl
je 0x73eab
movq %r14, %rbx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %rbx
sete %al
testb $0x3, %r14b
setne %cl
orb %al, %cl
jne 0x73eab
incl (%rbx)
movq %r13, %rdi
movq %r14, %rsi
leaq -0x38(%rbp), %rdx
callq 0x24a81
incl (%rbx)
jmp 0x73eba
movq %r13, %rdi
movq %r14, %rsi
leaq -0x38(%rbp), %rdx
callq 0x24a81
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq -0x38(%rbp), %rdi
movq %r14, %rsi
leaq -0x50(%rbp), %rdx
callq 0x2df97
cmpl $0x1, %eax
jne 0x73fca
movq %rdx, %rdi
callq 0xd491
movq %rax, %r13
testb $0x1, %dl
je 0x73f03
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x73f03
incl (%rax)
movq -0x50(%rbp), %rdi
movq %r13, %rsi
leaq -0x48(%rbp), %rdx
callq 0x3c637
testb %al, %al
je 0x7400f
movq -0x48(%rbp), %rdi
movq %r13, %rsi
leaq -0x40(%rbp), %rdx
callq 0x521fe
movq %rax, %rdi
leaq 0x95393(%rip), %rsi     # 0x1092c8
movl %r15d, %edx
movq %r12, %rcx
leaq -0x68(%rbp), %r8
callq 0x8e35
movl -0x78(%rbp), %r14d
movq -0x70(%rbp), %rbx
movl -0x68(%rbp), %r15d
movq -0x60(%rbp), %r12
movq -0x40(%rbp), %r13
jmp 0x73e44
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdi, %rdx
sete %al
testb $0x3, %dil
setne %cl
orb %al, %cl
jne 0x73f92
decl (%rdx)
jne 0x73f92
shlq $0x30, %r14
orq %rdi, %r14
leaq 0x942ef(%rip), %rsi     # 0x108279
movq %r14, %rdi
callq 0xce94
movl %r15d, %edi
movq %r12, %rsi
callq 0xcd32
movq -0x58(%rbp), %rcx
movq %r13, (%rcx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x60853(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6
movq 0x1099437(%rip), %rdx   # 0x110d408
testq %rdx, %rdx
jne 0x73fef
leaq 0x68571(%rip), %rdi     # 0xdc54e
pushq $0x14
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1099419(%rip)   # 0x110d408
andq %rdx, -0x30(%rbp)
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0x74006
movq -0x30(%rbp), %rax
incl (%rax)
movq -0x50(%rbp), %rdi
jmp 0x740ba
movq 0x10993fa(%rip), %rbx   # 0x110d410
testq %rbx, %rbx
jne 0x74033
leaq 0x686d3(%rip), %rdi     # 0xdc6f5
xorl %esi, %esi
callq 0x8a21
movq %rax, %rbx
movq %rax, 0x10993dd(%rip)   # 0x110d410
movq %rbx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x74052
incl (%rax)
movq 0x10993bf(%rip), %rsi   # 0x110d418
testq %rsi, %rsi
jne 0x74077
leaq 0x684fe(%rip), %rdi     # 0xdc563
pushq $0x14
popq %rsi
callq 0x8a21
movq %rax, %rsi
movq %rax, 0x10993a1(%rip)   # 0x110d418
andq %rsi, -0x30(%rbp)
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x7408f
movq -0x30(%rbp), %rax
incl (%rax)
movq %rbx, %rdi
callq 0xd8b0
movq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rbx
leaq -0x40(%rbp), %r15
movq %rax, %rsi
movq %r13, %rdx
movq %rbx, %rcx
movq %r15, %r8
callq 0x17fa1
movq (%rbx), %rdi
movq (%r15), %rdx
movq %r14, %rsi
callq 0x246fe