	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm200_vmm_new_                 ## -- Begin function gm200_vmm_new_
	.p2align	4, 0x90
_gm200_vmm_new_:                        ## @gm200_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rbp), %r15
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	movl	(%r15), %ecx
	subq	$8, %rsp
	leaq	16(%rbp), %rsi
	leaq	24(%rbp), %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	callq	_nvif_unpack
	addq	$16, %rsp
	movl	(%r15), %ecx
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	leaq	16(%rbp), %rsi
	leaq	24(%rbp), %rdx
	movl	%eax, %edi
	callq	_nvif_unvers
	movq	%r14, %rbx
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_5
LBB0_1:
	cmpl	$16, %ecx
	je	LBB0_5
## %bb.2:
	movq	%r14, %rbx
	cmpl	$17, %ecx
	jne	LBB0_3
LBB0_5:
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	pushq	48(%rbp)
	pushq	40(%rbp)
	pushq	32(%rbp)
	callq	_nvkm_vmm_new_
	addq	$32, %rsp
	jmp	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm200_vmm_new_                 ; -- Begin function gm200_vmm_new_
	.p2align	2
_gm200_vmm_new_:                        ; @gm200_vmm_new_
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x6
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x23, x0
	str	x6, [sp, #24]
	str	w7, [sp, #20]
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldr	w3, [x6]
	add	x1, sp, #24
	add	x2, sp, #20
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_nvif_unpack
	ldr	w3, [x25]
	cbz	w0, LBB0_2
; %bb.1:
	add	x1, sp, #24
	add	x2, sp, #20
	bl	_nvif_unvers
	mov	x23, x24
	cbnz	w0, LBB0_6
	b	LBB0_4
LBB0_2:
	cmp	w3, #16
	b.eq	LBB0_4
; %bb.3:
	mov	x23, x24
	cmp	w3, #17
	b.ne	LBB0_5
LBB0_4:
	ldp	x7, x8, [x29, #24]
	ldr	x6, [x29, #16]
	str	x8, [sp]
	mov	x0, x23
	mov	x1, x22
	mov	w2, #0
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_nvkm_vmm_new_
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
