	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function dshow_cycle_formats
LCPI0_0:
	.quad	0x416312d000000000              ## double 1.0E+7
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dshow_cycle_formats:                   ## @dshow_cycle_formats
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rax
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	movq	(%rdi), %r12
	movq	$0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	_IID_IAMStreamConfig@GOTPCREL(%rip), %rsi
	leaq	-96(%rbp), %rdx
	movq	%rax, %rdi
	callq	_IPin_QueryInterface
	movq	_S_OK@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_59
## %bb.1:
	movq	-96(%rbp), %rdi
	leaq	-100(%rbp), %rsi
	leaq	-124(%rbp), %rdx
	callq	_IAMStreamConfig_GetNumberOfCapabilities
	cmpl	(%r14), %eax
	jne	LBB0_2
## %bb.3:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movl	-124(%rbp), %edi
	callq	_av_malloc
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	cmpl	$0, -100(%rbp)
	jle	LBB0_57
## %bb.6:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movl	$1, %r12d
	movq	_S_OK@GOTPCREL(%rip), %r15
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r12), %esi
	movq	-96(%rbp), %rdi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rcx
	callq	_IAMStreamConfig_GetStreamCaps
	movl	$0, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_51
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_VideoDevice@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_36
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_avformat_get_riff_video_tags
	movq	%rax, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	-80(%rbp), %rdi
	addq	$8, %rdi
	movq	_FORMAT_VideoInfo@GOTPCREL(%rip), %rsi
	callq	_IsEqualGUID
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rdi
	addq	$8, %rdi
	movq	_FORMAT_VideoInfo2@GOTPCREL(%rip), %rsi
	callq	_IsEqualGUID
	testq	%rax, %rax
	je	LBB0_61
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rax
	movq	(%rax), %r13
	leaq	8(%r13), %r15
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_12
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	_AV_CODEC_ID_RAWVIDEO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%r15), %rsi
	leaq	-64(%rbp), %rdi
	callq	_av_codec_get_id
	cmpq	%rax, %rbx
	jne	LBB0_61
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movslq	8(%rax), %rbx
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%r15), %rdi
	movl	16(%r15), %esi
	callq	_dshow_pixfmt
	cmpq	%rbx, %rax
	jne	LBB0_61
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 64(%rcx)
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=1
	imull	$10000000, 56(%rcx), %eax       ## imm = 0x989680
	cltd
	idivl	48(%rcx)
	cmpl	(%r14), %eax
	jg	LBB0_61
## %bb.24:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	4(%r14), %eax
	jl	LBB0_61
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, (%r13)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	12(%rcx), %eax
	testl	%eax, %eax
	je	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	24(%r14), %eax
	jg	LBB0_61
## %bb.29:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	8(%r14), %eax
	jl	LBB0_61
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	32(%r14), %rcx
	jg	LBB0_61
## %bb.31:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	16(%r14), %rcx
	jge	LBB0_32
LBB0_61:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movq	_S_OK@GOTPCREL(%rip), %r15
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rdi
	addq	$8, %rdi
	movq	_FORMAT_WaveFormatEx@GOTPCREL(%rip), %rsi
	callq	_IsEqualGUID
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_51
## %bb.37:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_62
## %bb.38:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rsi
	movq	(%rsi), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	24(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, %ebx
	cmpl	32(%r14), %ecx
	jg	LBB0_51
## %bb.40:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, %ebx
	cmpl	16(%r14), %ecx
	jl	LBB0_51
## %bb.41:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%ecx, (%rax)
LBB0_42:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_46
## %bb.43:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, %ebx
	cmpq	24(%r14), %rcx
	jg	LBB0_51
## %bb.44:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, %ebx
	cmpq	8(%r14), %rcx
	jl	LBB0_51
## %bb.45:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, 8(%rax)
LBB0_46:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	40(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_50
## %bb.47:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, %ebx
	cmpl	20(%r14), %ecx
	jg	LBB0_51
## %bb.48:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, %ebx
	cmpl	(%r14), %ecx
	jl	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%ecx, 16(%rax)
	jmp	LBB0_50
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%r15), %rdi
	movl	16(%r15), %esi
	callq	_dshow_pixfmt
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_34
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%r15), %rsi
	leaq	-64(%rbp), %rdi
	callq	_av_codec_get_id
	movq	%rax, %r13
	movl	%r13d, %edi
	callq	_avcodec_find_decoder
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_AV_CODEC_ID_NONE@GOTPCREL(%rip), %rcx
	cmpl	%r13d, (%rcx)
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rax), %ecx
	movq	%rdx, %r15
	movq	%rdx, %rdi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_16
