	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisCheckConnectDone          ## -- Begin function redisCheckConnectDone
	.p2align	4, 0x90
_redisCheckConnectDone:                 ## @redisCheckConnectDone
	.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
	movq	%rsi, %rbx
	movl	16(%rdi), %eax
	movq	8(%rdi), %rsi
	movl	(%rdi), %edx
	movl	%eax, %edi
	callq	_connect
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_3
## %bb.4:
	cltq
	leaq	L_switch.table.redisCheckConnectDone(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	jmp	LBB0_5
LBB0_1:
	movl	$1, %eax
LBB0_5:
	movl	%eax, (%rbx)
	movq	_REDIS_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_REDIS_ERR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REDIS_OK,4,2                   ## @REDIS_OK
	.comm	_errno,4,2                      ## @errno
	.comm	_REDIS_ERR,4,2                  ## @REDIS_ERR
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.redisCheckConnectDone
L_switch.table.redisCheckConnectDone:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisCheckConnectDone          ; -- Begin function redisCheckConnectDone
	.p2align	2
_redisCheckConnectDone:                 ; @redisCheckConnectDone
	.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, x1
	ldr	w8, [x0, #16]
	ldr	x1, [x0, #8]
	ldr	w2, [x0]
	mov	x0, x8
	bl	_connect
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.2:
Lloh3:
	adrp	x9, l_switch.table.redisCheckConnectDone@PAGE
Lloh4:
	add	x9, x9, l_switch.table.redisCheckConnectDone@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_4
LBB0_3:
	mov	w8, #1
LBB0_4:
	str	w8, [x19]
Lloh5:
	adrp	x8, _REDIS_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REDIS_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _REDIS_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REDIS_ERR@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REDIS_OK,4,2                   ; @REDIS_OK
	.comm	_errno,4,2                      ; @errno
	.comm	_REDIS_ERR,4,2                  ; @REDIS_ERR
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.redisCheckConnectDone
l_switch.table.redisCheckConnectDone:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0

.subsections_via_symbols
