	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sit_init_net
_sit_init_net:                          ## @sit_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	subl	(%r12), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r15
	movq	_sit_net_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_net_assign_generic
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	24(%r15), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx)
	movl	20(%r15), %eax
	movl	%eax, 4(%rcx)
	movl	16(%r15), %eax
	movl	%eax, 8(%rcx)
	movl	4(%r15), %eax
	movl	%eax, 12(%rcx)
	movq	_ipip6_tunnel_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_alloc_netdev
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_dev_net_set
	movl	(%r15), %edi
	callq	_ipip6_fb_tunnel_init
	movl	(%r15), %edi
	callq	_register_netdev
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_dev_put
	movl	(%r15), %edi
	callq	_free_netdev
	jmp	LBB0_8
LBB0_2:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%r12), %ebx
LBB0_8:
	movq	%r15, %rdi
	callq	_kfree
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_sit_net_id,4,2                 ## @sit_net_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sit0"

	.comm	_ipip6_tunnel_setup,4,2         ## @ipip6_tunnel_setup
	.no_dead_strip	_sit_init_net
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sit_init_net
_sit_init_net:                          ; @sit_init_net
	.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, x0
Lloh0:
	adrp	x22, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ENOMEM@GOTPAGEOFF]
	ldr	w21, [x22]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x8, _sit_net_id@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sit_net_id@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_net_assign_generic
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	w8, [x19, #24]
	ldr	x9, [x19, #8]
	str	w8, [x9]
	ldr	w8, [x19, #20]
	str	w8, [x9, #4]
	ldr	w8, [x19, #16]
	str	w8, [x9, #8]
	ldr	w8, [x19, #4]
	str	w8, [x9, #12]
Lloh8:
	adrp	x8, _ipip6_tunnel_setup@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ipip6_tunnel_setup@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_alloc_netdev
	str	w0, [x19]
	cbz	w0, LBB0_7
; %bb.3:
	mov	x1, x20
	bl	_dev_net_set
	ldr	w0, [x19]
	bl	_ipip6_fb_tunnel_init
	ldr	w0, [x19]
	bl	_register_netdev
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.4:
	ldr	w0, [x19]
	bl	_dev_put
	ldr	w0, [x19]
	bl	_free_netdev
	b	LBB0_8
LBB0_5:
	neg	w21, w21
	b	LBB0_9
LBB0_6:
	mov	x21, x0
	b	LBB0_8
LBB0_7:
	ldr	w8, [x22]
	neg	w21, w8
LBB0_8:
	mov	x0, x19
	bl	_kfree
LBB0_9:
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_sit_net_id,4,2                 ; @sit_net_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sit0"

	.comm	_ipip6_tunnel_setup,4,2         ; @ipip6_tunnel_setup
	.no_dead_strip	_sit_init_net
.subsections_via_symbols
