// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_datazewordzenewzx
static uint64_t mw_mirth_data_datazewordzenewzx (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Data_2, STR* in_Str_3, INT in_Nat_4, struct std_maybe_Maybe_1 in_Maybe_5, struct mirth_mirth_zaMirth* *out_zaMirth_6) {
	incref(MKNAT(in_Nat_4));
	incref(MKSTR(in_Str_3));
	struct mirth_mirth_zaMirth* v8;
	uint64_t v9 = mw_mirth_name_Name_Name(in_zaMirth_1, in_Str_3, &v8);
	struct mirth_mirth_zaMirth* v10;
	struct std_maybe_Maybe_1 v11 = mw_mirth_data_Data_headzy(v8, in_Data_2, &v10);
	struct mirth_mirth_zaMirth* branch_zaMirth_12;
	VAL branch_zux1_13;
	switch ((v11).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v14 = mtp_std_maybe_Maybe_1_Some(v11);
			branch_zux1_13 = v14;
			branch_zaMirth_12 = v10;
		} break;
		case std_maybe_Maybe_1_None: {
			STR* v15;
			STRLIT(v15, "Missing data token information.", 31);
			mw_mirth_mirth_zaMirth_fatalzeerrorzx(v10, v15);
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	incref(branch_zux1_13);
	struct mirth_mirth_zaMirth* v18;
	struct mirth_name_QName* v19 = mw_mirth_mirth_zaMirth_datazewordzeqname(branch_zaMirth_12, in_Data_2, in_Str_3, in_Nat_4, &v18);
	struct std_maybe_Maybe_1 v20 = { .tag=std_maybe_Maybe_1_None };
	struct mirth_mirth_zaMirth* v21;
	uint64_t v22 = mw_mirth_word_Word_Newzx(v18, V_mirth_token_Token(branch_zux1_13), v20, V_mirth_token_Token(branch_zux1_13), v9, in_Nat_4, in_Maybe_5, &v21);
	struct mirth_mirth_PropLabel v23 = mtw_mirth_mirth_PropLabel_WordQName(v22);
	struct mirth_mirth_zaMirth* v24;
	struct mirth_mirth_Prop_1* v25 = mw_mirth_mirth_PropLabel_prop(v21, MK_mirth_name_QName(v19), v23, &v24);
	void* v26 = field_mut(&mfld_mirth_word_Word_ztqname, v22);
	mut_set(MK_mirth_mirth_Prop_1(v25), v26);
	*out_zaMirth_6 = v24;
	return v22;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r8, -0x40(%rbp)
movq %rcx, %r14
movq %rdx, %r13
andl $0x0, -0x58(%rbp)
movq %rsi, %r15
andq $0x0, -0x50(%rbp)
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq %rdx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x6d553
incl (%rax)
leaq -0x60(%rbp), %rbx
movq %r13, %rsi
movq %rbx, %rdx
callq 0x12215
movq %rax, -0x38(%rbp)
movq (%rbx), %rdi
leaq -0x30(%rbp), %rdx
movq %r15, %rsi
callq 0x18fb4
cmpl $0x1, %eax
jne 0x6d666
movq %rdx, %rdi
callq 0xd491
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testb $0x1, %dl
je 0x6d5a7
movq %rbx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x6d5a7
incl (%rax)
leaq -0x68(%rbp), %r12
movq %r13, %rsi
movq %r12, %rdx
callq 0x12215
movq (%r12), %rdi
leaq -0x48(%rbp), %r13
movq %r15, %rsi
movq %rax, %rdx
movq %r14, %rcx
movq %r13, %r8
callq 0x6ec82
movq %rax, %r15
movq (%r13), %rdi
movups -0x58(%rbp), %xmm0
movups %xmm0, 0x8(%rsp)
movq %r12, 0x18(%rsp)
movq %r14, (%rsp)
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %rbx, %r8
movq -0x38(%rbp), %r9
callq 0x3040d
movq %rax, %rbx
movq %rax, %rdi
callq 0x30589
movq (%r12), %rdi
leaq 0x9b130(%rip), %rdx     # 0x108741
pushq $0x9
popq %rcx
leaq -0x48(%rbp), %r14
movq %r15, %rsi
movq %rax, %r8
movq %r14, %r9
callq 0x1d218
movq %rax, %r15
leaq 0x109e590(%rip), %rdi   # 0x110bbc0
movq %rbx, %rsi
callq 0x12f88
leaq 0x9b192(%rip), %rsi     # 0x1087d1
movq %r15, %rdi
movq %rax, %rdx
callq 0x1393b
movq (%r14), %rax
movq -0x40(%rbp), %rcx
movq %rax, (%rcx)
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %eax, %eax
jne 0x6d6ad
movq 0x109fc17(%rip), %rsi   # 0x110d288
testq %rsi, %rsi
jne 0x6d68f
leaq 0x6e72a(%rip), %rdi     # 0xdbda7
pushq $0x1f
popq %rsi
callq 0x8a21
movq %rax, %rsi
movq %rax, 0x109fbf9(%rip)   # 0x110d288
andq %rsi, %r12
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x6d6a4
incl (%r12)
movq -0x30(%rbp), %rdi
callq 0x13deb
leaq 0x67159(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6