	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __vxlan_dev_create
___vxlan_dev_create:                    ## @__vxlan_dev_create
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_vxlan_net_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_net_generic
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	$0, -48(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	callq	_vxlan_dev_configure
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.1:
	movq	_vxlan_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	movq	%r14, %rbx
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_vxlan_addr_any
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%r14, %rbx
	movq	%r15, %rdi
	callq	_register_netdevice
	movl	%eax, %r14d
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_4
LBB0_10:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	___vxlan_fdb_free
LBB0_12:
	testl	%r14d, %r14d
	jne	LBB0_21
LBB0_13:
	movq	%r15, %rdi
	callq	_unregister_netdevice
	jmp	LBB0_21
LBB0_2:
	movq	_all_zeros_mac@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NUD_REACHABLE@GOTPCREL(%rip), %rax
	movq	_NUD_PERMANENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	4(%r14), %r8d
	movl	16(%r14), %r9d
	movq	_NTF_SELF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-48(%rbp), %r10
	movq	%r14, %rdi
	movq	%rbx, %rdx
	pushq	%r10
	pushq	%rax
	pushq	24(%r14)
	pushq	%r9
	callq	_vxlan_fdb_create
	addq	$32, %rsp
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_3
LBB0_21:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.5:
	movq	%r12, %rdi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_netdev_upper_dev_link
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rtnl_configure_link
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:
	movl	%eax, %r13d
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_netdev_upper_dev_unlink
	jmp	LBB0_10
LBB0_14:
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rtnl_configure_link
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_10
LBB0_15:
	movq	-48(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.16:
	movq	_all_zeros_mac@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movq	%rbx, %rdi
	callq	_vxlan_fdb_insert
	movq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_first_remote_rtnl
	movq	_RTM_NEWNEIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	movl	$1, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_vxlan_fdb_notify
	testl	%eax, %eax
	je	LBB0_19
## %bb.17:
	movl	%eax, %r13d
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_vxlan_fdb_destroy
	testq	%r12, %r12
	je	LBB0_13
## %bb.18:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_netdev_upper_dev_unlink
	jmp	LBB0_13
LBB0_6:
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_19:
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add
	xorl	%r13d, %r13d
	testq	%r12, %r12
	je	LBB0_21
## %bb.20:
	movq	%r12, 8(%rbx)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_vxlan_net_id,4,2               ## @vxlan_net_id
	.comm	_vxlan_ethtool_ops,4,2          ## @vxlan_ethtool_ops
	.comm	_all_zeros_mac,4,2              ## @all_zeros_mac
	.comm	_NUD_REACHABLE,4,2              ## @NUD_REACHABLE
	.comm	_NUD_PERMANENT,4,2              ## @NUD_PERMANENT
	.comm	_NTF_SELF,4,2                   ## @NTF_SELF
	.comm	_RTM_NEWNEIGH,4,2               ## @RTM_NEWNEIGH
	.no_dead_strip	___vxlan_dev_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __vxlan_dev_create
___vxlan_dev_create:                    ; @__vxlan_dev_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x24, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _vxlan_net_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vxlan_net_id@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_net_generic
	mov	x22, x0
	mov	x0, x19
	bl	_netdev_priv
	mov	x20, x0
	str	xzr, [sp, #24]
	mov	x0, x23
	mov	x1, x19
	mov	x2, x24
	mov	w3, #0
	mov	x4, x21
	bl	_vxlan_dev_configure
	mov	x24, x0
	cbnz	w0, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _vxlan_ethtool_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vxlan_ethtool_ops@GOTPAGEOFF]
	str	x8, [x19]
	add	x24, x20, #32
	mov	x0, x24
	bl	_vxlan_addr_any
	cbz	w0, LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_register_netdevice
	mov	x25, x0
	mov	x24, x0
	cbz	w0, LBB0_9
LBB0_3:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_5
; %bb.4:
	bl	___vxlan_fdb_free
LBB0_5:
	cbnz	w25, LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_unregister_netdevice
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _all_zeros_mac@GOTPAGE
Lloh6:
	ldr	x8, [x8, _all_zeros_mac@GOTPAGEOFF]
Lloh7:
	adrp	x9, _NUD_REACHABLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NUD_REACHABLE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _NUD_PERMANENT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NUD_PERMANENT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w9, w8
	ldr	w4, [x20, #4]
	ldr	w5, [x20, #16]
	ldr	x7, [x20, #24]
Lloh14:
	adrp	x8, _NTF_SELF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NTF_SELF@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	add	x9, sp, #24
	str	x9, [sp, #8]
	str	w8, [sp]
	mov	x0, x20
	mov	x2, x24
	mov	x6, x5
	bl	_vxlan_fdb_create
	mov	x24, x0
	cbz	w0, LBB0_2
LBB0_8:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	ldr	x1, [x20, #24]
	cbz	x1, LBB0_14
; %bb.10:
	mov	x0, x23
	bl	___dev_get_by_index
	cbz	x0, LBB0_20
; %bb.11:
	mov	x23, x0
	mov	x1, x19
	mov	x2, x21
	bl	_netdev_upper_dev_link
	mov	x24, x0
	cbnz	w0, LBB0_3
; %bb.12:
	mov	x0, x19
	mov	x1, #0
	bl	_rtnl_configure_link
	cbz	w0, LBB0_16
; %bb.13:
	mov	x24, x0
	mov	x0, x23
	mov	x1, x19
	bl	_netdev_upper_dev_unlink
	b	LBB0_3
LBB0_14:
	mov	x0, x19
	bl	_rtnl_configure_link
	mov	x24, x0
	cbnz	w0, LBB0_3
; %bb.15:
	mov	x23, #0
LBB0_16:
	ldr	x3, [sp, #24]
	cbz	x3, LBB0_21
; %bb.17:
Lloh17:
	adrp	x8, _all_zeros_mac@GOTPAGE
Lloh18:
	ldr	x8, [x8, _all_zeros_mac@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x20
	bl	_vxlan_fdb_insert
	ldr	x24, [sp, #24]
	mov	x0, x24
	bl	_first_remote_rtnl
	mov	x2, x0
Lloh20:
	adrp	x8, _RTM_NEWNEIGH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RTM_NEWNEIGH@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x24
	mov	w4, #1
	mov	x5, x21
	bl	_vxlan_fdb_notify
	cbz	w0, LBB0_21
; %bb.18:
	mov	x24, x0
	ldr	x1, [sp, #24]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_vxlan_fdb_destroy
	cbz	x23, LBB0_6
; %bb.19:
	mov	x0, x23
	mov	x1, x19
	bl	_netdev_upper_dev_unlink
	b	LBB0_6
LBB0_20:
	mov	w24, #0
	b	LBB0_3
LBB0_21:
	mov	x0, x20
	mov	x1, x22
	bl	_list_add
	mov	w24, #0
	cbz	x23, LBB0_8
; %bb.22:
	str	x23, [x20, #8]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_vxlan_net_id,4,2               ; @vxlan_net_id
	.comm	_vxlan_ethtool_ops,4,2          ; @vxlan_ethtool_ops
	.comm	_all_zeros_mac,4,2              ; @all_zeros_mac
	.comm	_NUD_REACHABLE,4,2              ; @NUD_REACHABLE
	.comm	_NUD_PERMANENT,4,2              ; @NUD_PERMANENT
	.comm	_NTF_SELF,4,2                   ; @NTF_SELF
	.comm	_RTM_NEWNEIGH,4,2               ; @RTM_NEWNEIGH
	.no_dead_strip	___vxlan_dev_create
.subsections_via_symbols
