	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function register_filters
_register_filters:                      ## @register_filters
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	$0, -64(%rbp)
	xorl	%edi, %edi
	callq	_CoInitialize
	movq	_CLSCTX_INPROC_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CLSID_FilterMapper2@GOTPCREL(%rip), %rdi
	movq	_IID_IFilterMapper2@GOTPCREL(%rip), %rcx
	leaq	-64(%rbp), %r8
	xorl	%esi, %esi
	callq	_CoCreateInstance
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	jne	LBB0_1
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_CoTaskMemFree
	addq	$32, %r13
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
                                        ##     Child Loop BB0_24 Depth 2
	movl	%r14d, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_27
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_27
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r13), %rcx
	movl	$-64, %edi
	movl	$-1, %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	$64, %edi
	incl	%eax
	cmpl	$-1, (%rcx)
	leaq	16(%rcx), %rcx
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$2, -152(%rbp)
	movl	24(%r13), %ecx
	movl	%ecx, -128(%rbp)
	movl	%eax, -144(%rbp)
	callq	_CoTaskMemAlloc
	movq	%rax, -136(%rbp)
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r13), %rax
	cmpl	$-1, (%rax)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	16(%r13), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx), %ecx
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdx
	shlq	$6, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ecx, (%rsi,%rdx)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 4(%rsi,%rdx)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rsi,%rdx)
	incq	%r12
	movq	%r12, %rcx
	shlq	$4, %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsi,%rdx)
	movups	%xmm0, 32(%rsi,%rdx)
	cmpl	$-1, (%rax,%rcx)
	je	LBB0_19
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
	movq	%r12, %r14
	shlq	$4, %r14
	movq	8(%rax,%r14), %rax
	addq	$8, %rax
	movq	$-1, %rbx
	movl	$-72, %edi
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	incq	%rbx
	addl	$72, %edi
	cmpq	$0, (%rax)
	leaq	24(%rax), %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	callq	_CoTaskMemAlloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_30
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	movq	%rcx, %rax
	shlq	$6, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	addq	%rax, %r12
	shlq	$3, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=3
	movl	$4, %edx
	callq	_memcpy
	movq	-88(%rbp), %r12                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=3
	addq	$8, %r13
	addq	$24, %r14
	cmpq	%r13, -120(%rbp)                ## 8-byte Folded Reload
	je	LBB0_18
LBB0_14:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	(%r12,%r13), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rdi, 56(%rax,%r13,8)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	8(%rax,%r15), %rax
	movq	8(%rax,%r14), %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	(%r12,%r13), %rdi
	addq	$4, %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rdi, 48(%rax,%r13,8)
	movq	16(%rbx), %rax
	movq	8(%rax,%r15), %rax
	movq	16(%rax,%r14), %rsi
	testq	%rsi, %rsi
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	8(%rax,%r14), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	16(%rbx), %rax
	movq	8(%rax,%r15), %rax
	movl	(%rax,%r14), %eax
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, 4(%r12,%r13)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-68(%rbp), %r14d                ## 4-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rdi
	movq	8(%r13), %rsi
	movl	(%r13), %r8d
	movl	4(%r13), %edx
	leaq	-152(%rbp), %rax
	movq	%rax, (%rsp)
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_IFilterMapper2_RegisterFilter
	movl	%eax, %r14d
	testl	%r12d, %r12d
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r12d, %rax
	shlq	$6, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %rbx
	addq	$-56, %rbx
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	callq	_CoTaskMemFree
	addq	$-64, %rbx
	decl	%r12d
	jne	LBB0_24
	jmp	LBB0_25
LBB0_26:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_27
LBB0_21:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_ERR
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_CoTaskMemFree
LBB0_27:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	callq	_IFilterMapper2_Release
LBB0_29:
	xorl	%eax, %eax
	callq	_CoUninitialize
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLSID_FilterMapper2,4,2        ## @CLSID_FilterMapper2
	.comm	_CLSCTX_INPROC_SERVER,4,2       ## @CLSCTX_INPROC_SERVER
	.comm	_IID_IFilterMapper2,4,2         ## @IID_IFilterMapper2
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register with hresult 0x%x\n"

	.no_dead_strip	_register_filters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function register_filters
