	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_workarounds_nphy_rev1
_wlc_phy_workarounds_nphy_rev1:         ## @wlc_phy_workarounds_nphy_rev1
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movups	l___const.wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_dlys+12(%rip), %xmm0
	movups	%xmm0, -68(%rbp)
	movaps	l___const.wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_dlys(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	8(%rdi), %rax
	movq	_BFL2_SKWRKFEM_BRD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	cmpl	$139, 4(%rax)
	jne	LBB0_5
LBB0_2:
	leaq	-80(%rbp), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	l___const.wlc_phy_workarounds_nphy_rev1.war_dlys(%rip), %r12
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	movl	%eax, -80(%rbp,%rbx,4)
	incq	%rbx
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_4
LBB0_5:
	movl	24(%r15), %edi
	callq	_CHSPEC_IS5G
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	cmpq	$0, 16(%r15)
	je	LBB0_8
## %bb.7:
	movq	_RADIO_2055_CORE1_TX_RF_SPARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$247, %edx
	callq	_and_radio_reg
	movq	_RADIO_2055_CORE2_TX_RF_SPARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$247, %edx
	callq	_and_radio_reg
	jmp	LBB0_9
LBB0_8:
	movq	_RADIO_2055_CORE1_TX_RF_SPARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_or_radio_reg
	movq	_RADIO_2055_CORE2_TX_RF_SPARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_or_radio_reg
LBB0_9:
	movl	$10, -84(%rbp)
	leaq	-84(%rbp), %rbx
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$16, %r8d
	movq	%rbx, %r9
	callq	_wlc_phy_table_write_nphy
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	movq	%rbx, %r9
	callq	_wlc_phy_table_write_nphy
	movl	(%r15), %edi
	movl	$3, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	$52650, -84(%rbp)               ## imm = 0xCDAA
	leaq	-84(%rbp), %rbx
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$16, %r8d
	movq	%rbx, %r9
	callq	_wlc_phy_table_write_nphy
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$18, %ecx
	movl	$16, %r8d
	movq	%rbx, %r9
	callq	_wlc_phy_table_write_nphy
LBB0_11:
	movl	(%r15), %edi
	movl	$2, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	$0, -84(%rbp)
	leaq	-84(%rbp), %r14
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$8, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$24, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movl	$31403, -84(%rbp)               ## imm = 0x7AAB
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$7, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$23, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movl	$2048, -84(%rbp)                ## imm = 0x800
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$6, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$22, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
LBB0_13:
	movq	%r15, %rdi
	movl	$248, %esi
	movl	$728, %edx                      ## imm = 0x2D8
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$249, %esi
	movl	$769, %edx                      ## imm = 0x301
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$250, %esi
	movl	$728, %edx                      ## imm = 0x2D8
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$251, %esi
	movl	$769, %edx                      ## imm = 0x301
	callq	_write_phy_reg
	movq	_NPHY_RFSEQ_RX2TX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	_wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_events(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	%rax, %r8
	callq	_wlc_phy_set_rfseq_nphy
	movq	_NPHY_RFSEQ_TX2RX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	_wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_events(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	leaq	_wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_dlys(%rip), %rcx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	%rax, %r8
	callq	_wlc_phy_set_rfseq_nphy
	movq	%r15, %rdi
	callq	_wlc_phy_workarounds_nphy_gainctrl
	movl	(%r15), %edi
	movl	$2, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	%r15, %rdi
	movl	$160, %esi
	callq	_read_phy_reg
	movq	_NPHY_MLenable@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.15:
	movq	8(%r15), %rax
	movl	8(%rax), %edi
	movq	_MHF3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MHF3_NPHY_MLADV_WAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_BRCM_BAND_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%ecx, %edx
	callq	_wlapi_bmac_mhf
	jmp	LBB0_18
LBB0_16:
	movl	(%r15), %edi
	movl	$2, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	movl	$483, %esi                      ## imm = 0x1E3
	xorl	%edx, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$484, %esi                      ## imm = 0x1E4
	xorl	%edx, %edx
	callq	_write_phy_reg
LBB0_18:
	movl	(%r15), %edi
	movl	$2, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	movl	$144, %esi
	movl	$128, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
LBB0_20:
	movq	%r15, %rdi
	movl	$325, %esi                      ## imm = 0x145
	movl	$293, %edx                      ## imm = 0x125
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$326, %esi                      ## imm = 0x146
	movl	$435, %edx                      ## imm = 0x1B3
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$327, %esi                      ## imm = 0x147
	movl	$261, %edx                      ## imm = 0x105
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$328, %esi                      ## imm = 0x148
	movl	$366, %edx                      ## imm = 0x16E
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$329, %esi                      ## imm = 0x149
	movl	$205, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$330, %esi                      ## imm = 0x14A
	movl	$32, %edx
	callq	_write_phy_reg
	movl	(%r15), %edi
	movl	$3, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	%r15, %rdi
	movl	$322, %esi                      ## imm = 0x142
	movl	$61440, %edx                    ## imm = 0xF000
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$402, %esi                      ## imm = 0x192
	movl	$181, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$403, %esi                      ## imm = 0x193
	movl	$164, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$404, %esi                      ## imm = 0x194
	xorl	%edx, %edx
	callq	_write_phy_reg
LBB0_22:
	movl	(%r15), %edi
	movl	$2, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	_NPHY_FORCESIG_DECODEGATEDCLKS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$545, %esi                      ## imm = 0x221
	movl	%ecx, %edx
	callq	_mod_phy_reg
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_events
_wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_events:
	.long	132                             ## 0x84
	.long	131                             ## 0x83
	.long	129                             ## 0x81
	.long	134                             ## 0x86
	.long	130                             ## 0x82
	.long	128                             ## 0x80
	.long	133                             ## 0x85

	.p2align	4                               ## @__const.wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_dlys
l___const.wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_dlys:
	.long	8                               ## 0x8
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	60                              ## 0x3c
	.long	1                               ## 0x1

	.p2align	4                               ## @wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_events
_wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_events:
	.long	132                             ## 0x84
	.long	133                             ## 0x85
	.long	128                             ## 0x80
	.long	130                             ## 0x82
	.long	129                             ## 0x81
	.long	131                             ## 0x83
	.long	134                             ## 0x86

	.p2align	4                               ## @wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_dlys
_wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_dlys:
	.long	8                               ## 0x8
	.long	6                               ## 0x6
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	6                               ## 0x6
	.long	1                               ## 0x1

	.comm	_BFL2_SKWRKFEM_BRD,4,2          ## @BFL2_SKWRKFEM_BRD
	.p2align	4                               ## @__const.wlc_phy_workarounds_nphy_rev1.war_dlys
l___const.wlc_phy_workarounds_nphy_rev1.war_dlys:
	.long	1                               ## 0x1
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	20                              ## 0x14
	.long	1                               ## 0x1

	.comm	_RADIO_2055_CORE1_TX_RF_SPARE,4,2 ## @RADIO_2055_CORE1_TX_RF_SPARE
	.comm	_RADIO_2055_CORE2_TX_RF_SPARE,4,2 ## @RADIO_2055_CORE2_TX_RF_SPARE
	.comm	_NPHY_RFSEQ_RX2TX,4,2           ## @NPHY_RFSEQ_RX2TX
	.comm	_NPHY_RFSEQ_TX2RX,4,2           ## @NPHY_RFSEQ_TX2RX
	.comm	_NPHY_MLenable,4,2              ## @NPHY_MLenable
	.comm	_MHF3,4,2                       ## @MHF3
	.comm	_MHF3_NPHY_MLADV_WAR,4,2        ## @MHF3_NPHY_MLADV_WAR
	.comm	_BRCM_BAND_ALL,4,2              ## @BRCM_BAND_ALL
	.comm	_NPHY_FORCESIG_DECODEGATEDCLKS,4,2 ## @NPHY_FORCESIG_DECODEGATEDCLKS
	.no_dead_strip	_wlc_phy_workarounds_nphy_rev1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_workarounds_nphy_rev1
_wlc_phy_workarounds_nphy_rev1:         ; @wlc_phy_workarounds_nphy_rev1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, l___const.wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_dlys@PAGE
Lloh4:
	add	x8, x8, l___const.wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_dlys@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldur	q0, [x8, #12]
	stur	q0, [sp, #28]
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
Lloh5:
	adrp	x10, _BFL2_SKWRKFEM_BRD@GOTPAGE
Lloh6:
	ldr	x10, [x10, _BFL2_SKWRKFEM_BRD@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x8, #4]
	cmp	w8, #139
	b.ne	LBB0_5
LBB0_2:
	add	x20, sp, #16
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, #0
Lloh8:
	adrp	x22, l___const.wlc_phy_workarounds_nphy_rev1.war_dlys@PAGE
Lloh9:
	add	x22, x22, l___const.wlc_phy_workarounds_nphy_rev1.war_dlys@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x21, #2
	ldr	w9, [x22, x8]
	str	w9, [x20, x8]
	add	x21, x21, #1
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.lo	LBB0_4
LBB0_5:
	ldr	w0, [x19, #24]
	bl	_CHSPEC_IS5G
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.7:
Lloh10:
	adrp	x8, _RADIO_2055_CORE1_TX_RF_SPARE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RADIO_2055_CORE1_TX_RF_SPARE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #247
	bl	_and_radio_reg
Lloh13:
	adrp	x8, _RADIO_2055_CORE2_TX_RF_SPARE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RADIO_2055_CORE2_TX_RF_SPARE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #247
	bl	_and_radio_reg
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x8, _RADIO_2055_CORE1_TX_RF_SPARE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RADIO_2055_CORE1_TX_RF_SPARE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	bl	_or_radio_reg
Lloh19:
	adrp	x8, _RADIO_2055_CORE2_TX_RF_SPARE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RADIO_2055_CORE2_TX_RF_SPARE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	bl	_or_radio_reg
LBB0_9:
	mov	w8, #10
	str	w8, [sp, #12]
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #0
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #16
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w0, [x19]
	mov	w1, #3
	bl	_NREV_LT
	cbz	x0, LBB0_11
; %bb.10:
	mov	w8, #52650
	str	w8, [sp, #12]
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #2
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #18
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
LBB0_11:
	ldr	w0, [x19]
	mov	w1, #2
	bl	_NREV_LT
	cbz	x0, LBB0_13
; %bb.12:
	str	wzr, [sp, #12]
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #8
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #24
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	mov	w8, #31403
	str	w8, [sp, #12]
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #7
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #23
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	mov	w8, #2048
	str	w8, [sp, #12]
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #6
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	add	x5, sp, #12
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #22
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
LBB0_13:
	mov	x0, x19
	mov	w1, #248
	mov	w2, #728
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #249
	mov	w2, #769
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #250
	mov	w2, #728
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #251
	mov	w2, #769
	bl	_write_phy_reg
Lloh22:
	adrp	x8, _NPHY_RFSEQ_RX2TX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NPHY_RFSEQ_RX2TX@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
Lloh25:
	adrp	x21, _wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_events@PAGE
Lloh26:
	add	x21, x21, _wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_events@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x4, x0
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_wlc_phy_set_rfseq_nphy
Lloh27:
	adrp	x8, _NPHY_RFSEQ_TX2RX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NPHY_RFSEQ_TX2RX@GOTPAGEOFF]
Lloh29:
	ldr	w20, [x8]
Lloh30:
	adrp	x21, _wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_events@PAGE
Lloh31:
	add	x21, x21, _wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_events@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x4, x0
Lloh32:
	adrp	x3, _wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_dlys@PAGE
Lloh33:
	add	x3, x3, _wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_dlys@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_wlc_phy_set_rfseq_nphy
	mov	x0, x19
	bl	_wlc_phy_workarounds_nphy_gainctrl
	ldr	w0, [x19]
	mov	w1, #2
	bl	_NREV_LT
	cbz	x0, LBB0_16
; %bb.14:
	mov	x0, x19
	mov	w1, #160
	bl	_read_phy_reg
Lloh34:
	adrp	x8, _NPHY_MLenable@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NPHY_MLenable@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_18
; %bb.15:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #8]
Lloh37:
	adrp	x8, _MHF3@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MHF3@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _MHF3_NPHY_MLADV_WAR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MHF3_NPHY_MLADV_WAR@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x8, _BRCM_BAND_ALL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BRCM_BAND_ALL@GOTPAGEOFF]
Lloh45:
	ldr	w4, [x8]
	mov	x3, x2
	bl	_wlapi_bmac_mhf
	b	LBB0_18
LBB0_16:
	ldr	w0, [x19]
	mov	w1, #2
	bl	_NREV_IS
	cbz	x0, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	w1, #483
	mov	w2, #0
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #484
	mov	w2, #0
	bl	_write_phy_reg
LBB0_18:
	ldr	w0, [x19]
	mov	w1, #2
	bl	_NREV_LT
	cbz	x0, LBB0_20
; %bb.19:
	mov	x0, x19
	mov	w1, #144
	mov	w2, #128
	mov	w3, #0
	bl	_mod_phy_reg
LBB0_20:
	mov	x0, x19
	mov	w1, #325
	mov	w2, #293
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #326
	mov	w2, #435
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #327
	mov	w2, #261
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #328
	mov	w2, #366
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #329
	mov	w2, #205
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #330
	mov	w2, #32
	bl	_write_phy_reg
	ldr	w0, [x19]
	mov	w1, #3
	bl	_NREV_LT
	cbz	x0, LBB0_22
; %bb.21:
	mov	x0, x19
	mov	w1, #322
	mov	w2, #61440
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #402
	mov	w2, #181
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #403
	mov	w2, #164
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #404
	mov	w2, #0
	bl	_write_phy_reg
LBB0_22:
	ldr	w0, [x19]
	mov	w1, #2
	bl	_NREV_IS
	cbz	x0, LBB0_24
; %bb.23:
Lloh46:
	adrp	x8, _NPHY_FORCESIG_DECODEGATEDCLKS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _NPHY_FORCESIG_DECODEGATEDCLKS@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #545
	mov	x3, x2
	bl	_mod_phy_reg
LBB0_24:
	ldur	x8, [x29, #-40]
Lloh49:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh50:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_events
_wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_events:
	.long	132                             ; 0x84
	.long	131                             ; 0x83
	.long	129                             ; 0x81
	.long	134                             ; 0x86
	.long	130                             ; 0x82
	.long	128                             ; 0x80
	.long	133                             ; 0x85

	.p2align	2                               ; @__const.wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_dlys
l___const.wlc_phy_workarounds_nphy_rev1.rfseq_rx2tx_dlys:
	.long	8                               ; 0x8
	.long	6                               ; 0x6
	.long	6                               ; 0x6
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	60                              ; 0x3c
	.long	1                               ; 0x1

	.p2align	2                               ; @wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_events
_wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_events:
	.long	132                             ; 0x84
	.long	133                             ; 0x85
	.long	128                             ; 0x80
	.long	130                             ; 0x82
	.long	129                             ; 0x81
	.long	131                             ; 0x83
	.long	134                             ; 0x86

	.p2align	2                               ; @wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_dlys
_wlc_phy_workarounds_nphy_rev1.rfseq_tx2rx_dlys:
	.long	8                               ; 0x8
	.long	6                               ; 0x6
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	6                               ; 0x6
	.long	1                               ; 0x1

	.comm	_BFL2_SKWRKFEM_BRD,4,2          ; @BFL2_SKWRKFEM_BRD
	.p2align	2                               ; @__const.wlc_phy_workarounds_nphy_rev1.war_dlys
l___const.wlc_phy_workarounds_nphy_rev1.war_dlys:
	.long	1                               ; 0x1
	.long	6                               ; 0x6
	.long	6                               ; 0x6
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	20                              ; 0x14
	.long	1                               ; 0x1

	.comm	_RADIO_2055_CORE1_TX_RF_SPARE,4,2 ; @RADIO_2055_CORE1_TX_RF_SPARE
	.comm	_RADIO_2055_CORE2_TX_RF_SPARE,4,2 ; @RADIO_2055_CORE2_TX_RF_SPARE
	.comm	_NPHY_RFSEQ_RX2TX,4,2           ; @NPHY_RFSEQ_RX2TX
	.comm	_NPHY_RFSEQ_TX2RX,4,2           ; @NPHY_RFSEQ_TX2RX
	.comm	_NPHY_MLenable,4,2              ; @NPHY_MLenable
	.comm	_MHF3,4,2                       ; @MHF3
	.comm	_MHF3_NPHY_MLADV_WAR,4,2        ; @MHF3_NPHY_MLADV_WAR
	.comm	_BRCM_BAND_ALL,4,2              ; @BRCM_BAND_ALL
	.comm	_NPHY_FORCESIG_DECODEGATEDCLKS,4,2 ; @NPHY_FORCESIG_DECODEGATEDCLKS
	.no_dead_strip	_wlc_phy_workarounds_nphy_rev1
.subsections_via_symbols
