	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_radio_2064_init
_wlc_radio_2064_init:                   ## @wlc_radio_2064_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_lcnphy_radio_regs_2064@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpl	$65535, (%r15)                  ## imm = 0xFFFF
	jne	LBB0_1
LBB0_9:
	movq	_RADIO_2064_REG032@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	$98, %edx
	callq	_write_radio_reg
	movq	_RADIO_2064_REG033@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$25, %edx
	callq	_write_radio_reg
	movq	_RADIO_2064_REG090@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_write_radio_reg
	movq	_RADIO_2064_REG010@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movl	8(%r12), %edi
	movl	$1, %esi
	callq	_LCNREV_IS
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_RADIO_2064_REG060@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$127, %edx
	callq	_write_radio_reg
	movq	_RADIO_2064_REG061@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$114, %edx
	callq	_write_radio_reg
	movq	_RADIO_2064_REG062@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$127, %edx
	callq	_write_radio_reg
LBB0_11:
	movq	_RADIO_2064_REG01D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_write_radio_reg
	movq	_RADIO_2064_REG01E@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$6, %edx
	callq	_write_radio_reg
	movq	%r12, %rdi
	movl	$1258, %esi                     ## imm = 0x4EA
	movl	$7, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$1258, %esi                     ## imm = 0x4EA
	movl	$56, %edx
	movl	$8, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$1258, %esi                     ## imm = 0x4EA
	movl	$448, %edx                      ## imm = 0x1C0
	movl	$128, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$1258, %esi                     ## imm = 0x4EA
	movl	$3584, %edx                     ## imm = 0xE00
	movl	$1536, %ecx                     ## imm = 0x600
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$1258, %esi                     ## imm = 0x4EA
	movl	$28672, %edx                    ## imm = 0x7000
	movl	$16384, %ecx                    ## imm = 0x4000
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$1258, %esi                     ## imm = 0x4EA
	movl	$18056, %edx                    ## imm = 0x4688
	callq	_write_phy_reg
	movq	(%r12), %rax
	movq	_BFL_FEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	andl	(%rax), %edx
	sete	%cl
	orl	$2, %ecx
	movq	%r12, %rdi
	movl	$1259, %esi                     ## imm = 0x4EB
	movl	$7, %edx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$1259, %esi                     ## imm = 0x4EB
	movl	$448, %edx                      ## imm = 0x1C0
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$1130, %esi                     ## imm = 0x46A
	movl	$65535, %edx                    ## imm = 0xFFFF
	movl	$25, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wlc_lcnphy_set_tx_locc
	movq	%r12, %rdi
	callq	_wlc_lcnphy_rcal
	movq	%r12, %rdi
	callq	_wlc_lcnphy_rc_cal
	movq	(%r12), %rax
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_13
## %bb.12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%ebx, %ebx
	movq	_RADIO_DEFAULT_CORE@GOTPCREL(%rip), %r13
	movq	%r15, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %esi
	movl	$16383, %eax                    ## imm = 0x3FFF
	andl	%eax, %esi
	orl	(%r13), %esi
	leaq	(%rbx,%rbx,4), %rax
	leaq	(%r15,%rax,8), %rax
	addq	$24, %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_write_radio_reg
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpl	$65535, 40(%r14)                ## imm = 0xFFFF
	leaq	40(%r14), %r14
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r12), %edi
	callq	_CHSPEC_IS5G
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 32(%r14)
	jne	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r14)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %esi
	movl	$16383, %eax                    ## imm = 0x3FFF
	andl	%eax, %esi
	orl	(%r13), %esi
	leaq	8(%r14), %rax
	jmp	LBB0_7
LBB0_13:
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	$111, %edx
	callq	_write_radio_reg
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$25, %edx
	callq	_write_radio_reg
	movq	_RADIO_2064_REG039@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$14, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_radio_reg                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lcnphy_radio_regs_2064,8,3     ## @lcnphy_radio_regs_2064
	.comm	_RADIO_DEFAULT_CORE,4,2         ## @RADIO_DEFAULT_CORE
	.comm	_RADIO_2064_REG032,4,2          ## @RADIO_2064_REG032
	.comm	_RADIO_2064_REG033,4,2          ## @RADIO_2064_REG033
	.comm	_RADIO_2064_REG090,4,2          ## @RADIO_2064_REG090
	.comm	_RADIO_2064_REG010,4,2          ## @RADIO_2064_REG010
	.comm	_RADIO_2064_REG060,4,2          ## @RADIO_2064_REG060
	.comm	_RADIO_2064_REG061,4,2          ## @RADIO_2064_REG061
	.comm	_RADIO_2064_REG062,4,2          ## @RADIO_2064_REG062
	.comm	_RADIO_2064_REG01D,4,2          ## @RADIO_2064_REG01D
	.comm	_RADIO_2064_REG01E,4,2          ## @RADIO_2064_REG01E
	.comm	_BFL_FEM,4,2                    ## @BFL_FEM
	.comm	_RADIO_2064_REG039,4,2          ## @RADIO_2064_REG039
	.no_dead_strip	_wlc_radio_2064_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_radio_2064_init
