	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipip6_tunnel_del_prl
_ipip6_tunnel_del_prl:                  ## @ipip6_tunnel_del_prl
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ipip6_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock
	testq	%r14, %r14
	je	LBB0_10
## %bb.1:
	movq	(%r14), %r15
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	cmpq	%rax, %r15
	jne	LBB0_2
LBB0_10:
	movq	8(%rbx), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rax
	movq	%rax, 8(%rbx)
	callq	_kfree
	decl	(%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_11
	jmp	LBB0_13
LBB0_2:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.3:
	movq	(%r14), %rcx
	cmpq	%rcx, (%rdi)
	jne	LBB0_8
## %bb.4:
	leaq	8(%rbx), %rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rax
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rcx, (%rdi)
	jne	LBB0_8
## %bb.6:
	addq	$8, %rax
LBB0_7:
	movq	8(%rdi), %rcx
	movq	%rcx, (%rax)
	callq	_kfree
	decl	(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_9:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_13:
	movq	_ipip6_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipip6_lock,4,2                 ## @ipip6_lock
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_ipip6_tunnel_del_prl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipip6_tunnel_del_prl
_ipip6_tunnel_del_prl:                  ; @ipip6_tunnel_del_prl
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _ipip6_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ipip6_lock@GOTPAGEOFF]
	bl	_write_lock
	cbz	x20, LBB0_9
; %bb.1:
	ldr	x21, [x20]
Lloh2:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htonl
	cmp	x21, x0
	b.eq	LBB0_9
; %bb.2:
	mov	x8, x19
	ldr	x0, [x8, #8]!
	cbz	x0, LBB0_12
; %bb.3:
	ldr	x9, [x20]
	ldr	x10, [x0]
	cmp	x10, x9
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x0]
	cmp	x10, x9
	b.ne	LBB0_4
; %bb.6:
	add	x8, x8, #8
LBB0_7:
	ldr	x9, [x0, #8]
	str	x9, [x8]
	bl	_kfree
	mov	w20, #0
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x0, #8]
	str	x8, [x19, #8]
	bl	_kfree
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_8
; %bb.10:
	mov	w20, #0
LBB0_11:
Lloh5:
	adrp	x0, _ipip6_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _ipip6_lock@GOTPAGEOFF]
	bl	_write_unlock
	mov	x0, x20
	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
LBB0_12:
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ipip6_lock,4,2                 ; @ipip6_lock
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_ipip6_tunnel_del_prl
.subsections_via_symbols
