	.file	"extr_acornscsi.c_acornscsi_readstatusbyte.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"reading status byte"
	.text
	.p2align 4
	.type	acornscsi_readstatusbyte, @function
acornscsi_readstatusbyte:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	esi, DWORD PTR CMND_XFERINFO[rip]
	mov	rbx, rdi
	or	esi, DWORD PTR CMND_SBT[rip]
	call	acornscsi_sbic_issuecmd@PLT
	mov	esi, DWORD PTR ASR_DBR[rip]
	mov	rdi, rbx
	lea	r8, .LC0[rip]
	mov	ecx, 1000
	mov	edx, esi
	call	acornscsi_sbic_wait@PLT
	mov	esi, DWORD PTR SBIC_DATA[rip]
	mov	rdi, rbx
	call	sbic_arm_read@PLT
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	acornscsi_readstatusbyte, .-acornscsi_readstatusbyte
	.comm	SBIC_DATA,4,4
	.comm	CMND_XFERINFO,4,4
	.comm	CMND_SBT,4,4
	.comm	ASR_DBR,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_acornscsi.c_acornscsi_readstatusbyte.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reading status byte\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acornscsi_readstatusbyte, %function
acornscsi_readstatusbyte:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	sub	sp, sp, #8
	orr	r1, r1, r3
	bl	acornscsi_sbic_issuecmd
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r2, [r2]
	mov	r0, r4
	mov	r1, r2
	str	r3, [sp]
	mov	r3, #1000
	bl	acornscsi_sbic_wait
	ldr	r3, .L4+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	sbic_arm_read
	str	r0, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L5:
	.align	2
.L4:
	.word	CMND_XFERINFO
	.word	CMND_SBT
	.word	ASR_DBR
	.word	.LC0
	.word	SBIC_DATA
	.size	acornscsi_readstatusbyte, .-acornscsi_readstatusbyte
	.comm	SBIC_DATA,4,4
	.comm	CMND_XFERINFO,4,4
	.comm	CMND_SBT,4,4
	.comm	ASR_DBR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
