	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preview_config_ycpos
_preview_config_ycpos:                  ## @preview_config_ycpos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_to_isp_device
	cmpl	$128, %ebx
	je	LBB0_1
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_5
## %bb.3:
	movq	_YCPOS_YCrYCb@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	movq	_YCPOS_CrYCbY@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %r8d
	movq	_OMAP3_ISP_IOMEM_PREV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ISPPRV_PCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ISPPRV_PCR_YCPOS_CrYCbY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_ISPPRV_PCR_YCPOS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r8d
	movq	%rax, %rdi
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_isp_reg_clr_set                ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YCPOS_CrYCbY,4,2               ## @YCPOS_CrYCbY
	.comm	_YCPOS_YCrYCb,4,2               ## @YCPOS_YCrYCb
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ## @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_PCR,4,2                 ## @ISPPRV_PCR
	.comm	_ISPPRV_PCR_YCPOS_CrYCbY,4,2    ## @ISPPRV_PCR_YCPOS_CrYCbY
	.comm	_ISPPRV_PCR_YCPOS_SHIFT,4,2     ## @ISPPRV_PCR_YCPOS_SHIFT
	.no_dead_strip	_preview_config_ycpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preview_config_ycpos
_preview_config_ycpos:                  ; @preview_config_ycpos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_to_isp_device
	cmp	w19, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w19, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _YCPOS_YCrYCb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _YCPOS_YCrYCb@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _YCPOS_CrYCbY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _YCPOS_CrYCbY@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _OMAP3_ISP_IOMEM_PREV@GOTPAGE
Lloh5:
	ldr	x9, [x9, _OMAP3_ISP_IOMEM_PREV@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x9]
Lloh7:
	adrp	x9, _ISPPRV_PCR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ISPPRV_PCR@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x9]
Lloh10:
	adrp	x9, _ISPPRV_PCR_YCPOS_CrYCbY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ISPPRV_PCR_YCPOS_CrYCbY@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x9]
Lloh13:
	adrp	x9, _ISPPRV_PCR_YCPOS_SHIFT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ISPPRV_PCR_YCPOS_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	lsl	w4, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_isp_reg_clr_set
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_YCPOS_CrYCbY,4,2               ; @YCPOS_CrYCbY
	.comm	_YCPOS_YCrYCb,4,2               ; @YCPOS_YCrYCb
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ; @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_PCR,4,2                 ; @ISPPRV_PCR
	.comm	_ISPPRV_PCR_YCPOS_CrYCbY,4,2    ; @ISPPRV_PCR_YCPOS_CrYCbY
	.comm	_ISPPRV_PCR_YCPOS_SHIFT,4,2     ; @ISPPRV_PCR_YCPOS_SHIFT
	.no_dead_strip	_preview_config_ycpos
.subsections_via_symbols
