	.file	"extr_regsvr.c_register_filters.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to register with hresult 0x%x\n"
	.text
	.p2align 4
	.type	register_filters, @function
register_filters:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	xor	edi, edi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 56[rsp], 0
	call	CoInitialize@PLT
	mov	edx, DWORD PTR CLSCTX_INPROC_SERVER[rip]
	xor	esi, esi
	lea	rdi, CLSID_FilterMapper2[rip]
	lea	r8, 56[rsp]
	lea	rcx, IID_IFilterMapper2[rip]
	call	CoCreateInstance@PLT
	mov	edi, eax
	mov	DWORD PTR 36[rsp], eax
	call	SUCCEEDED@PLT
	test	rax, rax
	jne	.L2
.L3:
	mov	rdi, QWORD PTR 56[rsp]
	test	rdi, rdi
	je	.L22
	call	IFilterMapper2_Release@PLT
.L22:
	xor	eax, eax
	call	CoUninitialize@PLT
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L63
	mov	eax, DWORD PTR 36[rsp]
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR 36[rsp]
	call	FAILED@PLT
	test	rax, rax
	jne	.L11
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	mov	edx, DWORD PTR 4[r13]
	mov	rsi, QWORD PTR 8[r13]
	xor	r9d, r9d
	lea	rax, 72[rsp]
	mov	r8d, DWORD PTR 0[r13]
	xor	ecx, ecx
	add	r13, 32
	push	rax
	.cfi_def_cfa_offset 192
	mov	rdi, QWORD PTR 72[rsp]
	call	IFilterMapper2_RegisterFilter@PLT
	mov	DWORD PTR 52[rsp], eax
	pop	rcx
	.cfi_def_cfa_offset 184
	pop	rsi
	.cfi_def_cfa_offset 176
	mov	rdi, QWORD PTR 40[rsp]
	call	CoTaskMemFree@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR 36[rsp]
	call	SUCCEEDED@PLT
	test	rax, rax
	je	.L3
	cmp	QWORD PTR 8[r13], 0
	je	.L3
	mov	rcx, QWORD PTR 16[r13]
	xor	edi, edi
	xor	esi, esi
	mov	eax, 1
	cmp	DWORD PTR [rcx], -1
	je	.L21
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, eax
	mov	rdi, rax
	add	rax, 1
	mov	rdx, rax
	sal	rdx, 4
	cmp	DWORD PTR -16[rcx+rdx], -1
	jne	.L4
	sal	edi, 6
.L21:
	mov	eax, DWORD PTR 24[r13]
	mov	DWORD PTR 64[rsp], 2
	mov	DWORD PTR 72[rsp], esi
	mov	DWORD PTR 88[rsp], eax
	call	CoTaskMemAlloc@PLT
	mov	QWORD PTR 40[rsp], rax
	mov	rbx, rax
	mov	QWORD PTR 80[rsp], rax
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR 16[r13]
	cmp	DWORD PTR [rax], -1
	je	.L6
	mov	DWORD PTR 32[rsp], 0
	mov	QWORD PTR 24[rsp], rbx
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, 1
	cmp	QWORD PTR 8[rcx], 0
	lea	rdx, 32[rcx]
	je	.L64
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rcx, QWORD PTR [rdx]
	lea	r15d, -1[rax]
	mov	rbp, rax
	add	rdx, 24
	lea	rax, 1[rax]
	test	rcx, rcx
	jne	.L9
	lea	edi, 0[rbp+rbp*8]
	sal	edi, 3
	call	CoTaskMemAlloc@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L26
	movsx	r15, r15d
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdx, rbp
	mov	rax, QWORD PTR 16[r13]
	lea	rdi, 8[0+r15*8]
	sal	rdx, 6
	xor	r15d, r15d
	mov	QWORD PTR 16[rsp], rdi
	lea	r14, 4[rcx+rdx]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L65:
	mov	edx, 4
	mov	rdi, r14
	add	r15, 8
	add	r14, 8
	call	memcpy@PLT
	mov	rax, QWORD PTR 16[r13]
	lea	rdx, [rax+rbx]
	cmp	QWORD PTR 16[rsp], r15
	je	.L27
