	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rss_proto_software_hash_v6     ## -- Begin function rss_proto_software_hash_v6
	.p2align	4, 0x90
_rss_proto_software_hash_v6:            ## @rss_proto_software_hash_v6
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r13d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jne	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rss_gethashconfig
	movq	_RSS_HASHTYPE_RSS_TCP_IPV6@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_rss_hash_ip6_4tuple
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_M_HASHTYPE_RSS_TCP_IPV6@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rss_gethashconfig
	movq	_RSS_HASHTYPE_RSS_UDP_IPV6@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_rss_hash_ip6_4tuple
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_M_HASHTYPE_RSS_UDP_IPV6@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rss_gethashconfig
	movq	_RSS_HASHTYPE_RSS_IPV6@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.7:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_rss_hash_ip6_2tuple
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_M_HASHTYPE_RSS_IPV6@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movq	16(%rbp), %rcx
	movl	%eax, (%rcx)
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_RSS_DEBUG
	movl	$-1, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_RSS_HASHTYPE_RSS_TCP_IPV6,4,2  ## @RSS_HASHTYPE_RSS_TCP_IPV6
	.comm	_M_HASHTYPE_RSS_TCP_IPV6,4,2    ## @M_HASHTYPE_RSS_TCP_IPV6
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_RSS_HASHTYPE_RSS_UDP_IPV6,4,2  ## @RSS_HASHTYPE_RSS_UDP_IPV6
	.comm	_M_HASHTYPE_RSS_UDP_IPV6,4,2    ## @M_HASHTYPE_RSS_UDP_IPV6
	.comm	_RSS_HASHTYPE_RSS_IPV6,4,2      ## @RSS_HASHTYPE_RSS_IPV6
	.comm	_M_HASHTYPE_RSS_IPV6,4,2        ## @M_HASHTYPE_RSS_IPV6
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no available hashtypes!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rss_proto_software_hash_v6     ; -- Begin function rss_proto_software_hash_v6
	.p2align	2
_rss_proto_software_hash_v6:            ; @rss_proto_software_hash_v6
	.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	x19, x6
	mov	x20, x5
	mov	x25, x4
	mov	x23, x3
	mov	x24, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w4
	b.ne	LBB0_3
; %bb.1:
	bl	_rss_gethashconfig
Lloh3:
	adrp	x8, _RSS_HASHTYPE_RSS_TCP_IPV6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSS_HASHTYPE_RSS_TCP_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	mov	x3, x23
	bl	_rss_hash_ip6_4tuple
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20]
Lloh6:
	adrp	x8, _M_HASHTYPE_RSS_TCP_IPV6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_HASHTYPE_RSS_TCP_IPV6@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh8:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w25
	b.ne	LBB0_6
; %bb.4:
	bl	_rss_gethashconfig
Lloh11:
	adrp	x8, _RSS_HASHTYPE_RSS_UDP_IPV6@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RSS_HASHTYPE_RSS_UDP_IPV6@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	mov	x3, x23
	bl	_rss_hash_ip6_4tuple
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20]
Lloh14:
	adrp	x8, _M_HASHTYPE_RSS_UDP_IPV6@GOTPAGE
Lloh15:
	ldr	x8, [x8, _M_HASHTYPE_RSS_UDP_IPV6@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	bl	_rss_gethashconfig
Lloh16:
	adrp	x8, _RSS_HASHTYPE_RSS_IPV6@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RSS_HASHTYPE_RSS_IPV6@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.7:
	mov	x0, x22
	mov	x1, x21
	bl	_rss_hash_ip6_2tuple
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20]
Lloh19:
	adrp	x8, _M_HASHTYPE_RSS_IPV6@GOTPAGE
Lloh20:
	ldr	x8, [x8, _M_HASHTYPE_RSS_IPV6@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_9:
	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_10:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RSS_DEBUG
	mov	w0, #-1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_RSS_HASHTYPE_RSS_TCP_IPV6,4,2  ; @RSS_HASHTYPE_RSS_TCP_IPV6
	.comm	_M_HASHTYPE_RSS_TCP_IPV6,4,2    ; @M_HASHTYPE_RSS_TCP_IPV6
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_RSS_HASHTYPE_RSS_UDP_IPV6,4,2  ; @RSS_HASHTYPE_RSS_UDP_IPV6
	.comm	_M_HASHTYPE_RSS_UDP_IPV6,4,2    ; @M_HASHTYPE_RSS_UDP_IPV6
	.comm	_RSS_HASHTYPE_RSS_IPV6,4,2      ; @RSS_HASHTYPE_RSS_IPV6
	.comm	_M_HASHTYPE_RSS_IPV6,4,2        ; @M_HASHTYPE_RSS_IPV6
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no available hashtypes!\n"

.subsections_via_symbols
