	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ng_bypass                      ## -- Begin function ng_bypass
	.p2align	4, 0x90
_ng_bypass:                             ## @ng_bypass
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	cmpq	(%rsi), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_TOPOLOGY_WLOCK
	movq	%r15, %rdi
	callq	_NG_HOOK_NOT_VALID
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_NG_HOOK_NOT_VALID
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_TOPOLOGY_WUNLOCK
	jmp	LBB0_2
LBB0_1:
	xorl	%eax, %eax
	callq	_TRAP_ERROR
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%r14), %rax
	movq	8(%r15), %rcx
	movq	%rax, (%rcx)
	movq	%rcx, (%rax)
	movq	_ng_deadhook@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	%rax, 8(%r14)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_TOPOLOGY_WUNLOCK
	movq	%r15, %rdi
	callq	_NG_HOOK_UNREF
	movq	%r14, %rdi
	callq	_NG_HOOK_UNREF
	movq	%r15, %rdi
	callq	_ng_destroy_hook
	movq	%r14, %rdi
	callq	_ng_destroy_hook
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ng_deadhook,8,3                ## @ng_deadhook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ng_bypass                      ; -- Begin function ng_bypass
	.p2align	2
_ng_bypass:                             ; @ng_bypass
	.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
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_TOPOLOGY_WLOCK
	mov	x0, x20
	bl	_NG_HOOK_NOT_VALID
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_NG_HOOK_NOT_VALID
	cbz	x0, LBB0_7
LBB0_3:
	bl	_TOPOLOGY_WUNLOCK
	b	LBB0_5
LBB0_4:
	bl	_TRAP_ERROR
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	str	x8, [x9]
	str	x9, [x8]
Lloh3:
	adrp	x8, _ng_deadhook@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ng_deadhook@GOTPAGEOFF]
	str	x8, [x20, #8]
	str	x8, [x19, #8]
	bl	_TOPOLOGY_WUNLOCK
	mov	x0, x20
	bl	_NG_HOOK_UNREF
	mov	x0, x19
	bl	_NG_HOOK_UNREF
	mov	x0, x20
	bl	_ng_destroy_hook
	mov	x0, x19
	bl	_ng_destroy_hook
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ng_deadhook,8,3                ; @ng_deadhook
.subsections_via_symbols
