	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_vmm_pgt_pte
_nv50_vmm_pgt_pte:                      ## @nv50_vmm_pgt_pte
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%r8), %ebx
	movl	4(%r8), %eax
	imull	%ecx, %eax
	addl	%ebx, %eax
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%eax, (%r8)
	testl	%ecx, %ecx
	je	LBB0_29
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	addl	%r9d, %ebx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
	cmpl	$128, %r14d
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	jge	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$64, %r14d
	jge	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$32, %r14d
	jge	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$16, %r14d
	jge	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$8, %r14d
	jge	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$4, %r14d
	jge	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$2, %r14d
	jge	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %r14d
	je	LBB0_25
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$128, %r12d
	movl	%r15d, %edi
	movl	$128, %esi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$896, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x380
	movl	$7, %ecx
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$64, %r12d
	movl	%r15d, %edi
	movl	$64, %esi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$768, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x300
	movl	$6, %ecx
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$32, %r12d
	movl	%r15d, %edi
	movl	$32, %esi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$640, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x280
	movl	$5, %ecx
	jmp	LBB0_27
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$16, %r12d
	movl	%r15d, %edi
	movl	$16, %esi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$512, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x200
	movl	$4, %ecx
	jmp	LBB0_27
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$8, %r12d
	movl	%r15d, %edi
	movl	$8, %esi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$384, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x180
	movl	$3, %ecx
	jmp	LBB0_27
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$4, %r12d
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$256, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x100
	movl	$2, %ecx
	jmp	LBB0_27
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, %r12d
	movl	%r15d, %edi
	movl	$2, %esi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$128, -44(%rbp)                 ## 4-byte Folded Spill
	movl	$1, %ecx
	jmp	LBB0_27
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r12d
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_IS_ALIGNED
	xorl	%ecx, %ecx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	jne	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$-128, -44(%rbp)                ## 4-byte Folded Spill
	movl	$1, %r12d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	%ebx, -44(%rbp)                 ## 4-byte Folded Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	addl	%eax, %ebx
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	negl	%r12d
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	leal	(,%r15,8), %r15d
	xorl	%r13d, %r13d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_VMM_WO064
	decl	%r13d
	addl	$8, %r15d
	cmpl	%r13d, %r12d
	jne	LBB0_28
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	subl	%r13d, %r15d
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	subl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_3
LBB0_29:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv50_vmm_pgt_pte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_vmm_pgt_pte
_nv50_vmm_pgt_pte:                      ; @nv50_vmm_pgt_pte
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldp	w8, w9, [x4]
	madd	w9, w9, w3, w8
	str	w9, [x4]
	cbz	w3, LBB0_30
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	add	w26, w8, w5
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	cmp	w20, #128
	b.ge	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #64
	b.ge	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #32
	b.ge	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #16
	b.ge	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #8
	b.ge	LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #4
	b.ge	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #2
	b.ge	LBB0_22
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #1
	b.eq	LBB0_24
	b	LBB0_26
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #128
	mov	x0, x21
	mov	w1, #128
	bl	_IS_ALIGNED
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #896
	mov	w9, #7
	b	LBB0_27
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #64
	mov	x0, x21
	mov	w1, #64
	bl	_IS_ALIGNED
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #768
	mov	w9, #6
	b	LBB0_27
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #32
	mov	x0, x21
	mov	w1, #32
	bl	_IS_ALIGNED
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #640
	mov	w9, #5
	b	LBB0_27
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #16
	mov	x0, x21
	mov	w1, #16
	bl	_IS_ALIGNED
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #512
	mov	w9, #4
	b	LBB0_27
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #8
	mov	x0, x21
	mov	w1, #8
	bl	_IS_ALIGNED
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #384
	mov	w9, #3
	b	LBB0_27
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #4
	mov	x0, x21
	mov	w1, #4
	bl	_IS_ALIGNED
	cbz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #256
	mov	w9, #2
	b	LBB0_27
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #2
	mov	x0, x21
	mov	w1, #2
	bl	_IS_ALIGNED
	cbz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #128
	mov	w9, #1
	b	LBB0_27
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #1
	mov	x0, x21
	mov	w1, #1
	bl	_IS_ALIGNED
	cbz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #0
	mov	w8, #0
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #0
	mov	w8, #-128
	mov	w27, #1
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	orr	w24, w8, w26
	ldr	w8, [x19, #8]
	lsl	w8, w8, w9
	add	w26, w8, w26
	lsl	w25, w21, #3
	mov	x28, x27
LBB0_28:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w28, w28, #1
	add	w21, w21, #1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	mov	x3, x24
	bl	_VMM_WO064
	add	w25, w25, #8
	cbnz	w28, LBB0_28
; %bb.29:                               ;   in Loop: Header=BB0_2 Depth=1
	subs	w20, w20, w27
	b.ne	LBB0_2
LBB0_30:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv50_vmm_pgt_pte
.subsections_via_symbols
