	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_tnl_lookup
_ip6_tnl_lookup:                        ## @ip6_tnl_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, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_HASH
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_HASH
	movl	%eax, %r12d
	movq	_ip6_tnl_net_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_net_generic
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	xorl	%r13d, %r12d
	movq	(%rax,%r12,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	_IFF_UP@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	12(%rbx), %rsi
	movq	%r15, %rdi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
	jmp	LBB0_9
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rax
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ip6_tnl_net_id,4,2             ## @ip6_tnl_net_id
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.no_dead_strip	_ip6_tnl_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_tnl_lookup
_ip6_tnl_lookup:                        ; @ip6_tnl_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	x21, x0
	mov	x0, x1
	bl	_HASH
	mov	x23, x0
	mov	x0, x19
	bl	_HASH
	mov	x24, x0
Lloh0:
	adrp	x8, _ip6_tnl_net_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ip6_tnl_net_id@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_net_generic
	mov	x22, x0
	ldr	x8, [x0, #8]
	eor	w9, w24, w23
	ldr	x21, [x8, w9, uxtw #3]
Lloh3:
	adrp	x23, _IFF_UP@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IFF_UP@GOTPAGEOFF]
	cbnz	x21, LBB0_5
LBB0_1:
	ldr	x8, [x22]
	ldr	x21, [x8]
	cbz	x21, LBB0_3
; %bb.2:
	ldr	x8, [x21]
	ldr	w8, [x8]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_8
LBB0_3:
	mov	x21, #0
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x21, #12
	mov	x0, x19
	bl	_ipv6_addr_equal
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x21, #8
	mov	x0, x20
	bl	_ipv6_addr_equal
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	ldr	w8, [x8]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_8:
	mov	x0, x21
	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	_ip6_tnl_net_id,4,2             ; @ip6_tnl_net_id
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.no_dead_strip	_ip6_tnl_lookup
.subsections_via_symbols
