	.file	"extr_NtApphelpCacheControl.c_RegisterInShimCache.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"RegisterInShimCache: RtlDosPathNameToNtPathName_U failed\n"
	.align 8
.LC1:
	.string	"RegisterInShimCache: CallCacheControl failed\n"
	.text
	.p2align 4
	.type	RegisterInShimCache, @function
RegisterInShimCache:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	mov	r12d, edi
	sub	rsp, 24
	movsx	rdx, DWORD PTR MAX_PATH[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rsi, rsp
	lea	rax, 15[0+rdx*4]
	mov	rcx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rcx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L15
.L4:
	mov	r14, rsp
	xor	edi, edi
	lea	r13, -44[rbp]
	movabs	rax, 4611686018427387903
	and	rdx, rax
	mov	rsi, r14
	call	GetModuleFileNameW@PLT
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, r14
	call	RtlDosPathNameToNtPathName_U@PLT
	test	eax, eax
	je	.L16
	mov	edx, DWORD PTR ApphelpCacheServiceUpdate[rip]
	mov	rdi, r13
	mov	esi, r12d
	call	CallCacheControl@PLT
	mov	edi, eax
	call	NT_SUCCESS@PLT
	test	eax, eax
	je	.L17
	mov	r12d, DWORD PTR -44[rbp]
	xor	eax, eax
	call	RtlGetProcessHeap@PLT
	xor	esi, esi
	mov	edi, eax
	mov	edx, r12d
	call	RtlFreeHeap@PLT
	mov	eax, DWORD PTR TRUE[rip]
.L1:
	mov	rdx, QWORD PTR -40[rbp]
	xor	rdx, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -24[rbp]
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DbgPrint@PLT
	mov	eax, DWORD PTR FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rdi, .LC1[rip]
	call	DbgPrint@PLT
	mov	r12d, DWORD PTR -44[rbp]
	xor	eax, eax
	call	RtlGetProcessHeap@PLT
	xor	esi, esi
	mov	edi, eax
	mov	edx, r12d
	call	RtlFreeHeap@PLT
	mov	eax, DWORD PTR FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	RegisterInShimCache, .-RegisterInShimCache
	.comm	TRUE,4,4
	.comm	MAX_PATH,4,4
	.comm	FALSE,4,4
	.comm	ApphelpCacheServiceUpdate,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_NtApphelpCacheControl.c_RegisterInShimCache.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"RegisterInShimCache: RtlDosPathNameToNtPathName_U f"
	.ascii	"ailed\012\000"
	.align	2
.LC1:
	.ascii	"RegisterInShimCache: CallCacheControl failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	RegisterInShimCache, %function
RegisterInShimCache:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	ldr	r3, .L11
	mov	r4, r0
	ldr	r2, [r3]
	mov	r0, #0
	lsl	r3, r2, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r5, sp
	ldr	r3, .L11+4
	mov	r1, r5
	bic	r2, r2, #-1073741824
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	GetModuleFileNameW
	mov	r3, #0
	mov	r0, r5
	mov	r2, r3
	sub	r1, fp, #20
	bl	RtlDosPathNameToNtPathName_U
	cmp	r0, #0
	beq	.L8
	ldr	r3, .L11+8
	mov	r1, r4
	ldr	r2, [r3]
	sub	r0, fp, #20
	bl	CallCacheControl
	bl	NT_SUCCESS
	subs	r4, r0, #0
	beq	.L9
	bl	RtlGetProcessHeap
	mov	r1, #0
	ldr	r2, [fp, #-20]
	bl	RtlFreeHeap
	ldr	r3, .L11+12
	ldr	r0, [r3]
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	ldr	r0, .L11+16
	bl	DbgPrint
	bl	RtlGetProcessHeap
	mov	r1, r4
	ldr	r2, [fp, #-20]
	bl	RtlFreeHeap
	ldr	r3, .L11+20
	ldr	r0, [r3]
	b	.L1
.L8:
	ldr	r0, .L11+24
	bl	DbgPrint
	ldr	r3, .L11+20
	ldr	r0, [r3]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	MAX_PATH
	.word	.LC2
	.word	ApphelpCacheServiceUpdate
	.word	TRUE
	.word	.LC1
	.word	FALSE
	.word	.LC0
	.size	RegisterInShimCache, .-RegisterInShimCache
	.comm	TRUE,4,4
	.comm	MAX_PATH,4,4
	.comm	FALSE,4,4
	.comm	ApphelpCacheServiceUpdate,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
