	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dpu_plane_set_qos_remap
__dpu_plane_set_qos_remap:              ## @_dpu_plane_set_qos_remap
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_to_dpu_plane
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	__dpu_plane_get_kms
	movq	%rax, %r15
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_VBIF_RT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movq	8(%r12), %rax
	movq	8(%rax), %rdx
	movl	4(%rdx), %edi
	movl	%edi, -56(%rbp)
	movl	(%rdx), %r8d
	movl	%r8d, -48(%rbp)
	movq	(%rax), %rdx
	movq	_SSPP_VIG0@GOTPCREL(%rip), %rax
	subq	(%rax), %rdx
	movq	%rdx, -40(%rbp)
	movl	(%r12), %r9d
	movl	%r9d, -52(%rbp)
	movl	(%rbx), %esi
	movl	%edi, (%rsp)
	leaq	L_.str(%rip), %rdi
	callq	_DPU_DEBUG
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_dpu_vbif_set_qos_remap
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VBIF_RT,4,2                    ## @VBIF_RT
	.comm	_SSPP_VIG0,8,3                  ## @SSPP_VIG0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"plane%d pipe:%d vbif:%d xin:%d rt:%d, clk_ctrl:%d\n"

	.no_dead_strip	__dpu_plane_set_qos_remap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dpu_plane_set_qos_remap
__dpu_plane_set_qos_remap:              ; @_dpu_plane_set_qos_remap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_to_dpu_plane
	mov	x20, x0
	mov	x0, x19
	bl	__dpu_plane_get_kms
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _VBIF_RT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VBIF_RT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	str	w3, [sp, #20]
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #8]
	ldr	w6, [x9, #4]
	str	w6, [sp, #8]
	ldr	w4, [x9]
	str	w4, [sp, #16]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SSPP_VIG0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SSPP_VIG0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x2, x8, x9
	str	x2, [sp, #24]
	ldr	w5, [x20]
	str	w5, [sp, #12]
	ldr	w1, [x19]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPU_DEBUG
	add	x1, sp, #8
	mov	x0, x21
	bl	_dpu_vbif_set_qos_remap
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VBIF_RT,4,2                    ; @VBIF_RT
	.comm	_SSPP_VIG0,8,3                  ; @SSPP_VIG0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"plane%d pipe:%d vbif:%d xin:%d rt:%d, clk_ctrl:%d\n"

	.no_dead_strip	__dpu_plane_set_qos_remap
.subsections_via_symbols
