	.file	"extr_archive_read_support_format_rar.c_read_next_symbol.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Truncated RAR file data"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Invalid prefix code in bitstream"
	.text
	.p2align 4
	.type	read_next_symbol, @function
read_next_symbol:
.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
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	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, 24
	.cfi_def_cfa_offset 80
	cmp	QWORD PTR 16[rsi], 0
	je	.L2
.L6:
	mov	rax, QWORD PTR 8[r14]
	mov	edx, DWORD PTR 0[r13]
	mov	rdi, r14
	mov	rax, QWORD PTR [rax]
	lea	r15, 8[rax]
	mov	QWORD PTR 8[rsp], rax
	mov	rsi, r15
	call	rar_br_read_ahead@PLT
	test	eax, eax
	je	.L16
	mov	esi, DWORD PTR 0[r13]
	mov	rdi, r15
	call	rar_br_bits@PLT
	mov	rdx, QWORD PTR 16[r13]
	mov	eax, eax
	lea	rax, [rdx+rax*8]
	mov	esi, DWORD PTR [rax]
	mov	r12d, DWORD PTR 4[rax]
	test	esi, esi
	js	.L17
	mov	r9d, DWORD PTR 0[r13]
	cmp	r9d, esi
	jge	.L19
	mov	esi, r9d
	mov	rdi, r15
	call	rar_br_consume@PLT
	mov	rax, QWORD PTR 8[r13]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, 1
	mov	rsi, r15
	mov	rdi, r14
	call	rar_br_read_ahead@PLT
	test	eax, eax
	je	.L16
	mov	esi, 1
	mov	rdi, r15
	call	rar_br_bits@PLT
	mov	esi, 1
	mov	rdi, r15
	mov	rbx, rax
	call	rar_br_consume@PLT
	mov	rax, QWORD PTR 8[r13]
	movzx	ebx, bl
	mov	rdx, QWORD PTR [rax+rbp*8]
	mov	r12d, DWORD PTR [rdx+rbx*4]
	test	r12d, r12d
	js	.L17
.L9:
	movsx	rbp, r12d
	mov	rax, QWORD PTR [rax+rbp*8]
	mov	r12d, DWORD PTR 4[rax]
	cmp	DWORD PTR [rax], r12d
	jne	.L11
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L19:
	.cfi_restore_state
	mov	rdi, r15
	call	rar_br_consume@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	call	make_table@PLT
	cmp	rax, QWORD PTR ARCHIVE_OK[rip]
	je	.L6
	mov	r12d, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, DWORD PTR ARCHIVE_ERRNO_FILE_FORMAT[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r14
	mov	r12d, -1
	call	archive_set_error@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	esi, DWORD PTR ARCHIVE_ERRNO_FILE_FORMAT[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, r14
	mov	r12d, -1
	call	archive_set_error@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	read_next_symbol, .-read_next_symbol
	.comm	ARCHIVE_OK,8,8
	.comm	ARCHIVE_ERRNO_FILE_FORMAT,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_archive_read_support_format_rar.c_read_next_symbol.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Truncated RAR file data\000"
	.align	2
.LC1:
	.ascii	"Invalid prefix code in bitstream\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_next_symbol, %function
read_next_symbol:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1, #8]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r3, #0
	mov	r6, r1
	mov	r8, r0
	beq	.L2
.L6:
	ldr	r3, [r8, #4]
	mov	r0, r8
	ldr	r9, [r3]
	ldr	r2, [r6]
	add	r5, r9, #4
	mov	r1, r5
	bl	rar_br_read_ahead
	subs	r7, r0, #0
	beq	.L18
	mov	r0, r5
	ldr	r1, [r6]
	bl	rar_br_bits
	ldr	r3, [r6, #8]
	ldr	r2, [r3, r0, lsl #3]
	add	r3, r3, r0, lsl #3
	cmp	r2, #0
	ldr	r4, [r3, #4]
	blt	.L16
	ldr	r1, [r6]
	cmp	r1, r2
	bge	.L19
	mov	r0, r5
	bl	rar_br_consume
	ldr	r3, [r6, #4]
	b	.L9
.L11:
	mov	r2, #1
	mov	r1, r5
	mov	r0, r8
	bl	rar_br_read_ahead
	subs	r10, r0, #0
	beq	.L20
	mov	r1, #1
	mov	r0, r5
	bl	rar_br_bits
	mov	r4, r0
	mov	r1, #1
	mov	r0, r5
	bl	rar_br_consume
	ldr	r3, [r6, #4]
	and	r4, r4, #255
	ldr	r2, [r3, r7]
	ldr	r4, [r2, r4, lsl #2]
	cmp	r4, #0
	blt	.L16
.L9:
	ldr	r3, [r3, r4, lsl #2]
	lsl	r7, r4, #2
	ldm	r3, {r2, r4}
	cmp	r2, r4
	bne	.L11
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	mov	r1, r2
	mov	r0, r5
	bl	rar_br_consume
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	bl	make_table
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L6
	mvn	r4, #0
	b	.L1
.L20:
	mvn	r4, #0
	ldr	r3, .L21+4
	mov	r0, r8
	ldr	r1, [r3]
	ldr	r2, .L21+8
	bl	archive_set_error
	mov	r0, r4
	str	r10, [r9]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mvn	r4, #0
	ldr	r3, .L21+4
	mov	r0, r8
	ldr	r1, [r3]
	ldr	r2, .L21+12
	bl	archive_set_error
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	ldr	r3, .L21+4
	mov	r0, r8
	ldr	r1, [r3]
	ldr	r2, .L21+8
	bl	archive_set_error
	mvn	r4, #0
	str	r7, [r9]
	b	.L1
.L22:
	.align	2
.L21:
	.word	ARCHIVE_OK
	.word	ARCHIVE_ERRNO_FILE_FORMAT
	.word	.LC0
	.word	.LC1
	.size	read_next_symbol, .-read_next_symbol
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_ERRNO_FILE_FORMAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
