	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sandybridge_blit_fbc_update
_sandybridge_blit_fbc_update:           ## @sandybridge_blit_fbc_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	%r14, %rdi
	callq	_gen6_gt_force_wake_get
	movq	_GEN6_BLITTER_ECOSKPD@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_I915_READ
	movq	_GEN6_BLITTER_FBC_NOTIFY@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	_GEN6_BLITTER_LOCK_SHIFT@GOTPCREL(%rip), %r13
	movb	(%r13), %cl
	shll	%cl, %ebx
	orl	%eax, %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	orl	(%r12), %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	(%r12), %esi
	movb	(%r13), %cl
	shll	%cl, %esi
	notl	%esi
	andl	%ebx, %esi
	movl	(%r15), %edi
	callq	_I915_WRITE
	movl	(%r15), %edi
	callq	_POSTING_READ
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gen6_gt_force_wake_put         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN6_BLITTER_ECOSKPD,4,2       ## @GEN6_BLITTER_ECOSKPD
	.comm	_GEN6_BLITTER_FBC_NOTIFY,4,2    ## @GEN6_BLITTER_FBC_NOTIFY
	.comm	_GEN6_BLITTER_LOCK_SHIFT,4,2    ## @GEN6_BLITTER_LOCK_SHIFT
	.no_dead_strip	_sandybridge_blit_fbc_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sandybridge_blit_fbc_update
_sandybridge_blit_fbc_update:           ; @sandybridge_blit_fbc_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0]
	mov	x0, x19
	bl	_gen6_gt_force_wake_get
Lloh0:
	adrp	x21, _GEN6_BLITTER_ECOSKPD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GEN6_BLITTER_ECOSKPD@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_I915_READ
Lloh2:
	adrp	x22, _GEN6_BLITTER_FBC_NOTIFY@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GEN6_BLITTER_FBC_NOTIFY@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x23, _GEN6_BLITTER_LOCK_SHIFT@GOTPAGE
Lloh5:
	ldr	x23, [x23, _GEN6_BLITTER_LOCK_SHIFT@GOTPAGEOFF]
	ldr	w9, [x23]
	lsl	w8, w8, w9
	orr	w20, w8, w0
	ldr	w0, [x21]
	mov	x1, x20
	bl	_I915_WRITE
	ldr	w8, [x22]
	orr	w20, w8, w20
	ldr	w0, [x21]
	mov	x1, x20
	bl	_I915_WRITE
	ldr	w8, [x22]
	ldr	w9, [x23]
	lsl	w8, w8, w9
	bic	w1, w20, w8
	ldr	w0, [x21]
	bl	_I915_WRITE
	ldr	w0, [x21]
	bl	_POSTING_READ
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gen6_gt_force_wake_put
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN6_BLITTER_ECOSKPD,4,2       ; @GEN6_BLITTER_ECOSKPD
	.comm	_GEN6_BLITTER_FBC_NOTIFY,4,2    ; @GEN6_BLITTER_FBC_NOTIFY
	.comm	_GEN6_BLITTER_LOCK_SHIFT,4,2    ; @GEN6_BLITTER_LOCK_SHIFT
	.no_dead_strip	_sandybridge_blit_fbc_update
.subsections_via_symbols
