	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipip_tunnel_lookup
_ipip_tunnel_lookup:                    ## @ipip_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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_HASH
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_HASH
	movl	%eax, %r15d
	movq	_ipip_net_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_net_generic
	movq	%rax, %rcx
	movq	24(%rax), %rax
	movl	%r15d, %edx
	xorl	%r12d, %edx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, 8(%rax)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, 16(%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rsi
	testl	%edx, (%rsi)
	je	LBB0_5
	jmp	LBB0_19
LBB0_6:
	movq	16(%rcx), %rax
	movl	%r12d, %edx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, 16(%rax)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rax), %rsi
	testl	%edx, (%rsi)
	je	LBB0_10
	jmp	LBB0_19
LBB0_11:
	movq	8(%rcx), %rax
	movl	%r15d, %edx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, 8(%rax)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%rax), %rsi
	testl	%edx, (%rsi)
	je	LBB0_15
	jmp	LBB0_19
LBB0_16:
	movq	(%rcx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	(%rax), %rcx
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	jne	LBB0_19
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipip_net_id,4,2                ## @ipip_net_id
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.no_dead_strip	_ipip_tunnel_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipip_tunnel_lookup
_ipip_tunnel_lookup:                    ; @ipip_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, x2
	mov	x20, x1
	mov	x23, x0
	mov	x0, x1
	bl	_HASH
	mov	x22, x0
	mov	x0, x19
	bl	_HASH
	mov	x21, x0
Lloh0:
	adrp	x8, _ipip_net_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ipip_net_id@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_net_generic
	mov	x8, x0
	ldr	x9, [x0, #24]
	eor	w10, w21, w22
	ldr	x0, [x9, w10, uxtw #3]
Lloh3:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w10, [x9]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, #8]
	cmp	x11, x19
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x0, #16]
	cmp	x11, x20
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x0]
	ldr	w11, [x11]
	tst	w10, w11
	b.eq	LBB0_2
	b	LBB0_19
LBB0_6:
	ldr	x10, [x8, #16]
	ldr	x0, [x10, w22, uxtw #3]
	cbz	x0, LBB0_11
; %bb.7:
	ldr	w10, [x9]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, #16]
	cmp	x11, x20
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x11, [x0]
	ldr	w11, [x11]
	tst	w10, w11
	b.eq	LBB0_8
	b	LBB0_19
LBB0_11:
	ldr	x10, [x8, #8]
	ldr	x0, [x10, w21, uxtw #3]
	cbz	x0, LBB0_16
; %bb.12:
	ldr	w10, [x9]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, #8]
	cmp	x11, x19
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x11, [x0]
	ldr	w11, [x11]
	tst	w10, w11
	b.eq	LBB0_13
	b	LBB0_19
LBB0_16:
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_18
; %bb.17:
	ldr	x8, [x0]
	ldr	w8, [x8]
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
LBB0_18:
	mov	x0, #0
LBB0_19:
	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	_ipip_net_id,4,2                ; @ipip_net_id
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.no_dead_strip	_ipip_tunnel_lookup
.subsections_via_symbols
