	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_lcnphy_deaf_mode           ## -- Begin function wlc_lcnphy_deaf_mode
	.p2align	4, 0x90
_wlc_lcnphy_deaf_mode:                  ## @wlc_lcnphy_deaf_mode
	.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, %rbx
	movl	(%rdi), %edi
	callq	_CHSPEC_IS40
	movq	%rax, %r15
	movl	%r14d, %ecx
	shll	$5, %ecx
	movq	%rbx, %rdi
	movl	$1200, %esi                     ## imm = 0x4B0
	movl	$32, %edx
	callq	_mod_phy_reg
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movl	$1201, %esi                     ## imm = 0x4B1
	movl	$512, %edx                      ## imm = 0x200
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %edi
	callq	_CHSPEC_IS2G
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
	sete	%cl
	movl	%ecx, %edx
	shll	$6, %edx
	testq	%rax, %rax
	cmovel	%r12d, %edx
	shll	$5, %ecx
	orl	%edx, %ecx
	movq	%rbx, %rdi
	movl	$1040, %esi                     ## imm = 0x410
	movl	$96, %edx
	callq	_mod_phy_reg
	shll	$7, %r14d
	movq	%rbx, %rdi
	movl	$1040, %esi                     ## imm = 0x410
	movl	$128, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_phy_reg                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_lcnphy_deaf_mode           ; -- Begin function wlc_lcnphy_deaf_mode
	.p2align	2
_wlc_lcnphy_deaf_mode:                  ; @wlc_lcnphy_deaf_mode
	.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
	ldr	w0, [x0]
	bl	_CHSPEC_IS40
	mov	x21, x0
	lsl	w3, w20, #5
	mov	x0, x19
	mov	w1, #1200
	mov	w2, #32
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1201
	mov	w2, #512
	mov	w3, #0
	bl	_mod_phy_reg
	cbz	x21, LBB0_2
; %bb.1:
	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
LBB0_2:
	ldr	w0, [x19]
	bl	_CHSPEC_IS2G
	cmp	w20, #0
	cset	w8, eq
	lsl	w9, w8, #6
	cmp	x0, #0
	csel	w3, wzr, w9, eq
	bfi	w3, w8, #5, #1
	mov	x0, x19
	mov	w1, #1040
	mov	w2, #96
	bl	_mod_phy_reg
	lsl	w3, w20, #7
	mov	x0, x19
	mov	w1, #1040
	mov	w2, #128
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
