	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_find_mm_node
_amdgpu_find_mm_node:                   ## @amdgpu_find_mm_node
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rsi), %rdx
	movq	(%rax), %rdi
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r8), %ecx
	shlq	%cl, %rdi
	cmpq	%rdi, %rdx
	jb	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	subq	%rdi, %rdx
	movq	%rdx, (%rsi)
	movq	8(%rax), %rdi
	addq	$8, %rax
	jmp	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.no_dead_strip	_amdgpu_find_mm_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_find_mm_node
_amdgpu_find_mm_node:                   ; @amdgpu_find_mm_node
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
	ldr	x8, [x1]
	ldr	x10, [x0]
Lloh0:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	lsl	x10, x10, x11
	cmp	x8, x10
	b.lo	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x8, x8, x10
	str	x8, [x1]
	ldr	x10, [x0, #8]!
	b	LBB0_1
LBB0_3:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.no_dead_strip	_amdgpu_find_mm_node
.subsections_via_symbols
