	.file	"extr_transfer.c_Curl_follow.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"HEAD"
.LC1:
	.string	"GET"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Maximum (%ld) redirects followed"
	.align 8
.LC3:
	.string	"Issue another request to this URL: '%s'\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Switch from POST to GET\n"
.LC5:
	.string	"Disables POST, goes with %s\n"
	.text
	.p2align 4
	.globl	Curl_follow
	.type	Curl_follow, @function
Curl_follow:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR FALSE[rip]
	cmp	QWORD PTR FOLLOW_REDIR[rip], rdx
	mov	QWORD PTR 8[rsp], rsi
	mov	r12d, r13d
	jne	.L2
	mov	edx, DWORD PTR [rdi]
	mov	eax, DWORD PTR 4[rdi]
	mov	rcx, QWORD PTR TRUE[rip]
	cmp	edx, -1
	je	.L3
	cmp	edx, eax
	jg	.L3
	mov	rbx, QWORD PTR FOLLOW_FAKE[rip]
	mov	r13d, ecx
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, DWORD PTR MAX_SCHEME_LEN[rip]
	mov	rdi, QWORD PTR 8[rsp]
	xor	esi, esi
	call	Curl_is_absolute_url@PLT
	mov	edi, DWORD PTR 88[rbp]
	test	rax, rax
	cmovne	r12d, DWORD PTR TRUE[rip]
	call	DEBUGASSERT@PLT
	cmp	QWORD PTR FOLLOW_FAKE[rip], rbx
	mov	ecx, DWORD PTR CURLU_NON_SUPPORT_SCHEME[rip]
	je	.L9
	xor	ecx, ecx
	cmp	QWORD PTR FOLLOW_REDIR[rip], rbx
	je	.L46
.L9:
	mov	edi, DWORD PTR 88[rbp]
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR CURLUPART_URL[rip]
	call	curl_url_set@PLT
	test	rax, rax
	je	.L10
	cmp	QWORD PTR FOLLOW_FAKE[rip], rbx
	je	.L11
.L44:
	mov	rdi, rax
	call	Curl_uc_to_curlcode@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	call	strdup@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L43
.L12:
	mov	QWORD PTR 32[rbp], rax
	mov	eax, DWORD PTR CURLE_OK[rip]
	test	r13d, r13d
	je	.L1
	mov	edx, DWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	failf@PLT
	mov	eax, DWORD PTR CURLE_TOO_MANY_REDIRECTS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L46:
	mov	ecx, DWORD PTR CURLU_URLENCODE[rip]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	add	eax, 1
	cmp	QWORD PTR 24[rbp], 0
	mov	QWORD PTR 96[rbp], rcx
	mov	DWORD PTR 4[rbp], eax
	je	.L2
	mov	ecx, DWORD PTR 48[rbp]
	test	ecx, ecx
	jne	.L47
.L4:
	mov	rdi, QWORD PTR 64[rbp]
	call	strdup@PLT
	mov	QWORD PTR 56[rbp], rax
	test	rax, rax
	je	.L43
	mov	rax, QWORD PTR TRUE[rip]
	mov	DWORD PTR 48[rbp], eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR 88[rbp]
	mov	esi, DWORD PTR CURLUPART_URL[rip]
	xor	ecx, ecx
	lea	rdx, 8[rsp]
	call	curl_url_get@PLT
	test	rax, rax
	jne	.L44
	cmp	QWORD PTR FOLLOW_FAKE[rip], rbx
	je	.L48
	test	r12d, r12d
	jne	.L49
	mov	edx, DWORD PTR 72[rbp]
	test	edx, edx
	jne	.L50
.L17:
	mov	rax, QWORD PTR TRUE[rip]
	mov	rdx, QWORD PTR 8[rsp]
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	mov	DWORD PTR 72[rbp], eax
	xor	eax, eax
	mov	QWORD PTR 64[rbp], rdx
	call	infof@PLT
	mov	eax, DWORD PTR 40[rbp]
	cmp	eax, 302
	je	.L18
	cmp	eax, 303
	je	.L19
	cmp	eax, 301
	je	.L51
