// File: kipa00[P]AplusB-mc/compiler/block.cpp
// Function: block_to_string[abi:cxx11](unsigned char)
string block_to_string(byte block) {
	switch (block & BLOCK_ONLY) {
		case AIR: return "air";
		case BEDROCK: return "bedrock";
		case STONE: return "stone";
		case SANDSTONE: return "sandstone";
		case REDSTONE_WIRE: return "redstone_wire";
		case REDSTONE_TORCH:
		case REDSTONE_WALL_TORCH: return "redstone_torch";
		case COMPARATOR: return "comparator";
		case REPEATER:
		case REPEATER | 16: return "repeater";
		case REDSTONE_LAMP: return "redstone_lamp";
		case LEVER: return "lever";
		case CONCRETE: return "concrete";
	}
	return "unknown";
}

// Assembly:
subq $0xa8, %rsp
movq %rdi, 0x68(%rsp)
movb %sil, %al
movq %rdi, %rcx
movq %rcx, 0x70(%rsp)
movq %rdi, 0xa0(%rsp)
movb %al, 0x9f(%rsp)
movzbl 0x9f(%rsp), %eax
andl $0xf0, %eax
movl %eax, 0x7c(%rsp)
je 0x125a0
jmp 0x124df
movl 0x7c(%rsp), %eax
subl $0x10, %eax
je 0x12602
jmp 0x124ee
movl 0x7c(%rsp), %eax
subl $0x20, %eax
je 0x12664
jmp 0x124fd
movl 0x7c(%rsp), %eax
subl $0x30, %eax
je 0x126c6
jmp 0x1250c
movl 0x7c(%rsp), %eax
subl $0x40, %eax
je 0x12728
jmp 0x1251b
movl 0x7c(%rsp), %eax
subl $0x50, %eax
je 0x1278a
jmp 0x1252a
movl 0x7c(%rsp), %eax
subl $0x60, %eax
je 0x1278a
jmp 0x12539
movl 0x7c(%rsp), %eax
subl $0x70, %eax
je 0x127ec
jmp 0x12548
movl 0x7c(%rsp), %eax
subl $0x80, %eax
je 0x1284e
jmp 0x12559
movl 0x7c(%rsp), %eax
subl $0x90, %eax
je 0x1284e
jmp 0x1256a
movl 0x7c(%rsp), %eax
subl $0xa0, %eax
je 0x128b0
jmp 0x1257b
movl 0x7c(%rsp), %eax
subl $0xb0, %eax
je 0x12912
jmp 0x1258c
movl 0x7c(%rsp), %eax
subl $0xc0, %eax
je 0x12974
jmp 0x129d0
leaq 0x9e(%rsp), %rdi
movq %rdi, 0x60(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x60(%rsp), %rdx
leaq 0xd9d(%rip), %rsi       # 0x13360
callq 0x4760
jmp 0x125ca
leaq 0x9e(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x9e(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x8b(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %rdx
leaq 0xd49(%rip), %rsi       # 0x1336e
callq 0x4760
jmp 0x1262c
leaq 0x8b(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x8b(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x8a(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x50(%rsp), %rdx
leaq 0xcf9(%rip), %rsi       # 0x13380
callq 0x4760
jmp 0x1268e
leaq 0x8a(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x8a(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x89(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x48(%rsp), %rdx
leaq 0xca7(%rip), %rsi       # 0x13390
callq 0x4760
jmp 0x126f0
leaq 0x89(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x89(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x88(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x40(%rsp), %rdx
leaq 0xc59(%rip), %rsi       # 0x133a4
callq 0x4760
jmp 0x12752
leaq 0x88(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x87(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x38(%rsp), %rdx
leaq 0xc0f(%rip), %rsi       # 0x133bc
callq 0x4760
jmp 0x127b4
leaq 0x87(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x87(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x86(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x30(%rsp), %rdx
leaq 0xbf7(%rip), %rsi       # 0x13406
callq 0x4760
jmp 0x12816
leaq 0x86(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x86(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x85(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x28(%rsp), %rdx
leaq 0xb82(%rip), %rsi       # 0x133f3
callq 0x4760
jmp 0x12878
leaq 0x85(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x85(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x84(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x20(%rsp), %rdx
leaq 0xb48(%rip), %rsi       # 0x1341b
callq 0x4760
jmp 0x128da
leaq 0x84(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x84(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x83(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x18(%rsp), %rdx
leaq 0xafe(%rip), %rsi       # 0x13433
callq 0x4760
jmp 0x1293c
leaq 0x83(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x83(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x82(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x10(%rsp), %rdx
leaq 0xaae(%rip), %rsi       # 0x13445
callq 0x4760
jmp 0x1299e
leaq 0x82(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x82(%rsp), %rdi
callq 0x2200
jmp 0x12a39
leaq 0x81(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x2310
movq 0x68(%rsp), %rdi
movq 0x8(%rsp), %rdx
leaq 0x12b5(%rip), %rsi      # 0x13ca8
callq 0x4760
jmp 0x129fa
leaq 0x81(%rsp), %rdi
callq 0x2200
jmp 0x12a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x90(%rsp)
movl %eax, 0x8c(%rsp)
leaq 0x81(%rsp), %rdi
callq 0x2200
jmp 0x12a39
movq 0x70(%rsp), %rax
addq $0xa8, %rsp
retq
movq 0x90(%rsp), %rdi
callq 0x2300
nopw %cs:(%rax,%rax)