	.file	"extr_bfa_fcpim.c_bfa_ioim_sm_uninit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfa_ioim_sm_uninit, @function
bfa_ioim_sm_uninit:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	esi, 129
	je	.L2
	cmp	esi, 130
	je	.L3
	cmp	esi, 128
	je	.L14
	mov	edi, DWORD PTR [rdi]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	bfa_sm_fault@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR bfa_ioim_sm_hcb[rip]
	call	bfa_sm_set_state@PLT
	mov	rdi, rbp
	call	bfa_ioim_move_to_comp_q@PLT
.L10:
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR __bfa_cb_ioim_pathtov[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rcx, rbp
	lea	rsi, 4[rbp]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	bfa_cb_queue@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rdi]
	call	bfa_itnim_is_online@PLT
	test	eax, eax
	je	.L15
	mov	eax, DWORD PTR BFI_SGE_INLINE[rip]
	cmp	DWORD PTR 16[rbp], eax
	jle	.L7
	mov	rdi, rbp
	call	bfa_ioim_sgpg_alloc@PLT
	mov	esi, DWORD PTR bfa_ioim_sm_sgalloc[rip]
	test	eax, eax
	je	.L12
.L7:
	mov	rdi, rbp
	call	bfa_ioim_send_ioreq@PLT
	mov	esi, DWORD PTR bfa_ioim_sm_active[rip]
	test	eax, eax
	jne	.L12
	mov	esi, DWORD PTR bfa_ioim_sm_qfull[rip]
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	bfa_sm_set_state@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR bfa_ioim_sm_hcb[rip]
	call	bfa_sm_set_state@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	rsi, rbp
	call	bfa_q_is_on_q@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	WARN_ON@PLT
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, 4[rbp]
	mov	rcx, rbp
	mov	edx, DWORD PTR __bfa_cb_ioim_abort[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	bfa_cb_queue@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	lea	r12, 20[rbp]
	call	bfa_itnim_hold_io@PLT
	test	eax, eax
	jne	.L6
	mov	esi, DWORD PTR bfa_ioim_sm_hcb[rip]
	mov	rdi, rbp
	call	bfa_sm_set_state@PLT
	mov	rdi, r12
	call	list_del@PLT
	mov	rsi, QWORD PTR 24[rbp]
	mov	rdi, r12
	call	list_add_tail@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, r12
	call	list_del@PLT
	mov	rsi, QWORD PTR 8[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	list_add_tail@PLT
	.cfi_endproc
.LFE0:
	.size	bfa_ioim_sm_uninit, .-bfa_ioim_sm_uninit
	.comm	bfa_ioim_sm_sgalloc,4,4
	.comm	bfa_ioim_sm_qfull,4,4
	.comm	bfa_ioim_sm_hcb,4,4
	.comm	bfa_ioim_sm_active,4,4
	.comm	__bfa_cb_ioim_pathtov,4,4
	.comm	__bfa_cb_ioim_abort,4,4
	.comm	BFI_SGE_INLINE,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_fcpim.c_bfa_ioim_sm_uninit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_ioim_sm_uninit, %function
bfa_ioim_sm_uninit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #129
	push	{r4, r5, r6, lr}
	mov	r4, r0
	beq	.L2
	cmp	r1, #130
	beq	.L3
	cmp	r1, #128
	beq	.L13
	pop	{r4, r5, r6, lr}
	ldr	r0, [r0]
	b	bfa_sm_fault
.L2:
	ldr	r3, .L16
	ldr	r1, [r3]
	bl	bfa_sm_set_state
	mov	r0, r4
	bl	bfa_ioim_move_to_comp_q
.L10:
	mov	r1, r4
	ldr	r2, .L16+4
.L11:
	mov	r3, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r1], #4
	ldr	r2, [r2]
	b	bfa_cb_queue
.L13:
	ldr	r0, [r0, #8]
	bl	bfa_itnim_is_online
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L16+8
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L7
	mov	r0, r4
	bl	bfa_ioim_sgpg_alloc
	cmp	r0, #0
	beq	.L15
.L7:
	mov	r0, r4
	bl	bfa_ioim_send_ioreq
	cmp	r0, #0
	bne	.L8
	ldr	r3, .L16+12
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	bfa_sm_set_state
.L3:
	ldr	r3, .L16
	ldr	r1, [r3]
	bl	bfa_sm_set_state
	mov	r1, r4
	ldr	r0, [r4, #8]
	bl	bfa_q_is_on_q
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	mov	r1, r4
	ldr	r2, .L16+16
	b	.L11
.L14:
	ldr	r0, [r4, #8]
	bl	bfa_itnim_hold_io
	cmp	r0, #0
	add	r5, r4, #16
	bne	.L6
	ldr	r3, .L16
	mov	r0, r4
	ldr	r1, [r3]
	bl	bfa_sm_set_state
	mov	r0, r5
	bl	list_del
	mov	r0, r5
	ldr	r1, [r4, #20]
	bl	list_add_tail
	b	.L10
.L8:
	ldr	r3, .L16+20
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	bfa_sm_set_state
.L6:
	mov	r0, r5
	bl	list_del
	mov	r0, r5
	ldr	r1, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	list_add_tail
.L15:
	ldr	r3, .L16+24
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	bfa_sm_set_state
.L17:
	.align	2
.L16:
	.word	bfa_ioim_sm_hcb
	.word	__bfa_cb_ioim_pathtov
	.word	BFI_SGE_INLINE
	.word	bfa_ioim_sm_qfull
	.word	__bfa_cb_ioim_abort
	.word	bfa_ioim_sm_active
	.word	bfa_ioim_sm_sgalloc
	.size	bfa_ioim_sm_uninit, .-bfa_ioim_sm_uninit
	.comm	bfa_ioim_sm_sgalloc,4,4
	.comm	bfa_ioim_sm_qfull,4,4
	.comm	bfa_ioim_sm_hcb,4,4
	.comm	bfa_ioim_sm_active,4,4
	.comm	__bfa_cb_ioim_pathtov,4,4
	.comm	__bfa_cb_ioim_abort,4,4
	.comm	BFI_SGE_INLINE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
