// File: /workspace/github_cpp_makefile_star2_O2/AsherGlick[P]CommentHeader/source/main.cpp
// Function: align(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, char, unsigned int)
vector<string> align(string text, char position, unsigned int width) {
  vector<string> wrapped = wrap(text, width);

  for (unsigned int i = 0; i < wrapped.size(); i++) {
    unsigned int difference = width-wrapped[i].size();
    switch (position) {
      case 'n':
        for (unsigned int j = 0; j < difference; j++) {
          wrapped[i] += " ";
        }
        break;
      case 'r':
        for (unsigned int j = 0; j < difference; j++) {
          wrapped[i] = " " + wrapped[i];
        }
        break;
      case 'm':
        unsigned int leftDifference = difference / 2;
        unsigned int rightDifference = difference - leftDifference;
        for (unsigned int j = 0; j < leftDifference; j++) {
          wrapped[i] = " " + wrapped[i];
        }
        for (unsigned int j = 0; j < rightDifference; j++) {
          wrapped[i] += " ";
        }
        break;
    }
  }
  return wrapped;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, %r14d
movl %edx, %r15d
movq %rdi, %rbx
leaq -0x70(%rbp), %r12
movq %r12, %rdi
callq 0x3310
movq %rbx, -0x30(%rbp)
movq %rbx, %rdi
movq %r12, %rsi
movl %r14d, %edx
callq 0x9bec
leaq -0x70(%rbp), %rdi
callq 0x3120
movl %r14d, %eax
negl %eax
movl %eax, -0x34(%rbp)
xorl %edx, %edx
movsbl %r15b, %esi
movl %esi, -0x3c(%rbp)
movq -0x30(%rbp), %r12
movl %r14d, -0x38(%rbp)
movl %edx, %edx
movq (%r12), %rax
movq 0x8(%r12), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rdx, %rcx
jbe 0x9fac
movq %rdx, %r13
shlq $0x5, %r13
movl 0x8(%rax,%r13), %r12d
movl %r14d, %r15d
subl %r12d, %r15d
cmpl $0x6d, %esi
movq %rdx, -0x50(%rbp)
je 0x9f18
cmpl $0x6e, %esi
leaq -0x90(%rbp), %rbx
je 0x9ef5
cmpl $0x72, %esi
movq -0x30(%rbp), %r12
jne 0x9f9e
subl $0x1, %r15d
jb 0x9f9e
movq (%r12), %rdx
addq %r13, %rdx
movq %rbx, %rdi
leaq 0x2145(%rip), %rsi      # 0xc01c
callq 0xa25b
movq (%r12), %rdi
addq %r13, %rdi
movq %rbx, %rsi
callq 0x32e0
movq %rbx, %rdi
callq 0x3120
jmp 0x9ebc
movq -0x30(%rbp), %r12
subl $0x1, %r15d
jb 0x9f9e
movq (%r12), %rdi
addq %r13, %rdi
leaq 0x210b(%rip), %rsi      # 0xc01c
callq 0x33c0
jmp 0x9ef9
movq %r13, -0x48(%rbp)
shrl %r15d
movl %r15d, %r14d
movl %r12d, -0x40(%rbp)
subl $0x1, %r14d
jb 0x9f6e
movq -0x30(%rbp), %r12
movq (%r12), %rdx
movq -0x48(%rbp), %r13
addq %r13, %rdx
leaq -0x90(%rbp), %rbx
movq %rbx, %rdi
leaq 0x20d0(%rip), %rsi      # 0xc01c
callq 0xa25b
movq (%r12), %rdi
addq %r13, %rdi
movq %rbx, %rsi
callq 0x32e0
movq %rbx, %rdi
callq 0x3120
movl -0x40(%rbp), %r12d
jmp 0x9f26
addl -0x34(%rbp), %r15d
addl %r12d, %r15d
movl -0x38(%rbp), %r14d
movq -0x30(%rbp), %r12
movq -0x48(%rbp), %rbx
testl %r15d, %r15d
je 0x9f9e
movq (%r12), %rdi
addq %rbx, %rdi
leaq 0x2088(%rip), %rsi      # 0xc01c
callq 0x33c0
incl %r15d
jmp 0x9f81
movq -0x50(%rbp), %rdx
incl %edx
movl -0x3c(%rbp), %esi
jmp 0x9e6d
movq %r12, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x70(%rbp), %rdi
callq 0x3120
jmp 0x9fdd
jmp 0x9fd2
jmp 0x9fd2
jmp 0x9fd2
movq %rax, %r14
movq %r12, %rdi
callq 0x684a
movq %r14, %rdi
callq 0x3390