	.file	"extr_url.c_vlc_uri_decode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vlc_uri_decode
	.type	vlc_uri_decode, @function
vlc_uri_decode:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L10
	movzx	edx, BYTE PTR [rdi]
	mov	rbp, rdi
	lea	rcx, 1[rdi]
	test	dl, dl
	je	.L11
	mov	rbx, rcx
	mov	rax, rdi
	lea	r12, 5[rsp]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, rcx
	mov	BYTE PTR -1[rbx], dl
	mov	rsi, rbx
	add	rbx, 1
	movzx	edx, BYTE PTR [rax]
	lea	rcx, 1[rax]
	test	dl, dl
	je	.L3
.L8:
	cmp	dl, 37
	jne	.L4
	movzx	edx, BYTE PTR 1[rax]
	mov	BYTE PTR 5[rsp], dl
	test	dl, dl
	je	.L10
	lea	r13, 3[rax]
	movzx	eax, BYTE PTR 2[rax]
	mov	BYTE PTR 6[rsp], al
	test	al, al
	je	.L10
	mov	edx, 16
	xor	esi, esi
	mov	rdi, r12
	mov	BYTE PTR 7[rsp], 0
	call	strtoul@PLT
	mov	rsi, rbx
	add	rbx, 1
	mov	BYTE PTR -2[rbx], al
	mov	rax, r13
	movzx	edx, BYTE PTR [rax]
	lea	rcx, 1[rax]
	test	dl, dl
	jne	.L8
.L3:
	mov	BYTE PTR [rsi], 0
	mov	rax, rbp
.L1:
	mov	rdi, QWORD PTR 8[rsp]
	xor	rdi, QWORD PTR fs:40
	jne	.L18
	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
.L10:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
.L11:
	mov	rsi, rdi
	jmp	.L3
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vlc_uri_decode, .-vlc_uri_decode
	.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_url.c_vlc_uri_decode.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vlc_uri_decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlc_uri_decode, %function
vlc_uri_decode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L19
	sub	sp, sp, #12
	subs	r6, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L10
	mov	r3, r6
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L11
	mov	r4, r3
	mov	r1, r6
	mov	r7, #0
	b	.L8
.L7:
	mov	r3, r1
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	add	r4, r4, #1
	cmp	r2, #0
	beq	.L3
.L8:
	cmp	r2, #37
	movne	r1, r3
	movne	ip, r4
	strbne	r2, [r4, #-1]
	bne	.L7
	ldrb	r3, [r1, #1]	@ zero_extendqisi2
	cmp	r3, #0
	strb	r3, [sp]
	beq	.L6
	ldrb	r3, [r1, #2]	@ zero_extendqisi2
	add	r5, r1, #3
	cmp	r3, #0
	strb	r3, [sp, #1]
	beq	.L6
	mov	r1, #0
	mov	r2, #16
	mov	r0, sp
	strb	r7, [sp, #2]
	bl	strtoul
	mov	r1, r5
	mov	ip, r4
	strb	r0, [r4, #-1]
	b	.L7
.L11:
	mov	ip, r6
.L3:
	mov	r3, #0
	mov	r0, r6
	strb	r3, [ip]
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	mov	r0, #0
	b	.L1
.L10:
	mov	r0, r6
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.size	vlc_uri_decode, .-vlc_uri_decode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
