	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreateInternetShortcut         ## -- Begin function CreateInternetShortcut
	.p2align	4, 0x90
_CreateInternetShortcut:                ## @CreateInternetShortcut
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	4(%r14), %ebx
	movq	%r15, %rdi
	callq	__countof
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_GetFullPathNameW
	movq	_CLSCTX_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CLSID_InternetShortcut@GOTPCREL(%rip), %rdi
	movq	_IID_IUniformResourceLocatorW@GOTPCREL(%rip), %rcx
	leaq	-48(%rbp), %r8
	xorl	%esi, %esi
	callq	_CoCreateInstance
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	-48(%rbp), %rdi
	movq	_IID_IPersistFile@GOTPCREL(%rip), %rsi
	leaq	-56(%rbp), %rdx
	callq	_IUnknown_QueryInterface
	movl	%eax, %edi
	callq	_FAILED
	movq	-48(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_IUnknown_Release
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%rdi), %rax
	movl	(%r14), %esi
	xorl	%edx, %edx
	callq	*8(%rax)
	movq	-56(%rbp), %rdi
	movq	(%rdi), %rax
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rsi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	-56(%rbp), %rdi
	callq	_IUnknown_Release
	movq	-48(%rbp), %rdi
	callq	_IUnknown_Release
	movl	%ebx, %edi
	callq	_SUCCEEDED
	jmp	LBB0_5
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_CLSID_InternetShortcut,4,2     ## @CLSID_InternetShortcut
	.comm	_CLSCTX_ALL,4,2                 ## @CLSCTX_ALL
	.comm	_IID_IUniformResourceLocatorW,4,2 ## @IID_IUniformResourceLocatorW
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_IID_IPersistFile,4,2           ## @IID_IPersistFile
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreateInternetShortcut         ; -- Begin function CreateInternetShortcut
	.p2align	2
_CreateInternetShortcut:                ; @CreateInternetShortcut
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #32
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	stp	xzr, xzr, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w21, [x0, #4]
	mov	x0, x20
	bl	__countof
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	x3, #0
	bl	_GetFullPathNameW
Lloh8:
	adrp	x8, _CLSCTX_ALL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CLSCTX_ALL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x0, _CLSID_InternetShortcut@GOTPAGE
Lloh12:
	ldr	x0, [x0, _CLSID_InternetShortcut@GOTPAGEOFF]
Lloh13:
	adrp	x3, _IID_IUniformResourceLocatorW@GOTPAGE
Lloh14:
	ldr	x3, [x3, _IID_IUniformResourceLocatorW@GOTPAGEOFF]
	sub	x4, x29, #48
	mov	x1, #0
	bl	_CoCreateInstance
	bl	_FAILED
	cbnz	x0, LBB0_3
; %bb.1:
	ldur	x0, [x29, #-48]
Lloh15:
	adrp	x1, _IID_IPersistFile@GOTPAGE
Lloh16:
	ldr	x1, [x1, _IID_IPersistFile@GOTPAGEOFF]
	sub	x2, x29, #56
	bl	_IUnknown_QueryInterface
	bl	_FAILED
	mov	x8, x0
	ldur	x0, [x29, #-48]
	cbz	x8, LBB0_6
; %bb.2:
	bl	_IUnknown_Release
LBB0_3:
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_4:
	mov	sp, x22
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.5:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldr	w1, [x19]
	mov	w2, #0
	blr	x8
	ldur	x0, [x29, #-56]
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _TRUE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x9]
	mov	x1, x20
	blr	x8
	mov	x19, x0
	ldur	x0, [x29, #-56]
	bl	_IUnknown_Release
	ldur	x0, [x29, #-48]
	bl	_IUnknown_Release
	mov	x0, x19
	bl	_SUCCEEDED
	b	LBB0_4
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_CLSID_InternetShortcut,4,2     ; @CLSID_InternetShortcut
	.comm	_CLSCTX_ALL,4,2                 ; @CLSCTX_ALL
	.comm	_IID_IUniformResourceLocatorW,4,2 ; @IID_IUniformResourceLocatorW
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_IID_IPersistFile,4,2           ; @IID_IPersistFile
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
