	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpfe_ccdc_setwin
_vpfe_ccdc_setwin:                      ## @vpfe_ccdc_setwin
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %eax
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %esi
	imull	%ecx, %esi
	imull	4(%rbx), %eax
	movq	_VPFE_HORZ_INFO_SPH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	decl	%eax
	orl	%eax, %esi
	movq	_VPFE_HORZ_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_vpfe_reg_write
	movl	8(%rbx), %r12d
	movq	_CCDC_FRMFMT_INTERLACED@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	12(%rbx), %ebx
	sarl	%ebx
	sarl	%r12d
	incl	%r12d
	movq	_VPFE_VDINT_VDINT0_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %esi
	shll	%cl, %esi
	jmp	LBB0_3
LBB0_2:
	movl	12(%rbx), %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	leal	(%rax,%r12), %esi
	incl	%esi
	movl	%r12d, %eax
	incl	%eax
	movq	_VPFE_VDINT_VDINT0_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	shll	%cl, %edx
	movq	_VPFE_VDINT_VDINT1_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	orl	%edx, %esi
	movl	%eax, %r12d
LBB0_3:
	decl	%ebx
	movq	_VPFE_VDINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_vpfe_reg_write
	movq	_VPFE_VERT_START_SLV0_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %esi
	shll	%cl, %esi
	orl	%r12d, %esi
	movq	_VPFE_VERT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_vpfe_reg_write
	movq	_VPFE_VERT_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vpfe_reg_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VPFE_HORZ_INFO_SPH_SHIFT,4,2   ## @VPFE_HORZ_INFO_SPH_SHIFT
	.comm	_VPFE_HORZ_INFO,4,2             ## @VPFE_HORZ_INFO
	.comm	_CCDC_FRMFMT_INTERLACED,4,2     ## @CCDC_FRMFMT_INTERLACED
	.comm	_VPFE_VDINT_VDINT0_SHIFT,4,2    ## @VPFE_VDINT_VDINT0_SHIFT
	.comm	_VPFE_VDINT_VDINT1_MASK,4,2     ## @VPFE_VDINT_VDINT1_MASK
	.comm	_VPFE_VDINT,4,2                 ## @VPFE_VDINT
	.comm	_VPFE_VERT_START_SLV0_SHIFT,4,2 ## @VPFE_VERT_START_SLV0_SHIFT
	.comm	_VPFE_VERT_START,4,2            ## @VPFE_VERT_START
	.comm	_VPFE_VERT_LINES,4,2            ## @VPFE_VERT_LINES
	.no_dead_strip	_vpfe_ccdc_setwin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpfe_ccdc_setwin
_vpfe_ccdc_setwin:                      ; @vpfe_ccdc_setwin
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldp	w8, w9, [x1]
	mul	w8, w8, w3
	mul	w9, w9, w3
	sub	w9, w9, #1
Lloh0:
	adrp	x10, _VPFE_HORZ_INFO_SPH_SHIFT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VPFE_HORZ_INFO_SPH_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w1, w8, w9
Lloh3:
	adrp	x8, _VPFE_HORZ_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VPFE_HORZ_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_vpfe_reg_write
	ldr	w9, [x20, #8]
Lloh6:
	adrp	x8, _CCDC_FRMFMT_INTERLACED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CCDC_FRMFMT_INTERLACED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x20, #12]
	asr	w8, w8, #1
	asr	w9, w9, #1
	add	w21, w9, #1
Lloh9:
	adrp	x9, _VPFE_VDINT_VDINT0_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VPFE_VDINT_VDINT0_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w1, w21, w9
	b	LBB0_3
LBB0_2:
	add	w21, w9, #1
	ldr	w8, [x20, #12]
	cmp	w8, #0
	cinc	w9, w8, lt
	add	w9, w21, w9, asr #1
Lloh12:
	adrp	x10, _VPFE_VDINT_VDINT0_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VPFE_VDINT_VDINT0_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w10, w21, w10
Lloh15:
	adrp	x11, _VPFE_VDINT_VDINT1_MASK@GOTPAGE
Lloh16:
	ldr	x11, [x11, _VPFE_VDINT_VDINT1_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	and	w9, w9, w11
	orr	w1, w9, w10
LBB0_3:
	sub	w20, w8, #1
Lloh18:
	adrp	x8, _VPFE_VDINT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VPFE_VDINT@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_vpfe_reg_write
Lloh21:
	adrp	x8, _VPFE_VERT_START_SLV0_SHIFT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VPFE_VERT_START_SLV0_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	lsl	w8, w21, w8
	orr	w1, w8, w21
Lloh24:
	adrp	x8, _VPFE_VERT_START@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VPFE_VERT_START@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_vpfe_reg_write
Lloh27:
	adrp	x8, _VPFE_VERT_LINES@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VPFE_VERT_LINES@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vpfe_reg_write
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_VPFE_HORZ_INFO_SPH_SHIFT,4,2   ; @VPFE_HORZ_INFO_SPH_SHIFT
	.comm	_VPFE_HORZ_INFO,4,2             ; @VPFE_HORZ_INFO
	.comm	_CCDC_FRMFMT_INTERLACED,4,2     ; @CCDC_FRMFMT_INTERLACED
	.comm	_VPFE_VDINT_VDINT0_SHIFT,4,2    ; @VPFE_VDINT_VDINT0_SHIFT
	.comm	_VPFE_VDINT_VDINT1_MASK,4,2     ; @VPFE_VDINT_VDINT1_MASK
	.comm	_VPFE_VDINT,4,2                 ; @VPFE_VDINT
	.comm	_VPFE_VERT_START_SLV0_SHIFT,4,2 ; @VPFE_VERT_START_SLV0_SHIFT
	.comm	_VPFE_VERT_START,4,2            ; @VPFE_VERT_START
	.comm	_VPFE_VERT_LINES,4,2            ; @VPFE_VERT_LINES
	.no_dead_strip	_vpfe_ccdc_setwin
.subsections_via_symbols
