	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dshow_try_setup_crossbar_options ## -- Begin function dshow_try_setup_crossbar_options
	.p2align	4, 0x90
_dshow_try_setup_crossbar_options:      ## @dshow_try_setup_crossbar_options
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rcx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, -56(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	_LOOK_UPSTREAM_ONLY@GOTPCREL(%rip), %rsi
	movq	_IID_IAMCrossbar@GOTPCREL(%rip), %r8
	leaq	-56(%rbp), %r9
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_ICaptureGraphBuilder2_FindInterface
	movq	_S_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	cmpq	%rbx, %rax
	jne	LBB0_20
## %bb.1:
	movq	_VideoDevice@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r13d, %eax
	jne	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 24(%rcx)
	jne	LBB0_5
LBB0_3:
	movq	_AudioDevice@GOTPCREL(%rip), %rcx
	cmpl	%r13d, (%rcx)
	jne	LBB0_7
## %bb.4:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 16(%rcx)
	je	LBB0_7
LBB0_5:
	movq	-56(%rbp), %rdi
	movq	_IID_IBaseFilter@GOTPCREL(%rip), %rsi
	leaq	-80(%rbp), %rdx
	callq	_IAMCrossbar_QueryInterface
	movq	%rax, %rbx
	movq	_S_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_20
## %bb.6:
	movq	-80(%rbp), %rdi
	movq	%r14, %rsi
	callq	_dshow_show_filter_properties
	movq	_VideoDevice@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	cmpl	%r13d, %eax
	jne	LBB0_13
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_13
## %bb.9:
	movq	_LOOK_UPSTREAM_ONLY@GOTPCREL(%rip), %rsi
	movq	_IID_IAMTVTuner@GOTPCREL(%rip), %r8
	leaq	-72(%rbp), %r9
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_ICaptureGraphBuilder2_FindInterface
	movq	_S_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	-72(%rbp), %rdi
	movq	_IID_IBaseFilter@GOTPCREL(%rip), %rsi
	leaq	-64(%rbp), %rdx
	callq	_IAMCrossbar_QueryInterface
	movq	%rax, %rbx
	movq	_S_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_20
## %bb.11:
	movq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	_dshow_show_filter_properties
	jmp	LBB0_13
LBB0_12:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
LBB0_13:
	movq	_AudioDevice@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_19
## %bb.14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.15:
	movq	_LOOK_UPSTREAM_ONLY@GOTPCREL(%rip), %rsi
	movq	_IID_IAMTVAudio@GOTPCREL(%rip), %r8
	leaq	-96(%rbp), %r9
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_ICaptureGraphBuilder2_FindInterface
	movq	_S_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.16:
	movq	-96(%rbp), %rdi
	movq	_IID_IBaseFilter@GOTPCREL(%rip), %rsi
	leaq	-88(%rbp), %rdx
	movq	%rcx, %r15
	callq	_IAMCrossbar_QueryInterface
	movq	%rax, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_20
## %bb.17:
	movq	-88(%rbp), %rdi
	movq	%r14, %rsi
	callq	_dshow_show_filter_properties
	jmp	LBB0_19
LBB0_18:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
LBB0_19:
	movq	-56(%rbp), %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	callq	_setup_crossbar_options
	movq	%rax, %rbx
LBB0_20:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_IAMCrossbar_Release
LBB0_22:
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:
	callq	_IBaseFilter_Release
LBB0_24:
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_IAMTVTuner_Release
LBB0_26:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:
	callq	_IBaseFilter_Release
LBB0_28:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOOK_UPSTREAM_ONLY,4,2         ## @LOOK_UPSTREAM_ONLY
	.comm	_IID_IAMCrossbar,4,2            ## @IID_IAMCrossbar
	.comm	_S_OK,8,3                       ## @S_OK
	.comm	_VideoDevice,4,2                ## @VideoDevice
	.comm	_AudioDevice,4,2                ## @AudioDevice
	.comm	_IID_IBaseFilter,4,2            ## @IID_IBaseFilter
	.comm	_IID_IAMTVTuner,4,2             ## @IID_IAMTVTuner
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to find a tv tuner to display dialog for!"

	.comm	_IID_IAMTVAudio,4,2             ## @IID_IAMTVAudio
L_.str.1:                               ## @.str.1
	.asciz	"unable to find a tv audio tuner to display dialog for!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dshow_try_setup_crossbar_options ; -- Begin function dshow_try_setup_crossbar_options
	.p2align	2
_dshow_try_setup_crossbar_options:      ; @dshow_try_setup_crossbar_options
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x25, [x3]
	stp	xzr, xzr, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x1, _LOOK_UPSTREAM_ONLY@GOTPAGE
Lloh1:
	ldr	x1, [x1, _LOOK_UPSTREAM_ONLY@GOTPAGEOFF]
Lloh2:
	adrp	x4, _IID_IAMCrossbar@GOTPAGE
Lloh3:
	ldr	x4, [x4, _IID_IAMCrossbar@GOTPAGEOFF]
	add	x5, sp, #40
	mov	x2, #0
	mov	x3, x21
	bl	_ICaptureGraphBuilder2_FindInterface
Lloh4:
	adrp	x24, _S_OK@GOTPAGE
Lloh5:
	ldr	x24, [x24, _S_OK@GOTPAGEOFF]
	ldr	x23, [x24]
	cmp	x0, x23
	b.ne	LBB0_20
; %bb.1:
Lloh6:
	adrp	x27, _VideoDevice@GOTPAGE
Lloh7:
	ldr	x27, [x27, _VideoDevice@GOTPAGEOFF]
	ldr	w8, [x27]
Lloh8:
	adrp	x26, _AudioDevice@GOTPAGE
Lloh9:
	ldr	x26, [x26, _AudioDevice@GOTPAGEOFF]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x25, #24]
	cbnz	x9, LBB0_5
LBB0_3:
	ldr	w9, [x26]
	cmp	w9, w20
	b.ne	LBB0_7
; %bb.4:
	ldr	x9, [x25, #16]
	cbz	x9, LBB0_7
LBB0_5:
	ldr	x0, [sp, #40]
Lloh10:
	adrp	x1, _IID_IBaseFilter@GOTPAGE
Lloh11:
	ldr	x1, [x1, _IID_IBaseFilter@GOTPAGEOFF]
	add	x2, sp, #32
	bl	_IAMCrossbar_QueryInterface
	mov	x23, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.6:
	ldr	x0, [sp, #32]
	mov	x1, x19
	bl	_dshow_show_filter_properties
	ldr	w8, [x27]
LBB0_7:
	cmp	w8, w20
	b.ne	LBB0_13
; %bb.8:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_13
; %bb.9:
Lloh12:
	adrp	x1, _LOOK_UPSTREAM_ONLY@GOTPAGE
Lloh13:
	ldr	x1, [x1, _LOOK_UPSTREAM_ONLY@GOTPAGEOFF]
Lloh14:
	adrp	x4, _IID_IAMTVTuner@GOTPAGE
Lloh15:
	ldr	x4, [x4, _IID_IAMTVTuner@GOTPAGEOFF]
	add	x5, sp, #24
	mov	x0, x22
	mov	x2, #0
	mov	x3, x21
	bl	_ICaptureGraphBuilder2_FindInterface
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.10:
	ldr	x0, [sp, #24]
Lloh16:
	adrp	x1, _IID_IBaseFilter@GOTPAGE
Lloh17:
	ldr	x1, [x1, _IID_IBaseFilter@GOTPAGEOFF]
	add	x2, sp, #16
	bl	_IAMCrossbar_QueryInterface
	mov	x23, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.11:
	ldr	x0, [sp, #16]
	mov	x1, x19
	bl	_dshow_show_filter_properties
	b	LBB0_13
LBB0_12:
Lloh18:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_13:
	ldr	w8, [x26]
	cmp	w8, w20
	b.ne	LBB0_19
; %bb.14:
	ldr	x8, [x25]
	cbz	x8, LBB0_19
; %bb.15:
Lloh23:
	adrp	x1, _LOOK_UPSTREAM_ONLY@GOTPAGE
Lloh24:
	ldr	x1, [x1, _LOOK_UPSTREAM_ONLY@GOTPAGEOFF]
Lloh25:
	adrp	x4, _IID_IAMTVAudio@GOTPAGE
Lloh26:
	ldr	x4, [x4, _IID_IAMTVAudio@GOTPAGEOFF]
	add	x5, sp, #8
	mov	x0, x22
	mov	x2, #0
	mov	x3, x21
	bl	_ICaptureGraphBuilder2_FindInterface
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.16:
	ldr	x0, [sp, #8]
Lloh27:
	adrp	x1, _IID_IBaseFilter@GOTPAGE
Lloh28:
	ldr	x1, [x1, _IID_IBaseFilter@GOTPAGEOFF]
	mov	x2, sp
	bl	_IAMCrossbar_QueryInterface
	mov	x23, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.17:
	ldr	x0, [sp]
	mov	x1, x19
	bl	_dshow_show_filter_properties
	b	LBB0_19
LBB0_18:
Lloh29:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_19:
	ldr	x0, [sp, #40]
	mov	x1, x20
	mov	x2, x19
	bl	_setup_crossbar_options
	mov	x23, x0
LBB0_20:
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_22
; %bb.21:
	bl	_IAMCrossbar_Release
LBB0_22:
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_24
; %bb.23:
	bl	_IBaseFilter_Release
LBB0_24:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_26
; %bb.25:
	bl	_IAMTVTuner_Release
LBB0_26:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_28
; %bb.27:
	bl	_IBaseFilter_Release
LBB0_28:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_LOOK_UPSTREAM_ONLY,4,2         ; @LOOK_UPSTREAM_ONLY
	.comm	_IID_IAMCrossbar,4,2            ; @IID_IAMCrossbar
	.comm	_S_OK,8,3                       ; @S_OK
	.comm	_VideoDevice,4,2                ; @VideoDevice
	.comm	_AudioDevice,4,2                ; @AudioDevice
	.comm	_IID_IBaseFilter,4,2            ; @IID_IBaseFilter
	.comm	_IID_IAMTVTuner,4,2             ; @IID_IAMTVTuner
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to find a tv tuner to display dialog for!"

	.comm	_IID_IAMTVAudio,4,2             ; @IID_IAMTVAudio
l_.str.1:                               ; @.str.1
	.asciz	"unable to find a tv audio tuner to display dialog for!"

.subsections_via_symbols
