	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_display_flip_stop         ## -- Begin function nv50_display_flip_stop
	.p2align	4, 0x90
_nv50_display_flip_stop:                ## @nv50_display_flip_stop
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_nouveau_dev
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_nv50_sync
	movl	%eax, %r15d
	movl	%eax, -32(%rbp)
	movl	(%rbx), %edi
	callq	_nv50_disp
	movl	%eax, -28(%rbp)
	movl	%r15d, %edi
	movl	$8, %esi
	callq	_evo_wait
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$132, %esi
	movl	$1, %edx
	callq	_evo_mthd
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evo_data
	movq	%rbx, %rdi
	movl	$148, %esi
	movl	$1, %edx
	callq	_evo_mthd
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evo_data
	movq	%rbx, %rdi
	movl	$192, %esi
	movl	$1, %edx
	callq	_evo_mthd
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evo_data
	movq	%rbx, %rdi
	movl	$128, %esi
	movl	$1, %edx
	callq	_evo_mthd
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evo_data
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_evo_kick
LBB0_2:
	movq	_nv50_display_flip_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_nv_wait_cb
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nv50_display_flip_wait,4,2     ## @nv50_display_flip_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_display_flip_stop         ; -- Begin function nv50_display_flip_stop
	.p2align	2
_nv50_display_flip_stop:                ; @nv50_display_flip_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	ldr	w0, [x0]
	bl	_nouveau_dev
	mov	x19, x0
	mov	x0, x21
	bl	_nv50_sync
	mov	x20, x0
	str	w0, [sp, #8]
	ldr	w0, [x21]
	bl	_nv50_disp
	str	w0, [sp, #12]
	mov	x0, x20
	mov	w1, #8
	bl	_evo_wait
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	w1, #132
	mov	w2, #1
	bl	_evo_mthd
	mov	x0, x21
	mov	w1, #0
	bl	_evo_data
	mov	x0, x21
	mov	w1, #148
	mov	w2, #1
	bl	_evo_mthd
	mov	x0, x21
	mov	w1, #0
	bl	_evo_data
	mov	x0, x21
	mov	w1, #192
	mov	w2, #1
	bl	_evo_mthd
	mov	x0, x21
	mov	w1, #0
	bl	_evo_data
	mov	x0, x21
	mov	w1, #128
	mov	w2, #1
	bl	_evo_mthd
	mov	x0, x21
	mov	w1, #0
	bl	_evo_data
	mov	x0, x21
	mov	x1, x20
	bl	_evo_kick
LBB0_2:
Lloh0:
	adrp	x8, _nv50_display_flip_wait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nv50_display_flip_wait@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_nv_wait_cb
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nv50_display_flip_wait,4,2     ; @nv50_display_flip_wait
.subsections_via_symbols
