	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_fill_fb_info
_intel_fill_fb_info:                    ## @intel_fill_fb_info
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_to_intel_framebuffer
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_intel_fb_obj
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	24(%r13), %rax
	movl	(%rax), %ebx
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_intel_tile_size
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$0, %eax
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_17
## %bb.1:
	shlq	$2, -136(%rbp)                  ## 8-byte Folded Spill
	leaq	-44(%rbp), %rbx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax
	addl	-60(%rbp), %eax                 ## 4-byte Folded Reload
	movq	8(%r13), %rcx
	imull	(%rcx,%r12), %eax
	imull	-44(%rbp), %r14d
	addl	%eax, %r14d
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_DIV_ROUND_UP
	movq	%rax, %rbx
	movq	-144(%rbp), %r14                ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	-88(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	-116(%rbp), %edi                ## 4-byte Reload
	movl	%ebx, %esi
	callq	_max
	addq	$4, %r12
	incl	%r15d
	addq	$12, %r14
	cmpq	%r12, -136(%rbp)                ## 8-byte Folded Reload
	leaq	-44(%rbp), %rbx
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	24(%r13), %rax
	movq	8(%rax), %rax
	movl	(%rax,%r12), %r14d
	movl	36(%r13), %edi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_drm_framebuffer_plane_width
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	32(%r13), %edi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_drm_framebuffer_plane_height
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdx
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movl	%r15d, %ecx
	callq	_intel_fb_offset_to_xy
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r13), %edi
	callq	_is_ccs_modifier
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$4, %r12
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r13), %rax
	movl	16(%rax), %ebx
	movl	20(%rax), %r15d
	movq	%r13, %rdi
	movl	$1, %esi
	leaq	-104(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	xorl	%eax, %eax
	callq	_intel_tile_dims
	movl	-104(%rbp), %esi
	imull	%ebx, %esi
	movl	%esi, -104(%rbp)
	movl	-52(%rbp), %edi
	imull	%r15d, %edi
	movl	%edi, -52(%rbp)
	movl	-44(%rbp), %r10d
	imull	%r10d, %ebx
	movl	%ebx, %eax
	cltd
	idivl	%esi
	movl	%edx, %ecx
	movl	-48(%rbp), %r11d
	imull	%r11d, %r15d
	movl	%r15d, %eax
	cltd
	idivl	%edi
	movl	%edx, %r8d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %r9d
	movl	4(%rax), %ebx
	movl	%r9d, %eax
	cltd
	idivl	%esi
	movl	%edx, %esi
	movl	%ebx, %eax
	cltd
	idivl	%edi
	cmpl	%ecx, %esi
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r8d, %edx
	je	LBB0_13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_i915_gem_object_is_tiled
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	addl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	imull	%r14d, %eax
	movq	8(%r13), %rcx
	cmpl	(%rcx), %eax
	ja	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%eax, (%rcx,%r12,2)
	movl	-48(%rbp), %eax
	movl	%eax, 4(%rcx,%r12,2)
	movq	8(%r13), %rax
	movl	(%rax,%r12), %r9d
	movq	_DRM_MODE_ROTATE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rcx
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r8d
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_intel_compute_aligned_offset
	addq	$16, %rsp
	xorl	%edx, %edx
	divl	%ebx
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %edi
	movl	%r15d, %esi
	callq	_is_surface_linear
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	leaq	-52(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	xorl	%eax, %eax
	callq	_intel_tile_dims
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %rax
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax,%r12,4)
	movq	8(%r13), %rax
	movl	(%rax,%r12), %edi
	imull	-52(%rbp), %r14d
	movl	%r14d, %esi
	callq	_DIV_ROUND_UP
	movq	16(%r15), %rcx
	movl	%eax, 4(%rcx,%r12,4)
	movl	-44(%rbp), %edi
	addl	-64(%rbp), %edi                 ## 4-byte Folded Reload
	movl	-52(%rbp), %esi
	callq	_DIV_ROUND_UP
	movq	16(%r15), %rcx
	movl	%eax, 8(%rcx,%r12,4)
	movl	-48(%rbp), %edi
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	addl	%r14d, %edi
	movl	-56(%rbp), %esi
	callq	_DIV_ROUND_UP
	movq	16(%r15), %rcx
	movl	%eax, 12(%rcx,%r12,4)
	movl	-56(%rbp), %edx
	imull	%eax, %edx
	movq	(%r15), %rsi
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movl	%edx, (%rsi,%rdi)
	movq	%rdi, %r15
	movl	4(%rcx,%r12,4), %ebx
	imull	%eax, %ebx
	movl	-44(%rbp), %edx
	cmpl	$1, %edx
	sbbl	$-1, %ebx
	movl	%edx, -104(%rbp)
	movl	-48(%rbp), %esi
	movl	%esi, -100(%rbp)
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	addl	%edx, %edi
	movl	%edi, -96(%rbp)
	addl	%esi, %r14d
	movl	%r14d, -92(%rbp)
	movl	-52(%rbp), %esi
	imull	8(%rcx,%r12,4), %esi
	imull	-56(%rbp), %eax
	movq	_DRM_MODE_ROTATE_270@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-104(%rbp), %rdi
	movl	%eax, %edx
	callq	_drm_rect_rotate
	movl	-104(%rbp), %eax
	movl	-100(%rbp), %ecx
	movl	%eax, -44(%rbp)
	movl	%ecx, -48(%rbp)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%r15, %r14
	movl	(%rax,%r15), %eax
	movl	-56(%rbp), %esi
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %edi
	callq	_swap
	movl	-52(%rbp), %edx
	movl	-56(%rbp), %ecx
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %eax
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	imull	%r8d, %eax
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	pushq	$0
	pushq	%rax
	callq	_intel_adjust_tile_offset
	addq	$16, %rsp
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	12(%rcx,%r12,4), %edx
	imull	8(%rcx,%r12,4), %edx
	addl	%edx, %r13d
	movl	%r13d, -84(%rbp)                ## 4-byte Spill
	movq	-152(%rbp), %r13                ## 8-byte Reload
	movl	-44(%rbp), %ecx
	movl	%ecx, 4(%rax,%r14)
	movl	-48(%rbp), %ecx
	movl	%ecx, 8(%rax,%r14)
	jmp	LBB0_16
LBB0_17:
	movl	%eax, %edi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %esi
	movl	%eax, %r12d
	callq	_mul_u32_u32
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	cmpl	(%rbx), %eax
	movl	$0, %r14d
	jle	LBB0_21
## %bb.18:
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_mul_u32_u32
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%eax, %esi
LBB0_19:
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	jmp	LBB0_20
LBB0_3:
	movl	%eax, %ebx
	movq	(%r13), %rax
	movl	(%rax,%r12), %edx
	leaq	L_.str(%rip), %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movl	%ebx, %r14d
	jmp	LBB0_21
LBB0_8:
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r10
	pushq	%rbx
	callq	_DRM_DEBUG_KMS
	addq	$32, %rsp
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	(%r13), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad fb plane %d offset: 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Bad CCS x/y (main %d,%d ccs %d,%d) full (main %d,%d ccs %d,%d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DRM_MODE_ROTATE_0,4,2          ## @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_ROTATE_270,4,2        ## @DRM_MODE_ROTATE_270
L_.str.2:                               ## @.str.2
	.asciz	"fb too big for bo (need %llu bytes, have %zu bytes)\n"

	.no_dead_strip	_intel_fill_fb_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_fill_fb_info
_intel_fill_fb_info:                    ; @intel_fill_fb_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_to_intel_framebuffer
	mov	x23, x0
	mov	x0, x20
	bl	_intel_fb_obj
	mov	x19, x0
	ldr	x8, [x20, #24]
	ldr	w22, [x8]
	str	x21, [sp, #88]                  ; 8-byte Folded Spill
	mov	x0, x21
	bl	_intel_tile_size
	mov	x24, x0
	cmp	w22, #1
	str	x19, [sp, #56]                  ; 8-byte Folded Spill
	b.lt	LBB0_14
; %bb.1:
	str	x23, [sp, #80]                  ; 8-byte Folded Spill
	mov	x21, #0
	mov	w25, #0
	mov	x19, #0
	str	wzr, [sp, #68]                  ; 4-byte Folded Spill
	mov	w23, #0
	lsl	x8, x22, #2
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	mov	w22, #4
	str	w24, [sp, #100]                 ; 4-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-88]
	add	w8, w8, w27
	ldr	x9, [x20, #8]
	ldr	w9, [x9, x19]
	mul	w8, w9, w8
	ldur	w9, [x29, #-84]
	madd	w0, w9, w23, w8
	mov	x1, x24
	bl	_DIV_ROUND_UP
	mov	x28, x0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w0, w8, [sp, #104]              ; 8-byte Folded Reload
	add	w1, w28, w8
	bl	_max
	mov	x23, x0
	add	x19, x19, #4
	add	w25, w25, #1
	add	x22, x22, #8
	add	x21, x21, #12
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	cmp	x8, x19
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	w23, [sp, #104]                 ; 4-byte Folded Spill
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	w23, [x8, x19]
	ldr	w0, [x20, #36]
	mov	x1, x20
	mov	x2, x25
	bl	_drm_framebuffer_plane_width
	mov	x26, x0
	ldr	w0, [x20, #32]
	mov	x1, x20
	mov	x2, x25
	bl	_drm_framebuffer_plane_height
	mov	x27, x0
	sub	x0, x29, #84
	sub	x1, x29, #88
	mov	x2, x20
	mov	x3, x25
	bl	_intel_fb_offset_to_xy
	cbnz	w0, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #16]
	bl	_is_ccs_modifier
	cmp	x0, #0
	ccmp	x19, #4, #0, ne
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x28, [sp, #80]                  ; 8-byte Folded Reload
	cbnz	x19, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_i915_gem_object_is_tiled
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-84]
	add	w8, w8, w26
	mul	w8, w8, w23
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_12
	b	LBB0_20
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #24]
	ldp	w24, w28, [x8, #16]
	sub	x8, x29, #92
	str	x8, [sp, #8]
	add	x8, sp, #112
	str	x8, [sp]
	mov	x0, x20
	mov	w1, #1
	bl	_intel_tile_dims
	ldr	w8, [sp, #112]
	mul	w14, w8, w24
	str	w14, [sp, #112]
	ldp	w8, w12, [x29, #-92]
	mul	w15, w8, w28
	stur	w15, [x29, #-92]
	ldur	w9, [x29, #-84]
	mul	w8, w9, w24
	sdiv	w10, w8, w14
	msub	w8, w10, w14, w8
	mul	w10, w12, w28
	sdiv	w11, w10, w15
	msub	w10, w11, w15, w10
	ldr	x28, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x13, [x28, #8]
	ldp	w11, w13, [x13]
	sdiv	w16, w11, w14
	msub	w1, w16, w14, w11
	sdiv	w14, w13, w15
	msub	w2, w14, w15, w13
	cmp	w1, w8
	b.ne	LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w2, w10
	b.ne	LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w24, [sp, #100]                 ; 4-byte Folded Reload
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-84]
	ldr	x9, [x28, #8]
	add	x9, x9, x22
	stur	w8, [x9, #-4]
	ldur	w8, [x29, #-88]
	str	w8, [x9]
	ldr	x8, [x20, #8]
	ldr	w5, [x8, x19]
Lloh0:
	adrp	x8, _DRM_MODE_ROTATE_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_ROTATE_0@GOTPAGEOFF]
Lloh2:
	ldr	w6, [x8]
	sub	x1, x29, #84
	sub	x2, x29, #88
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	mov	x3, x20
	mov	x4, x25
	mov	x7, x24
	bl	_intel_compute_aligned_offset
	ldr	w8, [x20, #16]
	udiv	w9, w0, w24
	str	w9, [sp, #108]                  ; 4-byte Folded Spill
	mov	x0, x8
	mov	x1, x25
	bl	_is_surface_linear
	cbnz	w0, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x29, #96
	str	x8, [sp, #8]
	sub	x8, x29, #92
	str	x8, [sp]
	mov	x0, x20
	mov	x1, x25
	bl	_intel_tile_dims
	ldr	x8, [x28, #16]
	lsl	x24, x19, #2
	ldr	w9, [sp, #108]                  ; 4-byte Folded Reload
	str	w9, [x8, x24]
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x19]
	ldur	w8, [x29, #-92]
	mul	w1, w8, w23
	bl	_DIV_ROUND_UP
	ldr	x8, [x28, #16]
	add	x8, x8, x24
	str	w0, [x8, #4]
	ldur	w8, [x29, #-84]
	add	w0, w8, w26
	ldur	w1, [x29, #-92]
	bl	_DIV_ROUND_UP
	ldr	x8, [x28, #16]
	add	x8, x8, x24
	str	w0, [x8, #8]
	ldur	w8, [x29, #-88]
	add	w0, w8, w27
	ldur	w1, [x29, #-96]
	bl	_DIV_ROUND_UP
	ldr	x8, [x28, #16]
	add	x8, x8, x24
	str	w0, [x8, #12]
	ldur	w9, [x29, #-96]
	mul	w9, w9, w0
	ldr	x10, [x28]
	str	w9, [x10, x21]
	ldr	w9, [x8, #4]
	mul	w9, w9, w0
	ldur	w10, [x29, #-84]
	cmp	w10, #0
	mov	x23, x28
	cinc	w28, w9, ne
	ldur	w9, [x29, #-88]
	stp	w10, w9, [sp, #112]
	add	w10, w10, w26
	add	w9, w9, w27
	stp	w10, w9, [sp, #120]
	ldr	w8, [x8, #8]
	ldur	w9, [x29, #-92]
	mul	w1, w9, w8
	ldur	w8, [x29, #-96]
	mul	w2, w8, w0
Lloh3:
	adrp	x8, _DRM_MODE_ROTATE_270@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_MODE_ROTATE_270@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x0, sp, #112
	bl	_drm_rect_rotate
	ldp	w8, w9, [sp, #112]
	stp	w9, w8, [x29, #-88]
	ldr	x8, [x23]
	ldr	w8, [x8, x21]
	ldp	w1, w0, [x29, #-96]
	udiv	w26, w8, w1
	bl	_swap
	ldp	w3, w2, [x29, #-96]
	ldr	w8, [sp, #100]                  ; 4-byte Folded Reload
	ldr	w27, [sp, #68]                  ; 4-byte Folded Reload
	mul	w6, w27, w8
	sub	x0, x29, #84
	sub	x1, x29, #88
	ldr	w4, [sp, #100]                  ; 4-byte Folded Reload
	mov	x5, x26
	mov	w7, #0
	bl	_intel_adjust_tile_offset
	ldr	x8, [x23, #16]
	add	x8, x8, x24
	ldr	w24, [sp, #100]                 ; 4-byte Folded Reload
	ldp	w9, w8, [x8, #8]
	madd	w27, w8, w9, w27
	str	w27, [sp, #68]                  ; 4-byte Folded Spill
	ldur	w8, [x29, #-84]
	ldr	x9, [x23]
	add	x9, x9, x21
	str	w8, [x9, #4]
	ldur	w8, [x29, #-88]
	str	w8, [x9, #8]
	b	LBB0_3
LBB0_14:
	mov	w23, #0
LBB0_15:
	mov	x0, x23
	mov	x1, x24
	bl	_mul_u32_u32
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	ldr	w8, [x19]
	cmp	w0, w8
	b.le	LBB0_17
; %bb.16:
	mov	x0, x23
	mov	x1, x24
	bl	_mul_u32_u32
	mov	x1, x0
	ldr	w2, [x19]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_17:
	mov	w28, #0
	b	LBB0_22
LBB0_18:
	mov	x28, x0
	ldr	x8, [x20]
	ldr	w2, [x8, x19]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	bl	_DRM_DEBUG_KMS
	b	LBB0_22
LBB0_19:
	stp	x9, x12, [sp, #32]
	stp	x11, x13, [sp, #16]
	stp	x8, x10, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_21
LBB0_20:
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
LBB0_21:
	bl	_DRM_DEBUG_KMS
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w28, w8
LBB0_22:
	mov	x0, x28
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad fb plane %d offset: 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Bad CCS x/y (main %d,%d ccs %d,%d) full (main %d,%d ccs %d,%d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DRM_MODE_ROTATE_0,4,2          ; @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_ROTATE_270,4,2        ; @DRM_MODE_ROTATE_270
l_.str.2:                               ; @.str.2
	.asciz	"fb too big for bo (need %llu bytes, have %zu bytes)\n"

	.no_dead_strip	_intel_fill_fb_info
.subsections_via_symbols
