	.file	"extr_virtio_blk.c_virtblk_get_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	virtblk_get_id, @function
virtblk_get_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	edx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	mov	esi, DWORD PTR REQ_OP_DRV_IN[rip]
	mov	rax, QWORD PTR [rbx]
	mov	r13, QWORD PTR [rax]
	mov	rdi, r13
	call	blk_get_request@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L6
	mov	r8d, DWORD PTR GFP_KERNEL[rip]
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	mov	ecx, DWORD PTR VIRTIO_BLK_ID_BYTES[rip]
	call	blk_rq_map_kern@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L7
.L3:
	mov	rdi, rbp
	call	blk_put_request@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	xor	ecx, ecx
	mov	rdx, rbp
	mov	rdi, QWORD PTR [rax]
	mov	rsi, rax
	call	blk_execute_rq@PLT
	mov	rdi, rbp
	call	blk_mq_rq_to_pdu@PLT
	mov	edi, eax
	call	virtblk_result@PLT
	mov	edi, eax
	call	blk_status_to_errno@PLT
	mov	r12d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	virtblk_get_id, .-virtblk_get_id
	.comm	VIRTIO_BLK_ID_BYTES,4,4
	.comm	REQ_OP_DRV_IN,4,4
	.comm	GFP_KERNEL,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_virtio_blk.c_virtblk_get_id.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	virtblk_get_id, %function
virtblk_get_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r7, [r0]
	mov	r5, r1
	ldr	r2, [r7]
	ldr	r1, .L8
	ldr	r6, [r2]
	ldr	r1, [r1]
	mov	r2, #0
	sub	sp, sp, #12
	mov	r0, r6
	bl	blk_get_request
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L6
	ldr	r2, .L8+4
	ldr	r3, .L8+8
	ldr	r1, [r2]
	mov	r0, r6
	str	r1, [sp]
	mov	r2, r5
	mov	r1, r4
	ldr	r3, [r3]
	bl	blk_rq_map_kern
	subs	r5, r0, #0
	beq	.L7
.L3:
	mov	r0, r4
	bl	blk_put_request
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r1, [r7]
	mov	r3, r5
	mov	r2, r4
	ldr	r0, [r1]
	bl	blk_execute_rq
	mov	r0, r4
	bl	blk_mq_rq_to_pdu
	bl	virtblk_result
	bl	blk_status_to_errno
	mov	r5, r0
	b	.L3
.L6:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	PTR_ERR
.L9:
	.align	2
.L8:
	.word	REQ_OP_DRV_IN
	.word	GFP_KERNEL
	.word	VIRTIO_BLK_ID_BYTES
	.size	virtblk_get_id, .-virtblk_get_id
	.comm	VIRTIO_BLK_ID_BYTES,4,4
	.comm	REQ_OP_DRV_IN,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
