	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm_calc_rlib_size
_pm_calc_rlib_size:                     ## @pm_calc_rlib_size
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %rdi
	movq	16(%rdi), %rdx
	movl	(%rdi), %r13d
	movl	4(%rdi), %ebx
	movl	8(%rdi), %eax
	movl	12(%rdi), %ecx
	movl	$0, (%r15)
	movl	(%rdx), %edx
	cmpl	$2, %edx
	movl	$1, %esi
	cmovgel	%edx, %esi
	cmpl	%esi, %r13d
	ja	LBB0_2
## %bb.1:
	addl	%ecx, %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r14d
	subl	%eax, %r14d
	callq	_get_queues_num
	cmpl	%eax, %r14d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jbe	LBB0_3
LBB0_2:
	movl	$1, (%r15)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_3:
	movq	(%r12), %rax
	imull	4(%rax), %r13d
	imull	(%rax), %ebx
	addl	%r13d, %ebx
	movl	%ebx, (%r14)
	cmpl	$0, (%r15)
	je	LBB0_5
## %bb.4:
	addl	8(%rax), %ebx
	movl	%ebx, (%r14)
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Over subscribed runlist\n"

L_.str.1:                               ## @.str.1
	.asciz	"runlist ib size %d\n"

	.no_dead_strip	_pm_calc_rlib_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm_calc_rlib_size
_pm_calc_rlib_size:                     ; @pm_calc_rlib_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x0, [x0, #8]
	ldr	x10, [x0, #16]
	ldp	w22, w23, [x0]
	ldp	w8, w9, [x0, #8]
	str	wzr, [x2]
	ldr	w10, [x10]
	cmp	w10, #1
	csinc	w10, w10, wzr, gt
	cmp	w22, w10
	b.hi	LBB0_2
; %bb.1:
	add	w8, w8, w9
	sub	w24, w23, w8
	bl	_get_queues_num
	cmp	w24, w0
	b.ls	LBB0_3
LBB0_2:
	mov	w8, #1
	str	w8, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
LBB0_3:
	ldr	x9, [x21]
	ldp	w8, w10, [x9]
	mul	w8, w8, w23
	madd	w8, w10, w22, w8
	str	w8, [x19]
	ldr	w10, [x20]
	cbz	w10, LBB0_5
; %bb.4:
	ldr	w9, [x9, #8]
	add	w8, w8, w9
	str	w8, [x19]
LBB0_5:
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Over subscribed runlist\n"

l_.str.1:                               ; @.str.1
	.asciz	"runlist ib size %d\n"

	.no_dead_strip	_pm_calc_rlib_size
.subsections_via_symbols
