	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpct_ready                     ## -- Begin function rpct_ready
	.p2align	4, 0x90
_rpct_ready:                            ## @rpct_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$-1, %edi
	je	LBB0_1
## %bb.2:
	movq	_Targets@GOTPCREL(%rip), %rax
	movslq	%edi, %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_get_target_connection
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	callq	_rpc_send_ready
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	$-2, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Targets,8,3                    ## @Targets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpct_ready                     ; -- Begin function rpct_ready
	.p2align	2
_rpct_ready:                            ; @rpct_ready
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _Targets@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Targets@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, w0, sxtw #2
	mov	w1, #0
	bl	_get_target_connection
	cbz	x0, LBB0_4
; %bb.2:
	bl	_rpc_send_ready
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #-2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Targets,8,3                    ; @Targets
.subsections_via_symbols
