	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function route4_classify
_route4_classify:                       ## @route4_classify
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	8(%rsi), %r15
	callq	_skb_dst
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_28
## %bb.1:
	movq	(%rax), %rbx
	testq	%r15, %r15
	je	LBB0_23
## %bb.2:
	movl	%ebx, %r13d
	movq	%rbx, %rdi
	movl	%ebx, %esi
	callq	_route4_fastmap_hash
	movq	8(%r15), %rcx
	leaq	(%rax,%rax,2), %rax
	cmpq	(%rcx,%rax,8), %rbx
	jne	LBB0_7
## %bb.3:
	cmpl	%r13d, 8(%rcx,%rax,8)
	jne	LBB0_7
## %bb.4:
	movq	16(%rcx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_ROUTE4_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$-1, %r13d
	je	LBB0_28
## %bb.6:
	movups	24(%rax), %xmm0
	movups	%xmm0, (%r12)
	jmp	LBB0_27
LBB0_7:
	movq	%rbx, %rdi
	callq	_route4_hash_to
	movq	%rbx, %rcx
	andq	$-65536, %rcx                   ## imm = 0xFFFF0000
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$256, -64(%rbp)                 ## 8-byte Folded Reload
                                        ## imm = 0x100
	movl	$256, %eax                      ## imm = 0x100
	jae	LBB0_22
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	movq	%rbx, %r14
	movq	(%r15), %rcx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rcx,%rax,8), %r12
	testq	%r12, %r12
	je	LBB0_21
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rbx
	movq	%r14, %rdi
	callq	_route4_hash_from
	movq	(%rbx,%rax,8), %r15
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	16(%r15), %r15
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r15, %r15
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpq	%r14, (%r15)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	xorl	%eax, %eax
	callq	_ROUTE4_APPLY_RESULT
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rbx
	movl	%r13d, %edi
	callq	_route4_hash_iif
	movq	(%rbx,%rax,8), %rbx
	testq	%rbx, %rbx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_15
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rbx
	xorl	%eax, %eax
	callq	_route4_hash_wild
	movq	(%rbx,%rax,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_ROUTE4_APPLY_RESULT
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_19
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_15:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%r13d, 8(%rbx)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	xorl	%eax, %eax
	callq	_ROUTE4_APPLY_RESULT
	jmp	LBB0_17
LBB0_22:
	movq	_ROUTE4_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_route4_set_fastmap
	movl	$-1, %r13d
	jmp	LBB0_28
LBB0_23:
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.24:
	movq	%rbx, %rdi
	callq	_TC_H_MAJ
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	xorq	%rbx, %rdi
	callq	_TC_H_MAJ
	testq	%rax, %rax
	jne	LBB0_28
LBB0_26:
	movq	%rbx, (%r12)
	movq	$0, 8(%r12)
LBB0_27:
	xorl	%r13d, %r13d
LBB0_28:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROUTE4_FAILURE,8,3             ## @ROUTE4_FAILURE
	.no_dead_strip	_route4_classify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function route4_classify
_route4_classify:                       ; @route4_classify
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
	ldr	x19, [x1, #8]
	bl	_skb_dst
	cbz	x0, LBB0_24
; %bb.1:
	ldr	x23, [x0]
	cbz	x19, LBB0_21
; %bb.2:
	mov	x20, x23
	mov	x0, x23
	mov	x1, x23
	bl	_route4_fastmap_hash
	ldr	x8, [x19, #8]
	mov	w9, #24
	mul	x9, x0, x9
	ldr	x9, [x8, x9]
	cmp	x23, x9
	b.ne	LBB0_7
; %bb.3:
	mov	w9, #24
	madd	x9, x0, x9, x8
	ldr	w9, [x9, #8]
	cmp	w9, w20
	b.ne	LBB0_7
; %bb.4:
	mov	w9, #24
	madd	x8, x0, x9, x8
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_7
; %bb.5:
Lloh0:
	adrp	x9, _ROUTE4_FAILURE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ROUTE4_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.6:
	mov	w0, #0
	ldur	q0, [x8, #24]
	str	q0, [x21]
	b	LBB0_25
LBB0_7:
	mov	x0, x23
	bl	_route4_hash_to
	mov	x21, x0
	and	x24, x23, #0xffffffffffff0000
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x23, x24
	cmp	x21, #256
	mov	w21, #256
	b.hs	LBB0_20
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	mov	x22, x23
	ldr	x8, [x19]
	ldr	x23, [x8, x21, lsl #3]
	cbz	x23, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x25, [x23]
	mov	x0, x22
	bl	_route4_hash_from
	ldr	x25, [x25, x0, lsl #3]
	cbnz	x25, LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x25, [x23]
	mov	x0, x20
	bl	_route4_hash_iif
	ldr	x25, [x25, x0, lsl #3]
	cbnz	x25, LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x23, [x23]
	bl	_route4_hash_wild
	ldr	x23, [x23, x0, lsl #3]
	cbz	x23, LBB0_8
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_ROUTE4_APPLY_RESULT
	ldr	x23, [x23, #16]
	cbnz	x23, LBB0_13
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x25, [x25, #16]
	cbz	x25, LBB0_11
LBB0_15:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25]
	cmp	x8, x22
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	bl	_ROUTE4_APPLY_RESULT
	b	LBB0_14
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	ldr	x25, [x25, #16]
	cbz	x25, LBB0_12
LBB0_18:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x25, #8]
	cmp	w8, w20
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	bl	_ROUTE4_APPLY_RESULT
	b	LBB0_17
LBB0_20:
Lloh3:
	adrp	x8, _ROUTE4_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROUTE4_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_route4_set_fastmap
	b	LBB0_24
LBB0_21:
	cbz	x23, LBB0_24
; %bb.22:
	mov	x0, x23
	bl	_TC_H_MAJ
	cbz	x0, LBB0_26
; %bb.23:
	ldr	x8, [x20]
	ldr	x8, [x8]
	eor	x0, x8, x23
	bl	_TC_H_MAJ
	cbz	x0, LBB0_26
LBB0_24:
	mov	w0, #-1
LBB0_25:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_26:
	mov	w0, #0
	stp	x23, xzr, [x21]
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ROUTE4_FAILURE,8,3             ; @ROUTE4_FAILURE
	.no_dead_strip	_route4_classify
.subsections_via_symbols
