	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvif_mmu_init                  ## -- Begin function nvif_mmu_init
	.p2align	4, 0x90
_nvif_mmu_init:                         ## @nvif_mmu_init
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %edx
	movq	$0, -168(%rbp)
	movq	$0, 16(%r13)
	leaq	24(%r13), %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r13)
	leaq	-184(%rbp), %rcx
	xorl	%esi, %esi
	movl	$24, %r8d
	movq	%r14, %r9
	callq	_nvif_object_init
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_1:
	movq	%r13, %rdi
	callq	_nvif_mmu_fini
	movl	%ebx, %r15d
LBB0_2:
	movl	%r15d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-172(%rbp), %eax
	movl	%eax, 52(%r13)
	movl	-184(%rbp), %eax
	movl	%eax, (%r13)
	movl	-180(%rbp), %eax
	movl	%eax, 4(%r13)
	movl	-176(%rbp), %eax
	movl	%eax, 8(%r13)
	leaq	_nvif_mmu_init.mems(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nvif_mclass
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	movl	%ebx, %eax
	leaq	(%rax,%rax,2), %rax
	movl	4(%r15,%rax,4), %eax
	movl	%eax, 48(%r13)
	movl	(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	$4, %esi
	callq	_kmalloc_array
	movq	%rax, 40(%r13)
	movl	4(%r13), %edi
	movl	(%r12), %edx
	movl	$8, %esi
	callq	_kmalloc_array
	movq	%rax, 32(%r13)
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	cmpq	$0, 40(%r13)
	je	LBB0_42
## %bb.5:
	testq	%rax, %rax
	je	LBB0_42
## %bb.6:
	movl	8(%r13), %edi
	movl	(%r12), %edx
	movl	$4, %esi
	callq	_kmalloc_array
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_32
LBB0_7:
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.8:
	xorl	%r15d, %r15d
	leaq	-160(%rbp), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	$0, -64(%rbp)
	movl	%r15d, -160(%rbp)
	movq	_NVIF_MMU_V0_HEAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %ecx
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_nvif_object_mthd
	testl	%eax, %eax
	jne	LBB0_34
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	-64(%rbp), %eax
	movq	40(%r13), %rcx
	movl	%eax, (%rcx,%r15,4)
	incq	%r15
	movslq	(%r13), %rax
	cmpq	%rax, %r15
	jl	LBB0_9
## %bb.11:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
LBB0_12:
	cmpl	$0, 4(%r13)
	jle	LBB0_36
## %bb.13:
	leaq	32(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	-136(%rbp), %ecx
	movl	%ecx, (%rax,%r12,8)
	incq	%r12
	movslq	4(%r13), %rax
	cmpq	%rax, %r12
	jge	LBB0_35
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	$0, -64(%rbp)
	movl	%r12d, -160(%rbp)
	movq	_NVIF_MMU_V0_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %ecx
	movq	%r14, %rdi
	leaq	-160(%rbp), %rdx
	callq	_nvif_object_mthd
	testl	%eax, %eax
	jne	LBB0_34
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	leaq	(%r12,%r12), %rcx
	movl	$0, 4(%rax,%r12,8)
	cmpq	$0, -72(%rbp)
	je	LBB0_31
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_NVIF_MEM_VRAM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%rax,%rcx,4)
	cmpq	$0, -80(%rbp)
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_NVIF_MEM_HOST@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%rax,%rcx,4)
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, -88(%rbp)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_NVIF_MEM_COMP@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%rax,%rcx,4)
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, -96(%rbp)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_NVIF_MEM_DISP@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%rax,%rcx,4)
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, -104(%rbp)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_NVIF_MEM_KIND@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%rax,%rcx,4)
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, -112(%rbp)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_NVIF_MEM_MAPPABLE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%rax,%rcx,4)
LBB0_27:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, -120(%rbp)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_NVIF_MEM_COHERENT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%rax,%rcx,4)
LBB0_29:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, -128(%rbp)
	je	LBB0_14
## %bb.30:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_NVIF_MEM_UNCACHED@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%rax,%rcx,4)
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_15 Depth=1
	xorl	%edx, %edx
	cmpq	$0, -80(%rbp)
	jne	LBB0_18
	jmp	LBB0_19
LBB0_34:
	movl	%eax, %ebx
	jmp	LBB0_1
LBB0_32:
	cmpl	$0, 8(%r13)
	jne	LBB0_42
	jmp	LBB0_7
LBB0_35:
	xorl	%ebx, %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
LBB0_36:
	movl	8(%r13), %edx
	testl	%edx, %edx
	je	LBB0_42
## %bb.37:
	movq	_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_struct_size
	movq	%rax, %rdi
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %esi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_41
## %bb.38:
	movq	%rax, %r12
	movq	$0, 16(%rax)
	movl	8(%r13), %eax
	movl	%eax, 4(%r12)
	movq	_NVIF_MMU_V0_KIND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_nvif_object_mthd
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_40
## %bb.39:
	movq	16(%r13), %rdi
	movl	4(%r12), %edx
	movl	8(%r12), %esi
	callq	_memcpy
