	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_open_log_files                 ## -- Begin function open_log_files
	.p2align	4, 0x90
_open_log_files:                        ## @open_log_files
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movabsq	$3343749431667418734, %rax      ## imm = 0x2E6762646473666E
	movq	%rax, -32(%rbp)
	movl	$6778732, -24(%rbp)             ## imm = 0x676F6C
	movabsq	$3346863252892247662, %rax      ## imm = 0x2E7272656473666E
	movq	%rax, -48(%rbp)
	movl	$6778732, -40(%rbp)             ## imm = 0x676F6C
	movw	$119, -50(%rbp)
	movq	_g_debug_level@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rdi
	leaq	-50(%rbp), %rsi
	callq	_fopen
	movq	_dlog_file@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	leaq	-48(%rbp), %rdi
	leaq	-50(%rbp), %rsi
	callq	_fopen
	movq	_elog_file@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_6
## %bb.4:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	_SERVICE_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_ReportStatusToSCMgr
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%eax, %edi
	callq	_exit
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.open_log_files.dfile:         ## @__const.open_log_files.dfile
	.asciz	"nfsddbg.log"

L___const.open_log_files.efile:         ## @__const.open_log_files.efile
	.asciz	"nfsderr.log"

	.comm	_g_debug_level,8,3              ## @g_debug_level
	.comm	_dlog_file,8,3                  ## @dlog_file
	.comm	_SERVICE_STOPPED,4,2            ## @SERVICE_STOPPED
	.comm	_elog_file,8,3                  ## @elog_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_open_log_files                 ; -- Begin function open_log_files
	.p2align	2
_open_log_files:                        ; @open_log_files
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.open_log_files.dfile@PAGE
Lloh4:
	add	x8, x8, l___const.open_log_files.dfile@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w8, #28524
	movk	w8, #103, lsl #16
	str	w8, [sp, #32]
Lloh6:
	adrp	x9, l___const.open_log_files.efile@PAGE
Lloh7:
	add	x9, x9, l___const.open_log_files.efile@PAGEOFF
Lloh8:
	ldr	x9, [x9]
	str	x9, [sp, #8]
	str	w8, [sp, #16]
	mov	w8, #119
	strh	w8, [sp, #6]
Lloh9:
	adrp	x8, _g_debug_level@GOTPAGE
Lloh10:
	ldr	x8, [x8, _g_debug_level@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	add	x0, sp, #24
	add	x1, sp, #6
	bl	_fopen
Lloh12:
	adrp	x8, _dlog_file@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dlog_file@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	cbz	x0, LBB0_5
LBB0_2:
	add	x0, sp, #8
	add	x1, sp, #6
	bl	_fopen
Lloh15:
	adrp	x8, _elog_file@GOTPAGE
Lloh16:
	ldr	x8, [x8, _elog_file@GOTPAGEOFF]
Lloh17:
	str	x0, [x8]
	cbz	x0, LBB0_5
; %bb.3:
	ldur	x8, [x29, #-24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
Lloh21:
	adrp	x8, _SERVICE_STOPPED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SERVICE_STOPPED@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	bl	_GetLastError
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_ReportStatusToSCMgr
	bl	_GetLastError
	bl	_exit
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAddLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.open_log_files.dfile:         ; @__const.open_log_files.dfile
	.asciz	"nfsddbg.log"

l___const.open_log_files.efile:         ; @__const.open_log_files.efile
	.asciz	"nfsderr.log"

	.comm	_g_debug_level,8,3              ; @g_debug_level
	.comm	_dlog_file,8,3                  ; @dlog_file
	.comm	_SERVICE_STOPPED,4,2            ; @SERVICE_STOPPED
	.comm	_elog_file,8,3                  ; @elog_file
.subsections_via_symbols
