	.file	"extr_dvdsubdec.c_parse_palette.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parse_palette, @function
parse_palette:
.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
	xor	ebx, ebx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	DWORD PTR [rdi], 1
	mov	QWORD PTR 8[rsp], rsi
	lea	r12, 8[rsp]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r13, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, 16
	mov	rsi, r12
	call	strtoul@PLT
	add	r13, rbx
	mov	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 8[rsp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR 8[rsp]
.L3:
	add	rax, 1
	mov	QWORD PTR 8[rsp], rax
.L2:
	movsx	edi, BYTE PTR [rax]
	cmp	dil, 44
	je	.L3
	call	av_isspace@PLT
	test	rax, rax
	jne	.L12
	add	rbx, 4
	cmp	rbx, 64
	jne	.L5
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	parse_palette, .-parse_palette
	.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_dvdsubdec.c_parse_palette.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_palette, %function
parse_palette:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #1
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r4, #0
	sub	sp, sp, #8
	str	r1, [sp, #4]
	str	r3, [r0]
.L5:
	mov	r2, #16
	ldr	r0, [sp, #4]
	add	r1, sp, #4
	ldr	r5, [r6, #4]
	bl	strtoul
	ldr	r3, [sp, #4]
	str	r0, [r5, r4]
	b	.L2
.L12:
	ldr	r3, [sp, #4]
.L3:
	add	r3, r3, #1
	str	r3, [sp, #4]
.L2:
	ldrb	r0, [r3]	@ zero_extendqisi2
	cmp	r0, #44
	beq	.L3
	bl	av_isspace
	cmp	r0, #0
	bne	.L12
	add	r4, r4, #4
	cmp	r4, #64
	bne	.L5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
	.size	parse_palette, .-parse_palette
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
