	.file	"extr_libata-sff.c_sata_sff_hardreset.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"EXIT, class=%u\n"
	.text
	.p2align 4
	.globl	sata_sff_hardreset
	.type	sata_sff_hardreset, @function
sata_sff_hardreset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	add	rdi, 4
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	sata_ehc_deb_timing@PLT
	mov	rdx, r12
	lea	rcx, 4[rsp]
	mov	rdi, rbx
	mov	r8d, DWORD PTR ata_sff_check_ready[rip]
	mov	rsi, rax
	call	sata_link_hardreset@PLT
	mov	r12d, eax
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jne	.L2
	mov	esi, DWORD PTR 0[rbp]
.L3:
	lea	rdi, .LC0[rip]
	call	DPRINTK@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	esi, 1
	xor	edx, edx
	call	ata_sff_dev_classify@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	esi, eax
	jmp	.L3
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sata_sff_hardreset, .-sata_sff_hardreset
	.comm	ata_sff_check_ready,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-sff.c_sata_sff_hardreset.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EXIT, class=%u\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sata_sff_hardreset
	.syntax unified
	.arm
	.fpu softvfp
	.type	sata_sff_hardreset, %function
sata_sff_hardreset:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L8
	sub	sp, sp, #16
	mov	r4, r0
	add	r0, r0, #4
	mov	r6, r2
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	sata_ehc_deb_timing
	ldr	r3, .L8+4
	mov	r1, r0
	ldr	r3, [r3]
	mov	r2, r6
	str	r3, [sp]
	mov	r0, r4
	add	r3, sp, #8
	bl	sata_link_hardreset
	ldr	r3, [sp, #8]
	mov	r6, r0
	cmp	r3, #0
	bne	.L2
	ldr	r1, [r5]
.L3:
	ldr	r0, .L8+8
	bl	DPRINTK
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r1, #1
	mov	r2, #0
	ldr	r0, [r4]
	bl	ata_sff_dev_classify
	mov	r1, r0
	str	r0, [r5]
	b	.L3
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	ata_sff_check_ready
	.word	.LC0
	.size	sata_sff_hardreset, .-sata_sff_hardreset
	.comm	ata_sff_check_ready,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
