	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx214_enum_frame_interval
_imx214_enum_frame_interval:            ## @imx214_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %rbx
	movq	_imx214_modes@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	_width@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_height@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	16(%rbx), %r9d
	movl	20(%rbx), %r8d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_v4l2_find_nearest_size
	movq	_IMX214_MBUS_CODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 20(%rbx)
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	$1, 8(%rbx)
	movq	_IMX214_FPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_imx214_modes,4,2               ## @imx214_modes
	.comm	_width,4,2                      ## @width
	.comm	_height,4,2                     ## @height
	.comm	_IMX214_MBUS_CODE,4,2           ## @IMX214_MBUS_CODE
	.comm	_IMX214_FPS,4,2                 ## @IMX214_FPS
	.no_dead_strip	_imx214_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 imx214_enum_frame_interval
_imx214_enum_frame_interval:            ; @imx214_enum_frame_interval
	.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
	ldr	x8, [x2]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x2
Lloh3:
	adrp	x8, _imx214_modes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _imx214_modes@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x1, x0
Lloh6:
	adrp	x8, _width@GOTPAGE
Lloh7:
	ldr	x8, [x8, _width@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _height@GOTPAGE
Lloh10:
	ldr	x8, [x8, _height@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	ldp	w5, w4, [x19, #16]
	mov	x0, x20
	bl	_v4l2_find_nearest_size
	mov	x8, x0
	mov	w0, #0
Lloh12:
	adrp	x9, _IMX214_MBUS_CODE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IMX214_MBUS_CODE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	str	w9, [x19, #24]
	ldr	d0, [x8]
	str	d0, [x19, #16]
	mov	w8, #1
Lloh15:
	adrp	x9, _IMX214_FPS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IMX214_FPS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #8]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_imx214_modes,4,2               ; @imx214_modes
	.comm	_width,4,2                      ; @width
	.comm	_height,4,2                     ; @height
	.comm	_IMX214_MBUS_CODE,4,2           ; @IMX214_MBUS_CODE
	.comm	_IMX214_FPS,4,2                 ; @IMX214_FPS
	.no_dead_strip	_imx214_enum_frame_interval
.subsections_via_symbols
