	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_get_si_caps              ## -- Begin function enetc_get_si_caps
	.p2align	4, 0x90
_enetc_get_si_caps:                     ## @enetc_get_si_caps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	_ENETC_SICAPR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_enetc_rd
	movzbl	%al, %ecx
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, (%rbx)
	movl	%ecx, 4(%rbx)
	movq	_ENETC_SIRFSCAPR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_enetc_rd
	movl	%eax, %edi
	callq	_ENETC_SIRFSCAPR_GET_NUM_RFS
	movl	%eax, 12(%rbx)
	movq	_ENETC_MAX_RFS_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_min
	movl	%eax, 12(%rbx)
	movl	$0, 8(%rbx)
	movq	_ENETC_SIPCAPR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_enetc_rd
	movq	_ENETC_SIPCAPR0_RSS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_ENETC_SIRSSCAPR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_enetc_rd
	movl	%eax, %edi
	callq	_ENETC_SIRSSCAPR_GET_NUM_RSS
	movl	%eax, 8(%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETC_SICAPR0,4,2              ## @ENETC_SICAPR0
	.comm	_ENETC_SIRFSCAPR,4,2            ## @ENETC_SIRFSCAPR
	.comm	_ENETC_MAX_RFS_SIZE,4,2         ## @ENETC_MAX_RFS_SIZE
	.comm	_ENETC_SIPCAPR0,4,2             ## @ENETC_SIPCAPR0
	.comm	_ENETC_SIPCAPR0_RSS,4,2         ## @ENETC_SIPCAPR0_RSS
	.comm	_ENETC_SIRSSCAPR,4,2            ## @ENETC_SIRSSCAPR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_get_si_caps              ; -- Begin function enetc_get_si_caps
	.p2align	2
_enetc_get_si_caps:                     ; @enetc_get_si_caps
	.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
	add	x20, x0, #16
Lloh0:
	adrp	x8, _ENETC_SICAPR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENETC_SICAPR0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_enetc_rd
	ubfx	w8, w0, #16, #8
	and	w9, w0, #0xff
	stp	w8, w9, [x19]
Lloh3:
	adrp	x8, _ENETC_SIRFSCAPR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENETC_SIRFSCAPR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_enetc_rd
	bl	_ENETC_SIRFSCAPR_GET_NUM_RFS
	str	w0, [x19, #12]
Lloh6:
	adrp	x8, _ENETC_MAX_RFS_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENETC_MAX_RFS_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_min
	stp	wzr, w0, [x19, #8]
Lloh9:
	adrp	x8, _ENETC_SIPCAPR0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENETC_SIPCAPR0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_enetc_rd
Lloh12:
	adrp	x8, _ENETC_SIPCAPR0_RSS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENETC_SIPCAPR0_RSS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _ENETC_SIRSSCAPR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENETC_SIRSSCAPR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_enetc_rd
	bl	_ENETC_SIRSSCAPR_GET_NUM_RSS
	str	w0, [x19, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETC_SICAPR0,4,2              ; @ENETC_SICAPR0
	.comm	_ENETC_SIRFSCAPR,4,2            ; @ENETC_SIRFSCAPR
	.comm	_ENETC_MAX_RFS_SIZE,4,2         ; @ENETC_MAX_RFS_SIZE
	.comm	_ENETC_SIPCAPR0,4,2             ; @ENETC_SIPCAPR0
	.comm	_ENETC_SIPCAPR0_RSS,4,2         ; @ENETC_SIPCAPR0_RSS
	.comm	_ENETC_SIRSSCAPR,4,2            ; @ENETC_SIRSSCAPR
.subsections_via_symbols
