	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_vm_manager_init         ## -- Begin function amdgpu_vm_manager_init
	.p2align	4, 0x90
_amdgpu_vm_manager_init:                ## @amdgpu_vm_manager_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_amdgpu_vmid_mgr_init
	movq	_AMDGPU_MAX_RINGS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_dma_fence_context_alloc
	movl	%eax, 40(%rbx)
	movl	(%r14), %esi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	32(%rbx), %rdi
	shlq	$3, %rsi
	callq	___bzero
LBB0_2:
	leaq	28(%rbx), %rdi
	callq	_spin_lock_init
	leaq	24(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movl	$0, (%rbx)
	leaq	20(%rbx), %rdi
	callq	_idr_init
	leaq	16(%rbx), %rdi
	callq	_spin_lock_init
	movq	$0, 8(%rbx)
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_init                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_MAX_RINGS,4,2           ## @AMDGPU_MAX_RINGS
	.comm	_AMDGPU_VM_USE_CPU_FOR_COMPUTE,4,2 ## @AMDGPU_VM_USE_CPU_FOR_COMPUTE
	.comm	_amdgpu_vm_update_mode,4,2      ## @amdgpu_vm_update_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_vm_manager_init         ; -- Begin function amdgpu_vm_manager_init
	.p2align	2
_amdgpu_vm_manager_init:                ; @amdgpu_vm_manager_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_amdgpu_vmid_mgr_init
Lloh0:
	adrp	x20, _AMDGPU_MAX_RINGS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AMDGPU_MAX_RINGS@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_dma_fence_context_alloc
	str	w0, [x19, #40]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x0, [x19, #32]
	lsl	x1, x8, #3
	bl	_bzero
LBB0_2:
	add	x0, x19, #28
	bl	_spin_lock_init
	add	x0, x19, #24
	mov	w1, #0
	bl	_atomic_set
	str	wzr, [x19]
	add	x0, x19, #20
	bl	_idr_init
	add	x0, x19, #16
	bl	_spin_lock_init
	str	xzr, [x19, #8]
	add	x0, x19, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_init
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AMDGPU_MAX_RINGS,4,2           ; @AMDGPU_MAX_RINGS
	.comm	_AMDGPU_VM_USE_CPU_FOR_COMPUTE,4,2 ; @AMDGPU_VM_USE_CPU_FOR_COMPUTE
	.comm	_amdgpu_vm_update_mode,4,2      ; @amdgpu_vm_update_mode
.subsections_via_symbols
