	.file	"extr_atsc_a65.c_atsc_a65_Decode_multiple_string.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	atsc_a65_Decode_multiple_string
	.type	atsc_a65_Decode_multiple_string, @function
atsc_a65_Decode_multiple_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, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 8[rsp], rdi
	mov	QWORD PTR [rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 40[rsp], 0
	mov	QWORD PTR 48[rsp], 0
	test	rdx, rdx
	je	.L1
	mov	rax, QWORD PTR [rsi]
	mov	edi, 1
	mov	rbx, rsi
	mov	r15, rdx
	mov	r14, rax
	mov	QWORD PTR 24[rsp], rax
	call	BUF_ADVANCE@PLT
	test	r14, r14
	jle	.L3
	cmp	r15, 3
	jbe	.L4
	lea	rax, 48[rsp]
	mov	QWORD PTR 16[rsp], rax
.L9:
	mov	rax, QWORD PTR 8[rsp]
	xor	r13d, r13d
	mov	rsi, QWORD PTR [rax]
	test	rsi, rsi
	jne	.L26
.L5:
	mov	edi, 3
	call	BUF_ADVANCE@PLT
	mov	rbp, QWORD PTR [rbx]
	mov	edi, 1
	call	BUF_ADVANCE@PLT
	test	rbp, rbp
	jg	.L8
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r14
	mov	r13d, 1
	call	BUF_ADVANCE@PLT
	sub	rbp, 1
	je	.L6
.L8:
	mov	edi, 3
	mov	r14, QWORD PTR 16[rbx]
	mov	r12, QWORD PTR [rbx]
	mov	r15, QWORD PTR 8[rbx]
	call	BUF_ADVANCE@PLT
	cmp	r14, QWORD PTR [rsp]
	ja	.L4
	cmp	QWORD PTR ATSC_A65_COMPRESSION_NONE[rip], r12
	jne	.L13
	test	r13d, r13d
	jne	.L13
	mov	rdi, QWORD PTR 8[rsp]
	mov	r8, QWORD PTR 16[rsp]
	mov	r9, r15
	mov	rdx, r14
	lea	rcx, 40[rsp]
	mov	rsi, rbx
	call	convert_encoding_set@PLT
	mov	rdi, r14
	call	BUF_ADVANCE@PLT
	sub	rbp, 1
	jne	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	sub	QWORD PTR 24[rsp], 1
	jne	.L9
.L3:
	mov	rax, QWORD PTR 40[rsp]
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L27
	add	rsp, 72
	.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
.L4:
	.cfi_restore_state
	mov	rdi, QWORD PTR 40[rsp]
	call	free@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edx, 3
	mov	rdi, rbx
	xor	r13d, r13d
	call	memcmp@PLT
	test	rax, rax
	setne	r13b
	jmp	.L5
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	atsc_a65_Decode_multiple_string, .-atsc_a65_Decode_multiple_string
	.comm	ATSC_A65_COMPRESSION_NONE,8,8
	.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_atsc_a65.c_atsc_a65_Decode_multiple_string.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	atsc_a65_Decode_multiple_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	atsc_a65_Decode_multiple_string, %function
atsc_a65_Decode_multiple_string:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r8, r2, #0
	sub	sp, sp, #36
	ldr	r2, .L22
	str	r0, [sp, #8]
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	moveq	r0, r8
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	beq	.L1
	ldr	r3, [r1]
	mov	r0, #1
	mov	r4, r3
	mov	r5, r1
	str	r3, [sp, #12]
	bl	BUF_ADVANCE
	cmp	r4, #0
	ble	.L3
	cmp	r8, #3
	bls	.L4
	ldr	r10, .L22+4
.L9:
	ldr	r3, [sp, #8]
	ldr	r4, [r3]
	cmp	r4, #0
	bne	.L20
.L5:
	mov	r0, #3
	bl	BUF_ADVANCE
	ldr	r6, [r5]
	mov	r0, #1
	bl	BUF_ADVANCE
	cmp	r6, #0
	bgt	.L8
	b	.L6
.L7:
	mov	r0, fp
	bl	BUF_ADVANCE
	subs	r6, r6, #1
	beq	.L6
.L8:
	ldm	r5, {r7, r9}
	ldr	fp, [r5, #8]
	mov	r0, #3
	bl	BUF_ADVANCE
	cmp	fp, r8
	bhi	.L4
	ldr	r0, [r10]
	eor	r4, r4, #1
	cmp	r0, r7
	movne	r7, #0
	andeq	r7, r4, #1
	cmp	r7, #0
	moveq	r4, #1
	beq	.L7
	add	r3, sp, #24
	mov	r2, fp
	mov	r1, r5
	stm	sp, {r3, r9}
	ldr	r0, [sp, #8]
	add	r3, sp, #20
	bl	convert_encoding_set
	mov	r0, fp
	bl	BUF_ADVANCE
	subs	r6, r6, #1
	mov	r4, #0
	bne	.L8
.L6:
	ldr	r3, [sp, #12]
	subs	r3, r3, #1
	str	r3, [sp, #12]
	bne	.L9
.L3:
	ldr	r0, [sp, #20]
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r0, [sp, #20]
	bl	free
	mov	r0, #0
	b	.L1
.L20:
	mov	r1, r4
	mov	r2, #3
	mov	r0, r5
	bl	memcmp
	subs	r4, r0, #0
	movne	r4, #1
	b	.L5
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	ATSC_A65_COMPRESSION_NONE
	.size	atsc_a65_Decode_multiple_string, .-atsc_a65_Decode_multiple_string
	.comm	ATSC_A65_COMPRESSION_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
