	.file	"extr_urlapi.c_seturl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dict"
.LC1:
	.string	"ldap"
.LC2:
	.string	"imap"
.LC3:
	.string	"smtp"
.LC4:
	.string	"pop3"
.LC5:
	.string	"ftp"
.LC6:
	.string	"http"
.LC7:
	.string	"file"
.LC8:
	.string	"localhost/"
.LC9:
	.string	"127.0.0.1/"
.LC10:
	.string	"ftp."
.LC11:
	.string	"dict."
.LC12:
	.string	"ldap."
.LC13:
	.string	"imap."
.LC14:
	.string	"smtp."
.LC15:
	.string	"pop3."
	.text
	.p2align 4
	.type	seturl, @function
seturl:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13d, edx
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR FALSE[rip]
	mov	rcx, rsp
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR MAX_SCHEME_LEN[rip]
	lea	r15d, 1[rax]
	movsx	rax, r15d
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L115:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L115
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L116
.L4:
	mov	QWORD PTR -88[rbp], rsp
	test	r12, r12
	je	.L113
	mov	rdi, r12
	call	strlen@PLT
	cdqe
	cmp	QWORD PTR CURL_MAX_INPUT_LENGTH[rip], rax
	jb	.L113
	lea	rdx, 1[rax]
	lea	edi, [rdx+rdx]
	mov	QWORD PTR -80[rbp], rdx
	call	malloc@PLT
	mov	rdx, QWORD PTR -80[rbp]
	test	rax, rax
	mov	QWORD PTR [rbx], rax
	mov	r14, rax
	je	.L48
	lea	rax, [rax+rdx]
	mov	rsi, rsp
	mov	edx, r15d
	mov	rdi, r12
	mov	QWORD PTR -64[rbp], rax
	mov	BYTE PTR [rax], 0
	call	Curl_is_absolute_url@PLT
	mov	r15d, DWORD PTR -72[rbp]
	xor	edx, edx
	test	rax, rax
	jne	.L117
.L9:
	test	r15d, r15d
	jne	.L118
	mov	BYTE PTR [r14], 0
	mov	edx, DWORD PTR CURLU_DEFAULT_SCHEME[rip]
	mov	ecx, DWORD PTR CURLU_GUESS_SCHEME[rip]
	mov	rax, QWORD PTR CURLUE_MALFORMED_INPUT[rip]
	or	ecx, edx
	test	ecx, r13d
	je	.L1
	test	edx, r13d
	mov	eax, 0
	cmovne	rax, QWORD PTR DEFAULT_SCHEME[rip]
	mov	QWORD PTR -88[rbp], rax
.L25:
	movsx	edi, BYTE PTR [r12]
	mov	r15, r12
	test	dil, dil
	jne	.L26
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L29:
	movsx	edi, BYTE PTR 1[r15]
	add	r15, 1
	test	dil, dil
	je	.L28
.L26:
	call	HOSTNAME_END@PLT
	test	eax, eax
	je	.L29
.L28:
	mov	rdx, r15
	sub	rdx, r12
	jne	.L119
.L27:
	test	DWORD PTR CURLU_NO_AUTHORITY[rip], r13d
	je	.L113
