	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function venc_enum_frameintervals
_venc_enum_frameintervals:              ## @venc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_to_inst
	movq	%rax, %r14
	movq	_V4L2_FRMIVAL_TYPE_STEPWISE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movl	64(%rbx), %esi
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_find_format
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	64(%rbx), %esi
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_find_format
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	cmpq	$0, 56(%rbx)
	je	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_2
## %bb.5:
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.6:
	movq	%r14, %rdi
	callq	_frame_width_max
	cmpq	%rax, %r15
	jg	LBB0_2
## %bb.7:
	movq	(%rbx), %r15
	movq	%r14, %rdi
	callq	_frame_width_min
	cmpq	%rax, %r15
	jl	LBB0_2
## %bb.8:
	movq	8(%rbx), %r15
	movq	%r14, %rdi
	callq	_frame_height_max
	cmpq	%rax, %r15
	jg	LBB0_2
## %bb.9:
	movq	8(%rbx), %r15
	movq	%r14, %rdi
	callq	_frame_height_min
	cmpq	%rax, %r15
	jl	LBB0_2
## %bb.10:
	movl	$1, 40(%rbx)
	movq	%r14, %rdi
	callq	_frate_max
	movq	%rax, 48(%rbx)
	movl	$1, 32(%rbx)
	movq	%r14, %rdi
	callq	_frate_min
	movl	%eax, 36(%rbx)
	movl	$1, 16(%rbx)
	movq	%r14, %rdi
	callq	_frate_max
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_FRMIVAL_TYPE_STEPWISE,4,2 ## @V4L2_FRMIVAL_TYPE_STEPWISE
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,4,2 ## @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_venc_enum_frameintervals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function venc_enum_frameintervals
_venc_enum_frameintervals:              ; @venc_enum_frameintervals
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	bl	_to_inst
	mov	x20, x0
Lloh0:
	adrp	x8, _V4L2_FRMIVAL_TYPE_STEPWISE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_FRMIVAL_TYPE_STEPWISE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #68]
	ldr	w1, [x19, #64]
Lloh3:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_find_format
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19, #64]
Lloh6:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_find_format
	cbz	x0, LBB0_3
LBB0_2:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x21, [x19]
	cbz	x21, LBB0_3
; %bb.6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.7:
	mov	x0, x20
	bl	_frame_width_max
	cmp	x21, x0
	b.gt	LBB0_3
; %bb.8:
	ldr	x21, [x19]
	mov	x0, x20
	bl	_frame_width_min
	cmp	x21, x0
	b.lt	LBB0_3
; %bb.9:
	ldr	x21, [x19, #8]
	mov	x0, x20
	bl	_frame_height_max
	cmp	x21, x0
	b.gt	LBB0_3
; %bb.10:
	ldr	x21, [x19, #8]
	mov	x0, x20
	bl	_frame_height_min
	cmp	x21, x0
	b.lt	LBB0_3
; %bb.11:
	mov	w21, #1
	str	w21, [x19, #40]
	mov	x0, x20
	bl	_frate_max
	str	x0, [x19, #48]
	str	w21, [x19, #32]
	mov	x0, x20
	bl	_frate_min
	str	w0, [x19, #36]
	str	w21, [x19, #16]
	mov	x0, x20
	bl	_frate_max
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #24]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_FRMIVAL_TYPE_STEPWISE,4,2 ; @V4L2_FRMIVAL_TYPE_STEPWISE
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,4,2 ; @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_venc_enum_frameintervals
.subsections_via_symbols
