// File: /workspace/github_cpp_makefile_star2_O2/carlos-urena[P]svg-gen/svgobjects.cpp
// Function: Axes::Axes(float, bool)
Axes::Axes( real widthl, bool flip   )  // widthl = width de línea
{
  vec3 o = vec3(0.0,0.0,0.0);

  if ( flip )  // draw X and Y in the horizontal plane
  {
    add( new Segment( o, vec3(1.0,0.0,0.0),  vec3(1.0,0.7,0.7), widthl ) );
    add( new Segment( o, vec3(0.0,0.0,-1.0), vec3(0.6,0.7,0.6), widthl ) );
    add( new Segment( o, vec3(0.0,1.0,0.0),  vec3(0.7,0.7,1.0), widthl ) );
  }
  else
  {
    add( new Segment( o, vec3(1.0,0.0,0.0), vec3(1.0,0.0,0.0), widthl ) );
    add( new Segment( o, vec3(0.0,1.0,0.0), vec3(0.0,0.5,0.0), widthl ) );
    add( new Segment( o, vec3(0.0,0.0,1.0), vec3(0.0,0.0,1.0), widthl ) );
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movss %xmm0, -0x1c(%rbp)
movq %rdi, %rbx
movb $0x0, 0x8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
andq $0x0, 0x30(%rdi)
leaq 0x7cdc(%rip), %rax      # 0xf9a8
movq %rax, (%rdi)
andq $0x0, -0x28(%rbp)
andl $0x0, -0x20(%rbp)
testl %esi, %esi
je 0x7ddb
movl $0x98, %edi
callq 0x31b0
movq %rax, %r15
leaq -0x40(%rbp), %rdx
movq $0x3f800000, (%rdx)     # imm = 0x3F800000
andl $0x0, 0x8(%rdx)
movabsq $0x3f3333333f800000, %rax # imm = 0x3F3333333F800000
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f333333, 0x8(%rcx)  # imm = 0x3F333333
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x6f22
movq %rbx, %rdi
movq %r15, %rsi
callq 0x664c
movl $0x98, %edi
callq 0x31b0
movq %rax, %r15
leaq -0x40(%rbp), %rdx
andq $0x0, (%rdx)
movl $0xbf800000, 0x8(%rdx)  # imm = 0xBF800000
movabsq $0x3f3333333f19999a, %rax # imm = 0x3F3333333F19999A
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f19999a, 0x8(%rcx)  # imm = 0x3F19999A
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x6f22
movq %rbx, %rdi
movq %r15, %rsi
callq 0x664c
movl $0x98, %edi
callq 0x31b0
movq %rax, %r15
movabsq $0x3f80000000000000, %rax # imm = 0x3F80000000000000
leaq -0x40(%rbp), %rdx
movq %rax, (%rdx)
andl $0x0, 0x8(%rdx)
movabsq $0x3f3333333f333333, %rax # imm = 0x3F3333333F333333
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f800000, 0x8(%rcx)  # imm = 0x3F800000
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x6f22
movq %rbx, %rdi
movq %r15, %rsi
callq 0x664c
jmp 0x7eb6
movl $0x98, %edi
callq 0x31b0
movq %rax, %r15
movl $0x3f800000, %eax       # imm = 0x3F800000
leaq -0x40(%rbp), %rdx
movq %rax, (%rdx)
andl $0x0, 0x8(%rdx)
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
andl $0x0, 0x8(%rcx)
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x6f22
movq %rbx, %rdi
movq %r15, %rsi
callq 0x664c
movl $0x98, %edi
callq 0x31b0
movq %rax, %r15
movabsq $0x3f80000000000000, %rax # imm = 0x3F80000000000000
leaq -0x40(%rbp), %rdx
movq %rax, (%rdx)
andl $0x0, 0x8(%rdx)
movabsq $0x3f00000000000000, %rax # imm = 0x3F00000000000000
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
andl $0x0, 0x8(%rcx)
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x6f22
movq %rbx, %rdi
movq %r15, %rsi
callq 0x664c
movl $0x98, %edi
callq 0x31b0
movq %rax, %r15
leaq -0x40(%rbp), %rdx
andq $0x0, (%rdx)
movl $0x3f800000, %eax       # imm = 0x3F800000
movl %eax, 0x8(%rdx)
leaq -0x34(%rbp), %rcx
andq $0x0, (%rcx)
movl %eax, 0x8(%rcx)
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x6f22
movq %rbx, %rdi
movq %r15, %rsi
callq 0x664c
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7ee4
jmp 0x7ee4
jmp 0x7ed7
jmp 0x7ed7
jmp 0x7ee4
jmp 0x7ee4
jmp 0x7ed7
jmp 0x7ed7
jmp 0x7ee4
jmp 0x7ee4
jmp 0x7ed7
movq %rax, %r14
movq %r15, %rdi
callq 0x3190
jmp 0x7ee7
movq %rax, %r14
movq %rbx, %rdi
callq 0x971e
movq %r14, %rdi
callq 0x3250
nop