	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CheckConfigPath
_CheckConfigPath:                       ## @CheckConfigPath
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r12, %rdi
	callq	_PathIsRelativeW
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	__countof
	leaq	l_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	callq	_openvpn_swprintf
	movq	%r14, %r12
LBB0_2:
	movq	_CP_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%esi, %esi
	movl	$-1, %ecx
	movq	%r13, %r8
	callq	_MultiByteToWideChar
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%r13, %rdi
	callq	_wcslen
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_wcsncmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	movq	%r13, %rdi
	callq	_wcslen
	cltq
	leaq	(%r12,%rax,4), %rdi
	leaq	l_.str.2(%rip), %rsi
	callq	_wcsstr
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_TEXT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MsgToEventLog
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	37                              ## 0x25
	.long	115                             ## 0x73
	.long	92                              ## 0x5c
	.long	37                              ## 0x25
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.comm	_CP_UTF8,4,2                    ## @CP_UTF8
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Failed to convert config_dir name to WideChar"

	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__const
	.p2align	2                               ## @.str.2
l_.str.2:
	.long	46                              ## 0x2e
	.long	46                              ## 0x2e
	.long	0                               ## 0x0

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_CheckConfigPath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CheckConfigPath
_CheckConfigPath:                       ; @CheckConfigPath
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x24, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAX_PATH@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x23, x9, x12
	mov	sp, x23
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x20, x8, x12
	mov	sp, x20
	mov	x0, x1
	bl	_PathIsRelativeW
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	bl	__countof
	mov	x1, x0
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x3, x22
	mov	x4, x19
	bl	_openvpn_swprintf
	mov	x19, x23
LBB0_2:
Lloh11:
	adrp	x8, _CP_UTF8@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CP_UTF8@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x2, [x21]
	ldr	w5, [x24]
	mov	w1, #0
	mov	w3, #-1
	mov	x4, x20
	bl	_MultiByteToWideChar
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_wcslen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_wcsncmp
	cbnz	x0, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_wcslen
	add	x0, x19, w0, sxtw #2
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wcsstr
	cbnz	x0, LBB0_7
; %bb.5:
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh18:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TEXT
	mov	x1, x0
	mov	x0, x19
	bl	_MsgToEventLog
LBB0_7:
Lloh23:
	adrp	x8, _FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	37                              ; 0x25
	.long	115                             ; 0x73
	.long	92                              ; 0x5c
	.long	37                              ; 0x25
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.comm	_CP_UTF8,4,2                    ; @CP_UTF8
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Failed to convert config_dir name to WideChar"

	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__const
	.p2align	2                               ; @.str.2
l_.str.2:
	.long	46                              ; 0x2e
	.long	46                              ; 0x2e
	.long	0                               ; 0x0

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_CheckConfigPath
.subsections_via_symbols