.L15:
	mov	rcx, QWORD PTR 8[rsp]
	lea	rdi, -4[r14]
	mov	rax, QWORD PTR 8[rax+rbx]
	lea	r12, [r15+r15*2]
	mov	edx, 4
	mov	QWORD PTR 56[rcx+r15*8], rdi
	mov	rsi, QWORD PTR 8[rax+r12]
	call	memcpy@PLT
	mov	rax, QWORD PTR 16[r13]
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 8[rax+rbx]
	mov	QWORD PTR 48[rcx+r15*8], r14
	add	rdi, r12
	mov	rsi, QWORD PTR 16[rdi]
	test	rsi, rsi
	jne	.L65
	mov	rsi, QWORD PTR 8[rdi]
	mov	edx, 4
	mov	rdi, r14
	add	r15, 8
	add	r14, 8
	call	memcpy@PLT
	mov	rax, QWORD PTR 16[r13]
	lea	rdx, [rax+rbx]
	mov	rsi, QWORD PTR 8[rdx]
	mov	esi, DWORD PTR [rsi+r12]
	mov	DWORD PTR -8[r14], esi
	cmp	QWORD PTR 16[rsp], r15
	jne	.L15
.L27:
	mov	rcx, QWORD PTR 24[rsp]
	mov	edx, DWORD PTR [rdx]
	add	rbx, 16
	add	rax, rbx
	add	DWORD PTR 32[rsp], 1
	mov	DWORD PTR [rcx], edx
	mov	rdx, rcx
	mov	DWORD PTR 4[rcx], ebp
	add	rdx, 64
	mov	QWORD PTR 40[rcx], 0
	mov	rcx, QWORD PTR 8[rsp]
	mov	QWORD PTR -32[rdx], 0
	mov	QWORD PTR -56[rdx], rcx
	mov	QWORD PTR -40[rdx], 0
	mov	QWORD PTR -48[rdx], 0
	cmp	DWORD PTR [rax], -1
	mov	QWORD PTR 24[rsp], rdx
	jne	.L7
	mov	edi, DWORD PTR 36[rsp]
	call	FAILED@PLT
	test	rax, rax
	jne	.L11
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	mov	edx, DWORD PTR 4[r13]
	mov	rsi, QWORD PTR 8[r13]
	xor	r9d, r9d
	lea	rax, 72[rsp]
	mov	r8d, DWORD PTR 0[r13]
	xor	ecx, ecx
	push	rax
	.cfi_def_cfa_offset 192
	mov	rdi, QWORD PTR 72[rsp]
	call	IFilterMapper2_RegisterFilter@PLT
	mov	DWORD PTR 52[rsp], eax
	pop	rax
	.cfi_def_cfa_offset 184
	pop	rdx
	.cfi_def_cfa_offset 176
