	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skl_check_ccs_aux_surface
_skl_check_ccs_aux_surface:             ## @skl_check_ccs_aux_surface
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdx
	movswl	10(%rdi), %eax
	movswl	14(%rdi), %ecx
	movq	(%rdx), %rdx
	movl	(%rdx), %r15d
	movl	4(%rdx), %r14d
	cltd
	idivl	%r15d
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%eax, -48(%rbp)
	movl	%ecx, %eax
	cltd
	idivl	%r14d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, -44(%rbp)
	leaq	-48(%rbp), %r12
	leaq	-44(%rbp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	_intel_add_fb_offsets
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	_intel_plane_compute_aligned_offset
	movq	(%rbx), %rcx
	movl	%eax, 20(%rcx)
	imull	-48(%rbp), %r15d
	addl	-56(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r15d, 12(%rcx)
	imull	-44(%rbp), %r14d
	addl	-52(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%r14d, 16(%rcx)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_skl_check_ccs_aux_surface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skl_check_ccs_aux_surface
_skl_check_ccs_aux_surface:             ; @skl_check_ccs_aux_surface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldrsh	w20, [x0, #10]
	ldrsh	w21, [x0, #14]
	ldr	x8, [x8]
	ldp	w22, w23, [x8]
	sdiv	w24, w20, w22
	sdiv	w25, w21, w23
	stp	w25, w24, [sp, #8]
	add	x0, sp, #12
	add	x1, sp, #8
	mov	x2, x19
	mov	w3, #1
	bl	_intel_add_fb_offsets
	add	x0, sp, #12
	add	x1, sp, #8
	mov	x2, x19
	mov	w3, #1
	bl	_intel_plane_compute_aligned_offset
	ldr	x8, [x19]
	ldr	w9, [sp, #12]
	msub	w10, w24, w22, w20
	madd	w9, w9, w22, w10
	ldr	w10, [sp, #8]
	msub	w11, w25, w23, w21
	madd	w10, w10, w23, w11
	str	w9, [x8, #12]
	stp	w10, w0, [x8, #16]
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_skl_check_ccs_aux_surface
.subsections_via_symbols
