	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lpphy_init_tx_gain_table       ## -- Begin function lpphy_init_tx_gain_table
	.p2align	4, 0x90
_lpphy_init_tx_gain_table:              ## @lpphy_init_tx_gain_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movl	4(%rdi), %eax
	cmpl	$1, %eax
	je	LBB0_7
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_12
## %bb.2:
	movq	_B43_BFH_NOPA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_lpphy_rev0_nopa_tx_gain_table@GOTPCREL(%rip), %rax
	testl	%edx, (%rcx)
	jne	LBB0_17
## %bb.3:
	movq	_B43_BFL_HGPA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 4(%rcx)
	jne	LBB0_17
## %bb.4:
	movl	(%rbx), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.6:
	movq	_lpphy_rev0_2ghz_tx_gain_table@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_7:
	movq	_B43_BFH_NOPA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_lpphy_rev1_nopa_tx_gain_table@GOTPCREL(%rip), %rax
	testl	%edx, (%rcx)
	jne	LBB0_17
## %bb.8:
	movq	_B43_BFL_HGPA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 4(%rcx)
	jne	LBB0_17
## %bb.9:
	movl	(%rbx), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.11:
	movq	_lpphy_rev1_2ghz_tx_gain_table@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_B43_BFH_NOPA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movq	_lpphy_rev2_nopa_tx_gain_table@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	movl	(%rbx), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.16:
	movq	_lpphy_rev2_2ghz_tx_gain_table@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_lpphy_rev2_5ghz_tx_gain_table@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_5:
	movq	_lpphy_rev0_5ghz_tx_gain_table@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_10:
	movq	_lpphy_rev1_5ghz_tx_gain_table@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_lpphy_write_gain_table_bulk    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_BFH_NOPA,4,2               ## @B43_BFH_NOPA
	.comm	_B43_BFL_HGPA,4,2               ## @B43_BFL_HGPA
	.comm	_lpphy_rev0_nopa_tx_gain_table,4,2 ## @lpphy_rev0_nopa_tx_gain_table
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_lpphy_rev0_2ghz_tx_gain_table,4,2 ## @lpphy_rev0_2ghz_tx_gain_table
	.comm	_lpphy_rev0_5ghz_tx_gain_table,4,2 ## @lpphy_rev0_5ghz_tx_gain_table
	.comm	_lpphy_rev1_nopa_tx_gain_table,4,2 ## @lpphy_rev1_nopa_tx_gain_table
	.comm	_lpphy_rev1_2ghz_tx_gain_table,4,2 ## @lpphy_rev1_2ghz_tx_gain_table
	.comm	_lpphy_rev1_5ghz_tx_gain_table,4,2 ## @lpphy_rev1_5ghz_tx_gain_table
	.comm	_lpphy_rev2_nopa_tx_gain_table,4,2 ## @lpphy_rev2_nopa_tx_gain_table
	.comm	_lpphy_rev2_2ghz_tx_gain_table,4,2 ## @lpphy_rev2_2ghz_tx_gain_table
	.comm	_lpphy_rev2_5ghz_tx_gain_table,4,2 ## @lpphy_rev2_5ghz_tx_gain_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lpphy_init_tx_gain_table       ; -- Begin function lpphy_init_tx_gain_table
	.p2align	2
