	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iflib_rx_sds_free
_iflib_rx_sds_free:                     ## @iflib_rx_sds_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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r12
	cmpl	$0, (%rdi)
	jle	LBB0_11
## %bb.2:
	xorl	%r14d, %r14d
	movq	_M_IFLIB@GOTPCREL(%rip), %r13
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_M_IFLIB@GOTPCREL(%rip), %r13
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_bus_dma_tag_destroy
	movq	$0, (%r12)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r12
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15,%rcx), %rdi
	movl	(%r13), %esi
	movq	%rcx, %rbx
	callq	_free
	movq	24(%r15,%rbx), %rdi
	movl	(%r13), %esi
	callq	_free
	movq	16(%r15,%rbx), %rdi
	movl	(%r13), %esi
	callq	_free
	movq	8(%r15,%rbx), %rdi
	movl	(%r13), %esi
	callq	_free
	incq	%r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r15,%rbx)
	movups	%xmm0, 24(%r15,%rbx)
	movslq	(%r12), %rax
	movq	24(%r12), %r15
	cmpq	%rax, %r14
	jge	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	leaq	(%r14,%r14,2), %rcx
	shlq	$4, %rcx
	movq	40(%r15,%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rbx
	leaq	(%r15,%rcx), %r12
	addq	$40, %r12
	movq	8(%r15,%rcx), %rax
	testq	%rax, %rax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r15,%rcx)
	jle	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%rcx), %r13
	addq	$8, %r13
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	addq	%rcx, %r15
	movl	$1, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_BUS_DMASYNC_POSTREAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movups	(%rax,%r14), %xmm0
	movups	16(%rax,%r14), %xmm1
	movups	32(%rax,%r14), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_bus_dmamap_sync
	movq	(%r12), %rdi
	movq	(%r13), %rax
	movups	(%rax,%r14), %xmm0
	movups	16(%rax,%r14), %xmm1
	movups	32(%rax,%r14), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_bus_dmamap_unload
	movq	(%r12), %rdi
	movq	(%r13), %rax
	movups	(%rax,%r14), %xmm0
	movups	16(%rax,%r14), %xmm1
	movups	32(%rax,%r14), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_bus_dmamap_destroy
	movslq	(%r15), %rax
	movq	(%r12), %rdi
	cmpq	%rax, %rbx
	jge	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	(%r13), %rax
	addq	$48, %r14
	incq	%rbx
	jmp	LBB0_7
LBB0_11:
	movq	_M_IFLIB@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_free
	movq	$0, 24(%r12)
	movq	16(%r12), %rdi
	movl	(%r14), %esi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
LBB0_12:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUS_DMASYNC_POSTREAD,4,2       ## @BUS_DMASYNC_POSTREAD
	.comm	_M_IFLIB,4,2                    ## @M_IFLIB
	.no_dead_strip	_iflib_rx_sds_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iflib_rx_sds_free
_iflib_rx_sds_free:                     ; @iflib_rx_sds_free
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldr	x20, [x0, #24]
	cbz	x20, LBB0_13
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _M_IFLIB@GOTPAGE
Lloh1:
	ldr	x21, [x21, _M_IFLIB@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.2:
	mov	x22, #0
	mov	w23, #48
Lloh2:
	adrp	x24, _BUS_DMASYNC_POSTREAD@GOTPAGE
Lloh3:
	ldr	x24, [x24, _BUS_DMASYNC_POSTREAD@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #48
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_bus_dma_tag_destroy
	str	xzr, [x25]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	madd	x20, x22, x23, x20
	ldr	x0, [x20, #32]
	ldr	w1, [x21]
	bl	_free
	ldr	x0, [x20, #24]
	ldr	w1, [x21]
	bl	_free
	ldr	x0, [x20, #16]
	ldr	w1, [x21]
	bl	_free
	ldr	x0, [x20, #8]
	ldr	w1, [x21]
	bl	_free
	add	x22, x22, #1
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #8]
	stur	q0, [x20, #24]
	ldrsw	x8, [x19]
	ldr	x20, [x19, #24]
	cmp	x22, x8
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	madd	x25, x22, x23, x20
	ldr	x0, [x25, #40]!
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	madd	x26, x22, x23, x20
	ldr	x8, [x26, #8]!
	cbz	x8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	madd	x27, x22, x23, x20
	ldr	w9, [x27]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, #0
	mov	w23, #1
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x24]
	add	x8, x8, x28
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
	mov	x1, sp
	bl	_bus_dmamap_sync
	ldr	x0, [x25]
	ldr	x8, [x26]
	add	x8, x8, x28
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
	mov	x1, sp
	bl	_bus_dmamap_unload
	ldr	x0, [x25]
	ldr	x8, [x26]
	add	x8, x8, x28
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
	mov	x1, sp
	bl	_bus_dmamap_destroy
	ldrsw	x8, [x27]
	ldr	x0, [x25]
	cmp	x23, x8
	b.ge	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x26]
	add	x28, x28, #48
	add	x23, x23, #1
	b	LBB0_10
LBB0_12:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_free
	str	xzr, [x19, #24]
	ldr	x0, [x19, #16]
	ldr	w1, [x21]
	bl	_free
	stp	xzr, xzr, [x19, #8]
LBB0_13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_BUS_DMASYNC_POSTREAD,4,2       ; @BUS_DMASYNC_POSTREAD
	.comm	_M_IFLIB,4,2                    ; @M_IFLIB
	.no_dead_strip	_iflib_rx_sds_free
.subsections_via_symbols