LBB0_62:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	8(%r14), %r8
	movl	16(%r14), %r9d
	movl	20(%r14), %r10d
	movl	32(%r14), %r11d
	subq	$8, %rsp
	xorl	%ebx, %ebx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	pushq	%r11
	pushq	24(%r14)
	pushq	%r10
	callq	_av_log
	addq	$32, %rsp
	jmp	LBB0_54
LBB0_34:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r13d
	movl	%eax, %edi
	callq	_av_get_pix_fmt_name
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r13d, %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_35
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	24(%r15), %ecx
	movq	%rdx, %r15
	movq	%rdx, %rdi
	leaq	L_.str(%rip), %rdx
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_av_log
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rbx
LBB0_35:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %esi
	movl	8(%r14), %ecx
	movq	16(%r14), %r8
	cvtsi2sdl	(%r14), %xmm1
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	movapd	%xmm3, %xmm0
	divsd	%xmm1, %xmm0
	movl	24(%r14), %r9d
	cvtsi2sdl	4(%r14), %xmm2
	movapd	%xmm3, %xmm1
	divsd	%xmm2, %xmm1
	subq	$8, %rsp
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rdx
	movb	$2, %al
	pushq	32(%r14)
	callq	_av_log
	addq	$16, %rsp
	xorl	%ebx, %ebx
	movq	_S_OK@GOTPCREL(%rip), %r15
	jmp	LBB0_54
LBB0_32:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, (%r15)
	movq	%rcx, 8(%r15)
LBB0_33:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rsi
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movq	_S_OK@GOTPCREL(%rip), %r15
LBB0_50:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-96(%rbp), %rdi
	callq	_IAMStreamConfig_SetFormat
	xorl	%ebx, %ebx
	cmpl	(%r15), %eax
	sete	%bl
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rdi
	callq	_CoTaskMemFree
	movq	-80(%rbp), %rdi
LBB0_53:                                ##   in Loop: Header=BB0_7 Depth=1
	callq	_CoTaskMemFree
LBB0_54:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	-100(%rbp), %r12d
	jge	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_7 Depth=1
	incl	%r12d
	testl	%ebx, %ebx
	je	LBB0_7
LBB0_56:
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_57
LBB0_2:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_57
LBB0_4:
	xorl	%r14d, %r14d
LBB0_57:
	movq	-96(%rbp), %rdi
	callq	_IAMStreamConfig_Release
	movq	%r14, %rdi
	callq	_av_free
	testq	%r15, %r15
	je	LBB0_59
## %bb.58:
	movl	%ebx, (%r15)
LBB0_59:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_63
## %bb.60:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_63:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IID_IAMStreamConfig,4,2        ## @IID_IAMStreamConfig
	.comm	_S_OK,4,2                       ## @S_OK
	.comm	_VideoDevice,4,2                ## @VideoDevice
	.comm	_FORMAT_VideoInfo,4,2           ## @FORMAT_VideoInfo
	.comm	_FORMAT_VideoInfo2,4,2          ## @FORMAT_VideoInfo2
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.comm	_AV_CODEC_ID_NONE,4,2           ## @AV_CODEC_ID_NONE
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  unknown compression type 0x%X"

L_.str.1:                               ## @.str.1
	.asciz	"  vcodec=%s"

L_.str.2:                               ## @.str.2
	.asciz	"  pixel_format=%s"

