	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_ccdc_max_rate         ## -- Begin function omap3isp_ccdc_max_rate
	.p2align	4, 0x90
_omap3isp_ccdc_max_rate:                ## @omap3isp_ccdc_max_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_to_isp_pipeline
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rcx
	movq	_CCDC_INPUT_PARALLEL@GOTPCREL(%rip), %rdx
	movl	(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	leal	(%rsi,%rsi,8), %eax
	cltq
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$34, %rsi
	addl	%eax, %esi
LBB0_3:
	movl	(%r14), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_min
	movl	%eax, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCDC_INPUT_PARALLEL,8,3        ## @CCDC_INPUT_PARALLEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_ccdc_max_rate         ; -- Begin function omap3isp_ccdc_max_rate
	.p2align	2
_omap3isp_ccdc_max_rate:                ; @omap3isp_ccdc_max_rate
	.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
	mov	x20, x0
	add	x0, x0, #8
	bl	_to_isp_pipeline
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _CCDC_INPUT_PARALLEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CCDC_INPUT_PARALLEL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w10, [x0]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w1, w10, #1
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	add	w8, w1, w1, lsl #3
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w1, w8, w9
LBB0_3:
	ldr	w0, [x19]
	bl	_min
	str	w0, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CCDC_INPUT_PARALLEL,8,3        ; @CCDC_INPUT_PARALLEL
.subsections_via_symbols
