#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>

int const MARKS = 256;
int const ROWS = 128;

__global__
void knotHash(unsigned char const *input, int inputSize, int *usedSquares) {
  int row = blockIdx.x * blockDim.x + threadIdx.x;

  unsigned char lengths[64];
  int numLengths = 0;
  for (int i = 0; i < inputSize; i++) {
    lengths[numLengths++] = input[i];
  }
  lengths[numLengths++] = '-';
  if (row >= 100) {
    lengths[numLengths++] = '0' + (row / 100);
  }
  if (row >= 10) {
    lengths[numLengths++] = '0' + ((row % 100) / 10);
  }
  lengths[numLengths++] = '0' + (row % 10);
  unsigned char const APPEND[] = { 17, 31, 73, 47, 23 };
  int const APPEND_SIZE = sizeof(APPEND) / sizeof(unsigned char);
  for (int i = 0; i < APPEND_SIZE; i++) {
    lengths[numLengths++] = APPEND[i];
  }

  int items[MARKS];
  for (int i = 0; i < MARKS; i++) {
    items[i] = i;
  }

  int start = 0;
  int skip = 0;
  for (int round = 0; round < 64; round++) {
    for (int i = 0; i < numLengths; i++) {
      int length = lengths[i];
      for (int j = 0; j < length / 2; j++) {
        int a = (start + j) % MARKS;
        int b = (start + length - 1 - j) % MARKS;
        unsigned char t = items[a];
        items[a] = items[b];
        items[b] = t;
      }
      start = (start + length + skip) % 256;
      skip = (skip + 1) % 256;
    }
  }

  unsigned char hash[16];
  for (int i = 0; i < 16; i++) {
    unsigned char xored = 0;
    for (int j = 0; j < 16; j++) {
      xored ^= items[16 * i + j];
    }
    hash[i] = xored;
  }

  int bitCount = 0;
  for (int i = 0; i < 16; i++) {
    for (int j = 1; j < 0x100; j <<= 1) {
      if (hash[i] & j) {
        bitCount++;
      }
    }
  }
  usedSquares[row] = bitCount;
}

int main(void) {
  std::string inputStr;
  std::getline(std::cin, inputStr);
  int n = inputStr.size();

  unsigned char *input;
  cudaMallocManaged(&input, n);
  memcpy(input, inputStr.data(), n);

  int *usedSquares;
  cudaMallocManaged(&usedSquares, ROWS * sizeof(int));

  knotHash<<<1, ROWS>>>(input, n, usedSquares);

  cudaDeviceSynchronize();

  int totalUsedSquares = 0;
  for (int i = 0; i < ROWS; i++) {
    totalUsedSquares += usedSquares[i];
  }
  std::cout << totalUsedSquares << '\n';

  cudaFree(input);
  cudaFree(usedSquares);

  return 0;
}

	.file	"tmpxft_00233d68_00000000-6_14a.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB3919:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE3919:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.globl	_Z31__device_stub__Z8knotHashPKhiPiPKhiPi
	.type	_Z31__device_stub__Z8knotHashPKhiPiPKhiPi, @function
