	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_conn_ready                 ## -- Begin function rpc_conn_ready
	.p2align	4, 0x90
_rpc_conn_ready:                        ## @rpc_conn_ready
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_server_check_ready
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rax
	movq	_cr_ok@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	_conn_running@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_conn_reading_query@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_RPCS_DATA
	cmpq	$0, (%rax)
	js	LBB0_6
## %bb.5:
	movq	8(%rbx), %r14
	shrq	$63, %r14
	xorl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cr_ok,8,3                      ## @cr_ok
	.comm	_conn_running,8,3               ## @conn_running
	.comm	_conn_reading_query,8,3         ## @conn_reading_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_conn_ready                 ; -- Begin function rpc_conn_ready
	.p2align	2
_rpc_conn_ready:                        ; @rpc_conn_ready
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_server_check_ready
	cbz	x19, LBB0_4
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _cr_ok@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cr_ok@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _conn_running@GOTPAGE
Lloh4:
	ldr	x10, [x10, _conn_running@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _conn_reading_query@GOTPAGE
Lloh7:
	ldr	x11, [x11, _conn_reading_query@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_RPCS_DATA
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cr_ok,8,3                      ; @cr_ok
	.comm	_conn_running,8,3               ; @conn_running
	.comm	_conn_reading_query,8,3         ; @conn_reading_query
.subsections_via_symbols
