	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov519_set_fr
_ov519_set_fr:                          ## @ov519_set_fr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_frame_rate@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_1
## %bb.2:
	movl	%ecx, (%r15)
	cmpl	$29, %ecx
	jle	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movl	(%r15), %ecx
	cmpl	$29, %ecx
	jg	LBB0_4
LBB0_5:
	movl	$1, %eax
	cmpl	$24, %ecx
	jg	LBB0_9
## %bb.6:
	movl	$2, %eax
	cmpl	$19, %ecx
	jg	LBB0_9
## %bb.7:
	movl	$3, %eax
	cmpl	$14, %ecx
	jg	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	cmpl	$10, %ecx
	setge	%al
	xorq	$5, %rax
LBB0_9:
	movq	16(%r15), %rcx
	leaq	(%rcx,%rcx,8), %rcx
	leaq	_ov519_set_fr.fr_tb(%rip), %r14
	leaq	(%r14,%rcx,8), %rcx
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rbx
	movl	(%rcx,%rbx), %edx
	movq	%r15, %rdi
	movl	$164, %esi
	callq	_reg_w
	movq	16(%r15), %rax
	leaq	(%rax,%rax,8), %rax
	leaq	(%r14,%rax,8), %rax
	movl	4(%rax,%rbx), %edx
	movq	%r15, %rdi
	movl	$35, %esi
	callq	_reg_w
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	leaq	(%rcx,%rcx,8), %rcx
	leaq	(%r14,%rcx,8), %rcx
	movl	8(%rcx,%rbx), %ecx
	movq	_SEN_OV7660@GOTPCREL(%rip), %rsi
	movl	%ecx, %edx
	orl	$128, %edx
	cmpq	(%rsi), %rax
	cmovnel	%ecx, %edx
	movq	_OV7670_R11_CLKRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ov518_i2c_w                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ov519_set_fr.fr_tb
_ov519_set_fr.fr_tb:
	.long	4                               ## 0x4
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	31                              ## 0x1f
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	27                              ## 0x1b
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	21                              ## 0x15
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	9                               ## 0x9
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	12                              ## 0xc
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	12                              ## 0xc
	.long	31                              ## 0x1f
	.long	0                               ## 0x0
	.long	12                              ## 0xc
	.long	27                              ## 0x1b
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	255                             ## 0xff
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.long	31                              ## 0x1f
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.long	27                              ## 0x1b
	.long	1                               ## 0x1

	.comm	_frame_rate,8,3                 ## @frame_rate
	.comm	_SEN_OV7660,8,3                 ## @SEN_OV7660
	.comm	_OV7670_R11_CLKRC,4,2           ## @OV7670_R11_CLKRC
	.no_dead_strip	_ov519_set_fr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov519_set_fr
_ov519_set_fr:                          ; @ov519_set_fr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _frame_rate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _frame_rate@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	b.le	LBB0_2
; %bb.1:
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
LBB0_3:
	mov	w9, #1
	mov	w10, #2
	mov	w11, #3
	cmp	w8, #9
	mov	w12, #4
	cinc	x12, x12, le
	cmp	w8, #14
	csel	x11, x11, x12, gt
	cmp	w8, #19
	csel	x10, x10, x11, gt
	cmp	w8, #24
	csel	x9, x9, x10, gt
	cmp	w8, #29
	csel	x8, xzr, x9, gt
	ldr	x9, [x19, #16]
Lloh3:
	adrp	x20, _ov519_set_fr.fr_tb@PAGE
Lloh4:
	add	x20, x20, _ov519_set_fr.fr_tb@PAGEOFF
	mov	w21, #72
	madd	x9, x9, x21, x20
	add	x8, x8, x8, lsl #1
	lsl	x22, x8, #2
	ldr	w2, [x9, x22]
	mov	x0, x19
	mov	w1, #164
	bl	_reg_w
	ldr	x8, [x19, #16]
	madd	x8, x8, x21, x20
	add	x8, x8, x22
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	w1, #35
	bl	_reg_w
	ldp	x9, x8, [x19, #8]
	madd	x8, x8, x21, x20
	add	x8, x8, x22
	ldr	w8, [x8, #8]
Lloh5:
	adrp	x10, _SEN_OV7660@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SEN_OV7660@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	orr	w11, w8, #0x80
	cmp	x9, x10
	csel	w2, w11, w8, eq
Lloh8:
	adrp	x8, _OV7670_R11_CLKRC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OV7670_R11_CLKRC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ov518_i2c_w
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ov519_set_fr.fr_tb
_ov519_set_fr.fr_tb:
	.long	4                               ; 0x4
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	31                              ; 0x1f
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	27                              ; 0x1b
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	21                              ; 0x15
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	9                               ; 0x9
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	12                              ; 0xc
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	12                              ; 0xc
	.long	31                              ; 0x1f
	.long	0                               ; 0x0
	.long	12                              ; 0xc
	.long	27                              ; 0x1b
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	255                             ; 0xff
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.long	31                              ; 0x1f
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.long	27                              ; 0x1b
	.long	1                               ; 0x1

	.comm	_frame_rate,8,3                 ; @frame_rate
	.comm	_SEN_OV7660,8,3                 ; @SEN_OV7660
	.comm	_OV7670_R11_CLKRC,4,2           ; @OV7670_R11_CLKRC
	.no_dead_strip	_ov519_set_fr
.subsections_via_symbols
