	.file	"extr_ide-atapi.c_ide_queue_pc_tail.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ide_queue_pc_tail
	.type	ide_queue_pc_tail, @function
ide_queue_pc_tail:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r8d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 8[rdi]
	mov	edx, DWORD PTR __GFP_WAIT[rip]
	mov	esi, DWORD PTR READ[rip]
	call	blk_get_request@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR REQ_TYPE_SPECIAL[rip]
	mov	QWORD PTR 0[rbp], r13
	mov	DWORD PTR 16[rbp], eax
	test	r12, r12
	je	.L7
	test	r15d, r15d
	je	.L7
	mov	edi, DWORD PTR 8[rbx]
	mov	r8d, DWORD PTR GFP_NOIO[rip]
	mov	rdx, r12
	mov	ecx, r15d
	mov	rsi, rbp
	call	blk_rq_map_kern@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L6
.L7:
	mov	rdi, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 0[r13]
	mov	edx, 12
	call	memcpy@PLT
	mov	rax, QWORD PTR ide_tape[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L5
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR REQ_IDETAPE_PC1[rip]
	mov	DWORD PTR 52[rax], edx
.L5:
	mov	edi, DWORD PTR 8[rbx]
	xor	ecx, ecx
	mov	rdx, rbp
	mov	rsi, r14
	call	blk_execute_rq@PLT
	mov	r12d, eax
.L6:
	mov	rdi, rbp
	call	blk_put_request@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ide_queue_pc_tail, .-ide_queue_pc_tail
	.comm	ide_tape,8,8
	.comm	__GFP_WAIT,4,4
	.comm	REQ_TYPE_SPECIAL,4,4
	.comm	REQ_IDETAPE_PC1,4,4
	.comm	READ,4,4
	.comm	GFP_NOIO,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_ide-atapi.c_ide_queue_pc_tail.c"
	.text
	.align	2
	.global	ide_queue_pc_tail
	.syntax unified
	.arm
	.fpu softvfp
	.type	ide_queue_pc_tail, %function
ide_queue_pc_tail:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r3
	mov	r7, r2
	sub	sp, sp, #12
	mov	r8, r1
	ldr	r2, .L9
	ldr	r1, .L9+4
	ldr	r9, [sp, #40]
	mov	r5, r0
	ldr	r2, [r2]
	ldr	r0, [r0, #4]
	ldr	r1, [r1]
	bl	blk_get_request
	cmp	r6, #0
	cmpne	r9, #0
	ldr	r3, .L9+8
	mov	r4, r0
	ldr	r3, [r3]
	str	r7, [r0]
	str	r3, [r0, #8]
	beq	.L6
	ldr	r2, .L9+12
	mov	r3, r9
	ldr	r1, [r2]
	mov	r2, r6
	str	r1, [sp]
	mov	r1, r0
	ldr	r0, [r5, #4]
	bl	blk_rq_map_kern
	subs	r6, r0, #0
	bne	.L5
.L6:
	mov	r2, #12
	ldr	r1, [r7]
	ldr	r0, [r4, #4]
	bl	memcpy
	ldr	r3, .L9+16
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r2, .L9+20
	ldreq	r3, [r4, #4]
	ldreq	r2, [r2]
	streq	r2, [r3, #52]
.L4:
	mov	r1, r8
	mov	r3, #0
	mov	r2, r4
	ldr	r0, [r5, #4]
	bl	blk_execute_rq
	mov	r6, r0
.L5:
	mov	r0, r4
	bl	blk_put_request
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	.align	2
.L9:
	.word	__GFP_WAIT
	.word	READ
	.word	REQ_TYPE_SPECIAL
	.word	GFP_NOIO
	.word	ide_tape
	.word	REQ_IDETAPE_PC1
	.size	ide_queue_pc_tail, .-ide_queue_pc_tail
	.comm	ide_tape,4,4
	.comm	__GFP_WAIT,4,4
	.comm	REQ_TYPE_SPECIAL,4,4
	.comm	REQ_IDETAPE_PC1,4,4
	.comm	READ,4,4
	.comm	GFP_NOIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
