	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_wndw_flush_clr            ## -- Begin function nv50_wndw_flush_clr
	.p2align	4, 0x90
_nv50_wndw_flush_clr:                   ## @nv50_wndw_flush_clr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rcx), %eax
	movl	$-1, %esi
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	testl	%eax, %esi
	je	LBB0_4
LBB0_3:
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*32(%rax)
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*24(%rax)
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*16(%rax)
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_4:
	movl	8(%rbx), %eax
	movq	(%rbx), %rcx
	orl	%eax, (%r14,%rcx,4)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	(%rcx), %esi
	notl	%esi
	testl	%eax, %esi
	jne	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_wndw_flush_clr            ; -- Begin function nv50_wndw_flush_clr
	.p2align	2
_nv50_wndw_flush_clr:                   ; @nv50_wndw_flush_clr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x3, #4]
	cbz	w2, LBB0_4
; %bb.1:
	mov	w9, #-1
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #32]
	mov	x0, x20
	blr	x8
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #24]
	mov	x0, x20
	blr	x8
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #16]
	mov	x0, x20
	blr	x8
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	mov	x0, x20
	blr	x8
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_3:
	ldr	w8, [x20, #8]
	ldr	x9, [x20]
	lsl	x9, x9, #2
	ldr	w10, [x19, x9]
	orr	w8, w10, w8
	str	w8, [x19, x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w9, [x3]
	mvn	w9, w9
	tst	w9, w8
	b.ne	LBB0_2
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
