	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7601u_mcu_tssi_read_kick     ## -- Begin function mt7601u_mcu_tssi_read_kick
	.p2align	4, 0x90
_mt7601u_mcu_tssi_read_kick:            ## @mt7601u_mcu_tssi_read_kick
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_MT7601U_STATE_MCU_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_ATOMIC_TSSI_SETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_mt7601u_mcu_function_select
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r15d
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movl	%r15d, %r14d
	jmp	LBB0_4
LBB0_3:
	movl	$1, (%rbx)
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT7601U_STATE_MCU_RUNNING,4,2  ## @MT7601U_STATE_MCU_RUNNING
	.comm	_ATOMIC_TSSI_SETTING,4,2        ## @ATOMIC_TSSI_SETTING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: MCU TSSI read kick failed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7601u_mcu_tssi_read_kick     ; -- Begin function mt7601u_mcu_tssi_read_kick
	.p2align	2
_mt7601u_mcu_tssi_read_kick:            ; @mt7601u_mcu_tssi_read_kick
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MT7601U_STATE_MCU_RUNNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT7601U_STATE_MCU_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ATOMIC_TSSI_SETTING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATOMIC_TSSI_SETTING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_mt7601u_mcu_function_select
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	b	LBB0_5
LBB0_3:
	mov	w20, #0
	b	LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
	mov	x0, x20
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MT7601U_STATE_MCU_RUNNING,4,2  ; @MT7601U_STATE_MCU_RUNNING
	.comm	_ATOMIC_TSSI_SETTING,4,2        ; @ATOMIC_TSSI_SETTING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: MCU TSSI read kick failed\n"

.subsections_via_symbols
