	.file	"extr_stream_dvb.c_parse_pid_string.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"+,;"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Maximum number of PIDs for one channel reached, ignoring further ones!\n"
	.section	.rodata.str1.1
.LC2:
	.string	"%d%n"
	.text
	.p2align 4
	.type	parse_pid_string, @function
parse_pid_string:
.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, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	BYTE PTR [rsi], 0
	jne	.L18
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.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
.L18:
	.cfi_restore_state
	lea	r12, 16[rsp]
	mov	r13, rdi
	mov	r15, rdx
	mov	rdi, rsi
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 16[rsp], 0
	call	dvb_strtok_r@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L3
	xor	ebp, ebp
	lea	r14, 8[rsp]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rdx, 12[rsp]
	mov	rcx, r14
	lea	rsi, .LC2[rip]
	mov	DWORD PTR 8[rsp], 0
	mov	DWORD PTR 12[rsp], 0
	call	sscanf@PLT
	lea	ebx, 0[rbp+rax]
	mov	eax, DWORD PTR 8[rsp]
	mov	ebp, ebx
	test	eax, eax
	jle	.L6
	movsx	rdx, DWORD PTR [r15]
	mov	rax, QWORD PTR 8[r15]
	mov	ecx, DWORD PTR 12[rsp]
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR [r15], 1
.L6:
	xor	edi, edi
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	call	dvb_strtok_r@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L20
.L7:
	mov	eax, DWORD PTR DMX_FILTER_SIZE[rip]
	sub	eax, 1
	cmp	DWORD PTR [r15], eax
	jl	.L4
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	mp_verbose@PLT
	xor	eax, eax
	test	ebp, ebp
	setg	al
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	test	ebx, ebx
	jle	.L3
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_pid_string, .-parse_pid_string
	.comm	DMX_FILTER_SIZE,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_stream_dvb.c_parse_pid_string.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"+,;\000"
	.align	2
.LC1:
	.ascii	"Maximum number of PIDs for one channel reached, ign"
	.ascii	"oring further ones!\012\000"
	.align	2
.LC2:
	.ascii	"%d%n\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_pid_string, %function
parse_pid_string:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldrb	r5, [r1]	@ zero_extendqisi2
	ldr	r3, .L21
	sub	sp, sp, #16
	cmp	r5, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	moveq	r0, r5
	bne	.L18
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	mov	r5, #0
	mov	r8, r0
	mov	r4, r2
	mov	r0, r1
	mov	r2, sp
	ldr	r1, .L21+4
	str	r5, [sp]
	bl	dvb_strtok_r
	cmp	r0, #0
	beq	.L3
	mov	r6, r5
	ldr	r7, .L21+8
	ldr	r10, .L21+12
	ldr	r9, .L21+4
	b	.L7
.L4:
	add	r3, sp, #4
	mov	r1, r10
	add	r2, sp, #8
	str	r6, [sp, #4]
	str	r6, [sp, #8]
	bl	sscanf
	ldr	r3, [sp, #4]
	add	r5, r5, r0
	cmp	r3, #0
	ble	.L6
	ldm	r4, {r2, r3}
	ldr	r1, [sp, #8]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [r4]
	add	r3, r3, #1
	str	r3, [r4]
.L6:
	mov	r2, sp
	mov	r1, r9
	mov	r0, #0
	bl	dvb_strtok_r
	cmp	r0, #0
	beq	.L20
.L7:
	ldr	r3, [r7]
	ldr	r2, [r4]
	sub	r3, r3, #1
	cmp	r2, r3
	blt	.L4
	mov	r0, r8
	ldr	r1, .L21+16
	bl	mp_verbose
	cmp	r5, #0
	movle	r0, #0
	movgt	r0, #1
	b	.L1
.L20:
	cmp	r5, #0
	movgt	r0, #1
	bgt	.L1
.L3:
	mov	r0, #0
	b	.L1
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC3
	.word	.LC0
	.word	DMX_FILTER_SIZE
	.word	.LC2
	.word	.LC1
	.size	parse_pid_string, .-parse_pid_string
	.comm	DMX_FILTER_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
