	.file	"extr_libata-sff.c_atapi_send_cdb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"send cdb\n"
	.text
	.p2align 4
	.type	atapi_send_cdb, @function
atapi_send_cdb:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	lea	rdi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	DPRINTK@PLT
	mov	rax, QWORD PTR 8[rbp]
	xor	edi, edi
	cmp	DWORD PTR [rax], 11
	setle	dil
	call	WARN_ON_ONCE@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR 16[rbp]
	mov	ecx, 1
	mov	rdi, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR [rdi]
	call	[QWORD PTR 8[rax]]
	mov	rdi, rbx
	call	ata_sff_sync@PLT
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR HSM_ST_LAST[rip]
	mov	QWORD PTR 8[rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rax, QWORD PTR HSM_ST[rip]
	mov	QWORD PTR 8[rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR HSM_ST_LAST[rip]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rax]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	rax
	.cfi_endproc
.LFE0:
	.size	atapi_send_cdb, .-atapi_send_cdb
	.comm	HSM_ST_LAST,8,8
	.comm	HSM_ST,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_libata-sff.c_atapi_send_cdb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"send cdb\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atapi_send_cdb, %function
atapi_send_cdb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r0, .L7
	bl	DPRINTK
	ldr	r3, [r4, #4]
	ldr	r0, [r3]
	cmp	r0, #11
	movgt	r0, #0
	movle	r0, #1
	bl	WARN_ON_ONCE
	ldr	r3, [r5]
	ldr	r0, [r4, #4]
	ldr	r6, [r3, #4]
	ldr	r2, [r0]
	mov	r3, #1
	ldr	r1, [r4, #8]
	blx	r6
	mov	r0, r5
	bl	ata_sff_sync
	ldr	r3, [r4]
	cmp	r3, #129
	beq	.L2
	cmp	r3, #130
	beq	.L3
	cmp	r3, #128
	ldreq	r3, .L7+4
	ldreq	r3, [r3]
	streq	r3, [r5, #4]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r2, .L7+8
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r0, r4
	str	r2, [r5, #4]
	ldr	r3, [r3]
	pop	{r4, r5, r6, lr}
	bx	r3
.L2:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	str	r3, [r5, #4]
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	HSM_ST
	.word	HSM_ST_LAST
	.size	atapi_send_cdb, .-atapi_send_cdb
	.comm	HSM_ST_LAST,4,4
	.comm	HSM_ST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
