	.file	"extr_mv_sas.c_mvs_get_ncq_tag.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mvs_get_ncq_tag, @function
mvs_get_ncq_tag:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	xor	r8d, r8d
	test	rax, rax
	je	.L1
	mov	rdx, QWORD PTR 8[rax]
	cmp	rdx, QWORD PTR ATA_CMD_FPDMA_WRITE[rip]
	je	.L3
	cmp	rdx, QWORD PTR ATA_CMD_FPDMA_READ[rip]
	je	.L3
	cmp	rdx, QWORD PTR ATA_CMD_FPDMA_RECV[rip]
	je	.L3
	cmp	rdx, QWORD PTR ATA_CMD_FPDMA_SEND[rip]
	je	.L3
	cmp	rdx, QWORD PTR ATA_CMD_NCQ_NON_DATA[rip]
	je	.L3
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR [rax]
	mov	r8d, 1
	mov	DWORD PTR [rsi], eax
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	mvs_get_ncq_tag, .-mvs_get_ncq_tag
	.comm	ATA_CMD_NCQ_NON_DATA,8,8
	.comm	ATA_CMD_FPDMA_WRITE,8,8
	.comm	ATA_CMD_FPDMA_SEND,8,8
	.comm	ATA_CMD_FPDMA_RECV,8,8
	.comm	ATA_CMD_FPDMA_READ,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_mv_sas.c_mvs_get_ncq_tag.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mvs_get_ncq_tag, %function
mvs_get_ncq_tag:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r0, [r0]
	cmp	r0, #0
	bxeq	lr
	ldr	r2, .L7
	ldr	r3, [r0, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L3
	ldr	r2, .L7+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L3
	ldr	r2, .L7+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L3
	ldr	r2, .L7+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L3
	ldr	r2, .L7+16
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L3
	mov	r0, #0
	bx	lr
.L3:
	ldr	r3, [r0]
	mov	r0, #1
	str	r3, [r1]
	bx	lr
.L8:
	.align	2
.L7:
	.word	ATA_CMD_FPDMA_WRITE
	.word	ATA_CMD_FPDMA_READ
	.word	ATA_CMD_FPDMA_RECV
	.word	ATA_CMD_FPDMA_SEND
	.word	ATA_CMD_NCQ_NON_DATA
	.size	mvs_get_ncq_tag, .-mvs_get_ncq_tag
	.comm	ATA_CMD_NCQ_NON_DATA,4,4
	.comm	ATA_CMD_FPDMA_WRITE,4,4
	.comm	ATA_CMD_FPDMA_SEND,4,4
	.comm	ATA_CMD_FPDMA_RECV,4,4
	.comm	ATA_CMD_FPDMA_READ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
