	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_Reopen                  ## -- Begin function server_Reopen
	.p2align	4, 0x90
_server_Reopen:                         ## @server_Reopen
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_server@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_7
## %bb.1:
	leaq	-40(%rbp), %rdi
	callq	_strcpy
	movl	16(%rbx), %r14d
	movq	%r15, %rdi
	callq	_server_Close
	movq	(%rbx), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_6
## %bb.2:
	leaq	-48(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_server_LocalOpen
	jmp	LBB0_12
LBB0_7:
	movq	8(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	callq	_server_Close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_14
## %bb.9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_server_TcpOpen                 ## TAILCALL
LBB0_3:
	movq	_S_IFSOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -48(%rbp)
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rdi
	callq	_unlink
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	_SERVER_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_SERVER_UNSET@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_server,24,3                    ## @server
	.comm	_S_IFSOCK,4,2                   ## @S_IFSOCK
	.comm	_SERVER_FAILED,4,2              ## @SERVER_FAILED
	.comm	_SERVER_UNSET,4,2               ## @SERVER_UNSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_Reopen                  ; -- Begin function server_Reopen
	.p2align	2
_server_Reopen:                         ; @server_Reopen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x21, _server@GOTPAGE
Lloh4:
	ldr	x21, [x21, _server@GOTPAGEOFF]
	ldr	x1, [x21]
	ldrb	w8, [x1]
	cbz	w8, LBB0_4
; %bb.1:
	add	x0, sp, #16
	bl	_strcpy
	ldr	w20, [x21, #16]
	mov	x0, x19
	bl	_server_Close
	ldr	x0, [x21]
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	add	x1, sp, #8
	bl	_stat
	cbz	x0, LBB0_7
LBB0_3:
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x20
	bl	_server_LocalOpen
	b	LBB0_12
LBB0_4:
	ldr	x20, [x21, #8]
	cbz	x20, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_server_Close
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_server_TcpOpen
LBB0_7:
	ldr	w8, [sp, #8]
Lloh8:
	adrp	x9, _S_IFSOCK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _S_IFSOCK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	x0, [x21]
	bl	_unlink
	cbz	x0, LBB0_3
LBB0_9:
Lloh11:
	adrp	x8, _SERVER_FAILED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SERVER_FAILED@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _SERVER_UNSET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SERVER_UNSET@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_server,24,3                    ; @server
	.comm	_S_IFSOCK,4,2                   ; @S_IFSOCK
	.comm	_SERVER_FAILED,4,2              ; @SERVER_FAILED
	.comm	_SERVER_UNSET,4,2               ; @SERVER_UNSET
.subsections_via_symbols
