	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_tx_beacon_nowait
_ath10k_wmi_tx_beacon_nowait:           ## @ath10k_wmi_tx_beacon_nowait
	.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	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	16(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_ATH10K_SKB_CB
	cmpl	$130, (%rbx)
	jne	LBB0_3
## %bb.2:
	movq	%rax, %r12
	movl	$129, (%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	_ATH10K_SKB_F_DTIM_ZERO@GOTPCREL(%rip), %rax
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	xorl	%r9d, %r9d
	movl	(%rax), %eax
	andl	%ecx, %eax
	setne	%r9b
	movq	_ATH10K_SKB_F_DELIVER_CAB@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	andl	(%rdx), %ecx
	setne	%al
	movq	8(%rbx), %rdi
	movl	4(%rbx), %esi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	movl	%eax, (%rsp)
	callq	_ath10k_wmi_beacon_send_ref_nowait
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_spin_lock_bh
	xorl	%eax, %eax
	testl	%r15d, %r15d
	setne	%al
	addl	%eax, %eax
	addl	$128, %eax
	movl	%eax, (%rbx)
LBB0_3:
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_SKB_F_DTIM_ZERO,4,2     ## @ATH10K_SKB_F_DTIM_ZERO
	.comm	_ATH10K_SKB_F_DELIVER_CAB,4,2   ## @ATH10K_SKB_F_DELIVER_CAB
	.no_dead_strip	_ath10k_wmi_tx_beacon_nowait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_tx_beacon_nowait
_ath10k_wmi_tx_beacon_nowait:           ; @ath10k_wmi_tx_beacon_nowait
	.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, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x21, [x20, #16]
	cbz	x21, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_ATH10K_SKB_CB
	ldr	w8, [x20]
	cmp	w8, #130
	b.ne	LBB0_3
; %bb.2:
	mov	x22, x0
	mov	w8, #129
	str	w8, [x20]
	mov	x0, x19
	bl	_spin_unlock_bh
Lloh0:
	adrp	x8, _ATH10K_SKB_F_DTIM_ZERO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_SKB_F_DTIM_ZERO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w4, [x22]
	tst	w8, w9
	cset	w5, ne
Lloh3:
	adrp	x8, _ATH10K_SKB_F_DELIVER_CAB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_SKB_F_DELIVER_CAB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	cset	w6, ne
	ldr	x0, [x20, #8]
	ldr	w1, [x20, #4]
	ldp	w3, w2, [x21]
	bl	_ath10k_wmi_beacon_send_ref_nowait
	mov	x21, x0
	mov	x0, x19
	bl	_spin_lock_bh
	mov	w8, #130
	mov	w9, #128
	cmp	w21, #0
	csel	w8, w9, w8, eq
	str	w8, [x20]
LBB0_3:
	mov	x0, x19
	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	_spin_unlock_bh
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_SKB_F_DTIM_ZERO,4,2     ; @ATH10K_SKB_F_DTIM_ZERO
	.comm	_ATH10K_SKB_F_DELIVER_CAB,4,2   ; @ATH10K_SKB_F_DELIVER_CAB
	.no_dead_strip	_ath10k_wmi_tx_beacon_nowait
.subsections_via_symbols
