	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_redisCheckSocketError
	movq	_REDIS_ERR@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_5
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_EINPROGRESS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.2:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	*%rcx
LBB0_4:
	movq	%rbx, %rdi
	callq	___redisAsyncDisconnect
	movl	(%r14), %eax
	jmp	LBB0_8
LBB0_5:
	movq	_REDIS_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	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_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_ERR,8,3                  ## @REDIS_ERR
	.comm	_errno,8,3                      ## @errno
	.comm	_EINPROGRESS,8,3                ## @EINPROGRESS
	.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:
	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
	add	x0, x0, #8
	bl	_redisCheckSocketError
Lloh0:
	adrp	x20, _REDIS_ERR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REDIS_ERR@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _EINPROGRESS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EINPROGRESS@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_3:
Lloh11:
	adrp	x8, _REDIS_CONNECTED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REDIS_CONNECTED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x8, [x19]
Lloh14:
	adrp	x20, _REDIS_OK@GOTPAGE
Lloh15:
	ldr	x20, [x20, _REDIS_OK@GOTPAGEOFF]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	w1, [x20]
	mov	x0, x19
	blr	x8
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x1, x0
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	blr	x8
LBB0_7:
	mov	x0, x19
	bl	___redisAsyncDisconnect
LBB0_8:
	ldr	w0, [x20]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_ERR,8,3                  ; @REDIS_ERR
	.comm	_errno,8,3                      ; @errno
	.comm	_EINPROGRESS,8,3                ; @EINPROGRESS
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.comm	_REDIS_CONNECTED,4,2            ; @REDIS_CONNECTED
	.no_dead_strip	___redisAsyncHandleConnect
.subsections_via_symbols
