#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */
typedef struct TYPE_3__ TYPE_1__;

/* Type definitions */
struct TYPE_3__ {
  int width;
  int height;
};
typedef TYPE_1__ XWindowAttributes;
typedef int /*<<< orphan*/ XFontStruct;
typedef int /*<<< orphan*/ Window;
typedef int /*<<< orphan*/ GC;
typedef int /*<<< orphan*/ Display;

/* Variables and functions */
int /*<<< orphan*/ BlackPixel(int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ DefaultScreen(int /*<<< orphan*/ *);
int /*<<< orphan*/ WhitePixel(int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ XClearWindow(int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ XDrawImageString(int /*<<< orphan*/ *, int /*<<< orphan*/,
                                    int /*<<< orphan*/, int, int, char *,
                                    int /*<<< orphan*/);
int /*<<< orphan*/ XFlush(int /*<<< orphan*/ *);
int /*<<< orphan*/ XGetWindowAttributes(int /*<<< orphan*/ *,
                                        int /*<<< orphan*/, TYPE_1__ *);
int /*<<< orphan*/ XSetBackground(int /*<<< orphan*/ *, int /*<<< orphan*/,
                                  int /*<<< orphan*/);
int /*<<< orphan*/ XSetForeground(int /*<<< orphan*/ *, int /*<<< orphan*/,
                                  int /*<<< orphan*/);
int XTextWidth(int /*<<< orphan*/ *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ strlen(char *);
void zeichne_mtext(Display *myd, Window w, GC mygc, XFontStruct *font,
                   char *str1, char *str2, char *str3) {
  XWindowAttributes attribs;
  int lstr1, lstr2, lstr3, width, height;
  XGetWindowAttributes(myd, w, &attribs);
  width = attribs.width;
  height = attribs.height;
  lstr1 = XTextWidth(font, str1, strlen(str1));
  lstr2 = XTextWidth(font, str2, strlen(str2));
  lstr3 = XTextWidth(font, str3, strlen(str3));
  XClearWindow(myd, w);
  XDrawImageString(myd, w, mygc, (width - lstr1 - lstr2 - lstr3) / 2,
                   height * 2 / 3, str1, strlen(str1));
  XSetForeground(myd, mygc, WhitePixel(myd, DefaultScreen(myd)));
  XSetBackground(myd, mygc, BlackPixel(myd, DefaultScreen(myd)));
  XDrawImageString(myd, w, mygc, (width + lstr1 - lstr2 - lstr3) / 2,
                   height * 2 / 3, str2, strlen(str2));
  XSetForeground(myd, mygc, BlackPixel(myd, DefaultScreen(myd)));
  XSetBackground(myd, mygc, WhitePixel(myd, DefaultScreen(myd)));
  XDrawImageString(myd, w, mygc, (width + lstr1 + lstr2 - lstr3) / 2,
                   height * 2 / 3, str3, strlen(str3));
  XFlush(myd);
}


x86 assembly (clang, -O0):
<zeichne_mtext>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
lea    -0x30(%rbp),%rdx
call   10a0 <XGetWindowAttributes@plt>
mov    -0x30(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x138(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x130(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x138(%rbp),%rdi
mov    -0x130(%rbp),%rsi
mov    %eax,%edx
call   10b0 <XTextWidth@plt>
mov    %eax,-0x34(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x120(%rbp)
mov    -0x28(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x128(%rbp),%rdi
mov    -0x120(%rbp),%rsi
mov    %eax,%edx
call   10b0 <XTextWidth@plt>
mov    %eax,-0x38(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x118(%rbp)
mov    0x10(%rbp),%rax
mov    %rax,-0x110(%rbp)
mov    0x10(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x118(%rbp),%rdi
mov    -0x110(%rbp),%rsi
mov    %eax,%edx
call   10b0 <XTextWidth@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
call   1030 <XClearWindow@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0x108(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x100(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0xfc(%rbp)
mov    -0x40(%rbp),%eax
sub    -0x34(%rbp),%eax
sub    -0x38(%rbp),%eax
sub    -0x3c(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0xf8(%rbp)
mov    -0x44(%rbp),%eax
shl    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xf4(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0xf0(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x108(%rbp),%rdi
mov    -0x100(%rbp),%esi
mov    -0xfc(%rbp),%edx
mov    -0xf8(%rbp),%ecx
mov    -0xf4(%rbp),%r8d
mov    -0xf0(%rbp),%r9
mov    %eax,(%rsp)
call   1060 <XDrawImageString@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0xe0(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0xd4(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xe8(%rbp)
mov    -0x8(%rbp),%rdi
call   10c0 <DefaultScreen@plt>
mov    -0xe8(%rbp),%rdi
mov    %eax,%esi
call   1050 <WhitePixel@plt>
mov    -0xe0(%rbp),%rdi
mov    -0xd4(%rbp),%esi
mov    %eax,%edx
call   1080 <XSetForeground@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0xc8(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0xbc(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xd0(%rbp)
mov    -0x8(%rbp),%rdi
call   10c0 <DefaultScreen@plt>
mov    -0xd0(%rbp),%rdi
mov    %eax,%esi
call   1070 <BlackPixel@plt>
mov    -0xc8(%rbp),%rdi
mov    -0xbc(%rbp),%esi
mov    %eax,%edx
call   10d0 <XSetBackground@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0xb0(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0xac(%rbp)
mov    -0x40(%rbp),%eax
add    -0x34(%rbp),%eax
sub    -0x38(%rbp),%eax
sub    -0x3c(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0xa8(%rbp)
mov    -0x44(%rbp),%eax
shl    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xa4(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0x28(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xb8(%rbp),%rdi
mov    -0xb0(%rbp),%esi
mov    -0xac(%rbp),%edx
mov    -0xa8(%rbp),%ecx
mov    -0xa4(%rbp),%r8d
mov    -0xa0(%rbp),%r9
mov    %eax,(%rsp)
call   1060 <XDrawImageString@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x8(%rbp),%rdi
call   10c0 <DefaultScreen@plt>
mov    -0x98(%rbp),%rdi
mov    %eax,%esi
call   1070 <BlackPixel@plt>
mov    -0x90(%rbp),%rdi
mov    -0x84(%rbp),%esi
mov    %eax,%edx
call   1080 <XSetForeground@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x8(%rbp),%rdi
call   10c0 <DefaultScreen@plt>
mov    -0x80(%rbp),%rdi
mov    %eax,%esi
call   1050 <WhitePixel@plt>
mov    -0x78(%rbp),%rdi
mov    -0x6c(%rbp),%esi
mov    %eax,%edx
call   10d0 <XSetBackground@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x40(%rbp),%eax
add    -0x34(%rbp),%eax
add    -0x38(%rbp),%eax
sub    -0x3c(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x58(%rbp)
mov    -0x44(%rbp),%eax
shl    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0x54(%rbp)
mov    0x10(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    0x10(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x68(%rbp),%rdi
mov    -0x60(%rbp),%esi
mov    -0x5c(%rbp),%edx
mov    -0x58(%rbp),%ecx
mov    -0x54(%rbp),%r8d
mov    -0x50(%rbp),%r9
mov    %eax,(%rsp)
call   1060 <XDrawImageString@plt>
mov    -0x8(%rbp),%rdi
call   1090 <XFlush@plt>
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<zeichne_mtext>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9,%rbp
mov    %r8,%rbx
mov    %r8,0x40(%rsp)
mov    %rcx,%r12
mov    %edx,0x24(%rsp)
mov    %esi,0x14(%rsp)
mov    %rdi,%r14
lea    0x38(%rsp),%rdx
call   10a0 <XGetWindowAttributes@plt>
mov    0x38(%rsp),%r15d
mov    %r15d,0x20(%rsp)
mov    0x3c(%rsp),%eax
mov    %eax,0x18(%rsp)
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   10b0 <XTextWidth@plt>
mov    %eax,%r13d
mov    %r13,0x48(%rsp)
mov    %rbp,0x50(%rsp)
mov    %rbp,%rdi
call   1040 <strlen@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   10b0 <XTextWidth@plt>
mov    %eax,%ebx
mov    %rbx,0x28(%rsp)
mov    0x90(%rsp),%rbp
mov    %rbp,%rdi
call   1040 <strlen@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   10b0 <XTextWidth@plt>
mov    %eax,%ebp
mov    %rbp,0x30(%rsp)
mov    %r14,%rdi
mov    0x14(%rsp),%r12d
mov    %r12d,%esi
call   1030 <XClearWindow@plt>
lea    (%rbx,%r13,1),%eax
add    %ebp,%eax
mov    %r15d,%ecx
sub    %eax,%ecx
mov    %ecx,%ebp
shr    $0x1f,%ebp
add    %ecx,%ebp
sar    %ebp
mov    0x18(%rsp),%eax
add    %eax,%eax
cltq
imul   $0x55555556,%rax,%rbx
mov    %rbx,%rax
shr    $0x3f,%rax
shr    $0x20,%rbx
add    %eax,%ebx
mov    %rbx,0x18(%rsp)
mov    0x40(%rsp),%r13
mov    %r13,%rdi
call   1040 <strlen@plt>
mov    %eax,(%rsp)
mov    %r14,%rdi
mov    %r12d,%esi
mov    0x24(%rsp),%r15d
mov    %r15d,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    %r13,%r9
call   1060 <XDrawImageString@plt>
mov    %r14,%rdi
call   10c0 <DefaultScreen@plt>
mov    %r14,%rdi
mov    %eax,%esi
call   1050 <WhitePixel@plt>
mov    %r14,%rdi
mov    %r15d,%esi
mov    %eax,%edx
call   1080 <XSetForeground@plt>
mov    %r14,%rdi
call   10c0 <DefaultScreen@plt>
mov    %r14,%rdi
mov    %eax,%esi
call   1070 <BlackPixel@plt>
mov    %r14,%rdi
mov    %r15d,%esi
mov    %eax,%edx
call   10d0 <XSetBackground@plt>
mov    0x48(%rsp),%r13
add    0x20(%rsp),%r13d
mov    0x30(%rsp),%rax
mov    0x28(%rsp),%rcx
add    %ecx,%eax
mov    %r13d,%ecx
sub    %eax,%ecx
mov    %ecx,%ebp
shr    $0x1f,%ebp
add    %ecx,%ebp
sar    %ebp
mov    0x50(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %eax,(%rsp)
mov    %r14,%rdi
mov    %r12d,%esi
mov    %r15d,%edx
mov    %ebp,%ecx
mov    0x18(%rsp),%r8
mov    %rbx,%r9
call   1060 <XDrawImageString@plt>
mov    %r14,%rdi
call   10c0 <DefaultScreen@plt>
mov    %r14,%rdi
mov    %eax,%esi
call   1070 <BlackPixel@plt>
mov    %r14,%rdi
mov    %r15d,%esi
mov    %eax,%edx
call   1080 <XSetForeground@plt>
mov    %r14,%rdi
call   10c0 <DefaultScreen@plt>
mov    %r14,%rdi
mov    %eax,%esi
call   1050 <WhitePixel@plt>
mov    %r14,%rdi
mov    %r15d,%esi
mov    %r15d,%r12d
mov    %eax,%edx
call   10d0 <XSetBackground@plt>
mov    %r13,%rax
add    0x28(%rsp),%eax
sub    0x30(%rsp),%eax
mov    %eax,%ebp
shr    $0x1f,%ebp
add    %eax,%ebp
sar    %ebp
mov    0x90(%rsp),%r15
mov    %r15,%rdi
call   1040 <strlen@plt>
mov    %eax,(%rsp)
mov    %r14,%rdi
mov    0x14(%rsp),%esi
mov    %r12d,%edx
mov    %ebp,%ecx
mov    0x18(%rsp),%r8
mov    %r15,%r9
call   1060 <XDrawImageString@plt>
mov    %r14,%rdi
call   1090 <XFlush@plt>
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.TYPE_3__ = type { i32, i32 }
define void @zeichne_mtext(i32* %0, i32 %1, i32 %2, i32* %3, i8* %4, i8* %5, i8* %6) {
%8 = alloca i32*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32*
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca %struct.TYPE_3__
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
store i32* %0, i32** %8
store i32 %1, i32* %9
store i32 %2, i32* %10
store i32* %3, i32** %11
store i8* %4, i8** %12
store i8* %5, i8** %13
store i8* %6, i8** %14
%21 = load i32*, i32** %8
%22 = load i32, i32* %9
%23 = call i32 @XGetWindowAttributes(i32* %21, i32 %22, %struct.TYPE_3__* %15)
%24 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %15, i32 0, i32 0
%25 = load i32, i32* %24
store i32 %25, i32* %19
%26 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %15, i32 0, i32 1
%27 = load i32, i32* %26
store i32 %27, i32* %20
%28 = load i32*, i32** %11
%29 = load i8*, i8** %12
%30 = load i8*, i8** %12
%31 = call i32 @strlen(i8* %30)
%32 = call i32 @XTextWidth(i32* %28, i8* %29, i32 %31)
store i32 %32, i32* %16
%33 = load i32*, i32** %11
%34 = load i8*, i8** %13
%35 = load i8*, i8** %13
%36 = call i32 @strlen(i8* %35)
%37 = call i32 @XTextWidth(i32* %33, i8* %34, i32 %36)
store i32 %37, i32* %17
%38 = load i32*, i32** %11
%39 = load i8*, i8** %14
%40 = load i8*, i8** %14
%41 = call i32 @strlen(i8* %40)
%42 = call i32 @XTextWidth(i32* %38, i8* %39, i32 %41)
store i32 %42, i32* %18
%43 = load i32*, i32** %8
%44 = load i32, i32* %9
%45 = call i32 @XClearWindow(i32* %43, i32 %44)
%46 = load i32*, i32** %8
%47 = load i32, i32* %9
%48 = load i32, i32* %10
%49 = load i32, i32* %19
%50 = load i32, i32* %16
%51 = sub nsw i32 %49, %50
%52 = load i32, i32* %17
%53 = sub nsw i32 %51, %52
%54 = load i32, i32* %18
%55 = sub nsw i32 %53, %54
%56 = sdiv i32 %55, 2
%57 = load i32, i32* %20
%58 = mul nsw i32 %57, 2
%59 = sdiv i32 %58, 3
%60 = load i8*, i8** %12
%61 = load i8*, i8** %12
%62 = call i32 @strlen(i8* %61)
%63 = call i32 @XDrawImageString(i32* %46, i32 %47, i32 %48, i32 %56, i32 %59, i8* %60, i32 %62)
%64 = load i32*, i32** %8
%65 = load i32, i32* %10
%66 = load i32*, i32** %8
%67 = load i32*, i32** %8
%68 = call i32 @DefaultScreen(i32* %67)
%69 = call i32 @WhitePixel(i32* %66, i32 %68)
%70 = call i32 @XSetForeground(i32* %64, i32 %65, i32 %69)
%71 = load i32*, i32** %8
%72 = load i32, i32* %10
%73 = load i32*, i32** %8
%74 = load i32*, i32** %8
%75 = call i32 @DefaultScreen(i32* %74)
%76 = call i32 @BlackPixel(i32* %73, i32 %75)
%77 = call i32 @XSetBackground(i32* %71, i32 %72, i32 %76)
%78 = load i32*, i32** %8
%79 = load i32, i32* %9
%80 = load i32, i32* %10
%81 = load i32, i32* %19
%82 = load i32, i32* %16
%83 = add nsw i32 %81, %82
%84 = load i32, i32* %17
%85 = sub nsw i32 %83, %84
%86 = load i32, i32* %18
%87 = sub nsw i32 %85, %86
%88 = sdiv i32 %87, 2
%89 = load i32, i32* %20
%90 = mul nsw i32 %89, 2
%91 = sdiv i32 %90, 3
%92 = load i8*, i8** %13
%93 = load i8*, i8** %13
%94 = call i32 @strlen(i8* %93)
%95 = call i32 @XDrawImageString(i32* %78, i32 %79, i32 %80, i32 %88, i32 %91, i8* %92, i32 %94)
%96 = load i32*, i32** %8
%97 = load i32, i32* %10
%98 = load i32*, i32** %8
%99 = load i32*, i32** %8
%100 = call i32 @DefaultScreen(i32* %99)
%101 = call i32 @BlackPixel(i32* %98, i32 %100)
%102 = call i32 @XSetForeground(i32* %96, i32 %97, i32 %101)
%103 = load i32*, i32** %8
%104 = load i32, i32* %10
%105 = load i32*, i32** %8
%106 = load i32*, i32** %8
%107 = call i32 @DefaultScreen(i32* %106)
%108 = call i32 @WhitePixel(i32* %105, i32 %107)
%109 = call i32 @XSetBackground(i32* %103, i32 %104, i32 %108)
%110 = load i32*, i32** %8
%111 = load i32, i32* %9
%112 = load i32, i32* %10
%113 = load i32, i32* %19
%114 = load i32, i32* %16
%115 = add nsw i32 %113, %114
%116 = load i32, i32* %17
%117 = add nsw i32 %115, %116
%118 = load i32, i32* %18
%119 = sub nsw i32 %117, %118
%120 = sdiv i32 %119, 2
%121 = load i32, i32* %20
%122 = mul nsw i32 %121, 2
%123 = sdiv i32 %122, 3
%124 = load i8*, i8** %14
%125 = load i8*, i8** %14
%126 = call i32 @strlen(i8* %125)
%127 = call i32 @XDrawImageString(i32* %110, i32 %111, i32 %112, i32 %120, i32 %123, i8* %124, i32 %126)
%128 = load i32*, i32** %8
%129 = call i32 @XFlush(i32* %128)
ret void
}

LLVM IR (-O2):
%struct.TYPE_3__ = type { i32, i32 }
define void @zeichne_mtext(i32* %0, i32 %1, i32 %2, i32* %3, i8* %4, i8* %5, i8* %6) {
%8 = alloca %struct.TYPE_3__
%9 = bitcast %struct.TYPE_3__* %8 to i8*
%10 = call i32 @XGetWindowAttributes(i32* %0, i32 %1, %struct.TYPE_3__* %8)
%11 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %8, i64 0, i32 0
%12 = load i32, i32* %11
%13 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %8, i64 0, i32 1
%14 = load i32, i32* %13
%15 = call i32 @strlen(i8* %4)
%16 = call i32 @XTextWidth(i32* %3, i8* %4, i32 %15)
%17 = call i32 @strlen(i8* %5)
%18 = call i32 @XTextWidth(i32* %3, i8* %5, i32 %17)
%19 = call i32 @strlen(i8* %6)
%20 = call i32 @XTextWidth(i32* %3, i8* %6, i32 %19)
%21 = call i32 @XClearWindow(i32* %0, i32 %1)
%22 = add i32 %16, %18
%23 = add i32 %22, %20
%24 = sub i32 %12, %23
%25 = sdiv i32 %24, 2
%26 = shl nsw i32 %14, 1
%27 = sdiv i32 %26, 3
%28 = call i32 @strlen(i8* %4)
%29 = call i32 @XDrawImageString(i32* %0, i32 %1, i32 %2, i32 %25, i32 %27, i8* %4, i32 %28)
%30 = call i32 @DefaultScreen(i32* %0)
%31 = call i32 @WhitePixel(i32* %0, i32 %30)
%32 = call i32 @XSetForeground(i32* %0, i32 %2, i32 %31)
%33 = call i32 @DefaultScreen(i32* %0)
%34 = call i32 @BlackPixel(i32* %0, i32 %33)
%35 = call i32 @XSetBackground(i32* %0, i32 %2, i32 %34)
%36 = add nsw i32 %16, %12
%37 = add i32 %18, %20
%38 = sub i32 %36, %37
%39 = sdiv i32 %38, 2
%40 = call i32 @strlen(i8* %5)
%41 = call i32 @XDrawImageString(i32* %0, i32 %1, i32 %2, i32 %39, i32 %27, i8* %5, i32 %40)
%42 = call i32 @DefaultScreen(i32* %0)
%43 = call i32 @BlackPixel(i32* %0, i32 %42)
%44 = call i32 @XSetForeground(i32* %0, i32 %2, i32 %43)
%45 = call i32 @DefaultScreen(i32* %0)
%46 = call i32 @WhitePixel(i32* %0, i32 %45)
%47 = call i32 @XSetBackground(i32* %0, i32 %2, i32 %46)
%48 = add nsw i32 %18, %36
%49 = sub i32 %48, %20
%50 = sdiv i32 %49, 2
%51 = call i32 @strlen(i8* %6)
%52 = call i32 @XDrawImageString(i32* %0, i32 %1, i32 %2, i32 %50, i32 %27, i8* %6, i32 %51)
%53 = call i32 @XFlush(i32* %0)
ret void
}