	.file	"extr_wshom_main.c_get_typeinfo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"GetTypeInfoOfGuid(%s) failed: %08x\n"
	.text
	.p2align 4
	.globl	get_typeinfo
	.type	get_typeinfo, @function
get_typeinfo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	load_typelib@PLT
	mov	edi, eax
	mov	r12d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR typeinfos[rip]
	lea	r13, 0[0+rbx*8]
	mov	rdi, QWORD PTR [rax+rbx*8]
	test	rdi, rdi
	je	.L12
.L3:
	mov	QWORD PTR 0[rbp], rdi
	call	ITypeInfo_AddRef@PLT
	mov	r12d, DWORD PTR S_OK[rip]
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rax, QWORD PTR tid_ids[rip]
	mov	edi, DWORD PTR typelib[rip]
	mov	rdx, rsp
	mov	esi, DWORD PTR [rax+rbx*4]
	call	ITypeLib_GetTypeInfoOfGuid@PLT
	mov	edi, eax
	mov	r12d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L14
	mov	rdi, QWORD PTR typeinfos[rip]
	mov	rsi, QWORD PTR [rsp]
	xor	edx, edx
	add	rdi, r13
	call	InterlockedCompareExchangePointer@PLT
	test	rax, rax
	jne	.L15
.L5:
	mov	rax, QWORD PTR typeinfos[rip]
	mov	rdi, QWORD PTR [rax+rbx*8]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR tid_ids[rip]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	debugstr_guid@PLT
	mov	edx, r12d
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR [rsp]
	call	ITypeInfo_Release@PLT
	jmp	.L5
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_typeinfo, .-get_typeinfo
	.comm	typelib,4,4
	.comm	typeinfos,8,8
	.comm	tid_ids,8,8
	.comm	S_OK,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_wshom_main.c_get_typeinfo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GetTypeInfoOfGuid(%s) failed: %08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_typeinfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_typeinfo, %function
get_typeinfo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L16
	sub	sp, sp, #12
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	bl	load_typelib
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L1
	ldr	r7, .L16+4
	lsl	r8, r5, #2
	ldr	r3, [r7]
	ldr	r0, [r3, r5, lsl #2]
	cmp	r0, #0
	beq	.L12
.L3:
	str	r0, [r6]
	bl	ITypeInfo_AddRef
	ldr	r3, .L16+8
	ldr	r4, [r3]
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	ldr	r9, .L16+12
	ldr	r2, .L16+16
	ldr	r3, [r9]
	ldr	r0, [r2]
	ldr	r1, [r3, r5, lsl #2]
	mov	r2, sp
	bl	ITypeLib_GetTypeInfoOfGuid
	mov	r4, r0
	bl	FAILED
	subs	r2, r0, #0
	bne	.L14
	ldr	r0, [r7]
	ldr	r1, [sp]
	add	r0, r0, r8
	bl	InterlockedCompareExchangePointer
	cmp	r0, #0
	bne	.L15
.L5:
	ldr	r3, [r7]
	ldr	r0, [r3, r5, lsl #2]
	b	.L3
.L14:
	ldr	r3, [r9]
	ldr	r0, [r3, r5, lsl #2]
	bl	debugstr_guid
	mov	r2, r4
	mov	r1, r0
	ldr	r0, .L16+20
	bl	ERR
	b	.L1
.L15:
	ldr	r0, [sp]
	bl	ITypeInfo_Release
	b	.L5
.L13:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	typeinfos
	.word	S_OK
	.word	tid_ids
	.word	typelib
	.word	.LC0
	.size	get_typeinfo, .-get_typeinfo
	.comm	typelib,4,4
	.comm	typeinfos,4,4
	.comm	tid_ids,4,4
	.comm	S_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
