	.file	"extr_bfa_ioc.c_bfa_flash_intr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfa_flash_intr, @function
bfa_flash_intr:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rsi, QWORD PTR [rsi]
	call	bfa_trc@PLT
	mov	eax, DWORD PTR 48[rbp]
	test	eax, eax
	jne	.L2
	cmp	QWORD PTR [rbx], 131
	jne	.L25
.L3:
	mov	edi, 131
	call	be32_to_cpu@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	r12, rax
	call	bfa_trc@PLT
	cmp	QWORD PTR BFA_STATUS_BAD_FWCFG[rip], r12
	je	.L26
	cmp	QWORD PTR BFA_STATUS_INVALID_VENDOR[rip], r12
	je	.L27
.L1:
	add	rsp, 8
	.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
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	add	rax, -128
	cmp	rax, 5
	ja	.L4
	lea	rdx, .L6[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L3-.L6
	.long	.L7-.L6
	.long	.L1-.L6
	.text
	.p2align 4,,10
	.p2align 3
.L25:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	mov	esi, 39321
	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
	jmp	bfa_trc@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, 128
	call	be32_to_cpu@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	rbx, rax
	call	bfa_trc@PLT
	cmp	QWORD PTR BFA_STATUS_OK[rip], rbx
	jne	.L21
	cmp	QWORD PTR 16[rbp], 0
	je	.L21
	mov	rsi, QWORD PTR 24[rbp]
	mov	rdi, rbp
	call	bfa_trc@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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
	jmp	bfa_flash_write_send@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, 129
	call	be32_to_cpu@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	r12, rax
	call	bfa_trc@PLT
	cmp	QWORD PTR BFA_STATUS_OK[rip], r12
	je	.L15
.L23:
	mov	QWORD PTR 8[rbp], r12
.L20:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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
	jmp	bfa_flash_cb@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, 130
	call	be32_to_cpu@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	r15, rax
	call	bfa_trc@PLT
	cmp	QWORD PTR BFA_STATUS_OK[rip], r15
	je	.L28
.L11:
	mov	QWORD PTR 8[rbp], r15
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, 132
	call	be32_to_cpu@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	rbx, rax
	call	bfa_trc@PLT
.L21:
	mov	QWORD PTR 8[rbp], rbx
	jmp	.L20
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edi, 1
	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
	jmp	WARN_ON@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	call	be32_to_cpu@PLT
	mov	rsi, QWORD PTR 24[rbp]
	mov	rdi, rbp
	mov	rbx, rax
	call	bfa_trc@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	bfa_trc@PLT
	mov	rsi, QWORD PTR 40[rbp]
	mov	rdi, QWORD PTR 24[rbp]
	mov	rdx, rbx
	add	rdi, QWORD PTR 0[rbp]
	call	memcpy@PLT
	mov	rax, QWORD PTR 16[rbp]
	add	QWORD PTR 24[rbp], rbx
	sub	rax, rbx
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	je	.L23
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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
	jmp	bfa_flash_read_send@PLT
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	r13, QWORD PTR 40[rbp]
	mov	r12, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 0[r13]
	call	be32_to_cpu@PLT
	mov	rdi, QWORD PTR 8[r13]
	mov	QWORD PTR [r12], rax
	call	be32_to_cpu@PLT
	mov	rsi, QWORD PTR [r12]
	mov	rdi, rbp
	mov	QWORD PTR 8[r12], rax
	call	bfa_trc@PLT
	mov	rsi, QWORD PTR 8[r12]
	mov	rdi, rbp
	call	bfa_trc@PLT
	cmp	QWORD PTR 8[r12], 0
	je	.L11
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR 16[r13]
	lea	rbx, [r14+r14*2]
	add	r14, 1
	sal	rbx, 4
	mov	rdi, QWORD PTR [rax+rbx]
	call	be32_to_cpu@PLT
	mov	rdx, QWORD PTR 16[r12]
	mov	QWORD PTR [rdx+rbx], rax
	mov	rax, QWORD PTR 16[r13]
	mov	rdi, QWORD PTR 8[rax+rbx]
	call	be32_to_cpu@PLT
	mov	rdx, QWORD PTR 16[r12]
	mov	QWORD PTR 8[rdx+rbx], rax
	mov	rax, QWORD PTR 16[r13]
	mov	rdi, QWORD PTR 16[rax+rbx]
	call	be32_to_cpu@PLT
	mov	rdx, QWORD PTR 16[r12]
	mov	QWORD PTR 16[rdx+rbx], rax
	mov	rax, QWORD PTR 16[r13]
	mov	rdi, QWORD PTR 24[rax+rbx]
	call	be32_to_cpu@PLT
	mov	rdx, QWORD PTR 16[r12]
	mov	QWORD PTR 24[rdx+rbx], rax
	mov	rax, QWORD PTR 16[r13]
	mov	rdi, QWORD PTR 32[rax+rbx]
	call	be32_to_cpu@PLT
	mov	rdx, QWORD PTR 16[r12]
	mov	QWORD PTR 32[rdx+rbx], rax
	mov	rax, QWORD PTR 16[r13]
	mov	rdi, QWORD PTR 40[rax+rbx]
	call	be32_to_cpu@PLT
	mov	rdx, QWORD PTR 16[r12]
	mov	QWORD PTR 40[rdx+rbx], rax
	cmp	QWORD PTR 8[r12], r14
	ja	.L12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR 32[rbp]
	mov	esi, DWORD PTR BFA_IOC_AEN_FWCFG_ERROR[rip]
.L22:
	add	rsp, 8
	.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
	jmp	bfa_ioc_aen_post@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	call	be32_to_cpu@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	bfa_trc@PLT
	mov	edi, DWORD PTR 32[rbp]
	mov	esi, DWORD PTR BFA_IOC_AEN_INVALID_VENDOR[rip]
	jmp	.L22
	.cfi_endproc
.LFE0:
	.size	bfa_flash_intr, .-bfa_flash_intr
	.comm	BFA_STATUS_OK,8,8
	.comm	BFA_STATUS_INVALID_VENDOR,8,8
	.comm	BFA_STATUS_BAD_FWCFG,8,8
	.comm	BFA_IOC_AEN_INVALID_VENDOR,4,4
	.comm	BFA_IOC_AEN_FWCFG_ERROR,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_bfa_ioc.c_bfa_flash_intr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_flash_intr, %function
bfa_flash_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r1, [r1]
	bl	bfa_trc
	ldr	r3, [r4, #24]
	cmp	r3, #0
	ldr	r3, [r5]
	bne	.L2
	cmp	r3, #131
	bne	.L27
.L3:
	mov	r0, #131
	bl	be32_to_cpu
	mov	r6, r0
	mov	r0, r4
	mov	r1, r6
	bl	bfa_trc
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L28
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, r6
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r0, [r5, #4]
	bl	be32_to_cpu
	mov	r1, r0
	mov	r0, r4
	bl	bfa_trc
	ldr	r3, .L30+8
	ldr	r0, [r4, #16]
	ldr	r1, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_ioc_aen_post
.L2:
	sub	r3, r3, #128
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L3
	.word	.L7
	.word	.L1
.L27:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, .L30+12
	b	bfa_trc
.L1:
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r0, #128
	bl	be32_to_cpu
	mov	r5, r0
	mov	r0, r4
	mov	r1, r5
	bl	bfa_trc
	ldr	r3, .L30+16
	ldr	r3, [r3]
	cmp	r3, r5
	bne	.L13
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L14
.L13:
	mov	r0, r4
	str	r5, [r4, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_flash_cb
.L9:
	mov	r0, #129
	bl	be32_to_cpu
	mov	r6, r0
	mov	r0, r4
	mov	r1, r6
	bl	bfa_trc
	ldr	r3, .L30+16
	ldr	r7, [r3]
	cmp	r7, r6
	beq	.L15
	mov	r0, r4
	str	r6, [r4, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_flash_cb
.L8:
	mov	r0, #130
	bl	be32_to_cpu
	mov	r8, r0
	mov	r0, r4
	mov	r1, r8
	bl	bfa_trc
	ldr	r3, .L30+16
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L29
.L11:
	mov	r0, r4
	str	r8, [r4, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_flash_cb
.L7:
	mov	r0, #132
	bl	be32_to_cpu
	mov	r5, r0
	mov	r0, r4
	mov	r1, r5
	bl	bfa_trc
	mov	r0, r4
	str	r5, [r4, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_flash_cb
.L14:
	mov	r0, r4
	ldr	r1, [r4, #12]
	bl	bfa_trc
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_flash_write_send
.L15:
	ldr	r0, [r5, #4]
	bl	be32_to_cpu
	mov	r5, r0
	ldr	r1, [r4, #12]
	mov	r0, r4
	bl	bfa_trc
	mov	r1, r5
	mov	r0, r4
	bl	bfa_trc
	ldr	r3, [r4, #12]
	ldr	r0, [r4]
	mov	r2, r5
	add	r0, r0, r3
	ldr	r1, [r4, #20]
	bl	memcpy
	ldr	r3, [r4, #8]
	ldr	r2, [r4, #12]
	sub	r3, r3, r5
	add	r2, r2, r5
	cmp	r3, #0
	str	r3, [r4, #8]
	str	r2, [r4, #12]
	bne	.L16
	mov	r0, r4
	str	r7, [r4, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_flash_cb
.L29:
	ldr	r7, [r4, #20]
	ldr	r6, [r4]
	ldr	r0, [r7]
	bl	be32_to_cpu
	mov	r3, r0
	ldr	r0, [r7, #4]
	str	r3, [r6]
	bl	be32_to_cpu
	ldr	r1, [r6]
	str	r0, [r6, #4]
	mov	r0, r4
	bl	bfa_trc
	mov	r0, r4
	ldr	r1, [r6, #4]
	bl	bfa_trc
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L11
	mov	r5, #0
	mov	r9, r5
.L12:
	ldr	r3, [r7, #8]
	add	r9, r9, #1
	ldr	r0, [r3, r5]
	bl	be32_to_cpu
	ldr	r3, [r7, #8]
	ldr	r2, [r6, #8]
	add	r3, r3, r5
	str	r0, [r2, r5]
	ldr	r0, [r3, #4]
	bl	be32_to_cpu
	ldr	r2, [r6, #8]
	ldr	r3, [r7, #8]
	add	r2, r2, r5
	add	r3, r3, r5
	str	r0, [r2, #4]
	ldr	r0, [r3, #8]
	bl	be32_to_cpu
	ldr	r2, [r6, #8]
	ldr	r3, [r7, #8]
	add	r2, r2, r5
	add	r3, r3, r5
	str	r0, [r2, #8]
	ldr	r0, [r3, #12]
	bl	be32_to_cpu
	ldr	r2, [r6, #8]
	ldr	r3, [r7, #8]
	add	r2, r2, r5
	add	r3, r3, r5
	str	r0, [r2, #12]
	ldr	r0, [r3, #16]
	bl	be32_to_cpu
	ldr	r2, [r6, #8]
	ldr	r3, [r7, #8]
	add	r2, r2, r5
	add	r3, r3, r5
	str	r0, [r2, #16]
	ldr	r0, [r3, #20]
	bl	be32_to_cpu
	ldmib	r6, {r2, r3}
	add	r3, r3, r5
	cmp	r2, r9
	str	r0, [r3, #20]
	add	r5, r5, #24
	bhi	.L12
	b	.L11
.L28:
	ldr	r3, .L30+20
	ldr	r0, [r4, #16]
	ldr	r1, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_ioc_aen_post
.L16:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	bfa_flash_read_send
.L4:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	WARN_ON
.L31:
	.align	2
.L30:
	.word	BFA_STATUS_BAD_FWCFG
	.word	BFA_STATUS_INVALID_VENDOR
	.word	BFA_IOC_AEN_INVALID_VENDOR
	.word	39321
	.word	BFA_STATUS_OK
	.word	BFA_IOC_AEN_FWCFG_ERROR
	.size	bfa_flash_intr, .-bfa_flash_intr
	.comm	BFA_STATUS_OK,4,4
	.comm	BFA_STATUS_INVALID_VENDOR,4,4
	.comm	BFA_STATUS_BAD_FWCFG,4,4
	.comm	BFA_IOC_AEN_INVALID_VENDOR,4,4
	.comm	BFA_IOC_AEN_FWCFG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
