	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function nvc0_vmmgr_ctor
LCPI0_0:
	.long	40                              ## 0x28
	.long	15                              ## 0xf
	.long	12                              ## 0xc
	.long	17                              ## 0x11
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_nvc0_vmmgr_ctor:                       ## @nvc0_vmmgr_ctor
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r9, %r14
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	leaq	-24(%rbp), %r9
	callq	_nouveau_vmmgr_create
	movl	%eax, %ebx
	movq	-24(%rbp), %rdi
	callq	_nv_object
	movq	%rax, (%r14)
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movq	-24(%rbp), %rdi
	movabsq	$1099511627776, %rax            ## imm = 0x10000000000
	movq	%rax, 8(%rdi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [40,15,12,17]
	movups	%xmm0, 16(%rdi)
	movq	_nvc0_vm_create@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rdi)
	movq	_nvc0_vm_map_pgt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rdi)
	movq	_nvc0_vm_map@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rdi)
	movq	_nvc0_vm_map_sg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rdi)
	movq	_nvc0_vm_unmap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rdi)
	movq	_nvc0_vm_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	callq	_spin_lock_init
LBB0_2:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VM"

L_.str.1:                               ## @.str.1
	.asciz	"vm"

	.comm	_nvc0_vm_create,4,2             ## @nvc0_vm_create
	.comm	_nvc0_vm_map_pgt,4,2            ## @nvc0_vm_map_pgt
	.comm	_nvc0_vm_map,4,2                ## @nvc0_vm_map
	.comm	_nvc0_vm_map_sg,4,2             ## @nvc0_vm_map_sg
	.comm	_nvc0_vm_unmap,4,2              ## @nvc0_vm_unmap
	.comm	_nvc0_vm_flush,4,2              ## @nvc0_vm_flush
	.no_dead_strip	_nvc0_vmmgr_ctor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function nvc0_vmmgr_ctor
lCPI0_0:
	.long	40                              ; 0x28
	.long	15                              ; 0xf
	.long	12                              ; 0xc
	.long	17                              ; 0x11
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nvc0_vmmgr_ctor:                       ; @nvc0_vmmgr_ctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x5
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
Lloh2:
	adrp	x4, l_.str.1@PAGE
Lloh3:
	add	x4, x4, l_.str.1@PAGEOFF
	add	x5, sp, #8
	bl	_nouveau_vmmgr_create
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_nv_object
	str	x0, [x20]
	cbnz	w19, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
	mov	x8, #1099511627776
	str	x8, [x0, #8]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x0, #16]
Lloh6:
	adrp	x8, _nvc0_vm_create@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nvc0_vm_create@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _nvc0_vm_map_pgt@GOTPAGE
Lloh10:
	ldr	x9, [x9, _nvc0_vm_map_pgt@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #48]
Lloh12:
	adrp	x8, _nvc0_vm_map@GOTPAGE
Lloh13:
	ldr	x8, [x8, _nvc0_vm_map@GOTPAGEOFF]
Lloh14:
	adrp	x9, _nvc0_vm_map_sg@GOTPAGE
Lloh15:
	ldr	x9, [x9, _nvc0_vm_map_sg@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
Lloh18:
	adrp	x8, _nvc0_vm_unmap@GOTPAGE
Lloh19:
	ldr	x8, [x8, _nvc0_vm_unmap@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _nvc0_vm_flush@GOTPAGE
Lloh22:
	ldr	x9, [x9, _nvc0_vm_flush@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #32]
	bl	_spin_lock_init
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VM"

l_.str.1:                               ; @.str.1
	.asciz	"vm"

	.comm	_nvc0_vm_create,4,2             ; @nvc0_vm_create
	.comm	_nvc0_vm_map_pgt,4,2            ; @nvc0_vm_map_pgt
	.comm	_nvc0_vm_map,4,2                ; @nvc0_vm_map
	.comm	_nvc0_vm_map_sg,4,2             ; @nvc0_vm_map_sg
	.comm	_nvc0_vm_unmap,4,2              ; @nvc0_vm_unmap
	.comm	_nvc0_vm_flush,4,2              ; @nvc0_vm_flush
	.no_dead_strip	_nvc0_vmmgr_ctor
.subsections_via_symbols