LBB0_40:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_42
LBB0_41:
	negl	%ebx
LBB0_42:
	testl	%ebx, %ebx
	jne	LBB0_1
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @nvif_mmu_init.mems
_nvif_mmu_init.mems:
	.long	130                             ## 0x82
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.space	12

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NVIF_MMU_V0_HEAP,4,2           ## @NVIF_MMU_V0_HEAP
	.comm	_NVIF_MMU_V0_TYPE,4,2           ## @NVIF_MMU_V0_TYPE
	.comm	_NVIF_MEM_VRAM,4,2              ## @NVIF_MEM_VRAM
	.comm	_NVIF_MEM_HOST,4,2              ## @NVIF_MEM_HOST
	.comm	_NVIF_MEM_COMP,4,2              ## @NVIF_MEM_COMP
	.comm	_NVIF_MEM_DISP,4,2              ## @NVIF_MEM_DISP
	.comm	_NVIF_MEM_KIND,4,2              ## @NVIF_MEM_KIND
	.comm	_NVIF_MEM_MAPPABLE,4,2          ## @NVIF_MEM_MAPPABLE
	.comm	_NVIF_MEM_COHERENT,4,2          ## @NVIF_MEM_COHERENT
	.comm	_NVIF_MEM_UNCACHED,4,2          ## @NVIF_MEM_UNCACHED
	.comm	_data,4,2                       ## @data
	.comm	_NVIF_MMU_V0_KIND,4,2           ## @NVIF_MMU_V0_KIND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvif_mmu_init                  ; -- Begin function nvif_mmu_init
	.p2align	2
