	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_pcie_rx_free               ## -- Begin function iwl_pcie_rx_free
	.p2align	4, 0x90
_iwl_pcie_rx_free:                      ## @iwl_pcie_rx_free
	.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	%rdi, %rbx
	callq	_IWL_TRANS_GET_PCIE_TRANS
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	addq	$24, %rdi
	callq	_cancel_work_sync
	movq	%rbx, %rdi
	callq	_iwl_pcie_free_rbs_pool
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	movq	(%rbx), %rsi
	shlq	$2, %rsi
	movq	8(%r14), %rcx
	callq	_dma_free_coherent
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
LBB0_3:
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	addq	$8, %rbx
	movq	%r15, %rdi
	cmpq	%r13, (%r15)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jbe	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r14
	leaq	(%r14,%rbx), %r12
	movq	%rdi, %r15
	movq	%r12, %rsi
	callq	_iwl_pcie_free_rxq_dma
	cmpq	$0, (%r14,%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_netif_napi_del
	jmp	LBB0_7
LBB0_8:
	movq	(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_DEBUG_INFO                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_DEVICE_FAMILY_22560,8,3    ## @IWL_DEVICE_FAMILY_22560
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Free NULL rx context\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_pcie_rx_free               ; -- Begin function iwl_pcie_rx_free
	.p2align	2
_iwl_pcie_rx_free:                      ; @iwl_pcie_rx_free
	.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	x19, x0
	bl	_IWL_TRANS_GET_PCIE_TRANS
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x20, x0
	add	x0, x0, #24
	bl	_cancel_work_sync
	mov	x0, x19
	bl	_iwl_pcie_free_rbs_pool
	ldr	x2, [x20, #16]
	cbz	x2, LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	lsl	x1, x8, #2
	ldr	x3, [x20, #8]
	bl	_dma_free_coherent
	stp	xzr, xzr, [x20, #8]
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldr	x8, [x19]
	add	x22, x22, #8
	cmp	x8, x23
	b.ls	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x21, x8, x22
	mov	x0, x19
	mov	x1, x21
	bl	_iwl_pcie_free_rxq_dma
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_netif_napi_del
	b	LBB0_5
LBB0_8:
	ldr	x0, [x20]
	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	_kfree
LBB0_9:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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	_IWL_DEBUG_INFO
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_DEVICE_FAMILY_22560,8,3    ; @IWL_DEVICE_FAMILY_22560
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Free NULL rx context\n"

.subsections_via_symbols
