	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_typelib
_load_typelib:                          ## @load_typelib
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	_load_typelib.wscript_exeW(%rip), %rdi
	leaq	-16(%rbp), %rsi
	callq	_LoadTypeLib
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_2:
	movq	-16(%rbp), %rdi
	movq	_IID_IHost@GOTPCREL(%rip), %rsi
	movq	_host_ti@GOTPCREL(%rip), %rdx
	callq	_ITypeLib_GetTypeInfoOfGuid
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-16(%rbp), %rdi
	movq	_IID_IArguments2@GOTPCREL(%rip), %rsi
	movq	_arguments_ti@GOTPCREL(%rip), %rdx
	callq	_ITypeLib_GetTypeInfoOfGuid
	movl	%eax, %ebx
LBB0_4:
	movq	-16(%rbp), %rdi
	callq	_ITypeLib_Release
	movl	%ebx, %edi
	callq	_SUCCEEDED
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_load_typelib.wscript_exeW:             ## @load_typelib.wscript_exeW
	.asciz	"wscript.exe"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_IID_IHost,4,2                  ## @IID_IHost
	.comm	_host_ti,4,2                    ## @host_ti
	.comm	_IID_IArguments2,4,2            ## @IID_IArguments2
	.comm	_arguments_ti,4,2               ## @arguments_ti
	.no_dead_strip	_load_typelib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_typelib
_load_typelib:                          ; @load_typelib
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, _load_typelib.wscript_exeW@PAGE
Lloh1:
	add	x0, x0, _load_typelib.wscript_exeW@PAGEOFF
	add	x1, sp, #8
	bl	_LoadTypeLib
	bl	_FAILED
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	b	LBB0_5
LBB0_2:
	ldr	x0, [sp, #8]
Lloh5:
	adrp	x1, _IID_IHost@GOTPAGE
Lloh6:
	ldr	x1, [x1, _IID_IHost@GOTPAGEOFF]
Lloh7:
	adrp	x2, _host_ti@GOTPAGE
Lloh8:
	ldr	x2, [x2, _host_ti@GOTPAGEOFF]
	bl	_ITypeLib_GetTypeInfoOfGuid
	mov	x19, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [sp, #8]
Lloh9:
	adrp	x1, _IID_IArguments2@GOTPAGE
Lloh10:
	ldr	x1, [x1, _IID_IArguments2@GOTPAGEOFF]
Lloh11:
	adrp	x2, _arguments_ti@GOTPAGE
Lloh12:
	ldr	x2, [x2, _arguments_ti@GOTPAGEOFF]
	bl	_ITypeLib_GetTypeInfoOfGuid
	mov	x19, x0
LBB0_4:
	ldr	x0, [sp, #8]
	bl	_ITypeLib_Release
	mov	x0, x19
	bl	_SUCCEEDED
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_load_typelib.wscript_exeW:             ; @load_typelib.wscript_exeW
	.asciz	"wscript.exe"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_IID_IHost,4,2                  ; @IID_IHost
	.comm	_host_ti,4,2                    ; @host_ti
	.comm	_IID_IArguments2,4,2            ; @IID_IArguments2
	.comm	_arguments_ti,4,2               ; @arguments_ti
	.no_dead_strip	_load_typelib
.subsections_via_symbols
