// File: /workspace/github_cpp_makefile_star2_O3/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), %r14
btl $0x13, %r14d
setae %al
movb 0x398(%rdi), %cl
movl %ecx, %edx
xorb $0x1, %dl
testb %dl, %al
jne 0x87772
leaq 0x8(%rbx), %r13
movq 0x20(%rbx), %r15
movq 0x28(%rbx), %r12
cmpq %r12, %r15
je 0x8711f
cmpl $0x2, 0x8(%r15)
jne 0x87116
movq %r15, %rdi
callq 0xb2a4
movb 0x398(%rbx), %cl
movl 0x10(%rax), %edx
cmpb $0x1, %cl
jne 0x870e2
cmpl $0x1, %edx
jne 0x870e2
movl 0x8(%rax), %esi
movq 0x38(%rbx), %rdi
imulq $0x148, %rsi, %r8       # imm = 0x148
cmpb $0x1, 0xcc(%rdi,%r8)
jne 0x870e2
addq %r8, %rdi
cmpl $0xf, 0xa0(%rdi)
je 0x87d8e
btl $0x13, %r14d
jae 0x87116
cmpl $0x1, %edx
jne 0x87116
movl 0x8(%rax), %eax
movq 0x38(%rbx), %rdx
imulq $0x148, %rax, %rsi      # imm = 0x148
cmpb $0x1, 0xcc(%rdx,%rsi)
jne 0x87116
addq %rsi, %rdx
cmpl $0x12, 0xa0(%rdx)
je 0x87d9b
addq $0x10, %r15
jmp 0x8708e
xorl %eax, %eax
testb $0x1, %cl
je 0x87450
movl %eax, 0xc(%rsp)
movq %r13, 0x1c0(%rsp)
movq %r13, %rdi
movl $0x3, %esi
callq 0x24f8a
movl %eax, %r15d
leal 0x1(%r15), %eax
movl %eax, 0x2c0(%rsp)
xorl %r13d, %r13d
leaq 0xe0(%rsp), %rax
movl %r13d, -0xc8(%rax)
leaq 0x75276(%rip), %r12     # 0xfc3e0
addq $0x10, %r12
movq %r12, -0xd0(%rax)
movl $0x1, -0xb8(%rax)
movq %r13, -0x88(%rax)
movl %r13d, -0x80(%rax)
movq %r13, -0x78(%rax)
movb $0x0, -0x70(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0xb0(%rax)
movups %xmm0, -0xa0(%rax)
movl %r13d, -0x90(%rax)
movl $0x8, -0x6c(%rax)
movups %xmm0, -0x68(%rax)
movq %r13, -0x58(%rax)
movq %r13, -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 0x10(%rsp), %rdx
movq %rbx, %rdi
movl %r15d, %esi
callq 0x7c44c
leaq 0x1c(%rsp), %rax
leaq 0x30(%rsp), %rsi
leaq 0x108(%rsp), %rdi
movq %r12, -0x20(%rdi)
movq %r13, 0x28(%rdi)
movl %r13d, 0x30(%rdi)
movq %r13, 0x38(%rdi)
movb $0x0, 0x40(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movups %xmm0, 0x10(%rdi)
movl %r13d, 0x20(%rdi)
movl $0x8, 0x44(%rdi)
movups %xmm0, 0x48(%rdi)
movq %r13, 0x58(%rdi)
movq %r13, 0x78(%rdi)
leaq 0x1b8(%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 0x1bc64
leaq 0x120(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1bd48
leaq 0x78(%rsp), %rsi
leaq 0x150(%rsp), %rdi
movq -0x8(%rsi), %rax
movq %rax, -0x8(%rdi)
callq 0x1bc64
leaq 0xb0(%rsp), %rsi
leaq 0x188(%rsp), %r13
movups -0x20(%rsi), %xmm0
movups -0x10(%rsi), %xmm1
movups %xmm1, -0x10(%r13)
movups %xmm0, -0x20(%r13)
movq %r13, %rdi
callq 0xd596
leaq 0xe8(%rsp), %rdx
movb $0x1, 0x60(%rdx)
movl %r15d, 0x9c(%rdx)
movl $0x1, 0x64(%rdx)
movl 0x2c0(%rsp), %esi
movq %rbx, %rdi
callq 0x7c44c
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 0x7c48e
movq %rbx, %rdi
movl %ebp, %esi
movl $0xb, %edx
movl $0xf, %ecx
callq 0x14d16
movl %ebp, 0x7c0(%rbx)
movq %r12, 0xe8(%rsp)
movq %r13, %rdi
callq 0xde80
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0x8736f
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
movq 0x1c0(%rsp), %r13
je 0x873bc
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 0x873d9
movq 0x118(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %r12, 0x10(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0xde80
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x87405
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x87435
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 0x8744c
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movl 0xc(%rsp), %eax
testb %al, %al
jne 0x87772
andl $0x80000, %r14d         # imm = 0x80000
je 0x87772
movq %r13, %rdi
movl $0x3, %esi
callq 0x24f8a
movl %eax, %r14d
leal 0x1(%r14), %eax
movl %eax, 0x2c0(%rsp)
xorl %r15d, %r15d
leaq 0xe0(%rsp), %rax
movl %r15d, -0xc8(%rax)
leaq 0x74f47(%rip), %r13     # 0xfc3e0
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 0x10(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x7c44c
leaq 0x1c(%rsp), %rax
leaq 0x30(%rsp), %rsi
leaq 0x108(%rsp), %rdi
movq %r13, -0x20(%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 0x1b8(%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 0x1bc64
leaq 0x120(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1bd48
leaq 0x78(%rsp), %rsi
leaq 0x150(%rsp), %rdi
movq -0x8(%rsi), %rax
movq %rax, -0x8(%rdi)
callq 0x1bc64
leaq 0xb0(%rsp), %r15
leaq 0x188(%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 0xd596
leaq 0xe8(%rsp), %rdx
movb $0x1, 0x60(%rdx)
movl %r14d, 0x9c(%rdx)
movl $0x1, 0x64(%rdx)
movl 0x2c0(%rsp), %esi
movq %rbx, %rdi
callq 0x7c44c
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 0x7c48e
movq %rbx, %rdi
movl %ebp, %esi
movl $0xb, %edx
movl $0x12, %ecx
callq 0x14d16
movl %ebp, 0x7c4(%rbx)
movq %r13, 0xe8(%rsp)
movq %r12, %rdi
callq 0xde80
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0x876a2
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x876e7
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 0x87704
movq 0x118(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %r13, 0x10(%rsp)
movq %r15, %rdi
callq 0xde80
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x8772b
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x8775b
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 0x87772
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
cmpb $0x1, 0x7df(%rbx)
jne 0x87d7c
cmpb $0x1, 0x934(%rbx)
jne 0x87d7c
leaq 0x8(%rbx), %rdi
movl $0x5, %esi
callq 0x24f8a
movl %eax, %r14d
leal 0x1(%r14), %eax
movl %eax, 0x4(%rsp)
leal 0x3(%r14), %eax
movl %eax, 0x8(%rsp)
xorl %eax, %eax
leaq 0xe0(%rsp), %rcx
movl %eax, -0xc8(%rcx)
leaq 0x74c1c(%rip), %r15     # 0xfc3e0
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 0x10(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x7c44c
leaq 0xe8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1eafa
movl $0x0, 0x2c0(%rsp)
movq 0x110(%rsp), %rsi
cmpq 0x118(%rsp), %rsi
je 0x8789b
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x110(%rsp)
jmp 0x878b0
leaq 0x108(%rsp), %rdi
leaq 0x2c0(%rsp), %rdx
callq 0xa7798
leaq 0x120(%rsp), %rdi
movl $0x1, %esi
callq 0xa2fa6
leaq 0xe8(%rsp), %rdx
movl %r14d, 0x9c(%rdx)
movl 0x4(%rsp), %esi
movq %rbx, %rdi
callq 0x7c44c
movl 0x4(%rsp), %esi
movq %rbx, %rdi
movl $0x6, %edx
movl $0x4, %ecx
callq 0x14d16
xorl %eax, %eax
leaq 0x328(%rsp), %rdi
movl %eax, -0x60(%rdi)
movq %r15, -0x68(%rdi)
movabsq $0x100000000, %rcx      # imm = 0x100000000
movq %rcx, -0x58(%rdi)
movl $0x1, -0x50(%rdi)
movq %rax, -0x20(%rdi)
movl %eax, -0x18(%rdi)
movq %rax, -0x10(%rdi)
movb $0x0, -0x8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, -0x48(%rdi)
movups %xmm0, -0x38(%rdi)
movl %eax, -0x28(%rdi)
movl $0x8, -0x4(%rdi)
movups %xmm0, (%rdi)
movq %rax, 0x10(%rdi)
movq %rax, 0x30(%rdi)
leaq 0x390(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movl $0xc, -0x5c(%rdi)
leaq 0x4(%rsp), %rdx
xorl %esi, %esi
callq 0x797e
leal 0x2(%r14), %ebp
leaq 0x2c0(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7c44c
movl %ebp, 0x8(%rax)
movq %rbx, %rdi
movl %ebp, %esi
movl $0x2, %edx
xorl %ecx, %ecx
callq 0x14d16
leaq 0x1f8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x38786(%rip), %rsi     # 0xc0142
leaq 0x38785(%rip), %rdx     # 0xc0148
leaq 0x1e8(%rsp), %rdi
callq 0x7be0
leaq 0x1e8(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x14a44
movq 0x1e8(%rsp), %rdi
cmpq %r12, %rdi
je 0x879ff
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x1e8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x38738(%rip), %rsi     # 0xc0149
leaq 0x3873d(%rip), %rdx     # 0xc0155
callq 0x7be0
leaq 0x1e8(%rsp), %rcx
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x14b52
movq 0x1e8(%rsp), %rdi
cmpq %r12, %rdi
je 0x87a4e
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
movl $0x23, %ecx
xorl %r8d, %r8d
callq 0x14b48
leaq 0x1e8(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0x1eafa
leaq 0x1e8(%rsp), %rdx
movb $0x1, 0x60(%rdx)
movl %ebp, 0x9c(%rdx)
movl $0x2, 0x64(%rdx)
movl 0x8(%rsp), %esi
movq %rbx, %rdi
callq 0x7c44c
addl $0x4, %r14d
movl %ebp, 0x8(%rax)
leaq 0x1c8(%rsp), %rcx
movl $0x2, (%rcx)
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x7c48e
leaq 0x1d8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x38681(%rip), %rsi     # 0xc0156
leaq 0x38686(%rip), %rdx     # 0xc0162
leaq 0x1c8(%rsp), %rdi
callq 0x7be0
leaq 0x1c8(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq 0x14a44
movq 0x1c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x87b19
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
movl %r14d, %esi
movl $0x22, %edx
movl $0xfffffffe, %ecx       # imm = 0xFFFFFFFE
callq 0x14d16
movl 0x7d8(%rbx), %ecx
movq %rbx, %rdi
movl %r14d, %esi
movl $0x21, %edx
callq 0x14d16
movl %r14d, 0x7c8(%rbx)
leaq 0x288(%rsp), %rbx
movq %r15, -0xa0(%rbx)
movq %rbx, %rdi
callq 0xde80
movq -0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x87b7b
movq 0x260(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x220(%rsp), %rdi
testq %rdi, %rdi
je 0x87bc0
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 0x87be5
movq 0x218(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %r15, 0x2c0(%rsp)
movq %rbx, %rdi
callq 0xde80
movq 0x328(%rsp), %rdi
testq %rdi, %rdi
je 0x87c12
movq 0x338(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x2f8(%rsp), %rdi
testq %rdi, %rdi
je 0x87c57
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 0x87c74
movq 0x2f0(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
leaq 0x188(%rsp), %rbx
movq %r15, -0xa0(%rbx)
movq %rbx, %rdi
callq 0xde80
movq -0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x87ca4
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x87ce9
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)
leaq 0xb0(%rsp), %rbx
movq 0x108(%rsp), %rdi
testq %rdi, %rdi
je 0x87d0e
movq 0x118(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %r15, 0x10(%rsp)
movq %rbx, %rdi
callq 0xde80
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x87d35
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x87d65
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 0x87d7c
movq 0x40(%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
movl %esi, 0x7c0(%rbx)
xorl %eax, %eax
jmp 0x87450
movl %eax, 0x7c4(%rbx)
movb $0x1, %al
jmp 0x87121
jmp 0x87e3d
jmp 0x87e3d
jmp 0x87e0c
movq %rax, %rbx
movq 0x1c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x87e18
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x87e18
jmp 0x87e15
jmp 0x87e15
jmp 0x87e27
jmp 0x87de0
jmp 0x87e27
movq %rax, %rbx
movq 0x1e8(%rsp), %rdi
cmpq %r12, %rdi
je 0x87e2a
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x87e2a
jmp 0x87e27
jmp 0x87e3d
jmp 0x87e27
jmp 0x87e0c
jmp 0x87e0c
movq %rax, %rbx
jmp 0x87e4d
jmp 0x87e3d
jmp 0x87e3d
movq %rax, %rbx
leaq 0x1e8(%rsp), %rdi
callq 0x1be02
jmp 0x87e2a
movq %rax, %rbx
leaq 0x2c0(%rsp), %rdi
callq 0x1be02
jmp 0x87e40
jmp 0x87e3d
jmp 0x87e3d
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x1be02
leaq 0x10(%rsp), %rdi
callq 0x1be02
movq %rbx, %rdi
callq 0x64a0
nop