_register_filters:                      ; @register_filters
	.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	x20, x0
	str	xzr, [sp, #40]
	mov	x0, #0
	bl	_CoInitialize
Lloh0:
	adrp	x8, _CLSCTX_INPROC_SERVER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLSCTX_INPROC_SERVER@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, _CLSID_FilterMapper2@GOTPAGE
Lloh4:
	ldr	x0, [x0, _CLSID_FilterMapper2@GOTPAGEOFF]
Lloh5:
	adrp	x3, _IID_IFilterMapper2@GOTPAGE
Lloh6:
	ldr	x3, [x3, _IID_IFilterMapper2@GOTPAGEOFF]
	add	x4, sp, #40
	mov	x1, #0
	bl	_CoCreateInstance
	mov	x22, x0
	bl	_SUCCEEDED
	cbnz	x0, LBB0_2
	b	LBB0_27
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_CoTaskMemFree
	add	x20, x20, #32
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;       Child Loop BB0_17 Depth 3
                                        ;     Child Loop BB0_25 Depth 2
	mov	x0, x22
	bl	_SUCCEEDED
	cbz	x0, LBB0_27
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_27
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x20, #16]
	mov	w0, #-64
	mov	w8, #-1
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9], #16
	add	w0, w0, #64
	add	w8, w8, #1
	cmn	w10, #1
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x20, #24]
	str	w9, [sp, #32]
	mov	w9, #2
	str	w9, [sp, #8]
	str	w8, [sp, #16]
	bl	_CoTaskMemAlloc
	str	x0, [sp, #24]
	cbz	x0, LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
	cmn	w9, #1
	b.eq	LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w22, [sp, #4]                   ; 4-byte Folded Spill
	mov	x26, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x20, #16]
	ldr	w9, [x8, x28]
	add	x10, x21, x26, lsl #6
	stp	xzr, xzr, [x10, #32]
	stp	w9, w27, [x10]
	add	x26, x26, #1
	lsl	x9, x26, #4
	stp	xzr, xzr, [x10, #16]
	str	x22, [x10, #8]
	ldr	w9, [x8, x9]
	cmn	w9, #1
	b.eq	LBB0_21
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;       Child Loop BB0_17 Depth 3
	mov	w9, #0
	add	x8, x8, x26, lsl #4
	ldr	x8, [x8, #8]
	add	x8, x8, #8
	mov	x27, #-1
	mov	w0, #-72
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x19, x9
	ldr	x10, [x8], #24
	add	x27, x27, #1
	add	w0, w0, #72
	add	w9, w9, #1
	cbnz	x10, LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	bl	_CoTaskMemAlloc
	cbz	x0, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x22, x0
	lsl	x28, x26, #4
	cbz	w27, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x25, #0
	mov	w8, w19
	add	x9, x22, x8, lsl #6
	add	x23, x9, #4
	add	x8, x8, w19, uxtw #1
	lsl	x24, x8, #3
	add	x19, x22, #56
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=3
	mov	x0, x23
	mov	w2, #4
	bl	_memcpy
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=3
	add	x23, x23, #8
	add	x25, x25, #24
	add	x19, x19, #64
	cmp	x24, x25
	b.eq	LBB0_9
LBB0_17:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	x0, x23, #4
	str	x0, [x19]
	ldr	x8, [x20, #16]
	add	x8, x8, x28
	ldr	x8, [x8, #8]
	add	x8, x8, x25
	ldr	x1, [x8, #8]
	mov	w2, #4
	bl	_memcpy
	stur	x23, [x19, #-8]
	ldr	x8, [x20, #16]
	add	x8, x8, x28
	ldr	x8, [x8, #8]
	add	x8, x8, x25
	ldr	x1, [x8, #16]
	cbnz	x1, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=3
	ldr	x1, [x8, #8]
	mov	x0, x23
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x20, #16]
	add	x8, x8, x26, lsl #4
	ldr	x8, [x8, #8]
	ldr	w8, [x8, x25]
	str	w8, [x23]
	b	LBB0_16
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #0
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh7:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w22, [sp, #4]                   ; 4-byte Folded Reload
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_FAILED
	cbnz	x0, LBB0_30
; %bb.23:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #40]
	ldr	x1, [x20, #8]
	ldp	w4, w2, [x20]
	add	x6, sp, #8
	mov	x3, #0
	mov	x5, #0
	bl	_IFilterMapper2_RegisterFilter
	mov	x22, x0
	cbz	w26, LBB0_1
; %bb.24:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x26
	sxtw	x8, w8
	add	x8, x21, x8, lsl #6
	sub	x19, x8, #56
LBB0_25:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x19], #-64
	bl	_CoTaskMemFree
	subs	w26, w26, #1
	b.ne	LBB0_25
	b	LBB0_1
LBB0_26:
Lloh10:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
LBB0_27:
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_29
LBB0_28:
	bl	_IFilterMapper2_Release
LBB0_29:
	bl	_CoUninitialize
	mov	x0, x22
	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
LBB0_30:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_ERR
	mov	x0, x21
	bl	_CoTaskMemFree
	ldr	x0, [sp, #40]
	cbnz	x0, LBB0_28
	b	LBB0_29
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CLSID_FilterMapper2,4,2        ; @CLSID_FilterMapper2
	.comm	_CLSCTX_INPROC_SERVER,4,2       ; @CLSCTX_INPROC_SERVER
	.comm	_IID_IFilterMapper2,4,2         ; @IID_IFilterMapper2
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register with hresult 0x%x\n"

	.no_dead_strip	_register_filters
.subsections_via_symbols
