	.file	"extr_smartpqi_cam.c_smartpqi_adjust_queue_depth.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"IN\n"
.LC1:
	.string	"XPT_REL_SIMQ failed stat=%d\n"
.LC2:
	.string	"OUT\n"
	.text
	.p2align 4
	.globl	smartpqi_adjust_queue_depth
	.type	smartpqi_adjust_queue_depth, @function
smartpqi_adjust_queue_depth:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	call	DBG_INFO@PLT
	mov	rsi, rbp
	mov	edx, 5
	mov	rdi, r12
	call	xpt_setup_ccb@PLT
	mov	eax, DWORD PTR XPT_REL_SIMQ[rip]
	mov	rdi, r12
	mov	DWORD PTR 16[rsp], ebx
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR CAM_DEV_QFREEZE[rip]
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR RELSIM_ADJUST_OPENINGS[rip]
	mov	DWORD PTR 20[rsp], eax
	call	xpt_action@PLT
	mov	rsi, QWORD PTR [rsp]
	cmp	rsi, QWORD PTR CAM_REQ_CMP[rip]
	je	.L2
	lea	rdi, .LC1[rip]
	call	printf@PLT
.L2:
	lea	rdi, .LC2[rip]
	call	DBG_INFO@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	smartpqi_adjust_queue_depth, .-smartpqi_adjust_queue_depth
	.comm	XPT_REL_SIMQ,4,4
	.comm	RELSIM_ADJUST_OPENINGS,4,4
	.comm	CAM_REQ_CMP,8,8
	.comm	CAM_DEV_QFREEZE,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_smartpqi_cam.c_smartpqi_adjust_queue_depth.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IN\012\000"
	.align	2
.LC1:
	.ascii	"XPT_REL_SIMQ failed stat=%d\012\000"
	.align	2
.LC2:
	.ascii	"OUT\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	smartpqi_adjust_queue_depth
	.syntax unified
	.arm
	.fpu softvfp
	.type	smartpqi_adjust_queue_depth, %function
smartpqi_adjust_queue_depth:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r3, .L7
	sub	sp, sp, #28
	ldr	r0, .L7+4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	DBG_INFO
	mov	r1, r5
	mov	r2, #5
	mov	r0, sp
	bl	xpt_setup_ccb
	ldr	r1, .L7+8
	ldr	r2, .L7+12
	ldr	r3, .L7+16
	ldr	r1, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r0, sp
	str	r1, [sp, #8]
	str	r3, [sp, #16]
	str	r4, [sp, #12]
	str	r2, [sp, #4]
	bl	xpt_action
	ldr	r3, .L7+20
	ldr	r1, [sp]
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L2
	ldr	r0, .L7+24
	bl	printf
.L2:
	ldr	r0, .L7+28
	bl	DBG_INFO
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC3
	.word	.LC0
	.word	XPT_REL_SIMQ
	.word	CAM_DEV_QFREEZE
	.word	RELSIM_ADJUST_OPENINGS
	.word	CAM_REQ_CMP
	.word	.LC1
	.word	.LC2
	.size	smartpqi_adjust_queue_depth, .-smartpqi_adjust_queue_depth
	.comm	XPT_REL_SIMQ,4,4
	.comm	RELSIM_ADJUST_OPENINGS,4,4
	.comm	CAM_REQ_CMP,4,4
	.comm	CAM_DEV_QFREEZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
