	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isc_enum_frameintervals
_isc_enum_frameintervals:               ## @isc_enum_frameintervals
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	callq	_video_drvdata
	movq	$0, -64(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movl	16(%r15), %ecx
	movl	%ecx, -52(%rbp)
	movl	20(%r15), %ecx
	movl	%ecx, -48(%rbp)
	movl	24(%r15), %ecx
	movl	%ecx, -44(%rbp)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	movl	(%rax), %r9d
	testq	%r9, %r9
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.1:
	movq	24(%rax), %r11
	movq	(%r15), %rdx
	leaq	-1(%r9), %rdi
	movl	%r9d, %r8d
	andl	$3, %r8d
	xorl	%r10d, %r10d
	cmpq	$3, %rdi
	jae	LBB0_13
## %bb.2:
	xorl	%edi, %edi
	jmp	LBB0_3
LBB0_13:
	andl	$-4, %r9d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r11,%rdi,8), %rsi
	movq	8(%r11,%rdi,8), %rcx
	cmpq	%rdx, (%rsi)
	cmovel	%r10d, %ebx
	cmpq	%rdx, (%rcx)
	cmovel	%r10d, %ebx
	movq	16(%r11,%rdi,8), %rcx
	cmpq	%rdx, (%rcx)
	movq	24(%r11,%rdi,8), %rcx
	cmovel	%r10d, %ebx
	cmpq	%rdx, (%rcx)
	cmovel	%r10d, %ebx
	addq	$4, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_14
LBB0_3:
	testq	%r8, %r8
	je	LBB0_6
## %bb.4:
	leaq	(%r11,%rdi,8), %rcx
	xorl	%eax, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdi
	cmpq	%rdx, (%rdi)
	cmovel	%eax, %ebx
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_5
LBB0_6:
	movq	_controller_formats@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%rdi,%r14,8), %rax
	cmpq	(%r15), %rax
	cmovel	%r13d, %ebx
	incq	%r14
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %r14
	jb	LBB0_8
LBB0_9:
	testl	%ebx, %ebx
	jne	LBB0_12
## %bb.10:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movl	(%rax), %edi
	movq	_pad@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_enum_frame_interval@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	_V4L2_FRMIVAL_TYPE_DISCRETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movl	-64(%rbp), %eax
	movl	%eax, 8(%r15)
	xorl	%ebx, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_controller_formats,8,3         ## @controller_formats
	.comm	_pad,4,2                        ## @pad
	.comm	_enum_frame_interval,4,2        ## @enum_frame_interval
	.comm	_V4L2_FRMIVAL_TYPE_DISCRETE,4,2 ## @V4L2_FRMIVAL_TYPE_DISCRETE
	.no_dead_strip	_isc_enum_frameintervals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isc_enum_frameintervals
_isc_enum_frameintervals:               ; @isc_enum_frameintervals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	bl	_video_drvdata
	mov	x21, x0
Lloh0:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
	str	xzr, [sp, #8]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	d0, [x19, #16]
	stur	d0, [sp, #20]
	ldr	w8, [x19, #24]
	str	w8, [sp, #28]
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x21, #24]
	ldr	x10, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9], #8
	ldr	x11, [x11]
	cmp	x11, x10
	csel	w20, wzr, w20, eq
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
Lloh6:
	adrp	x22, _controller_formats@GOTPAGE
Lloh7:
	ldr	x22, [x22, _controller_formats@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_6
; %bb.4:
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	x8, [x0, x23, lsl #3]
	ldr	x9, [x19]
	cmp	x8, x9
	csel	w20, wzr, w20, eq
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	cmp	x23, w0, uxtw
	b.lo	LBB0_5
LBB0_6:
	cbnz	w20, LBB0_9
; %bb.7:
	ldr	x8, [x21, #16]
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _pad@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pad@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _enum_frame_interval@GOTPAGE
Lloh12:
	ldr	x8, [x8, _enum_frame_interval@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	x3, #0
	bl	_v4l2_subdev_call
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.8:
Lloh14:
	adrp	x8, _V4L2_FRMIVAL_TYPE_DISCRETE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_FRMIVAL_TYPE_DISCRETE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	stp	w9, w8, [x19, #8]
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_controller_formats,8,3         ; @controller_formats
	.comm	_pad,4,2                        ; @pad
	.comm	_enum_frame_interval,4,2        ; @enum_frame_interval
	.comm	_V4L2_FRMIVAL_TYPE_DISCRETE,4,2 ; @V4L2_FRMIVAL_TYPE_DISCRETE
	.no_dead_strip	_isc_enum_frameintervals
.subsections_via_symbols
