	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gre_cisco_unregister           ## -- Begin function gre_cisco_unregister
	.p2align	4, 0x90
_gre_cisco_unregister:                  ## @gre_cisco_unregister
	.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, %r14
	movq	_gre_cisco_proto_list@GOTPCREL(%rip), %rax
	movq	(%rdi), %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	xorl	%r15d, %r15d
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_cmpxchg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	cmpq	%r14, %rax
	cmovel	%r15d, %ebx
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_synchronize_net
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gre_cisco_proto_list,8,3       ## @gre_cisco_proto_list
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gre_cisco_unregister           ; -- Begin function gre_cisco_unregister
	.p2align	2
_gre_cisco_unregister:                  ; @gre_cisco_unregister
	.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
Lloh0:
	adrp	x8, _gre_cisco_proto_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gre_cisco_proto_list@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	add	x0, x8, x9, lsl #2
	mov	x1, x19
	mov	x2, #0
	bl	_cmpxchg
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, x19
	csneg	w19, wzr, w8, eq
	cbnz	w19, LBB0_2
; %bb.1:
	bl	_synchronize_net
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_gre_cisco_proto_list,8,3       ; @gre_cisco_proto_list
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
