	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mdp5_plane_mode_set
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mdp5_plane_mode_set:                   ## @mdp5_plane_mode_set
	.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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	callq	_to_mdp5_plane_state
	movq	8(%rax), %r13
	movq	%r15, %rdi
	callq	_get_kms
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	(%r13), %edi
	movl	$0, -176(%rbp)
	movq	$0, -184(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -224(%rbp)
	movl	$0, -208(%rbp)
	movq	16(%r12), %rax
	movq	(%rax), %rbx
	callq	_pipe2nclients
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setg	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_11
LBB0_2:
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_msm_framebuffer_format
	movl	%eax, %edi
	callq	_to_mdp_format
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	(%r14), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_drm_rect_width
	movq	%r12, %r13
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_drm_rect_height
	movq	%rax, %r12
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_drm_rect_width
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_drm_rect_height
	movq	%rax, %r14
	sarq	$16, -136(%rbp)                 ## 8-byte Folded Spill
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	sarq	$16, %rbx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	sarq	$16, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	sarq	$16, %r12
	movl	8(%r13), %edi
	callq	_min
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	movq	%r12, %rsi
	callq	_min
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movslq	(%r15), %rsi
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	movl	(%r13), %edx
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, 40(%rsp)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%rdi, %r14
	movl	%edi, 32(%rsp)
	movl	%ecx, 24(%rsp)
	movl	%r8d, 16(%rsp)
	movl	%eax, 8(%rsp)
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r12, (%rsp)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdi
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r12, %r9
	xorl	%eax, %eax
	callq	_DBG
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_to_mdp5_plane_state
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdx
	shrl	%edx
	movq	%r12, %rax
	shrq	$63, %rax
	addq	%r12, %rax
	sarq	%rax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rcx
	shrq	$63, %rcx
	addq	%rsi, %rcx
	sarq	%rcx
	movq	%rax, %r12
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	%rdx, %rcx
	jmp	LBB0_5
LBB0_3:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%r14, %rcx
	movq	%rax, %r14
LBB0_5:
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%r8d, %r8d
	callq	_calc_scalex_steps
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%r8d, %r8d
	callq	_calc_scaley_steps
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	_MDP_PIPE_CAP_SW_PIX_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	movq	-192(%rbp), %r13                ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	je	LBB0_9
## %bb.8:
	movl	$1, (%rsp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_calc_pixel_ext
	movl	$0, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_calc_pixel_ext
LBB0_9:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	movl	$1, %ecx
	callq	_get_scale_config
	movq	%r13, %rdi
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_get_scale_config
	movq	%r15, %r14
	movq	%rax, %r15
	orq	%rbx, %r15
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_DBG
	movq	_DRM_MODE_ROTATE_0@GOTPCREL(%rip), %rax
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	orl	(%rax), %esi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_drm_rotation_simplify
	xorl	%edx, %edx
	movl	(%rbx), %ecx
	andl	%eax, %ecx
	setne	%dl
	xorl	%ecx, %ecx
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	setne	%cl
	movq	%r14, 104(%rsp)
	movq	%r12, 96(%rsp)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 88(%rsp)
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	-136(%rbp), %r12                ## 8-byte Reload
	movq	%r12, 80(%rsp)
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 72(%rsp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 64(%rsp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 56(%rsp)
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, 48(%rsp)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 40(%rsp)
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, 32(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movl	%ecx, 24(%rsp)
	movl	%edx, -112(%rbp)                ## 4-byte Spill
	movl	%edx, 16(%rsp)
	leaq	-184(%rbp), %rcx
	leaq	-224(%rbp), %r8
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, %r9
	callq	_mdp5_hwpipe_mode_set
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	addl	%ebx, %r14d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r12
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, 104(%rsp)
	movq	%rax, 96(%rsp)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 88(%rsp)
	movq	%r12, 80(%rsp)
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 72(%rsp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 64(%rsp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 56(%rsp)
	movl	%ebx, 48(%rsp)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%rsp)
	movl	-112(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 16(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-184(%rbp), %rcx
	leaq	-224(%rbp), %r8
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %r9
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	callq	_mdp5_hwpipe_mode_set
LBB0_11:
	movl	%r13d, %eax
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: FB[%u] %u,%u,%u,%u -> CRTC[%u] %d,%d,%u,%u"

	.comm	_MDP_PIPE_CAP_SW_PIX_EXT,4,2    ## @MDP_PIPE_CAP_SW_PIX_EXT
L_.str.1:                               ## @.str.1
	.asciz	"scale config = %x"

	.comm	_DRM_MODE_ROTATE_0,4,2          ## @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_REFLECT_X,4,2         ## @DRM_MODE_REFLECT_X
	.comm	_DRM_MODE_REFLECT_Y,4,2         ## @DRM_MODE_REFLECT_Y
	.no_dead_strip	_mdp5_plane_mode_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdp5_plane_mode_set
_mdp5_plane_mode_set:                   ; @mdp5_plane_mode_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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	x23, x4
	mov	x24, x3
	mov	x19, x2
	mov	x25, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
	mov	x0, x22
	bl	_to_mdp5_plane_state
	ldr	x27, [x0, #8]
	mov	x0, x20
	bl	_get_kms
	mov	x21, x0
	ldr	w0, [x27]
	stur	wzr, [x29, #-96]
	stur	xzr, [x29, #-104]
	stp	xzr, xzr, [x29, #-128]
	stur	wzr, [x29, #-112]
	ldr	x8, [x19, #16]
	ldr	x26, [x8]
	bl	_pipe2nclients
	cmp	x26, x0
	cset	w0, gt
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_2:
	stp	x27, x21, [sp, #120]            ; 16-byte Folded Spill
	mov	x0, x19
	bl	_msm_framebuffer_format
	bl	_to_mdp_format
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	ldr	x8, [x0]
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	str	x25, [sp, #160]                 ; 8-byte Folded Spill
	ldp	x25, x28, [x24]
	stp	x22, x19, [x29, #-144]          ; 16-byte Folded Spill
	mov	x0, x24
	bl	_drm_rect_width
	mov	x27, x0
	mov	x0, x24
	bl	_drm_rect_height
	mov	x24, x0
	ldp	x26, x21, [x23]
	mov	x0, x23
	bl	_drm_rect_width
	str	x0, [sp, #152]                  ; 8-byte Folded Spill
	mov	x0, x23
	bl	_drm_rect_height
	mov	x22, x0
	asr	x19, x25, #16
	asr	x25, x28, #16
	ldur	x28, [x29, #-136]               ; 8-byte Folded Reload
	asr	x27, x27, #16
	ldr	w0, [x28, #8]
	asr	x24, x24, #16
	mov	x1, x27
	bl	_min
	mov	x23, x0
	ldr	w0, [x28, #4]
	mov	x1, x24
	bl	_min
	stp	x0, x22, [sp, #136]             ; 16-byte Folded Spill
	ldrsw	x1, [x20]
	ldr	w8, [x28]
	ldr	x9, [sp, #160]                  ; 8-byte Folded Reload
	ldr	w9, [x9]
	str	x22, [sp, #72]
	ldr	x22, [sp, #152]                 ; 8-byte Folded Reload
	stp	x21, x22, [sp, #56]
	stp	x9, x26, [sp, #40]
	stp	x27, x24, [sp, #24]
	str	x25, [sp, #160]                 ; 8-byte Folded Spill
	stp	x19, x25, [sp, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	str	x19, [sp, #112]                 ; 8-byte Folded Spill
	str	x8, [sp]
	bl	_DBG
	ldur	x0, [x29, #-144]                ; 8-byte Folded Reload
	bl	_to_mdp5_plane_state
	ldr	x19, [x0]
	mov	x11, x22
	lsr	w8, w11, #1
	cmp	x27, #0
	cinc	x9, x27, lt
	asr	x9, x9, #1
	cmp	x23, #0
	cinc	x10, x23, lt
	asr	x10, x10, #1
	cmp	x19, #0
	csel	x25, x27, x9, eq
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
	csel	w28, w11, w8, eq
	csel	x23, x23, x10, eq
	mov	x0, x20
	mov	x1, x27
	mov	x2, x25
	mov	x3, x28
	mov	w4, #0
	bl	_calc_scalex_steps
	cbnz	w0, LBB0_9
; %bb.3:
	mov	x0, x20
	mov	x1, x27
	mov	x2, x24
	ldr	x3, [sp, #144]                  ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #0
	bl	_calc_scaley_steps
	cbnz	w0, LBB0_9
; %bb.4:
	str	x19, [sp, #96]                  ; 8-byte Folded Spill
	str	x26, [sp, #152]                 ; 8-byte Folded Spill
	stur	x21, [x29, #-152]               ; 8-byte Folded Spill
	ldr	x22, [sp, #120]                 ; 8-byte Folded Reload
	ldr	w8, [x22, #4]
Lloh5:
	adrp	x9, _MDP_PIPE_CAP_SW_PIX_EXT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MDP_PIPE_CAP_SW_PIX_EXT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	ldr	x27, [sp, #144]                 ; 8-byte Folded Reload
	ldr	x19, [sp, #104]                 ; 8-byte Folded Reload
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x28
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #1
	bl	_calc_pixel_ext
	mov	x0, x19
	mov	x1, x24
	mov	x2, x27
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_calc_pixel_ext
LBB0_6:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x28
	mov	w3, #1
	bl	_get_scale_config
	mov	x20, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x27
	mov	w3, #0
	bl	_get_scale_config
	orr	x20, x0, x20
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_DBG
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _DRM_MODE_ROTATE_0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DRM_MODE_ROTATE_0@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x21, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh14:
	ldr	x21, [x21, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
Lloh15:
	adrp	x26, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh16:
	ldr	x26, [x26, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w1, w8, w9
	bl	_drm_rotation_simplify
	ldr	w8, [x21]
	tst	w8, w0
	cset	w9, ne
	ldr	w8, [x26]
	tst	w8, w0
	cset	w8, ne
	stp	x25, x24, [sp, #56]
	ldp	x19, x10, [sp, #152]            ; 16-byte Folded Reload
	ldr	x26, [sp, #112]                 ; 8-byte Folded Reload
	stp	x26, x10, [sp, #40]
	ldp	x21, x10, [sp, #128]            ; 16-byte Folded Reload
	stp	x23, x10, [sp, #24]
	stp	w28, w27, [sp, #16]
	sub	x3, x29, #104
	sub	x4, x29, #128
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
	stp	w19, w27, [sp, #8]
	str	w8, [sp, #92]                   ; 4-byte Folded Spill
	stp	w9, w8, [sp]
	str	w9, [sp, #104]                  ; 4-byte Folded Spill
	mov	x0, x21
	mov	x1, x22
	ldur	x22, [x29, #-136]               ; 8-byte Folded Reload
	mov	x2, x22
	stur	x20, [x29, #-144]               ; 8-byte Folded Spill
	mov	x5, x20
	mov	x6, #0
	mov	x7, #0
	bl	_mdp5_hwpipe_mode_set
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	cbz	x1, LBB0_8
; %bb.7:
	add	w8, w28, w19
	add	x9, x25, x26
	stp	x25, x24, [sp, #56]
	ldr	x10, [sp, #160]                 ; 8-byte Folded Reload
	stp	x9, x10, [sp, #40]
	ldr	x9, [sp, #136]                  ; 8-byte Folded Reload
	stp	x23, x9, [sp, #24]
	ldr	x9, [sp, #144]                  ; 8-byte Folded Reload
	stp	w28, w9, [sp, #16]
	sub	x3, x29, #104
	sub	x4, x29, #128
	stp	w8, w27, [sp, #8]
	ldr	w11, [sp, #92]                  ; 4-byte Folded Reload
	ldr	w8, [sp, #104]                  ; 4-byte Folded Reload
	stp	w8, w11, [sp]
	mov	x0, x21
	mov	x2, x22
	ldur	x5, [x29, #-144]                ; 8-byte Folded Reload
	mov	x6, #0
	mov	x7, #0
	bl	_mdp5_hwpipe_mode_set
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: FB[%u] %u,%u,%u,%u -> CRTC[%u] %d,%d,%u,%u"

	.comm	_MDP_PIPE_CAP_SW_PIX_EXT,4,2    ; @MDP_PIPE_CAP_SW_PIX_EXT
l_.str.1:                               ; @.str.1
	.asciz	"scale config = %x"

	.comm	_DRM_MODE_ROTATE_0,4,2          ; @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_REFLECT_X,4,2         ; @DRM_MODE_REFLECT_X
	.comm	_DRM_MODE_REFLECT_Y,4,2         ; @DRM_MODE_REFLECT_Y
	.no_dead_strip	_mdp5_plane_mode_set
.subsections_via_symbols
