	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_nat_disconnect
_ng_nat_disconnect:                     ## @ng_nat_disconnect
	.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
	callq	_NG_HOOK_NODE
	movl	%eax, %edi
	callq	_NG_NODE_PRIVATE
	movq	_NGNAT_CONNECTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 16(%rax)
	movq	8(%rax), %rdx
	cmpq	%rbx, %rdx
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_6
## %bb.2:
	testq	%rdx, %rdx
	jne	LBB0_8
	jmp	LBB0_3
LBB0_4:
	movq	$0, 8(%rax)
	movq	(%rax), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_5
LBB0_3:
	testq	%rcx, %rcx
	jne	LBB0_8
	jmp	LBB0_7
LBB0_6:
	movq	$0, (%rax)
	testq	%rdx, %rdx
	jne	LBB0_8
	jmp	LBB0_7
LBB0_5:
	movq	$0, (%rax)
LBB0_7:
	movq	%rbx, %rdi
	callq	_NG_HOOK_NODE
	movl	%eax, %edi
	callq	_ng_rmnode_self
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NGNAT_CONNECTED,4,2            ## @NGNAT_CONNECTED
	.no_dead_strip	_ng_nat_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_nat_disconnect
_ng_nat_disconnect:                     ; @ng_nat_disconnect
	.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
	bl	_NG_HOOK_NODE
	bl	_NG_NODE_PRIVATE
Lloh0:
	adrp	x8, _NGNAT_CONNECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NGNAT_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #16]
	bic	w8, w9, w8
	str	w8, [x0, #16]
	ldr	x9, [x0, #8]
	cmp	x9, x19
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.2:
	cbnz	x9, LBB0_8
	b	LBB0_4
LBB0_3:
	str	xzr, [x0, #8]
	ldr	x8, [x0]
	cmp	x8, x19
	b.eq	LBB0_6
LBB0_4:
	cbnz	x8, LBB0_8
	b	LBB0_7
LBB0_5:
	str	xzr, [x0]
	cbnz	x9, LBB0_8
	b	LBB0_7
LBB0_6:
	str	xzr, [x0]
LBB0_7:
	mov	x0, x19
	bl	_NG_HOOK_NODE
	bl	_ng_rmnode_self
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NGNAT_CONNECTED,4,2            ; @NGNAT_CONNECTED
	.no_dead_strip	_ng_nat_disconnect
.subsections_via_symbols
