	.file	"extr_ql4_nx.c_qla4_82xx_decode_crb_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qla4_82xx_decode_crb_addr, @function
qla4_82xx_decode_crb_addr:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR qla4_8xxx_crb_table_initialized[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	test	eax, eax
	je	.L12
.L2:
	mov	eax, DWORD PTR MAX_CRB_XFORM[rip]
	mov	rcx, rbx
	mov	r9, QWORD PTR ADDR_ERROR[rip]
	and	ecx, 4293918720
	test	eax, eax
	jle	.L1
	lea	r8d, -1[rax]
	mov	rsi, QWORD PTR crb_addr_xform[rip]
	xor	eax, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rdx, 1[rax]
	cmp	rax, r8
	je	.L1
	mov	rax, rdx
.L6:
	mov	edx, eax
	cmp	QWORD PTR [rsi+rax*8], rcx
	jne	.L4
	sal	edx, 20
	movsx	rdx, edx
	cmp	r9, rdx
	je	.L1
	and	ebx, 1048575
	lea	r9, [rbx+rdx]
.L1:
	mov	rax, r9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	xor	eax, eax
	call	qla4_82xx_crb_addr_transform_setup@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	qla4_82xx_decode_crb_addr, .-qla4_82xx_decode_crb_addr
	.comm	qla4_8xxx_crb_table_initialized,4,4
	.comm	crb_addr_xform,8,8
	.comm	MAX_CRB_XFORM,4,4
	.comm	ADDR_ERROR,8,8
	.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_ql4_nx.c_qla4_82xx_decode_crb_addr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qla4_82xx_decode_crb_addr, %function
qla4_82xx_decode_crb_addr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	push	{r4, lr}
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r3, #0
	beq	.L14
.L2:
	ldr	r2, .L15+4
	ldr	r3, .L15+8
	ldr	lr, [r2]
	lsr	ip, r4, #20
	cmp	lr, #0
	ldr	r0, [r3]
	lsl	ip, ip, #20
	pople	{r4, pc}
	ldr	r2, .L15+12
	mov	r3, #0
	ldr	r2, [r2]
	sub	r2, r2, #4
	b	.L6
.L4:
	add	r3, r3, #1
	cmp	r3, lr
	popeq	{r4, pc}
.L6:
	ldr	r1, [r2, #4]!
	cmp	r1, ip
	bne	.L4
	cmp	r0, r3, lsl #20
	lsl	r3, r3, #20
	popeq	{r4, pc}
	bic	r4, r4, #-16777216
	bic	r4, r4, #15728640
	add	r0, r4, r3
	pop	{r4, pc}
.L14:
	bl	qla4_82xx_crb_addr_transform_setup
	b	.L2
.L16:
	.align	2
.L15:
	.word	qla4_8xxx_crb_table_initialized
	.word	MAX_CRB_XFORM
	.word	ADDR_ERROR
	.word	crb_addr_xform
	.size	qla4_82xx_decode_crb_addr, .-qla4_82xx_decode_crb_addr
	.comm	qla4_8xxx_crb_table_initialized,4,4
	.comm	crb_addr_xform,4,4
	.comm	MAX_CRB_XFORM,4,4
	.comm	ADDR_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
