	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rconnect                       ## -- Begin function rconnect
	.p2align	4, 0x90
_rconnect:                              ## @rconnect
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movl	%edi, %esi
	movq	_idm@GOTPCREL(%rip), %rdi
	callq	_idm_lookup
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.9:
	movq	32(%rbx), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rs_do_connect                  ## TAILCALL
LBB0_8:
	movq	_EBADF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
LBB0_2:
	movq	8(%rbx), %rax
	movq	_rs_init@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ds_init_ep
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_7
LBB0_4:
	leaq	16(%rbx), %r12
	movq	%r12, %rdi
	callq	_fastlock_acquire
	movl	24(%rbx), %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_connect
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rcx
	addq	$20, %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_ds_get_dest
	movl	%eax, %r13d
LBB0_6:
	movq	%r12, %rdi
	callq	_fastlock_release
LBB0_7:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idm,4,2                        ## @idm
	.comm	_EBADF,4,2                      ## @EBADF
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.comm	_rs_init,8,3                    ## @rs_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rconnect                       ; -- Begin function rconnect
	.p2align	2
_rconnect:                              ; @rconnect
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x1, x0
Lloh0:
	adrp	x0, _idm@GOTPAGE
Lloh1:
	ldr	x0, [x0, _idm@GOTPAGEOFF]
	bl	_idm_lookup
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x0, [x21, #32]
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	mov	x0, x21
	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
	b	_rs_do_connect
LBB0_3:
Lloh5:
	adrp	x8, _EBADF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	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
	b	_ERR
LBB0_4:
	ldr	x8, [x21, #8]
Lloh8:
	adrp	x9, _rs_init@GOTPAGE
Lloh9:
	ldr	x9, [x9, _rs_init@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_ds_init_ep
	mov	x23, x0
	cbnz	w0, LBB0_9
LBB0_6:
	add	x22, x21, #16
	mov	x0, x22
	bl	_fastlock_acquire
	ldr	w0, [x21, #24]
	mov	x1, x20
	mov	x2, x19
	bl	_connect
	mov	x23, x0
	cbnz	w0, LBB0_8
; %bb.7:
	add	x3, x21, #20
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ds_get_dest
	mov	x23, x0
LBB0_8:
	mov	x0, x22
	bl	_fastlock_release
LBB0_9:
	mov	x0, x23
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_idm,4,2                        ; @idm
	.comm	_EBADF,4,2                      ; @EBADF
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.comm	_rs_init,8,3                    ; @rs_init
.subsections_via_symbols
