	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov5640_compute_sys_clk
_ov5640_compute_sys_clk:                ## @ov5640_compute_sys_clk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movq	(%rdi), %rax
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	imulq	%r8, %rax
	cmpq	$1000999999, %rax               ## imm = 0x3BAA0C3F
	jbe	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_6
## %bb.7:
	xorl	%edx, %edx
	divq	%rcx
	popq	%rbp
	retq
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ov5640_compute_sys_clk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov5640_compute_sys_clk
_ov5640_compute_sys_clk:                ; @ov5640_compute_sys_clk
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	udiv	x8, x8, x1
	mul	x8, x8, x2
	mov	w9, #3135
	movk	w9, #15274, lsl #16
	cmp	x8, x9
	b.ls	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	udiv	x0, x8, x3
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ov5640_compute_sys_clk
.subsections_via_symbols
