	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lio_delete_glists              ## -- Begin function lio_delete_glists
	.p2align	4, 0x90
_lio_delete_glists:                     ## @lio_delete_glists
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	40(%rdi), %rdi
	callq	_kfree
	movq	$0, 40(%r14)
	cmpq	$0, 8(%r14)
	je	LBB0_11
## %bb.1:
	movq	32(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	32(%r14), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_10
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%r15,8), %rdi
	addq	8(%r14), %rdi
	callq	_lio_list_delete_head
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_kfree
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax,%r15,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax,%r15,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r14), %rdi
	movl	4(%r14), %esi
	imull	(%r14), %esi
	callq	_lio_dma_free
	jmp	LBB0_9
LBB0_10:
	movq	24(%r14), %rdi
	callq	_kfree
	movq	$0, 24(%r14)
	movq	16(%r14), %rdi
	callq	_kfree
	movq	$0, 16(%r14)
	movq	8(%r14), %rdi
	callq	_kfree
	movq	$0, 8(%r14)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lio_delete_glists              ; -- Begin function lio_delete_glists
	.p2align	2
_lio_delete_glists:                     ; @lio_delete_glists
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x0, [x0, #40]
	bl	_kfree
	str	xzr, [x19, #40]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.1:
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x21, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19, #32]
	ldrsw	x8, [x8]
	cmp	x21, x8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21, lsl #3
	bl	_lio_list_delete_head
	mov	x20, x0
	bl	_kfree
	cbnz	x20, LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x8, x21, lsl #3]
	cbz	x2, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [x8, x21, lsl #3]
	cbz	x3, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #32]
	ldp	w8, w9, [x19]
	mul	w1, w9, w8
	bl	_lio_dma_free
	b	LBB0_3
LBB0_10:
	ldr	x0, [x19, #24]
	bl	_kfree
	str	xzr, [x19, #24]
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
