	.file	"extr_parseurl.c_RTMP_ParsePlaypath.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"slist="
.LC1:
	.string	".f4v"
.LC2:
	.string	".mp4"
.LC3:
	.string	".mp3"
.LC4:
	.string	".flv"
.LC5:
	.string	"mp4:"
.LC6:
	.string	"mp3:"
.LC7:
	.string	"%02x"
	.text
	.p2align 4
	.globl	RTMP_ParsePlaypath
	.type	RTMP_ParsePlaypath, @function
RTMP_ParsePlaypath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r12, QWORD PTR [rdi]
	mov	ebp, DWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsi], 0
	mov	DWORD PTR 8[rsi], 0
	test	r12, r12
	je	.L1
	cmp	BYTE PTR [r12], 63
	mov	r13, rsi
	mov	rbx, r12
	je	.L66
.L4:
	mov	esi, 63
	mov	rdi, rbx
	lea	r15d, 5[rbp]
	call	strchr@PLT
	cmp	ebp, 3
	jle	.L6
	lea	r14, -4[rax]
	test	rax, rax
	je	.L67
.L8:
	mov	edx, 4
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	strncmp@PLT
	test	rax, rax
	jne	.L68
.L9:
	mov	edi, r15d
	call	malloc@PLT
	test	rax, rax
	je	.L1
	mov	edx, 4
	mov	rdi, rbx
	mov	QWORD PTR 8[rsp], rax
	mov	r12, rax
	lea	rsi, .LC5[rip]
	call	strncmp@PLT
	mov	r15, QWORD PTR 8[rsp]
	xor	ecx, ecx
	lea	rsi, .LC5[rip]
	test	rax, rax
	jne	.L64
.L24:
	lea	rdx, 36[rsp]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L70:
	test	cl, cl
	je	.L16
	add	rbx, 4
	sub	ebp, 4
.L17:
	test	ebp, ebp
	jle	.L69
.L19:
	cmp	r14, rbx
	je	.L70
.L16:
	movzx	eax, BYTE PTR [rbx]
	lea	rdi, 1[rbx]
	lea	r15, 1[r12]
	cmp	al, 37
	je	.L71
	sub	ebp, 1
	mov	BYTE PTR [r12], al
	mov	rbx, rdi
	mov	r12, r15
	test	ebp, ebp
	jg	.L19
.L69:
	mov	eax, r12d
	sub	eax, DWORD PTR 8[rsp]
