	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_tx
_ath10k_mac_tx:                         ## @ath10k_mac_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_ATH10K_SKB_CB
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_TX_CTL_NO_CCK_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ath10k_dbg
LBB0_2:
	leal	-129(%r13), %eax
	cmpl	$2, %eax
	jb	LBB0_9
## %bb.3:
	cmpl	$128, %r13d
	je	LBB0_6
## %bb.4:
	cmpl	$131, %r13d
	jne	LBB0_10
## %bb.5:
	movq	%r12, %rdi
	callq	_ath10k_tx_h_8023
	jmp	LBB0_10
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ath10k_tx_h_nwifi
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_ath10k_tx_h_add_p2p_noa_ie
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ath10k_tx_h_seq_no
	jmp	LBB0_10
LBB0_6:
	movq	_ATH10K_FLAG_RAW_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	_ATH10K_SKB_F_RAW_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_10:
	movq	_IEEE80211_TX_CTL_TX_OFFCHAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	callq	_ath10k_mac_tx_frm_has_freq
	testl	%eax, %eax
	je	LBB0_12
LBB0_13:
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	callq	_ath10k_mac_tx_submit
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ath10k_warn
	jmp	LBB0_16
LBB0_14:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_12:
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_ath10k_dbg
	leaq	4(%r14), %rdi
	movq	%r12, %rsi
	callq	_skb_queue_tail
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ieee80211_queue_work
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ieee80211_free_txskb
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_CTL_NO_CCK_RATE,4,2 ## @IEEE80211_TX_CTL_NO_CCK_RATE
	.comm	_ATH10K_DBG_MAC,4,2             ## @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IEEE80211_TX_CTL_NO_CCK_RATE\n"

	.comm	_ATH10K_FLAG_RAW_MODE,4,2       ## @ATH10K_FLAG_RAW_MODE
	.comm	_ATH10K_SKB_F_RAW_TX,4,2        ## @ATH10K_SKB_F_RAW_TX
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_IEEE80211_TX_CTL_TX_OFFCHAN,4,2 ## @IEEE80211_TX_CTL_TX_OFFCHAN
L_.str.1:                               ## @.str.1
	.asciz	"queued offchannel skb %pK\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to submit frame: %d\n"

	.no_dead_strip	_ath10k_mac_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_tx
_ath10k_mac_tx:                         ; @ath10k_mac_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
	ldr	x21, [x0, #16]
	mov	x0, x4
	bl	_IEEE80211_SKB_CB
	mov	x24, x0
	mov	x0, x20
	bl	_ATH10K_SKB_CB
	mov	x26, x0
	ldr	w8, [x24]
Lloh0:
	adrp	x9, _IEEE80211_TX_CTL_NO_CCK_RATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_CCK_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ATH10K_DBG_MAC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_DBG_MAC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
LBB0_2:
	sub	w8, w23, #129
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.3:
	cmp	w23, #128
	b.eq	LBB0_7
; %bb.4:
	cmp	w23, #131
	b.ne	LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_ath10k_tx_h_8023
	b	LBB0_9
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	bl	_ath10k_tx_h_nwifi
	mov	x0, x19
	mov	x1, x25
	mov	x2, x20
	bl	_ath10k_tx_h_add_p2p_noa_ie
	mov	x0, x25
	mov	x1, x20
	bl	_ath10k_tx_h_seq_no
	b	LBB0_9
LBB0_7:
Lloh8:
	adrp	x8, _ATH10K_FLAG_RAW_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH10K_FLAG_RAW_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	w8, [x26]
Lloh11:
	adrp	x9, _ATH10K_SKB_F_RAW_TX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ATH10K_SKB_F_RAW_TX@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
LBB0_9:
	ldr	w8, [x24]
Lloh14:
	adrp	x9, _IEEE80211_TX_CTL_TX_OFFCHAN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IEEE80211_TX_CTL_TX_OFFCHAN@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_ath10k_mac_tx_frm_has_freq
	cbz	w0, LBB0_13
LBB0_11:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
	bl	_ath10k_mac_tx_submit
	mov	x20, x0
	cbz	w0, LBB0_14
; %bb.12:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_warn
	b	LBB0_14
LBB0_13:
Lloh19:
	adrp	x8, _ATH10K_DBG_MAC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ATH10K_DBG_MAC@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	str	x20, [sp]
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	add	x0, x19, #4
	mov	x1, x20
	bl	_skb_queue_tail
	mov	x0, x21
	mov	x1, x19
	bl	_ieee80211_queue_work
	mov	w20, #0
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_15:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	mov	x0, x21
	mov	x1, x20
	bl	_ieee80211_free_txskb
Lloh24:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_CTL_NO_CCK_RATE,4,2 ; @IEEE80211_TX_CTL_NO_CCK_RATE
	.comm	_ATH10K_DBG_MAC,4,2             ; @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IEEE80211_TX_CTL_NO_CCK_RATE\n"

	.comm	_ATH10K_FLAG_RAW_MODE,4,2       ; @ATH10K_FLAG_RAW_MODE
	.comm	_ATH10K_SKB_F_RAW_TX,4,2        ; @ATH10K_SKB_F_RAW_TX
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_IEEE80211_TX_CTL_TX_OFFCHAN,4,2 ; @IEEE80211_TX_CTL_TX_OFFCHAN
l_.str.1:                               ; @.str.1
	.asciz	"queued offchannel skb %pK\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to submit frame: %d\n"

	.no_dead_strip	_ath10k_mac_tx
.subsections_via_symbols
