	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_lcnphy_a1
_wlc_lcnphy_a1:                         ## @wlc_lcnphy_a1
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$131, %edi
	movl	$4, %esi
	callq	_kmalloc_array
	testq	%rax, %rax
	je	LBB0_25
## %bb.1:
	movq	%rax, %r14
	movl	(%rbx), %edx
	movl	$20, %edi
	movl	$4, %esi
	callq	_kmalloc_array
	testq	%rax, %rax
	je	LBB0_24
## %bb.2:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$1754, %esi                     ## imm = 0x6DA
	callq	_read_phy_reg
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$1755, %esi                     ## imm = 0x6DB
	callq	_read_phy_reg
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	_RADIO_2064_REG026@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_read_radio_reg
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2365, %esi                     ## imm = 0x93D
	movl	$192, %edx
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$3750, %esi                     ## imm = 0xEA6
	movl	$88, %edx
	xorl	%ecx, %ecx
	callq	_wlc_lcnphy_start_tx_tone
	movq	%rbx, %rdi
	movl	$1754, %esi                     ## imm = 0x6DA
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1755, %esi                     ## imm = 0x6DB
	movl	$3, %edx
	callq	_or_phy_reg
	movq	%rbx, %rdi
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	movq	%r15, %rsi
	callq	_wlc_lcnphy_tx_iqlo_loopback
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_udelay
	movq	%rbx, %rdi
	movl	$2360, %esi                     ## imm = 0x938
	callq	_read_phy_reg
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$1239, %esi                     ## imm = 0x4D7
	callq	_read_phy_reg
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$1240, %esi                     ## imm = 0x4D8
	callq	_read_phy_reg
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2360, %esi                     ## imm = 0x938
	movl	$4, %edx
	callq	_or_phy_reg
	movq	%rbx, %rdi
	movl	$1239, %esi                     ## imm = 0x4D7
	movl	$4, %edx
	callq	_or_phy_reg
	movq	%rbx, %rdi
	movl	$1239, %esi                     ## imm = 0x4D7
	movl	$8, %edx
	callq	_or_phy_reg
	movq	%rbx, %rdi
	movl	$1239, %esi                     ## imm = 0x4D7
	movl	$28672, %edx                    ## imm = 0x7000
	movl	$8192, %ecx                     ## imm = 0x2000
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1240, %esi                     ## imm = 0x4D8
	movl	$1, %edx
	callq	_or_phy_reg
	movq	%rbx, %rdi
	movl	$1240, %esi                     ## imm = 0x4D8
	movl	$2, %edx
	callq	_or_phy_reg
	movq	%rbx, %rdi
	movl	$1240, %esi                     ## imm = 0x4D8
	movl	$4092, %edx                     ## imm = 0xFFC
	movl	$2280, %ecx                     ## imm = 0x8E8
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1240, %esi                     ## imm = 0x4D8
	movl	$28672, %edx                    ## imm = 0x7000
	movl	$28672, %ecx                    ## imm = 0x7000
	callq	_mod_phy_reg
	movq	_lcnphy_spb_tone_3750@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	sete	%cl
	testl	%r13d, %r13d
	leal	4(%rcx,%rcx,4), %edx
	cmovnel	%r13d, %edx
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movl	$1, %r13d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	leal	3(%rcx,%rcx,4), %ecx
	cmovnel	%edx, %ecx
	movq	(%rax), %r15
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_wlc_lcnphy_get_cc
	movq	%rax, %rcx
	shrq	$32, %rcx
	cmpl	$2, %r12d
	jne	LBB0_4
## %bb.3:
	movq	%rcx, %rdx
	movq	%rax, %rcx
	addl	$-256, %eax
	cmpl	$127, %ecx
	cmovlel	%ecx, %eax
	leal	-256(%rdx), %ecx
	cmpl	$127, %edx
	cmovlel	%edx, %ecx
                                        ## kill: def $eax killed $eax def $rax
                                        ## kill: def $ecx killed $ecx def $rcx
