	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_setup_psrtype
_ixgbe_setup_psrtype:                   ## @ixgbe_setup_psrtype
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rax
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movq	_IXGBE_PSRTYPE_TCPHDR@GOTPCREL(%rip), %rax
	movq	_IXGBE_PSRTYPE_UDPHDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IXGBE_PSRTYPE_IPV4HDR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IXGBE_PSRTYPE_L2HDR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IXGBE_PSRTYPE_IPV6HDR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%rdi), %ebx
	movq	8(%rdi), %rax
	movq	_RING_F_RSS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %eax
	movl	%ecx, %edx
	orl	$1073741824, %edx               ## imm = 0x40000000
	movl	%ecx, %r15d
	orl	$536870912, %r15d               ## imm = 0x20000000
	cmpl	$2, %eax
	cmovll	%ecx, %r15d
	cmpl	$4, %eax
	cmovgel	%edx, %r15d
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	addq	$16, %r14
	decl	%ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VMDQ_P
	movl	%eax, %edi
	callq	_IXGBE_PSRTYPE
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_IXGBE_WRITE_REG
	addl	$-1, %ebx
	jb	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_F_RSS,8,3                 ## @RING_F_RSS
	.comm	_IXGBE_PSRTYPE_TCPHDR,4,2       ## @IXGBE_PSRTYPE_TCPHDR
	.comm	_IXGBE_PSRTYPE_UDPHDR,4,2       ## @IXGBE_PSRTYPE_UDPHDR
	.comm	_IXGBE_PSRTYPE_IPV4HDR,4,2      ## @IXGBE_PSRTYPE_IPV4HDR
	.comm	_IXGBE_PSRTYPE_L2HDR,4,2        ## @IXGBE_PSRTYPE_L2HDR
	.comm	_IXGBE_PSRTYPE_IPV6HDR,4,2      ## @IXGBE_PSRTYPE_IPV6HDR
	.comm	_ixgbe_mac_82598EB,8,3          ## @ixgbe_mac_82598EB
	.no_dead_strip	_ixgbe_setup_psrtype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_setup_psrtype
_ixgbe_setup_psrtype:                   ; @ixgbe_setup_psrtype
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x19, #16]!
Lloh0:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _IXGBE_PSRTYPE_TCPHDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_PSRTYPE_TCPHDR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IXGBE_PSRTYPE_UDPHDR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IXGBE_PSRTYPE_UDPHDR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _IXGBE_PSRTYPE_IPV4HDR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IXGBE_PSRTYPE_IPV4HDR@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh11:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _IXGBE_PSRTYPE_L2HDR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IXGBE_PSRTYPE_L2HDR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _IXGBE_PSRTYPE_IPV6HDR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IXGBE_PSRTYPE_IPV6HDR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w9, w8, w9
	ldr	w8, [x0]
	ldr	x10, [x0, #8]
Lloh18:
	adrp	x11, _RING_F_RSS@GOTPAGE
Lloh19:
	ldr	x11, [x11, _RING_F_RSS@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
	ldr	w10, [x10, x11, lsl #2]
	orr	w11, w9, #0x40000000
	orr	w12, w9, #0x20000000
	cmp	w10, #1
	csel	w9, w12, w9, gt
	cmp	w10, #3
	csel	w20, w11, w9, gt
	cbz	w8, LBB0_4
; %bb.2:
	sub	w21, w8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_VMDQ_P
	bl	_IXGBE_PSRTYPE
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
	sub	w21, w21, #1
	cmn	w21, #1
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_F_RSS,8,3                 ; @RING_F_RSS
	.comm	_IXGBE_PSRTYPE_TCPHDR,4,2       ; @IXGBE_PSRTYPE_TCPHDR
	.comm	_IXGBE_PSRTYPE_UDPHDR,4,2       ; @IXGBE_PSRTYPE_UDPHDR
	.comm	_IXGBE_PSRTYPE_IPV4HDR,4,2      ; @IXGBE_PSRTYPE_IPV4HDR
	.comm	_IXGBE_PSRTYPE_L2HDR,4,2        ; @IXGBE_PSRTYPE_L2HDR
	.comm	_IXGBE_PSRTYPE_IPV6HDR,4,2      ; @IXGBE_PSRTYPE_IPV6HDR
	.comm	_ixgbe_mac_82598EB,8,3          ; @ixgbe_mac_82598EB
	.no_dead_strip	_ixgbe_setup_psrtype
.subsections_via_symbols
