	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_lcnphy_get_tssi            ## -- Begin function wlc_lcnphy_get_tssi
	.p2align	4, 0x90
_wlc_lcnphy_get_tssi:                   ## @wlc_lcnphy_get_tssi
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$1195, %esi                     ## imm = 0x4AB
	callq	_read_phy_reg
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_wlc_lcnphy_tssi_based_pwr_ctrl_enabled
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	andl	$32768, %ebx                    ## imm = 0x8000
	je	LBB0_6
## %bb.2:
	movq	%r12, %rdi
	movl	$1195, %esi                     ## imm = 0x4AB
	callq	_read_phy_reg
	shrl	%eax
	movzbl	%al, %eax
	movq	%rax, (%r15)
	movq	%r12, %rdi
	callq	_wlc_phy_tpc_isenabled_lcnphy
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%r12), %rax
	movq	_TXP_FIRST_CCK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	jmp	LBB0_5
LBB0_6:
	movq	$0, (%r14)
	movq	$0, (%r15)
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	addq	(%r15), %rax
	movq	%rax, (%r14)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXP_FIRST_CCK,8,3              ## @TXP_FIRST_CCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_lcnphy_get_tssi            ; -- Begin function wlc_lcnphy_get_tssi
	.p2align	2
_wlc_lcnphy_get_tssi:                   ; @wlc_lcnphy_get_tssi
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w1, #1195
	bl	_read_phy_reg
	mov	x22, x0
	mov	x0, x21
	bl	_wlc_lcnphy_tssi_based_pwr_ctrl_enabled
	cbz	x0, LBB0_4
; %bb.1:
	tbz	w22, #15, LBB0_4
; %bb.2:
	mov	x0, x21
	mov	w1, #1195
	bl	_read_phy_reg
	ubfx	w8, w0, #1, #8
	str	x8, [x20]
	mov	x0, x21
	bl	_wlc_phy_tpc_isenabled_lcnphy
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _TXP_FIRST_CCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TXP_FIRST_CCK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	b	LBB0_6
LBB0_4:
	str	xzr, [x19]
	str	xzr, [x20]
	b	LBB0_7
LBB0_5:
	mov	x8, #0
LBB0_6:
	ldr	x9, [x20]
	add	x8, x9, x8
	str	x8, [x19]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TXP_FIRST_CCK,8,3              ; @TXP_FIRST_CCK
.subsections_via_symbols
