	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_enet_ring_init
_xgene_enet_ring_init:                  ## @xgene_enet_ring_init
	.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), %r15
	movq	_SELTHRSH_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %ebx
	shll	%cl, %ebx
	movl	8(%rdi), %r12d
	movl	12(%rdi), %r14d
	movq	_SELTHRSH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ecx, %edi
	callq	_CREATE_MASK
	andl	%ebx, %eax
	orl	%eax, 16(%r15)
	movq	_ACCEPTLERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r15)
	movq	_QCOHERENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r15)
	sarl	$8, %r12d
	movq	_RINGADDRL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %ebx
	shll	%cl, %ebx
	movq	_RINGADDRL_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%ecx, %edi
	callq	_CREATE_MASK_ULL
	andl	%ebx, %eax
	orl	%eax, 8(%r15)
	movb	(%r13), %cl
	sarl	%cl, %r12d
	movq	_RINGADDRH_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RINGADDRH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CREATE_MASK_ULL
	andl	%r12d, %eax
	orl	%eax, 12(%r15)
	movq	_RINGSIZE_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	shll	%cl, %r14d
	movq	_RINGSIZE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ecx, %edi
	callq	_CREATE_MASK
	andl	%r14d, %eax
	orl	%eax, 12(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SELTHRSH_POS,4,2               ## @SELTHRSH_POS
	.comm	_SELTHRSH_LEN,4,2               ## @SELTHRSH_LEN
	.comm	_ACCEPTLERR,4,2                 ## @ACCEPTLERR
	.comm	_QCOHERENT,4,2                  ## @QCOHERENT
	.comm	_RINGADDRL_POS,4,2              ## @RINGADDRL_POS
	.comm	_RINGADDRL_LEN,4,2              ## @RINGADDRL_LEN
	.comm	_RINGADDRH_POS,4,2              ## @RINGADDRH_POS
	.comm	_RINGADDRH_LEN,4,2              ## @RINGADDRH_LEN
	.comm	_RINGSIZE_POS,4,2               ## @RINGSIZE_POS
	.comm	_RINGSIZE_LEN,4,2               ## @RINGSIZE_LEN
	.no_dead_strip	_xgene_enet_ring_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_enet_ring_init
_xgene_enet_ring_init:                  ; @xgene_enet_ring_init
	.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
	ldr	x19, [x0]
	ldp	w21, w20, [x0, #8]
Lloh0:
	adrp	x8, _SELTHRSH_POS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SELTHRSH_POS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w8, #1
	lsl	w22, w8, w0
Lloh3:
	adrp	x8, _SELTHRSH_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SELTHRSH_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_CREATE_MASK
	and	w8, w0, w22
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
Lloh6:
	adrp	x8, _ACCEPTLERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACCEPTLERR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #8]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _QCOHERENT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QCOHERENT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w9, w10, w9
	stp	w9, w8, [x19, #8]
Lloh12:
	adrp	x8, _RINGADDRL_POS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RINGADDRL_POS@GOTPAGEOFF]
	asr	w21, w21, #8
Lloh14:
	ldr	w0, [x8]
	lsl	w22, w21, w0
Lloh15:
	adrp	x23, _RINGADDRL_LEN@GOTPAGE
Lloh16:
	ldr	x23, [x23, _RINGADDRL_LEN@GOTPAGEOFF]
	ldr	w1, [x23]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_CREATE_MASK_ULL
	and	w8, w0, w22
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	w8, [x23]
	asr	w21, w21, w8
Lloh17:
	adrp	x8, _RINGADDRH_POS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RINGADDRH_POS@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _RINGADDRH_LEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RINGADDRH_LEN@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_CREATE_MASK_ULL
	and	w8, w0, w21
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _RINGSIZE_POS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RINGSIZE_POS@GOTPAGEOFF]
	str	w8, [x19, #12]
Lloh25:
	ldr	w0, [x9]
	lsl	w20, w20, w0
Lloh26:
	adrp	x8, _RINGSIZE_LEN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RINGSIZE_LEN@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_CREATE_MASK
	and	w8, w0, w20
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_SELTHRSH_POS,4,2               ; @SELTHRSH_POS
	.comm	_SELTHRSH_LEN,4,2               ; @SELTHRSH_LEN
	.comm	_ACCEPTLERR,4,2                 ; @ACCEPTLERR
	.comm	_QCOHERENT,4,2                  ; @QCOHERENT
	.comm	_RINGADDRL_POS,4,2              ; @RINGADDRL_POS
	.comm	_RINGADDRL_LEN,4,2              ; @RINGADDRL_LEN
	.comm	_RINGADDRH_POS,4,2              ; @RINGADDRH_POS
	.comm	_RINGADDRH_LEN,4,2              ; @RINGADDRH_LEN
	.comm	_RINGSIZE_POS,4,2               ; @RINGSIZE_POS
	.comm	_RINGSIZE_LEN,4,2               ; @RINGSIZE_LEN
	.no_dead_strip	_xgene_enet_ring_init
.subsections_via_symbols
