	.file	"extr_WKdmDecompress.c_WK_unpack_2bits.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unpacked tags word: %.8x\n"
	.text
	.p2align 4
	.type	WK_unpack_2bits, @function
WK_unpack_2bits:
.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, 24
	.cfi_def_cfa_offset 80
	mov	r13d, DWORD PTR TWO_BITS_PACKING_MASK[rip]
	mov	QWORD PTR 8[rsp], rdx
	cmp	rdi, rsi
	jnb	.L4
	lea	rbp, -1[rsi]
	mov	r14, rdi
	mov	r15, rdx
	sub	rbp, rdi
	lea	r12, .LC0[rip]
	shr	rbp, 2
	add	rbp, 1
	lea	rax, [rdi+rbp*4]
	mov	QWORD PTR [rsp], rax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ebx, DWORD PTR [r14]
	mov	rdi, r12
	add	r15, 16
	add	r14, 4
	mov	esi, ebx
	call	DEBUG_PRINT_2@PLT
	mov	eax, r13d
	and	eax, ebx
	mov	DWORD PTR -16[r15], eax
	mov	eax, ebx
	sar	eax, 2
	and	eax, r13d
	mov	DWORD PTR -12[r15], eax
	mov	eax, ebx
	sar	ebx, 6
	sar	eax, 4
	and	ebx, r13d
	and	eax, r13d
	mov	DWORD PTR -4[r15], ebx
	mov	DWORD PTR -8[r15], eax
	cmp	r14, QWORD PTR [rsp]
	jne	.L3
	mov	rax, QWORD PTR 8[rsp]
	sal	rbp, 4
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	add	rax, rbp
	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	rax, QWORD PTR 8[rsp]
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	WK_unpack_2bits, .-WK_unpack_2bits
	.comm	TWO_BITS_PACKING_MASK,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_WKdmDecompress.c_WK_unpack_2bits.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unpacked tags word: %.8x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	WK_unpack_2bits, %function
WK_unpack_2bits:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L8
	cmp	r0, r1
	mov	r10, r2
	ldr	r6, [r3]
	bcs	.L4
	sub	r1, r1, #1
	sub	r7, r1, r0
	bic	r8, r7, #3
	ldr	r9, .L8+4
	add	r8, r8, r0
	sub	fp, r0, #4
	add	r5, r2, #16
.L3:
	ldr	r4, [fp, #4]!
	mov	r0, r9
	mov	r1, r4
	bl	DEBUG_PRINT_2
	and	r1, r6, r4
	and	r2, r6, r4, asr #2
	and	r3, r6, r4, asr #4
	cmp	fp, r8
	and	r4, r6, r4, asr #6
	stmdb	r5, {r1, r2, r3, r4}
	add	r5, r5, #16
	bne	.L3
	lsr	r0, r7, #2
	add	r0, r0, #1
	add	r0, r10, r0, lsl #4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r0, r2
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	.align	2
.L8:
	.word	TWO_BITS_PACKING_MASK
	.word	.LC0
	.size	WK_unpack_2bits, .-WK_unpack_2bits
	.comm	TWO_BITS_PACKING_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
