	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_geneve_dev_create_fb           ## -- Begin function geneve_dev_create_fb
	.p2align	4, 0x90
_geneve_dev_create_fb:                  ## @geneve_dev_create_fb
	.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
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IFLA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leal	1(%r15), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_list_kill@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIST_HEAD
	leal	8(,%r15,8), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_geneve_link_ops@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	callq	_rtnl_create_link
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_init_tnl_info
	movq	_GENEVE_DF_UNSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	$0
	callq	_geneve_configure
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free_netdev
	jmp	LBB0_7
LBB0_3:
	movq	_IP_MAX_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_geneve_change_mtu
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	movq	_list_kill@GOTPCREL(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_geneve_dellink
	movq	%r15, %rdi
	callq	_unregister_netdevice_many
LBB0_7:
	movl	%r14d, %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rtnl_configure_link
	testl	%eax, %eax
	jns	LBB0_8
## %bb.5:
	movl	%eax, %r14d
	jmp	LBB0_6
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFLA_MAX,4,2                   ## @IFLA_MAX
	.comm	_list_kill,4,2                  ## @list_kill
	.comm	_geneve_link_ops,4,2            ## @geneve_link_ops
	.comm	_GENEVE_DF_UNSET,4,2            ## @GENEVE_DF_UNSET
	.comm	_IP_MAX_MTU,4,2                 ## @IP_MAX_MTU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_geneve_dev_create_fb           ; -- Begin function geneve_dev_create_fb
	.p2align	2
_geneve_dev_create_fb:                  ; @geneve_dev_create_fb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _IFLA_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFLA_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w24, w8, #1
	lsl	x8, x24, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh8:
	adrp	x8, _list_kill@GOTPAGE
Lloh9:
	ldr	x8, [x8, _list_kill@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_LIST_HEAD
	lsl	w2, w24, #3
	mov	x0, x23
	mov	w1, #0
	bl	_memset
Lloh11:
	adrp	x3, _geneve_link_ops@GOTPAGE
Lloh12:
	ldr	x3, [x3, _geneve_link_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x4, x23
	mov	x5, #0
	bl	_rtnl_create_link
	mov	x19, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.1:
	sub	x0, x29, #64
	mov	x1, x21
	bl	_init_tnl_info
Lloh13:
	adrp	x8, _GENEVE_DF_UNSET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GENEVE_DF_UNSET@GOTPAGEOFF]
Lloh15:
	ldr	w7, [x8]
	sub	x3, x29, #64
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_geneve_configure
	cbz	w0, LBB0_3
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_free_netdev
	b	LBB0_5
LBB0_3:
Lloh16:
	adrp	x8, _IP_MAX_MTU@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IP_MAX_MTU@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_geneve_change_mtu
	mov	x20, x0
	cbz	w0, LBB0_8
LBB0_4:
Lloh19:
	adrp	x21, _list_kill@GOTPAGE
Lloh20:
	ldr	x21, [x21, _list_kill@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x21
	bl	_geneve_dellink
	mov	x0, x21
	bl	_unregister_netdevice_many
LBB0_5:
	mov	x0, x20
	bl	_ERR_PTR
	mov	x19, x0
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.7:
	mov	x0, x19
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	mov	x1, #0
	bl	_rtnl_configure_link
	tbz	w0, #31, LBB0_6
; %bb.9:
	mov	x20, x0
	b	LBB0_4
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IFLA_MAX,4,2                   ; @IFLA_MAX
	.comm	_list_kill,4,2                  ; @list_kill
	.comm	_geneve_link_ops,4,2            ; @geneve_link_ops
	.comm	_GENEVE_DF_UNSET,4,2            ; @GENEVE_DF_UNSET
	.comm	_IP_MAX_MTU,4,2                 ; @IP_MAX_MTU
.subsections_via_symbols
