	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsvp_classify
_rsvp_classify:                         ## @rsvp_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	(%rax), %r13
	callq	_ip_hdr
	movq	%rax, %rbx
	movq	24(%rax), %r12
	movl	32(%rax), %r14d
	movl	36(%rax), %r15d
	movq	_IP_MF@GOTPCREL(%rip), %rax
	movq	_IP_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_htons
	testl	%r15d, %eax
	je	LBB0_1
LBB0_17:
	movl	$-1, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	shll	$2, %r14d
	movslq	%r14d, %rax
	leaq	(%rbx,%rax,8), %r14
	xorl	%edx, %edx
	movq	%rbx, %r15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	addq	$8, %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rdx, %r13
	callq	_hash_dst
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_hash_src
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_RSVP_DST_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	-8(%rbx,%rcx,8), %rsi
	movq	%r13, %r8
	movq	%r14, %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	48(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx), %rdi
	cmpq	-8(%rdi,%rcx,8), %rsi
	jne	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	8(%rdx), %r12
	jne	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movslq	36(%rdx), %rdi
	movl	40(%rdx), %ebx
	xorl	(%r13,%rdi,8), %ebx
	testl	%ebx, 32(%rdx)
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	16(%rdx), %r8
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rdx), %rdx
	movl	%eax, %eax
	movq	(%rdx,%rax,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-8(%rax,%rcx,8), %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rsi
	cmpq	-8(%rsi,%rcx,8), %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movslq	36(%rbx), %rsi
	movl	40(%rbx), %edi
	xorl	(%r13,%rsi,8), %edi
	testl	%edi, 32(%rbx)
	jne	LBB0_14
	jmp	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	128(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_RSVP_APPLY_RESULT
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %r15
	leaq	(,%rax,8), %rcx
	addq	%r13, %rcx
	leaq	-320(,%rax,8), %rbx
	addq	%r13, %rbx
	movq	-296(%r13,%rax,8), %r12
	movl	-288(%r13,%rax,8), %edx
	shll	$2, %edx
	movslq	%edx, %rdx
	leaq	(%rcx,%rdx,8), %r14
	addq	$-320, %r14                     ## imm = 0xFEC0
	movl	-284(%r13,%rax,8), %r13d
	movq	_IP_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IP_MF@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_htons
	movq	%r15, %rdx
	movq	%rbx, %r15
	testl	%r13d, %eax
	je	LBB0_2
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_MF,4,2                      ## @IP_MF
	.comm	_IP_OFFSET,4,2                  ## @IP_OFFSET
	.comm	_RSVP_DST_LEN,4,2               ## @RSVP_DST_LEN
	.no_dead_strip	_rsvp_classify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsvp_classify
_rsvp_classify:                         ; @rsvp_classify
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	ldr	x8, [x1]
	ldr	x25, [x8]
	bl	_ip_hdr
	mov	x20, x0
	ldr	x21, [x0, #24]
Lloh0:
	adrp	x26, _IP_MF@GOTPAGE
Lloh1:
	ldr	x26, [x26, _IP_MF@GOTPAGEOFF]
	ldp	w23, w22, [x0, #32]
	ldr	w8, [x26]
Lloh2:
	adrp	x27, _IP_OFFSET@GOTPAGE
Lloh3:
	ldr	x27, [x27, _IP_OFFSET@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w0, w9, w8
	bl	_htons
	tst	w0, w22
	b.eq	LBB0_3
LBB0_1:
	mov	w0, #-1
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x22, #0
	lsl	w8, w23, #2
	add	x28, x20, w8, sxtw #3
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	add	x23, x20, #8
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_hash_dst
	mov	x24, x0
	mov	x0, x20
	bl	_hash_src
	ldr	x9, [x25, w24, uxtw #3]
	cbz	x9, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x8, _RSVP_DST_LEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RSVP_DST_LEN@GOTPAGEOFF]
Lloh6:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	ldr	x10, [x23, x8, lsl #3]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x9, #48]
	cbz	x9, LBB0_1
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9]
	ldr	x11, [x11, x8, lsl #3]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x11, [x9, #8]
	cmp	x21, x11
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	w11, w12, [x9, #32]
                                        ; kill: def $w12 killed $w12 def $x12
	sxtw	x12, w12
	lsl	x12, x12, #3
	ldr	w12, [x28, x12]
	ldr	w13, [x9, #40]
	eor	w12, w13, w12
	tst	w12, w11
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x11, [x9, #16]
	cmp	x22, x11
	b.ne	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x9, #24]
	ldr	x21, [x9, w0, uxtw #3]
	cbz	x21, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x20, x8, lsl #3]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	ldr	x21, [x21, #24]
	cbz	x21, LBB0_16
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x21]
	ldr	x11, [x11, x8, lsl #3]
	cmp	x10, x11
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldp	w11, w12, [x21, #32]
                                        ; kill: def $w12 killed $w12 def $x12
	sxtw	x12, w12
	lsl	x12, x12, #3
	ldr	w12, [x28, x12]
	ldr	w13, [x21, #40]
	eor	w12, w13, w12
	tst	w12, w11
	b.ne	LBB0_13
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x9, #128]
	cbz	x21, LBB0_1
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #16]
	str	x8, [x19]
	bl	_RSVP_APPLY_RESULT
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x21, #16]
	add	x8, x28, x8, lsl #3
	sub	x20, x8, #320
	sub	x9, x8, #296
	ldr	x21, [x9]
	sub	x9, x8, #288
	ldr	w9, [x9]
	lsl	w9, w9, #2
	add	x28, x20, w9, sxtw #3
	sub	x8, x8, #284
	ldr	w23, [x8]
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w0, w9, w8
	bl	_htons
	mov	x8, x0
	mov	w0, #-1
	tst	w8, w23
	b.eq	LBB0_4
	b	LBB0_2
LBB0_19:
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_MF,4,2                      ; @IP_MF
	.comm	_IP_OFFSET,4,2                  ; @IP_OFFSET
	.comm	_RSVP_DST_LEN,4,2               ; @RSVP_DST_LEN
	.no_dead_strip	_rsvp_classify
.subsections_via_symbols
