	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seed_pool
_seed_pool:                             ## @seed_pool
	.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
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_DPAA2_ETH_NUM_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %r12d
	movq	_DPAA2_ETH_BUFS_PER_CMD@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%ecx, %rdx
	cmpq	%rdx, %r12
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rsi
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_add_bufs
	movq	8(%rbx), %rcx
	movq	(%rcx,%r12,8), %rsi
	addl	%eax, (%rsi)
	movl	(%r13), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=2
	addl	%ecx, %r15d
	movq	_DPAA2_ETH_NUM_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jl	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %ecx
	jmp	LBB0_8
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPAA2_ETH_NUM_BUFS,4,2         ## @DPAA2_ETH_NUM_BUFS
	.comm	_DPAA2_ETH_BUFS_PER_CMD,4,2     ## @DPAA2_ETH_BUFS_PER_CMD
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_seed_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seed_pool
_seed_pool:                             ; @seed_pool
	.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	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
Lloh0:
	adrp	x22, _DPAA2_ETH_NUM_BUFS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DPAA2_ETH_NUM_BUFS@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _DPAA2_ETH_BUFS_PER_CMD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DPAA2_ETH_BUFS_PER_CMD@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	cmp	x21, w9, sxtw
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x21, lsl #3]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x2, x19
	bl	_add_bufs
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x21, lsl #3]
	ldr	w8, [x1]
	add	w8, w8, w0
	str	w8, [x1]
	ldr	w9, [x23]
	cmp	w0, w9
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w8, [x22]
	add	w24, w9, w24
	cmp	w24, w8
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x20]
	b	LBB0_2
LBB0_8:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DPAA2_ETH_NUM_BUFS,4,2         ; @DPAA2_ETH_NUM_BUFS
	.comm	_DPAA2_ETH_BUFS_PER_CMD,4,2     ; @DPAA2_ETH_BUFS_PER_CMD
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_seed_pool
.subsections_via_symbols
