	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_ummu_new                  ## -- Begin function nvkm_ummu_new
	.p2align	4, 0x90
_nvkm_ummu_new:                         ## @nvkm_ummu_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdx, -56(%rbp)
	movl	%ecx, -48(%rbp)
	movq	(%rdi), %r12
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	$0, -44(%rbp)
	movq	16(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	*%rax
LBB0_2:
	movq	(%r13), %rcx
	movq	8(%r13), %r8
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_nvif_unpack
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	8(%r12), %eax
	movl	%eax, 12(%r13)
	movl	4(%r12), %eax
	movl	%eax, 8(%r13)
	movl	(%r12), %eax
	movl	%eax, 4(%r13)
	movl	-44(%rbp), %eax
	movl	%eax, (%r13)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	_nvkm_ummu@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_nvkm_object_ctor
	movq	%r12, 8(%rbx)
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nvkm_ummu,4,2                  ## @nvkm_ummu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_ummu_new                  ; -- Begin function nvkm_ummu_new
	.p2align	2
_nvkm_ummu_new:                         ; @nvkm_ummu_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x22, x2
	mov	x20, x1
	str	x2, [sp, #8]
	str	w3, [sp, #4]
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	ldr	x21, [x0]
Lloh2:
	ldr	w8, [x8]
	neg	w23, w8
	str	wzr, [sp]
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x1, sp
	mov	x0, x21
	blr	x8
LBB0_2:
	ldp	x3, x4, [x22]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x23
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_nvif_unpack
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	w8, [x21, #8]
	str	w8, [x22, #12]
	ldr	w8, [x21, #4]
	str	w8, [x22, #8]
	ldr	w8, [x21]
	ldr	w9, [sp]
	stp	w9, w8, [x22]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.4:
	mov	x22, x0
Lloh6:
	adrp	x0, _nvkm_ummu@GOTPAGE
Lloh7:
	ldr	x0, [x0, _nvkm_ummu@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, x22
	bl	_nvkm_object_ctor
	mov	w0, #0
	str	x21, [x22, #8]
	str	x22, [x19]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nvkm_ummu,4,2                  ; @nvkm_ummu
.subsections_via_symbols
