	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preview_config_input_size
_preview_config_input_size:             ## @preview_config_input_size
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_PREV_PAD_SINK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	callq	_to_isp_device
	movl	8(%rbx), %r9d
	movl	12(%rbx), %edx
	leal	(%rdx,%r9), %r8d
	decl	%r8d
	movl	16(%rbx), %r12d
	movl	20(%rbx), %esi
	leal	(%rsi,%r12), %r13d
	decl	%r13d
	movq	(%r14,%r15,8), %rdi
	movq	_MEDIA_BUS_FMT_Y8_1X8@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_3
## %bb.1:
	movq	_MEDIA_BUS_FMT_Y10_1X10@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_3
## %bb.2:
	addl	%r9d, %edx
	addl	%r12d, %esi
	addl	$-2, %r9d
	incl	%edx
	addl	$-2, %r12d
	incl	%esi
	movl	%edx, %r8d
	movl	%esi, %r13d
LBB0_3:
	movq	(%rbx), %rcx
	movl	4(%rcx), %esi
	movl	(%rcx), %edx
	xorl	%esi, %edx
	andl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	xorl	%esi, %edx
	movq	_OMAP3ISP_PREV_DEFECT_COR@GOTPCREL(%rip), %rcx
	movq	_OMAP3ISP_PREV_NF@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	testl	%edx, %esi
	je	LBB0_5
## %bb.4:
	addl	$-2, %r9d
	addl	$2, %r8d
	addl	$-2, %r12d
	addl	$2, %r13d
LBB0_5:
	movq	_OMAP3ISP_PREV_HRZ_MED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	leal	-2(%r9), %edi
	leal	2(%r8), %ebx
	testl	%ecx, %ecx
	cmovel	%r8d, %ebx
	cmovel	%r9d, %edi
	movq	_OMAP3ISP_PREV_CHROMA_SUPP@GOTPCREL(%rip), %rsi
	movq	_OMAP3ISP_PREV_LUMAENH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rsi), %ecx
	leal	-2(%rdi), %esi
	testl	%edx, %ecx
	cmovel	%edi, %esi
	movq	_ISPPRV_HORZ_INFO_SPH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%ebx, %esi
	movq	_OMAP3_ISP_IOMEM_PREV@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_ISPPRV_HORZ_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	movq	%rax, %rbx
	callq	_isp_reg_writel
	movq	_ISPPRV_VERT_INFO_SLV_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	orl	%r13d, %r12d
	movl	(%r14), %edx
	movq	_ISPPRV_VERT_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isp_reg_writel                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PREV_PAD_SINK,8,3              ## @PREV_PAD_SINK
	.comm	_MEDIA_BUS_FMT_Y8_1X8,8,3       ## @MEDIA_BUS_FMT_Y8_1X8
	.comm	_MEDIA_BUS_FMT_Y10_1X10,8,3     ## @MEDIA_BUS_FMT_Y10_1X10
	.comm	_OMAP3ISP_PREV_DEFECT_COR,4,2   ## @OMAP3ISP_PREV_DEFECT_COR
	.comm	_OMAP3ISP_PREV_NF,4,2           ## @OMAP3ISP_PREV_NF
	.comm	_OMAP3ISP_PREV_HRZ_MED,4,2      ## @OMAP3ISP_PREV_HRZ_MED
	.comm	_OMAP3ISP_PREV_CHROMA_SUPP,4,2  ## @OMAP3ISP_PREV_CHROMA_SUPP
	.comm	_OMAP3ISP_PREV_LUMAENH,4,2      ## @OMAP3ISP_PREV_LUMAENH
	.comm	_ISPPRV_HORZ_INFO_SPH_SHIFT,4,2 ## @ISPPRV_HORZ_INFO_SPH_SHIFT
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ## @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_HORZ_INFO,4,2           ## @ISPPRV_HORZ_INFO
	.comm	_ISPPRV_VERT_INFO_SLV_SHIFT,4,2 ## @ISPPRV_VERT_INFO_SLV_SHIFT
	.comm	_ISPPRV_VERT_INFO,4,2           ## @ISPPRV_VERT_INFO
	.no_dead_strip	_preview_config_input_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preview_config_input_size
