	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_op_ampdu_action
_carl9170_op_ampdu_action:              ## @carl9170_op_ampdu_action
	.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	_modparam_noht@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_16:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_17:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdx, %r13
	movl	(%rdx), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_16
## %bb.2:
	movq	%rsi, %r15
	movq	8(%r13), %r14
	movq	24(%r13), %rdx
	movq	(%rdi), %rsi
	movq	8(%rdx), %r12
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	8(%r12), %rax
	movl	(%rax,%r14,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r13
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	_CARL9170_TID_STATE_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, 32(%r13)
	jle	LBB0_10
## %bb.9:
	movl	%eax, 32(%r13)
LBB0_10:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_11:
	movq	8(%r12), %rax
	movl	(%rax,%r14,4), %edi
	xorl	%esi, %esi
	callq	_RCU_INIT_POINTER
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_ieee80211_stop_tx_ba_cb_irqsafe
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	4(%rsi), %edi
	callq	_ieee80211_queue_work
	jmp	LBB0_18
LBB0_3:
	cmpl	$0, 20(%r12)
	je	LBB0_16
## %bb.4:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$80, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	16(%r13), %rcx
	movq	%rcx, 16(%rax)
	movq	%rcx, 8(%rax)
	movq	%rcx, (%rax)
	movq	_CARL9170_TID_STATE_PROGRESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	%r14, 24(%rax)
	movl	16(%r12), %ecx
	movl	%ecx, 72(%rax)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 64(%rax)
	movq	%r15, 56(%rax)
	leaq	40(%rax), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	leaq	52(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	48(%r13), %rdi
	callq	_skb_queue_head_init
	movq	%r13, %rdi
	addq	$44, %rdi
	callq	_spin_lock_init
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	leaq	8(%r13), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	incl	16(%r13)
	addq	$12, %r13
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_list_add_tail_rcu
	movq	8(%r12), %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	(%rax,%r12,4), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_rcu_assign_pointer
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_ieee80211_start_tx_ba_cb_irqsafe
	jmp	LBB0_18
LBB0_12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	8(%r12), %rax
	movl	(%rax,%r14,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	$1, (%rax,%r14,8)
	testq	%r15, %r15
	je	LBB0_14
## %bb.13:
	movl	36(%r15), %edi
	movq	_CARL9170_BAW_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bitmap_zero
	movq	_CARL9170_TID_STATE_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
LBB0_14:
	xorl	%r14d, %r14d
	testq	%r15, %r15
	sete	%r14b
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	%r14d, %edi
	callq	_WARN_ON_ONCE
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_12
	.long	L0_0_set_18
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_modparam_noht,8,3              ## @modparam_noht
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CARL9170_TID_STATE_PROGRESS,4,2 ## @CARL9170_TID_STATE_PROGRESS
	.comm	_CARL9170_TID_STATE_SHUTDOWN,4,2 ## @CARL9170_TID_STATE_SHUTDOWN
	.comm	_CARL9170_BAW_SIZE,4,2          ## @CARL9170_BAW_SIZE
	.comm	_CARL9170_TID_STATE_IDLE,4,2    ## @CARL9170_TID_STATE_IDLE
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_carl9170_op_ampdu_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function carl9170_op_ampdu_action
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_carl9170_op_ampdu_action:              ; @carl9170_op_ampdu_action
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x9, _modparam_noht@GOTPAGE
Lloh1:
	ldr	x9, [x9, _modparam_noht@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x9, LBB0_4
LBB0_1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x23, x2
	ldr	w9, [x2]
	sub	w9, w9, #128
	cmp	w9, #6
	b.hi	LBB0_1
; %bb.5:
	mov	x20, x1
	mov	x8, x0
	mov	w0, #0
	ldr	x25, [x23, #24]
	ldr	x19, [x23, #8]
	ldr	x21, [x8]
	ldr	x26, [x25, #8]
Lloh5:
	adrp	x8, lJTI0_0@PAGE
Lloh6:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	bl	_rcu_read_lock
	ldr	x8, [x26, #8]
	ldr	w0, [x8, x19, lsl #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_10
; %bb.7:
	mov	x22, x0
	add	x23, x21, #8
	mov	x0, x23
	bl	_spin_lock_bh
	ldr	w9, [x22, #32]
Lloh7:
	adrp	x8, _CARL9170_TID_STATE_SHUTDOWN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CARL9170_TID_STATE_SHUTDOWN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_9
; %bb.8:
	str	w8, [x22, #32]
LBB0_9:
	mov	x0, x23
	bl	_spin_unlock_bh
LBB0_10:
	ldr	x8, [x26, #8]
	ldr	w0, [x8, x19, lsl #2]
	mov	x1, #0
	bl	_RCU_INIT_POINTER
	bl	_rcu_read_unlock
	ldr	w1, [x25]
	mov	x0, x20
	mov	x2, x19
	bl	_ieee80211_stop_tx_ba_cb_irqsafe
	ldr	w0, [x21, #4]
	mov	x1, x21
	bl	_ieee80211_queue_work
	mov	w0, #0
	b	LBB0_3
LBB0_11:
	ldr	w8, [x26, #20]
	cbz	w8, LBB0_1
; %bb.12:
Lloh10:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w0, #80
	bl	_kzalloc
	cbz	x0, LBB0_18
; %bb.13:
	mov	x22, x0
	ldr	x8, [x23, #16]
	stp	x8, x8, [x0]
Lloh13:
	adrp	x9, _CARL9170_TID_STATE_PROGRESS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CARL9170_TID_STATE_PROGRESS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	str	w9, [x0, #32]
	stp	x8, x19, [x0, #16]
	ldr	w8, [x26, #16]
	str	w8, [x0, #72]
	stp	x20, x25, [x0, #56]
	add	x23, x0, #40
	mov	x0, x23
	bl	_INIT_LIST_HEAD
	add	x0, x22, #52
	bl	_INIT_LIST_HEAD
	add	x0, x22, #48
	bl	_skb_queue_head_init
	add	x0, x22, #44
	bl	_spin_lock_init
	add	x24, x21, #8
	mov	x0, x24
	bl	_spin_lock_bh
	ldr	w8, [x21, #16]
	add	w8, w8, #1
	str	w8, [x21, #16]
	add	x1, x21, #12
	mov	x0, x23
	bl	_list_add_tail_rcu
	ldr	x8, [x26, #8]
	ldr	w0, [x8, x19, lsl #2]
	mov	x1, x22
	bl	_rcu_assign_pointer
	mov	x0, x24
	bl	_spin_unlock_bh
	ldr	w1, [x25]
	mov	x0, x20
	mov	x2, x19
	bl	_ieee80211_start_tx_ba_cb_irqsafe
	mov	w0, #0
	b	LBB0_3
LBB0_14:
	bl	_rcu_read_lock
	ldr	x8, [x26, #8]
	ldr	w0, [x8, x19, lsl #2]
	bl	_rcu_dereference
	mov	x20, x0
	ldr	x8, [x26]
Lloh16:
	adrp	x9, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8, x19, lsl #3]
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w0, [x20, #36]
Lloh18:
	adrp	x8, _CARL9170_BAW_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CARL9170_BAW_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_bitmap_zero
Lloh21:
	adrp	x8, _CARL9170_TID_STATE_IDLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CARL9170_TID_STATE_IDLE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x20, #32]
LBB0_16:
	cmp	x20, #0
	cset	w19, eq
	bl	_rcu_read_unlock
	mov	x0, x19
	bl	_WARN_ON_ONCE
	cbz	w0, LBB0_3
; %bb.17:
Lloh24:
	adrp	x8, _EFAULT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_2
LBB0_18:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_modparam_noht,8,3              ; @modparam_noht
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CARL9170_TID_STATE_PROGRESS,4,2 ; @CARL9170_TID_STATE_PROGRESS
	.comm	_CARL9170_TID_STATE_SHUTDOWN,4,2 ; @CARL9170_TID_STATE_SHUTDOWN
	.comm	_CARL9170_BAW_SIZE,4,2          ; @CARL9170_BAW_SIZE
	.comm	_CARL9170_TID_STATE_IDLE,4,2    ; @CARL9170_TID_STATE_IDLE
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_carl9170_op_ampdu_action
.subsections_via_symbols
