	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netxen_free_sw_resources       ## -- Begin function netxen_free_sw_resources
	.p2align	4, 0x90
_netxen_free_sw_resources:              ## @netxen_free_sw_resources
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.2:
	movl	$8, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx), %rdi
	callq	_vfree
	movq	$0, (%r15,%rbx)
	incq	%r12
	movslq	(%r14), %rax
	movq	16(%r14), %r15
	addq	$16, %rbx
	cmpq	%rax, %r12
	jl	LBB0_3
LBB0_4:
	movq	%r15, %rdi
	callq	_kfree
LBB0_5:
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movq	(%rbx), %rdi
	callq	_vfree
	movq	%rbx, %rdi
	callq	_kfree
	movq	$0, 8(%r14)
LBB0_7:
	popq	%rbx
	popq	%r12
	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	_netxen_free_sw_resources       ; -- Begin function netxen_free_sw_resources
	.p2align	2
_netxen_free_sw_resources:              ; @netxen_free_sw_resources
	.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	x20, [x0, #16]
	cbz	x20, LBB0_5
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	mov	w22, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, x22]
	bl	_vfree
	str	xzr, [x20, x22]
	add	x21, x21, #1
	ldrsw	x8, [x19]
	ldr	x20, [x19, #16]
	add	x22, x22, #16
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x20
	bl	_kfree
LBB0_5:
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_7
; %bb.6:
	ldr	x0, [x20]
	bl	_vfree
	mov	x0, x20
	bl	_kfree
	str	xzr, [x19, #8]
LBB0_7:
	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
