// File: /workspace/github_c_makefile_star2_O0/Paxa[P]fast_excel/libxlsxwriter/src/worksheet.c
// Function: worksheet_write_hyperlink_internal
STATIC void
_worksheet_write_hyperlink_internal(lxw_worksheet *self, lxw_row_t row_num,
                                    lxw_col_t col_num, const char *location,
                                    const char *display, const char *tooltip)
{
    struct xml_attribute_list attributes;
    struct xml_attribute *attribute;
    char ref[LXW_MAX_CELL_NAME_LENGTH];

    lxw_rowcol_to_cell(ref, row_num, col_num);

    LXW_INIT_ATTRIBUTES();
    LXW_PUSH_ATTRIBUTES_STR("ref", ref);

    if (location)
        LXW_PUSH_ATTRIBUTES_STR("location", location);

    if (tooltip)
        LXW_PUSH_ATTRIBUTES_STR("tooltip", tooltip);

    if (display)
        LXW_PUSH_ATTRIBUTES_STR("display", display);

    lxw_xml_empty_tag(self->file, "hyperlink", &attributes);

    LXW_FREE_ATTRIBUTES();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movw %dx, %ax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movw %ax, -0xe(%rbp)
movq %rcx, -0x18(%rbp)
movq %r8, -0x20(%rbp)
movq %r9, -0x28(%rbp)
leaq -0x4e(%rbp), %rdi
movl -0xc(%rbp), %esi
movzwl -0xe(%rbp), %edx
callq 0xca90
movq $0x0, -0x38(%rbp)
leaq -0x38(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x627a4
leaq -0x4e(%rbp), %rsi
leaq 0xc879(%rip), %rdi      # 0x6f028
callq 0xc030
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x40(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x30(%rbp)
jmp 0x627e2
cmpq $0x0, -0x18(%rbp)
je 0x6282b
jmp 0x627eb
movq -0x18(%rbp), %rsi
leaq 0xc538(%rip), %rdi      # 0x6ed2e
callq 0xc030
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x40(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x30(%rbp)
jmp 0x62829
jmp 0x6282b
cmpq $0x0, -0x28(%rbp)
je 0x62874
jmp 0x62834
movq -0x28(%rbp), %rsi
leaq 0x5d85(%rip), %rdi      # 0x685c4
callq 0xc030
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x40(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x30(%rbp)
jmp 0x62872
jmp 0x62874
cmpq $0x0, -0x20(%rbp)
je 0x628bd
jmp 0x6287d
movq -0x20(%rbp), %rsi
leaq 0xc4af(%rip), %rdi      # 0x6ed37
callq 0xc030
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x40(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x30(%rbp)
jmp 0x628bb
jmp 0x628bd
movq -0x8(%rbp), %rax
movq (%rax), %rdi
leaq 0xa01d(%rip), %rsi      # 0x6c8e8
leaq -0x38(%rbp), %rdx
callq 0xcca0
jmp 0x628d6
cmpq $0x0, -0x38(%rbp)
sete %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x628e6
jmp 0x62918
movq -0x38(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rax
movq 0x1040(%rax), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, %rax
jne 0x6290b
leaq -0x38(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x6290d
movq -0x40(%rbp), %rdi
callq 0xc0d0
jmp 0x628d6
jmp 0x6291a
addq $0x50, %rsp
popq %rbp
retq