	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_ifdetach
_vxlan_ifdetach:                        ## @vxlan_ifdetach
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_VXLAN_WLOCK
	cmpq	%r15, 8(%rbx)
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %eax
	movq	_VXLAN_FLAG_TEARDOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_3
## %bb.2:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_vxl_ifdetach_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VXLAN_WUNLOCK                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VXLAN_FLAG_TEARDOWN,4,2        ## @VXLAN_FLAG_TEARDOWN
	.comm	_vxl_ifdetach_list,4,2          ## @vxl_ifdetach_list
	.no_dead_strip	_vxlan_ifdetach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_ifdetach
_vxlan_ifdetach:                        ; @vxlan_ifdetach
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_VXLAN_WLOCK
	ldr	x8, [x19, #8]
	cmp	x8, x21
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _VXLAN_FLAG_TEARDOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VXLAN_FLAG_TEARDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	orr	w8, w9, w8
	str	w8, [x19]
Lloh3:
	adrp	x8, _vxl_ifdetach_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vxl_ifdetach_list@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_LIST_INSERT_HEAD
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_VXLAN_WUNLOCK
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VXLAN_FLAG_TEARDOWN,4,2        ; @VXLAN_FLAG_TEARDOWN
	.comm	_vxl_ifdetach_list,4,2          ; @vxl_ifdetach_list
	.no_dead_strip	_vxlan_ifdetach
.subsections_via_symbols
