	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_hdl_compressed_ba
_il4965_hdl_compressed_ba:              ## @il4965_hdl_compressed_ba
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	%rax, %r13
	movl	12(%rax), %edi
	callq	_le16_to_cpu
	movq	%rax, %r14
	movl	8(%r13), %edi
	callq	_le16_to_cpu
	cmpq	32(%rbx), %r14
	jae	LBB0_9
## %bb.1:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rcx
	movslq	(%r13), %r14
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movslq	4(%r13), %r15
	movq	(%rax,%r14,8), %rax
	leaq	(%r15,%r15,4), %rbx
	leaq	(%rax,%rbx,8), %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movq	%rcx, %r12
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, (%rax,%rbx,8)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_TX_REPLY                     ## TAILCALL
LBB0_9:
	leaq	L_.str(%rip), %rdi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IL_ERR                         ## TAILCALL
LBB0_2:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	leaq	(%r12,%r12,2), %rcx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movzbl	-56(%rbp), %edi                 ## 1-byte Folded Reload
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	16(%rax,%rcx,8), %esi
	callq	_il_queue_dec_wrap
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movslq	32(%r12,%rbx,8), %rsi
	movq	%r13, %rdx
	addq	$24, %rdx
	movl	(%r13), %ecx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_D_TX_REPLY
	movslq	4(%r13), %r15
	movslq	20(%r13), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	16(%r13), %edi
	callq	_le64_to_cpu
	movl	8(%r13), %r9d
	movl	12(%r13), %r8d
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_D_TX_REPLY
	movq	8(%r12,%rbx,8), %rsi
	movq	24(%r12,%rbx,8), %rdx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_D_TX_REPLY
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_il4965_tx_status_reply_compressed_ba
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%r13)
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	%r14, %r15
	je	LBB0_8
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rsi, %r14
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_il4965_tx_queue_reclaim
	movq	%r15, %rdi
	movq	%r15, %rbx
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %esi
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_il4965_free_tfds_in_queue
	movq	%r13, %rdi
	callq	_il_queue_space
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	cmpq	8(%rcx,%rdx,8), %rax
	jle	LBB0_7
## %bb.4:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx,%rax,8), %rax
	movq	_IL_EMPTYING_HW_QUEUE_DELBA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_il_wake_queue
LBB0_7:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_il4965_txq_check_empty
	movq	%rbx, %r15
LBB0_8:
	movq	%r15, %rdi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG_ON scd_flow is bigger than number of queues\n"

L_.str.1:                               ## @.str.1
	.asciz	"BA scd_flow %d does not match txq_id %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"N_COMPRESSED_BA [%d] Received from %pM, sta_id = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"TID = %d, SeqCtl = %d, bitmap = 0x%llx,scd_flow = %d, scd_ssn = %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"DAT start_idx = %d, bitmap = 0x%llx\n"

	.comm	_IL_EMPTYING_HW_QUEUE_DELBA,8,3 ## @IL_EMPTYING_HW_QUEUE_DELBA
	.no_dead_strip	_il4965_hdl_compressed_ba
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_hdl_compressed_ba
_il4965_hdl_compressed_ba:              ; @il4965_hdl_compressed_ba
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	mov	x24, x0
	ldr	w0, [x0, #12]
	bl	_le16_to_cpu
	mov	x20, x0
	ldr	w0, [x24, #8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #32]
	cmp	x20, x8
	b.hs	LBB0_3
; %bb.1:
	mov	x26, x0
	ldpsw	x21, x22, [x24]
	ldp	x8, x27, [x19, #16]
	ldr	x23, [x8, x21, lsl #3]
	mov	w8, #40
	madd	x25, x22, x8, x23
	ldr	x8, [x25]
	cmp	x8, x20
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x2, [x25]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_D_TX_REPLY
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_IL_ERR
LBB0_4:
	mov	w8, #24
	madd	x8, x20, x8, x27
	and	x0, x26, #0xff
	stp	x0, x8, [sp, #48]               ; 16-byte Folded Spill
	mov	w8, #24
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
	madd	x8, x20, x8, x27
	ldr	w1, [x8, #16]
	bl	_il_queue_dec_wrap
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	w8, #40
	madd	x27, x22, x8, x23
	ldrsw	x1, [x27, #32]
	add	x2, x24, #24
	ldr	w8, [x24]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_D_TX_REPLY
	ldrsw	x28, [x24, #4]
	ldp	w0, w26, [x24, #16]
                                        ; kill: def $w26 killed $w26 def $x26
	sxtw	x26, w26
	bl	_le64_to_cpu
	ldp	w9, w8, [x24, #8]
	stp	x8, x9, [sp, #8]
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x28
	mov	x2, x26
	bl	_D_TX_REPLY
	ldr	x1, [x27, #8]
	ldr	x2, [x27, #24]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_D_TX_REPLY
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	ldr	x24, [sp, #56]                  ; 8-byte Folded Reload
	bl	_il4965_tx_status_reply_compressed_ba
	ldr	x8, [x24]
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_il4965_tx_queue_reclaim
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_il4965_free_tfds_in_queue
	mov	x0, x24
	bl	_il_queue_space
	mov	w8, #24
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	madd	x8, x20, x8, x9
	ldr	x8, [x8, #8]
	cmp	x0, x8
	b.le	LBB0_9
; %bb.6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	w8, #40
	madd	x8, x22, x8, x23
	ldr	x8, [x8, #16]
Lloh10:
	adrp	x9, _IL_EMPTYING_HW_QUEUE_DELBA@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IL_EMPTYING_HW_QUEUE_DELBA@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x24
	bl	_il_wake_queue
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_il4965_txq_check_empty
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG_ON scd_flow is bigger than number of queues\n"

l_.str.1:                               ; @.str.1
	.asciz	"BA scd_flow %d does not match txq_id %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"N_COMPRESSED_BA [%d] Received from %pM, sta_id = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"TID = %d, SeqCtl = %d, bitmap = 0x%llx,scd_flow = %d, scd_ssn = %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"DAT start_idx = %d, bitmap = 0x%llx\n"

	.comm	_IL_EMPTYING_HW_QUEUE_DELBA,8,3 ; @IL_EMPTYING_HW_QUEUE_DELBA
	.no_dead_strip	_il4965_hdl_compressed_ba
.subsections_via_symbols