.L30:
	test	DWORD PTR CURLU_GUESS_SCHEME[rip], r13d
	je	.L31
	cmp	QWORD PTR -88[rbp], 0
	jne	.L31
	mov	rsi, QWORD PTR -64[rbp]
	lea	rdi, .LC10[rip]
	call	checkprefix@PLT
	lea	rcx, .LC5[rip]
	mov	QWORD PTR -88[rbp], rcx
	test	rax, rax
	jne	.L31
	mov	rsi, QWORD PTR -64[rbp]
	lea	rdi, .LC11[rip]
	call	checkprefix@PLT
	lea	rcx, .LC0[rip]
	mov	QWORD PTR -88[rbp], rcx
	test	rax, rax
	jne	.L31
	mov	rsi, QWORD PTR -64[rbp]
	lea	rdi, .LC12[rip]
	call	checkprefix@PLT
	lea	rcx, .LC1[rip]
	mov	QWORD PTR -88[rbp], rcx
	test	rax, rax
	jne	.L31
	mov	rsi, QWORD PTR -64[rbp]
	lea	rdi, .LC13[rip]
	call	checkprefix@PLT
	lea	rcx, .LC2[rip]
	mov	QWORD PTR -88[rbp], rcx
	test	rax, rax
	jne	.L31
	mov	rsi, QWORD PTR -64[rbp]
	lea	rdi, .LC14[rip]
	call	checkprefix@PLT
	lea	rcx, .LC3[rip]
	mov	QWORD PTR -88[rbp], rcx
	test	rax, rax
	jne	.L31
	mov	rsi, QWORD PTR -64[rbp]
	lea	rdi, .LC15[rip]
	call	checkprefix@PLT
	lea	rdx, .LC4[rip]
	test	rax, rax
	lea	rax, .LC6[rip]
	cmovne	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rdi, r15
	call	strlen@PLT
	mov	rsi, r15
	mov	rdi, r14
	movsx	r12, eax
	mov	rdx, r12
	call	memcpy@PLT
	mov	BYTE PTR [r14+r12], 0
	mov	rdi, QWORD PTR -88[rbp]
	call	strdup@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L48
.L32:
	call	Curl_builtin_scheme@PLT
	mov	rdi, r14
	mov	r12, rax
	call	junkscan@PLT
	test	rax, rax
	jne	.L113
	test	DWORD PTR CURLU_URLENCODE[rip], r13d
	je	.L34
	cmp	BYTE PTR [r14], 0
	je	.L34
	mov	rdi, r14
	call	strlen@PLT
	lea	edi, [rax+rax*2]
	call	malloc@PLT
	mov	rcx, rax
	test	rax, rax
	je	.L48
	mov	eax, DWORD PTR TRUE[rip]
	mov	rsi, r14
	mov	rdi, rcx
	mov	QWORD PTR -80[rbp], rcx
	mov	edx, eax
	mov	DWORD PTR -72[rbp], eax
	call	strcpy_url@PLT
	mov	rcx, QWORD PTR -80[rbp]
	mov	QWORD PTR 16[rbx], rcx
	mov	r14, rcx
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, 35
	mov	rdi, r14
	call	strchr@PLT
	test	rax, rax
	je	.L36
	cmp	BYTE PTR 1[rax], 0
	mov	BYTE PTR [rax], 0
	je	.L36
	lea	rdi, 1[rax]
	call	strdup@PLT
	mov	QWORD PTR 24[rbx], rax
	test	rax, rax
	je	.L48
.L36:
	mov	esi, 63
	mov	rdi, r14
	call	strchr@PLT
	test	rax, rax
	je	.L37
	mov	BYTE PTR [rax], 0
	lea	rdi, 1[rax]
	call	strdup@PLT
	mov	QWORD PTR 32[rbx], rax
	test	rax, rax
	je	.L48
.L37:
	cmp	BYTE PTR [r14], 0
	jne	.L120
.L38:
	mov	rdi, QWORD PTR -64[rbp]
	test	rdi, rdi
	je	.L45
	call	junkscan@PLT
	test	rax, rax
	jne	.L113
	lea	rdx, -64[rbp]
	mov	ecx, r13d
	mov	rsi, r12
	mov	rdi, rbx
	call	parse_hostname_login@PLT
	test	rax, rax
	jne	.L1
	mov	rsi, QWORD PTR -64[rbp]
	mov	rdi, rbx
	call	Curl_parse_port@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, QWORD PTR -64[rbp]
	call	strlen@PLT
	test	eax, eax
	jne	.L47
	test	DWORD PTR CURLU_NO_AUTHORITY[rip], r13d
	jne	.L49
.L47:
	mov	rsi, QWORD PTR -64[rbp]
	mov	rdi, rbx
	call	hostname_check@PLT
	test	rax, rax
	jne	.L1
.L49:
	mov	rdi, QWORD PTR -64[rbp]
	call	strdup@PLT
	mov	QWORD PTR 48[rbx], rax
	test	rax, rax
	je	.L48
	.p2align 4,,10
	.p2align 3