LBB0_4:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%rax, %rdx
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, %rbx
	callq	_wlc_lcnphy_set_cc
	movl	$20, %edi
	callq	_udelay
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_23
## %bb.5:
	movq	%rbx, %rax
	movb	$29, %dl
	movl	%r12d, %ecx
	shrb	%cl, %dl
	movslq	%r12d, %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movl	$0, -88(%rbp)                   ## 4-byte Folded Spill
	andb	$1, %dl
	movb	%dl, -45(%rbp)                  ## 1-byte Spill
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
                                        ##       Child Loop BB0_17 Depth 3
                                        ##         Child Loop BB0_18 Depth 4
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	cmpl	$4, %r12d
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	ja	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, -45(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-160(%rbp), %rax                ## 8-byte Reload
	leaq	l_switch.table.wlc_lcnphy_a1(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$2365, %esi                     ## imm = 0x93D
	callq	_read_phy_reg
	addl	%eax, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	$7, %r13d
	movb	$1, %sil
	movl	$0, -96(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	xorl	%edx, %edx
	xorl	%esi, %esi
	cmpl	$1, %ecx
	setne	%dl
	sete	%sil
	subl	%esi, %r13d
	leal	(%rdx,%r13), %ecx
	addl	$-7, %ecx
	addl	%r13d, %edx
	xorl	%esi, %esi
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	cmpl	$-7, %ecx
	jbe	LBB0_13
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	movq	_RADIO_2064_REG026@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edx
	shll	$4, %edx
	orl	%r13d, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_write_radio_reg
	movl	$50, %edi
	callq	_udelay
	movl	$0, 520(%r14)
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	movl	$2, %r8d
	callq	_wlc_lcnphy_samp_cap
	movl	520(%r14), %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	sete	%al
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpl	%eax, -96(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-144(%rbp), %r13                ## 8-byte Reload
	testl	%r13d, %r13d
	js	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%r13d, %eax
	negl	%eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	negl	%ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movl	$1, %esi
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movl	%eax, %edx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_17 Depth 3
                                        ##         Child Loop BB0_18 Depth 4
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	addl	%edx, %eax
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %eax
	cmovll	%eax, %edx
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	cmpl	%edi, %eax
	cmovll	%edi, %edx
	movl	-124(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %edi
	movl	%edx, -128(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_16 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_18 Depth 4
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	addl	%edi, %eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %eax
	cmovll	%esi, %ecx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	callq	_wlc_lcnphy_set_cc
	movl	$20, %edi
	callq	_udelay
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	movl	$2, %r8d
	callq	_wlc_lcnphy_samp_cap
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_16 Depth=2
                                        ##       Parent Loop BB0_17 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	%r13d, %r8d
	andl	$30, %r8d
	leal	(%r13,%r13), %edx
	andl	$28, %edx
	movq	%r13, %r9
	orq	$1, %r9
	movl	%r9d, %ebx
	andl	$31, %ebx
	leal	(%r9,%r9), %esi
	andl	$30, %esi
	testl	%r12d, %r12d
	cmovneq	%r8, %rdx
	cmovneq	%rbx, %rsi
	movl	(%r14,%r13,4), %ebx
	movl	(%r15,%rdx,8), %edi
	imull	%ebx, %edi
	addl	%ecx, %edi
	imull	4(%r15,%rdx,8), %ebx
	addl	%eax, %ebx
	movl	(%r14,%r9,4), %eax
	movl	(%r15,%rsi,8), %ecx
	imull	%eax, %ecx
	imull	4(%r15,%rsi,8), %eax
	addl	%edi, %ecx
	addl	%ebx, %eax
	addq	$2, %r13
	cmpq	$128, %r13
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=3
	sarl	$10, %ecx
	sarl	$10, %eax
	imull	%ecx, %ecx
	imull	%eax, %eax
	addl	%ecx, %eax
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	setne	%cl
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %eax
	setl	%dl
	orb	%cl, %dl
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-128(%rbp), %edx                ## 4-byte Reload
	cmovnel	%edx, %ecx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	cmovnel	-68(%rbp), %ebx                 ## 4-byte Folded Reload
	cmovnel	%eax, %esi
	movl	%esi, -88(%rbp)                 ## 4-byte Spill
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leal	(%rdi,%r13), %eax
	xorl	%esi, %esi
	testl	%edi, %edi
	movl	%eax, %edi
	jle	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	leal	(%rdx,%r13), %eax
	xorl	%esi, %esi
	testl	%edx, %edx
	movl	%eax, %edx
	jle	LBB0_16
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%ecx, %edx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	callq	_wlc_lcnphy_set_cc
	movl	$20, %edi
	callq	_udelay
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	$2, %r13d
	jb	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	sarl	%r13d
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	movl	%ebx, %eax
	movl	%esi, %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	cmpl	-76(%rbp), %edx                 ## 4-byte Folded Reload
	jl	LBB0_6
LBB0_23:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_wlc_lcnphy_tx_iqlo_loopback_cleanup
	movq	%rbx, %rdi
	callq	_wlc_lcnphy_stop_tx_tone
	movq	%rbx, %rdi
	movl	$1754, %esi                     ## imm = 0x6DA
	movl	-116(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1755, %esi                     ## imm = 0x6DB
	movl	-112(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$2360, %esi                     ## imm = 0x938
	movl	-108(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1239, %esi                     ## imm = 0x4D7
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1240, %esi                     ## imm = 0x4D8
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	_RADIO_2064_REG026@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-120(%rbp), %edx                ## 4-byte Reload
	callq	_write_radio_reg
	movq	%r15, %rdi
	callq	_kfree
LBB0_24:
	movq	%r14, %rdi
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_25:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_RADIO_2064_REG026,4,2          ## @RADIO_2064_REG026
	.comm	_lcnphy_spb_tone_3750,8,3       ## @lcnphy_spb_tone_3750
	.no_dead_strip	_wlc_lcnphy_a1
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.wlc_lcnphy_a1
l_switch.table.wlc_lcnphy_a1:
	.long	511                             ## 0x1ff
	.long	511                             ## 0x1ff
	.long	127                             ## 0x7f
	.long	15                              ## 0xf
	.long	15                              ## 0xf

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_lcnphy_a1
_wlc_lcnphy_a1:                         ; @wlc_lcnphy_a1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x24, x2
	mov	x22, x1
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x19, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x19, [x19, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w0, #131
	mov	w1, #4
	bl	_kmalloc_array
	cbz	x0, LBB0_22
; %bb.1:
	mov	x20, x0
	ldr	w2, [x19]
	mov	w25, #4
	mov	w0, #20
	mov	w1, #4
	bl	_kmalloc_array
	cbz	x0, LBB0_21
; %bb.2:
	mov	x21, x0
	ldr	x28, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x28
	mov	w1, #1754
	bl	_read_phy_reg
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x28
	mov	w1, #1755
	bl	_read_phy_reg
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
Lloh2:
	adrp	x8, _RADIO_2064_REG026@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RADIO_2064_REG026@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x28
	bl	_read_radio_reg
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x28
	mov	w1, #2365
	mov	w2, #192
	bl	_write_phy_reg
	mov	x0, x28
	mov	w1, #3750
	mov	w2, #88
	mov	w3, #0
	bl	_wlc_lcnphy_start_tx_tone
	mov	x0, x28
	mov	w1, #1754
	mov	w2, #65535
	bl	_write_phy_reg
	mov	w19, #3
	mov	x0, x28
	mov	w1, #1755
	mov	w2, #3
	bl	_or_phy_reg
	mov	x0, x28
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	mov	x1, x21
	bl	_wlc_lcnphy_tx_iqlo_loopback
	mov	w0, #500
	bl	_udelay
	mov	x0, x28
	mov	w1, #2360
	bl	_read_phy_reg
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x28
	mov	w1, #1239
	bl	_read_phy_reg
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x28
	mov	w1, #1240
	bl	_read_phy_reg
	str	w0, [sp]                        ; 4-byte Folded Spill
	mov	x0, x28
	mov	w1, #2360
	mov	w2, #4
	bl	_or_phy_reg
	mov	x0, x28
	mov	w1, #1239
	mov	w2, #4
	bl	_or_phy_reg
	mov	w26, #8
	mov	x0, x28
	mov	w1, #1239
	mov	w2, #8
	bl	_or_phy_reg
	mov	x0, x28
	mov	w1, #1239
	mov	w2, #28672
	mov	w3, #8192
	bl	_mod_phy_reg
	mov	w27, #1
	mov	x0, x28
	mov	w1, #1240
	mov	w2, #1
	bl	_or_phy_reg
	mov	x0, x28
	mov	w1, #1240
	mov	w2, #2
	bl	_or_phy_reg
	mov	x0, x28
	mov	w1, #1240
	mov	w2, #4092
	mov	w3, #2280
	bl	_mod_phy_reg
	mov	x0, x28
	mov	w1, #1240
	mov	w2, #28672
	mov	w3, #28672
	bl	_mod_phy_reg
Lloh5:
	adrp	x8, _lcnphy_spb_tone_3750@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lcnphy_spb_tone_3750@GOTPAGEOFF]
Lloh7:
	ldr	x21, [x8]
	mov	w8, #9
	cmp	w22, #0
	csel	w8, w8, w25, eq
	csel	w9, w26, w19, eq
	cmp	w24, #0
	csel	w24, w8, w24, eq
	cmp	w23, #0
	csel	w19, w9, w23, eq
	mov	x0, x28
	mov	x1, x22
	bl	_wlc_lcnphy_get_cc
	lsr	x8, x0, #32
	sub	w9, w0, #256
	cmp	w0, #127
	csel	w9, w9, w0, gt
	sub	w10, w8, #256
	cmp	w8, #127
	csel	w10, w10, w8, gt
	cmp	w22, #2
	csel	w2, w0, w9, ne
	csel	w3, w8, w10, ne
	mov	x0, x28
	mov	x1, x22
	str	w2, [sp, #56]                   ; 4-byte Folded Spill
	str	w3, [sp, #64]                   ; 4-byte Folded Spill
	bl	_wlc_lcnphy_set_cc
	mov	w0, #20
	bl	_udelay
	str	w24, [sp, #44]                  ; 4-byte Folded Spill
	cmp	w24, #1
	b.lt	LBB0_20
; %bb.3:
	mov	w26, #0
	str	wzr, [sp, #48]                  ; 4-byte Folded Spill
	str	wzr, [sp, #88]                  ; 4-byte Folded Spill
	mov	w23, #0
	mov	w24, #0
	lsl	w27, w27, w19
	mov	w8, #29
	lsr	w8, w8, w22
	sxtw	x9, w22
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	and	w8, w8, #0x1
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;         Child Loop BB0_15 Depth 4
	str	w27, [sp, #68]                  ; 4-byte Folded Spill
	cmp	w22, #4
	b.hi	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
Lloh8:
	adrp	x9, l_switch.table.wlc_lcnphy_a1@PAGE
Lloh9:
	add	x9, x9, l_switch.table.wlc_lcnphy_a1@PAGEOFF
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [sp, #88]                   ; 4-byte Folded Spill
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	w1, #2365
	bl	_read_phy_reg
	mov	w28, #0
	lsl	w8, w0, #1
	stur	w8, [x29, #-84]                 ; 4-byte Folded Spill
	mov	w19, #7
	mov	w25, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	w25, #0
	cmp	w9, #1
	cset	w10, eq
	sub	w10, w19, w10
	cmp	w9, #1
	cinc	w19, w10, ne
	sub	w9, w19, #7
	mov	x28, x8
	cmn	w9, #7
	b.ls	LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
Lloh10:
	adrp	x8, _RADIO_2064_REG026@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RADIO_2064_REG026@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	orr	w2, w19, w19, lsl #4
	ldr	x27, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x27
	bl	_write_radio_reg
	mov	w0, #50
	bl	_udelay
	str	wzr, [x20, #520]
	mov	x0, x27
	mov	w1, #1
	ldur	w2, [x29, #-84]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	w4, #2
	bl	_wlc_lcnphy_samp_cap
	ldr	w9, [x20, #520]
	cmp	w9, #1
	cset	w8, eq
	tbnz	w25, #0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w28, w8
	b.eq	LBB0_8
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w27, [sp, #68]                  ; 4-byte Folded Reload
	tbnz	w27, #31, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	neg	w9, w27
	ldr	w8, [sp, #88]                   ; 4-byte Folded Reload
	neg	w8, w8
	str	w8, [sp, #84]                   ; 4-byte Folded Spill
	mov	w25, #1
	str	w9, [sp, #52]                   ; 4-byte Folded Spill
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;         Child Loop BB0_15 Depth 4
	ldp	w19, w8, [sp, #52]              ; 8-byte Folded Reload
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	add	w8, w9, w8
	ldp	w10, w9, [sp, #84]              ; 8-byte Folded Reload
	cmp	w8, w9
	csel	w9, w8, w9, lt
	cmp	w8, w10
	csel	w2, w10, w9, lt
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_13 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_15 Depth 4
	stur	w23, [x29, #-84]                ; 4-byte Folded Spill
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	add	w8, w19, w8
	ldp	w10, w9, [sp, #84]              ; 8-byte Folded Reload
	cmp	w8, w9
	csel	w9, w8, w9, lt
	cmp	w8, w10
	csel	w28, w10, w9, lt
	ldr	x27, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x27
	mov	x1, x22
	mov	x23, x2
	mov	x3, x28
	bl	_wlc_lcnphy_set_cc
	mov	w0, #20
	bl	_udelay
	mov	x0, x27
	mov	w1, #0
	mov	w2, #0
	mov	x3, x20
	mov	w4, #2
	bl	_wlc_lcnphy_samp_cap
	mov	x8, #0
	movi.2d	v0, #0000000000000000
	mov	w9, #2
	movi.2d	v1, #0000000000000000
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_13 Depth=2
                                        ;       Parent Loop BB0_14 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	add	w10, w8, #1
	and	x11, x8, #0x1e
	and	x10, x10, #0x1f
	sub	w12, w9, #2
	and	x12, x12, #0x1c
	and	x13, x9, #0x1e
	cmp	w22, #0
	csel	x11, x12, x11, eq
	csel	x10, x13, x10, eq
	ldr	d2, [x21, x11, lsl #3]
	ldr	d3, [x21, x10, lsl #3]
	add	x10, x20, x8, lsl #2
	ld1r.2s	{ v4 }, [x10], #4
	ld1r.2s	{ v5 }, [x10]
	mla.2s	v1, v4, v2
	mla.2s	v0, v5, v3
	add	x8, x8, #2
	add	x9, x9, #4
	cmp	x8, #128
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=3
	add.2s	v0, v0, v1
	sshr.2s	v0, v0, #10
	mul.2s	v0, v0, v0
	dup.2s	v1, v0[1]
	add.2s	v0, v1, v0
	fmov	w8, s0
	cmp	w25, #0
	ccmp	w8, w26, #8, eq
	cset	w9, lt
	cmp	w9, #0
	mov	x2, x23
	csel	w24, w23, w24, ne
	ldur	w23, [x29, #-84]                ; 4-byte Folded Reload
	csel	w23, w28, w23, ne
	csel	w26, w8, w26, ne
	ldr	w27, [sp, #68]                  ; 4-byte Folded Reload
	add	w8, w19, w27
	mov	w25, #0
	cmp	w19, #1
	mov	x19, x8
	b.lt	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	w25, #0
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	add	w8, w9, w27
	cmp	w9, #1
	mov	x9, x8
	b.lt	LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x22
	mov	x2, x24
	mov	x3, x23
	bl	_wlc_lcnphy_set_cc
	mov	w0, #20
	bl	_udelay
	cmp	w27, #2
	b.lo	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	asr	w27, w27, #1
	ldp	w8, w9, [sp, #44]               ; 8-byte Folded Reload
	add	w9, w9, #1
	str	w23, [sp, #64]                  ; 4-byte Folded Spill
	str	w24, [sp, #56]                  ; 4-byte Folded Spill
	str	w9, [sp, #48]                   ; 4-byte Folded Spill
	cmp	w9, w8
	b.lt	LBB0_4
LBB0_20:
	ldr	x19, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x19
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x21
	bl	_wlc_lcnphy_tx_iqlo_loopback_cleanup
	mov	x0, x19
	bl	_wlc_lcnphy_stop_tx_tone
	mov	x0, x19
	mov	w1, #1754
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1755
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #2360
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1239
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1240
	ldr	w2, [sp]                        ; 4-byte Folded Reload
	bl	_write_phy_reg
Lloh13:
	adrp	x8, _RADIO_2064_REG026@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RADIO_2064_REG026@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_write_radio_reg
	mov	x0, x21
	bl	_kfree
LBB0_21:
	mov	x0, x20
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	b	_kfree
LBB0_22:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_RADIO_2064_REG026,4,2          ; @RADIO_2064_REG026
	.comm	_lcnphy_spb_tone_3750,8,3       ; @lcnphy_spb_tone_3750
	.no_dead_strip	_wlc_lcnphy_a1
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.wlc_lcnphy_a1
l_switch.table.wlc_lcnphy_a1:
	.long	511                             ; 0x1ff
	.long	511                             ; 0x1ff
	.long	127                             ; 0x7f
	.long	15                              ; 0xf
	.long	15                              ; 0xf

.subsections_via_symbols
