	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_phy_lcn_tables_init        ## -- Begin function b43_phy_lcn_tables_init
	.p2align	4, 0x90
_b43_phy_lcn_tables_init:               ## @b43_phy_lcn_tables_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	callq	_b43_phy_lcn_upload_static_tables
	movl	(%rbx), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_B43_BFL_FEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movq	_b43_lcntab_tx_gain_tbl_2ghz_ext_pa_rev0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_b43_phy_lcn_load_tx_gain_tab
	jmp	LBB0_4
LBB0_3:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43err
LBB0_4:
	movq	_B43_BFL_FEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_7
## %bb.5:
	movq	_B43_BFH_FEM_BT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_6
LBB0_7:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_b43err
	jmp	LBB0_8
LBB0_6:
	movl	$15, %edi
	xorl	%esi, %esi
	callq	_B43_LCNTAB16
	movl	%eax, %r14d
	movq	_b43_lcntab_sw_ctl_4313_epa_rev0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ARRAY_SIZE
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_b43_lcntab_write_bulk
LBB0_8:
	movq	%rbx, %rdi
	callq	_b43_phy_lcn_load_rfpower
	movq	%rbx, %rdi
	callq	_b43_phy_lcn_rewrite_rfpower_table
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_lcn_clean_papd_comp_table ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_B43_BFL_FEM,4,2                ## @B43_BFL_FEM
	.comm	_b43_lcntab_tx_gain_tbl_2ghz_ext_pa_rev0,4,2 ## @b43_lcntab_tx_gain_tbl_2ghz_ext_pa_rev0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX gain table unknown for this card\n"

	.comm	_B43_BFH_FEM_BT,4,2             ## @B43_BFH_FEM_BT
	.comm	_b43_lcntab_sw_ctl_4313_epa_rev0,4,2 ## @b43_lcntab_sw_ctl_4313_epa_rev0
L_.str.1:                               ## @.str.1
	.asciz	"SW ctl table is unknown for this card\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_phy_lcn_tables_init        ; -- Begin function b43_phy_lcn_tables_init
	.p2align	2
_b43_phy_lcn_tables_init:               ; @b43_phy_lcn_tables_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	bl	_b43_phy_lcn_upload_static_tables
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _B43_BFL_FEM@GOTPAGE
Lloh4:
	ldr	x21, [x21, _B43_BFL_FEM@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _b43_lcntab_tx_gain_tbl_2ghz_ext_pa_rev0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _b43_lcntab_tx_gain_tbl_2ghz_ext_pa_rev0@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_lcn_load_tx_gain_tab
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43err
LBB0_4:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x20, #4]
Lloh10:
	adrp	x9, _B43_BFH_FEM_BT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _B43_BFH_FEM_BT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_6:
	ldr	w0, [x19]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_b43err
	b	LBB0_8
LBB0_7:
	mov	w0, #15
	mov	w1, #0
	bl	_B43_LCNTAB16
	mov	x20, x0
Lloh15:
	adrp	x21, _b43_lcntab_sw_ctl_4313_epa_rev0@GOTPAGE
Lloh16:
	ldr	x21, [x21, _b43_lcntab_sw_ctl_4313_epa_rev0@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ARRAY_SIZE
	mov	x2, x0
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_b43_lcntab_write_bulk
LBB0_8:
	mov	x0, x19
	bl	_b43_phy_lcn_load_rfpower
	mov	x0, x19
	bl	_b43_phy_lcn_rewrite_rfpower_table
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_b43_phy_lcn_clean_papd_comp_table
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_B43_BFL_FEM,4,2                ; @B43_BFL_FEM
	.comm	_b43_lcntab_tx_gain_tbl_2ghz_ext_pa_rev0,4,2 ; @b43_lcntab_tx_gain_tbl_2ghz_ext_pa_rev0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX gain table unknown for this card\n"

	.comm	_B43_BFH_FEM_BT,4,2             ; @B43_BFH_FEM_BT
	.comm	_b43_lcntab_sw_ctl_4313_epa_rev0,4,2 ; @b43_lcntab_sw_ctl_4313_epa_rev0
l_.str.1:                               ; @.str.1
	.asciz	"SW ctl table is unknown for this card\n"

.subsections_via_symbols
