	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_check_ready             ## -- Begin function server_check_ready
	.p2align	4, 0x90
_server_check_ready:                    ## @server_check_ready
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_conn_none@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_conn_connecting@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.3:
	movq	_conn_error@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_cr_failed@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_cr_notyet@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movslq	8(%rdi), %rax
	movq	_cr_failed@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_8
## %bb.6:
	movq	_cr_ok@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	movl	%eax, 8(%rdi)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conn_none,8,3                  ## @conn_none
	.comm	_conn_connecting,8,3            ## @conn_connecting
	.comm	_cr_notyet,4,2                  ## @cr_notyet
	.comm	_conn_error,8,3                 ## @conn_error
	.comm	_cr_failed,8,3                  ## @cr_failed
	.comm	_cr_ok,4,2                      ## @cr_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_check_ready             ; -- Begin function server_check_ready
	.p2align	2
_server_check_ready:                    ; @server_check_ready
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _conn_none@GOTPAGE
Lloh1:
	ldr	x9, [x9, _conn_none@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _conn_connecting@GOTPAGE
Lloh4:
	ldr	x10, [x10, _conn_connecting@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _cr_notyet@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cr_notyet@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh8:
	adrp	x9, _conn_error@GOTPAGE
Lloh9:
	ldr	x9, [x9, _conn_error@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _cr_failed@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cr_failed@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	b	LBB0_7
LBB0_4:
	ldrsw	x8, [x0, #8]
Lloh14:
	adrp	x9, _cr_failed@GOTPAGE
Lloh15:
	ldr	x9, [x9, _cr_failed@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.eq	LBB0_7
; %bb.5:
Lloh17:
	adrp	x8, _cr_ok@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cr_ok@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
LBB0_7:
	str	w8, [x0, #8]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_conn_none,8,3                  ; @conn_none
	.comm	_conn_connecting,8,3            ; @conn_connecting
	.comm	_cr_notyet,4,2                  ; @cr_notyet
	.comm	_conn_error,8,3                 ; @conn_error
	.comm	_cr_failed,8,3                  ; @cr_failed
	.comm	_cr_ok,4,2                      ; @cr_ok
.subsections_via_symbols
