	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov2680_enum_frame_size
_ov2680_enum_frame_size:                ## @ov2680_enum_frame_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %eax
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_OV2680_MODE_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_2
## %bb.3:
	movq	_ov2680_mode_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqu	%xmm0, 4(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV2680_MODE_MAX,4,2            ## @OV2680_MODE_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ov2680_mode_data,8,3           ## @ov2680_mode_data
	.no_dead_strip	_ov2680_enum_frame_size
.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_size
_ov2680_enum_frame_size:                ; @ov2680_enum_frame_size
	.cfi_startproc
; %bb.0:
	ldr	w8, [x2]
	tbnz	w8, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _OV2680_MODE_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OV2680_MODE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.2:
	mov	w0, #0
Lloh3:
	adrp	x9, _ov2680_mode_data@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ov2680_mode_data@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	d0, [x9, x8, lsl #3]
	mov.d	v0[1], v0[0]
	stur	q0, [x2, #4]
	ret
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OV2680_MODE_MAX,4,2            ; @OV2680_MODE_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ov2680_mode_data,8,3           ; @ov2680_mode_data
	.no_dead_strip	_ov2680_enum_frame_size
.subsections_via_symbols
