	.file	"extr_test.c_test_blocking_connection_timeouts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Successfully completes a command when the timeout is not exceeded: "
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"SET foo fast"
.LC2:
	.string	"GET foo"
.LC3:
	.string	"fast"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"Does not return a reply when the command times out: "
	.section	.rodata.str1.1
.LC5:
	.string	"DEBUG SLEEP 3\r\n"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"Resource temporarily unavailable"
	.align 8
.LC7:
	.string	"Reconnect properly reconnects after a timeout: "
	.section	.rodata.str1.1
.LC8:
	.string	"PING"
.LC9:
	.string	"PONG"
	.section	.rodata.str1.8
	.align 8
.LC10:
	.string	"Reconnect properly uses owned parameters: "
	.text
	.p2align 4
	.type	test_blocking_connection_timeouts, @function
test_blocking_connection_timeouts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, 10000
	call	connect@PLT
	lea	rdi, .LC0[rip]
	mov	rbp, rax
	call	test@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	redisCommand@PLT
	mov	rdi, rax
	call	freeReplyObject@PLT
	mov	esi, ebx
	xor	edx, edx
	mov	rdi, rbp
	call	redisSetTimeout@PLT
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	redisCommand@PLT
	xor	edi, edi
	mov	r12, rax
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR REDIS_REPLY_STRING[rip]
	cmp	QWORD PTR [r12], rax
	je	.L25
.L2:
	call	test_cond@PLT
	mov	rdi, r12
	call	freeReplyObject@PLT
	mov	rdi, rbp
	xor	esi, esi
	call	disconnect@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	connect@PLT
	lea	rdi, .LC4[rip]
	mov	rbp, rax
	call	test@PLT
	lea	rdi, .LC5[rip]
	call	strlen@PLT
	mov	edi, DWORD PTR 12[rbp]
	lea	rsi, .LC5[rip]
	mov	edx, eax
	call	write@PLT
	mov	esi, ebx
	xor	edx, edx
	mov	rdi, rbp
	mov	r13, rax
	call	redisSetTimeout@PLT
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	redisCommand@PLT
	xor	edi, edi
	mov	r12, rax
	test	r13, r13
	jle	.L3
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR REDIS_ERR_IO[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L26
.L3:
	call	test_cond@PLT
	mov	rdi, r12
	call	freeReplyObject@PLT
	lea	rdi, .LC7[rip]
	call	test@PLT
	mov	rdi, rbp
	call	redisReconnect@PLT
	mov	rdi, rbp
	lea	rsi, .LC8[rip]
	call	redisCommand@PLT
	xor	edi, edi
	mov	r12, rax
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR REDIS_REPLY_STATUS[rip]
	cmp	QWORD PTR [r12], rax
	je	.L27
.L4:
	call	test_cond@PLT
	mov	rdi, r12
	call	freeReplyObject@PLT
	lea	rdi, .LC10[rip]
	call	test@PLT
	mov	rdi, rbp
	call	redisReconnect@PLT
	mov	rdi, rbp
	lea	rsi, .LC8[rip]
	call	redisCommand@PLT
	xor	edi, edi
	mov	r12, rax
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR REDIS_REPLY_STATUS[rip]
	cmp	QWORD PTR [r12], rax
	je	.L28
.L5:
	call	test_cond@PLT
	mov	rdi, r12
	call	freeReplyObject@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	disconnect@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbp]
	lea	rsi, .LC6[rip]
	call	strcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR 8[r12]
	lea	rsi, .LC9[rip]
	call	strcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	mov	edi, DWORD PTR 8[r12]
	lea	rsi, .LC9[rip]
	call	strcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR 8[r12]
	mov	edx, 4
	lea	rsi, .LC3[rip]
	call	memcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	test_blocking_connection_timeouts, .-test_blocking_connection_timeouts
	.comm	REDIS_REPLY_STRING,8,8
	.comm	REDIS_REPLY_STATUS,8,8
	.comm	REDIS_ERR_IO,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_test.c_test_blocking_connection_timeouts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Successfully completes a command when the timeout i"
	.ascii	"s not exceeded: \000"
	.align	2
.LC1:
	.ascii	"SET foo fast\000"
	.align	2
.LC2:
	.ascii	"GET foo\000"
	.align	2
.LC3:
	.ascii	"fast\000"
	.align	2
.LC4:
	.ascii	"Does not return a reply when the command times out:"
	.ascii	" \000"
	.align	2