_preview_config_input_size:             ; @preview_config_input_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0, #24]
Lloh0:
	adrp	x8, _PREV_PAD_SINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PREV_PAD_SINK@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	bl	_to_isp_device
	mov	x19, x0
	ldp	w8, w9, [x21, #8]
	add	w9, w9, w8
	sub	w10, w9, #1
	ldp	w11, w12, [x21, #16]
	add	w12, w12, w11
	ldr	x13, [x22, x23, lsl #3]
	sub	w14, w12, #1
Lloh3:
	adrp	x15, _MEDIA_BUS_FMT_Y8_1X8@GOTPAGE
Lloh4:
	ldr	x15, [x15, _MEDIA_BUS_FMT_Y8_1X8@GOTPAGEOFF]
Lloh5:
	ldr	x15, [x15]
Lloh6:
	adrp	x16, _MEDIA_BUS_FMT_Y10_1X10@GOTPAGE
Lloh7:
	ldr	x16, [x16, _MEDIA_BUS_FMT_Y10_1X10@GOTPAGEOFF]
Lloh8:
	ldr	x16, [x16]
	sub	w17, w8, #2
	sub	w0, w11, #2
	cmp	x13, x15
	ccmp	x13, x16, #4, ne
	csinc	w9, w10, w9, eq
	csel	w10, w11, w0, eq
	csinc	w11, w14, w12, eq
	csel	w8, w8, w17, eq
	ldr	x12, [x21]
	ldp	w13, w12, [x12]
	and	w13, w13, w20
	bic	w12, w12, w20
	orr	w12, w12, w13
Lloh9:
	adrp	x13, _OMAP3ISP_PREV_DEFECT_COR@GOTPAGE
Lloh10:
	ldr	x13, [x13, _OMAP3ISP_PREV_DEFECT_COR@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
Lloh12:
	adrp	x14, _OMAP3ISP_PREV_NF@GOTPAGE
Lloh13:
	ldr	x14, [x14, _OMAP3ISP_PREV_NF@GOTPAGEOFF]
Lloh14:
	ldr	w14, [x14]
	orr	w13, w14, w13
	sub	w14, w8, #2
	add	w15, w9, #2
	sub	w16, w10, #2
	add	w17, w11, #2
	tst	w13, w12
	csel	w9, w9, w15, eq
	csel	w20, w10, w16, eq
	csel	w21, w11, w17, eq
	csel	w8, w8, w14, eq
Lloh15:
	adrp	x10, _OMAP3ISP_PREV_HRZ_MED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _OMAP3ISP_PREV_HRZ_MED@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	sub	w11, w8, #2
	add	w13, w9, #2
	tst	w10, w12
	csel	w9, w9, w13, eq
	csel	w8, w8, w11, eq
Lloh18:
	adrp	x10, _OMAP3ISP_PREV_CHROMA_SUPP@GOTPAGE
Lloh19:
	ldr	x10, [x10, _OMAP3ISP_PREV_CHROMA_SUPP@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _OMAP3ISP_PREV_LUMAENH@GOTPAGE
Lloh22:
	ldr	x11, [x11, _OMAP3ISP_PREV_LUMAENH@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	orr	w10, w11, w10
	sub	w11, w8, #2
	tst	w10, w12
	csel	w8, w8, w11, eq
Lloh24:
	adrp	x10, _ISPPRV_HORZ_INFO_SPH_SHIFT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ISPPRV_HORZ_INFO_SPH_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w1, w8, w9
Lloh27:
	adrp	x22, _OMAP3_ISP_IOMEM_PREV@GOTPAGE
Lloh28:
	ldr	x22, [x22, _OMAP3_ISP_IOMEM_PREV@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh29:
	adrp	x8, _ISPPRV_HORZ_INFO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ISPPRV_HORZ_INFO@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_isp_reg_writel
Lloh32:
	adrp	x8, _ISPPRV_VERT_INFO_SLV_SHIFT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ISPPRV_VERT_INFO_SLV_SHIFT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	lsl	w8, w20, w8
	orr	w1, w8, w21
Lloh35:
	adrp	x8, _ISPPRV_VERT_INFO@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ISPPRV_VERT_INFO@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh37:
	ldr	w3, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_isp_reg_writel
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PREV_PAD_SINK,8,3              ; @PREV_PAD_SINK
	.comm	_MEDIA_BUS_FMT_Y8_1X8,8,3       ; @MEDIA_BUS_FMT_Y8_1X8
	.comm	_MEDIA_BUS_FMT_Y10_1X10,8,3     ; @MEDIA_BUS_FMT_Y10_1X10
	.comm	_OMAP3ISP_PREV_DEFECT_COR,4,2   ; @OMAP3ISP_PREV_DEFECT_COR
	.comm	_OMAP3ISP_PREV_NF,4,2           ; @OMAP3ISP_PREV_NF
	.comm	_OMAP3ISP_PREV_HRZ_MED,4,2      ; @OMAP3ISP_PREV_HRZ_MED
	.comm	_OMAP3ISP_PREV_CHROMA_SUPP,4,2  ; @OMAP3ISP_PREV_CHROMA_SUPP
	.comm	_OMAP3ISP_PREV_LUMAENH,4,2      ; @OMAP3ISP_PREV_LUMAENH
	.comm	_ISPPRV_HORZ_INFO_SPH_SHIFT,4,2 ; @ISPPRV_HORZ_INFO_SPH_SHIFT
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ; @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_HORZ_INFO,4,2           ; @ISPPRV_HORZ_INFO
	.comm	_ISPPRV_VERT_INFO_SLV_SHIFT,4,2 ; @ISPPRV_VERT_INFO_SLV_SHIFT
	.comm	_ISPPRV_VERT_INFO,4,2           ; @ISPPRV_VERT_INFO
	.no_dead_strip	_preview_config_input_size
.subsections_via_symbols