.L45:
	mov	rdi, QWORD PTR [rbx]
	call	Curl_safefree@PLT
	mov	rdi, QWORD PTR 16[rbx]
	call	Curl_safefree@PLT
	mov	rax, QWORD PTR CURLUE_OK[rip]
	jmp	.L1
.L127:
	cmp	BYTE PTR 1[r14], 47
	je	.L121
.L14:
	lea	rdi, 1[r14]
	call	STARTS_WITH_URL_DRIVE_PREFIX@PLT
	test	rax, rax
	je	.L13
	.p2align 4,,10
	.p2align 3
.L113:
	mov	rax, QWORD PTR CURLUE_MALFORMED_INPUT[rip]
.L1:
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L122
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L116:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L118:
	mov	rdi, QWORD PTR -88[rbp]
	lea	rsi, .LC7[rip]
	mov	QWORD PTR -80[rbp], rdx
	call	strcasecompare@PLT
	mov	rdx, QWORD PTR -80[rbp]
	test	rax, rax
	jne	.L123
	lea	r12, 1[r12+rdx]
	mov	BYTE PTR [r14], 0
	xor	eax, eax
	cmp	BYTE PTR [r12], 47
	jne	.L113
.L21:
	add	r12, 1
	mov	edx, eax
	add	eax, 1
	cmp	BYTE PTR [r12], 47
	jne	.L20
	cmp	eax, 4
	jne	.L21
	jmp	.L113
	.p2align 4,,10
	.p2align 3
.L117:
	mov	rdi, rsp
	mov	r15d, DWORD PTR TRUE[rip]
	call	strlen@PLT
	movsx	rdx, eax
	jmp	.L9
.L126:
	mov	rdi, r14
	call	strdup@PLT
	mov	QWORD PTR 40[rbx], rax
	test	rax, rax
	jne	.L44
	.p2align 4,,10
	.p2align 3
