	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_mac_tx_push_txq         ## -- Begin function ath10k_mac_tx_push_txq
	.p2align	4, 0x90
_ath10k_mac_tx_push_txq:                ## @ath10k_mac_tx_push_txq
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	16(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r15
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	callq	_ath10k_htt_tx_inc_pending
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	testl	%r13d, %r13d
	jne	LBB0_12
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ieee80211_tx_dequeue
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_ath10k_mac_update_airtime
	movq	%r12, %rdi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movl	%eax, %r8d
	callq	_ath10k_mac_tx_h_fill_cb
	movq	(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_ath10k_mac_tx_h_get_txmode
	movl	%eax, %ebx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_ath10k_mac_tx_h_get_txpath
	movl	%eax, %r14d
	movq	_ATH10K_MAC_TX_HTT_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r14d
	jne	LBB0_7
## %bb.4:
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_probe_resp
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_ath10k_htt_tx_mgmt_inc_pending
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_ath10k_htt_tx_dec_pending
	jmp	LBB0_10
LBB0_2:
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	callq	_ath10k_htt_tx_dec_pending
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_12
LBB0_6:
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
LBB0_7:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movq	%r15, %r8
	callq	_ath10k_mac_tx
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_ath10k_warn
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	callq	_ath10k_htt_tx_dec_pending
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jne	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	callq	_ath10k_htt_tx_mgmt_dec_pending
LBB0_10:
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_12
LBB0_11:
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ATH10K_MAC_TX_HTT_MGMT,4,2     ## @ATH10K_MAC_TX_HTT_MGMT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to push frame: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_mac_tx_push_txq         ; -- Begin function ath10k_mac_tx_push_txq
	.p2align	2
_ath10k_mac_tx_push_txq:                ; @ath10k_mac_tx_push_txq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x1
	mov	x21, x0
	ldr	x19, [x0]
	ldp	x20, x25, [x1, #8]
	ldr	x23, [x1]
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_ath10k_htt_tx_inc_pending
	mov	x22, x0
	mov	x0, x19
	bl	_spin_unlock_bh
	cbnz	w22, LBB0_12
; %bb.1:
	mov	x0, x21
	mov	x1, x24
	bl	_ieee80211_tx_dequeue
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x21
	bl	_ath10k_mac_update_airtime
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	mov	x3, x21
	bl	_ath10k_mac_tx_h_fill_cb
	ldr	x26, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	bl	_ath10k_mac_tx_h_get_txmode
	mov	x24, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_ath10k_mac_tx_h_get_txpath
	mov	x23, x0
Lloh0:
	adrp	x8, _ATH10K_MAC_TX_HTT_MGMT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_MAC_TX_HTT_MGMT@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	cmp	w0, w27
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_ieee80211_is_probe_resp
	mov	x22, x0
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x19
	mov	w1, #1
	mov	x2, x22
	bl	_ath10k_htt_tx_mgmt_inc_pending
	cbz	w0, LBB0_6
; %bb.4:
	mov	x22, x0
	mov	x0, x19
	bl	_ath10k_htt_tx_dec_pending
	b	LBB0_10
LBB0_5:
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_ath10k_htt_tx_dec_pending
	mov	x0, x19
	bl	_spin_unlock_bh
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_12
LBB0_6:
	mov	x0, x19
	bl	_spin_unlock_bh
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	mov	x3, x23
	mov	x4, x21
	bl	_ath10k_mac_tx
	mov	x22, x0
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.8:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_ath10k_warn
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_ath10k_htt_tx_dec_pending
	cmp	w23, w27
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ath10k_htt_tx_mgmt_dec_pending
LBB0_10:
	mov	x0, x19
	bl	_spin_unlock_bh
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	w8, [x25]
	add	w8, w8, #1
	str	w8, [x25]
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x22, x26
LBB0_12:
	mov	x0, x22
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ATH10K_MAC_TX_HTT_MGMT,4,2     ; @ATH10K_MAC_TX_HTT_MGMT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to push frame: %d\n"

.subsections_via_symbols
