	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_vif_disable_keepalive
_ath10k_mac_vif_disable_keepalive:      ## @ath10k_mac_vif_disable_keepalive
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	leaq	4(%r14), %rdi
	callq	_lockdep_assert_held
	movq	(%rbx), %rax
	movq	_WMI_VDEV_TYPE_STA@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_WMI_SERVICE_STA_KEEP_ALIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	8(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	$1, -48(%rbp)
	movq	_WMI_STA_KEEPALIVE_METHOD_NULL_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_WMI_STA_KEEPALIVE_INTERVAL_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ath10k_wmi_sta_keepalive
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_ath10k_warn
	movl	%r12d, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_VDEV_TYPE_STA,8,3          ## @WMI_VDEV_TYPE_STA
	.comm	_WMI_SERVICE_STA_KEEP_ALIVE,4,2 ## @WMI_SERVICE_STA_KEEP_ALIVE
	.comm	_WMI_STA_KEEPALIVE_METHOD_NULL_FRAME,4,2 ## @WMI_STA_KEEPALIVE_METHOD_NULL_FRAME
	.comm	_WMI_STA_KEEPALIVE_INTERVAL_DISABLE,4,2 ## @WMI_STA_KEEPALIVE_INTERVAL_DISABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to submit keepalive on vdev %i: %d\n"

	.no_dead_strip	_ath10k_mac_vif_disable_keepalive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_vif_disable_keepalive
_ath10k_mac_vif_disable_keepalive:      ; @ath10k_mac_vif_disable_keepalive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x19, [x0, #16]
	add	x0, x19, #4
	bl	_lockdep_assert_held
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _WMI_VDEV_TYPE_STA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WMI_VDEV_TYPE_STA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _WMI_SERVICE_STA_KEEP_ALIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_SERVICE_STA_KEEP_ALIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x20, #8]
	mov	w9, #1
Lloh6:
	adrp	x10, _WMI_STA_KEEPALIVE_METHOD_NULL_FRAME@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WMI_STA_KEEPALIVE_METHOD_NULL_FRAME@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w8, [sp, #8]
Lloh9:
	adrp	x8, _WMI_STA_KEEPALIVE_INTERVAL_DISABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WMI_STA_KEEPALIVE_INTERVAL_DISABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w9, w8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_ath10k_wmi_sta_keepalive
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w2, [x20, #8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_ath10k_warn
	b	LBB0_5
LBB0_4:
	mov	w21, #0
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_VDEV_TYPE_STA,8,3          ; @WMI_VDEV_TYPE_STA
	.comm	_WMI_SERVICE_STA_KEEP_ALIVE,4,2 ; @WMI_SERVICE_STA_KEEP_ALIVE
	.comm	_WMI_STA_KEEPALIVE_METHOD_NULL_FRAME,4,2 ; @WMI_STA_KEEPALIVE_METHOD_NULL_FRAME
	.comm	_WMI_STA_KEEPALIVE_INTERVAL_DISABLE,4,2 ; @WMI_STA_KEEPALIVE_INTERVAL_DISABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to submit keepalive on vdev %i: %d\n"

	.no_dead_strip	_ath10k_mac_vif_disable_keepalive
.subsections_via_symbols
