	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_configure_si
_enetc_configure_si:                    ## @enetc_configure_si
	.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	8(%rdi), %r15
	leaq	12(%r15), %rbx
	leaq	8(%r15), %rsi
	movq	%rbx, %rdi
	callq	_enetc_setup_cbdr
	movq	_ENETC_SICAR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENETC_SICAR_RD_COHERENT@GOTPCREL(%rip), %rax
	movq	_ENETC_SICAR_WR_COHERENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_enetc_wr
	movq	_ENETC_SICAR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENETC_SICAR_MSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_enetc_wr
	movq	_ENETC_SIMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENETC_SIMR_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_enetc_wr
	cmpq	$0, (%r15)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_enetc_setup_default_rss_table
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETC_SICAR0,4,2               ## @ENETC_SICAR0
	.comm	_ENETC_SICAR_RD_COHERENT,4,2    ## @ENETC_SICAR_RD_COHERENT
	.comm	_ENETC_SICAR_WR_COHERENT,4,2    ## @ENETC_SICAR_WR_COHERENT
	.comm	_ENETC_SICAR1,4,2               ## @ENETC_SICAR1
	.comm	_ENETC_SICAR_MSI,4,2            ## @ENETC_SICAR_MSI
	.comm	_ENETC_SIMR,4,2                 ## @ENETC_SIMR
	.comm	_ENETC_SIMR_EN,4,2              ## @ENETC_SIMR_EN
	.no_dead_strip	_enetc_configure_si
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_configure_si
_enetc_configure_si:                    ; @enetc_configure_si
	.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	x20, x0
	ldr	x19, [x0, #8]
	add	x21, x19, #12
	add	x1, x19, #8
	mov	x0, x21
	bl	_enetc_setup_cbdr
Lloh0:
	adrp	x8, _ENETC_SICAR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENETC_SICAR0@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ENETC_SICAR_RD_COHERENT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ENETC_SICAR_RD_COHERENT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ENETC_SICAR_WR_COHERENT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENETC_SICAR_WR_COHERENT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x21
	bl	_enetc_wr
Lloh9:
	adrp	x8, _ENETC_SICAR1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENETC_SICAR1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _ENETC_SICAR_MSI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENETC_SICAR_MSI@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_enetc_wr
Lloh15:
	adrp	x8, _ENETC_SIMR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENETC_SIMR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _ENETC_SIMR_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENETC_SIMR_EN@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_enetc_wr
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_enetc_setup_default_rss_table
	cbnz	w0, LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	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	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	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETC_SICAR0,4,2               ; @ENETC_SICAR0
	.comm	_ENETC_SICAR_RD_COHERENT,4,2    ; @ENETC_SICAR_RD_COHERENT
	.comm	_ENETC_SICAR_WR_COHERENT,4,2    ; @ENETC_SICAR_WR_COHERENT
	.comm	_ENETC_SICAR1,4,2               ; @ENETC_SICAR1
	.comm	_ENETC_SICAR_MSI,4,2            ; @ENETC_SICAR_MSI
	.comm	_ENETC_SIMR,4,2                 ; @ENETC_SIMR
	.comm	_ENETC_SIMR_EN,4,2              ; @ENETC_SIMR_EN
	.no_dead_strip	_enetc_configure_si
.subsections_via_symbols
