// File: /workspace/github_cpp_makefile_star2_O1/rossy[P]crossc/SPIRV-Cross/spirv_msl.cpp
// Function: spirv_cross::CompilerMSL::build_implicit_builtins()
void CompilerMSL::build_implicit_builtins()
{
	bool need_sample_pos = active_input_builtins.get(BuiltInSamplePosition);
	if (need_subpass_input || need_sample_pos)
	{
		bool has_frag_coord = false;
		bool has_sample_id = false;

		for (auto &id : ir.ids)
		{
			if (id.get_type() != TypeVariable)
				continue;

			auto &var = id.get<SPIRVariable>();

			if (need_subpass_input && var.storage == StorageClassInput && ir.meta[var.self].decoration.builtin &&
			    ir.meta[var.self].decoration.builtin_type == BuiltInFragCoord)
			{
				builtin_frag_coord_id = var.self;
				has_frag_coord = true;
				break;
			}

			if (need_sample_pos && var.storage == StorageClassInput && ir.meta[var.self].decoration.builtin &&
			    ir.meta[var.self].decoration.builtin_type == BuiltInSampleId)
			{
				builtin_sample_id_id = var.self;
				has_sample_id = true;
				break;
			}
		}

		if (!has_frag_coord && need_subpass_input)
		{
			uint32_t offset = ir.increase_bound_by(3);
			uint32_t type_id = offset;
			uint32_t type_ptr_id = offset + 1;
			uint32_t var_id = offset + 2;

			// Create gl_FragCoord.
			SPIRType vec4_type;
			vec4_type.basetype = SPIRType::Float;
			vec4_type.width = 32;
			vec4_type.vecsize = 4;
			set<SPIRType>(type_id, vec4_type);

			SPIRType vec4_type_ptr;
			vec4_type_ptr = vec4_type;
			vec4_type_ptr.pointer = true;
			vec4_type_ptr.parent_type = type_id;
			vec4_type_ptr.storage = StorageClassInput;
			auto &ptr_type = set<SPIRType>(type_ptr_id, vec4_type_ptr);
			ptr_type.self = type_id;

			set<SPIRVariable>(var_id, type_ptr_id, StorageClassInput);
			set_decoration(var_id, DecorationBuiltIn, BuiltInFragCoord);
			builtin_frag_coord_id = var_id;
		}

		if (!has_sample_id && need_sample_pos)
		{
			uint32_t offset = ir.increase_bound_by(3);
			uint32_t type_id = offset;
			uint32_t type_ptr_id = offset + 1;
			uint32_t var_id = offset + 2;

			// Create gl_SampleID.
			SPIRType uint_type;
			uint_type.basetype = SPIRType::UInt;
			uint_type.width = 32;
			set<SPIRType>(type_id, uint_type);

			SPIRType uint_type_ptr;
			uint_type_ptr = uint_type;
			uint_type_ptr.pointer = true;
			uint_type_ptr.parent_type = type_id;
			uint_type_ptr.storage = StorageClassInput;
			auto &ptr_type = set<SPIRType>(type_ptr_id, uint_type_ptr);
			ptr_type.self = type_id;

			set<SPIRVariable>(var_id, type_ptr_id, StorageClassInput);
			set_decoration(var_id, DecorationBuiltIn, BuiltInSampleId);
			builtin_sample_id_id = var_id;
		}
	}

	if (msl_options.swizzle_texture_samples && has_sampled_images)
	{
		uint32_t offset = ir.increase_bound_by(5);
		uint32_t type_id = offset;
		uint32_t type_arr_id = offset + 1;
		uint32_t struct_id = offset + 2;
		uint32_t struct_ptr_id = offset + 3;
		uint32_t var_id = offset + 4;

		// Create a buffer to hold the swizzle constants.
		SPIRType uint_type;
		uint_type.basetype = SPIRType::UInt;
		uint_type.width = 32;
		set<SPIRType>(type_id, uint_type);

		SPIRType uint_type_arr = uint_type;
		uint_type_arr.array.push_back(0);
		uint_type_arr.array_size_literal.push_back(true);
		uint_type_arr.parent_type = type_id;
		set<SPIRType>(type_arr_id, uint_type_arr);
		set_decoration(type_arr_id, DecorationArrayStride, 4);

		SPIRType struct_type;
		struct_type.basetype = SPIRType::Struct;
		struct_type.member_types.push_back(type_arr_id);
		auto &type = set<SPIRType>(struct_id, struct_type);
		type.self = struct_id;
		set_decoration(struct_id, DecorationBlock);
		set_name(struct_id, "spvAux");
		set_member_name(struct_id, 0, "swizzleConst");
		set_member_decoration(struct_id, 0, DecorationOffset, 0);

		SPIRType struct_type_ptr = struct_type;
		struct_type_ptr.pointer = true;
		struct_type_ptr.parent_type = struct_id;
		struct_type_ptr.storage = StorageClassUniform;
		auto &ptr_type = set<SPIRType>(struct_ptr_id, struct_type_ptr);
		ptr_type.self = struct_id;

		set<SPIRVariable>(var_id, struct_ptr_id, StorageClassUniform);
		set_name(var_id, "spvAuxBuffer");
		// This should never match anything.
		set_decoration(var_id, DecorationDescriptorSet, 0xFFFFFFFE);
		set_decoration(var_id, DecorationBinding, msl_options.aux_buffer_index);
		aux_buffer_id = var_id;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x398, %rsp            # imm = 0x398
movq %rdi, %rbx
movq 0x2d0(%rdi), %r12
btl $0x13, %r12d
jb 0x87c57
cmpb $0x0, 0x398(%rbx)
je 0x8839b
movq 0x20(%rbx), %r14
movq 0x28(%rbx), %r15
cmpq %r15, %r14
je 0x87d1d
xorl %ebp, %ebp
xorl %r13d, %r13d
movl $0x3, %ecx
cmpl $0x2, 0x8(%r14)
jne 0x87d05
movq %r14, %rdi
callq 0xb2e2
movl 0x10(%rax), %edx
cmpb $0x1, 0x398(%rbx)
jne 0x87cc5
cmpl $0x1, %edx
jne 0x87cc5
movl 0x8(%rax), %ecx
movq 0x38(%rbx), %rsi
imulq $0x148, %rcx, %rdi      # imm = 0x148
cmpb $0x1, 0xcc(%rsi,%rdi)
jne 0x87cc5
addq %rdi, %rsi
cmpl $0xf, 0xa0(%rsi)
jne 0x87cc5
movl %ecx, 0x7c0(%rbx)
movb $0x1, %bpl
jmp 0x87d00
xorl %ecx, %ecx
btl $0x13, %r12d
jae 0x87d05
cmpl $0x1, %edx
jne 0x87d05
movl 0x8(%rax), %eax
movq 0x38(%rbx), %rdx
imulq $0x148, %rax, %rsi      # imm = 0x148
cmpb $0x1, 0xcc(%rdx,%rsi)
jne 0x87d05
addq %rsi, %rdx
cmpl $0x12, 0xa0(%rdx)
jne 0x87d05
movl %eax, 0x7c4(%rbx)
movb $0x1, %r13b
movl $0x2, %ecx
cmpl $0x3, %ecx
je 0x87d0e
testl %ecx, %ecx
jne 0x87d22
addq $0x10, %r14
cmpq %r15, %r14
jne 0x87c6d
jmp 0x87d22
xorl %r13d, %r13d
xorl %ebp, %ebp
leaq 0x8(%rbx), %rdi
testb $0x1, %bpl
jne 0x8806a
cmpb $0x1, 0x398(%rbx)
jne 0x8806a
movq %rdi, 0x1c0(%rsp)
movl $0x3, %esi
callq 0x2561c
movl %eax, %r15d
leal 0x1(%r15), %eax
movl %eax, 0x2c0(%rsp)
xorl %ebp, %ebp
leaq 0x1b8(%rsp), %rax
movl %ebp, -0xc8(%rax)
leaq 0x7563c(%rip), %r14     # 0xfd3b0
addq $0x10, %r14
movq %r14, -0xd0(%rax)
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, -0xbc(%rax)
movq %rbp, -0x88(%rax)
movl %ebp, -0x80(%rax)
movq %rbp, -0x78(%rax)
movb $0x0, -0x70(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0xb0(%rax)
movups %xmm0, -0xa0(%rax)
movl %ebp, -0x90(%rax)
movl $0x8, -0x6c(%rax)
movups %xmm0, -0x68(%rax)
movq %rbp, -0x58(%rax)
movq %rbp, -0x38(%rax)
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movabsq $0x200000000a, %rcx     # imm = 0x200000000A
movq %rcx, -0xc4(%rax)
movl $0x4, -0xbc(%rax)
leaq 0xe8(%rsp), %rdx
movq %rbx, %rdi
movl %r15d, %esi
callq 0x7cf58
leaq 0xf4(%rsp), %rax
leaq 0x108(%rsp), %rsi
leaq 0x30(%rsp), %rdi
movl %ebp, -0x18(%rdi)
movq %r14, -0x20(%rdi)
movaps 0x2ddc8(%rip), %xmm0    # 0xb5c00
movups %xmm0, -0x14(%rdi)
movq %rbp, 0x28(%rdi)
movl %ebp, 0x30(%rdi)
movq %rbp, 0x38(%rdi)
movb $0x0, 0x40(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movups %xmm0, 0x10(%rdi)
movl %ebp, 0x20(%rdi)
movl $0x8, 0x44(%rdi)
movups %xmm0, 0x48(%rdi)
movq %rbp, 0x58(%rdi)
movq %rbp, 0x78(%rdi)
leaq 0xe0(%rsp), %rcx
movq %rcx, -0x30(%rcx)
movq $0x1, -0x28(%rcx)
movups %xmm0, -0x20(%rcx)
movl $0x3f800000, -0x10(%rcx) # imm = 0x3F800000
movups %xmm0, -0x8(%rcx)
movl -0x18(%rsi), %ecx
movl %ecx, -0x18(%rdi)
movups (%rax), %xmm0
movups %xmm0, -0x14(%rdi)
callq 0x1c2c2
leaq 0x48(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x1c398
leaq 0x150(%rsp), %rsi
leaq 0x78(%rsp), %rdi
movq -0x8(%rsi), %rax
movq %rax, -0x8(%rdi)
callq 0x1c2c2
leaq 0x188(%rsp), %rsi
leaq 0xb0(%rsp), %rdi
movups -0x20(%rsi), %xmm0
movups -0x10(%rsi), %xmm1
movups %xmm1, -0x10(%rdi)
movups %xmm0, -0x20(%rdi)
callq 0xd5d6
leaq 0x10(%rsp), %rdx
movb $0x1, 0x60(%rdx)
movl %r15d, 0x9c(%rdx)
movl $0x1, 0x64(%rdx)
movl 0x2c0(%rsp), %esi
movq %rbx, %rdi
callq 0x7cf58
movl %r15d, %ebp
addl $0x2, %ebp
movl %r15d, 0x8(%rax)
leaq 0x1e8(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x2c0(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7cf9a
movq %rbx, %rdi
movl %ebp, %esi
movl $0xb, %edx
movl $0xf, %ecx
callq 0x14ea4
movl %ebp, 0x7c0(%rbx)
movq %r14, 0x10(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0xdeb6
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x87f87
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x87fb7
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movl %eax, 0x50(%rsp)
movq %rax, 0x58(%rsp)
movl %eax, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x87fce
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %r14, 0xe8(%rsp)
leaq 0x188(%rsp), %rdi
callq 0xdeb6
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0x88000
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x88045
movq 0x140(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x120(%rsp)
movl %eax, 0x128(%rsp)
movq %rax, 0x130(%rsp)
movl %eax, 0x138(%rsp)
movq %rax, 0x140(%rsp)
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x88062
movq 0x118(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x1c0(%rsp), %rdi
btl $0x13, %r12d
setae %al
orb %al, %r13b
testb $0x1, %r13b
jne 0x8839b
movl $0x3, %esi
callq 0x2561c
movl %eax, %r14d
leal 0x1(%r14), %eax
movl %eax, 0x2c0(%rsp)
xorl %r15d, %r15d
leaq 0x1b8(%rsp), %rax
movl %r15d, -0xc8(%rax)
leaq 0x75300(%rip), %r13     # 0xfd3b0
addq $0x10, %r13
movq %r13, -0xd0(%rax)
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, -0xbc(%rax)
movq %r15, -0x88(%rax)
movl %r15d, -0x80(%rax)
movq %r15, -0x78(%rax)
movb $0x0, -0x70(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0xb0(%rax)
movups %xmm0, -0xa0(%rax)
movl %r15d, -0x90(%rax)
movl $0x8, -0x6c(%rax)
movups %xmm0, -0x68(%rax)
movq %r15, -0x58(%rax)
movq %r15, -0x38(%rax)
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movabsq $0x2000000005, %rcx     # imm = 0x2000000005
movq %rcx, -0xc4(%rax)
leaq 0xe8(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x7cf58
leaq 0xf4(%rsp), %rax
leaq 0x108(%rsp), %rsi
leaq 0x30(%rsp), %rdi
movl %r15d, -0x18(%rdi)
movq %r13, -0x20(%rdi)
movaps 0x2da93(%rip), %xmm0    # 0xb5c00
movups %xmm0, -0x14(%rdi)
movq %r15, 0x28(%rdi)
movl %r15d, 0x30(%rdi)
movq %r15, 0x38(%rdi)
movb $0x0, 0x40(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movups %xmm0, 0x10(%rdi)
movl %r15d, 0x20(%rdi)
movl $0x8, 0x44(%rdi)
movups %xmm0, 0x48(%rdi)
movq %r15, 0x58(%rdi)
movq %r15, 0x78(%rdi)
leaq 0xe0(%rsp), %rcx
movq %rcx, -0x30(%rcx)
movq $0x1, -0x28(%rcx)
movups %xmm0, -0x20(%rcx)
movl $0x3f800000, -0x10(%rcx) # imm = 0x3F800000
movups %xmm0, -0x8(%rcx)
movl -0x18(%rsi), %ecx
movl %ecx, -0x18(%rdi)
movups (%rax), %xmm0
movups %xmm0, -0x14(%rdi)
callq 0x1c2c2
leaq 0x48(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x1c398
leaq 0x150(%rsp), %rsi
leaq 0x78(%rsp), %rdi
movq -0x8(%rsi), %rax
movq %rax, -0x8(%rdi)
callq 0x1c2c2
leaq 0x188(%rsp), %r15
leaq 0xb0(%rsp), %r12
movups -0x20(%r15), %xmm0
movups -0x10(%r15), %xmm1
movups %xmm1, -0x10(%r12)
movups %xmm0, -0x20(%r12)
movq %r12, %rdi
movq %r15, %rsi
callq 0xd5d6
leaq 0x10(%rsp), %rdx
movb $0x1, 0x60(%rdx)
movl %r14d, 0x9c(%rdx)
movl $0x1, 0x64(%rdx)
movl 0x2c0(%rsp), %esi
movq %rbx, %rdi
callq 0x7cf58
movl %r14d, %ebp
addl $0x2, %ebp
movl %r14d, 0x8(%rax)
leaq 0x1e8(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x2c0(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7cf9a
movq %rbx, %rdi
movl %ebp, %esi
movl $0xb, %edx
movl $0x12, %ecx
callq 0x14ea4
movl %ebp, 0x7c4(%rbx)
movq %r13, 0x10(%rsp)
movq %r12, %rdi
callq 0xdeb6
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x882c5
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x882f5
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movl %eax, 0x50(%rsp)
movq %rax, 0x58(%rsp)
movl %eax, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x8830c
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %r13, 0xe8(%rsp)
movq %r15, %rdi
callq 0xdeb6
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0x88339
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x8837e
movq 0x140(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x120(%rsp)
movl %eax, 0x128(%rsp)
movq %rax, 0x130(%rsp)
movl %eax, 0x138(%rsp)
movq %rax, 0x140(%rsp)
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x8839b
movq 0x118(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
cmpb $0x1, 0x7df(%rbx)
jne 0x889c7
cmpb $0x1, 0x934(%rbx)
jne 0x889c7
leaq 0x8(%rbx), %rdi
movl $0x5, %esi
callq 0x2561c
movl %eax, %r14d
leal 0x1(%r14), %eax
movl %eax, 0x8(%rsp)
leal 0x3(%r14), %eax
movl %eax, 0xc(%rsp)
xorl %eax, %eax
leaq 0x1b8(%rsp), %rcx
movl %eax, -0xc8(%rcx)
leaq 0x74fc3(%rip), %r15     # 0xfd3b0
addq $0x10, %r15
movq %r15, -0xd0(%rcx)
movabsq $0x100000001, %rdx      # imm = 0x100000001
movq %rdx, -0xbc(%rcx)
movq %rax, -0x88(%rcx)
movl %eax, -0x80(%rcx)
movq %rax, -0x78(%rcx)
movb $0x0, -0x70(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0xb0(%rcx)
movups %xmm0, -0xa0(%rcx)
movl %eax, -0x90(%rcx)
movl $0x8, -0x6c(%rcx)
movups %xmm0, -0x68(%rcx)
movq %rax, -0x58(%rcx)
movq %rax, -0x38(%rcx)
movq %rcx, -0x30(%rcx)
movq $0x1, -0x28(%rcx)
movups %xmm0, -0x20(%rcx)
movl $0x3f800000, -0x10(%rcx) # imm = 0x3F800000
movups %xmm0, -0x8(%rcx)
movabsq $0x2000000005, %rax     # imm = 0x2000000005
movq %rax, -0xc4(%rcx)
leaq 0xe8(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x7cf58
leaq 0x10(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x1f216
movl $0x0, 0x2c0(%rsp)
movq 0x38(%rsp), %rsi
cmpq 0x40(%rsp), %rsi
je 0x884be
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x38(%rsp)
jmp 0x884d0
leaq 0x30(%rsp), %rdi
leaq 0x2c0(%rsp), %rdx
callq 0xa86dc
leaq 0x48(%rsp), %rdi
movl $0x1, %esi
callq 0xa3eb2
leaq 0x10(%rsp), %rdx
movl %r14d, 0x9c(%rdx)
movl 0x8(%rsp), %esi
movq %rbx, %rdi
callq 0x7cf58
movl 0x8(%rsp), %esi
movq %rbx, %rdi
movl $0x6, %edx
movl $0x4, %ecx
callq 0x14ea4
xorl %eax, %eax
leaq 0x390(%rsp), %rcx
movl %eax, -0xc8(%rcx)
movq %r15, -0xd0(%rcx)
movaps 0x2d6d5(%rip), %xmm0    # 0xb5c00
movups %xmm0, -0xc4(%rcx)
movq %rax, -0x88(%rcx)
movl %eax, -0x80(%rcx)
movq %rax, -0x78(%rcx)
movb $0x0, -0x70(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0xb0(%rcx)
movups %xmm0, -0xa0(%rcx)
movl %eax, -0x90(%rcx)
movl $0x8, -0x6c(%rcx)
movups %xmm0, -0x68(%rcx)
movq %rax, -0x58(%rcx)
movq %rax, -0x38(%rcx)
movq %rcx, -0x30(%rcx)
movq $0x1, -0x28(%rcx)
movups %xmm0, -0x20(%rcx)
movl $0x3f800000, -0x10(%rcx) # imm = 0x3F800000
movups %xmm0, -0x8(%rcx)
movl $0xc, -0xc4(%rcx)
movq -0x60(%rcx), %rsi
cmpq -0x58(%rcx), %rsi
je 0x885b1
movl 0x8(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x330(%rsp)
jmp 0x885c3
leaq 0x328(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x7a00
leal 0x2(%r14), %ebp
leaq 0x2c0(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7cf58
movl %ebp, 0x8(%rax)
movq %rbx, %rdi
movl %ebp, %esi
movl $0x2, %edx
xorl %ecx, %ecx
callq 0x14ea4
leaq 0x1f8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x38b71(%rip), %rsi     # 0xc1172
leaq 0x38b70(%rip), %rdx     # 0xc1178
leaq 0x1e8(%rsp), %rdi
callq 0x7c64
leaq 0x1e8(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x14bd2
movq 0x1e8(%rsp), %rdi
cmpq %r12, %rdi
je 0x88644
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x1e8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x38b23(%rip), %rsi     # 0xc1179
leaq 0x38b28(%rip), %rdx     # 0xc1185
callq 0x7c64
leaq 0x1e8(%rsp), %rcx
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x14ce0
movq 0x1e8(%rsp), %rdi
cmpq %r12, %rdi
je 0x88693
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
movl $0x23, %ecx
xorl %r8d, %r8d
callq 0x14cd6
leaq 0x1e8(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0x1f216
leaq 0x1e8(%rsp), %rdx
movb $0x1, 0x60(%rdx)
movl %ebp, 0x9c(%rdx)
movl $0x2, 0x64(%rdx)
movl 0xc(%rsp), %esi
movq %rbx, %rdi
callq 0x7cf58
addl $0x4, %r14d
movl %ebp, 0x8(%rax)
leaq 0x1c8(%rsp), %rcx
movl $0x2, (%rcx)
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x7cf9a
leaq 0x1d8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x38a6c(%rip), %rsi     # 0xc1186
leaq 0x38a71(%rip), %rdx     # 0xc1192
leaq 0x1c8(%rsp), %rdi
callq 0x7c64
leaq 0x1c8(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x14bd2
movq 0x1c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8875e
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
movl %r14d, %esi
movl $0x22, %edx
movl $0xfffffffe, %ecx       # imm = 0xFFFFFFFE
callq 0x14ea4
movl 0x7d8(%rbx), %ecx
movq %rbx, %rdi
movl %r14d, %esi
movl $0x21, %edx
callq 0x14ea4
movl %r14d, 0x7c8(%rbx)
leaq 0x288(%rsp), %rbx
movq %r15, -0xa0(%rbx)
movq %rbx, %rdi
callq 0xdeb6
movq -0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x887c0
movq 0x260(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x220(%rsp), %rdi
testq %rdi, %rdi
je 0x88805
movq 0x240(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x220(%rsp)
movl %eax, 0x228(%rsp)
movq %rax, 0x230(%rsp)
movl %eax, 0x238(%rsp)
movq %rax, 0x240(%rsp)
leaq 0x360(%rsp), %rbx
movq 0x208(%rsp), %rdi
testq %rdi, %rdi
je 0x8882a
movq 0x218(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %r15, 0x2c0(%rsp)
movq %rbx, %rdi
callq 0xdeb6
movq 0x328(%rsp), %rdi
testq %rdi, %rdi
je 0x88857
movq 0x338(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x2f8(%rsp), %rdi
testq %rdi, %rdi
je 0x8889c
movq 0x318(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x2f8(%rsp)
movl %eax, 0x300(%rsp)
movq %rax, 0x308(%rsp)
movl %eax, 0x310(%rsp)
movq %rax, 0x318(%rsp)
movq 0x2e0(%rsp), %rdi
testq %rdi, %rdi
je 0x888b9
movq 0x2f0(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
leaq 0xb0(%rsp), %rbx
movq %r15, -0xa0(%rbx)
movq %rbx, %rdi
callq 0xdeb6
movq -0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x888e9
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x88919
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movl %eax, 0x50(%rsp)
movq %rax, 0x58(%rsp)
movl %eax, 0x60(%rsp)
movq %rax, 0x68(%rsp)
leaq 0x188(%rsp), %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x88938
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %r15, 0xe8(%rsp)
movq %rbx, %rdi
callq 0xdeb6
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0x88965
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x889aa
movq 0x140(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x120(%rsp)
movl %eax, 0x128(%rsp)
movq %rax, 0x130(%rsp)
movl %eax, 0x138(%rsp)
movq %rax, 0x140(%rsp)
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x889c7
movq 0x118(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
addq $0x398, %rsp            # imm = 0x398
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x88a5a
jmp 0x88a6e
jmp 0x88a6e
jmp 0x88a3f
movq %rax, %rbx
movq 0x1c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x88a4b
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x88a4b
jmp 0x88a48
jmp 0x88a48
jmp 0x88a5a
jmp 0x88a13
jmp 0x88a5a
movq %rax, %rbx
movq 0x1e8(%rsp), %rdi
cmpq %r12, %rdi
je 0x88a5d
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x88a5d
jmp 0x88a5a
jmp 0x88a6e
jmp 0x88a6e
jmp 0x88a3f
jmp 0x88a3f
movq %rax, %rbx
jmp 0x88a7b
jmp 0x88a6e
jmp 0x88a6e
movq %rax, %rbx
leaq 0x1e8(%rsp), %rdi
callq 0x1c438
jmp 0x88a5d
movq %rax, %rbx
leaq 0x2c0(%rsp), %rdi
callq 0x1c438
jmp 0x88a71
jmp 0x88a6e
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x1c438
leaq 0xe8(%rsp), %rdi
callq 0x1c438
movq %rbx, %rdi
callq 0x64a0