	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_bar_frame_release   ## -- Begin function iwl_mvm_rx_bar_frame_release
	.p2align	4, 0x90
_iwl_mvm_rx_bar_frame_release:          ## @iwl_mvm_rx_bar_frame_release
	.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
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_rxb_addr
	movq	(%rax), %rbx
	movl	4(%rbx), %edi
	movq	_IWL_BAR_FRAME_RELEASE_BAID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_le32_get_bits
	movl	%eax, %r13d
	movl	4(%rbx), %edi
	movq	_IWL_BAR_FRAME_RELEASE_NSSN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_le32_get_bits
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	movq	_IWL_BAR_FRAME_RELEASE_STA_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_le32_get_bits
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movq	_IWL_BAR_FRAME_RELEASE_TID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_le32_get_bits
	movl	%eax, %r15d
	movq	_IWL_RX_REORDER_DATA_INVALID_BAID@GOTPCREL(%rip), %rax
	movl	$1, %edi
	cmpl	(%rax), %r13d
	je	LBB0_2
## %bb.1:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	setae	%dil
LBB0_2:
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	(%r12), %rax
	movl	%r13d, %ecx
	movl	(%rax,%rcx,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	movl	%r15d, %eax
	xorl	%r8d, %eax
	movl	%r14d, %edx
	xorl	%ecx, %edx
	xorl	%edi, %edi
	orl	%eax, %edx
	setne	%dil
	movl	%r15d, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movl	%r14d, %r9d
	callq	_WARN
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_iwl_mvm_release_frames_from_notif
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_IWL_DEBUG_RX
LBB0_7:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_BAR_FRAME_RELEASE_BAID_MASK,4,2 ## @IWL_BAR_FRAME_RELEASE_BAID_MASK
	.comm	_IWL_BAR_FRAME_RELEASE_NSSN_MASK,4,2 ## @IWL_BAR_FRAME_RELEASE_NSSN_MASK
	.comm	_IWL_BAR_FRAME_RELEASE_STA_MASK,4,2 ## @IWL_BAR_FRAME_RELEASE_STA_MASK
	.comm	_IWL_BAR_FRAME_RELEASE_TID_MASK,4,2 ## @IWL_BAR_FRAME_RELEASE_TID_MASK
	.comm	_IWL_RX_REORDER_DATA_INVALID_BAID,4,2 ## @IWL_RX_REORDER_DATA_INVALID_BAID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got valid BAID %d but not allocated, invalid BAR release!\n"

L_.str.1:                               ## @.str.1
	.asciz	"baid 0x%x is mapped to sta:%d tid:%d, but BAR release received for sta:%d tid:%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_bar_frame_release   ; -- Begin function iwl_mvm_rx_bar_frame_release
	.p2align	2
_iwl_mvm_rx_bar_frame_release:          ; @iwl_mvm_rx_bar_frame_release
	.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
	mov	x19, x3
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_rxb_addr
	ldr	x25, [x0]
	ldr	w0, [x25, #4]
Lloh0:
	adrp	x8, _IWL_BAR_FRAME_RELEASE_BAID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_BAR_FRAME_RELEASE_BAID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_le32_get_bits
	mov	x22, x0
	ldr	w0, [x25, #4]
Lloh3:
	adrp	x8, _IWL_BAR_FRAME_RELEASE_NSSN_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_BAR_FRAME_RELEASE_NSSN_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_le32_get_bits
	mov	x23, x0
	ldr	w0, [x25]
Lloh6:
	adrp	x8, _IWL_BAR_FRAME_RELEASE_STA_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IWL_BAR_FRAME_RELEASE_STA_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_le32_get_bits
	mov	x24, x0
	ldr	w0, [x25]
Lloh9:
	adrp	x8, _IWL_BAR_FRAME_RELEASE_TID_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IWL_BAR_FRAME_RELEASE_TID_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_le32_get_bits
	mov	x25, x0
Lloh12:
	adrp	x8, _IWL_RX_REORDER_DATA_INVALID_BAID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IWL_RX_REORDER_DATA_INVALID_BAID@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_3
; %bb.1:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_4
LBB0_2:
	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_3:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	cset	w0, hs
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_2
LBB0_4:
	bl	_rcu_read_lock
	ldr	x8, [x20]
	ldr	w0, [x8, w22, uxtw #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_7
; %bb.5:
	ldp	w4, w3, [x0]
	cmp	w25, w4
	ccmp	w24, w3, #0, eq
	cset	w0, ne
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x22
	mov	x5, x24
	mov	x6, x25
	bl	_WARN
	cbnz	x0, LBB0_8
; %bb.6:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x19
	mov	w5, #0
	bl	_iwl_mvm_release_frames_from_notif
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_IWL_DEBUG_RX
LBB0_8:
	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
	b	_rcu_read_unlock
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_BAR_FRAME_RELEASE_BAID_MASK,4,2 ; @IWL_BAR_FRAME_RELEASE_BAID_MASK
	.comm	_IWL_BAR_FRAME_RELEASE_NSSN_MASK,4,2 ; @IWL_BAR_FRAME_RELEASE_NSSN_MASK
	.comm	_IWL_BAR_FRAME_RELEASE_STA_MASK,4,2 ; @IWL_BAR_FRAME_RELEASE_STA_MASK
	.comm	_IWL_BAR_FRAME_RELEASE_TID_MASK,4,2 ; @IWL_BAR_FRAME_RELEASE_TID_MASK
	.comm	_IWL_RX_REORDER_DATA_INVALID_BAID,4,2 ; @IWL_RX_REORDER_DATA_INVALID_BAID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got valid BAID %d but not allocated, invalid BAR release!\n"

l_.str.1:                               ; @.str.1
	.asciz	"baid 0x%x is mapped to sta:%d tid:%d, but BAR release received for sta:%d tid:%d\n"

.subsections_via_symbols
