	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7601u_set_initial_tssi
_mt7601u_set_initial_tssi:              ## @mt7601u_set_initial_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
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r15
	movq	(%rdi), %rax
	imull	(%rax), %esi
	movq	8(%rax), %rax
	movl	4(%rax), %eax
	leal	(%rax,%rsi), %ecx
	addl	$4095, %ecx                     ## imm = 0xFFF
                                        ## kill: def $eax killed $eax killed $rax
	addl	%esi, %eax
	cmovnsl	%eax, %ecx
	sarl	$12, %ecx
	movl	$10, %edi
	subl	%ecx, %edi
	movq	_MT_TX_ALC_CFG_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MT_TX_ALC_CFG_1_TEMP_COMP@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	callq	_int_to_s6
	andl	(%r12), %eax
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_rmw                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_TX_ALC_CFG_1,4,2            ## @MT_TX_ALC_CFG_1
	.comm	_MT_TX_ALC_CFG_1_TEMP_COMP,4,2  ## @MT_TX_ALC_CFG_1_TEMP_COMP
	.no_dead_strip	_mt7601u_set_initial_tssi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7601u_set_initial_tssi
_mt7601u_set_initial_tssi:              ; @mt7601u_set_initial_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, x0
	ldr	x8, [x0]
	ldr	w9, [x8]
	ldr	x8, [x8, #8]
	ldr	w8, [x8, #4]
	madd	w8, w9, w1, w8
	add	w9, w8, #4095
	cmp	w8, #0
	csel	w8, w9, w8, lt
	mov	w9, #10
	sub	w0, w9, w8, asr #12
Lloh0:
	adrp	x8, _MT_TX_ALC_CFG_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_TX_ALC_CFG_1@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x22, _MT_TX_ALC_CFG_1_TEMP_COMP@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MT_TX_ALC_CFG_1_TEMP_COMP@GOTPAGEOFF]
	ldr	w21, [x22]
	bl	_int_to_s6
	ldr	w8, [x22]
	and	w3, w8, w0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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	_mt76_rmw
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_TX_ALC_CFG_1,4,2            ; @MT_TX_ALC_CFG_1
	.comm	_MT_TX_ALC_CFG_1_TEMP_COMP,4,2  ; @MT_TX_ALC_CFG_1_TEMP_COMP
	.no_dead_strip	_mt7601u_set_initial_tssi
.subsections_via_symbols
