	.file	"extr_cluster_library.c_cluster_check_response.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cluster_check_response, @function
cluster_check_response:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 4096
	.cfi_def_cfa_offset 4128
	or	QWORD PTR [rsp], 0
	sub	rsp, 32
	.cfi_def_cfa_offset 4160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 4120[rsp], rax
	xor	eax, eax
	mov	rbp, rdi
	mov	r12, rsi
	call	CLUSTER_CLEAR_ERROR@PLT
	mov	rdi, rbp
	call	CLUSTER_CLEAR_REPLY@PLT
	mov	rdi, QWORD PTR 16[rbp]
	mov	esi, 1
	call	redis_check_eof@PLT
	cmp	eax, -1
	je	.L6
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR [rax]
	call	php_stream_getc@PLT
	mov	DWORD PTR [r12], eax
	cmp	eax, DWORD PTR EOF[rip]
	je	.L6
	cmp	eax, DWORD PTR TYPE_ERR[rip]
	mov	rdi, QWORD PTR 16[rbp]
	je	.L24
	mov	esi, DWORD PTR 8[rbp]
	lea	rcx, 8[rsp]
	mov	edx, 4
	call	redis_sock_gets@PLT
	test	rax, rax
	js	.L6
	mov	eax, DWORD PTR TYPE_LINE[rip]
	cmp	DWORD PTR [r12], eax
	jne	.L25
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 0[rbp], rax
.L14:
	mov	rdi, rbp
	xor	r12d, r12d
	call	CLUSTER_CLEAR_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	lea	r13, 16[rsp]
	mov	edi, DWORD PTR [rdi]
	mov	edx, 4096
	mov	rsi, r13
	call	php_stream_gets@PLT
	test	eax, eax
	je	.L6
	mov	rdi, r13
	call	IS_MOVED@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L7
.L9:
	add	DWORD PTR 24[rbp], 1
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	mov	r12d, 1
	call	cluster_set_redirection@PLT
	test	rax, rax
	jns	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r12d, -1
.L1:
	mov	rax, QWORD PTR 4120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	add	rsp, 4128
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbp]
	mov	edx, 10
	xor	esi, esi
	call	strtol@PLT
	mov	QWORD PTR 0[rbp], rax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, r13
	call	IS_ASK@PLT
	test	rax, rax
	jne	.L9
	mov	rdx, r13
.L11:
	mov	ecx, DWORD PTR [rdx]
	add	rdx, 4
	lea	eax, -16843009[rcx]
	not	ecx
	and	eax, ecx
	and	eax, -2139062144
	je	.L11
	mov	ecx, eax
	mov	rsi, r13
	mov	rdi, rbp
	shr	ecx, 16
	test	eax, 32896
	cmove	eax, ecx
	lea	rcx, 2[rdx]
	cmove	rdx, rcx
	mov	ecx, eax
	add	cl, al
	sbb	rdx, 3
	sub	rdx, r13
	sub	rdx, 2
	call	cluster_set_err@PLT
	jmp	.L1
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cluster_check_response, .-cluster_check_response
	.comm	TYPE_LINE,4,4
	.comm	TYPE_ERR,4,4
	.comm	EOF,4,4
	.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_cluster_library.c_cluster_check_response.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cluster_check_response, %function
cluster_check_response:
	@ args = 0, pretend = 0, frame = 4104
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	sub	sp, sp, #4096
	sub	sp, sp, #8
	ldr	r2, .L23
	add	r3, sp, #4096
	add	r3, r3, #4
	mov	r5, r1
	ldr	r2, [r2]
	str	r2, [r3]
	mov	r2,#0
	bl	CLUSTER_CLEAR_ERROR
	mov	r0, r4
	bl	CLUSTER_CLEAR_REPLY
	mov	r1, #1
	ldr	r0, [r4, #12]
	bl	redis_check_eof
	cmn	r0, #1
	beq	.L6
	ldr	r3, [r4, #12]
	ldr	r0, [r3]
	bl	php_stream_getc
	ldr	r2, .L23+4
	str	r0, [r5]
	ldr	r2, [r2]
	mov	r3, r0
	cmp	r0, r2
	beq	.L6
	ldr	r2, .L23+8
	ldr	r0, [r4, #12]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L20
	mov	r3, sp
	mov	r2, #4
	ldr	r1, [r4, #8]
	bl	redis_sock_gets
	cmp	r0, #0
	blt	.L6
	ldr	r3, .L23+12
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L21
	mov	r2, #0
	ldr	r3, [sp, #0]
	str	r2, [r4, #4]
	str	r3, [r4]
.L12:
	mov	r0, r4
	bl	CLUSTER_CLEAR_ERROR
	mov	r5, #0
	b	.L1
.L20:
	mov	r2, #4096
	ldr	r0, [r0]
	add	r1, sp, #4
	bl	php_stream_gets
	cmp	r0, #0
	beq	.L6
	add	r0, sp, #4
	bl	IS_MOVED
	subs	r6, r0, #0
	beq	.L7
.L9:
	ldr	r3, [r4, #16]
	mov	r2, r6
	add	r3, r3, #1
	mov	r0, r4
	add	r1, sp, #4
	str	r3, [r4, #16]
	bl	cluster_set_redirection
	cmp	r0, #0
	movge	r5, #1
	bge	.L1
.L6:
	mvn	r5, #0
.L1:
	add	r3, sp, #4096
	ldr	r2, .L23
	add	r3, r3, #4
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L22
	mov	r0, r5
	add	sp, sp, #4096
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L21:
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [r4, #8]
	bl	strtol
	stm	r4, {r0-r1}
	b	.L12
.L7:
	add	r0, sp, #4
	bl	IS_ASK
	subs	r5, r0, #0
	bne	.L9
	add	r0, sp, #4
	bl	strlen
	add	r1, sp, #4
	sub	r2, r0, #2
	mov	r0, r4
	bl	cluster_set_err
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	EOF
	.word	TYPE_ERR
	.word	TYPE_LINE
	.size	cluster_check_response, .-cluster_check_response
	.comm	TYPE_LINE,4,4
	.comm	TYPE_ERR,4,4
	.comm	EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
