	.file	"extr_TCP_client.c_proxy_socks5_read_connection_response.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	proxy_socks5_read_connection_response, @function
proxy_socks5_read_connection_response:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 72
	.cfi_def_cfa_offset 80
	mov	r8d, DWORD PTR [rdi]
	mov	edx, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	edi, r8d
	call	read_TCP_packet@PLT
	mov	r8d, eax
	xor	eax, eax
	cmp	r8d, -1
	je	.L1
	cmp	DWORD PTR [rsp], 5
	je	.L20
.L7:
	mov	eax, -1
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L21
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rsp]
	mov	eax, 1
	test	edx, edx
	jne	.L7
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	proxy_socks5_read_connection_response, .-proxy_socks5_read_connection_response
	.comm	AF_INET,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_TCP_client.c_proxy_socks5_read_connection_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	proxy_socks5_read_connection_response, %function
proxy_socks5_read_connection_response:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r1, .L21
	sub	sp, sp, #60
	ldr	r1, [r1]
	str	r1, [sp, #52]
	mov	r1,#0
	mov	r2, #48
	ldr	r0, [r0]
	add	r1, sp, #4
	bl	read_TCP_packet
	cmn	r0, #1
	moveq	r0, #0
	beq	.L1
	ldr	r3, [sp, #4]
	cmp	r3, #5
	beq	.L19
.L7:
	mvn	r0, #0
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #60
	@ sp needed
	ldr	pc, [sp], #4
.L19:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	moveq	r0, #1
	bne	.L7
	b	.L1
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.size	proxy_socks5_read_connection_response, .-proxy_socks5_read_connection_response
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
