	.file	"extr_tables_nphy.c_b43_nphy_get_tx_gain_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	b43_nphy_get_tx_gain_table
	.type	b43_nphy_get_tx_gain_table, @function
b43_nphy_get_tx_gain_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, DWORD PTR 16[rdi]
	call	b43_current_band@PLT
	cmp	DWORD PTR 0[rbp], 2
	jle	.L12
	mov	rdx, QWORD PTR 8[rbp]
	cmp	QWORD PTR 8[rdx], 0
	je	.L4
	cmp	eax, DWORD PTR IEEE80211_BAND_2GHZ[rip]
	je	.L5
.L4:
	cmp	QWORD PTR [rdx], 0
	je	.L6
	cmp	eax, DWORD PTR IEEE80211_BAND_5GHZ[rip]
	je	.L5
.L6:
	mov	edi, DWORD PTR 16[rbp]
	call	b43_current_band@PLT
	mov	r8d, eax
	cmp	r8d, DWORD PTR IEEE80211_BAND_5GHZ[rip]
	mov	rax, QWORD PTR b43_ntab_tx_gain_rev3plus_2ghz[rip]
	je	.L13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rax, QWORD PTR b43_ntab_tx_gain_rev0_1_2[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 3
	je	.L14
	cmp	eax, 4
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	rax, QWORD PTR b43_ntab_tx_gain_rev4_5ghz[rip]
	cmovne	rax, QWORD PTR b43_ntab_tx_gain_rev5plus_5ghz[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	b43_nphy_get_ipa_gain_table@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rax, QWORD PTR b43_ntab_tx_gain_rev3_5ghz[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	b43_nphy_get_tx_gain_table, .-b43_nphy_get_tx_gain_table
	.comm	b43_ntab_tx_gain_rev5plus_5ghz,8,8
	.comm	b43_ntab_tx_gain_rev4_5ghz,8,8
	.comm	b43_ntab_tx_gain_rev3plus_2ghz,8,8
	.comm	b43_ntab_tx_gain_rev3_5ghz,8,8
	.comm	b43_ntab_tx_gain_rev0_1_2,8,8
	.comm	IEEE80211_BAND_5GHZ,4,4
	.comm	IEEE80211_BAND_2GHZ,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_nphy.c_b43_nphy_get_tx_gain_table.c"
	.text
	.align	2
	.global	b43_nphy_get_tx_gain_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_nphy_get_tx_gain_table, %function
b43_nphy_get_tx_gain_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	b43_current_band
	ldr	r3, [r4]
	cmp	r3, #2
	ble	.L18
	ldr	r3, [r4, #4]
	ldr	r2, [r3, #4]
	cmp	r2, #0
	beq	.L4
	ldr	r2, .L21
	ldr	r2, [r2]
	cmp	r0, r2
	beq	.L5
.L4:
	ldr	r3, [r3]
	ldr	r5, .L21+4
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L5
.L6:
	ldr	r0, [r4, #8]
	bl	b43_current_band
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L19
	ldr	r3, .L21+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L18:
	ldr	r3, .L21+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L19:
	ldr	r3, [r4]
	cmp	r3, #3
	beq	.L20
	cmp	r3, #4
	ldreq	r3, .L21+16
	ldrne	r3, .L21+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	b43_nphy_get_ipa_gain_table
.L20:
	ldr	r3, .L21+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L22:
	.align	2
.L21:
	.word	IEEE80211_BAND_2GHZ
	.word	IEEE80211_BAND_5GHZ
	.word	b43_ntab_tx_gain_rev3plus_2ghz
	.word	b43_ntab_tx_gain_rev0_1_2
	.word	b43_ntab_tx_gain_rev4_5ghz
	.word	b43_ntab_tx_gain_rev5plus_5ghz
	.word	b43_ntab_tx_gain_rev3_5ghz
	.size	b43_nphy_get_tx_gain_table, .-b43_nphy_get_tx_gain_table
	.comm	b43_ntab_tx_gain_rev5plus_5ghz,4,4
	.comm	b43_ntab_tx_gain_rev4_5ghz,4,4
	.comm	b43_ntab_tx_gain_rev3plus_2ghz,4,4
	.comm	b43_ntab_tx_gain_rev3_5ghz,4,4
	.comm	b43_ntab_tx_gain_rev0_1_2,4,4
	.comm	IEEE80211_BAND_5GHZ,4,4
	.comm	IEEE80211_BAND_2GHZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
