	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_vm_update_pde
_amdgpu_vm_update_pde:                  ## @amdgpu_vm_update_pde
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_amdgpu_vm_pt_parent
	movq	%rax, %r13
	movq	8(%rax), %r15
	movl	$-1, %esi
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rax
	incl	%esi
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	(%r14), %rax
	addl	(%rax), %esi
	movq	8(%rbx), %rdi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_amdgpu_gmc_get_pde_for_bo
	subq	(%r13), %rbx
	shrq	%rbx
	movq	(%r12), %rax
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %edx
	movl	%edx, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	*(%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_amdgpu_vm_update_pde
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_vm_update_pde
_amdgpu_vm_update_pde:                  ; @amdgpu_vm_update_pde
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x2
	bl	_amdgpu_vm_pt_parent
	mov	x23, x0
	ldr	x20, [x0, #8]
	mov	w8, #-1
	mov	x9, x20
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x9]
	add	w8, w8, #1
	cbnz	x9, LBB0_1
; %bb.2:
	ldr	x9, [x19]
	ldr	w9, [x9]
	add	w1, w9, w8
	ldr	x0, [x22, #8]
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_amdgpu_gmc_get_pde_for_bo
	ldr	x8, [x23]
	sub	x8, x22, x8
	lsr	x2, x8, #1
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldp	w6, w3, [sp, #8]
	mov	x0, x19
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w4, #1
	mov	w5, #0
	blr	x8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_amdgpu_vm_update_pde
.subsections_via_symbols
