	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pf_unlink_state                ## -- Begin function pf_unlink_state
	.p2align	4, 0x90
_pf_unlink_state:                       ## @pf_unlink_state
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_V_pf_idhash@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	callq	_PF_IDHASH
	leaq	(%rbx,%rax,4), %r14
	movq	_PF_ENTER_LOCKED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_PF_HASHROW_ASSERT
	jmp	LBB0_3
LBB0_1:
	movq	%r14, %rdi
	callq	_PF_HASHROW_LOCK
LBB0_3:
	movq	(%r12), %rax
	movq	_PFTM_UNLINKED@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.7:
	movq	%r14, %rdi
	callq	_PF_HASHROW_UNLOCK
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%r12), %rax
	movq	_PF_TCPS_PROXY_DST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movl	48(%r12), %esi
	movq	40(%r12), %rax
	movq	_PF_SK_WIRE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	16(%rax), %edx
	movq	(%rax), %rdi
	movq	8(%rax), %r8
	leaq	4(%r8), %rcx
	movl	(%rdi), %r10d
	movl	4(%rdi), %r9d
	movl	32(%r12), %r13d
	movq	24(%r12), %rbx
	incq	%rbx
	movq	_TH_RST@GOTPCREL(%rip), %r11
	movq	_TH_ACK@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	orl	(%r11), %eax
	movl	12(%r12), %r11d
	xorl	%edi, %edi
	pushq	$0
	pushq	%r11
	pushq	$1
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%rax
	pushq	%rbx
	pushq	%r13
	pushq	%r10
	callq	_pf_send_tcp
	addq	$80, %rsp
LBB0_6:
	movq	_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LIST_REMOVE
	movq	%r12, %rdi
	callq	_pf_src_tree_remove_state
	movq	%r12, %rdi
	callq	_V_pfsync_delete_state_ptr
	movq	%r12, %rdi
	callq	_STATE_DEC_COUNTERS
	movq	(%r15), %rax
	movq	%rax, (%r12)
	movq	%r14, %rdi
	callq	_PF_HASHROW_UNLOCK
	movq	%r12, %rdi
	callq	_pf_detach_state
	leaq	8(%r12), %rdi
	callq	_refcount_release
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pf_release_state               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V_pf_idhash,8,3                ## @V_pf_idhash
	.comm	_PF_ENTER_LOCKED,4,2            ## @PF_ENTER_LOCKED
	.comm	_PFTM_UNLINKED,8,3              ## @PFTM_UNLINKED
	.comm	_PF_TCPS_PROXY_DST,8,3          ## @PF_TCPS_PROXY_DST
	.comm	_PF_SK_WIRE,8,3                 ## @PF_SK_WIRE
	.comm	_TH_RST,4,2                     ## @TH_RST
	.comm	_TH_ACK,4,2                     ## @TH_ACK
	.comm	_entry,4,2                      ## @entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pf_unlink_state                ; -- Begin function pf_unlink_state
	.p2align	2
_pf_unlink_state:                       ; @pf_unlink_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _V_pf_idhash@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_pf_idhash@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	bl	_PF_IDHASH
	add	x20, x20, x0, lsl #2
Lloh3:
	adrp	x8, _PF_ENTER_LOCKED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PF_ENTER_LOCKED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x0, x20
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	bl	_PF_HASHROW_ASSERT
	b	LBB0_3
LBB0_2:
	bl	_PF_HASHROW_LOCK
LBB0_3:
	ldr	x8, [x19]
Lloh6:
	adrp	x21, _PFTM_UNLINKED@GOTPAGE
Lloh7:
	ldr	x21, [x21, _PFTM_UNLINKED@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_PF_HASHROW_UNLOCK
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	ldr	x8, [x19, #16]
Lloh8:
	adrp	x9, _PF_TCPS_PROXY_DST@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PF_TCPS_PROXY_DST@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #40]
Lloh11:
	adrp	x9, _PF_SK_WIRE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PF_SK_WIRE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x19, #48]
	ldr	w2, [x8, #16]
	ldp	x8, x4, [x8]
	add	x3, x4, #4
	ldp	w6, w5, [x8]
	ldr	w7, [x19, #32]
	ldr	x8, [x19, #24]
	add	x8, x8, #1
Lloh14:
	adrp	x9, _TH_RST@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TH_RST@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _TH_ACK@GOTPAGE
Lloh18:
	ldr	x10, [x10, _TH_ACK@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x19, #12]
	str	xzr, [sp, #32]
	str	w10, [sp, #28]
	mov	x10, #4294967296
	stur	x10, [sp, #20]
	stur	xzr, [sp, #12]
	str	w9, [sp, #8]
	str	x8, [sp]
	mov	x0, #0
	bl	_pf_send_tcp
LBB0_7:
Lloh20:
	adrp	x8, _entry@GOTPAGE
Lloh21:
	ldr	x8, [x8, _entry@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LIST_REMOVE
	mov	x0, x19
	bl	_pf_src_tree_remove_state
	mov	x0, x19
	bl	_V_pfsync_delete_state_ptr
	mov	x0, x19
	bl	_STATE_DEC_COUNTERS
	ldr	x8, [x21]
	mov	x21, x19
	str	x8, [x21], #8
	mov	x0, x20
	bl	_PF_HASHROW_UNLOCK
	mov	x0, x19
	bl	_pf_detach_state
	mov	x0, x21
	bl	_refcount_release
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_pf_release_state
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_V_pf_idhash,8,3                ; @V_pf_idhash
	.comm	_PF_ENTER_LOCKED,4,2            ; @PF_ENTER_LOCKED
	.comm	_PFTM_UNLINKED,8,3              ; @PFTM_UNLINKED
	.comm	_PF_TCPS_PROXY_DST,8,3          ; @PF_TCPS_PROXY_DST
	.comm	_PF_SK_WIRE,8,3                 ; @PF_SK_WIRE
	.comm	_TH_RST,4,2                     ; @TH_RST
	.comm	_TH_ACK,4,2                     ; @TH_ACK
	.comm	_entry,4,2                      ; @entry
.subsections_via_symbols
