	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proc_free                      ## -- Begin function proc_free
	.p2align	4, 0x90
_proc_free:                             ## @proc_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	$96, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_free
	movq	(%r14), %rax
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$104, %r12
	cmpq	%rax, %rbx
	jae	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rcx
	movq	(%rcx,%r12), %r15
	testq	%r15, %r15
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	8(%r15)
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	88(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_elf_end
	movl	80(%r15), %edi
	callq	_close
	cmpq	$0, 64(%r15)
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	72(%r15), %rdi
	callq	_free
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 48(%r15)
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	56(%r15), %rdi
	callq	_free
	jmp	LBB0_9
LBB0_11:
	cmpq	$0, 16(%r14)
	jle	LBB0_13
## %bb.12:
	movq	40(%r14), %rdi
	callq	_free
LBB0_13:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_procstat_close
LBB0_15:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_rd_delete
LBB0_17:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proc_free                      ; -- Begin function proc_free
	.p2align	2
_proc_free:                             ; @proc_free
	.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	x8, [x0]
	cbz	x8, LBB0_11
; %bb.1:
	mov	x21, #0
	mov	w22, #96
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_free
	ldr	x8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	add	x22, x22, #104
	cmp	x21, x8
	b.hs	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #40]
	ldr	x20, [x9, x22]
	cbz	x20, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20, #8]
	subs	x9, x9, #1
	str	x9, [x20, #8]
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #88]
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_elf_end
	ldr	w0, [x20, #80]
	bl	_close
	ldr	x8, [x20, #64]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #72]
	bl	_free
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #48]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #56]
	bl	_free
	b	LBB0_2
LBB0_11:
	ldr	x8, [x19, #16]
	cmp	x8, #1
	b.lt	LBB0_13
; %bb.12:
	ldr	x0, [x19, #40]
	bl	_free
LBB0_13:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_procstat_close
LBB0_15:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_rd_delete
LBB0_17:
	mov	x0, x19
	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
	b	_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
