	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igbvf_setup_srrctl
_igbvf_setup_srrctl:                    ## @igbvf_setup_srrctl
	.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	%rdi, %r14
	movq	_E1000_SRRCTL_DROP_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rdi), %edi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_ALIGN
	movl	%eax, %ebx
	movq	_E1000_SRRCTL_BSIZEPKT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	orl	%r15d, %ebx
	cmpl	$2047, (%r14)                   ## imm = 0x7FF
	jg	LBB0_2
## %bb.1:
	movq	_E1000_SRRCTL_DESCTYPE_ADV_ONEBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	jmp	LBB0_3
LBB0_2:
	movq	_E1000_SRRCTL_BSIZEHDRSIZE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$128, %eax
	shll	%cl, %eax
	movl	$128, %ecx
	orl	%ebx, %eax
	movq	_E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
LBB0_3:
	orl	%eax, %ebx
	movl	%ecx, 4(%r14)
	xorl	%edi, %edi
	callq	_SRRCTL
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ew32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_SRRCTL_DESCTYPE_MASK,4,2 ## @E1000_SRRCTL_DESCTYPE_MASK
	.comm	_E1000_SRRCTL_BSIZEHDR_MASK,4,2 ## @E1000_SRRCTL_BSIZEHDR_MASK
	.comm	_E1000_SRRCTL_BSIZEPKT_MASK,4,2 ## @E1000_SRRCTL_BSIZEPKT_MASK
	.comm	_E1000_SRRCTL_DROP_EN,4,2       ## @E1000_SRRCTL_DROP_EN
	.comm	_E1000_SRRCTL_BSIZEPKT_SHIFT,4,2 ## @E1000_SRRCTL_BSIZEPKT_SHIFT
	.comm	_E1000_SRRCTL_DESCTYPE_ADV_ONEBUF,4,2 ## @E1000_SRRCTL_DESCTYPE_ADV_ONEBUF
	.comm	_E1000_SRRCTL_BSIZEHDRSIZE_SHIFT,4,2 ## @E1000_SRRCTL_BSIZEHDRSIZE_SHIFT
	.comm	_E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS,4,2 ## @E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS
	.no_dead_strip	_igbvf_setup_srrctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igbvf_setup_srrctl
_igbvf_setup_srrctl:                    ; @igbvf_setup_srrctl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _E1000_SRRCTL_DROP_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_SRRCTL_DROP_EN@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w0, [x0]
	mov	w1, #1024
	bl	_ALIGN
Lloh3:
	adrp	x8, _E1000_SRRCTL_BSIZEPKT_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_SRRCTL_BSIZEPKT_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	asr	w8, w0, w8
	orr	w8, w8, w20
	ldr	w9, [x19]
	cmp	w9, #2047
	b.gt	LBB0_2
; %bb.1:
	mov	w9, #0
Lloh6:
	adrp	x10, _E1000_SRRCTL_DESCTYPE_ADV_ONEBUF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _E1000_SRRCTL_DESCTYPE_ADV_ONEBUF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x9, _E1000_SRRCTL_BSIZEHDRSIZE_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _E1000_SRRCTL_BSIZEHDRSIZE_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x9]
	mov	w9, #128
	lsl	w10, w9, w10
	orr	w10, w10, w8
Lloh12:
	adrp	x8, _E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
LBB0_3:
	orr	w20, w10, w8
	str	w9, [x19, #4]
	mov	w0, #0
	bl	_SRRCTL
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ew32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_SRRCTL_DESCTYPE_MASK,4,2 ; @E1000_SRRCTL_DESCTYPE_MASK
	.comm	_E1000_SRRCTL_BSIZEHDR_MASK,4,2 ; @E1000_SRRCTL_BSIZEHDR_MASK
	.comm	_E1000_SRRCTL_BSIZEPKT_MASK,4,2 ; @E1000_SRRCTL_BSIZEPKT_MASK
	.comm	_E1000_SRRCTL_DROP_EN,4,2       ; @E1000_SRRCTL_DROP_EN
	.comm	_E1000_SRRCTL_BSIZEPKT_SHIFT,4,2 ; @E1000_SRRCTL_BSIZEPKT_SHIFT
	.comm	_E1000_SRRCTL_DESCTYPE_ADV_ONEBUF,4,2 ; @E1000_SRRCTL_DESCTYPE_ADV_ONEBUF
	.comm	_E1000_SRRCTL_BSIZEHDRSIZE_SHIFT,4,2 ; @E1000_SRRCTL_BSIZEHDRSIZE_SHIFT
	.comm	_E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS,4,2 ; @E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS
	.no_dead_strip	_igbvf_setup_srrctl
.subsections_via_symbols
