// File: /workspace/github_c_makefile_star2_O3/ggerganov[P]font-rasterizer/./stb_truetype.h
// Function: stbtt_GetGlyphKernAdvance
STBTT_DEF int  stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int g1, int g2)
{
   int xAdvance = 0;

   if (info->gpos)
      xAdvance += stbtt__GetGlyphGPOSInfoAdvance(info, g1, g2);

   if (info->kern)
      xAdvance += stbtt__GetGlyphKernInfoAdvance(info, g1, g2);

   return xAdvance;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %edx, %r13d
movl %esi, %ebx
movslq 0x30(%rdi), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je 0x494a
movq 0x8(%rdi), %rsi
movzwl (%rsi,%rcx), %edx
rolw $0x8, %dx
cmpw $0x1, %dx
jne 0x494a
addq %rcx, %rsi
movb 0x3(%rsi), %cl
orb 0x2(%rsi), %cl
jne 0x494a
movzwl 0x8(%rsi), %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
movq %rsi, -0x38(%rbp)
movzwl (%rsi,%rcx), %edx
rolw $0x8, %dx
testw %dx, %dx
je 0x494a
addq %rcx, -0x38(%rbp)
movzwl %dx, %eax
movl %eax, %eax
movq %rax, -0x58(%rbp)
movq $0x0, -0x40(%rbp)
movl %r13d, -0x44(%rbp)
movq %rdi, -0x50(%rbp)
movq -0x38(%rbp), %rcx
movq -0x40(%rbp), %rax
movzwl 0x2(%rcx,%rax,2), %eax
rolw $0x8, %ax
movzwl %ax, %r15d
movzwl (%rcx,%r15), %eax
rolw $0x8, %ax
cmpw $0x2, %ax
jne 0x491d
movq -0x38(%rbp), %rax
movzwl 0x4(%rax,%r15), %eax
rolw $0x8, %ax
movzwl %ax, %eax
testl %eax, %eax
je 0x491d
addq -0x38(%rbp), %r15
movl %eax, %eax
movq %rax, -0x68(%rbp)
xorl %r14d, %r14d
movzwl 0x6(%r15,%r14,2), %eax
rolw $0x8, %ax
movzwl %ax, %ecx
leaq (%r15,%rcx), %r12
movzwl (%r15,%rcx), %eax
movzwl 0x2(%r15,%rcx), %ecx
rolw $0x8, %cx
movzwl %cx, %edx
leaq (%r12,%rdx), %rcx
movzwl (%rdx,%r12), %edx
rolw $0x8, %dx
cmpw $0x2, %dx
je 0x470f
movzwl %dx, %edx
cmpl $0x1, %edx
jne 0x4a08
movzwl 0x2(%rcx), %edx
rolw $0x8, %dx
testw %dx, %dx
je 0x4910
movzwl %dx, %esi
decl %esi
xorl %r9d, %r9d
leal (%rsi,%r9), %edx
movslq %edx, %r8
sarl %edx
andq $-0x2, %r8
movzwl 0x4(%rcx,%r8), %r8d
rolw $0x8, %r8w
movzwl %r8w, %r8d
cmpl %ebx, %r8d
jle 0x46fa
decl %edx
movl %edx, %esi
jmp 0x4705
jae 0x4789
incl %edx
movl %edx, %r9d
cmpl %esi, %r9d
jle 0x46d3
jmp 0x4910
movzwl 0x2(%rcx), %edx
rolw $0x8, %dx
testw %dx, %dx
je 0x4910
movzwl %dx, %esi
decl %esi
xorl %r11d, %r11d
leal (%rsi,%r11), %r8d
sarl %r8d
movslq %r8d, %rdx
addq %rdx, %rdx
leaq (%rdx,%rdx,2), %r9
movzwl 0x4(%rcx,%r9), %edx
rolw $0x8, %dx
movzwl %dx, %r10d
movl %ebx, %edx
subl %r10d, %edx
jge 0x4756
decl %r8d
movl %r8d, %esi
jmp 0x4770
movzwl 0x6(%rcx,%r9), %r10d
rolw $0x8, %r10w
movzwl %r10w, %r10d
cmpl %ebx, %r10d
jae 0x477a
incl %r8d
movl %r8d, %r11d
cmpl %esi, %r11d
jle 0x4728
jmp 0x4910
movzwl 0x8(%rcx,%r9), %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
addl %ecx, %edx
cmpl $-0x1, %edx
je 0x4910
rolw $0x8, %ax
movzwl %ax, %eax
cmpl $0x2, %eax
je 0x485e
cmpl $0x1, %eax
jne 0x4a65
movzwl 0x4(%r12), %ecx
rolw $0x8, %cx
xorl %eax, %eax
cmpw $0x4, %cx
jne 0x494a
movzwl 0x6(%r12), %ecx
rolw $0x8, %cx
testw %cx, %cx
jne 0x494a
movzwl 0x8(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
cmpl %eax, %edx
jge 0x4a84
movslq %edx, %rax
movzwl 0xa(%r12,%rax,2), %eax
rolw $0x8, %ax
movzwl %ax, %ecx
movzwl (%r12,%rcx), %eax
rolw $0x8, %ax
movzwl %ax, %eax
testl %eax, %eax
je 0x4910
addq %r12, %rcx
addq $0x2, %rcx
decl %eax
xorl %edx, %edx
leal (%rax,%rdx), %r9d
sarl %r9d
leal (,%r9,4), %esi
movslq %esi, %r8
leaq (%rcx,%r8), %rsi
movzwl (%rcx,%r8), %r8d
rolw $0x8, %r8w
movzwl %r8w, %r8d
cmpl %r13d, %r8d
jle 0x4849
decl %r9d
movl %r9d, %eax
jmp 0x4855
jae 0x4936
incl %r9d
movl %r9d, %edx
cmpl %eax, %edx
jle 0x4818
jmp 0x4910
movzwl 0x4(%r12), %eax
movw %ax, -0x2c(%rbp)
movzwl 0x6(%r12), %eax
movw %ax, -0x2a(%rbp)
movzwl 0x8(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
movzwl 0xa(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %r13d
addq %r12, %rdi
movl %ebx, %esi
callq 0xbdfd
movq %rax, -0x60(%rbp)
addq %r12, %r13
movq %r13, %rdi
movl -0x44(%rbp), %r13d
movl %r13d, %esi
callq 0xbdfd
movq -0x60(%rbp), %rsi
movl %eax, %ecx
movzwl 0xc(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
cmpl %eax, %esi
jge 0x4a27
movzwl 0xe(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edx
cmpl %edx, %ecx
movq -0x50(%rbp), %rdi
jge 0x4a46
movzwl -0x2c(%rbp), %r8d
rolw $0x8, %r8w
xorl %eax, %eax
cmpw $0x4, %r8w
jne 0x494a
movzwl -0x2a(%rbp), %r8d
rolw $0x8, %r8w
testw %r8w, %r8w
jne 0x494a
testl %esi, %esi
js 0x4910
testl %ecx, %ecx
jns 0x49e9
incq %r14
cmpq -0x68(%rbp), %r14
jne 0x4678
movq -0x40(%rbp), %rdx
incq %rdx
xorl %eax, %eax
movq %rdx, -0x40(%rbp)
cmpq -0x58(%rbp), %rdx
jne 0x462a
jmp 0x494a
leaq 0x2(%rsi), %rax
addq $0x3, %rsi
movzbl (%rsi), %ecx
movzbl (%rax), %eax
shll $0x8, %eax
cwtl
orl %ecx, %eax
movslq 0x2c(%rdi), %rsi
testq %rsi, %rsi
je 0x49da
movq 0x8(%rdi), %rcx
movb 0x3(%rcx,%rsi), %dil
xorl %edx, %edx
orb 0x2(%rcx,%rsi), %dil
je 0x49d8
addq %rsi, %rcx
movzwl 0x8(%rcx), %esi
rolw $0x8, %si
cmpw $0x1, %si
jne 0x49d8
movzwl 0xa(%rcx), %esi
rolw $0x8, %si
testw %si, %si
je 0x49d8
movzwl %si, %edx
shll $0x10, %ebx
orl %r13d, %ebx
decl %edx
xorl %esi, %esi
leal (%rsi,%rdx), %edi
sarl %edi
movslq %edi, %r8
addq %r8, %r8
leaq (%r8,%r8,2), %r8
movl 0x12(%rcx,%r8), %r9d
bswapl %r9d
cmpl %r9d, %ebx
jae 0x49b6
decl %edi
movl %edi, %edx
jmp 0x49bc
jbe 0x49c4
incl %edi
movl %edi, %esi
cmpl %edx, %esi
jle 0x4994
xorl %edx, %edx
jmp 0x49d8
movzbl 0x17(%rcx,%r8), %esi
movzbl 0x16(%rcx,%r8), %ecx
shll $0x8, %ecx
movswl %cx, %edx
orl %esi, %edx
addl %edx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
imull %edx, %esi
addl %esi, %esi
addq %rsi, %r12
movl %ecx, %ecx
leaq (%r12,%rcx,2), %rax
addq $0x10, %rax
leaq (%r12,%rcx,2), %rsi
addq $0x11, %rsi
jmp 0x493e
leaq 0xa357(%rip), %rdi      # 0xed66
leaq 0xa252(%rip), %rsi      # 0xec68
leaq 0xa837(%rip), %rcx      # 0xf254
movl $0x92e, %edx            # imm = 0x92E
callq 0x10c0
leaq 0xa7f2(%rip), %rdi      # 0xf220
leaq 0xa233(%rip), %rsi      # 0xec68
leaq 0xa797(%rip), %rcx      # 0xf1d3
movl $0x9c5, %edx            # imm = 0x9C5
callq 0x10c0
leaq 0xa7ed(%rip), %rdi      # 0xf23a
leaq 0xa214(%rip), %rsi      # 0xec68
leaq 0xa778(%rip), %rcx      # 0xf1d3
movl $0x9c6, %edx            # imm = 0x9C6
callq 0x10c0
leaq 0xa2fa(%rip), %rdi      # 0xed66
leaq 0xa1f5(%rip), %rsi      # 0xec68
leaq 0xa759(%rip), %rcx      # 0xf1d3
movl $0x9d8, %edx            # imm = 0x9D8
callq 0x10c0
leaq 0xa72b(%rip), %rdi      # 0xf1b6
leaq 0xa1d6(%rip), %rsi      # 0xec68
leaq 0xa73a(%rip), %rcx      # 0xf1d3
movl $0x9a0, %edx            # imm = 0x9A0
callq 0x10c0