	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccdc_configure_fpc
_ccdc_configure_fpc:                    ## @ccdc_configure_fpc
	.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	%rdi, %rbx
	callq	_to_isp_device
	movq	%rax, %r14
	movq	_OMAP3_ISP_IOMEM_CCDC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ISPCCDC_FPC@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_ISPCCDC_FPC_FPCEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_clr
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %esi
	movl	(%r15), %edx
	movq	_ISPCCDC_FPC_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_writel
	movl	4(%rbx), %esi
	movq	_ISPCCDC_FPC_FPNUM_SHIFT@GOTPCREL(%rip), %r13
	movb	(%r13), %cl
	shll	%cl, %esi
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_writel
	movl	4(%rbx), %esi
	movb	(%r13), %cl
	shll	%cl, %esi
	movq	_ISPCCDC_FPC_FPCEN@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isp_reg_writel                 ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP3_ISP_IOMEM_CCDC,4,2       ## @OMAP3_ISP_IOMEM_CCDC
	.comm	_ISPCCDC_FPC,4,2                ## @ISPCCDC_FPC
	.comm	_ISPCCDC_FPC_FPCEN,4,2          ## @ISPCCDC_FPC_FPCEN
	.comm	_ISPCCDC_FPC_ADDR,4,2           ## @ISPCCDC_FPC_ADDR
	.comm	_ISPCCDC_FPC_FPNUM_SHIFT,4,2    ## @ISPCCDC_FPC_FPNUM_SHIFT
	.no_dead_strip	_ccdc_configure_fpc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccdc_configure_fpc
_ccdc_configure_fpc:                    ; @ccdc_configure_fpc
	.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, x0
	bl	_to_isp_device
	mov	x19, x0
Lloh0:
	adrp	x21, _OMAP3_ISP_IOMEM_CCDC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OMAP3_ISP_IOMEM_CCDC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _ISPCCDC_FPC@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ISPCCDC_FPC@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh4:
	adrp	x23, _ISPCCDC_FPC_FPCEN@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ISPCCDC_FPC_FPCEN@GOTPAGEOFF]
	ldr	w3, [x23]
	bl	_isp_reg_clr
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh6:
	adrp	x8, _ISPCCDC_FPC_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISPCCDC_FPC_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_isp_reg_writel
	ldr	w8, [x20, #4]
Lloh9:
	adrp	x24, _ISPCCDC_FPC_FPNUM_SHIFT@GOTPAGE
Lloh10:
	ldr	x24, [x24, _ISPCCDC_FPC_FPNUM_SHIFT@GOTPAGEOFF]
	ldr	w9, [x24]
	lsl	w1, w8, w9
	ldr	w2, [x21]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_isp_reg_writel
	ldr	w8, [x20, #4]
	ldr	w9, [x24]
	lsl	w8, w8, w9
	ldr	w9, [x23]
	orr	w1, w8, w9
	ldr	w2, [x21]
	ldr	w3, [x22]
	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
LBB0_2:
	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
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP3_ISP_IOMEM_CCDC,4,2       ; @OMAP3_ISP_IOMEM_CCDC
	.comm	_ISPCCDC_FPC,4,2                ; @ISPCCDC_FPC
	.comm	_ISPCCDC_FPC_FPCEN,4,2          ; @ISPCCDC_FPC_FPCEN
	.comm	_ISPCCDC_FPC_ADDR,4,2           ; @ISPCCDC_FPC_ADDR
	.comm	_ISPCCDC_FPC_FPNUM_SHIFT,4,2    ; @ISPCCDC_FPC_FPNUM_SHIFT
	.no_dead_strip	_ccdc_configure_fpc
.subsections_via_symbols
