	.file	"extr_jvdec.c_decode2x2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decode2x2, @function
decode2x2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movsx	r12, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	mov	esi, 2
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	get_bits@PLT
	cmp	eax, 2
	je	.L2
	cmp	eax, 3
	je	.L3
	cmp	eax, 1
	je	.L15
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, 8
	mov	rdi, rbp
	sal	r12, 2
	mov	r13d, 2
	call	get_bits@PLT
	mov	esi, 8
	mov	rdi, rbp
	mov	DWORD PTR [rsp], eax
	call	get_bits@PLT
	mov	DWORD PTR 4[rsp], eax
.L6:
	mov	rdi, rbp
	call	get_bits1@PLT
	mov	rdi, rbp
	mov	eax, DWORD PTR [rsp+rax*4]
	mov	DWORD PTR [rbx], eax
	call	get_bits1@PLT
	mov	eax, DWORD PTR [rsp+rax*4]
	mov	DWORD PTR 4[rbx], eax
	add	rbx, r12
	cmp	r13d, 1
	je	.L1
	mov	r13d, 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbp
	mov	esi, 8
	call	get_bits@PLT
	mov	edx, 2
	mov	rdi, rbx
	mov	esi, eax
	mov	ebp, eax
	call	memset@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, [rbx+r12*4]
	mov	esi, ebp
	mov	edx, 2
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	memset@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sal	r12, 2
	mov	r13d, 2
.L7:
	mov	esi, 8
	mov	rdi, rbp
	call	get_bits@PLT
	mov	esi, 8
	mov	rdi, rbp
	mov	DWORD PTR [rbx], eax
	call	get_bits@PLT
	mov	DWORD PTR 4[rbx], eax
	add	rbx, r12
	cmp	r13d, 1
	je	.L1
	mov	r13d, 1
	jmp	.L7
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decode2x2, .-decode2x2
	.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_jvdec.c_decode2x2.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode2x2, %function
decode2x2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L16
	sub	sp, sp, #20
	mov	r6, r1
	mov	r1, #2
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r7, r0
	bl	get_bits
	cmp	r0, #2
	mov	r4, r0
	beq	.L2
	cmp	r0, #3
	beq	.L3
	cmp	r0, #1
	beq	.L15
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r1, #8
	mov	r0, r7
	bl	get_bits
	mov	r3, r0
	mov	r1, #8
	mov	r0, r7
	str	r3, [sp, #4]
	bl	get_bits
	lsl	r5, r5, #2
	add	r6, r6, #4
	str	r0, [sp, #8]
.L6:
	mov	r0, r7
	bl	get_bits1
	add	r3, sp, #16
	add	r0, r3, r0, lsl #2
	ldr	r3, [r0, #-12]
	mov	r0, r7
	str	r3, [r6, #-4]
	bl	get_bits1
	add	r3, sp, #16
	add	r0, r3, r0, lsl #2
	ldr	r3, [r0, #-12]
	cmp	r4, #1
	str	r3, [r6], r5
	beq	.L1
	mov	r4, #1
	b	.L6
.L15:
	mov	r1, #8
	mov	r0, r7
	bl	get_bits
	mov	r2, #2
	mov	r1, r0
	mov	r4, r0
	mov	r0, r6
	bl	memset
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r1, r4
	mov	r2, #2
	add	r0, r6, r5, lsl #2
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	memset
.L3:
	add	r4, r6, #4
	mov	r6, #2
	lsl	r5, r5, #2
.L7:
	mov	r1, #8
	mov	r0, r7
	bl	get_bits
	mov	r1, #8
	str	r0, [r4, #-4]
	mov	r0, r7
	bl	get_bits
	cmp	r6, #1
	str	r0, [r4], r5
	beq	.L1
	mov	r6, #1
	b	.L7
.L13:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	decode2x2, .-decode2x2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
