	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpf_configure_stream
_wpf_configure_stream:                  ## @wpf_configure_stream
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	callq	_to_rwpf
	movq	%rax, %r13
	leaq	8(%rax), %r15
	movq	16(%rax), %r12
	movl	8(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%r13), %esi
	movq	_RWPF_PAD_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_vsp1_entity_get_pad_format
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	12(%r13), %esi
	movq	_RWPF_PAD_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_vsp1_entity_get_pad_format
	cmpl	$0, 24(%r14)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%r13)
	je	LBB0_2
LBB0_3:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	32(%r13), %rbx
	movl	(%rbx), %edx
	movq	_VI6_WPF_OUTFMT_WRFMT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	xorl	%eax, %eax
	cmpq	$0, 24(%r13)
	movl	$0, %r15d
	je	LBB0_5
## %bb.4:
	movq	_VI6_WPF_OUTFMT_ROT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
LBB0_5:
	cmpq	$0, 24(%rbx)
	movl	$0, %r8d
	je	LBB0_7
## %bb.6:
	movq	_VI6_WPF_OUTFMT_PXA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
LBB0_7:
	cmpq	$0, 16(%rbx)
	movl	$0, %ecx
	je	LBB0_9
## %bb.8:
	movq	_VI6_WPF_OUTFMT_SPYCS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
LBB0_9:
	orl	%edx, %r15d
	movq	48(%r13), %rsi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%rbx)
	je	LBB0_11
## %bb.10:
	movq	_VI6_WPF_OUTFMT_SPUVS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	orl	%eax, %ecx
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	orl	%r8d, %r15d
	movq	_VI6_WPF_DSTM_STRIDE_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rsi), %ecx
	movq	%r13, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_vsp1_wpf_write
	cmpl	$2, 40(%r13)
	jl	LBB0_13
## %bb.12:
	movq	_VI6_WPF_DSTM_STRIDE_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	48(%r13), %rax
	movl	4(%rax), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_vsp1_wpf_write
LBB0_13:
	orl	-76(%rbp), %r15d                ## 4-byte Folded Reload
	movq	_VI6_WPF_DSWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_vsp1_wpf_write
	movq	_VSP1_HAS_WPF_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_feature
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.15:
	movq	_VI6_WPF_ROT_CTRL@GOTPCREL(%rip), %rdx
	movq	_VI6_WPF_ROT_CTRL_LMEM_WD_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$256, %eax                      ## imm = 0x100
	shll	%cl, %eax
	movl	(%rdx), %edx
	movq	_VI6_WPF_ROT_CTRL_LN16@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_vsp1_wpf_write
LBB0_16:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, %esi
	jmp	LBB0_17
LBB0_2:
	xorl	%esi, %esi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_17:
	movq	(%rcx), %rcx
	xorl	%r15d, %r15d
	movl	$0, %edx
	cmpq	(%rax), %rcx
	je	LBB0_19
