	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	movq	40(%rdi), %r15
	leaq	L_.str(%rip), %rsi
	callq	_proc_debug
	cmpq	%rbx, 16(%r15)
	je	LBB0_1
## %bb.2:
	cmpq	%rbx, 8(%r15)
	je	LBB0_3
LBB0_4:
	cmpq	%rbx, (%r15)
	jne	LBB0_6
LBB0_5:
	movq	$0, (%r15)
LBB0_6:
	movq	_MACH_PORT_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rbx)
	je	LBB0_12
## %bb.7:
	cmpq	%rax, 8(%rbx)
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_proc_restore_exc_port
LBB0_9:
	cmpq	$0, 16(%rbx)
	je	LBB0_11
## %bb.10:
	movq	$0, 24(%rbx)
	movq	%rbx, %rdi
	callq	_proc_update_sc
LBB0_11:
	xorl	%eax, %eax
	callq	_mach_task_self
	movq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_mach_port_deallocate
LBB0_12:
	movq	%rbx, %rdi
	callq	_xfree
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_inf_set_step_thread
	cmpq	%rbx, 8(%r15)
	jne	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	callq	_inf_clear_wait
	cmpq	%rbx, (%r15)
	jne	LBB0_6
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"freeing..."

	.comm	_MACH_PORT_NULL,8,3             ## @MACH_PORT_NULL
.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	x20, x0
	ldp	x19, x21, [x0, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_proc_debug
	ldr	x8, [x21, #16]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	bl	_inf_set_step_thread
LBB0_2:
	ldr	x8, [x21, #8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_inf_clear_wait
LBB0_4:
	ldr	x8, [x21]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.5:
	str	xzr, [x21]
LBB0_6:
	ldr	x9, [x20]
Lloh2:
	adrp	x8, _MACH_PORT_NULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MACH_PORT_NULL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_12
; %bb.7:
	ldr	x9, [x20, #8]
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_proc_restore_exc_port
LBB0_9:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_11
; %bb.10:
	str	xzr, [x20, #24]
	mov	x0, x20
	bl	_proc_update_sc
LBB0_11:
	bl	_mach_task_self
	ldr	x1, [x20]
	bl	_mach_port_deallocate
LBB0_12:
	mov	x0, x20
	bl	_xfree
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"freeing..."

	.comm	_MACH_PORT_NULL,8,3             ; @MACH_PORT_NULL
.subsections_via_symbols
