	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function islpci_free_memory
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_islpci_free_memory
	.p2align	4, 0x90
_islpci_free_memory:                    ## @islpci_free_memory
	.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, %r15
	movq	72(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_iounmap
LBB0_2:
	movq	$0, 72(%r15)
	movq	64(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movl	24(%r15), %edi
	movq	_HOST_MEM_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	56(%r15), %rcx
	callq	_pci_free_consistent
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%r15)
	movups	%xmm0, 40(%r15)
	movq	_ISL38XX_CB_MGMT_QSIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.5:
	movl	$16, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	$0, (%r13,%rbx)
	movq	-16(%r13,%rbx), %rdi
	callq	_kfree
	incq	%r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, -16(%r13,%rbx)
	movslq	(%r14), %rax
	addq	$24, %rbx
	cmpq	%rax, %r12
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %r13
	movq	(%r13,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	24(%r15), %edi
	movq	-8(%r13,%rbx), %rdx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_single
	jmp	LBB0_8
LBB0_9:
	movq	_ISL38XX_CB_RX_QSIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_16
## %bb.10:
	xorl	%ebx, %ebx
	movq	_MAX_FRAGMENT_SIZE_RX@GOTPCREL(%rip), %r12
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	24(%r15), %edi
	movq	(%r12), %rdx
	addq	$2, %rdx
	movl	(%r13), %ecx
	callq	_pci_unmap_single
	movq	16(%r15), %rax
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	$0, (%rax,%rbx,8)
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	callq	_dev_kfree_skb
	movq	8(%r15), %rax
	jmp	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	callq	_prism54_acl_clean
	movq	%r15, %rdi
	callq	_prism54_wpa_bss_ie_clean
	movq	%r15, %rdi
	callq	_mgt_clean
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_MEM_BLOCK,4,2             ## @HOST_MEM_BLOCK
	.comm	_ISL38XX_CB_MGMT_QSIZE,4,2      ## @ISL38XX_CB_MGMT_QSIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_ISL38XX_CB_RX_QSIZE,4,2        ## @ISL38XX_CB_RX_QSIZE
	.comm	_MAX_FRAGMENT_SIZE_RX,8,3       ## @MAX_FRAGMENT_SIZE_RX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_islpci_free_memory             ; -- Begin function islpci_free_memory
	.p2align	2
_islpci_free_memory:                    ; @islpci_free_memory
	.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
	ldr	x0, [x0, #72]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_iounmap
LBB0_2:
	str	xzr, [x19, #72]
	ldr	x2, [x19, #64]
	cbz	x2, LBB0_4
; %bb.3:
	ldr	w0, [x19, #24]
Lloh0:
	adrp	x8, _HOST_MEM_BLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_MEM_BLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x3, [x19, #56]
	bl	_pci_free_consistent
LBB0_4:
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #56]
	stur	q0, [x19, #40]
Lloh3:
	adrp	x21, _ISL38XX_CB_MGMT_QSIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ISL38XX_CB_MGMT_QSIZE@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh5:
	adrp	x20, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	xzr, [x24, #16]
	ldr	x0, [x24]
	bl	_kfree
	add	x23, x23, #1
	stp	xzr, xzr, [x24]
	ldrsw	x8, [x21]
	add	x22, x22, #24
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x24, x8, x22
	ldr	x1, [x24, #16]
	cbz	x1, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #24]
	ldr	x2, [x24, #8]
	ldr	w3, [x20]
	bl	_pci_unmap_single
	b	LBB0_6
LBB0_9:
Lloh7:
	adrp	x21, _ISL38XX_CB_RX_QSIZE@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ISL38XX_CB_RX_QSIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x22, #0
Lloh9:
	adrp	x23, _MAX_FRAGMENT_SIZE_RX@GOTPAGE
Lloh10:
	ldr	x23, [x23, _MAX_FRAGMENT_SIZE_RX@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	str	xzr, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x1, [x8, x22, lsl #3]
	cbz	x1, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x19, #24]
	ldr	x8, [x23]
	add	x2, x8, #2
	ldr	w3, [x20]
	bl	_pci_unmap_single
	ldr	x8, [x19, #16]
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	lsl	x9, x22, #3
	str	xzr, [x8, x9]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x9]
	cbz	x0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_dev_kfree_skb
	ldr	x8, [x19, #8]
	b	LBB0_11
LBB0_16:
	mov	x0, x19
	bl	_prism54_acl_clean
	mov	x0, x19
	bl	_prism54_wpa_bss_ie_clean
	mov	x0, x19
	bl	_mgt_clean
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_MEM_BLOCK,4,2             ; @HOST_MEM_BLOCK
	.comm	_ISL38XX_CB_MGMT_QSIZE,4,2      ; @ISL38XX_CB_MGMT_QSIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_ISL38XX_CB_RX_QSIZE,4,2        ; @ISL38XX_CB_RX_QSIZE
	.comm	_MAX_FRAGMENT_SIZE_RX,8,3       ; @MAX_FRAGMENT_SIZE_RX
.subsections_via_symbols
