	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_blocking_connection_timeouts
_test_blocking_connection_timeouts:     ## @test_blocking_connection_timeouts
	.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
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_connect
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rdi
	callq	_test
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_redisCommand
	movq	%rax, %rdi
	callq	_freeReplyObject
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movl	$10000, %esi                    ## imm = 0x2710
	xorl	%edx, %edx
	callq	_redisSetTimeout
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_redisCommand
	movq	%rax, %rbx
	movl	$0, %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_REDIS_REPLY_STRING@GOTPCREL(%rip), %rcx
	movl	$0, %edi
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	$4, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
LBB0_3:
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_freeReplyObject
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_disconnect
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_connect
	movq	%rax, %r12
	leaq	L_.str.5(%rip), %rdi
	callq	_test
	movl	12(%r12), %ebx
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_write
	movq	%rax, %rbx
	movq	%r12, %rdi
	movl	$10000, %esi                    ## imm = 0x2710
	xorl	%edx, %edx
	callq	_redisSetTimeout
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_redisCommand
	movq	%rax, %r15
	testq	%rbx, %rbx
	jle	LBB0_7
## %bb.4:
	testq	%r15, %r15
	jne	LBB0_7
## %bb.5:
	movq	(%r12), %rax
	movq	_REDIS_ERR_IO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movl	8(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_7:
	movl	%r14d, %edi
	callq	_test_cond
	movq	%r15, %rdi
	callq	_freeReplyObject
	leaq	L_.str.7(%rip), %rdi
	callq	_test
	movq	%r12, %rdi
	callq	_redisReconnect
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_redisCommand
	movq	%rax, %rbx
	xorl	%r14d, %r14d
	movl	$0, %edi
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	(%rbx), %rax
	movq	_REDIS_REPLY_STATUS@GOTPCREL(%rip), %rcx
	movl	$0, %edi
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movl	8(%rbx), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
LBB0_10:
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_freeReplyObject
	leaq	L_.str.10(%rip), %rdi
	callq	_test
	movq	%r12, %rdi
	callq	_redisReconnect
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_redisCommand
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	(%rbx), %rax
	movq	_REDIS_REPLY_STATUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movl	8(%rbx), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_13:
	movl	%r14d, %edi
	callq	_test_cond
	movq	%rbx, %rdi
	callq	_freeReplyObject
	movq	%r12, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_disconnect                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DEBUG SLEEP 3\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"Successfully completes a command when the timeout is not exceeded: "

L_.str.2:                               ## @.str.2
	.asciz	"SET foo fast"

L_.str.3:                               ## @.str.3
	.asciz	"GET foo"

	.comm	_REDIS_REPLY_STRING,8,3         ## @REDIS_REPLY_STRING
L_.str.4:                               ## @.str.4
	.asciz	"fast"

L_.str.5:                               ## @.str.5
	.asciz	"Does not return a reply when the command times out: "

	.comm	_REDIS_ERR_IO,8,3               ## @REDIS_ERR_IO
L_.str.6:                               ## @.str.6
	.asciz	"Resource temporarily unavailable"

L_.str.7:                               ## @.str.7
	.asciz	"Reconnect properly reconnects after a timeout: "

L_.str.8:                               ## @.str.8
	.asciz	"PING"

	.comm	_REDIS_REPLY_STATUS,8,3         ## @REDIS_REPLY_STATUS
L_.str.9:                               ## @.str.9
	.asciz	"PONG"

L_.str.10:                              ## @.str.10
	.asciz	"Reconnect properly uses owned parameters: "

	.no_dead_strip	_test_blocking_connection_timeouts
.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_timeouts
_test_blocking_connection_timeouts:     ; @test_blocking_connection_timeouts
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	bl	_connect
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_test
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_redisCommand
	bl	_freeReplyObject
	mov	x0, x21
	mov	w1, #10000
	mov	x2, #0
	bl	_redisSetTimeout
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_redisCommand
	mov	x22, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _REDIS_REPLY_STRING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REDIS_REPLY_STRING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x22, #8]
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #4
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	bl	_test_cond
	mov	x0, x22
	bl	_freeReplyObject
	mov	x0, x21
	mov	w1, #0
	bl	_disconnect
	mov	x0, x20
	mov	x1, x19
	bl	_connect
	mov	x19, x0
Lloh11:
	adrp	x0, l_.str.5@PAGE
Lloh12:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_test
	ldr	w20, [x19, #12]
Lloh13:
	adrp	x21, l_.str@PAGE
Lloh14:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_write
	mov	x21, x0
	mov	x0, x19
	mov	w1, #10000
	mov	x2, #0
	bl	_redisSetTimeout
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_redisCommand
	mov	x20, x0
	mov	w0, #0
	cmp	x21, #1
	b.lt	LBB0_9
; %bb.5:
	cbnz	x20, LBB0_9
; %bb.6:
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _REDIS_ERR_IO@GOTPAGE
Lloh18:
	ldr	x9, [x9, _REDIS_ERR_IO@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x19, #8]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	bl	_test_cond
	mov	x0, x20
	bl	_freeReplyObject
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_test
	mov	x0, x19
	bl	_redisReconnect
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_redisCommand
	mov	x20, x0
Lloh26:
	adrp	x21, _REDIS_REPLY_STATUS@GOTPAGE
Lloh27:
	ldr	x21, [x21, _REDIS_REPLY_STATUS@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	ldr	w0, [x20, #8]
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	bl	_test_cond
	mov	x0, x20
	bl	_freeReplyObject
Lloh30:
	adrp	x0, l_.str.10@PAGE
Lloh31:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_test
	mov	x0, x19
	bl	_redisReconnect
Lloh32:
	adrp	x1, l_.str.8@PAGE
Lloh33:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_redisCommand
	mov	x20, x0
	cbz	x0, LBB0_17
; %bb.14:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
	ldr	w0, [x20, #8]
Lloh34:
	adrp	x1, l_.str.9@PAGE
Lloh35:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_17
LBB0_16:
	mov	w0, #0
LBB0_17:
	bl	_test_cond
	mov	x0, x20
	bl	_freeReplyObject
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_disconnect
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DEBUG SLEEP 3\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"Successfully completes a command when the timeout is not exceeded: "

l_.str.2:                               ; @.str.2
	.asciz	"SET foo fast"

l_.str.3:                               ; @.str.3
	.asciz	"GET foo"

	.comm	_REDIS_REPLY_STRING,8,3         ; @REDIS_REPLY_STRING
l_.str.4:                               ; @.str.4
	.asciz	"fast"

l_.str.5:                               ; @.str.5
	.asciz	"Does not return a reply when the command times out: "

	.comm	_REDIS_ERR_IO,8,3               ; @REDIS_ERR_IO
l_.str.6:                               ; @.str.6
	.asciz	"Resource temporarily unavailable"

l_.str.7:                               ; @.str.7
	.asciz	"Reconnect properly reconnects after a timeout: "

l_.str.8:                               ; @.str.8
	.asciz	"PING"

	.comm	_REDIS_REPLY_STATUS,8,3         ; @REDIS_REPLY_STATUS
l_.str.9:                               ; @.str.9
	.asciz	"PONG"

l_.str.10:                              ; @.str.10
	.asciz	"Reconnect properly uses owned parameters: "

	.no_dead_strip	_test_blocking_connection_timeouts
.subsections_via_symbols
