	.file	"extr_tape_3590.c_tape_3590_sense_medium_async.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tape_3590_sense_medium_async, @function
tape_3590_sense_medium_async:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 128
	mov	r12, rdi
	mov	edi, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	tape_alloc_request@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.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
.L5:
	.cfi_restore_state
	mov	eax, DWORD PTR TO_MSEN[rip]
	mov	edi, DWORD PTR 4[rbp]
	mov	edx, 128
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR MEDIUM_SENSE[rip]
	mov	DWORD PTR 8[rbp], eax
	call	tape_ccw_end@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	tape_do_io_async_free@PLT
	.cfi_endproc
.LFE0:
	.size	tape_3590_sense_medium_async, .-tape_3590_sense_medium_async
	.comm	TO_MSEN,4,4
	.comm	MEDIUM_SENSE,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_tape_3590.c_tape_3590_sense_medium_async.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tape_3590_sense_medium_async, %function
tape_3590_sense_medium_async:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #128
	mov	r5, r0
	mov	r0, #1
	bl	tape_alloc_request
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L5
	ldr	r2, .L5+4
	ldr	r3, [r3]
	ldr	r1, [r2]
	str	r3, [r4, #8]
	ldr	r0, [r4, #4]
	ldr	r3, [r4]
	mov	r2, #128
	bl	tape_ccw_end
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	tape_do_io_async_free
.L6:
	.align	2
.L5:
	.word	TO_MSEN
	.word	MEDIUM_SENSE
	.size	tape_3590_sense_medium_async, .-tape_3590_sense_medium_async
	.comm	TO_MSEN,4,4
	.comm	MEDIUM_SENSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
