	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dshow_cycle_devices
_dshow_cycle_devices:                   ## @dshow_cycle_devices
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r8
	movq	%rdi, %r13
	movq	(%rdi), %rsi
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -48(%rbp)
	movq	_VideoDevice@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	cmpl	%edx, (%rdi)
	setne	%bl
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %r12
	cmoveq	%rdi, %r12
	movq	_VideoSourceDevice@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	movq	(%rsi), %rax
	movl	%edx, %edx
	movq	(%rax,%rdx,8), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leaq	L_.str.2(%rip), %r14
	cmoveq	%rdi, %r14
	movl	8(%rsi,%rbx,4), %ebx
	movl	%ecx, %eax
	leaq	l___const.dshow_cycle_devices.device_guid(%rip), %rcx
	movq	(%rcx,%rax,8), %rsi
	leaq	-104(%rbp), %rdx
	movq	%r8, %rdi
	xorl	%ecx, %ecx
	callq	_ICreateDevEnum_CreateClassEnumerator
	movq	_S_OK@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_13
## %bb.1:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rbx
	leaq	-56(%rbp), %r13
	movq	-160(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	callq	_IMoniker_Release
	cmpq	$0, -112(%rbp)
	jne	LBB0_34
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	-104(%rbp), %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_IEnumMoniker_Next
	cmpl	(%r15), %eax
	jne	LBB0_34
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, -96(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -128(%rbp)
	movl	$1, %edi
	leaq	-128(%rbp), %rsi
	callq	_CoGetMalloc
	cmpl	(%r15), %eax
	jne	LBB0_26
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	leaq	-88(%rbp), %rsi
	callq	_CreateBindCtx
	cmpl	(%r15), %eax
	jne	LBB0_26
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	movq	-88(%rbp), %rsi
	xorl	%edx, %edx
	leaq	-80(%rbp), %rcx
	callq	_IMoniker_GetDisplayName
	cmpl	(%r15), %eax
	jne	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rbx
	movq	%r14, %r12
	movq	-80(%rbp), %rdi
	callq	_dup_wchar_to_utf8
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%r14
	callq	_strlen
	cltq
	cmpq	%rax, %r14
	jge	LBB0_11
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rdi
	cmpb	$58, (%rdi,%r14)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movb	$95, (%rdi,%r14)
	movq	-56(%rbp), %rdi
	jmp	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	_IID_IPropertyBag@GOTPCREL(%rip), %rcx
	leaq	-96(%rbp), %r8
	callq	_IMoniker_BindToStorage
	cmpl	(%r15), %eax
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VT_BSTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -168(%rbp)
	movq	-96(%rbp), %rdi
	leaq	l_.str.4(%rip), %rsi
	leaq	-176(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_IPropertyBag_Read
	cmpl	(%r15), %eax
	movq	%r12, %r14
	jne	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-176(%rbp), %rdi
	callq	_dup_wchar_to_utf8
	movq	%rax, -136(%rbp)
	cmpq	$0, -120(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_25
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	leaq	-48(%rbp), %rbx
	jae	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	_IID_IBaseFilter@GOTPCREL(%rip), %rcx
	leaq	-112(%rbp), %r8
	callq	_IMoniker_BindToObject
	cmpl	(%r15), %eax
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	$0, -56(%rbp)
	movl	$-1, -60(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_26
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r14
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r12
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rbx
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-128(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_IMalloc_Free
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_IBindCtx_Release
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-136(%rbp), %rdi
	callq	_av_freep
	movq	%r13, %rdi
	callq	_av_freep
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_IPropertyBag_Release
	jmp	LBB0_33
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %r14
	leaq	L_.str.7(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_24
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_av_log
	movl	$-1, -60(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_26
LBB0_13:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_av_log
LBB0_14:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_38
LBB0_34:
	movq	-104(%rbp), %rdi
	callq	_IEnumMoniker_Release
	xorl	%eax, %eax
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_38
## %bb.35:
	movq	-112(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.37:
	movq	%rcx, (%rdx)
LBB0_38:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	movq	%r12, %r8
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_VideoDevice,4,2                ## @VideoDevice
	.comm	_CLSID_VideoInputDeviceCategory,4,2 ## @CLSID_VideoInputDeviceCategory
	.comm	_CLSID_AudioInputDeviceCategory,4,2 ## @CLSID_AudioInputDeviceCategory
	.section	__DATA,__const
	.p2align	4                               ## @__const.dshow_cycle_devices.device_guid
l___const.dshow_cycle_devices.device_guid:
	.quad	_CLSID_VideoInputDeviceCategory
	.quad	_CLSID_AudioInputDeviceCategory

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"video"

L_.str.1:                               ## @.str.1
	.asciz	"audio only"

	.comm	_VideoSourceDevice,4,2          ## @VideoSourceDevice
L_.str.2:                               ## @.str.2
	.asciz	"audio"

	.comm	_S_OK,4,2                       ## @S_OK
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"Could not enumerate %s devices (or none found).\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_IID_IPropertyBag,4,2           ## @IID_IPropertyBag
	.comm	_VT_BSTR,4,2                    ## @VT_BSTR
	.section	__TEXT,__const
	.p2align	2                               ## @.str.4
l_.str.4:
	.long	70                              ## 0x46
	.long	114                             ## 0x72
	.long	105                             ## 0x69
	.long	101                             ## 0x65
	.long	110                             ## 0x6e
	.long	100                             ## 0x64
	.long	108                             ## 0x6c
	.long	121                             ## 0x79
	.long	78                              ## 0x4e
	.long	97                              ## 0x61
	.long	109                             ## 0x6d
	.long	101                             ## 0x65
	.long	0                               ## 0x0

	.comm	_IID_IBaseFilter,4,2            ## @IID_IBaseFilter
	.section	__TEXT,__cstring,cstring_literals
L_.str.5:                               ## @.str.5
	.asciz	"Unable to BindToObject for %s\n"

	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
L_.str.6:                               ## @.str.6
	.asciz	" \"%s\"\n"

L_.str.7:                               ## @.str.7
	.asciz	"    Alternative name \"%s\"\n"

L_.str.8:                               ## @.str.8
	.asciz	"Could not find %s device with name [%s] among source devices of type %s.\n"

	.no_dead_strip	_dshow_cycle_devices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dshow_cycle_devices
_dshow_cycle_devices:                   ; @dshow_cycle_devices
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x23, x5
	mov	x20, x4
	mov	x8, x1
	mov	x19, x0
	ldr	x9, [x0]
	stur	xzr, [x29, #-88]
	stp	xzr, xzr, [sp, #88]
	ldr	x10, [x9]
	ldr	x22, [x10, w2, uxtw #3]
Lloh0:
	adrp	x10, _VideoDevice@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VideoDevice@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w10, w2
	mov	w10, #12
	mov	w11, #8
	csel	x10, x11, x10, eq
	ldr	w27, [x9, x10]
Lloh3:
	adrp	x9, l_.str.1@PAGE
Lloh4:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh5:
	adrp	x10, l_.str@PAGE
Lloh6:
	add	x10, x10, l_.str@PAGEOFF
	csel	x21, x10, x9, eq
Lloh7:
	adrp	x9, _VideoSourceDevice@GOTPAGE
Lloh8:
	ldr	x9, [x9, _VideoSourceDevice@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x11, l_.str.2@PAGE
Lloh11:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	w9, w3
	csel	x28, x10, x11, eq
Lloh12:
	adrp	x9, l___const.dshow_cycle_devices.device_guid@PAGE
Lloh13:
	add	x9, x9, l___const.dshow_cycle_devices.device_guid@PAGEOFF
	ldr	x1, [x9, w3, uxtw #3]
	add	x2, sp, #96
	mov	x0, x8
	mov	w3, #0
	bl	_ICreateDevEnum_CreateClassEnumerator
Lloh14:
	adrp	x26, _S_OK@GOTPAGE
Lloh15:
	ldr	x26, [x26, _S_OK@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_30
; %bb.1:
	mov	w25, #95
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #88]
	bl	_IMoniker_Release
	ldur	x8, [x29, #-88]
	cbnz	x8, LBB0_32
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x0, [sp, #96]
	add	x2, sp, #88
	mov	w1, #1
	mov	x3, #0
	bl	_IEnumMoniker_Next
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_32
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	stp	xzr, xzr, [sp, #72]
	str	xzr, [sp, #64]
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #24]
	add	x1, sp, #24
	mov	w0, #1
	bl	_CoGetMalloc
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #40
	mov	w0, #0
	bl	_CreateBindCtx
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #88]
	ldr	x1, [sp, #40]
	add	x3, sp, #32
	mov	x2, #0
	bl	_IMoniker_GetDisplayName
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #32]
	bl	_dup_wchar_to_utf8
	str	x0, [sp, #64]
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x24, x24, #1
	bl	_strlen
	cmp	x24, w0, sxtw
	b.ge	LBB0_12
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [sp, #64]
	ldrb	w8, [x0, x24]
	cmp	w8, #58
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	strb	w25, [x0, x24]
	ldr	x0, [sp, #64]
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #88]
	add	x4, sp, #80
	mov	w1, #0
	mov	w2, #0
Lloh16:
	adrp	x3, _IID_IPropertyBag@GOTPAGE
Lloh17:
	ldr	x3, [x3, _IID_IPropertyBag@GOTPAGEOFF]
	bl	_IMoniker_BindToStorage
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh18:
	adrp	x8, _VT_BSTR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VT_BSTR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	ldr	x0, [sp, #80]
	add	x2, sp, #48
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x3, #0
	bl	_IPropertyBag_Read
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #48]
	bl	_dup_wchar_to_utf8
	mov	x3, x0
	str	x0, [sp, #72]
	cbz	x20, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x3
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #64]
	mov	x0, x22
	bl	_strcmp
	cbnz	x0, LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w27, LBB0_27
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	w27, w27, #1
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh23:
	adrp	x24, _AV_LOG_INFO@GOTPAGE
Lloh24:
	ldr	x24, [x24, _AV_LOG_INFO@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
Lloh25:
	adrp	x2, l_.str.6@PAGE
Lloh26:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_av_log
	ldr	w1, [x24]
	ldr	x3, [sp, #64]
	mov	x0, x19
Lloh27:
	adrp	x2, l_.str.7@PAGE
Lloh28:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_av_log
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #32]
	cbz	x1, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_IMalloc_Free
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_IBindCtx_Release
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #72
	bl	_av_freep
	add	x0, sp, #64
	bl	_av_freep
	ldr	x0, [sp, #80]
	cbz	x0, LBB0_2
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_IPropertyBag_Release
	b	LBB0_2
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #88]
	sub	x4, x29, #88
	mov	w1, #0
	mov	w2, #0
Lloh29:
	adrp	x3, _IID_IBaseFilter@GOTPAGE
Lloh30:
	ldr	x3, [x3, _IID_IBaseFilter@GOTPAGEOFF]
	bl	_IMoniker_BindToObject
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #64]
	str	x8, [x23]
	str	xzr, [sp, #64]
	mov	w27, #-1
	b	LBB0_20
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh31:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
Lloh34:
	adrp	x2, l_.str.5@PAGE
Lloh35:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x3, x22
	bl	_av_log
	mov	w27, #-1
	b	LBB0_20
LBB0_30:
Lloh36:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x2, l_.str.3@PAGE
Lloh40:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_31:
	mov	x0, x19
	mov	x3, x21
	bl	_av_log
Lloh41:
	adrp	x8, _EIO@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_36
LBB0_32:
	ldr	x0, [sp, #96]
	bl	_IEnumMoniker_Release
	cbz	x20, LBB0_35
; %bb.33:
	ldur	x8, [x29, #-88]
	cbz	x8, LBB0_37
; %bb.34:
	mov	w0, #0
	str	x8, [x20]
	b	LBB0_36
LBB0_35:
	mov	w0, #0
LBB0_36:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_37:
Lloh44:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	stp	x22, x28, [sp]
Lloh47:
	adrp	x2, l_.str.8@PAGE
Lloh48:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_31
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_VideoDevice,4,2                ; @VideoDevice
	.comm	_CLSID_VideoInputDeviceCategory,4,2 ; @CLSID_VideoInputDeviceCategory
	.comm	_CLSID_AudioInputDeviceCategory,4,2 ; @CLSID_AudioInputDeviceCategory
	.section	__DATA,__const
	.p2align	3                               ; @__const.dshow_cycle_devices.device_guid
l___const.dshow_cycle_devices.device_guid:
	.quad	_CLSID_VideoInputDeviceCategory
	.quad	_CLSID_AudioInputDeviceCategory

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"video"

l_.str.1:                               ; @.str.1
	.asciz	"audio only"

	.comm	_VideoSourceDevice,4,2          ; @VideoSourceDevice
l_.str.2:                               ; @.str.2
	.asciz	"audio"

	.comm	_S_OK,4,2                       ; @S_OK
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"Could not enumerate %s devices (or none found).\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_IID_IPropertyBag,4,2           ; @IID_IPropertyBag
	.comm	_VT_BSTR,4,2                    ; @VT_BSTR
	.section	__TEXT,__const
	.p2align	2                               ; @.str.4
l_.str.4:
	.long	70                              ; 0x46
	.long	114                             ; 0x72
	.long	105                             ; 0x69
	.long	101                             ; 0x65
	.long	110                             ; 0x6e
	.long	100                             ; 0x64
	.long	108                             ; 0x6c
	.long	121                             ; 0x79
	.long	78                              ; 0x4e
	.long	97                              ; 0x61
	.long	109                             ; 0x6d
	.long	101                             ; 0x65
	.long	0                               ; 0x0

	.comm	_IID_IBaseFilter,4,2            ; @IID_IBaseFilter
	.section	__TEXT,__cstring,cstring_literals
l_.str.5:                               ; @.str.5
	.asciz	"Unable to BindToObject for %s\n"

	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
l_.str.6:                               ; @.str.6
	.asciz	" \"%s\"\n"

l_.str.7:                               ; @.str.7
	.asciz	"    Alternative name \"%s\"\n"

l_.str.8:                               ; @.str.8
	.asciz	"Could not find %s device with name [%s] among source devices of type %s.\n"

	.no_dead_strip	_dshow_cycle_devices
.subsections_via_symbols
