	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_enet_get_exp_bufs
_xgene_enet_get_exp_bufs:               ## @xgene_enet_get_exp_bufs
	.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, %r14
	movq	_MAX_EXP_BUFFS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rdi), %rbx
	imulq	%rdx, %rbx
	shlq	$2, %rbx
	addq	16(%rdi), %rbx
	shll	$2, %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	(%r14), %rax
	incq	%rax
	movl	8(%r14), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	decl	%edx
	movslq	%edx, %rcx
	andq	%rax, %rcx
	movq	%rcx, (%r14)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_EXP_BUFFS,8,3              ## @MAX_EXP_BUFFS
	.no_dead_strip	_xgene_enet_get_exp_bufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_enet_get_exp_bufs
_xgene_enet_get_exp_bufs:               ; @xgene_enet_get_exp_bufs
	.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
	ldr	x8, [x0, #16]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _MAX_EXP_BUFFS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_EXP_BUFFS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	mul	x9, x10, x9
	add	x20, x8, x9, lsl #2
	lsl	w2, w10, #2
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19]
	add	x8, x8, #1
	ldr	w9, [x19, #8]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	sub	w9, w9, #1
	sxtw	x9, w9
	and	x8, x8, x9
	str	x8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_EXP_BUFFS,8,3              ; @MAX_EXP_BUFFS
	.no_dead_strip	_xgene_enet_get_exp_bufs
.subsections_via_symbols
