// File: /workspace/github_c_makefile_star2_O1/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 0x1c368
movq %rbx, %rax
andq %r14, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x1c350
incl (%rax)
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x1c370
incl (%rax)
jmp 0x1c370
movq %rdx, %rdi
callq 0x5030
leaq -0x50(%rbp), %rcx
leaq -0x48(%rbp), %r8
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x1b8f9
cmpq $0x0, 0x10fcb52(%rip)   # 0x1118ee0
jne 0x1c3af
movl $0x2, %edi
callq 0xf9f7
movq $0x2, 0x10(%rax)
movw $0x203a, 0x18(%rax)     # imm = 0x203A
movq %rax, 0x10fcb31(%rip)   # 0x1118ee0
movq 0x10fcb2a(%rip), %rsi   # 0x1118ee0
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x1c3cc
incl (%rax)
movq -0x48(%rbp), %rdi
callq 0xe43c
movq %rax, %r12
cmpl $0x2, %r15d
je 0x1c45a
cmpl $0x1, %r15d
je 0x1c420
testl %r15d, %r15d
jne 0x1c529
cmpq $0x0, 0x10fcafb(%rip)   # 0x1118ef0
jne 0x1c417
movl $0x4, %edi
callq 0xf9f7
movq $0x4, 0x10(%rax)
movl $0x6f666e69, 0x18(%rax) # imm = 0x6F666E69
movq %rax, 0x10fcad9(%rip)   # 0x1118ef0
movq 0x10fcad2(%rip), %rsi   # 0x1118ef0
jmp 0x1c48f
cmpq $0x0, 0x10fcad0(%rip)   # 0x1118ef8
jne 0x1c451
movl $0x7, %edi
callq 0xf9f7
movq $0x7, 0x10(%rax)
movl $0x6e726177, 0x18(%rax) # imm = 0x6E726177
movl $0x676e696e, 0x1b(%rax) # imm = 0x676E696E
movq %rax, 0x10fcaa7(%rip)   # 0x1118ef8
movq 0x10fcaa0(%rip), %rsi   # 0x1118ef8
jmp 0x1c48f
cmpq $0x0, 0x10fca9e(%rip)   # 0x1118f00
jne 0x1c488
movl $0x5, %edi
callq 0xf9f7
movq $0x5, 0x10(%rax)
movl $0x6f727265, 0x18(%rax) # imm = 0x6F727265
movb $0x72, 0x1c(%rax)
movq %rax, 0x10fca78(%rip)   # 0x1118f00
movq 0x10fca71(%rip), %rsi   # 0x1118f00
movq %rsi, %rax
andq %r14, %rax
setne %cl
testb $0x3, %sil
sete %dl
testb %dl, %cl
je 0x1c4a5
incl (%rax)
movq %r12, %rdi
callq 0xe43c
movq %rax, %rbx
cmpq $0x0, 0x10fca30(%rip)   # 0x1118ee8
jne 0x1c4d9
movl $0x2, %edi
callq 0xf9f7
movq $0x2, 0x10(%rax)
movw $0x203a, 0x18(%rax)     # imm = 0x203A
movq %rax, 0x10fca0f(%rip)   # 0x1118ee8
movq 0x10fca08(%rip), %rsi   # 0x1118ee8
andq %rsi, %r14
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x1c4f4
incl (%r14)
movq %rbx, %rdi
callq 0xe43c
movq %rax, %rdi
movq -0x30(%rbp), %rsi
callq 0xe43c
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 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xc820b(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xc8210(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5