	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_typeinfo                   ## -- Begin function get_typeinfo
	.p2align	4, 0x90
_get_typeinfo:                          ## @get_typeinfo
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_typelib@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	testl	%edi, %edi
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_load_typelib
	movl	(%r12), %edi
	testl	%edi, %edi
	je	LBB0_2
LBB0_3:
	movq	_typeinfos@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_4
LBB0_8:
	movq	%rax, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_4:
	movq	_tid_ids@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax,%r15,4), %esi
	leaq	-48(%rbp), %rdx
	callq	_ITypeLib_GetTypeInfoOfGuid
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:
	movq	(%r13), %rax
	movl	(%rax,%r15,4), %edi
	callq	_debugstr_guid
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_ERR
	jmp	LBB0_9
LBB0_2:
	movl	%eax, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	(,%r15,8), %rdi
	addq	(%r12), %rdi
	movq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_InterlockedCompareExchangePointer
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rdi
	callq	_ITypeInfo_Release
LBB0_7:
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_typelib,4,2                    ## @typelib
	.comm	_typeinfos,8,3                  ## @typeinfos
	.comm	_tid_ids,8,3                    ## @tid_ids
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GetTypeInfoOfGuid(%s) failed: %08x\n"

	.comm	_S_OK,4,2                       ## @S_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_typeinfo                   ; -- Begin function get_typeinfo
	.p2align	2
_get_typeinfo:                          ; @get_typeinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _typelib@GOTPAGE
Lloh1:
	ldr	x22, [x22, _typelib@GOTPAGEOFF]
	ldr	w0, [x22]
	cbnz	w0, LBB0_2
; %bb.1:
	bl	_load_typelib
	mov	x21, x0
	ldr	w0, [x22]
	cbz	w0, LBB0_6
LBB0_2:
Lloh2:
	adrp	x22, _typeinfos@GOTPAGE
Lloh3:
	ldr	x22, [x22, _typeinfos@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8, x20, lsl #3]
	cbz	x8, LBB0_4
LBB0_3:
	str	x8, [x19]
Lloh4:
	adrp	x8, _S_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x23, _tid_ids@GOTPAGE
Lloh8:
	ldr	x23, [x23, _tid_ids@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w1, [x8, x20, lsl #2]
	add	x2, sp, #8
	bl	_ITypeLib_GetTypeInfoOfGuid
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x23]
	ldr	w0, [x8, x20, lsl #2]
	bl	_debugstr_guid
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	bl	_ERR
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	ldr	x8, [x22]
	add	x0, x8, x20, lsl #3
	ldr	x1, [sp, #8]
	mov	x2, #0
	bl	_InterlockedCompareExchangePointer
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x0, [sp, #8]
	bl	_ITypeInfo_Release
LBB0_9:
	ldr	x8, [x22]
	ldr	x8, [x8, x20, lsl #3]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_typelib,4,2                    ; @typelib
	.comm	_typeinfos,8,3                  ; @typeinfos
	.comm	_tid_ids,8,3                    ; @tid_ids
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GetTypeInfoOfGuid(%s) failed: %08x\n"

	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
