	.file	"extr_actctx.c_add_progid_record.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	add_progid_record, @function
add_progid_record:
.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
	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, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 16[rsp], r8
	mov	r8d, DWORD PTR [rdx]
	mov	QWORD PTR 24[rsp], rdi
	mov	QWORD PTR [rsp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	rax, 48[rsp]
	mov	QWORD PTR 8[rsp], rax
	test	r8d, r8d
	je	.L1
	mov	r14, rsi
	mov	r12, rdx
	mov	r13, rcx
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, ebx
	lea	rdx, [rax+rax*4]
	mov	rax, QWORD PTR 8[r12]
	lea	rbp, [rax+rdx*8]
	mov	rax, QWORD PTR ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L20
.L3:
	add	ebx, 1
	cmp	DWORD PTR [r12], ebx
	ja	.L2
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 72
	.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
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, QWORD PTR 8[rsp]
	lea	r15, 52[rsp]
	call	RtlInitUnicodeString@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r15
	call	RtlGUIDFromString@PLT
	mov	rsi, r15
	mov	r15, QWORD PTR 24[rsp]
	mov	edi, DWORD PTR [r15]
	call	find_guid_index@PLT
	mov	rdi, r15
	mov	rsi, rax
	call	get_comclass_data@PLT
	mov	rsi, QWORD PTR 8[rbp]
	mov	QWORD PTR 32[rsp], rax
	test	rsi, rsi
	jne	.L22
.L4:
	mov	ecx, DWORD PTR 24[rbp]
	xor	r15d, r15d
	test	ecx, ecx
	je	.L3
	mov	eax, r15d
	mov	DWORD PTR 44[rsp], ebx
	mov	rbx, QWORD PTR 32[rsp]
	mov	r15, rbp
	mov	QWORD PTR 32[rsp], r12
	mov	r12, QWORD PTR 16[rsp]
	mov	ebp, eax
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 32[r15]
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	edx, ebp
	mov	r8, r12
	mov	rcx, r13
	mov	rdi, r14
	add	ebp, 1
	mov	rsi, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR 136[rsp]
	mov	rdx, rbx
	push	rax
	.cfi_def_cfa_offset 144
	mov	r9, QWORD PTR 16[rsp]
	call	write_progid_record@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	cmp	DWORD PTR 24[r15], ebp
	ja	.L6
	mov	ebx, DWORD PTR 44[rsp]
	mov	r12, QWORD PTR 32[rsp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L22:
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	rdi, r14
	mov	rcx, r13
	mov	eax, DWORD PTR 136[rsp]
	push	rax
	.cfi_def_cfa_offset 144
	mov	r9, QWORD PTR 16[rsp]
	mov	r8, QWORD PTR 32[rsp]
	mov	rdx, QWORD PTR 48[rsp]
	call	write_progid_record@PLT
	pop	rsi
	.cfi_def_cfa_offset 136
	pop	rdi
	.cfi_def_cfa_offset 128
	jmp	.L4
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	add_progid_record, .-add_progid_record
	.comm	ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,8,8
	.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_actctx.c_add_progid_record.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_progid_record, %function
add_progid_record:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r3
	sub	sp, sp, #60
	ldr	r3, .L22
	str	r0, [sp, #28]
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	ldr	r3, [sp, #96]
	ldr	ip, [r2]
	str	r3, [sp, #20]
	ldr	r3, [sp, #100]
	cmp	ip, #0
	str	r3, [sp, #24]
	beq	.L1
	mov	r7, r2
	mov	r9, r1
	mov	r5, #0
	ldr	r8, .L22+4
.L2:
	ldr	r4, [r7, #4]
	add	r3, r5, r5, lsl #2
	ldr	r1, [r4, r3, lsl #2]
	ldr	r2, [r8]
	add	r4, r4, r3, lsl #2
	cmp	r1, r2
	beq	.L19
.L3:
	add	r5, r5, #1
	cmp	ip, r5
	bhi	.L2
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r1, [r4, #8]
	add	r0, sp, #44
	bl	RtlInitUnicodeString
	add	r1, sp, #48
	add	r0, sp, #44
	bl	RtlGUIDFromString
	ldr	r6, [sp, #28]
	add	r1, sp, #48
	ldr	r0, [r6]
	bl	find_guid_index
	mov	r1, r0
	mov	r0, r6
	bl	get_comclass_data
	ldr	r1, [r4, #4]
	mov	fp, r0
	cmp	r1, #0
	bne	.L21
.L4:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L17
	mov	r6, #0
	str	r5, [sp, #32]
	str	r7, [sp, #36]
	mov	r5, r10
	ldr	r7, [sp, #104]
	mov	r10, fp
	ldr	fp, [sp, #24]
.L6:
	ldr	r1, [r4, #16]
	ldr	r0, [sp, #20]
	ldr	r1, [r1, r6, lsl #2]
	mov	r3, r5
	str	r0, [sp]
	mov	r2, r10
	mov	r0, r9
	str	r7, [sp, #8]
	str	fp, [sp, #4]
	bl	write_progid_record
	ldr	r1, [r4, #12]
	add	r6, r6, #1
	cmp	r1, r6
	bhi	.L6
	mov	r10, r5
	ldr	r7, [sp, #36]
	ldr	r5, [sp, #32]
.L17:
	ldr	ip, [r7]
	b	.L3
.L21:
	ldr	r3, [sp, #104]
	mov	r2, r0
	str	r3, [sp, #8]
	ldr	r3, [sp, #24]
	mov	r0, r9
	str	r3, [sp, #4]
	ldr	r3, [sp, #20]
	str	r3, [sp]
	mov	r3, r10
	bl	write_progid_record
	b	.L4
.L20:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION
	.size	add_progid_record, .-add_progid_record
	.comm	ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