.L20:
	mov	esi, DWORD PTR TIMER_REDIRECT[rip]
	mov	rdi, rbp
	call	Curl_pgrsTime@PLT
	mov	rdi, rbp
	call	Curl_pgrsResetTransferSizes@PLT
	mov	eax, DWORD PTR CURLE_OK[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L49:
	.cfi_restore_state
	mov	rax, QWORD PTR FALSE[rip]
	mov	edx, DWORD PTR 72[rbp]
	mov	QWORD PTR 80[rbp], rax
	test	edx, edx
	je	.L17
.L50:
	mov	rdi, QWORD PTR 64[rbp]
	call	Curl_safefree@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, QWORD PTR 8[rbp]
	cmp	rax, QWORD PTR HTTPREQ_POST[rip]
	je	.L22
	cmp	rax, QWORD PTR HTTPREQ_POST_FORM[rip]
	je	.L22
	cmp	rax, QWORD PTR HTTPREQ_POST_MIME[rip]
	jne	.L20
.L22:
	mov	eax, DWORD PTR 16[rbp]
	test	DWORD PTR CURL_REDIR_POST_302[rip], eax
	jne	.L20
.L23:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	infof@PLT
	mov	rax, QWORD PTR HTTPREQ_GET[rip]
	mov	QWORD PTR 8[rbp], rax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L51:
	mov	rax, QWORD PTR 8[rbp]
	cmp	rax, QWORD PTR HTTPREQ_POST[rip]
	je	.L21
	cmp	rax, QWORD PTR HTTPREQ_POST_FORM[rip]
	je	.L21
	cmp	rax, QWORD PTR HTTPREQ_POST_MIME[rip]
	jne	.L20
.L21:
	mov	eax, DWORD PTR 16[rbp]
	test	DWORD PTR CURL_REDIR_POST_301[rip], eax
	jne	.L20
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR HTTPREQ_GET[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L20
	mov	edx, DWORD PTR 16[rbp]
	test	DWORD PTR CURL_REDIR_POST_303[rip], edx
	jne	.L20
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR 20[rbp]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	lea	rsi, .LC5[rip]
	test	eax, eax
	lea	rax, .LC1[rip]
	cmove	rdx, rax
	xor	eax, eax
	call	infof@PLT
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L47:
	mov	rdi, QWORD PTR 56[rbp]
	call	Curl_safefree@PLT
	mov	rax, QWORD PTR FALSE[rip]
	mov	DWORD PTR 48[rbp], eax
	jmp	.L4
.L43:
	mov	eax, DWORD PTR CURLE_OUT_OF_MEMORY[rip]
	jmp	.L1
.L48:
	mov	rax, QWORD PTR 8[rsp]
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	Curl_follow, .-Curl_follow
	.comm	TRUE,8,8
	.comm	TIMER_REDIRECT,4,4
	.comm	MAX_SCHEME_LEN,4,4
	.comm	HTTPREQ_POST_MIME,8,8
	.comm	HTTPREQ_POST_FORM,8,8
	.comm	HTTPREQ_POST,8,8
	.comm	HTTPREQ_GET,8,8
	.comm	FOLLOW_REDIR,8,8
	.comm	FOLLOW_FAKE,8,8
	.comm	FALSE,8,8
	.comm	CURL_REDIR_POST_303,4,4
	.comm	CURL_REDIR_POST_302,4,4
	.comm	CURL_REDIR_POST_301,4,4
	.comm	CURLU_URLENCODE,4,4
	.comm	CURLU_NON_SUPPORT_SCHEME,4,4
	.comm	CURLUPART_URL,4,4
	.comm	CURLE_TOO_MANY_REDIRECTS,4,4
	.comm	CURLE_OUT_OF_MEMORY,4,4
	.comm	CURLE_OK,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_transfer.c_Curl_follow.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"HEAD\000"
	.align	2
.LC1:
	.ascii	"GET\000"
	.align	2
.LC2:
	.ascii	"Maximum (%ld) redirects followed\000"
	.align	2
.LC3:
	.ascii	"Issue another request to this URL: '%s'\012\000"
	.align	2
.LC4:
	.ascii	"Switch from POST to GET\012\000"
	.align	2
.LC5:
	.ascii	"Disables POST, goes with %s\012\000"
	.text
	.align	2
	.global	Curl_follow
	.syntax unified
	.arm
	.fpu softvfp
	.type	Curl_follow, %function
Curl_follow:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	fp, .L61
	ldr	r9, .L61+4
	ldr	r3, [fp]
	sub	sp, sp, #12
	cmp	r3, r2
	mov	r5, r2
	mov	r4, r0
	ldr	r7, [r9]
	str	r1, [sp, #4]
	bne	.L26
	ldr	r2, [r0]
	ldr	r6, .L61+8
	cmn	r2, #1
	ldr	r10, [r6]
	ldr	r3, [r0, #4]
	beq	.L3
	cmp	r2, r3
	ldrle	r6, .L61+12
	ldrle	r5, [r6]
	ble	.L2
.L3:
	ldr	r2, [r4, #20]
	add	r3, r3, #1
	cmp	r2, #0
	str	r3, [r4, #4]
	str	r10, [r4, #56]
	bne	.L52
.L26:
	mov	r10, r7
	ldr	r6, .L61+12
.L2:
	ldr	r3, .L61+16
	mov	r1, #0
	ldr	r2, [r3]
	ldr	r0, [sp, #4]
	bl	Curl_is_absolute_url
	cmp	r0, #0
	ldrne	r3, .L61+8
	ldr	r0, [r4, #52]
	ldrne	r7, [r3]
	bl	DEBUGASSERT
	ldr	r3, [r6]
	ldr	r8, .L61+20
	cmp	r3, r5
	ldr	r1, [r8]
	ldr	r0, [r4, #52]
	ldr	r2, [sp, #4]
	beq	.L8
	ldr	r3, [fp]
	cmp	r3, r5
	movne	r3, #0
	beq	.L53
.L9:
	bl	curl_url_set
	subs	r3, r0, #0
	beq	.L10
.L55:
	ldr	r3, [r6]
	cmp	r3, r5
	beq	.L11
.L50:
	bl	Curl_uc_to_curlcode
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r0, [sp, #4]
	bl	strdup
	cmp	r0, #0
	str	r0, [sp, #4]
	beq	.L48
.L12:
	cmp	r10, #0
	str	r0, [r4, #24]
	bne	.L54
	ldr	r3, .L61+24
	ldr	r0, [r3]
.L59:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L53:
	ldr	r3, .L61+28
	ldr	r3, [r3]
	bl	curl_url_set
	subs	r3, r0, #0
	bne	.L55
.L10:
	ldr	r1, [r8]
	ldr	r0, [r4, #52]
	add	r2, sp, #4
	bl	curl_url_get
	cmp	r0, #0
	bne	.L50
	ldr	r3, [r6]
	cmp	r3, r5
	beq	.L56
	cmp	r7, #0
	ldrne	r3, [r9]
	strne	r3, [r4, #48]
	ldr	r3, [r4, #44]
	cmp	r3, #0
	bne	.L57
.L17:
	ldr	r3, .L61+8
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	str	r2, [r4, #40]
	str	r3, [r4, #44]
	mov	r0, r4
	ldr	r1, .L61+32
	bl	infof
	ldr	r3, [r4, #28]
	ldr	r2, .L61+36
	cmp	r3, r2
	beq	.L18
	add	r2, r2, #1
	cmp	r3, r2
	beq	.L19
	sub	r2, r2, #2
	cmp	r3, r2
	beq	.L58
.L20:
	ldr	r3, .L61+40
	mov	r0, r4
	ldr	r1, [r3]
	bl	Curl_pgrsTime
	mov	r0, r4
	bl	Curl_pgrsResetTransferSizes
	ldr	r3, .L61+24
	ldr	r0, [r3]
	b	.L59
.L8:
	ldr	r3, .L61+44
	ldr	r3, [r3]
	b	.L9
.L52:
	ldr	r3, [r4, #32]
	cmp	r3, #0
	bne	.L60
.L4:
	ldr	r0, [r4, #40]
	bl	strdup
	cmp	r0, #0
	str	r0, [r4, #36]
	beq	.L48
	ldr	r3, [r6]
	mov	r10, r7
	ldr	r6, .L61+12
	str	r3, [r4, #32]
	b	.L2
.L54:
	mov	r0, r4
	ldr	r2, [r4]
	ldr	r1, .L61+48
	bl	failf
	ldr	r3, .L61+52
	ldr	r0, [r3]
	b	.L1
.L57:
	ldr	r0, [r4, #40]
	bl	Curl_safefree
	b	.L17
.L58:
	ldr	r2, .L61+56
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L21
	ldr	r2, .L61+60
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L21
	ldr	r2, .L61+64
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L20
.L21:
	ldr	r3, .L61+68
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L20
.L23:
	mov	r0, r4
	ldr	r1, .L61+72
	bl	infof
	ldr	r3, .L61+76
	ldr	r3, [r3]
	str	r3, [r4, #8]
	b	.L20
.L19:
	ldr	r3, .L61+76
	ldr	r2, [r4, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L20
	ldr	r2, .L61+80
	ldr	r1, [r4, #12]
	ldr	r2, [r2]
	tst	r1, r2
	bne	.L20
	ldr	r0, [r4, #16]
	ldr	r1, .L61+84
	cmp	r0, #0
	ldr	r2, .L61+88
	mov	r0, r4
	moveq	r2, r1
	str	r3, [r4, #8]
	ldr	r1, .L61+92
	bl	infof
	b	.L20
.L18:
	ldr	r2, .L61+56
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L22
	ldr	r2, .L61+60
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L22
	ldr	r2, .L61+64
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L20
.L22:
	ldr	r3, .L61+96
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L20
	b	.L23
.L60:
	ldr	r0, [r4, #36]
	bl	Curl_safefree
	ldr	r3, [r9]
	str	r3, [r4, #32]
	b	.L4
.L48:
	ldr	r3, .L61+100
	ldr	r0, [r3]
	b	.L1
.L56:
	ldr	r0, [sp, #4]
	b	.L12
.L62:
	.align	2
.L61:
	.word	FOLLOW_REDIR
	.word	FALSE
	.word	TRUE
	.word	FOLLOW_FAKE
	.word	MAX_SCHEME_LEN
	.word	CURLUPART_URL
	.word	CURLE_OK
	.word	CURLU_URLENCODE
	.word	.LC3
	.word	302
	.word	TIMER_REDIRECT
	.word	CURLU_NON_SUPPORT_SCHEME
	.word	.LC2
	.word	CURLE_TOO_MANY_REDIRECTS
	.word	HTTPREQ_POST
	.word	HTTPREQ_POST_FORM
	.word	HTTPREQ_POST_MIME
	.word	CURL_REDIR_POST_301
	.word	.LC4
	.word	HTTPREQ_GET
	.word	CURL_REDIR_POST_303
	.word	.LC1
	.word	.LC0
	.word	.LC5
	.word	CURL_REDIR_POST_302
	.word	CURLE_OUT_OF_MEMORY
	.size	Curl_follow, .-Curl_follow
	.comm	TRUE,4,4
	.comm	TIMER_REDIRECT,4,4
	.comm	MAX_SCHEME_LEN,4,4
	.comm	HTTPREQ_POST_MIME,4,4
	.comm	HTTPREQ_POST_FORM,4,4
	.comm	HTTPREQ_POST,4,4
	.comm	HTTPREQ_GET,4,4
	.comm	FOLLOW_REDIR,4,4
	.comm	FOLLOW_FAKE,4,4
	.comm	FALSE,4,4
	.comm	CURL_REDIR_POST_303,4,4
	.comm	CURL_REDIR_POST_302,4,4
	.comm	CURL_REDIR_POST_301,4,4
	.comm	CURLU_URLENCODE,4,4
	.comm	CURLU_NON_SUPPORT_SCHEME,4,4
	.comm	CURLUPART_URL,4,4
	.comm	CURLE_TOO_MANY_REDIRECTS,4,4
	.comm	CURLE_OUT_OF_MEMORY,4,4
	.comm	CURLE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
