	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_lcnphy_rx_gain_override_enable
_wlc_lcnphy_rx_gain_override_enable:    ## @wlc_lcnphy_rx_gain_override_enable
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	testl	%esi, %esi
	setne	%bl
	movl	%ebx, %ecx
	shll	$8, %ecx
	movl	$1200, %esi                     ## imm = 0x4B0
	movl	$256, %edx                      ## imm = 0x100
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$1100, %esi                     ## imm = 0x44C
	movl	$1, %edx
	movl	%ebx, %ecx
	callq	_mod_phy_reg
	movl	4(%r15), %edi
	movl	$2, %esi
	callq	_LCNREV_LT
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	testl	%r14d, %r14d
	setne	%bl
	movl	%ebx, %ecx
	shll	$4, %ecx
	movq	%r15, %rdi
	movl	$1100, %esi                     ## imm = 0x44C
	movl	$16, %edx
	callq	_mod_phy_reg
	movl	%ebx, %r12d
	shll	$6, %r12d
	movq	%r15, %rdi
	movl	$1100, %esi                     ## imm = 0x44C
	movl	$64, %edx
	movl	%r12d, %ecx
	callq	_mod_phy_reg
	shll	$5, %ebx
	movq	%r15, %rdi
	movl	$1200, %esi                     ## imm = 0x4B0
	movl	$32, %edx
	movl	%ebx, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$1200, %esi                     ## imm = 0x4B0
	movl	$64, %edx
	movl	%r12d, %ecx
	jmp	LBB0_3
LBB0_2:
	testl	%r14d, %r14d
	setne	%bl
	movl	%ebx, %ecx
	shll	$12, %ecx
	movq	%r15, %rdi
	movl	$1200, %esi                     ## imm = 0x4B0
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_mod_phy_reg
	movl	%ebx, %ecx
	shll	$13, %ecx
	movq	%r15, %rdi
	movl	$1200, %esi                     ## imm = 0x4B0
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_mod_phy_reg
	shll	$5, %ebx
	movq	%r15, %rdi
	movl	$1200, %esi                     ## imm = 0x4B0
	movl	$32, %edx
	movl	%ebx, %ecx
LBB0_3:
	callq	_mod_phy_reg
	movl	(%r15), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	setne	%bl
	movl	%ebx, %ecx
	shll	$10, %ecx
	movq	%r15, %rdi
	movl	$1200, %esi                     ## imm = 0x4B0
	movl	$1024, %edx                     ## imm = 0x400
	callq	_mod_phy_reg
	shll	$3, %ebx
	movq	%r15, %rdi
	movl	$1253, %esi                     ## imm = 0x4E5
	movl	$8, %edx
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_phy_reg                    ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wlc_lcnphy_rx_gain_override_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_lcnphy_rx_gain_override_enable
_wlc_lcnphy_rx_gain_override_enable:    ; @wlc_lcnphy_rx_gain_override_enable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	cmp	w1, #0
	cset	w21, ne
	lsl	w3, w21, #8
	mov	w1, #1200
	mov	w2, #256
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1100
	mov	w2, #1
	mov	x3, x21
	bl	_mod_phy_reg
	ldr	w0, [x19, #4]
	mov	w1, #2
	bl	_LCNREV_LT
	cmp	w20, #0
	cbz	x0, LBB0_2
; %bb.1:
	cset	w22, ne
	lsl	w3, w22, #4
	mov	x0, x19
	mov	w1, #1100
	mov	w2, #16
	bl	_mod_phy_reg
	lsl	w21, w22, #6
	mov	x0, x19
	mov	w1, #1100
	mov	w2, #64
	mov	x3, x21
	bl	_mod_phy_reg
	lsl	w3, w22, #5
	mov	x0, x19
	mov	w1, #1200
	mov	w2, #32
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1200
	mov	w2, #64
	mov	x3, x21
	b	LBB0_3
LBB0_2:
	cset	w21, ne
	lsl	w3, w21, #12
	mov	x0, x19
	mov	w1, #1200
	mov	w2, #4096
	bl	_mod_phy_reg
	lsl	w3, w21, #13
	mov	x0, x19
	mov	w1, #1200
	mov	w2, #8192
	bl	_mod_phy_reg
	lsl	w3, w21, #5
	mov	x0, x19
	mov	w1, #1200
	mov	w2, #32
LBB0_3:
	bl	_mod_phy_reg
	ldr	w0, [x19]
	bl	_CHSPEC_IS2G
	cbz	x0, LBB0_5
; %bb.4:
	cmp	w20, #0
	cset	w20, ne
	lsl	w3, w20, #10
	mov	x0, x19
	mov	w1, #1200
	mov	w2, #1024
	bl	_mod_phy_reg
	lsl	w3, w20, #3
	mov	x0, x19
	mov	w1, #1253
	mov	w2, #8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mod_phy_reg
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wlc_lcnphy_rx_gain_override_enable
.subsections_via_symbols
