	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipip6_tunnel_lookup
_ipip6_tunnel_lookup:                   ## @ipip6_tunnel_lookup
	.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, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_HASH
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_HASH
	movl	%eax, %r13d
	movq	_sit_net_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_net_generic
	movq	%rax, %rcx
	movq	24(%rax), %rax
	movl	%r13d, %edx
	xorl	%r12d, %edx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_28
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, 16(%rax)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, 24(%rax)
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, (%r14)
	je	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movq	16(%rcx), %rax
	movl	%r12d, %edx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rax), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_28
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	32(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, 24(%rax)
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	testq	%r14, %r14
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%rsi, (%r14)
	je	LBB0_15
	jmp	LBB0_16
LBB0_17:
	movq	8(%rcx), %rax
	movl	%r13d, %edx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.18:
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	(%rax), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_28
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	32(%rax), %rax
	testq	%rax, %rax
	je	LBB0_25
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, 16(%rax)
	jne	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	testq	%r14, %r14
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpq	%rsi, (%r14)
	je	LBB0_23
	jmp	LBB0_24
LBB0_25:
	movq	(%rcx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	(%rax), %rcx
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	jne	LBB0_28
LBB0_27:
	xorl	%eax, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sit_net_id,4,2                 ## @sit_net_id
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.no_dead_strip	_ipip6_tunnel_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipip6_tunnel_lookup
_ipip6_tunnel_lookup:                   ; @ipip6_tunnel_lookup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x24, x0
	mov	x0, x2
	bl	_HASH
	mov	x23, x0
	mov	x0, x19
	bl	_HASH
	mov	x22, x0
Lloh0:
	adrp	x8, _sit_net_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sit_net_id@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_net_generic
	mov	x8, x0
	ldr	x9, [x0, #24]
	eor	w10, w22, w23
	ldr	x0, [x9, w10, uxtw #3]
Lloh3:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.1:
	ldr	w10, [x9]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x0]
	ldr	w11, [x11]
	tst	w10, w11
	b.ne	LBB0_28
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x0, #32]
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, #16]
	cmp	x11, x19
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x0, #24]
	cmp	x11, x21
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x20, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x0, #8]
	cbz	x11, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x20]
	cmp	x12, x11
	b.eq	LBB0_2
	b	LBB0_3
LBB0_9:
	ldr	x10, [x8, #16]
	ldr	x0, [x10, w23, uxtw #3]
	cbz	x0, LBB0_17
; %bb.10:
	ldr	w10, [x9]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x11, [x0]
	ldr	w11, [x11]
	tst	w10, w11
	b.ne	LBB0_28
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [x0, #32]
	cbz	x0, LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, #24]
	cmp	x11, x21
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	x20, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x11, [x0, #8]
	cbz	x11, LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x12, [x20]
	cmp	x12, x11
	b.eq	LBB0_11
	b	LBB0_12
LBB0_17:
	ldr	x10, [x8, #8]
	ldr	x0, [x10, w22, uxtw #3]
	cbz	x0, LBB0_25
; %bb.18:
	ldr	w10, [x9]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x11, [x0]
	ldr	w11, [x11]
	tst	w10, w11
	b.ne	LBB0_28
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x0, [x0, #32]
	cbz	x0, LBB0_25
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, #16]
	cmp	x11, x19
	b.ne	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	cbz	x20, LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x11, [x0, #8]
	cbz	x11, LBB0_19
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x12, [x20]
	cmp	x12, x11
	b.eq	LBB0_19
	b	LBB0_20
LBB0_25:
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_27
; %bb.26:
	ldr	x8, [x0]
	ldr	w8, [x8]
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_28
LBB0_27:
	mov	x0, #0
LBB0_28:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sit_net_id,4,2                 ; @sit_net_id
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.no_dead_strip	_ipip6_tunnel_lookup
.subsections_via_symbols
