	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_tunnel_check_nesting        ## -- Begin function if_tunnel_check_nesting
	.p2align	4, 0x90
_if_tunnel_check_nesting:               ## @if_tunnel_check_nesting
	.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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	%edx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_m_tag_locate
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, 4(%rax)
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_m_tag_locate
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	cmpl	%r12d, %ebx
	jle	LBB0_5
## %bb.4:
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_if_name
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_log
	jmp	LBB0_8
LBB0_5:
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movl	%r13d, %edi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_m_tag_alloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%r14, 4(%rax)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_m_tag_prepend
	jmp	LBB0_10
LBB0_7:
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_if_name
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_log
LBB0_8:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: loop detected\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"%s: if_output recursively called too many times(%d)\n"

	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_tunnel_check_nesting        ; -- Begin function if_tunnel_check_nesting
	.p2align	2
_if_tunnel_check_nesting:               ; @if_tunnel_check_nesting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	mov	w2, #0
	mov	x3, #0
	bl	_m_tag_locate
	cbz	x0, LBB0_6
; %bb.1:
	mov	x3, x0
	mov	w23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x3, #4]
	cmp	x8, x19
	b.eq	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_m_tag_locate
	mov	x3, x0
	cbnz	x0, LBB0_2
; %bb.4:
	cmp	w23, w22
	b.le	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_if_name
	mov	x2, x0
	str	x23, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_6:
	mov	w23, #1
	cmp	w23, w22
	b.gt	LBB0_5
LBB0_7:
Lloh5:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #8
	bl	_m_tag_alloc
	cbz	x0, LBB0_13
; %bb.8:
	mov	x1, x0
	stur	x19, [x0, #4]
	mov	x0, x20
	bl	_m_tag_prepend
	mov	w0, #0
	b	LBB0_12
LBB0_9:
Lloh8:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_if_name
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
LBB0_10:
	mov	x0, x20
	bl	_log
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: loop detected\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"%s: if_output recursively called too many times(%d)\n"

	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