_Z31__device_stub__Z8knotHashPKhiPiPKhiPi:
.LFB3941:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L2
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z8knotHashPKhiPi(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L2:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3941:
	.size	_Z31__device_stub__Z8knotHashPKhiPiPKhiPi, .-_Z31__device_stub__Z8knotHashPKhiPiPKhiPi
	.globl	_Z8knotHashPKhiPi
	.type	_Z8knotHashPKhiPi, @function
_Z8knotHashPKhiPi:
.LFB3942:
	.cfi_startproc
	endbr64
	jmp	_Z31__device_stub__Z8knotHashPKhiPiPKhiPi
	.cfi_endproc
.LFE3942:
	.size	_Z8knotHashPKhiPi, .-_Z8knotHashPKhiPi
	.section	.text.startup,"ax",@progbits
	.globl	main
	.type	main, @function
main:
.LFB3915:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA3915
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	_ZSt3cin(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$80, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	56(%rsp), %rax
	movb	$0, 56(%rsp)
	leaq	40(%rsp), %rbp
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rax, 48(%rsp)
	movq	_ZSt3cin(%rip), %rax
	movq	-24(%rax), %rax
	movq	240(%r12,%rax), %rbx
	testq	%rbx, %rbx
	jne	.L9
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
.LEHB0:
	call	_ZSt16__throw_bad_castv@PLT
.L9:
	cmpb	$0, 56(%rbx)
	je	.L11
	movb	67(%rbx), %al
	jmp	.L12
.L11:
	movq	%rbx, %rdi
	call	_ZNKSt5ctypeIcE13_M_widen_initEv@PLT
	movq	(%rbx), %rax
	movl	$10, %esi
	movq	%rbx, %rdi
	call	*48(%rax)
.L12:
	movsbl	%al, %edx
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_@PLT
	movq	48(%rsp), %rbx
	movq	%rsp, %rdi
	movl	$1, %edx
	movl	%ebx, %r12d
	movslq	%ebx, %rbx
	movq	%rbx, %rsi
	call	cudaMallocManaged@PLT
	movq	40(%rsp), %rsi
	movq	(%rsp), %rdi
	movq	%rbx, %rcx
	movl	$1, %edx
	rep movsb
	leaq	8(%rsp), %rdi
	movl	$512, %esi
	call	cudaMallocManaged@PLT
	movl	$33554433, %edx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %ecx
	salq	$7, %rdx
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	movl	$1, 36(%rsp)
	movq	%rdx, 28(%rsp)
	movq	%rdi, 16(%rsp)
	movl	$1, 24(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	je	.L13
.L15:
	call	cudaDeviceSynchronize@PLT
	movq	8(%rsp), %rdx
	xorl	%eax, %eax
	xorl	%esi, %esi
	jmp	.L16
.L13:
	movq	8(%rsp), %rdx
	movq	(%rsp), %rdi
	movl	%r12d, %esi
	call	_Z31__device_stub__Z8knotHashPKhiPiPKhiPi
	jmp	.L15
.L16:
	addl	(%rdx,%rax,4), %esi
	incq	%rax
	cmpq	$128, %rax
	jne	.L16
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZNSolsEi@PLT
	movb	$10, 28(%rsp)
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	-24(%rax), %rax
	cmpq	$0, 16(%rdi,%rax)
	je	.L17
	leaq	28(%rsp), %rsi
	movl	$1, %edx
	call	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l@PLT
.L19:
	movq	(%rsp), %rdi
	call	cudaFree@PLT
	jmp	.L30
.L17:
	movl	$10, %esi
	call	_ZNSo3putEc@PLT
	jmp	.L19
.L30:
	movq	8(%rsp), %rdi
	call	cudaFree@PLT
.LEHE0:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L22
	jmp	.L27
.L23:
	endbr64
	movq	%rax, %rbx
.L20:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	movq	%rbx, %rdi
.LEHB1:
	call	_Unwind_Resume@PLT
.LEHE1:
.L27:
	call	__stack_chk_fail@PLT
.L22:
	addq	$80, %rsp
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3915:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA3915:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE3915-.LLSDACSB3915
.LLSDACSB3915:
	.uleb128 .LEHB0-.LFB3915
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L23-.LFB3915
	.uleb128 0
	.uleb128 .LEHB1-.LFB3915
	.uleb128 .LEHE1-.LEHB1
	.uleb128 0
	.uleb128 0
.LLSDACSE3915:
	.section	.text.startup
	.size	main, .-main
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z8knotHashPKhiPi"
	.section	.text.startup
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB3944:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC0(%rip), %rdx
	movq	%rax, %rdi
	leaq	_Z8knotHashPKhiPi(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE3944:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:


#include <hip/hip_runtime.h>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>

int const MARKS = 256;
int const ROWS = 128;

__global__
void knotHash(unsigned char const *input, int inputSize, int *usedSquares) {
  int row = blockIdx.x * blockDim.x + threadIdx.x;

  unsigned char lengths[64];
  int numLengths = 0;
  for (int i = 0; i < inputSize; i++) {
    lengths[numLengths++] = input[i];
  }
  lengths[numLengths++] = '-';
  if (row >= 100) {
    lengths[numLengths++] = '0' + (row / 100);
  }
  if (row >= 10) {
    lengths[numLengths++] = '0' + ((row % 100) / 10);
  }
  lengths[numLengths++] = '0' + (row % 10);
  unsigned char const APPEND[] = { 17, 31, 73, 47, 23 };
  int const APPEND_SIZE = sizeof(APPEND) / sizeof(unsigned char);
  for (int i = 0; i < APPEND_SIZE; i++) {
    lengths[numLengths++] = APPEND[i];
  }

  int items[MARKS];
  for (int i = 0; i < MARKS; i++) {
    items[i] = i;
  }

  int start = 0;
  int skip = 0;
  for (int round = 0; round < 64; round++) {
    for (int i = 0; i < numLengths; i++) {
      int length = lengths[i];
      for (int j = 0; j < length / 2; j++) {
        int a = (start + j) % MARKS;
        int b = (start + length - 1 - j) % MARKS;
        unsigned char t = items[a];
        items[a] = items[b];
        items[b] = t;
      }
      start = (start + length + skip) % 256;
      skip = (skip + 1) % 256;
    }
  }

  unsigned char hash[16];
  for (int i = 0; i < 16; i++) {
    unsigned char xored = 0;
    for (int j = 0; j < 16; j++) {
      xored ^= items[16 * i + j];
    }
    hash[i] = xored;
  }

  int bitCount = 0;
  for (int i = 0; i < 16; i++) {
    for (int j = 1; j < 0x100; j <<= 1) {
      if (hash[i] & j) {
        bitCount++;
      }
    }
  }
  usedSquares[row] = bitCount;
}

int main(void) {
  std::string inputStr;
  std::getline(std::cin, inputStr);
  int n = inputStr.size();

  unsigned char *input;
  hipMallocManaged(&input, n);
  memcpy(input, inputStr.data(), n);

  int *usedSquares;
  hipMallocManaged(&usedSquares, ROWS * sizeof(int));

  knotHash<<<1, ROWS>>>(input, n, usedSquares);

  hipDeviceSynchronize();

  int totalUsedSquares = 0;
  for (int i = 0; i < ROWS; i++) {
    totalUsedSquares += usedSquares[i];
  }
  std::cout << totalUsedSquares << '\n';

  hipFree(input);
  hipFree(usedSquares);

  return 0;
}

	.text
	.file	"14a.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.globl	_Z23__device_stub__knotHashPKhiPi # -- Begin function _Z23__device_stub__knotHashPKhiPi
	.type	_Z23__device_stub__knotHashPKhiPi,@function
_Z23__device_stub__knotHashPKhiPi:      # @_Z23__device_stub__knotHashPKhiPi
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	12(%rsp), %rcx
	movl	%esi, (%rcx)
	leaq	32(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z8knotHashPKhiPi, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z23__device_stub__knotHashPKhiPi, .Lfunc_end0-_Z23__device_stub__knotHashPKhiPi
	.cfi_endproc
                                        # -- End function
	.globl	main                            # -- Begin function main
	.type	main,@function
main:                                   # @main
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	subq	$64, %rsp
	.cfi_def_cfa_offset 96
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	48(%rsp), %r15
	movq	%r15, -16(%r15)
	movq	$0, -8(%r15)
	movb	$0, (%r15)
	movq	_ZSt3cin(%rip), %rax
	movl	$_ZSt3cin, %edi
	addq	-24(%rax), %rdi
.Ltmp0:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp1:
# %bb.1:                                # %.noexc
.Ltmp2:
	movsbl	%al, %edx
	leaq	32(%rsp), %rsi
	movl	$_ZSt3cin, %edi
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp3:
# %bb.2:                                # %_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit
	movq	40(%rsp), %rbx
	movslq	%ebx, %r14
.Ltmp5:
	leaq	24(%rsp), %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp6:
# %bb.3:                                # %_ZL16hipMallocManagedIhE10hipError_tPPT_mj.exit
	movq	24(%rsp), %rdi
	movq	32(%rsp), %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.Ltmp8:
	leaq	16(%rsp), %rdi
	movl	$512, %esi                      # imm = 0x200
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp9:
# %bb.4:                                # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit
.Ltmp10:
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	movabsq	$4294967424, %rdx               # imm = 0x100000080
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp11:
# %bb.5:
	testl	%eax, %eax
	jne	.LBB1_7
# %bb.6:
	movq	24(%rsp), %rdi
	movq	16(%rsp), %rdx
.Ltmp12:
	movl	%ebx, %esi
	callq	_Z23__device_stub__knotHashPKhiPi
.Ltmp13:
.LBB1_7:
.Ltmp14:
	callq	hipDeviceSynchronize
.Ltmp15:
# %bb.8:                                # %.preheader
	xorl	%eax, %eax
	movq	16(%rsp), %rcx
	xorl	%esi, %esi
.LBB1_9:                                # =>This Inner Loop Header: Depth=1
	addl	(%rcx,%rax,4), %esi
	incq	%rax
	cmpq	$128, %rax
	jne	.LBB1_9
# %bb.10:
.Ltmp17:
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
.Ltmp18:
# %bb.11:
	movb	$10, 15(%rsp)
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	cmpq	$0, 16(%rax,%rcx)
	je	.LBB1_16
# %bb.12:
.Ltmp19:
	leaq	15(%rsp), %rsi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp20:
	jmp	.LBB1_17
.LBB1_16:
.Ltmp21:
	movq	%rax, %rdi
	movl	$10, %esi
	callq	_ZNSo3putEc
.Ltmp22:
.LBB1_17:
	movq	24(%rsp), %rdi
.Ltmp23:
	callq	hipFree
.Ltmp24:
# %bb.18:
	movq	16(%rsp), %rdi
.Ltmp25:
	callq	hipFree
.Ltmp26:
# %bb.19:
	movq	32(%rsp), %rdi
	cmpq	%r15, %rdi
	je	.LBB1_21
# %bb.20:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB1_21:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	xorl	%eax, %eax
	addq	$64, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB1_14:
	.cfi_def_cfa_offset 96
.Ltmp7:
	jmp	.LBB1_23
.LBB1_13:
.Ltmp4:
	jmp	.LBB1_23
.LBB1_15:
.Ltmp16:
	jmp	.LBB1_23
.LBB1_22:
.Ltmp27:
.LBB1_23:
	movq	%rax, %rbx
	movq	32(%rsp), %rdi
	cmpq	%r15, %rdi
	je	.LBB1_25
# %bb.24:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i25
	callq	_ZdlPv
.LBB1_25:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit27
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	main, .Lfunc_end1-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table1:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp3-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp3
	.uleb128 .Ltmp4-.Lfunc_begin0           #     jumps to .Ltmp4
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp5-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp6-.Ltmp5                  #   Call between .Ltmp5 and .Ltmp6
	.uleb128 .Ltmp7-.Lfunc_begin0           #     jumps to .Ltmp7
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp8-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp8
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp8-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp15-.Ltmp8                 #   Call between .Ltmp8 and .Ltmp15
	.uleb128 .Ltmp16-.Lfunc_begin0          #     jumps to .Ltmp16
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp17-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp26-.Ltmp17                #   Call between .Ltmp17 and .Ltmp26
	.uleb128 .Ltmp27-.Lfunc_begin0          #     jumps to .Ltmp27
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp26-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Lfunc_end1-.Ltmp26            #   Call between .Ltmp26 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	jne	.LBB2_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rdi
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB2_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z8knotHashPKhiPi, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end2:
	.size	__hip_module_ctor, .Lfunc_end2-__hip_module_ctor
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_dtor
	.type	__hip_module_dtor,@function
__hip_module_dtor:                      # @__hip_module_dtor
	.cfi_startproc
# %bb.0:
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB3_2
# %bb.1:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__hipUnregisterFatBinary
	movq	$0, __hip_gpubin_handle(%rip)
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
.LBB3_2:
	retq
.Lfunc_end3:
	.size	__hip_module_dtor, .Lfunc_end3-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z8knotHashPKhiPi,@object       # @_Z8knotHashPKhiPi
	.section	.rodata,"a",@progbits
	.globl	_Z8knotHashPKhiPi
	.p2align	3, 0x0
_Z8knotHashPKhiPi:
	.quad	_Z23__device_stub__knotHashPKhiPi
	.size	_Z8knotHashPKhiPi, 8

	.type	.L__unnamed_1,@object           # @0
	.section	.rodata.str1.1,"aMS",@progbits,1
.L__unnamed_1:
	.asciz	"_Z8knotHashPKhiPi"
	.size	.L__unnamed_1, 18

	.type	__hip_fatbin_wrapper,@object    # @__hip_fatbin_wrapper
	.section	.hipFatBinSegment,"a",@progbits
	.p2align	3, 0x0
__hip_fatbin_wrapper:
	.long	1212764230                      # 0x48495046
	.long	1                               # 0x1
	.quad	__hip_fatbin
	.quad	0
	.size	__hip_fatbin_wrapper, 24

	.type	__hip_gpubin_handle,@object     # @__hip_gpubin_handle
	.local	__hip_gpubin_handle
	.comm	__hip_gpubin_handle,8,8
	.section	.init_array,"aw",@init_array
	.p2align	3, 0x0
	.quad	__hip_module_ctor
	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym _Z23__device_stub__knotHashPKhiPi
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z8knotHashPKhiPi
	.addrsig_sym _ZSt3cin
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z8knotHashPKhiPi       ; -- Begin function _Z8knotHashPKhiPi
	.globl	_Z8knotHashPKhiPi
	.p2align	8
	.type	_Z8knotHashPKhiPi,@function
_Z8knotHashPKhiPi:                      ; @_Z8knotHashPKhiPi
; %bb.0:
	s_load_b64 s[0:1], s[0:1], 0x4
	s_load_b32 s4, s[2:3], 0x8
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 10, 10
	v_bfe_u32 v0, v0, 20, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s0, s0, 16
	s_cmp_lt_i32 s4, 1
	s_mul_i32 s0, s0, s1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, s0, v2
	v_mad_u32_u24 v1, v3, s1, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_lshl_u32 v3, v1, v0, 6
	s_cbranch_scc1 .LBB0_3
; %bb.1:                                ; %.lr.ph.preheader
	s_load_b64 s[0:1], s[2:3], 0x0
	s_delay_alu instid0(VALU_DEP_1)
	v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, v3
	s_mov_b32 s5, s4
.LBB0_2:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	s_waitcnt lgkmcnt(0)
	global_load_u8 v4, v0, s[0:1]
	s_add_u32 s0, s0, 1
	s_addc_u32 s1, s1, 0
	s_add_i32 s5, s5, -1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s5, 0
	s_waitcnt vmcnt(0)
	ds_store_b8 v1, v4
	v_add_nc_u32_e32 v1, 1, v1
	s_cbranch_scc0 .LBB0_2
	s_branch .LBB0_4
.LBB0_3:
	s_mov_b32 s4, 0
.LBB0_4:                                ; %Flow183
	s_load_b32 s0, s[2:3], 0x24
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(SALU_CYCLE_1)
	v_dual_mov_b32 v5, 45 :: v_dual_add_nc_u32 v4, s4, v3
	ds_store_b8 v4, v5
	s_waitcnt lgkmcnt(0)
	s_and_b32 s0, 0xffff, s0
	v_mad_u64_u32 v[0:1], null, s15, s0, v[2:3]
	s_add_i32 s0, s4, 1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, s0
	s_mov_b32 s0, exec_lo
	v_mul_hi_u32 v2, 0x51eb851f, v0
	v_cmpx_lt_i32_e32 0x63, v0
	s_cbranch_execz .LBB0_6
; %bb.5:
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshrrev_b32_e32 v1, 5, v2
	s_add_i32 s1, s4, 2
	v_add_nc_u16 v5, v1, 48
	v_mov_b32_e32 v1, s1
	ds_store_b8 v4, v5 offset:1
.LBB0_6:
	s_or_b32 exec_lo, exec_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s0, exec_lo
	v_cmpx_lt_i32_e32 9, v0
	s_cbranch_execz .LBB0_8
; %bb.7:
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_lshrrev_b32_e32 v2, 5, v2
	v_add_nc_u32_e32 v4, 1, v1
	v_add_nc_u32_e32 v5, v3, v1
	v_mul_lo_u32 v2, 0x64, v2
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v4
	v_sub_nc_u32_e32 v2, v0, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u16 v2, 0x67, v2
	v_lshrrev_b16 v2, 10, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_or_b32_e32 v2, 48, v2
	ds_store_b8 v5, v2
.LBB0_8:
	s_or_b32 exec_lo, exec_lo, s0
	v_mul_hi_i32 v2, 0x66666667, v0
	s_mov_b32 s0, 0x2f491f11
	s_mov_b32 s1, 23
	s_mov_b64 s[4:5], 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshrrev_b32_e32 v4, 31, v2
	v_lshrrev_b32_e32 v2, 2, v2
	v_add_nc_u32_e32 v2, v2, v4
	v_add_nc_u32_e32 v4, v3, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v2, v2, 10
	v_sub_nc_u32_e32 v2, v0, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add_nc_u16 v5, v2, 48
	v_add_nc_u32_e32 v2, -1, v1
	ds_store_b8 v4, v5
.LBB0_9:                                ; =>This Inner Loop Header: Depth=1
	s_lshl_b32 s6, s4, 3
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshr_b64 s[6:7], s[0:1], s6
	v_dual_mov_b32 v5, s6 :: v_dual_add_nc_u32 v4, v3, v2
	v_add_nc_u32_e32 v2, 1, v2
	s_add_u32 s4, s4, 1
	s_addc_u32 s5, s5, 0
	s_cmp_eq_u32 s4, 5
	ds_store_b8 v4, v5 offset:2
	s_cbranch_scc0 .LBB0_9
; %bb.10:
	v_mov_b32_e32 v4, 16
	s_mov_b32 s0, 0
.LBB0_11:                               ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_mov_b32_e32 v5, s0
	s_add_i32 s0, s0, 1
	s_cmpk_eq_i32 s0, 0x100
	scratch_store_b32 v4, v5, off
	v_add_nc_u32_e32 v4, 4, v4
	s_cbranch_scc0 .LBB0_11
; %bb.12:                               ; %.preheader91
	v_add_nc_u32_e32 v1, 4, v1
	v_cmp_lt_i32_e32 vcc_lo, -2, v2
	v_mov_b32_e32 v2, 0
	s_mov_b32 s1, 0
	v_mov_b32_e32 v4, 0
	v_max_i32_e32 v1, -1, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_nc_u32_e32 v1, 1, v1
.LBB0_13:                               ; %.preheader90
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;       Child Loop BB0_17 Depth 3
	s_and_saveexec_b32 s4, vcc_lo
	s_cbranch_execz .LBB0_20
; %bb.14:                               ; %.lr.ph105.preheader
                                        ;   in Loop: Header=BB0_13 Depth=1
	s_mov_b32 s5, 0
	s_mov_b32 s6, 0
.LBB0_15:                               ; %.lr.ph105
                                        ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
	s_delay_alu instid0(SALU_CYCLE_1)
	v_add_nc_u32_e32 v5, s6, v3
	s_mov_b32 s7, exec_lo
	ds_load_u8 v5, v5
	s_waitcnt lgkmcnt(0)
	v_cmpx_lt_u32_e32 1, v5
	s_cbranch_execz .LBB0_18
; %bb.16:                               ; %.lr.ph99
                                        ;   in Loop: Header=BB0_15 Depth=2
	v_lshrrev_b32_e32 v6, 1, v5
	v_add3_u32 v7, v4, v5, -1
	v_mov_b32_e32 v8, v4
	s_mov_b32 s8, 0
.LBB0_17:                               ;   Parent Loop BB0_13 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ashrrev_i32_e32 v9, 31, v8
	v_ashrrev_i32_e32 v10, 31, v7
	v_add_nc_u32_e32 v6, -1, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshrrev_b32_e32 v9, 24, v9
	v_lshrrev_b32_e32 v10, 24, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e64 s0, 0, v6
	v_add_nc_u32_e32 v9, v8, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_nc_u32_e32 v10, v7, v10
	s_or_b32 s8, s0, s8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_and_b32_e32 v9, 0x3fffff00, v9
	v_and_b32_e32 v10, 0x3fffff00, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v9, v8, v9
	v_sub_nc_u32_e32 v10, v7, v10
	v_add_nc_u32_e32 v8, 1, v8
	v_add_nc_u32_e32 v7, -1, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_lshl_add_u32 v9, v9, 2, 16
	v_lshl_add_u32 v10, v10, 2, 16
	s_clause 0x1
	scratch_load_b32 v11, v9, off
	scratch_load_b32 v12, v10, off
	s_waitcnt vmcnt(1)
	v_and_b32_e32 v11, 0xff, v11
	s_waitcnt vmcnt(0)
	s_clause 0x1
	scratch_store_b32 v9, v12, off
	scratch_store_b32 v10, v11, off
	s_and_not1_b32 exec_lo, exec_lo, s8
	s_cbranch_execnz .LBB0_17
.LBB0_18:                               ; %Flow179
                                        ;   in Loop: Header=BB0_15 Depth=2
	s_or_b32 exec_lo, exec_lo, s7
	v_add3_u32 v4, v2, v4, v5
	v_add_nc_u32_e32 v2, 1, v2
	v_cmp_eq_u32_e64 s0, s6, v1
	s_add_i32 s6, s6, 1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ashrrev_i32_e32 v5, 31, v4
	v_ashrrev_i32_e32 v6, 31, v2
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	s_or_b32 s5, s0, s5
	v_lshrrev_b32_e32 v5, 24, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshrrev_b32_e32 v6, 24, v6
	v_add_nc_u32_e32 v5, v4, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v6, v2, v6
	v_and_b32_e32 v5, 0xffffff00, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_and_b32_e32 v6, 0xffffff00, v6
	v_sub_nc_u32_e32 v4, v4, v5
	s_delay_alu instid0(VALU_DEP_2)
	v_sub_nc_u32_e32 v2, v2, v6
	s_and_not1_b32 exec_lo, exec_lo, s5
	s_cbranch_execnz .LBB0_15
; %bb.19:                               ; %Flow180
                                        ;   in Loop: Header=BB0_13 Depth=1
	s_or_b32 exec_lo, exec_lo, s5
.LBB0_20:                               ; %Flow181
                                        ;   in Loop: Header=BB0_13 Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	s_or_b32 exec_lo, exec_lo, s4
	s_add_i32 s1, s1, 1
	s_cmp_lg_u32 s1, 64
	s_cbranch_scc1 .LBB0_13
; %bb.21:                               ; %.preheader88.preheader
	v_mov_b32_e32 v8, 16
	s_mov_b32 s0, 0
                                        ; implicit-def: $vgpr3
                                        ; implicit-def: $vgpr17
                                        ; implicit-def: $vgpr15
                                        ; implicit-def: $vgpr10
                                        ; implicit-def: $vgpr12
                                        ; implicit-def: $vgpr5
                                        ; implicit-def: $vgpr14
                                        ; implicit-def: $vgpr16
                                        ; implicit-def: $vgpr1
                                        ; implicit-def: $vgpr11
                                        ; implicit-def: $vgpr7
                                        ; implicit-def: $vgpr4
                                        ; implicit-def: $vgpr6
                                        ; implicit-def: $vgpr2
                                        ; implicit-def: $vgpr9
                                        ; implicit-def: $vgpr13
.LBB0_22:                               ; %.preheader88
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	v_mov_b32_e32 v18, 0
	s_mov_b32 s1, 0
.LBB0_23:                               ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(VALU_DEP_2) | instid1(SALU_CYCLE_1)
	v_add_nc_u32_e32 v19, s1, v8
	s_add_i32 s1, s1, 4
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s1, 64
	scratch_load_b32 v19, v19, off
	s_waitcnt vmcnt(0)
	v_xor_b32_e32 v18, v18, v19
	s_cbranch_scc0 .LBB0_23
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	s_cmp_eq_u32 s0, 13
	v_lshlrev_b16 v10, 8, v10
	s_cselect_b32 vcc_lo, -1, 0
	v_and_b32_e32 v15, 0xff, v15
	v_and_b32_e32 v12, 0xff, v12
	v_lshlrev_b16 v5, 8, v5
	v_lshlrev_b16 v2, 8, v2
	v_and_b32_e32 v9, 0xff, v9
	v_or_b32_e32 v15, v15, v10
	v_and_b32_e32 v10, 0xff, v14
	v_lshlrev_b16 v14, 8, v16
	v_and_b32_e32 v16, 0xff, v6
	v_lshlrev_b16 v13, 8, v13
	v_or_b32_e32 v12, v12, v5
	v_lshlrev_b16 v4, 8, v4
	v_lshlrev_b16 v17, 8, v17
	v_or_b32_e32 v16, v16, v2
	v_and_b32_e32 v5, 0xff, v7
	v_or_b32_e32 v9, v9, v13
	v_or_b32_e32 v14, v10, v14
	v_and_b32_e32 v1, 0xff, v1
	v_and_b32_e32 v19, 0xffff, v17
	v_or_b32_e32 v20, v5, v4
	v_and_b32_e32 v10, 0xff, v3
	v_and_b32_e32 v4, 0xffff, v16
	v_lshlrev_b32_e32 v21, 16, v9
	v_lshlrev_b32_e32 v13, 16, v14
	v_lshlrev_b16 v5, 8, v11
	v_or_b32_e32 v11, v10, v17
	v_and_b32_e32 v2, 0xffff, v12
	v_or_b32_e32 v4, v4, v21
	v_lshlrev_b32_e32 v3, 16, v20
	s_cmp_eq_u32 s0, 5
	v_or_b32_e32 v1, v1, v5
	v_or_b32_e32 v7, v2, v13
	v_and_b32_e32 v2, 0xffff, v5
	v_lshrrev_b32_e32 v17, 8, v4
	v_lshlrev_b32_e32 v6, 16, v15
	v_add_nc_u32_e32 v8, 64, v8
	v_lshrrev_b32_e32 v10, 8, v7
	v_or_b32_e32 v22, v2, v3
	v_lshrrev_b64 v[3:4], 24, v[3:4]
	v_cndmask_b32_e32 v2, v17, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 11
	v_cndmask_b32_e32 v5, v10, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 3
	v_cndmask_b32_e32 v4, v3, v18, vcc_lo
	v_or_b32_e32 v19, v19, v6
	v_lshrrev_b64 v[6:7], 24, v[6:7]
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 12
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshrrev_b32_e32 v17, 8, v19
	v_cndmask_b32_e32 v10, v6, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 8
	v_cndmask_b32_e32 v6, v16, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 4
	v_cndmask_b32_e32 v1, v1, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 0
	v_cndmask_b32_e32 v12, v12, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 14
	v_cndmask_b32_e32 v3, v11, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 10
	v_cndmask_b32_e32 v9, v9, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 6
	v_cndmask_b32_e32 v7, v20, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 2
	v_lshrrev_b32_e32 v11, 24, v21
	v_cndmask_b32_e32 v14, v14, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 15
	v_cndmask_b32_e32 v15, v15, v18, vcc_lo
	v_lshrrev_b32_e32 v16, 24, v13
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 7
	v_cndmask_b32_e32 v13, v11, v18, vcc_lo
	v_lshrrev_b32_e32 v11, 8, v22
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 9
	v_cndmask_b32_e32 v16, v16, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 1
	v_cndmask_b32_e32 v11, v11, v18, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_add_i32 s0, s0, 1
	v_cndmask_b32_e32 v17, v17, v18, vcc_lo
	s_cmp_lg_u32 s0, 16
	s_cbranch_scc1 .LBB0_22
; %bb.25:                               ; %.preheader.preheader
	v_mov_b32_e32 v8, 0
	s_mov_b32 s0, 0
.LBB0_26:                               ; %.preheader
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s0, 1
	s_mov_b32 s1, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 2
	v_cndmask_b32_e32 v18, v3, v17, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v18, v18, v15, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 4
	v_cndmask_b32_e32 v18, v18, v10, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 5
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v18, v18, v12, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 6
	v_cndmask_b32_e32 v18, v18, v5, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 7
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v18, v18, v14, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 8
	v_cndmask_b32_e32 v18, v18, v16, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v18, v18, v1, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 10
	v_cndmask_b32_e32 v18, v18, v11, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 11
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v18, v18, v7, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 12
	v_cndmask_b32_e32 v18, v18, v4, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 13
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v18, v18, v6, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 14
	v_cndmask_b32_e32 v18, v18, v2, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v18, v18, v9, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	v_cndmask_b32_e32 v18, v18, v13, vcc_lo
	s_delay_alu instid0(VALU_DEP_1)
	v_and_b32_e32 v18, 0xff, v18
.LBB0_27:                               ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_and_b32_e32 v19, s1, v18
	s_lshl_b32 s1, s1, 1
	s_cmpk_gt_i32 s1, 0xff
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_ne_u32_e32 vcc_lo, 0, v19
	v_add_co_ci_u32_e32 v8, vcc_lo, 0, v8, vcc_lo
	s_cbranch_scc0 .LBB0_27
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	s_add_i32 s0, s0, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s0, 16
	s_cbranch_scc0 .LBB0_26
; %bb.29:
	s_load_b64 s[0:1], s[2:3], 0x10
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v0, vcc_lo, s0, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	global_store_b32 v[0:1], v8, off
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z8knotHashPKhiPi
		.amdhsa_group_segment_fixed_size 65536
		.amdhsa_private_segment_fixed_size 1040
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 1
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 1
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 23
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z8knotHashPKhiPi, .Lfunc_end0-_Z8knotHashPKhiPi
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1864
; NumSgprs: 18
; NumVgprs: 23
; ScratchSize: 1040
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 65536 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 23
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 1
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 65536
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z8knotHashPKhiPi
    .private_segment_fixed_size: 1040
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z8knotHashPKhiPi.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     23
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