_wlc_radio_2064_init:                   ; @wlc_radio_2064_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _lcnphy_radio_regs_2064@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lcnphy_radio_regs_2064@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	w8, [x20]
	mov	w21, #65535
	cmp	w8, w21
	b.ne	LBB0_5
LBB0_1:
Lloh3:
	adrp	x20, _RADIO_2064_REG032@GOTPAGE
Lloh4:
	ldr	x20, [x20, _RADIO_2064_REG032@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #98
	bl	_write_radio_reg
Lloh5:
	adrp	x21, _RADIO_2064_REG033@GOTPAGE
Lloh6:
	ldr	x21, [x21, _RADIO_2064_REG033@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #25
	bl	_write_radio_reg
Lloh7:
	adrp	x8, _RADIO_2064_REG090@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RADIO_2064_REG090@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16
	bl	_write_radio_reg
Lloh10:
	adrp	x8, _RADIO_2064_REG010@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RADIO_2064_REG010@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_LCNREV_IS
	cbz	x0, LBB0_3
; %bb.2:
Lloh13:
	adrp	x8, _RADIO_2064_REG060@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RADIO_2064_REG060@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #127
	bl	_write_radio_reg
Lloh16:
	adrp	x8, _RADIO_2064_REG061@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RADIO_2064_REG061@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #114
	bl	_write_radio_reg
Lloh19:
	adrp	x8, _RADIO_2064_REG062@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RADIO_2064_REG062@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #127
	bl	_write_radio_reg
LBB0_3:
Lloh22:
	adrp	x8, _RADIO_2064_REG01D@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RADIO_2064_REG01D@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	w22, #2
	mov	x0, x19
	mov	w2, #2
	bl	_write_radio_reg
Lloh25:
	adrp	x8, _RADIO_2064_REG01E@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RADIO_2064_REG01E@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #6
	bl	_write_radio_reg
	mov	x0, x19
	mov	w1, #1258
	mov	w2, #7
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1258
	mov	w2, #56
	mov	w3, #8
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1258
	mov	w2, #448
	mov	w3, #128
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1258
	mov	w2, #3584
	mov	w3, #1536
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1258
	mov	w2, #28672
	mov	w3, #16384
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1258
	mov	w2, #18056
	bl	_write_phy_reg
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh28:
	adrp	x23, _BFL_FEM@GOTPAGE
Lloh29:
	ldr	x23, [x23, _BFL_FEM@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	cinc	w3, w22, eq
	mov	x0, x19
	mov	w1, #1259
	mov	w2, #7
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1259
	mov	w2, #448
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1130
	mov	w2, #65535
	mov	w3, #25
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #0
	bl	_wlc_lcnphy_set_tx_locc
	mov	x0, x19
	bl	_wlc_lcnphy_rcal
	mov	x0, x19
	bl	_wlc_lcnphy_rc_cal
	ldr	x8, [x19]
	ldr	w8, [x8]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x22, #0
Lloh30:
	adrp	x23, _RADIO_DEFAULT_CORE@GOTPAGE
Lloh31:
	ldr	x23, [x23, _RADIO_DEFAULT_CORE@GOTPAGEOFF]
	mov	w24, #40
	mov	x25, x20
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25]
	and	w8, w8, #0x3fff
	ldr	w9, [x23]
	orr	w1, w8, w9
	madd	x8, x22, x24, x20
	add	x8, x8, #24
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w2, [x8]
	mov	x0, x19
	bl	_write_radio_reg
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	ldr	w8, [x25, #40]!
	cmp	w8, w21
	b.eq	LBB0_1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #12]
	bl	_CHSPEC_IS5G
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25, #32]
	cbnz	x8, LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x25
	ldr	w9, [x8], #8
	and	w9, w9, #0x3fff
	ldr	w10, [x23]
	orr	w1, w9, w10
	b	LBB0_7
LBB0_13:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #111
	bl	_write_radio_reg
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #25
	bl	_write_radio_reg
Lloh32:
	adrp	x8, _RADIO_2064_REG039@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RADIO_2064_REG039@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #14
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_write_radio_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_lcnphy_radio_regs_2064,8,3     ; @lcnphy_radio_regs_2064
	.comm	_RADIO_DEFAULT_CORE,4,2         ; @RADIO_DEFAULT_CORE
	.comm	_RADIO_2064_REG032,4,2          ; @RADIO_2064_REG032
	.comm	_RADIO_2064_REG033,4,2          ; @RADIO_2064_REG033
	.comm	_RADIO_2064_REG090,4,2          ; @RADIO_2064_REG090
	.comm	_RADIO_2064_REG010,4,2          ; @RADIO_2064_REG010
	.comm	_RADIO_2064_REG060,4,2          ; @RADIO_2064_REG060
	.comm	_RADIO_2064_REG061,4,2          ; @RADIO_2064_REG061
	.comm	_RADIO_2064_REG062,4,2          ; @RADIO_2064_REG062
	.comm	_RADIO_2064_REG01D,4,2          ; @RADIO_2064_REG01D
	.comm	_RADIO_2064_REG01E,4,2          ; @RADIO_2064_REG01E
	.comm	_BFL_FEM,4,2                    ; @BFL_FEM
	.comm	_RADIO_2064_REG039,4,2          ; @RADIO_2064_REG039
	.no_dead_strip	_wlc_radio_2064_init
.subsections_via_symbols
