#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 */

/* Type definitions */
typedef int /*<<< orphan*/ path;
typedef int /*<<< orphan*/ name;
typedef int /*<<< orphan*/ filename;

/* Variables and functions */
char *roadmap_db_map_path();
int /*<<< orphan*/ roadmap_path_create(char *);
int /*<<< orphan*/ roadmap_path_format(char *, int, char const *, char *);
int /*<<< orphan*/ snprintf(char *, int, char *, int, ...);
const char *get_tile_filename(int fips, int tile_index, int create_path) {
  const char *map_path = roadmap_db_map_path();
  char name[30];
  char path[512];
  static char filename[512];
  if (tile_index == -1) {
    const char *suffix = "index";
    static char name[512];
    snprintf(name, sizeof(name), "%05d_%s%s", fips, suffix, ".wdf");
    roadmap_path_format(filename, sizeof(filename), map_path, name);
    return filename;
  }
  snprintf(path, sizeof(path), "%05d", fips);
  roadmap_path_format(path, sizeof(path), map_path, path);
  if (create_path)
    roadmap_path_create(path);
  snprintf(name, sizeof(name), "%02x", tile_index >> 24);
  roadmap_path_format(path, sizeof(path), path, name);
  if (create_path)
    roadmap_path_create(path);
  snprintf(name, sizeof(name), "%02x", (tile_index >> 16) & 255);
  roadmap_path_format(path, sizeof(path), path, name);
  if (create_path)
    roadmap_path_create(path);
  snprintf(name, sizeof(name), "%02x", (tile_index >> 8) & 255);
  roadmap_path_format(path, sizeof(path), path, name);
  if (create_path)
    roadmap_path_create(path);
  snprintf(name, sizeof(name), "%05d_%08x%s", fips, tile_index, ".wdf");
  roadmap_path_format(filename, sizeof(filename), path, name);
  return filename;
}


