	.file	"extr_log.c_OpenLogFile.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	OpenLogFile, @function
OpenLogFile:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 16
	.cfi_def_cfa_offset 24
	mov	r8d, DWORD PTR OPEN_ALWAYS[rip]
	xor	ecx, ecx
	xor	edx, edx
	mov	r9d, DWORD PTR FILE_ATTRIBUTE_NORMAL[rip]
	mov	esi, DWORD PTR GENERIC_WRITE[rip]
	push	0
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR lpLogFileName[rip]
	call	CreateFile@PLT
	cmp	rax, QWORD PTR INVALID_HANDLE_VALUE[rip]
	pop	rdx
	.cfi_def_cfa_offset 24
	mov	r8d, DWORD PTR TRUE[rip]
	pop	rcx
	.cfi_def_cfa_offset 16
	mov	QWORD PTR hLogFile[rip], rax
	je	.L6
	mov	eax, r8d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r8d, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	OpenLogFile, .-OpenLogFile
	.comm	lpLogFileName,4,4
	.comm	hLogFile,8,8
	.comm	TRUE,4,4
	.comm	OPEN_ALWAYS,4,4
	.comm	INVALID_HANDLE_VALUE,8,8
	.comm	GENERIC_WRITE,4,4
	.comm	FILE_ATTRIBUTE_NORMAL,4,4
	.comm	FALSE,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_log.c_OpenLogFile.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	OpenLogFile, %function
OpenLogFile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	str	lr, [sp, #-4]!
	ldr	r1, .L6
	ldr	r2, .L6+4
	ldr	ip, [r1]
	ldr	r2, [r2]
	sub	sp, sp, #20
	stm	sp, {r2, ip}
	ldr	r1, .L6+8
	ldr	r0, .L6+12
	str	r3, [sp, #8]
	mov	r2, r3
	ldr	r1, [r1]
	ldr	r0, [r0]
	bl	CreateFile
	ldr	r3, .L6+16
	ldr	r2, .L6+20
	ldr	r3, [r3]
	str	r0, [r2]
	cmp	r0, r3
	ldreq	r3, .L6+24
	ldrne	r3, .L6+28
	ldr	r0, [r3]
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L7:
	.align	2
.L6:
	.word	FILE_ATTRIBUTE_NORMAL
	.word	OPEN_ALWAYS
	.word	GENERIC_WRITE
	.word	lpLogFileName
	.word	INVALID_HANDLE_VALUE
	.word	hLogFile
	.word	FALSE
	.word	TRUE
	.size	OpenLogFile, .-OpenLogFile
	.comm	lpLogFileName,4,4
	.comm	hLogFile,4,4
	.comm	TRUE,4,4
	.comm	OPEN_ALWAYS,4,4
	.comm	INVALID_HANDLE_VALUE,4,4
	.comm	GENERIC_WRITE,4,4
	.comm	FILE_ATTRIBUTE_NORMAL,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