## %bb.18:
	movq	_VI6_WPF_OUTFMT_CSC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_19:
	orl	%esi, %edx
	movl	%edx, 4(%r13)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_VI6_DPR_WPF_FPORCH
	movq	_VI6_DPR_WPF_FPORCH_FP_WPFN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_vsp1_dl_body_write
	movq	(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_28
## %bb.20:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	8(%rcx), %edi
	callq	_VI6_WPF_SRCRPF_RPF_ACT_SUB
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	orl	%eax, %r15d
	movq	(%r12), %rax
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%rbx
	movl	(%rax), %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_28
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	$0, 8(%r14)
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$1, (%r14)
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	8(%rcx), %edi
	callq	_VI6_WPF_SRCRPF_RPF_ACT_MST
	jmp	LBB0_26
LBB0_28:
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_29
## %bb.30:
	movq	(%rax), %rax
	movq	_VSP1_ENTITY_BRU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_31
## %bb.32:
	movq	_VI6_WPF_SRCRPF_VIRACT_MST@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_29:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_31:
	movq	_VI6_WPF_SRCRPF_VIRACT2_MST@GOTPCREL(%rip), %rax
LBB0_33:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	orl	(%rax), %r15d
LBB0_34:
	movq	_VI6_WPF_SRCRPF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	callq	_vsp1_wpf_write
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_VI6_WPF_IRQ_STA
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_vsp1_dl_body_write
	movl	%ebx, %edi
	callq	_VI6_WPF_IRQ_ENB
	movq	_VI6_WFP_IRQ_ENB_DFEE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_vsp1_dl_body_write
	cmpl	$0, (%r13)
	je	LBB0_37
## %bb.35:
	movq	%r13, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_wpf_configure_writeback_chain
	testl	%eax, %eax
	jns	LBB0_37
## %bb.36:
	movl	$0, (%r13)
LBB0_37:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_VI6_WPF_WRBCK_CTRL
	movl	(%r13), %edx
	testl	%edx, %edx
	je	LBB0_39
## %bb.38:
	movq	_VI6_WPF_WRBCK_CTRL_WBMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_39:
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vsp1_dl_body_write             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RWPF_PAD_SINK,4,2              ## @RWPF_PAD_SINK
	.comm	_RWPF_PAD_SOURCE,4,2            ## @RWPF_PAD_SOURCE
	.comm	_VI6_WPF_OUTFMT_WRFMT_SHIFT,4,2 ## @VI6_WPF_OUTFMT_WRFMT_SHIFT
	.comm	_VI6_WPF_OUTFMT_ROT,4,2         ## @VI6_WPF_OUTFMT_ROT
	.comm	_VI6_WPF_OUTFMT_PXA,4,2         ## @VI6_WPF_OUTFMT_PXA
	.comm	_VI6_WPF_OUTFMT_SPYCS,4,2       ## @VI6_WPF_OUTFMT_SPYCS
	.comm	_VI6_WPF_OUTFMT_SPUVS,4,2       ## @VI6_WPF_OUTFMT_SPUVS
	.comm	_VI6_WPF_DSTM_STRIDE_Y,4,2      ## @VI6_WPF_DSTM_STRIDE_Y
	.comm	_VI6_WPF_DSTM_STRIDE_C,4,2      ## @VI6_WPF_DSTM_STRIDE_C
	.comm	_VI6_WPF_DSWAP,4,2              ## @VI6_WPF_DSWAP
	.comm	_VSP1_HAS_WPF_HFLIP,4,2         ## @VSP1_HAS_WPF_HFLIP
	.comm	_VI6_WPF_ROT_CTRL,4,2           ## @VI6_WPF_ROT_CTRL
	.comm	_VI6_WPF_ROT_CTRL_LN16,4,2      ## @VI6_WPF_ROT_CTRL_LN16
	.comm	_VI6_WPF_ROT_CTRL_LMEM_WD_SHIFT,4,2 ## @VI6_WPF_ROT_CTRL_LMEM_WD_SHIFT
	.comm	_VI6_WPF_OUTFMT_CSC,4,2         ## @VI6_WPF_OUTFMT_CSC
	.comm	_VI6_DPR_WPF_FPORCH_FP_WPFN,4,2 ## @VI6_DPR_WPF_FPORCH_FP_WPFN
	.comm	_VSP1_ENTITY_BRU,8,3            ## @VSP1_ENTITY_BRU
	.comm	_VI6_WPF_SRCRPF_VIRACT_MST,4,2  ## @VI6_WPF_SRCRPF_VIRACT_MST
	.comm	_VI6_WPF_SRCRPF_VIRACT2_MST,4,2 ## @VI6_WPF_SRCRPF_VIRACT2_MST
	.comm	_VI6_WPF_SRCRPF,4,2             ## @VI6_WPF_SRCRPF
	.comm	_VI6_WFP_IRQ_ENB_DFEE,4,2       ## @VI6_WFP_IRQ_ENB_DFEE
	.comm	_VI6_WPF_WRBCK_CTRL_WBMD,4,2    ## @VI6_WPF_WRBCK_CTRL_WBMD
	.no_dead_strip	_wpf_configure_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpf_configure_stream
_wpf_configure_stream:                  ; @wpf_configure_stream
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x21, x2
	mov	x23, x1
	bl	_to_rwpf
	mov	x20, x0
	ldr	x24, [x0, #16]
	mov	x26, x0
	ldr	w22, [x26, #8]!
	ldr	w1, [x0, #12]
Lloh0:
	adrp	x8, _RWPF_PAD_SINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RWPF_PAD_SINK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x26
	bl	_vsp1_entity_get_pad_format
	mov	x25, x0
	ldr	w1, [x20, #12]
Lloh3:
	adrp	x8, _RWPF_PAD_SOURCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RWPF_PAD_SOURCE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x26
	bl	_vsp1_entity_get_pad_format
	mov	x26, x0
	ldr	w8, [x23, #24]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_7
LBB0_2:
	ldp	x8, x28, [x20, #24]
	ldr	w9, [x28]
Lloh6:
	adrp	x10, _VI6_WPF_OUTFMT_WRFMT_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _VI6_WPF_OUTFMT_WRFMT_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh9:
	adrp	x10, _VI6_WPF_OUTFMT_ROT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VI6_WPF_OUTFMT_ROT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	x8, #0
	csel	w8, wzr, w10, eq
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _VI6_WPF_OUTFMT_PXA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VI6_WPF_OUTFMT_PXA@GOTPAGEOFF]
	ldr	x10, [x28, #24]
Lloh14:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
	ldp	x10, x9, [x28, #8]
	cmp	x9, #0
Lloh15:
	adrp	x9, _VI6_WPF_OUTFMT_SPYCS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VI6_WPF_OUTFMT_SPYCS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _VI6_WPF_OUTFMT_SPUVS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VI6_WPF_OUTFMT_SPUVS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w27, w8, w9
Lloh21:
	adrp	x8, _VI6_WPF_DSTM_STRIDE_Y@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VI6_WPF_DSTM_STRIDE_Y@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	x8, [x20, #48]
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_vsp1_wpf_write
	ldr	w8, [x20, #40]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.3:
Lloh24:
	adrp	x8, _VI6_WPF_DSTM_STRIDE_C@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VI6_WPF_DSTM_STRIDE_C@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	ldr	x8, [x20, #48]
	ldr	w3, [x8, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_vsp1_wpf_write
LBB0_4:
Lloh27:
	adrp	x8, _VI6_WPF_DSWAP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VI6_WPF_DSWAP@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldr	w3, [x28, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_vsp1_wpf_write
Lloh30:
	adrp	x8, _VSP1_HAS_WPF_HFLIP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _VSP1_HAS_WPF_HFLIP@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_vsp1_feature
	cbz	x0, LBB0_8
; %bb.5:
	cbnz	w22, LBB0_8
; %bb.6:
Lloh33:
	adrp	x8, _VI6_WPF_ROT_CTRL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VI6_WPF_ROT_CTRL@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
Lloh36:
	adrp	x8, _VI6_WPF_ROT_CTRL_LN16@GOTPAGE
Lloh37:
	ldr	x8, [x8, _VI6_WPF_ROT_CTRL_LN16@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _VI6_WPF_ROT_CTRL_LMEM_WD_SHIFT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _VI6_WPF_ROT_CTRL_LMEM_WD_SHIFT@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	mov	w10, #256
	lsl	w9, w10, w9
	orr	w3, w9, w8
	mov	x0, x20
	mov	x1, x19
	bl	_vsp1_wpf_write
	b	LBB0_8
LBB0_7:
	mov	w27, #0
LBB0_8:
	ldr	x8, [x25]
Lloh42:
	adrp	x9, _VI6_WPF_OUTFMT_CSC@GOTPAGE
Lloh43:
	ldr	x9, [x9, _VI6_WPF_OUTFMT_CSC@GOTPAGEOFF]
	ldr	x10, [x26]
Lloh44:
	ldr	w9, [x9]
	cmp	x8, x10
	csel	w8, wzr, w9, eq
	orr	w8, w8, w27
	str	w8, [x20, #4]
	mov	x0, x22
	bl	_VI6_DPR_WPF_FPORCH
	mov	x1, x0
Lloh45:
	adrp	x8, _VI6_DPR_WPF_FPORCH_FP_WPFN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _VI6_DPR_WPF_FPORCH_FP_WPFN@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_vsp1_dl_body_write
	ldr	x8, [x24]
	ldr	w9, [x8]
	cbz	w9, LBB0_17
; %bb.9:
	mov	x26, #0
	mov	w25, #0
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x9, #8]
	bl	_VI6_WPF_SRCRPF_RPF_ACT_SUB
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	orr	w25, w0, w25
	ldr	x8, [x24]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x26, x26, #1
	ldr	w9, [x8]
	cmp	x26, x9
	b.hs	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23, #16]
	ldr	x9, [x9, x26, lsl #3]
	cbz	x9, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x23]
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x9, #8]
	bl	_VI6_WPF_SRCRPF_RPF_ACT_MST
	b	LBB0_11
LBB0_17:
	mov	w25, #0
LBB0_18:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_20
; %bb.19:
	ldr	x8, [x8]
Lloh48:
	adrp	x9, _VSP1_ENTITY_BRU@GOTPAGE
Lloh49:
	ldr	x9, [x9, _VSP1_ENTITY_BRU@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
Lloh51:
	adrp	x10, _VI6_WPF_SRCRPF_VIRACT_MST@GOTPAGE
Lloh52:
	ldr	x10, [x10, _VI6_WPF_SRCRPF_VIRACT_MST@GOTPAGEOFF]
Lloh53:
	adrp	x11, _VI6_WPF_SRCRPF_VIRACT2_MST@GOTPAGE
Lloh54:
	ldr	x11, [x11, _VI6_WPF_SRCRPF_VIRACT2_MST@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	orr	w25, w8, w25
LBB0_20:
Lloh55:
	adrp	x8, _VI6_WPF_SRCRPF@GOTPAGE
Lloh56:
	ldr	x8, [x8, _VI6_WPF_SRCRPF@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x25
	bl	_vsp1_wpf_write
	mov	x0, x22
	bl	_VI6_WPF_IRQ_STA
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_vsp1_dl_body_write
	mov	x0, x22
	bl	_VI6_WPF_IRQ_ENB
	mov	x1, x0
Lloh58:
	adrp	x8, _VI6_WFP_IRQ_ENB_DFEE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _VI6_WFP_IRQ_ENB_DFEE@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_vsp1_dl_body_write
	ldr	w8, [x20]
	cbz	w8, LBB0_23
; %bb.21:
	mov	x0, x20
	mov	x1, x21
	bl	_wpf_configure_writeback_chain
	tbz	w0, #31, LBB0_23
; %bb.22:
	str	wzr, [x20]
LBB0_23:
	mov	x0, x22
	bl	_VI6_WPF_WRBCK_CTRL
	mov	x1, x0
	ldr	w8, [x20]
Lloh61:
	adrp	x9, _VI6_WPF_WRBCK_CTRL_WBMD@GOTPAGE
Lloh62:
	ldr	x9, [x9, _VI6_WPF_WRBCK_CTRL_WBMD@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w2, wzr, w9, eq
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_vsp1_dl_body_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_RWPF_PAD_SINK,4,2              ; @RWPF_PAD_SINK
	.comm	_RWPF_PAD_SOURCE,4,2            ; @RWPF_PAD_SOURCE
	.comm	_VI6_WPF_OUTFMT_WRFMT_SHIFT,4,2 ; @VI6_WPF_OUTFMT_WRFMT_SHIFT
	.comm	_VI6_WPF_OUTFMT_ROT,4,2         ; @VI6_WPF_OUTFMT_ROT
	.comm	_VI6_WPF_OUTFMT_PXA,4,2         ; @VI6_WPF_OUTFMT_PXA
	.comm	_VI6_WPF_OUTFMT_SPYCS,4,2       ; @VI6_WPF_OUTFMT_SPYCS
	.comm	_VI6_WPF_OUTFMT_SPUVS,4,2       ; @VI6_WPF_OUTFMT_SPUVS
	.comm	_VI6_WPF_DSTM_STRIDE_Y,4,2      ; @VI6_WPF_DSTM_STRIDE_Y
	.comm	_VI6_WPF_DSTM_STRIDE_C,4,2      ; @VI6_WPF_DSTM_STRIDE_C
	.comm	_VI6_WPF_DSWAP,4,2              ; @VI6_WPF_DSWAP
	.comm	_VSP1_HAS_WPF_HFLIP,4,2         ; @VSP1_HAS_WPF_HFLIP
	.comm	_VI6_WPF_ROT_CTRL,4,2           ; @VI6_WPF_ROT_CTRL
	.comm	_VI6_WPF_ROT_CTRL_LN16,4,2      ; @VI6_WPF_ROT_CTRL_LN16
	.comm	_VI6_WPF_ROT_CTRL_LMEM_WD_SHIFT,4,2 ; @VI6_WPF_ROT_CTRL_LMEM_WD_SHIFT
	.comm	_VI6_WPF_OUTFMT_CSC,4,2         ; @VI6_WPF_OUTFMT_CSC
	.comm	_VI6_DPR_WPF_FPORCH_FP_WPFN,4,2 ; @VI6_DPR_WPF_FPORCH_FP_WPFN
	.comm	_VSP1_ENTITY_BRU,8,3            ; @VSP1_ENTITY_BRU
	.comm	_VI6_WPF_SRCRPF_VIRACT_MST,4,2  ; @VI6_WPF_SRCRPF_VIRACT_MST
	.comm	_VI6_WPF_SRCRPF_VIRACT2_MST,4,2 ; @VI6_WPF_SRCRPF_VIRACT2_MST
	.comm	_VI6_WPF_SRCRPF,4,2             ; @VI6_WPF_SRCRPF
	.comm	_VI6_WFP_IRQ_ENB_DFEE,4,2       ; @VI6_WFP_IRQ_ENB_DFEE
	.comm	_VI6_WPF_WRBCK_CTRL_WBMD,4,2    ; @VI6_WPF_WRBCK_CTRL_WBMD
	.no_dead_strip	_wpf_configure_stream
.subsections_via_symbols