x86 assembly (clang, -O0):
<get_tile_filename>:
push   %rbp
mov    %rsp,%rbp
sub    $0x250,%rsp
mov    %edi,-0xc(%rbp)
mov    %esi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    $0x0,%al
call   1060 <roadmap_db_map_path@plt>
mov    %rax,-0x20(%rbp)
cmpl   $0xffffffff,-0x10(%rbp)
jne    11ce <get_tile_filename+0x8e>
lea    0xe90(%rip),%rax
mov    %rax,-0x248(%rbp)
mov    -0xc(%rbp),%ecx
mov    -0x248(%rbp),%r8
lea    0x30c8(%rip),%rdi
mov    $0x200,%esi
lea    0xe72(%rip),%rdx
lea    0xe75(%rip),%r9
mov    $0x0,%al
call   1040 <snprintf@plt>
mov    -0x20(%rbp),%rdx
lea    0x2ea3(%rip),%rdi
mov    $0x200,%esi
lea    0x3097(%rip),%rcx
call   1030 <roadmap_path_format@plt>
lea    0x2e8b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1362 <get_tile_filename+0x222>
lea    -0x240(%rbp),%rdi
mov    -0xc(%rbp),%ecx
mov    $0x200,%esi
lea    0xe31(%rip),%rdx
mov    $0x0,%al
call   1040 <snprintf@plt>
lea    -0x240(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    -0x240(%rbp),%rcx
mov    $0x200,%esi
call   1030 <roadmap_path_format@plt>
cmpl   $0x0,-0x14(%rbp)
je     121d <get_tile_filename+0xdd>
lea    -0x240(%rbp),%rdi
call   1050 <roadmap_path_create@plt>
lea    -0x40(%rbp),%rdi
mov    -0x10(%rbp),%ecx
sar    $0x18,%ecx
mov    $0x1e,%esi
lea    0xde7(%rip),%rdx
mov    $0x0,%al
call   1040 <snprintf@plt>
lea    -0x240(%rbp),%rdi
lea    -0x240(%rbp),%rdx
lea    -0x40(%rbp),%rcx
mov    $0x200,%esi
call   1030 <roadmap_path_format@plt>
cmpl   $0x0,-0x14(%rbp)
je     126c <get_tile_filename+0x12c>
lea    -0x240(%rbp),%rdi
call   1050 <roadmap_path_create@plt>
lea    -0x40(%rbp),%rdi
mov    -0x10(%rbp),%ecx
sar    $0x10,%ecx
and    $0xff,%ecx
mov    $0x1e,%esi
lea    0xd92(%rip),%rdx
mov    $0x0,%al
call   1040 <snprintf@plt>
lea    -0x240(%rbp),%rdi
lea    -0x240(%rbp),%rdx
lea    -0x40(%rbp),%rcx
mov    $0x200,%esi
call   1030 <roadmap_path_format@plt>
cmpl   $0x0,-0x14(%rbp)
je     12c1 <get_tile_filename+0x181>
lea    -0x240(%rbp),%rdi
call   1050 <roadmap_path_create@plt>
lea    -0x40(%rbp),%rdi
mov    -0x10(%rbp),%ecx
sar    $0x8,%ecx
and    $0xff,%ecx
mov    $0x1e,%esi
lea    0xd3d(%rip),%rdx
mov    $0x0,%al
call   1040 <snprintf@plt>
lea    -0x240(%rbp),%rdi
lea    -0x240(%rbp),%rdx
lea    -0x40(%rbp),%rcx
mov    $0x200,%esi
call   1030 <roadmap_path_format@plt>
cmpl   $0x0,-0x14(%rbp)
je     1316 <get_tile_filename+0x1d6>
lea    -0x240(%rbp),%rdi
call   1050 <roadmap_path_create@plt>
lea    -0x40(%rbp),%rdi
mov    -0xc(%rbp),%ecx
mov    -0x10(%rbp),%r8d
mov    $0x1e,%esi
lea    0xcf2(%rip),%rdx
lea    0xcdc(%rip),%r9
mov    $0x0,%al
call   1040 <snprintf@plt>
lea    -0x240(%rbp),%rdx
lea    -0x40(%rbp),%rcx
lea    0x2d03(%rip),%rdi
mov    $0x200,%esi
call   1030 <roadmap_path_format@plt>
lea    0x2cf2(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x250,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_tile_filename>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x238,%rsp
mov    %edx,%r15d
mov    %esi,%ebx
mov    %edi,%r14d
xor    %eax,%eax
call   1060 <roadmap_db_map_path@plt>
mov    %ebx,%ecx
mov    %rax,%rbx
cmp    $0xffffffff,%ecx
je     1235 <get_tile_filename+0xf5>
mov    %ecx,0xc(%rsp)
lea    0xe9c(%rip),%rdx
lea    0x30(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x200,%esi
mov    %r14d,%ecx
xor    %eax,%eax
call   1040 <snprintf@plt>
mov    %rbp,%rdi
mov    $0x200,%esi
mov    %rbx,%rdx
mov    %rbp,%rcx
call   1030 <roadmap_path_format@plt>
test   %r15d,%r15d
je     127a <get_tile_filename+0x13a>
lea    0x30(%rsp),%r13
mov    %r13,%rdi
call   1050 <roadmap_path_create@plt>
mov    0xc(%rsp),%ebx
mov    %ebx,%ecx
sar    $0x18,%ecx
lea    0xe51(%rip),%r12
lea    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x1e,%esi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <snprintf@plt>
mov    %r13,%rdi
mov    $0x200,%esi
mov    %r13,%rdx
mov    %rbp,%rcx
call   1030 <roadmap_path_format@plt>
mov    %r13,%rdi
call   1050 <roadmap_path_create@plt>
mov    %ebx,%eax
shr    $0x10,%eax
movzbl %al,%ecx
mov    %rbp,%rdi
mov    $0x1e,%esi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <snprintf@plt>
mov    %r13,%rdi
mov    $0x200,%esi
mov    %r13,%rdx
mov    %rbp,%rcx
call   1030 <roadmap_path_format@plt>
mov    %r13,%rdi
call   1050 <roadmap_path_create@plt>
jmp    12e6 <get_tile_filename+0x1a6>
lea    0x3014(%rip),%rbp
lea    0xdc3(%rip),%rdx
lea    0xdb6(%rip),%r8
lea    0xdbf(%rip),%r9
mov    %rbp,%rdi
mov    $0x200,%esi
mov    %r14d,%ecx
xor    %eax,%eax
call   1040 <snprintf@plt>
lea    0x2de6(%rip),%rdi
mov    $0x200,%esi
mov    %rbx,%rdx
mov    %rbp,%rcx
jmp    1366 <get_tile_filename+0x226>
mov    0xc(%rsp),%ebx
mov    %ebx,%ecx
sar    $0x18,%ecx
lea    0xd90(%rip),%r12
lea    0x10(%rsp),%r13
mov    %r13,%rdi
mov    $0x1e,%esi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <snprintf@plt>
lea    0x30(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x200,%esi
mov    %rbp,%rdx
mov    %r13,%rcx
call   1030 <roadmap_path_format@plt>
mov    %ebx,%eax
shr    $0x10,%eax
movzbl %al,%ecx
mov    %r13,%rdi
mov    $0x1e,%esi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <snprintf@plt>
mov    %rbp,%rdi
mov    $0x200,%esi
mov    %rbp,%rdx
mov    %r13,%rcx
call   1030 <roadmap_path_format@plt>
movzbl %bh,%ecx
lea    0xd2a(%rip),%rdx
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x1e,%esi
xor    %eax,%eax
call   1040 <snprintf@plt>
lea    0x30(%rsp),%rdi
mov    $0x200,%esi
mov    %rdi,%rdx
mov    %rbx,%rcx
call   1030 <roadmap_path_format@plt>
test   %r15d,%r15d
je     1328 <get_tile_filename+0x1e8>
lea    0x30(%rsp),%rdi
call   1050 <roadmap_path_create@plt>
lea    0xcf0(%rip),%rdx
lea    0xcda(%rip),%r9
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x1e,%esi
mov    0xc(%rsp),%r8d
mov    %r14d,%ecx
xor    %eax,%eax
call   1040 <snprintf@plt>
lea    0x2cf7(%rip),%rdi
lea    0x30(%rsp),%rdx
mov    $0x200,%esi
mov    %rbx,%rcx
call   1030 <roadmap_path_format@plt>
lea    0x2cde(%rip),%rax
add    $0x238,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@get_tile_filename.filename = internal global [512 x i8] zeroinitializer
@.str = [6 x i8] c"index\00"
@get_tile_filename.name = internal global [512 x i8] zeroinitializer
@.str.1 = [10 x i8] c"%05d_%s%s\00"
@.str.2 = [5 x i8] c".wdf\00"
@.str.3 = [5 x i8] c"%05d\00"
@.str.4 = [5 x i8] c"%02x\00"
@.str.5 = [12 x i8] c"%05d_%08x%s\00"
define i8* @get_tile_filename(i32 %0, i32 %1, i32 %2) {
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8*
%9 = alloca [30 x i8]
%10 = alloca [512 x i8]
%11 = alloca i8*
store i32 %0, i32* %5
store i32 %1, i32* %6
store i32 %2, i32* %7
%12 = call i8* (...) @roadmap_db_map_path()
store i8* %12, i8** %8
%13 = load i32, i32* %6
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %21
15: ; preds = %3
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8** %11
%16 = load i32, i32* %5
%17 = load i8*, i8** %11
%18 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.name, i64 0, i64 0), i32 512, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 %16, i8* %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%19 = load i8*, i8** %8
%20 = call i32 @roadmap_path_format(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.filename, i64 0, i64 0), i32 512, i8* %19, i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.name, i64 0, i64 0))
store i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.filename, i64 0, i64 0), i8** %4
br label %86
21: ; preds = %3
%22 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%23 = load i32, i32* %5
%24 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %22, i32 512, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 %23)
%25 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%26 = load i8*, i8** %8
%27 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%28 = call i32 @roadmap_path_format(i8* %25, i32 512, i8* %26, i8* %27)
%29 = load i32, i32* %7
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %21
%32 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%33 = call i32 @roadmap_path_create(i8* %32)
br label %34
34: ; preds = %31, %21
%35 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%36 = load i32, i32* %6
%37 = ashr i32 %36, 24
%38 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %35, i32 30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %37)
%39 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%40 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%41 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%42 = call i32 @roadmap_path_format(i8* %39, i32 512, i8* %40, i8* %41)
%43 = load i32, i32* %7
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %34
%46 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%47 = call i32 @roadmap_path_create(i8* %46)
br label %48
48: ; preds = %45, %34
%49 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%50 = load i32, i32* %6
%51 = ashr i32 %50, 16
%52 = and i32 %51, 255
%53 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %49, i32 30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %52)
%54 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%55 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%56 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%57 = call i32 @roadmap_path_format(i8* %54, i32 512, i8* %55, i8* %56)
%58 = load i32, i32* %7
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %48
%61 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%62 = call i32 @roadmap_path_create(i8* %61)
br label %63
63: ; preds = %60, %48
%64 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%65 = load i32, i32* %6
%66 = ashr i32 %65, 8
%67 = and i32 %66, 255
%68 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %64, i32 30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %67)
%69 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%70 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%71 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%72 = call i32 @roadmap_path_format(i8* %69, i32 512, i8* %70, i8* %71)
%73 = load i32, i32* %7
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %63
%76 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%77 = call i32 @roadmap_path_create(i8* %76)
br label %78
78: ; preds = %75, %63
%79 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%80 = load i32, i32* %5
%81 = load i32, i32* %6
%82 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %79, i32 30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %80, i32 %81, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%83 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%84 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%85 = call i32 @roadmap_path_format(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.filename, i64 0, i64 0), i32 512, i8* %83, i8* %84)
store i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.filename, i64 0, i64 0), i8** %4
br label %86
86: ; preds = %78, %15
%87 = load i8*, i8** %4
ret i8* %87
}

