	.file	"extr_i15_decmod.c_br_i15_decode_mod.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	br_i15_decode_mod
	.type	br_i15_decode_mod, @function
br_i15_decode_mod:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r11, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	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	eax, DWORD PTR [rcx]
	mov	QWORD PTR 8[rsp], rdi
	lea	r9d, 15[rax]
	mov	QWORD PTR 16[rsp], rcx
	sar	r9d, 4
	mov	DWORD PTR 24[rsp], eax
	movsx	r9, r9d
	lea	r15, [r9+r9]
	cmp	r15, rdx
	cmovb	r15, rdx
	xor	r8d, r8d
	xor	r10d, r10d
	add	r15, 4
.L2:
	test	r15, r15
	je	.L10
	xor	ebp, ebp
	xor	r12d, r12d
	mov	r13d, 1
	xor	ebx, ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	sub	ebp, 7
	mov	ecx, 8
	mov	edi, r12d
	sub	ecx, ebp
	and	edi, 32767
	sar	edx, cl
	mov	r12d, edx
	cmp	r9, r13
	jb	.L5
	test	r10d, r10d
	je	.L6
	mov	rax, QWORD PTR 8[rsp]
	and	edi, r8d
	mov	DWORD PTR [rax+r13*4], edi
.L7:
	add	rbx, 1
	add	r13, 1
	cmp	r15, rbx
	je	.L10
.L8:
	xor	edx, edx
	cmp	r14, rbx
	jbe	.L3
	mov	rax, rbx
	lea	rdx, [r11+r14]
	mov	ecx, ebp
	neg	rax
	movzx	edx, BYTE PTR -1[rdx+rax]
	mov	eax, edx
	sal	eax, cl
	or	r12d, eax
.L3:
	lea	eax, 8[rbp]
	cmp	eax, 14
	jg	.L17
	add	rbx, 1
	mov	ebp, eax
	cmp	r15, rbx
	jne	.L8
.L10:
	mov	edx, r8d
	and	r8d, -2
	sar	edx
	or	r8d, edx
	cmp	r10d, 1
	je	.L9
	mov	r10d, 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	test	r10d, r10d
	jne	.L7
	xor	esi, esi
	mov	QWORD PTR 48[rsp], r11
	mov	DWORD PTR 40[rsp], r10d
	mov	QWORD PTR 32[rsp], r9
	mov	DWORD PTR 24[rsp], r8d
	call	EQ@PLT
	mov	r8d, DWORD PTR 24[rsp]
	mov	edx, 1
	mov	edi, eax
	mov	esi, r8d
	call	MUX@PLT
	mov	r11, QWORD PTR 48[rsp]
	mov	r10d, DWORD PTR 40[rsp]
	mov	r9, QWORD PTR 32[rsp]
	mov	r8d, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rsi], eax
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 48
	and	eax, 1
	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
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR 56[rsp], r11
	mov	DWORD PTR 48[rsp], r10d
	mov	esi, DWORD PTR [rax+r13*4]
	mov	QWORD PTR 40[rsp], r9
	mov	DWORD PTR 32[rsp], r8d
	call	CMP@PLT
	xor	esi, esi
	mov	edi, eax
	mov	QWORD PTR 24[rsp], rax
	call	EQ@PLT
	mov	r8d, DWORD PTR 32[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	mov	edi, eax
	mov	esi, r8d
	call	MUX@PLT
	mov	r9, QWORD PTR 40[rsp]
	mov	r10d, DWORD PTR 48[rsp]
	mov	r11, QWORD PTR 56[rsp]
	mov	r8d, eax
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	br_i15_decode_mod, .-br_i15_decode_mod
	.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_i15_decmod.c_br_i15_decode_mod.c"
	.text
	.align	2
	.global	br_i15_decode_mod
	.syntax unified
	.arm
	.fpu softvfp
	.type	br_i15_decode_mod, %function
br_i15_decode_mod:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, #0
	sub	sp, sp, #36
	str	r3, [sp, #12]
	ldr	r3, [r3]
	mov	r9, r2
	add	r3, r3, #15
	asr	r3, r3, #4
	lsl	r8, r3, #1
	cmp	r8, r2
	movcc	r8, r2
	mov	fp, r10
	str	r3, [sp, #4]
	sub	r3, r2, #1
	str	r0, [sp, #8]
	str	r1, [sp, #16]
	add	r8, r8, #4
	str	r3, [sp, #20]
.L2:
	cmp	r8, #0
	beq	.L10
	mov	r5, #0
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #20]
	mov	r7, #1
	mov	r6, r5
	mov	r4, r5
	add	r3, r3, r2
	b	.L8
.L17:
	cmp	fp, #0
	beq	.L6
	ldr	r2, [sp, #8]
	and	r0, r0, r10
	str	r0, [r2, r7, lsl #2]
.L7:
	add	r7, r7, #1
.L4:
	add	r4, r4, #1
	cmp	r8, r4
	beq	.L10
.L8:
	cmp	r9, r4
	rsbhi	r2, r4, #0
	ldrbhi	r1, [r3, r2]	@ zero_extendqisi2
	add	r2, r5, #8
	orrhi	r6, r6, r1, lsl r5
	movls	r1, #0
	cmp	r2, #14
	movle	r5, r2
	ble	.L4
	ldr	r2, [sp, #4]
	sub	r5, r5, #7
	lsl	r0, r6, #17
	cmp	r2, r7
	rsb	r2, r5, #8
	lsr	r0, r0, #17
	asr	r6, r1, r2
	bcs	.L17
	cmp	fp, #0
	bne	.L7
	mov	r1, fp
	str	r3, [sp, #24]
	bl	EQ
	mov	r1, r10
	mov	r2, #1
	bl	MUX
	ldr	r3, [sp, #24]
	mov	r10, r0
	b	.L7
.L10:
	bic	r3, r10, #1
	cmp	fp, #1
	orr	r10, r3, r10, asr #1
	movne	fp, #1
	bne	.L2
.L9:
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #8]
	ldr	r3, [r3]
	and	r0, r10, #1
	str	r3, [r2]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	str	r3, [sp, #28]
	ldr	r3, [sp, #12]
	ldr	r1, [r3, r7, lsl #2]
	bl	CMP
	mov	r1, fp
	str	r0, [sp, #24]
	bl	EQ
	mov	r1, r10
	ldr	r2, [sp, #24]
	bl	MUX
	ldr	r3, [sp, #28]
	mov	r10, r0
	b	.L7
	.size	br_i15_decode_mod, .-br_i15_decode_mod
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
