	.file	"extr_connect.c_Curl_timeleft.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	Curl_timeleft
	.type	Curl_timeleft, @function
Curl_timeleft:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rcx, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	test	edx, edx
	je	.L2
	test	rax, rax
	jle	.L3
	mov	r12, QWORD PTR 16[rdi]
	test	r12, r12
	jle	.L5
	cmp	r12, rax
	cmovg	r12d, eax
.L10:
	test	rcx, rcx
	je	.L7
.L8:
	mov	esi, DWORD PTR 4[rdi]
	mov	edi, DWORD PTR [rcx]
	call	Curl_timediff@PLT
	sub	r12d, eax
	mov	eax, r12d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L2:
	test	rax, rax
	jle	.L28
.L5:
	mov	r12d, eax
	test	rcx, rcx
	je	.L7
.L9:
	test	edx, edx
	jne	.L8
	mov	esi, DWORD PTR [rdi]
	mov	edi, DWORD PTR [rcx]
	call	Curl_timediff@PLT
	sub	r12d, eax
	mov	eax, r12d
.L12:
	test	eax, eax
	je	.L29
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L30
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rdi]
	mov	r12d, eax
	test	rax, rax
	jg	.L10
	mov	r12d, DWORD PTR DEFAULT_CONNECT_TIMEOUT[rip]
	test	rsi, rsi
	jne	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	mov	DWORD PTR 12[rsp], edx
	mov	QWORD PTR [rsp], rdi
	call	Curl_now@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR [rsp]
	lea	rcx, 20[rsp]
	mov	DWORD PTR 20[rsp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L28:
	xor	eax, eax
	jmp	.L1
.L29:
	mov	eax, -1
	jmp	.L1
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	Curl_timeleft, .-Curl_timeleft
	.comm	DEFAULT_CONNECT_TIMEOUT,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_Curl_timeleft.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Curl_timeleft
	.syntax unified
	.arm
	.fpu softvfp
	.type	Curl_timeleft, %function
Curl_timeleft:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	subs	r0, r2, #0
	ldr	r2, .L24
	sub	sp, sp, #12
	mov	r3, r1
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ldr	r5, [r4, #8]
	beq	.L2
	cmp	r5, #0
	ble	.L3
	ldr	r2, [r4, #12]
	cmp	r2, #0
	ble	.L7
	cmp	r5, r2
	movge	r5, r2
	cmp	r3, #0
	bne	.L6
.L5:
	bl	Curl_now
	mov	r3, sp
	str	r0, [sp]
	b	.L6
.L2:
	cmp	r5, #0
	ble	.L1
	cmp	r3, #0
	beq	.L22
.L11:
	ldr	r1, [r4]
	ldr	r0, [r3]
	bl	Curl_timediff
	sub	r0, r5, r0
.L8:
	cmp	r0, #0
	mvneq	r0, #0
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	ldr	r2, .L24+4
	ldr	r5, [r4, #12]
	ldr	r2, [r2]
	cmp	r5, #0
	movle	r5, r2
.L7:
	cmp	r3, #0
	beq	.L5
.L6:
	ldr	r1, [r4, #4]
	ldr	r0, [r3]
	bl	Curl_timediff
	sub	r0, r5, r0
	b	.L8
.L22:
	bl	Curl_now
	mov	r3, sp
	str	r0, [sp]
	b	.L11
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	DEFAULT_CONNECT_TIMEOUT
	.size	Curl_timeleft, .-Curl_timeleft
	.comm	DEFAULT_CONNECT_TIMEOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
