	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov7675_apply_framerate
_ov7675_apply_framerate:                ## @ov7675_apply_framerate
	.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	%rdi, %r14
	callq	_to_state
	movq	%rax, %rbx
	movq	_REG_CLKRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	callq	_ov7670_write
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	_REG_DBLV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpq	$0, (%rbx)
	jne	LBB0_2
## %bb.3:
	movq	_DBLV_X4@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_DBLV_BYPASS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ov7670_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_CLKRC,4,2                  ## @REG_CLKRC
	.comm	_REG_DBLV,4,2                   ## @REG_DBLV
	.comm	_DBLV_BYPASS,4,2                ## @DBLV_BYPASS
	.comm	_DBLV_X4,4,2                    ## @DBLV_X4
	.no_dead_strip	_ov7675_apply_framerate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov7675_apply_framerate
_ov7675_apply_framerate:                ; @ov7675_apply_framerate
	.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, x0
	bl	_to_state
	mov	x20, x0
Lloh0:
	adrp	x8, _REG_CLKRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_CLKRC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0, #8]
	mov	x0, x19
	bl	_ov7670_write
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _REG_DBLV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_DBLV@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _DBLV_BYPASS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DBLV_BYPASS@GOTPAGEOFF]
Lloh8:
	adrp	x10, _DBLV_X4@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DBLV_X4@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ov7670_write
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_CLKRC,4,2                  ; @REG_CLKRC
	.comm	_REG_DBLV,4,2                   ; @REG_DBLV
	.comm	_DBLV_BYPASS,4,2                ; @DBLV_BYPASS
	.comm	_DBLV_X4,4,2                    ; @DBLV_X4
	.no_dead_strip	_ov7675_apply_framerate
.subsections_via_symbols
