	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proto_free
_proto_free:                            ## @proto_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_PJDLOG_ASSERT
	movq	(%rbx), %rax
	movq	_PROTO_CONN_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_PJDLOG_ASSERT
	movq	8(%rbx), %rax
	movq	_PROTO_SIDE_CLIENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_PROTO_SIDE_SERVER_LISTEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	orb	%cl, %dl
	movq	_PROTO_SIDE_SERVER_WORK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_PJDLOG_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	setne	%dil
	callq	_PJDLOG_ASSERT
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_bzero
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PROTO_CONN_MAGIC,8,3           ## @PROTO_CONN_MAGIC
	.comm	_PROTO_SIDE_CLIENT,8,3          ## @PROTO_SIDE_CLIENT
	.comm	_PROTO_SIDE_SERVER_LISTEN,8,3   ## @PROTO_SIDE_SERVER_LISTEN
	.comm	_PROTO_SIDE_SERVER_WORK,8,3     ## @PROTO_SIDE_SERVER_WORK
	.no_dead_strip	_proto_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proto_free
_proto_free:                            ; @proto_free
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_PJDLOG_ASSERT
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _PROTO_CONN_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PROTO_CONN_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_PJDLOG_ASSERT
Lloh3:
	adrp	x8, _PROTO_SIDE_CLIENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROTO_SIDE_CLIENT@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
Lloh6:
	adrp	x8, _PROTO_SIDE_SERVER_LISTEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PROTO_SIDE_SERVER_LISTEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
Lloh9:
	adrp	x8, _PROTO_SIDE_SERVER_WORK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PROTO_SIDE_SERVER_WORK@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_PJDLOG_ASSERT
	mov	x0, x19
	mov	w1, #24
	bl	_bzero
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PROTO_CONN_MAGIC,8,3           ; @PROTO_CONN_MAGIC
	.comm	_PROTO_SIDE_CLIENT,8,3          ; @PROTO_SIDE_CLIENT
	.comm	_PROTO_SIDE_SERVER_LISTEN,8,3   ; @PROTO_SIDE_SERVER_LISTEN
	.comm	_PROTO_SIDE_SERVER_WORK,8,3     ; @PROTO_SIDE_SERVER_WORK
	.no_dead_strip	_proto_free
.subsections_via_symbols
