	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipip_tunnel_uninit
_ipip_tunnel_uninit:                    ## @ipip_tunnel_uninit
	.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	%rdi, %r14
	callq	_dev_net
	movq	_ipip_net_id@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_net_generic
	movq	%rax, %rbx
	cmpq	%r14, 8(%rax)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ipip_tunnel_unlink
	jmp	LBB0_3
LBB0_1:
	movq	_ipip_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_write_lock_bh
	movq	(%rbx), %rax
	movq	$0, (%rax)
	movq	%r15, %rdi
	callq	_write_unlock_bh
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_put                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ipip_net_id,4,2                ## @ipip_net_id
	.comm	_ipip_lock,4,2                  ## @ipip_lock
	.no_dead_strip	_ipip_tunnel_uninit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipip_tunnel_uninit
_ipip_tunnel_uninit:                    ; @ipip_tunnel_uninit
	.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	x19, x0
	bl	_dev_net
Lloh0:
	adrp	x8, _ipip_net_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ipip_net_id@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_net_generic
	mov	x20, x0
	ldr	x8, [x0, #8]
	cmp	x8, x19
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_netdev_priv
	mov	x1, x0
	mov	x0, x20
	bl	_ipip_tunnel_unlink
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x21, _ipip_lock@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ipip_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_write_lock_bh
	ldr	x8, [x20]
	str	xzr, [x8]
	mov	x0, x21
	bl	_write_unlock_bh
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	_dev_put
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ipip_net_id,4,2                ; @ipip_net_id
	.comm	_ipip_lock,4,2                  ; @ipip_lock
	.no_dead_strip	_ipip_tunnel_uninit
.subsections_via_symbols
