	.file	"extr_Network.c_ConnectTimeoutIPv4.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ConnectTimeoutIPv4
	.type	ConnectTimeoutIPv4, @function
ConnectTimeoutIPv4:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	esi, 16
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r15, rsp
	lea	r14, 16[rsp]
	mov	rdi, r15
	call	Zero@PLT
	mov	esi, 16
	mov	rdi, r14
	call	Zero@PLT
	mov	rsi, rbp
	mov	rdi, r14
	call	IPToInAddr@PLT
	mov	edi, r12d
	call	htons@PLT
	mov	edi, DWORD PTR AF_INET[rip]
	mov	esi, DWORD PTR SOCK_STREAM[rip]
	xor	edx, edx
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR 16[rsp]
	mov	DWORD PTR 8[rsp], edi
	mov	DWORD PTR 4[rsp], eax
	call	socket@PLT
	cmp	QWORD PTR INVALID_SOCKET[rip], rax
	mov	r12, rax
	jne	.L9
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	r8, rbx
	mov	rcx, r13
	mov	edx, 16
	mov	rsi, r15
	mov	rdi, rax
	call	connect_timeout@PLT
	test	rax, rax
	je	.L1
	mov	rdi, r12
	call	closesocket@PLT
	mov	r12, QWORD PTR INVALID_SOCKET[rip]
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ConnectTimeoutIPv4, .-ConnectTimeoutIPv4
	.comm	SOCK_STREAM,4,4
	.comm	INVALID_SOCKET,8,8
	.comm	AF_INET,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_Network.c_ConnectTimeoutIPv4.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ConnectTimeoutIPv4
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConnectTimeoutIPv4, %function
ConnectTimeoutIPv4:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	mov	r4, r1
	sub	sp, sp, #52
	mov	r7, r3
	ldr	r3, .L11
	mov	r1, #16
	add	r0, sp, #12
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	Zero
	mov	r1, #16
	add	r0, sp, #28
	bl	Zero
	mov	r1, r5
	add	r0, sp, #28
	bl	IPToInAddr
	mov	r0, r4
	bl	htons
	mov	ip, r0
	ldr	r3, .L11+4
	ldr	r2, .L11+8
	ldr	r0, [r3]
	ldr	r3, [sp, #28]
	ldr	r1, [r2]
	mov	r2, #0
	str	r3, [sp, #16]
	str	ip, [sp, #24]
	str	r0, [sp, #20]
	bl	socket
	ldr	r5, .L11+12
	mov	r4, r0
	ldr	r3, [r5]
	cmp	r3, r0
	bne	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	mov	r3, r6
	mov	r2, #16
	str	r7, [sp]
	add	r1, sp, #12
	bl	connect_timeout
	cmp	r0, #0
	beq	.L1
	mov	r0, r4
	bl	closesocket
	ldr	r4, [r5]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	AF_INET
	.word	SOCK_STREAM
	.word	INVALID_SOCKET
	.size	ConnectTimeoutIPv4, .-ConnectTimeoutIPv4
	.comm	SOCK_STREAM,4,4
	.comm	INVALID_SOCKET,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
