	.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
	movl	%edi, %r15d
	movq	_typelib@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_1
LBB0_4:
	movq	_typeinfo@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	%r15d, %r15d
	movq	(%rax,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_5
LBB0_9:
	movq	%rax, (%r14)
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_ITypeInfo_AddRef
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_1:
	movq	_LOCALE_SYSTEM_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_LIBID_NetFwPublicTypeLib@GOTPCREL(%rip), %rdi
	leaq	-48(%rbp), %r8
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_LoadRegTypeLib
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.11:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_10
LBB0_5:
	movl	(%r12), %edi
	movq	_tid_id@GOTPCREL(%rip), %r12
	movq	(%r12), %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_6
## %bb.12:
	movq	(%r12), %rax
	movl	(%rax,%r15,4), %edi
	callq	_debugstr_guid
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_ERR
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	-48(%rbp), %rsi
	movq	_typelib@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	callq	_InterlockedCompareExchangePointer
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rdi
	callq	_ITypeLib_Release
	jmp	LBB0_4
LBB0_6:
	leaq	(,%r15,8), %rdi
	addq	(%r13), %rdi
	movq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_InterlockedCompareExchangePointer
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rdi
	callq	_ITypeInfo_Release
LBB0_8:
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_typelib,4,2                    ## @typelib
	.comm	_LIBID_NetFwPublicTypeLib,4,2   ## @LIBID_NetFwPublicTypeLib
	.comm	_LOCALE_SYSTEM_DEFAULT,4,2      ## @LOCALE_SYSTEM_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LoadRegTypeLib failed: %08x\n"

	.comm	_typeinfo,8,3                   ## @typeinfo
	.comm	_tid_id,8,3                     ## @tid_id
L_.str.1:                               ## @.str.1
	.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	x23, _typelib@GOTPAGE
Lloh1:
	ldr	x23, [x23, _typelib@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_3
LBB0_1:
Lloh2:
	adrp	x24, _typeinfo@GOTPAGE
Lloh3:
	ldr	x24, [x24, _typeinfo@GOTPAGEOFF]
	ldr	x8, [x24]
	mov	w22, w20
	ldr	x8, [x8, w20, uxtw #3]
	cbz	x8, LBB0_5
LBB0_2:
	str	x8, [x19]
	ldr	x8, [x24]
	ldr	x0, [x8, x22, lsl #3]
	bl	_ITypeInfo_AddRef
Lloh4:
	adrp	x8, _S_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
	b	LBB0_8
LBB0_3:
Lloh7:
	adrp	x8, _LOCALE_SYSTEM_DEFAULT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LOCALE_SYSTEM_DEFAULT@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x0, _LIBID_NetFwPublicTypeLib@GOTPAGE
Lloh11:
	ldr	x0, [x0, _LIBID_NetFwPublicTypeLib@GOTPAGEOFF]
	add	x4, sp, #8
	mov	w1, #1
	mov	w2, #0
	bl	_LoadRegTypeLib
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_9
; %bb.4:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	b	LBB0_7
LBB0_5:
	ldr	w0, [x23]
Lloh14:
	adrp	x20, _tid_id@GOTPAGE
Lloh15:
	ldr	x20, [x20, _tid_id@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w1, [x8, x22, lsl #2]
	add	x2, sp, #8
	bl	_ITypeLib_GetTypeInfoOfGuid
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_11
; %bb.6:
	ldr	x8, [x20]
	ldr	w0, [x8, x22, lsl #2]
	bl	_debugstr_guid
	mov	x1, x0
	str	x21, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	_ERR
LBB0_8:
	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_9:
	ldr	x1, [sp, #8]
Lloh18:
	adrp	x0, _typelib@GOTPAGE
Lloh19:
	ldr	x0, [x0, _typelib@GOTPAGEOFF]
	mov	x2, #0
	bl	_InterlockedCompareExchangePointer
	cbz	x0, LBB0_1
; %bb.10:
	ldr	x0, [sp, #8]
	bl	_ITypeLib_Release
	b	LBB0_1
LBB0_11:
	ldr	x8, [x24]
	add	x0, x8, x22, lsl #3
	ldr	x1, [sp, #8]
	mov	x2, #0
	bl	_InterlockedCompareExchangePointer
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x0, [sp, #8]
	bl	_ITypeInfo_Release
LBB0_13:
	ldr	x8, [x24]
	ldr	x8, [x8, x22, lsl #3]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_typelib,4,2                    ; @typelib
	.comm	_LIBID_NetFwPublicTypeLib,4,2   ; @LIBID_NetFwPublicTypeLib
	.comm	_LOCALE_SYSTEM_DEFAULT,4,2      ; @LOCALE_SYSTEM_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LoadRegTypeLib failed: %08x\n"

	.comm	_typeinfo,8,3                   ; @typeinfo
	.comm	_tid_id,8,3                     ; @tid_id
l_.str.1:                               ; @.str.1
	.asciz	"GetTypeInfoOfGuid(%s) failed: %08x\n"

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