	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov2680_enum_frame_interval
_ov2680_enum_frame_interval:            ## @ov2680_enum_frame_interval
	.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), %rax
	movq	_OV2680_MODE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.1:
	movq	8(%rdx), %rax
	movq	_OV2680_WIDTH_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_4
## %bb.2:
	movq	16(%rdx), %rax
	movq	_OV2680_HEIGHT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_4
## %bb.3:
	movq	24(%rdx), %rax
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_OV2680_FRAME_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, 32(%rdx)
	movl	%eax, 36(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV2680_MODE_MAX,8,3            ## @OV2680_MODE_MAX
	.comm	_OV2680_WIDTH_MAX,8,3           ## @OV2680_WIDTH_MAX
	.comm	_OV2680_HEIGHT_MAX,8,3          ## @OV2680_HEIGHT_MAX
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,8,3  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OV2680_FRAME_RATE,4,2          ## @OV2680_FRAME_RATE
	.no_dead_strip	_ov2680_enum_frame_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov2680_enum_frame_interval
_ov2680_enum_frame_interval:            ; @ov2680_enum_frame_interval
	.cfi_startproc
; %bb.0:
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _OV2680_MODE_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OV2680_MODE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.1:
	ldr	x8, [x2, #8]
Lloh3:
	adrp	x9, _OV2680_WIDTH_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OV2680_WIDTH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.2:
	ldr	x8, [x2, #16]
Lloh6:
	adrp	x9, _OV2680_HEIGHT_MAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OV2680_HEIGHT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.3:
	ldr	x8, [x2, #24]
Lloh9:
	adrp	x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
	mov	w0, #0
Lloh15:
	adrp	x8, _OV2680_FRAME_RATE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OV2680_FRAME_RATE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x2, #32]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_OV2680_MODE_MAX,8,3            ; @OV2680_MODE_MAX
	.comm	_OV2680_WIDTH_MAX,8,3           ; @OV2680_WIDTH_MAX
	.comm	_OV2680_HEIGHT_MAX,8,3          ; @OV2680_HEIGHT_MAX
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,8,3  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OV2680_FRAME_RATE,4,2          ; @OV2680_FRAME_RATE
	.no_dead_strip	_ov2680_enum_frame_interval
.subsections_via_symbols
