	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_htc_check_tx_aggr
_ath9k_htc_check_tx_aggr:               ## @ath9k_htc_check_tx_aggr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %r13
	movl	4(%r13), %r12d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_find_sta
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	callq	_conf_is_ht
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	(%r14), %rbx
	movq	_ETH_P_PAE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	cmpq	%rax, %rbx
	je	LBB0_6
## %bb.3:
	movl	%r12d, %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	callq	_ieee80211_get_qos_ctl
	movl	(%rax), %ebx
	andl	$15, %ebx
	movq	(%r15), %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	___ath9k_htc_check_tx_aggr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_ieee80211_start_tx_ba_session
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	_AGGR_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	%r14, %rdi
	callq	_spin_unlock_bh
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_PAE,4,2                  ## @ETH_P_PAE
	.comm	_AGGR_PROGRESS,4,2              ## @AGGR_PROGRESS
	.no_dead_strip	_ath9k_htc_check_tx_aggr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_htc_check_tx_aggr
_ath9k_htc_check_tx_aggr:               ; @ath9k_htc_check_tx_aggr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x2, #8]
	ldr	w22, [x21, #4]
	bl	_rcu_read_lock
	ldr	w1, [x21]
	mov	x0, x20
	bl	_ieee80211_find_sta
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19, #8]
	bl	_conf_is_ht
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x23, [x23]
Lloh0:
	adrp	x8, _ETH_P_PAE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_PAE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	cmp	x23, x0
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_ieee80211_is_data_qos
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_ieee80211_get_qos_ctl
	ldr	w8, [x0]
	and	x21, x8, #0xf
	ldr	x22, [x20]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	___ath9k_htc_check_tx_aggr
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_ieee80211_start_tx_ba_session
	mov	x0, x19
	bl	_spin_lock_bh
Lloh3:
	adrp	x8, _AGGR_PROGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AGGR_PROGRESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x22]
	str	w8, [x9, x21, lsl #2]
	mov	x0, x19
	bl	_spin_unlock_bh
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rcu_read_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_PAE,4,2                  ; @ETH_P_PAE
	.comm	_AGGR_PROGRESS,4,2              ; @AGGR_PROGRESS
	.no_dead_strip	_ath9k_htc_check_tx_aggr
.subsections_via_symbols
