	.file	"extr_tables_lpphy.c_b43_lptab_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	b43_lptab_write
	.type	b43_lptab_write, @function
b43_lptab_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR B43_LPTAB_TYPEMASK[rip]
	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
	mov	edi, r13d
	xor	dil, dil
	cmp	ebx, 128
	je	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edi, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	B43_WARN_ON@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, r13d
	xor	di, di
.L6:
	call	B43_WARN_ON@PLT
	mov	esi, DWORD PTR B43_LPPHY_TABLE_ADDR[rip]
	mov	edx, r12d
.L7:
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	esi, DWORD PTR B43_LPPHY_TABLEDATALO[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	b43_phy_write@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR B43_LPPHY_TABLE_ADDR[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, r13d
	mov	esi, DWORD PTR B43_LPPHY_TABLEDATAHI[rip]
	sar	edx, 16
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	b43_lptab_write, .-b43_lptab_write
	.comm	B43_LPTAB_TYPEMASK,4,4
	.comm	B43_LPPHY_TABLE_ADDR,4,4
	.comm	B43_LPPHY_TABLEDATALO,4,4
	.comm	B43_LPPHY_TABLEDATAHI,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_lpphy.c_b43_lptab_write.c"
	.text
	.align	2
	.global	b43_lptab_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_lptab_write, %function
b43_lptab_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r3]
	mov	r5, r0
	bic	r7, r1, r4
	cmp	r7, #65536
	movlt	r0, #0
	movge	r0, #1
	and	r4, r4, r1
	mov	r6, r2
	bl	B43_WARN_ON
	cmp	r4, #129
	beq	.L2
	cmp	r4, #130
	beq	.L3
	cmp	r4, #128
	biceq	r0, r6, #255
	beq	.L6
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r0, #1
	b	B43_WARN_ON
.L3:
	lsr	r0, r6, #16
	lsl	r0, r0, #16
.L6:
	bl	B43_WARN_ON
	mov	r2, r7
	ldr	r3, .L9+4
.L7:
	ldr	r1, [r3]
	mov	r0, r5
	bl	b43_phy_write
	ldr	r3, .L9+8
	mov	r2, r6
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	b	b43_phy_write
.L2:
	ldr	r3, .L9+4
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, r5
	bl	b43_phy_write
	ldr	r3, .L9+12
	asr	r2, r6, #16
	b	.L7
.L10:
	.align	2
.L9:
	.word	B43_LPTAB_TYPEMASK
	.word	B43_LPPHY_TABLE_ADDR
	.word	B43_LPPHY_TABLEDATALO
	.word	B43_LPPHY_TABLEDATAHI
	.size	b43_lptab_write, .-b43_lptab_write
	.comm	B43_LPTAB_TYPEMASK,4,4
	.comm	B43_LPPHY_TABLE_ADDR,4,4
	.comm	B43_LPPHY_TABLEDATALO,4,4
	.comm	B43_LPPHY_TABLEDATAHI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
