	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OpenLogFile
_OpenLogFile:                           ## @OpenLogFile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_szLogFileName@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GENERIC_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FILE_SHARE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_OPEN_ALWAYS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %rax
	movq	_FILE_FLAG_OVERLAPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	orl	(%rax), %r9d
	movq	$0, (%rsp)
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_CreateFileW
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	cmoveq	%rbx, %rax
	movq	_hLogFile@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmoveq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_szLogFileName,4,2              ## @szLogFileName
	.comm	_GENERIC_WRITE,4,2              ## @GENERIC_WRITE
	.comm	_FILE_SHARE_READ,4,2            ## @FILE_SHARE_READ
	.comm	_OPEN_ALWAYS,4,2                ## @OPEN_ALWAYS
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ## @FILE_ATTRIBUTE_NORMAL
	.comm	_FILE_FLAG_OVERLAPPED,4,2       ## @FILE_FLAG_OVERLAPPED
	.comm	_hLogFile,8,3                   ## @hLogFile
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_OpenLogFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OpenLogFile
_OpenLogFile:                           ; @OpenLogFile
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _szLogFileName@GOTPAGE
Lloh1:
	ldr	x8, [x8, _szLogFileName@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GENERIC_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GENERIC_WRITE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _FILE_SHARE_READ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FILE_SHARE_READ@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w2, [x9]
Lloh9:
	adrp	x8, _OPEN_ALWAYS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPEN_ALWAYS@GOTPAGEOFF]
Lloh11:
	adrp	x9, _FILE_ATTRIBUTE_NORMAL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _FILE_FLAG_OVERLAPPED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FILE_FLAG_OVERLAPPED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w5, w9, w8
	mov	x3, #0
	mov	x6, #0
	bl	_CreateFileW
Lloh18:
	adrp	x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	csel	x8, xzr, x0, eq
Lloh21:
	adrp	x9, _hLogFile@GOTPAGE
Lloh22:
	ldr	x9, [x9, _hLogFile@GOTPAGEOFF]
Lloh23:
	adrp	x10, _FALSE@GOTPAGE
Lloh24:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh25:
	str	x8, [x9]
Lloh26:
	adrp	x8, _TRUE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_szLogFileName,4,2              ; @szLogFileName
	.comm	_GENERIC_WRITE,4,2              ; @GENERIC_WRITE
	.comm	_FILE_SHARE_READ,4,2            ; @FILE_SHARE_READ
	.comm	_OPEN_ALWAYS,4,2                ; @OPEN_ALWAYS
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ; @FILE_ATTRIBUTE_NORMAL
	.comm	_FILE_FLAG_OVERLAPPED,4,2       ; @FILE_FLAG_OVERLAPPED
	.comm	_hLogFile,8,3                   ; @hLogFile
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_OpenLogFile
.subsections_via_symbols
