	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_lcnphy_bu_tweaks
_wlc_lcnphy_bu_tweaks:                  ## @wlc_lcnphy_bu_tweaks
	.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
	movl	$2053, %esi                     ## imm = 0x805
	movl	$1, %edx
	callq	_or_phy_reg
	movq	%rbx, %rdi
	movl	$1071, %esi                     ## imm = 0x42F
	movl	$7, %edx
	movl	$3, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$48, %esi
	movl	$7, %edx
	movl	$3, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1044, %esi                     ## imm = 0x414
	movl	$7696, %edx                     ## imm = 0x1E10
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1045, %esi                     ## imm = 0x415
	movl	$1600, %edx                     ## imm = 0x640
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1247, %esi                     ## imm = 0x4DF
	movl	$65280, %edx                    ## imm = 0xFF00
	movl	$-2304, %ecx                    ## imm = 0xF700
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1098, %esi                     ## imm = 0x44A
	movl	$68, %edx
	callq	_or_phy_reg
	movq	%rbx, %rdi
	movl	$1098, %esi                     ## imm = 0x44A
	movl	$128, %edx
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1076, %esi                     ## imm = 0x434
	movl	$255, %edx
	movl	$253, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1056, %esi                     ## imm = 0x420
	movl	$255, %edx
	movl	$16, %ecx
	callq	_mod_phy_reg
	movq	8(%rbx), %rax
	cmpl	$4612, (%rax)                   ## imm = 0x1204
	jl	LBB0_2
## %bb.1:
	movq	_RADIO_2064_REG09B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$240, %edx
	movl	$240, %ecx
	callq	_mod_radio_reg
LBB0_2:
	movq	%rbx, %rdi
	movl	$2006, %esi                     ## imm = 0x7D6
	movl	$2306, %edx                     ## imm = 0x902
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1065, %esi                     ## imm = 0x429
	movl	$15, %edx
	movl	$9, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1065, %esi                     ## imm = 0x429
	movl	$1008, %edx                     ## imm = 0x3F0
	movl	$224, %ecx
	callq	_mod_phy_reg
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_LCNREV_IS
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	movl	$1059, %esi                     ## imm = 0x423
	movl	$255, %edx
	movl	$70, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1041, %esi                     ## imm = 0x411
	movl	$255, %edx
	movl	$1, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1076, %esi                     ## imm = 0x434
	movl	$255, %edx
	movl	$255, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1622, %esi                     ## imm = 0x656
	movl	$15, %edx
	movl	$2, %ecx
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$1101, %esi                     ## imm = 0x44D
	movl	$4, %edx
	movl	$4, %ecx
	callq	_mod_phy_reg
	movq	_RADIO_2064_REG0F7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	movl	$4, %ecx
	callq	_mod_radio_reg
	movq	_RADIO_2064_REG0F1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	xorl	%ecx, %ecx
	callq	_mod_radio_reg
	movq	_RADIO_2064_REG0F2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$248, %edx
	movl	$144, %ecx
	callq	_mod_radio_reg
	movq	_RADIO_2064_REG0F3@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	movl	$2, %ecx
	callq	_mod_radio_reg
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$240, %edx
	movl	$160, %ecx
	callq	_mod_radio_reg
	movq	_RADIO_2064_REG11F@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	movl	$2, %ecx
	callq	_mod_radio_reg
	movq	%rbx, %rdi
	callq	_wlc_lcnphy_clear_tx_power_offsets
	movq	%rbx, %rdi
	movl	$1232, %esi                     ## imm = 0x4D0
	movl	$32704, %edx                    ## imm = 0x7FC0
	movl	$640, %ecx                      ## imm = 0x280
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mod_phy_reg                    ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIO_2064_REG09B,4,2          ## @RADIO_2064_REG09B
	.comm	_RADIO_2064_REG0F7,4,2          ## @RADIO_2064_REG0F7
	.comm	_RADIO_2064_REG0F1,4,2          ## @RADIO_2064_REG0F1
	.comm	_RADIO_2064_REG0F2,4,2          ## @RADIO_2064_REG0F2
	.comm	_RADIO_2064_REG0F3,4,2          ## @RADIO_2064_REG0F3
	.comm	_RADIO_2064_REG11F,4,2          ## @RADIO_2064_REG11F
	.no_dead_strip	_wlc_lcnphy_bu_tweaks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_lcnphy_bu_tweaks
