	.file	"extr_ocs_hw.c_ocs_hw_wq_process.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"reque xri failed, status = %d \n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"invalid request tag: x%x\n"
.LC2:
	.string	"wqcb callback is NULL\n"
	.text
	.p2align 4
	.globl	ocs_hw_wq_process
	.type	ocs_hw_wq_process, @function
ocs_hw_wq_process:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	add	rdi, 4
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rsi]
	mov	esi, DWORD PTR [rax]
	mov	ecx, DWORD PTR 4[rax]
	mov	r8d, DWORD PTR 8[rax]
	lea	edx, -1[rcx]
	lea	r9d, -1[rsi]
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR SLI_QENTRY_WQ[rip]
	and	r9d, edx
	mov	rdx, rbp
	call	ocs_queue_history_cqe@PLT
	cmp	QWORD PTR OCS_HW_REQUE_XRI_REGTAG[rip], r12
	je	.L8
	mov	rsi, r12
	mov	rdi, rbx
	call	ocs_hw_reqtag_get_instance@PLT
	test	rax, rax
	je	.L9
	mov	rcx, QWORD PTR 8[rax]
	test	rcx, rcx
	je	.L10
	mov	edi, DWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r13d
	mov	rsi, rbp
	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	rcx
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	test	r13d, r13d
	jne	.L11
	add	rsp, 8
	.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
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ocs_log_err@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	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	ocs_log_err@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	lea	rsi, .LC2[rip]
	xor	eax, eax
	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	ocs_log_err@PLT
	.cfi_endproc
.LFE0:
	.size	ocs_hw_wq_process, .-ocs_hw_wq_process
	.comm	SLI_QENTRY_WQ,4,4
	.comm	OCS_HW_REQUE_XRI_REGTAG,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_ocs_hw.c_ocs_hw_wq_process.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reque xri failed, status = %d \012\000"
	.align	2
.LC1:
	.ascii	"invalid request tag: x%x\012\000"
	.align	2
.LC2:
	.ascii	"wqcb callback is NULL\012\000"
	.text
	.align	2
	.global	ocs_hw_wq_process
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_hw_wq_process, %function
ocs_hw_wq_process:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r1, [r1]
	mov	r7, r3
	ldr	r0, [r1, #4]
	ldr	r3, [r1]
	sub	r0, r0, #1
	sub	r3, r3, #1
	sub	sp, sp, #12
	and	r3, r3, r0
	str	r3, [sp, #4]
	ldr	r3, [r1, #8]
	ldr	lr, .L13
	str	r3, [sp]
	ldr	r3, [r2]
	ldr	r1, [lr]
	add	r0, r4, #4
	ldr	r6, [sp, #32]
	mov	r5, r2
	bl	ocs_queue_history_cqe
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L9
	mov	r1, r6
	mov	r0, r4
	bl	ocs_hw_reqtag_get_instance
	cmp	r0, #0
	beq	.L10
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L11
	mov	r2, r7
	mov	r1, r5
	ldr	r0, [r0]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	bx	r3
.L9:
	cmp	r7, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	mov	r2, r7
	ldr	r0, [r4]
	ldr	r1, .L13+8
.L7:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	ocs_log_err
.L10:
	mov	r2, r6
	ldr	r0, [r4]
	ldr	r1, .L13+12
	b	.L7
.L11:
	ldr	r0, [r4]
	ldr	r1, .L13+16
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	ocs_log_err
.L14:
	.align	2
.L13:
	.word	SLI_QENTRY_WQ
	.word	OCS_HW_REQUE_XRI_REGTAG
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	ocs_hw_wq_process, .-ocs_hw_wq_process
	.comm	SLI_QENTRY_WQ,4,4
	.comm	OCS_HW_REQUE_XRI_REGTAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
