	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v11_0_page_flip
_dce_v11_0_page_flip:                   ## @dce_v11_0_page_flip
	.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
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %r15
	movq	(%r15), %rdi
	movq	8(%r15), %rax
	movq	(%rax), %rbx
	movq	_mmGRPH_FLIP_CONTROL@GOTPCREL(%rip), %r13
	addq	(%r13), %rdi
	callq	_RREG32
	movq	_GRPH_FLIP_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_GRPH_SURFACE_UPDATE_IMMEDIATE_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	setne	%cl
	movl	%eax, %edi
	callq	_REG_SET_FIELD
	movq	(%r15), %rdi
	addq	(%r13), %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmGRPH_PITCH@GOTPCREL(%rip), %rax
	movq	(%r15), %rdi
	addq	(%rax), %rdi
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movl	(%rax), %eax
	movq	(%rcx), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmGRPH_PRIMARY_SURFACE_ADDRESS_HIGH@GOTPCREL(%rip), %rax
	movq	(%r15), %rbx
	addq	(%rax), %rbx
	movl	%r14d, %edi
	callq	_upper_32_bits
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmGRPH_PRIMARY_SURFACE_ADDRESS@GOTPCREL(%rip), %r12
	movq	(%r15), %rbx
	addq	(%r12), %rbx
	movl	%r14d, %edi
	callq	_lower_32_bits
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	(%r15), %rdi
	addq	(%r12), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmGRPH_FLIP_CONTROL,8,3        ## @mmGRPH_FLIP_CONTROL
	.comm	_GRPH_FLIP_CONTROL,4,2          ## @GRPH_FLIP_CONTROL
	.comm	_GRPH_SURFACE_UPDATE_IMMEDIATE_EN,4,2 ## @GRPH_SURFACE_UPDATE_IMMEDIATE_EN
	.comm	_mmGRPH_PITCH,8,3               ## @mmGRPH_PITCH
	.comm	_mmGRPH_PRIMARY_SURFACE_ADDRESS_HIGH,8,3 ## @mmGRPH_PRIMARY_SURFACE_ADDRESS_HIGH
	.comm	_mmGRPH_PRIMARY_SURFACE_ADDRESS,8,3 ## @mmGRPH_PRIMARY_SURFACE_ADDRESS
	.no_dead_strip	_dce_v11_0_page_flip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v11_0_page_flip
_dce_v11_0_page_flip:                   ; @dce_v11_0_page_flip
	.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
	mov	x20, x3
	mov	x19, x2
	ldr	x8, [x0]
	ldr	x21, [x8, w1, sxtw #3]
	ldp	x9, x8, [x21]
	ldr	x22, [x8]
Lloh0:
	adrp	x23, _mmGRPH_FLIP_CONTROL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _mmGRPH_FLIP_CONTROL@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x0, x9, x8
	bl	_RREG32
Lloh2:
	adrp	x8, _GRPH_FLIP_CONTROL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GRPH_FLIP_CONTROL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _GRPH_SURFACE_UPDATE_IMMEDIATE_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GRPH_SURFACE_UPDATE_IMMEDIATE_EN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	cmp	w20, #0
	cset	w3, ne
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	x8, [x23]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_WREG32
Lloh8:
	adrp	x8, _mmGRPH_PITCH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mmGRPH_PITCH@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x21]
	add	x0, x9, x8
	ldp	x8, x9, [x22]
	ldr	w8, [x8]
	ldr	x9, [x9]
	ldr	w9, [x9]
	sdiv	w1, w8, w9
	bl	_WREG32
Lloh11:
	adrp	x8, _mmGRPH_PRIMARY_SURFACE_ADDRESS_HIGH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mmGRPH_PRIMARY_SURFACE_ADDRESS_HIGH@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x9, [x21]
	add	x20, x9, x8
	mov	x0, x19
	bl	_upper_32_bits
	mov	x1, x0
	mov	x0, x20
	bl	_WREG32
Lloh14:
	adrp	x22, _mmGRPH_PRIMARY_SURFACE_ADDRESS@GOTPAGE
Lloh15:
	ldr	x22, [x22, _mmGRPH_PRIMARY_SURFACE_ADDRESS@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x21]
	add	x20, x9, x8
	mov	x0, x19
	bl	_lower_32_bits
	mov	x1, x0
	mov	x0, x20
	bl	_WREG32
	ldr	x8, [x22]
	ldr	x9, [x21]
	add	x0, x9, x8
	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	_RREG32
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mmGRPH_FLIP_CONTROL,8,3        ; @mmGRPH_FLIP_CONTROL
	.comm	_GRPH_FLIP_CONTROL,4,2          ; @GRPH_FLIP_CONTROL
	.comm	_GRPH_SURFACE_UPDATE_IMMEDIATE_EN,4,2 ; @GRPH_SURFACE_UPDATE_IMMEDIATE_EN
	.comm	_mmGRPH_PITCH,8,3               ; @mmGRPH_PITCH
	.comm	_mmGRPH_PRIMARY_SURFACE_ADDRESS_HIGH,8,3 ; @mmGRPH_PRIMARY_SURFACE_ADDRESS_HIGH
	.comm	_mmGRPH_PRIMARY_SURFACE_ADDRESS,8,3 ; @mmGRPH_PRIMARY_SURFACE_ADDRESS
	.no_dead_strip	_dce_v11_0_page_flip
.subsections_via_symbols
