// File: /workspace/github_c_makefile_star2_O2/esheldon[P]xshear/src/source.c
// Function: source_print
void source_print(Source* src) {
    wlog("    index:  %ld\n", src->index);
    wlog("    ra:     %lf\n", src->ra);
    wlog("    dec:    %lf\n", src->dec);
    wlog("    g1:     %lf\n", src->g1);
    wlog("    g2:     %lf\n", src->g2);
    if (src->shear_style==SHEAR_STYLE_LENSFIT) {
        wlog("    g1sens: %lf\n", src->g1sens);
        wlog("    g2sens: %lf\n", src->g2sens);
    }
    wlog("    weight: %lf\n", src->weight);
    wlog("    hpixid: %ld\n", src->hpixid);

    if (src->mask_style == MASK_STYLE_SDSS) {
        wlog("    sinlam: %lf\n", src->sinlam);
        wlog("    coslam: %lf\n", src->coslam);
        wlog("    sineta: %lf\n", src->sineta);
        wlog("    coseta: %lf\n", src->coseta);
    }

    if (src->scstyle == SIGMACRIT_STYLE_POINT) {
        wlog("    z:      %lf\n", src->z);
        wlog("    dc:     %lf\n", src->dc);
    } else if (src->scstyle == SIGMACRIT_STYLE_SAMPLE) {
        wlog("    z:      %lf\n", src->z);
        wlog("    dc:     %lf\n", src->dc);
        wlog("    zs:      %lf\n", src->zs);
        wlog("    dcs:     %lf\n", src->dcs);
    } else {
        size_t nzl = src->zlens->size;
        wlog("    zlens[0]: %lf  szinv[0]: %e\n", 
                src->zlens->data[0], src->scinv->data[0]);
        wlog("    zlens[%ld]: %lf  szinv[%ld]: %e\n", 
                nzl-1, src->zlens->data[nzl-1], nzl-1, src->scinv->data[nzl-1]);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x8fbb(%rip), %r14      # 0xdff8
movq (%r14), %rdi
movq 0x10(%rbx), %rdx
leaq 0x498d(%rip), %rsi      # 0x99d8
xorl %eax, %eax
callq 0x21b0
movq (%r14), %rdi
movsd 0x18(%rbx), %xmm0
leaq 0x4988(%rip), %rsi      # 0x99e9
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x20(%rbx), %xmm0
leaq 0x4983(%rip), %rsi      # 0x99fa
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x28(%rbx), %xmm0
leaq 0x497e(%rip), %rsi      # 0x9a0b
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x30(%rbx), %xmm0
leaq 0x4979(%rip), %rsi      # 0x9a1c
movb $0x1, %al
callq 0x21b0
cmpl $0x2, (%rbx)
jne 0x50db
movq (%r14), %rdi
movsd 0x38(%rbx), %xmm0
leaq 0x496f(%rip), %rsi      # 0x9a2d
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x40(%rbx), %xmm0
leaq 0x496a(%rip), %rsi      # 0x9a3e
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x48(%rbx), %xmm0
leaq 0x4965(%rip), %rsi      # 0x9a4f
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movq 0x50(%rbx), %rdx
leaq 0x4961(%rip), %rsi      # 0x9a60
xorl %eax, %eax
callq 0x21b0
cmpl $0x2, 0x4(%rbx)
jne 0x5170
movq (%r14), %rdi
movsd 0xa8(%rbx), %xmm0
leaq 0x4953(%rip), %rsi      # 0x9a71
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0xb0(%rbx), %xmm0
leaq 0x494b(%rip), %rsi      # 0x9a82
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0xb8(%rbx), %xmm0
leaq 0x4943(%rip), %rsi      # 0x9a93
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0xc0(%rbx), %xmm0
leaq 0x493b(%rip), %rsi      # 0x9aa4
movb $0x1, %al
callq 0x21b0
movl 0x8(%rbx), %eax
cmpl $0x3, %eax
je 0x51a8
cmpl $0x1, %eax
jne 0x5208
movq (%r14), %rdi
movsd 0x68(%rbx), %xmm0
leaq 0x4925(%rip), %rsi      # 0x9ab5
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x70(%rbx), %xmm0
leaq 0x4920(%rip), %rsi      # 0x9ac6
jmp 0x51fc
movq (%r14), %rdi
movsd 0x68(%rbx), %xmm0
leaq 0x48fe(%rip), %rsi      # 0x9ab5
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x70(%rbx), %xmm0
leaq 0x48f9(%rip), %rsi      # 0x9ac6
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x78(%rbx), %xmm0
leaq 0x48f4(%rip), %rsi      # 0x9ad7
movb $0x1, %al
callq 0x21b0
movq (%r14), %rdi
movsd 0x80(%rbx), %xmm0
leaq 0x48ed(%rip), %rsi      # 0x9ae9
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
jmp 0x21b0
movq 0x58(%rbx), %rax
movq 0x60(%rbx), %rcx
movq (%r14), %rdi
movq (%rcx), %r15
movq 0x10(%rcx), %rcx
movsd (%rcx), %xmm0
movq 0x10(%rax), %rax
movsd (%rax), %xmm1
leaq 0x48ce(%rip), %rsi      # 0x9afb
movb $0x2, %al
callq 0x21b0
movq (%r14), %rdi
leaq -0x1(%r15), %rcx
movq 0x58(%rbx), %rax
movq 0x60(%rbx), %rdx
movq 0x10(%rdx), %rdx
movsd -0x8(%rdx,%r15,8), %xmm0
movq 0x10(%rax), %rax
movsd -0x8(%rax,%r15,8), %xmm1
leaq 0x48bc(%rip), %rsi      # 0x9b1c
movq %rcx, %rdx
movb $0x2, %al
popq %rbx
popq %r14
popq %r15
jmp 0x21b0
nop