	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function param_set_pool_mode
_param_set_pool_mode:                   ## @param_set_pool_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	movq	_svc_pool_map_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_svc_pool_map@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_12:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_3:
	movq	_SVC_POOL_AUTO@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_SVC_POOL_GLOBAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	movq	_SVC_POOL_PERCPU@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	movq	_SVC_POOL_PERNODE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
LBB0_13:
	movq	_svc_pool_map_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svc_pool_map,8,3               ## @svc_pool_map
	.comm	_svc_pool_map_mutex,4,2         ## @svc_pool_map_mutex
	.comm	_EBUSY,4,2                      ## @EBUSY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auto"

	.comm	_SVC_POOL_AUTO,4,2              ## @SVC_POOL_AUTO
L_.str.1:                               ## @.str.1
	.asciz	"global"

	.comm	_SVC_POOL_GLOBAL,4,2            ## @SVC_POOL_GLOBAL
L_.str.2:                               ## @.str.2
	.asciz	"percpu"

	.comm	_SVC_POOL_PERCPU,4,2            ## @SVC_POOL_PERCPU
L_.str.3:                               ## @.str.3
	.asciz	"pernode"

	.comm	_SVC_POOL_PERNODE,4,2           ## @SVC_POOL_PERNODE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_param_set_pool_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function param_set_pool_mode
_param_set_pool_mode:                   ; @param_set_pool_mode
	.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
	mov	x19, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x0, _svc_pool_map_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _svc_pool_map_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x8, _svc_pool_map@GOTPAGE
Lloh3:
	ldr	x8, [x8, _svc_pool_map@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_13
LBB0_3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_8
; %bb.4:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_strncmp
	cbz	w0, LBB0_9
; %bb.5:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_strncmp
	cbz	w0, LBB0_10
; %bb.6:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #7
	bl	_strncmp
	cbz	w0, LBB0_11
; %bb.7:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	mov	w19, #0
Lloh17:
	adrp	x8, _SVC_POOL_AUTO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SVC_POOL_AUTO@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	mov	w19, #0
Lloh19:
	adrp	x8, _SVC_POOL_GLOBAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SVC_POOL_GLOBAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	mov	w19, #0
Lloh21:
	adrp	x8, _SVC_POOL_PERCPU@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SVC_POOL_PERCPU@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	mov	w19, #0
Lloh23:
	adrp	x8, _SVC_POOL_PERNODE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SVC_POOL_PERNODE@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_13:
Lloh25:
	adrp	x0, _svc_pool_map_mutex@GOTPAGE
Lloh26:
	ldr	x0, [x0, _svc_pool_map_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_svc_pool_map,8,3               ; @svc_pool_map
	.comm	_svc_pool_map_mutex,4,2         ; @svc_pool_map_mutex
	.comm	_EBUSY,4,2                      ; @EBUSY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auto"

	.comm	_SVC_POOL_AUTO,4,2              ; @SVC_POOL_AUTO
l_.str.1:                               ; @.str.1
	.asciz	"global"

	.comm	_SVC_POOL_GLOBAL,4,2            ; @SVC_POOL_GLOBAL
l_.str.2:                               ; @.str.2
	.asciz	"percpu"

	.comm	_SVC_POOL_PERCPU,4,2            ; @SVC_POOL_PERCPU
l_.str.3:                               ; @.str.3
	.asciz	"pernode"

	.comm	_SVC_POOL_PERNODE,4,2           ; @SVC_POOL_PERNODE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_param_set_pool_mode
.subsections_via_symbols