.L48:
	mov	rax, QWORD PTR CURLUE_OUT_OF_MEMORY[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	cmp	edx, 3
	je	.L113
	mov	rdi, QWORD PTR -88[rbp]
	call	Curl_builtin_scheme@PLT
	test	rax, rax
	je	.L124
.L24:
	mov	rdi, QWORD PTR -88[rbp]
	call	junkscan@PLT
	test	rax, rax
	je	.L25
	jmp	.L113
	.p2align 4,,10
	.p2align 3
.L120:
	test	DWORD PTR CURLU_PATH_AS_IS[rip], r13d
	je	.L125
.L39:
	mov	eax, DWORD PTR -72[rbp]
	test	eax, eax
	je	.L126
	mov	QWORD PTR 40[rbx], r14
.L44:
	mov	QWORD PTR 16[rbx], 0
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L124:
	mov	rax, QWORD PTR CURLUE_UNSUPPORTED_SCHEME[rip]
	test	DWORD PTR CURLU_NON_SUPPORT_SCHEME[rip], r13d
	jne	.L24
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L119:
	mov	rdi, QWORD PTR -64[rbp]
	mov	rsi, r12
	mov	QWORD PTR -80[rbp], rdx
	call	memcpy@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	BYTE PTR [rax+rdx], 0
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L123:
	lea	rsi, 5[r12]
	mov	rdi, r14
	call	strcpy@PLT
	lea	rdi, .LC7[rip]
	mov	QWORD PTR -64[rbp], 0
	call	strdup@PLT
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	je	.L48
	cmp	BYTE PTR [r14], 47
	je	.L127
.L13:
	mov	rdi, r14
	call	STARTS_WITH_URL_DRIVE_PREFIX@PLT
	test	rax, rax
	jne	.L113
	mov	rdi, QWORD PTR 8[rbx]
	jmp	.L32
.L125:
	mov	rdi, r14
	call	Curl_dedotdotify@PLT
	test	rax, rax
	je	.L48
	mov	rsi, r14
	mov	rdi, rax
	mov	QWORD PTR -80[rbp], rax
	call	strcmp@PLT
	mov	r8, QWORD PTR -80[rbp]
	test	rax, rax
	je	.L41
	mov	edx, DWORD PTR -72[rbp]
	test	edx, edx
	jne	.L128
.L42:
	mov	eax, DWORD PTR TRUE[rip]
	mov	QWORD PTR 16[rbx], r8
	mov	r14, r8
	mov	DWORD PTR -72[rbp], eax
	jmp	.L39
.L121:
	cmp	BYTE PTR 2[r14], 47
	lea	r12, 2[r14]
	je	.L54
	mov	rdi, r12
	call	STARTS_WITH_URL_DRIVE_PREFIX@PLT
	test	rax, rax
	je	.L15
	movzx	eax, BYTE PTR 2[r14]
	mov	r14, r12
.L16:
	cmp	al, 47
	je	.L14
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, r8
	call	free@PLT
	jmp	.L39
.L54:
	mov	r14, r12
	jmp	.L14
.L128:
	mov	rdi, QWORD PTR 16[rbx]
	mov	QWORD PTR -72[rbp], r8
	call	Curl_safefree@PLT
	mov	r8, QWORD PTR -72[rbp]
	jmp	.L42
.L15:
	mov	rsi, r12
	lea	rdi, .LC8[rip]
	call	checkprefix@PLT
	test	rax, rax
	je	.L129
.L17:
	movzx	eax, BYTE PTR 11[r14]
	add	r14, 11
	jmp	.L16
.L122:
	call	__stack_chk_fail@PLT
.L129:
	mov	rsi, r12
	lea	rdi, .LC9[rip]
	call	checkprefix@PLT
	test	rax, rax
	jne	.L17
	jmp	.L113
	.cfi_endproc
.LFE0:
	.size	seturl, .-seturl
	.comm	TRUE,4,4
	.comm	MAX_SCHEME_LEN,4,4
	.comm	FALSE,4,4
	.comm	DEFAULT_SCHEME,8,8
	.comm	CURL_MAX_INPUT_LENGTH,8,8
	.comm	CURLU_URLENCODE,4,4
	.comm	CURLU_PATH_AS_IS,4,4
	.comm	CURLU_NO_AUTHORITY,4,4
	.comm	CURLU_NON_SUPPORT_SCHEME,4,4
	.comm	CURLU_GUESS_SCHEME,4,4
	.comm	CURLU_DEFAULT_SCHEME,4,4
	.comm	CURLUE_UNSUPPORTED_SCHEME,8,8
	.comm	CURLUE_OUT_OF_MEMORY,8,8
	.comm	CURLUE_OK,8,8
	.comm	CURLUE_MALFORMED_INPUT,8,8
	.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_urlapi.c_seturl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dict\000"
	.align	2
.LC1:
	.ascii	"ldap\000"
	.align	2
.LC2:
	.ascii	"imap\000"
	.align	2
.LC3:
	.ascii	"smtp\000"
	.align	2
.LC4:
	.ascii	"pop3\000"
	.align	2
.LC5:
	.ascii	"ftp\000"
	.align	2
.LC6:
	.ascii	"http\000"
	.align	2
.LC7:
	.ascii	"file\000"
	.align	2
.LC8:
	.ascii	"localhost/\000"
	.align	2
.LC9:
	.ascii	"127.0.0.1/\000"
	.align	2
.LC10:
	.ascii	"ftp.\000"
	.align	2
.LC11:
	.ascii	"dict.\000"
	.align	2
.LC12:
	.ascii	"ldap.\000"
	.align	2
.LC13:
	.ascii	"imap.\000"
	.align	2
.LC14:
	.ascii	"smtp.\000"
	.align	2
.LC15:
	.ascii	"pop3.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	seturl, %function
seturl:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	ldr	r3, .L122
	ldr	ip, .L122+4
	ldr	r10, [r3]
	subs	r4, r0, #0
	add	r3, r10, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L122+8
	ldr	r9, [ip]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	beq	.L104
	mov	r6, r1
	mov	r7, r2
	bl	strlen
	ldr	r3, .L122+12
	ldr	r3, [r3]
	cmp	r3, r0
	bcs	.L107
.L104:
	ldr	r3, .L122+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L122+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L108
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L107:
	add	r3, r0, #1
	lsl	r0, r3, #1
	str	r3, [fp, #-48]
	bl	malloc
	cmp	r0, #0
	mov	r5, r0
	ldr	r3, [fp, #-48]
	str	r0, [r6]
	beq	.L105
	mov	r1, #0
	add	r10, r10, #1
	strb	r1, [r0, r3]
	mov	r2, r10
	add	r3, r0, r3
	mov	r1, sp
	mov	r0, r4
	str	r3, [fp, #-44]
	bl	Curl_is_absolute_url
	cmp	r0, #0
	mov	r8, sp
	moveq	r10, r0
	moveq	r3, r9
	beq	.L6
	ldr	r3, .L122+20
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	bl	strlen
	mov	r10, r0
	ldr	r3, [fp, #-48]
.L6:
	cmp	r3, #0
	bne	.L109
	ldr	r1, .L122+24
	ldr	r2, .L122+28
	ldr	r1, [r1]
	ldr	r2, [r2]
	strb	r3, [r5]
	orr	r2, r1, r2
	tst	r2, r7
	beq	.L104
	tst	r1, r7
	moveq	r8, r3
	ldrne	r3, .L122+32
	ldrne	r8, [r3]
.L22:
	ldrb	r0, [r4]	@ zero_extendqisi2
	mov	r10, r4
	cmp	r0, #0
	bne	.L23
	b	.L24
.L26:
	ldrb	r0, [r10, #1]!	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L25
.L23:
	bl	HOSTNAME_END
	cmp	r0, #0
	beq	.L26
.L25:
	subs	r2, r10, r4
	bne	.L110
.L24:
	ldr	r3, .L122+36
	ldr	r3, [r3]
	tst	r7, r3
	beq	.L104
.L27:
	ldr	r3, .L122+28
	ldr	r3, [r3]
	tst	r7, r3
	movne	r3, #1
	moveq	r3, #0
	cmp	r8, #0
	movne	r3, #0
	cmp	r3, #0
	bne	.L111
.L28:
	mov	r0, r10
	bl	strlen
	mov	r1, r10
	mov	r2, r0
	mov	r4, r0
	mov	r0, r5
	bl	memcpy
	mov	r3, #0
	mov	r0, r8
	strb	r3, [r5, r4]
	bl	strdup
	cmp	r0, #0
	str	r0, [r6, #4]
	beq	.L105
.L29:
	bl	Curl_builtin_scheme
	mov	r4, r0
	mov	r0, r5
	bl	junkscan
	cmp	r0, #0
	bne	.L104
	ldr	r3, .L122+40
	ldr	r3, [r3]
	tst	r7, r3
	beq	.L31
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L112
.L31:
	mov	r1, #35
	mov	r0, r5
	bl	strchr
	cmp	r0, #0
	beq	.L33
	mov	r2, #0
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	strb	r2, [r0]
	cmp	r3, r2
	bne	.L113
.L33:
	mov	r1, #63
	mov	r0, r5
	bl	strchr
	cmp	r0, #0
	beq	.L34
	mov	r3, #0
	strb	r3, [r0], #1
	bl	strdup
	cmp	r0, #0
	str	r0, [r6, #16]
	beq	.L105
.L34:
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L122+44
	ldr	r3, [r3]
	tst	r7, r3
	beq	.L114
.L36:
	cmp	r9, #0
	strne	r5, [r6, #20]
	beq	.L115
.L41:
	mov	r3, #0
	str	r3, [r6, #8]
.L35:
	ldr	r0, [fp, #-44]
	cmp	r0, #0
	beq	.L42
	bl	junkscan
	cmp	r0, #0
	bne	.L104
	mov	r1, r4
	mov	r3, r7
	mov	r0, r6
	sub	r2, fp, #44
	bl	parse_hostname_login
	cmp	r0, #0
	bne	.L1
	mov	r0, r6
	ldr	r1, [fp, #-44]
	bl	Curl_parse_port
	cmp	r0, #0
	bne	.L1
	ldr	r1, [fp, #-44]
	ldrb	r3, [r1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L122+36
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L45
.L44:
	mov	r0, r6
	bl	hostname_check
	cmp	r0, #0
	bne	.L1
	ldr	r1, [fp, #-44]
.L45:
	mov	r0, r1
	bl	strdup
	cmp	r0, #0
	str	r0, [r6, #24]
	beq	.L105
.L42:
	ldr	r0, [r6]
	bl	Curl_safefree
	ldr	r0, [r6, #8]
	bl	Curl_safefree
	ldr	r3, .L122+48
	ldr	r0, [r3]
	b	.L1
.L109:
	mov	r0, r8
	ldr	r1, .L122+52
	bl	strcasecompare
	subs	r3, r0, #0
	bne	.L116
	add	r0, r10, #1
	ldrb	r2, [r4, r0]!	@ zero_extendqisi2
	strb	r3, [r5]
	cmp	r2, #47
	bne	.L104
.L18:
	ldrb	r2, [r4, #1]!	@ zero_extendqisi2
	mov	r1, r3
	cmp	r2, #47
	add	r3, r3, #1
	bne	.L17
	cmp	r3, #4
	bne	.L18
	b	.L104
.L17:
	cmp	r1, #3
	beq	.L104
	mov	r0, r8
	bl	Curl_builtin_scheme
	cmp	r0, #0
	beq	.L117
.L21:
	mov	r0, r8
	bl	junkscan
	cmp	r0, #0
	beq	.L22
	b	.L104
.L110:
	mov	r1, r4
	ldr	r0, [fp, #-44]
	str	r2, [fp, #-48]
	bl	memcpy
	mov	r1, #0
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	strb	r1, [r3, r2]
	b	.L27
.L117:
	ldr	r3, .L122+56
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L21
	ldr	r3, .L122+60
	ldr	r0, [r3]
	b	.L1
.L112:
	mov	r0, r5
	bl	strlen
	add	r0, r0, r0, lsl #1
	bl	malloc
	subs	r8, r0, #0
	beq	.L105
	ldr	r3, .L122+20
	mov	r1, r5
	ldr	r9, [r3]
	mov	r5, r8
	mov	r2, r9
	bl	strcpy_url
	str	r8, [r6, #8]
	b	.L31
.L114:
	mov	r0, r5
	bl	Curl_dedotdotify
	subs	r8, r0, #0
	beq	.L105
	mov	r1, r5
	bl	strcmp
	cmp	r0, #0
	beq	.L38
	cmp	r9, #0
	bne	.L118
.L39:
	ldr	r3, .L122+20
	mov	r5, r8
	ldr	r9, [r3]
	str	r8, [r6, #8]
	b	.L36
.L116:
	add	r1, r4, #5
	mov	r0, r5
	bl	strcpy
	mov	r3, #0
	ldr	r0, .L122+52
	str	r3, [fp, #-44]
	bl	strdup
	cmp	r0, #0
	str	r0, [r6, #4]
	beq	.L105
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L119
.L10:
	mov	r0, r5
	bl	STARTS_WITH_URL_DRIVE_PREFIX
	cmp	r0, #0
	ldreq	r0, [r6, #4]
	beq	.L29
	b	.L104
.L113:
	add	r0, r0, #1
	bl	strdup
	cmp	r0, #0
	str	r0, [r6, #12]
	bne	.L33
.L105:
	ldr	r3, .L122+64
	ldr	r0, [r3]
	b	.L1
.L115:
	mov	r0, r5
	bl	strdup
	cmp	r0, #0
	str	r0, [r6, #20]
	beq	.L105
	b	.L41
.L119:
	ldrb	r3, [r5, #1]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L120
.L11:
	add	r0, r5, #1
	bl	STARTS_WITH_URL_DRIVE_PREFIX
	cmp	r0, #0
	beq	.L10
	b	.L104
.L111:
	ldr	r1, [fp, #-44]
	ldr	r0, .L122+68
	bl	checkprefix
	cmp	r0, #0
	ldrne	r8, .L122+72
	bne	.L28
	ldr	r1, [fp, #-44]
	ldr	r0, .L122+76
	bl	checkprefix
	cmp	r0, #0
	ldrne	r8, .L122+80
	bne	.L28
	ldr	r1, [fp, #-44]
	ldr	r0, .L122+84
	bl	checkprefix
	cmp	r0, #0
	ldrne	r8, .L122+88
	bne	.L28
	ldr	r1, [fp, #-44]
	ldr	r0, .L122+92
	bl	checkprefix
	cmp	r0, #0
	ldrne	r8, .L122+96
	bne	.L28
	ldr	r1, [fp, #-44]
	ldr	r0, .L122+100
	bl	checkprefix
	cmp	r0, #0
	ldrne	r8, .L122+104
	bne	.L28
	ldr	r1, [fp, #-44]
	ldr	r0, .L122+108
	bl	checkprefix
	ldr	r3, .L122+112
	cmp	r0, #0
	ldr	r8, .L122+116
	moveq	r8, r3
	b	.L28
.L120:
	ldrb	r3, [r5, #2]	@ zero_extendqisi2
	add	r4, r5, #2
	cmp	r3, #47
	moveq	r5, r4
	beq	.L11
	mov	r0, r4
	bl	STARTS_WITH_URL_DRIVE_PREFIX
	cmp	r0, #0
	beq	.L12
	ldrb	r3, [r5, #2]	@ zero_extendqisi2
	mov	r5, r4
.L13:
	cmp	r3, #47
	beq	.L11
	b	.L10
.L38:
	mov	r0, r8
	bl	free
	b	.L36
.L118:
	ldr	r0, [r6, #8]
	bl	Curl_safefree
	b	.L39
.L12:
	mov	r1, r4
	ldr	r0, .L122+120
	bl	checkprefix
	cmp	r0, #0
	beq	.L121
.L14:
	ldrb	r3, [r5, #11]	@ zero_extendqisi2
	add	r5, r5, #11
	b	.L13
.L108:
	bl	__stack_chk_fail
.L121:
	mov	r1, r4
	ldr	r0, .L122+124
	bl	checkprefix
	cmp	r0, #0
	bne	.L14
	b	.L104
.L123:
	.align	2
.L122:
	.word	MAX_SCHEME_LEN
	.word	FALSE
	.word	.LC16
	.word	CURL_MAX_INPUT_LENGTH
	.word	CURLUE_MALFORMED_INPUT
	.word	TRUE
	.word	CURLU_DEFAULT_SCHEME
	.word	CURLU_GUESS_SCHEME
	.word	DEFAULT_SCHEME
	.word	CURLU_NO_AUTHORITY
	.word	CURLU_URLENCODE
	.word	CURLU_PATH_AS_IS
	.word	CURLUE_OK
	.word	.LC7
	.word	CURLU_NON_SUPPORT_SCHEME
	.word	CURLUE_UNSUPPORTED_SCHEME
	.word	CURLUE_OUT_OF_MEMORY
	.word	.LC10
	.word	.LC5
	.word	.LC11
	.word	.LC0
	.word	.LC12
	.word	.LC1
	.word	.LC13
	.word	.LC2
	.word	.LC14
	.word	.LC3
	.word	.LC15
	.word	.LC6
	.word	.LC4
	.word	.LC8
	.word	.LC9
	.size	seturl, .-seturl
	.comm	TRUE,4,4
	.comm	MAX_SCHEME_LEN,4,4
	.comm	FALSE,4,4
	.comm	DEFAULT_SCHEME,4,4
	.comm	CURL_MAX_INPUT_LENGTH,4,4
	.comm	CURLU_URLENCODE,4,4
	.comm	CURLU_PATH_AS_IS,4,4
	.comm	CURLU_NO_AUTHORITY,4,4
	.comm	CURLU_NON_SUPPORT_SCHEME,4,4
	.comm	CURLU_GUESS_SCHEME,4,4
	.comm	CURLU_DEFAULT_SCHEME,4,4
	.comm	CURLUE_UNSUPPORTED_SCHEME,4,4
	.comm	CURLUE_OUT_OF_MEMORY,4,4
	.comm	CURLUE_OK,4,4
	.comm	CURLUE_MALFORMED_INPUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