LLVM IR (-O2):
@get_tile_filename.filename = internal global [512 x i8] zeroinitializer
@.str = [6 x i8] c"index\00"
@get_tile_filename.name = internal global [512 x i8] zeroinitializer
@.str.1 = [10 x i8] c"%05d_%s%s\00"
@.str.2 = [5 x i8] c".wdf\00"
@.str.3 = [5 x i8] c"%05d\00"
@.str.4 = [5 x i8] c"%02x\00"
@.str.5 = [12 x i8] c"%05d_%08x%s\00"
define i8* @get_tile_filename(i32 %0, i32 %1, i32 %2) {
%4 = alloca [30 x i8]
%5 = alloca [512 x i8]
%6 = tail call i8* (...) @roadmap_db_map_path()
%7 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
%8 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%9 = icmp eq i32 %1, -1
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = tail call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.name, i64 0, i64 0), i32 512, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%12 = tail call i32 @roadmap_path_format(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.filename, i64 0, i64 0), i32 512, i8* %6, i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.name, i64 0, i64 0))
br label %46
13: ; preds = %3
%14 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %8, i32 512, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 %0)
%15 = call i32 @roadmap_path_format(i8* %8, i32 512, i8* %6, i8* %8)
%16 = icmp eq i32 %2, 0
br i1 %16, label %28, label %17
17: ; preds = %13
%18 = call i32 @roadmap_path_create(i8* %8)
%19 = ashr i32 %1, 24
%20 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %7, i32 30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %19)
%21 = call i32 @roadmap_path_format(i8* %8, i32 512, i8* %8, i8* %7)
%22 = call i32 @roadmap_path_create(i8* %8)
%23 = lshr i32 %1, 16
%24 = and i32 %23, 255
%25 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %7, i32 30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %24)
%26 = call i32 @roadmap_path_format(i8* %8, i32 512, i8* %8, i8* %7)
%27 = call i32 @roadmap_path_create(i8* %8)
br label %36
28: ; preds = %13
%29 = ashr i32 %1, 24
%30 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %7, i32 30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %29)
%31 = call i32 @roadmap_path_format(i8* %8, i32 512, i8* %8, i8* %7)
%32 = lshr i32 %1, 16
%33 = and i32 %32, 255
%34 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %7, i32 30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %33)
%35 = call i32 @roadmap_path_format(i8* %8, i32 512, i8* %8, i8* %7)
br label %36
36: ; preds = %28, %17
%37 = lshr i32 %1, 8
%38 = and i32 %37, 255
%39 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %7, i32 30, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %38)
%40 = call i32 @roadmap_path_format(i8* %8, i32 512, i8* %8, i8* %7)
br i1 %16, label %43, label %41
41: ; preds = %36
%42 = call i32 @roadmap_path_create(i8* %8)
br label %43
43: ; preds = %41, %36
%44 = call i32 (i8*, i32, i8*, i32, ...) @snprintf(i8* %7, i32 30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %0, i32 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%45 = call i32 @roadmap_path_format(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.filename, i64 0, i64 0), i32 512, i8* %8, i8* %7)
br label %46
46: ; preds = %43, %10
ret i8* getelementptr inbounds ([512 x i8], [512 x i8]* @get_tile_filename.filename, i64 0, i64 0)
}