_nvif_mmu_init:                         ; @nvif_mmu_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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, x2
	mov	x2, x1
	str	xzr, [sp, #120]
	mov	x23, x19
	str	xzr, [x23, #32]!
	stur	xzr, [x23, #-16]
	sub	x20, x23, #8
	str	xzr, [x23, #8]
	add	x3, sp, #104
	mov	w1, #0
	mov	w4, #24
	mov	x5, x20
	bl	_nvif_object_init
	mov	x21, x0
	cbz	w0, LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_nvif_mmu_fini
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_3:
	ldp	w9, w8, [sp, #112]
	str	w8, [x19, #52]
	ldr	d0, [sp, #104]
	str	d0, [x19]
	str	w9, [x19, #8]
Lloh0:
	adrp	x22, _nvif_mmu_init.mems@PAGE
Lloh1:
	add	x22, x22, _nvif_mmu_init.mems@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_nvif_mclass
	mov	x21, x0
	tbnz	w0, #31, LBB0_1
; %bb.4:
	mov	w8, #12
	umaddl	x8, w21, w8, x22
	ldr	w8, [x8, #4]
	str	w8, [x19, #48]
	ldr	w0, [x19]
Lloh2:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #4
	bl	_kmalloc_array
	str	x0, [x19, #40]
	ldr	w0, [x19, #4]
	ldr	w2, [x22]
	mov	w1, #8
	bl	_kmalloc_array
	str	x0, [x19, #32]
Lloh4:
	adrp	x26, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x26, [x26, _ENOMEM@GOTPAGEOFF]
	ldr	w8, [x26]
	neg	w21, w8
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_40
; %bb.5:
	cbz	x0, LBB0_40
; %bb.6:
	ldr	w0, [x19, #8]
	ldr	w2, [x22]
	mov	w1, #4
	bl	_kmalloc_array
	str	x0, [x19, #16]
	cbz	x0, LBB0_33
LBB0_7:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.8:
	mov	x24, #0
Lloh6:
	adrp	x25, _NVIF_MMU_V0_HEAP@GOTPAGE
Lloh7:
	ldr	x25, [x25, _NVIF_MMU_V0_HEAP@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #96]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #64]
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
	str	w24, [sp]
	ldr	w1, [x25]
	mov	x2, sp
	mov	x0, x20
	mov	w3, #104
	bl	_nvif_object_mthd
	cbnz	w0, LBB0_32
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #96]
	ldr	x9, [x19, #40]
	str	w8, [x9, x24, lsl #2]
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.lt	LBB0_9
; %bb.11:
	mov	w21, #0
LBB0_12:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_35
; %bb.13:
	mov	x25, #0
	mov	x26, #0
Lloh8:
	adrp	x27, _NVIF_MMU_V0_TYPE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _NVIF_MMU_V0_TYPE@GOTPAGEOFF]
Lloh10:
	adrp	x28, _NVIF_MEM_HOST@GOTPAGE
Lloh11:
	ldr	x28, [x28, _NVIF_MEM_HOST@GOTPAGEOFF]
Lloh12:
	adrp	x24, _NVIF_MEM_VRAM@GOTPAGE
Lloh13:
	ldr	x24, [x24, _NVIF_MEM_VRAM@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w9, [sp, #24]
	str	w9, [x8, x25]
	add	x26, x26, #1
	ldrsw	x8, [x19, #4]
	add	x25, x25, #8
	cmp	x26, x8
	b.ge	LBB0_34
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #96]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #64]
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
	str	w26, [sp]
	ldr	w1, [x27]
	mov	x2, sp
	mov	x0, x20
	mov	w3, #104
	bl	_nvif_object_mthd
	cbnz	w0, LBB0_32
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x23]
	add	x9, x8, x25
	str	wzr, [x9, #4]
	ldr	x10, [sp, #88]
	cbz	x10, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w10, [x24]
	str	w10, [x9, #4]
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [sp, #80]
	cbz	x11, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w11, [x28]
	orr	w10, w10, w11
	str	w10, [x9, #4]
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [sp, #72]
	cbz	x11, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh14:
	adrp	x11, _NVIF_MEM_COMP@GOTPAGE
Lloh15:
	ldr	x11, [x11, _NVIF_MEM_COMP@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x9, #4]
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [sp, #64]
	cbz	x11, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh17:
	adrp	x11, _NVIF_MEM_DISP@GOTPAGE
Lloh18:
	ldr	x11, [x11, _NVIF_MEM_DISP@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x9, #4]
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [sp, #56]
	cbz	x11, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh20:
	adrp	x11, _NVIF_MEM_KIND@GOTPAGE
Lloh21:
	ldr	x11, [x11, _NVIF_MEM_KIND@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x9, #4]
LBB0_26:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [sp, #48]
	cbz	x11, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh23:
	adrp	x11, _NVIF_MEM_MAPPABLE@GOTPAGE
Lloh24:
	ldr	x11, [x11, _NVIF_MEM_MAPPABLE@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x9, #4]
LBB0_28:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [sp, #40]
	cbz	x11, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh26:
	adrp	x11, _NVIF_MEM_COHERENT@GOTPAGE
Lloh27:
	ldr	x11, [x11, _NVIF_MEM_COHERENT@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x9, #4]
LBB0_30:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [sp, #32]
	cbz	x11, LBB0_14
; %bb.31:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh29:
	adrp	x11, _NVIF_MEM_UNCACHED@GOTPAGE
Lloh30:
	ldr	x11, [x11, _NVIF_MEM_UNCACHED@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x9, #4]
	b	LBB0_14
LBB0_32:
	mov	x21, x0
	b	LBB0_1
LBB0_33:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_40
	b	LBB0_7
LBB0_34:
	mov	w21, #0
Lloh32:
	adrp	x26, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x26, [x26, _ENOMEM@GOTPAGEOFF]
LBB0_35:
	ldr	w2, [x19, #8]
	cbz	w2, LBB0_40
; %bb.36:
Lloh34:
	adrp	x8, _data@GOTPAGE
Lloh35:
	ldr	x8, [x8, _data@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_struct_size
	mov	x21, x0
	ldr	w23, [x26]
	ldr	w1, [x22]
	bl	_kmalloc
	cbz	x0, LBB0_41
; %bb.37:
	mov	x22, x0
	str	xzr, [x0, #16]
	ldr	w8, [x19, #8]
	str	w8, [x0, #4]
Lloh37:
	adrp	x8, _NVIF_MMU_V0_KIND@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NVIF_MMU_V0_KIND@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_nvif_object_mthd
	mov	x21, x0
	cbnz	w0, LBB0_39
; %bb.38:
	ldr	x0, [x19, #16]
	ldp	w2, w1, [x22, #4]
	bl	_memcpy
LBB0_39:
	mov	x0, x22
	bl	_kfree
LBB0_40:
	cbnz	w21, LBB0_1
	b	LBB0_2
LBB0_41:
	neg	w21, w23
	cbnz	w21, LBB0_1
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @nvif_mmu_init.mems
_nvif_mmu_init.mems:
	.long	130                             ; 0x82
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.space	12

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NVIF_MMU_V0_HEAP,4,2           ; @NVIF_MMU_V0_HEAP
	.comm	_NVIF_MMU_V0_TYPE,4,2           ; @NVIF_MMU_V0_TYPE
	.comm	_NVIF_MEM_VRAM,4,2              ; @NVIF_MEM_VRAM
	.comm	_NVIF_MEM_HOST,4,2              ; @NVIF_MEM_HOST
	.comm	_NVIF_MEM_COMP,4,2              ; @NVIF_MEM_COMP
	.comm	_NVIF_MEM_DISP,4,2              ; @NVIF_MEM_DISP
	.comm	_NVIF_MEM_KIND,4,2              ; @NVIF_MEM_KIND
	.comm	_NVIF_MEM_MAPPABLE,4,2          ; @NVIF_MEM_MAPPABLE
	.comm	_NVIF_MEM_COHERENT,4,2          ; @NVIF_MEM_COHERENT
	.comm	_NVIF_MEM_UNCACHED,4,2          ; @NVIF_MEM_UNCACHED
	.comm	_data,4,2                       ; @data
	.comm	_NVIF_MMU_V0_KIND,4,2           ; @NVIF_MMU_V0_KIND
.subsections_via_symbols
