// File: /workspace/github_cpp_makefile_star2_O3/pritpal20[P]vector/./vector.hpp
// Function: lni::vector<unsigned short>::resize(unsigned int, unsigned short const&)
void vector<unsigned short int>::resize(typename vector<unsigned short int>::size_type sz, const unsigned short int &c) {
		if (sz > vec_sz) {
			if (sz > rsrv_sz) {
				rsrv_sz = sz;
				reallocate();
			}
			size_type i;
			for (i = vec_sz; i < sz; ++i)
				arr[i] = c;
		}
		vec_sz = sz;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl 0x4(%rdi), %r15d
cmpl %esi, %r15d
jae 0x2554
movl %ebx, %ebp
cmpl %ebx, (%r14)
jae 0x2295
movq %rdx, (%rsp)
movl %ebx, (%r14)
leaq (,%rbp,2), %rdi
callq 0x1030
movq %rax, %r12
movq 0x8(%r14), %r13
leaq (%r15,%r15), %rdx
movq %rax, %rdi
movq %r13, %rsi
callq 0x10b0
testq %r13, %r13
je 0x228d
movq %r13, %rdi
callq 0x10f0
movl 0x4(%r14), %r15d
movq %r12, 0x8(%r14)
movq (%rsp), %rdx
cmpl %ebx, %r15d
jae 0x2554
movq 0x8(%r14), %rdi
movl %r15d, %esi
movzwl (%rdx), %eax
subq %rsi, %rbp
leaq 0x7(%rbp), %rcx
andq $-0x8, %rcx
decq %rbp
movq %rbp, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
leaq (%rdi,%rsi,2), %rdx
addq $0xe, %rdx
xorl %esi, %esi
movdqa 0x1d7e(%rip), %xmm1     # 0x4050
movdqa 0x1d86(%rip), %xmm2     # 0x4060
movdqa 0x1d8e(%rip), %xmm3     # 0x4070
movdqa 0x1d96(%rip), %xmm4     # 0x4080
movdqa 0x1d9e(%rip), %xmm5     # 0x4090
pxor %xmm5, %xmm0
pcmpeqd %xmm6, %xmm6
movq %rsi, %xmm7
pshufd $0x44, %xmm7, %xmm7     # xmm7 = xmm7[0,1,0,1]
movdqa %xmm7, %xmm8
por %xmm4, %xmm8
pxor %xmm5, %xmm8
movdqa %xmm8, %xmm10
pcmpgtd %xmm0, %xmm10
pshufd $0xa0, %xmm10, %xmm9    # xmm9 = xmm10[0,0,2,2]
pshuflw $0xe8, %xmm9, %xmm11    # xmm11 = xmm9[0,2,2,3,4,5,6,7]
pcmpeqd %xmm0, %xmm8
pshufd $0xf5, %xmm8, %xmm8     # xmm8 = xmm8[1,1,3,3]
pshuflw $0xe8, %xmm8, %xmm12    # xmm12 = xmm8[0,2,2,3,4,5,6,7]
pand %xmm11, %xmm12
pshufd $0xf5, %xmm10, %xmm10   # xmm10 = xmm10[1,1,3,3]
pshuflw $0xe8, %xmm10, %xmm11   # xmm11 = xmm10[0,2,2,3,4,5,6,7]
por %xmm12, %xmm11
pxor %xmm6, %xmm11
packssdw %xmm11, %xmm11
movd %xmm11, %edi
testb $0x1, %dil
je 0x236a
movw %ax, -0xe(%rdx,%rsi,2)
pand %xmm9, %xmm8
por %xmm10, %xmm8
packssdw %xmm8, %xmm8
pxor %xmm6, %xmm8
packssdw %xmm8, %xmm8
movd %xmm8, %edi
shrl $0x10, %edi
testb $0x1, %dil
je 0x2396
movw %ax, -0xc(%rdx,%rsi,2)
movdqa %xmm7, %xmm9
por %xmm3, %xmm9
pxor %xmm5, %xmm9
movdqa %xmm9, %xmm10
pcmpgtd %xmm0, %xmm10
pshufd $0xa0, %xmm10, %xmm8    # xmm8 = xmm10[0,0,2,2]
pcmpeqd %xmm0, %xmm9
pshufd $0xf5, %xmm9, %xmm9     # xmm9 = xmm9[1,1,3,3]
movdqa %xmm9, %xmm11
pand %xmm8, %xmm11
pshufd $0xf5, %xmm10, %xmm10   # xmm10 = xmm10[1,1,3,3]
por %xmm10, %xmm11
packssdw %xmm11, %xmm11
pxor %xmm6, %xmm11
packssdw %xmm11, %xmm11
pextrw $0x2, %xmm11, %edi
testb $0x1, %dil
je 0x23f5
movw %ax, -0xa(%rdx,%rsi,2)
pshufhw $0x84, %xmm8, %xmm8     # xmm8 = xmm8[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm9, %xmm9     # xmm9 = xmm9[0,1,2,3,4,5,4,6]
pand %xmm8, %xmm9
pshufhw $0x84, %xmm10, %xmm8    # xmm8 = xmm10[0,1,2,3,4,5,4,6]
por %xmm9, %xmm8
pxor %xmm6, %xmm8
packssdw %xmm8, %xmm8
pextrw $0x3, %xmm8, %edi
testb $0x1, %dil
je 0x242c
movw %ax, -0x8(%rdx,%rsi,2)
movdqa %xmm7, %xmm8
por %xmm2, %xmm8
pxor %xmm5, %xmm8
movdqa %xmm8, %xmm10
pcmpgtd %xmm0, %xmm10
pshufd $0xa0, %xmm10, %xmm9    # xmm9 = xmm10[0,0,2,2]
pshuflw $0xe8, %xmm9, %xmm11    # xmm11 = xmm9[0,2,2,3,4,5,6,7]
pcmpeqd %xmm0, %xmm8
pshufd $0xf5, %xmm8, %xmm8     # xmm8 = xmm8[1,1,3,3]
pshuflw $0xe8, %xmm8, %xmm12    # xmm12 = xmm8[0,2,2,3,4,5,6,7]
pand %xmm11, %xmm12
pshufd $0xf5, %xmm10, %xmm10   # xmm10 = xmm10[1,1,3,3]
pshuflw $0xe8, %xmm10, %xmm11   # xmm11 = xmm10[0,2,2,3,4,5,6,7]
por %xmm12, %xmm11
pxor %xmm6, %xmm11
packssdw %xmm11, %xmm11
pextrw $0x4, %xmm11, %edi
testb $0x1, %dil
je 0x2493
movw %ax, -0x6(%rdx,%rsi,2)
pand %xmm9, %xmm8
por %xmm10, %xmm8
packssdw %xmm8, %xmm8
pxor %xmm6, %xmm8
packssdw %xmm8, %xmm8
pextrw $0x5, %xmm8, %edi
testb $0x1, %dil
je 0x24bd
movw %ax, -0x4(%rdx,%rsi,2)
por %xmm1, %xmm7
pxor %xmm5, %xmm7
movdqa %xmm7, %xmm9
pcmpgtd %xmm0, %xmm9
pshufd $0xa0, %xmm9, %xmm8     # xmm8 = xmm9[0,0,2,2]
pcmpeqd %xmm0, %xmm7
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
movdqa %xmm7, %xmm10
pand %xmm8, %xmm10
pshufd $0xf5, %xmm9, %xmm9     # xmm9 = xmm9[1,1,3,3]
por %xmm9, %xmm10
packssdw %xmm10, %xmm10
pxor %xmm6, %xmm10
packssdw %xmm10, %xmm10
pextrw $0x6, %xmm10, %edi
testb $0x1, %dil
je 0x2513
movw %ax, -0x2(%rdx,%rsi,2)
pshufhw $0x84, %xmm8, %xmm8     # xmm8 = xmm8[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm7, %xmm7     # xmm7 = xmm7[0,1,2,3,4,5,4,6]
pand %xmm8, %xmm7
pshufhw $0x84, %xmm9, %xmm8     # xmm8 = xmm9[0,1,2,3,4,5,4,6]
por %xmm7, %xmm8
pxor %xmm6, %xmm8
packssdw %xmm8, %xmm7
pextrw $0x7, %xmm7, %edi
testb $0x1, %dil
je 0x2547
movw %ax, (%rdx,%rsi,2)
addq $0x8, %rsi
cmpq %rsi, %rcx
jne 0x22fa
movl %ebx, 0x4(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop