	.file	"extr_phy.c_b43legacy_phy_init_tssi2dbm_table.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not allocate memory for tssi2dbm table\n"
	.align 8
.LC1:
	.string	"Could not generate tssi2dBm table\n"
	.text
	.p2align 4
	.globl	b43legacy_phy_init_tssi2dbm_table
	.type	b43legacy_phy_init_tssi2dbm_table, @function
b43legacy_phy_init_tssi2dbm_table:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR 16[rdi]
	xor	edi, edi
	add	eax, -128
	cmp	eax, 1
	seta	dil
	call	B43legacy_WARN_ON@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR [rax]
	cmp	DWORD PTR [rax], 17153
	mov	r12, QWORD PTR 32[rax]
	je	.L20
.L2:
	lea	edx, 1[r12]
	cmp	edx, 1
	jbe	.L4
	mov	r13, QWORD PTR 16[rax]
	mov	r14, QWORD PTR 24[rax]
	lea	edx, 1[r13]
	cmp	edx, 1
	jbe	.L4
	lea	edx, 1[r14]
	cmp	edx, 1
	jbe	.L4
	mov	rax, QWORD PTR 8[rax]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 64
	lea	rdx, 1[rax]
	cmp	rdx, 1
	mov	edx, 62
	cmovbe	rax, rdx
	xor	ebp, ebp
	mov	DWORD PTR 24[rbx], eax
	call	kmalloc@PLT
	mov	r15, rax
	test	rax, rax
	jne	.L8
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L7:
	add	ebp, 1
	cmp	ebp, 64
	je	.L22
.L8:
	mov	r8d, r13d
	mov	ecx, r14d
	mov	edx, r12d
	mov	esi, ebp
	mov	rdi, r15
	call	b43legacy_tssi2dbm_entry@PLT
	test	rax, rax
	je	.L7
	mov	QWORD PTR 32[rbx], 0
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	b43legacyerr@PLT
	mov	rdi, r15
	call	kfree@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
.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
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR 16[rbx]
	cmp	edx, 128
	je	.L9
	xor	eax, eax
	cmp	edx, 129
	jne	.L1
	mov	rdx, QWORD PTR b43legacy_tssi2dbm_b_table[rip]
	mov	DWORD PTR 24[rbx], 52
	mov	QWORD PTR 32[rbx], rdx
	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
.L9:
	.cfi_restore_state
	mov	rax, QWORD PTR b43legacy_tssi2dbm_g_table[rip]
	mov	DWORD PTR 24[rbx], 52
	mov	QWORD PTR 32[rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L20:
	.cfi_restore_state
	cmp	DWORD PTR 20[rbx], 8272
	je	.L2
	mov	rax, QWORD PTR b43legacy_tssi2dbm_b_table[rip]
	mov	DWORD PTR 24[rbx], 52
	mov	QWORD PTR 32[rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L22:
	.cfi_restore_state
	mov	QWORD PTR 32[rbx], r15
	xor	eax, eax
	mov	DWORD PTR 40[rbx], 1
	jmp	.L1
.L21:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	b43legacyerr@PLT
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	b43legacy_phy_init_tssi2dbm_table, .-b43legacy_phy_init_tssi2dbm_table
	.comm	b43legacy_tssi2dbm_g_table,8,8
	.comm	b43legacy_tssi2dbm_b_table,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_phy.c_b43legacy_phy_init_tssi2dbm_table.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not allocate memory for tssi2dbm table\012\000"
	.align	2
.LC1:
	.ascii	"Could not generate tssi2dBm table\012\000"
	.text
	.align	2
	.global	b43legacy_phy_init_tssi2dbm_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43legacy_phy_init_tssi2dbm_table, %function
b43legacy_phy_init_tssi2dbm_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	ldr	r0, [r0, #8]
	sub	sp, sp, #12
	sub	r0, r0, #128
	cmp	r0, #1
	movls	r0, #0
	movhi	r0, #1
	bl	B43legacy_WARN_ON
	ldr	r2, [r4, #4]
	ldr	r3, .L22
	ldr	r1, [r2]
	ldr	r2, [r1]
	ldr	r6, [r1, #16]
	cmp	r2, r3
	beq	.L19
.L2:
	add	r3, r6, #1
	cmp	r3, #1
	bls	.L4
	ldr	r9, [r1, #12]
	ldr	r8, [r1, #8]
	add	r3, r9, #1
	add	r2, r8, #1
	cmp	r2, #1
	cmphi	r3, #1
	bls	.L4
	ldr	r3, [r1, #4]
	ldr	r2, .L22+4
	add	r1, r3, #1
	cmp	r1, #1
	movls	r3, #62
	mov	r0, #64
	ldr	r1, [r2]
	str	r3, [r4, #16]
	bl	kmalloc
	subs	r7, r0, #0
	movne	r5, #0
	bne	.L6
	b	.L20
.L7:
	cmp	r5, #64
	beq	.L21
.L6:
	mov	r1, r5
	mov	r3, r9
	mov	r2, r6
	mov	r0, r7
	str	r8, [sp]
	bl	b43legacy_tssi2dbm_entry
	cmp	r0, #0
	add	r5, r5, #1
	beq	.L7
	mov	r3, #0
	ldr	r1, .L22+8
	str	r3, [r4, #20]
	ldr	r0, [r4]
	bl	b43legacyerr
	mov	r0, r7
	bl	kfree
	ldr	r3, .L22+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	ldr	r3, [r4, #8]
	cmp	r3, #128
	beq	.L8
	cmp	r3, #129
	movne	r0, #0
	bne	.L1
.L17:
	mov	r2, #52
	mov	r0, #0
	ldr	r3, .L22+16
	str	r2, [r4, #16]
	ldr	r3, [r3]
	str	r3, [r4, #20]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	mov	r2, #52
	mov	r0, #0
	ldr	r3, .L22+20
	str	r2, [r4, #16]
	ldr	r3, [r3]
	str	r3, [r4, #20]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L19:
	ldr	r3, .L22+24
	ldr	r2, [r4, #12]
	cmp	r2, r3
	beq	.L2
	b	.L17
.L21:
	mov	r3, #1
	str	r7, [r4, #20]
	str	r3, [r4, #24]
	b	.L1
.L20:
	ldr	r0, [r4]
	ldr	r1, .L22+28
	bl	b43legacyerr
	ldr	r3, .L22+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L23:
	.align	2
.L22:
	.word	17153
	.word	GFP_KERNEL
	.word	.LC1
	.word	ENODEV
	.word	b43legacy_tssi2dbm_b_table
	.word	b43legacy_tssi2dbm_g_table
	.word	8272
	.word	.LC0
	.word	ENOMEM
	.size	b43legacy_phy_init_tssi2dbm_table, .-b43legacy_phy_init_tssi2dbm_table
	.comm	b43legacy_tssi2dbm_g_table,4,4
	.comm	b43legacy_tssi2dbm_b_table,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
