	.file	"extr_fas216.c_fas216_noqueue_command_lck.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fas216_noqueue_command_lck, @function
fas216_noqueue_command_lck:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax]
	mov	rbx, QWORD PTR [rax]
	mov	rdi, rbx
	call	fas216_checkmagic@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	BUG_ON@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	esi, DWORD PTR fas216_internal_done[rip]
	mov	rdi, rbp
	call	fas216_queue_command_lck@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	spin_unlock_irq@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR REG_STAT[rip]
	mov	rdi, rbx
	call	fas216_readb@PLT
	test	DWORD PTR STAT_INT[rip], eax
	jne	.L9
.L3:
	cmp	QWORD PTR 8[rbx], 0
	je	.L4
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	spin_lock_irq@PLT
	mov	rdi, rbp
	call	r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	spin_lock_irq@PLT
	mov	rdi, rbx
	call	fas216_intr@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	spin_unlock_irq@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	fas216_noqueue_command_lck, .-fas216_noqueue_command_lck
	.comm	fas216_internal_done,4,4
	.comm	STAT_INT,4,4
	.comm	REG_STAT,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_fas216.c_fas216_noqueue_command_lck.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fas216_noqueue_command_lck, %function
fas216_noqueue_command_lck:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	mov	r7, r0
	ldr	r4, [r3]
	mov	r8, r1
	mov	r0, r4
	bl	fas216_checkmagic
	ldr	r0, [r4, #8]
	bl	BUG_ON
	mov	r2, #0
	ldr	r3, .L10
	mov	r0, r7
	ldr	r1, [r3]
	str	r2, [r4, #4]
	bl	fas216_queue_command_lck
	ldr	r3, [r4]
	ldr	r6, .L10+4
	ldr	r0, [r3]
	ldr	r5, .L10+8
	bl	spin_unlock_irq
	b	.L3
.L4:
	mov	r0, r4
	ldr	r1, [r6]
	bl	fas216_readb
	ldr	r3, [r5]
	tst	r0, r3
	bne	.L9
.L3:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r4]
	ldr	r0, [r3]
	bl	spin_lock_irq
	mov	r0, r7
	blx	r8
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, [r4]
	ldr	r0, [r3]
	bl	spin_lock_irq
	mov	r0, r4
	bl	fas216_intr
	ldr	r3, [r4]
	ldr	r0, [r3]
	bl	spin_unlock_irq
	b	.L3
.L11:
	.align	2
.L10:
	.word	fas216_internal_done
	.word	REG_STAT
	.word	STAT_INT
	.size	fas216_noqueue_command_lck, .-fas216_noqueue_command_lck
	.comm	fas216_internal_done,4,4
	.comm	STAT_INT,4,4
	.comm	REG_STAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