_wlc_lcnphy_bu_tweaks:                  ; @wlc_lcnphy_bu_tweaks
	.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
	mov	w1, #2053
	mov	w2, #1
	bl	_or_phy_reg
	mov	x0, x19
	mov	w1, #1071
	mov	w2, #7
	mov	w3, #3
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #48
	mov	w2, #7
	mov	w3, #3
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1044
	mov	w2, #7696
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1045
	mov	w2, #1600
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1247
	mov	w2, #65280
	mov	w3, #-2304
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1098
	mov	w2, #68
	bl	_or_phy_reg
	mov	x0, x19
	mov	w1, #1098
	mov	w2, #128
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1076
	mov	w2, #255
	mov	w3, #253
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1056
	mov	w2, #255
	mov	w3, #16
	bl	_mod_phy_reg
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	mov	w9, #4612
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RADIO_2064_REG09B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADIO_2064_REG09B@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #240
	mov	w3, #240
	bl	_mod_radio_reg
LBB0_2:
	mov	x0, x19
	mov	w1, #2006
	mov	w2, #2306
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1065
	mov	w2, #15
	mov	w3, #9
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1065
	mov	w2, #1008
	mov	w3, #224
	bl	_mod_phy_reg
	ldr	w0, [x19]
	mov	w1, #1
	bl	_LCNREV_IS
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #1059
	mov	w2, #255
	mov	w3, #70
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1041
	mov	w2, #255
	mov	w3, #1
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1076
	mov	w2, #255
	mov	w3, #255
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1622
	mov	w2, #15
	mov	w3, #2
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1101
	mov	w2, #4
	mov	w3, #4
	bl	_mod_phy_reg
Lloh3:
	adrp	x8, _RADIO_2064_REG0F7@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RADIO_2064_REG0F7@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #4
	bl	_mod_radio_reg
Lloh6:
	adrp	x8, _RADIO_2064_REG0F1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RADIO_2064_REG0F1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #0
	bl	_mod_radio_reg
Lloh9:
	adrp	x8, _RADIO_2064_REG0F2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RADIO_2064_REG0F2@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #248
	mov	w3, #144
	bl	_mod_radio_reg
Lloh12:
	adrp	x20, _RADIO_2064_REG0F3@GOTPAGE
Lloh13:
	ldr	x20, [x20, _RADIO_2064_REG0F3@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #2
	bl	_mod_radio_reg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #240
	mov	w3, #160
	bl	_mod_radio_reg
Lloh14:
	adrp	x8, _RADIO_2064_REG11F@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RADIO_2064_REG11F@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #2
	bl	_mod_radio_reg
	mov	x0, x19
	bl	_wlc_lcnphy_clear_tx_power_offsets
	mov	x0, x19
	mov	w1, #1232
	mov	w2, #32704
	mov	w3, #640
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_phy_reg
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIO_2064_REG09B,4,2          ; @RADIO_2064_REG09B
	.comm	_RADIO_2064_REG0F7,4,2          ; @RADIO_2064_REG0F7
	.comm	_RADIO_2064_REG0F1,4,2          ; @RADIO_2064_REG0F1
	.comm	_RADIO_2064_REG0F2,4,2          ; @RADIO_2064_REG0F2
	.comm	_RADIO_2064_REG0F3,4,2          ; @RADIO_2064_REG0F3
	.comm	_RADIO_2064_REG11F,4,2          ; @RADIO_2064_REG11F
	.no_dead_strip	_wlc_lcnphy_bu_tweaks
.subsections_via_symbols
