// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_output_zaOutput_flushzx
static void mw_std_output_zaOutput_flushzx (struct std_output_zaOutput* in_zaOutput_1, struct std_output_zaOutput* *out_zaOutput_2) {
	ARR* r3 = in_zaOutput_1->mzabuffer;
	ARR* v4;
	void* v5 = mw_std_buffer_zaBuffer_base(r3, &v4);
	in_zaOutput_1->mzabuffer = v4;
	INT v6 = in_zaOutput_1->msizze;
	incref(MKINT(v6));
	struct std_file_zaFile* r7 = in_zaOutput_1->mzafile;
	struct std_file_zaFile* v8;
	struct std_result_Result_2 v9 = mw_std_prelude_unsafe_1_sp2(r7, v5, v6, &v8);
	in_zaOutput_1->mzafile = v8;
	decref(MK_std_result_Result_2(v9));
	INT v10 = WRAP_I63(0LL);
	INT v11 = in_zaOutput_1->msizze;
	decref(MKINT(v11));
	in_zaOutput_1->msizze = v10;
	*out_zaOutput_2 = in_zaOutput_1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x33730
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0x170512(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x220fa8
movq -0x30(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0x1704ed(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x220fa8
movq -0x30(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0x1704c2(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x220fa8
movq -0x30(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x17049d(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x220faa
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x30(%rbp), %rdx
leaq -0x80(%rbp), %rcx
callq 0x2212a0
movl %eax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x80(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x1d1540
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0x98(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2210f7
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x1d1540
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
cmpq $0x0, %rax
je 0x2210f7
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x1d1540
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2210f7
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x1d1540
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x2210f5
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0x1d1540
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xe0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x127c0
jmp 0x2210f7
jmp 0x2210f9
movq 0x14d950(%rip), %rax    # 0x36ea50
movq %rax, -0xe8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x1702fe(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x221228
movq -0xf0(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x1702c9(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rax
cmpq $0x0, %rax
je 0x221228
movq -0xf0(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x17028e(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movq -0x120(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x221228
movq -0xf0(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq 0x17025d(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x128(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x221226
movq -0xf0(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0x170220(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x127c0
jmp 0x221228
jmp 0x22122a
movq -0x8(%rbp), %rax
movq -0xe8(%rbp), %rcx
movq %rcx, (%rax)
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopl (%rax)