	.file	"extr_cptvf_reqmanager.c_process_request.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to allocate memory for info_buffer\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Setting up SG list failed"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Unable to allocate memory for completion_addr\n"
	.section	.rodata.str1.1
.LC3:
	.string	"mapping compptr Failed %lu\n"
.LC4:
	.string	"pending threshold reached\n"
.LC5:
	.string	"Get free entry failed\n"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"queue: %d, rear: %d, front: %d\n"
	.section	.rodata.str1.1
.LC7:
	.string	"Send command failed for AE\n"
.LC8:
	.string	"Failed to submit CPT command\n"
	.text
	.p2align 4
	.globl	process_request
	.type	process_request, @function
process_request:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	r14, QWORD PTR 16[rdi]
	mov	edi, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	call	kzalloc@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbp, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L22
	mov	QWORD PTR 56[rbp], r12
	mov	rdx, rbx
	mov	rsi, rbp
	mov	rdi, r12
	call	setup_sgio_list@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L23
	mov	eax, DWORD PTR 48[rbp]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 4
	mov	DWORD PTR 12[rbx], eax
	call	kzalloc@PLT
	xor	edi, edi
	mov	QWORD PTR 32[rbp], rax
	test	rax, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L24
	mov	rsi, QWORD PTR 32[rbp]
	mov	eax, DWORD PTR COMPLETION_CODE_INIT[rip]
	mov	rdi, r14
	mov	edx, 4
	mov	DWORD PTR [rsi], eax
	mov	ecx, DWORD PTR DMA_BIDIRECTIONAL[rip]
	call	dma_map_single@PLT
	mov	rdi, r14
	mov	QWORD PTR 0[rbp], rax
	mov	rsi, rax
	call	dma_mapping_error@PLT
	test	rax, rax
	jne	.L25
	mov	edi, DWORD PTR 24[rbx]
	call	cpu_to_be16@PLT
	mov	edi, DWORD PTR 20[rbx]
	call	cpu_to_be16@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	cpu_to_be16@PLT
	mov	edi, DWORD PTR 12[rbx]
	call	cpu_to_be16@PLT
	xor	edi, edi
	call	cpu_to_be64@PLT
	mov	r15, QWORD PTR 8[r12]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 40[rbp]
	mov	QWORD PTR 24[rsp], rax
	lea	rax, 4[r15]
	mov	rdi, rax
	mov	QWORD PTR 16[rsp], rax
	call	atomic64_read@PLT
	cmp	rax, QWORD PTR PENDING_THOLD[rip]
	jg	.L26
