	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_pool
_choose_pool:                           ## @choose_pool
	.cfi_startproc
## %bb.0:
	movq	%rsi, %rax
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.4:
	retq
LBB0_1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movl	(%rdx), %eax
	leal	1(%rax), %esi
	movl	%esi, (%rdx)
	movq	(%rdi), %rsi
	cmpq	%rsi, %rax
	popq	%rbp
	jb	LBB0_3
## %bb.2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%edx, %eax
LBB0_3:
	leaq	(%rcx,%rax,4), %rax
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_choose_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_pool
_choose_pool:                           ; @choose_pool
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x1
	ret
LBB0_2:
	ldr	w8, [x2]
	add	w9, w8, #1
	str	w9, [x2]
	ldp	x10, x9, [x0]
	udiv	x11, x8, x10
	msub	x8, x11, x10, x8
	add	x1, x9, x8, lsl #2
	mov	x0, x1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_choose_pool
.subsections_via_symbols