.L24:
	movsx	rax, DWORD PTR 32[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	mov	rsi, rax
	sal	rax, 6
	lea	rbp, -64[rcx+rax]
	lea	rbx, [rcx+rax]
	lea	eax, -1[rsi]
	sal	rax, 6
	sub	rbp, rax
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, QWORD PTR -56[rbx]
	sub	rbx, 64
	call	CoTaskMemFree@PLT
	cmp	rbp, rbx
	jne	.L20
	mov	rdi, QWORD PTR 40[rsp]
	add	r13, 32
	call	CoTaskMemFree@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L64:
	xor	edi, edi
	call	CoTaskMemAlloc@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L26
	mov	rax, QWORD PTR 16[r13]
	xor	ebp, ebp
	lea	rdx, [rax+rbx]
	jmp	.L27
.L26:
	mov	eax, DWORD PTR E_OUTOFMEMORY[rip]
	mov	edi, eax
	mov	DWORD PTR 36[rsp], eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L11
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	mov	r8d, DWORD PTR 0[r13]
	mov	edx, DWORD PTR 4[r13]
	xor	r9d, r9d
	lea	rax, 72[rsp]
	mov	rsi, QWORD PTR 8[r13]
	xor	ecx, ecx
	push	rax
	.cfi_def_cfa_offset 192
	mov	rdi, QWORD PTR 72[rsp]
	call	IFilterMapper2_RegisterFilter@PLT
	mov	DWORD PTR 52[rsp], eax
	pop	rdi
	.cfi_def_cfa_offset 184
	pop	r8
	.cfi_def_cfa_offset 176
	mov	r9d, DWORD PTR 32[rsp]
	test	r9d, r9d
	jne	.L24
	mov	rdi, QWORD PTR 40[rsp]
	add	r13, 32
	call	CoTaskMemFree@PLT
	jmp	.L2
.L5:
	mov	eax, DWORD PTR E_OUTOFMEMORY[rip]
	mov	DWORD PTR 36[rsp], eax
	jmp	.L3
.L11:
	mov	esi, DWORD PTR 36[rsp]
	lea	rdi, .LC0[rip]
	call	ERR@PLT
	mov	rdi, QWORD PTR 40[rsp]
	call	CoTaskMemFree@PLT
	jmp	.L3
.L63:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	register_filters, .-register_filters
	.comm	IID_IFilterMapper2,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	CLSID_FilterMapper2,4,4
	.comm	CLSCTX_INPROC_SERVER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_regsvr.c_register_filters.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to register with hresult 0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	register_filters, %function
register_filters:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	ldr	r3, .L72
	sub	sp, sp, #60
	mov	r10, r0
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	str	r4, [sp, #32]
	bl	CoInitialize
	ldr	r2, .L72+4
	add	r3, sp, #32
	ldr	r2, [r2]
	mov	r1, r4
	str	r3, [sp]
	ldr	r0, .L72+8
	ldr	r3, .L72+12
	bl	CoCreateInstance
	str	r0, [sp, #24]
	bl	SUCCEEDED
	cmp	r0, r4
	bne	.L65
.L2:
	ldr	r0, [sp, #32]
	cmp	r0, #0
	beq	.L22
	bl	IFilterMapper2_Release
.L22:
	bl	CoUninitialize
	ldr	r3, .L72
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L68
	ldr	r0, [sp, #24]
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	ldr	r0, [sp, #24]
	bl	FAILED
	subs	r3, r0, #0
	bne	.L11
	add	r0, sp, #36
	ldr	r2, [r10, #-16]
	ldr	r1, [r10, #-12]
	str	r0, [sp, #8]
	str	r3, [sp, #4]
	ldr	r0, [r10, #-20]
	str	r0, [sp]
	ldr	r0, [sp, #32]
	bl	IFilterMapper2_RegisterFilter
	str	r0, [sp, #24]
	ldr	r0, [sp, #28]
	bl	CoTaskMemFree
.L65:
	ldr	r0, [sp, #24]
	bl	SUCCEEDED
	cmp	r0, #0
	add	r10, r10, #20
	beq	.L2
	ldr	r3, [r10, #-12]
	cmp	r3, #0
	beq	.L2
	ldr	r1, [r10, #-8]
	ldr	r3, [r1]
	cmn	r3, #1
	moveq	r0, #0
	moveq	r3, r0
	beq	.L21
	mov	r3, #0
.L4:
	add	r3, r3, #1
	ldr	r2, [r1, r3, lsl #3]
	cmn	r2, #1
	bne	.L4
	add	r0, r3, r3, lsl #3
	lsl	r0, r0, #2
.L21:
	mov	r1, #2
	ldr	r2, [r10, #-4]
	str	r3, [sp, #40]
	str	r1, [sp, #36]
	str	r2, [sp, #48]
	bl	CoTaskMemAlloc
	cmp	r0, #0
	mov	r9, r0
	str	r0, [sp, #28]
	str	r0, [sp, #44]
	beq	.L5
	ldr	r1, [r10, #-8]
	ldr	r3, [r1]
	cmn	r3, #1
	beq	.L6
	mov	r3, #0
	str	r3, [sp, #16]
.L7:
	ldr	r3, [r1, #4]
	ldr	r2, [sp, #16]
	ldr	r8, [r3, #4]
	lsl	r7, r2, #3
	cmp	r8, #0
	movne	r6, #0
	beq	.L69
.L9:
	ldr	r5, [r3, #16]
	mov	r8, r6
	cmp	r5, #0
	add	r3, r3, #12
	add	r6, r6, #1
	bne	.L9
	add	r0, r6, r6, lsl #2
	add	r0, r6, r0, lsl #1
	lsl	r0, r0, #2
	bl	CoTaskMemAlloc
	subs	r3, r0, #0
	str	r3, [sp, #20]
	beq	.L26
	ldr	fp, [sp, #20]
	add	r4, r6, r6, lsl #3
	ldr	r1, [r10, #-8]
	add	r4, fp, r4, lsl #2
	add	r6, r4, r6, lsl #3
	add	r2, r1, r7
	b	.L15
.L71:
	mov	r2, #4
	bl	memcpy
	ldr	r1, [r10, #-8]
	add	r2, r1, r7
	mov	r0, r2
.L14:
	add	r4, r4, #8
	cmp	r6, r4
	add	fp, fp, #36
	add	r5, r5, #12
	beq	.L70
.L15:
	ldr	r3, [r2, #4]
	mov	r0, r4
	add	r3, r3, r5
	ldr	r1, [r3, #4]
	mov	r2, #4
	str	r4, [fp, #32]
	bl	memcpy
	ldr	r3, [r10, #-8]
	add	r0, r4, #4
	add	r3, r3, r7
	ldr	r3, [r3, #4]
	str	r0, [fp, #28]
	add	r3, r3, r5
	ldr	r1, [r3, #8]
	cmp	r1, #0
	bne	.L71
	ldr	r1, [r3, #4]
	mov	r2, #4
	bl	memcpy
	ldr	r1, [r10, #-8]
	add	r2, r1, r7
	ldr	r3, [r2, #4]
	mov	r0, r2
	ldr	r3, [r3, r5]
	str	r3, [r4, #4]
	b	.L14
.L70:
	add	r8, r8, #1
.L27:
	mov	r2, #0
	ldr	r3, [r0]
	add	r7, r7, #8
	stm	r9, {r3, r8}
	ldr	r3, [r1, r7]
	add	r9, r9, #36
	cmn	r3, #1
	ldr	r3, [sp, #20]
	str	r2, [r9, #-12]
	str	r3, [r9, #-28]
	ldr	r3, [sp, #16]
	str	r2, [r9, #-16]
	add	r3, r3, #1
	str	r2, [r9, #-20]
	str	r2, [r9, #-24]
	str	r3, [sp, #16]
	add	r1, r1, r7
	bne	.L7
	ldr	r0, [sp, #24]
	bl	FAILED
	subs	r3, r0, #0
	bne	.L11
	add	r0, sp, #36
	ldr	r2, [r10, #-16]
	ldr	r1, [r10, #-12]
	str	r3, [sp, #4]
	str	r0, [sp, #8]
	ldr	r0, [r10, #-20]
	str	r0, [sp]
	ldr	r0, [sp, #32]
	bl	IFilterMapper2_RegisterFilter
	ldr	r3, [sp, #16]
	str	r0, [sp, #24]
	lsl	r7, r3, #3
.L24:
	ldr	r3, [sp, #16]
	ldr	r5, [sp, #28]
	add	r4, r7, r3
	add	r4, r5, r4, lsl #2
.L20:
	ldr	r0, [r4, #-28]
	sub	r4, r4, #36
	bl	CoTaskMemFree
	cmp	r5, r4
	bne	.L20
	ldr	r0, [sp, #28]
	bl	CoTaskMemFree
	b	.L65
.L69:
	mov	r0, r8
	bl	CoTaskMemAlloc
	subs	r3, r0, #0
	str	r3, [sp, #20]
	ldrne	r1, [r10, #-8]
	addne	r0, r1, r7
	bne	.L27
.L26:
	ldr	r3, .L72+16
	ldr	r3, [r3]
	mov	r0, r3
	str	r3, [sp, #24]
	bl	FAILED
	subs	r3, r0, #0
	bne	.L11
	add	r0, sp, #36
	ldr	r2, [r10, #-16]
	ldr	r1, [r10, #-12]
	str	r3, [sp, #4]
	str	r0, [sp, #8]
	ldr	r0, [r10, #-20]
	str	r0, [sp]
	ldr	r0, [sp, #32]
	bl	IFilterMapper2_RegisterFilter
	ldr	r3, [sp, #16]
	str	r0, [sp, #24]
	cmp	r3, #0
	bne	.L24
	ldr	r0, [sp, #28]
	bl	CoTaskMemFree
	b	.L65
.L5:
	ldr	r3, .L72+16
	ldr	r3, [r3]
	str	r3, [sp, #24]
	b	.L2
.L11:
	ldr	r1, [sp, #24]
	ldr	r0, .L72+20
	bl	ERR
	ldr	r0, [sp, #28]
	bl	CoTaskMemFree
	b	.L2
.L68:
	bl	__stack_chk_fail
.L73:
	.align	2
.L72:
	.word	.LC1
	.word	CLSCTX_INPROC_SERVER
	.word	CLSID_FilterMapper2
	.word	IID_IFilterMapper2
	.word	E_OUTOFMEMORY
	.word	.LC0
	.size	register_filters, .-register_filters
	.comm	IID_IFilterMapper2,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	CLSID_FilterMapper2,4,4
	.comm	CLSCTX_INPROC_SERVER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
