	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_setup_rctl
_igc_setup_rctl:                        ## @igc_setup_rctl
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_IGC_RCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_rd32
	movq	_IGC_RCTL_MO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$3, %edx
	shll	%cl, %edx
	movq	_IGC_RCTL_LBM_TCVR@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_IGC_RCTL_LBM_MAC@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_IGC_RCTL_EN@GOTPCREL(%rip), %rsi
	movq	_IGC_RCTL_BAM@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	orl	(%rsi), %edi
	notl	%edx
	movq	_IGC_RCTL_RDMTS_HALF@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edi
	movl	8(%r14), %esi
	shll	%cl, %esi
	andl	%eax, %edx
	orl	%edi, %esi
	orl	%edx, %esi
	movq	_IGC_RCTL_SECRC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_IGC_RCTL_SBP@GOTPCREL(%rip), %r13
	movq	_IGC_RCTL_SZ_256@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	(%r13), %ebx
	notl	%ebx
	andl	%esi, %ebx
	movq	_IGC_RCTL_LPE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_wr32
	movq	(%r14), %rax
	movq	_NETIF_F_RXALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_IGC_RCTL_PMCF@GOTPCREL(%rip), %rax
	orl	(%r13), %ebx
	orl	(%r12), %ebx
	orl	(%rax), %ebx
	movq	_IGC_RCTL_DPF@GOTPCREL(%rip), %rax
	movq	_IGC_RCTL_CFIEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %ebx
LBB0_2:
	movl	(%r15), %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_RCTL,4,2                   ## @IGC_RCTL
	.comm	_IGC_RCTL_MO_SHIFT,4,2          ## @IGC_RCTL_MO_SHIFT
	.comm	_IGC_RCTL_LBM_TCVR,4,2          ## @IGC_RCTL_LBM_TCVR
	.comm	_IGC_RCTL_LBM_MAC,4,2           ## @IGC_RCTL_LBM_MAC
	.comm	_IGC_RCTL_EN,4,2                ## @IGC_RCTL_EN
	.comm	_IGC_RCTL_BAM,4,2               ## @IGC_RCTL_BAM
	.comm	_IGC_RCTL_RDMTS_HALF,4,2        ## @IGC_RCTL_RDMTS_HALF
	.comm	_IGC_RCTL_SECRC,4,2             ## @IGC_RCTL_SECRC
	.comm	_IGC_RCTL_SBP,4,2               ## @IGC_RCTL_SBP
	.comm	_IGC_RCTL_SZ_256,4,2            ## @IGC_RCTL_SZ_256
	.comm	_IGC_RCTL_LPE,4,2               ## @IGC_RCTL_LPE
	.comm	_NETIF_F_RXALL,4,2              ## @NETIF_F_RXALL
	.comm	_IGC_RCTL_PMCF,4,2              ## @IGC_RCTL_PMCF
	.comm	_IGC_RCTL_DPF,4,2               ## @IGC_RCTL_DPF
	.comm	_IGC_RCTL_CFIEN,4,2             ## @IGC_RCTL_CFIEN
	.no_dead_strip	_igc_setup_rctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_setup_rctl
_igc_setup_rctl:                        ; @igc_setup_rctl
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
Lloh0:
	adrp	x21, _IGC_RCTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IGC_RCTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rd32
Lloh2:
	adrp	x8, _IGC_RCTL_MO_SHIFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IGC_RCTL_MO_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #3
	lsl	w9, w9, w8
Lloh5:
	adrp	x10, _IGC_RCTL_LBM_TCVR@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IGC_RCTL_LBM_TCVR@GOTPAGEOFF]
Lloh7:
	adrp	x11, _IGC_RCTL_LBM_MAC@GOTPAGE
Lloh8:
	ldr	x11, [x11, _IGC_RCTL_LBM_MAC@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
Lloh10:
	ldr	w11, [x11]
	orr	w9, w9, w10
	orr	w9, w9, w11
Lloh11:
	adrp	x10, _IGC_RCTL_EN@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IGC_RCTL_EN@GOTPAGEOFF]
	bic	w9, w0, w9
