	.file	"extr_main.c_b43legacy_shm_read16.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	b43legacy_shm_read16
	.type	b43legacy_shm_read16, @function
b43legacy_shm_read16:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR B43legacy_SHM_SHARED[rip], rsi
	je	.L8
.L2:
	mov	rdi, r13
	call	b43legacy_shm_control_word@PLT
	mov	esi, DWORD PTR B43legacy_MMIO_SHM_DATA[rip]
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rdi, r13
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	b43legacy_read16@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, edx
	mov	QWORD PTR 8[rsp], rsi
	and	edi, 1
	mov	QWORD PTR [rsp], rdx
	call	B43legacy_WARN_ON@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	rsi, QWORD PTR 8[rsp]
	mov	rax, rdx
	sar	rdx, 2
	and	eax, 3
	test	rax, rax
	je	.L2
	mov	rdi, r13
	call	b43legacy_shm_control_word@PLT
	mov	esi, DWORD PTR B43legacy_MMIO_SHM_DATA_UNALIGNED[rip]
	add	rsp, 16
	.cfi_def_cfa_offset 16
	mov	rdi, r13
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	b43legacy_read16@PLT
	.cfi_endproc
.LFE0:
	.size	b43legacy_shm_read16, .-b43legacy_shm_read16
	.comm	B43legacy_SHM_SHARED,8,8
	.comm	B43legacy_MMIO_SHM_DATA_UNALIGNED,4,4
	.comm	B43legacy_MMIO_SHM_DATA,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_main.c_b43legacy_shm_read16.c"
	.text
	.align	2
	.global	b43legacy_shm_read16
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43legacy_shm_read16, %function
b43legacy_shm_read16:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r3]
	mov	r6, r1
	cmp	r7, r1
	mov	r5, r0
	mov	r4, r2
	beq	.L8
.L2:
	mov	r1, r6
	mov	r2, r4
	mov	r0, r5
	bl	b43legacy_shm_control_word
	ldr	r3, .L9+4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	b	b43legacy_read16
.L8:
	and	r0, r2, #1
	bl	B43legacy_WARN_ON
	and	r3, r4, #3
	cmp	r3, #0
	asr	r4, r4, #2
	beq	.L2
	mov	r1, r7
	mov	r2, r4
	mov	r0, r5
	bl	b43legacy_shm_control_word
	ldr	r3, .L9+8
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	b	b43legacy_read16
.L10:
	.align	2
.L9:
	.word	B43legacy_SHM_SHARED
	.word	B43legacy_MMIO_SHM_DATA
	.word	B43legacy_MMIO_SHM_DATA_UNALIGNED
	.size	b43legacy_shm_read16, .-b43legacy_shm_read16
	.comm	B43legacy_SHM_SHARED,4,4
	.comm	B43legacy_MMIO_SHM_DATA_UNALIGNED,4,4
	.comm	B43legacy_MMIO_SHM_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
