	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv25_fb_tile_comp
_nv25_fb_tile_comp:                     ## @nv25_fb_tile_comp
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %ebx
	movq	%rdi, %r15
	movl	%edx, %edi
	movl	$64, %esi
	callq	_DIV_ROUND_UP
	movq	8(%r15), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %edi
	movl	$64, %esi
	callq	_round_up
	leaq	8(%r14), %rcx
	movq	%rcx, (%rsp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	%eax, %ecx
	movl	%eax, %r8d
	movl	$1, %r9d
	callq	_nvkm_mm_head
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	andl	$2, %ebx
	shll	$19, %ebx
	addl	$1048576, %ebx                  ## imm = 0x100000
	movl	%ebx, (%r14)
	movq	8(%r14), %rax
	orl	(%rax), %ebx
	movl	%ebx, (%r14)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv25_fb_tile_comp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv25_fb_tile_comp
_nv25_fb_tile_comp:                     ; @nv25_fb_tile_comp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x0
	mov	x0, x2
	mov	w1, #64
	bl	_DIV_ROUND_UP
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	sdiv	w0, w0, w8
	mov	w1, #64
	bl	_round_up
	mov	x3, x0
	add	x6, x19, #8
	mov	x0, x21
	mov	w1, #0
	mov	w2, #1
	mov	x4, x3
	mov	w5, #1
	bl	_nvkm_mm_head
	cbnz	w0, LBB0_2
; %bb.1:
	tst	w20, #0x2
	mov	w8, #2097152
	mov	w9, #1048576
	csel	w8, w9, w8, eq
	str	w8, [x19]
	ldr	x9, [x19, #8]
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv25_fb_tile_comp
.subsections_via_symbols
