	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_uvmm_mthd_get
_nvkm_uvmm_mthd_get:                    ## @nvkm_uvmm_mthd_get
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rsi, -80(%rbp)
	movl	%edx, -56(%rbp)
	movq	(%rdi), %r14
	movq	8(%rdi), %r12
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	movups	(%rsi), %xmm0
	movups	16(%rsi), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	-80(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_nvif_unpack
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%r15), %rax
	movq	_NVIF_VMM_GET_V0_PTES@GOTPCREL(%rip), %rcx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	sete	%r12b
	movq	_NVIF_VMM_GET_V0_ADDR@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	sete	%bl
	movl	8(%r15), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	24(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	20(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r15), %r13d
	movq	%r14, %rdi
	callq	_mutex_lock
	leaq	-72(%rbp), %rax
	movq	%rax, 8(%rsp)
	movl	%r13d, (%rsp)
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_nvkm_vmm_get_locked
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.2:
	movq	-72(%rbp), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 12(%r15)
	xorl	%ecx, %ecx
	cmpl	$0, (%r12)
	sete	%cl
	movl	%ecx, (%rax)
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_NVIF_VMM_GET_V0_PTES,8,3       ## @NVIF_VMM_GET_V0_PTES
	.comm	_NVIF_VMM_GET_V0_ADDR,8,3       ## @NVIF_VMM_GET_V0_ADDR
	.no_dead_strip	_nvkm_uvmm_mthd_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_uvmm_mthd_get
_nvkm_uvmm_mthd_get:                    ; @nvkm_uvmm_mthd_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	str	x1, [sp, #40]
	str	w2, [sp, #36]
	ldp	x20, x27, [x0]
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	q0, q1, [x1]
	stp	q0, q1, [sp]
	add	x1, sp, #40
	add	x2, sp, #36
	mov	x3, sp
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_nvif_unpack
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _NVIF_VMM_GET_V0_PTES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVIF_VMM_GET_V0_PTES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w21, eq
Lloh6:
	adrp	x9, _NVIF_VMM_GET_V0_ADDR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NVIF_VMM_GET_V0_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w22, eq
	ldr	w23, [x19, #8]
	ldp	w25, w24, [x19, #20]
	ldr	w26, [x19, #16]
	mov	x0, x20
	bl	_mutex_lock
	mov	x7, sp
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	mov	x6, x26
	bl	_nvkm_vmm_get_locked
	mov	x21, x0
	mov	x0, x20
	bl	_mutex_unlock
	cbnz	w21, LBB0_3
; %bb.2:
	ldr	x8, [sp]
	ldr	w9, [x8, #4]
	str	w9, [x19, #12]
	ldr	w9, [x27]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x8]
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_NVIF_VMM_GET_V0_PTES,8,3       ; @NVIF_VMM_GET_V0_PTES
	.comm	_NVIF_VMM_GET_V0_ADDR,8,3       ; @NVIF_VMM_GET_V0_ADDR
	.no_dead_strip	_nvkm_uvmm_mthd_get
.subsections_via_symbols