Lloh13:
	ldr	w10, [x10]
Lloh14:
	adrp	x22, _IGC_RCTL_BAM@GOTPAGE
Lloh15:
	ldr	x22, [x22, _IGC_RCTL_BAM@GOTPAGEOFF]
	ldr	w11, [x22]
	orr	w10, w11, w10
Lloh16:
	adrp	x11, _IGC_RCTL_RDMTS_HALF@GOTPAGE
Lloh17:
	ldr	x11, [x11, _IGC_RCTL_RDMTS_HALF@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
	orr	w10, w10, w11
	ldr	w11, [x20, #8]
	lsl	w8, w11, w8
Lloh19:
	adrp	x11, _IGC_RCTL_SECRC@GOTPAGE
Lloh20:
	ldr	x11, [x11, _IGC_RCTL_SECRC@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	orr	w9, w10, w9
	orr	w8, w9, w8
	orr	w8, w8, w11
Lloh22:
	adrp	x23, _IGC_RCTL_SBP@GOTPAGE
Lloh23:
	ldr	x23, [x23, _IGC_RCTL_SBP@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh24:
	adrp	x10, _IGC_RCTL_SZ_256@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IGC_RCTL_SZ_256@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
Lloh27:
	adrp	x9, _IGC_RCTL_LPE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IGC_RCTL_LPE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w19, w8, w9
	mov	w0, #0
	bl	_IGC_RXDCTL
	mov	w1, #0
	bl	_wr32
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _NETIF_F_RXALL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _NETIF_F_RXALL@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x23]
	ldr	w9, [x22]
Lloh33:
	adrp	x10, _IGC_RCTL_PMCF@GOTPAGE
Lloh34:
	ldr	x10, [x10, _IGC_RCTL_PMCF@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	orr	w8, w8, w19
	orr	w8, w8, w9
	orr	w8, w8, w10
Lloh36:
	adrp	x9, _IGC_RCTL_DPF@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IGC_RCTL_DPF@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _IGC_RCTL_CFIEN@GOTPAGE
Lloh40:
	ldr	x10, [x10, _IGC_RCTL_CFIEN@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w19, w8, w9
LBB0_2:
	ldr	w0, [x21]
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wr32
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_RCTL,4,2                   ; @IGC_RCTL
	.comm	_IGC_RCTL_MO_SHIFT,4,2          ; @IGC_RCTL_MO_SHIFT
	.comm	_IGC_RCTL_LBM_TCVR,4,2          ; @IGC_RCTL_LBM_TCVR
	.comm	_IGC_RCTL_LBM_MAC,4,2           ; @IGC_RCTL_LBM_MAC
	.comm	_IGC_RCTL_EN,4,2                ; @IGC_RCTL_EN
	.comm	_IGC_RCTL_BAM,4,2               ; @IGC_RCTL_BAM
	.comm	_IGC_RCTL_RDMTS_HALF,4,2        ; @IGC_RCTL_RDMTS_HALF
	.comm	_IGC_RCTL_SECRC,4,2             ; @IGC_RCTL_SECRC
	.comm	_IGC_RCTL_SBP,4,2               ; @IGC_RCTL_SBP
	.comm	_IGC_RCTL_SZ_256,4,2            ; @IGC_RCTL_SZ_256
	.comm	_IGC_RCTL_LPE,4,2               ; @IGC_RCTL_LPE
	.comm	_NETIF_F_RXALL,4,2              ; @NETIF_F_RXALL
	.comm	_IGC_RCTL_PMCF,4,2              ; @IGC_RCTL_PMCF
	.comm	_IGC_RCTL_DPF,4,2               ; @IGC_RCTL_DPF
	.comm	_IGC_RCTL_CFIEN,4,2             ; @IGC_RCTL_CFIEN
	.no_dead_strip	_igc_setup_rctl
.subsections_via_symbols
