	.file	"extr_inicache.c_IniCacheSave.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"NtCreateFile() failed (Status %lx)\n"
	.text
	.p2align 4
	.globl	IniCacheSave
	.type	IniCacheSave, @function
IniCacheSave:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r13, 8[rsp]
	lea	r12, 12[rsp]
	mov	rdi, r13
	call	RtlInitUnicodeString@PLT
	mov	edx, DWORD PTR OBJ_CASE_INSENSITIVE[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdi, r12
	mov	rsi, r13
	call	InitializeObjectAttributes@PLT
	lea	rdi, 20[rsp]
	xor	r8d, r8d
	mov	rdx, r12
	mov	eax, DWORD PTR FILE_SYNCHRONOUS_IO_NONALERT[rip]
	lea	rcx, 16[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	or	eax, DWORD PTR FILE_SEQUENTIAL_ONLY[rip]
	or	eax, DWORD PTR FILE_NON_DIRECTORY_FILE[rip]
	mov	r9d, DWORD PTR FILE_ATTRIBUTE_NORMAL[rip]
	push	0
	.cfi_def_cfa_offset 80
	push	0
	.cfi_def_cfa_offset 88
	mov	esi, DWORD PTR FILE_GENERIC_WRITE[rip]
	push	rax
	.cfi_def_cfa_offset 96
	mov	eax, DWORD PTR FILE_SUPERSEDE[rip]
	or	esi, DWORD PTR SYNCHRONIZE[rip]
	push	rax
	.cfi_def_cfa_offset 104
	push	0
	.cfi_def_cfa_offset 112
	call	NtCreateFile@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 64
	mov	edi, eax
	mov	r12d, eax
	call	NT_SUCCESS@PLT
	test	eax, eax
	je	.L7
	mov	esi, DWORD PTR 20[rsp]
	mov	edi, ebp
	call	IniCacheSaveByHandle@PLT
	mov	edi, DWORD PTR 20[rsp]
	mov	r12d, eax
	call	NtClose@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	call	DPRINT@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	IniCacheSave, .-IniCacheSave
	.comm	SYNCHRONIZE,4,4
	.comm	OBJ_CASE_INSENSITIVE,4,4
	.comm	FILE_SYNCHRONOUS_IO_NONALERT,4,4
	.comm	FILE_SUPERSEDE,4,4
	.comm	FILE_SEQUENTIAL_ONLY,4,4
	.comm	FILE_NON_DIRECTORY_FILE,4,4
	.comm	FILE_GENERIC_WRITE,4,4
	.comm	FILE_ATTRIBUTE_NORMAL,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_inicache.c_IniCacheSave.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"NtCreateFile() failed (Status %lx)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	IniCacheSave
	.syntax unified
	.arm
	.fpu softvfp
	.type	IniCacheSave, %function
IniCacheSave:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, #0
	sub	sp, sp, #60
	ldr	r3, .L9
	mov	r5, r0
	add	r0, sp, #36
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	bl	RtlInitUnicodeString
	ldr	r2, .L9+4
	str	r4, [sp]
	mov	r3, r4
	ldr	r2, [r2]
	add	r1, sp, #36
	add	r0, sp, #40
	bl	InitializeObjectAttributes
	ldr	r1, .L9+8
	ldr	r3, .L9+12
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r2, .L9+16
	orr	r3, r3, r0
	ldr	lr, .L9+20
	ldr	r1, .L9+24
	ldr	ip, .L9+28
	ldr	r0, .L9+32
	ldr	r2, [r2]
	ldr	lr, [lr]
	ldr	r1, [r1]
	ldr	ip, [ip]
	ldr	r0, [r0]
	orr	r3, r3, r2
	str	r4, [sp, #24]
	str	r4, [sp, #20]
	str	r4, [sp, #8]
	str	r4, [sp]
	add	r2, sp, #40
	str	r3, [sp, #16]
	orr	r1, lr, r1
	str	ip, [sp, #12]
	str	r0, [sp, #4]
	add	r3, sp, #44
	add	r0, sp, #48
	bl	NtCreateFile
	mov	r4, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L7
	mov	r0, r5
	ldr	r1, [sp, #48]
	bl	IniCacheSaveByHandle
	mov	r4, r0
	ldr	r0, [sp, #48]
	bl	NtClose
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	mov	r1, r4
	ldr	r0, .L9+36
	bl	DPRINT
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	OBJ_CASE_INSENSITIVE
	.word	FILE_SEQUENTIAL_ONLY
	.word	FILE_SYNCHRONOUS_IO_NONALERT
	.word	FILE_NON_DIRECTORY_FILE
	.word	FILE_GENERIC_WRITE
	.word	SYNCHRONIZE
	.word	FILE_SUPERSEDE
	.word	FILE_ATTRIBUTE_NORMAL
	.word	.LC0
	.size	IniCacheSave, .-IniCacheSave
	.comm	SYNCHRONIZE,4,4
	.comm	OBJ_CASE_INSENSITIVE,4,4
	.comm	FILE_SYNCHRONOUS_IO_NONALERT,4,4
	.comm	FILE_SUPERSEDE,4,4
	.comm	FILE_SEQUENTIAL_ONLY,4,4
	.comm	FILE_NON_DIRECTORY_FILE,4,4
	.comm	FILE_GENERIC_WRITE,4,4
	.comm	FILE_ATTRIBUTE_NORMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
