	.file	"extr_tedcaptionsdec.c_parse_boolean.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"false"
.LC1:
	.string	"true"
	.text
	.p2align 4
	.type	parse_boolean, @function
parse_boolean:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	skip_spaces@PLT
	mov	edx, DWORD PTR [r14]
	cmp	edx, 102
	jne	.L13
	mov	eax, 102
	lea	rbx, .LC0[rip]
	xor	r13d, r13d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 1
	mov	rsi, r14
	mov	rdi, rbp
	call	next_byte@PLT
	movsx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L14
	mov	edx, DWORD PTR [r14]
.L7:
	cmp	eax, edx
	je	.L4
.L11:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR AVERROR_INVALIDDATA[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	cmp	edx, 116
	jne	.L11
	mov	eax, 116
	lea	rbx, .LC1[rip]
	mov	r13d, 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR [r14]
	mov	edx, 122
	mov	esi, 97
	or	edi, 32
	call	BETWEEN@PLT
	test	rax, rax
	jne	.L11
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	DWORD PTR [r12], r13d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	parse_boolean, .-parse_boolean
	.comm	AVERROR_INVALIDDATA,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_tedcaptionsdec.c_parse_boolean.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"false\000"
	.align	2
.LC1:
	.ascii	"true\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_boolean, %function
parse_boolean:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r7, r2
	mov	r6, r0
	bl	skip_spaces
	ldr	r1, [r4]
	cmp	r1, #102
	bne	.L14
	mov	r3, r1
	mov	r8, #0
	ldr	r5, .L16
	b	.L7
.L4:
	mov	r1, r4
	mov	r0, r6
	bl	next_byte
	ldrb	r3, [r5, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldr	r1, [r4]
.L7:
	cmp	r3, r1
	beq	.L4
.L12:
	ldr	r3, .L16+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	cmp	r1, #116
	bne	.L12
	mov	r3, r1
	mov	r8, #1
	ldr	r5, .L16+8
	b	.L7
.L15:
	ldr	r0, [r4]
	mov	r2, #122
	mov	r1, #97
	orr	r0, r0, #32
	bl	BETWEEN
	cmp	r0, #0
	bne	.L12
	str	r8, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	AVERROR_INVALIDDATA
	.word	.LC1
	.size	parse_boolean, .-parse_boolean
	.comm	AVERROR_INVALIDDATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