_lpphy_init_tx_gain_table:              ; @lpphy_init_tx_gain_table
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w9, [x0, #4]
	cmp	w9, #1
	b.eq	LBB0_5
; %bb.1:
	cbnz	w9, LBB0_8
; %bb.2:
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _B43_BFH_NOPA@GOTPAGE
Lloh1:
	ldr	x10, [x10, _B43_BFH_NOPA@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x8, #4]
Lloh3:
	adrp	x9, _B43_BFL_HGPA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _B43_BFL_HGPA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_4:
Lloh6:
	adrp	x8, _lpphy_rev0_nopa_tx_gain_table@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lpphy_rev0_nopa_tx_gain_table@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
	ldr	w9, [x8]
Lloh8:
	adrp	x10, _B43_BFH_NOPA@GOTPAGE
Lloh9:
	ldr	x10, [x10, _B43_BFH_NOPA@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.6:
	ldr	w8, [x8, #4]
Lloh11:
	adrp	x9, _B43_BFL_HGPA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _B43_BFL_HGPA@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_7:
Lloh14:
	adrp	x8, _lpphy_rev1_nopa_tx_gain_table@GOTPAGE
Lloh15:
	ldr	x8, [x8, _lpphy_rev1_nopa_tx_gain_table@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _B43_BFH_NOPA@GOTPAGE
Lloh17:
	ldr	x9, [x9, _B43_BFH_NOPA@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
Lloh19:
	adrp	x8, _lpphy_rev2_nopa_tx_gain_table@GOTPAGE
Lloh20:
	ldr	x8, [x8, _lpphy_rev2_nopa_tx_gain_table@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh21:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _lpphy_rev2_5ghz_tx_gain_table@GOTPAGE
Lloh25:
	ldr	x9, [x9, _lpphy_rev2_5ghz_tx_gain_table@GOTPAGEOFF]
Lloh26:
	adrp	x10, _lpphy_rev2_2ghz_tx_gain_table@GOTPAGE
Lloh27:
	ldr	x10, [x10, _lpphy_rev2_2ghz_tx_gain_table@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh28:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _lpphy_rev0_5ghz_tx_gain_table@GOTPAGE
Lloh32:
	ldr	x9, [x9, _lpphy_rev0_5ghz_tx_gain_table@GOTPAGEOFF]
Lloh33:
	adrp	x10, _lpphy_rev0_2ghz_tx_gain_table@GOTPAGE
Lloh34:
	ldr	x10, [x10, _lpphy_rev0_2ghz_tx_gain_table@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh35:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _lpphy_rev1_5ghz_tx_gain_table@GOTPAGE
Lloh39:
	ldr	x9, [x9, _lpphy_rev1_5ghz_tx_gain_table@GOTPAGEOFF]
Lloh40:
	adrp	x10, _lpphy_rev1_2ghz_tx_gain_table@GOTPAGE
Lloh41:
	ldr	x10, [x10, _lpphy_rev1_2ghz_tx_gain_table@GOTPAGEOFF]
LBB0_13:
	cmp	w0, w8
	csel	x8, x10, x9, eq
LBB0_14:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #128
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lpphy_write_gain_table_bulk
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_BFH_NOPA,4,2               ; @B43_BFH_NOPA
	.comm	_B43_BFL_HGPA,4,2               ; @B43_BFL_HGPA
	.comm	_lpphy_rev0_nopa_tx_gain_table,4,2 ; @lpphy_rev0_nopa_tx_gain_table
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_lpphy_rev0_2ghz_tx_gain_table,4,2 ; @lpphy_rev0_2ghz_tx_gain_table
	.comm	_lpphy_rev0_5ghz_tx_gain_table,4,2 ; @lpphy_rev0_5ghz_tx_gain_table
	.comm	_lpphy_rev1_nopa_tx_gain_table,4,2 ; @lpphy_rev1_nopa_tx_gain_table
	.comm	_lpphy_rev1_2ghz_tx_gain_table,4,2 ; @lpphy_rev1_2ghz_tx_gain_table
	.comm	_lpphy_rev1_5ghz_tx_gain_table,4,2 ; @lpphy_rev1_5ghz_tx_gain_table
	.comm	_lpphy_rev2_nopa_tx_gain_table,4,2 ; @lpphy_rev2_nopa_tx_gain_table
	.comm	_lpphy_rev2_2ghz_tx_gain_table,4,2 ; @lpphy_rev2_2ghz_tx_gain_table
	.comm	_lpphy_rev2_5ghz_tx_gain_table,4,2 ; @lpphy_rev2_5ghz_tx_gain_table
.subsections_via_symbols
