	.file	"extr_libata-core.c_ata_do_simple_cmd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ata_do_simple_cmd
	.type	ata_do_simple_cmd, @function
ata_do_simple_cmd:
.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
	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
	lea	r12, 12[rsp]
	mov	rsi, r12
	call	ata_tf_init@PLT
	mov	eax, DWORD PTR ATA_TFLAG_DEVICE[rip]
	xor	edx, edx
	xor	r9d, r9d
	or	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR ATA_PROT_NODATA[rip]
	xor	r8d, r8d
	mov	rsi, r12
	mov	DWORD PTR 20[rsp], ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	ecx, DWORD PTR DMA_NONE[rip]
	mov	rdi, rbp
	mov	DWORD PTR 20[rsp], eax
	push	0
	.cfi_def_cfa_offset 80
	call	ata_exec_internal@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	mov	rdx, QWORD PTR 24[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L5
	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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ata_do_simple_cmd, .-ata_do_simple_cmd
	.comm	DMA_NONE,4,4
	.comm	ATA_TFLAG_DEVICE,4,4
	.comm	ATA_PROT_NODATA,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_libata-core.c_ata_do_simple_cmd.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ata_do_simple_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	ata_do_simple_cmd, %function
ata_do_simple_cmd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L6
	sub	sp, sp, #36
	mov	r4, r1
	add	r1, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r5, r0
	bl	ata_tf_init
	mov	r2, #0
	ldr	r3, .L6+4
	ldr	ip, [sp, #20]
	ldr	r3, [r3]
	ldr	r1, .L6+8
	orr	ip, ip, r3
	ldr	r3, .L6+12
	ldr	lr, [r1]
	str	r2, [sp, #8]
	str	r2, [sp, #4]
	str	r2, [sp]
	ldr	r3, [r3]
	mov	r0, r5
	add	r1, sp, #16
	str	r4, [sp, #24]
	str	ip, [sp, #20]
	str	lr, [sp, #16]
	bl	ata_exec_internal
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	ATA_TFLAG_DEVICE
	.word	ATA_PROT_NODATA
	.word	DMA_NONE
	.size	ata_do_simple_cmd, .-ata_do_simple_cmd
	.comm	DMA_NONE,4,4
	.comm	ATA_TFLAG_DEVICE,4,4
	.comm	ATA_PROT_NODATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
