	.file	"extr_oleaut.c_actctx_get_typelib_module.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"need larger module buffer, %u\n"
	.text
	.p2align 4
	.type	actctx_get_typelib_module, @function
actctx_get_typelib_module:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rcx, rdi
	mov	r12, rsi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edx
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	mov	DWORD PTR [rsp], 24
	mov	r8, rbx
	call	FindActCtxSectionGuid@PLT
	test	eax, eax
	jne	.L2
.L8:
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rcx, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION[rip]
	xor	esi, esi
	xor	edi, edi
	mov	r8, rbx
	call	FindActCtxSectionGuid@PLT
	test	eax, eax
	je	.L8
	mov	rbx, QWORD PTR 16[rsp]
	movsx	rdx, ebp
	movsx	rax, DWORD PTR 4[rbx]
	mov	r8, rax
	shr	rax, 3
	cmp	rax, rdx
	jnb	.L11
	movsx	rdx, DWORD PTR [rbx]
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, r12
	lea	rsi, [rax+rdx*4]
	mov	edx, r8d
	call	memcpy@PLT
	movsx	rax, DWORD PTR 4[rbx]
	and	rax, -8
	mov	QWORD PTR [r12+rax], 0
	mov	eax, DWORD PTR TRUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, r8d
	lea	rdi, .LC0[rip]
	call	ERR@PLT
	jmp	.L8
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	actctx_get_typelib_module, .-actctx_get_typelib_module
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,4,4
	.comm	ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,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_oleaut.c_actctx_get_typelib_module.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"need larger module buffer, %u\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	actctx_get_typelib_module, %function
actctx_get_typelib_module:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r2
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r1, #0
	mov	lr, #12
	sub	sp, sp, #24
	ldr	r2, .L12
	add	r4, sp, #8
	ldr	r2, [r2]
	str	r4, [sp]
	mov	r4, ip
	ldr	ip, .L12+4
	mov	r3, r0
	mov	r0, r1
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	str	lr, [sp, #8]
	bl	FindActCtxSectionGuid
	cmp	r0, #0
	bne	.L2
.L8:
	ldr	r3, .L12+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r1, #0
	ldr	r3, .L12+12
	add	r2, sp, #8
	str	r2, [sp]
	ldr	r2, [r3]
	mov	r0, r1
	ldr	r3, [sp, #16]
	bl	FindActCtxSectionGuid
	cmp	r0, #0
	beq	.L8
	ldr	r6, [sp, #16]
	ldr	r2, [r6, #4]
	cmp	r4, r2, lsr #2
	bls	.L11
	ldr	r3, [sp, #12]
	ldr	r1, [r6]
	mov	r0, r5
	add	r1, r3, r1, lsl #2
	bl	memcpy
	mov	r2, #0
	ldr	r3, [r6, #4]
	ldr	r1, .L12+16
	bic	r3, r3, #3
	ldr	r0, [r1]
	str	r2, [r5, r3]
	b	.L1
.L11:
	mov	r1, r2
	ldr	r0, .L12+20
	bl	ERR
	b	.L8
.L10:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION
	.word	.LC1
	.word	FALSE
	.word	ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION
	.word	TRUE
	.word	.LC0
	.size	actctx_get_typelib_module, .-actctx_get_typelib_module
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,4,4
	.comm	ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
