	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __redisAsyncHandleConnect
___redisAsyncHandleConnect:             ## @__redisAsyncHandleConnect
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -28(%rbp)
	leaq	8(%rdi), %r14
	leaq	-28(%rbp), %rsi
	movq	%r14, %rdi
	callq	_redisCheckConnectDone
	movq	_REDIS_ERR@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_redisCheckSocketError
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	*%rax
LBB0_3:
	movq	%rbx, %rdi
	callq	___redisAsyncDisconnect
	movl	(%r15), %eax
	jmp	LBB0_9
LBB0_4:
	cmpl	$1, -28(%rbp)
	jne	LBB0_8
## %bb.5:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_REDIS_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	callq	*%rax
LBB0_7:
	movq	_REDIS_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_8:
	movq	_REDIS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_ERR,8,3                  ## @REDIS_ERR
	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
	.comm	_REDIS_CONNECTED,4,2            ## @REDIS_CONNECTED
	.no_dead_strip	___redisAsyncHandleConnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __redisAsyncHandleConnect
___redisAsyncHandleConnect:             ; @__redisAsyncHandleConnect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	str	wzr, [sp, #12]
	add	x20, x0, #8
	add	x1, sp, #12
	mov	x0, x20
	bl	_redisCheckConnectDone
Lloh0:
	adrp	x21, _REDIS_ERR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REDIS_ERR@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_redisCheckSocketError
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w1, [x21]
	mov	x0, x19
	blr	x8
LBB0_3:
	mov	x0, x19
	bl	___redisAsyncDisconnect
	ldr	w0, [x21]
	b	LBB0_9
LBB0_4:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
Lloh2:
	adrp	x9, _REDIS_OK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REDIS_OK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
LBB0_7:
Lloh5:
	adrp	x8, _REDIS_CONNECTED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REDIS_CONNECTED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_8:
Lloh8:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_9:
	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
	add	sp, sp, #64
	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	_REDIS_ERR,8,3                  ; @REDIS_ERR
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.comm	_REDIS_CONNECTED,4,2            ; @REDIS_CONNECTED
	.no_dead_strip	___redisAsyncHandleConnect
.subsections_via_symbols
