	.file	"extr_connect.c_trynextip.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	trynextip, @function
trynextip:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movsx	rcx, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR [rdi]
	mov	rdx, QWORD PTR CURL_SOCKET_BAD[rip]
	cmp	DWORD PTR FIRSTSOCKET[rip], esi
	mov	r13, QWORD PTR CURLE_COULDNT_CONNECT[rip]
	lea	rax, [rax+rcx*8]
	mov	r14, QWORD PTR [rax]
	mov	QWORD PTR [rax], rdx
	je	.L26
.L2:
	cmp	QWORD PTR CURL_SOCKET_BAD[rip], r14
	je	.L1
	mov	rsi, r14
	mov	rdi, rbp
	call	Curl_closesocket@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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
.L26:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR [rax+rcx*8]
	test	rdx, rdx
	je	.L2
	mov	rbx, QWORD PTR 8[rdx]
	mov	r8d, DWORD PTR [rdx]
	test	rbx, rbx
	je	.L2
	mov	r15d, ecx
	mov	r12, rcx
	xor	r15d, 1
	movsx	r15, r15d
	sal	r15, 3
.L6:
	cmp	QWORD PTR [rax+r15], 0
	jne	.L3
.L4:
	mov	edx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rcx
	mov	DWORD PTR 4[rsp], r8d
	call	singleipconnect@PLT
	mov	r8d, DWORD PTR 4[rsp]
	mov	rcx, QWORD PTR 8[rsp]
	cmp	QWORD PTR CURLE_COULDNT_CONNECT[rip], rax
	mov	r13, rax
	je	.L27
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR [rax+rcx*8], rbx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	DWORD PTR [rbx], r8d
	je	.L4
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	jne	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	je	.L2
	mov	rax, QWORD PTR 8[rbp]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	trynextip, .-trynextip
	.comm	FIRSTSOCKET,4,4
	.comm	CURL_SOCKET_BAD,8,8
	.comm	CURLE_COULDNT_CONNECT,8,8
	.comm	AF_UNSPEC,4,4
	.comm	AF_INET6,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
	.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_connect.c_trynextip.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	trynextip, %function
trynextip:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	mov	r5, r2
	ldr	r3, .L28
	ldr	r8, .L28+4
	ldr	r0, [r3]
	ldr	r2, [r8]
	ldr	r3, [r6]
	ldr	r10, .L28+8
	cmp	r0, r1
	ldr	r9, [r3, r5, lsl #2]
	ldr	r7, [r10]
	sub	sp, sp, #12
	str	r2, [r3, r5, lsl #2]
	beq	.L26
.L2:
	ldr	r3, [r8]
	cmp	r3, r9
	beq	.L1
	mov	r1, r9
	mov	r0, r6
	bl	Curl_closesocket
.L1:
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L26:
	ldr	r2, [r6, #4]
	ldr	r3, [r2, r5, lsl #2]
	cmp	r3, #0
	beq	.L2
	ldm	r3, {r3, r4}
	cmp	r4, #0
	beq	.L2
	eor	fp, r5, #1
	lsl	fp, fp, #2
.L6:
	ldr	r2, [r2, fp]
	cmp	r2, #0
	bne	.L3
.L4:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	str	r3, [sp, #4]
	bl	singleipconnect
	ldr	r2, [r10]
	mov	r7, r0
	cmp	r2, r0
	ldr	r3, [sp, #4]
	beq	.L27
	ldr	r3, [r6, #4]
	str	r4, [r3, r5, lsl #2]
	b	.L2
.L3:
	ldr	r2, [r4]
	cmp	r2, r3
	beq	.L4
	ldr	r4, [r4, #4]
	cmp	r4, #0
	bne	.L3
	b	.L2
.L27:
	ldr	r4, [r4, #4]
	cmp	r4, #0
	beq	.L2
	ldr	r2, [r6, #4]
	b	.L6
.L29:
	.align	2
.L28:
	.word	FIRSTSOCKET
	.word	CURL_SOCKET_BAD
	.word	CURLE_COULDNT_CONNECT
	.size	trynextip, .-trynextip
	.comm	FIRSTSOCKET,4,4
	.comm	CURL_SOCKET_BAD,4,4
	.comm	CURLE_COULDNT_CONNECT,4,4
	.comm	AF_UNSPEC,4,4
	.comm	AF_INET6,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