.L8:
	mov	rdi, r15
	call	spin_lock_bh@PLT
	mov	esi, DWORD PTR [r12]
	mov	rdi, r15
	call	get_free_pending_entry@PLT
	test	rax, rax
	mov	QWORD PTR [rsp], rax
	sete	dil
	movzx	edi, dil
	call	unlikely@PLT
	mov	rdx, QWORD PTR [rsp]
	test	rax, rax
	je	.L9
	mov	rdi, r15
	call	spin_unlock_bh@PLT
	xor	edx, edx
	mov	rsi, r12
	mov	rdi, r12
	call	process_pending_queue@PLT
	mov	rdi, r15
	call	spin_lock_bh@PLT
	mov	esi, DWORD PTR [r12]
	mov	rdi, r15
	call	get_free_pending_entry@PLT
	test	rax, rax
	mov	QWORD PTR [rsp], rax
	sete	dil
	movzx	edi, dil
	call	unlikely@PLT
	mov	rdx, QWORD PTR [rsp]
	test	rax, rax
	je	.L9
	mov	rdi, r15
	call	spin_unlock_bh@PLT
	lea	rsi, .LC5[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
	mov	ecx, DWORD PTR 12[r15]
	mov	r8d, DWORD PTR 8[r15]
	xor	edx, edx
	lea	rsi, .LC6[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
	mov	r13d, DWORD PTR EFAULT[rip]
	neg	r13d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
.L5:
	lea	rsi, .LC8[rip]
	mov	rdi, r14
	call	dev_dbg@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	do_request_cleanup@PLT
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L22:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edx, 4
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
	mov	r13d, DWORD PTR EFAULT[rip]
	neg	r13d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rdi, r14
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	dev_err@PLT
	xor	edx, edx
	mov	rsi, r12
	mov	rdi, r12
	call	process_pending_queue@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	QWORD PTR 16[rdx], rbp
	mov	QWORD PTR [rsp], rdx
	mov	QWORD PTR 24[rdx], rax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 8[rdx], eax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 4[rdx], eax
	mov	QWORD PTR 24[rbp], rdx
	mov	DWORD PTR [rdx], 1
	call	atomic64_inc@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	QWORD PTR 8[rbp], rbx
	mov	rdi, r12
	mov	eax, DWORD PTR jiffies[rip]
	lea	rsi, 32[rsp]
	mov	DWORD PTR 32[rsp], 1
	mov	QWORD PTR 24[rbp], rdx
	xor	edx, edx
	mov	DWORD PTR 16[rbp], eax
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 80[rsp], 0
	mov	QWORD PTR 88[rsp], rax
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 72[rsp], 0
	mov	QWORD PTR 56[rsp], rax
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR 64[rsp], 0
	mov	QWORD PTR 48[rsp], rax
	mov	QWORD PTR 40[rsp], 0
	call	send_cpt_command@PLT
	mov	rdi, r15
	mov	ebx, eax
	call	spin_unlock_bh@PLT
	mov	edi, ebx
	call	unlikely@PLT
	test	rax, rax
	je	.L1
	lea	rsi, .LC7[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
	mov	r13d, DWORD PTR EFAULT[rip]
	neg	r13d
	jmp	.L5
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	process_request, .-process_request
	.comm	jiffies,4,4
	.comm	PENDING_THOLD,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EFAULT,4,4
	.comm	DMA_BIDIRECTIONAL,4,4
	.comm	COMPLETION_CODE_INIT,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_cptvf_reqmanager.c_process_request.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to allocate memory for info_buffer\012\000"
	.align	2
.LC1:
	.ascii	"Setting up SG list failed\000"
	.align	2
.LC2:
	.ascii	"Unable to allocate memory for completion_addr\012\000"
	.align	2
.LC3:
	.ascii	"mapping compptr Failed %lu\012\000"
	.align	2
.LC4:
	.ascii	"pending threshold reached\012\000"
	.align	2
.LC5:
	.ascii	"Get free entry failed\012\000"
	.align	2
.LC6:
	.ascii	"queue: %d, rear: %d, front: %d\012\000"
	.align	2
.LC7:
	.ascii	"Send command failed for AE\012\000"
	.align	2
.LC8:
	.ascii	"Failed to submit CPT command\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	process_request
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_request, %function
process_request:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	ldr	r9, .L28
	ldr	r3, .L28+4
	sub	sp, sp, #60
	mov	r6, r1
	mov	r0, #36
	ldr	r1, [r9]
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	ldr	r7, [r5, #8]
	bl	kzalloc
	mov	r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L22
	mov	r2, r6
	mov	r1, r4
	mov	r0, r5
	str	r5, [r4, #32]
	bl	setup_sgio_list
	subs	r8, r0, #0
	bne	.L23
	ldr	r3, [r4, #28]
	ldr	r1, [r9]
	str	r3, [r6, #12]
	mov	r0, #4
	bl	kzalloc
	mov	r3, r0
	clz	r0, r0
	str	r3, [r4, #16]
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L24
	ldr	r3, .L28+8
	ldr	r1, [r4, #16]
	ldr	r2, [r3]
	ldr	r3, .L28+12
	str	r2, [r1]
	ldr	r3, [r3]
	mov	r2, #4
	mov	r0, r7
	bl	dma_map_single
	mov	r1, r0
	mov	r0, r7
	str	r1, [r4]
	bl	dma_mapping_error
	subs	r8, r0, #0
	bne	.L25
	ldr	r0, [r6, #24]
	bl	cpu_to_be16
	ldr	r0, [r6, #20]
	bl	cpu_to_be16
	ldr	r0, [r6, #16]
	bl	cpu_to_be16
	ldr	r0, [r6, #12]
	bl	cpu_to_be16
	mov	r0, r8
	bl	cpu_to_be64
	ldr	r9, [r5, #4]
	ldr	r3, [r4, #20]
	add	r10, r9, #4
	str	r0, [sp, #8]
	mov	r0, r10
	ldr	fp, [r4, #24]
	str	r3, [sp, #12]
	bl	atomic64_read
	ldr	r2, .L28+16
	ldr	r2, [r2]
	cmp	r0, r2
	bgt	.L26
.L8:
	mov	r0, r9
	bl	spin_lock_bh
	ldr	r1, [r5]
	mov	r0, r9
	bl	get_free_pending_entry
	mov	r8, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L9
	mov	r0, r9
	bl	spin_unlock_bh
	mov	r2, #0
	mov	r1, r5
	mov	r0, r5
	bl	process_pending_queue
	mov	r0, r9
	bl	spin_lock_bh
	ldr	r1, [r5]
	mov	r0, r9
	bl	get_free_pending_entry
	mov	r8, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L9
	mov	r0, r9
	bl	spin_unlock_bh
	ldr	r1, .L28+20
	mov	r0, r7
	bl	dev_err
	ldr	r2, [r9, #8]
	ldr	r3, [r9, #12]
	mov	r0, r7
	str	r2, [sp]
	ldr	r1, .L28+24
	mov	r2, #0
	bl	dev_err
	ldr	r3, .L28+28
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L5
.L23:
	mov	r0, r7
	ldr	r1, .L28+32
	bl	dev_err
.L5:
	ldr	r1, .L28+36
	mov	r0, r7
	bl	dev_dbg
	mov	r1, r4
	mov	r0, r5
	bl	do_request_cleanup
.L1:
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	mov	r0, r8
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	mov	r0, r7
	ldr	r1, .L28+40
	bl	dev_err
	ldr	r3, .L28+44
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L1
.L25:
	mov	r2, #4
	mov	r0, r7
	ldr	r1, .L28+48
	bl	dev_err
	ldr	r3, .L28+28
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L5
.L24:
	mov	r0, r7
	ldr	r1, .L28+52
	bl	dev_err
	ldr	r3, .L28+44
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L5
.L26:
	mov	r0, r7
	ldr	r1, .L28+56
	bl	dev_err
	mov	r2, r8
	mov	r1, r5
	mov	r0, r5
	bl	process_pending_queue
	b	.L8
.L9:
	mov	r3, #1
	ldr	r2, [r6, #4]
	ldr	r1, [r4, #16]
	str	r2, [r8, #8]
	ldr	r2, [r6]
	str	r1, [r8, #16]
	str	r2, [r8, #4]
	str	r4, [r8, #12]
	mov	r0, r10
	str	r8, [r4, #12]
	str	r3, [r8]
	bl	atomic64_inc
	mov	r3, #1
	mov	r2, #0
	ldr	r1, .L28+60
	ldr	ip, [r4]
	ldr	r1, [r1]
	str	r3, [sp, #16]
	ldr	r3, [sp, #8]
	str	r6, [r4, #4]
	str	r1, [r4, #8]
	str	r8, [r4, #12]
	str	r3, [sp, #32]
	ldr	r3, [sp, #12]
	add	r1, sp, #16
	mov	r0, r5
	str	r2, [sp, #44]
	str	ip, [sp, #48]
	str	r2, [sp, #40]
	str	r2, [sp, #36]
	str	r2, [sp, #20]
	str	r3, [sp, #24]
	str	fp, [sp, #28]
	bl	send_cpt_command
	mov	r6, r0
	mov	r0, r9
	bl	spin_unlock_bh
	mov	r0, r6
	bl	unlikely
	subs	r8, r0, #0
	beq	.L1
	mov	r0, r7
	ldr	r1, .L28+64
	bl	dev_err
	ldr	r3, .L28+28
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L5
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	GFP_KERNEL
	.word	.LC9
	.word	COMPLETION_CODE_INIT
	.word	DMA_BIDIRECTIONAL
	.word	PENDING_THOLD
	.word	.LC5
	.word	.LC6
	.word	EFAULT
	.word	.LC1
	.word	.LC8
	.word	.LC0
	.word	ENOMEM
	.word	.LC3
	.word	.LC2
	.word	.LC4
	.word	jiffies
	.word	.LC7
	.size	process_request, .-process_request
	.comm	jiffies,4,4
	.comm	PENDING_THOLD,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EFAULT,4,4
	.comm	DMA_BIDIRECTIONAL,4,4
	.comm	COMPLETION_CODE_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