.LC5:
	.ascii	"DEBUG SLEEP 3\015\012\000"
	.align	2
.LC6:
	.ascii	"Resource temporarily unavailable\000"
	.align	2
.LC7:
	.ascii	"Reconnect properly reconnects after a timeout: \000"
	.align	2
.LC8:
	.ascii	"PING\000"
	.align	2
.LC9:
	.ascii	"PONG\000"
	.align	2
.LC10:
	.ascii	"Reconnect properly uses owned parameters: \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_blocking_connection_timeouts, %function
test_blocking_connection_timeouts:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #16
	mov	r4, sp
	stm	r4, {r0, r1}
	ldm	r4, {r0, r1}
	bl	connect
	mov	r5, r0
	mov	r8, #0
	ldr	r0, .L20
	bl	test
	ldr	r1, .L20+4
	mov	r0, r5
	bl	redisCommand
	bl	freeReplyObject
	ldr	r3, .L20+8
	str	r8, [sp, #12]
	str	r3, [sp, #8]
	add	r7, sp, #8
	ldm	r7, {r1, r2}
	mov	r0, r5
	bl	redisSetTimeout
	mov	r0, r5
	ldr	r1, .L20+12
	bl	redisCommand
	subs	r6, r0, #0
	moveq	r0, r6
	beq	.L2
	ldr	r3, .L20+16
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	movne	r0, r8
	beq	.L16
.L2:
	bl	test_cond
	mov	r0, r6
	bl	freeReplyObject
	mov	r0, r5
	mov	r1, #0
	bl	disconnect
	ldm	r4, {r0, r1}
	bl	connect
	mov	r4, r0
	ldr	r0, .L20+20
	bl	test
	mov	r2, #15
	ldr	r1, .L20+24
	ldr	r0, [r4, #8]
	bl	write
	ldm	r7, {r1, r2}
	mov	r5, r0
	mov	r0, r4
	bl	redisSetTimeout
	mov	r0, r4
	ldr	r1, .L20+12
	bl	redisCommand
	cmp	r5, #0
	movle	r3, #0
	movgt	r3, #1
	cmp	r0, #0
	movne	r3, #0
	cmp	r3, #0
	mov	r5, r0
	beq	.L9
	ldr	r3, .L20+28
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L17
.L9:
	mov	r0, #0
.L3:
	bl	test_cond
	mov	r0, r5
	bl	freeReplyObject
	ldr	r0, .L20+32
	bl	test
	mov	r0, r4
	bl	redisReconnect
	mov	r0, r4
	ldr	r1, .L20+36
	bl	redisCommand
	subs	r5, r0, #0
	beq	.L11
	ldr	r3, .L20+40
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L18
.L11:
	mov	r0, #0
.L4:
	bl	test_cond
	mov	r0, r5
	bl	freeReplyObject
	ldr	r0, .L20+44
	bl	test
	mov	r0, r4
	bl	redisReconnect
	mov	r0, r4
	ldr	r1, .L20+36
	bl	redisCommand
	subs	r5, r0, #0
	beq	.L13
	ldr	r3, .L20+40
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L19
.L13:
	mov	r0, #0
.L5:
	bl	test_cond
	mov	r0, r5
	bl	freeReplyObject
	mov	r0, r4
	mov	r1, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	disconnect
.L17:
	ldr	r1, .L20+48
	ldr	r0, [r4, #4]
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L3
.L18:
	ldr	r1, .L20+52
	ldr	r0, [r5, #4]
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L4
.L19:
	ldr	r1, .L20+52
	ldr	r0, [r5, #4]
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L5
.L16:
	mov	r2, #4
	ldr	r1, .L20+56
	ldr	r0, [r6, #4]
	bl	memcmp
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L2
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	.LC1
	.word	10000
	.word	.LC2
	.word	REDIS_REPLY_STRING
	.word	.LC4
	.word	.LC5
	.word	REDIS_ERR_IO
	.word	.LC7
	.word	.LC8
	.word	REDIS_REPLY_STATUS
	.word	.LC10
	.word	.LC6
	.word	.LC9
	.word	.LC3
	.size	test_blocking_connection_timeouts, .-test_blocking_connection_timeouts
	.comm	REDIS_REPLY_STRING,4,4
	.comm	REDIS_REPLY_STATUS,4,4
	.comm	REDIS_ERR_IO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
