// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_buffer_elabzebufferzx
static uint64_t mw_mirth_buffer_elabzebufferzx (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	uint64_t v6;
	struct std_maybe_Maybe_1 v7;
	INT v8;
	uint64_t v9 = mw_mirth_buffer_parsezebuffer(in_zaMirth_1, in_Token_2, &v5, &v6, &v7, &v8);
	struct mirth_mirth_zaMirth* v10;
	uint64_t v11;
	uint64_t v12;
	INT v13;
	struct mirth_mirth_PropState_1 v14;
	mw_mirth_elab_elabzedefzehead(v5, v6, &v10, &v11, &v12, &v13, &v14);
	decref(MKNAT(v13));
	struct mirth_mirth_zaMirth* v15;
	uint64_t v16 = mw_mirth_buffer_Buffer_Makezx(v10, v7, v11, v8, v12, &v15);
	struct mirth_mirth_PropLabel v17 = mtw_mirth_mirth_PropLabel_BufferQName(v16);
	struct mirth_mirth_Prop_1* v18 = mtw_mirth_mirth_Prop_1_Prop(v17, v14);
	void* v19 = field_mut(&mfld_mirth_buffer_Buffer_ztqname, v16);
	mut_set(MK_mirth_mirth_Prop_1(v18), v19);
	struct mirth_def_Def v20 = mtw_mirth_def_Def_Buffer(v16);
	struct mirth_mirth_zaMirth* v21;
	mw_mirth_def_Def_register(v15, v20, &v21);
	*out_zaMirth_3 = v21;
	return v9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x20(%rbp), %rdx
leaq -0x28(%rbp), %rcx
leaq -0x38(%rbp), %r8
leaq -0x40(%rbp), %r9
callq 0x16ebf0
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x50(%rbp), %rdx
leaq -0x58(%rbp), %rcx
leaq -0x60(%rbp), %r8
leaq -0x68(%rbp), %r9
leaq -0x78(%rbp), %rax
movq %rax, (%rsp)
callq 0xa1770
movq -0x68(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x222721(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x16eadb
movq -0x68(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x2226f5(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
cmpq $0x0, %rax
je 0x16eadb
movq -0x68(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x2226bd(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x16eadb
movq -0x68(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x22268f(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x16ead9
movq -0x68(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x222655(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0x127c0
jmp 0x16eadb
jmp 0x16eadd
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rcx
movq -0x60(%rbp), %r9
movl -0x38(%rbp), %esi
movq -0x30(%rbp), %rdx
movq -0x40(%rbp), %r8
leaq -0xd0(%rbp), %rax
movq %rax, (%rsp)
callq 0x16f700
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rdi
callq 0x16f850
movl %eax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
movl -0x78(%rbp), %edx
movq -0x70(%rbp), %rcx
callq 0x70ac0
movq %rax, -0xf0(%rbp)
movq -0xd8(%rbp), %rsi
leaq 0x1225b2e(%rip), %rdi   # 0x1394680
callq 0x40d30
movq %rax, -0xf8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x222ced(%rip), %rax    # 0x391860
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0xf8(%rbp), %rdx
movq -0x108(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x431a0
movq -0xd8(%rbp), %rdi
callq 0x16f8e0
movl %eax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0xd0(%rbp), %rdi
movl -0x118(%rbp), %esi
movq -0x110(%rbp), %rdx
leaq -0x120(%rbp), %rcx
callq 0x3f300
movq -0x120(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x48(%rbp), %rax
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopl (%rax)