	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pf_detach_state
_pf_detach_state:                       ## @pf_detach_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_PF_SK_STACK@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_V_pf_keyhash@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_pf_hashkey
	leaq	(%r14,%rax,4), %r14
	movq	%r14, %rdi
	callq	_PF_HASHROW_LOCK
	movq	(%r15), %rax
	movq	(%r12), %rsi
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_pf_state_key_detach
	movq	(%r15), %rax
LBB0_3:
	movq	_PF_SK_WIRE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	(%rax,%rsi,8), %rbx
	je	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	callq	_PF_HASHROW_UNLOCK
	movq	(%r15), %rax
LBB0_5:
	movq	_PF_SK_WIRE@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.6:
	movq	_V_pf_keyhash@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	callq	_pf_hashkey
	leaq	(%rbx,%rax,4), %r14
	movq	%r14, %rdi
	callq	_PF_HASHROW_LOCK
	movq	(%r15), %rax
	movq	(%r12), %rsi
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	callq	_pf_state_key_detach
LBB0_8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PF_HASHROW_UNLOCK              ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_SK_STACK,8,3                ## @PF_SK_STACK
	.comm	_V_pf_keyhash,8,3               ## @V_pf_keyhash
	.comm	_PF_SK_WIRE,8,3                 ## @PF_SK_WIRE
	.no_dead_strip	_pf_detach_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pf_detach_state
_pf_detach_state:                       ; @pf_detach_state
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x24, _PF_SK_STACK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PF_SK_STACK@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x21, [x8, x9, lsl #3]
Lloh2:
	adrp	x22, _PF_SK_WIRE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PF_SK_WIRE@GOTPAGEOFF]
Lloh4:
	adrp	x23, _V_pf_keyhash@GOTPAGE
Lloh5:
	ldr	x23, [x23, _V_pf_keyhash@GOTPAGEOFF]
	cbz	x21, LBB0_5
; %bb.1:
	ldr	x20, [x23]
	mov	x0, x21
	bl	_pf_hashkey
	add	x20, x20, x0, lsl #2
	mov	x0, x20
	bl	_PF_HASHROW_LOCK
	ldr	x8, [x19]
	ldr	x1, [x24]
	ldr	x9, [x8, x1, lsl #3]
	cbz	x9, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_pf_state_key_detach
	ldr	x8, [x19]
LBB0_3:
	ldr	x1, [x22]
	ldr	x8, [x8, x1, lsl #3]
	cmp	x21, x8
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_PF_HASHROW_UNLOCK
	ldr	x8, [x19]
LBB0_5:
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_9
; %bb.6:
	ldr	x20, [x23]
	bl	_pf_hashkey
	add	x20, x20, x0, lsl #2
	mov	x0, x20
	bl	_PF_HASHROW_LOCK
	ldr	x8, [x19]
	ldr	x1, [x22]
	ldr	x8, [x8, x1, lsl #3]
	cbz	x8, LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_pf_state_key_detach
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PF_HASHROW_UNLOCK
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_SK_STACK,8,3                ; @PF_SK_STACK
	.comm	_V_pf_keyhash,8,3               ; @V_pf_keyhash
	.comm	_PF_SK_WIRE,8,3                 ; @PF_SK_WIRE
	.no_dead_strip	_pf_detach_state
.subsections_via_symbols
