// File: /workspace/github_cpp_makefile_star2_O1/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 $0x58, %rsp
movl %ecx, %r14d
movl %edx, %r15d
movq %rdi, %rbx
leaq -0x70(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq -0x80(%rbp), %r12
movq %r12, %rdi
movq %rax, %rsi
callq 0x802a
movq %rbx, %rdi
movq %r12, %rsi
movl %r14d, -0x2c(%rbp)
movl %r14d, %edx
callq 0xcc07
movq -0x80(%rbp), %rdi
cmpq %r13, %rdi
je 0xceda
callq 0x3260
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0xd03a
xorl %r14d, %r14d
movsbl %r15b, %ecx
xorl %r13d, %r13d
movl %ecx, -0x38(%rbp)
shlq $0x5, %r14
movl 0x8(%rax,%r14), %eax
movl -0x2c(%rbp), %r15d
subl %eax, %r15d
cmpl $0x6d, %ecx
je 0xcf88
cmpl $0x6e, %ecx
je 0xcf63
cmpl $0x72, %ecx
jne 0xd01a
cmpl %eax, -0x2c(%rbp)
je 0xd01a
movq (%rbx), %rdx
addq %r14, %rdx
leaq -0x60(%rbp), %r12
movq %r12, %rdi
leaq 0x20e8(%rip), %rsi      # 0xf01c
callq 0xd337
movq (%rbx), %rdi
addq %r14, %rdi
movq %r12, %rsi
callq 0x32e0
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0xcf59
callq 0x3260
decl %r15d
jne 0xcf20
jmp 0xd01a
cmpl %eax, -0x2c(%rbp)
je 0xd01a
movq (%rbx), %rdi
addq %r14, %rdi
leaq 0x20a3(%rip), %rsi      # 0xf01c
callq 0x33e0
decl %r15d
jne 0xcf6c
jmp 0xd01a
movl %eax, -0x34(%rbp)
movq %r13, -0x40(%rbp)
movl %r15d, %eax
shrl %eax
movl %eax, -0x30(%rbp)
cmpl $0x2, %r15d
leaq -0x60(%rbp), %rdi
jb 0xcfeb
movl -0x30(%rbp), %r12d
cmpl $0x1, %r12d
adcl $0x0, %r12d
movq (%rbx), %rdx
addq %r14, %rdx
leaq 0x2062(%rip), %rsi      # 0xf01c
movq %rdi, %r13
callq 0xd337
movq (%rbx), %rdi
addq %r14, %rdi
movq %r13, %rsi
callq 0x32e0
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0xcfe2
callq 0x3260
decl %r12d
leaq -0x60(%rbp), %rdi
jne 0xcfad
movl -0x34(%rbp), %eax
cmpl %eax, -0x2c(%rbp)
movq -0x40(%rbp), %r13
je 0xd01a
subl -0x30(%rbp), %r15d
cmpl $0x1, %r15d
adcl $0x0, %r15d
movq (%rbx), %rdi
addq %r14, %rdi
leaq 0x200c(%rip), %rsi      # 0xf01c
callq 0x33e0
decl %r15d
jne 0xd003
incl %r13d
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movq %r13, %r14
cmpq %r13, %rcx
movl -0x38(%rbp), %ecx
ja 0xcef4
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x80(%rbp), %rdi
cmpq %r13, %rdi
je 0xd070
callq 0x3260
jmp 0xd070
jmp 0xd065
jmp 0xd065
jmp 0xd065
movq %rax, %r14
movq %rbx, %rdi
callq 0x7d36
movq %r14, %rdi
callq 0x3390