L_.str.3:                               ## @.str.3
	.asciz	"  min s=%ldx%ld fps=%g max s=%ldx%ld fps=%g\n"

	.comm	_AV_CODEC_ID_RAWVIDEO,8,3       ## @AV_CODEC_ID_RAWVIDEO
	.comm	_FORMAT_WaveFormatEx,4,2        ## @FORMAT_WaveFormatEx
L_.str.4:                               ## @.str.4
	.asciz	"  min ch=%lu bits=%lu rate=%6lu max ch=%lu bits=%lu rate=%6lu\n"

	.no_dead_strip	_dshow_cycle_formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dshow_cycle_formats
_dshow_cycle_formats:                   ; @dshow_cycle_formats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x8, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x9, [sp, #88]
	ldr	x26, [x0]
	stp	xzr, xzr, [sp, #56]
Lloh3:
	adrp	x1, _IID_IAMStreamConfig@GOTPAGE
Lloh4:
	ldr	x1, [x1, _IID_IAMStreamConfig@GOTPAGEOFF]
	add	x2, sp, #64
	mov	x0, x8
	bl	_IPin_QueryInterface
Lloh5:
	adrp	x27, _S_OK@GOTPAGE
Lloh6:
	ldr	x27, [x27, _S_OK@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_61
; %bb.1:
	ldr	x0, [sp, #64]
	add	x1, sp, #52
	add	x2, sp, #48
	bl	_IAMStreamConfig_GetNumberOfCapabilities
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_57
; %bb.2:
	ldr	w0, [sp, #48]
	bl	_av_malloc
	mov	x22, x0
	cbz	x0, LBB0_58
; %bb.3:
	ldr	w8, [sp, #52]
	cmp	w8, #1
	b.lt	LBB0_58
; %bb.4:
	mov	w24, #1
Lloh7:
	adrp	x23, _VideoDevice@GOTPAGE
Lloh8:
	ldr	x23, [x23, _VideoDevice@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_CoTaskMemFree
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #52]
	cmp	w24, w8
	add	w24, w24, #1
	ccmp	w25, #0, #0, lt
	b.ne	LBB0_59
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w24, #1
	ldr	x0, [sp, #64]
	add	x2, sp, #56
	mov	x3, x22
	bl	_IAMStreamConfig_GetStreamCaps
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_40
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x23]
	cmp	w8, w20
	b.ne	LBB0_27
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_avformat_get_riff_video_tags
	stp	x0, xzr, [sp, #72]
	ldr	x8, [sp, #56]
	add	x0, x8, #8
Lloh9:
	adrp	x1, _FORMAT_VideoInfo@GOTPAGE
Lloh10:
	ldr	x1, [x1, _FORMAT_VideoInfo@GOTPAGEOFF]
	bl	_IsEqualGUID
	cbz	x0, LBB0_43
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #56]
	ldr	x28, [x8]
	add	x25, x28, #8
	cbz	x19, LBB0_45
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x26]
Lloh11:
	adrp	x8, _AV_CODEC_ID_RAWVIDEO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_CODEC_ID_RAWVIDEO@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x23, x8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x25, #24]
	add	x0, sp, #72
	bl	_av_codec_get_id
	cmp	x23, x0
	b.ne	LBB0_48
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x23, [x26, #8]
Lloh14:
	adrp	x8, _AV_PIX_FMT_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w23, w8
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x25, #24]
	ldr	w1, [x25, #16]
	bl	_dshow_pixfmt
	cmp	x0, x23
	b.ne	LBB0_48
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x26, #64]
	cbz	x8, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x26, #56]
	mov	w9, #38528
	movk	w9, #152, lsl #16
	mul	w8, w8, w9
	ldr	w9, [x26, #48]
	sdiv	w8, w8, w9
	ldr	w9, [x22]
	cmp	w8, w9
	b.gt	LBB0_48
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x22, #4]
	cmp	w8, w9
	b.lt	LBB0_48
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w8, [x28]
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x26, #12]
	cbz	w8, LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x26, #16]
	cbz	x9, LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x22, #24]
	cmp	w8, w10
	b.gt	LBB0_48
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x22, #8]
	cmp	w8, w10
	b.lt	LBB0_48
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x22, #32]
	cmp	x9, x10
	b.gt	LBB0_48
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x22, #16]
	cmp	x9, x10
	b.lt	LBB0_48
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w8, [x25]
	str	x9, [x25, #8]
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [sp, #56]
Lloh17:
	adrp	x23, _VideoDevice@GOTPAGE
Lloh18:
	ldr	x23, [x23, _VideoDevice@GOTPAGEOFF]
	b	LBB0_56
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #56]
	add	x0, x8, #8
Lloh19:
	adrp	x1, _FORMAT_WaveFormatEx@GOTPAGE
Lloh20:
	ldr	x1, [x1, _FORMAT_WaveFormatEx@GOTPAGEOFF]
	bl	_IsEqualGUID
	cbz	x0, LBB0_40
; %bb.28:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	x19, LBB0_49
; %bb.29:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [sp, #56]
	ldr	x8, [x1]
	ldr	w9, [x26, #24]
	cbz	w9, LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x22, #32]
	cmp	w9, w10
	b.gt	LBB0_40
; %bb.31:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x22, #16]
	cmp	w9, w10
	b.lt	LBB0_40
; %bb.32:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w9, [x8]
LBB0_33:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x26, #32]
	cbz	x9, LBB0_37
; %bb.34:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x22, #24]
	cmp	x9, x10
	b.gt	LBB0_40
; %bb.35:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x22, #8]
	cmp	x9, x10
	b.lt	LBB0_40
; %bb.36:                               ;   in Loop: Header=BB0_7 Depth=1
	str	x9, [x8, #8]
LBB0_37:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x26, #40]
	cbz	w9, LBB0_56
; %bb.38:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x22, #20]
	cmp	w9, w10
	b.gt	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x22]
	cmp	w9, w10
	b.ge	LBB0_55
LBB0_40:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w25, #0
LBB0_41:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #56]
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.42:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x8
	bl	_CoTaskMemFree
	ldr	x0, [sp, #56]
	b	LBB0_5
LBB0_43:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #56]
	add	x0, x8, #8
Lloh21:
	adrp	x1, _FORMAT_VideoInfo2@GOTPAGE
Lloh22:
	ldr	x1, [x1, _FORMAT_VideoInfo2@GOTPAGEOFF]
	bl	_IsEqualGUID
	cbz	x0, LBB0_48
; %bb.44:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #56]
	ldr	x28, [x8]
	add	x25, x28, #8
Lloh23:
	adrp	x23, _VideoDevice@GOTPAGE
Lloh24:
	ldr	x23, [x23, _VideoDevice@GOTPAGEOFF]
	cbnz	x19, LBB0_11
LBB0_45:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x25, #24]
	ldr	w1, [x25, #16]
	bl	_dshow_pixfmt
Lloh25:
	adrp	x8, _AV_PIX_FMT_NONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x25, #24]
	add	x0, sp, #72
	bl	_av_codec_get_id
	mov	x28, x0
	bl	_avcodec_find_decoder
Lloh28:
	adrp	x8, _AV_CODEC_ID_NONE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_CODEC_ID_NONE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _AV_LOG_INFO@GOTPAGE
Lloh32:
	ldr	x9, [x9, _AV_LOG_INFO@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x9]
	cmp	w8, w28
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_51
; %bb.47:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w3, [x25, #24]
	mov	x0, x21
Lloh34:
	adrp	x2, l_.str@PAGE
Lloh35:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_52
LBB0_48:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w25, #0
Lloh36:
	adrp	x23, _VideoDevice@GOTPAGE
Lloh37:
	ldr	x23, [x23, _VideoDevice@GOTPAGEOFF]
	b	LBB0_41
LBB0_49:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh38:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	w3, [x22]
	ldr	x8, [x22, #8]
	ldr	x9, [x22, #24]
	ldp	w10, w11, [x22, #16]
	ldr	w12, [x22, #32]
	stp	x9, x12, [sp, #24]
	stp	x10, x11, [sp, #8]
	str	x8, [sp]
	mov	x0, x21
Lloh41:
	adrp	x2, l_.str.4@PAGE
Lloh42:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_54
LBB0_50:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh43:
	adrp	x25, _AV_LOG_INFO@GOTPAGE
Lloh44:
	ldr	x25, [x25, _AV_LOG_INFO@GOTPAGEOFF]
	ldr	w28, [x25]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_av_get_pix_fmt_name
	mov	x3, x0
	mov	x0, x21
	mov	x1, x28
Lloh45:
	adrp	x2, l_.str.2@PAGE
Lloh46:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_av_log
	b	LBB0_53
LBB0_51:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w3, [x0]
	mov	x0, x21
Lloh47:
	adrp	x2, l_.str.1@PAGE
Lloh48:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_52:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_av_log
Lloh49:
	adrp	x25, _AV_LOG_INFO@GOTPAGE
Lloh50:
	ldr	x25, [x25, _AV_LOG_INFO@GOTPAGEOFF]
LBB0_53:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x25]
	ldr	w3, [x22, #8]
	ldr	x8, [x22, #16]
	ldp	s0, s1, [x22]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	mov	x9, #20684562497536
	movk	x9, #16739, lsl #48
	fmov	d2, x9
	fdiv	d0, d2, d0
	ldr	x9, [x22, #32]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	ldr	w10, [x22, #24]
	fdiv	d1, d2, d1
	stp	x10, x9, [sp, #16]
	str	x8, [sp]
	str	d1, [sp, #32]
	str	d0, [sp, #8]
	mov	x0, x21
Lloh51:
	adrp	x2, l_.str.3@PAGE
Lloh52:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_54:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_av_log
	mov	w25, #0
	b	LBB0_6
LBB0_55:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w9, [x8, #16]
LBB0_56:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #64]
	bl	_IAMStreamConfig_SetFormat
	ldr	w8, [x27]
	cmp	w0, w8
	cset	w25, eq
	b	LBB0_41
LBB0_57:
	mov	x22, #0
LBB0_58:
	mov	w25, #0
LBB0_59:
	ldr	x0, [sp, #64]
	bl	_IAMStreamConfig_Release
	mov	x0, x22
	bl	_av_free
	cbz	x19, LBB0_61
; %bb.60:
	str	w25, [x19]
LBB0_61:
	ldr	x8, [sp, #88]
Lloh53:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh54:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_63
; %bb.62:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_63:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_IID_IAMStreamConfig,4,2        ; @IID_IAMStreamConfig
	.comm	_S_OK,4,2                       ; @S_OK
	.comm	_VideoDevice,4,2                ; @VideoDevice
	.comm	_FORMAT_VideoInfo,4,2           ; @FORMAT_VideoInfo
	.comm	_FORMAT_VideoInfo2,4,2          ; @FORMAT_VideoInfo2
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.comm	_AV_CODEC_ID_NONE,4,2           ; @AV_CODEC_ID_NONE
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  unknown compression type 0x%X"

l_.str.1:                               ; @.str.1
	.asciz	"  vcodec=%s"

l_.str.2:                               ; @.str.2
	.asciz	"  pixel_format=%s"

l_.str.3:                               ; @.str.3
	.asciz	"  min s=%ldx%ld fps=%g max s=%ldx%ld fps=%g\n"

	.comm	_AV_CODEC_ID_RAWVIDEO,8,3       ; @AV_CODEC_ID_RAWVIDEO
	.comm	_FORMAT_WaveFormatEx,4,2        ; @FORMAT_WaveFormatEx
l_.str.4:                               ; @.str.4
	.asciz	"  min ch=%lu bits=%lu rate=%6lu max ch=%lu bits=%lu rate=%6lu\n"

	.no_dead_strip	_dshow_cycle_formats
.subsections_via_symbols
