	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_blocking_connection_errors
_test_blocking_connection_errors:       ## @test_blocking_connection_errors
	.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
	leaq	L_.str(%rip), %rdi
	callq	_test
	leaq	L_.str.1(%rip), %rdi
	movl	$6379, %esi                     ## imm = 0x18EB
	callq	_redisConnect
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_REDIS_ERR_OTHER@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	movl	$0, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movl	8(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movl	8(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	8(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	8(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	8(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	8(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	8(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	xorl	%r15d, %r15d
	testq	%rax, %rax
	sete	%r15b
LBB0_8:
	movl	%r15d, %edi
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_redisFree
	leaq	L_.str.9(%rip), %rdi
	callq	_test
	leaq	L_.str.10(%rip), %rdi
	movl	$1, %esi
	callq	_redisConnect
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_REDIS_ERR_IO@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.9:
	movl	8(%rbx), %edi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_10:
	movl	%r14d, %edi
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_redisFree
	leaq	L_.str.12(%rip), %rdi
	callq	_test
	leaq	L_.str.13(%rip), %rdi
	callq	_redisConnectUnix
	movq	%rax, %rbx
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_test_cond
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_redisFree                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Returns error when host cannot be resolved: "

L_.str.1:                               ## @.str.1
	.asciz	"idontexist.test"

	.comm	_REDIS_ERR_OTHER,8,3            ## @REDIS_ERR_OTHER
L_.str.2:                               ## @.str.2
	.asciz	"Name or service not known"

L_.str.3:                               ## @.str.3
	.asciz	"Can't resolve: idontexist.test"

L_.str.4:                               ## @.str.4
	.asciz	"nodename nor servname provided, or not known"

L_.str.5:                               ## @.str.5
	.asciz	"No address associated with hostname"

L_.str.6:                               ## @.str.6
	.asciz	"Temporary failure in name resolution"

L_.str.7:                               ## @.str.7
	.asciz	"hostname nor servname provided, or not known"

L_.str.8:                               ## @.str.8
	.asciz	"no address associated with name"

L_.str.9:                               ## @.str.9
	.asciz	"Returns error when the port is not open: "

L_.str.10:                              ## @.str.10
	.asciz	"localhost"

	.comm	_REDIS_ERR_IO,8,3               ## @REDIS_ERR_IO
L_.str.11:                              ## @.str.11
	.asciz	"Connection refused"

L_.str.12:                              ## @.str.12
	.asciz	"Returns error when the unix_sock socket path doesn't accept connections: "

L_.str.13:                              ## @.str.13
	.asciz	"/tmp/idontexist.sock"

	.no_dead_strip	_test_blocking_connection_errors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_blocking_connection_errors
_test_blocking_connection_errors:       ; @test_blocking_connection_errors
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_test
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #6379
	bl	_redisConnect
	mov	x19, x0
	ldr	x8, [x0]
Lloh4:
	adrp	x9, _REDIS_ERR_OTHER@GOTPAGE
Lloh5:
	ldr	x9, [x9, _REDIS_ERR_OTHER@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	ldr	w0, [x19, #8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.2:
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.3:
	ldr	w0, [x19, #8]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w0, [x19, #8]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.5:
	ldr	w0, [x19, #8]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:
	ldr	w0, [x19, #8]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x19, #8]
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	bl	_test_cond
	mov	x0, x19
	bl	_redisFree
Lloh21:
	adrp	x0, l_.str.9@PAGE
Lloh22:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_test
Lloh23:
	adrp	x0, l_.str.10@PAGE
Lloh24:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	w1, #1
	bl	_redisConnect
	mov	x19, x0
	ldr	x8, [x0]
Lloh25:
	adrp	x20, _REDIS_ERR_IO@GOTPAGE
Lloh26:
	ldr	x20, [x20, _REDIS_ERR_IO@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	ldr	w0, [x19, #8]
Lloh27:
	adrp	x1, l_.str.11@PAGE
Lloh28:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	bl	_test_cond
	mov	x0, x19
	bl	_redisFree
Lloh29:
	adrp	x0, l_.str.12@PAGE
Lloh30:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_test
Lloh31:
	adrp	x0, l_.str.13@PAGE
Lloh32:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_redisConnectUnix
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, eq
	bl	_test_cond
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_redisFree
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Returns error when host cannot be resolved: "

l_.str.1:                               ; @.str.1
	.asciz	"idontexist.test"

	.comm	_REDIS_ERR_OTHER,8,3            ; @REDIS_ERR_OTHER
l_.str.2:                               ; @.str.2
	.asciz	"Name or service not known"

l_.str.3:                               ; @.str.3
	.asciz	"Can't resolve: idontexist.test"

l_.str.4:                               ; @.str.4
	.asciz	"nodename nor servname provided, or not known"

l_.str.5:                               ; @.str.5
	.asciz	"No address associated with hostname"

l_.str.6:                               ; @.str.6
	.asciz	"Temporary failure in name resolution"

l_.str.7:                               ; @.str.7
	.asciz	"hostname nor servname provided, or not known"

l_.str.8:                               ; @.str.8
	.asciz	"no address associated with name"

l_.str.9:                               ; @.str.9
	.asciz	"Returns error when the port is not open: "

l_.str.10:                              ; @.str.10
	.asciz	"localhost"

	.comm	_REDIS_ERR_IO,8,3               ; @REDIS_ERR_IO
l_.str.11:                              ; @.str.11
	.asciz	"Connection refused"

l_.str.12:                              ; @.str.12
	.asciz	"Returns error when the unix_sock socket path doesn't accept connections: "

l_.str.13:                              ; @.str.13
	.asciz	"/tmp/idontexist.sock"

	.no_dead_strip	_test_blocking_connection_errors
.subsections_via_symbols
