	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv44_vmm_new                   ## -- Begin function nv44_vmm_new
	.p2align	4, 0x90
_nv44_vmm_new:                          ## @nv44_vmm_new
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %eax
	movl	%edx, %ebx
	movl	%esi, %ecx
	movq	%rdi, %r14
	movq	32(%rbp), %r15
	movaps	16(%rbp), %xmm0
	leaq	-32(%rbp), %rdx
	movq	%rdx, 32(%rsp)
	movups	%xmm0, 16(%rsp)
	movl	%r9d, 8(%rsp)
	movq	%r8, (%rsp)
	movq	_nv44_vmm@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_nv04_vmm_new_
	movl	%eax, %ebx
	movq	-32(%rbp), %rdx
	movq	%rdx, (%r15)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$16384, %esi                    ## imm = 0x4000
	callq	_dma_alloc_coherent
	movq	-32(%rbp), %rcx
	movl	%eax, 8(%rcx)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvkm_warn
	movq	-32(%rbp), %rax
	movq	$0, (%rax)
LBB0_3:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nv44_vmm,4,2                   ## @nv44_vmm
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to allocate dummy pages\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv44_vmm_new                   ; -- Begin function nv44_vmm_new
	.p2align	2
_nv44_vmm_new:                          ; @nv44_vmm_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x8, x5
	mov	x9, x4
	mov	x5, x3
	mov	x4, x2
	mov	x3, x1
	mov	x19, x0
	ldr	x21, [x29, #16]
	add	x10, sp, #24
	stp	x7, x10, [sp, #8]
	str	x6, [sp]
Lloh0:
	adrp	x0, _nv44_vmm@GOTPAGE
Lloh1:
	ldr	x0, [x0, _nv44_vmm@GOTPAGEOFF]
	mov	x1, x19
	mov	w2, #0
	mov	x6, x9
	mov	x7, x8
	bl	_nv04_vmm_new_
	mov	x20, x0
	ldr	x2, [sp, #24]
	str	x2, [x21]
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	w1, #16384
	bl	_dma_alloc_coherent
	ldr	x8, [sp, #24]
	str	w0, [x8, #8]
	cbnz	w0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nvkm_warn
	ldr	x8, [sp, #24]
	str	xzr, [x8]
LBB0_3:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_nv44_vmm,4,2                   ; @nv44_vmm
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to allocate dummy pages\n"

.subsections_via_symbols
