	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_phy_lcn_op_init
_b43_phy_lcn_op_init:                   ## @b43_phy_lcn_op_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movl	$1098, %esi                     ## imm = 0x44A
	movl	$128, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$1098, %esi                     ## imm = 0x44A
	movl	$127, %edx
	callq	_b43_phy_mask
	movq	%rbx, %rdi
	movl	$1745, %esi                     ## imm = 0x6D1
	movl	$128, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$1744, %esi                     ## imm = 0x6D0
	movl	$7, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	callq	_b43_phy_lcn_afe_set_unset
	movq	%rbx, %rdi
	movl	$1546, %esi                     ## imm = 0x60A
	movl	$160, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$1130, %esi                     ## imm = 0x46A
	movl	$25, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$1635, %esi                     ## imm = 0x663
	movl	$65280, %edx                    ## imm = 0xFF00
	movl	$100, %ecx
	callq	_b43_phy_maskset
	movq	%rbx, %rdi
	callq	_b43_phy_lcn_tables_init
	movq	%rbx, %rdi
	callq	_b43_phy_lcn_rev0_baseband_init
	movq	%rbx, %rdi
	callq	_b43_phy_lcn_bu_tweaks
	cmpl	$8292, (%rbx)                   ## imm = 0x2064
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_b43_radio_2064_init
	jmp	LBB0_3
LBB0_2:
	movl	$1, %edi
	callq	_B43_WARN_ON
LBB0_3:
	movl	8(%rbx), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_b43_phy_lcn_tx_pwr_ctl_init
LBB0_5:
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_b43_switch_channel
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$15, %edx
	movl	$9, %ecx
	callq	_bcma_chipco_regctl_maskset
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$63823325, %ecx                 ## imm = 0x3CDDDDD
	callq	_bcma_chipco_chipctl_maskset
	movq	%rbx, %rdi
	movl	$1096, %esi                     ## imm = 0x448
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_b43_phy_set
	movl	$100, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1096, %esi                     ## imm = 0x448
	movl	$-16385, %edx                   ## imm = 0xBFFF
	callq	_b43_phy_mask
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.no_dead_strip	_b43_phy_lcn_op_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_phy_lcn_op_init
_b43_phy_lcn_op_init:                   ; @b43_phy_lcn_op_init
	.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, #16]
	ldr	x8, [x8]
	ldr	x20, [x8]
	mov	w1, #1098
	mov	w2, #128
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #1098
	mov	w2, #127
	bl	_b43_phy_mask
	mov	x0, x19
	mov	w1, #1745
	mov	w2, #128
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #1744
	mov	w2, #7
	bl	_b43_phy_write
	mov	x0, x19
	bl	_b43_phy_lcn_afe_set_unset
	mov	x0, x19
	mov	w1, #1546
	mov	w2, #160
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #1130
	mov	w2, #25
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #1635
	mov	w2, #65280
	mov	w3, #100
	bl	_b43_phy_maskset
	mov	x0, x19
	bl	_b43_phy_lcn_tables_init
	mov	x0, x19
	bl	_b43_phy_lcn_rev0_baseband_init
	mov	x0, x19
	bl	_b43_phy_lcn_bu_tweaks
	ldr	w8, [x19]
	mov	w9, #8292
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_b43_radio_2064_init
	b	LBB0_3
LBB0_2:
	mov	w0, #1
	bl	_B43_WARN_ON
LBB0_3:
	ldr	w0, [x19, #8]
	bl	_b43_current_band
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_b43_phy_lcn_tx_pwr_ctl_init
LBB0_5:
	ldr	w1, [x19, #4]
	mov	x0, x19
	bl	_b43_switch_channel
	mov	x0, x20
	mov	w1, #0
	mov	w2, #15
	mov	w3, #9
	bl	_bcma_chipco_regctl_maskset
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	mov	w3, #56797
	movk	w3, #973, lsl #16
	bl	_bcma_chipco_chipctl_maskset
	mov	x0, x19
	mov	w1, #1096
	mov	w2, #16384
	bl	_b43_phy_set
	mov	w0, #100
	bl	_udelay
	mov	x0, x19
	mov	w1, #1096
	mov	w2, #-16385
	bl	_b43_phy_mask
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.no_dead_strip	_b43_phy_lcn_op_init
.subsections_via_symbols
