	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_pool_for_cpu               ## -- Begin function svc_pool_for_cpu
	.p2align	4, 0x90
_svc_pool_for_cpu:                      ## @svc_pool_for_cpu
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_svc_serv_is_pooled
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	_svc_pool_map@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	$128, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$129, %edx
	jne	LBB0_6
## %bb.3:
	movslq	%r14d, %rax
	shlq	$2, %rax
	addq	8(%rcx), %rax
	jmp	LBB0_5
LBB0_4:
	movq	8(%rcx), %r15
	movl	%r14d, %edi
	callq	_cpu_to_node
	leaq	(%r15,%rax,4), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	xorl	%edx, %edx
	divl	(%rbx)
                                        ## kill: def $edx killed $edx def $rdx
	leaq	(,%rdx,4), %rax
	addq	8(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svc_pool_map,16,3              ## @svc_pool_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_pool_for_cpu               ; -- Begin function svc_pool_for_cpu
	.p2align	2
_svc_pool_for_cpu:                      ; @svc_pool_for_cpu
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_svc_serv_is_pooled
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _svc_pool_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svc_pool_map@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w9, #129
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x8, #8]
	add	x8, x8, w20, sxtw #2
	b	LBB0_6
LBB0_4:
	mov	w8, #0
	b	LBB0_7
LBB0_5:
	ldr	x21, [x8, #8]
	mov	x0, x20
	bl	_cpu_to_node
	add	x8, x21, x0, lsl #2
LBB0_6:
	ldr	w8, [x8]
LBB0_7:
	ldr	x9, [x19, #8]
	ldr	w10, [x19]
	udiv	w11, w8, w10
	msub	w8, w11, w10, w8
	add	x0, x9, w8, uxtw #2
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_svc_pool_map,16,3              ; @svc_pool_map
.subsections_via_symbols
