	.file	"extr_install.c_CreateShellLink.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	CreateShellLink, @function
CreateShellLink:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	xor	esi, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	lea	rcx, IID_IShellLink[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r9d
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	edx, DWORD PTR CLSCTX_INPROC_SERVER[rip]
	mov	DWORD PTR 12[rsp], edi
	lea	r8, 24[rsp]
	lea	rdi, CLSID_ShellLink[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	CoCreateInstance@PLT
	mov	edi, eax
	mov	r15d, eax
	call	SUCCEEDED@PLT
	test	rax, rax
	jne	.L29
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L30
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rsp]
	mov	esi, r14d
	call	IShellLinkW_SetPath@PLT
	test	r13d, r13d
	jne	.L31
	mov	rdi, QWORD PTR 24[rsp]
	test	r12d, r12d
	jne	.L32
.L4:
	test	ebp, ebp
	jne	.L33
.L5:
	mov	eax, DWORD PTR 112[rsp]
	test	eax, eax
	jne	.L34
.L6:
	lea	rdx, 32[rsp]
	lea	rsi, IID_IPersistFile[rip]
	call	IShellLinkW_QueryInterface@PLT
	mov	edi, eax
	mov	r15d, eax
	call	SUCCEEDED@PLT
	test	rax, rax
	jne	.L35
.L7:
	mov	rdi, QWORD PTR 24[rsp]
	call	IShellLinkW_Release@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rdi, QWORD PTR 24[rsp]
	mov	esi, r13d
	call	IShellLinkW_SetArguments@PLT
	mov	rdi, QWORD PTR 24[rsp]
	test	r12d, r12d
	je	.L4
.L32:
	mov	esi, r12d
	call	IShellLinkW_SetWorkingDirectory@PLT
	mov	rdi, QWORD PTR 24[rsp]
	test	ebp, ebp
	je	.L5
.L33:
	mov	edx, ebx
	mov	esi, ebp
	call	IShellLinkW_SetIconLocation@PLT
	mov	eax, DWORD PTR 112[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	test	eax, eax
	je	.L6
.L34:
	mov	esi, DWORD PTR 112[rsp]
	call	IShellLinkW_SetDescription@PLT
	mov	rdi, QWORD PTR 24[rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdi, QWORD PTR 32[rsp]
	mov	edx, DWORD PTR TRUE[rip]
	mov	esi, DWORD PTR 12[rsp]
	call	IPersistFile_Save@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	r15d, eax
	call	IPersistFile_Release@PLT
	jmp	.L7
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	CreateShellLink, .-CreateShellLink
	.comm	TRUE,4,4
	.comm	IID_IShellLink,4,4
	.comm	IID_IPersistFile,4,4
	.comm	CLSID_ShellLink,4,4
	.comm	CLSCTX_INPROC_SERVER,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_install.c_CreateShellLink.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CreateShellLink, %function
CreateShellLink:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r2
	sub	sp, sp, #24
	ldr	r2, .L36
	ldr	ip, .L36+4
	mov	r5, r3
	add	r3, sp, #12
	ldr	r2, [r2]
	mov	r7, r0
	str	r3, [sp]
	mov	r8, r1
	ldr	r3, .L36+8
	mov	r1, #0
	ldr	r0, .L36+12
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	bl	CoCreateInstance
	mov	r4, r0
	bl	SUCCEEDED
	cmp	r0, #0
	bne	.L29
.L1:
	ldr	r3, .L36+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L29:
	mov	r1, r8
	ldr	r0, [sp, #12]
	bl	IShellLinkW_SetPath
	cmp	r6, #0
	bne	.L31
	cmp	r5, #0
	ldr	r0, [sp, #12]
	bne	.L32
.L4:
	ldr	r3, [sp, #48]
	cmp	r3, #0
	bne	.L33
.L5:
	ldr	r3, [sp, #56]
	cmp	r3, #0
	bne	.L34
.L6:
	ldr	r1, .L36+16
	add	r2, sp, #16
	bl	IShellLinkW_QueryInterface
	mov	r4, r0
	bl	SUCCEEDED
	cmp	r0, #0
	bne	.L35
.L7:
	ldr	r0, [sp, #12]
	bl	IShellLinkW_Release
	b	.L1
.L31:
	mov	r1, r6
	ldr	r0, [sp, #12]
	bl	IShellLinkW_SetArguments
	cmp	r5, #0
	ldr	r0, [sp, #12]
	beq	.L4
.L32:
	mov	r1, r5
	bl	IShellLinkW_SetWorkingDirectory
	ldr	r3, [sp, #48]
	ldr	r0, [sp, #12]
	cmp	r3, #0
	beq	.L5
.L33:
	mov	r1, r3
	ldr	r2, [sp, #52]
	bl	IShellLinkW_SetIconLocation
	ldr	r3, [sp, #56]
	ldr	r0, [sp, #12]
	cmp	r3, #0
	beq	.L6
.L34:
	mov	r1, r3
	bl	IShellLinkW_SetDescription
	ldr	r0, [sp, #12]
	b	.L6
.L35:
	ldr	r3, .L36+20
	mov	r1, r7
	ldr	r2, [r3]
	ldr	r0, [sp, #16]
	bl	IPersistFile_Save
	mov	r4, r0
	ldr	r0, [sp, #16]
	bl	IPersistFile_Release
	b	.L7
.L30:
	bl	__stack_chk_fail
.L37:
	.align	2
.L36:
	.word	CLSCTX_INPROC_SERVER
	.word	.LC0
	.word	IID_IShellLink
	.word	CLSID_ShellLink
	.word	IID_IPersistFile
	.word	TRUE
	.size	CreateShellLink, .-CreateShellLink
	.comm	TRUE,4,4
	.comm	IID_IShellLink,4,4
	.comm	IID_IPersistFile,4,4
	.comm	CLSID_ShellLink,4,4
	.comm	CLSCTX_INPROC_SERVER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
