	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_ramht_hash
_nvkm_ramht_hash:                       ## @nvkm_ramht_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movl	(%rdi), %ecx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movl	$-1, %r8d
	shll	%cl, %r8d
	notl	%r8d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %edi
	andl	%r8d, %edi
	xorl	%edi, %esi
	sarl	%cl, %edx
	testl	%edx, %edx
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%esi, %esi
LBB0_4:
	addb	$-4, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	xorl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvkm_ramht_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_ramht_hash
_nvkm_ramht_hash:                       ; @nvkm_ramht_hash
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	mov	w9, #0
	cbz	w2, LBB0_3
; %bb.1:
	mov	w10, #-1
	lsl	w10, w10, w8
	mvn	w10, w10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	w11, w2, w10
	eor	w9, w11, w9
	asr	w2, w2, w8
	cbnz	w2, LBB0_2
LBB0_3:
	sub	w8, w8, #4
	lsl	w8, w1, w8
	eor	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvkm_ramht_hash
.subsections_via_symbols
