	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preview_config_input_format
_preview_config_input_format:           ## @preview_config_input_format
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_to_isp_device
	movq	%rax, %r15
	cmpl	$8, (%rbx)
	movq	_OMAP3_ISP_IOMEM_PREV@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_ISPPRV_PCR@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_ISPPRV_PCR_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	jne	LBB0_2
## %bb.1:
	callq	_isp_reg_set
	jmp	LBB0_3
LBB0_2:
	callq	_isp_reg_clr
LBB0_3:
	movl	4(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	jae	LBB0_4
## %bb.5:
	cltq
	leaq	L_switch.table.preview_config_input_format(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%r14)
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	_ISPPRV_PCR_CFAEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_isp_reg_set
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	_ISPPRV_PCR_CFAFMT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ISPPRV_PCR_CFAFMT_BAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	callq	_isp_reg_clr_set
	movq	_OMAP3ISP_PREV_CFA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	andl	4(%r14), %eax
	sete	%sil
	shlq	$2, %rsi
	addq	8(%r14), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_preview_config_cfa             ## TAILCALL
LBB0_4:
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	_ISPPRV_PCR_CFAEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isp_reg_clr                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ## @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_PCR,4,2                 ## @ISPPRV_PCR
	.comm	_ISPPRV_PCR_WIDTH,4,2           ## @ISPPRV_PCR_WIDTH
	.comm	_ISPPRV_PCR_CFAEN,4,2           ## @ISPPRV_PCR_CFAEN
	.comm	_ISPPRV_PCR_CFAFMT_MASK,4,2     ## @ISPPRV_PCR_CFAFMT_MASK
	.comm	_ISPPRV_PCR_CFAFMT_BAYER,4,2    ## @ISPPRV_PCR_CFAFMT_BAYER
	.comm	_OMAP3ISP_PREV_CFA,4,2          ## @OMAP3ISP_PREV_CFA
	.no_dead_strip	_preview_config_input_format
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.preview_config_input_format
L_switch.table.preview_config_input_format:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	3                               ## 0x3
	.long	2                               ## 0x2

.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_format
_preview_config_input_format:           ; @preview_config_input_format
	.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	x21, x1
	mov	x19, x0
	bl	_to_isp_device
	mov	x20, x0
	ldr	w8, [x21]
Lloh0:
	adrp	x23, _OMAP3_ISP_IOMEM_PREV@GOTPAGE
Lloh1:
	ldr	x23, [x23, _OMAP3_ISP_IOMEM_PREV@GOTPAGEOFF]
Lloh2:
	adrp	x22, _ISPPRV_PCR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ISPPRV_PCR@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x22]
Lloh4:
	adrp	x9, _ISPPRV_PCR_WIDTH@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ISPPRV_PCR_WIDTH@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x9]
	cmp	w8, #8
	b.ne	LBB0_2
; %bb.1:
	bl	_isp_reg_set
	b	LBB0_3
LBB0_2:
	bl	_isp_reg_clr
LBB0_3:
	ldr	w8, [x21, #4]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hs	LBB0_5
; %bb.4:
Lloh7:
	adrp	x9, l_switch.table.preview_config_input_format@PAGE
Lloh8:
	add	x9, x9, l_switch.table.preview_config_input_format@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x19]
	ldr	w1, [x23]
	ldr	w2, [x22]
Lloh9:
	adrp	x8, _ISPPRV_PCR_CFAEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISPPRV_PCR_CFAEN@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_isp_reg_set
	ldr	w1, [x23]
	ldr	w2, [x22]
Lloh12:
	adrp	x8, _ISPPRV_PCR_CFAFMT_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISPPRV_PCR_CFAFMT_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x8, _ISPPRV_PCR_CFAFMT_BAYER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ISPPRV_PCR_CFAFMT_BAYER@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	x0, x20
	bl	_isp_reg_clr_set
	ldr	w8, [x19, #4]
Lloh18:
	adrp	x9, _OMAP3ISP_PREV_CFA@GOTPAGE
Lloh19:
	ldr	x9, [x9, _OMAP3ISP_PREV_CFA@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, eq
	ldr	x9, [x19, #8]
	add	x1, x9, w8, uxtw #2
	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	_preview_config_cfa
LBB0_5:
	ldr	w1, [x23]
Lloh21:
	adrp	x8, _ISPPRV_PCR_CFAEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ISPPRV_PCR_CFAEN@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh23:
	ldr	w3, [x8]
	mov	x0, x20
	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_clr
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ; @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_PCR,4,2                 ; @ISPPRV_PCR
	.comm	_ISPPRV_PCR_WIDTH,4,2           ; @ISPPRV_PCR_WIDTH
	.comm	_ISPPRV_PCR_CFAEN,4,2           ; @ISPPRV_PCR_CFAEN
	.comm	_ISPPRV_PCR_CFAFMT_MASK,4,2     ; @ISPPRV_PCR_CFAFMT_MASK
	.comm	_ISPPRV_PCR_CFAFMT_BAYER,4,2    ; @ISPPRV_PCR_CFAFMT_BAYER
	.comm	_OMAP3ISP_PREV_CFA,4,2          ; @OMAP3ISP_PREV_CFA
	.no_dead_strip	_preview_config_input_format
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.preview_config_input_format
l_switch.table.preview_config_input_format:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.long	2                               ; 0x2

.subsections_via_symbols
