	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_report_offchan_tx
_ath10k_report_offchan_tx:              ## @ath10k_report_offchan_tx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movq	_IEEE80211_TX_CTL_TX_OFFCHAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	andl	(%rax), %ecx
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	callq	_ath10k_mac_tx_frm_has_freq
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	callq	_spin_lock_bh
	cmpq	%rbx, 8(%r14)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ath10k_warn
	jmp	LBB0_5
LBB0_4:
	leaq	16(%r14), %rdi
	callq	_complete
	movq	$0, 8(%r14)
	movq	_ATH10K_DBG_HTT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_ath10k_dbg
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_CTL_TX_OFFCHAN,4,2 ## @IEEE80211_TX_CTL_TX_OFFCHAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"completed old offchannel frame\n"

	.comm	_ATH10K_DBG_HTT,4,2             ## @ATH10K_DBG_HTT
L_.str.1:                               ## @.str.1
	.asciz	"completed offchannel skb %pK\n"

	.no_dead_strip	_ath10k_report_offchan_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_report_offchan_tx
_ath10k_report_offchan_tx:              ; @ath10k_report_offchan_tx
	.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
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_TX_CTL_TX_OFFCHAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_CTL_TX_OFFCHAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ath10k_mac_tx_frm_has_freq
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.eq	LBB0_5
; %bb.4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	b	LBB0_6
LBB0_5:
	add	x0, x19, #16
	bl	_complete
	str	xzr, [x19, #8]
Lloh5:
	adrp	x8, _ATH10K_DBG_HTT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH10K_DBG_HTT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_ath10k_dbg
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_bh
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_CTL_TX_OFFCHAN,4,2 ; @IEEE80211_TX_CTL_TX_OFFCHAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"completed old offchannel frame\n"

	.comm	_ATH10K_DBG_HTT,4,2             ; @ATH10K_DBG_HTT
l_.str.1:                               ; @.str.1
	.asciz	"completed offchannel skb %pK\n"

	.no_dead_strip	_ath10k_report_offchan_tx
.subsections_via_symbols
