	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_port_delete                    ## -- Begin function port_delete
	.p2align	4, 0x90
_port_delete:                           ## @port_delete
	.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
	movq	32(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_p_pgs@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
LBB0_2:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	_p_pps@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
LBB0_4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movq	_p_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
LBB0_6:
	movq	8(%rbx), %rdi
	movq	_p_next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_p_pgs,4,2                      ## @p_pgs
	.comm	_p_pps,4,2                      ## @p_pps
	.comm	_p_ts,4,2                       ## @p_ts
	.comm	_p_next,4,2                     ## @p_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_port_delete                    ; -- Begin function port_delete
	.p2align	2
_port_delete:                           ; @port_delete
	.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
	ldr	x0, [x0, #32]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _p_pgs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _p_pgs@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_TAILQ_REMOVE
LBB0_2:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _p_pps@GOTPAGE
Lloh4:
	ldr	x8, [x8, _p_pps@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_TAILQ_REMOVE
LBB0_4:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _p_ts@GOTPAGE
Lloh7:
	ldr	x8, [x8, _p_ts@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_TAILQ_REMOVE
LBB0_6:
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x8, _p_next@GOTPAGE
Lloh10:
	ldr	x8, [x8, _p_next@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_TAILQ_REMOVE
	ldr	x0, [x19]
	bl	_free
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_p_pgs,4,2                      ; @p_pgs
	.comm	_p_pps,4,2                      ; @p_pps
	.comm	_p_ts,4,2                       ; @p_ts
	.comm	_p_next,4,2                     ; @p_next
.subsections_via_symbols
