	.file	"extr_tables_lpphy.c_b43_lptab_write_bulk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	b43_lptab_write_bulk
	.type	b43_lptab_write_bulk, @function
b43_lptab_write_bulk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	xor	edi, edi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r15d, DWORD PTR B43_LPTAB_TYPEMASK[rip]
	mov	ebx, r15d
	not	r15d
	and	r15d, esi
	and	ebx, esi
	cmp	r15d, 65535
	setg	dil
	call	B43_WARN_ON@PLT
	mov	esi, DWORD PTR B43_LPPHY_TABLE_ADDR[rip]
	mov	edx, r15d
	mov	rdi, r14
	call	b43_phy_write@PLT
	test	r13d, r13d
	je	.L1
	xor	ebp, ebp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	ebx, 128
	je	.L15
	mov	edi, 1
	call	B43_WARN_ON@PLT
.L6:
	add	ebp, 1
	cmp	r13d, ebp
	je	.L1
.L7:
	cmp	ebx, 129
	je	.L3
	cmp	ebx, 130
	jne	.L16
	mov	r15d, DWORD PTR [r12]
	add	r12, 8
	mov	edi, r15d
	xor	di, di
.L13:
	call	B43_WARN_ON@PLT
	add	ebp, 1
	mov	edx, r15d
	mov	rdi, r14
	mov	esi, DWORD PTR B43_LPPHY_TABLEDATALO[rip]
	call	b43_phy_write@PLT
	cmp	r13d, ebp
	jne	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	r15d, DWORD PTR [r12]
	mov	esi, DWORD PTR B43_LPPHY_TABLEDATAHI[rip]
	mov	rdi, r14
	add	r12, 16
	mov	edx, r15d
	sar	edx, 16
	call	b43_phy_write@PLT
	mov	esi, DWORD PTR B43_LPPHY_TABLEDATALO[rip]
	mov	edx, r15d
	mov	rdi, r14
	call	b43_phy_write@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	r15d, DWORD PTR [r12]
	add	r12, 4
	mov	edi, r15d
	xor	dil, dil
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	b43_lptab_write_bulk, .-b43_lptab_write_bulk
	.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_bulk.c"
	.text
	.align	2
	.global	b43_lptab_write_bulk
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_lptab_write_bulk, %function
b43_lptab_write_bulk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	mov	r7, r2
	ldr	r2, .L17
	mov	r6, r3
	ldr	r4, [r2]
	bic	r5, r1, r4
	cmp	r5, #65536
	movlt	r0, #0
	movge	r0, #1
	and	r4, r4, r1
	bl	B43_WARN_ON
	ldr	r3, .L17+4
	mov	r2, r5
	mov	r0, r8
	ldr	r1, [r3]
	bl	b43_phy_write
	cmp	r7, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r5, #0
	ldr	fp, .L17+8
	ldr	r9, .L17+12
	b	.L7
.L16:
	cmp	r4, #128
	beq	.L15
	mov	r0, #1
	bl	B43_WARN_ON
.L6:
	add	r5, r5, #1
	cmp	r7, r5
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	cmp	r4, #129
	beq	.L3
	cmp	r4, #130
	bne	.L16
	ldr	r10, [r6], #8
	lsr	r0, r10, #16
	lsl	r0, r0, #16
.L13:
	bl	B43_WARN_ON
	mov	r2, r10
	mov	r0, r8
	ldr	r1, [r9]
	bl	b43_phy_write
	b	.L6
.L3:
	ldr	r10, [r6], #16
	ldr	r1, [fp]
	asr	r2, r10, #16
	mov	r0, r8
	bl	b43_phy_write
	mov	r2, r10
	mov	r0, r8
	ldr	r1, [r9]
	bl	b43_phy_write
	b	.L6
.L15:
	ldr	r10, [r6], #4
	bic	r0, r10, #255
	b	.L13
.L18:
	.align	2
.L17:
	.word	B43_LPTAB_TYPEMASK
	.word	B43_LPPHY_TABLE_ADDR
	.word	B43_LPPHY_TABLEDATAHI
	.word	B43_LPPHY_TABLEDATALO
	.size	b43_lptab_write_bulk, .-b43_lptab_write_bulk
	.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
