	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_ramht_search              ## -- Begin function nvkm_ramht_search
	.p2align	4, 0x90
_nvkm_ramht_search:                     ## @nvkm_ramht_search
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_nvkm_ramht_hash
	movq	%rax, %rcx
	movq	8(%rbx), %rdx
	xorl	%eax, %eax
	movq	%rcx, %rsi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rcx, %rsi
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rsi,%rsi,2), %rdi
	cmpl	%r15d, (%rdx,%rdi,8)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, 8(%rdx,%rdi,8)
	je	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rsi
	cmpq	(%rbx), %rsi
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_6
LBB0_3:
	movq	16(%rdx,%rdi,8), %rax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_ramht_search              ; -- Begin function nvkm_ramht_search
	.p2align	2
_nvkm_ramht_search:                     ; @nvkm_ramht_search
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_nvkm_ramht_hash
	ldr	x8, [x21, #8]
	mov	w10, #24
	mov	x9, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x9, #1
	ldr	x12, [x21]
	cmp	x11, x12
	csinc	x9, xzr, x9, hs
	cmp	x9, x0
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mul	x11, x9, x10
	ldr	w11, [x8, x11]
	cmp	w11, w20
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	x11, x9, x10, x8
	ldr	x11, [x11, #8]
	cmp	x11, x19
	b.ne	LBB0_1
; %bb.4:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	x0, [x8, #16]
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