.L15:
	mov	rdx, QWORD PTR 8[rsp]
	mov	BYTE PTR [r12], 0
	mov	DWORD PTR 8[r13], eax
	mov	QWORD PTR 0[r13], rdx
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L72
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L6:
	.cfi_restore_state
	mov	edi, r15d
	call	malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	QWORD PTR 8[rsp], r12
	xor	eax, eax
	test	ebp, ebp
	jle	.L15
	xor	ecx, ecx
	xor	r14d, r14d
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L66:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	strstr@PLT
	test	rax, rax
	je	.L4
	lea	rbx, 6[rax]
	mov	rdi, rbx
	call	strlen@PLT
	mov	esi, 38
	mov	rdi, rbx
	mov	rbp, rax
	call	strchr@PLT
	mov	rdx, rax
	sub	rdx, rbx
	test	rax, rax
	cmovne	ebp, edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L71:
	lea	rsi, .LC7[rip]
	mov	BYTE PTR 31[rsp], cl
	sub	ebp, 3
	add	rbx, 3
	mov	QWORD PTR 16[rsp], rdx
	call	sscanf@PLT
	mov	eax, DWORD PTR 36[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	movzx	ecx, BYTE PTR 31[rsp]
	mov	BYTE PTR [r12], al
	mov	r12, r15
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L68:
	mov	edx, 4
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	call	strncmp@PLT
	test	rax, rax
	je	.L9
	cmp	rbx, r12
	je	.L10
.L13:
	mov	edx, 4
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	call	strncmp@PLT
	test	rax, rax
	jne	.L73
	mov	edi, r15d
	call	malloc@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L1
	mov	edx, 4
	lea	rsi, .LC6[rip]
	mov	rdi, rbx
	call	strncmp@PLT
	mov	r12, QWORD PTR 8[rsp]
	xor	ecx, ecx
	test	rax, rax
	je	.L24
	lea	rsi, .LC6[rip]
	mov	r15, r12
.L64:
	mov	rdi, r15
	lea	r12, 4[r15]
	call	strcpy@PLT
	mov	ecx, 1
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L67:
	movsx	rax, ebp
	lea	r14, -4[rbx+rax]
	jmp	.L8
.L73:
	mov	DWORD PTR 8[rsp], 0
.L12:
	mov	edi, r15d
	call	malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	movzx	ecx, BYTE PTR 8[rsp]
	mov	QWORD PTR 8[rsp], rax
	and	ecx, 1
	jmp	.L24
.L10:
	mov	edx, 4
	lea	rsi, .LC4[rip]
	mov	rdi, r14
	call	strncmp@PLT
	test	rax, rax
	jne	.L13
	mov	DWORD PTR 8[rsp], 1
	jmp	.L12
.L72:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	RTMP_ParsePlaypath, .-RTMP_ParsePlaypath
	.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_parseurl.c_RTMP_ParsePlaypath.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"slist=\000"
	.align	2
.LC1:
	.ascii	".f4v\000"
	.align	2
.LC2:
	.ascii	".mp4\000"
	.align	2
.LC3:
	.ascii	".flv\000"
	.align	2
.LC4:
	.ascii	".mp3\000"
	.align	2
.LC5:
	.ascii	"mp4:\000"
	.align	2
.LC6:
	.ascii	"mp3:\000"
	.align	2
.LC7:
	.ascii	"%02x\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	RTMP_ParsePlaypath
	.syntax unified
	.arm
	.fpu softvfp
	.type	RTMP_ParsePlaypath, %function
RTMP_ParsePlaypath:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, [r0]
	ldr	r2, .L67
	sub	sp, sp, #12
	cmp	r6, r3
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ldr	r5, [r0, #4]
	str	r3, [r1]
	str	r3, [r1, #4]
	beq	.L1
	ldrb	r3, [r6]	@ zero_extendqisi2
	mov	r9, r1
	cmp	r3, #63
	beq	.L60
.L25:
	mov	r4, r6
.L4:
	mov	r1, #63
	mov	r0, r4
	bl	strchr
	cmp	r5, #3
	add	r10, r5, #5
	ble	.L5
	cmp	r0, #0
	subeq	r7, r5, #4
	subne	r7, r0, #4
	addeq	r7, r4, r7
	mov	r2, #4
	mov	r0, r7
	ldr	r1, .L67+4
	bl	strncmp
	cmp	r0, #0
	beq	.L8
	mov	r2, #4
	mov	r0, r7
	ldr	r1, .L67+8
	bl	strncmp
	cmp	r0, #0
	bne	.L61
.L8:
	mov	r0, r10
	bl	malloc
	subs	r10, r0, #0
	ldrne	r6, .L67+12
	beq	.L1
.L58:
	mov	r1, r6
	mov	r2, #4
	mov	r0, r4
	bl	strncmp
	subs	r8, r0, #0
	moveq	r6, r10
	bne	.L62
.L22:
	ldr	r1, .L67+16
	b	.L17
.L16:
	strb	r3, [r6]
	mov	r4, r0
	mov	r6, fp
	sub	r5, r5, #1
.L15:
	cmp	r5, #0
	ble	.L63
.L17:
	cmp	r7, r4
	movne	r3, #0
	andeq	r3, r8, #1
	cmp	r3, #0
	addne	r4, r4, #4
	subne	r5, r5, #4
	bne	.L15
	mov	r0, r4
	ldrb	r3, [r0], #1	@ zero_extendqisi2
	add	fp, r6, #1
	cmp	r3, #37
	bne	.L16
	mov	r2, sp
	bl	sscanf
	sub	r5, r5, #3
	ldr	r3, [sp]
	cmp	r5, #0
	strb	r3, [r6]
	ldr	r1, .L67+16
	mov	r6, fp
	add	r4, r4, #3
	bgt	.L17
.L63:
	sub	r2, r6, r10
.L13:
	mov	r3, #0
	str	r10, [r9]
	str	r2, [r9, #4]
	strb	r3, [r6]
.L1:
	ldr	r3, .L67
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L64
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r0, r10
	bl	malloc
	subs	r6, r0, #0
	beq	.L1
	cmp	r5, #0
	movle	r10, r6
	movle	r2, #0
	ble	.L13
	mov	r8, #0
	mov	r10, r6
	mov	r7, r8
	b	.L22
.L60:
	mov	r0, r6
	ldr	r1, .L67+20
	bl	strstr
	cmp	r0, #0
	beq	.L25
	add	r4, r0, #6
	mov	r0, r4
	bl	strlen
	mov	r1, #38
	mov	r5, r0
	mov	r0, r4
	bl	strchr
	cmp	r0, #0
	subne	r5, r0, r4
	b	.L4
.L62:
	ldm	r6, {r0, r1}
	mov	r6, r10
	mov	r8, #1
	str	r0, [r6], #4
	strb	r1, [r10, #4]
	b	.L22
.L61:
	cmp	r4, r6
	beq	.L65
.L9:
	mov	r2, #4
	mov	r0, r7
	ldr	r1, .L67+24
	bl	strncmp
	cmp	r0, #0
	movne	r8, #0
	beq	.L66
.L10:
	mov	r0, r10
	bl	malloc
	subs	r6, r0, #0
	movne	r10, r6
	andne	r8, r8, #1
	beq	.L1
	b	.L22
.L66:
	mov	r0, r10
	bl	malloc
	subs	r10, r0, #0
	ldrne	r6, .L67+28
	bne	.L58
	b	.L1
.L65:
	mov	r2, #4
	mov	r0, r7
	ldr	r1, .L67+32
	bl	strncmp
	cmp	r0, #0
	bne	.L9
	mov	r8, #1
	b	.L10
.L64:
	bl	__stack_chk_fail
.L68:
	.align	2
.L67:
	.word	.LC8
	.word	.LC1
	.word	.LC2
	.word	.LC5
	.word	.LC7
	.word	.LC0
	.word	.LC4
	.word	.LC6
	.word	.LC3
	.size	RTMP_ParsePlaypath, .-RTMP_ParsePlaypath
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
