	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function GetClassMediaFile
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_GetClassMediaFile
	.p2align	4, 0x90
_GetClassMediaFile:                     ## @GetClassMediaFile
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -120(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rsi, -200(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movq	%rbx, -192(%rbp)                ## 8-byte Spill
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_TRACE
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	_GUID_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	_GUID_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_4:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	_GUID_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_6:
	movq	_HKEY_CLASSES_ROOT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	_GetClassMediaFile.wszMediaType(%rip), %rsi
	leaq	-120(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	movq	%rax, %rdi
	callq	_HRESULT_FROM_WIN32
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_46
## %bb.7:
	testq	%r12, %r12
	jne	LBB0_46
## %bb.8:
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%r13d, %r13d
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-112(%rbp), %rdi
	callq	_CloseHandle
	movq	%rbx, %rsp
	movl	-140(%rbp), %ebx                ## 4-byte Reload
	incl	%ebx
	testq	%r13, %r13
	jne	LBB0_45
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
                                        ##       Child Loop BB0_24 Depth 3
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_CHARS_IN_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movl	%r13d, -164(%rbp)
	movq	%rax, %r13
	movq	-120(%rbp), %rdi
	subq	$16, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	%ebx, %esi
	movq	%rax, %rdx
	leaq	-164(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_RegEnumKeyExW
	addq	$16, %rsp
	cmpq	(%r12), %rax
	jne	LBB0_44
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-120(%rbp), %rdi
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rsi
	xorl	%edx, %edx
	leaq	-112(%rbp), %r8
	callq	_RegOpenKeyExW
	cmpq	(%r12), %rax
	jne	LBB0_44
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	callq	_debugstr_w
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	leaq	_GetClassMediaFile.wszExtensions(%rip), %rdi
	movq	%r13, %rsi
	callq	_strcmpW
	testq	%rax, %rax
	movl	%ebx, -140(%rbp)                ## 4-byte Spill
	je	LBB0_39
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, -192(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_42
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, -208(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=2
	xorl	%ebx, %ebx
	movq	-136(%rbp), %r15                ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	-104(%rbp), %rdi
	callq	_CloseHandle
	movq	-176(%rbp), %rsp                ## 8-byte Reload
	movl	-144(%rbp), %r13d               ## 4-byte Reload
	incl	%r13d
	testb	%bl, %bl
	je	LBB0_43
LBB0_18:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_24 Depth 3
	movq	%rsp, -176(%rbp)                ## 8-byte Spill
	movq	_CHARS_IN_GUID@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	%ebx, -160(%rbp)
	movl	(%r12), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -184(%rbp)                ## 8-byte Spill
	movl	%ebx, -156(%rbp)
	movq	-112(%rbp), %rdi
	subq	$16, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	%r13d, %esi
	movq	%r14, %rdx
	leaq	-160(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_RegEnumKeyExW
	addq	$16, %rsp
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	-112(%rbp), %rdi
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	xorl	%edx, %edx
	leaq	-104(%rbp), %r8
	callq	_RegOpenKeyExW
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	%r14, %rdi
	callq	_debugstr_w
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	-104(%rbp), %rdi
	subq	$48, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsp)
	leaq	-76(%rbp), %rax
	movq	%rax, 24(%rsp)
	movups	%xmm0, (%rsp)
	movq	$0, 16(%rsp)
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_RegQueryInfoKeyW
	addq	$48, %rsp
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	%r13d, -144(%rbp)               ## 4-byte Spill
	xorl	%r13d, %r13d
	leaq	-62(%rbp), %r15
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_24 Depth=3
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
LBB0_23:                                ##   in Loop: Header=BB0_24 Depth=3
	incl	%r13d
	testq	%rax, %rax
	jne	LBB0_16
LBB0_24:                                ##   Parent Loop BB0_11 Depth=1
                                        ##     Parent Loop BB0_18 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-76(%rbp), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %rbx
	movl	$14, -152(%rbp)
	movl	-76(%rbp), %eax
	movl	%eax, -148(%rbp)
	movq	-104(%rbp), %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	leaq	-152(%rbp), %rcx
	xorl	%r8d, %r8d
	leaq	-212(%rbp), %r9
	leaq	-148(%rbp), %rax
	pushq	%rax
	pushq	%rbx
	callq	_RegEnumValueW
	addq	$16, %rsp
	cmpq	(%r12), %rax
	jne	LBB0_37
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	_source_filter_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_strcmpW
	testq	%rax, %rax
	je	LBB0_22
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	%rbx, %rdi
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	callq	_process_pattern_string
	movq	%rax, %r12
	movq	_S_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	cmpq	%r15, %r12
	jne	LBB0_35
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	-136(%rbp), %r15                ## 8-byte Reload
	testq	%r15, %r15
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	-208(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_CLSIDFromString
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_38
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=3
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	%r14, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_CLSIDFromString
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_38
LBB0_31:                                ##   in Loop: Header=BB0_24 Depth=3
	testq	%rbx, %rbx
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	-104(%rbp), %rdi
	movq	_source_filter_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-184(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	leaq	-156(%rbp), %r9
	callq	_RegQueryValueExW
	testq	%rax, %rax
	jne	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_24 Depth=3
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_CLSIDFromString
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_38
LBB0_34:                                ##   in Loop: Header=BB0_24 Depth=3
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_24 Depth=3
	xorl	%eax, %eax
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
LBB0_36:                                ##   in Loop: Header=BB0_24 Depth=3
	leaq	-62(%rbp), %r15
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_18 Depth=2
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	movq	-136(%rbp), %r15                ## 8-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_18 Depth=2
	movb	$1, %bl
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-112(%rbp), %rdi
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	callq	_process_extensions
	movq	_S_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movq	-176(%rbp), %rsp                ## 8-byte Reload
	xorl	%r13d, %r13d
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_43:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, %r13d
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r12
	jmp	LBB0_10
LBB0_44:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	xorl	%r12d, %r12d
	jmp	LBB0_46
LBB0_45:
	movl	$1, %r12d
LBB0_46:
	movq	-120(%rbp), %rdi
	callq	_CloseHandle
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_49
## %bb.47:
	testq	%r12, %r12
	jne	LBB0_49
## %bb.48:
	leaq	L_.str.3(%rip), %rdi
	callq	_ERR
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_56
LBB0_49:
	testq	%r12, %r12
	je	LBB0_56
## %bb.50:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	testq	%r15, %r15
	je	LBB0_52
## %bb.51:
	movq	%r15, %rdi
	callq	_qzdebugstr_guid
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
LBB0_52:
	testq	%r14, %r14
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_54
## %bb.53:
	movq	%r14, %rdi
	callq	_qzdebugstr_guid
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
LBB0_54:
	testq	%rbx, %rbx
	je	LBB0_56
## %bb.55:
	movq	%rbx, %rdi
	callq	_qzdebugstr_guid
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
LBB0_56:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_58
## %bb.57:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_S_OK,8,3                       ## @S_OK
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__const
_GetClassMediaFile.wszMediaType:        ## @GetClassMediaFile.wszMediaType
	.asciz	"Media Type"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p, %s, %p, %p)\n"

	.comm	_GUID_NULL,4,2                  ## @GUID_NULL
	.comm	_HKEY_CLASSES_ROOT,8,3          ## @HKEY_CLASSES_ROOT
	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_CHARS_IN_GUID,4,2              ## @CHARS_IN_GUID
	.section	__TEXT,__const
_GetClassMediaFile.wszExtensions:       ## @GetClassMediaFile.wszExtensions
	.asciz	"Extensions"

	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.comm	_TRUE,8,3                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"\t%s\n"

	.comm	_source_filter_name,8,3         ## @source_filter_name
L_.str.3:                               ## @.str.3
	.asciz	"Media class not found\n"

	.comm	_E_FAIL,8,3                     ## @E_FAIL
L_.str.4:                               ## @.str.4
	.asciz	"Found file's class:\n"

L_.str.5:                               ## @.str.5
	.asciz	"\tmajor = %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"\tsubtype = %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"\tsource filter = %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetClassMediaFile              ; -- Begin function GetClassMediaFile
	.p2align	2
_GetClassMediaFile:                     ; @GetClassMediaFile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #144
	mov	x21, x4
	mov	x25, x3
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	xzr, [x29, #-112]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	stur	x1, [x29, #-208]                ; 8-byte Folded Spill
	mov	x0, x1
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	sub	sp, sp, #32
	stp	x19, x25, [sp, #16]
	str	x0, [sp, #8]
	stur	x20, [x29, #-168]               ; 8-byte Folded Spill
	str	x20, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	sp, sp, #32
Lloh8:
	adrp	x8, _GUID_NULL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GUID_NULL@GOTPAGEOFF]
	cbz	x19, LBB0_2
; %bb.1:
	ldr	w9, [x8]
	str	w9, [x19]
LBB0_2:
	cbz	x25, LBB0_4
; %bb.3:
	ldr	w9, [x8]
	str	w9, [x25]
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_6:
Lloh10:
	adrp	x8, _HKEY_CLASSES_ROOT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HKEY_CLASSES_ROOT@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
Lloh13:
	adrp	x8, _KEY_READ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x1, _GetClassMediaFile.wszMediaType@PAGE
Lloh17:
	add	x1, x1, _GetClassMediaFile.wszMediaType@PAGEOFF
	sub	x4, x29, #112
	mov	w2, #0
	bl	_RegOpenKeyExW
	bl	_HRESULT_FROM_WIN32
	mov	x20, x0
	bl	_SUCCEEDED
	cmp	x0, #0
	ccmp	x22, #0, #0, ne
	b.ne	LBB0_43
; %bb.7:
	stur	x20, [x29, #-216]               ; 8-byte Folded Spill
	stur	x19, [x29, #-176]               ; 8-byte Folded Spill
	mov	w23, #0
Lloh18:
	adrp	x24, l_.str.1@PAGE
Lloh19:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh20:
	adrp	x26, _GetClassMediaFile.wszExtensions@PAGE
Lloh21:
	add	x26, x26, _GetClassMediaFile.wszExtensions@PAGEOFF
	mov	w22, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldur	x0, [x29, #-120]
	ldur	x1, [x29, #-208]                ; 8-byte Folded Reload
	mov	x3, x25
	mov	x4, x21
	bl	_process_extensions
Lloh22:
	adrp	x8, _S_OK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _TRUE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x0, x8
	csel	x19, x9, xzr, eq
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldur	x0, [x29, #-120]
	bl	_CloseHandle
	mov	sp, x27
	add	w23, w23, #1
	cbnz	x19, LBB0_42
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
	mov	x27, sp
Lloh28:
	adrp	x8, _CHARS_IN_GUID@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CHARS_IN_GUID@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	mov	x9, x8
Lloh31:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh32:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
	stur	w8, [x29, #-124]
	ldur	x0, [x29, #-112]
	sub	x3, x29, #124
	mov	x1, x23
	mov	x2, x20
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_RegEnumKeyExW
Lloh33:
	adrp	x19, _ERROR_SUCCESS@GOTPAGE
Lloh34:
	ldr	x19, [x19, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_41
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x0, [x29, #-112]
Lloh35:
	adrp	x8, _KEY_READ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
	sub	x4, x29, #120
	mov	x1, x20
	mov	w2, #0
	bl	_RegOpenKeyExW
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_41
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
	mov	x0, x24
	bl	_TRACE
	add	sp, sp, #16
	mov	x0, x26
	mov	x1, x20
	bl	_strcmpW
	ldur	x2, [x29, #-176]                ; 8-byte Folded Reload
	cbz	x0, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	cbz	x8, LBB0_38
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	stur	x27, [x29, #-200]               ; 8-byte Folded Spill
	stur	w23, [x29, #-188]               ; 4-byte Folded Spill
	mov	w27, #0
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	w19, #0
	mov	x21, x24
	mov	x25, x26
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	ldur	x0, [x29, #-136]
	bl	_CloseHandle
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	mov	sp, x8
	add	w27, w27, #1
	tbz	w19, #0, LBB0_39
LBB0_17:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
	mov	x24, sp
Lloh38:
	adrp	x12, _CHARS_IN_GUID@GOTPAGE
Lloh39:
	ldr	x12, [x12, _CHARS_IN_GUID@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh40:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh41:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x23, x9, x10
	mov	sp, x23
	stur	w8, [x29, #-140]
	ldr	w8, [x12]
	mov	x9, x8
Lloh42:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh43:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x22, x9, x10
	mov	sp, x22
	stur	w8, [x29, #-144]
	ldur	x0, [x29, #-120]
	sub	x3, x29, #140
	mov	x1, x27
	mov	x2, x23
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_RegEnumKeyExW
Lloh44:
	adrp	x19, _ERROR_SUCCESS@GOTPAGE
Lloh45:
	ldr	x19, [x19, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_37
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	ldur	x0, [x29, #-120]
Lloh46:
	adrp	x8, _KEY_READ@GOTPAGE
Lloh47:
	ldr	x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh48:
	ldr	w3, [x8]
	sub	x4, x29, #136
	mov	x1, x23
	mov	w2, #0
	bl	_RegOpenKeyExW
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_37
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x0, x23
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh49:
	adrp	x0, l_.str.2@PAGE
Lloh50:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	add	sp, sp, #16
	ldur	x0, [x29, #-136]
	sub	sp, sp, #32
	stp	xzr, xzr, [sp, #16]
	sub	x8, x29, #148
	stp	xzr, x8, [sp]
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_RegQueryInfoKeyW
	add	sp, sp, #32
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_37
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=2
	stur	x24, [x29, #-184]               ; 8-byte Folded Spill
	mov	x26, x25
	mov	x24, x21
	mov	w28, #0
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=3
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x25
	bl	_HeapFree
	mov	x8, #0
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=3
	add	w28, w28, #1
	cbnz	x8, LBB0_15
LBB0_23:                                ;   Parent Loop BB0_10 Depth=1
                                        ;     Parent Loop BB0_17 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	bl	_GetProcessHeap
	ldur	w2, [x29, #-148]
	mov	w1, #0
	bl	_HeapAlloc
	mov	x25, x0
	mov	w9, #14
	ldur	w8, [x29, #-148]
	stp	w8, w9, [x29, #-160]
	ldur	x0, [x29, #-136]
	sub	x2, x29, #102
	sub	x3, x29, #156
	sub	x5, x29, #152
	sub	x7, x29, #160
	mov	x1, x28
	mov	x4, #0
	mov	x6, x25
	bl	_RegEnumValueW
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_35
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=3
Lloh51:
	adrp	x8, _source_filter_name@GOTPAGE
Lloh52:
	ldr	x8, [x8, _source_filter_name@GOTPAGEOFF]
Lloh53:
	ldr	x1, [x8]
	sub	x0, x29, #102
	bl	_strcmpW
	cbz	x0, LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=3
	mov	x0, x25
	ldur	x1, [x29, #-168]                ; 8-byte Folded Reload
	bl	_process_pattern_string
	mov	x19, x0
Lloh54:
	adrp	x8, _S_OK@GOTPAGE
Lloh55:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh56:
	ldr	x21, [x8]
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x25
	bl	_HeapFree
	cmp	x19, x21
	b.ne	LBB0_34
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=3
	mov	x21, x24
	mov	x25, x26
	ldur	x1, [x29, #-176]                ; 8-byte Folded Reload
Lloh57:
	adrp	x19, _ERROR_SUCCESS@GOTPAGE
Lloh58:
	ldr	x19, [x19, _ERROR_SUCCESS@GOTPAGEOFF]
	cbz	x1, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=3
	mov	x0, x20
	bl	_CLSIDFromString
	bl	_FAILED
	cbnz	x0, LBB0_36
LBB0_28:                                ;   in Loop: Header=BB0_23 Depth=3
	cbz	x25, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_23 Depth=3
	mov	x0, x23
	mov	x1, x25
	bl	_CLSIDFromString
	bl	_FAILED
	cbnz	x0, LBB0_36
LBB0_30:                                ;   in Loop: Header=BB0_23 Depth=3
	cbz	x21, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_23 Depth=3
	ldur	x0, [x29, #-136]
Lloh59:
	adrp	x8, _source_filter_name@GOTPAGE
Lloh60:
	ldr	x8, [x8, _source_filter_name@GOTPAGEOFF]
Lloh61:
	ldr	x1, [x8]
	sub	x5, x29, #144
	mov	x2, #0
	mov	x3, #0
	mov	x4, x22
	bl	_RegQueryValueExW
	cbnz	x0, LBB0_36
; %bb.32:                               ;   in Loop: Header=BB0_23 Depth=3
	mov	x0, x22
	mov	x1, x21
	bl	_CLSIDFromString
	bl	_FAILED
	cbnz	x0, LBB0_36
LBB0_33:                                ;   in Loop: Header=BB0_23 Depth=3
Lloh62:
	adrp	x8, _TRUE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	b	LBB0_22
LBB0_34:                                ;   in Loop: Header=BB0_23 Depth=3
	mov	x8, #0
Lloh65:
	adrp	x19, _ERROR_SUCCESS@GOTPAGE
Lloh66:
	ldr	x19, [x19, _ERROR_SUCCESS@GOTPAGEOFF]
	b	LBB0_22
LBB0_35:                                ;   in Loop: Header=BB0_17 Depth=2
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x25
	bl	_HeapFree
	mov	x21, x24
	mov	x25, x26
LBB0_36:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	w19, #1
	b	LBB0_16
LBB0_37:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	sp, x24
	mov	x19, #0
	b	LBB0_40
LBB0_38:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x19, #0
	b	LBB0_9
LBB0_39:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w19, #1
LBB0_40:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w22, #1
	ldur	w23, [x29, #-188]               ; 4-byte Folded Reload
Lloh67:
	adrp	x24, l_.str.1@PAGE
Lloh68:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh69:
	adrp	x26, _GetClassMediaFile.wszExtensions@PAGE
Lloh70:
	add	x26, x26, _GetClassMediaFile.wszExtensions@PAGEOFF
	ldur	x27, [x29, #-200]               ; 8-byte Folded Reload
	b	LBB0_9
LBB0_41:
	mov	sp, x27
	mov	x22, #0
LBB0_42:
	ldur	x19, [x29, #-176]               ; 8-byte Folded Reload
	ldur	x20, [x29, #-216]               ; 8-byte Folded Reload
LBB0_43:
	ldur	x0, [x29, #-112]
	bl	_CloseHandle
	mov	x0, x20
	bl	_SUCCEEDED
	cbz	x0, LBB0_46
; %bb.44:
	cbnz	x22, LBB0_46
; %bb.45:
Lloh71:
	adrp	x0, l_.str.3@PAGE
Lloh72:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_ERR
Lloh73:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
Lloh75:
	ldr	x20, [x8]
	b	LBB0_53
LBB0_46:
	cbz	x22, LBB0_53
; %bb.47:
Lloh76:
	adrp	x0, l_.str.4@PAGE
Lloh77:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE
	cbz	x19, LBB0_49
; %bb.48:
	mov	x0, x19
	bl	_qzdebugstr_guid
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh78:
	adrp	x0, l_.str.5@PAGE
Lloh79:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_TRACE
	add	sp, sp, #16
LBB0_49:
	cbz	x25, LBB0_51
; %bb.50:
	mov	x0, x25
	bl	_qzdebugstr_guid
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh80:
	adrp	x0, l_.str.6@PAGE
Lloh81:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_TRACE
	add	sp, sp, #16
LBB0_51:
	cbz	x21, LBB0_53
; %bb.52:
	mov	x0, x21
	bl	_qzdebugstr_guid
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh82:
	adrp	x0, l_.str.7@PAGE
Lloh83:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_TRACE
	add	sp, sp, #16
LBB0_53:
	ldur	x8, [x29, #-88]
Lloh84:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh85:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh86:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_55
; %bb.54:
	mov	x0, x20
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_55:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_S_OK,8,3                       ; @S_OK
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__const
_GetClassMediaFile.wszMediaType:        ; @GetClassMediaFile.wszMediaType
	.asciz	"Media Type"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p, %s, %p, %p)\n"

	.comm	_GUID_NULL,4,2                  ; @GUID_NULL
	.comm	_HKEY_CLASSES_ROOT,8,3          ; @HKEY_CLASSES_ROOT
	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_CHARS_IN_GUID,4,2              ; @CHARS_IN_GUID
	.section	__TEXT,__const
_GetClassMediaFile.wszExtensions:       ; @GetClassMediaFile.wszExtensions
	.asciz	"Extensions"

	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.comm	_TRUE,8,3                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"\t%s\n"

	.comm	_source_filter_name,8,3         ; @source_filter_name
l_.str.3:                               ; @.str.3
	.asciz	"Media class not found\n"

	.comm	_E_FAIL,8,3                     ; @E_FAIL
l_.str.4:                               ; @.str.4
	.asciz	"Found file's class:\n"

l_.str.5:                               ; @.str.5
	.asciz	"\tmajor = %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"\tsubtype = %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"\tsource filter = %s\n"

.subsections_via_symbols
