	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_pool_map_get
_svc_pool_map_get:                      ## @svc_pool_map_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_svc_pool_map_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_svc_pool_map@GOTPCREL(%rip), %rbx
	movl	8(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%rbx)
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movl	4(%rbx), %eax
	movq	_SVC_POOL_AUTO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_svc_pool_map_choose_mode
	movl	%eax, 4(%rbx)
LBB0_3:
	cmpl	$128, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.5:
	movq	_svc_pool_map@GOTPCREL(%rip), %rdi
	callq	_svc_pool_map_init_percpu
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_8
LBB0_6:
	movq	_svc_pool_map@GOTPCREL(%rip), %rdi
	callq	_svc_pool_map_init_pernode
	testl	%eax, %eax
	jns	LBB0_9
LBB0_8:
	movq	_SVC_POOL_GLOBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	$1, %eax
LBB0_9:
	movl	%eax, (%rbx)
LBB0_10:
	movq	_svc_pool_map_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svc_pool_map,12,2              ## @svc_pool_map
	.comm	_svc_pool_map_mutex,4,2         ## @svc_pool_map_mutex
	.comm	_SVC_POOL_AUTO,4,2              ## @SVC_POOL_AUTO
	.comm	_SVC_POOL_GLOBAL,4,2            ## @SVC_POOL_GLOBAL
	.no_dead_strip	_svc_pool_map_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_pool_map_get
_svc_pool_map_get:                      ; @svc_pool_map_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, _svc_pool_map_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _svc_pool_map_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x19, _svc_pool_map@GOTPAGE
Lloh3:
	ldr	x19, [x19, _svc_pool_map@GOTPAGEOFF]
	ldr	w8, [x19, #8]
	add	w9, w8, #1
	str	w9, [x19, #8]
	cbnz	w8, LBB0_9
; %bb.1:
	ldr	w0, [x19, #4]
Lloh4:
	adrp	x8, _SVC_POOL_AUTO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SVC_POOL_AUTO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	bl	_svc_pool_map_choose_mode
	str	w0, [x19, #4]
LBB0_3:
	cmp	w0, #128
	b.eq	LBB0_6
; %bb.4:
	cmp	w0, #129
	b.ne	LBB0_7
; %bb.5:
Lloh7:
	adrp	x0, _svc_pool_map@GOTPAGE
Lloh8:
	ldr	x0, [x0, _svc_pool_map@GOTPAGEOFF]
	bl	_svc_pool_map_init_percpu
	tbz	w0, #31, LBB0_8
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x0, _svc_pool_map@GOTPAGE
Lloh10:
	ldr	x0, [x0, _svc_pool_map@GOTPAGEOFF]
	bl	_svc_pool_map_init_pernode
	tbz	w0, #31, LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _SVC_POOL_GLOBAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SVC_POOL_GLOBAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	w0, #1
LBB0_8:
	str	w0, [x19]
LBB0_9:
Lloh14:
	adrp	x0, _svc_pool_map_mutex@GOTPAGE
Lloh15:
	ldr	x0, [x0, _svc_pool_map_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_svc_pool_map,12,2              ; @svc_pool_map
	.comm	_svc_pool_map_mutex,4,2         ; @svc_pool_map_mutex
	.comm	_SVC_POOL_AUTO,4,2              ; @SVC_POOL_AUTO
	.comm	_SVC_POOL_GLOBAL,4,2            ; @SVC_POOL_GLOBAL
	.no_dead_strip	_svc_pool_map_get
.subsections_via_symbols
