	.file	"extr_tables_phy_ht.c_b43_httab_read.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	b43_httab_read
	.type	b43_httab_read, @function
b43_httab_read:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR B43_HTTAB_TYPEMASK[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	not	edx
	and	r12d, edx
	and	ebx, esi
	cmp	r12d, 65535
	setg	dil
	call	B43_WARN_ON@PLT
	cmp	ebx, 129
	je	.L2
	cmp	ebx, 130
	je	.L3
	cmp	ebx, 128
	je	.L8
	mov	edi, 1
	call	B43_WARN_ON@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR B43_PHY_HT_TABLE_ADDR[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	esi, DWORD PTR B43_PHY_HT_TABLE_DATAHI[rip]
	mov	rdi, rbp
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_HT_TABLE_DATALO[rip]
	mov	rdi, rbp
	sal	eax, 16
	mov	ebx, eax
	call	b43_phy_read@PLT
	or	eax, ebx
	pop	rbx
	.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
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR B43_PHY_HT_TABLE_ADDR[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	esi, DWORD PTR B43_PHY_HT_TABLE_DATALO[rip]
	mov	rdi, rbp
	call	b43_phy_read@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	movzx	eax, al
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR B43_PHY_HT_TABLE_ADDR[rip]
	mov	rdi, rbp
	mov	edx, r12d
	call	b43_phy_write@PLT
	mov	esi, DWORD PTR B43_PHY_HT_TABLE_DATALO[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	b43_phy_read@PLT
	.cfi_endproc
.LFE0:
	.size	b43_httab_read, .-b43_httab_read
	.comm	B43_PHY_HT_TABLE_DATALO,4,4
	.comm	B43_PHY_HT_TABLE_DATAHI,4,4
	.comm	B43_PHY_HT_TABLE_ADDR,4,4
	.comm	B43_HTTAB_TYPEMASK,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_tables_phy_ht.c_b43_httab_read.c"
	.text
	.align	2
	.global	b43_httab_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_httab_read, %function
b43_httab_read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, r5, r6, lr}
	ldr	r4, [r3]
	mov	r5, r0
	bic	r6, r1, r4
	cmp	r6, #65536
	movlt	r0, #0
	movge	r0, #1
	and	r4, r4, r1
	bl	B43_WARN_ON
	cmp	r4, #129
	beq	.L2
	cmp	r4, #130
	beq	.L3
	cmp	r4, #128
	beq	.L8
	mov	r0, #1
	bl	B43_WARN_ON
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L9+4
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r5
	bl	b43_phy_write
	ldr	r3, .L9+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	b43_phy_read
	ldr	r3, .L9+12
	mov	r4, r0
	ldr	r1, [r3]
	mov	r0, r5
	bl	b43_phy_read
	lsl	r4, r4, #16
	orr	r0, r4, r0
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L9+4
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r5
	bl	b43_phy_write
	ldr	r3, .L9+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	b43_phy_read
	and	r0, r0, #255
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L9+4
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r5
	bl	b43_phy_write
	ldr	r3, .L9+12
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	b43_phy_read
.L10:
	.align	2
.L9:
	.word	B43_HTTAB_TYPEMASK
	.word	B43_PHY_HT_TABLE_ADDR
	.word	B43_PHY_HT_TABLE_DATAHI
	.word	B43_PHY_HT_TABLE_DATALO
	.size	b43_httab_read, .-b43_httab_read
	.comm	B43_PHY_HT_TABLE_DATALO,4,4
	.comm	B43_PHY_HT_TABLE_DATAHI,4,4
	.comm	B43_PHY_HT_TABLE_ADDR,4,4
	.comm	B43_HTTAB_TYPEMASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
