	.file	"extr_nfsmb.c_nfsmb_readb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"nfsmb: READB from 0x%x, cmd=0x%x, byte=0x%x, error=0x%x\n"
	.text
	.p2align 4
	.type	nfsmb_readb, @function
nfsmb_readb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movsx	r12d, r12b
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	call	device_get_softc@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	NFSMB_LOCK@PLT
	mov	esi, DWORD PTR SMB_CMD[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	NFSMB_SMBOUTB@PLT
	mov	esi, DWORD PTR SMB_ADDR[rip]
	mov	edx, r14d
	mov	rdi, rbp
	call	NFSMB_SMBOUTB@PLT
	mov	esi, DWORD PTR SMB_PRTCL[rip]
	mov	edx, DWORD PTR SMB_PRTCL_READ[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR SMB_PRTCL_BYTE_DATA[rip]
	call	NFSMB_SMBOUTB@PLT
	mov	rdi, rbp
	call	nfsmb_wait@PLT
	cmp	DWORD PTR SMB_ENOERR[rip], eax
	mov	r13d, eax
	je	.L2
	movzx	eax, BYTE PTR [rbx]
.L3:
	mov	r8d, r13d
	mov	edx, r12d
	mov	esi, r14d
	movzx	ecx, al
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	edi, eax
	call	NFSMB_DEBUG@PLT
	mov	rdi, rbp
	call	NFSMB_UNLOCK@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR SMB_DATA[rip]
	mov	rdi, rbp
	call	NFSMB_SMBINB@PLT
	mov	BYTE PTR [rbx], al
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	nfsmb_readb, .-nfsmb_readb
	.comm	SMB_PRTCL_READ,4,4
	.comm	SMB_PRTCL_BYTE_DATA,4,4
	.comm	SMB_PRTCL,4,4
	.comm	SMB_ENOERR,4,4
	.comm	SMB_DATA,4,4
	.comm	SMB_CMD,4,4
	.comm	SMB_ADDR,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_nfsmb.c_nfsmb_readb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nfsmb: READB from 0x%x, cmd=0x%x, byte=0x%x, error="
	.ascii	"0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfsmb_readb, %function
nfsmb_readb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r6, r1
	mov	r7, r2
	mov	r8, r3
	bl	device_get_softc
	mov	r4, r0
	bl	NFSMB_LOCK
	ldr	r3, .L6
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, r4
	bl	NFSMB_SMBOUTB
	ldr	r3, .L6+4
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r4
	bl	NFSMB_SMBOUTB
	ldr	r2, .L6+8
	ldr	r3, .L6+12
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L6+16
	orr	r2, r1, r2
	mov	r0, r4
	ldr	r1, [r3]
	bl	NFSMB_SMBOUTB
	mov	r0, r4
	bl	nfsmb_wait
	ldr	r3, .L6+20
	mov	r5, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L2
	ldrb	r3, [r8]	@ zero_extendqisi2
.L3:
	mov	r2, r7
	mov	r1, r6
	str	r5, [sp]
	ldr	r0, .L6+24
	bl	printf
	bl	NFSMB_DEBUG
	mov	r0, r4
	bl	NFSMB_UNLOCK
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L6+28
	mov	r0, r4
	ldr	r1, [r3]
	bl	NFSMB_SMBINB
	mov	r3, r0
	strb	r0, [r8]
	b	.L3
.L7:
	.align	2
.L6:
	.word	SMB_CMD
	.word	SMB_ADDR
	.word	SMB_PRTCL_READ
	.word	SMB_PRTCL_BYTE_DATA
	.word	SMB_PRTCL
	.word	SMB_ENOERR
	.word	.LC0
	.word	SMB_DATA
	.size	nfsmb_readb, .-nfsmb_readb
	.comm	SMB_PRTCL_READ,4,4
	.comm	SMB_PRTCL_BYTE_DATA,4,4
	.comm	SMB_PRTCL,4,4
	.comm	SMB_ENOERR,4,4
	.comm	SMB_DATA,4,4
	.comm	SMB_CMD,4,4
	.comm	SMB_ADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
