/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
#define lr x30
#define ip0 x16
.section .note.GNU-stack,"",@progbits
.data
.globl _libX11_so_tramp_table
.hidden _libX11_so_tramp_table
.align 8
_libX11_so_tramp_table:
.zero 9464
.text
.globl _libX11_so_tramp_resolve
.hidden _libX11_so_tramp_resolve
.globl _libX11_so_save_regs_and_resolve
.hidden _libX11_so_save_regs_and_resolve
.type _libX11_so_save_regs_and_resolve, %function
_libX11_so_save_regs_and_resolve:
.cfi_startproc
// Slow path which calls dlsym, taken only on first call.
// Registers are saved according to "Procedure Call Standard for the Arm® 64-bit Architecture".
// For DWARF directives, read https://www.imperialviolet.org/2017/01/18/cfi.html.
// Stack is aligned at 16 bytes
#define PUSH_PAIR(reg1, reg2) stp reg1, reg2, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset reg1, 0; .cfi_rel_offset reg2, 8
#define POP_PAIR(reg1, reg2) ldp reg1, reg2, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore reg2; .cfi_restore reg1
#define PUSH_WIDE_PAIR(reg1, reg2) stp reg1, reg2, [sp, #-32]!; .cfi_adjust_cfa_offset 32; .cfi_rel_offset reg1, 0; .cfi_rel_offset reg2, 16
#define POP_WIDE_PAIR(reg1, reg2) ldp reg1, reg2, [sp], #32; .cfi_adjust_cfa_offset -32; .cfi_restore reg2; .cfi_restore reg1
// Save only arguments (and lr)
PUSH_PAIR(x0, x1)
PUSH_PAIR(x2, x3)
PUSH_PAIR(x4, x5)
PUSH_PAIR(x6, x7)
PUSH_PAIR(x8, lr)
ldr x0, [sp, #80] // 16*5
PUSH_WIDE_PAIR(q0, q1)
PUSH_WIDE_PAIR(q2, q3)
PUSH_WIDE_PAIR(q4, q5)
PUSH_WIDE_PAIR(q6, q7)
// Stack is aligned at 16 bytes
bl _libX11_so_tramp_resolve
mov ip0, x0
// TODO: pop pc?
POP_WIDE_PAIR(q6, q7)
POP_WIDE_PAIR(q4, q5)
POP_WIDE_PAIR(q2, q3)
POP_WIDE_PAIR(q0, q1)
POP_PAIR(x8, lr)
POP_PAIR(x6, x7)
POP_PAIR(x4, x5)
POP_PAIR(x2, x3)
POP_PAIR(x0, x1)
br lr
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl KeySymToUcs4
.p2align 4
.type KeySymToUcs4, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden KeySymToUcs4
#endif
KeySymToUcs4:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+0
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+0]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 0 & 0xffff
#if 0 > 0xffff
movk ip0, 0 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XActivateScreenSaver
.p2align 4
.type XActivateScreenSaver, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XActivateScreenSaver
#endif
XActivateScreenSaver:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1 & 0xffff
#if 1 > 0xffff
movk ip0, 1 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAddConnectionWatch
.p2align 4
.type XAddConnectionWatch, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAddConnectionWatch
#endif
XAddConnectionWatch:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+16
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+16]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 2 & 0xffff
#if 2 > 0xffff
movk ip0, 2 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAddExtension
.p2align 4
.type XAddExtension, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAddExtension
#endif
XAddExtension:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+24
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+24]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 3 & 0xffff
#if 3 > 0xffff
movk ip0, 3 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAddHost
.p2align 4
.type XAddHost, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAddHost
#endif
XAddHost:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+32
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+32]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 4 & 0xffff
#if 4 > 0xffff
movk ip0, 4 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAddHosts
.p2align 4
.type XAddHosts, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAddHosts
#endif
XAddHosts:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+40
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+40]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 5 & 0xffff
#if 5 > 0xffff
movk ip0, 5 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAddPixel
.p2align 4
.type XAddPixel, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAddPixel
#endif
XAddPixel:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+48
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+48]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 6 & 0xffff
#if 6 > 0xffff
movk ip0, 6 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAddToExtensionList
.p2align 4
.type XAddToExtensionList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAddToExtensionList
#endif
XAddToExtensionList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+56
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+56]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 7 & 0xffff
#if 7 > 0xffff
movk ip0, 7 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAddToSaveSet
.p2align 4
.type XAddToSaveSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAddToSaveSet
#endif
XAddToSaveSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+64
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+64]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 8 & 0xffff
#if 8 > 0xffff
movk ip0, 8 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllPlanes
.p2align 4
.type XAllPlanes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllPlanes
#endif
XAllPlanes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+72
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+72]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 9 & 0xffff
#if 9 > 0xffff
movk ip0, 9 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocClassHint
.p2align 4
.type XAllocClassHint, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocClassHint
#endif
XAllocClassHint:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+80
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+80]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 10 & 0xffff
#if 10 > 0xffff
movk ip0, 10 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocColor
.p2align 4
.type XAllocColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocColor
#endif
XAllocColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+88
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+88]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 11 & 0xffff
#if 11 > 0xffff
movk ip0, 11 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocColorCells
.p2align 4
.type XAllocColorCells, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocColorCells
#endif
XAllocColorCells:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+96
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+96]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 12 & 0xffff
#if 12 > 0xffff
movk ip0, 12 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocColorPlanes
.p2align 4
.type XAllocColorPlanes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocColorPlanes
#endif
XAllocColorPlanes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 13 & 0xffff
#if 13 > 0xffff
movk ip0, 13 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocIconSize
.p2align 4
.type XAllocIconSize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocIconSize
#endif
XAllocIconSize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 14 & 0xffff
#if 14 > 0xffff
movk ip0, 14 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocNamedColor
.p2align 4
.type XAllocNamedColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocNamedColor
#endif
XAllocNamedColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 15 & 0xffff
#if 15 > 0xffff
movk ip0, 15 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocSizeHints
.p2align 4
.type XAllocSizeHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocSizeHints
#endif
XAllocSizeHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 16 & 0xffff
#if 16 > 0xffff
movk ip0, 16 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocStandardColormap
.p2align 4
.type XAllocStandardColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocStandardColormap
#endif
XAllocStandardColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 17 & 0xffff
#if 17 > 0xffff
movk ip0, 17 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllocWMHints
.p2align 4
.type XAllocWMHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllocWMHints
#endif
XAllocWMHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 18 & 0xffff
#if 18 > 0xffff
movk ip0, 18 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAllowEvents
.p2align 4
.type XAllowEvents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAllowEvents
#endif
XAllowEvents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 19 & 0xffff
#if 19 > 0xffff
movk ip0, 19 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAutoRepeatOff
.p2align 4
.type XAutoRepeatOff, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAutoRepeatOff
#endif
XAutoRepeatOff:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 20 & 0xffff
#if 20 > 0xffff
movk ip0, 20 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XAutoRepeatOn
.p2align 4
.type XAutoRepeatOn, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XAutoRepeatOn
#endif
XAutoRepeatOn:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 21 & 0xffff
#if 21 > 0xffff
movk ip0, 21 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XBaseFontNameListOfFontSet
.p2align 4
.type XBaseFontNameListOfFontSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XBaseFontNameListOfFontSet
#endif
XBaseFontNameListOfFontSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 22 & 0xffff
#if 22 > 0xffff
movk ip0, 22 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XBell
.p2align 4
.type XBell, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XBell
#endif
XBell:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 23 & 0xffff
#if 23 > 0xffff
movk ip0, 23 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XBitmapBitOrder
.p2align 4
.type XBitmapBitOrder, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XBitmapBitOrder
#endif
XBitmapBitOrder:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 24 & 0xffff
#if 24 > 0xffff
movk ip0, 24 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XBitmapPad
.p2align 4
.type XBitmapPad, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XBitmapPad
#endif
XBitmapPad:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 25 & 0xffff
#if 25 > 0xffff
movk ip0, 25 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XBitmapUnit
.p2align 4
.type XBitmapUnit, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XBitmapUnit
#endif
XBitmapUnit:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 26 & 0xffff
#if 26 > 0xffff
movk ip0, 26 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XBlackPixel
.p2align 4
.type XBlackPixel, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XBlackPixel
#endif
XBlackPixel:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 27 & 0xffff
#if 27 > 0xffff
movk ip0, 27 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XBlackPixelOfScreen
.p2align 4
.type XBlackPixelOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XBlackPixelOfScreen
#endif
XBlackPixelOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 28 & 0xffff
#if 28 > 0xffff
movk ip0, 28 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCellsOfScreen
.p2align 4
.type XCellsOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCellsOfScreen
#endif
XCellsOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 29 & 0xffff
#if 29 > 0xffff
movk ip0, 29 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XChangeActivePointerGrab
.p2align 4
.type XChangeActivePointerGrab, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XChangeActivePointerGrab
#endif
XChangeActivePointerGrab:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 30 & 0xffff
#if 30 > 0xffff
movk ip0, 30 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XChangeGC
.p2align 4
.type XChangeGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XChangeGC
#endif
XChangeGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 31 & 0xffff
#if 31 > 0xffff
movk ip0, 31 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XChangeKeyboardControl
.p2align 4
.type XChangeKeyboardControl, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XChangeKeyboardControl
#endif
XChangeKeyboardControl:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 32 & 0xffff
#if 32 > 0xffff
movk ip0, 32 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XChangeKeyboardMapping
.p2align 4
.type XChangeKeyboardMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XChangeKeyboardMapping
#endif
XChangeKeyboardMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 33 & 0xffff
#if 33 > 0xffff
movk ip0, 33 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XChangePointerControl
.p2align 4
.type XChangePointerControl, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XChangePointerControl
#endif
XChangePointerControl:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 34 & 0xffff
#if 34 > 0xffff
movk ip0, 34 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XChangeProperty
.p2align 4
.type XChangeProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XChangeProperty
#endif
XChangeProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 35 & 0xffff
#if 35 > 0xffff
movk ip0, 35 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XChangeSaveSet
.p2align 4
.type XChangeSaveSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XChangeSaveSet
#endif
XChangeSaveSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 36 & 0xffff
#if 36 > 0xffff
movk ip0, 36 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XChangeWindowAttributes
.p2align 4
.type XChangeWindowAttributes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XChangeWindowAttributes
#endif
XChangeWindowAttributes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 37 & 0xffff
#if 37 > 0xffff
movk ip0, 37 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCheckIfEvent
.p2align 4
.type XCheckIfEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCheckIfEvent
#endif
XCheckIfEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 38 & 0xffff
#if 38 > 0xffff
movk ip0, 38 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCheckMaskEvent
.p2align 4
.type XCheckMaskEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCheckMaskEvent
#endif
XCheckMaskEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 39 & 0xffff
#if 39 > 0xffff
movk ip0, 39 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCheckTypedEvent
.p2align 4
.type XCheckTypedEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCheckTypedEvent
#endif
XCheckTypedEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 40 & 0xffff
#if 40 > 0xffff
movk ip0, 40 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCheckTypedWindowEvent
.p2align 4
.type XCheckTypedWindowEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCheckTypedWindowEvent
#endif
XCheckTypedWindowEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 41 & 0xffff
#if 41 > 0xffff
movk ip0, 41 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCheckWindowEvent
.p2align 4
.type XCheckWindowEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCheckWindowEvent
#endif
XCheckWindowEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 42 & 0xffff
#if 42 > 0xffff
movk ip0, 42 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCirculateSubwindows
.p2align 4
.type XCirculateSubwindows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCirculateSubwindows
#endif
XCirculateSubwindows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 43 & 0xffff
#if 43 > 0xffff
movk ip0, 43 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCirculateSubwindowsDown
.p2align 4
.type XCirculateSubwindowsDown, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCirculateSubwindowsDown
#endif
XCirculateSubwindowsDown:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 44 & 0xffff
#if 44 > 0xffff
movk ip0, 44 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCirculateSubwindowsUp
.p2align 4
.type XCirculateSubwindowsUp, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCirculateSubwindowsUp
#endif
XCirculateSubwindowsUp:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 45 & 0xffff
#if 45 > 0xffff
movk ip0, 45 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XClearArea
.p2align 4
.type XClearArea, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XClearArea
#endif
XClearArea:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 46 & 0xffff
#if 46 > 0xffff
movk ip0, 46 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XClearWindow
.p2align 4
.type XClearWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XClearWindow
#endif
XClearWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 47 & 0xffff
#if 47 > 0xffff
movk ip0, 47 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XClipBox
.p2align 4
.type XClipBox, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XClipBox
#endif
XClipBox:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 48 & 0xffff
#if 48 > 0xffff
movk ip0, 48 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCloseDisplay
.p2align 4
.type XCloseDisplay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCloseDisplay
#endif
XCloseDisplay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 49 & 0xffff
#if 49 > 0xffff
movk ip0, 49 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCloseIM
.p2align 4
.type XCloseIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCloseIM
#endif
XCloseIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 50 & 0xffff
#if 50 > 0xffff
movk ip0, 50 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCloseOM
.p2align 4
.type XCloseOM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCloseOM
#endif
XCloseOM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 51 & 0xffff
#if 51 > 0xffff
movk ip0, 51 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XConfigureWindow
.p2align 4
.type XConfigureWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XConfigureWindow
#endif
XConfigureWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 52 & 0xffff
#if 52 > 0xffff
movk ip0, 52 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XConnectionNumber
.p2align 4
.type XConnectionNumber, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XConnectionNumber
#endif
XConnectionNumber:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 53 & 0xffff
#if 53 > 0xffff
movk ip0, 53 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XContextDependentDrawing
.p2align 4
.type XContextDependentDrawing, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XContextDependentDrawing
#endif
XContextDependentDrawing:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 54 & 0xffff
#if 54 > 0xffff
movk ip0, 54 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XContextualDrawing
.p2align 4
.type XContextualDrawing, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XContextualDrawing
#endif
XContextualDrawing:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 55 & 0xffff
#if 55 > 0xffff
movk ip0, 55 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XConvertCase
.p2align 4
.type XConvertCase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XConvertCase
#endif
XConvertCase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 56 & 0xffff
#if 56 > 0xffff
movk ip0, 56 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XConvertSelection
.p2align 4
.type XConvertSelection, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XConvertSelection
#endif
XConvertSelection:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 57 & 0xffff
#if 57 > 0xffff
movk ip0, 57 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCopyArea
.p2align 4
.type XCopyArea, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCopyArea
#endif
XCopyArea:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 58 & 0xffff
#if 58 > 0xffff
movk ip0, 58 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCopyColormapAndFree
.p2align 4
.type XCopyColormapAndFree, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCopyColormapAndFree
#endif
XCopyColormapAndFree:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 59 & 0xffff
#if 59 > 0xffff
movk ip0, 59 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCopyGC
.p2align 4
.type XCopyGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCopyGC
#endif
XCopyGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 60 & 0xffff
#if 60 > 0xffff
movk ip0, 60 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCopyPlane
.p2align 4
.type XCopyPlane, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCopyPlane
#endif
XCopyPlane:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 61 & 0xffff
#if 61 > 0xffff
movk ip0, 61 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateBitmapFromData
.p2align 4
.type XCreateBitmapFromData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateBitmapFromData
#endif
XCreateBitmapFromData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 62 & 0xffff
#if 62 > 0xffff
movk ip0, 62 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateColormap
.p2align 4
.type XCreateColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateColormap
#endif
XCreateColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 63 & 0xffff
#if 63 > 0xffff
movk ip0, 63 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateFontCursor
.p2align 4
.type XCreateFontCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateFontCursor
#endif
XCreateFontCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 64 & 0xffff
#if 64 > 0xffff
movk ip0, 64 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateFontSet
.p2align 4
.type XCreateFontSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateFontSet
#endif
XCreateFontSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 65 & 0xffff
#if 65 > 0xffff
movk ip0, 65 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateGC
.p2align 4
.type XCreateGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateGC
#endif
XCreateGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 66 & 0xffff
#if 66 > 0xffff
movk ip0, 66 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateGlyphCursor
.p2align 4
.type XCreateGlyphCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateGlyphCursor
#endif
XCreateGlyphCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 67 & 0xffff
#if 67 > 0xffff
movk ip0, 67 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateIC
.p2align 4
.type XCreateIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateIC
#endif
XCreateIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 68 & 0xffff
#if 68 > 0xffff
movk ip0, 68 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateImage
.p2align 4
.type XCreateImage, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateImage
#endif
XCreateImage:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 69 & 0xffff
#if 69 > 0xffff
movk ip0, 69 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateOC
.p2align 4
.type XCreateOC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateOC
#endif
XCreateOC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 70 & 0xffff
#if 70 > 0xffff
movk ip0, 70 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreatePixmap
.p2align 4
.type XCreatePixmap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreatePixmap
#endif
XCreatePixmap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 71 & 0xffff
#if 71 > 0xffff
movk ip0, 71 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreatePixmapCursor
.p2align 4
.type XCreatePixmapCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreatePixmapCursor
#endif
XCreatePixmapCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 72 & 0xffff
#if 72 > 0xffff
movk ip0, 72 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreatePixmapFromBitmapData
.p2align 4
.type XCreatePixmapFromBitmapData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreatePixmapFromBitmapData
#endif
XCreatePixmapFromBitmapData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 73 & 0xffff
#if 73 > 0xffff
movk ip0, 73 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateRegion
.p2align 4
.type XCreateRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateRegion
#endif
XCreateRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 74 & 0xffff
#if 74 > 0xffff
movk ip0, 74 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateSimpleWindow
.p2align 4
.type XCreateSimpleWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateSimpleWindow
#endif
XCreateSimpleWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 75 & 0xffff
#if 75 > 0xffff
movk ip0, 75 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XCreateWindow
.p2align 4
.type XCreateWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XCreateWindow
#endif
XCreateWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 76 & 0xffff
#if 76 > 0xffff
movk ip0, 76 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultColormap
.p2align 4
.type XDefaultColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultColormap
#endif
XDefaultColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 77 & 0xffff
#if 77 > 0xffff
movk ip0, 77 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultColormapOfScreen
.p2align 4
.type XDefaultColormapOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultColormapOfScreen
#endif
XDefaultColormapOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 78 & 0xffff
#if 78 > 0xffff
movk ip0, 78 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultDepth
.p2align 4
.type XDefaultDepth, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultDepth
#endif
XDefaultDepth:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 79 & 0xffff
#if 79 > 0xffff
movk ip0, 79 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultDepthOfScreen
.p2align 4
.type XDefaultDepthOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultDepthOfScreen
#endif
XDefaultDepthOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 80 & 0xffff
#if 80 > 0xffff
movk ip0, 80 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultGC
.p2align 4
.type XDefaultGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultGC
#endif
XDefaultGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 81 & 0xffff
#if 81 > 0xffff
movk ip0, 81 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultGCOfScreen
.p2align 4
.type XDefaultGCOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultGCOfScreen
#endif
XDefaultGCOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 82 & 0xffff
#if 82 > 0xffff
movk ip0, 82 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultRootWindow
.p2align 4
.type XDefaultRootWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultRootWindow
#endif
XDefaultRootWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 83 & 0xffff
#if 83 > 0xffff
movk ip0, 83 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultScreen
.p2align 4
.type XDefaultScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultScreen
#endif
XDefaultScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 84 & 0xffff
#if 84 > 0xffff
movk ip0, 84 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultScreenOfDisplay
.p2align 4
.type XDefaultScreenOfDisplay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultScreenOfDisplay
#endif
XDefaultScreenOfDisplay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 85 & 0xffff
#if 85 > 0xffff
movk ip0, 85 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultString
.p2align 4
.type XDefaultString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultString
#endif
XDefaultString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 86 & 0xffff
#if 86 > 0xffff
movk ip0, 86 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultVisual
.p2align 4
.type XDefaultVisual, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultVisual
#endif
XDefaultVisual:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 87 & 0xffff
#if 87 > 0xffff
movk ip0, 87 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefaultVisualOfScreen
.p2align 4
.type XDefaultVisualOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefaultVisualOfScreen
#endif
XDefaultVisualOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 88 & 0xffff
#if 88 > 0xffff
movk ip0, 88 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDefineCursor
.p2align 4
.type XDefineCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDefineCursor
#endif
XDefineCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 89 & 0xffff
#if 89 > 0xffff
movk ip0, 89 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDeleteContext
.p2align 4
.type XDeleteContext, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDeleteContext
#endif
XDeleteContext:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 90 & 0xffff
#if 90 > 0xffff
movk ip0, 90 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDeleteModifiermapEntry
.p2align 4
.type XDeleteModifiermapEntry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDeleteModifiermapEntry
#endif
XDeleteModifiermapEntry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 91 & 0xffff
#if 91 > 0xffff
movk ip0, 91 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDeleteProperty
.p2align 4
.type XDeleteProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDeleteProperty
#endif
XDeleteProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 92 & 0xffff
#if 92 > 0xffff
movk ip0, 92 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDestroyIC
.p2align 4
.type XDestroyIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDestroyIC
#endif
XDestroyIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 93 & 0xffff
#if 93 > 0xffff
movk ip0, 93 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDestroyImage
.p2align 4
.type XDestroyImage, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDestroyImage
#endif
XDestroyImage:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 94 & 0xffff
#if 94 > 0xffff
movk ip0, 94 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDestroyOC
.p2align 4
.type XDestroyOC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDestroyOC
#endif
XDestroyOC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 95 & 0xffff
#if 95 > 0xffff
movk ip0, 95 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDestroyRegion
.p2align 4
.type XDestroyRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDestroyRegion
#endif
XDestroyRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 96 & 0xffff
#if 96 > 0xffff
movk ip0, 96 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDestroySubwindows
.p2align 4
.type XDestroySubwindows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDestroySubwindows
#endif
XDestroySubwindows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 97 & 0xffff
#if 97 > 0xffff
movk ip0, 97 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDestroyWindow
.p2align 4
.type XDestroyWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDestroyWindow
#endif
XDestroyWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 98 & 0xffff
#if 98 > 0xffff
movk ip0, 98 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDirectionalDependentDrawing
.p2align 4
.type XDirectionalDependentDrawing, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDirectionalDependentDrawing
#endif
XDirectionalDependentDrawing:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 99 & 0xffff
#if 99 > 0xffff
movk ip0, 99 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisableAccessControl
.p2align 4
.type XDisableAccessControl, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisableAccessControl
#endif
XDisableAccessControl:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 100 & 0xffff
#if 100 > 0xffff
movk ip0, 100 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayCells
.p2align 4
.type XDisplayCells, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayCells
#endif
XDisplayCells:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 101 & 0xffff
#if 101 > 0xffff
movk ip0, 101 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayHeight
.p2align 4
.type XDisplayHeight, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayHeight
#endif
XDisplayHeight:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 102 & 0xffff
#if 102 > 0xffff
movk ip0, 102 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayHeightMM
.p2align 4
.type XDisplayHeightMM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayHeightMM
#endif
XDisplayHeightMM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 103 & 0xffff
#if 103 > 0xffff
movk ip0, 103 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayKeycodes
.p2align 4
.type XDisplayKeycodes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayKeycodes
#endif
XDisplayKeycodes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 104 & 0xffff
#if 104 > 0xffff
movk ip0, 104 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayMotionBufferSize
.p2align 4
.type XDisplayMotionBufferSize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayMotionBufferSize
#endif
XDisplayMotionBufferSize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 105 & 0xffff
#if 105 > 0xffff
movk ip0, 105 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayName
.p2align 4
.type XDisplayName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayName
#endif
XDisplayName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 106 & 0xffff
#if 106 > 0xffff
movk ip0, 106 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayOfIM
.p2align 4
.type XDisplayOfIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayOfIM
#endif
XDisplayOfIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 107 & 0xffff
#if 107 > 0xffff
movk ip0, 107 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayOfOM
.p2align 4
.type XDisplayOfOM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayOfOM
#endif
XDisplayOfOM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 108 & 0xffff
#if 108 > 0xffff
movk ip0, 108 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayOfScreen
.p2align 4
.type XDisplayOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayOfScreen
#endif
XDisplayOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 109 & 0xffff
#if 109 > 0xffff
movk ip0, 109 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayPlanes
.p2align 4
.type XDisplayPlanes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayPlanes
#endif
XDisplayPlanes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 110 & 0xffff
#if 110 > 0xffff
movk ip0, 110 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayString
.p2align 4
.type XDisplayString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayString
#endif
XDisplayString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 111 & 0xffff
#if 111 > 0xffff
movk ip0, 111 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayWidth
.p2align 4
.type XDisplayWidth, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayWidth
#endif
XDisplayWidth:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 112 & 0xffff
#if 112 > 0xffff
movk ip0, 112 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDisplayWidthMM
.p2align 4
.type XDisplayWidthMM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDisplayWidthMM
#endif
XDisplayWidthMM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 113 & 0xffff
#if 113 > 0xffff
movk ip0, 113 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDoesBackingStore
.p2align 4
.type XDoesBackingStore, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDoesBackingStore
#endif
XDoesBackingStore:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 114 & 0xffff
#if 114 > 0xffff
movk ip0, 114 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDoesSaveUnders
.p2align 4
.type XDoesSaveUnders, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDoesSaveUnders
#endif
XDoesSaveUnders:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 115 & 0xffff
#if 115 > 0xffff
movk ip0, 115 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawArc
.p2align 4
.type XDrawArc, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawArc
#endif
XDrawArc:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 116 & 0xffff
#if 116 > 0xffff
movk ip0, 116 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawArcs
.p2align 4
.type XDrawArcs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawArcs
#endif
XDrawArcs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 117 & 0xffff
#if 117 > 0xffff
movk ip0, 117 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawImageString
.p2align 4
.type XDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawImageString
#endif
XDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 118 & 0xffff
#if 118 > 0xffff
movk ip0, 118 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawImageString16
.p2align 4
.type XDrawImageString16, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawImageString16
#endif
XDrawImageString16:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 119 & 0xffff
#if 119 > 0xffff
movk ip0, 119 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawLine
.p2align 4
.type XDrawLine, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawLine
#endif
XDrawLine:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 120 & 0xffff
#if 120 > 0xffff
movk ip0, 120 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawLines
.p2align 4
.type XDrawLines, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawLines
#endif
XDrawLines:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 121 & 0xffff
#if 121 > 0xffff
movk ip0, 121 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawPoint
.p2align 4
.type XDrawPoint, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawPoint
#endif
XDrawPoint:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 122 & 0xffff
#if 122 > 0xffff
movk ip0, 122 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawPoints
.p2align 4
.type XDrawPoints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawPoints
#endif
XDrawPoints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 123 & 0xffff
#if 123 > 0xffff
movk ip0, 123 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawRectangle
.p2align 4
.type XDrawRectangle, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawRectangle
#endif
XDrawRectangle:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 124 & 0xffff
#if 124 > 0xffff
movk ip0, 124 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawRectangles
.p2align 4
.type XDrawRectangles, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawRectangles
#endif
XDrawRectangles:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 125 & 0xffff
#if 125 > 0xffff
movk ip0, 125 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawSegments
.p2align 4
.type XDrawSegments, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawSegments
#endif
XDrawSegments:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 126 & 0xffff
#if 126 > 0xffff
movk ip0, 126 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawString
.p2align 4
.type XDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawString
#endif
XDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 127 & 0xffff
#if 127 > 0xffff
movk ip0, 127 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawString16
.p2align 4
.type XDrawString16, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawString16
#endif
XDrawString16:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 128 & 0xffff
#if 128 > 0xffff
movk ip0, 128 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawText
.p2align 4
.type XDrawText, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawText
#endif
XDrawText:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 129 & 0xffff
#if 129 > 0xffff
movk ip0, 129 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XDrawText16
.p2align 4
.type XDrawText16, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XDrawText16
#endif
XDrawText16:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 130 & 0xffff
#if 130 > 0xffff
movk ip0, 130 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XEHeadOfExtensionList
.p2align 4
.type XEHeadOfExtensionList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XEHeadOfExtensionList
#endif
XEHeadOfExtensionList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 131 & 0xffff
#if 131 > 0xffff
movk ip0, 131 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetBeforeFlush
.p2align 4
.type XESetBeforeFlush, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetBeforeFlush
#endif
XESetBeforeFlush:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 132 & 0xffff
#if 132 > 0xffff
movk ip0, 132 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetCloseDisplay
.p2align 4
.type XESetCloseDisplay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetCloseDisplay
#endif
XESetCloseDisplay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 133 & 0xffff
#if 133 > 0xffff
movk ip0, 133 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetCopyEventCookie
.p2align 4
.type XESetCopyEventCookie, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetCopyEventCookie
#endif
XESetCopyEventCookie:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 134 & 0xffff
#if 134 > 0xffff
movk ip0, 134 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetCopyGC
.p2align 4
.type XESetCopyGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetCopyGC
#endif
XESetCopyGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 135 & 0xffff
#if 135 > 0xffff
movk ip0, 135 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetCreateFont
.p2align 4
.type XESetCreateFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetCreateFont
#endif
XESetCreateFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 136 & 0xffff
#if 136 > 0xffff
movk ip0, 136 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetCreateGC
.p2align 4
.type XESetCreateGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetCreateGC
#endif
XESetCreateGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 137 & 0xffff
#if 137 > 0xffff
movk ip0, 137 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetError
.p2align 4
.type XESetError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetError
#endif
XESetError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 138 & 0xffff
#if 138 > 0xffff
movk ip0, 138 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetErrorString
.p2align 4
.type XESetErrorString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetErrorString
#endif
XESetErrorString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 139 & 0xffff
#if 139 > 0xffff
movk ip0, 139 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetEventToWire
.p2align 4
.type XESetEventToWire, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetEventToWire
#endif
XESetEventToWire:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 140 & 0xffff
#if 140 > 0xffff
movk ip0, 140 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetFlushGC
.p2align 4
.type XESetFlushGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetFlushGC
#endif
XESetFlushGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 141 & 0xffff
#if 141 > 0xffff
movk ip0, 141 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetFreeFont
.p2align 4
.type XESetFreeFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetFreeFont
#endif
XESetFreeFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 142 & 0xffff
#if 142 > 0xffff
movk ip0, 142 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetFreeGC
.p2align 4
.type XESetFreeGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetFreeGC
#endif
XESetFreeGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 143 & 0xffff
#if 143 > 0xffff
movk ip0, 143 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetPrintErrorValues
.p2align 4
.type XESetPrintErrorValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetPrintErrorValues
#endif
XESetPrintErrorValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 144 & 0xffff
#if 144 > 0xffff
movk ip0, 144 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetWireToError
.p2align 4
.type XESetWireToError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetWireToError
#endif
XESetWireToError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 145 & 0xffff
#if 145 > 0xffff
movk ip0, 145 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetWireToEvent
.p2align 4
.type XESetWireToEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetWireToEvent
#endif
XESetWireToEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 146 & 0xffff
#if 146 > 0xffff
movk ip0, 146 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XESetWireToEventCookie
.p2align 4
.type XESetWireToEventCookie, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XESetWireToEventCookie
#endif
XESetWireToEventCookie:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 147 & 0xffff
#if 147 > 0xffff
movk ip0, 147 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XEmptyRegion
.p2align 4
.type XEmptyRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XEmptyRegion
#endif
XEmptyRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 148 & 0xffff
#if 148 > 0xffff
movk ip0, 148 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XEnableAccessControl
.p2align 4
.type XEnableAccessControl, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XEnableAccessControl
#endif
XEnableAccessControl:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 149 & 0xffff
#if 149 > 0xffff
movk ip0, 149 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XEqualRegion
.p2align 4
.type XEqualRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XEqualRegion
#endif
XEqualRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 150 & 0xffff
#if 150 > 0xffff
movk ip0, 150 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XEventMaskOfScreen
.p2align 4
.type XEventMaskOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XEventMaskOfScreen
#endif
XEventMaskOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 151 & 0xffff
#if 151 > 0xffff
movk ip0, 151 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XEventsQueued
.p2align 4
.type XEventsQueued, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XEventsQueued
#endif
XEventsQueued:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 152 & 0xffff
#if 152 > 0xffff
movk ip0, 152 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XExtendedMaxRequestSize
.p2align 4
.type XExtendedMaxRequestSize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XExtendedMaxRequestSize
#endif
XExtendedMaxRequestSize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 153 & 0xffff
#if 153 > 0xffff
movk ip0, 153 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XExtentsOfFontSet
.p2align 4
.type XExtentsOfFontSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XExtentsOfFontSet
#endif
XExtentsOfFontSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 154 & 0xffff
#if 154 > 0xffff
movk ip0, 154 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFetchBuffer
.p2align 4
.type XFetchBuffer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFetchBuffer
#endif
XFetchBuffer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 155 & 0xffff
#if 155 > 0xffff
movk ip0, 155 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFetchBytes
.p2align 4
.type XFetchBytes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFetchBytes
#endif
XFetchBytes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 156 & 0xffff
#if 156 > 0xffff
movk ip0, 156 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFetchName
.p2align 4
.type XFetchName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFetchName
#endif
XFetchName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 157 & 0xffff
#if 157 > 0xffff
movk ip0, 157 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFillArc
.p2align 4
.type XFillArc, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFillArc
#endif
XFillArc:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 158 & 0xffff
#if 158 > 0xffff
movk ip0, 158 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFillArcs
.p2align 4
.type XFillArcs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFillArcs
#endif
XFillArcs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 159 & 0xffff
#if 159 > 0xffff
movk ip0, 159 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFillPolygon
.p2align 4
.type XFillPolygon, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFillPolygon
#endif
XFillPolygon:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 160 & 0xffff
#if 160 > 0xffff
movk ip0, 160 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFillRectangle
.p2align 4
.type XFillRectangle, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFillRectangle
#endif
XFillRectangle:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 161 & 0xffff
#if 161 > 0xffff
movk ip0, 161 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFillRectangles
.p2align 4
.type XFillRectangles, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFillRectangles
#endif
XFillRectangles:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 162 & 0xffff
#if 162 > 0xffff
movk ip0, 162 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFilterEvent
.p2align 4
.type XFilterEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFilterEvent
#endif
XFilterEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 163 & 0xffff
#if 163 > 0xffff
movk ip0, 163 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFindContext
.p2align 4
.type XFindContext, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFindContext
#endif
XFindContext:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 164 & 0xffff
#if 164 > 0xffff
movk ip0, 164 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFindOnExtensionList
.p2align 4
.type XFindOnExtensionList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFindOnExtensionList
#endif
XFindOnExtensionList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 165 & 0xffff
#if 165 > 0xffff
movk ip0, 165 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFlush
.p2align 4
.type XFlush, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFlush
#endif
XFlush:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 166 & 0xffff
#if 166 > 0xffff
movk ip0, 166 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFlushGC
.p2align 4
.type XFlushGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFlushGC
#endif
XFlushGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 167 & 0xffff
#if 167 > 0xffff
movk ip0, 167 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFontsOfFontSet
.p2align 4
.type XFontsOfFontSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFontsOfFontSet
#endif
XFontsOfFontSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 168 & 0xffff
#if 168 > 0xffff
movk ip0, 168 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XForceScreenSaver
.p2align 4
.type XForceScreenSaver, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XForceScreenSaver
#endif
XForceScreenSaver:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 169 & 0xffff
#if 169 > 0xffff
movk ip0, 169 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFree
.p2align 4
.type XFree, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFree
#endif
XFree:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 170 & 0xffff
#if 170 > 0xffff
movk ip0, 170 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeColormap
.p2align 4
.type XFreeColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeColormap
#endif
XFreeColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 171 & 0xffff
#if 171 > 0xffff
movk ip0, 171 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeColors
.p2align 4
.type XFreeColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeColors
#endif
XFreeColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 172 & 0xffff
#if 172 > 0xffff
movk ip0, 172 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeCursor
.p2align 4
.type XFreeCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeCursor
#endif
XFreeCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 173 & 0xffff
#if 173 > 0xffff
movk ip0, 173 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeEventData
.p2align 4
.type XFreeEventData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeEventData
#endif
XFreeEventData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 174 & 0xffff
#if 174 > 0xffff
movk ip0, 174 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeExtensionList
.p2align 4
.type XFreeExtensionList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeExtensionList
#endif
XFreeExtensionList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 175 & 0xffff
#if 175 > 0xffff
movk ip0, 175 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeFont
.p2align 4
.type XFreeFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeFont
#endif
XFreeFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 176 & 0xffff
#if 176 > 0xffff
movk ip0, 176 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeFontInfo
.p2align 4
.type XFreeFontInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeFontInfo
#endif
XFreeFontInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 177 & 0xffff
#if 177 > 0xffff
movk ip0, 177 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeFontNames
.p2align 4
.type XFreeFontNames, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeFontNames
#endif
XFreeFontNames:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 178 & 0xffff
#if 178 > 0xffff
movk ip0, 178 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeFontPath
.p2align 4
.type XFreeFontPath, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeFontPath
#endif
XFreeFontPath:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 179 & 0xffff
#if 179 > 0xffff
movk ip0, 179 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeFontSet
.p2align 4
.type XFreeFontSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeFontSet
#endif
XFreeFontSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 180 & 0xffff
#if 180 > 0xffff
movk ip0, 180 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeGC
.p2align 4
.type XFreeGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeGC
#endif
XFreeGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 181 & 0xffff
#if 181 > 0xffff
movk ip0, 181 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeModifiermap
.p2align 4
.type XFreeModifiermap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeModifiermap
#endif
XFreeModifiermap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 182 & 0xffff
#if 182 > 0xffff
movk ip0, 182 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreePixmap
.p2align 4
.type XFreePixmap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreePixmap
#endif
XFreePixmap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 183 & 0xffff
#if 183 > 0xffff
movk ip0, 183 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeStringList
.p2align 4
.type XFreeStringList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeStringList
#endif
XFreeStringList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 184 & 0xffff
#if 184 > 0xffff
movk ip0, 184 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XFreeThreads
.p2align 4
.type XFreeThreads, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XFreeThreads
#endif
XFreeThreads:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 185 & 0xffff
#if 185 > 0xffff
movk ip0, 185 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGContextFromGC
.p2align 4
.type XGContextFromGC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGContextFromGC
#endif
XGContextFromGC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 186 & 0xffff
#if 186 > 0xffff
movk ip0, 186 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGeometry
.p2align 4
.type XGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGeometry
#endif
XGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 187 & 0xffff
#if 187 > 0xffff
movk ip0, 187 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetAtomName
.p2align 4
.type XGetAtomName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetAtomName
#endif
XGetAtomName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 188 & 0xffff
#if 188 > 0xffff
movk ip0, 188 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetAtomNames
.p2align 4
.type XGetAtomNames, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetAtomNames
#endif
XGetAtomNames:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 189 & 0xffff
#if 189 > 0xffff
movk ip0, 189 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetClassHint
.p2align 4
.type XGetClassHint, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetClassHint
#endif
XGetClassHint:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 190 & 0xffff
#if 190 > 0xffff
movk ip0, 190 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetCommand
.p2align 4
.type XGetCommand, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetCommand
#endif
XGetCommand:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 191 & 0xffff
#if 191 > 0xffff
movk ip0, 191 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetDefault
.p2align 4
.type XGetDefault, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetDefault
#endif
XGetDefault:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 192 & 0xffff
#if 192 > 0xffff
movk ip0, 192 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetErrorDatabaseText
.p2align 4
.type XGetErrorDatabaseText, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetErrorDatabaseText
#endif
XGetErrorDatabaseText:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 193 & 0xffff
#if 193 > 0xffff
movk ip0, 193 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetErrorText
.p2align 4
.type XGetErrorText, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetErrorText
#endif
XGetErrorText:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 194 & 0xffff
#if 194 > 0xffff
movk ip0, 194 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetEventData
.p2align 4
.type XGetEventData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetEventData
#endif
XGetEventData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 195 & 0xffff
#if 195 > 0xffff
movk ip0, 195 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetFontPath
.p2align 4
.type XGetFontPath, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetFontPath
#endif
XGetFontPath:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 196 & 0xffff
#if 196 > 0xffff
movk ip0, 196 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetFontProperty
.p2align 4
.type XGetFontProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetFontProperty
#endif
XGetFontProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 197 & 0xffff
#if 197 > 0xffff
movk ip0, 197 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetGCValues
.p2align 4
.type XGetGCValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetGCValues
#endif
XGetGCValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 198 & 0xffff
#if 198 > 0xffff
movk ip0, 198 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetGeometry
.p2align 4
.type XGetGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetGeometry
#endif
XGetGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 199 & 0xffff
#if 199 > 0xffff
movk ip0, 199 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetICValues
.p2align 4
.type XGetICValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetICValues
#endif
XGetICValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 200 & 0xffff
#if 200 > 0xffff
movk ip0, 200 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetIMValues
.p2align 4
.type XGetIMValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetIMValues
#endif
XGetIMValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 201 & 0xffff
#if 201 > 0xffff
movk ip0, 201 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetIconName
.p2align 4
.type XGetIconName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetIconName
#endif
XGetIconName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 202 & 0xffff
#if 202 > 0xffff
movk ip0, 202 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetIconSizes
.p2align 4
.type XGetIconSizes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetIconSizes
#endif
XGetIconSizes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 203 & 0xffff
#if 203 > 0xffff
movk ip0, 203 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetImage
.p2align 4
.type XGetImage, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetImage
#endif
XGetImage:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 204 & 0xffff
#if 204 > 0xffff
movk ip0, 204 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetInputFocus
.p2align 4
.type XGetInputFocus, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetInputFocus
#endif
XGetInputFocus:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 205 & 0xffff
#if 205 > 0xffff
movk ip0, 205 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetKeyboardControl
.p2align 4
.type XGetKeyboardControl, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetKeyboardControl
#endif
XGetKeyboardControl:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 206 & 0xffff
#if 206 > 0xffff
movk ip0, 206 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetKeyboardMapping
.p2align 4
.type XGetKeyboardMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetKeyboardMapping
#endif
XGetKeyboardMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 207 & 0xffff
#if 207 > 0xffff
movk ip0, 207 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetModifierMapping
.p2align 4
.type XGetModifierMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetModifierMapping
#endif
XGetModifierMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 208 & 0xffff
#if 208 > 0xffff
movk ip0, 208 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetMotionEvents
.p2align 4
.type XGetMotionEvents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetMotionEvents
#endif
XGetMotionEvents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 209 & 0xffff
#if 209 > 0xffff
movk ip0, 209 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetNormalHints
.p2align 4
.type XGetNormalHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetNormalHints
#endif
XGetNormalHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 210 & 0xffff
#if 210 > 0xffff
movk ip0, 210 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetOCValues
.p2align 4
.type XGetOCValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetOCValues
#endif
XGetOCValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 211 & 0xffff
#if 211 > 0xffff
movk ip0, 211 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetOMValues
.p2align 4
.type XGetOMValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetOMValues
#endif
XGetOMValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 212 & 0xffff
#if 212 > 0xffff
movk ip0, 212 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetPixel
.p2align 4
.type XGetPixel, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetPixel
#endif
XGetPixel:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 213 & 0xffff
#if 213 > 0xffff
movk ip0, 213 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetPointerControl
.p2align 4
.type XGetPointerControl, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetPointerControl
#endif
XGetPointerControl:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 214 & 0xffff
#if 214 > 0xffff
movk ip0, 214 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetPointerMapping
.p2align 4
.type XGetPointerMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetPointerMapping
#endif
XGetPointerMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 215 & 0xffff
#if 215 > 0xffff
movk ip0, 215 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetRGBColormaps
.p2align 4
.type XGetRGBColormaps, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetRGBColormaps
#endif
XGetRGBColormaps:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 216 & 0xffff
#if 216 > 0xffff
movk ip0, 216 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetScreenSaver
.p2align 4
.type XGetScreenSaver, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetScreenSaver
#endif
XGetScreenSaver:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 217 & 0xffff
#if 217 > 0xffff
movk ip0, 217 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetSelectionOwner
.p2align 4
.type XGetSelectionOwner, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetSelectionOwner
#endif
XGetSelectionOwner:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 218 & 0xffff
#if 218 > 0xffff
movk ip0, 218 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetSizeHints
.p2align 4
.type XGetSizeHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetSizeHints
#endif
XGetSizeHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 219 & 0xffff
#if 219 > 0xffff
movk ip0, 219 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetStandardColormap
.p2align 4
.type XGetStandardColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetStandardColormap
#endif
XGetStandardColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 220 & 0xffff
#if 220 > 0xffff
movk ip0, 220 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetSubImage
.p2align 4
.type XGetSubImage, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetSubImage
#endif
XGetSubImage:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 221 & 0xffff
#if 221 > 0xffff
movk ip0, 221 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetTextProperty
.p2align 4
.type XGetTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetTextProperty
#endif
XGetTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 222 & 0xffff
#if 222 > 0xffff
movk ip0, 222 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetTransientForHint
.p2align 4
.type XGetTransientForHint, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetTransientForHint
#endif
XGetTransientForHint:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 223 & 0xffff
#if 223 > 0xffff
movk ip0, 223 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetVisualInfo
.p2align 4
.type XGetVisualInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetVisualInfo
#endif
XGetVisualInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 224 & 0xffff
#if 224 > 0xffff
movk ip0, 224 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWMClientMachine
.p2align 4
.type XGetWMClientMachine, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWMClientMachine
#endif
XGetWMClientMachine:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 225 & 0xffff
#if 225 > 0xffff
movk ip0, 225 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWMColormapWindows
.p2align 4
.type XGetWMColormapWindows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWMColormapWindows
#endif
XGetWMColormapWindows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 226 & 0xffff
#if 226 > 0xffff
movk ip0, 226 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWMHints
.p2align 4
.type XGetWMHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWMHints
#endif
XGetWMHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 227 & 0xffff
#if 227 > 0xffff
movk ip0, 227 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWMIconName
.p2align 4
.type XGetWMIconName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWMIconName
#endif
XGetWMIconName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 228 & 0xffff
#if 228 > 0xffff
movk ip0, 228 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWMName
.p2align 4
.type XGetWMName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWMName
#endif
XGetWMName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 229 & 0xffff
#if 229 > 0xffff
movk ip0, 229 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWMNormalHints
.p2align 4
.type XGetWMNormalHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWMNormalHints
#endif
XGetWMNormalHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 230 & 0xffff
#if 230 > 0xffff
movk ip0, 230 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWMProtocols
.p2align 4
.type XGetWMProtocols, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWMProtocols
#endif
XGetWMProtocols:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 231 & 0xffff
#if 231 > 0xffff
movk ip0, 231 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWMSizeHints
.p2align 4
.type XGetWMSizeHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWMSizeHints
#endif
XGetWMSizeHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 232 & 0xffff
#if 232 > 0xffff
movk ip0, 232 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWindowAttributes
.p2align 4
.type XGetWindowAttributes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWindowAttributes
#endif
XGetWindowAttributes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 233 & 0xffff
#if 233 > 0xffff
movk ip0, 233 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetWindowProperty
.p2align 4
.type XGetWindowProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetWindowProperty
#endif
XGetWindowProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 234 & 0xffff
#if 234 > 0xffff
movk ip0, 234 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGetZoomHints
.p2align 4
.type XGetZoomHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGetZoomHints
#endif
XGetZoomHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 235 & 0xffff
#if 235 > 0xffff
movk ip0, 235 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGrabButton
.p2align 4
.type XGrabButton, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGrabButton
#endif
XGrabButton:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 236 & 0xffff
#if 236 > 0xffff
movk ip0, 236 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGrabKey
.p2align 4
.type XGrabKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGrabKey
#endif
XGrabKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 237 & 0xffff
#if 237 > 0xffff
movk ip0, 237 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGrabKeyboard
.p2align 4
.type XGrabKeyboard, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGrabKeyboard
#endif
XGrabKeyboard:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 238 & 0xffff
#if 238 > 0xffff
movk ip0, 238 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGrabPointer
.p2align 4
.type XGrabPointer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGrabPointer
#endif
XGrabPointer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 239 & 0xffff
#if 239 > 0xffff
movk ip0, 239 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XGrabServer
.p2align 4
.type XGrabServer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XGrabServer
#endif
XGrabServer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 240 & 0xffff
#if 240 > 0xffff
movk ip0, 240 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XHeightMMOfScreen
.p2align 4
.type XHeightMMOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XHeightMMOfScreen
#endif
XHeightMMOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 241 & 0xffff
#if 241 > 0xffff
movk ip0, 241 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XHeightOfScreen
.p2align 4
.type XHeightOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XHeightOfScreen
#endif
XHeightOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 242 & 0xffff
#if 242 > 0xffff
movk ip0, 242 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XIMOfIC
.p2align 4
.type XIMOfIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XIMOfIC
#endif
XIMOfIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 243 & 0xffff
#if 243 > 0xffff
movk ip0, 243 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XIconifyWindow
.p2align 4
.type XIconifyWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XIconifyWindow
#endif
XIconifyWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 244 & 0xffff
#if 244 > 0xffff
movk ip0, 244 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XIfEvent
.p2align 4
.type XIfEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XIfEvent
#endif
XIfEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 245 & 0xffff
#if 245 > 0xffff
movk ip0, 245 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XImageByteOrder
.p2align 4
.type XImageByteOrder, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XImageByteOrder
#endif
XImageByteOrder:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 246 & 0xffff
#if 246 > 0xffff
movk ip0, 246 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XInitExtension
.p2align 4
.type XInitExtension, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XInitExtension
#endif
XInitExtension:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 247 & 0xffff
#if 247 > 0xffff
movk ip0, 247 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XInitImage
.p2align 4
.type XInitImage, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XInitImage
#endif
XInitImage:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 248 & 0xffff
#if 248 > 0xffff
movk ip0, 248 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XInitThreads
.p2align 4
.type XInitThreads, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XInitThreads
#endif
XInitThreads:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+1992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+1992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 249 & 0xffff
#if 249 > 0xffff
movk ip0, 249 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XInsertModifiermapEntry
.p2align 4
.type XInsertModifiermapEntry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XInsertModifiermapEntry
#endif
XInsertModifiermapEntry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 250 & 0xffff
#if 250 > 0xffff
movk ip0, 250 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XInstallColormap
.p2align 4
.type XInstallColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XInstallColormap
#endif
XInstallColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 251 & 0xffff
#if 251 > 0xffff
movk ip0, 251 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XInternAtom
.p2align 4
.type XInternAtom, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XInternAtom
#endif
XInternAtom:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 252 & 0xffff
#if 252 > 0xffff
movk ip0, 252 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XInternAtoms
.p2align 4
.type XInternAtoms, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XInternAtoms
#endif
XInternAtoms:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 253 & 0xffff
#if 253 > 0xffff
movk ip0, 253 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XInternalConnectionNumbers
.p2align 4
.type XInternalConnectionNumbers, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XInternalConnectionNumbers
#endif
XInternalConnectionNumbers:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 254 & 0xffff
#if 254 > 0xffff
movk ip0, 254 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XIntersectRegion
.p2align 4
.type XIntersectRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XIntersectRegion
#endif
XIntersectRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 255 & 0xffff
#if 255 > 0xffff
movk ip0, 255 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XKeycodeToKeysym
.p2align 4
.type XKeycodeToKeysym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XKeycodeToKeysym
#endif
XKeycodeToKeysym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 256 & 0xffff
#if 256 > 0xffff
movk ip0, 256 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XKeysymToKeycode
.p2align 4
.type XKeysymToKeycode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XKeysymToKeycode
#endif
XKeysymToKeycode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 257 & 0xffff
#if 257 > 0xffff
movk ip0, 257 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XKeysymToString
.p2align 4
.type XKeysymToString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XKeysymToString
#endif
XKeysymToString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 258 & 0xffff
#if 258 > 0xffff
movk ip0, 258 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XKillClient
.p2align 4
.type XKillClient, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XKillClient
#endif
XKillClient:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 259 & 0xffff
#if 259 > 0xffff
movk ip0, 259 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLastKnownRequestProcessed
.p2align 4
.type XLastKnownRequestProcessed, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLastKnownRequestProcessed
#endif
XLastKnownRequestProcessed:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 260 & 0xffff
#if 260 > 0xffff
movk ip0, 260 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XListDepths
.p2align 4
.type XListDepths, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XListDepths
#endif
XListDepths:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 261 & 0xffff
#if 261 > 0xffff
movk ip0, 261 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XListExtensions
.p2align 4
.type XListExtensions, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XListExtensions
#endif
XListExtensions:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 262 & 0xffff
#if 262 > 0xffff
movk ip0, 262 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XListFonts
.p2align 4
.type XListFonts, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XListFonts
#endif
XListFonts:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 263 & 0xffff
#if 263 > 0xffff
movk ip0, 263 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XListFontsWithInfo
.p2align 4
.type XListFontsWithInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XListFontsWithInfo
#endif
XListFontsWithInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 264 & 0xffff
#if 264 > 0xffff
movk ip0, 264 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XListHosts
.p2align 4
.type XListHosts, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XListHosts
#endif
XListHosts:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 265 & 0xffff
#if 265 > 0xffff
movk ip0, 265 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XListInstalledColormaps
.p2align 4
.type XListInstalledColormaps, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XListInstalledColormaps
#endif
XListInstalledColormaps:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 266 & 0xffff
#if 266 > 0xffff
movk ip0, 266 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XListPixmapFormats
.p2align 4
.type XListPixmapFormats, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XListPixmapFormats
#endif
XListPixmapFormats:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 267 & 0xffff
#if 267 > 0xffff
movk ip0, 267 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XListProperties
.p2align 4
.type XListProperties, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XListProperties
#endif
XListProperties:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 268 & 0xffff
#if 268 > 0xffff
movk ip0, 268 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLoadFont
.p2align 4
.type XLoadFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLoadFont
#endif
XLoadFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 269 & 0xffff
#if 269 > 0xffff
movk ip0, 269 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLoadQueryFont
.p2align 4
.type XLoadQueryFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLoadQueryFont
#endif
XLoadQueryFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 270 & 0xffff
#if 270 > 0xffff
movk ip0, 270 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLocaleOfFontSet
.p2align 4
.type XLocaleOfFontSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLocaleOfFontSet
#endif
XLocaleOfFontSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 271 & 0xffff
#if 271 > 0xffff
movk ip0, 271 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLocaleOfIM
.p2align 4
.type XLocaleOfIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLocaleOfIM
#endif
XLocaleOfIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 272 & 0xffff
#if 272 > 0xffff
movk ip0, 272 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLocaleOfOM
.p2align 4
.type XLocaleOfOM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLocaleOfOM
#endif
XLocaleOfOM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 273 & 0xffff
#if 273 > 0xffff
movk ip0, 273 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLockDisplay
.p2align 4
.type XLockDisplay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLockDisplay
#endif
XLockDisplay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 274 & 0xffff
#if 274 > 0xffff
movk ip0, 274 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLookupColor
.p2align 4
.type XLookupColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLookupColor
#endif
XLookupColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 275 & 0xffff
#if 275 > 0xffff
movk ip0, 275 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLookupKeysym
.p2align 4
.type XLookupKeysym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLookupKeysym
#endif
XLookupKeysym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 276 & 0xffff
#if 276 > 0xffff
movk ip0, 276 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLookupString
.p2align 4
.type XLookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLookupString
#endif
XLookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 277 & 0xffff
#if 277 > 0xffff
movk ip0, 277 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XLowerWindow
.p2align 4
.type XLowerWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XLowerWindow
#endif
XLowerWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 278 & 0xffff
#if 278 > 0xffff
movk ip0, 278 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMapRaised
.p2align 4
.type XMapRaised, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMapRaised
#endif
XMapRaised:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 279 & 0xffff
#if 279 > 0xffff
movk ip0, 279 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMapSubwindows
.p2align 4
.type XMapSubwindows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMapSubwindows
#endif
XMapSubwindows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 280 & 0xffff
#if 280 > 0xffff
movk ip0, 280 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMapWindow
.p2align 4
.type XMapWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMapWindow
#endif
XMapWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 281 & 0xffff
#if 281 > 0xffff
movk ip0, 281 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMaskEvent
.p2align 4
.type XMaskEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMaskEvent
#endif
XMaskEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 282 & 0xffff
#if 282 > 0xffff
movk ip0, 282 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMatchVisualInfo
.p2align 4
.type XMatchVisualInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMatchVisualInfo
#endif
XMatchVisualInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 283 & 0xffff
#if 283 > 0xffff
movk ip0, 283 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMaxCmapsOfScreen
.p2align 4
.type XMaxCmapsOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMaxCmapsOfScreen
#endif
XMaxCmapsOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 284 & 0xffff
#if 284 > 0xffff
movk ip0, 284 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMaxRequestSize
.p2align 4
.type XMaxRequestSize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMaxRequestSize
#endif
XMaxRequestSize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 285 & 0xffff
#if 285 > 0xffff
movk ip0, 285 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMinCmapsOfScreen
.p2align 4
.type XMinCmapsOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMinCmapsOfScreen
#endif
XMinCmapsOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 286 & 0xffff
#if 286 > 0xffff
movk ip0, 286 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMoveResizeWindow
.p2align 4
.type XMoveResizeWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMoveResizeWindow
#endif
XMoveResizeWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 287 & 0xffff
#if 287 > 0xffff
movk ip0, 287 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XMoveWindow
.p2align 4
.type XMoveWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XMoveWindow
#endif
XMoveWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 288 & 0xffff
#if 288 > 0xffff
movk ip0, 288 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XNewModifiermap
.p2align 4
.type XNewModifiermap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XNewModifiermap
#endif
XNewModifiermap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 289 & 0xffff
#if 289 > 0xffff
movk ip0, 289 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XNextEvent
.p2align 4
.type XNextEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XNextEvent
#endif
XNextEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 290 & 0xffff
#if 290 > 0xffff
movk ip0, 290 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XNextRequest
.p2align 4
.type XNextRequest, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XNextRequest
#endif
XNextRequest:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 291 & 0xffff
#if 291 > 0xffff
movk ip0, 291 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XNoOp
.p2align 4
.type XNoOp, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XNoOp
#endif
XNoOp:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 292 & 0xffff
#if 292 > 0xffff
movk ip0, 292 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XOMOfOC
.p2align 4
.type XOMOfOC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XOMOfOC
#endif
XOMOfOC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 293 & 0xffff
#if 293 > 0xffff
movk ip0, 293 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XOffsetRegion
.p2align 4
.type XOffsetRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XOffsetRegion
#endif
XOffsetRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 294 & 0xffff
#if 294 > 0xffff
movk ip0, 294 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XOpenDisplay
.p2align 4
.type XOpenDisplay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XOpenDisplay
#endif
XOpenDisplay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 295 & 0xffff
#if 295 > 0xffff
movk ip0, 295 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XOpenIM
.p2align 4
.type XOpenIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XOpenIM
#endif
XOpenIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 296 & 0xffff
#if 296 > 0xffff
movk ip0, 296 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XOpenOM
.p2align 4
.type XOpenOM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XOpenOM
#endif
XOpenOM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 297 & 0xffff
#if 297 > 0xffff
movk ip0, 297 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XParseColor
.p2align 4
.type XParseColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XParseColor
#endif
XParseColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 298 & 0xffff
#if 298 > 0xffff
movk ip0, 298 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XParseGeometry
.p2align 4
.type XParseGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XParseGeometry
#endif
XParseGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 299 & 0xffff
#if 299 > 0xffff
movk ip0, 299 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPeekEvent
.p2align 4
.type XPeekEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPeekEvent
#endif
XPeekEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 300 & 0xffff
#if 300 > 0xffff
movk ip0, 300 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPeekIfEvent
.p2align 4
.type XPeekIfEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPeekIfEvent
#endif
XPeekIfEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 301 & 0xffff
#if 301 > 0xffff
movk ip0, 301 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPending
.p2align 4
.type XPending, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPending
#endif
XPending:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 302 & 0xffff
#if 302 > 0xffff
movk ip0, 302 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPlanesOfScreen
.p2align 4
.type XPlanesOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPlanesOfScreen
#endif
XPlanesOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 303 & 0xffff
#if 303 > 0xffff
movk ip0, 303 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPointInRegion
.p2align 4
.type XPointInRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPointInRegion
#endif
XPointInRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 304 & 0xffff
#if 304 > 0xffff
movk ip0, 304 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPolygonRegion
.p2align 4
.type XPolygonRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPolygonRegion
#endif
XPolygonRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 305 & 0xffff
#if 305 > 0xffff
movk ip0, 305 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XProcessInternalConnection
.p2align 4
.type XProcessInternalConnection, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XProcessInternalConnection
#endif
XProcessInternalConnection:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 306 & 0xffff
#if 306 > 0xffff
movk ip0, 306 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XProtocolRevision
.p2align 4
.type XProtocolRevision, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XProtocolRevision
#endif
XProtocolRevision:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 307 & 0xffff
#if 307 > 0xffff
movk ip0, 307 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XProtocolVersion
.p2align 4
.type XProtocolVersion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XProtocolVersion
#endif
XProtocolVersion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 308 & 0xffff
#if 308 > 0xffff
movk ip0, 308 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPutBackEvent
.p2align 4
.type XPutBackEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPutBackEvent
#endif
XPutBackEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 309 & 0xffff
#if 309 > 0xffff
movk ip0, 309 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPutImage
.p2align 4
.type XPutImage, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPutImage
#endif
XPutImage:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 310 & 0xffff
#if 310 > 0xffff
movk ip0, 310 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XPutPixel
.p2align 4
.type XPutPixel, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XPutPixel
#endif
XPutPixel:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 311 & 0xffff
#if 311 > 0xffff
movk ip0, 311 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQLength
.p2align 4
.type XQLength, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQLength
#endif
XQLength:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 312 & 0xffff
#if 312 > 0xffff
movk ip0, 312 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryBestCursor
.p2align 4
.type XQueryBestCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryBestCursor
#endif
XQueryBestCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 313 & 0xffff
#if 313 > 0xffff
movk ip0, 313 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryBestSize
.p2align 4
.type XQueryBestSize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryBestSize
#endif
XQueryBestSize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 314 & 0xffff
#if 314 > 0xffff
movk ip0, 314 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryBestStipple
.p2align 4
.type XQueryBestStipple, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryBestStipple
#endif
XQueryBestStipple:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 315 & 0xffff
#if 315 > 0xffff
movk ip0, 315 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryBestTile
.p2align 4
.type XQueryBestTile, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryBestTile
#endif
XQueryBestTile:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 316 & 0xffff
#if 316 > 0xffff
movk ip0, 316 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryColor
.p2align 4
.type XQueryColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryColor
#endif
XQueryColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 317 & 0xffff
#if 317 > 0xffff
movk ip0, 317 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryColors
.p2align 4
.type XQueryColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryColors
#endif
XQueryColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 318 & 0xffff
#if 318 > 0xffff
movk ip0, 318 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryExtension
.p2align 4
.type XQueryExtension, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryExtension
#endif
XQueryExtension:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 319 & 0xffff
#if 319 > 0xffff
movk ip0, 319 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryFont
.p2align 4
.type XQueryFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryFont
#endif
XQueryFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 320 & 0xffff
#if 320 > 0xffff
movk ip0, 320 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryKeymap
.p2align 4
.type XQueryKeymap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryKeymap
#endif
XQueryKeymap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 321 & 0xffff
#if 321 > 0xffff
movk ip0, 321 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryPointer
.p2align 4
.type XQueryPointer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryPointer
#endif
XQueryPointer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 322 & 0xffff
#if 322 > 0xffff
movk ip0, 322 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryTextExtents
.p2align 4
.type XQueryTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryTextExtents
#endif
XQueryTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 323 & 0xffff
#if 323 > 0xffff
movk ip0, 323 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryTextExtents16
.p2align 4
.type XQueryTextExtents16, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryTextExtents16
#endif
XQueryTextExtents16:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 324 & 0xffff
#if 324 > 0xffff
movk ip0, 324 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XQueryTree
.p2align 4
.type XQueryTree, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XQueryTree
#endif
XQueryTree:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 325 & 0xffff
#if 325 > 0xffff
movk ip0, 325 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRaiseWindow
.p2align 4
.type XRaiseWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRaiseWindow
#endif
XRaiseWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 326 & 0xffff
#if 326 > 0xffff
movk ip0, 326 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XReadBitmapFile
.p2align 4
.type XReadBitmapFile, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XReadBitmapFile
#endif
XReadBitmapFile:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 327 & 0xffff
#if 327 > 0xffff
movk ip0, 327 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XReadBitmapFileData
.p2align 4
.type XReadBitmapFileData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XReadBitmapFileData
#endif
XReadBitmapFileData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 328 & 0xffff
#if 328 > 0xffff
movk ip0, 328 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRebindKeysym
.p2align 4
.type XRebindKeysym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRebindKeysym
#endif
XRebindKeysym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 329 & 0xffff
#if 329 > 0xffff
movk ip0, 329 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRecolorCursor
.p2align 4
.type XRecolorCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRecolorCursor
#endif
XRecolorCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 330 & 0xffff
#if 330 > 0xffff
movk ip0, 330 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XReconfigureWMWindow
.p2align 4
.type XReconfigureWMWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XReconfigureWMWindow
#endif
XReconfigureWMWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 331 & 0xffff
#if 331 > 0xffff
movk ip0, 331 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRectInRegion
.p2align 4
.type XRectInRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRectInRegion
#endif
XRectInRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 332 & 0xffff
#if 332 > 0xffff
movk ip0, 332 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRefreshKeyboardMapping
.p2align 4
.type XRefreshKeyboardMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRefreshKeyboardMapping
#endif
XRefreshKeyboardMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 333 & 0xffff
#if 333 > 0xffff
movk ip0, 333 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRegisterIMInstantiateCallback
.p2align 4
.type XRegisterIMInstantiateCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRegisterIMInstantiateCallback
#endif
XRegisterIMInstantiateCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 334 & 0xffff
#if 334 > 0xffff
movk ip0, 334 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRemoveConnectionWatch
.p2align 4
.type XRemoveConnectionWatch, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRemoveConnectionWatch
#endif
XRemoveConnectionWatch:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 335 & 0xffff
#if 335 > 0xffff
movk ip0, 335 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRemoveFromSaveSet
.p2align 4
.type XRemoveFromSaveSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRemoveFromSaveSet
#endif
XRemoveFromSaveSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 336 & 0xffff
#if 336 > 0xffff
movk ip0, 336 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRemoveHost
.p2align 4
.type XRemoveHost, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRemoveHost
#endif
XRemoveHost:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 337 & 0xffff
#if 337 > 0xffff
movk ip0, 337 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRemoveHosts
.p2align 4
.type XRemoveHosts, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRemoveHosts
#endif
XRemoveHosts:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 338 & 0xffff
#if 338 > 0xffff
movk ip0, 338 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XReparentWindow
.p2align 4
.type XReparentWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XReparentWindow
#endif
XReparentWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 339 & 0xffff
#if 339 > 0xffff
movk ip0, 339 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XResetScreenSaver
.p2align 4
.type XResetScreenSaver, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XResetScreenSaver
#endif
XResetScreenSaver:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 340 & 0xffff
#if 340 > 0xffff
movk ip0, 340 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XResizeWindow
.p2align 4
.type XResizeWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XResizeWindow
#endif
XResizeWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 341 & 0xffff
#if 341 > 0xffff
movk ip0, 341 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XResourceManagerString
.p2align 4
.type XResourceManagerString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XResourceManagerString
#endif
XResourceManagerString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 342 & 0xffff
#if 342 > 0xffff
movk ip0, 342 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRestackWindows
.p2align 4
.type XRestackWindows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRestackWindows
#endif
XRestackWindows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 343 & 0xffff
#if 343 > 0xffff
movk ip0, 343 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRootWindow
.p2align 4
.type XRootWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRootWindow
#endif
XRootWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 344 & 0xffff
#if 344 > 0xffff
movk ip0, 344 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRootWindowOfScreen
.p2align 4
.type XRootWindowOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRootWindowOfScreen
#endif
XRootWindowOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 345 & 0xffff
#if 345 > 0xffff
movk ip0, 345 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRotateBuffers
.p2align 4
.type XRotateBuffers, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRotateBuffers
#endif
XRotateBuffers:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 346 & 0xffff
#if 346 > 0xffff
movk ip0, 346 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XRotateWindowProperties
.p2align 4
.type XRotateWindowProperties, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XRotateWindowProperties
#endif
XRotateWindowProperties:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 347 & 0xffff
#if 347 > 0xffff
movk ip0, 347 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSaveContext
.p2align 4
.type XSaveContext, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSaveContext
#endif
XSaveContext:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 348 & 0xffff
#if 348 > 0xffff
movk ip0, 348 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XScreenCount
.p2align 4
.type XScreenCount, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XScreenCount
#endif
XScreenCount:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 349 & 0xffff
#if 349 > 0xffff
movk ip0, 349 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XScreenNumberOfScreen
.p2align 4
.type XScreenNumberOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XScreenNumberOfScreen
#endif
XScreenNumberOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 350 & 0xffff
#if 350 > 0xffff
movk ip0, 350 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XScreenOfDisplay
.p2align 4
.type XScreenOfDisplay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XScreenOfDisplay
#endif
XScreenOfDisplay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 351 & 0xffff
#if 351 > 0xffff
movk ip0, 351 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XScreenResourceString
.p2align 4
.type XScreenResourceString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XScreenResourceString
#endif
XScreenResourceString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 352 & 0xffff
#if 352 > 0xffff
movk ip0, 352 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSelectInput
.p2align 4
.type XSelectInput, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSelectInput
#endif
XSelectInput:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 353 & 0xffff
#if 353 > 0xffff
movk ip0, 353 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSendEvent
.p2align 4
.type XSendEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSendEvent
#endif
XSendEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 354 & 0xffff
#if 354 > 0xffff
movk ip0, 354 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XServerVendor
.p2align 4
.type XServerVendor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XServerVendor
#endif
XServerVendor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 355 & 0xffff
#if 355 > 0xffff
movk ip0, 355 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetAccessControl
.p2align 4
.type XSetAccessControl, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetAccessControl
#endif
XSetAccessControl:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 356 & 0xffff
#if 356 > 0xffff
movk ip0, 356 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetAfterFunction
.p2align 4
.type XSetAfterFunction, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetAfterFunction
#endif
XSetAfterFunction:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 357 & 0xffff
#if 357 > 0xffff
movk ip0, 357 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetArcMode
.p2align 4
.type XSetArcMode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetArcMode
#endif
XSetArcMode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 358 & 0xffff
#if 358 > 0xffff
movk ip0, 358 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetAuthorization
.p2align 4
.type XSetAuthorization, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetAuthorization
#endif
XSetAuthorization:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 359 & 0xffff
#if 359 > 0xffff
movk ip0, 359 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetBackground
.p2align 4
.type XSetBackground, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetBackground
#endif
XSetBackground:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 360 & 0xffff
#if 360 > 0xffff
movk ip0, 360 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetClassHint
.p2align 4
.type XSetClassHint, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetClassHint
#endif
XSetClassHint:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 361 & 0xffff
#if 361 > 0xffff
movk ip0, 361 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetClipMask
.p2align 4
.type XSetClipMask, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetClipMask
#endif
XSetClipMask:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 362 & 0xffff
#if 362 > 0xffff
movk ip0, 362 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetClipOrigin
.p2align 4
.type XSetClipOrigin, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetClipOrigin
#endif
XSetClipOrigin:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 363 & 0xffff
#if 363 > 0xffff
movk ip0, 363 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetClipRectangles
.p2align 4
.type XSetClipRectangles, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetClipRectangles
#endif
XSetClipRectangles:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 364 & 0xffff
#if 364 > 0xffff
movk ip0, 364 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetCloseDownMode
.p2align 4
.type XSetCloseDownMode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetCloseDownMode
#endif
XSetCloseDownMode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 365 & 0xffff
#if 365 > 0xffff
movk ip0, 365 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetCommand
.p2align 4
.type XSetCommand, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetCommand
#endif
XSetCommand:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 366 & 0xffff
#if 366 > 0xffff
movk ip0, 366 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetDashes
.p2align 4
.type XSetDashes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetDashes
#endif
XSetDashes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 367 & 0xffff
#if 367 > 0xffff
movk ip0, 367 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetErrorHandler
.p2align 4
.type XSetErrorHandler, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetErrorHandler
#endif
XSetErrorHandler:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 368 & 0xffff
#if 368 > 0xffff
movk ip0, 368 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetFillRule
.p2align 4
.type XSetFillRule, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetFillRule
#endif
XSetFillRule:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 369 & 0xffff
#if 369 > 0xffff
movk ip0, 369 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetFillStyle
.p2align 4
.type XSetFillStyle, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetFillStyle
#endif
XSetFillStyle:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 370 & 0xffff
#if 370 > 0xffff
movk ip0, 370 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetFont
.p2align 4
.type XSetFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetFont
#endif
XSetFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 371 & 0xffff
#if 371 > 0xffff
movk ip0, 371 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetFontPath
.p2align 4
.type XSetFontPath, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetFontPath
#endif
XSetFontPath:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 372 & 0xffff
#if 372 > 0xffff
movk ip0, 372 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetForeground
.p2align 4
.type XSetForeground, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetForeground
#endif
XSetForeground:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 373 & 0xffff
#if 373 > 0xffff
movk ip0, 373 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetFunction
.p2align 4
.type XSetFunction, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetFunction
#endif
XSetFunction:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+2992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+2992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 374 & 0xffff
#if 374 > 0xffff
movk ip0, 374 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetGraphicsExposures
.p2align 4
.type XSetGraphicsExposures, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetGraphicsExposures
#endif
XSetGraphicsExposures:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 375 & 0xffff
#if 375 > 0xffff
movk ip0, 375 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetICFocus
.p2align 4
.type XSetICFocus, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetICFocus
#endif
XSetICFocus:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 376 & 0xffff
#if 376 > 0xffff
movk ip0, 376 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetICValues
.p2align 4
.type XSetICValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetICValues
#endif
XSetICValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 377 & 0xffff
#if 377 > 0xffff
movk ip0, 377 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetIMValues
.p2align 4
.type XSetIMValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetIMValues
#endif
XSetIMValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 378 & 0xffff
#if 378 > 0xffff
movk ip0, 378 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetIOErrorExitHandler
.p2align 4
.type XSetIOErrorExitHandler, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetIOErrorExitHandler
#endif
XSetIOErrorExitHandler:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 379 & 0xffff
#if 379 > 0xffff
movk ip0, 379 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetIOErrorHandler
.p2align 4
.type XSetIOErrorHandler, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetIOErrorHandler
#endif
XSetIOErrorHandler:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 380 & 0xffff
#if 380 > 0xffff
movk ip0, 380 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetIconName
.p2align 4
.type XSetIconName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetIconName
#endif
XSetIconName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 381 & 0xffff
#if 381 > 0xffff
movk ip0, 381 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetIconSizes
.p2align 4
.type XSetIconSizes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetIconSizes
#endif
XSetIconSizes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 382 & 0xffff
#if 382 > 0xffff
movk ip0, 382 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetInputFocus
.p2align 4
.type XSetInputFocus, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetInputFocus
#endif
XSetInputFocus:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 383 & 0xffff
#if 383 > 0xffff
movk ip0, 383 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetLineAttributes
.p2align 4
.type XSetLineAttributes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetLineAttributes
#endif
XSetLineAttributes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 384 & 0xffff
#if 384 > 0xffff
movk ip0, 384 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetLocaleModifiers
.p2align 4
.type XSetLocaleModifiers, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetLocaleModifiers
#endif
XSetLocaleModifiers:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 385 & 0xffff
#if 385 > 0xffff
movk ip0, 385 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetModifierMapping
.p2align 4
.type XSetModifierMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetModifierMapping
#endif
XSetModifierMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 386 & 0xffff
#if 386 > 0xffff
movk ip0, 386 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetNormalHints
.p2align 4
.type XSetNormalHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetNormalHints
#endif
XSetNormalHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 387 & 0xffff
#if 387 > 0xffff
movk ip0, 387 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetOCValues
.p2align 4
.type XSetOCValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetOCValues
#endif
XSetOCValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 388 & 0xffff
#if 388 > 0xffff
movk ip0, 388 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetOMValues
.p2align 4
.type XSetOMValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetOMValues
#endif
XSetOMValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 389 & 0xffff
#if 389 > 0xffff
movk ip0, 389 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetPlaneMask
.p2align 4
.type XSetPlaneMask, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetPlaneMask
#endif
XSetPlaneMask:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 390 & 0xffff
#if 390 > 0xffff
movk ip0, 390 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetPointerMapping
.p2align 4
.type XSetPointerMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetPointerMapping
#endif
XSetPointerMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 391 & 0xffff
#if 391 > 0xffff
movk ip0, 391 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetRGBColormaps
.p2align 4
.type XSetRGBColormaps, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetRGBColormaps
#endif
XSetRGBColormaps:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 392 & 0xffff
#if 392 > 0xffff
movk ip0, 392 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetRegion
.p2align 4
.type XSetRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetRegion
#endif
XSetRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 393 & 0xffff
#if 393 > 0xffff
movk ip0, 393 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetScreenSaver
.p2align 4
.type XSetScreenSaver, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetScreenSaver
#endif
XSetScreenSaver:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 394 & 0xffff
#if 394 > 0xffff
movk ip0, 394 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetSelectionOwner
.p2align 4
.type XSetSelectionOwner, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetSelectionOwner
#endif
XSetSelectionOwner:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 395 & 0xffff
#if 395 > 0xffff
movk ip0, 395 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetSizeHints
.p2align 4
.type XSetSizeHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetSizeHints
#endif
XSetSizeHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 396 & 0xffff
#if 396 > 0xffff
movk ip0, 396 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetStandardColormap
.p2align 4
.type XSetStandardColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetStandardColormap
#endif
XSetStandardColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 397 & 0xffff
#if 397 > 0xffff
movk ip0, 397 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetStandardProperties
.p2align 4
.type XSetStandardProperties, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetStandardProperties
#endif
XSetStandardProperties:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 398 & 0xffff
#if 398 > 0xffff
movk ip0, 398 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetState
.p2align 4
.type XSetState, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetState
#endif
XSetState:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 399 & 0xffff
#if 399 > 0xffff
movk ip0, 399 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetStipple
.p2align 4
.type XSetStipple, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetStipple
#endif
XSetStipple:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 400 & 0xffff
#if 400 > 0xffff
movk ip0, 400 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetSubwindowMode
.p2align 4
.type XSetSubwindowMode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetSubwindowMode
#endif
XSetSubwindowMode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 401 & 0xffff
#if 401 > 0xffff
movk ip0, 401 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetTSOrigin
.p2align 4
.type XSetTSOrigin, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetTSOrigin
#endif
XSetTSOrigin:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 402 & 0xffff
#if 402 > 0xffff
movk ip0, 402 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetTextProperty
.p2align 4
.type XSetTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetTextProperty
#endif
XSetTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 403 & 0xffff
#if 403 > 0xffff
movk ip0, 403 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetTile
.p2align 4
.type XSetTile, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetTile
#endif
XSetTile:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 404 & 0xffff
#if 404 > 0xffff
movk ip0, 404 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetTransientForHint
.p2align 4
.type XSetTransientForHint, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetTransientForHint
#endif
XSetTransientForHint:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 405 & 0xffff
#if 405 > 0xffff
movk ip0, 405 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMClientMachine
.p2align 4
.type XSetWMClientMachine, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMClientMachine
#endif
XSetWMClientMachine:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 406 & 0xffff
#if 406 > 0xffff
movk ip0, 406 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMColormapWindows
.p2align 4
.type XSetWMColormapWindows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMColormapWindows
#endif
XSetWMColormapWindows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 407 & 0xffff
#if 407 > 0xffff
movk ip0, 407 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMHints
.p2align 4
.type XSetWMHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMHints
#endif
XSetWMHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 408 & 0xffff
#if 408 > 0xffff
movk ip0, 408 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMIconName
.p2align 4
.type XSetWMIconName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMIconName
#endif
XSetWMIconName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 409 & 0xffff
#if 409 > 0xffff
movk ip0, 409 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMName
.p2align 4
.type XSetWMName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMName
#endif
XSetWMName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 410 & 0xffff
#if 410 > 0xffff
movk ip0, 410 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMNormalHints
.p2align 4
.type XSetWMNormalHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMNormalHints
#endif
XSetWMNormalHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 411 & 0xffff
#if 411 > 0xffff
movk ip0, 411 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMProperties
.p2align 4
.type XSetWMProperties, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMProperties
#endif
XSetWMProperties:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 412 & 0xffff
#if 412 > 0xffff
movk ip0, 412 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMProtocols
.p2align 4
.type XSetWMProtocols, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMProtocols
#endif
XSetWMProtocols:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 413 & 0xffff
#if 413 > 0xffff
movk ip0, 413 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWMSizeHints
.p2align 4
.type XSetWMSizeHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWMSizeHints
#endif
XSetWMSizeHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 414 & 0xffff
#if 414 > 0xffff
movk ip0, 414 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWindowBackground
.p2align 4
.type XSetWindowBackground, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWindowBackground
#endif
XSetWindowBackground:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 415 & 0xffff
#if 415 > 0xffff
movk ip0, 415 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWindowBackgroundPixmap
.p2align 4
.type XSetWindowBackgroundPixmap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWindowBackgroundPixmap
#endif
XSetWindowBackgroundPixmap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 416 & 0xffff
#if 416 > 0xffff
movk ip0, 416 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWindowBorder
.p2align 4
.type XSetWindowBorder, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWindowBorder
#endif
XSetWindowBorder:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 417 & 0xffff
#if 417 > 0xffff
movk ip0, 417 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWindowBorderPixmap
.p2align 4
.type XSetWindowBorderPixmap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWindowBorderPixmap
#endif
XSetWindowBorderPixmap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 418 & 0xffff
#if 418 > 0xffff
movk ip0, 418 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWindowBorderWidth
.p2align 4
.type XSetWindowBorderWidth, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWindowBorderWidth
#endif
XSetWindowBorderWidth:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 419 & 0xffff
#if 419 > 0xffff
movk ip0, 419 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetWindowColormap
.p2align 4
.type XSetWindowColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetWindowColormap
#endif
XSetWindowColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 420 & 0xffff
#if 420 > 0xffff
movk ip0, 420 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSetZoomHints
.p2align 4
.type XSetZoomHints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSetZoomHints
#endif
XSetZoomHints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 421 & 0xffff
#if 421 > 0xffff
movk ip0, 421 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XShrinkRegion
.p2align 4
.type XShrinkRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XShrinkRegion
#endif
XShrinkRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 422 & 0xffff
#if 422 > 0xffff
movk ip0, 422 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XStoreBuffer
.p2align 4
.type XStoreBuffer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XStoreBuffer
#endif
XStoreBuffer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 423 & 0xffff
#if 423 > 0xffff
movk ip0, 423 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XStoreBytes
.p2align 4
.type XStoreBytes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XStoreBytes
#endif
XStoreBytes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 424 & 0xffff
#if 424 > 0xffff
movk ip0, 424 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XStoreColor
.p2align 4
.type XStoreColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XStoreColor
#endif
XStoreColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 425 & 0xffff
#if 425 > 0xffff
movk ip0, 425 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XStoreColors
.p2align 4
.type XStoreColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XStoreColors
#endif
XStoreColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 426 & 0xffff
#if 426 > 0xffff
movk ip0, 426 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XStoreName
.p2align 4
.type XStoreName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XStoreName
#endif
XStoreName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 427 & 0xffff
#if 427 > 0xffff
movk ip0, 427 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XStoreNamedColor
.p2align 4
.type XStoreNamedColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XStoreNamedColor
#endif
XStoreNamedColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 428 & 0xffff
#if 428 > 0xffff
movk ip0, 428 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XStringListToTextProperty
.p2align 4
.type XStringListToTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XStringListToTextProperty
#endif
XStringListToTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 429 & 0xffff
#if 429 > 0xffff
movk ip0, 429 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XStringToKeysym
.p2align 4
.type XStringToKeysym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XStringToKeysym
#endif
XStringToKeysym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 430 & 0xffff
#if 430 > 0xffff
movk ip0, 430 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSubImage
.p2align 4
.type XSubImage, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSubImage
#endif
XSubImage:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 431 & 0xffff
#if 431 > 0xffff
movk ip0, 431 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSubtractRegion
.p2align 4
.type XSubtractRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSubtractRegion
#endif
XSubtractRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 432 & 0xffff
#if 432 > 0xffff
movk ip0, 432 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSupportsLocale
.p2align 4
.type XSupportsLocale, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSupportsLocale
#endif
XSupportsLocale:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 433 & 0xffff
#if 433 > 0xffff
movk ip0, 433 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSync
.p2align 4
.type XSync, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSync
#endif
XSync:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 434 & 0xffff
#if 434 > 0xffff
movk ip0, 434 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XSynchronize
.p2align 4
.type XSynchronize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XSynchronize
#endif
XSynchronize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 435 & 0xffff
#if 435 > 0xffff
movk ip0, 435 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XTextExtents
.p2align 4
.type XTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XTextExtents
#endif
XTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 436 & 0xffff
#if 436 > 0xffff
movk ip0, 436 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XTextExtents16
.p2align 4
.type XTextExtents16, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XTextExtents16
#endif
XTextExtents16:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 437 & 0xffff
#if 437 > 0xffff
movk ip0, 437 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XTextPropertyToStringList
.p2align 4
.type XTextPropertyToStringList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XTextPropertyToStringList
#endif
XTextPropertyToStringList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 438 & 0xffff
#if 438 > 0xffff
movk ip0, 438 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XTextWidth
.p2align 4
.type XTextWidth, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XTextWidth
#endif
XTextWidth:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 439 & 0xffff
#if 439 > 0xffff
movk ip0, 439 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XTextWidth16
.p2align 4
.type XTextWidth16, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XTextWidth16
#endif
XTextWidth16:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 440 & 0xffff
#if 440 > 0xffff
movk ip0, 440 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XTranslateCoordinates
.p2align 4
.type XTranslateCoordinates, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XTranslateCoordinates
#endif
XTranslateCoordinates:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 441 & 0xffff
#if 441 > 0xffff
movk ip0, 441 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUndefineCursor
.p2align 4
.type XUndefineCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUndefineCursor
#endif
XUndefineCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 442 & 0xffff
#if 442 > 0xffff
movk ip0, 442 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUngrabButton
.p2align 4
.type XUngrabButton, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUngrabButton
#endif
XUngrabButton:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 443 & 0xffff
#if 443 > 0xffff
movk ip0, 443 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUngrabKey
.p2align 4
.type XUngrabKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUngrabKey
#endif
XUngrabKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 444 & 0xffff
#if 444 > 0xffff
movk ip0, 444 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUngrabKeyboard
.p2align 4
.type XUngrabKeyboard, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUngrabKeyboard
#endif
XUngrabKeyboard:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 445 & 0xffff
#if 445 > 0xffff
movk ip0, 445 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUngrabPointer
.p2align 4
.type XUngrabPointer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUngrabPointer
#endif
XUngrabPointer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 446 & 0xffff
#if 446 > 0xffff
movk ip0, 446 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUngrabServer
.p2align 4
.type XUngrabServer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUngrabServer
#endif
XUngrabServer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 447 & 0xffff
#if 447 > 0xffff
movk ip0, 447 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUninstallColormap
.p2align 4
.type XUninstallColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUninstallColormap
#endif
XUninstallColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 448 & 0xffff
#if 448 > 0xffff
movk ip0, 448 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUnionRectWithRegion
.p2align 4
.type XUnionRectWithRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUnionRectWithRegion
#endif
XUnionRectWithRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 449 & 0xffff
#if 449 > 0xffff
movk ip0, 449 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUnionRegion
.p2align 4
.type XUnionRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUnionRegion
#endif
XUnionRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 450 & 0xffff
#if 450 > 0xffff
movk ip0, 450 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUnloadFont
.p2align 4
.type XUnloadFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUnloadFont
#endif
XUnloadFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 451 & 0xffff
#if 451 > 0xffff
movk ip0, 451 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUnlockDisplay
.p2align 4
.type XUnlockDisplay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUnlockDisplay
#endif
XUnlockDisplay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 452 & 0xffff
#if 452 > 0xffff
movk ip0, 452 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUnmapSubwindows
.p2align 4
.type XUnmapSubwindows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUnmapSubwindows
#endif
XUnmapSubwindows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 453 & 0xffff
#if 453 > 0xffff
movk ip0, 453 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUnmapWindow
.p2align 4
.type XUnmapWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUnmapWindow
#endif
XUnmapWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 454 & 0xffff
#if 454 > 0xffff
movk ip0, 454 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUnregisterIMInstantiateCallback
.p2align 4
.type XUnregisterIMInstantiateCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUnregisterIMInstantiateCallback
#endif
XUnregisterIMInstantiateCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 455 & 0xffff
#if 455 > 0xffff
movk ip0, 455 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XUnsetICFocus
.p2align 4
.type XUnsetICFocus, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XUnsetICFocus
#endif
XUnsetICFocus:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 456 & 0xffff
#if 456 > 0xffff
movk ip0, 456 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XVaCreateNestedList
.p2align 4
.type XVaCreateNestedList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XVaCreateNestedList
#endif
XVaCreateNestedList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 457 & 0xffff
#if 457 > 0xffff
movk ip0, 457 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XVendorRelease
.p2align 4
.type XVendorRelease, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XVendorRelease
#endif
XVendorRelease:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 458 & 0xffff
#if 458 > 0xffff
movk ip0, 458 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XVisualIDFromVisual
.p2align 4
.type XVisualIDFromVisual, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XVisualIDFromVisual
#endif
XVisualIDFromVisual:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 459 & 0xffff
#if 459 > 0xffff
movk ip0, 459 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWMGeometry
.p2align 4
.type XWMGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWMGeometry
#endif
XWMGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 460 & 0xffff
#if 460 > 0xffff
movk ip0, 460 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWarpPointer
.p2align 4
.type XWarpPointer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWarpPointer
#endif
XWarpPointer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 461 & 0xffff
#if 461 > 0xffff
movk ip0, 461 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWhitePixel
.p2align 4
.type XWhitePixel, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWhitePixel
#endif
XWhitePixel:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 462 & 0xffff
#if 462 > 0xffff
movk ip0, 462 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWhitePixelOfScreen
.p2align 4
.type XWhitePixelOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWhitePixelOfScreen
#endif
XWhitePixelOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 463 & 0xffff
#if 463 > 0xffff
movk ip0, 463 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWidthMMOfScreen
.p2align 4
.type XWidthMMOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWidthMMOfScreen
#endif
XWidthMMOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 464 & 0xffff
#if 464 > 0xffff
movk ip0, 464 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWidthOfScreen
.p2align 4
.type XWidthOfScreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWidthOfScreen
#endif
XWidthOfScreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 465 & 0xffff
#if 465 > 0xffff
movk ip0, 465 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWindowEvent
.p2align 4
.type XWindowEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWindowEvent
#endif
XWindowEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 466 & 0xffff
#if 466 > 0xffff
movk ip0, 466 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWithdrawWindow
.p2align 4
.type XWithdrawWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWithdrawWindow
#endif
XWithdrawWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 467 & 0xffff
#if 467 > 0xffff
movk ip0, 467 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XWriteBitmapFile
.p2align 4
.type XWriteBitmapFile, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XWriteBitmapFile
#endif
XWriteBitmapFile:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 468 & 0xffff
#if 468 > 0xffff
movk ip0, 468 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XXorRegion
.p2align 4
.type XXorRegion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XXorRegion
#endif
XXorRegion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 469 & 0xffff
#if 469 > 0xffff
movk ip0, 469 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsAddColorSpace
.p2align 4
.type XcmsAddColorSpace, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsAddColorSpace
#endif
XcmsAddColorSpace:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 470 & 0xffff
#if 470 > 0xffff
movk ip0, 470 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsAddFunctionSet
.p2align 4
.type XcmsAddFunctionSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsAddFunctionSet
#endif
XcmsAddFunctionSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 471 & 0xffff
#if 471 > 0xffff
movk ip0, 471 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsAllocColor
.p2align 4
.type XcmsAllocColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsAllocColor
#endif
XcmsAllocColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 472 & 0xffff
#if 472 > 0xffff
movk ip0, 472 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsAllocNamedColor
.p2align 4
.type XcmsAllocNamedColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsAllocNamedColor
#endif
XcmsAllocNamedColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 473 & 0xffff
#if 473 > 0xffff
movk ip0, 473 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCCCOfColormap
.p2align 4
.type XcmsCCCOfColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCCCOfColormap
#endif
XcmsCCCOfColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 474 & 0xffff
#if 474 > 0xffff
movk ip0, 474 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabClipL
.p2align 4
.type XcmsCIELabClipL, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabClipL
#endif
XcmsCIELabClipL:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 475 & 0xffff
#if 475 > 0xffff
movk ip0, 475 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabClipLab
.p2align 4
.type XcmsCIELabClipLab, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabClipLab
#endif
XcmsCIELabClipLab:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 476 & 0xffff
#if 476 > 0xffff
movk ip0, 476 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabClipab
.p2align 4
.type XcmsCIELabClipab, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabClipab
#endif
XcmsCIELabClipab:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 477 & 0xffff
#if 477 > 0xffff
movk ip0, 477 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabQueryMaxC
.p2align 4
.type XcmsCIELabQueryMaxC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabQueryMaxC
#endif
XcmsCIELabQueryMaxC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 478 & 0xffff
#if 478 > 0xffff
movk ip0, 478 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabQueryMaxL
.p2align 4
.type XcmsCIELabQueryMaxL, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabQueryMaxL
#endif
XcmsCIELabQueryMaxL:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 479 & 0xffff
#if 479 > 0xffff
movk ip0, 479 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabQueryMaxLC
.p2align 4
.type XcmsCIELabQueryMaxLC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabQueryMaxLC
#endif
XcmsCIELabQueryMaxLC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 480 & 0xffff
#if 480 > 0xffff
movk ip0, 480 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabQueryMinL
.p2align 4
.type XcmsCIELabQueryMinL, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabQueryMinL
#endif
XcmsCIELabQueryMinL:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 481 & 0xffff
#if 481 > 0xffff
movk ip0, 481 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabToCIEXYZ
.p2align 4
.type XcmsCIELabToCIEXYZ, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabToCIEXYZ
#endif
XcmsCIELabToCIEXYZ:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 482 & 0xffff
#if 482 > 0xffff
movk ip0, 482 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELabWhiteShiftColors
.p2align 4
.type XcmsCIELabWhiteShiftColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELabWhiteShiftColors
#endif
XcmsCIELabWhiteShiftColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 483 & 0xffff
#if 483 > 0xffff
movk ip0, 483 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvClipL
.p2align 4
.type XcmsCIELuvClipL, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvClipL
#endif
XcmsCIELuvClipL:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 484 & 0xffff
#if 484 > 0xffff
movk ip0, 484 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvClipLuv
.p2align 4
.type XcmsCIELuvClipLuv, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvClipLuv
#endif
XcmsCIELuvClipLuv:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 485 & 0xffff
#if 485 > 0xffff
movk ip0, 485 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvClipuv
.p2align 4
.type XcmsCIELuvClipuv, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvClipuv
#endif
XcmsCIELuvClipuv:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 486 & 0xffff
#if 486 > 0xffff
movk ip0, 486 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvQueryMaxC
.p2align 4
.type XcmsCIELuvQueryMaxC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvQueryMaxC
#endif
XcmsCIELuvQueryMaxC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 487 & 0xffff
#if 487 > 0xffff
movk ip0, 487 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvQueryMaxL
.p2align 4
.type XcmsCIELuvQueryMaxL, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvQueryMaxL
#endif
XcmsCIELuvQueryMaxL:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 488 & 0xffff
#if 488 > 0xffff
movk ip0, 488 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvQueryMaxLC
.p2align 4
.type XcmsCIELuvQueryMaxLC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvQueryMaxLC
#endif
XcmsCIELuvQueryMaxLC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 489 & 0xffff
#if 489 > 0xffff
movk ip0, 489 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvQueryMinL
.p2align 4
.type XcmsCIELuvQueryMinL, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvQueryMinL
#endif
XcmsCIELuvQueryMinL:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 490 & 0xffff
#if 490 > 0xffff
movk ip0, 490 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvToCIEuvY
.p2align 4
.type XcmsCIELuvToCIEuvY, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvToCIEuvY
#endif
XcmsCIELuvToCIEuvY:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 491 & 0xffff
#if 491 > 0xffff
movk ip0, 491 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIELuvWhiteShiftColors
.p2align 4
.type XcmsCIELuvWhiteShiftColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIELuvWhiteShiftColors
#endif
XcmsCIELuvWhiteShiftColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 492 & 0xffff
#if 492 > 0xffff
movk ip0, 492 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIEXYZToCIELab
.p2align 4
.type XcmsCIEXYZToCIELab, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIEXYZToCIELab
#endif
XcmsCIEXYZToCIELab:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 493 & 0xffff
#if 493 > 0xffff
movk ip0, 493 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIEXYZToCIEuvY
.p2align 4
.type XcmsCIEXYZToCIEuvY, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIEXYZToCIEuvY
#endif
XcmsCIEXYZToCIEuvY:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 494 & 0xffff
#if 494 > 0xffff
movk ip0, 494 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIEXYZToCIExyY
.p2align 4
.type XcmsCIEXYZToCIExyY, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIEXYZToCIExyY
#endif
XcmsCIEXYZToCIExyY:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 495 & 0xffff
#if 495 > 0xffff
movk ip0, 495 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIEXYZToRGBi
.p2align 4
.type XcmsCIEXYZToRGBi, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIEXYZToRGBi
#endif
XcmsCIEXYZToRGBi:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 496 & 0xffff
#if 496 > 0xffff
movk ip0, 496 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIEuvYToCIELuv
.p2align 4
.type XcmsCIEuvYToCIELuv, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIEuvYToCIELuv
#endif
XcmsCIEuvYToCIELuv:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 497 & 0xffff
#if 497 > 0xffff
movk ip0, 497 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIEuvYToCIEXYZ
.p2align 4
.type XcmsCIEuvYToCIEXYZ, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIEuvYToCIEXYZ
#endif
XcmsCIEuvYToCIEXYZ:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 498 & 0xffff
#if 498 > 0xffff
movk ip0, 498 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIEuvYToTekHVC
.p2align 4
.type XcmsCIEuvYToTekHVC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIEuvYToTekHVC
#endif
XcmsCIEuvYToTekHVC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+3992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+3992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 499 & 0xffff
#if 499 > 0xffff
movk ip0, 499 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCIExyYToCIEXYZ
.p2align 4
.type XcmsCIExyYToCIEXYZ, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCIExyYToCIEXYZ
#endif
XcmsCIExyYToCIEXYZ:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 500 & 0xffff
#if 500 > 0xffff
movk ip0, 500 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsClientWhitePointOfCCC
.p2align 4
.type XcmsClientWhitePointOfCCC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsClientWhitePointOfCCC
#endif
XcmsClientWhitePointOfCCC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 501 & 0xffff
#if 501 > 0xffff
movk ip0, 501 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsConvertColors
.p2align 4
.type XcmsConvertColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsConvertColors
#endif
XcmsConvertColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 502 & 0xffff
#if 502 > 0xffff
movk ip0, 502 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsCreateCCC
.p2align 4
.type XcmsCreateCCC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsCreateCCC
#endif
XcmsCreateCCC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 503 & 0xffff
#if 503 > 0xffff
movk ip0, 503 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsDefaultCCC
.p2align 4
.type XcmsDefaultCCC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsDefaultCCC
#endif
XcmsDefaultCCC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 504 & 0xffff
#if 504 > 0xffff
movk ip0, 504 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsDisplayOfCCC
.p2align 4
.type XcmsDisplayOfCCC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsDisplayOfCCC
#endif
XcmsDisplayOfCCC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 505 & 0xffff
#if 505 > 0xffff
movk ip0, 505 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsFormatOfPrefix
.p2align 4
.type XcmsFormatOfPrefix, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsFormatOfPrefix
#endif
XcmsFormatOfPrefix:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 506 & 0xffff
#if 506 > 0xffff
movk ip0, 506 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsFreeCCC
.p2align 4
.type XcmsFreeCCC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsFreeCCC
#endif
XcmsFreeCCC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 507 & 0xffff
#if 507 > 0xffff
movk ip0, 507 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsLookupColor
.p2align 4
.type XcmsLookupColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsLookupColor
#endif
XcmsLookupColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 508 & 0xffff
#if 508 > 0xffff
movk ip0, 508 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsPrefixOfFormat
.p2align 4
.type XcmsPrefixOfFormat, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsPrefixOfFormat
#endif
XcmsPrefixOfFormat:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 509 & 0xffff
#if 509 > 0xffff
movk ip0, 509 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsQueryBlack
.p2align 4
.type XcmsQueryBlack, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsQueryBlack
#endif
XcmsQueryBlack:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 510 & 0xffff
#if 510 > 0xffff
movk ip0, 510 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsQueryBlue
.p2align 4
.type XcmsQueryBlue, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsQueryBlue
#endif
XcmsQueryBlue:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 511 & 0xffff
#if 511 > 0xffff
movk ip0, 511 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsQueryColor
.p2align 4
.type XcmsQueryColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsQueryColor
#endif
XcmsQueryColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 512 & 0xffff
#if 512 > 0xffff
movk ip0, 512 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsQueryColors
.p2align 4
.type XcmsQueryColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsQueryColors
#endif
XcmsQueryColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 513 & 0xffff
#if 513 > 0xffff
movk ip0, 513 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsQueryGreen
.p2align 4
.type XcmsQueryGreen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsQueryGreen
#endif
XcmsQueryGreen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 514 & 0xffff
#if 514 > 0xffff
movk ip0, 514 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsQueryRed
.p2align 4
.type XcmsQueryRed, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsQueryRed
#endif
XcmsQueryRed:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 515 & 0xffff
#if 515 > 0xffff
movk ip0, 515 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsQueryWhite
.p2align 4
.type XcmsQueryWhite, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsQueryWhite
#endif
XcmsQueryWhite:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 516 & 0xffff
#if 516 > 0xffff
movk ip0, 516 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsRGBToRGBi
.p2align 4
.type XcmsRGBToRGBi, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsRGBToRGBi
#endif
XcmsRGBToRGBi:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 517 & 0xffff
#if 517 > 0xffff
movk ip0, 517 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsRGBiToCIEXYZ
.p2align 4
.type XcmsRGBiToCIEXYZ, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsRGBiToCIEXYZ
#endif
XcmsRGBiToCIEXYZ:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 518 & 0xffff
#if 518 > 0xffff
movk ip0, 518 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsRGBiToRGB
.p2align 4
.type XcmsRGBiToRGB, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsRGBiToRGB
#endif
XcmsRGBiToRGB:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 519 & 0xffff
#if 519 > 0xffff
movk ip0, 519 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsScreenNumberOfCCC
.p2align 4
.type XcmsScreenNumberOfCCC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsScreenNumberOfCCC
#endif
XcmsScreenNumberOfCCC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 520 & 0xffff
#if 520 > 0xffff
movk ip0, 520 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsScreenWhitePointOfCCC
.p2align 4
.type XcmsScreenWhitePointOfCCC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsScreenWhitePointOfCCC
#endif
XcmsScreenWhitePointOfCCC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 521 & 0xffff
#if 521 > 0xffff
movk ip0, 521 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsSetCCCOfColormap
.p2align 4
.type XcmsSetCCCOfColormap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsSetCCCOfColormap
#endif
XcmsSetCCCOfColormap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 522 & 0xffff
#if 522 > 0xffff
movk ip0, 522 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsSetCompressionProc
.p2align 4
.type XcmsSetCompressionProc, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsSetCompressionProc
#endif
XcmsSetCompressionProc:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 523 & 0xffff
#if 523 > 0xffff
movk ip0, 523 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsSetWhiteAdjustProc
.p2align 4
.type XcmsSetWhiteAdjustProc, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsSetWhiteAdjustProc
#endif
XcmsSetWhiteAdjustProc:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 524 & 0xffff
#if 524 > 0xffff
movk ip0, 524 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsSetWhitePoint
.p2align 4
.type XcmsSetWhitePoint, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsSetWhitePoint
#endif
XcmsSetWhitePoint:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 525 & 0xffff
#if 525 > 0xffff
movk ip0, 525 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsStoreColor
.p2align 4
.type XcmsStoreColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsStoreColor
#endif
XcmsStoreColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 526 & 0xffff
#if 526 > 0xffff
movk ip0, 526 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsStoreColors
.p2align 4
.type XcmsStoreColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsStoreColors
#endif
XcmsStoreColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 527 & 0xffff
#if 527 > 0xffff
movk ip0, 527 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCClipC
.p2align 4
.type XcmsTekHVCClipC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCClipC
#endif
XcmsTekHVCClipC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 528 & 0xffff
#if 528 > 0xffff
movk ip0, 528 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCClipV
.p2align 4
.type XcmsTekHVCClipV, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCClipV
#endif
XcmsTekHVCClipV:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 529 & 0xffff
#if 529 > 0xffff
movk ip0, 529 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCClipVC
.p2align 4
.type XcmsTekHVCClipVC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCClipVC
#endif
XcmsTekHVCClipVC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 530 & 0xffff
#if 530 > 0xffff
movk ip0, 530 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCQueryMaxC
.p2align 4
.type XcmsTekHVCQueryMaxC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCQueryMaxC
#endif
XcmsTekHVCQueryMaxC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 531 & 0xffff
#if 531 > 0xffff
movk ip0, 531 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCQueryMaxV
.p2align 4
.type XcmsTekHVCQueryMaxV, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCQueryMaxV
#endif
XcmsTekHVCQueryMaxV:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 532 & 0xffff
#if 532 > 0xffff
movk ip0, 532 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCQueryMaxVC
.p2align 4
.type XcmsTekHVCQueryMaxVC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCQueryMaxVC
#endif
XcmsTekHVCQueryMaxVC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 533 & 0xffff
#if 533 > 0xffff
movk ip0, 533 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCQueryMaxVSamples
.p2align 4
.type XcmsTekHVCQueryMaxVSamples, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCQueryMaxVSamples
#endif
XcmsTekHVCQueryMaxVSamples:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 534 & 0xffff
#if 534 > 0xffff
movk ip0, 534 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCQueryMinV
.p2align 4
.type XcmsTekHVCQueryMinV, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCQueryMinV
#endif
XcmsTekHVCQueryMinV:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 535 & 0xffff
#if 535 > 0xffff
movk ip0, 535 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCToCIEuvY
.p2align 4
.type XcmsTekHVCToCIEuvY, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCToCIEuvY
#endif
XcmsTekHVCToCIEuvY:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 536 & 0xffff
#if 536 > 0xffff
movk ip0, 536 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsTekHVCWhiteShiftColors
.p2align 4
.type XcmsTekHVCWhiteShiftColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsTekHVCWhiteShiftColors
#endif
XcmsTekHVCWhiteShiftColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 537 & 0xffff
#if 537 > 0xffff
movk ip0, 537 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XcmsVisualOfCCC
.p2align 4
.type XcmsVisualOfCCC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XcmsVisualOfCCC
#endif
XcmsVisualOfCCC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 538 & 0xffff
#if 538 > 0xffff
movk ip0, 538 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddDeviceLedInfo
.p2align 4
.type XkbAddDeviceLedInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddDeviceLedInfo
#endif
XkbAddDeviceLedInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 539 & 0xffff
#if 539 > 0xffff
movk ip0, 539 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomColor
.p2align 4
.type XkbAddGeomColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomColor
#endif
XkbAddGeomColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 540 & 0xffff
#if 540 > 0xffff
movk ip0, 540 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomDoodad
.p2align 4
.type XkbAddGeomDoodad, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomDoodad
#endif
XkbAddGeomDoodad:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 541 & 0xffff
#if 541 > 0xffff
movk ip0, 541 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomKey
.p2align 4
.type XkbAddGeomKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomKey
#endif
XkbAddGeomKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 542 & 0xffff
#if 542 > 0xffff
movk ip0, 542 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomKeyAlias
.p2align 4
.type XkbAddGeomKeyAlias, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomKeyAlias
#endif
XkbAddGeomKeyAlias:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 543 & 0xffff
#if 543 > 0xffff
movk ip0, 543 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomOutline
.p2align 4
.type XkbAddGeomOutline, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomOutline
#endif
XkbAddGeomOutline:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 544 & 0xffff
#if 544 > 0xffff
movk ip0, 544 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomOverlay
.p2align 4
.type XkbAddGeomOverlay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomOverlay
#endif
XkbAddGeomOverlay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 545 & 0xffff
#if 545 > 0xffff
movk ip0, 545 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomOverlayKey
.p2align 4
.type XkbAddGeomOverlayKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomOverlayKey
#endif
XkbAddGeomOverlayKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 546 & 0xffff
#if 546 > 0xffff
movk ip0, 546 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomOverlayRow
.p2align 4
.type XkbAddGeomOverlayRow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomOverlayRow
#endif
XkbAddGeomOverlayRow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 547 & 0xffff
#if 547 > 0xffff
movk ip0, 547 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomProperty
.p2align 4
.type XkbAddGeomProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomProperty
#endif
XkbAddGeomProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 548 & 0xffff
#if 548 > 0xffff
movk ip0, 548 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomRow
.p2align 4
.type XkbAddGeomRow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomRow
#endif
XkbAddGeomRow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 549 & 0xffff
#if 549 > 0xffff
movk ip0, 549 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomSection
.p2align 4
.type XkbAddGeomSection, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomSection
#endif
XkbAddGeomSection:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 550 & 0xffff
#if 550 > 0xffff
movk ip0, 550 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddGeomShape
.p2align 4
.type XkbAddGeomShape, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddGeomShape
#endif
XkbAddGeomShape:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 551 & 0xffff
#if 551 > 0xffff
movk ip0, 551 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAddKeyType
.p2align 4
.type XkbAddKeyType, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAddKeyType
#endif
XkbAddKeyType:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 552 & 0xffff
#if 552 > 0xffff
movk ip0, 552 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocClientMap
.p2align 4
.type XkbAllocClientMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocClientMap
#endif
XkbAllocClientMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 553 & 0xffff
#if 553 > 0xffff
movk ip0, 553 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocCompatMap
.p2align 4
.type XkbAllocCompatMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocCompatMap
#endif
XkbAllocCompatMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 554 & 0xffff
#if 554 > 0xffff
movk ip0, 554 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocControls
.p2align 4
.type XkbAllocControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocControls
#endif
XkbAllocControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 555 & 0xffff
#if 555 > 0xffff
movk ip0, 555 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocDeviceInfo
.p2align 4
.type XkbAllocDeviceInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocDeviceInfo
#endif
XkbAllocDeviceInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 556 & 0xffff
#if 556 > 0xffff
movk ip0, 556 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomColors
.p2align 4
.type XkbAllocGeomColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomColors
#endif
XkbAllocGeomColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 557 & 0xffff
#if 557 > 0xffff
movk ip0, 557 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomDoodads
.p2align 4
.type XkbAllocGeomDoodads, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomDoodads
#endif
XkbAllocGeomDoodads:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 558 & 0xffff
#if 558 > 0xffff
movk ip0, 558 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomKeyAliases
.p2align 4
.type XkbAllocGeomKeyAliases, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomKeyAliases
#endif
XkbAllocGeomKeyAliases:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 559 & 0xffff
#if 559 > 0xffff
movk ip0, 559 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomKeys
.p2align 4
.type XkbAllocGeomKeys, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomKeys
#endif
XkbAllocGeomKeys:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 560 & 0xffff
#if 560 > 0xffff
movk ip0, 560 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomOutlines
.p2align 4
.type XkbAllocGeomOutlines, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomOutlines
#endif
XkbAllocGeomOutlines:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 561 & 0xffff
#if 561 > 0xffff
movk ip0, 561 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomOverlayKeys
.p2align 4
.type XkbAllocGeomOverlayKeys, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomOverlayKeys
#endif
XkbAllocGeomOverlayKeys:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 562 & 0xffff
#if 562 > 0xffff
movk ip0, 562 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomOverlayRows
.p2align 4
.type XkbAllocGeomOverlayRows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomOverlayRows
#endif
XkbAllocGeomOverlayRows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 563 & 0xffff
#if 563 > 0xffff
movk ip0, 563 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomOverlays
.p2align 4
.type XkbAllocGeomOverlays, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomOverlays
#endif
XkbAllocGeomOverlays:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 564 & 0xffff
#if 564 > 0xffff
movk ip0, 564 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomPoints
.p2align 4
.type XkbAllocGeomPoints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomPoints
#endif
XkbAllocGeomPoints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 565 & 0xffff
#if 565 > 0xffff
movk ip0, 565 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomProps
.p2align 4
.type XkbAllocGeomProps, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomProps
#endif
XkbAllocGeomProps:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 566 & 0xffff
#if 566 > 0xffff
movk ip0, 566 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomRows
.p2align 4
.type XkbAllocGeomRows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomRows
#endif
XkbAllocGeomRows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 567 & 0xffff
#if 567 > 0xffff
movk ip0, 567 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomSectionDoodads
.p2align 4
.type XkbAllocGeomSectionDoodads, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomSectionDoodads
#endif
XkbAllocGeomSectionDoodads:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 568 & 0xffff
#if 568 > 0xffff
movk ip0, 568 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomSections
.p2align 4
.type XkbAllocGeomSections, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomSections
#endif
XkbAllocGeomSections:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 569 & 0xffff
#if 569 > 0xffff
movk ip0, 569 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeomShapes
.p2align 4
.type XkbAllocGeomShapes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeomShapes
#endif
XkbAllocGeomShapes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 570 & 0xffff
#if 570 > 0xffff
movk ip0, 570 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocGeometry
.p2align 4
.type XkbAllocGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocGeometry
#endif
XkbAllocGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 571 & 0xffff
#if 571 > 0xffff
movk ip0, 571 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocIndicatorMaps
.p2align 4
.type XkbAllocIndicatorMaps, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocIndicatorMaps
#endif
XkbAllocIndicatorMaps:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 572 & 0xffff
#if 572 > 0xffff
movk ip0, 572 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocKeyboard
.p2align 4
.type XkbAllocKeyboard, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocKeyboard
#endif
XkbAllocKeyboard:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 573 & 0xffff
#if 573 > 0xffff
movk ip0, 573 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocNames
.p2align 4
.type XkbAllocNames, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocNames
#endif
XkbAllocNames:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 574 & 0xffff
#if 574 > 0xffff
movk ip0, 574 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbAllocServerMap
.p2align 4
.type XkbAllocServerMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbAllocServerMap
#endif
XkbAllocServerMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 575 & 0xffff
#if 575 > 0xffff
movk ip0, 575 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbApplyCompatMapToKey
.p2align 4
.type XkbApplyCompatMapToKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbApplyCompatMapToKey
#endif
XkbApplyCompatMapToKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 576 & 0xffff
#if 576 > 0xffff
movk ip0, 576 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbApplyVirtualModChanges
.p2align 4
.type XkbApplyVirtualModChanges, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbApplyVirtualModChanges
#endif
XkbApplyVirtualModChanges:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 577 & 0xffff
#if 577 > 0xffff
movk ip0, 577 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbBell
.p2align 4
.type XkbBell, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbBell
#endif
XkbBell:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 578 & 0xffff
#if 578 > 0xffff
movk ip0, 578 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbBellEvent
.p2align 4
.type XkbBellEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbBellEvent
#endif
XkbBellEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 579 & 0xffff
#if 579 > 0xffff
movk ip0, 579 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbChangeDeviceInfo
.p2align 4
.type XkbChangeDeviceInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbChangeDeviceInfo
#endif
XkbChangeDeviceInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 580 & 0xffff
#if 580 > 0xffff
movk ip0, 580 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbChangeEnabledControls
.p2align 4
.type XkbChangeEnabledControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbChangeEnabledControls
#endif
XkbChangeEnabledControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 581 & 0xffff
#if 581 > 0xffff
movk ip0, 581 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbChangeKeycodeRange
.p2align 4
.type XkbChangeKeycodeRange, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbChangeKeycodeRange
#endif
XkbChangeKeycodeRange:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 582 & 0xffff
#if 582 > 0xffff
movk ip0, 582 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbChangeMap
.p2align 4
.type XkbChangeMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbChangeMap
#endif
XkbChangeMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 583 & 0xffff
#if 583 > 0xffff
movk ip0, 583 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbChangeNames
.p2align 4
.type XkbChangeNames, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbChangeNames
#endif
XkbChangeNames:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 584 & 0xffff
#if 584 > 0xffff
movk ip0, 584 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbChangeTypesOfKey
.p2align 4
.type XkbChangeTypesOfKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbChangeTypesOfKey
#endif
XkbChangeTypesOfKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 585 & 0xffff
#if 585 > 0xffff
movk ip0, 585 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbComputeEffectiveMap
.p2align 4
.type XkbComputeEffectiveMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbComputeEffectiveMap
#endif
XkbComputeEffectiveMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 586 & 0xffff
#if 586 > 0xffff
movk ip0, 586 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbComputeRowBounds
.p2align 4
.type XkbComputeRowBounds, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbComputeRowBounds
#endif
XkbComputeRowBounds:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 587 & 0xffff
#if 587 > 0xffff
movk ip0, 587 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbComputeSectionBounds
.p2align 4
.type XkbComputeSectionBounds, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbComputeSectionBounds
#endif
XkbComputeSectionBounds:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 588 & 0xffff
#if 588 > 0xffff
movk ip0, 588 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbComputeShapeBounds
.p2align 4
.type XkbComputeShapeBounds, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbComputeShapeBounds
#endif
XkbComputeShapeBounds:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 589 & 0xffff
#if 589 > 0xffff
movk ip0, 589 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbComputeShapeTop
.p2align 4
.type XkbComputeShapeTop, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbComputeShapeTop
#endif
XkbComputeShapeTop:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 590 & 0xffff
#if 590 > 0xffff
movk ip0, 590 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbCopyKeyType
.p2align 4
.type XkbCopyKeyType, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbCopyKeyType
#endif
XkbCopyKeyType:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 591 & 0xffff
#if 591 > 0xffff
movk ip0, 591 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbCopyKeyTypes
.p2align 4
.type XkbCopyKeyTypes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbCopyKeyTypes
#endif
XkbCopyKeyTypes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 592 & 0xffff
#if 592 > 0xffff
movk ip0, 592 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbDeviceBell
.p2align 4
.type XkbDeviceBell, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbDeviceBell
#endif
XkbDeviceBell:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 593 & 0xffff
#if 593 > 0xffff
movk ip0, 593 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbDeviceBellEvent
.p2align 4
.type XkbDeviceBellEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbDeviceBellEvent
#endif
XkbDeviceBellEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 594 & 0xffff
#if 594 > 0xffff
movk ip0, 594 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFindOverlayForKey
.p2align 4
.type XkbFindOverlayForKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFindOverlayForKey
#endif
XkbFindOverlayForKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 595 & 0xffff
#if 595 > 0xffff
movk ip0, 595 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbForceBell
.p2align 4
.type XkbForceBell, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbForceBell
#endif
XkbForceBell:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 596 & 0xffff
#if 596 > 0xffff
movk ip0, 596 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbForceDeviceBell
.p2align 4
.type XkbForceDeviceBell, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbForceDeviceBell
#endif
XkbForceDeviceBell:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 597 & 0xffff
#if 597 > 0xffff
movk ip0, 597 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeClientMap
.p2align 4
.type XkbFreeClientMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeClientMap
#endif
XkbFreeClientMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 598 & 0xffff
#if 598 > 0xffff
movk ip0, 598 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeCompatMap
.p2align 4
.type XkbFreeCompatMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeCompatMap
#endif
XkbFreeCompatMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 599 & 0xffff
#if 599 > 0xffff
movk ip0, 599 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeComponentList
.p2align 4
.type XkbFreeComponentList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeComponentList
#endif
XkbFreeComponentList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 600 & 0xffff
#if 600 > 0xffff
movk ip0, 600 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeControls
.p2align 4
.type XkbFreeControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeControls
#endif
XkbFreeControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 601 & 0xffff
#if 601 > 0xffff
movk ip0, 601 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeDeviceInfo
.p2align 4
.type XkbFreeDeviceInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeDeviceInfo
#endif
XkbFreeDeviceInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 602 & 0xffff
#if 602 > 0xffff
movk ip0, 602 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomColors
.p2align 4
.type XkbFreeGeomColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomColors
#endif
XkbFreeGeomColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 603 & 0xffff
#if 603 > 0xffff
movk ip0, 603 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomDoodads
.p2align 4
.type XkbFreeGeomDoodads, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomDoodads
#endif
XkbFreeGeomDoodads:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 604 & 0xffff
#if 604 > 0xffff
movk ip0, 604 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomKeyAliases
.p2align 4
.type XkbFreeGeomKeyAliases, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomKeyAliases
#endif
XkbFreeGeomKeyAliases:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 605 & 0xffff
#if 605 > 0xffff
movk ip0, 605 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomKeys
.p2align 4
.type XkbFreeGeomKeys, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomKeys
#endif
XkbFreeGeomKeys:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 606 & 0xffff
#if 606 > 0xffff
movk ip0, 606 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomOutlines
.p2align 4
.type XkbFreeGeomOutlines, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomOutlines
#endif
XkbFreeGeomOutlines:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 607 & 0xffff
#if 607 > 0xffff
movk ip0, 607 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomOverlayKeys
.p2align 4
.type XkbFreeGeomOverlayKeys, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomOverlayKeys
#endif
XkbFreeGeomOverlayKeys:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 608 & 0xffff
#if 608 > 0xffff
movk ip0, 608 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomOverlayRows
.p2align 4
.type XkbFreeGeomOverlayRows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomOverlayRows
#endif
XkbFreeGeomOverlayRows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 609 & 0xffff
#if 609 > 0xffff
movk ip0, 609 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomOverlays
.p2align 4
.type XkbFreeGeomOverlays, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomOverlays
#endif
XkbFreeGeomOverlays:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 610 & 0xffff
#if 610 > 0xffff
movk ip0, 610 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomPoints
.p2align 4
.type XkbFreeGeomPoints, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomPoints
#endif
XkbFreeGeomPoints:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 611 & 0xffff
#if 611 > 0xffff
movk ip0, 611 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomProperties
.p2align 4
.type XkbFreeGeomProperties, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomProperties
#endif
XkbFreeGeomProperties:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 612 & 0xffff
#if 612 > 0xffff
movk ip0, 612 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomRows
.p2align 4
.type XkbFreeGeomRows, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomRows
#endif
XkbFreeGeomRows:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 613 & 0xffff
#if 613 > 0xffff
movk ip0, 613 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomSections
.p2align 4
.type XkbFreeGeomSections, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomSections
#endif
XkbFreeGeomSections:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 614 & 0xffff
#if 614 > 0xffff
movk ip0, 614 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeomShapes
.p2align 4
.type XkbFreeGeomShapes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeomShapes
#endif
XkbFreeGeomShapes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 615 & 0xffff
#if 615 > 0xffff
movk ip0, 615 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeGeometry
.p2align 4
.type XkbFreeGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeGeometry
#endif
XkbFreeGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 616 & 0xffff
#if 616 > 0xffff
movk ip0, 616 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeIndicatorMaps
.p2align 4
.type XkbFreeIndicatorMaps, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeIndicatorMaps
#endif
XkbFreeIndicatorMaps:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 617 & 0xffff
#if 617 > 0xffff
movk ip0, 617 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeKeyboard
.p2align 4
.type XkbFreeKeyboard, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeKeyboard
#endif
XkbFreeKeyboard:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 618 & 0xffff
#if 618 > 0xffff
movk ip0, 618 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeNames
.p2align 4
.type XkbFreeNames, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeNames
#endif
XkbFreeNames:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 619 & 0xffff
#if 619 > 0xffff
movk ip0, 619 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbFreeServerMap
.p2align 4
.type XkbFreeServerMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbFreeServerMap
#endif
XkbFreeServerMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 620 & 0xffff
#if 620 > 0xffff
movk ip0, 620 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetAutoRepeatRate
.p2align 4
.type XkbGetAutoRepeatRate, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetAutoRepeatRate
#endif
XkbGetAutoRepeatRate:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 621 & 0xffff
#if 621 > 0xffff
movk ip0, 621 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetAutoResetControls
.p2align 4
.type XkbGetAutoResetControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetAutoResetControls
#endif
XkbGetAutoResetControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 622 & 0xffff
#if 622 > 0xffff
movk ip0, 622 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetCompatMap
.p2align 4
.type XkbGetCompatMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetCompatMap
#endif
XkbGetCompatMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 623 & 0xffff
#if 623 > 0xffff
movk ip0, 623 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetControls
.p2align 4
.type XkbGetControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetControls
#endif
XkbGetControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+4992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+4992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 624 & 0xffff
#if 624 > 0xffff
movk ip0, 624 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetDetectableAutoRepeat
.p2align 4
.type XkbGetDetectableAutoRepeat, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetDetectableAutoRepeat
#endif
XkbGetDetectableAutoRepeat:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 625 & 0xffff
#if 625 > 0xffff
movk ip0, 625 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetDeviceButtonActions
.p2align 4
.type XkbGetDeviceButtonActions, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetDeviceButtonActions
#endif
XkbGetDeviceButtonActions:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 626 & 0xffff
#if 626 > 0xffff
movk ip0, 626 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetDeviceInfo
.p2align 4
.type XkbGetDeviceInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetDeviceInfo
#endif
XkbGetDeviceInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 627 & 0xffff
#if 627 > 0xffff
movk ip0, 627 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetDeviceInfoChanges
.p2align 4
.type XkbGetDeviceInfoChanges, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetDeviceInfoChanges
#endif
XkbGetDeviceInfoChanges:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 628 & 0xffff
#if 628 > 0xffff
movk ip0, 628 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetDeviceLedInfo
.p2align 4
.type XkbGetDeviceLedInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetDeviceLedInfo
#endif
XkbGetDeviceLedInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 629 & 0xffff
#if 629 > 0xffff
movk ip0, 629 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetGeometry
.p2align 4
.type XkbGetGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetGeometry
#endif
XkbGetGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 630 & 0xffff
#if 630 > 0xffff
movk ip0, 630 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetIndicatorMap
.p2align 4
.type XkbGetIndicatorMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetIndicatorMap
#endif
XkbGetIndicatorMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 631 & 0xffff
#if 631 > 0xffff
movk ip0, 631 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetIndicatorState
.p2align 4
.type XkbGetIndicatorState, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetIndicatorState
#endif
XkbGetIndicatorState:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 632 & 0xffff
#if 632 > 0xffff
movk ip0, 632 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeyActions
.p2align 4
.type XkbGetKeyActions, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeyActions
#endif
XkbGetKeyActions:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 633 & 0xffff
#if 633 > 0xffff
movk ip0, 633 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeyBehaviors
.p2align 4
.type XkbGetKeyBehaviors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeyBehaviors
#endif
XkbGetKeyBehaviors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 634 & 0xffff
#if 634 > 0xffff
movk ip0, 634 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeyExplicitComponents
.p2align 4
.type XkbGetKeyExplicitComponents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeyExplicitComponents
#endif
XkbGetKeyExplicitComponents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 635 & 0xffff
#if 635 > 0xffff
movk ip0, 635 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeyModifierMap
.p2align 4
.type XkbGetKeyModifierMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeyModifierMap
#endif
XkbGetKeyModifierMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 636 & 0xffff
#if 636 > 0xffff
movk ip0, 636 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeySyms
.p2align 4
.type XkbGetKeySyms, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeySyms
#endif
XkbGetKeySyms:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 637 & 0xffff
#if 637 > 0xffff
movk ip0, 637 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeyTypes
.p2align 4
.type XkbGetKeyTypes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeyTypes
#endif
XkbGetKeyTypes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 638 & 0xffff
#if 638 > 0xffff
movk ip0, 638 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeyVirtualModMap
.p2align 4
.type XkbGetKeyVirtualModMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeyVirtualModMap
#endif
XkbGetKeyVirtualModMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 639 & 0xffff
#if 639 > 0xffff
movk ip0, 639 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeyboard
.p2align 4
.type XkbGetKeyboard, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeyboard
#endif
XkbGetKeyboard:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 640 & 0xffff
#if 640 > 0xffff
movk ip0, 640 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetKeyboardByName
.p2align 4
.type XkbGetKeyboardByName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetKeyboardByName
#endif
XkbGetKeyboardByName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 641 & 0xffff
#if 641 > 0xffff
movk ip0, 641 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetMap
.p2align 4
.type XkbGetMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetMap
#endif
XkbGetMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 642 & 0xffff
#if 642 > 0xffff
movk ip0, 642 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetMapChanges
.p2align 4
.type XkbGetMapChanges, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetMapChanges
#endif
XkbGetMapChanges:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 643 & 0xffff
#if 643 > 0xffff
movk ip0, 643 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetNamedDeviceIndicator
.p2align 4
.type XkbGetNamedDeviceIndicator, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetNamedDeviceIndicator
#endif
XkbGetNamedDeviceIndicator:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 644 & 0xffff
#if 644 > 0xffff
movk ip0, 644 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetNamedGeometry
.p2align 4
.type XkbGetNamedGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetNamedGeometry
#endif
XkbGetNamedGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 645 & 0xffff
#if 645 > 0xffff
movk ip0, 645 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetNamedIndicator
.p2align 4
.type XkbGetNamedIndicator, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetNamedIndicator
#endif
XkbGetNamedIndicator:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 646 & 0xffff
#if 646 > 0xffff
movk ip0, 646 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetNames
.p2align 4
.type XkbGetNames, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetNames
#endif
XkbGetNames:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 647 & 0xffff
#if 647 > 0xffff
movk ip0, 647 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetPerClientControls
.p2align 4
.type XkbGetPerClientControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetPerClientControls
#endif
XkbGetPerClientControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 648 & 0xffff
#if 648 > 0xffff
movk ip0, 648 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetState
.p2align 4
.type XkbGetState, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetState
#endif
XkbGetState:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 649 & 0xffff
#if 649 > 0xffff
movk ip0, 649 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetUpdatedMap
.p2align 4
.type XkbGetUpdatedMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetUpdatedMap
#endif
XkbGetUpdatedMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 650 & 0xffff
#if 650 > 0xffff
movk ip0, 650 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetVirtualMods
.p2align 4
.type XkbGetVirtualMods, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetVirtualMods
#endif
XkbGetVirtualMods:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 651 & 0xffff
#if 651 > 0xffff
movk ip0, 651 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbGetXlibControls
.p2align 4
.type XkbGetXlibControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbGetXlibControls
#endif
XkbGetXlibControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 652 & 0xffff
#if 652 > 0xffff
movk ip0, 652 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbIgnoreExtension
.p2align 4
.type XkbIgnoreExtension, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbIgnoreExtension
#endif
XkbIgnoreExtension:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 653 & 0xffff
#if 653 > 0xffff
movk ip0, 653 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbInitCanonicalKeyTypes
.p2align 4
.type XkbInitCanonicalKeyTypes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbInitCanonicalKeyTypes
#endif
XkbInitCanonicalKeyTypes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 654 & 0xffff
#if 654 > 0xffff
movk ip0, 654 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbKeyTypesForCoreSymbols
.p2align 4
.type XkbKeyTypesForCoreSymbols, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbKeyTypesForCoreSymbols
#endif
XkbKeyTypesForCoreSymbols:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 655 & 0xffff
#if 655 > 0xffff
movk ip0, 655 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbKeycodeToKeysym
.p2align 4
.type XkbKeycodeToKeysym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbKeycodeToKeysym
#endif
XkbKeycodeToKeysym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 656 & 0xffff
#if 656 > 0xffff
movk ip0, 656 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbKeysymToModifiers
.p2align 4
.type XkbKeysymToModifiers, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbKeysymToModifiers
#endif
XkbKeysymToModifiers:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 657 & 0xffff
#if 657 > 0xffff
movk ip0, 657 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbLatchGroup
.p2align 4
.type XkbLatchGroup, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbLatchGroup
#endif
XkbLatchGroup:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 658 & 0xffff
#if 658 > 0xffff
movk ip0, 658 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbLatchModifiers
.p2align 4
.type XkbLatchModifiers, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbLatchModifiers
#endif
XkbLatchModifiers:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 659 & 0xffff
#if 659 > 0xffff
movk ip0, 659 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbLibraryVersion
.p2align 4
.type XkbLibraryVersion, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbLibraryVersion
#endif
XkbLibraryVersion:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 660 & 0xffff
#if 660 > 0xffff
movk ip0, 660 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbListComponents
.p2align 4
.type XkbListComponents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbListComponents
#endif
XkbListComponents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 661 & 0xffff
#if 661 > 0xffff
movk ip0, 661 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbLockGroup
.p2align 4
.type XkbLockGroup, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbLockGroup
#endif
XkbLockGroup:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 662 & 0xffff
#if 662 > 0xffff
movk ip0, 662 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbLockModifiers
.p2align 4
.type XkbLockModifiers, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbLockModifiers
#endif
XkbLockModifiers:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 663 & 0xffff
#if 663 > 0xffff
movk ip0, 663 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbLookupKeyBinding
.p2align 4
.type XkbLookupKeyBinding, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbLookupKeyBinding
#endif
XkbLookupKeyBinding:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 664 & 0xffff
#if 664 > 0xffff
movk ip0, 664 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbLookupKeySym
.p2align 4
.type XkbLookupKeySym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbLookupKeySym
#endif
XkbLookupKeySym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 665 & 0xffff
#if 665 > 0xffff
movk ip0, 665 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbNoteControlsChanges
.p2align 4
.type XkbNoteControlsChanges, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbNoteControlsChanges
#endif
XkbNoteControlsChanges:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 666 & 0xffff
#if 666 > 0xffff
movk ip0, 666 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbNoteDeviceChanges
.p2align 4
.type XkbNoteDeviceChanges, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbNoteDeviceChanges
#endif
XkbNoteDeviceChanges:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 667 & 0xffff
#if 667 > 0xffff
movk ip0, 667 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbNoteMapChanges
.p2align 4
.type XkbNoteMapChanges, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbNoteMapChanges
#endif
XkbNoteMapChanges:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 668 & 0xffff
#if 668 > 0xffff
movk ip0, 668 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbNoteNameChanges
.p2align 4
.type XkbNoteNameChanges, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbNoteNameChanges
#endif
XkbNoteNameChanges:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 669 & 0xffff
#if 669 > 0xffff
movk ip0, 669 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbOpenDisplay
.p2align 4
.type XkbOpenDisplay, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbOpenDisplay
#endif
XkbOpenDisplay:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 670 & 0xffff
#if 670 > 0xffff
movk ip0, 670 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbQueryExtension
.p2align 4
.type XkbQueryExtension, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbQueryExtension
#endif
XkbQueryExtension:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 671 & 0xffff
#if 671 > 0xffff
movk ip0, 671 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbRefreshKeyboardMapping
.p2align 4
.type XkbRefreshKeyboardMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbRefreshKeyboardMapping
#endif
XkbRefreshKeyboardMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 672 & 0xffff
#if 672 > 0xffff
movk ip0, 672 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbResizeDeviceButtonActions
.p2align 4
.type XkbResizeDeviceButtonActions, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbResizeDeviceButtonActions
#endif
XkbResizeDeviceButtonActions:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 673 & 0xffff
#if 673 > 0xffff
movk ip0, 673 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbResizeKeyActions
.p2align 4
.type XkbResizeKeyActions, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbResizeKeyActions
#endif
XkbResizeKeyActions:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 674 & 0xffff
#if 674 > 0xffff
movk ip0, 674 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbResizeKeySyms
.p2align 4
.type XkbResizeKeySyms, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbResizeKeySyms
#endif
XkbResizeKeySyms:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 675 & 0xffff
#if 675 > 0xffff
movk ip0, 675 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbResizeKeyType
.p2align 4
.type XkbResizeKeyType, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbResizeKeyType
#endif
XkbResizeKeyType:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 676 & 0xffff
#if 676 > 0xffff
movk ip0, 676 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSelectEventDetails
.p2align 4
.type XkbSelectEventDetails, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSelectEventDetails
#endif
XkbSelectEventDetails:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 677 & 0xffff
#if 677 > 0xffff
movk ip0, 677 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSelectEvents
.p2align 4
.type XkbSelectEvents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSelectEvents
#endif
XkbSelectEvents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 678 & 0xffff
#if 678 > 0xffff
movk ip0, 678 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetAtomFuncs
.p2align 4
.type XkbSetAtomFuncs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetAtomFuncs
#endif
XkbSetAtomFuncs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 679 & 0xffff
#if 679 > 0xffff
movk ip0, 679 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetAutoRepeatRate
.p2align 4
.type XkbSetAutoRepeatRate, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetAutoRepeatRate
#endif
XkbSetAutoRepeatRate:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 680 & 0xffff
#if 680 > 0xffff
movk ip0, 680 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetAutoResetControls
.p2align 4
.type XkbSetAutoResetControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetAutoResetControls
#endif
XkbSetAutoResetControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 681 & 0xffff
#if 681 > 0xffff
movk ip0, 681 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetCompatMap
.p2align 4
.type XkbSetCompatMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetCompatMap
#endif
XkbSetCompatMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 682 & 0xffff
#if 682 > 0xffff
movk ip0, 682 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetControls
.p2align 4
.type XkbSetControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetControls
#endif
XkbSetControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 683 & 0xffff
#if 683 > 0xffff
movk ip0, 683 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetDebuggingFlags
.p2align 4
.type XkbSetDebuggingFlags, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetDebuggingFlags
#endif
XkbSetDebuggingFlags:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 684 & 0xffff
#if 684 > 0xffff
movk ip0, 684 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetDetectableAutoRepeat
.p2align 4
.type XkbSetDetectableAutoRepeat, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetDetectableAutoRepeat
#endif
XkbSetDetectableAutoRepeat:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 685 & 0xffff
#if 685 > 0xffff
movk ip0, 685 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetDeviceButtonActions
.p2align 4
.type XkbSetDeviceButtonActions, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetDeviceButtonActions
#endif
XkbSetDeviceButtonActions:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 686 & 0xffff
#if 686 > 0xffff
movk ip0, 686 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetDeviceInfo
.p2align 4
.type XkbSetDeviceInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetDeviceInfo
#endif
XkbSetDeviceInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 687 & 0xffff
#if 687 > 0xffff
movk ip0, 687 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetDeviceLedInfo
.p2align 4
.type XkbSetDeviceLedInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetDeviceLedInfo
#endif
XkbSetDeviceLedInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 688 & 0xffff
#if 688 > 0xffff
movk ip0, 688 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetGeometry
.p2align 4
.type XkbSetGeometry, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetGeometry
#endif
XkbSetGeometry:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 689 & 0xffff
#if 689 > 0xffff
movk ip0, 689 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetIgnoreLockMods
.p2align 4
.type XkbSetIgnoreLockMods, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetIgnoreLockMods
#endif
XkbSetIgnoreLockMods:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 690 & 0xffff
#if 690 > 0xffff
movk ip0, 690 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetIndicatorMap
.p2align 4
.type XkbSetIndicatorMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetIndicatorMap
#endif
XkbSetIndicatorMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 691 & 0xffff
#if 691 > 0xffff
movk ip0, 691 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetMap
.p2align 4
.type XkbSetMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetMap
#endif
XkbSetMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 692 & 0xffff
#if 692 > 0xffff
movk ip0, 692 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetNamedDeviceIndicator
.p2align 4
.type XkbSetNamedDeviceIndicator, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetNamedDeviceIndicator
#endif
XkbSetNamedDeviceIndicator:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 693 & 0xffff
#if 693 > 0xffff
movk ip0, 693 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetNamedIndicator
.p2align 4
.type XkbSetNamedIndicator, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetNamedIndicator
#endif
XkbSetNamedIndicator:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 694 & 0xffff
#if 694 > 0xffff
movk ip0, 694 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetNames
.p2align 4
.type XkbSetNames, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetNames
#endif
XkbSetNames:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 695 & 0xffff
#if 695 > 0xffff
movk ip0, 695 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetPerClientControls
.p2align 4
.type XkbSetPerClientControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetPerClientControls
#endif
XkbSetPerClientControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 696 & 0xffff
#if 696 > 0xffff
movk ip0, 696 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetServerInternalMods
.p2align 4
.type XkbSetServerInternalMods, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetServerInternalMods
#endif
XkbSetServerInternalMods:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 697 & 0xffff
#if 697 > 0xffff
movk ip0, 697 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbSetXlibControls
.p2align 4
.type XkbSetXlibControls, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbSetXlibControls
#endif
XkbSetXlibControls:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 698 & 0xffff
#if 698 > 0xffff
movk ip0, 698 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbToControl
.p2align 4
.type XkbToControl, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbToControl
#endif
XkbToControl:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 699 & 0xffff
#if 699 > 0xffff
movk ip0, 699 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbTranslateKey
.p2align 4
.type XkbTranslateKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbTranslateKey
#endif
XkbTranslateKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 700 & 0xffff
#if 700 > 0xffff
movk ip0, 700 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbTranslateKeyCode
.p2align 4
.type XkbTranslateKeyCode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbTranslateKeyCode
#endif
XkbTranslateKeyCode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 701 & 0xffff
#if 701 > 0xffff
movk ip0, 701 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbTranslateKeySym
.p2align 4
.type XkbTranslateKeySym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbTranslateKeySym
#endif
XkbTranslateKeySym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 702 & 0xffff
#if 702 > 0xffff
movk ip0, 702 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbUpdateActionVirtualMods
.p2align 4
.type XkbUpdateActionVirtualMods, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbUpdateActionVirtualMods
#endif
XkbUpdateActionVirtualMods:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 703 & 0xffff
#if 703 > 0xffff
movk ip0, 703 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbUpdateKeyTypeVirtualMods
.p2align 4
.type XkbUpdateKeyTypeVirtualMods, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbUpdateKeyTypeVirtualMods
#endif
XkbUpdateKeyTypeVirtualMods:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 704 & 0xffff
#if 704 > 0xffff
movk ip0, 704 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbUpdateMapFromCore
.p2align 4
.type XkbUpdateMapFromCore, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbUpdateMapFromCore
#endif
XkbUpdateMapFromCore:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 705 & 0xffff
#if 705 > 0xffff
movk ip0, 705 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbUseExtension
.p2align 4
.type XkbUseExtension, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbUseExtension
#endif
XkbUseExtension:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 706 & 0xffff
#if 706 > 0xffff
movk ip0, 706 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbVirtualModsToReal
.p2align 4
.type XkbVirtualModsToReal, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbVirtualModsToReal
#endif
XkbVirtualModsToReal:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 707 & 0xffff
#if 707 > 0xffff
movk ip0, 707 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XkbXlibControlsImplemented
.p2align 4
.type XkbXlibControlsImplemented, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XkbXlibControlsImplemented
#endif
XkbXlibControlsImplemented:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 708 & 0xffff
#if 708 > 0xffff
movk ip0, 708 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbDrawImageString
.p2align 4
.type XmbDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbDrawImageString
#endif
XmbDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 709 & 0xffff
#if 709 > 0xffff
movk ip0, 709 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbDrawString
.p2align 4
.type XmbDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbDrawString
#endif
XmbDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 710 & 0xffff
#if 710 > 0xffff
movk ip0, 710 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbDrawText
.p2align 4
.type XmbDrawText, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbDrawText
#endif
XmbDrawText:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 711 & 0xffff
#if 711 > 0xffff
movk ip0, 711 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbLookupString
.p2align 4
.type XmbLookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbLookupString
#endif
XmbLookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 712 & 0xffff
#if 712 > 0xffff
movk ip0, 712 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbResetIC
.p2align 4
.type XmbResetIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbResetIC
#endif
XmbResetIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 713 & 0xffff
#if 713 > 0xffff
movk ip0, 713 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbSetWMProperties
.p2align 4
.type XmbSetWMProperties, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbSetWMProperties
#endif
XmbSetWMProperties:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 714 & 0xffff
#if 714 > 0xffff
movk ip0, 714 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbTextEscapement
.p2align 4
.type XmbTextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbTextEscapement
#endif
XmbTextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 715 & 0xffff
#if 715 > 0xffff
movk ip0, 715 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbTextExtents
.p2align 4
.type XmbTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbTextExtents
#endif
XmbTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 716 & 0xffff
#if 716 > 0xffff
movk ip0, 716 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbTextListToTextProperty
.p2align 4
.type XmbTextListToTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbTextListToTextProperty
#endif
XmbTextListToTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 717 & 0xffff
#if 717 > 0xffff
movk ip0, 717 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbTextPerCharExtents
.p2align 4
.type XmbTextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbTextPerCharExtents
#endif
XmbTextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 718 & 0xffff
#if 718 > 0xffff
movk ip0, 718 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XmbTextPropertyToTextList
.p2align 4
.type XmbTextPropertyToTextList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XmbTextPropertyToTextList
#endif
XmbTextPropertyToTextList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 719 & 0xffff
#if 719 > 0xffff
movk ip0, 719 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xpermalloc
.p2align 4
.type Xpermalloc, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xpermalloc
#endif
Xpermalloc:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 720 & 0xffff
#if 720 > 0xffff
movk ip0, 720 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmCombineDatabase
.p2align 4
.type XrmCombineDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmCombineDatabase
#endif
XrmCombineDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 721 & 0xffff
#if 721 > 0xffff
movk ip0, 721 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmCombineFileDatabase
.p2align 4
.type XrmCombineFileDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmCombineFileDatabase
#endif
XrmCombineFileDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 722 & 0xffff
#if 722 > 0xffff
movk ip0, 722 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmDestroyDatabase
.p2align 4
.type XrmDestroyDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmDestroyDatabase
#endif
XrmDestroyDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 723 & 0xffff
#if 723 > 0xffff
movk ip0, 723 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmEnumerateDatabase
.p2align 4
.type XrmEnumerateDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmEnumerateDatabase
#endif
XrmEnumerateDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 724 & 0xffff
#if 724 > 0xffff
movk ip0, 724 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmGetDatabase
.p2align 4
.type XrmGetDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmGetDatabase
#endif
XrmGetDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 725 & 0xffff
#if 725 > 0xffff
movk ip0, 725 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmGetFileDatabase
.p2align 4
.type XrmGetFileDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmGetFileDatabase
#endif
XrmGetFileDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 726 & 0xffff
#if 726 > 0xffff
movk ip0, 726 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmGetResource
.p2align 4
.type XrmGetResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmGetResource
#endif
XrmGetResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 727 & 0xffff
#if 727 > 0xffff
movk ip0, 727 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmGetStringDatabase
.p2align 4
.type XrmGetStringDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmGetStringDatabase
#endif
XrmGetStringDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 728 & 0xffff
#if 728 > 0xffff
movk ip0, 728 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmInitialize
.p2align 4
.type XrmInitialize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmInitialize
#endif
XrmInitialize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 729 & 0xffff
#if 729 > 0xffff
movk ip0, 729 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmLocaleOfDatabase
.p2align 4
.type XrmLocaleOfDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmLocaleOfDatabase
#endif
XrmLocaleOfDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 730 & 0xffff
#if 730 > 0xffff
movk ip0, 730 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmMergeDatabases
.p2align 4
.type XrmMergeDatabases, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmMergeDatabases
#endif
XrmMergeDatabases:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 731 & 0xffff
#if 731 > 0xffff
movk ip0, 731 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmParseCommand
.p2align 4
.type XrmParseCommand, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmParseCommand
#endif
XrmParseCommand:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 732 & 0xffff
#if 732 > 0xffff
movk ip0, 732 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmPermStringToQuark
.p2align 4
.type XrmPermStringToQuark, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmPermStringToQuark
#endif
XrmPermStringToQuark:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 733 & 0xffff
#if 733 > 0xffff
movk ip0, 733 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmPutFileDatabase
.p2align 4
.type XrmPutFileDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmPutFileDatabase
#endif
XrmPutFileDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 734 & 0xffff
#if 734 > 0xffff
movk ip0, 734 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmPutLineResource
.p2align 4
.type XrmPutLineResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmPutLineResource
#endif
XrmPutLineResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 735 & 0xffff
#if 735 > 0xffff
movk ip0, 735 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmPutResource
.p2align 4
.type XrmPutResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmPutResource
#endif
XrmPutResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 736 & 0xffff
#if 736 > 0xffff
movk ip0, 736 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmPutStringResource
.p2align 4
.type XrmPutStringResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmPutStringResource
#endif
XrmPutStringResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 737 & 0xffff
#if 737 > 0xffff
movk ip0, 737 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmQGetResource
.p2align 4
.type XrmQGetResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmQGetResource
#endif
XrmQGetResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 738 & 0xffff
#if 738 > 0xffff
movk ip0, 738 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmQGetSearchList
.p2align 4
.type XrmQGetSearchList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmQGetSearchList
#endif
XrmQGetSearchList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 739 & 0xffff
#if 739 > 0xffff
movk ip0, 739 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmQGetSearchResource
.p2align 4
.type XrmQGetSearchResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmQGetSearchResource
#endif
XrmQGetSearchResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 740 & 0xffff
#if 740 > 0xffff
movk ip0, 740 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmQPutResource
.p2align 4
.type XrmQPutResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmQPutResource
#endif
XrmQPutResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 741 & 0xffff
#if 741 > 0xffff
movk ip0, 741 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmQPutStringResource
.p2align 4
.type XrmQPutStringResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmQPutStringResource
#endif
XrmQPutStringResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 742 & 0xffff
#if 742 > 0xffff
movk ip0, 742 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmQuarkToString
.p2align 4
.type XrmQuarkToString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmQuarkToString
#endif
XrmQuarkToString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 743 & 0xffff
#if 743 > 0xffff
movk ip0, 743 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmSetDatabase
.p2align 4
.type XrmSetDatabase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmSetDatabase
#endif
XrmSetDatabase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 744 & 0xffff
#if 744 > 0xffff
movk ip0, 744 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmStringToBindingQuarkList
.p2align 4
.type XrmStringToBindingQuarkList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmStringToBindingQuarkList
#endif
XrmStringToBindingQuarkList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 745 & 0xffff
#if 745 > 0xffff
movk ip0, 745 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmStringToQuark
.p2align 4
.type XrmStringToQuark, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmStringToQuark
#endif
XrmStringToQuark:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 746 & 0xffff
#if 746 > 0xffff
movk ip0, 746 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmStringToQuarkList
.p2align 4
.type XrmStringToQuarkList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmStringToQuarkList
#endif
XrmStringToQuarkList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 747 & 0xffff
#if 747 > 0xffff
movk ip0, 747 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XrmUniqueQuark
.p2align 4
.type XrmUniqueQuark, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XrmUniqueQuark
#endif
XrmUniqueQuark:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 748 & 0xffff
#if 748 > 0xffff
movk ip0, 748 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8DrawImageString
.p2align 4
.type Xutf8DrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8DrawImageString
#endif
Xutf8DrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+5992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+5992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 749 & 0xffff
#if 749 > 0xffff
movk ip0, 749 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8DrawString
.p2align 4
.type Xutf8DrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8DrawString
#endif
Xutf8DrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 750 & 0xffff
#if 750 > 0xffff
movk ip0, 750 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8DrawText
.p2align 4
.type Xutf8DrawText, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8DrawText
#endif
Xutf8DrawText:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 751 & 0xffff
#if 751 > 0xffff
movk ip0, 751 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8LookupString
.p2align 4
.type Xutf8LookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8LookupString
#endif
Xutf8LookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 752 & 0xffff
#if 752 > 0xffff
movk ip0, 752 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8ResetIC
.p2align 4
.type Xutf8ResetIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8ResetIC
#endif
Xutf8ResetIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 753 & 0xffff
#if 753 > 0xffff
movk ip0, 753 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8SetWMProperties
.p2align 4
.type Xutf8SetWMProperties, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8SetWMProperties
#endif
Xutf8SetWMProperties:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 754 & 0xffff
#if 754 > 0xffff
movk ip0, 754 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8TextEscapement
.p2align 4
.type Xutf8TextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8TextEscapement
#endif
Xutf8TextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 755 & 0xffff
#if 755 > 0xffff
movk ip0, 755 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8TextExtents
.p2align 4
.type Xutf8TextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8TextExtents
#endif
Xutf8TextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 756 & 0xffff
#if 756 > 0xffff
movk ip0, 756 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8TextListToTextProperty
.p2align 4
.type Xutf8TextListToTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8TextListToTextProperty
#endif
Xutf8TextListToTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 757 & 0xffff
#if 757 > 0xffff
movk ip0, 757 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8TextPerCharExtents
.p2align 4
.type Xutf8TextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8TextPerCharExtents
#endif
Xutf8TextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 758 & 0xffff
#if 758 > 0xffff
movk ip0, 758 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl Xutf8TextPropertyToTextList
.p2align 4
.type Xutf8TextPropertyToTextList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden Xutf8TextPropertyToTextList
#endif
Xutf8TextPropertyToTextList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 759 & 0xffff
#if 759 > 0xffff
movk ip0, 759 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcDrawImageString
.p2align 4
.type XwcDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcDrawImageString
#endif
XwcDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 760 & 0xffff
#if 760 > 0xffff
movk ip0, 760 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcDrawString
.p2align 4
.type XwcDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcDrawString
#endif
XwcDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 761 & 0xffff
#if 761 > 0xffff
movk ip0, 761 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcDrawText
.p2align 4
.type XwcDrawText, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcDrawText
#endif
XwcDrawText:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 762 & 0xffff
#if 762 > 0xffff
movk ip0, 762 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcFreeStringList
.p2align 4
.type XwcFreeStringList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcFreeStringList
#endif
XwcFreeStringList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 763 & 0xffff
#if 763 > 0xffff
movk ip0, 763 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcLookupString
.p2align 4
.type XwcLookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcLookupString
#endif
XwcLookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 764 & 0xffff
#if 764 > 0xffff
movk ip0, 764 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcResetIC
.p2align 4
.type XwcResetIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcResetIC
#endif
XwcResetIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 765 & 0xffff
#if 765 > 0xffff
movk ip0, 765 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcTextEscapement
.p2align 4
.type XwcTextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcTextEscapement
#endif
XwcTextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 766 & 0xffff
#if 766 > 0xffff
movk ip0, 766 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcTextExtents
.p2align 4
.type XwcTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcTextExtents
#endif
XwcTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 767 & 0xffff
#if 767 > 0xffff
movk ip0, 767 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcTextListToTextProperty
.p2align 4
.type XwcTextListToTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcTextListToTextProperty
#endif
XwcTextListToTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 768 & 0xffff
#if 768 > 0xffff
movk ip0, 768 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcTextPerCharExtents
.p2align 4
.type XwcTextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcTextPerCharExtents
#endif
XwcTextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 769 & 0xffff
#if 769 > 0xffff
movk ip0, 769 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl XwcTextPropertyToTextList
.p2align 4
.type XwcTextPropertyToTextList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden XwcTextPropertyToTextList
#endif
XwcTextPropertyToTextList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 770 & 0xffff
#if 770 > 0xffff
movk ip0, 770 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Utf8GetConvByName
.p2align 4
.type _Utf8GetConvByName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Utf8GetConvByName
#endif
_Utf8GetConvByName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 771 & 0xffff
#if 771 > 0xffff
movk ip0, 771 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XAllocID
.p2align 4
.type _XAllocID, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XAllocID
#endif
_XAllocID:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 772 & 0xffff
#if 772 > 0xffff
movk ip0, 772 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XAllocIDs
.p2align 4
.type _XAllocIDs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XAllocIDs
#endif
_XAllocIDs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 773 & 0xffff
#if 773 > 0xffff
movk ip0, 773 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XAllocScratch
.p2align 4
.type _XAllocScratch, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XAllocScratch
#endif
_XAllocScratch:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 774 & 0xffff
#if 774 > 0xffff
movk ip0, 774 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XAllocTemp
.p2align 4
.type _XAllocTemp, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XAllocTemp
#endif
_XAllocTemp:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 775 & 0xffff
#if 775 > 0xffff
movk ip0, 775 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XAsyncErrorHandler
.p2align 4
.type _XAsyncErrorHandler, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XAsyncErrorHandler
#endif
_XAsyncErrorHandler:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 776 & 0xffff
#if 776 > 0xffff
movk ip0, 776 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XCloseLC
.p2align 4
.type _XCloseLC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XCloseLC
#endif
_XCloseLC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 777 & 0xffff
#if 777 > 0xffff
movk ip0, 777 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XColor_to_XcmsRGB
.p2align 4
.type _XColor_to_XcmsRGB, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XColor_to_XcmsRGB
#endif
_XColor_to_XcmsRGB:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 778 & 0xffff
#if 778 > 0xffff
movk ip0, 778 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XConnectXCB
.p2align 4
.type _XConnectXCB, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XConnectXCB
#endif
_XConnectXCB:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 779 & 0xffff
#if 779 > 0xffff
movk ip0, 779 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XCopyEventCookie
.p2align 4
.type _XCopyEventCookie, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XCopyEventCookie
#endif
_XCopyEventCookie:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 780 & 0xffff
#if 780 > 0xffff
movk ip0, 780 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XCopyToArg
.p2align 4
.type _XCopyToArg, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XCopyToArg
#endif
_XCopyToArg:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 781 & 0xffff
#if 781 > 0xffff
movk ip0, 781 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XData32
.p2align 4
.type _XData32, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XData32
#endif
_XData32:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 782 & 0xffff
#if 782 > 0xffff
movk ip0, 782 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XDefaultError
.p2align 4
.type _XDefaultError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XDefaultError
#endif
_XDefaultError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 783 & 0xffff
#if 783 > 0xffff
movk ip0, 783 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XDefaultIOError
.p2align 4
.type _XDefaultIOError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XDefaultIOError
#endif
_XDefaultIOError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 784 & 0xffff
#if 784 > 0xffff
movk ip0, 784 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XDefaultIOErrorExit
.p2align 4
.type _XDefaultIOErrorExit, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XDefaultIOErrorExit
#endif
_XDefaultIOErrorExit:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 785 & 0xffff
#if 785 > 0xffff
movk ip0, 785 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XDefaultOpenIM
.p2align 4
.type _XDefaultOpenIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XDefaultOpenIM
#endif
_XDefaultOpenIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 786 & 0xffff
#if 786 > 0xffff
movk ip0, 786 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XDefaultOpenOM
.p2align 4
.type _XDefaultOpenOM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XDefaultOpenOM
#endif
_XDefaultOpenOM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 787 & 0xffff
#if 787 > 0xffff
movk ip0, 787 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XDefaultWireError
.p2align 4
.type _XDefaultWireError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XDefaultWireError
#endif
_XDefaultWireError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 788 & 0xffff
#if 788 > 0xffff
movk ip0, 788 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XDeq
.p2align 4
.type _XDeq, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XDeq
#endif
_XDeq:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 789 & 0xffff
#if 789 > 0xffff
movk ip0, 789 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XDeqAsyncHandler
.p2align 4
.type _XDeqAsyncHandler, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XDeqAsyncHandler
#endif
_XDeqAsyncHandler:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 790 & 0xffff
#if 790 > 0xffff
movk ip0, 790 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XEatData
.p2align 4
.type _XEatData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XEatData
#endif
_XEatData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 791 & 0xffff
#if 791 > 0xffff
movk ip0, 791 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XEatDataWords
.p2align 4
.type _XEatDataWords, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XEatDataWords
#endif
_XEatDataWords:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 792 & 0xffff
#if 792 > 0xffff
movk ip0, 792 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XEnq
.p2align 4
.type _XEnq, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XEnq
#endif
_XEnq:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 793 & 0xffff
#if 793 > 0xffff
movk ip0, 793 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XError
.p2align 4
.type _XError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XError
#endif
_XError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 794 & 0xffff
#if 794 > 0xffff
movk ip0, 794 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XEventToWire
.p2align 4
.type _XEventToWire, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XEventToWire
#endif
_XEventToWire:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 795 & 0xffff
#if 795 > 0xffff
movk ip0, 795 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XEventsQueued
.p2align 4
.type _XEventsQueued, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XEventsQueued
#endif
_XEventsQueued:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 796 & 0xffff
#if 796 > 0xffff
movk ip0, 796 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XF86BigfontFreeFontMetrics
.p2align 4
.type _XF86BigfontFreeFontMetrics, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XF86BigfontFreeFontMetrics
#endif
_XF86BigfontFreeFontMetrics:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 797 & 0xffff
#if 797 > 0xffff
movk ip0, 797 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XF86LoadQueryLocaleFont
.p2align 4
.type _XF86LoadQueryLocaleFont, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XF86LoadQueryLocaleFont
#endif
_XF86LoadQueryLocaleFont:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 798 & 0xffff
#if 798 > 0xffff
movk ip0, 798 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFetchEventCookie
.p2align 4
.type _XFetchEventCookie, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFetchEventCookie
#endif
_XFetchEventCookie:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 799 & 0xffff
#if 799 > 0xffff
movk ip0, 799 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFlush
.p2align 4
.type _XFlush, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFlush
#endif
_XFlush:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 800 & 0xffff
#if 800 > 0xffff
movk ip0, 800 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFlushGCCache
.p2align 4
.type _XFlushGCCache, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFlushGCCache
#endif
_XFlushGCCache:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 801 & 0xffff
#if 801 > 0xffff
movk ip0, 801 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFreeAtomTable
.p2align 4
.type _XFreeAtomTable, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFreeAtomTable
#endif
_XFreeAtomTable:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 802 & 0xffff
#if 802 > 0xffff
movk ip0, 802 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFreeDisplayStructure
.p2align 4
.type _XFreeDisplayStructure, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFreeDisplayStructure
#endif
_XFreeDisplayStructure:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 803 & 0xffff
#if 803 > 0xffff
movk ip0, 803 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFreeEventCookies
.p2align 4
.type _XFreeEventCookies, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFreeEventCookies
#endif
_XFreeEventCookies:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 804 & 0xffff
#if 804 > 0xffff
movk ip0, 804 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFreeExtData
.p2align 4
.type _XFreeExtData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFreeExtData
#endif
_XFreeExtData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 805 & 0xffff
#if 805 > 0xffff
movk ip0, 805 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFreeTemp
.p2align 4
.type _XFreeTemp, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFreeTemp
#endif
_XFreeTemp:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 806 & 0xffff
#if 806 > 0xffff
movk ip0, 806 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XFreeX11XCBStructure
.p2align 4
.type _XFreeX11XCBStructure, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XFreeX11XCBStructure
#endif
_XFreeX11XCBStructure:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 807 & 0xffff
#if 807 > 0xffff
movk ip0, 807 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XGetAsyncData
.p2align 4
.type _XGetAsyncData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XGetAsyncData
#endif
_XGetAsyncData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 808 & 0xffff
#if 808 > 0xffff
movk ip0, 808 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XGetAsyncReply
.p2align 4
.type _XGetAsyncReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XGetAsyncReply
#endif
_XGetAsyncReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 809 & 0xffff
#if 809 > 0xffff
movk ip0, 809 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XGetBitsPerPixel
.p2align 4
.type _XGetBitsPerPixel, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XGetBitsPerPixel
#endif
_XGetBitsPerPixel:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 810 & 0xffff
#if 810 > 0xffff
movk ip0, 810 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XGetHostname
.p2align 4
.type _XGetHostname, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XGetHostname
#endif
_XGetHostname:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 811 & 0xffff
#if 811 > 0xffff
movk ip0, 811 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XGetLCValues
.p2align 4
.type _XGetLCValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XGetLCValues
#endif
_XGetLCValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 812 & 0xffff
#if 812 > 0xffff
movk ip0, 812 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XGetRequest
.p2align 4
.type _XGetRequest, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XGetRequest
#endif
_XGetRequest:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 813 & 0xffff
#if 813 > 0xffff
movk ip0, 813 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XGetScanlinePad
.p2align 4
.type _XGetScanlinePad, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XGetScanlinePad
#endif
_XGetScanlinePad:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 814 & 0xffff
#if 814 > 0xffff
movk ip0, 814 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XGetWindowAttributes
.p2align 4
.type _XGetWindowAttributes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XGetWindowAttributes
#endif
_XGetWindowAttributes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 815 & 0xffff
#if 815 > 0xffff
movk ip0, 815 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XIMCompileResourceList
.p2align 4
.type _XIMCompileResourceList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XIMCompileResourceList
#endif
_XIMCompileResourceList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 816 & 0xffff
#if 816 > 0xffff
movk ip0, 816 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XIOError
.p2align 4
.type _XIOError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XIOError
#endif
_XIOError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 817 & 0xffff
#if 817 > 0xffff
movk ip0, 817 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XInitIM
.p2align 4
.type _XInitIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XInitIM
#endif
_XInitIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 818 & 0xffff
#if 818 > 0xffff
movk ip0, 818 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XInitImageFuncPtrs
.p2align 4
.type _XInitImageFuncPtrs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XInitImageFuncPtrs
#endif
_XInitImageFuncPtrs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 819 & 0xffff
#if 819 > 0xffff
movk ip0, 819 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XInitKeysymDB
.p2align 4
.type _XInitKeysymDB, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XInitKeysymDB
#endif
_XInitKeysymDB:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 820 & 0xffff
#if 820 > 0xffff
movk ip0, 820 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XInitOM
.p2align 4
.type _XInitOM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XInitOM
#endif
_XInitOM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 821 & 0xffff
#if 821 > 0xffff
movk ip0, 821 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XIsEventCookie
.p2align 4
.type _XIsEventCookie, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XIsEventCookie
#endif
_XIsEventCookie:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 822 & 0xffff
#if 822 > 0xffff
movk ip0, 822 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XKeyInitialize
.p2align 4
.type _XKeyInitialize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XKeyInitialize
#endif
_XKeyInitialize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 823 & 0xffff
#if 823 > 0xffff
movk ip0, 823 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XKeycodeToKeysym
.p2align 4
.type _XKeycodeToKeysym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XKeycodeToKeysym
#endif
_XKeycodeToKeysym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 824 & 0xffff
#if 824 > 0xffff
movk ip0, 824 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XKeysymToKeycode
.p2align 4
.type _XKeysymToKeycode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XKeysymToKeycode
#endif
_XKeysymToKeycode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 825 & 0xffff
#if 825 > 0xffff
movk ip0, 825 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XKeysymToModifiers
.p2align 4
.type _XKeysymToModifiers, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XKeysymToModifiers
#endif
_XKeysymToModifiers:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 826 & 0xffff
#if 826 > 0xffff
movk ip0, 826 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XLookupKeysym
.p2align 4
.type _XLookupKeysym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XLookupKeysym
#endif
_XLookupKeysym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 827 & 0xffff
#if 827 > 0xffff
movk ip0, 827 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XLookupString
.p2align 4
.type _XLookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XLookupString
#endif
_XLookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 828 & 0xffff
#if 828 > 0xffff
movk ip0, 828 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XNoticeCreateBitmap
.p2align 4
.type _XNoticeCreateBitmap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XNoticeCreateBitmap
#endif
_XNoticeCreateBitmap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 829 & 0xffff
#if 829 > 0xffff
movk ip0, 829 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XNoticePutBitmap
.p2align 4
.type _XNoticePutBitmap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XNoticePutBitmap
#endif
_XNoticePutBitmap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 830 & 0xffff
#if 830 > 0xffff
movk ip0, 830 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XOpenLC
.p2align 4
.type _XOpenLC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XOpenLC
#endif
_XOpenLC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 831 & 0xffff
#if 831 > 0xffff
movk ip0, 831 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XParseBaseFontNameList
.p2align 4
.type _XParseBaseFontNameList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XParseBaseFontNameList
#endif
_XParseBaseFontNameList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 832 & 0xffff
#if 832 > 0xffff
movk ip0, 832 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XPollfdCacheAdd
.p2align 4
.type _XPollfdCacheAdd, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XPollfdCacheAdd
#endif
_XPollfdCacheAdd:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 833 & 0xffff
#if 833 > 0xffff
movk ip0, 833 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XPollfdCacheDel
.p2align 4
.type _XPollfdCacheDel, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XPollfdCacheDel
#endif
_XPollfdCacheDel:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 834 & 0xffff
#if 834 > 0xffff
movk ip0, 834 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XPollfdCacheInit
.p2align 4
.type _XPollfdCacheInit, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XPollfdCacheInit
#endif
_XPollfdCacheInit:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 835 & 0xffff
#if 835 > 0xffff
movk ip0, 835 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XProcessInternalConnection
.p2align 4
.type _XProcessInternalConnection, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XProcessInternalConnection
#endif
_XProcessInternalConnection:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 836 & 0xffff
#if 836 > 0xffff
movk ip0, 836 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XProcessWindowAttributes
.p2align 4
.type _XProcessWindowAttributes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XProcessWindowAttributes
#endif
_XProcessWindowAttributes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 837 & 0xffff
#if 837 > 0xffff
movk ip0, 837 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XPutBackEvent
.p2align 4
.type _XPutBackEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XPutBackEvent
#endif
_XPutBackEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 838 & 0xffff
#if 838 > 0xffff
movk ip0, 838 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XRead
.p2align 4
.type _XRead, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XRead
#endif
_XRead:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 839 & 0xffff
#if 839 > 0xffff
movk ip0, 839 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XRead32
.p2align 4
.type _XRead32, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XRead32
#endif
_XRead32:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 840 & 0xffff
#if 840 > 0xffff
movk ip0, 840 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XReadEvents
.p2align 4
.type _XReadEvents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XReadEvents
#endif
_XReadEvents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 841 & 0xffff
#if 841 > 0xffff
movk ip0, 841 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XReadPad
.p2align 4
.type _XReadPad, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XReadPad
#endif
_XReadPad:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 842 & 0xffff
#if 842 > 0xffff
movk ip0, 842 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XRefreshKeyboardMapping
.p2align 4
.type _XRefreshKeyboardMapping, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XRefreshKeyboardMapping
#endif
_XRefreshKeyboardMapping:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 843 & 0xffff
#if 843 > 0xffff
movk ip0, 843 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XRegisterFilterByMask
.p2align 4
.type _XRegisterFilterByMask, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XRegisterFilterByMask
#endif
_XRegisterFilterByMask:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 844 & 0xffff
#if 844 > 0xffff
movk ip0, 844 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XRegisterFilterByType
.p2align 4
.type _XRegisterFilterByType, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XRegisterFilterByType
#endif
_XRegisterFilterByType:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 845 & 0xffff
#if 845 > 0xffff
movk ip0, 845 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XRegisterInternalConnection
.p2align 4
.type _XRegisterInternalConnection, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XRegisterInternalConnection
#endif
_XRegisterInternalConnection:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 846 & 0xffff
#if 846 > 0xffff
movk ip0, 846 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XReply
.p2align 4
.type _XReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XReply
#endif
_XReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 847 & 0xffff
#if 847 > 0xffff
movk ip0, 847 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XReverse_Bytes
.p2align 4
.type _XReverse_Bytes, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XReverse_Bytes
#endif
_XReverse_Bytes:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 848 & 0xffff
#if 848 > 0xffff
movk ip0, 848 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XScreenOfWindow
.p2align 4
.type _XScreenOfWindow, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XScreenOfWindow
#endif
_XScreenOfWindow:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 849 & 0xffff
#if 849 > 0xffff
movk ip0, 849 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XSend
.p2align 4
.type _XSend, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XSend
#endif
_XSend:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 850 & 0xffff
#if 850 > 0xffff
movk ip0, 850 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XSetClipRectangles
.p2align 4
.type _XSetClipRectangles, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XSetClipRectangles
#endif
_XSetClipRectangles:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 851 & 0xffff
#if 851 > 0xffff
movk ip0, 851 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XSetImage
.p2align 4
.type _XSetImage, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XSetImage
#endif
_XSetImage:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 852 & 0xffff
#if 852 > 0xffff
movk ip0, 852 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XSetLastRequestRead
.p2align 4
.type _XSetLastRequestRead, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XSetLastRequestRead
#endif
_XSetLastRequestRead:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 853 & 0xffff
#if 853 > 0xffff
movk ip0, 853 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XStoreEventCookie
.p2align 4
.type _XStoreEventCookie, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XStoreEventCookie
#endif
_XStoreEventCookie:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 854 & 0xffff
#if 854 > 0xffff
movk ip0, 854 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XTextHeight
.p2align 4
.type _XTextHeight, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XTextHeight
#endif
_XTextHeight:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 855 & 0xffff
#if 855 > 0xffff
movk ip0, 855 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XTextHeight16
.p2align 4
.type _XTextHeight16, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XTextHeight16
#endif
_XTextHeight16:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 856 & 0xffff
#if 856 > 0xffff
movk ip0, 856 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XTranslateKey
.p2align 4
.type _XTranslateKey, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XTranslateKey
#endif
_XTranslateKey:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 857 & 0xffff
#if 857 > 0xffff
movk ip0, 857 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XTranslateKeySym
.p2align 4
.type _XTranslateKeySym, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XTranslateKeySym
#endif
_XTranslateKeySym:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 858 & 0xffff
#if 858 > 0xffff
movk ip0, 858 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XTryShapeBitmapCursor
.p2align 4
.type _XTryShapeBitmapCursor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XTryShapeBitmapCursor
#endif
_XTryShapeBitmapCursor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 859 & 0xffff
#if 859 > 0xffff
movk ip0, 859 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUnknownCopyEventCookie
.p2align 4
.type _XUnknownCopyEventCookie, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUnknownCopyEventCookie
#endif
_XUnknownCopyEventCookie:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 860 & 0xffff
#if 860 > 0xffff
movk ip0, 860 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUnknownNativeEvent
.p2align 4
.type _XUnknownNativeEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUnknownNativeEvent
#endif
_XUnknownNativeEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 861 & 0xffff
#if 861 > 0xffff
movk ip0, 861 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUnknownWireEvent
.p2align 4
.type _XUnknownWireEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUnknownWireEvent
#endif
_XUnknownWireEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 862 & 0xffff
#if 862 > 0xffff
movk ip0, 862 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUnknownWireEventCookie
.p2align 4
.type _XUnknownWireEventCookie, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUnknownWireEventCookie
#endif
_XUnknownWireEventCookie:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 863 & 0xffff
#if 863 > 0xffff
movk ip0, 863 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUnregisterFilter
.p2align 4
.type _XUnregisterFilter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUnregisterFilter
#endif
_XUnregisterFilter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 864 & 0xffff
#if 864 > 0xffff
movk ip0, 864 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUnregisterInternalConnection
.p2align 4
.type _XUnregisterInternalConnection, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUnregisterInternalConnection
#endif
_XUnregisterInternalConnection:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 865 & 0xffff
#if 865 > 0xffff
movk ip0, 865 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUnresolveColor
.p2align 4
.type _XUnresolveColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUnresolveColor
#endif
_XUnresolveColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 866 & 0xffff
#if 866 > 0xffff
movk ip0, 866 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUpdateAtomCache
.p2align 4
.type _XUpdateAtomCache, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUpdateAtomCache
#endif
_XUpdateAtomCache:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 867 & 0xffff
#if 867 > 0xffff
movk ip0, 867 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XUpdateGCCache
.p2align 4
.type _XUpdateGCCache, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XUpdateGCCache
#endif
_XUpdateGCCache:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 868 & 0xffff
#if 868 > 0xffff
movk ip0, 868 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XVIDtoVisual
.p2align 4
.type _XVIDtoVisual, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XVIDtoVisual
#endif
_XVIDtoVisual:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 869 & 0xffff
#if 869 > 0xffff
movk ip0, 869 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XWireToEvent
.p2align 4
.type _XWireToEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XWireToEvent
#endif
_XWireToEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 870 & 0xffff
#if 870 > 0xffff
movk ip0, 870 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsAddCmapRec
.p2align 4
.type _XcmsAddCmapRec, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsAddCmapRec
#endif
_XcmsAddCmapRec:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 871 & 0xffff
#if 871 > 0xffff
movk ip0, 871 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsArcTangent
.p2align 4
.type _XcmsArcTangent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsArcTangent
#endif
_XcmsArcTangent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 872 & 0xffff
#if 872 > 0xffff
movk ip0, 872 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCIELabQueryMaxLCRGB
.p2align 4
.type _XcmsCIELabQueryMaxLCRGB, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCIELabQueryMaxLCRGB
#endif
_XcmsCIELabQueryMaxLCRGB:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 873 & 0xffff
#if 873 > 0xffff
movk ip0, 873 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCIELuvQueryMaxLCRGB
.p2align 4
.type _XcmsCIELuvQueryMaxLCRGB, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCIELuvQueryMaxLCRGB
#endif
_XcmsCIELuvQueryMaxLCRGB:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+6992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+6992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 874 & 0xffff
#if 874 > 0xffff
movk ip0, 874 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCIEXYZ_ValidSpec
.p2align 4
.type _XcmsCIEXYZ_ValidSpec, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCIEXYZ_ValidSpec
#endif
_XcmsCIEXYZ_ValidSpec:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 875 & 0xffff
#if 875 > 0xffff
movk ip0, 875 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCIEuvY_ValidSpec
.p2align 4
.type _XcmsCIEuvY_ValidSpec, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCIEuvY_ValidSpec
#endif
_XcmsCIEuvY_ValidSpec:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 876 & 0xffff
#if 876 > 0xffff
movk ip0, 876 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsConvertColorsWithWhitePt
.p2align 4
.type _XcmsConvertColorsWithWhitePt, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsConvertColorsWithWhitePt
#endif
_XcmsConvertColorsWithWhitePt:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 877 & 0xffff
#if 877 > 0xffff
movk ip0, 877 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCopyCmapRecAndFree
.p2align 4
.type _XcmsCopyCmapRecAndFree, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCopyCmapRecAndFree
#endif
_XcmsCopyCmapRecAndFree:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 878 & 0xffff
#if 878 > 0xffff
movk ip0, 878 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCopyISOLatin1Lowered
.p2align 4
.type _XcmsCopyISOLatin1Lowered, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCopyISOLatin1Lowered
#endif
_XcmsCopyISOLatin1Lowered:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 879 & 0xffff
#if 879 > 0xffff
movk ip0, 879 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCopyPointerArray
.p2align 4
.type _XcmsCopyPointerArray, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCopyPointerArray
#endif
_XcmsCopyPointerArray:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 880 & 0xffff
#if 880 > 0xffff
movk ip0, 880 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCosine
.p2align 4
.type _XcmsCosine, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCosine
#endif
_XcmsCosine:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 881 & 0xffff
#if 881 > 0xffff
movk ip0, 881 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsCubeRoot
.p2align 4
.type _XcmsCubeRoot, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsCubeRoot
#endif
_XcmsCubeRoot:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 882 & 0xffff
#if 882 > 0xffff
movk ip0, 882 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsDDConvertColors
.p2align 4
.type _XcmsDDConvertColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsDDConvertColors
#endif
_XcmsDDConvertColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 883 & 0xffff
#if 883 > 0xffff
movk ip0, 883 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsDIConvertColors
.p2align 4
.type _XcmsDIConvertColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsDIConvertColors
#endif
_XcmsDIConvertColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 884 & 0xffff
#if 884 > 0xffff
movk ip0, 884 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsDeleteCmapRec
.p2align 4
.type _XcmsDeleteCmapRec, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsDeleteCmapRec
#endif
_XcmsDeleteCmapRec:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 885 & 0xffff
#if 885 > 0xffff
movk ip0, 885 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsEqualWhitePts
.p2align 4
.type _XcmsEqualWhitePts, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsEqualWhitePts
#endif
_XcmsEqualWhitePts:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 886 & 0xffff
#if 886 > 0xffff
movk ip0, 886 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsFreeIntensityMaps
.p2align 4
.type _XcmsFreeIntensityMaps, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsFreeIntensityMaps
#endif
_XcmsFreeIntensityMaps:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 887 & 0xffff
#if 887 > 0xffff
movk ip0, 887 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsFreePointerArray
.p2align 4
.type _XcmsFreePointerArray, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsFreePointerArray
#endif
_XcmsFreePointerArray:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 888 & 0xffff
#if 888 > 0xffff
movk ip0, 888 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsGetElement
.p2align 4
.type _XcmsGetElement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsGetElement
#endif
_XcmsGetElement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 889 & 0xffff
#if 889 > 0xffff
movk ip0, 889 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsGetIntensityMap
.p2align 4
.type _XcmsGetIntensityMap, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsGetIntensityMap
#endif
_XcmsGetIntensityMap:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 890 & 0xffff
#if 890 > 0xffff
movk ip0, 890 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsGetProperty
.p2align 4
.type _XcmsGetProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsGetProperty
#endif
_XcmsGetProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 891 & 0xffff
#if 891 > 0xffff
movk ip0, 891 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsInitDefaultCCCs
.p2align 4
.type _XcmsInitDefaultCCCs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsInitDefaultCCCs
#endif
_XcmsInitDefaultCCCs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 892 & 0xffff
#if 892 > 0xffff
movk ip0, 892 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsInitScrnInfo
.p2align 4
.type _XcmsInitScrnInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsInitScrnInfo
#endif
_XcmsInitScrnInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 893 & 0xffff
#if 893 > 0xffff
movk ip0, 893 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsLRGB_InitScrnDefault
.p2align 4
.type _XcmsLRGB_InitScrnDefault, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsLRGB_InitScrnDefault
#endif
_XcmsLRGB_InitScrnDefault:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 894 & 0xffff
#if 894 > 0xffff
movk ip0, 894 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsPushPointerArray
.p2align 4
.type _XcmsPushPointerArray, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsPushPointerArray
#endif
_XcmsPushPointerArray:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 895 & 0xffff
#if 895 > 0xffff
movk ip0, 895 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsRGB_to_XColor
.p2align 4
.type _XcmsRGB_to_XColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsRGB_to_XColor
#endif
_XcmsRGB_to_XColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 896 & 0xffff
#if 896 > 0xffff
movk ip0, 896 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsRegFormatOfPrefix
.p2align 4
.type _XcmsRegFormatOfPrefix, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsRegFormatOfPrefix
#endif
_XcmsRegFormatOfPrefix:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 897 & 0xffff
#if 897 > 0xffff
movk ip0, 897 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsResolveColor
.p2align 4
.type _XcmsResolveColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsResolveColor
#endif
_XcmsResolveColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 898 & 0xffff
#if 898 > 0xffff
movk ip0, 898 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsResolveColorString
.p2align 4
.type _XcmsResolveColorString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsResolveColorString
#endif
_XcmsResolveColorString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 899 & 0xffff
#if 899 > 0xffff
movk ip0, 899 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsSetGetColor
.p2align 4
.type _XcmsSetGetColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsSetGetColor
#endif
_XcmsSetGetColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 900 & 0xffff
#if 900 > 0xffff
movk ip0, 900 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsSetGetColors
.p2align 4
.type _XcmsSetGetColors, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsSetGetColors
#endif
_XcmsSetGetColors:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 901 & 0xffff
#if 901 > 0xffff
movk ip0, 901 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsSine
.p2align 4
.type _XcmsSine, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsSine
#endif
_XcmsSine:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 902 & 0xffff
#if 902 > 0xffff
movk ip0, 902 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsSquareRoot
.p2align 4
.type _XcmsSquareRoot, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsSquareRoot
#endif
_XcmsSquareRoot:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 903 & 0xffff
#if 903 > 0xffff
movk ip0, 903 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsTekHVCQueryMaxVCRGB
.p2align 4
.type _XcmsTekHVCQueryMaxVCRGB, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsTekHVCQueryMaxVCRGB
#endif
_XcmsTekHVCQueryMaxVCRGB:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 904 & 0xffff
#if 904 > 0xffff
movk ip0, 904 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsTekHVC_CheckModify
.p2align 4
.type _XcmsTekHVC_CheckModify, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsTekHVC_CheckModify
#endif
_XcmsTekHVC_CheckModify:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 905 & 0xffff
#if 905 > 0xffff
movk ip0, 905 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XcmsUnresolveColor
.p2align 4
.type _XcmsUnresolveColor, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XcmsUnresolveColor
#endif
_XcmsUnresolveColor:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 906 & 0xffff
#if 906 > 0xffff
movk ip0, 906 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCbDispatch
.p2align 4
.type _XimCbDispatch, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCbDispatch
#endif
_XimCbDispatch:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 907 & 0xffff
#if 907 > 0xffff
movk ip0, 907 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCheckCreateICValues
.p2align 4
.type _XimCheckCreateICValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCheckCreateICValues
#endif
_XimCheckCreateICValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 908 & 0xffff
#if 908 > 0xffff
movk ip0, 908 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCheckDataSize
.p2align 4
.type _XimCheckDataSize, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCheckDataSize
#endif
_XimCheckDataSize:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 909 & 0xffff
#if 909 > 0xffff
movk ip0, 909 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCheckICMode
.p2align 4
.type _XimCheckICMode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCheckICMode
#endif
_XimCheckICMode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 910 & 0xffff
#if 910 > 0xffff
movk ip0, 910 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCheckIMMode
.p2align 4
.type _XimCheckIMMode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCheckIMMode
#endif
_XimCheckIMMode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 911 & 0xffff
#if 911 > 0xffff
movk ip0, 911 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCheckIfLocalProcessing
.p2align 4
.type _XimCheckIfLocalProcessing, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCheckIfLocalProcessing
#endif
_XimCheckIfLocalProcessing:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 912 & 0xffff
#if 912 > 0xffff
movk ip0, 912 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCheckIfThaiProcessing
.p2align 4
.type _XimCheckIfThaiProcessing, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCheckIfThaiProcessing
#endif
_XimCheckIfThaiProcessing:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 913 & 0xffff
#if 913 > 0xffff
movk ip0, 913 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCheckLocalInputStyle
.p2align 4
.type _XimCheckLocalInputStyle, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCheckLocalInputStyle
#endif
_XimCheckLocalInputStyle:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 914 & 0xffff
#if 914 > 0xffff
movk ip0, 914 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimCommitCallback
.p2align 4
.type _XimCommitCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimCommitCallback
#endif
_XimCommitCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 915 & 0xffff
#if 915 > 0xffff
movk ip0, 915 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimConnect
.p2align 4
.type _XimConnect, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimConnect
#endif
_XimConnect:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 916 & 0xffff
#if 916 > 0xffff
movk ip0, 916 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimDecodeICATTRIBUTE
.p2align 4
.type _XimDecodeICATTRIBUTE, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimDecodeICATTRIBUTE
#endif
_XimDecodeICATTRIBUTE:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 917 & 0xffff
#if 917 > 0xffff
movk ip0, 917 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimDecodeIMATTRIBUTE
.p2align 4
.type _XimDecodeIMATTRIBUTE, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimDecodeIMATTRIBUTE
#endif
_XimDecodeIMATTRIBUTE:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 918 & 0xffff
#if 918 > 0xffff
movk ip0, 918 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimDecodeLocalICAttr
.p2align 4
.type _XimDecodeLocalICAttr, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimDecodeLocalICAttr
#endif
_XimDecodeLocalICAttr:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 919 & 0xffff
#if 919 > 0xffff
movk ip0, 919 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimDecodeLocalIMAttr
.p2align 4
.type _XimDecodeLocalIMAttr, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimDecodeLocalIMAttr
#endif
_XimDecodeLocalIMAttr:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 920 & 0xffff
#if 920 > 0xffff
movk ip0, 920 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimDestroyIMStructureList
.p2align 4
.type _XimDestroyIMStructureList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimDestroyIMStructureList
#endif
_XimDestroyIMStructureList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 921 & 0xffff
#if 921 > 0xffff
movk ip0, 921 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimDispatchInit
.p2align 4
.type _XimDispatchInit, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimDispatchInit
#endif
_XimDispatchInit:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 922 & 0xffff
#if 922 > 0xffff
movk ip0, 922 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimEncodeICATTRIBUTE
.p2align 4
.type _XimEncodeICATTRIBUTE, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimEncodeICATTRIBUTE
#endif
_XimEncodeICATTRIBUTE:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 923 & 0xffff
#if 923 > 0xffff
movk ip0, 923 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimEncodeIMATTRIBUTE
.p2align 4
.type _XimEncodeIMATTRIBUTE, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimEncodeIMATTRIBUTE
#endif
_XimEncodeIMATTRIBUTE:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 924 & 0xffff
#if 924 > 0xffff
movk ip0, 924 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimEncodeLocalICAttr
.p2align 4
.type _XimEncodeLocalICAttr, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimEncodeLocalICAttr
#endif
_XimEncodeLocalICAttr:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 925 & 0xffff
#if 925 > 0xffff
movk ip0, 925 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimEncodeLocalIMAttr
.p2align 4
.type _XimEncodeLocalIMAttr, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimEncodeLocalIMAttr
#endif
_XimEncodeLocalIMAttr:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 926 & 0xffff
#if 926 > 0xffff
movk ip0, 926 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimError
.p2align 4
.type _XimError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimError
#endif
_XimError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 927 & 0xffff
#if 927 > 0xffff
movk ip0, 927 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimErrorCallback
.p2align 4
.type _XimErrorCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimErrorCallback
#endif
_XimErrorCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 928 & 0xffff
#if 928 > 0xffff
movk ip0, 928 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimExtension
.p2align 4
.type _XimExtension, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimExtension
#endif
_XimExtension:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 929 & 0xffff
#if 929 > 0xffff
movk ip0, 929 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimFilterWaitEvent
.p2align 4
.type _XimFilterWaitEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimFilterWaitEvent
#endif
_XimFilterWaitEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 930 & 0xffff
#if 930 > 0xffff
movk ip0, 930 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimFlush
.p2align 4
.type _XimFlush, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimFlush
#endif
_XimFlush:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 931 & 0xffff
#if 931 > 0xffff
movk ip0, 931 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimForwardEvent
.p2align 4
.type _XimForwardEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimForwardEvent
#endif
_XimForwardEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 932 & 0xffff
#if 932 > 0xffff
movk ip0, 932 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimForwardEventCallback
.p2align 4
.type _XimForwardEventCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimForwardEventCallback
#endif
_XimForwardEventCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 933 & 0xffff
#if 933 > 0xffff
movk ip0, 933 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimFreeCommitInfo
.p2align 4
.type _XimFreeCommitInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimFreeCommitInfo
#endif
_XimFreeCommitInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 934 & 0xffff
#if 934 > 0xffff
movk ip0, 934 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimFreeProtoIntrCallback
.p2align 4
.type _XimFreeProtoIntrCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimFreeProtoIntrCallback
#endif
_XimFreeProtoIntrCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 935 & 0xffff
#if 935 > 0xffff
movk ip0, 935 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimFreeTransIntrCallback
.p2align 4
.type _XimFreeTransIntrCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimFreeTransIntrCallback
#endif
_XimFreeTransIntrCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 936 & 0xffff
#if 936 > 0xffff
movk ip0, 936 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetAttributeID
.p2align 4
.type _XimGetAttributeID, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetAttributeID
#endif
_XimGetAttributeID:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 937 & 0xffff
#if 937 > 0xffff
movk ip0, 937 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetCharCode
.p2align 4
.type _XimGetCharCode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetCharCode
#endif
_XimGetCharCode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 938 & 0xffff
#if 938 > 0xffff
movk ip0, 938 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetCurrentICValues
.p2align 4
.type _XimGetCurrentICValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetCurrentICValues
#endif
_XimGetCurrentICValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 939 & 0xffff
#if 939 > 0xffff
movk ip0, 939 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetCurrentIMValues
.p2align 4
.type _XimGetCurrentIMValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetCurrentIMValues
#endif
_XimGetCurrentIMValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 940 & 0xffff
#if 940 > 0xffff
movk ip0, 940 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetICValueData
.p2align 4
.type _XimGetICValueData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetICValueData
#endif
_XimGetICValueData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 941 & 0xffff
#if 941 > 0xffff
movk ip0, 941 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetIMValueData
.p2align 4
.type _XimGetIMValueData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetIMValueData
#endif
_XimGetIMValueData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 942 & 0xffff
#if 942 > 0xffff
movk ip0, 942 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetLocaleCode
.p2align 4
.type _XimGetLocaleCode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetLocaleCode
#endif
_XimGetLocaleCode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 943 & 0xffff
#if 943 > 0xffff
movk ip0, 943 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetMyEndian
.p2align 4
.type _XimGetMyEndian, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetMyEndian
#endif
_XimGetMyEndian:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 944 & 0xffff
#if 944 > 0xffff
movk ip0, 944 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetResourceListRec
.p2align 4
.type _XimGetResourceListRec, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetResourceListRec
#endif
_XimGetResourceListRec:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 945 & 0xffff
#if 945 > 0xffff
movk ip0, 945 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetResourceListRecByQuark
.p2align 4
.type _XimGetResourceListRecByQuark, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetResourceListRecByQuark
#endif
_XimGetResourceListRecByQuark:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 946 & 0xffff
#if 946 > 0xffff
movk ip0, 946 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimGetWindowEventmask
.p2align 4
.type _XimGetWindowEventmask, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimGetWindowEventmask
#endif
_XimGetWindowEventmask:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 947 & 0xffff
#if 947 > 0xffff
movk ip0, 947 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimICOfXICID
.p2align 4
.type _XimICOfXICID, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimICOfXICID
#endif
_XimICOfXICID:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 948 & 0xffff
#if 948 > 0xffff
movk ip0, 948 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimInitialResourceInfo
.p2align 4
.type _XimInitialResourceInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimInitialResourceInfo
#endif
_XimInitialResourceInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 949 & 0xffff
#if 949 > 0xffff
movk ip0, 949 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLcctstombs
.p2align 4
.type _XimLcctstombs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLcctstombs
#endif
_XimLcctstombs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 950 & 0xffff
#if 950 > 0xffff
movk ip0, 950 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLcctstoutf8
.p2align 4
.type _XimLcctstoutf8, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLcctstoutf8
#endif
_XimLcctstoutf8:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 951 & 0xffff
#if 951 > 0xffff
movk ip0, 951 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLcctstowcs
.p2align 4
.type _XimLcctstowcs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLcctstowcs
#endif
_XimLcctstowcs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 952 & 0xffff
#if 952 > 0xffff
movk ip0, 952 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalCreateIC
.p2align 4
.type _XimLocalCreateIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalCreateIC
#endif
_XimLocalCreateIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 953 & 0xffff
#if 953 > 0xffff
movk ip0, 953 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalFilter
.p2align 4
.type _XimLocalFilter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalFilter
#endif
_XimLocalFilter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 954 & 0xffff
#if 954 > 0xffff
movk ip0, 954 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalGetICValues
.p2align 4
.type _XimLocalGetICValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalGetICValues
#endif
_XimLocalGetICValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 955 & 0xffff
#if 955 > 0xffff
movk ip0, 955 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalGetIMValues
.p2align 4
.type _XimLocalGetIMValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalGetIMValues
#endif
_XimLocalGetIMValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 956 & 0xffff
#if 956 > 0xffff
movk ip0, 956 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalIMFree
.p2align 4
.type _XimLocalIMFree, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalIMFree
#endif
_XimLocalIMFree:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 957 & 0xffff
#if 957 > 0xffff
movk ip0, 957 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalMbLookupString
.p2align 4
.type _XimLocalMbLookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalMbLookupString
#endif
_XimLocalMbLookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 958 & 0xffff
#if 958 > 0xffff
movk ip0, 958 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalOpenIM
.p2align 4
.type _XimLocalOpenIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalOpenIM
#endif
_XimLocalOpenIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 959 & 0xffff
#if 959 > 0xffff
movk ip0, 959 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalSetICValues
.p2align 4
.type _XimLocalSetICValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalSetICValues
#endif
_XimLocalSetICValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 960 & 0xffff
#if 960 > 0xffff
movk ip0, 960 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalSetIMValues
.p2align 4
.type _XimLocalSetIMValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalSetIMValues
#endif
_XimLocalSetIMValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 961 & 0xffff
#if 961 > 0xffff
movk ip0, 961 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalUtf8LookupString
.p2align 4
.type _XimLocalUtf8LookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalUtf8LookupString
#endif
_XimLocalUtf8LookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 962 & 0xffff
#if 962 > 0xffff
movk ip0, 962 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLocalWcLookupString
.p2align 4
.type _XimLocalWcLookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLocalWcLookupString
#endif
_XimLocalWcLookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 963 & 0xffff
#if 963 > 0xffff
movk ip0, 963 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLookupMBText
.p2align 4
.type _XimLookupMBText, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLookupMBText
#endif
_XimLookupMBText:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 964 & 0xffff
#if 964 > 0xffff
movk ip0, 964 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLookupUTF8Text
.p2align 4
.type _XimLookupUTF8Text, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLookupUTF8Text
#endif
_XimLookupUTF8Text:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 965 & 0xffff
#if 965 > 0xffff
movk ip0, 965 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimLookupWCText
.p2align 4
.type _XimLookupWCText, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimLookupWCText
#endif
_XimLookupWCText:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 966 & 0xffff
#if 966 > 0xffff
movk ip0, 966 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimMakeICAttrIDList
.p2align 4
.type _XimMakeICAttrIDList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimMakeICAttrIDList
#endif
_XimMakeICAttrIDList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 967 & 0xffff
#if 967 > 0xffff
movk ip0, 967 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimMakeIMAttrIDList
.p2align 4
.type _XimMakeIMAttrIDList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimMakeIMAttrIDList
#endif
_XimMakeIMAttrIDList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 968 & 0xffff
#if 968 > 0xffff
movk ip0, 968 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimOpenIM
.p2align 4
.type _XimOpenIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimOpenIM
#endif
_XimOpenIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 969 & 0xffff
#if 969 > 0xffff
movk ip0, 969 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimParseStringFile
.p2align 4
.type _XimParseStringFile, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimParseStringFile
#endif
_XimParseStringFile:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 970 & 0xffff
#if 970 > 0xffff
movk ip0, 970 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProcError
.p2align 4
.type _XimProcError, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProcError
#endif
_XimProcError:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 971 & 0xffff
#if 971 > 0xffff
movk ip0, 971 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProcSyncReply
.p2align 4
.type _XimProcSyncReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProcSyncReply
#endif
_XimProcSyncReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 972 & 0xffff
#if 972 > 0xffff
movk ip0, 972 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProtoCreateIC
.p2align 4
.type _XimProtoCreateIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProtoCreateIC
#endif
_XimProtoCreateIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 973 & 0xffff
#if 973 > 0xffff
movk ip0, 973 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProtoEventToWire
.p2align 4
.type _XimProtoEventToWire, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProtoEventToWire
#endif
_XimProtoEventToWire:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 974 & 0xffff
#if 974 > 0xffff
movk ip0, 974 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProtoIMFree
.p2align 4
.type _XimProtoIMFree, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProtoIMFree
#endif
_XimProtoIMFree:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 975 & 0xffff
#if 975 > 0xffff
movk ip0, 975 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProtoMbLookupString
.p2align 4
.type _XimProtoMbLookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProtoMbLookupString
#endif
_XimProtoMbLookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 976 & 0xffff
#if 976 > 0xffff
movk ip0, 976 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProtoOpenIM
.p2align 4
.type _XimProtoOpenIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProtoOpenIM
#endif
_XimProtoOpenIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 977 & 0xffff
#if 977 > 0xffff
movk ip0, 977 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProtoUtf8LookupString
.p2align 4
.type _XimProtoUtf8LookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProtoUtf8LookupString
#endif
_XimProtoUtf8LookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 978 & 0xffff
#if 978 > 0xffff
movk ip0, 978 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProtoWcLookupString
.p2align 4
.type _XimProtoWcLookupString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProtoWcLookupString
#endif
_XimProtoWcLookupString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 979 & 0xffff
#if 979 > 0xffff
movk ip0, 979 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimProtoWireToEvent
.p2align 4
.type _XimProtoWireToEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimProtoWireToEvent
#endif
_XimProtoWireToEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 980 & 0xffff
#if 980 > 0xffff
movk ip0, 980 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimRead
.p2align 4
.type _XimRead, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimRead
#endif
_XimRead:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 981 & 0xffff
#if 981 > 0xffff
movk ip0, 981 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimRegProtoIntrCallback
.p2align 4
.type _XimRegProtoIntrCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimRegProtoIntrCallback
#endif
_XimRegProtoIntrCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 982 & 0xffff
#if 982 > 0xffff
movk ip0, 982 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimRegisterDispatcher
.p2align 4
.type _XimRegisterDispatcher, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimRegisterDispatcher
#endif
_XimRegisterDispatcher:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 983 & 0xffff
#if 983 > 0xffff
movk ip0, 983 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimRegisterFilter
.p2align 4
.type _XimRegisterFilter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimRegisterFilter
#endif
_XimRegisterFilter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 984 & 0xffff
#if 984 > 0xffff
movk ip0, 984 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimRegisterIMInstantiateCallback
.p2align 4
.type _XimRegisterIMInstantiateCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimRegisterIMInstantiateCallback
#endif
_XimRegisterIMInstantiateCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 985 & 0xffff
#if 985 > 0xffff
movk ip0, 985 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimRegisterServerFilter
.p2align 4
.type _XimRegisterServerFilter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimRegisterServerFilter
#endif
_XimRegisterServerFilter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 986 & 0xffff
#if 986 > 0xffff
movk ip0, 986 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimRegisterTriggerKeysCallback
.p2align 4
.type _XimRegisterTriggerKeysCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimRegisterTriggerKeysCallback
#endif
_XimRegisterTriggerKeysCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 987 & 0xffff
#if 987 > 0xffff
movk ip0, 987 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimReregisterFilter
.p2align 4
.type _XimReregisterFilter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimReregisterFilter
#endif
_XimReregisterFilter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 988 & 0xffff
#if 988 > 0xffff
movk ip0, 988 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimResetIMInstantiateCallback
.p2align 4
.type _XimResetIMInstantiateCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimResetIMInstantiateCallback
#endif
_XimResetIMInstantiateCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 989 & 0xffff
#if 989 > 0xffff
movk ip0, 989 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimRespSyncReply
.p2align 4
.type _XimRespSyncReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimRespSyncReply
#endif
_XimRespSyncReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 990 & 0xffff
#if 990 > 0xffff
movk ip0, 990 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimServerDestroy
.p2align 4
.type _XimServerDestroy, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimServerDestroy
#endif
_XimServerDestroy:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 991 & 0xffff
#if 991 > 0xffff
movk ip0, 991 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetCurrentICValues
.p2align 4
.type _XimSetCurrentICValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetCurrentICValues
#endif
_XimSetCurrentICValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 992 & 0xffff
#if 992 > 0xffff
movk ip0, 992 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetCurrentIMValues
.p2align 4
.type _XimSetCurrentIMValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetCurrentIMValues
#endif
_XimSetCurrentIMValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 993 & 0xffff
#if 993 > 0xffff
movk ip0, 993 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetEventMaskCallback
.p2align 4
.type _XimSetEventMaskCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetEventMaskCallback
#endif
_XimSetEventMaskCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 994 & 0xffff
#if 994 > 0xffff
movk ip0, 994 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetHeader
.p2align 4
.type _XimSetHeader, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetHeader
#endif
_XimSetHeader:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 995 & 0xffff
#if 995 > 0xffff
movk ip0, 995 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetICDefaults
.p2align 4
.type _XimSetICDefaults, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetICDefaults
#endif
_XimSetICDefaults:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 996 & 0xffff
#if 996 > 0xffff
movk ip0, 996 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetICMode
.p2align 4
.type _XimSetICMode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetICMode
#endif
_XimSetICMode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 997 & 0xffff
#if 997 > 0xffff
movk ip0, 997 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetICResourceList
.p2align 4
.type _XimSetICResourceList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetICResourceList
#endif
_XimSetICResourceList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 998 & 0xffff
#if 998 > 0xffff
movk ip0, 998 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetICValueData
.p2align 4
.type _XimSetICValueData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetICValueData
#endif
_XimSetICValueData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+7992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+7992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 999 & 0xffff
#if 999 > 0xffff
movk ip0, 999 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetIMMode
.p2align 4
.type _XimSetIMMode, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetIMMode
#endif
_XimSetIMMode:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1000 & 0xffff
#if 1000 > 0xffff
movk ip0, 1000 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetIMResourceList
.p2align 4
.type _XimSetIMResourceList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetIMResourceList
#endif
_XimSetIMResourceList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1001 & 0xffff
#if 1001 > 0xffff
movk ip0, 1001 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetIMValueData
.p2align 4
.type _XimSetIMValueData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetIMValueData
#endif
_XimSetIMValueData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1002 & 0xffff
#if 1002 > 0xffff
movk ip0, 1002 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetInnerICResourceList
.p2align 4
.type _XimSetInnerICResourceList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetInnerICResourceList
#endif
_XimSetInnerICResourceList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1003 & 0xffff
#if 1003 > 0xffff
movk ip0, 1003 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetInnerIMResourceList
.p2align 4
.type _XimSetInnerIMResourceList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetInnerIMResourceList
#endif
_XimSetInnerIMResourceList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1004 & 0xffff
#if 1004 > 0xffff
movk ip0, 1004 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSetLocalIMDefaults
.p2align 4
.type _XimSetLocalIMDefaults, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSetLocalIMDefaults
#endif
_XimSetLocalIMDefaults:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1005 & 0xffff
#if 1005 > 0xffff
movk ip0, 1005 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimShutdown
.p2align 4
.type _XimShutdown, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimShutdown
#endif
_XimShutdown:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1006 & 0xffff
#if 1006 > 0xffff
movk ip0, 1006 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSync
.p2align 4
.type _XimSync, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSync
#endif
_XimSync:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1007 & 0xffff
#if 1007 > 0xffff
movk ip0, 1007 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimSyncCallback
.p2align 4
.type _XimSyncCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimSyncCallback
#endif
_XimSyncCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1008 & 0xffff
#if 1008 > 0xffff
movk ip0, 1008 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimThaiCloseIM
.p2align 4
.type _XimThaiCloseIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimThaiCloseIM
#endif
_XimThaiCloseIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1009 & 0xffff
#if 1009 > 0xffff
movk ip0, 1009 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimThaiCreateIC
.p2align 4
.type _XimThaiCreateIC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimThaiCreateIC
#endif
_XimThaiCreateIC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1010 & 0xffff
#if 1010 > 0xffff
movk ip0, 1010 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimThaiFilter
.p2align 4
.type _XimThaiFilter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimThaiFilter
#endif
_XimThaiFilter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1011 & 0xffff
#if 1011 > 0xffff
movk ip0, 1011 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimThaiIMFree
.p2align 4
.type _XimThaiIMFree, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimThaiIMFree
#endif
_XimThaiIMFree:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1012 & 0xffff
#if 1012 > 0xffff
movk ip0, 1012 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimThaiOpenIM
.p2align 4
.type _XimThaiOpenIM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimThaiOpenIM
#endif
_XimThaiOpenIM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1013 & 0xffff
#if 1013 > 0xffff
movk ip0, 1013 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTransCallDispatcher
.p2align 4
.type _XimTransCallDispatcher, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTransCallDispatcher
#endif
_XimTransCallDispatcher:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1014 & 0xffff
#if 1014 > 0xffff
movk ip0, 1014 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTransConf
.p2align 4
.type _XimTransConf, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTransConf
#endif
_XimTransConf:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1015 & 0xffff
#if 1015 > 0xffff
movk ip0, 1015 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTransFilterWaitEvent
.p2align 4
.type _XimTransFilterWaitEvent, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTransFilterWaitEvent
#endif
_XimTransFilterWaitEvent:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1016 & 0xffff
#if 1016 > 0xffff
movk ip0, 1016 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTransFlush
.p2align 4
.type _XimTransFlush, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTransFlush
#endif
_XimTransFlush:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1017 & 0xffff
#if 1017 > 0xffff
movk ip0, 1017 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTransInternalConnection
.p2align 4
.type _XimTransInternalConnection, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTransInternalConnection
#endif
_XimTransInternalConnection:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1018 & 0xffff
#if 1018 > 0xffff
movk ip0, 1018 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTransRead
.p2align 4
.type _XimTransRead, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTransRead
#endif
_XimTransRead:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1019 & 0xffff
#if 1019 > 0xffff
movk ip0, 1019 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTransRegisterDispatcher
.p2align 4
.type _XimTransRegisterDispatcher, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTransRegisterDispatcher
#endif
_XimTransRegisterDispatcher:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1020 & 0xffff
#if 1020 > 0xffff
movk ip0, 1020 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTransWrite
.p2align 4
.type _XimTransWrite, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTransWrite
#endif
_XimTransWrite:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1021 & 0xffff
#if 1021 > 0xffff
movk ip0, 1021 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimTriggerNotify
.p2align 4
.type _XimTriggerNotify, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimTriggerNotify
#endif
_XimTriggerNotify:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1022 & 0xffff
#if 1022 > 0xffff
movk ip0, 1022 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimUnRegisterIMInstantiateCallback
.p2align 4
.type _XimUnRegisterIMInstantiateCallback, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimUnRegisterIMInstantiateCallback
#endif
_XimUnRegisterIMInstantiateCallback:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1023 & 0xffff
#if 1023 > 0xffff
movk ip0, 1023 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimUnregisterFilter
.p2align 4
.type _XimUnregisterFilter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimUnregisterFilter
#endif
_XimUnregisterFilter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1024 & 0xffff
#if 1024 > 0xffff
movk ip0, 1024 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimUnregisterServerFilter
.p2align 4
.type _XimUnregisterServerFilter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimUnregisterServerFilter
#endif
_XimUnregisterServerFilter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1025 & 0xffff
#if 1025 > 0xffff
movk ip0, 1025 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimWrite
.p2align 4
.type _XimWrite, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimWrite
#endif
_XimWrite:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1026 & 0xffff
#if 1026 > 0xffff
movk ip0, 1026 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXConf
.p2align 4
.type _XimXConf, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXConf
#endif
_XimXConf:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1027 & 0xffff
#if 1027 > 0xffff
movk ip0, 1027 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransBytesReadable
.p2align 4
.type _XimXTransBytesReadable, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransBytesReadable
#endif
_XimXTransBytesReadable:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1028 & 0xffff
#if 1028 > 0xffff
movk ip0, 1028 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransClose
.p2align 4
.type _XimXTransClose, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransClose
#endif
_XimXTransClose:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1029 & 0xffff
#if 1029 > 0xffff
movk ip0, 1029 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransCloseForCloning
.p2align 4
.type _XimXTransCloseForCloning, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransCloseForCloning
#endif
_XimXTransCloseForCloning:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1030 & 0xffff
#if 1030 > 0xffff
movk ip0, 1030 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransConnect
.p2align 4
.type _XimXTransConnect, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransConnect
#endif
_XimXTransConnect:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1031 & 0xffff
#if 1031 > 0xffff
movk ip0, 1031 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransDisconnect
.p2align 4
.type _XimXTransDisconnect, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransDisconnect
#endif
_XimXTransDisconnect:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1032 & 0xffff
#if 1032 > 0xffff
movk ip0, 1032 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransFreeConnInfo
.p2align 4
.type _XimXTransFreeConnInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransFreeConnInfo
#endif
_XimXTransFreeConnInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1033 & 0xffff
#if 1033 > 0xffff
movk ip0, 1033 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransGetConnectionNumber
.p2align 4
.type _XimXTransGetConnectionNumber, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransGetConnectionNumber
#endif
_XimXTransGetConnectionNumber:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1034 & 0xffff
#if 1034 > 0xffff
movk ip0, 1034 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransGetHostname
.p2align 4
.type _XimXTransGetHostname, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransGetHostname
#endif
_XimXTransGetHostname:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1035 & 0xffff
#if 1035 > 0xffff
movk ip0, 1035 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransGetPeerAddr
.p2align 4
.type _XimXTransGetPeerAddr, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransGetPeerAddr
#endif
_XimXTransGetPeerAddr:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1036 & 0xffff
#if 1036 > 0xffff
movk ip0, 1036 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransIsLocal
.p2align 4
.type _XimXTransIsLocal, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransIsLocal
#endif
_XimXTransIsLocal:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1037 & 0xffff
#if 1037 > 0xffff
movk ip0, 1037 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransOpenCOTSClient
.p2align 4
.type _XimXTransOpenCOTSClient, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransOpenCOTSClient
#endif
_XimXTransOpenCOTSClient:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1038 & 0xffff
#if 1038 > 0xffff
movk ip0, 1038 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransRead
.p2align 4
.type _XimXTransRead, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransRead
#endif
_XimXTransRead:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1039 & 0xffff
#if 1039 > 0xffff
movk ip0, 1039 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransReadv
.p2align 4
.type _XimXTransReadv, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransReadv
#endif
_XimXTransReadv:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1040 & 0xffff
#if 1040 > 0xffff
movk ip0, 1040 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransSetOption
.p2align 4
.type _XimXTransSetOption, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransSetOption
#endif
_XimXTransSetOption:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1041 & 0xffff
#if 1041 > 0xffff
movk ip0, 1041 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransWrite
.p2align 4
.type _XimXTransWrite, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransWrite
#endif
_XimXTransWrite:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1042 & 0xffff
#if 1042 > 0xffff
movk ip0, 1042 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XimXTransWritev
.p2align 4
.type _XimXTransWritev, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XimXTransWritev
#endif
_XimXTransWritev:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1043 & 0xffff
#if 1043 > 0xffff
movk ip0, 1043 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Ximctstombs
.p2align 4
.type _Ximctstombs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Ximctstombs
#endif
_Ximctstombs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1044 & 0xffff
#if 1044 > 0xffff
movk ip0, 1044 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Ximctstoutf8
.p2align 4
.type _Ximctstoutf8, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Ximctstoutf8
#endif
_Ximctstoutf8:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1045 & 0xffff
#if 1045 > 0xffff
movk ip0, 1045 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Ximctstowcs
.p2align 4
.type _Ximctstowcs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Ximctstowcs
#endif
_Ximctstowcs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1046 & 0xffff
#if 1046 > 0xffff
movk ip0, 1046 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbCopyFromReadBuffer
.p2align 4
.type _XkbCopyFromReadBuffer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbCopyFromReadBuffer
#endif
_XkbCopyFromReadBuffer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1047 & 0xffff
#if 1047 > 0xffff
movk ip0, 1047 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbFreeReadBuffer
.p2align 4
.type _XkbFreeReadBuffer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbFreeReadBuffer
#endif
_XkbFreeReadBuffer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1048 & 0xffff
#if 1048 > 0xffff
movk ip0, 1048 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbGetCharset
.p2align 4
.type _XkbGetCharset, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbGetCharset
#endif
_XkbGetCharset:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1049 & 0xffff
#if 1049 > 0xffff
movk ip0, 1049 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbGetConverters
.p2align 4
.type _XkbGetConverters, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbGetConverters
#endif
_XkbGetConverters:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1050 & 0xffff
#if 1050 > 0xffff
movk ip0, 1050 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbGetReadBufferCountedString
.p2align 4
.type _XkbGetReadBufferCountedString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbGetReadBufferCountedString
#endif
_XkbGetReadBufferCountedString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1051 & 0xffff
#if 1051 > 0xffff
movk ip0, 1051 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbGetReadBufferPtr
.p2align 4
.type _XkbGetReadBufferPtr, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbGetReadBufferPtr
#endif
_XkbGetReadBufferPtr:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1052 & 0xffff
#if 1052 > 0xffff
movk ip0, 1052 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbInitReadBuffer
.p2align 4
.type _XkbInitReadBuffer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbInitReadBuffer
#endif
_XkbInitReadBuffer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1053 & 0xffff
#if 1053 > 0xffff
movk ip0, 1053 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbNoteCoreMapChanges
.p2align 4
.type _XkbNoteCoreMapChanges, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbNoteCoreMapChanges
#endif
_XkbNoteCoreMapChanges:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1054 & 0xffff
#if 1054 > 0xffff
movk ip0, 1054 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbPeekAtReadBuffer
.p2align 4
.type _XkbPeekAtReadBuffer, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbPeekAtReadBuffer
#endif
_XkbPeekAtReadBuffer:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1055 & 0xffff
#if 1055 > 0xffff
movk ip0, 1055 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadBufferCopy32
.p2align 4
.type _XkbReadBufferCopy32, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadBufferCopy32
#endif
_XkbReadBufferCopy32:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1056 & 0xffff
#if 1056 > 0xffff
movk ip0, 1056 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadBufferCopyKeySyms
.p2align 4
.type _XkbReadBufferCopyKeySyms, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadBufferCopyKeySyms
#endif
_XkbReadBufferCopyKeySyms:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8456
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8456]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1057 & 0xffff
#if 1057 > 0xffff
movk ip0, 1057 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadCopyData32
.p2align 4
.type _XkbReadCopyData32, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadCopyData32
#endif
_XkbReadCopyData32:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8464
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8464]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1058 & 0xffff
#if 1058 > 0xffff
movk ip0, 1058 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadCopyKeySyms
.p2align 4
.type _XkbReadCopyKeySyms, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadCopyKeySyms
#endif
_XkbReadCopyKeySyms:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8472
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8472]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1059 & 0xffff
#if 1059 > 0xffff
movk ip0, 1059 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadGetCompatMapReply
.p2align 4
.type _XkbReadGetCompatMapReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadGetCompatMapReply
#endif
_XkbReadGetCompatMapReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8480
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8480]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1060 & 0xffff
#if 1060 > 0xffff
movk ip0, 1060 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadGetGeometryReply
.p2align 4
.type _XkbReadGetGeometryReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadGetGeometryReply
#endif
_XkbReadGetGeometryReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8488
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8488]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1061 & 0xffff
#if 1061 > 0xffff
movk ip0, 1061 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadGetIndicatorMapReply
.p2align 4
.type _XkbReadGetIndicatorMapReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadGetIndicatorMapReply
#endif
_XkbReadGetIndicatorMapReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8496
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8496]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1062 & 0xffff
#if 1062 > 0xffff
movk ip0, 1062 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadGetMapReply
.p2align 4
.type _XkbReadGetMapReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadGetMapReply
#endif
_XkbReadGetMapReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8504
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8504]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1063 & 0xffff
#if 1063 > 0xffff
movk ip0, 1063 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReadGetNamesReply
.p2align 4
.type _XkbReadGetNamesReply, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReadGetNamesReply
#endif
_XkbReadGetNamesReply:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8512
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8512]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1064 & 0xffff
#if 1064 > 0xffff
movk ip0, 1064 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbReloadDpy
.p2align 4
.type _XkbReloadDpy, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbReloadDpy
#endif
_XkbReloadDpy:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8520
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8520]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1065 & 0xffff
#if 1065 > 0xffff
movk ip0, 1065 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbSkipReadBufferData
.p2align 4
.type _XkbSkipReadBufferData, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbSkipReadBufferData
#endif
_XkbSkipReadBufferData:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8528
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8528]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1066 & 0xffff
#if 1066 > 0xffff
movk ip0, 1066 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbWriteCopyData32
.p2align 4
.type _XkbWriteCopyData32, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbWriteCopyData32
#endif
_XkbWriteCopyData32:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8536
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8536]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1067 & 0xffff
#if 1067 > 0xffff
movk ip0, 1067 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XkbWriteCopyKeySyms
.p2align 4
.type _XkbWriteCopyKeySyms, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XkbWriteCopyKeySyms
#endif
_XkbWriteCopyKeySyms:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8544
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8544]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1068 & 0xffff
#if 1068 > 0xffff
movk ip0, 1068 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcAddCT
.p2align 4
.type _XlcAddCT, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcAddCT
#endif
_XlcAddCT:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8552
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8552]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1069 & 0xffff
#if 1069 > 0xffff
movk ip0, 1069 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcAddCharSet
.p2align 4
.type _XlcAddCharSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcAddCharSet
#endif
_XlcAddCharSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8560
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8560]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1070 & 0xffff
#if 1070 > 0xffff
movk ip0, 1070 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcAddGB18030LocaleConverters
.p2align 4
.type _XlcAddGB18030LocaleConverters, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcAddGB18030LocaleConverters
#endif
_XlcAddGB18030LocaleConverters:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8568
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8568]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1071 & 0xffff
#if 1071 > 0xffff
movk ip0, 1071 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcAddLoader
.p2align 4
.type _XlcAddLoader, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcAddLoader
#endif
_XlcAddLoader:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8576
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8576]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1072 & 0xffff
#if 1072 > 0xffff
movk ip0, 1072 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcAddUtf8Converters
.p2align 4
.type _XlcAddUtf8Converters, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcAddUtf8Converters
#endif
_XlcAddUtf8Converters:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8584
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8584]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1073 & 0xffff
#if 1073 > 0xffff
movk ip0, 1073 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcAddUtf8LocaleConverters
.p2align 4
.type _XlcAddUtf8LocaleConverters, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcAddUtf8LocaleConverters
#endif
_XlcAddUtf8LocaleConverters:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8592
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8592]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1074 & 0xffff
#if 1074 > 0xffff
movk ip0, 1074 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCloseConverter
.p2align 4
.type _XlcCloseConverter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCloseConverter
#endif
_XlcCloseConverter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8600
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8600]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1075 & 0xffff
#if 1075 > 0xffff
movk ip0, 1075 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCompareISOLatin1
.p2align 4
.type _XlcCompareISOLatin1, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCompareISOLatin1
#endif
_XlcCompareISOLatin1:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8608
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8608]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1076 & 0xffff
#if 1076 > 0xffff
movk ip0, 1076 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCompileResourceList
.p2align 4
.type _XlcCompileResourceList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCompileResourceList
#endif
_XlcCompileResourceList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8616
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8616]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1077 & 0xffff
#if 1077 > 0xffff
movk ip0, 1077 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcConvert
.p2align 4
.type _XlcConvert, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcConvert
#endif
_XlcConvert:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8624
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8624]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1078 & 0xffff
#if 1078 > 0xffff
movk ip0, 1078 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCopyFromArg
.p2align 4
.type _XlcCopyFromArg, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCopyFromArg
#endif
_XlcCopyFromArg:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8632
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8632]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1079 & 0xffff
#if 1079 > 0xffff
movk ip0, 1079 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCopyToArg
.p2align 4
.type _XlcCopyToArg, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCopyToArg
#endif
_XlcCopyToArg:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8640
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8640]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1080 & 0xffff
#if 1080 > 0xffff
movk ip0, 1080 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCountVaList
.p2align 4
.type _XlcCountVaList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCountVaList
#endif
_XlcCountVaList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8648
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8648]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1081 & 0xffff
#if 1081 > 0xffff
movk ip0, 1081 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCreateDefaultCharSet
.p2align 4
.type _XlcCreateDefaultCharSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCreateDefaultCharSet
#endif
_XlcCreateDefaultCharSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8656
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8656]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1082 & 0xffff
#if 1082 > 0xffff
movk ip0, 1082 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCreateLC
.p2align 4
.type _XlcCreateLC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCreateLC
#endif
_XlcCreateLC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8664
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8664]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1083 & 0xffff
#if 1083 > 0xffff
movk ip0, 1083 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCreateLocaleDataBase
.p2align 4
.type _XlcCreateLocaleDataBase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCreateLocaleDataBase
#endif
_XlcCreateLocaleDataBase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8672
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8672]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1084 & 0xffff
#if 1084 > 0xffff
movk ip0, 1084 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcCurrentLC
.p2align 4
.type _XlcCurrentLC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcCurrentLC
#endif
_XlcCurrentLC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8680
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8680]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1085 & 0xffff
#if 1085 > 0xffff
movk ip0, 1085 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcDbg_printValue
.p2align 4
.type _XlcDbg_printValue, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcDbg_printValue
#endif
_XlcDbg_printValue:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8688
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8688]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1086 & 0xffff
#if 1086 > 0xffff
movk ip0, 1086 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcDeInitLoader
.p2align 4
.type _XlcDeInitLoader, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcDeInitLoader
#endif
_XlcDeInitLoader:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8696
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8696]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1087 & 0xffff
#if 1087 > 0xffff
movk ip0, 1087 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcDefaultLoader
.p2align 4
.type _XlcDefaultLoader, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcDefaultLoader
#endif
_XlcDefaultLoader:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8704
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8704]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1088 & 0xffff
#if 1088 > 0xffff
movk ip0, 1088 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcDefaultMapModifiers
.p2align 4
.type _XlcDefaultMapModifiers, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcDefaultMapModifiers
#endif
_XlcDefaultMapModifiers:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8712
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8712]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1089 & 0xffff
#if 1089 > 0xffff
movk ip0, 1089 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcDestroyLC
.p2align 4
.type _XlcDestroyLC, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcDestroyLC
#endif
_XlcDestroyLC:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8720
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8720]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1090 & 0xffff
#if 1090 > 0xffff
movk ip0, 1090 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcDestroyLocaleDataBase
.p2align 4
.type _XlcDestroyLocaleDataBase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcDestroyLocaleDataBase
#endif
_XlcDestroyLocaleDataBase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8728
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8728]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1091 & 0xffff
#if 1091 > 0xffff
movk ip0, 1091 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcFileName
.p2align 4
.type _XlcFileName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcFileName
#endif
_XlcFileName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8736
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8736]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1092 & 0xffff
#if 1092 > 0xffff
movk ip0, 1092 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcGenericLoader
.p2align 4
.type _XlcGenericLoader, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcGenericLoader
#endif
_XlcGenericLoader:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8744
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8744]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1093 & 0xffff
#if 1093 > 0xffff
movk ip0, 1093 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcGetCSValues
.p2align 4
.type _XlcGetCSValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcGetCSValues
#endif
_XlcGetCSValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8752
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8752]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1094 & 0xffff
#if 1094 > 0xffff
movk ip0, 1094 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcGetCharSet
.p2align 4
.type _XlcGetCharSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcGetCharSet
#endif
_XlcGetCharSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8760
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8760]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1095 & 0xffff
#if 1095 > 0xffff
movk ip0, 1095 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcGetCharSetWithSide
.p2align 4
.type _XlcGetCharSetWithSide, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcGetCharSetWithSide
#endif
_XlcGetCharSetWithSide:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8768
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8768]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1096 & 0xffff
#if 1096 > 0xffff
movk ip0, 1096 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcGetLocaleDataBase
.p2align 4
.type _XlcGetLocaleDataBase, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcGetLocaleDataBase
#endif
_XlcGetLocaleDataBase:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8776
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8776]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1097 & 0xffff
#if 1097 > 0xffff
movk ip0, 1097 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcGetResource
.p2align 4
.type _XlcGetResource, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcGetResource
#endif
_XlcGetResource:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8784
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8784]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1098 & 0xffff
#if 1098 > 0xffff
movk ip0, 1098 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcGetValues
.p2align 4
.type _XlcGetValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcGetValues
#endif
_XlcGetValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8792
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8792]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1099 & 0xffff
#if 1099 > 0xffff
movk ip0, 1099 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcInitCTInfo
.p2align 4
.type _XlcInitCTInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcInitCTInfo
#endif
_XlcInitCTInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8800
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8800]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1100 & 0xffff
#if 1100 > 0xffff
movk ip0, 1100 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcInitLoader
.p2align 4
.type _XlcInitLoader, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcInitLoader
#endif
_XlcInitLoader:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8808
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8808]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1101 & 0xffff
#if 1101 > 0xffff
movk ip0, 1101 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcLocaleDirName
.p2align 4
.type _XlcLocaleDirName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcLocaleDirName
#endif
_XlcLocaleDirName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8816
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8816]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1102 & 0xffff
#if 1102 > 0xffff
movk ip0, 1102 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcLocaleLibDirName
.p2align 4
.type _XlcLocaleLibDirName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcLocaleLibDirName
#endif
_XlcLocaleLibDirName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8824
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8824]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1103 & 0xffff
#if 1103 > 0xffff
movk ip0, 1103 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcMapOSLocaleName
.p2align 4
.type _XlcMapOSLocaleName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcMapOSLocaleName
#endif
_XlcMapOSLocaleName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8832
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8832]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1104 & 0xffff
#if 1104 > 0xffff
movk ip0, 1104 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcNCompareISOLatin1
.p2align 4
.type _XlcNCompareISOLatin1, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcNCompareISOLatin1
#endif
_XlcNCompareISOLatin1:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8840
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8840]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1105 & 0xffff
#if 1105 > 0xffff
movk ip0, 1105 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcOpenConverter
.p2align 4
.type _XlcOpenConverter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcOpenConverter
#endif
_XlcOpenConverter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8848
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8848]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1106 & 0xffff
#if 1106 > 0xffff
movk ip0, 1106 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcParseCharSet
.p2align 4
.type _XlcParseCharSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcParseCharSet
#endif
_XlcParseCharSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8856
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8856]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1107 & 0xffff
#if 1107 > 0xffff
movk ip0, 1107 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcParse_scopemaps
.p2align 4
.type _XlcParse_scopemaps, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcParse_scopemaps
#endif
_XlcParse_scopemaps:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8864
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8864]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1108 & 0xffff
#if 1108 > 0xffff
movk ip0, 1108 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcRemoveLoader
.p2align 4
.type _XlcRemoveLoader, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcRemoveLoader
#endif
_XlcRemoveLoader:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8872
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8872]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1109 & 0xffff
#if 1109 > 0xffff
movk ip0, 1109 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcResetConverter
.p2align 4
.type _XlcResetConverter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcResetConverter
#endif
_XlcResetConverter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8880
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8880]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1110 & 0xffff
#if 1110 > 0xffff
movk ip0, 1110 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcResolveI18NPath
.p2align 4
.type _XlcResolveI18NPath, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcResolveI18NPath
#endif
_XlcResolveI18NPath:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8888
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8888]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1111 & 0xffff
#if 1111 > 0xffff
movk ip0, 1111 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcResolveLocaleName
.p2align 4
.type _XlcResolveLocaleName, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcResolveLocaleName
#endif
_XlcResolveLocaleName:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8896
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8896]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1112 & 0xffff
#if 1112 > 0xffff
movk ip0, 1112 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcSetConverter
.p2align 4
.type _XlcSetConverter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcSetConverter
#endif
_XlcSetConverter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8904
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8904]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1113 & 0xffff
#if 1113 > 0xffff
movk ip0, 1113 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcSetValues
.p2align 4
.type _XlcSetValues, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcSetValues
#endif
_XlcSetValues:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8912
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8912]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1114 & 0xffff
#if 1114 > 0xffff
movk ip0, 1114 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcUtf8Loader
.p2align 4
.type _XlcUtf8Loader, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcUtf8Loader
#endif
_XlcUtf8Loader:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8920
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8920]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1115 & 0xffff
#if 1115 > 0xffff
movk ip0, 1115 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcVaToArgList
.p2align 4
.type _XlcVaToArgList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcVaToArgList
#endif
_XlcVaToArgList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8928
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8928]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1116 & 0xffff
#if 1116 > 0xffff
movk ip0, 1116 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XlcValidModSyntax
.p2align 4
.type _XlcValidModSyntax, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XlcValidModSyntax
#endif
_XlcValidModSyntax:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8936
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8936]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1117 & 0xffff
#if 1117 > 0xffff
movk ip0, 1117 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xlcmbstoutf8
.p2align 4
.type _Xlcmbstoutf8, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xlcmbstoutf8
#endif
_Xlcmbstoutf8:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8944
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8944]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1118 & 0xffff
#if 1118 > 0xffff
movk ip0, 1118 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xlcmbstowcs
.p2align 4
.type _Xlcmbstowcs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xlcmbstowcs
#endif
_Xlcmbstowcs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8952
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8952]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1119 & 0xffff
#if 1119 > 0xffff
movk ip0, 1119 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xlcmbtowc
.p2align 4
.type _Xlcmbtowc, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xlcmbtowc
#endif
_Xlcmbtowc:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8960
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8960]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1120 & 0xffff
#if 1120 > 0xffff
movk ip0, 1120 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xlcwcstombs
.p2align 4
.type _Xlcwcstombs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xlcwcstombs
#endif
_Xlcwcstombs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8968
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8968]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1121 & 0xffff
#if 1121 > 0xffff
movk ip0, 1121 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xlcwctomb
.p2align 4
.type _Xlcwctomb, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xlcwctomb
#endif
_Xlcwctomb:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8976
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8976]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1122 & 0xffff
#if 1122 > 0xffff
movk ip0, 1122 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbDefaultDrawImageString
.p2align 4
.type _XmbDefaultDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbDefaultDrawImageString
#endif
_XmbDefaultDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8984
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8984]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1123 & 0xffff
#if 1123 > 0xffff
movk ip0, 1123 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbDefaultDrawString
.p2align 4
.type _XmbDefaultDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbDefaultDrawString
#endif
_XmbDefaultDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+8992
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+8992]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1124 & 0xffff
#if 1124 > 0xffff
movk ip0, 1124 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbDefaultTextEscapement
.p2align 4
.type _XmbDefaultTextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbDefaultTextEscapement
#endif
_XmbDefaultTextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9000
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9000]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1125 & 0xffff
#if 1125 > 0xffff
movk ip0, 1125 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbDefaultTextExtents
.p2align 4
.type _XmbDefaultTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbDefaultTextExtents
#endif
_XmbDefaultTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9008
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9008]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1126 & 0xffff
#if 1126 > 0xffff
movk ip0, 1126 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbDefaultTextPerCharExtents
.p2align 4
.type _XmbDefaultTextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbDefaultTextPerCharExtents
#endif
_XmbDefaultTextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9016
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9016]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1127 & 0xffff
#if 1127 > 0xffff
movk ip0, 1127 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbGenericDrawImageString
.p2align 4
.type _XmbGenericDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbGenericDrawImageString
#endif
_XmbGenericDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9024
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9024]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1128 & 0xffff
#if 1128 > 0xffff
movk ip0, 1128 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbGenericDrawString
.p2align 4
.type _XmbGenericDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbGenericDrawString
#endif
_XmbGenericDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9032
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9032]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1129 & 0xffff
#if 1129 > 0xffff
movk ip0, 1129 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbGenericTextEscapement
.p2align 4
.type _XmbGenericTextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbGenericTextEscapement
#endif
_XmbGenericTextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9040
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9040]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1130 & 0xffff
#if 1130 > 0xffff
movk ip0, 1130 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbGenericTextExtents
.p2align 4
.type _XmbGenericTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbGenericTextExtents
#endif
_XmbGenericTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9048
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9048]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1131 & 0xffff
#if 1131 > 0xffff
movk ip0, 1131 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbGenericTextPerCharExtents
.p2align 4
.type _XmbGenericTextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbGenericTextPerCharExtents
#endif
_XmbGenericTextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9056
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9056]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1132 & 0xffff
#if 1132 > 0xffff
movk ip0, 1132 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbTextListToTextProperty
.p2align 4
.type _XmbTextListToTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbTextListToTextProperty
#endif
_XmbTextListToTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9064
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9064]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1133 & 0xffff
#if 1133 > 0xffff
movk ip0, 1133 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XmbTextPropertyToTextList
.p2align 4
.type _XmbTextPropertyToTextList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XmbTextPropertyToTextList
#endif
_XmbTextPropertyToTextList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9072
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9072]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1134 & 0xffff
#if 1134 > 0xffff
movk ip0, 1134 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xmblen
.p2align 4
.type _Xmblen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xmblen
#endif
_Xmblen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9080
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9080]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1135 & 0xffff
#if 1135 > 0xffff
movk ip0, 1135 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xmbstoutf8
.p2align 4
.type _Xmbstoutf8, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xmbstoutf8
#endif
_Xmbstoutf8:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9088
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9088]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1136 & 0xffff
#if 1136 > 0xffff
movk ip0, 1136 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xmbstowcs
.p2align 4
.type _Xmbstowcs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xmbstowcs
#endif
_Xmbstowcs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9096
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9096]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1137 & 0xffff
#if 1137 > 0xffff
movk ip0, 1137 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xmbtowc
.p2align 4
.type _Xmbtowc, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xmbtowc
#endif
_Xmbtowc:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9104
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9104]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1138 & 0xffff
#if 1138 > 0xffff
movk ip0, 1138 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XomConvert
.p2align 4
.type _XomConvert, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XomConvert
#endif
_XomConvert:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9112
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9112]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1139 & 0xffff
#if 1139 > 0xffff
movk ip0, 1139 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XomGenericDrawString
.p2align 4
.type _XomGenericDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XomGenericDrawString
#endif
_XomGenericDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9120
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9120]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1140 & 0xffff
#if 1140 > 0xffff
movk ip0, 1140 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XomGenericOpenOM
.p2align 4
.type _XomGenericOpenOM, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XomGenericOpenOM
#endif
_XomGenericOpenOM:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9128
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9128]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1141 & 0xffff
#if 1141 > 0xffff
movk ip0, 1141 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XomGenericTextExtents
.p2align 4
.type _XomGenericTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XomGenericTextExtents
#endif
_XomGenericTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9136
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9136]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1142 & 0xffff
#if 1142 > 0xffff
movk ip0, 1142 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XomGetFontDataFromFontSet
.p2align 4
.type _XomGetFontDataFromFontSet, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XomGetFontDataFromFontSet
#endif
_XomGetFontDataFromFontSet:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9144
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9144]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1143 & 0xffff
#if 1143 > 0xffff
movk ip0, 1143 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XomInitConverter
.p2align 4
.type _XomInitConverter, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XomInitConverter
#endif
_XomInitConverter:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9152
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9152]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1144 & 0xffff
#if 1144 > 0xffff
movk ip0, 1144 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XrmDefaultInitParseInfo
.p2align 4
.type _XrmDefaultInitParseInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XrmDefaultInitParseInfo
#endif
_XrmDefaultInitParseInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9160
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9160]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1145 & 0xffff
#if 1145 > 0xffff
movk ip0, 1145 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XrmInitParseInfo
.p2align 4
.type _XrmInitParseInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XrmInitParseInfo
#endif
_XrmInitParseInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9168
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9168]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1146 & 0xffff
#if 1146 > 0xffff
movk ip0, 1146 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XrmInternalStringToQuark
.p2align 4
.type _XrmInternalStringToQuark, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XrmInternalStringToQuark
#endif
_XrmInternalStringToQuark:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9176
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9176]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1147 & 0xffff
#if 1147 > 0xffff
movk ip0, 1147 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8DefaultDrawImageString
.p2align 4
.type _Xutf8DefaultDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8DefaultDrawImageString
#endif
_Xutf8DefaultDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9184
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9184]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1148 & 0xffff
#if 1148 > 0xffff
movk ip0, 1148 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8DefaultDrawString
.p2align 4
.type _Xutf8DefaultDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8DefaultDrawString
#endif
_Xutf8DefaultDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9192
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9192]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1149 & 0xffff
#if 1149 > 0xffff
movk ip0, 1149 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8DefaultTextEscapement
.p2align 4
.type _Xutf8DefaultTextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8DefaultTextEscapement
#endif
_Xutf8DefaultTextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9200
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9200]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1150 & 0xffff
#if 1150 > 0xffff
movk ip0, 1150 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8DefaultTextExtents
.p2align 4
.type _Xutf8DefaultTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8DefaultTextExtents
#endif
_Xutf8DefaultTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9208
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9208]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1151 & 0xffff
#if 1151 > 0xffff
movk ip0, 1151 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8DefaultTextPerCharExtents
.p2align 4
.type _Xutf8DefaultTextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8DefaultTextPerCharExtents
#endif
_Xutf8DefaultTextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9216
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9216]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1152 & 0xffff
#if 1152 > 0xffff
movk ip0, 1152 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8GenericDrawImageString
.p2align 4
.type _Xutf8GenericDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8GenericDrawImageString
#endif
_Xutf8GenericDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9224
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9224]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1153 & 0xffff
#if 1153 > 0xffff
movk ip0, 1153 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8GenericDrawString
.p2align 4
.type _Xutf8GenericDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8GenericDrawString
#endif
_Xutf8GenericDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9232
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9232]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1154 & 0xffff
#if 1154 > 0xffff
movk ip0, 1154 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8GenericTextEscapement
.p2align 4
.type _Xutf8GenericTextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8GenericTextEscapement
#endif
_Xutf8GenericTextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9240
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9240]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1155 & 0xffff
#if 1155 > 0xffff
movk ip0, 1155 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8GenericTextExtents
.p2align 4
.type _Xutf8GenericTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8GenericTextExtents
#endif
_Xutf8GenericTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9248
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9248]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1156 & 0xffff
#if 1156 > 0xffff
movk ip0, 1156 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8GenericTextPerCharExtents
.p2align 4
.type _Xutf8GenericTextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8GenericTextPerCharExtents
#endif
_Xutf8GenericTextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9256
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9256]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1157 & 0xffff
#if 1157 > 0xffff
movk ip0, 1157 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8TextListToTextProperty
.p2align 4
.type _Xutf8TextListToTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8TextListToTextProperty
#endif
_Xutf8TextListToTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9264
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9264]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1158 & 0xffff
#if 1158 > 0xffff
movk ip0, 1158 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xutf8TextPropertyToTextList
.p2align 4
.type _Xutf8TextPropertyToTextList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xutf8TextPropertyToTextList
#endif
_Xutf8TextPropertyToTextList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9272
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9272]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1159 & 0xffff
#if 1159 > 0xffff
movk ip0, 1159 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcDefaultDrawImageString
.p2align 4
.type _XwcDefaultDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcDefaultDrawImageString
#endif
_XwcDefaultDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9280
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9280]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1160 & 0xffff
#if 1160 > 0xffff
movk ip0, 1160 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcDefaultDrawString
.p2align 4
.type _XwcDefaultDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcDefaultDrawString
#endif
_XwcDefaultDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9288
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9288]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1161 & 0xffff
#if 1161 > 0xffff
movk ip0, 1161 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcDefaultTextEscapement
.p2align 4
.type _XwcDefaultTextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcDefaultTextEscapement
#endif
_XwcDefaultTextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9296
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9296]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1162 & 0xffff
#if 1162 > 0xffff
movk ip0, 1162 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcDefaultTextExtents
.p2align 4
.type _XwcDefaultTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcDefaultTextExtents
#endif
_XwcDefaultTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9304
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9304]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1163 & 0xffff
#if 1163 > 0xffff
movk ip0, 1163 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcDefaultTextPerCharExtents
.p2align 4
.type _XwcDefaultTextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcDefaultTextPerCharExtents
#endif
_XwcDefaultTextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9312
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9312]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1164 & 0xffff
#if 1164 > 0xffff
movk ip0, 1164 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcFreeStringList
.p2align 4
.type _XwcFreeStringList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcFreeStringList
#endif
_XwcFreeStringList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9320
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9320]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1165 & 0xffff
#if 1165 > 0xffff
movk ip0, 1165 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcGenericDrawImageString
.p2align 4
.type _XwcGenericDrawImageString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcGenericDrawImageString
#endif
_XwcGenericDrawImageString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9328
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9328]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1166 & 0xffff
#if 1166 > 0xffff
movk ip0, 1166 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcGenericDrawString
.p2align 4
.type _XwcGenericDrawString, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcGenericDrawString
#endif
_XwcGenericDrawString:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9336
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9336]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1167 & 0xffff
#if 1167 > 0xffff
movk ip0, 1167 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcGenericTextEscapement
.p2align 4
.type _XwcGenericTextEscapement, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcGenericTextEscapement
#endif
_XwcGenericTextEscapement:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9344
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9344]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1168 & 0xffff
#if 1168 > 0xffff
movk ip0, 1168 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcGenericTextExtents
.p2align 4
.type _XwcGenericTextExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcGenericTextExtents
#endif
_XwcGenericTextExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9352
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9352]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1169 & 0xffff
#if 1169 > 0xffff
movk ip0, 1169 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcGenericTextPerCharExtents
.p2align 4
.type _XwcGenericTextPerCharExtents, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcGenericTextPerCharExtents
#endif
_XwcGenericTextPerCharExtents:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9360
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9360]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1170 & 0xffff
#if 1170 > 0xffff
movk ip0, 1170 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcTextListToTextProperty
.p2align 4
.type _XwcTextListToTextProperty, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcTextListToTextProperty
#endif
_XwcTextListToTextProperty:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9368
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9368]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1171 & 0xffff
#if 1171 > 0xffff
movk ip0, 1171 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _XwcTextPropertyToTextList
.p2align 4
.type _XwcTextPropertyToTextList, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _XwcTextPropertyToTextList
#endif
_XwcTextPropertyToTextList:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9376
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9376]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1172 & 0xffff
#if 1172 > 0xffff
movk ip0, 1172 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xwcscmp
.p2align 4
.type _Xwcscmp, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xwcscmp
#endif
_Xwcscmp:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9384
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9384]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1173 & 0xffff
#if 1173 > 0xffff
movk ip0, 1173 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xwcscpy
.p2align 4
.type _Xwcscpy, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xwcscpy
#endif
_Xwcscpy:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9392
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9392]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1174 & 0xffff
#if 1174 > 0xffff
movk ip0, 1174 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xwcslen
.p2align 4
.type _Xwcslen, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xwcslen
#endif
_Xwcslen:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9400
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9400]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1175 & 0xffff
#if 1175 > 0xffff
movk ip0, 1175 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xwcsncmp
.p2align 4
.type _Xwcsncmp, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xwcsncmp
#endif
_Xwcsncmp:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9408
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9408]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1176 & 0xffff
#if 1176 > 0xffff
movk ip0, 1176 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xwcsncpy
.p2align 4
.type _Xwcsncpy, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xwcsncpy
#endif
_Xwcsncpy:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9416
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9416]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1177 & 0xffff
#if 1177 > 0xffff
movk ip0, 1177 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xwcstombs
.p2align 4
.type _Xwcstombs, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xwcstombs
#endif
_Xwcstombs:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9424
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9424]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1178 & 0xffff
#if 1178 > 0xffff
movk ip0, 1178 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl _Xwctomb
.p2align 4
.type _Xwctomb, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden _Xwctomb
#endif
_Xwctomb:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9432
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9432]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1179 & 0xffff
#if 1179 > 0xffff
movk ip0, 1179 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl read_EncodingInfo
.p2align 4
.type read_EncodingInfo, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden read_EncodingInfo
#endif
read_EncodingInfo:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9440
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9440]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1180 & 0xffff
#if 1180 > 0xffff
movk ip0, 1180 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc
/*
* Copyright 2018-2025 Yury Gribov
*
* The MIT License (MIT)
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/
.globl xlocaledir
.p2align 4
.type xlocaledir, %function
#ifndef IMPLIB_EXPORT_SHIMS
.hidden xlocaledir
#endif
xlocaledir:
.cfi_startproc
1:
// Load address
// TODO: can we do this faster on newer ARMs?
adrp ip0, _libX11_so_tramp_table+9448
ldr ip0, [ip0, #:lo12:_libX11_so_tramp_table+9448]
cbz ip0, 2f
// Fast path
br ip0
2:
// Slow path
mov ip0, 1181 & 0xffff
#if 1181 > 0xffff
movk ip0, 1181 >> 16, lsl #16
#endif
stp ip0, lr, [sp, #-16]!; .cfi_adjust_cfa_offset 16; .cfi_rel_offset lr, 8
bl _libX11_so_save_regs_and_resolve
ldp xzr, lr, [sp], #16; .cfi_adjust_cfa_offset -16; .cfi_restore lr
br ip0
.cfi_endproc