	.file	"extr_imm4.c_decode_blocks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decode_blocks, @function
decode_blocks:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	mov	edx, 8
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rbp, QWORD PTR [rdi]
	mov	DWORD PTR 24[rsp], r8d
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, QWORD PTR 0[rbp]
	mov	DWORD PTR 28[rsp], r9d
	mov	QWORD PTR 16[rsp], rax
	call	memset@PLT
	mov	eax, r15d
	mov	r15, r14
	mov	r14, r13
	mov	r13d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	add	r15, 1
	cmp	r15, 6
	je	.L12
.L5:
	mov	ecx, r15d
	mov	edx, r15d
	test	r13d, r13d
	je	.L13
.L2:
	mov	eax, 5
	sub	eax, ecx
	bt	ebx, eax
	jnc	.L7
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	ecx, DWORD PTR 8[rbp]
	mov	r8d, r13d
	mov	rsi, r12
	mov	eax, DWORD PTR 36[rsp]
	mov	rdi, r14
	push	rax
	.cfi_def_cfa_offset 112
	mov	r9d, DWORD PTR 40[rsp]
	call	decode_block@PLT
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
	test	eax, eax
	jns	.L7
	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
.L13:
	.cfi_restore_state
	mov	esi, 8
	mov	rdi, r12
	mov	DWORD PTR 12[rsp], r15d
	mov	DWORD PTR 8[rsp], r15d
	call	get_bits@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 12[rsp]
	lea	esi, 0[0+rax*8]
	cmp	eax, 255
	mov	ecx, DWORD PTR 8[rsp]
	mov	eax, 1024
	cmovne	eax, esi
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rdi]
	mov	rsi, QWORD PTR [rsi+r15*8]
	mov	DWORD PTR [rsi+rdi*4], eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	add	rsp, 40
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	decode_blocks, .-decode_blocks
	.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_imm4.c_decode_blocks.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_blocks, %function
decode_blocks:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, [r0]
	mov	r4, r3
	ldr	r3, [r6]
	ldr	r10, [r6, #8]
	mov	r9, r0
	mov	r7, r1
	mov	r5, r2
	mov	fp, ip
	mov	r8, #1
	sub	sp, sp, #20
	strb	ip, [r3]
	strb	ip, [r3, #1]
	strb	ip, [r3, #2]
	strb	ip, [r3, #3]
	b	.L5
.L7:
	add	fp, fp, #1
	cmp	fp, #6
	beq	.L12
.L5:
	cmp	r4, #0
	beq	.L13
.L2:
	rsb	r3, fp, #5
	ands	r3, r5, r8, lsl r3
	beq	.L7
	ldr	r1, [sp, #60]
	ldr	r3, [r6, #4]
	str	r1, [sp, #8]
	ldr	r1, [sp, #56]
	mov	r2, fp
	str	r1, [sp, #4]
	mov	r0, r9
	mov	r1, r7
	str	r4, [sp]
	bl	decode_block
	cmp	r0, #0
	bge	.L7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	mov	r1, #8
	mov	r0, r7
	bl	get_bits
	cmp	r0, #255
	moveq	r0, #1024
	ldr	r3, [r6]
	ldr	r1, [r10]
	ldr	r3, [r3, fp, lsl #2]
	lslne	r0, r0, #3
	str	r0, [r3, r1, lsl #2]
	b	.L2
.L12:
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	decode_blocks, .-decode_blocks
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
