// File: /workspace/github_cpp_makefile_star2_O1/llefranc[P]42_webserv/srcs/server/Response.cpp
// Function: Response::fillStatusLine(StatusLine const&)
void Response::fillStatusLine(const StatusLine& staLine)
{
	_buffer = "HTTP/1.1 " + convertNbToString(staLine.getCode()) + " " + staLine.getReason();
	if (!staLine.getAdditionalInfo().empty())
		_buffer += " (" + staLine.getAdditionalInfo() + ")";
	_buffer += CLRF;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movslq (%rsi), %rsi
leaq -0xa8(%rbp), %r15
movq %r15, %rdi
callq 0x1378a
leaq 0x5919(%rip), %rcx      # 0x1599a
movl $0x9, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4440
leaq -0x78(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x100ba
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0x100c2
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq -0x88(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x55f6(%rip), %rsi      # 0x156dd
callq 0x4760
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x10110
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x10117
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
callq 0x4150
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x10164
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x1016c
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0x68(%rbp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
addq $0x58, %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x44d0
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x101aa
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43e0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x101c3
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x43e0
movq -0x88(%rbp), %rdi
cmpq %r13, %rdi
je 0x101db
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x43e0
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x101fa
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x43e0
cmpq $0x0, 0x30(%r14)
je 0x102ab
addq $0x28, %r14
leaq 0x5794(%rip), %rsi      # 0x159a4
leaq -0x48(%rbp), %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x6400
leaq 0x5030(%rip), %rsi      # 0x15256
movq %r15, %rdi
callq 0x4760
movq %r12, -0x68(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq -0x38(%rbp), %r14
je 0x10252
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x1025a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, -0x60(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %rbx, %rdi
callq 0x4150
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x10296
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43e0
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x102ab
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x43e0
leaq 0x59d0(%rip), %rsi      # 0x15c82
movq %rbx, %rdi
callq 0x4760
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x102e9
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43e0
jmp 0x102e9
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x10355
movq -0x38(%rbp), %rsi
jmp 0x1034d
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x10319
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x43e0
jmp 0x10319
movq %rax, %rbx
movq -0x88(%rbp), %rdi
cmpq %r13, %rdi
je 0x10336
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x43e0
jmp 0x10336
movq %rax, %rbx
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10355
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x43e0
movq %rbx, %rdi
callq 0x46d0
nop