	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fman_sp_set_buf_pools_in_asc_order_of_buf_sizes ## -- Begin function fman_sp_set_buf_pools_in_asc_order_of_buf_sizes
	.p2align	4, 0x90
_fman_sp_set_buf_pools_in_asc_order_of_buf_sizes: ## @fman_sp_set_buf_pools_in_asc_order_of_buf_sizes
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_16
## %bb.1:
	movq	8(%rdi), %r9
	xorl	%r10d, %r10d
	movq	%rsi, %r11
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movslq	%ecx, %rcx
	movq	%rax, (%rsi,%rcx,8)
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %r11
	decq	%r10
	cmpq	%r8, %r12
	je	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movq	%r12, %rcx
	movq	%r12, %rax
	shlq	$4, %rax
	movq	(%r9,%rax), %r15
	movq	8(%r9,%rax), %rbx
	leaq	(%r9,%rax), %r14
	addq	$8, %r14
	movq	%r15, (%rdx,%rbx,8)
	incq	%r12
	movl	%ecx, %eax
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	(%r14), %rdi
	movq	%rdi, (%rsi,%rcx,8)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	incq	%rbx
	addb	$3, %al
	cmpq	%rbx, %r12
	je	LBB0_15
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rbx, %rcx
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	(%rsi,%rbx,8), %rdi
	cmpq	(%rdx,%rdi,8), %r15
	jge	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rdi
	subq	%rbx, %rdi
	jbe	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%rdi), %r15
	testb	$3, %dil
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %eax
	andl	$3, %eax
	negq	%rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-8(%r11,%rcx,8), %rdi
	movq	%rdi, (%r11,%rcx,8)
	decq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	subq	%r10, %rcx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$3, %r15
	jb	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-32(%rsi,%rcx,8), %xmm0
	movups	-16(%rsi,%rcx,8), %xmm1
	movups	%xmm1, -8(%rsi,%rcx,8)
	movups	%xmm0, -24(%rsi,%rcx,8)
	addq	$-4, %rcx
	cmpq	%rbx, %rcx
	jg	LBB0_13
	jmp	LBB0_14
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fman_sp_set_buf_pools_in_asc_order_of_buf_sizes ; -- Begin function fman_sp_set_buf_pools_in_asc_order_of_buf_sizes
	.p2align	2
_fman_sp_set_buf_pools_in_asc_order_of_buf_sizes: ; @fman_sp_set_buf_pools_in_asc_order_of_buf_sizes
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x12]
	sbfiz	x12, x13, #3, #32
	str	x11, [x1, x12]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	x11, #0
	lsl	x12, x9, #4
	ldr	x13, [x10, x12]
	add	x12, x10, x12
	ldr	x14, [x12, #8]!
	str	x13, [x2, x14, lsl #3]
	add	x14, x9, #1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x15, [x12]
	str	x15, [x1, x9, lsl #3]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x11, x11, #1
	cmp	x14, x11
	b.eq	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x9, x11
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x15, [x1, x11, lsl #3]
	ldr	x15, [x2, x15, lsl #3]
	cmp	x13, x15
	b.ge	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x13, x9
	cmp	x9, x11
	b.ls	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, x9
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x13, x14, #1
	add	x14, x1, x14, lsl #3
	ldur	x15, [x14, #-8]
	str	x15, [x14]
	mov	x14, x13
	cmp	x13, x11
	b.gt	LBB0_11
	b	LBB0_2
LBB0_12:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
