	.file	"extr_connection.c_connSocketConnect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	connSocketConnect, @function
connSocketConnect:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	xor	edi, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	anetTcpNonBlockBestEffortBindConnect@PLT
	cmp	eax, -1
	je	.L6
	mov	DWORD PTR [rbx], eax
	mov	esi, eax
	mov	eax, DWORD PTR CONN_STATE_CONNECTING[rip]
	mov	r8, rbx
	mov	edx, DWORD PTR AE_WRITABLE[rip]
	mov	edi, DWORD PTR server[rip]
	mov	DWORD PTR 16[rbx], ebp
	mov	DWORD PTR 20[rbx], eax
	mov	rax, QWORD PTR 8[rbx]
	mov	ecx, DWORD PTR [rax]
	call	aeCreateFileEvent@PLT
	mov	eax, DWORD PTR C_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR CONN_STATE_ERROR[rip]
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR errno[rip]
	mov	DWORD PTR 24[rbx], eax
	mov	eax, DWORD PTR C_ERR[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	connSocketConnect, .-connSocketConnect
	.comm	server,4,4
	.comm	errno,4,4
	.comm	C_OK,4,4
	.comm	C_ERR,4,4
	.comm	CONN_STATE_ERROR,4,4
	.comm	CONN_STATE_CONNECTING,4,4
	.comm	AE_WRITABLE,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_connection.c_connSocketConnect.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	connSocketConnect, %function
connSocketConnect:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	sub	sp, sp, #8
	mov	r0, #0
	bl	anetTcpNonBlockBestEffortBindConnect
	cmn	r0, #1
	beq	.L6
	mov	r1, r0
	ldr	r2, .L7
	ldr	r3, [r4, #4]
	ldr	ip, [r2]
	ldr	lr, [sp, #16]
	ldr	r2, .L7+4
	ldr	r0, .L7+8
	ldr	r3, [r3]
	str	r1, [r4]
	str	lr, [r4, #8]
	str	ip, [r4, #12]
	str	r4, [sp]
	ldr	r2, [r2]
	ldr	r0, [r0]
	bl	aeCreateFileEvent
	ldr	r3, .L7+12
	ldr	r0, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L6:
	ldr	r2, .L7+16
	ldr	r3, .L7+20
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L7+24
	str	r1, [r4, #12]
	str	r2, [r4, #16]
	ldr	r0, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	CONN_STATE_CONNECTING
	.word	AE_WRITABLE
	.word	server
	.word	C_OK
	.word	CONN_STATE_ERROR
	.word	errno
	.word	C_ERR
	.size	connSocketConnect, .-connSocketConnect
	.comm	server,4,4
	.comm	errno,4,4
	.comm	C_OK,4,4
	.comm	C_ERR,4,4
	.comm	CONN_STATE_ERROR,4,4
	.comm	CONN_STATE_CONNECTING,4,4
	.comm	AE_WRITABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
