	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_tunnel_init_net             ## -- Begin function ip_tunnel_init_net
	.p2align	4, 0x90
_ip_tunnel_init_net:                    ## @ip_tunnel_init_net
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rdi, %r12
	callq	_net_generic
	movq	%rax, %r15
	movq	_IP_TNL_HASH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movl	%eax, 8(%r15)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	leaq	-48(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	movl	-48(%rbp), %edi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_strlcpy
LBB0_6:
	xorl	%eax, %eax
	callq	_rtnl_lock
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	___ip_tunnel_create
	movq	%rax, (%r15)
	xorl	%eax, %eax
	callq	_rtnl_unlock
	movq	(%r15), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	8(%r15), %edi
	callq	_kfree
	movq	(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_3:
	movq	$0, (%r15)
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_TNL_HASH_SIZE,4,2           ## @IP_TNL_HASH_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_tunnel_init_net             ; -- Begin function ip_tunnel_init_net
	.p2align	2
_ip_tunnel_init_net:                    ; @ip_tunnel_init_net
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x21, x0
	bl	_net_generic
	mov	x19, x0
Lloh0:
	adrp	x8, _IP_TNL_HASH_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP_TNL_HASH_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w0, w8, #2
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kzalloc
	str	w0, [x19, #8]
	cbz	w0, LBB0_6
; %bb.1:
	cbz	x20, LBB0_7
; %bb.2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	cbz	x22, LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
Lloh6:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_strlcpy
LBB0_4:
	bl	_rtnl_lock
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	___ip_tunnel_create
	str	x0, [x19]
	bl	_rtnl_unlock
	ldr	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w0, [x19, #8]
	bl	_kfree
	ldr	x0, [x19]
	bl	_PTR_ERR
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_7:
	mov	w0, #0
	str	xzr, [x19]
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_TNL_HASH_SIZE,4,2           ; @IP_TNL_HASH_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
.subsections_via_symbols
