	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slic_free_tx_queue
_slic_free_tx_queue:                    ## @slic_free_tx_queue
	.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
	movq	%rdi, %r14
	cmpl	$0, 8(%rdi)
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movl	8(%r14), %eax
	addq	$12, %rbx
	cmpq	%rax, %r15
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %r12
	movl	24(%r14), %edi
	movl	4(%r12,%rbx), %edx
	movl	8(%r12,%rbx), %esi
	callq	_dma_pool_free
	cmpl	$0, (%r12,%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%rbx), %r13
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_map_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_addr
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_map_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_len
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_dma_unmap_single
	movl	(%r12,%rbx), %edi
	callq	_consume_skb
	jmp	LBB0_4
LBB0_5:
	movl	24(%r14), %edi
	callq	_dma_pool_destroy
	movq	16(%r14), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_map_addr,4,2                   ## @map_addr
	.comm	_map_len,4,2                    ## @map_len
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_slic_free_tx_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slic_free_tx_queue
_slic_free_tx_queue:                    ; @slic_free_tx_queue
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh0:
	adrp	x25, _map_addr@GOTPAGE
Lloh1:
	ldr	x25, [x25, _map_addr@GOTPAGEOFF]
Lloh2:
	adrp	x26, _map_len@GOTPAGE
Lloh3:
	ldr	x26, [x26, _map_len@GOTPAGEOFF]
Lloh4:
	adrp	x27, _DMA_TO_DEVICE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _DMA_TO_DEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldr	w8, [x19, #8]
	add	x23, x23, #12
	cmp	x24, x8
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x19, #16]
	add	x20, x28, x23
	ldr	w0, [x19, #24]
	ldp	w2, w1, [x20, #4]
	bl	_dma_pool_free
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x19]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_dma_unmap_addr
	mov	x22, x0
	ldr	w1, [x26]
	mov	x0, x20
	bl	_dma_unmap_len
	mov	x2, x0
	ldr	w3, [x27]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_unmap_single
	ldr	w0, [x28, x23]
	bl	_consume_skb
	b	LBB0_2
LBB0_5:
	ldr	w0, [x19, #24]
	bl	_dma_pool_destroy
	ldr	x0, [x19, #16]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_map_addr,4,2                   ; @map_addr
	.comm	_map_len,4,2                    ; @map_len
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_slic_free_tx_queue
.subsections_via_symbols
