// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_Diagnostic_diagnosticzj
static void mw_mirth_mirth_Diagnostic_diagnosticzj (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_zaStr_2, struct mirth_mirth_Diagnostic* in_Diagnostic_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, STR* *out_zaStr_5) {
	enum mirth_mirth_Severity v6;
	struct mirth_location_Location* v7;
	STR* v8;
	mtp_mirth_mirth_Diagnostic_Diagnostic(in_Diagnostic_3, &v6, &v7, &v8);
	struct mirth_mirth_zaMirth* v9;
	STR* v10;
	mw_mirth_location_Location_emitzj(in_zaMirth_1, in_zaStr_2, v7, &v9, &v10);
	STR* v11;
	STRLIT(v11, ": ", 2);
	STR* v12;
	mw_std_str_zaStr_pushzestrzx(v11, v10, &v12);
	STR* v13 = mw_mirth_mirth_Severity_zgStr(v6);
	STR* v14;
	mw_std_str_zaStr_pushzestrzx(v13, v12, &v14);
	STR* v15;
	STRLIT(v15, ": ", 2);
	STR* v16;
	mw_std_str_zaStr_pushzestrzx(v15, v14, &v16);
	STR* v17;
	mw_std_str_zaStr_pushzestrzx(v8, v16, &v17);
	*out_zaStr_5 = v17;
	*out_zaMirth_4 = v9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, -0x38(%rbp)
movq %rcx, -0x40(%rbp)
movq %rsi, %r12
movq %rdi, %r13
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movl 0x4(%rdx), %r15d
movq 0x8(%rdx), %rbx
movq 0x10(%rdx), %rsi
decl (%rdx)
movq %rsi, -0x30(%rbp)
je 0x1c071
movq %rbx, %rax
andq %r14, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x1c059
incl (%rax)
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x1c079
incl (%rax)
jmp 0x1c079
movq %rdx, %rdi
callq 0x5030
leaq -0x50(%rbp), %rcx
leaq -0x48(%rbp), %r8
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x1b635
movq 0x10f8e4a(%rip), %rsi   # 0x1114ee0
testq %rsi, %rsi
jne 0x1c0bd
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x2, 0x10(%rax)
movw $0x203a, 0x18(%rax)     # imm = 0x203A
movq %rax, 0x10f8e23(%rip)   # 0x1114ee0
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x1c0d3
incl (%rax)
movq -0x48(%rbp), %rdi
callq 0xe069
movq %rax, %r12
cmpl $0x2, %r15d
je 0x1c161
cmpl $0x1, %r15d
je 0x1c129
testl %r15d, %r15d
jne 0x1c22c
movq 0x10f8df5(%rip), %rsi   # 0x1114ef0
testq %rsi, %rsi
jne 0x1c194
movl $0x4, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x4, 0x10(%rax)
movl $0x6f666e69, 0x18(%rax) # imm = 0x6F666E69
movq %rax, 0x10f8dc9(%rip)   # 0x1114ef0
jmp 0x1c194
movq 0x10f8dc8(%rip), %rsi   # 0x1114ef8
testq %rsi, %rsi
jne 0x1c194
movl $0x7, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x7, 0x10(%rax)
movl $0x6e726177, 0x18(%rax) # imm = 0x6E726177
movl $0x676e696e, 0x1b(%rax) # imm = 0x676E696E
movq %rax, 0x10f8d99(%rip)   # 0x1114ef8
jmp 0x1c194
movq 0x10f8d98(%rip), %rsi   # 0x1114f00
testq %rsi, %rsi
jne 0x1c194
movl $0x5, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x5, 0x10(%rax)
movl $0x6f727265, 0x18(%rax) # imm = 0x6F727265
movb $0x72, 0x1c(%rax)
movq %rax, 0x10f8d6c(%rip)   # 0x1114f00
movq %rsi, %rax
andq %r14, %rax
setne %cl
testb $0x3, %sil
sete %dl
testb %dl, %cl
je 0x1c1aa
incl (%rax)
movq %r12, %rdi
callq 0xe069
movq %rax, %rbx
movq 0x10f8d2c(%rip), %rsi   # 0x1114ee8
testq %rsi, %rsi
jne 0x1c1e3
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x2, 0x10(%rax)
movw $0x203a, 0x18(%rax)     # imm = 0x203A
movq %rax, 0x10f8d05(%rip)   # 0x1114ee8
andq %rsi, %r14
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x1c1f7
incl (%r14)
movq %rbx, %rdi
callq 0xe069
movq %rax, %rdi
movq -0x30(%rbp), %rsi
callq 0xe069
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq -0x50(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rax, (%rcx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0xc4488(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0xc448d(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302